creevey 0.9.0-non-webpack.2.fix-capture-element → 0.9.0
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/.yarnrc.yml +1 -0
- package/CHANGELOG.md +51 -0
- package/README.md +4 -3
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +5 -0
- package/dist/cli.js.map +1 -0
- package/dist/client/addon/components/Addon.d.ts +8 -0
- package/dist/client/addon/components/Addon.js +57 -0
- package/dist/client/addon/components/Addon.js.map +1 -0
- package/{lib/types → dist}/client/addon/components/Icons.d.ts +7 -7
- package/dist/client/addon/components/Icons.js +18 -0
- package/dist/client/addon/components/Icons.js.map +1 -0
- package/{lib/types → dist}/client/addon/components/Panel.d.ts +9 -9
- package/dist/client/addon/components/Panel.js +32 -0
- package/dist/client/addon/components/Panel.js.map +1 -0
- package/{lib/types → dist}/client/addon/components/TestSelect.d.ts +8 -8
- package/dist/client/addon/components/TestSelect.js +33 -0
- package/dist/client/addon/components/TestSelect.js.map +1 -0
- package/dist/client/addon/components/Tools.d.ts +6 -0
- package/dist/client/addon/components/Tools.js +89 -0
- package/dist/client/addon/components/Tools.js.map +1 -0
- package/{lib/types/client/addon/Manager.d.ts → dist/client/addon/controller.d.ts} +38 -37
- package/dist/client/addon/controller.js +208 -0
- package/dist/client/addon/controller.js.map +1 -0
- package/dist/client/addon/decorator.d.ts +1 -0
- package/dist/client/addon/decorator.js +6 -0
- package/dist/client/addon/decorator.js.map +1 -0
- package/dist/client/addon/index.d.ts +2 -0
- package/dist/client/addon/index.js +19 -0
- package/dist/client/addon/index.js.map +1 -0
- package/dist/client/addon/manager.d.ts +1 -0
- package/dist/client/addon/manager.js +41 -0
- package/dist/client/addon/manager.js.map +1 -0
- package/dist/client/addon/preset.d.ts +2 -0
- package/dist/client/addon/preset.js +6 -0
- package/dist/client/addon/preset.js.map +1 -0
- package/dist/client/addon/preview.d.ts +4 -0
- package/dist/client/addon/preview.js +8 -0
- package/dist/client/addon/preview.js.map +1 -0
- package/{lib/types → dist}/client/addon/readyForCapture.d.ts +6 -6
- package/dist/client/addon/readyForCapture.js +7 -0
- package/dist/client/addon/readyForCapture.js.map +1 -0
- package/{lib/types → dist}/client/addon/utils.d.ts +3 -2
- package/dist/client/addon/utils.js +27 -0
- package/dist/client/addon/utils.js.map +1 -0
- package/{lib/types → dist}/client/addon/withCreevey.d.ts +25 -24
- package/dist/client/addon/withCreevey.js +286 -0
- package/dist/client/addon/withCreevey.js.map +1 -0
- package/dist/client/shared/components/ImagesView/BlendView.d.ts +5 -0
- package/dist/client/shared/components/ImagesView/BlendView.js +74 -0
- package/dist/client/shared/components/ImagesView/BlendView.js.map +1 -0
- package/dist/client/shared/components/ImagesView/ImagesView.d.ts +9 -0
- package/dist/client/shared/components/ImagesView/ImagesView.js +46 -0
- package/dist/client/shared/components/ImagesView/ImagesView.js.map +1 -0
- package/dist/client/shared/components/ImagesView/SideBySideView.d.ts +5 -0
- package/dist/client/shared/components/ImagesView/SideBySideView.js +121 -0
- package/dist/client/shared/components/ImagesView/SideBySideView.js.map +1 -0
- package/dist/client/shared/components/ImagesView/SlideView.d.ts +5 -0
- package/dist/client/shared/components/ImagesView/SlideView.js +136 -0
- package/dist/client/shared/components/ImagesView/SlideView.js.map +1 -0
- package/dist/client/shared/components/ImagesView/SwapView.d.ts +5 -0
- package/dist/client/shared/components/ImagesView/SwapView.js +72 -0
- package/dist/client/shared/components/ImagesView/SwapView.js.map +1 -0
- package/{lib/types/client/shared/components/ImagesView/ImagesView.d.ts → dist/client/shared/components/ImagesView/common.d.ts} +15 -24
- package/dist/client/shared/components/ImagesView/common.js +14 -0
- package/dist/client/shared/components/ImagesView/common.js.map +1 -0
- package/dist/client/shared/components/ImagesView/index.d.ts +5 -0
- package/dist/client/shared/components/ImagesView/index.js +14 -0
- package/dist/client/shared/components/ImagesView/index.js.map +1 -0
- package/{lib/types → dist}/client/shared/components/PageFooter/PageFooter.d.ts +8 -8
- package/dist/client/shared/components/PageFooter/PageFooter.js +25 -0
- package/dist/client/shared/components/PageFooter/PageFooter.js.map +1 -0
- package/{lib/types → dist}/client/shared/components/PageFooter/Paging.d.ts +7 -7
- package/dist/client/shared/components/PageFooter/Paging.js +68 -0
- package/dist/client/shared/components/PageFooter/Paging.js.map +1 -0
- package/{lib/types → dist}/client/shared/components/PageHeader/ImagePreview.d.ts +14 -12
- package/dist/client/shared/components/PageHeader/ImagePreview.js +61 -0
- package/dist/client/shared/components/PageHeader/ImagePreview.js.map +1 -0
- package/{lib/types → dist}/client/shared/components/PageHeader/PageHeader.d.ts +14 -16
- package/dist/client/shared/components/PageHeader/PageHeader.js +86 -0
- package/dist/client/shared/components/PageHeader/PageHeader.js.map +1 -0
- package/{lib/types → dist}/client/shared/components/ResultsPage.d.ts +18 -18
- package/dist/client/shared/components/ResultsPage.js +95 -0
- package/dist/client/shared/components/ResultsPage.js.map +1 -0
- package/{lib/types → dist}/client/shared/creeveyClientApi.d.ts +9 -9
- package/dist/client/shared/creeveyClientApi.js +53 -0
- package/dist/client/shared/creeveyClientApi.js.map +1 -0
- package/{lib/types → dist}/client/shared/helpers.d.ts +46 -46
- package/dist/client/shared/helpers.js +381 -0
- package/dist/client/shared/helpers.js.map +1 -0
- package/{lib/types → dist}/client/shared/viewMode.d.ts +4 -4
- package/dist/client/shared/viewMode.js +11 -0
- package/dist/client/shared/viewMode.js.map +1 -0
- package/dist/client/web/202.js +1 -0
- package/dist/client/web/270.js +43 -0
- package/dist/client/web/752.js +1 -0
- package/{lib/types → dist}/client/web/CreeveyApp.d.ts +11 -11
- package/dist/client/web/CreeveyApp.js +130 -0
- package/dist/client/web/CreeveyApp.js.map +1 -0
- package/{lib/types → dist}/client/web/CreeveyContext.d.ts +11 -11
- package/dist/client/web/CreeveyContext.js +17 -0
- package/dist/client/web/CreeveyContext.js.map +1 -0
- package/dist/client/web/CreeveyLoader.d.ts +3 -0
- package/dist/client/web/CreeveyLoader.js +52 -0
- package/dist/client/web/CreeveyLoader.js.map +1 -0
- package/{lib/types → dist}/client/web/CreeveyView/SideBar/Checkbox.d.ts +22 -19
- package/dist/client/web/CreeveyView/SideBar/Checkbox.js +86 -0
- package/dist/client/web/CreeveyView/SideBar/Checkbox.js.map +1 -0
- package/{lib/types → dist}/client/web/CreeveyView/SideBar/Search.d.ts +6 -6
- package/dist/client/web/CreeveyView/SideBar/Search.js +125 -0
- package/dist/client/web/CreeveyView/SideBar/Search.js.map +1 -0
- package/{lib/types → dist}/client/web/CreeveyView/SideBar/SideBar.d.ts +14 -14
- package/dist/client/web/CreeveyView/SideBar/SideBar.js +101 -0
- package/dist/client/web/CreeveyView/SideBar/SideBar.js.map +1 -0
- package/{lib/types → dist}/client/web/CreeveyView/SideBar/SideBarHeader.d.ts +12 -12
- package/dist/client/web/CreeveyView/SideBar/SideBarHeader.js +113 -0
- package/dist/client/web/CreeveyView/SideBar/SideBarHeader.js.map +1 -0
- package/dist/client/web/CreeveyView/SideBar/SuiteLink.d.ts +38 -0
- package/dist/client/web/CreeveyView/SideBar/SuiteLink.js +108 -0
- package/dist/client/web/CreeveyView/SideBar/SuiteLink.js.map +1 -0
- package/{lib/types → dist}/client/web/CreeveyView/SideBar/TestLink.d.ts +7 -7
- package/dist/client/web/CreeveyView/SideBar/TestLink.js +63 -0
- package/dist/client/web/CreeveyView/SideBar/TestLink.js.map +1 -0
- package/{lib/types → dist}/client/web/CreeveyView/SideBar/TestStatusIcon.d.ts +12 -10
- package/dist/client/web/CreeveyView/SideBar/TestStatusIcon.js +52 -0
- package/dist/client/web/CreeveyView/SideBar/TestStatusIcon.js.map +1 -0
- package/dist/client/web/CreeveyView/SideBar/TestsStatus.d.ts +11 -0
- package/dist/client/web/CreeveyView/SideBar/TestsStatus.js +74 -0
- package/dist/client/web/CreeveyView/SideBar/TestsStatus.js.map +1 -0
- package/{lib/types → dist}/client/web/CreeveyView/SideBar/Toggle.d.ts +6 -6
- package/dist/client/web/CreeveyView/SideBar/Toggle.js +69 -0
- package/dist/client/web/CreeveyView/SideBar/Toggle.js.map +1 -0
- package/dist/client/web/CreeveyView/SideBar/index.d.ts +1 -0
- package/dist/client/web/CreeveyView/SideBar/index.js +6 -0
- package/dist/client/web/CreeveyView/SideBar/index.js.map +1 -0
- package/{lib/types → dist}/client/web/KeyboardEventsContext.d.ts +15 -13
- package/dist/client/web/KeyboardEventsContext.js +116 -0
- package/dist/client/web/KeyboardEventsContext.js.map +1 -0
- package/{lib/types → dist}/client/web/index.d.ts +4 -4
- package/{lib/cjs → dist}/client/web/index.html +12 -3
- package/dist/client/web/index.js +75 -0
- package/dist/client/web/index.js.map +1 -0
- package/dist/client/web/main.js +79 -0
- package/{lib/cjs → dist}/client/web/main.js.LICENSE.txt +0 -15
- package/{lib/types → dist}/creevey.d.ts +1 -1
- package/dist/creevey.js +52 -0
- package/dist/creevey.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -0
- package/{lib/types → dist}/server/config.d.ts +4 -4
- package/dist/server/config.js +86 -0
- package/dist/server/config.js.map +1 -0
- package/{lib/types → dist}/server/docker.d.ts +7 -7
- package/dist/server/docker.js +122 -0
- package/dist/server/docker.js.map +1 -0
- package/{lib/types → dist}/server/index.d.ts +2 -2
- package/dist/server/index.js +47 -0
- package/dist/server/index.js.map +1 -0
- package/{lib/types → dist}/server/logger.d.ts +10 -10
- package/dist/server/logger.js +25 -0
- package/dist/server/logger.js.map +1 -0
- package/{lib/types → dist}/server/master/api.d.ts +7 -7
- package/dist/server/master/api.js +50 -0
- package/dist/server/master/api.js.map +1 -0
- package/dist/server/master/index.d.ts +3 -0
- package/dist/server/master/index.js +110 -0
- package/dist/server/master/index.js.map +1 -0
- package/{lib/types → dist}/server/master/master.d.ts +7 -7
- package/dist/server/master/master.js +40 -0
- package/dist/server/master/master.js.map +1 -0
- package/{lib/types → dist}/server/master/pool.d.ts +30 -31
- package/dist/server/master/pool.js +186 -0
- package/dist/server/master/pool.js.map +1 -0
- package/{lib/types → dist}/server/master/runner.d.ts +21 -26
- package/dist/server/master/runner.js +172 -0
- package/dist/server/master/runner.js.map +1 -0
- package/dist/server/master/server.d.ts +2 -0
- package/dist/server/master/server.js +114 -0
- package/dist/server/master/server.js.map +1 -0
- package/{lib/types → dist}/server/messages.d.ts +26 -27
- package/dist/server/messages.js +222 -0
- package/dist/server/messages.js.map +1 -0
- package/{lib/types → dist}/server/selenium/browser.d.ts +19 -17
- package/dist/server/selenium/browser.js +637 -0
- package/dist/server/selenium/browser.js.map +1 -0
- package/dist/server/selenium/index.d.ts +2 -0
- package/dist/server/selenium/index.js +19 -0
- package/dist/server/selenium/index.js.map +1 -0
- package/{lib/types → dist}/server/selenium/selenoid.d.ts +3 -3
- package/dist/server/selenium/selenoid.js +120 -0
- package/dist/server/selenium/selenoid.js.map +1 -0
- package/dist/server/stories.d.ts +3 -0
- package/dist/server/stories.js +92 -0
- package/dist/server/stories.js.map +1 -0
- package/dist/server/storybook/providers/browser.d.ts +2 -0
- package/dist/server/storybook/providers/browser.js +60 -0
- package/dist/server/storybook/providers/browser.js.map +1 -0
- package/dist/server/storybook/providers/hybrid.d.ts +2 -0
- package/dist/server/storybook/providers/hybrid.js +59 -0
- package/dist/server/storybook/providers/hybrid.js.map +1 -0
- package/dist/server/telemetry.d.ts +2 -0
- package/dist/server/telemetry.js +196 -0
- package/dist/server/telemetry.js.map +1 -0
- package/{lib/types → dist}/server/testsFiles/parser.d.ts +8 -12
- package/dist/server/testsFiles/parser.js +50 -0
- package/dist/server/testsFiles/parser.js.map +1 -0
- package/dist/server/update.d.ts +2 -0
- package/dist/server/update.js +53 -0
- package/dist/server/update.js.map +1 -0
- package/dist/server/utils.d.ts +25 -0
- package/dist/server/utils.js +157 -0
- package/dist/server/utils.js.map +1 -0
- package/{lib/types → dist}/server/worker/chai-image.d.ts +5 -6
- package/dist/server/worker/chai-image.js +113 -0
- package/dist/server/worker/chai-image.js.map +1 -0
- package/{lib/types → dist}/server/worker/helpers.d.ts +8 -8
- package/dist/server/worker/helpers.js +57 -0
- package/dist/server/worker/helpers.js.map +1 -0
- package/dist/server/worker/index.d.ts +1 -0
- package/dist/server/worker/index.js +6 -0
- package/dist/server/worker/index.js.map +1 -0
- package/{lib/types → dist}/server/worker/reporter.d.ts +8 -8
- package/dist/server/worker/reporter.js +130 -0
- package/dist/server/worker/reporter.js.map +1 -0
- package/dist/server/worker/worker.d.ts +4 -0
- package/dist/server/worker/worker.js +211 -0
- package/dist/server/worker/worker.js.map +1 -0
- package/{lib/types → dist}/shared/index.d.ts +7 -7
- package/dist/shared/index.js +77 -0
- package/dist/shared/index.js.map +1 -0
- package/{lib/types → dist}/shared/serializeRegExp.d.ts +9 -9
- package/dist/shared/serializeRegExp.js +25 -0
- package/dist/shared/serializeRegExp.js.map +1 -0
- package/{lib/types → dist}/types.d.ts +459 -490
- package/dist/types.js +61 -0
- package/dist/types.js.map +1 -0
- package/docs/config.md +30 -30
- package/docs/tests.md +3 -3
- package/manager/package.json +3 -0
- package/package.json +115 -156
- package/preset/README.md +3 -0
- package/preset/package.json +3 -0
- package/preview/README.md +3 -0
- package/preview/package.json +3 -0
- package/src/cli.ts +3 -0
- package/src/client/addon/components/Addon.tsx +53 -0
- package/src/client/addon/components/Icons.tsx +28 -0
- package/src/client/addon/components/Panel.tsx +53 -0
- package/src/client/addon/components/TestSelect.tsx +48 -0
- package/src/client/addon/components/Tools.tsx +93 -0
- package/src/client/addon/controller.ts +224 -0
- package/src/client/addon/decorator.ts +3 -0
- package/src/client/addon/index.ts +2 -0
- package/src/client/addon/manager.ts +44 -0
- package/src/client/addon/preset.ts +3 -0
- package/src/client/addon/preview.ts +7 -0
- package/src/client/addon/readyForCapture.ts +9 -0
- package/src/client/addon/utils.tsx +24 -0
- package/src/client/addon/withCreevey.ts +326 -0
- package/src/client/shared/components/ImagesView/BlendView.tsx +71 -0
- package/src/client/shared/components/ImagesView/ImagesView.tsx +70 -0
- package/src/client/shared/components/ImagesView/SideBySideView.tsx +139 -0
- package/src/client/shared/components/ImagesView/SlideView.tsx +146 -0
- package/src/client/shared/components/ImagesView/SwapView.tsx +81 -0
- package/src/client/shared/components/ImagesView/common.ts +23 -0
- package/src/client/shared/components/ImagesView/index.ts +5 -0
- package/src/client/shared/components/PageFooter/PageFooter.tsx +44 -0
- package/src/client/shared/components/PageFooter/Paging.tsx +105 -0
- package/src/client/shared/components/PageHeader/ImagePreview.tsx +82 -0
- package/src/client/shared/components/PageHeader/PageHeader.tsx +123 -0
- package/src/client/shared/components/ResultsPage.tsx +135 -0
- package/src/client/shared/creeveyClientApi.ts +64 -0
- package/src/client/shared/helpers.ts +422 -0
- package/src/client/shared/viewMode.ts +10 -0
- package/src/client/web/CreeveyApp.tsx +177 -0
- package/src/client/web/CreeveyContext.tsx +20 -0
- package/src/client/web/CreeveyLoader.tsx +56 -0
- package/src/client/web/CreeveyView/SideBar/Checkbox.tsx +118 -0
- package/src/client/web/CreeveyView/SideBar/Search.tsx +140 -0
- package/src/client/web/CreeveyView/SideBar/SideBar.tsx +125 -0
- package/src/client/web/CreeveyView/SideBar/SideBarHeader.tsx +138 -0
- package/src/client/web/CreeveyView/SideBar/SuiteLink.tsx +118 -0
- package/src/client/web/CreeveyView/SideBar/TestLink.tsx +67 -0
- package/src/client/web/CreeveyView/SideBar/TestStatusIcon.tsx +58 -0
- package/src/client/web/CreeveyView/SideBar/TestsStatus.tsx +105 -0
- package/src/client/web/CreeveyView/SideBar/Toggle.tsx +85 -0
- package/src/client/web/CreeveyView/SideBar/index.ts +1 -0
- package/src/client/web/KeyboardEventsContext.tsx +121 -0
- package/src/client/web/index.html +28 -0
- package/src/client/web/index.tsx +63 -0
- package/src/creevey.ts +47 -0
- package/src/index.ts +4 -0
- package/src/server/config.ts +83 -0
- package/src/server/docker.ts +136 -0
- package/src/server/index.ts +51 -0
- package/{lib/esm/server/logger.js → src/server/logger.ts} +8 -7
- package/src/server/master/api.ts +55 -0
- package/src/server/master/index.ts +111 -0
- package/src/server/master/master.ts +47 -0
- package/src/server/master/pool.ts +203 -0
- package/src/server/master/runner.ts +189 -0
- package/src/server/master/server.ts +124 -0
- package/src/server/messages.ts +273 -0
- package/src/server/selenium/browser.ts +837 -0
- package/src/server/selenium/index.ts +2 -0
- package/src/server/selenium/selenoid.ts +154 -0
- package/src/server/stories.ts +133 -0
- package/src/server/storybook/providers/browser.ts +58 -0
- package/src/server/storybook/providers/hybrid.ts +70 -0
- package/src/server/telemetry.ts +212 -0
- package/src/server/testsFiles/parser.ts +62 -0
- package/src/server/update.ts +74 -0
- package/src/server/utils.ts +206 -0
- package/src/server/worker/chai-image.ts +147 -0
- package/src/server/worker/helpers.ts +61 -0
- package/src/server/worker/index.ts +1 -0
- package/src/server/worker/reporter.ts +170 -0
- package/src/server/worker/worker.ts +239 -0
- package/src/shared/index.ts +76 -0
- package/src/shared/serializeRegExp.ts +26 -0
- package/src/types.ts +500 -0
- package/types/chai.d.ts +0 -1
- package/types/global.d.ts +5 -0
- package/types/mocha.d.ts +1 -1
- package/addon/package.json +0 -4
- package/jest.config.js +0 -6
- package/lib/cjs/cli.js +0 -5
- package/lib/cjs/client/addon/Manager.js +0 -264
- package/lib/cjs/client/addon/components/Addon.js +0 -55
- package/lib/cjs/client/addon/components/Icons.js +0 -46
- package/lib/cjs/client/addon/components/Panel.js +0 -72
- package/lib/cjs/client/addon/components/TestSelect.js +0 -65
- package/lib/cjs/client/addon/components/Tools.js +0 -95
- package/lib/cjs/client/addon/decorator.js +0 -11
- package/lib/cjs/client/addon/index.js +0 -31
- package/lib/cjs/client/addon/preset.js +0 -62
- package/lib/cjs/client/addon/readyForCapture.js +0 -12
- package/lib/cjs/client/addon/register.js +0 -72
- package/lib/cjs/client/addon/utils.js +0 -38
- package/lib/cjs/client/addon/withCreevey.js +0 -346
- package/lib/cjs/client/shared/components/ImagesView/BlendView.js +0 -87
- package/lib/cjs/client/shared/components/ImagesView/ImagesView.js +0 -92
- package/lib/cjs/client/shared/components/ImagesView/SideBySideView.js +0 -154
- package/lib/cjs/client/shared/components/ImagesView/SlideView.js +0 -166
- package/lib/cjs/client/shared/components/ImagesView/SwapView.js +0 -91
- package/lib/cjs/client/shared/components/ImagesView/index.js +0 -45
- package/lib/cjs/client/shared/components/PageFooter/PageFooter.js +0 -50
- package/lib/cjs/client/shared/components/PageFooter/Paging.js +0 -94
- package/lib/cjs/client/shared/components/PageHeader/ImagePreview.js +0 -82
- package/lib/cjs/client/shared/components/PageHeader/PageHeader.js +0 -119
- package/lib/cjs/client/shared/components/ResultsPage.js +0 -143
- package/lib/cjs/client/shared/creeveyClientApi.js +0 -76
- package/lib/cjs/client/shared/helpers.js +0 -411
- package/lib/cjs/client/shared/viewMode.js +0 -17
- package/lib/cjs/client/web/142.js +0 -2
- package/lib/cjs/client/web/142.js.LICENSE.txt +0 -12
- package/lib/cjs/client/web/32.js +0 -1
- package/lib/cjs/client/web/551.js +0 -1
- package/lib/cjs/client/web/566.js +0 -2
- package/lib/cjs/client/web/566.js.LICENSE.txt +0 -31
- package/lib/cjs/client/web/691.js +0 -2
- package/lib/cjs/client/web/691.js.LICENSE.txt +0 -8
- package/lib/cjs/client/web/725.js +0 -1
- package/lib/cjs/client/web/main.js +0 -2
- package/lib/cjs/creevey.js +0 -69
- package/lib/cjs/index.js +0 -62
- package/lib/cjs/server/config.js +0 -96
- package/lib/cjs/server/docker.js +0 -146
- package/lib/cjs/server/extract.js +0 -50
- package/lib/cjs/server/index.js +0 -83
- package/lib/cjs/server/loaders/babel/creevey-plugin.js +0 -86
- package/lib/cjs/server/loaders/babel/helpers.js +0 -469
- package/lib/cjs/server/loaders/babel/register.js +0 -124
- package/lib/cjs/server/loaders/hooks/mdx.js +0 -30
- package/lib/cjs/server/loaders/hooks/svelte.js +0 -65
- package/lib/cjs/server/loaders/webpack/compile.js +0 -293
- package/lib/cjs/server/loaders/webpack/creevey-loader.js +0 -179
- package/lib/cjs/server/loaders/webpack/dummy-hmr.js +0 -39
- package/lib/cjs/server/loaders/webpack/mdx-loader.js +0 -72
- package/lib/cjs/server/loaders/webpack/start.js +0 -41
- package/lib/cjs/server/logger.js +0 -48
- package/lib/cjs/server/master/api.js +0 -75
- package/lib/cjs/server/master/index.js +0 -146
- package/lib/cjs/server/master/master.js +0 -57
- package/lib/cjs/server/master/pool.js +0 -197
- package/lib/cjs/server/master/runner.js +0 -281
- package/lib/cjs/server/master/server.js +0 -129
- package/lib/cjs/server/messages.js +0 -264
- package/lib/cjs/server/selenium/browser.js +0 -672
- package/lib/cjs/server/selenium/index.js +0 -31
- package/lib/cjs/server/selenium/selenoid.js +0 -172
- package/lib/cjs/server/stories.js +0 -159
- package/lib/cjs/server/storybook/entry.js +0 -70
- package/lib/cjs/server/storybook/helpers.js +0 -159
- package/lib/cjs/server/storybook/providers/browser.js +0 -74
- package/lib/cjs/server/storybook/providers/hybrid.js +0 -84
- package/lib/cjs/server/storybook/providers/nodejs.js +0 -239
- package/lib/cjs/server/testsFiles/parser.js +0 -72
- package/lib/cjs/server/testsFiles/register.js +0 -48
- package/lib/cjs/server/update.js +0 -79
- package/lib/cjs/server/utils.js +0 -183
- package/lib/cjs/server/worker/chai-image.js +0 -142
- package/lib/cjs/server/worker/helpers.js +0 -69
- package/lib/cjs/server/worker/index.js +0 -15
- package/lib/cjs/server/worker/reporter.js +0 -108
- package/lib/cjs/server/worker/worker.js +0 -268
- package/lib/cjs/shared/index.js +0 -101
- package/lib/cjs/shared/serializeRegExp.js +0 -42
- package/lib/cjs/types.js +0 -74
- package/lib/esm/cli.js +0 -4
- package/lib/esm/client/addon/Manager.js +0 -248
- package/lib/esm/client/addon/components/Addon.js +0 -39
- package/lib/esm/client/addon/components/Icons.js +0 -31
- package/lib/esm/client/addon/components/Panel.js +0 -53
- package/lib/esm/client/addon/components/TestSelect.js +0 -51
- package/lib/esm/client/addon/components/Tools.js +0 -74
- package/lib/esm/client/addon/decorator.js +0 -2
- package/lib/esm/client/addon/index.js +0 -2
- package/lib/esm/client/addon/preset.js +0 -41
- package/lib/esm/client/addon/readyForCapture.js +0 -5
- package/lib/esm/client/addon/register.js +0 -51
- package/lib/esm/client/addon/utils.js +0 -31
- package/lib/esm/client/addon/withCreevey.js +0 -322
- package/lib/esm/client/shared/components/ImagesView/BlendView.js +0 -67
- package/lib/esm/client/shared/components/ImagesView/ImagesView.js +0 -69
- package/lib/esm/client/shared/components/ImagesView/SideBySideView.js +0 -131
- package/lib/esm/client/shared/components/ImagesView/SlideView.js +0 -143
- package/lib/esm/client/shared/components/ImagesView/SwapView.js +0 -71
- package/lib/esm/client/shared/components/ImagesView/index.js +0 -5
- package/lib/esm/client/shared/components/PageFooter/PageFooter.js +0 -36
- package/lib/esm/client/shared/components/PageFooter/Paging.js +0 -80
- package/lib/esm/client/shared/components/PageHeader/ImagePreview.js +0 -68
- package/lib/esm/client/shared/components/PageHeader/PageHeader.js +0 -97
- package/lib/esm/client/shared/components/ResultsPage.js +0 -115
- package/lib/esm/client/shared/creeveyClientApi.js +0 -67
- package/lib/esm/client/shared/helpers.js +0 -353
- package/lib/esm/client/shared/viewMode.js +0 -6
- package/lib/esm/creevey.js +0 -54
- package/lib/esm/index.js +0 -5
- package/lib/esm/server/config.js +0 -73
- package/lib/esm/server/docker.js +0 -123
- package/lib/esm/server/extract.js +0 -34
- package/lib/esm/server/index.js +0 -64
- package/lib/esm/server/loaders/babel/creevey-plugin.js +0 -72
- package/lib/esm/server/loaders/babel/helpers.js +0 -452
- package/lib/esm/server/loaders/babel/register.js +0 -103
- package/lib/esm/server/loaders/hooks/mdx.js +0 -15
- package/lib/esm/server/loaders/hooks/svelte.js +0 -49
- package/lib/esm/server/loaders/webpack/compile.js +0 -270
- package/lib/esm/server/loaders/webpack/creevey-loader.js +0 -158
- package/lib/esm/server/loaders/webpack/dummy-hmr.js +0 -32
- package/lib/esm/server/loaders/webpack/mdx-loader.js +0 -58
- package/lib/esm/server/loaders/webpack/start.js +0 -27
- package/lib/esm/server/master/api.js +0 -64
- package/lib/esm/server/master/index.js +0 -125
- package/lib/esm/server/master/master.js +0 -38
- package/lib/esm/server/master/pool.js +0 -176
- package/lib/esm/server/master/runner.js +0 -259
- package/lib/esm/server/master/server.js +0 -105
- package/lib/esm/server/messages.js +0 -232
- package/lib/esm/server/selenium/browser.js +0 -639
- package/lib/esm/server/selenium/index.js +0 -2
- package/lib/esm/server/selenium/selenoid.js +0 -149
- package/lib/esm/server/stories.js +0 -140
- package/lib/esm/server/storybook/entry.js +0 -46
- package/lib/esm/server/storybook/helpers.js +0 -98
- package/lib/esm/server/storybook/providers/browser.js +0 -60
- package/lib/esm/server/storybook/providers/hybrid.js +0 -64
- package/lib/esm/server/storybook/providers/nodejs.js +0 -217
- package/lib/esm/server/testsFiles/parser.js +0 -50
- package/lib/esm/server/testsFiles/register.js +0 -35
- package/lib/esm/server/update.js +0 -61
- package/lib/esm/server/utils.js +0 -142
- package/lib/esm/server/worker/chai-image.js +0 -130
- package/lib/esm/server/worker/helpers.js +0 -60
- package/lib/esm/server/worker/index.js +0 -1
- package/lib/esm/server/worker/reporter.js +0 -86
- package/lib/esm/server/worker/worker.js +0 -238
- package/lib/esm/shared/index.js +0 -78
- package/lib/esm/shared/serializeRegExp.js +0 -24
- package/lib/esm/types.js +0 -43
- package/lib/types/cli.d.ts +0 -1
- package/lib/types/client/addon/components/Addon.d.ts +0 -8
- package/lib/types/client/addon/components/Tools.d.ts +0 -6
- package/lib/types/client/addon/decorator.d.ts +0 -1
- package/lib/types/client/addon/index.d.ts +0 -2
- package/lib/types/client/addon/preset.d.ts +0 -23
- package/lib/types/client/addon/register.d.ts +0 -3
- package/lib/types/client/shared/components/ImagesView/BlendView.d.ts +0 -3
- package/lib/types/client/shared/components/ImagesView/SideBySideView.d.ts +0 -3
- package/lib/types/client/shared/components/ImagesView/SlideView.d.ts +0 -3
- package/lib/types/client/shared/components/ImagesView/SwapView.d.ts +0 -3
- package/lib/types/client/shared/components/ImagesView/index.d.ts +0 -5
- package/lib/types/client/web/CreeveyLoader.d.ts +0 -2
- package/lib/types/client/web/CreeveyView/SideBar/SuiteLink.d.ts +0 -33
- package/lib/types/client/web/CreeveyView/SideBar/TestsStatus.d.ts +0 -9
- package/lib/types/client/web/CreeveyView/SideBar/index.d.ts +0 -1
- package/lib/types/index.d.ts +0 -2
- package/lib/types/server/extract.d.ts +0 -2
- package/lib/types/server/loaders/babel/creevey-plugin.d.ts +0 -1
- package/lib/types/server/loaders/babel/helpers.d.ts +0 -19
- package/lib/types/server/loaders/babel/register.d.ts +0 -5
- package/lib/types/server/loaders/hooks/mdx.d.ts +0 -1
- package/lib/types/server/loaders/hooks/svelte.d.ts +0 -1
- package/lib/types/server/loaders/webpack/compile.d.ts +0 -2
- package/lib/types/server/loaders/webpack/creevey-loader.d.ts +0 -4
- package/lib/types/server/loaders/webpack/dummy-hmr.d.ts +0 -10
- package/lib/types/server/loaders/webpack/mdx-loader.d.ts +0 -6
- package/lib/types/server/loaders/webpack/start.d.ts +0 -1
- package/lib/types/server/master/index.d.ts +0 -3
- package/lib/types/server/master/server.d.ts +0 -2
- package/lib/types/server/selenium/index.d.ts +0 -2
- package/lib/types/server/stories.d.ts +0 -8
- package/lib/types/server/storybook/entry.d.ts +0 -18
- package/lib/types/server/storybook/helpers.d.ts +0 -24
- package/lib/types/server/storybook/providers/browser.d.ts +0 -4
- package/lib/types/server/storybook/providers/hybrid.d.ts +0 -4
- package/lib/types/server/storybook/providers/nodejs.d.ts +0 -9
- package/lib/types/server/testsFiles/register.d.ts +0 -2
- package/lib/types/server/update.d.ts +0 -2
- package/lib/types/server/utils.d.ts +0 -20
- package/lib/types/server/worker/index.d.ts +0 -1
- package/lib/types/server/worker/worker.d.ts +0 -4
- package/preset.js +0 -9
- package/types/babel__register.d.ts +0 -1
- package/types/event-source-polyfill.d.ts +0 -6
- package/types/mdx.d.ts +0 -7
- /package/{addon → manager}/README.md +0 -0
@@ -1,2 +0,0 @@
|
|
1
|
-
/*! For license information please see 566.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkcreevey=self.webpackChunkcreevey||[]).push([[566],{35566:(e,t,n)=>{n.r(t),n.d(t,{formatter:()=>I}),n(35666),n(65743),n(68309),n(66992),n(51532),n(41539),n(78783),n(33948),n(69600),n(92222),n(74916),n(15306),n(73210),n(47042),n(30489),n(21249),n(54747),n(47941),n(88674),n(39714),n(23123),n(4723),n(70189),n(24603),n(44048),n(9653),n(79841),n(43371),n(44363),n(57327),n(4129),n(2707),n(69720),n(19601),n(69826),n(26699),n(32023),n(23157),n(82526),n(41817),n(27852),n(94953),n(40561),n(32165),n(83753),n(91038),n(43290),n(82481),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(18264),n(38880),n(72443),n(8255),n(33161),n(92087),n(50915),n(36210),n(44197),n(76495),n(64765),n(48702),n(26833),n(55674),n(34553),n(15218),n(12419),n(74819);var r=n(52326),u=n.n(r),a=n(72857);function i(e){var t="function"==typeof Map?new Map:void 0;return i=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return o(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,e)},i(e)}function o(e,t,n){return o=D()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var u=new(Function.bind.apply(e,r));return n&&f(u,n.prototype),u},o.apply(null,arguments)}function s(e){return S(e)||E(e)||A(e)||b()}function c(){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=l(e,t);if(r){var u=Object.getOwnPropertyDescriptor(r,t);return u.get?u.get.call(arguments.length<3?e:n):u.value}},c.apply(this,arguments)}function l(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function d(e){var t=D();return function(){var n,r=m(e);if(t){var u=m(this).constructor;n=Reflect.construct(r,arguments,u)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){if(t&&("object"===w(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function D(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=A(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,u=function(){};return{s:u,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(o)throw a}}}}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){return function(e){if(Array.isArray(e))return F(e)}(e)||E(e)||A(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function C(e,t){return S(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,u,a=[],i=!0,o=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){o=!0,u=e}finally{try{i||null==n.return||n.return()}finally{if(o)throw u}}return a}}(e,t)||A(e,t)||b()}function b(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function A(e,t){if(e){if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?F(e,t):void 0}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function S(e){if(Array.isArray(e))return e}function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t,n){return t&&T(e.prototype,t),n&&T(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n(67294),n(32839),n(80129);var B,N={exports:{}};B=N,a.c,B.exports=function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==a.c?a.c:"undefined"!=typeof self?self:{};function t(e){var t={exports:{}};return e(t,t.exports),t.exports}var n=t((function(e,t){function n(e){return t.$0<=e&&e<=t.$9}Object.defineProperty(t,"__esModule",{value:!0}),t.$EOF=0,t.$BSPACE=8,t.$TAB=9,t.$LF=10,t.$VTAB=11,t.$FF=12,t.$CR=13,t.$SPACE=32,t.$BANG=33,t.$DQ=34,t.$HASH=35,t.$$=36,t.$PERCENT=37,t.$AMPERSAND=38,t.$SQ=39,t.$LPAREN=40,t.$RPAREN=41,t.$STAR=42,t.$PLUS=43,t.$COMMA=44,t.$MINUS=45,t.$PERIOD=46,t.$SLASH=47,t.$COLON=58,t.$SEMICOLON=59,t.$LT=60,t.$EQ=61,t.$GT=62,t.$QUESTION=63,t.$0=48,t.$7=55,t.$9=57,t.$A=65,t.$E=69,t.$F=70,t.$X=88,t.$Z=90,t.$LBRACKET=91,t.$BACKSLASH=92,t.$RBRACKET=93,t.$CARET=94,t.$_=95,t.$a=97,t.$b=98,t.$e=101,t.$f=102,t.$n=110,t.$r=114,t.$t=116,t.$u=117,t.$v=118,t.$x=120,t.$z=122,t.$LBRACE=123,t.$BAR=124,t.$RBRACE=125,t.$NBSP=160,t.$PIPE=124,t.$TILDA=126,t.$AT=64,t.$BT=96,t.isWhitespace=function(e){return e>=t.$TAB&&e<=t.$SPACE||e==t.$NBSP},t.isDigit=n,t.isAsciiLetter=function(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z},t.isAsciiHexDigit=function(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||n(e)},t.isNewLine=function(e){return e===t.$LF||e===t.$CR},t.isOctalDigit=function(e){return t.$0<=e&&e<=t.$7}})),r=function(){function e(t,n,r){x(this,e),this.filePath=t,this.name=n,this.members=r}return k(e,[{key:"assertNoMembers",value:function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}]),e}(),u=r,i=function(){function e(){x(this,e),this.cache=new Map}return k(e,[{key:"get",value:function(e,t,n){var u=(n=n||[]).length?".".concat(n.join(".")):"",a='"'.concat(e,'".').concat(t).concat(u),i=this.cache.get(a);return i||(i=new r(e,t,n),this.cache.set(a,i)),i}}]),e}(),o=Object.defineProperty({StaticSymbol:u,StaticSymbolCache:i},"__esModule",{value:!0}),s=/-+([a-z0-9])/g;function l(e,t,n){var r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function f(e,t,n){return Array.isArray(e)?t.visitArray(e,n):"object"==w(r=e)&&null!==r&&Object.getPrototypeOf(r)===S?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n);var r}var D=f,E=function(){function e(){x(this,e)}return k(e,[{key:"visitArray",value:function(e,t){var n=this;return e.map((function(e){return f(e,n,t)}))}},{key:"visitStringMap",value:function(e,t){var n=this,r={};return Object.keys(e).forEach((function(u){r[u]=f(e[u],n,t)})),r}},{key:"visitPrimitive",value:function(e,t){return e}},{key:"visitOther",value:function(e,t){return e}}]),e}(),b={assertSync:function(e){if(T(e))throw new Error("Illegal state: value cannot be a promise");return e},then:function(e,t){return T(e)?e.then(t):t(e)},all:function(e){return e.some(T)?Promise.all(e):e}},A="ngSyntaxError",F="ngParseErrors",S=Object.getPrototypeOf({});function T(e){return!!e&&"function"==typeof e.then}var B=T,N=k((function e(t){x(this,e),this.full=t;var n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")})),_="undefined"!=typeof window&&window,P="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,O=void 0!==e&&e||_||P,I=Object.defineProperty({dashCaseToCamelCase:function(e){return e.replace(s,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()}))},splitAtColon:function(e,t){return l(e,":",t)},splitAtPeriod:function(e,t){return l(e,".",t)},visitValue:D,isDefined:function(e){return null!=e},noUndefined:function(e){return void 0===e?null:e},ValueTransformer:E,SyncAsync:b,error:function(e){throw new Error("Internal Error: ".concat(e))},syntaxError:function(e,t){var n=Error(e);return n[A]=!0,t&&(n[F]=t),n},isSyntaxError:function(e){return e[A]},getParseErrors:function(e){return e[F]||[]},escapeRegExp:function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},utf8Encode:function(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){var u=e.charCodeAt(n+1);u>=56320&&u<=57343&&(n++,r=(r-55296<<10)+u-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t},stringify:function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";var n=t.toString();if(null==n)return""+n;var r=n.indexOf("\n");return-1===r?n:n.substring(0,r)},resolveForwardRef:function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},isPromise:B,Version:N,global:O},"__esModule",{value:!0}),L=t((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function r(e){return e.replace(/\W/g,"_")}t.sanitizeIdentifier=r;var u,a=0;function i(e){if(!e||!e.reference)return null;var t=e.reference;if(t instanceof o.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;var n=I.stringify(t);return n.indexOf("(")>=0?(n="anonymous_".concat(a++),t.__anonymousType=n):n=r(n),n}t.identifierName=i,t.identifierModuleUrl=function(e){var t=e.reference;return t instanceof o.StaticSymbol?t.filePath:"./".concat(I.stringify(t))},t.viewClassName=function(e,t){return"View_".concat(i({reference:e}),"_").concat(t)},t.rendererTypeName=function(e){return"RenderType_".concat(i({reference:e}))},t.hostViewClassName=function(e){return"HostView_".concat(i({reference:e}))},t.componentFactoryName=function(e){return"".concat(i({reference:e}),"NgFactory")},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(u=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(e){return null!=e.value?r(e.value):i(e.identifier)},t.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value},t.CompileStylesheetMetadata=function(){return k((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.moduleUrl,r=t.styles,u=t.styleUrls;x(this,e),this.moduleUrl=n||null,this.styles=c(r),this.styleUrls=c(u)}))}(),t.CompileTemplateMetadata=function(){function e(t){var n=t.encapsulation,r=t.template,u=t.templateUrl,a=t.htmlAst,i=t.styles,o=t.styleUrls,s=t.externalStylesheets,p=t.animations,f=t.ngContentSelectors,d=t.interpolation,h=t.isInline,D=t.preserveWhitespaces;if(x(this,e),this.encapsulation=n,this.template=r,this.templateUrl=u,this.htmlAst=a,this.styles=c(i),this.styleUrls=c(o),this.externalStylesheets=c(s),this.animations=p?l(p):[],this.ngContentSelectors=f||[],d&&2!=d.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=d,this.isInline=h,this.preserveWhitespaces=D}return k(e,[{key:"toSummary",value:function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}]),e}();var s=function(){function e(t){var n=t.isHost,r=t.type,u=t.isComponent,a=t.selector,i=t.exportAs,o=t.changeDetection,s=t.inputs,l=t.outputs,p=t.hostListeners,f=t.hostProperties,d=t.hostAttributes,h=t.providers,D=t.viewProviders,m=t.queries,g=t.guards,y=t.viewQueries,v=t.entryComponents,E=t.template,C=t.componentViewType,b=t.rendererType,A=t.componentFactory;x(this,e),this.isHost=!!n,this.type=r,this.isComponent=u,this.selector=a,this.exportAs=i,this.changeDetection=o,this.inputs=s,this.outputs=l,this.hostListeners=p,this.hostProperties=f,this.hostAttributes=d,this.providers=c(h),this.viewProviders=c(D),this.queries=c(m),this.guards=g,this.viewQueries=c(y),this.entryComponents=c(v),this.template=E,this.componentViewType=C,this.rendererType=b,this.componentFactory=A}return k(e,[{key:"toSummary",value:function(){return{summaryKind:u.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}],[{key:"create",value:function(t){var r=t.isHost,u=t.type,a=t.isComponent,i=t.selector,o=t.exportAs,s=t.changeDetection,c=t.inputs,l=t.outputs,p=t.host,f=t.providers,d=t.viewProviders,h=t.queries,D=t.guards,m=t.viewQueries,g=t.entryComponents,y=t.template,v=t.componentViewType,E=t.rendererType,C=t.componentFactory,b={},A={},F={};null!=p&&Object.keys(p).forEach((function(e){var t=p[e],r=e.match(n);null===r?F[e]=t:null!=r[1]?A[r[1]]=t:null!=r[2]&&(b[r[2]]=t)}));var S={};null!=c&&c.forEach((function(e){var t=I.splitAtColon(e,[e,e]);S[t[0]]=t[1]}));var w={};return null!=l&&l.forEach((function(e){var t=I.splitAtColon(e,[e,e]);w[t[0]]=t[1]})),new e({isHost:r,type:u,isComponent:!!a,selector:i,exportAs:o,changeDetection:s,inputs:S,outputs:w,hostListeners:b,hostProperties:A,hostAttributes:F,providers:f,viewProviders:d,queries:h,guards:D,viewQueries:m,entryComponents:g,template:y,componentViewType:v,rendererType:E,componentFactory:C})}}]),e}();function c(e){return e||[]}function l(e){return e.reduce((function(e,t){var n=Array.isArray(t)?l(t):t;return e.concat(n)}),[])}function p(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}t.CompileDirectiveMetadata=s,t.CompilePipeMetadata=function(){function e(t){var n=t.type,r=t.name,u=t.pure;x(this,e),this.type=n,this.name=r,this.pure=!!u}return k(e,[{key:"toSummary",value:function(){return{summaryKind:u.Pipe,type:this.type,name:this.name,pure:this.pure}}}]),e}(),t.CompileShallowModuleMetadata=function(){return k((function e(){x(this,e)}))}(),t.CompileNgModuleMetadata=function(){function e(t){var n=t.type,r=t.providers,u=t.declaredDirectives,a=t.exportedDirectives,i=t.declaredPipes,o=t.exportedPipes,s=t.entryComponents,l=t.bootstrapComponents,p=t.importedModules,f=t.exportedModules,d=t.schemas,h=t.transitiveModule,D=t.id;x(this,e),this.type=n||null,this.declaredDirectives=c(u),this.exportedDirectives=c(a),this.declaredPipes=c(i),this.exportedPipes=c(o),this.providers=c(r),this.entryComponents=c(s),this.bootstrapComponents=c(l),this.importedModules=c(p),this.exportedModules=c(f),this.schemas=c(d),this.id=D||null,this.transitiveModule=h||null}return k(e,[{key:"toSummary",value:function(){var e=this.transitiveModule;return{summaryKind:u.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}}]),e}(),t.TransitiveCompileNgModuleMetadata=function(){function e(){x(this,e),this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return k(e,[{key:"addProvider",value:function(e,t){this.providers.push({provider:e,module:t})}},{key:"addDirective",value:function(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}},{key:"addExportedDirective",value:function(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}},{key:"addPipe",value:function(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}},{key:"addExportedPipe",value:function(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}},{key:"addModule",value:function(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}},{key:"addEntryComponent",value:function(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}}]),e}(),t.ProviderMeta=function(){return k((function e(t,n){var r=n.useClass,u=n.useValue,a=n.useExisting,i=n.useFactory,o=n.deps,s=n.multi;x(this,e),this.token=t,this.useClass=r||null,this.useValue=u,this.useExisting=a,this.useFactory=i||null,this.dependencies=o||null,this.multi=!!s}))}(),t.flatten=l,t.templateSourceUrl=function(e,t,n){var r;return r=n.isInline?t.type.reference instanceof o.StaticSymbol?"".concat(t.type.reference.filePath,".").concat(t.type.reference.name,".html"):"".concat(i(e),"/").concat(i(t.type),".html"):n.templateUrl,t.type.reference instanceof o.StaticSymbol?r:p(r)},t.sharedStylesheetJitUrl=function(e,t){var n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return p("css/".concat(t).concat(r,".ngstyle.js"))},t.ngModuleJitUrl=function(e){return p("".concat(i(e.type),"/module.ngfactory.js"))},t.templateJitUrl=function(e,t){return p("".concat(i(e),"/").concat(i(t.type),".ngfactory.js"))}})),M=t((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(t,n,r,u){x(this,e),this.file=t,this.offset=n,this.line=r,this.col=u}return k(e,[{key:"toString",value:function(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}},{key:"moveBy",value:function(t){for(var r=this.file.content,u=r.length,a=this.offset,i=this.line,o=this.col;a>0&&t<0;)if(a--,t++,r.charCodeAt(a)==n.$LF){i--;var s=r.substr(0,a-1).lastIndexOf(String.fromCharCode(n.$LF));o=s>0?a-s:a}else o--;for(;a<u&&t>0;){var c=r.charCodeAt(a);a++,t--,c==n.$LF?(i++,o=0):o++}return new e(this.file,a,i,o)}},{key:"getContext",value:function(e,t){var n=this.file.content,r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);for(var u=r,a=0,i=0;a<e&&r>0&&(a++,"\n"!=n[--r]||++i!=t););for(a=0,i=0;a<e&&u<n.length-1&&(a++,"\n"!=n[++u]||++i!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,u+1)}}return null}}]),e}();t.ParseLocation=r;var u=k((function e(t,n){x(this,e),this.content=t,this.url=n}));t.ParseSourceFile=u;var a,i=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;x(this,e),this.start=t,this.end=n,this.details=r}return k(e,[{key:"toString",value:function(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}]),e}();t.ParseSourceSpan=i,t.EMPTY_PARSE_LOCATION=new r(new u("",""),0,0,0),t.EMPTY_SOURCE_SPAN=new i(t.EMPTY_PARSE_LOCATION,t.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(a=t.ParseErrorLevel||(t.ParseErrorLevel={})),t.ParseError=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.ERROR;x(this,e),this.span=t,this.msg=n,this.level=r}return k(e,[{key:"contextualMessage",value:function(){var e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(a[this.level]," ->]").concat(e.after,'")'):this.msg}},{key:"toString",value:function(){var e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}}]),e}(),t.typeSourceSpan=function(e,t){var n=L.identifierModuleUrl(t),a=null!=n?"in ".concat(e," ").concat(L.identifierName(t)," in ").concat(n):"in ".concat(e," ").concat(L.identifierName(t)),o=new u("",a);return new i(new r(o,-1,-1,-1),new r(o,-1,-1,-1))},t.r3JitTypeSourceSpan=function(e,t,n){var a="in ".concat(e," ").concat(t," in ").concat(n),o=new u("",a);return new i(new r(o,-1,-1,-1),new r(o,-1,-1,-1))}})),R=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>[\\S\\s]*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)"),j=function(e){var t=e.match(R);if(!t)return{content:e};var n=t.groups,r=n.startDelimiter,u=n.language,a=n.value,i=void 0===a?"":a,o=n.endDelimiter,s=u.trim()||"yaml";if("+++"===r&&(s="toml"),"yaml"!==s&&r!==o)return{content:e};var c=C(t,1)[0];return{frontMatter:{type:"front-matter",lang:s,value:i,startDelimiter:r,endDelimiter:o,raw:c.replace(/\n$/,"")},content:c.replace(/[^\n]/g," ")+e.slice(c.length)}},q=function(e){return e[e.length-1]},$=function(e){return!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)},V=$,U=$;V.default=U;var W=function(e){if("string"!=typeof e||0===e.length)return 0;if(0===(e=function(e){return"string"==typeof e?e.replace(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onlyFirst,t=void 0!==e&&e,n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,t?void 0:"g")}(),""):e}(e)).length)return 0;e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");for(var t=0,n=0;n<e.length;n++){var r=e.codePointAt(n);r<=31||r>=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=V(r)?2:1)}return t},G=W,z=W;G.default=z;function H(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var X=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var u=e[t];r[u[0]]=u[1]}return r},J=void 0!==J?J:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Y(){throw new Error("setTimeout has not been defined")}function K(){throw new Error("clearTimeout has not been defined")}var Q=Y,Z=K;function ee(e){if(Q===setTimeout)return setTimeout(e,0);if((Q===Y||!Q)&&setTimeout)return Q=setTimeout,setTimeout(e,0);try{return Q(e,0)}catch(t){try{return Q.call(null,e,0)}catch(t){return Q.call(this,e,0)}}}"function"==typeof J.setTimeout&&(Q=setTimeout),"function"==typeof J.clearTimeout&&(Z=clearTimeout);var te,ne=[],re=!1,ue=-1;function ae(){re&&te&&(re=!1,te.length?ne=te.concat(ne):ue=-1,ne.length&&ie())}function ie(){if(!re){var e=ee(ae);re=!0;for(var t=ne.length;t;){for(te=ne,ne=[];++ue<t;)te&&te[ue].run();ue=-1,t=ne.length}te=null,re=!1,function(e){if(Z===clearTimeout)return clearTimeout(e);if((Z===K||!Z)&&clearTimeout)return Z=clearTimeout,clearTimeout(e);try{Z(e)}catch(t){try{return Z.call(null,e)}catch(t){return Z.call(this,e)}}}(e)}}function oe(e,t){this.fun=e,this.array=t}function se(){}oe.prototype.run=function(){this.fun.apply(null,this.array)};var ce,le,pe,fe,de,he,De=se,me=se,ge=se,ye=se,ve=se,Ee=se,Ce=se,be=J.performance||{},Ae=be.now||be.mozNow||be.msNow||be.oNow||be.webkitNow||function(){return(new Date).getTime()},Fe=new Date,Se={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];ne.push(new oe(e,t)),1!==ne.length||re||ee(ie)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:De,addListener:me,once:ge,off:ye,removeListener:ve,removeAllListeners:Ee,emit:Ce,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Ae.call(be),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Fe)/1e3}},we="object"==w(Se)&&Se.env&&Se.env.NODE_DEBUG&&/\bsemver\b/i.test(Se.env.NODE_DEBUG)?function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=console).error.apply(e,["SEMVER"].concat(n))}:function(){},xe={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Te=t((function(e,t){var n=xe.MAX_SAFE_COMPONENT_LENGTH,r=(t=e.exports={}).re=[],u=t.src=[],a=t.t={},i=0,o=function(e,t,n){var o=i++;we(o,t),a[e]=o,u[o]=t,r[o]=new RegExp(t,n?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION","(".concat(u[a.NUMERICIDENTIFIER],")\\.")+"(".concat(u[a.NUMERICIDENTIFIER],")\\.")+"(".concat(u[a.NUMERICIDENTIFIER],")")),o("MAINVERSIONLOOSE","(".concat(u[a.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[a.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[a.NUMERICIDENTIFIERLOOSE],")")),o("PRERELEASEIDENTIFIER","(?:".concat(u[a.NUMERICIDENTIFIER],"|").concat(u[a.NONNUMERICIDENTIFIER],")")),o("PRERELEASEIDENTIFIERLOOSE","(?:".concat(u[a.NUMERICIDENTIFIERLOOSE],"|").concat(u[a.NONNUMERICIDENTIFIER],")")),o("PRERELEASE","(?:-(".concat(u[a.PRERELEASEIDENTIFIER],"(?:\\.").concat(u[a.PRERELEASEIDENTIFIER],")*))")),o("PRERELEASELOOSE","(?:-?(".concat(u[a.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(u[a.PRERELEASEIDENTIFIERLOOSE],")*))")),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD","(?:\\+(".concat(u[a.BUILDIDENTIFIER],"(?:\\.").concat(u[a.BUILDIDENTIFIER],")*))")),o("FULLPLAIN","v?".concat(u[a.MAINVERSION]).concat(u[a.PRERELEASE],"?").concat(u[a.BUILD],"?")),o("FULL","^".concat(u[a.FULLPLAIN],"$")),o("LOOSEPLAIN","[v=\\s]*".concat(u[a.MAINVERSIONLOOSE]).concat(u[a.PRERELEASELOOSE],"?").concat(u[a.BUILD],"?")),o("LOOSE","^".concat(u[a.LOOSEPLAIN],"$")),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE","".concat(u[a.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),o("XRANGEIDENTIFIER","".concat(u[a.NUMERICIDENTIFIER],"|x|X|\\*")),o("XRANGEPLAIN","[v=\\s]*(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:".concat(u[a.PRERELEASE],")?").concat(u[a.BUILD],"?")+")?)?"),o("XRANGEPLAINLOOSE","[v=\\s]*(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(u[a.PRERELEASELOOSE],")?").concat(u[a.BUILD],"?")+")?)?"),o("XRANGE","^".concat(u[a.GTLT],"\\s*").concat(u[a.XRANGEPLAIN],"$")),o("XRANGELOOSE","^".concat(u[a.GTLT],"\\s*").concat(u[a.XRANGEPLAINLOOSE],"$")),o("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),o("COERCERTL",u[a.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM","(\\s*)".concat(u[a.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",o("TILDE","^".concat(u[a.LONETILDE]).concat(u[a.XRANGEPLAIN],"$")),o("TILDELOOSE","^".concat(u[a.LONETILDE]).concat(u[a.XRANGEPLAINLOOSE],"$")),o("LONECARET","(?:\\^)"),o("CARETTRIM","(\\s*)".concat(u[a.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",o("CARET","^".concat(u[a.LONECARET]).concat(u[a.XRANGEPLAIN],"$")),o("CARETLOOSE","^".concat(u[a.LONECARET]).concat(u[a.XRANGEPLAINLOOSE],"$")),o("COMPARATORLOOSE","^".concat(u[a.GTLT],"\\s*(").concat(u[a.LOOSEPLAIN],")$|^$")),o("COMPARATOR","^".concat(u[a.GTLT],"\\s*(").concat(u[a.FULLPLAIN],")$|^$")),o("COMPARATORTRIM","(\\s*)".concat(u[a.GTLT],"\\s*(").concat(u[a.LOOSEPLAIN],"|").concat(u[a.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE","^\\s*(".concat(u[a.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(u[a.XRANGEPLAIN],")")+"\\s*$"),o("HYPHENRANGELOOSE","^\\s*(".concat(u[a.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(u[a.XRANGEPLAINLOOSE],")")+"\\s*$"),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0.0.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),ke=["includePrerelease","loose","rtl"],Be=/^[0-9]+$/,Ne=function(e,t){var n=Be.test(e),r=Be.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},_e=Ne,Pe=xe.MAX_LENGTH,Oe=xe.MAX_SAFE_INTEGER,Ie=Te.re,Le=Te.t,Me=_e,Re=function(){function e(t,n){if(x(this,e),n=function(e){return e?"object"!=w(e)?{loose:!0}:ke.filter((function(t){return e[t]})).reduce((function(e,t){return e[t]=!0,e}),{}):{}}(n),t instanceof e){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError("Invalid Version: ".concat(t));if(t.length>Pe)throw new TypeError("version is longer than ".concat(Pe," characters"));we("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;var r=t.trim().match(n.loose?Ie[Le.LOOSE]:Ie[Le.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Oe||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Oe||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Oe||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<Oe)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}return k(e,[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(t){if(we("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if("string"==typeof t&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}},{key:"compareMain",value:function(t){return t instanceof e||(t=new e(t,this.options)),Me(this.major,t.major)||Me(this.minor,t.minor)||Me(this.patch,t.patch)}},{key:"comparePre",value:function(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var n=0;do{var r=this.prerelease[n],u=t.prerelease[n];if(we("prerelease compare",n,r,u),void 0===r&&void 0===u)return 0;if(void 0===u)return 1;if(void 0===r)return-1;if(r!==u)return Me(r,u)}while(++n)}},{key:"compareBuild",value:function(t){t instanceof e||(t=new e(t,this.options));var n=0;do{var r=this.build[n],u=t.build[n];if(we("prerelease compare",n,r,u),void 0===r&&void 0===u)return 0;if(void 0===u)return 1;if(void 0===r)return-1;if(r!==u)return Me(r,u)}while(++n)}},{key:"inc",value:function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}]),e}(),je=Re,qe=function(e,t,n){return new je(e,n).compare(new je(t,n))},$e=t((function(e,t){function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function r(){return"undefined"!=typeof WeakMap?new WeakMap:{add:n,delete:n,get:n,set:n,has:function(e){return!1}}}Object.defineProperty(t,"__esModule",{value:!0}),t.outdent=void 0;var u=Object.prototype.hasOwnProperty,a=function(e,t){return u.call(e,t)};function i(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return e}var o=/^[ \t]*(?:\r\n|\r|\n)/,s=/(?:\r\n|\r|\n)[ \t]*$/,c=/^(?:[\r\n]|$)/,l=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function f(e,t,n){var r=0,u=e[0].match(l);u&&(r=u[1].length);var a=new RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var i=n.newline,c=n.trimLeadingNewline,p=n.trimTrailingNewline,f="string"==typeof i,d=e.length;return e.map((function(e,t){return e=e.replace(a,"$1"),0===t&&c&&(e=e.replace(o,"")),t===d-1&&p&&(e=e.replace(s,"")),f&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return i}))),e}))}function d(e,t){for(var n="",r=0,u=e.length;r<u;r++)n+=e[r],r<u-1&&(n+=t[r]);return n}function h(e){return a(e,"raw")&&a(e,"length")}var D=function e(t){var n=r(),u=r();return i((function r(a){for(var o=[],s=1;s<arguments.length;s++)o[s-1]=arguments[s];if(h(a)){var l=a,m=(o[0]===r||o[0]===D)&&p.test(l[0])&&c.test(l[1]),g=m?u:n,y=g.get(l);return y||(y=f(l,m,t),g.set(l,y)),0===o.length?y[0]:d(y,m?o.slice(1):o)}return e(i(i({},t),a||{}))}),{string:function(e){return f([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=D,t.default=D;try{e.exports=D,Object.defineProperty(D,"__esModule",{value:!0}),D.default=D,D.outdent=D}catch(e){}})),Ve=$e.outdent,Ue="Config",We="Editor",Ge="Other",ze="Global",He="Special",Xe={cursorOffset:{since:"1.4.0",category:He,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Ve(ce||(ce=H(["\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n "]))),cliCategory:We},endOfLine:{since:"1.15.0",category:ze,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:Ve(le||(le=H(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "])))}]},filepath:{since:"1.4.0",category:He,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Ge,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:He,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Ge},parser:{since:"0.0.10",category:ze,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:function(e){return"string"==typeof e||"function"==typeof e},choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:ze,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:function(e){return"string"==typeof e||"object"==w(e)},cliName:"plugin",cliCategory:Ue},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:ze,description:Ve(pe||(pe=H(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]))),exception:function(e){return"string"==typeof e||"object"==w(e)},cliName:"plugin-search-dir",cliCategory:Ue},printWidth:{since:"0.0.0",category:ze,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:He,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ve(fe||(fe=H(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:We},rangeStart:{since:"1.4.0",category:He,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ve(de||(de=H(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:We},requirePragma:{since:"1.7.0",category:He,type:"boolean",default:!1,description:Ve(he||(he=H(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]))),cliCategory:Ge},tabWidth:{type:"int",category:ze,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:ze,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:ze,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},Je=qe,Ye=function(e,t,n){return qe(e,t,n)<0},Ke=function(e,t,n){return qe(e,t,n)>=0},Qe="2.3.0",Ze=Xe,et=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.plugins,n=void 0===t?[]:t,r=e.showUnreleased,u=void 0!==r&&r,a=e.showDeprecated,i=void 0!==a&&a,o=e.showInternal,s=void 0!==o&&o,c=Qe.split("-",1)[0],l=n.reduce((function(e,t){return[].concat(v(e),v(t.languages||[]))}),[]).filter(f),p=function(e,t){return Object.entries(e).map((function(e){var t=C(e,2),n=t[0],r=t[1];return Object.assign(y({},"name",n),r)}))}(Object.assign.apply(Object,[{}].concat(v(n.map((function(e){return e.options}))),[Ze]))).filter((function(e){return f(e)&&d(e)})).sort((function(e,t){return e.name===t.name?0:e.name<t.name?-1:1})).map((function(e){return s?e:function(e,t){if(null==e)return{};var n,r,u={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(u[n]=e[n]);return u}(e,["cliName","cliCategory","cliDescription"])})).map((function(e){e=Object.assign({},e),Array.isArray(e.default)&&(e.default=1===e.default.length?e.default[0].value:e.default.filter(f).sort((function(e,t){return Je(t.since,e.since)}))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter((function(e){return f(e)&&d(e)})),"parser"===e.name&&function(e,t,n){var r,u=new Set(e.choices.map((function(e){return e.value}))),a=g(t);try{for(a.s();!(r=a.n()).done;){var i=r.value;if(i.parsers){var o,s=g(i.parsers);try{var c=function(){var t=o.value;if(!u.has(t)){u.add(t);var r=n.find((function(e){return e.parsers&&e.parsers[t]})),a=i.name;r&&r.name&&(a+=" (plugin: ".concat(r.name,")")),e.choices.push({value:t,description:a})}};for(s.s();!(o=s.n()).done;)c()}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}}(e,l,n));var t=X(n.filter((function(t){return t.defaultOptions&&void 0!==t.defaultOptions[e.name]})).map((function(t){return[t.name,t.defaultOptions[e.name]]})));return Object.assign({},e,{pluginDefaults:t})}));return{languages:l,options:p};function f(e){return u||!("since"in e)||e.since&&Ke(c,e.since)}function d(e){return i||!("deprecated"in e)||e.deprecated&&Ye(c,e.deprecated)}},tt=et;function nt(e){return function(t,n,r){var u=r&&r.backwards;if(!1===n)return!1;for(var a=t.length,i=n;i>=0&&i<a;){var o=t.charAt(i);if(e instanceof RegExp){if(!e.test(o))return i}else if(!e.includes(o))return i;u?i--:i++}return(-1===i||i===a)&&i}}nt(/\s/),nt(" \t"),nt(",; \t"),nt(/[^\n\r]/);var rt=function(e,t){var n=tt({plugins:t.plugins}).languages,r=n.find((function(t){return t.name.toLowerCase()===e}))||n.find((function(t){var n=t.aliases;return Array.isArray(n)&&n.includes(e)}))||n.find((function(t){var n=t.extensions;return Array.isArray(n)&&n.includes(".".concat(e))}));return r&&r.parsers[0]},ut=function(e){return e&&"front-matter"===e.type},at=function(e){return Array.isArray(e)&&e.length>0},it=rt,ot=ut,st={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},ct="inline",lt={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},pt="normal",ft=mt(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),dt=function(e,t){for(var n=Object.create(null),r=0,u=Object.entries(e);r<u.length;r++){var a=C(u[r],2),i=a[0],o=a[1];n[i]=t(o,i)}return n}({"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]},mt),ht=new Set(["\t","\n","\f","\r"," "]),Dt=function(e){return e.replace(/[\t\n\f\r ]+$/,"")};function mt(e){var t,n=Object.create(null),r=g(e);try{for(r.s();!(t=r.n()).done;)n[t.value]=!0}catch(e){r.e(e)}finally{r.f()}return n}function gt(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!kt(e)||!e.children.some((function(e){return"text"!==e.type&&"interpolation"!==e.type})))||!(!It(e,t)||vt(e)||"interpolation"===e.type)}function yt(e){return"attribute"!==e.type&&!!e.parent&&"number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function vt(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||Bt(e)&&("script"===e.name||"style"===e.name))}function Et(e){return Nt(e).startsWith("pre")}function Ct(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function bt(e){return wt(e)||"element"===e.type&&"br"===e.fullName||At(e)}function At(e){return Ft(e)&&St(e)}function Ft(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function St(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function wt(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function xt(e){var t=e.attrMap,n=t.type,r=t.lang;return"module"===n||"text/javascript"===n||"text/babel"===n||"application/javascript"===n||"jsx"===r?"babel":"application/x-typescript"===n||"ts"===r||"tsx"===r?"typescript":"text/markdown"===n?"markdown":"text/html"===n?"html":n&&(n.endsWith("json")||n.endsWith("importmap"))?"json":"text/x-handlebars-template"===n?"glimmer":void 0}function Tt(e){return"block"===e||"list-item"===e||e.startsWith("table")}function kt(e){return Nt(e).startsWith("pre")}function Bt(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Nt(e){return"element"===e.type&&(!e.namespace||Bt(e))&<[e.name]||pt}var _t=new Set(["template","style","script"]);function Pt(e,t){return Ot(e,t)&&!_t.has(e.fullName)}function Ot(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function It(e,t){return Ot(e,t)&&(Pt(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var Lt={HTML_ELEMENT_ATTRIBUTES:dt,HTML_TAGS:ft,htmlTrim:function(e){return function(e){return e.replace(/^[\t\n\f\r ]+/,"")}(Dt(e))},htmlTrimPreserveIndentation:function(e){return function(e){return e.replace(/^[\t\f\r ]*?\n/g,"")}(Dt(e))},splitByHtmlWhitespace:function(e){return e.split(/[\t\n\f\r ]+/)},hasHtmlWhitespace:function(e){return/[\t\n\f\r ]/.test(e)},getLeadingAndTrailingHtmlWhitespace:function(e){var t=C(e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/),4),n=t[1],r=t[2];return{leadingWhitespace:n,trailingWhitespace:t[3],text:r}},canHaveInterpolation:function(e){return e.children&&!vt(e)},countChars:function(e,t){for(var n=0,r=0;r<e.length;r++)e[r]===t&&n++;return n},countParents:function(e,t){for(var n=0,r=e.stack.length-1;r>=0;r--){var u=e.stack[r];u&&"object"==w(u)&&!Array.isArray(u)&&t(u)&&n++}return n},dedentString:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){var t,n,r=Number.POSITIVE_INFINITY,u=g(e.split("\n"));try{for(u.s();!(t=u.n()).done;){var a=t.value;if(0!==a.length){if(!ht.has(a[0]))return 0;var i=(n=a,n.match(/^[\t\n\f\r ]*/)[0]).length;a.length!==i&&i<r&&(r=i)}}}catch(e){u.e(e)}finally{u.f()}return r===Number.POSITIVE_INFINITY?0:r}(e);return 0===t?e:e.split("\n").map((function(e){return e.slice(t)})).join("\n")},forceBreakChildren:Ct,forceBreakContent:function(e){return Ct(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some((function(e){return function(e){return e.children&&e.children.some((function(e){return"text"!==e.type}))}(e)})))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&Ft(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||St(e.lastChild))},forceNextEmptyLine:function(e){return ot(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:function e(t){return t.lastChild?e(t.lastChild):t},getNodeCssStyleDisplay:function(e,t){if(e.prev&&"comment"===e.prev.type){var n=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(n)return n[1]}var r=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){for(var n=e;n;){if(t(n))return!0;n=n.parent}return!1}(e,(function(e){return"svg:foreignObject"===e.fullName})))return"svg"===e.name?"inline-block":"block";r=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||r||Bt(e))&&st[e.name]||ct}},getNodeCssStyleWhiteSpace:Nt,getPrettierIgnoreAttributeCommentData:function(e){var t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:yt,inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){var t=e.attrMap.lang;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&It(e,t)?xt(e)||!("src"in e.attrMap)&&it(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?xt(e):"babel"},isVueCustomBlock:Pt,isVueNonHtmlBlock:It,isVueSlotAttribute:function(e){var t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){var n=e.parent;if(!Ot(n,t))return!1;var r=n.fullName,u=e.fullName;return"script"===r&&"setup"===u||"style"===r&&"vars"===u},isDanglingSpaceSensitiveNode:function(e){return!(Tt(t=e.cssDisplay)||"inline-block"===t||vt(e));var t},isIndentationSensitiveNode:Et,isLeadingSpaceSensitiveNode:function(e,t){var n=function(){return!(ot(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!kt(e.parent)&&(!e.prev&&("root"===e.parent.type||kt(e)&&e.parent||vt(e.parent)||Pt(e.parent,t)||(n=e.parent.cssDisplay,Tt(n)||"inline-block"===n))||e.prev&&!function(e){return!Tt(e)}(e.prev.cssDisplay))));var n}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:kt,isScriptLikeTag:vt,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!(ot(e)||("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)&&(!e.parent||"none"===e.parent.cssDisplay||!kt(e.parent)&&(!e.next&&("root"===e.parent.type||kt(e)&&e.parent||vt(e.parent)||Pt(e.parent,t)||(n=e.parent.cssDisplay,Tt(n)||"inline-block"===n))||e.next&&!function(e){return!Tt(e)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return vt(e)||"interpolation"===e.type||Et(e)},isUnknownNamespace:Bt,preferHardlineAsLeadingSpaces:function(e){return wt(e)||e.prev&&bt(e.prev)||At(e)},preferHardlineAsTrailingSpaces:bt,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(yt(e)||gt(e.parent,t))},shouldPreserveContent:gt,unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')}},Mt=at,Rt={attrs:!0,children:!0},jt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x(this,e);for(var n=0,r=Object.entries(t);n<r.length;n++){var u=C(r[n],2),a=u[0],i=u[1];a in Rt?this._setNodes(a,i):this[a]=i}}return k(e,[{key:"_setNodes",value:function(t,n){n!==this[t]&&(this[t]=function(t,n){for(var r=t.map((function(t){return t instanceof e?t.clone():new e(t)})),u=null,a=r[0],i=r[1]||null,o=0;o<r.length;o++)$t(a,{index:o,siblings:r,prev:u,next:i,parent:n}),u=a,a=i,i=r[o+2]||null;return r}(n,this),"attrs"===t&&$t(this,{attrMap:X(this[t].map((function(e){return[e.fullName,e.value]})))}))}},{key:"map",value:function(t){var n=null;for(var r in Rt){var u=this[r];if(u){var a=qt(u,(function(e){return e.map(t)}));n!==u&&(n||(n=new e),n._setNodes(r,a))}}if(n){for(var i in this)i in Rt||(n[i]=this[i]);$t(n,{index:this.index,siblings:this.siblings,prev:this.prev,next:this.next,parent:this.parent})}return t(n||this)}},{key:"clone",value:function(t){return new e(t?Object.assign({},this,t):this)}},{key:"firstChild",get:function(){return Mt(this.children)?this.children[0]:null}},{key:"lastChild",get:function(){return Mt(this.children)?q(this.children):null}},{key:"rawName",get:function(){return this.hasExplicitNamespace?this.fullName:this.name}},{key:"fullName",get:function(){return this.namespace?this.namespace+":"+this.name:this.name}}]),e}();function qt(e,t){var n=e.map(t);return n.some((function(t,n){return t!==e[n]}))?n:e}function $t(e,t){var n=X(Object.entries(t).map((function(e){var t=C(e,2);return[t[0],{value:t[1],enumerable:!1}]})));Object.defineProperties(e,n)}var Vt,Ut,Wt={Node:jt},Gt=M.ParseSourceSpan,zt=[{regex:/^(\[if([^\]]*?)\]>)([\s\S]*?)<!\s*\[endif\]$/,parse:function(e,t,n){var r=C(n,4),u=r[1],a=r[2],i=r[3],o="\x3c!--".length+u.length,s=e.sourceSpan.start.moveBy(o),c=s.moveBy(i.length),l=C(function(){try{return[!0,t(i,s).children]}catch(e){return[!1,[{type:"text",value:i,sourceSpan:new Gt(s,c)}]]}}(),2);return{type:"ieConditionalComment",complete:l[0],children:l[1],condition:a.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new Gt(e.sourceSpan.start,s),endSourceSpan:new Gt(c,e.sourceSpan.end)}}},{regex:/^\[if([^\]]*?)]><!$/,parse:function(e,t,n){return{type:"ieConditionalStartComment",condition:C(n,2)[1].trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan}}},{regex:/^<!\s*\[endif]$/,parse:function(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}}],Ht=function(e,t){if(e.value){var n,r=g(zt);try{for(r.s();!(n=r.n()).done;){var u=n.value,a=u.regex,i=u.parse,o=e.value.match(a);if(o)return i(e,t,o)}}catch(e){r.e(e)}finally{r.f()}}return null},Xt=function(e){return e.sourceSpan.start.offset},Jt=function(e){return e.sourceSpan.end.offset},Yt=t((function(e,t){function n(e){if(":"!=e[0])return[null,e];var t=e.indexOf(":",1);if(-1==t)throw new Error('Unsupported format "'.concat(e,'" expecting ":namespace:name"'));return[e.slice(1,t),e.slice(t+1)]}Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(t.TagContentType||(t.TagContentType={})),t.splitNsName=n,t.isNgContainer=function(e){return"ng-container"===n(e)[1]},t.isNgContent=function(e){return"ng-content"===n(e)[1]},t.isNgTemplate=function(e){return"ng-template"===n(e)[1]},t.getNsPrefix=function(e){return null===e?null:n(e)[0]},t.mergeNsAndName=function(e,t){return e?":".concat(e,":").concat(t):t},t.NAMED_ENTITIES={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},t.NGSP_UNICODE="",t.NAMED_ENTITIES.ngsp=t.NGSP_UNICODE})),Kt=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.closedByChildren,u=n.implicitNamespacePrefix,a=n.contentType,i=void 0===a?Yt.TagContentType.PARSABLE_DATA:a,o=n.closedByParent,s=void 0!==o&&o,c=n.isVoid,l=void 0!==c&&c,p=n.ignoreFirstLf,f=void 0!==p&&p;x(this,e),this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,r&&r.length>0&&r.forEach((function(e){return t.closedByChildren[e]=!0})),this.isVoid=l,this.closedByParent=s||l,this.implicitNamespacePrefix=u||null,this.contentType=i,this.ignoreFirstLf=f}return k(e,[{key:"isClosedByChild",value:function(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}}]),e}(),Qt=Kt,Zt=Object.defineProperty({HtmlTagDefinition:Qt,getHtmlTagDefinition:function(e){return Ut||(Vt=new Kt,Ut={base:new Kt({isVoid:!0}),meta:new Kt({isVoid:!0}),area:new Kt({isVoid:!0}),embed:new Kt({isVoid:!0}),link:new Kt({isVoid:!0}),img:new Kt({isVoid:!0}),input:new Kt({isVoid:!0}),param:new Kt({isVoid:!0}),hr:new Kt({isVoid:!0}),br:new Kt({isVoid:!0}),source:new Kt({isVoid:!0}),track:new Kt({isVoid:!0}),wbr:new Kt({isVoid:!0}),p:new Kt({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new Kt({closedByChildren:["tbody","tfoot"]}),tbody:new Kt({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new Kt({closedByChildren:["tbody"],closedByParent:!0}),tr:new Kt({closedByChildren:["tr"],closedByParent:!0}),td:new Kt({closedByChildren:["td","th"],closedByParent:!0}),th:new Kt({closedByChildren:["td","th"],closedByParent:!0}),col:new Kt({isVoid:!0}),svg:new Kt({implicitNamespacePrefix:"svg"}),math:new Kt({implicitNamespacePrefix:"math"}),li:new Kt({closedByChildren:["li"],closedByParent:!0}),dt:new Kt({closedByChildren:["dt","dd"]}),dd:new Kt({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new Kt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new Kt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new Kt({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new Kt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new Kt({closedByChildren:["optgroup"],closedByParent:!0}),option:new Kt({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new Kt({ignoreFirstLf:!0}),listing:new Kt({ignoreFirstLf:!0}),style:new Kt({contentType:Yt.TagContentType.RAW_TEXT}),script:new Kt({contentType:Yt.TagContentType.RAW_TEXT}),title:new Kt({contentType:Yt.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new Kt({contentType:Yt.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),Ut[e]||Vt}},"__esModule",{value:!0}),en=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;x(this,e),this.path=t,this.position=n}return k(e,[{key:"empty",get:function(){return!this.path||!this.path.length}},{key:"head",get:function(){return this.path[0]}},{key:"tail",get:function(){return this.path[this.path.length-1]}},{key:"parentOf",value:function(e){return e&&this.path[this.path.indexOf(e)-1]}},{key:"childOf",value:function(e){return this.path[this.path.indexOf(e)+1]}},{key:"first",value:function(e){for(var t=this.path.length-1;t>=0;t--){var n=this.path[t];if(n instanceof e)return n}}},{key:"push",value:function(e){this.path.push(e)}},{key:"pop",value:function(){return this.path.pop()}}]),e}(),tn=Object.defineProperty({AstPath:en},"__esModule",{value:!0}),nn=function(){function e(t,n,r){x(this,e),this.value=t,this.sourceSpan=n,this.i18n=r,this.type="text"}return k(e,[{key:"visit",value:function(e,t){return e.visitText(this,t)}}]),e}(),rn=function(){function e(t,n){x(this,e),this.value=t,this.sourceSpan=n,this.type="cdata"}return k(e,[{key:"visit",value:function(e,t){return e.visitCdata(this,t)}}]),e}(),un=function(){function e(t,n,r,u,a,i){x(this,e),this.switchValue=t,this.type=n,this.cases=r,this.sourceSpan=u,this.switchValueSourceSpan=a,this.i18n=i}return k(e,[{key:"visit",value:function(e,t){return e.visitExpansion(this,t)}}]),e}(),an=function(){function e(t,n,r,u,a){x(this,e),this.value=t,this.expression=n,this.sourceSpan=r,this.valueSourceSpan=u,this.expSourceSpan=a}return k(e,[{key:"visit",value:function(e,t){return e.visitExpansionCase(this,t)}}]),e}(),on=function(){function e(t,n,r){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;x(this,e),this.name=t,this.value=n,this.sourceSpan=r,this.valueSpan=u,this.nameSpan=a,this.i18n=i,this.type="attribute"}return k(e,[{key:"visit",value:function(e,t){return e.visitAttribute(this,t)}}]),e}(),sn=function(){function e(t,n,r,u){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;x(this,e),this.name=t,this.attrs=n,this.children=r,this.sourceSpan=u,this.startSourceSpan=a,this.endSourceSpan=i,this.nameSpan=o,this.i18n=s,this.type="element"}return k(e,[{key:"visit",value:function(e,t){return e.visitElement(this,t)}}]),e}(),cn=sn,ln=function(){function e(t,n){x(this,e),this.value=t,this.sourceSpan=n,this.type="comment"}return k(e,[{key:"visit",value:function(e,t){return e.visitComment(this,t)}}]),e}(),pn=function(){function e(t,n){x(this,e),this.value=t,this.sourceSpan=n,this.type="docType"}return k(e,[{key:"visit",value:function(e,t){return e.visitDocType(this,t)}}]),e}();function fn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=[],u=e.visit?function(t){return e.visit(t,n)||t.visit(e,n)}:function(t){return t.visit(e,n)};return t.forEach((function(e){var t=u(e);t&&r.push(t)})),r}var dn=fn,hn=function(){function e(){x(this,e)}return k(e,[{key:"visitElement",value:function(e,t){this.visitChildren(t,(function(t){t(e.attrs),t(e.children)}))}},{key:"visitAttribute",value:function(e,t){}},{key:"visitText",value:function(e,t){}},{key:"visitCdata",value:function(e,t){}},{key:"visitComment",value:function(e,t){}},{key:"visitDocType",value:function(e,t){}},{key:"visitExpansion",value:function(e,t){return this.visitChildren(t,(function(t){t(e.cases)}))}},{key:"visitExpansionCase",value:function(e,t){}},{key:"visitChildren",value:function(e,t){var n=[],r=this;return t((function(t){t&&n.push(fn(r,t,e))})),Array.prototype.concat.apply([],n)}}]),e}(),Dn=hn;function mn(e){var t=e.sourceSpan.start.offset,n=e.sourceSpan.end.offset;return e instanceof sn&&(e.endSourceSpan?n=e.endSourceSpan.end.offset:e.children&&e.children.length&&(n=mn(e.children[e.children.length-1]).end)),{start:t,end:n}}var gn=Object.defineProperty({Text:nn,CDATA:rn,Expansion:un,ExpansionCase:an,Attribute:on,Element:cn,Comment:ln,DocType:pn,visitAll:dn,RecursiveVisitor:Dn,findNode:function(e,t){var n=[];return fn(new(function(e){p(u,e);var r=d(u);function u(){return x(this,u),r.apply(this,arguments)}return k(u,[{key:"visit",value:function(e,r){var u=mn(e);if(!(u.start<=t&&t<u.end))return!0;n.push(e)}}]),u}(hn)),e),new tn.AstPath(n,t)}},"__esModule",{value:!0}),yn=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],vn=Object.defineProperty({assertArrayOfStrings:function(e,t){if(null!=t){if(!Array.isArray(t))throw new Error("Expected '".concat(e,"' to be an array of strings."));for(var n=0;n<t.length;n+=1)if("string"!=typeof t[n])throw new Error("Expected '".concat(e,"' to be an array of strings."))}},assertInterpolationSymbols:function(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error("Expected '".concat(e,"' to be an array, [start, end]."));if(null!=t){var n=t[0],r=t[1];yn.forEach((function(e){if(e.test(n)||e.test(r))throw new Error("['".concat(n,"', '").concat(r,"'] contains unusable interpolation symbol."))}))}}},"__esModule",{value:!0}),En=t((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(t,n){x(this,e),this.start=t,this.end=n}return k(e,null,[{key:"fromArray",value:function(n){return n?(vn.assertInterpolationSymbols("interpolation",n),new e(n[0],n[1])):t.DEFAULT_INTERPOLATION_CONFIG}}]),e}();t.InterpolationConfig=n,t.DEFAULT_INTERPOLATION_CONFIG=new n("{{","}}")})),Cn=t((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r,u=n;!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.TEXT=4]="TEXT",e[e.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=6]="RAW_TEXT",e[e.COMMENT_START=7]="COMMENT_START",e[e.COMMENT_END=8]="COMMENT_END",e[e.CDATA_START=9]="CDATA_START",e[e.CDATA_END=10]="CDATA_END",e[e.ATTR_NAME=11]="ATTR_NAME",e[e.ATTR_QUOTE=12]="ATTR_QUOTE",e[e.ATTR_VALUE=13]="ATTR_VALUE",e[e.DOC_TYPE_START=14]="DOC_TYPE_START",e[e.DOC_TYPE_END=15]="DOC_TYPE_END",e[e.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",e[e.EOF=21]="EOF"}(r=t.TokenType||(t.TokenType={}));var a=k((function e(t,n,r){x(this,e),this.type=t,this.parts=n,this.sourceSpan=r}));t.Token=a;var i=function(e){p(n,e);var t=d(n);function n(e,r,u){var a;return x(this,n),(a=t.call(this,u,e)).tokenType=r,a}return k(n)}(M.ParseError);t.TokenError=i;var o=k((function e(t,n){x(this,e),this.tokens=t,this.errors=n}));t.TokenizeResult=o,t.tokenize=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new g(new M.ParseSourceFile(e,t),n,r).tokenize()};var s=/\r\n?/g;function l(e){var t=e===u.$EOF?"EOF":String.fromCharCode(e);return'Unexpected character "'.concat(t,'"')}function f(e){return'Unknown entity "'.concat(e,'" - use the "&#<decimal>;" or "&#x<hex>;" syntax')}var D=k((function e(t){x(this,e),this.error=t})),g=function(){function e(t,n,r){x(this,e),this._getTagContentType=n,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||En.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map((function(e){return e.codePointAt(0)||0})),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;var u=r.range||{endPos:t.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new S(t,u):new F(t,u);try{this._cursor.init()}catch(t){this.handleError(t)}}return k(e,[{key:"_processCarriageReturns",value:function(e){return e.replace(s,"\n")}},{key:"tokenize",value:function(){for(;this._cursor.peek()!==u.$EOF;){var e=this._cursor.clone();try{if(this._attemptCharCode(u.$LT))if(this._attemptCharCode(u.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(u.$SLASH))this._consumeTagClose(e);else{var t=this._cursor.clone();this._attemptCharCode(u.$QUESTION)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}return this._beginToken(r.EOF),this._endToken([]),new o(function(e){for(var t,n=[],u=0;u<e.length;u++){var a=e[u];t&&t.type==r.TEXT&&a.type==r.TEXT?(t.parts[0]+=a.parts[0],t.sourceSpan.end=a.sourceSpan.end):(t=a,n.push(t))}return n}(this.tokens),this.errors)}},{key:"_tokenizeExpansionForm",value:function(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(((e=this._cursor.peek())===u.$EQ||u.isAsciiLetter(e)||u.isDigit(e))&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;var e;if(this._cursor.peek()===u.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}},{key:"_beginToken",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();this._currentTokenStart=t,this._currentTokenType=e}},{key:"_endToken",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();if(null===this._currentTokenStart)throw new i("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new i("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));var n=new a(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}},{key:"_createError",value:function(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');var n=new i(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new D(n)}},{key:"handleError",value:function(e){if(e instanceof w&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof D))throw e;this.errors.push(e.error)}},{key:"_attemptCharCode",value:function(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}},{key:"_attemptCharCodeCaseInsensitive",value:function(e){return t=e,A(this._cursor.peek())==A(t)&&(this._cursor.advance(),!0);var t}},{key:"_requireCharCode",value:function(e){var t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(t))}},{key:"_attemptStr",value:function(e){var t=e.length;if(this._cursor.charsLeft()<t)return!1;for(var n=this._cursor.clone(),r=0;r<t;r++)if(!this._attemptCharCode(e.charCodeAt(r)))return this._cursor=n,!1;return!0}},{key:"_attemptStrCaseInsensitive",value:function(e){for(var t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}},{key:"_requireStr",value:function(e){var t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(t))}},{key:"_requireStrCaseInsensitive",value:function(e){var t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(t))}},{key:"_attemptCharCodeUntilFn",value:function(e){for(;!e(this._cursor.peek());)this._cursor.advance()}},{key:"_requireCharCodeUntilFn",value:function(e,t){var n=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.clone().diff(n)<t)throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(n))}},{key:"_attemptUntilChar",value:function(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}},{key:"_readChar",value:function(e){if(e&&this._cursor.peek()===u.$AMPERSAND)return this._decodeEntity();var t=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),t}},{key:"_decodeEntity",value:function(){var e=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(u.$HASH)){var t=this._cursor.clone();if(this._attemptCharCodeUntilFn(b),this._cursor.peek()!=u.$SEMICOLON)return this._cursor=t,"&";var n=this._cursor.getChars(t);this._cursor.advance();var r=Yt.NAMED_ENTITIES[n];if(!r)throw this._createError(f(n),this._cursor.getSpan(e));return r}var a=this._attemptCharCode(u.$x)||this._attemptCharCode(u.$X),i=this._cursor.clone();if(this._attemptCharCodeUntilFn(E),this._cursor.peek()!=u.$SEMICOLON)throw this._createError(l(this._cursor.peek()),this._cursor.getSpan());var o=this._cursor.getChars(i);this._cursor.advance();try{var s=parseInt(o,a?16:10);return String.fromCharCode(s)}catch(t){throw this._createError(f(this._cursor.getChars(e)),this._cursor.getSpan())}}},{key:"_consumeRawText",value:function(e,t){this._beginToken(e?r.ESCAPABLE_RAW_TEXT:r.RAW_TEXT);for(var n=[];;){var u=this._cursor.clone(),a=t();if(this._cursor=u,a)break;n.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(n.join(""))])}},{key:"_consumeComment",value:function(e){var t=this;this._beginToken(r.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,(function(){return t._attemptStr("--\x3e")})),this._beginToken(r.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}},{key:"_consumeBogusComment",value:function(e){var t=this;this._beginToken(r.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,(function(){return t._cursor.peek()===u.$GT})),this._beginToken(r.COMMENT_END),this._cursor.advance(),this._endToken([])}},{key:"_consumeCdata",value:function(e){var t=this;this._beginToken(r.CDATA_START,e),this._endToken([]),this._consumeRawText(!1,(function(){return t._attemptStr("]]>")})),this._beginToken(r.CDATA_END),this._requireStr("]]>"),this._endToken([])}},{key:"_consumeDocType",value:function(e){var t=this;this._beginToken(r.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,(function(){return t._cursor.peek()===u.$GT})),this._beginToken(r.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}},{key:"_consumePrefixAndName",value:function(){for(var e,t,n=this._cursor.clone(),r="";this._cursor.peek()!==u.$COLON&&!(((e=this._cursor.peek())<u.$a||u.$z<e)&&(e<u.$A||u.$Z<e)&&(e<u.$0||e>u.$9));)this._cursor.advance();return this._cursor.peek()===u.$COLON?(r=this._cursor.getChars(n),this._cursor.advance(),t=this._cursor.clone()):t=n,this._requireCharCodeUntilFn(v,""===r?0:1),[r,this._cursor.getChars(t)]}},{key:"_consumeTagOpen",value:function(e){var t,n,a,i=this.tokens.length,o=this._cursor.clone(),s=[];try{if(!u.isAsciiLetter(this._cursor.peek()))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(e));for(n=(a=this._consumeTagOpenStart(e)).parts[0],t=a.parts[1],this._attemptCharCodeUntilFn(y);this._cursor.peek()!==u.$SLASH&&this._cursor.peek()!==u.$GT;){var c=C(this._consumeAttributeName(),2),p=c[0],f=c[1];if(this._attemptCharCodeUntilFn(y),this._attemptCharCode(u.$EQ)){this._attemptCharCodeUntilFn(y);var d=this._consumeAttributeValue();s.push({prefix:p,name:f,value:d})}else s.push({prefix:p,name:f});this._attemptCharCodeUntilFn(y)}this._consumeTagOpenEnd()}catch(t){if(t instanceof D)return this._cursor=o,a&&(this.tokens.length=i),this._beginToken(r.TEXT,e),void this._endToken(["<"]);throw t}if(!this._canSelfClose||this.tokens[this.tokens.length-1].type!==r.TAG_OPEN_END_VOID){var h=this._getTagContentType(t,n,this._fullNameStack.length>0,s);this._handleFullNameStackForTagOpen(n,t),h===Yt.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(n,t,!1):h===Yt.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,t,!0)}}},{key:"_consumeRawTextWithTagClose",value:function(e,t,n){var a=this;this._consumeRawText(n,(function(){return!!a._attemptCharCode(u.$LT)&&!!a._attemptCharCode(u.$SLASH)&&(a._attemptCharCodeUntilFn(y),!!a._attemptStrCaseInsensitive(e?"".concat(e,":").concat(t):t)&&(a._attemptCharCodeUntilFn(y),a._attemptCharCode(u.$GT)))})),this._beginToken(r.TAG_CLOSE),this._requireCharCodeUntilFn((function(e){return e===u.$GT}),3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}},{key:"_consumeTagOpenStart",value:function(e){this._beginToken(r.TAG_OPEN_START,e);var t=this._consumePrefixAndName();return this._endToken(t)}},{key:"_consumeAttributeName",value:function(){var e=this._cursor.peek();if(e===u.$SQ||e===u.$DQ)throw this._createError(l(e),this._cursor.getSpan());this._beginToken(r.ATTR_NAME);var t=this._consumePrefixAndName();return this._endToken(t),t}},{key:"_consumeAttributeValue",value:function(){var e;if(this._cursor.peek()===u.$SQ||this._cursor.peek()===u.$DQ){this._beginToken(r.ATTR_QUOTE);var t=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(t)]),this._beginToken(r.ATTR_VALUE);for(var n=[];this._cursor.peek()!==t;)n.push(this._readChar(!0));e=this._processCarriageReturns(n.join("")),this._endToken([e]),this._beginToken(r.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(t)])}else{this._beginToken(r.ATTR_VALUE);var a=this._cursor.clone();this._requireCharCodeUntilFn(v,1),e=this._processCarriageReturns(this._cursor.getChars(a)),this._endToken([e])}return e}},{key:"_consumeTagOpenEnd",value:function(){var e=this._attemptCharCode(u.$SLASH)?r.TAG_OPEN_END_VOID:r.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(u.$GT),this._endToken([])}},{key:"_consumeTagClose",value:function(e){if(this._beginToken(r.TAG_CLOSE,e),this._attemptCharCodeUntilFn(y),this._allowHtmComponentClosingTags&&this._attemptCharCode(u.$SLASH))this._attemptCharCodeUntilFn(y),this._requireCharCode(u.$GT),this._endToken([]);else{var t=C(this._consumePrefixAndName(),2),n=t[0],a=t[1];this._attemptCharCodeUntilFn(y),this._requireCharCode(u.$GT),this._endToken([n,a]),this._handleFullNameStackForTagClose(n,a)}}},{key:"_consumeExpansionFormStart",value:function(){this._beginToken(r.EXPANSION_FORM_START),this._requireCharCode(u.$LBRACE),this._endToken([]),this._expansionCaseStack.push(r.EXPANSION_FORM_START),this._beginToken(r.RAW_TEXT);var e=this._readUntil(u.$COMMA);this._endToken([e]),this._requireCharCode(u.$COMMA),this._attemptCharCodeUntilFn(y),this._beginToken(r.RAW_TEXT);var t=this._readUntil(u.$COMMA);this._endToken([t]),this._requireCharCode(u.$COMMA),this._attemptCharCodeUntilFn(y)}},{key:"_consumeExpansionCaseStart",value:function(){this._beginToken(r.EXPANSION_CASE_VALUE);var e=this._readUntil(u.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(y),this._beginToken(r.EXPANSION_CASE_EXP_START),this._requireCharCode(u.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(y),this._expansionCaseStack.push(r.EXPANSION_CASE_EXP_START)}},{key:"_consumeExpansionCaseEnd",value:function(){this._beginToken(r.EXPANSION_CASE_EXP_END),this._requireCharCode(u.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(y),this._expansionCaseStack.pop()}},{key:"_consumeExpansionFormEnd",value:function(){this._beginToken(r.EXPANSION_FORM_END),this._requireCharCode(u.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}},{key:"_consumeText",value:function(){var e=this._cursor.clone();this._beginToken(r.TEXT,e);var t=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(t.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(t.push(this._interpolationConfig.end),this._inInterpolation=!1):t.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(t.join(""))])}},{key:"_isTextEnd",value:function(){if(this._cursor.peek()===u.$LT||this._cursor.peek()===u.$EOF)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(this.isExpansionFormStart())return!0;if(this._cursor.peek()===u.$RBRACE&&this._isInExpansionCase())return!0}return!1}},{key:"_readUntil",value:function(e){var t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}},{key:"_isInExpansionCase",value:function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===r.EXPANSION_CASE_EXP_START}},{key:"_isInExpansionForm",value:function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===r.EXPANSION_FORM_START}},{key:"isExpansionFormStart",value:function(){if(this._cursor.peek()!==u.$LBRACE)return!1;if(this._interpolationConfig){var e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}},{key:"_handleFullNameStackForTagOpen",value:function(e,t){var n=Yt.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]!==n||this._fullNameStack.push(n)}},{key:"_handleFullNameStackForTagClose",value:function(e,t){var n=Yt.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===n&&this._fullNameStack.pop()}}]),e}();function y(e){return!u.isWhitespace(e)||e===u.$EOF}function v(e){return u.isWhitespace(e)||e===u.$GT||e===u.$SLASH||e===u.$SQ||e===u.$DQ||e===u.$EQ}function E(e){return e==u.$SEMICOLON||e==u.$EOF||!u.isAsciiHexDigit(e)}function b(e){return e==u.$SEMICOLON||e==u.$EOF||!u.isAsciiLetter(e)}function A(e){return e>=u.$a&&e<=u.$z?e-u.$a+u.$A:e}var F=function(){function e(t,n){if(x(this,e),t instanceof e)this.file=t.file,this.input=t.input,this.end=t.end,this.state=Object.assign({},t.state);else{if(!n)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=t,this.input=t.content,this.end=n.endPos,this.state={peek:-1,offset:n.startPos,line:n.startLine,column:n.startCol}}}return k(e,[{key:"clone",value:function(){return new e(this)}},{key:"peek",value:function(){return this.state.peek}},{key:"charsLeft",value:function(){return this.end-this.state.offset}},{key:"diff",value:function(e){return this.state.offset-e.state.offset}},{key:"advance",value:function(){this.advanceState(this.state)}},{key:"init",value:function(){this.updatePeek(this.state)}},{key:"getSpan",value:function(e,t){if(e=e||this,t)for(e=e.clone();this.diff(e)>0&&-1!==t.indexOf(e.peek());)e.advance();return new M.ParseSourceSpan(new M.ParseLocation(e.file,e.state.offset,e.state.line,e.state.column),new M.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}},{key:"getChars",value:function(e){return this.input.substring(e.state.offset,this.state.offset)}},{key:"charAt",value:function(e){return this.input.charCodeAt(e)}},{key:"advanceState",value:function(e){if(e.offset>=this.end)throw this.state=e,new w('Unexpected character "EOF"',this);var t=this.charAt(e.offset);t===u.$LF?(e.line++,e.column=0):u.isNewLine(t)||e.column++,e.offset++,this.updatePeek(e)}},{key:"updatePeek",value:function(e){e.peek=e.offset>=this.end?u.$EOF:this.charAt(e.offset)}}]),e}(),S=function(e){p(n,e);var t=d(n);function n(e,r){var u;return x(this,n),e instanceof n?(u=t.call(this,e)).internalState=Object.assign({},e.internalState):(u=t.call(this,e,r)).internalState=u.state,h(u)}return k(n,[{key:"advance",value:function(){this.state=this.internalState,c(m(n.prototype),"advance",this).call(this),this.processEscapeSequence()}},{key:"init",value:function(){c(m(n.prototype),"init",this).call(this),this.processEscapeSequence()}},{key:"clone",value:function(){return new n(this)}},{key:"getChars",value:function(e){for(var t=e.clone(),n="";t.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(t.peek()),t.advance();return n}},{key:"processEscapeSequence",value:function(){var e=this,t=function(){return e.internalState.peek};if(t()===u.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),t()===u.$n)this.state.peek=u.$LF;else if(t()===u.$r)this.state.peek=u.$CR;else if(t()===u.$v)this.state.peek=u.$VTAB;else if(t()===u.$t)this.state.peek=u.$TAB;else if(t()===u.$b)this.state.peek=u.$BSPACE;else if(t()===u.$f)this.state.peek=u.$FF;else if(t()===u.$u)if(this.advanceState(this.internalState),t()===u.$LBRACE){this.advanceState(this.internalState);for(var n=this.clone(),r=0;t()!==u.$RBRACE;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(n,r)}else{var a=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(a,4)}else if(t()===u.$x){this.advanceState(this.internalState);var i=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(i,2)}else if(u.isOctalDigit(t())){for(var o="",s=0,c=this.clone();u.isOctalDigit(t())&&s<3;)c=this.clone(),o+=String.fromCodePoint(t()),this.advanceState(this.internalState),s++;this.state.peek=parseInt(o,8),this.internalState=c.internalState}else u.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}},{key:"decodeHexDigits",value:function(e,t){var n=this.input.substr(e.internalState.offset,t),r=parseInt(n,16);if(isNaN(r))throw e.state=e.internalState,new w("Invalid hexadecimal escape sequence",e);return r}}]),n}(F),w=k((function e(t,n){x(this,e),this.msg=t,this.cursor=n}));t.CursorError=w})),bn=function(e){p(n,e);var t=d(n);function n(e,r,u){var a;return x(this,n),(a=t.call(this,r,u)).elementName=e,a}return k(n,null,[{key:"create",value:function(e,t,r){return new n(e,t,r)}}]),n}(M.ParseError),An=bn,Fn=k((function e(t,n){x(this,e),this.rootNodes=t,this.errors=n})),Sn=Fn,wn=function(){function e(t){x(this,e),this.getTagDefinition=t}return k(e,[{key:"parse",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=arguments.length>4?arguments[4]:void 0,a=function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),u=1;u<n;u++)r[u-1]=arguments[u];return e.apply(void 0,[t.toLowerCase()].concat(r))}},i=r?this.getTagDefinition:a(this.getTagDefinition),o=function(e){return i(e).contentType},s=r?u:a(u),c=u?function(e,t,n,r){var u=s(e,t,n,r);return void 0!==u?u:o(e)}:o,l=Cn.tokenize(e,t,c,n),p=n&&n.canSelfClose||!1,f=n&&n.allowHtmComponentClosingTags||!1,d=new xn(l.tokens,i,p,f,r).build();return new Fn(d.rootNodes,l.errors.concat(d.errors))}}]),e}(),xn=function(){function e(t,n,r,u,a){x(this,e),this.tokens=t,this.getTagDefinition=n,this.canSelfClose=r,this.allowHtmComponentClosingTags=u,this.isTagNameCaseSensitive=a,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return k(e,[{key:"build",value:function(){for(;this._peek.type!==Cn.TokenType.EOF;)this._peek.type===Cn.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===Cn.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===Cn.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===Cn.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===Cn.TokenType.TEXT||this._peek.type===Cn.TokenType.RAW_TEXT||this._peek.type===Cn.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===Cn.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===Cn.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new Fn(this._rootNodes,this._errors)}},{key:"_advance",value:function(){var e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}},{key:"_advanceIf",value:function(e){return this._peek.type===e?this._advance():null}},{key:"_consumeCdata",value:function(e){var t=this._advance(),n=this._getText(t),r=this._advanceIf(Cn.TokenType.CDATA_END);this._addToParent(new gn.CDATA(n,new M.ParseSourceSpan(e.sourceSpan.start,(r||t).sourceSpan.end)))}},{key:"_consumeComment",value:function(e){var t=this._advanceIf(Cn.TokenType.RAW_TEXT),n=this._advanceIf(Cn.TokenType.COMMENT_END),r=null!=t?t.parts[0].trim():null,u=new M.ParseSourceSpan(e.sourceSpan.start,(n||t||e).sourceSpan.end);this._addToParent(new gn.Comment(r,u))}},{key:"_consumeDocType",value:function(e){var t=this._advanceIf(Cn.TokenType.RAW_TEXT),n=this._advanceIf(Cn.TokenType.DOC_TYPE_END),r=null!=t?t.parts[0].trim():null,u=new M.ParseSourceSpan(e.sourceSpan.start,(n||t||e).sourceSpan.end);this._addToParent(new gn.DocType(r,u))}},{key:"_consumeExpansion",value:function(e){for(var t=this._advance(),n=this._advance(),r=[];this._peek.type===Cn.TokenType.EXPANSION_CASE_VALUE;){var u=this._parseExpansionCase();if(!u)return;r.push(u)}if(this._peek.type===Cn.TokenType.EXPANSION_FORM_END){var a=new M.ParseSourceSpan(e.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new gn.Expansion(t.parts[0],n.parts[0],r,a,t.sourceSpan)),this._advance()}else this._errors.push(bn.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."))}},{key:"_parseExpansionCase",value:function(){var t=this._advance();if(this._peek.type!==Cn.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(bn.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;var n=this._advance(),r=this._collectExpansionExpTokens(n);if(!r)return null;var u=this._advance();r.push(new Cn.Token(Cn.TokenType.EOF,[],u.sourceSpan));var a=new e(r,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(a.errors.length>0)return this._errors=this._errors.concat(a.errors),null;var i=new M.ParseSourceSpan(t.sourceSpan.start,u.sourceSpan.end),o=new M.ParseSourceSpan(n.sourceSpan.start,u.sourceSpan.end);return new gn.ExpansionCase(t.parts[0],a.rootNodes,i,t.sourceSpan,o)}},{key:"_collectExpansionExpTokens",value:function(e){for(var t=[],n=[Cn.TokenType.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==Cn.TokenType.EXPANSION_FORM_START&&this._peek.type!==Cn.TokenType.EXPANSION_CASE_EXP_START||n.push(this._peek.type),this._peek.type===Cn.TokenType.EXPANSION_CASE_EXP_END){if(!Tn(n,Cn.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(bn.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return t}if(this._peek.type===Cn.TokenType.EXPANSION_FORM_END){if(!Tn(n,Cn.TokenType.EXPANSION_FORM_START))return this._errors.push(bn.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===Cn.TokenType.EOF)return this._errors.push(bn.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}},{key:"_getText",value:function(e){var t=e.parts[0];if(t.length>0&&"\n"==t[0]){var n=this._getParentElement();null!=n&&0==n.children.length&&this.getTagDefinition(n.name).ignoreFirstLf&&(t=t.substring(1))}return t}},{key:"_consumeText",value:function(e){var t=this._getText(e);t.length>0&&this._addToParent(new gn.Text(t,e.sourceSpan))}},{key:"_closeVoidElement",value:function(){var e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}},{key:"_consumeStartTag",value:function(e){for(var t=e.parts[0],n=e.parts[1],r=[];this._peek.type===Cn.TokenType.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));var u=this._getElementFullName(t,n,this._getParentElement()),a=!1;if(this._peek.type===Cn.TokenType.TAG_OPEN_END_VOID){this._advance(),a=!0;var i=this.getTagDefinition(u);this.canSelfClose||i.canSelfClose||null!==Yt.getNsPrefix(u)||i.isVoid||this._errors.push(bn.create(u,e.sourceSpan,'Only void and foreign elements can be self closed "'.concat(e.parts[1],'"')))}else this._peek.type===Cn.TokenType.TAG_OPEN_END&&(this._advance(),a=!1);var o=this._peek.sourceSpan.start,s=new M.ParseSourceSpan(e.sourceSpan.start,o),c=new M.ParseSourceSpan(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),l=new gn.Element(u,r,[],s,s,void 0,c);this._pushElement(l),a&&(this._popElement(u),l.endSourceSpan=s)}},{key:"_pushElement",value:function(e){var t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}},{key:"_consumeEndTag",value:function(e){var t=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),t&&this.getTagDefinition(t).isVoid)this._errors.push(bn.create(t,e.sourceSpan,'Void elements do not have end tags "'.concat(e.parts[1],'"')));else if(!this._popElement(t)){var n='Unexpected closing tag "'.concat(t,'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags');this._errors.push(bn.create(t,e.sourceSpan,n))}}},{key:"_popElement",value:function(e){for(var t=this._elementStack.length-1;t>=0;t--){var n=this._elementStack[t];if(!e||(Yt.getNsPrefix(n.name)?n.name==e:n.name.toLowerCase()==e.toLowerCase()))return this._elementStack.splice(t,this._elementStack.length-t),!0;if(!this.getTagDefinition(n.name).closedByParent)return!1}return!1}},{key:"_consumeAttr",value:function(e){var t,n,r=Yt.mergeNsAndName(e.parts[0],e.parts[1]),u=e.sourceSpan.end,a="";if(this._peek.type===Cn.TokenType.ATTR_QUOTE&&(n=this._advance().sourceSpan.start),this._peek.type===Cn.TokenType.ATTR_VALUE){var i=this._advance();a=i.parts[0],u=i.sourceSpan.end,t=i.sourceSpan}return this._peek.type===Cn.TokenType.ATTR_QUOTE&&(u=this._advance().sourceSpan.end,t=new M.ParseSourceSpan(n,u)),new gn.Attribute(r,a,new M.ParseSourceSpan(e.sourceSpan.start,u),t,e.sourceSpan)}},{key:"_getParentElement",value:function(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}},{key:"_getParentElementSkippingContainers",value:function(){for(var e=null,t=this._elementStack.length-1;t>=0;t--){if(!Yt.isNgContainer(this._elementStack[t].name))return{parent:this._elementStack[t],container:e};e=this._elementStack[t]}return{parent:null,container:e}}},{key:"_addToParent",value:function(e){var t=this._getParentElement();null!=t?t.children.push(e):this._rootNodes.push(e)}},{key:"_insertBeforeContainer",value:function(e,t,n){if(t){if(e){var r=e.children.indexOf(t);e.children[r]=n}else this._rootNodes.push(n);n.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,n)}else this._addToParent(n),this._elementStack.push(n)}},{key:"_getElementFullName",value:function(e,t,n){return""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=n&&(e=Yt.getNsPrefix(n.name)),Yt.mergeNsAndName(e,t)}}]),e}();function Tn(e,t){return e.length>0&&e[e.length-1]===t}var kn=Object.defineProperty({TreeError:An,ParseTreeResult:Sn,Parser:wn},"__esModule",{value:!0}),Bn=kn,Nn=Bn.ParseTreeResult,_n=Bn.TreeError,Pn=function(e){p(n,e);var t=d(n);function n(){return x(this,n),t.call(this,Zt.getHtmlTagDefinition)}return k(n,[{key:"parse",value:function(e,t,r){var u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4?arguments[4]:void 0;return c(m(n.prototype),"parse",this).call(this,e,t,r,u,a)}}]),n}(kn.Parser),On=Pn,In=Object.defineProperty({ParseTreeResult:Nn,TreeError:_n,HtmlParser:On},"__esModule",{value:!0}),Ln=Yt.TagContentType,Mn=null,Rn=Object.defineProperty({TagContentType:Ln,parse:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.canSelfClose,r=void 0!==n&&n,u=t.allowHtmComponentClosingTags,a=void 0!==u&&u,i=t.isTagNameCaseSensitive,o=void 0!==i&&i,s=t.getTagContentType;return(Mn||(Mn=new In.HtmlParser),Mn).parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:a},o,s)}},"__esModule",{value:!0}),jn=M.ParseSourceSpan,qn=M.ParseLocation,$n=M.ParseSourceFile,Vn=rt,Un=Lt.HTML_ELEMENT_ATTRIBUTES,Wn=Lt.HTML_TAGS,Gn=Lt.isUnknownNamespace,zn=function(e){return/^\s*<!--\s*@(format|prettier)\s*-->/.test(e)},Hn=Wt.Node,Xn=Ht,Jn=Xt,Yn=Jt;function Kn(e,t,n){var r=t.recognizeSelfClosing,u=t.normalizeTagName,a=t.normalizeAttributeName,i=t.allowHtmComponentClosingTags,o=t.isTagNameCaseSensitive,s=t.getTagContentType,c=Rn,l=gn.RecursiveVisitor,f=gn.visitAll,h=M.ParseSourceSpan,D=Zt.getHtmlTagDefinition,m=c.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:o,getTagContentType:s}),y=m.rootNodes,v=m.errors;if("vue"===n.parser)if(y.some((function(e){return"docType"===e.type&&"html"===e.value||"element"===e.type&&"html"===e.name.toLowerCase()}))){r=!0,u=!0,a=!0,i=!0,o=!1;var E=c.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:o});y=E.rootNodes,v=E.errors}else{var C=function(e){if(!e)return!1;if("element"!==e.type||"template"!==e.name)return!1;var t=e.attrs.find((function(e){return"lang"===e.name})),r=t&&t.value;return!r||"html"===Vn(r,n)};if(y.some(C))for(var b,A=function(){return b||(b=c.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:o}))},F=function(e){return A().rootNodes.find((function(t){var n=t.startSourceSpan;return n&&n.start.offset===e.startSourceSpan.start.offset}))},S=0;S<y.length;S++){var w=y[S],T=w.endSourceSpan,B=w.startSourceSpan;if(null===T)v=A().errors,y[S]=F(w)||w;else if(C(w)){var N,_=A(),P=B.end.offset,O=T.start.offset,I=g(_.errors);try{for(I.s();!(N=I.n()).done;){var L=N.value,R=L.span.start.offset;if(P<R&&R<O){v=[L];break}}}catch(e){I.e(e)}finally{I.f()}y[S]=F(w)||w}}}if(v.length>0){var j=v[0],q=j.msg,$=j.span,V=$.start,U=$.end;throw function(e,t){var n=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return n.loc=t,n}(q,{start:{line:V.line+1,column:V.col+1},end:{line:U.line+1,column:U.col+1}})}var W=function(e){var t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,n=e.nameSpan.toString(),r=null!==t&&n.startsWith("".concat(t,":")),u=r?n.slice(t.length+1):n;e.name=u,e.namespace=t,e.hasExplicitNamespace=r},G=function(e,t){var n=e.toLowerCase();return t(n)?n:e};return f(new(function(e){p(n,e);var t=d(n);function n(){return x(this,n),t.apply(this,arguments)}return k(n,[{key:"visit",value:function(e){(function(e){if("element"===e.type){W(e);var t,n=g(e.attrs);try{for(n.s();!(t=n.n()).done;){var r=t.value;W(r),r.valueSpan?(r.value=r.valueSpan.toString(),/["']/.test(r.value[0])&&(r.value=r.value.slice(1,-1))):r.value=null}}catch(e){n.e(e)}finally{n.f()}}else"comment"===e.type?e.value=e.sourceSpan.toString().slice("\x3c!--".length,-"--\x3e".length):"text"===e.type&&(e.value=e.sourceSpan.toString())})(e),function(e){if("element"===e.type){var t=D(o?e.name:e.name.toLowerCase());!e.namespace||e.namespace===t.implicitNamespacePrefix||Gn(e)?e.tagDefinition=t:e.tagDefinition=D("")}}(e),function(e){"element"===e.type&&(!u||e.namespace&&e.namespace!==e.tagDefinition.implicitNamespacePrefix&&!Gn(e)||(e.name=G(e.name,(function(e){return e in Wn}))),a)&&function(){var t,n=Un[e.name]||Object.create(null),r=g(e.attrs);try{for(r.s();!(t=r.n()).done;){var u=t.value;u.namespace||(u.name=G(u.name,(function(t){return e.name in Un&&(t in Un["*"]||t in n)})))}}catch(e){r.e(e)}finally{r.f()}}()}(e),function(e){e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new h(e.sourceSpan.start,e.endSourceSpan.end))}(e)}}]),n}(l)),y),y}function Qn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?{frontMatter:null,content:e}:j(e),u=r.frontMatter,a=r.content,i=new $n(e,t.filepath),o=new qn(i,0,0,0),s=o.moveBy(e.length),c={type:"root",sourceSpan:new jn(o,s),children:Kn(a,n,t)};if(u){var l=new qn(i,0,0,0),p=l.moveBy(u.raw.length);u.sourceSpan=new jn(l,p),c.children.unshift(u)}var f=new Hn(c),d=function(r,u){var a=u.offset,i=Qn(e.slice(0,a).replace(/[^\n\r]/g," ")+r,t,n,!1);i.sourceSpan=new jn(u,q(i.children).sourceSpan.end);var o=i.children[0];return o.length===a?i.children.shift():(o.sourceSpan=new jn(o.sourceSpan.start.moveBy(a),o.sourceSpan.end),o.value=o.value.slice(a)),i};return f.map((function(e){if("comment"===e.type){var t=Xn(e,d);if(t)return t}return e}))}function Zn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.recognizeSelfClosing,n=void 0!==t&&t,r=e.normalizeTagName,u=void 0!==r&&r,a=e.normalizeAttributeName,i=void 0!==a&&a,o=e.allowHtmComponentClosingTags,s=void 0!==o&&o,c=e.isTagNameCaseSensitive,l=void 0!==c&&c,p=e.getTagContentType;return{parse:function(e,t,r){return Qn(e,r,{recognizeSelfClosing:n,normalizeTagName:u,normalizeAttributeName:i,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:l,getTagContentType:p})},hasPragma:zn,astFormat:"html",locStart:Jn,locEnd:Yn}}return{parsers:{html:Zn({recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Zn(),vue:Zn({recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:function(e,t,n,r){if("html"!==e.toLowerCase()&&!n&&("template"!==e||r.some((function(e){var t=e.name,n=e.value;return"lang"===t&&"html"!==n}))))return Rn.TagContentType.RAW_TEXT}}),lwc:Zn()}}}();var _=(0,a.g)(N.exports),P={exports:{}};!function(e,t){a.c,e.exports=function(){function e(e,t){if(null==e)return{};var n,r,u={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(u[n]=e[n]);return u}function t(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var n="2.3.0",r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==a.c?a.c:"undefined"!=typeof self?self:{};function u(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function o(e){var t={exports:{}};return e(t,t.exports),t.exports}var l,f=o((function(e,t){function n(){}function r(e,t,n,r,u){for(var a=0,i=t.length,o=0,s=0;a<i;a++){var c=t[a];if(c.removed){if(c.value=e.join(r.slice(s,s+c.count)),s+=c.count,a&&t[a-1].added){var l=t[a-1];t[a-1]=t[a],t[a]=l}}else{if(!c.added&&u){var p=n.slice(o,o+c.count);p=p.map((function(e,t){var n=r[s+t];return n.length>e.length?n:e})),c.value=e.join(p)}else c.value=e.join(n.slice(o,o+c.count));o+=c.count,c.added||(s+=c.count)}}var f=t[i-1];return i>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[i-2].value+=f.value,t.pop()),t}function u(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.callback;"function"==typeof n&&(a=n,n={}),this.options=n;var i=this;function o(e){return a?(setTimeout((function(){a(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var s=(t=this.removeEmpty(this.tokenize(t))).length,c=e.length,l=1,p=s+c,f=[{newPos:-1,components:[]}],d=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=s&&d+1>=c)return o([{value:this.join(t),count:t.length}]);function h(){for(var n=-1*l;n<=l;n+=2){var a=void 0,p=f[n-1],d=f[n+1],h=(d?d.newPos:0)-n;p&&(f[n-1]=void 0);var D=p&&p.newPos+1<s,m=d&&0<=h&&h<c;if(D||m){if(!D||m&&p.newPos<d.newPos?(a=u(d),i.pushComponent(a.components,void 0,!0)):((a=p).newPos++,i.pushComponent(a.components,!0,void 0)),h=i.extractCommon(a,t,e,n),a.newPos+1>=s&&h+1>=c)return o(r(i,a.components,t,e,i.useLongestToken));f[n]=a}else f[n]=void 0}l++}if(a)!function e(){setTimeout((function(){if(l>p)return a();h()||e()}),0)}();else for(;l<=p;){var D=h();if(D)return D}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var u=t.length,a=n.length,i=e.newPos,o=i-r,s=0;i+1<u&&o+1<a&&this.equals(t[i+1],n[o+1]);)i++,o++,s++;return s&&e.components.push({count:s}),e.newPos=i,o},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}})),h=o((function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(e,t,n){return r.diff(e,t,n)},t.characterDiff=void 0;var r=new((n=f)&&n.__esModule?n:{default:n}).default;t.characterDiff=r})),D=Object.defineProperty({generateOptions:function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}},"__esModule",{value:!0}),E=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.diffWords=function(e,t,n){return n=(0,D.generateOptions)(n,{ignoreWhitespace:!0}),i.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,n){return i.diff(e,t,n)},t.wordDiff=void 0;var n,r=(n=f)&&n.__esModule?n:{default:n},u=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,a=/\S/,i=new r.default;t.wordDiff=i,i.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!a.test(e)&&!a.test(t)},i.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&u.test(t[n])&&u.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t}})),b=o((function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffLines=function(e,t,n){return r.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var u=(0,D.generateOptions)(n,{ignoreWhitespace:!0});return r.diff(e,t,u)},t.lineDiff=void 0;var r=new((n=f)&&n.__esModule?n:{default:n}).default;t.lineDiff=r,r.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var u=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=u:(this.options.ignoreWhitespace&&(u=u.trim()),t.push(u))}return t}})),A=o((function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffSentences=function(e,t,n){return r.diff(e,t,n)},t.sentenceDiff=void 0;var r=new((n=f)&&n.__esModule?n:{default:n}).default;t.sentenceDiff=r,r.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}})),F=o((function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffCss=function(e,t,n){return r.diff(e,t,n)},t.cssDiff=void 0;var r=new((n=f)&&n.__esModule?n:{default:n}).default;t.cssDiff=r,r.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}})),S=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.diffJson=function(e,t,n){return i.diff(e,t,n)},t.canonicalize=o,t.jsonDiff=void 0;var n,r=(n=f)&&n.__esModule?n:{default:n};function u(e){return(u="function"==typeof Symbol&&"symbol"==w(Symbol.iterator)?function(e){return w(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":w(e)})(e)}var a=Object.prototype.toString,i=new r.default;function o(e,t,n,r,i){var s,c;for(t=t||[],n=n||[],r&&(e=r(i,e)),s=0;s<t.length;s+=1)if(t[s]===e)return n[s];if("[object Array]"===a.call(e)){for(t.push(e),c=new Array(e.length),n.push(c),s=0;s<e.length;s+=1)c[s]=o(e[s],t,n,r,i);return t.pop(),n.pop(),c}if(e&&e.toJSON&&(e=e.toJSON()),"object"===u(e)&&null!==e){t.push(e),c={},n.push(c);var l,p=[];for(l in e)e.hasOwnProperty(l)&&p.push(l);for(p.sort(),s=0;s<p.length;s+=1)c[l=p[s]]=o(e[l],t,n,r,l);t.pop(),n.pop()}else c=e;return c}t.jsonDiff=i,i.useLongestToken=!0,i.tokenize=b.lineDiff.tokenize,i.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,u=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(o(e,null,null,u),u," ")},i.equals=function(e,t){return r.default.prototype.equals.call(i,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}})),T=o((function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffArrays=function(e,t,n){return r.diff(e,t,n)},t.arrayDiff=void 0;var r=new((n=f)&&n.__esModule?n:{default:n}).default;t.arrayDiff=r,r.tokenize=function(e){return e.slice()},r.join=r.removeEmpty=function(e){return e}})),B=Object.defineProperty({parsePatch:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],u=[],a=0;function i(){var e={};for(u.push(e);a<n.length;){var r=n[a];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var i=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);i&&(e.index=i[1]),a++}for(o(e),o(e),e.hunks=[];a<n.length;){var c=n[a];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(c))break;if(/^@@/.test(c))e.hunks.push(s());else{if(c&&t.strict)throw new Error("Unknown line "+(a+1)+" "+JSON.stringify(c));a++}}}function o(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[a]);if(t){var r="---"===t[1]?"old":"new",u=t[2].split("\t",2),i=u[0].replace(/\\\\/g,"\\");/^".*"$/.test(i)&&(i=i.substr(1,i.length-2)),e[r+"FileName"]=i,e[r+"Header"]=(u[1]||"").trim(),a++}}function s(){var e=a,u=n[a++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),i={oldStart:+u[1],oldLines:void 0===u[2]?1:+u[2],newStart:+u[3],newLines:void 0===u[4]?1:+u[4],lines:[],linedelimiters:[]};0===i.oldLines&&(i.oldStart+=1),0===i.newLines&&(i.newStart+=1);for(var o=0,s=0;a<n.length&&!(0===n[a].indexOf("--- ")&&a+2<n.length&&0===n[a+1].indexOf("+++ ")&&0===n[a+2].indexOf("@@"));a++){var c=0==n[a].length&&a!=n.length-1?" ":n[a][0];if("+"!==c&&"-"!==c&&" "!==c&&"\\"!==c)break;i.lines.push(n[a]),i.linedelimiters.push(r[a]||"\n"),"+"===c?o++:"-"===c?s++:" "===c&&(o++,s++)}if(o||1!==i.newLines||(i.newLines=0),s||1!==i.oldLines||(i.oldLines=0),t.strict){if(o!==i.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(s!==i.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return i}for(;a<n.length;)i();return u}},"__esModule",{value:!0}),N=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=!0,u=!1,a=!1,i=1;return function o(){if(r&&!a){if(u?i++:r=!1,e+i<=n)return i;a=!0}if(!u)return a||(r=!0),t<=e-i?-i++:(u=!0,o())}}})),_=O,P=(l=N)&&l.__esModule?l:{default:l};function O(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,B.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,u,a=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=t.hunks,s=n.compareLine||function(e,t,n,r){return t===r},c=0,l=n.fuzzFactor||0,p=0,f=0;function d(e,t){for(var n=0;n<e.lines.length;n++){var r=e.lines[n],u=r.length>0?r[0]:" ",i=r.length>0?r.substr(1):r;if(" "===u||"-"===u){if(!s(t+1,a[t],u,i)&&++c>l)return!1;t++}}return!0}for(var h=0;h<o.length;h++){for(var D=o[h],m=a.length-D.oldLines,g=0,y=f+D.oldStart-1,v=(0,P.default)(y,p,m);void 0!==g;g=v())if(d(D,y+g)){D.offset=f+=g;break}if(void 0===g)return!1;p=D.offset+D.oldStart+D.oldLines}for(var E=0,C=0;C<o.length;C++){var b=o[C],A=b.oldStart+b.offset+E-1;E+=b.newLines-b.oldLines;for(var F=0;F<b.lines.length;F++){var S=b.lines[F],w=S.length>0?S[0]:" ",x=S.length>0?S.substr(1):S,T=b.linedelimiters[F];if(" "===w)A++;else if("-"===w)a.splice(A,1),i.splice(A,1);else if("+"===w)a.splice(A,0,x),i.splice(A,0,T),A++;else if("\\"===w){var k=b.lines[F-1]?b.lines[F-1][0]:null;"+"===k?r=!0:"-"===k&&(u=!0)}}}if(r)for(;!a[a.length-1];)a.pop(),i.pop();else u&&(a.push(""),i.push("\n"));for(var N=0;N<a.length-1;N++)a[N]=a[N]+i[N];return a.join("")}var I=Object.defineProperty({applyPatch:_,applyPatches:function(e,t){"string"==typeof e&&(e=(0,B.parsePatch)(e));var n=0;!function r(){var u=e[n++];if(!u)return t.complete();t.loadFile(u,(function(e,n){if(e)return t.complete(e);var a=O(n,u,t);t.patched(u,a,(function(e){if(e)return t.complete(e);r()}))}))}()}},"__esModule",{value:!0}),L=$,M=V,R=U;function j(e){return function(e){if(Array.isArray(e))return q(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?q(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $(e,t,n,r,u,a,i){i||(i={}),void 0===i.context&&(i.context=4);var o=(0,b.diffLines)(n,r,i);function s(e){return e.map((function(e){return" "+e}))}o.push({value:"",lines:[]});for(var c=[],l=0,p=0,f=[],d=1,h=1,D=function(e){var t=o[e],u=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=u,t.added||t.removed){var a;if(!l){var D=o[e-1];l=d,p=h,D&&(f=i.context>0?s(D.lines.slice(-i.context)):[],l-=f.length,p-=f.length)}(a=f).push.apply(a,j(u.map((function(e){return(t.added?"+":"-")+e})))),t.added?h+=u.length:d+=u.length}else{if(l)if(u.length<=2*i.context&&e<o.length-2){var m;(m=f).push.apply(m,j(s(u)))}else{var g,y=Math.min(u.length,i.context);(g=f).push.apply(g,j(s(u.slice(0,y))));var v={oldStart:l,oldLines:d-l+y,newStart:p,newLines:h-p+y,lines:f};if(e>=o.length-2&&u.length<=i.context){var E=/\n$/.test(n),C=/\n$/.test(r),b=0==u.length&&f.length>v.oldLines;!E&&b&&n.length>0&&f.splice(v.oldLines,0,"\"),(E||b)&&C||f.push("\")}c.push(v),l=0,p=0,f=[]}d+=u.length,h+=u.length}},m=0;m<o.length;m++)D(m);return{oldFileName:e,newFileName:t,oldHeader:u,newHeader:a,hunks:c}}function V(e){var t=[];e.oldFileName==e.newFileName&&t.push("Index: "+e.oldFileName),t.push("==================================================================="),t.push("--- "+e.oldFileName+(void 0===e.oldHeader?"":"\t"+e.oldHeader)),t.push("+++ "+e.newFileName+(void 0===e.newHeader?"":"\t"+e.newHeader));for(var n=0;n<e.hunks.length;n++){var r=e.hunks[n];0===r.oldLines&&(r.oldStart-=1),0===r.newLines&&(r.newStart-=1),t.push("@@ -"+r.oldStart+","+r.oldLines+" +"+r.newStart+","+r.newLines+" @@"),t.push.apply(t,r.lines)}return t.join("\n")+"\n"}function U(e,t,n,r,u,a,i){return V($(e,t,n,r,u,a,i))}var W=Object.defineProperty({structuredPatch:L,formatPatch:M,createTwoFilesPatch:R,createPatch:function(e,t,n,r,u,a){return U(e,e,t,n,r,u,a)}},"__esModule",{value:!0}),G=z;function z(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}var H=Object.defineProperty({arrayEqual:function(e,t){return e.length===t.length&&z(e,t)},arrayStartsWith:G},"__esModule",{value:!0}),X=K;function J(e){return function(e){if(Array.isArray(e))return Y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function K(e){var t=fe(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function Q(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,B.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return(0,W.structuredPatch)(void 0,void 0,t,e)}return e}function Z(e){return e.newFileName&&e.newFileName!==e.oldFileName}function ee(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function te(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function ne(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function re(e,t,n,r,u){var a={offset:t,lines:n,index:0},i={offset:r,lines:u,index:0};for(oe(e,a,i),oe(e,i,a);a.index<a.lines.length&&i.index<i.lines.length;){var o,s=a.lines[a.index],c=i.lines[i.index];if("-"!==s[0]&&"+"!==s[0]||"-"!==c[0]&&"+"!==c[0])if("+"===s[0]&&" "===c[0])(o=e.lines).push.apply(o,J(ce(a)));else if("+"===c[0]&&" "===s[0]){var l;(l=e.lines).push.apply(l,J(ce(i)))}else"-"===s[0]&&" "===c[0]?ae(e,a,i):"-"===c[0]&&" "===s[0]?ae(e,i,a,!0):s===c?(e.lines.push(s),a.index++,i.index++):ie(e,ce(a),ce(i));else ue(e,a,i)}se(e,a),se(e,i),K(e)}function ue(e,t,n){var r=ce(t),u=ce(n);if(le(r)&&le(u)){var a,i;if((0,H.arrayStartsWith)(r,u)&&pe(n,r,r.length-u.length))return void(a=e.lines).push.apply(a,J(r));if((0,H.arrayStartsWith)(u,r)&&pe(t,u,u.length-r.length))return void(i=e.lines).push.apply(i,J(u))}else if((0,H.arrayEqual)(r,u)){var o;return void(o=e.lines).push.apply(o,J(r))}ie(e,r,u)}function ae(e,t,n,r){var u,a=ce(t),i=function(e,t){for(var n=[],r=[],u=0,a=!1,i=!1;u<t.length&&e.index<e.lines.length;){var o=e.lines[e.index],s=t[u];if("+"===s[0])break;if(a=a||" "!==o[0],r.push(s),u++,"+"===o[0])for(i=!0;"+"===o[0];)n.push(o),o=e.lines[++e.index];s.substr(1)===o.substr(1)?(n.push(o),e.index++):i=!0}if("+"===(t[u]||"")[0]&&a&&(i=!0),i)return n;for(;u<t.length;)r.push(t[u++]);return{merged:r,changes:n}}(n,a);i.merged?(u=e.lines).push.apply(u,J(i.merged)):ie(e,r?i:a,r?a:i)}function ie(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function oe(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function se(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function ce(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}function le(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function pe(e,t,n){for(var r=0;r<n;r++){var u=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+u)return!1}return e.index+=n,!0}function fe(e){var t=0,n=0;return e.forEach((function(e){if("string"!=typeof e){var r=fe(e.mine),u=fe(e.theirs);void 0!==t&&(r.oldLines===u.oldLines?t+=r.oldLines:t=void 0),void 0!==n&&(r.newLines===u.newLines?n+=r.newLines:n=void 0)}else void 0===n||"+"!==e[0]&&" "!==e[0]||n++,void 0===t||"-"!==e[0]&&" "!==e[0]||t++})),{oldLines:t,newLines:n}}var de=Object.defineProperty({calcLineCount:X,merge:function(e,t,n){e=Q(e,n),t=Q(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(Z(e)?Z(t)?(r.oldFileName=ee(r,e.oldFileName,t.oldFileName),r.newFileName=ee(r,e.newFileName,t.newFileName),r.oldHeader=ee(r,e.oldHeader,t.oldHeader),r.newHeader=ee(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var u=0,a=0,i=0,o=0;u<e.hunks.length||a<t.hunks.length;){var s=e.hunks[u]||{oldStart:1/0},c=t.hunks[a]||{oldStart:1/0};if(te(s,c))r.hunks.push(ne(s,i)),u++,o+=s.newLines-s.oldLines;else if(te(c,s))r.hunks.push(ne(c,o)),a++,i+=c.newLines-c.oldLines;else{var l={oldStart:Math.min(s.oldStart,c.oldStart),oldLines:0,newStart:Math.min(s.newStart+i,c.oldStart+o),newLines:0,lines:[]};re(l,s.oldStart,s.lines,c.oldStart,c.lines),a++,u++,r.hunks.push(l)}}return r}},"__esModule",{value:!0}),he=Object.defineProperty({convertChangesToDMP:function(e){for(var t,n,r=[],u=0;u<e.length;u++)n=(t=e[u]).added?1:t.removed?-1:0,r.push([n,t.value]);return r}},"__esModule",{value:!0});function De(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}var me=Object.defineProperty({convertChangesToXML:function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push(De(r.value)),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}return t.join("")}},"__esModule",{value:!0}),ge=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Diff",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"diffChars",{enumerable:!0,get:function(){return h.diffChars}}),Object.defineProperty(t,"diffWords",{enumerable:!0,get:function(){return E.diffWords}}),Object.defineProperty(t,"diffWordsWithSpace",{enumerable:!0,get:function(){return E.diffWordsWithSpace}}),Object.defineProperty(t,"diffLines",{enumerable:!0,get:function(){return b.diffLines}}),Object.defineProperty(t,"diffTrimmedLines",{enumerable:!0,get:function(){return b.diffTrimmedLines}}),Object.defineProperty(t,"diffSentences",{enumerable:!0,get:function(){return A.diffSentences}}),Object.defineProperty(t,"diffCss",{enumerable:!0,get:function(){return F.diffCss}}),Object.defineProperty(t,"diffJson",{enumerable:!0,get:function(){return S.diffJson}}),Object.defineProperty(t,"canonicalize",{enumerable:!0,get:function(){return S.canonicalize}}),Object.defineProperty(t,"diffArrays",{enumerable:!0,get:function(){return T.diffArrays}}),Object.defineProperty(t,"applyPatch",{enumerable:!0,get:function(){return I.applyPatch}}),Object.defineProperty(t,"applyPatches",{enumerable:!0,get:function(){return I.applyPatches}}),Object.defineProperty(t,"parsePatch",{enumerable:!0,get:function(){return B.parsePatch}}),Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return de.merge}}),Object.defineProperty(t,"structuredPatch",{enumerable:!0,get:function(){return W.structuredPatch}}),Object.defineProperty(t,"createTwoFilesPatch",{enumerable:!0,get:function(){return W.createTwoFilesPatch}}),Object.defineProperty(t,"createPatch",{enumerable:!0,get:function(){return W.createPatch}}),Object.defineProperty(t,"convertChangesToDMP",{enumerable:!0,get:function(){return he.convertChangesToDMP}}),Object.defineProperty(t,"convertChangesToXML",{enumerable:!0,get:function(){return me.convertChangesToXML}});var n=function(e){return e&&e.__esModule?e:{default:e}}(f)}));function ye(e){return{type:"concat",parts:e}}function ve(e){return{type:"indent",contents:e}}function Ee(e,t){return{type:"align",contents:t,n:e}}function Ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}var be={type:"break-parent"},Ae={type:"line",hard:!0},Fe={type:"line",hard:!0,literal:!0},Se=ye([Ae,be]),we=ye([Fe,be]),xe={concat:ye,join:function(e,t){for(var n=[],r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return ye(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:Se,literalline:we,group:Ce,conditionalGroup:function(e,t){return Ce(e[0],Object.assign({},t,{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:{type:"cursor",placeholder:Symbol("cursor")},breakParent:be,ifBreak:function(e,t){return{type:"if-break",breakContents:e,flatContents:t,groupId:(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).groupId}},trim:{type:"trim"},indent:ve,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:Ee,addAlignmentToDoc:function(e,t,n){var r=e;if(t>0){for(var u=0;u<Math.floor(t/n);++u)r=ve(r);r=Ee(t%n,r),r=Ee(Number.NEGATIVE_INFINITY,r)}return r},markAsRoot:function(e){return Ee({type:"root"},e)},dedentToRoot:function(e){return Ee(Number.NEGATIVE_INFINITY,e)},dedent:function(e){return Ee(-1,e)},hardlineWithoutBreakParent:Ae,literallineWithoutBreakParent:Fe,label:function(e,t){return{type:"label",label:e,contents:t}}},Te=function(e){return!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)},ke=Te,Be=Te;ke.default=Be;var Ne=function(e){if("string"!=typeof e||0===e.length)return 0;if(0===(e=function(e){return"string"==typeof e?e.replace(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onlyFirst,t=void 0!==e&&e,n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,t?void 0:"g")}(),""):e}(e)).length)return 0;e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");for(var t=0,n=0;n<e.length;n++){var r=e.codePointAt(n);r<=31||r>=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=ke(r)?2:1)}return t},_e=Ne,Pe=Ne;_e.default=Pe;var Oe=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},Ie=function(e){return e[e.length-1]},Le=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var u=e[t];r[u[0]]=u[1]}return r},Me=void 0!==Me?Me:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Re(){throw new Error("setTimeout has not been defined")}function je(){throw new Error("clearTimeout has not been defined")}var qe=Re,$e=je;function Ve(e){if(qe===setTimeout)return setTimeout(e,0);if((qe===Re||!qe)&&setTimeout)return qe=setTimeout,setTimeout(e,0);try{return qe(e,0)}catch(t){try{return qe.call(null,e,0)}catch(t){return qe.call(this,e,0)}}}"function"==typeof Me.setTimeout&&(qe=setTimeout),"function"==typeof Me.clearTimeout&&($e=clearTimeout);var Ue,We=[],Ge=!1,ze=-1;function He(){Ge&&Ue&&(Ge=!1,Ue.length?We=Ue.concat(We):ze=-1,We.length&&Xe())}function Xe(){if(!Ge){var e=Ve(He);Ge=!0;for(var t=We.length;t;){for(Ue=We,We=[];++ze<t;)Ue&&Ue[ze].run();ze=-1,t=We.length}Ue=null,Ge=!1,function(e){if($e===clearTimeout)return clearTimeout(e);if(($e===je||!$e)&&clearTimeout)return $e=clearTimeout,clearTimeout(e);try{$e(e)}catch(t){try{return $e.call(null,e)}catch(t){return $e.call(this,e)}}}(e)}}function Je(e,t){this.fun=e,this.array=t}function Ye(){}Je.prototype.run=function(){this.fun.apply(null,this.array)};var Ke,Qe,Ze,et,tt,nt,rt=Ye,ut=Ye,at=Ye,it=Ye,ot=Ye,st=Ye,ct=Ye,lt=Me.performance||{},pt=lt.now||lt.mozNow||lt.msNow||lt.oNow||lt.webkitNow||function(){return(new Date).getTime()},ft=new Date,dt={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];We.push(new Je(e,t)),1!==We.length||Ge||Ve(Xe)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:rt,addListener:ut,once:at,off:it,removeListener:ot,removeAllListeners:st,emit:ct,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*pt.call(lt),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-ft)/1e3}},ht="object"==w(dt)&&dt.env&&dt.env.NODE_DEBUG&&/\bsemver\b/i.test(dt.env.NODE_DEBUG)?function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=console).error.apply(e,["SEMVER"].concat(n))}:function(){},Dt={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},mt=o((function(e,t){var n=Dt.MAX_SAFE_COMPONENT_LENGTH,r=(t=e.exports={}).re=[],u=t.src=[],a=t.t={},i=0,o=function(e,t,n){var o=i++;ht(o,t),a[e]=o,u[o]=t,r[o]=new RegExp(t,n?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION","(".concat(u[a.NUMERICIDENTIFIER],")\\.")+"(".concat(u[a.NUMERICIDENTIFIER],")\\.")+"(".concat(u[a.NUMERICIDENTIFIER],")")),o("MAINVERSIONLOOSE","(".concat(u[a.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[a.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[a.NUMERICIDENTIFIERLOOSE],")")),o("PRERELEASEIDENTIFIER","(?:".concat(u[a.NUMERICIDENTIFIER],"|").concat(u[a.NONNUMERICIDENTIFIER],")")),o("PRERELEASEIDENTIFIERLOOSE","(?:".concat(u[a.NUMERICIDENTIFIERLOOSE],"|").concat(u[a.NONNUMERICIDENTIFIER],")")),o("PRERELEASE","(?:-(".concat(u[a.PRERELEASEIDENTIFIER],"(?:\\.").concat(u[a.PRERELEASEIDENTIFIER],")*))")),o("PRERELEASELOOSE","(?:-?(".concat(u[a.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(u[a.PRERELEASEIDENTIFIERLOOSE],")*))")),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD","(?:\\+(".concat(u[a.BUILDIDENTIFIER],"(?:\\.").concat(u[a.BUILDIDENTIFIER],")*))")),o("FULLPLAIN","v?".concat(u[a.MAINVERSION]).concat(u[a.PRERELEASE],"?").concat(u[a.BUILD],"?")),o("FULL","^".concat(u[a.FULLPLAIN],"$")),o("LOOSEPLAIN","[v=\\s]*".concat(u[a.MAINVERSIONLOOSE]).concat(u[a.PRERELEASELOOSE],"?").concat(u[a.BUILD],"?")),o("LOOSE","^".concat(u[a.LOOSEPLAIN],"$")),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE","".concat(u[a.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),o("XRANGEIDENTIFIER","".concat(u[a.NUMERICIDENTIFIER],"|x|X|\\*")),o("XRANGEPLAIN","[v=\\s]*(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:".concat(u[a.PRERELEASE],")?").concat(u[a.BUILD],"?")+")?)?"),o("XRANGEPLAINLOOSE","[v=\\s]*(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(u[a.PRERELEASELOOSE],")?").concat(u[a.BUILD],"?")+")?)?"),o("XRANGE","^".concat(u[a.GTLT],"\\s*").concat(u[a.XRANGEPLAIN],"$")),o("XRANGELOOSE","^".concat(u[a.GTLT],"\\s*").concat(u[a.XRANGEPLAINLOOSE],"$")),o("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),o("COERCERTL",u[a.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM","(\\s*)".concat(u[a.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",o("TILDE","^".concat(u[a.LONETILDE]).concat(u[a.XRANGEPLAIN],"$")),o("TILDELOOSE","^".concat(u[a.LONETILDE]).concat(u[a.XRANGEPLAINLOOSE],"$")),o("LONECARET","(?:\\^)"),o("CARETTRIM","(\\s*)".concat(u[a.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",o("CARET","^".concat(u[a.LONECARET]).concat(u[a.XRANGEPLAIN],"$")),o("CARETLOOSE","^".concat(u[a.LONECARET]).concat(u[a.XRANGEPLAINLOOSE],"$")),o("COMPARATORLOOSE","^".concat(u[a.GTLT],"\\s*(").concat(u[a.LOOSEPLAIN],")$|^$")),o("COMPARATOR","^".concat(u[a.GTLT],"\\s*(").concat(u[a.FULLPLAIN],")$|^$")),o("COMPARATORTRIM","(\\s*)".concat(u[a.GTLT],"\\s*(").concat(u[a.LOOSEPLAIN],"|").concat(u[a.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE","^\\s*(".concat(u[a.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(u[a.XRANGEPLAIN],")")+"\\s*$"),o("HYPHENRANGELOOSE","^\\s*(".concat(u[a.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(u[a.XRANGEPLAINLOOSE],")")+"\\s*$"),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0.0.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),gt=["includePrerelease","loose","rtl"],yt=/^[0-9]+$/,vt=function(e,t){var n=yt.test(e),r=yt.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},Et=vt,Ct=Dt.MAX_LENGTH,bt=Dt.MAX_SAFE_INTEGER,At=mt.re,Ft=mt.t,St=Et,wt=function(){function e(t,n){if(x(this,e),n=function(e){return e?"object"!=w(e)?{loose:!0}:gt.filter((function(t){return e[t]})).reduce((function(e,t){return e[t]=!0,e}),{}):{}}(n),t instanceof e){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError("Invalid Version: ".concat(t));if(t.length>Ct)throw new TypeError("version is longer than ".concat(Ct," characters"));ht("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;var r=t.trim().match(n.loose?At[Ft.LOOSE]:At[Ft.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>bt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>bt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>bt||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<bt)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}return k(e,[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(t){if(ht("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if("string"==typeof t&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}},{key:"compareMain",value:function(t){return t instanceof e||(t=new e(t,this.options)),St(this.major,t.major)||St(this.minor,t.minor)||St(this.patch,t.patch)}},{key:"comparePre",value:function(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var n=0;do{var r=this.prerelease[n],u=t.prerelease[n];if(ht("prerelease compare",n,r,u),void 0===r&&void 0===u)return 0;if(void 0===u)return 1;if(void 0===r)return-1;if(r!==u)return St(r,u)}while(++n)}},{key:"compareBuild",value:function(t){t instanceof e||(t=new e(t,this.options));var n=0;do{var r=this.build[n],u=t.build[n];if(ht("prerelease compare",n,r,u),void 0===r&&void 0===u)return 0;if(void 0===u)return 1;if(void 0===r)return-1;if(r!==u)return St(r,u)}while(++n)}},{key:"inc",value:function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}]),e}(),xt=wt,Tt=function(e,t,n){return new xt(e,n).compare(new xt(t,n))},kt=o((function(e,t){function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function r(){return"undefined"!=typeof WeakMap?new WeakMap:{add:n,delete:n,get:n,set:n,has:function(e){return!1}}}Object.defineProperty(t,"__esModule",{value:!0}),t.outdent=void 0;var u=Object.prototype.hasOwnProperty,a=function(e,t){return u.call(e,t)};function i(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return e}var o=/^[ \t]*(?:\r\n|\r|\n)/,s=/(?:\r\n|\r|\n)[ \t]*$/,c=/^(?:[\r\n]|$)/,l=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function f(e,t,n){var r=0,u=e[0].match(l);u&&(r=u[1].length);var a=new RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var i=n.newline,c=n.trimLeadingNewline,p=n.trimTrailingNewline,f="string"==typeof i,d=e.length;return e.map((function(e,t){return e=e.replace(a,"$1"),0===t&&c&&(e=e.replace(o,"")),t===d-1&&p&&(e=e.replace(s,"")),f&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return i}))),e}))}function d(e,t){for(var n="",r=0,u=e.length;r<u;r++)n+=e[r],r<u-1&&(n+=t[r]);return n}function h(e){return a(e,"raw")&&a(e,"length")}var D=function e(t){var n=r(),u=r();return i((function r(a){for(var o=[],s=1;s<arguments.length;s++)o[s-1]=arguments[s];if(h(a)){var l=a,m=(o[0]===r||o[0]===D)&&p.test(l[0])&&c.test(l[1]),g=m?u:n,y=g.get(l);return y||(y=f(l,m,t),g.set(l,y)),0===o.length?y[0]:d(y,m?o.slice(1):o)}return e(i(i({},t),a||{}))}),{string:function(e){return f([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=D,t.default=D;try{e.exports=D,Object.defineProperty(D,"__esModule",{value:!0}),D.default=D,D.outdent=D}catch(e){}})),Bt=kt.outdent,Nt="Config",_t="Editor",Pt="Other",Ot="Global",It="Special",Lt={cursorOffset:{since:"1.4.0",category:It,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Bt(Ke||(Ke=t(["\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n "]))),cliCategory:_t},endOfLine:{since:"1.15.0",category:Ot,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:Bt(Qe||(Qe=t(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "])))}]},filepath:{since:"1.4.0",category:It,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Pt,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:It,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Pt},parser:{since:"0.0.10",category:Ot,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:function(e){return"string"==typeof e||"function"==typeof e},choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:Ot,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:function(e){return"string"==typeof e||"object"==w(e)},cliName:"plugin",cliCategory:Nt},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Ot,description:Bt(Ze||(Ze=t(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]))),exception:function(e){return"string"==typeof e||"object"==w(e)},cliName:"plugin-search-dir",cliCategory:Nt},printWidth:{since:"0.0.0",category:Ot,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:It,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Bt(et||(et=t(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:_t},rangeStart:{since:"1.4.0",category:It,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Bt(tt||(tt=t(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:_t},requirePragma:{since:"1.7.0",category:It,type:"boolean",default:!1,description:Bt(nt||(nt=t(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]))),cliCategory:Pt},tabWidth:{type:"int",category:Ot,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Ot,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Ot,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},Mt=Tt,Rt=function(e,t,n){return Tt(e,t,n)<0},jt=function(e,t,n){return Tt(e,t,n)>=0},qt=n,$t=Lt,Vt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.plugins,r=void 0===n?[]:n,u=t.showUnreleased,a=void 0!==u&&u,i=t.showDeprecated,o=void 0!==i&&i,s=t.showInternal,c=void 0!==s&&s,l=qt.split("-",1)[0],p=r.reduce((function(e,t){return[].concat(v(e),v(t.languages||[]))}),[]).filter(d),f=function(e,t){return Object.entries(e).map((function(e){var t=C(e,2),n=t[0],r=t[1];return Object.assign(y({},"name",n),r)}))}(Object.assign.apply(Object,[{}].concat(v(r.map((function(e){return e.options}))),[$t]))).filter((function(e){return d(e)&&h(e)})).sort((function(e,t){return e.name===t.name?0:e.name<t.name?-1:1})).map((function(t){return c?t:e(t,["cliName","cliCategory","cliDescription"])})).map((function(e){e=Object.assign({},e),Array.isArray(e.default)&&(e.default=1===e.default.length?e.default[0].value:e.default.filter(d).sort((function(e,t){return Mt(t.since,e.since)}))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter((function(e){return d(e)&&h(e)})),"parser"===e.name&&function(e,t,n){var r,u=new Set(e.choices.map((function(e){return e.value}))),a=g(t);try{for(a.s();!(r=a.n()).done;){var i=r.value;if(i.parsers){var o,s=g(i.parsers);try{var c=function(){var t=o.value;if(!u.has(t)){u.add(t);var r=n.find((function(e){return e.parsers&&e.parsers[t]})),a=i.name;r&&r.name&&(a+=" (plugin: ".concat(r.name,")")),e.choices.push({value:t,description:a})}};for(s.s();!(o=s.n()).done;)c()}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}}(e,p,r));var t=Le(r.filter((function(t){return t.defaultOptions&&void 0!==t.defaultOptions[e.name]})).map((function(t){return[t.name,t.defaultOptions[e.name]]})));return Object.assign({},e,{pluginDefaults:t})}));return{languages:p,options:f};function d(e){return a||!("since"in e)||e.since&&jt(l,e.since)}function h(e){return o||!("deprecated"in e)||e.deprecated&&Rt(l,e.deprecated)}},Ut=Vt,Wt=/[^\x20-\x7F]/;function Gt(e){return function(t,n,r){var u=r&&r.backwards;if(!1===n)return!1;for(var a=t.length,i=n;i>=0&&i<a;){var o=t.charAt(i);if(e instanceof RegExp){if(!e.test(o))return i}else if(!e.includes(o))return i;u?i--:i++}return(-1===i||i===a)&&i}}var zt=Gt(/\s/),Ht=Gt(" \t"),Xt=Gt(",; \t"),Jt=Gt(/[^\n\r]/);function Yt(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(var n=t+2;n<e.length;++n)if("*"===e.charAt(n)&&"/"===e.charAt(n+1))return n+2;return t}function Kt(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?Jt(e,t):t)}function Qt(e,t,n){var r=n&&n.backwards;if(!1===t)return!1;var u=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===u)return t-2;if("\n"===u||"\r"===u||"\u2028"===u||"\u2029"===u)return t-1}else{if("\r"===u&&"\n"===e.charAt(t+1))return t+2;if("\n"===u||"\r"===u||"\u2028"===u||"\u2029"===u)return t+1}return t}function Zt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Ht(e,n.backwards?t-1:t,n);return r!==Qt(e,r,n)}function en(e,t){for(var n=null,r=t;r!==n;)n=r,r=Yt(e,r=Xt(e,r)),r=Ht(e,r);return!1!==(r=Qt(e,r=Kt(e,r)))&&Zt(e,r)}function tn(e,t){for(var n=null,r=t;r!==n;)n=r,r=Qt(e,r=Kt(e,r=Yt(e,r=Ht(e,r))));return r}function nn(e,t,n){return tn(e,n(t))}function rn(e,t){for(var n=0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;r<e.length;++r)"\t"===e[r]?n=n+t-n%t:n++;return n}function un(e,t){var n=e.slice(1,-1),r={quote:'"',regex:/"/g},u={quote:"'",regex:/'/g},a="'"===t?u:r,i=a===u?r:u,o=a.quote;return(n.includes(a.quote)||n.includes(i.quote))&&(o=(n.match(a.regex)||[]).length>(n.match(i.regex)||[]).length?i.quote:a.quote),o}function an(e,t,n){var r='"'===t?"'":'"',u=e.replace(/\\([\S\s])|(["'])/g,(function(e,u,a){return u===r?u:a===t?"\\"+a:a||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(u)?u:"\\"+u)}));return t+u+t}function on(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){var t=e.type||e.kind||"(unknown type)",n=String(e.name||e.id&&("object"==w(e.id)?e.id.name:e.id)||e.key&&("object"==w(e.key)?e.key.name:e.key)||e.value&&("object"==w(e.value)?"":String(e.value))||e.operator||"");return n.length>20&&(n=n.slice(0,19)+"…"),t+(n?" "+n:"")}(e)}var sn={inferParserByLanguage:function(e,t){var n=Ut({plugins:t.plugins}).languages,r=n.find((function(t){return t.name.toLowerCase()===e}))||n.find((function(t){var n=t.aliases;return Array.isArray(n)&&n.includes(e)}))||n.find((function(t){var n=t.extensions;return Array.isArray(n)&&n.includes(".".concat(e))}));return r&&r.parsers[0]},replaceEndOfLineWith:function(e,t){var n,r=[],u=g(e.split("\n"));try{for(u.s();!(n=u.n()).done;){var a=n.value;r.length>0&&r.push(t),r.push(a)}}catch(e){u.e(e)}finally{u.f()}return r},getStringWidth:function(e){return e?Wt.test(e)?_e(e):e.length:0},getMaxContinuousCount:function(e,t){var n=e.match(new RegExp("(".concat(Oe(t),")+"),"g"));return null===n?0:n.reduce((function(e,n){return Math.max(e,n.length/t.length)}),0)},getMinNotPresentContinuousCount:function(e,t){var n=e.match(new RegExp("(".concat(Oe(t),")+"),"g"));if(null===n)return 0;var r,u=new Map,a=0,i=g(n);try{for(i.s();!(r=i.n()).done;){var o=r.value.length/t.length;u.set(o,!0),o>a&&(a=o)}}catch(e){i.e(e)}finally{i.f()}for(var s=1;s<a;s++)if(!u.get(s))return s;return a+1},getPenultimate:function(e){return e[e.length-2]},getLast:Ie,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:tn,getNextNonSpaceNonCommentCharacterIndex:nn,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(nn(e,t,n))},skip:Gt,skipWhitespace:zt,skipSpaces:Ht,skipToLineEnd:Xt,skipEverythingButNewLine:Jt,skipInlineComment:Yt,skipTrailingComment:Kt,skipNewline:Qt,isNextLineEmptyAfterIndex:en,isNextLineEmpty:function(e,t,n){return en(e,n(t))},isPreviousLineEmpty:function(e,t,n){var r=n(t)-1;return r=Qt(e,r=Ht(e,r,{backwards:!0}),{backwards:!0}),(r=Ht(e,r,{backwards:!0}))!==Qt(e,r,{backwards:!0})},hasNewline:Zt,hasNewlineInRange:function(e,t,n){for(var r=t;r<n;++r)if("\n"===e.charAt(r))return!0;return!1},hasSpaces:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Ht(e,n.backwards?t-1:t,n)!==t},getAlignmentSize:rn,getIndentSize:function(e,t){var n=e.lastIndexOf("\n");return-1===n?0:rn(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:un,printString:function(e,t){return an(e.slice(1,-1),"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":un(e,t.singleQuote?"'":'"'),!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:an,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,on(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),on(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,on(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},getShebang:function(e){if(!e.startsWith("#!"))return"";var t=e.indexOf("\n");return-1===t?e:e.slice(0,t)},isNonEmptyArray:function(e){return Array.isArray(e)&&e.length>0},createGroupIdMapper:function(e){var t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}},cn=function(e){var t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},ln=function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},pn=function(e,t){var n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}var r=e.match(n);return r?r.length:0},fn=function(e){return e.replace(/\r\n?/g,"\n")},dn=xe.literalline,hn=function(e){return Array.isArray(e)||e&&"concat"===e.type},Dn=function(e){if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},mn={};function gn(e,t,n,r){for(var u=[e];u.length>0;){var a=u.pop();if(a!==mn){if(n&&u.push(a,mn),!t||!1!==t(a))if(hn(a)||"fill"===a.type)for(var i=Dn(a),o=i.length-1;o>=0;--o)u.push(i[o]);else if("if-break"===a.type)a.flatContents&&u.push(a.flatContents),a.breakContents&&u.push(a.breakContents);else if("group"===a.type&&a.expandedStates)if(r)for(var s=a.expandedStates.length-1;s>=0;--s)u.push(a.expandedStates[s]);else u.push(a.contents);else a.contents&&u.push(a.contents)}else n(u.pop())}}function yn(e,t){var n=new Map;return function e(r){if(n.has(r))return n.get(r);var u=function(n){if(Array.isArray(n))return t(n.map(e));if("concat"===n.type||"fill"===n.type){var r=n.parts.map(e);return t(Object.assign({},n,{parts:r}))}if("if-break"===n.type){var u=n.breakContents&&e(n.breakContents),a=n.flatContents&&e(n.flatContents);return t(Object.assign({},n,{breakContents:u,flatContents:a}))}if("group"===n.type&&n.expandedStates){var i=n.expandedStates.map(e),o=i[0];return t(Object.assign({},n,{contents:o,expandedStates:i}))}if(n.contents){var s=e(n.contents);return t(Object.assign({},n,{contents:s}))}return t(n)}(r);return n.set(r,u),u}(e)}function vn(e,t,n){var r=n,u=!1;return gn(e,(function(e){var n=t(e);if(void 0!==n&&(u=!0,r=n),u)return!1})),r}function En(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function Cn(e){if(e.length>0){var t=Ie(e);t.expandedStates||t.break||(t.break="propagated")}return null}function bn(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}var An=function(e,t){return e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type};function Fn(e){if(!e)return e;if(hn(e)||"fill"===e.type){for(var t=Dn(e);t.length>1&&An.apply(void 0,v(t.slice(-2)));)t.length-=2;if(t.length>0){var n=Fn(Ie(t));t[t.length-1]=n}return Array.isArray(e)?t:Object.assign({},e,{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":var r=Fn(e.contents);return Object.assign({},e,{contents:r});case"if-break":var u=Fn(e.breakContents),a=Fn(e.flatContents);return Object.assign({},e,{breakContents:u,flatContents:a})}return e}function Sn(e){return yn(e,(function(e){return function(e){switch(e.type){case"fill":if(0===e.parts.length||e.parts.every((function(e){return""===e})))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!hn(e))return e;var t,n=[],r=g(Dn(e));try{for(r.s();!(t=r.n()).done;){var u=t.value;if(u){var a=s(hn(u)?Dn(u):[u]),i=a[0],o=a.slice(1);"string"==typeof i&&"string"==typeof Ie(n)?n[n.length-1]+=i:n.push(i),n.push.apply(n,v(o))}}}catch(e){r.e(e)}finally{r.f()}return 0===n.length?"":1===n.length?n[0]:Array.isArray(e)?n:Object.assign({},e,{parts:n})}(e)}))}function wn(e){for(var t=[],n=e.filter(Boolean);n.length>0;){var r=n.shift();r&&(hn(r)?n.unshift.apply(n,v(Dn(r))):t.length>0&&"string"==typeof Ie(t)&&"string"==typeof r?t[t.length-1]+=r:t.push(r))}return t}var xn,Tn={isConcat:hn,getDocParts:Dn,willBreak:function(e){return vn(e,En,!1)},traverseDoc:gn,findInDoc:vn,mapDoc:yn,propagateBreaks:function(e){var t=new Set,n=[];gn(e,(function(e){if("break-parent"===e.type&&Cn(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){"group"===e.type&&n.pop().break&&Cn(n)}),!0)},removeLines:function(e){return yn(e,bn)},stripTrailingHardline:function(e){return Fn(Sn(e))},normalizeParts:wn,normalizeDoc:function(e){return yn(e,(function(e){return Array.isArray(e)?wn(e):e.parts?Object.assign({},e,{parts:wn(e.parts)}):e}))},cleanDoc:Sn,replaceNewlinesWithLiterallines:function(e){return yn(e,(function(e){return"string"==typeof e&&e.includes("\n")?e.split(/(\n)/g).map((function(e,t){return t%2==0?e:dn})):e}))}},kn=sn.getStringWidth,Bn=sn.getLast,Nn=ln,_n=xe.fill,Pn=xe.cursor,On=xe.indent,In=Tn.isConcat,Ln=Tn.getDocParts;function Mn(e,t){return jn(e,{type:"indent"},t)}function Rn(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?jn(e,{type:"dedent"},n):t?"root"===t.type?Object.assign({},e,{root:e}):jn(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function jn(e,t,n){var r,u="dedent"===t.type?e.queue.slice(0,-1):[].concat(v(e.queue),[t]),a="",i=0,o=0,s=0,c=g(u);try{for(c.s();!(r=c.n()).done;){var l=r.value;switch(l.type){case"indent":d(),n.useTabs?p(1):f(n.tabWidth);break;case"stringAlign":d(),a+=l.n,i+=l.n.length;break;case"numberAlign":o+=1,s+=l.n;break;default:throw new Error("Unexpected type '".concat(l.type,"'"))}}}catch(e){c.e(e)}finally{c.f()}return h(),Object.assign({},e,{value:a,length:i,queue:u});function p(e){a+="\t".repeat(e),i+=n.tabWidth*e}function f(e){a+=" ".repeat(e),i+=e}function d(){n.useTabs?(o>0&&p(o),D()):h()}function h(){s>0&&f(s),D()}function D(){o=0,s=0}}function qn(e){if(0===e.length)return 0;for(var t=0;e.length>0&&"string"==typeof Bn(e)&&/^[\t ]*$/.test(Bn(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof Bn(e)){var n=Bn(e).replace(/[\t ]*$/,"");t+=Bn(e).length-n.length,e[e.length-1]=n}return t}function $n(e,t,n,r,u,a){for(var i=t.length,o=[e],s=[];n>=0;)if(0!==o.length){var c=C(o.pop(),3),l=c[0],p=c[1],f=c[2];if("string"==typeof f)s.push(f),n-=kn(f);else if(In(f))for(var d=Ln(f),h=d.length-1;h>=0;h--)o.push([l,p,d[h]]);else switch(f.type){case"indent":o.push([Mn(l,r),p,f.contents]);break;case"align":o.push([Rn(l,f.n,r),p,f.contents]);break;case"trim":n+=qn(s);break;case"group":if(a&&f.break)return!1;var D=f.break?1:p;o.push([l,D,f.expandedStates&&1===D?Bn(f.expandedStates):f.contents]),f.id&&(xn[f.id]=D);break;case"fill":for(var m=f.parts.length-1;m>=0;m--)o.push([l,p,f.parts[m]]);break;case"if-break":case"indent-if-break":var g=f.groupId?xn[f.groupId]:p;if(1===g){var y="if-break"===f.type?f.breakContents:f.negate?f.contents:On(f.contents);y&&o.push([l,p,y])}if(2===g){var v="if-break"===f.type?f.flatContents:f.negate?On(f.contents):f.contents;v&&o.push([l,p,v])}break;case"line":switch(p){case 2:if(!f.hard){f.soft||(s.push(" "),n-=1);break}return!0;case 1:return!0}break;case"line-suffix":u=!0;break;case"line-suffix-boundary":if(u)return!1;break;case"label":o.push([l,p,f.contents])}}else{if(0===i)return!0;o.push(t[i-1]),i--}return!1}var Vn={printDocToString:function(e,t){xn={};for(var n=t.printWidth,r=Nn(t.endOfLine),u=0,a=[[{value:"",length:0,queue:[]},1,e]],i=[],o=!1,s=[];a.length>0;){var c=C(a.pop(),3),l=c[0],p=c[1],f=c[2];if("string"==typeof f){var d="\n"!==r?f.replace(/\n/g,r):f;i.push(d),u+=kn(d)}else if(In(f))for(var h=Ln(f),D=h.length-1;D>=0;D--)a.push([l,p,h[D]]);else switch(f.type){case"cursor":i.push(Pn.placeholder);break;case"indent":a.push([Mn(l,t),p,f.contents]);break;case"align":a.push([Rn(l,f.n,t),p,f.contents]);break;case"trim":u-=qn(i);break;case"group":switch(p){case 2:if(!o){a.push([l,f.break?1:2,f.contents]);break}case 1:o=!1;var m=[l,2,f.contents],g=n-u,y=s.length>0;if(!f.break&&$n(m,a,g,t,y))a.push(m);else if(f.expandedStates){var E=Bn(f.expandedStates);if(f.break){a.push([l,1,E]);break}for(var b=1;b<f.expandedStates.length+1;b++){if(b>=f.expandedStates.length){a.push([l,1,E]);break}var A=[l,2,f.expandedStates[b]];if($n(A,a,g,t,y)){a.push(A);break}}}else a.push([l,1,f.contents])}f.id&&(xn[f.id]=Bn(a)[1]);break;case"fill":var F=n-u,S=f.parts;if(0===S.length)break;var w=C(S,2),x=w[0],T=w[1],k=[l,2,x],B=[l,1,x],N=$n(k,[],F,t,s.length>0,!0);if(1===S.length){N?a.push(k):a.push(B);break}var _=[l,2,T],P=[l,1,T];if(2===S.length){N?a.push(_,k):a.push(P,B);break}S.splice(0,2);var O=[l,p,_n(S)];$n([l,2,[x,T,S[0]]],[],F,t,s.length>0,!0)?a.push(O,_,k):N?a.push(O,P,k):a.push(O,P,B);break;case"if-break":case"indent-if-break":var I=f.groupId?xn[f.groupId]:p;if(1===I){var L="if-break"===f.type?f.breakContents:f.negate?f.contents:On(f.contents);L&&a.push([l,p,L])}if(2===I){var M="if-break"===f.type?f.flatContents:f.negate?On(f.contents):f.contents;M&&a.push([l,p,M])}break;case"line-suffix":s.push([l,p,f.contents]);break;case"line-suffix-boundary":s.length>0&&a.push([l,p,{type:"line",hard:!0}]);break;case"line":switch(p){case 2:if(!f.hard){f.soft||(i.push(" "),u+=1);break}o=!0;case 1:if(s.length>0){a.push.apply(a,[[l,p,f]].concat(v(s.reverse()))),s=[];break}f.literal?l.root?(i.push(r,l.root.value),u=l.root.length):(i.push(r),u=0):(u-=qn(i),i.push(r+l.value),u=l.length)}break;case"label":a.push([l,p,f.contents])}0===a.length&&s.length>0&&(a.push.apply(a,v(s.reverse())),s=[])}var R=i.indexOf(Pn.placeholder);if(-1!==R){var j=i.indexOf(Pn.placeholder,R+1),q=i.slice(0,R).join(""),$=i.slice(R+1,j).join("");return{formatted:q+$+i.slice(j+1).join(""),cursorNodeStart:q.length,cursorNodeText:$}}return{formatted:i.join("")}}},Un=Tn.isConcat,Wn=Tn.getDocParts;function Gn(e){if(!e)return"";if(Un(e)){var t,n=[],r=g(Wn(e));try{for(r.s();!(t=r.n()).done;){var u=t.value;if(Un(u))n.push.apply(n,v(Gn(u).parts));else{var a=Gn(u);""!==a&&n.push(a)}}}catch(e){r.e(e)}finally{r.f()}return{type:"concat",parts:n}}return"if-break"===e.type?Object.assign({},e,{breakContents:Gn(e.breakContents),flatContents:Gn(e.flatContents)}):"group"===e.type?Object.assign({},e,{contents:Gn(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(Gn)}):"fill"===e.type?{type:"fill",parts:e.parts.map(Gn)}:e.contents?Object.assign({},e,{contents:Gn(e.contents)}):e}var zn={builders:xe,printer:Vn,utils:Tn,debug:{printDocToDebug:function(e){var t=Object.create(null),n=new Set;return function e(t,n,u){if("string"==typeof t)return JSON.stringify(t);if(Un(t)){var a=Wn(t).map(e).filter(Boolean);return 1===a.length?a[0]:"[".concat(a.join(", "),"]")}if("line"===t.type){var i=Array.isArray(u)&&u[n+1]&&"break-parent"===u[n+1].type;return t.literal?i?"literalline":"literallineWithoutBreakParent":t.hard?i?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type)return Array.isArray(u)&&u[n-1]&&"line"===u[n-1].type&&u[n-1].hard?void 0:"breakParent";if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+", { groupId: ".concat(r(t.groupId)," }"):"")+")";if("indent-if-break"===t.type){var o=[];t.negate&&o.push("negate: true"),t.groupId&&o.push("groupId: ".concat(r(t.groupId)));var s=o.length>0?", { ".concat(o.join(", ")," }"):"";return"indentIfBreak(".concat(e(t.contents)).concat(s,")")}if("group"===t.type){var c=[];t.break&&"propagated"!==t.break&&c.push("shouldBreak: true"),t.id&&c.push("id: ".concat(r(t.id)));var l=c.length>0?", { ".concat(c.join(", ")," }"):"";return t.expandedStates?"conditionalGroup([".concat(t.expandedStates.map((function(t){return e(t)})).join(","),"]").concat(l,")"):"group(".concat(e(t.contents)).concat(l,")")}if("fill"===t.type)return"fill([".concat(t.parts.map((function(t){return e(t)})).join(", "),"])");if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return"label(".concat(JSON.stringify(t.label),", ").concat(e(t.contents),")");throw new Error("Unknown doc type "+t.type)}(Gn(e));function r(e){if("symbol"!=w(e))return JSON.stringify(String(e));if(e in t)return t[e];for(var r=String(e).slice(7,-1)||"symbol",u=0;;u++){var a=r+(u>0?" #".concat(u):"");if(!n.has(a))return n.add(a),t[e]="Symbol.for(".concat(JSON.stringify(a),")")}}}}},Hn=Object.freeze({__proto__:null,default:{}});function Xn(e,t){for(var n=0,r=e.length-1;r>=0;r--){var u=e[r];"."===u?e.splice(r,1):".."===u?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var Jn=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Yn=function(e){return Jn.exec(e).slice(1)};function Kn(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return(t?"/":"")+(e=Xn(ir(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function Qn(e){var t=Zn(e),n="/"===or(e,-1);return(e=Xn(ir(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function Zn(e){return"/"===e.charAt(0)}function er(){return Qn(ir(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function tr(e,t){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=Kn(e).substr(1),t=Kn(t).substr(1);for(var r=n(e.split("/")),u=n(t.split("/")),a=Math.min(r.length,u.length),i=a,o=0;o<a;o++)if(r[o]!==u[o]){i=o;break}var s=[];for(o=i;o<r.length;o++)s.push("..");return(s=s.concat(u.slice(i))).join("/")}function nr(e){var t=Yn(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."}function rr(e,t){var n=Yn(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}function ur(e){return Yn(e)[3]}var ar={extname:ur,basename:rr,dirname:nr,sep:"/",delimiter:":",relative:tr,join:er,isAbsolute:Zn,normalize:Qn,resolve:Kn};function ir(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var or=function(e,t,n){return e.substr(t,n)},sr=Object.freeze({__proto__:null,resolve:Kn,normalize:Qn,isAbsolute:Zn,join:er,relative:tr,sep:"/",delimiter:":",dirname:nr,basename:rr,extname:ur,default:ar}),cr=[],lr=[],pr="undefined"!=typeof Uint8Array?Uint8Array:Array,fr=!1;function dr(){fr=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)cr[t]=e[t],lr[e.charCodeAt(t)]=t;lr["-".charCodeAt(0)]=62,lr["_".charCodeAt(0)]=63}function hr(e,t,n){for(var r,u,a=[],i=t;i<n;i+=3)r=(e[i]<<16)+(e[i+1]<<8)+e[i+2],a.push(cr[(u=r)>>18&63]+cr[u>>12&63]+cr[u>>6&63]+cr[63&u]);return a.join("")}function Dr(e){var t;fr||dr();for(var n=e.length,r=n%3,u="",a=[],i=16383,o=0,s=n-r;o<s;o+=i)a.push(hr(e,o,o+i>s?s:o+i));return 1===r?(t=e[n-1],u+=cr[t>>2],u+=cr[t<<4&63],u+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],u+=cr[t>>10],u+=cr[t>>4&63],u+=cr[t<<2&63],u+="="),a.push(u),a.join("")}function mr(e,t,n,r,u){var a,i,o=8*u-r-1,s=(1<<o)-1,c=s>>1,l=-7,p=n?u-1:0,f=n?-1:1,d=e[t+p];for(p+=f,a=d&(1<<-l)-1,d>>=-l,l+=o;l>0;a=256*a+e[t+p],p+=f,l-=8);for(i=a&(1<<-l)-1,a>>=-l,l+=r;l>0;i=256*i+e[t+p],p+=f,l-=8);if(0===a)a=1-c;else{if(a===s)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,r),a-=c}return(d?-1:1)*i*Math.pow(2,a-r)}function gr(e,t,n,r,u,a){var i,o,s,c=8*a-u-1,l=(1<<c)-1,p=l>>1,f=23===u?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:a-1,h=r?1:-1,D=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,i=l):(i=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-i))<1&&(i--,s*=2),(t+=i+p>=1?f/s:f*Math.pow(2,1-p))*s>=2&&(i++,s/=2),i+p>=l?(o=0,i=l):i+p>=1?(o=(t*s-1)*Math.pow(2,u),i+=p):(o=t*Math.pow(2,p-1)*Math.pow(2,u),i=0));u>=8;e[n+d]=255&o,d+=h,o/=256,u-=8);for(i=i<<u|o,c+=u;c>0;e[n+d]=255&i,d+=h,i/=256,c-=8);e[n+d-h]|=128*D}var yr={}.toString,vr=Array.isArray||function(e){return"[object Array]"==yr.call(e)};function Er(){return br.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Cr(e,t){if(Er()<t)throw new RangeError("Invalid typed array length");return br.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=br.prototype:(null===e&&(e=new br(t)),e.length=t),e}function br(e,t,n){if(!(br.TYPED_ARRAY_SUPPORT||this instanceof br))return new br(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return Sr(this,e)}return Ar(this,e,t,n)}function Ar(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),br.TYPED_ARRAY_SUPPORT?(e=t).__proto__=br.prototype:e=wr(e,t),e}(e,t,n,r):"string"==typeof t?function(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!br.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|kr(t,n),u=(e=Cr(e,r)).write(t,n);return u!==r&&(e=e.slice(0,u)),e}(e,t,n):function(e,t){if(Tr(t)){var n=0|xr(t.length);return 0===(e=Cr(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?Cr(e,0):wr(e,t);if("Buffer"===t.type&&vr(t.data))return wr(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Fr(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function Sr(e,t){if(Fr(t),e=Cr(e,t<0?0:0|xr(t)),!br.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function wr(e,t){var n=t.length<0?0:0|xr(t.length);e=Cr(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function xr(e){if(e>=Er())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Er().toString(16)+" bytes");return 0|e}function Tr(e){return!(null==e||!e._isBuffer)}function kr(e,t){if(Tr(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return nu(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ru(e).length;default:if(r)return nu(e).length;t=(""+t).toLowerCase(),r=!0}}function Br(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Gr(this,t,n);case"utf8":case"utf-8":return $r(this,t,n);case"ascii":return Ur(this,t,n);case"latin1":case"binary":return Wr(this,t,n);case"base64":return qr(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zr(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Nr(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function _r(e,t,n,r,u){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=u?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(u)return-1;n=e.length-1}else if(n<0){if(!u)return-1;n=0}if("string"==typeof t&&(t=br.from(t,r)),Tr(t))return 0===t.length?-1:Pr(e,t,n,r,u);if("number"==typeof t)return t&=255,br.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?u?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Pr(e,[t],n,r,u);throw new TypeError("val must be string, number or Buffer")}function Pr(e,t,n,r,u){var a,i=1,o=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,o/=2,s/=2,n/=2}function c(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(u){var l=-1;for(a=n;a<o;a++)if(c(e,a)===c(t,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===s)return l*i}else-1!==l&&(a-=a-l),l=-1}else for(n+s>o&&(n=o-s),a=n;a>=0;a--){for(var p=!0,f=0;f<s;f++)if(c(e,a+f)!==c(t,f)){p=!1;break}if(p)return a}return-1}function Or(e,t,n,r){n=Number(n)||0;var u=e.length-n;r?(r=Number(r))>u&&(r=u):r=u;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var i=0;i<r;++i){var o=parseInt(t.substr(2*i,2),16);if(isNaN(o))return i;e[n+i]=o}return i}function Ir(e,t,n,r){return uu(nu(t,e.length-n),e,n,r)}function Lr(e,t,n,r){return uu(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function Mr(e,t,n,r){return Lr(e,t,n,r)}function Rr(e,t,n,r){return uu(ru(t),e,n,r)}function jr(e,t,n,r){return uu(function(e,t){for(var n,r,u,a=[],i=0;i<e.length&&!((t-=2)<0);++i)r=(n=e.charCodeAt(i))>>8,u=n%256,a.push(u),a.push(r);return a}(t,e.length-n),e,n,r)}function qr(e,t,n){return 0===t&&n===e.length?Dr(e):Dr(e.slice(t,n))}function $r(e,t,n){n=Math.min(e.length,n);for(var r=[],u=t;u<n;){var a,i,o,s,c=e[u],l=null,p=c>239?4:c>223?3:c>191?2:1;if(u+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(a=e[u+1]))&&(s=(31&c)<<6|63&a)>127&&(l=s);break;case 3:a=e[u+1],i=e[u+2],128==(192&a)&&128==(192&i)&&(s=(15&c)<<12|(63&a)<<6|63&i)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:a=e[u+1],i=e[u+2],o=e[u+3],128==(192&a)&&128==(192&i)&&128==(192&o)&&(s=(15&c)<<18|(63&a)<<12|(63&i)<<6|63&o)>65535&&s<1114112&&(l=s)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),u+=p}return function(e){var t=e.length;if(t<=Vr)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Vr));return n}(r)}br.TYPED_ARRAY_SUPPORT=void 0===Me.TYPED_ARRAY_SUPPORT||Me.TYPED_ARRAY_SUPPORT,br.poolSize=8192,br._augment=function(e){return e.__proto__=br.prototype,e},br.from=function(e,t,n){return Ar(null,e,t,n)},br.TYPED_ARRAY_SUPPORT&&(br.prototype.__proto__=Uint8Array.prototype,br.__proto__=Uint8Array),br.alloc=function(e,t,n){return function(e,t,n,r){return Fr(t),t<=0?Cr(e,t):void 0!==n?"string"==typeof r?Cr(e,t).fill(n,r):Cr(e,t).fill(n):Cr(e,t)}(null,e,t,n)},br.allocUnsafe=function(e){return Sr(null,e)},br.allocUnsafeSlow=function(e){return Sr(null,e)},br.isBuffer=au,br.compare=function(e,t){if(!Tr(e)||!Tr(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,u=0,a=Math.min(n,r);u<a;++u)if(e[u]!==t[u]){n=e[u],r=t[u];break}return n<r?-1:r<n?1:0},br.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},br.concat=function(e,t){if(!vr(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return br.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=br.allocUnsafe(t),u=0;for(n=0;n<e.length;++n){var a=e[n];if(!Tr(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,u),u+=a.length}return r},br.byteLength=kr,br.prototype._isBuffer=!0,br.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Nr(this,t,t+1);return this},br.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Nr(this,t,t+3),Nr(this,t+1,t+2);return this},br.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Nr(this,t,t+7),Nr(this,t+1,t+6),Nr(this,t+2,t+5),Nr(this,t+3,t+4);return this},br.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?$r(this,0,e):Br.apply(this,arguments)},br.prototype.equals=function(e){if(!Tr(e))throw new TypeError("Argument must be a Buffer");return this===e||0===br.compare(this,e)},br.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},br.prototype.compare=function(e,t,n,r,u){if(!Tr(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===u&&(u=this.length),t<0||n>e.length||r<0||u>this.length)throw new RangeError("out of range index");if(r>=u&&t>=n)return 0;if(r>=u)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(u>>>=0)-(r>>>=0),i=(n>>>=0)-(t>>>=0),o=Math.min(a,i),s=this.slice(r,u),c=e.slice(t,n),l=0;l<o;++l)if(s[l]!==c[l]){a=s[l],i=c[l];break}return a<i?-1:i<a?1:0},br.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},br.prototype.indexOf=function(e,t,n){return _r(this,e,t,n,!0)},br.prototype.lastIndexOf=function(e,t,n){return _r(this,e,t,n,!1)},br.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var u=this.length-t;if((void 0===n||n>u)&&(n=u),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return Or(this,e,t,n);case"utf8":case"utf-8":return Ir(this,e,t,n);case"ascii":return Lr(this,e,t,n);case"latin1":case"binary":return Mr(this,e,t,n);case"base64":return Rr(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return jr(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},br.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Vr=4096;function Ur(e,t,n){var r="";n=Math.min(e.length,n);for(var u=t;u<n;++u)r+=String.fromCharCode(127&e[u]);return r}function Wr(e,t,n){var r="";n=Math.min(e.length,n);for(var u=t;u<n;++u)r+=String.fromCharCode(e[u]);return r}function Gr(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var u="",a=t;a<n;++a)u+=tu(e[a]);return u}function zr(e,t,n){for(var r=e.slice(t,n),u="",a=0;a<r.length;a+=2)u+=String.fromCharCode(r[a]+256*r[a+1]);return u}function Hr(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function Xr(e,t,n,r,u,a){if(!Tr(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>u||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Jr(e,t,n,r){t<0&&(t=65535+t+1);for(var u=0,a=Math.min(e.length-n,2);u<a;++u)e[n+u]=(t&255<<8*(r?u:1-u))>>>8*(r?u:1-u)}function Yr(e,t,n,r){t<0&&(t=4294967295+t+1);for(var u=0,a=Math.min(e.length-n,4);u<a;++u)e[n+u]=t>>>8*(r?u:3-u)&255}function Kr(e,t,n,r,u,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Qr(e,t,n,r,u){return u||Kr(e,0,n,4),gr(e,t,n,r,23,4),n+4}function Zr(e,t,n,r,u){return u||Kr(e,0,n,8),gr(e,t,n,r,52,8),n+8}br.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),br.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=br.prototype;else{var u=t-e;n=new br(u,void 0);for(var a=0;a<u;++a)n[a]=this[a+e]}return n},br.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Hr(e,t,this.length);for(var r=this[e],u=1,a=0;++a<t&&(u*=256);)r+=this[e+a]*u;return r},br.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Hr(e,t,this.length);for(var r=this[e+--t],u=1;t>0&&(u*=256);)r+=this[e+--t]*u;return r},br.prototype.readUInt8=function(e,t){return t||Hr(e,1,this.length),this[e]},br.prototype.readUInt16LE=function(e,t){return t||Hr(e,2,this.length),this[e]|this[e+1]<<8},br.prototype.readUInt16BE=function(e,t){return t||Hr(e,2,this.length),this[e]<<8|this[e+1]},br.prototype.readUInt32LE=function(e,t){return t||Hr(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},br.prototype.readUInt32BE=function(e,t){return t||Hr(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},br.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Hr(e,t,this.length);for(var r=this[e],u=1,a=0;++a<t&&(u*=256);)r+=this[e+a]*u;return r>=(u*=128)&&(r-=Math.pow(2,8*t)),r},br.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Hr(e,t,this.length);for(var r=t,u=1,a=this[e+--r];r>0&&(u*=256);)a+=this[e+--r]*u;return a>=(u*=128)&&(a-=Math.pow(2,8*t)),a},br.prototype.readInt8=function(e,t){return t||Hr(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},br.prototype.readInt16LE=function(e,t){t||Hr(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},br.prototype.readInt16BE=function(e,t){t||Hr(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},br.prototype.readInt32LE=function(e,t){return t||Hr(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},br.prototype.readInt32BE=function(e,t){return t||Hr(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},br.prototype.readFloatLE=function(e,t){return t||Hr(e,4,this.length),mr(this,e,!0,23,4)},br.prototype.readFloatBE=function(e,t){return t||Hr(e,4,this.length),mr(this,e,!1,23,4)},br.prototype.readDoubleLE=function(e,t){return t||Hr(e,8,this.length),mr(this,e,!0,52,8)},br.prototype.readDoubleBE=function(e,t){return t||Hr(e,8,this.length),mr(this,e,!1,52,8)},br.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Xr(this,e,t,n,Math.pow(2,8*n)-1,0);var u=1,a=0;for(this[t]=255&e;++a<n&&(u*=256);)this[t+a]=e/u&255;return t+n},br.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Xr(this,e,t,n,Math.pow(2,8*n)-1,0);var u=n-1,a=1;for(this[t+u]=255&e;--u>=0&&(a*=256);)this[t+u]=e/a&255;return t+n},br.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Xr(this,e,t,1,255,0),br.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},br.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Xr(this,e,t,2,65535,0),br.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Jr(this,e,t,!0),t+2},br.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Xr(this,e,t,2,65535,0),br.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Jr(this,e,t,!1),t+2},br.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Xr(this,e,t,4,4294967295,0),br.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Yr(this,e,t,!0),t+4},br.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Xr(this,e,t,4,4294967295,0),br.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Yr(this,e,t,!1),t+4},br.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);Xr(this,e,t,n,u-1,-u)}var a=0,i=1,o=0;for(this[t]=255&e;++a<n&&(i*=256);)e<0&&0===o&&0!==this[t+a-1]&&(o=1),this[t+a]=(e/i>>0)-o&255;return t+n},br.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);Xr(this,e,t,n,u-1,-u)}var a=n-1,i=1,o=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&0===o&&0!==this[t+a+1]&&(o=1),this[t+a]=(e/i>>0)-o&255;return t+n},br.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Xr(this,e,t,1,127,-128),br.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},br.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Xr(this,e,t,2,32767,-32768),br.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Jr(this,e,t,!0),t+2},br.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Xr(this,e,t,2,32767,-32768),br.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Jr(this,e,t,!1),t+2},br.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Xr(this,e,t,4,2147483647,-2147483648),br.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Yr(this,e,t,!0),t+4},br.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Xr(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),br.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Yr(this,e,t,!1),t+4},br.prototype.writeFloatLE=function(e,t,n){return Qr(this,e,t,!0,n)},br.prototype.writeFloatBE=function(e,t,n){return Qr(this,e,t,!1,n)},br.prototype.writeDoubleLE=function(e,t,n){return Zr(this,e,t,!0,n)},br.prototype.writeDoubleBE=function(e,t,n){return Zr(this,e,t,!1,n)},br.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var u,a=r-n;if(this===e&&n<t&&t<r)for(u=a-1;u>=0;--u)e[u+t]=this[u+n];else if(a<1e3||!br.TYPED_ARRAY_SUPPORT)for(u=0;u<a;++u)e[u+t]=this[u+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},br.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var u=e.charCodeAt(0);u<256&&(e=u)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!br.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var i=Tr(e)?e:nu(new br(e,r).toString()),o=i.length;for(a=0;a<n-t;++a)this[a+t]=i[a%o]}return this};var eu=/[^+\/0-9A-Za-z-_]/g;function tu(e){return e<16?"0"+e.toString(16):e.toString(16)}function nu(e,t){var n;t=t||1/0;for(var r=e.length,u=null,a=[],i=0;i<r;++i){if((n=e.charCodeAt(i))>55295&&n<57344){if(!u){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&a.push(239,191,189);continue}u=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),u=n;continue}n=65536+(u-55296<<10|n-56320)}else u&&(t-=3)>-1&&a.push(239,191,189);if(u=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function ru(e){return function(e){var t,n,r,u,a,i;fr||dr();var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a="="===e[o-2]?2:"="===e[o-1]?1:0,i=new pr(3*o/4-a),r=a>0?o-4:o;var s=0;for(t=0,n=0;t<r;t+=4,n+=3)u=lr[e.charCodeAt(t)]<<18|lr[e.charCodeAt(t+1)]<<12|lr[e.charCodeAt(t+2)]<<6|lr[e.charCodeAt(t+3)],i[s++]=u>>16&255,i[s++]=u>>8&255,i[s++]=255&u;return 2===a?(u=lr[e.charCodeAt(t)]<<2|lr[e.charCodeAt(t+1)]>>4,i[s++]=255&u):1===a&&(u=lr[e.charCodeAt(t)]<<10|lr[e.charCodeAt(t+1)]<<4|lr[e.charCodeAt(t+2)]>>2,i[s++]=u>>8&255,i[s++]=255&u),i}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(eu,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function uu(e,t,n,r){for(var u=0;u<r&&!(u+n>=t.length||u>=e.length);++u)t[u+n]=e[u];return u}function au(e){return null!=e&&(!!e._isBuffer||iu(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&iu(e.slice(0,0))}(e))}function iu(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var ou=u(Hn),su=function(){function e(t,n){x(this,e),(n=n||{}).readChunk||(n.readChunk=1024),n.newLineCharacter?n.newLineCharacter=n.newLineCharacter.charCodeAt(0):n.newLineCharacter=10,this.fd="number"==typeof t?t:ou.openSync(t,"r"),this.options=n,this.newLineCharacter=n.newLineCharacter,this.reset()}return k(e,[{key:"_searchInBuffer",value:function(e,t){for(var n=-1,r=0;r<=e.length;r++)if(e[r]===t){n=r;break}return n}},{key:"reset",value:function(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}},{key:"close",value:function(){ou.closeSync(this.fd),this.fd=null}},{key:"_extractLines",value:function(e){for(var t,n=[],r=0,u=0;;){var a=e[r++];if(a===this.newLineCharacter)t=e.slice(u,r),n.push(t),u=r;else if(void 0===a)break}var i=e.slice(u,r);return i.length&&n.push(i),n}},{key:"_readChunk",value:function(e){var t,n=0,r=[];do{var u=new br(this.options.readChunk);n+=t=ou.readSync(this.fd,u,0,this.options.readChunk,this.fdPosition),this.fdPosition=this.fdPosition+t,r.push(u)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));var a=br.concat(r);return t<this.options.readChunk&&(this.eofReached=!0,a=a.slice(0,n)),n&&(this.linesCache=this._extractLines(a),e&&(this.linesCache[0]=br.concat([e,this.linesCache[0]]))),n}},{key:"next",value:function(){if(!this.fd)return!1;var e=!1;return this.eofReached&&0===this.linesCache.length||(this.linesCache.length||this._readChunk(),this.linesCache.length&&(e=this.linesCache.shift())[e.length-1]!==this.newLineCharacter&&this._readChunk(e)&&(e=this.linesCache.shift()),this.eofReached&&0===this.linesCache.length&&this.close(),e&&e[e.length-1]===this.newLineCharacter&&(e=e.slice(0,e.length-1))),e}}]),e}(),cu=function(e){p(n,e);var t=d(n);function n(){return x(this,n),t.apply(this,arguments)}return k(n)}(i(Error)),lu=function(e){p(n,e);var t=d(n);function n(){return x(this,n),t.apply(this,arguments)}return k(n)}(i(Error)),pu=function(e){p(n,e);var t=d(n);function n(){return x(this,n),t.apply(this,arguments)}return k(n)}(i(Error)),fu=function(e){p(n,e);var t=d(n);function n(){return x(this,n),t.apply(this,arguments)}return k(n)}(i(Error)),du={ConfigError:cu,DebugError:lu,UndefinedParserError:pu,ArgExpansionBailout:fu},hu=function(e,t){return(hu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},Du=function(){return(Du=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var u in t=arguments[n])Object.prototype.hasOwnProperty.call(t,u)&&(e[u]=t[u]);return e}).apply(this,arguments)};function mu(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function gu(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,u,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){u={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(u)throw u.error}}return i}function yu(e){return this instanceof yu?(this.v=e,this):new yu(e)}var vu=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}hu(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return Du},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var u=0;for(r=Object.getOwnPropertySymbols(e);u<r.length;u++)t.indexOf(r[u])<0&&Object.prototype.propertyIsEnumerable.call(e,r[u])&&(n[r[u]]=e[r[u]])}return n},__decorate:function(e,t,n,r){var u,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==("undefined"==typeof Reflect?"undefined":w(Reflect))&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(u=e[o])&&(i=(a<3?u(i):a>3?u(t,n,i):u(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"==("undefined"==typeof Reflect?"undefined":w(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))((function(u,a){function i(e){try{s(r.next(e))}catch(e){a(e)}}function o(e){try{s(r.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?u(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,o)}s((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,u,a,i={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=2&a[0]?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[2&a[0],u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((u=(u=i.trys).length>0&&u[u.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!u||a[1]>u[0]&&a[1]<u[3])){i.label=a[1];break}if(6===a[0]&&i.label<u[1]){i.label=u[1],u=a;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(a);break}u[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=u=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,o])}}},__createBinding:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},__exportStar:function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])},__values:mu,__read:gu,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(gu(arguments[t]));return e},__spreadArrays:function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),u=0;for(t=0;t<n;t++)for(var a=arguments[t],i=0,o=a.length;i<o;i++,u++)r[u]=a[i];return r},__await:yu,__asyncGenerator:function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,u=n.apply(e,t||[]),a=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(e){u[e]&&(r[e]=function(t){return new Promise((function(n,r){a.push([e,t,n,r])>1||o(e,t)}))})}function o(e,t){try{(n=u[e](t)).value instanceof yu?Promise.resolve(n.value.v).then(s,c):l(a[0][2],n)}catch(e){l(a[0][3],e)}var n}function s(e){o("next",e)}function c(e){o("throw",e)}function l(e,t){e(t),a.shift(),a.length&&o(a[0][0],a[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,u){t[r]=e[r]?function(t){return(n=!n)?{value:yu(e[r](t)),done:"return"===r}:u?u(t):t}:u}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=mu(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,u){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,u,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),Eu=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:function(e){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e)},value:function(e){if(null===e||"object"!=w(e))return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map((function(e){return t.apiDescriptor.value(e)})).join(", "),"]");var n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map((function(n){return"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n]))})).join(", ")," }")},pair:function(e){var n=e.key,r=e.value;return t.apiDescriptor.value(y({},n,r))}}})),Cu=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vu.__exportStar(Eu,t)})),bu=/[|\\{}()[\]^$+*?.]/g,Au=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(bu,"\\$&")},Fu={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Su=o((function(e){var t={};for(var n in Fu)Fu.hasOwnProperty(n)&&(t[Fu[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var u in r)if(r.hasOwnProperty(u)){if(!("channels"in r[u]))throw new Error("missing channels property: "+u);if(!("labels"in r[u]))throw new Error("missing channel labels property: "+u);if(r[u].labels.length!==r[u].channels)throw new Error("channel and label counts mismatch: "+u);var a=r[u].channels,i=r[u].labels;delete r[u].channels,delete r[u].labels,Object.defineProperty(r[u],"channels",{value:a}),Object.defineProperty(r[u],"labels",{value:i})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,u=e[1]/255,a=e[2]/255,i=Math.min(r,u,a),o=Math.max(r,u,a),s=o-i;return o===i?t=0:r===o?t=(u-a)/s:u===o?t=2+(a-r)/s:a===o&&(t=4+(r-u)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(i+o)/2,[t,100*(o===i?0:n<=.5?s/(o+i):s/(2-o-i)),100*n]},r.rgb.hsv=function(e){var t,n,r,u,a,i=e[0]/255,o=e[1]/255,s=e[2]/255,c=Math.max(i,o,s),l=c-Math.min(i,o,s),p=function(e){return(c-e)/6/l+.5};return 0===l?u=a=0:(a=l/c,t=p(i),n=p(o),r=p(s),i===c?u=r-n:o===c?u=1/3+t-r:s===c&&(u=2/3+n-t),u<0?u+=1:u>1&&(u-=1)),[360*u,100*a,100*c]},r.rgb.hwb=function(e){var t=e[0],n=e[1],u=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,u))*100,100*(u=1-1/255*Math.max(t,Math.max(n,u)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-u)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-u-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,u,a,i=1/0;for(var o in Fu)if(Fu.hasOwnProperty(o)){var s=(u=e,a=Fu[o],Math.pow(u[0]-a[0],2)+Math.pow(u[1]-a[1],2)+Math.pow(u[2]-a[2],2));s<i&&(i=s,r=o)}return r},r.keyword.rgb=function(e){return Fu[e]},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],u=t[1],a=t[2];return u/=100,a/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(u=u>.008856?Math.pow(u,1/3):7.787*u+16/116)-16,500*(n-u),200*(u-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},r.hsl.rgb=function(e){var t,n,r,u,a,i=e[0]/360,o=e[1]/100,s=e[2]/100;if(0===o)return[a=255*s,a,a];t=2*s-(n=s<.5?s*(1+o):s+o-s*o),u=[0,0,0];for(var c=0;c<3;c++)(r=i+1/3*-(c-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,u[c]=255*a;return u},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,u=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,u*=a<=1?a:2-a,[t,100*(0===r?2*u/(a+u):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,u=Math.floor(t)%6,a=t-Math.floor(t),i=255*r*(1-n),o=255*r*(1-n*a),s=255*r*(1-n*(1-a));switch(r*=255,u){case 0:return[r,s,i];case 1:return[o,r,i];case 2:return[i,r,s];case 3:return[i,o,r];case 4:return[s,i,r];case 5:return[r,i,o]}},r.hsv.hsl=function(e){var t,n,r,u=e[0],a=e[1]/100,i=e[2]/100,o=Math.max(i,.01);return r=(2-a)*i,n=a*o,[u,100*(n=(n/=(t=(2-a)*o)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,u,a,i,o,s=e[0]/360,c=e[1]/100,l=e[2]/100,p=c+l;switch(p>1&&(c/=p,l/=p),r=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(r=1-r),u=c+r*((n=1-l)-c),t){default:case 6:case 0:a=n,i=u,o=c;break;case 1:a=u,i=n,o=c;break;case 2:a=c,i=n,o=u;break;case 3:a=c,i=u,o=n;break;case 4:a=u,i=c,o=n;break;case 5:a=n,i=c,o=u}return[255*a,255*i,255*o]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,u=e[3]/100;return[255*(1-Math.min(1,t*(1-u)+u)),255*(1-Math.min(1,n*(1-u)+u)),255*(1-Math.min(1,r*(1-u)+u))]},r.xyz.rgb=function(e){var t,n,r,u=e[0]/100,a=e[1]/100,i=e[2]/100;return n=-.9689*u+1.8758*a+.0415*i,r=.0557*u+-.204*a+1.057*i,t=(t=3.2406*u+-1.5372*a+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,u=e[0];t=e[1]/500+(n=(u+16)/116),r=n-e[2]/200;var a=Math.pow(n,3),i=Math.pow(t,3),o=Math.pow(r,3);return n=a>.008856?a:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],u=e[2];return(t=360*Math.atan2(u,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+u*u),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],u=e[2],a=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var i=30+(Math.round(u/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===a&&(i+=60),i},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255,a=Math.max(Math.max(n,r),u),i=Math.min(Math.min(n,r),u),o=a-i;return t=o<=0?0:a===n?(r-u)/o%6:a===r?2+(u-n)/o:4+(n-r)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?i/(1-o):0)]},r.hsl.hcg=function(e){var t,n=e[1]/100,r=e[2]/100,u=0;return(t=r<.5?2*n*r:2*n*(1-r))<1&&(u=(r-.5*t)/(1-t)),[e[0],100*t,100*u]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var u,a=[0,0,0],i=t%1*6,o=i%1,s=1-o;switch(Math.floor(i)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return u=(1-n)*r,[255*(n*a[0]+u),255*(n*a[1]+u),255*(n*a[2]+u)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function wu(e,t){return function(n){return t(e(n))}}function xu(e,t){for(var n=[t[e].parent,e],r=Su[t[e].parent][e],u=t[e].parent;t[u].parent;)n.unshift(t[u].parent),r=wu(Su[t[u].parent][u],r),u=t[u].parent;return r.conversion=n,r}var Tu={};Object.keys(Su).forEach((function(e){Tu[e]={},Object.defineProperty(Tu[e],"channels",{value:Su[e].channels}),Object.defineProperty(Tu[e],"labels",{value:Su[e].labels});var t=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(Su),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),u=Object.keys(Su[r]),a=u.length,i=0;i<a;i++){var o=u[i],s=t[o];-1===s.distance&&(s.distance=t[r].distance+1,s.parent=r,n.unshift(o))}return t}(e),n={},r=Object.keys(t),u=r.length,a=0;a<u;a++){var i=r[a];null!==t[i].parent&&(n[i]=xu(i,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];Tu[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==w(n))for(var r=n.length,u=0;u<r;u++)n[u]=Math.round(n[u]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),Tu[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var ku,Bu=Tu,Nu=o((function(e){var t=function(e,t){return function(){var n=e.apply(Bu,arguments);return"[".concat(n+t,"m")}},n=function(e,t){return function(){var n=e.apply(Bu,arguments);return"[".concat(38+t,";5;").concat(n,"m")}},r=function(e,t){return function(){var n=e.apply(Bu,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")}};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){var e=new Map,u={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};u.color.grey=u.color.gray;for(var a=0,i=Object.keys(u);a<i.length;a++){for(var o=i[a],s=u[o],c=0,l=Object.keys(s);c<l.length;c++){var p=l[c],f=s[p];u[p]={open:"[".concat(f[0],"m"),close:"[".concat(f[1],"m")},s[p]=u[p],e.set(f[0],f[1])}Object.defineProperty(u,o,{value:s,enumerable:!1}),Object.defineProperty(u,"codes",{value:e,enumerable:!1})}var d=function(e){return e},h=function(e,t,n){return[e,t,n]};u.color.close="[39m",u.bgColor.close="[49m",u.color.ansi={ansi:t(d,0)},u.color.ansi256={ansi256:n(d,0)},u.color.ansi16m={rgb:r(h,0)},u.bgColor.ansi={ansi:t(d,10)},u.bgColor.ansi256={ansi256:n(d,10)},u.bgColor.ansi16m={rgb:r(h,10)};for(var D=0,m=Object.keys(Bu);D<m.length;D++){var g=m[D];if("object"==w(Bu[g])){var y=Bu[g];"ansi16"===g&&(g="ansi"),"ansi16"in y&&(u.color.ansi[g]=t(y.ansi16,0),u.bgColor.ansi[g]=t(y.ansi16,10)),"ansi256"in y&&(u.color.ansi256[g]=n(y.ansi256,0),u.bgColor.ansi256[g]=n(y.ansi256,10)),"rgb"in y&&(u.color.ansi16m[g]=r(y.rgb,0),u.bgColor.ansi16m[g]=r(y.rgb,10))}}return u}})}));function _u(){if(void 0===ku){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])ku="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");ku="LE"}}return ku}function Pu(){return void 0!==Me.location?Me.location.hostname:""}function Ou(){return[]}function Iu(){return 0}function Lu(){return Number.MAX_VALUE}function Mu(){return Number.MAX_VALUE}function Ru(){return[]}function ju(){return"Browser"}function qu(){return void 0!==Me.navigator?Me.navigator.appVersion:""}function $u(){}function Vu(){}function Uu(){return"javascript"}function Wu(){return"browser"}function Gu(){return"/tmp"}var zu,Hu=Gu,Xu={EOL:"\n",arch:Uu,platform:Wu,tmpdir:Hu,tmpDir:Gu,networkInterfaces:$u,getNetworkInterfaces:Vu,release:qu,type:ju,cpus:Ru,totalmem:Mu,freemem:Lu,uptime:Iu,loadavg:Ou,hostname:Pu,endianness:_u},Ju=function(e,t){t=t||dt.argv;var n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),u=t.indexOf("--");return-1!==r&&(-1===u||r<u)},Yu=u(Object.freeze({__proto__:null,endianness:_u,hostname:Pu,loadavg:Ou,uptime:Iu,freemem:Lu,totalmem:Mu,cpus:Ru,type:ju,release:qu,networkInterfaces:$u,getNetworkInterfaces:Vu,arch:Uu,platform:Wu,tmpDir:Gu,tmpdir:Hu,EOL:"\n",default:Xu})),Ku=dt.env;function Qu(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===zu)return 0;if(Ju("color=16m")||Ju("color=full")||Ju("color=truecolor"))return 3;if(Ju("color=256"))return 2;if(e&&!e.isTTY&&!0!==zu)return 0;var t=zu?1:0;if("CI"in Ku)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in Ku}))||"codeship"===Ku.CI_NAME?1:t;if("TEAMCITY_VERSION"in Ku)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ku.TEAMCITY_VERSION)?1:0;if("truecolor"===Ku.COLORTERM)return 3;if("TERM_PROGRAM"in Ku){var n=parseInt((Ku.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ku.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ku.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ku.TERM)||"COLORTERM"in Ku?1:(Ku.TERM,t)}(e))}Ju("no-color")||Ju("no-colors")||Ju("color=false")?zu=!1:(Ju("color")||Ju("colors")||Ju("color=true")||Ju("color=always"))&&(zu=!0),"FORCE_COLOR"in Ku&&(zu=0===Ku.FORCE_COLOR.length||0!==parseInt(Ku.FORCE_COLOR,10));var Zu={supportsColor:Qu,stdout:Qu(dt.stdout),stderr:Qu(dt.stderr)},ea=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,ta=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,na=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,ra=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,ua=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function aa(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):ua.get(e)||e}function ia(e,t){var n,r,u=[],a=g(t.trim().split(/\s*,\s*/g));try{for(a.s();!(r=a.n()).done;){var i=r.value;if(isNaN(i)){if(!(n=i.match(na)))throw new Error("Invalid Chalk template style argument: ".concat(i," (in style '").concat(e,"')"));u.push(n[2].replace(ra,(function(e,t,n){return t?aa(t):n})))}else u.push(Number(i))}}catch(e){a.e(e)}finally{a.f()}return u}function oa(e){ta.lastIndex=0;for(var t,n=[];null!==(t=ta.exec(e));){var r=t[1];if(t[2]){var u=ia(r,t[2]);n.push([r].concat(u))}else n.push([r])}return n}function sa(e,t){var n,r={},u=g(t);try{for(u.s();!(n=u.n()).done;){var a,i=n.value,o=g(i.styles);try{for(o.s();!(a=o.n()).done;){var s=a.value;r[s[0]]=i.inverse?null:s.slice(1)}}catch(e){o.e(e)}finally{o.f()}}}catch(e){u.e(e)}finally{u.f()}for(var c=e,l=0,p=Object.keys(r);l<p.length;l++){var f=p[l];if(Array.isArray(r[f])){if(!(f in c))throw new Error("Unknown Chalk style: ".concat(f));c=r[f].length>0?c[f].apply(c,r[f]):c[f]}}return c}var ca=function(e,t){var n=[],r=[],u=[];if(t.replace(ea,(function(t,a,i,o,s,c){if(a)u.push(aa(a));else if(o){var l=u.join("");u=[],r.push(0===n.length?l:sa(e,n)(l)),n.push({inverse:i,styles:oa(o)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(sa(e,n)(u.join(""))),u=[],n.pop()}else u.push(c)})),r.push(u.join("")),n.length>0){var a="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(a)}return r.join("")},la=o((function(e){var t=Zu.stdout,n=["ansi","ansi","ansi256","ansi16m"],r=new Set(["gray"]),u=Object.create(null);function a(e,n){n=n||{};var r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function i(e){if(!this||!(this instanceof i)||this.template){var t={};return a(t,e),t.template=function(){var e=[].slice.call(arguments);return E.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,i.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=i,t.template}a(this,e)}for(var o=function(){var e=c[s];Nu[e].closeRe=new RegExp(Au(Nu[e].close),"g"),u[e]={get:function(){var t=Nu[e];return y.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},s=0,c=Object.keys(Nu);s<c.length;s++)o();u.visible={get:function(){return y.call(this,this._styles||[],!0,"visible")}},Nu.color.closeRe=new RegExp(Au(Nu.color.close),"g");for(var l=function(){var e=f[p];r.has(e)||(u[e]={get:function(){var t=this.level;return function(){var r={open:Nu.color[n[t]][e].apply(null,arguments),close:Nu.color.close,closeRe:Nu.color.closeRe};return y.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}})},p=0,f=Object.keys(Nu.color.ansi);p<f.length;p++)l();Nu.bgColor.closeRe=new RegExp(Au(Nu.bgColor.close),"g");for(var d=function(){var e=D[h];if(r.has(e))return"continue";u["bg"+e[0].toUpperCase()+e.slice(1)]={get:function(){var t=this.level;return function(){var r={open:Nu.bgColor[n[t]][e].apply(null,arguments),close:Nu.bgColor.close,closeRe:Nu.bgColor.closeRe};return y.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}}},h=0,D=Object.keys(Nu.bgColor.ansi);h<D.length;h++)d();var m=Object.defineProperties((function(){}),u);function y(e,t,n){var r=function e(){return v.apply(e,arguments)};r._styles=e,r._empty=t;var u=this;return Object.defineProperty(r,"level",{enumerable:!0,get:function(){return u.level},set:function(e){u.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:function(){return u.enabled},set:function(e){u.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=m,r}function v(){var e=arguments,t=e.length,n=String(arguments[0]);if(0===t)return"";if(t>1)for(var r=1;r<t;r++)n+=" "+e[r];if(!this.enabled||this.level<=0||!n)return this._empty?"":n;var u,a=Nu.dim.open,i=g(this._styles.slice().reverse());try{for(i.s();!(u=i.n()).done;){var o=u.value;n=(n=o.open+n.replace(o.closeRe,o.open)+o.close).replace(/\r?\n/g,"".concat(o.close,"$&").concat(o.open))}}catch(e){i.e(e)}finally{i.f()}return Nu.dim.open=a,n}function E(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");for(var n=[].slice.call(arguments,2),r=[t.raw[0]],u=1;u<t.length;u++)r.push(String(n[u-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[u]));return ca(e,r.join(""))}Object.defineProperties(i.prototype,u),e.exports=i(),e.exports.supportsColor=t,e.exports.default=e.exports})),pa=Object.defineProperty({commonDeprecatedHandler:function(e,t,n){var r=n.descriptor,u=["".concat(la.default.yellow("string"==typeof e?r.key(e):r.pair(e))," is deprecated")];return t&&u.push("we now treat it as ".concat(la.default.blue("string"==typeof t?r.key(t):r.pair(t)))),u.join("; ")+"."}},"__esModule",{value:!0}),fa=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vu.__exportStar(pa,t)})),da=Object.defineProperty({commonInvalidHandler:function(e,t,n){return["Invalid ".concat(la.default.red(n.descriptor.key(e))," value."),"Expected ".concat(la.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(la.default.red(n.descriptor.value(t)),".")].join(" ")}},"__esModule",{value:!0}),ha=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vu.__exportStar(da,t)})),Da=[],ma=[],ga=Object.defineProperty({levenUnknownHandler:function(e,t,n){var r=n.descriptor,u=n.logger,a=n.schemas,i=["Ignored unknown option ".concat(la.default.yellow(r.pair({key:e,value:t})),".")],o=Object.keys(a).sort().find((function(t){return function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,u=t.length;if(0===r)return u;if(0===u)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-u);)r--,u--;if(0===r)return u;for(var a,i,o,s,c=0;c<r&&e.charCodeAt(c)===t.charCodeAt(c);)c++;if(u-=c,0==(r-=c))return u;for(var l=0,p=0;l<r;)ma[c+l]=e.charCodeAt(c+l),Da[l]=++l;for(;p<u;)for(a=t.charCodeAt(c+p),o=p++,i=p,l=0;l<r;l++)s=a===ma[c+l]?o:o+1,o=Da[l],i=Da[l]=o>i?s>i?i+1:s:s>o?o+1:s;return i}(e,t)<3}));o&&i.push("Did you mean ".concat(la.default.blue(r.key(o)),"?")),u.warn(i.join(" "))}},"__esModule",{value:!0}),ya=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vu.__exportStar(ga,t)})),va=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vu.__exportStar(fa,t),vu.__exportStar(ha,t),vu.__exportStar(ya,t)})),Ea=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function Ca(e,t){var n,r=new e(t),u=Object.create(r),a=g(Ea);try{for(a.s();!(n=a.n()).done;){var i=n.value;i in t&&(u[i]=Sa(t[i],r,Aa.prototype[i].length))}}catch(e){a.e(e)}finally{a.f()}return u}var ba=Ca,Aa=function(){function e(t){x(this,e),this.name=t.name}return k(e,[{key:"default",value:function(e){}},{key:"expected",value:function(e){return"nothing"}},{key:"validate",value:function(e,t){return!1}},{key:"deprecated",value:function(e,t){return!1}},{key:"forward",value:function(e,t){}},{key:"redirect",value:function(e,t){}},{key:"overlap",value:function(e,t,n){return e}},{key:"preprocess",value:function(e,t){return e}},{key:"postprocess",value:function(e,t){return e}}],[{key:"create",value:function(e){return Ca(this,e)}}]),e}(),Fa=Aa;function Sa(e,t,n){return"function"==typeof e?function(){for(var r=arguments.length,u=new Array(r),a=0;a<r;a++)u[a]=arguments[a];return e.apply(void 0,v(u.slice(0,n-1)).concat([t],v(u.slice(n-1))))}:function(){return e}}var wa=Object.defineProperty({createSchema:ba,Schema:Fa},"__esModule",{value:!0}),xa=function(e){p(n,e);var t=d(n);function n(e){var r;return x(this,n),(r=t.call(this,e))._sourceName=e.sourceName,r}return k(n,[{key:"expected",value:function(e){return e.schemas[this._sourceName].expected(e)}},{key:"validate",value:function(e,t){return t.schemas[this._sourceName].validate(e,t)}},{key:"redirect",value:function(e,t){return this._sourceName}}]),n}(wa.Schema),Ta=xa,ka=Object.defineProperty({AliasSchema:Ta},"__esModule",{value:!0}),Ba=function(e){p(n,e);var t=d(n);function n(){return x(this,n),t.apply(this,arguments)}return k(n,[{key:"expected",value:function(){return"anything"}},{key:"validate",value:function(){return!0}}]),n}(wa.Schema),Na=Ba,_a=Object.defineProperty({AnySchema:Na},"__esModule",{value:!0}),Pa=function(e){p(n,e);var t=d(n);function n(e){var r;x(this,n);var u=e.valueSchema,a=e.name,i=void 0===a?u.name:a,o=vu.__rest(e,["valueSchema","name"]);return(r=t.call(this,Object.assign({},o,{name:i})))._valueSchema=u,r}return k(n,[{key:"expected",value:function(e){return"an array of ".concat(this._valueSchema.expected(e))}},{key:"validate",value:function(e,t){if(!Array.isArray(e))return!1;var n,r=[],u=g(e);try{for(u.s();!(n=u.n()).done;){var a=n.value,i=t.normalizeValidateResult(this._valueSchema.validate(a,t),a);!0!==i&&r.push(i.value)}}catch(e){u.e(e)}finally{u.f()}return 0===r.length||{value:r}}},{key:"deprecated",value:function(e,t){var n,r=[],u=g(e);try{for(u.s();!(n=u.n()).done;){var a=n.value,i=t.normalizeDeprecatedResult(this._valueSchema.deprecated(a,t),a);!1!==i&&r.push.apply(r,v(i.map((function(e){return{value:[e.value]}}))))}}catch(e){u.e(e)}finally{u.f()}return r}},{key:"forward",value:function(e,t){var n,r=[],u=g(e);try{for(u.s();!(n=u.n()).done;){var a=n.value,i=t.normalizeForwardResult(this._valueSchema.forward(a,t),a);r.push.apply(r,v(i.map(Ia)))}}catch(e){u.e(e)}finally{u.f()}return r}},{key:"redirect",value:function(e,t){var n,r=[],u=[],a=g(e);try{for(a.s();!(n=a.n()).done;){var i=n.value,o=t.normalizeRedirectResult(this._valueSchema.redirect(i,t),i);"remain"in o&&r.push(o.remain),u.push.apply(u,v(o.redirect.map(Ia)))}}catch(e){a.e(e)}finally{a.f()}return 0===r.length?{redirect:u}:{redirect:u,remain:r}}},{key:"overlap",value:function(e,t){return e.concat(t)}}]),n}(wa.Schema),Oa=Pa;function Ia(e){return{from:[e.from],to:e.to}}var La=Object.defineProperty({ArraySchema:Oa},"__esModule",{value:!0}),Ma=function(e){p(n,e);var t=d(n);function n(){return x(this,n),t.apply(this,arguments)}return k(n,[{key:"expected",value:function(){return"true or false"}},{key:"validate",value:function(e){return"boolean"==typeof e}}]),n}(wa.Schema),Ra=Ma,ja=Object.defineProperty({BooleanSchema:Ra},"__esModule",{value:!0});function qa(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}var $a=qa;function Va(e,t){return void 0===e?[]:Array.isArray(e)?e.map((function(e){return qa(e,t)})):[qa(e,t)]}var Ua=Va,Wa=Object.defineProperty({recordFromArray:function(e,t){var n,r=Object.create(null),u=g(e);try{for(u.s();!(n=u.n()).done;){var a=n.value,i=a[t];if(r[i])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(i)));r[i]=a}}catch(e){u.e(e)}finally{u.f()}return r},mapFromArray:function(e,t){var n,r=new Map,u=g(e);try{for(u.s();!(n=u.n()).done;){var a=n.value,i=a[t];if(r.has(i))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(i)));r.set(i,a)}}catch(e){u.e(e)}finally{u.f()}return r},createAutoChecklist:function(){var e=Object.create(null);return function(t){var n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},partition:function(e,t){var n,r=[],u=[],a=g(e);try{for(a.s();!(n=a.n()).done;){var i=n.value;t(i)?r.push(i):u.push(i)}}catch(e){a.e(e)}finally{a.f()}return[r,u]},isInt:function(e){return e===Math.floor(e)},comparePrimitive:function(e,t){if(e===t)return 0;var n=w(e),r=w(t),u=["undefined","object","boolean","number","string"];return n!==r?u.indexOf(n)-u.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},normalizeDefaultResult:function(e){return void 0===e?{}:e},normalizeValidateResult:function(e,t){return!0===e||(!1===e?{value:t}:e)},normalizeDeprecatedResult:function(e,t){return!1!==e&&(!0===e?!!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},normalizeTransferResult:$a,normalizeForwardResult:Ua,normalizeRedirectResult:function(e,t){var n=Va("object"==w(e)&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==w(e)&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}},"__esModule",{value:!0}),Ga=function(e){p(n,e);var t=d(n);function n(e){var r;return x(this,n),(r=t.call(this,e))._choices=Wa.mapFromArray(e.choices.map((function(e){return e&&"object"==w(e)?e:{value:e}})),"value"),r}return k(n,[{key:"expected",value:function(e){var t=this,n=e.descriptor,r=Array.from(this._choices.keys()).map((function(e){return t._choices.get(e)})).filter((function(e){return!e.deprecated})).map((function(e){return e.value})).sort(Wa.comparePrimitive).map(n.value),u=r.slice(0,-2),a=r.slice(-2);return u.concat(a.join(" or ")).join(", ")}},{key:"validate",value:function(e){return this._choices.has(e)}},{key:"deprecated",value:function(e){var t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}},{key:"forward",value:function(e){var t=this._choices.get(e);return t?t.forward:void 0}},{key:"redirect",value:function(e){var t=this._choices.get(e);return t?t.redirect:void 0}}]),n}(wa.Schema),za=Ga,Ha=Object.defineProperty({ChoiceSchema:za},"__esModule",{value:!0}),Xa=function(e){p(n,e);var t=d(n);function n(){return x(this,n),t.apply(this,arguments)}return k(n,[{key:"expected",value:function(){return"a number"}},{key:"validate",value:function(e,t){return"number"==typeof e}}]),n}(wa.Schema),Ja=Xa,Ya=Object.defineProperty({NumberSchema:Ja},"__esModule",{value:!0}),Ka=function(e){p(n,e);var t=d(n);function n(){return x(this,n),t.apply(this,arguments)}return k(n,[{key:"expected",value:function(){return"an integer"}},{key:"validate",value:function(e,t){return!0===t.normalizeValidateResult(c(m(n.prototype),"validate",this).call(this,e,t),e)&&Wa.isInt(e)}}]),n}(Ya.NumberSchema),Qa=Ka,Za=Object.defineProperty({IntegerSchema:Qa},"__esModule",{value:!0}),ei=function(e){p(n,e);var t=d(n);function n(){return x(this,n),t.apply(this,arguments)}return k(n,[{key:"expected",value:function(){return"a string"}},{key:"validate",value:function(e){return"string"==typeof e}}]),n}(wa.Schema),ti=ei,ni=Object.defineProperty({StringSchema:ti},"__esModule",{value:!0}),ri=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vu.__exportStar(ka,t),vu.__exportStar(_a,t),vu.__exportStar(La,t),vu.__exportStar(ja,t),vu.__exportStar(Ha,t),vu.__exportStar(Za,t),vu.__exportStar(Ya,t),vu.__exportStar(ni,t)})),ui=Eu.apiDescriptor,ai=ga.levenUnknownHandler,ii=ha.commonInvalidHandler,oi=pa.commonDeprecatedHandler,si=Object.defineProperty({defaultDescriptor:ui,defaultUnknownHandler:ai,defaultInvalidHandler:ii,defaultDeprecatedHandler:oi},"__esModule",{value:!0}),ci=function(){function e(t,n){x(this,e);var r=n||{},u=r.logger,a=void 0===u?console:u,i=r.descriptor,o=void 0===i?si.defaultDescriptor:i,s=r.unknown,c=void 0===s?si.defaultUnknownHandler:s,l=r.invalid,p=void 0===l?si.defaultInvalidHandler:l,f=r.deprecated,d=void 0===f?si.defaultDeprecatedHandler:f;this._utils={descriptor:o,logger:a||{warn:function(){}},schemas:Wa.recordFromArray(t,"name"),normalizeDefaultResult:Wa.normalizeDefaultResult,normalizeDeprecatedResult:Wa.normalizeDeprecatedResult,normalizeForwardResult:Wa.normalizeForwardResult,normalizeRedirectResult:Wa.normalizeRedirectResult,normalizeValidateResult:Wa.normalizeValidateResult},this._unknownHandler=c,this._invalidHandler=p,this._deprecatedHandler=d,this.cleanHistory()}return k(e,[{key:"cleanHistory",value:function(){this._hasDeprecationWarned=Wa.createAutoChecklist()}},{key:"normalize",value:function(e){var t=this,n={},r=[e],u=function(){for(;0!==r.length;){var e=r.shift(),u=t._applyNormalization(e,n);r.push.apply(r,v(u))}};u();for(var a=0,i=Object.keys(this._utils.schemas);a<i.length;a++){var o=i[a],s=this._utils.schemas[o];if(!(o in n)){var c=Wa.normalizeDefaultResult(s.default(this._utils));"value"in c&&r.push(y({},o,c.value))}}u();for(var l=0,p=Object.keys(this._utils.schemas);l<p.length;l++){var f=p[l],d=this._utils.schemas[f];f in n&&(n[f]=d.postprocess(n[f],this._utils))}return n}},{key:"_applyNormalization",value:function(e,t){var n,r=this,u=[],a=Wa.partition(Object.keys(e),(function(e){return e in r._utils.schemas})),i=C(a,2),o=i[0],s=i[1],c=g(o);try{var l=function(){var a=n.value,i=r._utils.schemas[a],o=i.preprocess(e[a],r._utils),s=Wa.normalizeValidateResult(i.validate(o,r._utils),o);if(!0!==s){var c=s.value,l=r._invalidHandler(a,c,r._utils);throw"string"==typeof l?new Error(l):l}var p=function(e){var t=e.from,n=e.to;u.push("string"==typeof n?y({},n,t):y({},n.key,n.value))},f=function(e){var t=e.value,n=e.redirectTo,u=Wa.normalizeDeprecatedResult(i.deprecated(t,r._utils),o,!0);if(!1!==u)if(!0===u)r._hasDeprecationWarned(a)||r._utils.logger.warn(r._deprecatedHandler(a,n,r._utils));else{var s,c=g(u);try{for(c.s();!(s=c.n()).done;){var l=s.value.value,p={key:a,value:l};if(!r._hasDeprecationWarned(p)){var f="string"==typeof n?{key:n,value:l}:n;r._utils.logger.warn(r._deprecatedHandler(p,f,r._utils))}}}catch(e){c.e(e)}finally{c.f()}}};Wa.normalizeForwardResult(i.forward(o,r._utils),o).forEach(p);var d=Wa.normalizeRedirectResult(i.redirect(o,r._utils),o);if(d.redirect.forEach(p),"remain"in d){var h=d.remain;t[a]=a in t?i.overlap(t[a],h,r._utils):h,f({value:h})}var D,m=g(d.redirect);try{for(m.s();!(D=m.n()).done;){var v=D.value;f({value:v.from,redirectTo:v.to})}}catch(e){m.e(e)}finally{m.f()}};for(c.s();!(n=c.n()).done;)l()}catch(e){c.e(e)}finally{c.f()}var p,f=g(s);try{for(f.s();!(p=f.n()).done;){var d=p.value,h=e[d],D=this._unknownHandler(d,h,this._utils);if(D)for(var m=0,v=Object.keys(D);m<v.length;m++){var E=v[m],b=y({},E,D[E]);E in this._utils.schemas?u.push(b):Object.assign(t,b)}}}catch(e){f.e(e)}finally{f.f()}return u}}]),e}(),li=ci,pi=Object.defineProperty({normalize:function(e,t,n){return new ci(t,n).normalize(e)},Normalizer:li},"__esModule",{value:!0}),fi=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),vu.__exportStar(Cu,t),vu.__exportStar(va,t),vu.__exportStar(ri,t),vu.__exportStar(pi,t),vu.__exportStar(wa,t)})),di=[],hi=[],Di=function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);for(var r=e.length,u=t.length;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-u);)r--,u--;for(var a,i,o,s,c=0;c<r&&e.charCodeAt(c)===t.charCodeAt(c);)c++;if(u-=c,0==(r-=c))return u;for(var l=0,p=0;l<r;)hi[l]=e.charCodeAt(c+l),di[l]=++l;for(;p<u;)for(a=t.charCodeAt(c+p),o=p++,i=p,l=0;l<r;l++)s=a===hi[l]?o:o+1,o=di[l],i=di[l]=o>i?s>i?i+1:s:s>o?o+1:s;return i},mi=Di,gi=Di;mi.default=gi;for(var yi={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},vi={},Ei=0,Ci=Object.keys(yi);Ei<Ci.length;Ei++){var bi=Ci[Ei];vi[yi[bi]]=bi}for(var Ai={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},Fi=Ai,Si=0,wi=Object.keys(Ai);Si<wi.length;Si++){var xi=wi[Si];if(!("channels"in Ai[xi]))throw new Error("missing channels property: "+xi);if(!("labels"in Ai[xi]))throw new Error("missing channel labels property: "+xi);if(Ai[xi].labels.length!==Ai[xi].channels)throw new Error("channel and label counts mismatch: "+xi);var Ti=Ai[xi],ki=Ti.channels,Bi=Ti.labels;delete Ai[xi].channels,delete Ai[xi].labels,Object.defineProperty(Ai[xi],"channels",{value:ki}),Object.defineProperty(Ai[xi],"labels",{value:Bi})}function Ni(e,t){return function(n){return t(e(n))}}function _i(e,t){for(var n=[t[e].parent,e],r=Fi[t[e].parent][e],u=t[e].parent;t[u].parent;)n.unshift(t[u].parent),r=Ni(Fi[t[u].parent][u],r),u=t[u].parent;return r.conversion=n,r}Ai.rgb.hsl=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255,a=Math.min(n,r,u),i=Math.max(n,r,u),o=i-a;i===a?t=0:n===i?t=(r-u)/o:r===i?t=2+(u-n)/o:u===i&&(t=4+(n-r)/o),(t=Math.min(60*t,360))<0&&(t+=360);var s=(a+i)/2;return[t,100*(i===a?0:s<=.5?o/(i+a):o/(2-i-a)),100*s]},Ai.rgb.hsv=function(e){var t,n,r,u,a,i=e[0]/255,o=e[1]/255,s=e[2]/255,c=Math.max(i,o,s),l=c-Math.min(i,o,s),p=function(e){return(c-e)/6/l+.5};return 0===l?(u=0,a=0):(a=l/c,t=p(i),n=p(o),r=p(s),i===c?u=r-n:o===c?u=1/3+t-r:s===c&&(u=2/3+n-t),u<0?u+=1:u>1&&(u-=1)),[360*u,100*a,100*c]},Ai.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[Ai.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},Ai.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,u=Math.min(1-t,1-n,1-r);return[100*((1-t-u)/(1-u)||0),100*((1-n-u)/(1-u)||0),100*((1-r-u)/(1-u)||0),100*u]},Ai.rgb.keyword=function(e){var t=vi[e];if(t)return t;for(var n,r,u,a=1/0,i=0,o=Object.keys(yi);i<o.length;i++){var s=o[i],c=(u=yi[s],Math.pow((r=e)[0]-u[0],2)+Math.pow(r[1]-u[1],2)+Math.pow(r[2]-u[2],2));c<a&&(a=c,n=s)}return n},Ai.keyword.rgb=function(e){return yi[e]},Ai.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Ai.rgb.lab=function(e){var t=Ai.rgb.xyz(e),n=t[0],r=t[1],u=t[2];return r/=100,u/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(u=u>.008856?Math.pow(u,1/3):7.787*u+16/116))]},Ai.hsl.rgb=function(e){var t,n,r,u=e[0]/360,a=e[1]/100,i=e[2]/100;if(0===a)return[r=255*i,r,r];for(var o=2*i-(t=i<.5?i*(1+a):i+a-i*a),s=[0,0,0],c=0;c<3;c++)(n=u+1/3*-(c-1))<0&&n++,n>1&&n--,r=6*n<1?o+6*(t-o)*n:2*n<1?t:3*n<2?o+(t-o)*(2/3-n)*6:o,s[c]=255*r;return s},Ai.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,u=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,u*=a<=1?a:2-a,[t,100*(0===r?2*u/(a+u):2*n/(r+n)),(r+n)/2*100]},Ai.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,u=Math.floor(t)%6,a=t-Math.floor(t),i=255*r*(1-n),o=255*r*(1-n*a),s=255*r*(1-n*(1-a));switch(r*=255,u){case 0:return[r,s,i];case 1:return[o,r,i];case 2:return[i,r,s];case 3:return[i,o,r];case 4:return[s,i,r];case 5:return[r,i,o]}},Ai.hsv.hsl=function(e){var t,n,r=e[0],u=e[1]/100,a=e[2]/100,i=Math.max(a,.01);n=(2-u)*a;var o=(2-u)*i;return t=u*i,[r,100*(t=(t/=o<=1?o:2-o)||0),100*(n/=2)]},Ai.hwb.rgb=function(e){var t,n=e[0]/360,r=e[1]/100,u=e[2]/100,a=r+u;a>1&&(r/=a,u/=a);var i=Math.floor(6*n),o=1-u;t=6*n-i,0!=(1&i)&&(t=1-t);var s,c,l,p=r+t*(o-r);switch(i){default:case 6:case 0:s=o,c=p,l=r;break;case 1:s=p,c=o,l=r;break;case 2:s=r,c=o,l=p;break;case 3:s=r,c=p,l=o;break;case 4:s=p,c=r,l=o;break;case 5:s=o,c=r,l=p}return[255*s,255*c,255*l]},Ai.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,u=e[3]/100;return[255*(1-Math.min(1,t*(1-u)+u)),255*(1-Math.min(1,n*(1-u)+u)),255*(1-Math.min(1,r*(1-u)+u))]},Ai.xyz.rgb=function(e){var t,n,r,u=e[0]/100,a=e[1]/100,i=e[2]/100;return n=-.9689*u+1.8758*a+.0415*i,r=.0557*u+-.204*a+1.057*i,t=(t=3.2406*u+-1.5372*a+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},Ai.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},Ai.lab.xyz=function(e){var t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;var u=Math.pow(n,3),a=Math.pow(t,3),i=Math.pow(r,3);return n=u>.008856?u:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=i>.008856?i:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},Ai.lab.lch=function(e){var t,n=e[0],r=e[1],u=e[2];return(t=360*Math.atan2(u,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+u*u),t]},Ai.lch.lab=function(e){var t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Ai.rgb.ansi16=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=C(e,3),r=n[0],u=n[1],a=n[2],i=null===t?Ai.rgb.hsv(e)[2]:t;if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(a/255)<<2|Math.round(u/255)<<1|Math.round(r/255));return 2===i&&(o+=60),o},Ai.hsv.ansi16=function(e){return Ai.rgb.ansi16(Ai.hsv.rgb(e),e[2])},Ai.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Ai.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Ai.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},Ai.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Ai.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Ai.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255,a=Math.max(Math.max(n,r),u),i=Math.min(Math.min(n,r),u),o=a-i;return t=o<=0?0:a===n?(r-u)/o%6:a===r?2+(u-n)/o:4+(n-r)/o,t/=6,[360*(t%=1),100*o,100*(o<1?i/(1-o):0)]},Ai.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),u=0;return r<1&&(u=(n-.5*r)/(1-r)),[e[0],100*r,100*u]},Ai.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},Ai.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var u,a=[0,0,0],i=t%1*6,o=i%1,s=1-o;switch(Math.floor(i)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return u=(1-n)*r,[255*(n*a[0]+u),255*(n*a[1]+u),255*(n*a[2]+u)]},Ai.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Ai.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Ai.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Ai.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},Ai.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Ai.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Ai.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Ai.gray.hsl=function(e){return[0,0,e[0]]},Ai.gray.hsv=Ai.gray.hsl,Ai.gray.hwb=function(e){return[0,100,e[0]]},Ai.gray.cmyk=function(e){return[0,0,0,e[0]]},Ai.gray.lab=function(e){return[e[0],0,0]},Ai.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Ai.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var Pi={};Object.keys(Fi).forEach((function(e){Pi[e]={},Object.defineProperty(Pi[e],"channels",{value:Fi[e].channels}),Object.defineProperty(Pi[e],"labels",{value:Fi[e].labels});var t=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(Fi),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),u=Object.keys(Fi[r]),a=u.length,i=0;i<a;i++){var o=u[i],s=t[o];-1===s.distance&&(s.distance=t[r].distance+1,s.parent=r,n.unshift(o))}return t}(e),n={},r=Object.keys(t),u=r.length,a=0;a<u;a++){var i=r[a];null!==t[i].parent&&(n[i]=_i(i,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];Pi[e][n]=function(e){var t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var u=n[0];if(null==u)return u;u.length>1&&(n=u);var a=e(n);if("object"==w(a))for(var i=a.length,o=0;o<i;o++)a[o]=Math.round(a[o]);return a};return"conversion"in e&&(t.conversion=e.conversion),t}(r),Pi[e][n].raw=function(e){var t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var u=n[0];return null==u?u:(u.length>1&&(n=u),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Oi=Pi,Ii=o((function(e){var t,n=function(e,t){return function(){var n=e.apply(void 0,arguments);return"[".concat(n+t,"m")}},r=function(e,t){return function(){var n=e.apply(void 0,arguments);return"[".concat(38+t,";5;").concat(n,"m")}},u=function(e,t){return function(){var n=e.apply(void 0,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")}},a=function(e){return e},i=function(e,t,n){return[e,t,n]},o=function(e,t,n){Object.defineProperty(e,t,{get:function(){var r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})},s=function(e,n,r,u){void 0===t&&(t=Oi);for(var a=u?10:0,i={},o=0,s=Object.entries(t);o<s.length;o++){var c=C(s[o],2),l=c[0],p=c[1],f="ansi16"===l?"ansi":l;l===n?i[f]=e(r,a):"object"==w(p)&&(i[f]=e(p[n],a))}return i};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){var e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(var c=0,l=Object.entries(t);c<l.length;c++){for(var p=C(l[c],2),f=p[0],d=p[1],h=0,D=Object.entries(d);h<D.length;h++){var m=C(D[h],2),g=m[0],y=m[1];t[g]={open:"[".concat(y[0],"m"),close:"[".concat(y[1],"m")},d[g]=t[g],e.set(y[0],y[1])}Object.defineProperty(t,f,{value:d,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="[39m",t.bgColor.close="[49m",o(t.color,"ansi",(function(){return s(n,"ansi16",a,!1)})),o(t.color,"ansi256",(function(){return s(r,"ansi256",a,!1)})),o(t.color,"ansi16m",(function(){return s(u,"rgb",i,!1)})),o(t.bgColor,"ansi",(function(){return s(n,"ansi16",a,!0)})),o(t.bgColor,"ansi256",(function(){return s(r,"ansi256",a,!0)})),o(t.bgColor,"ansi16m",(function(){return s(u,"rgb",i,!0)})),t}})}));function Li(){return!1}function Mi(){throw new Error("tty.ReadStream is not implemented")}function Ri(){throw new Error("tty.ReadStream is not implemented")}var ji,qi={isatty:Li,ReadStream:Mi,WriteStream:Ri},$i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dt.argv,n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),u=t.indexOf("--");return-1!==r&&(-1===u||r<u)},Vi=u(Object.freeze({__proto__:null,isatty:Li,ReadStream:Mi,WriteStream:Ri,default:qi})),Ui=dt.env;function Wi(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Gi(e,t){if(0===ji)return 0;if($i("color=16m")||$i("color=full")||$i("color=truecolor"))return 3;if($i("color=256"))return 2;if(e&&!t&&void 0===ji)return 0;var n=ji||0;if("dumb"===Ui.TERM)return n;if("CI"in Ui)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((function(e){return e in Ui}))||"codeship"===Ui.CI_NAME?1:n;if("TEAMCITY_VERSION"in Ui)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ui.TEAMCITY_VERSION)?1:0;if("truecolor"===Ui.COLORTERM)return 3;if("TERM_PROGRAM"in Ui){var r=parseInt((Ui.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ui.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ui.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ui.TERM)||"COLORTERM"in Ui?1:n}$i("no-color")||$i("no-colors")||$i("color=false")||$i("color=never")?ji=0:($i("color")||$i("colors")||$i("color=true")||$i("color=always"))&&(ji=1),"FORCE_COLOR"in Ui&&(ji="true"===Ui.FORCE_COLOR?1:"false"===Ui.FORCE_COLOR?0:0===Ui.FORCE_COLOR.length?1:Math.min(parseInt(Ui.FORCE_COLOR,10),3));var zi={supportsColor:function(e){return Wi(Gi(e,e&&e.isTTY))},stdout:Wi(Gi(!0,Vi.isatty(1))),stderr:Wi(Gi(!0,Vi.isatty(2)))},Hi=function(e,t,n){var r=e.indexOf(t);if(-1===r)return e;var u=t.length,a=0,i="";do{i+=e.substr(a,r-a)+t+n,a=r+u,r=e.indexOf(t,a)}while(-1!==r);return i+e.substr(a)},Xi=function(e,t,n,r){var u=0,a="";do{var i="\r"===e[r-1];a+=e.substr(u,(i?r-1:r)-u)+t+(i?"\r\n":"\n")+n,u=r+1,r=e.indexOf("\n",u)}while(-1!==r);return a+e.substr(u)},Ji=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Yi=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ki=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Qi=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Zi=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function eo(e){var t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):Zi.get(e)||e}function to(e,t){var n,r,u=[],a=g(t.trim().split(/\s*,\s*/g));try{for(a.s();!(r=a.n()).done;){var i=r.value,o=Number(i);if(Number.isNaN(o)){if(!(n=i.match(Ki)))throw new Error("Invalid Chalk template style argument: ".concat(i," (in style '").concat(e,"')"));u.push(n[2].replace(Qi,(function(e,t,n){return t?eo(t):n})))}else u.push(o)}}catch(e){a.e(e)}finally{a.f()}return u}function no(e){Yi.lastIndex=0;for(var t,n=[];null!==(t=Yi.exec(e));){var r=t[1];if(t[2]){var u=to(r,t[2]);n.push([r].concat(u))}else n.push([r])}return n}function ro(e,t){var n,r={},u=g(t);try{for(u.s();!(n=u.n()).done;){var a,i=n.value,o=g(i.styles);try{for(o.s();!(a=o.n()).done;){var s=a.value;r[s[0]]=i.inverse?null:s.slice(1)}}catch(e){o.e(e)}finally{o.f()}}}catch(e){u.e(e)}finally{u.f()}for(var c=e,l=0,p=Object.entries(r);l<p.length;l++){var f=C(p[l],2),d=f[0],h=f[1];if(Array.isArray(h)){var D;if(!(d in c))throw new Error("Unknown Chalk style: ".concat(d));c=h.length>0?(D=c)[d].apply(D,v(h)):c[d]}}return c}var uo=function(e,t){var n=[],r=[],u=[];if(t.replace(Ji,(function(t,a,i,o,s,c){if(a)u.push(eo(a));else if(o){var l=u.join("");u=[],r.push(0===n.length?l:ro(e,n)(l)),n.push({inverse:i,styles:no(o)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ro(e,n)(u.join(""))),u=[],n.pop()}else u.push(c)})),r.push(u.join("")),n.length>0){var a="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(a)}return r.join("")},ao=zi.stdout,io=zi.stderr,oo=Hi,so=Xi,co=Array.isArray,lo=["ansi","ansi","ansi256","ansi16m"],po=Object.create(null),fo=k((function e(t){return x(this,e),ho(t)})),ho=function(e){var t={};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");var n=ao?ao.level:0;e.level=void 0===t.level?n:t.level}(t,e),t.template=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return No.apply(void 0,[t.template].concat(n))},Object.setPrototypeOf(t,Do.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=function(){throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=fo,t.template};function Do(e){return ho(e)}for(var mo=function(){var e=C(yo[go],2),t=e[0],n=e[1];po[t]={get:function(){var e=ko(this,To(n.open,n.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:e}),e}}},go=0,yo=Object.entries(Ii);go<yo.length;go++)mo();po.visible={get:function(){var e=ko(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};for(var vo=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"],Eo=function(){var e=bo[Co];po[e]={get:function(){var t=this.level;return function(){var n,r=To((n=Ii.color[lo[t]])[e].apply(n,arguments),Ii.color.close,this._styler);return ko(this,r,this._isEmpty)}}}},Co=0,bo=vo;Co<bo.length;Co++)Eo();for(var Ao=function(){var e=So[Fo];po["bg"+e[0].toUpperCase()+e.slice(1)]={get:function(){var t=this.level;return function(){var n,r=To((n=Ii.bgColor[lo[t]])[e].apply(n,arguments),Ii.bgColor.close,this._styler);return ko(this,r,this._isEmpty)}}}},Fo=0,So=vo;Fo<So.length;Fo++)Ao();var wo,xo=Object.defineProperties((function(){}),Object.assign({},po,{level:{enumerable:!0,get:function(){return this._generator.level},set:function(e){this._generator.level=e}}})),To=function(e,t,n){var r,u;return void 0===n?(r=e,u=t):(r=n.openAll+e,u=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:u,parent:n}},ko=function(e,t,n){var r=function e(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return co(n[0])&&co(n[0].raw)?Bo(e,No.apply(void 0,[e].concat(n))):Bo(e,1===n.length?""+n[0]:n.join(" "))};return Object.setPrototypeOf(r,xo),r._generator=e,r._styler=t,r._isEmpty=n,r},Bo=function(e,t){if(e.level<=0||!t)return e._isEmpty?"":t;var n=e._styler;if(void 0===n)return t;var r=n,u=r.openAll,a=r.closeAll;if(-1!==t.indexOf(""))for(;void 0!==n;)t=oo(t,n.close,n.open),n=n.parent;var i=t.indexOf("\n");return-1!==i&&(t=so(t,a,u,i)),u+t+a},No=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var u=n[0];if(!co(u)||!co(u.raw))return n.join(" ");for(var a=n.slice(1),i=[u.raw[0]],o=1;o<u.length;o++)i.push(String(a[o-1]).replace(/[{}\\]/g,"\\$&"),String(u.raw[o]));return void 0===wo&&(wo=uo),wo(e,i.join(""))};Object.defineProperties(Do.prototype,po);var _o=Do();_o.supportsColor=ao,_o.stderr=Do({level:io?io.level:0}),_o.stderr.supportsColor=io;var Po,Oo=_o,Io=function(e,t){for(var n=-1,r=t.length,u=e.length;++n<r;)e[u+n]=t[n];return e},Lo="object"==w(r)&&r&&r.Object===Object&&r,Mo="object"==("undefined"==typeof self?"undefined":w(self))&&self&&self.Object===Object&&self,Ro=(Lo||Mo||Function("return this")()).Symbol,jo=Object.prototype,qo=jo.hasOwnProperty,$o=jo.toString,Vo=Ro?Ro.toStringTag:void 0,Uo=Object.prototype.toString,Wo=Ro?Ro.toStringTag:void 0,Go=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Wo&&Wo in Object(e)?function(e){var t=qo.call(e,Vo),n=e[Vo];try{e[Vo]=void 0;var r=!0}catch(e){}var u=$o.call(e);return r&&(t?e[Vo]=n:delete e[Vo]),u}(e):function(e){return Uo.call(e)}(e)},zo=function(e){return null!=e&&"object"==w(e)},Ho=function(e){return zo(e)&&"[object Arguments]"==Go(e)},Xo=Object.prototype,Jo=Xo.hasOwnProperty,Yo=Xo.propertyIsEnumerable,Ko=Ho(function(){return arguments}())?Ho:function(e){return zo(e)&&Jo.call(e,"callee")&&!Yo.call(e,"callee")},Qo=Array.isArray,Zo=Ro?Ro.isConcatSpreadable:void 0,es=function(e){return Qo(e)||Ko(e)||!!(Zo&&e&&e[Zo])},ts=function e(t,n,r,u,a){var i=-1,o=t.length;for(r||(r=es),a||(a=[]);++i<o;){var s=t[i];n>0&&r(s)?n>1?e(s,n-1,r,u,a):Io(a,s):u||(a[a.length]=s)}return a},ns=function(e){return null!=e&&e.length?ts(e,1):[]},rs={key:function(e){return 1===e.length?"-".concat(e):"--".concat(e)},value:function(e){return fi.apiDescriptor.value(e)},pair:function(e){var t=e.key,n=e.value;return!1===n?"--no-".concat(t):!0===n?rs.key(t):""===n?"".concat(rs.key(t)," without an argument"):"".concat(rs.key(t),"=").concat(n)}},us=function(e){p(n,e);var t=d(n);function n(e){var r,u=e.name,a=e.flags;return x(this,n),(r=t.call(this,{name:u,choices:a}))._flags=v(a).sort(),r}return k(n,[{key:"preprocess",value:function(e,t){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){var n=this._flags.find((function(t){return mi(t,e)<3}));if(n)return t.logger.warn(["Unknown flag ".concat(Oo.yellow(t.descriptor.value(e)),","),"did you mean ".concat(Oo.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}},{key:"expected",value:function(){return"a flag"}}]),n}(fi.ChoiceSchema);function as(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=r.logger,a=r.isCLI,i=void 0!==a&&a,o=r.passThrough,s=void 0!==o&&o,c=s?Array.isArray(s)?function(e,t){return s.includes(e)?y({},e,t):void 0}:function(e,t){return y({},e,t)}:function(t,n,r){var u=e(r.schemas,["_"]);return fi.levenUnknownHandler(t,n,Object.assign({},r,{schemas:u}))},l=i?rs:fi.apiDescriptor,p=function(e,t){var n=t.isCLI,r=[];n&&r.push(fi.AnySchema.create({name:"_"}));var u,a=g(e);try{for(a.s();!(u=a.n()).done;){var i=u.value;r.push(is(i,{isCLI:n,optionInfos:e})),i.alias&&n&&r.push(fi.AliasSchema.create({name:i.alias,sourceName:i.name}))}}catch(e){a.e(e)}finally{a.f()}return r}(n,{isCLI:i}),f=new fi.Normalizer(p,{logger:u,unknown:c,descriptor:l}),d=!1!==u;d&&Po&&(f._hasDeprecationWarned=Po);var h=f.normalize(t);return d&&(Po=f._hasDeprecationWarned),h}function is(e,t){var n,r=t.isCLI,u=t.optionInfos,a={name:e.name},i={};switch(e.type){case"int":n=fi.IntegerSchema,r&&(a.preprocess=function(e){return Number(e)});break;case"string":case"path":n=fi.StringSchema;break;case"choice":n=fi.ChoiceSchema,a.choices=e.choices.map((function(t){return"object"==w(t)&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t}));break;case"boolean":n=fi.BooleanSchema;break;case"flag":n=us,a.flags=ns(u.map((function(e){return[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)})));break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?a.validate=function(t,n,r){return e.exception(t)||n.validate(t,r)}:a.validate=function(e,t,n){return void 0===e||t.validate(e,n)},e.redirect&&(i.redirect=function(t){return t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0}),e.deprecated&&(i.deprecated=!0),r&&!e.array){var o=a.preprocess||function(e){return e};a.preprocess=function(e,t,n){return t.preprocess(o(Array.isArray(e)?Ie(e):e),n)}}return e.array?fi.ArraySchema.create(Object.assign({},r?{preprocess:function(e){return Array.isArray(e)?e:[e]}}:{},i,{valueSchema:n.create(a)})):n.create(Object.assign({},a,i))}var os=function(e,t,n){return as(e,t,n)},ss=sn.isNonEmptyArray;function cs(e,t){if(!(t||{}).ignoreDecorators){var n=e.declaration&&e.declaration.decorators||e.decorators;if(ss(n))return cs(n[0])}return e.range?e.range[0]:e.start}function ls(e){return e.range?e.range[1]:e.end}function ps(e,t){return cs(e)===cs(t)}var fs=cs,ds=ls,hs=ps,Ds=function(e,t){return ps(e,t)&&function(e,t){return ls(e)===ls(t)}(e,t)},ms=Object.defineProperty({default:/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,matchToToken:function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},"__esModule",{value:!0}),gs=ws,ys=xs,vs="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Es="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Cs=new RegExp("["+vs+"]"),bs=new RegExp("["+vs+Es+"]");vs=Es=null;var As=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],Fs=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function Ss(e,t){for(var n=65536,r=0,u=t.length;r<u;r+=2){if((n+=t[r])>e)return!1;if((n+=t[r+1])>=e)return!0}return!1}function ws(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Cs.test(String.fromCharCode(e)):Ss(e,As)))}function xs(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&bs.test(String.fromCharCode(e)):Ss(e,As)||Ss(e,Fs))))}var Ts=Object.defineProperty({isIdentifierStart:gs,isIdentifierChar:ys,isIdentifierName:function(e){for(var t=!0,n=0;n<e.length;n++){var r=e.charCodeAt(n);if(55296==(64512&r)&&n+1<e.length){var u=e.charCodeAt(++n);56320==(64512&u)&&(r=65536+((1023&r)<<10)+(1023&u))}if(t){if(t=!1,!ws(r))return!1}else if(!xs(r))return!1}return!t}},"__esModule",{value:!0}),ks=Is,Bs=Ls,Ns=Ms,_s=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),Ps=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),Os=new Set(["eval","arguments"]);function Is(e,t){return t&&"await"===e||"enum"===e}function Ls(e,t){return Is(e,t)||Ps.has(e)}function Ms(e){return Os.has(e)}var Rs=Object.defineProperty({isReservedWord:ks,isStrictReservedWord:Bs,isStrictBindOnlyReservedWord:Ns,isStrictBindReservedWord:function(e,t){return Ls(e,t)||Ms(e)},isKeyword:function(e){return _s.has(e)}},"__esModule",{value:!0}),js=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return Ts.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return Ts.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return Ts.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return Rs.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return Rs.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return Rs.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return Rs.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return Rs.isKeyword}})})),qs=/[|\\{}()[\]^$+*?.]/g,$s=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(qs,"\\$&")},Vs={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Us=o((function(e){var t={};for(var n in Vs)Vs.hasOwnProperty(n)&&(t[Vs[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var u in r)if(r.hasOwnProperty(u)){if(!("channels"in r[u]))throw new Error("missing channels property: "+u);if(!("labels"in r[u]))throw new Error("missing channel labels property: "+u);if(r[u].labels.length!==r[u].channels)throw new Error("channel and label counts mismatch: "+u);var a=r[u].channels,i=r[u].labels;delete r[u].channels,delete r[u].labels,Object.defineProperty(r[u],"channels",{value:a}),Object.defineProperty(r[u],"labels",{value:i})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,u=e[1]/255,a=e[2]/255,i=Math.min(r,u,a),o=Math.max(r,u,a),s=o-i;return o===i?t=0:r===o?t=(u-a)/s:u===o?t=2+(a-r)/s:a===o&&(t=4+(r-u)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(i+o)/2,[t,100*(o===i?0:n<=.5?s/(o+i):s/(2-o-i)),100*n]},r.rgb.hsv=function(e){var t,n,r,u,a,i=e[0]/255,o=e[1]/255,s=e[2]/255,c=Math.max(i,o,s),l=c-Math.min(i,o,s),p=function(e){return(c-e)/6/l+.5};return 0===l?u=a=0:(a=l/c,t=p(i),n=p(o),r=p(s),i===c?u=r-n:o===c?u=1/3+t-r:s===c&&(u=2/3+n-t),u<0?u+=1:u>1&&(u-=1)),[360*u,100*a,100*c]},r.rgb.hwb=function(e){var t=e[0],n=e[1],u=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,u))*100,100*(u=1-1/255*Math.max(t,Math.max(n,u)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-u)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-u-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,u,a,i=1/0;for(var o in Vs)if(Vs.hasOwnProperty(o)){var s=(u=e,a=Vs[o],Math.pow(u[0]-a[0],2)+Math.pow(u[1]-a[1],2)+Math.pow(u[2]-a[2],2));s<i&&(i=s,r=o)}return r},r.keyword.rgb=function(e){return Vs[e]},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],u=t[1],a=t[2];return u/=100,a/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(u=u>.008856?Math.pow(u,1/3):7.787*u+16/116)-16,500*(n-u),200*(u-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},r.hsl.rgb=function(e){var t,n,r,u,a,i=e[0]/360,o=e[1]/100,s=e[2]/100;if(0===o)return[a=255*s,a,a];t=2*s-(n=s<.5?s*(1+o):s+o-s*o),u=[0,0,0];for(var c=0;c<3;c++)(r=i+1/3*-(c-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,u[c]=255*a;return u},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,u=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,u*=a<=1?a:2-a,[t,100*(0===r?2*u/(a+u):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,u=Math.floor(t)%6,a=t-Math.floor(t),i=255*r*(1-n),o=255*r*(1-n*a),s=255*r*(1-n*(1-a));switch(r*=255,u){case 0:return[r,s,i];case 1:return[o,r,i];case 2:return[i,r,s];case 3:return[i,o,r];case 4:return[s,i,r];case 5:return[r,i,o]}},r.hsv.hsl=function(e){var t,n,r,u=e[0],a=e[1]/100,i=e[2]/100,o=Math.max(i,.01);return r=(2-a)*i,n=a*o,[u,100*(n=(n/=(t=(2-a)*o)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,u,a,i,o,s=e[0]/360,c=e[1]/100,l=e[2]/100,p=c+l;switch(p>1&&(c/=p,l/=p),r=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(r=1-r),u=c+r*((n=1-l)-c),t){default:case 6:case 0:a=n,i=u,o=c;break;case 1:a=u,i=n,o=c;break;case 2:a=c,i=n,o=u;break;case 3:a=c,i=u,o=n;break;case 4:a=u,i=c,o=n;break;case 5:a=n,i=c,o=u}return[255*a,255*i,255*o]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,u=e[3]/100;return[255*(1-Math.min(1,t*(1-u)+u)),255*(1-Math.min(1,n*(1-u)+u)),255*(1-Math.min(1,r*(1-u)+u))]},r.xyz.rgb=function(e){var t,n,r,u=e[0]/100,a=e[1]/100,i=e[2]/100;return n=-.9689*u+1.8758*a+.0415*i,r=.0557*u+-.204*a+1.057*i,t=(t=3.2406*u+-1.5372*a+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,u=e[0];t=e[1]/500+(n=(u+16)/116),r=n-e[2]/200;var a=Math.pow(n,3),i=Math.pow(t,3),o=Math.pow(r,3);return n=a>.008856?a:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],u=e[2];return(t=360*Math.atan2(u,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+u*u),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],u=e[2],a=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var i=30+(Math.round(u/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===a&&(i+=60),i},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255,a=Math.max(Math.max(n,r),u),i=Math.min(Math.min(n,r),u),o=a-i;return t=o<=0?0:a===n?(r-u)/o%6:a===r?2+(u-n)/o:4+(n-r)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?i/(1-o):0)]},r.hsl.hcg=function(e){var t,n=e[1]/100,r=e[2]/100,u=0;return(t=r<.5?2*n*r:2*n*(1-r))<1&&(u=(r-.5*t)/(1-t)),[e[0],100*t,100*u]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var u,a=[0,0,0],i=t%1*6,o=i%1,s=1-o;switch(Math.floor(i)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return u=(1-n)*r,[255*(n*a[0]+u),255*(n*a[1]+u),255*(n*a[2]+u)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function Ws(e,t){return function(n){return t(e(n))}}function Gs(e,t){for(var n=[t[e].parent,e],r=Us[t[e].parent][e],u=t[e].parent;t[u].parent;)n.unshift(t[u].parent),r=Ws(Us[t[u].parent][u],r),u=t[u].parent;return r.conversion=n,r}var zs={};Object.keys(Us).forEach((function(e){zs[e]={},Object.defineProperty(zs[e],"channels",{value:Us[e].channels}),Object.defineProperty(zs[e],"labels",{value:Us[e].labels});var t=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(Us),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),u=Object.keys(Us[r]),a=u.length,i=0;i<a;i++){var o=u[i],s=t[o];-1===s.distance&&(s.distance=t[r].distance+1,s.parent=r,n.unshift(o))}return t}(e),n={},r=Object.keys(t),u=r.length,a=0;a<u;a++){var i=r[a];null!==t[i].parent&&(n[i]=Gs(i,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];zs[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==w(n))for(var r=n.length,u=0;u<r;u++)n[u]=Math.round(n[u]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),zs[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Hs,Xs=zs,Js=o((function(e){var t=function(e,t){return function(){var n=e.apply(Xs,arguments);return"[".concat(n+t,"m")}},n=function(e,t){return function(){var n=e.apply(Xs,arguments);return"[".concat(38+t,";5;").concat(n,"m")}},r=function(e,t){return function(){var n=e.apply(Xs,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")}};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){var e=new Map,u={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};u.color.grey=u.color.gray;for(var a=0,i=Object.keys(u);a<i.length;a++){for(var o=i[a],s=u[o],c=0,l=Object.keys(s);c<l.length;c++){var p=l[c],f=s[p];u[p]={open:"[".concat(f[0],"m"),close:"[".concat(f[1],"m")},s[p]=u[p],e.set(f[0],f[1])}Object.defineProperty(u,o,{value:s,enumerable:!1}),Object.defineProperty(u,"codes",{value:e,enumerable:!1})}var d=function(e){return e},h=function(e,t,n){return[e,t,n]};u.color.close="[39m",u.bgColor.close="[49m",u.color.ansi={ansi:t(d,0)},u.color.ansi256={ansi256:n(d,0)},u.color.ansi16m={rgb:r(h,0)},u.bgColor.ansi={ansi:t(d,10)},u.bgColor.ansi256={ansi256:n(d,10)},u.bgColor.ansi16m={rgb:r(h,10)};for(var D=0,m=Object.keys(Xs);D<m.length;D++){var g=m[D];if("object"==w(Xs[g])){var y=Xs[g];"ansi16"===g&&(g="ansi"),"ansi16"in y&&(u.color.ansi[g]=t(y.ansi16,0),u.bgColor.ansi[g]=t(y.ansi16,10)),"ansi256"in y&&(u.color.ansi256[g]=n(y.ansi256,0),u.bgColor.ansi256[g]=n(y.ansi256,10)),"rgb"in y&&(u.color.ansi16m[g]=r(y.rgb,0),u.bgColor.ansi16m[g]=r(y.rgb,10))}}return u}})})),Ys=dt.env;function Ks(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===Hs)return 0;if(Ju("color=16m")||Ju("color=full")||Ju("color=truecolor"))return 3;if(Ju("color=256"))return 2;if(e&&!e.isTTY&&!0!==Hs)return 0;var t=Hs?1:0;if("CI"in Ys)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in Ys}))||"codeship"===Ys.CI_NAME?1:t;if("TEAMCITY_VERSION"in Ys)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ys.TEAMCITY_VERSION)?1:0;if("truecolor"===Ys.COLORTERM)return 3;if("TERM_PROGRAM"in Ys){var n=parseInt((Ys.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ys.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ys.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ys.TERM)||"COLORTERM"in Ys?1:(Ys.TERM,t)}(e))}Ju("no-color")||Ju("no-colors")||Ju("color=false")?Hs=!1:(Ju("color")||Ju("colors")||Ju("color=true")||Ju("color=always"))&&(Hs=!0),"FORCE_COLOR"in Ys&&(Hs=0===Ys.FORCE_COLOR.length||0!==parseInt(Ys.FORCE_COLOR,10));var Qs={supportsColor:Ks,stdout:Ks(dt.stdout),stderr:Ks(dt.stderr)},Zs=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,ec=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,tc=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,nc=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,rc=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function uc(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):rc.get(e)||e}function ac(e,t){var n,r,u=[],a=g(t.trim().split(/\s*,\s*/g));try{for(a.s();!(r=a.n()).done;){var i=r.value;if(isNaN(i)){if(!(n=i.match(tc)))throw new Error("Invalid Chalk template style argument: ".concat(i," (in style '").concat(e,"')"));u.push(n[2].replace(nc,(function(e,t,n){return t?uc(t):n})))}else u.push(Number(i))}}catch(e){a.e(e)}finally{a.f()}return u}function ic(e){ec.lastIndex=0;for(var t,n=[];null!==(t=ec.exec(e));){var r=t[1];if(t[2]){var u=ac(r,t[2]);n.push([r].concat(u))}else n.push([r])}return n}function oc(e,t){var n,r={},u=g(t);try{for(u.s();!(n=u.n()).done;){var a,i=n.value,o=g(i.styles);try{for(o.s();!(a=o.n()).done;){var s=a.value;r[s[0]]=i.inverse?null:s.slice(1)}}catch(e){o.e(e)}finally{o.f()}}}catch(e){u.e(e)}finally{u.f()}for(var c=e,l=0,p=Object.keys(r);l<p.length;l++){var f=p[l];if(Array.isArray(r[f])){if(!(f in c))throw new Error("Unknown Chalk style: ".concat(f));c=r[f].length>0?c[f].apply(c,r[f]):c[f]}}return c}var sc=function(e,t){var n=[],r=[],u=[];if(t.replace(Zs,(function(t,a,i,o,s,c){if(a)u.push(uc(a));else if(o){var l=u.join("");u=[],r.push(0===n.length?l:oc(e,n)(l)),n.push({inverse:i,styles:ic(o)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(oc(e,n)(u.join(""))),u=[],n.pop()}else u.push(c)})),r.push(u.join("")),n.length>0){var a="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(a)}return r.join("")},cc=o((function(e){var t=Qs.stdout,n=["ansi","ansi","ansi256","ansi16m"],r=new Set(["gray"]),u=Object.create(null);function a(e,n){n=n||{};var r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function i(e){if(!this||!(this instanceof i)||this.template){var t={};return a(t,e),t.template=function(){var e=[].slice.call(arguments);return E.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,i.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=i,t.template}a(this,e)}for(var o=function(){var e=c[s];Js[e].closeRe=new RegExp($s(Js[e].close),"g"),u[e]={get:function(){var t=Js[e];return y.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},s=0,c=Object.keys(Js);s<c.length;s++)o();u.visible={get:function(){return y.call(this,this._styles||[],!0,"visible")}},Js.color.closeRe=new RegExp($s(Js.color.close),"g");for(var l=function(){var e=f[p];r.has(e)||(u[e]={get:function(){var t=this.level;return function(){var r={open:Js.color[n[t]][e].apply(null,arguments),close:Js.color.close,closeRe:Js.color.closeRe};return y.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}})},p=0,f=Object.keys(Js.color.ansi);p<f.length;p++)l();Js.bgColor.closeRe=new RegExp($s(Js.bgColor.close),"g");for(var d=function(){var e=D[h];if(r.has(e))return"continue";u["bg"+e[0].toUpperCase()+e.slice(1)]={get:function(){var t=this.level;return function(){var r={open:Js.bgColor[n[t]][e].apply(null,arguments),close:Js.bgColor.close,closeRe:Js.bgColor.closeRe};return y.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}}},h=0,D=Object.keys(Js.bgColor.ansi);h<D.length;h++)d();var m=Object.defineProperties((function(){}),u);function y(e,t,n){var r=function e(){return v.apply(e,arguments)};r._styles=e,r._empty=t;var u=this;return Object.defineProperty(r,"level",{enumerable:!0,get:function(){return u.level},set:function(e){u.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:function(){return u.enabled},set:function(e){u.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=m,r}function v(){var e=arguments,t=e.length,n=String(arguments[0]);if(0===t)return"";if(t>1)for(var r=1;r<t;r++)n+=" "+e[r];if(!this.enabled||this.level<=0||!n)return this._empty?"":n;var u,a=Js.dim.open,i=g(this._styles.slice().reverse());try{for(i.s();!(u=i.n()).done;){var o=u.value;n=(n=o.open+n.replace(o.closeRe,o.open)+o.close).replace(/\r?\n/g,"".concat(o.close,"$&").concat(o.open))}}catch(e){i.e(e)}finally{i.f()}return Js.dim.open=a,n}function E(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");for(var n=[].slice.call(arguments,2),r=[t.raw[0]],u=1;u<t.length;u++)r.push(String(n[u-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[u]));return sc(e,r.join(""))}Object.defineProperties(i.prototype,u),e.exports=i(),e.exports.supportsColor=t,e.exports.default=e.exports})),lc=bc,pc=Ac,fc=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=w(e)&&"function"!=typeof e)return{default:e};var t=hc();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var a=r?Object.getOwnPropertyDescriptor(e,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}(ms),dc=function(e){return e&&e.__esModule?e:{default:e}}(cc);function hc(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return hc=function(){return e},e}var Dc,mc=new Set(["as","async","from","get","of","set"]),gc=/\r\n|[\n\r\u2028\u2029]/,yc=/^[()[\]{}]$/,vc=fc.matchToToken,Ec=/^[a-z][\w-]*$/i,Cc=function(e,t,n){if("name"===e.type){if((0,js.isKeyword)(e.value)||(0,js.isStrictReservedWord)(e.value,!0)||mc.has(e.value))return"keyword";if(Ec.test(e.value)&&("<"===n[t-1]||"</"==n.substr(t-2,2)))return"jsxIdentifier";if(e.value[0]!==e.value[0].toLowerCase())return"capitalized"}return"punctuator"===e.type&&yc.test(e.value)?"bracket":"invalid"!==e.type||"@"!==e.value&&"#"!==e.value?e.type:"punctuator"};function bc(e){return!!dc.default.supportsColor||e.forceColor}function Ac(e){return e.forceColor?new dc.default.constructor({enabled:!0,level:1}):dc.default}Dc=regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=fc.default.exec(t))){e.next=6;break}return r=vc(n),e.next=4,{type:Cc(r,n.index,t),value:r.value};case 4:e.next=0;break;case 6:case"end":return e.stop()}}),e)}));var Fc=kc,Sc=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=w(e)&&"function"!=typeof e)return{default:e};var t=wc();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var a=r?Object.getOwnPropertyDescriptor(e,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}(Object.defineProperty({shouldHighlight:lc,getChalk:pc,default:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return bc(t)?function(e,t){var n,r="",u=g(Dc(t));try{var a=function(){var t=n.value,u=t.type,a=t.value,i=e[u];r+=i?a.split(gc).map((function(e){return i(e)})).join("\n"):a};for(u.s();!(n=u.n()).done;)a()}catch(e){u.e(e)}finally{u.f()}return r}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(Ac(t)),e):e}},"__esModule",{value:!0}));function wc(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return wc=function(){return e},e}var xc=!1,Tc=/\r\n|[\n\r\u2028\u2029]/;function kc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(n.highlightCode||n.forceColor)&&(0,Sc.shouldHighlight)(n),u=(0,Sc.getChalk)(n),a=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(u),i=function(e,t){return r?e(t):t},o=function(e,t,n){var r=Object.assign({column:0,line:-1},e.start),u=Object.assign({},r,e.end),a=n||{},i=a.linesAbove,o=void 0===i?2:i,s=a.linesBelow,c=void 0===s?3:s,l=r.line,p=r.column,f=u.line,d=u.column,h=Math.max(l-(o+1),0),D=Math.min(t.length,f+c);-1===l&&(h=0),-1===f&&(D=t.length);var m=f-l,g={};if(m)for(var y=0;y<=m;y++){var v=y+l;if(p)if(0===y){var E=t[v-1].length;g[v]=[p,E-p+1]}else if(y===m)g[v]=[0,d];else{var C=t[v-y].length;g[v]=[0,C]}else g[v]=!0}else g[l]=p===d?!p||[p,0]:[p,d-p];return{start:h,end:D,markerLines:g}}(t,e.split(Tc),n),s=o.start,c=o.end,l=o.markerLines,p=t.start&&"number"==typeof t.start.column,f=String(c).length,d=(r?(0,Sc.default)(e,n):e).split(Tc).slice(s,c).map((function(e,t){var r=s+1+t,u=" ".concat(r).slice(-f),o=" ".concat(u," |"),c=l[r],p=!l[r+1];if(c){var d="";if(Array.isArray(c)){var h=e.slice(0,Math.max(c[0]-1,0)).replace(/[^\t]/g," "),D=c[1]||1;d=["\n ",i(a.gutter,o.replace(/\d/g," "))," ",h,i(a.marker,"^").repeat(D)].join(""),p&&n.message&&(d+=" "+i(a.message,n.message))}return[i(a.marker,">"),i(a.gutter,o),e.length>0?" ".concat(e):"",d].join("")}return" ".concat(i(a.gutter,o)).concat(e.length>0?" ".concat(e):"")})).join("\n");return n.message&&!p&&(d="".concat(" ".repeat(f+1)).concat(n.message,"\n").concat(d)),r?u.reset(d):d}var Bc=Object.defineProperty({codeFrameColumns:Fc,default:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!xc){xc=!0;var u="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";new Error(u).name="DeprecationWarning",console.warn(new Error(u))}return kc(e,{start:{column:n=Math.max(n,0),line:t}},r)}},"__esModule",{value:!0}),Nc=u(sr),_c=du.ConfigError,Pc=fs,Oc=ds,Ic=Object.getOwnPropertyNames,Lc=Object.getOwnPropertyDescriptor;function Mc(e){var t,n={},r=g(e.plugins);try{for(r.s();!(t=r.n()).done;){var u=t.value;if(u.parsers){var a,i=g(Ic(u.parsers));try{for(i.s();!(a=i.n()).done;){var o=a.value;Object.defineProperty(n,o,Lc(u.parsers,o))}}catch(e){i.e(e)}finally{i.f()}}}}catch(e){r.e(e)}finally{r.f()}return n}function Rc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Mc(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Pc,locEnd:Oc};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new _c("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var jc={parse:function(e,t){var n=Mc(t),r=Object.keys(n).reduce((function(e,t){return Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t].parse}})}),{}),u=Rc(t,n);try{return u.preprocess&&(e=u.preprocess(e,t)),{text:e,ast:u.parse(e,r,t)}}catch(t){var a=t.loc;if(a){var i=Bc.codeFrameColumns;throw t.codeFrame=i(e,a,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:Rc},qc=du.UndefinedParserError,$c=Vt,Vc=jc.resolveParser,Uc={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Wc(e,t){var n=Nc.basename(e).toLowerCase(),r=$c({plugins:t}).languages.filter((function(e){return null!==e.since})),u=r.find((function(e){return e.extensions&&e.extensions.some((function(e){return n.endsWith(e)}))||e.filenames&&e.filenames.some((function(e){return e.toLowerCase()===n}))}));if(!u&&!n.includes(".")){var a=function(e){if("string"!=typeof e)return"";var t;try{t=ou.openSync(e,"r")}catch(e){return""}try{var n=new su(t).next().toString("utf8"),r=n.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(r)return r[1];var u=n.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return u?u[1]:""}catch(e){return""}finally{try{ou.closeSync(t)}catch(e){}}}(e);u=r.find((function(e){return e.interpreters&&e.interpreters.includes(a)}))}return u&&u.parsers[0]}var Gc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},e),r=$c({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,u=Object.assign({},Uc,Le(r.filter((function(e){return void 0!==e.default})).map((function(e){return[e.name,e.default]}))));if(!n.parser)if(n.filepath){if(n.parser=Wc(n.filepath,n.plugins),!n.parser)throw new qc("No parser could be inferred for file: ".concat(n.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";var a=Vc(os(n,[r.find((function(e){return"parser"===e.name}))],{passThrough:!0,logger:!1}));n.astFormat=a.astFormat,n.locEnd=a.locEnd,n.locStart=a.locStart;var i=function(e){var t=e.astFormat;if(!t)throw new Error("getPlugin() requires astFormat to be set");var n=e.plugins.find((function(e){return e.printers&&e.printers[t]}));if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}(n);n.printer=i.printers[n.astFormat];for(var o=Le(r.filter((function(e){return e.pluginDefaults&&void 0!==e.pluginDefaults[i.name]})).map((function(e){return[e.name,e.pluginDefaults[i.name]]}))),s=Object.assign({},u,o),c=0,l=Object.entries(s);c<l.length;c++){var p=C(l[c],2),f=p[0],d=p[1];null!==n[f]&&void 0!==n[f]||(n[f]=d)}return"json"===n.parser&&(n.trailingComma="none"),os(n,r,Object.assign({passThrough:Object.keys(Uc)},t))},zc=function e(t,n,r){if(Array.isArray(t))return t.map((function(t){return e(t,n,r)})).filter(Boolean);if(!t||"object"!=w(t))return t;var u,a=n.printer.massageAstNode;u=a&&a.ignoredProperties?a.ignoredProperties:new Set;for(var i={},o=0,s=Object.entries(t);o<s.length;o++){var c=C(s[o],2),l=c[0],p=c[1];u.has(l)||"function"==typeof p||(i[l]=e(p,n,t))}if(a){var f=a(t,i,r);if(null===f)return;if(f)return f}return i},Hc="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e};function Xc(e,t){var n={seen:[],stylize:Yc};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),el(t)?n.showHidden=t:t&&pl(n,t),rl(n.showHidden)&&(n.showHidden=!1),rl(n.depth)&&(n.depth=2),rl(n.colors)&&(n.colors=!1),rl(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Jc),Kc(n,e,n.depth)}function Jc(e,t){var n=Xc.styles[t];return n?"["+Xc.colors[n][0]+"m"+e+"["+Xc.colors[n][1]+"m":e}function Yc(e,t){return e}function Kc(e,t,n){if(e.customInspect&&t&&sl(t.inspect)&&t.inspect!==Xc&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return nl(r)||(r=Kc(e,r,n)),r}var u=function(e,t){if(rl(t))return e.stylize("undefined","undefined");if(nl(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return"number"==typeof t?e.stylize(""+t,"number"):el(t)?e.stylize(""+t,"boolean"):tl(t)?e.stylize("null","null"):void 0}(e,t);if(u)return u;var a=Object.keys(t),i=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),ol(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return Qc(t);if(0===a.length){if(sl(t)){var o=t.name?": "+t.name:"";return e.stylize("[Function"+o+"]","special")}if(ul(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(il(t))return e.stylize(Date.prototype.toString.call(t),"date");if(ol(t))return Qc(t)}var s,c,l="",p=!1,f=["{","}"];return s=t,Array.isArray(s)&&(p=!0,f=["[","]"]),sl(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),ul(t)&&(l=" "+RegExp.prototype.toString.call(t)),il(t)&&(l=" "+Date.prototype.toUTCString.call(t)),ol(t)&&(l=" "+Qc(t)),0!==a.length||p&&0!=t.length?n<0?ul(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=p?function(e,t,n,r,u){for(var a=[],i=0,o=t.length;i<o;++i)fl(t,String(i))?a.push(Zc(e,t,n,r,String(i),!0)):a.push("");return u.forEach((function(u){u.match(/^\d+$/)||a.push(Zc(e,t,n,r,u,!0))})),a}(e,t,n,i,a):a.map((function(r){return Zc(e,t,n,i,r,p)})),e.seen.pop(),function(e,t,n){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(c,l,f)):f[0]+l+f[1]}function Qc(e){return"["+Error.prototype.toString.call(e)+"]"}function Zc(e,t,n,r,u,a){var i,o,s;if((s=Object.getOwnPropertyDescriptor(t,u)||{value:t[u]}).get?o=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(o=e.stylize("[Setter]","special")),fl(r,u)||(i="["+u+"]"),o||(e.seen.indexOf(s.value)<0?(o=tl(n)?Kc(e,s.value,null):Kc(e,s.value,n-1)).indexOf("\n")>-1&&(o=a?o.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+o.split("\n").map((function(e){return" "+e})).join("\n")):o=e.stylize("[Circular]","special")),rl(i)){if(a&&u.match(/^\d+$/))return o;(i=JSON.stringify(""+u)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+o}function el(e){return"boolean"==typeof e}function tl(e){return null===e}function nl(e){return"string"==typeof e}function rl(e){return void 0===e}function ul(e){return al(e)&&"[object RegExp]"===ll(e)}function al(e){return"object"==w(e)&&null!==e}function il(e){return al(e)&&"[object Date]"===ll(e)}function ol(e){return al(e)&&("[object Error]"===ll(e)||e instanceof Error)}function sl(e){return"function"==typeof e}function cl(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==w(e)||void 0===e}function ll(e){return Object.prototype.toString.call(e)}function pl(e,t){if(!t||!al(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function fl(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function dl(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,u=0,a=Math.min(n,r);u<a;++u)if(e[u]!==t[u]){n=e[u],r=t[u];break}return n<r?-1:r<n?1:0}Xc.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Xc.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var hl,Dl=Object.prototype.hasOwnProperty,ml=Object.keys||function(e){var t=[];for(var n in e)Dl.call(e,n)&&t.push(n);return t},gl=Array.prototype.slice;function yl(){return void 0!==hl?hl:hl="foo"===function(){}.name}function vl(e){return Object.prototype.toString.call(e)}function El(e){return!au(e)&&"function"==typeof Me.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)))}function Cl(e,t){e||xl(e,!0,t,"==",Tl)}var bl=/\s*function\s+([^\(\s]*)\s*/;function Al(e){if(sl(e)){if(yl())return e.name;var t=e.toString().match(bl);return t&&t[1]}}function Fl(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return Sl(wl(e.actual),128)+" "+e.operator+" "+Sl(wl(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||xl;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,u=Al(t),a=r.indexOf("\n"+u);if(a>=0){var i=r.indexOf("\n",a+1);r=r.substring(i+1)}this.stack=r}}}function Sl(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function wl(e){if(yl()||!sl(e))return Xc(e);var t=Al(e);return"[Function"+(t?": "+t:"")+"]"}function xl(e,t,n,r,u){throw new Fl({message:n,actual:e,expected:t,operator:r,stackStartFunction:u})}function Tl(e,t){e||xl(e,!0,t,"==",Tl)}function kl(e,t,n){e!=t&&xl(e,t,n,"==",kl)}function Bl(e,t,n){e==t&&xl(e,t,n,"!=",Bl)}function Nl(e,t,n){Pl(e,t,!1)||xl(e,t,n,"deepEqual",Nl)}function _l(e,t,n){Pl(e,t,!0)||xl(e,t,n,"deepStrictEqual",_l)}function Pl(e,t,n,r){if(e===t)return!0;if(au(e)&&au(t))return 0===dl(e,t);if(il(e)&&il(t))return e.getTime()===t.getTime();if(ul(e)&&ul(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==w(e)||null!==t&&"object"==w(t)){if(El(e)&&El(t)&&vl(e)===vl(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===dl(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(au(e)!==au(t))return!1;var u=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==u&&u===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(e,t,n,r){if(null==e||null==t)return!1;if(cl(e)||cl(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var u=Ol(e),a=Ol(t);if(u&&!a||!u&&a)return!1;if(u)return Pl(e=gl.call(e),t=gl.call(t),n);var i,o,s=ml(e),c=ml(t);if(s.length!==c.length)return!1;for(s.sort(),c.sort(),o=s.length-1;o>=0;o--)if(s[o]!==c[o])return!1;for(o=s.length-1;o>=0;o--)if(!Pl(e[i=s[o]],t[i],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function Ol(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function Il(e,t,n){Pl(e,t,!1)&&xl(e,t,n,"notDeepEqual",Il)}function Ll(e,t,n){Pl(e,t,!0)&&xl(e,t,n,"notDeepStrictEqual",Ll)}function Ml(e,t,n){e!==t&&xl(e,t,n,"===",Ml)}function Rl(e,t,n){e===t&&xl(e,t,n,"!==",Rl)}function jl(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function ql(e,t,n,r){var u;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),u=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!u&&xl(u,n,"Missing expected exception"+r);var a="string"==typeof r,i=!e&&u&&!n;if((!e&&ol(u)&&a&&jl(u,n)||i)&&xl(u,n,"Got unwanted exception"+r),e&&u&&n&&!jl(u,n)||!e&&u)throw u}function $l(e,t,n){ql(!0,e,t,n)}function Vl(e,t,n){ql(!1,e,t,n)}function Ul(e){if(e)throw e}Cl.AssertionError=Fl,Hc(Fl,Error),Cl.fail=xl,Cl.ok=Tl,Cl.equal=kl,Cl.notEqual=Bl,Cl.deepEqual=Nl,Cl.deepStrictEqual=_l,Cl.notDeepEqual=Il,Cl.notDeepStrictEqual=Ll,Cl.strictEqual=Ml,Cl.notStrictEqual=Rl,Cl.throws=$l,Cl.doesNotThrow=Vl,Cl.ifError=Ul;var Wl=u(Object.freeze({__proto__:null,default:Cl,AssertionError:Fl,fail:xl,ok:Tl,assert:Tl,equal:kl,notEqual:Bl,deepEqual:Nl,deepStrictEqual:_l,notDeepEqual:Il,notDeepStrictEqual:Ll,strictEqual:Ml,notStrictEqual:Rl,throws:$l,doesNotThrow:Vl,ifError:Ul})),Gl=zn.builders,zl=Gl.line,Hl=Gl.hardline,Xl=Gl.breakParent,Jl=Gl.indent,Yl=Gl.lineSuffix,Kl=Gl.join,Ql=Gl.cursor,Zl=sn.hasNewline,ep=sn.skipNewline,tp=sn.skipSpaces,np=sn.isPreviousLineEmpty,rp=sn.addLeadingComment,up=sn.addDanglingComment,ap=sn.addTrailingComment,ip=new WeakMap;function op(e,t,n){if(e){var r=t.printer,u=t.locStart,a=t.locEnd;if(n){if(r.canAttachComment&&r.canAttachComment(e)){var i;for(i=n.length-1;i>=0&&!(u(n[i])<=u(e)&&a(n[i])<=a(e));--i);return void n.splice(i+1,0,e)}}else if(ip.has(e))return ip.get(e);var o=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==w(e)&&Object.entries(e).filter((function(e){var t=C(e,1)[0];return"enclosingNode"!==t&&"precedingNode"!==t&&"followingNode"!==t&&"tokens"!==t&&"comments"!==t})).map((function(e){return C(e,2)[1]}));if(o){n||(n=[],ip.set(e,n));var s,c=g(o);try{for(c.s();!(s=c.n()).done;)op(s.value,t,n)}catch(e){c.e(e)}finally{c.f()}return n}}}function sp(e,t,n,r){for(var u,a,i=n.locStart,o=n.locEnd,s=i(t),c=o(t),l=op(e,n),p=0,f=l.length;p<f;){var d=p+f>>1,h=l[d],D=i(h),m=o(h);if(D<=s&&c<=m)return sp(h,t,n,h);if(m<=s)u=h,p=d+1;else{if(!(c<=D))throw new Error("Comment location overlaps with node location");a=h,f=d}}if(r&&"TemplateLiteral"===r.type){var g=r.quasis,y=Dp(g,t,n);u&&Dp(g,u,n)!==y&&(u=null),a&&Dp(g,a,n)!==y&&(a=null)}return{enclosingNode:r,precedingNode:u,followingNode:a}}var cp=function(){return!1},lp=function(e){return!/[\S\n\u2028\u2029]/.test(e)};function pp(e,t,n,r){var u=n[r],a=u.comment,i=u.precedingNode,o=t.locStart,s=t.locEnd,c=o(a);if(i)for(var l=r-1;l>=0;l--){var p=n[l],f=p.comment;if(p.precedingNode!==i||!lp(e.slice(s(f),c)))break;c=o(f)}return Zl(e,c,{backwards:!0})}function fp(e,t,n,r){var u=n[r],a=u.comment,i=u.followingNode,o=t.locStart,s=t.locEnd,c=s(a);if(i)for(var l=r+1;l<n.length;l++){var p=n[l],f=p.comment;if(p.followingNode!==i||!lp(e.slice(c,o(f))))break;c=s(f)}return Zl(e,c)}function dp(e,t,n){var r=e.length;if(0!==r){var u,a=e[0],i=a.precedingNode,o=a.followingNode,s=a.enclosingNode,c=n.printer.getGapRegex&&n.printer.getGapRegex(s)||/^[\s(]*$/,l=n.locStart(o);for(u=r;u>0;--u){var p=e[u-1],f=p.comment,d=p.precedingNode,h=p.followingNode;Wl.strictEqual(d,i),Wl.strictEqual(h,o);var D=t.slice(n.locEnd(f),l);if(!c.test(D))break;l=n.locStart(f)}var m,y=g(e.entries());try{for(y.s();!(m=y.n()).done;){var v=C(m.value,2),E=v[0],b=v[1].comment;E<u?ap(i,b):rp(o,b)}}catch(e){y.e(e)}finally{y.f()}for(var A=0,F=[i,o];A<F.length;A++){var S=F[A];S.comments&&S.comments.length>1&&S.comments.sort((function(e,t){return n.locStart(e)-n.locStart(t)}))}e.length=0}}function hp(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function Dp(e,t,n){for(var r=n.locStart(t)-1,u=1;u<e.length;++u)if(r<n.locStart(e[u]))return u-1;return 0}function mp(e,t,n){var r=e.getValue();if(!r)return{};var u=r.comments||[];n&&(u=u.filter((function(e){return!n.has(e)})));var a=r===t.cursorNode;if(0===u.length){var i=a?Ql:"";return{leading:i,trailing:i}}var o=[],s=[];return e.each((function(){var r=e.getValue();if(!n||!n.has(r)){var u=r.leading,a=r.trailing;u?o.push(function(e,t){var n=e.getValue(),r=[hp(e,t)],u=t.printer,a=t.originalText,i=t.locStart,o=t.locEnd;if(u.isBlockComment&&u.isBlockComment(n)){var s=Zl(a,o(n))?Zl(a,i(n),{backwards:!0})?Hl:zl:" ";r.push(s)}else r.push(Hl);var c=ep(a,tp(a,o(n)));return!1!==c&&Zl(a,c)&&r.push(Hl),r}(e,t)):a&&s.push(function(e,t){var n=e.getValue(),r=hp(e,t),u=t.printer,a=t.originalText,i=t.locStart,o=u.isBlockComment&&u.isBlockComment(n);if(Zl(a,i(n),{backwards:!0})){var s=np(a,n,i);return Yl([Hl,s?Hl:"",r])}var c=[" ",r];return o||(c=[Yl(c),Xl]),c}(e,t))}}),"comments"),a&&(o.unshift(Ql),s.push(Ql)),{leading:o,trailing:s}}var gp={attach:function(e,t,n,r){if(Array.isArray(e)){var u,a=[],i=r.locStart,o=r.locEnd,s=r.printer.handleComments,c=void 0===s?{}:s,l=c.avoidAstMutation,p=c.ownLine,f=void 0===p?cp:p,d=c.endOfLine,h=void 0===d?cp:d,D=c.remaining,m=void 0===D?cp:D,y=e.map((function(u,a){return Object.assign({},sp(t,u,r),{comment:u,text:n,options:r,ast:t,isLastComment:e.length-1===a})})),E=g(y.entries());try{for(E.s();!(u=E.n()).done;){var b=C(u.value,2),A=b[0],F=b[1],S=F.comment,w=F.precedingNode,x=F.enclosingNode,T=F.followingNode,k=F.text,B=F.options,N=F.ast,_=F.isLastComment;if("json"===B.parser||"json5"===B.parser||"__js_expression"===B.parser||"__vue_expression"===B.parser){if(i(S)-i(N)<=0){rp(N,S);continue}if(o(S)-o(N)>=0){ap(N,S);continue}}var P=void 0;if(l?P=[F]:(S.enclosingNode=x,S.precedingNode=w,S.followingNode=T,P=[S,k,B,N,_]),pp(k,B,y,A))S.placement="ownLine",f.apply(void 0,v(P))||(T?rp(T,S):w?ap(w,S):up(x||N,S));else if(fp(k,B,y,A))S.placement="endOfLine",h.apply(void 0,v(P))||(w?ap(w,S):T?rp(T,S):up(x||N,S));else if(S.placement="remaining",m.apply(void 0,v(P)));else if(w&&T){var O=a.length;O>0&&a[O-1].followingNode!==T&&dp(a,k,B),a.push(F)}else w?ap(w,S):T?rp(T,S):up(x||N,S)}}catch(e){E.e(e)}finally{E.f()}if(dp(a,n,r),!l){var I,L=g(e);try{for(L.s();!(I=L.n()).done;){var M=I.value;delete M.precedingNode,delete M.enclosingNode,delete M.followingNode}}catch(e){L.e(e)}finally{L.f()}}}},printComments:function(e,t,n,r){var u=mp(e,n,r),a=u.leading,i=u.trailing;return a||i?[a,t,i]:t},printCommentsSeparately:mp,printDanglingComments:function(e,t,n,r){var u=[],a=e.getValue();return a&&a.comments?(e.each((function(){var n=e.getValue();n.leading||n.trailing||r&&!r(n)||u.push(hp(e,t))}),"comments"),0===u.length?"":n?Kl(Hl,u):Jl([Hl,Kl(Hl,u)])):""},getSortedChildNodes:op,ensureAllCommentsPrinted:function(e){if(e){var t,n=g(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(!r.printed)throw new Error('Comment "'+r.value.trim()+'" was not printed. Please report this error!');delete r.printed}}catch(e){n.e(e)}finally{n.f()}}}};function yp(e,t){var n=vp(e.stack,t);return-1===n?null:e.stack[n]}function vp(e,t){for(var n=e.length-1;n>=0;n-=2){var r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var Ep=function(){function e(t){x(this,e),this.stack=[t]}return k(e,[{key:"getName",value:function(){var e=this.stack,t=e.length;return t>1?e[t-2]:null}},{key:"getValue",value:function(){return Ie(this.stack)}},{key:"getNode",value:function(){return yp(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}},{key:"getParentNode",value:function(){return yp(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}},{key:"call",value:function(e){for(var t=this.stack,n=t.length,r=Ie(t),u=arguments.length,a=new Array(u>1?u-1:0),i=1;i<u;i++)a[i-1]=arguments[i];for(var o=0,s=a;o<s.length;o++){var c=s[o];r=r[c],t.push(c,r)}var l=e(this);return t.length=n,l}},{key:"callParent",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=vp(this.stack,n+1),u=this.stack.splice(r+1),a=e(this);return(t=this.stack).push.apply(t,v(u)),a}},{key:"each",value:function(e){for(var t=this.stack,n=t.length,r=Ie(t),u=arguments.length,a=new Array(u>1?u-1:0),i=1;i<u;i++)a[i-1]=arguments[i];for(var o=0,s=a;o<s.length;o++){var c=s[o];r=r[c],t.push(c,r)}for(var l=0;l<r.length;++l)t.push(l,r[l]),e(this,l,r),t.length-=2;t.length=n}},{key:"map",value:function(e){for(var t=[],n=arguments.length,r=new Array(n>1?n-1:0),u=1;u<n;u++)r[u-1]=arguments[u];return this.each.apply(this,[function(n,r,u){t[r]=e(n,r,u)}].concat(r)),t}},{key:"try",value:function(e){var t=this.stack,n=v(t);try{return e()}finally{t.length=0,t.push.apply(t,n)}}},{key:"match",value:function(){for(var e=this.stack.length-1,t=null,n=this.stack[e--],r=arguments.length,u=new Array(r),a=0;a<r;a++)u[a]=arguments[a];for(var i=0,o=u;i<o.length;i++){var s=o[i];if(void 0===n)return!1;var c=null;if("number"==typeof t&&(c=t,t=this.stack[e--],n=this.stack[e--]),s&&!s(n,t,c))return!1;t=this.stack[e--],n=this.stack[e--]}return!0}},{key:"findAncestor",value:function(e){for(var t=this.stack.length-1,n=null,r=this.stack[t--];r;){var u=null;if("number"==typeof n&&(u=n,n=this.stack[t--],r=this.stack[t--]),null!==n&&e(r,n,u))return r;n=this.stack[t--],r=this.stack[t--]}}}]),e}(),Cp=zn.utils.stripTrailingHardline,bp=Gc,Ap=function(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,(function(e,t,u){return function(e,t,n,r){var u=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:{}).stripTrailingHardline,a=void 0!==u&&u,i=bp(Object.assign({},n,t,{parentParser:n.parser,originalText:e}),{passThrough:!0}),o=jc.parse(e,i),s=o.ast;e=o.text;var c=s.comments;delete s.comments,gp.attach(c,s,e,i),i[Symbol.for("comments")]=c||[],i[Symbol.for("tokens")]=s.tokens||[];var l=r(s,i);return gp.ensureAllCommentsPrinted(c),a?"string"==typeof l?l.replace(/(?:\r?\n)*$/,""):Cp(l):l}(e,t,n,r,u)}),n)},Fp=zn.builders,Sp=Fp.hardline,wp=Fp.addAlignmentToDoc,xp=zn.utils.propagateBreaks,Tp=gp.printComments;var kp=function e(t,n){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=n.printer;a.preprocess&&(t=a.preprocess(t,n));var i=new Map,o=new Ep(t),s=c();return u>0&&(s=wp([Sp,s],u,n.tabWidth)),xp(s),s;function c(e,t){return void 0===e||e===o?l(t):Array.isArray(e)?o.call.apply(o,[function(){return l(t)}].concat(v(e))):o.call((function(){return l(t)}),e)}function l(t){var u=o.getValue(),a=u&&"object"==w(u)&&void 0===t;if(a&&i.has(u))return i.get(u);var s=function(t,n,u,a){var i,o,s=t.getValue(),c=n.printer;if(c.hasPrettierIgnore&&c.hasPrettierIgnore(t)){var l=function(e,t){var n,r=t.originalText,u=t[Symbol.for("comments")],a=t.locStart,i=t.locEnd,o=a(e),s=i(e),c=new Set,l=g(u);try{for(l.s();!(n=l.n()).done;){var p=n.value;a(p)>=o&&i(p)<=s&&(p.printed=!0,c.add(p))}}catch(e){l.e(e)}finally{l.f()}return{doc:r.slice(o,s),printedComments:c}}(s,n);i=l.doc,o=l.printedComments}else{if(s)try{i=Ap(t,u,n,e)}catch(t){if(r.PRETTIER_DEBUG)throw t}i||(i=c.print(t,n,u,a))}return c.willPrintOwnComments&&c.willPrintOwnComments(t,n)||(i=Tp(t,i,n,o)),i}(o,n,c,t);return a&&i.set(u,s),s}};function Bp(e){for(var t=e.length-1;;){var n=e[t];if(!n||"Program"!==n.type&&"File"!==n.type)break;t--}return e.slice(0,t+1)}function Np(e,t,n,r){var u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0,i=n.locStart,o=n.locEnd,s=i(e),c=o(e);if(!(t>c||t<s||"rangeEnd"===a&&t===s||"rangeStart"===a&&t===c)){var l,p=g(gp.getSortedChildNodes(e,n));try{for(p.s();!(l=p.n()).done;){var f=Np(l.value,t,n,r,[e].concat(v(u)),a);if(f)return f}}catch(e){p.e(e)}finally{p.f()}return!r||r(e,u[0])?{node:e,parentNodes:u}:void 0}}var _p=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),Pp=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function Op(e,t,n){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"espree":case"meriyah":return function(e,t){return"DeclareExportDeclaration"!==t&&"TypeParameterDeclaration"!==e&&("Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"))}(t.type,n&&n.type);case"json":case"json5":case"json-stringify":return _p.has(t.type);case"graphql":return Pp.has(t.kind);case"vue":return"root"!==t.tag}return!1}var Ip={calculateRange:function(e,t,n){var r=t.rangeStart,u=t.rangeEnd,a=t.locStart,i=t.locEnd;Wl.ok(u>r);var o=e.slice(r,u).search(/\S/),s=-1===o;if(!s)for(r+=o;u>r&&!/\S/.test(e[u-1]);--u);var c,l,p=Np(n,r,t,(function(e,n){return Op(t,e,n)}),[],"rangeStart"),f=s?p:Np(n,u,t,(function(e){return Op(t,e)}),[],"rangeEnd");if(!p||!f)return{rangeStart:0,rangeEnd:0};if(function(e){var t=e.parser;return"json"===t||"json5"===t||"json-stringify"===t}(t)){var d=function(e,t){var n=[e.node].concat(v(e.parentNodes)),r=new Set([t.node].concat(v(t.parentNodes)));return n.find((function(e){return _p.has(e.type)&&r.has(e)}))}(p,f);c=d,l=d}else{var h=function(e,t,n){var r=n.locStart,u=n.locEnd,a=e.node,i=t.node;if(a===i)return{startNode:a,endNode:i};var o,s=r(e.node),c=g(Bp(t.parentNodes));try{for(c.s();!(o=c.n()).done;){var l=o.value;if(!(r(l)>=s))break;i=l}}catch(e){c.e(e)}finally{c.f()}var p,f=u(t.node),d=g(Bp(e.parentNodes));try{for(d.s();!(p=d.n()).done;){var h=p.value;if(!(u(h)<=f))break;a=h}}catch(e){d.e(e)}finally{d.f()}return{startNode:a,endNode:i}}(p,f,t);c=h.startNode,l=h.endNode}return{rangeStart:Math.min(a(c),a(l)),rangeEnd:Math.max(i(c),i(l))}},findNodeAtOffset:Np},Lp=zn.printer.printDocToString,Mp=zn.debug.printDocToDebug,Rp=sn.getAlignmentSize,jp=cn,qp=ln,$p=pn,Vp=fn,Up=Gc,Wp=Symbol("cursor");function Gp(e,t,n){var r=t.comments;return r&&(delete t.comments,gp.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function zp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};var r=jc.parse(e,t),u=r.ast,a=r.text;if(t.cursorOffset>=0){var i=Ip.findNodeAtOffset(u,t.cursorOffset,t);i&&i.node&&(t.cursorNode=i.node)}var o=Gp(a,u,t),s=kp(u,t,n),c=Lp(s,t);if(gp.ensureAllCommentsPrinted(o),n>0){var l=c.formatted.trim();void 0!==c.cursorNodeStart&&(c.cursorNodeStart-=c.formatted.indexOf(l)),c.formatted=l+qp(t.endOfLine)}if(t.cursorOffset>=0){var p,f,d,h,D;if(t.cursorNode&&c.cursorNodeText?(p=t.locStart(t.cursorNode),f=a.slice(p,t.locEnd(t.cursorNode)),d=t.cursorOffset-p,h=c.cursorNodeStart,D=c.cursorNodeText):(p=0,f=a,d=t.cursorOffset,h=0,D=c.formatted),f===D)return{formatted:c.formatted,cursorOffset:h+d,comments:o};var m=f.split("");m.splice(d,0,Wp);var y,v=D.split(""),E=h,C=g(ge.diffArrays(m,v));try{for(C.s();!(y=C.n()).done;){var b=y.value;if(b.removed){if(b.value.includes(Wp))break}else E+=b.count}}catch(e){C.e(e)}finally{C.f()}return{formatted:c.formatted,cursorOffset:E,comments:o}}return{formatted:c.formatted,cursorOffset:-1,comments:o}}function Hp(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function Xp(e,t){var n=t.cursorOffset,r=t.rangeStart,u=t.rangeEnd;return n=Hp(e,n,-1),r=Hp(e,r,0),u=Hp(e,u,e.length),Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:u})}function Jp(e,t){var n=Xp(e,t),r=n.cursorOffset,u=n.rangeStart,a=n.rangeEnd,i=n.endOfLine,o="\ufeff"===e.charAt(0);if(o&&(e=e.slice(1),r--,u--,a--),"auto"===i&&(i=jp(e)),e.includes("\r")){var s=function(t){return $p(e.slice(0,Math.max(t,0)),"\r\n")};r-=s(r),u-=s(u),a-=s(a),e=Vp(e)}return{hasBOM:o,text:e,options:Xp(e,Object.assign({},t,{cursorOffset:r,rangeStart:u,rangeEnd:a,endOfLine:i}))}}function Yp(e,t){var n=jc.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function Kp(e,t){var n,r=Jp(e,Up(t)),u=r.hasBOM,a=r.text,i=r.options;return i.rangeStart>=i.rangeEnd&&""!==a||i.requirePragma&&!Yp(a,i)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(i.rangeStart>0||i.rangeEnd<a.length?n=function(e,t){var n=jc.parse(e,t),r=n.ast,u=n.text,a=Ip.calculateRange(u,t,r),i=a.rangeStart,o=a.rangeEnd,s=u.slice(i,o),c=Math.min(i,u.lastIndexOf("\n",i)+1),l=u.slice(c,i).match(/^\s*/)[0],p=Rp(l,t.tabWidth),f=zp(s,Object.assign({},t,{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<o?t.cursorOffset-i:-1,endOfLine:"lf"}),p),d=f.formatted.trimEnd(),h=t.cursorOffset;h>=o?h+=d.length-s.length:f.cursorOffset>=0&&(h=f.cursorOffset+i);var D=u.slice(0,i)+d+u.slice(o);if("lf"!==t.endOfLine){var m=qp(t.endOfLine);h>=0&&"\r\n"===m&&(h+=$p(D.slice(0,h),"\n")),D=D.replace(/\n/g,m)}return{formatted:D,cursorOffset:h,comments:f.comments}}(a,i):(!i.requirePragma&&i.insertPragma&&i.printer.insertPragma&&!Yp(a,i)&&(a=i.printer.insertPragma(a)),n=zp(a,i)),u&&(n.formatted="\ufeff"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}var Qp=Kp,Zp=function(e,t,n){var r=Jp(e,Up(t)),u=r.text,a=r.options,i=jc.parse(u,a);return n&&(i.ast=zc(i.ast,a)),i},ef=function(e,t){t=Up(t);var n=kp(e,t);return Lp(n,t)},tf=function(e,t){return Kp(Mp(e),Object.assign({},t,{parser:"__js_expression"})).formatted},nf=function(e,t){t=Up(t);var n=jc.parse(e,t),r=n.ast;return Gp(n.text,r,t),kp(r,t)},rf=function(e,t){return Lp(e,Up(t))},uf={getMaxContinuousCount:sn.getMaxContinuousCount,getStringWidth:sn.getStringWidth,getAlignmentSize:sn.getAlignmentSize,getIndentSize:sn.getIndentSize,skip:sn.skip,skipWhitespace:sn.skipWhitespace,skipSpaces:sn.skipSpaces,skipNewline:sn.skipNewline,skipToLineEnd:sn.skipToLineEnd,skipEverythingButNewLine:sn.skipEverythingButNewLine,skipInlineComment:sn.skipInlineComment,skipTrailingComment:sn.skipTrailingComment,hasNewline:sn.hasNewline,hasNewlineInRange:sn.hasNewlineInRange,hasSpaces:sn.hasSpaces,isNextLineEmpty:sn.isNextLineEmpty,isNextLineEmptyAfterIndex:sn.isNextLineEmptyAfterIndex,isPreviousLineEmpty:sn.isPreviousLineEmpty,getNextNonSpaceNonCommentCharacterIndex:sn.getNextNonSpaceNonCommentCharacterIndex,makeString:sn.makeString,addLeadingComment:sn.addLeadingComment,addDanglingComment:sn.addDanglingComment,addTrailingComment:sn.addTrailingComment},af=function(t,n){var r=t.languageId,u=e(t,["languageId"]);return Object.assign({linguistLanguageId:r},u,n(t))},of=o((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),sf=o((function(e){!function(){var t,n,r,u,a,i;function o(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],u=new Array(128),i=0;i<128;++i)u[i]=i>=97&&i<=122||i>=65&&i<=90||36===i||95===i;for(a=new Array(128),i=0;i<128;++i)a[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||36===i||95===i;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?u[e]:n.NonAsciiIdentifierStart.test(o(e))},isIdentifierPartES5:function(e){return e<128?a[e]:n.NonAsciiIdentifierPart.test(o(e))},isIdentifierStartES6:function(e){return e<128?u[e]:t.NonAsciiIdentifierStart.test(o(e))},isIdentifierPartES6:function(e){return e<128?a[e]:t.NonAsciiIdentifierPart.test(o(e))}}}()})),cf=o((function(e){!function(){var t=sf;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function u(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function a(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function i(e){var n,r,u;if(0===e.length)return!1;if(u=e.charCodeAt(0),!t.isIdentifierStartES5(u))return!1;for(n=1,r=e.length;n<r;++n)if(u=e.charCodeAt(n),!t.isIdentifierPartES5(u))return!1;return!0}function o(e){var n,r,u,a,i;if(0===e.length)return!1;for(i=t.isIdentifierStartES6,n=0,r=e.length;n<r;++n){if(55296<=(u=e.charCodeAt(n))&&u<=56319){if(++n>=r)return!1;if(!(56320<=(a=e.charCodeAt(n))&&a<=57343))return!1;u=1024*(u-55296)+(a-56320)+65536}if(!i(u))return!1;i=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:u,isReservedWordES6:a,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:i,isIdentifierNameES6:o,isIdentifierES5:function(e,t){return i(e)&&!u(e,t)},isIdentifierES6:function(e,t){return o(e)&&!a(e,t)}}}()})),lf=o((function(e,t){t.ast=of,t.code=sf,t.keyword=cf})).keyword.isIdentifierNameES5,pf=sn.getLast,ff=sn.hasNewline,df=sn.skipWhitespace,hf=sn.isNonEmptyArray,Df=sn.isNextLineEmptyAfterIndex,mf=fs,gf=ds,yf=hs,vf="(?:(?=.)\\s)",Ef=new RegExp("^".concat(vf,"*:")),Cf=new RegExp("^".concat(vf,"*::"));function bf(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||Mf(e)||Rf(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function Af(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}function Ff(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type}var Sf=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function wf(e){return e&&Sf.has(e.type)}function xf(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function Tf(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function kf(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function Bf(e){return Mf(e)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name)}function Nf(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function _f(e){return"get"===e.kind||"set"===e.kind}function Pf(e){return _f(e)||yf(e,e.value)}var Of=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),If=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]),Lf=/^(skip|[fx]?(it|describe|test))$/;function Mf(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type)}function Rf(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)}function jf(e,t){return Nf(t)?ad(t):sd(t,id.Leading,(function(t){return ff(e,gf(t))}))}function qf(e){return/^(\d+|\d+\.\d+)$/.test(e)}function $f(e){return e.quasis.some((function(e){return e.value.raw.includes("\n")}))}function Vf(e){return e.extra?e.extra.raw:e.raw}var Uf,Wf={"==":!0,"!=":!0,"===":!0,"!==":!0},Gf={"*":!0,"/":!0,"%":!0},zf={">>":!0,">>>":!0,"<<":!0},Hf={},Xf=g([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries());try{for(Xf.s();!(Uf=Xf.n()).done;){var Jf,Yf=C(Uf.value,2),Kf=Yf[0],Qf=g(Yf[1]);try{for(Qf.s();!(Jf=Qf.n()).done;){var Zf=Jf.value;Hf[Zf]=Kf}}catch(e){Qf.e(e)}finally{Qf.f()}}}catch(e){Xf.e(e)}finally{Xf.f()}function ed(e){return Hf[e]}var td=new WeakMap;function nd(e){if(td.has(e))return td.get(e);var t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push.apply(t,v(e.parameters)):Array.isArray(e.params)&&t.push.apply(t,v(e.params)),e.rest&&t.push(e.rest),td.set(e,t),t}var rd=new WeakMap;function ud(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function ad(e){return e&&(e.prettierIgnore||sd(e,id.PrettierIgnore))}var id={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},od=function(e,t){if("function"==typeof e&&(t=e,e=0),e||t)return function(n,r,u){return!(e&id.Leading&&!n.leading||e&id.Trailing&&!n.trailing||e&id.Dangling&&(n.leading||n.trailing)||e&id.Block&&!Af(n)||e&id.Line&&!Ff(n)||e&id.First&&0!==r||e&id.Last&&r!==u.length-1||e&id.PrettierIgnore&&!ud(n)||t&&!t(n))}};function sd(e,t,n){if(!e||!hf(e.comments))return!1;var r=od(t,n);return!r||e.comments.some(r)}function cd(e,t,n){if(!e||!Array.isArray(e.comments))return[];var r=od(t,n);return r?e.comments.filter(r):e.comments}function ld(e){return Mf(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var pd={getFunctionParameters:nd,iterateFunctionParametersPath:function(e,t){var n=e.getValue(),r=0,u=function(e){return t(e,r++)};n.this&&e.call(u,"this"),Array.isArray(n.parameters)?e.each(u,"parameters"):Array.isArray(n.params)&&e.each(u,"params"),n.rest&&e.call(u,"rest")},getCallArguments:function(e){if(rd.has(e))return rd.get(e);var t="ImportExpression"===e.type?[e.source]:e.arguments;return rd.set(e,t),t},iterateCallArgumentsPath:function(e,t){"ImportExpression"===e.getValue().type?e.call((function(e){return t(e,0)}),"source"):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;var t=nd(e);return t.length>0&&"RestElement"===pf(t).type},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){var t=e.getParentNode();return"declaration"===e.getName()&&wf(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasFlowAnnotationComment:function(e){return e&&Af(e[0])&&Cf.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&hf(e.trailingComments)&&Af(e.trailingComments[0])&&Ef.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:jf,hasNakedLeftSide:bf,hasNode:function e(t,n){if(!t||"object"!=w(t))return!1;if(Array.isArray(t))return t.some((function(t){return e(t,n)}));var r=n(t);return"boolean"==typeof r?r:Object.values(t).some((function(t){return e(t,n)}))},hasIgnoreComment:function(e){return ad(e.getValue())},hasNodeIgnoreComment:ad,identity:function(e){return e},isBinaryish:function(e){return Of.has(e.type)},isBlockComment:Af,isCallLikeExpression:ld,isLineComment:Ff,isPrettierIgnoreComment:ud,isCallExpression:Mf,isMemberExpression:Rf,isExportDeclaration:wf,isFlowAnnotationComment:function(e,t){var n=mf(t),r=df(e,gf(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;var t,n=0,r=g(e);try{for(r.s();!(t=r.n()).done;){var u=t.value;if(kf(u)){if((n+=1)>1)return!0}else if(Mf(u)){var a,i=g(u.arguments);try{for(i.s();!(a=i.n()).done;)if(kf(a.value))return!0}catch(e){i.e(e)}finally{i.f()}}}}catch(e){r.e(e)}finally{r.f()}return!1},isFunctionNotation:Pf,isFunctionOrArrowExpression:kf,isGetterOrSetter:_f,isJestEachTemplateLiteral:function(e,t){var n=/^[fx]?(describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJsxNode:Nf,isLiteral:function(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type},isLongCurriedCallExpression:function(e){var t=e.getValue(),n=e.getParentNode();return Mf(t)&&Mf(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;var r=function(t){return e(t,n+1)},u="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(u&&u.length>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every((function(e){return!e.value.raw.includes("\n")}))&&t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every((function(e){return!e.computed&&(e.shorthand||e.value&&r(e.value))})):"ArrayExpression"===t.type?t.elements.every((function(e){return null===e||r(e)})):"ImportExpression"===t.type?r(t.source):ld(t)?e(t.callee,n)&&t.arguments.every(r):Rf(t)?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMemberish:function(e){return Rf(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:xf,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&xf(e.argument)},isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||Pf(e))},isSimpleType:function(e){return!(!e||("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!If.has(e.type))},isSimpleNumber:qf,isSimpleTemplateLiteral:function(e){var t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");var n=e[t];return 0!==n.length&&n.every((function(e){if(sd(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(Rf(e)){for(var t=e;Rf(t);){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(sd(t=t.object))return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:Tf,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&Tf(e.key)&&Vf(e.key).slice(1,-1)===e.key.value&&(lf(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||qf(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&$f(e)||"TaggedTemplateExpression"===e.type&&$f(e.quasi))&&!ff(t,mf(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(Bf(t)&&n&&e(n))return kf(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(before|after)(Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return Bf(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&Lf.test(t.callee.name)||function(e){return Rf(e.callee)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&Lf.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||Tf(t.arguments[0])))return!(t.arguments[2]&&!xf(t.arguments[2]))&&((2===t.arguments.length?kf(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&nd(t.arguments[1]).length<=1)||Bf(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;var n=t.getNode();if(!n.expression||!Nf(n.expression))return!1;var r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||yf(e,e.typeAnnotation))},isNextLineEmpty:function(e,t){var n=t.originalText;return Df(n,gf(e))},needsHardlineAfterDanglingComment:function(e){if(!sd(e))return!1;var t=pf(cd(e,id.Dangling));return t&&!Af(t)},rawText:Vf,returnArgumentHasLeadingComment:function(e,t){if(jf(e.originalText,t))return!0;if(bf(t))for(var n,r=t;n=(u=r).expressions?u.expressions[0]:u.left||u.test||u.callee||u.object||u.tag||u.argument||u.expression;)if(r=n,jf(e.originalText,r))return!0;var u;return!1},shouldPrintComma:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return Boolean(zf[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return!(ed(t)!==ed(e)||"**"===e||Wf[e]&&Wf[t]||"%"===t&&Gf[e]||"%"===e&&Gf[t]||t!==e&&Gf[t]&&Gf[e]||zf[e]&&zf[t])},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,n);default:return!1}},getPrecedence:ed,hasComment:sd,getComments:cd,CommentCheckFlags:id},fd=sn.getStringWidth,dd=sn.getIndentSize,hd=zn.builders,Dd=hd.join,md=hd.hardline,gd=hd.softline,yd=hd.group,vd=hd.indent,Ed=hd.align,Cd=hd.lineSuffixBoundary,bd=hd.addAlignmentToDoc,Ad=zn.printer.printDocToString,Fd=zn.utils.mapDoc,Sd=pd.isBinaryish,wd=pd.isJestEachTemplateLiteral,xd=pd.isSimpleTemplateLiteral,Td=pd.hasComment,kd=pd.isMemberExpression;function Bd(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var Nd=function(e,t,n){var r=e.getValue();if("TemplateLiteral"===r.type&&wd(r,e.getParentNode())){var u=function(e,t,n){var r=e.getNode(),u=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(u.length>1||u.some((function(e){return e.length>0}))){t.__inJestEach=!0;var a=e.map(n,"expressions");t.__inJestEach=!1;for(var i=[],o=a.map((function(e){return"${"+Ad(e,Object.assign({},t,{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"})),s=[{hasLineBreak:!1,cells:[]}],c=1;c<r.quasis.length;c++){var l=Ie(s),p=o[c-1];l.cells.push(p),p.includes("\n")&&(l.hasLineBreak=!0),r.quasis[c].value.raw.includes("\n")&&s.push({hasLineBreak:!1,cells:[]})}var f,d=Math.max.apply(Math,[u.length].concat(v(s.map((function(e){return e.cells.length}))))),h=Array.from({length:d}).fill(0),D=[{cells:u}].concat(v(s.filter((function(e){return e.cells.length>0})))),m=g(D.filter((function(e){return!e.hasLineBreak})));try{for(m.s();!(f=m.n()).done;){var y,E=g(f.value.cells.entries());try{for(E.s();!(y=E.n()).done;){var b=C(y.value,2),A=b[0],F=b[1];h[A]=Math.max(h[A],fd(F))}}catch(e){E.e(e)}finally{E.f()}}}catch(e){m.e(e)}finally{m.f()}return i.push(Cd,"`",vd([md,Dd(md,D.map((function(e){return Dd(" | ",e.cells.map((function(t,n){return e.hasLineBreak?t:t+" ".repeat(h[n]-fd(t))})))})))]),md,"`"),i}}(e,n,t);if(u)return u}var a="expressions";"TSTemplateLiteralType"===r.type&&(a="types");var i=[],o=e.map(t,a),s=xd(r);return s&&(o=o.map((function(e){return Ad(e,Object.assign({},n,{printWidth:Number.POSITIVE_INFINITY})).formatted}))),i.push(Cd,"`"),e.each((function(e){var u=e.getName();if(i.push(t()),u<o.length){var c=n.tabWidth,l=e.getValue(),p=dd(l.value.raw,c),f=o[u];if(!s){var d=r[a][u];(Td(d)||kd(d)||"ConditionalExpression"===d.type||"SequenceExpression"===d.type||"TSAsExpression"===d.type||Sd(d))&&(f=[vd([gd,f]),gd])}var h=0===p&&l.value.raw.endsWith("\n")?Ed(Number.NEGATIVE_INFINITY,f):bd(f,p,c);i.push(yd(["${",h,Cd,"}"]))}}),"quasis"),i.push("`"),i},_d=function(e,t){return e.map((function(e){return function(e,t){var n=e.getValue(),r=t();return Td(n)&&(r=yd([vd([gd,r]),gd])),["${",r,Cd,"}"]}(e,t)}),"expressions")},Pd=function(e,t){return Fd(e,(function(e){return"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):Bd(e):e}))},Od=Bd,Id=zn.builders,Ld=Id.indent,Md=Id.softline,Rd=Id.literalline,jd=Id.dedentToRoot,qd=Pd,$d=sn.isNonEmptyArray,Vd=zn.builders,Ud=Vd.indent,Wd=Vd.hardline,Gd=Vd.softline,zd=zn.utils,Hd=zd.mapDoc,Xd=zd.replaceNewlinesWithLiterallines,Jd=zd.cleanDoc,Yd=_d,Kd=zn.builders,Qd=Kd.indent,Zd=Kd.join,eh=Kd.hardline,th=Pd,nh=_d;function rh(e){var t,n=[],r=!1,u=e.map((function(e){return e.trim()})),a=g(u.entries());try{for(a.s();!(t=a.n()).done;){var i=C(t.value,2),o=i[0],s=i[1];""!==s&&(""===u[o-1]&&r?n.push([eh,s]):n.push(s),r=!0)}}catch(e){a.e(e)}finally{a.f()}return 0===n.length?null:Zd(eh,n)}var uh=zn.builders,ah=uh.indent,ih=uh.line,oh=uh.hardline,sh=uh.group,ch=zn.utils.mapDoc,lh=_d,ph=Od,fh=0,dh=pd.hasComment,hh=pd.CommentCheckFlags;var Dh=[function(e,t){return"ObjectExpression"===e.type&&"properties"===t},function(e,t){return"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t},function(e,t){return"Decorator"===e.type&&"expression"===t}];function mh(e){return"Identifier"===e.type&&"styled"===e.name}function gh(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function yh(e,t){return dh(e,hh.Block|hh.Leading,(function(e){return e.value===" ".concat(t," ")}))}var vh=pd.isBlockComment,Eh=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Ch=function(e){var t,n=g(e.quasis);try{for(n.s();!(t=n.n()).done;)delete t.value.value}catch(e){n.e(e)}finally{n.f()}};function bh(e,t,n){if("Program"===e.type&&delete t.sourceType,"BigIntLiteral"!==e.type&&"BigIntLiteralTypeAnnotation"!==e.type||t.value&&(t.value=t.value.toLowerCase()),"BigIntLiteral"!==e.type&&"Literal"!==e.type||t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if("Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"PropertyDefinition"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=w(e.key)||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((function(e){return"jsx"===e.name.name}))){var r,u=g(t.children);try{for(u.s();!(r=u.n()).done;){var a=r.value,i=a.type,o=a.expression;"JSXExpressionContainer"===i&&"TemplateLiteral"===o.type&&Ch(o)}}catch(e){u.e(e)}finally{u.f()}}"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&Ch(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));var s=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===s.type&&"Component"===s.callee.name&&1===s.arguments.length){var c,l=e.expression.arguments[0].properties,p=g(t.expression.arguments[0].properties.entries());try{for(p.s();!(c=p.n()).done;){var f=C(c.value,2),d=f[0],h=f[1];switch(l[d].key.name){case"styles":"ArrayExpression"===h.value.type&&Ch(h.value.elements[0]);break;case"template":"TemplateLiteral"===h.value.type&&Ch(h.value)}}}catch(e){p.e(e)}finally{p.f()}}return"TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||Ch(t.quasi),"TemplateLiteral"===e.type&&(e.leadingComments&&e.leadingComments.some((function(e){return vh(e)&&["GraphQL","HTML"].some((function(t){return e.value===" ".concat(t," ")}))}))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&Ch(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}bh.ignoredProperties=Eh;var Ah=bh,Fh=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t=e.match(/(?:\r?\n)/g)||[];if(0!==t.length){var n=t.filter((function(e){return"\r\n"===e})).length;return n>t.length-n?"\r\n":"\n"}},Sh=Fh;Sh.graceful=function(e){return"string"==typeof e&&Fh(e)||"\n"};var wh=Rh;function xh(){var e=Yu;return xh=function(){return e},e}function Th(){var e=function(e){return e&&e.__esModule?e:{default:e}}(Sh);return Th=function(){return e},e}var kh=/\*\/$/,Bh=/^\/\*\*/,Nh=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,_h=/(^|\s+)\/\/([^\r\n]*)/g,Ph=/^(\r?\n)+/,Oh=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Ih=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Lh=/(\r?\n|^) *\* ?/g,Mh=[];function Rh(e){var t=(0,Th().default)(e)||xh().EOL;e=e.replace(Bh,"").replace(kh,"").replace(Lh,"$1");for(var n="";n!==e;)n=e,e=e.replace(Oh,"".concat(t,"$1 $2").concat(t));e=e.replace(Ph,"").trimRight();for(var r,u=Object.create(null),a=e.replace(Ih,"").replace(Ph,"").trimRight();r=Ih.exec(e);){var i=r[2].replace(_h,"");"string"==typeof u[r[1]]||Array.isArray(u[r[1]])?u[r[1]]=Mh.concat(u[r[1]],i):u[r[1]]=i}return{comments:a,pragmas:u}}function jh(e,t){return Mh.concat(t).map((function(t){return"@".concat(e," ").concat(t).trim()}))}var qh=Object.defineProperty({extract:function(e){var t=e.match(Nh);return t?t[0].trimLeft():""},strip:function(e){var t=e.match(Nh);return t&&t[0]?e.substring(t[0].length):e},parse:function(e){return Rh(e).pragmas},parseWithComments:wh,print:function(e){var t=e.comments,n=void 0===t?"":t,r=e.pragmas,u=void 0===r?{}:r,a=(0,Th().default)(n)||xh().EOL,i=Object.keys(u),o=i.map((function(e){return jh(e,u[e])})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return" * "+e+a})).join("");if(!n){if(0===i.length)return"";if(1===i.length&&!Array.isArray(u[i[0]])){var s=u[i[0]];return"".concat("/**"," ").concat(jh(i[0],s)[0]).concat(" */")}}var c=n.split(a).map((function(e){return"".concat(" *"," ").concat(e)})).join(a)+a;return"/**"+a+(n?c:"")+(n&&i.length?" *"+a:"")+o+" */"}},"__esModule",{value:!0}),$h=qh.parseWithComments,Vh=qh.strip,Uh=qh.extract,Wh=qh.print,Gh=sn.getShebang,zh=fn;function Hh(e){var t=Gh(e);t&&(e=e.slice(t.length+1));var n=Uh(e),r=$h(n);return{shebang:t,text:e,pragmas:r.pragmas,comments:r.comments}}var Xh=function(e){var t=Hh(e),n=t.shebang,r=t.text,u=t.pragmas,a=t.comments,i=Vh(r),o=Wh({pragmas:Object.assign({format:""},u),comments:a.trimStart()});return(n?"".concat(n,"\n"):"")+zh(o)+(i.startsWith("\n")?"\n":"\n\n")+i},Jh=sn.getLast,Yh=sn.hasNewline,Kh=sn.getNextNonSpaceNonCommentCharacterIndexWithStartIndex,Qh=sn.getNextNonSpaceNonCommentCharacter,Zh=sn.hasNewlineInRange,eD=sn.addLeadingComment,tD=sn.addTrailingComment,nD=sn.addDanglingComment,rD=sn.getNextNonSpaceNonCommentCharacterIndex,uD=sn.isNonEmptyArray,aD=pd.isBlockComment,iD=pd.getFunctionParameters,oD=pd.isPrettierIgnoreComment,sD=pd.isJsxNode,cD=pd.hasFlowShorthandAnnotationComment,lD=pd.hasFlowAnnotationComment,pD=pd.hasIgnoreComment,fD=pd.isCallLikeExpression,dD=pd.getCallArguments,hD=pd.isCallExpression,DD=pd.isMemberExpression,mD=fs,gD=ds;function yD(e,t){var n=(e.body||e.properties).find((function(e){return"EmptyStatement"!==e.type}));n?eD(n,t):nD(e,t)}function vD(e,t){"BlockStatement"===e.type?yD(e,t):eD(e,t)}function ED(e){var t=e.comment,n=e.followingNode;return!(!n||!JD(t)||(eD(n,t),0))}function CD(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,u=e.followingNode,a=e.text;return!(!r||"IfStatement"!==r.type||!u||(")"===Qh(a,t,gD)?(tD(n,t),0):n===r.consequent&&u===r.alternate?("BlockStatement"===n.type?tD(n,t):nD(r,t),0):"BlockStatement"===u.type?(yD(u,t),0):"IfStatement"===u.type?(vD(u.consequent,t),0):r.consequent!==u||(eD(u,t),0)))}function bD(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,u=e.followingNode,a=e.text;return!(!r||"WhileStatement"!==r.type||!u||(")"===Qh(a,t,gD)?(tD(n,t),0):"BlockStatement"===u.type?(yD(u,t),0):r.body!==u||(eD(u,t),0)))}function AD(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,u=e.followingNode;return!(!r||"TryStatement"!==r.type&&"CatchClause"!==r.type||!u||("CatchClause"===r.type&&n?(tD(n,t),0):"BlockStatement"===u.type?(yD(u,t),0):"TryStatement"===u.type?(vD(u.finalizer,t),0):"CatchClause"!==u.type||(vD(u.body,t),0)))}function FD(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode;return!(!DD(n)||!r||"Identifier"!==r.type||(eD(n,t),0))}function SD(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,u=e.followingNode,a=e.text,i=n&&!Zh(a,gD(n),mD(t));return!(n&&i||!r||"ConditionalExpression"!==r.type&&"TSConditionalType"!==r.type||!u||(eD(u,t),0))}function wD(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode;return!(!r||"ObjectProperty"!==r.type&&"Property"!==r.type||!r.shorthand||r.key!==n||"AssignmentPattern"!==r.value.type||(tD(r.value.left,t),0))}function xD(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,u=e.followingNode;if(r&&("ClassDeclaration"===r.type||"ClassExpression"===r.type||"DeclareClass"===r.type||"DeclareInterface"===r.type||"InterfaceDeclaration"===r.type||"TSInterfaceDeclaration"===r.type)){if(uD(r.decorators)&&(!u||"Decorator"!==u.type))return tD(Jh(r.decorators),t),!0;if(r.body&&u===r.body)return yD(r.body,t),!0;if(u)for(var a=0,i=["implements","extends","mixins"];a<i.length;a++){var o=i[a];if(r[o]&&u===r[o][0])return!n||n!==r.id&&n!==r.typeParameters&&n!==r.superClass?nD(r,t,o):tD(n,t),!0}}return!1}function TD(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,u=e.text;return(r&&n&&("Property"===r.type||"TSDeclareMethod"===r.type||"TSAbstractMethodDefinition"===r.type)&&"Identifier"===n.type&&r.key===n&&":"!==Qh(u,n,gD)||!(!n||!r||"Decorator"!==n.type||"ClassMethod"!==r.type&&"ClassProperty"!==r.type&&"PropertyDefinition"!==r.type&&"TSAbstractClassProperty"!==r.type&&"TSAbstractMethodDefinition"!==r.type&&"TSDeclareMethod"!==r.type&&"MethodDefinition"!==r.type))&&(tD(n,t),!0)}function kD(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,u=e.text;return"("===Qh(u,t,gD)&&!(!n||!r||"FunctionDeclaration"!==r.type&&"FunctionExpression"!==r.type&&"ClassMethod"!==r.type&&"MethodDefinition"!==r.type&&"ObjectMethod"!==r.type)&&(tD(n,t),!0)}function BD(e){var t=e.comment,n=e.enclosingNode,r=e.text;if(!n||"ArrowFunctionExpression"!==n.type)return!1;var u=rD(r,t,gD);return!1!==u&&"=>"===r.slice(u,u+2)&&(nD(n,t),!0)}function ND(e){var t=e.comment,n=e.enclosingNode,r=e.text;return!(")"!==Qh(r,t,gD)||(n&&(XD(n)&&0===iD(n).length||fD(n)&&0===dD(n).length)?(nD(n,t),0):!n||"MethodDefinition"!==n.type&&"TSAbstractMethodDefinition"!==n.type||0!==iD(n.value).length||(nD(n.value,t),0)))}function _D(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,u=e.followingNode,a=e.text;if(n&&"FunctionTypeParam"===n.type&&r&&"FunctionTypeAnnotation"===r.type&&u&&"FunctionTypeParam"!==u.type)return tD(n,t),!0;if(n&&("Identifier"===n.type||"AssignmentPattern"===n.type)&&r&&XD(r)&&")"===Qh(a,t,gD))return tD(n,t),!0;if(r&&"FunctionDeclaration"===r.type&&u&&"BlockStatement"===u.type){var i=function(){var e=iD(r);if(e.length>0)return Kh(a,gD(Jh(e)));var t=Kh(a,gD(r.id));return!1!==t&&Kh(a,t+1)}();if(mD(t)>i)return yD(u,t),!0}return!1}function PD(e){var t=e.comment,n=e.enclosingNode;return!(!n||"ImportSpecifier"!==n.type||(eD(n,t),0))}function OD(e){var t=e.comment,n=e.enclosingNode;return!(!n||"LabeledStatement"!==n.type||(eD(n,t),0))}function ID(e){var t=e.comment,n=e.enclosingNode;return!(!n||"ContinueStatement"!==n.type&&"BreakStatement"!==n.type||n.label||(tD(n,t),0))}function LD(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode;return!!(hD(r)&&n&&r.callee===n&&r.arguments.length>0)&&(eD(r.arguments[0],t),!0)}function MD(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,u=e.followingNode;return!r||"UnionTypeAnnotation"!==r.type&&"TSUnionType"!==r.type?(u&&("UnionTypeAnnotation"===u.type||"TSUnionType"===u.type)&&oD(t)&&(u.types[0].prettierIgnore=!0,t.unignore=!0),!1):(oD(t)&&(u.prettierIgnore=!0,t.unignore=!0),!!n&&(tD(n,t),!0))}function RD(e){var t=e.comment,n=e.enclosingNode;return!(!n||"Property"!==n.type&&"ObjectProperty"!==n.type||(eD(n,t),0))}function jD(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode,u=e.ast,a=e.isLastComment;return u&&u.body&&0===u.body.length?(a?nD(u,t):eD(u,t),!0):n&&"Program"===n.type&&0===n.body.length&&n.directives&&0===n.directives.length?(a?nD(n,t):eD(n,t),!0):!(!r||"Program"!==r.type||0!==r.body.length||!n||"ModuleExpression"!==n.type||(nD(r,t),0))}function qD(e){var t=e.comment,n=e.enclosingNode;return!(!n||"ForInStatement"!==n.type&&"ForOfStatement"!==n.type||(eD(n,t),0))}function $D(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,u=e.text;return!!(n&&"ImportSpecifier"===n.type&&r&&"ImportDeclaration"===r.type&&Yh(u,gD(t)))&&(tD(n,t),!0)}function VD(e){var t=e.comment,n=e.enclosingNode;return!(!n||"AssignmentPattern"!==n.type||(eD(n,t),0))}function UD(e){var t=e.comment,n=e.enclosingNode;return!(!n||"TypeAlias"!==n.type||(eD(n,t),0))}function WD(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode;return!(!n||"VariableDeclarator"!==n.type&&"AssignmentExpression"!==n.type||!r||"ObjectExpression"!==r.type&&"ArrayExpression"!==r.type&&"TemplateLiteral"!==r.type&&"TaggedTemplateExpression"!==r.type&&!aD(t)||(eD(r,t),0))}function GD(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode,u=e.text;return!(r||!n||"TSMethodSignature"!==n.type&&"TSDeclareFunction"!==n.type&&"TSAbstractMethodDefinition"!==n.type||";"!==Qh(u,t,gD)||(tD(n,t),0))}function zD(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode;if(oD(t)&&n&&"TSMappedType"===n.type&&r&&"TSTypeParameter"===r.type&&r.constraint)return n.prettierIgnore=!0,t.unignore=!0,!0}function HD(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,u=e.followingNode;return!(!r||"TSMappedType"!==r.type||(u&&"TSTypeParameter"===u.type&&u.name?(eD(u.name,t),0):!n||"TSTypeParameter"!==n.type||!n.constraint||(tD(n.constraint,t),0)))}function XD(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function JD(e){return aD(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var YD={handleOwnLineComment:function(e){return[zD,_D,FD,CD,bD,AD,xD,PD,qD,MD,jD,$D,VD,TD,OD].some((function(t){return t(e)}))},handleEndOfLineComment:function(e){return[ED,_D,SD,PD,CD,bD,AD,xD,OD,LD,RD,jD,UD,WD].some((function(t){return t(e)}))},handleRemainingComment:function(e){return[zD,CD,bD,wD,ND,TD,jD,BD,kD,HD,ID,GD].some((function(t){return t(e)}))},isTypeCastComment:JD,getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===iD(e.value).length&&!e.value.returnType&&!uD(e.value.typeParameters)&&e.value.body)return[].concat(v(e.decorators||[]),[e.key,e.value.body])},willPrintOwnComments:function(e){var t=e.getValue(),n=e.getParentNode();return(t&&(sD(t)||cD(t)||hD(n)&&(lD(t.leadingComments)||lD(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!pD(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}},KD=pd.getFunctionParameters,QD=pd.getLeftSidePathName,ZD=pd.hasFlowShorthandAnnotationComment,em=pd.hasNakedLeftSide,tm=pd.hasNode,nm=pd.isBitwiseOperator,rm=pd.startsWithNoLookaheadToken,um=pd.shouldFlatten,am=pd.getPrecedence,im=pd.isCallExpression,om=pd.isMemberExpression;function sm(e,t){var n=e.getParentNode();if(!n)return!1;var r=e.getName(),u=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){return"ObjectExpression"===e.type}(u)&&cm(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(u))return!1;if("flow"!==t.parser&&ZD(e.getValue()))return!0;if("Identifier"===u.type)return!!(u.extra&&u.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(u.name))||"left"===r&&"async"===u.name&&"ForOfStatement"===n.type&&!n.await;switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===u.type||"AssignmentExpression"===u.type||"AwaitExpression"===u.type||"BinaryExpression"===u.type||"ConditionalExpression"===u.type||"LogicalExpression"===u.type||"NewExpression"===u.type||"ObjectExpression"===u.type||"ParenthesizedExpression"===u.type||"SequenceExpression"===u.type||"TaggedTemplateExpression"===u.type||"UnaryExpression"===u.type||"UpdateExpression"===u.type||"YieldExpression"===u.type||"TSNonNullExpression"===u.type))return!0;break;case"ExportDefaultDeclaration":return lm(e,t)||"SequenceExpression"===u.type;case"Decorator":if("expression"===r){for(var a=!1,i=!1,o=u;o;)switch(o.type){case"MemberExpression":i=!0,o=o.object;break;case"CallExpression":if(i||a)return!0;a=!0,o=o.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(rm(u,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==u.type&&rm(u,!1))return!0}switch(u.type){case"UpdateExpression":if("UnaryExpression"===n.type)return u.prefix&&("++"===u.operator&&"+"===n.operator||"--"===u.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return u.operator===n.operator&&("+"===u.operator||"-"===u.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"left"===r&&"**"===n.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type||"PipelineTopicExpression"===n.type&&"|>"===u.operator)return!0;if("in"===u.operator&&function(e){for(var t=0,n=e.getValue();n;){var r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}(e))return!0;if("|>"===u.operator&&u.extra&&u.extra.parenthesized){var s=e.getParentNode(1);if("BinaryExpression"===s.type&&"|>"===s.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"TSAsExpression":return"TSAsExpression"!==u.type;case"ConditionalExpression":return"TSAsExpression"===u.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":case"AssignmentPattern":return"left"===r&&("TSTypeAssertion"===u.type||"TSAsExpression"===u.type);case"LogicalExpression":if("LogicalExpression"===u.type)return n.operator!==u.operator;case"BinaryExpression":var c=u.operator,l=u.type;if(!c&&"TSTypeAssertion"!==l)return!0;var p=am(c),f=n.operator,d=am(f);return d>p||"right"===r&&d===p||d===p&&!um(f,c)||(d<p&&"%"===c?"+"===f||"-"===f:!!nm(f));default:return!1}case"SequenceExpression":switch(n.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==r;case"ArrowFunctionExpression":return"body"!==r;default:return!0}case"YieldExpression":if("UnaryExpression"===n.type||"AwaitExpression"===n.type||"TSAsExpression"===n.type||"TSNonNullExpression"===n.type)return!0;if("expression"===r&&u.argument&&"PipelinePrimaryTopicReference"===u.argument.type&&"PipelineTopicExpression"===n.type)return!0;case"AwaitExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"BinaryExpression":return!(!u.argument&&"|>"===n.operator);default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if("extendsType"===r&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===r&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===n.type||"TSIntersectionType"===n.type)&&n.types.length>1&&(!u.types||u.types.length>1))return!0;case"TSInferType":if("TSInferType"===u.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===r&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type;case"FunctionTypeAnnotation":var h="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===h.type||"IntersectionTypeAnnotation"===h.type||"ArrayTypeAnnotation"===h.type||"NullableTypeAnnotation"===h.type||"FunctionTypeParam"===n.type&&null===n.name&&KD(u).some((function(e){return e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type}));case"OptionalIndexedAccessType":return"objectType"===r&&"IndexedAccessType"===n.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof u.value&&"ExpressionStatement"===n.type&&!n.directive){var D=e.getParentNode(1);return"Program"===D.type||"BlockStatement"===D.type}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof u.value;case"AssignmentExpression":var m=e.getParentNode(1);return"body"===r&&"ArrowFunctionExpression"===n.type||("key"!==r||"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type||!n.computed)&&("init"!==r&&"update"!==r||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===u.left.type:!("key"===r&&"TSPropertySignature"===n.type||"AssignmentExpression"===n.type||"SequenceExpression"===n.type&&m&&"ForStatement"===m.type&&(m.init===n||m.update===n)||"value"===r&&"Property"===n.type&&m&&"ObjectPattern"===m.type&&m.properties.includes(n)||"NGChainedExpression"===n.type));case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"PipelineTopicExpression":return Boolean(u.extra&&u.extra.parenthesized);case"BinaryExpression":return"|>"!==n.operator||u.extra&&u.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":return"NewExpression"===n.type&&"callee"===r;case"OptionalMemberExpression":case"OptionalCallExpression":var g=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===g.type&&g.object===n)return!0;case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type))for(var y=u;y;)switch(y.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":y=y.object;break;case"TaggedTemplateExpression":y=y.tag;break;case"TSNonNullExpression":y=y.expression;break;default:return!1}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&om(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!u.extra||!u.extra.parenthesized)||"ArrayExpression"===n.type||im(n)&&n.arguments[r]===u||"right"===r&&"NGPipeExpression"===n.type||"property"===r&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"left"===r&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&"ObjectProperty"!==n.type&&!im(n)&&"Property"!==n.type&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return tm(e,(function(e){return"ObjectTypeAnnotation"===e.type&&tm(e,(function(e){return"FunctionTypeAnnotation"===e.type||void 0}))||void 0}))}(u)}return!1}function cm(e){var t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(cm);break;case"ObjectProperty":if("value"===r){var u=e.getParentNode(1);return Ie(u.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(cm);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(cm);break;case"UnaryExpression":if(n.prefix)return e.callParent(cm)}return!1}function lm(e,t){var n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!sm(e,t):!(!em(n)||"ExportDefaultDeclaration"!==r.type&&sm(e,t))&&e.call.apply(e,[function(e){return lm(e,t)}].concat(v(QD(e,n))))}var pm=sm,fm=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}},dm=zn.builders,hm=dm.join,Dm=dm.line,mm=dm.group,gm=dm.softline,ym=dm.indent,vm=function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},Em=function(e,t,n){var r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call((function(e){var t=hm([",",Dm],e.map(n,"params"));return 1===e.getValue().params.length?t:["(",ym([gm,mm(t)]),gm,")"]}),"program","body",0):t.__isVueBindings?e.call((function(e){return hm([",",Dm],e.map(n,"params"))}),"program","body",0):void 0},Cm=gp.printComments,bm=sn.getLast,Am=zn.builders,Fm=Am.join,Sm=Am.line,wm=Am.softline,xm=Am.group,Tm=Am.indent,km=Am.align,Bm=Am.ifBreak,Nm=Am.indentIfBreak,_m=zn.utils,Pm=_m.cleanDoc,Om=_m.getDocParts,Im=_m.isConcat,Lm=pd.hasLeadingOwnLineComment,Mm=pd.isBinaryish,Rm=pd.isJsxNode,jm=pd.shouldFlatten,qm=pd.hasComment,$m=pd.CommentCheckFlags,Vm=pd.isCallExpression,Um=pd.isMemberExpression,Wm=0;function Gm(e,t,n,r,u){var a=[],i=e.getValue();if(Mm(i)){jm(i.operator,i.left.operator)?a=[].concat(v(a),v(e.call((function(e){return Gm(e,t,n,!0,u)}),"left"))):a.push(xm(t("left")));var o=zm(i),s=("|>"===i.operator||"NGPipeExpression"===i.type||"|"===i.operator&&"__vue_expression"===n.parser)&&!Lm(n.originalText,i.right),c="NGPipeExpression"===i.type?"|":i.operator,l="NGPipeExpression"===i.type&&i.arguments.length>0?xm(Tm([wm,": ",Fm([wm,":",Bm(" ")],e.map(t,"arguments").map((function(e){return km(2,xm(e))})))])):"",p=o?[c," ",t("right"),l]:[s?Sm:"",c,s?" ":Sm,t("right"),l],f=e.getParentNode(),d=qm(i.left,$m.Trailing|$m.Line),h=d||!(u&&"LogicalExpression"===i.type)&&f.type!==i.type&&i.left.type!==i.type&&i.right.type!==i.type;if(a.push(s?"":" ",h?xm(p,{shouldBreak:d}):p),r&&qm(i)){var D=Pm(Cm(e,a,n));a=Im(D)||"fill"===D.type?Om(D):[D]}}else a.push(xm(t()));return a}function zm(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||!!Rm(e.right))}var Hm=function(e,t,n){var r=e.getValue(),u=e.getParentNode(),a=e.getParentNode(1),i=r!==u.body&&("IfStatement"===u.type||"WhileStatement"===u.type||"SwitchStatement"===u.type||"DoWhileStatement"===u.type),o=Gm(e,n,t,!1,i);if(i)return o;if(Vm(u)&&u.callee===r||"UnaryExpression"===u.type||Um(u)&&!u.computed)return xm([Tm([wm].concat(v(o))),wm]);var s="ReturnStatement"===u.type||"ThrowStatement"===u.type||"JSXExpressionContainer"===u.type&&"JSXAttribute"===a.type||"|"!==r.operator&&"JsExpressionRoot"===u.type||"NGPipeExpression"!==r.type&&("NGRoot"===u.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===u.type&&"NGMicrosyntax"===a.type&&1===a.body.length)||r===u.body&&"ArrowFunctionExpression"===u.type||r!==u.body&&"ForStatement"===u.type||"ConditionalExpression"===u.type&&"ReturnStatement"!==a.type&&"ThrowStatement"!==a.type&&!Vm(a)||"TemplateLiteral"===u.type,c="AssignmentExpression"===u.type||"VariableDeclarator"===u.type||"ClassProperty"===u.type||"PropertyDefinition"===u.type||"TSAbstractClassProperty"===u.type||"ClassPrivateProperty"===u.type||"ObjectProperty"===u.type||"Property"===u.type,l=Mm(r.left)&&jm(r.operator,r.left.operator);if(s||zm(r)&&!l||!zm(r)&&c)return xm(o);if(0===o.length)return"";var p=Rm(r.right),f=o.findIndex((function(e){return"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type})),d=o.slice(0,-1===f?1:f+1),h=o.slice(d.length,p?-1:void 0),D=Symbol("logicalChain-"+ ++Wm),m=xm([].concat(v(d),[Tm(h)]),{id:D});if(!p)return m;var g=bm(o);return xm([m,Nm(g,{groupId:D})])},Xm=zm,Jm=zn.builders,Ym=Jm.join,Km=Jm.line,Qm=Jm.group,Zm=pd.hasNode,eg=pd.hasComment,tg=pd.getComments,ng=Hm;function rg(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}var ug=function(e,t,n){var r=e.getValue();switch(r.type){case"NGRoot":return[n("node"),eg(r.node)?" //"+tg(r.node)[0].value.trimEnd():""];case"NGPipeExpression":return ng(e,t,n);case"NGChainedExpression":return Qm(Ym([";",Km],e.map((function(e){return function(e){return Zm(e.getValue(),(function(e){switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}(e)?n():["(",n(),")"]}),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[r.prefix,": ",r.value.trim()];case"NGMicrosyntax":return e.map((function(e,t){return[0===t?"":rg(e.getValue(),t,r)?" ":[";",Km],n()]}),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(r.name)?r.name:JSON.stringify(r.name);case"NGMicrosyntaxExpression":return[n("expression"),null===r.alias?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":var u=e.getName(),a=e.getParentNode(),i=rg(r,u,a)||(1===u&&("then"===r.key.name||"else"===r.key.name)||2===u&&"else"===r.key.name&&"NGMicrosyntaxKeyedExpression"===a.body[u-1].type&&"then"===a.body[u-1].key.name)&&"NGMicrosyntaxExpression"===a.body[0].type;return[n("key"),i?" ":": ",n("expression")];case"NGMicrosyntaxLet":return["let ",n("key"),null===r.value?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")]}},ag=gp.printComments,ig=gp.printDanglingComments,og=zn.builders,sg=og.line,cg=og.hardline,lg=og.softline,pg=og.group,fg=og.indent,dg=og.conditionalGroup,hg=og.fill,Dg=og.ifBreak,mg=og.lineSuffixBoundary,gg=og.join,yg=zn.utils.willBreak,vg=sn.getLast,Eg=sn.getPreferredQuote,Cg=pd.isJsxNode,bg=pd.rawText,Ag=pd.isLiteral,Fg=pd.isCallExpression,Sg=pd.isStringLiteral,wg=pd.isBinaryish,xg=pd.hasComment,Tg=pd.CommentCheckFlags,kg=pd.hasNodeIgnoreComment,Bg=YD.willPrintOwnComments,Ng=function(e){return""===e||e===sg||e===cg||e===lg};function _g(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?lg:cg:lg}function Pg(e,t,n,r){return e?cg:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?cg:lg:cg}function Og(e,t,n){return function(e,t,n){var r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;var u=e.match(void 0,(function(e){return"ArrowFunctionExpression"===e.type}),Fg,(function(e){return"JSXExpressionContainer"===e.type})),a=pm(e,n);return pg([a?"":Dg("("),fg([lg,t]),lg,a?"":Dg(")")],{shouldBreak:u})}(e,ag(e,function(e,t,n){var r=e.getValue();if("JSXElement"===r.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;var t=e.children[0];return Ag(t)&&!Rg(t)}(r))return[n("openingElement"),n("closingElement")];var u="JSXElement"===r.type?n("openingElement"):n("openingFragment"),a="JSXElement"===r.type?n("closingElement"):n("closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return[u].concat(v(e.map(n,"children")),[a]);r.children=r.children.map((function(e){return function(e){return"JSXExpressionContainer"===e.type&&Ag(e.expression)&&" "===e.expression.value&&!xg(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e}));for(var i=r.children.filter(Cg).length>0,o=r.children.filter((function(e){return"JSXExpressionContainer"===e.type})).length>1,s="JSXElement"===r.type&&r.openingElement.attributes.length>1,c=yg(u)||i||s||o,l="mdx"===e.getParentNode().rootMarker,p=t.singleQuote?"{' '}":'{" "}',f=l?" ":Dg([p,lg]," "),d=function(e,t,n,r,u){var a=[];return e.each((function(e,t,i){var o=e.getValue();if(Ag(o)){var s=bg(o);if(Rg(o)){var c,l=s.split(Ig);if(""===l[0]){if(a.push(""),l.shift(),/\n/.test(l[0])){var p=i[t+1];a.push(Pg(u,l[1],o,p))}else a.push(r);l.shift()}if(""===vg(l)&&(l.pop(),c=l.pop()),0===l.length)return;var f,d=g(l.entries());try{for(d.s();!(f=d.n()).done;){var h=C(f.value,2),D=h[0],m=h[1];D%2==1?a.push(sg):a.push(m)}}catch(e){d.e(e)}finally{d.f()}if(void 0!==c)if(/\n/.test(c)){var y=i[t+1];a.push(Pg(u,vg(a),o,y))}else a.push(r);else{var v=i[t+1];a.push(_g(u,vg(a),o,v))}}else/\n/.test(s)?s.match(/\n/g).length>1&&a.push("",cg):a.push("",r)}else{var E=n();a.push(E);var b=i[t+1];if(b&&Rg(b)){var A=Mg(bg(b)).split(Ig)[0];a.push(_g(u,A,o,b))}else a.push(cg)}}),"children"),a}(e,0,n,f,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),h=r.children.some((function(e){return Rg(e)})),D=d.length-2;D>=0;D--){var m=""===d[D]&&""===d[D+1],y=d[D]===cg&&""===d[D+1]&&d[D+2]===cg,E=(d[D]===lg||d[D]===cg)&&""===d[D+1]&&d[D+2]===f,b=d[D]===f&&""===d[D+1]&&(d[D+2]===lg||d[D+2]===cg),A=d[D]===f&&""===d[D+1]&&d[D+2]===f,F=d[D]===lg&&""===d[D+1]&&d[D+2]===cg||d[D]===cg&&""===d[D+1]&&d[D+2]===lg;y&&h||m||E||A||F?d.splice(D,2):b&&d.splice(D+1,2)}for(;d.length>0&&Ng(vg(d));)d.pop();for(;d.length>1&&Ng(d[0])&&Ng(d[1]);)d.shift(),d.shift();var S,w=[],x=g(d.entries());try{for(x.s();!(S=x.n()).done;){var T=C(S.value,2),k=T[0],B=T[1];if(B===f){if(1===k&&""===d[k-1]){if(2===d.length){w.push(p);continue}w.push([p,cg]);continue}if(k===d.length-1){w.push(p);continue}if(""===d[k-1]&&d[k-2]===cg){w.push(p);continue}}w.push(B),yg(B)&&(c=!0)}}catch(e){x.e(e)}finally{x.f()}var N=h?hg(w):pg(w,{shouldBreak:!0});if(l)return N;var _=pg([u,fg([cg,N]),cg,a]);return c?_:dg([pg([u].concat(v(d),[a])),_])}(e,t,n),t),t)}var Ig=new RegExp("([ \n\r\t]+)"),Lg=new RegExp("[^ \n\r\t]"),Mg=function(e){return e.replace(new RegExp("(?:^"+Ig.source+"|"+Ig.source+"$)"),"")};function Rg(e){return Ag(e)&&(Lg.test(bg(e))||!/\n/.test(bg(e)))}var jg=function(e){var t=e.getValue(),n=e.getParentNode();if(!(n&&t&&Cg(t)&&Cg(n)))return!1;for(var r=null,u=n.children.indexOf(t);u>0;u--){var a=n.children[u-1];if("JSXText"!==a.type||Rg(a)){r=a;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&kg(r.expression)},qg=function(e,t,n){var r=e.getValue();switch(r.type){case"JSXAttribute":return function(e,t,n){var r=e.getValue(),u=[];if(u.push(n("name")),r.value){var a;if(Sg(r.value)){var i=bg(r.value).replace(/'/g,"'").replace(/"/g,'"'),o=Eg(i,t.jsxSingleQuote?"'":'"'),s="'"===o?"'":""";a=[o,i=i.slice(1,-1).replace(new RegExp(o,"g"),s),o]}else a=n("value");u.push("=",a)}return u}(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return gg(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return gg(".",[n("object"),n("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return function(e,t,n){var r=e.getValue();return["{",e.call((function(e){var r=["...",n()],u=e.getValue();return xg(u)&&Bg(e)?[fg([lg,ag(e,r,t)]),lg]:r}),"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"]}(e,t,n);case"JSXExpressionContainer":return function(e,t,n){var r=e.getValue(),u=e.getParentNode(0),a="JSXEmptyExpression"===r.expression.type||!xg(r.expression)&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||Fg(r.expression)||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||Cg(u)&&("ConditionalExpression"===r.expression.type||wg(r.expression)));return pg(a?["{",n("expression"),mg,"}"]:["{",fg([lg,n("expression")]),lg,mg,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return Og(e,t,n);case"JSXOpeningElement":return function(e,t,n){var r=e.getValue(),u=r.name&&xg(r.name)||r.typeParameters&&xg(r.typeParameters);if(r.selfClosing&&0===r.attributes.length&&!u)return["<",n("name"),n("typeParameters")," />"];if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&Sg(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!u&&!xg(r.attributes[0]))return pg(["<",n("name"),n("typeParameters")," "].concat(v(e.map(n,"attributes")),[r.selfClosing?" />":">"]));var a=r.attributes.length>0&&xg(vg(r.attributes),Tg.Trailing),i=0===r.attributes.length&&!u||t.jsxBracketSameLine&&(!u||r.attributes.length>0)&&!a,o=r.attributes&&r.attributes.some((function(e){return e.value&&Sg(e.value)&&e.value.value.includes("\n")}));return pg(["<",n("name"),n("typeParameters"),fg(e.map((function(){return[sg,n()]}),"attributes")),r.selfClosing?sg:i?">":lg,r.selfClosing?"/>":i?"":">"],{shouldBreak:o})}(e,t,n);case"JSXClosingElement":return function(e,t,n){var r=e.getValue(),u=[];u.push("</");var a=n("name");return xg(r.name,Tg.Leading|Tg.Line)?u.push(fg([cg,a]),cg):xg(r.name,Tg.Leading|Tg.Block)?u.push(" ",a):u.push(a),u.push(">"),u}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){var n=e.getValue(),r=xg(n),u=xg(n,Tg.Line),a="JSXOpeningFragment"===n.type;return[a?"<":"</",fg([u?cg:r&&!a?" ":"",ig(e,t,!0)]),u?cg:"",">"]}(e,t);case"JSXEmptyExpression":return function(e,t){var n=e.getValue(),r=xg(n,Tg.Line);return[ig(e,t,!r),r?cg:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement")}},$g=sn.isNonEmptyArray,Vg=zn.builders,Ug=Vg.indent,Wg=Vg.join,Gg=Vg.line,zg=pd.isFlowAnnotationComment,Hg=function(e){var t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"},Xg=function(e,t,n){var r=e.getValue();return r.typeArguments?n("typeArguments"):r.typeParameters?n("typeParameters"):""},Jg=function(e,t,n){return["::",n("callee")]},Yg=function(e,t,n){var r=e.getValue();return $g(r.modifiers)?[Wg(" ",e.map(n,"modifiers"))," "]:""},Kg=function(e,t,n){var r=e.getValue();if(!r.typeAnnotation)return"";var u=e.getParentNode(),a=r.definite||u&&"VariableDeclarator"===u.type&&u.definite,i="DeclareFunction"===u.type&&u.id===r;return zg(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[i?"":a?"!: ":": ",n("typeAnnotation")]},Qg=function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:Ug([Gg,t])},Zg=gp.printDanglingComments,ey=zn.builders,ty=ey.line,ny=ey.softline,ry=ey.hardline,uy=ey.group,ay=ey.indent,iy=ey.ifBreak,oy=ey.fill,sy=sn.getLast,cy=sn.hasNewline,ly=pd.shouldPrintComma,py=pd.hasComment,fy=pd.CommentCheckFlags,dy=pd.isNextLineEmpty,hy=pd.isNumericLiteral,Dy=pd.isSignedNumericLiteral,my=fs,gy=Hg,yy=Kg;function vy(e,t){return e.elements.length>1&&e.elements.every((function(e){return e&&(hy(e)||Dy(e)&&!py(e.argument))&&!py(e,fy.Trailing|fy.Line,(function(e){return!cy(t.originalText,my(e),{backwards:!0})}))}))}function Ey(e,t,n,r){var u=[],a=[];return e.each((function(e){u.push(a,uy(r())),a=[",",ty],e.getValue()&&dy(e.getValue(),t)&&a.push(ny)}),n),u}function Cy(e,t,n,r){var u=[];return e.each((function(e,a,i){var o=a===i.length-1;u.push([n(),o?r:","]),o||u.push(dy(e.getValue(),t)?[ry,ry]:py(i[a+1],fy.Leading|fy.Line)?ry:ty)}),"elements"),oy(u)}var by=function(e,t,n){var r=e.getValue(),u=[],a="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)py(r,fy.Dangling)?u.push(uy([a,Zg(e,t),ny,"]"])):u.push(a,"]");else{var i=sy(r.elements),o=!(i&&"RestElement"===i.type),s=null===i,c=Symbol("array"),l=!t.__inJestEach&&r.elements.length>1&&r.elements.every((function(e,t,n){var r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;var u=n[t+1];if(u&&r!==u.type)return!1;var a="ArrayExpression"===r?"elements":"properties";return e[a]&&e[a].length>1})),p=vy(r,t),f=o?s?",":ly(t)?p?iy(",","",{groupId:c}):iy(","):"":"";u.push(uy([a,ay([ny,p?Cy(e,t,n,f):[Ey(e,t,"elements",n),f],Zg(e,t,!0)]),ny,"]"],{shouldBreak:l,id:c}))}return u.push(gy(e),yy(e,t,n)),u},Ay=Ey,Fy=vy,Sy=gp.printDanglingComments,wy=sn.getLast,xy=sn.getPenultimate,Ty=pd.getFunctionParameters,ky=pd.hasComment,By=pd.CommentCheckFlags,Ny=pd.isFunctionCompositionArgs,_y=pd.isJsxNode,Py=pd.isLongCurriedCallExpression,Oy=pd.shouldPrintComma,Iy=pd.getCallArguments,Ly=pd.iterateCallArgumentsPath,My=pd.isNextLineEmpty,Ry=pd.isCallExpression,jy=zn.builders,qy=jy.line,$y=jy.hardline,Vy=jy.softline,Uy=jy.group,Wy=jy.indent,Gy=jy.conditionalGroup,zy=jy.ifBreak,Hy=jy.breakParent,Xy=zn.utils.willBreak,Jy=du.ArgExpansionBailout,Yy=Fy;function Ky(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||ky(e))||"ArrayExpression"===e.type&&(e.elements.length>0||ky(e))||"TSTypeAssertion"===e.type&&Ky(e.expression)||"TSAsExpression"===e.type&&Ky(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||"BlockStatement"===(t=e.body).type&&(t.body.some((function(e){return"EmptyStatement"!==e.type}))||ky(t,By.Dangling)))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&Ky(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!n&&(Ry(e.body)||"ConditionalExpression"===e.body.type)||_y(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}var Qy=function(e,t,n){var r=e.getValue(),u="ImportExpression"===r.type,a=Iy(r);if(0===a.length)return["(",Sy(e,t,!0),")"];if(function(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===Ty(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((function(e){return ky(e)}))}(a))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];var i=!1,o=!1,s=a.length-1,c=[];Ly(e,(function(e,r){var u=e.getNode(),a=[n()];r===s||(My(u,t)?(0===r&&(o=!0),i=!0,a.push(",",$y,$y)):a.push(",",qy)),c.push(a)}));var l=u||r.callee&&"Import"===r.callee.type||!Oy(t,"all")?"":",";function p(){return Uy(["(",Wy([qy].concat(c)),l,qy,")"],{shouldBreak:!0})}if(i||"Decorator"!==e.getParentNode().type&&Ny(a))return p();var f=function(e){if(2!==e.length)return!1;var t=C(e,2),n=t[0],r=t[1];return!("ModuleExpression"!==n.type||!function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&"ObjectProperty"===e.properties[0].type&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&"StringLiteral"===e.properties[0].value.type&&"module"===e.properties[0].value.value}(r))||!ky(n)&&("FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type&&"BlockStatement"===n.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!Ky(r)}(a),d=function(e,t){var n=wy(e),r=xy(e);return!ky(n,By.Leading)&&!ky(n,By.Trailing)&&Ky(n)&&(!r||r.type!==n.type)&&(2!==e.length||"ArrowFunctionExpression"!==r.type||"ArrayExpression"!==n.type)&&!(e.length>1&&"ArrayExpression"===n.type&&Yy(n,t))}(a,t);if(f||d){if(f?c.slice(1).some(Xy):c.slice(0,-1).some(Xy))return p();var h=[];try{e.try((function(){Ly(e,(function(e,t){f&&0===t&&(h=[[n([],{expandFirstArg:!0}),c.length>1?",":"",o?$y:qy,o?$y:""]].concat(v(c.slice(1)))),d&&t===s&&(h=[].concat(v(c.slice(0,-1)),[n([],{expandLastArg:!0})]))}))}))}catch(e){if(e instanceof Jy)return p();throw e}return[c.some(Xy)?Hy:"",Gy([["("].concat(v(h),[")"]),f?["(",Uy(h[0],{shouldBreak:!0})].concat(v(h.slice(1)),[")"]):["("].concat(v(c.slice(0,-1)),[Uy(wy(h),{shouldBreak:!0}),")"]),p()])]}var D=["(",Wy([Vy].concat(c)),zy(l),Vy,")"];return Py(e)?D:Uy(D,{shouldBreak:c.some(Xy)||i})},Zy=zn.builders,ev=Zy.softline,tv=Zy.group,nv=Zy.indent,rv=Zy.label,uv=pd.isNumericLiteral,av=pd.isMemberExpression,iv=pd.isCallExpression,ov=Hg;function sv(e,t,n){var r=n("property"),u=e.getValue(),a=ov(e);return u.computed?!u.property||uv(u.property)?[a,"[",r,"]"]:tv([a,"[",nv([ev,r]),ev,"]"]):[a,".",r]}var cv=function(e,t,n){var r,u=e.getValue(),a=e.getParentNode(),i=0;do{r=e.getParentNode(i),i++}while(r&&(av(r)||"TSNonNullExpression"===r.type));var o=n("object"),s=sv(e,0,n),c=r&&("NewExpression"===r.type||"BindExpression"===r.type||"AssignmentExpression"===r.type&&"Identifier"!==r.left.type)||u.computed||"Identifier"===u.object.type&&"Identifier"===u.property.type&&!av(a)||("AssignmentExpression"===a.type||"VariableDeclarator"===a.type)&&(iv(u.object)&&u.object.arguments.length>0||"TSNonNullExpression"===u.object.type&&iv(u.object.expression)&&u.object.expression.arguments.length>0||"member-chain"===o.label);return rv("member-chain"===o.label?"member-chain":"member",[o,c?s:tv(nv([ev,s]))])},lv=sv,pv=gp.printComments,fv=sn.getLast,dv=sn.isNextLineEmptyAfterIndex,hv=sn.getNextNonSpaceNonCommentCharacterIndex,Dv=pd.isCallExpression,mv=pd.isMemberExpression,gv=pd.isFunctionOrArrowExpression,yv=pd.isLongCurriedCallExpression,vv=pd.isMemberish,Ev=pd.isNumericLiteral,Cv=pd.isSimpleCallArgument,bv=pd.hasComment,Av=pd.CommentCheckFlags,Fv=pd.isNextLineEmpty,Sv=ds,wv=zn.builders,xv=wv.join,Tv=wv.hardline,kv=wv.group,Bv=wv.indent,Nv=wv.conditionalGroup,_v=wv.breakParent,Pv=wv.label,Ov=zn.utils.willBreak,Iv=lv,Lv=Hg,Mv=Xg,Rv=Jg,jv=function(e,t,n){var r=e.getParentNode(),u=!r||"ExpressionStatement"===r.type,a=[];function i(e){var n=t.originalText,r=hv(n,e,Sv);return")"===n.charAt(r)?!1!==r&&dv(n,r+1):Fv(e,t)}function o(e){var r=e.getValue();Dv(r)&&(vv(r.callee)||Dv(r.callee))?(a.unshift({node:r,printed:[pv(e,[Lv(e),Mv(e,t,n),Qy(e,t,n)],t),i(r)?Tv:""]}),e.call((function(e){return o(e)}),"callee")):vv(r)?(a.unshift({node:r,needsParens:pm(e,t),printed:pv(e,mv(r)?Iv(e,t,n):Rv(e,t,n),t)}),e.call((function(e){return o(e)}),"object")):"TSNonNullExpression"===r.type?(a.unshift({node:r,printed:pv(e,"!",t)}),e.call((function(e){return o(e)}),"expression")):a.unshift({node:r,printed:n()})}var s=e.getValue();a.unshift({node:s,printed:[Lv(e),Mv(e,t,n),Qy(e,t,n)]}),s.callee&&e.call((function(e){return o(e)}),"callee");for(var c=[],l=[a[0]],p=1;p<a.length&&("TSNonNullExpression"===a[p].node.type||Dv(a[p].node)||mv(a[p].node)&&a[p].node.computed&&Ev(a[p].node.property));++p)l.push(a[p]);if(!Dv(a[0].node))for(;p+1<a.length&&vv(a[p].node)&&vv(a[p+1].node);++p)l.push(a[p]);c.push(l),l=[];for(var f=!1;p<a.length;++p){if(f&&vv(a[p].node)){if(a[p].node.computed&&Ev(a[p].node.property)){l.push(a[p]);continue}c.push(l),l=[],f=!1}(Dv(a[p].node)||"ImportExpression"===a[p].node.type)&&(f=!0),l.push(a[p]),bv(a[p].node,Av.Trailing)&&(c.push(l),l=[],f=!1)}function d(e){return/^[A-Z]|^[$_]+$/.test(e)}l.length>0&&c.push(l);var h=c.length>=2&&!bv(c[1][0].node)&&function(e){var n=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){var r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(d(r.name)||u&&function(e){return e.length<=t.tabWidth}(r.name)||n)}var a=fv(e[0]).node;return mv(a)&&"Identifier"===a.property.type&&(d(a.property.name)||n)}(c);function D(e){var t=e.map((function(e){return e.printed}));return e.length>0&&fv(e).needsParens?["("].concat(v(t),[")"]):t}var m=c.map(D),g=m,y=h?3:2,E=ns(c),C=E.slice(1,-1).some((function(e){return bv(e.node,Av.Leading)}))||E.slice(0,-1).some((function(e){return bv(e.node,Av.Trailing)}))||c[y]&&bv(c[y][0].node,Av.Leading);if(c.length<=y&&!C)return yv(e)?g:kv(g);var b,A=fv(c[h?1:0]).node,F=!Dv(A)&&i(A),S=[D(c[0]),h?c.slice(1,2).map(D):"",F?Tv:"",function(e){return 0===e.length?"":Bv(kv([Tv,xv(Tv,e.map(D))]))}(c.slice(h?2:1))],w=a.map((function(e){return e.node})).filter(Dv);return b=C||w.length>2&&w.some((function(e){return!e.arguments.every((function(e){return Cv(e,0)}))}))||m.slice(0,-1).some(Ov)||function(){var e=fv(fv(c)).node,t=fv(m);return Dv(e)&&Ov(t)&&w.slice(0,-1).some((function(e){return e.arguments.some(gv)}))}()?kv(S):[Ov(g)||F?_v:"",Nv([g,S])],Pv("member-chain",b)},qv=zn.builders,$v=qv.join,Vv=qv.group,Uv=pd.getCallArguments,Wv=pd.hasFlowAnnotationComment,Gv=pd.isCallExpression,zv=pd.isMemberish,Hv=pd.isStringLiteral,Xv=pd.isTemplateOnItsOwnLine,Jv=pd.isTestCall,Yv=pd.iterateCallArgumentsPath,Kv=Hg,Qv=Xg,Zv=function(e,t,n){var r=e.getValue(),u=e.getParentNode(),a="NewExpression"===r.type,i="ImportExpression"===r.type,o=Kv(e),s=Uv(r);if(s.length>0&&(!i&&!a&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){var n=Uv(e);return"ExpressionStatement"===t.type&&(1===n.length||2===n.length&&"ArrayExpression"===n[0].type||3===n.length&&Hv(n[0])&&"ArrayExpression"===n[1].type)}return!1}(r,u)||1===s.length&&Xv(s[0],t.originalText)||!a&&Jv(r,u))){var c=[];return Yv(e,(function(){c.push(n())})),[a?"new ":"",n("callee"),o,Qv(e,t,n),"(",$v(", ",c),")"]}var l=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&Wv(r.callee.trailingComments);if(l&&(r.callee.trailingComments[0].printed=!0),!i&&!a&&zv(r.callee)&&!e.call((function(e){return pm(e,t)}),"callee"))return jv(e,t,n);var p=[a?"new ":"",i?"import":n("callee"),o,l?"/*:: ".concat(r.callee.trailingComments[0].value.slice(2).trim()," */"):"",Qv(e,t,n),Qy(e,t,n)];return i||Gv(r.callee)?Vv(p):p},eE=sn.isNonEmptyArray,tE=sn.getStringWidth,nE=zn.builders,rE=nE.line,uE=nE.group,aE=nE.indent,iE=nE.indentIfBreak,oE=zn.utils.cleanDoc,sE=pd.hasLeadingOwnLineComment,cE=pd.isBinaryish,lE=pd.isStringLiteral,pE=pd.isLiteral,fE=pd.isNumericLiteral,dE=pd.isCallExpression,hE=pd.isMemberExpression,DE=pd.getCallArguments,mE=pd.rawText,gE=pd.hasComment,yE=pd.isSignedNumericLiteral,vE=Xm,EE=Zv;function CE(e,t,n,r,u,a){var i=function(e,t,n,r,u){var a=e.getValue(),i=a[u];if(!i)return"only-left";var o=!bE(i);if(e.match(bE,AE,(function(e){return!o||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type})))return o?"ArrowFunctionExpression"===i.type&&"ArrowFunctionExpression"===i.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!o&&bE(i.right)||sE(t.originalText,i))return"break-after-operator";if("CallExpression"===i.type&&"require"===i.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(AE(e)){var t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((function(e){return("ObjectProperty"===e.type||"Property"===e.type)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)}))}return!1}(a))return"break-lhs";var s=function(e,t,n){if("ObjectProperty"!==e.type&&"Property"!==e.type)return!1;return"string"==typeof(t=oE(t))&&tE(t)<n.tabWidth+3}(a,r,t);return e.call((function(){return function(e,t,n,r){var u=e.getValue();if(cE(u)&&!vE(u))return!0;switch(u.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":var a=u.test;return cE(a)&&!vE(a);case"ClassExpression":return eE(u.decorators)}if(r)return!1;for(var i=u,o=[];;)if("UnaryExpression"===i.type)i=i.argument,o.push("argument");else{if("TSNonNullExpression"!==i.type)break;i=i.expression,o.push("expression")}return!(!lE(i)&&!e.call.apply(e,[function(){return FE(e,t,n)}].concat(o)))}(e,t,n,s)}),u)?"break-after-operator":s||"TemplateLiteral"===i.type||"TaggedTemplateExpression"===i.type||"BooleanLiteral"===i.type||fE(i)||"ClassExpression"===i.type?"never-break-after-operator":"fluid"}(e,t,n,r,a),o=n(a,{assignmentLayout:i});switch(i){case"break-after-operator":return uE([uE(r),u,uE(aE([rE,o]))]);case"never-break-after-operator":return uE([uE(r),u," ",o]);case"fluid":var s=Symbol("assignment");return uE([uE(r),u,uE(aE(rE),{id:s}),iE(o,{groupId:s})]);case"break-lhs":return uE([r,u," ",uE(o)]);case"chain":return[uE(r),u,rE,o];case"chain-tail":return[uE(r),u,aE([rE,o])];case"chain-tail-arrow-chain":return[uE(r),u,o];case"only-left":return r}}function bE(e){return"AssignmentExpression"===e.type}function AE(e){return bE(e)||"VariableDeclarator"===e.type}function FE(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=e.getValue(),a=function(){return FE(e,t,n,!0)};if("TSNonNullExpression"===u.type)return e.call(a,"expression");if(dE(u)){if("member-chain"===EE(e,t,n).label)return!1;var i=DE(u);return!!(0===i.length||1===i.length&&function(e,t){var n=t.printWidth;if(gE(e))return!1;var r=.25*n;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=r||yE(e)&&!gE(e.argument))return!0;var u="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return u?u.length<=r:lE(e)?mE(e).length<=r:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=r&&!e.quasis[0].value.raw.includes("\n"):pE(e)}(i[0],t))&&e.call(a,"callee")}return hE(u)?e.call(a,"object"):r&&("Identifier"===u.type||"ThisExpression"===u.type)}var SE=function(e,t,n){return CE(e,t,n,n("id")," =","init")},wE=function(e,t,n){var r=e.getValue();return CE(e,t,n,n("left"),[" ",r.operator],"right")},xE=CE,TE=sn.getNextNonSpaceNonCommentCharacter,kE=gp.printDanglingComments,BE=zn.builders,NE=BE.line,_E=BE.hardline,PE=BE.softline,OE=BE.group,IE=BE.indent,LE=BE.ifBreak,ME=zn.utils,RE=ME.removeLines,jE=ME.willBreak,qE=pd.getFunctionParameters,$E=pd.iterateFunctionParametersPath,VE=pd.isSimpleType,UE=pd.isTestCall,WE=pd.isTypeAnnotationAFunction,GE=pd.isObjectType,zE=pd.isObjectTypePropertyAFunction,HE=pd.hasRestParameter,XE=pd.shouldPrintComma,JE=pd.hasComment,YE=pd.isNextLineEmpty,KE=ds,QE=du.ArgExpansionBailout,ZE=Xg;function eC(e){if(!e)return!1;var t=qE(e);if(1!==t.length)return!1;var n=C(t,1)[0];return!JE(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&GE(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&GE(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}var tC=function(e,t,n,r,u){var a=e.getValue(),i=qE(a),o=u?ZE(e,n,t):"";if(0===i.length)return[o,"(",kE(e,n,!0,(function(e){return")"===TE(n.originalText,e,KE)})),")"];var s=e.getParentNode(),c=UE(s),l=eC(a),p=[];if($E(e,(function(e,r){var u=r===i.length-1;u&&a.rest&&p.push("..."),p.push(t()),u||(p.push(","),c||l?p.push(" "):YE(i[r],n)?p.push(_E,_E):p.push(NE))})),r){if(jE(o)||jE(p))throw new QE;return OE([RE(o),"(",RE(p),")"])}var f=i.every((function(e){return!e.decorators}));return l&&f||c?[o,"("].concat(p,[")"]):(zE(s)||WE(s)||"TypeAlias"===s.type||"UnionTypeAnnotation"===s.type||"TSUnionType"===s.type||"IntersectionTypeAnnotation"===s.type||"FunctionTypeAnnotation"===s.type&&s.returnType===a)&&1===i.length&&null===i[0].name&&a.this!==i[0]&&i[0].typeAnnotation&&null===a.typeParameters&&VE(i[0].typeAnnotation)&&!a.rest?"always"===n.arrowParens?["("].concat(p,[")"]):p:[o,"(",IE([PE].concat(p)),LE(!HE(a)&&XE(n,"all")?",":""),PE,")"]},nC=eC,rC=function(e,t){var n=function(e){var t;return e.returnType?(t=e.returnType).typeAnnotation&&(t=t.typeAnnotation):e.typeAnnotation&&(t=e.typeAnnotation),t}(e);if(!n)return!1;var r=e.typeParameters&&e.typeParameters.params;if(r){if(r.length>1)return!1;if(1===r.length){var u=r[0];if(u.constraint||u.default)return!1}}return 1===qE(e).length&&(GE(n)||jE(t))},uC=gp.printComments,aC=gp.printDanglingComments,iC=sn.getLast,oC=zn.builders,sC=oC.group,cC=oC.join,lC=oC.line,pC=oC.softline,fC=oC.indent,dC=oC.align,hC=oC.ifBreak,DC=fs,mC=pd.isSimpleType,gC=pd.isObjectType,yC=pd.hasLeadingOwnLineComment,vC=pd.isObjectTypePropertyAFunction,EC=pd.shouldPrintComma,CC=xE,bC=tC,AC=rC,FC=Ay;function SC(e){if(mC(e)||gC(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){var t=e.types.filter((function(e){return"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type})).length,n=e.types.some((function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type}));if(e.types.length-1===t&&n)return!0}return!1}var wC=function(e,t,n){var r=t.semi?";":"",u=e.getValue(),a=[];return a.push("opaque type ",n("id"),n("typeParameters")),u.supertype&&a.push(": ",n("supertype")),u.impltype&&a.push(" = ",n("impltype")),a.push(r),a},xC=function(e,t,n){var r=t.semi?";":"",u=e.getValue(),a=[];u.declare&&a.push("declare "),a.push("type ",n("id"),n("typeParameters"));var i="TSTypeAliasDeclaration"===u.type?"typeAnnotation":"right";return[CC(e,t,n,a," =",i),r]},TC=function(e,t,n){for(var r=e.getValue(),u=e.map(n,"types"),a=[],i=!1,o=0;o<u.length;++o)0===o?a.push(u[o]):gC(r.types[o-1])&&gC(r.types[o])?a.push([" & ",i?fC(u[o]):u[o]]):gC(r.types[o-1])||gC(r.types[o])?(o>1&&(i=!0),a.push(" & ",o>1?fC(u[o]):u[o])):a.push(fC([" &",lC,u[o]]));return sC(a)},kC=function(e,t,n){var r=e.getValue(),u=e.getParentNode(),a=!("TypeParameterInstantiation"===u.type||"TSTypeParameterInstantiation"===u.type||"GenericTypeAnnotation"===u.type||"TSTypeReference"===u.type||"TSTypeAssertion"===u.type||"TupleTypeAnnotation"===u.type||"TSTupleType"===u.type||"FunctionTypeParam"===u.type&&!u.name&&e.getParentNode(1).this!==u||("TypeAlias"===u.type||"VariableDeclarator"===u.type||"TSTypeAliasDeclaration"===u.type)&&yC(t.originalText,r)),i=SC(r),o=e.map((function(e){var r=n();return i||(r=dC(2,r)),uC(e,r,t)}),"types");if(i)return cC(" | ",o);var s=a&&!yC(t.originalText,r),c=[hC([s?lC:"","| "]),cC([lC,"| "],o)];return pm(e,t)?sC([fC(c),pC]):"TupleTypeAnnotation"===u.type&&u.types.length>1||"TSTupleType"===u.type&&u.elementTypes.length>1?sC([fC([hC(["(",pC]),c]),pC,hC(")")]):sC(a?fC(c):c)},BC=function(e,t,n){var r=e.getValue(),u=[],a=e.getParentNode(0),i=e.getParentNode(1),o=e.getParentNode(2),s="TSFunctionType"===r.type||!(("ObjectTypeProperty"===a.type||"ObjectTypeInternalSlot"===a.type)&&!a.variance&&!a.optional&&DC(a)===DC(r)||"ObjectTypeCallProperty"===a.type||o&&"DeclareFunction"===o.type),c=s&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type),l=c&&s&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type)&&"ArrowFunctionExpression"===i.type;vC(a)&&(s=!0,c=!0),l&&u.push("(");var p=bC(e,n,t,!1,!0),f=r.returnType||r.predicate||r.typeAnnotation?[s?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",d=AC(r,f);return u.push(d?sC(p):p),f&&u.push(f),l&&u.push(")"),sC(u)},NC=function(e,t,n){var r=e.getValue(),u="TSTupleType"===r.type?"elementTypes":"types",a=r[u].length>0&&"TSRestType"===iC(r[u]).type;return sC(["[",fC([pC,FC(e,t,u,n)]),hC(EC(t,"all")&&!a?",":""),aC(e,t,!0),pC,"]"])},_C=function(e,t,n){var r=e.getValue(),u="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),u,n("indexType"),"]"]},PC=SC,OC=gp.printDanglingComments,IC=zn.builders,LC=IC.join,MC=IC.line,RC=IC.hardline,jC=IC.softline,qC=IC.group,$C=IC.indent,VC=IC.ifBreak,UC=pd.isTestCall,WC=pd.hasComment,GC=pd.CommentCheckFlags,zC=pd.isTSXFile,HC=pd.shouldPrintComma,XC=pd.getFunctionParameters,JC=PC,YC=(0,sn.createGroupIdMapper)("typeParameters");function KC(e,t){var n=e.getValue();if(!WC(n,GC.Dangling))return"";var r=!WC(n,GC.Line),u=OC(e,t,r);return r?u:[u,RC]}var QC={printTypeParameter:function(e,t,n){var r=e.getValue(),u=[],a=e.getParentNode();return"TSMappedType"===a.type?(u.push("[",n("name")),r.constraint&&u.push(" in ",n("constraint")),a.nameType&&u.push(" as ",e.callParent((function(){return n("nameType")}))),u.push("]"),u):(r.variance&&u.push(n("variance")),u.push(n("name")),r.bound&&u.push(": ",n("bound")),r.constraint&&u.push(" extends ",n("constraint")),r.default&&u.push(" = ",n("default")),u)},printTypeParameters:function(e,t,n,r){var u=e.getValue();if(!u[r])return"";if(!Array.isArray(u[r]))return n(r);var a=e.getNode(2);if(a&&UC(a)||0===u[r].length||1===u[r].length&&(JC(u[r][0])||"NullableTypeAnnotation"===u[r][0].type))return["<",LC(", ",e.map(n,r)),KC(e,t),">"];var i="TSTypeParameterInstantiation"===u.type?"":1===XC(u).length&&zC(t)&&!u[r][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":HC(t,"all")?VC(","):"";return qC(["<",$C([jC,LC([",",MC],e.map(n,r))]),i,jC,">"],{id:YC(u)})},getTypeParametersGroupId:YC},ZC=gp.printComments,eb=sn.printString,tb=sn.printNumber,nb=pd.isNumericLiteral,rb=pd.isSimpleNumber,ub=pd.isStringLiteral,ab=pd.isStringPropSafeToUnquote,ib=pd.rawText,ob=xE,sb=new WeakMap;function cb(e,t,n){var r=e.getNode();if(r.computed)return["[",n("key"),"]"];var u=e.getParentNode(),a=r.key;if("ClassPrivateProperty"===r.type&&"Identifier"===a.type)return["#",n("key")];if("consistent"===t.quoteProps&&!sb.has(u)){var i=(u.properties||u.body||u.members).some((function(e){return!e.computed&&e.key&&ub(e.key)&&!ab(e,t)}));sb.set(u,i)}if(("Identifier"===a.type||nb(a)&&rb(tb(ib(a)))&&String(a.value)===tb(ib(a))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&sb.get(u))){var o=eb(JSON.stringify("Identifier"===a.type?a.name:a.value.toString()),t);return e.call((function(e){return ZC(e,o,t)}),"key")}return ab(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!sb.get(u))?e.call((function(e){return ZC(e,/^\d/.test(a.value)?tb(a.value):a.value,t)}),"key"):n("key")}var lb=function(e,t,n){return e.getValue().shorthand?n("value"):ob(e,t,n,cb(e,t,n),":","value")},pb=cb,fb=gp.printDanglingComments,db=gp.printCommentsSeparately,hb=sn.getNextNonSpaceNonCommentCharacterIndex,Db=zn.builders,mb=Db.line,gb=Db.softline,yb=Db.group,vb=Db.indent,Eb=Db.ifBreak,Cb=Db.hardline,bb=Db.join,Ab=Db.indentIfBreak,Fb=pd.getFunctionParameters,Sb=pd.hasLeadingOwnLineComment,wb=pd.isFlowAnnotationComment,xb=pd.isJsxNode,Tb=pd.isTemplateOnItsOwnLine,kb=pd.shouldPrintComma,Bb=pd.startsWithNoLookaheadToken,Nb=pd.returnArgumentHasLeadingComment,_b=pd.isBinaryish,Pb=pd.isLineComment,Ob=pd.hasComment,Ib=pd.getComments,Lb=pd.CommentCheckFlags,Mb=pd.isCallLikeExpression,Rb=ds,jb=tC,qb=rC,$b=pb,Vb=Xg;function Ub(e,t,n){var r=e.getNode(),u=jb(e,n,t),a=Gb(e,n,t),i=qb(r,a),o=[Vb(e,t,n),yb([i?yb(u):u,a])];return r.body?o.push(" ",n("body")):o.push(t.semi?";":""),o}function Wb(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&function(e){var t=Fb(e);return!(1!==t.length||e.typeParameters||Ob(e,Lb.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||Ob(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue())}function Gb(e,t,n){var r=e.getValue(),u=t("returnType");if(r.returnType&&wb(n.originalText,r.returnType))return[" /*: ",u," */"];var a=[u];return r.returnType&&r.returnType.typeAnnotation&&a.unshift(": "),r.predicate&&a.push(r.returnType?" ":": ",t("predicate")),a}function zb(e,t,n){var r=e.getValue(),u=t.semi?";":"",a=[];r.argument&&(Nb(t,r.argument)?a.push([" (",vb([Cb,n("argument")]),Cb,")"]):_b(r.argument)||"SequenceExpression"===r.argument.type?a.push(yb([Eb(" ("," "),vb([gb,n("argument")]),gb,Eb(")")])):a.push(" ",n("argument")));var i=Ib(r),o=Ie(i),s=o&&Pb(o);return s&&a.push(u),Ob(r,Lb.Dangling)&&a.push(" ",fb(e,t,!0)),s||a.push(u),a}var Hb=function(e,t,n,r){var u=e.getValue(),a=[];"TSDeclareFunction"===u.type&&u.declare&&a.push("declare "),u.async&&a.push("async "),u.generator?a.push("function* "):a.push("function "),u.id&&a.push(t("id"));var i=jb(e,t,n,r),o=Gb(e,t,n),s=qb(u,o);return a.push(Vb(e,n,t),yb([s?yb(i):i,o]),u.body?" ":"",t("body")),!n.semi||!u.declare&&u.body||a.push(";"),a},Xb=function(e,t,n,r){var u=e.getValue(),a=[],i=[],o=!1;if(function s(){var c=function(e,t,n,r){var u=[];e.getValue().async&&u.push("async "),Wb(e,t)?u.push(n(["params",0])):u.push(yb([jb(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),Gb(e,n,t)]));var a=fb(e,t,!0,(function(e){var n=hb(t.originalText,e,Rb);return!1!==n&&"=>"===t.originalText.slice(n,n+2)}));return a&&u.push(" ",a),u}(e,t,n,r);if(0===a.length)a.push(c);else{var l=db(e,t),p=l.leading,f=l.trailing;a.push([p,c]),i.unshift(f)}o=o||u.returnType&&Fb(u).length>0||u.typeParameters||Fb(u).some((function(e){return"Identifier"!==e.type})),"ArrowFunctionExpression"!==u.body.type||r&&r.expandLastArg?i.unshift(n("body",r)):(u=u.body,e.call(s,"body"))}(),a.length>1)return function(e,t,n,r,u,a){var i=e.getName(),o=e.getParentNode(),s=Mb(o)&&"callee"===i,c=Boolean(t&&t.assignmentLayout),l="BlockStatement"!==a.body.type&&"ObjectExpression"!==a.body.type,p=s&&l||t&&"chain-tail-arrow-chain"===t.assignmentLayout,f=Symbol("arrow-chain");return yb([yb(vb([s||c?gb:"",yb(bb([" =>",mb],n),{shouldBreak:r})]),{id:f,shouldBreak:p})," =>",Ab(l?vb([mb,u]):[" ",u],{groupId:f}),s?Eb(gb,"",{groupId:f}):""])}(e,r,a,o,i,u);var s=a;if(s.push(" =>"),!Sb(t.originalText,u.body)&&("ArrayExpression"===u.body.type||"ObjectExpression"===u.body.type||"BlockStatement"===u.body.type||xb(u.body)||Tb(u.body,t.originalText)||"ArrowFunctionExpression"===u.body.type||"DoExpression"===u.body.type))return yb([].concat(s,[" ",i]));if("SequenceExpression"===u.body.type)return yb([].concat(s,[yb([" (",vb([gb,i]),gb,")"])]));var c=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!Ob(u),l=r&&r.expandLastArg&&kb(t,"all"),p="ConditionalExpression"===u.body.type&&!Bb(u.body,!1);return yb([].concat(s,[yb([vb([mb,p?Eb("","("):"",i,p?Eb("",")"):""]),c?[Eb(l?",":""),gb]:""])]))},Jb=function(e,t,n){var r=e.getNode(),u=r.kind,a=r.value||r,i=[];return u&&"init"!==u&&"method"!==u&&"constructor"!==u?(Wl.ok("get"===u||"set"===u),i.push(u," ")):a.async&&i.push("async "),a.generator&&i.push("*"),i.push($b(e,t,n),r.optional||r.key.optional?"?":""),r===a?i.push(Ub(e,t,n)):"FunctionExpression"===a.type?i.push(e.call((function(e){return Ub(e,t,n)}),"value")):i.push(n("value")),i},Yb=function(e,t,n){return["return",zb(e,t,n)]},Kb=function(e,t,n){return["throw",zb(e,t,n)]},Qb=Ub,Zb=Wb,eA=sn.isNonEmptyArray,tA=sn.hasNewline,nA=zn.builders,rA=nA.line,uA=nA.hardline,aA=nA.join,iA=nA.breakParent,oA=nA.group,sA=fs,cA=ds,lA=pd.getParentExportDeclaration;function pA(e,t){return e.decorators.some((function(e){return tA(t.originalText,cA(e))}))}function fA(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;var t=e.declaration&&e.declaration.decorators;return eA(t)&&sA(e,{ignoreDecorators:!0})>sA(t[0])}var dA=function(e,t,n){var r=e.getValue(),u=r.decorators;if(eA(u)&&!fA(e.getParentNode())){var a="ClassExpression"===r.type||"ClassDeclaration"===r.type||pA(r,t);return[lA(e)?uA:a?iA:"",aA(rA,e.map(n,"decorators")),rA]}},hA=function(e,t,n){var r=e.getValue();return oA([aA(rA,e.map(n,"decorators")),pA(r,t)?uA:rA])},DA=function(e,t,n){return[aA(uA,e.map(n,"declaration","decorators")),uA]},mA=fA,gA=sn.isNonEmptyArray,yA=sn.createGroupIdMapper,vA=gp.printComments,EA=gp.printDanglingComments,CA=zn.builders,bA=CA.join,AA=CA.line,FA=CA.hardline,SA=CA.softline,wA=CA.group,xA=CA.indent,TA=CA.ifBreak,kA=pd.hasComment,BA=pd.CommentCheckFlags,NA=QC.getTypeParametersGroupId,_A=Jb,PA=Hg,OA=Kg,IA=pb,LA=xE,MA=hA,RA=yA("heritageGroup");function jA(e){return e.typeParameters&&!kA(e.typeParameters,BA.Trailing|BA.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter((function(t){return Boolean(e[t])})).length>1}(e)}function qA(e,t,n,r){var u=e.getValue();if(!gA(u[r]))return"";var a=EA(e,t,!0,(function(e){return e.marker===r}));return[jA(u)?TA(" ",AA,{groupId:NA(u.typeParameters)}):AA,a,a&&FA,r,wA(xA([AA,bA([",",AA],e.map(n,r))]))]}function $A(e,t,n){var r=n("superClass");return"AssignmentExpression"===e.getParentNode().type?wA(TA(["(",xA([SA,r]),SA,")"],r)):r}var VA=function(e,t,n){var r=e.getValue(),u=[];r.declare&&u.push("declare "),r.abstract&&u.push("abstract "),u.push("class");var a,i=r.id&&kA(r.id,BA.Trailing)||r.superClass&&kA(r.superClass)||gA(r.extends)||gA(r.mixins)||gA(r.implements),o=[],s=[];if(r.id&&o.push(" ",n("id")),o.push(n("typeParameters")),r.superClass){var c=["extends ",$A(e,0,n),n("superTypeParameters")],l=e.call((function(e){return vA(e,c,t)}),"superClass");i?s.push(AA,wA(l)):s.push(" ",l)}else s.push(qA(e,t,n,"extends"));return s.push(qA(e,t,n,"mixins"),qA(e,t,n,"implements")),i?(a=jA(r)?[].concat(o,[xA(s)]):xA([].concat(o,[s])),u.push(wA(a,{id:RA(r)}))):u.push.apply(u,o.concat(s)),u.push(" ",n("body")),u},UA=function(e,t,n){var r=e.getValue(),u=[];return gA(r.decorators)&&u.push(MA(e,t,n)),r.accessibility&&u.push(r.accessibility+" "),r.readonly&&u.push("readonly "),r.declare&&u.push("declare "),r.static&&u.push("static "),r.override&&u.push("override "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&u.push("abstract "),u.push(_A(e,t,n)),u},WA=function(e,t,n){var r=e.getValue(),u=[],a=t.semi?";":"";return gA(r.decorators)&&u.push(MA(e,t,n)),r.accessibility&&u.push(r.accessibility+" "),r.declare&&u.push("declare "),r.static&&u.push("static "),r.override&&u.push("override "),("TSAbstractClassProperty"===r.type||r.abstract)&&u.push("abstract "),r.readonly&&u.push("readonly "),r.variance&&u.push(n("variance")),u.push(IA(e,t,n),PA(e),OA(e,t,n)),[LA(e,t,n,u," =","value"),a]},GA=function(e){return TA(FA,"",{groupId:RA(e)})},zA=sn.isNonEmptyArray,HA=zn.builders,XA=HA.join,JA=HA.line,YA=HA.group,KA=HA.indent,QA=HA.ifBreak,ZA=pd.hasComment,eF=pd.identity,tF=pd.CommentCheckFlags,nF=QC.getTypeParametersGroupId,rF=Yg,uF=function(e,t,n){var r=e.getValue(),u=[];r.declare&&u.push("declare "),"TSInterfaceDeclaration"===r.type&&u.push(r.abstract?"abstract ":"",rF(e,t,n)),u.push("interface");var a=[],i=[];"InterfaceTypeAnnotation"!==r.type&&a.push(" ",n("id"),n("typeParameters"));var o=r.typeParameters&&!ZA(r.typeParameters,tF.Trailing|tF.Line);return zA(r.extends)&&i.push(o?QA(" ",JA,{groupId:nF(r.typeParameters)}):JA,"extends ",(1===r.extends.length?eF:KA)(XA([",",JA],e.map(n,"extends")))),r.id&&ZA(r.id,tF.Trailing)||zA(r.extends)?o?u.push(YA([].concat(a,[KA(i)]))):u.push(YA(KA([].concat(a,i)))):u.push.apply(u,a.concat(i)),u.push(" ",n("body")),YA(u)},aF=sn.isNonEmptyArray,iF=zn.builders,oF=iF.softline,sF=iF.group,cF=iF.indent,lF=iF.join,pF=iF.line,fF=iF.ifBreak,dF=iF.hardline,hF=gp.printDanglingComments,DF=pd.hasComment,mF=pd.CommentCheckFlags,gF=pd.shouldPrintComma,yF=pd.needsHardlineAfterDanglingComment,vF=fs,EF=Ds,CF=mA,bF=DA;function AF(e,t,n){var r=e.getValue();if(!r.source)return"";var u=[];return SF(r,t)||u.push(" from"),u.push(" ",n("source")),u}function FF(e,t,n){var r=e.getValue();if(SF(r,t))return"";var u=[" "];if(aF(r.specifiers)){var a=[],i=[];e.each((function(){var t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)a.push(n());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error("Unknown specifier type ".concat(JSON.stringify(t)));i.push(n())}}),"specifiers"),u.push(lF(", ",a)),i.length>0&&(a.length>0&&u.push(", "),i.length>1||a.length>0||r.specifiers.some((function(e){return DF(e)}))?u.push(sF(["{",cF([t.bracketSpacing?pF:oF,lF([",",pF],i)]),fF(gF(t)?",":""),t.bracketSpacing?pF:oF,"}"])):u.push(["{",t.bracketSpacing?" ":""].concat(i,[t.bracketSpacing?" ":"","}"])))}else u.push("{}");return u}function SF(e,t){var n=e.type,r=e.importKind,u=e.source,a=e.specifiers;return"ImportDeclaration"===n&&!aF(a)&&"type"!==r&&!/{\s*}/.test(t.originalText.slice(vF(e),vF(u)))}function wF(e,t,n){var r=e.getNode();return aF(r.assertions)?[" assert {",t.bracketSpacing?" ":"",lF(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}var xF=function(e,t,n){var r=e.getValue(),u=t.semi?";":"",a=[],i=r.importKind;return a.push("import"),i&&"value"!==i&&a.push(" ",i),a.push(FF(e,t,n),AF(e,t,n),wF(e,t,n),u),a},TF=function(e,t,n){var r=e.getValue(),u=[];CF(r)&&u.push(bF(e,t,n));var a=r.type,i=r.exportKind,o=r.declaration;return u.push("export"),(r.default||"ExportDefaultDeclaration"===a)&&u.push(" default"),DF(r,mF.Dangling)&&(u.push(" ",hF(e,t,!0)),yF(r)&&u.push(dF)),o?u.push(" ",n("declaration")):u.push("type"===i?" type":"",FF(e,t,n),AF(e,t,n),wF(e,t,n)),function(e,t){if(!t.semi)return!1;var n=e.type,r=e.declaration,u=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;var a=r.type;return!(!u||"ClassDeclaration"===a||"FunctionDeclaration"===a||"TSInterfaceDeclaration"===a||"DeclareClass"===a||"DeclareFunction"===a||"TSDeclareFunction"===a||"EnumDeclaration"===a)}(r,t)&&u.push(";"),u},kF=function(e,t,n){var r=e.getValue(),u=t.semi?";":"",a=[],i=r.exportKind,o=r.exported;return a.push("export"),"type"===i&&a.push(" type"),a.push(" *"),o&&a.push(" as ",n("exported")),a.push(AF(e,t,n),wF(e,t,n),u),a},BF=function(e,t,n){var r=e.getNode(),u=r.type,a=r.importKind,i=[];"ImportSpecifier"===u&&a&&i.push(a," ");var o=u.startsWith("Import"),s=o?"imported":"local",c=o?"local":"exported",l="",p="";return"ExportNamespaceSpecifier"===u||"ImportNamespaceSpecifier"===u?l="*":r[s]&&(l=n(s)),!r[c]||r[s]&&EF(r[s],r[c])||(p=n(c)),i.push(l,l&&p?" as ":"",p),i},NF=pd.getParentExportDeclaration,_F=VA,PF=wC,OF=xC,IF=TC,LF=kC,MF=BC,RF=NC,jF=_C,qF=uF,$F=QC.printTypeParameters,VF=TF,UF=kF;function WF(e,t){var n=NF(e);return n?(Wl.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}var GF=function(e,t,n){var r=e.getValue(),u=t.semi?";":"";switch(r.type){case"DeclareClass":return WF(e,_F(e,t,n));case"DeclareFunction":return WF(e,["function ",n("id"),r.predicate?" ":"",n("predicate"),u]);case"DeclareModule":return WF(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return WF(e,["module.exports",": ",n("typeAnnotation"),u]);case"DeclareVariable":return WF(e,["var ",n("id"),u]);case"DeclareOpaqueType":return WF(e,PF(e,t,n));case"DeclareInterface":return WF(e,qF(e,t,n));case"DeclareTypeAlias":return WF(e,OF(e,t,n));case"DeclareExportDeclaration":return WF(e,VF(e,t,n));case"DeclareExportAllDeclaration":return WF(e,UF(e,t,n));case"OpaqueType":return PF(e,t,n);case"TypeAlias":return OF(e,t,n);case"IntersectionTypeAnnotation":return IF(e,t,n);case"UnionTypeAnnotation":return LF(e,t,n);case"FunctionTypeAnnotation":return MF(e,t,n);case"TupleTypeAnnotation":return RF(e,t,n);case"GenericTypeAnnotation":return[n("id"),$F(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return jF(e,t,n);case"TypeAnnotation":return n("typeAnnotation")}},zF=sn.hasNewlineInRange,HF=pd.isJsxNode,XF=pd.isBlockComment,JF=pd.getComments,YF=pd.isCallExpression,KF=pd.isMemberExpression,QF=fs,ZF=ds,eS=zn.builders,tS=eS.line,nS=eS.softline,rS=eS.group,uS=eS.indent,aS=eS.align,iS=eS.ifBreak,oS=eS.dedent,sS=eS.breakParent;function cS(e,t,n){var r=e.getValue(),u="ConditionalExpression"===r.type,a=u?"alternate":"falseType",i=e.getParentNode(),o=u?n("test"):[n("checkType")," ","extends"," ",n("extendsType")];return i.type===r.type&&i[a]===r?aS(2,o):o}var lS=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]),pS=function(e,t,n){var r,u,a=e.getValue(),i="ConditionalExpression"===a.type,o=i?"consequent":"trueType",s=i?"alternate":"falseType",c=i?["test"]:["checkType","extendsType"],l=a[o],p=a[s],f=[],d=!1,h=e.getParentNode(),D=h.type===a.type&&c.some((function(e){return h[e]===a})),m=h.type===a.type&&!D,g=0;do{u=r||a,r=e.getParentNode(g),g++}while(r&&r.type===a.type&&c.every((function(e){return r[e]!==u})));var y=r||h,E=u;if(i&&(HF(a[c[0]])||HF(l)||HF(p)||function(e){for(var t=[e],n=0;n<t.length;n++)for(var r=t[n],u=0,a=["test","consequent","alternate"];u<a.length;u++){var i=r[a[u]];if(HF(i))return!0;"ConditionalExpression"===i.type&&t.push(i)}return!1}(E))){d=!0,m=!0;var C=function(e){return[iS("("),uS([nS,e]),nS,iS(")")]},b=function(e){return"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name};f.push(" ? ",b(l)?n(o):C(n(o))," : ",p.type===a.type||b(p)?n(s):C(n(s)))}else{var A=[tS,"? ",l.type===a.type?iS("","("):"",aS(2,n(o)),l.type===a.type?iS("",")"):"",tS,": ",p.type===a.type?n(s):aS(2,n(s))];f.push(h.type!==a.type||h[s]===a||D?A:t.useTabs?oS(uS(A)):aS(Math.max(0,t.tabWidth-2),A))}var F,S=ns([].concat(v(c.map((function(e){return JF(a[e])}))),[JF(l),JF(p)])).some((function(e){return XF(e)&&zF(t.originalText,QF(e),ZF(e))})),w=!d&&(KF(h)||"NGPipeExpression"===h.type&&h.left===a)&&!h.computed,x=function(e){var t=e.getValue();if("ConditionalExpression"!==t.type)return!1;for(var n,r=t,u=0;!n;u++){var a=e.getParentNode(u);YF(a)&&a.callee===r||KF(a)&&a.object===r||"TSNonNullExpression"===a.type&&a.expression===r?r=a:"NewExpression"===a.type&&a.callee===r||"TSAsExpression"===a.type&&a.expression===r?(n=e.getParentNode(u+1),r=a):n=a}return r!==t&&n[lS.get(n.type)]===r}(e),T=(F=[cS(e,0,n),m?f:uS(f),i&&w&&!x?nS:""],h===y?rS(F,{shouldBreak:S}):S?[F,sS]:F);return D||x?rS([uS([nS,T]),nS]):T},fS=gp.printDanglingComments,dS=zn.builders,hS=dS.line,DS=dS.softline,mS=dS.group,gS=dS.indent,yS=dS.ifBreak,vS=dS.hardline,ES=sn.getLast,CS=sn.hasNewlineInRange,bS=sn.hasNewline,AS=sn.isNonEmptyArray,FS=pd.shouldPrintComma,SS=pd.hasComment,wS=pd.getComments,xS=pd.CommentCheckFlags,TS=pd.isNextLineEmpty,kS=fs,BS=ds,NS=Hg,_S=Kg,PS=nC,OS=PC,IS=GA,LS=function(e,t,n){var r,u=t.semi?";":"",a=e.getValue();r="TSTypeLiteral"===a.type?"members":"TSInterfaceBody"===a.type?"body":"properties";var i="ObjectTypeAnnotation"===a.type,o=[r];i&&o.push("indexers","callProperties","internalSlots");for(var s=o.map((function(e){return a[e][0]})).sort((function(e,t){return kS(e)-kS(t)}))[0],c=e.getParentNode(0),l=i&&c&&("InterfaceDeclaration"===c.type||"DeclareInterface"===c.type||"DeclareClass"===c.type)&&"body"===e.getName(),p="TSInterfaceBody"===a.type||l||"ObjectPattern"===a.type&&"FunctionDeclaration"!==c.type&&"FunctionExpression"!==c.type&&"ArrowFunctionExpression"!==c.type&&"ObjectMethod"!==c.type&&"ClassMethod"!==c.type&&"ClassPrivateMethod"!==c.type&&"AssignmentPattern"!==c.type&&"CatchClause"!==c.type&&a.properties.some((function(e){return e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)}))||"ObjectPattern"!==a.type&&s&&CS(t.originalText,kS(a),kS(s)),f=l?";":"TSInterfaceBody"===a.type||"TSTypeLiteral"===a.type?yS(u,";"):",",d="RecordExpression"===a.type?"#{":a.exact?"{|":"{",h=a.exact?"|}":"}",D=[],m=0,g=o;m<g.length;m++){var y=g[m];e.each((function(e){var t=e.getValue();D.push({node:t,printed:n(),loc:kS(t)})}),y)}o.length>1&&D.sort((function(e,t){return e.loc-t.loc}));var E=[],C=D.map((function(e){var n=[].concat(v(E),[mS(e.printed)]);return E=[f,hS],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!SS(e.node,xS.PrettierIgnore)||E.shift(),TS(e.node,t)&&E.push(vS),n}));if(a.inexact){var b;if(SS(a,xS.Dangling)){var A=SS(a,xS.Line);b=[fS(e,t,!0),A||bS(t.originalText,BS(ES(wS(a))))?vS:hS,"..."]}else b=["..."];C.push([].concat(v(E),v(b)))}var F,S=ES(a[r]),w=!(a.inexact||S&&"RestElement"===S.type||S&&("TSPropertySignature"===S.type||"TSCallSignatureDeclaration"===S.type||"TSMethodSignature"===S.type||"TSConstructSignatureDeclaration"===S.type)&&SS(S,xS.PrettierIgnore));if(0===C.length){if(!SS(a,xS.Dangling))return[d,h,_S(e,t,n)];F=mS([d,fS(e,t),DS,h,NS(e),_S(e,t,n)])}else F=[l&&AS(a.properties)?IS(c):"",d,gS([t.bracketSpacing?hS:DS].concat(v(C))),yS(w&&(","!==f||FS(t))?f:""),t.bracketSpacing?hS:DS,h,NS(e),_S(e,t,n)];return e.match((function(e){return"ObjectPattern"===e.type&&!e.decorators}),(function(e,t,n){return PS(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n}))||e.match(OS,(function(e,t){return"typeAnnotation"===t}),(function(e,t){return"typeAnnotation"===t}),(function(e,t,n){return PS(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n}))||!p&&e.match((function(e){return"ObjectPattern"===e.type}),(function(e){return"AssignmentExpression"===e.type||"VariableDeclarator"===e.type}))?F:mS(F,{shouldBreak:p})},MS=zn.builders.hardline,RS=pd.getLeftSidePathName,jS=pd.hasNakedLeftSide,qS=pd.isJsxNode,$S=pd.isTheOnlyJsxElementInMarkdown,VS=pd.hasComment,US=pd.CommentCheckFlags,WS=pd.isNextLineEmpty,GS=Zb;function zS(e,t,n,r){var u=e.getValue(),a=[],i="ClassBody"===u.type,o=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t];if("EmptyStatement"!==n.type)return n}}(u[r]);return e.each((function(e,r,u){var s=e.getValue();if("EmptyStatement"!==s.type){var c=n();t.semi||i||$S(t,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((function(e){return HS(e,t)}),"expression")}(e,t)?a.push(c):VS(s,US.Leading)?a.push(n([],{needsSemi:!0})):a.push(";",c),!t.semi&&i&&XS(s)&&function(e,t){var n=e.key&&e.key.name;if(!("static"!==n&&"get"!==n&&"set"!==n||e.value||e.typeAnnotation))return!0;if(!t)return!1;if(t.static||t.accessibility)return!1;if(!t.computed){var r=t.key&&t.key.name;if("in"===r||"instanceof"===r)return!0}switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractClassProperty":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;var u=t.value?t.value.generator:t.generator;return!(!t.computed&&!u);case"TSIndexSignature":return!0}return!1}(s,u[r+1])&&a.push(";"),s!==o&&(a.push(MS),WS(s,t)&&a.push(MS))}}),r),a}function HS(e,t){var n=e.getValue();switch(n.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!GS(e,t))return!0;break;case"UnaryExpression":var r=n.prefix,u=n.operator;if(r&&("+"===u||"-"===u))return!0;break;case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(qS(n))return!0}return!!pm(e,t)||!!jS(n)&&e.call.apply(e,[function(e){return HS(e,t)}].concat(v(RS(e,n))))}var XS=function(e){var t=e.type;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t},JS=function(e,t,n){return zS(e,t,n,"body")},YS=function(e,t,n){return zS(e,t,n,"consequent")},KS=gp.printDanglingComments,QS=sn.isNonEmptyArray,ZS=zn.builders,ew=ZS.hardline,tw=ZS.indent,nw=pd.hasComment,rw=pd.CommentCheckFlags,uw=pd.isNextLineEmpty,aw=GA,iw=JS;function ow(e,t,n){var r=e.getValue(),u=QS(r.directives),a=r.body.some((function(e){return"EmptyStatement"!==e.type})),i=nw(r,rw.Dangling);if(!u&&!a&&!i)return"";var o=[];if(u&&e.each((function(e,r,u){o.push(n()),(r<u.length-1||a||i)&&(o.push(ew),uw(e.getValue(),t)&&o.push(ew))}),"directives"),a&&o.push(iw(e,t,n)),i&&o.push(KS(e,t,!0)),"Program"===r.type){var s=e.getParentNode();s&&"ModuleExpression"===s.type||o.push(ew)}return o}var sw=function(e,t,n){var r=e.getValue(),u=[];if("StaticBlock"===r.type&&u.push("static "),"ClassBody"===r.type&&QS(r.body)){var a=e.getParentNode();u.push(aw(a))}u.push("{");var i=ow(e,t,n);if(i)u.push(tw([ew,i]),ew);else{var o=e.getParentNode(),s=e.getParentNode(1);"ArrowFunctionExpression"===o.type||"FunctionExpression"===o.type||"FunctionDeclaration"===o.type||"ObjectMethod"===o.type||"ClassMethod"===o.type||"ClassPrivateMethod"===o.type||"ForStatement"===o.type||"WhileStatement"===o.type||"DoWhileStatement"===o.type||"DoExpression"===o.type||"CatchClause"===o.type&&!s.finalizer||"TSModuleDeclaration"===o.type||"TSDeclareFunction"===o.type||"StaticBlock"===r.type||"ClassBody"===r.type||u.push(ew)}return u.push("}"),u},cw=ow,lw=gp.printDanglingComments,pw=sn.hasNewlineInRange,fw=zn.builders,dw=fw.join,hw=fw.line,Dw=fw.hardline,mw=fw.softline,gw=fw.group,yw=fw.indent,vw=fw.conditionalGroup,Ew=fw.ifBreak,Cw=pd.isLiteral,bw=pd.getTypeScriptMappedTypeModifier,Aw=pd.shouldPrintComma,Fw=pd.isCallExpression,Sw=pd.isMemberExpression,ww=fs,xw=ds,Tw=Hg,kw=Yg,Bw=pS,Nw=tC,_w=rC,Pw=Nd,Ow=Ay,Iw=LS,Lw=WA,Mw=UA,Rw=QC.printTypeParameter,jw=QC.printTypeParameters,qw=pb,$w=Hb,Vw=Qb,Uw=uF,Ww=sw,Gw=xC,zw=TC,Hw=kC,Xw=BC,Jw=NC,Yw=_C,Kw=function(e,t,n){var r=e.getValue(),u=t.semi?";":"",a=[];switch(r.type){case"TSTypeAssertion":var i=!("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type),o=gw(["<",yw([mw,n("typeAnnotation")]),mw,">"]),s=[Ew("("),yw([mw,n("expression")]),mw,Ew(")")];return i?vw([[o,n("expression")],[o,gw(s,{shouldBreak:!0})],[o,n("expression")]]):gw([o,n("expression")]);case"TSDeclareFunction":return $w(e,n,t);case"TSExportAssignment":return["export = ",n("expression"),u];case"TSModuleBlock":return Ww(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return Iw(e,t,n);case"TSTypeAliasDeclaration":return Gw(e,t,n);case"TSQualifiedName":return dw(".",[n("left"),n("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return Mw(e,t,n);case"TSAbstractClassProperty":return Lw(e,t,n);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return a.push(n("expression")),r.typeParameters&&a.push(n("typeParameters")),a;case"TSTemplateLiteralType":return Pw(e,n,t);case"TSNamedTupleMember":return[n("label"),r.optional?"?":"",": ",n("elementType")];case"TSRestType":return["...",n("typeAnnotation")];case"TSOptionalType":return[n("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Uw(e,t,n);case"TSClassImplements":return[n("expression"),n("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return jw(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":return Rw(e,t,n);case"TypeofTypeAnnotation":return["typeof ",n("argument")];case"TSAbstractKeyword":return"abstract";case"TSAsyncKeyword":return"async";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSStaticKeyword":return"static";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSIntrinsicKeyword":return"intrinsic";case"TSAsExpression":a.push(n("expression")," as ",n("typeAnnotation"));var c=e.getParentNode();return Fw(c)&&c.callee===r||Sw(c)&&c.object===r?gw([yw([mw].concat(a)),mw]):a;case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return r.export&&a.push("export "),r.accessibility&&a.push(r.accessibility+" "),r.static&&a.push("static "),r.readonly&&a.push("readonly "),a.push(qw(e,t,n),Tw(e)),r.typeAnnotation&&a.push(": ",n("typeAnnotation")),r.initializer&&a.push(" = ",n("initializer")),a;case"TSParameterProperty":return r.accessibility&&a.push(r.accessibility+" "),r.export&&a.push("export "),r.static&&a.push("static "),r.readonly&&a.push("readonly "),a.push(n("parameter")),a;case"TSTypeQuery":return["typeof ",n("exprName")];case"TSIndexSignature":var l=e.getParentNode(),p=r.parameters.length>1?Ew(Aw(t)?",":""):"",f=gw([yw([mw,dw([", ",mw],e.map(n,"parameters"))]),p,mw]);return[r.export?"export ":"",r.accessibility?[r.accessibility," "]:"",r.static?"static ":"",r.readonly?"readonly ":"",r.declare?"declare ":"","[",r.parameters?f:"",r.typeAnnotation?"]: ":"]",r.typeAnnotation?n("typeAnnotation"):"","ClassBody"===l.type?u:""];case"TSTypePredicate":return[r.asserts?"asserts ":"",n("parameterName"),r.typeAnnotation?[" is ",n("typeAnnotation")]:""];case"TSNonNullExpression":return[n("expression"),"!"];case"TSImportType":return[r.isTypeOf?"typeof ":"","import(",n(r.parameter?"parameter":"argument"),")",r.qualifier?[".",n("qualifier")]:"",jw(e,t,n,"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return Yw(e,t,n);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===r.type&&r.abstract&&a.push("abstract "),"TSCallSignatureDeclaration"!==r.type&&a.push("new "),a.push(gw(Nw(e,n,t,!1,!0))),r.returnType||r.typeAnnotation){var d="TSConstructorType"===r.type;a.push(d?" => ":": ",n("returnType"),n("typeAnnotation"))}return a;case"TSTypeOperator":return[r.operator," ",n("typeAnnotation")];case"TSMappedType":var h=pw(t.originalText,ww(r),xw(r));return gw(["{",yw([t.bracketSpacing?hw:mw,r.readonly?[bw(r.readonly,"readonly")," "]:"",kw(e,t,n),n("typeParameter"),r.optional?bw(r.optional,"?"):"",r.typeAnnotation?": ":"",n("typeAnnotation"),Ew(u)]),lw(e,t,!0),t.bracketSpacing?hw:mw,"}"],{shouldBreak:h});case"TSMethodSignature":var D=r.kind&&"method"!==r.kind?"".concat(r.kind," "):"";a.push(r.accessibility?[r.accessibility," "]:"",D,r.export?"export ":"",r.static?"static ":"",r.readonly?"readonly ":"",r.abstract?"abstract ":"",r.declare?"declare ":"",r.computed?"[":"",n("key"),r.computed?"]":"",Tw(e));var m=Nw(e,n,t,!1,!0),g=r.returnType?"returnType":"typeAnnotation",y=r[g],v=y?n(g):"",E=_w(r,v);return a.push(E?gw(m):m),y&&a.push(": ",gw(v)),gw(a);case"TSNamespaceExportDeclaration":return a.push("export as namespace ",n("id")),t.semi&&a.push(";"),gw(a);case"TSEnumDeclaration":return r.declare&&a.push("declare "),r.modifiers&&a.push(kw(e,t,n)),r.const&&a.push("const "),a.push("enum ",n("id")," "),0===r.members.length?a.push(gw(["{",lw(e,t),mw,"}"])):a.push(gw(["{",yw([Dw,Ow(e,t,"members",n),Aw(t,"es5")?",":""]),lw(e,t,!0),Dw,"}"])),a;case"TSEnumMember":return a.push(n("id")),r.initializer&&a.push(" = ",n("initializer")),a;case"TSImportEqualsDeclaration":return r.isExport&&a.push("export "),a.push("import "),r.importKind&&"value"!==r.importKind&&a.push(r.importKind," "),a.push(n("id")," = ",n("moduleReference")),t.semi&&a.push(";"),gw(a);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":var C=e.getParentNode(),b=Cw(r.id),A="TSModuleDeclaration"===C.type,F=r.body&&"TSModuleDeclaration"===r.body.type;if(A)a.push(".");else{r.declare&&a.push("declare "),a.push(kw(e,t,n));var S=t.originalText.slice(ww(r),ww(r.id));"Identifier"===r.id.type&&"global"===r.id.name&&!/namespace|module/.test(S)||a.push(b||/(^|\s)module(\s|$)/.test(S)?"module ":"namespace ")}return a.push(n("id")),F?a.push(n("body")):r.body?a.push(" ",gw(n("body"))):a.push(u),a;case"TSPrivateIdentifier":return r.escapedText;case"TSConditionalType":return Bw(e,t,n);case"TSInferType":return["infer"," ",n("typeParameter")];case"TSIntersectionType":return zw(e,t,n);case"TSUnionType":return Hw(e,t,n);case"TSFunctionType":return Xw(e,t,n);case"TSTupleType":return Jw(e,t,n);case"TSTypeReference":return[n("typeName"),jw(e,t,n,"typeParameters")];case"TSTypeAnnotation":return n("typeAnnotation");case"TSEmptyBodyFunctionExpression":return Vw(e,t,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",n("typeAnnotation")];case"TSJSDocNonNullableType":return["!",n("typeAnnotation")];case"TSJSDocFunctionType":return["function(","): ",n("typeAnnotation")]}},Qw=sn.hasNewline,Zw=zn.builders,ex=Zw.join,tx=Zw.hardline,nx=zn.utils.replaceNewlinesWithLiterallines,rx=pd.isLineComment,ux=pd.isBlockComment,ax=fs,ix=ds,ox=function(e,t){var n=e.getValue();if(rx(n))return t.originalText.slice(ax(n),ix(n)).trimEnd();if(ux(n)){if(function(e){var t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every((function(e){return"*"===e.trim()[0]}))}(n)){var r=function(e){var t=e.value.split("\n");return["/*",ex(tx,t.map((function(e,n){return 0===n?e.trimEnd():" "+(n<t.length-1?e.trim():e.trimStart())}))),"*/"]}(n);return n.trailing&&!Qw(t.originalText,ax(n),{backwards:!0})?[tx,r]:r}var u=ix(n),a="*-/"===t.originalText.slice(u-3,u);return["/*",nx(n.value),a?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(n))},sx=sn.printString,cx=sn.printNumber;function lx(e){return e.toLowerCase()}function px(e){var t=e.pattern,n=e.flags;return n=n.split("").sort().join(""),"/".concat(t,"/").concat(n)}var fx=function(e,t){var n=e.getNode();switch(n.type){case"RegExpLiteral":return px(n);case"BigIntLiteral":return lx(n.bigint||n.extra.raw);case"NumericLiteral":return cx(n.extra.raw);case"StringLiteral":return sx(n.extra.raw,t);case"NullLiteral":return"null";case"BooleanLiteral":return String(n.value);case"DecimalLiteral":return cx(n.value)+"m";case"Literal":if(n.regex)return px(n.regex);if(n.bigint)return lx(n.raw);var r=n.value;return"number"==typeof r?cx(n.raw):"string"==typeof r?sx(n.raw,t):String(r)}},dx=gp.printDanglingComments,hx=sn.hasNewline,Dx=sn.printString,mx=sn.printNumber,gx=zn.builders,yx=gx.join,vx=gx.line,Ex=gx.hardline,Cx=gx.softline,bx=gx.literalline,Ax=gx.group,Fx=gx.indent,Sx=pd.getCallArguments,wx=pd.hasFlowShorthandAnnotationComment,xx=pd.hasComment,Tx=pd.CommentCheckFlags,kx=pd.isFunctionNotation,Bx=pd.isGetterOrSetter,Nx=pd.isTheOnlyJsxElementInMarkdown,_x=pd.isBlockComment,Px=pd.isLineComment,Ox=pd.isNextLineEmpty,Ix=pd.needsHardlineAfterDanglingComment,Lx=pd.rawText,Mx=pd.shouldPrintComma,Rx=pd.hasIgnoreComment,jx=pd.isCallExpression,qx=pd.isMemberExpression,$x=fs,Vx=ds,Ux=Em,Wx=vm,Gx=ug,zx=qg,Hx=jg,Xx=GF,Jx=Kw,Yx=Hg,Kx=Jg,Qx=Kg,Zx=Qg,eT=xF,tT=TF,nT=kF,rT=BF,uT=pS,aT=Nd,iT=by,oT=Ay,sT=LS,cT=VA,lT=UA,pT=WA,fT=QC.printTypeParameters,dT=pb,hT=lb,DT=Hb,mT=Xb,gT=Jb,yT=Yb,vT=Kb,ET=Zv,CT=uF,bT=SE,AT=wE,FT=Hm,ST=YS,wT=cv,xT=sw,TT=cw,kT=fx,BT=dA;function NT(e,t){var n=Lx(e),r=n.slice(1,-1);if(r.includes('"')||r.includes("'"))return n;var u=t.singleQuote?"'":'"';return u+r+u}var _T={preprocess:fm,print:function(e,t,n,r){var u=function(e,t,n,r){var u=e.getValue(),a=t.semi?";":"";if(!u)return"";if("string"==typeof u)return u;for(var i=0,o=[kT,Ux,Gx,zx,Xx,Jx];i<o.length;i++){var s=(0,o[i])(e,t,n);if(void 0!==s)return s}var c=[];switch(u.type){case"JsExpressionRoot":return n("node");case"JsonRoot":return[n("node"),Ex];case"File":return u.program&&u.program.interpreter&&c.push(n(["program","interpreter"])),c.push(n("program")),c;case"Program":return TT(e,t,n);case"EmptyStatement":return"";case"ExpressionStatement":if(u.directive)return[NT(u.expression,t),a];if("__vue_event_binding"===t.parser){var l=e.getParentNode();if("Program"===l.type&&1===l.body.length&&l.body[0]===u)return[n("expression"),Wx(u.expression)?";":""]}return[n("expression"),Nx(t,e)?"":a];case"ParenthesizedExpression":return xx(u.expression)||"ObjectExpression"!==u.expression.type&&"ArrayExpression"!==u.expression.type?Ax(["(",Fx([Cx,n("expression")]),Cx,")"]):["(",n("expression"),")"];case"AssignmentExpression":return AT(e,t,n);case"VariableDeclarator":return bT(e,t,n);case"BinaryExpression":case"LogicalExpression":return FT(e,t,n);case"AssignmentPattern":return[n("left")," = ",n("right")];case"OptionalMemberExpression":case"MemberExpression":return wT(e,t,n);case"MetaProperty":return[n("meta"),".",n("property")];case"BindExpression":return u.object&&c.push(n("object")),c.push(Ax(Fx([Cx,Kx(e,t,n)]))),c;case"Identifier":return[u.name,Yx(e),Qx(e,t,n)];case"V8IntrinsicIdentifier":return["%",u.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return["...",n("argument"),Qx(e,t,n)];case"FunctionDeclaration":case"FunctionExpression":var p=!1;if(r&&r.expandLastArg){var f=e.getParentNode();jx(f)&&Sx(f).length>1&&(p=!0)}return DT(e,n,t,p);case"ArrowFunctionExpression":return mT(e,t,n,r);case"YieldExpression":return c.push("yield"),u.delegate&&c.push("*"),u.argument&&c.push(" ",n("argument")),c;case"AwaitExpression":if(c.push("await"),u.argument){c.push(" ",n("argument"));var d=e.getParentNode();if(jx(d)&&d.callee===u||qx(d)&&d.object===u){c=[Fx([Cx].concat(v(c))),Cx];var h=e.findAncestor((function(e){return"AwaitExpression"===e.type||"BlockStatement"===e.type}));if(!h||"AwaitExpression"!==h.type)return Ax(c)}}return c;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return tT(e,t,n);case"ExportAllDeclaration":return nT(e,t,n);case"ImportDeclaration":return eT(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return rT(e,t,n);case"ImportAttribute":return[n("key"),": ",n("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return xT(e,t,n);case"ThrowStatement":return vT(e,t,n);case"ReturnStatement":return yT(e,t,n);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ET(e,t,n);case"ObjectTypeInternalSlot":return[u.static?"static ":"","[[",n("id"),"]]",Yx(e),u.method?"":": ",n("value")];case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"RecordExpression":return sT(e,t,n);case"ObjectProperty":case"Property":return u.method||"get"===u.kind||"set"===u.kind?gT(e,t,n):hT(e,t,n);case"ObjectMethod":return gT(e,t,n);case"Decorator":return["@",n("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return iT(e,t,n);case"SequenceExpression":var D=e.getParentNode(0);if("ExpressionStatement"===D.type||"ForStatement"===D.type){var m=[];return e.each((function(e,t){0===t?m.push(n()):m.push(",",Fx([vx,n()]))}),"expressions"),Ax(m)}return Ax(yx([",",vx],e.map(n,"expressions")));case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[n("value"),a];case"DirectiveLiteral":return NT(u,t);case"UnaryExpression":return c.push(u.operator),/[a-z]$/.test(u.operator)&&c.push(" "),xx(u.argument)?c.push(Ax(["(",Fx([Cx,n("argument")]),Cx,")"])):c.push(n("argument")),c;case"UpdateExpression":return c.push(n("argument"),u.operator),u.prefix&&c.reverse(),c;case"ConditionalExpression":return uT(e,t,n);case"VariableDeclaration":var g,y=e.map(n,"declarations"),E=e.getParentNode(),C="ForStatement"===E.type||"ForInStatement"===E.type||"ForOfStatement"===E.type,b=u.declarations.some((function(e){return e.init}));return 1!==y.length||xx(u.declarations[0])?y.length>0&&(g=Fx(y[0])):g=y[0],c=[u.declare?"declare ":"",u.kind,g?[" ",g]:"",Fx(y.slice(1).map((function(e){return[",",b&&!C?Ex:vx,e]})))],C&&E.body!==u||c.push(a),Ax(c);case"WithStatement":return Ax(["with (",n("object"),")",Zx(u.body,n("body"))]);case"IfStatement":var A=Zx(u.consequent,n("consequent")),F=Ax(["if (",Ax([Fx([Cx,n("test")]),Cx]),")",A]);if(c.push(F),u.alternate){var S=xx(u.consequent,Tx.Trailing|Tx.Line)||Ix(u),x="BlockStatement"===u.consequent.type&&!S;c.push(x?" ":Ex),xx(u,Tx.Dangling)&&c.push(dx(e,t,!0),S?Ex:" "),c.push("else",Ax(Zx(u.alternate,n("alternate"),"IfStatement"===u.alternate.type)))}return c;case"ForStatement":var T=Zx(u.body,n("body")),k=dx(e,t,!0),B=k?[k,Cx]:"";return u.init||u.test||u.update?[B,Ax(["for (",Ax([Fx([Cx,n("init"),";",vx,n("test"),";",vx,n("update")]),Cx]),")",T])]:[B,Ax(["for (;;)",T])];case"WhileStatement":return Ax(["while (",Ax([Fx([Cx,n("test")]),Cx]),")",Zx(u.body,n("body"))]);case"ForInStatement":return Ax(["for (",n("left")," in ",n("right"),")",Zx(u.body,n("body"))]);case"ForOfStatement":return Ax(["for",u.await?" await":""," (",n("left")," of ",n("right"),")",Zx(u.body,n("body"))]);case"DoWhileStatement":var N=Zx(u.body,n("body"));return c=[Ax(["do",N])],"BlockStatement"===u.body.type?c.push(" "):c.push(Ex),c.push("while (",Ax([Fx([Cx,n("test")]),Cx]),")",a),c;case"DoExpression":return[u.async?"async ":"","do ",n("body")];case"BreakStatement":return c.push("break"),u.label&&c.push(" ",n("label")),c.push(a),c;case"ContinueStatement":return c.push("continue"),u.label&&c.push(" ",n("label")),c.push(a),c;case"LabeledStatement":return"EmptyStatement"===u.body.type?[n("label"),":;"]:[n("label"),": ",n("body")];case"TryStatement":return["try ",n("block"),u.handler?[" ",n("handler")]:"",u.finalizer?[" finally ",n("finalizer")]:""];case"CatchClause":if(u.param){var _=xx(u.param,(function(e){return!_x(e)||e.leading&&hx(t.originalText,Vx(e))||e.trailing&&hx(t.originalText,$x(e),{backwards:!0})})),P=n("param");return["catch ",_?["(",Fx([Cx,P]),Cx,") "]:["(",P,") "],n("body")]}return["catch ",n("body")];case"SwitchStatement":return[Ax(["switch (",Fx([Cx,n("discriminant")]),Cx,")"])," {",u.cases.length>0?Fx([Ex,yx(Ex,e.map((function(e,r,u){var a=e.getValue();return[n(),r!==u.length-1&&Ox(a,t)?Ex:""]}),"cases"))]):"",Ex,"}"];case"SwitchCase":u.test?c.push("case ",n("test"),":"):c.push("default:");var O=u.consequent.filter((function(e){return"EmptyStatement"!==e.type}));if(O.length>0){var I=ST(e,t,n);c.push(1===O.length&&"BlockStatement"===O[0].type?[" ",I]:Fx([Ex,I]))}return c;case"DebuggerStatement":return["debugger",a];case"ClassDeclaration":case"ClassExpression":return cT(e,t,n);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return lT(e,t,n);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return pT(e,t,n);case"TemplateElement":return yx(bx,u.value.raw.split(/\r?\n/g));case"TemplateLiteral":return aT(e,n,t);case"TaggedTemplateExpression":return[n("tag"),n("typeParameters"),n("quasi")];case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(u.type));case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[n("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(u.value);case"EnumDeclaration":return["enum ",n("id")," ",n("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===u.type||u.explicitType){var L=null;switch(u.type){case"EnumBooleanBody":L="boolean";break;case"EnumNumberBody":L="number";break;case"EnumStringBody":L="string";break;case"EnumSymbolBody":L="symbol"}c.push("of ",L," ")}if(0!==u.members.length||u.hasUnknownMembers){var M=u.members.length>0?[Ex,oT(e,t,"members",n),u.hasUnknownMembers||Mx(t)?",":""]:[];c.push(Ax(["{",Fx([].concat(M,v(u.hasUnknownMembers?[Ex,"..."]:[]))),dx(e,t,!0),Ex,"}"]))}else c.push(Ax(["{",dx(e,t),Cx,"}"]));return c;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[n("id")," = ","object"==w(u.init)?n("init"):String(u.init)];case"EnumDefaultedMember":return n("id");case"FunctionTypeParam":var R=u.name?n("name"):e.getParentNode().this===u?"this":"";return[R,Yx(e),R?": ":"",n("typeAnnotation")];case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return CT(e,t,n);case"ClassImplements":case"InterfaceExtends":return[n("id"),n("typeParameters")];case"NullableTypeAnnotation":return["?",n("typeAnnotation")];case"Variance":var j=u.kind;return Wl.ok("plus"===j||"minus"===j),"plus"===j?"+":"-";case"ObjectTypeCallProperty":return u.static&&c.push("static "),c.push(n("value")),c;case"ObjectTypeIndexer":return[u.variance?n("variance"):"","[",n("id"),u.id?": ":"",n("key"),"]: ",n("value")];case"ObjectTypeProperty":var q="";return u.proto?q="proto ":u.static&&(q="static "),[q,Bx(u)?u.kind+" ":"",u.variance?n("variance"):"",dT(e,t,n),Yx(e),kx(u)?"":": ",n("value")];case"QualifiedTypeIdentifier":return[n("qualification"),".",n("id")];case"StringLiteralTypeAnnotation":return Dx(Lx(u),t);case"NumberLiteralTypeAnnotation":Wl.strictEqual(w(u.value),"number");case"BigIntLiteralTypeAnnotation":return u.extra?mx(u.extra.raw):mx(u.raw);case"TypeCastExpression":return["(",n("expression"),Qx(e,t,n),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":var $=fT(e,t,n,"params");if("flow"===t.parser){var V=$x(u),U=Vx(u),W=t.originalText.lastIndexOf("/*",V),G=t.originalText.indexOf("*/",U);if(-1!==W&&-1!==G){var z=t.originalText.slice(W+2,G).trim();if(z.startsWith("::")&&!z.includes("/*")&&!z.includes("*/"))return["/*:: ",$," */"]}}return $;case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",n("value"),")"];case"AnyTypeAnnotation":case"TSAnyKeyword":return"any";case"BooleanTypeAnnotation":case"TSBooleanKeyword":return"boolean";case"BigIntTypeAnnotation":case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"NullLiteralTypeAnnotation":case"TSNullKeyword":return"null";case"NumberTypeAnnotation":case"TSNumberKeyword":return"number";case"SymbolTypeAnnotation":case"TSSymbolKeyword":return"symbol";case"StringTypeAnnotation":case"TSStringKeyword":return"string";case"VoidTypeAnnotation":case"TSVoidKeyword":return"void";case"ThisTypeAnnotation":case"TSThisType":return"this";case"PrivateIdentifier":return["#",n("name")];case"PrivateName":return["#",n("id")];case"InterpreterDirective":return c.push("#!",u.value,Ex),Ox(u,t)&&c.push(Ex),c;case"PipelineBareFunction":return n("callee");case"PipelineTopicExpression":return n("expression");case"PipelinePrimaryTopicReference":return"#";case"ArgumentPlaceholder":return"?";case"ModuleExpression":c.push("module {");var H=n("body");return H&&c.push(Fx([Ex,H]),Ex),c.push("}"),c;default:throw new Error("unknown type: "+JSON.stringify(u.type))}}(e,t,n,r);if(!u)return"";var a=e.getValue(),i=a.type;if("ClassMethod"===i||"ClassPrivateMethod"===i||"ClassProperty"===i||"PropertyDefinition"===i||"TSAbstractClassProperty"===i||"ClassPrivateProperty"===i||"MethodDefinition"===i||"TSAbstractMethodDefinition"===i||"TSDeclareMethod"===i)return u;var o=BT(e,t,n);if(o)return Ax([].concat(v(o),[u]));if(!pm(e,t))return r&&r.needsSemi?[";",u]:u;var s=[r&&r.needsSemi?";(":"(",u];if(wx(a)){var c=C(a.trailingComments,1)[0];s.push(" /*",c.value.trimStart(),"*/"),c.printed=!0}return s.push(")"),s},embed:function(e,t,n,r){var u=e.getValue();if("TemplateLiteral"===u.type&&!u.quasis.some((function(e){return null===e.value.cooked}))){var a=function(e){return function(e){var t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some((function(e){return"jsx"===e.name.name}))||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}(e)||function(e){var t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;var n=t.tag;switch(n.type){case"MemberExpression":return mh(n.object)||gh(n);case"CallExpression":return mh(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(mh(n.callee.object.object)||gh(n.callee.object))||"CallExpression"===n.callee.object.type&&mh(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||function(e){var t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}(e)||function(e){return e.match.apply(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"ArrayExpression"===e.type&&"elements"===t},function(e,t){return("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t}].concat(Dh))}(e)?"css":function(e){var t=e.getValue(),n=e.getParentNode();return yh(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)?"graphql":function(e){return yh(e.getValue(),"HTML")||e.match((function(e){return"TemplateLiteral"===e.type}),(function(e,t){return"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t}))}(e)?"html":function(e){return e.match.apply(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t}].concat(Dh))}(e)?"angular":function(e){var t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}(e)?"markdown":void 0}(e);return a?"markdown"===a?function(e,t,n){var r=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(function(e,t){return"\\".repeat(t.length/2)+"`"})),u=function(e){var t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(r),a=""!==u;a&&(r=r.replace(new RegExp("^".concat(u),"gm"),""));var i=qd(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",a?Ld([Md,i]):[Rd,jd(i)],Md,"`"]}(e,0,n):"css"===a?function(e,t,n){var r=e.getValue(),u=r.quasis.map((function(e){return e.value.raw})),a=0;return function(e,t,n){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";var r=function(e,t){if(!$d(t))return e;var n=0,r=Hd(Jd(e),(function(e){return"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map((function(e,r){return r%2==0?Xd(e):(n++,t[e])})):e}));return t.length===n?r:null}(e,n);if(!r)throw new Error("Couldn't insert all the expressions");return["`",Ud([Wd,r]),Gd,"`"]}(n(u.reduce((function(e,t,n){return 0===n?t:e+"@prettier-placeholder-"+a+++"-id"+t}),""),{parser:"scss"},{stripTrailingHardline:!0}),r,Yd(e,t))}(e,t,n):"graphql"===a?function(e,t,n){var r=e.getValue(),u=r.quasis.length;if(1===u&&""===r.quasis[0].value.raw.trim())return"``";for(var a=nh(e,t),i=[],o=0;o<u;o++){var s=0===o,c=o===u-1,l=r.quasis[o].value.cooked,p=l.split("\n"),f=p.length,d=a[o],h=f>2&&""===p[0].trim()&&""===p[1].trim(),D=f>2&&""===p[f-1].trim()&&""===p[f-2].trim(),m=p.every((function(e){return/^\s*(?:#[^\n\r]*)?$/.test(e)}));if(!c&&/#[^\n\r]*$/.test(p[f-1]))return null;var g=null;(g=m?rh(p):n(l,{parser:"graphql"},{stripTrailingHardline:!0}))?(g=th(g,!1),!s&&h&&i.push(""),i.push(g),!c&&D&&i.push("")):s||c||!h||i.push(""),d&&i.push(d)}return["`",Qd([eh,Zd(eh,i)]),eh,"`"]}(e,t,n):"html"===a||"angular"===a?function(e,t,n,r,u){var a=u.parser,i=e.getValue(),o=fh;fh=fh+1>>>0;var s=function(e){return"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(o,"_IN_JS")},c=i.quasis.map((function(e,t,n){return t===n.length-1?e.value.cooked:e.value.cooked+s(t)})).join(""),l=lh(e,t);if(0===l.length&&0===c.trim().length)return"``";var p=new RegExp(s("(\\d+)"),"g"),f=0,d=n(c,{parser:a,__onHtmlRoot:function(e){f=e.children.length}},{stripTrailingHardline:!0}),h=ch(d,(function(e){if("string"!=typeof e)return e;for(var t=[],n=e.split(p),u=0;u<n.length;u++){var a=n[u];if(u%2!=0){var i=Number(a);t.push(l[i])}else a&&(a=ph(a),r.__embeddedInHtml&&(a=a.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(a))}return t})),D=/^\s/.test(c)?" ":"",m=/\s$/.test(c)?" ":"",g="ignore"===r.htmlWhitespaceSensitivity?oh:D&&m?ih:null;return sh(g?["`",ah([g,sh(h)]),g,"`"]:["`",D,f>1?ah(sh(h)):sh(h),m,"`"])}(e,t,n,r,{parser:a}):void 0:void 0}},insertPragma:Xh,massageAstNode:Ah,hasPrettierIgnore:function(e){return Rx(e)||Hx(e)},willPrintOwnComments:YD.willPrintOwnComments,canAttachComment:function(e){return e.type&&!_x(e)&&!Px(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:ox,isBlockComment:_x,handleComments:{avoidAstMutation:!0,ownLine:YD.handleOwnLineComment,endOfLine:YD.handleEndOfLineComment,remaining:YD.handleRemainingComment},getCommentChildNodes:YD.getCommentChildNodes},PT=zn.builders,OT=PT.hardline,IT=PT.indent,LT=PT.join,MT=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function RT(e,t){var n=e.type;if("ObjectProperty"!==n||"Identifier"!==e.key.type){if("UnaryExpression"===n&&"+"===e.operator)return t.argument;if("ArrayExpression"!==n)return"TemplateLiteral"===n?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;var r,u=g(e.elements.entries());try{for(u.s();!(r=u.n()).done;){var a=C(r.value,2),i=a[0];null===a[1]&&t.elements.splice(i,0,{type:"NullLiteral"})}}catch(e){u.e(e)}finally{u.f()}}else t.key={type:"StringLiteral",value:e.key.name}}RT.ignoredProperties=MT;var jT={preprocess:fm,print:function(e,t,n){var r=e.getValue();switch(r.type){case"JsonRoot":return[n("node"),OT];case"ArrayExpression":if(0===r.elements.length)return"[]";var u=e.map((function(){return null===e.getValue()?"null":n()}),"elements");return["[",IT([OT,LT([",",OT],u)]),OT,"]"];case"ObjectExpression":return 0===r.properties.length?"{}":["{",IT([OT,LT([",",OT],e.map(n,"properties"))]),OT,"}"];case"ObjectProperty":return[n("key"),": ",n("value")];case"UnaryExpression":return["+"===r.operator?"":r.operator,n("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":var a=e.getParentNode();return a&&"ObjectProperty"===a.type&&a.key===r?JSON.stringify(r.name):r.name;case"TemplateLiteral":return n(["quasis",0]);case"TemplateElement":return JSON.stringify(r.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(r.type))}},massageAstNode:RT},qT="Common",$T={bracketSpacing:{since:"0.0.0",category:qT,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:qT,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:qT,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]}},VT="JavaScript",UT={arrowParens:{since:"1.9.0",category:VT,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:$T.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:VT,type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:VT,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:$T.singleQuote,jsxSingleQuote:{since:"1.15.0",category:VT,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:VT,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:VT,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]}},WT={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},GT={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174},zT={languages:[af(WT,(function(e){return{since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[].concat(v(e.extensions.filter((function(e){return".jsx"!==e}))),[".wxs"])}})),af(WT,(function(){return{name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}})),af(WT,(function(){return{name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0}})),af({name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},(function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}})),af({name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},(function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}})),af(GT,(function(){return{name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}})),af(GT,(function(e){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((function(e){return".jsonl"!==e}))}})),af({name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},(function(e){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[].concat(v(e.filenames),[".eslintrc"])}})),af({name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},(function(){return{since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}}))],options:UT,printers:{estree:_T,"estree-json":jT},parsers:{get babel(){return{}.parsers.babel},get"babel-flow"(){return{}.parsers["babel-flow"]},get"babel-ts"(){return{}.parsers["babel-ts"]},get json(){return{}.parsers.json},get json5(){return{}.parsers.json5},get"json-stringify"(){return{}.parsers["json-stringify"]},get __js_expression(){return{}.parsers.__js_expression},get __vue_expression(){return{}.parsers.__vue_expression},get __vue_event_binding(){return{}.parsers.__vue_event_binding},get flow(){return{}.parsers.flow},get typescript(){return{}.parsers.typescript},get __ng_action(){return{}.parsers.__ng_action},get __ng_binding(){return{}.parsers.__ng_binding},get __ng_interpolation(){return{}.parsers.__ng_interpolation},get __ng_directive(){return{}.parsers.__ng_directive},get espree(){return{}.parsers.espree},get meriyah(){return{}.parsers.meriyah}}},HT=sn.isFrontMatterNode,XT=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function JT(e,t,n){if(HT(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&n.nodes.length>0){if((n.nodes[0]===e||HT(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&Ie(n.nodes)===e)return null}if("value-root"===e.type&&delete t.text,"media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(function(e,t,n){var r=Number(t);return Number.isNaN(r)?e:r+n.toLowerCase()}))),"selector-tag"===e.type){var r=e.value.toLowerCase();["from","to"].includes(r)&&(t.value=r)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value}JT.ignoredProperties=XT;var YT=JT,KT=zn.builders,QT=KT.hardline,ZT=KT.markAsRoot,ek=function(e,t){if("yaml"===e.lang){var n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return ZT([e.startDelimiter,QT,r,r?QT:"",e.endDelimiter])}},tk=zn.builders.hardline,nk=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>[\\S\\s]*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)"),rk=function(e){var t=e.match(nk);if(!t)return{content:e};var n=t.groups,r=n.startDelimiter,u=n.language,a=n.value,i=void 0===a?"":a,o=n.endDelimiter,s=u.trim()||"yaml";if("+++"===r&&(s="toml"),"yaml"!==s&&r!==o)return{content:e};var c=C(t,1)[0];return{frontMatter:{type:"front-matter",lang:s,value:i,startDelimiter:r,endDelimiter:o,raw:c.replace(/\n$/,"")},content:c.replace(/[^\n]/g," ")+e.slice(c.length)}},uk=function(e){var t=rk(e),n=t.frontMatter,r=t.content;return(n?n.raw+"\n\n":"")+Xh(r)},ak=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function ik(e,t){for(var n,r=Array.isArray(t)?t:[t],u=-1;n=e.getParentNode(++u);)if(r.includes(n.type))return u;return-1}function ok(e,t){var n=ik(e,t);return-1===n?null:e.getParentNode(n)}function sk(e){return"value-operator"===e.type&&"*"===e.value}function ck(e){return"value-operator"===e.type&&"/"===e.value}function lk(e){return"value-operator"===e.type&&"+"===e.value}function pk(e){return"value-operator"===e.type&&"-"===e.value}function fk(e){return"value-operator"===e.type&&"%"===e.value}function dk(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function hk(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&dk(e.groups[0])}function Dk(e){return e&&"value-colon"===e.type}var mk=ok,gk=function(e){var t=ok(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},yk=function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},vk=function(e,t){var n=ok(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t},Ek=function(e){var t=ok(e,"css-rule");return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(":import")||t.raws.selector.startsWith(":export"))},Ck=function(e,t){var n=Array.isArray(t)?t:[t],r=ok(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())},bk=function(e){var t=e.getValue(),n=ok(e,"css-atrule");return n&&"import"===n.name&&"url"===t.groups[0].value&&2===t.groups.length},Ak=function(e,t){var n=ok(e,"css-atrule");return n&&n.name&&n.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},Fk=function(e){return["initial","inherit","unset","revert"].includes(e.toLowerCase())},Sk=function(e,t){return"less"===e||"scss"===e?"scss"===e:/(\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)},wk=function(e,t){var n=e.getParentNode();if(!n)return!1;var r=n.nodes;return r&&r.indexOf(t)===r.length-1},xk=function(e){return"css"===e.parser||"less"===e.parser},Tk=function(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)},kk=function(e){return!!e.selector&&("string"==typeof e.selector&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value))},Bk=function(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)},Nk=function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},_k=sk,Pk=ck,Ok=lk,Ik=pk,Lk=function(e){return sk(e)||ck(e)||lk(e)||pk(e)||fk(e)},Mk=function(e){return"value-word"===e.type&&"in"===e.value},Rk=function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},jk=function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},qk=function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},$k=function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},Vk=function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},Uk=function(e){return e.raws&&""===e.raws.before},Wk=function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},Gk=function(e){return e.name.startsWith("prettier-placeholder")},zk=function(e){return e.prop.startsWith("@prettier-placeholder")},Hk=function(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before},Xk=dk,Jk=function(e,t){if(!dk(t))return!1;var n=t.groups,r=n.indexOf(e);return-1!==r&&Dk(n[r+1])},Yk=function(e){var t=e.getValue();if(0===t.groups.length)return!1;var n=e.getParentNode(1);if(!(hk(t)||n&&hk(n)))return!1;var r=ok(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!hk(n)||"value-func"===n.type},Kk=function(e){return"value-comment"===e.type&&e.inline},Qk=function(e){return"value-word"===e.type&&"#"===e.value},Zk=function(e){return"value-word"===e.type&&"{"===e.value},eB=function(e){return"value-word"===e.type&&"}"===e.value},tB=function(e){return["value-word","value-atword"].includes(e.type)},nB=Dk,rB=function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},uB=function(e){return"value-func"===e.type&&ak.has(e.value.toLowerCase())},aB=function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},iB=function(e){return e&&"value-atword"===e.type&&e.value.startsWith("prettier-placeholder-")};var oB=function(e){return e.source.startOffset},sB=function(e){return e.source.endOffset},cB=sn.printNumber,lB=sn.printString,pB=sn.hasNewline,fB=sn.isFrontMatterNode,dB=sn.isNextLineEmpty,hB=sn.isNonEmptyArray,DB=zn.builders,mB=DB.join,gB=DB.line,yB=DB.hardline,vB=DB.softline,EB=DB.group,CB=DB.fill,bB=DB.indent,AB=DB.dedent,FB=DB.ifBreak,SB=DB.breakParent,wB=zn.utils,xB=wB.removeLines,TB=wB.getDocParts,kB=uk,BB=mk,NB=gk,_B=yk,PB=vk,OB=Ek,IB=Ck,LB=bk,MB=Ak,RB=Fk,jB=Sk,qB=wk,$B=xk,VB=Tk,UB=kk,WB=Bk,GB=Nk,zB=_k,HB=Pk,XB=Ok,JB=Ik,YB=Lk,KB=Mk,QB=Rk,ZB=jk,eN=qk,tN=$k,nN=Vk,rN=Uk,uN=Xk,aN=Jk,iN=Wk,oN=Gk,sN=zk,cN=Hk,lN=Yk,pN=Kk,fN=Qk,dN=Zk,hN=eB,DN=tB,mN=nB,gN=rB,yN=uB,vN=aB,EN=iB,CN=oB,bN=sB;function AN(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function FN(e,t,n){var r=[];return e.each((function(e,u,a){var i=a[u-1];if(i&&"css-comment"===i.type&&"prettier-ignore"===i.text.trim()){var o=e.getValue();r.push(t.originalText.slice(CN(o),bN(o)))}else r.push(n());u!==a.length-1&&("css-comment"===a[u+1].type&&!pB(t.originalText,CN(a[u+1]),{backwards:!0})&&!fB(a[u])||"css-atrule"===a[u+1].type&&"else"===a[u+1].name&&"css-comment"!==a[u].type?r.push(" "):(r.push(t.__isHTMLStyleAttribute?gB:yB),dB(t.originalText,e.getValue(),bN)&&!fB(a[u])&&r.push(yB)))}),"nodes"),r}var SN=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,wN=new RegExp(SN.source+"|"+"(".concat(/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source,")")+"(".concat(/[A-Za-z]+/g.source,")?"),"g");function xN(e,t){return e.replace(SN,(function(e){return lB(e,t)}))}function TN(e,t){var n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function kN(e){return e.replace(wN,(function(e,t,n,r,u){return!n&&r?BN(r)+_B(u||""):e}))}function BN(e){return cB(e).replace(/\.0(?=$|e)/,"")}var NN={print:function(e,t,n){var r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.type){case"front-matter":return[r.raw,yB];case"css-root":var u=FN(e,t,n),a=r.raws.after.trim();return[u,a?" ".concat(a):"",TB(u).length>0?yB:""];case"css-comment":var i=r.inline||r.raws.inline,o=t.originalText.slice(CN(r),bN(r));return i?o.trimEnd():o;case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[r.selector&&"selector-unknown"===r.selector.type&&vN(r.selector.value)?gB:" ","{",r.nodes.length>0?bB([yB,FN(e,t,n)]):"",yB,"}",UB(r)?";":""]:";"];case"css-decl":var s=e.getParentNode(),c=r.raws.between.trim(),l=":"===c,p=tN(r)?xB(n("value")):n("value");return!l&&vN(c)&&(p=bB([yB,AB(p)])),[r.raws.before.replace(/[\s;]/g,""),OB(e)?r.prop:_B(r.prop),c.startsWith("//")?" ":"",c,r.extend?"":" ",$B(t)&&r.extend&&r.selector?["extend(",n("selector"),")"]:"",p,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",bB([vB,FN(e,t,n)]),vB,"}"]:sN(r)&&!s.raws.semicolon&&";"!==t.originalText[bN(r)-1]?"":t.__isHTMLStyleAttribute&&qB(e,r)?FB(";"):";"];case"css-atrule":var f=e.getParentNode(),d=oN(r)&&!f.raws.semicolon&&";"!==t.originalText[bN(r)-1];if($B(t)){if(r.mixin)return[n("selector"),r.important?" !important":"",d?"":";"];if(r.function)return[r.name,n("params"),d?"":";"];if(r.variable)return["@",r.name,": ",r.value?n("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",bB([r.nodes.length>0?vB:"",FN(e,t,n)]),vB,"}"]:"",d?"":";"]}return["@",iN(r)||r.name.endsWith(":")?r.name:_B(r.name),r.params?[iN(r)?"":oN(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[yB,yB]:/^\s*\n/.test(r.raws.afterName)?yB:" ":" ",n("params")]:"",r.selector?bB([" ",n("selector")]):"",r.value?EB([" ",n("value"),VB(r)?nN(r)?" ":gB:""]):"else"===r.name?" ":"",r.nodes?[VB(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&vN(r.selector.value)||!r.selector&&"string"==typeof r.params&&vN(r.params)?gB:" ","{",bB([r.nodes.length>0?vB:"",FN(e,t,n)]),vB,"}"]:d?"":";"];case"media-query-list":var h=[];return e.each((function(e){var t=e.getValue();"media-query"===t.type&&""===t.value||h.push(n())}),"nodes"),EB(bB(mB(gB,h)));case"media-query":return[mB(" ",e.map(n,"nodes")),qB(e,r)?"":","];case"media-type":case"media-value":return kN(xN(r.value,t));case"media-feature-expression":return r.nodes?["("].concat(v(e.map(n,"nodes")),[")"]):r.value;case"media-feature":return _B(xN(r.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[r.value," "];case"media-keyword":case"selector-string":return xN(r.value,t);case"media-url":return xN(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return r.value;case"selector-root":return EB([IB(e,"custom-selector")?[BB(e,"css-atrule").customSelector,gB]:"",mB([",",IB(e,["extend","custom-selector","nest"])?gB:yB],e.map(n,"nodes"))]);case"selector-selector":return EB(bB(e.map(n,"nodes")));case"selector-tag":var D=e.getParentNode(),m=D&&D.nodes.indexOf(r),g=m&&D.nodes[m-1];return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"","selector-nesting"===g.type?r.value:kN(MB(e,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",kN(xN(r.value,t))];case"selector-attribute":return["[",r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator?r.operator:"",r.value?TN(xN(r.value.trim(),t),t):"",r.insensitive?" i":"","]"];case"selector-combinator":if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){var y=e.getParentNode();return["selector-selector"===y.type&&y.nodes[0]===r?"":gB,r.value,qB(e,r)?"":" "]}return[r.value.trim().startsWith("(")?gB:"",kN(xN(r.value.trim(),t))||gB];case"selector-universal":return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[_B(r.value),hB(r.nodes)?["(",mB(", ",e.map(n,"nodes")),")"]:""];case"selector-unknown":var E=BB(e,"css-rule");if(E&&E.isSCSSNesterProperty)return kN(xN(_B(r.value),t));var C=e.getParentNode();if(C.raws&&C.raws.selector){var b=CN(C),A=b+C.raws.selector.length;return t.originalText.slice(b,A).trim()}var F=e.getParentNode(1);if("value-paren_group"===C.type&&F&&"value-func"===F.type&&"selector"===F.value){var S=CN(C.open)+1,w=bN(C.close)-1,x=t.originalText.slice(S,w).trim();return vN(x)?[SB,x]:x}return r.value;case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(CN(r),bN(r));case"value-comma_group":for(var T=e.getParentNode(),k=e.getParentNode(1),B=NB(e),N=B&&"value-value"===T.type&&("grid"===B||B.startsWith("grid-template")),_=BB(e,"css-atrule"),P=_&&VB(_),O=r.groups.some((function(e){return pN(e)})),I=e.map(n,"groups"),L=[],M=PB(e,"url"),R=!1,j=!1,q=0;q<r.groups.length;++q){L.push(I[q]);var $=r.groups[q-1],V=r.groups[q],U=r.groups[q+1],W=r.groups[q+2];if(M)(U&&XB(U)||XB(V))&&L.push(" ");else if(U&&("value-word"!==V.type||!V.value.endsWith("-")||!EN(U))){var G="value-string"===V.type&&V.value.startsWith("#{"),z=R&&"value-string"===U.type&&U.value.endsWith("}");if(G||z)R=!R;else if(!R&&!(mN(V)||mN(U)||"value-atword"===V.type&&""===V.value||"~"===V.value||V.value&&V.value.includes("\\")&&U&&"value-comment"!==U.type||$&&$.value&&$.value.indexOf("\\")===$.value.length-1&&"value-operator"===V.type&&"/"===V.value||"\\"===V.value||cN(V,U)||fN(V)||dN(V)||hN(U)||dN(U)&&rN(U)||hN(V)&&rN(U)||"--"===V.value&&fN(U))){var H=YB(V),X=YB(U);if((!(H&&fN(U)||X&&hN(V))||!rN(U))&&($||!HB(V))&&!(PB(e,"calc")&&(XB(V)||XB(U)||JB(V)||JB(U))&&rN(U))){var J=(XB(V)||JB(V))&&0===q&&("value-number"===U.type||U.isHex)&&k&&yN(k)&&!rN(U),Y=W&&"value-func"===W.type||W&&DN(W)||"value-func"===V.type||DN(V),K="value-func"===U.type||DN(U)||$&&"value-func"===$.type||$&&DN($);if(zB(U)||zB(V)||PB(e,"calc")||J||!(HB(U)&&!Y||HB(V)&&!K||XB(U)&&!Y||XB(V)&&!K||JB(U)||JB(V))||!(rN(U)||H&&(!$||$&&YB($))))if(pN(V)){if("value-paren_group"===T.type){L.push(AB(yB));continue}L.push(yB)}else P&&(GB(U)||WB(U)||eN(U)||KB(V)||QB(V))||_&&"namespace"===_.name.toLowerCase()?L.push(" "):N?V.source&&U.source&&V.source.start.line!==U.source.start.line?(L.push(yB),j=!0):L.push(" "):X?L.push(" "):U&&"..."===U.value||EN(V)&&EN(U)&&bN(V)===CN(U)||L.push(gB)}}}}return O&&L.push(SB),j&&L.unshift(yB),P?EB(bB(L)):LB(e)?EB(CB(L)):EB(bB(CB(L)));case"value-paren_group":var Q=e.getParentNode();if(Q&&ZB(Q)&&(1===r.groups.length||r.groups.length>0&&"value-comma_group"===r.groups[0].type&&r.groups[0].groups.length>0&&"value-word"===r.groups[0].groups[0].type&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?n("open"):"",mB(",",e.map(n,"groups")),r.close?n("close"):""];if(!r.open){for(var Z=e.map(n,"groups"),ee=[],te=0;te<Z.length;te++)0!==te&&ee.push([",",gB]),ee.push(Z[te]);return EB(bB(CB(ee)))}var ne=lN(e),re=Ie(r.groups),ue=re&&"value-comment"===re.type,ae=aN(r,Q),ie=EB([r.open?n("open"):"",bB([vB,mB([",",gB],e.map((function(e){var t=e.getValue(),r=n();if(uN(t)&&"value-comma_group"===t.type&&t.groups&&"value-paren_group"!==t.groups[0].type&&t.groups[2]&&"value-paren_group"===t.groups[2].type){var u=TB(r.contents.contents);return u[1]=EB(u[1]),EB(AB(r))}return r}),"groups"))]),FB(!ue&&jB(t.parser,t.originalText)&&ne&&AN(t)?",":""),vB,r.close?n("close"):""],{shouldBreak:ne&&!ae});return ae?AB(ie):ie;case"value-func":return[r.value,IB(e,"supports")&&gN(r)?" ":"",n("group")];case"value-number":return[BN(r.value),_B(r.unit)];case"value-word":return r.isColor&&r.isHex||RB(r.value)?r.value.toLowerCase():r.value;case"value-colon":var oe=e.getParentNode(),se=oe&&oe.groups.indexOf(r),ce=se&&oe.groups[se-1];return[r.value,ce&&"string"==typeof ce.value&&"\\"===Ie(ce.value)||PB(e,"url")?"":gB];case"value-string":return lB(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return["@",r.value];default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)))}},embed:function(e,t,n){var r=e.getValue();if("front-matter"===r.type){var u=ek(r,n);return u?[u,tk]:""}},insertPragma:kB,massageAstNode:YT},_N={singleQuote:$T.singleQuote},PN={languages:[af({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},(function(e){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[].concat(v(e.extensions),[".wxss"])}})),af({name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},(function(){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}})),af({name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},(function(){return{since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}})),af({name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329},(function(){return{since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}}))],options:_N,printers:{postcss:NN},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}},ON=function(e){return e.loc.start.offset},IN=function(e){return e.loc.end.offset};function LN(e,t){if("TextNode"===e.type){var n=e.chars.trim();if(!n)return null;t.chars=n.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}LN.ignoredProperties=new Set(["loc","selfClosing"]);var MN=LN,RN=new Set(["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]);function jN(e){return qN(e,["TextNode"])&&!/\S/.test(e.chars)}function qN(e,t){return e&&t.includes(e.type)}function $N(e,t){return qN(e.getParentNode(0),t)}function VN(e,t){var n=e.getValue(),r=e.getParentNode(0)||{},u=r.children||r.body||r.parts||[],a=u.indexOf(n);return-1!==a&&u[a+t]}function UN(e){return VN(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function WN(e){return VN(e,1)}function GN(e){return qN(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var zN=WN,HN=UN,XN=function(e){var t=e.getValue(),n=UN(e,2);return GN(t)||GN(n)},JN=function(e){var t=e.getValue(),n=e.getParentNode(0);return!(!$N(e,["ElementNode"])||Ie(n.children)!==t)||!(!$N(e,["Block"])||Ie(n.body)!==t)},YN=function(e,t){return qN(WN(e),t)},KN=qN,QN=$N,ZN=function(e,t){return qN(UN(e),t)},e_=function(e){return function(e){return qN(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every((function(e){return jN(e)}))||RN.has(e.tag)},t_=jN,n_=zn.builders,r_=n_.dedent,u_=n_.fill,a_=n_.group,i_=n_.hardline,o_=n_.ifBreak,s_=n_.indent,c_=n_.join,l_=n_.line,p_=n_.softline,f_=n_.literalline,d_=zn.utils.getDocParts,h_=sn.isNonEmptyArray,D_=sn.replaceEndOfLineWith,m_=ON,g_=IN,y_=zN,v_=HN,E_=XN,C_=JN,b_=YN,A_=KN,F_=QN,S_=ZN,w_=e_,x_=t_;function T_(e,t,n){var r=e.getValue().children.every((function(e){return x_(e)}));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map((function(e,r){var u=n();return 0===r&&"ignore"===t.htmlWhitespaceSensitivity?[p_,u]:u}),"children")}function k_(e){return w_(e)?o_([p_,"/>"],[" />",p_]):o_([p_,">"],">")}function B_(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function N_(e){var t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function __(e){return[B_(e),e.closeStrip.open?"~":"","/"]}function P_(e){var t=N_(e);return[e.closeStrip.close?"~":"",t]}function O_(e){return[B_(e),e.inverseStrip.open?"~":""]}function I_(e){var t=N_(e);return[e.inverseStrip.close?"~":"",t]}function L_(e,t){var n=e.getValue(),r=function(e){return[B_(e),e.openStrip.open?"~":"","#"]}(n),u=function(e){var t=N_(e);return[e.openStrip.close?"~":"",t]}(n),a=[Y_(0,t)],i=K_(e,t);if(i&&a.push(l_,i),h_(n.program.blockParams)){var o=Q_(n.program);a.push(l_,o)}return a_([r,s_(a),p_,u])}function M_(e,t){return["ignore"===t.htmlWhitespaceSensitivity?i_:"",O_(e),"else",I_(e)]}function R_(e,t){var n=e.getParentNode(1);return[O_(n),"else if ",K_(e,t),I_(n)]}function j_(e,t,n){var r=e.getValue();return"ignore"===n.htmlWhitespaceSensitivity?[q_(r)?p_:i_,__(r),t("path"),P_(r)]:[__(r),t("path"),P_(r)]}function q_(e){return A_(e,["BlockStatement"])&&e.program.body.every((function(e){return x_(e)}))}function $_(e){return A_(e,["BlockStatement"])&&e.inverse}function V_(e,t,n){if(q_(e.getValue()))return"";var r=t("program");return"ignore"===n.htmlWhitespaceSensitivity?s_([i_,r]):s_(r)}function U_(e,t,n){var r=e.getValue(),u=t("inverse"),a="ignore"===n.htmlWhitespaceSensitivity?[i_,u]:u;return function(e){return $_(e)&&1===e.inverse.body.length&&A_(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(r)?a:$_(r)?[M_(r,n),s_(a)]:""}function W_(e){return d_(c_(l_,function(e){return e.split(/[\t\n\f\r ]+/)}(e)))}function G_(e){return(e="string"==typeof e?e:"").split("\n").length-1}function z_(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Array(Math.min(e,2)).fill(i_)}function H_(e,t){var n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},u=e.singleQuote?r:n,a=u===r?n:r,i=!1;return(t.includes(u.quote)||t.includes(a.quote))&&(i=(t.match(u.regex)||[]).length>(t.match(a.regex)||[]).length),i?a:u}function X_(e,t){var n=Y_(0,t),r=K_(e,t);return r?s_([n,l_,a_(r)]):n}function J_(e,t){var n=Y_(0,t),r=K_(e,t);return r?[s_([n,l_,r]),p_]:n}function Y_(e,t){return t("path")}function K_(e,t){var n=e.getValue(),r=[];if(n.params.length>0){var u=e.map(t,"params");r.push.apply(r,v(u))}if(n.hash&&n.hash.pairs.length>0){var a=t("hash");r.push(a)}return 0===r.length?"":c_(l_,r)}function Q_(e){return["as |",e.blockParams.join(" "),"|"]}var Z_={print:function(e,t,n){var r=e.getValue();if(!r)return"";if(E_(e))return t.originalText.slice(m_(r),g_(r));switch(r.type){case"Block":case"Program":case"Template":return a_(e.map(n,"body"));case"ElementNode":var u=a_(function(e,t){var n=e.getValue(),r=["attributes","modifiers","comments","blockParams"].filter((function(e){return h_(n[e])})).map((function(r){return[l_,"blockParams"===r?Q_(n):c_(l_,e.map(t,r))]}));return["<",n.tag,s_(r),k_(n)]}(e,n)),a="ignore"===t.htmlWhitespaceSensitivity&&b_(e,["ElementNode"])?p_:"";if(w_(r))return[u,a];var i=["</",r.tag,">"];return 0===r.children.length?[u,s_(i),a]:"ignore"===t.htmlWhitespaceSensitivity?[u,s_(T_(e,t,n)),i_,s_(i),a]:[u,s_(a_(T_(e,t,n))),s_(i),a];case"BlockStatement":var o=e.getParentNode(1);return o&&o.inverse&&1===o.inverse.body.length&&o.inverse.body[0]===r&&"if"===o.inverse.body[0].path.parts[0]?[R_(e,n),V_(e,n,t),U_(e,n,t)]:[L_(e,n),a_([V_(e,n,t),U_(e,n,t),j_(e,n,t)])];case"ElementModifierStatement":return a_(["{{",J_(e,n),"}}"]);case"MustacheStatement":return a_([B_(r),J_(e,n),N_(r)]);case"SubExpression":return a_(["(",X_(e,n),p_,")"]);case"AttrNode":var s="TextNode"===r.value.type;if(s&&""===r.value.chars&&m_(r.value)===g_(r.value))return r.name;var c=s?H_(t,r.value.chars).quote:"ConcatStatement"===r.value.type?H_(t,r.value.parts.filter((function(e){return"TextNode"===e.type})).map((function(e){return e.chars})).join("")).quote:"",l=n("value");return[r.name,"=",c,"class"===r.name&&c?a_(s_(l)):l,c];case"ConcatStatement":return e.map(n,"parts");case"Hash":return c_(l_,e.map(n,"pairs"));case"HashPair":return[r.key,"=",n("value")];case"TextNode":var p=r.chars.replace(/{{/g,"\\{{"),f=function(e){for(var t=0;t<2;t++){var n=e.getParentNode(t);if(n&&"AttrNode"===n.type)return n.name.toLowerCase()}}(e);if(f){if("class"===f){var d=p.trim().split(/\s+/).join(" "),h=!1,D=!1;return F_(e,["ConcatStatement"])&&(S_(e,["MustacheStatement"])&&/^\s/.test(p)&&(h=!0),b_(e,["MustacheStatement"])&&/\s$/.test(p)&&""!==d&&(D=!0)),[h?l_:"",d,D?l_:""]}return D_(p,f_)}var m=/^[\t\n\f\r ]*$/.test(p),g=!v_(e),y=!y_(e);if("ignore"!==t.htmlWhitespaceSensitivity){var E=/^[\t\n\f\r ]*/,b=/[\t\n\f\r ]*$/,A=y&&F_(e,["Template"]),F=g&&F_(e,["Template"]);if(m){if(F||A)return"";var S=[l_],w=G_(p);return w&&(S=z_(w)),C_(e)&&(S=S.map((function(e){return r_(e)}))),S}var x=C(p.match(E),1)[0],T=C(p.match(b),1)[0],k=[];if(x){k=[l_];var B=G_(x);B&&(k=z_(B)),p=p.replace(E,"")}var N=[];if(T){if(!A){N=[l_];var _=G_(T);_&&(N=z_(_)),C_(e)&&(N=N.map((function(e){return r_(e)})))}p=p.replace(b,"")}return[].concat(v(k),[u_(W_(p))],v(N))}var P=G_(p),O=function(e){return G_(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(p),I=function(e){return G_(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(p);if((g||y)&&m&&F_(e,["Block","ElementNode","Template"]))return"";m&&P?(O=Math.min(P,2),I=0):(b_(e,["BlockStatement","ElementNode"])&&(I=Math.max(I,1)),S_(e,["BlockStatement","ElementNode"])&&(O=Math.max(O,1)));var L="",M="";return 0===I&&b_(e,["MustacheStatement"])&&(M=" "),0===O&&S_(e,["MustacheStatement"])&&(L=" "),g&&(O=0,L=""),y&&(I=0,M=""),p=p.replace(/^[\t\n\f\r ]+/g,L).replace(/[\t\n\f\r ]+$/,M),[].concat(v(z_(O)),[u_(W_(p))],v(z_(I)));case"MustacheCommentStatement":var R=m_(r),j=g_(r),q="~"===t.originalText.charAt(R+2),$="~"===t.originalText.charAt(j-3),V=r.value.includes("}}")?"--":"";return["{{",q?"~":"","!",V,r.value,V,$?"~":"","}}"];case"PathExpression":return r.original;case"BooleanLiteral":case"NumberLiteral":return String(r.value);case"CommentStatement":return["\x3c!--",r.value,"--\x3e"];case"StringLiteral":return function(e,t){var n=H_(t,e),r=n.quote,u=n.regex;return[r,e.replace(u,"\\".concat(r)),r]}(r.value,t);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:MN},eP={languages:[af({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},(function(){return{since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}}))],printers:{glimmer:Z_},parsers:{get glimmer(){return{}.parsers.glimmer}}},tP=function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},nP=function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end},rP=zn.builders,uP=rP.join,aP=rP.hardline,iP=rP.line,oP=rP.softline,sP=rP.group,cP=rP.indent,lP=rP.ifBreak,pP=sn.isNextLineEmpty,fP=sn.isNonEmptyArray,dP=function(e){return"# @format\n\n"+e},hP=tP,DP=nP;function mP(e,t,n){if(0===n.directives.length)return"";var r=uP(iP,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?sP([iP,r]):[" ",sP(cP([oP,r]))]}function gP(e,t,n){var r=e.getValue().length;return e.map((function(e,u){var a=n();return pP(t.originalText,e.getValue(),DP)&&u<r-1?[a,aP]:a}))}function yP(e,t,n){for(var r=[],u=e.getNode().interfaces,a=e.map((function(e){return n(e)}),"interfaces"),i=0;i<u.length;i++){var o=u[i];r.push(a[i]);var s=u[i+1];if(s){var c=t.originalText.slice(o.loc.end,s.loc.start),l=c.includes("#"),p=c.replace(/#.*/g,"").trim();r.push(","===p?",":" &",l?iP:" ")}}return r}function vP(){}vP.ignoredProperties=new Set(["loc","comments"]);var EP={print:function(e,t,n){var r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.kind){case"Document":var u=[];return e.each((function(e,r,a){u.push(n()),r!==a.length-1&&(u.push(aP),pP(t.originalText,e.getValue(),DP)&&u.push(aP))}),"definitions"),[].concat(u,[aP]);case"OperationDefinition":var a="{"!==t.originalText[hP(r)],i=Boolean(r.name);return[a?r.operation:"",a&&i?[" ",n("name")]:"",a&&!i&&fP(r.variableDefinitions)?" ":"",fP(r.variableDefinitions)?sP(["(",cP([oP,uP([lP("",", "),oP],e.map(n,"variableDefinitions"))]),oP,")"]):"",mP(e,n,r),r.selectionSet&&(a||i)?" ":"",n("selectionSet")];case"FragmentDefinition":return["fragment ",n("name"),fP(r.variableDefinitions)?sP(["(",cP([oP,uP([lP("",", "),oP],e.map(n,"variableDefinitions"))]),oP,")"]):""," on ",n("typeCondition"),mP(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",cP([aP,uP(aP,e.call((function(e){return gP(e,t,n)}),"selections"))]),aP,"}"];case"Field":return sP([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?sP(["(",cP([oP,uP([lP("",", "),oP],e.call((function(e){return gP(e,t,n)}),"arguments"))]),oP,")"]):"",mP(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"StringValue":return r.block?['"""',aP,uP(aP,r.value.replace(/"""/g,"\\$&").split("\n")),aP,'"""']:['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return sP(["[",cP([oP,uP([lP("",", "),oP],e.map(n,"values"))]),oP,"]"]);case"ObjectValue":return sP(["{",t.bracketSpacing&&r.fields.length>0?" ":"",cP([oP,uP([lP("",", "),oP],e.map(n,"fields"))]),oP,lP("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?sP(["(",cP([oP,uP([lP("",", "),oP],e.call((function(e){return gP(e,t,n)}),"arguments"))]),oP,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",mP(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),r.description?aP:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",n("name"),r.interfaces.length>0?[" implements "].concat(v(yP(e,t,n))):"",mP(e,n,r),r.fields.length>0?[" {",cP([aP,uP(aP,e.call((function(e){return gP(e,t,n)}),"fields"))]),aP,"}"]:""];case"FieldDefinition":return[n("description"),r.description?aP:"",n("name"),r.arguments.length>0?sP(["(",cP([oP,uP([lP("",", "),oP],e.call((function(e){return gP(e,t,n)}),"arguments"))]),oP,")"]):"",": ",n("type"),mP(e,n,r)];case"DirectiveDefinition":return[n("description"),r.description?aP:"","directive ","@",n("name"),r.arguments.length>0?sP(["(",cP([oP,uP([lP("",", "),oP],e.call((function(e){return gP(e,t,n)}),"arguments"))]),oP,")"]):"",r.repeatable?" repeatable":""," on ",uP(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),r.description?aP:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",n("name"),mP(e,n,r),r.values.length>0?[" {",cP([aP,uP(aP,e.call((function(e){return gP(e,t,n)}),"values"))]),aP,"}"]:""];case"EnumValueDefinition":return[n("description"),r.description?aP:"",n("name"),mP(e,n,r)];case"InputValueDefinition":return[n("description"),r.description?r.description.block?aP:iP:"",n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",mP(e,n,r)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),r.description?aP:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",n("name"),mP(e,n,r),r.fields.length>0?[" {",cP([aP,uP(aP,e.call((function(e){return gP(e,t,n)}),"fields"))]),aP,"}"]:""];case"SchemaDefinition":return["schema",mP(e,n,r)," {",r.operationTypes.length>0?cP([aP,uP(aP,e.call((function(e){return gP(e,t,n)}),"operationTypes"))]):"",aP,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),r.description?aP:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",n("name"),r.interfaces.length>0?[" implements "].concat(v(yP(e,t,n))):"",mP(e,n,r),r.fields.length>0?[" {",cP([aP,uP(aP,e.call((function(e){return gP(e,t,n)}),"fields"))]),aP,"}"]:""];case"FragmentSpread":return["...",n("name"),mP(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",mP(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return sP([n("description"),r.description?aP:"",sP(["UnionTypeExtension"===r.kind?"extend ":"","union ",n("name"),mP(e,n,r),r.types.length>0?[" =",lP(""," "),cP([lP([iP," "]),uP([iP,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),r.description?aP:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",n("name"),mP(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:vP,hasPrettierIgnore:function(e){var t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some((function(e){return"prettier-ignore"===e.value.trim()}))},insertPragma:dP,printComment:function(e){var t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}},CP={bracketSpacing:$T.bracketSpacing},bP={languages:[af({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},(function(){return{since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}}))],options:CP,printers:{graphql:EP},parsers:{get graphql(){return{}.parsers.graphql}}},AP=function(e){return e.position.start.offset},FP=function(e){return e.position.end.offset},SP=sn.getLast,wP=AP,xP=FP,TP="(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kP="[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",BP="[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\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\\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]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]",NP=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],_P=[].concat(NP,["tableCell","paragraph","heading"]),PP=new RegExp(kP),OP=new RegExp(BP);function IP(e,t){var n=C(t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/),4);return{numberText:n[1],marker:n[2],leadingSpaces:n[3]}}var LP={mapAst:function(e,t){return function e(n,r,u){var a=Object.assign({},t(n,r,u));return a.children&&(a.children=a.children.map((function(t,n){return e(t,n,[a].concat(v(u)))}))),a}(e,null,[])},splitText:function(e,t){var n,r="non-cjk",u="cj-letter",a="cjk-punctuation",i=[],o=("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(TP,")\n(").concat(TP,")"),"g"),"$1$2")).split(/([\t\n ]+)/),s=g(o.entries());try{for(s.s();!(n=s.n()).done;){var c=C(n.value,2),l=c[0],p=c[1];if(l%2!=1){if(0!==l&&l!==o.length-1||""!==p){var f,d=p.split(new RegExp("(".concat(TP,")"))),h=g(d.entries());try{for(h.s();!(f=h.n()).done;){var D=C(f.value,2),m=D[0],y=D[1];(0!==m&&m!==d.length-1||""!==y)&&(m%2!=0?v(OP.test(y)?{type:"word",value:y,kind:a,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:y,kind:PP.test(y)?"k-letter":u,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==y&&v({type:"word",value:y,kind:r,hasLeadingPunctuation:OP.test(y[0]),hasTrailingPunctuation:OP.test(SP(y))}))}}catch(e){h.e(e)}finally{h.f()}}}else i.push({type:"whitespace",value:/\n/.test(p)?"\n":" "})}}catch(e){s.e(e)}finally{s.f()}return i;function v(e){var t,n,o=SP(i);o&&"word"===o.type&&(o.kind===r&&e.kind===u&&!o.hasTrailingPunctuation||o.kind===u&&e.kind===r&&!e.hasLeadingPunctuation?i.push({type:"whitespace",value:" "}):(t=r,n=a,o.kind===t&&e.kind===n||o.kind===n&&e.kind===t||[o.value,e.value].some((function(e){return/\u3000/.test(e)}))||i.push({type:"whitespace",value:""}))),i.push(e)}},punctuationPattern:BP,getFencedCodeBlockValue:function(e,t){var n=e.value;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n},getOrderedListItemInfo:IP,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;var n=Number(IP(e.children[0],t.originalText).numberText),r=Number(IP(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){var u=Number(IP(e.children[2],t.originalText).numberText);return 1===r&&1===u}return 1===r},INLINE_NODE_TYPES:NP,INLINE_NODE_WRAPPER_TYPES:_P,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;var t=e.children[0];return t&&wP(e)===wP(t)&&xP(e)===xP(t)}},MP=sn.inferParserByLanguage,RP=sn.getMaxContinuousCount,jP=zn.builders,qP=jP.hardline,$P=jP.markAsRoot,VP=zn.utils.replaceNewlinesWithLiterallines,UP=LP.getFencedCodeBlockValue,WP=["format","prettier"];function GP(e){var t="@(".concat(WP.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index}var zP=function(e){var t=rk(e),n="\x3c!-- @".concat(WP[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content)},HP=LP.getOrderedListItemInfo,XP=LP.mapAst,JP=LP.splitText,YP=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function KP(e,t,n){return XP(e,(function(e){if(!e.children)return e;var r=e.children.reduce((function(e,r){var u=Ie(e);return u&&t(u,r)?e.splice(-1,1,n(u,r)):e.push(r),e}),[]);return Object.assign({},e,{children:r})}))}var QP=sn.isFrontMatterNode,ZP=GP,eO=new Set(["position","raw"]);function tO(e,t,n){return"front-matter"!==e.type&&"code"!==e.type&&"yaml"!==e.type&&"import"!==e.type&&"export"!==e.type&&"jsx"!==e.type||delete t.value,"list"===e.type&&delete t.isAligned,"list"!==e.type&&"listItem"!==e.type||(delete t.spread,delete t.loose),"text"===e.type?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),"definition"!==e.type&&"linkReference"!==e.type||(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),"definition"!==e.type&&"link"!==e.type&&"image"!==e.type||!e.title||(t.title=e.title.replace(/\\(["')])/g,"$1")),n&&"root"===n.type&&n.children.length>0&&(n.children[0]===e||QP(n.children[0])&&n.children[1]===e)&&"html"===e.type&&ZP(e.value)?null:void 0)}tO.ignoredProperties=eO;var nO=tO,rO=sn.getLast,uO=sn.getMinNotPresentContinuousCount,aO=sn.getMaxContinuousCount,iO=sn.getStringWidth,oO=sn.isNonEmptyArray,sO=zn.builders,cO=sO.breakParent,lO=sO.join,pO=sO.line,fO=sO.literalline,dO=sO.markAsRoot,hO=sO.hardline,DO=sO.softline,mO=sO.ifBreak,gO=sO.fill,yO=sO.align,vO=sO.indent,EO=sO.group,CO=sO.hardlineWithoutBreakParent,bO=zn.utils.normalizeDoc,AO=zn.printer.printDocToString,FO=sn.replaceEndOfLineWith,SO=zP,wO=AP,xO=FP,TO=LP.getFencedCodeBlockValue,kO=LP.hasGitDiffFriendlyOrderedList,BO=LP.splitText,NO=LP.punctuationPattern,_O=LP.INLINE_NODE_TYPES,PO=LP.INLINE_NODE_WRAPPER_TYPES,OO=LP.isAutolink,IO=new Set(["importExport"]),LO=["heading","tableCell","link","wikiLink"],MO=new Set(["listItem","definition","footnoteDefinition"]);function RO(e,t,n,r){var u=e.getValue(),a=null===u.checked?"":u.checked?"[x] ":"[ ] ";return[a,WO(e,t,n,{processor:function(e,u){if(0===u&&"list"!==e.getValue().type)return yO(" ".repeat(a.length),n());var i,o=" ".repeat((3,(i=t.tabWidth-r.length)<0?0:i>3?3:i));return[o,yO(o,n())]}})]}function jO(e,t){return function(e,t,n){var r,u=-1,a=g(t.children);try{for(a.s();!(r=a.n()).done;){var i=r.value;if(i.type===e.type&&n(i)?u++:u=-1,i===e)return u}}catch(e){a.e(e)}finally{a.f()}}(e,t,(function(t){return t.ordered===e.ordered}))}function qO(e,t){for(var n,r=Array.isArray(t)?t:[t],u=-1;n=e.getParentNode(++u);)if(r.includes(n.type))return u;return-1}function $O(e,t){var n=qO(e,t);return-1===n?null:e.getParentNode(n)}function VO(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return hO;var r="always"===n.proseWrap&&!$O(e,LO);return""!==t?r?pO:" ":r?DO:""}function UO(e,t,n){var r,u=[],a=null,i=e.getValue().children,o=g(i.entries());try{for(o.s();!(r=o.n()).done;){var s=C(r.value,2),c=s[0],l=s[1];switch(zO(l)){case"start":null===a&&(a={index:c,offset:l.position.end.offset});break;case"end":null!==a&&(u.push({start:a,end:{index:c,offset:l.position.start.offset}}),a=null)}}}catch(e){o.e(e)}finally{o.f()}return WO(e,t,n,{processor:function(e,r){if(u.length>0){var a=u[0];if(r===a.start.index)return[i[a.start.index].value,t.originalText.slice(a.start.offset,a.end.offset),i[a.end.index].value];if(a.start.index<r&&r<a.end.index)return!1;if(r===a.end.index)return u.shift(),!1}return n()}})}function WO(e,t,n){var r,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=u.postprocessor,i=u.processor||function(){return n()},o=e.getValue(),s=[];return e.each((function(e,n){var u=e.getValue(),a=i(e,n);if(!1!==a){var c={parts:s,prevNode:r,parentNode:o,options:t};(function(e,t){var n=0===t.parts.length,r=_O.includes(e.type),u="html"===e.type&&PO.includes(t.parentNode.type);return!n&&!r&&!u})(u,c)&&(s.push(hO),r&&IO.has(r.type)||(function(e,t){var n=(t.prevNode&&t.prevNode.type)===e.type&&MO.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,u=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,a="next"===zO(t.prevNode),i="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,o="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return u||!(n||r||a||i||o)}(u,c)||HO(u,c))&&s.push(hO),HO(u,c)&&s.push(hO)),s.push(a),r=u}}),"children"),a?a(s):s}function GO(e){for(var t=e;oO(t.children);)t=rO(t.children);return t}function zO(e){if("html"!==e.type)return!1;var t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);return null!==t&&(t[1]?t[1]:"next")}function HO(e,t){var n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function XO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[" "].concat(v(Array.isArray(t)?t:[t]));return new RegExp(n.map((function(e){return"\\".concat(e)})).join("|")).test(e)?"<".concat(e,">"):e}function JO(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+JO(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");var n=e.split("'").length-1,r=e.split('"').length-1,u=n>r?'"':r>n||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(u,")"),"g"),"\\$1"),"".concat(u).concat(e).concat(u)}var YO={preprocess:function(e,t){return function(e){return KP(e,(function(e,t){return"importExport"===e.type&&"importExport"===t.type}),(function(e,t){return{type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}}))}(e=function(e){return XP(e,(function(e){return"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"})}))}(e=function(e,t){return XP(e,(function(e,n,r){var u=C(r,1)[0];if("text"!==e.type)return e;var a=e.value;return"paragraph"===u.type&&(0===n&&(a=a.trimStart()),n===u.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:e.position,children:JP(a,t)}}))}(e=function(e,t){return XP(e,(function(e,t,n){if("list"===e.type&&e.children.length>0){for(var u=0;u<n.length;u++){var a=n[u];if("list"===a.type&&!a.isAligned)return e.isAligned=!1,e}e.isAligned=r(e)}return e}));function n(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}function r(e){if(!e.ordered)return!0;var r=C(e.children,2),u=r[0],a=r[1];if(HP(u,t.originalText).leadingSpaces.length>1)return!0;var i=n(u);return-1!==i&&(1===e.children.length?i%t.tabWidth==0:i===n(a)&&(i%t.tabWidth==0||HP(a,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return XP(e,(function(e,n,r){if("code"===e.type){var u=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=u,u)for(var a=0;a<r.length;a++){var i=r[a];if(i.hasIndentedCodeblock)break;"list"===i.type&&(i.hasIndentedCodeblock=!0)}}return e}))}(e=function(e){return XP(e,(function(e){return"inlineCode"!==e.type?e:Object.assign({},e,{value:e.value.replace(/\s+/g," ")})}))}(e=function(e){return KP(e,(function(e,t){return"text"===e.type&&"text"===t.type}),(function(e,t){return{type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}}))}(e=function(e,t){return XP(e,(function(e){return"text"===e.type&&"*"!==e.value&&"_"!==e.value&&YP.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign({},e,{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e}))}(e,t))),t),t),t)))},print:function(e,t,n){var r=e.getValue();if(function(e){var t=$O(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return BO(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map((function(n){return"word"===n.type?n.value:""===n.value?"":VO(e,n.value,t)}));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":[bO(UO(e,t,n)),IO.has(GO(r).type)?"":hO];case"paragraph":return WO(e,t,n,{postprocessor:gO});case"sentence":return WO(e,t,n);case"word":var u=r.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(NO,")(_+)"),"(_+)(".concat(NO,"|$)")].join("|"),"g"),(function(e,t,n,r,u){return(n?"".concat(t).concat(n):"".concat(r).concat(u)).replace(/_/g,"\\_")})),a=function(e,t,n){return"sentence"===e.type&&0===n},i=function(e,t,n){return OO(e.children[n-1])};return u!==r.value&&(e.match(void 0,a,i)||e.match(void 0,a,(function(e,t,n){return"emphasis"===e.type&&0===n}),i))&&(u=u.replace(/^(\\?[*_])+/,(function(e){return e.replace(/\\/g,"")}))),u;case"whitespace":var o=e.getParentNode(),s=o.children.indexOf(r),c=o.children[s+1],l=c&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(c.value)?"never":t.proseWrap;return VO(e,r.value,{proseWrap:l});case"emphasis":var p;if(OO(r.children[0]))p=t.originalText[r.position.start.offset];else{var f=e.getParentNode(),d=f.children.indexOf(r),h=f.children[d-1],D=f.children[d+1];p=h&&"sentence"===h.type&&h.children.length>0&&"word"===rO(h.children).type&&!rO(h.children).hasTrailingPunctuation||D&&"sentence"===D.type&&D.children.length>0&&"word"===D.children[0].type&&!D.children[0].hasLeadingPunctuation||$O(e,"emphasis")?"*":"_"}return[p,WO(e,t,n),p];case"strong":return["**",WO(e,t,n),"**"];case"delete":return["~~",WO(e,t,n),"~~"];case"inlineCode":var m=uO(r.value,"`"),g="`".repeat(m||1),y=m&&!/^\s/.test(r.value)?" ":"";return[g,y,r.value,y,g];case"wikiLink":return["[[","preserve"===t.proseWrap?r.value:r.value.replace(/[\t\n]+/g," "),"]]"];case"link":switch(t.originalText[r.position.start.offset]){case"<":var E="mailto:";return["<",r.url.startsWith(E)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+E.length)!==E?r.url.slice(E.length):r.url,">"];case"[":return["[",WO(e,t,n),"](",XO(r.url,")"),JO(r.title,t),")"];default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return[""),JO(r.title,t),")"];case"blockquote":return["> ",yO("> ",WO(e,t,n))];case"heading":return["#".repeat(r.depth)+" ",WO(e,t,n)];case"code":if(r.isIndented){var C=" ".repeat(4);return yO(C,[C].concat(v(FO(r.value,hO))))}var b=t.__inJsTemplate?"~":"`",A=b.repeat(Math.max(3,aO(r.value,b)+1));return[A,r.lang||"",r.meta?" "+r.meta:"",hO].concat(v(FO(TO(r,t.originalText),hO)),[hO,A]);case"html":var F=e.getParentNode(),S="root"===F.type&&rO(F.children)===r?r.value.trimEnd():r.value,w=/^<!--[\S\s]*-->$/.test(S);return FO(S,w?hO:dO(fO));case"list":var x=jO(r,e.getParentNode()),T=kO(r,t);return WO(e,t,n,{processor:function(e,u){var a=function(){var e=r.ordered?(0===u?r.start:T?1:r.start+u)+(x%2==0?". ":") "):x%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){var n=function(){var n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}();return e+" ".repeat(n>=4?0:n)}(e,t):e}(),i=e.getValue();return 2===i.children.length&&"html"===i.children[1].type&&i.children[0].position.start.column!==i.children[1].position.start.column?[a,RO(e,t,n,a)]:[a,yO(" ".repeat(a.length),RO(e,t,n,a))]}});case"thematicBreak":var k=qO(e,"list");return-1===k?"---":jO(e.getParentNode(k),e.getParentNode(k+1))%2==0?"***":"---";case"linkReference":return["[",WO(e,t,n),"]","full"===r.referenceType?["[",r.identifier,"]"]:"collapsed"===r.referenceType?"[]":""];case"imageReference":return"full"===r.referenceType?["![",r.alt||"","][",r.identifier,"]"]:["![",r.alt,"]","collapsed"===r.referenceType?"[]":""];case"definition":var B="always"===t.proseWrap?pO:" ";return EO(["[",r.identifier,"]:",vO([B,XO(r.url),null===r.title?"":[B,JO(r.title,t,!1)]])]);case"footnote":return["[^",WO(e,t,n),"]"];case"footnoteReference":return["[^",r.identifier,"]"];case"footnoteDefinition":var N=e.getParentNode().children[e.getName()+1],_=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return["[^",r.identifier,"]: ",_?WO(e,t,n):EO([yO(" ".repeat(4),WO(e,t,n,{processor:function(e,t){return 0===t?EO([DO,n()]):n()}})),N&&"footnoteDefinition"===N.type?DO:""])];case"table":return function(e,t,n){var r=e.getValue(),u=[],a=e.map((function(e){return e.map((function(e,r){var a=AO(n(),t).formatted,i=iO(a);return u[r]=Math.max(u[r]||3,i),{text:a,width:i}}),"children")}),"children"),i=s(!1);if("never"!==t.proseWrap)return[cO,i];var o=s(!0);return[cO,EO(mO(o,i))];function s(e){var t=[l(a[0],e),c(e)];return a.length>1&&t.push(lO(CO,a.slice(1).map((function(t){return l(t,e)})))),lO(CO,t)}function c(e){var t=u.map((function(t,n){var u=r.align[n],a="center"===u||"left"===u?":":"-",i="center"===u||"right"===u?":":"-",o=e?"-":"-".repeat(t-2);return"".concat(a).concat(o).concat(i)}));return"| ".concat(t.join(" | ")," |")}function l(e,t){var n=e.map((function(e,n){var a=e.text,i=e.width;if(t)return a;var o=u[n]-i,s=r.align[n],c=0;"right"===s?c=o:"center"===s&&(c=Math.floor(o/2));var l=o-c;return"".concat(" ".repeat(c)).concat(a).concat(" ".repeat(l))}));return"| ".concat(n.join(" | ")," |")}}(e,t,n);case"tableCell":return WO(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?[" ",dO(fO)]:["\\",hO];case"liquidNode":return FO(r.value,hO);case"importExport":return[r.value,hO];case"jsx":return r.value;case"math":return["$$",hO,r.value?[].concat(v(FO(r.value,hO)),[hO]):"","$$"];case"inlineMath":return t.originalText.slice(wO(r),xO(r));default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:function(e,t,n,r){var u=e.getValue();if("code"===u.type&&null!==u.lang){var a=MP(u.lang,r);if(a){var i=r.__inJsTemplate?"~":"`",o=i.repeat(Math.max(3,RP(u.value,i)+1)),s=n(UP(u,r.originalText),{parser:a},{stripTrailingHardline:!0});return $P([o,u.lang,u.meta?" "+u.meta:"",qP,VP(s),qP,o])}}switch(u.type){case"front-matter":return ek(u,n);case"importExport":return[n(u.value,{parser:"babel"},{stripTrailingHardline:!0}),qP];case"jsx":return n("<$>".concat(u.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null},massageAstNode:nO,hasPrettierIgnore:function(e){var t=Number(e.getName());return 0!==t&&"next"===zO(e.getParentNode().children[t-1])},insertPragma:SO},KO={proseWrap:$T.proseWrap,singleQuote:$T.singleQuote},QO={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222},ZO={languages:[af(QO,(function(e){return{since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[].concat(v(e.filenames),["README"]),extensions:e.extensions.filter((function(e){return".mdx"!==e}))}})),af(QO,(function(){return{name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}}))],options:KO,printers:{mdast:YO},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}},eI=sn.isFrontMatterNode,tI=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function nI(e,t){return"text"===e.type||"comment"===e.type||eI(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))}nI.ignoredProperties=tI;var rI=nI,uI=sn.inferParserByLanguage,aI=sn.isFrontMatterNode,iI={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},oI="inline",sI={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},cI="normal",lI=(dI(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),function(e,t){for(var n=Object.create(null),r=0,u=Object.entries(e);r<u.length;r++){var a=C(u[r],2),i=a[0],o=a[1];n[i]=t(o,i)}}({"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]},dI),new Set(["\t","\n","\f","\r"," "])),pI=function(e){return e.replace(/[\t\n\f\r ]+$/,"")},fI=function(e){return e.match(/^[\t\n\f\r ]*/)[0]};function dI(e){var t,n=Object.create(null),r=g(e);try{for(r.s();!(t=r.n()).done;)n[t.value]=!0}catch(e){r.e(e)}finally{r.f()}return n}function hI(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!wI(e)||!e.children.some((function(e){return"text"!==e.type&&"interpolation"!==e.type})))||!(!_I(e,t)||mI(e)||"interpolation"===e.type)}function DI(e){return"attribute"!==e.type&&!!e.parent&&"number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function mI(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||xI(e)&&("script"===e.name||"style"===e.name))}function gI(e){return TI(e).startsWith("pre")}function yI(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function vI(e){return AI(e)||"element"===e.type&&"br"===e.fullName||EI(e)}function EI(e){return CI(e)&&bI(e)}function CI(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function bI(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function AI(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function FI(e){var t=e.attrMap,n=t.type,r=t.lang;return"module"===n||"text/javascript"===n||"text/babel"===n||"application/javascript"===n||"jsx"===r?"babel":"application/x-typescript"===n||"ts"===r||"tsx"===r?"typescript":"text/markdown"===n?"markdown":"text/html"===n?"html":n&&(n.endsWith("json")||n.endsWith("importmap"))?"json":"text/x-handlebars-template"===n?"glimmer":void 0}function SI(e){return"block"===e||"list-item"===e||e.startsWith("table")}function wI(e){return TI(e).startsWith("pre")}function xI(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function TI(e){return"element"===e.type&&(!e.namespace||xI(e))&&sI[e.name]||cI}var kI=new Set(["template","style","script"]);function BI(e,t){return NI(e,t)&&!kI.has(e.fullName)}function NI(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function _I(e,t){return NI(e,t)&&(BI(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var PI=function(e){return function(e){return e.replace(/^[\t\n\f\r ]+/,"")}(pI(e))},OI=function(e){return function(e){return e.replace(/^[\t\f\r ]*?\n/g,"")}(pI(e))},II=function(e){return e.split(/[\t\n\f\r ]+/)},LI=function(e){return/[\t\n\f\r ]/.test(e)},MI=function(e){var t=C(e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/),4),n=t[1],r=t[2];return{leadingWhitespace:n,trailingWhitespace:t[3],text:r}},RI=function(e){return e.children&&!mI(e)},jI=function(e,t){for(var n=0,r=0;r<e.length;r++)e[r]===t&&n++;return n},qI=function(e,t){for(var n=0,r=e.stack.length-1;r>=0;r--){var u=e.stack[r];u&&"object"==w(u)&&!Array.isArray(u)&&t(u)&&n++}return n},$I=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){var t,n=Number.POSITIVE_INFINITY,r=g(e.split("\n"));try{for(r.s();!(t=r.n()).done;){var u=t.value;if(0!==u.length){if(!lI.has(u[0]))return 0;var a=fI(u).length;u.length!==a&&a<n&&(n=a)}}}catch(e){r.e(e)}finally{r.f()}return n===Number.POSITIVE_INFINITY?0:n}(e);return 0===t?e:e.split("\n").map((function(e){return e.slice(t)})).join("\n")},VI=yI,UI=function(e){return yI(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some((function(e){return function(e){return e.children&&e.children.some((function(e){return"text"!==e.type}))}(e)})))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&CI(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||bI(e.lastChild))},WI=function(e){return aI(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},GI=function e(t){return t.lastChild?e(t.lastChild):t},zI=function(e,t){if(e.prev&&"comment"===e.prev.type){var n=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(n)return n[1]}var r=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){for(var n=e;n;){if(t(n))return!0;n=n.parent}return!1}(e,(function(e){return"svg:foreignObject"===e.fullName})))return"svg"===e.name?"inline-block":"block";r=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||r||xI(e))&&iI[e.name]||oI}},HI=function(e){var t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},XI=DI,JI=function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){var t=e.attrMap.lang;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&_I(e,t)?FI(e)||!("src"in e.attrMap)&&uI(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?FI(e):"babel"},YI=BI,KI=_I,QI=function(e){var t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},ZI=function(e,t){var n=e.parent;if(!NI(n,t))return!1;var r=n.fullName,u=e.fullName;return"script"===r&&"setup"===u||"style"===r&&"vars"===u},eL=function(e){return!(SI(t=e.cssDisplay)||"inline-block"===t||mI(e));var t},tL=gI,nL=function(e,t){var n=function(){return!(aI(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!wI(e.parent)&&(!e.prev&&("root"===e.parent.type||wI(e)&&e.parent||mI(e.parent)||BI(e.parent,t)||(n=e.parent.cssDisplay,SI(n)||"inline-block"===n))||e.prev&&!function(e){return!SI(e)}(e.prev.cssDisplay))));var n}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},rL=wI,uL=mI,aL=function(e){return"text"===e.type||"comment"===e.type},iL=function(e,t){return!(aI(e)||("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)&&(!e.parent||"none"===e.parent.cssDisplay||!wI(e.parent)&&(!e.next&&("root"===e.parent.type||wI(e)&&e.parent||mI(e.parent)||BI(e.parent,t)||(n=e.parent.cssDisplay,SI(n)||"inline-block"===n))||e.next&&!function(e){return!SI(e)}(e.next.cssDisplay))));var n},oL=function(e){return mI(e)||"interpolation"===e.type||gI(e)},sL=function(e){return AI(e)||e.prev&&vI(e.prev)||EI(e)},cL=function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(DI(e)||hI(e.parent,t))},lL=hI,pL=function(e){return e.replace(/'/g,"'").replace(/"/g,'"')},fL=o((function(e,t){function n(e){return t.$0<=e&&e<=t.$9}Object.defineProperty(t,"__esModule",{value:!0}),t.$EOF=0,t.$BSPACE=8,t.$TAB=9,t.$LF=10,t.$VTAB=11,t.$FF=12,t.$CR=13,t.$SPACE=32,t.$BANG=33,t.$DQ=34,t.$HASH=35,t.$$=36,t.$PERCENT=37,t.$AMPERSAND=38,t.$SQ=39,t.$LPAREN=40,t.$RPAREN=41,t.$STAR=42,t.$PLUS=43,t.$COMMA=44,t.$MINUS=45,t.$PERIOD=46,t.$SLASH=47,t.$COLON=58,t.$SEMICOLON=59,t.$LT=60,t.$EQ=61,t.$GT=62,t.$QUESTION=63,t.$0=48,t.$7=55,t.$9=57,t.$A=65,t.$E=69,t.$F=70,t.$X=88,t.$Z=90,t.$LBRACKET=91,t.$BACKSLASH=92,t.$RBRACKET=93,t.$CARET=94,t.$_=95,t.$a=97,t.$b=98,t.$e=101,t.$f=102,t.$n=110,t.$r=114,t.$t=116,t.$u=117,t.$v=118,t.$x=120,t.$z=122,t.$LBRACE=123,t.$BAR=124,t.$RBRACE=125,t.$NBSP=160,t.$PIPE=124,t.$TILDA=126,t.$AT=64,t.$BT=96,t.isWhitespace=function(e){return e>=t.$TAB&&e<=t.$SPACE||e==t.$NBSP},t.isDigit=n,t.isAsciiLetter=function(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z},t.isAsciiHexDigit=function(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||n(e)},t.isNewLine=function(e){return e===t.$LF||e===t.$CR},t.isOctalDigit=function(e){return t.$0<=e&&e<=t.$7}})),dL=function(){function e(t,n,r){x(this,e),this.filePath=t,this.name=n,this.members=r}return k(e,[{key:"assertNoMembers",value:function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}]),e}(),hL=dL,DL=function(){function e(){x(this,e),this.cache=new Map}return k(e,[{key:"get",value:function(e,t,n){var r=(n=n||[]).length?".".concat(n.join(".")):"",u='"'.concat(e,'".').concat(t).concat(r),a=this.cache.get(u);return a||(a=new dL(e,t,n),this.cache.set(u,a)),a}}]),e}(),mL=Object.defineProperty({StaticSymbol:hL,StaticSymbolCache:DL},"__esModule",{value:!0}),gL=/-+([a-z0-9])/g;function yL(e,t,n){var r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function vL(e,t,n){return Array.isArray(e)?t.visitArray(e,n):function(e){return"object"==w(e)&&null!==e&&Object.getPrototypeOf(e)===SL}(e)?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n)}var EL=vL,CL=function(){function e(){x(this,e)}return k(e,[{key:"visitArray",value:function(e,t){var n=this;return e.map((function(e){return vL(e,n,t)}))}},{key:"visitStringMap",value:function(e,t){var n=this,r={};return Object.keys(e).forEach((function(u){r[u]=vL(e[u],n,t)})),r}},{key:"visitPrimitive",value:function(e,t){return e}},{key:"visitOther",value:function(e,t){return e}}]),e}(),bL={assertSync:function(e){if(wL(e))throw new Error("Illegal state: value cannot be a promise");return e},then:function(e,t){return wL(e)?e.then(t):t(e)},all:function(e){return e.some(wL)?Promise.all(e):e}},AL="ngSyntaxError",FL="ngParseErrors",SL=Object.getPrototypeOf({});function wL(e){return!!e&&"function"==typeof e.then}var xL=wL,TL=k((function e(t){x(this,e),this.full=t;var n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")})),kL="undefined"!=typeof window&&window,BL="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,NL=void 0!==r&&r||kL||BL,_L=Object.defineProperty({dashCaseToCamelCase:function(e){return e.replace(gL,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()}))},splitAtColon:function(e,t){return yL(e,":",t)},splitAtPeriod:function(e,t){return yL(e,".",t)},visitValue:EL,isDefined:function(e){return null!=e},noUndefined:function(e){return void 0===e?null:e},ValueTransformer:CL,SyncAsync:bL,error:function(e){throw new Error("Internal Error: ".concat(e))},syntaxError:function(e,t){var n=Error(e);return n[AL]=!0,t&&(n[FL]=t),n},isSyntaxError:function(e){return e[AL]},getParseErrors:function(e){return e[FL]||[]},escapeRegExp:function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},utf8Encode:function(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){var u=e.charCodeAt(n+1);u>=56320&&u<=57343&&(n++,r=(r-55296<<10)+u-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t},stringify:function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";var n=t.toString();if(null==n)return""+n;var r=n.indexOf("\n");return-1===r?n:n.substring(0,r)},resolveForwardRef:function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},isPromise:xL,Version:TL,global:NL},"__esModule",{value:!0}),PL=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function r(e){return e.replace(/\W/g,"_")}t.sanitizeIdentifier=r;var u,a=0;function i(e){if(!e||!e.reference)return null;var t=e.reference;if(t instanceof mL.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;var n=_L.stringify(t);return n.indexOf("(")>=0?(n="anonymous_".concat(a++),t.__anonymousType=n):n=r(n),n}t.identifierName=i,t.identifierModuleUrl=function(e){var t=e.reference;return t instanceof mL.StaticSymbol?t.filePath:"./".concat(_L.stringify(t))},t.viewClassName=function(e,t){return"View_".concat(i({reference:e}),"_").concat(t)},t.rendererTypeName=function(e){return"RenderType_".concat(i({reference:e}))},t.hostViewClassName=function(e){return"HostView_".concat(i({reference:e}))},t.componentFactoryName=function(e){return"".concat(i({reference:e}),"NgFactory")},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(u=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(e){return null!=e.value?r(e.value):i(e.identifier)},t.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value},t.CompileStylesheetMetadata=function(){return k((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.moduleUrl,r=t.styles,u=t.styleUrls;x(this,e),this.moduleUrl=n||null,this.styles=s(r),this.styleUrls=s(u)}))}(),t.CompileTemplateMetadata=function(){function e(t){var n=t.encapsulation,r=t.template,u=t.templateUrl,a=t.htmlAst,i=t.styles,o=t.styleUrls,l=t.externalStylesheets,p=t.animations,f=t.ngContentSelectors,d=t.interpolation,h=t.isInline,D=t.preserveWhitespaces;if(x(this,e),this.encapsulation=n,this.template=r,this.templateUrl=u,this.htmlAst=a,this.styles=s(i),this.styleUrls=s(o),this.externalStylesheets=s(l),this.animations=p?c(p):[],this.ngContentSelectors=f||[],d&&2!=d.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=d,this.isInline=h,this.preserveWhitespaces=D}return k(e,[{key:"toSummary",value:function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}]),e}();var o=function(){function e(t){var n=t.isHost,r=t.type,u=t.isComponent,a=t.selector,i=t.exportAs,o=t.changeDetection,c=t.inputs,l=t.outputs,p=t.hostListeners,f=t.hostProperties,d=t.hostAttributes,h=t.providers,D=t.viewProviders,m=t.queries,g=t.guards,y=t.viewQueries,v=t.entryComponents,E=t.template,C=t.componentViewType,b=t.rendererType,A=t.componentFactory;x(this,e),this.isHost=!!n,this.type=r,this.isComponent=u,this.selector=a,this.exportAs=i,this.changeDetection=o,this.inputs=c,this.outputs=l,this.hostListeners=p,this.hostProperties=f,this.hostAttributes=d,this.providers=s(h),this.viewProviders=s(D),this.queries=s(m),this.guards=g,this.viewQueries=s(y),this.entryComponents=s(v),this.template=E,this.componentViewType=C,this.rendererType=b,this.componentFactory=A}return k(e,[{key:"toSummary",value:function(){return{summaryKind:u.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}],[{key:"create",value:function(t){var r=t.isHost,u=t.type,a=t.isComponent,i=t.selector,o=t.exportAs,s=t.changeDetection,c=t.inputs,l=t.outputs,p=t.host,f=t.providers,d=t.viewProviders,h=t.queries,D=t.guards,m=t.viewQueries,g=t.entryComponents,y=t.template,v=t.componentViewType,E=t.rendererType,C=t.componentFactory,b={},A={},F={};null!=p&&Object.keys(p).forEach((function(e){var t=p[e],r=e.match(n);null===r?F[e]=t:null!=r[1]?A[r[1]]=t:null!=r[2]&&(b[r[2]]=t)}));var S={};null!=c&&c.forEach((function(e){var t=_L.splitAtColon(e,[e,e]);S[t[0]]=t[1]}));var w={};return null!=l&&l.forEach((function(e){var t=_L.splitAtColon(e,[e,e]);w[t[0]]=t[1]})),new e({isHost:r,type:u,isComponent:!!a,selector:i,exportAs:o,changeDetection:s,inputs:S,outputs:w,hostListeners:b,hostProperties:A,hostAttributes:F,providers:f,viewProviders:d,queries:h,guards:D,viewQueries:m,entryComponents:g,template:y,componentViewType:v,rendererType:E,componentFactory:C})}}]),e}();function s(e){return e||[]}function c(e){return e.reduce((function(e,t){var n=Array.isArray(t)?c(t):t;return e.concat(n)}),[])}function l(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}t.CompileDirectiveMetadata=o,t.CompilePipeMetadata=function(){function e(t){var n=t.type,r=t.name,u=t.pure;x(this,e),this.type=n,this.name=r,this.pure=!!u}return k(e,[{key:"toSummary",value:function(){return{summaryKind:u.Pipe,type:this.type,name:this.name,pure:this.pure}}}]),e}(),t.CompileShallowModuleMetadata=function(){return k((function e(){x(this,e)}))}(),t.CompileNgModuleMetadata=function(){function e(t){var n=t.type,r=t.providers,u=t.declaredDirectives,a=t.exportedDirectives,i=t.declaredPipes,o=t.exportedPipes,c=t.entryComponents,l=t.bootstrapComponents,p=t.importedModules,f=t.exportedModules,d=t.schemas,h=t.transitiveModule,D=t.id;x(this,e),this.type=n||null,this.declaredDirectives=s(u),this.exportedDirectives=s(a),this.declaredPipes=s(i),this.exportedPipes=s(o),this.providers=s(r),this.entryComponents=s(c),this.bootstrapComponents=s(l),this.importedModules=s(p),this.exportedModules=s(f),this.schemas=s(d),this.id=D||null,this.transitiveModule=h||null}return k(e,[{key:"toSummary",value:function(){var e=this.transitiveModule;return{summaryKind:u.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}}]),e}(),t.TransitiveCompileNgModuleMetadata=function(){function e(){x(this,e),this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return k(e,[{key:"addProvider",value:function(e,t){this.providers.push({provider:e,module:t})}},{key:"addDirective",value:function(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}},{key:"addExportedDirective",value:function(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}},{key:"addPipe",value:function(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}},{key:"addExportedPipe",value:function(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}},{key:"addModule",value:function(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}},{key:"addEntryComponent",value:function(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}}]),e}(),t.ProviderMeta=function(){return k((function e(t,n){var r=n.useClass,u=n.useValue,a=n.useExisting,i=n.useFactory,o=n.deps,s=n.multi;x(this,e),this.token=t,this.useClass=r||null,this.useValue=u,this.useExisting=a,this.useFactory=i||null,this.dependencies=o||null,this.multi=!!s}))}(),t.flatten=c,t.templateSourceUrl=function(e,t,n){var r;return r=n.isInline?t.type.reference instanceof mL.StaticSymbol?"".concat(t.type.reference.filePath,".").concat(t.type.reference.name,".html"):"".concat(i(e),"/").concat(i(t.type),".html"):n.templateUrl,t.type.reference instanceof mL.StaticSymbol?r:l(r)},t.sharedStylesheetJitUrl=function(e,t){var n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return l("css/".concat(t).concat(r,".ngstyle.js"))},t.ngModuleJitUrl=function(e){return l("".concat(i(e.type),"/module.ngfactory.js"))},t.templateJitUrl=function(e,t){return l("".concat(i(e),"/").concat(i(t.type),".ngfactory.js"))}})),OL=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(t,n,r,u){x(this,e),this.file=t,this.offset=n,this.line=r,this.col=u}return k(e,[{key:"toString",value:function(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}},{key:"moveBy",value:function(t){for(var n=this.file.content,r=n.length,u=this.offset,a=this.line,i=this.col;u>0&&t<0;)if(u--,t++,n.charCodeAt(u)==fL.$LF){a--;var o=n.substr(0,u-1).lastIndexOf(String.fromCharCode(fL.$LF));i=o>0?u-o:u}else i--;for(;u<r&&t>0;){var s=n.charCodeAt(u);u++,t--,s==fL.$LF?(a++,i=0):i++}return new e(this.file,u,a,i)}},{key:"getContext",value:function(e,t){var n=this.file.content,r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);for(var u=r,a=0,i=0;a<e&&r>0&&(a++,"\n"!=n[--r]||++i!=t););for(a=0,i=0;a<e&&u<n.length-1&&(a++,"\n"!=n[++u]||++i!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,u+1)}}return null}}]),e}();t.ParseLocation=n;var r=k((function e(t,n){x(this,e),this.content=t,this.url=n}));t.ParseSourceFile=r;var u,a=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;x(this,e),this.start=t,this.end=n,this.details=r}return k(e,[{key:"toString",value:function(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}]),e}();t.ParseSourceSpan=a,t.EMPTY_PARSE_LOCATION=new n(new r("",""),0,0,0),t.EMPTY_SOURCE_SPAN=new a(t.EMPTY_PARSE_LOCATION,t.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(u=t.ParseErrorLevel||(t.ParseErrorLevel={})),t.ParseError=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.ERROR;x(this,e),this.span=t,this.msg=n,this.level=r}return k(e,[{key:"contextualMessage",value:function(){var e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(u[this.level]," ->]").concat(e.after,'")'):this.msg}},{key:"toString",value:function(){var e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}}]),e}(),t.typeSourceSpan=function(e,t){var u=PL.identifierModuleUrl(t),i=null!=u?"in ".concat(e," ").concat(PL.identifierName(t)," in ").concat(u):"in ".concat(e," ").concat(PL.identifierName(t)),o=new r("",i);return new a(new n(o,-1,-1,-1),new n(o,-1,-1,-1))},t.r3JitTypeSourceSpan=function(e,t,u){var i="in ".concat(e," ").concat(t," in ").concat(u),o=new r("",i);return new a(new n(o,-1,-1,-1),new n(o,-1,-1,-1))}})),IL=OL.ParseSourceSpan,LL=PI,ML=MI,RL=LI,jL=RI,qL=zI,$L=eL,VL=tL,UL=nL,WL=iL,GL=oL,zL=[function(e){return e.map((function(e){if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){var t=s(e.children),n=t[0],r=t.slice(1);return e.clone({children:1===n.value.length?r:[n.clone({value:n.value.slice(1)})].concat(v(r))})}return e}))},function(e){var t=function(e){return"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset};return e.map((function(e){if(e.children){var n=e.children.map(t);if(n.some(Boolean)){for(var r=[],u=0;u<e.children.length;u++){var a=e.children[u];if(!n[u+1])if(n[u]){var i=a.prev,o=a.firstChild,s=new IL(i.sourceSpan.start,o.sourceSpan.end),c=new IL(s.start,a.sourceSpan.end);r.push(a.clone({condition:i.condition,sourceSpan:c,startSourceSpan:s,children:a.children.slice(1)}))}else r.push(a)}return e.clone({children:r})}}return e}))},function(e){return function(e,t,n){return e.map((function(e){if(e.children){var r=e.children.map(t);if(r.some(Boolean)){for(var u=[],a=0;a<e.children.length;a++){var i=e.children[a];if("text"===i.type||r[a]){var o="text"===i.type?i:i.clone({type:"text",value:n(i)});if(0!==u.length&&"text"===Ie(u).type){var s=u.pop();u.push(s.clone({value:s.value+o.value,sourceSpan:new IL(s.sourceSpan.start,o.sourceSpan.end)}))}else u.push(o)}else u.push(i)}return e.clone({children:u})}}return e}))}(e,(function(e){return"cdata"===e.type}),(function(e){return"<![CDATA[".concat(e.value,"]]>")}))},function(e,t){if("html"===t.parser)return e;var n=/{{([\S\s]+?)}}/g;return e.map((function(e){if(!jL(e))return e;var t,r=[],u=g(e.children);try{for(u.s();!(t=u.n()).done;){var a=t.value;if("text"===a.type)for(var i=a.sourceSpan.start,o=null,s=a.value.split(n),c=0;c<s.length;c++,i=o){var l=s[c];c%2!=0?(o=i.moveBy(l.length+4),r.push({type:"interpolation",sourceSpan:new IL(i,o),children:0===l.length?[]:[{type:"text",value:l,sourceSpan:new IL(i.moveBy(2),o.moveBy(-2))}]})):(o=i.moveBy(l.length),l.length>0&&r.push({type:"text",value:l,sourceSpan:new IL(i,o)}))}else r.push(a)}}catch(e){u.e(e)}finally{u.f()}return e.clone({children:r})}))},function(e){var t="whitespace";return e.map((function(e){if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===LL(e.children[0].value).length)return e.clone({children:[],hasDanglingSpaces:e.children.length>0});var n=GL(e),r=VL(e);return e.clone({isWhitespaceSensitive:n,isIndentationSensitive:r,children:e.children.reduce((function(e,r){if("text"!==r.type||n)return[].concat(v(e),[r]);var u=[],a=ML(r.value),i=a.leadingWhitespace,o=a.text,s=a.trailingWhitespace;return i&&u.push({type:t}),o&&u.push({type:"text",value:o,sourceSpan:new IL(r.sourceSpan.start.moveBy(i.length),r.sourceSpan.end.moveBy(-s.length))}),s&&u.push({type:t}),[].concat(v(e),u)}),[]).reduce((function(e,n,r,u){if(n.type===t)return e;var a=0!==r&&u[r-1].type===t,i=r!==u.length-1&&u[r+1].type===t;return[].concat(v(e),[Object.assign({},n,{hasLeadingSpaces:a,hasTrailingSpaces:i})])}),[])})}))},function(e,t){return e.map((function(e){return Object.assign(e,{cssDisplay:qL(e,t)})}))},function(e){return e.map((function(e){return Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})}))},function(e,t){return e.map((function(e){return"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))})}))},function(e,t){return e.map((function(e){return e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:$L(e)}):e.clone({children:e.children.map((function(e){return Object.assign({},e,{isLeadingSpaceSensitive:UL(e,t),isTrailingSpaceSensitive:WL(e,t)})})).map((function(e,t,n){return Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive})}))}):e}))},function(e){var t=function(e){return"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!RL(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type};return e.map((function(e){if(e.children){var n=e.children.map(t);if(n.some(Boolean)){for(var r=[],u=0;u<e.children.length;u++){var a=e.children[u];if(n[u]){var i=r.pop(),o=e.children[++u],s=o.isTrailingSpaceSensitive,c=o.hasTrailingSpaces;r.push(i.clone({value:i.value+"<".concat(a.rawName,">")+a.firstChild.value+"</".concat(a.rawName,">")+o.value,sourceSpan:new IL(i.sourceSpan.start,o.sourceSpan.end),isTrailingSpaceSensitive:s,hasTrailingSpaces:c}))}else r.push(a)}return e.clone({children:r})}}return e}))}],HL=function(e){return e.sourceSpan.start.offset},XL=function(e){return e.sourceSpan.end.offset},JL=zn.builders.group,YL=function(e){var t=e.trim();return/^([\w$]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},KL=function(e,t){var n=function(e){var t=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=e.match(/([^]*?)\s+(in|of)\s+([^]*)/);if(n){var r={};r.for=n[3].trim();var u=n[1].trim().replace(/^\(|\)$/g,""),a=u.match(t);return a?(r.alias=u.replace(t,""),r.iterator1=a[1].trim(),a[2]&&(r.iterator2=a[2].trim())):r.alias=u,{left:"".concat([r.alias,r.iterator1,r.iterator2].filter(Boolean).join(",")),operator:n[2],right:r.for}}}(e),r=n.left,u=n.operator,a=n.right;return[JL(t("function _(".concat(r,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",u," ",t(a,{parser:"__js_expression"},{stripTrailingHardline:!0})]},QL=function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0})},ZL=o((function(e){!function(t,n){e.exports?e.exports=n():t.parseSrcset=n()}(r,(function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function u(t){var n,r=t.exec(e.substring(g));if(r)return n=r[0],g+=n.length,n}for(var a,i,o,s,c,l=e.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,D=/^\d+$/,m=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,y=[];;){if(u(f),g>=l)return y;a=u(d),i=[],","===a.slice(-1)?(a=a.replace(h,""),E()):v()}function v(){for(u(p),o="",s="in descriptor";;){if(c=e.charAt(g),"in descriptor"===s)if(r(c))o&&(i.push(o),o="",s="after descriptor");else{if(","===c)return g+=1,o&&i.push(o),void E();if("("===c)o+=c,s="in parens";else{if(""===c)return o&&i.push(o),void E();o+=c}}else if("in parens"===s)if(")"===c)o+=c,s="in descriptor";else{if(""===c)return i.push(o),void E();o+=c}else if("after descriptor"===s)if(r(c));else{if(""===c)return void E();s="in descriptor",g-=1}g+=1}}function E(){var t,r,u,o,s,c,l,p,f,d=!1,h={};for(o=0;o<i.length;o++)c=(s=i[o])[s.length-1],l=s.substring(0,s.length-1),p=parseInt(l,10),f=parseFloat(l),D.test(l)&&"w"===c?((t||r)&&(d=!0),0===p?d=!0:t=p):m.test(l)&&"x"===c?((t||r||u)&&(d=!0),f<0?d=!0:r=f):D.test(l)&&"h"===c?((u||r)&&(d=!0),0===p?d=!0:u=p):d=!0;d?n&&n.error&&n.error("Invalid srcset descriptor found in '"+e+"' at '"+s+"'."):(h.url=a,t&&(h.w=t),r&&(h.d=r),u&&(h.h=u),y.push(h))}}}))})),eM=zn.builders,tM=eM.group,nM=eM.ifBreak,rM=eM.indent,uM=eM.join,aM=eM.line,iM=eM.softline,oM=["__","--","_","-"];function sM(e){var t=e.search(/[^_-]/);if(-1!==t){var n,r=g(oM);try{for(r.s();!(n=r.n()).done;){var u=n.value,a=e.indexOf(u,t);if(-1!==a)return e.slice(0,a)}}catch(e){r.e(e)}finally{r.f()}}return e}var cM=function(e){var t=ZL(e,{logger:{error:function(e){throw new Error(e)}}}),n=t.some((function(e){return e.w})),r=t.some((function(e){return e.h}));if(n+r+t.some((function(e){return e.d}))>1)throw new Error("Mixed descriptor in srcset is not supported");var u=n?"w":r?"h":"d",a=n?"w":r?"h":"x",i=function(e){return Math.max.apply(Math,v(e))},o=t.map((function(e){return e.url})),s=i(o.map((function(e){return e.length}))),c=t.map((function(e){return e[u]})).map((function(e){return e?e.toString():""})),l=c.map((function(e){var t=e.indexOf(".");return-1===t?e.length:t})),p=i(l);return uM([",",aM],o.map((function(e,t){var n=[e],r=c[t];if(r){var u=s-e.length+1,i=p-l[t],o=" ".repeat(u+i);n.push(nM(o," "),r+a)}return n})))},lM=function(e){for(var t,n=e.trim().split(/\s+/),r=[],u=0;u<n.length;u++){var a=sM(n[u]);a!==t&&a!==n[u-1]&&r.push([]),Ie(r).push(n[u]),t=a}return[rM([iM,uM(aM,r.map((function(e){return tM(uM(aM,e))})))]),iM]},pM=zn.builders,fM=pM.breakParent,dM=pM.dedentToRoot,hM=pM.fill,DM=pM.group,mM=pM.hardline,gM=pM.ifBreak,yM=pM.indentIfBreak,vM=pM.indent,EM=pM.join,CM=pM.line,bM=pM.literalline,AM=pM.softline,FM=zn.utils,SM=FM.mapDoc,wM=FM.cleanDoc,xM=FM.getDocParts,TM=FM.isConcat,kM=sn.replaceEndOfLineWith,BM=sn.isNonEmptyArray,NM=OI,_M=II,PM=jI,OM=qI,IM=$I,LM=VI,MM=UI,RM=WI,jM=GI,qM=HI,$M=XI,VM=JI,UM=YI,WM=KI,GM=QI,zM=ZI,HM=uL,XM=aL,JM=sL,YM=cL,KM=lL,QM=pL,ZM=rL,eR=function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")},tR=HL,nR=XL,rR=KL,uR=QL,aR=YL,iR=cM,oR=lM;function sR(e,t,n){var r=e.getValue();if(LM(r))return[fM].concat(v(e.map((function(e){var t=e.getValue(),n=t.prev?i(t.prev,t):"";return[n?[n,RM(t.prev)?mM:""]:"",a(e)]}),"children")));var u=r.children.map((function(){return Symbol("")}));return e.map((function(e,t){var n=e.getValue();if(XM(n)){if(n.prev&&XM(n.prev)){var r=i(n.prev,n);if(r)return RM(n.prev)?[mM,mM,a(e)]:[r,a(e)]}return a(e)}var o=[],s=[],c=[],l=[],p=n.prev?i(n.prev,n):"",f=n.next?i(n,n.next):"";return p&&(RM(n.prev)?o.push(mM,mM):p===mM?o.push(mM):XM(n.prev)?s.push(p):s.push(gM("",AM,{groupId:u[t-1]}))),f&&(RM(n)?XM(n.next)&&l.push(mM,mM):f===mM?XM(n.next)&&l.push(mM):c.push(f)),[].concat(o,[DM([].concat(s,[DM([a(e)].concat(c),{id:u[t]})]))],l)}),"children");function a(e){var r=e.getValue();return $M(r)?[bR(r,t)].concat(v(kM(t.originalText.slice(tR(r)+(r.prev&&gR(r.prev)?SR(r).length:0),nR(r)-(r.next&&vR(r.next)?TR(r,t).length:0)),bM)),[FR(r,t)]):n()}function i(e,t){return XM(e)&&XM(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?JM(t)?mM:CM:"":JM(t)?mM:AM:gR(e)&&($M(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&vR(t)?"":!t.isLeadingSpaceSensitive||JM(t)||vR(t)&&e.lastChild&&CR(e.lastChild)&&e.lastChild.lastChild&&CR(e.lastChild.lastChild)?mM:t.hasLeadingSpaces?CM:AM}}function cR(e,t){var n=e.startSourceSpan.end.offset;e.firstChild&&yR(e.firstChild)&&(n-=wR(e).length);var r=e.endSourceSpan.start.offset;return e.lastChild&&CR(e.lastChild)?r+=xR(e,t).length:ER(e)&&(r-=TR(e.lastChild,t).length),t.originalText.slice(n,r)}function lR(e,t,n){var r=e.getValue();if(!BM(r.attrs))return r.isSelfClosing?" ":"";var u=r.prev&&"comment"===r.prev.type&&qM(r.prev.value),a="boolean"==typeof u?function(){return u}:Array.isArray(u)?function(e){return u.includes(e.rawName)}:function(){return!1},i=e.map((function(e){var r=e.getValue();return a(r)?kM(t.originalText.slice(tR(r),nR(r)),bM):n()}),"attrs"),o="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,s=[vM([o?" ":CM,EM(CM,i)])];return r.firstChild&&yR(r.firstChild)||r.isSelfClosing&&ER(r.parent)||o?s.push(r.isSelfClosing?" ":""):s.push(r.isSelfClosing?CM:AM),s}function pR(e,t,n){var r=e.getValue();return[fR(r,t),lR(e,t,n),r.isSelfClosing?"":dR(r)]}function fR(e,t){return e.prev&&gR(e.prev)?"":[bR(e,t),SR(e)]}function dR(e){return e.firstChild&&yR(e.firstChild)?"":wR(e)}function hR(e,t){return[e.isSelfClosing?"":DR(e,t),mR(e,t)]}function DR(e,t){return e.lastChild&&CR(e.lastChild)?"":[AR(e,t),xR(e,t)]}function mR(e,t){return(e.next?vR(e.next):ER(e.parent))?"":[TR(e,t),FR(e,t)]}function gR(e){return e.next&&!XM(e.next)&&XM(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function yR(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function vR(e){return e.prev&&"docType"!==e.prev.type&&!XM(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function ER(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!XM(jM(e.lastChild))&&!ZM(e)}function CR(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&XM(jM(e))}function bR(e,t){return yR(e)?wR(e.parent):vR(e)?TR(e.prev,t):""}function AR(e,t){return ER(e)?TR(e.lastChild,t):""}function FR(e,t){return CR(e)?xR(e.parent,t):gR(e)?SR(e.next):""}function SR(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return"\x3c!--[if ".concat(e.condition,"]>\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function wR(e){switch(Wl(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}function xR(e,t){if(Wl(!e.isSelfClosing),YM(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return"</".concat(e.rawName)}}function TR(e,t){if(YM(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]--\x3e";case"ieConditionalStartComment":return"]>\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function kR(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?kM(t,bM):kM(IM(NM(t)),mM):xM(EM(CM,_M(t)))}var BR={preprocess:function(e,t){var n,r=g(zL);try{for(r.s();!(n=r.n()).done;)e=(0,n.value)(e,t)}catch(e){r.e(e)}finally{r.f()}return e},print:function(e,t,n){var r,u=e.getValue();switch(u.type){case"front-matter":return kM(u.raw,bM);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(u),[DM(sR(e,t,n)),mM];case"element":case"ieConditionalComment":if(KM(u,t))return[bR(u,t),DM(pR(e,t,n))].concat(v(kM(cR(u,t),bM)),v(hR(u,t)),[FR(u,t)]);var a=1===u.children.length&&"interpolation"===u.firstChild.type&&u.firstChild.isLeadingSpaceSensitive&&!u.firstChild.hasLeadingSpaces&&u.lastChild.isTrailingSpaceSensitive&&!u.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id");return[DM([DM(pR(e,t,n),{id:i}),0===u.children.length?u.hasDanglingSpaces&&u.isDanglingSpaceSensitive?CM:"":[MM(u)?fM:"",(r=[a?gM(AM,"",{groupId:i}):u.firstChild.hasLeadingSpaces&&u.firstChild.isLeadingSpaceSensitive?CM:"text"===u.firstChild.type&&u.isWhitespaceSensitive&&u.isIndentationSensitive?dM(AM):AM,sR(e,t,n)],a?yM(r,{groupId:i}):!HM(u)&&!UM(u,t)||"root"!==u.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?vM(r):r),(u.next?vR(u.next):ER(u.parent))?u.lastChild.hasTrailingSpaces&&u.lastChild.isTrailingSpaceSensitive?" ":"":a?gM(AM,"",{groupId:i}):u.lastChild.hasTrailingSpaces&&u.lastChild.isTrailingSpaceSensitive?CM:("comment"===u.lastChild.type||"text"===u.lastChild.type&&u.isWhitespaceSensitive&&u.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*OM(e,(function(e){return e.parent&&"root"!==e.parent.type})),"}$")).test(u.lastChild.value)?"":AM]]),hR(u,t)];case"ieConditionalStartComment":case"ieConditionalEndComment":return[fR(u),mR(u)];case"interpolation":return[fR(u,t)].concat(v(e.map(n,"children")),[mR(u,t)]);case"text":if("interpolation"===u.parent.type){var o=/\n[^\S\n]*?$/,s=o.test(u.value),c=s?u.value.replace(o,""):u.value;return[].concat(v(kM(c,bM)),[s?mM:""])}var l=wM([bR(u,t)].concat(v(kR(u)),[FR(u,t)]));return TM(l)||"fill"===l.type?hM(xM(l)):l;case"docType":return[DM([fR(u,t)," ",u.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),mR(u,t)];case"comment":return[bR(u,t)].concat(v(kM(t.originalText.slice(tR(u),nR(u)),bM)),[FR(u,t)]);case"attribute":if(null===u.value)return u.rawName;var p=QM(u.value),f=PM(p,"'")<PM(p,'"')?"'":'"';return[u.rawName,"=",f].concat(v(kM('"'===f?p.replace(/"/g,"""):p.replace(/'/g,"'"),bM)),[f]);default:throw new Error("Unexpected node type ".concat(u.type))}},insertPragma:eR,massageAstNode:rI,embed:function(e,t,n,r){var u=e.getValue();switch(u.type){case"element":if(HM(u)||"interpolation"===u.type)return;if(!u.isSelfClosing&&WM(u,r)){var a=VM(u,r);if(!a)return;var i=cR(u,r),o=/^\s*$/.test(i),s="";return o||(o=""===(s=n(NM(i),{parser:a,__embeddedInHtml:!0},{stripTrailingHardline:!0}))),[bR(u,r),DM(pR(e,r,t)),o?"":mM,s,o?"":mM,hR(u,r),FR(u,r)]}break;case"text":if(HM(u.parent)){var c=VM(u.parent);if(c){var l="markdown"===c?IM(u.value.replace(/^[^\S\n]*?\n/,"")):u.value,p={parser:c,__embeddedInHtml:!0};if("html"===r.parser&&"babel"===c){var f="script",d=u.parent.attrMap;d&&("module"===d.type||"text/babel"===d.type&&"module"===d["data-type"])&&(f="module"),p.__babelSourceType=f}return[fM,bR(u,r),n(l,p,{stripTrailingHardline:!0}),FR(u,r)]}}else if("interpolation"===u.parent.type){var h={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===r.parser?(h.parser="__ng_interpolation",h.trailingComma="none"):"vue"===r.parser?h.parser="__vue_expression":h.parser="__js_expression",[vM([CM,n(u.value,h,{stripTrailingHardline:!0})]),u.parent.next&&vR(u.parent.next)?" ":CM]}break;case"attribute":if(!u.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r.originalText.slice(u.valueSpan.start.offset,u.valueSpan.end.offset)))return[u.rawName,"=",u.value];if("lwc"===r.parser&&/^{[\S\s]*}$/.test(r.originalText.slice(u.valueSpan.start.offset,u.valueSpan.end.offset)))return[u.rawName,"=",u.value];var D=function(e,t,n){var r=function(t){return new RegExp(t.join("|")).test(e.fullName)},u=function(){return QM(e.value)},a=!1,i=function(e,t){var n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&("__vue_expression"!==t.parser||"TemplateLiteral"!==n.type&&"StringLiteral"!==n.type)||(a=!0)},o=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return DM([vM([AM,e]),t?AM:""])},s=function(e){return a?function(e){return DM(e)}(e):o(e)},c=function(e,n){return t(e,Object.assign({__onHtmlBindingRoot:i,__embeddedInHtml:!0},n))};if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return o(iR(u()));if("class"===e.fullName&&!n.parentParser){var l=u();if(!l.includes("{{"))return oR(l)}if("style"===e.fullName&&!n.parentParser){var p=u();if(!p.includes("{{"))return o(c(p,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return rR(u(),c);if(GM(e)||zM(e,n))return uR(u(),c);if(r(["^@","^v-on:"])){var f=u();return s(c(f,{parser:aR(f)?"__js_expression":"__vue_event_binding"}))}if(r(["^:","^v-bind:"]))return s(c(u(),{parser:"__vue_expression"}));if(r(["^v-"]))return s(c(u(),{parser:"__js_expression"}))}if("angular"===n.parser){var d=function(e,t){return c(e,Object.assign({},t,{trailingComma:"none"}))};if(r(["^\\(.+\\)$","^on-"]))return s(d(u(),{parser:"__ng_action"}));if(r(["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"]))return s(d(u(),{parser:"__ng_binding"}));if(r(["^i18n(-.+)?$"])){var h=u().trim();return o(hM(kR(e,h)),!h.includes("@@"))}if(r(["^\\*"]))return s(d(u(),{parser:"__ng_directive"}));var D=/{{([\S\s]+?)}}/g,m=u();if(D.test(m)){var y,v=[],E=g(m.split(D).entries());try{for(E.s();!(y=E.n()).done;){var b=C(y.value,2),A=b[0],F=b[1];if(A%2==0)v.push(kM(F,bM));else try{v.push(DM(["{{",vM([CM,d(F,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),CM,"}}"]))}catch(t){v.push("{{",kM(F,bM),"}}")}}}catch(e){E.e(e)}finally{E.f()}return DM(v)}}return null}(u,(function(e,t){return n(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})}),r);if(D)return[u.rawName,'="',DM(SM(D,(function(e){return"string"==typeof e?e.replace(/"/g,"""):e}))),'"'];break;case"front-matter":return ek(u,n)}}},NR="HTML",_R={htmlWhitespaceSensitivity:{since:"1.15.0",category:NR,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:NR,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},PR={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146},OR={languages:[af(PR,(function(){return{name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}})),af(PR,(function(e){return{since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[].concat(v(e.extensions),[".mjml"])}})),af(PR,(function(){return{name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}})),af({name:"Vue",type:"markup",color:"#2c3e50",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391},(function(){return{since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}}))],printers:{html:BR},options:_R,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}},IR=function(e){return/^\s*@(prettier|format)\s*$/.test(e)},LR=function(e){return"# @format\n\n".concat(e)},MR=sn.getLast,RR=sn.isNonEmptyArray;function jR(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function qR(e){return"prettier-ignore"===e.value.trim()}function $R(e){return e&&RR(e.leadingComments)}function VR(e){return e&&RR(e.middleComments)}function UR(e){return e&&e.indicatorComment}function WR(e){return e&&e.trailingComment}function GR(e){return e&&RR(e.endComments)}function zR(e){var t,n,r=[],u=g(e.split(/( +)/g));try{for(u.s();!(n=u.n()).done;){var a=n.value;" "!==a?" "===t?r.push(a):r.push((r.pop()||"")+a):void 0===t&&r.unshift(""),t=a}}catch(e){u.e(e)}finally{u.f()}return" "===t&&r.push((r.pop()||"")+" "),""===r[0]&&(r.shift(),r.unshift(" "+(r.shift()||""))),r}var HR={getLast:MR,getAncestorCount:function(e,t){for(var n=0,r=e.stack.length-1,u=0;u<r;u++){var a=e.stack[u];jR(a)&&t(a)&&n++}return n},isNode:jR,isEmptyNode:function(e){return!RR(e.children)&&!function(e){return $R(e)||VR(e)||UR(e)||WR(e)||GR(e)}(e)},isInlineNode:function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}},mapNode:function e(t,n,r){return n("children"in t?Object.assign({},t,{children:t.children.map((function(r){return e(r,n,t)}))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){for(var n=0,r=t.length,u=e.position.end.offset-1;u<r;u++){var a=t[u];if("\n"===a&&n++,1===n&&/\S/.test(a))return!1;if(2===n)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}for(var t=e.stack.length,n=1;n<t;n++){var r=e.stack[n],u=e.stack[n-1];if(Array.isArray(u)&&"number"==typeof r&&r!==u.length-1)return!1}return!0},getBlockValueLineContents:function(e,t){var n,r=t.parentIndent,u=t.isLastDescendant,a=t.options,i=e.position.start.line===e.position.end.line?"":a.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*?\n([\S\s]*)$/)[1],o=null===e.indent?(n=i.match(/^( *)\S/m))?n[1].length:Number.POSITIVE_INFINITY:e.indent-1+r,s=i.split("\n").map((function(e){return e.slice(o)}));return"preserve"===a.proseWrap||"blockLiteral"===e.type?c(s.map((function(e){return 0===e.length?[]:[e]}))):c(s.map((function(e){return 0===e.length?[]:zR(e)})).reduce((function(e,t,n){return 0!==n&&s[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(MR(e))?[].concat(v(e.slice(0,-1)),[[].concat(v(MR(e)),v(t))]):[].concat(v(e),[t])}),[]).map((function(e){return e.reduce((function(e,t){return e.length>0&&/\s$/.test(MR(e))?[].concat(v(e.slice(0,-1)),[MR(e)+" "+t]):[].concat(v(e),[t])}),[])})).map((function(e){return"never"===a.proseWrap?[e.join(" ")]:e})));function c(t){if("keep"===e.chomping)return 0===MR(t).length?t.slice(0,-1):t;for(var n=0,r=t.length-1;r>=0&&0===t[r].length;r--)n++;return 0===n?t:n>=2&&!u?t.slice(0,-(n-1)):t.slice(0,-n)}},getFlowScalarLineContents:function(e,t,n){var r=t.split("\n").map((function(e,t,n){return 0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart()}));return"preserve"===n.proseWrap?r.map((function(e){return 0===e.length?[]:[e]})):r.map((function(e){return 0===e.length?[]:zR(e)})).reduce((function(t,n,u){return 0!==u&&r[u-1].length>0&&n.length>0&&("quoteDouble"!==e||!MR(MR(t)).endsWith("\\"))?[].concat(v(t.slice(0,-1)),[[].concat(v(MR(t)),v(n))]):[].concat(v(t),[n])}),[]).map((function(e){return"never"===n.proseWrap?[e.join(" ")]:e}))},getLastDescendantNode:function e(t){return RR(t.children)?e(MR(t.children)):t},hasPrettierIgnore:function(e){var t=e.getValue();if("documentBody"===t.type){var n=e.getParentNode();return GR(n.head)&&qR(MR(n.head.endComments))}return $R(t)&&qR(MR(t.leadingComments))},hasLeadingComments:$R,hasMiddleComments:VR,hasIndicatorComment:UR,hasTrailingComment:WR,hasEndComments:GR},XR=HR.defineShortcut,JR=HR.mapNode;function YR(e){switch(e.type){case"document":XR(e,"head",(function(){return e.children[0]})),XR(e,"body",(function(){return e.children[1]}));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":XR(e,"content",(function(){return e.children[0]}));break;case"mappingItem":case"flowMappingItem":XR(e,"key",(function(){return e.children[0]})),XR(e,"value",(function(){return e.children[1]}))}return e}var KR=zn.builders,QR=KR.softline,ZR=KR.align,ej=HR.hasEndComments,tj=HR.isNextLineEmpty,nj=HR.isNode,rj=new WeakMap;function uj(e){return ej(e)&&!nj(e,["documentHead","documentBody","flowMapping","flowSequence"])}var aj=function(e,t){return ZR(" ".repeat(e),t)},ij=uj,oj=function(e,t){var n,r=e.getValue(),u=e.stack[0];return rj.has(u)?n=rj.get(u):(n=new Set,rj.set(u,n)),n.has(r.position.end.line)||(n.add(r.position.end.line),!tj(r,t)||uj(e.getParentNode()))?"":QR},sj=zn.builders,cj=sj.ifBreak,lj=sj.line,pj=sj.softline,fj=sj.hardline,dj=sj.join,hj=HR.isEmptyNode,Dj=HR.getLast,mj=HR.hasEndComments,gj=oj,yj=aj;function vj(e,t,n){var r=e.getValue(),u="flowMapping"===r.type,a=u?"{":"[",i=u?"}":"]",o=pj;u&&r.children.length>0&&n.bracketSpacing&&(o=lj);var s=Dj(r.children),c=s&&"flowMappingItem"===s.type&&hj(s.key)&&hj(s.value);return[a,yj(n.tabWidth,[o,Ej(e,t,n),"none"===n.trailingComma?"":cj(","),mj(r)?[fj,dj(fj,e.map(t,"endComments"))]:""]),c?"":o,i]}function Ej(e,t,n){var r=e.getValue();return e.map((function(e,u){return[t(),u===r.children.length-1?"":[",",lj,r.children[u].position.start.line!==r.children[u+1].position.start.line?gj(e,n.originalText):""]]}),"children")}var Cj=vj,bj=vj,Aj=zn.builders,Fj=Aj.conditionalGroup,Sj=Aj.group,wj=Aj.hardline,xj=Aj.ifBreak,Tj=Aj.join,kj=Aj.line,Bj=HR.hasLeadingComments,Nj=HR.hasMiddleComments,_j=HR.hasTrailingComment,Pj=HR.hasEndComments,Oj=HR.isNode,Ij=HR.isEmptyNode,Lj=HR.isInlineNode,Mj=aj;function Rj(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}var jj=zn.builders,qj=jj.dedent,$j=jj.dedentToRoot,Vj=jj.fill,Uj=jj.hardline,Wj=jj.join,Gj=jj.line,zj=jj.literalline,Hj=jj.markAsRoot,Xj=zn.utils.getDocParts,Jj=HR.getAncestorCount,Yj=HR.getBlockValueLineContents,Kj=HR.hasIndicatorComment,Qj=HR.isLastDescendantNode,Zj=HR.isNode,eq=aj,tq=zn.builders,nq=tq.breakParent,rq=tq.fill,uq=tq.group,aq=tq.hardline,iq=tq.join,oq=tq.line,sq=tq.lineSuffix,cq=tq.literalline,lq=zn.utils.getDocParts,pq=sn.replaceEndOfLineWith,fq=sn.isPreviousLineEmpty,dq=IR,hq=function(e){return e.position.start.offset},Dq=HR.getFlowScalarLineContents,mq=HR.getLastDescendantNode,gq=HR.hasLeadingComments,yq=HR.hasMiddleComments,vq=HR.hasTrailingComment,Eq=HR.hasEndComments,Cq=HR.hasPrettierIgnore,bq=HR.isLastDescendantNode,Aq=HR.isNode,Fq=HR.isInlineNode,Sq=aj,wq=oj,xq=ij,Tq=Cj,kq=bj;function Bq(e,t){return vq(e)||t&&(t.head.children.length>0||Eq(t.head))}function Nq(e,t,n){var r=Dq(e,t,n);return iq(aq,r.map((function(e){return rq(lq(iq(oq,e)))})))}var _q={preprocess:function(e){return JR(e,YR)},embed:function(e,t,n,r){if("root"===e.getValue().type&&r.filepath&&/(?:[/\\]|^)\.prettierrc$/.test(r.filepath))return n(r.originalText,Object.assign({},r,{parser:"json"}))},print:function(e,t,n){var r=e.getValue(),u=[];"mappingValue"!==r.type&&gq(r)&&u.push([iq(aq,e.map(n,"leadingComments")),aq]);var a=r.tag,i=r.anchor;a&&u.push(n("tag")),a&&i&&u.push(" "),i&&u.push(n("anchor"));var o="";Aq(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!bq(e)&&(o=wq(e,t.originalText)),(a||i)&&(Aq(r,["sequence","mapping"])&&!yq(r)?u.push(aq):u.push(" ")),yq(r)&&u.push([1===r.middleComments.length?"":aq,iq(aq,e.map(n,"middleComments")),aq]);var s=e.getParentNode();return Cq(e)?u.push(pq(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),cq)):u.push(uq(function(e,t,n,r,u){switch(e.type){case"root":var a=e.children,i=[];n.each((function(e,t){var n=a[t],r=a[t+1];0!==t&&i.push(aq),i.push(u()),Bq(n,r)?(i.push(aq,"..."),vq(n)&&i.push(" ",u("trailingComment"))):r&&!vq(r.head)&&i.push(aq,"---")}),"children");var o=mq(e);return Aq(o,["blockLiteral","blockFolded"])&&"keep"===o.chomping||i.push(aq),i;case"document":var s=[];return"head"===function(e,t,n,r){return n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(hq(e),hq(e)+4))||e.head.children.length>0||Eq(e.head)||vq(e.head)?"head":!Bq(e,t)&&!!t&&"root"}(e,t.children[n.getName()+1],t,r)&&((e.head.children.length>0||e.head.endComments.length>0)&&s.push(u("head")),vq(e.head)?s.push(["---"," ",u(["head","trailingComment"])]):s.push("---")),function(e){return e.body.children.length>0||Eq(e.body)}(e)&&s.push(u("body")),iq(aq,s);case"documentHead":return iq(aq,[].concat(v(n.map(u,"children")),v(n.map(u,"endComments"))));case"documentBody":var c=e.children,l=e.endComments,p="";if(c.length>0&&l.length>0){var f=mq(e);Aq(f,["blockFolded","blockLiteral"])?"keep"!==f.chomping&&(p=[aq,aq]):p=aq}return[iq(aq,n.map(u,"children")),p,iq(aq,n.map(u,"endComments"))];case"directive":return["%",iq(" ",[e.name].concat(v(e.parameters)))];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return Nq(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":var d="'",h='"',D=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&D.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(D)){var m="quoteDouble"===e.type?h:d;return[m,Nq(e.type,D,r),m]}if(D.includes(h))return[d,Nq(e.type,"quoteDouble"===e.type?D.replace(/\\"/g,h).replace(/'/g,d.repeat(2)):D,r),d];if(D.includes(d))return[h,Nq(e.type,"quoteSingle"===e.type?D.replace(/''/g,d):D,r),h];var y=r.singleQuote?d:h;return[y,Nq(e.type,D,r),y];case"blockFolded":case"blockLiteral":return function(e,t,n){var r=e.getValue(),u=Jj(e,(function(e){return Zj(e,["sequence","mapping"])})),a=Qj(e),i=["blockFolded"===r.type?">":"|"];null!==r.indent&&i.push(r.indent.toString()),"clip"!==r.chomping&&i.push("keep"===r.chomping?"+":"-"),Kj(r)&&i.push(" ",t("indicatorComment"));var o,s=Yj(r,{parentIndent:u,isLastDescendant:a,options:n}),c=[],l=g(s.entries());try{for(l.s();!(o=l.n()).done;){var p=C(o.value,2),f=p[0],d=p[1];0===f&&c.push(Uj),c.push(Vj(Xj(Wj(Gj,d)))),f!==s.length-1?c.push(0===d.length?Uj:Hj(zj)):"keep"===r.chomping&&a&&c.push($j(0===d.length?Uj:zj))}}catch(e){l.e(e)}finally{l.f()}return null===r.indent?i.push(qj(eq(n.tabWidth,c))):i.push($j(eq(r.indent-1+u,c))),i}(n,u,r);case"mapping":case"sequence":return iq(aq,n.map(u,"children"));case"sequenceItem":return["- ",Sq(2,e.content?u("content"):"")];case"mappingKey":case"mappingValue":return e.content?u("content"):"";case"mappingItem":case"flowMappingItem":return function(e,t,n,r,u){var a=e.key,i=e.value,o=Ij(a),s=Ij(i);if(o&&s)return": ";var c=r("key"),l=function(e){return e.key.content&&"alias"===e.key.content.type}(e)?" ":"";if(s)return"flowMappingItem"===e.type&&"flowMapping"===t.type?c:"mappingItem"!==e.type||!Rj(a.content,u)||_j(a.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",Mj(2,c)]:[c,l,":"];var p=r("value");if(o)return[": ",Mj(2,p)];if(Bj(i)||!Lj(a.content))return["? ",Mj(2,c),wj,Tj("",n.map(r,"value","leadingComments").map((function(e){return[e,wj]}))),": ",Mj(2,p)];if(function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(a.content)&&!Bj(a.content)&&!Nj(a.content)&&!_j(a.content)&&!Pj(a)&&!Bj(i.content)&&!Nj(i.content)&&!Pj(i)&&Rj(i.content,u))return[c,l,": ",p];var f=Symbol("mappingKey"),d=Sj([xj("? "),Sj(Mj(2,c),{id:f})]),h=[wj,": ",Mj(2,p)],D=[l,":"];Bj(i.content)||Pj(i)&&i.content&&!Oj(i.content,["mapping","sequence"])||"mapping"===t.type&&_j(a.content)&&Lj(i.content)||Oj(i.content,["mapping","sequence"])&&null===i.content.tag&&null===i.content.anchor?D.push(wj):i.content&&D.push(kj),D.push(p);var m=Mj(u.tabWidth,D);return Fj([[d,xj(h,m,{groupId:f})]])}(e,t,n,u,r);case"flowMapping":return Tq(n,u,r);case"flowSequence":return kq(n,u,r);case"flowSequenceItem":return u("content");default:throw new Error("Unexpected node type ".concat(e.type))}}(r,s,e,t,n))),vq(r)&&!Aq(r,["document","documentHead"])&&u.push(sq(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===s.type&&"mapping"===e.getParentNode(2).type&&Fq(r)?"":nq,n("trailingComment")])),xq(r)&&u.push(Sq("sequenceItem"===r.type?2:0,[aq,iq(aq,e.map((function(e){return[fq(t.originalText,e.getValue(),hq)?aq:"",n()]}),"endComments"))])),u.push(o),u},massageAstNode:function(e,t){if(Aq(t))switch(delete t.position,t.type){case"comment":if(dq(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:LR},Pq={bracketSpacing:$T.bracketSpacing,singleQuote:$T.singleQuote,proseWrap:$T.proseWrap},Oq=[zT,PN,eP,bP,ZO,OR,{languages:[af({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},(function(e){return{since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[].concat(v(e.filenames.filter((function(e){return"yarn.lock"!==e}))),[".prettierrc"])}}))],printers:{yaml:_q},options:Pq,parsers:{get yaml(){return{}.parsers.yaml}}}],Iq=n,Lq=Vt,Mq=Oq.map((function(t){return e(t,["parsers"])}));function Rq(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];var a=r[t]||{},i=a.plugins||[];return r[t]=Object.assign({},a,{plugins:[].concat(v(Mq),v(Array.isArray(i)?i:Object.values(i)))}),e.apply(void 0,r)}}var jq=Rq(Qp);return{formatWithCursor:jq,format:function(e,t){return jq(e,t).formatted},check:function(e,t){return jq(e,t).formatted===e},doc:zn,getSupportInfo:Rq(Lq,0),version:Iq,util:uf,__debug:{parse:Rq(Zp),formatAST:Rq(ef),formatDoc:Rq(tf),printToDoc:Rq(nf),printDocToString:Rq(rf)}}}()}(P);var O=(0,a.g)(P.exports),I=u()(2)((function(e,t){return!1===e?t:"dedent"===e||!0===e?(0,a.d)(t):O.format(t,{parser:e,plugins:[_],htmlWhitespaceSensitivity:"ignore"}).trim()}))}}]);
|