aiware-js 2.33.0 → 2.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/files/dosis-all-200-normal.woff +0 -0
- package/files/dosis-all-300-normal.woff +0 -0
- package/files/dosis-all-400-normal.woff +0 -0
- package/files/dosis-all-500-normal.woff +0 -0
- package/files/dosis-all-600-normal.woff +0 -0
- package/files/dosis-all-700-normal.woff +0 -0
- package/files/dosis-all-800-normal.woff +0 -0
- package/files/dosis-latin-200-normal.woff +0 -0
- package/files/dosis-latin-200-normal.woff2 +0 -0
- package/files/dosis-latin-300-normal.woff +0 -0
- package/files/dosis-latin-300-normal.woff2 +0 -0
- package/files/dosis-latin-400-normal.woff +0 -0
- package/files/dosis-latin-400-normal.woff2 +0 -0
- package/files/dosis-latin-500-normal.woff +0 -0
- package/files/dosis-latin-500-normal.woff2 +0 -0
- package/files/dosis-latin-600-normal.woff +0 -0
- package/files/dosis-latin-600-normal.woff2 +0 -0
- package/files/dosis-latin-700-normal.woff +0 -0
- package/files/dosis-latin-700-normal.woff2 +0 -0
- package/files/dosis-latin-800-normal.woff +0 -0
- package/files/dosis-latin-800-normal.woff2 +0 -0
- package/files/dosis-latin-ext-200-normal.woff +0 -0
- package/files/dosis-latin-ext-200-normal.woff2 +0 -0
- package/files/dosis-latin-ext-300-normal.woff +0 -0
- package/files/dosis-latin-ext-300-normal.woff2 +0 -0
- package/files/dosis-latin-ext-400-normal.woff +0 -0
- package/files/dosis-latin-ext-400-normal.woff2 +0 -0
- package/files/dosis-latin-ext-500-normal.woff +0 -0
- package/files/dosis-latin-ext-500-normal.woff2 +0 -0
- package/files/dosis-latin-ext-600-normal.woff +0 -0
- package/files/dosis-latin-ext-600-normal.woff2 +0 -0
- package/files/dosis-latin-ext-700-normal.woff +0 -0
- package/files/dosis-latin-ext-700-normal.woff2 +0 -0
- package/files/dosis-latin-ext-800-normal.woff +0 -0
- package/files/dosis-latin-ext-800-normal.woff2 +0 -0
- package/files/dosis-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/files/dosis-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/files/dosis-vietnamese-200-normal.woff +0 -0
- package/files/dosis-vietnamese-200-normal.woff2 +0 -0
- package/files/dosis-vietnamese-300-normal.woff +0 -0
- package/files/dosis-vietnamese-300-normal.woff2 +0 -0
- package/files/dosis-vietnamese-400-normal.woff +0 -0
- package/files/dosis-vietnamese-400-normal.woff2 +0 -0
- package/files/dosis-vietnamese-500-normal.woff +0 -0
- package/files/dosis-vietnamese-500-normal.woff2 +0 -0
- package/files/dosis-vietnamese-600-normal.woff +0 -0
- package/files/dosis-vietnamese-600-normal.woff2 +0 -0
- package/files/dosis-vietnamese-700-normal.woff +0 -0
- package/files/dosis-vietnamese-700-normal.woff2 +0 -0
- package/files/dosis-vietnamese-800-normal.woff +0 -0
- package/files/dosis-vietnamese-800-normal.woff2 +0 -0
- package/files/dosis-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
- package/files/nunito-all-200-italic.woff +0 -0
- package/files/nunito-all-200-normal.woff +0 -0
- package/files/nunito-all-300-italic.woff +0 -0
- package/files/nunito-all-300-normal.woff +0 -0
- package/files/nunito-all-400-italic.woff +0 -0
- package/files/nunito-all-400-normal.woff +0 -0
- package/files/nunito-all-500-italic.woff +0 -0
- package/files/nunito-all-500-normal.woff +0 -0
- package/files/nunito-all-600-italic.woff +0 -0
- package/files/nunito-all-600-normal.woff +0 -0
- package/files/nunito-all-700-italic.woff +0 -0
- package/files/nunito-all-700-normal.woff +0 -0
- package/files/nunito-all-800-italic.woff +0 -0
- package/files/nunito-all-800-normal.woff +0 -0
- package/files/nunito-all-900-italic.woff +0 -0
- package/files/nunito-all-900-normal.woff +0 -0
- package/files/nunito-cyrillic-200-italic.woff +0 -0
- package/files/nunito-cyrillic-200-italic.woff2 +0 -0
- package/files/nunito-cyrillic-200-normal.woff +0 -0
- package/files/nunito-cyrillic-200-normal.woff2 +0 -0
- package/files/nunito-cyrillic-300-italic.woff +0 -0
- package/files/nunito-cyrillic-300-italic.woff2 +0 -0
- package/files/nunito-cyrillic-300-normal.woff +0 -0
- package/files/nunito-cyrillic-300-normal.woff2 +0 -0
- package/files/nunito-cyrillic-400-italic.woff +0 -0
- package/files/nunito-cyrillic-400-italic.woff2 +0 -0
- package/files/nunito-cyrillic-400-normal.woff +0 -0
- package/files/nunito-cyrillic-400-normal.woff2 +0 -0
- package/files/nunito-cyrillic-500-italic.woff +0 -0
- package/files/nunito-cyrillic-500-italic.woff2 +0 -0
- package/files/nunito-cyrillic-500-normal.woff +0 -0
- package/files/nunito-cyrillic-500-normal.woff2 +0 -0
- package/files/nunito-cyrillic-600-italic.woff +0 -0
- package/files/nunito-cyrillic-600-italic.woff2 +0 -0
- package/files/nunito-cyrillic-600-normal.woff +0 -0
- package/files/nunito-cyrillic-600-normal.woff2 +0 -0
- package/files/nunito-cyrillic-700-italic.woff +0 -0
- package/files/nunito-cyrillic-700-italic.woff2 +0 -0
- package/files/nunito-cyrillic-700-normal.woff +0 -0
- package/files/nunito-cyrillic-700-normal.woff2 +0 -0
- package/files/nunito-cyrillic-800-italic.woff +0 -0
- package/files/nunito-cyrillic-800-italic.woff2 +0 -0
- package/files/nunito-cyrillic-800-normal.woff +0 -0
- package/files/nunito-cyrillic-800-normal.woff2 +0 -0
- package/files/nunito-cyrillic-900-italic.woff +0 -0
- package/files/nunito-cyrillic-900-italic.woff2 +0 -0
- package/files/nunito-cyrillic-900-normal.woff +0 -0
- package/files/nunito-cyrillic-900-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-200-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-200-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-200-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-200-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-300-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-300-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-300-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-300-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-400-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-400-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-400-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-400-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-500-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-500-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-500-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-500-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-600-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-600-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-600-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-600-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-700-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-700-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-700-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-700-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-800-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-800-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-800-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-800-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-900-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-900-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-900-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-900-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-variable-wghtOnly-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/files/nunito-cyrillic-variable-wghtOnly-italic.woff2 +0 -0
- package/files/nunito-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
- package/files/nunito-latin-200-italic.woff +0 -0
- package/files/nunito-latin-200-italic.woff2 +0 -0
- package/files/nunito-latin-200-normal.woff +0 -0
- package/files/nunito-latin-200-normal.woff2 +0 -0
- package/files/nunito-latin-300-italic.woff +0 -0
- package/files/nunito-latin-300-italic.woff2 +0 -0
- package/files/nunito-latin-300-normal.woff +0 -0
- package/files/nunito-latin-300-normal.woff2 +0 -0
- package/files/nunito-latin-400-italic.woff +0 -0
- package/files/nunito-latin-400-italic.woff2 +0 -0
- package/files/nunito-latin-400-normal.woff +0 -0
- package/files/nunito-latin-400-normal.woff2 +0 -0
- package/files/nunito-latin-500-italic.woff +0 -0
- package/files/nunito-latin-500-italic.woff2 +0 -0
- package/files/nunito-latin-500-normal.woff +0 -0
- package/files/nunito-latin-500-normal.woff2 +0 -0
- package/files/nunito-latin-600-italic.woff +0 -0
- package/files/nunito-latin-600-italic.woff2 +0 -0
- package/files/nunito-latin-600-normal.woff +0 -0
- package/files/nunito-latin-600-normal.woff2 +0 -0
- package/files/nunito-latin-700-italic.woff +0 -0
- package/files/nunito-latin-700-italic.woff2 +0 -0
- package/files/nunito-latin-700-normal.woff +0 -0
- package/files/nunito-latin-700-normal.woff2 +0 -0
- package/files/nunito-latin-800-italic.woff +0 -0
- package/files/nunito-latin-800-italic.woff2 +0 -0
- package/files/nunito-latin-800-normal.woff +0 -0
- package/files/nunito-latin-800-normal.woff2 +0 -0
- package/files/nunito-latin-900-italic.woff +0 -0
- package/files/nunito-latin-900-italic.woff2 +0 -0
- package/files/nunito-latin-900-normal.woff +0 -0
- package/files/nunito-latin-900-normal.woff2 +0 -0
- package/files/nunito-latin-ext-200-italic.woff +0 -0
- package/files/nunito-latin-ext-200-italic.woff2 +0 -0
- package/files/nunito-latin-ext-200-normal.woff +0 -0
- package/files/nunito-latin-ext-200-normal.woff2 +0 -0
- package/files/nunito-latin-ext-300-italic.woff +0 -0
- package/files/nunito-latin-ext-300-italic.woff2 +0 -0
- package/files/nunito-latin-ext-300-normal.woff +0 -0
- package/files/nunito-latin-ext-300-normal.woff2 +0 -0
- package/files/nunito-latin-ext-400-italic.woff +0 -0
- package/files/nunito-latin-ext-400-italic.woff2 +0 -0
- package/files/nunito-latin-ext-400-normal.woff +0 -0
- package/files/nunito-latin-ext-400-normal.woff2 +0 -0
- package/files/nunito-latin-ext-500-italic.woff +0 -0
- package/files/nunito-latin-ext-500-italic.woff2 +0 -0
- package/files/nunito-latin-ext-500-normal.woff +0 -0
- package/files/nunito-latin-ext-500-normal.woff2 +0 -0
- package/files/nunito-latin-ext-600-italic.woff +0 -0
- package/files/nunito-latin-ext-600-italic.woff2 +0 -0
- package/files/nunito-latin-ext-600-normal.woff +0 -0
- package/files/nunito-latin-ext-600-normal.woff2 +0 -0
- package/files/nunito-latin-ext-700-italic.woff +0 -0
- package/files/nunito-latin-ext-700-italic.woff2 +0 -0
- package/files/nunito-latin-ext-700-normal.woff +0 -0
- package/files/nunito-latin-ext-700-normal.woff2 +0 -0
- package/files/nunito-latin-ext-800-italic.woff +0 -0
- package/files/nunito-latin-ext-800-italic.woff2 +0 -0
- package/files/nunito-latin-ext-800-normal.woff +0 -0
- package/files/nunito-latin-ext-800-normal.woff2 +0 -0
- package/files/nunito-latin-ext-900-italic.woff +0 -0
- package/files/nunito-latin-ext-900-italic.woff2 +0 -0
- package/files/nunito-latin-ext-900-normal.woff +0 -0
- package/files/nunito-latin-ext-900-normal.woff2 +0 -0
- package/files/nunito-latin-ext-variable-wghtOnly-italic.woff2 +0 -0
- package/files/nunito-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/files/nunito-latin-variable-wghtOnly-italic.woff2 +0 -0
- package/files/nunito-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/files/nunito-vietnamese-200-italic.woff +0 -0
- package/files/nunito-vietnamese-200-italic.woff2 +0 -0
- package/files/nunito-vietnamese-200-normal.woff +0 -0
- package/files/nunito-vietnamese-200-normal.woff2 +0 -0
- package/files/nunito-vietnamese-300-italic.woff +0 -0
- package/files/nunito-vietnamese-300-italic.woff2 +0 -0
- package/files/nunito-vietnamese-300-normal.woff +0 -0
- package/files/nunito-vietnamese-300-normal.woff2 +0 -0
- package/files/nunito-vietnamese-400-italic.woff +0 -0
- package/files/nunito-vietnamese-400-italic.woff2 +0 -0
- package/files/nunito-vietnamese-400-normal.woff +0 -0
- package/files/nunito-vietnamese-400-normal.woff2 +0 -0
- package/files/nunito-vietnamese-500-italic.woff +0 -0
- package/files/nunito-vietnamese-500-italic.woff2 +0 -0
- package/files/nunito-vietnamese-500-normal.woff +0 -0
- package/files/nunito-vietnamese-500-normal.woff2 +0 -0
- package/files/nunito-vietnamese-600-italic.woff +0 -0
- package/files/nunito-vietnamese-600-italic.woff2 +0 -0
- package/files/nunito-vietnamese-600-normal.woff +0 -0
- package/files/nunito-vietnamese-600-normal.woff2 +0 -0
- package/files/nunito-vietnamese-700-italic.woff +0 -0
- package/files/nunito-vietnamese-700-italic.woff2 +0 -0
- package/files/nunito-vietnamese-700-normal.woff +0 -0
- package/files/nunito-vietnamese-700-normal.woff2 +0 -0
- package/files/nunito-vietnamese-800-italic.woff +0 -0
- package/files/nunito-vietnamese-800-italic.woff2 +0 -0
- package/files/nunito-vietnamese-800-normal.woff +0 -0
- package/files/nunito-vietnamese-800-normal.woff2 +0 -0
- package/files/nunito-vietnamese-900-italic.woff +0 -0
- package/files/nunito-vietnamese-900-italic.woff2 +0 -0
- package/files/nunito-vietnamese-900-normal.woff +0 -0
- package/files/nunito-vietnamese-900-normal.woff2 +0 -0
- package/files/nunito-vietnamese-variable-wghtOnly-italic.woff2 +0 -0
- package/files/nunito-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
- package/index.d.ts +1 -0
- package/index.esm.css +1203 -159
- package/index.esm.css.gz +0 -0
- package/index.esm.js +1 -1
- package/index.esm.js.gz +0 -0
- package/index.esm.min.css +1820 -0
- package/index.esm.min.css.gz +0 -0
- package/js-core.esm.js +9 -9
- package/js-core.esm.js.gz +0 -0
- package/js-core.esm10.js +1 -1
- package/js-core.esm10.js.gz +0 -0
- package/js-core.esm11.js +1 -1
- package/js-core.esm11.js.gz +0 -0
- package/js-core.esm13.js +1 -1
- package/js-core.esm13.js.gz +0 -0
- package/js-core.esm14.js +1 -1
- package/js-core.esm14.js.gz +0 -0
- package/js-core.esm15.js +1 -1
- package/js-core.esm15.js.gz +0 -0
- package/js-core.esm16.js +1 -1
- package/js-core.esm16.js.gz +0 -0
- package/js-core.esm17.js +1 -1
- package/js-core.esm17.js.gz +0 -0
- package/js-core.esm19.js +1 -1
- package/js-core.esm19.js.gz +0 -0
- package/js-core.esm20.js +1 -1
- package/js-core.esm20.js.gz +0 -0
- package/js-core.esm21.js +1 -1
- package/js-core.esm21.js.gz +0 -0
- package/js-core.esm23.js +1 -1
- package/js-core.esm23.js.gz +0 -0
- package/js-core.esm24.js +1 -1
- package/js-core.esm24.js.gz +0 -0
- package/js-core.esm26.js +1 -1
- package/js-core.esm26.js.gz +0 -0
- package/js-core.esm27.js +1 -1
- package/js-core.esm27.js.gz +0 -0
- package/js-core.esm28.js +1 -1
- package/js-core.esm28.js.gz +0 -0
- package/js-core.esm29.js +1 -1
- package/js-core.esm29.js.gz +0 -0
- package/js-core.esm30.js +1 -1
- package/js-core.esm30.js.gz +0 -0
- package/js-core.esm32.js +1 -1
- package/js-core.esm32.js.gz +0 -0
- package/js-core.esm33.js +1 -1
- package/js-core.esm33.js.gz +0 -0
- package/js-core.esm35.js +1 -1
- package/js-core.esm35.js.gz +0 -0
- package/js-core.esm36.js +1 -1
- package/js-core.esm36.js.gz +0 -0
- package/js-core.esm37.js +1 -1
- package/js-core.esm37.js.gz +0 -0
- package/js-core.esm38.js +1 -1
- package/js-core.esm38.js.gz +0 -0
- package/js-core.esm39.js +1 -1
- package/js-core.esm39.js.gz +0 -0
- package/js-core.esm40.js +1 -1
- package/js-core.esm40.js.gz +0 -0
- package/js-core.esm41.js +1 -1
- package/js-core.esm41.js.gz +0 -0
- package/js-core.esm42.js +1 -1
- package/js-core.esm42.js.gz +0 -0
- package/js-core.esm43.js +1 -1
- package/js-core.esm43.js.gz +0 -0
- package/js-core.esm44.js +1 -1
- package/js-core.esm44.js.gz +0 -0
- package/js-core.esm45.js +2 -2
- package/js-core.esm45.js.gz +0 -0
- package/js-core.esm47.js +2 -2
- package/js-core.esm47.js.gz +0 -0
- package/js-core.esm48.js +1 -1
- package/js-core.esm48.js.gz +0 -0
- package/js-core.esm5.js +13 -4
- package/js-core.esm5.js.gz +0 -0
- package/js-core.esm50.js +1 -1
- package/js-core.esm50.js.gz +0 -0
- package/js-core.esm51.js +1 -1
- package/js-core.esm51.js.gz +0 -0
- package/js-core.esm52.js +1 -1
- package/js-core.esm52.js.gz +0 -0
- package/js-core.esm53.js +1 -1
- package/js-core.esm53.js.gz +0 -0
- package/js-core.esm54.js +1 -1
- package/js-core.esm54.js.gz +0 -0
- package/js-core.esm55.js +1 -1
- package/js-core.esm55.js.gz +0 -0
- package/js-core.esm57.js +1 -1
- package/js-core.esm57.js.gz +0 -0
- package/js-core.esm58.js +1 -1
- package/js-core.esm58.js.gz +0 -0
- package/js-core.esm59.js +1 -1
- package/js-core.esm59.js.gz +0 -0
- package/js-core.esm60.js +1 -1
- package/js-core.esm60.js.gz +0 -0
- package/js-core.esm61.js +15 -2
- package/js-core.esm61.js.gz +0 -0
- package/js-core.esm62.js +1 -1
- package/js-core.esm62.js.gz +0 -0
- package/js-core.esm63.js +1 -1
- package/js-core.esm63.js.gz +0 -0
- package/js-core.esm64.js +1 -1
- package/js-core.esm64.js.gz +0 -0
- package/js-core.esm65.js +1 -1
- package/js-core.esm65.js.gz +0 -0
- package/js-core.esm66.js +1 -1
- package/js-core.esm66.js.gz +0 -0
- package/js-core.esm67.js +1 -1
- package/js-core.esm67.js.gz +0 -0
- package/js-core.esm68.js +1 -1
- package/js-core.esm68.js.gz +0 -0
- package/js-core.esm69.js +1 -1
- package/js-core.esm69.js.gz +0 -0
- package/js-core.esm7.js +6 -5
- package/js-core.esm7.js.gz +0 -0
- package/js-core.esm70.js +1 -1
- package/js-core.esm70.js.gz +0 -0
- package/js-core.esm71.js +1 -1
- package/js-core.esm71.js.gz +0 -0
- package/js-core.esm72.js +1 -1
- package/js-core.esm72.js.gz +0 -0
- package/js-core.esm73.js +1 -1
- package/js-core.esm73.js.gz +0 -0
- package/js-core.esm74.js +2 -2
- package/js-core.esm74.js.gz +0 -0
- package/js-core.esm75.js +1 -1
- package/js-core.esm75.js.gz +0 -0
- package/js-core.esm76.js +5 -5
- package/js-core.esm76.js.gz +0 -0
- package/js-core.esm77.js +2 -2
- package/js-core.esm77.js.gz +0 -0
- package/js-core.esm79.js +1 -1
- package/js-core.esm79.js.gz +0 -0
- package/js-core.esm81.js +1 -1
- package/js-core.esm81.js.gz +0 -0
- package/js-core.esm82.js +1 -1
- package/js-core.esm82.js.gz +0 -0
- package/js-core.esm83.js +1 -1
- package/js-core.esm83.js.gz +0 -0
- package/js-core.esm85.js +1 -1
- package/js-core.esm85.js.gz +0 -0
- package/js-core.esm86.js +1 -1
- package/js-core.esm86.js.gz +0 -0
- package/js-core.esm87.js +1 -1
- package/js-core.esm87.js.gz +0 -0
- package/js-core.esm88.js +1 -1
- package/js-core.esm88.js.gz +0 -0
- package/js-core.esm89.js +1 -1
- package/js-core.esm89.js.gz +0 -0
- package/js-core.esm90.js +1 -1
- package/js-core.esm90.js.gz +0 -0
- package/js-core.esm91.js +1 -1
- package/js-core.esm91.js.gz +0 -0
- package/js-core.esm93.js +1 -1
- package/js-core.esm93.js.gz +0 -0
- package/js-core.umd.css +1203 -159
- package/js-core.umd.css.gz +0 -0
- package/js-core.umd.js +203 -180
- package/js-core.umd.js.gz +0 -0
- package/js-core.umd.min.css +1329 -57
- package/js-core.umd.min.css.gz +0 -0
- package/locales/en.json +1 -1
- package/locales/es.json +1 -1
- package/locales/fr.json +1 -1
- package/package.json +1 -1
- package/files/dosis-latin-200.woff +0 -0
- package/files/dosis-latin-200.woff2 +0 -0
- package/files/dosis-latin-300.woff +0 -0
- package/files/dosis-latin-300.woff2 +0 -0
- package/files/dosis-latin-500.woff +0 -0
- package/files/dosis-latin-500.woff2 +0 -0
- package/files/dosis-latin-600.woff +0 -0
- package/files/dosis-latin-600.woff2 +0 -0
- package/files/dosis-latin-700.woff +0 -0
- package/files/dosis-latin-700.woff2 +0 -0
- package/files/dosis-latin-800.woff +0 -0
- package/files/dosis-latin-800.woff2 +0 -0
- package/files/nunito-latin-200.woff +0 -0
- package/files/nunito-latin-200.woff2 +0 -0
- package/files/nunito-latin-200italic.woff +0 -0
- package/files/nunito-latin-200italic.woff2 +0 -0
- package/files/nunito-latin-300.woff +0 -0
- package/files/nunito-latin-300.woff2 +0 -0
- package/files/nunito-latin-300italic.woff +0 -0
- package/files/nunito-latin-300italic.woff2 +0 -0
- package/files/nunito-latin-400.woff2 +0 -0
- package/files/nunito-latin-400italic.woff +0 -0
- package/files/nunito-latin-400italic.woff2 +0 -0
- package/files/nunito-latin-600.woff +0 -0
- package/files/nunito-latin-600.woff2 +0 -0
- package/files/nunito-latin-600italic.woff +0 -0
- package/files/nunito-latin-600italic.woff2 +0 -0
- package/files/nunito-latin-700.woff +0 -0
- package/files/nunito-latin-700.woff2 +0 -0
- package/files/nunito-latin-700italic.woff +0 -0
- package/files/nunito-latin-700italic.woff2 +0 -0
- package/files/nunito-latin-800.woff +0 -0
- package/files/nunito-latin-800.woff2 +0 -0
- package/files/nunito-latin-800italic.woff +0 -0
- package/files/nunito-latin-800italic.woff2 +0 -0
- package/files/nunito-latin-900.woff +0 -0
- package/files/nunito-latin-900.woff2 +0 -0
- package/files/nunito-latin-900italic.woff +0 -0
- package/files/nunito-latin-900italic.woff2 +0 -0
package/js-core.esm20.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cH as useTheme,cI as getThemeProps,r as react,cJ as useEnhancedEffect,cK as React,cL as _arrayPush,cM as isArray_1,c0 as _baseIteratee,cN as _baseToString,cO as _baseTrim,cP as _castSlice,cQ as _stringToArray,cR as toString_1,b$ as _createCompounder,bf as React$1,cS as ReactIs,cT as upperFirst_1,c1 as isArrayLike_1,cU as isString_1,c2 as toInteger_1,z as createSvgIcon,C as interopRequireDefault,j as jsxRuntime,bI as map_1,cV as _baseGet,cW as _baseSlice,cX as _castPath,cY as _toKey,cZ as _isIndex,H as createSlice,bH as get_1,c6 as combineReducers,c7 as createSelector,O as rootApiSelector,R as graphEndpointSelector,Q as sessionTokenSelector,c8 as fork,c_ as channel,m as makeStyles,c$ as useIntl,w as TextField,bE as isNil_1,v as FormControl,aS as Select,bO as FormHelperText$2,ao as FormControlLabel,ap as Checkbox,bK as RadioGroup,T as Typography,F as FormattedMessage,p as lodash,B as Box,b8 as InputUnstyled,k as useSelector,bw as CacheProvider,bx as muiCache,c9 as AIWareThemeProvider,K as DynamicModuleLoader,A as AIWareIntlProvider,G as Grid$1,bB as isEmpty_1,d0 as VideoCamera,d1 as Image,d2 as Sound,d3 as Description,i as useDispatch,ar as Button,cy as baseGraphQLApiWithError,ad as takeLatest$1,M as preferredLanguageSelector,bF as UpDown,bG as Icon,bJ as keys_1,aw as CircularProgress,d4 as toNumber_1,a8 as Tooltip,a9 as IconButton,cb as Close,ch as unmountPanel,ag as select,ai as call,af as put,bV as showMessage,bW as MessageSeverity,cl as mountPanel,a2 as all$2,cA as Add,d5 as ProgressStepper,bX as Radio,d6 as size_1,x as classNames,b as styled,aL as Popper,b1 as AIWareFormatMessage,d7 as take,aT as MenuItem,a7 as Divider,d8 as CurlyBraces,d9 as UnknownDocument,b4 as useTheme$1,da as sdkEventManager,db as SdkEvents,dc as SdkError,aV as default_1$6,bp as Bookmark,bq as EngineFlagIcons,dd as EngineClassIcons,de as Mode2,df as EngineModeIcons,dg as DeploymentModelIcons,aZ as Tabs,a_ as Tab,cc as FullscreenExit,cd as Fullscreen,ce as TabPanel,cv as img$1y,cD as Collapse,dh as guid}from"./js-core.esm.js";import{_ as _baseFlatten}from"./js-core.esm36.js";import{_ as _copyArray,a as _baseRest,i as isArrayLikeObject_1,l as last_1,b as _baseOrderBy,s as sortBy_1}from"./js-core.esm30.js";import{_ as _baseSet,v as values_1,m as merge_1}from"./js-core.esm28.js";import{_ as _baseUniq,a as _baseIndexOf}from"./js-core.esm37.js";import{f as filter_1}from"./js-core.esm29.js";import{d as default_1$2}from"./js-core.esm8.js";import{P as PropTypes,a as useFormContext,C as Controller,b as useFieldArray,u as useForm,F as FormProvider,k as kebabCase_1}from"./js-core.esm14.js";import{h as has_1}from"./js-core.esm13.js";import{d as default_1$1}from"./js-core.esm12.js";import{a as findIndex_1,f as find_1}from"./js-core.esm15.js";import{E as EntityTags,L as ListField}from"./js-core.esm21.js";import{d as default_1$4,a as default_1$5}from"./js-core.esm22.js";import{d as default_1$3}from"./js-core.esm31.js";import{V as VariableSizeList}from"./js-core.esm32.js";import{B as Box$1}from"./js-core.esm33.js";import{a as autocompleteClasses,A as Autocomplete}from"./js-core.esm24.js";import{L as ListSubheader}from"./js-core.esm34.js";function useMediaQueryOld(i,e,s,t,n){const r="undefined"!=typeof window&&void 0!==window.matchMedia,[a,o]=react.exports.useState(()=>n&&r?s(i).matches:t?t(i).matches:e);return useEnhancedEffect(()=>{let e=!0;if(r){const t=s(i),n=()=>{e&&o(t.matches)};return n(),t.addListener(n),()=>{e=!1,t.removeListener(n)}}},[i,s,r]),a}const maybeReactUseSyncExternalStore=React.useSyncExternalStore;function useMediaQueryNew(n,e,i,t){const s=react.exports.useCallback(()=>e,[e]);var r=react.exports.useMemo(()=>{if(null===t)return s;{const e=t(n)["matches"];return()=>e}},[s,n,t]),[a,o]=react.exports.useMemo(()=>{if(null===i)return[s,()=>()=>{}];const t=i(n);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]},[s,i,n]);return maybeReactUseSyncExternalStore(o,a,r)}function useMediaQuery(e,t={}){var n=useTheme(),i="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:t=!1,matchMedia:i=i?window.matchMedia:null,ssrMatchMedia:s=null,noSsr:r}=getThemeProps({name:"MuiUseMediaQuery",props:t,theme:n});let a="function"==typeof e?e(n):e;return a=a.replace(/^@media( ?)/m,""),(void 0!==maybeReactUseSyncExternalStore?useMediaQueryNew:useMediaQueryOld)(a,t,i,s,r)}var arrayPush=_arrayPush,baseFlatten$2=_baseFlatten,copyArray=_copyArray,isArray$2=isArray_1;function concat(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return arrayPush(isArray$2(n)?copyArray(n):[n],baseFlatten$2(t,1))}var concat_1=concat,baseSet=_baseSet;function set(e,t,n){return null==e?e:baseSet(e,t,n)}var set_1=set,baseFlatten$1=_baseFlatten,baseIteratee$1=_baseIteratee,baseRest=_baseRest,baseUniq=_baseUniq,isArrayLikeObject=isArrayLikeObject_1,last$1=last_1,unionBy=_baseRest(function(e){var t=last$1(e);return isArrayLikeObject(t)&&(t=void 0),baseUniq(baseFlatten$1(e,1,isArrayLikeObject,!0),baseIteratee$1(t))}),unionBy_1=unionBy,baseIndexOf$2=_baseIndexOf;function charsEndIndex$1(e,t){for(var n=e.length;n--&&-1<baseIndexOf$2(t,e[n],0););return n}var _charsEndIndex=charsEndIndex$1,baseIndexOf$1=_baseIndexOf;function charsStartIndex$1(e,t){for(var n=-1,i=e.length;++n<i&&-1<baseIndexOf$1(t,e[n],0););return n}var _charsStartIndex=charsStartIndex$1,baseToString=_baseToString,baseTrim=_baseTrim,castSlice=_castSlice,charsEndIndex=charsEndIndex$1,charsStartIndex=charsStartIndex$1,stringToArray=_stringToArray,toString$3=toString_1;function trim$1(e,t,n){var i;return(e=toString$3(e))&&(n||void 0===t)?baseTrim(e):e&&(t=baseToString(t))?(n=stringToArray(e),t=stringToArray(t),i=charsStartIndex(n,t),t=charsEndIndex(n,t)+1,castSlice(n,i,t).join("")):e}var trim_1=trim$1,createCompounder$1=_createCompounder,lowerCase=_createCompounder(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),lowerCase_1=lowerCase,baseOrderBy=_baseOrderBy,isArray$1=isArray_1;function orderBy(e,t,n,i){return null==e?[]:(isArray$1(t)||(t=null==t?[]:[t]),isArray$1(n=i?void 0:n)||(n=null==n?[]:[n]),baseOrderBy(e,t,n))}var orderBy_1=orderBy,arrayProto$1=Array.prototype,nativeJoin=arrayProto$1.join;function join$2(e,t){return null==e?"":nativeJoin.call(e,t)}var join_1=join$2;const protocols=["http","https","mailto","tel"];function uriTransformer(e){var t=(e||"").trim(),e=t.charAt(0);if("#"===e||"/"===e)return t;var n=t.indexOf(":");if(-1===n)return t;let i=-1;for(;++i<protocols.length;){var s=protocols[i];if(n===s.length&&t.slice(0,s.length).toLowerCase()===s)return t}return-1!==(i=t.indexOf("?"))&&n>i||-1!==(i=t.indexOf("#"))&&n>i?t:"javascript:void(0)"}var isBuffer=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)};function stringifyPosition$2(e){return e&&"object"==typeof e?"position"in e||"type"in e?position$2(e.position):"start"in e||"end"in e?position$2(e):"line"in e||"column"in e?point$4(e):"":""}function point$4(e){return index$3(e&&e.line)+":"+index$3(e&&e.column)}function position$2(e){return point$4(e&&e.start)+"-"+point$4(e&&e.end)}function index$3(e){return e&&"number"==typeof e?e:1}class VFileMessage$1 extends Error{constructor(e,t,n){var i,s=[null,null];let r={start:{line:null,column:null},end:{line:null,column:null}};super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n&&(-1===(i=n.indexOf(":"))?s[1]=n:(s[0]=n.slice(0,i),s[1]=n.slice(i+1))),t&&("type"in t||"position"in t?t.position&&(r=t.position):"start"in t||"end"in t?r=t:("line"in t||"column"in t)&&(r.start=t)),this.name=stringifyPosition$2(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=r.start.line,this.column=r.start.column,this.position=r,this.source=s[0],this.ruleId=s[1],this.file,this.actual,this.expected,this.url,this.note}}VFileMessage$1.prototype.file="",VFileMessage$1.prototype.name="",VFileMessage$1.prototype.reason="",VFileMessage$1.prototype.message="",VFileMessage$1.prototype.stack="",VFileMessage$1.prototype.fatal=null,VFileMessage$1.prototype.column=null,VFileMessage$1.prototype.line=null,VFileMessage$1.prototype.source=null,VFileMessage$1.prototype.ruleId=null,VFileMessage$1.prototype.position=null;const path$1={basename:basename$1,dirname:dirname$1,extname:extname$1,join:join$1,sep:"/"};function basename$1(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');assertPath$3(e);let n=0,i=-1,s=e.length,r;if(void 0===t||0===t.length||t.length>e.length){for(;s--;)if(47===e.charCodeAt(s)){if(r){n=s+1;break}}else i<0&&(r=!0,i=s+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let a=-1,o=t.length-1;for(;s--;)if(47===e.charCodeAt(s)){if(r){n=s+1;break}}else a<0&&(r=!0,a=s+1),-1<o&&(e.charCodeAt(s)===t.charCodeAt(o--)?o<0&&(i=s):(o=-1,i=a));return n===i?i=a:i<0&&(i=e.length),e.slice(n,i)}function dirname$1(e){if(assertPath$3(e),0===e.length)return".";let t=-1,n=e.length,i;for(;--n;)if(47===e.charCodeAt(n)){if(i){t=n;break}}else i=i||!0;return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)}function extname$1(e){assertPath$3(e);let t=e.length,n=-1,i=0,s=-1,r=0,a;for(;t--;){var o=e.charCodeAt(t);if(47===o){if(a){i=t+1;break}}else n<0&&(a=!0,n=t+1),46===o?s<0?s=t:1!==r&&(r=1):-1<s&&(r=-1)}return s<0||n<0||0===r||1===r&&s===n-1&&s===i+1?"":e.slice(s,n)}function join$1(...e){let t=-1,n;for(;++t<e.length;)assertPath$3(e[t]),e[t]&&(n=void 0===n?e[t]:n+"/"+e[t]);return void 0===n?".":normalize$2(n)}function normalize$2(e){assertPath$3(e);var t=47===e.charCodeAt(0);let n=normalizeString$1(e,!t);return 0<(n=0!==n.length||t?n:".").length&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}function normalizeString$1(e,t){let n="",i=0,s=-1,r=0,a=-1,o;for(var l;++a<=e.length;){if(a<e.length)o=e.charCodeAt(a);else{if(47===o)break;o=47}if(47===o){if(s!==a-1&&1!==r)if(s!==a-1&&2===r){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(2<n.length){if((l=n.lastIndexOf("/"))!==n.length-1){i=l<0?(n="",0):(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),s=a,r=0;continue}}else if(0<n.length){n="",i=0,s=a,r=0;continue}t&&(n=0<n.length?n+"/..":"..",i=2)}else 0<n.length?n+="/"+e.slice(s+1,a):n=e.slice(s+1,a),i=a-s-1;s=a,r=0}else 46===o&&-1<r?r++:r=-1}return n}function assertPath$3(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const proc$1={cwd:cwd$1};function cwd$1(){return"/"}function isUrl$1(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function urlToPath$1(e){var t;if("string"==typeof e)e=new URL(e);else if(!isUrl$1(e))throw(t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`")).code="ERR_INVALID_ARG_TYPE",t;if("file:"!==e.protocol)throw(t=new TypeError("The URL must be of scheme file")).code="ERR_INVALID_URL_SCHEME",t;return getPathFromURLPosix$1(e)}function getPathFromURLPosix$1(e){var t;if(""!==e.hostname)throw(t=new TypeError('File URL host must be "localhost" or empty on darwin')).code="ERR_INVALID_FILE_URL_HOST",t;var n=e.pathname;let i=-1;for(;++i<n.length;)if(37===n.charCodeAt(i)&&50===n.charCodeAt(i+1)){var s=n.charCodeAt(i+2);if(70===s||102===s)throw(s=new TypeError("File URL path must not include encoded / characters")).code="ERR_INVALID_FILE_URL_PATH",s}return decodeURIComponent(n)}const order$1=["history","path","basename","stem","extname","dirname"];class VFile$1{constructor(e){let t,n=(t=e?"string"==typeof e||buffer$1(e)?{value:e}:isUrl$1(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=proc$1.cwd(),this.value,this.stored,this.result,this.map,-1);for(;++n<order$1.length;){const i=order$1[n];i in t&&void 0!==t[i]&&null!==t[i]&&(this[i]="history"===i?[...t[i]]:t[i])}let i;for(i in t)order$1.includes(i)||(this[i]=t[i])}get path(){return this.history[this.history.length-1]}set path(e){assertNonEmpty$1(e=isUrl$1(e)?urlToPath$1(e):e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?path$1.dirname(this.path):void 0}set dirname(e){assertPath$2(this.basename,"dirname"),this.path=path$1.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?path$1.basename(this.path):void 0}set basename(e){assertNonEmpty$1(e,"basename"),assertPart$1(e,"basename"),this.path=path$1.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?path$1.extname(this.path):void 0}set extname(e){if(assertPart$1(e,"extname"),assertPath$2(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=path$1.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?path$1.basename(this.path,this.extname):void 0}set stem(e){assertNonEmpty$1(e,"stem"),assertPart$1(e,"stem"),this.path=path$1.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){e=new VFileMessage$1(e,t,n);return this.path&&(e.name=this.path+":"+e.name,e.file=this.path),e.fatal=!1,this.messages.push(e),e}info(e,t,n){e=this.message(e,t,n);return e.fatal=null,e}fail(e,t,n){e=this.message(e,t,n);throw e.fatal=!0,e}}function assertPart$1(e,t){if(e&&e.includes(path$1.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+path$1.sep+"`")}function assertNonEmpty$1(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function assertPath$2(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function buffer$1(e){return isBuffer(e)}function bail(e){if(e)throw e}var hasOwn=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,defineProperty=Object.defineProperty,gOPD=Object.getOwnPropertyDescriptor,isArray=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===toStr.call(e)},isPlainObject$1=function(e){if(!e||"[object Object]"!==toStr.call(e))return!1;var t,n=hasOwn.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&hasOwn.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!i)return!1;for(t in e);return void 0===t||hasOwn.call(e,t)},setProperty=function(e,t){defineProperty&&"__proto__"===t.name?defineProperty(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},getProperty=function(e,t){if("__proto__"===t){if(!hasOwn.call(e,t))return;if(gOPD)return gOPD(e,t).value}return e[t]},extend=function e(){var t,n,i,s,r,a=arguments[0],o=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},o=2),(null==a||"object"!=typeof a&&"function"!=typeof a)&&(a={});o<l;++o)if(null!=(t=arguments[o]))for(n in t)r=getProperty(a,n),a!==(i=getProperty(t,n))&&(c&&i&&(isPlainObject$1(i)||(s=isArray(i)))?(r=s?(s=!1,r&&isArray(r)?r:[]):r&&isPlainObject$1(r)?r:{},setProperty(a,{name:n,newValue:e(c,r,i)})):void 0!==i&&setProperty(a,{name:n,newValue:i}));return a};function isPlainObject(e){var t;return"object"==typeof e&&null!==e&&!(null!==(t=Object.getPrototypeOf(e))&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function trough(){const l=[],t={run:function(...r){let a=-1;const o=r.pop();if("function"!=typeof o)throw new TypeError("Expected function as last argument, not "+o);!function e(t,...n){var i=l[++a];let s=-1;if(t)o(t);else{for(;++s<r.length;)null!==n[s]&&void 0!==n[s]||(n[s]=r[s]);r=n,i?wrap$1(i,e)(...n):o(null,...n)}}(null,...r)},use:function(e){if("function"==typeof e)return l.push(e),t;throw new TypeError("Expected `middelware` to be a function, not "+e)}};return t}function wrap$1(i,n){let s;return function(...t){var n=i.length>t.length;let e;n&&t.push(r);try{e=i.apply(this,t)}catch(e){t=e;if(n&&s)throw t;return r(t)}n||(e instanceof Promise?e.then(a,r):(e instanceof Error?r:a)(e))};function r(e,...t){s||(s=!0,n(e,...t))}function a(e){r(null,e)}}function stringifyPosition$1(e){return e&&"object"==typeof e?"position"in e||"type"in e?position$1(e.position):"start"in e||"end"in e?position$1(e):"line"in e||"column"in e?point$3(e):"":""}function point$3(e){return index$2(e&&e.line)+":"+index$2(e&&e.column)}function position$1(e){return point$3(e&&e.start)+"-"+point$3(e&&e.end)}function index$2(e){return e&&"number"==typeof e?e:1}class VFileMessage extends Error{constructor(e,t,n){var i,s=[null,null];let r={start:{line:null,column:null},end:{line:null,column:null}};super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n&&(-1===(i=n.indexOf(":"))?s[1]=n:(s[0]=n.slice(0,i),s[1]=n.slice(i+1))),t&&("type"in t||"position"in t?t.position&&(r=t.position):"start"in t||"end"in t?r=t:("line"in t||"column"in t)&&(r.start=t)),this.name=stringifyPosition$1(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=r.start.line,this.column=r.start.column,this.position=r,this.source=s[0],this.ruleId=s[1],this.file,this.actual,this.expected,this.url,this.note}}VFileMessage.prototype.file="",VFileMessage.prototype.name="",VFileMessage.prototype.reason="",VFileMessage.prototype.message="",VFileMessage.prototype.stack="",VFileMessage.prototype.fatal=null,VFileMessage.prototype.column=null,VFileMessage.prototype.line=null,VFileMessage.prototype.source=null,VFileMessage.prototype.ruleId=null,VFileMessage.prototype.position=null;const path={basename:basename,dirname:dirname,extname:extname,join:join,sep:"/"};function basename(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');assertPath$1(e);let n=0,i=-1,s=e.length,r;if(void 0===t||0===t.length||t.length>e.length){for(;s--;)if(47===e.charCodeAt(s)){if(r){n=s+1;break}}else i<0&&(r=!0,i=s+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let a=-1,o=t.length-1;for(;s--;)if(47===e.charCodeAt(s)){if(r){n=s+1;break}}else a<0&&(r=!0,a=s+1),-1<o&&(e.charCodeAt(s)===t.charCodeAt(o--)?o<0&&(i=s):(o=-1,i=a));return n===i?i=a:i<0&&(i=e.length),e.slice(n,i)}function dirname(e){if(assertPath$1(e),0===e.length)return".";let t=-1,n=e.length,i;for(;--n;)if(47===e.charCodeAt(n)){if(i){t=n;break}}else i=i||!0;return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)}function extname(e){assertPath$1(e);let t=e.length,n=-1,i=0,s=-1,r=0,a;for(;t--;){var o=e.charCodeAt(t);if(47===o){if(a){i=t+1;break}}else n<0&&(a=!0,n=t+1),46===o?s<0?s=t:1!==r&&(r=1):-1<s&&(r=-1)}return s<0||n<0||0===r||1===r&&s===n-1&&s===i+1?"":e.slice(s,n)}function join(...e){let t=-1,n;for(;++t<e.length;)assertPath$1(e[t]),e[t]&&(n=void 0===n?e[t]:n+"/"+e[t]);return void 0===n?".":normalize$1(n)}function normalize$1(e){assertPath$1(e);var t=47===e.charCodeAt(0);let n=normalizeString(e,!t);return 0<(n=0!==n.length||t?n:".").length&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}function normalizeString(e,t){let n="",i=0,s=-1,r=0,a=-1,o;for(var l;++a<=e.length;){if(a<e.length)o=e.charCodeAt(a);else{if(47===o)break;o=47}if(47===o){if(s!==a-1&&1!==r)if(s!==a-1&&2===r){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(2<n.length){if((l=n.lastIndexOf("/"))!==n.length-1){i=l<0?(n="",0):(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),s=a,r=0;continue}}else if(0<n.length){n="",i=0,s=a,r=0;continue}t&&(n=0<n.length?n+"/..":"..",i=2)}else 0<n.length?n+="/"+e.slice(s+1,a):n=e.slice(s+1,a),i=a-s-1;s=a,r=0}else 46===o&&-1<r?r++:r=-1}return n}function assertPath$1(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const proc={cwd:cwd};function cwd(){return"/"}function isUrl(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function urlToPath(e){var t;if("string"==typeof e)e=new URL(e);else if(!isUrl(e))throw(t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`")).code="ERR_INVALID_ARG_TYPE",t;if("file:"!==e.protocol)throw(t=new TypeError("The URL must be of scheme file")).code="ERR_INVALID_URL_SCHEME",t;return getPathFromURLPosix(e)}function getPathFromURLPosix(e){var t;if(""!==e.hostname)throw(t=new TypeError('File URL host must be "localhost" or empty on darwin')).code="ERR_INVALID_FILE_URL_HOST",t;var n=e.pathname;let i=-1;for(;++i<n.length;)if(37===n.charCodeAt(i)&&50===n.charCodeAt(i+1)){var s=n.charCodeAt(i+2);if(70===s||102===s)throw(s=new TypeError("File URL path must not include encoded / characters")).code="ERR_INVALID_FILE_URL_PATH",s}return decodeURIComponent(n)}const order=["history","path","basename","stem","extname","dirname"];class VFile{constructor(e){let t,n=(t=e?"string"==typeof e||buffer(e)?{value:e}:isUrl(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=proc.cwd(),this.value,this.stored,this.result,this.map,-1);for(;++n<order.length;){const i=order[n];i in t&&void 0!==t[i]&&null!==t[i]&&(this[i]="history"===i?[...t[i]]:t[i])}let i;for(i in t)order.includes(i)||(this[i]=t[i])}get path(){return this.history[this.history.length-1]}set path(e){assertNonEmpty(e=isUrl(e)?urlToPath(e):e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?path.dirname(this.path):void 0}set dirname(e){assertPath(this.basename,"dirname"),this.path=path.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?path.basename(this.path):void 0}set basename(e){assertNonEmpty(e,"basename"),assertPart(e,"basename"),this.path=path.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?path.extname(this.path):void 0}set extname(e){if(assertPart(e,"extname"),assertPath(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=path.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?path.basename(this.path,this.extname):void 0}set stem(e){assertNonEmpty(e,"stem"),assertPart(e,"stem"),this.path=path.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){e=new VFileMessage(e,t,n);return this.path&&(e.name=this.path+":"+e.name,e.file=this.path),e.fatal=!1,this.messages.push(e),e}info(e,t,n){e=this.message(e,t,n);return e.fatal=null,e}fail(e,t,n){e=this.message(e,t,n);throw e.fatal=!0,e}}function assertPart(e,t){if(e&&e.includes(path.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+path.sep+"`")}function assertNonEmpty(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function assertPath(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function buffer(e){return isBuffer(e)}const unified=base().freeze(),own$7={}.hasOwnProperty;function base(){const n=trough(),s=[];let r={},l,i=-1;return c.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(assertUnfrozen("data",l),r[e]=t,c):own$7.call(r,e)&&r[e]||null;if(e)return assertUnfrozen("data",l),r=e,c;return r},c.Parser=void 0,c.Compiler=void 0,c.freeze=function(){if(!l){for(;++i<s.length;){var[e,...t]=s[i];!1!==t[0]&&(!0===t[0]&&(t[0]=void 0),"function"==typeof(e=e.call(c,...t)))&&n.use(e)}l=!0,i=Number.POSITIVE_INFINITY}return c},c.attachers=s,c.use=function(e,...t){let n;if(assertUnfrozen("use",l),null!=e)if("function"==typeof e)o(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");(Array.isArray(e)?i:a)(e)}n&&(r.settings=Object.assign(r.settings||{},n));return c;function a(e){i(e.plugins),e.settings&&(n=Object.assign(n||{},e.settings))}function i(e){let t=-1;if(null!=e){if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){var n,i,s=e[t],r=(i=n=r=void 0,s);if("function"==typeof r)o(r);else{if("object"!=typeof r)throw new TypeError("Expected usable value, not `"+r+"`");Array.isArray(r)?([n,...i]=r,o(n,...i)):a(r)}}}}function o(e,t){let n=-1,i;for(;++n<s.length;)if(s[n][0]===e){i=s[n];break}i?(isPlainObject(i[1])&&isPlainObject(t)&&(t=extend(!0,i[1],t)),i[1]=t):s.push([...arguments])}},c.parse=function(e){c.freeze();var e=vfile(e),t=c.Parser;if(assertParser("parse",t),newable(t,"parse"))return new t(String(e),e).parse();return t(String(e),e)},c.stringify=function(e,t){c.freeze();var t=vfile(t),n=c.Compiler;if(assertCompiler("stringify",n),assertNode(e),newable(n,"compile"))return new n(e,t).compile();return n(e,t)},c.run=function(r,e,a){assertNode(r),c.freeze(),a||"function"!=typeof e||(a=e,e=void 0);if(!a)return new Promise(t);function t(i,s){n.run(r,vfile(e),function(e,t,n){t=t||r,e?s(e):i?i(t):a(null,t,n)})}t(null,a)},c.runSync=function(e,t){let n,i;return c.run(e,t,function(e,t){bail(e),n=t,i=!0}),assertDone("runSync","run",i),n},c.process=function(t,r){if(c.freeze(),assertParser("process",c.Parser),assertCompiler("process",c.Compiler),!r)return new Promise(e);function e(n,i){var e=vfile(t);function s(e,t){e||!t?i(e):n?n(t):r(null,t)}c.run(c.parse(e),e,(e,t,n)=>{!e&&t&&n?(null!=(t=c.stringify(t,n))&&(looksLikeAVFileValue(t)?n.value=t:n.result=t),s(e,n)):s(e)})}e(null,r)},c.processSync=function(e){let t;c.freeze(),assertParser("processSync",c.Parser),assertCompiler("processSync",c.Compiler);e=vfile(e);return c.process(e,function(e){t=!0,bail(e)}),assertDone("processSync","process",t),e},c;function c(){var e=base();let t=-1;for(;++t<s.length;)e.use(...s[t]);return e.data(extend(!0,{},r)),e}}function newable(e,t){return"function"==typeof e&&e.prototype&&(keys(e.prototype)||t in e.prototype)}function keys(e){let t;for(t in e)if(own$7.call(e,t))return!0;return!1}function assertParser(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function assertCompiler(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function assertUnfrozen(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function assertNode(e){if(!isPlainObject(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function assertDone(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function vfile(e){return looksLikeAVFile(e)?e:new VFile(e)}function looksLikeAVFile(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}function looksLikeAVFileValue(e){return"string"==typeof e||isBuffer(e)}function toString$2(e,t){t=(t||{}).includeImageAlt;return one$1(e,"boolean"!=typeof t||t)}function one$1(e,t){return node(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&all$1(e.children,t))||Array.isArray(e)&&all$1(e,t)||""}function all$1(e,t){var n=[];let i=-1;for(;++i<e.length;)n[i]=one$1(e[i],t);return n.join("")}function node(e){return Boolean(e&&"object"==typeof e)}function splice$1(e,t,n,i){var s=e.length;let r=0,a;if(t=t<0?s<-t?0:s+t:s<t?s:t,n=0<n?n:0,i.length<1e4)(a=Array.from(i)).unshift(t,n),[].splice.apply(e,a);else for(n&&[].splice.apply(e,[t,n]);r<i.length;)(a=i.slice(r,r+1e4)).unshift(t,0),[].splice.apply(e,a),r+=1e4,t+=1e4}function push(e,t){return 0<e.length?(splice$1(e,e.length,0,t),e):t}const hasOwnProperty={}.hasOwnProperty;function combineExtensions(e){var t={};let n=-1;for(;++n<e.length;)syntaxExtension(t,e[n]);return t}function syntaxExtension(t,n){let i;for(i in n){var s=(hasOwnProperty.call(t,i)?t[i]:void 0)||(t[i]={}),r=n[i];let e;for(e in r){hasOwnProperty.call(s,e)||(s[e]=[]);var a=r[e];constructs(s[e],Array.isArray(a)?a:a?[a]:[])}}}function constructs(e,t){let n=-1;for(var i=[];++n<t.length;)("after"===t[n].add?e:i).push(t[n]);splice$1(e,0,0,i)}const unicodePunctuationRegex=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,asciiAlpha=regexCheck(/[A-Za-z]/),asciiDigit=regexCheck(/\d/),asciiHexDigit=regexCheck(/[\dA-Fa-f]/),asciiAlphanumeric=regexCheck(/[\dA-Za-z]/),asciiPunctuation=regexCheck(/[!-/:-@[-`{-~]/),asciiAtext=regexCheck(/[#-'*+\--9=?A-Z^-~]/);function asciiControl(e){return null!==e&&(e<32||127===e)}function markdownLineEndingOrSpace(e){return null!==e&&(e<0||32===e)}function markdownLineEnding(e){return null!==e&&e<-2}function markdownSpace(e){return-2===e||-1===e||32===e}const unicodeWhitespace=regexCheck(/\s/),unicodePunctuation=regexCheck(unicodePunctuationRegex);function regexCheck(t){return function(e){return null!==e&&t.test(String.fromCharCode(e))}}function factorySpace(t,n,i,e){const s=e?e-1:Number.POSITIVE_INFINITY;let r=0;return function(e){if(markdownSpace(e))return t.enter(i),a(e);return n(e)};function a(e){return markdownSpace(e)&&r++<s?(t.consume(e),a):(t.exit(i),n(e))}}const content$1={tokenize:initializeContent};function initializeContent(n){const t=n.attempt(this.parser.constructs.contentInitial,function(e){if(null!==e)return n.enter("lineEnding"),n.consume(e),n.exit("lineEnding"),factorySpace(n,t,"linePrefix");n.consume(e)},function(e){return n.enter("paragraph"),s(e)});let i;return t;function s(e){var t=n.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=t),i=t,r(e)}function r(e){if(null!==e)return markdownLineEnding(e)?(n.consume(e),n.exit("chunkText"),s):(n.consume(e),r);n.exit("chunkText"),n.exit("paragraph"),n.consume(e)}}const document$2={tokenize:initializeDocument},containerConstruct={tokenize:tokenizeContainer};function initializeDocument(i){const r=this,s=[];let a=0,o,n,l;return t;function t(e){var t;return(a<s.length?(t=s[a],r.containerState=t[1],i.attempt(t[0].continuation,c,u)):u)(e)}function c(i){if(a++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,o&&b();var s=r.events.length;let e=s,t;for(;e--;)if("exit"===r.events[e][0]&&"chunkFlow"===r.events[e][1].type){t=r.events[e][1].end;break}y(a);let n=s;for(;n<r.events.length;)r.events[n][1].end=Object.assign({},t),n++;return splice$1(r.events,e+1,0,r.events.slice(s)),r.events.length=n,u(i)}return t(i)}function u(e){if(a===s.length){if(!o)return m(e);if(o.currentConstruct&&o.currentConstruct.concrete)return h(e);r.interrupt=Boolean(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return r.containerState={},i.check(containerConstruct,d,p)(e)}function d(e){return o&&b(),y(a),m(e)}function p(e){return r.parser.lazy[r.now().line]=a!==s.length,l=r.now().offset,h(e)}function m(e){return r.containerState={},i.attempt(containerConstruct,g,h)(e)}function g(e){return a++,s.push([r.currentConstruct,r.containerState]),m(e)}function h(e){if(null!==e)return o=o||r.parser.flow(r.now()),i.enter("chunkFlow",{contentType:"flow",previous:n,_tokenizer:o}),f(e);o&&b(),y(0),i.consume(e)}function f(e){if(null!==e)return markdownLineEnding(e)?(i.consume(e),x(i.exit("chunkFlow")),a=0,r.interrupt=void 0,t):(i.consume(e),f);x(i.exit("chunkFlow"),!0),y(0),i.consume(e)}function x(e,s){var t=r.sliceStream(e);if(s&&t.push(null),(e.previous=n)&&(n.next=e),n=e,o.defineSkip(e.start),o.write(t),r.parser.lazy[e.start.line]){let e=o.events.length;for(;e--;)if(o.events[e][1].start.offset<l&&(!o.events[e][1].end||o.events[e][1].end.offset>l))return;s=r.events.length;let t=s,n,i;for(;t--;)if("exit"===r.events[t][0]&&"chunkFlow"===r.events[t][1].type){if(n){i=r.events[t][1].end;break}n=!0}for(y(a),e=s;e<r.events.length;)r.events[e][1].end=Object.assign({},i),e++;splice$1(r.events,t+1,0,r.events.slice(s)),r.events.length=e}}function y(e){let t=s.length;for(;t-- >e;){var n=s[t];r.containerState=n[1],n[0].exit.call(r,i)}s.length=e}function b(){o.write([null]),n=void 0,o=void 0,r.containerState._closeFlow=void 0}}function tokenizeContainer(e,t,n){return factorySpace(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function classifyCharacter(e){return null===e||markdownLineEndingOrSpace(e)||unicodeWhitespace(e)?1:unicodePunctuation(e)?2:void 0}function resolveAll(e,t,n){var i=[];let s=-1;for(;++s<e.length;){var r=e[s].resolveAll;r&&!i.includes(r)&&(t=r(t,n),i.push(r))}return t}const attention={name:"attention",tokenize:tokenizeAttention,resolveAll:resolveAllAttention};function resolveAllAttention(e,t){let n=-1,i;var s;let r,a;for(;++n<e.length;)if("enter"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._close)for(i=n;i--;)if("exit"===e[i][0]&&"attentionSequence"===e[i][1].type&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)&&(!((e[i][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3)||(e[i][1].end.offset-e[i][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3)){var o=1<e[i][1].end.offset-e[i][1].start.offset&&1<e[n][1].end.offset-e[n][1].start.offset?2:1,l=Object.assign({},e[i][1].end),c=Object.assign({},e[n][1].start);movePoint(l,-o),movePoint(c,o),l={type:1<o?"strongSequence":"emphasisSequence",start:l,end:Object.assign({},e[i][1].end)},c={type:1<o?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:c},s={type:1<o?"strongText":"emphasisText",start:Object.assign({},e[i][1].end),end:Object.assign({},e[n][1].start)},o={type:1<o?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},c.end)},e[i][1].end=Object.assign({},l.start),e[n][1].start=Object.assign({},c.end),r=[],e[i][1].end.offset-e[i][1].start.offset&&(r=push(r,[["enter",e[i][1],t],["exit",e[i][1],t]])),r=push(r,[["enter",o,t],["enter",l,t],["exit",l,t],["enter",s,t]]),r=push(r,resolveAll(t.parser.constructs.insideSpan.null,e.slice(i+1,n),t)),r=push(r,[["exit",s,t],["enter",c,t],["exit",c,t],["exit",o,t]]),e[n][1].end.offset-e[n][1].start.offset?(a=2,r=push(r,[["enter",e[n][1],t],["exit",e[n][1],t]])):a=0,splice$1(e,i-1,n-i+3,r),n=i+r.length-a-2;break}for(n=-1;++n<e.length;)"attentionSequence"===e[n][1].type&&(e[n][1].type="data");return e}function tokenizeAttention(r,a){const o=this.parser.constructs.attentionMarkers.null,l=this.previous,c=classifyCharacter(l);let u;return function(e){return r.enter("attentionSequence"),d(u=e)};function d(e){var t,n,i,s;return e===u?(r.consume(e),d):(t=r.exit("attentionSequence"),i=!(n=classifyCharacter(e))||2===n&&c||o.includes(e),s=!c||2===c&&n||o.includes(l),t._open=Boolean(42===u?i:i&&(c||!s)),t._close=Boolean(42===u?s:s&&(n||!i)),a(e))}}function movePoint(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const autolink={name:"autolink",tokenize:tokenizeAutolink};function tokenizeAutolink(t,n,i){let s=1;return function(e){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(e),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),r};function r(e){return asciiAlpha(e)?(t.consume(e),a):(asciiAtext(e)?c:i)(e)}function a(e){return(43===e||45===e||46===e||asciiAlphanumeric(e)?o:c)(e)}function o(e){return 58===e?(t.consume(e),l):(43===e||45===e||46===e||asciiAlphanumeric(e))&&s++<32?(t.consume(e),o):c(e)}function l(e){return 62===e?(t.exit("autolinkProtocol"),m(e)):null===e||32===e||60===e||asciiControl(e)?i(e):(t.consume(e),l)}function c(e){return 64===e?(t.consume(e),s=0,u):asciiAtext(e)?(t.consume(e),c):i(e)}function u(e){return(asciiAlphanumeric(e)?d:i)(e)}function d(e){return 46===e?(t.consume(e),s=0,u):(62===e?(t.exit("autolinkProtocol").type="autolinkEmail",m):p)(e)}function p(e){return(45===e||asciiAlphanumeric(e))&&s++<63?(t.consume(e),45===e?p:d):i(e)}function m(e){return t.enter("autolinkMarker"),t.consume(e),t.exit("autolinkMarker"),t.exit("autolink"),n}}const blankLine={tokenize:tokenizeBlankLine,partial:!0};function tokenizeBlankLine(e,t,n){return factorySpace(e,function(e){return(null===e||markdownLineEnding(e)?t:n)(e)},"linePrefix")}const blockQuote={name:"blockQuote",tokenize:tokenizeBlockQuoteStart,continuation:{tokenize:tokenizeBlockQuoteContinuation},exit:exit};function tokenizeBlockQuoteStart(n,t,i){const s=this;return function(e){if(62!==e)return i(e);{var t=s.containerState;return t.open||(n.enter("blockQuote",{_container:!0}),t.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(e),n.exit("blockQuoteMarker"),r}};function r(e){return markdownSpace(e)?(n.enter("blockQuotePrefixWhitespace"),n.consume(e),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),t):(n.exit("blockQuotePrefix"),t(e))}}function tokenizeBlockQuoteContinuation(e,t,n){return factorySpace(e,e.attempt(blockQuote,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function exit(e){e.exit("blockQuote")}const characterEscape={name:"characterEscape",tokenize:tokenizeCharacterEscape};function tokenizeCharacterEscape(t,n,i){return function(e){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(e),t.exit("escapeMarker"),s};function s(e){return asciiPunctuation(e)?(t.enter("characterEscapeValue"),t.consume(e),t.exit("characterEscapeValue"),t.exit("characterEscape"),n):i(e)}}const element=document.createElement("i");function decodeNamedCharacterReference(e){var t="&"+e+";",n=(element.innerHTML=t,element.textContent);return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}const characterReference={name:"characterReference",tokenize:tokenizeCharacterReference};function tokenizeCharacterReference(n,i,s){const r=this;let a=0,o,l;return function(e){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(e),n.exit("characterReferenceMarker"),t};function t(e){return 35===e?(n.enter("characterReferenceMarkerNumeric"),n.consume(e),n.exit("characterReferenceMarkerNumeric"),c):(n.enter("characterReferenceValue"),o=31,l=asciiAlphanumeric,u(e))}function c(e){return 88===e||120===e?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(e),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),o=6,l=asciiHexDigit,u):(n.enter("characterReferenceValue"),o=7,l=asciiDigit,u(e))}function u(e){var t;return 59===e&&a?(t=n.exit("characterReferenceValue"),l!==asciiAlphanumeric||decodeNamedCharacterReference(r.sliceSerialize(t))?(n.enter("characterReferenceMarker"),n.consume(e),n.exit("characterReferenceMarker"),n.exit("characterReference"),i):s(e)):l(e)&&a++<o?(n.consume(e),u):s(e)}}const codeFenced={name:"codeFenced",tokenize:tokenizeCodeFenced,concrete:!0};function tokenizeCodeFenced(t,n,i){const s=this,r={tokenize:function(t,n,i){let s=0;return factorySpace(t,function(e){return t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),r(e)},"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function r(e){return e===c?(t.consume(e),s++,r):(s<l?i:(t.exit("codeFencedFenceSequence"),factorySpace(t,a,"whitespace")))(e)}function a(e){return(null===e||markdownLineEnding(e)?(t.exit("codeFencedFence"),n):i)(e)}},partial:!0},a={tokenize:function(t,n,i){const s=this;return function(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r};function r(e){return(s.parser.lazy[s.now().line]?i:n)(e)}},partial:!0};var e=this.events[this.events.length-1];const o=e&&"linePrefix"===e[1].type?e[2].sliceSerialize(e[1],!0).length:0;let l=0,c;return function(e){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),u(c=e)};function u(e){return e===c?(t.consume(e),l++,u):(t.exit("codeFencedFenceSequence"),(l<3?i:factorySpace(t,d,"whitespace"))(e))}function d(e){return(null===e||markdownLineEnding(e)?h:(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),p))(e)}function p(e){return null===e||markdownLineEndingOrSpace(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),factorySpace(t,m,"whitespace")(e)):96===e&&e===c?i(e):(t.consume(e),p)}function m(e){return(null===e||markdownLineEnding(e)?h:(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),g))(e)}function g(e){return null===e||markdownLineEnding(e)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),h(e)):96===e&&e===c?i(e):(t.consume(e),g)}function h(e){return t.exit("codeFencedFence"),(s.interrupt?n:f)(e)}function f(e){return(null===e?y:markdownLineEnding(e)?t.attempt(a,t.attempt(r,y,o?factorySpace(t,f,"linePrefix",o+1):f),y):(t.enter("codeFlowValue"),x))(e)}function x(e){return null===e||markdownLineEnding(e)?(t.exit("codeFlowValue"),f(e)):(t.consume(e),x)}function y(e){return t.exit("codeFenced"),n(e)}}const codeIndented={name:"codeIndented",tokenize:tokenizeCodeIndented},indentedContent={tokenize:tokenizeIndentedContent,partial:!0};function tokenizeCodeIndented(t,n,i){const s=this;return function(e){return t.enter("codeIndented"),factorySpace(t,r,"linePrefix",5)(e)};function r(e){var t=s.events[s.events.length-1];return(t&&"linePrefix"===t[1].type&&4<=t[2].sliceSerialize(t[1],!0).length?a:i)(e)}function a(e){return(null===e?l:markdownLineEnding(e)?t.attempt(indentedContent,a,l):(t.enter("codeFlowValue"),o))(e)}function o(e){return null===e||markdownLineEnding(e)?(t.exit("codeFlowValue"),a(e)):(t.consume(e),o)}function l(e){return t.exit("codeIndented"),n(e)}}function tokenizeIndentedContent(t,n,i){const s=this;return r;function r(e){return s.parser.lazy[s.now().line]?i(e):markdownLineEnding(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r):factorySpace(t,a,"linePrefix",5)(e)}function a(e){var t=s.events[s.events.length-1];return(t&&"linePrefix"===t[1].type&&4<=t[2].sliceSerialize(t[1],!0).length?n:markdownLineEnding(e)?r:i)(e)}}const codeText={name:"codeText",tokenize:tokenizeCodeText,resolve:resolveCodeText,previous:previous};function resolveCodeText(e){let t=e.length-4,n=3,i,s;if(!("lineEnding"!==e[n][1].type&&"space"!==e[n][1].type||"lineEnding"!==e[t][1].type&&"space"!==e[t][1].type))for(i=n;++i<t;)if("codeTextData"===e[i][1].type){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}for(i=n-1,t++;++i<=t;)void 0===s?i!==t&&"lineEnding"!==e[i][1].type&&(s=i):i!==t&&"lineEnding"!==e[i][1].type||(e[s][1].type="codeTextData",i!==s+2&&(e[s][1].end=e[i-1][1].end,e.splice(s+2,i-s-2),t-=i-s-2,i=s+2),s=void 0);return e}function previous(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}function tokenizeCodeText(t,n,i){let s=0,r,a;return function(e){return t.enter("codeText"),t.enter("codeTextSequence"),o(e)};function o(e){return 96===e?(t.consume(e),s++,o):(t.exit("codeTextSequence"),l(e))}function l(e){return null===e?i(e):96===e?(a=t.enter("codeTextSequence"),r=0,u(e)):32===e?(t.enter("space"),t.consume(e),t.exit("space"),l):markdownLineEnding(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),l):(t.enter("codeTextData"),c(e))}function c(e){return null===e||32===e||96===e||markdownLineEnding(e)?(t.exit("codeTextData"),l(e)):(t.consume(e),c)}function u(e){return 96===e?(t.consume(e),r++,u):(r===s?(t.exit("codeTextSequence"),t.exit("codeText"),n):(a.type="codeTextData",c))(e)}}function subtokenize(e){var t,n,i,s,r={};let a=-1,o,l,c;for(;++a<e.length;){for(;a in r;)a=r[a];if(t=e[a],a&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[a-1][1].type&&(s=t[1]._tokenizer.events,(l=0)<s.length&&"lineEndingBlank"===s[l][1].type&&(l+=2),l<s.length)&&"content"===s[l][1].type)for(;++l<s.length&&"content"!==s[l][1].type;)"chunkText"===s[l][1].type&&(s[l][1]._isInFirstContentOfListItem=!0,l++);if("enter"===t[0])t[1].contentType&&(Object.assign(r,subcontent(e,a)),a=r[a],c=!0);else if(t[1]._container){for(l=a,o=void 0;l--&&("lineEnding"===(n=e[l])[1].type||"lineEndingBlank"===n[1].type);)"enter"===n[0]&&(o&&(e[o][1].type="lineEndingBlank"),n[1].type="lineEnding",o=l);o&&(t[1].end=Object.assign({},e[o][1].start),(i=e.slice(o,a)).unshift(t),splice$1(e,o,a-o+1,i))}}return!c}function subcontent(e,t){var n=e[t][1],i=e[t][2];let s=t-1;var r,a=[],o=n._tokenizer||i.parser[n.contentType](n.start),l=o.events,c=[],u={};let d,p=-1,m=n,g=0,h=0;for(var f=[h];m;){for(;e[++s][1]!==m;);a.push(s),m._tokenizer||(r=i.sliceStream(m),m.next||r.push(null),d&&o.defineSkip(m.start),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(r),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),m=(d=m).next}for(m=n;++p<l.length;)"exit"===l[p][0]&&"enter"===l[p-1][0]&&l[p][1].type===l[p-1][1].type&&l[p][1].start.line!==l[p][1].end.line&&(h=p+1,f.push(h),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(o.events=[],m?(m._tokenizer=void 0,m.previous=void 0):f.pop(),p=f.length;p--;){var x=l.slice(f[p],f[p+1]);const h=a.pop();c.unshift([h,h+x.length-1]),splice$1(e,h,2,x)}for(p=-1;++p<c.length;)u[g+c[p][0]]=g+c[p][1],g+=c[p][1]-c[p][0]-1;return u}const content={tokenize:tokenizeContent,resolve:resolveContent},continuationConstruct={tokenize:tokenizeContinuation,partial:!0};function resolveContent(e){return subtokenize(e),e}function tokenizeContent(t,n){let i;return function(e){return t.enter("content"),i=t.enter("chunkContent",{contentType:"content"}),s(e)};function s(e){return null===e?r(e):markdownLineEnding(e)?t.check(continuationConstruct,a,r)(e):(t.consume(e),s)}function r(e){return t.exit("chunkContent"),t.exit("content"),n(e)}function a(e){return t.consume(e),t.exit("chunkContent"),i.next=t.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,s}}function tokenizeContinuation(n,i,s){const r=this;return function(e){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(e),n.exit("lineEnding"),factorySpace(n,t,"linePrefix")};function t(e){var t;return(null===e||markdownLineEnding(e)?s:(t=r.events[r.events.length-1],!r.parser.constructs.disable.null.includes("codeIndented")&&t&&"linePrefix"===t[1].type&&4<=t[2].sliceSerialize(t[1],!0).length?i:n.interrupt(r.parser.constructs.flow,s,i)))(e)}}function factoryDestination(t,n,i,s,r,a,o,l,e){const c=e||Number.POSITIVE_INFINITY;let u=0;return function(e){if(60===e)return t.enter(s),t.enter(r),t.enter(a),t.consume(e),t.exit(a),d;if(null===e||41===e||asciiControl(e))return i(e);return t.enter(s),t.enter(o),t.enter(l),t.enter("chunkString",{contentType:"string"}),g(e)};function d(e){return 62===e?(t.enter(a),t.consume(e),t.exit(a),t.exit(r),t.exit(s),n):(t.enter(l),t.enter("chunkString",{contentType:"string"}),p(e))}function p(e){return 62===e?(t.exit("chunkString"),t.exit(l),d(e)):null===e||60===e||markdownLineEnding(e)?i(e):(t.consume(e),92===e?m:p)}function m(e){return 60===e||62===e||92===e?(t.consume(e),p):p(e)}function g(e){return 40===e?++u>c?i(e):(t.consume(e),g):41===e?u--?(t.consume(e),g):(t.exit("chunkString"),t.exit(l),t.exit(o),t.exit(s),n(e)):null===e||markdownLineEndingOrSpace(e)?(u?i:(t.exit("chunkString"),t.exit(l),t.exit(o),t.exit(s),n))(e):asciiControl(e)?i(e):(t.consume(e),92===e?h:g)}function h(e){return 40===e||41===e||92===e?(t.consume(e),g):g(e)}}function factoryLabel(t,n,i,s,r,a){const o=this;let l=0,c;return function(e){return t.enter(s),t.enter(r),t.consume(e),t.exit(r),t.enter(a),u};function u(e){return null===e||91===e||93===e&&!c||94===e&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs||999<l?i(e):93===e?(t.exit(a),t.enter(r),t.consume(e),t.exit(r),t.exit(s),n):markdownLineEnding(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),d(e))}function d(e){return null===e||91===e||93===e||markdownLineEnding(e)||999<l++?(t.exit("chunkString"),u(e)):(t.consume(e),c=c||!markdownSpace(e),92===e?p:d)}function p(e){return 91===e||92===e||93===e?(t.consume(e),l++,d):d(e)}}function factoryTitle(t,n,i,s,r,a){let o;return function(e){return t.enter(s),t.enter(r),t.consume(e),t.exit(r),o=40===e?41:e,l};function l(e){return e===o?(t.enter(r),t.consume(e),t.exit(r),t.exit(s),n):(t.enter(a),c(e))}function c(e){return e===o?(t.exit(a),l(o)):null===e?i(e):markdownLineEnding(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),factorySpace(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(e))}function u(e){return e===o||null===e||markdownLineEnding(e)?(t.exit("chunkString"),c(e)):(t.consume(e),92===e?d:u)}function d(e){return e===o||92===e?(t.consume(e),u):u(e)}}function factoryWhitespace(n,i){let s;return function e(t){if(markdownLineEnding(t))return n.enter("lineEnding"),n.consume(t),n.exit("lineEnding"),s=!0,e;if(markdownSpace(t))return factorySpace(n,e,s?"linePrefix":"lineSuffix")(t);return i(t)}}function normalizeIdentifier(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const definition={name:"definition",tokenize:tokenizeDefinition},titleConstruct={tokenize:tokenizeTitle,partial:!0};function tokenizeDefinition(t,n,i){const s=this;let r;return function(e){return t.enter("definition"),factoryLabel.call(s,t,a,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(e)};function a(e){return r=normalizeIdentifier(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),factoryWhitespace(t,factoryDestination(t,t.attempt(titleConstruct,factorySpace(t,o,"whitespace"),factorySpace(t,o,"whitespace")),i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):i(e)}function o(e){return(null===e||markdownLineEnding(e)?(t.exit("definition"),s.parser.defined.includes(r)||s.parser.defined.push(r),n):i)(e)}}function tokenizeTitle(t,n,i){return function(e){return(markdownLineEndingOrSpace(e)?factoryWhitespace(t,s):i)(e)};function s(e){return(34===e||39===e||40===e?factoryTitle(t,factorySpace(t,r,"whitespace"),i,"definitionTitle","definitionTitleMarker","definitionTitleString"):i)(e)}function r(e){return(null===e||markdownLineEnding(e)?n:i)(e)}}const hardBreakEscape={name:"hardBreakEscape",tokenize:tokenizeHardBreakEscape};function tokenizeHardBreakEscape(t,n,i){return function(e){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(e),s};function s(e){return(markdownLineEnding(e)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),n):i)(e)}}const headingAtx={name:"headingAtx",tokenize:tokenizeHeadingAtx,resolve:resolveHeadingAtx};function resolveHeadingAtx(e,t){let n=e.length-2,i=3;var s,r;return"whitespace"===e[i][1].type&&(i+=2),n-2>i&&"whitespace"===e[n][1].type&&(n-=2),"atxHeadingSequence"===e[n][1].type&&(i===n-1||n-4>i&&"whitespace"===e[n-2][1].type)&&(n-=i+1===n?2:4),n>i&&(s={type:"atxHeadingText",start:e[i][1].start,end:e[n][1].end},r={type:"chunkText",start:e[i][1].start,end:e[n][1].end,contentType:"text"},splice$1(e,i,n-i+1,[["enter",s,t],["enter",r,t],["exit",r,t],["exit",s,t]])),e}function tokenizeHeadingAtx(t,n,i){const s=this;let r=0;return function(e){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),a(e)};function a(e){return 35===e&&r++<6?(t.consume(e),a):(null===e||markdownLineEndingOrSpace(e)?(t.exit("atxHeadingSequence"),s.interrupt?n:o):i)(e)}function o(e){return(35===e?(t.enter("atxHeadingSequence"),l):null===e||markdownLineEnding(e)?(t.exit("atxHeading"),n):markdownSpace(e)?factorySpace(t,o,"whitespace"):(t.enter("atxHeadingText"),c))(e)}function l(e){return 35===e?(t.consume(e),l):(t.exit("atxHeadingSequence"),o(e))}function c(e){return null===e||35===e||markdownLineEndingOrSpace(e)?(t.exit("atxHeadingText"),o(e)):(t.consume(e),c)}}const htmlBlockNames=["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","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],htmlRawNames=["pre","script","style","textarea"],htmlFlow={name:"htmlFlow",tokenize:tokenizeHtmlFlow,resolveTo:resolveToHtmlFlow,concrete:!0},nextBlankConstruct={tokenize:tokenizeNextBlank,partial:!0};function resolveToHtmlFlow(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return 1<t&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function tokenizeHtmlFlow(t,n,i){const r=this;let s,a,o,l,c;return function(e){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(e),u};function u(e){return 33===e?(t.consume(e),d):47===e?(t.consume(e),g):63===e?(t.consume(e),s=3,r.interrupt?n:A):asciiAlpha(e)?(t.consume(e),o=String.fromCharCode(e),a=!0,h):i(e)}function d(e){return 45===e?(t.consume(e),s=2,p):91===e?(t.consume(e),s=5,o="CDATA[",l=0,m):asciiAlpha(e)?(t.consume(e),s=4,r.interrupt?n:A):i(e)}function p(e){return 45===e?(t.consume(e),r.interrupt?n:A):i(e)}function m(e){return e===o.charCodeAt(l++)?(t.consume(e),l===o.length?r.interrupt?n:F:m):i(e)}function g(e){return asciiAlpha(e)?(t.consume(e),o=String.fromCharCode(e),h):i(e)}function h(e){return null===e||47===e||62===e||markdownLineEndingOrSpace(e)?47!==e&&a&&htmlRawNames.includes(o.toLowerCase())?(s=1,(r.interrupt?n:F)(e)):htmlBlockNames.includes(o.toLowerCase())?(s=6,47===e?(t.consume(e),f):(r.interrupt?n:F)(e)):(s=7,(r.interrupt&&!r.parser.lazy[r.now().line]?i:a?y:x)(e)):45===e||asciiAlphanumeric(e)?(t.consume(e),o+=String.fromCharCode(e),h):i(e)}function f(e){return 62===e?(t.consume(e),r.interrupt?n:F):i(e)}function x(e){return markdownSpace(e)?(t.consume(e),x):E(e)}function y(e){return 47===e?(t.consume(e),E):58===e||95===e||asciiAlpha(e)?(t.consume(e),b):markdownSpace(e)?(t.consume(e),y):E(e)}function b(e){return 45===e||46===e||58===e||95===e||asciiAlphanumeric(e)?(t.consume(e),b):j(e)}function j(e){return 61===e?(t.consume(e),v):markdownSpace(e)?(t.consume(e),j):y(e)}function v(e){return null===e||60===e||61===e||62===e||96===e?i(e):34===e||39===e?(t.consume(e),c=e,S):markdownSpace(e)?(t.consume(e),v):(c=null,k(e))}function S(e){return null===e||markdownLineEnding(e)?i(e):e===c?(t.consume(e),w):(t.consume(e),S)}function k(e){return null===e||34===e||39===e||60===e||61===e||62===e||96===e||markdownLineEndingOrSpace(e)?j(e):(t.consume(e),k)}function w(e){return(47===e||62===e||markdownSpace(e)?y:i)(e)}function E(e){return 62===e?(t.consume(e),R):i(e)}function R(e){return markdownSpace(e)?(t.consume(e),R):(null===e||markdownLineEnding(e)?F:i)(e)}function F(e){return 45===e&&2===s?(t.consume(e),M):60===e&&1===s?(t.consume(e),O):62===e&&4===s?(t.consume(e),_):63===e&&3===s?(t.consume(e),A):93===e&&5===s?(t.consume(e),L):!markdownLineEnding(e)||6!==s&&7!==s?null===e||markdownLineEnding(e)?T(e):(t.consume(e),F):t.check(nextBlankConstruct,_,T)(e)}function T(e){return t.exit("htmlFlowData"),I(e)}function I(e){return(null===e?N:markdownLineEnding(e)?t.attempt({tokenize:C,partial:!0},I,N):(t.enter("htmlFlowData"),F))(e)}function C(t,n,i){return function(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),s};function s(e){return(r.parser.lazy[r.now().line]?i:n)(e)}}function M(e){return 45===e?(t.consume(e),A):F(e)}function O(e){return 47===e?(t.consume(e),o="",P):F(e)}function P(e){return 62===e&&htmlRawNames.includes(o.toLowerCase())?(t.consume(e),_):asciiAlpha(e)&&o.length<8?(t.consume(e),o+=String.fromCharCode(e),P):F(e)}function L(e){return 93===e?(t.consume(e),A):F(e)}function A(e){return 62===e?(t.consume(e),_):45===e&&2===s?(t.consume(e),A):F(e)}function _(e){return null===e||markdownLineEnding(e)?(t.exit("htmlFlowData"),N(e)):(t.consume(e),_)}function N(e){return t.exit("htmlFlow"),n(e)}}function tokenizeNextBlank(t,n,i){return function(e){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(e),t.exit("lineEndingBlank"),t.attempt(blankLine,n,i)}}const htmlText={name:"htmlText",tokenize:tokenizeHtmlText};function tokenizeHtmlText(t,n,i){const s=this;let r,a,o,l;return function(e){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(e),c};function c(e){return 33===e?(t.consume(e),u):47===e?(t.consume(e),k):63===e?(t.consume(e),v):asciiAlpha(e)?(t.consume(e),R):i(e)}function u(e){return 45===e?(t.consume(e),d):91===e?(t.consume(e),a="CDATA[",o=0,f):asciiAlpha(e)?(t.consume(e),j):i(e)}function d(e){return 45===e?(t.consume(e),p):i(e)}function p(e){return null===e||62===e?i(e):45===e?(t.consume(e),m):g(e)}function m(e){return(null===e||62===e?i:g)(e)}function g(e){return null===e?i(e):45===e?(t.consume(e),h):markdownLineEnding(e)?(l=g,A(e)):(t.consume(e),g)}function h(e){return 45===e?(t.consume(e),N):g(e)}function f(e){return e===a.charCodeAt(o++)?(t.consume(e),o===a.length?x:f):i(e)}function x(e){return null===e?i(e):93===e?(t.consume(e),y):markdownLineEnding(e)?(l=x,A(e)):(t.consume(e),x)}function y(e){return 93===e?(t.consume(e),b):x(e)}function b(e){return 62===e?N(e):93===e?(t.consume(e),b):x(e)}function j(e){return null===e||62===e?N(e):markdownLineEnding(e)?(l=j,A(e)):(t.consume(e),j)}function v(e){return null===e?i(e):63===e?(t.consume(e),S):markdownLineEnding(e)?(l=v,A(e)):(t.consume(e),v)}function S(e){return(62===e?N:v)(e)}function k(e){return asciiAlpha(e)?(t.consume(e),w):i(e)}function w(e){return 45===e||asciiAlphanumeric(e)?(t.consume(e),w):E(e)}function E(e){return markdownLineEnding(e)?(l=E,A(e)):markdownSpace(e)?(t.consume(e),E):N(e)}function R(e){return 45===e||asciiAlphanumeric(e)?(t.consume(e),R):(47===e||62===e||markdownLineEndingOrSpace(e)?F:i)(e)}function F(e){return 47===e?(t.consume(e),N):58===e||95===e||asciiAlpha(e)?(t.consume(e),T):markdownLineEnding(e)?(l=F,A(e)):markdownSpace(e)?(t.consume(e),F):N(e)}function T(e){return 45===e||46===e||58===e||95===e||asciiAlphanumeric(e)?(t.consume(e),T):I(e)}function I(e){return 61===e?(t.consume(e),C):markdownLineEnding(e)?(l=I,A(e)):markdownSpace(e)?(t.consume(e),I):F(e)}function C(e){return null===e||60===e||61===e||62===e||96===e?i(e):34===e||39===e?(t.consume(e),r=e,M):markdownLineEnding(e)?(l=C,A(e)):markdownSpace(e)?(t.consume(e),C):(t.consume(e),r=void 0,P)}function M(e){return e===r?(t.consume(e),O):null===e?i(e):markdownLineEnding(e)?(l=M,A(e)):(t.consume(e),M)}function O(e){return(62===e||47===e||markdownLineEndingOrSpace(e)?F:i)(e)}function P(e){return null===e||34===e||39===e||60===e||61===e||96===e?i(e):62===e||markdownLineEndingOrSpace(e)?F(e):(t.consume(e),P)}function A(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),factorySpace(t,_,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function _(e){return t.enter("htmlTextData"),l(e)}function N(e){return 62===e?(t.consume(e),t.exit("htmlTextData"),t.exit("htmlText"),n):i(e)}}const labelEnd={name:"labelEnd",tokenize:tokenizeLabelEnd,resolveTo:resolveToLabelEnd,resolveAll:resolveAllLabelEnd},resourceConstruct={tokenize:tokenizeResource},fullReferenceConstruct={tokenize:tokenizeFullReference},collapsedReferenceConstruct={tokenize:tokenizeCollapsedReference};function resolveAllLabelEnd(e){let t=-1;for(var n;++t<e.length;)"labelImage"!==(n=e[t][1]).type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++);return e}function resolveToLabelEnd(e,t){let n=e.length,i=0;var s;let r,a;for(;n--;)if(s=e[n][1],r){if("link"===s.type||"labelLink"===s.type&&s._inactive)break;"enter"===e[n][0]&&"labelLink"===s.type&&(s._inactive=!0)}else if(a){if("enter"===e[n][0]&&("labelImage"===s.type||"labelLink"===s.type)&&!s._balanced&&(r=n,"labelLink"!==s.type)){i=2;break}}else"labelEnd"===s.type&&(a=n);var o,l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[a][1].end)},u={type:"labelText",start:Object.assign({},e[r+i+2][1].end),end:Object.assign({},e[a-2][1].start)};return o=push([["enter",l,t],["enter",c,t]],e.slice(r+1,r+i+3)),o=push(o,[["enter",u,t]]),o=push(o,resolveAll(t.parser.constructs.insideSpan.null,e.slice(r+i+4,a-3),t)),o=push(o,[["exit",u,t],e[a-2],e[a-1],["exit",c,t]]),o=push(o,e.slice(a+1)),o=push(o,[["exit",l,t]]),splice$1(e,r,e.length,o),e}function tokenizeLabelEnd(t,n,i){const s=this;let e=s.events.length,r,a;for(;e--;)if(("labelImage"===s.events[e][1].type||"labelLink"===s.events[e][1].type)&&!s.events[e][1]._balanced){r=s.events[e][1];break}return function(e){return r?r._inactive?l(e):(a=s.parser.defined.includes(normalizeIdentifier(s.sliceSerialize({start:r.end,end:s.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelEnd"),o):i(e)};function o(e){return(40===e?t.attempt(resourceConstruct,n,a?n:l):91===e?t.attempt(fullReferenceConstruct,n,a?t.attempt(collapsedReferenceConstruct,n,l):l):a?n:l)(e)}function l(e){return r._balanced=!0,i(e)}}function tokenizeResource(t,n,i){return function(e){return t.enter("resource"),t.enter("resourceMarker"),t.consume(e),t.exit("resourceMarker"),factoryWhitespace(t,s)};function s(e){return(41===e?o:factoryDestination(t,r,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32))(e)}function r(e){return(markdownLineEndingOrSpace(e)?factoryWhitespace(t,a):o)(e)}function a(e){return(34===e||39===e||40===e?factoryTitle(t,factoryWhitespace(t,o),i,"resourceTitle","resourceTitleMarker","resourceTitleString"):o)(e)}function o(e){return 41===e?(t.enter("resourceMarker"),t.consume(e),t.exit("resourceMarker"),t.exit("resource"),n):i(e)}}function tokenizeFullReference(t,n,i){const s=this;return function(e){return factoryLabel.call(s,t,r,i,"reference","referenceMarker","referenceString")(e)};function r(e){return(s.parser.defined.includes(normalizeIdentifier(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?n:i)(e)}}function tokenizeCollapsedReference(t,n,i){return function(e){return t.enter("reference"),t.enter("referenceMarker"),t.consume(e),t.exit("referenceMarker"),s};function s(e){return 93===e?(t.enter("referenceMarker"),t.consume(e),t.exit("referenceMarker"),t.exit("reference"),n):i(e)}}const labelStartImage={name:"labelStartImage",tokenize:tokenizeLabelStartImage,resolveAll:labelEnd.resolveAll};function tokenizeLabelStartImage(t,n,i){const s=this;return function(e){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(e),t.exit("labelImageMarker"),r};function r(e){return 91===e?(t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelImage"),a):i(e)}function a(e){return(94===e&&"_hiddenFootnoteSupport"in s.parser.constructs?i:n)(e)}}const labelStartLink={name:"labelStartLink",tokenize:tokenizeLabelStartLink,resolveAll:labelEnd.resolveAll};function tokenizeLabelStartLink(t,n,i){const s=this;return function(e){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelLink"),r};function r(e){return(94===e&&"_hiddenFootnoteSupport"in s.parser.constructs?i:n)(e)}}const lineEnding={name:"lineEnding",tokenize:tokenizeLineEnding};function tokenizeLineEnding(t,n){return function(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),factorySpace(t,n,"linePrefix")}}const thematicBreak$1={name:"thematicBreak",tokenize:tokenizeThematicBreak};function tokenizeThematicBreak(t,n,i){let s=0,r;return function(e){return t.enter("thematicBreak"),a(r=e)};function a(e){return(e===r?(t.enter("thematicBreakSequence"),o):markdownSpace(e)?factorySpace(t,a,"whitespace"):s<3||null!==e&&!markdownLineEnding(e)?i:(t.exit("thematicBreak"),n))(e)}function o(e){return e===r?(t.consume(e),s++,o):(t.exit("thematicBreakSequence"),a(e))}}const list$1={name:"list",tokenize:tokenizeListStart,continuation:{tokenize:tokenizeListContinuation},exit:tokenizeListEnd},listItemPrefixWhitespaceConstruct={tokenize:tokenizeListItemPrefixWhitespace,partial:!0},indentConstruct={tokenize:tokenizeIndent,partial:!0};function tokenizeListStart(n,t,i){const s=this;var e=s.events[s.events.length-1];let r=e&&"linePrefix"===e[1].type?e[2].sliceSerialize(e[1],!0).length:0,a=0;return function(e){var t=s.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===t?!s.containerState.marker||e===s.containerState.marker:asciiDigit(e)){if(s.containerState.type||(s.containerState.type=t,n.enter(t,{_container:!0})),"listUnordered"===t)return n.enter("listItemPrefix"),(42===e||45===e?n.check(thematicBreak$1,i,l):l)(e);if(!s.interrupt||49===e)return n.enter("listItemPrefix"),n.enter("listItemValue"),o(e)}return i(e)};function o(e){return asciiDigit(e)&&++a<10?(n.consume(e),o):((!s.interrupt||a<2)&&(s.containerState.marker?e===s.containerState.marker:41===e||46===e)?(n.exit("listItemValue"),l):i)(e)}function l(e){return n.enter("listItemMarker"),n.consume(e),n.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||e,n.check(blankLine,s.interrupt?i:c,n.attempt(listItemPrefixWhitespaceConstruct,d,u))}function c(e){return s.containerState.initialBlankLine=!0,r++,d(e)}function u(e){return markdownSpace(e)?(n.enter("listItemPrefixWhitespace"),n.consume(e),n.exit("listItemPrefixWhitespace"),d):i(e)}function d(e){return s.containerState.size=r+s.sliceSerialize(n.exit("listItemPrefix"),!0).length,t(e)}}function tokenizeListContinuation(t,n,i){const s=this;return s.containerState._closeFlow=void 0,t.check(blankLine,function(e){return s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,factorySpace(t,n,"listItemIndent",s.containerState.size+1)(e)},function(e){return(!s.containerState.furtherBlankLines&&markdownSpace(e)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,t.attempt(indentConstruct,n,r)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,r))(e)});function r(e){return s.containerState._closeFlow=!0,s.interrupt=void 0,factorySpace(t,t.attempt(list$1,n,i),"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e)}}function tokenizeIndent(e,n,i){const s=this;return factorySpace(e,function(e){var t=s.events[s.events.length-1];return(t&&"listItemIndent"===t[1].type&&t[2].sliceSerialize(t[1],!0).length===s.containerState.size?n:i)(e)},"listItemIndent",s.containerState.size+1)}function tokenizeListEnd(e){e.exit(this.containerState.type)}function tokenizeListItemPrefixWhitespace(e,n,i){const s=this;return factorySpace(e,function(e){var t=s.events[s.events.length-1];return(!markdownSpace(e)&&t&&"listItemPrefixWhitespace"===t[1].type?n:i)(e)},"listItemPrefixWhitespace",s.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}const setextUnderline={name:"setextUnderline",tokenize:tokenizeSetextUnderline,resolveTo:resolveToSetextUnderline};function resolveToSetextUnderline(e,t){let n=e.length,i,s,r;for(;n--;)if("enter"===e[n][0]){if("content"===e[n][1].type){i=n;break}"paragraph"===e[n][1].type&&(s=n)}else"content"===e[n][1].type&&e.splice(n,1),r||"definition"!==e[n][1].type||(r=n);var a={type:"setextHeading",start:Object.assign({},e[s][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[s][1].type="setextHeadingText",r?(e.splice(s,0,["enter",a,t]),e.splice(r+1,0,["exit",e[i][1],t]),e[i][1].end=Object.assign({},e[r][1].end)):e[i][1]=a,e.push(["exit",a,t]),e}function tokenizeSetextUnderline(t,n,i){const s=this;let e=s.events.length,r,a;for(;e--;)if("lineEnding"!==s.events[e][1].type&&"linePrefix"!==s.events[e][1].type&&"content"!==s.events[e][1].type){a="paragraph"===s.events[e][1].type;break}return function(e){return s.parser.lazy[s.now().line]||!s.interrupt&&!a?i(e):(t.enter("setextHeadingLine"),t.enter("setextHeadingLineSequence"),o(r=e))};function o(e){return e===r?(t.consume(e),o):(t.exit("setextHeadingLineSequence"),factorySpace(t,l,"lineSuffix")(e))}function l(e){return(null===e||markdownLineEnding(e)?(t.exit("setextHeadingLine"),n):i)(e)}}const flow$1={tokenize:initializeFlow};function initializeFlow(t){const n=this,i=t.attempt(blankLine,function(e){if(null!==e)return t.enter("lineEndingBlank"),t.consume(e),t.exit("lineEndingBlank"),n.currentConstruct=void 0,i;t.consume(e)},t.attempt(this.parser.constructs.flowInitial,e,factorySpace(t,t.attempt(this.parser.constructs.flow,e,t.attempt(content,e)),"linePrefix")));return i;function e(e){if(null!==e)return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),n.currentConstruct=void 0,i;t.consume(e)}}const resolver={resolveAll:createResolver()},string$1=initializeFactory("string"),text$2=initializeFactory("text");function initializeFactory(l){return{tokenize:function(t){const s=this,r=this.parser.constructs[l],n=t.attempt(r,e,i);return e;function e(e){return(o(e)?n:i)(e)}function i(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return o(e)?(t.exit("data"),n(e)):(t.consume(e),a)}function o(e){if(null===e)return 1;var t=r[e];let n=-1;if(t)for(;++n<t.length;){var i=t[n];if(!i.previous||i.previous.call(s,s.previous))return 1}}},resolveAll:createResolver("text"===l?resolveAllLineSuffixes:void 0)}}function createResolver(s){return function(e,t){let n=-1,i;for(;++n<=e.length;)void 0===i?e[n]&&"data"===e[n][1].type&&(i=n,n++):e[n]&&"data"===e[n][1].type||(n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),n=i+2),i=void 0);return s?s(e,t):e}}function resolveAllLineSuffixes(s,r){let a=0;for(;++a<=s.length;)if((a===s.length||"lineEnding"===s[a][1].type)&&"data"===s[a-1][1].type){var o,l=s[a-1][1],c=r.sliceStream(l);let e=c.length,t=-1,n=0,i;for(;e--;){var u=c[e];if("string"==typeof u){for(t=u.length;32===u.charCodeAt(t-1);)n++,t--;if(t)break;t=-1}else if(-2===u)i=!0,n++;else if(-1!==u){e++;break}}n&&(o={type:a===s.length||i||n<2?"lineSuffix":"hardBreakTrailing",start:{line:l.end.line,column:l.end.column-n,offset:l.end.offset-n,_index:l.start._index+e,_bufferIndex:e?t:l.start._bufferIndex+t},end:Object.assign({},l.end)},l.end=Object.assign({},o.start),l.start.offset===l.end.offset?Object.assign(l,o):(s.splice(a,0,["enter",o,r],["exit",o,r]),a+=2)),a++}return s}function createTokenizer(e,i,t){let m=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const n={},s=[];let r=[],g=[];const h={consume:function(e){markdownLineEnding(e)?(m.line++,m.column=1,m.offset+=-3===e?2:1,y()):-1!==e&&(m.column++,m.offset++);m._bufferIndex<0?m._index++:(m._bufferIndex++,m._bufferIndex===r[m._index].length&&(m._bufferIndex=-1,m._index++));f.previous=e},enter:function(e,t){t=t||{};return t.type=e,t.start=x(),f.events.push(["enter",t,f]),g.push(t),t},exit:function(e){var t=g.pop();return t.end=x(),f.events.push(["exit",t,f]),t},attempt:u(function(e,t){d(e,t.from)}),check:u(c),interrupt:u(c,{interrupt:!0})},f={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:o,sliceSerialize:function(e,t){return serializeChunks(o(e),t)},now:x,defineSkip:function(e){n[e.line]=e.column,y()},write:function(e){var t;for(r=push(r,e);m._index<r.length;){var n=r[m._index];if("string"==typeof n)for(t=m._index,m._bufferIndex<0&&(m._bufferIndex=0);m._index===t&&m._bufferIndex<n.length;)l(n.charCodeAt(m._bufferIndex));else l(n)}return null===r[r.length-1]?(d(i,0),f.events=resolveAll(s,f.events,f),f.events):[]}};let a=i.tokenize.call(f,h);return i.resolveAll&&s.push(i),f;function o(e){return sliceChunks(r,e)}function x(){return Object.assign({},m)}function l(e){a=a(e)}function c(e,t){t.restore()}function u(d,p){return function(e,t,n){let i,s,r,a;return Array.isArray(e)?o(e):"tokenize"in e?o([e]):function(i){return function(e){var t=null!==e&&i[e],n=null!==e&&i.null,t=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]];return o(t)(e)}}(e);function o(e){return i=e,(s=0)===e.length?n:l(e[s])}function l(t){return function(e){a=function(){const e=x(),t=f.previous,n=f.currentConstruct,i=f.events.length,s=Array.from(g);return{restore:function(){m=e,f.previous=t,f.currentConstruct=n,f.events.length=i,g=s,y()},from:i}}(),(r=t).partial||(f.currentConstruct=t);if(t.name&&f.parser.constructs.disable.null.includes(t.name))return u();return t.tokenize.call(p?Object.assign(Object.create(f),p):f,h,c,u)(e)}}function c(e){return d(r,a),t}function u(e){return a.restore(),++s<i.length?l(i[s]):n}}}function d(e,t){e.resolveAll&&!s.includes(e)&&s.push(e),e.resolve&&splice$1(f.events,t,f.events.length-t,e.resolve(f.events.slice(t),f)),e.resolveTo&&(f.events=e.resolveTo(f.events,f))}function y(){m.line in n&&m.column<2&&(m.column=n[m.line],m.offset+=n[m.line]-1)}}function sliceChunks(e,t){var n=t.start._index,i=t.start._bufferIndex,s=t.end._index,t=t.end._bufferIndex;let r;return n===s?r=[e[n].slice(i,t)]:(r=e.slice(n,s),-1<i&&(r[0]=r[0].slice(i)),0<t&&r.push(e[s].slice(0,t))),r}function serializeChunks(t,n){let i=-1;var s=[];let r;for(;++i<t.length;){var a=t[i];let e;if("string"==typeof a)e=a;else switch(a){case-5:e="\r";break;case-4:e="\n";break;case-3:e="\r\n";break;case-2:e=n?" ":"\t";break;case-1:if(!n&&r)continue;e=" ";break;default:e=String.fromCharCode(a)}r=-2===a,s.push(e)}return s.join("")}const document$1={[42]:list$1,43:list$1,45:list$1,48:list$1,49:list$1,50:list$1,51:list$1,52:list$1,53:list$1,54:list$1,55:list$1,56:list$1,57:list$1,62:blockQuote},contentInitial={[91]:definition},flowInitial={"-2":codeIndented,"-1":codeIndented,[32]:codeIndented},flow={[35]:headingAtx,42:thematicBreak$1,45:[setextUnderline,thematicBreak$1],60:htmlFlow,61:setextUnderline,95:thematicBreak$1,96:codeFenced,126:codeFenced},string={[38]:characterReference,92:characterEscape},text$1={"-5":lineEnding,"-4":lineEnding,"-3":lineEnding,[33]:labelStartImage,38:characterReference,42:attention,60:[autolink,htmlText],91:labelStartLink,92:[hardBreakEscape,characterEscape],93:labelEnd,95:attention,96:codeText},insideSpan={null:[attention,resolver]},attentionMarkers={null:[42,95]},disable={null:[]};var defaultConstructs=Object.freeze({__proto__:null,document:document$1,contentInitial:contentInitial,flowInitial:flowInitial,flow:flow,string:string,text:text$1,insideSpan:insideSpan,attentionMarkers:attentionMarkers,disable:disable});function parse$1(e={}){const n={defined:[],lazy:{},constructs:combineExtensions([defaultConstructs].concat(e.extensions||[])),content:t(content$1),document:t(document$2),flow:t(flow$1),string:t(string$1),text:t(text$2)};return n;function t(t){return function(e){return createTokenizer(n,t,e)}}}const search=/[\0\t\n\r]/g;function preprocess(){let c=1,u="",d=!0,p;return function(e,t,n){var i=[];let s,r,a,o,l;e=u+e.toString(t),a=0,u="",d&&(65279===e.charCodeAt(0)&&a++,d=void 0);for(;a<e.length;){if(search.lastIndex=a,s=search.exec(e),o=s&&void 0!==s.index?s.index:e.length,l=e.charCodeAt(o),!s){u=e.slice(a);break}if(10===l&&a===o&&p)i.push(-3),p=void 0;else switch(p&&(i.push(-5),p=void 0),a<o&&(i.push(e.slice(a,o)),c+=o-a),l){case 0:i.push(65533),c++;break;case 9:for(r=4*Math.ceil(c/4),i.push(-2);c++<r;)i.push(-1);break;case 10:i.push(-4),c=1;break;default:p=!0,c=1}a=o+1}n&&(p&&i.push(-5),u&&i.push(u),i.push(null));return i}}function postprocess(e){for(;!subtokenize(e););return e}function decodeNumericCharacterReference(e,t){e=Number.parseInt(e,t);return e<9||11===e||13<e&&e<32||126<e&&e<160||55295<e&&e<57344||64975<e&&e<65008||65535==(65535&e)||65534==(65535&e)||1114111<e?"�":String.fromCharCode(e)}const characterEscapeOrReference=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function decodeString(e){return e.replace(characterEscapeOrReference,decode)}function decode(e,t,n){if(t)return t;const i=n.charCodeAt(0);if(35!==i)return decodeNamedCharacterReference(n)||e;{const i=n.charCodeAt(1);t=120===i||88===i;return decodeNumericCharacterReference(n.slice(t?2:1),t?16:10)}}function stringifyPosition(e){return e&&"object"==typeof e?"position"in e||"type"in e?position(e.position):"start"in e||"end"in e?position(e):"line"in e||"column"in e?point$2(e):"":""}function point$2(e){return index$1(e&&e.line)+":"+index$1(e&&e.column)}function position(e){return point$2(e&&e.start)+"-"+point$2(e&&e.end)}function index$1(e){return e&&"number"==typeof e?e:1}const own$6={}.hasOwnProperty,fromMarkdown=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),compiler(n)(postprocess(parse$1(n).document().write(preprocess()(e,t,!0))))};function compiler(e){const l={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:t(b),autolinkProtocol:i,autolinkEmail:i,atxHeading:t(f),blockQuote:t(function(){return{type:"blockquote",children:[]}}),characterEscape:i,characterReference:i,codeFenced:t(h),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:t(h,d),codeText:t(function(){return{type:"inlineCode",value:""}},d),codeTextData:i,data:i,codeFlowValue:i,definition:t(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:t(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:t(x),hardBreakTrailing:t(x),htmlFlow:t(y,d),htmlFlowData:i,htmlText:t(y,d),htmlTextData:i,image:t(function(){return{type:"image",title:null,url:"",alt:null}}),label:d,link:t(b),listItem:t(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){s.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),c("expectingFirstListItemValue"))},listOrdered:t(j,function(){c("expectingFirstListItemValue",!0)}),listUnordered:t(j),paragraph:t(function(){return{type:"paragraph",children:[]}}),reference:function(){c("referenceType","collapsed")},referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:t(f),strong:t(function(){return{type:"strong",children:[]}}),thematicBreak:t(function(){return{type:"thematicBreak"}})},exit:{atxHeading:n(),atxHeadingSequence:function(e){var t=this.stack[this.stack.length-1];t.depth||(e=this.sliceSerialize(e).length,t.depth=e)},autolink:n(),autolinkEmail:function(e){r.call(this,e);var t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){r.call(this,e);var t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)},blockQuote:n(),characterEscapeValue:r,characterReferenceMarkerHexadecimal:o,characterReferenceMarkerNumeric:o,characterReferenceValue:function(e){var t=this.sliceSerialize(e),n=s.characterReferenceType;let i;n?(i=decodeNumericCharacterReference(t,"characterReferenceMarkerNumeric"===n?10:16),c("characterReferenceType")):(n=decodeNamedCharacterReference(t),i=n);t=this.stack.pop();t.value+=i,t.position.end=point$1(e.end)},codeFenced:n(function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),c("flowCodeInside")}),codeFencedFence:function(){s.flowCodeInside||(this.buffer(),c("flowCodeInside",!0))},codeFencedFenceInfo:function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e},codeFencedFenceMeta:function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e},codeFlowValue:r,codeIndented:n(function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:n(function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),codeTextData:r,data:r,definition:n(),definitionDestinationString:function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},definitionLabelString:function(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=normalizeIdentifier(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},emphasis:n(),hardBreakEscape:n(a),hardBreakTrailing:n(a),htmlFlow:n(function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlFlowData:r,htmlText:n(function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlTextData:r,image:n(function(){var e=this.stack[this.stack.length-1];{var t;s.inReference?(t=s.referenceType||"shortcut",e.type+="Reference",e.referenceType=t,delete e.url,delete e.title):(delete e.identifier,delete e.label)}c("referenceType")}),label:function(){var e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];c("inReference",!0),"link"===n.type?(e=e.children,n.children=e):n.alt=t},labelText:function(e){var e=this.sliceSerialize(e),t=this.stack[this.stack.length-2];t.label=decodeString(e),t.identifier=normalizeIdentifier(e).toLowerCase()},lineEnding:function(e){var t=this.stack[this.stack.length-1];s.atHardBreak?(t.children[t.children.length-1].position.end=point$1(e.end),c("atHardBreak")):!s.setextHeadingSlurpLineEnding&&l.canContainEols.includes(t.type)&&(i.call(this,e),r.call(this,e))},link:n(function(){var e=this.stack[this.stack.length-1];{var t;s.inReference?(t=s.referenceType||"shortcut",e.type+="Reference",e.referenceType=t,delete e.url,delete e.title):(delete e.identifier,delete e.label)}c("referenceType")}),listItem:n(),listOrdered:n(),listUnordered:n(),paragraph:n(),referenceString:function(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=normalizeIdentifier(this.sliceSerialize(e)).toLowerCase(),c("referenceType","full")},resourceDestinationString:function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},resourceTitleString:function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},resource:function(){c("inReference")},setextHeading:n(function(){c("setextHeadingSlurpLineEnding")}),setextHeadingLineSequence:function(e){var t=this.stack[this.stack.length-1];t.depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){c("setextHeadingSlurpLineEnding",!0)},strong:n(),thematicBreak:n()}},s=(configure(l,(e||{}).mdastExtensions||[]),{});return function(e){let t={type:"root",children:[]};var n={stack:[t],tokenStack:[],config:l,enter:p,exit:m,buffer:d,resume:g,setData:c,getData:u},i=[];let s=-1;for(;++s<e.length;){var r;"listOrdered"!==e[s][1].type&&"listUnordered"!==e[s][1].type||("enter"===e[s][0]?i.push(s):(r=i.pop(),s=function(t,e,n){let i=e-1,s=-1,r=!1,a,o,l,c;for(;++i<=n;){var u=t[i];if("listUnordered"===u[1].type||"listOrdered"===u[1].type||"blockQuote"===u[1].type?("enter"===u[0]?s++:s--,c=void 0):"lineEndingBlank"===u[1].type?"enter"===u[0]&&(!a||c||s||(l=l||i),c=void 0):"linePrefix"!==u[1].type&&"listItemValue"!==u[1].type&&"listItemMarker"!==u[1].type&&"listItemPrefix"!==u[1].type&&"listItemPrefixWhitespace"!==u[1].type&&(c=void 0),!s&&"enter"===u[0]&&"listItemPrefix"===u[1].type||-1===s&&"exit"===u[0]&&("listUnordered"===u[1].type||"listOrdered"===u[1].type)){if(a){let e=i;for(o=void 0;e--;){var d=t[e];if("lineEnding"===d[1].type||"lineEndingBlank"===d[1].type)"exit"!==d[0]&&(o&&(t[o][1].type="lineEndingBlank",r=!0),d[1].type="lineEnding",o=e);else if("linePrefix"!==d[1].type&&"blockQuotePrefix"!==d[1].type&&"blockQuotePrefixWhitespace"!==d[1].type&&"blockQuoteMarker"!==d[1].type&&"listItemIndent"!==d[1].type)break}l&&(!o||l<o)&&(a._spread=!0),a.end=Object.assign({},o?t[o][1].start:u[1].end),t.splice(o||i,0,["exit",a,u[2]]),i++,n++}"listItemPrefix"===u[1].type&&(a={type:"listItem",_spread:!1,start:Object.assign({},u[1].start)},t.splice(i,0,["enter",a,u[2]]),i++,n++,l=void 0,c=!0)}}return t[e][1]._spread=r,n}(e,r,s)))}s=-1;for(;++s<e.length;){var a=l[e[s][0]];own$6.call(a,e[s][1].type)&&a[e[s][1].type].call(Object.assign({sliceSerialize:e[s][2].sliceSerialize},n),e[s][1])}{var o;0<n.tokenStack.length&&((o=n.tokenStack[n.tokenStack.length-1])[1]||defaultOnError).call(n,void 0,o[0])}t.position={start:point$1(0<e.length?e[0][1].start:{line:1,column:1,offset:0}),end:point$1(0<e.length?e[e.length-2][1].end:{line:1,column:1,offset:0})},s=-1;for(;++s<l.transforms.length;)t=l.transforms[s](t)||t;return t};function c(e,t){s[e]=t}function u(e){return s[e]}function t(t,n){return function(e){p.call(this,t(e),e),n&&n.call(this,e)}}function d(){this.stack.push({type:"fragment",children:[]})}function p(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:point$1(t.start)},e}function n(t){return function(e){t&&t.call(this,e);m.call(this,e)}}function m(e,t){var n=this.stack.pop(),i=this.tokenStack.pop();if(i)return i[0].type!==e.type&&(t||i[1]||defaultOnError).call(this,e,i[0]),n.position.end=point$1(e.end),n;throw new Error("Cannot close `"+e.type+"` ("+stringifyPosition({start:e.start,end:e.end})+"): it’s not open")}function g(){return toString$2(this.stack.pop())}function i(e){var t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:point$1(e.start)},t.children.push(n)),this.stack.push(n)}function r(e){var t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=point$1(e.end)}function a(){c("atHardBreak",!0)}function o(e){c("characterReferenceType",e.type)}function h(){return{type:"code",lang:null,meta:null,value:""}}function f(){return{type:"heading",depth:void 0,children:[]}}function x(){return{type:"break"}}function y(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function j(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}function point$1(e){return{line:e.line,column:e.column,offset:e.offset}}function configure(e,t){let n=-1;for(;++n<t.length;){var i=t[n];(Array.isArray(i)?configure:extension)(e,i)}}function extension(e,t){let n;for(n in t){var i,s;own$6.call(t,n)&&("canContainEols"===n?(i=t[n])&&e[n].push(...i):"transforms"===n?(i=t[n])&&e[n].push(...i):"enter"!==n&&"exit"!==n||(s=t[n])&&Object.assign(e[n],s))}}function defaultOnError(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+stringifyPosition({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+stringifyPosition({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+stringifyPosition({start:t.start,end:t.end})+") is still open")}function remarkParse(n){Object.assign(this,{Parser:e=>{var t=this.data("settings");return fromMarkdown(e,Object.assign({},t,n,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}const u=function(e,t,n){e={type:String(e)};return null!=n||"string"!=typeof t&&!Array.isArray(t)?Object.assign(e,t):n=t,Array.isArray(n)?e.children=n:null!=n&&(e.value=String(n)),e},own$5={}.hasOwnProperty;function unknown(e,t){var n=t.data||{};return"value"in t&&!(own$5.call(n,"hName")||own$5.call(n,"hProperties")||own$5.call(n,"hChildren"))?e.augment(t,u("text",t.value)):e(t,"div",all(e,t))}function one(e,t,n){var i=t&&t.type;let s;if(i)return("function"==typeof(s=own$5.call(e.handlers,i)?e.handlers[i]:e.passThrough&&e.passThrough.includes(i)?returnNode:e.unknownHandler)?s:unknown)(e,t,n);throw new Error("Expected node, got `"+t+"`")}function returnNode(e,t){return"children"in t?{...t,children:all(e,t)}:t}function all(t,n){var i=[];if("children"in n){var s=n.children;let e=-1;for(;++e<s.length;){var r,a=one(t,s[e],n);a&&(e&&"break"===s[e-1].type&&(Array.isArray(a)||"text"!==a.type||(a.value=a.value.replace(/^\s+/,"")),Array.isArray(a)||"element"!==a.type||(r=a.children[0])&&"text"===r.type&&(r.value=r.value.replace(/^\s+/,""))),Array.isArray(a)?i.push(...a):i.push(a))}}return i}const convert$1=function(e){if(null==e)return ok$1;if("string"==typeof e)return typeFactory$1(e);if("object"==typeof e)return(Array.isArray(e)?anyFactory$1:propsFactory$1)(e);if("function"==typeof e)return castFactory$1(e);throw new Error("Expected function, string, or object as test")};function anyFactory$1(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=convert$1(e[t]);return castFactory$1(function(...e){let t=-1;for(;++t<n.length;)if(n[t].call(this,...e))return!0;return!1})}function propsFactory$1(n){return castFactory$1(function(e){let t;for(t in n)if(e[t]!==n[t])return!1;return!0})}function typeFactory$1(t){return castFactory$1(function(e){return e&&e.type===t})}function castFactory$1(n){return function(e,...t){return Boolean(e&&"object"==typeof e&&"type"in e&&Boolean(n.call(this,e,...t)))}}function ok$1(){return!0}function color$1(e){return e}const CONTINUE$1=!0,EXIT$1=!1,SKIP$1="skip",visitParents$1=function(e,l,c,u){"function"==typeof l&&"function"!=typeof c&&(u=c,c=l,l=null);const d=convert$1(l),p=u?-1:1;!function s(r,a,o){const e=r&&"object"==typeof r?r:{};if("string"==typeof e.type){const n="string"==typeof e.tagName?e.tagName:"string"==typeof e.name?e.name:void 0;Object.defineProperty(t,"name",{value:"node ("+color$1(r.type+(n?"<"+n+">":""))+")"})}return t;function t(){let e=[],t,n,i;if((l&&!d(r,a,o[o.length-1]||null)||(e=toResult$1(c(r,o)))[0]!==EXIT$1)&&r.children&&e[0]!==SKIP$1)for(n=(u?r.children.length:-1)+p,i=o.concat(r);-1<n&&n<r.children.length;){if((t=s(r.children[n],n,i)())[0]===EXIT$1)return t;n="number"==typeof t[1]?t[1]:n+p}return e}}(e,void 0,[])()};function toResult$1(e){return Array.isArray(e)?e:"number"==typeof e?[CONTINUE$1,e]:[e]}const visit$1=function(e,t,n,i){"function"==typeof t&&"function"!=typeof n&&(i=n,n=t,t=null),visitParents$1(e,t,function(e,t){t=t[t.length-1];return n(e,t?t.children.indexOf(e):null,t)},i)},pointStart=point("start"),pointEnd=point("end");function point(t){return function(e){e=e&&e.position&&e.position[t]||{};return{line:e.line||null,column:e.column||null,offset:-1<e.offset?e.offset:null}}}function generated(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)}const own$4={}.hasOwnProperty;function definitions(e){const n=Object.create(null);if(e&&e.type)return visit$1(e,"definition",e=>{var t=clean(e.identifier);t&&!own$4.call(n,t)&&(n[t]=e)}),function(e){e=clean(e);return e&&own$4.call(n,e)?n[e]:null};throw new Error("mdast-util-definitions expected node")}function clean(e){return String(e||"").toUpperCase()}function thematicBreak(e,t){return e(t,"hr")}function wrap(e,t){var n=[];let i=-1;for(t&&n.push(u("text","\n"));++i<e.length;)i&&n.push(u("text","\n")),n.push(e[i]);return t&&0<e.length&&n.push(u("text","\n")),n}function list(e,t){var n={},i=t.ordered?"ol":"ul",s=all(e,t);let r=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++r<s.length;){var a=s[r];if("element"===a.type&&"li"===a.tagName&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}return e(t,i,n,wrap(s,!0))}function footer(e){var t=e.footnoteById,n=e.footnoteOrder;let i=-1;for(var s=[];++i<n.length;){var r,a,o,l=t[n[i].toUpperCase()];l&&(r=String(i+1),((o=(a=[...l.children])[a.length-1])&&"paragraph"===o.type?o.children:a).push({type:"link",url:"#fnref"+r,data:{hProperties:{className:["footnote-back"],role:"doc-backlink"}},children:[{type:"text",value:"↩"}]}),s.push({type:"listItem",data:{hProperties:{id:"fn"+r,role:"doc-endnote"}},children:a,position:l.position}))}return 0===s.length?null:e(null,"section",{className:["footnotes"],role:"doc-endnotes"},wrap([thematicBreak(e),list(e,{type:"list",ordered:!0,children:s})],!0))}function blockquote(e,t){return e(t,"blockquote",wrap(all(e,t),!0))}function hardBreak(e,t){return[e(t,"br"),u("text","\n")]}function code(e,t){var n=t.value?t.value+"\n":"",i=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),s={},i=(i&&(s.className=["language-"+i]),e(t,"code",s,[u("text",n)]));return t.meta&&(i.data={meta:t.meta}),e(t.position,"pre",[i])}function strikethrough(e,t){return e(t,"del",all(e,t))}function emphasis(e,t){return e(t,"em",all(e,t))}function footnoteReference(e,t){var n=e.footnoteOrder,i=String(t.identifier),s=n.indexOf(i),n=String(-1===s?n.push(i):s+1);return e(t,"a",{href:"#fn"+n,className:["footnote-ref"],id:"fnref"+n,role:"doc-noteref"},[e(t.position,"sup",[u("text",n)])])}function footnote(e,t){var n=e.footnoteById,i=e.footnoteOrder;let s=1;for(;s in n;)s++;var r=String(s);return i.push(r),n[r]={type:"footnoteDefinition",identifier:r,children:[{type:"paragraph",children:t.children}],position:t.position},footnoteReference(e,{type:"footnoteReference",identifier:r,position:t.position})}function heading(e,t){return e(t,"h"+t.depth,all(e,t))}function html$2(e,t){return e.dangerous?e.augment(t,u("raw",t.value)):null}var encodeCache={};function getEncodeCache(e){var t,n,i=encodeCache[e];if(!i){for(i=encodeCache[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t]}return i}function encode(e,t,n){var i,s,r,a,o="";for("string"!=typeof t&&(n=t,t=encode.defaultChars),void 0===n&&(n=!0),a=getEncodeCache(t),i=0,s=e.length;i<s;i++)r=e.charCodeAt(i),n&&37===r&&i+2<s&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))?(o+=e.slice(i,i+3),i+=2):r<128?o+=a[r]:55296<=r&&r<=57343?55296<=r&&r<=56319&&i+1<s&&56320<=(r=e.charCodeAt(i+1))&&r<=57343?(o+=encodeURIComponent(e[i]+e[i+1]),i++):o+="%EF%BF%BD":o+=encodeURIComponent(e[i]);return o}encode.defaultChars=";/?:@&=+$,-_.!~*'()#",encode.componentChars="-_.!~*'()";var encode_1=encode;function revert(e,t){var n=t.referenceType;let i="]";return"collapsed"===n?i+="[]":"full"===n&&(i+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type?u("text","!["+t.alt+i):((e=(n=all(e,t))[0])&&"text"===e.type?e.value="["+e.value:n.unshift(u("text","[")),(t=n[n.length-1])&&"text"===t.type?t.value+=i:n.push(u("text",i)),n)}function imageReference(e,t){var n,i=e.definition(t.identifier);return i?(n={src:encode_1(i.url||""),alt:t.alt},null!==i.title&&void 0!==i.title&&(n.title=i.title),e(t,"img",n)):revert(e,t)}function image(e,t){var n={src:encode_1(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)}function inlineCode(e,t){return e(t,"code",[u("text",t.value.replace(/\r?\n|\r/g," "))])}function linkReference(e,t){var n,i=e.definition(t.identifier);return i?(n={href:encode_1(i.url||"")},null!==i.title&&void 0!==i.title&&(n.title=i.title),e(t,"a",n,all(e,t))):revert(e,t)}function link(e,t){var n={href:encode_1(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,all(e,t))}function listItem(t,n,i){var s=all(t,n),e=i?listLoose(i):listItemLoose(n),i={},r=[];if("boolean"==typeof n.checked){let e;s[0]&&"element"===s[0].type&&"p"===s[0].tagName?e=s[0]:(e=t(null,"p",[]),s.unshift(e)),0<e.children.length&&e.children.unshift(u("text"," ")),e.children.unshift(t(null,"input",{type:"checkbox",checked:n.checked,disabled:!0})),i.className=["task-list-item"]}let a=-1;for(;++a<s.length;){var o=s[a];!e&&0===a&&"element"===o.type&&"p"===o.tagName||r.push(u("text","\n")),"element"!==o.type||"p"!==o.tagName||e?r.push(o):r.push(...o.children)}var l=s[s.length-1];return!l||!e&&"tagName"in l&&"p"===l.tagName||r.push(u("text","\n")),t(n,"li",i,r)}function listLoose(e){let t=e.spread;var n=e.children;let i=-1;for(;!t&&++i<n.length;)t=listItemLoose(n[i]);return Boolean(t)}function listItemLoose(e){var t=e.spread;return null==t?1<e.children.length:t}function paragraph(e,t){return e(t,"p",all(e,t))}function root$1(e,t){return e.augment(t,u("root",wrap(all(e,t))))}function strong(e,t){return e(t,"strong",all(e,t))}function table(t,n){var i=n.children;let s=-1;for(var r=n.align||[],a=[];++s<i.length;){var o=i[s].children,l=0===s?"th":"td";let e=(n.align?r:o).length;for(var c=[];e--;){var u=o[e];c[e]=t(u,l,{align:r[e]},u?all(t,u):[])}a[s]=t(i[s],"tr",wrap(c,!0))}return t(n,"table",wrap([t(a[0].position,"thead",wrap([a[0]],!0))].concat(a[1]?t({start:pointStart(a[1]),end:pointEnd(a[a.length-1])},"tbody",wrap(a.slice(1),!0)):[]),!0))}function text(e,t){return e.augment(t,u("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))}const handlers={blockquote:blockquote,break:hardBreak,code:code,delete:strikethrough,emphasis:emphasis,footnoteReference:footnoteReference,footnote:footnote,heading:heading,html:html$2,imageReference:imageReference,image:image,inlineCode:inlineCode,linkReference:linkReference,link:link,listItem:listItem,list:list,paragraph:paragraph,root:root$1,strong:strong,table:table,text:text,thematicBreak:thematicBreak,toml:ignore,yaml:ignore,definition:ignore,footnoteDefinition:ignore};function ignore(){return null}const own$3={}.hasOwnProperty;function factory(e,t){var t=t||{},n=t.allowDangerousHtml||!1;const i={};return r.dangerous=n,r.definition=definitions(e),r.footnoteById=i,r.footnoteOrder=[],r.augment=s,r.handlers={...handlers,...t.handlers},r.unknownHandler=t.unknownHandler,r.passThrough=t.passThrough,visit$1(e,"footnoteDefinition",e=>{var t=String(e.identifier).toUpperCase();own$3.call(i,t)||(i[t]=e)}),r;function s(e,t){var n;return e&&"data"in e&&e.data&&((n=e.data).hName&&((t="element"!==t.type?{type:"element",tagName:"",properties:{},children:[]}:t).tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t)&&t.children&&n.hChildren&&(t.children=n.hChildren),e&&!generated(n="type"in e?e:{position:e})&&(t.position={start:pointStart(n),end:pointEnd(n)}),t}function r(e,t,n,i){return Array.isArray(n)&&(i=n,n={}),s(e,{type:"element",tagName:t,properties:n||{},children:i||[]})}}function toHast(e,t){t=factory(e,t),e=one(t,e,null),t=footer(t);return t&&e.children.push(u("text","\n"),t),Array.isArray(e)?{type:"root",children:e}:e}const remarkRehype=function(e,t){return e&&"run"in e?bridge(e,t):mutate(e)};var remarkRehype$1=remarkRehype;function bridge(i,s){return(e,t,n)=>{i.run(toHast(e,s),t,e=>{n(e)})}}function mutate(t){return e=>toHast(e,t)}class Schema{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function merge(e,t){var n={},i={};let s=-1;for(;++s<e.length;)Object.assign(n,e[s].property),Object.assign(i,e[s].normal);return new Schema(n,i,t)}function normalize(e){return e.toLowerCase()}Schema.prototype.property={},Schema.prototype.normal={},Schema.prototype.space=null;class Info{constructor(e,t){this.property=e,this.attribute=t}}Info.prototype.space=null,Info.prototype.boolean=!1,Info.prototype.booleanish=!1,Info.prototype.overloadedBoolean=!1,Info.prototype.number=!1,Info.prototype.commaSeparated=!1,Info.prototype.spaceSeparated=!1,Info.prototype.commaOrSpaceSeparated=!1,Info.prototype.mustUseProperty=!1,Info.prototype.defined=!1;let powers=0;const boolean=increment(),booleanish=increment(),overloadedBoolean=increment(),number=increment(),spaceSeparated=increment(),commaSeparated=increment(),commaOrSpaceSeparated=increment();function increment(){return 2**++powers}var types=Object.freeze({__proto__:null,boolean:boolean,booleanish:booleanish,overloadedBoolean:overloadedBoolean,number:number,spaceSeparated:spaceSeparated,commaSeparated:commaSeparated,commaOrSpaceSeparated:commaOrSpaceSeparated});const checks=Object.keys(types);class DefinedInfo extends Info{constructor(e,t,n,i){let s=-1;if(super(e,t),mark(this,"space",i),"number"==typeof n)for(;++s<checks.length;){var r=checks[s];mark(this,checks[s],(n&types[r])===types[r])}}}function mark(e,t,n){n&&(e[t]=n)}DefinedInfo.prototype.defined=!0;const own$2={}.hasOwnProperty;function create(e){var t,n={},i={};let s;for(s in e.properties)own$2.call(e.properties,s)&&(t=e.properties[s],t=new DefinedInfo(s,e.transform(e.attributes||{},s),t,e.space),e.mustUseProperty&&e.mustUseProperty.includes(s)&&(t.mustUseProperty=!0),n[s]=t,i[normalize(s)]=s,i[normalize(t.attribute)]=s);return new Schema(n,i,e.space)}const xlink=create({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),xml=create({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function caseSensitiveTransform(e,t){return t in e?e[t]:t}function caseInsensitiveTransform(e,t){return caseSensitiveTransform(e,t.toLowerCase())}const xmlns=create({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:caseInsensitiveTransform,properties:{xmlns:null,xmlnsXLink:null}}),aria=create({transform(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:booleanish,ariaAutoComplete:null,ariaBusy:booleanish,ariaChecked:booleanish,ariaColCount:number,ariaColIndex:number,ariaColSpan:number,ariaControls:spaceSeparated,ariaCurrent:null,ariaDescribedBy:spaceSeparated,ariaDetails:null,ariaDisabled:booleanish,ariaDropEffect:spaceSeparated,ariaErrorMessage:null,ariaExpanded:booleanish,ariaFlowTo:spaceSeparated,ariaGrabbed:booleanish,ariaHasPopup:null,ariaHidden:booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:spaceSeparated,ariaLevel:number,ariaLive:null,ariaModal:booleanish,ariaMultiLine:booleanish,ariaMultiSelectable:booleanish,ariaOrientation:null,ariaOwns:spaceSeparated,ariaPlaceholder:null,ariaPosInSet:number,ariaPressed:booleanish,ariaReadOnly:booleanish,ariaRelevant:null,ariaRequired:booleanish,ariaRoleDescription:spaceSeparated,ariaRowCount:number,ariaRowIndex:number,ariaRowSpan:number,ariaSelected:booleanish,ariaSetSize:number,ariaSort:null,ariaValueMax:number,ariaValueMin:number,ariaValueNow:number,ariaValueText:null,role:null}}),html$1=create({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:caseInsensitiveTransform,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:commaSeparated,acceptCharset:spaceSeparated,accessKey:spaceSeparated,action:null,allow:null,allowFullScreen:boolean,allowPaymentRequest:boolean,allowUserMedia:boolean,alt:null,as:null,async:boolean,autoCapitalize:null,autoComplete:spaceSeparated,autoFocus:boolean,autoPlay:boolean,capture:boolean,charSet:null,checked:boolean,cite:null,className:spaceSeparated,cols:number,colSpan:null,content:null,contentEditable:booleanish,controls:boolean,controlsList:spaceSeparated,coords:number|commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:boolean,defer:boolean,dir:null,dirName:null,disabled:boolean,download:overloadedBoolean,draggable:booleanish,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:boolean,formTarget:null,headers:spaceSeparated,height:number,hidden:boolean,high:number,href:null,hrefLang:null,htmlFor:spaceSeparated,httpEquiv:spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:boolean,itemId:null,itemProp:spaceSeparated,itemRef:spaceSeparated,itemScope:boolean,itemType:spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:boolean,low:number,manifest:null,max:null,maxLength:number,media:null,method:null,min:null,minLength:number,multiple:boolean,muted:boolean,name:null,nonce:null,noModule:boolean,noValidate:boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint: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:boolean,optimum:number,pattern:null,ping:spaceSeparated,placeholder:null,playsInline:boolean,poster:null,preload:null,readOnly:boolean,referrerPolicy:null,rel:spaceSeparated,required:boolean,reversed:boolean,rows:number,rowSpan:number,sandbox:spaceSeparated,scope:null,scoped:boolean,seamless:boolean,selected:boolean,shape:null,size:number,sizes:null,slot:null,span:number,spellCheck:booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:number,step:null,style:null,tabIndex:number,target:null,title:null,translate:null,type:null,typeMustMatch:boolean,useMap:null,value:booleanish,width:number,wrap:null,align:null,aLink:null,archive:spaceSeparated,axis:null,background:null,bgColor:null,border:number,borderColor:null,bottomMargin:number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:boolean,declare:boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:number,leftMargin:number,link:null,longDesc:null,lowSrc:null,marginHeight:number,marginWidth:number,noResize:boolean,noHref:boolean,noShade:boolean,noWrap:boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:number,rules:null,scheme:null,scrolling:booleanish,standby:null,summary:null,text:null,topMargin:number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:boolean,disableRemotePlayback:boolean,prefix:null,property:null,results:number,security:null,unselectable:null}}),svg$1=create({space:"svg",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",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"},transform:caseSensitiveTransform,properties:{about:commaOrSpaceSeparated,accentHeight:number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:number,amplitude:number,arabicForm:null,ascent:number,attributeName:null,attributeType:null,azimuth:number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:number,by:null,calcMode:null,capHeight:number,className:spaceSeparated,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:number,diffuseConstant:number,direction:null,display:null,dur:null,divisor:number,dominantBaseline:null,download:boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:number,enableBackground:null,end:null,event:null,exponent:number,externalResourcesRequired:null,fill:null,fillOpacity:number,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:commaSeparated,g2:commaSeparated,glyphName:commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:number,horizOriginX:number,horizOriginY:number,id:null,ideographic:number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:number,k:number,k1:number,k2:number,k3:number,k4:number,kernelMatrix:commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:number,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:number,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:number,overlineThickness:number,paintOrder:null,panose1:null,path:null,pathLength:number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:number,pointsAtY:number,pointsAtZ:number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:commaOrSpaceSeparated,rev:commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:commaOrSpaceSeparated,requiredFeatures:commaOrSpaceSeparated,requiredFonts:commaOrSpaceSeparated,requiredFormats:commaOrSpaceSeparated,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:number,specularExponent:number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:number,strikethroughThickness:number,string:null,stroke:null,strokeDashArray:commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:number,strokeOpacity:number,strokeWidth:null,style:null,surfaceScale:number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:commaOrSpaceSeparated,tabIndex:number,tableValues:null,target:null,targetX:number,targetY:number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:commaOrSpaceSeparated,to:null,transform:null,u1:null,u2:null,underlinePosition:number,underlineThickness:number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:number,values:null,vAlphabetic:number,vMathematical:number,vectorEffect:null,vHanging:number,vIdeographic:number,version:null,vertAdvY:number,vertOriginX:number,vertOriginY:number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),valid=/^data[-\w.:]+$/i,dash=/-[a-z]/g,cap=/[A-Z]/g;function find(e,t){var n=normalize(t);let i=t,s=Info;if(n in e.normal)return e.property[e.normal[n]];if(4<n.length&&"data"===n.slice(0,4)&&valid.test(t)){if("-"===t.charAt(4)){e=t.slice(5).replace(dash,camelcase);i="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{n=t.slice(4);if(!dash.test(n)){let e=n.replace(cap,kebab);t="data"+(e="-"!==e.charAt(0)?"-"+e:e)}}s=DefinedInfo}return new s(i,t)}function kebab(e){return"-"+e.toLowerCase()}function camelcase(e){return e.charAt(1).toUpperCase()}const hastToReact={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"},html=merge([xml,xlink,xmlns,aria,html$1],"html"),svg=merge([xml,xlink,xmlns,aria,svg$1],"svg"),convert=function(e){if(null==e)return ok;if("string"==typeof e)return typeFactory(e);if("object"==typeof e)return(Array.isArray(e)?anyFactory:propsFactory)(e);if("function"==typeof e)return castFactory(e);throw new Error("Expected function, string, or object as test")};function anyFactory(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=convert(e[t]);return castFactory(function(...e){let t=-1;for(;++t<n.length;)if(n[t].call(this,...e))return!0;return!1})}function propsFactory(n){return castFactory(function(e){let t;for(t in n)if(e[t]!==n[t])return!1;return!0})}function typeFactory(t){return castFactory(function(e){return e&&e.type===t})}function castFactory(n){return function(e,...t){return Boolean(e&&"object"==typeof e&&"type"in e&&Boolean(n.call(this,e,...t)))}}function ok(){return!0}function color(e){return e}const CONTINUE=!0,EXIT=!1,SKIP="skip",visitParents=function(e,l,c,u){"function"==typeof l&&"function"!=typeof c&&(u=c,c=l,l=null);const d=convert(l),p=u?-1:1;!function s(r,a,o){const e=r&&"object"==typeof r?r:{};if("string"==typeof e.type){const n="string"==typeof e.tagName?e.tagName:"string"==typeof e.name?e.name:void 0;Object.defineProperty(t,"name",{value:"node ("+color(r.type+(n?"<"+n+">":""))+")"})}return t;function t(){let e=[],t,n,i;if((l&&!d(r,a,o[o.length-1]||null)||(e=toResult(c(r,o)))[0]!==EXIT)&&r.children&&e[0]!==SKIP)for(n=(u?r.children.length:-1)+p,i=o.concat(r);-1<n&&n<r.children.length;){if((t=s(r.children[n],n,i)())[0]===EXIT)return t;n="number"==typeof t[1]?t[1]:n+p}return e}}(e,void 0,[])()};function toResult(e){return Array.isArray(e)?e:"number"==typeof e?[CONTINUE,e]:[e]}const visit=function(e,t,n,i){"function"==typeof t&&"function"!=typeof n&&(i=n,n=t,t=null),visitParents(e,t,function(e,t){t=t[t.length-1];return n(e,t?t.children.indexOf(e):null,t)},i)};function rehypeFilter(s){if(s.allowedElements&&s.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(s.allowedElements||s.disallowedElements||s.allowElement)return e=>{visit(e,"element",(e,t,n)=>{let i;if(s.allowedElements?i=!s.allowedElements.includes(e.tagName):s.disallowedElements&&(i=s.disallowedElements.includes(e.tagName)),(i=!i&&s.allowElement&&"number"==typeof t?!s.allowElement(e,t,n):i)&&"number"==typeof t)return s.unwrapDisallowed&&e.children?n.children.splice(t,1,...e.children):n.children.splice(t,1),t})}}function whitespace(e){e=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof e&&""===e.replace(/[ \t\n\f\r]/g,"")}function stringify$1(e){return e.join(" ").trim()}function stringify(e,t){t=t||{};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}var COMMENT_REGEX=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,NEWLINE_REGEX=/\n/g,WHITESPACE_REGEX=/^\s*/,PROPERTY_REGEX=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,COLON_REGEX=/^:\s*/,VALUE_REGEX=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,SEMICOLON_REGEX=/^[;\s]*/,TRIM_REGEX=/^\s+|\s+$/g,NEWLINE="\n",FORWARD_SLASH="/",ASTERISK="*",EMPTY_STRING="",TYPE_COMMENT="comment",TYPE_DECLARATION="declaration",inlineStyleParser=function(i,n){if("string"!=typeof i)throw new TypeError("First argument must be a string");if(!i)return[];n=n||{};var s=1,r=1;function a(e){var t=e.match(NEWLINE_REGEX),t=(t&&(s+=t.length),e.lastIndexOf(NEWLINE));r=~t?e.length-t:r+e.length}function o(){var t={line:s,column:r};return function(e){return e.position=new l(t),d(),e}}function l(e){this.start=e,this.end={line:s,column:r},this.source=n.source}function c(e){var t=new Error(n.source+":"+s+":"+r+": "+e);if(t.reason=e,t.filename=n.source,t.line=s,t.column=r,t.source=i,!n.silent)throw t}function u(e){var t,e=e.exec(i);if(e)return a(t=e[0]),i=i.slice(t.length),e}function d(){u(WHITESPACE_REGEX)}function e(e){var t;for(e=e||[];t=p();)!1!==t&&e.push(t)}function p(){var e=o();if(FORWARD_SLASH==i.charAt(0)&&ASTERISK==i.charAt(1)){for(var t,n=2;EMPTY_STRING!=i.charAt(n)&&(ASTERISK!=i.charAt(n)||FORWARD_SLASH!=i.charAt(n+1));)++n;return EMPTY_STRING===i.charAt((n+=2)-1)?c("End of comment missing"):(t=i.slice(2,n-2),r+=2,a(t),i=i.slice(n),r+=2,e({type:TYPE_COMMENT,comment:t}))}}l.prototype.content=i,d();var t,m=[];for(e(m);t=function(){var e,t=o(),n=u(PROPERTY_REGEX);if(n)return p(),u(COLON_REGEX)?(e=u(VALUE_REGEX),t=t({type:TYPE_DECLARATION,property:trim(n[0].replace(COMMENT_REGEX,EMPTY_STRING)),value:e?trim(e[0].replace(COMMENT_REGEX,EMPTY_STRING)):EMPTY_STRING}),u(SEMICOLON_REGEX),t):c("property missing ':'")}();)!1!==t&&(m.push(t),e(m));return m};function trim(e){return e?e.replace(TRIM_REGEX,EMPTY_STRING):EMPTY_STRING}var parse=inlineStyleParser;function StyleToObject(e,t){var n=null;if(e&&"string"==typeof e)for(var i,s,r,a=parse(e),o="function"==typeof t,l=0,c=a.length;l<c;l++)s=(i=a[l]).property,r=i.value,o?t(s,r,i):r&&((n=n||{})[s]=r);return n}var styleToObject=StyleToObject;const own$1={}.hasOwnProperty,tableElements=new Set(["table","thead","tbody","tfoot","tr"]);function childrenToReact(e,t){var n,i=[];let s=-1;for(;++s<t.children.length;)"element"===(n=t.children[s]).type?i.push(toReact(e,n,s,t)):"text"===n.type?"element"===t.type&&tableElements.has(t.tagName)&&whitespace(n)||i.push(n.value):"raw"!==n.type||e.options.skipHtml||i.push(n.value);return i}function toReact(e,t,n,i){var s=e.options,r=e.schema,a=t.tagName,o={};let l;if("html"===r.space&&"svg"===a&&(c=svg,e.schema=c),t.properties)for(l in t.properties)own$1.call(t.properties,l)&&addProperty(o,l,t.properties[l],e);"ol"!==a&&"ul"!==a||e.listDepth++;var c=childrenToReact(e,t),r=("ol"!==a&&"ul"!==a||e.listDepth--,e.schema=r,t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}}),u=s.components&&own$1.call(s.components,a)?s.components[a]:a,d="string"==typeof u||u===React$1.Fragment;if(ReactIs.isValidElementType(u))return o.key=[a,r.start.line,r.start.column,n].join("-"),"a"===a&&s.linkTarget&&(o.target="function"==typeof s.linkTarget?s.linkTarget(String(o.href||""),t.children,"string"==typeof o.title?o.title:null):s.linkTarget),"a"===a&&s.transformLinkUri&&(o.href=s.transformLinkUri(String(o.href||""),t.children,"string"==typeof o.title?o.title:null)),d||"code"!==a||"element"!==i.type||"pre"===i.tagName||(o.inline=!0),d||"h1"!==a&&"h2"!==a&&"h3"!==a&&"h4"!==a&&"h5"!==a&&"h6"!==a||(o.level=Number.parseInt(a.charAt(1),10)),"img"===a&&s.transformImageUri&&(o.src=s.transformImageUri(String(o.src||""),String(o.alt||""),"string"==typeof o.title?o.title:null)),d||"li"!==a||"element"!==i.type||(n=getInputElement(t),o.checked=n&&n.properties?Boolean(n.properties.checked):null,o.index=getElementsBeforeCount(i,t),o.ordered="ol"===i.tagName),d||"ol"!==a&&"ul"!==a||(o.ordered="ol"===a,o.depth=e.listDepth),"td"!==a&&"th"!==a||(o.align&&(o.style||(o.style={}),o.style.textAlign=o.align,delete o.align),d)||(o.isHeader="th"===a),d||"tr"!==a||"element"!==i.type||(o.isHeader=Boolean("thead"===i.tagName)),s.sourcePos&&(o["data-sourcepos"]=flattenPosition(r)),!d&&s.rawSourcePos&&(o.sourcePosition=t.position),!d&&s.includeElementIndex&&(o.index=getElementsBeforeCount(i,t),o.siblingCount=getElementsBeforeCount(i)),d||(o.node=t),0<c.length?React$1.createElement(u,o,c):React$1.createElement(u,o);throw new TypeError(`Component for name \`${a}\` not defined or is not renderable`)}function getInputElement(e){let t=-1;for(;++t<e.children.length;){var n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}function getElementsBeforeCount(e,t){let n=-1,i=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&i++;return i}function addProperty(e,t,n,i){i=find(i.schema,t);let s=n;null!==s&&void 0!==s&&s==s&&(Array.isArray(s)&&(s=(i.commaSeparated?stringify:stringify$1)(s)),"style"===i.property&&"string"==typeof s&&(s=parseStyle(s)),i.space&&i.property?e[own$1.call(hastToReact,i.property)?hastToReact[i.property]:i.property]=s:i.attribute&&(e[i.attribute]=s))}function parseStyle(e){const n={};try{styleToObject(e,function(e,t){e="-ms-"===e.slice(0,4)?"ms-"+e.slice(4):e;n[e.replace(/-([a-z])/g,styleReplacer)]=t})}catch{}return n}function styleReplacer(e,t){return t.toUpperCase()}function flattenPosition(e){return[e.start.line,":",e.start.column,"-",e.end.line,":",e.end.column].map(e=>String(e)).join("")}const own={}.hasOwnProperty,changelog="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",deprecated={renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function ReactMarkdown(e){for(const r in deprecated){var t;own.call(deprecated,r)&&own.call(e,r)&&(t=deprecated[r],console.warn(`[react-markdown] Warning: please ${t.to?`use \`${t.to}\` instead of`:"remove"} \`${r}\` (see <${changelog}#${t.id}> for more info)`),delete deprecated[r])}var n=unified().use(remarkParse).use(e.remarkPlugins||e.plugins||[]).use(remarkRehype$1,{allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(rehypeFilter,e),i=new VFile$1,n=("string"==typeof e.children?i.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`),n.runSync(n.parse(i),i));if("root"!==n.type)throw new TypeError("Expected a `root` node");let s=React$1.createElement(React$1.Fragment,{},childrenToReact({options:e,schema:html,listDepth:0},n));return s=e.className?React$1.createElement("div",{className:e.className},s):s}ReactMarkdown.defaultProps={transformLinkUri:uriTransformer},ReactMarkdown.propTypes={children:PropTypes.string,className:PropTypes.string,allowElement:PropTypes.func,allowedElements:PropTypes.arrayOf(PropTypes.string),disallowedElements:PropTypes.arrayOf(PropTypes.string),unwrapDisallowed:PropTypes.bool,remarkPlugins:PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.object,PropTypes.func,PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.object,PropTypes.func]))])),rehypePlugins:PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.object,PropTypes.func,PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.object,PropTypes.func]))])),sourcePos:PropTypes.bool,rawSourcePos:PropTypes.bool,skipHtml:PropTypes.bool,includeElementIndex:PropTypes.bool,transformLinkUri:PropTypes.oneOfType([PropTypes.func,PropTypes.bool]),linkTarget:PropTypes.oneOfType([PropTypes.func,PropTypes.string]),transformImageUri:PropTypes.func,components:PropTypes.object};var toString$1=toString_1,upperFirst=upperFirst_1;function capitalize$1(e){return upperFirst(toString$1(e).toLowerCase())}var capitalize_1=capitalize$1,capitalize=capitalize_1,createCompounder=_createCompounder,camelCase=_createCompounder(function(e,t,n){return t=t.toLowerCase(),e+(n?capitalize(t):t)}),camelCase_1=camelCase,baseIndexOf=_baseIndexOf,isArrayLike=isArrayLike_1,isString=isString_1,toInteger=toInteger_1,values=values_1,nativeMax=Math.max;function includes(e,t,n,i){e=isArrayLike(e)?e:values(e),n=n&&!i?toInteger(n):0;i=e.length;return n<0&&(n=nativeMax(i+n,0)),isString(e)?n<=i&&-1<e.indexOf(t,n):!!i&&-1<baseIndexOf(e,t,n)}var includes_1=includes,toString=toString_1;function toUpper(e){return toString(e).toUpperCase()}var toUpper_1=toUpper,LibraryAddCheck={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(LibraryAddCheck,"__esModule",{value:!0}),LibraryAddCheck.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7.53 12L9 10.5l1.4-1.41 2.07 2.08L17.6 6 19 7.41 12.47 14zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6z"}),"LibraryAddCheck"),default_1=LibraryAddCheck.default=_default,baseFlatten=_baseFlatten,map=map_1;function flatMap(e,t){return baseFlatten(map(e,t),1)}var flatMap_1=flatMap,baseGet=_baseGet,baseSlice=_baseSlice;function parent$1(e,t){return t.length<2?e:baseGet(e,baseSlice(t,0,-1))}var _parent=parent$1,castPath=_castPath,last=last_1,parent=parent$1,toKey=_toKey;function baseUnset$1(e,t){return t=castPath(t,e),null==(e=parent(e,t))||delete e[toKey(last(t))]}var _baseUnset=baseUnset$1,baseUnset=baseUnset$1,isIndex=_isIndex,arrayProto=Array.prototype,splice=arrayProto.splice;function basePullAt$1(e,t){for(var n=e?t.length:0,i=n-1;n--;){var s,r=t[n];n!=i&&r===s||(isIndex(s=r)?splice.call(e,r,1):baseUnset(e,r))}return e}var _basePullAt=basePullAt$1,baseIteratee=_baseIteratee,basePullAt=basePullAt$1;function remove(e,t){var n=[];if(e&&e.length){var i=-1,s=[],r=e.length;for(t=baseIteratee(t);++i<r;){var a=e[i];t(a,i,e)&&(n.push(a),s.push(i))}basePullAt(e,s)}return n}var SchemaIO,LoadingStatus,FormStatus,FormValidations,UiInfo,IconImportStatus,DistributionType,MimeType,FileItemTypeNames,EngineDeploymentModel,EngineFieldType,GPUSupported,remove_1=remove;const SLICE_NAME="engineCenterNew",DEFAULT_ACCEPTABLE_FILE_TYPES=(!function(e){e.Input="input",e.Output="output",e.Both="both"}(SchemaIO=SchemaIO||{}),!function(e){e.Failed="failed",e.Idle="idle",e.Pending="pending"}(LoadingStatus=LoadingStatus||{}),!function(e){e.Pending="pending",e.Loading="loading",e.Submitting="submitting",e.Success="success",e.Error="error"}(FormStatus=FormStatus||{}),!function(e){e.Pending="pending",e.EmptyFieldError="This field should not be empty",e.SpecialCharError="This field cannot contain special characters"}(FormValidations=FormValidations||{}),!function(e){e.PanelClosed="closed",e.PanelOpen="open"}(UiInfo=UiInfo||{}),!function(e){e.Idle="idle",e.Uploading="uploading",e.Uploaded="uploaded",e.Failed="failed",e.Aborted="aborted"}(IconImportStatus=IconImportStatus||{}),!function(e){e.Private="private",e.OrgLocked="org_locked",e.Sharable="sharable",e.Public="public",e.Marketplace="marketplace",e.InstanceLocked="instance_locked"}(DistributionType=DistributionType||{}),!function(e){e.ApplicationJson="application/json",e.ApplicationMsWord="application/msword",e.ApplicationPdf="application/pdf",e.ApplicationRtf="application/rtf",e.ApplicationSmil="application/smil+xml",e.ApplicationTtml="application/ttml+xml",e.ApplicationVeritoneAion="application/vnd.veritone.aion+json",e.ApplicationMsOutlook="application/vnd.ms-outlook",e.ApplicationMsPowerpoint="application/vnd.ms-powerpoint",e.ApplicationDocument="application/vnd.openxmlformats-officedocument.wordprocessingml.document",e.ApplicationSpreadsheet="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",e.ApplicationPresentation="application/vnd.openxmlformats-officedocument.presentationml.presentation",e.ApplicationOasisDoc="application/vnd.oasis.opendocument.text",e.ApplicationOasisSpreadsheet="application/vnd.oasis.opendocument.spreadsheet",e.ApplicationXFlv="application/x-flv",e.ApplicationXml="application/xml",e.ApplicationFormUrlEncoded="application/x-www-form-urlencoded",e.ImageJpeg="image/jpeg",e.ImagePng="image/png",e.ImageTiff="image/tiff",e.ImageGig="image/gif",e.TextPlain="text/plain",e.TextHtml="text/html",e.TextCsv="text/csv",e.TextPlainCharset="text/plain; charset=utf-8",e.AudioAac="audio/aac",e.AudioFlac="audio/flac",e.AudioMidi="audio/midi",e.AudioMp4="audio/mp4",e.AudioMpeg="audio/mpeg",e.AudioWav="audio/wav",e.AudioXWav="audio/x-wav",e.AudioWebm="audio/webm",e.VideoMp4="video/mp4",e.VideoMpeg="video/mpeg",e.VideoOgg="video/ogg",e.VideoQuicktime="video/quicktime",e.VideoWebm="video/webm",e.VideoM4v="video/x-m4v",e.VideoMsWmv="video/x-ms-wmv",e.VideoMsvideo="video/x-msvideo",e.Message="message/rfc822"}(MimeType=MimeType||{}),!function(e){e.Image="image",e.Video="video",e.Audio="audio",e.Text="text"}(FileItemTypeNames=FileItemTypeNames||{}),[{name:"Image",type:FileItemTypeNames.Image,extensions:[MimeType.ImageJpeg,MimeType.ImagePng,MimeType.ImageTiff,MimeType.ImageGig]},{name:"Video",type:FileItemTypeNames.Video,extensions:[MimeType.VideoMp4,MimeType.VideoMpeg,MimeType.VideoOgg,MimeType.VideoQuicktime,MimeType.VideoWebm,MimeType.VideoM4v,MimeType.VideoMsWmv,MimeType.VideoMsvideo]},{name:"Audio",type:FileItemTypeNames.Audio,extensions:[MimeType.AudioAac,MimeType.AudioFlac,MimeType.AudioMidi,MimeType.AudioMp4,MimeType.AudioMpeg,MimeType.AudioWav,MimeType.AudioXWav,MimeType.AudioWebm]},{name:"Documents",type:FileItemTypeNames.Text,extensions:[MimeType.TextPlain,MimeType.TextHtml,MimeType.TextCsv,MimeType.TextPlainCharset,MimeType.ApplicationJson,MimeType.ApplicationMsWord,MimeType.ApplicationPdf,MimeType.ApplicationRtf,MimeType.ApplicationSmil,MimeType.ApplicationTtml,MimeType.ApplicationVeritoneAion,MimeType.ApplicationMsOutlook,MimeType.ApplicationMsPowerpoint,MimeType.ApplicationDocument,MimeType.ApplicationSpreadsheet,MimeType.ApplicationPresentation,MimeType.ApplicationOasisDoc,MimeType.ApplicationOasisSpreadsheet,MimeType.ApplicationXFlv,MimeType.ApplicationXml,MimeType.ApplicationFormUrlEncoded,MimeType.Message]}]);function isEngineDeploymentModel(e){return lodash.exports.includes(EngineDeploymentModel,e)}!function(e){e.FullyNetworkIsolated="FullyNetworkIsolated",e.MostlyNetworkIsolated="MostlyNetworkIsolated",e.NonNetworkIsolated="NonNetworkIsolated",e.HumanReview="HumanReview"}(EngineDeploymentModel=EngineDeploymentModel||{}),function(e){e.Number="Number",e.Picklist="Picklist",e.MultiPicklist="MultiPicklist",e.Text="Text",e.SchemaSelection="SchemaSelection"}(EngineFieldType=EngineFieldType||{}),function(e){e.NONE="none",e.AWS_P2="aws_p2",e.AWS_P3="aws_p3"}(GPUSupported=GPUSupported||{});var index=Object.freeze({__proto__:null,SLICE_NAME:SLICE_NAME,get SchemaIO(){return SchemaIO},get LoadingStatus(){return LoadingStatus},get FormStatus(){return FormStatus},get FormValidations(){return FormValidations},get UiInfo(){return UiInfo},get IconImportStatus(){return IconImportStatus},get DistributionType(){return DistributionType},get MimeType(){return MimeType},get FileItemTypeNames(){return FileItemTypeNames},DEFAULT_ACCEPTABLE_FILE_TYPES:DEFAULT_ACCEPTABLE_FILE_TYPES,isEngineDeploymentModel:isEngineDeploymentModel,get EngineDeploymentModel(){return EngineDeploymentModel},get EngineFieldType(){return EngineFieldType},get GPUSupported(){return GPUSupported}});const namespace$4="uiState",initialState$3={status:LoadingStatus.Idle},slice$3=createSlice({name:SLICE_NAME+"/"+namespace$4,initialState:initialState$3,reducers:{}}),actions$4=slice$3.actions;var uiState$1=slice$3.reducer;const namespace$3="engineFormState",initialState$2={engine:{id:"",name:"",description:"",website:"",iconPath:"",gpuSupported:GPUSupported.NONE,cpuResourceMcpu:1024,isPublic:!1,distributionType:DistributionType.Private,class:"",capability:{id:"",name:""},mode:"",deploymentModel:"",inputTypes:[],customFields:[],inputSchemas:[],outputSchemas:[],isTrainable:!1,supportedInputTypes:[],supportedLibraryTypes:[],includedLibraries:[],models:[],markdown:"",standaloneJobTemplates:{upload:"",reprocess:""},entityTags:[]},step:[],isLoadingExistingEngineData:!1,isFetchingDataRegistries:!1,isEditForm:!1,isResumeSession:!1,formValidations:FormValidations.Pending,formStatus:FormStatus.Pending,uiInfo:UiInfo.PanelClosed,iconImportStatus:IconImportStatus.Idle,dataRegistries:[]},slice$2=createSlice({name:SLICE_NAME+"/"+namespace$3,initialState:initialState$2,reducers:{createEngineStart(e,t){e.formStatus=FormStatus.Submitting},updateEngineStart(e,t){e.formStatus=FormStatus.Submitting},createEngineSuccess(e,{payload:t}){e.formStatus=FormStatus.Success,set_1(e.engine,"id",t)},createEngineFailed(e,t){e.formStatus=FormStatus.Error},stepper(e,t){e.step=t.payload},updateEngineFormField(e,t){var{field:t,value:n}=t.payload;set_1(e.engine,t,n)},updateCapability(e,t){t=t.payload.payload;e.engine.capability.id=t.split(",")[0],e.engine.capability.name=t.split(",")[1]},addCustomField(e,t){e.engine.customFields=concat_1(e.engine.customFields,t.payload)},updateCustomField(e,t){var{customField:t,index:n}=t.payload;set_1(e,`engine.customFields[${n}]`,t)},removeCustomField(e,t){e.engine.customFields.splice(t.payload,1)},clearCustomFields(e){e.engine.customFields=[]},createNewEngine(e){e.isLoadingExistingEngineData=!1,e.isEditForm=!1},editEngine(e,t){e.isLoadingExistingEngineData=!0,e.isEditForm=!0},setEditEngineExistingData(e,t){e.isLoadingExistingEngineData=!1,merge_1(e.engine,t.payload)},fetchDataRegistries(e){e.isFetchingDataRegistries=!0},fetchDataRegistriesSucceeded(e,t){e.isFetchingDataRegistries=!1;t=t.payload.dataRegistries;set_1(e,"dataRegistries",t)},fetchDataRegistriesFailed(e){e.isFetchingDataRegistries=!1},addSchemas(e,t){var{schemas:t,schemaType:n}=t.payload;e.engine[n+"Schemas"]=unionBy_1(e.engine[n+"Schemas"],t,"id")},updateSchemas(e,t){const{updatedSchemas:n,schemaType:i,dataRegistryId:s}=t.payload;t=get_1(e,`engine.${i}Schemas`),t=filter_1(t,e=>e.dataRegistryId!==s);set_1(e,`engine.${i}Schemas`,[...t,...n])},removeSchema(e,t){var{schemaType:t,index:n}=t.payload;e.engine[t+"Schemas"].splice(n,1)},clearSchemas(e,t){t=t.payload.schemaType;e.engine[t+"Schemas"]=[]},resumeSession(e,{payload:t}){set_1(e,"engine",t),set_1(e,"isResumeSession",!0)},clearSession(e){localStorage.removeItem("engineOnboardingSession"),set_1(e,"engine",initialState$2.engine)}}}),actions$3=slice$2.actions;var engineFormState$1=slice$2.reducer;const namespace$2="iconUploadState",initialState$1={file:null,status:IconImportStatus.Idle},slice$1=createSlice({name:SLICE_NAME+"/"+namespace$2,initialState:initialState$1,reducers:{uploadIconStart(e,{payload:t}){e.file=t.file,e.status=IconImportStatus.Uploading},updateIcon(e,{payload:t}){e.file=Object.assign(Object.assign({},e.file),t)},uploadIconSuccess(e){e.status=IconImportStatus.Uploaded},uploadIconFailed(e,{payload:t}){e.file=null,e.error=t,e.status=IconImportStatus.Failed},deleteLocalIcon(e){e.file=null}}}),actions$2=slice$1.actions;var iconUploadState=slice$1.reducer;const namespace$1="engineClassesState",initialState={status:FormStatus.Pending,engineClasses:{}},slice=createSlice({name:SLICE_NAME+"/"+namespace$1,initialState:initialState,reducers:{getEngineClassesStart(e,t){e.status=FormStatus.Loading},getEngineClassesSuccess(e,{payload:t}){e.engineClasses=t,e.status=FormStatus.Success},getEngineClassesFailed(e,{payload:t}){e.error=t,e.status=FormStatus.Error}}}),actions$1=slice.actions;var engineClassesState=slice.reducer;const namespace=SLICE_NAME,actions={[namespace$4]:actions$4,[namespace$3]:actions$3,[namespace$2]:actions$2,[namespace$1]:actions$1},rootReducer=combineReducers({[namespace$4]:uiState$1,[namespace$3]:engineFormState$1,[namespace$2]:iconUploadState,[namespace$1]:engineClassesState});function __rest(e,t){var n={};for(s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,s=Object.getOwnPropertySymbols(e);i<s.length;i++)t.indexOf(s[i])<0&&Object.prototype.propertyIsEnumerable.call(e,s[i])&&(n[s[i]]=e[s[i]]);return n}function __awaiter(e,a,o,l){return new(o=o||Promise)(function(n,t){function i(e){try{r(l.next(e))}catch(e){t(e)}}function s(e){try{r(l.throw(e))}catch(e){t(e)}}function r(e){var t;e.done?n(e.value):((t=e.value)instanceof o?t:new o(function(e){e(t)})).then(i,s)}r((l=l.apply(e,a||[])).next())})}const getClasses=(e,t)=>__awaiter(void 0,void 0,void 0,function*(){return yield baseGraphQLApiWithError(Object.assign({query:`query($type: String) {
|
|
1
|
+
import{cK as useTheme,cL as getThemeProps,r as react,cM as useEnhancedEffect,cN as React,cO as _arrayPush,cP as isArray_1,c3 as _baseIteratee,cQ as _baseToString,cR as _baseTrim,cS as _castSlice,cT as _stringToArray,cU as toString_1,c2 as _createCompounder,bi as React$1,cV as ReactIs,cW as upperFirst_1,c4 as isArrayLike_1,cX as isString_1,c5 as toInteger_1,z as createSvgIcon,C as interopRequireDefault,j as jsxRuntime,bL as map_1,cY as _baseGet,cZ as _baseSlice,c_ as _castPath,c$ as _toKey,d0 as _isIndex,H as createSlice,bK as get_1,c9 as combineReducers,ca as createSelector,O as rootApiSelector,R as graphEndpointSelector,Q as sessionTokenSelector,cb as fork,d1 as channel,m as makeStyles,d2 as useIntl,w as TextField,bH as isNil_1,v as FormControl,aV as Select,bR as FormHelperText$2,ar as FormControlLabel,as as Checkbox,bN as RadioGroup,T as Typography,F as FormattedMessage,p as lodash,B as Box,bb as InputUnstyled,k as useSelector,bz as CacheProvider,bA as muiCache,cc as AIWareThemeProvider,K as DynamicModuleLoader,A as AIWareIntlProvider,G as Grid$1,bE as isEmpty_1,d3 as VideoCamera,d4 as Image,d5 as Sound,d6 as Description,i as useDispatch,au as Button,cB as baseGraphQLApiWithError,ag as takeLatest$1,M as preferredLanguageSelector,bI as UpDown,bJ as Icon,bM as keys_1,az as CircularProgress,d7 as toNumber_1,ab as Tooltip,ac as IconButton,ce as Close,ck as unmountPanel,aj as select,al as call,ai as put,bY as showMessage,bZ as MessageSeverity,co as mountPanel,a5 as all$2,cD as Add,d8 as ProgressStepper,b_ as Radio,d9 as size_1,x as classNames,b as styled,aL as Popper,b4 as AIWareFormatMessage,da as take,aW as MenuItem,aa as Divider,db as CurlyBraces,dc as UnknownDocument,b7 as useTheme$1,dd as sdkEventManager,de as SdkEvents,df as SdkError,aY as default_1$6,bs as Bookmark,bt as EngineFlagIcons,dg as EngineClassIcons,dh as Mode2,di as EngineModeIcons,dj as DeploymentModelIcons,b0 as Tabs,b1 as Tab,cf as FullscreenExit,cg as Fullscreen,ch as TabPanel,cy as img$1y,cG as Collapse,dk as guid}from"./js-core.esm.js";import{_ as _baseFlatten}from"./js-core.esm36.js";import{_ as _copyArray,a as _baseRest,i as isArrayLikeObject_1,l as last_1,b as _baseOrderBy,s as sortBy_1}from"./js-core.esm30.js";import{_ as _baseSet,v as values_1,m as merge_1}from"./js-core.esm28.js";import{_ as _baseUniq,a as _baseIndexOf}from"./js-core.esm37.js";import{f as filter_1}from"./js-core.esm29.js";import{d as default_1$2}from"./js-core.esm8.js";import{P as PropTypes,a as useFormContext,C as Controller,b as useFieldArray,u as useForm,F as FormProvider,k as kebabCase_1}from"./js-core.esm14.js";import{h as has_1}from"./js-core.esm13.js";import{d as default_1$1}from"./js-core.esm12.js";import{a as findIndex_1,f as find_1}from"./js-core.esm15.js";import{E as EntityTags,L as ListField}from"./js-core.esm21.js";import{d as default_1$4,a as default_1$5}from"./js-core.esm22.js";import{d as default_1$3}from"./js-core.esm31.js";import{V as VariableSizeList}from"./js-core.esm32.js";import{B as Box$1}from"./js-core.esm33.js";import{a as autocompleteClasses,A as Autocomplete}from"./js-core.esm24.js";import{L as ListSubheader}from"./js-core.esm34.js";function useMediaQueryOld(i,e,s,t,n){const r="undefined"!=typeof window&&void 0!==window.matchMedia,[a,o]=react.exports.useState(()=>n&&r?s(i).matches:t?t(i).matches:e);return useEnhancedEffect(()=>{let e=!0;if(r){const t=s(i),n=()=>{e&&o(t.matches)};return n(),t.addListener(n),()=>{e=!1,t.removeListener(n)}}},[i,s,r]),a}const maybeReactUseSyncExternalStore=React.useSyncExternalStore;function useMediaQueryNew(n,e,i,t){const s=react.exports.useCallback(()=>e,[e]);var r=react.exports.useMemo(()=>{if(null===t)return s;{const e=t(n)["matches"];return()=>e}},[s,n,t]),[a,o]=react.exports.useMemo(()=>{if(null===i)return[s,()=>()=>{}];const t=i(n);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]},[s,i,n]);return maybeReactUseSyncExternalStore(o,a,r)}function useMediaQuery(e,t={}){var n=useTheme(),i="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:t=!1,matchMedia:i=i?window.matchMedia:null,ssrMatchMedia:s=null,noSsr:r}=getThemeProps({name:"MuiUseMediaQuery",props:t,theme:n});let a="function"==typeof e?e(n):e;return a=a.replace(/^@media( ?)/m,""),(void 0!==maybeReactUseSyncExternalStore?useMediaQueryNew:useMediaQueryOld)(a,t,i,s,r)}var arrayPush=_arrayPush,baseFlatten$2=_baseFlatten,copyArray=_copyArray,isArray$2=isArray_1;function concat(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return arrayPush(isArray$2(n)?copyArray(n):[n],baseFlatten$2(t,1))}var concat_1=concat,baseSet=_baseSet;function set(e,t,n){return null==e?e:baseSet(e,t,n)}var set_1=set,baseFlatten$1=_baseFlatten,baseIteratee$1=_baseIteratee,baseRest=_baseRest,baseUniq=_baseUniq,isArrayLikeObject=isArrayLikeObject_1,last$1=last_1,unionBy=_baseRest(function(e){var t=last$1(e);return isArrayLikeObject(t)&&(t=void 0),baseUniq(baseFlatten$1(e,1,isArrayLikeObject,!0),baseIteratee$1(t))}),unionBy_1=unionBy,baseIndexOf$2=_baseIndexOf;function charsEndIndex$1(e,t){for(var n=e.length;n--&&-1<baseIndexOf$2(t,e[n],0););return n}var _charsEndIndex=charsEndIndex$1,baseIndexOf$1=_baseIndexOf;function charsStartIndex$1(e,t){for(var n=-1,i=e.length;++n<i&&-1<baseIndexOf$1(t,e[n],0););return n}var _charsStartIndex=charsStartIndex$1,baseToString=_baseToString,baseTrim=_baseTrim,castSlice=_castSlice,charsEndIndex=charsEndIndex$1,charsStartIndex=charsStartIndex$1,stringToArray=_stringToArray,toString$3=toString_1;function trim$1(e,t,n){var i;return(e=toString$3(e))&&(n||void 0===t)?baseTrim(e):e&&(t=baseToString(t))?(n=stringToArray(e),t=stringToArray(t),i=charsStartIndex(n,t),t=charsEndIndex(n,t)+1,castSlice(n,i,t).join("")):e}var trim_1=trim$1,createCompounder$1=_createCompounder,lowerCase=_createCompounder(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),lowerCase_1=lowerCase,baseOrderBy=_baseOrderBy,isArray$1=isArray_1;function orderBy(e,t,n,i){return null==e?[]:(isArray$1(t)||(t=null==t?[]:[t]),isArray$1(n=i?void 0:n)||(n=null==n?[]:[n]),baseOrderBy(e,t,n))}var orderBy_1=orderBy,arrayProto$1=Array.prototype,nativeJoin=arrayProto$1.join;function join$2(e,t){return null==e?"":nativeJoin.call(e,t)}var join_1=join$2;const protocols=["http","https","mailto","tel"];function uriTransformer(e){var t=(e||"").trim(),e=t.charAt(0);if("#"===e||"/"===e)return t;var n=t.indexOf(":");if(-1===n)return t;let i=-1;for(;++i<protocols.length;){var s=protocols[i];if(n===s.length&&t.slice(0,s.length).toLowerCase()===s)return t}return-1!==(i=t.indexOf("?"))&&n>i||-1!==(i=t.indexOf("#"))&&n>i?t:"javascript:void(0)"}var isBuffer=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)};function stringifyPosition$2(e){return e&&"object"==typeof e?"position"in e||"type"in e?position$2(e.position):"start"in e||"end"in e?position$2(e):"line"in e||"column"in e?point$4(e):"":""}function point$4(e){return index$3(e&&e.line)+":"+index$3(e&&e.column)}function position$2(e){return point$4(e&&e.start)+"-"+point$4(e&&e.end)}function index$3(e){return e&&"number"==typeof e?e:1}class VFileMessage$1 extends Error{constructor(e,t,n){var i,s=[null,null];let r={start:{line:null,column:null},end:{line:null,column:null}};super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n&&(-1===(i=n.indexOf(":"))?s[1]=n:(s[0]=n.slice(0,i),s[1]=n.slice(i+1))),t&&("type"in t||"position"in t?t.position&&(r=t.position):"start"in t||"end"in t?r=t:("line"in t||"column"in t)&&(r.start=t)),this.name=stringifyPosition$2(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=r.start.line,this.column=r.start.column,this.position=r,this.source=s[0],this.ruleId=s[1],this.file,this.actual,this.expected,this.url,this.note}}VFileMessage$1.prototype.file="",VFileMessage$1.prototype.name="",VFileMessage$1.prototype.reason="",VFileMessage$1.prototype.message="",VFileMessage$1.prototype.stack="",VFileMessage$1.prototype.fatal=null,VFileMessage$1.prototype.column=null,VFileMessage$1.prototype.line=null,VFileMessage$1.prototype.source=null,VFileMessage$1.prototype.ruleId=null,VFileMessage$1.prototype.position=null;const path$1={basename:basename$1,dirname:dirname$1,extname:extname$1,join:join$1,sep:"/"};function basename$1(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');assertPath$3(e);let n=0,i=-1,s=e.length,r;if(void 0===t||0===t.length||t.length>e.length){for(;s--;)if(47===e.charCodeAt(s)){if(r){n=s+1;break}}else i<0&&(r=!0,i=s+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let a=-1,o=t.length-1;for(;s--;)if(47===e.charCodeAt(s)){if(r){n=s+1;break}}else a<0&&(r=!0,a=s+1),-1<o&&(e.charCodeAt(s)===t.charCodeAt(o--)?o<0&&(i=s):(o=-1,i=a));return n===i?i=a:i<0&&(i=e.length),e.slice(n,i)}function dirname$1(e){if(assertPath$3(e),0===e.length)return".";let t=-1,n=e.length,i;for(;--n;)if(47===e.charCodeAt(n)){if(i){t=n;break}}else i=i||!0;return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)}function extname$1(e){assertPath$3(e);let t=e.length,n=-1,i=0,s=-1,r=0,a;for(;t--;){var o=e.charCodeAt(t);if(47===o){if(a){i=t+1;break}}else n<0&&(a=!0,n=t+1),46===o?s<0?s=t:1!==r&&(r=1):-1<s&&(r=-1)}return s<0||n<0||0===r||1===r&&s===n-1&&s===i+1?"":e.slice(s,n)}function join$1(...e){let t=-1,n;for(;++t<e.length;)assertPath$3(e[t]),e[t]&&(n=void 0===n?e[t]:n+"/"+e[t]);return void 0===n?".":normalize$2(n)}function normalize$2(e){assertPath$3(e);var t=47===e.charCodeAt(0);let n=normalizeString$1(e,!t);return 0<(n=0!==n.length||t?n:".").length&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}function normalizeString$1(e,t){let n="",i=0,s=-1,r=0,a=-1,o;for(var l;++a<=e.length;){if(a<e.length)o=e.charCodeAt(a);else{if(47===o)break;o=47}if(47===o){if(s!==a-1&&1!==r)if(s!==a-1&&2===r){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(2<n.length){if((l=n.lastIndexOf("/"))!==n.length-1){i=l<0?(n="",0):(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),s=a,r=0;continue}}else if(0<n.length){n="",i=0,s=a,r=0;continue}t&&(n=0<n.length?n+"/..":"..",i=2)}else 0<n.length?n+="/"+e.slice(s+1,a):n=e.slice(s+1,a),i=a-s-1;s=a,r=0}else 46===o&&-1<r?r++:r=-1}return n}function assertPath$3(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const proc$1={cwd:cwd$1};function cwd$1(){return"/"}function isUrl$1(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function urlToPath$1(e){var t;if("string"==typeof e)e=new URL(e);else if(!isUrl$1(e))throw(t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`")).code="ERR_INVALID_ARG_TYPE",t;if("file:"!==e.protocol)throw(t=new TypeError("The URL must be of scheme file")).code="ERR_INVALID_URL_SCHEME",t;return getPathFromURLPosix$1(e)}function getPathFromURLPosix$1(e){var t;if(""!==e.hostname)throw(t=new TypeError('File URL host must be "localhost" or empty on darwin')).code="ERR_INVALID_FILE_URL_HOST",t;var n=e.pathname;let i=-1;for(;++i<n.length;)if(37===n.charCodeAt(i)&&50===n.charCodeAt(i+1)){var s=n.charCodeAt(i+2);if(70===s||102===s)throw(s=new TypeError("File URL path must not include encoded / characters")).code="ERR_INVALID_FILE_URL_PATH",s}return decodeURIComponent(n)}const order$1=["history","path","basename","stem","extname","dirname"];class VFile$1{constructor(e){let t,n=(t=e?"string"==typeof e||buffer$1(e)?{value:e}:isUrl$1(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=proc$1.cwd(),this.value,this.stored,this.result,this.map,-1);for(;++n<order$1.length;){const i=order$1[n];i in t&&void 0!==t[i]&&null!==t[i]&&(this[i]="history"===i?[...t[i]]:t[i])}let i;for(i in t)order$1.includes(i)||(this[i]=t[i])}get path(){return this.history[this.history.length-1]}set path(e){assertNonEmpty$1(e=isUrl$1(e)?urlToPath$1(e):e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?path$1.dirname(this.path):void 0}set dirname(e){assertPath$2(this.basename,"dirname"),this.path=path$1.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?path$1.basename(this.path):void 0}set basename(e){assertNonEmpty$1(e,"basename"),assertPart$1(e,"basename"),this.path=path$1.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?path$1.extname(this.path):void 0}set extname(e){if(assertPart$1(e,"extname"),assertPath$2(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=path$1.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?path$1.basename(this.path,this.extname):void 0}set stem(e){assertNonEmpty$1(e,"stem"),assertPart$1(e,"stem"),this.path=path$1.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){e=new VFileMessage$1(e,t,n);return this.path&&(e.name=this.path+":"+e.name,e.file=this.path),e.fatal=!1,this.messages.push(e),e}info(e,t,n){e=this.message(e,t,n);return e.fatal=null,e}fail(e,t,n){e=this.message(e,t,n);throw e.fatal=!0,e}}function assertPart$1(e,t){if(e&&e.includes(path$1.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+path$1.sep+"`")}function assertNonEmpty$1(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function assertPath$2(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function buffer$1(e){return isBuffer(e)}function bail(e){if(e)throw e}var hasOwn=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,defineProperty=Object.defineProperty,gOPD=Object.getOwnPropertyDescriptor,isArray=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===toStr.call(e)},isPlainObject$1=function(e){if(!e||"[object Object]"!==toStr.call(e))return!1;var t,n=hasOwn.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&hasOwn.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!i)return!1;for(t in e);return void 0===t||hasOwn.call(e,t)},setProperty=function(e,t){defineProperty&&"__proto__"===t.name?defineProperty(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},getProperty=function(e,t){if("__proto__"===t){if(!hasOwn.call(e,t))return;if(gOPD)return gOPD(e,t).value}return e[t]},extend=function e(){var t,n,i,s,r,a=arguments[0],o=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},o=2),(null==a||"object"!=typeof a&&"function"!=typeof a)&&(a={});o<l;++o)if(null!=(t=arguments[o]))for(n in t)r=getProperty(a,n),a!==(i=getProperty(t,n))&&(c&&i&&(isPlainObject$1(i)||(s=isArray(i)))?(r=s?(s=!1,r&&isArray(r)?r:[]):r&&isPlainObject$1(r)?r:{},setProperty(a,{name:n,newValue:e(c,r,i)})):void 0!==i&&setProperty(a,{name:n,newValue:i}));return a};function isPlainObject(e){var t;return"object"==typeof e&&null!==e&&!(null!==(t=Object.getPrototypeOf(e))&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function trough(){const l=[],t={run:function(...r){let a=-1;const o=r.pop();if("function"!=typeof o)throw new TypeError("Expected function as last argument, not "+o);!function e(t,...n){var i=l[++a];let s=-1;if(t)o(t);else{for(;++s<r.length;)null!==n[s]&&void 0!==n[s]||(n[s]=r[s]);r=n,i?wrap$1(i,e)(...n):o(null,...n)}}(null,...r)},use:function(e){if("function"==typeof e)return l.push(e),t;throw new TypeError("Expected `middelware` to be a function, not "+e)}};return t}function wrap$1(i,n){let s;return function(...t){var n=i.length>t.length;let e;n&&t.push(r);try{e=i.apply(this,t)}catch(e){t=e;if(n&&s)throw t;return r(t)}n||(e instanceof Promise?e.then(a,r):(e instanceof Error?r:a)(e))};function r(e,...t){s||(s=!0,n(e,...t))}function a(e){r(null,e)}}function stringifyPosition$1(e){return e&&"object"==typeof e?"position"in e||"type"in e?position$1(e.position):"start"in e||"end"in e?position$1(e):"line"in e||"column"in e?point$3(e):"":""}function point$3(e){return index$2(e&&e.line)+":"+index$2(e&&e.column)}function position$1(e){return point$3(e&&e.start)+"-"+point$3(e&&e.end)}function index$2(e){return e&&"number"==typeof e?e:1}class VFileMessage extends Error{constructor(e,t,n){var i,s=[null,null];let r={start:{line:null,column:null},end:{line:null,column:null}};super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n&&(-1===(i=n.indexOf(":"))?s[1]=n:(s[0]=n.slice(0,i),s[1]=n.slice(i+1))),t&&("type"in t||"position"in t?t.position&&(r=t.position):"start"in t||"end"in t?r=t:("line"in t||"column"in t)&&(r.start=t)),this.name=stringifyPosition$1(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=r.start.line,this.column=r.start.column,this.position=r,this.source=s[0],this.ruleId=s[1],this.file,this.actual,this.expected,this.url,this.note}}VFileMessage.prototype.file="",VFileMessage.prototype.name="",VFileMessage.prototype.reason="",VFileMessage.prototype.message="",VFileMessage.prototype.stack="",VFileMessage.prototype.fatal=null,VFileMessage.prototype.column=null,VFileMessage.prototype.line=null,VFileMessage.prototype.source=null,VFileMessage.prototype.ruleId=null,VFileMessage.prototype.position=null;const path={basename:basename,dirname:dirname,extname:extname,join:join,sep:"/"};function basename(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');assertPath$1(e);let n=0,i=-1,s=e.length,r;if(void 0===t||0===t.length||t.length>e.length){for(;s--;)if(47===e.charCodeAt(s)){if(r){n=s+1;break}}else i<0&&(r=!0,i=s+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let a=-1,o=t.length-1;for(;s--;)if(47===e.charCodeAt(s)){if(r){n=s+1;break}}else a<0&&(r=!0,a=s+1),-1<o&&(e.charCodeAt(s)===t.charCodeAt(o--)?o<0&&(i=s):(o=-1,i=a));return n===i?i=a:i<0&&(i=e.length),e.slice(n,i)}function dirname(e){if(assertPath$1(e),0===e.length)return".";let t=-1,n=e.length,i;for(;--n;)if(47===e.charCodeAt(n)){if(i){t=n;break}}else i=i||!0;return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)}function extname(e){assertPath$1(e);let t=e.length,n=-1,i=0,s=-1,r=0,a;for(;t--;){var o=e.charCodeAt(t);if(47===o){if(a){i=t+1;break}}else n<0&&(a=!0,n=t+1),46===o?s<0?s=t:1!==r&&(r=1):-1<s&&(r=-1)}return s<0||n<0||0===r||1===r&&s===n-1&&s===i+1?"":e.slice(s,n)}function join(...e){let t=-1,n;for(;++t<e.length;)assertPath$1(e[t]),e[t]&&(n=void 0===n?e[t]:n+"/"+e[t]);return void 0===n?".":normalize$1(n)}function normalize$1(e){assertPath$1(e);var t=47===e.charCodeAt(0);let n=normalizeString(e,!t);return 0<(n=0!==n.length||t?n:".").length&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}function normalizeString(e,t){let n="",i=0,s=-1,r=0,a=-1,o;for(var l;++a<=e.length;){if(a<e.length)o=e.charCodeAt(a);else{if(47===o)break;o=47}if(47===o){if(s!==a-1&&1!==r)if(s!==a-1&&2===r){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(2<n.length){if((l=n.lastIndexOf("/"))!==n.length-1){i=l<0?(n="",0):(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),s=a,r=0;continue}}else if(0<n.length){n="",i=0,s=a,r=0;continue}t&&(n=0<n.length?n+"/..":"..",i=2)}else 0<n.length?n+="/"+e.slice(s+1,a):n=e.slice(s+1,a),i=a-s-1;s=a,r=0}else 46===o&&-1<r?r++:r=-1}return n}function assertPath$1(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const proc={cwd:cwd};function cwd(){return"/"}function isUrl(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function urlToPath(e){var t;if("string"==typeof e)e=new URL(e);else if(!isUrl(e))throw(t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`")).code="ERR_INVALID_ARG_TYPE",t;if("file:"!==e.protocol)throw(t=new TypeError("The URL must be of scheme file")).code="ERR_INVALID_URL_SCHEME",t;return getPathFromURLPosix(e)}function getPathFromURLPosix(e){var t;if(""!==e.hostname)throw(t=new TypeError('File URL host must be "localhost" or empty on darwin')).code="ERR_INVALID_FILE_URL_HOST",t;var n=e.pathname;let i=-1;for(;++i<n.length;)if(37===n.charCodeAt(i)&&50===n.charCodeAt(i+1)){var s=n.charCodeAt(i+2);if(70===s||102===s)throw(s=new TypeError("File URL path must not include encoded / characters")).code="ERR_INVALID_FILE_URL_PATH",s}return decodeURIComponent(n)}const order=["history","path","basename","stem","extname","dirname"];class VFile{constructor(e){let t,n=(t=e?"string"==typeof e||buffer(e)?{value:e}:isUrl(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=proc.cwd(),this.value,this.stored,this.result,this.map,-1);for(;++n<order.length;){const i=order[n];i in t&&void 0!==t[i]&&null!==t[i]&&(this[i]="history"===i?[...t[i]]:t[i])}let i;for(i in t)order.includes(i)||(this[i]=t[i])}get path(){return this.history[this.history.length-1]}set path(e){assertNonEmpty(e=isUrl(e)?urlToPath(e):e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?path.dirname(this.path):void 0}set dirname(e){assertPath(this.basename,"dirname"),this.path=path.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?path.basename(this.path):void 0}set basename(e){assertNonEmpty(e,"basename"),assertPart(e,"basename"),this.path=path.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?path.extname(this.path):void 0}set extname(e){if(assertPart(e,"extname"),assertPath(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=path.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?path.basename(this.path,this.extname):void 0}set stem(e){assertNonEmpty(e,"stem"),assertPart(e,"stem"),this.path=path.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){e=new VFileMessage(e,t,n);return this.path&&(e.name=this.path+":"+e.name,e.file=this.path),e.fatal=!1,this.messages.push(e),e}info(e,t,n){e=this.message(e,t,n);return e.fatal=null,e}fail(e,t,n){e=this.message(e,t,n);throw e.fatal=!0,e}}function assertPart(e,t){if(e&&e.includes(path.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+path.sep+"`")}function assertNonEmpty(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function assertPath(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function buffer(e){return isBuffer(e)}const unified=base().freeze(),own$7={}.hasOwnProperty;function base(){const n=trough(),s=[];let r={},l,i=-1;return c.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(assertUnfrozen("data",l),r[e]=t,c):own$7.call(r,e)&&r[e]||null;if(e)return assertUnfrozen("data",l),r=e,c;return r},c.Parser=void 0,c.Compiler=void 0,c.freeze=function(){if(!l){for(;++i<s.length;){var[e,...t]=s[i];!1!==t[0]&&(!0===t[0]&&(t[0]=void 0),"function"==typeof(e=e.call(c,...t)))&&n.use(e)}l=!0,i=Number.POSITIVE_INFINITY}return c},c.attachers=s,c.use=function(e,...t){let n;if(assertUnfrozen("use",l),null!=e)if("function"==typeof e)o(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");(Array.isArray(e)?i:a)(e)}n&&(r.settings=Object.assign(r.settings||{},n));return c;function a(e){i(e.plugins),e.settings&&(n=Object.assign(n||{},e.settings))}function i(e){let t=-1;if(null!=e){if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){var n,i,s=e[t],r=(i=n=r=void 0,s);if("function"==typeof r)o(r);else{if("object"!=typeof r)throw new TypeError("Expected usable value, not `"+r+"`");Array.isArray(r)?([n,...i]=r,o(n,...i)):a(r)}}}}function o(e,t){let n=-1,i;for(;++n<s.length;)if(s[n][0]===e){i=s[n];break}i?(isPlainObject(i[1])&&isPlainObject(t)&&(t=extend(!0,i[1],t)),i[1]=t):s.push([...arguments])}},c.parse=function(e){c.freeze();var e=vfile(e),t=c.Parser;if(assertParser("parse",t),newable(t,"parse"))return new t(String(e),e).parse();return t(String(e),e)},c.stringify=function(e,t){c.freeze();var t=vfile(t),n=c.Compiler;if(assertCompiler("stringify",n),assertNode(e),newable(n,"compile"))return new n(e,t).compile();return n(e,t)},c.run=function(r,e,a){assertNode(r),c.freeze(),a||"function"!=typeof e||(a=e,e=void 0);if(!a)return new Promise(t);function t(i,s){n.run(r,vfile(e),function(e,t,n){t=t||r,e?s(e):i?i(t):a(null,t,n)})}t(null,a)},c.runSync=function(e,t){let n,i;return c.run(e,t,function(e,t){bail(e),n=t,i=!0}),assertDone("runSync","run",i),n},c.process=function(t,r){if(c.freeze(),assertParser("process",c.Parser),assertCompiler("process",c.Compiler),!r)return new Promise(e);function e(n,i){var e=vfile(t);function s(e,t){e||!t?i(e):n?n(t):r(null,t)}c.run(c.parse(e),e,(e,t,n)=>{!e&&t&&n?(null!=(t=c.stringify(t,n))&&(looksLikeAVFileValue(t)?n.value=t:n.result=t),s(e,n)):s(e)})}e(null,r)},c.processSync=function(e){let t;c.freeze(),assertParser("processSync",c.Parser),assertCompiler("processSync",c.Compiler);e=vfile(e);return c.process(e,function(e){t=!0,bail(e)}),assertDone("processSync","process",t),e},c;function c(){var e=base();let t=-1;for(;++t<s.length;)e.use(...s[t]);return e.data(extend(!0,{},r)),e}}function newable(e,t){return"function"==typeof e&&e.prototype&&(keys(e.prototype)||t in e.prototype)}function keys(e){let t;for(t in e)if(own$7.call(e,t))return!0;return!1}function assertParser(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function assertCompiler(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function assertUnfrozen(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function assertNode(e){if(!isPlainObject(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function assertDone(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function vfile(e){return looksLikeAVFile(e)?e:new VFile(e)}function looksLikeAVFile(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}function looksLikeAVFileValue(e){return"string"==typeof e||isBuffer(e)}function toString$2(e,t){t=(t||{}).includeImageAlt;return one$1(e,"boolean"!=typeof t||t)}function one$1(e,t){return node(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&all$1(e.children,t))||Array.isArray(e)&&all$1(e,t)||""}function all$1(e,t){var n=[];let i=-1;for(;++i<e.length;)n[i]=one$1(e[i],t);return n.join("")}function node(e){return Boolean(e&&"object"==typeof e)}function splice$1(e,t,n,i){var s=e.length;let r=0,a;if(t=t<0?s<-t?0:s+t:s<t?s:t,n=0<n?n:0,i.length<1e4)(a=Array.from(i)).unshift(t,n),[].splice.apply(e,a);else for(n&&[].splice.apply(e,[t,n]);r<i.length;)(a=i.slice(r,r+1e4)).unshift(t,0),[].splice.apply(e,a),r+=1e4,t+=1e4}function push(e,t){return 0<e.length?(splice$1(e,e.length,0,t),e):t}const hasOwnProperty={}.hasOwnProperty;function combineExtensions(e){var t={};let n=-1;for(;++n<e.length;)syntaxExtension(t,e[n]);return t}function syntaxExtension(t,n){let i;for(i in n){var s=(hasOwnProperty.call(t,i)?t[i]:void 0)||(t[i]={}),r=n[i];let e;for(e in r){hasOwnProperty.call(s,e)||(s[e]=[]);var a=r[e];constructs(s[e],Array.isArray(a)?a:a?[a]:[])}}}function constructs(e,t){let n=-1;for(var i=[];++n<t.length;)("after"===t[n].add?e:i).push(t[n]);splice$1(e,0,0,i)}const unicodePunctuationRegex=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,asciiAlpha=regexCheck(/[A-Za-z]/),asciiDigit=regexCheck(/\d/),asciiHexDigit=regexCheck(/[\dA-Fa-f]/),asciiAlphanumeric=regexCheck(/[\dA-Za-z]/),asciiPunctuation=regexCheck(/[!-/:-@[-`{-~]/),asciiAtext=regexCheck(/[#-'*+\--9=?A-Z^-~]/);function asciiControl(e){return null!==e&&(e<32||127===e)}function markdownLineEndingOrSpace(e){return null!==e&&(e<0||32===e)}function markdownLineEnding(e){return null!==e&&e<-2}function markdownSpace(e){return-2===e||-1===e||32===e}const unicodeWhitespace=regexCheck(/\s/),unicodePunctuation=regexCheck(unicodePunctuationRegex);function regexCheck(t){return function(e){return null!==e&&t.test(String.fromCharCode(e))}}function factorySpace(t,n,i,e){const s=e?e-1:Number.POSITIVE_INFINITY;let r=0;return function(e){if(markdownSpace(e))return t.enter(i),a(e);return n(e)};function a(e){return markdownSpace(e)&&r++<s?(t.consume(e),a):(t.exit(i),n(e))}}const content$1={tokenize:initializeContent};function initializeContent(n){const t=n.attempt(this.parser.constructs.contentInitial,function(e){if(null!==e)return n.enter("lineEnding"),n.consume(e),n.exit("lineEnding"),factorySpace(n,t,"linePrefix");n.consume(e)},function(e){return n.enter("paragraph"),s(e)});let i;return t;function s(e){var t=n.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=t),i=t,r(e)}function r(e){if(null!==e)return markdownLineEnding(e)?(n.consume(e),n.exit("chunkText"),s):(n.consume(e),r);n.exit("chunkText"),n.exit("paragraph"),n.consume(e)}}const document$2={tokenize:initializeDocument},containerConstruct={tokenize:tokenizeContainer};function initializeDocument(i){const r=this,s=[];let a=0,o,n,l;return t;function t(e){var t;return(a<s.length?(t=s[a],r.containerState=t[1],i.attempt(t[0].continuation,c,u)):u)(e)}function c(i){if(a++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,o&&b();var s=r.events.length;let e=s,t;for(;e--;)if("exit"===r.events[e][0]&&"chunkFlow"===r.events[e][1].type){t=r.events[e][1].end;break}y(a);let n=s;for(;n<r.events.length;)r.events[n][1].end=Object.assign({},t),n++;return splice$1(r.events,e+1,0,r.events.slice(s)),r.events.length=n,u(i)}return t(i)}function u(e){if(a===s.length){if(!o)return m(e);if(o.currentConstruct&&o.currentConstruct.concrete)return h(e);r.interrupt=Boolean(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return r.containerState={},i.check(containerConstruct,d,p)(e)}function d(e){return o&&b(),y(a),m(e)}function p(e){return r.parser.lazy[r.now().line]=a!==s.length,l=r.now().offset,h(e)}function m(e){return r.containerState={},i.attempt(containerConstruct,g,h)(e)}function g(e){return a++,s.push([r.currentConstruct,r.containerState]),m(e)}function h(e){if(null!==e)return o=o||r.parser.flow(r.now()),i.enter("chunkFlow",{contentType:"flow",previous:n,_tokenizer:o}),f(e);o&&b(),y(0),i.consume(e)}function f(e){if(null!==e)return markdownLineEnding(e)?(i.consume(e),x(i.exit("chunkFlow")),a=0,r.interrupt=void 0,t):(i.consume(e),f);x(i.exit("chunkFlow"),!0),y(0),i.consume(e)}function x(e,s){var t=r.sliceStream(e);if(s&&t.push(null),(e.previous=n)&&(n.next=e),n=e,o.defineSkip(e.start),o.write(t),r.parser.lazy[e.start.line]){let e=o.events.length;for(;e--;)if(o.events[e][1].start.offset<l&&(!o.events[e][1].end||o.events[e][1].end.offset>l))return;s=r.events.length;let t=s,n,i;for(;t--;)if("exit"===r.events[t][0]&&"chunkFlow"===r.events[t][1].type){if(n){i=r.events[t][1].end;break}n=!0}for(y(a),e=s;e<r.events.length;)r.events[e][1].end=Object.assign({},i),e++;splice$1(r.events,t+1,0,r.events.slice(s)),r.events.length=e}}function y(e){let t=s.length;for(;t-- >e;){var n=s[t];r.containerState=n[1],n[0].exit.call(r,i)}s.length=e}function b(){o.write([null]),n=void 0,o=void 0,r.containerState._closeFlow=void 0}}function tokenizeContainer(e,t,n){return factorySpace(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function classifyCharacter(e){return null===e||markdownLineEndingOrSpace(e)||unicodeWhitespace(e)?1:unicodePunctuation(e)?2:void 0}function resolveAll(e,t,n){var i=[];let s=-1;for(;++s<e.length;){var r=e[s].resolveAll;r&&!i.includes(r)&&(t=r(t,n),i.push(r))}return t}const attention={name:"attention",tokenize:tokenizeAttention,resolveAll:resolveAllAttention};function resolveAllAttention(e,t){let n=-1,i;var s;let r,a;for(;++n<e.length;)if("enter"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._close)for(i=n;i--;)if("exit"===e[i][0]&&"attentionSequence"===e[i][1].type&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)&&(!((e[i][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3)||(e[i][1].end.offset-e[i][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3)){var o=1<e[i][1].end.offset-e[i][1].start.offset&&1<e[n][1].end.offset-e[n][1].start.offset?2:1,l=Object.assign({},e[i][1].end),c=Object.assign({},e[n][1].start);movePoint(l,-o),movePoint(c,o),l={type:1<o?"strongSequence":"emphasisSequence",start:l,end:Object.assign({},e[i][1].end)},c={type:1<o?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:c},s={type:1<o?"strongText":"emphasisText",start:Object.assign({},e[i][1].end),end:Object.assign({},e[n][1].start)},o={type:1<o?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},c.end)},e[i][1].end=Object.assign({},l.start),e[n][1].start=Object.assign({},c.end),r=[],e[i][1].end.offset-e[i][1].start.offset&&(r=push(r,[["enter",e[i][1],t],["exit",e[i][1],t]])),r=push(r,[["enter",o,t],["enter",l,t],["exit",l,t],["enter",s,t]]),r=push(r,resolveAll(t.parser.constructs.insideSpan.null,e.slice(i+1,n),t)),r=push(r,[["exit",s,t],["enter",c,t],["exit",c,t],["exit",o,t]]),e[n][1].end.offset-e[n][1].start.offset?(a=2,r=push(r,[["enter",e[n][1],t],["exit",e[n][1],t]])):a=0,splice$1(e,i-1,n-i+3,r),n=i+r.length-a-2;break}for(n=-1;++n<e.length;)"attentionSequence"===e[n][1].type&&(e[n][1].type="data");return e}function tokenizeAttention(r,a){const o=this.parser.constructs.attentionMarkers.null,l=this.previous,c=classifyCharacter(l);let u;return function(e){return r.enter("attentionSequence"),d(u=e)};function d(e){var t,n,i,s;return e===u?(r.consume(e),d):(t=r.exit("attentionSequence"),i=!(n=classifyCharacter(e))||2===n&&c||o.includes(e),s=!c||2===c&&n||o.includes(l),t._open=Boolean(42===u?i:i&&(c||!s)),t._close=Boolean(42===u?s:s&&(n||!i)),a(e))}}function movePoint(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const autolink={name:"autolink",tokenize:tokenizeAutolink};function tokenizeAutolink(t,n,i){let s=1;return function(e){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(e),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),r};function r(e){return asciiAlpha(e)?(t.consume(e),a):(asciiAtext(e)?c:i)(e)}function a(e){return(43===e||45===e||46===e||asciiAlphanumeric(e)?o:c)(e)}function o(e){return 58===e?(t.consume(e),l):(43===e||45===e||46===e||asciiAlphanumeric(e))&&s++<32?(t.consume(e),o):c(e)}function l(e){return 62===e?(t.exit("autolinkProtocol"),m(e)):null===e||32===e||60===e||asciiControl(e)?i(e):(t.consume(e),l)}function c(e){return 64===e?(t.consume(e),s=0,u):asciiAtext(e)?(t.consume(e),c):i(e)}function u(e){return(asciiAlphanumeric(e)?d:i)(e)}function d(e){return 46===e?(t.consume(e),s=0,u):(62===e?(t.exit("autolinkProtocol").type="autolinkEmail",m):p)(e)}function p(e){return(45===e||asciiAlphanumeric(e))&&s++<63?(t.consume(e),45===e?p:d):i(e)}function m(e){return t.enter("autolinkMarker"),t.consume(e),t.exit("autolinkMarker"),t.exit("autolink"),n}}const blankLine={tokenize:tokenizeBlankLine,partial:!0};function tokenizeBlankLine(e,t,n){return factorySpace(e,function(e){return(null===e||markdownLineEnding(e)?t:n)(e)},"linePrefix")}const blockQuote={name:"blockQuote",tokenize:tokenizeBlockQuoteStart,continuation:{tokenize:tokenizeBlockQuoteContinuation},exit:exit};function tokenizeBlockQuoteStart(n,t,i){const s=this;return function(e){if(62!==e)return i(e);{var t=s.containerState;return t.open||(n.enter("blockQuote",{_container:!0}),t.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(e),n.exit("blockQuoteMarker"),r}};function r(e){return markdownSpace(e)?(n.enter("blockQuotePrefixWhitespace"),n.consume(e),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),t):(n.exit("blockQuotePrefix"),t(e))}}function tokenizeBlockQuoteContinuation(e,t,n){return factorySpace(e,e.attempt(blockQuote,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function exit(e){e.exit("blockQuote")}const characterEscape={name:"characterEscape",tokenize:tokenizeCharacterEscape};function tokenizeCharacterEscape(t,n,i){return function(e){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(e),t.exit("escapeMarker"),s};function s(e){return asciiPunctuation(e)?(t.enter("characterEscapeValue"),t.consume(e),t.exit("characterEscapeValue"),t.exit("characterEscape"),n):i(e)}}const element=document.createElement("i");function decodeNamedCharacterReference(e){var t="&"+e+";",n=(element.innerHTML=t,element.textContent);return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}const characterReference={name:"characterReference",tokenize:tokenizeCharacterReference};function tokenizeCharacterReference(n,i,s){const r=this;let a=0,o,l;return function(e){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(e),n.exit("characterReferenceMarker"),t};function t(e){return 35===e?(n.enter("characterReferenceMarkerNumeric"),n.consume(e),n.exit("characterReferenceMarkerNumeric"),c):(n.enter("characterReferenceValue"),o=31,l=asciiAlphanumeric,u(e))}function c(e){return 88===e||120===e?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(e),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),o=6,l=asciiHexDigit,u):(n.enter("characterReferenceValue"),o=7,l=asciiDigit,u(e))}function u(e){var t;return 59===e&&a?(t=n.exit("characterReferenceValue"),l!==asciiAlphanumeric||decodeNamedCharacterReference(r.sliceSerialize(t))?(n.enter("characterReferenceMarker"),n.consume(e),n.exit("characterReferenceMarker"),n.exit("characterReference"),i):s(e)):l(e)&&a++<o?(n.consume(e),u):s(e)}}const codeFenced={name:"codeFenced",tokenize:tokenizeCodeFenced,concrete:!0};function tokenizeCodeFenced(t,n,i){const s=this,r={tokenize:function(t,n,i){let s=0;return factorySpace(t,function(e){return t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),r(e)},"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function r(e){return e===c?(t.consume(e),s++,r):(s<l?i:(t.exit("codeFencedFenceSequence"),factorySpace(t,a,"whitespace")))(e)}function a(e){return(null===e||markdownLineEnding(e)?(t.exit("codeFencedFence"),n):i)(e)}},partial:!0},a={tokenize:function(t,n,i){const s=this;return function(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r};function r(e){return(s.parser.lazy[s.now().line]?i:n)(e)}},partial:!0};var e=this.events[this.events.length-1];const o=e&&"linePrefix"===e[1].type?e[2].sliceSerialize(e[1],!0).length:0;let l=0,c;return function(e){return t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),u(c=e)};function u(e){return e===c?(t.consume(e),l++,u):(t.exit("codeFencedFenceSequence"),(l<3?i:factorySpace(t,d,"whitespace"))(e))}function d(e){return(null===e||markdownLineEnding(e)?h:(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),p))(e)}function p(e){return null===e||markdownLineEndingOrSpace(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),factorySpace(t,m,"whitespace")(e)):96===e&&e===c?i(e):(t.consume(e),p)}function m(e){return(null===e||markdownLineEnding(e)?h:(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),g))(e)}function g(e){return null===e||markdownLineEnding(e)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),h(e)):96===e&&e===c?i(e):(t.consume(e),g)}function h(e){return t.exit("codeFencedFence"),(s.interrupt?n:f)(e)}function f(e){return(null===e?y:markdownLineEnding(e)?t.attempt(a,t.attempt(r,y,o?factorySpace(t,f,"linePrefix",o+1):f),y):(t.enter("codeFlowValue"),x))(e)}function x(e){return null===e||markdownLineEnding(e)?(t.exit("codeFlowValue"),f(e)):(t.consume(e),x)}function y(e){return t.exit("codeFenced"),n(e)}}const codeIndented={name:"codeIndented",tokenize:tokenizeCodeIndented},indentedContent={tokenize:tokenizeIndentedContent,partial:!0};function tokenizeCodeIndented(t,n,i){const s=this;return function(e){return t.enter("codeIndented"),factorySpace(t,r,"linePrefix",5)(e)};function r(e){var t=s.events[s.events.length-1];return(t&&"linePrefix"===t[1].type&&4<=t[2].sliceSerialize(t[1],!0).length?a:i)(e)}function a(e){return(null===e?l:markdownLineEnding(e)?t.attempt(indentedContent,a,l):(t.enter("codeFlowValue"),o))(e)}function o(e){return null===e||markdownLineEnding(e)?(t.exit("codeFlowValue"),a(e)):(t.consume(e),o)}function l(e){return t.exit("codeIndented"),n(e)}}function tokenizeIndentedContent(t,n,i){const s=this;return r;function r(e){return s.parser.lazy[s.now().line]?i(e):markdownLineEnding(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r):factorySpace(t,a,"linePrefix",5)(e)}function a(e){var t=s.events[s.events.length-1];return(t&&"linePrefix"===t[1].type&&4<=t[2].sliceSerialize(t[1],!0).length?n:markdownLineEnding(e)?r:i)(e)}}const codeText={name:"codeText",tokenize:tokenizeCodeText,resolve:resolveCodeText,previous:previous};function resolveCodeText(e){let t=e.length-4,n=3,i,s;if(!("lineEnding"!==e[n][1].type&&"space"!==e[n][1].type||"lineEnding"!==e[t][1].type&&"space"!==e[t][1].type))for(i=n;++i<t;)if("codeTextData"===e[i][1].type){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}for(i=n-1,t++;++i<=t;)void 0===s?i!==t&&"lineEnding"!==e[i][1].type&&(s=i):i!==t&&"lineEnding"!==e[i][1].type||(e[s][1].type="codeTextData",i!==s+2&&(e[s][1].end=e[i-1][1].end,e.splice(s+2,i-s-2),t-=i-s-2,i=s+2),s=void 0);return e}function previous(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}function tokenizeCodeText(t,n,i){let s=0,r,a;return function(e){return t.enter("codeText"),t.enter("codeTextSequence"),o(e)};function o(e){return 96===e?(t.consume(e),s++,o):(t.exit("codeTextSequence"),l(e))}function l(e){return null===e?i(e):96===e?(a=t.enter("codeTextSequence"),r=0,u(e)):32===e?(t.enter("space"),t.consume(e),t.exit("space"),l):markdownLineEnding(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),l):(t.enter("codeTextData"),c(e))}function c(e){return null===e||32===e||96===e||markdownLineEnding(e)?(t.exit("codeTextData"),l(e)):(t.consume(e),c)}function u(e){return 96===e?(t.consume(e),r++,u):(r===s?(t.exit("codeTextSequence"),t.exit("codeText"),n):(a.type="codeTextData",c))(e)}}function subtokenize(e){var t,n,i,s,r={};let a=-1,o,l,c;for(;++a<e.length;){for(;a in r;)a=r[a];if(t=e[a],a&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[a-1][1].type&&(s=t[1]._tokenizer.events,(l=0)<s.length&&"lineEndingBlank"===s[l][1].type&&(l+=2),l<s.length)&&"content"===s[l][1].type)for(;++l<s.length&&"content"!==s[l][1].type;)"chunkText"===s[l][1].type&&(s[l][1]._isInFirstContentOfListItem=!0,l++);if("enter"===t[0])t[1].contentType&&(Object.assign(r,subcontent(e,a)),a=r[a],c=!0);else if(t[1]._container){for(l=a,o=void 0;l--&&("lineEnding"===(n=e[l])[1].type||"lineEndingBlank"===n[1].type);)"enter"===n[0]&&(o&&(e[o][1].type="lineEndingBlank"),n[1].type="lineEnding",o=l);o&&(t[1].end=Object.assign({},e[o][1].start),(i=e.slice(o,a)).unshift(t),splice$1(e,o,a-o+1,i))}}return!c}function subcontent(e,t){var n=e[t][1],i=e[t][2];let s=t-1;var r,a=[],o=n._tokenizer||i.parser[n.contentType](n.start),l=o.events,c=[],u={};let d,p=-1,m=n,g=0,h=0;for(var f=[h];m;){for(;e[++s][1]!==m;);a.push(s),m._tokenizer||(r=i.sliceStream(m),m.next||r.push(null),d&&o.defineSkip(m.start),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(r),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),m=(d=m).next}for(m=n;++p<l.length;)"exit"===l[p][0]&&"enter"===l[p-1][0]&&l[p][1].type===l[p-1][1].type&&l[p][1].start.line!==l[p][1].end.line&&(h=p+1,f.push(h),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(o.events=[],m?(m._tokenizer=void 0,m.previous=void 0):f.pop(),p=f.length;p--;){var x=l.slice(f[p],f[p+1]);const h=a.pop();c.unshift([h,h+x.length-1]),splice$1(e,h,2,x)}for(p=-1;++p<c.length;)u[g+c[p][0]]=g+c[p][1],g+=c[p][1]-c[p][0]-1;return u}const content={tokenize:tokenizeContent,resolve:resolveContent},continuationConstruct={tokenize:tokenizeContinuation,partial:!0};function resolveContent(e){return subtokenize(e),e}function tokenizeContent(t,n){let i;return function(e){return t.enter("content"),i=t.enter("chunkContent",{contentType:"content"}),s(e)};function s(e){return null===e?r(e):markdownLineEnding(e)?t.check(continuationConstruct,a,r)(e):(t.consume(e),s)}function r(e){return t.exit("chunkContent"),t.exit("content"),n(e)}function a(e){return t.consume(e),t.exit("chunkContent"),i.next=t.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,s}}function tokenizeContinuation(n,i,s){const r=this;return function(e){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(e),n.exit("lineEnding"),factorySpace(n,t,"linePrefix")};function t(e){var t;return(null===e||markdownLineEnding(e)?s:(t=r.events[r.events.length-1],!r.parser.constructs.disable.null.includes("codeIndented")&&t&&"linePrefix"===t[1].type&&4<=t[2].sliceSerialize(t[1],!0).length?i:n.interrupt(r.parser.constructs.flow,s,i)))(e)}}function factoryDestination(t,n,i,s,r,a,o,l,e){const c=e||Number.POSITIVE_INFINITY;let u=0;return function(e){if(60===e)return t.enter(s),t.enter(r),t.enter(a),t.consume(e),t.exit(a),d;if(null===e||41===e||asciiControl(e))return i(e);return t.enter(s),t.enter(o),t.enter(l),t.enter("chunkString",{contentType:"string"}),g(e)};function d(e){return 62===e?(t.enter(a),t.consume(e),t.exit(a),t.exit(r),t.exit(s),n):(t.enter(l),t.enter("chunkString",{contentType:"string"}),p(e))}function p(e){return 62===e?(t.exit("chunkString"),t.exit(l),d(e)):null===e||60===e||markdownLineEnding(e)?i(e):(t.consume(e),92===e?m:p)}function m(e){return 60===e||62===e||92===e?(t.consume(e),p):p(e)}function g(e){return 40===e?++u>c?i(e):(t.consume(e),g):41===e?u--?(t.consume(e),g):(t.exit("chunkString"),t.exit(l),t.exit(o),t.exit(s),n(e)):null===e||markdownLineEndingOrSpace(e)?(u?i:(t.exit("chunkString"),t.exit(l),t.exit(o),t.exit(s),n))(e):asciiControl(e)?i(e):(t.consume(e),92===e?h:g)}function h(e){return 40===e||41===e||92===e?(t.consume(e),g):g(e)}}function factoryLabel(t,n,i,s,r,a){const o=this;let l=0,c;return function(e){return t.enter(s),t.enter(r),t.consume(e),t.exit(r),t.enter(a),u};function u(e){return null===e||91===e||93===e&&!c||94===e&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs||999<l?i(e):93===e?(t.exit(a),t.enter(r),t.consume(e),t.exit(r),t.exit(s),n):markdownLineEnding(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),d(e))}function d(e){return null===e||91===e||93===e||markdownLineEnding(e)||999<l++?(t.exit("chunkString"),u(e)):(t.consume(e),c=c||!markdownSpace(e),92===e?p:d)}function p(e){return 91===e||92===e||93===e?(t.consume(e),l++,d):d(e)}}function factoryTitle(t,n,i,s,r,a){let o;return function(e){return t.enter(s),t.enter(r),t.consume(e),t.exit(r),o=40===e?41:e,l};function l(e){return e===o?(t.enter(r),t.consume(e),t.exit(r),t.exit(s),n):(t.enter(a),c(e))}function c(e){return e===o?(t.exit(a),l(o)):null===e?i(e):markdownLineEnding(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),factorySpace(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(e))}function u(e){return e===o||null===e||markdownLineEnding(e)?(t.exit("chunkString"),c(e)):(t.consume(e),92===e?d:u)}function d(e){return e===o||92===e?(t.consume(e),u):u(e)}}function factoryWhitespace(n,i){let s;return function e(t){if(markdownLineEnding(t))return n.enter("lineEnding"),n.consume(t),n.exit("lineEnding"),s=!0,e;if(markdownSpace(t))return factorySpace(n,e,s?"linePrefix":"lineSuffix")(t);return i(t)}}function normalizeIdentifier(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const definition={name:"definition",tokenize:tokenizeDefinition},titleConstruct={tokenize:tokenizeTitle,partial:!0};function tokenizeDefinition(t,n,i){const s=this;let r;return function(e){return t.enter("definition"),factoryLabel.call(s,t,a,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(e)};function a(e){return r=normalizeIdentifier(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),factoryWhitespace(t,factoryDestination(t,t.attempt(titleConstruct,factorySpace(t,o,"whitespace"),factorySpace(t,o,"whitespace")),i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):i(e)}function o(e){return(null===e||markdownLineEnding(e)?(t.exit("definition"),s.parser.defined.includes(r)||s.parser.defined.push(r),n):i)(e)}}function tokenizeTitle(t,n,i){return function(e){return(markdownLineEndingOrSpace(e)?factoryWhitespace(t,s):i)(e)};function s(e){return(34===e||39===e||40===e?factoryTitle(t,factorySpace(t,r,"whitespace"),i,"definitionTitle","definitionTitleMarker","definitionTitleString"):i)(e)}function r(e){return(null===e||markdownLineEnding(e)?n:i)(e)}}const hardBreakEscape={name:"hardBreakEscape",tokenize:tokenizeHardBreakEscape};function tokenizeHardBreakEscape(t,n,i){return function(e){return t.enter("hardBreakEscape"),t.enter("escapeMarker"),t.consume(e),s};function s(e){return(markdownLineEnding(e)?(t.exit("escapeMarker"),t.exit("hardBreakEscape"),n):i)(e)}}const headingAtx={name:"headingAtx",tokenize:tokenizeHeadingAtx,resolve:resolveHeadingAtx};function resolveHeadingAtx(e,t){let n=e.length-2,i=3;var s,r;return"whitespace"===e[i][1].type&&(i+=2),n-2>i&&"whitespace"===e[n][1].type&&(n-=2),"atxHeadingSequence"===e[n][1].type&&(i===n-1||n-4>i&&"whitespace"===e[n-2][1].type)&&(n-=i+1===n?2:4),n>i&&(s={type:"atxHeadingText",start:e[i][1].start,end:e[n][1].end},r={type:"chunkText",start:e[i][1].start,end:e[n][1].end,contentType:"text"},splice$1(e,i,n-i+1,[["enter",s,t],["enter",r,t],["exit",r,t],["exit",s,t]])),e}function tokenizeHeadingAtx(t,n,i){const s=this;let r=0;return function(e){return t.enter("atxHeading"),t.enter("atxHeadingSequence"),a(e)};function a(e){return 35===e&&r++<6?(t.consume(e),a):(null===e||markdownLineEndingOrSpace(e)?(t.exit("atxHeadingSequence"),s.interrupt?n:o):i)(e)}function o(e){return(35===e?(t.enter("atxHeadingSequence"),l):null===e||markdownLineEnding(e)?(t.exit("atxHeading"),n):markdownSpace(e)?factorySpace(t,o,"whitespace"):(t.enter("atxHeadingText"),c))(e)}function l(e){return 35===e?(t.consume(e),l):(t.exit("atxHeadingSequence"),o(e))}function c(e){return null===e||35===e||markdownLineEndingOrSpace(e)?(t.exit("atxHeadingText"),o(e)):(t.consume(e),c)}}const htmlBlockNames=["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","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],htmlRawNames=["pre","script","style","textarea"],htmlFlow={name:"htmlFlow",tokenize:tokenizeHtmlFlow,resolveTo:resolveToHtmlFlow,concrete:!0},nextBlankConstruct={tokenize:tokenizeNextBlank,partial:!0};function resolveToHtmlFlow(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return 1<t&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function tokenizeHtmlFlow(t,n,i){const r=this;let s,a,o,l,c;return function(e){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(e),u};function u(e){return 33===e?(t.consume(e),d):47===e?(t.consume(e),g):63===e?(t.consume(e),s=3,r.interrupt?n:A):asciiAlpha(e)?(t.consume(e),o=String.fromCharCode(e),a=!0,h):i(e)}function d(e){return 45===e?(t.consume(e),s=2,p):91===e?(t.consume(e),s=5,o="CDATA[",l=0,m):asciiAlpha(e)?(t.consume(e),s=4,r.interrupt?n:A):i(e)}function p(e){return 45===e?(t.consume(e),r.interrupt?n:A):i(e)}function m(e){return e===o.charCodeAt(l++)?(t.consume(e),l===o.length?r.interrupt?n:F:m):i(e)}function g(e){return asciiAlpha(e)?(t.consume(e),o=String.fromCharCode(e),h):i(e)}function h(e){return null===e||47===e||62===e||markdownLineEndingOrSpace(e)?47!==e&&a&&htmlRawNames.includes(o.toLowerCase())?(s=1,(r.interrupt?n:F)(e)):htmlBlockNames.includes(o.toLowerCase())?(s=6,47===e?(t.consume(e),f):(r.interrupt?n:F)(e)):(s=7,(r.interrupt&&!r.parser.lazy[r.now().line]?i:a?y:x)(e)):45===e||asciiAlphanumeric(e)?(t.consume(e),o+=String.fromCharCode(e),h):i(e)}function f(e){return 62===e?(t.consume(e),r.interrupt?n:F):i(e)}function x(e){return markdownSpace(e)?(t.consume(e),x):E(e)}function y(e){return 47===e?(t.consume(e),E):58===e||95===e||asciiAlpha(e)?(t.consume(e),b):markdownSpace(e)?(t.consume(e),y):E(e)}function b(e){return 45===e||46===e||58===e||95===e||asciiAlphanumeric(e)?(t.consume(e),b):j(e)}function j(e){return 61===e?(t.consume(e),v):markdownSpace(e)?(t.consume(e),j):y(e)}function v(e){return null===e||60===e||61===e||62===e||96===e?i(e):34===e||39===e?(t.consume(e),c=e,S):markdownSpace(e)?(t.consume(e),v):(c=null,k(e))}function S(e){return null===e||markdownLineEnding(e)?i(e):e===c?(t.consume(e),w):(t.consume(e),S)}function k(e){return null===e||34===e||39===e||60===e||61===e||62===e||96===e||markdownLineEndingOrSpace(e)?j(e):(t.consume(e),k)}function w(e){return(47===e||62===e||markdownSpace(e)?y:i)(e)}function E(e){return 62===e?(t.consume(e),R):i(e)}function R(e){return markdownSpace(e)?(t.consume(e),R):(null===e||markdownLineEnding(e)?F:i)(e)}function F(e){return 45===e&&2===s?(t.consume(e),M):60===e&&1===s?(t.consume(e),O):62===e&&4===s?(t.consume(e),_):63===e&&3===s?(t.consume(e),A):93===e&&5===s?(t.consume(e),L):!markdownLineEnding(e)||6!==s&&7!==s?null===e||markdownLineEnding(e)?T(e):(t.consume(e),F):t.check(nextBlankConstruct,_,T)(e)}function T(e){return t.exit("htmlFlowData"),I(e)}function I(e){return(null===e?N:markdownLineEnding(e)?t.attempt({tokenize:C,partial:!0},I,N):(t.enter("htmlFlowData"),F))(e)}function C(t,n,i){return function(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),s};function s(e){return(r.parser.lazy[r.now().line]?i:n)(e)}}function M(e){return 45===e?(t.consume(e),A):F(e)}function O(e){return 47===e?(t.consume(e),o="",P):F(e)}function P(e){return 62===e&&htmlRawNames.includes(o.toLowerCase())?(t.consume(e),_):asciiAlpha(e)&&o.length<8?(t.consume(e),o+=String.fromCharCode(e),P):F(e)}function L(e){return 93===e?(t.consume(e),A):F(e)}function A(e){return 62===e?(t.consume(e),_):45===e&&2===s?(t.consume(e),A):F(e)}function _(e){return null===e||markdownLineEnding(e)?(t.exit("htmlFlowData"),N(e)):(t.consume(e),_)}function N(e){return t.exit("htmlFlow"),n(e)}}function tokenizeNextBlank(t,n,i){return function(e){return t.exit("htmlFlowData"),t.enter("lineEndingBlank"),t.consume(e),t.exit("lineEndingBlank"),t.attempt(blankLine,n,i)}}const htmlText={name:"htmlText",tokenize:tokenizeHtmlText};function tokenizeHtmlText(t,n,i){const s=this;let r,a,o,l;return function(e){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(e),c};function c(e){return 33===e?(t.consume(e),u):47===e?(t.consume(e),k):63===e?(t.consume(e),v):asciiAlpha(e)?(t.consume(e),R):i(e)}function u(e){return 45===e?(t.consume(e),d):91===e?(t.consume(e),a="CDATA[",o=0,f):asciiAlpha(e)?(t.consume(e),j):i(e)}function d(e){return 45===e?(t.consume(e),p):i(e)}function p(e){return null===e||62===e?i(e):45===e?(t.consume(e),m):g(e)}function m(e){return(null===e||62===e?i:g)(e)}function g(e){return null===e?i(e):45===e?(t.consume(e),h):markdownLineEnding(e)?(l=g,A(e)):(t.consume(e),g)}function h(e){return 45===e?(t.consume(e),N):g(e)}function f(e){return e===a.charCodeAt(o++)?(t.consume(e),o===a.length?x:f):i(e)}function x(e){return null===e?i(e):93===e?(t.consume(e),y):markdownLineEnding(e)?(l=x,A(e)):(t.consume(e),x)}function y(e){return 93===e?(t.consume(e),b):x(e)}function b(e){return 62===e?N(e):93===e?(t.consume(e),b):x(e)}function j(e){return null===e||62===e?N(e):markdownLineEnding(e)?(l=j,A(e)):(t.consume(e),j)}function v(e){return null===e?i(e):63===e?(t.consume(e),S):markdownLineEnding(e)?(l=v,A(e)):(t.consume(e),v)}function S(e){return(62===e?N:v)(e)}function k(e){return asciiAlpha(e)?(t.consume(e),w):i(e)}function w(e){return 45===e||asciiAlphanumeric(e)?(t.consume(e),w):E(e)}function E(e){return markdownLineEnding(e)?(l=E,A(e)):markdownSpace(e)?(t.consume(e),E):N(e)}function R(e){return 45===e||asciiAlphanumeric(e)?(t.consume(e),R):(47===e||62===e||markdownLineEndingOrSpace(e)?F:i)(e)}function F(e){return 47===e?(t.consume(e),N):58===e||95===e||asciiAlpha(e)?(t.consume(e),T):markdownLineEnding(e)?(l=F,A(e)):markdownSpace(e)?(t.consume(e),F):N(e)}function T(e){return 45===e||46===e||58===e||95===e||asciiAlphanumeric(e)?(t.consume(e),T):I(e)}function I(e){return 61===e?(t.consume(e),C):markdownLineEnding(e)?(l=I,A(e)):markdownSpace(e)?(t.consume(e),I):F(e)}function C(e){return null===e||60===e||61===e||62===e||96===e?i(e):34===e||39===e?(t.consume(e),r=e,M):markdownLineEnding(e)?(l=C,A(e)):markdownSpace(e)?(t.consume(e),C):(t.consume(e),r=void 0,P)}function M(e){return e===r?(t.consume(e),O):null===e?i(e):markdownLineEnding(e)?(l=M,A(e)):(t.consume(e),M)}function O(e){return(62===e||47===e||markdownLineEndingOrSpace(e)?F:i)(e)}function P(e){return null===e||34===e||39===e||60===e||61===e||96===e?i(e):62===e||markdownLineEndingOrSpace(e)?F(e):(t.consume(e),P)}function A(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),factorySpace(t,_,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function _(e){return t.enter("htmlTextData"),l(e)}function N(e){return 62===e?(t.consume(e),t.exit("htmlTextData"),t.exit("htmlText"),n):i(e)}}const labelEnd={name:"labelEnd",tokenize:tokenizeLabelEnd,resolveTo:resolveToLabelEnd,resolveAll:resolveAllLabelEnd},resourceConstruct={tokenize:tokenizeResource},fullReferenceConstruct={tokenize:tokenizeFullReference},collapsedReferenceConstruct={tokenize:tokenizeCollapsedReference};function resolveAllLabelEnd(e){let t=-1;for(var n;++t<e.length;)"labelImage"!==(n=e[t][1]).type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++);return e}function resolveToLabelEnd(e,t){let n=e.length,i=0;var s;let r,a;for(;n--;)if(s=e[n][1],r){if("link"===s.type||"labelLink"===s.type&&s._inactive)break;"enter"===e[n][0]&&"labelLink"===s.type&&(s._inactive=!0)}else if(a){if("enter"===e[n][0]&&("labelImage"===s.type||"labelLink"===s.type)&&!s._balanced&&(r=n,"labelLink"!==s.type)){i=2;break}}else"labelEnd"===s.type&&(a=n);var o,l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[a][1].end)},u={type:"labelText",start:Object.assign({},e[r+i+2][1].end),end:Object.assign({},e[a-2][1].start)};return o=push([["enter",l,t],["enter",c,t]],e.slice(r+1,r+i+3)),o=push(o,[["enter",u,t]]),o=push(o,resolveAll(t.parser.constructs.insideSpan.null,e.slice(r+i+4,a-3),t)),o=push(o,[["exit",u,t],e[a-2],e[a-1],["exit",c,t]]),o=push(o,e.slice(a+1)),o=push(o,[["exit",l,t]]),splice$1(e,r,e.length,o),e}function tokenizeLabelEnd(t,n,i){const s=this;let e=s.events.length,r,a;for(;e--;)if(("labelImage"===s.events[e][1].type||"labelLink"===s.events[e][1].type)&&!s.events[e][1]._balanced){r=s.events[e][1];break}return function(e){return r?r._inactive?l(e):(a=s.parser.defined.includes(normalizeIdentifier(s.sliceSerialize({start:r.end,end:s.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelEnd"),o):i(e)};function o(e){return(40===e?t.attempt(resourceConstruct,n,a?n:l):91===e?t.attempt(fullReferenceConstruct,n,a?t.attempt(collapsedReferenceConstruct,n,l):l):a?n:l)(e)}function l(e){return r._balanced=!0,i(e)}}function tokenizeResource(t,n,i){return function(e){return t.enter("resource"),t.enter("resourceMarker"),t.consume(e),t.exit("resourceMarker"),factoryWhitespace(t,s)};function s(e){return(41===e?o:factoryDestination(t,r,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32))(e)}function r(e){return(markdownLineEndingOrSpace(e)?factoryWhitespace(t,a):o)(e)}function a(e){return(34===e||39===e||40===e?factoryTitle(t,factoryWhitespace(t,o),i,"resourceTitle","resourceTitleMarker","resourceTitleString"):o)(e)}function o(e){return 41===e?(t.enter("resourceMarker"),t.consume(e),t.exit("resourceMarker"),t.exit("resource"),n):i(e)}}function tokenizeFullReference(t,n,i){const s=this;return function(e){return factoryLabel.call(s,t,r,i,"reference","referenceMarker","referenceString")(e)};function r(e){return(s.parser.defined.includes(normalizeIdentifier(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?n:i)(e)}}function tokenizeCollapsedReference(t,n,i){return function(e){return t.enter("reference"),t.enter("referenceMarker"),t.consume(e),t.exit("referenceMarker"),s};function s(e){return 93===e?(t.enter("referenceMarker"),t.consume(e),t.exit("referenceMarker"),t.exit("reference"),n):i(e)}}const labelStartImage={name:"labelStartImage",tokenize:tokenizeLabelStartImage,resolveAll:labelEnd.resolveAll};function tokenizeLabelStartImage(t,n,i){const s=this;return function(e){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(e),t.exit("labelImageMarker"),r};function r(e){return 91===e?(t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelImage"),a):i(e)}function a(e){return(94===e&&"_hiddenFootnoteSupport"in s.parser.constructs?i:n)(e)}}const labelStartLink={name:"labelStartLink",tokenize:tokenizeLabelStartLink,resolveAll:labelEnd.resolveAll};function tokenizeLabelStartLink(t,n,i){const s=this;return function(e){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelLink"),r};function r(e){return(94===e&&"_hiddenFootnoteSupport"in s.parser.constructs?i:n)(e)}}const lineEnding={name:"lineEnding",tokenize:tokenizeLineEnding};function tokenizeLineEnding(t,n){return function(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),factorySpace(t,n,"linePrefix")}}const thematicBreak$1={name:"thematicBreak",tokenize:tokenizeThematicBreak};function tokenizeThematicBreak(t,n,i){let s=0,r;return function(e){return t.enter("thematicBreak"),a(r=e)};function a(e){return(e===r?(t.enter("thematicBreakSequence"),o):markdownSpace(e)?factorySpace(t,a,"whitespace"):s<3||null!==e&&!markdownLineEnding(e)?i:(t.exit("thematicBreak"),n))(e)}function o(e){return e===r?(t.consume(e),s++,o):(t.exit("thematicBreakSequence"),a(e))}}const list$1={name:"list",tokenize:tokenizeListStart,continuation:{tokenize:tokenizeListContinuation},exit:tokenizeListEnd},listItemPrefixWhitespaceConstruct={tokenize:tokenizeListItemPrefixWhitespace,partial:!0},indentConstruct={tokenize:tokenizeIndent,partial:!0};function tokenizeListStart(n,t,i){const s=this;var e=s.events[s.events.length-1];let r=e&&"linePrefix"===e[1].type?e[2].sliceSerialize(e[1],!0).length:0,a=0;return function(e){var t=s.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===t?!s.containerState.marker||e===s.containerState.marker:asciiDigit(e)){if(s.containerState.type||(s.containerState.type=t,n.enter(t,{_container:!0})),"listUnordered"===t)return n.enter("listItemPrefix"),(42===e||45===e?n.check(thematicBreak$1,i,l):l)(e);if(!s.interrupt||49===e)return n.enter("listItemPrefix"),n.enter("listItemValue"),o(e)}return i(e)};function o(e){return asciiDigit(e)&&++a<10?(n.consume(e),o):((!s.interrupt||a<2)&&(s.containerState.marker?e===s.containerState.marker:41===e||46===e)?(n.exit("listItemValue"),l):i)(e)}function l(e){return n.enter("listItemMarker"),n.consume(e),n.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||e,n.check(blankLine,s.interrupt?i:c,n.attempt(listItemPrefixWhitespaceConstruct,d,u))}function c(e){return s.containerState.initialBlankLine=!0,r++,d(e)}function u(e){return markdownSpace(e)?(n.enter("listItemPrefixWhitespace"),n.consume(e),n.exit("listItemPrefixWhitespace"),d):i(e)}function d(e){return s.containerState.size=r+s.sliceSerialize(n.exit("listItemPrefix"),!0).length,t(e)}}function tokenizeListContinuation(t,n,i){const s=this;return s.containerState._closeFlow=void 0,t.check(blankLine,function(e){return s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,factorySpace(t,n,"listItemIndent",s.containerState.size+1)(e)},function(e){return(!s.containerState.furtherBlankLines&&markdownSpace(e)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,t.attempt(indentConstruct,n,r)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,r))(e)});function r(e){return s.containerState._closeFlow=!0,s.interrupt=void 0,factorySpace(t,t.attempt(list$1,n,i),"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e)}}function tokenizeIndent(e,n,i){const s=this;return factorySpace(e,function(e){var t=s.events[s.events.length-1];return(t&&"listItemIndent"===t[1].type&&t[2].sliceSerialize(t[1],!0).length===s.containerState.size?n:i)(e)},"listItemIndent",s.containerState.size+1)}function tokenizeListEnd(e){e.exit(this.containerState.type)}function tokenizeListItemPrefixWhitespace(e,n,i){const s=this;return factorySpace(e,function(e){var t=s.events[s.events.length-1];return(!markdownSpace(e)&&t&&"listItemPrefixWhitespace"===t[1].type?n:i)(e)},"listItemPrefixWhitespace",s.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}const setextUnderline={name:"setextUnderline",tokenize:tokenizeSetextUnderline,resolveTo:resolveToSetextUnderline};function resolveToSetextUnderline(e,t){let n=e.length,i,s,r;for(;n--;)if("enter"===e[n][0]){if("content"===e[n][1].type){i=n;break}"paragraph"===e[n][1].type&&(s=n)}else"content"===e[n][1].type&&e.splice(n,1),r||"definition"!==e[n][1].type||(r=n);var a={type:"setextHeading",start:Object.assign({},e[s][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[s][1].type="setextHeadingText",r?(e.splice(s,0,["enter",a,t]),e.splice(r+1,0,["exit",e[i][1],t]),e[i][1].end=Object.assign({},e[r][1].end)):e[i][1]=a,e.push(["exit",a,t]),e}function tokenizeSetextUnderline(t,n,i){const s=this;let e=s.events.length,r,a;for(;e--;)if("lineEnding"!==s.events[e][1].type&&"linePrefix"!==s.events[e][1].type&&"content"!==s.events[e][1].type){a="paragraph"===s.events[e][1].type;break}return function(e){return s.parser.lazy[s.now().line]||!s.interrupt&&!a?i(e):(t.enter("setextHeadingLine"),t.enter("setextHeadingLineSequence"),o(r=e))};function o(e){return e===r?(t.consume(e),o):(t.exit("setextHeadingLineSequence"),factorySpace(t,l,"lineSuffix")(e))}function l(e){return(null===e||markdownLineEnding(e)?(t.exit("setextHeadingLine"),n):i)(e)}}const flow$1={tokenize:initializeFlow};function initializeFlow(t){const n=this,i=t.attempt(blankLine,function(e){if(null!==e)return t.enter("lineEndingBlank"),t.consume(e),t.exit("lineEndingBlank"),n.currentConstruct=void 0,i;t.consume(e)},t.attempt(this.parser.constructs.flowInitial,e,factorySpace(t,t.attempt(this.parser.constructs.flow,e,t.attempt(content,e)),"linePrefix")));return i;function e(e){if(null!==e)return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),n.currentConstruct=void 0,i;t.consume(e)}}const resolver={resolveAll:createResolver()},string$1=initializeFactory("string"),text$2=initializeFactory("text");function initializeFactory(l){return{tokenize:function(t){const s=this,r=this.parser.constructs[l],n=t.attempt(r,e,i);return e;function e(e){return(o(e)?n:i)(e)}function i(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return o(e)?(t.exit("data"),n(e)):(t.consume(e),a)}function o(e){if(null===e)return 1;var t=r[e];let n=-1;if(t)for(;++n<t.length;){var i=t[n];if(!i.previous||i.previous.call(s,s.previous))return 1}}},resolveAll:createResolver("text"===l?resolveAllLineSuffixes:void 0)}}function createResolver(s){return function(e,t){let n=-1,i;for(;++n<=e.length;)void 0===i?e[n]&&"data"===e[n][1].type&&(i=n,n++):e[n]&&"data"===e[n][1].type||(n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),n=i+2),i=void 0);return s?s(e,t):e}}function resolveAllLineSuffixes(s,r){let a=0;for(;++a<=s.length;)if((a===s.length||"lineEnding"===s[a][1].type)&&"data"===s[a-1][1].type){var o,l=s[a-1][1],c=r.sliceStream(l);let e=c.length,t=-1,n=0,i;for(;e--;){var u=c[e];if("string"==typeof u){for(t=u.length;32===u.charCodeAt(t-1);)n++,t--;if(t)break;t=-1}else if(-2===u)i=!0,n++;else if(-1!==u){e++;break}}n&&(o={type:a===s.length||i||n<2?"lineSuffix":"hardBreakTrailing",start:{line:l.end.line,column:l.end.column-n,offset:l.end.offset-n,_index:l.start._index+e,_bufferIndex:e?t:l.start._bufferIndex+t},end:Object.assign({},l.end)},l.end=Object.assign({},o.start),l.start.offset===l.end.offset?Object.assign(l,o):(s.splice(a,0,["enter",o,r],["exit",o,r]),a+=2)),a++}return s}function createTokenizer(e,i,t){let m=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const n={},s=[];let r=[],g=[];const h={consume:function(e){markdownLineEnding(e)?(m.line++,m.column=1,m.offset+=-3===e?2:1,y()):-1!==e&&(m.column++,m.offset++);m._bufferIndex<0?m._index++:(m._bufferIndex++,m._bufferIndex===r[m._index].length&&(m._bufferIndex=-1,m._index++));f.previous=e},enter:function(e,t){t=t||{};return t.type=e,t.start=x(),f.events.push(["enter",t,f]),g.push(t),t},exit:function(e){var t=g.pop();return t.end=x(),f.events.push(["exit",t,f]),t},attempt:u(function(e,t){d(e,t.from)}),check:u(c),interrupt:u(c,{interrupt:!0})},f={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:o,sliceSerialize:function(e,t){return serializeChunks(o(e),t)},now:x,defineSkip:function(e){n[e.line]=e.column,y()},write:function(e){var t;for(r=push(r,e);m._index<r.length;){var n=r[m._index];if("string"==typeof n)for(t=m._index,m._bufferIndex<0&&(m._bufferIndex=0);m._index===t&&m._bufferIndex<n.length;)l(n.charCodeAt(m._bufferIndex));else l(n)}return null===r[r.length-1]?(d(i,0),f.events=resolveAll(s,f.events,f),f.events):[]}};let a=i.tokenize.call(f,h);return i.resolveAll&&s.push(i),f;function o(e){return sliceChunks(r,e)}function x(){return Object.assign({},m)}function l(e){a=a(e)}function c(e,t){t.restore()}function u(d,p){return function(e,t,n){let i,s,r,a;return Array.isArray(e)?o(e):"tokenize"in e?o([e]):function(i){return function(e){var t=null!==e&&i[e],n=null!==e&&i.null,t=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]];return o(t)(e)}}(e);function o(e){return i=e,(s=0)===e.length?n:l(e[s])}function l(t){return function(e){a=function(){const e=x(),t=f.previous,n=f.currentConstruct,i=f.events.length,s=Array.from(g);return{restore:function(){m=e,f.previous=t,f.currentConstruct=n,f.events.length=i,g=s,y()},from:i}}(),(r=t).partial||(f.currentConstruct=t);if(t.name&&f.parser.constructs.disable.null.includes(t.name))return u();return t.tokenize.call(p?Object.assign(Object.create(f),p):f,h,c,u)(e)}}function c(e){return d(r,a),t}function u(e){return a.restore(),++s<i.length?l(i[s]):n}}}function d(e,t){e.resolveAll&&!s.includes(e)&&s.push(e),e.resolve&&splice$1(f.events,t,f.events.length-t,e.resolve(f.events.slice(t),f)),e.resolveTo&&(f.events=e.resolveTo(f.events,f))}function y(){m.line in n&&m.column<2&&(m.column=n[m.line],m.offset+=n[m.line]-1)}}function sliceChunks(e,t){var n=t.start._index,i=t.start._bufferIndex,s=t.end._index,t=t.end._bufferIndex;let r;return n===s?r=[e[n].slice(i,t)]:(r=e.slice(n,s),-1<i&&(r[0]=r[0].slice(i)),0<t&&r.push(e[s].slice(0,t))),r}function serializeChunks(t,n){let i=-1;var s=[];let r;for(;++i<t.length;){var a=t[i];let e;if("string"==typeof a)e=a;else switch(a){case-5:e="\r";break;case-4:e="\n";break;case-3:e="\r\n";break;case-2:e=n?" ":"\t";break;case-1:if(!n&&r)continue;e=" ";break;default:e=String.fromCharCode(a)}r=-2===a,s.push(e)}return s.join("")}const document$1={[42]:list$1,43:list$1,45:list$1,48:list$1,49:list$1,50:list$1,51:list$1,52:list$1,53:list$1,54:list$1,55:list$1,56:list$1,57:list$1,62:blockQuote},contentInitial={[91]:definition},flowInitial={"-2":codeIndented,"-1":codeIndented,[32]:codeIndented},flow={[35]:headingAtx,42:thematicBreak$1,45:[setextUnderline,thematicBreak$1],60:htmlFlow,61:setextUnderline,95:thematicBreak$1,96:codeFenced,126:codeFenced},string={[38]:characterReference,92:characterEscape},text$1={"-5":lineEnding,"-4":lineEnding,"-3":lineEnding,[33]:labelStartImage,38:characterReference,42:attention,60:[autolink,htmlText],91:labelStartLink,92:[hardBreakEscape,characterEscape],93:labelEnd,95:attention,96:codeText},insideSpan={null:[attention,resolver]},attentionMarkers={null:[42,95]},disable={null:[]};var defaultConstructs=Object.freeze({__proto__:null,document:document$1,contentInitial:contentInitial,flowInitial:flowInitial,flow:flow,string:string,text:text$1,insideSpan:insideSpan,attentionMarkers:attentionMarkers,disable:disable});function parse$1(e={}){const n={defined:[],lazy:{},constructs:combineExtensions([defaultConstructs].concat(e.extensions||[])),content:t(content$1),document:t(document$2),flow:t(flow$1),string:t(string$1),text:t(text$2)};return n;function t(t){return function(e){return createTokenizer(n,t,e)}}}const search=/[\0\t\n\r]/g;function preprocess(){let c=1,u="",d=!0,p;return function(e,t,n){var i=[];let s,r,a,o,l;e=u+e.toString(t),a=0,u="",d&&(65279===e.charCodeAt(0)&&a++,d=void 0);for(;a<e.length;){if(search.lastIndex=a,s=search.exec(e),o=s&&void 0!==s.index?s.index:e.length,l=e.charCodeAt(o),!s){u=e.slice(a);break}if(10===l&&a===o&&p)i.push(-3),p=void 0;else switch(p&&(i.push(-5),p=void 0),a<o&&(i.push(e.slice(a,o)),c+=o-a),l){case 0:i.push(65533),c++;break;case 9:for(r=4*Math.ceil(c/4),i.push(-2);c++<r;)i.push(-1);break;case 10:i.push(-4),c=1;break;default:p=!0,c=1}a=o+1}n&&(p&&i.push(-5),u&&i.push(u),i.push(null));return i}}function postprocess(e){for(;!subtokenize(e););return e}function decodeNumericCharacterReference(e,t){e=Number.parseInt(e,t);return e<9||11===e||13<e&&e<32||126<e&&e<160||55295<e&&e<57344||64975<e&&e<65008||65535==(65535&e)||65534==(65535&e)||1114111<e?"�":String.fromCharCode(e)}const characterEscapeOrReference=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function decodeString(e){return e.replace(characterEscapeOrReference,decode)}function decode(e,t,n){if(t)return t;const i=n.charCodeAt(0);if(35!==i)return decodeNamedCharacterReference(n)||e;{const i=n.charCodeAt(1);t=120===i||88===i;return decodeNumericCharacterReference(n.slice(t?2:1),t?16:10)}}function stringifyPosition(e){return e&&"object"==typeof e?"position"in e||"type"in e?position(e.position):"start"in e||"end"in e?position(e):"line"in e||"column"in e?point$2(e):"":""}function point$2(e){return index$1(e&&e.line)+":"+index$1(e&&e.column)}function position(e){return point$2(e&&e.start)+"-"+point$2(e&&e.end)}function index$1(e){return e&&"number"==typeof e?e:1}const own$6={}.hasOwnProperty,fromMarkdown=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),compiler(n)(postprocess(parse$1(n).document().write(preprocess()(e,t,!0))))};function compiler(e){const l={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:t(b),autolinkProtocol:i,autolinkEmail:i,atxHeading:t(f),blockQuote:t(function(){return{type:"blockquote",children:[]}}),characterEscape:i,characterReference:i,codeFenced:t(h),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:t(h,d),codeText:t(function(){return{type:"inlineCode",value:""}},d),codeTextData:i,data:i,codeFlowValue:i,definition:t(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:t(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:t(x),hardBreakTrailing:t(x),htmlFlow:t(y,d),htmlFlowData:i,htmlText:t(y,d),htmlTextData:i,image:t(function(){return{type:"image",title:null,url:"",alt:null}}),label:d,link:t(b),listItem:t(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){s.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),c("expectingFirstListItemValue"))},listOrdered:t(j,function(){c("expectingFirstListItemValue",!0)}),listUnordered:t(j),paragraph:t(function(){return{type:"paragraph",children:[]}}),reference:function(){c("referenceType","collapsed")},referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:t(f),strong:t(function(){return{type:"strong",children:[]}}),thematicBreak:t(function(){return{type:"thematicBreak"}})},exit:{atxHeading:n(),atxHeadingSequence:function(e){var t=this.stack[this.stack.length-1];t.depth||(e=this.sliceSerialize(e).length,t.depth=e)},autolink:n(),autolinkEmail:function(e){r.call(this,e);var t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){r.call(this,e);var t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)},blockQuote:n(),characterEscapeValue:r,characterReferenceMarkerHexadecimal:o,characterReferenceMarkerNumeric:o,characterReferenceValue:function(e){var t=this.sliceSerialize(e),n=s.characterReferenceType;let i;n?(i=decodeNumericCharacterReference(t,"characterReferenceMarkerNumeric"===n?10:16),c("characterReferenceType")):(n=decodeNamedCharacterReference(t),i=n);t=this.stack.pop();t.value+=i,t.position.end=point$1(e.end)},codeFenced:n(function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),c("flowCodeInside")}),codeFencedFence:function(){s.flowCodeInside||(this.buffer(),c("flowCodeInside",!0))},codeFencedFenceInfo:function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e},codeFencedFenceMeta:function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e},codeFlowValue:r,codeIndented:n(function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:n(function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),codeTextData:r,data:r,definition:n(),definitionDestinationString:function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},definitionLabelString:function(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=normalizeIdentifier(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},emphasis:n(),hardBreakEscape:n(a),hardBreakTrailing:n(a),htmlFlow:n(function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlFlowData:r,htmlText:n(function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlTextData:r,image:n(function(){var e=this.stack[this.stack.length-1];{var t;s.inReference?(t=s.referenceType||"shortcut",e.type+="Reference",e.referenceType=t,delete e.url,delete e.title):(delete e.identifier,delete e.label)}c("referenceType")}),label:function(){var e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];c("inReference",!0),"link"===n.type?(e=e.children,n.children=e):n.alt=t},labelText:function(e){var e=this.sliceSerialize(e),t=this.stack[this.stack.length-2];t.label=decodeString(e),t.identifier=normalizeIdentifier(e).toLowerCase()},lineEnding:function(e){var t=this.stack[this.stack.length-1];s.atHardBreak?(t.children[t.children.length-1].position.end=point$1(e.end),c("atHardBreak")):!s.setextHeadingSlurpLineEnding&&l.canContainEols.includes(t.type)&&(i.call(this,e),r.call(this,e))},link:n(function(){var e=this.stack[this.stack.length-1];{var t;s.inReference?(t=s.referenceType||"shortcut",e.type+="Reference",e.referenceType=t,delete e.url,delete e.title):(delete e.identifier,delete e.label)}c("referenceType")}),listItem:n(),listOrdered:n(),listUnordered:n(),paragraph:n(),referenceString:function(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=normalizeIdentifier(this.sliceSerialize(e)).toLowerCase(),c("referenceType","full")},resourceDestinationString:function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},resourceTitleString:function(){var e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},resource:function(){c("inReference")},setextHeading:n(function(){c("setextHeadingSlurpLineEnding")}),setextHeadingLineSequence:function(e){var t=this.stack[this.stack.length-1];t.depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){c("setextHeadingSlurpLineEnding",!0)},strong:n(),thematicBreak:n()}},s=(configure(l,(e||{}).mdastExtensions||[]),{});return function(e){let t={type:"root",children:[]};var n={stack:[t],tokenStack:[],config:l,enter:p,exit:m,buffer:d,resume:g,setData:c,getData:u},i=[];let s=-1;for(;++s<e.length;){var r;"listOrdered"!==e[s][1].type&&"listUnordered"!==e[s][1].type||("enter"===e[s][0]?i.push(s):(r=i.pop(),s=function(t,e,n){let i=e-1,s=-1,r=!1,a,o,l,c;for(;++i<=n;){var u=t[i];if("listUnordered"===u[1].type||"listOrdered"===u[1].type||"blockQuote"===u[1].type?("enter"===u[0]?s++:s--,c=void 0):"lineEndingBlank"===u[1].type?"enter"===u[0]&&(!a||c||s||(l=l||i),c=void 0):"linePrefix"!==u[1].type&&"listItemValue"!==u[1].type&&"listItemMarker"!==u[1].type&&"listItemPrefix"!==u[1].type&&"listItemPrefixWhitespace"!==u[1].type&&(c=void 0),!s&&"enter"===u[0]&&"listItemPrefix"===u[1].type||-1===s&&"exit"===u[0]&&("listUnordered"===u[1].type||"listOrdered"===u[1].type)){if(a){let e=i;for(o=void 0;e--;){var d=t[e];if("lineEnding"===d[1].type||"lineEndingBlank"===d[1].type)"exit"!==d[0]&&(o&&(t[o][1].type="lineEndingBlank",r=!0),d[1].type="lineEnding",o=e);else if("linePrefix"!==d[1].type&&"blockQuotePrefix"!==d[1].type&&"blockQuotePrefixWhitespace"!==d[1].type&&"blockQuoteMarker"!==d[1].type&&"listItemIndent"!==d[1].type)break}l&&(!o||l<o)&&(a._spread=!0),a.end=Object.assign({},o?t[o][1].start:u[1].end),t.splice(o||i,0,["exit",a,u[2]]),i++,n++}"listItemPrefix"===u[1].type&&(a={type:"listItem",_spread:!1,start:Object.assign({},u[1].start)},t.splice(i,0,["enter",a,u[2]]),i++,n++,l=void 0,c=!0)}}return t[e][1]._spread=r,n}(e,r,s)))}s=-1;for(;++s<e.length;){var a=l[e[s][0]];own$6.call(a,e[s][1].type)&&a[e[s][1].type].call(Object.assign({sliceSerialize:e[s][2].sliceSerialize},n),e[s][1])}{var o;0<n.tokenStack.length&&((o=n.tokenStack[n.tokenStack.length-1])[1]||defaultOnError).call(n,void 0,o[0])}t.position={start:point$1(0<e.length?e[0][1].start:{line:1,column:1,offset:0}),end:point$1(0<e.length?e[e.length-2][1].end:{line:1,column:1,offset:0})},s=-1;for(;++s<l.transforms.length;)t=l.transforms[s](t)||t;return t};function c(e,t){s[e]=t}function u(e){return s[e]}function t(t,n){return function(e){p.call(this,t(e),e),n&&n.call(this,e)}}function d(){this.stack.push({type:"fragment",children:[]})}function p(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:point$1(t.start)},e}function n(t){return function(e){t&&t.call(this,e);m.call(this,e)}}function m(e,t){var n=this.stack.pop(),i=this.tokenStack.pop();if(i)return i[0].type!==e.type&&(t||i[1]||defaultOnError).call(this,e,i[0]),n.position.end=point$1(e.end),n;throw new Error("Cannot close `"+e.type+"` ("+stringifyPosition({start:e.start,end:e.end})+"): it’s not open")}function g(){return toString$2(this.stack.pop())}function i(e){var t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:point$1(e.start)},t.children.push(n)),this.stack.push(n)}function r(e){var t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=point$1(e.end)}function a(){c("atHardBreak",!0)}function o(e){c("characterReferenceType",e.type)}function h(){return{type:"code",lang:null,meta:null,value:""}}function f(){return{type:"heading",depth:void 0,children:[]}}function x(){return{type:"break"}}function y(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function j(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}function point$1(e){return{line:e.line,column:e.column,offset:e.offset}}function configure(e,t){let n=-1;for(;++n<t.length;){var i=t[n];(Array.isArray(i)?configure:extension)(e,i)}}function extension(e,t){let n;for(n in t){var i,s;own$6.call(t,n)&&("canContainEols"===n?(i=t[n])&&e[n].push(...i):"transforms"===n?(i=t[n])&&e[n].push(...i):"enter"!==n&&"exit"!==n||(s=t[n])&&Object.assign(e[n],s))}}function defaultOnError(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+stringifyPosition({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+stringifyPosition({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+stringifyPosition({start:t.start,end:t.end})+") is still open")}function remarkParse(n){Object.assign(this,{Parser:e=>{var t=this.data("settings");return fromMarkdown(e,Object.assign({},t,n,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}const u=function(e,t,n){e={type:String(e)};return null!=n||"string"!=typeof t&&!Array.isArray(t)?Object.assign(e,t):n=t,Array.isArray(n)?e.children=n:null!=n&&(e.value=String(n)),e},own$5={}.hasOwnProperty;function unknown(e,t){var n=t.data||{};return"value"in t&&!(own$5.call(n,"hName")||own$5.call(n,"hProperties")||own$5.call(n,"hChildren"))?e.augment(t,u("text",t.value)):e(t,"div",all(e,t))}function one(e,t,n){var i=t&&t.type;let s;if(i)return("function"==typeof(s=own$5.call(e.handlers,i)?e.handlers[i]:e.passThrough&&e.passThrough.includes(i)?returnNode:e.unknownHandler)?s:unknown)(e,t,n);throw new Error("Expected node, got `"+t+"`")}function returnNode(e,t){return"children"in t?{...t,children:all(e,t)}:t}function all(t,n){var i=[];if("children"in n){var s=n.children;let e=-1;for(;++e<s.length;){var r,a=one(t,s[e],n);a&&(e&&"break"===s[e-1].type&&(Array.isArray(a)||"text"!==a.type||(a.value=a.value.replace(/^\s+/,"")),Array.isArray(a)||"element"!==a.type||(r=a.children[0])&&"text"===r.type&&(r.value=r.value.replace(/^\s+/,""))),Array.isArray(a)?i.push(...a):i.push(a))}}return i}const convert$1=function(e){if(null==e)return ok$1;if("string"==typeof e)return typeFactory$1(e);if("object"==typeof e)return(Array.isArray(e)?anyFactory$1:propsFactory$1)(e);if("function"==typeof e)return castFactory$1(e);throw new Error("Expected function, string, or object as test")};function anyFactory$1(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=convert$1(e[t]);return castFactory$1(function(...e){let t=-1;for(;++t<n.length;)if(n[t].call(this,...e))return!0;return!1})}function propsFactory$1(n){return castFactory$1(function(e){let t;for(t in n)if(e[t]!==n[t])return!1;return!0})}function typeFactory$1(t){return castFactory$1(function(e){return e&&e.type===t})}function castFactory$1(n){return function(e,...t){return Boolean(e&&"object"==typeof e&&"type"in e&&Boolean(n.call(this,e,...t)))}}function ok$1(){return!0}function color$1(e){return e}const CONTINUE$1=!0,EXIT$1=!1,SKIP$1="skip",visitParents$1=function(e,l,c,u){"function"==typeof l&&"function"!=typeof c&&(u=c,c=l,l=null);const d=convert$1(l),p=u?-1:1;!function s(r,a,o){const e=r&&"object"==typeof r?r:{};if("string"==typeof e.type){const n="string"==typeof e.tagName?e.tagName:"string"==typeof e.name?e.name:void 0;Object.defineProperty(t,"name",{value:"node ("+color$1(r.type+(n?"<"+n+">":""))+")"})}return t;function t(){let e=[],t,n,i;if((l&&!d(r,a,o[o.length-1]||null)||(e=toResult$1(c(r,o)))[0]!==EXIT$1)&&r.children&&e[0]!==SKIP$1)for(n=(u?r.children.length:-1)+p,i=o.concat(r);-1<n&&n<r.children.length;){if((t=s(r.children[n],n,i)())[0]===EXIT$1)return t;n="number"==typeof t[1]?t[1]:n+p}return e}}(e,void 0,[])()};function toResult$1(e){return Array.isArray(e)?e:"number"==typeof e?[CONTINUE$1,e]:[e]}const visit$1=function(e,t,n,i){"function"==typeof t&&"function"!=typeof n&&(i=n,n=t,t=null),visitParents$1(e,t,function(e,t){t=t[t.length-1];return n(e,t?t.children.indexOf(e):null,t)},i)},pointStart=point("start"),pointEnd=point("end");function point(t){return function(e){e=e&&e.position&&e.position[t]||{};return{line:e.line||null,column:e.column||null,offset:-1<e.offset?e.offset:null}}}function generated(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)}const own$4={}.hasOwnProperty;function definitions(e){const n=Object.create(null);if(e&&e.type)return visit$1(e,"definition",e=>{var t=clean(e.identifier);t&&!own$4.call(n,t)&&(n[t]=e)}),function(e){e=clean(e);return e&&own$4.call(n,e)?n[e]:null};throw new Error("mdast-util-definitions expected node")}function clean(e){return String(e||"").toUpperCase()}function thematicBreak(e,t){return e(t,"hr")}function wrap(e,t){var n=[];let i=-1;for(t&&n.push(u("text","\n"));++i<e.length;)i&&n.push(u("text","\n")),n.push(e[i]);return t&&0<e.length&&n.push(u("text","\n")),n}function list(e,t){var n={},i=t.ordered?"ol":"ul",s=all(e,t);let r=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++r<s.length;){var a=s[r];if("element"===a.type&&"li"===a.tagName&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}return e(t,i,n,wrap(s,!0))}function footer(e){var t=e.footnoteById,n=e.footnoteOrder;let i=-1;for(var s=[];++i<n.length;){var r,a,o,l=t[n[i].toUpperCase()];l&&(r=String(i+1),((o=(a=[...l.children])[a.length-1])&&"paragraph"===o.type?o.children:a).push({type:"link",url:"#fnref"+r,data:{hProperties:{className:["footnote-back"],role:"doc-backlink"}},children:[{type:"text",value:"↩"}]}),s.push({type:"listItem",data:{hProperties:{id:"fn"+r,role:"doc-endnote"}},children:a,position:l.position}))}return 0===s.length?null:e(null,"section",{className:["footnotes"],role:"doc-endnotes"},wrap([thematicBreak(e),list(e,{type:"list",ordered:!0,children:s})],!0))}function blockquote(e,t){return e(t,"blockquote",wrap(all(e,t),!0))}function hardBreak(e,t){return[e(t,"br"),u("text","\n")]}function code(e,t){var n=t.value?t.value+"\n":"",i=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),s={},i=(i&&(s.className=["language-"+i]),e(t,"code",s,[u("text",n)]));return t.meta&&(i.data={meta:t.meta}),e(t.position,"pre",[i])}function strikethrough(e,t){return e(t,"del",all(e,t))}function emphasis(e,t){return e(t,"em",all(e,t))}function footnoteReference(e,t){var n=e.footnoteOrder,i=String(t.identifier),s=n.indexOf(i),n=String(-1===s?n.push(i):s+1);return e(t,"a",{href:"#fn"+n,className:["footnote-ref"],id:"fnref"+n,role:"doc-noteref"},[e(t.position,"sup",[u("text",n)])])}function footnote(e,t){var n=e.footnoteById,i=e.footnoteOrder;let s=1;for(;s in n;)s++;var r=String(s);return i.push(r),n[r]={type:"footnoteDefinition",identifier:r,children:[{type:"paragraph",children:t.children}],position:t.position},footnoteReference(e,{type:"footnoteReference",identifier:r,position:t.position})}function heading(e,t){return e(t,"h"+t.depth,all(e,t))}function html$2(e,t){return e.dangerous?e.augment(t,u("raw",t.value)):null}var encodeCache={};function getEncodeCache(e){var t,n,i=encodeCache[e];if(!i){for(i=encodeCache[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t]}return i}function encode(e,t,n){var i,s,r,a,o="";for("string"!=typeof t&&(n=t,t=encode.defaultChars),void 0===n&&(n=!0),a=getEncodeCache(t),i=0,s=e.length;i<s;i++)r=e.charCodeAt(i),n&&37===r&&i+2<s&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))?(o+=e.slice(i,i+3),i+=2):r<128?o+=a[r]:55296<=r&&r<=57343?55296<=r&&r<=56319&&i+1<s&&56320<=(r=e.charCodeAt(i+1))&&r<=57343?(o+=encodeURIComponent(e[i]+e[i+1]),i++):o+="%EF%BF%BD":o+=encodeURIComponent(e[i]);return o}encode.defaultChars=";/?:@&=+$,-_.!~*'()#",encode.componentChars="-_.!~*'()";var encode_1=encode;function revert(e,t){var n=t.referenceType;let i="]";return"collapsed"===n?i+="[]":"full"===n&&(i+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type?u("text","!["+t.alt+i):((e=(n=all(e,t))[0])&&"text"===e.type?e.value="["+e.value:n.unshift(u("text","[")),(t=n[n.length-1])&&"text"===t.type?t.value+=i:n.push(u("text",i)),n)}function imageReference(e,t){var n,i=e.definition(t.identifier);return i?(n={src:encode_1(i.url||""),alt:t.alt},null!==i.title&&void 0!==i.title&&(n.title=i.title),e(t,"img",n)):revert(e,t)}function image(e,t){var n={src:encode_1(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)}function inlineCode(e,t){return e(t,"code",[u("text",t.value.replace(/\r?\n|\r/g," "))])}function linkReference(e,t){var n,i=e.definition(t.identifier);return i?(n={href:encode_1(i.url||"")},null!==i.title&&void 0!==i.title&&(n.title=i.title),e(t,"a",n,all(e,t))):revert(e,t)}function link(e,t){var n={href:encode_1(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,all(e,t))}function listItem(t,n,i){var s=all(t,n),e=i?listLoose(i):listItemLoose(n),i={},r=[];if("boolean"==typeof n.checked){let e;s[0]&&"element"===s[0].type&&"p"===s[0].tagName?e=s[0]:(e=t(null,"p",[]),s.unshift(e)),0<e.children.length&&e.children.unshift(u("text"," ")),e.children.unshift(t(null,"input",{type:"checkbox",checked:n.checked,disabled:!0})),i.className=["task-list-item"]}let a=-1;for(;++a<s.length;){var o=s[a];!e&&0===a&&"element"===o.type&&"p"===o.tagName||r.push(u("text","\n")),"element"!==o.type||"p"!==o.tagName||e?r.push(o):r.push(...o.children)}var l=s[s.length-1];return!l||!e&&"tagName"in l&&"p"===l.tagName||r.push(u("text","\n")),t(n,"li",i,r)}function listLoose(e){let t=e.spread;var n=e.children;let i=-1;for(;!t&&++i<n.length;)t=listItemLoose(n[i]);return Boolean(t)}function listItemLoose(e){var t=e.spread;return null==t?1<e.children.length:t}function paragraph(e,t){return e(t,"p",all(e,t))}function root$1(e,t){return e.augment(t,u("root",wrap(all(e,t))))}function strong(e,t){return e(t,"strong",all(e,t))}function table(t,n){var i=n.children;let s=-1;for(var r=n.align||[],a=[];++s<i.length;){var o=i[s].children,l=0===s?"th":"td";let e=(n.align?r:o).length;for(var c=[];e--;){var u=o[e];c[e]=t(u,l,{align:r[e]},u?all(t,u):[])}a[s]=t(i[s],"tr",wrap(c,!0))}return t(n,"table",wrap([t(a[0].position,"thead",wrap([a[0]],!0))].concat(a[1]?t({start:pointStart(a[1]),end:pointEnd(a[a.length-1])},"tbody",wrap(a.slice(1),!0)):[]),!0))}function text(e,t){return e.augment(t,u("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))}const handlers={blockquote:blockquote,break:hardBreak,code:code,delete:strikethrough,emphasis:emphasis,footnoteReference:footnoteReference,footnote:footnote,heading:heading,html:html$2,imageReference:imageReference,image:image,inlineCode:inlineCode,linkReference:linkReference,link:link,listItem:listItem,list:list,paragraph:paragraph,root:root$1,strong:strong,table:table,text:text,thematicBreak:thematicBreak,toml:ignore,yaml:ignore,definition:ignore,footnoteDefinition:ignore};function ignore(){return null}const own$3={}.hasOwnProperty;function factory(e,t){var t=t||{},n=t.allowDangerousHtml||!1;const i={};return r.dangerous=n,r.definition=definitions(e),r.footnoteById=i,r.footnoteOrder=[],r.augment=s,r.handlers={...handlers,...t.handlers},r.unknownHandler=t.unknownHandler,r.passThrough=t.passThrough,visit$1(e,"footnoteDefinition",e=>{var t=String(e.identifier).toUpperCase();own$3.call(i,t)||(i[t]=e)}),r;function s(e,t){var n;return e&&"data"in e&&e.data&&((n=e.data).hName&&((t="element"!==t.type?{type:"element",tagName:"",properties:{},children:[]}:t).tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t)&&t.children&&n.hChildren&&(t.children=n.hChildren),e&&!generated(n="type"in e?e:{position:e})&&(t.position={start:pointStart(n),end:pointEnd(n)}),t}function r(e,t,n,i){return Array.isArray(n)&&(i=n,n={}),s(e,{type:"element",tagName:t,properties:n||{},children:i||[]})}}function toHast(e,t){t=factory(e,t),e=one(t,e,null),t=footer(t);return t&&e.children.push(u("text","\n"),t),Array.isArray(e)?{type:"root",children:e}:e}const remarkRehype=function(e,t){return e&&"run"in e?bridge(e,t):mutate(e)};var remarkRehype$1=remarkRehype;function bridge(i,s){return(e,t,n)=>{i.run(toHast(e,s),t,e=>{n(e)})}}function mutate(t){return e=>toHast(e,t)}class Schema{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function merge(e,t){var n={},i={};let s=-1;for(;++s<e.length;)Object.assign(n,e[s].property),Object.assign(i,e[s].normal);return new Schema(n,i,t)}function normalize(e){return e.toLowerCase()}Schema.prototype.property={},Schema.prototype.normal={},Schema.prototype.space=null;class Info{constructor(e,t){this.property=e,this.attribute=t}}Info.prototype.space=null,Info.prototype.boolean=!1,Info.prototype.booleanish=!1,Info.prototype.overloadedBoolean=!1,Info.prototype.number=!1,Info.prototype.commaSeparated=!1,Info.prototype.spaceSeparated=!1,Info.prototype.commaOrSpaceSeparated=!1,Info.prototype.mustUseProperty=!1,Info.prototype.defined=!1;let powers=0;const boolean=increment(),booleanish=increment(),overloadedBoolean=increment(),number=increment(),spaceSeparated=increment(),commaSeparated=increment(),commaOrSpaceSeparated=increment();function increment(){return 2**++powers}var types=Object.freeze({__proto__:null,boolean:boolean,booleanish:booleanish,overloadedBoolean:overloadedBoolean,number:number,spaceSeparated:spaceSeparated,commaSeparated:commaSeparated,commaOrSpaceSeparated:commaOrSpaceSeparated});const checks=Object.keys(types);class DefinedInfo extends Info{constructor(e,t,n,i){let s=-1;if(super(e,t),mark(this,"space",i),"number"==typeof n)for(;++s<checks.length;){var r=checks[s];mark(this,checks[s],(n&types[r])===types[r])}}}function mark(e,t,n){n&&(e[t]=n)}DefinedInfo.prototype.defined=!0;const own$2={}.hasOwnProperty;function create(e){var t,n={},i={};let s;for(s in e.properties)own$2.call(e.properties,s)&&(t=e.properties[s],t=new DefinedInfo(s,e.transform(e.attributes||{},s),t,e.space),e.mustUseProperty&&e.mustUseProperty.includes(s)&&(t.mustUseProperty=!0),n[s]=t,i[normalize(s)]=s,i[normalize(t.attribute)]=s);return new Schema(n,i,e.space)}const xlink=create({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),xml=create({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function caseSensitiveTransform(e,t){return t in e?e[t]:t}function caseInsensitiveTransform(e,t){return caseSensitiveTransform(e,t.toLowerCase())}const xmlns=create({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:caseInsensitiveTransform,properties:{xmlns:null,xmlnsXLink:null}}),aria=create({transform(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:booleanish,ariaAutoComplete:null,ariaBusy:booleanish,ariaChecked:booleanish,ariaColCount:number,ariaColIndex:number,ariaColSpan:number,ariaControls:spaceSeparated,ariaCurrent:null,ariaDescribedBy:spaceSeparated,ariaDetails:null,ariaDisabled:booleanish,ariaDropEffect:spaceSeparated,ariaErrorMessage:null,ariaExpanded:booleanish,ariaFlowTo:spaceSeparated,ariaGrabbed:booleanish,ariaHasPopup:null,ariaHidden:booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:spaceSeparated,ariaLevel:number,ariaLive:null,ariaModal:booleanish,ariaMultiLine:booleanish,ariaMultiSelectable:booleanish,ariaOrientation:null,ariaOwns:spaceSeparated,ariaPlaceholder:null,ariaPosInSet:number,ariaPressed:booleanish,ariaReadOnly:booleanish,ariaRelevant:null,ariaRequired:booleanish,ariaRoleDescription:spaceSeparated,ariaRowCount:number,ariaRowIndex:number,ariaRowSpan:number,ariaSelected:booleanish,ariaSetSize:number,ariaSort:null,ariaValueMax:number,ariaValueMin:number,ariaValueNow:number,ariaValueText:null,role:null}}),html$1=create({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:caseInsensitiveTransform,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:commaSeparated,acceptCharset:spaceSeparated,accessKey:spaceSeparated,action:null,allow:null,allowFullScreen:boolean,allowPaymentRequest:boolean,allowUserMedia:boolean,alt:null,as:null,async:boolean,autoCapitalize:null,autoComplete:spaceSeparated,autoFocus:boolean,autoPlay:boolean,capture:boolean,charSet:null,checked:boolean,cite:null,className:spaceSeparated,cols:number,colSpan:null,content:null,contentEditable:booleanish,controls:boolean,controlsList:spaceSeparated,coords:number|commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:boolean,defer:boolean,dir:null,dirName:null,disabled:boolean,download:overloadedBoolean,draggable:booleanish,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:boolean,formTarget:null,headers:spaceSeparated,height:number,hidden:boolean,high:number,href:null,hrefLang:null,htmlFor:spaceSeparated,httpEquiv:spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:boolean,itemId:null,itemProp:spaceSeparated,itemRef:spaceSeparated,itemScope:boolean,itemType:spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:boolean,low:number,manifest:null,max:null,maxLength:number,media:null,method:null,min:null,minLength:number,multiple:boolean,muted:boolean,name:null,nonce:null,noModule:boolean,noValidate:boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint: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:boolean,optimum:number,pattern:null,ping:spaceSeparated,placeholder:null,playsInline:boolean,poster:null,preload:null,readOnly:boolean,referrerPolicy:null,rel:spaceSeparated,required:boolean,reversed:boolean,rows:number,rowSpan:number,sandbox:spaceSeparated,scope:null,scoped:boolean,seamless:boolean,selected:boolean,shape:null,size:number,sizes:null,slot:null,span:number,spellCheck:booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:number,step:null,style:null,tabIndex:number,target:null,title:null,translate:null,type:null,typeMustMatch:boolean,useMap:null,value:booleanish,width:number,wrap:null,align:null,aLink:null,archive:spaceSeparated,axis:null,background:null,bgColor:null,border:number,borderColor:null,bottomMargin:number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:boolean,declare:boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:number,leftMargin:number,link:null,longDesc:null,lowSrc:null,marginHeight:number,marginWidth:number,noResize:boolean,noHref:boolean,noShade:boolean,noWrap:boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:number,rules:null,scheme:null,scrolling:booleanish,standby:null,summary:null,text:null,topMargin:number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:boolean,disableRemotePlayback:boolean,prefix:null,property:null,results:number,security:null,unselectable:null}}),svg$1=create({space:"svg",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",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"},transform:caseSensitiveTransform,properties:{about:commaOrSpaceSeparated,accentHeight:number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:number,amplitude:number,arabicForm:null,ascent:number,attributeName:null,attributeType:null,azimuth:number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:number,by:null,calcMode:null,capHeight:number,className:spaceSeparated,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:number,diffuseConstant:number,direction:null,display:null,dur:null,divisor:number,dominantBaseline:null,download:boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:number,enableBackground:null,end:null,event:null,exponent:number,externalResourcesRequired:null,fill:null,fillOpacity:number,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:commaSeparated,g2:commaSeparated,glyphName:commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:number,horizOriginX:number,horizOriginY:number,id:null,ideographic:number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:number,k:number,k1:number,k2:number,k3:number,k4:number,kernelMatrix:commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:number,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:number,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:number,overlineThickness:number,paintOrder:null,panose1:null,path:null,pathLength:number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:number,pointsAtY:number,pointsAtZ:number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:commaOrSpaceSeparated,rev:commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:commaOrSpaceSeparated,requiredFeatures:commaOrSpaceSeparated,requiredFonts:commaOrSpaceSeparated,requiredFormats:commaOrSpaceSeparated,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:number,specularExponent:number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:number,strikethroughThickness:number,string:null,stroke:null,strokeDashArray:commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:number,strokeOpacity:number,strokeWidth:null,style:null,surfaceScale:number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:commaOrSpaceSeparated,tabIndex:number,tableValues:null,target:null,targetX:number,targetY:number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:commaOrSpaceSeparated,to:null,transform:null,u1:null,u2:null,underlinePosition:number,underlineThickness:number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:number,values:null,vAlphabetic:number,vMathematical:number,vectorEffect:null,vHanging:number,vIdeographic:number,version:null,vertAdvY:number,vertOriginX:number,vertOriginY:number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),valid=/^data[-\w.:]+$/i,dash=/-[a-z]/g,cap=/[A-Z]/g;function find(e,t){var n=normalize(t);let i=t,s=Info;if(n in e.normal)return e.property[e.normal[n]];if(4<n.length&&"data"===n.slice(0,4)&&valid.test(t)){if("-"===t.charAt(4)){e=t.slice(5).replace(dash,camelcase);i="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{n=t.slice(4);if(!dash.test(n)){let e=n.replace(cap,kebab);t="data"+(e="-"!==e.charAt(0)?"-"+e:e)}}s=DefinedInfo}return new s(i,t)}function kebab(e){return"-"+e.toLowerCase()}function camelcase(e){return e.charAt(1).toUpperCase()}const hastToReact={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"},html=merge([xml,xlink,xmlns,aria,html$1],"html"),svg=merge([xml,xlink,xmlns,aria,svg$1],"svg"),convert=function(e){if(null==e)return ok;if("string"==typeof e)return typeFactory(e);if("object"==typeof e)return(Array.isArray(e)?anyFactory:propsFactory)(e);if("function"==typeof e)return castFactory(e);throw new Error("Expected function, string, or object as test")};function anyFactory(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=convert(e[t]);return castFactory(function(...e){let t=-1;for(;++t<n.length;)if(n[t].call(this,...e))return!0;return!1})}function propsFactory(n){return castFactory(function(e){let t;for(t in n)if(e[t]!==n[t])return!1;return!0})}function typeFactory(t){return castFactory(function(e){return e&&e.type===t})}function castFactory(n){return function(e,...t){return Boolean(e&&"object"==typeof e&&"type"in e&&Boolean(n.call(this,e,...t)))}}function ok(){return!0}function color(e){return e}const CONTINUE=!0,EXIT=!1,SKIP="skip",visitParents=function(e,l,c,u){"function"==typeof l&&"function"!=typeof c&&(u=c,c=l,l=null);const d=convert(l),p=u?-1:1;!function s(r,a,o){const e=r&&"object"==typeof r?r:{};if("string"==typeof e.type){const n="string"==typeof e.tagName?e.tagName:"string"==typeof e.name?e.name:void 0;Object.defineProperty(t,"name",{value:"node ("+color(r.type+(n?"<"+n+">":""))+")"})}return t;function t(){let e=[],t,n,i;if((l&&!d(r,a,o[o.length-1]||null)||(e=toResult(c(r,o)))[0]!==EXIT)&&r.children&&e[0]!==SKIP)for(n=(u?r.children.length:-1)+p,i=o.concat(r);-1<n&&n<r.children.length;){if((t=s(r.children[n],n,i)())[0]===EXIT)return t;n="number"==typeof t[1]?t[1]:n+p}return e}}(e,void 0,[])()};function toResult(e){return Array.isArray(e)?e:"number"==typeof e?[CONTINUE,e]:[e]}const visit=function(e,t,n,i){"function"==typeof t&&"function"!=typeof n&&(i=n,n=t,t=null),visitParents(e,t,function(e,t){t=t[t.length-1];return n(e,t?t.children.indexOf(e):null,t)},i)};function rehypeFilter(s){if(s.allowedElements&&s.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(s.allowedElements||s.disallowedElements||s.allowElement)return e=>{visit(e,"element",(e,t,n)=>{let i;if(s.allowedElements?i=!s.allowedElements.includes(e.tagName):s.disallowedElements&&(i=s.disallowedElements.includes(e.tagName)),(i=!i&&s.allowElement&&"number"==typeof t?!s.allowElement(e,t,n):i)&&"number"==typeof t)return s.unwrapDisallowed&&e.children?n.children.splice(t,1,...e.children):n.children.splice(t,1),t})}}function whitespace(e){e=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof e&&""===e.replace(/[ \t\n\f\r]/g,"")}function stringify$1(e){return e.join(" ").trim()}function stringify(e,t){t=t||{};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}var COMMENT_REGEX=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,NEWLINE_REGEX=/\n/g,WHITESPACE_REGEX=/^\s*/,PROPERTY_REGEX=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,COLON_REGEX=/^:\s*/,VALUE_REGEX=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,SEMICOLON_REGEX=/^[;\s]*/,TRIM_REGEX=/^\s+|\s+$/g,NEWLINE="\n",FORWARD_SLASH="/",ASTERISK="*",EMPTY_STRING="",TYPE_COMMENT="comment",TYPE_DECLARATION="declaration",inlineStyleParser=function(i,n){if("string"!=typeof i)throw new TypeError("First argument must be a string");if(!i)return[];n=n||{};var s=1,r=1;function a(e){var t=e.match(NEWLINE_REGEX),t=(t&&(s+=t.length),e.lastIndexOf(NEWLINE));r=~t?e.length-t:r+e.length}function o(){var t={line:s,column:r};return function(e){return e.position=new l(t),d(),e}}function l(e){this.start=e,this.end={line:s,column:r},this.source=n.source}function c(e){var t=new Error(n.source+":"+s+":"+r+": "+e);if(t.reason=e,t.filename=n.source,t.line=s,t.column=r,t.source=i,!n.silent)throw t}function u(e){var t,e=e.exec(i);if(e)return a(t=e[0]),i=i.slice(t.length),e}function d(){u(WHITESPACE_REGEX)}function e(e){var t;for(e=e||[];t=p();)!1!==t&&e.push(t)}function p(){var e=o();if(FORWARD_SLASH==i.charAt(0)&&ASTERISK==i.charAt(1)){for(var t,n=2;EMPTY_STRING!=i.charAt(n)&&(ASTERISK!=i.charAt(n)||FORWARD_SLASH!=i.charAt(n+1));)++n;return EMPTY_STRING===i.charAt((n+=2)-1)?c("End of comment missing"):(t=i.slice(2,n-2),r+=2,a(t),i=i.slice(n),r+=2,e({type:TYPE_COMMENT,comment:t}))}}l.prototype.content=i,d();var t,m=[];for(e(m);t=function(){var e,t=o(),n=u(PROPERTY_REGEX);if(n)return p(),u(COLON_REGEX)?(e=u(VALUE_REGEX),t=t({type:TYPE_DECLARATION,property:trim(n[0].replace(COMMENT_REGEX,EMPTY_STRING)),value:e?trim(e[0].replace(COMMENT_REGEX,EMPTY_STRING)):EMPTY_STRING}),u(SEMICOLON_REGEX),t):c("property missing ':'")}();)!1!==t&&(m.push(t),e(m));return m};function trim(e){return e?e.replace(TRIM_REGEX,EMPTY_STRING):EMPTY_STRING}var parse=inlineStyleParser;function StyleToObject(e,t){var n=null;if(e&&"string"==typeof e)for(var i,s,r,a=parse(e),o="function"==typeof t,l=0,c=a.length;l<c;l++)s=(i=a[l]).property,r=i.value,o?t(s,r,i):r&&((n=n||{})[s]=r);return n}var styleToObject=StyleToObject;const own$1={}.hasOwnProperty,tableElements=new Set(["table","thead","tbody","tfoot","tr"]);function childrenToReact(e,t){var n,i=[];let s=-1;for(;++s<t.children.length;)"element"===(n=t.children[s]).type?i.push(toReact(e,n,s,t)):"text"===n.type?"element"===t.type&&tableElements.has(t.tagName)&&whitespace(n)||i.push(n.value):"raw"!==n.type||e.options.skipHtml||i.push(n.value);return i}function toReact(e,t,n,i){var s=e.options,r=e.schema,a=t.tagName,o={};let l;if("html"===r.space&&"svg"===a&&(c=svg,e.schema=c),t.properties)for(l in t.properties)own$1.call(t.properties,l)&&addProperty(o,l,t.properties[l],e);"ol"!==a&&"ul"!==a||e.listDepth++;var c=childrenToReact(e,t),r=("ol"!==a&&"ul"!==a||e.listDepth--,e.schema=r,t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}}),u=s.components&&own$1.call(s.components,a)?s.components[a]:a,d="string"==typeof u||u===React$1.Fragment;if(ReactIs.isValidElementType(u))return o.key=[a,r.start.line,r.start.column,n].join("-"),"a"===a&&s.linkTarget&&(o.target="function"==typeof s.linkTarget?s.linkTarget(String(o.href||""),t.children,"string"==typeof o.title?o.title:null):s.linkTarget),"a"===a&&s.transformLinkUri&&(o.href=s.transformLinkUri(String(o.href||""),t.children,"string"==typeof o.title?o.title:null)),d||"code"!==a||"element"!==i.type||"pre"===i.tagName||(o.inline=!0),d||"h1"!==a&&"h2"!==a&&"h3"!==a&&"h4"!==a&&"h5"!==a&&"h6"!==a||(o.level=Number.parseInt(a.charAt(1),10)),"img"===a&&s.transformImageUri&&(o.src=s.transformImageUri(String(o.src||""),String(o.alt||""),"string"==typeof o.title?o.title:null)),d||"li"!==a||"element"!==i.type||(n=getInputElement(t),o.checked=n&&n.properties?Boolean(n.properties.checked):null,o.index=getElementsBeforeCount(i,t),o.ordered="ol"===i.tagName),d||"ol"!==a&&"ul"!==a||(o.ordered="ol"===a,o.depth=e.listDepth),"td"!==a&&"th"!==a||(o.align&&(o.style||(o.style={}),o.style.textAlign=o.align,delete o.align),d)||(o.isHeader="th"===a),d||"tr"!==a||"element"!==i.type||(o.isHeader=Boolean("thead"===i.tagName)),s.sourcePos&&(o["data-sourcepos"]=flattenPosition(r)),!d&&s.rawSourcePos&&(o.sourcePosition=t.position),!d&&s.includeElementIndex&&(o.index=getElementsBeforeCount(i,t),o.siblingCount=getElementsBeforeCount(i)),d||(o.node=t),0<c.length?React$1.createElement(u,o,c):React$1.createElement(u,o);throw new TypeError(`Component for name \`${a}\` not defined or is not renderable`)}function getInputElement(e){let t=-1;for(;++t<e.children.length;){var n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}function getElementsBeforeCount(e,t){let n=-1,i=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&i++;return i}function addProperty(e,t,n,i){i=find(i.schema,t);let s=n;null!==s&&void 0!==s&&s==s&&(Array.isArray(s)&&(s=(i.commaSeparated?stringify:stringify$1)(s)),"style"===i.property&&"string"==typeof s&&(s=parseStyle(s)),i.space&&i.property?e[own$1.call(hastToReact,i.property)?hastToReact[i.property]:i.property]=s:i.attribute&&(e[i.attribute]=s))}function parseStyle(e){const n={};try{styleToObject(e,function(e,t){e="-ms-"===e.slice(0,4)?"ms-"+e.slice(4):e;n[e.replace(/-([a-z])/g,styleReplacer)]=t})}catch{}return n}function styleReplacer(e,t){return t.toUpperCase()}function flattenPosition(e){return[e.start.line,":",e.start.column,"-",e.end.line,":",e.end.column].map(e=>String(e)).join("")}const own={}.hasOwnProperty,changelog="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",deprecated={renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function ReactMarkdown(e){for(const r in deprecated){var t;own.call(deprecated,r)&&own.call(e,r)&&(t=deprecated[r],console.warn(`[react-markdown] Warning: please ${t.to?`use \`${t.to}\` instead of`:"remove"} \`${r}\` (see <${changelog}#${t.id}> for more info)`),delete deprecated[r])}var n=unified().use(remarkParse).use(e.remarkPlugins||e.plugins||[]).use(remarkRehype$1,{allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(rehypeFilter,e),i=new VFile$1,n=("string"==typeof e.children?i.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`),n.runSync(n.parse(i),i));if("root"!==n.type)throw new TypeError("Expected a `root` node");let s=React$1.createElement(React$1.Fragment,{},childrenToReact({options:e,schema:html,listDepth:0},n));return s=e.className?React$1.createElement("div",{className:e.className},s):s}ReactMarkdown.defaultProps={transformLinkUri:uriTransformer},ReactMarkdown.propTypes={children:PropTypes.string,className:PropTypes.string,allowElement:PropTypes.func,allowedElements:PropTypes.arrayOf(PropTypes.string),disallowedElements:PropTypes.arrayOf(PropTypes.string),unwrapDisallowed:PropTypes.bool,remarkPlugins:PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.object,PropTypes.func,PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.object,PropTypes.func]))])),rehypePlugins:PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.object,PropTypes.func,PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.object,PropTypes.func]))])),sourcePos:PropTypes.bool,rawSourcePos:PropTypes.bool,skipHtml:PropTypes.bool,includeElementIndex:PropTypes.bool,transformLinkUri:PropTypes.oneOfType([PropTypes.func,PropTypes.bool]),linkTarget:PropTypes.oneOfType([PropTypes.func,PropTypes.string]),transformImageUri:PropTypes.func,components:PropTypes.object};var toString$1=toString_1,upperFirst=upperFirst_1;function capitalize$1(e){return upperFirst(toString$1(e).toLowerCase())}var capitalize_1=capitalize$1,capitalize=capitalize_1,createCompounder=_createCompounder,camelCase=_createCompounder(function(e,t,n){return t=t.toLowerCase(),e+(n?capitalize(t):t)}),camelCase_1=camelCase,baseIndexOf=_baseIndexOf,isArrayLike=isArrayLike_1,isString=isString_1,toInteger=toInteger_1,values=values_1,nativeMax=Math.max;function includes(e,t,n,i){e=isArrayLike(e)?e:values(e),n=n&&!i?toInteger(n):0;i=e.length;return n<0&&(n=nativeMax(i+n,0)),isString(e)?n<=i&&-1<e.indexOf(t,n):!!i&&-1<baseIndexOf(e,t,n)}var includes_1=includes,toString=toString_1;function toUpper(e){return toString(e).toUpperCase()}var toUpper_1=toUpper,LibraryAddCheck={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(LibraryAddCheck,"__esModule",{value:!0}),LibraryAddCheck.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7.53 12L9 10.5l1.4-1.41 2.07 2.08L17.6 6 19 7.41 12.47 14zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6z"}),"LibraryAddCheck"),default_1=LibraryAddCheck.default=_default,baseFlatten=_baseFlatten,map=map_1;function flatMap(e,t){return baseFlatten(map(e,t),1)}var flatMap_1=flatMap,baseGet=_baseGet,baseSlice=_baseSlice;function parent$1(e,t){return t.length<2?e:baseGet(e,baseSlice(t,0,-1))}var _parent=parent$1,castPath=_castPath,last=last_1,parent=parent$1,toKey=_toKey;function baseUnset$1(e,t){return t=castPath(t,e),null==(e=parent(e,t))||delete e[toKey(last(t))]}var _baseUnset=baseUnset$1,baseUnset=baseUnset$1,isIndex=_isIndex,arrayProto=Array.prototype,splice=arrayProto.splice;function basePullAt$1(e,t){for(var n=e?t.length:0,i=n-1;n--;){var s,r=t[n];n!=i&&r===s||(isIndex(s=r)?splice.call(e,r,1):baseUnset(e,r))}return e}var _basePullAt=basePullAt$1,baseIteratee=_baseIteratee,basePullAt=basePullAt$1;function remove(e,t){var n=[];if(e&&e.length){var i=-1,s=[],r=e.length;for(t=baseIteratee(t);++i<r;){var a=e[i];t(a,i,e)&&(n.push(a),s.push(i))}basePullAt(e,s)}return n}var SchemaIO,LoadingStatus,FormStatus,FormValidations,UiInfo,IconImportStatus,DistributionType,MimeType,FileItemTypeNames,EngineDeploymentModel,EngineFieldType,GPUSupported,remove_1=remove;const SLICE_NAME="engineCenterNew",DEFAULT_ACCEPTABLE_FILE_TYPES=(!function(e){e.Input="input",e.Output="output",e.Both="both"}(SchemaIO=SchemaIO||{}),!function(e){e.Failed="failed",e.Idle="idle",e.Pending="pending"}(LoadingStatus=LoadingStatus||{}),!function(e){e.Pending="pending",e.Loading="loading",e.Submitting="submitting",e.Success="success",e.Error="error"}(FormStatus=FormStatus||{}),!function(e){e.Pending="pending",e.EmptyFieldError="This field should not be empty",e.SpecialCharError="This field cannot contain special characters"}(FormValidations=FormValidations||{}),!function(e){e.PanelClosed="closed",e.PanelOpen="open"}(UiInfo=UiInfo||{}),!function(e){e.Idle="idle",e.Uploading="uploading",e.Uploaded="uploaded",e.Failed="failed",e.Aborted="aborted"}(IconImportStatus=IconImportStatus||{}),!function(e){e.Private="private",e.OrgLocked="org_locked",e.Sharable="sharable",e.Public="public",e.Marketplace="marketplace",e.InstanceLocked="instance_locked"}(DistributionType=DistributionType||{}),!function(e){e.ApplicationJson="application/json",e.ApplicationMsWord="application/msword",e.ApplicationPdf="application/pdf",e.ApplicationRtf="application/rtf",e.ApplicationSmil="application/smil+xml",e.ApplicationTtml="application/ttml+xml",e.ApplicationVeritoneAion="application/vnd.veritone.aion+json",e.ApplicationMsOutlook="application/vnd.ms-outlook",e.ApplicationMsPowerpoint="application/vnd.ms-powerpoint",e.ApplicationDocument="application/vnd.openxmlformats-officedocument.wordprocessingml.document",e.ApplicationSpreadsheet="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",e.ApplicationPresentation="application/vnd.openxmlformats-officedocument.presentationml.presentation",e.ApplicationOasisDoc="application/vnd.oasis.opendocument.text",e.ApplicationOasisSpreadsheet="application/vnd.oasis.opendocument.spreadsheet",e.ApplicationXFlv="application/x-flv",e.ApplicationXml="application/xml",e.ApplicationFormUrlEncoded="application/x-www-form-urlencoded",e.ImageJpeg="image/jpeg",e.ImagePng="image/png",e.ImageTiff="image/tiff",e.ImageGig="image/gif",e.TextPlain="text/plain",e.TextHtml="text/html",e.TextCsv="text/csv",e.TextPlainCharset="text/plain; charset=utf-8",e.AudioAac="audio/aac",e.AudioFlac="audio/flac",e.AudioMidi="audio/midi",e.AudioMp4="audio/mp4",e.AudioMpeg="audio/mpeg",e.AudioWav="audio/wav",e.AudioXWav="audio/x-wav",e.AudioWebm="audio/webm",e.VideoMp4="video/mp4",e.VideoMpeg="video/mpeg",e.VideoOgg="video/ogg",e.VideoQuicktime="video/quicktime",e.VideoWebm="video/webm",e.VideoM4v="video/x-m4v",e.VideoMsWmv="video/x-ms-wmv",e.VideoMsvideo="video/x-msvideo",e.Message="message/rfc822"}(MimeType=MimeType||{}),!function(e){e.Image="image",e.Video="video",e.Audio="audio",e.Text="text"}(FileItemTypeNames=FileItemTypeNames||{}),[{name:"Image",type:FileItemTypeNames.Image,extensions:[MimeType.ImageJpeg,MimeType.ImagePng,MimeType.ImageTiff,MimeType.ImageGig]},{name:"Video",type:FileItemTypeNames.Video,extensions:[MimeType.VideoMp4,MimeType.VideoMpeg,MimeType.VideoOgg,MimeType.VideoQuicktime,MimeType.VideoWebm,MimeType.VideoM4v,MimeType.VideoMsWmv,MimeType.VideoMsvideo]},{name:"Audio",type:FileItemTypeNames.Audio,extensions:[MimeType.AudioAac,MimeType.AudioFlac,MimeType.AudioMidi,MimeType.AudioMp4,MimeType.AudioMpeg,MimeType.AudioWav,MimeType.AudioXWav,MimeType.AudioWebm]},{name:"Documents",type:FileItemTypeNames.Text,extensions:[MimeType.TextPlain,MimeType.TextHtml,MimeType.TextCsv,MimeType.TextPlainCharset,MimeType.ApplicationJson,MimeType.ApplicationMsWord,MimeType.ApplicationPdf,MimeType.ApplicationRtf,MimeType.ApplicationSmil,MimeType.ApplicationTtml,MimeType.ApplicationVeritoneAion,MimeType.ApplicationMsOutlook,MimeType.ApplicationMsPowerpoint,MimeType.ApplicationDocument,MimeType.ApplicationSpreadsheet,MimeType.ApplicationPresentation,MimeType.ApplicationOasisDoc,MimeType.ApplicationOasisSpreadsheet,MimeType.ApplicationXFlv,MimeType.ApplicationXml,MimeType.ApplicationFormUrlEncoded,MimeType.Message]}]);function isEngineDeploymentModel(e){return lodash.exports.includes(EngineDeploymentModel,e)}!function(e){e.FullyNetworkIsolated="FullyNetworkIsolated",e.MostlyNetworkIsolated="MostlyNetworkIsolated",e.NonNetworkIsolated="NonNetworkIsolated",e.HumanReview="HumanReview"}(EngineDeploymentModel=EngineDeploymentModel||{}),function(e){e.Number="Number",e.Picklist="Picklist",e.MultiPicklist="MultiPicklist",e.Text="Text",e.SchemaSelection="SchemaSelection"}(EngineFieldType=EngineFieldType||{}),function(e){e.NONE="none",e.AWS_P2="aws_p2",e.AWS_P3="aws_p3"}(GPUSupported=GPUSupported||{});var index=Object.freeze({__proto__:null,SLICE_NAME:SLICE_NAME,get SchemaIO(){return SchemaIO},get LoadingStatus(){return LoadingStatus},get FormStatus(){return FormStatus},get FormValidations(){return FormValidations},get UiInfo(){return UiInfo},get IconImportStatus(){return IconImportStatus},get DistributionType(){return DistributionType},get MimeType(){return MimeType},get FileItemTypeNames(){return FileItemTypeNames},DEFAULT_ACCEPTABLE_FILE_TYPES:DEFAULT_ACCEPTABLE_FILE_TYPES,isEngineDeploymentModel:isEngineDeploymentModel,get EngineDeploymentModel(){return EngineDeploymentModel},get EngineFieldType(){return EngineFieldType},get GPUSupported(){return GPUSupported}});const namespace$4="uiState",initialState$3={status:LoadingStatus.Idle},slice$3=createSlice({name:SLICE_NAME+"/"+namespace$4,initialState:initialState$3,reducers:{}}),actions$4=slice$3.actions;var uiState$1=slice$3.reducer;const namespace$3="engineFormState",initialState$2={engine:{id:"",name:"",description:"",website:"",iconPath:"",gpuSupported:GPUSupported.NONE,cpuResourceMcpu:1024,isPublic:!1,distributionType:DistributionType.Private,class:"",capability:{id:"",name:""},mode:"",deploymentModel:"",inputTypes:[],customFields:[],inputSchemas:[],outputSchemas:[],isTrainable:!1,supportedInputTypes:[],supportedLibraryTypes:[],includedLibraries:[],models:[],markdown:"",standaloneJobTemplates:{upload:"",reprocess:""},entityTags:[]},step:[],isLoadingExistingEngineData:!1,isFetchingDataRegistries:!1,isEditForm:!1,isResumeSession:!1,formValidations:FormValidations.Pending,formStatus:FormStatus.Pending,uiInfo:UiInfo.PanelClosed,iconImportStatus:IconImportStatus.Idle,dataRegistries:[]},slice$2=createSlice({name:SLICE_NAME+"/"+namespace$3,initialState:initialState$2,reducers:{createEngineStart(e,t){e.formStatus=FormStatus.Submitting},updateEngineStart(e,t){e.formStatus=FormStatus.Submitting},createEngineSuccess(e,{payload:t}){e.formStatus=FormStatus.Success,set_1(e.engine,"id",t)},createEngineFailed(e,t){e.formStatus=FormStatus.Error},stepper(e,t){e.step=t.payload},updateEngineFormField(e,t){var{field:t,value:n}=t.payload;set_1(e.engine,t,n)},updateCapability(e,t){t=t.payload.payload;e.engine.capability.id=t.split(",")[0],e.engine.capability.name=t.split(",")[1]},addCustomField(e,t){e.engine.customFields=concat_1(e.engine.customFields,t.payload)},updateCustomField(e,t){var{customField:t,index:n}=t.payload;set_1(e,`engine.customFields[${n}]`,t)},removeCustomField(e,t){e.engine.customFields.splice(t.payload,1)},clearCustomFields(e){e.engine.customFields=[]},createNewEngine(e){e.isLoadingExistingEngineData=!1,e.isEditForm=!1},editEngine(e,t){e.isLoadingExistingEngineData=!0,e.isEditForm=!0},setEditEngineExistingData(e,t){e.isLoadingExistingEngineData=!1,merge_1(e.engine,t.payload)},fetchDataRegistries(e){e.isFetchingDataRegistries=!0},fetchDataRegistriesSucceeded(e,t){e.isFetchingDataRegistries=!1;t=t.payload.dataRegistries;set_1(e,"dataRegistries",t)},fetchDataRegistriesFailed(e){e.isFetchingDataRegistries=!1},addSchemas(e,t){var{schemas:t,schemaType:n}=t.payload;e.engine[n+"Schemas"]=unionBy_1(e.engine[n+"Schemas"],t,"id")},updateSchemas(e,t){const{updatedSchemas:n,schemaType:i,dataRegistryId:s}=t.payload;t=get_1(e,`engine.${i}Schemas`),t=filter_1(t,e=>e.dataRegistryId!==s);set_1(e,`engine.${i}Schemas`,[...t,...n])},removeSchema(e,t){var{schemaType:t,index:n}=t.payload;e.engine[t+"Schemas"].splice(n,1)},clearSchemas(e,t){t=t.payload.schemaType;e.engine[t+"Schemas"]=[]},resumeSession(e,{payload:t}){set_1(e,"engine",t),set_1(e,"isResumeSession",!0)},clearSession(e){localStorage.removeItem("engineOnboardingSession"),set_1(e,"engine",initialState$2.engine)}}}),actions$3=slice$2.actions;var engineFormState$1=slice$2.reducer;const namespace$2="iconUploadState",initialState$1={file:null,status:IconImportStatus.Idle},slice$1=createSlice({name:SLICE_NAME+"/"+namespace$2,initialState:initialState$1,reducers:{uploadIconStart(e,{payload:t}){e.file=t.file,e.status=IconImportStatus.Uploading},updateIcon(e,{payload:t}){e.file=Object.assign(Object.assign({},e.file),t)},uploadIconSuccess(e){e.status=IconImportStatus.Uploaded},uploadIconFailed(e,{payload:t}){e.file=null,e.error=t,e.status=IconImportStatus.Failed},deleteLocalIcon(e){e.file=null}}}),actions$2=slice$1.actions;var iconUploadState=slice$1.reducer;const namespace$1="engineClassesState",initialState={status:FormStatus.Pending,engineClasses:{}},slice=createSlice({name:SLICE_NAME+"/"+namespace$1,initialState:initialState,reducers:{getEngineClassesStart(e,t){e.status=FormStatus.Loading},getEngineClassesSuccess(e,{payload:t}){e.engineClasses=t,e.status=FormStatus.Success},getEngineClassesFailed(e,{payload:t}){e.error=t,e.status=FormStatus.Error}}}),actions$1=slice.actions;var engineClassesState=slice.reducer;const namespace=SLICE_NAME,actions={[namespace$4]:actions$4,[namespace$3]:actions$3,[namespace$2]:actions$2,[namespace$1]:actions$1},rootReducer=combineReducers({[namespace$4]:uiState$1,[namespace$3]:engineFormState$1,[namespace$2]:iconUploadState,[namespace$1]:engineClassesState});function __rest(e,t){var n={};for(s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,s=Object.getOwnPropertySymbols(e);i<s.length;i++)t.indexOf(s[i])<0&&Object.prototype.propertyIsEnumerable.call(e,s[i])&&(n[s[i]]=e[s[i]]);return n}function __awaiter(e,a,o,l){return new(o=o||Promise)(function(n,t){function i(e){try{r(l.next(e))}catch(e){t(e)}}function s(e){try{r(l.throw(e))}catch(e){t(e)}}function r(e){var t;e.done?n(e.value):((t=e.value)instanceof o?t:new o(function(e){e(t)})).then(i,s)}r((l=l.apply(e,a||[])).next())})}const getClasses=(e,t)=>__awaiter(void 0,void 0,void 0,function*(){return yield baseGraphQLApiWithError(Object.assign({query:`query($type: String) {
|
|
2
2
|
engineCategories(type: $type, limit: 999) {
|
|
3
3
|
records {
|
|
4
4
|
id
|