n8n-editor-ui 2.3.0 → 2.3.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/dist/assets/{AddDataTableModal-DCAGS6g7.js → AddDataTableModal-CZ7H2ls-.js} +13 -14
- package/dist/assets/{AgentEditorModal-D0zSOaNC.js → AgentEditorModal-CYfc87dn.js} +20 -21
- package/dist/assets/{Alert-C3_SkWnL.js → Alert-BSiQ7W4W.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee-CF7otrg2.js → AnnotationTagsDropdown.ee-DZn9-8CS.js} +2 -2
- package/dist/assets/{AuthView-TY21M5Xw.js → AuthView-B9a_Jx6c.js} +3 -3
- package/dist/assets/{BottomMenu-D7MBdxcf.js → BottomMenu-BwGlRZ_G.js} +8 -8
- package/dist/assets/{ChangePasswordView-C7HtAXCU.js → ChangePasswordView-7QMpmN_x.js} +11 -12
- package/dist/assets/{ChatAgentAvatar-DMLTyAJz.js → ChatAgentAvatar-_TzLZER3.js} +5 -5
- package/dist/assets/{ChatLayout-CIrtU9sd.js → ChatLayout-CNhEPBP9.js} +5 -5
- package/dist/assets/{ChatPersonalAgentsView-BbxzXpMk.js → ChatPersonalAgentsView-DdcAu72z.js} +17 -18
- package/dist/assets/{ChatSidebar-BD5s-qKe.js → ChatSidebar-8R1HNKyb.js} +35 -36
- package/dist/assets/{ChatView-B-FlkLG5.js → ChatView-6z83bZ9r.js} +24 -25
- package/dist/assets/{ChatWorkflowAgentsView-CvTzrqVB.js → ChatWorkflowAgentsView-1mBz6Fn-.js} +17 -18
- package/dist/assets/CollectionParameter-DMUDKrih.js +49 -0
- package/dist/assets/{CommunityNodeUpdateInfo-Cd_-b5Xu.js → CommunityNodeUpdateInfo-BD_eDnNX.js} +6 -6
- package/dist/assets/{CopyInput-DKOPkUXT.js → CopyInput-NyYIfFuD.js} +3 -3
- package/dist/assets/{CredentialIcon-FEnE25SA.js → CredentialIcon-DM0H_1_e.js} +3 -3
- package/dist/assets/{CredentialPicker-C5gvgCLr.js → CredentialPicker-Cgr3c6NM.js} +4 -4
- package/dist/assets/{CredentialSelectorModal-C95nx2mf.js → CredentialSelectorModal-B13bN34S.js} +14 -15
- package/dist/assets/{CredentialsView-CKWNcDc1.js → CredentialsView-D6QVsDig.js} +30 -31
- package/dist/assets/{DataTableActions-DPBh8vkF.js → DataTableActions-C6NNwwCl.js} +4 -4
- package/dist/assets/{DataTableDetailsView-Y7mEpv8T.js → DataTableDetailsView-BC2xF0Ff.js} +17 -18
- package/dist/assets/{DataTableView-rLuMoWkz.js → DataTableView-CIk4UHUh.js} +27 -28
- package/dist/assets/DemoFooter-VEuYkLtF.js +62 -0
- package/dist/assets/{Draggable-04Tfmp_H.js → Draggable-Dgx1HOr4.js} +1 -1
- package/dist/assets/{EmptySharedSectionActionBox-dyxL2wTS.js → EmptySharedSectionActionBox-BINss0hO.js} +2 -2
- package/dist/assets/{EnterpriseEdition.ee-UkQT-fFo.js → EnterpriseEdition.ee-D1pSDOIk.js} +1 -1
- package/dist/assets/{EntityNotFound-B97Lu2MP.js → EntityNotFound-Dk9s3CwF.js} +3 -4
- package/dist/assets/{EntityUnAuthorised-Fbr1TiEL.js → EntityUnAuthorised-h6YriaK9.js} +3 -4
- package/dist/assets/{ErrorView-BZ4-H-jz.js → ErrorView-ohtS1np5.js} +5 -6
- package/dist/assets/{EvaluationsRootView-DDDzM_6p.js → EvaluationsRootView-DNvFGoPg.js} +18 -19
- package/dist/assets/{EvaluationsView-DXaAjsX4.js → EvaluationsView-Xyh73Nv7.js} +17 -18
- package/dist/assets/{ExecutionsTime-BLYKUkCX.js → ExecutionsTime-DGdwrKBk.js} +8 -8
- package/dist/assets/{ExecutionsView-CJ28SmsB.js → ExecutionsView-Cqqq9umx.js} +30 -31
- package/dist/assets/{ExternalSecretsProviderConnectionSwitch.ee-DJrPUTjV.js → ExternalSecretsProviderConnectionSwitch.ee-CQRmvkeX.js} +3 -3
- package/dist/assets/{FixedCollectionParameter-CpMHT5tV.js → FixedCollectionParameter-B_Roz0dU.js} +41 -42
- package/dist/assets/{ForgotMyPasswordView-798fFqrK.js → ForgotMyPasswordView-qfOZaZhD.js} +11 -12
- package/dist/assets/{InsightsChartAverageRuntime-gpxjFP2f.js → InsightsChartAverageRuntime-mcy8IMaN.js} +8 -8
- package/dist/assets/{InsightsChartFailed-DBcygly6.js → InsightsChartFailed-iXvqlU_7.js} +7 -7
- package/dist/assets/{InsightsChartFailureRate-CY3HP65L.js → InsightsChartFailureRate-DzWy07B4.js} +8 -8
- package/dist/assets/{InsightsChartTimeSaved-DAfnPiRJ.js → InsightsChartTimeSaved-Db1u-o2U.js} +8 -8
- package/dist/assets/{InsightsChartTotal-CLtcCYXo.js → InsightsChartTotal-Bge4JSj-.js} +7 -7
- package/dist/assets/{InsightsDashboard-CvoL2zTR.js → InsightsDashboard-CtSxyg4o.js} +28 -29
- package/dist/assets/{InsightsPaywall-Cgjhc58I.js → InsightsPaywall-DRQHdovy.js} +11 -12
- package/dist/assets/{InsightsSummary-C8OjRO2B.js → InsightsSummary-fz6kohyO.js} +6 -6
- package/dist/assets/{InsightsTableWorkflows-D-DIwl3G.js → InsightsTableWorkflows-Big7k-wk.js} +14 -15
- package/dist/assets/{ItemsRenderer-DHxSclsD.js → ItemsRenderer-D3AhUeBw.js} +7 -7
- package/dist/assets/{KeyboardShortcutTooltip-B4E72qs1.js → KeyboardShortcutTooltip-Bpb4SkjE.js} +1 -1
- package/dist/assets/LogsPanel-BgDmFFb3.js +49 -0
- package/dist/assets/{LogsPanel-3_gUGXJV.js → LogsPanel-DL0Dc4ep.js} +20 -20
- package/dist/assets/{MCPConnectWorkflowsModal-BBuNA5p_.js → MCPConnectWorkflowsModal-CpBHbeql.js} +32 -33
- package/dist/assets/{MainHeader-cPpOfg9e.js → MainHeader-CQDUOBrK.js} +53 -54
- package/dist/assets/{MainSidebar-C5ZrVVEP.js → MainSidebar-CEwrQd0D.js} +36 -37
- package/dist/assets/{MigrationRuleDetail-BHMsvA_3.js → MigrationRuleDetail-B8y5qGdj.js} +16 -17
- package/dist/assets/{MigrationRules-PJwNVPfC.js → MigrationRules-CqFa1pIa.js} +8 -9
- package/dist/assets/{Modal-CaRDt4OG.js → Modal-BUzuin_l.js} +4 -4
- package/dist/assets/{ModelByIdSelectorModal-vamZu1bJ.js → ModelByIdSelectorModal-7DLgrXak.js} +13 -14
- package/dist/assets/{NDVEmptyState-CpUQ-969.js → NDVEmptyState-D9V46oIb.js} +1 -1
- package/dist/assets/{NodeCreation-B3OlpxPo.js → NodeCreation-D2h-NBzz.js} +36 -37
- package/dist/assets/{NodeCreator-DkzqJrto.js → NodeCreator-DWfTqSpA.js} +24 -25
- package/dist/assets/{NodeDetailsView-CtdFNdcE.js → NodeDetailsView-C0c2NPX8.js} +54 -55
- package/dist/assets/{NodeDetailsViewV2-Bpi8Lz1W.js → NodeDetailsViewV2-B6-Z9UBA.js} +55 -56
- package/dist/assets/{NodeIcon-BVhrZNYI.js → NodeIcon-DO3MjIEO.js} +2 -2
- package/dist/assets/{NodeSettings-iHP6f-9G.js → NodeSettings-kTTXBKag.js} +14 -14
- package/dist/assets/{NodeView-BuBc8ewU.js → NodeView-DSaSUQ-e.js} +62 -63
- package/dist/assets/{OAuthConsentView-CpHIbM7w.js → OAuthConsentView-CTghsNit.js} +10 -11
- package/dist/assets/{ParameterInputList-B4xJHjua.js → ParameterInputList-U2KiK3ya.js} +25 -25
- package/dist/assets/{PrebuiltAgentTemplatesView-D-PTeVl8.js → PrebuiltAgentTemplatesView-aSquroeG.js} +13 -14
- package/dist/assets/{ProjectBreadcrumb-C7tWU5jd.js → ProjectBreadcrumb-B8fbTAtq.js} +3 -3
- package/dist/assets/{ProjectCardBadge-Dxz7K_4f.js → ProjectCardBadge-CglG0JiV.js} +4 -4
- package/dist/assets/{ProjectHeader-BTEy4evb.js → ProjectHeader-CEk0GfTI.js} +6 -6
- package/dist/assets/{ProjectIcon-A2WPT9dM.js → ProjectIcon-CBV14vRK.js} +1 -1
- package/dist/assets/{ProjectRoleView-D96quN06.js → ProjectRoleView-DzsmfbSB.js} +10 -11
- package/dist/assets/{ProjectRolesView-SHPe5Zla.js → ProjectRolesView-B7OiF9LQ.js} +12 -13
- package/dist/assets/{ProjectSettings-CbYXdz34.js → ProjectSettings-DT13ltbR.js} +21 -22
- package/dist/assets/{ProjectSharing-IDL3ExN3.js → ProjectSharing-BmHjpc-V.js} +4 -4
- package/dist/assets/{ProjectVariables-CD8pxK-V.js → ProjectVariables-CkEAYMdf.js} +28 -29
- package/dist/assets/{ProviderSettingsModal-BMHpVZVk.js → ProviderSettingsModal-O-t1pRtC.js} +17 -18
- package/dist/assets/{PushConnectionTracker-TnOaTBdr.js → PushConnectionTracker-CQYSMUJA.js} +2 -2
- package/dist/assets/{ResolversView-m_3rxS8y.js → ResolversView-DiSrPGYL.js} +11 -12
- package/dist/assets/{ResourceFiltersDropdown-Zlm_bvSW.js → ResourceFiltersDropdown-VHlXDlIU.js} +5 -5
- package/dist/assets/{ResourcesListLayout-Bn_Simhk.js → ResourcesListLayout-D-UUn6W4.js} +7 -7
- package/dist/assets/{RunData-B4jIonVZ.js → RunData-CD2BS-tI.js} +24 -24
- package/dist/assets/RunDataHtml-CMYh4fix.js +6 -0
- package/dist/assets/{RunDataHtml-CkjC7YuF.js → RunDataHtml-S_j2pLRX.js} +1 -1
- package/dist/assets/{RunDataJson-CNr_N46K.js → RunDataJson-Hy45SLB4.js} +13 -13
- package/dist/assets/{RunDataJsonActions-CVu3K4f8.js → RunDataJsonActions-B1Ca8Yqf.js} +11 -12
- package/dist/assets/RunDataParsedAiContent-DCSxER_a.js +23 -0
- package/dist/assets/{RunDataParsedAiContent-Dl9d2Tx7.js → RunDataParsedAiContent-SHzs_hUO.js} +6 -6
- package/dist/assets/{RunDataSearch-D06GizuH.js → RunDataSearch-CbEWwIFn.js} +6 -7
- package/dist/assets/{RunDataTable-CGAV307M.js → RunDataTable-Br3h9Hfs.js} +14 -15
- package/dist/assets/{SamlOnboarding-CZRtCHdx.js → SamlOnboarding-B8FFw4Aj.js} +11 -12
- package/dist/assets/{SaveButton-DJxU0D7G.js → SaveButton-DFMQz4OO.js} +2 -2
- package/dist/assets/{SelectedItemsInfo-D0fA_2Cw.js → SelectedItemsInfo-wq6nTjan.js} +1 -1
- package/dist/assets/{SettingsApiView-DhXs2Y-_.js → SettingsApiView-DntGyG-_.js} +12 -13
- package/dist/assets/{SettingsChatHubView-CHfhhMux.js → SettingsChatHubView-CFLv3m_H.js} +15 -16
- package/dist/assets/{SettingsCommunityNodesView-DxSUt_OC.js → SettingsCommunityNodesView-Cbc8YwPd.js} +24 -25
- package/dist/assets/{SettingsExternalSecrets-DpysvZkb.js → SettingsExternalSecrets-GqTCB9tV.js} +13 -14
- package/dist/assets/{SettingsLdapView-Bg7EBXEG.js → SettingsLdapView-D0CK7vsL.js} +15 -16
- package/dist/assets/{SettingsLogStreamingView-C2j3foZA.js → SettingsLogStreamingView-CJvfBKTc.js} +12 -13
- package/dist/assets/{SettingsMCPView-wp8DNJKO.js → SettingsMCPView-DVMm0rzd.js} +33 -34
- package/dist/assets/{SettingsPersonalView-ypZCgyx4.js → SettingsPersonalView-CKVc--Ee.js} +11 -12
- package/dist/assets/{SettingsSourceControl-BgHM1q8f.js → SettingsSourceControl-5HdxPe3d.js} +13 -14
- package/dist/assets/{SettingsSso-pyuyn9zD.js → SettingsSso-iw14DWi2.js} +17 -18
- package/dist/assets/{SettingsUsageAndPlan-B9CGe_bx.js → SettingsUsageAndPlan-BiXxO44T.js} +13 -14
- package/dist/assets/{SettingsUsersView-Dc-g7Os1.js → SettingsUsersView-BN543CWM.js} +17 -18
- package/dist/assets/{SettingsView-BkT_E3Ih.js → SettingsView-u-46Jm_s.js} +10 -11
- package/dist/assets/{SetupTemplateFormStep-BnqPLZOK.js → SetupTemplateFormStep-DgzwXX2Q.js} +6 -6
- package/dist/assets/{SetupView-DKxgJ4GN.js → SetupView-CNcoc1Tp.js} +11 -12
- package/dist/assets/{SetupWorkflowCredentialsButton-BW4TsLh4.js → SetupWorkflowCredentialsButton-BJgDEnYL.js} +10 -11
- package/dist/assets/{SetupWorkflowFromTemplateView-EmiFjoiF.js → SetupWorkflowFromTemplateView-ByvbaTJo.js} +17 -18
- package/dist/assets/{SeverityTag-Zfb28dUc.js → SeverityTag-BrEj4Zgc.js} +2 -2
- package/dist/assets/{SigninView-UAhsgCqK.js → SigninView-BruIX4To.js} +12 -13
- package/dist/assets/{SignoutView-CmT3zceq.js → SignoutView-EtgUq_8L.js} +7 -7
- package/dist/assets/{SignupView-DRVyeE5O.js → SignupView-qwht3OUN.js} +11 -12
- package/dist/assets/{SkeletonAgentCard-DRQYpdJw.js → SkeletonAgentCard-CXtHgz2Z.js} +3 -3
- package/dist/assets/{TagsDropdown-LwHy1RX4.js → TagsDropdown-33BH8Wv8.js} +2 -2
- package/dist/assets/{TemplateCard-DcldzIe3.js → TemplateCard-vNjUWEPK.js} +4 -4
- package/dist/assets/{TemplateDetails-DaX1NwUb.js → TemplateDetails-CuBROcXy.js} +4 -4
- package/dist/assets/{TemplateList-Bhr0TAFO.js → TemplateList-C-Ew2xS2.js} +4 -4
- package/dist/assets/{TemplatesCollectionView-Df8X9jlG.js → TemplatesCollectionView-jkpoxD57.js} +18 -19
- package/dist/assets/{TemplatesSearchView-CmLLM9IN.js → TemplatesSearchView-DvKDgGUn.js} +15 -16
- package/dist/assets/{TemplatesView-oCiQur38.js → TemplatesView-Cva7ybP0.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-wTii7YBP.js → TemplatesWorkflowView-SBg-ZKaI.js} +19 -20
- package/dist/assets/{TestRunDetailView-DDbCuy5Q.js → TestRunDetailView-heW9e-_g.js} +15 -16
- package/dist/assets/{TimeAgo-CWvYoS88.js → TimeAgo-D8PyZ71Z.js} +2 -2
- package/dist/assets/{ToolsSelectorModal-BULcpsyv.js → ToolsSelectorModal-C2uMHR7m.js} +13 -14
- package/dist/assets/{TriggerPanel-BJOFVjKr.js → TriggerPanel-DJ_XkvPU.js} +16 -16
- package/dist/assets/VirtualSchema-DcOnUOVG.js +33 -0
- package/dist/assets/{VirtualSchema-D2LnRq9K.js → VirtualSchema-DeH8iDPY.js} +13 -13
- package/dist/assets/{VueMarkdown-D9lDzMKr.js → VueMarkdown-BlVr51fL.js} +1 -1
- package/dist/assets/{WorkerView-DXyrg8WH.js → WorkerView-Bnbyq_Un.js} +30 -31
- package/dist/assets/{WorkflowActivator-D3SAdw0t.js → WorkflowActivator-OPWLWWwR.js} +7 -7
- package/dist/assets/{WorkflowExecutionsInfoAccordion-De8z4J-p.js → WorkflowExecutionsInfoAccordion-BPnENpcL.js} +3 -3
- package/dist/assets/{WorkflowExecutionsLandingPage-9K4zURpY.js → WorkflowExecutionsLandingPage-DZ-alnQt.js} +10 -11
- package/dist/assets/{WorkflowExecutionsPreview-B6gUOskt.js → WorkflowExecutionsPreview-11XCg55B.js} +18 -19
- package/dist/assets/{WorkflowExecutionsView-C8x85knP.js → WorkflowExecutionsView-YECS4fCw.js} +26 -27
- package/dist/assets/{WorkflowHistory-ChsTl1xO.js → WorkflowHistory-BQ-walJY.js} +16 -17
- package/dist/assets/{WorkflowLocation-BSRxq9Yd.js → WorkflowLocation-Dsfd4NQ_.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-DpmvepH9.js → WorkflowOnboardingView-v2MIweXq.js} +7 -7
- package/dist/assets/{WorkflowPreview-CMqGPBQJ.js → WorkflowPreview-fWz2x6Xi.js} +3 -3
- package/dist/assets/{WorkflowTagsDropdown-DEysJMrX.js → WorkflowTagsDropdown-CGqA9Bqt.js} +2 -2
- package/dist/assets/{WorkflowsView-m1VCW6Gk.js → WorkflowsView-7srLX2kV.js} +45 -46
- package/dist/assets/{_baseOrderBy-B_6CV8x6.js → _baseOrderBy-DKOdPYpX.js} +3 -3
- package/dist/assets/{_initCloneObject-Al9ZJ6PX.js → _initCloneObject-DPuE6hiH.js} +1 -1
- package/dist/assets/{aiTemplatesStarterCollection.store-DkHa_nSs.js → aiTemplatesStarterCollection.store-hH5WafzK.js} +4 -4
- package/dist/assets/{apiKeys.store-DnaeefCk.js → apiKeys.store-Bivp-HdY.js} +2 -2
- package/dist/assets/{assistant.store-bS9AHOoo.js → assistant.store-EQKoPTY1.js} +3 -3
- package/dist/assets/{banners.store-C9sgKjcT.js → banners.store-xl74RJKE.js} +3 -3
- package/dist/assets/{builder.store-sBTWwxRU.js → builder.store-CFEMq5cA.js} +6 -6
- package/dist/assets/{chartjs.utils-CeXvwL6J.js → chartjs.utils-CZqhhNLn.js} +2 -2
- package/dist/assets/{chat.store-BGFxJU_3.js → chat.store-DOq83dQd.js} +6 -6
- package/dist/assets/{chatPanel.store-4qGv1TCZ.js → chatPanel.store-bRTB7uZ4.js} +4 -4
- package/dist/assets/{constants-BbpucWL4.js → constants-J3k9WeIN.js} +864 -696
- package/dist/assets/{core-BbiIkN91.js → core-DeR-PV8K.js} +1 -1
- package/dist/assets/{dataTable.store-B4A4ieSD.js → dataTable.store-B1uH3pjJ.js} +3 -3
- package/dist/assets/{date-picker-B6nJ4qMb.js → date-picker-BjmPe_fb.js} +1 -1
- package/dist/assets/{dateFormatter-DDfPHI9I.js → dateFormatter-DjYPheeb.js} +1 -1
- package/dist/assets/{dialog-D5O6wJX0.js → dialog-HKqP6M7x.js} +2 -2
- package/dist/assets/{dist-DP_8je0B.js → dist-BQ7E1jLN.js} +1 -1
- package/dist/assets/{empty-BuGRxzl4.js → empty-BUjCyq3U.js} +380 -140
- package/dist/assets/{es-DlTgUi2w.js → es-C2DNxuAa.js} +1 -1
- package/dist/assets/{evaluation.constants-CJqUkQ3G.js → evaluation.constants-Bm_BxFb3.js} +3 -3
- package/dist/assets/{executions.store-CXjGPxs0.js → executions.store-Dgo1ubxB.js} +2 -2
- package/dist/assets/{externalSecrets.ee.store-D27nc9Y2.js → externalSecrets.ee.store-C5r5o3L8.js} +3 -3
- package/dist/assets/{folders.store-BjAwtSH4.js → folders.store-ysqaUuZL.js} +2 -2
- package/dist/assets/{index-B_iXf11Z.js → index-Djq4jXr2.js} +101 -102
- package/dist/assets/{insights.constants-C8GITe6H.js → insights.constants-D63-x9pu.js} +1 -1
- package/dist/assets/{insights.store-BBo4cRMD.js → insights.store-_R_iKZcn.js} +4 -4
- package/dist/assets/{insights.utils-B7OXsqrQ.js → insights.utils-CWK5jWpE.js} +2 -2
- package/dist/assets/{languageModules-D_uyjb6R.js → languageModules-DDJUl1h8.js} +1 -1
- package/dist/assets/{logStreaming.store-Bz455qU8.js → logStreaming.store-CnkUT647.js} +2 -2
- package/dist/assets/{mcp.store-Da5JCu0N.js → mcp.store-CWQhJhbj.js} +3 -3
- package/dist/assets/{nodeCreator.store-FJrC_Pu6.js → nodeCreator.store-Bjvm8FQj.js} +5 -5
- package/dist/assets/{nodeIcon-DI2Acud1.js → nodeIcon-H_k68qzc.js} +3 -3
- package/dist/assets/{nodeTransforms-Lk_uXh7p.js → nodeTransforms-CiROYybp.js} +2 -2
- package/dist/assets/{orderBy-EuatZUAl.js → orderBy-k8BuUXvL.js} +1 -1
- package/dist/assets/{personalizedTemplatesV3.store-DKnHj23X.js → personalizedTemplatesV3.store-gtPiYzWS.js} +3 -3
- package/dist/assets/{pickBy-BFBQe_6R.js → pickBy-DnxWRwf_.js} +1 -1
- package/dist/assets/{readyToRun.store-CsvyRJzn.js → readyToRun.store-DjUL_rnd.js} +4 -4
- package/dist/assets/{readyToRunWorkflows.store-B6Onw3Wt.js → readyToRunWorkflows.store-BhVrlcQi.js} +4 -4
- package/dist/assets/{roles.store-DcLW4g80.js → roles.store-CGXKZopF.js} +3 -3
- package/dist/assets/{router-BuH0cEsQ.js → router-D49f1R22.js} +90 -90
- package/dist/assets/{sanitize-html-Cc45ZKm8.js → sanitize-html-BkT1y0bJ.js} +357 -155
- package/dist/assets/{schemaPreview.store-BFprwUEe.js → schemaPreview.store-CQtmXF52.js} +3 -3
- package/dist/assets/{semver-CVsBQkSJ.js → semver-Cs9NWK1N.js} +3 -3
- package/dist/assets/{src-DgvumQTi.js → src-BiuB4CZc.js} +1 -1
- package/dist/assets/{sso.store-Ba2eVE3K.js → sso.store-B84w9REV.js} +2 -2
- package/dist/assets/{table-DzZuElSR.js → table-fp187Rky.js} +2 -2
- package/dist/assets/{templateActions-D7NBFcji.js → templateActions-Dz6Nfglg.js} +5 -5
- package/dist/assets/{templateTransforms-CdDWSirY.js → templateTransforms-R8fUHqPE.js} +1 -1
- package/dist/assets/{uniqBy-BwIeMDu6.js → uniqBy-DZqQA7cs.js} +1 -1
- package/dist/assets/{usage.store-CzHvJOo_.js → usage.store-Bdc-BlM5.js} +2 -2
- package/dist/assets/{useActions-O8-gYbRP.js → useActions-ConANMRL.js} +3 -3
- package/dist/assets/{useBeforeUnload-Dmmheunz.js → useBeforeUnload-Dv721ji9.js} +2 -2
- package/dist/assets/{useCanvasMapping-xYnYeFUG.js → useCanvasMapping-BuHer7tV.js} +16 -16
- package/dist/assets/{useCanvasOperations-CAHezq7d.js → useCanvasOperations-BAztxad9.js} +7 -7
- package/dist/assets/{useClipboard-CyG-SBdG.js → useClipboard-Cxt3r_6-.js} +1 -1
- package/dist/assets/{useCommandBar-DX5Sf1tf.js → useCommandBar-BEuGu0kz.js} +19 -19
- package/dist/assets/{useCredentialResolvers-hAbB1CCv.js → useCredentialResolvers-o-PxfPMf.js} +3 -3
- package/dist/assets/{useCustomAgent-DBhdLpPp.js → useCustomAgent-KWy9IjRw.js} +8 -8
- package/dist/assets/{useExecutionData-4UjwITsD.js → useExecutionData-DjGA2mpX.js} +1 -1
- package/dist/assets/{useExecutionDebugging-B73NIPYJ.js → useExecutionDebugging-BH-Cu9CF.js} +4 -4
- package/dist/assets/{useExecutionHelpers-BhJEW8lu.js → useExecutionHelpers-8I6H5A1z.js} +3 -3
- package/dist/assets/{useImportCurlCommand-C_c-9DcI.js → useImportCurlCommand-c7EYzrkq.js} +7 -8
- package/dist/assets/{useKeybindings-CKeFso4-.js → useKeybindings-Defj9R_x.js} +3 -3
- package/dist/assets/{useLogsTreeExpand-WR32ACA6.js → useLogsTreeExpand-Cz9KqoM9.js} +9 -9
- package/dist/assets/{useMcp-DzTrtFvb.js → useMcp-B3wL4VEL.js} +2 -2
- package/dist/assets/{usePageRedirectionHelper-fGNB6ZKK.js → usePageRedirectionHelper-CCKUgz8u.js} +3 -3
- package/dist/assets/{usePinnedData-CL2qWhwp.js → usePinnedData-BuSXt4cE.js} +3 -3
- package/dist/assets/{usePushConnection-DTJahVkB.js → usePushConnection-CIORz2iE.js} +10 -10
- package/dist/assets/{useRecentResources-BAGmp8Wq.js → useRecentResources-BNKR8cdk.js} +5 -5
- package/dist/assets/{useRunWorkflow-BQJbxiOd.js → useRunWorkflow-B5Y7PNOI.js} +6 -6
- package/dist/assets/{useSettingsItems-C56tO9uy.js → useSettingsItems-D1epSbD0.js} +2 -2
- package/dist/assets/{useTelemetryContext-5Wb7vBCv.js → useTelemetryContext-BbRTDkOc.js} +1 -1
- package/dist/assets/{useWorkflowActivate-BhSS_xpK.js → useWorkflowActivate-CWJXPvNF.js} +3 -3
- package/dist/assets/{useWorkflowsCache-K84an3SQ.js → useWorkflowsCache-CxMhAbkH.js} +1 -1
- package/dist/assets/{userRoleProvisioning.store-CCk1ab9D.js → userRoleProvisioning.store-BdZhGDZ9.js} +2 -2
- package/dist/assets/{utils-C2GPI2gK.js → utils-CnShVJFh.js} +1 -1
- package/dist/assets/{versions.store-BwdT833-.js → versions.store-AC7DZRKB.js} +3 -3
- package/dist/index.html +98 -99
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-BDcU0ZyV.js +0 -50
- package/dist/assets/DemoFooter-gHjxnkES.js +0 -63
- package/dist/assets/LogsPanel-B6drfj46.js +0 -50
- package/dist/assets/RunDataHtml-B4A7gRBL.js +0 -7
- package/dist/assets/RunDataParsedAiContent-qdNCqz9F.js +0 -24
- package/dist/assets/VirtualSchema-D0xSQzrI.js +0 -34
- package/dist/assets/path-browserify-BtCDmZ3_.js +0 -328
- /package/dist/assets/{AnimatedSpinner-wiGFgffA.js → AnimatedSpinner-DBPcagVq.js} +0 -0
- /package/dist/assets/{ChatFile-Dtf_b24Y.js → ChatFile-B6hcldJk.js} +0 -0
- /package/dist/assets/{PageViewLayout-BHSzOio1.js → PageViewLayout-XiCAnPXE.js} +0 -0
- /package/dist/assets/{TextWithHighlights-DjzuDrgO.js → TextWithHighlights-CgDEugGZ.js} +0 -0
- /package/dist/assets/{WorkflowActivationErrorMessage-v37Lr_Ej.js → WorkflowActivationErrorMessage-CkxW6ZtU.js} +0 -0
- /package/dist/assets/{auth.eventBus-B77G38R7.js → auth.eventBus-BQKtqsAd.js} +0 -0
- /package/dist/assets/{buttons.esm-CT4flsfB.js → buttons.esm-Euf82NbC.js} +0 -0
- /package/dist/assets/{chart-CE3HWIkr.js → chart-BI8B7UPV.js} +0 -0
- /package/dist/assets/{constants-DLTaaipl.js → constants-vjryKFt3.js} +0 -0
- /package/dist/assets/{core-6W4wWNc1.js → core-BMwklDiH.js} +0 -0
- /package/dist/assets/{dateformat-CM9k0--B.js → dateformat-BlfbK1ki.js} +0 -0
- /package/dist/assets/{exports-hpMZaOPT.js → exports-C5ncBo9h.js} +0 -0
- /package/dist/assets/{fileUtils-D_SiS8no.js → fileUtils-Bt1vr1SC.js} +0 -0
- /package/dist/assets/{mcp.constants-DQPD3Ntp.js → mcp.constants-1HQX33wO.js} +0 -0
- /package/dist/assets/{merge-k8vSyyXH.js → merge-DjI8TA-7.js} +0 -0
- /package/dist/assets/{retry-dP46utx2.js → retry-B-tGcWte.js} +0 -0
- /package/dist/assets/{smartDecimal-DK6-_VSq.js → smartDecimal-gA9wGEba.js} +0 -0
- /package/dist/assets/{sortByProperty-CV1aCzkS.js → sortByProperty-C6sPingU.js} +0 -0
- /package/dist/assets/{sourceControl.eventBus-Bry8gLG7.js → sourceControl.eventBus-BlFJV1yj.js} +0 -0
- /package/dist/assets/{useDebounce-Bnb8W2LR.js → useDebounce-BjcMkTu4.js} +0 -0
- /package/dist/assets/{useIntersectionObserver-DXKoRNFj.js → useIntersectionObserver-Bb8gFEHX.js} +0 -0
- /package/dist/assets/{vue-Dg_43WEg.js → vue-Dd77OcSb.js} +0 -0
- /package/dist/assets/{vue-json-pretty-DGKuDe33.js → vue-json-pretty-DF-vJpHf.js} +0 -0
- /package/dist/assets/{xml-B6veOr9z.js → xml-DDfXMqo8.js} +0 -0
|
@@ -2,8 +2,8 @@ import { a as __toCommonJS, n as __esmMin, o as __toESM, r as __export, t as __c
|
|
|
2
2
|
import { Dn as init_dist, En as global } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
|
|
3
3
|
import { a as require__getNative, c as require_isObject, d as require__Symbol, f as require__root, i as require_eq, l as require_isObjectLike, m as require_isArray, n as require__Map, o as require__toSource, t as require__MapCache, u as require__baseGetTag } from "./_MapCache-ficiegRb.js";
|
|
4
4
|
import { a as require__toKey, i as require__baseGet, o as require__castPath, r as require_get, s as require_toString, u as require__isKey, w as require_lib$1 } from "./truncate-B1HVeveJ.js";
|
|
5
|
-
import {
|
|
6
|
-
import { A as require__Uint8Array, C as require_isTypedArray, D as require__isIndex, E as require_isLength, O as require_isBuffer, S as require__arrayLikeKeys, T as require__baseUnary, _ as require__baseFor, a as require__overRest, b as require__overArg, c as require__copyObject, d as require__initCloneObject, f as require__getPrototype, g as require__cloneBuffer, h as require__cloneArrayBuffer, i as require__setToString, j as require__Stack, k as require_isArguments$1, l as require__assignValue, m as require__cloneTypedArray, o as require_identity, p as require__copyArray, s as require_keysIn, t as require_merge, v as require__baseAssignValue, w as require__nodeUtil, x as require__isPrototype, y as require_isArrayLike } from "./merge-
|
|
5
|
+
import { C as init_dist$1, S as require___vite_browser_external, _ as require_syntax, a as require_call_bound, b as require_type, c as require_get_proto, d as require_functionApply, f as require_function_bind, g as require_gopd, h as require_es_define_property, i as init_dist$2, l as require_call_bind_apply_helpers, m as require_shams$1, n as init_empty, o as require_get_intrinsic, r as Buffer, s as require_hasown, t as empty_exports, u as require_actualApply, w as process$1, x as require_path_browserify } from "./empty-BUjCyq3U.js";
|
|
6
|
+
import { A as require__Uint8Array, C as require_isTypedArray, D as require__isIndex, E as require_isLength, O as require_isBuffer, S as require__arrayLikeKeys, T as require__baseUnary, _ as require__baseFor, a as require__overRest, b as require__overArg, c as require__copyObject, d as require__initCloneObject, f as require__getPrototype, g as require__cloneBuffer, h as require__cloneArrayBuffer, i as require__setToString, j as require__Stack, k as require_isArguments$1, l as require__assignValue, m as require__cloneTypedArray, o as require_identity, p as require__copyArray, s as require_keysIn, t as require_merge, v as require__baseAssignValue, w as require__nodeUtil, x as require__isPrototype, y as require_isArrayLike } from "./merge-DjI8TA-7.js";
|
|
7
7
|
let WORKFLOW_MENU_ACTIONS = /* @__PURE__ */ function(WORKFLOW_MENU_ACTIONS$1) {
|
|
8
8
|
WORKFLOW_MENU_ACTIONS$1["DUPLICATE"] = "duplicate";
|
|
9
9
|
WORKFLOW_MENU_ACTIONS$1["DOWNLOAD"] = "download";
|
|
@@ -616,8 +616,8 @@ function getErrorMap$1() {
|
|
|
616
616
|
return overrideErrorMap;
|
|
617
617
|
}
|
|
618
618
|
const makeIssue = (params) => {
|
|
619
|
-
const { data, path, errorMaps, issueData } = params;
|
|
620
|
-
const fullPath = [...path, ...issueData.path || []];
|
|
619
|
+
const { data, path: path$1, errorMaps, issueData } = params;
|
|
620
|
+
const fullPath = [...path$1, ...issueData.path || []];
|
|
621
621
|
const fullIssue = {
|
|
622
622
|
...issueData,
|
|
623
623
|
path: fullPath
|
|
@@ -723,11 +723,11 @@ var errorUtil;
|
|
|
723
723
|
errorUtil$1.toString = (message) => typeof message === "string" ? message : message?.message;
|
|
724
724
|
})(errorUtil || (errorUtil = {}));
|
|
725
725
|
var ParseInputLazyPath = class {
|
|
726
|
-
constructor(parent, value, path, key) {
|
|
726
|
+
constructor(parent, value, path$1, key) {
|
|
727
727
|
this._cachedPath = [];
|
|
728
728
|
this.parent = parent;
|
|
729
729
|
this.data = value;
|
|
730
|
-
this._path = path;
|
|
730
|
+
this._path = path$1;
|
|
731
731
|
this._key = key;
|
|
732
732
|
}
|
|
733
733
|
get path() {
|
|
@@ -10760,15 +10760,15 @@ var require_XMLNode = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10760
10760
|
}));
|
|
10761
10761
|
var require_XMLStringifier = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10762
10762
|
(function() {
|
|
10763
|
-
var bind$
|
|
10763
|
+
var bind$2 = function(fn$1, me) {
|
|
10764
10764
|
return function() {
|
|
10765
10765
|
return fn$1.apply(me, arguments);
|
|
10766
10766
|
};
|
|
10767
10767
|
}, hasProp = {}.hasOwnProperty;
|
|
10768
10768
|
module.exports = (function() {
|
|
10769
10769
|
function XMLStringifier(options) {
|
|
10770
|
-
this.assertLegalName = bind$
|
|
10771
|
-
this.assertLegalChar = bind$
|
|
10770
|
+
this.assertLegalName = bind$2(this.assertLegalName, this);
|
|
10771
|
+
this.assertLegalChar = bind$2(this.assertLegalChar, this);
|
|
10772
10772
|
var key, ref, value;
|
|
10773
10773
|
options || (options = {});
|
|
10774
10774
|
this.options = options;
|
|
@@ -13646,40 +13646,105 @@ var require_shams = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13646
13646
|
return hasSymbols$2() && !!Symbol.toStringTag;
|
|
13647
13647
|
};
|
|
13648
13648
|
}));
|
|
13649
|
+
var require_define_data_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13650
|
+
var $defineProperty$3 = require_es_define_property();
|
|
13651
|
+
var $SyntaxError = require_syntax();
|
|
13652
|
+
var $TypeError$3 = require_type();
|
|
13653
|
+
var gopd = require_gopd();
|
|
13654
|
+
module.exports = function defineDataProperty$1(obj, property$2, value) {
|
|
13655
|
+
if (!obj || typeof obj !== "object" && typeof obj !== "function") throw new $TypeError$3("`obj` must be an object or a function`");
|
|
13656
|
+
if (typeof property$2 !== "string" && typeof property$2 !== "symbol") throw new $TypeError$3("`property` must be a string or a symbol`");
|
|
13657
|
+
if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) throw new $TypeError$3("`nonEnumerable`, if provided, must be a boolean or null");
|
|
13658
|
+
if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) throw new $TypeError$3("`nonWritable`, if provided, must be a boolean or null");
|
|
13659
|
+
if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) throw new $TypeError$3("`nonConfigurable`, if provided, must be a boolean or null");
|
|
13660
|
+
if (arguments.length > 6 && typeof arguments[6] !== "boolean") throw new $TypeError$3("`loose`, if provided, must be a boolean");
|
|
13661
|
+
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
13662
|
+
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
13663
|
+
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
13664
|
+
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
13665
|
+
var desc = !!gopd && gopd(obj, property$2);
|
|
13666
|
+
if ($defineProperty$3) $defineProperty$3(obj, property$2, {
|
|
13667
|
+
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
13668
|
+
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
13669
|
+
value,
|
|
13670
|
+
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
13671
|
+
});
|
|
13672
|
+
else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) obj[property$2] = value;
|
|
13673
|
+
else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
13674
|
+
};
|
|
13675
|
+
}));
|
|
13676
|
+
var require_has_property_descriptors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13677
|
+
var $defineProperty$2 = require_es_define_property();
|
|
13678
|
+
var hasPropertyDescriptors = function hasPropertyDescriptors$1() {
|
|
13679
|
+
return !!$defineProperty$2;
|
|
13680
|
+
};
|
|
13681
|
+
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
13682
|
+
if (!$defineProperty$2) return null;
|
|
13683
|
+
try {
|
|
13684
|
+
return $defineProperty$2([], "length", { value: 1 }).length !== 1;
|
|
13685
|
+
} catch (e$1) {
|
|
13686
|
+
return true;
|
|
13687
|
+
}
|
|
13688
|
+
};
|
|
13689
|
+
module.exports = hasPropertyDescriptors;
|
|
13690
|
+
}));
|
|
13691
|
+
var require_set_function_length = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13692
|
+
var GetIntrinsic$3 = require_get_intrinsic();
|
|
13693
|
+
var define$5 = require_define_data_property();
|
|
13694
|
+
var hasDescriptors = require_has_property_descriptors()();
|
|
13695
|
+
var gOPD$2 = require_gopd();
|
|
13696
|
+
var $TypeError$2 = require_type();
|
|
13697
|
+
var $floor = GetIntrinsic$3("%Math.floor%");
|
|
13698
|
+
module.exports = function setFunctionLength$2(fn$1, length$1) {
|
|
13699
|
+
if (typeof fn$1 !== "function") throw new $TypeError$2("`fn` is not a function");
|
|
13700
|
+
if (typeof length$1 !== "number" || length$1 < 0 || length$1 > 4294967295 || $floor(length$1) !== length$1) throw new $TypeError$2("`length` must be a positive 32-bit integer");
|
|
13701
|
+
var loose = arguments.length > 2 && !!arguments[2];
|
|
13702
|
+
var functionLengthIsConfigurable = true;
|
|
13703
|
+
var functionLengthIsWritable = true;
|
|
13704
|
+
if ("length" in fn$1 && gOPD$2) {
|
|
13705
|
+
var desc = gOPD$2(fn$1, "length");
|
|
13706
|
+
if (desc && !desc.configurable) functionLengthIsConfigurable = false;
|
|
13707
|
+
if (desc && !desc.writable) functionLengthIsWritable = false;
|
|
13708
|
+
}
|
|
13709
|
+
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) if (hasDescriptors) define$5(fn$1, "length", length$1, true, true);
|
|
13710
|
+
else define$5(fn$1, "length", length$1);
|
|
13711
|
+
return fn$1;
|
|
13712
|
+
};
|
|
13713
|
+
}));
|
|
13649
13714
|
var require_applyBind = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13650
|
-
var bind = require_function_bind();
|
|
13651
|
-
var $apply = require_functionApply();
|
|
13715
|
+
var bind$1 = require_function_bind();
|
|
13716
|
+
var $apply$1 = require_functionApply();
|
|
13652
13717
|
var actualApply = require_actualApply();
|
|
13653
|
-
module.exports = function applyBind$
|
|
13654
|
-
return actualApply(bind, $apply, arguments);
|
|
13718
|
+
module.exports = function applyBind$2() {
|
|
13719
|
+
return actualApply(bind$1, $apply$1, arguments);
|
|
13655
13720
|
};
|
|
13656
13721
|
}));
|
|
13657
|
-
var require_call_bind = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13658
|
-
var setFunctionLength = require_set_function_length();
|
|
13659
|
-
var $defineProperty = require_es_define_property();
|
|
13660
|
-
var callBindBasic
|
|
13661
|
-
var applyBind = require_applyBind();
|
|
13662
|
-
module.exports = function callBind$
|
|
13663
|
-
var func = callBindBasic
|
|
13722
|
+
var require_call_bind$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13723
|
+
var setFunctionLength$1 = require_set_function_length();
|
|
13724
|
+
var $defineProperty$1 = require_es_define_property();
|
|
13725
|
+
var callBindBasic = require_call_bind_apply_helpers();
|
|
13726
|
+
var applyBind$1 = require_applyBind();
|
|
13727
|
+
module.exports = function callBind$5(originalFunction) {
|
|
13728
|
+
var func = callBindBasic(arguments);
|
|
13664
13729
|
var adjustedLength = originalFunction.length - (arguments.length - 1);
|
|
13665
|
-
return setFunctionLength(func, 1 + (adjustedLength > 0 ? adjustedLength : 0), true);
|
|
13730
|
+
return setFunctionLength$1(func, 1 + (adjustedLength > 0 ? adjustedLength : 0), true);
|
|
13666
13731
|
};
|
|
13667
|
-
if ($defineProperty) $defineProperty(module.exports, "apply", { value: applyBind });
|
|
13668
|
-
else module.exports.apply = applyBind;
|
|
13732
|
+
if ($defineProperty$1) $defineProperty$1(module.exports, "apply", { value: applyBind$1 });
|
|
13733
|
+
else module.exports.apply = applyBind$1;
|
|
13669
13734
|
}));
|
|
13670
|
-
var require_callBound = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13671
|
-
var GetIntrinsic$
|
|
13672
|
-
var callBind$
|
|
13673
|
-
var $indexOf$2 = callBind$
|
|
13735
|
+
var require_callBound$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13736
|
+
var GetIntrinsic$2 = require_get_intrinsic();
|
|
13737
|
+
var callBind$4 = require_call_bind$1();
|
|
13738
|
+
var $indexOf$2 = callBind$4(GetIntrinsic$2("String.prototype.indexOf"));
|
|
13674
13739
|
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
13675
|
-
var intrinsic = GetIntrinsic$
|
|
13676
|
-
if (typeof intrinsic === "function" && $indexOf$2(name, ".prototype.") > -1) return callBind$
|
|
13740
|
+
var intrinsic = GetIntrinsic$2(name, !!allowMissing);
|
|
13741
|
+
if (typeof intrinsic === "function" && $indexOf$2(name, ".prototype.") > -1) return callBind$4(intrinsic);
|
|
13677
13742
|
return intrinsic;
|
|
13678
13743
|
};
|
|
13679
13744
|
}));
|
|
13680
13745
|
var require_is_arguments = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13681
13746
|
var hasToStringTag$4 = require_shams()();
|
|
13682
|
-
var $toString$2 = require_callBound()("Object.prototype.toString");
|
|
13747
|
+
var $toString$2 = require_callBound$1()("Object.prototype.toString");
|
|
13683
13748
|
var isStandardArguments = function isArguments$2(value) {
|
|
13684
13749
|
if (hasToStringTag$4 && value && typeof value === "object" && Symbol.toStringTag in value) return false;
|
|
13685
13750
|
return $toString$2(value) === "[object Arguments]";
|
|
@@ -13694,16 +13759,6 @@ var require_is_arguments = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13694
13759
|
isStandardArguments.isLegacyArguments = isLegacyArguments;
|
|
13695
13760
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
13696
13761
|
}));
|
|
13697
|
-
var require_call_bound = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13698
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
13699
|
-
var callBindBasic = require_call_bind_apply_helpers();
|
|
13700
|
-
var $indexOf$1 = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]);
|
|
13701
|
-
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
13702
|
-
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
13703
|
-
if (typeof intrinsic === "function" && $indexOf$1(name, ".prototype.") > -1) return callBindBasic([intrinsic]);
|
|
13704
|
-
return intrinsic;
|
|
13705
|
-
};
|
|
13706
|
-
}));
|
|
13707
13762
|
var require_is_regex = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13708
13763
|
var callBound$4 = require_call_bound();
|
|
13709
13764
|
var hasToStringTag$3 = require_shams()();
|
|
@@ -13745,9 +13800,9 @@ var require_safe_regex_test = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
13745
13800
|
var callBound$3 = require_call_bound();
|
|
13746
13801
|
var isRegex = require_is_regex();
|
|
13747
13802
|
var $exec = callBound$3("RegExp.prototype.exec");
|
|
13748
|
-
var $TypeError = require_type();
|
|
13803
|
+
var $TypeError$1 = require_type();
|
|
13749
13804
|
module.exports = function regexTester(regex) {
|
|
13750
|
-
if (!isRegex(regex)) throw new $TypeError("`regex` must be a RegExp");
|
|
13805
|
+
if (!isRegex(regex)) throw new $TypeError$1("`regex` must be a RegExp");
|
|
13751
13806
|
return function test(s$2) {
|
|
13752
13807
|
return $exec(regex, s$2) !== null;
|
|
13753
13808
|
};
|
|
@@ -13915,7 +13970,7 @@ var require_which_typed_array = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
13915
13970
|
init_dist();
|
|
13916
13971
|
var forEach = require_for_each();
|
|
13917
13972
|
var availableTypedArrays = require_available_typed_arrays();
|
|
13918
|
-
var callBind$
|
|
13973
|
+
var callBind$3 = require_call_bind$1();
|
|
13919
13974
|
var callBound$1 = require_call_bound();
|
|
13920
13975
|
var gOPD = require_gopd();
|
|
13921
13976
|
var getProto = require_get_proto();
|
|
@@ -13924,7 +13979,7 @@ var require_which_typed_array = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
13924
13979
|
var g$1 = typeof globalThis === "undefined" ? global : globalThis;
|
|
13925
13980
|
var typedArrays = availableTypedArrays();
|
|
13926
13981
|
var $slice = callBound$1("String.prototype.slice");
|
|
13927
|
-
var $indexOf = callBound$1("Array.prototype.indexOf", true) || function indexOf$1(array$1, value) {
|
|
13982
|
+
var $indexOf$1 = callBound$1("Array.prototype.indexOf", true) || function indexOf$1(array$1, value) {
|
|
13928
13983
|
for (var i$2 = 0; i$2 < array$1.length; i$2 += 1) if (array$1[i$2] === value) return i$2;
|
|
13929
13984
|
return -1;
|
|
13930
13985
|
};
|
|
@@ -13935,13 +13990,13 @@ var require_which_typed_array = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
13935
13990
|
var proto = getProto(arr);
|
|
13936
13991
|
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
13937
13992
|
if (!descriptor && proto) descriptor = gOPD(getProto(proto), Symbol.toStringTag);
|
|
13938
|
-
cache["$" + typedArray] = callBind$
|
|
13993
|
+
cache["$" + typedArray] = callBind$3(descriptor.get);
|
|
13939
13994
|
}
|
|
13940
13995
|
});
|
|
13941
13996
|
else forEach(typedArrays, function(typedArray) {
|
|
13942
13997
|
var arr = new g$1[typedArray]();
|
|
13943
13998
|
var fn$1 = arr.slice || arr.set;
|
|
13944
|
-
if (fn$1) cache["$" + typedArray] = callBind$
|
|
13999
|
+
if (fn$1) cache["$" + typedArray] = callBind$3(fn$1);
|
|
13945
14000
|
});
|
|
13946
14001
|
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
13947
14002
|
var found = false;
|
|
@@ -13966,7 +14021,7 @@ var require_which_typed_array = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
13966
14021
|
if (!value || typeof value !== "object") return false;
|
|
13967
14022
|
if (!hasToStringTag) {
|
|
13968
14023
|
var tag = $slice($toString(value), 8, -1);
|
|
13969
|
-
if ($indexOf(typedArrays, tag) > -1) return tag;
|
|
14024
|
+
if ($indexOf$1(typedArrays, tag) > -1) return tag;
|
|
13970
14025
|
if (tag !== "Object") return false;
|
|
13971
14026
|
return trySlices(value);
|
|
13972
14027
|
}
|
|
@@ -18291,7 +18346,7 @@ var require_main$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
18291
18346
|
}));
|
|
18292
18347
|
var require_parser$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
18293
18348
|
(function() {
|
|
18294
|
-
var bom, defaults$1, defineProperty$1, events, isEmpty$5, processItem, processors, sax, setImmediate, bind$
|
|
18349
|
+
var bom, defaults$1, defineProperty$1, events, isEmpty$5, processItem, processors, sax, setImmediate, bind$2 = function(fn$1, me) {
|
|
18295
18350
|
return function() {
|
|
18296
18351
|
return fn$1.apply(me, arguments);
|
|
18297
18352
|
};
|
|
@@ -18333,11 +18388,11 @@ var require_parser$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
18333
18388
|
exports.Parser = (function(superClass) {
|
|
18334
18389
|
extend$2(Parser$1, superClass);
|
|
18335
18390
|
function Parser$1(opts) {
|
|
18336
|
-
this.parseStringPromise = bind$
|
|
18337
|
-
this.parseString = bind$
|
|
18338
|
-
this.reset = bind$
|
|
18339
|
-
this.assignOrPush = bind$
|
|
18340
|
-
this.processAsync = bind$
|
|
18391
|
+
this.parseStringPromise = bind$2(this.parseStringPromise, this);
|
|
18392
|
+
this.parseString = bind$2(this.parseString, this);
|
|
18393
|
+
this.reset = bind$2(this.reset, this);
|
|
18394
|
+
this.assignOrPush = bind$2(this.assignOrPush, this);
|
|
18395
|
+
this.processAsync = bind$2(this.processAsync, this);
|
|
18341
18396
|
var key, ref, value;
|
|
18342
18397
|
if (!(this instanceof exports.Parser)) return new exports.Parser(opts);
|
|
18343
18398
|
this.options = {};
|
|
@@ -24620,6 +24675,7 @@ function atEndOfBlockComment(text, i$2) {
|
|
|
24620
24675
|
}
|
|
24621
24676
|
var import_browser = /* @__PURE__ */ __toESM(require_browser());
|
|
24622
24677
|
require_merge();
|
|
24678
|
+
require_path_browserify();
|
|
24623
24679
|
var readStreamClasses = new Set([
|
|
24624
24680
|
"ReadStream",
|
|
24625
24681
|
"Readable",
|
|
@@ -24640,7 +24696,7 @@ const isObjectEmpty = (obj) => {
|
|
|
24640
24696
|
}
|
|
24641
24697
|
return true;
|
|
24642
24698
|
};
|
|
24643
|
-
const deepCopy = (source, hash$1 = /* @__PURE__ */ new WeakMap(), path = "") => {
|
|
24699
|
+
const deepCopy = (source, hash$1 = /* @__PURE__ */ new WeakMap(), path$1 = "") => {
|
|
24644
24700
|
const hasOwnProp = Object.prototype.hasOwnProperty.bind(source);
|
|
24645
24701
|
if (typeof source !== "object" || source === null || typeof source === "function") return source;
|
|
24646
24702
|
if (typeof source.toJSON === "function") return source.toJSON();
|
|
@@ -24648,12 +24704,12 @@ const deepCopy = (source, hash$1 = /* @__PURE__ */ new WeakMap(), path = "") =>
|
|
|
24648
24704
|
if (Array.isArray(source)) {
|
|
24649
24705
|
const clone$4 = [];
|
|
24650
24706
|
const len$1 = source.length;
|
|
24651
|
-
for (let i$2 = 0; i$2 < len$1; i$2++) clone$4[i$2] = deepCopy(source[i$2], hash$1, path + `[${i$2}]`);
|
|
24707
|
+
for (let i$2 = 0; i$2 < len$1; i$2++) clone$4[i$2] = deepCopy(source[i$2], hash$1, path$1 + `[${i$2}]`);
|
|
24652
24708
|
return clone$4;
|
|
24653
24709
|
}
|
|
24654
24710
|
const clone$3 = Object.create(Object.getPrototypeOf({}));
|
|
24655
24711
|
hash$1.set(source, clone$3);
|
|
24656
|
-
for (const i$2 in source) if (hasOwnProp(i$2)) clone$3[i$2] = deepCopy(source[i$2], hash$1, path + `.${i$2}`);
|
|
24712
|
+
for (const i$2 in source) if (hasOwnProp(i$2)) clone$3[i$2] = deepCopy(source[i$2], hash$1, path$1 + `.${i$2}`);
|
|
24657
24713
|
return clone$3;
|
|
24658
24714
|
};
|
|
24659
24715
|
function syntaxNodeToValue(expression) {
|
|
@@ -24761,6 +24817,11 @@ function dedupe(arr) {
|
|
|
24761
24817
|
}
|
|
24762
24818
|
require_xml2js();
|
|
24763
24819
|
var ExpressionExtensionError = class extends ExpressionError {};
|
|
24820
|
+
var ExpressionDestructuringError = class extends ExpressionError {
|
|
24821
|
+
constructor(property$2) {
|
|
24822
|
+
super(`Cannot destructure "${property$2}" due to security concerns`);
|
|
24823
|
+
}
|
|
24824
|
+
};
|
|
24764
24825
|
var import_isObject = /* @__PURE__ */ __toESM(require_isObject());
|
|
24765
24826
|
const tryToParseNumber = (value) => {
|
|
24766
24827
|
if (!!isNaN(Number(value))) throw new ApplicationError("Failed to parse value to number", { extra: { value } });
|
|
@@ -25441,11 +25502,11 @@ function displayParameter(nodeValues, parameter, node, nodeTypeDescription, node
|
|
|
25441
25502
|
}
|
|
25442
25503
|
return true;
|
|
25443
25504
|
}
|
|
25444
|
-
function displayParameterPath(nodeValues, parameter, path, node, nodeTypeDescription, displayKey = "displayOptions") {
|
|
25505
|
+
function displayParameterPath(nodeValues, parameter, path$1, node, nodeTypeDescription, displayKey = "displayOptions") {
|
|
25445
25506
|
let resolvedNodeValues = nodeValues;
|
|
25446
|
-
if (path !== "") resolvedNodeValues = (0, import_get.default)(nodeValues, path);
|
|
25507
|
+
if (path$1 !== "") resolvedNodeValues = (0, import_get.default)(nodeValues, path$1);
|
|
25447
25508
|
let nodeValuesRoot = nodeValues;
|
|
25448
|
-
if (path && path.split(".").indexOf("parameters") === 0) nodeValuesRoot = (0, import_get.default)(nodeValues, "parameters");
|
|
25509
|
+
if (path$1 && path$1.split(".").indexOf("parameters") === 0) nodeValuesRoot = (0, import_get.default)(nodeValues, "parameters");
|
|
25449
25510
|
return displayParameter(resolvedNodeValues, parameter, node, nodeTypeDescription, nodeValuesRoot, displayKey);
|
|
25450
25511
|
}
|
|
25451
25512
|
function getContext(runExecutionData, type, node) {
|
|
@@ -25640,20 +25701,20 @@ function getNodeParameters(nodePropertiesArray, nodeValues, returnDefaults, retu
|
|
|
25640
25701
|
}
|
|
25641
25702
|
return nodeParameters;
|
|
25642
25703
|
}
|
|
25643
|
-
function getNodeWebhookPath(workflowId, node, path, isFullPath, restartWebhook) {
|
|
25704
|
+
function getNodeWebhookPath(workflowId, node, path$1, isFullPath, restartWebhook) {
|
|
25644
25705
|
let webhookPath = "";
|
|
25645
|
-
if (restartWebhook === true) return path;
|
|
25646
|
-
if (node.webhookId === void 0) webhookPath = `${workflowId}/${encodeURIComponent(node.name.toLowerCase())}/${path}`;
|
|
25706
|
+
if (restartWebhook === true) return path$1;
|
|
25707
|
+
if (node.webhookId === void 0) webhookPath = `${workflowId}/${encodeURIComponent(node.name.toLowerCase())}/${path$1}`;
|
|
25647
25708
|
else {
|
|
25648
|
-
if (isFullPath === true) return path || node.webhookId;
|
|
25649
|
-
webhookPath = `${node.webhookId}/${path}`;
|
|
25709
|
+
if (isFullPath === true) return path$1 || node.webhookId;
|
|
25710
|
+
webhookPath = `${node.webhookId}/${path$1}`;
|
|
25650
25711
|
}
|
|
25651
25712
|
return webhookPath;
|
|
25652
25713
|
}
|
|
25653
|
-
function getNodeWebhookUrl(baseUrl, workflowId, node, path, isFullPath) {
|
|
25654
|
-
if ((path.startsWith(":") || path.includes("/:")) && node.webhookId) isFullPath = false;
|
|
25655
|
-
if (path.startsWith("/")) path = path.slice(1);
|
|
25656
|
-
return `${baseUrl}/${getNodeWebhookPath(workflowId, node, path, isFullPath)}`;
|
|
25714
|
+
function getNodeWebhookUrl(baseUrl, workflowId, node, path$1, isFullPath) {
|
|
25715
|
+
if ((path$1.startsWith(":") || path$1.includes("/:")) && node.webhookId) isFullPath = false;
|
|
25716
|
+
if (path$1.startsWith("/")) path$1 = path$1.slice(1);
|
|
25717
|
+
return `${baseUrl}/${getNodeWebhookPath(workflowId, node, path$1, isFullPath)}`;
|
|
25657
25718
|
}
|
|
25658
25719
|
function getConnectionTypes(connections) {
|
|
25659
25720
|
return connections.map((connection) => {
|
|
@@ -25754,25 +25815,25 @@ function addToIssuesIfMissing(foundIssues, nodeProperties, value) {
|
|
|
25754
25815
|
foundIssues.parameters[nodeProperties.name].push(`Parameter "${nodeProperties.displayName}" is required.`);
|
|
25755
25816
|
}
|
|
25756
25817
|
}
|
|
25757
|
-
function getParameterValueByPath(nodeValues, parameterName, path) {
|
|
25758
|
-
return (0, import_get.default)(nodeValues, path ? `${path}.${parameterName}` : parameterName);
|
|
25818
|
+
function getParameterValueByPath(nodeValues, parameterName, path$1) {
|
|
25819
|
+
return (0, import_get.default)(nodeValues, path$1 ? `${path$1}.${parameterName}` : parameterName);
|
|
25759
25820
|
}
|
|
25760
25821
|
function isINodeParameterResourceLocator(value) {
|
|
25761
25822
|
return typeof value === "object" && value !== null && "value" in value && "mode" in value;
|
|
25762
25823
|
}
|
|
25763
|
-
function getParameterIssues(nodeProperties, nodeValues, path, node, nodeTypeDescription) {
|
|
25824
|
+
function getParameterIssues(nodeProperties, nodeValues, path$1, node, nodeTypeDescription) {
|
|
25764
25825
|
const foundIssues = {};
|
|
25765
|
-
const isDisplayed = displayParameterPath(nodeValues, nodeProperties, path, node, nodeTypeDescription);
|
|
25826
|
+
const isDisplayed = displayParameterPath(nodeValues, nodeProperties, path$1, node, nodeTypeDescription);
|
|
25766
25827
|
if (nodeProperties.required === true) {
|
|
25767
25828
|
if (isDisplayed) {
|
|
25768
|
-
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path);
|
|
25829
|
+
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path$1);
|
|
25769
25830
|
if (nodeProperties.typeOptions !== void 0 && nodeProperties.typeOptions.multipleValues !== void 0) {
|
|
25770
25831
|
if (Array.isArray(value)) for (const singleValue of value) addToIssuesIfMissing(foundIssues, nodeProperties, singleValue);
|
|
25771
25832
|
} else addToIssuesIfMissing(foundIssues, nodeProperties, value);
|
|
25772
25833
|
}
|
|
25773
25834
|
}
|
|
25774
25835
|
if ((nodeProperties.type === "resourceLocator" || nodeProperties.type === "workflowSelector") && isDisplayed) {
|
|
25775
|
-
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path);
|
|
25836
|
+
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path$1);
|
|
25776
25837
|
if (isINodeParameterResourceLocator(value)) {
|
|
25777
25838
|
const mode = nodeProperties.modes?.find((option) => option.name === value.mode);
|
|
25778
25839
|
if (mode) validateResourceLocatorParameter(value, mode).forEach((error$39) => {
|
|
@@ -25783,7 +25844,7 @@ function getParameterIssues(nodeProperties, nodeValues, path, node, nodeTypeDesc
|
|
|
25783
25844
|
}
|
|
25784
25845
|
} else if (nodeProperties.type === "resourceMapper" && isDisplayed) {
|
|
25785
25846
|
const skipRequiredCheck = nodeProperties.typeOptions?.resourceMapper?.mode !== "add";
|
|
25786
|
-
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path);
|
|
25847
|
+
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path$1);
|
|
25787
25848
|
if (isResourceMapperValue(value)) {
|
|
25788
25849
|
const issues = validateResourceMapperParameter(nodeProperties, value, skipRequiredCheck);
|
|
25789
25850
|
if (Object.keys(issues).length > 0) {
|
|
@@ -25796,7 +25857,7 @@ function getParameterIssues(nodeProperties, nodeValues, path, node, nodeTypeDesc
|
|
|
25796
25857
|
}
|
|
25797
25858
|
}
|
|
25798
25859
|
} else if (nodeProperties.type === "filter" && isDisplayed) {
|
|
25799
|
-
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path);
|
|
25860
|
+
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path$1);
|
|
25800
25861
|
if (isFilterValue(value)) {
|
|
25801
25862
|
const issues = validateFilterParameter(nodeProperties, value);
|
|
25802
25863
|
if (Object.keys(issues).length > 0) foundIssues.parameters = {
|
|
@@ -25805,7 +25866,7 @@ function getParameterIssues(nodeProperties, nodeValues, path, node, nodeTypeDesc
|
|
|
25805
25866
|
};
|
|
25806
25867
|
}
|
|
25807
25868
|
} else if (nodeProperties.validateType) {
|
|
25808
|
-
const error$39 = validateParameter(nodeProperties, getParameterValueByPath(nodeValues, nodeProperties.name, path), nodeProperties.validateType);
|
|
25869
|
+
const error$39 = validateParameter(nodeProperties, getParameterValueByPath(nodeValues, nodeProperties.name, path$1), nodeProperties.validateType);
|
|
25809
25870
|
if (error$39) {
|
|
25810
25871
|
if (foundIssues.parameters === void 0) foundIssues.parameters = {};
|
|
25811
25872
|
if (foundIssues.parameters[nodeProperties.name] === void 0) foundIssues.parameters[nodeProperties.name] = [];
|
|
@@ -25813,7 +25874,7 @@ function getParameterIssues(nodeProperties, nodeValues, path, node, nodeTypeDesc
|
|
|
25813
25874
|
}
|
|
25814
25875
|
}
|
|
25815
25876
|
if (nodeProperties.options === void 0) return foundIssues;
|
|
25816
|
-
let basePath = path ? `${path}.` : "";
|
|
25877
|
+
let basePath = path$1 ? `${path$1}.` : "";
|
|
25817
25878
|
const checkChildNodeProperties = [];
|
|
25818
25879
|
if (nodeProperties.type === "collection") for (const option of nodeProperties.options) checkChildNodeProperties.push({
|
|
25819
25880
|
basePath,
|
|
@@ -26480,9 +26541,9 @@ function assignProp(target, prop, value) {
|
|
|
26480
26541
|
configurable: true
|
|
26481
26542
|
});
|
|
26482
26543
|
}
|
|
26483
|
-
function getElementAtPath(obj, path) {
|
|
26484
|
-
if (!path) return obj;
|
|
26485
|
-
return path.reduce((acc, key) => acc?.[key], obj);
|
|
26544
|
+
function getElementAtPath(obj, path$1) {
|
|
26545
|
+
if (!path$1) return obj;
|
|
26546
|
+
return path$1.reduce((acc, key) => acc?.[key], obj);
|
|
26486
26547
|
}
|
|
26487
26548
|
function promiseAllObject(promisesObj) {
|
|
26488
26549
|
const keys$9 = Object.keys(promisesObj);
|
|
@@ -26744,11 +26805,11 @@ function aborted(x$1, startIndex = 0) {
|
|
|
26744
26805
|
for (let i$2 = startIndex; i$2 < x$1.issues.length; i$2++) if (x$1.issues[i$2].continue !== true) return true;
|
|
26745
26806
|
return false;
|
|
26746
26807
|
}
|
|
26747
|
-
function prefixIssues(path, issues) {
|
|
26808
|
+
function prefixIssues(path$1, issues) {
|
|
26748
26809
|
return issues.map((iss) => {
|
|
26749
26810
|
var _a$1;
|
|
26750
26811
|
(_a$1 = iss).path ?? (_a$1.path = []);
|
|
26751
|
-
iss.path.unshift(path);
|
|
26812
|
+
iss.path.unshift(path$1);
|
|
26752
26813
|
return iss;
|
|
26753
26814
|
});
|
|
26754
26815
|
}
|
|
@@ -26859,13 +26920,13 @@ function treeifyError(error$39, _mapper) {
|
|
|
26859
26920
|
return issue$1.message;
|
|
26860
26921
|
};
|
|
26861
26922
|
const result = { errors: [] };
|
|
26862
|
-
const processError = (error$40, path = []) => {
|
|
26923
|
+
const processError = (error$40, path$1 = []) => {
|
|
26863
26924
|
var _a$1, _b;
|
|
26864
26925
|
for (const issue$1 of error$40.issues) if (issue$1.code === "invalid_union" && issue$1.errors.length) issue$1.errors.map((issues) => processError({ issues }, issue$1.path));
|
|
26865
26926
|
else if (issue$1.code === "invalid_key") processError({ issues: issue$1.issues }, issue$1.path);
|
|
26866
26927
|
else if (issue$1.code === "invalid_element") processError({ issues: issue$1.issues }, issue$1.path);
|
|
26867
26928
|
else {
|
|
26868
|
-
const fullpath = [...path, ...issue$1.path];
|
|
26929
|
+
const fullpath = [...path$1, ...issue$1.path];
|
|
26869
26930
|
if (fullpath.length === 0) {
|
|
26870
26931
|
result.errors.push(mapper(issue$1));
|
|
26871
26932
|
continue;
|
|
@@ -26892,9 +26953,9 @@ function treeifyError(error$39, _mapper) {
|
|
|
26892
26953
|
processError(error$39);
|
|
26893
26954
|
return result;
|
|
26894
26955
|
}
|
|
26895
|
-
function toDotPath(path) {
|
|
26956
|
+
function toDotPath(path$1) {
|
|
26896
26957
|
const segs = [];
|
|
26897
|
-
for (const seg of path) if (typeof seg === "number") segs.push(`[${seg}]`);
|
|
26958
|
+
for (const seg of path$1) if (typeof seg === "number") segs.push(`[${seg}]`);
|
|
26898
26959
|
else if (typeof seg === "symbol") segs.push(`[${JSON.stringify(String(seg))}]`);
|
|
26899
26960
|
else if (/[^\w$]/.test(seg)) segs.push(`[${JSON.stringify(seg)}]`);
|
|
26900
26961
|
else {
|
|
@@ -36549,11 +36610,11 @@ function __disposeResources(env) {
|
|
|
36549
36610
|
}
|
|
36550
36611
|
return next();
|
|
36551
36612
|
}
|
|
36552
|
-
function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
36553
|
-
if (typeof path === "string" && /^\.\.?\//.test(path)) return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m$1, tsx, d$1, ext, cm) {
|
|
36613
|
+
function __rewriteRelativeImportExtension(path$1, preserveJsx) {
|
|
36614
|
+
if (typeof path$1 === "string" && /^\.\.?\//.test(path$1)) return path$1.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m$1, tsx, d$1, ext, cm) {
|
|
36554
36615
|
return tsx ? preserveJsx ? ".jsx" : ".js" : d$1 && (!ext || !cm) ? m$1 : d$1 + ext + "." + cm.toLowerCase() + "js";
|
|
36555
36616
|
});
|
|
36556
|
-
return path;
|
|
36617
|
+
return path$1;
|
|
36557
36618
|
}
|
|
36558
36619
|
var extendStatics, __assign, __createBinding, __setModuleDefault, ownKeys$1, _SuppressedError, tslib_es6_default;
|
|
36559
36620
|
var init_tslib_es6 = __esmMin((() => {
|
|
@@ -37263,14 +37324,14 @@ var require_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37263
37324
|
this.__childCache = null;
|
|
37264
37325
|
};
|
|
37265
37326
|
var Pp$1 = Path$1.prototype;
|
|
37266
|
-
function getChildCache(path) {
|
|
37267
|
-
return path.__childCache || (path.__childCache = Object.create(null));
|
|
37327
|
+
function getChildCache(path$1) {
|
|
37328
|
+
return path$1.__childCache || (path$1.__childCache = Object.create(null));
|
|
37268
37329
|
}
|
|
37269
|
-
function getChildPath(path, name) {
|
|
37270
|
-
var cache$1 = getChildCache(path);
|
|
37271
|
-
var actualChildValue = path.getValueProperty(name);
|
|
37330
|
+
function getChildPath(path$1, name) {
|
|
37331
|
+
var cache$1 = getChildCache(path$1);
|
|
37332
|
+
var actualChildValue = path$1.getValueProperty(name);
|
|
37272
37333
|
var childPath = cache$1[name];
|
|
37273
|
-
if (!hasOwn$5.call(cache$1, name) || childPath.value !== actualChildValue) childPath = cache$1[name] = new path.constructor(actualChildValue, path, name);
|
|
37334
|
+
if (!hasOwn$5.call(cache$1, name) || childPath.value !== actualChildValue) childPath = cache$1[name] = new path$1.constructor(actualChildValue, path$1, name);
|
|
37274
37335
|
return childPath;
|
|
37275
37336
|
}
|
|
37276
37337
|
Pp$1.getValueProperty = function getValueProperty(name) {
|
|
@@ -37279,10 +37340,10 @@ var require_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37279
37340
|
Pp$1.get = function get$2() {
|
|
37280
37341
|
var names = [];
|
|
37281
37342
|
for (var _i = 0; _i < arguments.length; _i++) names[_i] = arguments[_i];
|
|
37282
|
-
var path = this;
|
|
37343
|
+
var path$1 = this;
|
|
37283
37344
|
var count = names.length;
|
|
37284
|
-
for (var i$2 = 0; i$2 < count; ++i$2) path = getChildPath(path, names[i$2]);
|
|
37285
|
-
return path;
|
|
37345
|
+
for (var i$2 = 0; i$2 < count; ++i$2) path$1 = getChildPath(path$1, names[i$2]);
|
|
37346
|
+
return path$1;
|
|
37286
37347
|
};
|
|
37287
37348
|
Pp$1.each = function each(callback, context) {
|
|
37288
37349
|
var childPaths = [];
|
|
@@ -37307,10 +37368,10 @@ var require_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37307
37368
|
return result;
|
|
37308
37369
|
};
|
|
37309
37370
|
function emptyMoves() {}
|
|
37310
|
-
function getMoves(path, offset$1, start, end) {
|
|
37311
|
-
isArray$12.assert(path.value);
|
|
37371
|
+
function getMoves(path$1, offset$1, start, end) {
|
|
37372
|
+
isArray$12.assert(path$1.value);
|
|
37312
37373
|
if (offset$1 === 0) return emptyMoves;
|
|
37313
|
-
var length$1 = path.value.length;
|
|
37374
|
+
var length$1 = path$1.value.length;
|
|
37314
37375
|
if (length$1 < 1) return emptyMoves;
|
|
37315
37376
|
var argc = arguments.length;
|
|
37316
37377
|
if (argc === 2) {
|
|
@@ -37326,9 +37387,9 @@ var require_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37326
37387
|
isNumber$3.assert(start);
|
|
37327
37388
|
isNumber$3.assert(end);
|
|
37328
37389
|
var moves = Object.create(null);
|
|
37329
|
-
var cache$1 = getChildCache(path);
|
|
37330
|
-
for (var i$2 = start; i$2 < end; ++i$2) if (hasOwn$5.call(path.value, i$2)) {
|
|
37331
|
-
var childPath = path.get(i$2);
|
|
37390
|
+
var cache$1 = getChildCache(path$1);
|
|
37391
|
+
for (var i$2 = start; i$2 < end; ++i$2) if (hasOwn$5.call(path$1.value, i$2)) {
|
|
37392
|
+
var childPath = path$1.get(i$2);
|
|
37332
37393
|
if (childPath.name !== i$2) throw new Error("");
|
|
37333
37394
|
var newIndex = i$2 + offset$1;
|
|
37334
37395
|
childPath.name = newIndex;
|
|
@@ -37341,7 +37402,7 @@ var require_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37341
37402
|
var childPath$1 = moves[newIndex$1];
|
|
37342
37403
|
if (childPath$1.name !== +newIndex$1) throw new Error("");
|
|
37343
37404
|
cache$1[newIndex$1] = childPath$1;
|
|
37344
|
-
path.value[newIndex$1] = childPath$1.value;
|
|
37405
|
+
path$1.value[newIndex$1] = childPath$1.value;
|
|
37345
37406
|
}
|
|
37346
37407
|
};
|
|
37347
37408
|
}
|
|
@@ -37400,23 +37461,23 @@ var require_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37400
37461
|
for (var i$2 = 0; i$2 < argc; ++i$2) insertAtArgs.push(args[i$2]);
|
|
37401
37462
|
return pp.insertAt.apply(pp, insertAtArgs);
|
|
37402
37463
|
};
|
|
37403
|
-
function repairRelationshipWithParent(path) {
|
|
37404
|
-
if (!(path instanceof Path$1)) throw new Error("");
|
|
37405
|
-
var pp = path.parentPath;
|
|
37406
|
-
if (!pp) return path;
|
|
37464
|
+
function repairRelationshipWithParent(path$1) {
|
|
37465
|
+
if (!(path$1 instanceof Path$1)) throw new Error("");
|
|
37466
|
+
var pp = path$1.parentPath;
|
|
37467
|
+
if (!pp) return path$1;
|
|
37407
37468
|
var parentValue = pp.value;
|
|
37408
37469
|
var parentCache = getChildCache(pp);
|
|
37409
|
-
if (parentValue[path.name] === path.value) parentCache[path.name] = path;
|
|
37470
|
+
if (parentValue[path$1.name] === path$1.value) parentCache[path$1.name] = path$1;
|
|
37410
37471
|
else if (isArray$12.check(parentValue)) {
|
|
37411
|
-
var i$2 = parentValue.indexOf(path.value);
|
|
37412
|
-
if (i$2 >= 0) parentCache[path.name = i$2] = path;
|
|
37472
|
+
var i$2 = parentValue.indexOf(path$1.value);
|
|
37473
|
+
if (i$2 >= 0) parentCache[path$1.name = i$2] = path$1;
|
|
37413
37474
|
} else {
|
|
37414
|
-
parentValue[path.name] = path.value;
|
|
37415
|
-
parentCache[path.name] = path;
|
|
37475
|
+
parentValue[path$1.name] = path$1.value;
|
|
37476
|
+
parentCache[path$1.name] = path$1;
|
|
37416
37477
|
}
|
|
37417
|
-
if (parentValue[path.name] !== path.value) throw new Error("");
|
|
37418
|
-
if (path.parentPath.get(path.name) !== path) throw new Error("");
|
|
37419
|
-
return path;
|
|
37478
|
+
if (parentValue[path$1.name] !== path$1.value) throw new Error("");
|
|
37479
|
+
if (path$1.parentPath.get(path$1.name) !== path$1) throw new Error("");
|
|
37480
|
+
return path$1;
|
|
37420
37481
|
}
|
|
37421
37482
|
Pp$1.replace = function replace(replacement) {
|
|
37422
37483
|
var results = [];
|
|
@@ -37477,9 +37538,9 @@ var require_scope = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37477
37538
|
var Expression$2 = namedTypes$1.Expression;
|
|
37478
37539
|
var isArray$12 = types$8.builtInTypes.array;
|
|
37479
37540
|
var b$5 = types$8.builders;
|
|
37480
|
-
var Scope = function Scope$1(path, parentScope) {
|
|
37541
|
+
var Scope = function Scope$1(path$1, parentScope) {
|
|
37481
37542
|
if (!(this instanceof Scope$1)) throw new Error("Scope constructor cannot be invoked without 'new'");
|
|
37482
|
-
if (!TypeParameterScopeType.check(path.value)) ScopeType.assert(path.value);
|
|
37543
|
+
if (!TypeParameterScopeType.check(path$1.value)) ScopeType.assert(path$1.value);
|
|
37483
37544
|
var depth;
|
|
37484
37545
|
if (parentScope) {
|
|
37485
37546
|
if (!(parentScope instanceof Scope$1)) throw new Error("");
|
|
@@ -37489,8 +37550,8 @@ var require_scope = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37489
37550
|
depth = 0;
|
|
37490
37551
|
}
|
|
37491
37552
|
Object.defineProperties(this, {
|
|
37492
|
-
path: { value: path },
|
|
37493
|
-
node: { value: path.value },
|
|
37553
|
+
path: { value: path$1 },
|
|
37554
|
+
node: { value: path$1.value },
|
|
37494
37555
|
isGlobal: {
|
|
37495
37556
|
value: !parentScope,
|
|
37496
37557
|
enumerable: true
|
|
@@ -37551,60 +37612,60 @@ var require_scope = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37551
37612
|
this.scan();
|
|
37552
37613
|
return this.types;
|
|
37553
37614
|
};
|
|
37554
|
-
function scanScope(path, bindings, scopeTypes) {
|
|
37555
|
-
var node = path.value;
|
|
37615
|
+
function scanScope(path$1, bindings, scopeTypes) {
|
|
37616
|
+
var node = path$1.value;
|
|
37556
37617
|
if (TypeParameterScopeType.check(node)) {
|
|
37557
|
-
var params = path.get("typeParameters", "params");
|
|
37618
|
+
var params = path$1.get("typeParameters", "params");
|
|
37558
37619
|
if (isArray$12.check(params.value)) params.each(function(childPath) {
|
|
37559
37620
|
addTypeParameter(childPath, scopeTypes);
|
|
37560
37621
|
});
|
|
37561
37622
|
}
|
|
37562
|
-
if (ScopeType.check(node)) if (namedTypes$1.CatchClause.check(node)) addPattern(path.get("param"), bindings);
|
|
37563
|
-
else recursiveScanScope(path, bindings, scopeTypes);
|
|
37623
|
+
if (ScopeType.check(node)) if (namedTypes$1.CatchClause.check(node)) addPattern(path$1.get("param"), bindings);
|
|
37624
|
+
else recursiveScanScope(path$1, bindings, scopeTypes);
|
|
37564
37625
|
}
|
|
37565
|
-
function recursiveScanScope(path, bindings, scopeTypes) {
|
|
37566
|
-
var node = path.value;
|
|
37567
|
-
if (path.parent && namedTypes$1.FunctionExpression.check(path.parent.node) && path.parent.node.id) addPattern(path.parent.get("id"), bindings);
|
|
37568
|
-
if (!node) {} else if (isArray$12.check(node)) path.each(function(childPath) {
|
|
37626
|
+
function recursiveScanScope(path$1, bindings, scopeTypes) {
|
|
37627
|
+
var node = path$1.value;
|
|
37628
|
+
if (path$1.parent && namedTypes$1.FunctionExpression.check(path$1.parent.node) && path$1.parent.node.id) addPattern(path$1.parent.get("id"), bindings);
|
|
37629
|
+
if (!node) {} else if (isArray$12.check(node)) path$1.each(function(childPath) {
|
|
37569
37630
|
recursiveScanChild(childPath, bindings, scopeTypes);
|
|
37570
37631
|
});
|
|
37571
37632
|
else if (namedTypes$1.Function.check(node)) {
|
|
37572
|
-
path.get("params").each(function(paramPath) {
|
|
37633
|
+
path$1.get("params").each(function(paramPath) {
|
|
37573
37634
|
addPattern(paramPath, bindings);
|
|
37574
37635
|
});
|
|
37575
|
-
recursiveScanChild(path.get("body"), bindings, scopeTypes);
|
|
37576
|
-
recursiveScanScope(path.get("typeParameters"), bindings, scopeTypes);
|
|
37577
|
-
} else if (namedTypes$1.TypeAlias && namedTypes$1.TypeAlias.check(node) || namedTypes$1.InterfaceDeclaration && namedTypes$1.InterfaceDeclaration.check(node) || namedTypes$1.TSTypeAliasDeclaration && namedTypes$1.TSTypeAliasDeclaration.check(node) || namedTypes$1.TSInterfaceDeclaration && namedTypes$1.TSInterfaceDeclaration.check(node)) addTypePattern(path.get("id"), scopeTypes);
|
|
37636
|
+
recursiveScanChild(path$1.get("body"), bindings, scopeTypes);
|
|
37637
|
+
recursiveScanScope(path$1.get("typeParameters"), bindings, scopeTypes);
|
|
37638
|
+
} else if (namedTypes$1.TypeAlias && namedTypes$1.TypeAlias.check(node) || namedTypes$1.InterfaceDeclaration && namedTypes$1.InterfaceDeclaration.check(node) || namedTypes$1.TSTypeAliasDeclaration && namedTypes$1.TSTypeAliasDeclaration.check(node) || namedTypes$1.TSInterfaceDeclaration && namedTypes$1.TSInterfaceDeclaration.check(node)) addTypePattern(path$1.get("id"), scopeTypes);
|
|
37578
37639
|
else if (namedTypes$1.VariableDeclarator.check(node)) {
|
|
37579
|
-
addPattern(path.get("id"), bindings);
|
|
37580
|
-
recursiveScanChild(path.get("init"), bindings, scopeTypes);
|
|
37581
|
-
} else if (node.type === "ImportSpecifier" || node.type === "ImportNamespaceSpecifier" || node.type === "ImportDefaultSpecifier") addPattern(path.get(node.local ? "local" : node.name ? "name" : "id"), bindings);
|
|
37640
|
+
addPattern(path$1.get("id"), bindings);
|
|
37641
|
+
recursiveScanChild(path$1.get("init"), bindings, scopeTypes);
|
|
37642
|
+
} else if (node.type === "ImportSpecifier" || node.type === "ImportNamespaceSpecifier" || node.type === "ImportDefaultSpecifier") addPattern(path$1.get(node.local ? "local" : node.name ? "name" : "id"), bindings);
|
|
37582
37643
|
else if (Node.check(node) && !Expression$2.check(node)) types$8.eachField(node, function(name, child) {
|
|
37583
|
-
var childPath = path.get(name);
|
|
37644
|
+
var childPath = path$1.get(name);
|
|
37584
37645
|
if (!pathHasValue(childPath, child)) throw new Error("");
|
|
37585
37646
|
recursiveScanChild(childPath, bindings, scopeTypes);
|
|
37586
37647
|
});
|
|
37587
37648
|
}
|
|
37588
|
-
function pathHasValue(path, value) {
|
|
37589
|
-
if (path.value === value) return true;
|
|
37590
|
-
if (Array.isArray(path.value) && path.value.length === 0 && Array.isArray(value) && value.length === 0) return true;
|
|
37649
|
+
function pathHasValue(path$1, value) {
|
|
37650
|
+
if (path$1.value === value) return true;
|
|
37651
|
+
if (Array.isArray(path$1.value) && path$1.value.length === 0 && Array.isArray(value) && value.length === 0) return true;
|
|
37591
37652
|
return false;
|
|
37592
37653
|
}
|
|
37593
|
-
function recursiveScanChild(path, bindings, scopeTypes) {
|
|
37594
|
-
var node = path.value;
|
|
37595
|
-
if (!node || Expression$2.check(node)) {} else if (namedTypes$1.FunctionDeclaration.check(node) && node.id !== null) addPattern(path.get("id"), bindings);
|
|
37654
|
+
function recursiveScanChild(path$1, bindings, scopeTypes) {
|
|
37655
|
+
var node = path$1.value;
|
|
37656
|
+
if (!node || Expression$2.check(node)) {} else if (namedTypes$1.FunctionDeclaration.check(node) && node.id !== null) addPattern(path$1.get("id"), bindings);
|
|
37596
37657
|
else if (namedTypes$1.ClassDeclaration && namedTypes$1.ClassDeclaration.check(node) && node.id !== null) {
|
|
37597
|
-
addPattern(path.get("id"), bindings);
|
|
37598
|
-
recursiveScanScope(path.get("typeParameters"), bindings, scopeTypes);
|
|
37599
|
-
} else if (namedTypes$1.InterfaceDeclaration && namedTypes$1.InterfaceDeclaration.check(node) || namedTypes$1.TSInterfaceDeclaration && namedTypes$1.TSInterfaceDeclaration.check(node)) addTypePattern(path.get("id"), scopeTypes);
|
|
37658
|
+
addPattern(path$1.get("id"), bindings);
|
|
37659
|
+
recursiveScanScope(path$1.get("typeParameters"), bindings, scopeTypes);
|
|
37660
|
+
} else if (namedTypes$1.InterfaceDeclaration && namedTypes$1.InterfaceDeclaration.check(node) || namedTypes$1.TSInterfaceDeclaration && namedTypes$1.TSInterfaceDeclaration.check(node)) addTypePattern(path$1.get("id"), scopeTypes);
|
|
37600
37661
|
else if (ScopeType.check(node)) {
|
|
37601
37662
|
if (namedTypes$1.CatchClause.check(node) && namedTypes$1.Identifier.check(node.param)) {
|
|
37602
37663
|
var catchParamName = node.param.name;
|
|
37603
37664
|
var hadBinding = hasOwn$4.call(bindings, catchParamName);
|
|
37604
|
-
recursiveScanScope(path.get("body"), bindings, scopeTypes);
|
|
37665
|
+
recursiveScanScope(path$1.get("body"), bindings, scopeTypes);
|
|
37605
37666
|
if (!hadBinding) delete bindings[catchParamName];
|
|
37606
37667
|
}
|
|
37607
|
-
} else recursiveScanScope(path, bindings, scopeTypes);
|
|
37668
|
+
} else recursiveScanScope(path$1, bindings, scopeTypes);
|
|
37608
37669
|
}
|
|
37609
37670
|
function addPattern(patternPath, bindings) {
|
|
37610
37671
|
var pattern = patternPath.value;
|
|
@@ -37868,39 +37929,39 @@ var require_node_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37868
37929
|
NPp.firstInStatement = function() {
|
|
37869
37930
|
return firstInStatement(this);
|
|
37870
37931
|
};
|
|
37871
|
-
function firstInStatement(path) {
|
|
37872
|
-
for (var node, parent; path.parent; path = path.parent) {
|
|
37873
|
-
node = path.node;
|
|
37874
|
-
parent = path.parent.node;
|
|
37875
|
-
if (n$5.BlockStatement.check(parent) && path.parent.name === "body" && path.name === 0) {
|
|
37932
|
+
function firstInStatement(path$1) {
|
|
37933
|
+
for (var node, parent; path$1.parent; path$1 = path$1.parent) {
|
|
37934
|
+
node = path$1.node;
|
|
37935
|
+
parent = path$1.parent.node;
|
|
37936
|
+
if (n$5.BlockStatement.check(parent) && path$1.parent.name === "body" && path$1.name === 0) {
|
|
37876
37937
|
if (parent.body[0] !== node) throw new Error("Nodes must be equal");
|
|
37877
37938
|
return true;
|
|
37878
37939
|
}
|
|
37879
|
-
if (n$5.ExpressionStatement.check(parent) && path.name === "expression") {
|
|
37940
|
+
if (n$5.ExpressionStatement.check(parent) && path$1.name === "expression") {
|
|
37880
37941
|
if (parent.expression !== node) throw new Error("Nodes must be equal");
|
|
37881
37942
|
return true;
|
|
37882
37943
|
}
|
|
37883
|
-
if (n$5.SequenceExpression.check(parent) && path.parent.name === "expressions" && path.name === 0) {
|
|
37944
|
+
if (n$5.SequenceExpression.check(parent) && path$1.parent.name === "expressions" && path$1.name === 0) {
|
|
37884
37945
|
if (parent.expressions[0] !== node) throw new Error("Nodes must be equal");
|
|
37885
37946
|
continue;
|
|
37886
37947
|
}
|
|
37887
|
-
if (n$5.CallExpression.check(parent) && path.name === "callee") {
|
|
37948
|
+
if (n$5.CallExpression.check(parent) && path$1.name === "callee") {
|
|
37888
37949
|
if (parent.callee !== node) throw new Error("Nodes must be equal");
|
|
37889
37950
|
continue;
|
|
37890
37951
|
}
|
|
37891
|
-
if (n$5.MemberExpression.check(parent) && path.name === "object") {
|
|
37952
|
+
if (n$5.MemberExpression.check(parent) && path$1.name === "object") {
|
|
37892
37953
|
if (parent.object !== node) throw new Error("Nodes must be equal");
|
|
37893
37954
|
continue;
|
|
37894
37955
|
}
|
|
37895
|
-
if (n$5.ConditionalExpression.check(parent) && path.name === "test") {
|
|
37956
|
+
if (n$5.ConditionalExpression.check(parent) && path$1.name === "test") {
|
|
37896
37957
|
if (parent.test !== node) throw new Error("Nodes must be equal");
|
|
37897
37958
|
continue;
|
|
37898
37959
|
}
|
|
37899
|
-
if (isBinary$1(parent) && path.name === "left") {
|
|
37960
|
+
if (isBinary$1(parent) && path$1.name === "left") {
|
|
37900
37961
|
if (parent.left !== node) throw new Error("Nodes must be equal");
|
|
37901
37962
|
continue;
|
|
37902
37963
|
}
|
|
37903
|
-
if (n$5.UnaryExpression.check(parent) && !parent.prefix && path.name === "argument") {
|
|
37964
|
+
if (n$5.UnaryExpression.check(parent) && !parent.prefix && path$1.name === "argument") {
|
|
37904
37965
|
if (parent.argument !== node) throw new Error("Nodes must be equal");
|
|
37905
37966
|
continue;
|
|
37906
37967
|
}
|
|
@@ -38030,25 +38091,25 @@ var require_path_visitor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
38030
38091
|
throw request;
|
|
38031
38092
|
};
|
|
38032
38093
|
PVp.reset = function(_path) {};
|
|
38033
|
-
PVp.visitWithoutReset = function(path) {
|
|
38034
|
-
if (this instanceof this.Context) return this.visitor.visitWithoutReset(path);
|
|
38035
|
-
if (!(path instanceof NodePath$1)) throw new Error("");
|
|
38036
|
-
var value = path.value;
|
|
38094
|
+
PVp.visitWithoutReset = function(path$1) {
|
|
38095
|
+
if (this instanceof this.Context) return this.visitor.visitWithoutReset(path$1);
|
|
38096
|
+
if (!(path$1 instanceof NodePath$1)) throw new Error("");
|
|
38097
|
+
var value = path$1.value;
|
|
38037
38098
|
var methodName = value && typeof value === "object" && typeof value.type === "string" && this._methodNameTable[value.type];
|
|
38038
38099
|
if (methodName) {
|
|
38039
|
-
var context = this.acquireContext(path);
|
|
38100
|
+
var context = this.acquireContext(path$1);
|
|
38040
38101
|
try {
|
|
38041
38102
|
return context.invokeVisitorMethod(methodName);
|
|
38042
38103
|
} finally {
|
|
38043
38104
|
this.releaseContext(context);
|
|
38044
38105
|
}
|
|
38045
|
-
} else return visitChildren(path, this);
|
|
38106
|
+
} else return visitChildren(path$1, this);
|
|
38046
38107
|
};
|
|
38047
|
-
function visitChildren(path, visitor) {
|
|
38048
|
-
if (!(path instanceof NodePath$1)) throw new Error("");
|
|
38108
|
+
function visitChildren(path$1, visitor) {
|
|
38109
|
+
if (!(path$1 instanceof NodePath$1)) throw new Error("");
|
|
38049
38110
|
if (!(visitor instanceof PathVisitor$1)) throw new Error("");
|
|
38050
|
-
var value = path.value;
|
|
38051
|
-
if (isArray$12.check(value)) path.each(visitor.visitWithoutReset, visitor);
|
|
38111
|
+
var value = path$1.value;
|
|
38112
|
+
if (isArray$12.check(value)) path$1.each(visitor.visitWithoutReset, visitor);
|
|
38052
38113
|
else if (!isObject$10.check(value)) {} else {
|
|
38053
38114
|
var childNames = types$8.getFieldNames(value);
|
|
38054
38115
|
if (visitor._shouldVisitComments && value.comments && childNames.indexOf("comments") < 0) childNames.push("comments");
|
|
@@ -38057,15 +38118,15 @@ var require_path_visitor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
38057
38118
|
for (var i$2 = 0; i$2 < childCount; ++i$2) {
|
|
38058
38119
|
var childName = childNames[i$2];
|
|
38059
38120
|
if (!hasOwn$3.call(value, childName)) value[childName] = types$8.getFieldValue(value, childName);
|
|
38060
|
-
childPaths.push(path.get(childName));
|
|
38121
|
+
childPaths.push(path$1.get(childName));
|
|
38061
38122
|
}
|
|
38062
38123
|
for (var i$2 = 0; i$2 < childCount; ++i$2) visitor.visitWithoutReset(childPaths[i$2]);
|
|
38063
38124
|
}
|
|
38064
|
-
return path.value;
|
|
38125
|
+
return path$1.value;
|
|
38065
38126
|
}
|
|
38066
|
-
PVp.acquireContext = function(path) {
|
|
38067
|
-
if (this._reusableContextStack.length === 0) return new this.Context(path);
|
|
38068
|
-
return this._reusableContextStack.pop().reset(path);
|
|
38127
|
+
PVp.acquireContext = function(path$1) {
|
|
38128
|
+
if (this._reusableContextStack.length === 0) return new this.Context(path$1);
|
|
38129
|
+
return this._reusableContextStack.pop().reset(path$1);
|
|
38069
38130
|
};
|
|
38070
38131
|
PVp.releaseContext = function(context) {
|
|
38071
38132
|
if (!(context instanceof this.Context)) throw new Error("");
|
|
@@ -38079,17 +38140,17 @@ var require_path_visitor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
38079
38140
|
return this._changeReported;
|
|
38080
38141
|
};
|
|
38081
38142
|
function makeContextConstructor(visitor) {
|
|
38082
|
-
function Context(path) {
|
|
38143
|
+
function Context(path$1) {
|
|
38083
38144
|
if (!(this instanceof Context)) throw new Error("");
|
|
38084
38145
|
if (!(this instanceof PathVisitor$1)) throw new Error("");
|
|
38085
|
-
if (!(path instanceof NodePath$1)) throw new Error("");
|
|
38146
|
+
if (!(path$1 instanceof NodePath$1)) throw new Error("");
|
|
38086
38147
|
Object.defineProperty(this, "visitor", {
|
|
38087
38148
|
value: visitor,
|
|
38088
38149
|
writable: false,
|
|
38089
38150
|
enumerable: true,
|
|
38090
38151
|
configurable: false
|
|
38091
38152
|
});
|
|
38092
|
-
this.currentPath = path;
|
|
38153
|
+
this.currentPath = path$1;
|
|
38093
38154
|
this.needToCallTraverse = true;
|
|
38094
38155
|
Object.seal(this);
|
|
38095
38156
|
}
|
|
@@ -38100,10 +38161,10 @@ var require_path_visitor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
38100
38161
|
return Context;
|
|
38101
38162
|
}
|
|
38102
38163
|
var sharedContextProtoMethods = Object.create(null);
|
|
38103
|
-
sharedContextProtoMethods.reset = function reset(path) {
|
|
38164
|
+
sharedContextProtoMethods.reset = function reset(path$1) {
|
|
38104
38165
|
if (!(this instanceof this.Context)) throw new Error("");
|
|
38105
|
-
if (!(path instanceof NodePath$1)) throw new Error("");
|
|
38106
|
-
this.currentPath = path;
|
|
38166
|
+
if (!(path$1 instanceof NodePath$1)) throw new Error("");
|
|
38167
|
+
this.currentPath = path$1;
|
|
38107
38168
|
this.needToCallTraverse = true;
|
|
38108
38169
|
return this;
|
|
38109
38170
|
};
|
|
@@ -38117,22 +38178,22 @@ var require_path_visitor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
38117
38178
|
if (this.needToCallTraverse) this.traverse(this.currentPath);
|
|
38118
38179
|
}
|
|
38119
38180
|
if (this.needToCallTraverse !== false) throw new Error("Must either call this.traverse or return false in " + methodName);
|
|
38120
|
-
var path = this.currentPath;
|
|
38121
|
-
return path && path.value;
|
|
38181
|
+
var path$1 = this.currentPath;
|
|
38182
|
+
return path$1 && path$1.value;
|
|
38122
38183
|
};
|
|
38123
|
-
sharedContextProtoMethods.traverse = function traverse(path, newVisitor) {
|
|
38184
|
+
sharedContextProtoMethods.traverse = function traverse(path$1, newVisitor) {
|
|
38124
38185
|
if (!(this instanceof this.Context)) throw new Error("");
|
|
38125
|
-
if (!(path instanceof NodePath$1)) throw new Error("");
|
|
38186
|
+
if (!(path$1 instanceof NodePath$1)) throw new Error("");
|
|
38126
38187
|
if (!(this.currentPath instanceof NodePath$1)) throw new Error("");
|
|
38127
38188
|
this.needToCallTraverse = false;
|
|
38128
|
-
return visitChildren(path, PathVisitor$1.fromMethodsObject(newVisitor || this.visitor));
|
|
38189
|
+
return visitChildren(path$1, PathVisitor$1.fromMethodsObject(newVisitor || this.visitor));
|
|
38129
38190
|
};
|
|
38130
|
-
sharedContextProtoMethods.visit = function visit$5(path, newVisitor) {
|
|
38191
|
+
sharedContextProtoMethods.visit = function visit$5(path$1, newVisitor) {
|
|
38131
38192
|
if (!(this instanceof this.Context)) throw new Error("");
|
|
38132
|
-
if (!(path instanceof NodePath$1)) throw new Error("");
|
|
38193
|
+
if (!(path$1 instanceof NodePath$1)) throw new Error("");
|
|
38133
38194
|
if (!(this.currentPath instanceof NodePath$1)) throw new Error("");
|
|
38134
38195
|
this.needToCallTraverse = false;
|
|
38135
|
-
return PathVisitor$1.fromMethodsObject(newVisitor || this.visitor).visitWithoutReset(path);
|
|
38196
|
+
return PathVisitor$1.fromMethodsObject(newVisitor || this.visitor).visitWithoutReset(path$1);
|
|
38136
38197
|
};
|
|
38137
38198
|
sharedContextProtoMethods.reportChanged = function reportChanged() {
|
|
38138
38199
|
this.visitor.reportChanged();
|
|
@@ -39968,7 +40029,7 @@ var require_object_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
39968
40029
|
var require_implementation$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
39969
40030
|
var objectKeys = require_object_keys();
|
|
39970
40031
|
var hasSymbols$1 = require_shams$1()();
|
|
39971
|
-
var callBound = require_callBound();
|
|
40032
|
+
var callBound = require_callBound$1();
|
|
39972
40033
|
var toObject = Object;
|
|
39973
40034
|
var $push = callBound("Array.prototype.push");
|
|
39974
40035
|
var $propIsEnumerable = callBound("Object.prototype.propertyIsEnumerable");
|
|
@@ -40043,6 +40104,36 @@ var require_polyfill$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
40043
40104
|
return typeof Object.is === "function" ? Object.is : implementation$3;
|
|
40044
40105
|
};
|
|
40045
40106
|
}));
|
|
40107
|
+
var require_call_bind = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40108
|
+
var bind = require_function_bind();
|
|
40109
|
+
var GetIntrinsic$1 = require_get_intrinsic();
|
|
40110
|
+
var setFunctionLength = require_set_function_length();
|
|
40111
|
+
var $TypeError = require_type();
|
|
40112
|
+
var $apply = GetIntrinsic$1("%Function.prototype.apply%");
|
|
40113
|
+
var $call = GetIntrinsic$1("%Function.prototype.call%");
|
|
40114
|
+
var $reflectApply = GetIntrinsic$1("%Reflect.apply%", true) || bind.call($call, $apply);
|
|
40115
|
+
var $defineProperty = require_es_define_property();
|
|
40116
|
+
var $max = GetIntrinsic$1("%Math.max%");
|
|
40117
|
+
module.exports = function callBind$5(originalFunction) {
|
|
40118
|
+
if (typeof originalFunction !== "function") throw new $TypeError("a function is required");
|
|
40119
|
+
return setFunctionLength($reflectApply(bind, $call, arguments), 1 + $max(0, originalFunction.length - (arguments.length - 1)), true);
|
|
40120
|
+
};
|
|
40121
|
+
var applyBind = function applyBind$2() {
|
|
40122
|
+
return $reflectApply(bind, $apply, arguments);
|
|
40123
|
+
};
|
|
40124
|
+
if ($defineProperty) $defineProperty(module.exports, "apply", { value: applyBind });
|
|
40125
|
+
else module.exports.apply = applyBind;
|
|
40126
|
+
}));
|
|
40127
|
+
var require_callBound = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40128
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
40129
|
+
var callBind$2 = require_call_bind();
|
|
40130
|
+
var $indexOf = callBind$2(GetIntrinsic("String.prototype.indexOf"));
|
|
40131
|
+
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
40132
|
+
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
40133
|
+
if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) return callBind$2(intrinsic);
|
|
40134
|
+
return intrinsic;
|
|
40135
|
+
};
|
|
40136
|
+
}));
|
|
40046
40137
|
var require_define_properties = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40047
40138
|
var keys$5 = require_object_keys();
|
|
40048
40139
|
var hasSymbols = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
|
|
@@ -40084,7 +40175,7 @@ var require_shim$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
40084
40175
|
}));
|
|
40085
40176
|
var require_object_is = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40086
40177
|
var define$3 = require_define_properties();
|
|
40087
|
-
var callBind$1 = require_call_bind();
|
|
40178
|
+
var callBind$1 = require_call_bind$1();
|
|
40088
40179
|
var implementation$2 = require_implementation$1();
|
|
40089
40180
|
var getPolyfill$2 = require_polyfill$1();
|
|
40090
40181
|
var shim$1 = require_shim$1();
|
|
@@ -40120,7 +40211,7 @@ var require_shim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
40120
40211
|
};
|
|
40121
40212
|
}));
|
|
40122
40213
|
var require_is_nan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40123
|
-
var callBind = require_call_bind();
|
|
40214
|
+
var callBind = require_call_bind$1();
|
|
40124
40215
|
var define$1 = require_define_properties();
|
|
40125
40216
|
var implementation = require_implementation();
|
|
40126
40217
|
var getPolyfill = require_polyfill();
|
|
@@ -40561,7 +40652,7 @@ var require_assert = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
40561
40652
|
var _require$types = require_util$2().types, isPromise = _require$types.isPromise, isRegExp = _require$types.isRegExp;
|
|
40562
40653
|
var objectAssign = require_polyfill$2()();
|
|
40563
40654
|
var objectIs = require_polyfill$1()();
|
|
40564
|
-
var RegExpPrototypeTest = require_callBound
|
|
40655
|
+
var RegExpPrototypeTest = require_callBound()("RegExp.prototype.test");
|
|
40565
40656
|
var isDeepEqual;
|
|
40566
40657
|
var isDeepStrictEqual;
|
|
40567
40658
|
function lazyLoadComparison() {
|
|
@@ -41045,14 +41136,14 @@ var require_util$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
41045
41136
|
}
|
|
41046
41137
|
exports.urlGenerate = urlGenerate;
|
|
41047
41138
|
function normalize$1(aPath) {
|
|
41048
|
-
var path = aPath;
|
|
41139
|
+
var path$1 = aPath;
|
|
41049
41140
|
var url$1 = urlParse(aPath);
|
|
41050
41141
|
if (url$1) {
|
|
41051
41142
|
if (!url$1.path) return aPath;
|
|
41052
|
-
path = url$1.path;
|
|
41143
|
+
path$1 = url$1.path;
|
|
41053
41144
|
}
|
|
41054
|
-
var isAbsolute = exports.isAbsolute(path);
|
|
41055
|
-
var parts = path.split(/\/+/);
|
|
41145
|
+
var isAbsolute = exports.isAbsolute(path$1);
|
|
41146
|
+
var parts = path$1.split(/\/+/);
|
|
41056
41147
|
for (var part, up = 0, i$2 = parts.length - 1; i$2 >= 0; i$2--) {
|
|
41057
41148
|
part = parts[i$2];
|
|
41058
41149
|
if (part === ".") parts.splice(i$2, 1);
|
|
@@ -41065,13 +41156,13 @@ var require_util$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
41065
41156
|
up--;
|
|
41066
41157
|
}
|
|
41067
41158
|
}
|
|
41068
|
-
path = parts.join("/");
|
|
41069
|
-
if (path === "") path = isAbsolute ? "/" : ".";
|
|
41159
|
+
path$1 = parts.join("/");
|
|
41160
|
+
if (path$1 === "") path$1 = isAbsolute ? "/" : ".";
|
|
41070
41161
|
if (url$1) {
|
|
41071
|
-
url$1.path = path;
|
|
41162
|
+
url$1.path = path$1;
|
|
41072
41163
|
return urlGenerate(url$1);
|
|
41073
41164
|
}
|
|
41074
|
-
return path;
|
|
41165
|
+
return path$1;
|
|
41075
41166
|
}
|
|
41076
41167
|
exports.normalize = normalize$1;
|
|
41077
41168
|
function join(aRoot, aPath) {
|
|
@@ -42448,9 +42539,9 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
42448
42539
|
return false;
|
|
42449
42540
|
}
|
|
42450
42541
|
exports.isExportDeclaration = isExportDeclaration;
|
|
42451
|
-
function getParentExportDeclaration(path) {
|
|
42452
|
-
var parentNode = path.getParentNode();
|
|
42453
|
-
if (path.getName() === "declaration" && isExportDeclaration(parentNode)) return parentNode;
|
|
42542
|
+
function getParentExportDeclaration(path$1) {
|
|
42543
|
+
var parentNode = path$1.getParentNode();
|
|
42544
|
+
if (path$1.getName() === "declaration" && isExportDeclaration(parentNode)) return parentNode;
|
|
42454
42545
|
return null;
|
|
42455
42546
|
}
|
|
42456
42547
|
exports.getParentExportDeclaration = getParentExportDeclaration;
|
|
@@ -48664,14 +48755,14 @@ var require_comments = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
48664
48755
|
parts.push(print$4(commentPath));
|
|
48665
48756
|
return lines_1$2.concat(parts);
|
|
48666
48757
|
}
|
|
48667
|
-
function printComments(path, print$4) {
|
|
48668
|
-
var value = path.getValue();
|
|
48669
|
-
var innerLines = print$4(path);
|
|
48758
|
+
function printComments(path$1, print$4) {
|
|
48759
|
+
var value = path$1.getValue();
|
|
48760
|
+
var innerLines = print$4(path$1);
|
|
48670
48761
|
var comments = n$1.Node.check(value) && types$7.getFieldValue(value, "comments");
|
|
48671
48762
|
if (!comments || comments.length === 0) return innerLines;
|
|
48672
48763
|
var leadingParts = [];
|
|
48673
48764
|
var trailingParts = [innerLines];
|
|
48674
|
-
path.each(function(commentPath) {
|
|
48765
|
+
path$1.each(function(commentPath) {
|
|
48675
48766
|
var comment = commentPath.getValue();
|
|
48676
48767
|
var leading = types$7.getFieldValue(comment, "leading");
|
|
48677
48768
|
var trailing = types$7.getFieldValue(comment, "trailing");
|
|
@@ -48922,8 +49013,8 @@ var require_fast_path = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
48922
49013
|
var valueIndex = s$2.length - 1;
|
|
48923
49014
|
return s$2.lastIndexOf(s$2[valueIndex], valueIndex - 1) >= 0;
|
|
48924
49015
|
};
|
|
48925
|
-
function getNodeHelper(path, count) {
|
|
48926
|
-
var s$2 = path.stack;
|
|
49016
|
+
function getNodeHelper(path$1, count) {
|
|
49017
|
+
var s$2 = path$1.stack;
|
|
48927
49018
|
for (var i$2 = s$2.length - 1; i$2 >= 0; i$2 -= 2) {
|
|
48928
49019
|
var value = s$2[i$2];
|
|
48929
49020
|
if (n.Node.check(value) && --count < 0) return value;
|
|
@@ -49282,15 +49373,15 @@ var require_patcher = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49282
49373
|
}, "");
|
|
49283
49374
|
});
|
|
49284
49375
|
};
|
|
49285
|
-
function getReprinter(path) {
|
|
49286
|
-
assert_1$1.default.ok(path instanceof fast_path_1$1.default);
|
|
49287
|
-
var node = path.getValue();
|
|
49376
|
+
function getReprinter(path$1) {
|
|
49377
|
+
assert_1$1.default.ok(path$1 instanceof fast_path_1$1.default);
|
|
49378
|
+
var node = path$1.getValue();
|
|
49288
49379
|
if (!Printable.check(node)) return;
|
|
49289
49380
|
var orig = node.original;
|
|
49290
49381
|
var origLoc = orig && orig.loc;
|
|
49291
49382
|
var lines = origLoc && origLoc.lines;
|
|
49292
49383
|
var reprints = [];
|
|
49293
|
-
if (!lines || !findReprints(path, reprints)) return;
|
|
49384
|
+
if (!lines || !findReprints(path$1, reprints)) return;
|
|
49294
49385
|
return function(print$4) {
|
|
49295
49386
|
var patcher = new Patcher(lines);
|
|
49296
49387
|
reprints.forEach(function(reprint) {
|
|
@@ -49315,7 +49406,7 @@ var require_patcher = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49315
49406
|
patcher.replace(oldNode.loc, newLines);
|
|
49316
49407
|
});
|
|
49317
49408
|
var patchedLines = patcher.get(origLoc).indentTail(-orig.loc.indent);
|
|
49318
|
-
if (path.needsParens()) return linesModule.concat([
|
|
49409
|
+
if (path$1.needsParens()) return linesModule.concat([
|
|
49319
49410
|
"(",
|
|
49320
49411
|
patchedLines,
|
|
49321
49412
|
")"
|
|
@@ -49472,21 +49563,21 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49472
49563
|
config$2.sourceFileName = null;
|
|
49473
49564
|
function makePrintFunctionWith(options, overrides) {
|
|
49474
49565
|
options = Object.assign({}, options, overrides);
|
|
49475
|
-
return function(path) {
|
|
49476
|
-
return print$4(path, options);
|
|
49566
|
+
return function(path$1) {
|
|
49567
|
+
return print$4(path$1, options);
|
|
49477
49568
|
};
|
|
49478
49569
|
}
|
|
49479
|
-
function print$4(path, options) {
|
|
49480
|
-
assert_1.default.ok(path instanceof fast_path_1.default);
|
|
49570
|
+
function print$4(path$1, options) {
|
|
49571
|
+
assert_1.default.ok(path$1 instanceof fast_path_1.default);
|
|
49481
49572
|
options = options || {};
|
|
49482
|
-
if (options.includeComments) return comments_1.printComments(path, makePrintFunctionWith(options, { includeComments: false }));
|
|
49573
|
+
if (options.includeComments) return comments_1.printComments(path$1, makePrintFunctionWith(options, { includeComments: false }));
|
|
49483
49574
|
var oldTabWidth = config$2.tabWidth;
|
|
49484
49575
|
if (!explicitTabWidth) {
|
|
49485
|
-
var loc = path.getNode().loc;
|
|
49576
|
+
var loc = path$1.getNode().loc;
|
|
49486
49577
|
if (loc && loc.lines && loc.lines.guessTabWidth) config$2.tabWidth = loc.lines.guessTabWidth();
|
|
49487
49578
|
}
|
|
49488
|
-
var reprinter = patcher_1.getReprinter(path);
|
|
49489
|
-
var lines = reprinter ? reprinter(print$4) : genericPrint(path, config$2, options, makePrintFunctionWith(options, {
|
|
49579
|
+
var reprinter = patcher_1.getReprinter(path$1);
|
|
49580
|
+
var lines = reprinter ? reprinter(print$4) : genericPrint(path$1, config$2, options, makePrintFunctionWith(options, {
|
|
49490
49581
|
includeComments: true,
|
|
49491
49582
|
avoidRootParens: false
|
|
49492
49583
|
}));
|
|
@@ -49503,98 +49594,98 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49503
49594
|
};
|
|
49504
49595
|
this.printGenerically = function(ast) {
|
|
49505
49596
|
if (!ast) return emptyPrintResult;
|
|
49506
|
-
function printGenerically(path$
|
|
49507
|
-
return comments_1.printComments(path$
|
|
49508
|
-
return genericPrint(path$
|
|
49597
|
+
function printGenerically(path$2) {
|
|
49598
|
+
return comments_1.printComments(path$2, function(path$3) {
|
|
49599
|
+
return genericPrint(path$3, config$2, {
|
|
49509
49600
|
includeComments: true,
|
|
49510
49601
|
avoidRootParens: false
|
|
49511
49602
|
}, printGenerically);
|
|
49512
49603
|
});
|
|
49513
49604
|
}
|
|
49514
|
-
var path = fast_path_1.default.from(ast);
|
|
49605
|
+
var path$1 = fast_path_1.default.from(ast);
|
|
49515
49606
|
var oldReuseWhitespace = config$2.reuseWhitespace;
|
|
49516
49607
|
config$2.reuseWhitespace = false;
|
|
49517
|
-
var pr = new PrintResult(printGenerically(path).toString(config$2));
|
|
49608
|
+
var pr = new PrintResult(printGenerically(path$1).toString(config$2));
|
|
49518
49609
|
config$2.reuseWhitespace = oldReuseWhitespace;
|
|
49519
49610
|
return pr;
|
|
49520
49611
|
};
|
|
49521
49612
|
};
|
|
49522
|
-
function genericPrint(path, config$2, options, printPath) {
|
|
49523
|
-
assert_1.default.ok(path instanceof fast_path_1.default);
|
|
49524
|
-
var node = path.getValue();
|
|
49613
|
+
function genericPrint(path$1, config$2, options, printPath) {
|
|
49614
|
+
assert_1.default.ok(path$1 instanceof fast_path_1.default);
|
|
49615
|
+
var node = path$1.getValue();
|
|
49525
49616
|
var parts = [];
|
|
49526
|
-
var linesWithoutParens = genericPrintNoParens(path, config$2, printPath);
|
|
49617
|
+
var linesWithoutParens = genericPrintNoParens(path$1, config$2, printPath);
|
|
49527
49618
|
if (!node || linesWithoutParens.isEmpty()) return linesWithoutParens;
|
|
49528
49619
|
var shouldAddParens = false;
|
|
49529
|
-
var decoratorsLines = printDecorators(path, printPath);
|
|
49620
|
+
var decoratorsLines = printDecorators(path$1, printPath);
|
|
49530
49621
|
if (decoratorsLines.isEmpty()) {
|
|
49531
|
-
if (!options.avoidRootParens) shouldAddParens = path.needsParens();
|
|
49622
|
+
if (!options.avoidRootParens) shouldAddParens = path$1.needsParens();
|
|
49532
49623
|
} else parts.push(decoratorsLines);
|
|
49533
49624
|
if (shouldAddParens) parts.unshift("(");
|
|
49534
49625
|
parts.push(linesWithoutParens);
|
|
49535
49626
|
if (shouldAddParens) parts.push(")");
|
|
49536
49627
|
return lines_1.concat(parts);
|
|
49537
49628
|
}
|
|
49538
|
-
function genericPrintNoParens(path, options, print$4) {
|
|
49539
|
-
var n$5 = path.getValue();
|
|
49629
|
+
function genericPrintNoParens(path$1, options, print$4) {
|
|
49630
|
+
var n$5 = path$1.getValue();
|
|
49540
49631
|
if (!n$5) return lines_1.fromString("");
|
|
49541
49632
|
if (typeof n$5 === "string") return lines_1.fromString(n$5, options);
|
|
49542
49633
|
namedTypes.Printable.assert(n$5);
|
|
49543
49634
|
var parts = [];
|
|
49544
49635
|
switch (n$5.type) {
|
|
49545
|
-
case "File": return path.call(print$4, "program");
|
|
49636
|
+
case "File": return path$1.call(print$4, "program");
|
|
49546
49637
|
case "Program":
|
|
49547
|
-
if (n$5.directives) path.each(function(childPath) {
|
|
49638
|
+
if (n$5.directives) path$1.each(function(childPath) {
|
|
49548
49639
|
parts.push(print$4(childPath), ";\n");
|
|
49549
49640
|
}, "directives");
|
|
49550
|
-
if (n$5.interpreter) parts.push(path.call(print$4, "interpreter"));
|
|
49551
|
-
parts.push(path.call(function(bodyPath) {
|
|
49641
|
+
if (n$5.interpreter) parts.push(path$1.call(print$4, "interpreter"));
|
|
49642
|
+
parts.push(path$1.call(function(bodyPath) {
|
|
49552
49643
|
return printStatementSequence(bodyPath, options, print$4);
|
|
49553
49644
|
}, "body"));
|
|
49554
49645
|
return lines_1.concat(parts);
|
|
49555
49646
|
case "Noop":
|
|
49556
49647
|
case "EmptyStatement": return lines_1.fromString("");
|
|
49557
|
-
case "ExpressionStatement": return lines_1.concat([path.call(print$4, "expression"), ";"]);
|
|
49648
|
+
case "ExpressionStatement": return lines_1.concat([path$1.call(print$4, "expression"), ";"]);
|
|
49558
49649
|
case "ParenthesizedExpression": return lines_1.concat([
|
|
49559
49650
|
"(",
|
|
49560
|
-
path.call(print$4, "expression"),
|
|
49651
|
+
path$1.call(print$4, "expression"),
|
|
49561
49652
|
")"
|
|
49562
49653
|
]);
|
|
49563
49654
|
case "BinaryExpression":
|
|
49564
49655
|
case "LogicalExpression":
|
|
49565
49656
|
case "AssignmentExpression": return lines_1.fromString(" ").join([
|
|
49566
|
-
path.call(print$4, "left"),
|
|
49657
|
+
path$1.call(print$4, "left"),
|
|
49567
49658
|
n$5.operator,
|
|
49568
|
-
path.call(print$4, "right")
|
|
49659
|
+
path$1.call(print$4, "right")
|
|
49569
49660
|
]);
|
|
49570
49661
|
case "AssignmentPattern": return lines_1.concat([
|
|
49571
|
-
path.call(print$4, "left"),
|
|
49662
|
+
path$1.call(print$4, "left"),
|
|
49572
49663
|
" = ",
|
|
49573
|
-
path.call(print$4, "right")
|
|
49664
|
+
path$1.call(print$4, "right")
|
|
49574
49665
|
]);
|
|
49575
49666
|
case "MemberExpression":
|
|
49576
49667
|
case "OptionalMemberExpression":
|
|
49577
|
-
parts.push(path.call(print$4, "object"));
|
|
49578
|
-
var property$2 = path.call(print$4, "property");
|
|
49668
|
+
parts.push(path$1.call(print$4, "object"));
|
|
49669
|
+
var property$2 = path$1.call(print$4, "property");
|
|
49579
49670
|
var optional$1 = types$3.getFieldValue(n$5, "optional");
|
|
49580
49671
|
if (n$5.computed) parts.push(optional$1 ? "?.[" : "[", property$2, "]");
|
|
49581
49672
|
else parts.push(optional$1 ? "?." : ".", property$2);
|
|
49582
49673
|
return lines_1.concat(parts);
|
|
49583
|
-
case "ChainExpression": return path.call(print$4, "expression");
|
|
49674
|
+
case "ChainExpression": return path$1.call(print$4, "expression");
|
|
49584
49675
|
case "MetaProperty": return lines_1.concat([
|
|
49585
|
-
path.call(print$4, "meta"),
|
|
49676
|
+
path$1.call(print$4, "meta"),
|
|
49586
49677
|
".",
|
|
49587
|
-
path.call(print$4, "property")
|
|
49678
|
+
path$1.call(print$4, "property")
|
|
49588
49679
|
]);
|
|
49589
49680
|
case "BindExpression":
|
|
49590
|
-
if (n$5.object) parts.push(path.call(print$4, "object"));
|
|
49591
|
-
parts.push("::", path.call(print$4, "callee"));
|
|
49681
|
+
if (n$5.object) parts.push(path$1.call(print$4, "object"));
|
|
49682
|
+
parts.push("::", path$1.call(print$4, "callee"));
|
|
49592
49683
|
return lines_1.concat(parts);
|
|
49593
49684
|
case "Path": return lines_1.fromString(".").join(n$5.body);
|
|
49594
49685
|
case "Identifier": return lines_1.concat([
|
|
49595
49686
|
lines_1.fromString(n$5.name, options),
|
|
49596
49687
|
n$5.optional ? "?" : "",
|
|
49597
|
-
path.call(print$4, "typeAnnotation")
|
|
49688
|
+
path$1.call(print$4, "typeAnnotation")
|
|
49598
49689
|
]);
|
|
49599
49690
|
case "SpreadElement":
|
|
49600
49691
|
case "SpreadElementPattern":
|
|
@@ -49604,8 +49695,8 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49604
49695
|
case "ObjectTypeSpreadProperty":
|
|
49605
49696
|
case "RestElement": return lines_1.concat([
|
|
49606
49697
|
"...",
|
|
49607
|
-
path.call(print$4, "argument"),
|
|
49608
|
-
path.call(print$4, "typeAnnotation")
|
|
49698
|
+
path$1.call(print$4, "argument"),
|
|
49699
|
+
path$1.call(print$4, "typeAnnotation")
|
|
49609
49700
|
]);
|
|
49610
49701
|
case "FunctionDeclaration":
|
|
49611
49702
|
case "FunctionExpression":
|
|
@@ -49614,87 +49705,87 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49614
49705
|
if (n$5.async) parts.push("async ");
|
|
49615
49706
|
parts.push("function");
|
|
49616
49707
|
if (n$5.generator) parts.push("*");
|
|
49617
|
-
if (n$5.id) parts.push(" ", path.call(print$4, "id"), path.call(print$4, "typeParameters"));
|
|
49618
|
-
else if (n$5.typeParameters) parts.push(path.call(print$4, "typeParameters"));
|
|
49619
|
-
parts.push("(", printFunctionParams(path, options, print$4), ")", path.call(print$4, "returnType"));
|
|
49620
|
-
if (n$5.body) parts.push(" ", path.call(print$4, "body"));
|
|
49708
|
+
if (n$5.id) parts.push(" ", path$1.call(print$4, "id"), path$1.call(print$4, "typeParameters"));
|
|
49709
|
+
else if (n$5.typeParameters) parts.push(path$1.call(print$4, "typeParameters"));
|
|
49710
|
+
parts.push("(", printFunctionParams(path$1, options, print$4), ")", path$1.call(print$4, "returnType"));
|
|
49711
|
+
if (n$5.body) parts.push(" ", path$1.call(print$4, "body"));
|
|
49621
49712
|
return lines_1.concat(parts);
|
|
49622
49713
|
case "ArrowFunctionExpression":
|
|
49623
49714
|
if (n$5.async) parts.push("async ");
|
|
49624
|
-
if (n$5.typeParameters) parts.push(path.call(print$4, "typeParameters"));
|
|
49625
|
-
if (!options.arrowParensAlways && n$5.params.length === 1 && !n$5.rest && n$5.params[0].type === "Identifier" && !n$5.params[0].typeAnnotation && !n$5.returnType) parts.push(path.call(print$4, "params", 0));
|
|
49626
|
-
else parts.push("(", printFunctionParams(path, options, print$4), ")", path.call(print$4, "returnType"));
|
|
49627
|
-
parts.push(" => ", path.call(print$4, "body"));
|
|
49715
|
+
if (n$5.typeParameters) parts.push(path$1.call(print$4, "typeParameters"));
|
|
49716
|
+
if (!options.arrowParensAlways && n$5.params.length === 1 && !n$5.rest && n$5.params[0].type === "Identifier" && !n$5.params[0].typeAnnotation && !n$5.returnType) parts.push(path$1.call(print$4, "params", 0));
|
|
49717
|
+
else parts.push("(", printFunctionParams(path$1, options, print$4), ")", path$1.call(print$4, "returnType"));
|
|
49718
|
+
parts.push(" => ", path$1.call(print$4, "body"));
|
|
49628
49719
|
return lines_1.concat(parts);
|
|
49629
|
-
case "MethodDefinition": return printMethod(path, options, print$4);
|
|
49720
|
+
case "MethodDefinition": return printMethod(path$1, options, print$4);
|
|
49630
49721
|
case "YieldExpression":
|
|
49631
49722
|
parts.push("yield");
|
|
49632
49723
|
if (n$5.delegate) parts.push("*");
|
|
49633
|
-
if (n$5.argument) parts.push(" ", path.call(print$4, "argument"));
|
|
49724
|
+
if (n$5.argument) parts.push(" ", path$1.call(print$4, "argument"));
|
|
49634
49725
|
return lines_1.concat(parts);
|
|
49635
49726
|
case "AwaitExpression":
|
|
49636
49727
|
parts.push("await");
|
|
49637
49728
|
if (n$5.all) parts.push("*");
|
|
49638
|
-
if (n$5.argument) parts.push(" ", path.call(print$4, "argument"));
|
|
49729
|
+
if (n$5.argument) parts.push(" ", path$1.call(print$4, "argument"));
|
|
49639
49730
|
return lines_1.concat(parts);
|
|
49640
49731
|
case "ModuleExpression": return lines_1.concat([
|
|
49641
49732
|
"module {\n",
|
|
49642
|
-
path.call(print$4, "body").indent(options.tabWidth),
|
|
49733
|
+
path$1.call(print$4, "body").indent(options.tabWidth),
|
|
49643
49734
|
"\n}"
|
|
49644
49735
|
]);
|
|
49645
49736
|
case "ModuleDeclaration":
|
|
49646
|
-
parts.push("module", path.call(print$4, "id"));
|
|
49737
|
+
parts.push("module", path$1.call(print$4, "id"));
|
|
49647
49738
|
if (n$5.source) {
|
|
49648
49739
|
assert_1.default.ok(!n$5.body);
|
|
49649
|
-
parts.push("from", path.call(print$4, "source"));
|
|
49650
|
-
} else parts.push(path.call(print$4, "body"));
|
|
49740
|
+
parts.push("from", path$1.call(print$4, "source"));
|
|
49741
|
+
} else parts.push(path$1.call(print$4, "body"));
|
|
49651
49742
|
return lines_1.fromString(" ").join(parts);
|
|
49652
49743
|
case "ImportSpecifier":
|
|
49653
49744
|
if (n$5.importKind && n$5.importKind !== "value") parts.push(n$5.importKind + " ");
|
|
49654
49745
|
if (n$5.imported) {
|
|
49655
|
-
parts.push(path.call(print$4, "imported"));
|
|
49656
|
-
if (n$5.local && n$5.local.name !== n$5.imported.name) parts.push(" as ", path.call(print$4, "local"));
|
|
49746
|
+
parts.push(path$1.call(print$4, "imported"));
|
|
49747
|
+
if (n$5.local && n$5.local.name !== n$5.imported.name) parts.push(" as ", path$1.call(print$4, "local"));
|
|
49657
49748
|
} else if (n$5.id) {
|
|
49658
|
-
parts.push(path.call(print$4, "id"));
|
|
49659
|
-
if (n$5.name) parts.push(" as ", path.call(print$4, "name"));
|
|
49749
|
+
parts.push(path$1.call(print$4, "id"));
|
|
49750
|
+
if (n$5.name) parts.push(" as ", path$1.call(print$4, "name"));
|
|
49660
49751
|
}
|
|
49661
49752
|
return lines_1.concat(parts);
|
|
49662
49753
|
case "ExportSpecifier":
|
|
49663
49754
|
if (n$5.local) {
|
|
49664
|
-
parts.push(path.call(print$4, "local"));
|
|
49665
|
-
if (n$5.exported && n$5.exported.name !== n$5.local.name) parts.push(" as ", path.call(print$4, "exported"));
|
|
49755
|
+
parts.push(path$1.call(print$4, "local"));
|
|
49756
|
+
if (n$5.exported && n$5.exported.name !== n$5.local.name) parts.push(" as ", path$1.call(print$4, "exported"));
|
|
49666
49757
|
} else if (n$5.id) {
|
|
49667
|
-
parts.push(path.call(print$4, "id"));
|
|
49668
|
-
if (n$5.name) parts.push(" as ", path.call(print$4, "name"));
|
|
49758
|
+
parts.push(path$1.call(print$4, "id"));
|
|
49759
|
+
if (n$5.name) parts.push(" as ", path$1.call(print$4, "name"));
|
|
49669
49760
|
}
|
|
49670
49761
|
return lines_1.concat(parts);
|
|
49671
49762
|
case "ExportBatchSpecifier": return lines_1.fromString("*");
|
|
49672
49763
|
case "ImportNamespaceSpecifier":
|
|
49673
49764
|
parts.push("* as ");
|
|
49674
|
-
if (n$5.local) parts.push(path.call(print$4, "local"));
|
|
49675
|
-
else if (n$5.id) parts.push(path.call(print$4, "id"));
|
|
49765
|
+
if (n$5.local) parts.push(path$1.call(print$4, "local"));
|
|
49766
|
+
else if (n$5.id) parts.push(path$1.call(print$4, "id"));
|
|
49676
49767
|
return lines_1.concat(parts);
|
|
49677
49768
|
case "ImportDefaultSpecifier":
|
|
49678
|
-
if (n$5.local) return path.call(print$4, "local");
|
|
49679
|
-
return path.call(print$4, "id");
|
|
49680
|
-
case "TSExportAssignment": return lines_1.concat(["export = ", path.call(print$4, "expression")]);
|
|
49769
|
+
if (n$5.local) return path$1.call(print$4, "local");
|
|
49770
|
+
return path$1.call(print$4, "id");
|
|
49771
|
+
case "TSExportAssignment": return lines_1.concat(["export = ", path$1.call(print$4, "expression")]);
|
|
49681
49772
|
case "ExportDeclaration":
|
|
49682
49773
|
case "ExportDefaultDeclaration":
|
|
49683
|
-
case "ExportNamedDeclaration": return printExportDeclaration(path, options, print$4);
|
|
49774
|
+
case "ExportNamedDeclaration": return printExportDeclaration(path$1, options, print$4);
|
|
49684
49775
|
case "ExportAllDeclaration":
|
|
49685
49776
|
parts.push("export *");
|
|
49686
|
-
if (n$5.exported) parts.push(" as ", path.call(print$4, "exported"));
|
|
49687
|
-
parts.push(" from ", path.call(print$4, "source"), ";");
|
|
49777
|
+
if (n$5.exported) parts.push(" as ", path$1.call(print$4, "exported"));
|
|
49778
|
+
parts.push(" from ", path$1.call(print$4, "source"), ";");
|
|
49688
49779
|
return lines_1.concat(parts);
|
|
49689
49780
|
case "TSNamespaceExportDeclaration":
|
|
49690
|
-
parts.push("export as namespace ", path.call(print$4, "id"));
|
|
49781
|
+
parts.push("export as namespace ", path$1.call(print$4, "id"));
|
|
49691
49782
|
return maybeAddSemicolon(lines_1.concat(parts));
|
|
49692
|
-
case "ExportNamespaceSpecifier": return lines_1.concat(["* as ", path.call(print$4, "exported")]);
|
|
49693
|
-
case "ExportDefaultSpecifier": return path.call(print$4, "exported");
|
|
49783
|
+
case "ExportNamespaceSpecifier": return lines_1.concat(["* as ", path$1.call(print$4, "exported")]);
|
|
49784
|
+
case "ExportDefaultSpecifier": return path$1.call(print$4, "exported");
|
|
49694
49785
|
case "Import": return lines_1.fromString("import", options);
|
|
49695
49786
|
case "ImportExpression": return lines_1.concat([
|
|
49696
49787
|
"import(",
|
|
49697
|
-
path.call(print$4, "source"),
|
|
49788
|
+
path$1.call(print$4, "source"),
|
|
49698
49789
|
")"
|
|
49699
49790
|
]);
|
|
49700
49791
|
case "ImportDeclaration":
|
|
@@ -49703,7 +49794,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49703
49794
|
if (n$5.specifiers && n$5.specifiers.length > 0) {
|
|
49704
49795
|
var unbracedSpecifiers_1 = [];
|
|
49705
49796
|
var bracedSpecifiers_1 = [];
|
|
49706
|
-
path.each(function(specifierPath) {
|
|
49797
|
+
path$1.each(function(specifierPath) {
|
|
49707
49798
|
var spec = specifierPath.getValue();
|
|
49708
49799
|
if (spec.type === "ImportSpecifier") bracedSpecifiers_1.push(print$4(specifierPath));
|
|
49709
49800
|
else if (spec.type === "ImportDefaultSpecifier" || spec.type === "ImportNamespaceSpecifier") unbracedSpecifiers_1.push(print$4(specifierPath));
|
|
@@ -49722,16 +49813,16 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49722
49813
|
}
|
|
49723
49814
|
parts.push(" from ");
|
|
49724
49815
|
}
|
|
49725
|
-
parts.push(path.call(print$4, "source"), maybePrintImportAssertions(path, options, print$4), ";");
|
|
49816
|
+
parts.push(path$1.call(print$4, "source"), maybePrintImportAssertions(path$1, options, print$4), ";");
|
|
49726
49817
|
return lines_1.concat(parts);
|
|
49727
49818
|
case "ImportAttribute": return lines_1.concat([
|
|
49728
|
-
path.call(print$4, "key"),
|
|
49819
|
+
path$1.call(print$4, "key"),
|
|
49729
49820
|
": ",
|
|
49730
|
-
path.call(print$4, "value")
|
|
49821
|
+
path$1.call(print$4, "value")
|
|
49731
49822
|
]);
|
|
49732
49823
|
case "StaticBlock": parts.push("static ");
|
|
49733
49824
|
case "BlockStatement":
|
|
49734
|
-
var naked_1 = path.call(function(bodyPath) {
|
|
49825
|
+
var naked_1 = path$1.call(function(bodyPath) {
|
|
49735
49826
|
return printStatementSequence(bodyPath, options, print$4);
|
|
49736
49827
|
}, "body");
|
|
49737
49828
|
if (naked_1.isEmpty()) {
|
|
@@ -49741,7 +49832,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49741
49832
|
}
|
|
49742
49833
|
}
|
|
49743
49834
|
parts.push("{\n");
|
|
49744
|
-
if (n$5.directives) path.each(function(childPath) {
|
|
49835
|
+
if (n$5.directives) path$1.each(function(childPath) {
|
|
49745
49836
|
parts.push(maybeAddSemicolon(print$4(childPath).indent(options.tabWidth)), n$5.directives.length > 1 || !naked_1.isEmpty() ? "\n" : "");
|
|
49746
49837
|
}, "directives");
|
|
49747
49838
|
parts.push(naked_1.indent(options.tabWidth));
|
|
@@ -49750,7 +49841,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49750
49841
|
case "ReturnStatement":
|
|
49751
49842
|
parts.push("return");
|
|
49752
49843
|
if (n$5.argument) {
|
|
49753
|
-
var argLines = path.call(print$4, "argument");
|
|
49844
|
+
var argLines = path$1.call(print$4, "argument");
|
|
49754
49845
|
if (argLines.startsWithComment() || argLines.length > 1 && namedTypes.JSXElement && namedTypes.JSXElement.check(n$5.argument)) parts.push(" (\n", argLines.indent(options.tabWidth), "\n)");
|
|
49755
49846
|
else parts.push(" ", argLines);
|
|
49756
49847
|
}
|
|
@@ -49758,11 +49849,11 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49758
49849
|
return lines_1.concat(parts);
|
|
49759
49850
|
case "CallExpression":
|
|
49760
49851
|
case "OptionalCallExpression":
|
|
49761
|
-
parts.push(path.call(print$4, "callee"));
|
|
49762
|
-
if (n$5.typeParameters) parts.push(path.call(print$4, "typeParameters"));
|
|
49763
|
-
if (n$5.typeArguments) parts.push(path.call(print$4, "typeArguments"));
|
|
49852
|
+
parts.push(path$1.call(print$4, "callee"));
|
|
49853
|
+
if (n$5.typeParameters) parts.push(path$1.call(print$4, "typeParameters"));
|
|
49854
|
+
if (n$5.typeArguments) parts.push(path$1.call(print$4, "typeArguments"));
|
|
49764
49855
|
if (types$3.getFieldValue(n$5, "optional")) parts.push("?.");
|
|
49765
|
-
parts.push(printArgumentsList(path, options, print$4));
|
|
49856
|
+
parts.push(printArgumentsList(path$1, options, print$4));
|
|
49766
49857
|
return lines_1.concat(parts);
|
|
49767
49858
|
case "RecordExpression": parts.push("#");
|
|
49768
49859
|
case "ObjectExpression":
|
|
@@ -49788,7 +49879,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49788
49879
|
var leftBraceIndex = parts.length - 1;
|
|
49789
49880
|
var i_1 = 0;
|
|
49790
49881
|
fields.forEach(function(field) {
|
|
49791
|
-
path.each(function(childPath) {
|
|
49882
|
+
path$1.each(function(childPath) {
|
|
49792
49883
|
var lines$1 = print$4(childPath);
|
|
49793
49884
|
if (!oneLine_1) lines$1 = lines$1.indent(options.tabWidth);
|
|
49794
49885
|
var multiLine = !isTypeAnnotation_1 && lines$1.length > 1;
|
|
@@ -49814,39 +49905,39 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49814
49905
|
parts[leftBraceIndex] = leftBrace + " ";
|
|
49815
49906
|
parts[parts.length - 1] = " " + rightBrace;
|
|
49816
49907
|
}
|
|
49817
|
-
if (n$5.typeAnnotation) parts.push(path.call(print$4, "typeAnnotation"));
|
|
49908
|
+
if (n$5.typeAnnotation) parts.push(path$1.call(print$4, "typeAnnotation"));
|
|
49818
49909
|
return lines_1.concat(parts);
|
|
49819
49910
|
case "PropertyPattern": return lines_1.concat([
|
|
49820
|
-
path.call(print$4, "key"),
|
|
49911
|
+
path$1.call(print$4, "key"),
|
|
49821
49912
|
": ",
|
|
49822
|
-
path.call(print$4, "pattern")
|
|
49913
|
+
path$1.call(print$4, "pattern")
|
|
49823
49914
|
]);
|
|
49824
49915
|
case "ObjectProperty":
|
|
49825
49916
|
case "Property":
|
|
49826
|
-
if (n$5.method || n$5.kind === "get" || n$5.kind === "set") return printMethod(path, options, print$4);
|
|
49827
|
-
if (n$5.shorthand && n$5.value.type === "AssignmentPattern") return path.call(print$4, "value");
|
|
49828
|
-
var key = path.call(print$4, "key");
|
|
49917
|
+
if (n$5.method || n$5.kind === "get" || n$5.kind === "set") return printMethod(path$1, options, print$4);
|
|
49918
|
+
if (n$5.shorthand && n$5.value.type === "AssignmentPattern") return path$1.call(print$4, "value");
|
|
49919
|
+
var key = path$1.call(print$4, "key");
|
|
49829
49920
|
if (n$5.computed) parts.push("[", key, "]");
|
|
49830
49921
|
else parts.push(key);
|
|
49831
|
-
if (!n$5.shorthand || n$5.key.name !== n$5.value.name) parts.push(": ", path.call(print$4, "value"));
|
|
49922
|
+
if (!n$5.shorthand || n$5.key.name !== n$5.value.name) parts.push(": ", path$1.call(print$4, "value"));
|
|
49832
49923
|
return lines_1.concat(parts);
|
|
49833
49924
|
case "ClassMethod":
|
|
49834
49925
|
case "ObjectMethod":
|
|
49835
49926
|
case "ClassPrivateMethod":
|
|
49836
|
-
case "TSDeclareMethod": return printMethod(path, options, print$4);
|
|
49837
|
-
case "PrivateName": return lines_1.concat(["#", path.call(print$4, "id")]);
|
|
49838
|
-
case "Decorator": return lines_1.concat(["@", path.call(print$4, "expression")]);
|
|
49927
|
+
case "TSDeclareMethod": return printMethod(path$1, options, print$4);
|
|
49928
|
+
case "PrivateName": return lines_1.concat(["#", path$1.call(print$4, "id")]);
|
|
49929
|
+
case "Decorator": return lines_1.concat(["@", path$1.call(print$4, "expression")]);
|
|
49839
49930
|
case "TupleExpression": parts.push("#");
|
|
49840
49931
|
case "ArrayExpression":
|
|
49841
49932
|
case "ArrayPattern":
|
|
49842
49933
|
var len_2 = n$5.elements.length;
|
|
49843
|
-
var printed_1 = path.map(print$4, "elements");
|
|
49934
|
+
var printed_1 = path$1.map(print$4, "elements");
|
|
49844
49935
|
var joined = lines_1.fromString(", ").join(printed_1);
|
|
49845
49936
|
var oneLine_2 = joined.getLineLength(1) <= options.wrapColumn;
|
|
49846
49937
|
if (oneLine_2) if (options.arrayBracketSpacing) parts.push("[ ");
|
|
49847
49938
|
else parts.push("[");
|
|
49848
49939
|
else parts.push("[\n");
|
|
49849
|
-
path.each(function(elemPath) {
|
|
49940
|
+
path$1.each(function(elemPath) {
|
|
49850
49941
|
var i$2 = elemPath.getName();
|
|
49851
49942
|
if (!elemPath.getValue()) parts.push(",");
|
|
49852
49943
|
else {
|
|
@@ -49861,9 +49952,9 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49861
49952
|
}, "elements");
|
|
49862
49953
|
if (oneLine_2 && options.arrayBracketSpacing) parts.push(" ]");
|
|
49863
49954
|
else parts.push("]");
|
|
49864
|
-
if (n$5.typeAnnotation) parts.push(path.call(print$4, "typeAnnotation"));
|
|
49955
|
+
if (n$5.typeAnnotation) parts.push(path$1.call(print$4, "typeAnnotation"));
|
|
49865
49956
|
return lines_1.concat(parts);
|
|
49866
|
-
case "SequenceExpression": return lines_1.fromString(", ").join(path.map(print$4, "expressions"));
|
|
49957
|
+
case "SequenceExpression": return lines_1.fromString(", ").join(path$1.map(print$4, "expressions"));
|
|
49867
49958
|
case "ThisExpression": return lines_1.fromString("this");
|
|
49868
49959
|
case "Super": return lines_1.fromString("super");
|
|
49869
49960
|
case "NullLiteral": return lines_1.fromString("null");
|
|
@@ -49874,7 +49965,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49874
49965
|
case "StringLiteral": return lines_1.fromString(nodeStr(n$5.value, options));
|
|
49875
49966
|
case "BooleanLiteral":
|
|
49876
49967
|
case "Literal": return lines_1.fromString(getPossibleRaw(n$5) || (typeof n$5.value === "string" ? nodeStr(n$5.value, options) : n$5.value), options);
|
|
49877
|
-
case "Directive": return path.call(print$4, "value");
|
|
49968
|
+
case "Directive": return path$1.call(print$4, "value");
|
|
49878
49969
|
case "DirectiveLiteral": return lines_1.fromString(getPossibleRaw(n$5) || nodeStr(n$5.value, options), options);
|
|
49879
49970
|
case "InterpreterDirective": return lines_1.fromString("#!" + n$5.value + "\n", options);
|
|
49880
49971
|
case "ModuleSpecifier":
|
|
@@ -49883,30 +49974,30 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49883
49974
|
case "UnaryExpression":
|
|
49884
49975
|
parts.push(n$5.operator);
|
|
49885
49976
|
if (/[a-z]$/.test(n$5.operator)) parts.push(" ");
|
|
49886
|
-
parts.push(path.call(print$4, "argument"));
|
|
49977
|
+
parts.push(path$1.call(print$4, "argument"));
|
|
49887
49978
|
return lines_1.concat(parts);
|
|
49888
49979
|
case "UpdateExpression":
|
|
49889
|
-
parts.push(path.call(print$4, "argument"), n$5.operator);
|
|
49980
|
+
parts.push(path$1.call(print$4, "argument"), n$5.operator);
|
|
49890
49981
|
if (n$5.prefix) parts.reverse();
|
|
49891
49982
|
return lines_1.concat(parts);
|
|
49892
49983
|
case "ConditionalExpression": return lines_1.concat([
|
|
49893
|
-
path.call(print$4, "test"),
|
|
49984
|
+
path$1.call(print$4, "test"),
|
|
49894
49985
|
" ? ",
|
|
49895
|
-
path.call(print$4, "consequent"),
|
|
49986
|
+
path$1.call(print$4, "consequent"),
|
|
49896
49987
|
" : ",
|
|
49897
|
-
path.call(print$4, "alternate")
|
|
49988
|
+
path$1.call(print$4, "alternate")
|
|
49898
49989
|
]);
|
|
49899
49990
|
case "NewExpression":
|
|
49900
|
-
parts.push("new ", path.call(print$4, "callee"));
|
|
49901
|
-
if (n$5.typeParameters) parts.push(path.call(print$4, "typeParameters"));
|
|
49902
|
-
if (n$5.typeArguments) parts.push(path.call(print$4, "typeArguments"));
|
|
49903
|
-
if (n$5.arguments) parts.push(printArgumentsList(path, options, print$4));
|
|
49991
|
+
parts.push("new ", path$1.call(print$4, "callee"));
|
|
49992
|
+
if (n$5.typeParameters) parts.push(path$1.call(print$4, "typeParameters"));
|
|
49993
|
+
if (n$5.typeArguments) parts.push(path$1.call(print$4, "typeArguments"));
|
|
49994
|
+
if (n$5.arguments) parts.push(printArgumentsList(path$1, options, print$4));
|
|
49904
49995
|
return lines_1.concat(parts);
|
|
49905
49996
|
case "VariableDeclaration":
|
|
49906
49997
|
if (n$5.declare) parts.push("declare ");
|
|
49907
49998
|
parts.push(n$5.kind, " ");
|
|
49908
49999
|
var maxLen_1 = 0;
|
|
49909
|
-
var printed = path.map(function(childPath) {
|
|
50000
|
+
var printed = path$1.map(function(childPath) {
|
|
49910
50001
|
var lines$1 = print$4(childPath);
|
|
49911
50002
|
maxLen_1 = Math.max(lines$1.length, maxLen_1);
|
|
49912
50003
|
return lines$1;
|
|
@@ -49914,36 +50005,36 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49914
50005
|
if (maxLen_1 === 1) parts.push(lines_1.fromString(", ").join(printed));
|
|
49915
50006
|
else if (printed.length > 1) parts.push(lines_1.fromString(",\n").join(printed).indentTail(n$5.kind.length + 1));
|
|
49916
50007
|
else parts.push(printed[0]);
|
|
49917
|
-
var parentNode = path.getParentNode();
|
|
50008
|
+
var parentNode = path$1.getParentNode();
|
|
49918
50009
|
if (!namedTypes.ForStatement.check(parentNode) && !namedTypes.ForInStatement.check(parentNode) && !(namedTypes.ForOfStatement && namedTypes.ForOfStatement.check(parentNode)) && !(namedTypes.ForAwaitStatement && namedTypes.ForAwaitStatement.check(parentNode))) parts.push(";");
|
|
49919
50010
|
return lines_1.concat(parts);
|
|
49920
|
-
case "VariableDeclarator": return n$5.init ? lines_1.fromString(" = ").join([path.call(print$4, "id"), path.call(print$4, "init")]) : path.call(print$4, "id");
|
|
50011
|
+
case "VariableDeclarator": return n$5.init ? lines_1.fromString(" = ").join([path$1.call(print$4, "id"), path$1.call(print$4, "init")]) : path$1.call(print$4, "id");
|
|
49921
50012
|
case "WithStatement": return lines_1.concat([
|
|
49922
50013
|
"with (",
|
|
49923
|
-
path.call(print$4, "object"),
|
|
50014
|
+
path$1.call(print$4, "object"),
|
|
49924
50015
|
") ",
|
|
49925
|
-
path.call(print$4, "body")
|
|
50016
|
+
path$1.call(print$4, "body")
|
|
49926
50017
|
]);
|
|
49927
50018
|
case "IfStatement":
|
|
49928
|
-
var con = adjustClause(path.call(print$4, "consequent"), options);
|
|
49929
|
-
parts.push("if (", path.call(print$4, "test"), ")", con);
|
|
49930
|
-
if (n$5.alternate) parts.push(endsWithBrace(con) ? " else" : "\nelse", adjustClause(path.call(print$4, "alternate"), options));
|
|
50019
|
+
var con = adjustClause(path$1.call(print$4, "consequent"), options);
|
|
50020
|
+
parts.push("if (", path$1.call(print$4, "test"), ")", con);
|
|
50021
|
+
if (n$5.alternate) parts.push(endsWithBrace(con) ? " else" : "\nelse", adjustClause(path$1.call(print$4, "alternate"), options));
|
|
49931
50022
|
return lines_1.concat(parts);
|
|
49932
50023
|
case "ForStatement":
|
|
49933
|
-
var init = path.call(print$4, "init");
|
|
50024
|
+
var init = path$1.call(print$4, "init");
|
|
49934
50025
|
var sep = init.length > 1 ? ";\n" : "; ";
|
|
49935
50026
|
var forParen = "for (";
|
|
49936
50027
|
var indented = lines_1.fromString(sep).join([
|
|
49937
50028
|
init,
|
|
49938
|
-
path.call(print$4, "test"),
|
|
49939
|
-
path.call(print$4, "update")
|
|
50029
|
+
path$1.call(print$4, "test"),
|
|
50030
|
+
path$1.call(print$4, "update")
|
|
49940
50031
|
]).indentTail(forParen.length);
|
|
49941
50032
|
var head = lines_1.concat([
|
|
49942
50033
|
forParen,
|
|
49943
50034
|
indented,
|
|
49944
50035
|
")"
|
|
49945
50036
|
]);
|
|
49946
|
-
var clause = adjustClause(path.call(print$4, "body"), options);
|
|
50037
|
+
var clause = adjustClause(path$1.call(print$4, "body"), options);
|
|
49947
50038
|
parts.push(head);
|
|
49948
50039
|
if (head.length > 1) {
|
|
49949
50040
|
parts.push("\n");
|
|
@@ -49953,33 +50044,33 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49953
50044
|
return lines_1.concat(parts);
|
|
49954
50045
|
case "WhileStatement": return lines_1.concat([
|
|
49955
50046
|
"while (",
|
|
49956
|
-
path.call(print$4, "test"),
|
|
50047
|
+
path$1.call(print$4, "test"),
|
|
49957
50048
|
")",
|
|
49958
|
-
adjustClause(path.call(print$4, "body"), options)
|
|
50049
|
+
adjustClause(path$1.call(print$4, "body"), options)
|
|
49959
50050
|
]);
|
|
49960
50051
|
case "ForInStatement": return lines_1.concat([
|
|
49961
50052
|
n$5.each ? "for each (" : "for (",
|
|
49962
|
-
path.call(print$4, "left"),
|
|
50053
|
+
path$1.call(print$4, "left"),
|
|
49963
50054
|
" in ",
|
|
49964
|
-
path.call(print$4, "right"),
|
|
50055
|
+
path$1.call(print$4, "right"),
|
|
49965
50056
|
")",
|
|
49966
|
-
adjustClause(path.call(print$4, "body"), options)
|
|
50057
|
+
adjustClause(path$1.call(print$4, "body"), options)
|
|
49967
50058
|
]);
|
|
49968
50059
|
case "ForOfStatement":
|
|
49969
50060
|
case "ForAwaitStatement":
|
|
49970
50061
|
parts.push("for ");
|
|
49971
50062
|
if (n$5.await || n$5.type === "ForAwaitStatement") parts.push("await ");
|
|
49972
|
-
parts.push("(", path.call(print$4, "left"), " of ", path.call(print$4, "right"), ")", adjustClause(path.call(print$4, "body"), options));
|
|
50063
|
+
parts.push("(", path$1.call(print$4, "left"), " of ", path$1.call(print$4, "right"), ")", adjustClause(path$1.call(print$4, "body"), options));
|
|
49973
50064
|
return lines_1.concat(parts);
|
|
49974
50065
|
case "DoWhileStatement":
|
|
49975
|
-
var doBody = lines_1.concat(["do", adjustClause(path.call(print$4, "body"), options)]);
|
|
50066
|
+
var doBody = lines_1.concat(["do", adjustClause(path$1.call(print$4, "body"), options)]);
|
|
49976
50067
|
parts.push(doBody);
|
|
49977
50068
|
if (endsWithBrace(doBody)) parts.push(" while");
|
|
49978
50069
|
else parts.push("\nwhile");
|
|
49979
|
-
parts.push(" (", path.call(print$4, "test"), ");");
|
|
50070
|
+
parts.push(" (", path$1.call(print$4, "test"), ");");
|
|
49980
50071
|
return lines_1.concat(parts);
|
|
49981
50072
|
case "DoExpression":
|
|
49982
|
-
var statements = path.call(function(bodyPath) {
|
|
50073
|
+
var statements = path$1.call(function(bodyPath) {
|
|
49983
50074
|
return printStatementSequence(bodyPath, options, print$4);
|
|
49984
50075
|
}, "body");
|
|
49985
50076
|
return lines_1.concat([
|
|
@@ -49989,86 +50080,86 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49989
50080
|
]);
|
|
49990
50081
|
case "BreakStatement":
|
|
49991
50082
|
parts.push("break");
|
|
49992
|
-
if (n$5.label) parts.push(" ", path.call(print$4, "label"));
|
|
50083
|
+
if (n$5.label) parts.push(" ", path$1.call(print$4, "label"));
|
|
49993
50084
|
parts.push(";");
|
|
49994
50085
|
return lines_1.concat(parts);
|
|
49995
50086
|
case "ContinueStatement":
|
|
49996
50087
|
parts.push("continue");
|
|
49997
|
-
if (n$5.label) parts.push(" ", path.call(print$4, "label"));
|
|
50088
|
+
if (n$5.label) parts.push(" ", path$1.call(print$4, "label"));
|
|
49998
50089
|
parts.push(";");
|
|
49999
50090
|
return lines_1.concat(parts);
|
|
50000
50091
|
case "LabeledStatement": return lines_1.concat([
|
|
50001
|
-
path.call(print$4, "label"),
|
|
50092
|
+
path$1.call(print$4, "label"),
|
|
50002
50093
|
":\n",
|
|
50003
|
-
path.call(print$4, "body")
|
|
50094
|
+
path$1.call(print$4, "body")
|
|
50004
50095
|
]);
|
|
50005
50096
|
case "TryStatement":
|
|
50006
|
-
parts.push("try ", path.call(print$4, "block"));
|
|
50007
|
-
if (n$5.handler) parts.push(" ", path.call(print$4, "handler"));
|
|
50008
|
-
else if (n$5.handlers) path.each(function(handlerPath) {
|
|
50097
|
+
parts.push("try ", path$1.call(print$4, "block"));
|
|
50098
|
+
if (n$5.handler) parts.push(" ", path$1.call(print$4, "handler"));
|
|
50099
|
+
else if (n$5.handlers) path$1.each(function(handlerPath) {
|
|
50009
50100
|
parts.push(" ", print$4(handlerPath));
|
|
50010
50101
|
}, "handlers");
|
|
50011
|
-
if (n$5.finalizer) parts.push(" finally ", path.call(print$4, "finalizer"));
|
|
50102
|
+
if (n$5.finalizer) parts.push(" finally ", path$1.call(print$4, "finalizer"));
|
|
50012
50103
|
return lines_1.concat(parts);
|
|
50013
50104
|
case "CatchClause":
|
|
50014
50105
|
parts.push("catch ");
|
|
50015
|
-
if (n$5.param) parts.push("(", path.call(print$4, "param"));
|
|
50016
|
-
if (n$5.guard) parts.push(" if ", path.call(print$4, "guard"));
|
|
50106
|
+
if (n$5.param) parts.push("(", path$1.call(print$4, "param"));
|
|
50107
|
+
if (n$5.guard) parts.push(" if ", path$1.call(print$4, "guard"));
|
|
50017
50108
|
if (n$5.param) parts.push(") ");
|
|
50018
|
-
parts.push(path.call(print$4, "body"));
|
|
50109
|
+
parts.push(path$1.call(print$4, "body"));
|
|
50019
50110
|
return lines_1.concat(parts);
|
|
50020
50111
|
case "ThrowStatement": return lines_1.concat([
|
|
50021
50112
|
"throw ",
|
|
50022
|
-
path.call(print$4, "argument"),
|
|
50113
|
+
path$1.call(print$4, "argument"),
|
|
50023
50114
|
";"
|
|
50024
50115
|
]);
|
|
50025
50116
|
case "SwitchStatement": return lines_1.concat([
|
|
50026
50117
|
"switch (",
|
|
50027
|
-
path.call(print$4, "discriminant"),
|
|
50118
|
+
path$1.call(print$4, "discriminant"),
|
|
50028
50119
|
") {\n",
|
|
50029
|
-
lines_1.fromString("\n").join(path.map(print$4, "cases")),
|
|
50120
|
+
lines_1.fromString("\n").join(path$1.map(print$4, "cases")),
|
|
50030
50121
|
"\n}"
|
|
50031
50122
|
]);
|
|
50032
50123
|
case "SwitchCase":
|
|
50033
|
-
if (n$5.test) parts.push("case ", path.call(print$4, "test"), ":");
|
|
50124
|
+
if (n$5.test) parts.push("case ", path$1.call(print$4, "test"), ":");
|
|
50034
50125
|
else parts.push("default:");
|
|
50035
|
-
if (n$5.consequent.length > 0) parts.push("\n", path.call(function(consequentPath) {
|
|
50126
|
+
if (n$5.consequent.length > 0) parts.push("\n", path$1.call(function(consequentPath) {
|
|
50036
50127
|
return printStatementSequence(consequentPath, options, print$4);
|
|
50037
50128
|
}, "consequent").indent(options.tabWidth));
|
|
50038
50129
|
return lines_1.concat(parts);
|
|
50039
50130
|
case "DebuggerStatement": return lines_1.fromString("debugger;");
|
|
50040
50131
|
case "JSXAttribute":
|
|
50041
|
-
parts.push(path.call(print$4, "name"));
|
|
50042
|
-
if (n$5.value) parts.push("=", path.call(print$4, "value"));
|
|
50132
|
+
parts.push(path$1.call(print$4, "name"));
|
|
50133
|
+
if (n$5.value) parts.push("=", path$1.call(print$4, "value"));
|
|
50043
50134
|
return lines_1.concat(parts);
|
|
50044
50135
|
case "JSXIdentifier": return lines_1.fromString(n$5.name, options);
|
|
50045
|
-
case "JSXNamespacedName": return lines_1.fromString(":").join([path.call(print$4, "namespace"), path.call(print$4, "name")]);
|
|
50046
|
-
case "JSXMemberExpression": return lines_1.fromString(".").join([path.call(print$4, "object"), path.call(print$4, "property")]);
|
|
50136
|
+
case "JSXNamespacedName": return lines_1.fromString(":").join([path$1.call(print$4, "namespace"), path$1.call(print$4, "name")]);
|
|
50137
|
+
case "JSXMemberExpression": return lines_1.fromString(".").join([path$1.call(print$4, "object"), path$1.call(print$4, "property")]);
|
|
50047
50138
|
case "JSXSpreadAttribute": return lines_1.concat([
|
|
50048
50139
|
"{...",
|
|
50049
|
-
path.call(print$4, "argument"),
|
|
50140
|
+
path$1.call(print$4, "argument"),
|
|
50050
50141
|
"}"
|
|
50051
50142
|
]);
|
|
50052
50143
|
case "JSXSpreadChild": return lines_1.concat([
|
|
50053
50144
|
"{...",
|
|
50054
|
-
path.call(print$4, "expression"),
|
|
50145
|
+
path$1.call(print$4, "expression"),
|
|
50055
50146
|
"}"
|
|
50056
50147
|
]);
|
|
50057
50148
|
case "JSXExpressionContainer": return lines_1.concat([
|
|
50058
50149
|
"{",
|
|
50059
|
-
path.call(print$4, "expression"),
|
|
50150
|
+
path$1.call(print$4, "expression"),
|
|
50060
50151
|
"}"
|
|
50061
50152
|
]);
|
|
50062
50153
|
case "JSXElement":
|
|
50063
50154
|
case "JSXFragment":
|
|
50064
50155
|
var openingPropName = "opening" + (n$5.type === "JSXElement" ? "Element" : "Fragment");
|
|
50065
50156
|
var closingPropName = "closing" + (n$5.type === "JSXElement" ? "Element" : "Fragment");
|
|
50066
|
-
var openingLines = path.call(print$4, openingPropName);
|
|
50157
|
+
var openingLines = path$1.call(print$4, openingPropName);
|
|
50067
50158
|
if (n$5[openingPropName].selfClosing) {
|
|
50068
50159
|
assert_1.default.ok(!n$5[closingPropName], "unexpected " + closingPropName + " element in self-closing " + n$5.type);
|
|
50069
50160
|
return openingLines;
|
|
50070
50161
|
}
|
|
50071
|
-
var childLines = lines_1.concat(path.map(function(childPath) {
|
|
50162
|
+
var childLines = lines_1.concat(path$1.map(function(childPath) {
|
|
50072
50163
|
var child = childPath.getValue();
|
|
50073
50164
|
if (namedTypes.Literal.check(child) && typeof child.value === "string") {
|
|
50074
50165
|
if (/\S/.test(child.value)) return child.value.replace(/^\s+|\s+$/g, "");
|
|
@@ -50076,16 +50167,16 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50076
50167
|
}
|
|
50077
50168
|
return print$4(childPath);
|
|
50078
50169
|
}, "children")).indentTail(options.tabWidth);
|
|
50079
|
-
var closingLines = path.call(print$4, closingPropName);
|
|
50170
|
+
var closingLines = path$1.call(print$4, closingPropName);
|
|
50080
50171
|
return lines_1.concat([
|
|
50081
50172
|
openingLines,
|
|
50082
50173
|
childLines,
|
|
50083
50174
|
closingLines
|
|
50084
50175
|
]);
|
|
50085
50176
|
case "JSXOpeningElement":
|
|
50086
|
-
parts.push("<", path.call(print$4, "name"));
|
|
50177
|
+
parts.push("<", path$1.call(print$4, "name"));
|
|
50087
50178
|
var attrParts_1 = [];
|
|
50088
|
-
path.each(function(attrPath) {
|
|
50179
|
+
path$1.each(function(attrPath) {
|
|
50089
50180
|
attrParts_1.push(" ", print$4(attrPath));
|
|
50090
50181
|
}, "attributes");
|
|
50091
50182
|
var attrLines = lines_1.concat(attrParts_1);
|
|
@@ -50102,7 +50193,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50102
50193
|
return lines_1.concat(parts);
|
|
50103
50194
|
case "JSXClosingElement": return lines_1.concat([
|
|
50104
50195
|
"</",
|
|
50105
|
-
path.call(print$4, "name"),
|
|
50196
|
+
path$1.call(print$4, "name"),
|
|
50106
50197
|
">"
|
|
50107
50198
|
]);
|
|
50108
50199
|
case "JSXOpeningFragment": return lines_1.fromString("<>");
|
|
@@ -50110,21 +50201,21 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50110
50201
|
case "JSXText": return lines_1.fromString(n$5.value, options);
|
|
50111
50202
|
case "JSXEmptyExpression": return lines_1.fromString("");
|
|
50112
50203
|
case "TypeAnnotatedIdentifier": return lines_1.concat([
|
|
50113
|
-
path.call(print$4, "annotation"),
|
|
50204
|
+
path$1.call(print$4, "annotation"),
|
|
50114
50205
|
" ",
|
|
50115
|
-
path.call(print$4, "identifier")
|
|
50206
|
+
path$1.call(print$4, "identifier")
|
|
50116
50207
|
]);
|
|
50117
50208
|
case "ClassBody":
|
|
50118
50209
|
if (n$5.body.length === 0) return lines_1.fromString("{}");
|
|
50119
50210
|
return lines_1.concat([
|
|
50120
50211
|
"{\n",
|
|
50121
|
-
path.call(function(bodyPath) {
|
|
50212
|
+
path$1.call(function(bodyPath) {
|
|
50122
50213
|
return printStatementSequence(bodyPath, options, print$4);
|
|
50123
50214
|
}, "body").indent(options.tabWidth),
|
|
50124
50215
|
"\n}"
|
|
50125
50216
|
]);
|
|
50126
50217
|
case "ClassPropertyDefinition":
|
|
50127
|
-
parts.push("static ", path.call(print$4, "definition"));
|
|
50218
|
+
parts.push("static ", path$1.call(print$4, "definition"));
|
|
50128
50219
|
if (!namedTypes.MethodDefinition.check(n$5.definition)) parts.push(";");
|
|
50129
50220
|
return lines_1.concat(parts);
|
|
50130
50221
|
case "ClassProperty":
|
|
@@ -50134,25 +50225,25 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50134
50225
|
if (n$5.static) parts.push("static ");
|
|
50135
50226
|
if (n$5.abstract) parts.push("abstract ");
|
|
50136
50227
|
if (n$5.readonly) parts.push("readonly ");
|
|
50137
|
-
var key = path.call(print$4, "key");
|
|
50228
|
+
var key = path$1.call(print$4, "key");
|
|
50138
50229
|
if (n$5.computed) key = lines_1.concat([
|
|
50139
50230
|
"[",
|
|
50140
50231
|
key,
|
|
50141
50232
|
"]"
|
|
50142
50233
|
]);
|
|
50143
|
-
if (n$5.variance) key = lines_1.concat([printVariance(path, print$4), key]);
|
|
50234
|
+
if (n$5.variance) key = lines_1.concat([printVariance(path$1, print$4), key]);
|
|
50144
50235
|
parts.push(key);
|
|
50145
50236
|
if (n$5.optional) parts.push("?");
|
|
50146
50237
|
if (n$5.definite) parts.push("!");
|
|
50147
|
-
if (n$5.typeAnnotation) parts.push(path.call(print$4, "typeAnnotation"));
|
|
50148
|
-
if (n$5.value) parts.push(" = ", path.call(print$4, "value"));
|
|
50238
|
+
if (n$5.typeAnnotation) parts.push(path$1.call(print$4, "typeAnnotation"));
|
|
50239
|
+
if (n$5.value) parts.push(" = ", path$1.call(print$4, "value"));
|
|
50149
50240
|
parts.push(";");
|
|
50150
50241
|
return lines_1.concat(parts);
|
|
50151
50242
|
case "ClassPrivateProperty":
|
|
50152
50243
|
if (n$5.static) parts.push("static ");
|
|
50153
|
-
parts.push(path.call(print$4, "key"));
|
|
50154
|
-
if (n$5.typeAnnotation) parts.push(path.call(print$4, "typeAnnotation"));
|
|
50155
|
-
if (n$5.value) parts.push(" = ", path.call(print$4, "value"));
|
|
50244
|
+
parts.push(path$1.call(print$4, "key"));
|
|
50245
|
+
if (n$5.typeAnnotation) parts.push(path$1.call(print$4, "typeAnnotation"));
|
|
50246
|
+
if (n$5.value) parts.push(" = ", path$1.call(print$4, "value"));
|
|
50156
50247
|
parts.push(";");
|
|
50157
50248
|
return lines_1.concat(parts);
|
|
50158
50249
|
case "ClassDeclaration":
|
|
@@ -50161,26 +50252,26 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50161
50252
|
if (n$5.declare) parts.push("declare ");
|
|
50162
50253
|
if (n$5.abstract) parts.push("abstract ");
|
|
50163
50254
|
parts.push("class");
|
|
50164
|
-
if (n$5.id) parts.push(" ", path.call(print$4, "id"));
|
|
50165
|
-
if (n$5.typeParameters) parts.push(path.call(print$4, "typeParameters"));
|
|
50166
|
-
if (n$5.superClass) parts.push(" extends ", path.call(print$4, "superClass"), path.call(print$4, "superTypeParameters"));
|
|
50167
|
-
if (n$5.extends && n$5.extends.length > 0) parts.push(" extends ", lines_1.fromString(", ").join(path.map(print$4, "extends")));
|
|
50168
|
-
if (n$5["implements"] && n$5["implements"].length > 0) parts.push(" implements ", lines_1.fromString(", ").join(path.map(print$4, "implements")));
|
|
50169
|
-
parts.push(" ", path.call(print$4, "body"));
|
|
50170
|
-
if (n$5.type === "DeclareClass") return printFlowDeclaration(path, parts);
|
|
50255
|
+
if (n$5.id) parts.push(" ", path$1.call(print$4, "id"));
|
|
50256
|
+
if (n$5.typeParameters) parts.push(path$1.call(print$4, "typeParameters"));
|
|
50257
|
+
if (n$5.superClass) parts.push(" extends ", path$1.call(print$4, "superClass"), path$1.call(print$4, "superTypeParameters"));
|
|
50258
|
+
if (n$5.extends && n$5.extends.length > 0) parts.push(" extends ", lines_1.fromString(", ").join(path$1.map(print$4, "extends")));
|
|
50259
|
+
if (n$5["implements"] && n$5["implements"].length > 0) parts.push(" implements ", lines_1.fromString(", ").join(path$1.map(print$4, "implements")));
|
|
50260
|
+
parts.push(" ", path$1.call(print$4, "body"));
|
|
50261
|
+
if (n$5.type === "DeclareClass") return printFlowDeclaration(path$1, parts);
|
|
50171
50262
|
else return lines_1.concat(parts);
|
|
50172
50263
|
case "TemplateElement": return lines_1.fromString(n$5.value.raw, options).lockIndentTail();
|
|
50173
50264
|
case "TemplateLiteral":
|
|
50174
|
-
var expressions_1 = path.map(print$4, "expressions");
|
|
50265
|
+
var expressions_1 = path$1.map(print$4, "expressions");
|
|
50175
50266
|
parts.push("`");
|
|
50176
|
-
path.each(function(childPath) {
|
|
50267
|
+
path$1.each(function(childPath) {
|
|
50177
50268
|
var i$2 = childPath.getName();
|
|
50178
50269
|
parts.push(print$4(childPath));
|
|
50179
50270
|
if (i$2 < expressions_1.length) parts.push("${", expressions_1[i$2], "}");
|
|
50180
50271
|
}, "quasis");
|
|
50181
50272
|
parts.push("`");
|
|
50182
50273
|
return lines_1.concat(parts).lockIndentTail();
|
|
50183
|
-
case "TaggedTemplateExpression": return lines_1.concat([path.call(print$4, "tag"), path.call(print$4, "quasi")]);
|
|
50274
|
+
case "TaggedTemplateExpression": return lines_1.concat([path$1.call(print$4, "tag"), path$1.call(print$4, "quasi")]);
|
|
50184
50275
|
case "Node":
|
|
50185
50276
|
case "Printable":
|
|
50186
50277
|
case "SourceLocation":
|
|
@@ -50213,7 +50304,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50213
50304
|
case "TypeAnnotation":
|
|
50214
50305
|
if (n$5.typeAnnotation) {
|
|
50215
50306
|
if (n$5.typeAnnotation.type !== "FunctionTypeAnnotation") parts.push(": ");
|
|
50216
|
-
parts.push(path.call(print$4, "typeAnnotation"));
|
|
50307
|
+
parts.push(path$1.call(print$4, "typeAnnotation"));
|
|
50217
50308
|
return lines_1.concat(parts);
|
|
50218
50309
|
}
|
|
50219
50310
|
return lines_1.fromString("");
|
|
@@ -50222,15 +50313,15 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50222
50313
|
case "EmptyTypeAnnotation": return lines_1.fromString("empty", options);
|
|
50223
50314
|
case "AnyTypeAnnotation": return lines_1.fromString("any", options);
|
|
50224
50315
|
case "MixedTypeAnnotation": return lines_1.fromString("mixed", options);
|
|
50225
|
-
case "ArrayTypeAnnotation": return lines_1.concat([path.call(print$4, "elementType"), "[]"]);
|
|
50316
|
+
case "ArrayTypeAnnotation": return lines_1.concat([path$1.call(print$4, "elementType"), "[]"]);
|
|
50226
50317
|
case "TupleTypeAnnotation":
|
|
50227
|
-
var printed_2 = path.map(print$4, "types");
|
|
50318
|
+
var printed_2 = path$1.map(print$4, "types");
|
|
50228
50319
|
var joined = lines_1.fromString(", ").join(printed_2);
|
|
50229
50320
|
var oneLine_3 = joined.getLineLength(1) <= options.wrapColumn;
|
|
50230
50321
|
if (oneLine_3) if (options.arrayBracketSpacing) parts.push("[ ");
|
|
50231
50322
|
else parts.push("[");
|
|
50232
50323
|
else parts.push("[\n");
|
|
50233
|
-
path.each(function(elemPath) {
|
|
50324
|
+
path$1.each(function(elemPath) {
|
|
50234
50325
|
var i$2 = elemPath.getName();
|
|
50235
50326
|
if (!elemPath.getValue()) parts.push(",");
|
|
50236
50327
|
else {
|
|
@@ -50252,114 +50343,114 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50252
50343
|
return lines_1.fromString("" + n$5.value, options);
|
|
50253
50344
|
case "InterfaceTypeAnnotation":
|
|
50254
50345
|
parts.push("interface");
|
|
50255
|
-
if (n$5.extends && n$5.extends.length > 0) parts.push(" extends ", lines_1.fromString(", ").join(path.map(print$4, "extends")));
|
|
50256
|
-
parts.push(" ", path.call(print$4, "body"));
|
|
50346
|
+
if (n$5.extends && n$5.extends.length > 0) parts.push(" extends ", lines_1.fromString(", ").join(path$1.map(print$4, "extends")));
|
|
50347
|
+
parts.push(" ", path$1.call(print$4, "body"));
|
|
50257
50348
|
return lines_1.concat(parts);
|
|
50258
|
-
case "DeclareFunction": return printFlowDeclaration(path, [
|
|
50349
|
+
case "DeclareFunction": return printFlowDeclaration(path$1, [
|
|
50259
50350
|
"function ",
|
|
50260
|
-
path.call(print$4, "id"),
|
|
50351
|
+
path$1.call(print$4, "id"),
|
|
50261
50352
|
";"
|
|
50262
50353
|
]);
|
|
50263
|
-
case "DeclareModule": return printFlowDeclaration(path, [
|
|
50354
|
+
case "DeclareModule": return printFlowDeclaration(path$1, [
|
|
50264
50355
|
"module ",
|
|
50265
|
-
path.call(print$4, "id"),
|
|
50356
|
+
path$1.call(print$4, "id"),
|
|
50266
50357
|
" ",
|
|
50267
|
-
path.call(print$4, "body")
|
|
50358
|
+
path$1.call(print$4, "body")
|
|
50268
50359
|
]);
|
|
50269
|
-
case "DeclareModuleExports": return printFlowDeclaration(path, ["module.exports", path.call(print$4, "typeAnnotation")]);
|
|
50270
|
-
case "DeclareVariable": return printFlowDeclaration(path, [
|
|
50360
|
+
case "DeclareModuleExports": return printFlowDeclaration(path$1, ["module.exports", path$1.call(print$4, "typeAnnotation")]);
|
|
50361
|
+
case "DeclareVariable": return printFlowDeclaration(path$1, [
|
|
50271
50362
|
"var ",
|
|
50272
|
-
path.call(print$4, "id"),
|
|
50363
|
+
path$1.call(print$4, "id"),
|
|
50273
50364
|
";"
|
|
50274
50365
|
]);
|
|
50275
50366
|
case "DeclareExportDeclaration":
|
|
50276
|
-
case "DeclareExportAllDeclaration": return lines_1.concat(["declare ", printExportDeclaration(path, options, print$4)]);
|
|
50367
|
+
case "DeclareExportAllDeclaration": return lines_1.concat(["declare ", printExportDeclaration(path$1, options, print$4)]);
|
|
50277
50368
|
case "EnumDeclaration": return lines_1.concat([
|
|
50278
50369
|
"enum ",
|
|
50279
|
-
path.call(print$4, "id"),
|
|
50280
|
-
path.call(print$4, "body")
|
|
50370
|
+
path$1.call(print$4, "id"),
|
|
50371
|
+
path$1.call(print$4, "body")
|
|
50281
50372
|
]);
|
|
50282
50373
|
case "EnumBooleanBody":
|
|
50283
50374
|
case "EnumNumberBody":
|
|
50284
50375
|
case "EnumStringBody":
|
|
50285
50376
|
case "EnumSymbolBody":
|
|
50286
50377
|
if (n$5.type === "EnumSymbolBody" || n$5.explicitType) parts.push(" of ", n$5.type.slice(4, -4).toLowerCase());
|
|
50287
|
-
parts.push(" {\n", lines_1.fromString("\n").join(path.map(print$4, "members")).indent(options.tabWidth), "\n}");
|
|
50378
|
+
parts.push(" {\n", lines_1.fromString("\n").join(path$1.map(print$4, "members")).indent(options.tabWidth), "\n}");
|
|
50288
50379
|
return lines_1.concat(parts);
|
|
50289
|
-
case "EnumDefaultedMember": return lines_1.concat([path.call(print$4, "id"), ","]);
|
|
50380
|
+
case "EnumDefaultedMember": return lines_1.concat([path$1.call(print$4, "id"), ","]);
|
|
50290
50381
|
case "EnumBooleanMember":
|
|
50291
50382
|
case "EnumNumberMember":
|
|
50292
50383
|
case "EnumStringMember": return lines_1.concat([
|
|
50293
|
-
path.call(print$4, "id"),
|
|
50384
|
+
path$1.call(print$4, "id"),
|
|
50294
50385
|
" = ",
|
|
50295
|
-
path.call(print$4, "init"),
|
|
50386
|
+
path$1.call(print$4, "init"),
|
|
50296
50387
|
","
|
|
50297
50388
|
]);
|
|
50298
50389
|
case "InferredPredicate": return lines_1.fromString("%checks", options);
|
|
50299
50390
|
case "DeclaredPredicate": return lines_1.concat([
|
|
50300
50391
|
"%checks(",
|
|
50301
|
-
path.call(print$4, "value"),
|
|
50392
|
+
path$1.call(print$4, "value"),
|
|
50302
50393
|
")"
|
|
50303
50394
|
]);
|
|
50304
50395
|
case "FunctionTypeAnnotation":
|
|
50305
|
-
var parent = path.getParentNode(0);
|
|
50306
|
-
var isArrowFunctionTypeAnnotation = !(namedTypes.ObjectTypeCallProperty.check(parent) || namedTypes.ObjectTypeInternalSlot.check(parent) && parent.method || namedTypes.DeclareFunction.check(path.getParentNode(2)));
|
|
50396
|
+
var parent = path$1.getParentNode(0);
|
|
50397
|
+
var isArrowFunctionTypeAnnotation = !(namedTypes.ObjectTypeCallProperty.check(parent) || namedTypes.ObjectTypeInternalSlot.check(parent) && parent.method || namedTypes.DeclareFunction.check(path$1.getParentNode(2)));
|
|
50307
50398
|
if (isArrowFunctionTypeAnnotation && !namedTypes.FunctionTypeParam.check(parent) && !namedTypes.TypeAlias.check(parent)) parts.push(": ");
|
|
50308
50399
|
var hasTypeParameters = !!n$5.typeParameters;
|
|
50309
50400
|
var needsParens = hasTypeParameters || n$5.params.length !== 1 || n$5.params[0].name;
|
|
50310
|
-
parts.push(hasTypeParameters ? path.call(print$4, "typeParameters") : "", needsParens ? "(" : "", printFunctionParams(path, options, print$4), needsParens ? ")" : "");
|
|
50311
|
-
if (n$5.returnType) parts.push(isArrowFunctionTypeAnnotation ? " => " : ": ", path.call(print$4, "returnType"));
|
|
50401
|
+
parts.push(hasTypeParameters ? path$1.call(print$4, "typeParameters") : "", needsParens ? "(" : "", printFunctionParams(path$1, options, print$4), needsParens ? ")" : "");
|
|
50402
|
+
if (n$5.returnType) parts.push(isArrowFunctionTypeAnnotation ? " => " : ": ", path$1.call(print$4, "returnType"));
|
|
50312
50403
|
return lines_1.concat(parts);
|
|
50313
50404
|
case "FunctionTypeParam":
|
|
50314
|
-
var name = path.call(print$4, "name");
|
|
50405
|
+
var name = path$1.call(print$4, "name");
|
|
50315
50406
|
parts.push(name);
|
|
50316
50407
|
if (n$5.optional) parts.push("?");
|
|
50317
50408
|
if (name.infos[0].line) parts.push(": ");
|
|
50318
|
-
parts.push(path.call(print$4, "typeAnnotation"));
|
|
50409
|
+
parts.push(path$1.call(print$4, "typeAnnotation"));
|
|
50319
50410
|
return lines_1.concat(parts);
|
|
50320
|
-
case "GenericTypeAnnotation": return lines_1.concat([path.call(print$4, "id"), path.call(print$4, "typeParameters")]);
|
|
50411
|
+
case "GenericTypeAnnotation": return lines_1.concat([path$1.call(print$4, "id"), path$1.call(print$4, "typeParameters")]);
|
|
50321
50412
|
case "DeclareInterface": parts.push("declare ");
|
|
50322
50413
|
case "InterfaceDeclaration":
|
|
50323
50414
|
case "TSInterfaceDeclaration":
|
|
50324
50415
|
if (n$5.declare) parts.push("declare ");
|
|
50325
|
-
parts.push("interface ", path.call(print$4, "id"), path.call(print$4, "typeParameters"), " ");
|
|
50326
|
-
if (n$5["extends"] && n$5["extends"].length > 0) parts.push("extends ", lines_1.fromString(", ").join(path.map(print$4, "extends")), " ");
|
|
50327
|
-
if (n$5.body) parts.push(path.call(print$4, "body"));
|
|
50416
|
+
parts.push("interface ", path$1.call(print$4, "id"), path$1.call(print$4, "typeParameters"), " ");
|
|
50417
|
+
if (n$5["extends"] && n$5["extends"].length > 0) parts.push("extends ", lines_1.fromString(", ").join(path$1.map(print$4, "extends")), " ");
|
|
50418
|
+
if (n$5.body) parts.push(path$1.call(print$4, "body"));
|
|
50328
50419
|
return lines_1.concat(parts);
|
|
50329
50420
|
case "ClassImplements":
|
|
50330
|
-
case "InterfaceExtends": return lines_1.concat([path.call(print$4, "id"), path.call(print$4, "typeParameters")]);
|
|
50331
|
-
case "IntersectionTypeAnnotation": return lines_1.fromString(" & ").join(path.map(print$4, "types"));
|
|
50332
|
-
case "NullableTypeAnnotation": return lines_1.concat(["?", path.call(print$4, "typeAnnotation")]);
|
|
50421
|
+
case "InterfaceExtends": return lines_1.concat([path$1.call(print$4, "id"), path$1.call(print$4, "typeParameters")]);
|
|
50422
|
+
case "IntersectionTypeAnnotation": return lines_1.fromString(" & ").join(path$1.map(print$4, "types"));
|
|
50423
|
+
case "NullableTypeAnnotation": return lines_1.concat(["?", path$1.call(print$4, "typeAnnotation")]);
|
|
50333
50424
|
case "NullLiteralTypeAnnotation": return lines_1.fromString("null", options);
|
|
50334
50425
|
case "ThisTypeAnnotation": return lines_1.fromString("this", options);
|
|
50335
50426
|
case "NumberTypeAnnotation": return lines_1.fromString("number", options);
|
|
50336
|
-
case "ObjectTypeCallProperty": return path.call(print$4, "value");
|
|
50427
|
+
case "ObjectTypeCallProperty": return path$1.call(print$4, "value");
|
|
50337
50428
|
case "ObjectTypeIndexer":
|
|
50338
50429
|
if (n$5.static) parts.push("static ");
|
|
50339
|
-
parts.push(printVariance(path, print$4), "[");
|
|
50340
|
-
if (n$5.id) parts.push(path.call(print$4, "id"), ": ");
|
|
50341
|
-
parts.push(path.call(print$4, "key"), "]: ", path.call(print$4, "value"));
|
|
50430
|
+
parts.push(printVariance(path$1, print$4), "[");
|
|
50431
|
+
if (n$5.id) parts.push(path$1.call(print$4, "id"), ": ");
|
|
50432
|
+
parts.push(path$1.call(print$4, "key"), "]: ", path$1.call(print$4, "value"));
|
|
50342
50433
|
return lines_1.concat(parts);
|
|
50343
50434
|
case "ObjectTypeProperty": return lines_1.concat([
|
|
50344
|
-
printVariance(path, print$4),
|
|
50345
|
-
path.call(print$4, "key"),
|
|
50435
|
+
printVariance(path$1, print$4),
|
|
50436
|
+
path$1.call(print$4, "key"),
|
|
50346
50437
|
n$5.optional ? "?" : "",
|
|
50347
50438
|
": ",
|
|
50348
|
-
path.call(print$4, "value")
|
|
50439
|
+
path$1.call(print$4, "value")
|
|
50349
50440
|
]);
|
|
50350
50441
|
case "ObjectTypeInternalSlot": return lines_1.concat([
|
|
50351
50442
|
n$5.static ? "static " : "",
|
|
50352
50443
|
"[[",
|
|
50353
|
-
path.call(print$4, "id"),
|
|
50444
|
+
path$1.call(print$4, "id"),
|
|
50354
50445
|
"]]",
|
|
50355
50446
|
n$5.optional ? "?" : "",
|
|
50356
50447
|
n$5.value.type !== "FunctionTypeAnnotation" ? ": " : "",
|
|
50357
|
-
path.call(print$4, "value")
|
|
50448
|
+
path$1.call(print$4, "value")
|
|
50358
50449
|
]);
|
|
50359
50450
|
case "QualifiedTypeIdentifier": return lines_1.concat([
|
|
50360
|
-
path.call(print$4, "qualification"),
|
|
50451
|
+
path$1.call(print$4, "qualification"),
|
|
50361
50452
|
".",
|
|
50362
|
-
path.call(print$4, "id")
|
|
50453
|
+
path$1.call(print$4, "id")
|
|
50363
50454
|
]);
|
|
50364
50455
|
case "StringLiteralTypeAnnotation": return lines_1.fromString(nodeStr(n$5.value, options), options);
|
|
50365
50456
|
case "NumberLiteralTypeAnnotation":
|
|
@@ -50371,29 +50462,29 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50371
50462
|
case "DeclareTypeAlias": parts.push("declare ");
|
|
50372
50463
|
case "TypeAlias": return lines_1.concat([
|
|
50373
50464
|
"type ",
|
|
50374
|
-
path.call(print$4, "id"),
|
|
50375
|
-
path.call(print$4, "typeParameters"),
|
|
50465
|
+
path$1.call(print$4, "id"),
|
|
50466
|
+
path$1.call(print$4, "typeParameters"),
|
|
50376
50467
|
" = ",
|
|
50377
|
-
path.call(print$4, "right"),
|
|
50468
|
+
path$1.call(print$4, "right"),
|
|
50378
50469
|
";"
|
|
50379
50470
|
]);
|
|
50380
50471
|
case "DeclareOpaqueType": parts.push("declare ");
|
|
50381
50472
|
case "OpaqueType":
|
|
50382
|
-
parts.push("opaque type ", path.call(print$4, "id"), path.call(print$4, "typeParameters"));
|
|
50383
|
-
if (n$5["supertype"]) parts.push(": ", path.call(print$4, "supertype"));
|
|
50384
|
-
if (n$5["impltype"]) parts.push(" = ", path.call(print$4, "impltype"));
|
|
50473
|
+
parts.push("opaque type ", path$1.call(print$4, "id"), path$1.call(print$4, "typeParameters"));
|
|
50474
|
+
if (n$5["supertype"]) parts.push(": ", path$1.call(print$4, "supertype"));
|
|
50475
|
+
if (n$5["impltype"]) parts.push(" = ", path$1.call(print$4, "impltype"));
|
|
50385
50476
|
parts.push(";");
|
|
50386
50477
|
return lines_1.concat(parts);
|
|
50387
50478
|
case "TypeCastExpression": return lines_1.concat([
|
|
50388
50479
|
"(",
|
|
50389
|
-
path.call(print$4, "expression"),
|
|
50390
|
-
path.call(print$4, "typeAnnotation"),
|
|
50480
|
+
path$1.call(print$4, "expression"),
|
|
50481
|
+
path$1.call(print$4, "typeAnnotation"),
|
|
50391
50482
|
")"
|
|
50392
50483
|
]);
|
|
50393
50484
|
case "TypeParameterDeclaration":
|
|
50394
50485
|
case "TypeParameterInstantiation": return lines_1.concat([
|
|
50395
50486
|
"<",
|
|
50396
|
-
lines_1.fromString(", ").join(path.map(print$4, "params")),
|
|
50487
|
+
lines_1.fromString(", ").join(path$1.map(print$4, "params")),
|
|
50397
50488
|
">"
|
|
50398
50489
|
]);
|
|
50399
50490
|
case "Variance":
|
|
@@ -50401,21 +50492,21 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50401
50492
|
if (n$5.kind === "minus") return lines_1.fromString("-");
|
|
50402
50493
|
return lines_1.fromString("");
|
|
50403
50494
|
case "TypeParameter":
|
|
50404
|
-
if (n$5.variance) parts.push(printVariance(path, print$4));
|
|
50405
|
-
parts.push(path.call(print$4, "name"));
|
|
50406
|
-
if (n$5.bound) parts.push(path.call(print$4, "bound"));
|
|
50407
|
-
if (n$5["default"]) parts.push("=", path.call(print$4, "default"));
|
|
50495
|
+
if (n$5.variance) parts.push(printVariance(path$1, print$4));
|
|
50496
|
+
parts.push(path$1.call(print$4, "name"));
|
|
50497
|
+
if (n$5.bound) parts.push(path$1.call(print$4, "bound"));
|
|
50498
|
+
if (n$5["default"]) parts.push("=", path$1.call(print$4, "default"));
|
|
50408
50499
|
return lines_1.concat(parts);
|
|
50409
|
-
case "TypeofTypeAnnotation": return lines_1.concat([lines_1.fromString("typeof ", options), path.call(print$4, "argument")]);
|
|
50500
|
+
case "TypeofTypeAnnotation": return lines_1.concat([lines_1.fromString("typeof ", options), path$1.call(print$4, "argument")]);
|
|
50410
50501
|
case "IndexedAccessType":
|
|
50411
50502
|
case "OptionalIndexedAccessType": return lines_1.concat([
|
|
50412
|
-
path.call(print$4, "objectType"),
|
|
50503
|
+
path$1.call(print$4, "objectType"),
|
|
50413
50504
|
n$5.optional ? "?." : "",
|
|
50414
50505
|
"[",
|
|
50415
|
-
path.call(print$4, "indexType"),
|
|
50506
|
+
path$1.call(print$4, "indexType"),
|
|
50416
50507
|
"]"
|
|
50417
50508
|
]);
|
|
50418
|
-
case "UnionTypeAnnotation": return lines_1.fromString(" | ").join(path.map(print$4, "types"));
|
|
50509
|
+
case "UnionTypeAnnotation": return lines_1.fromString(" | ").join(path$1.map(print$4, "types"));
|
|
50419
50510
|
case "VoidTypeAnnotation": return lines_1.fromString("void", options);
|
|
50420
50511
|
case "NullTypeAnnotation": return lines_1.fromString("null", options);
|
|
50421
50512
|
case "SymbolTypeAnnotation": return lines_1.fromString("symbol", options);
|
|
@@ -50435,39 +50526,39 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50435
50526
|
case "TSUndefinedKeyword": return lines_1.fromString("undefined", options);
|
|
50436
50527
|
case "TSUnknownKeyword": return lines_1.fromString("unknown", options);
|
|
50437
50528
|
case "TSNeverKeyword": return lines_1.fromString("never", options);
|
|
50438
|
-
case "TSArrayType": return lines_1.concat([path.call(print$4, "elementType"), "[]"]);
|
|
50439
|
-
case "TSLiteralType": return path.call(print$4, "literal");
|
|
50440
|
-
case "TSUnionType": return lines_1.fromString(" | ").join(path.map(print$4, "types"));
|
|
50441
|
-
case "TSIntersectionType": return lines_1.fromString(" & ").join(path.map(print$4, "types"));
|
|
50529
|
+
case "TSArrayType": return lines_1.concat([path$1.call(print$4, "elementType"), "[]"]);
|
|
50530
|
+
case "TSLiteralType": return path$1.call(print$4, "literal");
|
|
50531
|
+
case "TSUnionType": return lines_1.fromString(" | ").join(path$1.map(print$4, "types"));
|
|
50532
|
+
case "TSIntersectionType": return lines_1.fromString(" & ").join(path$1.map(print$4, "types"));
|
|
50442
50533
|
case "TSConditionalType":
|
|
50443
|
-
parts.push(path.call(print$4, "checkType"), " extends ", path.call(print$4, "extendsType"), " ? ", path.call(print$4, "trueType"), " : ", path.call(print$4, "falseType"));
|
|
50534
|
+
parts.push(path$1.call(print$4, "checkType"), " extends ", path$1.call(print$4, "extendsType"), " ? ", path$1.call(print$4, "trueType"), " : ", path$1.call(print$4, "falseType"));
|
|
50444
50535
|
return lines_1.concat(parts);
|
|
50445
50536
|
case "TSInferType":
|
|
50446
|
-
parts.push("infer ", path.call(print$4, "typeParameter"));
|
|
50537
|
+
parts.push("infer ", path$1.call(print$4, "typeParameter"));
|
|
50447
50538
|
return lines_1.concat(parts);
|
|
50448
50539
|
case "TSParenthesizedType": return lines_1.concat([
|
|
50449
50540
|
"(",
|
|
50450
|
-
path.call(print$4, "typeAnnotation"),
|
|
50541
|
+
path$1.call(print$4, "typeAnnotation"),
|
|
50451
50542
|
")"
|
|
50452
50543
|
]);
|
|
50453
50544
|
case "TSFunctionType": return lines_1.concat([
|
|
50454
|
-
path.call(print$4, "typeParameters"),
|
|
50545
|
+
path$1.call(print$4, "typeParameters"),
|
|
50455
50546
|
"(",
|
|
50456
|
-
printFunctionParams(path, options, print$4),
|
|
50547
|
+
printFunctionParams(path$1, options, print$4),
|
|
50457
50548
|
") => ",
|
|
50458
|
-
path.call(print$4, "typeAnnotation", "typeAnnotation")
|
|
50549
|
+
path$1.call(print$4, "typeAnnotation", "typeAnnotation")
|
|
50459
50550
|
]);
|
|
50460
50551
|
case "TSConstructorType": return lines_1.concat([
|
|
50461
50552
|
"new ",
|
|
50462
|
-
path.call(print$4, "typeParameters"),
|
|
50553
|
+
path$1.call(print$4, "typeParameters"),
|
|
50463
50554
|
"(",
|
|
50464
|
-
printFunctionParams(path, options, print$4),
|
|
50555
|
+
printFunctionParams(path$1, options, print$4),
|
|
50465
50556
|
") => ",
|
|
50466
|
-
path.call(print$4, "typeAnnotation", "typeAnnotation")
|
|
50557
|
+
path$1.call(print$4, "typeAnnotation", "typeAnnotation")
|
|
50467
50558
|
]);
|
|
50468
50559
|
case "TSMappedType":
|
|
50469
|
-
parts.push(n$5.readonly ? "readonly " : "", "[", path.call(print$4, "typeParameter"), "]", n$5.optional ? "?" : "");
|
|
50470
|
-
if (n$5.typeAnnotation) parts.push(": ", path.call(print$4, "typeAnnotation"), ";");
|
|
50560
|
+
parts.push(n$5.readonly ? "readonly " : "", "[", path$1.call(print$4, "typeParameter"), "]", n$5.optional ? "?" : "");
|
|
50561
|
+
if (n$5.typeAnnotation) parts.push(": ", path$1.call(print$4, "typeAnnotation"), ";");
|
|
50471
50562
|
return lines_1.concat([
|
|
50472
50563
|
"{\n",
|
|
50473
50564
|
lines_1.concat(parts).indent(options.tabWidth),
|
|
@@ -50475,126 +50566,126 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50475
50566
|
]);
|
|
50476
50567
|
case "TSTupleType": return lines_1.concat([
|
|
50477
50568
|
"[",
|
|
50478
|
-
lines_1.fromString(", ").join(path.map(print$4, "elementTypes")),
|
|
50569
|
+
lines_1.fromString(", ").join(path$1.map(print$4, "elementTypes")),
|
|
50479
50570
|
"]"
|
|
50480
50571
|
]);
|
|
50481
50572
|
case "TSNamedTupleMember":
|
|
50482
|
-
parts.push(path.call(print$4, "label"));
|
|
50573
|
+
parts.push(path$1.call(print$4, "label"));
|
|
50483
50574
|
if (n$5.optional) parts.push("?");
|
|
50484
|
-
parts.push(": ", path.call(print$4, "elementType"));
|
|
50575
|
+
parts.push(": ", path$1.call(print$4, "elementType"));
|
|
50485
50576
|
return lines_1.concat(parts);
|
|
50486
|
-
case "TSRestType": return lines_1.concat(["...", path.call(print$4, "typeAnnotation")]);
|
|
50487
|
-
case "TSOptionalType": return lines_1.concat([path.call(print$4, "typeAnnotation"), "?"]);
|
|
50577
|
+
case "TSRestType": return lines_1.concat(["...", path$1.call(print$4, "typeAnnotation")]);
|
|
50578
|
+
case "TSOptionalType": return lines_1.concat([path$1.call(print$4, "typeAnnotation"), "?"]);
|
|
50488
50579
|
case "TSIndexedAccessType": return lines_1.concat([
|
|
50489
|
-
path.call(print$4, "objectType"),
|
|
50580
|
+
path$1.call(print$4, "objectType"),
|
|
50490
50581
|
"[",
|
|
50491
|
-
path.call(print$4, "indexType"),
|
|
50582
|
+
path$1.call(print$4, "indexType"),
|
|
50492
50583
|
"]"
|
|
50493
50584
|
]);
|
|
50494
50585
|
case "TSTypeOperator": return lines_1.concat([
|
|
50495
|
-
path.call(print$4, "operator"),
|
|
50586
|
+
path$1.call(print$4, "operator"),
|
|
50496
50587
|
" ",
|
|
50497
|
-
path.call(print$4, "typeAnnotation")
|
|
50588
|
+
path$1.call(print$4, "typeAnnotation")
|
|
50498
50589
|
]);
|
|
50499
50590
|
case "TSTypeLiteral":
|
|
50500
|
-
var memberLines = lines_1.fromString("\n").join(path.map(print$4, "members"));
|
|
50591
|
+
var memberLines = lines_1.fromString("\n").join(path$1.map(print$4, "members"));
|
|
50501
50592
|
if (memberLines.isEmpty()) return lines_1.fromString("{}", options);
|
|
50502
50593
|
parts.push("{\n", memberLines.indent(options.tabWidth), "\n}");
|
|
50503
50594
|
return lines_1.concat(parts);
|
|
50504
50595
|
case "TSEnumMember":
|
|
50505
|
-
parts.push(path.call(print$4, "id"));
|
|
50506
|
-
if (n$5.initializer) parts.push(" = ", path.call(print$4, "initializer"));
|
|
50596
|
+
parts.push(path$1.call(print$4, "id"));
|
|
50597
|
+
if (n$5.initializer) parts.push(" = ", path$1.call(print$4, "initializer"));
|
|
50507
50598
|
return lines_1.concat(parts);
|
|
50508
|
-
case "TSTypeQuery": return lines_1.concat(["typeof ", path.call(print$4, "exprName")]);
|
|
50599
|
+
case "TSTypeQuery": return lines_1.concat(["typeof ", path$1.call(print$4, "exprName")]);
|
|
50509
50600
|
case "TSParameterProperty":
|
|
50510
50601
|
if (n$5.accessibility) parts.push(n$5.accessibility, " ");
|
|
50511
50602
|
if (n$5.export) parts.push("export ");
|
|
50512
50603
|
if (n$5.static) parts.push("static ");
|
|
50513
50604
|
if (n$5.readonly) parts.push("readonly ");
|
|
50514
|
-
parts.push(path.call(print$4, "parameter"));
|
|
50605
|
+
parts.push(path$1.call(print$4, "parameter"));
|
|
50515
50606
|
return lines_1.concat(parts);
|
|
50516
|
-
case "TSTypeReference": return lines_1.concat([path.call(print$4, "typeName"), path.call(print$4, "typeParameters")]);
|
|
50607
|
+
case "TSTypeReference": return lines_1.concat([path$1.call(print$4, "typeName"), path$1.call(print$4, "typeParameters")]);
|
|
50517
50608
|
case "TSQualifiedName": return lines_1.concat([
|
|
50518
|
-
path.call(print$4, "left"),
|
|
50609
|
+
path$1.call(print$4, "left"),
|
|
50519
50610
|
".",
|
|
50520
|
-
path.call(print$4, "right")
|
|
50611
|
+
path$1.call(print$4, "right")
|
|
50521
50612
|
]);
|
|
50522
50613
|
case "TSAsExpression":
|
|
50523
|
-
var expression = path.call(print$4, "expression");
|
|
50524
|
-
parts.push(expression, lines_1.fromString(" as "), path.call(print$4, "typeAnnotation"));
|
|
50614
|
+
var expression = path$1.call(print$4, "expression");
|
|
50615
|
+
parts.push(expression, lines_1.fromString(" as "), path$1.call(print$4, "typeAnnotation"));
|
|
50525
50616
|
return lines_1.concat(parts);
|
|
50526
|
-
case "TSNonNullExpression": return lines_1.concat([path.call(print$4, "expression"), "!"]);
|
|
50527
|
-
case "TSTypeAnnotation": return lines_1.concat([": ", path.call(print$4, "typeAnnotation")]);
|
|
50617
|
+
case "TSNonNullExpression": return lines_1.concat([path$1.call(print$4, "expression"), "!"]);
|
|
50618
|
+
case "TSTypeAnnotation": return lines_1.concat([": ", path$1.call(print$4, "typeAnnotation")]);
|
|
50528
50619
|
case "TSIndexSignature": return lines_1.concat([
|
|
50529
50620
|
n$5.readonly ? "readonly " : "",
|
|
50530
50621
|
"[",
|
|
50531
|
-
path.map(print$4, "parameters"),
|
|
50622
|
+
path$1.map(print$4, "parameters"),
|
|
50532
50623
|
"]",
|
|
50533
|
-
path.call(print$4, "typeAnnotation")
|
|
50624
|
+
path$1.call(print$4, "typeAnnotation")
|
|
50534
50625
|
]);
|
|
50535
50626
|
case "TSPropertySignature":
|
|
50536
|
-
parts.push(printVariance(path, print$4), n$5.readonly ? "readonly " : "");
|
|
50537
|
-
if (n$5.computed) parts.push("[", path.call(print$4, "key"), "]");
|
|
50538
|
-
else parts.push(path.call(print$4, "key"));
|
|
50539
|
-
parts.push(n$5.optional ? "?" : "", path.call(print$4, "typeAnnotation"));
|
|
50627
|
+
parts.push(printVariance(path$1, print$4), n$5.readonly ? "readonly " : "");
|
|
50628
|
+
if (n$5.computed) parts.push("[", path$1.call(print$4, "key"), "]");
|
|
50629
|
+
else parts.push(path$1.call(print$4, "key"));
|
|
50630
|
+
parts.push(n$5.optional ? "?" : "", path$1.call(print$4, "typeAnnotation"));
|
|
50540
50631
|
return lines_1.concat(parts);
|
|
50541
50632
|
case "TSMethodSignature":
|
|
50542
|
-
if (n$5.computed) parts.push("[", path.call(print$4, "key"), "]");
|
|
50543
|
-
else parts.push(path.call(print$4, "key"));
|
|
50633
|
+
if (n$5.computed) parts.push("[", path$1.call(print$4, "key"), "]");
|
|
50634
|
+
else parts.push(path$1.call(print$4, "key"));
|
|
50544
50635
|
if (n$5.optional) parts.push("?");
|
|
50545
|
-
parts.push(path.call(print$4, "typeParameters"), "(", printFunctionParams(path, options, print$4), ")", path.call(print$4, "typeAnnotation"));
|
|
50636
|
+
parts.push(path$1.call(print$4, "typeParameters"), "(", printFunctionParams(path$1, options, print$4), ")", path$1.call(print$4, "typeAnnotation"));
|
|
50546
50637
|
return lines_1.concat(parts);
|
|
50547
50638
|
case "TSTypePredicate":
|
|
50548
50639
|
if (n$5.asserts) parts.push("asserts ");
|
|
50549
|
-
parts.push(path.call(print$4, "parameterName"));
|
|
50550
|
-
if (n$5.typeAnnotation) parts.push(" is ", path.call(print$4, "typeAnnotation", "typeAnnotation"));
|
|
50640
|
+
parts.push(path$1.call(print$4, "parameterName"));
|
|
50641
|
+
if (n$5.typeAnnotation) parts.push(" is ", path$1.call(print$4, "typeAnnotation", "typeAnnotation"));
|
|
50551
50642
|
return lines_1.concat(parts);
|
|
50552
50643
|
case "TSCallSignatureDeclaration": return lines_1.concat([
|
|
50553
|
-
path.call(print$4, "typeParameters"),
|
|
50644
|
+
path$1.call(print$4, "typeParameters"),
|
|
50554
50645
|
"(",
|
|
50555
|
-
printFunctionParams(path, options, print$4),
|
|
50646
|
+
printFunctionParams(path$1, options, print$4),
|
|
50556
50647
|
")",
|
|
50557
|
-
path.call(print$4, "typeAnnotation")
|
|
50648
|
+
path$1.call(print$4, "typeAnnotation")
|
|
50558
50649
|
]);
|
|
50559
50650
|
case "TSConstructSignatureDeclaration":
|
|
50560
|
-
if (n$5.typeParameters) parts.push("new", path.call(print$4, "typeParameters"));
|
|
50651
|
+
if (n$5.typeParameters) parts.push("new", path$1.call(print$4, "typeParameters"));
|
|
50561
50652
|
else parts.push("new ");
|
|
50562
|
-
parts.push("(", printFunctionParams(path, options, print$4), ")", path.call(print$4, "typeAnnotation"));
|
|
50653
|
+
parts.push("(", printFunctionParams(path$1, options, print$4), ")", path$1.call(print$4, "typeAnnotation"));
|
|
50563
50654
|
return lines_1.concat(parts);
|
|
50564
50655
|
case "TSTypeAliasDeclaration": return lines_1.concat([
|
|
50565
50656
|
n$5.declare ? "declare " : "",
|
|
50566
50657
|
"type ",
|
|
50567
|
-
path.call(print$4, "id"),
|
|
50568
|
-
path.call(print$4, "typeParameters"),
|
|
50658
|
+
path$1.call(print$4, "id"),
|
|
50659
|
+
path$1.call(print$4, "typeParameters"),
|
|
50569
50660
|
" = ",
|
|
50570
|
-
path.call(print$4, "typeAnnotation"),
|
|
50661
|
+
path$1.call(print$4, "typeAnnotation"),
|
|
50571
50662
|
";"
|
|
50572
50663
|
]);
|
|
50573
50664
|
case "TSTypeParameter":
|
|
50574
|
-
parts.push(path.call(print$4, "name"));
|
|
50575
|
-
var parent = path.getParentNode(0);
|
|
50665
|
+
parts.push(path$1.call(print$4, "name"));
|
|
50666
|
+
var parent = path$1.getParentNode(0);
|
|
50576
50667
|
var isInMappedType = namedTypes.TSMappedType.check(parent);
|
|
50577
|
-
if (n$5.constraint) parts.push(isInMappedType ? " in " : " extends ", path.call(print$4, "constraint"));
|
|
50578
|
-
if (n$5["default"]) parts.push(" = ", path.call(print$4, "default"));
|
|
50668
|
+
if (n$5.constraint) parts.push(isInMappedType ? " in " : " extends ", path$1.call(print$4, "constraint"));
|
|
50669
|
+
if (n$5["default"]) parts.push(" = ", path$1.call(print$4, "default"));
|
|
50579
50670
|
return lines_1.concat(parts);
|
|
50580
50671
|
case "TSTypeAssertion":
|
|
50581
|
-
parts.push("<", path.call(print$4, "typeAnnotation"), "> ", path.call(print$4, "expression"));
|
|
50672
|
+
parts.push("<", path$1.call(print$4, "typeAnnotation"), "> ", path$1.call(print$4, "expression"));
|
|
50582
50673
|
return lines_1.concat(parts);
|
|
50583
50674
|
case "TSTypeParameterDeclaration":
|
|
50584
50675
|
case "TSTypeParameterInstantiation": return lines_1.concat([
|
|
50585
50676
|
"<",
|
|
50586
|
-
lines_1.fromString(", ").join(path.map(print$4, "params")),
|
|
50677
|
+
lines_1.fromString(", ").join(path$1.map(print$4, "params")),
|
|
50587
50678
|
">"
|
|
50588
50679
|
]);
|
|
50589
50680
|
case "TSEnumDeclaration":
|
|
50590
|
-
parts.push(n$5.declare ? "declare " : "", n$5.const ? "const " : "", "enum ", path.call(print$4, "id"));
|
|
50591
|
-
var memberLines = lines_1.fromString(",\n").join(path.map(print$4, "members"));
|
|
50681
|
+
parts.push(n$5.declare ? "declare " : "", n$5.const ? "const " : "", "enum ", path$1.call(print$4, "id"));
|
|
50682
|
+
var memberLines = lines_1.fromString(",\n").join(path$1.map(print$4, "members"));
|
|
50592
50683
|
if (memberLines.isEmpty()) parts.push(" {}");
|
|
50593
50684
|
else parts.push(" {\n", memberLines.indent(options.tabWidth), "\n}");
|
|
50594
50685
|
return lines_1.concat(parts);
|
|
50595
|
-
case "TSExpressionWithTypeArguments": return lines_1.concat([path.call(print$4, "expression"), path.call(print$4, "typeParameters")]);
|
|
50686
|
+
case "TSExpressionWithTypeArguments": return lines_1.concat([path$1.call(print$4, "expression"), path$1.call(print$4, "typeParameters")]);
|
|
50596
50687
|
case "TSInterfaceBody":
|
|
50597
|
-
var lines = lines_1.fromString("\n").join(path.map(print$4, "body"));
|
|
50688
|
+
var lines = lines_1.fromString("\n").join(path$1.map(print$4, "body"));
|
|
50598
50689
|
if (lines.isEmpty()) return lines_1.fromString("{}", options);
|
|
50599
50690
|
return lines_1.concat([
|
|
50600
50691
|
"{\n",
|
|
@@ -50602,21 +50693,21 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50602
50693
|
"\n}"
|
|
50603
50694
|
]);
|
|
50604
50695
|
case "TSImportType":
|
|
50605
|
-
parts.push("import(", path.call(print$4, "argument"), ")");
|
|
50606
|
-
if (n$5.qualifier) parts.push(".", path.call(print$4, "qualifier"));
|
|
50607
|
-
if (n$5.typeParameters) parts.push(path.call(print$4, "typeParameters"));
|
|
50696
|
+
parts.push("import(", path$1.call(print$4, "argument"), ")");
|
|
50697
|
+
if (n$5.qualifier) parts.push(".", path$1.call(print$4, "qualifier"));
|
|
50698
|
+
if (n$5.typeParameters) parts.push(path$1.call(print$4, "typeParameters"));
|
|
50608
50699
|
return lines_1.concat(parts);
|
|
50609
50700
|
case "TSImportEqualsDeclaration":
|
|
50610
50701
|
if (n$5.isExport) parts.push("export ");
|
|
50611
|
-
parts.push("import ", path.call(print$4, "id"), " = ", path.call(print$4, "moduleReference"));
|
|
50702
|
+
parts.push("import ", path$1.call(print$4, "id"), " = ", path$1.call(print$4, "moduleReference"));
|
|
50612
50703
|
return maybeAddSemicolon(lines_1.concat(parts));
|
|
50613
50704
|
case "TSExternalModuleReference": return lines_1.concat([
|
|
50614
50705
|
"require(",
|
|
50615
|
-
path.call(print$4, "expression"),
|
|
50706
|
+
path$1.call(print$4, "expression"),
|
|
50616
50707
|
")"
|
|
50617
50708
|
]);
|
|
50618
50709
|
case "TSModuleDeclaration":
|
|
50619
|
-
var parent = path.getParentNode();
|
|
50710
|
+
var parent = path$1.getParentNode();
|
|
50620
50711
|
if (parent.type === "TSModuleDeclaration") parts.push(".");
|
|
50621
50712
|
else {
|
|
50622
50713
|
if (n$5.declare) parts.push("declare ");
|
|
@@ -50625,20 +50716,20 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50625
50716
|
else parts.push("namespace ");
|
|
50626
50717
|
else parts.push("namespace ");
|
|
50627
50718
|
}
|
|
50628
|
-
parts.push(path.call(print$4, "id"));
|
|
50719
|
+
parts.push(path$1.call(print$4, "id"));
|
|
50629
50720
|
if (n$5.body) {
|
|
50630
50721
|
parts.push(" ");
|
|
50631
|
-
parts.push(path.call(print$4, "body"));
|
|
50722
|
+
parts.push(path$1.call(print$4, "body"));
|
|
50632
50723
|
}
|
|
50633
50724
|
return lines_1.concat(parts);
|
|
50634
50725
|
case "TSModuleBlock":
|
|
50635
|
-
var naked = path.call(function(bodyPath) {
|
|
50726
|
+
var naked = path$1.call(function(bodyPath) {
|
|
50636
50727
|
return printStatementSequence(bodyPath, options, print$4);
|
|
50637
50728
|
}, "body");
|
|
50638
50729
|
if (naked.isEmpty()) parts.push("{}");
|
|
50639
50730
|
else parts.push("{\n", naked.indent(options.tabWidth), "\n}");
|
|
50640
50731
|
return lines_1.concat(parts);
|
|
50641
|
-
case "V8IntrinsicIdentifier": return lines_1.concat(["%", path.call(print$4, "name")]);
|
|
50732
|
+
case "V8IntrinsicIdentifier": return lines_1.concat(["%", path$1.call(print$4, "name")]);
|
|
50642
50733
|
case "TopicReference": return lines_1.fromString("#");
|
|
50643
50734
|
case "ClassHeritage":
|
|
50644
50735
|
case "ComprehensionBlock":
|
|
@@ -50673,22 +50764,22 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50673
50764
|
throw new Error("unknown type: " + JSON.stringify(n$5.type));
|
|
50674
50765
|
}
|
|
50675
50766
|
}
|
|
50676
|
-
function printDecorators(path, printPath) {
|
|
50767
|
+
function printDecorators(path$1, printPath) {
|
|
50677
50768
|
var parts = [];
|
|
50678
|
-
var node = path.getValue();
|
|
50679
|
-
if (node.decorators && node.decorators.length > 0 && !util.getParentExportDeclaration(path)) path.each(function(decoratorPath) {
|
|
50769
|
+
var node = path$1.getValue();
|
|
50770
|
+
if (node.decorators && node.decorators.length > 0 && !util.getParentExportDeclaration(path$1)) path$1.each(function(decoratorPath) {
|
|
50680
50771
|
parts.push(printPath(decoratorPath), "\n");
|
|
50681
50772
|
}, "decorators");
|
|
50682
|
-
else if (util.isExportDeclaration(node) && node.declaration && node.declaration.decorators) path.each(function(decoratorPath) {
|
|
50773
|
+
else if (util.isExportDeclaration(node) && node.declaration && node.declaration.decorators) path$1.each(function(decoratorPath) {
|
|
50683
50774
|
parts.push(printPath(decoratorPath), "\n");
|
|
50684
50775
|
}, "declaration", "decorators");
|
|
50685
50776
|
return lines_1.concat(parts);
|
|
50686
50777
|
}
|
|
50687
|
-
function printStatementSequence(path, options, print$4) {
|
|
50778
|
+
function printStatementSequence(path$1, options, print$4) {
|
|
50688
50779
|
var filtered = [];
|
|
50689
50780
|
var sawComment = false;
|
|
50690
50781
|
var sawStatement = false;
|
|
50691
|
-
path.each(function(stmtPath) {
|
|
50782
|
+
path$1.each(function(stmtPath) {
|
|
50692
50783
|
var stmt = stmtPath.getValue();
|
|
50693
50784
|
if (!stmt) return;
|
|
50694
50785
|
if (stmt.type === "EmptyStatement" && !(stmt.comments && stmt.comments.length > 0)) return;
|
|
@@ -50742,8 +50833,8 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50742
50833
|
if (spaceLines2.length > spaceLines1.length) return spaceLines2;
|
|
50743
50834
|
return spaceLines1;
|
|
50744
50835
|
}
|
|
50745
|
-
function printMethod(path, options, print$4) {
|
|
50746
|
-
var node = path.getNode();
|
|
50836
|
+
function printMethod(path$1, options, print$4) {
|
|
50837
|
+
var node = path$1.getNode();
|
|
50747
50838
|
var kind = node.kind;
|
|
50748
50839
|
var parts = [];
|
|
50749
50840
|
var nodeValue = node.value;
|
|
@@ -50757,7 +50848,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50757
50848
|
if (nodeValue.async) parts.push("async ");
|
|
50758
50849
|
if (nodeValue.generator) parts.push("*");
|
|
50759
50850
|
if (kind === "get" || kind === "set") parts.push(kind, " ");
|
|
50760
|
-
var key = path.call(print$4, "key");
|
|
50851
|
+
var key = path$1.call(print$4, "key");
|
|
50761
50852
|
if (node.computed) key = lines_1.concat([
|
|
50762
50853
|
"[",
|
|
50763
50854
|
key,
|
|
@@ -50766,20 +50857,20 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50766
50857
|
parts.push(key);
|
|
50767
50858
|
if (node.optional) parts.push("?");
|
|
50768
50859
|
if (node === nodeValue) {
|
|
50769
|
-
parts.push(path.call(print$4, "typeParameters"), "(", printFunctionParams(path, options, print$4), ")", path.call(print$4, "returnType"));
|
|
50770
|
-
if (node.body) parts.push(" ", path.call(print$4, "body"));
|
|
50860
|
+
parts.push(path$1.call(print$4, "typeParameters"), "(", printFunctionParams(path$1, options, print$4), ")", path$1.call(print$4, "returnType"));
|
|
50861
|
+
if (node.body) parts.push(" ", path$1.call(print$4, "body"));
|
|
50771
50862
|
else parts.push(";");
|
|
50772
50863
|
} else {
|
|
50773
|
-
parts.push(path.call(print$4, "value", "typeParameters"), "(", path.call(function(valuePath) {
|
|
50864
|
+
parts.push(path$1.call(print$4, "value", "typeParameters"), "(", path$1.call(function(valuePath) {
|
|
50774
50865
|
return printFunctionParams(valuePath, options, print$4);
|
|
50775
|
-
}, "value"), ")", path.call(print$4, "value", "returnType"));
|
|
50776
|
-
if (nodeValue.body) parts.push(" ", path.call(print$4, "value", "body"));
|
|
50866
|
+
}, "value"), ")", path$1.call(print$4, "value", "returnType"));
|
|
50867
|
+
if (nodeValue.body) parts.push(" ", path$1.call(print$4, "value", "body"));
|
|
50777
50868
|
else parts.push(";");
|
|
50778
50869
|
}
|
|
50779
50870
|
return lines_1.concat(parts);
|
|
50780
50871
|
}
|
|
50781
|
-
function printArgumentsList(path, options, print$4) {
|
|
50782
|
-
var printed = path.map(print$4, "arguments");
|
|
50872
|
+
function printArgumentsList(path$1, options, print$4) {
|
|
50873
|
+
var printed = path$1.map(print$4, "arguments");
|
|
50783
50874
|
var trailingComma = util.isTrailingCommaEnabled(options, "parameters");
|
|
50784
50875
|
var joined = lines_1.fromString(", ").join(printed);
|
|
50785
50876
|
if (joined.getLineLength(1) > options.wrapColumn) {
|
|
@@ -50796,18 +50887,18 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50796
50887
|
")"
|
|
50797
50888
|
]);
|
|
50798
50889
|
}
|
|
50799
|
-
function printFunctionParams(path, options, print$4) {
|
|
50800
|
-
var fun = path.getValue();
|
|
50890
|
+
function printFunctionParams(path$1, options, print$4) {
|
|
50891
|
+
var fun = path$1.getValue();
|
|
50801
50892
|
var params;
|
|
50802
50893
|
var printed = [];
|
|
50803
50894
|
if (fun.params) {
|
|
50804
50895
|
params = fun.params;
|
|
50805
|
-
printed = path.map(print$4, "params");
|
|
50896
|
+
printed = path$1.map(print$4, "params");
|
|
50806
50897
|
} else if (fun.parameters) {
|
|
50807
50898
|
params = fun.parameters;
|
|
50808
|
-
printed = path.map(print$4, "parameters");
|
|
50899
|
+
printed = path$1.map(print$4, "parameters");
|
|
50809
50900
|
}
|
|
50810
|
-
if (fun.defaults) path.each(function(defExprPath) {
|
|
50901
|
+
if (fun.defaults) path$1.each(function(defExprPath) {
|
|
50811
50902
|
var i$2 = defExprPath.getName();
|
|
50812
50903
|
var p$1 = printed[i$2];
|
|
50813
50904
|
if (p$1 && defExprPath.getValue()) printed[i$2] = lines_1.concat([
|
|
@@ -50816,7 +50907,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50816
50907
|
print$4(defExprPath)
|
|
50817
50908
|
]);
|
|
50818
50909
|
}, "defaults");
|
|
50819
|
-
if (fun.rest) printed.push(lines_1.concat(["...", path.call(print$4, "rest")]));
|
|
50910
|
+
if (fun.rest) printed.push(lines_1.concat(["...", path$1.call(print$4, "rest")]));
|
|
50820
50911
|
var joined = lines_1.fromString(", ").join(printed);
|
|
50821
50912
|
if (joined.length > 1 || joined.getLineLength(1) > options.wrapColumn) {
|
|
50822
50913
|
joined = lines_1.fromString(",\n").join(printed);
|
|
@@ -50826,11 +50917,11 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50826
50917
|
}
|
|
50827
50918
|
return joined;
|
|
50828
50919
|
}
|
|
50829
|
-
function maybePrintImportAssertions(path, options, print$4) {
|
|
50830
|
-
var n$5 = path.getValue();
|
|
50920
|
+
function maybePrintImportAssertions(path$1, options, print$4) {
|
|
50921
|
+
var n$5 = path$1.getValue();
|
|
50831
50922
|
if (n$5.assertions && n$5.assertions.length > 0) {
|
|
50832
50923
|
var parts = [" assert {"];
|
|
50833
|
-
var printed = path.map(print$4, "assertions");
|
|
50924
|
+
var printed = path$1.map(print$4, "assertions");
|
|
50834
50925
|
var flat = lines_1.fromString(", ").join(printed);
|
|
50835
50926
|
if (flat.length > 1 || flat.getLineLength(1) > options.wrapColumn) parts.push("\n", lines_1.fromString(",\n").join(printed).indent(options.tabWidth), "\n}");
|
|
50836
50927
|
else parts.push(" ", flat, " }");
|
|
@@ -50838,8 +50929,8 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50838
50929
|
}
|
|
50839
50930
|
return lines_1.fromString("");
|
|
50840
50931
|
}
|
|
50841
|
-
function printExportDeclaration(path, options, print$4) {
|
|
50842
|
-
var decl = path.getValue();
|
|
50932
|
+
function printExportDeclaration(path$1, options, print$4) {
|
|
50933
|
+
var decl = path$1.getValue();
|
|
50843
50934
|
var parts = ["export "];
|
|
50844
50935
|
if (decl.exportKind && decl.exportKind === "type") {
|
|
50845
50936
|
if (!decl.declaration) parts.push("type ");
|
|
@@ -50847,14 +50938,14 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50847
50938
|
var shouldPrintSpaces = options.objectCurlySpacing;
|
|
50848
50939
|
namedTypes.Declaration.assert(decl);
|
|
50849
50940
|
if (decl["default"] || decl.type === "ExportDefaultDeclaration") parts.push("default ");
|
|
50850
|
-
if (decl.declaration) parts.push(path.call(print$4, "declaration"));
|
|
50941
|
+
if (decl.declaration) parts.push(path$1.call(print$4, "declaration"));
|
|
50851
50942
|
else if (decl.specifiers) {
|
|
50852
50943
|
if (decl.specifiers.length === 1 && decl.specifiers[0].type === "ExportBatchSpecifier") parts.push("*");
|
|
50853
50944
|
else if (decl.specifiers.length === 0) parts.push("{}");
|
|
50854
50945
|
else if (decl.specifiers[0].type === "ExportDefaultSpecifier") {
|
|
50855
50946
|
var unbracedSpecifiers_2 = [];
|
|
50856
50947
|
var bracedSpecifiers_2 = [];
|
|
50857
|
-
path.each(function(specifierPath) {
|
|
50948
|
+
path$1.each(function(specifierPath) {
|
|
50858
50949
|
if (specifierPath.getValue().type === "ExportDefaultSpecifier") unbracedSpecifiers_2.push(print$4(specifierPath));
|
|
50859
50950
|
else bracedSpecifiers_2.push(print$4(specifierPath));
|
|
50860
50951
|
}, "specifiers");
|
|
@@ -50870,21 +50961,21 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50870
50961
|
else if (options.objectCurlySpacing) parts.push("{ ", lines_2, " }");
|
|
50871
50962
|
else parts.push("{", lines_2, "}");
|
|
50872
50963
|
}
|
|
50873
|
-
} else parts.push(shouldPrintSpaces ? "{ " : "{", lines_1.fromString(", ").join(path.map(print$4, "specifiers")), shouldPrintSpaces ? " }" : "}");
|
|
50874
|
-
if (decl.source) parts.push(" from ", path.call(print$4, "source"), maybePrintImportAssertions(path, options, print$4));
|
|
50964
|
+
} else parts.push(shouldPrintSpaces ? "{ " : "{", lines_1.fromString(", ").join(path$1.map(print$4, "specifiers")), shouldPrintSpaces ? " }" : "}");
|
|
50965
|
+
if (decl.source) parts.push(" from ", path$1.call(print$4, "source"), maybePrintImportAssertions(path$1, options, print$4));
|
|
50875
50966
|
}
|
|
50876
50967
|
var lines = lines_1.concat(parts);
|
|
50877
50968
|
if (lastNonSpaceCharacter(lines) !== ";" && !(decl.declaration && (decl.declaration.type === "FunctionDeclaration" || decl.declaration.type === "ClassDeclaration" || decl.declaration.type === "TSModuleDeclaration" || decl.declaration.type === "TSInterfaceDeclaration" || decl.declaration.type === "TSEnumDeclaration"))) lines = lines_1.concat([lines, ";"]);
|
|
50878
50969
|
return lines;
|
|
50879
50970
|
}
|
|
50880
|
-
function printFlowDeclaration(path, parts) {
|
|
50881
|
-
var parentExportDecl = util.getParentExportDeclaration(path);
|
|
50971
|
+
function printFlowDeclaration(path$1, parts) {
|
|
50972
|
+
var parentExportDecl = util.getParentExportDeclaration(path$1);
|
|
50882
50973
|
if (parentExportDecl) assert_1.default.strictEqual(parentExportDecl.type, "DeclareExportDeclaration");
|
|
50883
50974
|
else parts.unshift("declare ");
|
|
50884
50975
|
return lines_1.concat(parts);
|
|
50885
50976
|
}
|
|
50886
|
-
function printVariance(path, print$4) {
|
|
50887
|
-
return path.call(function(variancePath) {
|
|
50977
|
+
function printVariance(path$1, print$4) {
|
|
50978
|
+
return path$1.call(function(variancePath) {
|
|
50888
50979
|
var value = variancePath.getValue();
|
|
50889
50980
|
if (value) {
|
|
50890
50981
|
if (value === "plus") return lines_1.fromString("+");
|
|
@@ -50979,8 +51070,8 @@ var require_main = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50979
51070
|
return runFile(process$1.argv[2], transformer, options);
|
|
50980
51071
|
}
|
|
50981
51072
|
exports.run = run;
|
|
50982
|
-
function runFile(path, transformer, options) {
|
|
50983
|
-
fs_1.default.readFile(path, "utf-8", function(err, code$1) {
|
|
51073
|
+
function runFile(path$1, transformer, options) {
|
|
51074
|
+
fs_1.default.readFile(path$1, "utf-8", function(err, code$1) {
|
|
50984
51075
|
if (err) {
|
|
50985
51076
|
console.error(err);
|
|
50986
51077
|
return;
|
|
@@ -51016,10 +51107,10 @@ const globalIdentifier = import_main$8.builders.identifier(typeof window !== "ob
|
|
|
51016
51107
|
var buildGlobalSwitch = (node, dataNode) => {
|
|
51017
51108
|
return import_main$8.builders.memberExpression(import_main$8.builders.conditionalExpression(import_main$8.builders.binaryExpression("in", import_main$8.builders.literal(node.name), dataNode), dataNode, globalIdentifier), import_main$8.builders.identifier(node.name));
|
|
51018
51109
|
};
|
|
51019
|
-
var isInScope = (path) => {
|
|
51020
|
-
let scope$1 = path.scope;
|
|
51110
|
+
var isInScope = (path$1) => {
|
|
51111
|
+
let scope$1 = path$1.scope;
|
|
51021
51112
|
while (scope$1 !== null) {
|
|
51022
|
-
if (scope$1.declares(path.node.name)) return true;
|
|
51113
|
+
if (scope$1.declares(path$1.node.name)) return true;
|
|
51023
51114
|
scope$1 = scope$1.parent;
|
|
51024
51115
|
}
|
|
51025
51116
|
return false;
|
|
@@ -51029,35 +51120,35 @@ var polyfillExceptions = [
|
|
|
51029
51120
|
"window",
|
|
51030
51121
|
"global"
|
|
51031
51122
|
];
|
|
51032
|
-
var polyfillVar = (path, dataNode, force = false) => {
|
|
51123
|
+
var polyfillVar = (path$1, dataNode, force = false) => {
|
|
51033
51124
|
if (!force) {
|
|
51034
|
-
if (isInScope(path)) return;
|
|
51125
|
+
if (isInScope(path$1)) return;
|
|
51035
51126
|
}
|
|
51036
|
-
if (polyfillExceptions.includes(path.node.name)) return;
|
|
51037
|
-
path.replace(buildGlobalSwitch(path.node, dataNode));
|
|
51127
|
+
if (polyfillExceptions.includes(path$1.node.name)) return;
|
|
51128
|
+
path$1.replace(buildGlobalSwitch(path$1.node, dataNode));
|
|
51038
51129
|
};
|
|
51039
51130
|
var customPatches = {
|
|
51040
|
-
MemberExpression(path, parent, dataNode) {
|
|
51041
|
-
if (parent.object === path.node || parent.computed) polyfillVar(path, dataNode);
|
|
51131
|
+
MemberExpression(path$1, parent, dataNode) {
|
|
51132
|
+
if (parent.object === path$1.node || parent.computed) polyfillVar(path$1, dataNode);
|
|
51042
51133
|
},
|
|
51043
|
-
OptionalMemberExpression(path, parent, dataNode) {
|
|
51044
|
-
if (parent.object === path.node) polyfillVar(path, dataNode);
|
|
51134
|
+
OptionalMemberExpression(path$1, parent, dataNode) {
|
|
51135
|
+
if (parent.object === path$1.node) polyfillVar(path$1, dataNode);
|
|
51045
51136
|
},
|
|
51046
|
-
Property(path, parent, dataNode) {
|
|
51047
|
-
if (path.node !== parent.value) return;
|
|
51048
|
-
const objPattern = path.parent?.parent?.node;
|
|
51137
|
+
Property(path$1, parent, dataNode) {
|
|
51138
|
+
if (path$1.node !== parent.value) return;
|
|
51139
|
+
const objPattern = path$1.parent?.parent?.node;
|
|
51049
51140
|
if (!objPattern) return;
|
|
51050
|
-
const objParent = path.parent.parent.parent?.node;
|
|
51141
|
+
const objParent = path$1.parent.parent.parent?.node;
|
|
51051
51142
|
if (!objParent) return;
|
|
51052
51143
|
if (objParent.type === "VariableDeclarator" && objParent.id === objPattern) return;
|
|
51053
51144
|
parent.shorthand = false;
|
|
51054
|
-
polyfillVar(path, dataNode);
|
|
51145
|
+
polyfillVar(path$1, dataNode);
|
|
51055
51146
|
},
|
|
51056
|
-
AssignmentPattern(path, parent, dataNode) {
|
|
51057
|
-
if (parent.right === path.node) polyfillVar(path, dataNode);
|
|
51147
|
+
AssignmentPattern(path$1, parent, dataNode) {
|
|
51148
|
+
if (parent.right === path$1.node) polyfillVar(path$1, dataNode);
|
|
51058
51149
|
},
|
|
51059
|
-
VariableDeclarator(path, parent, dataNode) {
|
|
51060
|
-
if (parent.init === path.node) polyfillVar(path, dataNode);
|
|
51150
|
+
VariableDeclarator(path$1, parent, dataNode) {
|
|
51151
|
+
if (parent.init === path$1.node) polyfillVar(path$1, dataNode);
|
|
51061
51152
|
}
|
|
51062
51153
|
};
|
|
51063
51154
|
const jsVariablePolyfill = (ast, dataNode) => {
|
|
@@ -51065,10 +51156,10 @@ const jsVariablePolyfill = (ast, dataNode) => {
|
|
|
51065
51156
|
visitImportExpression(_path) {
|
|
51066
51157
|
throw new Error("Imports are not supported");
|
|
51067
51158
|
},
|
|
51068
|
-
visitIdentifier(path) {
|
|
51069
|
-
this.traverse(path);
|
|
51070
|
-
const parent = path.parent.node;
|
|
51071
|
-
if (EXEMPT_IDENTIFIER_LIST.includes(path.node.name)) return;
|
|
51159
|
+
visitIdentifier(path$1) {
|
|
51160
|
+
this.traverse(path$1);
|
|
51161
|
+
const parent = path$1.parent.node;
|
|
51162
|
+
if (EXEMPT_IDENTIFIER_LIST.includes(path$1.node.name)) return;
|
|
51072
51163
|
switch (parent.type) {
|
|
51073
51164
|
case "AssignmentPattern":
|
|
51074
51165
|
case "Property":
|
|
@@ -51076,7 +51167,7 @@ const jsVariablePolyfill = (ast, dataNode) => {
|
|
|
51076
51167
|
case "OptionalMemberExpression":
|
|
51077
51168
|
case "VariableDeclarator":
|
|
51078
51169
|
if (!customPatches[parent.type]) throw new Error(`Couldn\'t find custom patcher for parent type: ${parent.type}`);
|
|
51079
|
-
customPatches[parent.type](path, parent, dataNode);
|
|
51170
|
+
customPatches[parent.type](path$1, parent, dataNode);
|
|
51080
51171
|
break;
|
|
51081
51172
|
case "BinaryExpression":
|
|
51082
51173
|
case "UnaryExpression":
|
|
@@ -51107,7 +51198,7 @@ const jsVariablePolyfill = (ast, dataNode) => {
|
|
|
51107
51198
|
case "ThrowStatement":
|
|
51108
51199
|
case "WithStatement":
|
|
51109
51200
|
case "TupleExpression":
|
|
51110
|
-
polyfillVar(path, dataNode);
|
|
51201
|
+
polyfillVar(path$1, dataNode);
|
|
51111
51202
|
break;
|
|
51112
51203
|
case "Super":
|
|
51113
51204
|
case "Identifier":
|
|
@@ -51214,7 +51305,7 @@ const jsVariablePolyfill = (ast, dataNode) => {
|
|
|
51214
51305
|
case "JSXExpressionContainer": break;
|
|
51215
51306
|
case "ComprehensionExpression":
|
|
51216
51307
|
case "GeneratorExpression":
|
|
51217
|
-
polyfillVar(path, dataNode);
|
|
51308
|
+
polyfillVar(path$1, dataNode);
|
|
51218
51309
|
break;
|
|
51219
51310
|
default:
|
|
51220
51311
|
assertNever(parent);
|
|
@@ -51327,12 +51418,12 @@ var shouldWrapInTry = (node) => {
|
|
|
51327
51418
|
shouldWrap = true;
|
|
51328
51419
|
return false;
|
|
51329
51420
|
},
|
|
51330
|
-
visitIdentifier(path) {
|
|
51331
|
-
if (shouldAlwaysWrapList.includes(path.node.name)) {
|
|
51421
|
+
visitIdentifier(path$1) {
|
|
51422
|
+
if (shouldAlwaysWrapList.includes(path$1.node.name)) {
|
|
51332
51423
|
shouldWrap = true;
|
|
51333
51424
|
return false;
|
|
51334
51425
|
}
|
|
51335
|
-
this.traverse(path);
|
|
51426
|
+
this.traverse(path$1);
|
|
51336
51427
|
}
|
|
51337
51428
|
});
|
|
51338
51429
|
return shouldWrap;
|
|
@@ -51357,12 +51448,12 @@ var hasFunction = (node) => {
|
|
|
51357
51448
|
};
|
|
51358
51449
|
var hasTemplateString = (node) => {
|
|
51359
51450
|
let hasTemp = false;
|
|
51360
|
-
(0, import_main$5.visit)(node, { visitTemplateLiteral(path) {
|
|
51361
|
-
if (path.node.expressions.length) {
|
|
51451
|
+
(0, import_main$5.visit)(node, { visitTemplateLiteral(path$1) {
|
|
51452
|
+
if (path$1.node.expressions.length) {
|
|
51362
51453
|
hasTemp = true;
|
|
51363
51454
|
return false;
|
|
51364
51455
|
}
|
|
51365
|
-
this.traverse(path);
|
|
51456
|
+
this.traverse(path$1);
|
|
51366
51457
|
} });
|
|
51367
51458
|
return hasTemp;
|
|
51368
51459
|
};
|
|
@@ -51380,13 +51471,13 @@ var fixStringNewLines = (node) => {
|
|
|
51380
51471
|
const replace = (str) => {
|
|
51381
51472
|
return str.replace(/\n/g, "\\n");
|
|
51382
51473
|
};
|
|
51383
|
-
(0, import_main$5.visit)(node, { visitTemplateElement(path) {
|
|
51384
|
-
this.traverse(path);
|
|
51474
|
+
(0, import_main$5.visit)(node, { visitTemplateElement(path$1) {
|
|
51475
|
+
this.traverse(path$1);
|
|
51385
51476
|
const el = import_main$6.builders.templateElement({
|
|
51386
|
-
cooked: path.node.value.cooked === null ? null : replace(path.node.value.cooked),
|
|
51387
|
-
raw: replace(path.node.value.raw)
|
|
51388
|
-
}, path.node.tail);
|
|
51389
|
-
path.replace(el);
|
|
51477
|
+
cooked: path$1.node.value.cooked === null ? null : replace(path$1.node.value.cooked),
|
|
51478
|
+
raw: replace(path$1.node.value.raw)
|
|
51479
|
+
}, path$1.node.tail);
|
|
51480
|
+
path$1.replace(el);
|
|
51390
51481
|
} });
|
|
51391
51482
|
return node;
|
|
51392
51483
|
};
|
|
@@ -51861,18 +51952,18 @@ const stripIdentifyingInformation = (expr) => {
|
|
|
51861
51952
|
for (const chunk$1 of chunks) if (chunk$1.type === "text") chunk$1.text = replaceValue(chunk$1.text);
|
|
51862
51953
|
else {
|
|
51863
51954
|
(0, import_main$3.visit)(chunk$1.parsed, {
|
|
51864
|
-
visitLiteral(path) {
|
|
51865
|
-
this.traverse(path);
|
|
51866
|
-
if (typeof path.node.value === "string") path.node.value = replaceValue(path.node.value);
|
|
51955
|
+
visitLiteral(path$1) {
|
|
51956
|
+
this.traverse(path$1);
|
|
51957
|
+
if (typeof path$1.node.value === "string") path$1.node.value = replaceValue(path$1.node.value);
|
|
51867
51958
|
},
|
|
51868
|
-
visitStringLiteral(path) {
|
|
51869
|
-
this.traverse(path);
|
|
51870
|
-
path.node.value = replaceValue(path.node.value);
|
|
51959
|
+
visitStringLiteral(path$1) {
|
|
51960
|
+
this.traverse(path$1);
|
|
51961
|
+
path$1.node.value = replaceValue(path$1.node.value);
|
|
51871
51962
|
},
|
|
51872
|
-
visitTemplateElement(path) {
|
|
51873
|
-
this.traverse(path);
|
|
51874
|
-
if (path.node.value.cooked !== null) path.node.value.cooked = replaceValue(path.node.value.cooked);
|
|
51875
|
-
path.node.value.raw = replaceValue(path.node.value.raw);
|
|
51963
|
+
visitTemplateElement(path$1) {
|
|
51964
|
+
this.traverse(path$1);
|
|
51965
|
+
if (path$1.node.value.cooked !== null) path$1.node.value.cooked = replaceValue(path$1.node.value.cooked);
|
|
51966
|
+
path$1.node.value.raw = replaceValue(path$1.node.value.raw);
|
|
51876
51967
|
}
|
|
51877
51968
|
});
|
|
51878
51969
|
chunk$1.text = (0, import_main$3.print)(chunk$1.parsed).code;
|
|
@@ -51941,32 +52032,32 @@ var isValidDollarPropertyAccess = (expr) => {
|
|
|
51941
52032
|
};
|
|
51942
52033
|
const FunctionThisSanitizer = (ast, dataNode) => {
|
|
51943
52034
|
(0, import_main$1.visit)(ast, {
|
|
51944
|
-
visitCallExpression(path) {
|
|
51945
|
-
const { node } = path;
|
|
52035
|
+
visitCallExpression(path$1) {
|
|
52036
|
+
const { node } = path$1;
|
|
51946
52037
|
if (node.callee.type !== "FunctionExpression") {
|
|
51947
|
-
this.traverse(path);
|
|
52038
|
+
this.traverse(path$1);
|
|
51948
52039
|
return;
|
|
51949
52040
|
}
|
|
51950
52041
|
const fnExpression = node.callee;
|
|
51951
|
-
this.traverse(path);
|
|
52042
|
+
this.traverse(path$1);
|
|
51952
52043
|
const callExpression = import_main$2.builders.callExpression(import_main$2.builders.memberExpression(fnExpression, import_main$2.builders.identifier("call")), [EMPTY_CONTEXT, ...node.arguments]);
|
|
51953
|
-
path.replace(callExpression);
|
|
52044
|
+
path$1.replace(callExpression);
|
|
51954
52045
|
return false;
|
|
51955
52046
|
},
|
|
51956
|
-
visitFunctionExpression(path) {
|
|
51957
|
-
const { node } = path;
|
|
51958
|
-
this.traverse(path);
|
|
52047
|
+
visitFunctionExpression(path$1) {
|
|
52048
|
+
const { node } = path$1;
|
|
52049
|
+
this.traverse(path$1);
|
|
51959
52050
|
const boundFunction = import_main$2.builders.callExpression(import_main$2.builders.memberExpression(node, import_main$2.builders.identifier("bind")), [EMPTY_CONTEXT]);
|
|
51960
|
-
path.replace(boundFunction);
|
|
52051
|
+
path$1.replace(boundFunction);
|
|
51961
52052
|
return false;
|
|
51962
52053
|
}
|
|
51963
52054
|
});
|
|
51964
52055
|
};
|
|
51965
52056
|
const DollarSignValidator = (ast, _dataNode) => {
|
|
51966
|
-
(0, import_main$1.visit)(ast, { visitIdentifier(path) {
|
|
51967
|
-
this.traverse(path);
|
|
51968
|
-
if (path.node.name !== "$") return;
|
|
51969
|
-
const parent = path.parent;
|
|
52057
|
+
(0, import_main$1.visit)(ast, { visitIdentifier(path$1) {
|
|
52058
|
+
this.traverse(path$1);
|
|
52059
|
+
if (path$1.node.name !== "$") return;
|
|
52060
|
+
const parent = path$1.parent;
|
|
51970
52061
|
if (typeof parent !== "object" || parent === null || !("name" in parent)) throw new ExpressionError(DOLLAR_SIGN_ERROR);
|
|
51971
52062
|
if (parent.name === "callee") return;
|
|
51972
52063
|
if (parent.name === "object") throw new ExpressionError(DOLLAR_SIGN_ERROR);
|
|
@@ -51983,19 +52074,32 @@ const DollarSignValidator = (ast, _dataNode) => {
|
|
|
51983
52074
|
} });
|
|
51984
52075
|
};
|
|
51985
52076
|
const PrototypeSanitizer = (ast, dataNode) => {
|
|
51986
|
-
(0, import_main$1.visit)(ast, {
|
|
51987
|
-
|
|
51988
|
-
|
|
51989
|
-
|
|
51990
|
-
if (node.
|
|
51991
|
-
|
|
51992
|
-
|
|
51993
|
-
if (
|
|
51994
|
-
|
|
51995
|
-
|
|
52077
|
+
(0, import_main$1.visit)(ast, {
|
|
52078
|
+
visitMemberExpression(path$1) {
|
|
52079
|
+
this.traverse(path$1);
|
|
52080
|
+
const node = path$1.node;
|
|
52081
|
+
if (!node.computed) {
|
|
52082
|
+
if (node.property.type !== "Identifier") throw new ExpressionError(`Unknown property type ${node.property.type} while sanitising expression`);
|
|
52083
|
+
if (!isSafeObjectProperty(node.property.name)) throw new ExpressionError(`Cannot access "${node.property.name}" due to security concerns`);
|
|
52084
|
+
} else if (node.property.type === "StringLiteral" || node.property.type === "Literal") {
|
|
52085
|
+
if (!isSafeObjectProperty(node.property.value)) throw new ExpressionError(`Cannot access "${node.property.value}" due to security concerns`);
|
|
52086
|
+
} else path$1.replace(import_main$2.builders.memberExpression(node.object, import_main$2.builders.callExpression(import_main$2.builders.memberExpression(dataNode, sanitizerIdentifier), [node.property]), true));
|
|
52087
|
+
},
|
|
52088
|
+
visitObjectPattern(path$1) {
|
|
52089
|
+
this.traverse(path$1);
|
|
52090
|
+
const node = path$1.node;
|
|
52091
|
+
for (const prop of node.properties) if (prop.type === "Property") {
|
|
52092
|
+
let keyName;
|
|
52093
|
+
if (prop.key.type === "Identifier") keyName = prop.key.name;
|
|
52094
|
+
else if (prop.key.type === "StringLiteral" || prop.key.type === "Literal") keyName = String(prop.key.value);
|
|
52095
|
+
if (keyName !== void 0 && !isSafeObjectProperty(keyName)) throw new ExpressionDestructuringError(keyName);
|
|
52096
|
+
}
|
|
52097
|
+
}
|
|
52098
|
+
});
|
|
51996
52099
|
};
|
|
51997
52100
|
const sanitizer = (value) => {
|
|
51998
|
-
|
|
52101
|
+
const propertyKey = String(value);
|
|
52102
|
+
if (!isSafeObjectProperty(propertyKey)) throw new ExpressionError(`Cannot access "${propertyKey}" due to security concerns`);
|
|
51999
52103
|
return value;
|
|
52000
52104
|
};
|
|
52001
52105
|
var errorHandler = () => {};
|
|
@@ -99610,8 +99714,8 @@ const extendTransform = (expression) => {
|
|
|
99610
99714
|
try {
|
|
99611
99715
|
const ast = (0, import_main.parse)(expression, { parser: { parse: parseWithEsprimaNext } });
|
|
99612
99716
|
let currentChain = 1;
|
|
99613
|
-
(0, import_main.visit)(ast, { visitChainExpression(path) {
|
|
99614
|
-
this.traverse(path);
|
|
99717
|
+
(0, import_main.visit)(ast, { visitChainExpression(path$1) {
|
|
99718
|
+
this.traverse(path$1);
|
|
99615
99719
|
const chainNumber = currentChain;
|
|
99616
99720
|
currentChain += 1;
|
|
99617
99721
|
const globalIdentifier$1 = import_main.types.builders.identifier(typeof window !== "object" ? "global" : "window");
|
|
@@ -99633,7 +99737,7 @@ const extendTransform = (expression) => {
|
|
|
99633
99737
|
const buildCancelAssignWrapper = (node) => {
|
|
99634
99738
|
return import_main.types.builders.assignmentExpression("=", cancelMemberExpression, node);
|
|
99635
99739
|
};
|
|
99636
|
-
let currentNode = path.node.expression;
|
|
99740
|
+
let currentNode = path$1.node.expression;
|
|
99637
99741
|
let currentPatch = null;
|
|
99638
99742
|
let patchTop = null;
|
|
99639
99743
|
let wrapNextTopInOptionalExtend = false;
|
|
@@ -99681,21 +99785,21 @@ const extendTransform = (expression) => {
|
|
|
99681
99785
|
patchedStack[i$2] = node;
|
|
99682
99786
|
}
|
|
99683
99787
|
const sequenceNode = import_main.types.builders.sequenceExpression(patchedStack);
|
|
99684
|
-
path.replace(sequenceNode);
|
|
99788
|
+
path$1.replace(sequenceNode);
|
|
99685
99789
|
} });
|
|
99686
|
-
(0, import_main.visit)(ast, { visitCallExpression(path) {
|
|
99687
|
-
this.traverse(path);
|
|
99688
|
-
if (path.node.callee.type === "MemberExpression" && path.node.callee.property.type === "Identifier" && isExpressionExtension(path.node.callee.property.name)) path.replace(import_main.types.builders.callExpression(import_main.types.builders.identifier(EXPRESSION_EXTENDER), [
|
|
99689
|
-
path.node.callee.object,
|
|
99690
|
-
import_main.types.builders.stringLiteral(path.node.callee.property.name),
|
|
99691
|
-
import_main.types.builders.arrayExpression(path.node.arguments)
|
|
99790
|
+
(0, import_main.visit)(ast, { visitCallExpression(path$1) {
|
|
99791
|
+
this.traverse(path$1);
|
|
99792
|
+
if (path$1.node.callee.type === "MemberExpression" && path$1.node.callee.property.type === "Identifier" && isExpressionExtension(path$1.node.callee.property.name)) path$1.replace(import_main.types.builders.callExpression(import_main.types.builders.identifier(EXPRESSION_EXTENDER), [
|
|
99793
|
+
path$1.node.callee.object,
|
|
99794
|
+
import_main.types.builders.stringLiteral(path$1.node.callee.property.name),
|
|
99795
|
+
import_main.types.builders.arrayExpression(path$1.node.arguments)
|
|
99692
99796
|
]));
|
|
99693
|
-
else if (path.node.callee.type === "Identifier" && path.node.callee.name === "$if" && path.node.arguments.every((v$3) => v$3.type !== "SpreadElement")) {
|
|
99694
|
-
if (path.node.arguments.length < 2) throw new ExpressionExtensionError("$if requires at least 2 parameters: test, value_if_true[, and value_if_false]");
|
|
99695
|
-
const test = path.node.arguments[0];
|
|
99696
|
-
const consequent = path.node.arguments[1];
|
|
99697
|
-
const alternative = path.node.arguments[2] === void 0 ? import_main.types.builders.booleanLiteral(false) : path.node.arguments[2];
|
|
99698
|
-
path.replace(import_main.types.builders.conditionalExpression(test, consequent, alternative));
|
|
99797
|
+
else if (path$1.node.callee.type === "Identifier" && path$1.node.callee.name === "$if" && path$1.node.arguments.every((v$3) => v$3.type !== "SpreadElement")) {
|
|
99798
|
+
if (path$1.node.arguments.length < 2) throw new ExpressionExtensionError("$if requires at least 2 parameters: test, value_if_true[, and value_if_false]");
|
|
99799
|
+
const test = path$1.node.arguments[0];
|
|
99800
|
+
const consequent = path$1.node.arguments[1];
|
|
99801
|
+
const alternative = path$1.node.arguments[2] === void 0 ? import_main.types.builders.booleanLiteral(false) : path$1.node.arguments[2];
|
|
99802
|
+
path$1.replace(import_main.types.builders.conditionalExpression(test, consequent, alternative));
|
|
99699
99803
|
}
|
|
99700
99804
|
} });
|
|
99701
99805
|
return (0, import_main.print)(ast);
|
|
@@ -102190,6 +102294,70 @@ var isTypeError = (error$39) => error$39 instanceof TypeError || error$39 instan
|
|
|
102190
102294
|
setErrorHandler((error$39) => {
|
|
102191
102295
|
if (isExpressionError(error$39)) throw error$39;
|
|
102192
102296
|
});
|
|
102297
|
+
var createSafeObject = () => {
|
|
102298
|
+
const safeCreate = (proto) => {
|
|
102299
|
+
return Object.create(proto);
|
|
102300
|
+
};
|
|
102301
|
+
const blockedMethods = new Set([
|
|
102302
|
+
"defineProperty",
|
|
102303
|
+
"defineProperties",
|
|
102304
|
+
"setPrototypeOf",
|
|
102305
|
+
"getPrototypeOf",
|
|
102306
|
+
"getOwnPropertyDescriptor",
|
|
102307
|
+
"getOwnPropertyDescriptors",
|
|
102308
|
+
"__defineGetter__",
|
|
102309
|
+
"__defineSetter__",
|
|
102310
|
+
"__lookupGetter__",
|
|
102311
|
+
"__lookupSetter__"
|
|
102312
|
+
]);
|
|
102313
|
+
return new Proxy(Object, {
|
|
102314
|
+
get(target, prop, receiver) {
|
|
102315
|
+
if (blockedMethods.has(prop)) return;
|
|
102316
|
+
if (prop === "create") return safeCreate;
|
|
102317
|
+
return Reflect.get(target, prop, receiver);
|
|
102318
|
+
},
|
|
102319
|
+
defineProperty() {
|
|
102320
|
+
return false;
|
|
102321
|
+
}
|
|
102322
|
+
});
|
|
102323
|
+
};
|
|
102324
|
+
var blockedErrorProperties = new Set([
|
|
102325
|
+
"captureStackTrace",
|
|
102326
|
+
"prepareStackTrace",
|
|
102327
|
+
"stackTraceLimit",
|
|
102328
|
+
"__defineGetter__",
|
|
102329
|
+
"__defineSetter__",
|
|
102330
|
+
"__lookupGetter__",
|
|
102331
|
+
"__lookupSetter__"
|
|
102332
|
+
]);
|
|
102333
|
+
var createSafeError = () => {
|
|
102334
|
+
return new Proxy(Error, {
|
|
102335
|
+
get(target, prop, receiver) {
|
|
102336
|
+
if (blockedErrorProperties.has(prop)) return;
|
|
102337
|
+
return Reflect.get(target, prop, receiver);
|
|
102338
|
+
},
|
|
102339
|
+
set() {
|
|
102340
|
+
return false;
|
|
102341
|
+
},
|
|
102342
|
+
defineProperty() {
|
|
102343
|
+
return false;
|
|
102344
|
+
}
|
|
102345
|
+
});
|
|
102346
|
+
};
|
|
102347
|
+
var createSafeErrorSubclass = (ErrorClass) => {
|
|
102348
|
+
return new Proxy(ErrorClass, {
|
|
102349
|
+
get(target, prop, receiver) {
|
|
102350
|
+
if (blockedErrorProperties.has(prop)) return;
|
|
102351
|
+
return Reflect.get(target, prop, receiver);
|
|
102352
|
+
},
|
|
102353
|
+
set() {
|
|
102354
|
+
return false;
|
|
102355
|
+
},
|
|
102356
|
+
defineProperty() {
|
|
102357
|
+
return false;
|
|
102358
|
+
}
|
|
102359
|
+
});
|
|
102360
|
+
};
|
|
102193
102361
|
var Expression = class Expression {
|
|
102194
102362
|
workflow;
|
|
102195
102363
|
constructor(workflow) {
|
|
@@ -102228,7 +102396,7 @@ var Expression = class Expression {
|
|
|
102228
102396
|
data.DateTime = DateTime;
|
|
102229
102397
|
data.Interval = Interval;
|
|
102230
102398
|
data.Duration = Duration;
|
|
102231
|
-
data.Object =
|
|
102399
|
+
data.Object = createSafeObject();
|
|
102232
102400
|
data.Array = Array;
|
|
102233
102401
|
data.Int8Array = Int8Array;
|
|
102234
102402
|
data.Uint8Array = Uint8Array;
|
|
@@ -102245,13 +102413,13 @@ var Expression = class Expression {
|
|
|
102245
102413
|
data.WeakMap = typeof WeakMap !== "undefined" ? WeakMap : {};
|
|
102246
102414
|
data.Set = typeof Set !== "undefined" ? Set : {};
|
|
102247
102415
|
data.WeakSet = typeof WeakSet !== "undefined" ? WeakSet : {};
|
|
102248
|
-
data.Error =
|
|
102249
|
-
data.TypeError = TypeError;
|
|
102250
|
-
data.SyntaxError = SyntaxError;
|
|
102251
|
-
data.EvalError = EvalError;
|
|
102252
|
-
data.RangeError = RangeError;
|
|
102253
|
-
data.ReferenceError = ReferenceError;
|
|
102254
|
-
data.URIError = URIError;
|
|
102416
|
+
data.Error = createSafeError();
|
|
102417
|
+
data.TypeError = createSafeErrorSubclass(TypeError);
|
|
102418
|
+
data.SyntaxError = createSafeErrorSubclass(SyntaxError);
|
|
102419
|
+
data.EvalError = createSafeErrorSubclass(EvalError);
|
|
102420
|
+
data.RangeError = createSafeErrorSubclass(RangeError);
|
|
102421
|
+
data.ReferenceError = createSafeErrorSubclass(ReferenceError);
|
|
102422
|
+
data.URIError = createSafeErrorSubclass(URIError);
|
|
102255
102423
|
data.Intl = typeof Intl !== "undefined" ? Intl : {};
|
|
102256
102424
|
data.String = String;
|
|
102257
102425
|
data.RegExp = RegExp;
|
|
@@ -102803,11 +102971,11 @@ var require__baseHasIn = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
102803
102971
|
}));
|
|
102804
102972
|
var require__hasPath = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
102805
102973
|
var castPath$2 = require__castPath(), isArguments$1 = require_isArguments$1(), isArray$2 = require_isArray(), isIndex$1 = require__isIndex(), isLength = require_isLength(), toKey$3 = require__toKey();
|
|
102806
|
-
function hasPath$2(object$1, path, hasFunc) {
|
|
102807
|
-
path = castPath$2(path, object$1);
|
|
102808
|
-
var index = -1, length$1 = path.length, result = false;
|
|
102974
|
+
function hasPath$2(object$1, path$1, hasFunc) {
|
|
102975
|
+
path$1 = castPath$2(path$1, object$1);
|
|
102976
|
+
var index = -1, length$1 = path$1.length, result = false;
|
|
102809
102977
|
while (++index < length$1) {
|
|
102810
|
-
var key = toKey$3(path[index]);
|
|
102978
|
+
var key = toKey$3(path$1[index]);
|
|
102811
102979
|
if (!(result = object$1 != null && hasFunc(object$1, key))) break;
|
|
102812
102980
|
object$1 = object$1[key];
|
|
102813
102981
|
}
|
|
@@ -102819,19 +102987,19 @@ var require__hasPath = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
102819
102987
|
}));
|
|
102820
102988
|
var require_hasIn = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
102821
102989
|
var baseHasIn = require__baseHasIn(), hasPath$1 = require__hasPath();
|
|
102822
|
-
function hasIn$2(object$1, path) {
|
|
102823
|
-
return object$1 != null && hasPath$1(object$1, path, baseHasIn);
|
|
102990
|
+
function hasIn$2(object$1, path$1) {
|
|
102991
|
+
return object$1 != null && hasPath$1(object$1, path$1, baseHasIn);
|
|
102824
102992
|
}
|
|
102825
102993
|
module.exports = hasIn$2;
|
|
102826
102994
|
}));
|
|
102827
102995
|
var require__baseMatchesProperty = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
102828
102996
|
var baseIsEqual = require__baseIsEqual(), get = require_get(), hasIn$1 = require_hasIn(), isKey$1 = require__isKey(), isStrictComparable = require__isStrictComparable(), matchesStrictComparable = require__matchesStrictComparable(), toKey$2 = require__toKey();
|
|
102829
102997
|
var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;
|
|
102830
|
-
function baseMatchesProperty$1(path, srcValue) {
|
|
102831
|
-
if (isKey$1(path) && isStrictComparable(srcValue)) return matchesStrictComparable(toKey$2(path), srcValue);
|
|
102998
|
+
function baseMatchesProperty$1(path$1, srcValue) {
|
|
102999
|
+
if (isKey$1(path$1) && isStrictComparable(srcValue)) return matchesStrictComparable(toKey$2(path$1), srcValue);
|
|
102832
103000
|
return function(object$1) {
|
|
102833
|
-
var objValue = get(object$1, path);
|
|
102834
|
-
return objValue === void 0 && objValue === srcValue ? hasIn$1(object$1, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
|
103001
|
+
var objValue = get(object$1, path$1);
|
|
103002
|
+
return objValue === void 0 && objValue === srcValue ? hasIn$1(object$1, path$1) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
|
102835
103003
|
};
|
|
102836
103004
|
}
|
|
102837
103005
|
module.exports = baseMatchesProperty$1;
|
|
@@ -102846,17 +103014,17 @@ var require__baseProperty = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
102846
103014
|
}));
|
|
102847
103015
|
var require__basePropertyDeep = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
102848
103016
|
var baseGet$1 = require__baseGet();
|
|
102849
|
-
function basePropertyDeep$1(path) {
|
|
103017
|
+
function basePropertyDeep$1(path$1) {
|
|
102850
103018
|
return function(object$1) {
|
|
102851
|
-
return baseGet$1(object$1, path);
|
|
103019
|
+
return baseGet$1(object$1, path$1);
|
|
102852
103020
|
};
|
|
102853
103021
|
}
|
|
102854
103022
|
module.exports = basePropertyDeep$1;
|
|
102855
103023
|
}));
|
|
102856
103024
|
var require_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
102857
103025
|
var baseProperty = require__baseProperty(), basePropertyDeep = require__basePropertyDeep(), isKey = require__isKey(), toKey$1 = require__toKey();
|
|
102858
|
-
function property$1(path) {
|
|
102859
|
-
return isKey(path) ? baseProperty(toKey$1(path)) : basePropertyDeep(path);
|
|
103026
|
+
function property$1(path$1) {
|
|
103027
|
+
return isKey(path$1) ? baseProperty(toKey$1(path$1)) : basePropertyDeep(path$1);
|
|
102860
103028
|
}
|
|
102861
103029
|
module.exports = property$1;
|
|
102862
103030
|
}));
|
|
@@ -105161,17 +105329,17 @@ function resolveRelativePath(fullPathWithParameters, candidateRelativePath) {
|
|
|
105161
105329
|
}
|
|
105162
105330
|
var require__baseSet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
105163
105331
|
var assignValue = require__assignValue(), castPath$1 = require__castPath(), isIndex = require__isIndex(), isObject = require_isObject(), toKey = require__toKey();
|
|
105164
|
-
function baseSet$1(object$1, path, value, customizer) {
|
|
105332
|
+
function baseSet$1(object$1, path$1, value, customizer) {
|
|
105165
105333
|
if (!isObject(object$1)) return object$1;
|
|
105166
|
-
path = castPath$1(path, object$1);
|
|
105167
|
-
var index = -1, length$1 = path.length, lastIndex = length$1 - 1, nested = object$1;
|
|
105334
|
+
path$1 = castPath$1(path$1, object$1);
|
|
105335
|
+
var index = -1, length$1 = path$1.length, lastIndex = length$1 - 1, nested = object$1;
|
|
105168
105336
|
while (nested != null && ++index < length$1) {
|
|
105169
|
-
var key = toKey(path[index]), newValue = value;
|
|
105337
|
+
var key = toKey(path$1[index]), newValue = value;
|
|
105170
105338
|
if (key === "__proto__" || key === "constructor" || key === "prototype") return object$1;
|
|
105171
105339
|
if (index != lastIndex) {
|
|
105172
105340
|
var objValue = nested[key];
|
|
105173
105341
|
newValue = customizer ? customizer(objValue, key, nested) : void 0;
|
|
105174
|
-
if (newValue === void 0) newValue = isObject(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};
|
|
105342
|
+
if (newValue === void 0) newValue = isObject(objValue) ? objValue : isIndex(path$1[index + 1]) ? [] : {};
|
|
105175
105343
|
}
|
|
105176
105344
|
assignValue(nested, key, newValue);
|
|
105177
105345
|
nested = nested[key];
|
|
@@ -105185,8 +105353,8 @@ var require__basePickBy = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
105185
105353
|
function basePickBy$1(object$1, paths, predicate) {
|
|
105186
105354
|
var index = -1, length$1 = paths.length, result = {};
|
|
105187
105355
|
while (++index < length$1) {
|
|
105188
|
-
var path = paths[index], value = baseGet(object$1, path);
|
|
105189
|
-
if (predicate(value, path)) baseSet(result, castPath(path, object$1), value);
|
|
105356
|
+
var path$1 = paths[index], value = baseGet(object$1, path$1);
|
|
105357
|
+
if (predicate(value, path$1)) baseSet(result, castPath(path$1, object$1), value);
|
|
105190
105358
|
}
|
|
105191
105359
|
return result;
|
|
105192
105360
|
}
|
|
@@ -105195,8 +105363,8 @@ var require__basePickBy = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
105195
105363
|
var require__basePick = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
105196
105364
|
var basePickBy = require__basePickBy(), hasIn = require_hasIn();
|
|
105197
105365
|
function basePick$1(object$1, paths) {
|
|
105198
|
-
return basePickBy(object$1, paths, function(value, path) {
|
|
105199
|
-
return hasIn(object$1, path);
|
|
105366
|
+
return basePickBy(object$1, paths, function(value, path$1) {
|
|
105367
|
+
return hasIn(object$1, path$1);
|
|
105200
105368
|
});
|
|
105201
105369
|
}
|
|
105202
105370
|
module.exports = basePick$1;
|
|
@@ -106259,4 +106427,4 @@ const MAX_WORKFLOW_NAME_LENGTH = 128;
|
|
|
106259
106427
|
const DUPLICATE_POSTFFIX = " copy";
|
|
106260
106428
|
const DEFAULT_WORKFLOW_PAGE_SIZE = 50;
|
|
106261
106429
|
const IS_DRAFT_PUBLISH_ENABLED = true;
|
|
106262
|
-
export { AI_CATEGORY_MCP_NODES as $, EVALUATION_NODE_TYPE as $a, getNodeParameters as $i, SERVICENOW_NODE_TYPE as $n, LOG_STREAM_MODAL_KEY as $o, chatHubProviderSchema as $r, CanvasNodeKey as $s, ELASTIC_SECURITY_NODE_TYPE as $t, VALID_EMAIL_REGEX as A, randomString as Aa, CURL_IMPORT_NOT_SUPPORTED_PROTOCOLS as Ac, require__arrayIncludes as Ai, MICROSOFT_TEAMS_NODE_TYPE as An, PROJECT_CHAT_USER_ROLE_SLUG as Ao, DATA_TABLE_ID_COLUMN_WIDTH as Ar, LOCAL_STORAGE_EXPERIMENT_OVERRIDES as As, TRIGGER_NODE_CREATOR_VIEW as At, BINARY_DATA_ACCESS_TOOLTIP as B, require_shams as Ba, ASK_AI_MAX_PROMPT_LENGTH as Bc, createEmptyRunExecutionData as Bi, OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE as Bn, CHANGE_PASSWORD_MODAL_KEY as Bo, MIN_LOADING_TIME as Br, LOCAL_STORAGE_READ_WHATS_NEW_ARTICLES as Bs, CLEARBIT_NODE_TYPE as Bt, TEMPLATES_URLS as C, dedupe as Ca, EXPRESSION_EDITOR_PARSER_TIMEOUT as Cc, Expression as Ci, LIST_LIKE_NODE_OPERATIONS as Cn, WORKFLOW_VERSION_NAME_MAX_LENGTH as Co, ZENDESK_TRIGGER_NODE_TYPE as Cr, WORKFLOW_SHARE_MODAL_KEY as Cs, OTHER_TRIGGER_NODES_SUBCATEGORY as Ct, CODEMIRROR_TOOLTIP_CONTAINER_ELEMENT_ID as D, jsonParse as Da, THREE_DAYS_IN_MILLIS as Dc, splitExpression as Di, MCP_TRIGGER_NODE_TYPE as Dn, isSourceControlledFileStatus as Do, DATA_TABLE_CARD_ACTIONS as Dr, LOCAL_STORAGE_CHAT_HUB_SELECTED_TOOLS as Ds, REQUEST_NODE_FORM_URL as Dt, APP_MODALS_ELEMENT_ID as E, isObjectEmpty as Ea, SIX_MONTHS_IN_MILLIS as Ec, EXTENSION_OBJECTS as Ei, MARKDOWN_NODE_TYPE as En, SOURCE_CONTROL_FILE_TYPE as Eo, COLUMN_NAME_REGEX as Er, LOCAL_STORAGE_CHAT_HUB_SELECTED_MODEL as Es, REGULAR_NODE_CREATOR_VIEW as Et, CUSTOM_API_CALL_KEY as F, require_safe_regex_test as Fa, MFA_AUTHENTICATION_REQUIRED_ERROR_CODE as Fc, defaultMessageEventBusDestinationOptions as Fi, NON_ACTIVATABLE_TRIGGER_NODE_TYPES as Fn, stringType as Fo, DEFAULT_DATA_TABLE_PAGE_SIZE as Fr, LOCAL_STORAGE_LOGS_PANEL_OPEN as Fs, AI_TRANSFORM_NODE_TYPE as Ft, MAIN_NODE_PANEL_WIDTH as G, ADD_FORM_NOTICE as Ga, getNodeByName as Gi, PRODUCTION_ONLY_TRIGGER_NODE_TYPES as Gn, DUPLICATE_MODAL_KEY as Go, PROJECT_DATA_TABLES as Gr, MAX_DISPLAY_DATA_SIZE as Gs, CREDENTIAL_ONLY_NODE_PREFIX as Gt, INSECURE_CONNECTION_WARNING as H, DateTime as Ha, ASK_AI_SLIDE_OUT_DURATION_MS as Hc, setGlobalState as Hi, OPEN_URL_PANEL_TRIGGER_NODE_TYPES as Hn, CONFIRM_PASSWORD_MODAL_KEY as Ho, NUMBER_DECIMAL_SEPARATOR as Hr, LOCAL_STORAGE_SIDEBAR_WIDTH as Hs, COMPRESSION_NODE_TYPE as Ht, DATA_TYPE_ICON_MAP as I, require_is_regex as Ia, MFA_FORM as Ic, defaultMessageEventBusDestinationSentryOptions as Ii, NOTION_TRIGGER_NODE_TYPE as In, EDITABLE_CANVAS_VIEWS as Io, DEFAULT_ID_COLUMN_NAME as Ir, LOCAL_STORAGE_LOGS_SYNC_SELECTION as Is, BAMBOO_HR_NODE_TYPE as It, AI_CATEGORY_AGENTS as J, AI_TRANSFORM_JS_CODE as Ja, displayParameter as Ji, REMOVE_DUPLICATES_NODE_TYPE as Jn, EXPERIMENT_TEMPLATE_RECO_V3_KEY as Jo, createHeartbeatMessage as Jr, MAX_EXPECTED_REQUEST_SIZE as Js, DATA_TABLE_NODES as Jt, NODE_MIN_INPUT_ITEMS_COUNT as K, AGENT_LANGCHAIN_NODE_TYPE as Ka, getChildNodes as Ki, QA_CHAIN_NODE_TYPE as Kn, EXPERIMENT_TEMPLATES_DATA_QUALITY_KEY as Ko, ROLE as Kr, MAX_DISPLAY_DATA_SIZE_LOGS_VIEW as Ks, CRON_NODE_TYPE as Kt, DRAG_EVENT_DATA_KEY as L, require_call_bound as La, AI_ASSISTANT_MAX_CONTENT_LENGTH as Lc, defaultMessageEventBusDestinationSyslogOptions as Li, NOT_DUPLICATABLE_NODE_TYPES as Ln, MAIN_HEADER_TABS as Lo, EMPTY_VALUE as Lr, LOCAL_STORAGE_MAIN_PANEL_RELATIVE_WIDTH as Ls, BASIC_CHAIN_NODE_TYPE as Lt, IN_PROGRESS_EXECUTION_ID as M, Syntax as Ma, MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH as Mc, isExpression as Mi, NODES_USING_CODE_NODE_EDITOR as Mn, nullType as Mo, DATA_TABLE_STORE as Mr, LOCAL_STORAGE_HIDE_GITHUB_STAR_BUTTON as Ms, AGGREGATE_NODE_TYPE as Mt, PLACEHOLDER_FILLED_AT_EXECUTION_TIME as N, parseScript as Na, MFA_AUTHENTICATION_CODE_WINDOW_EXPIRED as Nc, require_define_properties as Ni, NODE_POSITION_CONFLICT_ALLOWLIST as Nn, objectType as No, DATA_TABLE_VIEW as Nr, LOCAL_STORAGE_LOGS_PANEL_DETAILS_PANEL as Ns, AI_CODE_NODE_TYPE as Nt, ALLOWED_HTML_ATTRIBUTES as O, jsonStringify as Oa, TIME as Oc, require__baseUniq as Oi, MERGE_NODE_TYPE as On, getResourcePermissions as Oo, DATA_TABLE_DETAILS as Or, LOCAL_STORAGE_DISMISSED_WHATS_NEW_CALLOUT as Os, TEMPLATE_CATEGORY_AI as Ot, APPEND_ATTRIBUTION_DEFAULT_PATH as P, require_is_callable as Pa, MFA_AUTHENTICATION_RECOVERY_CODE_INPUT_MAX_LENGTH as Pc, MessageEventBusDestinationTypeNames as Pi, NODE_TYPES_EXCLUDED_FROM_OUTPUT_NAME_APPEND as Pn, recordType as Po, DEFAULT_COLUMN_WIDTH as Pr, LOCAL_STORAGE_LOGS_PANEL_DETAILS_PANEL_SUB_NODE as Ps, AI_MCP_TOOL_NODE_TYPE as Pt, AI_CATEGORY_LANGUAGE_MODELS as Q, CREDENTIAL_EMPTY_VALUE as Qa, getNodeOutputs as Qi, SEGMENT_NODE_TYPE as Qn, IMPORT_WORKFLOW_URL_MODAL_KEY as Qo, chatHubLLMProviderSchema as Qr, CanvasNodeHandleKey as Qs, EDIT_IMAGE_NODE_TYPE as Qt, MAPPING_PARAMS as R, require_callBound as Ra, AI_NODES_PACKAGE_NAME as Rc, defaultMessageEventBusDestinationWebhookOptions as Ri, NO_OP_NODE_TYPE as Rn, VIEWS as Ro, LOOSE_DATE_REGEX as Rr, LOCAL_STORAGE_PIN_DATA_DISCOVERY_CANVAS_FLAG as Rs, CALENDLY_TRIGGER_NODE_TYPE as Rt, SCHEMA_PREVIEW_DOCS_URL as S, base64DecodeUTF8 as Sa, CLOUD_TRIAL_CHECK_INTERVAL as Sc, traverseNodeParameters as Si, LIMIT_NODE_TYPE as Sn, WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH as So, ZENDESK_NODE_TYPE as Sr, WORKFLOW_SETTINGS_MODAL_KEY as Ss, NODE_CREATOR_OPEN_SOURCES as St, TEMPLATES_NODES_FILTER as T, isCommunityPackageName as Ta, SEVEN_DAYS_IN_MILLIS as Tc, createResultOk as Ti, MANUAL_TRIGGER_NODE_TYPE as Tn, SOURCE_CONTROL_FILE_STATUS as To, ADD_ROW_ROW_ID as Tr, LOCAL_STORAGE_CHAT_HUB_CREDENTIALS as Ts, RECOMMENDED_NODES as Tt, DEFAULT_STICKY_HEIGHT as U, NodeConnectionTypes as Ua, WORKFLOW_MENU_ACTIONS as Uc, DATA_TABLE_SYSTEM_COLUMNS as Ui, PAGERDUTY_NODE_TYPE as Un, CONTACT_PROMPT_MODAL_KEY as Uo, NUMBER_THOUSAND_SEPARATOR as Ur, LOCAL_STORAGE_THEME as Us, CONVERT_TO_FILE_NODE_TYPE as Ut, HIRING_BANNER as V, ExpressionError as Va, ASK_AI_MIN_PROMPT_LENGTH as Vc, createRunExecutionData as Vi, OPEN_AI_NODE_TYPE as Vn, CHAT_EMBED_MODAL_KEY as Vo, NULL_VALUE as Vr, LOCAL_STORAGE_RUN_DATA_WORKER as Vs, CODE_NODE_TYPE as Vt, DEFAULT_STICKY_WIDTH as W, nodeConnectionTypes as Wa, mapConnectionsByDestination as Wi, PIN_DATA_NODE_TYPES_DENYLIST as Wn, CREDENTIAL_RESOLVER_EDIT_MODAL_KEY as Wo, NUMBER_WITH_SPACES_REGEX as Wr, LOCAL_STORAGE_WORKFLOW_LIST_PREFERENCES_KEY as Ws, CREDENTIAL_ONLY_HTTP_NODE_VERSION as Wt, AI_CATEGORY_DOCUMENT_LOADERS as X, CHAIN_LLM_LANGCHAIN_NODE_TYPE as Xa, getConnectionTypes as Xi, SALESFORCE_NODE_TYPE as Xn, FROM_AI_PARAMETERS_MODAL_KEY as Xo, agentIconOrEmojiSchema as Xr, MAX_WORKFLOW_SIZE as Xs, DATETIME_NODE_TYPE as Xt, AI_CATEGORY_CHAINS as Y, AI_TRANSFORM_NODE_TYPE$1 as Ya, displayParameterPath as Yi, RSS_READ_NODE_TYPE as Yn, EXTERNAL_SECRETS_PROVIDER_MODAL_KEY as Yo, PROVIDER_CREDENTIAL_TYPE_MAP as Yr, MAX_PINNED_DATA_SIZE as Ys, DATA_TABLE_NODE_TYPE as Yt, AI_CATEGORY_EMBEDDING as Z, CHAT_TRIGGER_NODE_TYPE$1 as Za, getNodeInputs as Zi, SCHEDULE_TRIGGER_NODE_TYPE as Zn, IMPORT_CURL_MODAL_KEY as Zo, chatHubConversationModelSchema as Zr, CanvasKey as Zs, DISCORD_NODE_TYPE as Zt, MFA_DOCS_URL as _, isINodePropertyOptionsList as _a, TEMPLATE_RECO_V2 as _c, require__baseIteratee as _i, INTERVAL_NODE_TYPE as _n, require_keys as _o, WOOCOMMERCE_TRIGGER_NODE_TYPE as _r, WORKFLOW_EXTRACTION_NAME_MODAL_KEY as _s, DEFAULT_SUBCATEGORY as _t, IS_DRAFT_PUBLISH_ENABLED as a, getUpdatedToolDescription as aa, AI_BUILDER_TEMPLATE_EXAMPLES_EXPERIMENT as ac, require_pick as ai, EXECUTE_WORKFLOW_NODE_TYPE as an, HTTP_REQUEST_NODE_TYPE$1 as ao, SPLIT_OUT_NODE_TYPE as ar, NODE_PINNING_MODAL_KEY as as, AI_CATEGORY_TEXT_SPLITTERS as at, NPM_PACKAGE_DOCS_BASE_URL as b, executeFilterCondition as ba, EnterpriseEditionFeature as bc, require__getAllKeysIn as bi, JIRA_TRIGGER_NODE_TYPE as bn, require__SetCache as bo, XERO_NODE_TYPE as br, WORKFLOW_HISTORY_VERSION_UNPUBLISH as bs, HITL_SUBCATEGORY as bt, BUILTIN_CREDENTIALS_DOCS_URL as c, isNodeWithWorkflowSelector as ca, COMMAND_BAR_EXPERIMENT as cc, require__baseSet as ci, FILTER_NODE_TYPE as cn, OPEN_AI_API_CREDENTIAL_TYPE as co, SUMMARIZE_NODE_TYPE as cr, PROMPT_MFA_CODE_MODAL_KEY as cs, AI_CODE_TOOL_LANGCHAIN_NODE_TYPE as ct, CUSTOM_NODES_DOCS_URL as d, makeNodeName as da, NDV_IN_FOCUS_PANEL_EXPERIMENT as dc, buildAdjacencyList as di, GITHUB_TRIGGER_NODE_TYPE as dn, SERP_API_TOOL_NODE_TYPE as do, THE_HIVE_TRIGGER_NODE_TYPE as dr, VERSIONS_MODAL_KEY as ds, AI_OTHERS_NODE_CREATOR_VIEW as dt, getNodeParametersIssues as ea, ExpressionLocalResolveContextSymbol as ec, emptyChatModelsResponse as ei, EMAIL_IMAP_NODE_TYPE as en, EVALUATION_TRIGGER_NODE_TYPE as eo, SET_NODE_TYPE as er, MFA_SETUP_MODAL_KEY as es, AI_CATEGORY_MEMORY as et, DATA_EDITING_DOCS_URL as f, mergeIssues as fa, PERSONALIZED_TEMPLATES_V3 as fc, parseExtractableSubgraphSelection as fi, GOOGLE_SHEETS_NODE_TYPE as fn, TRIMMED_TASK_DATA_CONNECTIONS_KEY as fo, TIME_SAVED_NODE_TYPE as fr, WHATS_NEW_MODAL_KEY as fs, AI_SUBCATEGORY as ft, EVALUATIONS_DOCS_URL as g, isINodePropertyCollectionList as ga, TEMPLATE_ONBOARDING_EXPERIMENT as gc, extractReferencesInNodeExpressions as gi, IF_NODE_TYPE as gn, require__getTag as go, WIKIPEDIA_TOOL_NODE_TYPE as gr, WORKFLOW_DIFF_MODAL_KEY as gs, CORE_NODES_CATEGORY as gt, ERROR_WORKFLOW_DOCS_URL as h, isINodePropertyCollection as ha, TEMPLATES_DATA_QUALITY_EXPERIMENT as hc, parseErrorMetadata as hi, HUBSPOT_TRIGGER_NODE_TYPE as hn, require_isEqual as ho, WEBHOOK_NODE_TYPE as hr, WORKFLOW_DESCRIPTION_MODAL_KEY as hs, BETA_NODES as ht, DUPLICATE_POSTFFIX as i, getSubworkflowId as ia, AI_BUILDER_MULTI_AGENT_EXPERIMENT as ic, compareWorkflowsNodes as ii, EXECUTE_COMMAND_NODE_TYPE as in, HTML_NODE_TYPE$1 as io, SPLIT_IN_BATCHES_NODE_TYPE as ir, NEW_ASSISTANT_SESSION_MODAL as is, AI_CATEGORY_ROOT_NODES as it, VALID_WORKFLOW_IMPORT_URL_REGEX as j, sleep as ja, MAIN_AUTH_FIELD_NAME as jc, require__baseFindIndex as ji, MODULE_ENABLED_NODES as jn, PROJECT_OWNER_ROLE_SLUG as jo, DATA_TABLE_ROW_HEIGHT as jr, LOCAL_STORAGE_FOCUS_PANEL as js, AGENT_NODE_TYPE as jt, ALLOWED_HTML_TAGS as k, randomInt as ka, CURL_IMPORT_NODES_PROTOCOLS as kc, require__arrayIncludesWith as ki, MICROSOFT_EXCEL_NODE_TYPE as kn, hasScope as ko, DATA_TABLE_HEADER_HEIGHT as kr, LOCAL_STORAGE_EXPERIMENTAL_DISMISSED_SUGGESTED_WORKFLOWS as ks, TRANSFORM_DATA_SUBCATEGORY as kt, BUILTIN_NODES_DOCS_URL as l, isSubNodeType as la, EXPERIMENTS_TO_TRACK as lc, resolveRelativePath as li, FORM_NODE_TYPE as ln, PROJECT_ROOT as lo, SWITCH_NODE_TYPE as lr, SETUP_CREDENTIALS_MODAL_KEY as ls, AI_EVALUATION as lt, DOCS_DOMAIN as m, isINodePropertiesList as ma, READY_TO_RUN_V2_P3_EXPERIMENT as mc, Workflow as mi, HTTP_REQUEST_NODE_TYPE as mn, WEBHOOK_NODE_TYPE$1 as mo, WAIT_NODE_TYPE as mr, WORKFLOW_ACTIVE_MODAL_KEY as ms, AI_WORKFLOW_TOOL_LANGCHAIN_NODE_TYPE as mt, DEFAULT_NODETYPE_VERSION as n, getParameterIssues as na, TelemetryContextSymbol as nc, USERS_LIST_SORT_OPTIONS as ni, ERROR_TRIGGER_NODE_TYPE as nn, FORM_TRIGGER_NODE_TYPE$1 as no, SIMULATE_TRIGGER_NODE_TYPE as nr, MODAL_CLOSE as ns, AI_CATEGORY_OUTPUTPARSER as nt, MAX_WORKFLOW_NAME_LENGTH as o, isDefaultNodeName as oa, BATCH_11AUG_EXPERIMENT as oc, require__baseFlatten as oi, EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE as on, JINA_AI_TOOL_NODE_TYPE as oo, SPREADSHEET_FILE_NODE_TYPE as or, NPS_SURVEY_MODAL_KEY as os, AI_CATEGORY_TOOLS as ot, DATA_PINNING_DOCS_URL as p, mergeNodeProperties as pa, PRE_BUILT_AGENTS_EXPERIMENT as pc, INodesSchema as pi, HTML_NODE_TYPE as pn, WAIT_INDEFINITELY as po, UPDATE_WEBHOOK_ID_NODE_TYPES as pr, WORKFLOW_ACTIVATION_CONFLICTING_WEBHOOK_MODAL_KEY as ps, AI_UNCATEGORIZED_CATEGORY as pt, RUN_DATA_DEFAULT_PAGE_SIZE as q, AI_TRANSFORM_CODE_GENERATED_FOR_PROMPT as qa, generateNodesGraph as qi, QUICKBOOKS_NODE_TYPE as qn, EXPERIMENT_TEMPLATE_RECO_V2_KEY as qo, ViewableMimeTypes as qr, MAX_DISPLAY_DATA_SIZE_SCHEMA_VIEW as qs, CRYPTO_NODE_TYPE as qt, DEFAULT_WORKFLOW_PAGE_SIZE as r, getParameterValueByPath as ra, WorkflowStateKey as rc, NodeDiffStatus as ri, EXECUTABLE_TRIGGER_NODE_TYPES as rn, FROM_AI_AUTO_GENERATED_MARKER as ro, SLACK_NODE_TYPE as rr, MODAL_CONFIRM as rs, AI_CATEGORY_RETRIEVERS as rt, BASE_NODE_SURVEY_URL as s, isExecutable as sa, CANVAS_ZOOMED_VIEW_EXPERIMENT as sc, require__basePickBy as si, EXTRACT_FROM_FILE_NODE_TYPE as sn, MANUAL_TRIGGER_NODE_TYPE$1 as so, STICKY_NODE_TYPE as sr, PRE_BUILT_AGENTS_MODAL_KEY as ss, AI_CATEGORY_VECTOR_STORES as st, DEFAULT_NEW_WORKFLOW_NAME as t, getNodeWebhookUrl as ta, PopOutWindowKey as tc, dataTableColumnNameSchema as ti, EMAIL_SEND_NODE_TYPE as tn, EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE$1 as to, SIMULATE_NODE_TYPE as tr, MODAL_CANCEL as ts, AI_CATEGORY_OTHER_TOOLS as tt, CREATOR_HUB_URL as u, isTriggerNode as ua, EXTRA_TEMPLATE_LINKS_EXPERIMENT as uc, NATIVE_METHODS as ui, FORM_TRIGGER_NODE_TYPE as un, SEND_AND_WAIT_OPERATION as uo, TELEGRAM_NODE_TYPE as ur, STOP_MANY_EXECUTIONS_MODAL_KEY as us, AI_NODE_CREATOR_VIEW as ut, N8N_MAIN_GITHUB_REPO_URL as v, isResourceLocatorValue as va, TEMPLATE_SETUP_EXPERIENCE as vc, require__baseForOwn as vi, ITEM_LISTS_NODE_TYPE as vn, require__baseKeys as vo, WORKABLE_TRIGGER_NODE_TYPE as vr, WORKFLOW_HISTORY_PUBLISH_MODAL_KEY as vs, FLOWS_CONTROL_SUBCATEGORY as vt, TIME_SAVED_DOCS_URL as w, deepCopy as wa, LOGS_EXECUTION_DATA_THROTTLE_DURATION as wc, createResultError as wi, MANUAL_CHAT_TRIGGER_NODE_TYPE as wn, SOURCE_CONTROL_FILE_LOCATION as wo, ADD_DATA_TABLE_MODAL_KEY as wr, LOCAL_STORAGE_ACTIVATION_FLAG as ws, PRE_BUILT_AGENTS_COLLECTION as wt, RELEASE_NOTES_URL as x, validateFieldType as xa, CANVAS_EXECUTION_DATA_THROTTLE_DURATION as xc, extractFromAICalls as xi, KEEP_AUTH_IN_NDV_FOR_NODES as xn, ApplicationError as xo, XML_NODE_TYPE as xr, WORKFLOW_PUBLISH_MODAL_KEY as xs, HUMAN_IN_THE_LOOP_CATEGORY as xt, N8N_PRICING_PAGE_URL as y, FilterError as ya, UPGRADE_PLAN_CTA_EXPERIMENT as yc, require_cloneDeep as yi, JIRA_NODE_TYPE as yn, require__cacheHas as yo, WORKFLOW_TRIGGER_NODE_TYPE as yr, WORKFLOW_HISTORY_VERSION_RESTORE as ys, HELPERS_SUBCATEGORY as yt, nonExistingJsonPath as z, require_call_bind as za, ASK_AI_LOADING_DURATION_MS as zc, messageEventBusDestinationTypeNames as zi, OPEN_AI_ASSISTANT_NODE_TYPE as zn, ABOUT_MODAL_KEY as zo, MAX_COLUMN_NAME_LENGTH as zr, LOCAL_STORAGE_PIN_DATA_DISCOVERY_NDV_FLAG as zs, CHAT_TRIGGER_NODE_TYPE as zt };
|
|
106430
|
+
export { AI_CATEGORY_MCP_NODES as $, CHAT_TRIGGER_NODE_TYPE$1 as $a, getNodeInputs as $i, SERVICENOW_NODE_TYPE as $n, IMPORT_CURL_MODAL_KEY as $o, chatHubProviderSchema as $r, CanvasKey as $s, ELASTIC_SECURITY_NODE_TYPE as $t, VALID_EMAIL_REGEX as A, jsonStringify as Aa, TIME as Ac, require__arrayIncludes as Ai, MICROSOFT_TEAMS_NODE_TYPE as An, getResourcePermissions as Ao, DATA_TABLE_ID_COLUMN_WIDTH as Ar, LOCAL_STORAGE_DISMISSED_WHATS_NEW_CALLOUT as As, TRIGGER_NODE_CREATOR_VIEW as At, BINARY_DATA_ACCESS_TOOLTIP as B, require_call_bind$1 as Ba, AI_NODES_PACKAGE_NAME as Bc, defaultMessageEventBusDestinationWebhookOptions as Bi, OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE as Bn, VIEWS as Bo, MIN_LOADING_TIME as Br, LOCAL_STORAGE_PIN_DATA_DISCOVERY_CANVAS_FLAG as Bs, CLEARBIT_NODE_TYPE as Bt, TEMPLATES_URLS as C, validateFieldType as Ca, CANVAS_EXECUTION_DATA_THROTTLE_DURATION as Cc, Expression as Ci, LIST_LIKE_NODE_OPERATIONS as Cn, ApplicationError as Co, ZENDESK_TRIGGER_NODE_TYPE as Cr, WORKFLOW_PUBLISH_MODAL_KEY as Cs, OTHER_TRIGGER_NODES_SUBCATEGORY as Ct, CODEMIRROR_TOOLTIP_CONTAINER_ELEMENT_ID as D, isCommunityPackageName as Da, SEVEN_DAYS_IN_MILLIS as Dc, splitExpression as Di, MCP_TRIGGER_NODE_TYPE as Dn, SOURCE_CONTROL_FILE_STATUS as Do, DATA_TABLE_CARD_ACTIONS as Dr, LOCAL_STORAGE_CHAT_HUB_CREDENTIALS as Ds, REQUEST_NODE_FORM_URL as Dt, APP_MODALS_ELEMENT_ID as E, deepCopy as Ea, LOGS_EXECUTION_DATA_THROTTLE_DURATION as Ec, EXTENSION_OBJECTS as Ei, MARKDOWN_NODE_TYPE as En, SOURCE_CONTROL_FILE_LOCATION as Eo, COLUMN_NAME_REGEX as Er, LOCAL_STORAGE_ACTIVATION_FLAG as Es, REGULAR_NODE_CREATOR_VIEW as Et, CUSTOM_API_CALL_KEY as F, parseScript as Fa, MFA_AUTHENTICATION_CODE_WINDOW_EXPIRED as Fc, require_call_bind as Fi, NON_ACTIVATABLE_TRIGGER_NODE_TYPES as Fn, objectType as Fo, DEFAULT_DATA_TABLE_PAGE_SIZE as Fr, LOCAL_STORAGE_LOGS_PANEL_DETAILS_PANEL as Fs, AI_TRANSFORM_NODE_TYPE as Ft, MAIN_NODE_PANEL_WIDTH as G, NodeConnectionTypes as Ga, WORKFLOW_MENU_ACTIONS as Gc, DATA_TABLE_SYSTEM_COLUMNS as Gi, PRODUCTION_ONLY_TRIGGER_NODE_TYPES as Gn, CONTACT_PROMPT_MODAL_KEY as Go, PROJECT_DATA_TABLES as Gr, LOCAL_STORAGE_THEME as Gs, CREDENTIAL_ONLY_NODE_PREFIX as Gt, INSECURE_CONNECTION_WARNING as H, require_shams as Ha, ASK_AI_MAX_PROMPT_LENGTH as Hc, createEmptyRunExecutionData as Hi, OPEN_URL_PANEL_TRIGGER_NODE_TYPES as Hn, CHANGE_PASSWORD_MODAL_KEY as Ho, NUMBER_DECIMAL_SEPARATOR as Hr, LOCAL_STORAGE_READ_WHATS_NEW_ARTICLES as Hs, COMPRESSION_NODE_TYPE as Ht, DATA_TYPE_ICON_MAP as I, require_is_callable as Ia, MFA_AUTHENTICATION_RECOVERY_CODE_INPUT_MAX_LENGTH as Ic, MessageEventBusDestinationTypeNames as Ii, NOTION_TRIGGER_NODE_TYPE as In, recordType as Io, DEFAULT_ID_COLUMN_NAME as Ir, LOCAL_STORAGE_LOGS_PANEL_DETAILS_PANEL_SUB_NODE as Is, BAMBOO_HR_NODE_TYPE as It, AI_CATEGORY_AGENTS as J, AGENT_LANGCHAIN_NODE_TYPE as Ja, getChildNodes as Ji, REMOVE_DUPLICATES_NODE_TYPE as Jn, EXPERIMENT_TEMPLATES_DATA_QUALITY_KEY as Jo, createHeartbeatMessage as Jr, MAX_DISPLAY_DATA_SIZE_LOGS_VIEW as Js, DATA_TABLE_NODES as Jt, NODE_MIN_INPUT_ITEMS_COUNT as K, nodeConnectionTypes as Ka, mapConnectionsByDestination as Ki, QA_CHAIN_NODE_TYPE as Kn, CREDENTIAL_RESOLVER_EDIT_MODAL_KEY as Ko, ROLE as Kr, LOCAL_STORAGE_WORKFLOW_LIST_PREFERENCES_KEY as Ks, CRON_NODE_TYPE as Kt, DRAG_EVENT_DATA_KEY as L, require_safe_regex_test as La, MFA_AUTHENTICATION_REQUIRED_ERROR_CODE as Lc, defaultMessageEventBusDestinationOptions as Li, NOT_DUPLICATABLE_NODE_TYPES as Ln, stringType as Lo, EMPTY_VALUE as Lr, LOCAL_STORAGE_LOGS_PANEL_OPEN as Ls, BASIC_CHAIN_NODE_TYPE as Lt, IN_PROGRESS_EXECUTION_ID as M, randomString as Ma, CURL_IMPORT_NOT_SUPPORTED_PROTOCOLS as Mc, isExpression as Mi, NODES_USING_CODE_NODE_EDITOR as Mn, PROJECT_CHAT_USER_ROLE_SLUG as Mo, DATA_TABLE_STORE as Mr, LOCAL_STORAGE_EXPERIMENT_OVERRIDES as Ms, AGGREGATE_NODE_TYPE as Mt, PLACEHOLDER_FILLED_AT_EXECUTION_TIME as N, sleep as Na, MAIN_AUTH_FIELD_NAME as Nc, require_define_properties as Ni, NODE_POSITION_CONFLICT_ALLOWLIST as Nn, PROJECT_OWNER_ROLE_SLUG as No, DATA_TABLE_VIEW as Nr, LOCAL_STORAGE_FOCUS_PANEL as Ns, AI_CODE_NODE_TYPE as Nt, ALLOWED_HTML_ATTRIBUTES as O, isObjectEmpty as Oa, SIX_MONTHS_IN_MILLIS as Oc, require__baseUniq as Oi, MERGE_NODE_TYPE as On, SOURCE_CONTROL_FILE_TYPE as Oo, DATA_TABLE_DETAILS as Or, LOCAL_STORAGE_CHAT_HUB_SELECTED_MODEL as Os, TEMPLATE_CATEGORY_AI as Ot, APPEND_ATTRIBUTION_DEFAULT_PATH as P, Syntax as Pa, MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH as Pc, require_callBound as Pi, NODE_TYPES_EXCLUDED_FROM_OUTPUT_NAME_APPEND as Pn, nullType as Po, DEFAULT_COLUMN_WIDTH as Pr, LOCAL_STORAGE_HIDE_GITHUB_STAR_BUTTON as Ps, AI_MCP_TOOL_NODE_TYPE as Pt, AI_CATEGORY_LANGUAGE_MODELS as Q, CHAIN_LLM_LANGCHAIN_NODE_TYPE as Qa, getConnectionTypes as Qi, SEGMENT_NODE_TYPE as Qn, FROM_AI_PARAMETERS_MODAL_KEY as Qo, chatHubLLMProviderSchema as Qr, MAX_WORKFLOW_SIZE as Qs, EDIT_IMAGE_NODE_TYPE as Qt, MAPPING_PARAMS as R, require_is_regex as Ra, MFA_FORM as Rc, defaultMessageEventBusDestinationSentryOptions as Ri, NO_OP_NODE_TYPE as Rn, EDITABLE_CANVAS_VIEWS as Ro, LOOSE_DATE_REGEX as Rr, LOCAL_STORAGE_LOGS_SYNC_SELECTION as Rs, CALENDLY_TRIGGER_NODE_TYPE as Rt, SCHEMA_PREVIEW_DOCS_URL as S, executeFilterCondition as Sa, EnterpriseEditionFeature as Sc, traverseNodeParameters as Si, LIMIT_NODE_TYPE as Sn, require__SetCache as So, ZENDESK_NODE_TYPE as Sr, WORKFLOW_HISTORY_VERSION_UNPUBLISH as Ss, NODE_CREATOR_OPEN_SOURCES as St, TEMPLATES_NODES_FILTER as T, dedupe as Ta, EXPRESSION_EDITOR_PARSER_TIMEOUT as Tc, createResultOk as Ti, MANUAL_TRIGGER_NODE_TYPE as Tn, WORKFLOW_VERSION_NAME_MAX_LENGTH as To, ADD_ROW_ROW_ID as Tr, WORKFLOW_SHARE_MODAL_KEY as Ts, RECOMMENDED_NODES as Tt, DEFAULT_STICKY_HEIGHT as U, ExpressionError as Ua, ASK_AI_MIN_PROMPT_LENGTH as Uc, createRunExecutionData as Ui, PAGERDUTY_NODE_TYPE as Un, CHAT_EMBED_MODAL_KEY as Uo, NUMBER_THOUSAND_SEPARATOR as Ur, LOCAL_STORAGE_RUN_DATA_WORKER as Us, CONVERT_TO_FILE_NODE_TYPE as Ut, HIRING_BANNER as V, require_has_property_descriptors as Va, ASK_AI_LOADING_DURATION_MS as Vc, messageEventBusDestinationTypeNames as Vi, OPEN_AI_NODE_TYPE as Vn, ABOUT_MODAL_KEY as Vo, NULL_VALUE as Vr, LOCAL_STORAGE_PIN_DATA_DISCOVERY_NDV_FLAG as Vs, CODE_NODE_TYPE as Vt, DEFAULT_STICKY_WIDTH as W, DateTime as Wa, ASK_AI_SLIDE_OUT_DURATION_MS as Wc, setGlobalState as Wi, PIN_DATA_NODE_TYPES_DENYLIST as Wn, CONFIRM_PASSWORD_MODAL_KEY as Wo, NUMBER_WITH_SPACES_REGEX as Wr, LOCAL_STORAGE_SIDEBAR_WIDTH as Ws, CREDENTIAL_ONLY_HTTP_NODE_VERSION as Wt, AI_CATEGORY_DOCUMENT_LOADERS as X, AI_TRANSFORM_JS_CODE as Xa, displayParameter as Xi, SALESFORCE_NODE_TYPE as Xn, EXPERIMENT_TEMPLATE_RECO_V3_KEY as Xo, agentIconOrEmojiSchema as Xr, MAX_EXPECTED_REQUEST_SIZE as Xs, DATETIME_NODE_TYPE as Xt, AI_CATEGORY_CHAINS as Y, AI_TRANSFORM_CODE_GENERATED_FOR_PROMPT as Ya, generateNodesGraph as Yi, RSS_READ_NODE_TYPE as Yn, EXPERIMENT_TEMPLATE_RECO_V2_KEY as Yo, PROVIDER_CREDENTIAL_TYPE_MAP as Yr, MAX_DISPLAY_DATA_SIZE_SCHEMA_VIEW as Ys, DATA_TABLE_NODE_TYPE as Yt, AI_CATEGORY_EMBEDDING as Z, AI_TRANSFORM_NODE_TYPE$1 as Za, displayParameterPath as Zi, SCHEDULE_TRIGGER_NODE_TYPE as Zn, EXTERNAL_SECRETS_PROVIDER_MODAL_KEY as Zo, chatHubConversationModelSchema as Zr, MAX_PINNED_DATA_SIZE as Zs, DISCORD_NODE_TYPE as Zt, MFA_DOCS_URL as _, isINodePropertyCollection as _a, TEMPLATES_DATA_QUALITY_EXPERIMENT as _c, require__baseIteratee as _i, INTERVAL_NODE_TYPE as _n, require_isEqual as _o, WOOCOMMERCE_TRIGGER_NODE_TYPE as _r, WORKFLOW_DESCRIPTION_MODAL_KEY as _s, DEFAULT_SUBCATEGORY as _t, IS_DRAFT_PUBLISH_ENABLED as a, getParameterValueByPath as aa, WorkflowStateKey as ac, require_pick as ai, EXECUTE_WORKFLOW_NODE_TYPE as an, FROM_AI_AUTO_GENERATED_MARKER as ao, SPLIT_OUT_NODE_TYPE as ar, MODAL_CONFIRM as as, AI_CATEGORY_TEXT_SPLITTERS as at, NPM_PACKAGE_DOCS_BASE_URL as b, isResourceLocatorValue as ba, TEMPLATE_SETUP_EXPERIENCE as bc, require__getAllKeysIn as bi, JIRA_TRIGGER_NODE_TYPE as bn, require__baseKeys as bo, XERO_NODE_TYPE as br, WORKFLOW_HISTORY_PUBLISH_MODAL_KEY as bs, HITL_SUBCATEGORY as bt, BUILTIN_CREDENTIALS_DOCS_URL as c, isDefaultNodeName as ca, BATCH_11AUG_EXPERIMENT as cc, require__baseSet as ci, FILTER_NODE_TYPE as cn, JINA_AI_TOOL_NODE_TYPE as co, SUMMARIZE_NODE_TYPE as cr, NPS_SURVEY_MODAL_KEY as cs, AI_CODE_TOOL_LANGCHAIN_NODE_TYPE as ct, CUSTOM_NODES_DOCS_URL as d, isSubNodeType as da, EXPERIMENTS_TO_TRACK as dc, buildAdjacencyList as di, GITHUB_TRIGGER_NODE_TYPE as dn, PROJECT_ROOT as do, THE_HIVE_TRIGGER_NODE_TYPE as dr, SETUP_CREDENTIALS_MODAL_KEY as ds, AI_OTHERS_NODE_CREATOR_VIEW as dt, getNodeOutputs as ea, CanvasNodeHandleKey as ec, emptyChatModelsResponse as ei, EMAIL_IMAP_NODE_TYPE as en, CREDENTIAL_EMPTY_VALUE as eo, SET_NODE_TYPE as er, IMPORT_WORKFLOW_URL_MODAL_KEY as es, AI_CATEGORY_MEMORY as et, DATA_EDITING_DOCS_URL as f, isTriggerNode as fa, EXTRA_TEMPLATE_LINKS_EXPERIMENT as fc, parseExtractableSubgraphSelection as fi, GOOGLE_SHEETS_NODE_TYPE as fn, SEND_AND_WAIT_OPERATION as fo, TIME_SAVED_NODE_TYPE as fr, STOP_MANY_EXECUTIONS_MODAL_KEY as fs, AI_SUBCATEGORY as ft, EVALUATIONS_DOCS_URL as g, isINodePropertiesList as ga, READY_TO_RUN_V2_P3_EXPERIMENT as gc, extractReferencesInNodeExpressions as gi, IF_NODE_TYPE as gn, WEBHOOK_NODE_TYPE$1 as go, WIKIPEDIA_TOOL_NODE_TYPE as gr, WORKFLOW_ACTIVE_MODAL_KEY as gs, CORE_NODES_CATEGORY as gt, ERROR_WORKFLOW_DOCS_URL as h, mergeNodeProperties as ha, PRE_BUILT_AGENTS_EXPERIMENT as hc, parseErrorMetadata as hi, HUBSPOT_TRIGGER_NODE_TYPE as hn, WAIT_INDEFINITELY as ho, WEBHOOK_NODE_TYPE as hr, WORKFLOW_ACTIVATION_CONFLICTING_WEBHOOK_MODAL_KEY as hs, BETA_NODES as ht, DUPLICATE_POSTFFIX as i, getParameterIssues as ia, TelemetryContextSymbol as ic, compareWorkflowsNodes as ii, EXECUTE_COMMAND_NODE_TYPE as in, FORM_TRIGGER_NODE_TYPE$1 as io, SPLIT_IN_BATCHES_NODE_TYPE as ir, MODAL_CLOSE as is, AI_CATEGORY_ROOT_NODES as it, VALID_WORKFLOW_IMPORT_URL_REGEX as j, randomInt as ja, CURL_IMPORT_NODES_PROTOCOLS as jc, require__baseFindIndex as ji, MODULE_ENABLED_NODES as jn, hasScope as jo, DATA_TABLE_ROW_HEIGHT as jr, LOCAL_STORAGE_EXPERIMENTAL_DISMISSED_SUGGESTED_WORKFLOWS as js, AGENT_NODE_TYPE as jt, ALLOWED_HTML_TAGS as k, jsonParse as ka, THREE_DAYS_IN_MILLIS as kc, require__arrayIncludesWith as ki, MICROSOFT_EXCEL_NODE_TYPE as kn, isSourceControlledFileStatus as ko, DATA_TABLE_HEADER_HEIGHT as kr, LOCAL_STORAGE_CHAT_HUB_SELECTED_TOOLS as ks, TRANSFORM_DATA_SUBCATEGORY as kt, BUILTIN_NODES_DOCS_URL as l, isExecutable as la, CANVAS_ZOOMED_VIEW_EXPERIMENT as lc, resolveRelativePath as li, FORM_NODE_TYPE as ln, MANUAL_TRIGGER_NODE_TYPE$1 as lo, SWITCH_NODE_TYPE as lr, PRE_BUILT_AGENTS_MODAL_KEY as ls, AI_EVALUATION as lt, DOCS_DOMAIN as m, mergeIssues as ma, PERSONALIZED_TEMPLATES_V3 as mc, Workflow as mi, HTTP_REQUEST_NODE_TYPE as mn, TRIMMED_TASK_DATA_CONNECTIONS_KEY as mo, WAIT_NODE_TYPE as mr, WHATS_NEW_MODAL_KEY as ms, AI_WORKFLOW_TOOL_LANGCHAIN_NODE_TYPE as mt, DEFAULT_NODETYPE_VERSION as n, getNodeParametersIssues as na, ExpressionLocalResolveContextSymbol as nc, USERS_LIST_SORT_OPTIONS as ni, ERROR_TRIGGER_NODE_TYPE as nn, EVALUATION_TRIGGER_NODE_TYPE as no, SIMULATE_TRIGGER_NODE_TYPE as nr, MFA_SETUP_MODAL_KEY as ns, AI_CATEGORY_OUTPUTPARSER as nt, MAX_WORKFLOW_NAME_LENGTH as o, getSubworkflowId as oa, AI_BUILDER_MULTI_AGENT_EXPERIMENT as oc, require__baseFlatten as oi, EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE as on, HTML_NODE_TYPE$1 as oo, SPREADSHEET_FILE_NODE_TYPE as or, NEW_ASSISTANT_SESSION_MODAL as os, AI_CATEGORY_TOOLS as ot, DATA_PINNING_DOCS_URL as p, makeNodeName as pa, NDV_IN_FOCUS_PANEL_EXPERIMENT as pc, INodesSchema as pi, HTML_NODE_TYPE as pn, SERP_API_TOOL_NODE_TYPE as po, UPDATE_WEBHOOK_ID_NODE_TYPES as pr, VERSIONS_MODAL_KEY as ps, AI_UNCATEGORIZED_CATEGORY as pt, RUN_DATA_DEFAULT_PAGE_SIZE as q, ADD_FORM_NOTICE as qa, getNodeByName as qi, QUICKBOOKS_NODE_TYPE as qn, DUPLICATE_MODAL_KEY as qo, ViewableMimeTypes as qr, MAX_DISPLAY_DATA_SIZE as qs, CRYPTO_NODE_TYPE as qt, DEFAULT_WORKFLOW_PAGE_SIZE as r, getNodeWebhookUrl as ra, PopOutWindowKey as rc, NodeDiffStatus as ri, EXECUTABLE_TRIGGER_NODE_TYPES as rn, EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE$1 as ro, SLACK_NODE_TYPE as rr, MODAL_CANCEL as rs, AI_CATEGORY_RETRIEVERS as rt, BASE_NODE_SURVEY_URL as s, getUpdatedToolDescription as sa, AI_BUILDER_TEMPLATE_EXAMPLES_EXPERIMENT as sc, require__basePickBy as si, EXTRACT_FROM_FILE_NODE_TYPE as sn, HTTP_REQUEST_NODE_TYPE$1 as so, STICKY_NODE_TYPE as sr, NODE_PINNING_MODAL_KEY as ss, AI_CATEGORY_VECTOR_STORES as st, DEFAULT_NEW_WORKFLOW_NAME as t, getNodeParameters as ta, CanvasNodeKey as tc, dataTableColumnNameSchema as ti, EMAIL_SEND_NODE_TYPE as tn, EVALUATION_NODE_TYPE as to, SIMULATE_NODE_TYPE as tr, LOG_STREAM_MODAL_KEY as ts, AI_CATEGORY_OTHER_TOOLS as tt, CREATOR_HUB_URL as u, isNodeWithWorkflowSelector as ua, COMMAND_BAR_EXPERIMENT as uc, NATIVE_METHODS as ui, FORM_TRIGGER_NODE_TYPE as un, OPEN_AI_API_CREDENTIAL_TYPE as uo, TELEGRAM_NODE_TYPE as ur, PROMPT_MFA_CODE_MODAL_KEY as us, AI_NODE_CREATOR_VIEW as ut, N8N_MAIN_GITHUB_REPO_URL as v, isINodePropertyCollectionList as va, TEMPLATE_ONBOARDING_EXPERIMENT as vc, require__baseForOwn as vi, ITEM_LISTS_NODE_TYPE as vn, require__getTag as vo, WORKABLE_TRIGGER_NODE_TYPE as vr, WORKFLOW_DIFF_MODAL_KEY as vs, FLOWS_CONTROL_SUBCATEGORY as vt, TIME_SAVED_DOCS_URL as w, base64DecodeUTF8 as wa, CLOUD_TRIAL_CHECK_INTERVAL as wc, createResultError as wi, MANUAL_CHAT_TRIGGER_NODE_TYPE as wn, WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH as wo, ADD_DATA_TABLE_MODAL_KEY as wr, WORKFLOW_SETTINGS_MODAL_KEY as ws, PRE_BUILT_AGENTS_COLLECTION as wt, RELEASE_NOTES_URL as x, FilterError as xa, UPGRADE_PLAN_CTA_EXPERIMENT as xc, extractFromAICalls as xi, KEEP_AUTH_IN_NDV_FOR_NODES as xn, require__cacheHas as xo, XML_NODE_TYPE as xr, WORKFLOW_HISTORY_VERSION_RESTORE as xs, HUMAN_IN_THE_LOOP_CATEGORY as xt, N8N_PRICING_PAGE_URL as y, isINodePropertyOptionsList as ya, TEMPLATE_RECO_V2 as yc, require_cloneDeep as yi, JIRA_NODE_TYPE as yn, require_keys as yo, WORKFLOW_TRIGGER_NODE_TYPE as yr, WORKFLOW_EXTRACTION_NAME_MODAL_KEY as ys, HELPERS_SUBCATEGORY as yt, nonExistingJsonPath as z, require_callBound$1 as za, AI_ASSISTANT_MAX_CONTENT_LENGTH as zc, defaultMessageEventBusDestinationSyslogOptions as zi, OPEN_AI_ASSISTANT_NODE_TYPE as zn, MAIN_HEADER_TABS as zo, MAX_COLUMN_NAME_LENGTH as zr, LOCAL_STORAGE_MAIN_PANEL_RELATIVE_WIDTH as zs, CHAT_TRIGGER_NODE_TYPE as zt };
|