@baseplate-dev/plugin-auth 0.6.16 → 0.6.17

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.
Files changed (70) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +1 -0
  3. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +4 -0
  4. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +12 -0
  5. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +4 -0
  6. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +8 -0
  7. 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-ChkXxpXe.js} +22 -22
  8. 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 → _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-CO5Pvo0y.js} +2 -2
  9. 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 → _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-37vlYRxk.js} +2 -2
  10. 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__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DRSNXPPo.js} +1709 -1716
  11. 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__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-DfiQqvVC.js} +110 -109
  12. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-BEZ7A-cz.js} +2 -3
  13. package/dist/web/assets/{arduino-BP2nYunF.js → arduino-BXtgMpyb.js} +2 -2
  14. package/dist/web/assets/auth-BxAE0rgh.js +1 -0
  15. package/dist/web/assets/{c-C7Ey31hW.js → c-6gdx-Hqg.js} +3 -3
  16. package/dist/web/assets/{clike-D9YNFwtw.js → clike-Ds9lUsCq.js} +2 -2
  17. package/dist/web/assets/{common-BvU-7KsV.js → common-ByxS61u8.js} +8 -6
  18. package/dist/web/assets/{common-B-NI9TR-.js → common-CKl_XlvH.js} +3 -3
  19. package/dist/web/assets/{common-BBriDRRy.js → common-TDf_PrjX.js} +3 -3
  20. package/dist/web/assets/{common-23-wvKrM.js → common-UpVCKZeW.js} +8 -6
  21. package/dist/web/assets/{common-DBBUvtGu.js → common-crSwCD36.js} +3 -3
  22. package/dist/web/assets/{common-eFh2vwGb.js → common-iHaemino.js} +3 -3
  23. package/dist/web/assets/{cpp-_RjA_yNA.js → cpp-DRYAY5P6.js} +2 -2
  24. package/dist/web/assets/{csharp-0LZzOc6Q.js → csharp-RJBSoHJ6.js} +2 -2
  25. package/dist/web/assets/{dist-SBfmsOB2.js → dist-CrLSslv6.js} +2 -2
  26. package/dist/web/assets/{dist-BjxypexQ.js → dist-DY7ZXvq4.js} +14 -22
  27. package/dist/web/assets/{get-auth-plugin-definition-x8oAsN1R.js → get-auth-plugin-definition-kDCtXq_6.js} +2 -2
  28. package/dist/web/assets/{go-CzER04EZ.js → go-D9nlw8GJ.js} +2 -2
  29. package/dist/web/assets/{hostInit-Bay0Y9UX.js → hostInit-Cruek6c6.js} +2 -2
  30. package/dist/web/assets/{java-HAvRESj1.js → java-Asfw0WtJ.js} +2 -2
  31. package/dist/web/assets/{javascript-BVAr0eZH.js → javascript-fpnGEVws.js} +2 -2
  32. package/dist/web/assets/{kotlin-DkCMjTKK.js → kotlin-zNWfDPVY.js} +2 -2
  33. package/dist/web/assets/{markdown-_2_uVr2L.js → markdown-ewV-vLcZ.js} +2 -2
  34. package/dist/web/assets/{markup-BVZ8HhdW.js → markup-D2krQlDZ.js} +2 -2
  35. package/dist/web/assets/{markup-templating-BDIRuVJH.js → markup-templating-c_XBo6vX.js} +2 -2
  36. package/dist/web/assets/mf-entry-bootstrap-0-dfed0275.js +35 -0
  37. package/dist/web/assets/mf-entry-bootstrap-1-5275674a.js +35 -0
  38. package/dist/web/assets/{mf-entry-bootstrap-0-659c976f.js → mf-entry-bootstrap-2-39fb9255.js} +2 -2
  39. package/dist/web/assets/mf-entry-bootstrap-3-49e64336.js +35 -0
  40. package/dist/web/assets/{model-utils-dNFTOjqi.js → model-utils-C0WDb_Ec.js} +3 -3
  41. package/dist/web/assets/{models-CKab4MTC.js → models-BZmCbizK.js} +3 -3
  42. package/dist/web/assets/{models-BpslIbU7.js → models-DSvs_3bA.js} +3 -3
  43. package/dist/web/assets/{objectivec-DPgB68It.js → objectivec-PkUOhxeb.js} +2 -2
  44. package/dist/web/assets/{php-JTON0zp9.js → php-CfWLJZIj.js} +2 -2
  45. package/dist/web/assets/{plugin-definition-8Exesd6T.js → plugin-definition-CYj29S3q.js} +3 -3
  46. package/dist/web/assets/{plugin-definition-ChBrbazJ.js → plugin-definition-DOMmPL2Z.js} +3 -3
  47. package/dist/web/assets/{rolldown-runtime-FZ4Itg2g.js → rolldown-runtime-7_rZTKki.js} +1 -1
  48. package/dist/web/assets/{ruby-BoFHz67P.js → ruby-BlM93DKO.js} +2 -2
  49. package/dist/web/assets/{styles-Cc26Bbxc.css → styles-DIj1cIPB.css} +119 -1
  50. package/dist/web/assets/{styles-Cuq4wgvD.js → styles-yjbHBTlw.js} +6 -6
  51. package/dist/web/assets/{typescript-CDkIWcT8.js → typescript-C5BVqltI.js} +2 -2
  52. package/dist/web/assets/{virtualExposes-BwIds34r.js → virtualExposes-CbPBmicF.js} +1 -1
  53. package/dist/web/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-BBt5f0I7.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-XM6iYVxf.js} +5 -5
  54. package/dist/web/assets/{virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-RzPgl37a.js → virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DGjg7Brm.js} +15 -15
  55. 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-B6BXIeF1.js} +15 -15
  56. package/dist/web/assets/{vite-preload-helper-iIio8xkS.js → vite-preload-helper-ARKYL6bp.js} +5 -1
  57. package/dist/web/assets/{web-DNrWXjpS.js → web-1eTcxMhf.js} +3 -3
  58. package/dist/web/assets/{web-BgWG7dYl.js → web-CDAKPPK9.js} +11 -11
  59. package/dist/web/assets/{web-BZd3bM0n.js → web-CXAHKjIY.js} +16 -16
  60. package/dist/web/assets/{web-CnB-sqCR.js → web-D0MSKfyv.js} +20 -19
  61. package/dist/web/assets/{web-CXHw8SK7.js → web-DbeAaDTV.js} +10 -10
  62. package/dist/web/assets/{web-DHv2aVpi.js → web-VqBA3jxZ.js} +10 -10
  63. package/dist/web/assets/{web-D_H-MoGI.js → web-miDovYk_.js} +3 -3
  64. package/dist/web/assets/{workerBundle-GFUata9j.js → workerBundle-BjsY-uXx.js} +2 -2
  65. package/dist/web/index.html +5 -2
  66. package/dist/web/remoteEntry.js +1 -1
  67. package/dist/web/remoteEntry.ssr.js +2 -2
  68. package/package.json +34 -37
  69. package/dist/web/assets/auth-8qJtXAgU.js +0 -1
  70. package/dist/web/assets/index-qso1IsKy.js +0 -2
@@ -1,18 +1,18 @@
1
- import { r as __exportAll } from "./rolldown-runtime-FZ4Itg2g.js";
2
- import { $ as __mf_2$2, J as __mf_2$3, Q as __mf_1$2, X as require_with_selector, Z as __mf_0$2, _t as __mf_35$2, at as __mf_14$2, ct as __mf_20$2, dt as __mf_26$2, gt as __mf_34$2, ht as __mf_31$2, it as __mf_12$2, lt as __mf_22$2, mt as __mf_30$2, nt as __mf_1$3, ot as __mf_17$2, pt as __mf_28$2, rt as __mf_11$2, st as __mf_18$2, tt as __mfDefaultExport$1, ut as __mf_23$2, vt as __mf_6$2, yt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__ } from "./_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";
3
- //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/utils.js
1
+ import { r as __exportAll } from "./rolldown-runtime-7_rZTKki.js";
2
+ import { $ as __mf_2$3, J as __mf_2$4, Q as __mf_1$2, X as require_with_selector, Z as __mf_0$2, _t as __mf_38$2, at as __mf_19$2, ct as __mf_22$2, dt as __mf_28$2, gt as __mf_37$2, ht as __mf_34$2, it as __mf_16$2, lt as __mf_24$2, mt as __mf_33$2, nt as __mf_13$2, ot as __mf_2$2, pt as __mf_31$2, rt as __mf_14$2, st as __mf_20$2, tt as __mfDefaultExport$1, ut as __mf_25$2, vt as __mf_7$2, yt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__ } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DRSNXPPo.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
4
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__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 = __mf_20$2;
10
- var useLayoutEffect = typeof window !== "undefined" ? __mf_30$2 : __mf_26$2;
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 = __mf_34$2({
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
- __mf_26$2(() => {
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 = __mf_34$2(null);
83
- __mf_28$2(ref, () => innerRef.current, []);
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) ?? 300 * 1e3;
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,7 +4481,7 @@ 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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/awaited.js
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
4485
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
4486
4486
  /** Suspend until a deferred promise resolves or rejects and return its data. */
4487
4487
  function useAwaited({ promise: _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(__mf_6$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,7 +4508,7 @@ 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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/CatchBoundary.js
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
4512
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
4513
4513
  function CatchBoundary(props) {
4514
4514
  const errorComponent = props.errorComponent ?? ErrorComponent;
@@ -4516,7 +4516,7 @@ function CatchBoundary(props) {
4516
4516
  getResetKey: props.getResetKey,
4517
4517
  onCatch: props.onCatch,
4518
4518
  children: ({ error, reset }) => {
4519
- if (error) return __mf_12$2(errorComponent, {
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 __mf_1$3 {
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] = __mf_35$2(false);
4560
- return /* @__PURE__ */ __mf_2$2("div", {
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$2("div", {
4566
+ /* @__PURE__ */ __mf_2$3("div", {
4567
4567
  style: {
4568
4568
  display: "flex",
4569
4569
  alignItems: "center",
@@ -4601,7 +4601,7 @@ function ErrorComponent({ error }) {
4601
4601
  });
4602
4602
  }
4603
4603
  //#endregion
4604
- //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/ClientOnly.js
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
4605
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
4606
4606
  /**
4607
4607
  * Render the children only after the JS has loaded client-side. Use an optional
@@ -4649,11 +4649,11 @@ function subscribe() {
4649
4649
  return () => {};
4650
4650
  }
4651
4651
  //#endregion
4652
- //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/routerContext.js
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
4653
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
4654
- var routerContext = __mf_11$2(null);
4654
+ var routerContext = __mf_13$2(null);
4655
4655
  //#endregion
4656
- //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/useRouter.js
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
4657
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
4658
4658
  /**
4659
4659
  * Access the current TanStack Router instance from React context.
@@ -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 __mf_23$2(routerContext);
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/matchContext.js
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
4673
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
4674
- var matchContext = __mf_11$2(void 0);
4675
- var dummyMatchContext = __mf_11$2(void 0);
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,23 +5021,23 @@ 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.1.0_react@19.1.0/node_modules/@tanstack/react-store/dist/esm/useStore.js
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
5025
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__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 = __mf_22$2((handleStoreChange) => {
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 = __mf_22$2(() => atom?.get(), [atom]);
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/useMatch.js
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
5041
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
5042
5042
  var dummyStore = {
5043
5043
  get() {},
@@ -5046,7 +5046,7 @@ var dummyStore = {
5046
5046
  }
5047
5047
  };
5048
5048
  function useStructuralSharing(opts, router) {
5049
- const previousResult = __mf_34$2();
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 = __mf_23$2(opts.from ? dummyMatchContext : matchContext);
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/useLoaderData.js
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/useLoaderDeps.js
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/useParams.js
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/useSearch.js
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,7 +5163,7 @@ function useSearch(opts) {
5163
5163
  });
5164
5164
  }
5165
5165
  //#endregion
5166
- //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/useNavigate.js
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
5167
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
5168
5168
  /**
5169
5169
  * Imperative navigation hook.
@@ -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 __mf_22$2((options) => {
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 = __mf_34$2(null);
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/useRouteContext.js
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,7 +5222,7 @@ function useRouteContext(opts) {
5222
5222
  });
5223
5223
  }
5224
5224
  //#endregion
5225
- //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/link.js
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
5226
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
5227
5227
  /**
5228
5228
  * Build anchor-like props for declarative navigation and preloading.
@@ -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 = __mf_31$2(() => 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 = __mf_31$2(() => {
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 = __mf_31$2(() => getHrefOption(hrefOptionPublicHref, hrefOptionExternal, router.history, disabled), [
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 = __mf_31$2(() => {
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 = __mf_31$2(() => {
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] = __mf_35$2(false);
5336
- const hasRenderFetched = __mf_34$2(false);
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 = __mf_22$2(() => {
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, __mf_22$2((entry) => {
5352
+ useIntersectionObserver(innerRef, __mf_24$2((entry) => {
5353
5353
  if (entry?.isIntersecting) doPreload();
5354
5354
  }, [doPreload]), intersectionObserverOptions, { disabled: !!disabled || !(preload === "viewport") });
5355
- __mf_26$2(() => {
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$3(() => {
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 __mf_14$2(function CreatedLink(props, ref) {
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 = __mf_14$2((props, ref) => {
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 __mf_12$2("a", rest, children);
5533
+ return __mf_14$2("a", rest, children);
5534
5534
  }
5535
- return __mf_12$2(_asChild, linkProps, children);
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,7 +5548,7 @@ 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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/route.js
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
5552
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
5553
5553
  /**
5554
5554
  * Returns a route-specific API that exposes type-safe hooks pre-bound
@@ -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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/fileRoute.js
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,7 +5922,7 @@ function createLazyFileRoute(id) {
5922
5922
  });
5923
5923
  }
5924
5924
  //#endregion
5925
- //#region ../../node_modules/.pnpm/@tanstack+react-router@1.170.18_react-dom@19.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/lazyRouteComponent.js
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
5926
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
5927
5927
  /**
5928
5928
  * Wrap a dynamic import to create a route component that supports
@@ -5964,13 +5964,13 @@ 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 __mf_12$2(comp, props);
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/not-found.js
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
5974
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
5975
5975
  function CatchNotFound(props) {
5976
5976
  const router = useRouter();
@@ -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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/ScriptOnce.js
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,13 +6001,13 @@ 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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/SafeFragment.js
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
6005
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/renderRouteNotFound.js
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
6011
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6012
6012
  /**
6013
6013
  * Renders a not found component for a route when no matching route is found.
@@ -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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/Match.js
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
6029
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__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 = __mf_17$2(function MatchImpl({ matchId }) {
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: __mf_31$2(() => {
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)) ? __mf_6$2 : SafeFragment;
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$2(route.isRoot ? route.options.shellComponent ?? SafeFragment : SafeFragment, { children: [/* @__PURE__ */ __mf_1$2(matchContext.Provider, {
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 __mf_12$2(routeNotFoundComponent, error);
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$2(__mf_0$2, { children: [/* @__PURE__ */ __mf_1$2(OnRendered, {}), (router.options.scrollRestoration, null)] }) : null] });
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 = __mf_34$2();
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 = __mf_17$2(function MatchInnerImpl({ matchId }) {
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 = __mf_31$2(() => {
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 = __mf_31$2(() => {
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 = __mf_17$2(function OutletImpl() {
6182
+ var Outlet = __mf_19$2(function OutletImpl() {
6183
6183
  const router = useRouter();
6184
- const matchId = __mf_23$2(matchContext);
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(__mf_6$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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/Transitioner.js
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
6211
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6212
6212
  function Transitioner() {
6213
6213
  const router = useRouter();
6214
- const mountLoadForRouter = __mf_34$2({
6214
+ const mountLoadForRouter = __mf_37$2({
6215
6215
  router,
6216
6216
  mounted: false
6217
6217
  });
6218
- const [isTransitioning, setIsTransitioning] = __mf_35$2(false);
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
- __mf_18$2(() => {
6228
+ __mf_20$2(() => {
6229
6229
  fn();
6230
6230
  setIsTransitioning(false);
6231
6231
  });
6232
6232
  };
6233
- __mf_26$2(() => {
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,7 +6303,7 @@ 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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/Matches.js
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
6307
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6308
6308
  /**
6309
6309
  * Internal component that renders the router's active match tree with
@@ -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$2(typeof document !== "undefined" && router.ssr ? SafeFragment : __mf_6$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 __mf_22$2((opts) => {
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 = __mf_23$2(matchContext);
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 = __mf_23$2(matchContext);
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/routerStores.js
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/router.js
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,7 +6445,7 @@ 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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/RouterProvider.js
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
6449
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6450
6450
  /**
6451
6451
  * Low-level provider that places the router into React context and optionally
@@ -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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/ScrollRestoration.js
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,7 +6500,7 @@ 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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/useBlocker.js
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
6504
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6505
6505
  function _resolveBlockerOpts(opts, condition) {
6506
6506
  if (opts === void 0) return {
@@ -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] = __mf_35$2({
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
- __mf_26$2(() => {
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/useRouterState.js
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/useLocation.js
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,12 +6664,12 @@ 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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/useCanGoBack.js
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/Asset.js
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
6673
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6674
6674
  var INLINE_CSS_HYDRATION_ATTR = "data-tsr-inline-css";
6675
6675
  function setScriptAttrs(script, attrs) {
@@ -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] = __mf_35$2(() => {
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
- __mf_26$2(() => {
6735
+ __mf_28$2(() => {
6736
6736
  if (dataScript) return;
6737
6737
  if (attrs?.src) {
6738
6738
  const normSrc = (() => {
@@ -6788,7 +6788,7 @@ 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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/headContentUtils.js
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
6792
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6793
6793
  /**
6794
6794
  * Build the list of head/link/meta/script tags to render for active matches.
@@ -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 = __mf_31$2(() => {
6803
+ const meta = __mf_34$2(() => {
6804
6804
  const resultMeta = [];
6805
6805
  const metaByAttribute = {};
6806
6806
  let title;
@@ -6933,7 +6933,7 @@ 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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/HeadContent.js
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
6937
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6938
6938
  /**
6939
6939
  * Render route-managed head tags (title, meta, links, styles, head scripts).
@@ -6943,14 +6943,14 @@ 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__ */ __mf_12$2(Asset, {
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/Scripts.js
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
6954
  init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
6955
6955
  /**
6956
6956
  * Render body script tags collected from route matches and SSR manifests.
@@ -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
- return /* @__PURE__ */ __mf_1$2(__mf_0$2, { children: [...scripts, ...assetScripts].map((asset, i) => /* @__PURE__ */ __mf_12$2(Asset, {
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.1.0_react@19.1.0/node_modules/@tanstack/react-router/dist/esm/index.js
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,
@@ -7377,4 +7378,4 @@ var { Asset: __mf_0, Await: __mf_1, Block: __mf_2, CatchBoundary: __mf_3, CatchN
7377
7378
  //#endregion
7378
7379
  export { __mf_92 as n, _virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___exports as r, __mf_13 as t };
7379
7380
 
7380
- //# sourceMappingURL=_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-Ci5_qYaj.js.map
7381
+ //# sourceMappingURL=_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-DfiQqvVC.js.map