@tanstack/devtools 0.6.23 → 0.7.0

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.
@@ -182,6 +182,22 @@ var usePiPWindow = () => {
182
182
  });
183
183
  return context;
184
184
  };
185
+
186
+ // src/utils/constants.ts
187
+ var MAX_ACTIVE_PLUGINS = 3;
188
+
189
+ // src/utils/get-default-active-plugins.ts
190
+ function getDefaultActivePlugins(plugins) {
191
+ if (plugins.length === 0) {
192
+ return [];
193
+ }
194
+ if (plugins.length === 1) {
195
+ return [plugins[0].id];
196
+ }
197
+ return plugins.filter((plugin) => plugin.defaultOpen === true).slice(0, MAX_ACTIVE_PLUGINS).map((plugin) => plugin.id);
198
+ }
199
+
200
+ // src/context/devtools-context.tsx
185
201
  var DevtoolsContext = createContext();
186
202
  var getSettings = () => {
187
203
  const settingsString = getStorageItem(TANSTACK_DEVTOOLS_SETTINGS);
@@ -215,18 +231,25 @@ function getStateFromLocalStorage(plugins) {
215
231
  var getExistingStateFromStorage = (config, plugins) => {
216
232
  const existingState = getStateFromLocalStorage(plugins);
217
233
  const settings = getSettings();
234
+ const pluginsWithIds = plugins?.map((plugin, i) => {
235
+ const id = generatePluginId(plugin, i);
236
+ return {
237
+ ...plugin,
238
+ id
239
+ };
240
+ }) || [];
241
+ let activePlugins = existingState?.activePlugins || [];
242
+ const shouldFillWithDefaultOpenPlugins = activePlugins.length === 0 && pluginsWithIds.length > 0;
243
+ if (shouldFillWithDefaultOpenPlugins) {
244
+ activePlugins = getDefaultActivePlugins(pluginsWithIds);
245
+ }
218
246
  const state = {
219
247
  ...initialState,
220
- plugins: plugins?.map((plugin, i) => {
221
- const id = generatePluginId(plugin, i);
222
- return {
223
- ...plugin,
224
- id
225
- };
226
- }) || [],
248
+ plugins: pluginsWithIds,
227
249
  state: {
228
250
  ...initialState.state,
229
- ...existingState
251
+ ...existingState,
252
+ activePlugins
230
253
  },
231
254
  settings: {
232
255
  ...initialState.settings,
@@ -277,4 +300,4 @@ var DevtoolsProvider = (props) => {
277
300
  });
278
301
  };
279
302
 
280
- export { DevtoolsContext, DevtoolsProvider, PLUGIN_CONTAINER_ID, PLUGIN_TITLE_CONTAINER_ID, PiPProvider, TANSTACK_DEVTOOLS, getAllPermutations, initialState, keyboardModifiers, uppercaseFirstLetter, usePiPWindow };
303
+ export { DevtoolsContext, DevtoolsProvider, MAX_ACTIVE_PLUGINS, PLUGIN_CONTAINER_ID, PLUGIN_TITLE_CONTAINER_ID, PiPProvider, TANSTACK_DEVTOOLS, getAllPermutations, initialState, keyboardModifiers, uppercaseFirstLetter, usePiPWindow };
package/dist/dev.js CHANGED
@@ -1,5 +1,5 @@
1
- import { initialState, DevtoolsProvider, PiPProvider } from './chunk/XF4JFOLU.js';
2
- export { PLUGIN_CONTAINER_ID, PLUGIN_TITLE_CONTAINER_ID } from './chunk/XF4JFOLU.js';
1
+ import { initialState, DevtoolsProvider, PiPProvider } from './chunk/VZEY7HNC.js';
2
+ export { PLUGIN_CONTAINER_ID, PLUGIN_TITLE_CONTAINER_ID } from './chunk/VZEY7HNC.js';
3
3
  import { render, createComponent, Portal } from 'solid-js/web';
4
4
  import { lazy } from 'solid-js';
5
5
  import { ClientEventBus } from '@tanstack/devtools-event-bus/client';
@@ -30,7 +30,7 @@ var TanStackDevtoolsCore = class {
30
30
  const mountTo = el;
31
31
  const dispose = render(() => {
32
32
  const _self$ = this;
33
- this.#Component = lazy(() => import('./devtools/YRFZDV5N.js'));
33
+ this.#Component = lazy(() => import('./devtools/7NDEDZB7.js'));
34
34
  const Devtools = this.#Component;
35
35
  this.#eventBus = new ClientEventBus(this.#eventBusConfig);
36
36
  this.#eventBus.start();
@@ -1,4 +1,4 @@
1
- import { usePiPWindow, keyboardModifiers, getAllPermutations, TANSTACK_DEVTOOLS, DevtoolsContext, PLUGIN_TITLE_CONTAINER_ID, PLUGIN_CONTAINER_ID, uppercaseFirstLetter } from '../chunk/XF4JFOLU.js';
1
+ import { usePiPWindow, keyboardModifiers, getAllPermutations, TANSTACK_DEVTOOLS, DevtoolsContext, PLUGIN_TITLE_CONTAINER_ID, PLUGIN_CONTAINER_ID, uppercaseFirstLetter, MAX_ACTIVE_PLUGINS } from '../chunk/VZEY7HNC.js';
2
2
  import { delegateEvents, createComponent, Portal, template, use, setAttribute, insert, memo, effect, className, addEventListener, style, classList } from 'solid-js/web';
3
3
  import { createContext, createSignal, createEffect, Show, createMemo, For, useContext, onCleanup, onMount } from 'solid-js';
4
4
  import { createShortcut, useKeyDownList } from '@solid-primitives/keyboard';
@@ -94,7 +94,7 @@ var usePlugins = () => {
94
94
  setStore((prev) => {
95
95
  const isActive = prev.state.activePlugins.includes(pluginId);
96
96
  const updatedPlugins = isActive ? prev.state.activePlugins.filter((id) => id !== pluginId) : [...prev.state.activePlugins, pluginId];
97
- if (updatedPlugins.length > 3) return prev;
97
+ if (updatedPlugins.length > MAX_ACTIVE_PLUGINS) return prev;
98
98
  return {
99
99
  ...prev,
100
100
  state: {
@@ -1597,6 +1597,75 @@ var stylesFactory = (theme) => {
1597
1597
  text-transform: uppercase;
1598
1598
  letter-spacing: 0.05em;
1599
1599
  `,
1600
+ pluginMarketplaceFeatureBanner: css2`
1601
+ margin-top: 1rem;
1602
+ padding: 1.25rem 1.5rem;
1603
+ background: ${t(
1604
+ "linear-gradient(135deg, #3b82f6 0%, #2563eb 100%)",
1605
+ "linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%)"
1606
+ )};
1607
+ border-radius: 0.75rem;
1608
+ border: 1px solid ${t(colors.blue[400], colors.blue[800])};
1609
+ box-shadow:
1610
+ 0 4px 6px -1px rgba(0, 0, 0, 0.1),
1611
+ 0 2px 4px -1px rgba(0, 0, 0, 0.06);
1612
+ `,
1613
+ pluginMarketplaceFeatureBannerContent: css2`
1614
+ display: flex;
1615
+ flex-direction: column;
1616
+ gap: 0.75rem;
1617
+ `,
1618
+ pluginMarketplaceFeatureBannerTitle: css2`
1619
+ font-size: 1.125rem;
1620
+ font-weight: 700;
1621
+ color: white;
1622
+ margin: 0;
1623
+ display: flex;
1624
+ align-items: center;
1625
+ gap: 0.5rem;
1626
+ `,
1627
+ pluginMarketplaceFeatureBannerIcon: css2`
1628
+ width: 24px;
1629
+ height: 24px;
1630
+ display: inline-flex;
1631
+ `,
1632
+ pluginMarketplaceFeatureBannerText: css2`
1633
+ font-size: 0.95rem;
1634
+ color: ${t("rgba(255, 255, 255, 0.95)", "rgba(255, 255, 255, 0.9)")};
1635
+ line-height: 1.5;
1636
+ margin: 0;
1637
+ `,
1638
+ pluginMarketplaceFeatureBannerButton: css2`
1639
+ display: inline-flex;
1640
+ align-items: center;
1641
+ gap: 0.5rem;
1642
+ padding: 0.625rem 1.25rem;
1643
+ background: white;
1644
+ color: ${colors.blue[600]};
1645
+ font-weight: 600;
1646
+ font-size: 0.95rem;
1647
+ border-radius: 0.5rem;
1648
+ border: none;
1649
+ cursor: pointer;
1650
+ transition: all 0.2s ease;
1651
+ text-decoration: none;
1652
+ align-self: flex-start;
1653
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
1654
+
1655
+ &:hover {
1656
+ background: ${t(colors.gray[50], colors.gray[100])};
1657
+ transform: translateY(-1px);
1658
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
1659
+ }
1660
+
1661
+ &:active {
1662
+ transform: translateY(0);
1663
+ }
1664
+ `,
1665
+ pluginMarketplaceFeatureBannerButtonIcon: css2`
1666
+ width: 18px;
1667
+ height: 18px;
1668
+ `,
1600
1669
  pluginMarketplaceCardDisabled: css2`
1601
1670
  opacity: 0.6;
1602
1671
  filter: grayscale(0.3);
@@ -2438,46 +2507,82 @@ var PluginCardComponent = (props) => {
2438
2507
  };
2439
2508
 
2440
2509
  // src/tabs/marketplace/plugin-section.tsx
2441
- var _tmpl$10 = /* @__PURE__ */ template(`<div>`);
2442
- var _tmpl$24 = /* @__PURE__ */ template(`<div><div><div><div></div><h3>`);
2510
+ var _tmpl$10 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=currentColor><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z">`);
2511
+ var _tmpl$24 = /* @__PURE__ */ template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><rect x=2 y=4 width=20 height=16 rx=2></rect><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7">`);
2512
+ var _tmpl$34 = /* @__PURE__ */ template(`<div><div><h4><span></span>Want to be featured here?</h4><p>If you've built a plugin for TanStack Devtools and would like to showcase it in the featured section, we'd love to hear from you! Reach out to us to discuss partnership opportunities.</p><a href="mailto:partners+devtools@tanstack.com?subject=Featured%20Plugin%20Partnership%20Inquiry"><span></span>Contact Us`);
2513
+ var _tmpl$43 = /* @__PURE__ */ template(`<div>`);
2514
+ var _tmpl$53 = /* @__PURE__ */ template(`<div><div><div><div></div><h3>`);
2515
+ var StarIcon = () => _tmpl$10();
2516
+ var MailIcon = () => _tmpl$24();
2443
2517
  var PluginSectionComponent = (props) => {
2444
2518
  const styles = useStyles();
2445
2519
  return (() => {
2446
- var _el$ = _tmpl$24(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling;
2447
- addEventListener(_el$2, "click", props.onToggleCollapse, true);
2448
- insert(_el$4, createComponent(ChevronDownIcon, {}));
2449
- insert(_el$5, () => props.section.displayName);
2450
- insert(_el$, createComponent(Show, {
2520
+ var _el$3 = _tmpl$53(), _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild, _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling;
2521
+ addEventListener(_el$4, "click", props.onToggleCollapse, true);
2522
+ insert(_el$6, createComponent(ChevronDownIcon, {}));
2523
+ insert(_el$7, () => props.section.displayName);
2524
+ insert(_el$3, createComponent(Show, {
2451
2525
  get when() {
2452
2526
  return !props.isCollapsed();
2453
2527
  },
2454
2528
  get children() {
2455
- var _el$6 = _tmpl$10();
2456
- insert(_el$6, createComponent(For, {
2457
- get each() {
2458
- return props.section.cards;
2529
+ return [createComponent(Show, {
2530
+ get when() {
2531
+ return props.section.id === "featured";
2459
2532
  },
2460
- children: (card) => createComponent(PluginCardComponent, {
2461
- card,
2462
- get onAction() {
2463
- return props.onCardAction;
2464
- }
2465
- })
2466
- }));
2467
- effect(() => className(_el$6, styles().pluginMarketplaceGrid));
2468
- return _el$6;
2533
+ get children() {
2534
+ var _el$8 = _tmpl$34(), _el$9 = _el$8.firstChild, _el$0 = _el$9.firstChild, _el$1 = _el$0.firstChild, _el$10 = _el$0.nextSibling, _el$11 = _el$10.nextSibling, _el$12 = _el$11.firstChild;
2535
+ insert(_el$1, createComponent(StarIcon, {}));
2536
+ insert(_el$12, createComponent(MailIcon, {}));
2537
+ effect((_p$) => {
2538
+ var _v$ = styles().pluginMarketplaceFeatureBanner, _v$2 = styles().pluginMarketplaceFeatureBannerContent, _v$3 = styles().pluginMarketplaceFeatureBannerTitle, _v$4 = styles().pluginMarketplaceFeatureBannerIcon, _v$5 = styles().pluginMarketplaceFeatureBannerText, _v$6 = styles().pluginMarketplaceFeatureBannerButton, _v$7 = styles().pluginMarketplaceFeatureBannerButtonIcon;
2539
+ _v$ !== _p$.e && className(_el$8, _p$.e = _v$);
2540
+ _v$2 !== _p$.t && className(_el$9, _p$.t = _v$2);
2541
+ _v$3 !== _p$.a && className(_el$0, _p$.a = _v$3);
2542
+ _v$4 !== _p$.o && className(_el$1, _p$.o = _v$4);
2543
+ _v$5 !== _p$.i && className(_el$10, _p$.i = _v$5);
2544
+ _v$6 !== _p$.n && className(_el$11, _p$.n = _v$6);
2545
+ _v$7 !== _p$.s && className(_el$12, _p$.s = _v$7);
2546
+ return _p$;
2547
+ }, {
2548
+ e: void 0,
2549
+ t: void 0,
2550
+ a: void 0,
2551
+ o: void 0,
2552
+ i: void 0,
2553
+ n: void 0,
2554
+ s: void 0
2555
+ });
2556
+ return _el$8;
2557
+ }
2558
+ }), (() => {
2559
+ var _el$13 = _tmpl$43();
2560
+ insert(_el$13, createComponent(For, {
2561
+ get each() {
2562
+ return props.section.cards;
2563
+ },
2564
+ children: (card) => createComponent(PluginCardComponent, {
2565
+ card,
2566
+ get onAction() {
2567
+ return props.onCardAction;
2568
+ }
2569
+ })
2570
+ }));
2571
+ effect(() => className(_el$13, styles().pluginMarketplaceGrid));
2572
+ return _el$13;
2573
+ })()];
2469
2574
  }
2470
2575
  }), null);
2471
2576
  effect((_p$) => {
2472
- var _v$ = styles().pluginMarketplaceSection, _v$2 = styles().pluginMarketplaceSectionHeader, _v$3 = styles().pluginMarketplaceSectionHeaderLeft, _v$4 = styles().pluginMarketplaceSectionChevron, _v$5 = {
2577
+ var _v$8 = styles().pluginMarketplaceSection, _v$9 = styles().pluginMarketplaceSectionHeader, _v$0 = styles().pluginMarketplaceSectionHeaderLeft, _v$1 = styles().pluginMarketplaceSectionChevron, _v$10 = {
2473
2578
  [styles().pluginMarketplaceSectionChevronCollapsed]: props.isCollapsed()
2474
- }, _v$6 = styles().pluginMarketplaceSectionTitle;
2475
- _v$ !== _p$.e && className(_el$, _p$.e = _v$);
2476
- _v$2 !== _p$.t && className(_el$2, _p$.t = _v$2);
2477
- _v$3 !== _p$.a && className(_el$3, _p$.a = _v$3);
2478
- _v$4 !== _p$.o && className(_el$4, _p$.o = _v$4);
2479
- _p$.i = classList(_el$4, _v$5, _p$.i);
2480
- _v$6 !== _p$.n && className(_el$5, _p$.n = _v$6);
2579
+ }, _v$11 = styles().pluginMarketplaceSectionTitle;
2580
+ _v$8 !== _p$.e && className(_el$3, _p$.e = _v$8);
2581
+ _v$9 !== _p$.t && className(_el$4, _p$.t = _v$9);
2582
+ _v$0 !== _p$.a && className(_el$5, _p$.a = _v$0);
2583
+ _v$1 !== _p$.o && className(_el$6, _p$.o = _v$1);
2584
+ _p$.i = classList(_el$6, _v$10, _p$.i);
2585
+ _v$11 !== _p$.n && className(_el$7, _p$.n = _v$11);
2481
2586
  return _p$;
2482
2587
  }, {
2483
2588
  e: void 0,
@@ -2487,7 +2592,7 @@ var PluginSectionComponent = (props) => {
2487
2592
  i: void 0,
2488
2593
  n: void 0
2489
2594
  });
2490
- return _el$;
2595
+ return _el$3;
2491
2596
  })();
2492
2597
  };
2493
2598
  delegateEvents(["click"]);
@@ -2757,11 +2862,36 @@ var PLUGIN_REGISTRY = {
2757
2862
  isNew: true,
2758
2863
  // New plugin banner
2759
2864
  tags: ["TanStack"]
2760
- }
2865
+ },
2761
2866
  // ==========================================
2762
2867
  // THIRD-PARTY PLUGINS - Examples
2763
2868
  // ==========================================
2764
2869
  // External contributors can add their plugins below!
2870
+ // Dimano — Prefetch Heatmap for TanStack Router
2871
+ "@dimano/ts-devtools-plugin-prefetch-heatmap": {
2872
+ packageName: "@dimano/ts-devtools-plugin-prefetch-heatmap",
2873
+ title: "Prefetch Heatmap",
2874
+ description: "Visualize TanStack Router prefetch intent, hits, and waste with a color overlay and a live metrics panel.",
2875
+ requires: {
2876
+ packageName: "@tanstack/react-router",
2877
+ minVersion: "1.0.0"
2878
+ },
2879
+ // default export registers the plugin
2880
+ pluginImport: {
2881
+ importName: "registerPrefetchHeatmapPlugin",
2882
+ type: "function"
2883
+ },
2884
+ // helps the host match your plugin deterministically
2885
+ pluginId: "prefetch-heatmap",
2886
+ // show a nice card in the marketplace
2887
+ logoUrl: "https://raw.githubusercontent.com/dimitrianoudi/tanstack-prefetch-heatmap/main/assets/prefetch-heatmap-card.png",
2888
+ docsUrl: "https://github.com/dimitrianoudi/tanstack-prefetch-heatmap#prefetch-heatmap-devtools-plugin",
2889
+ repoUrl: "https://github.com/dimitrianoudi/tanstack-prefetch-heatmap",
2890
+ author: "Dimitris Anoudis (@dimitrianoudi)",
2891
+ framework: "react",
2892
+ isNew: true,
2893
+ tags: ["Router", "Prefetch", "Analytics", "Overlay", "TanStack"]
2894
+ }
2765
2895
  };
2766
2896
  function getAllPluginMetadata() {
2767
2897
  return Object.values(PLUGIN_REGISTRY);
@@ -2947,6 +3077,15 @@ var buildPluginCards = (pkg, currentFramework, registeredPlugins, existingCards)
2947
3077
  };
2948
3078
  var groupIntoSections = (allCards) => {
2949
3079
  const sections = [];
3080
+ const featuredCards = allCards.filter(
3081
+ (c) => c.metadata?.featured && c.actionType !== "already-installed" && c.isCurrentFramework
3082
+ // Only show featured plugins for current framework
3083
+ );
3084
+ sections.push({
3085
+ id: "featured",
3086
+ displayName: "\u2B50 Featured",
3087
+ cards: featuredCards
3088
+ });
2950
3089
  const activeCards = allCards.filter(
2951
3090
  (c) => c.actionType === "already-installed" && c.isRegistered
2952
3091
  );
@@ -2957,17 +3096,6 @@ var groupIntoSections = (allCards) => {
2957
3096
  cards: activeCards
2958
3097
  });
2959
3098
  }
2960
- const featuredCards = allCards.filter(
2961
- (c) => c.metadata?.featured && c.actionType !== "already-installed" && c.isCurrentFramework
2962
- // Only show featured plugins for current framework
2963
- );
2964
- if (featuredCards.length > 0) {
2965
- sections.push({
2966
- id: "featured",
2967
- displayName: "\u2B50 Featured",
2968
- cards: featuredCards
2969
- });
2970
- }
2971
3099
  const availableCards = allCards.filter(
2972
3100
  (c) => c.isCurrentFramework && c.actionType !== "already-installed" && !c.metadata?.featured
2973
3101
  // Not featured (already in featured section)
@@ -3234,7 +3362,7 @@ var PluginMarketplace = () => {
3234
3362
  // src/tabs/plugins-tab.tsx
3235
3363
  var _tmpl$15 = /* @__PURE__ */ template(`<div><div><div><div></div><div><h3>Add More`);
3236
3364
  var _tmpl$27 = /* @__PURE__ */ template(`<div><h3>`);
3237
- var _tmpl$34 = /* @__PURE__ */ template(`<div>`);
3365
+ var _tmpl$35 = /* @__PURE__ */ template(`<div>`);
3238
3366
  var PluginsTab = () => {
3239
3367
  const {
3240
3368
  plugins,
@@ -3331,7 +3459,7 @@ var PluginsTab = () => {
3331
3459
  return activePlugins();
3332
3460
  },
3333
3461
  children: (pluginId) => (() => {
3334
- var _el$8 = _tmpl$34();
3462
+ var _el$8 = _tmpl$35();
3335
3463
  use((el) => {
3336
3464
  setPluginRefs((prev) => {
3337
3465
  const updated = new Map(prev);
@@ -3437,9 +3565,9 @@ function useHeadChanges(onChange, opts = {}) {
3437
3565
  // src/tabs/seo-tab.tsx
3438
3566
  var _tmpl$16 = /* @__PURE__ */ template(`<div><div> Preview</div><div></div><div></div><div>`);
3439
3567
  var _tmpl$28 = /* @__PURE__ */ template(`<img alt=Preview>`);
3440
- var _tmpl$35 = /* @__PURE__ */ template(`<div>No Image`);
3441
- var _tmpl$43 = /* @__PURE__ */ template(`<div>`);
3442
- var _tmpl$53 = /* @__PURE__ */ template(`<div><strong>Missing tags for <!>:</strong><ul>`);
3568
+ var _tmpl$36 = /* @__PURE__ */ template(`<div>No Image`);
3569
+ var _tmpl$44 = /* @__PURE__ */ template(`<div>`);
3570
+ var _tmpl$54 = /* @__PURE__ */ template(`<div><strong>Missing tags for <!>:</strong><ul>`);
3443
3571
  var _tmpl$62 = /* @__PURE__ */ template(`<li>`);
3444
3572
  var SOCIALS = [
3445
3573
  {
@@ -3583,7 +3711,7 @@ function SocialPreview(props) {
3583
3711
  });
3584
3712
  return _el$7;
3585
3713
  })() : (() => {
3586
- var _el$8 = _tmpl$35();
3714
+ var _el$8 = _tmpl$36();
3587
3715
  _el$8.style.setProperty("background", "#222");
3588
3716
  _el$8.style.setProperty("color", "#888");
3589
3717
  _el$8.style.setProperty("display", "flex");
@@ -3664,7 +3792,7 @@ var SeoTab = () => {
3664
3792
  }), createComponent(SectionDescription, {
3665
3793
  children: "See how your current page will look when shared on popular social networks. The tool checks for essential meta tags and highlights any that are missing."
3666
3794
  }), (() => {
3667
- var _el$9 = _tmpl$43();
3795
+ var _el$9 = _tmpl$44();
3668
3796
  insert(_el$9, createComponent(For, {
3669
3797
  get each() {
3670
3798
  return reports();
@@ -3672,7 +3800,7 @@ var SeoTab = () => {
3672
3800
  children: (report, i) => {
3673
3801
  const social = SOCIALS[i()];
3674
3802
  return (() => {
3675
- var _el$0 = _tmpl$43();
3803
+ var _el$0 = _tmpl$44();
3676
3804
  insert(_el$0, createComponent(SocialPreview, {
3677
3805
  get meta() {
3678
3806
  return report.found;
@@ -3687,7 +3815,7 @@ var SeoTab = () => {
3687
3815
  insert(_el$0, (() => {
3688
3816
  var _c$2 = memo(() => report.missing.length > 0);
3689
3817
  return () => _c$2() ? (() => {
3690
- var _el$1 = _tmpl$53(), _el$10 = _el$1.firstChild, _el$11 = _el$10.firstChild, _el$13 = _el$11.nextSibling; _el$13.nextSibling; var _el$14 = _el$10.nextSibling;
3818
+ var _el$1 = _tmpl$54(), _el$10 = _el$1.firstChild, _el$11 = _el$10.firstChild, _el$13 = _el$11.nextSibling; _el$13.nextSibling; var _el$14 = _el$10.nextSibling;
3691
3819
  insert(_el$10, () => social?.network, _el$13);
3692
3820
  insert(_el$14, createComponent(For, {
3693
3821
  get each() {
@@ -3746,7 +3874,7 @@ var tabs = [{
3746
3874
  // src/components/tabs.tsx
3747
3875
  var _tmpl$17 = /* @__PURE__ */ template(`<div>`);
3748
3876
  var _tmpl$29 = /* @__PURE__ */ template(`<button type=button>`);
3749
- var _tmpl$36 = /* @__PURE__ */ template(`<div><button type=button></button><button type=button>`);
3877
+ var _tmpl$37 = /* @__PURE__ */ template(`<div><button type=button></button><button type=button>`);
3750
3878
  var Tabs = (props) => {
3751
3879
  const styles = useStyles();
3752
3880
  const {
@@ -3785,7 +3913,7 @@ var Tabs = (props) => {
3785
3913
  insert(_el$, (() => {
3786
3914
  var _c$ = memo(() => pipWindow().pipWindow !== null);
3787
3915
  return () => _c$() ? null : (() => {
3788
- var _el$3 = _tmpl$36(), _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling;
3916
+ var _el$3 = _tmpl$37(), _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling;
3789
3917
  _el$3.style.setProperty("margin-top", "auto");
3790
3918
  _el$4.$$click = handleDetachment;
3791
3919
  insert(_el$4, createComponent(PiP, {}));