@tanstack/router-devtools-core 1.133.1 → 1.133.8

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.
@@ -1,9 +1,7 @@
1
- import { template, insert, memo, createComponent, effect, className, setAttribute, mergeProps, delegateEvents, spread, addEventListener } from "solid-js/web";
1
+ import { a as createSignal, b as createEffect, g as createRenderEffect, u as useContext, S as ShadowDomTargetContext, k as delegateEvents, d as createMemo, t as template, i as insert, e as createComponent, h as className, s as setAttribute, m as mergeProps, l as useDevtoolsOnClose, f as spread, n as addEventListener, o as untrack, M as Match, F as For, p as Switch, q as onCleanup, r as Show } from "./index-DX7UIGS3.js";
2
2
  import { clsx } from "clsx";
3
3
  import invariant from "tiny-invariant";
4
4
  import { rootRouteId, trimPath, interpolatePath } from "@tanstack/router-core";
5
- import { createSignal, createEffect, createRenderEffect, useContext, createMemo, untrack, Switch, Match, For, Show, onCleanup } from "solid-js";
6
- import { S as ShadowDomTargetContext, u as useDevtoolsOnClose } from "./index-Bz4rofgr.js";
7
5
  import * as goober from "goober";
8
6
  const isServer = typeof window === "undefined";
9
7
  function getStatusColor(match) {
@@ -23,8 +21,8 @@ function getRouteStatusColor(matches, route) {
23
21
  }
24
22
  function useIsMounted() {
25
23
  const [isMounted, setIsMounted] = createSignal(false);
26
- const effect2 = isServer ? createEffect : createRenderEffect;
27
- effect2(() => {
24
+ const effect = isServer ? createEffect : createRenderEffect;
25
+ effect(() => {
28
26
  setIsMounted(true);
29
27
  });
30
28
  return isMounted;
@@ -892,7 +890,7 @@ const Expander = ({
892
890
  const styles = useStyles();
893
891
  return (() => {
894
892
  var _el$ = _tmpl$$3(), _el$2 = _el$.firstChild;
895
- effect((_p$) => {
893
+ createRenderEffect((_p$) => {
896
894
  var _v$ = styles().expander, _v$2 = clsx(styles().expanderIcon(expanded));
897
895
  _v$ !== _p$.e && className(_el$, _p$.e = _v$);
898
896
  _v$2 !== _p$.t && setAttribute(_el$2, "class", _p$.t = _v$2);
@@ -971,7 +969,7 @@ function Explorer({
971
969
  return (() => {
972
970
  var _el$3 = _tmpl$2$1();
973
971
  insert(_el$3, (() => {
974
- var _c$ = memo(() => !!subEntryPages().length);
972
+ var _c$ = createMemo(() => !!subEntryPages().length);
975
973
  return () => _c$() ? [(() => {
976
974
  var _el$4 = _tmpl$3$1(), _el$5 = _el$4.firstChild, _el$6 = _el$5.firstChild;
977
975
  _el$4.$$click = () => toggleExpanded();
@@ -984,7 +982,7 @@ function Explorer({
984
982
  insert(_el$5, () => String(type).toLowerCase() === "iterable" ? "(Iterable) " : "", _el$6);
985
983
  insert(_el$5, () => subEntries().length, _el$6);
986
984
  insert(_el$5, () => subEntries().length > 1 ? `items` : `item`, null);
987
- effect((_p$) => {
985
+ createRenderEffect((_p$) => {
988
986
  var _v$3 = styles().expandButton, _v$4 = styles().info;
989
987
  _v$3 !== _p$.e && className(_el$4, _p$.e = _v$3);
990
988
  _v$4 !== _p$.t && className(_el$5, _p$.t = _v$4);
@@ -994,10 +992,10 @@ function Explorer({
994
992
  t: void 0
995
993
  });
996
994
  return _el$4;
997
- })(), memo(() => memo(() => !!(expanded() ?? false))() ? memo(() => subEntryPages().length === 1)() ? (() => {
995
+ })(), createMemo(() => createMemo(() => !!(expanded() ?? false))() ? createMemo(() => subEntryPages().length === 1)() ? (() => {
998
996
  var _el$7 = _tmpl$2$1();
999
997
  insert(_el$7, () => subEntries().map((entry, index) => handleEntry(entry)));
1000
- effect(() => className(_el$7, styles().subEntries));
998
+ createRenderEffect(() => className(_el$7, styles().subEntries));
1001
999
  return _el$7;
1002
1000
  })() : (() => {
1003
1001
  var _el$8 = _tmpl$2$1();
@@ -1014,15 +1012,15 @@ function Explorer({
1014
1012
  insert(_el$1, index * pageSize, _el$15);
1015
1013
  insert(_el$1, index * pageSize + pageSize - 1, _el$16);
1016
1014
  insert(_el$0, (() => {
1017
- var _c$3 = memo(() => !!expandedPages().includes(index));
1015
+ var _c$3 = createMemo(() => !!expandedPages().includes(index));
1018
1016
  return () => _c$3() ? (() => {
1019
1017
  var _el$17 = _tmpl$2$1();
1020
1018
  insert(_el$17, () => entries.map((entry) => handleEntry(entry)));
1021
- effect(() => className(_el$17, styles().subEntries));
1019
+ createRenderEffect(() => className(_el$17, styles().subEntries));
1022
1020
  return _el$17;
1023
1021
  })() : null;
1024
1022
  })(), null);
1025
- effect((_p$) => {
1023
+ createRenderEffect((_p$) => {
1026
1024
  var _v$5 = styles().entry, _v$6 = clsx(styles().labelButton, "labelButton");
1027
1025
  _v$5 !== _p$.e && className(_el$0, _p$.e = _v$5);
1028
1026
  _v$6 !== _p$.t && className(_el$1, _p$.t = _v$6);
@@ -1034,17 +1032,17 @@ function Explorer({
1034
1032
  return _el$9;
1035
1033
  })();
1036
1034
  }));
1037
- effect(() => className(_el$8, styles().subEntries));
1035
+ createRenderEffect(() => className(_el$8, styles().subEntries));
1038
1036
  return _el$8;
1039
1037
  })() : null)] : (() => {
1040
- var _c$2 = memo(() => type() === "function");
1038
+ var _c$2 = createMemo(() => type() === "function");
1041
1039
  return () => _c$2() ? createComponent(Explorer, {
1042
1040
  get label() {
1043
1041
  return (() => {
1044
1042
  var _el$18 = _tmpl$5$1(), _el$19 = _el$18.firstChild;
1045
1043
  _el$18.$$click = refreshValueSnapshot;
1046
1044
  insert(_el$19, () => rest.label);
1047
- effect(() => className(_el$18, styles().refreshValueBtn));
1045
+ createRenderEffect(() => className(_el$18, styles().refreshValueBtn));
1048
1046
  return _el$18;
1049
1047
  })();
1050
1048
  },
@@ -1057,12 +1055,12 @@ function Explorer({
1057
1055
  })(), " ", (() => {
1058
1056
  var _el$22 = _tmpl$7$1();
1059
1057
  insert(_el$22, () => displayValue(value()));
1060
- effect(() => className(_el$22, styles().value));
1058
+ createRenderEffect(() => className(_el$22, styles().value));
1061
1059
  return _el$22;
1062
1060
  })()];
1063
1061
  })();
1064
1062
  })());
1065
- effect(() => className(_el$3, styles().entry));
1063
+ createRenderEffect(() => className(_el$3, styles().entry));
1066
1064
  return _el$3;
1067
1065
  })();
1068
1066
  }
@@ -1197,7 +1195,7 @@ function AgeTicker({
1197
1195
  insert(_el$2, () => formatTime(age));
1198
1196
  insert(_el$4, () => formatTime(staleTime));
1199
1197
  insert(_el$6, () => formatTime(gcTime));
1200
- effect(() => className(_el$, clsx(styles().ageTicker(age > staleTime))));
1198
+ createRenderEffect(() => className(_el$, clsx(styles().ageTicker(age > staleTime))));
1201
1199
  return _el$;
1202
1200
  })();
1203
1201
  }
@@ -1220,7 +1218,7 @@ function NavigateButton({
1220
1218
  });
1221
1219
  };
1222
1220
  setAttribute(_el$, "title", `Navigate to ${to}`);
1223
- effect(() => className(_el$, styles().navigateButton));
1221
+ createRenderEffect(() => className(_el$, styles().navigateButton));
1224
1222
  return _el$;
1225
1223
  })();
1226
1224
  }
@@ -1240,7 +1238,7 @@ function Logo(props) {
1240
1238
  return clsx(styles().logo, className$1 ? className$1() : "");
1241
1239
  }
1242
1240
  }), false, true);
1243
- effect((_p$) => {
1241
+ createRenderEffect((_p$) => {
1244
1242
  var _v$ = styles().tanstackLogo, _v$2 = styles().routerLogo;
1245
1243
  _v$ !== _p$.e && className(_el$2, _p$.e = _v$);
1246
1244
  _v$2 !== _p$.t && className(_el$3, _p$.t = _v$2);
@@ -1263,7 +1261,7 @@ function NavigateLink(props) {
1263
1261
  _el$5.style.setProperty("min-width", "0");
1264
1262
  insert(_el$5, () => props.children);
1265
1263
  insert(_el$4, () => props.right, null);
1266
- effect(() => className(_el$4, props.class));
1264
+ createRenderEffect(() => className(_el$4, props.class));
1267
1265
  return _el$4;
1268
1266
  })();
1269
1267
  }
@@ -1344,18 +1342,18 @@ function RouteComp({
1344
1342
  return [(() => {
1345
1343
  var _el$9 = _tmpl$3(), _el$0 = _el$9.firstChild;
1346
1344
  insert(_el$9, () => isRoot ? rootRouteId : route.path || trimPath(route.id), _el$0);
1347
- effect(() => className(_el$9, styles().code));
1345
+ createRenderEffect(() => className(_el$9, styles().code));
1348
1346
  return _el$9;
1349
1347
  })(), (() => {
1350
1348
  var _el$1 = _tmpl$4();
1351
1349
  insert(_el$1, param);
1352
- effect(() => className(_el$1, styles().routeParamInfo));
1350
+ createRenderEffect(() => className(_el$1, styles().routeParamInfo));
1353
1351
  return _el$1;
1354
1352
  })()];
1355
1353
  }
1356
1354
  }), null);
1357
1355
  insert(_el$6, (() => {
1358
- var _c$ = memo(() => !!route.children?.length);
1356
+ var _c$ = createMemo(() => !!route.children?.length);
1359
1357
  return () => _c$() ? (() => {
1360
1358
  var _el$10 = _tmpl$6();
1361
1359
  insert(_el$10, () => [...route.children].sort((a, b) => {
@@ -1367,11 +1365,11 @@ function RouteComp({
1367
1365
  activeId,
1368
1366
  setActiveId
1369
1367
  })));
1370
- effect(() => className(_el$10, styles().nestedRouteRow(!!isRoot)));
1368
+ createRenderEffect(() => className(_el$10, styles().nestedRouteRow(!!isRoot)));
1371
1369
  return _el$10;
1372
1370
  })() : null;
1373
1371
  })(), null);
1374
- effect((_p$) => {
1372
+ createRenderEffect((_p$) => {
1375
1373
  var _v$3 = `Open match details for ${route.id}`, _v$4 = clsx(styles().routesRowContainer(route.id === activeId(), !!match())), _v$5 = clsx(styles().matchIndicator(getRouteStatusColor(matches(), route)));
1376
1374
  _v$3 !== _p$.e && setAttribute(_el$7, "aria-label", _p$.e = _v$3);
1377
1375
  _v$4 !== _p$.t && className(_el$7, _p$.t = _v$4);
@@ -1461,7 +1459,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1461
1459
  insert(_el$11, handleDragStart ? (() => {
1462
1460
  var _el$34 = _tmpl$6();
1463
1461
  addEventListener(_el$34, "mousedown", handleDragStart, true);
1464
- effect(() => className(_el$34, styles().dragHandle));
1462
+ createRenderEffect(() => className(_el$34, styles().dragHandle));
1465
1463
  return _el$34;
1466
1464
  })() : null, _el$12);
1467
1465
  _el$12.$$click = (e) => {
@@ -1492,10 +1490,10 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1492
1490
  }
1493
1491
  }));
1494
1492
  insert(_el$20, (() => {
1495
- var _c$2 = memo(() => !!routerState().location.maskedLocation);
1493
+ var _c$2 = createMemo(() => !!routerState().location.maskedLocation);
1496
1494
  return () => _c$2() ? (() => {
1497
1495
  var _el$35 = _tmpl$9(), _el$36 = _el$35.firstChild;
1498
- effect((_p$) => {
1496
+ createRenderEffect((_p$) => {
1499
1497
  var _v$24 = styles().maskedBadgeContainer, _v$25 = styles().maskedBadge;
1500
1498
  _v$24 !== _p$.e && className(_el$35, _p$.e = _v$24);
1501
1499
  _v$25 !== _p$.t && className(_el$36, _p$.t = _v$25);
@@ -1509,11 +1507,11 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1509
1507
  })(), null);
1510
1508
  insert(_el$23, () => routerState().location.pathname);
1511
1509
  insert(_el$22, (() => {
1512
- var _c$3 = memo(() => !!routerState().location.maskedLocation);
1510
+ var _c$3 = createMemo(() => !!routerState().location.maskedLocation);
1513
1511
  return () => _c$3() ? (() => {
1514
1512
  var _el$37 = _tmpl$4();
1515
1513
  insert(_el$37, () => routerState().location.maskedLocation?.pathname);
1516
- effect(() => className(_el$37, styles().maskedLocation));
1514
+ createRenderEffect(() => className(_el$37, styles().maskedLocation));
1517
1515
  return _el$37;
1518
1516
  })() : null;
1519
1517
  })(), null);
@@ -1578,11 +1576,11 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1578
1576
  get children() {
1579
1577
  var _el$40 = _tmpl$4();
1580
1578
  insert(_el$40, () => `${match.routeId === rootRouteId ? rootRouteId : match.pathname}`);
1581
- effect(() => className(_el$40, styles().matchID));
1579
+ createRenderEffect(() => className(_el$40, styles().matchID));
1582
1580
  return _el$40;
1583
1581
  }
1584
1582
  }), null);
1585
- effect((_p$) => {
1583
+ createRenderEffect((_p$) => {
1586
1584
  var _v$26 = `Open match details for ${match.id}`, _v$27 = clsx(styles().matchRow(match === activeMatch())), _v$28 = clsx(styles().matchIndicator(getStatusColor(match)));
1587
1585
  _v$26 !== _p$.e && setAttribute(_el$38, "aria-label", _p$.e = _v$26);
1588
1586
  _v$27 !== _p$.t && className(_el$38, _p$.t = _v$27);
@@ -1634,11 +1632,11 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1634
1632
  get children() {
1635
1633
  var _el$43 = _tmpl$4();
1636
1634
  insert(_el$43, () => `${match.routeId === rootRouteId ? rootRouteId : match.pathname}`);
1637
- effect(() => className(_el$43, styles().matchID));
1635
+ createRenderEffect(() => className(_el$43, styles().matchID));
1638
1636
  return _el$43;
1639
1637
  }
1640
1638
  }), null);
1641
- effect((_p$) => {
1639
+ createRenderEffect((_p$) => {
1642
1640
  var _v$29 = clsx(styles().matchRow(match === activeMatch())), _v$30 = clsx(styles().matchIndicator(index() === 0 ? "green" : "gray"));
1643
1641
  _v$29 !== _p$.e && className(_el$41, _p$.e = _v$29);
1644
1642
  _v$30 !== _p$.t && className(_el$42, _p$.t = _v$30);
@@ -1651,10 +1649,10 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1651
1649
  })()
1652
1650
  }), null);
1653
1651
  insert(_el$33, (() => {
1654
- var _c$4 = memo(() => !!hasHistoryOverflowed());
1652
+ var _c$4 = createMemo(() => !!hasHistoryOverflowed());
1655
1653
  return () => _c$4() ? (() => {
1656
1654
  var _el$44 = _tmpl$10();
1657
- effect(() => className(_el$44, styles().historyOverflowContainer));
1655
+ createRenderEffect(() => className(_el$44, styles().historyOverflowContainer));
1658
1656
  return _el$44;
1659
1657
  })() : null;
1660
1658
  })(), null);
@@ -1664,7 +1662,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1664
1662
  }
1665
1663
  }));
1666
1664
  insert(_el$18, (() => {
1667
- var _c$5 = memo(() => !!routerState().cachedMatches.length);
1665
+ var _c$5 = createMemo(() => !!routerState().cachedMatches.length);
1668
1666
  return () => _c$5() ? (() => {
1669
1667
  var _el$45 = _tmpl$11(), _el$46 = _el$45.firstChild, _el$47 = _el$46.firstChild, _el$48 = _el$47.nextSibling, _el$49 = _el$46.nextSibling;
1670
1668
  insert(_el$49, () => routerState().cachedMatches.map((match) => {
@@ -1695,11 +1693,11 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1695
1693
  get children() {
1696
1694
  var _el$52 = _tmpl$4();
1697
1695
  insert(_el$52, () => `${match.id}`);
1698
- effect(() => className(_el$52, styles().matchID));
1696
+ createRenderEffect(() => className(_el$52, styles().matchID));
1699
1697
  return _el$52;
1700
1698
  }
1701
1699
  }), null);
1702
- effect((_p$) => {
1700
+ createRenderEffect((_p$) => {
1703
1701
  var _v$34 = `Open match details for ${match.id}`, _v$35 = clsx(styles().matchRow(match === activeMatch())), _v$36 = clsx(styles().matchIndicator(getStatusColor(match)));
1704
1702
  _v$34 !== _p$.e && setAttribute(_el$50, "aria-label", _p$.e = _v$34);
1705
1703
  _v$35 !== _p$.t && className(_el$50, _p$.t = _v$35);
@@ -1713,7 +1711,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1713
1711
  return _el$50;
1714
1712
  })();
1715
1713
  }));
1716
- effect((_p$) => {
1714
+ createRenderEffect((_p$) => {
1717
1715
  var _v$31 = styles().cachedMatchesContainer, _v$32 = styles().detailsHeader, _v$33 = styles().detailsHeaderInfo;
1718
1716
  _v$31 !== _p$.e && className(_el$45, _p$.e = _v$31);
1719
1717
  _v$32 !== _p$.t && className(_el$46, _p$.t = _v$32);
@@ -1728,27 +1726,27 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1728
1726
  })() : null;
1729
1727
  })(), null);
1730
1728
  insert(_el$11, (() => {
1731
- var _c$6 = memo(() => !!(activeMatch() && activeMatch()?.status));
1729
+ var _c$6 = createMemo(() => !!(activeMatch() && activeMatch()?.status));
1732
1730
  return () => _c$6() ? (() => {
1733
1731
  var _el$53 = _tmpl$12(), _el$54 = _el$53.firstChild, _el$55 = _el$54.nextSibling, _el$56 = _el$55.firstChild, _el$57 = _el$56.firstChild, _el$58 = _el$57.firstChild, _el$59 = _el$57.nextSibling, _el$60 = _el$59.firstChild, _el$61 = _el$60.nextSibling, _el$62 = _el$61.firstChild, _el$63 = _el$59.nextSibling, _el$64 = _el$63.firstChild, _el$65 = _el$64.nextSibling, _el$66 = _el$63.nextSibling, _el$67 = _el$66.firstChild, _el$68 = _el$67.nextSibling, _el$69 = _el$55.nextSibling, _el$70 = _el$69.nextSibling;
1734
1732
  insert(_el$58, (() => {
1735
- var _c$8 = memo(() => !!(activeMatch()?.status === "success" && activeMatch()?.isFetching));
1733
+ var _c$8 = createMemo(() => !!(activeMatch()?.status === "success" && activeMatch()?.isFetching));
1736
1734
  return () => _c$8() ? "fetching" : activeMatch()?.status;
1737
1735
  })());
1738
1736
  insert(_el$62, () => activeMatch()?.id);
1739
1737
  insert(_el$65, (() => {
1740
- var _c$9 = memo(() => !!routerState().pendingMatches?.find((d) => d.id === activeMatch()?.id));
1738
+ var _c$9 = createMemo(() => !!routerState().pendingMatches?.find((d) => d.id === activeMatch()?.id));
1741
1739
  return () => _c$9() ? "Pending" : routerState().matches.find((d) => d.id === activeMatch()?.id) ? "Active" : "Cached";
1742
1740
  })());
1743
1741
  insert(_el$68, (() => {
1744
- var _c$0 = memo(() => !!activeMatch()?.updatedAt);
1742
+ var _c$0 = createMemo(() => !!activeMatch()?.updatedAt);
1745
1743
  return () => _c$0() ? new Date(activeMatch()?.updatedAt).toLocaleTimeString() : "N/A";
1746
1744
  })());
1747
1745
  insert(_el$53, (() => {
1748
- var _c$1 = memo(() => !!activeMatchLoaderData());
1746
+ var _c$1 = createMemo(() => !!activeMatchLoaderData());
1749
1747
  return () => _c$1() ? [(() => {
1750
1748
  var _el$71 = _tmpl$13();
1751
- effect(() => className(_el$71, styles().detailsHeader));
1749
+ createRenderEffect(() => className(_el$71, styles().detailsHeader));
1752
1750
  return _el$71;
1753
1751
  })(), (() => {
1754
1752
  var _el$72 = _tmpl$6();
@@ -1757,7 +1755,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1757
1755
  value: activeMatchLoaderData,
1758
1756
  defaultExpanded: {}
1759
1757
  }));
1760
- effect(() => className(_el$72, styles().detailsContent));
1758
+ createRenderEffect(() => className(_el$72, styles().detailsContent));
1761
1759
  return _el$72;
1762
1760
  })()] : null;
1763
1761
  })(), _el$69);
@@ -1766,7 +1764,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1766
1764
  value: activeMatchValue,
1767
1765
  defaultExpanded: {}
1768
1766
  }));
1769
- effect((_p$) => {
1767
+ createRenderEffect((_p$) => {
1770
1768
  var _v$37 = styles().thirdContainer, _v$38 = styles().detailsHeader, _v$39 = styles().matchDetails, _v$40 = styles().matchStatus(activeMatch()?.status, activeMatch()?.isFetching), _v$41 = styles().matchDetailsInfoLabel, _v$42 = styles().matchDetailsInfo, _v$43 = styles().matchDetailsInfoLabel, _v$44 = styles().matchDetailsInfo, _v$45 = styles().matchDetailsInfoLabel, _v$46 = styles().matchDetailsInfo, _v$47 = styles().detailsHeader, _v$48 = styles().detailsContent;
1771
1769
  _v$37 !== _p$.e && className(_el$53, _p$.e = _v$37);
1772
1770
  _v$38 !== _p$.t && className(_el$54, _p$.t = _v$38);
@@ -1799,7 +1797,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1799
1797
  })() : null;
1800
1798
  })(), null);
1801
1799
  insert(_el$11, (() => {
1802
- var _c$7 = memo(() => !!hasSearch());
1800
+ var _c$7 = createMemo(() => !!hasSearch());
1803
1801
  return () => _c$7() ? (() => {
1804
1802
  var _el$73 = _tmpl$14(), _el$74 = _el$73.firstChild;
1805
1803
  _el$74.firstChild;
@@ -1823,7 +1821,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1823
1821
  }, {});
1824
1822
  }
1825
1823
  }));
1826
- effect((_p$) => {
1824
+ createRenderEffect((_p$) => {
1827
1825
  var _v$49 = styles().fourthContainer, _v$50 = styles().detailsHeader, _v$51 = styles().detailsContent;
1828
1826
  _v$49 !== _p$.e && className(_el$73, _p$.e = _v$49);
1829
1827
  _v$50 !== _p$.t && className(_el$74, _p$.t = _v$50);
@@ -1837,7 +1835,7 @@ const BaseTanStackRouterDevtoolsPanel = function BaseTanStackRouterDevtoolsPanel
1837
1835
  return _el$73;
1838
1836
  })() : null;
1839
1837
  })(), null);
1840
- effect((_p$) => {
1838
+ createRenderEffect((_p$) => {
1841
1839
  var _v$6 = styles().panelCloseBtn, _v$7 = styles().panelCloseBtnIcon, _v$8 = styles().firstContainer, _v$9 = styles().row, _v$0 = styles().routerExplorerContainer, _v$1 = styles().routerExplorer, _v$10 = styles().secondContainer, _v$11 = styles().matchesContainer, _v$12 = styles().detailsHeader, _v$13 = styles().detailsContent, _v$14 = styles().detailsHeader, _v$15 = styles().routeMatchesToggle, _v$16 = currentTab() === "routes", _v$17 = clsx(styles().routeMatchesToggleBtn(currentTab() === "routes", true)), _v$18 = currentTab() === "matches", _v$19 = clsx(styles().routeMatchesToggleBtn(currentTab() === "matches", true)), _v$20 = currentTab() === "history", _v$21 = clsx(styles().routeMatchesToggleBtn(currentTab() === "history", false)), _v$22 = styles().detailsHeaderInfo, _v$23 = clsx(styles().routesContainer);
1842
1840
  _v$6 !== _p$.e && className(_el$12, _p$.e = _v$6);
1843
1841
  _v$7 !== _p$.t && setAttribute(_el$13, "class", _p$.t = _v$7);
@@ -1912,7 +1910,7 @@ function CopyButton({
1912
1910
  var _el$78 = _tmpl$16();
1913
1911
  _el$78.$$click = handleCopy;
1914
1912
  insert(_el$78, () => copied() ? "✅" : "📋");
1915
- effect(() => setAttribute(_el$78, "title", copied() ? "Copied!" : "Copy"));
1913
+ createRenderEffect(() => setAttribute(_el$78, "title", copied() ? "Copied!" : "Copy"));
1916
1914
  return _el$78;
1917
1915
  })();
1918
1916
  }
@@ -1929,4 +1927,4 @@ export {
1929
1927
  BaseTanStackRouterDevtoolsPanel$1 as c,
1930
1928
  useLocalStorage as u
1931
1929
  };
1932
- //# sourceMappingURL=BaseTanStackRouterDevtoolsPanel-Cbvcs84k.js.map
1930
+ //# sourceMappingURL=BaseTanStackRouterDevtoolsPanel-KIEU40vQ.js.map