@baseplate-dev/plugin-auth 0.6.16 → 0.6.18
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/CHANGELOG.md +36 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +12 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +12 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +6 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +6 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +12 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +12 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +6 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +12 -0
- package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +6 -0
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +6 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +36 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +6 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +60 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +12 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +6 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +6 -0
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +6 -0
- package/dist/local-auth/admin/common.js +6 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/admin-crud-invite-user-action.generator.d.ts +531 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/admin-crud-invite-user-action.generator.js +119 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/index.d.ts +540 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/index.js +11 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-paths.d.ts +12 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-paths.js +24 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-renderers.d.ts +276 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-renderers.js +45 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/typed-templates.d.ts +263 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/typed-templates.js +21 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/index.js +2 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.d.ts +21 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.js +69 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.tsx +122 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +12 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +12 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +6 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +6 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +12 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +12 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +6 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +12 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +6 -0
- package/dist/local-auth/admin/node.js +13 -0
- package/dist/local-auth/admin/schema/invite-user-action.d.ts +12 -0
- package/dist/local-auth/admin/schema/invite-user-action.js +6 -0
- package/dist/local-auth/admin/web.js +8 -0
- package/dist/local-auth/core/common.js +7 -2
- package/dist/local-auth/core/components/local-auth-definition-editor.js +2 -1
- package/dist/local-auth/core/components/local-auth-web-app-settings-form.d.ts +9 -0
- package/dist/local-auth/core/components/local-auth-web-app-settings-form.js +11 -0
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +6 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +66 -6
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +188 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts +5 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js +5 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +18 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +66 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +192 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +82 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.d.ts +19 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.js +20 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.ts +22 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts +12 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js +12 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.ts +14 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.js +30 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.ts +38 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.js +42 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.ts +54 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +2 -19
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +1 -22
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.d.ts +37 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.js +225 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.ts +333 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.d.ts +39 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.js +138 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.ts +209 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +3 -3
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +3 -2
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts +3 -1
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js +18 -3
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts +40 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js +2 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts +6 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js +20 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts +40 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js +24 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.js +18 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.tsx +57 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.js +14 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.tsx +47 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +8 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +5 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +32 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +13 -0
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts +9 -0
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js +6 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +25 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +20 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts +4 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.ts +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.d.ts +66 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.js +134 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.ts +184 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +8 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +38 -5
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +840 -268
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +3 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +18 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js +51 -0
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +608 -283
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +69 -23
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.d.ts +9 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.js +10 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.ts +11 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.js +148 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.tsx +264 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.js +184 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.tsx +311 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +2 -9
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +12 -0
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +6 -0
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +12 -0
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +6 -0
- package/dist/local-auth/core/node.js +24 -6
- package/dist/local-auth/core/schema/migrations.d.ts +3 -0
- package/dist/local-auth/core/schema/migrations.js +36 -0
- package/dist/local-auth/core/schema/models.js +8 -0
- package/dist/local-auth/core/schema/plugin-definition.d.ts +1 -0
- package/dist/local-auth/core/schema/plugin-definition.js +1 -0
- package/dist/local-auth/core/schema/web-app-schema.d.ts +15 -0
- package/dist/local-auth/core/schema/web-app-schema.js +16 -0
- package/dist/local-auth/core/web.js +8 -1
- package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-04_7KkB1.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth__mf_owner__1-CKKmnLep.js} +49 -41
- package/dist/web/assets/{dist-BjxypexQ.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Cx7TvZ_H.js} +16720 -384
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-D3Nvasea.js +177 -0
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CXGct_48.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-C2GDE8Py.js} +3349 -2632
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-Ci5_qYaj.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CiccpWjh.js} +320 -164
- package/dist/web/assets/{arduino-BP2nYunF.js → arduino-BXtgMpyb.js} +2 -2
- package/dist/web/assets/auth-CsHp2bQi.js +1 -0
- package/dist/web/assets/{c-C7Ey31hW.js → c-6gdx-Hqg.js} +3 -3
- package/dist/web/assets/{clike-D9YNFwtw.js → clike-Ds9lUsCq.js} +2 -2
- package/dist/web/assets/common-BGTuTgx7.js +43 -0
- package/dist/web/assets/common-C8_sC5pp.js +70 -0
- package/dist/web/assets/{common-BvU-7KsV.js → common-Co5lW_TK.js} +13 -11
- package/dist/web/assets/{common-eFh2vwGb.js → common-CoLuMS7U.js} +6 -6
- package/dist/web/assets/common-Dueu_1NG.js +36 -0
- package/dist/web/assets/{common-BBriDRRy.js → common-N3skPbzk.js} +10 -10
- package/dist/web/assets/{cpp-_RjA_yNA.js → cpp-DRYAY5P6.js} +2 -2
- package/dist/web/assets/{csharp-0LZzOc6Q.js → csharp-RJBSoHJ6.js} +2 -2
- package/dist/web/assets/{dist-SBfmsOB2.js → dist-DQd1TAJX.js} +274 -133
- package/dist/web/assets/{get-auth-plugin-definition-x8oAsN1R.js → get-auth-plugin-definition-DyokUVjX.js} +3 -3
- package/dist/web/assets/{go-CzER04EZ.js → go-D9nlw8GJ.js} +2 -2
- package/dist/web/assets/{hostInit-Bay0Y9UX.js → hostInit-BCYmw0H5.js} +33 -6
- package/dist/web/assets/{java-HAvRESj1.js → java-Asfw0WtJ.js} +2 -2
- package/dist/web/assets/{javascript-BVAr0eZH.js → javascript-fpnGEVws.js} +2 -2
- package/dist/web/assets/{kotlin-DkCMjTKK.js → kotlin-zNWfDPVY.js} +2 -2
- package/dist/web/assets/{markdown-_2_uVr2L.js → markdown-ewV-vLcZ.js} +2 -2
- package/dist/web/assets/{markup-BVZ8HhdW.js → markup-D2krQlDZ.js} +2 -2
- package/dist/web/assets/{markup-templating-BDIRuVJH.js → markup-templating-c_XBo6vX.js} +2 -2
- package/dist/web/assets/mf-entry-bootstrap-0-3ede9334.js +36 -0
- package/dist/web/assets/mf-entry-bootstrap-1-3da85eea.js +36 -0
- package/dist/web/assets/{mf-entry-bootstrap-0-659c976f.js → mf-entry-bootstrap-2-32e24e11.js} +3 -2
- package/dist/web/assets/mf-entry-bootstrap-3-a3cfea9d.js +36 -0
- package/dist/web/assets/{models-BpslIbU7.js → models-BcPOQC5p.js} +4 -5
- package/dist/web/assets/{models-CKab4MTC.js → models-BcUgOGGn.js} +11 -6
- package/dist/web/assets/{objectivec-DPgB68It.js → objectivec-PkUOhxeb.js} +2 -2
- package/dist/web/assets/{php-JTON0zp9.js → php-CfWLJZIj.js} +2 -2
- package/dist/web/assets/{plugin-definition-8Exesd6T.js → plugin-definition-D1EImXIf.js} +9 -10
- package/dist/web/assets/plugin-definition-lw-gB4hU.js +10 -0
- package/dist/web/assets/{rolldown-runtime-FZ4Itg2g.js → rolldown-runtime-7_rZTKki.js} +1 -1
- package/dist/web/assets/{ruby-BoFHz67P.js → ruby-BlM93DKO.js} +2 -2
- package/dist/web/assets/{styles-Cc26Bbxc.css → styles-DIj1cIPB.css} +119 -1
- package/dist/web/assets/{styles-Cuq4wgvD.js → styles-EOyEbGA4.js} +9 -10
- package/dist/web/assets/{typescript-CDkIWcT8.js → typescript-C5BVqltI.js} +2 -2
- package/dist/web/assets/{virtualExposes-BwIds34r.js → virtualExposes-DWORnjyA.js} +1 -1
- package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-t-KnBiUh.js +747 -0
- package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DM6Ir1_S.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DZfE3QCR.js} +15 -15
- package/dist/web/assets/{vite-preload-helper-iIio8xkS.js → vite-preload-helper-ARKYL6bp.js} +5 -1
- package/dist/web/assets/{web-DHv2aVpi.js → web-CBVepebK.js} +24 -24
- package/dist/web/assets/{web-CnB-sqCR.js → web-Dgb85jhs.js} +54 -53
- package/dist/web/assets/{web-BZd3bM0n.js → web-EDeSquSP.js} +38 -38
- package/dist/web/assets/{web-DNrWXjpS.js → web-PqAcfBSy.js} +9 -9
- package/dist/web/assets/{web-BgWG7dYl.js → web-RhChfBw_.js} +23 -23
- package/dist/web/assets/web-kaD9AzNS.js +59 -0
- package/dist/web/assets/web-xJ-GnSkC.js +148 -0
- package/dist/web/assets/{workerBundle-GFUata9j.js → workerBundle-BjsY-uXx.js} +2 -2
- package/dist/web/index.html +5 -2
- package/dist/web/remoteEntry.js +1 -1
- package/package.json +36 -39
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-BfSk5vRC.js +0 -384
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DZIcwf2B.js +0 -125
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js +0 -13567
- package/dist/web/assets/auth-8qJtXAgU.js +0 -1
- package/dist/web/assets/common-23-wvKrM.js +0 -39
- package/dist/web/assets/common-B-NI9TR-.js +0 -37
- package/dist/web/assets/common-DBBUvtGu.js +0 -37
- package/dist/web/assets/index-qso1IsKy.js +0 -2
- package/dist/web/assets/model-utils-dNFTOjqi.js +0 -1599
- package/dist/web/assets/plugin-definition-ChBrbazJ.js +0 -11
- package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-BBt5f0I7.js +0 -259
- package/dist/web/assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-RzPgl37a.js +0 -129
- package/dist/web/assets/web-CXHw8SK7.js +0 -118
- package/dist/web/assets/web-D_H-MoGI.js +0 -46
- package/dist/web/remoteEntry.ssr.js +0 -43
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { r as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
4
|
-
|
|
1
|
+
import { r as __exportAll } from "./rolldown-runtime-7_rZTKki.js";
|
|
2
|
+
import { Q as __mf_2$3, X as __mf_0$2, Y as require_with_selector, Z as __mf_1$2, _t as __mf_7$2, at as __mf_2$2, ct as __mf_24$2, et as __mfDefaultExport$1, ft as __mf_31$2, gt as __mf_38$2, ht as __mf_37$2, it as __mf_19$2, lt as __mf_25$2, mt as __mf_34$2, nt as __mf_14$2, ot as __mf_20$2, pt as __mf_33$2, q as __mf_2$4, rt as __mf_16$2, st as __mf_22$2, tt as __mf_13$2, ut as __mf_28$2, vt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__ } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-C2GDE8Py.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/utils.js
|
|
4
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
5
5
|
/**
|
|
6
6
|
* React.use if available (React 19+), undefined otherwise.
|
|
7
7
|
* Use dynamic lookup to avoid Webpack compilation errors with React 18.
|
|
8
8
|
*/
|
|
9
|
-
var reactUse =
|
|
10
|
-
var useLayoutEffect = typeof window !== "undefined" ?
|
|
9
|
+
var reactUse = __mf_22$2;
|
|
10
|
+
var useLayoutEffect = typeof window !== "undefined" ? __mf_33$2 : __mf_28$2;
|
|
11
11
|
/**
|
|
12
12
|
* Taken from https://www.developerway.com/posts/implementing-advanced-use-previous-hook#part3
|
|
13
13
|
*/
|
|
14
14
|
function usePrevious(value) {
|
|
15
|
-
const ref =
|
|
15
|
+
const ref = __mf_37$2({
|
|
16
16
|
value,
|
|
17
17
|
prev: null
|
|
18
18
|
});
|
|
@@ -49,7 +49,7 @@ function usePrevious(value) {
|
|
|
49
49
|
* ```
|
|
50
50
|
*/
|
|
51
51
|
function useIntersectionObserver(ref, callback, intersectionObserverOptions = {}, options = {}) {
|
|
52
|
-
|
|
52
|
+
__mf_28$2(() => {
|
|
53
53
|
if (!ref.current || options.disabled || typeof IntersectionObserver !== "function") return;
|
|
54
54
|
const observer = new IntersectionObserver(([entry]) => {
|
|
55
55
|
callback(entry);
|
|
@@ -79,8 +79,8 @@ function useIntersectionObserver(ref, callback, intersectionObserverOptions = {}
|
|
|
79
79
|
* ```
|
|
80
80
|
*/
|
|
81
81
|
function useForwardedRef(ref) {
|
|
82
|
-
const innerRef =
|
|
83
|
-
|
|
82
|
+
const innerRef = __mf_37$2(null);
|
|
83
|
+
__mf_31$2(ref, () => innerRef.current, []);
|
|
84
84
|
return innerRef;
|
|
85
85
|
}
|
|
86
86
|
//#endregion
|
|
@@ -3571,7 +3571,7 @@ var RouterCore = class {
|
|
|
3571
3571
|
const filter = (d) => {
|
|
3572
3572
|
const route = this.looseRoutesById[d.routeId];
|
|
3573
3573
|
if (!route.options.loader) return true;
|
|
3574
|
-
const gcTime = (d.preload ? route.options.preloadGcTime ?? this.options.defaultPreloadGcTime : route.options.gcTime ?? this.options.defaultGcTime) ??
|
|
3574
|
+
const gcTime = (d.preload ? route.options.preloadGcTime ?? this.options.defaultPreloadGcTime : route.options.gcTime ?? this.options.defaultGcTime) ?? 3e5;
|
|
3575
3575
|
if (d.status === "error") return true;
|
|
3576
3576
|
return now - d.updatedAt >= gcTime;
|
|
3577
3577
|
};
|
|
@@ -4481,8 +4481,8 @@ function createSerializationAdapter(opts) {
|
|
|
4481
4481
|
return opts;
|
|
4482
4482
|
}
|
|
4483
4483
|
//#endregion
|
|
4484
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
4485
|
-
|
|
4484
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/awaited.js
|
|
4485
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
4486
4486
|
/** Suspend until a deferred promise resolves or rejects and return its data. */
|
|
4487
4487
|
function useAwaited({ promise: _promise }) {
|
|
4488
4488
|
if (reactUse) return reactUse(_promise);
|
|
@@ -4497,7 +4497,7 @@ function useAwaited({ promise: _promise }) {
|
|
|
4497
4497
|
*/
|
|
4498
4498
|
function Await(props) {
|
|
4499
4499
|
const inner = /* @__PURE__ */ __mf_1$2(AwaitInner, { ...props });
|
|
4500
|
-
if (props.fallback) return /* @__PURE__ */ __mf_1$2(
|
|
4500
|
+
if (props.fallback) return /* @__PURE__ */ __mf_1$2(__mf_7$2, {
|
|
4501
4501
|
fallback: props.fallback,
|
|
4502
4502
|
children: inner
|
|
4503
4503
|
});
|
|
@@ -4508,15 +4508,15 @@ function AwaitInner(props) {
|
|
|
4508
4508
|
return props.children(data);
|
|
4509
4509
|
}
|
|
4510
4510
|
//#endregion
|
|
4511
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
4512
|
-
|
|
4511
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/CatchBoundary.js
|
|
4512
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
4513
4513
|
function CatchBoundary(props) {
|
|
4514
4514
|
const errorComponent = props.errorComponent ?? ErrorComponent;
|
|
4515
4515
|
return /* @__PURE__ */ __mf_1$2(CatchBoundaryImpl, {
|
|
4516
4516
|
getResetKey: props.getResetKey,
|
|
4517
4517
|
onCatch: props.onCatch,
|
|
4518
4518
|
children: ({ error, reset }) => {
|
|
4519
|
-
if (error) return
|
|
4519
|
+
if (error) return __mf_14$2(errorComponent, {
|
|
4520
4520
|
error,
|
|
4521
4521
|
reset
|
|
4522
4522
|
});
|
|
@@ -4524,7 +4524,7 @@ function CatchBoundary(props) {
|
|
|
4524
4524
|
}
|
|
4525
4525
|
});
|
|
4526
4526
|
}
|
|
4527
|
-
var CatchBoundaryImpl = class extends
|
|
4527
|
+
var CatchBoundaryImpl = class extends __mf_2$2 {
|
|
4528
4528
|
constructor(..._args) {
|
|
4529
4529
|
super(..._args);
|
|
4530
4530
|
this.state = { error: null };
|
|
@@ -4556,14 +4556,14 @@ var CatchBoundaryImpl = class extends __mf_1$3 {
|
|
|
4556
4556
|
}
|
|
4557
4557
|
};
|
|
4558
4558
|
function ErrorComponent({ error }) {
|
|
4559
|
-
const [show, setShow] =
|
|
4560
|
-
return /* @__PURE__ */ __mf_2$
|
|
4559
|
+
const [show, setShow] = __mf_38$2(false);
|
|
4560
|
+
return /* @__PURE__ */ __mf_2$3("div", {
|
|
4561
4561
|
style: {
|
|
4562
4562
|
padding: ".5rem",
|
|
4563
4563
|
maxWidth: "100%"
|
|
4564
4564
|
},
|
|
4565
4565
|
children: [
|
|
4566
|
-
/* @__PURE__ */ __mf_2$
|
|
4566
|
+
/* @__PURE__ */ __mf_2$3("div", {
|
|
4567
4567
|
style: {
|
|
4568
4568
|
display: "flex",
|
|
4569
4569
|
alignItems: "center",
|
|
@@ -4601,8 +4601,8 @@ function ErrorComponent({ error }) {
|
|
|
4601
4601
|
});
|
|
4602
4602
|
}
|
|
4603
4603
|
//#endregion
|
|
4604
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
4605
|
-
|
|
4604
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/ClientOnly.js
|
|
4605
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
4606
4606
|
/**
|
|
4607
4607
|
* Render the children only after the JS has loaded client-side. Use an optional
|
|
4608
4608
|
* fallback component if the JS is not yet loaded.
|
|
@@ -4649,12 +4649,12 @@ function subscribe() {
|
|
|
4649
4649
|
return () => {};
|
|
4650
4650
|
}
|
|
4651
4651
|
//#endregion
|
|
4652
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
4653
|
-
|
|
4654
|
-
var routerContext =
|
|
4652
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/routerContext.js
|
|
4653
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
4654
|
+
var routerContext = __mf_13$2(null);
|
|
4655
4655
|
//#endregion
|
|
4656
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
4657
|
-
|
|
4656
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useRouter.js
|
|
4657
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
4658
4658
|
/**
|
|
4659
4659
|
* Access the current TanStack Router instance from React context.
|
|
4660
4660
|
* Must be used within a `RouterProvider`.
|
|
@@ -4666,13 +4666,13 @@ init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__
|
|
|
4666
4666
|
* @link https://tanstack.com/router/latest/docs/framework/react/api/router/useRouterHook
|
|
4667
4667
|
*/
|
|
4668
4668
|
function useRouter(opts) {
|
|
4669
|
-
return
|
|
4669
|
+
return __mf_25$2(routerContext);
|
|
4670
4670
|
}
|
|
4671
4671
|
//#endregion
|
|
4672
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
4673
|
-
|
|
4674
|
-
var matchContext =
|
|
4675
|
-
var dummyMatchContext =
|
|
4672
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/matchContext.js
|
|
4673
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
4674
|
+
var matchContext = __mf_13$2(void 0);
|
|
4675
|
+
var dummyMatchContext = __mf_13$2(void 0);
|
|
4676
4676
|
//#endregion
|
|
4677
4677
|
//#region ../../node_modules/.pnpm/@tanstack+store@0.9.3/node_modules/@tanstack/store/dist/esm/alien.js
|
|
4678
4678
|
var ReactiveFlags = /* @__PURE__ */ ((ReactiveFlags2) => {
|
|
@@ -5021,24 +5021,24 @@ function effect(fn) {
|
|
|
5021
5021
|
return effectObj;
|
|
5022
5022
|
}
|
|
5023
5023
|
//#endregion
|
|
5024
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-store@0.9.3_react-dom@19.
|
|
5025
|
-
|
|
5024
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-store@0.9.3_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-store/dist/esm/useStore.js
|
|
5025
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
5026
5026
|
var import_with_selector = require_with_selector();
|
|
5027
5027
|
function defaultCompare(a, b) {
|
|
5028
5028
|
return a === b;
|
|
5029
5029
|
}
|
|
5030
5030
|
function useStore(atom, selector, compare = defaultCompare) {
|
|
5031
|
-
const subscribe =
|
|
5031
|
+
const subscribe = __mf_24$2((handleStoreChange) => {
|
|
5032
5032
|
if (!atom) return () => {};
|
|
5033
5033
|
const { unsubscribe } = atom.subscribe(handleStoreChange);
|
|
5034
5034
|
return unsubscribe;
|
|
5035
5035
|
}, [atom]);
|
|
5036
|
-
const boundGetSnapshot =
|
|
5036
|
+
const boundGetSnapshot = __mf_24$2(() => atom?.get(), [atom]);
|
|
5037
5037
|
return (0, import_with_selector.useSyncExternalStoreWithSelector)(subscribe, boundGetSnapshot, boundGetSnapshot, selector, compare);
|
|
5038
5038
|
}
|
|
5039
5039
|
//#endregion
|
|
5040
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
5041
|
-
|
|
5040
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useMatch.js
|
|
5041
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
5042
5042
|
var dummyStore = {
|
|
5043
5043
|
get() {},
|
|
5044
5044
|
subscribe() {
|
|
@@ -5046,7 +5046,7 @@ var dummyStore = {
|
|
|
5046
5046
|
}
|
|
5047
5047
|
};
|
|
5048
5048
|
function useStructuralSharing(opts, router) {
|
|
5049
|
-
const previousResult =
|
|
5049
|
+
const previousResult = __mf_37$2();
|
|
5050
5050
|
return (slice) => {
|
|
5051
5051
|
const selected = opts?.select ? opts.select(slice) : slice;
|
|
5052
5052
|
if (opts?.structuralSharing ?? router.options.defaultStructuralSharing) return previousResult.current = replaceEqualDeep(previousResult.current, selected);
|
|
@@ -5059,7 +5059,7 @@ function useStructuralSharing(opts, router) {
|
|
|
5059
5059
|
*/
|
|
5060
5060
|
function useMatch(opts) {
|
|
5061
5061
|
const router = useRouter();
|
|
5062
|
-
const nearestMatchId =
|
|
5062
|
+
const nearestMatchId = __mf_25$2(opts.from ? dummyMatchContext : matchContext);
|
|
5063
5063
|
const matchStore = opts.from ? router.stores.getRouteMatchStore(opts.from) : router.stores.matchStores.get(nearestMatchId);
|
|
5064
5064
|
const selector = useStructuralSharing(opts, router);
|
|
5065
5065
|
const matchSelection = useStore(matchStore ?? dummyStore, (match) => match ? selector(match) : dummyStore);
|
|
@@ -5067,7 +5067,7 @@ function useMatch(opts) {
|
|
|
5067
5067
|
if (opts.shouldThrow ?? true) invariant();
|
|
5068
5068
|
}
|
|
5069
5069
|
//#endregion
|
|
5070
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
5070
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useLoaderData.js
|
|
5071
5071
|
/**
|
|
5072
5072
|
* Read and select the current route's loader data with type‑safety.
|
|
5073
5073
|
*
|
|
@@ -5090,7 +5090,7 @@ function useLoaderData(opts) {
|
|
|
5090
5090
|
});
|
|
5091
5091
|
}
|
|
5092
5092
|
//#endregion
|
|
5093
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
5093
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useLoaderDeps.js
|
|
5094
5094
|
/**
|
|
5095
5095
|
* Read and select the current route's loader dependencies object.
|
|
5096
5096
|
*
|
|
@@ -5112,7 +5112,7 @@ function useLoaderDeps(opts) {
|
|
|
5112
5112
|
});
|
|
5113
5113
|
}
|
|
5114
5114
|
//#endregion
|
|
5115
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
5115
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useParams.js
|
|
5116
5116
|
/**
|
|
5117
5117
|
* Access the current route's path parameters with type-safety.
|
|
5118
5118
|
*
|
|
@@ -5138,7 +5138,7 @@ function useParams(opts) {
|
|
|
5138
5138
|
});
|
|
5139
5139
|
}
|
|
5140
5140
|
//#endregion
|
|
5141
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
5141
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useSearch.js
|
|
5142
5142
|
/**
|
|
5143
5143
|
* Read and select the current route's search parameters with type-safety.
|
|
5144
5144
|
*
|
|
@@ -5163,8 +5163,8 @@ function useSearch(opts) {
|
|
|
5163
5163
|
});
|
|
5164
5164
|
}
|
|
5165
5165
|
//#endregion
|
|
5166
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
5167
|
-
|
|
5166
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useNavigate.js
|
|
5167
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
5168
5168
|
/**
|
|
5169
5169
|
* Imperative navigation hook.
|
|
5170
5170
|
*
|
|
@@ -5181,7 +5181,7 @@ init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__
|
|
|
5181
5181
|
*/
|
|
5182
5182
|
function useNavigate(_defaultOpts) {
|
|
5183
5183
|
const router = useRouter();
|
|
5184
|
-
return
|
|
5184
|
+
return __mf_24$2((options) => {
|
|
5185
5185
|
return router.navigate({
|
|
5186
5186
|
...options,
|
|
5187
5187
|
from: options.from ?? _defaultOpts?.from
|
|
@@ -5200,7 +5200,7 @@ function useNavigate(_defaultOpts) {
|
|
|
5200
5200
|
function Navigate(props) {
|
|
5201
5201
|
const router = useRouter();
|
|
5202
5202
|
const navigate = useNavigate();
|
|
5203
|
-
const previousPropsRef =
|
|
5203
|
+
const previousPropsRef = __mf_37$2(null);
|
|
5204
5204
|
useLayoutEffect(() => {
|
|
5205
5205
|
if (previousPropsRef.current !== props) {
|
|
5206
5206
|
navigate(props);
|
|
@@ -5214,7 +5214,7 @@ function Navigate(props) {
|
|
|
5214
5214
|
return null;
|
|
5215
5215
|
}
|
|
5216
5216
|
//#endregion
|
|
5217
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
5217
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useRouteContext.js
|
|
5218
5218
|
function useRouteContext(opts) {
|
|
5219
5219
|
return useMatch({
|
|
5220
5220
|
...opts,
|
|
@@ -5222,8 +5222,8 @@ function useRouteContext(opts) {
|
|
|
5222
5222
|
});
|
|
5223
5223
|
}
|
|
5224
5224
|
//#endregion
|
|
5225
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
5226
|
-
|
|
5225
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/link.js
|
|
5226
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
5227
5227
|
/**
|
|
5228
5228
|
* Build anchor-like props for declarative navigation and preloading.
|
|
5229
5229
|
*
|
|
@@ -5241,7 +5241,7 @@ function useLinkProps(options, forwardedRef) {
|
|
|
5241
5241
|
const innerRef = useForwardedRef(forwardedRef);
|
|
5242
5242
|
const { activeProps, inactiveProps, activeOptions, to, preload: userPreload, preloadDelay: userPreloadDelay, preloadIntentProximity: _preloadIntentProximity, hashScrollIntoView, replace, startTransition, resetScroll, viewTransition, children, target, disabled, style, className, onClick, onBlur, onFocus, onMouseEnter, onMouseLeave, onTouchStart, ignoreBlocker, params: _params, search: _search, hash: _hash, state: _state, mask: _mask, reloadDocument: _reloadDocument, unsafeRelative: _unsafeRelative, from: _from, _fromLocation, ...propsSafeToSpread } = options;
|
|
5243
5243
|
const isHydrated = useHydrated();
|
|
5244
|
-
const _options =
|
|
5244
|
+
const _options = __mf_34$2(() => options, [
|
|
5245
5245
|
router,
|
|
5246
5246
|
options.from,
|
|
5247
5247
|
options._fromLocation,
|
|
@@ -5254,7 +5254,7 @@ function useLinkProps(options, forwardedRef) {
|
|
|
5254
5254
|
options.unsafeRelative
|
|
5255
5255
|
]);
|
|
5256
5256
|
const currentLocation = useStore(router.stores.location, (l) => l, (prev, next) => prev.href === next.href);
|
|
5257
|
-
const next =
|
|
5257
|
+
const next = __mf_34$2(() => {
|
|
5258
5258
|
const opts = {
|
|
5259
5259
|
_fromLocation: currentLocation,
|
|
5260
5260
|
..._options
|
|
@@ -5267,13 +5267,13 @@ function useLinkProps(options, forwardedRef) {
|
|
|
5267
5267
|
]);
|
|
5268
5268
|
const hrefOptionPublicHref = next.maskedLocation ? next.maskedLocation.publicHref : next.publicHref;
|
|
5269
5269
|
const hrefOptionExternal = next.maskedLocation ? next.maskedLocation.external : next.external;
|
|
5270
|
-
const hrefOption =
|
|
5270
|
+
const hrefOption = __mf_34$2(() => getHrefOption(hrefOptionPublicHref, hrefOptionExternal, router.history, disabled), [
|
|
5271
5271
|
disabled,
|
|
5272
5272
|
hrefOptionExternal,
|
|
5273
5273
|
hrefOptionPublicHref,
|
|
5274
5274
|
router.history
|
|
5275
5275
|
]);
|
|
5276
|
-
const externalLink =
|
|
5276
|
+
const externalLink = __mf_34$2(() => {
|
|
5277
5277
|
if (hrefOption?.external) {
|
|
5278
5278
|
if (isDangerousProtocol(hrefOption.href, router.protocolAllowlist)) return;
|
|
5279
5279
|
return hrefOption.href;
|
|
@@ -5290,7 +5290,7 @@ function useLinkProps(options, forwardedRef) {
|
|
|
5290
5290
|
hrefOption,
|
|
5291
5291
|
router.protocolAllowlist
|
|
5292
5292
|
]);
|
|
5293
|
-
const isActive =
|
|
5293
|
+
const isActive = __mf_34$2(() => {
|
|
5294
5294
|
if (externalLink) return false;
|
|
5295
5295
|
if (activeOptions?.exact) {
|
|
5296
5296
|
if (!exactPathTest(currentLocation.pathname, next.pathname, router.basepath)) return false;
|
|
@@ -5332,11 +5332,11 @@ function useLinkProps(options, forwardedRef) {
|
|
|
5332
5332
|
...resolvedActiveProps.style,
|
|
5333
5333
|
...resolvedInactiveProps.style
|
|
5334
5334
|
};
|
|
5335
|
-
const [isTransitioning, setIsTransitioning] =
|
|
5336
|
-
const hasRenderFetched =
|
|
5335
|
+
const [isTransitioning, setIsTransitioning] = __mf_38$2(false);
|
|
5336
|
+
const hasRenderFetched = __mf_37$2(false);
|
|
5337
5337
|
const preload = options.reloadDocument || externalLink ? false : userPreload ?? router.options.defaultPreload;
|
|
5338
5338
|
const preloadDelay = userPreloadDelay ?? router.options.defaultPreloadDelay ?? 0;
|
|
5339
|
-
const doPreload =
|
|
5339
|
+
const doPreload = __mf_24$2(() => {
|
|
5340
5340
|
router.preloadRoute({
|
|
5341
5341
|
..._options,
|
|
5342
5342
|
_builtLocation: next
|
|
@@ -5349,10 +5349,10 @@ function useLinkProps(options, forwardedRef) {
|
|
|
5349
5349
|
_options,
|
|
5350
5350
|
next
|
|
5351
5351
|
]);
|
|
5352
|
-
useIntersectionObserver(innerRef,
|
|
5352
|
+
useIntersectionObserver(innerRef, __mf_24$2((entry) => {
|
|
5353
5353
|
if (entry?.isIntersecting) doPreload();
|
|
5354
5354
|
}, [doPreload]), intersectionObserverOptions, { disabled: !!disabled || !(preload === "viewport") });
|
|
5355
|
-
|
|
5355
|
+
__mf_28$2(() => {
|
|
5356
5356
|
if (hasRenderFetched.current) return;
|
|
5357
5357
|
if (!disabled && preload === "render") {
|
|
5358
5358
|
doPreload();
|
|
@@ -5368,7 +5368,7 @@ function useLinkProps(options, forwardedRef) {
|
|
|
5368
5368
|
const effectiveTarget = target !== void 0 ? target : elementTarget;
|
|
5369
5369
|
if (!disabled && !isCtrlEvent(e) && !e.defaultPrevented && (!effectiveTarget || effectiveTarget === "_self") && e.button === 0) {
|
|
5370
5370
|
e.preventDefault();
|
|
5371
|
-
__mf_2$
|
|
5371
|
+
__mf_2$4(() => {
|
|
5372
5372
|
setIsTransitioning(true);
|
|
5373
5373
|
});
|
|
5374
5374
|
const unsub = router.subscribe("onResolved", () => {
|
|
@@ -5500,7 +5500,7 @@ function isSafeInternal(to) {
|
|
|
5500
5500
|
* @link https://tanstack.com/router/latest/docs/framework/react/guide/custom-link
|
|
5501
5501
|
*/
|
|
5502
5502
|
function createLink(Comp) {
|
|
5503
|
-
return
|
|
5503
|
+
return __mf_16$2(function CreatedLink(props, ref) {
|
|
5504
5504
|
return /* @__PURE__ */ __mf_1$2(Link, {
|
|
5505
5505
|
...props,
|
|
5506
5506
|
_asChild: Comp,
|
|
@@ -5524,15 +5524,15 @@ function createLink(Comp) {
|
|
|
5524
5524
|
* @returns An anchor-like element that navigates without full page reloads.
|
|
5525
5525
|
* @link https://tanstack.com/router/latest/docs/framework/react/api/router/linkComponent
|
|
5526
5526
|
*/
|
|
5527
|
-
var Link =
|
|
5527
|
+
var Link = __mf_16$2((props, ref) => {
|
|
5528
5528
|
const { _asChild, ...rest } = props;
|
|
5529
5529
|
const { type: _type, ...linkProps } = useLinkProps(rest, ref);
|
|
5530
5530
|
const children = typeof rest.children === "function" ? rest.children({ isActive: linkProps["data-status"] === "active" }) : rest.children;
|
|
5531
5531
|
if (!_asChild) {
|
|
5532
5532
|
const { disabled: _, ...rest } = linkProps;
|
|
5533
|
-
return
|
|
5533
|
+
return __mf_14$2("a", rest, children);
|
|
5534
5534
|
}
|
|
5535
|
-
return
|
|
5535
|
+
return __mf_14$2(_asChild, linkProps, children);
|
|
5536
5536
|
});
|
|
5537
5537
|
function isCtrlEvent(e) {
|
|
5538
5538
|
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
@@ -5548,8 +5548,8 @@ var linkOptions = (options) => {
|
|
|
5548
5548
|
return options;
|
|
5549
5549
|
};
|
|
5550
5550
|
//#endregion
|
|
5551
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
5552
|
-
|
|
5551
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/route.js
|
|
5552
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
5553
5553
|
/**
|
|
5554
5554
|
* Returns a route-specific API that exposes type-safe hooks pre-bound
|
|
5555
5555
|
* to a single route ID. Useful for consuming a route's APIs from files
|
|
@@ -5799,7 +5799,7 @@ var NotFoundRoute = class extends Route {
|
|
|
5799
5799
|
}
|
|
5800
5800
|
};
|
|
5801
5801
|
//#endregion
|
|
5802
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
5802
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/fileRoute.js
|
|
5803
5803
|
/**
|
|
5804
5804
|
* Creates a file-based Route factory for a given path.
|
|
5805
5805
|
*
|
|
@@ -5922,8 +5922,8 @@ function createLazyFileRoute(id) {
|
|
|
5922
5922
|
});
|
|
5923
5923
|
}
|
|
5924
5924
|
//#endregion
|
|
5925
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
5926
|
-
|
|
5925
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/lazyRouteComponent.js
|
|
5926
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
5927
5927
|
/**
|
|
5928
5928
|
* Wrap a dynamic import to create a route component that supports
|
|
5929
5929
|
* `.preload()` and friendly reload-on-module-missing behavior.
|
|
@@ -5964,14 +5964,14 @@ function lazyRouteComponent(importer, exportName) {
|
|
|
5964
5964
|
if (error) throw error;
|
|
5965
5965
|
if (!comp) if (reactUse) reactUse(load());
|
|
5966
5966
|
else throw load();
|
|
5967
|
-
return
|
|
5967
|
+
return __mf_14$2(comp, props);
|
|
5968
5968
|
};
|
|
5969
5969
|
lazyComp.preload = load;
|
|
5970
5970
|
return lazyComp;
|
|
5971
5971
|
}
|
|
5972
5972
|
//#endregion
|
|
5973
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
5974
|
-
|
|
5973
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/not-found.js
|
|
5974
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
5975
5975
|
function CatchNotFound(props) {
|
|
5976
5976
|
const router = useRouter();
|
|
5977
5977
|
const resetKey = `not-found-${useStore(router.stores.location, (location) => location.pathname)}-${useStore(router.stores.status, (status) => status)}`;
|
|
@@ -5992,7 +5992,7 @@ function DefaultGlobalNotFound() {
|
|
|
5992
5992
|
return /* @__PURE__ */ __mf_1$2("p", { children: "Not Found" });
|
|
5993
5993
|
}
|
|
5994
5994
|
//#endregion
|
|
5995
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
5995
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/ScriptOnce.js
|
|
5996
5996
|
/**
|
|
5997
5997
|
* Server-only helper to emit a script tag exactly once during SSR.
|
|
5998
5998
|
*/
|
|
@@ -6001,14 +6001,14 @@ function ScriptOnce({ children }) {
|
|
|
6001
6001
|
return null;
|
|
6002
6002
|
}
|
|
6003
6003
|
//#endregion
|
|
6004
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6005
|
-
|
|
6004
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/SafeFragment.js
|
|
6005
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
6006
6006
|
function SafeFragment(props) {
|
|
6007
6007
|
return /* @__PURE__ */ __mf_1$2(__mf_0$2, { children: props.children });
|
|
6008
6008
|
}
|
|
6009
6009
|
//#endregion
|
|
6010
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6011
|
-
|
|
6010
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/renderRouteNotFound.js
|
|
6011
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
6012
6012
|
/**
|
|
6013
6013
|
* Renders a not found component for a route when no matching route is found.
|
|
6014
6014
|
*
|
|
@@ -6025,11 +6025,11 @@ function renderRouteNotFound(router, route, data) {
|
|
|
6025
6025
|
return /* @__PURE__ */ __mf_1$2(route.options.notFoundComponent, { ...data });
|
|
6026
6026
|
}
|
|
6027
6027
|
//#endregion
|
|
6028
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6029
|
-
|
|
6028
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/Match.js
|
|
6029
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
6030
6030
|
var matchViewFieldsEqual = (a, b) => a.routeId === b.routeId && a._displayPending === b._displayPending;
|
|
6031
6031
|
var outletMatchSelectionEqual = (a, b) => a[0] === b[0] && a[1] === b[1];
|
|
6032
|
-
var Match =
|
|
6032
|
+
var Match = __mf_19$2(function MatchImpl({ matchId }) {
|
|
6033
6033
|
const router = useRouter();
|
|
6034
6034
|
const matchStore = router.stores.matchStores.get(matchId);
|
|
6035
6035
|
if (!matchStore) invariant();
|
|
@@ -6039,7 +6039,7 @@ var Match = __mf_17$2(function MatchImpl({ matchId }) {
|
|
|
6039
6039
|
router,
|
|
6040
6040
|
matchId,
|
|
6041
6041
|
resetKey,
|
|
6042
|
-
matchState:
|
|
6042
|
+
matchState: __mf_34$2(() => {
|
|
6043
6043
|
const routeId = match.routeId;
|
|
6044
6044
|
const parentRouteId = router.routesById[routeId].parentRoute?.id;
|
|
6045
6045
|
return {
|
|
@@ -6064,10 +6064,10 @@ function MatchView({ router, matchId, resetKey, matchState }) {
|
|
|
6064
6064
|
const routeOnCatch = route.options.onCatch ?? router.options.defaultOnCatch;
|
|
6065
6065
|
const routeNotFoundComponent = route.isRoot ? route.options.notFoundComponent ?? router.options.notFoundRoute?.options.component : route.options.notFoundComponent;
|
|
6066
6066
|
const resolvedNoSsr = matchState.ssr === false || matchState.ssr === "data-only";
|
|
6067
|
-
const ResolvedSuspenseBoundary = (!route.isRoot || route.options.wrapInSuspense || resolvedNoSsr) && (route.options.wrapInSuspense ?? PendingComponent ?? (route.options.errorComponent?.preload || resolvedNoSsr)) ?
|
|
6067
|
+
const ResolvedSuspenseBoundary = (!route.isRoot || route.options.wrapInSuspense || resolvedNoSsr) && (route.options.wrapInSuspense ?? PendingComponent ?? (route.options.errorComponent?.preload || resolvedNoSsr)) ? __mf_7$2 : SafeFragment;
|
|
6068
6068
|
const ResolvedCatchBoundary = routeErrorComponent ? CatchBoundary : SafeFragment;
|
|
6069
6069
|
const ResolvedNotFoundBoundary = routeNotFoundComponent ? CatchNotFound : SafeFragment;
|
|
6070
|
-
return /* @__PURE__ */ __mf_2$
|
|
6070
|
+
return /* @__PURE__ */ __mf_2$3(route.isRoot ? route.options.shellComponent ?? SafeFragment : SafeFragment, { children: [/* @__PURE__ */ __mf_1$2(matchContext.Provider, {
|
|
6071
6071
|
value: matchId,
|
|
6072
6072
|
children: /* @__PURE__ */ __mf_1$2(ResolvedSuspenseBoundary, {
|
|
6073
6073
|
fallback: pendingElement,
|
|
@@ -6085,7 +6085,7 @@ function MatchView({ router, matchId, resetKey, matchState }) {
|
|
|
6085
6085
|
fallback: (error) => {
|
|
6086
6086
|
error.routeId ??= matchState.routeId;
|
|
6087
6087
|
if (!routeNotFoundComponent || error.routeId && error.routeId !== matchState.routeId || !error.routeId && !route.isRoot) throw error;
|
|
6088
|
-
return
|
|
6088
|
+
return __mf_14$2(routeNotFoundComponent, error);
|
|
6089
6089
|
},
|
|
6090
6090
|
children: resolvedNoSsr || matchState._displayPending ? /* @__PURE__ */ __mf_1$2(ClientOnly, {
|
|
6091
6091
|
fallback: pendingElement,
|
|
@@ -6094,11 +6094,11 @@ function MatchView({ router, matchId, resetKey, matchState }) {
|
|
|
6094
6094
|
})
|
|
6095
6095
|
})
|
|
6096
6096
|
})
|
|
6097
|
-
}), matchState.parentRouteId === "__root__" ? /* @__PURE__ */ __mf_2$
|
|
6097
|
+
}), matchState.parentRouteId === "__root__" ? /* @__PURE__ */ __mf_2$3(__mf_0$2, { children: [/* @__PURE__ */ __mf_1$2(OnRendered, {}), (router.options.scrollRestoration, null)] }) : null] });
|
|
6098
6098
|
}
|
|
6099
6099
|
function OnRendered() {
|
|
6100
6100
|
const router = useRouter();
|
|
6101
|
-
const prevResolvedLocationRef =
|
|
6101
|
+
const prevResolvedLocationRef = __mf_37$2();
|
|
6102
6102
|
useLayoutEffect(() => {
|
|
6103
6103
|
const currentResolvedLocation = router.stores.resolvedLocation.get();
|
|
6104
6104
|
const previousResolvedLocation = prevResolvedLocationRef.current;
|
|
@@ -6110,7 +6110,7 @@ function OnRendered() {
|
|
|
6110
6110
|
}, [useStore(router.stores.resolvedLocation, (resolvedLocation) => resolvedLocation?.state.__TSR_key), router]);
|
|
6111
6111
|
return null;
|
|
6112
6112
|
}
|
|
6113
|
-
var MatchInner =
|
|
6113
|
+
var MatchInner = __mf_19$2(function MatchInnerImpl({ matchId }) {
|
|
6114
6114
|
const router = useRouter();
|
|
6115
6115
|
const getMatchPromise = (match, key) => {
|
|
6116
6116
|
return router.getMatch(match.id)?._nonReactive[key] ?? match._nonReactive[key];
|
|
@@ -6120,7 +6120,7 @@ var MatchInner = __mf_17$2(function MatchInnerImpl({ matchId }) {
|
|
|
6120
6120
|
const match = useStore(matchStore, (value) => value);
|
|
6121
6121
|
const routeId = match.routeId;
|
|
6122
6122
|
const route = router.routesById[routeId];
|
|
6123
|
-
const key =
|
|
6123
|
+
const key = __mf_34$2(() => {
|
|
6124
6124
|
const remountDeps = (router.routesById[routeId].options.remountDeps ?? router.options.defaultRemountDeps)?.({
|
|
6125
6125
|
routeId,
|
|
6126
6126
|
loaderDeps: match.loaderDeps,
|
|
@@ -6136,7 +6136,7 @@ var MatchInner = __mf_17$2(function MatchInnerImpl({ matchId }) {
|
|
|
6136
6136
|
router.options.defaultRemountDeps,
|
|
6137
6137
|
router.routesById
|
|
6138
6138
|
]);
|
|
6139
|
-
const out =
|
|
6139
|
+
const out = __mf_34$2(() => {
|
|
6140
6140
|
const Comp = route.options.component ?? router.options.defaultComponent;
|
|
6141
6141
|
if (Comp) return /* @__PURE__ */ __mf_1$2(Comp, {}, key);
|
|
6142
6142
|
return /* @__PURE__ */ __mf_1$2(Outlet, {});
|
|
@@ -6179,9 +6179,9 @@ var MatchInner = __mf_17$2(function MatchInnerImpl({ matchId }) {
|
|
|
6179
6179
|
*
|
|
6180
6180
|
* @link https://tanstack.com/router/latest/docs/framework/react/api/router/outletComponent
|
|
6181
6181
|
*/
|
|
6182
|
-
var Outlet =
|
|
6182
|
+
var Outlet = __mf_19$2(function OutletImpl() {
|
|
6183
6183
|
const router = useRouter();
|
|
6184
|
-
const matchId =
|
|
6184
|
+
const matchId = __mf_25$2(matchContext);
|
|
6185
6185
|
let routeId;
|
|
6186
6186
|
let parentGlobalNotFound = false;
|
|
6187
6187
|
let childMatchId;
|
|
@@ -6200,22 +6200,22 @@ var Outlet = __mf_17$2(function OutletImpl() {
|
|
|
6200
6200
|
}
|
|
6201
6201
|
if (!childMatchId) return null;
|
|
6202
6202
|
const nextMatch = /* @__PURE__ */ __mf_1$2(Match, { matchId: childMatchId });
|
|
6203
|
-
if (routeId === "__root__") return /* @__PURE__ */ __mf_1$2(
|
|
6203
|
+
if (routeId === "__root__") return /* @__PURE__ */ __mf_1$2(__mf_7$2, {
|
|
6204
6204
|
fallback: pendingElement,
|
|
6205
6205
|
children: nextMatch
|
|
6206
6206
|
});
|
|
6207
6207
|
return nextMatch;
|
|
6208
6208
|
});
|
|
6209
6209
|
//#endregion
|
|
6210
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6211
|
-
|
|
6210
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/Transitioner.js
|
|
6211
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
6212
6212
|
function Transitioner() {
|
|
6213
6213
|
const router = useRouter();
|
|
6214
|
-
const mountLoadForRouter =
|
|
6214
|
+
const mountLoadForRouter = __mf_37$2({
|
|
6215
6215
|
router,
|
|
6216
6216
|
mounted: false
|
|
6217
6217
|
});
|
|
6218
|
-
const [isTransitioning, setIsTransitioning] =
|
|
6218
|
+
const [isTransitioning, setIsTransitioning] = __mf_38$2(false);
|
|
6219
6219
|
const isLoading = useStore(router.stores.isLoading, (value) => value);
|
|
6220
6220
|
const hasPending = useStore(router.stores.hasPending, (value) => value);
|
|
6221
6221
|
const previousIsLoading = usePrevious(isLoading);
|
|
@@ -6225,12 +6225,12 @@ function Transitioner() {
|
|
|
6225
6225
|
const previousIsPagePending = usePrevious(isPagePending);
|
|
6226
6226
|
router.startTransition = (fn) => {
|
|
6227
6227
|
setIsTransitioning(true);
|
|
6228
|
-
|
|
6228
|
+
__mf_20$2(() => {
|
|
6229
6229
|
fn();
|
|
6230
6230
|
setIsTransitioning(false);
|
|
6231
6231
|
});
|
|
6232
6232
|
};
|
|
6233
|
-
|
|
6233
|
+
__mf_28$2(() => {
|
|
6234
6234
|
const unsub = router.history.subscribe(router.load);
|
|
6235
6235
|
const nextLocation = router.buildLocation({
|
|
6236
6236
|
to: router.latestLocation.pathname,
|
|
@@ -6303,8 +6303,8 @@ function Transitioner() {
|
|
|
6303
6303
|
return null;
|
|
6304
6304
|
}
|
|
6305
6305
|
//#endregion
|
|
6306
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6307
|
-
|
|
6306
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/Matches.js
|
|
6307
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
6308
6308
|
/**
|
|
6309
6309
|
* Internal component that renders the router's active match tree with
|
|
6310
6310
|
* suspense, error, and not-found boundaries. Rendered by `RouterProvider`.
|
|
@@ -6313,7 +6313,7 @@ function Matches() {
|
|
|
6313
6313
|
const router = useRouter();
|
|
6314
6314
|
const PendingComponent = router.routesById["__root__"].options.pendingComponent ?? router.options.defaultPendingComponent;
|
|
6315
6315
|
const pendingElement = PendingComponent ? /* @__PURE__ */ __mf_1$2(PendingComponent, {}) : null;
|
|
6316
|
-
const inner = /* @__PURE__ */ __mf_2$
|
|
6316
|
+
const inner = /* @__PURE__ */ __mf_2$3(typeof document !== "undefined" && router.ssr ? SafeFragment : __mf_7$2, {
|
|
6317
6317
|
fallback: pendingElement,
|
|
6318
6318
|
children: [/* @__PURE__ */ __mf_1$2(Transitioner, {}), /* @__PURE__ */ __mf_1$2(MatchesInner, {})]
|
|
6319
6319
|
});
|
|
@@ -6349,7 +6349,7 @@ function MatchesInner() {
|
|
|
6349
6349
|
function useMatchRoute() {
|
|
6350
6350
|
const router = useRouter();
|
|
6351
6351
|
useStore(router.stores.matchRouteDeps, (d) => d);
|
|
6352
|
-
return
|
|
6352
|
+
return __mf_24$2((opts) => {
|
|
6353
6353
|
const { pending, caseSensitive, fuzzy, includeSearch, ...rest } = opts;
|
|
6354
6354
|
return router.matchRoute(rest, {
|
|
6355
6355
|
pending,
|
|
@@ -6391,7 +6391,7 @@ function useMatches(opts) {
|
|
|
6391
6391
|
* @link https://tanstack.com/router/latest/docs/framework/react/api/router/useMatchesHook
|
|
6392
6392
|
*/
|
|
6393
6393
|
function useParentMatches(opts) {
|
|
6394
|
-
const contextMatchId =
|
|
6394
|
+
const contextMatchId = __mf_25$2(matchContext);
|
|
6395
6395
|
return useMatches({
|
|
6396
6396
|
select: (matches) => {
|
|
6397
6397
|
matches = matches.slice(0, matches.findIndex((d) => d.id === contextMatchId));
|
|
@@ -6405,7 +6405,7 @@ function useParentMatches(opts) {
|
|
|
6405
6405
|
* match (or selected parent) in the match tree.
|
|
6406
6406
|
*/
|
|
6407
6407
|
function useChildMatches(opts) {
|
|
6408
|
-
const contextMatchId =
|
|
6408
|
+
const contextMatchId = __mf_25$2(matchContext);
|
|
6409
6409
|
return useMatches({
|
|
6410
6410
|
select: (matches) => {
|
|
6411
6411
|
matches = matches.slice(matches.findIndex((d) => d.id === contextMatchId) + 1);
|
|
@@ -6415,7 +6415,7 @@ function useChildMatches(opts) {
|
|
|
6415
6415
|
});
|
|
6416
6416
|
}
|
|
6417
6417
|
//#endregion
|
|
6418
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6418
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/routerStores.js
|
|
6419
6419
|
var getStoreFactory = (opts) => {
|
|
6420
6420
|
return {
|
|
6421
6421
|
createMutableStore: createAtom,
|
|
@@ -6424,7 +6424,7 @@ var getStoreFactory = (opts) => {
|
|
|
6424
6424
|
};
|
|
6425
6425
|
};
|
|
6426
6426
|
//#endregion
|
|
6427
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6427
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/router.js
|
|
6428
6428
|
/**
|
|
6429
6429
|
* Creates a new Router instance for React.
|
|
6430
6430
|
*
|
|
@@ -6445,8 +6445,8 @@ var Router = class extends RouterCore {
|
|
|
6445
6445
|
}
|
|
6446
6446
|
};
|
|
6447
6447
|
//#endregion
|
|
6448
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6449
|
-
|
|
6448
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/RouterProvider.js
|
|
6449
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
6450
6450
|
/**
|
|
6451
6451
|
* Low-level provider that places the router into React context and optionally
|
|
6452
6452
|
* updates router options from props. Most apps should use `RouterProvider`.
|
|
@@ -6484,7 +6484,7 @@ function RouterProvider({ router, ...rest }) {
|
|
|
6484
6484
|
});
|
|
6485
6485
|
}
|
|
6486
6486
|
//#endregion
|
|
6487
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6487
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/ScrollRestoration.js
|
|
6488
6488
|
function useScrollRestoration() {
|
|
6489
6489
|
setupScrollRestoration(useRouter(), true);
|
|
6490
6490
|
}
|
|
@@ -6500,8 +6500,8 @@ function useElementScrollRestoration(options) {
|
|
|
6500
6500
|
return getElementScrollRestorationEntry(useRouter(), options);
|
|
6501
6501
|
}
|
|
6502
6502
|
//#endregion
|
|
6503
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6504
|
-
|
|
6503
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useBlocker.js
|
|
6504
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
6505
6505
|
function _resolveBlockerOpts(opts, condition) {
|
|
6506
6506
|
if (opts === void 0) return {
|
|
6507
6507
|
shouldBlockFn: () => true,
|
|
@@ -6536,7 +6536,7 @@ function useBlocker(opts, condition) {
|
|
|
6536
6536
|
const { shouldBlockFn, enableBeforeUnload = true, disabled = false, withResolver = false } = _resolveBlockerOpts(opts, condition);
|
|
6537
6537
|
const router = useRouter();
|
|
6538
6538
|
const { history } = router;
|
|
6539
|
-
const [resolver, setResolver] =
|
|
6539
|
+
const [resolver, setResolver] = __mf_38$2({
|
|
6540
6540
|
status: "idle",
|
|
6541
6541
|
current: void 0,
|
|
6542
6542
|
next: void 0,
|
|
@@ -6544,7 +6544,7 @@ function useBlocker(opts, condition) {
|
|
|
6544
6544
|
proceed: void 0,
|
|
6545
6545
|
reset: void 0
|
|
6546
6546
|
});
|
|
6547
|
-
|
|
6547
|
+
__mf_28$2(() => {
|
|
6548
6548
|
const blockerFnComposed = async (blockerFnArgs) => {
|
|
6549
6549
|
function getLocation(location) {
|
|
6550
6550
|
const parsedLocation = router.parseLocation(location);
|
|
@@ -6628,7 +6628,7 @@ function Block(opts) {
|
|
|
6628
6628
|
return children ? typeof children === "function" ? children(resolver) : children : null;
|
|
6629
6629
|
}
|
|
6630
6630
|
//#endregion
|
|
6631
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6631
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useRouterState.js
|
|
6632
6632
|
/**
|
|
6633
6633
|
* Subscribe to the router's state store with optional selection and
|
|
6634
6634
|
* structural sharing for render optimization.
|
|
@@ -6647,7 +6647,7 @@ function useRouterState(opts) {
|
|
|
6647
6647
|
return useStore(router.stores.__store, useStructuralSharing(opts, router));
|
|
6648
6648
|
}
|
|
6649
6649
|
//#endregion
|
|
6650
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6650
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useLocation.js
|
|
6651
6651
|
/**
|
|
6652
6652
|
* Read the current location from the router state with optional selection.
|
|
6653
6653
|
* Useful for subscribing to just the pieces of location you care about.
|
|
@@ -6664,13 +6664,13 @@ function useLocation(opts) {
|
|
|
6664
6664
|
return useStore(router.stores.location, useStructuralSharing(opts, router));
|
|
6665
6665
|
}
|
|
6666
6666
|
//#endregion
|
|
6667
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6667
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/useCanGoBack.js
|
|
6668
6668
|
function useCanGoBack() {
|
|
6669
6669
|
return useStore(useRouter().stores.location, (location) => location.state.__TSR_index !== 0);
|
|
6670
6670
|
}
|
|
6671
6671
|
//#endregion
|
|
6672
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6673
|
-
|
|
6672
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/Asset.js
|
|
6673
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
6674
6674
|
var INLINE_CSS_HYDRATION_ATTR = "data-tsr-inline-css";
|
|
6675
6675
|
function setScriptAttrs(script, attrs) {
|
|
6676
6676
|
if (!attrs) return;
|
|
@@ -6715,7 +6715,7 @@ function Asset(asset) {
|
|
|
6715
6715
|
}
|
|
6716
6716
|
function InlineCssStyle({ attrs, children, nonce }) {
|
|
6717
6717
|
const isInlineCssPlaceholder = children === void 0;
|
|
6718
|
-
const [hydratedInlineCss] =
|
|
6718
|
+
const [hydratedInlineCss] = __mf_38$2(() => {
|
|
6719
6719
|
if (!isInlineCssPlaceholder || typeof document === "undefined") return;
|
|
6720
6720
|
return document.querySelector(`style[${INLINE_CSS_HYDRATION_ATTR}]`)?.textContent ?? void 0;
|
|
6721
6721
|
});
|
|
@@ -6732,7 +6732,7 @@ function Script({ attrs, children, preventScriptHoist }) {
|
|
|
6732
6732
|
useRouter();
|
|
6733
6733
|
const hydrated = useHydrated();
|
|
6734
6734
|
const dataScript = typeof attrs?.type === "string" && attrs.type !== "" && attrs.type !== "text/javascript" && attrs.type !== "module";
|
|
6735
|
-
|
|
6735
|
+
__mf_28$2(() => {
|
|
6736
6736
|
if (dataScript) return;
|
|
6737
6737
|
if (attrs?.src) {
|
|
6738
6738
|
const normSrc = (() => {
|
|
@@ -6788,8 +6788,8 @@ function Script({ attrs, children, preventScriptHoist }) {
|
|
|
6788
6788
|
return null;
|
|
6789
6789
|
}
|
|
6790
6790
|
//#endregion
|
|
6791
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6792
|
-
|
|
6791
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/headContentUtils.js
|
|
6792
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
6793
6793
|
/**
|
|
6794
6794
|
* Build the list of head/link/meta/script tags to render for active matches.
|
|
6795
6795
|
* Used internally by `HeadContent`.
|
|
@@ -6800,7 +6800,7 @@ var useTags = (assetCrossOrigin) => {
|
|
|
6800
6800
|
const routeMeta = useStore(router.stores.matches, (matches) => {
|
|
6801
6801
|
return matches.map((match) => match.meta).filter((meta) => meta !== void 0);
|
|
6802
6802
|
}, deepEqual);
|
|
6803
|
-
const meta =
|
|
6803
|
+
const meta = __mf_34$2(() => {
|
|
6804
6804
|
const resultMeta = [];
|
|
6805
6805
|
const metaByAttribute = {};
|
|
6806
6806
|
let title;
|
|
@@ -6933,8 +6933,8 @@ var useTags = (assetCrossOrigin) => {
|
|
|
6933
6933
|
return tags;
|
|
6934
6934
|
};
|
|
6935
6935
|
//#endregion
|
|
6936
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6937
|
-
|
|
6936
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/HeadContent.js
|
|
6937
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
6938
6938
|
/**
|
|
6939
6939
|
* Render route-managed head tags (title, meta, links, styles, head scripts).
|
|
6940
6940
|
* Place inside the document head of your app shell.
|
|
@@ -6943,15 +6943,15 @@ init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__
|
|
|
6943
6943
|
function HeadContent(props) {
|
|
6944
6944
|
const tags = useTags(props.assetCrossOrigin);
|
|
6945
6945
|
const nonce = useRouter().options.ssr?.nonce;
|
|
6946
|
-
return /* @__PURE__ */ __mf_1$2(__mf_0$2, { children: tags.map((tag) => /* @__PURE__ */
|
|
6946
|
+
return /* @__PURE__ */ __mf_1$2(__mf_0$2, { children: tags.map((tag) => /* @__PURE__ */ __mf_14$2(Asset, {
|
|
6947
6947
|
...tag,
|
|
6948
6948
|
key: `tsr-meta-${JSON.stringify(tag)}`,
|
|
6949
6949
|
nonce
|
|
6950
6950
|
})) });
|
|
6951
6951
|
}
|
|
6952
6952
|
//#endregion
|
|
6953
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
6954
|
-
|
|
6953
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/Scripts.js
|
|
6954
|
+
init__virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare__react__loadShare__();
|
|
6955
6955
|
/**
|
|
6956
6956
|
* Render body script tags collected from route matches and SSR manifests.
|
|
6957
6957
|
* Should be placed near the end of the document body.
|
|
@@ -6991,13 +6991,14 @@ var Scripts = () => {
|
|
|
6991
6991
|
return renderScripts(router, useStore(router.stores.matches, getScripts, deepEqual), assetScripts);
|
|
6992
6992
|
};
|
|
6993
6993
|
function renderScripts(router, scripts, assetScripts) {
|
|
6994
|
-
|
|
6994
|
+
const allScripts = [...scripts, ...assetScripts];
|
|
6995
|
+
return /* @__PURE__ */ __mf_1$2(__mf_0$2, { children: allScripts.map((asset, i) => /* @__PURE__ */ __mf_14$2(Asset, {
|
|
6995
6996
|
...asset,
|
|
6996
6997
|
key: `tsr-scripts-${asset.tag}-${i}`
|
|
6997
6998
|
})) });
|
|
6998
6999
|
}
|
|
6999
7000
|
//#endregion
|
|
7000
|
-
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.
|
|
7001
|
+
//#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.2.8_react@19.2.8/node_modules/@tanstack/react-router/dist/esm/index.js
|
|
7001
7002
|
var esm_exports = /* @__PURE__ */ __exportAll({
|
|
7002
7003
|
Asset: () => Asset,
|
|
7003
7004
|
Await: () => Await,
|
|
@@ -7101,8 +7102,8 @@ var esm_exports = /* @__PURE__ */ __exportAll({
|
|
|
7101
7102
|
useTags: () => useTags
|
|
7102
7103
|
});
|
|
7103
7104
|
//#endregion
|
|
7104
|
-
//#region \0virtual:mf:
|
|
7105
|
-
var
|
|
7105
|
+
//#region \0virtual:mf:__mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild__.js
|
|
7106
|
+
var _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___exports = /* @__PURE__ */ __exportAll({
|
|
7106
7107
|
Asset: () => __mf_0$1,
|
|
7107
7108
|
Await: () => __mf_1$1,
|
|
7108
7109
|
Block: () => __mf_2$1,
|
|
@@ -7152,7 +7153,7 @@ var _virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild___mf_0_tanstack_mf_1_
|
|
|
7152
7153
|
createRouterConfig: () => __mf_46$1,
|
|
7153
7154
|
createSerializationAdapter: () => __mf_47$1,
|
|
7154
7155
|
deepEqual: () => __mf_48$1,
|
|
7155
|
-
default: () =>
|
|
7156
|
+
default: () => _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___default,
|
|
7156
7157
|
defaultParseSearch: () => __mf_49$1,
|
|
7157
7158
|
defaultStringifySearch: () => __mf_50$1,
|
|
7158
7159
|
defer: () => __mf_51$1,
|
|
@@ -7306,9 +7307,9 @@ var __mf_96$1 = __mfPrebuildExports["useRouter"];
|
|
|
7306
7307
|
var __mf_97$1 = __mfPrebuildExports["useRouterState"];
|
|
7307
7308
|
var __mf_98$1 = __mfPrebuildExports["useSearch"];
|
|
7308
7309
|
var __mf_99$1 = __mfPrebuildExports["useTags"];
|
|
7309
|
-
var
|
|
7310
|
+
var _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___default = Reflect.get(esm_exports, "default") ?? esm_exports;
|
|
7310
7311
|
//#endregion
|
|
7311
|
-
//#region \0virtual:mf:
|
|
7312
|
+
//#region \0virtual:mf:__mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js
|
|
7312
7313
|
var __mfCacheGlobalKey = "__mf_module_cache__";
|
|
7313
7314
|
globalThis[__mfCacheGlobalKey] ||= {
|
|
7314
7315
|
share: {},
|
|
@@ -7329,6 +7330,7 @@ var __mfReadSharedCache = (cache, descriptor) => {
|
|
|
7329
7330
|
if (value !== void 0) return value;
|
|
7330
7331
|
const aliases = descriptor.aliases || [];
|
|
7331
7332
|
for (const alias of aliases) {
|
|
7333
|
+
if (!Object.prototype.hasOwnProperty.call(cache, alias)) continue;
|
|
7332
7334
|
const aliasValue = cache[alias];
|
|
7333
7335
|
if (aliasValue !== void 0) {
|
|
7334
7336
|
cache[descriptor.canonical] = aliasValue;
|
|
@@ -7336,45 +7338,199 @@ var __mfReadSharedCache = (cache, descriptor) => {
|
|
|
7336
7338
|
}
|
|
7337
7339
|
}
|
|
7338
7340
|
};
|
|
7339
|
-
var
|
|
7341
|
+
var __mfSharedCacheListenersKey = Symbol.for("module-federation.shared-cache-listeners");
|
|
7342
|
+
var __mfGetSharedCacheListeners = (cache) => {
|
|
7343
|
+
let listeners = cache[__mfSharedCacheListenersKey];
|
|
7344
|
+
if (listeners === void 0) {
|
|
7345
|
+
listeners = Object.create(null);
|
|
7346
|
+
Object.defineProperty(cache, __mfSharedCacheListenersKey, {
|
|
7347
|
+
value: listeners,
|
|
7348
|
+
enumerable: false,
|
|
7349
|
+
configurable: false,
|
|
7350
|
+
writable: false
|
|
7351
|
+
});
|
|
7352
|
+
}
|
|
7353
|
+
return listeners;
|
|
7354
|
+
};
|
|
7355
|
+
var __mfSubscribeSharedCache = (cache, descriptor, listener) => {
|
|
7356
|
+
const listeners = __mfGetSharedCacheListeners(cache);
|
|
7357
|
+
(listeners[descriptor.canonical] ||= /* @__PURE__ */ new Set()).add(listener);
|
|
7358
|
+
};
|
|
7359
|
+
var __mfSharedCacheOwnersKey = Symbol.for("module-federation.shared-cache-owners");
|
|
7360
|
+
var __mfGetSharedCacheOwners = (cache) => {
|
|
7361
|
+
let owners = cache[__mfSharedCacheOwnersKey];
|
|
7362
|
+
if (owners === void 0) {
|
|
7363
|
+
owners = Object.create(null);
|
|
7364
|
+
Object.defineProperty(cache, __mfSharedCacheOwnersKey, {
|
|
7365
|
+
value: owners,
|
|
7366
|
+
enumerable: false,
|
|
7367
|
+
configurable: false,
|
|
7368
|
+
writable: false
|
|
7369
|
+
});
|
|
7370
|
+
}
|
|
7371
|
+
return owners;
|
|
7372
|
+
};
|
|
7373
|
+
var __mfWriteSharedCache = (cache, descriptor, value, owner) => {
|
|
7340
7374
|
cache[descriptor.canonical] = value;
|
|
7341
7375
|
const aliases = descriptor.aliases || [];
|
|
7342
|
-
for (const alias of aliases)
|
|
7376
|
+
for (const alias of aliases) Object.defineProperty(cache, alias, {
|
|
7377
|
+
value,
|
|
7378
|
+
enumerable: true,
|
|
7379
|
+
configurable: true,
|
|
7380
|
+
writable: true
|
|
7381
|
+
});
|
|
7382
|
+
const owners = cache[__mfSharedCacheOwnersKey];
|
|
7383
|
+
if (owner === void 0) {
|
|
7384
|
+
if (owners) delete owners[descriptor.canonical];
|
|
7385
|
+
} else __mfGetSharedCacheOwners(cache)[descriptor.canonical] = owner;
|
|
7386
|
+
const listeners = cache[__mfSharedCacheListenersKey]?.[descriptor.canonical];
|
|
7387
|
+
if (listeners) for (const listener of listeners) listener(value);
|
|
7343
7388
|
return value;
|
|
7344
7389
|
};
|
|
7345
7390
|
var __mfNormalizeShareModule = (mod) => {
|
|
7346
|
-
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7391
|
+
const normalized = (() => {
|
|
7392
|
+
let current = mod;
|
|
7393
|
+
for (let i = 0; i < 5; i++) {
|
|
7394
|
+
const defaultExport = current?.default;
|
|
7395
|
+
if (!defaultExport || typeof defaultExport !== "object") break;
|
|
7396
|
+
const namedValues = Object.keys(current).filter((key) => key !== "default").map((key) => current[key]);
|
|
7397
|
+
if (namedValues.length > 0 && namedValues.some((value) => value !== void 0)) break;
|
|
7398
|
+
current = defaultExport;
|
|
7399
|
+
}
|
|
7400
|
+
return current;
|
|
7401
|
+
})();
|
|
7402
|
+
return normalized && Object.getPrototypeOf(normalized) === null ? Object.assign({}, normalized) : normalized;
|
|
7355
7403
|
};
|
|
7356
7404
|
var exportModule = __mfReadSharedCache(__mfModuleCache.share, {
|
|
7357
7405
|
"canonical": "default:@tanstack/react-router",
|
|
7358
7406
|
"aliases": ["@tanstack/react-router"]
|
|
7359
7407
|
});
|
|
7360
7408
|
if (exportModule === void 0) {
|
|
7361
|
-
exportModule = __mfNormalizeShareModule(
|
|
7409
|
+
exportModule = __mfNormalizeShareModule(_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___exports);
|
|
7362
7410
|
__mfWriteSharedCache(__mfModuleCache.share, {
|
|
7363
7411
|
"canonical": "default:@tanstack/react-router",
|
|
7364
7412
|
"aliases": ["@tanstack/react-router"]
|
|
7365
|
-
}, exportModule);
|
|
7366
|
-
}
|
|
7367
|
-
|
|
7368
|
-
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
|
|
7413
|
+
}, exportModule, "plugin-auth");
|
|
7414
|
+
}
|
|
7415
|
+
var __mf_13;
|
|
7416
|
+
var __mf_92;
|
|
7417
|
+
var __mfApplySharedExports = (mod) => {
|
|
7418
|
+
mod["Asset"];
|
|
7419
|
+
mod["Await"];
|
|
7420
|
+
mod["Block"];
|
|
7421
|
+
mod["CatchBoundary"];
|
|
7422
|
+
mod["CatchNotFound"];
|
|
7423
|
+
mod["ClientOnly"];
|
|
7424
|
+
mod["DEFAULT_PROTOCOL_ALLOWLIST"];
|
|
7425
|
+
mod["DefaultGlobalNotFound"];
|
|
7426
|
+
mod["ErrorComponent"];
|
|
7427
|
+
mod["FileRoute"];
|
|
7428
|
+
mod["FileRouteLoader"];
|
|
7429
|
+
mod["HeadContent"];
|
|
7430
|
+
mod["LazyRoute"];
|
|
7431
|
+
__mf_13 = mod["Link"];
|
|
7432
|
+
mod["Match"];
|
|
7433
|
+
mod["MatchRoute"];
|
|
7434
|
+
mod["Matches"];
|
|
7435
|
+
mod["Navigate"];
|
|
7436
|
+
mod["NotFoundRoute"];
|
|
7437
|
+
mod["Outlet"];
|
|
7438
|
+
mod["RootRoute"];
|
|
7439
|
+
mod["Route"];
|
|
7440
|
+
mod["RouteApi"];
|
|
7441
|
+
mod["Router"];
|
|
7442
|
+
mod["RouterContextProvider"];
|
|
7443
|
+
mod["RouterProvider"];
|
|
7444
|
+
mod["ScriptOnce"];
|
|
7445
|
+
mod["Scripts"];
|
|
7446
|
+
mod["ScrollRestoration"];
|
|
7447
|
+
mod["SearchParamError"];
|
|
7448
|
+
mod["cleanPath"];
|
|
7449
|
+
mod["composeRewrites"];
|
|
7450
|
+
mod["createBrowserHistory"];
|
|
7451
|
+
mod["createControlledPromise"];
|
|
7452
|
+
mod["createFileRoute"];
|
|
7453
|
+
mod["createHashHistory"];
|
|
7454
|
+
mod["createHistory"];
|
|
7455
|
+
mod["createLazyFileRoute"];
|
|
7456
|
+
mod["createLazyRoute"];
|
|
7457
|
+
mod["createLink"];
|
|
7458
|
+
mod["createMemoryHistory"];
|
|
7459
|
+
mod["createRootRoute"];
|
|
7460
|
+
mod["createRootRouteWithContext"];
|
|
7461
|
+
mod["createRoute"];
|
|
7462
|
+
mod["createRouteMask"];
|
|
7463
|
+
mod["createRouter"];
|
|
7464
|
+
mod["createRouterConfig"];
|
|
7465
|
+
mod["createSerializationAdapter"];
|
|
7466
|
+
mod["deepEqual"];
|
|
7467
|
+
mod["defaultParseSearch"];
|
|
7468
|
+
mod["defaultStringifySearch"];
|
|
7469
|
+
mod["defer"];
|
|
7470
|
+
mod["functionalUpdate"];
|
|
7471
|
+
mod["getRouteApi"];
|
|
7472
|
+
mod["interpolatePath"];
|
|
7473
|
+
mod["isMatch"];
|
|
7474
|
+
mod["isNotFound"];
|
|
7475
|
+
mod["isPlainArray"];
|
|
7476
|
+
mod["isPlainObject"];
|
|
7477
|
+
mod["isRedirect"];
|
|
7478
|
+
mod["joinPaths"];
|
|
7479
|
+
mod["lazyFn"];
|
|
7480
|
+
mod["lazyRouteComponent"];
|
|
7481
|
+
mod["linkOptions"];
|
|
7482
|
+
mod["notFound"];
|
|
7483
|
+
mod["parseSearchWith"];
|
|
7484
|
+
mod["reactUse"];
|
|
7485
|
+
mod["redirect"];
|
|
7486
|
+
mod["replaceEqualDeep"];
|
|
7487
|
+
mod["resolvePath"];
|
|
7488
|
+
mod["retainSearchParams"];
|
|
7489
|
+
mod["rootRouteId"];
|
|
7490
|
+
mod["rootRouteWithContext"];
|
|
7491
|
+
mod["stringifySearchWith"];
|
|
7492
|
+
mod["stripSearchParams"];
|
|
7493
|
+
mod["trimPath"];
|
|
7494
|
+
mod["trimPathLeft"];
|
|
7495
|
+
mod["trimPathRight"];
|
|
7496
|
+
mod["useAwaited"];
|
|
7497
|
+
mod["useBlocker"];
|
|
7498
|
+
mod["useCanGoBack"];
|
|
7499
|
+
mod["useChildMatches"];
|
|
7500
|
+
mod["useElementScrollRestoration"];
|
|
7501
|
+
mod["useHydrated"];
|
|
7502
|
+
mod["useLayoutEffect"];
|
|
7503
|
+
mod["useLinkProps"];
|
|
7504
|
+
mod["useLoaderData"];
|
|
7505
|
+
mod["useLoaderDeps"];
|
|
7506
|
+
mod["useLocation"];
|
|
7507
|
+
mod["useMatch"];
|
|
7508
|
+
mod["useMatchRoute"];
|
|
7509
|
+
mod["useMatches"];
|
|
7510
|
+
__mf_92 = mod["useNavigate"];
|
|
7511
|
+
mod["useParams"];
|
|
7512
|
+
mod["useParentMatches"];
|
|
7513
|
+
mod["useRouteContext"];
|
|
7514
|
+
mod["useRouter"];
|
|
7515
|
+
mod["useRouterState"];
|
|
7516
|
+
mod["useSearch"];
|
|
7517
|
+
mod["useTags"];
|
|
7518
|
+
(() => {
|
|
7519
|
+
let current = mod;
|
|
7520
|
+
for (let i = 0; i < 5; i++) {
|
|
7521
|
+
const defaultExport = current?.default;
|
|
7522
|
+
if (!defaultExport || typeof defaultExport !== "object") return defaultExport ?? current;
|
|
7523
|
+
current = defaultExport;
|
|
7524
|
+
}
|
|
7525
|
+
return current;
|
|
7526
|
+
})();
|
|
7527
|
+
};
|
|
7528
|
+
__mfSubscribeSharedCache(__mfModuleCache.share, {
|
|
7529
|
+
"canonical": "default:@tanstack/react-router",
|
|
7530
|
+
"aliases": ["@tanstack/react-router"]
|
|
7531
|
+
}, __mfApplySharedExports);
|
|
7532
|
+
__mfApplySharedExports(exportModule);
|
|
7377
7533
|
//#endregion
|
|
7378
|
-
export { __mf_92 as n,
|
|
7534
|
+
export { __mf_92 as n, _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___exports as r, __mf_13 as t };
|
|
7379
7535
|
|
|
7380
|
-
//# sourceMappingURL=
|
|
7536
|
+
//# sourceMappingURL=_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CiccpWjh.js.map
|