@karan171996/metricflow 0.8.3 → 0.10.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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/fallback-build-manifest.json +3 -3
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +5 -33
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +38 -43
- package/.next/server/app/_not-found.segments/_full.segment.rsc +38 -43
- package/.next/server/app/_not-found.segments/_index.segment.rsc +29 -34
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/analyze/route.js.nft.json +1 -1
- package/.next/server/app/api/connect/route.js.nft.json +1 -1
- package/.next/server/app/api/health/route.js.nft.json +1 -1
- package/.next/server/app/api/metrics/route.js.nft.json +1 -1
- package/.next/server/app/api/settings/route.js +2 -1
- package/.next/server/app/api/settings/route.js.nft.json +1 -1
- package/.next/server/app/api/setup/ai/route.js.nft.json +1 -1
- package/.next/server/app/api/setup/route.js.nft.json +1 -1
- package/.next/server/app/connect/page.js.nft.json +1 -1
- package/.next/server/app/connect/page_client-reference-manifest.js +1 -1
- package/.next/server/app/connect.html +2 -2
- package/.next/server/app/connect.rsc +39 -44
- package/.next/server/app/connect.segments/_full.segment.rsc +39 -44
- package/.next/server/app/connect.segments/_index.segment.rsc +29 -34
- package/.next/server/app/connect.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/connect.segments/connect/__PAGE__.segment.rsc +6 -6
- package/.next/server/app/index.html +2 -2
- package/.next/server/app/index.rsc +39 -44
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/index.segments/_full.segment.rsc +39 -44
- package/.next/server/app/index.segments/_index.segment.rsc +29 -34
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/performance/[slug]/page.js.nft.json +1 -1
- package/.next/server/app/performance/[slug]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/performance/page.js.nft.json +1 -1
- package/.next/server/app/performance/page_client-reference-manifest.js +1 -1
- package/.next/server/app/performance.html +2 -2
- package/.next/server/app/performance.rsc +46 -57
- package/.next/server/app/performance.segments/_full.segment.rsc +46 -57
- package/.next/server/app/performance.segments/_index.segment.rsc +29 -34
- package/.next/server/app/performance.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/performance.segments/performance/__PAGE__.segment.rsc +11 -17
- package/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app/setup/page.js.nft.json +1 -1
- package/.next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/.next/server/app/setup.html +2 -2
- package/.next/server/app/setup.rsc +40 -45
- package/.next/server/app/setup.segments/_full.segment.rsc +40 -45
- package/.next/server/app/setup.segments/_index.segment.rsc +29 -34
- package/.next/server/app/setup.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/setup.segments/setup/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/tools/[tool]/page.js.nft.json +1 -1
- package/.next/server/app/tools/[tool]/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0fkj1-q._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0o2ceqr._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0pil1g6._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__17ksca-._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1f_fo0j._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1naf7j4._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1rx5s6r._.js +1 -1
- package/.next/server/chunks/_0j7t8f9._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__02c3m72._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1jr0qvs._.js +1 -1
- package/.next/server/chunks/ssr/_02_o-ya._.js +2 -2
- package/.next/server/chunks/ssr/_045bvlq._.js +1 -1
- package/.next/server/chunks/ssr/_0loqsig._.js +3 -0
- package/.next/server/chunks/ssr/_0un641_._.js +1 -1
- package/.next/server/chunks/ssr/_0x78uxx._.js +3 -0
- package/.next/server/chunks/ssr/_13m9nev._.js +1 -1
- package/.next/server/chunks/ssr/{_1n6rdd2._.js → _1e2kw7_._.js} +2 -2
- package/.next/server/chunks/ssr/_1my0v50._.js +3 -0
- package/.next/server/chunks/ssr/_1t-coe_._.js +151 -0
- package/.next/server/chunks/ssr/_1te3xjw._.js +3 -0
- package/.next/server/chunks/ssr/_1yayvr-._.js +3 -0
- package/.next/server/chunks/ssr/components_1_8btz1._.js +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +1 -1
- package/.next/server/prefetch-hints.json +0 -14
- package/.next/static/chunks/04gu7yw10i4rc.js +1 -0
- package/.next/static/chunks/2a13xlyo2-he7.js +1 -0
- package/.next/static/chunks/2gixnay4u3hoe.js +4 -0
- package/.next/static/chunks/{036zzfotyi252.js → 2r1mqyk-y9ywu.js} +1 -1
- package/.next/static/chunks/2sh7680ti_qkv.js +1 -0
- package/.next/static/chunks/32qkw4q4c_gv1.css +1 -0
- package/.next/static/chunks/32w6d6b9f9xks.js +1 -0
- package/.next/static/chunks/3mkpnj4abn9jb.js +1 -0
- package/.next/static/chunks/3zxdkbf-vu5l4.js +1 -0
- package/.next/trace +1 -1
- package/.next/trace-build +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
- package/.next/server/app/settings.html +0 -2
- package/.next/server/app/settings.meta +0 -35
- package/.next/server/app/settings.rsc +0 -60
- package/.next/server/app/settings.segments/_full.segment.rsc +0 -60
- package/.next/server/app/settings.segments/_index.segment.rsc +0 -35
- package/.next/server/app/settings.segments/_tree.segment.rsc +0 -2
- package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +0 -43
- package/.next/server/chunks/[root-of-the-server]__18s35pf._.js +0 -3
- package/.next/server/chunks/ssr/_0_02db6._.js +0 -3
- package/.next/server/chunks/ssr/_0ompurr._.js +0 -7
- package/.next/server/chunks/ssr/_12pw-ix._.js +0 -151
- package/.next/server/chunks/ssr/_19s4g71._.js +0 -3
- package/.next/static/chunks/0lyc9tdvuc1n0.js +0 -4
- package/.next/static/chunks/0momrtx6df4ys.js +0 -1
- package/.next/static/chunks/18thq9ido-jej.js +0 -5
- package/.next/static/chunks/190rvtbj8tqbw.js +0 -1
- package/.next/static/chunks/1jib73gyns_01.js +0 -1
- package/.next/static/chunks/1kqzgl2gb6ily.js +0 -1
- package/.next/static/chunks/2lecef5u2sq8u.css +0 -1
- package/.next/static/chunks/31od3fbrskb5_.js +0 -1
- /package/.next/static/{SRFaL-IgaQDN3k4oHjtcw → xbaKdc39wmsvYFMLT0pcf}/_buildManifest.js +0 -0
- /package/.next/static/{SRFaL-IgaQDN3k4oHjtcw → xbaKdc39wmsvYFMLT0pcf}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{SRFaL-IgaQDN3k4oHjtcw → xbaKdc39wmsvYFMLT0pcf}/_ssgManifest.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[40602,a=>{"use strict";a.s(["ExportSettings",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call ExportSettings() from the server but ExportSettings is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Settings/ExportSettings.tsx","ExportSettings")},61057,a=>{"use strict";var b=a.i(40602);a.n(b)},46280,a=>{"use strict";a.s(["NotificationPrefs",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call NotificationPrefs() from the server but NotificationPrefs is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Settings/NotificationPrefs.tsx","NotificationPrefs")},62807,a=>{"use strict";var b=a.i(46280);a.n(b)},44063,a=>{"use strict";a.s(["TeamMembers",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call TeamMembers() from the server but TeamMembers is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Settings/TeamMembers.tsx","TeamMembers")},40321,a=>{"use strict";var b=a.i(44063);a.n(b)},72017,a=>{"use strict";var b=a.i(91396);a.i(90103);var c=a.i(24084),d=a.i(97728);a.i(59682);var e=a.i(22381),f=a.i(96690),g=a.i(78720),h=a.i(29171),i=a.i(43917),j=a.i(7969);let k={name:"key",size:24,node:[["path",{d:"m2 21 9.6-9.6",key:"9l79m3"}],["path",{d:"m7.5 15.5 2.3 2.3a1 1 0 0 1 0 1.4l-2.1 2.1a1 1 0 0 1-1.4 0L4 19",key:"fw8biw"}],["circle",{cx:"15.5",cy:"7.5",r:"5.5",key:"4wxmhb"}]]};k.node;let l=(0,j.default)(k);function m(){return(0,b.jsxs)(h.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:[(0,b.jsxs)(h.CardHeader,{children:[(0,b.jsxs)(h.CardTitle,{className:"text-[18px] font-bold text-white tracking-tight flex items-center gap-2",children:[(0,b.jsx)(l,{className:"h-5 w-5 text-gray-400"}),"API Keys"]}),(0,b.jsx)(h.CardDescription,{className:"text-sm text-gray-400",children:"Your New Relic and Sentry keys are stored in .env.local on this machine and are never shown here."})]}),(0,b.jsx)(h.CardContent,{children:(0,b.jsx)(g.default,{href:"/setup",className:(0,i.buttonVariants)({variant:"outline"}),children:"Manage keys"})})]})}a.s(["ApiKeys",0,m],81327);var n=a.i(61057),o=a.i(86645),p=a.i(62807),q=a.i(40321);a.s([],34144),a.i(34144),a.i(81327),a.s([],72841,!0),a.j(n,72841),a.j(o,72841),a.j(p,72841),a.j(q,72841);var r=a.i(72841);a.s(["default",0,function(){return(0,b.jsxs)(d.SidebarProvider,{children:[(0,b.jsx)(c.AppSidebar,{}),(0,b.jsxs)(d.SidebarInset,{className:"bg-dash-surface",children:[(0,b.jsx)(e.Header,{}),(0,b.jsxs)("div",{className:"flex flex-1 flex-col p-6 md:p-8 max-w-[1200px] mx-auto w-full",children:[(0,b.jsxs)("div",{className:"mb-8",children:[(0,b.jsx)("h1",{className:"title-enter text-2xl font-bold text-white tracking-tight",children:"Settings"}),(0,b.jsx)("p",{className:"text-sm text-gray-400",children:"Manage your account, team, and dashboard preferences."})]}),(0,b.jsxs)(f.Tabs,{defaultValue:"general",className:"w-full",children:[(0,b.jsxs)(f.TabsList,{className:"bg-[#0f1419] border border-[#2d3748] mb-8 p-1 h-auto",children:[(0,b.jsx)(f.TabsTrigger,{value:"general",className:"data-[state=active]:bg-[#1a202c] data-[state=active]:text-white text-gray-400",children:"General & API"}),(0,b.jsx)(f.TabsTrigger,{value:"thresholds",className:"data-[state=active]:bg-[#1a202c] data-[state=active]:text-white text-gray-400",children:"Performance Thresholds"}),(0,b.jsx)(f.TabsTrigger,{value:"team",className:"data-[state=active]:bg-[#1a202c] data-[state=active]:text-white text-gray-400",children:"Notifications & Team"})]}),(0,b.jsxs)(f.TabsContent,{value:"general",className:"space-y-6 mt-0",children:[(0,b.jsx)(m,{}),(0,b.jsx)(r.ExportSettings,{})]}),(0,b.jsx)(f.TabsContent,{value:"thresholds",className:"mt-0",children:(0,b.jsx)(r.ThresholdSettings,{})}),(0,b.jsx)(f.TabsContent,{value:"team",className:"space-y-6 mt-0",children:(0,b.jsx)(r.NotificationPrefs,{})})]})]})]})]})}],72017)},51425,function(a){a.n(a.i(72017))},90336,a=>{"use strict";a.s(["ThresholdSettings",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call ThresholdSettings() from the server but ThresholdSettings is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Settings/ThresholdSettings.tsx","ThresholdSettings")},86645,a=>{"use strict";var b=a.i(90336);a.n(b)},43917,a=>{"use strict";let b,c;var d=a.i(91396),e=a.i(38182);let f=a=>"boolean"==typeof a?`${a}`:0===a?"0":a,g=function(){for(var a,b,c=0,d="",e=arguments.length;c<e;c++)(a=arguments[c])&&(b=function a(b){var c,d,e="";if("string"==typeof b||"number"==typeof b)e+=b;else if("object"==typeof b)if(Array.isArray(b)){var f=b.length;for(c=0;c<f;c++)b[c]&&(d=a(b[c]))&&(e&&(e+=" "),e+=d)}else for(d in b)b[d]&&(e&&(e+=" "),e+=d);return e}(a))&&(d&&(d+=" "),d+=b);return d};var h=a.i(67913);let i=(b="group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",c={variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}},a=>{var d;if((null==c?void 0:c.variants)==null)return g(b,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:e,defaultVariants:h}=c,i=Object.keys(e).map(b=>{let c=null==a?void 0:a[b],d=null==h?void 0:h[b];if(null===c)return null;let g=f(c)||f(d);return e[b][g]}),j=a&&Object.entries(a).reduce((a,b)=>{let[c,d]=b;return void 0===d||(a[c]=d),a},{});return g(b,i,null==c||null==(d=c.compoundVariants)?void 0:d.reduce((a,b)=>{let{class:c,className:d,...e}=b;return Object.entries(e).every(a=>{let[b,c]=a;return Array.isArray(c)?c.includes({...h,...j}[b]):({...h,...j})[b]===c})?[...a,c,d]:a},[]),null==a?void 0:a.class,null==a?void 0:a.className)});a.s(["Button",0,function({className:a,variant:b="default",size:c="default",...f}){return(0,d.jsx)(e.Button,{"data-slot":"button",className:(0,h.cn)(i({variant:b,size:c,className:a})),...f})},"buttonVariants",0,i],43917)},45362,a=>{"use strict";a.s(["Tabs",()=>c,"TabsContent",()=>d,"TabsList",()=>e,"TabsTrigger",()=>f,"tabsListVariants",()=>g]);var b=a.i(18060);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call Tabs() from the server but Tabs is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","Tabs"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call TabsContent() from the server but TabsContent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","TabsContent"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call TabsList() from the server but TabsList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","TabsList"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call TabsTrigger() from the server but TabsTrigger is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","TabsTrigger"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call tabsListVariants() from the server but tabsListVariants is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","tabsListVariants")},96690,a=>{"use strict";var b=a.i(45362);a.n(b)},45603,a=>{"use strict";a.s(["Button",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call Button() from the server but Button is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/.pnpm/@base-ui+react@1.8.0_@types+react@19.3.0_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/button/Button.mjs","Button")},38182,a=>{"use strict";var b=a.i(45603);a.n(b)},25809,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},33951,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs","default")},50254,a=>{"use strict";var b=a.i(33951);a.n(b)},7969,a=>{"use strict";var b=a.i(56149),c=a.i(50254);a.s(["default",0,function(a,d=[],e=[]){let f,g="string"==typeof a?function(a,b,c=[]){if(null==b)throw Error("[lucide]: iconNode is required when icon name is used");return{name:a?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:b,...c.length>0?{aliases:c}:{}}}(a,d,e):a,h=(0,b.forwardRef)(({className:a,...d},e)=>(0,b.createElement)(c.default,{ref:e,icon:g,className:a,...d}));return g.name&&(h.displayName=(f=(a=>{let b="",c=!1;for(let d of a){if("-"===d||"_"===d||d<=" "){c=b.length>0;continue}0===b.length?b+=d.toLowerCase():b+=c?d.toUpperCase():d,c=!1}return b})(g.name)).charAt(0).toUpperCase()+f.slice(1)),h}],7969)},40950,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(18060);a.n(d("[project]/node_modules/.pnpm/next@16.3.8_@babel+core@7.29.7_supports-color@8.1.1__@opentelemetry+api@1.9.1_@types+no_c2c791d25241ae4161c9f48ecf186c77/node_modules/next/dist/client/app-dir/link.js"))},53824,a=>{"use strict";var b=a.i(40950);a.n(b)},78720,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return i},useLinkStatus:function(){return h.useLinkStatus}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(25809),g=a.r(91396),h=f._(a.r(53824));function i(a){let b=a.legacyBehavior,c="string"==typeof a.children||"number"==typeof a.children||"string"==typeof a.children?.type,d=a.children?.type?.$$typeof===Symbol.for("react.client.reference");return!b||c||d||(a.children?.type?.$$typeof===Symbol.for("react.lazy")?console.error("Using a Lazy Component as a direct child of `<Link legacyBehavior>` from a Server Component is not supported. If you need legacyBehavior, wrap your Lazy Component in a Client Component that renders the Link's `<a>` tag."):console.error("Using a Server Component as a direct child of `<Link legacyBehavior>` is not supported. If you need legacyBehavior, wrap your Server Component in a Client Component that renders the Link's `<a>` tag.")),(0,g.jsx)(h.default,{...a})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}];
|
|
1
|
+
module.exports=[40602,a=>{"use strict";a.s(["ExportSettings",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call ExportSettings() from the server but ExportSettings is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Settings/ExportSettings.tsx","ExportSettings")},61057,a=>{"use strict";var b=a.i(40602);a.n(b)},46280,a=>{"use strict";a.s(["NotificationPrefs",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call NotificationPrefs() from the server but NotificationPrefs is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Settings/NotificationPrefs.tsx","NotificationPrefs")},62807,a=>{"use strict";var b=a.i(46280);a.n(b)},44063,a=>{"use strict";a.s(["TeamMembers",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call TeamMembers() from the server but TeamMembers is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Settings/TeamMembers.tsx","TeamMembers")},40321,a=>{"use strict";var b=a.i(44063);a.n(b)},72017,a=>{"use strict";var b=a.i(91396);a.i(90103);var c=a.i(24084),d=a.i(97728);a.i(59682);var e=a.i(22381),f=a.i(96690),g=a.i(78720),h=a.i(29171),i=a.i(43917),j=a.i(7969);let k={name:"key",size:24,node:[["path",{d:"m2 21 9.6-9.6",key:"9l79m3"}],["path",{d:"m7.5 15.5 2.3 2.3a1 1 0 0 1 0 1.4l-2.1 2.1a1 1 0 0 1-1.4 0L4 19",key:"fw8biw"}],["circle",{cx:"15.5",cy:"7.5",r:"5.5",key:"4wxmhb"}]]};k.node;let l=(0,j.default)(k);function m(){return(0,b.jsxs)(h.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:[(0,b.jsxs)(h.CardHeader,{children:[(0,b.jsxs)(h.CardTitle,{className:"text-[18px] font-bold text-white tracking-tight flex items-center gap-2",children:[(0,b.jsx)(l,{className:"h-5 w-5 text-gray-400"}),"API Keys"]}),(0,b.jsx)(h.CardDescription,{className:"text-sm text-gray-400",children:"Your New Relic and Sentry keys are stored in .env.local on this machine and are never shown here."})]}),(0,b.jsx)(h.CardContent,{children:(0,b.jsx)(g.default,{href:"/setup",className:(0,i.buttonVariants)({variant:"outline"}),children:"Manage keys"})})]})}a.s(["ApiKeys",0,m],81327);var n=a.i(61057),o=a.i(86645),p=a.i(62807),q=a.i(40321);a.s([],34144),a.i(34144),a.i(81327),a.s([],72841,!0),a.j(n,72841),a.j(o,72841),a.j(p,72841),a.j(q,72841);var r=a.i(72841);let s=["general","thresholds","team"];async function t({searchParams:a}){let{tab:g}=await a,h="string"==typeof g&&s.includes(g)?g:"general";return(0,b.jsxs)(d.SidebarProvider,{children:[(0,b.jsx)(c.AppSidebar,{}),(0,b.jsxs)(d.SidebarInset,{className:"bg-dash-surface",children:[(0,b.jsx)(e.Header,{}),(0,b.jsxs)("div",{className:"flex flex-1 flex-col p-6 md:p-8 max-w-[1200px] mx-auto w-full",children:[(0,b.jsxs)("div",{className:"mb-8",children:[(0,b.jsx)("h1",{className:"title-enter text-2xl font-bold text-white tracking-tight",children:"Settings"}),(0,b.jsx)("p",{className:"text-sm text-gray-400",children:"Manage your account, team, and dashboard preferences."})]}),(0,b.jsxs)(f.Tabs,{defaultValue:h,className:"w-full",children:[(0,b.jsxs)(f.TabsList,{className:"bg-[#0f1419] border border-[#2d3748] mb-8 p-1 h-auto",children:[(0,b.jsx)(f.TabsTrigger,{value:"general",className:"data-[state=active]:bg-[#1a202c] data-[state=active]:text-white text-gray-400",children:"General & API"}),(0,b.jsx)(f.TabsTrigger,{value:"thresholds",className:"data-[state=active]:bg-[#1a202c] data-[state=active]:text-white text-gray-400",children:"Performance Thresholds"}),(0,b.jsx)(f.TabsTrigger,{value:"team",className:"data-[state=active]:bg-[#1a202c] data-[state=active]:text-white text-gray-400",children:"Notifications & Team"})]}),(0,b.jsxs)(f.TabsContent,{value:"general",className:"space-y-6 mt-0",children:[(0,b.jsx)(m,{}),(0,b.jsx)(r.ExportSettings,{})]}),(0,b.jsx)(f.TabsContent,{value:"thresholds",className:"mt-0",children:(0,b.jsx)(r.ThresholdSettings,{})}),(0,b.jsx)(f.TabsContent,{value:"team",className:"space-y-6 mt-0",children:(0,b.jsx)(r.NotificationPrefs,{})})]})]})]})]})}a.s(["default",0,t],72017)},51425,function(a){a.n(a.i(72017))},90336,a=>{"use strict";a.s(["ThresholdSettings",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call ThresholdSettings() from the server but ThresholdSettings is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Settings/ThresholdSettings.tsx","ThresholdSettings")},86645,a=>{"use strict";var b=a.i(90336);a.n(b)},43917,a=>{"use strict";let b,c;var d=a.i(91396),e=a.i(38182);let f=a=>"boolean"==typeof a?`${a}`:0===a?"0":a,g=function(){for(var a,b,c=0,d="",e=arguments.length;c<e;c++)(a=arguments[c])&&(b=function a(b){var c,d,e="";if("string"==typeof b||"number"==typeof b)e+=b;else if("object"==typeof b)if(Array.isArray(b)){var f=b.length;for(c=0;c<f;c++)b[c]&&(d=a(b[c]))&&(e&&(e+=" "),e+=d)}else for(d in b)b[d]&&(e&&(e+=" "),e+=d);return e}(a))&&(d&&(d+=" "),d+=b);return d};var h=a.i(67913);let i=(b="group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",c={variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}},a=>{var d;if((null==c?void 0:c.variants)==null)return g(b,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:e,defaultVariants:h}=c,i=Object.keys(e).map(b=>{let c=null==a?void 0:a[b],d=null==h?void 0:h[b];if(null===c)return null;let g=f(c)||f(d);return e[b][g]}),j=a&&Object.entries(a).reduce((a,b)=>{let[c,d]=b;return void 0===d||(a[c]=d),a},{});return g(b,i,null==c||null==(d=c.compoundVariants)?void 0:d.reduce((a,b)=>{let{class:c,className:d,...e}=b;return Object.entries(e).every(a=>{let[b,c]=a;return Array.isArray(c)?c.includes({...h,...j}[b]):({...h,...j})[b]===c})?[...a,c,d]:a},[]),null==a?void 0:a.class,null==a?void 0:a.className)});a.s(["Button",0,function({className:a,variant:b="default",size:c="default",...f}){return(0,d.jsx)(e.Button,{"data-slot":"button",className:(0,h.cn)(i({variant:b,size:c,className:a})),...f})},"buttonVariants",0,i],43917)},45362,a=>{"use strict";a.s(["Tabs",()=>c,"TabsContent",()=>d,"TabsList",()=>e,"TabsTrigger",()=>f,"tabsListVariants",()=>g]);var b=a.i(18060);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call Tabs() from the server but Tabs is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","Tabs"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call TabsContent() from the server but TabsContent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","TabsContent"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call TabsList() from the server but TabsList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","TabsList"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call TabsTrigger() from the server but TabsTrigger is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","TabsTrigger"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call tabsListVariants() from the server but tabsListVariants is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","tabsListVariants")},96690,a=>{"use strict";var b=a.i(45362);a.n(b)},45603,a=>{"use strict";a.s(["Button",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call Button() from the server but Button is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/.pnpm/@base-ui+react@1.8.0_@types+react@19.3.0_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/button/Button.mjs","Button")},38182,a=>{"use strict";var b=a.i(45603);a.n(b)},25809,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},33951,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs","default")},50254,a=>{"use strict";var b=a.i(33951);a.n(b)},7969,a=>{"use strict";var b=a.i(56149),c=a.i(50254);a.s(["default",0,function(a,d=[],e=[]){let f,g="string"==typeof a?function(a,b,c=[]){if(null==b)throw Error("[lucide]: iconNode is required when icon name is used");return{name:a?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:b,...c.length>0?{aliases:c}:{}}}(a,d,e):a,h=(0,b.forwardRef)(({className:a,...d},e)=>(0,b.createElement)(c.default,{ref:e,icon:g,className:a,...d}));return g.name&&(h.displayName=(f=(a=>{let b="",c=!1;for(let d of a){if("-"===d||"_"===d||d<=" "){c=b.length>0;continue}0===b.length?b+=d.toLowerCase():b+=c?d.toUpperCase():d,c=!1}return b})(g.name)).charAt(0).toUpperCase()+f.slice(1)),h}],7969)},40950,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(18060);a.n(d("[project]/node_modules/.pnpm/next@16.3.8_@babel+core@7.29.7_supports-color@8.1.1__@opentelemetry+api@1.9.1_@types+no_c2c791d25241ae4161c9f48ecf186c77/node_modules/next/dist/client/app-dir/link.js"))},53824,a=>{"use strict";var b=a.i(40950);a.n(b)},78720,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return i},useLinkStatus:function(){return h.useLinkStatus}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(25809),g=a.r(91396),h=f._(a.r(53824));function i(a){let b=a.legacyBehavior,c="string"==typeof a.children||"number"==typeof a.children||"string"==typeof a.children?.type,d=a.children?.type?.$$typeof===Symbol.for("react.client.reference");return!b||c||d||(a.children?.type?.$$typeof===Symbol.for("react.lazy")?console.error("Using a Lazy Component as a direct child of `<Link legacyBehavior>` from a Server Component is not supported. If you need legacyBehavior, wrap your Lazy Component in a Client Component that renders the Link's `<a>` tag."):console.error("Using a Server Component as a direct child of `<Link legacyBehavior>` is not supported. If you need legacyBehavior, wrap your Server Component in a Client Component that renders the Link's `<a>` tag.")),(0,g.jsx)(h.default,{...a})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_045bvlq._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[77083,a=>{"use strict";var b=a.i(47350),c=a.i(3130),d=a.i(65054),e=a.i(88595),f=a.i(78021);a.i(12351);var g=a.i(43368),h=a.i(77790);a.s(["HubMetrics",0,function({pages:a,has:i}){let j=a.filter(g.hasData),k=j.length?j.reduce((a,b)=>a+(b.metrics.loadTime??0),0)/j.length:null,l=a.reduce((a,b)=>a+(b.metrics.errors?.count??0),0),m=[{needs:"pages",label:"Pages Reporting",value:`${j.length} of ${a.length}`,icon:(0,b.jsx)(d.Globe,{className:"h-4 w-4 text-[#3ee0a1]"})},{needs:"loadTime",label:"Avg Load Time",value:null===k?"No data yet":(0,h.formatDuration)(k),icon:(0,b.jsx)(e.Clock,{className:"h-4 w-4 text-[#06b6d4]"})},{needs:"errors",label:"Open Errors",value:j.length||l?String(l):"No data yet",icon:(0,b.jsx)(f.AlertTriangle,{className:"h-4 w-4 text-[#ef4444]"})}].filter(a=>i(a.needs));return(0,b.jsx)("div",{className:`grid gap-6 mb-8 mt-4 ${3===m.length?"md:grid-cols-3":"md:grid-cols-2"}`,children:m.map((a,d)=>(0,b.jsx)(c.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,b.jsxs)(c.CardContent,{className:"p-6",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,b.jsx)("span",{className:"text-sm font-medium text-gray-400",children:a.label}),(0,b.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-[#0f1419] border border-[#2d3748]",children:a.icon})]}),(0,b.jsx)("div",{className:"flex items-baseline gap-3",children:(0,b.jsx)("span",{className:"text-3xl font-bold text-white tracking-tight",children:a.value})})]})},d))})}])},28185,76422,93345,a=>{"use strict";var b=a.i(47350),c=a.i(56561),d=a.i(53840),e=a.i(98485);let f={name:"circle-check",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],aliases:["check-circle-2"]};f.node;let g=(0,e.default)(f),h={name:"circle-dashed",size:24,node:[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7",key:"1iw5b2"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69",key:"1ruxm7"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7",key:"1fvljs"}]]};h.node;let i=(0,e.default)(h),j={name:"octagon-alert",size:24,node:[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]],aliases:["alert-octagon"]};j.node;let k=(0,e.default)(j);a.s(["OctagonAlert",0,k],76422);var l=a.i(69551);a.s(["TriangleAlert",()=>l.default],93345);var l=l,m=a.i(88237),n=a.i(3130),o=a.i(54161),p=a.i(85608),q=a.i(93673),r=a.i(77790),s=a.i(43368);let t="pages-table-title",u=a=>"Warning"===a||"Critical"===a,v={Critical:{Icon:k,icon:"text-dash-danger",badge:"border-dash-danger/40 bg-dash-danger/10"},Warning:{Icon:l.default,icon:"text-dash-warning",badge:"border-dash-warning/40 bg-dash-warning/10"},Healthy:{Icon:g,icon:"text-dash-success",badge:"border-dash-success/40 bg-dash-success/10"}},w={Icon:i,icon:"text-dash-muted",badge:"border-dash-border-light"},x="rounded-sm outline-none focus-visible:ring-3 focus-visible:ring-ring/50",y=`font-medium text-dash-foreground underline underline-offset-4 hover:text-dash-muted-light ${x}`,z="hidden px-3 text-right tabular-nums lg:table-cell";function A({page:a}){let c=a.status??((0,s.hasData)(a)?"No performance data":"No data yet"),{Icon:d,icon:e,badge:f}=a.status?v[a.status]:w;return(0,b.jsxs)(o.Badge,{variant:"outline","data-status":c,className:`text-dash-foreground ${f}`,children:[(0,b.jsx)(d,{"aria-hidden":"true",className:e}),c]})}function B({label:a,caption:c}){return(0,b.jsxs)(m.TableHead,{scope:"col",className:`${z} h-12 text-dash-muted`,children:[a,c&&(0,b.jsx)("span",{className:"block text-body-sm",children:c})]})}function C({status:a,children:c}){let d="Critical"===a?k:l.default;return(0,b.jsxs)(m.TableCell,{"data-over-limit":u(a)||void 0,className:`${z} ${u(a)?"font-semibold text-dash-foreground":"text-dash-muted"}`,children:[u(a)&&(0,b.jsx)(d,{"aria-hidden":"true",className:`mr-1 inline size-3.5 align-[-2px] ${"Critical"===a?"text-dash-danger":"text-dash-warning"}`}),c,u(a)&&(0,b.jsx)("span",{className:"sr-only",children:" over limit"})]})}function D({rows:a,has:d,failed:e}){let f=a.length,h=a.filter(a=>u(a.status)).length,i=a.filter(a=>a.status).length,j=a.filter(a=>!(0,s.hasData)(a)).length,k=e.filter(q.isToolId).map(a=>q.TOOLS[a].label),l=null,m=0===j?"":1===j?"1 has no data yet.":`${j} have no data yet.`;if(h)l=1===f?"This page is over a limit.":1===h?`1 of ${f} pages is over a limit.`:`${h} of ${f} pages are over a limit. Worst first.`;else if(i){let a=1===f?"This page is within your limits.":i===f?`All ${f} pages are within your limits. Closest to a limit first.`:1===i?`1 of ${f} pages is within your limits.`:`${i} of ${f} pages are within your limits. Closest to a limit first.`;l=(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(g,{"aria-hidden":"true",className:"mr-1 inline size-3.5 align-[-2px] text-dash-success"}),a]})}else k.length?(l=`Could not load ${k.join(" and ")} data, so pages are not checked against your limits.`,m=""):d("loadTime")||(l=(0,b.jsxs)(b.Fragment,{children:["Ranked by Sentry errors in the last 24h. ",(0,b.jsx)(c.default,{href:"/setup",className:y,children:"Connect New Relic"})," to check load time and error rate against your limits."]}));return(i&&k.length&&(m=[m,`Could not load ${k.join(" and ")} data.`].filter(Boolean).join(" ")),l||m)?(0,b.jsxs)("p",{"data-slot":"table-summary",className:"text-body text-dash-muted",children:[l,l&&m&&" ",m]}):null}a.s(["HUB_TABLE_TITLE_ID",0,t,"HubTable",0,function({title:a,pages:e,has:f,thresholds:g,failed:h=[],limit:i}){let j=(0,d.useRouter)(),k=(0,s.rankPages)(e,g),l=k.some(a=>a.status);return(0,b.jsxs)(n.Card,{className:"bg-dash-card text-dash-foreground",children:[(0,b.jsxs)(n.CardHeader,{children:[(0,b.jsx)("h2",{id:t,tabIndex:-1,className:`title-enter w-fit text-h3 text-dash-foreground ${x}`,children:a}),(0,b.jsx)(D,{rows:k,has:f,failed:h})]}),(0,b.jsxs)(n.CardContent,{children:[(0,b.jsxs)(m.Table,{children:[(0,b.jsx)("caption",{className:"sr-only",children:"Pages ranked worst first"}),(0,b.jsx)(m.TableHeader,{children:(0,b.jsxs)(m.TableRow,{className:"border-dash-border hover:bg-transparent",children:[(0,b.jsx)(m.TableHead,{scope:"col",className:"h-12 px-3 text-dash-muted",children:"Page"}),l&&(0,b.jsx)(m.TableHead,{scope:"col",className:"h-12 px-3 text-dash-muted",children:"Status"}),f("loadTime")&&(0,b.jsx)(B,{label:"Load time",caption:(0,s.limitLabel)("loadTime",g)}),f("errorRate")&&(0,b.jsx)(B,{label:"Error rate",caption:(0,s.limitLabel)("errorRate",g)}),f("apdex")&&(0,b.jsx)(B,{label:"Apdex",caption:(0,s.limitLabel)("apdex",g)}),f("errors")&&(0,b.jsx)(B,{label:"Sentry errors",caption:"last 24h, no limit"}),f("traffic")&&(0,b.jsx)(B,{label:(0,p.isSampled)(e)?"Page loads (sampled)":"Views (24h)"})]})}),(0,b.jsx)(m.TableBody,{children:k.slice(0,i).map(a=>{let d=(0,s.hasData)(a),e=(0,s.hasPerformance)(a),h=a.metrics,i=`/performance/${a.slug}`,k=function(a,b,c){if(!(0,s.hasData)(a))return"";if(u(a.status)){let b=(0,s.breachReasons)(a,c).join(", ");return b.charAt(0).toUpperCase()+b.slice(1)}let d=a.metrics,e=(0,s.hasPerformance)(a);return[e&&b("loadTime")&&void 0!==d.loadTime&&`Load ${(0,r.formatDuration)(d.loadTime)}`,e&&b("errorRate")&&void 0!==d.errorRate&&`Errors ${d.errorRate.toFixed(2)}%`,e&&b("apdex")&&void 0!==d.apdex&&`Apdex ${d.apdex.toFixed(2)}`,b("errors")&&d.errors&&`${d.errors.count} Sentry ${1===d.errors.count?"error":"errors"}`].filter(Boolean).join(" · ")}(a,f,g);return(0,b.jsxs)(m.TableRow,{"data-slug":a.slug,className:"h-14 cursor-pointer border-dash-border hover:bg-white/5 focus-within:bg-white/5 lg:h-12",onClick:a=>{a.target.closest("a")||j.push(i)},children:[(0,b.jsxs)("th",{scope:"row","data-slot":"table-cell",className:"w-full max-w-0 px-3 py-2 text-left align-middle font-normal",children:[(0,b.jsxs)(c.default,{href:i,title:a.name,className:`block truncate text-body font-medium text-dash-foreground ${x}`,children:[a.name,(0,b.jsx)("span",{className:"sr-only",children:", view page details"})]}),(0,b.jsx)("span",{title:a.url,className:"block truncate font-mono text-body-sm text-dash-muted",children:a.url}),k&&(0,b.jsx)("span",{"data-slot":"row-summary",className:"mt-0.5 block text-body-sm text-dash-muted lg:hidden",children:k})]}),l&&(0,b.jsx)(m.TableCell,{className:"px-3",children:(0,b.jsx)(A,{page:a})}),f("loadTime")&&(0,b.jsx)(C,{status:e?(0,s.metricStatus)("loadTime",h.loadTime,g):void 0,children:e&&void 0!==h.loadTime?(0,r.formatDuration)(h.loadTime):"—"}),f("errorRate")&&(0,b.jsx)(C,{status:e?(0,s.metricStatus)("errorRate",h.errorRate,g):void 0,children:e&&void 0!==h.errorRate?`${h.errorRate.toFixed(2)}%`:"—"}),f("apdex")&&(0,b.jsx)(C,{status:e?(0,s.metricStatus)("apdex",h.apdex,g):void 0,children:e&&void 0!==h.apdex?h.apdex.toFixed(2):"—"}),f("errors")&&(0,b.jsx)(C,{children:d&&h.errors?h.errors.count:"—"}),f("traffic")&&(0,b.jsx)(C,{children:d&&h.traffic?a.visitors:"—"})]},a.slug)})})]}),void 0!==i&&k.length>i&&(0,b.jsxs)(c.default,{href:"/performance",className:`mt-2 inline-flex min-h-11 items-center px-3 text-body md:min-h-8 ${y}`,children:["View all ",k.length," pages"]})]})]})}],28185)},48097,a=>{"use strict";var b=a.i(47350),c=a.i(92994),d=a.i(50463),e=a.i(12351),f=a.i(43368),g=a.i(66219),h=a.i(77083),i=a.i(28185);a.s(["PerformanceHub",0,function(){let{state:a,retry:j}=(0,e.useMetrics)(),k=(0,g.useThresholds)();if("loading"===a.status)return(0,b.jsx)(d.Skeleton,{className:"mt-6 h-64 w-full bg-[#2d3748]"});if("error"===a.status)return(0,b.jsx)(c.EmptyState,{title:"Could not load metrics",reason:a.message,onRetry:j});if(!a.configured)return(0,b.jsx)(c.EmptyState,{title:"Connect your data",reason:"Add your New Relic or Sentry keys to see real numbers.",href:"/setup",cta:"Set up keys"});if(!a.pages.length||!a.pages.some(f.hasData))return(0,b.jsx)(c.EmptyState,{});let l=b=>(0,e.provides)(a,b);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(h.HubMetrics,{pages:a.pages,has:l}),(0,b.jsx)(i.HubTable,{title:"All pages",pages:a.pages,has:l,thresholds:k,failed:a.failed})]})}])},65054,a=>{"use strict";var b=a.i(98485);let c={name:"globe",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]};c.node;let d=(0,b.default)(c);a.s(["Globe",0,d],65054)},69551,a=>{"use strict";var b=a.i(98485);let c={name:"triangle-alert",size:24,node:[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["alert-triangle"]};c.node;let d=(0,b.default)(c);a.s(["default",0,d])},78021,a=>{"use strict";var b=a.i(69551);a.s(["AlertTriangle",()=>b.default])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_0loqsig._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[56672,a=>{"use strict";var b=a.i(47350),c=a.i(18915),d=a.i(68228),e=a.i(85198),f=a.i(98485);let g={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};g.node;let h=(0,f.default)(g);function i({className:a,...c}){return(0,b.jsx)("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",className:(0,e.cn)(a),...c})}function j({className:a,...c}){return(0,b.jsx)("ol",{"data-slot":"breadcrumb-list",className:(0,e.cn)("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground",a),...c})}function k({className:a,...c}){return(0,b.jsx)("li",{"data-slot":"breadcrumb-item",className:(0,e.cn)("inline-flex items-center gap-1",a),...c})}function l({className:a,render:b,...f}){return(0,d.useRender)({defaultTagName:"a",props:(0,c.mergeProps)({className:(0,e.cn)("transition-colors hover:text-foreground",a)},f),render:b,state:{slot:"breadcrumb-link"}})}function m({className:a,...c}){return(0,b.jsx)("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:(0,e.cn)("font-normal text-foreground",a),...c})}function n({children:a,className:c,...d}){return(0,b.jsx)("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:(0,e.cn)("[&>svg]:size-3.5",c),...d,children:a??(0,b.jsx)(h,{})})}a.i(13485),a.s(["PerformanceBreadcrumb",0,function({pageName:a="Homepage"}){return(0,b.jsx)(i,{className:"mb-6",children:(0,b.jsxs)(j,{children:[(0,b.jsx)(k,{children:(0,b.jsx)(l,{href:"/performance",className:"text-gray-400 hover:text-white",children:"Performance"})}),(0,b.jsx)(n,{}),(0,b.jsx)(k,{children:(0,b.jsx)(m,{className:"text-white font-medium",children:a})})]})})}],56672)},45890,a=>{"use strict";var b=a.i(47350),c=a.i(53840),d=a.i(92994),e=a.i(50463),f=a.i(62191),g=a.i(56672),h=a.i(5800),i=a.i(75339);a.s(["PerformanceDetail",0,function({slug:a}){let{state:j,retry:k}=(0,f.useMetrics)();if("loading"===j.status)return(0,b.jsx)(e.Skeleton,{className:"h-64 w-full bg-[#2d3748]"});if("error"===j.status)return(0,b.jsx)(d.EmptyState,{title:"Could not load metrics",reason:j.message,onRetry:k});if(!j.configured)return(0,b.jsx)(d.EmptyState,{title:"Connect your data",reason:"Add your New Relic or Sentry keys to see real numbers.",href:"/setup",cta:"Set up keys"});if(0===j.pages.length)return(0,b.jsx)(d.EmptyState,{});let l=j.pages.find(b=>b.slug===a);return l||(0,c.notFound)(),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(g.PerformanceBreadcrumb,{pageName:l.name}),(0,f.hasData)(l)?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(h.PerformanceKPIs,{page:l,has:a=>(0,f.provides)(j,a)}),l.metrics.errors&&(0,b.jsx)(i.RelatedErrorsList,{errors:l.metrics.errors.latest})]}):(0,b.jsx)(d.EmptyState,{reason:`${l.name} (${l.url}): keys work, but no page events have arrived.`})]})}])},5800,a=>{"use strict";var b=a.i(47350),c=a.i(3130),d=a.i(65598),e=a.i(88595),f=a.i(93341),g=a.i(77790),h=a.i(85608);a.s(["PerformanceKPIs",0,function({page:a,has:i}){let j=a.metrics,k=[{needs:"loadTime",label:"Average Load Time",value:void 0===j.loadTime?"—":(0,g.formatDuration)(j.loadTime),icon:(0,b.jsx)(e.Clock,{className:"h-4 w-4 text-[#3ee0a1]"})},{needs:"errorRate",label:"Error Rate",value:void 0===j.errorRate?"—":`${j.errorRate.toFixed(2)}%`,icon:(0,b.jsx)(d.Activity,{className:"h-4 w-4 text-[#ef4444]"})},{needs:"traffic",label:(0,h.isSampled)([a])?"Page loads (sampled)":"Traffic Volume",value:j.traffic?a.visitors:"—",icon:(0,b.jsx)(f.Zap,{className:"h-4 w-4 text-[#06b6d4]"})}].filter(a=>i(a.needs));return(0,b.jsx)("div",{className:"grid gap-6 md:grid-cols-3 mb-8",children:k.map(a=>(0,b.jsx)(c.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,b.jsxs)(c.CardContent,{className:"p-6",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,b.jsx)("span",{className:"text-sm font-medium text-gray-400",children:a.label}),(0,b.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-[#0f1419] border border-[#2d3748]",children:a.icon})]}),(0,b.jsx)("span",{className:"text-3xl font-bold text-white tracking-tight",children:a.value})]})},a.label))})}])},75339,a=>{"use strict";var b=a.i(47350),c=a.i(3130),d=a.i(98485);let e={name:"circle-alert",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],aliases:["alert-circle"]};e.node;let f=(0,d.default)(e);var g=a.i(88595);a.s(["RelatedErrorsList",0,function({errors:a}){return(0,b.jsxs)(c.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md w-full lg:w-[400px]",children:[(0,b.jsx)(c.CardHeader,{children:(0,b.jsxs)(c.CardTitle,{className:"text-[18px] font-bold text-white tracking-tight flex items-center gap-2",children:[(0,b.jsx)(f,{className:"h-5 w-5 text-[#ef4444]"}),"Related Errors"]})}),(0,b.jsx)(c.CardContent,{children:0===a.length?(0,b.jsx)("p",{className:"text-sm text-gray-400",children:"No errors reported for this page."}):(0,b.jsx)("div",{className:"flex flex-col gap-3",children:a.map(a=>(0,b.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-[#2d3748] bg-[#0f1419] p-4",children:[(0,b.jsx)("div",{className:"flex items-center justify-between",children:(0,b.jsxs)("span",{className:"text-xs font-mono text-gray-500",children:[a.count," events"]})}),(0,b.jsx)("p",{className:"text-sm font-medium text-gray-200 line-clamp-2",children:a.title}),(0,b.jsxs)("div",{className:"flex items-center gap-1 mt-1 text-xs text-gray-500",children:[(0,b.jsx)(g.Clock,{className:"h-3 w-3"}),(0,b.jsx)("span",{children:new Date(a.lastSeen).toLocaleString()})]})]},a.title))})})]})}],75339)},92994,a=>{"use strict";var b=a.i(47350),c=a.i(56561),d=a.i(3130),e=a.i(40695);a.s(["EmptyState",0,function({title:a="No data yet",reason:f="Keys work, but no page events have arrived.",href:g="/connect",cta:h="Send your first events",onRetry:i}){return(0,b.jsx)(d.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,b.jsxs)(d.CardContent,{className:"flex flex-col items-center gap-3 p-10 text-center",children:[(0,b.jsx)("h3",{className:"text-lg font-semibold text-white",children:a}),(0,b.jsx)("p",{className:"max-w-md text-sm text-gray-400",children:f}),(0,b.jsxs)("div",{className:"flex gap-3",children:[(0,b.jsx)(c.default,{href:g,className:(0,e.buttonVariants)(),children:h}),i&&(0,b.jsx)(e.Button,{variant:"outline",onClick:i,children:"Retry"})]})]})})}])},3130,a=>{"use strict";var b=a.i(47350),c=a.i(85198);a.s(["Card",0,function({className:a,size:d="default",...e}){return(0,b.jsx)("div",{"data-slot":"card","data-size":d,className:(0,c.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",a),...e})},"CardContent",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-(--card-spacing)",a),...d})},"CardDescription",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-sm text-muted-foreground",a),...d})},"CardHeader",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",a),...d})},"CardTitle",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-title",className:(0,c.cn)("title-enter font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",a),...d})}])},39848,a=>{"use strict";var b=a.i(75086);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},e=(0,b.createContext)({}),f=(0,b.forwardRef)(({color:a,size:f,width:g,height:h,strokeWidth:i,absoluteStrokeWidth:j,nonScalingStroke:k,className:l="",children:m,iconNode:n=[],icon:o={node:n,aliases:[],size:24},...p},q)=>{let{size:r=24,strokeWidth:s=2,absoluteStrokeWidth:t=!1,nonScalingStroke:u=!1,color:v="currentColor",className:w=""}=(0,b.useContext)(e)??{},x=!!m||(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(p),[y,z,A=[]]=function(a,b={}){return function(a,b={}){let e=b.attributeNames??{},f=a=>e[a]??a,g=a.size??a.width??d.width,h=a.size??a.height??d.height,i=a.aliases?.filter(a=>"string"==typeof a&&""!==a.trim()).map(a=>`lucide-${a}`)??[],j=[...a.name?[`lucide-${a.name}`]:[],...i],k=b.className?.split(" ").filter(Boolean)??[],l=!1===b.includeDefaultClasses?c(...k):c("lucide",...j,...k),m=b.absoluteStrokeWidth?Number(b.strokeWidth??d["stroke-width"])*Number(a.size??a.width??d.width)/Number(b.size??b.width??d.width):b.strokeWidth??d["stroke-width"];return["svg",{...Object.entries(d).reduce((a,[b,c])=>(a[f(b)]=c,a),{}),..."color"in b&&b.color&&{[f("stroke")]:b.color},..."size"in b&&null!=b.size&&{[f("width")]:b.size,[f("height")]:b.size},..."width"in b&&null!=b.width&&{[f("width")]:b.width},..."height"in b&&null!=b.height&&{[f("height")]:b.height},[f("stroke-width")]:m,...l&&{[f("class")]:l},[f("viewBox")]:`0 0 ${g} ${h}`,...!1===b.hasA11yProp?{[f("aria-hidden")]:"true"}:{},..."attributes"in b&&b.attributes},a.node.map(a=>{let[c,d,e]=a,g=b.nonScalingStroke?{[f("vector-effect")]:"non-scaling-stroke",...d}:d;return e?[c,g,e]:[c,g]})]}(a,{...b,attributeNames:{...b.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(o,{color:a??v,width:g??f??r,height:h??f??r,strokeWidth:i??s,absoluteStrokeWidth:j??t,nonScalingStroke:k??u,className:c(w,l),hasA11yProp:x,attributes:p});return(0,b.createElement)(y,{ref:q,...z},[...A.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(m)?m:[m]])});a.s(["default",0,f],39848)},88595,a=>{"use strict";var b=a.i(98485);let c={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};c.node;let d=(0,b.default)(c);a.s(["Clock",0,d],88595)},13485,a=>{"use strict";var b=a.i(98485);let c={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],aliases:["more-horizontal"]};c.node;let d=(0,b.default)(c);a.s(["default",0,d])},93341,a=>{"use strict";var b=a.i(98485);let c={name:"zap",size:24,node:[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]]};c.node;let d=(0,b.default)(c);a.s(["Zap",0,d],93341)},23904,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={actionAsyncStorage:function(){return f.actionAsyncStorage},workAsyncStorage:function(){return g.workAsyncStorage},workUnitAsyncStorage:function(){return h.workUnitAsyncStorage}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20635),g=a.r(56704),h=a.r(32319);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}];
|
|
1
|
+
module.exports=[56672,a=>{"use strict";var b=a.i(47350),c=a.i(18915),d=a.i(68228),e=a.i(85198),f=a.i(98485);let g={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};g.node;let h=(0,f.default)(g);function i({className:a,...c}){return(0,b.jsx)("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",className:(0,e.cn)(a),...c})}function j({className:a,...c}){return(0,b.jsx)("ol",{"data-slot":"breadcrumb-list",className:(0,e.cn)("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground",a),...c})}function k({className:a,...c}){return(0,b.jsx)("li",{"data-slot":"breadcrumb-item",className:(0,e.cn)("inline-flex items-center gap-1",a),...c})}function l({className:a,render:b,...f}){return(0,d.useRender)({defaultTagName:"a",props:(0,c.mergeProps)({className:(0,e.cn)("transition-colors hover:text-foreground",a)},f),render:b,state:{slot:"breadcrumb-link"}})}function m({className:a,...c}){return(0,b.jsx)("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:(0,e.cn)("font-normal text-foreground",a),...c})}function n({children:a,className:c,...d}){return(0,b.jsx)("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:(0,e.cn)("[&>svg]:size-3.5",c),...d,children:a??(0,b.jsx)(h,{})})}a.i(13485),a.s(["PerformanceBreadcrumb",0,function({pageName:a="Homepage"}){return(0,b.jsx)(i,{className:"mb-6",children:(0,b.jsxs)(j,{children:[(0,b.jsx)(k,{children:(0,b.jsx)(l,{href:"/performance",className:"text-gray-400 hover:text-white",children:"Performance"})}),(0,b.jsx)(n,{}),(0,b.jsx)(k,{children:(0,b.jsx)(m,{className:"text-white font-medium",children:a})})]})})}],56672)},45890,a=>{"use strict";var b=a.i(47350),c=a.i(53840),d=a.i(92994),e=a.i(50463),f=a.i(12351),g=a.i(43368),h=a.i(56672),i=a.i(5800),j=a.i(75339);a.s(["PerformanceDetail",0,function({slug:a}){let{state:k,retry:l}=(0,f.useMetrics)();if("loading"===k.status)return(0,b.jsx)(e.Skeleton,{className:"h-64 w-full bg-[#2d3748]"});if("error"===k.status)return(0,b.jsx)(d.EmptyState,{title:"Could not load metrics",reason:k.message,onRetry:l});if(!k.configured)return(0,b.jsx)(d.EmptyState,{title:"Connect your data",reason:"Add your New Relic or Sentry keys to see real numbers.",href:"/setup",cta:"Set up keys"});if(0===k.pages.length)return(0,b.jsx)(d.EmptyState,{});let m=k.pages.find(b=>b.slug===a);return m||(0,c.notFound)(),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(h.PerformanceBreadcrumb,{pageName:m.name}),(0,g.hasData)(m)?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(i.PerformanceKPIs,{page:m,has:a=>(0,f.provides)(k,a)}),m.metrics.errors&&(0,b.jsx)(j.RelatedErrorsList,{errors:m.metrics.errors.latest})]}):(0,b.jsx)(d.EmptyState,{reason:`${m.name} (${m.url}): keys work, but no page events have arrived.`})]})}])},5800,a=>{"use strict";var b=a.i(47350),c=a.i(3130),d=a.i(65598),e=a.i(88595),f=a.i(93341),g=a.i(77790),h=a.i(85608);a.s(["PerformanceKPIs",0,function({page:a,has:i}){let j=a.metrics,k=[{needs:"loadTime",label:"Average Load Time",value:void 0===j.loadTime?"—":(0,g.formatDuration)(j.loadTime),icon:(0,b.jsx)(e.Clock,{className:"h-4 w-4 text-[#3ee0a1]"})},{needs:"errorRate",label:"Error Rate",value:void 0===j.errorRate?"—":`${j.errorRate.toFixed(2)}%`,icon:(0,b.jsx)(d.Activity,{className:"h-4 w-4 text-[#ef4444]"})},{needs:"traffic",label:(0,h.isSampled)([a])?"Page loads (sampled)":"Traffic Volume",value:j.traffic?a.visitors:"—",icon:(0,b.jsx)(f.Zap,{className:"h-4 w-4 text-[#06b6d4]"})}].filter(a=>i(a.needs));return(0,b.jsx)("div",{className:"grid gap-6 md:grid-cols-3 mb-8",children:k.map(a=>(0,b.jsx)(c.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,b.jsxs)(c.CardContent,{className:"p-6",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,b.jsx)("span",{className:"text-sm font-medium text-gray-400",children:a.label}),(0,b.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-[#0f1419] border border-[#2d3748]",children:a.icon})]}),(0,b.jsx)("span",{className:"text-3xl font-bold text-white tracking-tight",children:a.value})]})},a.label))})}])},75339,a=>{"use strict";var b=a.i(47350),c=a.i(3130),d=a.i(98485);let e={name:"circle-alert",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],aliases:["alert-circle"]};e.node;let f=(0,d.default)(e);var g=a.i(88595);a.s(["RelatedErrorsList",0,function({errors:a}){return(0,b.jsxs)(c.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md w-full lg:w-[400px]",children:[(0,b.jsx)(c.CardHeader,{children:(0,b.jsxs)(c.CardTitle,{className:"text-[18px] font-bold text-white tracking-tight flex items-center gap-2",children:[(0,b.jsx)(f,{className:"h-5 w-5 text-[#ef4444]"}),"Related Errors"]})}),(0,b.jsx)(c.CardContent,{children:0===a.length?(0,b.jsx)("p",{className:"text-sm text-gray-400",children:"No errors reported for this page."}):(0,b.jsx)("div",{className:"flex flex-col gap-3",children:a.map(a=>(0,b.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-[#2d3748] bg-[#0f1419] p-4",children:[(0,b.jsx)("div",{className:"flex items-center justify-between",children:(0,b.jsxs)("span",{className:"text-xs font-mono text-gray-500",children:[a.count," events"]})}),(0,b.jsx)("p",{className:"text-sm font-medium text-gray-200 line-clamp-2",children:a.title}),(0,b.jsxs)("div",{className:"flex items-center gap-1 mt-1 text-xs text-gray-500",children:[(0,b.jsx)(g.Clock,{className:"h-3 w-3"}),(0,b.jsx)("span",{children:new Date(a.lastSeen).toLocaleString()})]})]},a.title))})})]})}],75339)},92994,a=>{"use strict";var b=a.i(47350),c=a.i(56561),d=a.i(3130),e=a.i(40695);a.s(["EmptyState",0,function({title:a="No data yet",reason:f="Keys work, but no page events have arrived.",href:g="/connect",cta:h="Send your first events",onRetry:i}){return(0,b.jsx)(d.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,b.jsxs)(d.CardContent,{className:"flex flex-col items-center gap-3 p-10 text-center",children:[(0,b.jsx)("h3",{className:"text-lg font-semibold text-white",children:a}),(0,b.jsx)("p",{className:"max-w-md text-sm text-gray-400",children:f}),(0,b.jsxs)("div",{className:"flex gap-3",children:[g&&(0,b.jsx)(c.default,{href:g,className:(0,e.buttonVariants)(),children:h}),i&&(0,b.jsx)(e.Button,{variant:"outline",onClick:i,children:"Retry"})]})]})})}])},3130,a=>{"use strict";var b=a.i(47350),c=a.i(85198);a.s(["Card",0,function({className:a,size:d="default",...e}){return(0,b.jsx)("div",{"data-slot":"card","data-size":d,className:(0,c.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",a),...e})},"CardContent",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-(--card-spacing)",a),...d})},"CardDescription",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-sm text-muted-foreground",a),...d})},"CardHeader",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",a),...d})},"CardTitle",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-title",className:(0,c.cn)("title-enter font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",a),...d})}])},39848,a=>{"use strict";var b=a.i(75086);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},e=(0,b.createContext)({}),f=(0,b.forwardRef)(({color:a,size:f,width:g,height:h,strokeWidth:i,absoluteStrokeWidth:j,nonScalingStroke:k,className:l="",children:m,iconNode:n=[],icon:o={node:n,aliases:[],size:24},...p},q)=>{let{size:r=24,strokeWidth:s=2,absoluteStrokeWidth:t=!1,nonScalingStroke:u=!1,color:v="currentColor",className:w=""}=(0,b.useContext)(e)??{},x=!!m||(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(p),[y,z,A=[]]=function(a,b={}){return function(a,b={}){let e=b.attributeNames??{},f=a=>e[a]??a,g=a.size??a.width??d.width,h=a.size??a.height??d.height,i=a.aliases?.filter(a=>"string"==typeof a&&""!==a.trim()).map(a=>`lucide-${a}`)??[],j=[...a.name?[`lucide-${a.name}`]:[],...i],k=b.className?.split(" ").filter(Boolean)??[],l=!1===b.includeDefaultClasses?c(...k):c("lucide",...j,...k),m=b.absoluteStrokeWidth?Number(b.strokeWidth??d["stroke-width"])*Number(a.size??a.width??d.width)/Number(b.size??b.width??d.width):b.strokeWidth??d["stroke-width"];return["svg",{...Object.entries(d).reduce((a,[b,c])=>(a[f(b)]=c,a),{}),..."color"in b&&b.color&&{[f("stroke")]:b.color},..."size"in b&&null!=b.size&&{[f("width")]:b.size,[f("height")]:b.size},..."width"in b&&null!=b.width&&{[f("width")]:b.width},..."height"in b&&null!=b.height&&{[f("height")]:b.height},[f("stroke-width")]:m,...l&&{[f("class")]:l},[f("viewBox")]:`0 0 ${g} ${h}`,...!1===b.hasA11yProp?{[f("aria-hidden")]:"true"}:{},..."attributes"in b&&b.attributes},a.node.map(a=>{let[c,d,e]=a,g=b.nonScalingStroke?{[f("vector-effect")]:"non-scaling-stroke",...d}:d;return e?[c,g,e]:[c,g]})]}(a,{...b,attributeNames:{...b.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(o,{color:a??v,width:g??f??r,height:h??f??r,strokeWidth:i??s,absoluteStrokeWidth:j??t,nonScalingStroke:k??u,className:c(w,l),hasA11yProp:x,attributes:p});return(0,b.createElement)(y,{ref:q,...z},[...A.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(m)?m:[m]])});a.s(["default",0,f],39848)},88595,a=>{"use strict";var b=a.i(98485);let c={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};c.node;let d=(0,b.default)(c);a.s(["Clock",0,d],88595)},13485,a=>{"use strict";var b=a.i(98485);let c={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],aliases:["more-horizontal"]};c.node;let d=(0,b.default)(c);a.s(["default",0,d])},93341,a=>{"use strict";var b=a.i(98485);let c={name:"zap",size:24,node:[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]]};c.node;let d=(0,b.default)(c);a.s(["Zap",0,d],93341)},23904,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={actionAsyncStorage:function(){return f.actionAsyncStorage},workAsyncStorage:function(){return g.workAsyncStorage},workUnitAsyncStorage:function(){return h.workUnitAsyncStorage}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20635),g=a.r(56704),h=a.r(32319);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_0un641_._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[92994,a=>{"use strict";var b=a.i(47350),c=a.i(56561),d=a.i(3130),e=a.i(40695);a.s(["EmptyState",0,function({title:a="No data yet",reason:f="Keys work, but no page events have arrived.",href:g="/connect",cta:h="Send your first events",onRetry:i}){return(0,b.jsx)(d.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,b.jsxs)(d.CardContent,{className:"flex flex-col items-center gap-3 p-10 text-center",children:[(0,b.jsx)("h3",{className:"text-lg font-semibold text-white",children:a}),(0,b.jsx)("p",{className:"max-w-md text-sm text-gray-400",children:f}),(0,b.jsxs)("div",{className:"flex gap-3",children:[g&&(0,b.jsx)(c.default,{href:g,className:(0,e.buttonVariants)(),children:h}),i&&(0,b.jsx)(e.Button,{variant:"outline",onClick:i,children:"Retry"})]})]})})}])},54161,a=>{"use strict";var b=a.i(18915),c=a.i(68228),d=a.i(42261),e=a.i(85198);let f=(0,d.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});a.s(["Badge",0,function({className:a,variant:d="default",render:g,...h}){return(0,c.useRender)({defaultTagName:"span",props:(0,b.mergeProps)({className:(0,e.cn)(f({variant:d}),a)},h),render:g,state:{slot:"badge",variant:d}})}])},3130,a=>{"use strict";var b=a.i(47350),c=a.i(85198);a.s(["Card",0,function({className:a,size:d="default",...e}){return(0,b.jsx)("div",{"data-slot":"card","data-size":d,className:(0,c.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",a),...e})},"CardContent",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-(--card-spacing)",a),...d})},"CardDescription",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-sm text-muted-foreground",a),...d})},"CardHeader",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",a),...d})},"CardTitle",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-title",className:(0,c.cn)("title-enter font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",a),...d})}])},88237,a=>{"use strict";var b=a.i(47350),c=a.i(85198);a.s(["Table",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,b.jsx)("table",{"data-slot":"table",className:(0,c.cn)("w-full caption-bottom text-sm",a),...d})})},"TableBody",0,function({className:a,...d}){return(0,b.jsx)("tbody",{"data-slot":"table-body",className:(0,c.cn)("[&_tr:last-child]:border-0",a),...d})},"TableCell",0,function({className:a,...d}){return(0,b.jsx)("td",{"data-slot":"table-cell",className:(0,c.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",a),...d})},"TableHead",0,function({className:a,...d}){return(0,b.jsx)("th",{"data-slot":"table-head",className:(0,c.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",a),...d})},"TableHeader",0,function({className:a,...d}){return(0,b.jsx)("thead",{"data-slot":"table-header",className:(0,c.cn)("[&_tr]:border-b",a),...d})},"TableRow",0,function({className:a,...d}){return(0,b.jsx)("tr",{"data-slot":"table-row",className:(0,c.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",a),...d})}])},70834,a=>{"use strict";var b=a.i(75086);let c={alert:!0},d="notification-prefs",e=new Set,f=null;function g(){if(f)return f;let a={...c};try{let b=JSON.parse(localStorage.getItem(d)??"{}");for(let c of Object.keys(a))"boolean"==typeof b[c]&&(a[c]=b[c])}catch{}return f=a}function h(a){a.key===d&&(f=null,e.forEach(a=>a()))}function i(a){return e.add(a),window.addEventListener("storage",h),()=>{e.delete(a),window.removeEventListener("storage",h)}}a.s(["setNotificationPrefs",0,function(a){f={...g(),...a};try{localStorage.setItem(d,JSON.stringify(f))}catch{}e.forEach(a=>a())},"useNotificationPrefs",0,function(){return(0,b.useSyncExternalStore)(i,g,()=>c)}])},39848,a=>{"use strict";var b=a.i(75086);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},e=(0,b.createContext)({}),f=(0,b.forwardRef)(({color:a,size:f,width:g,height:h,strokeWidth:i,absoluteStrokeWidth:j,nonScalingStroke:k,className:l="",children:m,iconNode:n=[],icon:o={node:n,aliases:[],size:24},...p},q)=>{let{size:r=24,strokeWidth:s=2,absoluteStrokeWidth:t=!1,nonScalingStroke:u=!1,color:v="currentColor",className:w=""}=(0,b.useContext)(e)??{},x=!!m||(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(p),[y,z,A=[]]=function(a,b={}){return function(a,b={}){let e=b.attributeNames??{},f=a=>e[a]??a,g=a.size??a.width??d.width,h=a.size??a.height??d.height,i=a.aliases?.filter(a=>"string"==typeof a&&""!==a.trim()).map(a=>`lucide-${a}`)??[],j=[...a.name?[`lucide-${a.name}`]:[],...i],k=b.className?.split(" ").filter(Boolean)??[],l=!1===b.includeDefaultClasses?c(...k):c("lucide",...j,...k),m=b.absoluteStrokeWidth?Number(b.strokeWidth??d["stroke-width"])*Number(a.size??a.width??d.width)/Number(b.size??b.width??d.width):b.strokeWidth??d["stroke-width"];return["svg",{...Object.entries(d).reduce((a,[b,c])=>(a[f(b)]=c,a),{}),..."color"in b&&b.color&&{[f("stroke")]:b.color},..."size"in b&&null!=b.size&&{[f("width")]:b.size,[f("height")]:b.size},..."width"in b&&null!=b.width&&{[f("width")]:b.width},..."height"in b&&null!=b.height&&{[f("height")]:b.height},[f("stroke-width")]:m,...l&&{[f("class")]:l},[f("viewBox")]:`0 0 ${g} ${h}`,...!1===b.hasA11yProp?{[f("aria-hidden")]:"true"}:{},..."attributes"in b&&b.attributes},a.node.map(a=>{let[c,d,e]=a,g=b.nonScalingStroke?{[f("vector-effect")]:"non-scaling-stroke",...d}:d;return e?[c,g,e]:[c,g]})]}(a,{...b,attributeNames:{...b.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(o,{color:a??v,width:g??f??r,height:h??f??r,strokeWidth:i??s,absoluteStrokeWidth:j??t,nonScalingStroke:k??u,className:c(w,l),hasA11yProp:x,attributes:p});return(0,b.createElement)(y,{ref:q,...z},[...A.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(m)?m:[m]])});a.s(["default",0,f],39848)},88595,a=>{"use strict";var b=a.i(98485);let c={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};c.node;let d=(0,b.default)(c);a.s(["Clock",0,d],88595)},13485,a=>{"use strict";var b=a.i(98485);let c={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],aliases:["more-horizontal"]};c.node;let d=(0,b.default)(c);a.s(["default",0,d])},93341,a=>{"use strict";var b=a.i(98485);let c={name:"zap",size:24,node:[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]]};c.node;let d=(0,b.default)(c);a.s(["Zap",0,d],93341)},23904,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={actionAsyncStorage:function(){return f.actionAsyncStorage},workAsyncStorage:function(){return g.workAsyncStorage},workUnitAsyncStorage:function(){return h.workUnitAsyncStorage}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20635),g=a.r(56704),h=a.r(32319);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_0x78uxx._.js.map
|