@vtx/components 3.1.173 → 6.0.0-beta.2
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/README.md +19 -19
- package/dist/1077.66b69576.async.js +1 -0
- package/dist/1572.2b90c634.async.js +1 -0
- package/dist/1632.03c8f7ad.async.js +2 -0
- package/dist/2267.aeefe75c.async.js +137 -0
- package/dist/2791.54c703a9.async.js +5 -0
- package/dist/2952.348f2c3f.async.js +654 -0
- package/dist/3421.4387ba14.async.js +1264 -0
- package/dist/3500.29895123.async.js +1 -0
- package/dist/404.html +17 -0
- package/dist/4195.93b9d34d.async.js +1 -0
- package/dist/4680.bca43384.async.js +1 -0
- package/dist/7965.a57e8f9a.async.js +1 -0
- package/dist/8300.66a39b1b.async.js +1 -0
- package/dist/8982.8e38e68e.async.js +1 -0
- package/dist/9877.87ec0c28.async.js +11 -0
- package/dist/VtxColorPicker__demos.60d61929.async.js +1 -0
- package/dist/VtxCombogrid__demos.8c798bc7.async.js +1 -0
- package/dist/VtxDatagrid__demos.e07857d0.async.js +1 -0
- package/dist/VtxEllipsisText__demos.2e269d20.async.js +1 -0
- package/dist/VtxExportAsync__demos.13e3bb1c.async.js +1 -0
- package/dist/VtxExport__demos.1cce5217.async.js +1 -0
- package/dist/VtxFormLayout__demos.b8bb038a.async.js +1 -0
- package/dist/VtxImage__demos.774c697e.async.js +1 -0
- package/dist/VtxImport2__demos.8182b8d2.async.js +1 -0
- package/dist/VtxImport__demos.3865c4e9.async.js +1 -0
- package/dist/VtxInput__demos.5fd77ccb.async.js +1 -0
- package/dist/VtxModal__demos.e0aae505.async.js +1 -0
- package/dist/VtxPageLayout__demos.b1cd7624.async.js +1 -0
- package/dist/VtxRpsFrame__demos.07c3fb5e.async.js +1 -0
- package/dist/VtxScrollableRow__demos.eeb18c3c.async.js +1 -0
- package/dist/VtxSearch__demos.f6b048ae.async.js +1 -0
- package/dist/VtxSelect__demos.0e8f1c52.async.js +1 -0
- package/dist/VtxSignature__demos.d0c4bcac.async.js +1 -0
- package/dist/VtxSplitPane__demos.6dda4f09.async.js +1 -0
- package/dist/VtxStatisticsColumn__demos.b2be3e4b.async.js +1 -0
- package/dist/VtxTimePicker__demos.ced305a6.async.js +1 -0
- package/dist/VtxTreeSelect__demos.daab9057.async.js +1 -0
- package/dist/VtxTree__demos.15550a80.async.js +1 -0
- package/dist/VtxUpload__demos.794c746a.async.js +1 -0
- package/dist/VtxWangEditor__demos.92b4daf1.async.js +1 -0
- package/dist/changelog/index.html +17 -0
- package/dist/components/index.html +17 -0
- package/dist/components/vtx-color-picker/index.html +17 -0
- package/dist/components/vtx-combogrid/index.html +17 -0
- package/dist/components/vtx-datagrid/index.html +17 -0
- package/dist/components/vtx-date-picker/index.html +17 -0
- package/dist/components/vtx-ellipsis-text/index.html +17 -0
- package/dist/components/vtx-export/index.html +17 -0
- package/dist/components/vtx-export-async/index.html +17 -0
- package/dist/components/vtx-form-layout/index.html +17 -0
- package/dist/components/vtx-image/index.html +17 -0
- package/dist/components/vtx-import/index.html +17 -0
- package/dist/components/vtx-import2/index.html +17 -0
- package/dist/components/vtx-input/index.html +17 -0
- package/dist/components/vtx-modal/index.html +17 -0
- package/dist/components/vtx-page-layout/index.html +17 -0
- package/dist/components/vtx-rps-frame/index.html +17 -0
- package/dist/components/vtx-scrollable-row/index.html +17 -0
- package/dist/components/vtx-search/index.html +17 -0
- package/dist/components/vtx-select/index.html +17 -0
- package/dist/components/vtx-signature/index.html +17 -0
- package/dist/components/vtx-split-pane/index.html +17 -0
- package/dist/components/vtx-statistics-column/index.html +17 -0
- package/dist/components/vtx-time-picker/index.html +17 -0
- package/dist/components/vtx-tree/index.html +17 -0
- package/dist/components/vtx-tree-select/index.html +17 -0
- package/dist/components/vtx-upload/index.html +17 -0
- package/dist/components/vtx-wang-editor/index.html +17 -0
- package/dist/demos.f6817f69.async.js +1 -0
- package/dist/docs/api-changes/index.html +17 -0
- package/dist/docs/index.html +17 -0
- package/dist/docs/migration-guide/index.html +17 -0
- package/dist/dumi__tmp-production__dumi__theme__ContextWrapper.aca58684.async.js +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/icon.png +0 -0
- package/dist/index.html +17 -0
- package/dist/meta__site.2e323023.async.js +5392 -0
- package/dist/meta__site.51651769.chunk.css +9 -0
- package/dist/meta__vtx-search.5ddbd36b.async.js +5 -0
- package/dist/nm__dumi-theme-vortex-style__dist__layouts__DemoLayout__index.7cea644e.async.js +1 -0
- package/dist/nm__dumi-theme-vortex-style__dist__layouts__DocLayout__index.eec80432.chunk.css +1 -0
- package/dist/nm__dumi__dist__client__pages__404.0d35bb9e.async.js +1 -0
- package/dist/nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css +1 -0
- package/dist/nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css +1 -0
- package/dist/nm__dumi__dist__client__pages__Demo__index.88d92ec7.async.js +1 -0
- package/dist/preload_helper.214f203a.js +1 -0
- package/dist/site__changelog.md.33be0665.chunk.css +1 -0
- package/dist/site__changelog.md.ca6f70d0.async.js +1 -0
- package/dist/site__components__index.md.1c0dd566.async.js +1 -0
- package/dist/site__components__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-color-picker__index.md.0b5f09f9.async.js +1 -0
- package/dist/site__components__vtx-color-picker__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-combogrid__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-combogrid__index.md.5c184a19.async.js +19 -0
- package/dist/site__components__vtx-datagrid__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-datagrid__index.md.3b6b11a0.async.js +58 -0
- package/dist/site__components__vtx-date-picker__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-date-picker__index.md.e498db68.async.js +1 -0
- package/dist/site__components__vtx-ellipsis-text__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-ellipsis-text__index.md.3df8b85b.async.js +1 -0
- package/dist/site__components__vtx-export-async__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-export-async__index.md.7ad10351.async.js +50 -0
- package/dist/site__components__vtx-export__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-export__index.md.ae512624.async.js +6 -0
- package/dist/site__components__vtx-form-layout__index.md.26ce0de4.async.js +1 -0
- package/dist/site__components__vtx-form-layout__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-image__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-image__index.md.51d7fede.async.js +7 -0
- package/dist/site__components__vtx-import2__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-import2__index.md.3d03da86.async.js +22 -0
- package/dist/site__components__vtx-import__index.md.2706afc2.async.js +1 -0
- package/dist/site__components__vtx-import__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-input__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-input__index.md.dbe2e571.async.js +1 -0
- package/dist/site__components__vtx-modal__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-modal__index.md.6a9b2eda.async.js +9 -0
- package/dist/site__components__vtx-page-layout__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-page-layout__index.md.46cefa9b.async.js +1 -0
- package/dist/site__components__vtx-rps-frame__index.md.0126d79c.async.js +1 -0
- package/dist/site__components__vtx-rps-frame__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-scrollable-row__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-scrollable-row__index.md.83c9c112.async.js +1 -0
- package/dist/site__components__vtx-search__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-search__index.md.a36329f4.async.js +5 -0
- package/dist/site__components__vtx-select__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-select__index.md.d4b9a187.async.js +6 -0
- package/dist/site__components__vtx-signature__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-signature__index.md.e502b176.async.js +1 -0
- package/dist/site__components__vtx-split-pane__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-split-pane__index.md.744d87da.async.js +1 -0
- package/dist/site__components__vtx-statistics-column__index.md.106749e3.async.js +1 -0
- package/dist/site__components__vtx-statistics-column__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-time-picker__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-time-picker__index.md.c9f4700c.async.js +1 -0
- package/dist/site__components__vtx-tree-select__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-tree-select__index.md.49b56c10.async.js +1 -0
- package/dist/site__components__vtx-tree__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-tree__index.md.4c124fad.async.js +1 -0
- package/dist/site__components__vtx-upload__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-upload__index.md.57969550.async.js +6 -0
- package/dist/site__components__vtx-wang-editor__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-wang-editor__index.md.b98b12a6.async.js +7 -0
- package/dist/site__docs__api-changes.md.33be0665.chunk.css +1 -0
- package/dist/site__docs__api-changes.md.aaa38736.async.js +6 -0
- package/dist/site__docs__index.md.33be0665.chunk.css +1 -0
- package/dist/site__docs__index.md.586150c4.async.js +53 -0
- package/dist/site__docs__migration-guide.md.02f5996d.async.js +194 -0
- package/dist/site__docs__migration-guide.md.33be0665.chunk.css +1 -0
- package/dist/site__index.md.33be0665.chunk.css +1 -0
- package/dist/site__index.md.634bf57a.async.js +1 -0
- package/dist/sitemap.xml +1 -0
- package/dist/umi.f49a7748.css +1 -0
- package/dist/umi.f610424c.js +877 -0
- package/dist/vtx-search__index.md.33be0665.chunk.css +1 -0
- package/dist/vtx-search__index.md.37a39d66.async.js +5 -0
- package/dist/~demos/:id/index.html +17 -0
- package/dist/~demos/site-components-vtx-date-picker-demo-demo1/index.html +17 -0
- package/dist/~demos/site-components-vtx-date-picker-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxcolorpicker-demo-base/index.html +17 -0
- package/dist/~demos/vtxcolorpicker-demo-base-form/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo5/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo10/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo5/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo6/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo7/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo8/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo9/index.html +17 -0
- package/dist/~demos/vtxellipsistext-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxexport-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxexportasync-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo10/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo5/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo6/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo7/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo8/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo9/index.html +17 -0
- package/dist/~demos/vtximage-demo-demo1/index.html +17 -0
- package/dist/~demos/vtximage-demo-demo2/index.html +17 -0
- package/dist/~demos/vtximage-demo-demo3/index.html +17 -0
- package/dist/~demos/vtximage-demo-demo4/index.html +17 -0
- package/dist/~demos/vtximport-demo-base/index.html +17 -0
- package/dist/~demos/vtximport2-demo-base/index.html +17 -0
- package/dist/~demos/vtxinput-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxinput-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxinput-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxmodal-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxmodal-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxmodal-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxrpsframe-demo-base/index.html +17 -0
- package/dist/~demos/vtxscrollablerow-demo-demo/index.html +17 -0
- package/dist/~demos/vtxsearch-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxsearch-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxsearch-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxsearch-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxselect-demo-base/index.html +17 -0
- package/dist/~demos/vtxselect-demo-base-multiple/index.html +17 -0
- package/dist/~demos/vtxsignature-demo-demo/index.html +17 -0
- package/dist/~demos/vtxsignature-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxsplitpane-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxsplitpane-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxsplitpane-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxsplitpane-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxstatisticscolumn-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxstatisticscolumn-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxstatisticscolumn-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxtimepicker-demo-base/index.html +17 -0
- package/dist/~demos/vtxtree-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxtree-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxtree-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxtreeselect-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxtreeselect-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxtreeselect-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxupload-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxupload-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxupload-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxwangeditor-demo-demo1/index.html +17 -0
- package/es/index.js +72 -0
- package/es/utils/columnSort.js +23 -0
- package/es/utils/components/DropdownFooter/index.js +53 -0
- package/es/utils/components/DropdownFooter/style.js +25 -0
- package/es/utils/components/ErrorBoundary/index.js +53 -0
- package/es/utils/components/FieldLabel/index.js +144 -0
- package/es/utils/components/FieldLabel/style.js +93 -0
- package/es/utils/components/FilterDropdown/index.js +62 -0
- package/es/utils/components/FilterDropdown/style.js +26 -0
- package/es/utils/components/InlineErrorFormItem/index.js +156 -0
- package/es/utils/components/InlineErrorFormItem/style.js +47 -0
- package/es/utils/components/LabelIconTip/index.js +68 -0
- package/es/utils/components/LabelIconTip/style.js +47 -0
- package/es/utils/components/ProFormContext/index.js +41 -0
- package/es/utils/conversionMomentValue/index.js +163 -0
- package/es/utils/dateArrayFormatter/index.js +36 -0
- package/es/utils/filterSpecialCharacters.js +82 -0
- package/es/utils/genColumnKey.js +6 -0
- package/es/utils/genCopyable/index.js +59 -0
- package/es/utils/getComponentProps.js +7 -0
- package/es/utils/getFieldPropsOrFormItemProps/index.js +16 -0
- package/es/utils/getPlaceholder.js +5 -0
- package/es/utils/getToken.js +6 -0
- package/es/utils/hooks/useDebounceFn/index.js +71 -0
- package/es/utils/hooks/useDebounceValue/index.js +40 -0
- package/es/utils/hooks/useDeepCompareEffect/index.js +24 -0
- package/es/utils/hooks/useDeepCompareMemo/index.js +15 -0
- package/es/utils/hooks/useDocumentTitle/index.js +10 -0
- package/es/utils/hooks/useFetchData/index.js +82 -0
- package/es/utils/hooks/useForceRender/index.js +18 -0
- package/es/utils/hooks/useLatest/index.js +10 -0
- package/es/utils/hooks/usePrevious/index.js +8 -0
- package/es/utils/hooks/useReactiveRef/index.js +7 -0
- package/es/utils/hooks/useRefCallback/index.js +26 -0
- package/es/utils/hooks/useRefFunction/index.js +13 -0
- package/es/utils/index.js +73 -0
- package/es/utils/isBrowser/index.d.ts +9 -0
- package/es/utils/isBrowser/index.js +16 -0
- package/es/utils/isDeepEqualReact/index.js +95 -0
- package/es/utils/isDropdownValueType/index.js +7 -0
- package/es/utils/isFunction.js +3 -0
- package/es/utils/isImg/index.js +4 -0
- package/es/utils/isNil/index.js +3 -0
- package/es/utils/isObject/index.js +3 -0
- package/es/utils/isObject.js +3 -0
- package/es/utils/isUrl/index.js +17 -0
- package/es/utils/merge/index.js +36 -0
- package/es/utils/nanoid/index.js +29 -0
- package/es/utils/omitBoolean/index.js +11 -0
- package/es/utils/omitUndefined/index.js +12 -0
- package/es/utils/omitUndefinedAndEmptyArr/index.js +14 -0
- package/es/utils/parseValueToMoment/index.js +28 -0
- package/es/utils/pickProFormItemProps/index.js +15 -0
- package/es/utils/pickProProps/index.js +15 -0
- package/es/utils/proFieldParsingText/index.js +161 -0
- package/es/utils/runFunction/index.js +10 -0
- package/es/utils/sortByGivenOrder.js +36 -0
- package/es/utils/sortByKeyArrayExtract.js +38 -0
- package/es/utils/stringify/index.js +10 -0
- package/es/utils/transformKeySubmitValue/index.js +330 -0
- package/es/utils/useColSize.js +20 -0
- package/es/utils/useEditableArray/index.js +906 -0
- package/es/utils/useEditableMap/index.js +214 -0
- package/es/utils/useInterval.js +12 -0
- package/es/utils/useMediaQuery/index.js +106 -0
- package/es/utils/useMediaQuery/query.js +30 -0
- package/es/utils/useMountMergeState/index.js +2 -0
- package/es/utils/useSet.js +38 -0
- package/es/version.js +3 -0
- package/es/vtx-color-picker/index.js +70 -0
- package/es/vtx-color-picker/style/index.js +30 -0
- package/es/vtx-combogrid/Combogrid.js +247 -0
- package/es/vtx-combogrid/index.js +121 -0
- package/es/vtx-combogrid/style/index.js +42 -0
- package/es/vtx-datagrid/Alert/index.js +47 -0
- package/es/vtx-datagrid/Alert/style.js +44 -0
- package/es/vtx-datagrid/Store/Provide.js +404 -0
- package/es/vtx-datagrid/ToolBar/components/ColumnSetting/index.js +524 -0
- package/es/vtx-datagrid/ToolBar/components/ColumnSetting/style.js +87 -0
- package/es/vtx-datagrid/ToolBar/components/Density/index.js +49 -0
- package/es/vtx-datagrid/ToolBar/components/Fullscreen/index.js +76 -0
- package/es/vtx-datagrid/ToolBar/components/TableStyle/index.js +72 -0
- package/es/vtx-datagrid/ToolBar/index.js +89 -0
- package/es/vtx-datagrid/ToolBar/style.js +59 -0
- package/es/vtx-datagrid/index.js +359 -0
- package/es/vtx-datagrid/renderColumnButtons.js +96 -0
- package/es/vtx-datagrid/style/index.js +80 -0
- package/es/vtx-datagrid/style/index.less +242 -0
- package/es/vtx-date-picker/QdatePicker.js +152 -0
- package/es/vtx-date-picker/generatePicker.js +104 -0
- package/es/vtx-date-picker/index.js +49 -0
- package/es/vtx-date-picker/style/index.js +39 -0
- package/es/vtx-date-picker/style/index.less +39 -0
- package/es/vtx-ellipsis-text/index.js +44 -0
- package/es/vtx-ellipsis-text/style/index.js +29 -0
- package/es/vtx-export/index.js +197 -0
- package/es/vtx-export/style/index.js +24 -0
- package/es/vtx-export-async/ColumnsSelect.js +63 -0
- package/es/vtx-export-async/History.js +256 -0
- package/es/vtx-export-async/index.js +402 -0
- package/es/vtx-export-async/style/index.js +49 -0
- package/es/vtx-export-async/util.js +51 -0
- package/es/vtx-form-layout/Card.js +74 -0
- package/es/vtx-form-layout/Divider.js +22 -0
- package/es/vtx-form-layout/FormItem.js +135 -0
- package/es/vtx-form-layout/Pane.js +41 -0
- package/es/vtx-form-layout/Row.js +19 -0
- package/es/vtx-form-layout/context.js +2 -0
- package/es/vtx-form-layout/index.js +80 -0
- package/es/vtx-form-layout/style/index.js +262 -0
- package/es/vtx-icon/index.js +77 -0
- package/es/vtx-icon/svg/alignRightOutlined.js +29 -0
- package/es/vtx-icon/svg/columnHeightOutlined.js +25 -0
- package/es/vtx-icon/svg/downOutlined.js +24 -0
- package/es/vtx-icon/svg/fullscreen.js +25 -0
- package/es/vtx-icon/svg/redoOutlined.js +29 -0
- package/es/vtx-icon/svg/rightOutlined.js +24 -0
- package/es/vtx-icon/svg/settingOutlined.js +29 -0
- package/es/vtx-image/Image.js +259 -0
- package/es/vtx-image/Preview.js +140 -0
- package/es/vtx-image/PreviewGroup.js +81 -0
- package/es/vtx-image/index.js +4 -0
- package/es/vtx-image/style/index.js +90 -0
- package/es/vtx-import/index.js +416 -0
- package/es/vtx-import/result.js +79 -0
- package/es/vtx-import/style/index.js +19 -0
- package/es/vtx-import2/CheckResult.js +43 -0
- package/es/vtx-import2/Content.js +103 -0
- package/es/vtx-import2/DownloadSvg.js +41 -0
- package/es/vtx-import2/ImportResult.js +57 -0
- package/es/vtx-import2/UploadSvg.js +41 -0
- package/es/vtx-import2/index.js +450 -0
- package/es/vtx-import2/style/index.js +96 -0
- package/es/vtx-input/TextArea/index.js +59 -0
- package/es/vtx-input/TextArea/style.js +30 -0
- package/es/vtx-input/index.js +90 -0
- package/es/vtx-input/style/index.js +24 -0
- package/es/vtx-input/useLength.js +21 -0
- package/es/vtx-modal/Title.js +34 -0
- package/es/vtx-modal/index.js +242 -0
- package/es/vtx-modal/style/index.js +109 -0
- package/es/vtx-page-layout/Basic.js +28 -0
- package/es/vtx-page-layout/Content.js +43 -0
- package/es/vtx-page-layout/Pane.js +40 -0
- package/es/vtx-page-layout/TabLayout.js +64 -0
- package/es/vtx-page-layout/TableLayout.js +163 -0
- package/es/vtx-page-layout/TableWrap.js +36 -0
- package/es/vtx-page-layout/TreeLayout.js +79 -0
- package/es/vtx-page-layout/container.js +68 -0
- package/es/vtx-page-layout/index.js +26 -0
- package/es/vtx-page-layout/style/index.js +129 -0
- package/es/vtx-provider/index.js +304 -0
- package/es/vtx-provider/intl.js +140 -0
- package/es/vtx-provider/locale/ar_EG.js +71 -0
- package/es/vtx-provider/locale/ca_ES.js +71 -0
- package/es/vtx-provider/locale/cs_CZ.js +74 -0
- package/es/vtx-provider/locale/de_DE.js +71 -0
- package/es/vtx-provider/locale/en_GB.js +73 -0
- package/es/vtx-provider/locale/en_US.js +134 -0
- package/es/vtx-provider/locale/es_ES.js +71 -0
- package/es/vtx-provider/locale/fa_IR.js +71 -0
- package/es/vtx-provider/locale/fr_FR.js +71 -0
- package/es/vtx-provider/locale/he_IL.js +74 -0
- package/es/vtx-provider/locale/hr_HR.js +71 -0
- package/es/vtx-provider/locale/id_ID.js +71 -0
- package/es/vtx-provider/locale/it_IT.js +71 -0
- package/es/vtx-provider/locale/ja_JP.js +71 -0
- package/es/vtx-provider/locale/ko_KR.js +71 -0
- package/es/vtx-provider/locale/mn_MN.js +71 -0
- package/es/vtx-provider/locale/ms_MY.js +71 -0
- package/es/vtx-provider/locale/nl_NL.js +74 -0
- package/es/vtx-provider/locale/pl_PL.js +71 -0
- package/es/vtx-provider/locale/pt_BR.js +71 -0
- package/es/vtx-provider/locale/ro_RO.js +74 -0
- package/es/vtx-provider/locale/ru_RU.js +71 -0
- package/es/vtx-provider/locale/sk_SK.js +74 -0
- package/es/vtx-provider/locale/sr_RS.js +71 -0
- package/es/vtx-provider/locale/sv_SE.js +74 -0
- package/es/vtx-provider/locale/th_TH.js +74 -0
- package/es/vtx-provider/locale/tr_TR.js +71 -0
- package/es/vtx-provider/locale/uk_UA.js +74 -0
- package/es/vtx-provider/locale/uz_UZ.js +71 -0
- package/es/vtx-provider/locale/vi_VN.js +71 -0
- package/es/vtx-provider/locale/zh_CN.js +135 -0
- package/es/vtx-provider/locale/zh_HK.js +83 -0
- package/es/vtx-provider/locale/zh_TW.js +74 -0
- package/es/vtx-provider/typing/layoutToken.js +60 -0
- package/es/vtx-provider/useStyle/index.js +106 -0
- package/es/vtx-provider/utils/merge.js +27 -0
- package/es/vtx-rps-frame/index.js +164 -0
- package/es/vtx-rps-frame/style/index.js +26 -0
- package/es/vtx-scrollable-row/index.js +183 -0
- package/es/vtx-scrollable-row/style/index.js +108 -0
- package/es/vtx-search/index.js +348 -0
- package/es/vtx-search/style/index.js +94 -0
- package/es/vtx-select/index.js +250 -0
- package/es/vtx-select/style/index.js +75 -0
- package/es/vtx-signature/index.js +117 -0
- package/es/vtx-signature/style/index.js +47 -0
- package/es/vtx-split-pane/Resizer.js +46 -0
- package/es/vtx-split-pane/SplitPane.js +60 -0
- package/es/vtx-split-pane/index.js +3 -0
- package/es/vtx-split-pane/style/index.js +133 -0
- package/es/vtx-statistics-column/Back.js +26 -0
- package/es/vtx-statistics-column/Item.js +54 -0
- package/es/vtx-statistics-column/Total.js +54 -0
- package/es/vtx-statistics-column/context.js +2 -0
- package/es/vtx-statistics-column/index.js +54 -0
- package/es/vtx-statistics-column/style/index.js +72 -0
- package/es/vtx-time-picker/index.js +37 -0
- package/es/vtx-tree/index.js +339 -0
- package/es/vtx-tree/style/index.js +50 -0
- package/es/vtx-tree/utils.js +73 -0
- package/es/vtx-tree-select/index.js +288 -0
- package/es/vtx-tree-select/style/index.js +72 -0
- package/es/vtx-upload/FilePreview.js +109 -0
- package/es/vtx-upload/index.js +466 -0
- package/es/vtx-upload/style/index.js +83 -0
- package/es/vtx-wang-editor/index.js +243 -0
- package/es/vtx-wang-editor/style/index.js +33 -0
- package/es/vtx-wang-editor/style/index.less +12 -0
- package/es/vtx-wang-editor/wangEditorUtil.js +226 -0
- package/lib/index.js +315 -167
- package/lib/utils/columnSort.js +29 -0
- package/lib/utils/components/DropdownFooter/index.js +62 -0
- package/lib/{_util/getToken.js → utils/components/DropdownFooter/style.js} +21 -23
- package/lib/utils/components/ErrorBoundary/index.js +59 -0
- package/lib/utils/components/FieldLabel/index.js +152 -0
- package/lib/utils/components/FieldLabel/style.js +99 -0
- package/lib/utils/components/FilterDropdown/index.js +70 -0
- package/lib/utils/components/FilterDropdown/style.js +32 -0
- package/lib/utils/components/InlineErrorFormItem/index.js +162 -0
- package/lib/utils/components/InlineErrorFormItem/style.js +53 -0
- package/lib/utils/components/LabelIconTip/index.js +73 -0
- package/lib/utils/components/LabelIconTip/style.js +53 -0
- package/lib/utils/components/ProFormContext/index.js +48 -0
- package/lib/utils/conversionMomentValue/index.js +170 -0
- package/lib/utils/dateArrayFormatter/index.js +43 -0
- package/lib/utils/filterSpecialCharacters.js +89 -0
- package/lib/utils/genColumnKey.js +12 -0
- package/lib/utils/genCopyable/index.js +66 -0
- package/lib/{_util → utils}/getComponentProps.js +2 -3
- package/lib/utils/getFieldPropsOrFormItemProps/index.js +21 -0
- package/lib/utils/getPlaceholder.js +11 -0
- package/lib/utils/getToken.js +12 -0
- package/lib/utils/hooks/useDebounceFn/index.js +77 -0
- package/lib/utils/hooks/useDebounceValue/index.js +45 -0
- package/lib/utils/hooks/useDeepCompareEffect/index.js +33 -0
- package/lib/utils/hooks/useDeepCompareMemo/index.js +21 -0
- package/lib/utils/hooks/useDocumentTitle/index.js +16 -0
- package/lib/utils/hooks/useFetchData/index.js +89 -0
- package/lib/utils/hooks/useForceRender/index.js +24 -0
- package/lib/utils/hooks/useLatest/index.js +15 -0
- package/lib/utils/hooks/usePrevious/index.js +14 -0
- package/lib/utils/hooks/useReactiveRef/index.js +14 -0
- package/lib/utils/hooks/useRefCallback/index.js +31 -0
- package/lib/utils/hooks/useRefFunction/index.js +18 -0
- package/lib/utils/index.js +436 -0
- package/lib/utils/isBrowser/index.d.ts +9 -0
- package/lib/utils/isBrowser/index.js +22 -0
- package/lib/utils/isDeepEqualReact/index.js +101 -0
- package/lib/utils/isDropdownValueType/index.js +13 -0
- package/lib/{_util → utils}/isFunction.js +2 -3
- package/lib/utils/isImg/index.js +10 -0
- package/lib/utils/isNil/index.js +9 -0
- package/lib/utils/isObject/index.js +9 -0
- package/lib/{_util → utils}/isObject.js +2 -3
- package/lib/utils/isUrl/index.js +23 -0
- package/lib/utils/merge/index.js +41 -0
- package/lib/utils/nanoid/index.js +35 -0
- package/lib/utils/omitBoolean/index.js +17 -0
- package/lib/utils/omitUndefined/index.js +18 -0
- package/lib/utils/omitUndefinedAndEmptyArr/index.js +20 -0
- package/lib/utils/parseValueToMoment/index.js +35 -0
- package/lib/utils/pickProFormItemProps/index.js +21 -0
- package/lib/utils/pickProProps/index.js +21 -0
- package/lib/utils/proFieldParsingText/index.js +166 -0
- package/lib/utils/runFunction/index.js +16 -0
- package/lib/utils/sortByGivenOrder.js +42 -0
- package/lib/utils/sortByKeyArrayExtract.js +44 -0
- package/lib/utils/stringify/index.js +21 -0
- package/lib/utils/transformKeySubmitValue/index.js +337 -0
- package/lib/{_util → utils}/useColSize.js +5 -7
- package/lib/utils/useEditableArray/index.js +918 -0
- package/lib/utils/useEditableMap/index.js +219 -0
- package/lib/{_util → utils}/useInterval.js +2 -3
- package/lib/utils/useMediaQuery/index.js +112 -0
- package/lib/utils/useMediaQuery/query.js +36 -0
- package/lib/utils/useMountMergeState/index.js +12 -0
- package/lib/{_util → utils}/useSet.js +9 -10
- package/lib/version.js +9 -0
- package/lib/vtx-color-picker/index.js +62 -51
- package/lib/vtx-color-picker/style/index.js +33 -3
- package/lib/vtx-combogrid/Combogrid.js +123 -104
- package/lib/vtx-combogrid/index.js +62 -54
- package/lib/vtx-combogrid/style/index.js +46 -9
- package/lib/vtx-datagrid/Alert/index.js +53 -0
- package/lib/vtx-datagrid/Alert/style.js +50 -0
- package/lib/vtx-datagrid/Store/Provide.js +409 -0
- package/lib/vtx-datagrid/ToolBar/components/ColumnSetting/index.js +529 -0
- package/lib/vtx-datagrid/ToolBar/components/ColumnSetting/style.js +93 -0
- package/lib/vtx-datagrid/ToolBar/components/Density/index.js +55 -0
- package/lib/vtx-datagrid/ToolBar/components/Fullscreen/index.js +82 -0
- package/lib/vtx-datagrid/ToolBar/components/TableStyle/index.js +78 -0
- package/lib/vtx-datagrid/ToolBar/index.js +97 -0
- package/lib/vtx-datagrid/ToolBar/style.js +65 -0
- package/lib/vtx-datagrid/index.js +250 -430
- package/lib/vtx-datagrid/renderColumnButtons.js +53 -37
- package/lib/vtx-datagrid/style/index.js +84 -12
- package/lib/vtx-datagrid/style/index.less +242 -275
- package/lib/vtx-date-picker/QdatePicker.js +116 -94
- package/lib/vtx-date-picker/generatePicker.js +56 -51
- package/lib/vtx-date-picker/index.js +19 -13
- package/lib/vtx-date-picker/style/index.js +43 -3
- package/lib/vtx-date-picker/style/index.less +39 -39
- package/lib/vtx-ellipsis-text/index.js +27 -23
- package/lib/vtx-ellipsis-text/style/index.js +33 -3
- package/lib/vtx-export/index.js +85 -62
- package/lib/vtx-export/style/index.js +28 -7
- package/lib/vtx-export-async/ColumnsSelect.js +42 -32
- package/lib/vtx-export-async/History.js +91 -79
- package/lib/vtx-export-async/index.js +200 -183
- package/lib/vtx-export-async/style/index.js +53 -2
- package/lib/vtx-export-async/util.js +13 -14
- package/lib/vtx-form-layout/Card.js +40 -30
- package/lib/vtx-form-layout/Divider.js +16 -11
- package/lib/vtx-form-layout/FormItem.js +97 -60
- package/lib/vtx-form-layout/Pane.js +40 -18
- package/lib/vtx-form-layout/Row.js +15 -7
- package/lib/vtx-form-layout/context.js +1 -2
- package/lib/vtx-form-layout/index.js +51 -30
- package/lib/vtx-form-layout/style/index.js +266 -9
- package/lib/vtx-icon/index.js +90 -0
- package/lib/vtx-icon/svg/alignRightOutlined.js +34 -0
- package/lib/vtx-icon/svg/columnHeightOutlined.js +31 -0
- package/lib/vtx-icon/svg/downOutlined.js +30 -0
- package/lib/vtx-icon/svg/fullscreen.js +31 -0
- package/lib/vtx-icon/svg/redoOutlined.js +34 -0
- package/lib/vtx-icon/svg/rightOutlined.js +30 -0
- package/lib/vtx-icon/svg/settingOutlined.js +34 -0
- package/lib/vtx-image/Image.js +92 -77
- package/lib/vtx-image/Preview.js +24 -24
- package/lib/vtx-image/PreviewGroup.js +30 -28
- package/lib/vtx-image/index.js +13 -5
- package/lib/vtx-image/style/index.js +93 -2
- package/lib/vtx-import/index.js +91 -78
- package/lib/vtx-import/result.js +40 -33
- package/lib/vtx-import/style/index.js +23 -5
- package/lib/vtx-import2/CheckResult.js +35 -26
- package/lib/vtx-import2/Content.js +79 -66
- package/lib/vtx-import2/DownloadSvg.js +33 -32
- package/lib/vtx-import2/ImportResult.js +43 -33
- package/lib/vtx-import2/UploadSvg.js +33 -32
- package/lib/vtx-import2/index.js +116 -100
- package/lib/vtx-import2/style/index.js +100 -5
- package/lib/vtx-input/TextArea/index.js +68 -0
- package/lib/vtx-input/TextArea/style.js +36 -0
- package/lib/vtx-input/index.js +48 -34
- package/lib/vtx-input/style/index.js +28 -3
- package/lib/vtx-input/useLength.js +7 -8
- package/lib/vtx-modal/Title.js +30 -14
- package/lib/vtx-modal/index.js +99 -76
- package/lib/vtx-modal/style/index.js +113 -3
- package/lib/vtx-page-layout/Basic.js +21 -13
- package/lib/vtx-page-layout/Content.js +19 -18
- package/lib/vtx-page-layout/Pane.js +25 -19
- package/lib/vtx-page-layout/TabLayout.js +69 -0
- package/lib/vtx-page-layout/TableLayout.js +101 -75
- package/lib/vtx-page-layout/TableWrap.js +17 -16
- package/lib/vtx-page-layout/TreeLayout.js +84 -0
- package/lib/vtx-page-layout/container.js +33 -32
- package/lib/vtx-page-layout/index.js +17 -13
- package/lib/vtx-page-layout/style/index.js +134 -2
- package/lib/vtx-provider/index.js +340 -0
- package/lib/vtx-provider/intl.js +145 -0
- package/lib/vtx-provider/locale/ar_EG.js +77 -0
- package/lib/vtx-provider/locale/ca_ES.js +77 -0
- package/lib/vtx-provider/locale/cs_CZ.js +80 -0
- package/lib/vtx-provider/locale/de_DE.js +77 -0
- package/lib/vtx-provider/locale/en_GB.js +79 -0
- package/lib/vtx-provider/locale/en_US.js +140 -0
- package/lib/vtx-provider/locale/es_ES.js +77 -0
- package/lib/vtx-provider/locale/fa_IR.js +77 -0
- package/lib/vtx-provider/locale/fr_FR.js +77 -0
- package/lib/vtx-provider/locale/he_IL.js +80 -0
- package/lib/vtx-provider/locale/hr_HR.js +77 -0
- package/lib/vtx-provider/locale/id_ID.js +77 -0
- package/lib/vtx-provider/locale/it_IT.js +77 -0
- package/lib/vtx-provider/locale/ja_JP.js +77 -0
- package/lib/vtx-provider/locale/ko_KR.js +77 -0
- package/lib/vtx-provider/locale/mn_MN.js +77 -0
- package/lib/vtx-provider/locale/ms_MY.js +77 -0
- package/lib/vtx-provider/locale/nl_NL.js +80 -0
- package/lib/vtx-provider/locale/pl_PL.js +77 -0
- package/lib/vtx-provider/locale/pt_BR.js +77 -0
- package/lib/vtx-provider/locale/ro_RO.js +80 -0
- package/lib/vtx-provider/locale/ru_RU.js +77 -0
- package/lib/vtx-provider/locale/sk_SK.js +80 -0
- package/lib/vtx-provider/locale/sr_RS.js +77 -0
- package/lib/vtx-provider/locale/sv_SE.js +80 -0
- package/lib/vtx-provider/locale/th_TH.js +80 -0
- package/lib/vtx-provider/locale/tr_TR.js +77 -0
- package/lib/vtx-provider/locale/uk_UA.js +80 -0
- package/lib/vtx-provider/locale/uz_UZ.js +77 -0
- package/lib/vtx-provider/locale/vi_VN.js +77 -0
- package/lib/vtx-provider/locale/zh_CN.js +141 -0
- package/lib/vtx-provider/locale/zh_HK.js +89 -0
- package/lib/vtx-provider/locale/zh_TW.js +80 -0
- package/lib/vtx-provider/typing/layoutToken.js +66 -0
- package/lib/vtx-provider/useStyle/index.js +112 -0
- package/lib/vtx-provider/utils/merge.js +33 -0
- package/lib/vtx-rps-frame/index.js +45 -40
- package/lib/vtx-rps-frame/style/index.js +30 -2
- package/lib/vtx-scrollable-row/index.js +97 -80
- package/lib/vtx-scrollable-row/style/index.js +112 -2
- package/lib/vtx-search/index.js +250 -192
- package/lib/vtx-search/style/index.js +99 -6
- package/lib/vtx-select/index.js +148 -143
- package/lib/vtx-select/style/index.js +79 -10
- package/lib/vtx-signature/index.js +71 -54
- package/lib/vtx-signature/style/index.js +51 -4
- package/lib/vtx-split-pane/Resizer.js +43 -79
- package/lib/vtx-split-pane/SplitPane.js +50 -323
- package/lib/vtx-split-pane/index.js +5 -7
- package/lib/vtx-split-pane/style/index.js +137 -5
- package/lib/vtx-statistics-column/Back.js +23 -10
- package/lib/vtx-statistics-column/Item.js +29 -23
- package/lib/vtx-statistics-column/Total.js +29 -23
- package/lib/vtx-statistics-column/context.js +1 -2
- package/lib/vtx-statistics-column/index.js +39 -22
- package/lib/vtx-statistics-column/style/index.js +76 -3
- package/lib/vtx-time-picker/index.js +30 -19
- package/lib/vtx-time-picker/style/index.js +1 -4
- package/lib/vtx-tree/index.js +139 -120
- package/lib/vtx-tree/style/index.js +54 -4
- package/lib/vtx-tree/utils.js +6 -7
- package/lib/vtx-tree-select/index.js +208 -98
- package/lib/vtx-tree-select/style/index.js +76 -6
- package/lib/vtx-upload/FilePreview.js +48 -48
- package/lib/vtx-upload/index.js +151 -127
- package/lib/vtx-upload/style/index.js +86 -7
- package/lib/vtx-wang-editor/index.js +97 -105
- package/lib/vtx-wang-editor/style/index.js +36 -2
- package/lib/vtx-wang-editor/style/index.less +12 -12
- package/lib/vtx-wang-editor/wangEditorUtil.js +26 -24
- package/package.json +212 -129
- package/lib/_util/filterSpecialCharacters.js +0 -92
- package/lib/_util/filterSpecialCharacters.js.map +0 -1
- package/lib/_util/getComponentProps.js.map +0 -1
- package/lib/_util/getToken.js.map +0 -1
- package/lib/_util/getUrlParam.js +0 -15
- package/lib/_util/getUrlParam.js.map +0 -1
- package/lib/_util/isFunction.js.map +0 -1
- package/lib/_util/isObject.js.map +0 -1
- package/lib/_util/useColSize.js.map +0 -1
- package/lib/_util/useInterval.js.map +0 -1
- package/lib/_util/useSet.js.map +0 -1
- package/lib/config.js +0 -12
- package/lib/config.js.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/style/index.less +0 -2
- package/lib/style/themes/compact.css +0 -0
- package/lib/style/themes/compact.less +0 -1
- package/lib/style/themes/dark.css +0 -0
- package/lib/style/themes/dark.less +0 -9
- package/lib/style/themes/default.css +0 -0
- package/lib/style/themes/default.less +0 -7
- package/lib/style/themes/index.css +0 -0
- package/lib/style/themes/index.less +0 -1
- package/lib/style/themes/variable.css +0 -0
- package/lib/style/themes/variable.less +0 -5
- package/lib/vtx-color-picker/index.js.map +0 -1
- package/lib/vtx-color-picker/style/css.js +0 -6
- package/lib/vtx-color-picker/style/css.js.map +0 -1
- package/lib/vtx-color-picker/style/index.css +0 -12
- package/lib/vtx-color-picker/style/index.js.map +0 -1
- package/lib/vtx-color-picker/style/index.less +0 -12
- package/lib/vtx-combogrid/Combogrid.js.map +0 -1
- package/lib/vtx-combogrid/index.js.map +0 -1
- package/lib/vtx-combogrid/style/css.js +0 -11
- package/lib/vtx-combogrid/style/css.js.map +0 -1
- package/lib/vtx-combogrid/style/index.css +0 -27
- package/lib/vtx-combogrid/style/index.js.map +0 -1
- package/lib/vtx-combogrid/style/index.less +0 -32
- package/lib/vtx-datagrid/Alert.js +0 -38
- package/lib/vtx-datagrid/Alert.js.map +0 -1
- package/lib/vtx-datagrid/CheckboxList.js +0 -166
- package/lib/vtx-datagrid/CheckboxList.js.map +0 -1
- package/lib/vtx-datagrid/ColumnSetting.js +0 -288
- package/lib/vtx-datagrid/ColumnSetting.js.map +0 -1
- package/lib/vtx-datagrid/ResizeableTitle.js +0 -35
- package/lib/vtx-datagrid/ResizeableTitle.js.map +0 -1
- package/lib/vtx-datagrid/index.js.map +0 -1
- package/lib/vtx-datagrid/renderColumnButtons.js.map +0 -1
- package/lib/vtx-datagrid/style/css.js +0 -14
- package/lib/vtx-datagrid/style/css.js.map +0 -1
- package/lib/vtx-datagrid/style/index.css +0 -214
- package/lib/vtx-datagrid/style/index.js.map +0 -1
- package/lib/vtx-date-picker/QdatePicker.js.map +0 -1
- package/lib/vtx-date-picker/generatePicker.js.map +0 -1
- package/lib/vtx-date-picker/index.js.map +0 -1
- package/lib/vtx-date-picker/style/css.js +0 -5
- package/lib/vtx-date-picker/style/css.js.map +0 -1
- package/lib/vtx-date-picker/style/index.css +0 -29
- package/lib/vtx-date-picker/style/index.js.map +0 -1
- package/lib/vtx-editor/index.js +0 -69
- package/lib/vtx-editor/index.js.map +0 -1
- package/lib/vtx-editor/style/css.js +0 -5
- package/lib/vtx-editor/style/css.js.map +0 -1
- package/lib/vtx-editor/style/index.css +0 -6
- package/lib/vtx-editor/style/index.js +0 -5
- package/lib/vtx-editor/style/index.js.map +0 -1
- package/lib/vtx-editor/style/index.less +0 -8
- package/lib/vtx-ellipsis-text/index.js.map +0 -1
- package/lib/vtx-ellipsis-text/style/css.js +0 -5
- package/lib/vtx-ellipsis-text/style/css.js.map +0 -1
- package/lib/vtx-ellipsis-text/style/index.css +0 -13
- package/lib/vtx-ellipsis-text/style/index.js.map +0 -1
- package/lib/vtx-ellipsis-text/style/index.less +0 -13
- package/lib/vtx-export/index.js.map +0 -1
- package/lib/vtx-export/style/css.js +0 -9
- package/lib/vtx-export/style/css.js.map +0 -1
- package/lib/vtx-export/style/index.css +0 -8
- package/lib/vtx-export/style/index.js.map +0 -1
- package/lib/vtx-export/style/index.less +0 -6
- package/lib/vtx-export-async/ColumnsSelect.js.map +0 -1
- package/lib/vtx-export-async/History.js.map +0 -1
- package/lib/vtx-export-async/index.js.map +0 -1
- package/lib/vtx-export-async/style/css.js +0 -4
- package/lib/vtx-export-async/style/css.js.map +0 -1
- package/lib/vtx-export-async/style/index.css +0 -43
- package/lib/vtx-export-async/style/index.js.map +0 -1
- package/lib/vtx-export-async/style/index.less +0 -33
- package/lib/vtx-export-async/util.js.map +0 -1
- package/lib/vtx-form-layout/Card.js.map +0 -1
- package/lib/vtx-form-layout/Divider.js.map +0 -1
- package/lib/vtx-form-layout/FormItem.js.map +0 -1
- package/lib/vtx-form-layout/Pane.js.map +0 -1
- package/lib/vtx-form-layout/Row.js.map +0 -1
- package/lib/vtx-form-layout/context.js.map +0 -1
- package/lib/vtx-form-layout/demo/Modal.css +0 -42
- package/lib/vtx-form-layout/demo/Modal.less +0 -43
- package/lib/vtx-form-layout/index.js.map +0 -1
- package/lib/vtx-form-layout/style/css.js +0 -11
- package/lib/vtx-form-layout/style/css.js.map +0 -1
- package/lib/vtx-form-layout/style/index.css +0 -248
- package/lib/vtx-form-layout/style/index.js.map +0 -1
- package/lib/vtx-form-layout/style/index.less +0 -228
- package/lib/vtx-image/Image.js.map +0 -1
- package/lib/vtx-image/Preview.js.map +0 -1
- package/lib/vtx-image/PreviewGroup.js.map +0 -1
- package/lib/vtx-image/index.js.map +0 -1
- package/lib/vtx-image/style/css.js +0 -5
- package/lib/vtx-image/style/css.js.map +0 -1
- package/lib/vtx-image/style/index.css +0 -121
- package/lib/vtx-image/style/index.js.map +0 -1
- package/lib/vtx-image/style/index.less +0 -118
- package/lib/vtx-import/index.js.map +0 -1
- package/lib/vtx-import/result.js.map +0 -1
- package/lib/vtx-import/style/css.js +0 -7
- package/lib/vtx-import/style/css.js.map +0 -1
- package/lib/vtx-import/style/index.css +0 -3
- package/lib/vtx-import/style/index.js.map +0 -1
- package/lib/vtx-import/style/index.less +0 -8
- package/lib/vtx-import2/CheckResult.js.map +0 -1
- package/lib/vtx-import2/Content.js.map +0 -1
- package/lib/vtx-import2/DownloadSvg.js.map +0 -1
- package/lib/vtx-import2/ImportResult.js.map +0 -1
- package/lib/vtx-import2/UploadSvg.js.map +0 -1
- package/lib/vtx-import2/index.js.map +0 -1
- package/lib/vtx-import2/style/css.js +0 -7
- package/lib/vtx-import2/style/css.js.map +0 -1
- package/lib/vtx-import2/style/index.css +0 -125
- package/lib/vtx-import2/style/index.js.map +0 -1
- package/lib/vtx-import2/style/index.less +0 -102
- package/lib/vtx-input/TextArea.js +0 -48
- package/lib/vtx-input/TextArea.js.map +0 -1
- package/lib/vtx-input/index.js.map +0 -1
- package/lib/vtx-input/style/css.js +0 -5
- package/lib/vtx-input/style/css.js.map +0 -1
- package/lib/vtx-input/style/index.css +0 -22
- package/lib/vtx-input/style/index.js.map +0 -1
- package/lib/vtx-input/style/index.less +0 -24
- package/lib/vtx-input/useLength.js.map +0 -1
- package/lib/vtx-modal/Title.js.map +0 -1
- package/lib/vtx-modal/index.js.map +0 -1
- package/lib/vtx-modal/style/css.js +0 -5
- package/lib/vtx-modal/style/css.js.map +0 -1
- package/lib/vtx-modal/style/index.css +0 -101
- package/lib/vtx-modal/style/index.js.map +0 -1
- package/lib/vtx-modal/style/index.less +0 -109
- package/lib/vtx-page-layout/Basic.js.map +0 -1
- package/lib/vtx-page-layout/Content.js.map +0 -1
- package/lib/vtx-page-layout/Pane.js.map +0 -1
- package/lib/vtx-page-layout/TableLayout.js.map +0 -1
- package/lib/vtx-page-layout/TableWrap.js.map +0 -1
- package/lib/vtx-page-layout/container.js.map +0 -1
- package/lib/vtx-page-layout/index.js.map +0 -1
- package/lib/vtx-page-layout/style/css.js +0 -4
- package/lib/vtx-page-layout/style/css.js.map +0 -1
- package/lib/vtx-page-layout/style/index.css +0 -115
- package/lib/vtx-page-layout/style/index.js.map +0 -1
- package/lib/vtx-page-layout/style/index.less +0 -138
- package/lib/vtx-rps-frame/index.js.map +0 -1
- package/lib/vtx-rps-frame/style/css.js +0 -4
- package/lib/vtx-rps-frame/style/css.js.map +0 -1
- package/lib/vtx-rps-frame/style/index.css +0 -8
- package/lib/vtx-rps-frame/style/index.js.map +0 -1
- package/lib/vtx-rps-frame/style/index.less +0 -8
- package/lib/vtx-scrollable-row/index.js.map +0 -1
- package/lib/vtx-scrollable-row/style/css.js +0 -4
- package/lib/vtx-scrollable-row/style/css.js.map +0 -1
- package/lib/vtx-scrollable-row/style/index.css +0 -111
- package/lib/vtx-scrollable-row/style/index.js.map +0 -1
- package/lib/vtx-scrollable-row/style/index.less +0 -113
- package/lib/vtx-search/VtxCol.js +0 -75
- package/lib/vtx-search/VtxCol.js.map +0 -1
- package/lib/vtx-search/VtxRow.js +0 -37
- package/lib/vtx-search/VtxRow.js.map +0 -1
- package/lib/vtx-search/index.js.map +0 -1
- package/lib/vtx-search/style/css.js +0 -8
- package/lib/vtx-search/style/css.js.map +0 -1
- package/lib/vtx-search/style/index.css +0 -93
- package/lib/vtx-search/style/index.js.map +0 -1
- package/lib/vtx-search/style/index.less +0 -93
- package/lib/vtx-search-map-input/index.js +0 -196
- package/lib/vtx-search-map-input/index.js.map +0 -1
- package/lib/vtx-search-map-input/style/css.js +0 -6
- package/lib/vtx-search-map-input/style/css.js.map +0 -1
- package/lib/vtx-search-map-input/style/index.js +0 -6
- package/lib/vtx-search-map-input/style/index.js.map +0 -1
- package/lib/vtx-select/index.js.map +0 -1
- package/lib/vtx-select/style/css.js +0 -12
- package/lib/vtx-select/style/css.js.map +0 -1
- package/lib/vtx-select/style/index.css +0 -68
- package/lib/vtx-select/style/index.js.map +0 -1
- package/lib/vtx-select/style/index.less +0 -68
- package/lib/vtx-signature/index.js.map +0 -1
- package/lib/vtx-signature/style/css.js +0 -6
- package/lib/vtx-signature/style/css.js.map +0 -1
- package/lib/vtx-signature/style/index.css +0 -35
- package/lib/vtx-signature/style/index.js.map +0 -1
- package/lib/vtx-signature/style/index.less +0 -33
- package/lib/vtx-split-pane/Pane.js +0 -42
- package/lib/vtx-split-pane/Pane.js.map +0 -1
- package/lib/vtx-split-pane/Resizer.js.map +0 -1
- package/lib/vtx-split-pane/SplitPane.js.map +0 -1
- package/lib/vtx-split-pane/index.js.map +0 -1
- package/lib/vtx-split-pane/style/css.js +0 -7
- package/lib/vtx-split-pane/style/css.js.map +0 -1
- package/lib/vtx-split-pane/style/index.css +0 -59
- package/lib/vtx-split-pane/style/index.js.map +0 -1
- package/lib/vtx-split-pane/style/index.less +0 -76
- package/lib/vtx-statistics-column/Back.js.map +0 -1
- package/lib/vtx-statistics-column/Item.js.map +0 -1
- package/lib/vtx-statistics-column/Total.js.map +0 -1
- package/lib/vtx-statistics-column/context.js.map +0 -1
- package/lib/vtx-statistics-column/index.js.map +0 -1
- package/lib/vtx-statistics-column/style/css.js +0 -5
- package/lib/vtx-statistics-column/style/css.js.map +0 -1
- package/lib/vtx-statistics-column/style/index.css +0 -55
- package/lib/vtx-statistics-column/style/index.js.map +0 -1
- package/lib/vtx-statistics-column/style/index.less +0 -59
- package/lib/vtx-time-picker/index.js.map +0 -1
- package/lib/vtx-time-picker/style/css.js +0 -4
- package/lib/vtx-time-picker/style/css.js.map +0 -1
- package/lib/vtx-time-picker/style/index.js.map +0 -1
- package/lib/vtx-tree/index.js.map +0 -1
- package/lib/vtx-tree/style/css.js +0 -6
- package/lib/vtx-tree/style/css.js.map +0 -1
- package/lib/vtx-tree/style/index.css +0 -71
- package/lib/vtx-tree/style/index.js.map +0 -1
- package/lib/vtx-tree/style/index.less +0 -66
- package/lib/vtx-tree/utils.js.map +0 -1
- package/lib/vtx-tree-select/index.js.map +0 -1
- package/lib/vtx-tree-select/style/css.js +0 -8
- package/lib/vtx-tree-select/style/css.js.map +0 -1
- package/lib/vtx-tree-select/style/index.css +0 -53
- package/lib/vtx-tree-select/style/index.js.map +0 -1
- package/lib/vtx-tree-select/style/index.less +0 -61
- package/lib/vtx-upload/FilePreview.js.map +0 -1
- package/lib/vtx-upload/index.js.map +0 -1
- package/lib/vtx-upload/style/css.js +0 -10
- package/lib/vtx-upload/style/css.js.map +0 -1
- package/lib/vtx-upload/style/index.css +0 -54
- package/lib/vtx-upload/style/index.js.map +0 -1
- package/lib/vtx-upload/style/index.less +0 -61
- package/lib/vtx-wang-editor/index.js.map +0 -1
- package/lib/vtx-wang-editor/style/css.js +0 -5
- package/lib/vtx-wang-editor/style/css.js.map +0 -1
- package/lib/vtx-wang-editor/style/index.css +0 -10
- package/lib/vtx-wang-editor/style/index.js.map +0 -1
- package/lib/vtx-wang-editor/wangEditorUtil.js.map +0 -1
- package/lib/vtx-ztree/index.js +0 -585
- package/lib/vtx-ztree/index.js.map +0 -1
- package/lib/vtx-ztree/style/css.js +0 -5
- package/lib/vtx-ztree/style/css.js.map +0 -1
- package/lib/vtx-ztree/style/index.css +0 -34
- package/lib/vtx-ztree/style/index.js +0 -5
- package/lib/vtx-ztree/style/index.js.map +0 -1
- package/lib/vtx-ztree/style/index.less +0 -45
- package/lib/vtx-ztree-select/index.js +0 -472
- package/lib/vtx-ztree-select/index.js.map +0 -1
- package/lib/vtx-ztree-select/style/css.js +0 -7
- package/lib/vtx-ztree-select/style/css.js.map +0 -1
- package/lib/vtx-ztree-select/style/index.css +0 -119
- package/lib/vtx-ztree-select/style/index.js +0 -7
- package/lib/vtx-ztree-select/style/index.js.map +0 -1
- package/lib/vtx-ztree-select/style/index.less +0 -110
- /package/{lib/style/index.css → es/vtx-time-picker/style/index.js} +0 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
!(function(){var zu=Object.defineProperty,Yu=Object.defineProperties;var Ju=Object.getOwnPropertyDescriptors;var wn=Object.getOwnPropertySymbols;var Mo=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable;var jo=(ge,g,te)=>g in ge?zu(ge,g,{enumerable:!0,configurable:!0,writable:!0,value:te}):ge[g]=te,qo=(ge,g)=>{for(var te in g||(g={}))Mo.call(g,te)&&jo(ge,te,g[te]);if(wn)for(var te of wn(g))Bo.call(g,te)&&jo(ge,te,g[te]);return ge},$o=(ge,g)=>Yu(ge,Ju(g));var Dr=(ge,g)=>{var te={};for(var l in ge)Mo.call(ge,l)&&g.indexOf(l)<0&&(te[l]=ge[l]);if(ge!=null&&wn)for(var l of wn(ge))g.indexOf(l)<0&&Bo.call(ge,l)&&(te[l]=ge[l]);return te};(self.webpackChunk_vtx_components=self.webpackChunk_vtx_components||[]).push([[2267],{77308:function(ge){(function(g,te){ge.exports=te()})(this,function(){"use strict";const g=/^[\w+.-]+:\/\//,te=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,l=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function t(V){return g.test(V)}function Ae(V){return V.startsWith("//")}function B(V){return V.startsWith("/")}function W(V){return V.startsWith("file:")}function F(V){return/^[.?#]/.test(V)}function u(V){const ee=te.exec(V);return R(ee[1],ee[2]||"",ee[3],ee[4]||"",ee[5]||"/",ee[6]||"",ee[7]||"")}function D(V){const ee=l.exec(V),K=ee[2];return R("file:","",ee[1]||"","",B(K)?K:"/"+K,ee[3]||"",ee[4]||"")}function R(V,ee,K,Ne,Oe,A,Me){return{scheme:V,user:ee,host:K,port:Ne,path:Oe,query:A,hash:Me,type:7}}function v(V){if(Ae(V)){const K=u("http:"+V);return K.scheme="",K.type=6,K}if(B(V)){const K=u("http://foo.com"+V);return K.scheme="",K.host="",K.type=5,K}if(W(V))return D(V);if(t(V))return u(V);const ee=u("http://foo.com/"+V);return ee.scheme="",ee.host="",ee.type=V?V.startsWith("?")?3:V.startsWith("#")?2:4:1,ee}function $(V){if(V.endsWith("/.."))return V;const ee=V.lastIndexOf("/");return V.slice(0,ee+1)}function r(V,ee){b(ee,ee.type),V.path==="/"?V.path=ee.path:V.path=$(ee.path)+V.path}function b(V,ee){const K=ee<=4,Ne=V.path.split("/");let Oe=1,A=0,Me=!1;for(let oe=1;oe<Ne.length;oe++){const we=Ne[oe];if(!we){Me=!0;continue}if(Me=!1,we!=="."){if(we===".."){A?(Me=!0,A--,Oe--):K&&(Ne[Oe++]=we);continue}Ne[Oe++]=we,A++}}let ce="";for(let oe=1;oe<Oe;oe++)ce+="/"+Ne[oe];(!ce||Me&&!ce.endsWith("/.."))&&(ce+="/"),V.path=ce}function De(V,ee){if(!V&&!ee)return"";const K=v(V);let Ne=K.type;if(ee&&Ne!==7){const A=v(ee),Me=A.type;switch(Ne){case 1:K.hash=A.hash;case 2:K.query=A.query;case 3:case 4:r(K,A);case 5:K.user=A.user,K.host=A.host,K.port=A.port;case 6:K.scheme=A.scheme}Me>Ne&&(Ne=Me)}b(K,Ne);const Oe=K.query+K.hash;switch(Ne){case 2:case 3:return Oe;case 4:{const A=K.path.slice(1);return A?F(ee||V)&&!F(A)?"./"+A+Oe:A+Oe:Oe||"."}case 5:return K.path+Oe;default:return K.scheme+"//"+K.user+K.host+K.port+K.path+Oe}}return De})},82267:function(ge,g,te){"use strict";te.r(g),te.d(g,{default:function(){return Pu}});var l;(function(e){e[e.NONE=0]="NONE";const s=1;e[e._abstract=s]="_abstract";const o=s+1;e[e._accessor=o]="_accessor";const i=o+1;e[e._as=i]="_as";const a=i+1;e[e._assert=a]="_assert";const h=a+1;e[e._asserts=h]="_asserts";const p=h+1;e[e._async=p]="_async";const d=p+1;e[e._await=d]="_await";const y=d+1;e[e._checks=y]="_checks";const T=y+1;e[e._constructor=T]="_constructor";const S=T+1;e[e._declare=S]="_declare";const x=S+1;e[e._enum=x]="_enum";const E=x+1;e[e._exports=E]="_exports";const M=E+1;e[e._from=M]="_from";const Z=M+1;e[e._get=Z]="_get";const se=Z+1;e[e._global=se]="_global";const he=se+1;e[e._implements=he]="_implements";const me=he+1;e[e._infer=me]="_infer";const fe=me+1;e[e._interface=fe]="_interface";const ke=fe+1;e[e._is=ke]="_is";const Ce=ke+1;e[e._keyof=Ce]="_keyof";const ye=Ce+1;e[e._mixins=ye]="_mixins";const Le=ye+1;e[e._module=Le]="_module";const Ee=Le+1;e[e._namespace=Ee]="_namespace";const ve=Ee+1;e[e._of=ve]="_of";const je=ve+1;e[e._opaque=je]="_opaque";const Xe=je+1;e[e._out=Xe]="_out";const L=Xe+1;e[e._override=L]="_override";const w=L+1;e[e._private=w]="_private";const C=w+1;e[e._protected=C]="_protected";const H=C+1;e[e._proto=H]="_proto";const Y=H+1;e[e._public=Y]="_public";const G=Y+1;e[e._readonly=G]="_readonly";const pe=G+1;e[e._require=pe]="_require";const be=pe+1;e[e._satisfies=be]="_satisfies";const Se=be+1;e[e._set=Se]="_set";const Ue=Se+1;e[e._static=Ue]="_static";const Be=Ue+1;e[e._symbol=Be]="_symbol";const Ve=Be+1;e[e._type=Ve]="_type";const St=Ve+1;e[e._unique=St]="_unique";const Gt=St+1;e[e._using=Gt]="_using"})(l||(l={}));var t;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";const s=16;e[e.IS_KEYWORD=s]="IS_KEYWORD";const o=32;e[e.IS_ASSIGN=o]="IS_ASSIGN";const i=64;e[e.IS_RIGHT_ASSOCIATIVE=i]="IS_RIGHT_ASSOCIATIVE";const a=128;e[e.IS_PREFIX=a]="IS_PREFIX";const h=256;e[e.IS_POSTFIX=h]="IS_POSTFIX";const p=512;e[e.IS_EXPRESSION_START=p]="IS_EXPRESSION_START";const d=512;e[e.num=d]="num";const y=1536;e[e.bigint=y]="bigint";const T=2560;e[e.decimal=T]="decimal";const S=3584;e[e.regexp=S]="regexp";const x=4608;e[e.string=x]="string";const E=5632;e[e.name=E]="name";const M=6144;e[e.eof=M]="eof";const Z=7680;e[e.bracketL=Z]="bracketL";const se=8192;e[e.bracketR=se]="bracketR";const he=9728;e[e.braceL=he]="braceL";const me=10752;e[e.braceBarL=me]="braceBarL";const fe=11264;e[e.braceR=fe]="braceR";const ke=12288;e[e.braceBarR=ke]="braceBarR";const Ce=13824;e[e.parenL=Ce]="parenL";const ye=14336;e[e.parenR=ye]="parenR";const Le=15360;e[e.comma=Le]="comma";const Ee=16384;e[e.semi=Ee]="semi";const ve=17408;e[e.colon=ve]="colon";const je=18432;e[e.doubleColon=je]="doubleColon";const Xe=19456;e[e.dot=Xe]="dot";const L=20480;e[e.question=L]="question";const w=21504;e[e.questionDot=w]="questionDot";const C=22528;e[e.arrow=C]="arrow";const H=23552;e[e.template=H]="template";const Y=24576;e[e.ellipsis=Y]="ellipsis";const G=25600;e[e.backQuote=G]="backQuote";const pe=27136;e[e.dollarBraceL=pe]="dollarBraceL";const be=27648;e[e.at=be]="at";const Se=29184;e[e.hash=Se]="hash";const Ue=29728;e[e.eq=Ue]="eq";const Be=30752;e[e.assign=Be]="assign";const Ve=32640;e[e.preIncDec=Ve]="preIncDec";const St=33664;e[e.postIncDec=St]="postIncDec";const Gt=34432;e[e.bang=Gt]="bang";const Ss=35456;e[e.tilde=Ss]="tilde";const Es=35841;e[e.pipeline=Es]="pipeline";const vs=36866;e[e.nullishCoalescing=vs]="nullishCoalescing";const As=37890;e[e.logicalOR=As]="logicalOR";const Ns=38915;e[e.logicalAND=Ns]="logicalAND";const Cs=39940;e[e.bitwiseOR=Cs]="bitwiseOR";const Ps=40965;e[e.bitwiseXOR=Ps]="bitwiseXOR";const Rs=41990;e[e.bitwiseAND=Rs]="bitwiseAND";const Ls=43015;e[e.equality=Ls]="equality";const Ds=44040;e[e.lessThan=Ds]="lessThan";const Os=45064;e[e.greaterThan=Os]="greaterThan";const Fs=46088;e[e.relationalOrEqual=Fs]="relationalOrEqual";const js=47113;e[e.bitShiftL=js]="bitShiftL";const Ms=48137;e[e.bitShiftR=Ms]="bitShiftR";const Bs=49802;e[e.plus=Bs]="plus";const qs=50826;e[e.minus=qs]="minus";const $s=51723;e[e.modulo=$s]="modulo";const Us=52235;e[e.star=Us]="star";const Vs=53259;e[e.slash=Vs]="slash";const Hs=54348;e[e.exponent=Hs]="exponent";const Ws=55296;e[e.jsxName=Ws]="jsxName";const Gs=56320;e[e.jsxText=Gs]="jsxText";const Xs=57344;e[e.jsxEmptyText=Xs]="jsxEmptyText";const zs=58880;e[e.jsxTagStart=zs]="jsxTagStart";const Ys=59392;e[e.jsxTagEnd=Ys]="jsxTagEnd";const Js=60928;e[e.typeParameterStart=Js]="typeParameterStart";const Qs=61440;e[e.nonNullAssertion=Qs]="nonNullAssertion";const Zs=62480;e[e._break=Zs]="_break";const Ks=63504;e[e._case=Ks]="_case";const er=64528;e[e._catch=er]="_catch";const tr=65552;e[e._continue=tr]="_continue";const nr=66576;e[e._debugger=nr]="_debugger";const sr=67600;e[e._default=sr]="_default";const rr=68624;e[e._do=rr]="_do";const or=69648;e[e._else=or]="_else";const ir=70672;e[e._finally=ir]="_finally";const ar=71696;e[e._for=ar]="_for";const cr=73232;e[e._function=cr]="_function";const lr=73744;e[e._if=lr]="_if";const ur=74768;e[e._return=ur]="_return";const hr=75792;e[e._switch=hr]="_switch";const fr=77456;e[e._throw=fr]="_throw";const pr=77840;e[e._try=pr]="_try";const mr=78864;e[e._var=mr]="_var";const dr=79888;e[e._let=dr]="_let";const kr=80912;e[e._const=kr]="_const";const gr=81936;e[e._while=gr]="_while";const _r=82960;e[e._with=_r]="_with";const yr=84496;e[e._new=yr]="_new";const xr=85520;e[e._this=xr]="_this";const Ir=86544;e[e._super=Ir]="_super";const br=87568;e[e._class=br]="_class";const wr=88080;e[e._extends=wr]="_extends";const Tr=89104;e[e._export=Tr]="_export";const Sr=90640;e[e._import=Sr]="_import";const Er=91664;e[e._yield=Er]="_yield";const vr=92688;e[e._null=vr]="_null";const Ar=93712;e[e._true=Ar]="_true";const Nr=94736;e[e._false=Nr]="_false";const Cr=95256;e[e._in=Cr]="_in";const Pr=96280;e[e._instanceof=Pr]="_instanceof";const Rr=97936;e[e._typeof=Rr]="_typeof";const Lr=98960;e[e._void=Lr]="_void";const Ru=99984;e[e._delete=Ru]="_delete";const Lu=100880;e[e._async=Lu]="_async";const Du=101904;e[e._get=Du]="_get";const Ou=102928;e[e._set=Ou]="_set";const Fu=103952;e[e._declare=Fu]="_declare";const ju=104976;e[e._readonly=ju]="_readonly";const Mu=106e3;e[e._abstract=Mu]="_abstract";const Bu=107024;e[e._static=Bu]="_static";const qu=107536;e[e._public=qu]="_public";const $u=108560;e[e._private=$u]="_private";const Uu=109584;e[e._protected=Uu]="_protected";const Vu=110608;e[e._override=Vu]="_override";const Hu=112144;e[e._as=Hu]="_as";const Wu=113168;e[e._enum=Wu]="_enum";const Gu=114192;e[e._type=Gu]="_type";const Xu=115216;e[e._implements=Xu]="_implements"})(t||(t={}));function Ae(e){switch(e){case t.num:return"num";case t.bigint:return"bigint";case t.decimal:return"decimal";case t.regexp:return"regexp";case t.string:return"string";case t.name:return"name";case t.eof:return"eof";case t.bracketL:return"[";case t.bracketR:return"]";case t.braceL:return"{";case t.braceBarL:return"{|";case t.braceR:return"}";case t.braceBarR:return"|}";case t.parenL:return"(";case t.parenR:return")";case t.comma:return",";case t.semi:return";";case t.colon:return":";case t.doubleColon:return"::";case t.dot:return".";case t.question:return"?";case t.questionDot:return"?.";case t.arrow:return"=>";case t.template:return"template";case t.ellipsis:return"...";case t.backQuote:return"`";case t.dollarBraceL:return"${";case t.at:return"@";case t.hash:return"#";case t.eq:return"=";case t.assign:return"_=";case t.preIncDec:return"++/--";case t.postIncDec:return"++/--";case t.bang:return"!";case t.tilde:return"~";case t.pipeline:return"|>";case t.nullishCoalescing:return"??";case t.logicalOR:return"||";case t.logicalAND:return"&&";case t.bitwiseOR:return"|";case t.bitwiseXOR:return"^";case t.bitwiseAND:return"&";case t.equality:return"==/!=";case t.lessThan:return"<";case t.greaterThan:return">";case t.relationalOrEqual:return"<=/>=";case t.bitShiftL:return"<<";case t.bitShiftR:return">>/>>>";case t.plus:return"+";case t.minus:return"-";case t.modulo:return"%";case t.star:return"*";case t.slash:return"/";case t.exponent:return"**";case t.jsxName:return"jsxName";case t.jsxText:return"jsxText";case t.jsxEmptyText:return"jsxEmptyText";case t.jsxTagStart:return"jsxTagStart";case t.jsxTagEnd:return"jsxTagEnd";case t.typeParameterStart:return"typeParameterStart";case t.nonNullAssertion:return"nonNullAssertion";case t._break:return"break";case t._case:return"case";case t._catch:return"catch";case t._continue:return"continue";case t._debugger:return"debugger";case t._default:return"default";case t._do:return"do";case t._else:return"else";case t._finally:return"finally";case t._for:return"for";case t._function:return"function";case t._if:return"if";case t._return:return"return";case t._switch:return"switch";case t._throw:return"throw";case t._try:return"try";case t._var:return"var";case t._let:return"let";case t._const:return"const";case t._while:return"while";case t._with:return"with";case t._new:return"new";case t._this:return"this";case t._super:return"super";case t._class:return"class";case t._extends:return"extends";case t._export:return"export";case t._import:return"import";case t._yield:return"yield";case t._null:return"null";case t._true:return"true";case t._false:return"false";case t._in:return"in";case t._instanceof:return"instanceof";case t._typeof:return"typeof";case t._void:return"void";case t._delete:return"delete";case t._async:return"async";case t._get:return"get";case t._set:return"set";case t._declare:return"declare";case t._readonly:return"readonly";case t._abstract:return"abstract";case t._static:return"static";case t._public:return"public";case t._private:return"private";case t._protected:return"protected";case t._override:return"override";case t._as:return"as";case t._enum:return"enum";case t._type:return"type";case t._implements:return"implements";default:return""}}class B{constructor(n,s,o){this.startTokenIndex=n,this.endTokenIndex=s,this.isFunctionScope=o}}class W{constructor(n,s,o,i,a,h,p,d,y,T,S,x,E){this.potentialArrowAt=n,this.noAnonFunctionType=s,this.inDisallowConditionalTypesContext=o,this.tokensLength=i,this.scopesLength=a,this.pos=h,this.type=p,this.contextualKeyword=d,this.start=y,this.end=T,this.isType=S,this.scopeDepth=x,this.error=E}}class F{constructor(){F.prototype.__init.call(this),F.prototype.__init2.call(this),F.prototype.__init3.call(this),F.prototype.__init4.call(this),F.prototype.__init5.call(this),F.prototype.__init6.call(this),F.prototype.__init7.call(this),F.prototype.__init8.call(this),F.prototype.__init9.call(this),F.prototype.__init10.call(this),F.prototype.__init11.call(this),F.prototype.__init12.call(this),F.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=t.eof}__init8(){this.contextualKeyword=l.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new W(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(n){this.potentialArrowAt=n.potentialArrowAt,this.noAnonFunctionType=n.noAnonFunctionType,this.inDisallowConditionalTypesContext=n.inDisallowConditionalTypesContext,this.tokens.length=n.tokensLength,this.scopes.length=n.scopesLength,this.pos=n.pos,this.type=n.type,this.contextualKeyword=n.contextualKeyword,this.start=n.start,this.end=n.end,this.isType=n.isType,this.scopeDepth=n.scopeDepth,this.error=n.error}}var u;(function(e){e[e.backSpace=8]="backSpace";const s=10;e[e.lineFeed=s]="lineFeed";const o=9;e[e.tab=o]="tab";const i=13;e[e.carriageReturn=i]="carriageReturn";const a=14;e[e.shiftOut=a]="shiftOut";const h=32;e[e.space=h]="space";const p=33;e[e.exclamationMark=p]="exclamationMark";const d=34;e[e.quotationMark=d]="quotationMark";const y=35;e[e.numberSign=y]="numberSign";const T=36;e[e.dollarSign=T]="dollarSign";const S=37;e[e.percentSign=S]="percentSign";const x=38;e[e.ampersand=x]="ampersand";const E=39;e[e.apostrophe=E]="apostrophe";const M=40;e[e.leftParenthesis=M]="leftParenthesis";const Z=41;e[e.rightParenthesis=Z]="rightParenthesis";const se=42;e[e.asterisk=se]="asterisk";const he=43;e[e.plusSign=he]="plusSign";const me=44;e[e.comma=me]="comma";const fe=45;e[e.dash=fe]="dash";const ke=46;e[e.dot=ke]="dot";const Ce=47;e[e.slash=Ce]="slash";const ye=48;e[e.digit0=ye]="digit0";const Le=49;e[e.digit1=Le]="digit1";const Ee=50;e[e.digit2=Ee]="digit2";const ve=51;e[e.digit3=ve]="digit3";const je=52;e[e.digit4=je]="digit4";const Xe=53;e[e.digit5=Xe]="digit5";const L=54;e[e.digit6=L]="digit6";const w=55;e[e.digit7=w]="digit7";const C=56;e[e.digit8=C]="digit8";const H=57;e[e.digit9=H]="digit9";const Y=58;e[e.colon=Y]="colon";const G=59;e[e.semicolon=G]="semicolon";const pe=60;e[e.lessThan=pe]="lessThan";const be=61;e[e.equalsTo=be]="equalsTo";const Se=62;e[e.greaterThan=Se]="greaterThan";const Ue=63;e[e.questionMark=Ue]="questionMark";const Be=64;e[e.atSign=Be]="atSign";const Ve=65;e[e.uppercaseA=Ve]="uppercaseA";const St=66;e[e.uppercaseB=St]="uppercaseB";const Gt=67;e[e.uppercaseC=Gt]="uppercaseC";const Ss=68;e[e.uppercaseD=Ss]="uppercaseD";const Es=69;e[e.uppercaseE=Es]="uppercaseE";const vs=70;e[e.uppercaseF=vs]="uppercaseF";const As=71;e[e.uppercaseG=As]="uppercaseG";const Ns=72;e[e.uppercaseH=Ns]="uppercaseH";const Cs=73;e[e.uppercaseI=Cs]="uppercaseI";const Ps=74;e[e.uppercaseJ=Ps]="uppercaseJ";const Rs=75;e[e.uppercaseK=Rs]="uppercaseK";const Ls=76;e[e.uppercaseL=Ls]="uppercaseL";const Ds=77;e[e.uppercaseM=Ds]="uppercaseM";const Os=78;e[e.uppercaseN=Os]="uppercaseN";const Fs=79;e[e.uppercaseO=Fs]="uppercaseO";const js=80;e[e.uppercaseP=js]="uppercaseP";const Ms=81;e[e.uppercaseQ=Ms]="uppercaseQ";const Bs=82;e[e.uppercaseR=Bs]="uppercaseR";const qs=83;e[e.uppercaseS=qs]="uppercaseS";const $s=84;e[e.uppercaseT=$s]="uppercaseT";const Us=85;e[e.uppercaseU=Us]="uppercaseU";const Vs=86;e[e.uppercaseV=Vs]="uppercaseV";const Hs=87;e[e.uppercaseW=Hs]="uppercaseW";const Ws=88;e[e.uppercaseX=Ws]="uppercaseX";const Gs=89;e[e.uppercaseY=Gs]="uppercaseY";const Xs=90;e[e.uppercaseZ=Xs]="uppercaseZ";const zs=91;e[e.leftSquareBracket=zs]="leftSquareBracket";const Ys=92;e[e.backslash=Ys]="backslash";const Js=93;e[e.rightSquareBracket=Js]="rightSquareBracket";const Qs=94;e[e.caret=Qs]="caret";const Zs=95;e[e.underscore=Zs]="underscore";const Ks=96;e[e.graveAccent=Ks]="graveAccent";const er=97;e[e.lowercaseA=er]="lowercaseA";const tr=98;e[e.lowercaseB=tr]="lowercaseB";const nr=99;e[e.lowercaseC=nr]="lowercaseC";const sr=100;e[e.lowercaseD=sr]="lowercaseD";const rr=101;e[e.lowercaseE=rr]="lowercaseE";const or=102;e[e.lowercaseF=or]="lowercaseF";const ir=103;e[e.lowercaseG=ir]="lowercaseG";const ar=104;e[e.lowercaseH=ar]="lowercaseH";const cr=105;e[e.lowercaseI=cr]="lowercaseI";const lr=106;e[e.lowercaseJ=lr]="lowercaseJ";const ur=107;e[e.lowercaseK=ur]="lowercaseK";const hr=108;e[e.lowercaseL=hr]="lowercaseL";const fr=109;e[e.lowercaseM=fr]="lowercaseM";const pr=110;e[e.lowercaseN=pr]="lowercaseN";const mr=111;e[e.lowercaseO=mr]="lowercaseO";const dr=112;e[e.lowercaseP=dr]="lowercaseP";const kr=113;e[e.lowercaseQ=kr]="lowercaseQ";const gr=114;e[e.lowercaseR=gr]="lowercaseR";const _r=115;e[e.lowercaseS=_r]="lowercaseS";const yr=116;e[e.lowercaseT=yr]="lowercaseT";const xr=117;e[e.lowercaseU=xr]="lowercaseU";const Ir=118;e[e.lowercaseV=Ir]="lowercaseV";const br=119;e[e.lowercaseW=br]="lowercaseW";const wr=120;e[e.lowercaseX=wr]="lowercaseX";const Tr=121;e[e.lowercaseY=Tr]="lowercaseY";const Sr=122;e[e.lowercaseZ=Sr]="lowercaseZ";const Er=123;e[e.leftCurlyBrace=Er]="leftCurlyBrace";const vr=124;e[e.verticalBar=vr]="verticalBar";const Ar=125;e[e.rightCurlyBrace=Ar]="rightCurlyBrace";const Nr=126;e[e.tilde=Nr]="tilde";const Cr=160;e[e.nonBreakingSpace=Cr]="nonBreakingSpace";const Pr=5760;e[e.oghamSpaceMark=Pr]="oghamSpaceMark";const Rr=8232;e[e.lineSeparator=Rr]="lineSeparator";const Lr=8233;e[e.paragraphSeparator=Lr]="paragraphSeparator"})(u||(u={}));function D(e){return e>=u.digit0&&e<=u.digit9||e>=u.lowercaseA&&e<=u.lowercaseF||e>=u.uppercaseA&&e<=u.uppercaseF}let R,v,$,r,b,De;function V(){return De++}function ee(e){if("pos"in e){const n=Ne(e.pos);e.message+=` (${n.line}:${n.column})`,e.loc=n}return e}class K{constructor(n,s){this.line=n,this.column=s}}function Ne(e){let n=1,s=1;for(let o=0;o<e;o++)b.charCodeAt(o)===u.lineFeed?(n++,s=1):s++;return new K(n,s)}function Oe(e,n,s,o){b=e,r=new F,De=1,R=n,v=s,$=o}function A(e){return r.contextualKeyword===e}function Me(e){const n=et();return n.type===t.name&&n.contextualKeyword===e}function ce(e){return r.contextualKeyword===e&&m(t.name)}function oe(e){ce(e)||J()}function we(){return c(t.eof)||c(t.braceR)||Fe()}function Fe(){const e=r.tokens[r.tokens.length-1],n=e?e.end:0;for(let s=n;s<r.start;s++){const o=b.charCodeAt(s);if(o===u.lineFeed||o===u.carriageReturn||o===8232||o===8233)return!0}return!1}function Et(){const e=Pt();for(let n=r.end;n<e;n++){const s=b.charCodeAt(n);if(s===u.lineFeed||s===u.carriageReturn||s===8232||s===8233)return!0}return!1}function We(){return m(t.semi)||we()}function ae(){We()||J('Unexpected token, expected ";"')}function k(e){m(e)||J(`Unexpected token, expected "${Ae(e)}"`)}function J(e="Unexpected token",n=r.start){if(r.error)return;const s=new SyntaxError(e);s.pos=n,r.error=s,r.pos=b.length,Q(t.eof)}const vt=[9,11,12,u.space,u.nonBreakingSpace,u.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],Xt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,At=new Uint8Array(65536);for(const e of vt)At[e]=1;function zt(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}const le=new Uint8Array(65536);for(let e=0;e<128;e++)le[e]=zt(e)?1:0;for(let e=128;e<65536;e++)le[e]=1;for(const e of vt)le[e]=0;le[8232]=0,le[8233]=0;const it=le.slice();for(let e=u.digit0;e<=u.digit9;e++)it[e]=0;const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+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(t._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(t._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);function Tn(){let e=0,n=0,s=r.pos;for(;s<b.length&&(n=b.charCodeAt(s),!(n<u.lowercaseA||n>u.lowercaseZ));){const i=Nt[e+(n-u.lowercaseA)+1];if(i===-1)break;e=i,s++}const o=Nt[e];if(o>-1&&!le[n]){r.pos=s,o&1?Q(o>>>1):Q(t.name,o>>>1);return}for(;s<b.length;){const i=b.charCodeAt(s);if(le[i])s++;else if(i===u.backslash){if(s+=2,b.charCodeAt(s)===u.leftCurlyBrace){for(;s<b.length&&b.charCodeAt(s)!==u.rightCurlyBrace;)s++;s++}}else if(i===u.atSign&&b.charCodeAt(s+1)===u.atSign)s+=2;else break}r.pos=s,Q(t.name)}var q;(function(e){e[e.Access=0]="Access";const s=1;e[e.ExportAccess=s]="ExportAccess";const o=s+1;e[e.TopLevelDeclaration=o]="TopLevelDeclaration";const i=o+1;e[e.FunctionScopedDeclaration=i]="FunctionScopedDeclaration";const a=i+1;e[e.BlockScopedDeclaration=a]="BlockScopedDeclaration";const h=a+1;e[e.ObjectShorthandTopLevelDeclaration=h]="ObjectShorthandTopLevelDeclaration";const p=h+1;e[e.ObjectShorthandFunctionScopedDeclaration=p]="ObjectShorthandFunctionScopedDeclaration";const d=p+1;e[e.ObjectShorthandBlockScopedDeclaration=d]="ObjectShorthandBlockScopedDeclaration";const y=d+1;e[e.ObjectShorthand=y]="ObjectShorthand";const T=y+1;e[e.ImportDeclaration=T]="ImportDeclaration";const S=T+1;e[e.ObjectKey=S]="ObjectKey";const x=S+1;e[e.ImportAccess=x]="ImportAccess"})(q||(q={}));var qe;(function(e){e[e.NoChildren=0]="NoChildren";const s=1;e[e.OneChild=s]="OneChild";const o=s+1;e[e.StaticChildren=o]="StaticChildren";const i=o+1;e[e.KeyAfterPropSpread=i]="KeyAfterPropSpread"})(qe||(qe={}));function Yt(e){const n=e.identifierRole;return n===q.TopLevelDeclaration||n===q.FunctionScopedDeclaration||n===q.BlockScopedDeclaration||n===q.ObjectShorthandTopLevelDeclaration||n===q.ObjectShorthandFunctionScopedDeclaration||n===q.ObjectShorthandBlockScopedDeclaration}function _(e){const n=e.identifierRole;return n===q.FunctionScopedDeclaration||n===q.BlockScopedDeclaration||n===q.ObjectShorthandFunctionScopedDeclaration||n===q.ObjectShorthandBlockScopedDeclaration}function I(e){const n=e.identifierRole;return n===q.TopLevelDeclaration||n===q.ObjectShorthandTopLevelDeclaration||n===q.ImportDeclaration}function N(e){const n=e.identifierRole;return n===q.TopLevelDeclaration||n===q.BlockScopedDeclaration||n===q.ObjectShorthandTopLevelDeclaration||n===q.ObjectShorthandBlockScopedDeclaration}function P(e){const n=e.identifierRole;return n===q.FunctionScopedDeclaration||n===q.ObjectShorthandFunctionScopedDeclaration}function j(e){return e.identifierRole===q.ObjectShorthandTopLevelDeclaration||e.identifierRole===q.ObjectShorthandBlockScopedDeclaration||e.identifierRole===q.ObjectShorthandFunctionScopedDeclaration}class z{constructor(){this.type=r.type,this.contextualKeyword=r.contextualKeyword,this.start=r.start,this.end=r.end,this.scopeDepth=r.scopeDepth,this.isType=r.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}function f(){r.tokens.push(new z),jr()}function ne(){r.tokens.push(new z),r.start=r.pos,ni()}function xe(){r.type===t.assign&&--r.pos,Ko()}function O(e){for(let s=r.tokens.length-e;s<r.tokens.length;s++)r.tokens[s].isType=!0;const n=r.isType;return r.isType=!0,n}function U(e){r.isType=e}function m(e){return c(e)?(f(),!0):!1}function Te(e){const n=r.isType;r.isType=!0,m(e),r.isType=n}function c(e){return r.type===e}function re(){const e=r.snapshot();f();const n=r.type;return r.restoreFromSnapshot(e),n}class Ct{constructor(n,s){this.type=n,this.contextualKeyword=s}}function et(){const e=r.snapshot();f();const n=r.type,s=r.contextualKeyword;return r.restoreFromSnapshot(e),new Ct(n,s)}function Pt(){return Or(r.pos)}function Or(e){Xt.lastIndex=e;const n=Xt.exec(b);return e+n[0].length}function Fr(){return b.charCodeAt(Pt())}function jr(){if(Br(),r.start=r.pos,r.pos>=b.length){const e=r.tokens;e.length>=2&&e[e.length-1].start>=b.length&&e[e.length-2].start>=b.length&&J("Unexpectedly reached the end of input."),Q(t.eof);return}Uo(b.charCodeAt(r.pos))}function Uo(e){it[e]||e===u.backslash||e===u.atSign&&b.charCodeAt(r.pos+1)===u.atSign?Tn():Ur(e)}function Vo(){for(;b.charCodeAt(r.pos)!==u.asterisk||b.charCodeAt(r.pos+1)!==u.slash;)if(r.pos++,r.pos>b.length){J("Unterminated comment",r.pos-2);return}r.pos+=2}function Mr(e){let n=b.charCodeAt(r.pos+=e);if(r.pos<b.length)for(;n!==u.lineFeed&&n!==u.carriageReturn&&n!==u.lineSeparator&&n!==u.paragraphSeparator&&++r.pos<b.length;)n=b.charCodeAt(r.pos)}function Br(){for(;r.pos<b.length;){const e=b.charCodeAt(r.pos);switch(e){case u.carriageReturn:b.charCodeAt(r.pos+1)===u.lineFeed&&++r.pos;case u.lineFeed:case u.lineSeparator:case u.paragraphSeparator:++r.pos;break;case u.slash:switch(b.charCodeAt(r.pos+1)){case u.asterisk:r.pos+=2,Vo();break;case u.slash:Mr(2);break;default:return}break;default:if(At[e])++r.pos;else return}}}function Q(e,n=l.NONE){r.end=r.pos,r.type=e,r.contextualKeyword=n}function Ho(){const e=b.charCodeAt(r.pos+1);if(e>=u.digit0&&e<=u.digit9){Vr(!0);return}e===u.dot&&b.charCodeAt(r.pos+2)===u.dot?(r.pos+=3,Q(t.ellipsis)):(++r.pos,Q(t.dot))}function Wo(){b.charCodeAt(r.pos+1)===u.equalsTo?ie(t.assign,2):ie(t.slash,1)}function Go(e){let n=e===u.asterisk?t.star:t.modulo,s=1,o=b.charCodeAt(r.pos+1);e===u.asterisk&&o===u.asterisk&&(s++,o=b.charCodeAt(r.pos+2),n=t.exponent),o===u.equalsTo&&b.charCodeAt(r.pos+2)!==u.greaterThan&&(s++,n=t.assign),ie(n,s)}function Xo(e){const n=b.charCodeAt(r.pos+1);if(n===e){b.charCodeAt(r.pos+2)===u.equalsTo?ie(t.assign,3):ie(e===u.verticalBar?t.logicalOR:t.logicalAND,2);return}if(e===u.verticalBar){if(n===u.greaterThan){ie(t.pipeline,2);return}else if(n===u.rightCurlyBrace&&$){ie(t.braceBarR,2);return}}if(n===u.equalsTo){ie(t.assign,2);return}ie(e===u.verticalBar?t.bitwiseOR:t.bitwiseAND,1)}function zo(){b.charCodeAt(r.pos+1)===u.equalsTo?ie(t.assign,2):ie(t.bitwiseXOR,1)}function Yo(e){const n=b.charCodeAt(r.pos+1);if(n===e){ie(t.preIncDec,2);return}n===u.equalsTo?ie(t.assign,2):e===u.plusSign?ie(t.plus,1):ie(t.minus,1)}function Jo(){const e=b.charCodeAt(r.pos+1);if(e===u.lessThan){if(b.charCodeAt(r.pos+2)===u.equalsTo){ie(t.assign,3);return}r.isType?ie(t.lessThan,1):ie(t.bitShiftL,2);return}e===u.equalsTo?ie(t.relationalOrEqual,2):ie(t.lessThan,1)}function qr(){if(r.isType){ie(t.greaterThan,1);return}const e=b.charCodeAt(r.pos+1);if(e===u.greaterThan){const n=b.charCodeAt(r.pos+2)===u.greaterThan?3:2;if(b.charCodeAt(r.pos+n)===u.equalsTo){ie(t.assign,n+1);return}ie(t.bitShiftR,n);return}e===u.equalsTo?ie(t.relationalOrEqual,2):ie(t.greaterThan,1)}function $r(){r.type===t.greaterThan&&(r.pos-=1,qr())}function Qo(e){const n=b.charCodeAt(r.pos+1);if(n===u.equalsTo){ie(t.equality,b.charCodeAt(r.pos+2)===u.equalsTo?3:2);return}if(e===u.equalsTo&&n===u.greaterThan){r.pos+=2,Q(t.arrow);return}ie(e===u.equalsTo?t.eq:t.bang,1)}function Zo(){const e=b.charCodeAt(r.pos+1),n=b.charCodeAt(r.pos+2);e===u.questionMark&&!($&&r.isType)?n===u.equalsTo?ie(t.assign,3):ie(t.nullishCoalescing,2):e===u.dot&&!(n>=u.digit0&&n<=u.digit9)?(r.pos+=2,Q(t.questionDot)):(++r.pos,Q(t.question))}function Ur(e){switch(e){case u.numberSign:++r.pos,Q(t.hash);return;case u.dot:Ho();return;case u.leftParenthesis:++r.pos,Q(t.parenL);return;case u.rightParenthesis:++r.pos,Q(t.parenR);return;case u.semicolon:++r.pos,Q(t.semi);return;case u.comma:++r.pos,Q(t.comma);return;case u.leftSquareBracket:++r.pos,Q(t.bracketL);return;case u.rightSquareBracket:++r.pos,Q(t.bracketR);return;case u.leftCurlyBrace:$&&b.charCodeAt(r.pos+1)===u.verticalBar?ie(t.braceBarL,2):(++r.pos,Q(t.braceL));return;case u.rightCurlyBrace:++r.pos,Q(t.braceR);return;case u.colon:b.charCodeAt(r.pos+1)===u.colon?ie(t.doubleColon,2):(++r.pos,Q(t.colon));return;case u.questionMark:Zo();return;case u.atSign:++r.pos,Q(t.at);return;case u.graveAccent:++r.pos,Q(t.backQuote);return;case u.digit0:{const n=b.charCodeAt(r.pos+1);if(n===u.lowercaseX||n===u.uppercaseX||n===u.lowercaseO||n===u.uppercaseO||n===u.lowercaseB||n===u.uppercaseB){ei();return}}case u.digit1:case u.digit2:case u.digit3:case u.digit4:case u.digit5:case u.digit6:case u.digit7:case u.digit8:case u.digit9:Vr(!1);return;case u.quotationMark:case u.apostrophe:ti(e);return;case u.slash:Wo();return;case u.percentSign:case u.asterisk:Go(e);return;case u.verticalBar:case u.ampersand:Xo(e);return;case u.caret:zo();return;case u.plusSign:case u.dash:Yo(e);return;case u.lessThan:Jo();return;case u.greaterThan:qr();return;case u.equalsTo:case u.exclamationMark:Qo(e);return;case u.tilde:ie(t.tilde,1);return;default:break}J(`Unexpected character '${String.fromCharCode(e)}'`,r.pos)}function ie(e,n){r.pos+=n,Q(e)}function Ko(){const e=r.pos;let n=!1,s=!1;for(;;){if(r.pos>=b.length){J("Unterminated regular expression",e);return}const o=b.charCodeAt(r.pos);if(n)n=!1;else{if(o===u.leftSquareBracket)s=!0;else if(o===u.rightSquareBracket&&s)s=!1;else if(o===u.slash&&!s)break;n=o===u.backslash}++r.pos}++r.pos,si(),Q(t.regexp)}function Sn(){for(;;){const e=b.charCodeAt(r.pos);if(e>=u.digit0&&e<=u.digit9||e===u.underscore)r.pos++;else break}}function ei(){for(r.pos+=2;;){const n=b.charCodeAt(r.pos);if(n>=u.digit0&&n<=u.digit9||n>=u.lowercaseA&&n<=u.lowercaseF||n>=u.uppercaseA&&n<=u.uppercaseF||n===u.underscore)r.pos++;else break}b.charCodeAt(r.pos)===u.lowercaseN?(++r.pos,Q(t.bigint)):Q(t.num)}function Vr(e){let n=!1,s=!1;e||Sn();let o=b.charCodeAt(r.pos);if(o===u.dot&&(++r.pos,Sn(),o=b.charCodeAt(r.pos)),(o===u.uppercaseE||o===u.lowercaseE)&&(o=b.charCodeAt(++r.pos),(o===u.plusSign||o===u.dash)&&++r.pos,Sn(),o=b.charCodeAt(r.pos)),o===u.lowercaseN?(++r.pos,n=!0):o===u.lowercaseM&&(++r.pos,s=!0),n){Q(t.bigint);return}if(s){Q(t.decimal);return}Q(t.num)}function ti(e){for(r.pos++;;){if(r.pos>=b.length){J("Unterminated string constant");return}const n=b.charCodeAt(r.pos);if(n===u.backslash)r.pos++;else if(n===e)break;r.pos++}r.pos++,Q(t.string)}function ni(){for(;;){if(r.pos>=b.length){J("Unterminated template");return}const e=b.charCodeAt(r.pos);if(e===u.graveAccent||e===u.dollarSign&&b.charCodeAt(r.pos+1)===u.leftCurlyBrace){if(r.pos===r.start&&c(t.template))if(e===u.dollarSign){r.pos+=2,Q(t.dollarBraceL);return}else{++r.pos,Q(t.backQuote);return}Q(t.template);return}e===u.backslash&&r.pos++,r.pos++}}function si(){for(;r.pos<b.length;){const e=b.charCodeAt(r.pos);if(le[e])r.pos++;else if(e===u.backslash){if(r.pos+=2,b.charCodeAt(r.pos)===u.leftCurlyBrace){for(;r.pos<b.length&&b.charCodeAt(r.pos)!==u.rightCurlyBrace;)r.pos++;r.pos++}}else break}}function Rt(e,n=e.currentIndex()){let s=n+1;if(Jt(e,s)){const o=e.identifierNameAtIndex(n);return{isType:!1,leftName:o,rightName:o,endIndex:s}}if(s++,Jt(e,s))return{isType:!0,leftName:null,rightName:null,endIndex:s};if(s++,Jt(e,s))return{isType:!1,leftName:e.identifierNameAtIndex(n),rightName:e.identifierNameAtIndex(n+2),endIndex:s};if(s++,Jt(e,s))return{isType:!0,leftName:null,rightName:null,endIndex:s};throw new Error(`Unexpected import/export specifier at ${n}`)}function Jt(e,n){const s=e.tokens[n];return s.type===t.braceR||s.type===t.comma}var ri=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xA0"],["iexcl","\xA1"],["cent","\xA2"],["pound","\xA3"],["curren","\xA4"],["yen","\xA5"],["brvbar","\xA6"],["sect","\xA7"],["uml","\xA8"],["copy","\xA9"],["ordf","\xAA"],["laquo","\xAB"],["not","\xAC"],["shy","\xAD"],["reg","\xAE"],["macr","\xAF"],["deg","\xB0"],["plusmn","\xB1"],["sup2","\xB2"],["sup3","\xB3"],["acute","\xB4"],["micro","\xB5"],["para","\xB6"],["middot","\xB7"],["cedil","\xB8"],["sup1","\xB9"],["ordm","\xBA"],["raquo","\xBB"],["frac14","\xBC"],["frac12","\xBD"],["frac34","\xBE"],["iquest","\xBF"],["Agrave","\xC0"],["Aacute","\xC1"],["Acirc","\xC2"],["Atilde","\xC3"],["Auml","\xC4"],["Aring","\xC5"],["AElig","\xC6"],["Ccedil","\xC7"],["Egrave","\xC8"],["Eacute","\xC9"],["Ecirc","\xCA"],["Euml","\xCB"],["Igrave","\xCC"],["Iacute","\xCD"],["Icirc","\xCE"],["Iuml","\xCF"],["ETH","\xD0"],["Ntilde","\xD1"],["Ograve","\xD2"],["Oacute","\xD3"],["Ocirc","\xD4"],["Otilde","\xD5"],["Ouml","\xD6"],["times","\xD7"],["Oslash","\xD8"],["Ugrave","\xD9"],["Uacute","\xDA"],["Ucirc","\xDB"],["Uuml","\xDC"],["Yacute","\xDD"],["THORN","\xDE"],["szlig","\xDF"],["agrave","\xE0"],["aacute","\xE1"],["acirc","\xE2"],["atilde","\xE3"],["auml","\xE4"],["aring","\xE5"],["aelig","\xE6"],["ccedil","\xE7"],["egrave","\xE8"],["eacute","\xE9"],["ecirc","\xEA"],["euml","\xEB"],["igrave","\xEC"],["iacute","\xED"],["icirc","\xEE"],["iuml","\xEF"],["eth","\xF0"],["ntilde","\xF1"],["ograve","\xF2"],["oacute","\xF3"],["ocirc","\xF4"],["otilde","\xF5"],["ouml","\xF6"],["divide","\xF7"],["oslash","\xF8"],["ugrave","\xF9"],["uacute","\xFA"],["ucirc","\xFB"],["uuml","\xFC"],["yacute","\xFD"],["thorn","\xFE"],["yuml","\xFF"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02C6"],["tilde","\u02DC"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039A"],["Lambda","\u039B"],["Mu","\u039C"],["Nu","\u039D"],["Xi","\u039E"],["Omicron","\u039F"],["Pi","\u03A0"],["Rho","\u03A1"],["Sigma","\u03A3"],["Tau","\u03A4"],["Upsilon","\u03A5"],["Phi","\u03A6"],["Chi","\u03A7"],["Psi","\u03A8"],["Omega","\u03A9"],["alpha","\u03B1"],["beta","\u03B2"],["gamma","\u03B3"],["delta","\u03B4"],["epsilon","\u03B5"],["zeta","\u03B6"],["eta","\u03B7"],["theta","\u03B8"],["iota","\u03B9"],["kappa","\u03BA"],["lambda","\u03BB"],["mu","\u03BC"],["nu","\u03BD"],["xi","\u03BE"],["omicron","\u03BF"],["pi","\u03C0"],["rho","\u03C1"],["sigmaf","\u03C2"],["sigma","\u03C3"],["tau","\u03C4"],["upsilon","\u03C5"],["phi","\u03C6"],["chi","\u03C7"],["psi","\u03C8"],["omega","\u03C9"],["thetasym","\u03D1"],["upsih","\u03D2"],["piv","\u03D6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200C"],["zwj","\u200D"],["lrm","\u200E"],["rlm","\u200F"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201A"],["ldquo","\u201C"],["rdquo","\u201D"],["bdquo","\u201E"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203A"],["oline","\u203E"],["frasl","\u2044"],["euro","\u20AC"],["image","\u2111"],["weierp","\u2118"],["real","\u211C"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21B5"],["lArr","\u21D0"],["uArr","\u21D1"],["rArr","\u21D2"],["dArr","\u21D3"],["hArr","\u21D4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220B"],["prod","\u220F"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221A"],["prop","\u221D"],["infin","\u221E"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222A"],["int","\u222B"],["there4","\u2234"],["sim","\u223C"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22A5"],["sdot","\u22C5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230A"],["rfloor","\u230B"],["lang","\u2329"],["rang","\u232A"],["loz","\u25CA"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]]);function Hr(e){const[n,s]=Wr(e.jsxPragma||"React.createElement"),[o,i]=Wr(e.jsxFragmentPragma||"React.Fragment");return{base:n,suffix:s,fragmentBase:o,fragmentSuffix:i}}function Wr(e){let n=e.indexOf(".");return n===-1&&(n=e.length),[e.slice(0,n),e.slice(n)]}class ze{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class at extends ze{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(n,s,o,i,a){super(),this.rootTransformer=n,this.tokens=s,this.importProcessor=o,this.nameManager=i,this.options=a,at.prototype.__init.call(this),at.prototype.__init2.call(this),at.prototype.__init3.call(this),at.prototype.__init4.call(this),at.prototype.__init5.call(this),this.jsxPragmaInfo=Hr(a),this.isAutomaticRuntime=a.jsxRuntime==="automatic",this.jsxImportSource=a.jsxImportSource||"react"}process(){return this.tokens.matches1(t.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let n="";if(this.filenameVarName&&(n+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(const[o,i]of Object.entries(this.cjsAutomaticModuleNameResolutions))n+=`var ${i} = require("${o}");`;else{const s=this.esmAutomaticImportNameResolutions,{createElement:o}=s,i=Dr(s,["createElement"]);o&&(n+=`import {createElement as ${o}} from "${this.jsxImportSource}";`);const a=Object.entries(i).map(([h,p])=>`${h} as ${p}`).join(", ");if(a){const h=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");n+=`import {${a}} from "${h}";`}}return n}processJSXTag(){const{jsxRole:n,start:s}=this.tokens.currentToken(),o=this.options.production?null:this.getElementLocationCode(s);this.isAutomaticRuntime&&n!==qe.KeyAfterPropSpread?this.transformTagToJSXFunc(o,n):this.transformTagToCreateElement(o)}getElementLocationCode(n){return`lineNumber: ${this.getLineNumberForIndex(n)}`}getLineNumberForIndex(n){const s=this.tokens.code;for(;this.lastIndex<n&&this.lastIndex<s.length;)s[this.lastIndex]===`
|
|
2
|
+
`&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(n,s){const o=s===qe.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(o));let i=null;if(this.tokens.matches1(t.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(s);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),i=this.processProps(!0),this.tokens.matches2(t.slash,t.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(t.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(s);else throw new Error("Expected either /> or > at the end of the tag.");i&&this.tokens.appendCode(`, ${i}`)}for(this.options.production||(i===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${o}, ${this.getDevSource(n)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(t.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(n){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(t.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(n),!this.tokens.matches2(t.slash,t.jsxTagEnd))if(this.tokens.matches1(t.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(t.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(n){return this.options.production?n?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{const{jsxPragmaInfo:n}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(n.base)||n.base}${n.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{const{jsxPragmaInfo:n}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(n.fragmentBase)||n.fragmentBase)+n.fragmentSuffix}}claimAutoImportedFuncInvocation(n,s){const o=this.claimAutoImportedName(n,s);return this.importProcessor?`${o}.call(void 0, `:`${o}(`}claimAutoImportedName(n,s){if(this.importProcessor){const o=this.jsxImportSource+s;return this.cjsAutomaticModuleNameResolutions[o]||(this.cjsAutomaticModuleNameResolutions[o]=this.importProcessor.getFreeIdentifierForPath(o)),`${this.cjsAutomaticModuleNameResolutions[o]}.${n}`}else return this.esmAutomaticImportNameResolutions[n]||(this.esmAutomaticImportNameResolutions[n]=this.nameManager.claimFreeName(`_${n}`)),this.esmAutomaticImportNameResolutions[n]}processTagIntro(){let n=this.tokens.currentIndex()+1;for(;this.tokens.tokens[n].isType||!this.tokens.matches2AtIndex(n-1,t.jsxName,t.jsxName)&&!this.tokens.matches2AtIndex(n-1,t.greaterThan,t.jsxName)&&!this.tokens.matches1AtIndex(n,t.braceL)&&!this.tokens.matches1AtIndex(n,t.jsxTagEnd)&&!this.tokens.matches2AtIndex(n,t.slash,t.jsxTagEnd);)n++;if(n===this.tokens.currentIndex()+1){const s=this.tokens.identifierName();Gr(s)&&this.tokens.replaceToken(`'${s}'`)}for(;this.tokens.currentIndex()<n;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(n){const s=this.options.production?"":`__self: this, __source: ${this.getDevSource(n)}`;if(!this.tokens.matches1(t.jsxName)&&!this.tokens.matches1(t.braceL)){s?this.tokens.appendCode(`, {${s}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),s?this.tokens.appendCode(` ${s}}`):this.tokens.appendCode("}")}processProps(n){let s=null;for(;;){if(this.tokens.matches2(t.jsxName,t.eq)){const o=this.tokens.identifierName();if(n&&o==="key"){s!==null&&this.tokens.appendCode(s.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();const i=this.tokens.snapshot();this.processPropValue(),s=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(i);continue}else this.processPropName(o),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(t.jsxName)){const o=this.tokens.identifierName();this.processPropName(o),this.tokens.appendCode(": true")}else if(this.tokens.matches1(t.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return s}processPropName(n){n.includes("-")?this.tokens.replaceToken(`'${n}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(t.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(t.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){const n=this.tokens.currentToken(),s=this.tokens.code.slice(n.start+1,n.end-1),o=Xr(s),i=ii(s);this.tokens.replaceToken(i+o)}processAutomaticChildrenAndEndProps(n){n===qe.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(n===qe.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(n){let s=n;for(;;){if(this.tokens.matches2(t.jsxTagStart,t.slash))return;let o=!1;if(this.tokens.matches1(t.braceL))this.tokens.matches2(t.braceL,t.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(s?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),o=!0);else if(this.tokens.matches1(t.jsxTagStart))this.tokens.appendCode(s?", ":""),this.processJSXTag(),o=!0;else if(this.tokens.matches1(t.jsxText)||this.tokens.matches1(t.jsxEmptyText))o=this.processChildTextElement(s);else throw new Error("Unexpected token when processing JSX children.");o&&(s=!0)}}processChildTextElement(n){const s=this.tokens.currentToken(),o=this.tokens.code.slice(s.start,s.end),i=Xr(o),a=oi(o);return a==='""'?(this.tokens.replaceToken(i),!1):(this.tokens.replaceToken(`${n?", ":""}${a}${i}`),!0)}getDevSource(n){return`{fileName: ${this.getFilenameVarName()}, ${n}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}}function Gr(e){const n=e.charCodeAt(0);return n>=u.lowercaseA&&n<=u.lowercaseZ}function oi(e){let n="",s="",o=!1,i=!1;for(let a=0;a<e.length;a++){const h=e[a];if(h===" "||h===" "||h==="\r")o||(s+=h);else if(h===`
|
|
3
|
+
`)s="",o=!0;else{if(i&&o&&(n+=" "),n+=s,s="",h==="&"){const{entity:p,newI:d}=zr(e,a+1);a=d-1,n+=p}else n+=h;i=!0,o=!1}}return o||(n+=s),JSON.stringify(n)}function Xr(e){let n=0,s=0;for(const o of e)o===`
|
|
4
|
+
`?(n++,s=0):o===" "&&s++;return`
|
|
5
|
+
`.repeat(n)+" ".repeat(s)}function ii(e){let n="";for(let s=0;s<e.length;s++){const o=e[s];if(o===`
|
|
6
|
+
`)if(/\s/.test(e[s+1]))for(n+=" ";s<e.length&&/\s/.test(e[s+1]);)s++;else n+=`
|
|
7
|
+
`;else if(o==="&"){const{entity:i,newI:a}=zr(e,s+1);n+=i,s=a-1}else n+=o}return JSON.stringify(n)}function zr(e,n){let s="",o=0,i,a=n;if(e[a]==="#"){let h=10;a++;let p;if(e[a]==="x")for(h=16,a++,p=a;a<e.length&&ci(e.charCodeAt(a));)a++;else for(p=a;a<e.length&&ai(e.charCodeAt(a));)a++;if(e[a]===";"){const d=e.slice(p,a);d&&(a++,i=String.fromCodePoint(parseInt(d,h)))}}else for(;a<e.length&&o++<10;){const h=e[a];if(a++,h===";"){i=ri.get(s);break}s+=h}return i?{entity:i,newI:a}:{entity:"&",newI:n}}function ai(e){return e>=u.digit0&&e<=u.digit9}function ci(e){return e>=u.digit0&&e<=u.digit9||e>=u.lowercaseA&&e<=u.lowercaseF||e>=u.uppercaseA&&e<=u.uppercaseF}function Yr(e,n){const s=Hr(n),o=new Set;for(let i=0;i<e.tokens.length;i++){const a=e.tokens[i];if(a.type===t.name&&!a.isType&&(a.identifierRole===q.Access||a.identifierRole===q.ObjectShorthand||a.identifierRole===q.ExportAccess)&&!a.shadowsGlobal&&o.add(e.identifierNameForToken(a)),a.type===t.jsxTagStart&&o.add(s.base),a.type===t.jsxTagStart&&i+1<e.tokens.length&&e.tokens[i+1].type===t.jsxTagEnd&&(o.add(s.base),o.add(s.fragmentBase)),a.type===t.jsxName&&a.identifierRole===q.Access){const h=e.identifierNameForToken(a);(!Gr(h)||e.tokens[i+1].type===t.dot)&&o.add(e.identifierNameForToken(a))}}return o}class ct{__init(){this.nonTypeIdentifiers=new Set}__init2(){this.importInfoByPath=new Map}__init3(){this.importsToReplace=new Map}__init4(){this.identifierReplacements=new Map}__init5(){this.exportBindingsByLocalName=new Map}constructor(n,s,o,i,a,h,p){this.nameManager=n,this.tokens=s,this.enableLegacyTypeScriptModuleInterop=o,this.options=i,this.isTypeScriptTransformEnabled=a,this.keepUnusedImports=h,this.helperManager=p,ct.prototype.__init.call(this),ct.prototype.__init2.call(this),ct.prototype.__init3.call(this),ct.prototype.__init4.call(this),ct.prototype.__init5.call(this)}preprocessTokens(){for(let n=0;n<this.tokens.tokens.length;n++)this.tokens.matches1AtIndex(n,t._import)&&!this.tokens.matches3AtIndex(n,t._import,t.name,t.eq)&&this.preprocessImportAtIndex(n),this.tokens.matches1AtIndex(n,t._export)&&!this.tokens.matches2AtIndex(n,t._export,t.eq)&&this.preprocessExportAtIndex(n);this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=Yr(this.tokens,this.options);for(const[n,s]of this.importInfoByPath.entries()){if(s.hasBareImport||s.hasStarExport||s.exportStarNames.length>0||s.namedExports.length>0)continue;[...s.defaultNames,...s.wildcardNames,...s.namedImports.map(({localName:i})=>i)].every(i=>this.shouldAutomaticallyElideImportedName(i))&&this.importsToReplace.set(n,"")}}shouldAutomaticallyElideImportedName(n){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(n)}generateImportReplacements(){for(const[n,s]of this.importInfoByPath.entries()){const{defaultNames:o,wildcardNames:i,namedImports:a,namedExports:h,exportStarNames:p,hasStarExport:d}=s;if(o.length===0&&i.length===0&&a.length===0&&h.length===0&&p.length===0&&!d){this.importsToReplace.set(n,`require('${n}');`);continue}const y=this.getFreeIdentifierForPath(n);let T;this.enableLegacyTypeScriptModuleInterop?T=y:T=i.length>0?i[0]:this.getFreeIdentifierForPath(n);let S=`var ${y} = require('${n}');`;if(i.length>0)for(const x of i){const E=this.enableLegacyTypeScriptModuleInterop?y:`${this.helperManager.getHelperName("interopRequireWildcard")}(${y})`;S+=` var ${x} = ${E};`}else p.length>0&&T!==y?S+=` var ${T} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${y});`:o.length>0&&T!==y&&(S+=` var ${T} = ${this.helperManager.getHelperName("interopRequireDefault")}(${y});`);for(const{importedName:x,localName:E}of h)S+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${y}, '${E}', '${x}');`;for(const x of p)S+=` exports.${x} = ${T};`;d&&(S+=` ${this.helperManager.getHelperName("createStarExport")}(${y});`),this.importsToReplace.set(n,S);for(const x of o)this.identifierReplacements.set(x,`${T}.default`);for(const{importedName:x,localName:E}of a)this.identifierReplacements.set(E,`${y}.${x}`)}}getFreeIdentifierForPath(n){const s=n.split("/"),i=s[s.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${i}`)}preprocessImportAtIndex(n){const s=[],o=[],i=[];if(n++,(this.tokens.matchesContextualAtIndex(n,l._type)||this.tokens.matches1AtIndex(n,t._typeof))&&!this.tokens.matches1AtIndex(n+1,t.comma)&&!this.tokens.matchesContextualAtIndex(n+1,l._from)||this.tokens.matches1AtIndex(n,t.parenL))return;if(this.tokens.matches1AtIndex(n,t.name)&&(s.push(this.tokens.identifierNameAtIndex(n)),n++,this.tokens.matches1AtIndex(n,t.comma)&&n++),this.tokens.matches1AtIndex(n,t.star)&&(n+=2,o.push(this.tokens.identifierNameAtIndex(n)),n++),this.tokens.matches1AtIndex(n,t.braceL)){const p=this.getNamedImports(n+1);n=p.newIndex;for(const d of p.namedImports)d.importedName==="default"?s.push(d.localName):i.push(d)}if(this.tokens.matchesContextualAtIndex(n,l._from)&&n++,!this.tokens.matches1AtIndex(n,t.string))throw new Error("Expected string token at the end of import statement.");const a=this.tokens.stringValueAtIndex(n),h=this.getImportInfo(a);h.defaultNames.push(...s),h.wildcardNames.push(...o),h.namedImports.push(...i),s.length===0&&o.length===0&&i.length===0&&(h.hasBareImport=!0)}preprocessExportAtIndex(n){if(this.tokens.matches2AtIndex(n,t._export,t._var)||this.tokens.matches2AtIndex(n,t._export,t._let)||this.tokens.matches2AtIndex(n,t._export,t._const))this.preprocessVarExportAtIndex(n);else if(this.tokens.matches2AtIndex(n,t._export,t._function)||this.tokens.matches2AtIndex(n,t._export,t._class)){const s=this.tokens.identifierNameAtIndex(n+2);this.addExportBinding(s,s)}else if(this.tokens.matches3AtIndex(n,t._export,t.name,t._function)){const s=this.tokens.identifierNameAtIndex(n+3);this.addExportBinding(s,s)}else this.tokens.matches2AtIndex(n,t._export,t.braceL)?this.preprocessNamedExportAtIndex(n):this.tokens.matches2AtIndex(n,t._export,t.star)&&this.preprocessExportStarAtIndex(n)}preprocessVarExportAtIndex(n){let s=0;for(let o=n+2;;o++)if(this.tokens.matches1AtIndex(o,t.braceL)||this.tokens.matches1AtIndex(o,t.dollarBraceL)||this.tokens.matches1AtIndex(o,t.bracketL))s++;else if(this.tokens.matches1AtIndex(o,t.braceR)||this.tokens.matches1AtIndex(o,t.bracketR))s--;else{if(s===0&&!this.tokens.matches1AtIndex(o,t.name))break;if(this.tokens.matches1AtIndex(1,t.eq)){const i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected = token with an end index.");o=i-1}else{const i=this.tokens.tokens[o];if(Yt(i)){const a=this.tokens.identifierNameAtIndex(o);this.identifierReplacements.set(a,`exports.${a}`)}}}}preprocessNamedExportAtIndex(n){n+=2;const{newIndex:s,namedImports:o}=this.getNamedImports(n);if(n=s,this.tokens.matchesContextualAtIndex(n,l._from))n++;else{for(const{importedName:h,localName:p}of o)this.addExportBinding(h,p);return}if(!this.tokens.matches1AtIndex(n,t.string))throw new Error("Expected string token at the end of import statement.");const i=this.tokens.stringValueAtIndex(n);this.getImportInfo(i).namedExports.push(...o)}preprocessExportStarAtIndex(n){let s=null;if(this.tokens.matches3AtIndex(n,t._export,t.star,t._as)?(n+=3,s=this.tokens.identifierNameAtIndex(n),n+=2):n+=3,!this.tokens.matches1AtIndex(n,t.string))throw new Error("Expected string token at the end of star export statement.");const o=this.tokens.stringValueAtIndex(n),i=this.getImportInfo(o);s!==null?i.exportStarNames.push(s):i.hasStarExport=!0}getNamedImports(n){const s=[];for(;;){if(this.tokens.matches1AtIndex(n,t.braceR)){n++;break}const o=Rt(this.tokens,n);if(n=o.endIndex,o.isType||s.push({importedName:o.leftName,localName:o.rightName}),this.tokens.matches2AtIndex(n,t.comma,t.braceR)){n+=2;break}else if(this.tokens.matches1AtIndex(n,t.braceR)){n++;break}else if(this.tokens.matches1AtIndex(n,t.comma))n++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[n])}`)}return{newIndex:n,namedImports:s}}getImportInfo(n){const s=this.importInfoByPath.get(n);if(s)return s;const o={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(n,o),o}addExportBinding(n,s){this.exportBindingsByLocalName.has(n)||this.exportBindingsByLocalName.set(n,[]),this.exportBindingsByLocalName.get(n).push(s)}claimImportCode(n){const s=this.importsToReplace.get(n);return this.importsToReplace.set(n,""),s||""}getIdentifierReplacement(n){return this.identifierReplacements.get(n)||null}resolveExportBinding(n){const s=this.exportBindingsByLocalName.get(n);return!s||s.length===0?null:s.map(o=>`exports.${o}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}var Jr=te(57861).lW,kt=44,Qr=59,Zr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Kr=new Uint8Array(64),e1=new Uint8Array(128);for(let e=0;e<Zr.length;e++){const n=Zr.charCodeAt(e);Kr[e]=n,e1[n]=e}function Ie(e,n){let s=0,o=0,i=0;do{const h=e.next();i=e1[h],s|=(i&31)<<o,o+=5}while(i&32);const a=s&1;return s>>>=1,a&&(s=-2147483648|-s),n+s}function de(e,n,s){let o=n-s;o=o<0?-o<<1|1:o<<1;do{let i=o&31;o>>>=5,o>0&&(i|=32),e.write(Kr[i])}while(o>0);return n}function tt(e,n){return e.pos>=n?!1:e.peek()!==kt}var t1=1024*16,n1=typeof TextDecoder!="undefined"?new TextDecoder:typeof Jr!="undefined"?{decode(e){return Jr.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let n="";for(let s=0;s<e.length;s++)n+=String.fromCharCode(e[s]);return n}},En=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(t1)}write(e){const{buffer:n}=this;n[this.pos++]=e,this.pos===t1&&(this.out+=n1.decode(n),this.pos=0)}flush(){const{buffer:e,out:n,pos:s}=this;return s>0?n+n1.decode(e.subarray(0,s)):n}},vn=class{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){const{buffer:n,pos:s}=this,o=n.indexOf(e,s);return o===-1?n.length:o}},s1=null;function Qu(e){const{length:n}=e,s=new vn(e),o=[],i=[];let a=0;for(;s.pos<n;s.pos++){a=Ie(s,a);const h=Ie(s,0);if(!tt(s,n)){const x=i.pop();x[2]=a,x[3]=h;continue}const p=Ie(s,0),T=Ie(s,0)&1?[a,h,0,0,p,Ie(s,0)]:[a,h,0,0,p];let S=s1;if(tt(s,n)){S=[];do{const x=Ie(s,0);S.push(x)}while(tt(s,n))}T.vars=S,o.push(T),i.push(T)}return o}function Zu(e){const n=new En;for(let s=0;s<e.length;)s=r1(e,s,n,[0]);return n.flush()}function r1(e,n,s,o){const i=e[n],{0:a,1:h,2:p,3:d,4:y,vars:T}=i;n>0&&s.write(kt),o[0]=de(s,a,o[0]),de(s,h,0),de(s,y,0);const S=i.length===6?1:0;de(s,S,0),i.length===6&&de(s,i[5],0);for(const x of T)de(s,x,0);for(n++;n<e.length;){const x=e[n],{0:E,1:M}=x;if(E>p||E===p&&M>=d)break;n=r1(e,n,s,o)}return s.write(kt),o[0]=de(s,p,o[0]),de(s,d,0),n}function Ku(e){const{length:n}=e,s=new vn(e),o=[],i=[];let a=0,h=0,p=0,d=0,y=0,T=0,S=0,x=0;do{const E=s.indexOf(";");let M=0;for(;s.pos<E;s.pos++){if(M=Ie(s,M),!tt(s,E)){const ye=i.pop();ye[2]=a,ye[3]=M;continue}const Z=Ie(s,0),se=Z&1,he=Z&2,me=Z&4;let fe=null,ke=s1,Ce;if(se){const ye=Ie(s,h);p=Ie(s,h===ye?p:0),h=ye,Ce=[a,M,0,0,ye,p]}else Ce=[a,M,0,0];if(Ce.isScope=!!me,he){const ye=d,Le=y;d=Ie(s,d);const Ee=ye===d;y=Ie(s,Ee?y:0),T=Ie(s,Ee&&Le===y?T:0),fe=[d,y,T]}if(Ce.callsite=fe,tt(s,E)){ke=[];do{S=a,x=M;const ye=Ie(s,0);let Le;if(ye<-1){Le=[[Ie(s,0)]];for(let Ee=-1;Ee>ye;Ee--){const ve=S;S=Ie(s,S),x=Ie(s,S===ve?x:0);const je=Ie(s,0);Le.push([je,S,x])}}else Le=[[ye]];ke.push(Le)}while(tt(s,E))}Ce.bindings=ke,o.push(Ce),i.push(Ce)}a++,s.pos=E+1}while(s.pos<n);return o}function eh(e){if(e.length===0)return"";const n=new En;for(let s=0;s<e.length;)s=o1(e,s,n,[0,0,0,0,0,0,0]);return n.flush()}function o1(e,n,s,o){const i=e[n],{0:a,1:h,2:p,3:d,isScope:y,callsite:T,bindings:S}=i;o[0]<a?(i1(s,o[0],a),o[0]=a,o[1]=0):n>0&&s.write(kt),o[1]=de(s,i[1],o[1]);const x=(i.length===6?1:0)|(T?2:0)|(y?4:0);if(de(s,x,0),i.length===6){const{4:E,5:M}=i;E!==o[2]&&(o[3]=0),o[2]=de(s,E,o[2]),o[3]=de(s,M,o[3])}if(T){const{0:E,1:M,2:Z}=i.callsite;E!==o[4]?(o[5]=0,o[6]=0):M!==o[5]&&(o[6]=0),o[4]=de(s,E,o[4]),o[5]=de(s,M,o[5]),o[6]=de(s,Z,o[6])}if(S)for(const E of S){E.length>1&&de(s,-E.length,0);const M=E[0][0];de(s,M,0);let Z=a,se=h;for(let he=1;he<E.length;he++){const me=E[he];Z=de(s,me[1],Z),se=de(s,me[2],se),de(s,me[0],0)}}for(n++;n<e.length;){const E=e[n],{0:M,1:Z}=E;if(M>p||M===p&&Z>=d)break;n=o1(e,n,s,o)}return o[0]<p?(i1(s,o[0],p),o[0]=p,o[1]=0):s.write(kt),o[1]=de(s,d,o[1]),n}function i1(e,n,s){do e.write(Qr);while(++n<s)}function th(e){const{length:n}=e,s=new vn(e),o=[];let i=0,a=0,h=0,p=0,d=0;do{const y=s.indexOf(";"),T=[];let S=!0,x=0;for(i=0;s.pos<y;){let E;i=Ie(s,i),i<x&&(S=!1),x=i,tt(s,y)?(a=Ie(s,a),h=Ie(s,h),p=Ie(s,p),tt(s,y)?(d=Ie(s,d),E=[i,a,h,p,d]):E=[i,a,h,p]):E=[i],T.push(E),s.pos++}S||li(T),o.push(T),s.pos=y+1}while(s.pos<=n);return o}function li(e){e.sort(ui)}function ui(e,n){return e[0]-n[0]}function hi(e){const n=new En;let s=0,o=0,i=0,a=0;for(let h=0;h<e.length;h++){const p=e[h];if(h>0&&n.write(Qr),p.length===0)continue;let d=0;for(let y=0;y<p.length;y++){const T=p[y];y>0&&n.write(kt),d=de(n,T[0],d),T.length!==1&&(s=de(n,T[1],s),o=de(n,T[2],o),i=de(n,T[3],i),T.length!==4&&(a=de(n,T[4],a)))}}return n.flush()}var nh=te(77308);function fi(e){if(!e)return"";const n=e.lastIndexOf("/");return e.slice(0,n+1)}function pi(e,n){const s=fi(e),o=n?n+"/":"";return i=>resolveUri(o+(i||""),s)}var Ye=0,An=1,Nn=2,Cn=3,a1=4,c1=1,l1=2;function mi(e,n){const s=u1(e,0);if(s===e.length)return e;n||(e=e.slice());for(let o=s;o<e.length;o=u1(e,o+1))e[o]=ki(e[o],n);return e}function u1(e,n){for(let s=n;s<e.length;s++)if(!di(e[s]))return s;return e.length}function di(e){for(let n=1;n<e.length;n++)if(e[n][Ye]<e[n-1][Ye])return!1;return!0}function ki(e,n){return n||(e=e.slice()),e.sort(h1)}function h1(e,n){return e[Ye]-n[Ye]}function gi(e,n){const s=n.map(()=>[]);for(let o=0;o<e.length;o++){const i=e[o];for(let a=0;a<i.length;a++){const h=i[a];if(h.length===1)continue;const p=h[An],d=h[Nn],y=h[Cn],T=s[p];(T[d]||(T[d]=[])).push([y,o,h[Ye]])}}for(let o=0;o<s.length;o++){const i=s[o];for(let a=0;a<i.length;a++){const h=i[a];h&&h.sort(h1)}}return s}var lt=!1;function _i(e,n,s,o){for(;s<=o;){const i=s+(o-s>>1),a=e[i][Ye]-n;if(a===0)return lt=!0,i;a<0?s=i+1:o=i-1}return lt=!1,s-1}function f1(e,n,s){for(let o=s+1;o<e.length&&e[o][Ye]===n;s=o++);return s}function p1(e,n,s){for(let o=s-1;o>=0&&e[o][Ye]===n;s=o--);return s}function m1(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function yi(e,n,s,o){const{lastKey:i,lastNeedle:a,lastIndex:h}=s;let p=0,d=e.length-1;if(o===i){if(n===a)return lt=h!==-1&&e[h][Ye]===n,h;n>=a?p=h===-1?0:h:d=h}return s.lastKey=o,s.lastNeedle=n,s.lastIndex=_i(e,n,p,d)}function Pn(e){return typeof e=="string"?JSON.parse(e):e}var sh=function(e,n){const s=Pn(e);if(!("sections"in s))return new Ln(s,n);const o=[],i=[],a=[],h=[],p=[];d1(s,n,o,i,a,h,p,0,0,1/0,1/0);const d={version:3,file:s.file,names:h,sources:i,sourcesContent:a,mappings:o,ignoreList:p};return wi(d)};function d1(e,n,s,o,i,a,h,p,d,y,T){const{sections:S}=e;for(let x=0;x<S.length;x++){const{map:E,offset:M}=S[x];let Z=y,se=T;if(x+1<S.length){const he=S[x+1].offset;Z=Math.min(y,p+he.line),Z===y?se=Math.min(T,d+he.column):Z<y&&(se=d+he.column)}xi(E,n,s,o,i,a,h,p+M.line,d+M.column,Z,se)}}function xi(e,n,s,o,i,a,h,p,d,y,T){const S=Pn(e);if("sections"in S)return d1(...arguments);const x=new Ln(S,n),E=o.length,M=a.length,Z=gt(x),{resolvedSources:se,sourcesContent:he,ignoreList:me}=x;if(Rn(o,se),Rn(a,x.names),he)Rn(i,he);else for(let fe=0;fe<se.length;fe++)i.push(null);if(me)for(let fe=0;fe<me.length;fe++)h.push(me[fe]+E);for(let fe=0;fe<Z.length;fe++){const ke=p+fe;if(ke>y)return;const Ce=Ii(s,ke),ye=fe===0?d:0,Le=Z[fe];for(let Ee=0;Ee<Le.length;Ee++){const ve=Le[Ee],je=ye+ve[Ye];if(ke===y&&je>=T)return;if(ve.length===1){Ce.push([je]);continue}const Xe=E+ve[An],L=ve[Nn],w=ve[Cn];Ce.push(ve.length===4?[je,Xe,L,w]:[je,Xe,L,w,M+ve[a1]])}}}function Rn(e,n){for(let s=0;s<n.length;s++)e.push(n[s])}function Ii(e,n){for(let s=e.length;s<=n;s++)e[s]=[];return e[n]}var k1="`line` must be greater than 0 (lines start at line 1)",g1="`column` must be greater than or equal to 0 (columns start at column 0)",Qt=null,Zt=1,Ln=class{constructor(e,n){const s=typeof e=="string";if(!s&&e._decodedMemo)return e;const o=Pn(e),{version:i,file:a,names:h,sourceRoot:p,sources:d,sourcesContent:y}=o;this.version=i,this.file=a,this.names=h||[],this.sourceRoot=p,this.sources=d,this.sourcesContent=y,this.ignoreList=o.ignoreList||o.x_google_ignoreList||void 0;const T=pi(n,p);this.resolvedSources=d.map(T);const{mappings:S}=o;if(typeof S=="string")this._encoded=S,this._decoded=void 0;else if(Array.isArray(S))this._encoded=void 0,this._decoded=mi(S,s);else throw o.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(o)}`);this._decodedMemo=m1(),this._bySources=void 0,this._bySourceMemos=void 0}};function rh(e){return e}function bi(e){var n,s;return(s=(n=e)._encoded)!=null?s:n._encoded=encode(e._decoded)}function gt(e){var n;return(n=e)._decoded||(n._decoded=decode(e._encoded))}function oh(e,n,s){const o=gt(e);if(n>=o.length)return null;const i=o[n],a=en(i,e._decodedMemo,n,s,Zt);return a===-1?null:i[a]}function ih(e,n){let{line:s,column:o,bias:i}=n;if(s--,s<0)throw new Error(k1);if(o<0)throw new Error(g1);const a=gt(e);if(s>=a.length)return Kt(null,null,null,null);const h=a[s],p=en(h,e._decodedMemo,s,o,i||Zt);if(p===-1)return Kt(null,null,null,null);const d=h[p];if(d.length===1)return Kt(null,null,null,null);const{names:y,resolvedSources:T}=e;return Kt(T[d[An]],d[Nn]+1,d[Cn],d.length===5?y[d[a1]]:null)}function ah(e,n){const{source:s,line:o,column:i,bias:a}=n;return y1(e,s,o,i,a||Zt,!1)}function ch(e,n){const{source:s,line:o,column:i,bias:a}=n;return y1(e,s,o,i,a||Qt,!0)}function lh(e,n){const s=gt(e),{names:o,resolvedSources:i}=e;for(let a=0;a<s.length;a++){const h=s[a];for(let p=0;p<h.length;p++){const d=h[p],y=a+1,T=d[0];let S=null,x=null,E=null,M=null;d.length!==1&&(S=i[d[1]],x=d[2]+1,E=d[3]),d.length===5&&(M=o[d[4]]),n({generatedLine:y,generatedColumn:T,source:S,originalLine:x,originalColumn:E,name:M})}}}function _1(e,n){const{sources:s,resolvedSources:o}=e;let i=s.indexOf(n);return i===-1&&(i=o.indexOf(n)),i}function uh(e,n){const{sourcesContent:s}=e;if(s==null)return null;const o=_1(e,n);return o===-1?null:s[o]}function hh(e,n){const{ignoreList:s}=e;if(s==null)return!1;const o=_1(e,n);return o===-1?!1:s.includes(o)}function wi(e,n){const s=new Ln(Dn(e,[]),n);return s._decoded=e.mappings,s}function fh(e){return Dn(e,gt(e))}function ph(e){return Dn(e,bi(e))}function Dn(e,n){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:n,ignoreList:e.ignoreList||e.x_google_ignoreList}}function Kt(e,n,s,o){return{source:e,line:n,column:s,name:o}}function Lt(e,n){return{line:e,column:n}}function en(e,n,s,o,i){let a=yi(e,o,n,s);return lt?a=(i===Qt?f1:p1)(e,o,a):i===Qt&&a++,a===-1||a===e.length?-1:a}function Ti(e,n,s,o,i){let a=en(e,n,s,o,Zt);if(!lt&&i===Qt&&a++,a===-1||a===e.length)return[];const h=lt?o:e[a][Ye];lt||(a=p1(e,h,a));const p=f1(e,h,a),d=[];for(;a<=p;a++){const y=e[a];d.push(Lt(y[c1]+1,y[l1]))}return d}function y1(e,n,s,o,i,a){var h,p;if(s--,s<0)throw new Error(k1);if(o<0)throw new Error(g1);const{sources:d,resolvedSources:y}=e;let T=d.indexOf(n);if(T===-1&&(T=y.indexOf(n)),T===-1)return a?[]:Lt(null,null);const S=(h=e)._bySourceMemos||(h._bySourceMemos=d.map(m1)),E=((p=e)._bySources||(p._bySources=gi(gt(e),S)))[T][s];if(E==null)return a?[]:Lt(null,null);const M=S[T];if(a)return Ti(E,M,s,o,i);const Z=en(E,M,s,o,i);if(Z===-1)return Lt(null,null);const se=E[Z];return Lt(se[c1]+1,se[l1])}var On=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function mh(e){return e}function x1(e,n){return e._indexes[n]}function _t(e,n){const s=x1(e,n);if(s!==void 0)return s;const{array:o,_indexes:i}=e,a=o.push(n);return i[n]=a-1}function Si(e,n){const s=x1(e,n);if(s===void 0)return;const{array:o,_indexes:i}=e;for(let a=s+1;a<o.length;a++){const h=o[a];o[a-1]=h,i[h]--}i[n]=void 0,o.pop()}var I1=0,b1=1,w1=2,T1=3,S1=4,E1=-1,v1=class{constructor({file:e,sourceRoot:n}={}){this._names=new On,this._sources=new On,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=n,this._ignoreList=new On}};function dh(e){return e}function kh(e,n,s,o,i,a,h,p){return tn(!1,e,n,s,o,i,a,h,p)}function gh(e,n){return N1(!1,e,n)}var Fn=(e,n,s,o,i,a,h,p)=>tn(!0,e,n,s,o,i,a,h,p),_h=(e,n)=>N1(!0,e,n);function yh(e,n,s){const{_sources:o,_sourcesContent:i}=e,a=_t(o,n);i[a]=s}function xh(e,n,s=!0){const{_sources:o,_sourcesContent:i,_ignoreList:a}=e,h=_t(o,n);h===i.length&&(i[h]=null),s?_t(a,h):Si(a,h)}function Ei(e){const{_mappings:n,_sources:s,_sourcesContent:o,_names:i,_ignoreList:a}=e;return Ci(n),{version:3,file:e.file||void 0,names:i.array,sourceRoot:e.sourceRoot||void 0,sources:s.array,sourcesContent:o,mappings:n,ignoreList:a.array}}function vi(e){const n=Ei(e);return Object.assign({},n,{mappings:hi(n.mappings)})}function Ih(e){const n=new TraceMap(e),s=new v1({file:n.file,sourceRoot:n.sourceRoot});return jn(s._names,n.names),jn(s._sources,n.sources),s._sourcesContent=n.sourcesContent||n.sources.map(()=>null),s._mappings=decodedMappings(n),n.ignoreList&&jn(s._ignoreList,n.ignoreList),s}function bh(e){const n=[],{_mappings:s,_sources:o,_names:i}=e;for(let a=0;a<s.length;a++){const h=s[a];for(let p=0;p<h.length;p++){const d=h[p],y={line:a+1,column:d[I1]};let T,S,x;d.length!==1&&(T=o.array[d[b1]],S={line:d[w1]+1,column:d[T1]},d.length===5&&(x=i.array[d[S1]])),n.push({generated:y,source:T,original:S,name:x})}}return n}function tn(e,n,s,o,i,a,h,p,d){const{_mappings:y,_sources:T,_sourcesContent:S,_names:x}=n,E=Ai(y,s),M=Ni(E,o);if(!i)return e&&Pi(E,M)?void 0:A1(E,M,[o]);const Z=_t(T,i),se=p?_t(x,p):E1;if(Z===S.length&&(S[Z]=d!=null?d:null),!(e&&Ri(E,M,Z,a,h,se)))return A1(E,M,p?[o,Z,a,h,se]:[o,Z,a,h])}function wh(e){}function Ai(e,n){for(let s=e.length;s<=n;s++)e[s]=[];return e[n]}function Ni(e,n){let s=e.length;for(let o=s-1;o>=0;s=o--){const i=e[o];if(n>=i[I1])break}return s}function A1(e,n,s){for(let o=e.length;o>n;o--)e[o]=e[o-1];e[n]=s}function Ci(e){const{length:n}=e;let s=n;for(let o=s-1;o>=0&&!(e[o].length>0);s=o,o--);s<n&&(e.length=s)}function jn(e,n){for(let s=0;s<n.length;s++)_t(e,n[s])}function Pi(e,n){return n===0?!0:e[n-1].length===1}function Ri(e,n,s,o,i,a){if(n===0)return!1;const h=e[n-1];return h.length===1?!1:s===h[b1]&&o===h[w1]&&i===h[T1]&&a===(h.length===5?h[S1]:E1)}function N1(e,n,s){const{generated:o,source:i,original:a,name:h,content:p}=s;return i?tn(e,n,o.line-1,o.column,i,a.line-1,a.column,h,p):tn(e,n,o.line-1,o.column,null,null,null,null,null)}function Li({code:e,mappings:n},s,o,i,a){const h=Di(i,a),p=new v1({file:o.compiledFilename});let d=0,y=n[0];for(;y===void 0&&d<n.length-1;)d++,y=n[d];let T=0,S=0;y!==S&&Fn(p,T,0,s,T,0);for(let se=0;se<e.length;se++){if(se===y){const he=y-S,me=h[d];for(Fn(p,T,he,s,T,me);(y===se||y===void 0)&&d<n.length-1;)d++,y=n[d]}e.charCodeAt(se)===u.lineFeed&&(T++,S=se+1,y!==S&&Fn(p,T,0,s,T,0))}const Z=vi(p),{sourceRoot:x,sourcesContent:E}=Z;return Dr(Z,["sourceRoot","sourcesContent"])}function Di(e,n){const s=new Array(n.length);let o=0,i=n[o].start,a=0;for(let h=0;h<e.length;h++)h===i&&(s[o]=i-a,o++,i=n[o].start),e.charCodeAt(h)===u.lineFeed&&(a=h+1);return s}const Oi={require:`
|
|
8
|
+
import {createRequire as CREATE_REQUIRE_NAME} from "module";
|
|
9
|
+
const require = CREATE_REQUIRE_NAME(import.meta.url);
|
|
10
|
+
`,interopRequireWildcard:`
|
|
11
|
+
function interopRequireWildcard(obj) {
|
|
12
|
+
if (obj && obj.__esModule) {
|
|
13
|
+
return obj;
|
|
14
|
+
} else {
|
|
15
|
+
var newObj = {};
|
|
16
|
+
if (obj != null) {
|
|
17
|
+
for (var key in obj) {
|
|
18
|
+
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
19
|
+
newObj[key] = obj[key];
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
newObj.default = obj;
|
|
24
|
+
return newObj;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
`,interopRequireDefault:`
|
|
28
|
+
function interopRequireDefault(obj) {
|
|
29
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
30
|
+
}
|
|
31
|
+
`,createNamedExportFrom:`
|
|
32
|
+
function createNamedExportFrom(obj, localName, importedName) {
|
|
33
|
+
Object.defineProperty(exports, localName, {enumerable: true, configurable: true, get: () => obj[importedName]});
|
|
34
|
+
}
|
|
35
|
+
`,createStarExport:`
|
|
36
|
+
function createStarExport(obj) {
|
|
37
|
+
Object.keys(obj)
|
|
38
|
+
.filter((key) => key !== "default" && key !== "__esModule")
|
|
39
|
+
.forEach((key) => {
|
|
40
|
+
if (exports.hasOwnProperty(key)) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
`,nullishCoalesce:`
|
|
47
|
+
function nullishCoalesce(lhs, rhsFn) {
|
|
48
|
+
if (lhs != null) {
|
|
49
|
+
return lhs;
|
|
50
|
+
} else {
|
|
51
|
+
return rhsFn();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
`,asyncNullishCoalesce:`
|
|
55
|
+
async function asyncNullishCoalesce(lhs, rhsFn) {
|
|
56
|
+
if (lhs != null) {
|
|
57
|
+
return lhs;
|
|
58
|
+
} else {
|
|
59
|
+
return await rhsFn();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
`,optionalChain:`
|
|
63
|
+
function optionalChain(ops) {
|
|
64
|
+
let lastAccessLHS = undefined;
|
|
65
|
+
let value = ops[0];
|
|
66
|
+
let i = 1;
|
|
67
|
+
while (i < ops.length) {
|
|
68
|
+
const op = ops[i];
|
|
69
|
+
const fn = ops[i + 1];
|
|
70
|
+
i += 2;
|
|
71
|
+
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
|
|
72
|
+
return undefined;
|
|
73
|
+
}
|
|
74
|
+
if (op === 'access' || op === 'optionalAccess') {
|
|
75
|
+
lastAccessLHS = value;
|
|
76
|
+
value = fn(value);
|
|
77
|
+
} else if (op === 'call' || op === 'optionalCall') {
|
|
78
|
+
value = fn((...args) => value.call(lastAccessLHS, ...args));
|
|
79
|
+
lastAccessLHS = undefined;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
`,asyncOptionalChain:`
|
|
85
|
+
async function asyncOptionalChain(ops) {
|
|
86
|
+
let lastAccessLHS = undefined;
|
|
87
|
+
let value = ops[0];
|
|
88
|
+
let i = 1;
|
|
89
|
+
while (i < ops.length) {
|
|
90
|
+
const op = ops[i];
|
|
91
|
+
const fn = ops[i + 1];
|
|
92
|
+
i += 2;
|
|
93
|
+
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
|
|
94
|
+
return undefined;
|
|
95
|
+
}
|
|
96
|
+
if (op === 'access' || op === 'optionalAccess') {
|
|
97
|
+
lastAccessLHS = value;
|
|
98
|
+
value = await fn(value);
|
|
99
|
+
} else if (op === 'call' || op === 'optionalCall') {
|
|
100
|
+
value = await fn((...args) => value.call(lastAccessLHS, ...args));
|
|
101
|
+
lastAccessLHS = undefined;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return value;
|
|
105
|
+
}
|
|
106
|
+
`,optionalChainDelete:`
|
|
107
|
+
function optionalChainDelete(ops) {
|
|
108
|
+
const result = OPTIONAL_CHAIN_NAME(ops);
|
|
109
|
+
return result == null ? true : result;
|
|
110
|
+
}
|
|
111
|
+
`,asyncOptionalChainDelete:`
|
|
112
|
+
async function asyncOptionalChainDelete(ops) {
|
|
113
|
+
const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);
|
|
114
|
+
return result == null ? true : result;
|
|
115
|
+
}
|
|
116
|
+
`};class nn{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(n){this.nameManager=n,nn.prototype.__init.call(this),nn.prototype.__init2.call(this)}getHelperName(n){let s=this.helperNames[n];return s||(s=this.nameManager.claimFreeName(`_${n}`),this.helperNames[n]=s,s)}emitHelpers(){let n="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(const[s,o]of Object.entries(Oi)){const i=this.helperNames[s];let a=o;s==="optionalChainDelete"?a=a.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):s==="asyncOptionalChainDelete"?a=a.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):s==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),a=a.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),i&&(n+=" ",n+=a.replace(s,i).replace(/\s+/g," ").trim())}return n}}function C1(e,n,s){Fi(e,s)&&ji(e,n,s)}function Fi(e,n){for(const s of e.tokens)if(s.type===t.name&&!s.isType&&_(s)&&n.has(e.identifierNameForToken(s)))return!0;return!1}function ji(e,n,s){const o=[];let i=n.length-1;for(let a=e.tokens.length-1;;a--){for(;o.length>0&&o[o.length-1].startTokenIndex===a+1;)o.pop();for(;i>=0&&n[i].endTokenIndex===a+1;)o.push(n[i]),i--;if(a<0)break;const h=e.tokens[a],p=e.identifierNameForToken(h);if(o.length>1&&!h.isType&&h.type===t.name&&s.has(p)){if(N(h))P1(o[o.length-1],e,p);else if(P(h)){let d=o.length-1;for(;d>0&&!o[d].isFunctionScope;)d--;if(d<0)throw new Error("Did not find parent function scope.");P1(o[d],e,p)}}}if(o.length>0)throw new Error("Expected empty scope stack after processing file.")}function P1(e,n,s){for(let o=e.startTokenIndex;o<e.endTokenIndex;o++){const i=n.tokens[o];(i.type===t.name||i.type===t.jsxName)&&n.identifierNameForToken(i)===s&&(i.shadowsGlobal=!0)}}function Mi(e,n){const s=[];for(const o of n)o.type===t.name&&s.push(e.slice(o.start,o.end));return s}class Mn{__init(){this.usedNames=new Set}constructor(n,s){Mn.prototype.__init.call(this),this.usedNames=new Set(Mi(n,s))}claimFreeName(n){const s=this.findFreeName(n);return this.usedNames.add(s),s}findFreeName(n){if(!this.usedNames.has(n))return n;let s=2;for(;this.usedNames.has(n+String(s));)s++;return n+String(s)}}var ue=te(81794);const Bi=ue.union(ue.lit("jsx"),ue.lit("typescript"),ue.lit("flow"),ue.lit("imports"),ue.lit("react-hot-loader"),ue.lit("jest")),qi=ue.iface([],{compiledFilename:"string"}),$i=ue.iface([],{transforms:ue.array("Transform"),disableESTransforms:ue.opt("boolean"),jsxRuntime:ue.opt(ue.union(ue.lit("classic"),ue.lit("automatic"),ue.lit("preserve"))),production:ue.opt("boolean"),jsxImportSource:ue.opt("string"),jsxPragma:ue.opt("string"),jsxFragmentPragma:ue.opt("string"),keepUnusedImports:ue.opt("boolean"),preserveDynamicImport:ue.opt("boolean"),injectCreateRequireForImportRequire:ue.opt("boolean"),enableLegacyTypeScriptModuleInterop:ue.opt("boolean"),enableLegacyBabel5ModuleInterop:ue.opt("boolean"),sourceMapOptions:ue.opt("SourceMapOptions"),filePath:ue.opt("string")});var Ui={Transform:Bi,SourceMapOptions:qi,Options:$i};const{Options:Vi}=(0,ue.createCheckers)(Ui);function Hi(e){Vi.strictCheck(e)}function R1(){f(),Re(!1)}function L1(e){f(),rn(e)}function nt(e){X(),Bn(e)}function sn(){X(),r.tokens[r.tokens.length-1].identifierRole=q.ImportDeclaration}function Bn(e){let n;r.scopeDepth===0?n=q.TopLevelDeclaration:e?n=q.BlockScopedDeclaration:n=q.FunctionScopedDeclaration,r.tokens[r.tokens.length-1].identifierRole=n}function rn(e){switch(r.type){case t._this:{const n=O(0);f(),U(n);return}case t._yield:case t.name:{r.type=t.name,nt(e);return}case t.bracketL:{f(),qn(t.bracketR,e,!0);return}case t.braceL:rs(!0,e);return;default:J()}}function qn(e,n,s=!1,o=!1,i=0){let a=!0,h=!1;const p=r.tokens.length;for(;!m(e)&&!r.error;)if(a?a=!1:(k(t.comma),r.tokens[r.tokens.length-1].contextId=i,!h&&r.tokens[p].isType&&(r.tokens[r.tokens.length-1].isType=!0,h=!0)),!(s&&c(t.comma))){if(m(e))break;if(c(t.ellipsis)){L1(n),D1(),m(t.comma),k(e);break}else Wi(o,n)}}function Wi(e,n){e&&Un([l._public,l._protected,l._private,l._readonly,l._override]),on(n),D1(),on(n,!0)}function D1(){$?ll():v&&Ka()}function on(e,n=!1){if(n||rn(e),!m(t.eq))return;const s=r.tokens.length-1;Re(),r.tokens[s].rhsEndIndex=r.tokens.length}function $n(){return c(t.name)}function Gi(){return c(t.name)||!!(r.type&t.IS_KEYWORD)||c(t.string)||c(t.num)||c(t.bigint)||c(t.decimal)}function O1(){const e=r.snapshot();return f(),(c(t.bracketL)||c(t.braceL)||c(t.star)||c(t.ellipsis)||c(t.hash)||Gi())&&!Fe()?!0:(r.restoreFromSnapshot(e),!1)}function Un(e){for(;F1(e)!==null;);}function F1(e){if(!c(t.name))return null;const n=r.contextualKeyword;if(e.indexOf(n)!==-1&&O1()){switch(n){case l._readonly:r.tokens[r.tokens.length-1].type=t._readonly;break;case l._abstract:r.tokens[r.tokens.length-1].type=t._abstract;break;case l._static:r.tokens[r.tokens.length-1].type=t._static;break;case l._public:r.tokens[r.tokens.length-1].type=t._public;break;case l._private:r.tokens[r.tokens.length-1].type=t._private;break;case l._protected:r.tokens[r.tokens.length-1].type=t._protected;break;case l._override:r.tokens[r.tokens.length-1].type=t._override;break;case l._declare:r.tokens[r.tokens.length-1].type=t._declare;break;default:break}return n}return null}function Dt(){for(X();m(t.dot);)X()}function Xi(){Dt(),!Fe()&&c(t.lessThan)&&It()}function zi(){f(),Ft()}function Yi(){f()}function Ji(){k(t._typeof),c(t._import)?j1():Dt(),!Fe()&&c(t.lessThan)&&It()}function j1(){k(t._import),k(t.parenL),k(t.string),k(t.parenR),m(t.dot)&&Dt(),c(t.lessThan)&&It()}function Qi(){m(t._const);const e=m(t._in),n=ce(l._out);m(t._const),(e||n)&&!c(t.name)?r.tokens[r.tokens.length-1].type=t.name:X(),m(t._extends)&&_e(),m(t.eq)&&_e()}function ut(){c(t.lessThan)&&an()}function an(){const e=O(0);for(c(t.lessThan)||c(t.typeParameterStart)?f():J();!m(t.greaterThan)&&!r.error;)Qi(),m(t.comma);U(e)}function Vn(e){const n=e===t.arrow;ut(),k(t.parenL),r.scopeDepth++,Zi(!1),r.scopeDepth--,(n||c(e))&&Ot(e)}function Zi(e){qn(t.parenR,e)}function cn(){m(t.comma)||ae()}function M1(){Vn(t.colon),cn()}function Ki(){const e=r.snapshot();f();const n=m(t.name)&&c(t.colon);return r.restoreFromSnapshot(e),n}function B1(){if(!(c(t.bracketL)&&Ki()))return!1;const e=O(0);return k(t.bracketL),X(),Ft(),k(t.bracketR),yt(),cn(),U(e),!0}function q1(e){m(t.question),!e&&(c(t.parenL)||c(t.lessThan))?(Vn(t.colon),cn()):(yt(),cn())}function ea(){if(c(t.parenL)||c(t.lessThan)){M1();return}if(c(t._new)){f(),c(t.parenL)||c(t.lessThan)?M1():q1(!1);return}const e=!!F1([l._readonly]);B1()||((A(l._get)||A(l._set))&&O1(),Mt(-1),q1(e))}function ta(){$1()}function $1(){for(k(t.braceL);!m(t.braceR)&&!r.error;)ea()}function na(){const e=r.snapshot(),n=sa();return r.restoreFromSnapshot(e),n}function sa(){return f(),m(t.plus)||m(t.minus)?A(l._readonly):(A(l._readonly)&&f(),!c(t.bracketL)||(f(),!$n())?!1:(f(),c(t._in)))}function ra(){X(),k(t._in),_e()}function oa(){k(t.braceL),c(t.plus)||c(t.minus)?(f(),oe(l._readonly)):ce(l._readonly),k(t.bracketL),ra(),ce(l._as)&&_e(),k(t.bracketR),c(t.plus)||c(t.minus)?(f(),k(t.question)):m(t.question),ya(),ae(),k(t.braceR)}function ia(){for(k(t.bracketL);!m(t.bracketR)&&!r.error;)aa(),m(t.comma)}function aa(){m(t.ellipsis)?_e():(_e(),m(t.question)),m(t.colon)&&_e()}function ca(){k(t.parenL),_e(),k(t.parenR)}function la(){for(ne(),ne();!c(t.backQuote)&&!r.error;)k(t.dollarBraceL),_e(),ne(),ne();f()}var st;(function(e){e[e.TSFunctionType=0]="TSFunctionType";const s=1;e[e.TSConstructorType=s]="TSConstructorType";const o=s+1;e[e.TSAbstractConstructorType=o]="TSAbstractConstructorType"})(st||(st={}));function Hn(e){e===st.TSAbstractConstructorType&&oe(l._abstract),(e===st.TSConstructorType||e===st.TSAbstractConstructorType)&&k(t._new);const n=r.inDisallowConditionalTypesContext;r.inDisallowConditionalTypesContext=!1,Vn(t.arrow),r.inDisallowConditionalTypesContext=n}function ua(){switch(r.type){case t.name:Xi();return;case t._void:case t._null:f();return;case t.string:case t.num:case t.bigint:case t.decimal:case t._true:case t._false:wt();return;case t.minus:f(),wt();return;case t._this:{Yi(),A(l._is)&&!Fe()&&zi();return}case t._typeof:Ji();return;case t._import:j1();return;case t.braceL:na()?oa():ta();return;case t.bracketL:ia();return;case t.parenL:ca();return;case t.backQuote:la();return;default:if(r.type&t.IS_KEYWORD){f(),r.tokens[r.tokens.length-1].type=t.name;return}break}J()}function ha(){for(ua();!Fe()&&m(t.bracketL);)m(t.bracketR)||(_e(),k(t.bracketR))}function fa(){if(oe(l._infer),X(),c(t._extends)){const e=r.snapshot();k(t._extends);const n=r.inDisallowConditionalTypesContext;r.inDisallowConditionalTypesContext=!0,_e(),r.inDisallowConditionalTypesContext=n,(r.error||!r.inDisallowConditionalTypesContext&&c(t.question))&&r.restoreFromSnapshot(e)}}function Wn(){if(A(l._keyof)||A(l._unique)||A(l._readonly))f(),Wn();else if(A(l._infer))fa();else{const e=r.inDisallowConditionalTypesContext;r.inDisallowConditionalTypesContext=!1,ha(),r.inDisallowConditionalTypesContext=e}}function U1(){if(m(t.bitwiseAND),Wn(),c(t.bitwiseAND))for(;m(t.bitwiseAND);)Wn()}function pa(){if(m(t.bitwiseOR),U1(),c(t.bitwiseOR))for(;m(t.bitwiseOR);)U1()}function ma(){return c(t.lessThan)?!0:c(t.parenL)&&ka()}function da(){if(c(t.name)||c(t._this))return f(),!0;if(c(t.braceL)||c(t.bracketL)){let e=1;for(f();e>0&&!r.error;)c(t.braceL)||c(t.bracketL)?e++:(c(t.braceR)||c(t.bracketR))&&e--,f();return!0}return!1}function ka(){const e=r.snapshot(),n=ga();return r.restoreFromSnapshot(e),n}function ga(){return f(),!!(c(t.parenR)||c(t.ellipsis)||da()&&(c(t.colon)||c(t.comma)||c(t.question)||c(t.eq)||c(t.parenR)&&(f(),c(t.arrow))))}function Ot(e){const n=O(0);k(e),xa()||_e(),U(n)}function _a(){c(t.colon)&&Ot(t.colon)}function yt(){c(t.colon)&&Ft()}function ya(){m(t.colon)&&_e()}function xa(){const e=r.snapshot();return A(l._asserts)?(f(),ce(l._is)?(_e(),!0):$n()||c(t._this)?(f(),ce(l._is)&&_e(),!0):(r.restoreFromSnapshot(e),!1)):$n()||c(t._this)?(f(),A(l._is)&&!Fe()?(f(),_e(),!0):(r.restoreFromSnapshot(e),!1)):!1}function Ft(){const e=O(0);k(t.colon),_e(),U(e)}function _e(){if(V1(),r.inDisallowConditionalTypesContext||Fe()||!m(t._extends))return;const e=r.inDisallowConditionalTypesContext;r.inDisallowConditionalTypesContext=!0,V1(),r.inDisallowConditionalTypesContext=e,k(t.question),_e(),k(t.colon),_e()}function Ia(){return A(l._abstract)&&re()===t._new}function V1(){if(ma()){Hn(st.TSFunctionType);return}if(c(t._new)){Hn(st.TSConstructorType);return}else if(Ia()){Hn(st.TSAbstractConstructorType);return}pa()}function ba(){const e=O(1);_e(),k(t.greaterThan),U(e),jt()}function wa(){if(m(t.jsxTagStart)){r.tokens[r.tokens.length-1].type=t.typeParameterStart;const e=O(1);for(;!c(t.greaterThan)&&!r.error;)_e(),m(t.comma);Ge(),U(e)}}function H1(){for(;!c(t.braceL)&&!r.error;)Ta(),m(t.comma)}function Ta(){Dt(),c(t.lessThan)&&It()}function Sa(){nt(!1),ut(),m(t._extends)&&H1(),$1()}function Ea(){nt(!1),ut(),k(t.eq),_e(),ae()}function va(){if(c(t.string)?wt():X(),m(t.eq)){const e=r.tokens.length-1;Re(),r.tokens[e].rhsEndIndex=r.tokens.length}}function Gn(){for(nt(!1),k(t.braceL);!m(t.braceR)&&!r.error;)va(),m(t.comma)}function Xn(){k(t.braceL),_n(t.braceR)}function zn(){nt(!1),m(t.dot)?zn():Xn()}function W1(){A(l._global)?X():c(t.string)?Ke():J(),c(t.braceL)?Xn():ae()}function Yn(){sn(),k(t.eq),Na(),ae()}function Aa(){return A(l._require)&&re()===t.parenL}function Na(){Aa()?Ca():Dt()}function Ca(){oe(l._require),k(t.parenL),c(t.string)||J(),wt(),k(t.parenR)}function Pa(){if(We())return!1;switch(r.type){case t._function:{const e=O(1);f();const n=r.start;return pt(n,!0),U(e),!0}case t._class:{const e=O(1);return mt(!0,!1),U(e),!0}case t._const:if(c(t._const)&&Me(l._enum)){const e=O(1);return k(t._const),oe(l._enum),r.tokens[r.tokens.length-1].type=t._enum,Gn(),U(e),!0}case t._var:case t._let:{const e=O(1);return gn(r.type!==t._var),U(e),!0}case t.name:{const e=O(1),n=r.contextualKeyword;let s=!1;return n===l._global?(W1(),s=!0):s=ln(n,!0),U(e),s}default:return!1}}function G1(){return ln(r.contextualKeyword,!0)}function Ra(e){switch(e){case l._declare:{const n=r.tokens.length-1;if(Pa())return r.tokens[n].type=t._declare,!0;break}case l._global:if(c(t.braceL))return Xn(),!0;break;default:return ln(e,!1)}return!1}function ln(e,n){switch(e){case l._abstract:if(xt(n)&&c(t._class))return r.tokens[r.tokens.length-1].type=t._abstract,mt(!0,!1),!0;break;case l._enum:if(xt(n)&&c(t.name))return r.tokens[r.tokens.length-1].type=t._enum,Gn(),!0;break;case l._interface:if(xt(n)&&c(t.name)){const s=O(n?2:1);return Sa(),U(s),!0}break;case l._module:if(xt(n)){if(c(t.string)){const s=O(n?2:1);return W1(),U(s),!0}else if(c(t.name)){const s=O(n?2:1);return zn(),U(s),!0}}break;case l._namespace:if(xt(n)&&c(t.name)){const s=O(n?2:1);return zn(),U(s),!0}break;case l._type:if(xt(n)&&c(t.name)){const s=O(n?2:1);return Ea(),U(s),!0}break;default:break}return!1}function xt(e){return e?(f(),!0):!We()}function La(){const e=r.snapshot();return an(),Tt(),_a(),k(t.arrow),r.error?(r.restoreFromSnapshot(e),!1):(qt(!0),!0)}function Jn(){r.type===t.bitShiftL&&(r.pos-=1,Q(t.lessThan)),It()}function It(){const e=O(0);for(k(t.lessThan);!c(t.greaterThan)&&!r.error;)_e(),m(t.comma);e?(k(t.greaterThan),U(e)):(U(e),$r(),k(t.greaterThan),r.tokens[r.tokens.length-1].isType=!0)}function X1(){if(c(t.name))switch(r.contextualKeyword){case l._abstract:case l._declare:case l._enum:case l._interface:case l._module:case l._namespace:case l._type:return!0;default:break}return!1}function Da(e,n){if(c(t.colon)&&Ot(t.colon),!c(t.braceL)&&We()){let s=r.tokens.length-1;for(;s>=0&&(r.tokens[s].start>=e||r.tokens[s].type===t._default||r.tokens[s].type===t._export);)r.tokens[s].isType=!0,s--;return}qt(!1,n)}function Oa(e,n,s){if(!Fe()&&m(t.bang)){r.tokens[r.tokens.length-1].type=t.nonNullAssertion;return}if(c(t.lessThan)||c(t.bitShiftL)){const o=r.snapshot();if(!n&&to()&&La())return;if(Jn(),!n&&m(t.parenL)?(r.tokens[r.tokens.length-1].subscriptStartIndex=e,rt()):c(t.backQuote)?ss():(r.type===t.greaterThan||r.type!==t.parenL&&r.type&t.IS_EXPRESSION_START&&!Fe())&&J(),r.error)r.restoreFromSnapshot(o);else return}else!n&&c(t.questionDot)&&re()===t.lessThan&&(f(),r.tokens[e].isOptionalChainStart=!0,r.tokens[r.tokens.length-1].subscriptStartIndex=e,It(),k(t.parenL),rt());Kn(e,n,s)}function Fa(){if(m(t._import))return A(l._type)&&re()!==t.eq&&oe(l._type),Yn(),!0;if(m(t.eq))return Pe(),ae(),!0;if(ce(l._as))return oe(l._namespace),X(),ae(),!0;if(A(l._type)){const e=re();(e===t.braceL||e===t.star)&&f()}return!1}function ja(){if(X(),c(t.comma)||c(t.braceR)){r.tokens[r.tokens.length-1].identifierRole=q.ImportDeclaration;return}if(X(),c(t.comma)||c(t.braceR)){r.tokens[r.tokens.length-1].identifierRole=q.ImportDeclaration,r.tokens[r.tokens.length-2].isType=!0,r.tokens[r.tokens.length-1].isType=!0;return}if(X(),c(t.comma)||c(t.braceR)){r.tokens[r.tokens.length-3].identifierRole=q.ImportAccess,r.tokens[r.tokens.length-1].identifierRole=q.ImportDeclaration;return}X(),r.tokens[r.tokens.length-3].identifierRole=q.ImportAccess,r.tokens[r.tokens.length-1].identifierRole=q.ImportDeclaration,r.tokens[r.tokens.length-4].isType=!0,r.tokens[r.tokens.length-3].isType=!0,r.tokens[r.tokens.length-2].isType=!0,r.tokens[r.tokens.length-1].isType=!0}function Ma(){if(X(),c(t.comma)||c(t.braceR)){r.tokens[r.tokens.length-1].identifierRole=q.ExportAccess;return}if(X(),c(t.comma)||c(t.braceR)){r.tokens[r.tokens.length-1].identifierRole=q.ExportAccess,r.tokens[r.tokens.length-2].isType=!0,r.tokens[r.tokens.length-1].isType=!0;return}if(X(),c(t.comma)||c(t.braceR)){r.tokens[r.tokens.length-3].identifierRole=q.ExportAccess;return}X(),r.tokens[r.tokens.length-3].identifierRole=q.ExportAccess,r.tokens[r.tokens.length-4].isType=!0,r.tokens[r.tokens.length-3].isType=!0,r.tokens[r.tokens.length-2].isType=!0,r.tokens[r.tokens.length-1].isType=!0}function Ba(){if(A(l._abstract)&&re()===t._class)return r.type=t._abstract,f(),mt(!0,!0),!0;if(A(l._interface)){const e=O(2);return ln(l._interface,!0),U(e),!0}return!1}function qa(){if(r.type===t._const){const e=et();if(e.type===t.name&&e.contextualKeyword===l._enum)return k(t._const),oe(l._enum),r.tokens[r.tokens.length-1].type=t._enum,Gn(),!0}return!1}function $a(e){const n=r.tokens.length;Un([l._abstract,l._readonly,l._declare,l._static,l._override]);const s=r.tokens.length;if(B1()){const i=e?n-1:n;for(let a=i;a<s;a++)r.tokens[a].isType=!0;return!0}return!1}function Ua(e){Ra(e)||ae()}function Va(){const e=ce(l._declare);e&&(r.tokens[r.tokens.length-1].type=t._declare);let n=!1;if(c(t.name))if(e){const s=O(2);n=G1(),U(s)}else n=G1();if(!n)if(e){const s=O(2);He(!0),U(s)}else He(!0)}function Ha(e){if(e&&(c(t.lessThan)||c(t.bitShiftL))&&Jn(),ce(l._implements)){r.tokens[r.tokens.length-1].type=t._implements;const n=O(1);H1(),U(n)}}function Wa(){ut()}function Ga(){ut()}function Xa(){const e=O(0);Fe()||m(t.bang),yt(),U(e)}function za(){c(t.colon)&&Ft()}function Ya(e,n){return R?Ja(e,n):Qa(e,n)}function Ja(e,n){if(!c(t.lessThan))return Qe(e,n);const s=r.snapshot();let o=Qe(e,n);if(r.error)r.restoreFromSnapshot(s);else return o;return r.type=t.typeParameterStart,an(),o=Qe(e,n),o||J(),o}function Qa(e,n){if(!c(t.lessThan))return Qe(e,n);const s=r.snapshot();an();const o=Qe(e,n);if(o||J(),r.error)r.restoreFromSnapshot(s);else return o;return Qe(e,n)}function Za(){if(c(t.colon)){const e=r.snapshot();Ot(t.colon),we()&&J(),c(t.arrow)||J(),r.error&&r.restoreFromSnapshot(e)}return m(t.arrow)}function Ka(){const e=O(0);m(t.question),yt(),U(e)}function ec(){(c(t.lessThan)||c(t.bitShiftL))&&Jn(),go()}function tc(){let e=!1,n=!1;for(;;){if(r.pos>=b.length){J("Unterminated JSX contents");return}const s=b.charCodeAt(r.pos);if(s===u.lessThan||s===u.leftCurlyBrace){if(r.pos===r.start){if(s===u.lessThan){r.pos++,Q(t.jsxTagStart);return}Ur(s);return}Q(e&&!n?t.jsxEmptyText:t.jsxText);return}s===u.lineFeed?e=!0:s!==u.space&&s!==u.carriageReturn&&s!==u.tab&&(n=!0),r.pos++}}function nc(e){for(r.pos++;;){if(r.pos>=b.length){J("Unterminated string constant");return}if(b.charCodeAt(r.pos)===e){r.pos++;break}r.pos++}Q(t.string)}function sc(){let e;do{if(r.pos>b.length){J("Unexpectedly reached the end of input.");return}e=b.charCodeAt(++r.pos)}while(le[e]||e===u.dash);Q(t.jsxName)}function Qn(){Ge()}function z1(e){if(Qn(),!m(t.colon)){r.tokens[r.tokens.length-1].identifierRole=e;return}Qn()}function Y1(){const e=r.tokens.length;z1(q.Access);let n=!1;for(;c(t.dot);)n=!0,Ge(),Qn();if(!n){const s=r.tokens[e],o=b.charCodeAt(s.start);o>=u.lowercaseA&&o<=u.lowercaseZ&&(s.identifierRole=null)}}function rc(){switch(r.type){case t.braceL:f(),Pe(),Ge();return;case t.jsxTagStart:Q1(),Ge();return;case t.string:Ge();return;default:J("JSX value should be either an expression or a quoted JSX text")}}function oc(){k(t.ellipsis),Pe()}function ic(e){if(c(t.jsxTagEnd))return!1;Y1(),v&&wa();let n=!1;for(;!c(t.slash)&&!c(t.jsxTagEnd)&&!r.error;){if(m(t.braceL)){n=!0,k(t.ellipsis),Re(),Ge();continue}n&&r.end-r.start===3&&b.charCodeAt(r.start)===u.lowercaseK&&b.charCodeAt(r.start+1)===u.lowercaseE&&b.charCodeAt(r.start+2)===u.lowercaseY&&(r.tokens[e].jsxRole=qe.KeyAfterPropSpread),z1(q.ObjectKey),c(t.eq)&&(Ge(),rc())}const s=c(t.slash);return s&&Ge(),s}function ac(){c(t.jsxTagEnd)||Y1()}function J1(){const e=r.tokens.length-1;r.tokens[e].jsxRole=qe.NoChildren;let n=0;if(!ic(e))for(bt();;)switch(r.type){case t.jsxTagStart:if(Ge(),c(t.slash)){Ge(),ac(),r.tokens[e].jsxRole!==qe.KeyAfterPropSpread&&(n===1?r.tokens[e].jsxRole=qe.OneChild:n>1&&(r.tokens[e].jsxRole=qe.StaticChildren));return}n++,J1(),bt();break;case t.jsxText:n++,bt();break;case t.jsxEmptyText:bt();break;case t.braceL:f(),c(t.ellipsis)?(oc(),bt(),n+=2):(c(t.braceR)||(n++,Pe()),bt());break;default:J();return}}function Q1(){Ge(),J1()}function Ge(){r.tokens.push(new z),Br(),r.start=r.pos;const e=b.charCodeAt(r.pos);if(it[e])sc();else if(e===u.quotationMark||e===u.apostrophe)nc(e);else switch(++r.pos,e){case u.greaterThan:Q(t.jsxTagEnd);break;case u.lessThan:Q(t.jsxTagStart);break;case u.slash:Q(t.slash);break;case u.equalsTo:Q(t.eq);break;case u.leftCurlyBrace:Q(t.braceL);break;case u.dot:Q(t.dot);break;case u.colon:Q(t.colon);break;default:J()}}function bt(){r.tokens.push(new z),r.start=r.pos,tc()}function cc(e){if(c(t.question)){const n=re();if(n===t.colon||n===t.comma||n===t.parenR)return}Z1(e)}function lc(){Te(t.question),c(t.colon)&&(v?Ft():$&&ft())}class uc{constructor(n){this.stop=n}}function Pe(e=!1){if(Re(e),c(t.comma))for(;m(t.comma);)Re(e)}function Re(e=!1,n=!1){return v?Ya(e,n):$?dl(e,n):Qe(e,n)}function Qe(e,n){if(c(t._yield))return Ec(),!1;(c(t.parenL)||c(t.name)||c(t._yield))&&(r.potentialArrowAt=r.start);const s=hc(e);return n&&ns(),r.type&t.IS_ASSIGN?(f(),Re(e),!1):s}function hc(e){return pc(e)?!0:(fc(e),!1)}function fc(e){v||$?cc(e):Z1(e)}function Z1(e){m(t.question)&&(Re(),k(t.colon),Re(e))}function pc(e){const n=r.tokens.length;return jt()?!0:(un(n,-1,e),!1)}function un(e,n,s){if(v&&(t._in&t.PRECEDENCE_MASK)>n&&!Fe()&&(ce(l._as)||ce(l._satisfies))){const i=O(1);_e(),U(i),$r(),un(e,n,s);return}const o=r.type&t.PRECEDENCE_MASK;if(o>0&&(!s||!c(t._in))&&o>n){const i=r.type;f(),i===t.nullishCoalescing&&(r.tokens[r.tokens.length-1].nullishStartIndex=e);const a=r.tokens.length;jt(),un(a,i&t.IS_RIGHT_ASSOCIATIVE?o-1:o,s),i===t.nullishCoalescing&&(r.tokens[e].numNullishCoalesceStarts++,r.tokens[r.tokens.length-1].numNullishCoalesceEnds++),un(e,n,s)}}function jt(){if(v&&!R&&m(t.lessThan))return ba(),!1;if(A(l._module)&&Fr()===u.leftCurlyBrace&&!Et())return vc(),!1;if(r.type&t.IS_PREFIX)return f(),jt(),!1;if(K1())return!0;for(;r.type&t.IS_POSTFIX&&!we();)r.type===t.preIncDec&&(r.type=t.postIncDec),f();return!1}function K1(){const e=r.tokens.length;return Ke()?!0:(Zn(e),r.tokens.length>e&&r.tokens[e].isOptionalChainStart&&(r.tokens[r.tokens.length-1].isOptionalChainEnd=!0),!1)}function Zn(e,n=!1){$?gl(e,n):eo(e,n)}function eo(e,n=!1){const s=new uc(!1);do mc(e,n,s);while(!s.stop&&!r.error)}function mc(e,n,s){v?Oa(e,n,s):$?Qc(e,n,s):Kn(e,n,s)}function Kn(e,n,s){if(!n&&m(t.doubleColon))es(),s.stop=!0,Zn(e,n);else if(c(t.questionDot)){if(r.tokens[e].isOptionalChainStart=!0,n&&re()===t.parenL){s.stop=!0;return}f(),r.tokens[r.tokens.length-1].subscriptStartIndex=e,m(t.bracketL)?(Pe(),k(t.bracketR)):m(t.parenL)?rt():hn()}else if(m(t.dot))r.tokens[r.tokens.length-1].subscriptStartIndex=e,hn();else if(m(t.bracketL))r.tokens[r.tokens.length-1].subscriptStartIndex=e,Pe(),k(t.bracketR);else if(!n&&c(t.parenL))if(to()){const o=r.snapshot(),i=r.tokens.length;f(),r.tokens[r.tokens.length-1].subscriptStartIndex=e;const a=V();r.tokens[r.tokens.length-1].contextId=a,rt(),r.tokens[r.tokens.length-1].contextId=a,dc()&&(r.restoreFromSnapshot(o),s.stop=!0,r.scopeDepth++,Tt(),kc(i))}else{f(),r.tokens[r.tokens.length-1].subscriptStartIndex=e;const o=V();r.tokens[r.tokens.length-1].contextId=o,rt(),r.tokens[r.tokens.length-1].contextId=o}else c(t.backQuote)?ss():s.stop=!0}function to(){return r.tokens[r.tokens.length-1].contextualKeyword===l._async&&!we()}function rt(){let e=!0;for(;!m(t.parenR)&&!r.error;){if(e)e=!1;else if(k(t.comma),m(t.parenR))break;oo(!1)}}function dc(){return c(t.colon)||c(t.arrow)}function kc(e){v?za():$&&ml(),k(t.arrow),Bt(e)}function es(){const e=r.tokens.length;Ke(),Zn(e,!0)}function Ke(){if(m(t.modulo))return X(),!1;if(c(t.jsxText)||c(t.jsxEmptyText))return wt(),!1;if(c(t.lessThan)&&R)return r.type=t.jsxTagStart,Q1(),f(),!1;const e=r.potentialArrowAt===r.start;switch(r.type){case t.slash:case t.assign:xe();case t._super:case t._this:case t.regexp:case t.num:case t.bigint:case t.decimal:case t.string:case t._null:case t._true:case t._false:return f(),!1;case t._import:return f(),c(t.dot)&&(r.tokens[r.tokens.length-1].type=t.name,f(),X()),!1;case t.name:{const n=r.tokens.length,s=r.start,o=r.contextualKeyword;return X(),o===l._await?(Sc(),!1):o===l._async&&c(t._function)&&!we()?(f(),pt(s,!1),!1):e&&o===l._async&&!we()&&c(t.name)?(r.scopeDepth++,nt(!1),k(t.arrow),Bt(n),!0):c(t._do)&&!we()?(f(),ot(),!1):e&&!we()&&c(t.arrow)?(r.scopeDepth++,Bn(!1),k(t.arrow),Bt(n),!0):(r.tokens[r.tokens.length-1].identifierRole=q.Access,!1)}case t._do:return f(),ot(),!1;case t.parenL:return no(e);case t.bracketL:return f(),ro(t.bracketR,!0),!1;case t.braceL:return rs(!1,!1),!1;case t._function:return gc(),!1;case t.at:ks();case t._class:return mt(!1),!1;case t._new:return yc(),!1;case t.backQuote:return ss(),!1;case t.doubleColon:return f(),es(),!1;case t.hash:{const n=Fr();return it[n]||n===u.backslash?hn():f(),!1}default:return J(),!1}}function hn(){m(t.hash),X()}function gc(){const e=r.start;X(),m(t.dot)&&X(),pt(e,!1)}function wt(){f()}function fn(){k(t.parenL),Pe(),k(t.parenR)}function no(e){const n=r.snapshot(),s=r.tokens.length;k(t.parenL);let o=!0;for(;!c(t.parenR)&&!r.error;){if(o)o=!1;else if(k(t.comma),c(t.parenR))break;if(c(t.ellipsis)){L1(!1),ns();break}else Re(!1,!0)}return k(t.parenR),e&&_c()&&ts()?(r.restoreFromSnapshot(n),r.scopeDepth++,Tt(),ts(),Bt(s),r.error?(r.restoreFromSnapshot(n),no(!1),!1):!0):!1}function _c(){return c(t.colon)||!we()}function ts(){return v?Za():$?kl():m(t.arrow)}function ns(){(v||$)&&lc()}function yc(){if(k(t._new),m(t.dot)){X();return}xc(),$&&Zc(),m(t.parenL)&&ro(t.parenR)}function xc(){es(),m(t.questionDot)}function ss(){for(ne(),ne();!c(t.backQuote)&&!r.error;)k(t.dollarBraceL),Pe(),ne(),ne();f()}function rs(e,n){const s=V();let o=!0;for(f(),r.tokens[r.tokens.length-1].contextId=s;!m(t.braceR)&&!r.error;){if(o)o=!1;else if(k(t.comma),m(t.braceR))break;let i=!1;if(c(t.ellipsis)){const a=r.tokens.length;if(R1(),e&&(r.tokens.length===a+2&&Bn(n),m(t.braceR)))break;continue}e||(i=m(t.star)),!e&&A(l._async)?(i&&J(),X(),c(t.colon)||c(t.parenL)||c(t.braceR)||c(t.eq)||c(t.comma)||(c(t.star)&&(f(),i=!0),Mt(s))):Mt(s),Tc(e,n,s)}r.tokens[r.tokens.length-1].contextId=s}function Ic(e){return!e&&(c(t.string)||c(t.num)||c(t.bracketL)||c(t.name)||!!(r.type&t.IS_KEYWORD))}function bc(e,n){const s=r.start;return c(t.parenL)?(e&&J(),os(s,!1),!0):Ic(e)?(Mt(n),os(s,!1),!0):!1}function wc(e,n){if(m(t.colon)){e?on(n):Re(!1);return}let s;e?r.scopeDepth===0?s=q.ObjectShorthandTopLevelDeclaration:n?s=q.ObjectShorthandBlockScopedDeclaration:s=q.ObjectShorthandFunctionScopedDeclaration:s=q.ObjectShorthand,r.tokens[r.tokens.length-1].identifierRole=s,on(n,!0)}function Tc(e,n,s){v?Wa():$&&cl(),bc(e,s)||wc(e,n)}function Mt(e){$&&ds(),m(t.bracketL)?(r.tokens[r.tokens.length-1].contextId=e,Re(),k(t.bracketR),r.tokens[r.tokens.length-1].contextId=e):(c(t.num)||c(t.string)||c(t.bigint)||c(t.decimal)?Ke():hn(),r.tokens[r.tokens.length-1].identifierRole=q.ObjectKey,r.tokens[r.tokens.length-1].contextId=e)}function os(e,n){const s=V();r.scopeDepth++;const o=r.tokens.length;Tt(n,s),so(e,s);const a=r.tokens.length;r.scopes.push(new B(o,a,!0)),r.scopeDepth--}function Bt(e){qt(!0);const n=r.tokens.length;r.scopes.push(new B(e,n,!0)),r.scopeDepth--}function so(e,n=0){v?Da(e,n):$?Jc(n):qt(!1,n)}function qt(e,n=0){e&&!c(t.braceL)?Re():ot(!0,n)}function ro(e,n=!1){let s=!0;for(;!m(e)&&!r.error;){if(s)s=!1;else if(k(t.comma),m(e))break;oo(n)}}function oo(e){e&&c(t.comma)||(c(t.ellipsis)?(R1(),ns()):c(t.question)?f():Re(!1,!0))}function X(){f(),r.tokens[r.tokens.length-1].type=t.name}function Sc(){jt()}function Ec(){f(),!c(t.semi)&&!we()&&(m(t.star),Re())}function vc(){oe(l._module),k(t.braceL),_n(t.braceR)}function Ac(e){return(e.type===t.name||!!(e.type&t.IS_KEYWORD))&&e.contextualKeyword!==l._from}function Ze(e){const n=O(0);k(e||t.colon),$e(),U(n)}function io(){k(t.modulo),oe(l._checks),m(t.parenL)&&(Pe(),k(t.parenR))}function is(){const e=O(0);k(t.colon),c(t.modulo)?io():($e(),c(t.modulo)&&io()),U(e)}function Nc(){f(),cs(!0)}function Cc(){f(),X(),c(t.lessThan)&&Je(),k(t.parenL),ms(),k(t.parenR),is(),ae()}function as(){c(t._class)?Nc():c(t._function)?Cc():c(t._var)?Pc():ce(l._module)?m(t.dot)?Dc():Rc():A(l._type)?Oc():A(l._opaque)?Fc():A(l._interface)?jc():c(t._export)?Lc():J()}function Pc(){f(),fo(),ae()}function Rc(){for(c(t.string)?Ke():X(),k(t.braceL);!c(t.braceR)&&!r.error;)c(t._import)?(f(),So()):J();k(t.braceR)}function Lc(){k(t._export),m(t._default)?c(t._function)||c(t._class)?as():($e(),ae()):c(t._var)||c(t._function)||c(t._class)||A(l._opaque)?as():c(t.star)||c(t.braceL)||A(l._interface)||A(l._type)||A(l._opaque)?wo():J()}function Dc(){oe(l._exports),ft(),ae()}function Oc(){f(),us()}function Fc(){f(),hs(!0)}function jc(){f(),cs()}function cs(e=!1){if(mn(),c(t.lessThan)&&Je(),m(t._extends))do pn();while(!e&&m(t.comma));if(A(l._mixins)){f();do pn();while(m(t.comma))}if(A(l._implements)){f();do pn();while(m(t.comma))}dn(e,!1,e)}function pn(){ao(!1),c(t.lessThan)&&ht()}function ls(){cs()}function mn(){X()}function us(){mn(),c(t.lessThan)&&Je(),Ze(t.eq),ae()}function hs(e){oe(l._type),mn(),c(t.lessThan)&&Je(),c(t.colon)&&Ze(t.colon),e||Ze(t.eq),ae()}function Mc(){ds(),fo(),m(t.eq)&&$e()}function Je(){const e=O(0);c(t.lessThan)||c(t.typeParameterStart)?f():J();do Mc(),c(t.greaterThan)||k(t.comma);while(!c(t.greaterThan)&&!r.error);k(t.greaterThan),U(e)}function ht(){const e=O(0);for(k(t.lessThan);!c(t.greaterThan)&&!r.error;)$e(),c(t.greaterThan)||k(t.comma);k(t.greaterThan),U(e)}function Bc(){if(oe(l._interface),m(t._extends))do pn();while(m(t.comma));dn(!1,!1,!1)}function fs(){c(t.num)||c(t.string)?Ke():X()}function qc(){re()===t.colon?(fs(),Ze()):$e(),k(t.bracketR),Ze()}function $c(){fs(),k(t.bracketR),k(t.bracketR),c(t.lessThan)||c(t.parenL)?ps():(m(t.question),Ze())}function ps(){for(c(t.lessThan)&&Je(),k(t.parenL);!c(t.parenR)&&!c(t.ellipsis)&&!r.error;)kn(),c(t.parenR)||k(t.comma);m(t.ellipsis)&&kn(),k(t.parenR),Ze()}function Uc(){ps()}function dn(e,n,s){let o;for(n&&c(t.braceBarL)?(k(t.braceBarL),o=t.braceBarR):(k(t.braceL),o=t.braceR);!c(o)&&!r.error;){if(s&&A(l._proto)){const i=re();i!==t.colon&&i!==t.question&&(f(),e=!1)}if(e&&A(l._static)){const i=re();i!==t.colon&&i!==t.question&&f()}if(ds(),m(t.bracketL))m(t.bracketL)?$c():qc();else if(c(t.parenL)||c(t.lessThan))Uc();else{if(A(l._get)||A(l._set)){const i=re();(i===t.name||i===t.string||i===t.num)&&f()}Vc()}Hc()}k(o)}function Vc(){if(c(t.ellipsis)){if(k(t.ellipsis),m(t.comma)||m(t.semi),c(t.braceR))return;$e()}else fs(),c(t.lessThan)||c(t.parenL)?ps():(m(t.question),Ze())}function Hc(){!m(t.semi)&&!m(t.comma)&&!c(t.braceR)&&!c(t.braceBarR)&&J()}function ao(e){for(e||X();m(t.dot);)X()}function Wc(){ao(!0),c(t.lessThan)&&ht()}function Gc(){k(t._typeof),co()}function Xc(){for(k(t.bracketL);r.pos<b.length&&!c(t.bracketR)&&($e(),!c(t.bracketR));)k(t.comma);k(t.bracketR)}function kn(){const e=re();e===t.colon||e===t.question?(X(),m(t.question),Ze()):$e()}function ms(){for(;!c(t.parenR)&&!c(t.ellipsis)&&!r.error;)kn(),c(t.parenR)||k(t.comma);m(t.ellipsis)&&kn()}function co(){let e=!1;const n=r.noAnonFunctionType;switch(r.type){case t.name:{if(A(l._interface)){Bc();return}X(),Wc();return}case t.braceL:dn(!1,!1,!1);return;case t.braceBarL:dn(!1,!0,!1);return;case t.bracketL:Xc();return;case t.lessThan:Je(),k(t.parenL),ms(),k(t.parenR),k(t.arrow),$e();return;case t.parenL:if(f(),!c(t.parenR)&&!c(t.ellipsis))if(c(t.name)){const s=re();e=s!==t.question&&s!==t.colon}else e=!0;if(e)if(r.noAnonFunctionType=!1,$e(),r.noAnonFunctionType=n,r.noAnonFunctionType||!(c(t.comma)||c(t.parenR)&&re()===t.arrow)){k(t.parenR);return}else m(t.comma);ms(),k(t.parenR),k(t.arrow),$e();return;case t.minus:f(),wt();return;case t.string:case t.num:case t._true:case t._false:case t._null:case t._this:case t._void:case t.star:f();return;default:if(r.type===t._typeof){Gc();return}else if(r.type&t.IS_KEYWORD){f(),r.tokens[r.tokens.length-1].type=t.name;return}}J()}function zc(){for(co();!we()&&(c(t.bracketL)||c(t.questionDot));)m(t.questionDot),k(t.bracketL),m(t.bracketR)||($e(),k(t.bracketR))}function lo(){m(t.question)?lo():zc()}function uo(){lo(),!r.noAnonFunctionType&&m(t.arrow)&&$e()}function ho(){for(m(t.bitwiseAND),uo();m(t.bitwiseAND);)uo()}function Yc(){for(m(t.bitwiseOR),ho();m(t.bitwiseOR);)ho()}function $e(){Yc()}function ft(){Ze()}function fo(){X(),c(t.colon)&&ft()}function ds(){(c(t.plus)||c(t.minus))&&(f(),r.tokens[r.tokens.length-1].isType=!0)}function Jc(e){c(t.colon)&&is(),qt(!1,e)}function Qc(e,n,s){if(c(t.questionDot)&&re()===t.lessThan){if(n){s.stop=!0;return}f(),ht(),k(t.parenL),rt();return}else if(!n&&c(t.lessThan)){const o=r.snapshot();if(ht(),k(t.parenL),rt(),r.error)r.restoreFromSnapshot(o);else return}Kn(e,n,s)}function Zc(){if(c(t.lessThan)){const e=r.snapshot();ht(),r.error&&r.restoreFromSnapshot(e)}}function Kc(){if(c(t.name)&&r.contextualKeyword===l._interface){const e=O(0);return f(),ls(),U(e),!0}else if(A(l._enum))return po(),!0;return!1}function el(){return A(l._enum)?(po(),!0):!1}function tl(e){if(e===l._declare){if(c(t._class)||c(t.name)||c(t._function)||c(t._var)||c(t._export)){const n=O(1);as(),U(n)}}else if(c(t.name)){if(e===l._interface){const n=O(1);ls(),U(n)}else if(e===l._type){const n=O(1);us(),U(n)}else if(e===l._opaque){const n=O(1);hs(!1),U(n)}}ae()}function nl(){return A(l._type)||A(l._interface)||A(l._opaque)||A(l._enum)}function sl(){return c(t.name)&&(r.contextualKeyword===l._type||r.contextualKeyword===l._interface||r.contextualKeyword===l._opaque||r.contextualKeyword===l._enum)}function rl(){if(A(l._type)){const e=O(1);f(),c(t.braceL)?(ys(),Vt()):us(),U(e)}else if(A(l._opaque)){const e=O(1);f(),hs(!1),U(e)}else if(A(l._interface)){const e=O(1);f(),ls(),U(e)}else He(!0)}function ol(){return c(t.star)||A(l._type)&&re()===t.star}function il(){if(ce(l._type)){const e=O(2);_s(),U(e)}else _s()}function al(e){if(e&&c(t.lessThan)&&ht(),A(l._implements)){const n=O(0);f(),r.tokens[r.tokens.length-1].type=t._implements;do mn(),c(t.lessThan)&&ht();while(m(t.comma));U(n)}}function cl(){c(t.lessThan)&&(Je(),c(t.parenL)||J())}function ll(){const e=O(0);m(t.question),c(t.colon)&&ft(),U(e)}function ul(){if(c(t._typeof)||A(l._type)){const e=et();(Ac(e)||e.type===t.braceL||e.type===t.star)&&f()}}function hl(){const e=r.contextualKeyword===l._type||r.type===t._typeof;e?f():X(),A(l._as)&&!Me(l._as)?(X(),e&&!c(t.name)&&!(r.type&t.IS_KEYWORD)||X()):(e&&(c(t.name)||r.type&t.IS_KEYWORD)&&X(),ce(l._as)&&X())}function fl(){if(c(t.lessThan)){const e=O(0);Je(),U(e)}}function pl(){c(t.colon)&&ft()}function ml(){if(c(t.colon)){const e=r.noAnonFunctionType;r.noAnonFunctionType=!0,ft(),r.noAnonFunctionType=e}}function dl(e,n){if(c(t.lessThan)){const s=r.snapshot();let o=Qe(e,n);if(r.error)r.restoreFromSnapshot(s),r.type=t.typeParameterStart;else return o;const i=O(0);if(Je(),U(i),o=Qe(e,n),o)return!0;J()}return Qe(e,n)}function kl(){if(c(t.colon)){const e=O(0),n=r.snapshot(),s=r.noAnonFunctionType;r.noAnonFunctionType=!0,is(),r.noAnonFunctionType=s,we()&&J(),c(t.arrow)||J(),r.error&&r.restoreFromSnapshot(n),U(e)}return m(t.arrow)}function gl(e,n=!1){if(r.tokens[r.tokens.length-1].contextualKeyword===l._async&&c(t.lessThan)){const s=r.snapshot();if(_l()&&!r.error)return;r.restoreFromSnapshot(s)}eo(e,n)}function _l(){r.scopeDepth++;const e=r.tokens.length;return Tt(),ts()?(Bt(e),!0):!1}function po(){oe(l._enum),r.tokens[r.tokens.length-1].type=t._enum,X(),yl()}function yl(){ce(l._of)&&f(),k(t.braceL),xl(),k(t.braceR)}function xl(){for(;!c(t.braceR)&&!r.error&&!m(t.ellipsis);)Il(),c(t.braceR)||k(t.comma)}function Il(){X(),m(t.eq)&&f()}function bl(){if(_n(t.eof),r.scopes.push(new B(0,r.tokens.length,!0)),r.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${r.scopeDepth}`);return new cu(r.tokens,r.scopes)}function He(e){$&&Kc()||(c(t.at)&&ks(),wl(e))}function wl(e){if(v&&qa())return;const n=r.type;switch(n){case t._break:case t._continue:Sl();return;case t._debugger:El();return;case t._do:vl();return;case t._for:Al();return;case t._function:if(re()===t.dot)break;e||J(),Pl();return;case t._class:e||J(),mt(!0);return;case t._if:Rl();return;case t._return:Ll();return;case t._switch:Dl();return;case t._throw:Ol();return;case t._try:jl();return;case t._let:case t._const:e||J();case t._var:gn(n!==t._var);return;case t._while:Ml();return;case t.braceL:ot();return;case t.semi:Bl();return;case t._export:case t._import:{const i=re();if(i===t.parenL||i===t.dot)break;f(),n===t._import?So():wo();return}case t.name:if(r.contextualKeyword===l._async){const i=r.start,a=r.snapshot();if(f(),c(t._function)&&!we()){k(t._function),pt(i,!0);return}else r.restoreFromSnapshot(a)}else if(r.contextualKeyword===l._using&&!Et()&&re()===t.name){gn(!0);return}else if(mo()){oe(l._await),gn(!0);return}default:break}const s=r.tokens.length;Pe();let o=null;if(r.tokens.length===s+1){const i=r.tokens[r.tokens.length-1];i.type===t.name&&(o=i.contextualKeyword)}if(o==null){ae();return}m(t.colon)?ql():$l(o)}function mo(){if(!A(l._await))return!1;const e=r.snapshot();return f(),!A(l._using)||Fe()||(f(),!c(t.name)||Fe())?(r.restoreFromSnapshot(e),!1):(r.restoreFromSnapshot(e),!0)}function ks(){for(;c(t.at);)ko()}function ko(){if(f(),m(t.parenL))Pe(),k(t.parenR);else{for(X();m(t.dot);)X();Tl()}}function Tl(){v?ec():go()}function go(){m(t.parenL)&&rt()}function Sl(){f(),We()||(X(),ae())}function El(){f(),ae()}function vl(){f(),He(!1),k(t._while),fn(),m(t.semi)}function Al(){r.scopeDepth++;const e=r.tokens.length;Cl();const n=r.tokens.length;r.scopes.push(new B(e,n,!1)),r.scopeDepth--}function Nl(){return!(!A(l._using)||Me(l._of))}function Cl(){f();let e=!1;if(A(l._await)&&(e=!0,f()),k(t.parenL),c(t.semi)){e&&J(),gs();return}const n=mo();if(n||c(t._var)||c(t._let)||c(t._const)||Nl()){if(n&&oe(l._await),f(),yo(!0,r.type!==t._var),c(t._in)||A(l._of)){_o(e);return}gs();return}if(Pe(!0),c(t._in)||A(l._of)){_o(e);return}e&&J(),gs()}function Pl(){const e=r.start;f(),pt(e,!0)}function Rl(){f(),fn(),He(!1),m(t._else)&&He(!1)}function Ll(){f(),We()||(Pe(),ae())}function Dl(){f(),fn(),r.scopeDepth++;const e=r.tokens.length;for(k(t.braceL);!c(t.braceR)&&!r.error;)if(c(t._case)||c(t._default)){const s=c(t._case);f(),s&&Pe(),k(t.colon)}else He(!0);f();const n=r.tokens.length;r.scopes.push(new B(e,n,!1)),r.scopeDepth--}function Ol(){f(),Pe(),ae()}function Fl(){rn(!0),v&&yt()}function jl(){if(f(),ot(),c(t._catch)){f();let e=null;if(c(t.parenL)&&(r.scopeDepth++,e=r.tokens.length,k(t.parenL),Fl(),k(t.parenR)),ot(),e!=null){const n=r.tokens.length;r.scopes.push(new B(e,n,!1)),r.scopeDepth--}}m(t._finally)&&ot()}function gn(e){f(),yo(!1,e),ae()}function Ml(){f(),fn(),He(!1)}function Bl(){f()}function ql(){He(!0)}function $l(e){v?Ua(e):$?tl(e):ae()}function ot(e=!1,n=0){const s=r.tokens.length;r.scopeDepth++,k(t.braceL),n&&(r.tokens[r.tokens.length-1].contextId=n),_n(t.braceR),n&&(r.tokens[r.tokens.length-1].contextId=n);const o=r.tokens.length;r.scopes.push(new B(s,o,e)),r.scopeDepth--}function _n(e){for(;!m(e)&&!r.error;)He(!0)}function gs(){k(t.semi),c(t.semi)||Pe(),k(t.semi),c(t.parenR)||Pe(),k(t.parenR),He(!1)}function _o(e){e?ce(l._of):f(),Pe(),k(t.parenR),He(!1)}function yo(e,n){for(;;){if(Ul(n),m(t.eq)){const s=r.tokens.length-1;Re(e),r.tokens[s].rhsEndIndex=r.tokens.length}if(!m(t.comma))break}}function Ul(e){rn(e),v?Xa():$&&pl()}function pt(e,n,s=!1){c(t.star)&&f(),n&&!s&&!c(t.name)&&!c(t._yield)&&J();let o=null;c(t.name)&&(n||(o=r.tokens.length,r.scopeDepth++),nt(!1));const i=r.tokens.length;r.scopeDepth++,Tt(),so(e);const a=r.tokens.length;r.scopes.push(new B(i,a,!0)),r.scopeDepth--,o!==null&&(r.scopes.push(new B(o,a,!0)),r.scopeDepth--)}function Tt(e=!1,n=0){v?Ga():$&&fl(),k(t.parenL),n&&(r.tokens[r.tokens.length-1].contextId=n),qn(t.parenR,!1,!1,e,n),n&&(r.tokens[r.tokens.length-1].contextId=n)}function mt(e,n=!1){const s=V();f(),r.tokens[r.tokens.length-1].contextId=s,r.tokens[r.tokens.length-1].isExpression=!e;let o=null;e||(o=r.tokens.length,r.scopeDepth++),Gl(e,n),Xl();const i=r.tokens.length;if(Vl(s),!r.error&&(r.tokens[i].contextId=s,r.tokens[r.tokens.length-1].contextId=s,o!==null)){const a=r.tokens.length;r.scopes.push(new B(o,a,!1)),r.scopeDepth--}}function xo(){return c(t.eq)||c(t.semi)||c(t.braceR)||c(t.bang)||c(t.colon)}function Io(){return c(t.parenL)||c(t.lessThan)}function Vl(e){for(k(t.braceL);!m(t.braceR)&&!r.error;){if(m(t.semi))continue;if(c(t.at)){ko();continue}const n=r.start;Hl(n,e)}}function Hl(e,n){v&&Un([l._declare,l._public,l._protected,l._private,l._override]);let s=!1;if(c(t.name)&&r.contextualKeyword===l._static){if(X(),Io()){$t(e,!1);return}else if(xo()){yn();return}if(r.tokens[r.tokens.length-1].type=t._static,s=!0,c(t.braceL)){r.tokens[r.tokens.length-1].contextId=n,ot();return}}Wl(e,s,n)}function Wl(e,n,s){if(v&&$a(n))return;if(m(t.star)){Ut(s),$t(e,!1);return}Ut(s);let o=!1;const i=r.tokens[r.tokens.length-1];i.contextualKeyword===l._constructor&&(o=!0),bo(),Io()?$t(e,o):xo()?yn():i.contextualKeyword===l._async&&!We()?(r.tokens[r.tokens.length-1].type=t._async,c(t.star)&&f(),Ut(s),bo(),$t(e,!1)):(i.contextualKeyword===l._get||i.contextualKeyword===l._set)&&!(We()&&c(t.star))?(i.contextualKeyword===l._get?r.tokens[r.tokens.length-1].type=t._get:r.tokens[r.tokens.length-1].type=t._set,Ut(s),$t(e,!1)):i.contextualKeyword===l._accessor&&!We()?(Ut(s),yn()):We()?yn():J()}function $t(e,n){v?ut():$&&c(t.lessThan)&&Je(),os(e,n)}function Ut(e){Mt(e)}function bo(){if(v){const e=O(0);m(t.question),U(e)}}function yn(){if(v?(Te(t.bang),yt()):$&&c(t.colon)&&ft(),c(t.eq)){const e=r.tokens.length;f(),Re(),r.tokens[e].rhsEndIndex=r.tokens.length}ae()}function Gl(e,n=!1){v&&(!e||n)&&A(l._implements)||(c(t.name)&&nt(!0),v?ut():$&&c(t.lessThan)&&Je())}function Xl(){let e=!1;m(t._extends)?(K1(),e=!0):e=!1,v?Ha(e):$&&al(e)}function wo(){const e=r.tokens.length-1;v&&Fa()||(Ql()?Zl():Jl()?(X(),c(t.comma)&&re()===t.star?(k(t.comma),k(t.star),oe(l._as),X()):To(),Vt()):m(t._default)?zl():eu()?Yl():(ys(),Vt()),r.tokens[e].rhsEndIndex=r.tokens.length)}function zl(){if(v&&Ba()||$&&el())return;const e=r.start;m(t._function)?pt(e,!0,!0):A(l._async)&&re()===t._function?(ce(l._async),m(t._function),pt(e,!0,!0)):c(t._class)?mt(!0,!0):c(t.at)?(ks(),mt(!0,!0)):(Re(),ae())}function Yl(){v?Va():$?rl():He(!0)}function Jl(){if(v&&X1())return!1;if($&&sl())return!1;if(c(t.name))return r.contextualKeyword!==l._async;if(!c(t._default))return!1;const e=Pt(),n=et(),s=n.type===t.name&&n.contextualKeyword===l._from;if(n.type===t.comma)return!0;if(s){const o=b.charCodeAt(Or(e+4));return o===u.quotationMark||o===u.apostrophe}return!1}function To(){m(t.comma)&&ys()}function Vt(){ce(l._from)&&(Ke(),vo()),ae()}function Ql(){return $?ol():c(t.star)}function Zl(){$?il():_s()}function _s(){k(t.star),A(l._as)?Kl():Vt()}function Kl(){f(),r.tokens[r.tokens.length-1].type=t._as,X(),To(),Vt()}function eu(){return v&&X1()||$&&nl()||r.type===t._var||r.type===t._const||r.type===t._let||r.type===t._function||r.type===t._class||A(l._async)||c(t.at)}function ys(){let e=!0;for(k(t.braceL);!m(t.braceR)&&!r.error;){if(e)e=!1;else if(k(t.comma),m(t.braceR))break;tu()}}function tu(){if(v){Ma();return}X(),r.tokens[r.tokens.length-1].identifierRole=q.ExportAccess,ce(l._as)&&X()}function nu(){const e=r.snapshot();return oe(l._module),ce(l._from)?A(l._from)?(r.restoreFromSnapshot(e),!0):(r.restoreFromSnapshot(e),!1):c(t.comma)?(r.restoreFromSnapshot(e),!1):(r.restoreFromSnapshot(e),!0)}function su(){A(l._module)&&nu()&&f()}function So(){if(v&&c(t.name)&&re()===t.eq){Yn();return}if(v&&A(l._type)){const e=et();if(e.type===t.name&&e.contextualKeyword!==l._from){if(oe(l._type),re()===t.eq){Yn();return}}else(e.type===t.star||e.type===t.braceL)&&oe(l._type)}c(t.string)||(su(),ou(),oe(l._from)),Ke(),vo(),ae()}function ru(){return c(t.name)}function Eo(){sn()}function ou(){$&&ul();let e=!0;if(!(ru()&&(Eo(),!m(t.comma)))){if(c(t.star)){f(),oe(l._as),Eo();return}for(k(t.braceL);!m(t.braceR)&&!r.error;){if(e)e=!1;else if(m(t.colon)&&J("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),k(t.comma),m(t.braceR))break;iu()}}}function iu(){if(v){ja();return}if($){hl();return}sn(),A(l._as)&&(r.tokens[r.tokens.length-1].identifierRole=q.ImportAccess,f(),sn())}function vo(){(c(t._with)||A(l._assert)&&!Fe())&&(f(),rs(!1,!1))}function au(){return r.pos===0&&b.charCodeAt(0)===u.numberSign&&b.charCodeAt(1)===u.exclamationMark&&Mr(2),jr(),bl()}class cu{constructor(n,s){this.tokens=n,this.scopes=s}}function lu(e,n,s,o){if(o&&s)throw new Error("Cannot combine flow and typescript plugins.");Oe(e,n,s,o);const i=au();if(r.error)throw ee(r.error);return i}function uu(e){let n=e.currentIndex(),s=0;const o=e.currentToken();do{const i=e.tokens[n];if(i.isOptionalChainStart&&s++,i.isOptionalChainEnd&&s--,s+=i.numNullishCoalesceStarts,s-=i.numNullishCoalesceEnds,i.contextualKeyword===l._await&&i.identifierRole==null&&i.scopeDepth===o.scopeDepth)return!0;n+=1}while(s>0&&n<e.tokens.length);return!1}class Ht{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(n,s,o,i,a){this.code=n,this.tokens=s,this.isFlowEnabled=o,this.disableESTransforms=i,this.helperManager=a,Ht.prototype.__init.call(this),Ht.prototype.__init2.call(this),Ht.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(n){this.resultCode=n.resultCode,this.tokenIndex=n.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(n){const s=this.resultCode.slice(n.resultCode.length);return this.resultCode=n.resultCode,s}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(n,s){return this.matches1AtIndex(n,t.name)&&this.tokens[n].contextualKeyword===s}identifierNameAtIndex(n){return this.identifierNameForToken(this.tokens[n])}identifierNameAtRelativeIndex(n){return this.identifierNameForToken(this.tokenAtRelativeIndex(n))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(n){return this.code.slice(n.start,n.end)}rawCodeForToken(n){return this.code.slice(n.start,n.end)}stringValueAtIndex(n){return this.stringValueForToken(this.tokens[n])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(n){return this.code.slice(n.start+1,n.end-1)}matches1AtIndex(n,s){return this.tokens[n].type===s}matches2AtIndex(n,s,o){return this.tokens[n].type===s&&this.tokens[n+1].type===o}matches3AtIndex(n,s,o,i){return this.tokens[n].type===s&&this.tokens[n+1].type===o&&this.tokens[n+2].type===i}matches1(n){return this.tokens[this.tokenIndex].type===n}matches2(n,s){return this.tokens[this.tokenIndex].type===n&&this.tokens[this.tokenIndex+1].type===s}matches3(n,s,o){return this.tokens[this.tokenIndex].type===n&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===o}matches4(n,s,o,i){return this.tokens[this.tokenIndex].type===n&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===o&&this.tokens[this.tokenIndex+3].type===i}matches5(n,s,o,i,a){return this.tokens[this.tokenIndex].type===n&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===o&&this.tokens[this.tokenIndex+3].type===i&&this.tokens[this.tokenIndex+4].type===a}matchesContextual(n){return this.matchesContextualAtIndex(this.tokenIndex,n)}matchesContextIdAndLabel(n,s){return this.matches1(n)&&this.currentToken().contextId===s}previousWhitespaceAndComments(){let n=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);return this.isFlowEnabled&&(n=n.replace(/@flow/g,"")),n}replaceToken(n){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=n,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(n){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=n,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let n=0;for(;!this.isAtEnd();){if(this.matches1(t.braceL))n++;else if(this.matches1(t.braceR)){if(n===0)return;n--}this.removeToken()}}copyExpectedToken(n){if(this.tokens[this.tokenIndex].type!==n)throw new Error(`Expected token ${n}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(n){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=n,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){const n=this.currentToken();if((n.numNullishCoalesceStarts||n.isOptionalChainStart)&&(n.isAsyncOperation=uu(this)),!this.disableESTransforms){if(n.numNullishCoalesceStarts)for(let s=0;s<n.numNullishCoalesceStarts;s++)n.isAsyncOperation?(this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce")):this.resultCode+=this.helperManager.getHelperName("nullishCoalesce"),this.resultCode+="(";n.isOptionalChainStart&&(n.isAsyncOperation&&(this.resultCode+="await "),this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===t._delete?n.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):n.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){const n=this.currentToken();if(n.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),n.numNullishCoalesceEnds&&!this.disableESTransforms)for(let s=0;s<n.numNullishCoalesceEnds;s++)this.resultCode+="))"}appendCode(n){this.resultCode+=n}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){const n=this.currentToken();return this.code.slice(n.start,n.end)}tokenAtRelativeIndex(n){return this.tokens[this.tokenIndex+n]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw new Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw new Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}}function hu(e,n,s,o){const i=n.snapshot(),a=fu(n);let h=[];const p=[],d=[];let y=null;const T=[],S=[],x=n.currentToken().contextId;if(x==null)throw new Error("Expected non-null class context ID on class open-brace.");for(n.nextToken();!n.matchesContextIdAndLabel(t.braceR,x);)if(n.matchesContextual(l._constructor)&&!n.currentToken().isType)({constructorInitializerStatements:h,constructorInsertPos:y}=Ao(n));else if(n.matches1(t.semi))o||S.push({start:n.currentIndex(),end:n.currentIndex()+1}),n.nextToken();else if(n.currentToken().isType)n.nextToken();else{const E=n.currentIndex();let M=!1,Z=!1,se=!1;for(;xn(n.currentToken());)n.matches1(t._static)&&(M=!0),n.matches1(t.hash)&&(Z=!0),(n.matches1(t._declare)||n.matches1(t._abstract))&&(se=!0),n.nextToken();if(M&&n.matches1(t.braceL)){xs(n,x);continue}if(Z){xs(n,x);continue}if(n.matchesContextual(l._constructor)&&!n.currentToken().isType){({constructorInitializerStatements:h,constructorInsertPos:y}=Ao(n));continue}const he=n.currentIndex();if(pu(n),n.matches1(t.lessThan)||n.matches1(t.parenL)){xs(n,x);continue}for(;n.currentToken().isType;)n.nextToken();if(n.matches1(t.eq)){const me=n.currentIndex(),fe=n.currentToken().rhsEndIndex;if(fe==null)throw new Error("Expected rhsEndIndex on class field assignment.");for(n.nextToken();n.currentIndex()<fe;)e.processToken();let ke;M?(ke=s.claimFreeName("__initStatic"),d.push(ke)):(ke=s.claimFreeName("__init"),p.push(ke)),T.push({initializerName:ke,equalsIndex:me,start:he,end:n.currentIndex()})}else(!o||se)&&S.push({start:E,end:n.currentIndex()})}return n.restoreToSnapshot(i),o?{headerInfo:a,constructorInitializerStatements:h,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:y,fields:[],rangesToRemove:S}:{headerInfo:a,constructorInitializerStatements:h,instanceInitializerNames:p,staticInitializerNames:d,constructorInsertPos:y,fields:T,rangesToRemove:S}}function xs(e,n){for(e.nextToken();e.currentToken().contextId!==n;)e.nextToken();for(;xn(e.tokenAtRelativeIndex(-1));)e.previousToken()}function fu(e){const n=e.currentToken(),s=n.contextId;if(s==null)throw new Error("Expected context ID on class token.");const o=n.isExpression;if(o==null)throw new Error("Expected isExpression on class token.");let i=null,a=!1;for(e.nextToken(),e.matches1(t.name)&&(i=e.identifierName());!e.matchesContextIdAndLabel(t.braceL,s);)e.matches1(t._extends)&&!e.currentToken().isType&&(a=!0),e.nextToken();return{isExpression:o,className:i,hasSuperclass:a}}function Ao(e){const n=[];e.nextToken();const s=e.currentToken().contextId;if(s==null)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!e.matchesContextIdAndLabel(t.parenR,s);)if(e.currentToken().contextId===s){if(e.nextToken(),xn(e.currentToken())){for(e.nextToken();xn(e.currentToken());)e.nextToken();const a=e.currentToken();if(a.type!==t.name)throw new Error("Expected identifier after access modifiers in constructor arg.");const h=e.identifierNameForToken(a);n.push(`this.${h} = ${h}`)}}else e.nextToken();for(e.nextToken();e.currentToken().isType;)e.nextToken();let o=e.currentIndex(),i=!1;for(;!e.matchesContextIdAndLabel(t.braceR,s);){if(!i&&e.matches2(t._super,t.parenL)){e.nextToken();const a=e.currentToken().contextId;if(a==null)throw new Error("Expected a context ID on the super call");for(;!e.matchesContextIdAndLabel(t.parenR,a);)e.nextToken();o=e.currentIndex(),i=!0}e.nextToken()}return e.nextToken(),{constructorInitializerStatements:n,constructorInsertPos:o}}function xn(e){return[t._async,t._get,t._set,t.plus,t.minus,t._readonly,t._static,t._public,t._private,t._protected,t._override,t._abstract,t.star,t._declare,t.hash].includes(e.type)}function pu(e){if(e.matches1(t.bracketL)){const s=e.currentToken().contextId;if(s==null)throw new Error("Expected class context ID on computed name open bracket.");for(;!e.matchesContextIdAndLabel(t.bracketR,s);)e.nextToken();e.nextToken()}else e.nextToken()}function No(e){if(e.removeInitialToken(),e.removeToken(),e.removeToken(),e.removeToken(),e.matches1(t.parenL))e.removeToken(),e.removeToken(),e.removeToken();else for(;e.matches1(t.dot);)e.removeToken(),e.removeToken()}const Co={typeDeclarations:new Set,valueDeclarations:new Set};function Po(e){const n=new Set,s=new Set;for(let o=0;o<e.tokens.length;o++){const i=e.tokens[o];i.type===t.name&&I(i)&&(i.isType?n.add(e.identifierNameForToken(i)):s.add(e.identifierNameForToken(i)))}return{typeDeclarations:n,valueDeclarations:s}}function Ro(e){let n=e.currentIndex();for(;!e.matches1AtIndex(n,t.braceR);)n++;return e.matchesContextualAtIndex(n+1,l._from)&&e.matches1AtIndex(n+2,t.string)}function dt(e){(e.matches2(t._with,t.braceL)||e.matches2(t.name,t.braceL)&&e.matchesContextual(l._assert))&&(e.removeToken(),e.removeToken(),e.removeBalancedCode(),e.removeToken())}function Lo(e,n,s,o){if(!e||n)return!1;const i=s.currentToken();if(i.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");const a=i.rhsEndIndex-s.currentIndex();if(a!==3&&!(a===4&&s.matches1AtIndex(i.rhsEndIndex-1,t.semi)))return!1;const h=s.tokenAtRelativeIndex(2);if(h.type!==t.name)return!1;const p=s.identifierNameForToken(h);return o.typeDeclarations.has(p)&&!o.valueDeclarations.has(p)}class Wt extends ze{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(n,s,o,i,a,h,p,d,y,T,S,x){super(),this.rootTransformer=n,this.tokens=s,this.importProcessor=o,this.nameManager=i,this.helperManager=a,this.reactHotLoaderTransformer=h,this.enableLegacyBabel5ModuleInterop=p,this.enableLegacyTypeScriptModuleInterop=d,this.isTypeScriptTransformEnabled=y,this.isFlowTransformEnabled=T,this.preserveDynamicImport=S,this.keepUnusedImports=x,Wt.prototype.__init.call(this),Wt.prototype.__init2.call(this),Wt.prototype.__init3.call(this),this.declarationInfo=y?Po(s):Co}getPrefixCode(){let n="";return this.hadExport&&(n+='Object.defineProperty(exports, "__esModule", {value: true});'),n}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?`
|
|
117
|
+
module.exports = exports.default;
|
|
118
|
+
`:""}process(){return this.tokens.matches3(t._import,t.name,t.eq)?this.processImportEquals():this.tokens.matches1(t._import)?(this.processImport(),!0):this.tokens.matches2(t._export,t.eq)?(this.tokens.replaceToken("module.exports"),!0):this.tokens.matches1(t._export)&&!this.tokens.currentToken().isType?(this.hadExport=!0,this.processExport()):this.tokens.matches2(t.name,t.postIncDec)&&this.processPostIncDec()?!0:this.tokens.matches1(t.name)||this.tokens.matches1(t.jsxName)?this.processIdentifier():this.tokens.matches1(t.eq)?this.processAssignment():this.tokens.matches1(t.assign)?this.processComplexAssignment():this.tokens.matches1(t.preIncDec)?this.processPreIncDec():!1}processImportEquals(){const n=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.importProcessor.shouldAutomaticallyElideImportedName(n)?No(this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(t._import,t.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}const s=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${s}require`);const o=this.tokens.currentToken().contextId;if(o==null)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(t.parenR,o);)this.rootTransformer.processToken();this.tokens.replaceToken(s?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{const s=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(s)),this.tokens.appendCode(this.importProcessor.claimImportCode(s))}dt(this.tokens),this.tokens.matches1(t.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(l._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,t.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,l._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(t.name)||this.tokens.matches1(t.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(t.string))return!1;let n=!1,s=!1;for(;!this.tokens.matches1(t.string);)(!n&&this.tokens.matches1(t.braceL)||this.tokens.matches1(t.comma))&&(this.tokens.removeToken(),this.tokens.matches1(t.braceR)||(s=!0),(this.tokens.matches2(t.name,t.comma)||this.tokens.matches2(t.name,t.braceR)||this.tokens.matches4(t.name,t.name,t.name,t.comma)||this.tokens.matches4(t.name,t.name,t.name,t.braceR))&&(n=!0)),this.tokens.removeToken();return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!n:this.isFlowTransformEnabled?s&&!n:!1}removeRemainingImport(){for(;!this.tokens.matches1(t.string);)this.tokens.removeToken()}processIdentifier(){const n=this.tokens.currentToken();if(n.shadowsGlobal)return!1;if(n.identifierRole===q.ObjectShorthand)return this.processObjectShorthand();if(n.identifierRole!==q.Access)return!1;const s=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(n));if(!s)return!1;let o=this.tokens.currentIndex()+1;for(;o<this.tokens.tokens.length&&this.tokens.tokens[o].type===t.parenR;)o++;return this.tokens.tokens[o].type===t.parenL?this.tokens.tokenAtRelativeIndex(1).type===t.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==t._new?(this.tokens.replaceToken(`${s}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR)):this.tokens.replaceToken(`(0, ${s})`):this.tokens.replaceToken(s),!0}processObjectShorthand(){const n=this.tokens.identifierName(),s=this.importProcessor.getIdentifierReplacement(n);return s?(this.tokens.replaceToken(`${n}: ${s}`),!0):!1}processExport(){if(this.tokens.matches2(t._export,t._enum)||this.tokens.matches3(t._export,t._const,t._enum))return this.hadNamedExport=!0,!1;if(this.tokens.matches2(t._export,t._default))return this.tokens.matches3(t._export,t._default,t._enum)?(this.hadDefaultExport=!0,!1):(this.processExportDefault(),!0);if(this.tokens.matches2(t._export,t.braceL))return this.processExportBindings(),!0;if(this.tokens.matches2(t._export,t.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,l._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(t.braceL)){for(;!this.tokens.matches1(t.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(t._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(l._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,t.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),dt(this.tokens)),!0}if(this.hadNamedExport=!0,this.tokens.matches2(t._export,t._var)||this.tokens.matches2(t._export,t._let)||this.tokens.matches2(t._export,t._const))return this.processExportVar(),!0;if(this.tokens.matches2(t._export,t._function)||this.tokens.matches3(t._export,t.name,t._function))return this.processExportFunction(),!0;if(this.tokens.matches2(t._export,t._class)||this.tokens.matches3(t._export,t._abstract,t._class)||this.tokens.matches2(t._export,t.at))return this.processExportClass(),!0;if(this.tokens.matches2(t._export,t.star))return this.processExportStar(),!0;throw new Error("Unrecognized export syntax.")}processAssignment(){const n=this.tokens.currentIndex(),s=this.tokens.tokens[n-1];if(s.isType||s.type!==t.name||s.shadowsGlobal||n>=2&&this.tokens.matches1AtIndex(n-2,t.dot)||n>=2&&[t._var,t._let,t._const].includes(this.tokens.tokens[n-2].type))return!1;const o=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(s));return o?(this.tokens.copyToken(),this.tokens.appendCode(` ${o} =`),!0):!1}processComplexAssignment(){const n=this.tokens.currentIndex(),s=this.tokens.tokens[n-1];if(s.type!==t.name||s.shadowsGlobal||n>=2&&this.tokens.matches1AtIndex(n-2,t.dot))return!1;const o=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(s));return o?(this.tokens.appendCode(` = ${o}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){const n=this.tokens.currentIndex(),s=this.tokens.tokens[n+1];if(s.type!==t.name||s.shadowsGlobal||n+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(n+2,t.dot)||this.tokens.matches1AtIndex(n+2,t.bracketL)||this.tokens.matches1AtIndex(n+2,t.parenL)))return!1;const o=this.tokens.identifierNameForToken(s),i=this.importProcessor.resolveExportBinding(o);return i?(this.tokens.appendCode(`${i} = `),this.tokens.copyToken(),!0):!1}processPostIncDec(){const n=this.tokens.currentIndex(),s=this.tokens.tokens[n],o=this.tokens.tokens[n+1];if(s.type!==t.name||s.shadowsGlobal||n>=1&&this.tokens.matches1AtIndex(n-1,t.dot))return!1;const i=this.tokens.identifierNameForToken(s),a=this.importProcessor.resolveExportBinding(i);if(!a)return!1;const h=this.tokens.rawCodeForToken(o),p=this.importProcessor.getIdentifierReplacement(i)||i;if(h==="++")this.tokens.replaceToken(`(${p} = ${a} = ${p} + 1, ${p} - 1)`);else if(h==="--")this.tokens.replaceToken(`(${p} = ${a} = ${p} - 1, ${p} + 1)`);else throw new Error(`Unexpected operator: ${h}`);return this.tokens.removeToken(),!0}processExportDefault(){let n=!0;if(this.tokens.matches4(t._export,t._default,t._function,t.name)||this.tokens.matches5(t._export,t._default,t.name,t._function,t.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,l._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();const s=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${s};`)}else if(this.tokens.matches4(t._export,t._default,t._class,t.name)||this.tokens.matches5(t._export,t._default,t._abstract,t._class,t.name)||this.tokens.matches3(t._export,t._default,t.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(t._abstract)&&this.tokens.removeToken();const s=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${s};`)}else if(Lo(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))n=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){const s=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${s}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${s} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(s)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");n&&(this.hadDefaultExport=!0)}copyDecorators(){for(;this.tokens.matches1(t.at);)if(this.tokens.copyToken(),this.tokens.matches1(t.parenL))this.tokens.copyExpectedToken(t.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR);else{for(this.tokens.copyExpectedToken(t.name);this.tokens.matches1(t.dot);)this.tokens.copyExpectedToken(t.dot),this.tokens.copyExpectedToken(t.name);this.tokens.matches1(t.parenL)&&(this.tokens.copyExpectedToken(t.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let n=this.tokens.currentIndex();if(n++,n++,!this.tokens.matches1AtIndex(n,t.name))return!1;for(n++;n<this.tokens.tokens.length&&this.tokens.tokens[n].isType;)n++;return!!this.tokens.matches1AtIndex(n,t.eq)}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();const n=this.tokens.identifierName();for(;!this.tokens.matches1(t.eq);)this.rootTransformer.processToken();const s=this.tokens.currentToken().rhsEndIndex;if(s==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<s;)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${n} = ${n}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();const n=this.tokens.matches1(t.braceL);n&&this.tokens.appendCode("(");let s=0;for(;;)if(this.tokens.matches1(t.braceL)||this.tokens.matches1(t.dollarBraceL)||this.tokens.matches1(t.bracketL))s++,this.tokens.copyToken();else if(this.tokens.matches1(t.braceR)||this.tokens.matches1(t.bracketR))s--,this.tokens.copyToken();else{if(s===0&&!this.tokens.matches1(t.name)&&!this.tokens.currentToken().isType)break;if(this.tokens.matches1(t.eq)){const o=this.tokens.currentToken().rhsEndIndex;if(o==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<o;)this.rootTransformer.processToken()}else{const o=this.tokens.currentToken();if(Yt(o)){const i=this.tokens.identifierName();let a=this.importProcessor.getIdentifierReplacement(i);if(a===null)throw new Error(`Expected a replacement for ${i} in \`export var\` syntax.`);j(o)&&(a=`${i}: ${a}`),this.tokens.replaceToken(a)}else this.rootTransformer.processToken()}}if(n){const o=this.tokens.currentToken().rhsEndIndex;if(o==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<o;)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");const n=this.processNamedFunction();this.tokens.appendCode(` exports.${n} = ${n};`)}processNamedFunction(){if(this.tokens.matches1(t._function))this.tokens.copyToken();else if(this.tokens.matches2(t.name,t._function)){if(!this.tokens.matchesContextual(l._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(t.star)&&this.tokens.copyToken(),!this.tokens.matches1(t.name))throw new Error("Expected identifier for exported function name.");const n=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType)for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return this.tokens.copyExpectedToken(t.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(t.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.braceR),n}processExportClass(){this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(t._abstract)&&this.tokens.removeToken();const n=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${n} = ${n};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();const n=Ro(this.tokens),s=[];for(;;){if(this.tokens.matches1(t.braceR)){this.tokens.removeToken();break}const o=Rt(this.tokens);for(;this.tokens.currentIndex()<o.endIndex;)this.tokens.removeToken();if(!(o.isType||!n&&this.shouldElideExportedIdentifier(o.leftName))){const a=o.rightName;a==="default"?this.hadDefaultExport=!0:this.hadNamedExport=!0;const h=o.leftName,p=this.importProcessor.getIdentifierReplacement(h);s.push(`exports.${a} = ${p||h};`)}if(this.tokens.matches1(t.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(t.comma,t.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(t.comma))this.tokens.removeToken();else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(l._from)){this.tokens.removeToken();const o=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(o)),dt(this.tokens)}else this.tokens.appendCode(s.join(" "));this.tokens.matches1(t.semi)&&this.tokens.removeToken()}processExportStar(){for(this.tokens.removeInitialToken();!this.tokens.matches1(t.string);)this.tokens.removeToken();const n=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(n)),dt(this.tokens),this.tokens.matches1(t.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(n){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.declarationInfo.valueDeclarations.has(n)}}class mu extends ze{constructor(n,s,o,i,a,h,p,d){super(),this.tokens=n,this.nameManager=s,this.helperManager=o,this.reactHotLoaderTransformer=i,this.isTypeScriptTransformEnabled=a,this.isFlowTransformEnabled=h,this.keepUnusedImports=p,this.nonTypeIdentifiers=a&&!p?Yr(n,d):new Set,this.declarationInfo=a&&!p?Po(n):Co,this.injectCreateRequireForImportRequire=!!d.injectCreateRequireForImportRequire}process(){if(this.tokens.matches3(t._import,t.name,t.eq))return this.processImportEquals();if(this.tokens.matches4(t._import,t.name,t.name,t.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,l._type)){this.tokens.removeInitialToken();for(let n=0;n<7;n++)this.tokens.removeToken();return!0}if(this.tokens.matches2(t._export,t.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(t._export,t._import,t.name,t.name,t.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,l._type)){this.tokens.removeInitialToken();for(let n=0;n<8;n++)this.tokens.removeToken();return!0}if(this.tokens.matches1(t._import))return this.processImport();if(this.tokens.matches2(t._export,t._default))return this.processExportDefault();if(this.tokens.matches2(t._export,t.braceL))return this.processNamedExports();if(this.tokens.matches2(t._export,t.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,l._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(t.braceL)){for(;!this.tokens.matches1(t.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(t._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(l._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,t.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),dt(this.tokens)),!0}return!1}processImportEquals(){const n=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.shouldAutomaticallyElideImportedName(n)?No(this.tokens):this.injectCreateRequireForImportRequire?(this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"))):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(t._import,t.parenL))return!1;const n=this.tokens.snapshot();if(this.removeImportTypeBindings()){for(this.tokens.restoreToSnapshot(n);!this.tokens.matches1(t.string);)this.tokens.removeToken();this.tokens.removeToken(),dt(this.tokens),this.tokens.matches1(t.semi)&&this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(t._import),this.tokens.matchesContextual(l._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,t.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,l._from))return!0;if(this.tokens.matches1(t.string))return this.tokens.copyToken(),!1;this.tokens.matchesContextual(l._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,l._from)&&this.tokens.copyToken();let n=!1,s=!1,o=!1;if(this.tokens.matches1(t.name)&&(this.shouldAutomaticallyElideImportedName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(t.comma)&&this.tokens.removeToken()):(n=!0,this.tokens.copyToken(),this.tokens.matches1(t.comma)&&(o=!0,this.tokens.removeToken()))),this.tokens.matches1(t.star))this.shouldAutomaticallyElideImportedName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(o&&this.tokens.appendCode(","),n=!0,this.tokens.copyExpectedToken(t.star),this.tokens.copyExpectedToken(t.name),this.tokens.copyExpectedToken(t.name));else if(this.tokens.matches1(t.braceL)){for(o&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(t.braceR);){s=!0;const i=Rt(this.tokens);if(i.isType||this.shouldAutomaticallyElideImportedName(i.rightName)){for(;this.tokens.currentIndex()<i.endIndex;)this.tokens.removeToken();this.tokens.matches1(t.comma)&&this.tokens.removeToken()}else{for(n=!0;this.tokens.currentIndex()<i.endIndex;)this.tokens.copyToken();this.tokens.matches1(t.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(t.braceR)}return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!n:this.isFlowTransformEnabled?s&&!n:!1}shouldAutomaticallyElideImportedName(n){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(n)}processExportDefault(){if(Lo(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(t._export,t._default,t._function,t.name)||this.tokens.matches5(t._export,t._default,t.name,t._function,t.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,l._async)||this.tokens.matches4(t._export,t._default,t._class,t.name)||this.tokens.matches5(t._export,t._default,t._abstract,t._class,t.name))&&this.reactHotLoaderTransformer){const s=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${s}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${s} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(s),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;this.tokens.copyExpectedToken(t._export),this.tokens.copyExpectedToken(t.braceL);const n=Ro(this.tokens);let s=!1;for(;!this.tokens.matches1(t.braceR);){const o=Rt(this.tokens);if(o.isType||!n&&this.shouldElideExportedName(o.leftName)){for(;this.tokens.currentIndex()<o.endIndex;)this.tokens.removeToken();this.tokens.matches1(t.comma)&&this.tokens.removeToken()}else{for(s=!0;this.tokens.currentIndex()<o.endIndex;)this.tokens.copyToken();this.tokens.matches1(t.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(t.braceR),!this.keepUnusedImports&&n&&!s&&(this.tokens.removeToken(),this.tokens.removeToken(),dt(this.tokens)),!0}shouldElideExportedName(n){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&this.declarationInfo.typeDeclarations.has(n)&&!this.declarationInfo.valueDeclarations.has(n)}}class du extends ze{constructor(n,s,o){super(),this.rootTransformer=n,this.tokens=s,this.isImportsTransformEnabled=o}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(t._enum)?(this.processEnum(),!0):this.tokens.matches2(t._export,t._enum)?(this.processNamedExportEnum(),!0):this.tokens.matches3(t._export,t._default,t._enum)?(this.processDefaultExportEnum(),!0):!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();const n=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${n} = ${n};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();const n=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.isImportsTransformEnabled?this.tokens.appendCode(` exports.default = ${n};`):this.tokens.appendCode(` export default ${n};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(t.name);let n=!1;this.tokens.matchesContextual(l._of)&&(this.tokens.removeToken(),n=this.tokens.matchesContextual(l._symbol),this.tokens.removeToken());const s=this.tokens.matches3(t.braceL,t.name,t.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');const o=!n&&!s;for(this.tokens.replaceTokenTrimmingLeftWhitespace(o?".Mirrored([":"({");!this.tokens.matches1(t.braceR);){if(this.tokens.matches1(t.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(n,s),this.tokens.matches1(t.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(o?"]);":"});")}processEnumElement(n,s){if(n){const o=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${o}")`)}else s?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}}function ku(e){let n,s=e[0],o=1;for(;o<e.length;){const i=e[o],a=e[o+1];if(o+=2,(i==="optionalAccess"||i==="optionalCall")&&s==null)return;i==="access"||i==="optionalAccess"?(n=s,s=a(s)):(i==="call"||i==="optionalCall")&&(s=a((...h)=>s.call(n,...h)),n=void 0)}return s}const In="jest",gu=["mock","unmock","enableAutomock","disableAutomock"];class Is extends ze{__init(){this.hoistedFunctionNames=[]}constructor(n,s,o,i){super(),this.rootTransformer=n,this.tokens=s,this.nameManager=o,this.importProcessor=i,Is.prototype.__init.call(this)}process(){return this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(t.name,t.dot,t.name,t.parenL)&&this.tokens.identifierName()===In?ku([this,"access",n=>n.importProcessor,"optionalAccess",n=>n.getGlobalNames,"call",n=>n(),"optionalAccess",n=>n.has,"call",n=>n(In)])?!1:this.extractHoistedCalls():!1}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(n=>`${n}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let n=!1;for(;this.tokens.matches3(t.dot,t.name,t.parenL);){const s=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(gu.includes(s)){const i=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(i),this.tokens.replaceToken(`function ${i}(){${In}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR),this.tokens.appendCode(";}"),n=!1}else n?this.tokens.copyToken():this.tokens.replaceToken(`${In}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR),n=!0}return!0}}class _u extends ze{constructor(n){super(),this.tokens=n}process(){if(this.tokens.matches1(t.num)){const n=this.tokens.currentTokenCode();if(n.includes("_"))return this.tokens.replaceToken(n.replace(/_/g,"")),!0}return!1}}class yu extends ze{constructor(n,s){super(),this.tokens=n,this.nameManager=s}process(){return this.tokens.matches2(t._catch,t.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}}class xu extends ze{constructor(n,s){super(),this.tokens=n,this.nameManager=s}process(){if(this.tokens.matches1(t.nullishCoalescing)){const o=this.tokens.currentToken();return this.tokens.tokens[o.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(t._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;const s=this.tokens.currentToken().subscriptStartIndex;if(s!=null&&this.tokens.tokens[s].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==t._super){const o=this.nameManager.claimFreeName("_");let i;if(s>0&&this.tokens.matches1AtIndex(s-1,t._delete)&&this.isLastSubscriptInChain()?i=`${o} => delete ${o}`:i=`${o} => ${o}`,this.tokens.tokens[s].isAsyncOperation&&(i=`async ${i}`),this.tokens.matches2(t.questionDot,t.parenL)||this.tokens.matches2(t.questionDot,t.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${i}`);else if(this.tokens.matches2(t.questionDot,t.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${i}`);else if(this.tokens.matches1(t.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${i}.`);else if(this.tokens.matches1(t.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${i}.`);else if(this.tokens.matches1(t.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${i}[`);else if(this.tokens.matches1(t.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${i}(`);else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let n=0;for(let s=this.tokens.currentIndex()+1;;s++){if(s>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[s].isOptionalChainStart?n++:this.tokens.tokens[s].isOptionalChainEnd&&n--,n<0)return!0;if(n===0&&this.tokens.tokens[s].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let n=0,s=this.tokens.currentIndex()-1;for(;;){if(s<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[s].isOptionalChainStart?n--:this.tokens.tokens[s].isOptionalChainEnd&&n++,n<0)return!1;if(n===0&&this.tokens.tokens[s].subscriptStartIndex!=null)return this.tokens.tokens[s-1].type===t._super;s--}}}class Iu extends ze{constructor(n,s,o,i){super(),this.rootTransformer=n,this.tokens=s,this.importProcessor=o,this.options=i}process(){const n=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){const s=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return s?this.tokens.replaceToken(`(0, ${s})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(n),!0}if(this.tokens.matches3(t.name,t.dot,t.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){const s=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return s?(this.tokens.replaceToken(s),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(n),!0}return!1}tryProcessCreateClassCall(n){const s=this.findDisplayName(n);s&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(t.parenL),this.tokens.copyExpectedToken(t.braceL),this.tokens.appendCode(`displayName: '${s}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.braceR),this.tokens.copyExpectedToken(t.parenR))}findDisplayName(n){return n<2?null:this.tokens.matches2AtIndex(n-2,t.name,t.eq)?this.tokens.identifierNameAtIndex(n-2):n>=2&&this.tokens.tokens[n-2].identifierRole===q.ObjectKey?this.tokens.identifierNameAtIndex(n-2):this.tokens.matches2AtIndex(n-2,t._export,t._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){const s=(this.options.filePath||"unknown").split("/"),o=s[s.length-1],i=o.lastIndexOf("."),a=i===-1?o:o.slice(0,i);return a==="index"&&s[s.length-2]?s[s.length-2]:a}classNeedsDisplayName(){let n=this.tokens.currentIndex();if(!this.tokens.matches2(t.parenL,t.braceL))return!1;const s=n+1,o=this.tokens.tokens[s].contextId;if(o==null)throw new Error("Expected non-null context ID on object open-brace.");for(;n<this.tokens.tokens.length;n++){const i=this.tokens.tokens[n];if(i.type===t.braceR&&i.contextId===o){n++;break}if(this.tokens.identifierNameAtIndex(n)==="displayName"&&this.tokens.tokens[n].identifierRole===q.ObjectKey&&i.contextId===o)return!1}if(n===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(n,t.parenR)||this.tokens.matches2AtIndex(n,t.comma,t.parenR)}}class bs extends ze{__init(){this.extractedDefaultExportName=null}constructor(n,s){super(),this.tokens=n,this.filePath=s,bs.prototype.__init.call(this)}setExtractedDefaultExportName(n){this.extractedDefaultExportName=n}getPrefixCode(){return`
|
|
119
|
+
(function () {
|
|
120
|
+
var enterModule = require('react-hot-loader').enterModule;
|
|
121
|
+
enterModule && enterModule(module);
|
|
122
|
+
})();`.replace(/\s+/g," ").trim()}getSuffixCode(){const n=new Set;for(const o of this.tokens.tokens)!o.isType&&I(o)&&o.identifierRole!==q.ImportDeclaration&&n.add(this.tokens.identifierNameForToken(o));const s=Array.from(n).map(o=>({variableName:o,uniqueLocalName:o}));return this.extractedDefaultExportName&&s.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`
|
|
123
|
+
;(function () {
|
|
124
|
+
var reactHotLoader = require('react-hot-loader').default;
|
|
125
|
+
var leaveModule = require('react-hot-loader').leaveModule;
|
|
126
|
+
if (!reactHotLoader) {
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
${s.map(({variableName:o,uniqueLocalName:i})=>` reactHotLoader.register(${o}, "${i}", ${JSON.stringify(this.filePath||"")});`).join(`
|
|
130
|
+
`)}
|
|
131
|
+
leaveModule(module);
|
|
132
|
+
})();`}process(){return!1}}const bu=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function Do(e){if(e.length===0||!it[e.charCodeAt(0)])return!1;for(let n=1;n<e.length;n++)if(!le[e.charCodeAt(n)])return!1;return!bu.has(e)}class wu extends ze{constructor(n,s,o){super(),this.rootTransformer=n,this.tokens=s,this.isImportsTransformEnabled=o}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(t._public)||this.tokens.matches1(t._protected)||this.tokens.matches1(t._private)||this.tokens.matches1(t._abstract)||this.tokens.matches1(t._readonly)||this.tokens.matches1(t._override)||this.tokens.matches1(t.nonNullAssertion)?(this.tokens.removeInitialToken(),!0):this.tokens.matches1(t._enum)||this.tokens.matches2(t._const,t._enum)?(this.processEnum(),!0):this.tokens.matches2(t._export,t._enum)||this.tokens.matches3(t._export,t._const,t._enum)?(this.processEnum(!0),!0):!1}processEnum(n=!1){for(this.tokens.removeInitialToken();this.tokens.matches1(t._const)||this.tokens.matches1(t._enum);)this.tokens.removeToken();const s=this.tokens.identifierName();this.tokens.removeToken(),n&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${s}; (function (${s})`),this.tokens.copyExpectedToken(t.braceL),this.processEnumBody(s),this.tokens.copyExpectedToken(t.braceR),n&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${s} || (exports.${s} = ${s} = {}));`):this.tokens.appendCode(`)(${s} || (${s} = {}));`)}processEnumBody(n){let s=null;for(;!this.tokens.matches1(t.braceR);){const{nameStringCode:o,variableName:i}=this.extractEnumKeyInfo(this.tokens.currentToken());this.tokens.removeInitialToken(),this.tokens.matches3(t.eq,t.string,t.comma)||this.tokens.matches3(t.eq,t.string,t.braceR)?this.processStringLiteralEnumMember(n,o,i):this.tokens.matches1(t.eq)?this.processExplicitValueEnumMember(n,o,i):this.processImplicitValueEnumMember(n,o,i,s),this.tokens.matches1(t.comma)&&this.tokens.removeToken(),i!=null?s=i:s=`${n}[${o}]`}}extractEnumKeyInfo(n){if(n.type===t.name){const s=this.tokens.identifierNameForToken(n);return{nameStringCode:`"${s}"`,variableName:Do(s)?s:null}}else if(n.type===t.string){const s=this.tokens.stringValueForToken(n);return{nameStringCode:this.tokens.code.slice(n.start,n.end),variableName:Do(s)?s:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(n,s,o){o!=null?(this.tokens.appendCode(`const ${o}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${n}[${s}] = ${o};`)):(this.tokens.appendCode(`${n}[${s}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(n,s,o){const i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected rhsEndIndex on enum assign.");if(o!=null){for(this.tokens.appendCode(`const ${o}`),this.tokens.copyToken();this.tokens.currentIndex()<i;)this.rootTransformer.processToken();this.tokens.appendCode(`; ${n}[${n}[${s}] = ${o}] = ${s};`)}else{for(this.tokens.appendCode(`${n}[${n}[${s}]`),this.tokens.copyToken();this.tokens.currentIndex()<i;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${s};`)}}processImplicitValueEnumMember(n,s,o,i){let a=i!=null?`${i} + 1`:"0";o!=null&&(this.tokens.appendCode(`const ${o} = ${a}; `),a=o),this.tokens.appendCode(`${n}[${n}[${s}] = ${a}] = ${s};`)}}class bn{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(n,s,o,i){bn.prototype.__init.call(this),bn.prototype.__init2.call(this),this.nameManager=n.nameManager,this.helperManager=n.helperManager;const{tokenProcessor:a,importProcessor:h}=n;this.tokens=a,this.isImportsTransformEnabled=s.includes("imports"),this.isReactHotLoaderTransformEnabled=s.includes("react-hot-loader"),this.disableESTransforms=!!i.disableESTransforms,i.disableESTransforms||(this.transformers.push(new xu(a,this.nameManager)),this.transformers.push(new _u(a)),this.transformers.push(new yu(a,this.nameManager))),s.includes("jsx")&&(i.jsxRuntime!=="preserve"&&this.transformers.push(new at(this,a,h,this.nameManager,i)),this.transformers.push(new Iu(this,a,h,i)));let p=null;if(s.includes("react-hot-loader")){if(!i.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");p=new bs(a,i.filePath),this.transformers.push(p)}if(s.includes("imports")){if(h===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new Wt(this,a,h,this.nameManager,this.helperManager,p,o,!!i.enableLegacyTypeScriptModuleInterop,s.includes("typescript"),s.includes("flow"),!!i.preserveDynamicImport,!!i.keepUnusedImports))}else this.transformers.push(new mu(a,this.nameManager,this.helperManager,p,s.includes("typescript"),s.includes("flow"),!!i.keepUnusedImports,i));s.includes("flow")&&this.transformers.push(new du(this,a,s.includes("imports"))),s.includes("typescript")&&this.transformers.push(new wu(this,a,s.includes("imports"))),s.includes("jest")&&this.transformers.push(new Is(this,a,this.nameManager,h))}transform(){this.tokens.reset(),this.processBalancedCode();let s=this.isImportsTransformEnabled?'"use strict";':"";for(const h of this.transformers)s+=h.getPrefixCode();s+=this.helperManager.emitHelpers(),s+=this.generatedVariables.map(h=>` var ${h};`).join("");for(const h of this.transformers)s+=h.getHoistedCode();let o="";for(const h of this.transformers)o+=h.getSuffixCode();const i=this.tokens.finish();let{code:a}=i;if(a.startsWith("#!")){let h=a.indexOf(`
|
|
133
|
+
`);return h===-1&&(h=a.length,a+=`
|
|
134
|
+
`),{code:a.slice(0,h+1)+s+a.slice(h+1)+o,mappings:this.shiftMappings(i.mappings,s.length)}}else return{code:s+a+o,mappings:this.shiftMappings(i.mappings,s.length)}}processBalancedCode(){let n=0,s=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(t.braceL)||this.tokens.matches1(t.dollarBraceL))n++;else if(this.tokens.matches1(t.braceR)){if(n===0)return;n--}if(this.tokens.matches1(t.parenL))s++;else if(this.tokens.matches1(t.parenR)){if(s===0)return;s--}this.processToken()}}processToken(){if(this.tokens.matches1(t._class)){this.processClass();return}for(const n of this.transformers)if(n.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(t._class,t.name))throw new Error("Expected identifier for exported class name.");const n=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),n}processClass(){const n=hu(this,this.tokens,this.nameManager,this.disableESTransforms),s=(n.headerInfo.isExpression||!n.headerInfo.className)&&n.staticInitializerNames.length+n.instanceInitializerNames.length>0;let o=n.headerInfo.className;s&&(o=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(o),this.tokens.appendCode(` (${o} =`));const a=this.tokens.currentToken().contextId;if(a==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(t._class);!this.tokens.matchesContextIdAndLabel(t.braceL,a);)this.processToken();this.processClassBody(n,o);const h=n.staticInitializerNames.map(p=>`${o}.${p}()`);s?this.tokens.appendCode(`, ${h.map(p=>`${p}, `).join("")}${o})`):n.staticInitializerNames.length>0&&this.tokens.appendCode(` ${h.map(p=>`${p};`).join(" ")}`)}processClassBody(n,s){const{headerInfo:o,constructorInsertPos:i,constructorInitializerStatements:a,fields:h,instanceInitializerNames:p,rangesToRemove:d}=n;let y=0,T=0;const S=this.tokens.currentToken().contextId;if(S==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(t.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");const x=a.length+p.length>0;if(i===null&&x){const E=this.makeConstructorInitCode(a,p,s);if(o.hasSuperclass){const M=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${M}) { super(...${M}); ${E}; }`)}else this.tokens.appendCode(`constructor() { ${E}; }`)}for(;!this.tokens.matchesContextIdAndLabel(t.braceR,S);)if(y<h.length&&this.tokens.currentIndex()===h[y].start){let E=!1;for(this.tokens.matches1(t.bracketL)?this.tokens.copyTokenWithPrefix(`${h[y].initializerName}() {this`):this.tokens.matches1(t.string)||this.tokens.matches1(t.num)?(this.tokens.copyTokenWithPrefix(`${h[y].initializerName}() {this[`),E=!0):this.tokens.copyTokenWithPrefix(`${h[y].initializerName}() {this.`);this.tokens.currentIndex()<h[y].end;)E&&this.tokens.currentIndex()===h[y].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),y++}else if(T<d.length&&this.tokens.currentIndex()>=d[T].start){for(this.tokens.currentIndex()<d[T].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<d[T].end;)this.tokens.removeToken();T++}else this.tokens.currentIndex()===i?(this.tokens.copyToken(),x&&this.tokens.appendCode(`;${this.makeConstructorInitCode(a,p,s)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(t.braceR)}makeConstructorInitCode(n,s,o){return[...n,...s.map(i=>`${o}.prototype.${i}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(t.parenR,t.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let n=this.tokens.currentIndex()+1;for(;this.tokens.tokens[n].isType;)n++;if(this.tokens.matches1AtIndex(n,t.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<n;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(l._async)&&!this.tokens.matches1(t._async))return!1;const n=this.tokens.tokenAtRelativeIndex(1);if(n.type!==t.lessThan||!n.isType)return!1;let s=this.tokens.currentIndex()+1;for(;this.tokens.tokens[s].isType;)s++;if(this.tokens.matches1AtIndex(s,t.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<s;)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return!0}return!1}shiftMappings(n,s){for(let o=0;o<n.length;o++){const i=n[o];i!==void 0&&(n[o]=i+s)}return n}}var Sh=te(74086);function Eh(e,n){if(n.length===0)return"";const s=Object.keys(n[0]).filter(x=>x!=="type"&&x!=="value"&&x!=="start"&&x!=="end"&&x!=="loc"),o=Object.keys(n[0].type).filter(x=>x!=="label"&&x!=="keyword"),i=["Location","Label","Raw",...s,...o],a=new LinesAndColumns(e),h=[i,...n.map(d)],p=i.map(()=>0);for(const x of h)for(let E=0;E<x.length;E++)p[E]=Math.max(p[E],x[E].length);return h.map(x=>x.map((E,M)=>E.padEnd(p[M])).join(" ")).join(`
|
|
135
|
+
`);function d(x){const E=e.slice(x.start,x.end);return[T(x.start,x.end),formatTokenType(x.type),Tu(String(E),14),...s.map(M=>y(x[M],M)),...o.map(M=>y(x.type[M],M))]}function y(x,E){return x===!0?E:x===!1||x===null?"":String(x)}function T(x,E){return`${S(x)}-${S(E)}`}function S(x){const E=a.locationForIndex(x);return E?`${E.line+1}:${E.column+1}`:"Unknown"}}function Tu(e,n){return e.length>n?`${e.slice(0,n-3)}...`:e}function Su(e){const n=new Set;for(let s=0;s<e.tokens.length;s++)e.matches1AtIndex(s,t._import)&&!e.matches3AtIndex(s,t._import,t.name,t.eq)&&Eu(e,s,n);return n}function Eu(e,n,s){n++,!e.matches1AtIndex(n,t.parenL)&&(e.matches1AtIndex(n,t.name)&&(s.add(e.identifierNameAtIndex(n)),n++,e.matches1AtIndex(n,t.comma)&&n++),e.matches1AtIndex(n,t.star)&&(n+=2,s.add(e.identifierNameAtIndex(n)),n++),e.matches1AtIndex(n,t.braceL)&&(n++,vu(e,n,s)))}function vu(e,n,s){for(;;){if(e.matches1AtIndex(n,t.braceR))return;const o=Rt(e,n);if(n=o.endIndex,o.isType||s.add(o.rightName),e.matches2AtIndex(n,t.comma,t.braceR))return;if(e.matches1AtIndex(n,t.braceR))return;if(e.matches1AtIndex(n,t.comma))n++;else throw new Error(`Unexpected token: ${JSON.stringify(e.tokens[n])}`)}}function vh(){return"3.35.1"}function Au(e,n){Hi(n);try{const s=Oo(e,n),i=new bn(s,n.transforms,!!n.enableLegacyBabel5ModuleInterop,n).transform();let a={code:i.code};if(n.sourceMapOptions){if(!n.filePath)throw new Error("filePath must be specified when generating a source map.");a=$o(qo({},a),{sourceMap:Li(i,n.filePath,n.sourceMapOptions,e,s.tokenProcessor.tokens)})}return a}catch(s){throw n.filePath&&(s.message=`Error transforming ${n.filePath}: ${s.message}`),s}}function Ah(e,n){const s=Oo(e,n).tokenProcessor.tokens;return formatTokens(e,s)}function Oo(e,n){const s=n.transforms.includes("jsx"),o=n.transforms.includes("typescript"),i=n.transforms.includes("flow"),a=n.disableESTransforms===!0,h=lu(e,s,o,i),p=h.tokens,d=h.scopes,y=new Mn(e,p),T=new nn(y),S=new Ht(e,p,i,a,T),x=!!n.enableLegacyTypeScriptModuleInterop;let E=null;return n.transforms.includes("imports")?(E=new ct(y,S,x,n,n.transforms.includes("typescript"),!!n.keepUnusedImports,T),E.preprocessTokens(),C1(S,d,E.getGlobalNames()),n.transforms.includes("typescript")&&!n.keepUnusedImports&&E.pruneTypeOnlyImports()):n.transforms.includes("typescript")&&!n.keepUnusedImports&&C1(S,d,Su(S)),{tokenProcessor:S,scopes:d,nameManager:y,importProcessor:E,helperManager:T}}function ws(e){"@babel/helpers - typeof";return ws=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ws(e)}function Ts(){"use strict";Ts=function(){return e};var e={},n=Object.prototype,s=n.hasOwnProperty,o=Object.defineProperty||function(L,w,C){L[w]=C.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",h=i.asyncIterator||"@@asyncIterator",p=i.toStringTag||"@@toStringTag";function d(L,w,C){return Object.defineProperty(L,w,{value:C,enumerable:!0,configurable:!0,writable:!0}),L[w]}try{d({},"")}catch(L){d=function(C,H,Y){return C[H]=Y}}function y(L,w,C,H){var Y=w&&w.prototype instanceof x?w:x,G=Object.create(Y.prototype),pe=new ve(H||[]);return o(G,"_invoke",{value:Ce(L,C,pe)}),G}function T(L,w,C){try{return{type:"normal",arg:L.call(w,C)}}catch(H){return{type:"throw",arg:H}}}e.wrap=y;var S={};function x(){}function E(){}function M(){}var Z={};d(Z,a,function(){return this});var se=Object.getPrototypeOf,he=se&&se(se(je([])));he&&he!==n&&s.call(he,a)&&(Z=he);var me=M.prototype=x.prototype=Object.create(Z);function fe(L){["next","throw","return"].forEach(function(w){d(L,w,function(C){return this._invoke(w,C)})})}function ke(L,w){function C(Y,G,pe,be){var Se=T(L[Y],L,G);if(Se.type!=="throw"){var Ue=Se.arg,Be=Ue.value;return Be&&ws(Be)=="object"&&s.call(Be,"__await")?w.resolve(Be.__await).then(function(Ve){C("next",Ve,pe,be)},function(Ve){C("throw",Ve,pe,be)}):w.resolve(Be).then(function(Ve){Ue.value=Ve,pe(Ue)},function(Ve){return C("throw",Ve,pe,be)})}be(Se.arg)}var H;o(this,"_invoke",{value:function(G,pe){function be(){return new w(function(Se,Ue){C(G,pe,Se,Ue)})}return H=H?H.then(be,be):be()}})}function Ce(L,w,C){var H="suspendedStart";return function(Y,G){if(H==="executing")throw new Error("Generator is already running");if(H==="completed"){if(Y==="throw")throw G;return Xe()}for(C.method=Y,C.arg=G;;){var pe=C.delegate;if(pe){var be=ye(pe,C);if(be){if(be===S)continue;return be}}if(C.method==="next")C.sent=C._sent=C.arg;else if(C.method==="throw"){if(H==="suspendedStart")throw H="completed",C.arg;C.dispatchException(C.arg)}else C.method==="return"&&C.abrupt("return",C.arg);H="executing";var Se=T(L,w,C);if(Se.type==="normal"){if(H=C.done?"completed":"suspendedYield",Se.arg===S)continue;return{value:Se.arg,done:C.done}}Se.type==="throw"&&(H="completed",C.method="throw",C.arg=Se.arg)}}}function ye(L,w){var C=w.method,H=L.iterator[C];if(H===void 0)return w.delegate=null,C==="throw"&&L.iterator.return&&(w.method="return",w.arg=void 0,ye(L,w),w.method==="throw")||C!=="return"&&(w.method="throw",w.arg=new TypeError("The iterator does not provide a '"+C+"' method")),S;var Y=T(H,L.iterator,w.arg);if(Y.type==="throw")return w.method="throw",w.arg=Y.arg,w.delegate=null,S;var G=Y.arg;return G?G.done?(w[L.resultName]=G.value,w.next=L.nextLoc,w.method!=="return"&&(w.method="next",w.arg=void 0),w.delegate=null,S):G:(w.method="throw",w.arg=new TypeError("iterator result is not an object"),w.delegate=null,S)}function Le(L){var w={tryLoc:L[0]};1 in L&&(w.catchLoc=L[1]),2 in L&&(w.finallyLoc=L[2],w.afterLoc=L[3]),this.tryEntries.push(w)}function Ee(L){var w=L.completion||{};w.type="normal",delete w.arg,L.completion=w}function ve(L){this.tryEntries=[{tryLoc:"root"}],L.forEach(Le,this),this.reset(!0)}function je(L){if(L){var w=L[a];if(w)return w.call(L);if(typeof L.next=="function")return L;if(!isNaN(L.length)){var C=-1,H=function Y(){for(;++C<L.length;)if(s.call(L,C))return Y.value=L[C],Y.done=!1,Y;return Y.value=void 0,Y.done=!0,Y};return H.next=H}}return{next:Xe}}function Xe(){return{value:void 0,done:!0}}return E.prototype=M,o(me,"constructor",{value:M,configurable:!0}),o(M,"constructor",{value:E,configurable:!0}),E.displayName=d(M,p,"GeneratorFunction"),e.isGeneratorFunction=function(L){var w=typeof L=="function"&&L.constructor;return!!w&&(w===E||(w.displayName||w.name)==="GeneratorFunction")},e.mark=function(L){return Object.setPrototypeOf?Object.setPrototypeOf(L,M):(L.__proto__=M,d(L,p,"GeneratorFunction")),L.prototype=Object.create(me),L},e.awrap=function(L){return{__await:L}},fe(ke.prototype),d(ke.prototype,h,function(){return this}),e.AsyncIterator=ke,e.async=function(L,w,C,H,Y){Y===void 0&&(Y=Promise);var G=new ke(y(L,w,C,H),Y);return e.isGeneratorFunction(w)?G:G.next().then(function(pe){return pe.done?pe.value:G.next()})},fe(me),d(me,p,"Generator"),d(me,a,function(){return this}),d(me,"toString",function(){return"[object Generator]"}),e.keys=function(L){var w=Object(L),C=[];for(var H in w)C.push(H);return C.reverse(),function Y(){for(;C.length;){var G=C.pop();if(G in w)return Y.value=G,Y.done=!1,Y}return Y.done=!0,Y}},e.values=je,ve.prototype={constructor:ve,reset:function(w){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(Ee),!w)for(var C in this)C.charAt(0)==="t"&&s.call(this,C)&&!isNaN(+C.slice(1))&&(this[C]=void 0)},stop:function(){this.done=!0;var w=this.tryEntries[0].completion;if(w.type==="throw")throw w.arg;return this.rval},dispatchException:function(w){if(this.done)throw w;var C=this;function H(Ue,Be){return pe.type="throw",pe.arg=w,C.next=Ue,Be&&(C.method="next",C.arg=void 0),!!Be}for(var Y=this.tryEntries.length-1;Y>=0;--Y){var G=this.tryEntries[Y],pe=G.completion;if(G.tryLoc==="root")return H("end");if(G.tryLoc<=this.prev){var be=s.call(G,"catchLoc"),Se=s.call(G,"finallyLoc");if(be&&Se){if(this.prev<G.catchLoc)return H(G.catchLoc,!0);if(this.prev<G.finallyLoc)return H(G.finallyLoc)}else if(be){if(this.prev<G.catchLoc)return H(G.catchLoc,!0)}else{if(!Se)throw new Error("try statement without catch or finally");if(this.prev<G.finallyLoc)return H(G.finallyLoc)}}}},abrupt:function(w,C){for(var H=this.tryEntries.length-1;H>=0;--H){var Y=this.tryEntries[H];if(Y.tryLoc<=this.prev&&s.call(Y,"finallyLoc")&&this.prev<Y.finallyLoc){var G=Y;break}}G&&(w==="break"||w==="continue")&&G.tryLoc<=C&&C<=G.finallyLoc&&(G=null);var pe=G?G.completion:{};return pe.type=w,pe.arg=C,G?(this.method="next",this.next=G.finallyLoc,S):this.complete(pe)},complete:function(w,C){if(w.type==="throw")throw w.arg;return w.type==="break"||w.type==="continue"?this.next=w.arg:w.type==="return"?(this.rval=this.arg=w.arg,this.method="return",this.next="end"):w.type==="normal"&&C&&(this.next=C),S},finish:function(w){for(var C=this.tryEntries.length-1;C>=0;--C){var H=this.tryEntries[C];if(H.finallyLoc===w)return this.complete(H.completion,H.afterLoc),Ee(H),S}},catch:function(w){for(var C=this.tryEntries.length-1;C>=0;--C){var H=this.tryEntries[C];if(H.tryLoc===w){var Y=H.completion;if(Y.type==="throw"){var G=Y.arg;Ee(H)}return G}}throw new Error("illegal catch attempt")},delegateYield:function(w,C,H){return this.delegate={iterator:je(w),resultName:C,nextLoc:H},this.method==="next"&&(this.arg=void 0),S}},e}function Fo(e,n,s,o,i,a,h){try{var p=e[a](h),d=p.value}catch(y){s(y);return}p.done?n(d):Promise.resolve(d).then(o,i)}function Nu(e){return function(){var n=this,s=arguments;return new Promise(function(o,i){var a=e.apply(n,s);function h(d){Fo(a,o,i,h,p,"next",d)}function p(d){Fo(a,o,i,h,p,"throw",d)}h(void 0)})}}var Cu=function(){var e=Nu(Ts().mark(function n(s){return Ts().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",Au(s,{transforms:["typescript","jsx","imports"]}).code);case 1:case"end":return i.stop()}},n)}));return function(s){return e.apply(this,arguments)}}(),Pu=Cu},74086:function(ge,g){"use strict";var te;te=!0,te=void 0;var l=`
|
|
136
|
+
`,t="\r",Ae=function(){function B(W){this.string=W;for(var F=[0],u=0;u<W.length;)switch(W[u]){case l:u+=l.length,F.push(u);break;case t:u+=t.length,W[u]===l&&(u+=l.length),F.push(u);break;default:u++;break}this.offsets=F}return B.prototype.locationForIndex=function(W){if(W<0||W>this.string.length)return null;for(var F=0,u=this.offsets;u[F+1]<=W;)F++;var D=W-u[F];return{line:F,column:D}},B.prototype.indexForLocation=function(W){var F=W.line,u=W.column;return F<0||F>=this.offsets.length||u<0||u>this.lengthOfLine(F)?null:this.offsets[F]+u},B.prototype.lengthOfLine=function(W){var F=this.offsets[W],u=W===this.offsets.length-1?this.string.length:this.offsets[W+1];return u-F},B}();te=Ae,te=Ae},81794:function(ge,g,te){"use strict";var l=this&&this.__spreadArrays||function(){for(var D=0,R=0,v=arguments.length;R<v;R++)D+=arguments[R].length;for(var $=Array(D),r=0,R=0;R<v;R++)for(var b=arguments[R],De=0,V=b.length;De<V;De++,r++)$[r]=b[De];return $};Object.defineProperty(g,"__esModule",{value:!0}),g.Checker=g.createCheckers=void 0;var t=te(50951),Ae=te(25361),B=te(50951);Object.defineProperty(g,"TArray",{enumerable:!0,get:function(){return B.TArray}}),Object.defineProperty(g,"TEnumType",{enumerable:!0,get:function(){return B.TEnumType}}),Object.defineProperty(g,"TEnumLiteral",{enumerable:!0,get:function(){return B.TEnumLiteral}}),Object.defineProperty(g,"TFunc",{enumerable:!0,get:function(){return B.TFunc}}),Object.defineProperty(g,"TIface",{enumerable:!0,get:function(){return B.TIface}}),Object.defineProperty(g,"TLiteral",{enumerable:!0,get:function(){return B.TLiteral}}),Object.defineProperty(g,"TName",{enumerable:!0,get:function(){return B.TName}}),Object.defineProperty(g,"TOptional",{enumerable:!0,get:function(){return B.TOptional}}),Object.defineProperty(g,"TParam",{enumerable:!0,get:function(){return B.TParam}}),Object.defineProperty(g,"TParamList",{enumerable:!0,get:function(){return B.TParamList}}),Object.defineProperty(g,"TProp",{enumerable:!0,get:function(){return B.TProp}}),Object.defineProperty(g,"TTuple",{enumerable:!0,get:function(){return B.TTuple}}),Object.defineProperty(g,"TType",{enumerable:!0,get:function(){return B.TType}}),Object.defineProperty(g,"TUnion",{enumerable:!0,get:function(){return B.TUnion}}),Object.defineProperty(g,"TIntersection",{enumerable:!0,get:function(){return B.TIntersection}}),Object.defineProperty(g,"array",{enumerable:!0,get:function(){return B.array}}),Object.defineProperty(g,"enumlit",{enumerable:!0,get:function(){return B.enumlit}}),Object.defineProperty(g,"enumtype",{enumerable:!0,get:function(){return B.enumtype}}),Object.defineProperty(g,"func",{enumerable:!0,get:function(){return B.func}}),Object.defineProperty(g,"iface",{enumerable:!0,get:function(){return B.iface}}),Object.defineProperty(g,"lit",{enumerable:!0,get:function(){return B.lit}}),Object.defineProperty(g,"name",{enumerable:!0,get:function(){return B.name}}),Object.defineProperty(g,"opt",{enumerable:!0,get:function(){return B.opt}}),Object.defineProperty(g,"param",{enumerable:!0,get:function(){return B.param}}),Object.defineProperty(g,"tuple",{enumerable:!0,get:function(){return B.tuple}}),Object.defineProperty(g,"union",{enumerable:!0,get:function(){return B.union}}),Object.defineProperty(g,"intersection",{enumerable:!0,get:function(){return B.intersection}}),Object.defineProperty(g,"BasicType",{enumerable:!0,get:function(){return B.BasicType}});var W=te(25361);Object.defineProperty(g,"VError",{enumerable:!0,get:function(){return W.VError}});function F(){for(var D=[],R=0;R<arguments.length;R++)D[R]=arguments[R];for(var v=Object.assign.apply(Object,l([{},t.basicTypes],D)),$={},r=0,b=D;r<b.length;r++)for(var De=b[r],V=0,ee=Object.keys(De);V<ee.length;V++){var K=ee[V];$[K]=new u(v,De[K])}return $}g.createCheckers=F;var u=function(){function D(R,v,$){if($===void 0&&($="value"),this.suite=R,this.ttype=v,this._path=$,this.props=new Map,v instanceof t.TIface)for(var r=0,b=v.props;r<b.length;r++){var De=b[r];this.props.set(De.name,De.ttype)}this.checkerPlain=this.ttype.getChecker(R,!1),this.checkerStrict=this.ttype.getChecker(R,!0)}return D.prototype.setReportedPath=function(R){this._path=R},D.prototype.check=function(R){return this._doCheck(this.checkerPlain,R)},D.prototype.test=function(R){return this.checkerPlain(R,new Ae.NoopContext)},D.prototype.validate=function(R){return this._doValidate(this.checkerPlain,R)},D.prototype.strictCheck=function(R){return this._doCheck(this.checkerStrict,R)},D.prototype.strictTest=function(R){return this.checkerStrict(R,new Ae.NoopContext)},D.prototype.strictValidate=function(R){return this._doValidate(this.checkerStrict,R)},D.prototype.getProp=function(R){var v=this.props.get(R);if(!v)throw new Error("Type has no property "+R);return new D(this.suite,v,this._path+"."+R)},D.prototype.methodArgs=function(R){var v=this._getMethod(R);return new D(this.suite,v.paramList)},D.prototype.methodResult=function(R){var v=this._getMethod(R);return new D(this.suite,v.result)},D.prototype.getArgs=function(){if(!(this.ttype instanceof t.TFunc))throw new Error("getArgs() applied to non-function");return new D(this.suite,this.ttype.paramList)},D.prototype.getResult=function(){if(!(this.ttype instanceof t.TFunc))throw new Error("getResult() applied to non-function");return new D(this.suite,this.ttype.result)},D.prototype.getType=function(){return this.ttype},D.prototype._doCheck=function(R,v){var $=new Ae.NoopContext;if(!R(v,$)){var r=new Ae.DetailContext;throw R(v,r),r.getError(this._path)}},D.prototype._doValidate=function(R,v){var $=new Ae.NoopContext;if(R(v,$))return null;var r=new Ae.DetailContext;return R(v,r),r.getErrorDetail(this._path)},D.prototype._getMethod=function(R){var v=this.props.get(R);if(!v)throw new Error("Type has no property "+R);if(!(v instanceof t.TFunc))throw new Error("Property "+R+" is not a method");return v},D}();g.Checker=u},50951:function(ge,g,te){"use strict";var l=te(57861).lW,t=this&&this.__extends||function(){var _=function(I,N){return _=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(P,j){P.__proto__=j}||function(P,j){for(var z in j)j.hasOwnProperty(z)&&(P[z]=j[z])},_(I,N)};return function(I,N){_(I,N);function P(){this.constructor=I}I.prototype=N===null?Object.create(N):(P.prototype=N.prototype,new P)}}();Object.defineProperty(g,"__esModule",{value:!0}),g.basicTypes=g.BasicType=g.TParamList=g.TParam=g.param=g.TFunc=g.func=g.TProp=g.TOptional=g.opt=g.TIface=g.iface=g.TEnumLiteral=g.enumlit=g.TEnumType=g.enumtype=g.TIntersection=g.intersection=g.TUnion=g.union=g.TTuple=g.tuple=g.TArray=g.array=g.TLiteral=g.lit=g.TName=g.name=g.TType=void 0;var Ae=te(25361),B=function(){function _(){}return _}();g.TType=B;function W(_){return typeof _=="string"?u(_):_}function F(_,I){var N=_[I];if(!N)throw new Error("Unknown type "+I);return N}function u(_){return new D(_)}g.name=u;var D=function(_){t(I,_);function I(N){var P=_.call(this)||this;return P.name=N,P._failMsg="is not a "+N,P}return I.prototype.getChecker=function(N,P,j){var z=this,f=F(N,this.name),ne=f.getChecker(N,P,j);return f instanceof le||f instanceof I?ne:function(xe,O){return ne(xe,O)?!0:O.fail(null,z._failMsg,0)}},I}(B);g.TName=D;function R(_){return new v(_)}g.lit=R;var v=function(_){t(I,_);function I(N){var P=_.call(this)||this;return P.value=N,P.name=JSON.stringify(N),P._failMsg="is not "+P.name,P}return I.prototype.getChecker=function(N,P){var j=this;return function(z,f){return z===j.value?!0:f.fail(null,j._failMsg,-1)}},I}(B);g.TLiteral=v;function $(_){return new r(W(_))}g.array=$;var r=function(_){t(I,_);function I(N){var P=_.call(this)||this;return P.ttype=N,P}return I.prototype.getChecker=function(N,P){var j=this.ttype.getChecker(N,P);return function(z,f){if(!Array.isArray(z))return f.fail(null,"is not an array",0);for(var ne=0;ne<z.length;ne++){var xe=j(z[ne],f);if(!xe)return f.fail(ne,null,1)}return!0}},I}(B);g.TArray=r;function b(){for(var _=[],I=0;I<arguments.length;I++)_[I]=arguments[I];return new De(_.map(function(N){return W(N)}))}g.tuple=b;var De=function(_){t(I,_);function I(N){var P=_.call(this)||this;return P.ttypes=N,P}return I.prototype.getChecker=function(N,P){var j=this.ttypes.map(function(f){return f.getChecker(N,P)}),z=function(f,ne){if(!Array.isArray(f))return ne.fail(null,"is not an array",0);for(var xe=0;xe<j.length;xe++){var O=j[xe](f[xe],ne);if(!O)return ne.fail(xe,null,1)}return!0};return P?function(f,ne){return z(f,ne)?f.length<=j.length?!0:ne.fail(j.length,"is extraneous",2):!1}:z},I}(B);g.TTuple=De;function V(){for(var _=[],I=0;I<arguments.length;I++)_[I]=arguments[I];return new ee(_.map(function(N){return W(N)}))}g.union=V;var ee=function(_){t(I,_);function I(N){var P=_.call(this)||this;P.ttypes=N;var j=N.map(function(f){return f instanceof D||f instanceof v?f.name:null}).filter(function(f){return f}),z=N.length-j.length;return j.length?(z>0&&j.push(z+" more"),P._failMsg="is none of "+j.join(", ")):P._failMsg="is none of "+z+" types",P}return I.prototype.getChecker=function(N,P){var j=this,z=this.ttypes.map(function(f){return f.getChecker(N,P)});return function(f,ne){for(var xe=ne.unionResolver(),O=0;O<z.length;O++){var U=z[O](f,xe.createContext());if(U)return!0}return ne.resolveUnion(xe),ne.fail(null,j._failMsg,0)}},I}(B);g.TUnion=ee;function K(){for(var _=[],I=0;I<arguments.length;I++)_[I]=arguments[I];return new Ne(_.map(function(N){return W(N)}))}g.intersection=K;var Ne=function(_){t(I,_);function I(N){var P=_.call(this)||this;return P.ttypes=N,P}return I.prototype.getChecker=function(N,P){var j=new Set,z=this.ttypes.map(function(f){return f.getChecker(N,P,j)});return function(f,ne){var xe=z.every(function(O){return O(f,ne)});return xe?!0:ne.fail(null,null,0)}},I}(B);g.TIntersection=Ne;function Oe(_){return new A(_)}g.enumtype=Oe;var A=function(_){t(I,_);function I(N){var P=_.call(this)||this;return P.members=N,P.validValues=new Set,P._failMsg="is not a valid enum value",P.validValues=new Set(Object.keys(N).map(function(j){return N[j]})),P}return I.prototype.getChecker=function(N,P){var j=this;return function(z,f){return j.validValues.has(z)?!0:f.fail(null,j._failMsg,0)}},I}(B);g.TEnumType=A;function Me(_,I){return new ce(_,I)}g.enumlit=Me;var ce=function(_){t(I,_);function I(N,P){var j=_.call(this)||this;return j.enumName=N,j.prop=P,j._failMsg="is not "+N+"."+P,j}return I.prototype.getChecker=function(N,P){var j=this,z=F(N,this.enumName);if(!(z instanceof A))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var f=z.members[this.prop];if(!z.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(ne,xe){return ne===f?!0:xe.fail(null,j._failMsg,-1)}},I}(B);g.TEnumLiteral=ce;function oe(_){return Object.keys(_).map(function(I){return we(I,_[I])})}function we(_,I){return I instanceof ae?new k(_,I.ttype,!0):new k(_,W(I),!1)}function Fe(_,I){return new Et(_,oe(I))}g.iface=Fe;var Et=function(_){t(I,_);function I(N,P){var j=_.call(this)||this;return j.bases=N,j.props=P,j.propSet=new Set(P.map(function(z){return z.name})),j}return I.prototype.getChecker=function(N,P,j){var z=this,f=this.bases.map(function(Te){return F(N,Te).getChecker(N,P)}),ne=this.props.map(function(Te){return Te.ttype.getChecker(N,P)}),xe=new Ae.NoopContext,O=this.props.map(function(Te,c){return!Te.isOpt&&!ne[c](void 0,xe)}),U=function(Te,c){if(typeof Te!="object"||Te===null)return c.fail(null,"is not an object",0);for(var re=0;re<f.length;re++)if(!f[re](Te,c))return!1;for(var re=0;re<ne.length;re++){var Ct=z.props[re].name,et=Te[Ct];if(et===void 0){if(O[re])return c.fail(Ct,"is missing",1)}else{var Pt=ne[re](et,c);if(!Pt)return c.fail(Ct,null,1)}}return!0};if(!P)return U;var m=this.propSet;return j&&(this.propSet.forEach(function(Te){return j.add(Te)}),m=j),function(Te,c){if(!U(Te,c))return!1;for(var re in Te)if(!m.has(re))return c.fail(re,"is extraneous",2);return!0}},I}(B);g.TIface=Et;function We(_){return new ae(W(_))}g.opt=We;var ae=function(_){t(I,_);function I(N){var P=_.call(this)||this;return P.ttype=N,P}return I.prototype.getChecker=function(N,P){var j=this.ttype.getChecker(N,P);return function(z,f){return z===void 0||j(z,f)}},I}(B);g.TOptional=ae;var k=function(){function _(I,N,P){this.name=I,this.ttype=N,this.isOpt=P}return _}();g.TProp=k;function J(_){for(var I=[],N=1;N<arguments.length;N++)I[N-1]=arguments[N];return new vt(new zt(I),W(_))}g.func=J;var vt=function(_){t(I,_);function I(N,P){var j=_.call(this)||this;return j.paramList=N,j.result=P,j}return I.prototype.getChecker=function(N,P){return function(j,z){return typeof j=="function"?!0:z.fail(null,"is not a function",0)}},I}(B);g.TFunc=vt;function Xt(_,I,N){return new At(_,W(I),!!N)}g.param=Xt;var At=function(){function _(I,N,P){this.name=I,this.ttype=N,this.isOpt=P}return _}();g.TParam=At;var zt=function(_){t(I,_);function I(N){var P=_.call(this)||this;return P.params=N,P}return I.prototype.getChecker=function(N,P){var j=this,z=this.params.map(function(O){return O.ttype.getChecker(N,P)}),f=new Ae.NoopContext,ne=this.params.map(function(O,U){return!O.isOpt&&!z[U](void 0,f)}),xe=function(O,U){if(!Array.isArray(O))return U.fail(null,"is not an array",0);for(var m=0;m<z.length;m++){var Te=j.params[m];if(O[m]===void 0){if(ne[m])return U.fail(Te.name,"is missing",1)}else{var c=z[m](O[m],U);if(!c)return U.fail(Te.name,null,1)}}return!0};return P?function(O,U){return xe(O,U)?O.length<=z.length?!0:U.fail(z.length,"is extraneous",2):!1}:xe},I}(B);g.TParamList=zt;var le=function(_){t(I,_);function I(N,P){var j=_.call(this)||this;return j.validator=N,j.message=P,j}return I.prototype.getChecker=function(N,P){var j=this;return function(z,f){return j.validator(z)?!0:f.fail(null,j.message,0)}},I}(B);g.BasicType=le,g.basicTypes={any:new le(function(_){return!0},"is invalid"),number:new le(function(_){return typeof _=="number"},"is not a number"),object:new le(function(_){return typeof _=="object"&&_},"is not an object"),boolean:new le(function(_){return typeof _=="boolean"},"is not a boolean"),string:new le(function(_){return typeof _=="string"},"is not a string"),symbol:new le(function(_){return typeof _=="symbol"},"is not a symbol"),void:new le(function(_){return _==null},"is not void"),undefined:new le(function(_){return _===void 0},"is not undefined"),null:new le(function(_){return _===null},"is not null"),never:new le(function(_){return!1},"is unexpected"),Date:new le(Nt("[object Date]"),"is not a Date"),RegExp:new le(Nt("[object RegExp]"),"is not a RegExp")};var it=Object.prototype.toString;function Nt(_){return function(I){return typeof I=="object"&&I&&it.call(I)===_}}typeof l!="undefined"&&(g.basicTypes.Buffer=new le(function(_){return l.isBuffer(_)},"is not a Buffer"));for(var Tn=function(_){g.basicTypes[_.name]=new le(function(I){return I instanceof _},"is not a "+_.name)},q=0,qe=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];q<qe.length;q++){var Yt=qe[q];Tn(Yt)}},25361:function(ge,g){"use strict";var te=this&&this.__extends||function(){var W=function(F,u){return W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(D,R){D.__proto__=R}||function(D,R){for(var v in R)R.hasOwnProperty(v)&&(D[v]=R[v])},W(F,u)};return function(F,u){W(F,u);function D(){this.constructor=F}F.prototype=u===null?Object.create(u):(D.prototype=u.prototype,new D)}}();Object.defineProperty(g,"__esModule",{value:!0}),g.DetailContext=g.NoopContext=g.VError=void 0;var l=function(W){te(F,W);function F(u,D){var R=W.call(this,D)||this;return R.path=u,Object.setPrototypeOf(R,F.prototype),R}return F}(Error);g.VError=l;var t=function(){function W(){}return W.prototype.fail=function(F,u,D){return!1},W.prototype.unionResolver=function(){return this},W.prototype.createContext=function(){return this},W.prototype.resolveUnion=function(F){},W}();g.NoopContext=t;var Ae=function(){function W(){this._propNames=[""],this._messages=[null],this._score=0}return W.prototype.fail=function(F,u,D){return this._propNames.push(F),this._messages.push(u),this._score+=D,!1},W.prototype.unionResolver=function(){return new B},W.prototype.resolveUnion=function(F){for(var u,D,R=F,v=null,$=0,r=R.contexts;$<r.length;$++){var b=r[$];(!v||b._score>=v._score)&&(v=b)}v&&v._score>0&&((u=this._propNames).push.apply(u,v._propNames),(D=this._messages).push.apply(D,v._messages))},W.prototype.getError=function(F){for(var u=[],D=this._propNames.length-1;D>=0;D--){var R=this._propNames[D];F+=typeof R=="number"?"["+R+"]":R?"."+R:"";var v=this._messages[D];v&&u.push(F+" "+v)}return new l(F,u.join("; "))},W.prototype.getErrorDetail=function(F){for(var u=[],D=this._propNames.length-1;D>=0;D--){var R=this._propNames[D];F+=typeof R=="number"?"["+R+"]":R?"."+R:"";var v=this._messages[D];v&&u.push({path:F,message:v})}for(var $=null,D=u.length-1;D>=0;D--)$&&(u[D].nested=[$]),$=u[D];return $},W}();g.DetailContext=Ae;var B=function(){function W(){this.contexts=[]}return W.prototype.createContext=function(){var F=new Ae;return this.contexts.push(F),F},W}()}}]);
|
|
137
|
+
}());
|