1import{u as E,r as _,j as s,L as N}from"./vendor-react-DRPai27m.js";import{u as L,S as O,a as T,b as P,c as l,d as u,e as d,f as m,g as h,h as p,N as g,i as z,C as A,j as D,A as G,T as K}from"./AppHeader-CuHySjPw.js";import{O as R}from"./OwlLogo-pJpihcKu.js";import{C as H,a as U,b as B,c as F,d as Q,e as V}from"./command-mcSkhtRC.js";import{c as $,f as q,d as W,s as Y,a as Z}from"./index-CLW-cLyd.js";import{I as J}from"./input-CHYbdudK.js";import{u as X}from"./usePinnedPages-COO1MBQr.js";import{P as C,H as ss,U as ts,b as M,E as es,c as ns,S as as,d as os,M as is,R as rs,G as cs,e as ls,f as us,F as ds,g as ms,D as hs,h as ps,i as gs}from"./vendor-icons-ByCWI-ph.js";import{u as fs}from"./vendor-query-D0Nwyvlg.js";import"./SignedAvatarImage-XepfTIrY.js";import"./avatar-BglUk7QL.js";import"./vendor-ui-DANi144_.js";import"./avatarUtils-CmJweDlm.js";import"./formatUtils-B-D3rPpV.js";import"./skeleton-B5vQ32w-.js";import"./cockpitLink-BD84-boe.js";import"./cockpitOpenTabs-Be7yfpN3.js";import"./vendor-motion-B4EkWbPh.js";import"./useProfile-CnB_HsMh.js";import"./messageParts-CtqYEows.js";import"./vendor-forms-0WRHRfN1.js";import"./index-DDm3MBB3.js";import"./chatDirectory-BHF7ZIly.js";import"./empty-state-placeholder-DDnZ4kYz.js";import"./scroll-area-D0lcclK4.js";import"./sheet-C7BDGIL3.js";import"./modalConfig-NnlWI3Cg.js";import"./alert-dialog-BqwfVN5d.js";import"./useHoustonDashboardStats-DIE4tWCL.js";import"./growthUtils-CcArUUP3.js";import"./useSuperAdmin-BPy_vjHf.js";import"./popover-DiDpLpkG.js";import"./badge-DevbX0A_.js";import"./watchtowerConfig-UypGLTV_.js";import"./error-state-placeholder-C0rPyu82.js";import"./integrationProviderConfig-DHFYlVx1.js";import"./vendor-date-COwFo1ZI.js";import"./tabs-NblrTLtO.js";import"./useSubscriptionAccess-DubpwwIn.js";import"./accountColumns-z15xpWW8.js";import"./planUIConfig-GhR4TUFH.js";import"./usePlanLimits-DUMEVp3w.js";import"./pricingConfig-BiSFm_Dl.js";import"./dropdown-menu-r0wqqMbw.js";import"./menu-surface-u8AB4PFj.js";import"./use-mobile-Cqd_hVCA.js";import"./separator-Bd5S-Mku.js";import"./dialog-CriWNvIo.js";import"./vendor-utils-_i25tw49.js";const b=[{title:"Dashboard",url:"/houston",icon:ss,keywords:["start","übersicht","home","houston","startseite"]}],x=[{title:"Kunde 360°",url:"/houston/customers",icon:ts,keywords:["kunden","suche","profil","customer","360"]},{title:"Benutzer",url:"/houston/users",icon:M,keywords:["nutzer","user","mitglieder","registrierungen","konten","accounts"]}],j=[{title:"Finanzen",url:"/houston/analytics/financial",icon:es,keywords:["mrr","umsatz","revenue","geld","stripe","arr","churn"]},{title:"Sales",url:"/houston/analytics/sales",icon:ns,keywords:["vertrieb","deals","pipedrive","verkauf","pipeline"]},{title:"Partner",url:"/houston/analytics/partner",icon:M,keywords:["affiliate","tapfiliate","partner","provisionen","referral","empfehlung"]},{title:"KI",url:"/houston/analytics/ai",icon:as,keywords:["ai","credits","tokens","künstliche intelligenz","lovable","kosten","costs","gemini","gpt"]}],v=[{title:"Team",url:"/houston/team",icon:os,keywords:["super admin","admins","mitarbeiter","berechtigungen"]},{title:"Ankündigungen",url:"/houston/changelog",icon:is,keywords:["änderungen","updates","news","neuigkeiten","release","changelog","ankündigungen"]},{title:"Synchronisation",url:"/houston/integrations",icon:rs,keywords:["stripe","intercom","pipedrive","tapfiliate","webhooks","sync","api","integration"]},{title:"SEO & SM",url:"/houston/seo",icon:cs,keywords:["seo","social","sharing","sitemap","robots","noindex","meta","og","twitter","facebook","linkedin","open graph"]},{title:"Standort",url:"/houston/geo",icon:ls,keywords:["geo","standort","geolocation","ip","land","region","db-ip","ipgeolocation"]},{title:"Monitoring",url:"/houston/monitoring",icon:us,keywords:["monitoring","alerts","edge functions","webhooks","audit","fehler","latenz"]}],w=[{title:"Logs & DSGVO",url:"/houston/audit-log",icon:ds,keywords:["protokoll","history","verlauf","aktivitäten","logs","dsgvo","gdpr","datenschutz"]},{title:"Script Manager",url:"/houston/scripts",icon:ms,keywords:["scripts","gtm","analytics","tracking","javascript","code","injection","header","footer","consent","cookie"]}],k=[{title:"Downloads",url:"/houston/material/downloads",icon:hs,keywords:["logo","branding","assets","material","grafiken"]}],_s=[...b,...x,...j,...v,...w,...k],ys=Object.fromEntries(_s.map(e=>[e.url,e.icon])),bs=[{heading:"Ãbersicht",items:b},{heading:"Nutzer",items:x},{heading:"Analytics",items:j},{heading:"System",items:v},{heading:"Logs & DSGVO",items:w},{heading:"Material",items:k}];function xs(){const{pinnedPages:e}=X(),o=E(),[r,i]=_.useState(!1),{setOpenMobile:n}=L(),f=_.useMemo(()=>typeof navigator<"u"&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),[])?"âK":"Strg+K";return _.useEffect(()=>{const t=a=>
1{a.key==="k"&&(a.metaKey||a.ctrlKey)&&(a.preventDefault(),i(y=>!y))};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[]),s.jsxs(O,{className:"border-r",children:[s.jsx(T,{className:"h-16 flex items-center justify-center px-6 border-b",children:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(N,{to:"/projects",children:s.jsx(R,{className:"text-2xl"})}),s.jsx("span",{className:"text-xs font-medium bg-primary/10 text-primary px-2 py-0.5 rounded",children:"HOUSTON"})]})}),s.jsxs(P,{children:[e.length>0&&s.jsxs(l,{children:[s.jsxs(u,{className:"flex items-center gap-2",children:[s.jsx(C,{className:"h-3 w-3"}),"Gepinnt"]}),s.jsx(d,{children:s.jsx(m,{children:e.map(t=>{const a=ys[t.url]||C;return s.jsx(h,{children:s.jsx(p,{asChild:!0,children:s.jsxs(g,{to:t.url,end:t.url==="/houston",className:"flex min-w-0 items-center gap-3 px-3 py-2 text-sm font-medium rounded-md transition-colors hover:bg-sidebar-accent",onClick:()=>n(!1),activeClassName:"bg-sidebar-accent text-sidebar-accent-foreground",children:[s.jsx(a,{className:"h-4 w-4"}),s.jsx("span",{className:"truncate",children:t.title})]})})},t.url)})})})]}),s.jsxs(l,{children:[s.jsx(u,{children:"Ãbersicht"}),s.jsx(d,{children:s.jsx(m,{children:b.map(t=>s.jsx(h,{children:s.jsx(p,{asChild:!0,children:s.jsxs(g,{to:t.url,end:!0,className:"flex min-w-0 items-center gap-3 px-3 py-2 text-sm font-medium rounded-md transition-colors hover:bg-sidebar-accent",onClick:()=>n(!1),activeClassName:"bg-sidebar-accent text-sidebar-accent-foreground",children:[s.jsx(t.icon,{className:"h-4 w-4"}),s.jsx("span",{className:"truncate",children:t.title})]})})},t.title))})})]}),s.jsxs(l,{children:[s.jsx(u,{children:"Nutzer"}),s.jsx(d,{children:s.jsx(m,{children:x.map(t=>s.jsx(h,{children:s.jsx(p,{asChild:!0,children:s.jsxs(g,{to:t.url,className:"flex min-w-0 items-center gap-3 px-3 py-2 text-sm font-medium rounded-md transition-colors hover:bg-sidebar-accent",onClick:()=>n(!1),activeClassName:"bg-sidebar-accent text-sidebar-accent-foreground",children:[s.jsx(t.icon,{className:"h-4 w-4"}),s.jsx("span",{className:"truncate",children:t.title})]})})},t.title))})})]}),s.jsxs(l,{children:[s.jsx(u,{children:"Analytics"}),s.jsx(d,{children:s.jsx(m,{children:j.map(t=>s.jsx(h,{children:s.jsx(p,{asChild:!0,children:s.jsxs(g,{to:t.url,className:"flex min-w-0 items-center gap-3 px-3 py-2 text-sm font-medium rounded-md transition-colors hover:bg-sidebar-accent",onClick:()=>n(!1),activeClassName:"bg-sidebar-accent text-sidebar-accent-foreground",children:[s.jsx(t.icon,{className:"h-4 w-4"}),s.jsx("span",{className:"truncate",children:t.title})]})})},t.title))})})]}),s.jsxs(l,{children:[s.jsx(u,{children:"System"}),s.jsx(d,{children:s.jsx(m,{children:v.map(t=>s.jsx(h,{children:s.jsx(p,{asChild:!0,children:s.jsxs(g,{to:t.url,className:"flex min-w-0 items-center gap-3 px-3 py-2 text-sm font-medium rounded-md transition-colors hover:bg-sidebar-accent",onClick:()=>n(!1),activeClassName:"bg-sidebar-accent text-sidebar-accent-foreground",children:[s.jsx(t.icon,{className:"h-4 w-4"}),s.jsx("span",{className:"truncate",children:t.title})]})})},t.title))})})]}),s.jsxs(l,{children:[s.jsx(u,{children:"Logs & DSGVO"}),s.jsx(d,{children:s.jsx(m,{children:w.map(t=>s.jsx(h,{children:s.jsx(p,{asChild:!0,children:s.jsxs(g,{to:t.url,className:"flex min-w-0 items-center gap-3 px-3 py-2 text-sm font-medium rounded-md transition-colors hover:bg-sidebar-accent",onClick:()=>n(!1),activeClassName:"bg-sidebar-accent text-sidebar-accent-foreground",children:[s.jsx(t.icon,{className:"h-4 w-4"}),s.jsx("span",{className:"truncate",children:t.title})]})})},t.title))})})]}),s.jsxs(l,{children:[s.jsx(u,{children:"Material"}),s.jsx(d,{children:s.jsx(m,{children:k.map(t=>s.jsx(h,{children:s.jsx(p,{asChild:!0,children:s.jsxs(g,{to:t.url,className:"flex min-w-0 items-center gap-3 px-3 py-2 text-sm font-medium rounded-md transition-colors hover:bg-sidebar-accent",onClick:()=>n(!1),activeClassName:"bg-sidebar-accent text-sidebar-accent-foreground",children:[s.jsx(t.icon,{className:"h-4 w-4"}),s.jsx("span",{className:"truncate",children:t.title})]})})},t.title))})})]})]}),s.jsxs(z,{className:"items-center",children:[s.jsx("div",{className:"w-full max-w-[235px]",children:s.jsxs("div",{className:"relative cursor-pointer",onClick:()=>i(!0),children:[s.jsx(ps,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),s.jsx(J,{placeholder:`Suche (${f})...`,"aria-label":`Suche (${f})`,className:"pl-9 cursor-pointer h-9",readOnly:!0})]})}),s.jsx("div",{className:"w-full h-px bg-border"}),s.jsx("div",{className:"w-full max-w-[235px] pb-2",children:s.jsx($,{variant:"outline",asChild:!0,className:"w-full",children:s.jsxs(N,{to:"/projects",className:"flex items-center gap-2",children:[s.jsx(gs,{className:"h-4 w-4"}),"Zurück zur App"]}
1)})})]}),s.jsxs(H,{open:r,onOpenChange:i,children:[s.jsx(U,{placeholder:"Houston durchsuchen..."}),s.jsxs(B,{children:[s.jsx(F,{children:"Keine Ergebnisse gefunden."}),bs.map(t=>s.jsx(Q,{heading:t.heading,children:t.items.map(a=>{var y;return s.jsxs(V,{value:`${a.title} ${((y=a.keywords)==null?void 0:y.join(" "))||""}`,onSelect:()=>{o(a.url),i(!1)},children:[s.jsx(a.icon,{className:"mr-2 h-4 w-4"}),a.title]},a.url)})},t.heading))]})]})]})}const S={accounts:0,profiles:0,watchtower_alerts:0,admin_notifications:0,sync_status:0,cronjob_executions:2e3,cronjob_config:2e3,sync_history:2e3,user_roles:2e3,invitations:2e3,heatmap_element_stats:5e3,heatmap_click_aggregates:5e3,heatmap_scroll_aggregates:5e3,heatmap_mouse_aggregates:5e3,heatmap_attention_zones:5e3,events:5e3,session_recordings:5e3,session_recording_events:5e3,daily_metrics:5e3,unified_metrics:5e3,unified_events:5e3,ai_usage_log:15e3,_default:1e3};function js(e){return S[e]??S._default}const I={accounts:["houston-dashboard-stats","houston-accounts","houston-accounts-list","houston-accounts-map","houston-accounts-overview","customer-360-stats","customer-360-list","customer-360-detail","financial-analytics","houston-users-projects-billing"],profiles:["houston-dashboard-stats","houston-users-list","houston-user-counts","houston-user-counts-per-account","houston-profile-data","customer-360-detail","customer-360-list","houston-super-admins","houston-accounts-list","houston-partner-details","partner-stats","houston-recent-activity"],projects:["houston-dashboard-stats","houston-dashboard-overview","houston-project-counts","houston-projects-overview","customer-360-detail","customer-360-list","houston-users-projects-billing"],ai_decisions:["houston-dashboard-stats","customer-360-detail"],ai_suggestions:["customer-360-detail"],rules:["customer-360-detail"],interventions:["customer-360-detail"],project_tracking_status:["houston-project-counts","houston-dashboard-stats","houston-projects-overview","houston-dashboard-overview","customer-360-detail","customer-360-list"],watchtower_alerts:["houston-dashboard-stats","watchtower-alerts","watchtower-analytics"],invitations:["houston-users-list","houston-dashboard-stats","customer-360-detail"],api_keys:["api-keys"],referral_clicks:["partner-stats","houston-partner-details"],admin_notifications:["admin-notifications"],sync_status:["sync-status"],sync_history:["sync-history","sync-analytics","houston-failed-syncs","houston-dashboard-overview","gdpr-cleanup-status"],sync_stripe_customers:["customer-360-stats","customer-360-list","customer-360-detail"],sync_stripe_subscriptions:["financial-analytics","customer-360-detail","customer-360-list","houston-dashboard-stats"],sync_stripe_invoices:["financial-analytics","customer-360-detail"],sync_stripe_credit_notes:["financial-analytics"],sync_stripe_discounts:["financial-analytics"],sync_stripe_payouts:["financial-analytics"],sync_stripe_charges:["financial-analytics","customer-360-detail"],sync_stripe_payment_intents:["financial-analytics"],sync_stripe_payment_methods:["financial-analytics","customer-360-detail"],sync_intercom_contacts:["customer-360-stats","customer-360-list","customer-360-detail","gdpr-cleanup-status","gdpr-archived-records"],sync_intercom_companies:["customer-360-stats","customer-360-list","customer-360-detail","gdpr-cleanup-status","gdpr-archived-records"],sync_intercom_conversations:["customer-360-detail"],sync_pipedrive_persons:["customer-360-stats","customer-360-list","customer-360-detail","sales-analytics","sales-owners","gdpr-cleanup-status","gdpr-archived-records"],sync_pipedrive_deals:["customer-360-stats","customer-360-detail","customer-360-list","sales-analytics","sales-pipeline","sales-stages","houston-dashboard-stats"],sync_pipedrive_organizations:["customer-360-stats","customer-360-detail","gdpr-cleanup-status","gdpr-archived-records"],sync_pipedrive_activities:["customer-360-detail","sales-analytics","gdpr-cleanup-status","gdpr-archived-records"],sync_pipedrive_notes:["customer-360-detail","gdpr-cleanup-status","gdpr-archived-records"],sync_tapfiliate_affiliates:["customer-360-stats","customer-360-list","customer-360-detail","financial-analytics","houston-partner-details","partner-stats","gdpr-cleanup-status","gdpr-archived-records"],sync_tapfili
1ate_conversions:["financial-analytics","customer-360-detail","houston-partner-details"],sync_tapfiliate_commissions:["financial-analytics","houston-partner-details","partner-stats"],sync_tapfiliate_payments:["financial-analytics","houston-partner-details"],sync_tapfiliate_customers:["customer-360-detail","partner-stats","gdpr-cleanup-status"],sync_mrr_snapshots:["financial-analytics"],account_service_mapping:["customer-360-detail","customer-360-list","houston-accounts-list"],user_roles:["houston-users-list","houston-user-roles","houston-user-counts","houston-user-counts-per-account","houston-users-projects-billing","customer-360-detail"],blocked_emails:["houston-users-list","houston-blocked-emails-full","houston-accounts-list","customer-360-list","customer-360-detail"],referrals:["customer-360-detail","customer-360-list","partner-stats"],super_admin_audit_log:["houston-audit-log-full","houston-audit-logs","houston-recent-activity","houston-dashboard-overview"],super_admins:["houston-super-admins"],partners:["partner-stats","customer-360-detail","customer-360-list","houston-partners-map","houston-partner-details"],changelog_entries:["changelog-entries"],site_scripts:["site-scripts","active-site-scripts","houston-dashboard-stats"],consent_settings:["consent-settings","houston-dashboard-stats"],site_settings:["site-settings","houston-dashboard-stats"],grace_period_email_notifications:["houston-accounts-list","customer-360-detail"],daily_metrics:["customer-360-detail"],funnels:["funnels","funnel-analytics","customer-360-detail"],funnel_steps:["funnel-steps","funnels","funnel-analytics"],funnel_step_metrics:["funnel-step-metrics","funnel-step-metrics-aggregated","funnel-analytics"],funnel_ai_decisions:["funnel-ai-decisions","ai-decisions","customer-360-detail"],funnel_learnings:["funnel-learnings","project-learnings"],funnel_external_integrations:["funnel-external-integrations"],funnel_templates:["funnel-templates"],funnel_conversions:["funnel-conversions","funnel-conversion-stats","funnel-attribution","customer-360-detail","funnel-analytics"],funnel_session_progression:["funnel-session-progression","funnel-session-journeys","customer-360-detail","funnel-analytics"],funnel_attribution_metrics:["funnel-attribution","funnel-attribution-summary","customer-360-detail","houston-dashboard-stats"],funnel_processing_errors:["funnel-processing-errors","houston-dashboard-stats","funnel-analytics"],funnel_step_session_tracking:["funnel-step-metrics","funnel-analytics","funnel-session-journeys"],cronjob_config:["houston-cronjob-config","houston-dashboard-stats","houston-cronjob-stats"],cronjob_executions:["houston-cronjob-executions","houston-dashboard-stats","houston-recent-activity","houston-cronjob-stats"],canceling_email_notifications:["customer-360-detail","houston-accounts-list"],trial_email_notifications:["customer-360-detail","houston-accounts-list"],sessions:["houston-session-stats","customer-360-detail"],watchtower_settings:["watchtower-settings","customer-360-detail"],watchtower_notification_log:["watchtower-notifications","customer-360-detail"],custom_alert_rules:["custom-alert-rules","customer-360-detail"],project_learnings:["project-learnings","customer-360-detail"],ai_learnings:["global-learnings","community-learnings","houston-dashboard-stats"],integration_connections:["houston-dashboard-stats","customer-360-detail","houston-integrations","integrations"],integration_properties:["houston-integrations","customer-360-detail","integration-properties"],integration_project_mappings:["houston-integrations","customer-360-detail","integration-mappings","project-integrations"],integration_sync_logs:["houston-integrations","houston-sync-status","customer-360-detail","integration-sync-logs"],integration_sync_data:["houston-integrations","houston-sync-data","unified-metrics"],integration_providers:["houston-integrations","integration-providers"],integration_companies:["houston-integrations","customer-360-detail","unified-metrics"],integration_contacts:["houston-integrations","customer-360-detail","unified-metrics"],integration_conversations:["houston-integrations","customer-360-detail","unified-metrics"],integration_deals:["houston-integrations","customer-360-detail","sales-analytics","unified-metrics"],integration_invoices:["houston-integrations","customer-360-detail","financial-analytics","unified-metrics"],integration_line_items:["houston-integrations","customer-360-detail","unified-metrics"],integration_owners:["houston-integrations","customer-360-detail","sales-owners"],integration_products:["houston-integrations","customer-360-detail","unified-metrics"],integration_tickets:["houston-integrations","customer-360-detail","unified-metrics"],unified_metrics:["houston-unified-metrics","customer-360-detail","houston-dashboard-stats","unified-metrics"],unified_events:["houston-unified-events","customer-360-detail","unified-events"],unified_sessions:["houston-unified-sessions","customer-360-detail","unified-sessions"],events:["houston-events","houston-event-distribution","customer-360-detail","houston-dashboard-stats"],user_notifications:["houston-user-notifications","customer-360-detail","user-notifications"],health_alert_notifications:["customer-360-detail","houston-accounts-list"],ai_decision_limit_notifications:["customer-360-detail","houston-accounts-list"],session_limit_notifications:["customer-360-detail","houston-accounts-list"],replay_limit_notifications:["customer-360-detail","houston-accounts-list"],admin_integrations:["houston-integrations","houston-dashboard-stats","houston-admin-integrations"],admin_kpi_cache:["houston-dashboard-stats","houston-kpi-cache"],admin_notification_reads:["admin-notifications","admin-notification-counts"],api_logs:["houston-api-logs","houston-dashboard-stats"],api_rate_limits:["houston-api-rate-limits","api-keys"],tracking_inactive_notifications:["houston-tracking-health","customer-360-detail","houston-accounts-list"],system_config:["houston-system-config","houston-dashboard-stats"],webhook_logs:["houston-webhook-logs","houston-dashboard-stats","houston-integrations"],ai_usage_log:["houston-ai-analytics","houston-dashboard-stats","customer-360-detail"],project_integrations:["project-integration","project-integrations","customer-360-detail","houston-dashboard-stats"],addon_purchases:["addon-purchases","customer-360-detail","financial-analytics","houston-dashboard-stats"],addon_email_notifications:["customer-360-detail","addon-purchases"],legal_agreements:["customer-360-detail","customer-360-list","legal-agreements"],feature_registry:["feature-registry","houston-dashboard-stats","available-features"],proactive_recommendations:["proactive-recommendations","proactive-insights","customer-360-detail","houston-dashboard-stats"],recommendation_patterns:["recommendation-patterns","learning-system-health","houston-dashboard-stats"],recommendation_outcomes:["recommendation-outcomes","customer-360-detail","learning-system-health"],community_recommendation_patterns:["community-patterns","community-learnings","houston-dashboard-stats"],feature_correlation_cache:["feature-correlations","customer-360-detail"],funnel_metrics:["funnel-metrics","funnel-analytics","customer-360-detail","houston-dashboard-stats"],houston_rate_limits:["houston-api-rate-limits","houston-dashboard-stats","api-keys"],heatmap_click_aggregates:["houston-heatmap-analytics","houston-dashboard-stats","customer-360-detail","heatmap-data"],heatmap_scroll_aggregates:["houston-heatmap-analytics","houston-dashboard-stats","heatmap-data"],heatmap_mouse_aggregates:["houston-heatmap-analytics","heatmap-data"],heatmap_attention_zones:["houston-heatmap-analytics","customer-360-detail","heatmap-data","funnel-heatmap-insights"],heatmap_element_stats:["houston-heatmap-analytics","houston-dashboard-stats","heatmap-data","funnel-heatmap-insights"],heatmap_page_snapshots:["houston-heatmap-analytics","heatmap-data","heatmap-screenshots"],heatmap_ai_insights:["houston-heatmap-analytics","houston-ai-analytics","heatmap-data","heatmap-insights"],heatmap_learnings:["houston-heatmap-analytics","heatmap-learnings","project-learnings"],heatmap_segments:["houston-heatmap-analytics","heatmap-segments","heatmap-data"],normalized_events:["houston-unified-events","houston-dashboard-stats","unified-events","customer-360-detail"],session_recordings:["houston-session-replays","session-recordings","customer-360-detail","houston-dashboard-stats"],session_comments:["replay-comments","customer-360-detail"],session_shares:["replay-shares","customer-360-detail"],session_cohorts:["session-cohorts","customer-360-detail","houston-dashboard-stats"],session_cohort_members:["session-cohorts","session-cohort
1-members","customer-360-detail"],session_key_moments:["replay-key-moments","houston-session-replays"],session_heatmap_correlation:["replay-heatmap-correlation","customer-360-detail"],session_funnel_correlation:["replay-funnel-correlation","customer-360-detail"],session_attribution_correlation:["replay-attribution-correlation","customer-360-detail"]};function vs(e){const o=new Map;return(r,i)=>{const n=js(r),c=o.get(r);if(c&&clearTimeout(c),n===0){i.forEach(t=>{e.invalidateQueries({queryKey:[t]})});return}const f=setTimeout(()=>{i.forEach(t=>{e.invalidateQueries({queryKey:[t]})}),o.delete(r)},n);o.set(r,f)}}function ws(){const e=fs(),o=_.useRef(null);o.current||(o.current=vs(e)),_.useEffect(()=>{const r=q(Object.keys(I)),i=o.current,n=W("houston-realtime");return r.forEach(c=>{n.on("postgres_changes",{event:"*",schema:"public",table:c},()=>{const f=I[c];i(c,f)})}),n.subscribe(),()=>{Y.removeChannel(n)}},[e])}function bt({children:e}){const{t:o}=Z("app");return ws(),s.jsx(A,{children:s.jsx(D,{children:s.jsxs("div",{className:"app-shell-modern flex h-dvh w-full overflow-x-hidden",children:[s.jsx(xs,{}),s.jsxs("div",{className:"relative flex flex-1 flex-col min-w-0 min-h-0 bg-background",children:[s.jsx(G,{sidebarLabel:o("dashboard_layout.toggle_sidebar"),children:s.jsx(K,{})}),s.jsx("main",{className:"flex-1 min-w-0 p-3 sm:p-4 md:p-6 bg-background overflow-x-hidden overflow-y-auto",children:e})]})]})})})}export{bt as SuperAdminLayout};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.