@karan171996/metricflow 0.10.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_1gfkiq9._.js +1 -1
  3. package/.next/build/chunks/{node_modules__pnpm_0x15692._.js → node_modules__pnpm_1x2anb_._.js} +3 -3
  4. package/.next/build-manifest.json +6 -6
  5. package/.next/fallback-build-manifest.json +3 -3
  6. package/.next/next-server.js.nft.json +1 -1
  7. package/.next/prerender-manifest.json +5 -5
  8. package/.next/server/app/_global-error/page/build-manifest.json +3 -3
  9. package/.next/server/app/_global-error/page.js.nft.json +1 -1
  10. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  11. package/.next/server/app/_global-error.html +1 -1
  12. package/.next/server/app/_global-error.rsc +7 -7
  13. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +6 -6
  14. package/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
  15. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  16. package/.next/server/app/_not-found/page/build-manifest.json +3 -3
  17. package/.next/server/app/_not-found/page.js +1 -1
  18. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  19. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  20. package/.next/server/app/_not-found.html +2 -2
  21. package/.next/server/app/_not-found.rsc +18 -18
  22. package/.next/server/app/_not-found.segments/_full.segment.rsc +18 -18
  23. package/.next/server/app/_not-found.segments/_index.segment.rsc +12 -12
  24. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +7 -7
  25. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  26. package/.next/server/app/api/analyze/route.js +2 -2
  27. package/.next/server/app/api/analyze/route.js.nft.json +1 -1
  28. package/.next/server/app/api/connect/route.js +2 -2
  29. package/.next/server/app/api/connect/route.js.nft.json +1 -1
  30. package/.next/server/app/api/health/route.js.nft.json +1 -1
  31. package/.next/server/app/api/metrics/route.js +2 -2
  32. package/.next/server/app/api/metrics/route.js.nft.json +1 -1
  33. package/.next/server/app/api/settings/route.js +1 -1
  34. package/.next/server/app/api/settings/route.js.nft.json +1 -1
  35. package/.next/server/app/api/setup/ai/route.js +2 -2
  36. package/.next/server/app/api/setup/ai/route.js.nft.json +1 -1
  37. package/.next/server/app/api/setup/route.js +2 -2
  38. package/.next/server/app/api/setup/route.js.nft.json +1 -1
  39. package/.next/server/app/api/timings/route.js +2 -2
  40. package/.next/server/app/api/timings/route.js.nft.json +1 -1
  41. package/.next/server/app/connect/page/build-manifest.json +3 -3
  42. package/.next/server/app/connect/page.js +1 -1
  43. package/.next/server/app/connect/page.js.nft.json +1 -1
  44. package/.next/server/app/connect/page_client-reference-manifest.js +1 -1
  45. package/.next/server/app/connect.html +4 -4
  46. package/.next/server/app/connect.rsc +20 -20
  47. package/.next/server/app/connect.segments/_full.segment.rsc +20 -20
  48. package/.next/server/app/connect.segments/_index.segment.rsc +12 -12
  49. package/.next/server/app/connect.segments/_tree.segment.rsc +2 -2
  50. package/.next/server/app/connect.segments/connect/__PAGE__.segment.rsc +12 -12
  51. package/.next/server/app/index.html +2 -2
  52. package/.next/server/app/index.rsc +21 -21
  53. package/.next/server/app/index.segments/__PAGE__.segment.rsc +7 -7
  54. package/.next/server/app/index.segments/_full.segment.rsc +21 -21
  55. package/.next/server/app/index.segments/_index.segment.rsc +12 -12
  56. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  57. package/.next/server/app/page/build-manifest.json +3 -3
  58. package/.next/server/app/page.js +1 -1
  59. package/.next/server/app/page.js.nft.json +1 -1
  60. package/.next/server/app/page_client-reference-manifest.js +1 -1
  61. package/.next/server/app/performance/[slug]/page/build-manifest.json +3 -3
  62. package/.next/server/app/performance/[slug]/page.js +3 -3
  63. package/.next/server/app/performance/[slug]/page.js.nft.json +1 -1
  64. package/.next/server/app/performance/[slug]/page_client-reference-manifest.js +1 -1
  65. package/.next/server/app/performance/page/build-manifest.json +3 -3
  66. package/.next/server/app/performance/page.js +1 -1
  67. package/.next/server/app/performance/page.js.nft.json +1 -1
  68. package/.next/server/app/performance/page_client-reference-manifest.js +1 -1
  69. package/.next/server/app/performance.html +2 -2
  70. package/.next/server/app/performance.rsc +22 -22
  71. package/.next/server/app/performance.segments/_full.segment.rsc +22 -22
  72. package/.next/server/app/performance.segments/_index.segment.rsc +12 -12
  73. package/.next/server/app/performance.segments/_tree.segment.rsc +2 -2
  74. package/.next/server/app/performance.segments/performance/__PAGE__.segment.rsc +15 -15
  75. package/.next/server/app/settings/page/build-manifest.json +3 -3
  76. package/.next/server/app/settings/page.js +2 -2
  77. package/.next/server/app/settings/page.js.nft.json +1 -1
  78. package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  79. package/.next/server/app/setup/page/build-manifest.json +3 -3
  80. package/.next/server/app/setup/page.js +1 -1
  81. package/.next/server/app/setup/page.js.nft.json +1 -1
  82. package/.next/server/app/setup/page_client-reference-manifest.js +1 -1
  83. package/.next/server/app/setup.html +2 -2
  84. package/.next/server/app/setup.rsc +21 -21
  85. package/.next/server/app/setup.segments/_full.segment.rsc +21 -21
  86. package/.next/server/app/setup.segments/_index.segment.rsc +12 -12
  87. package/.next/server/app/setup.segments/_tree.segment.rsc +2 -2
  88. package/.next/server/app/setup.segments/setup/__PAGE__.segment.rsc +13 -13
  89. package/.next/server/app/tools/[tool]/page/build-manifest.json +3 -3
  90. package/.next/server/app/tools/[tool]/page.js +2 -2
  91. package/.next/server/app/tools/[tool]/page.js.nft.json +1 -1
  92. package/.next/server/app/tools/[tool]/page_client-reference-manifest.js +1 -1
  93. package/.next/server/chunks/{[root-of-the-server]__1rx5s6r._.js → [root-of-the-server]__0086g9z._.js} +2 -2
  94. package/.next/server/chunks/[root-of-the-server]__05mqvyo._.js +1 -1
  95. package/.next/server/chunks/{[root-of-the-server]__17ksca-._.js → [root-of-the-server]__0dv0ig6._.js} +2 -2
  96. package/.next/server/chunks/[root-of-the-server]__0fkj1-q._.js +1 -1
  97. package/.next/server/chunks/{[root-of-the-server]__1naf7j4._.js → [root-of-the-server]__0ui-otz._.js} +2 -2
  98. package/.next/server/chunks/{[root-of-the-server]__0pil1g6._.js → [root-of-the-server]__0urnrab._.js} +2 -2
  99. package/.next/server/chunks/{[root-of-the-server]__1f_fo0j._.js → [root-of-the-server]__0wkeqwu._.js} +2 -2
  100. package/.next/server/chunks/{[root-of-the-server]__0o2ceqr._.js → [root-of-the-server]__0xy2rkf._.js} +2 -2
  101. package/.next/server/chunks/node_modules__pnpm_1qoj6e0._.js +8 -0
  102. package/.next/server/chunks/ssr/0hs5_cn_dist_index_1l1fs8y.js +3 -0
  103. package/.next/server/chunks/ssr/0x0c_next_dist_03da18h._.js +2 -2
  104. package/.next/server/chunks/ssr/0x0c_next_dist_0lkq344._.js +1 -1
  105. package/.next/server/chunks/ssr/0x0c_next_dist_1icgwks._.js +1 -1
  106. package/.next/server/chunks/ssr/0x0c_next_dist_client_components_1z4ahr3._.js +1 -1
  107. package/.next/server/chunks/ssr/[root-of-the-server]__0kik87u._.js +3 -0
  108. package/.next/server/chunks/ssr/[root-of-the-server]__0tikq3c._.js +1 -1
  109. package/.next/server/chunks/ssr/[root-of-the-server]__1jyq1xk._.js +3 -0
  110. package/.next/server/chunks/ssr/{_1my0v50._.js → _03vzzge._.js} +2 -2
  111. package/.next/server/chunks/ssr/_05t4klq._.js +151 -0
  112. package/.next/server/chunks/ssr/_0_8ffmk._.js +3 -0
  113. package/.next/server/chunks/ssr/_0aid3rp._.js +23 -0
  114. package/.next/server/chunks/ssr/_0n2v1-f._.js +3 -0
  115. package/.next/server/chunks/ssr/_0ovnhv_._.js +3 -0
  116. package/.next/server/chunks/ssr/_0r3_nx1._.js +3 -0
  117. package/.next/server/chunks/ssr/{_0cq6qjs._.js → _1-c62g-._.js} +2 -2
  118. package/.next/server/chunks/ssr/_13m9nev._.js +1 -1
  119. package/.next/server/chunks/ssr/_15jjw6y._.js +6 -0
  120. package/.next/server/chunks/ssr/_1m21xmc._.js +3 -0
  121. package/.next/server/chunks/ssr/_1op3e_1._.js +3 -0
  122. package/.next/server/chunks/ssr/_1u-atbb._.js +3 -0
  123. package/.next/server/chunks/ssr/{_0bxxvzb._.js → _1vj5488._.js} +2 -2
  124. package/.next/server/chunks/ssr/components_1_8btz1._.js +1 -1
  125. package/.next/server/chunks/ssr/node_modules__pnpm_1nkgz3w._.js +3 -0
  126. package/.next/server/middleware-build-manifest.js +6 -6
  127. package/.next/server/pages/404.html +2 -2
  128. package/.next/server/pages/500.html +1 -1
  129. package/.next/static/chunks/{04gu7yw10i4rc.js → 08mon8yjj189v.js} +1 -1
  130. package/.next/static/chunks/0_gj-5u7ifqf4.js +1 -0
  131. package/.next/static/chunks/0qyqgoivxmfa9.js +1 -0
  132. package/.next/static/chunks/{2k11j1snr6r1u.js → 0vpb-2i9p8zhe.js} +1 -1
  133. package/.next/static/chunks/0y_7csdv76zje.js +1 -0
  134. package/.next/static/chunks/1-e3y5w9yuttx.js +1 -0
  135. package/.next/static/chunks/1yf_zdc606yo0.js +4 -0
  136. package/.next/static/chunks/{3mkpnj4abn9jb.js → 2-_lp05t5zcjb.js} +1 -1
  137. package/.next/static/chunks/{3fmhqgzb47j23.js → 21q5shbghrpvd.js} +1 -1
  138. package/.next/static/chunks/24b86benpq6o_.css +1 -0
  139. package/.next/static/chunks/{2dpz7gbtyu5go.js → 287u55qyslbe_.js} +1 -1
  140. package/.next/static/chunks/{2pf7wdwyhi6ks.js → 2ez5lwfhls4_u.js} +1 -1
  141. package/.next/static/chunks/{1habrj18124lo.js → 2gp4docstg2a8.js} +1 -1
  142. package/.next/static/chunks/{2a13xlyo2-he7.js → 3u-yh5wnxswb0.js} +1 -1
  143. package/.next/static/chunks/{44rowux-iee-x.js → 3vpvl6gwhuz4w.js} +1 -1
  144. package/.next/static/chunks/{turbopack-00gi3z1duuih6.js → turbopack-2-umre2j9nu7o.js} +1 -1
  145. package/.next/trace +1 -1
  146. package/.next/trace-build +1 -1
  147. package/README.md +9 -0
  148. package/bin/cli.mjs +5 -2
  149. package/package.json +15 -15
  150. package/.next/server/chunks/node_modules__pnpm_0qgcly_._.js +0 -8
  151. package/.next/server/chunks/ssr/0f2__cn_dist_index_1jh2egc.js +0 -3
  152. package/.next/server/chunks/ssr/[root-of-the-server]__1jr0qvs._.js +0 -3
  153. package/.next/server/chunks/ssr/[root-of-the-server]__1xhr2zy._.js +0 -3
  154. package/.next/server/chunks/ssr/_02_o-ya._.js +0 -6
  155. package/.next/server/chunks/ssr/_045bvlq._.js +0 -3
  156. package/.next/server/chunks/ssr/_0htqt7_._.js +0 -23
  157. package/.next/server/chunks/ssr/_0loqsig._.js +0 -3
  158. package/.next/server/chunks/ssr/_0un641_._.js +0 -3
  159. package/.next/server/chunks/ssr/_0x78uxx._.js +0 -3
  160. package/.next/server/chunks/ssr/_1e2kw7_._.js +0 -3
  161. package/.next/server/chunks/ssr/_1t-coe_._.js +0 -151
  162. package/.next/server/chunks/ssr/_1te3xjw._.js +0 -3
  163. package/.next/server/chunks/ssr/_1yayvr-._.js +0 -3
  164. package/.next/server/chunks/ssr/node_modules__pnpm_0o-aqpb._.js +0 -3
  165. package/.next/static/chunks/2gixnay4u3hoe.js +0 -4
  166. package/.next/static/chunks/2r1mqyk-y9ywu.js +0 -1
  167. package/.next/static/chunks/2sh7680ti_qkv.js +0 -1
  168. package/.next/static/chunks/32qkw4q4c_gv1.css +0 -1
  169. package/.next/static/chunks/32w6d6b9f9xks.js +0 -1
  170. package/.next/static/chunks/3zxdkbf-vu5l4.js +0 -1
  171. /package/.next/static/{xbaKdc39wmsvYFMLT0pcf → Yv5DeofpLN8HP7dgDqauX}/_buildManifest.js +0 -0
  172. /package/.next/static/{xbaKdc39wmsvYFMLT0pcf → Yv5DeofpLN8HP7dgDqauX}/_clientMiddlewareManifest.js +0 -0
  173. /package/.next/static/{xbaKdc39wmsvYFMLT0pcf → Yv5DeofpLN8HP7dgDqauX}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,24851,e=>{"use strict";var t=e.i(40798),a=e.i(3547),r=e.i(70065),s=e.i(67881);e.s(["EmptyState",0,function({title:e="No data yet",reason:i="Keys work, but no page events have arrived.",href:l="/connect",cta:n="Send your first events",onRetry:d}){return(0,t.jsx)(r.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,t.jsxs)(r.CardContent,{className:"flex flex-col items-center gap-3 p-10 text-center",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-white",children:e}),(0,t.jsx)("p",{className:"max-w-md text-sm text-gray-400",children:i}),(0,t.jsxs)("div",{className:"flex gap-3",children:[l&&(0,t.jsx)(a.default,{href:l,className:(0,s.buttonVariants)(),children:n}),d&&(0,t.jsx)(s.Button,{variant:"outline",onClick:d,children:"Retry"})]})]})})}])},28175,e=>{"use strict";var t=e.i(40798),a=e.i(70065),r=e.i(93239),s=e.i(77051),i=e.i(44222);e.i(34813);var l=e.i(73011),n=e.i(93961);e.s(["HubMetrics",0,function({pages:e,has:d}){let o=e.filter(l.hasData),c=o.length?o.reduce((e,t)=>e+(t.metrics.loadTime??0),0)/o.length:null,u=e.reduce((e,t)=>e+(t.metrics.errors?.count??0),0),h=[{needs:"pages",label:"Pages Reporting",value:`${o.length} of ${e.length}`,icon:(0,t.jsx)(r.Globe,{className:"h-4 w-4 text-[#3ee0a1]"})},{needs:"loadTime",label:"Avg Load Time",value:null===c?"No data yet":(0,n.formatDuration)(c),icon:(0,t.jsx)(s.Clock,{className:"h-4 w-4 text-[#06b6d4]"})},{needs:"errors",label:"Open Errors",value:o.length||u?String(u):"No data yet",icon:(0,t.jsx)(i.AlertTriangle,{className:"h-4 w-4 text-[#ef4444]"})}].filter(e=>d(e.needs));return(0,t.jsx)("div",{className:`grid gap-6 mb-8 mt-4 ${3===h.length?"md:grid-cols-3":"md:grid-cols-2"}`,children:h.map((e,r)=>(0,t.jsx)(a.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,t.jsxs)(a.CardContent,{className:"p-6",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-gray-400",children:e.label}),(0,t.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-[#0f1419] border border-[#2d3748]",children:e.icon})]}),(0,t.jsx)("div",{className:"flex items-baseline gap-3",children:(0,t.jsx)("span",{className:"text-3xl font-bold text-white tracking-tight",children:e.value})})]})},r))})}])},7848,18101,92180,e=>{"use strict";var t=e.i(40798),a=e.i(3547),r=e.i(19085),s=e.i(69948);let i={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"]};i.node;let l=(0,s.default)(i),n={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"}]]};n.node;let d=(0,s.default)(n),o={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"]};o.node;let c=(0,s.default)(o);e.s(["OctagonAlert",0,c],18101);var u=e.i(18526);e.s(["TriangleAlert",()=>u.default],92180);var u=u,h=e.i(47627),m=e.i(70065),g=e.i(94179),x=e.i(64114),f=e.i(93834),p=e.i(93961),b=e.i(73011);let v="pages-table-title",j=e=>"Warning"===e||"Critical"===e,y={Critical:{Icon:c,icon:"text-dash-danger",badge:"border-dash-danger/40 bg-dash-danger/10"},Warning:{Icon:u.default,icon:"text-dash-warning",badge:"border-dash-warning/40 bg-dash-warning/10"},Healthy:{Icon:l,icon:"text-dash-success",badge:"border-dash-success/40 bg-dash-success/10"}},w={Icon:d,icon:"text-dash-muted",badge:"border-dash-border-light"},k="rounded-sm outline-none focus-visible:ring-3 focus-visible:ring-ring/50",N=`font-medium text-dash-foreground underline underline-offset-4 hover:text-dash-muted-light ${k}`,T="hidden px-3 text-right tabular-nums lg:table-cell";function C({page:e}){let a=e.status??((0,b.hasData)(e)?"No performance data":"No data yet"),{Icon:r,icon:s,badge:i}=e.status?y[e.status]:w;return(0,t.jsxs)(g.Badge,{variant:"outline","data-status":a,className:`text-dash-foreground ${i}`,children:[(0,t.jsx)(r,{"aria-hidden":"true",className:s}),a]})}function $({label:e,caption:a}){return(0,t.jsxs)(h.TableHead,{scope:"col",className:`${T} h-12 text-dash-muted`,children:[e,a&&(0,t.jsx)("span",{className:"block text-body-sm",children:a})]})}function S({status:e,children:a}){let r="Critical"===e?c:u.default;return(0,t.jsxs)(h.TableCell,{"data-over-limit":j(e)||void 0,className:`${T} ${j(e)?"font-semibold text-dash-foreground":"text-dash-muted"}`,children:[j(e)&&(0,t.jsx)(r,{"aria-hidden":"true",className:`mr-1 inline size-3.5 align-[-2px] ${"Critical"===e?"text-dash-danger":"text-dash-warning"}`}),a,j(e)&&(0,t.jsx)("span",{className:"sr-only",children:" over limit"})]})}function z({rows:e,has:r,failed:s}){let i=e.length,n=e.filter(e=>j(e.status)).length,d=e.filter(e=>e.status).length,o=e.filter(e=>!(0,b.hasData)(e)).length,c=s.filter(f.isToolId).map(e=>f.TOOLS[e].label),u=null,h=0===o?"":1===o?"1 has no data yet.":`${o} have no data yet.`;if(n)u=1===i?"This page is over a limit.":1===n?`1 of ${i} pages is over a limit.`:`${n} of ${i} pages are over a limit. Worst first.`;else if(d){let e=1===i?"This page is within your limits.":d===i?`All ${i} pages are within your limits. Closest to a limit first.`:1===d?`1 of ${i} pages is within your limits.`:`${d} of ${i} pages are within your limits. Closest to a limit first.`;u=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l,{"aria-hidden":"true",className:"mr-1 inline size-3.5 align-[-2px] text-dash-success"}),e]})}else c.length?(u=`Could not load ${c.join(" and ")} data, so pages are not checked against your limits.`,h=""):r("loadTime")||(u=(0,t.jsxs)(t.Fragment,{children:["Ranked by Sentry errors in the last 24h. ",(0,t.jsx)(a.default,{href:"/setup",className:N,children:"Connect New Relic"})," to check load time and error rate against your limits."]}));return(d&&c.length&&(h=[h,`Could not load ${c.join(" and ")} data.`].filter(Boolean).join(" ")),u||h)?(0,t.jsxs)("p",{"data-slot":"table-summary",className:"text-body text-dash-muted",children:[u,u&&h&&" ",h]}):null}e.s(["HUB_TABLE_TITLE_ID",0,v,"HubTable",0,function({title:e,pages:s,has:i,thresholds:l,failed:n=[],limit:d}){let o=(0,r.useRouter)(),c=(0,b.rankPages)(s,l),u=c.some(e=>e.status);return(0,t.jsxs)(m.Card,{className:"bg-dash-card text-dash-foreground",children:[(0,t.jsxs)(m.CardHeader,{children:[(0,t.jsx)("h2",{id:v,tabIndex:-1,className:`title-enter w-fit text-h3 text-dash-foreground ${k}`,children:e}),(0,t.jsx)(z,{rows:c,has:i,failed:n})]}),(0,t.jsxs)(m.CardContent,{children:[(0,t.jsxs)(h.Table,{children:[(0,t.jsx)("caption",{className:"sr-only",children:"Pages ranked worst first"}),(0,t.jsx)(h.TableHeader,{children:(0,t.jsxs)(h.TableRow,{className:"border-dash-border hover:bg-transparent",children:[(0,t.jsx)(h.TableHead,{scope:"col",className:"h-12 px-3 text-dash-muted",children:"Page"}),u&&(0,t.jsx)(h.TableHead,{scope:"col",className:"h-12 px-3 text-dash-muted",children:"Status"}),i("loadTime")&&(0,t.jsx)($,{label:"Load time",caption:(0,b.limitLabel)("loadTime",l)}),i("errorRate")&&(0,t.jsx)($,{label:"Error rate",caption:(0,b.limitLabel)("errorRate",l)}),i("apdex")&&(0,t.jsx)($,{label:"Apdex",caption:(0,b.limitLabel)("apdex",l)}),i("errors")&&(0,t.jsx)($,{label:"Sentry errors",caption:"last 24h, no limit"}),i("traffic")&&(0,t.jsx)($,{label:(0,x.isSampled)(s)?"Page loads (sampled)":"Views (24h)"})]})}),(0,t.jsx)(h.TableBody,{children:c.slice(0,d).map(e=>{let r=(0,b.hasData)(e),s=(0,b.hasPerformance)(e),n=e.metrics,d=`/performance/${e.slug}`,c=function(e,t,a){if(!(0,b.hasData)(e))return"";if(j(e.status)){let t=(0,b.breachReasons)(e,a).join(", ");return t.charAt(0).toUpperCase()+t.slice(1)}let r=e.metrics,s=(0,b.hasPerformance)(e);return[s&&t("loadTime")&&void 0!==r.loadTime&&`Load ${(0,p.formatDuration)(r.loadTime)}`,s&&t("errorRate")&&void 0!==r.errorRate&&`Errors ${r.errorRate.toFixed(2)}%`,s&&t("apdex")&&void 0!==r.apdex&&`Apdex ${r.apdex.toFixed(2)}`,t("errors")&&r.errors&&`${r.errors.count} Sentry ${1===r.errors.count?"error":"errors"}`].filter(Boolean).join(" · ")}(e,i,l);return(0,t.jsxs)(h.TableRow,{"data-slug":e.slug,className:"h-14 cursor-pointer border-dash-border hover:bg-white/5 focus-within:bg-white/5 lg:h-12",onClick:e=>{e.target.closest("a")||o.push(d)},children:[(0,t.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,t.jsxs)(a.default,{href:d,title:e.name,className:`block truncate text-body font-medium text-dash-foreground ${k}`,children:[e.name,(0,t.jsx)("span",{className:"sr-only",children:", view page details"})]}),(0,t.jsx)("span",{title:e.url,className:"block truncate font-mono text-body-sm text-dash-muted",children:e.url}),c&&(0,t.jsx)("span",{"data-slot":"row-summary",className:"mt-0.5 block text-body-sm text-dash-muted lg:hidden",children:c})]}),u&&(0,t.jsx)(h.TableCell,{className:"px-3",children:(0,t.jsx)(C,{page:e})}),i("loadTime")&&(0,t.jsx)(S,{status:s?(0,b.metricStatus)("loadTime",n.loadTime,l):void 0,children:s&&void 0!==n.loadTime?(0,p.formatDuration)(n.loadTime):"—"}),i("errorRate")&&(0,t.jsx)(S,{status:s?(0,b.metricStatus)("errorRate",n.errorRate,l):void 0,children:s&&void 0!==n.errorRate?`${n.errorRate.toFixed(2)}%`:"—"}),i("apdex")&&(0,t.jsx)(S,{status:s?(0,b.metricStatus)("apdex",n.apdex,l):void 0,children:s&&void 0!==n.apdex?n.apdex.toFixed(2):"—"}),i("errors")&&(0,t.jsx)(S,{children:r&&n.errors?n.errors.count:"—"}),i("traffic")&&(0,t.jsx)(S,{children:r&&n.traffic?e.visitors:"—"})]},e.slug)})})]}),void 0!==d&&c.length>d&&(0,t.jsxs)(a.default,{href:"/performance",className:`mt-2 inline-flex min-h-11 items-center px-3 text-body md:min-h-8 ${N}`,children:["View all ",c.length," pages"]})]})]})}],7848)},11777,e=>{"use strict";var t=e.i(40798),a=e.i(24851),r=e.i(71428),s=e.i(34813),i=e.i(73011),l=e.i(50762),n=e.i(28175),d=e.i(7848);e.s(["PerformanceHub",0,function(){let{state:e,retry:o}=(0,s.useMetrics)(),c=(0,l.useThresholds)();if("loading"===e.status)return(0,t.jsx)(r.Skeleton,{className:"mt-6 h-64 w-full bg-[#2d3748]"});if("error"===e.status)return(0,t.jsx)(a.EmptyState,{title:"Could not load metrics",reason:e.message,onRetry:o});if(!e.configured)return(0,t.jsx)(a.EmptyState,{title:"Connect your data",reason:"Add your New Relic or Sentry keys to see real numbers.",href:"/setup",cta:"Set up keys"});if(!e.pages.length||!e.pages.some(i.hasData))return(0,t.jsx)(a.EmptyState,{});let u=t=>(0,s.provides)(e,t);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.HubMetrics,{pages:e.pages,has:u}),(0,t.jsx)(d.HubTable,{title:"All pages",pages:e.pages,has:u,thresholds:c,failed:e.failed})]})}])},94179,e=>{"use strict";var t=e.i(46987),a=e.i(10063),r=e.i(94237),s=e.i(28603);let i=(0,r.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"}});e.s(["Badge",0,function({className:e,variant:r="default",render:l,...n}){return(0,a.useRender)({defaultTagName:"span",props:(0,t.mergeProps)({className:(0,s.cn)(i({variant:r}),e)},n),render:l,state:{slot:"badge",variant:r}})}])},70065,e=>{"use strict";var t=e.i(40798),a=e.i(28603);e.s(["Card",0,function({className:e,size:r="default",...s}){return(0,t.jsx)("div",{"data-slot":"card","data-size":r,className:(0,a.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",e),...s})},"CardContent",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,a.cn)("px-(--card-spacing)",e),...r})},"CardDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,a.cn)("text-sm text-muted-foreground",e),...r})},"CardHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,a.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)",e),...r})},"CardTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,a.cn)("title-enter font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...r})}])},47627,e=>{"use strict";var t=e.i(40798),a=e.i(28603);e.s(["Table",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,a.cn)("w-full caption-bottom text-sm",e),...r})})},"TableBody",0,function({className:e,...r}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,a.cn)("[&_tr:last-child]:border-0",e),...r})},"TableCell",0,function({className:e,...r}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,a.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...r})},"TableHead",0,function({className:e,...r}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,a.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...r})},"TableHeader",0,function({className:e,...r}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,a.cn)("[&_tr]:border-b",e),...r})},"TableRow",0,function({className:e,...r}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...r})}])},91153,e=>{"use strict";var t=e.i(96341);let a=(...e)=>e.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim(),r={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"},s=(0,t.createContext)({}),i=(0,t.forwardRef)(({color:e,size:i,width:l,height:n,strokeWidth:d,absoluteStrokeWidth:o,nonScalingStroke:c,className:u="",children:h,iconNode:m=[],icon:g={node:m,aliases:[],size:24},...x},f)=>{let{size:p=24,strokeWidth:b=2,absoluteStrokeWidth:v=!1,nonScalingStroke:j=!1,color:y="currentColor",className:w=""}=(0,t.useContext)(s)??{},k=!!h||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(x),[N,T,C=[]]=function(e,t={}){return function(e,t={}){let s=t.attributeNames??{},i=e=>s[e]??e,l=e.size??e.width??r.width,n=e.size??e.height??r.height,d=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],o=[...e.name?[`lucide-${e.name}`]:[],...d],c=t.className?.split(" ").filter(Boolean)??[],u=!1===t.includeDefaultClasses?a(...c):a("lucide",...o,...c),h=t.absoluteStrokeWidth?Number(t.strokeWidth??r["stroke-width"])*Number(e.size??e.width??r.width)/Number(t.size??t.width??r.width):t.strokeWidth??r["stroke-width"];return["svg",{...Object.entries(r).reduce((e,[t,a])=>(e[i(t)]=a,e),{}),..."color"in t&&t.color&&{[i("stroke")]:t.color},..."size"in t&&null!=t.size&&{[i("width")]:t.size,[i("height")]:t.size},..."width"in t&&null!=t.width&&{[i("width")]:t.width},..."height"in t&&null!=t.height&&{[i("height")]:t.height},[i("stroke-width")]:h,...u&&{[i("class")]:u},[i("viewBox")]:`0 0 ${l} ${n}`,...!1===t.hasA11yProp?{[i("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[a,r,s]=e,l=t.nonScalingStroke?{[i("vector-effect")]:"non-scaling-stroke",...r}:r;return s?[a,l,s]:[a,l]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(g,{color:e??y,width:l??i??p,height:n??i??p,strokeWidth:d??b,absoluteStrokeWidth:o??v,nonScalingStroke:c??j,className:a(w,u),hasA11yProp:k,attributes:x});return(0,t.createElement)(N,{ref:f,...T},[...C.map(([e,a])=>(0,t.createElement)(e,a)),...Array.isArray(h)?h:[h]])});e.s(["default",0,i],91153)},77051,e=>{"use strict";var t=e.i(69948);let a={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};a.node;let r=(0,t.default)(a);e.s(["Clock",0,r],77051)},93239,e=>{"use strict";var t=e.i(69948);let a={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"}]]};a.node;let r=(0,t.default)(a);e.s(["Globe",0,r],93239)},18526,e=>{"use strict";var t=e.i(69948);let a={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"]};a.node;let r=(0,t.default)(a);e.s(["default",0,r])},44222,e=>{"use strict";var t=e.i(18526);e.s(["AlertTriangle",()=>t.default])}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,24851,e=>{"use strict";var t=e.i(40798),a=e.i(3547),r=e.i(70065),s=e.i(67881);e.s(["EmptyState",0,function({title:e="No data yet",reason:i="Keys work, but no page events have arrived.",href:l="/connect",cta:n="Send your first events",onRetry:d}){return(0,t.jsx)(r.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,t.jsxs)(r.CardContent,{className:"flex flex-col items-center gap-3 p-10 text-center",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-white",children:e}),(0,t.jsx)("p",{className:"max-w-md text-sm text-gray-400",children:i}),(0,t.jsxs)("div",{className:"flex gap-3",children:[l&&(0,t.jsx)(a.default,{href:l,className:(0,s.buttonVariants)(),children:n}),d&&(0,t.jsx)(s.Button,{variant:"outline",onClick:d,children:"Retry"})]})]})})}])},28175,e=>{"use strict";var t=e.i(40798),a=e.i(70065),r=e.i(16791),s=e.i(23023),i=e.i(56296);e.i(34813);var l=e.i(73011),n=e.i(93961);e.s(["HubMetrics",0,function({pages:e,has:d}){let o=e.filter(l.hasData),c=o.length?o.reduce((e,t)=>e+(t.metrics.loadTime??0),0)/o.length:null,u=e.reduce((e,t)=>e+(t.metrics.errors?.count??0),0),h=[{needs:"pages",label:"Pages Reporting",value:`${o.length} of ${e.length}`,icon:(0,t.jsx)(r.Globe,{className:"h-4 w-4 text-[#3ee0a1]"})},{needs:"loadTime",label:"Avg Load Time",value:null===c?"No data yet":(0,n.formatDuration)(c),icon:(0,t.jsx)(s.Clock,{className:"h-4 w-4 text-[#06b6d4]"})},{needs:"errors",label:"Open Errors",value:o.length||u?String(u):"No data yet",icon:(0,t.jsx)(i.AlertTriangle,{className:"h-4 w-4 text-[#ef4444]"})}].filter(e=>d(e.needs));return(0,t.jsx)("div",{className:`grid gap-6 mb-8 mt-4 ${3===h.length?"md:grid-cols-3":"md:grid-cols-2"}`,children:h.map((e,r)=>(0,t.jsx)(a.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,t.jsxs)(a.CardContent,{className:"p-6",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-gray-400",children:e.label}),(0,t.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-[#0f1419] border border-[#2d3748]",children:e.icon})]}),(0,t.jsx)("div",{className:"flex items-baseline gap-3",children:(0,t.jsx)("span",{className:"text-3xl font-bold text-white tracking-tight",children:e.value})})]})},r))})}])},7848,33451,66987,e=>{"use strict";var t=e.i(40798),a=e.i(3547),r=e.i(19085),s=e.i(67449);let i={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"]};i.node;let l=(0,s.default)(i),n={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"}]]};n.node;let d=(0,s.default)(n),o={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"]};o.node;let c=(0,s.default)(o);e.s(["OctagonAlert",0,c],33451);var u=e.i(74581);e.s(["TriangleAlert",()=>u.default],66987);var u=u,h=e.i(47627),m=e.i(70065),g=e.i(94179),x=e.i(64114),f=e.i(93834),p=e.i(93961),b=e.i(73011);let v="pages-table-title",j=e=>"Warning"===e||"Critical"===e,y={Critical:{Icon:c,icon:"text-dash-danger",badge:"border-dash-danger/40 bg-dash-danger/10"},Warning:{Icon:u.default,icon:"text-dash-warning",badge:"border-dash-warning/40 bg-dash-warning/10"},Healthy:{Icon:l,icon:"text-dash-success",badge:"border-dash-success/40 bg-dash-success/10"}},w={Icon:d,icon:"text-dash-muted",badge:"border-dash-border-light"},k="rounded-sm outline-none focus-visible:ring-3 focus-visible:ring-ring/50",N=`font-medium text-dash-foreground underline underline-offset-4 hover:text-dash-muted-light ${k}`,T="hidden px-3 text-right tabular-nums lg:table-cell";function C({page:e}){let a=e.status??((0,b.hasData)(e)?"No performance data":"No data yet"),{Icon:r,icon:s,badge:i}=e.status?y[e.status]:w;return(0,t.jsxs)(g.Badge,{variant:"outline","data-status":a,className:`text-dash-foreground ${i}`,children:[(0,t.jsx)(r,{"aria-hidden":"true",className:s}),a]})}function $({label:e,caption:a}){return(0,t.jsxs)(h.TableHead,{scope:"col",className:`${T} h-12 text-dash-muted`,children:[e,a&&(0,t.jsx)("span",{className:"block text-body-sm",children:a})]})}function S({status:e,children:a}){let r="Critical"===e?c:u.default;return(0,t.jsxs)(h.TableCell,{"data-over-limit":j(e)||void 0,className:`${T} ${j(e)?"font-semibold text-dash-foreground":"text-dash-muted"}`,children:[j(e)&&(0,t.jsx)(r,{"aria-hidden":"true",className:`mr-1 inline size-3.5 align-[-2px] ${"Critical"===e?"text-dash-danger":"text-dash-warning"}`}),a,j(e)&&(0,t.jsx)("span",{className:"sr-only",children:" over limit"})]})}function z({rows:e,has:r,failed:s}){let i=e.length,n=e.filter(e=>j(e.status)).length,d=e.filter(e=>e.status).length,o=e.filter(e=>!(0,b.hasData)(e)).length,c=s.filter(f.isToolId).map(e=>f.TOOLS[e].label),u=null,h=0===o?"":1===o?"1 has no data yet.":`${o} have no data yet.`;if(n)u=1===i?"This page is over a limit.":1===n?`1 of ${i} pages is over a limit.`:`${n} of ${i} pages are over a limit. Worst first.`;else if(d){let e=1===i?"This page is within your limits.":d===i?`All ${i} pages are within your limits. Closest to a limit first.`:1===d?`1 of ${i} pages is within your limits.`:`${d} of ${i} pages are within your limits. Closest to a limit first.`;u=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l,{"aria-hidden":"true",className:"mr-1 inline size-3.5 align-[-2px] text-dash-success"}),e]})}else c.length?(u=`Could not load ${c.join(" and ")} data, so pages are not checked against your limits.`,h=""):r("loadTime")||(u=(0,t.jsxs)(t.Fragment,{children:["Ranked by Sentry errors in the last 24h. ",(0,t.jsx)(a.default,{href:"/setup",className:N,children:"Connect New Relic"})," to check load time and error rate against your limits."]}));return(d&&c.length&&(h=[h,`Could not load ${c.join(" and ")} data.`].filter(Boolean).join(" ")),u||h)?(0,t.jsxs)("p",{"data-slot":"table-summary",className:"text-body text-dash-muted",children:[u,u&&h&&" ",h]}):null}e.s(["HUB_TABLE_TITLE_ID",0,v,"HubTable",0,function({title:e,pages:s,has:i,thresholds:l,failed:n=[],limit:d}){let o=(0,r.useRouter)(),c=(0,b.rankPages)(s,l),u=c.some(e=>e.status);return(0,t.jsxs)(m.Card,{className:"bg-dash-card text-dash-foreground",children:[(0,t.jsxs)(m.CardHeader,{children:[(0,t.jsx)("h2",{id:v,tabIndex:-1,className:`title-enter w-fit text-h3 text-dash-foreground ${k}`,children:e}),(0,t.jsx)(z,{rows:c,has:i,failed:n})]}),(0,t.jsxs)(m.CardContent,{children:[(0,t.jsxs)(h.Table,{children:[(0,t.jsx)("caption",{className:"sr-only",children:"Pages ranked worst first"}),(0,t.jsx)(h.TableHeader,{children:(0,t.jsxs)(h.TableRow,{className:"border-dash-border hover:bg-transparent",children:[(0,t.jsx)(h.TableHead,{scope:"col",className:"h-12 px-3 text-dash-muted",children:"Page"}),u&&(0,t.jsx)(h.TableHead,{scope:"col",className:"h-12 px-3 text-dash-muted",children:"Status"}),i("loadTime")&&(0,t.jsx)($,{label:"Load time",caption:(0,b.limitLabel)("loadTime",l)}),i("errorRate")&&(0,t.jsx)($,{label:"Error rate",caption:(0,b.limitLabel)("errorRate",l)}),i("apdex")&&(0,t.jsx)($,{label:"Apdex",caption:(0,b.limitLabel)("apdex",l)}),i("errors")&&(0,t.jsx)($,{label:"Sentry errors",caption:"last 24h, no limit"}),i("traffic")&&(0,t.jsx)($,{label:(0,x.isSampled)(s)?"Page loads (sampled)":"Views (24h)"})]})}),(0,t.jsx)(h.TableBody,{children:c.slice(0,d).map(e=>{let r=(0,b.hasData)(e),s=(0,b.hasPerformance)(e),n=e.metrics,d=`/performance/${e.slug}`,c=function(e,t,a){if(!(0,b.hasData)(e))return"";if(j(e.status)){let t=(0,b.breachReasons)(e,a).join(", ");return t.charAt(0).toUpperCase()+t.slice(1)}let r=e.metrics,s=(0,b.hasPerformance)(e);return[s&&t("loadTime")&&void 0!==r.loadTime&&`Load ${(0,p.formatDuration)(r.loadTime)}`,s&&t("errorRate")&&void 0!==r.errorRate&&`Errors ${r.errorRate.toFixed(2)}%`,s&&t("apdex")&&void 0!==r.apdex&&`Apdex ${r.apdex.toFixed(2)}`,t("errors")&&r.errors&&`${r.errors.count} Sentry ${1===r.errors.count?"error":"errors"}`].filter(Boolean).join(" · ")}(e,i,l);return(0,t.jsxs)(h.TableRow,{"data-slug":e.slug,className:"h-14 cursor-pointer border-dash-border hover:bg-white/5 focus-within:bg-white/5 lg:h-12",onClick:e=>{e.target.closest("a")||o.push(d)},children:[(0,t.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,t.jsxs)(a.default,{href:d,title:e.name,className:`block truncate text-body font-medium text-dash-foreground ${k}`,children:[e.name,(0,t.jsx)("span",{className:"sr-only",children:", view page details"})]}),(0,t.jsx)("span",{title:e.url,className:"block truncate font-mono text-body-sm text-dash-muted",children:e.url}),c&&(0,t.jsx)("span",{"data-slot":"row-summary",className:"mt-0.5 block text-body-sm text-dash-muted lg:hidden",children:c})]}),u&&(0,t.jsx)(h.TableCell,{className:"px-3",children:(0,t.jsx)(C,{page:e})}),i("loadTime")&&(0,t.jsx)(S,{status:s?(0,b.metricStatus)("loadTime",n.loadTime,l):void 0,children:s&&void 0!==n.loadTime?(0,p.formatDuration)(n.loadTime):"—"}),i("errorRate")&&(0,t.jsx)(S,{status:s?(0,b.metricStatus)("errorRate",n.errorRate,l):void 0,children:s&&void 0!==n.errorRate?`${n.errorRate.toFixed(2)}%`:"—"}),i("apdex")&&(0,t.jsx)(S,{status:s?(0,b.metricStatus)("apdex",n.apdex,l):void 0,children:s&&void 0!==n.apdex?n.apdex.toFixed(2):"—"}),i("errors")&&(0,t.jsx)(S,{children:r&&n.errors?n.errors.count:"—"}),i("traffic")&&(0,t.jsx)(S,{children:r&&n.traffic?e.visitors:"—"})]},e.slug)})})]}),void 0!==d&&c.length>d&&(0,t.jsxs)(a.default,{href:"/performance",className:`mt-2 inline-flex min-h-11 items-center px-3 text-body md:min-h-8 ${N}`,children:["View all ",c.length," pages"]})]})]})}],7848)},11777,e=>{"use strict";var t=e.i(40798),a=e.i(24851),r=e.i(71428),s=e.i(34813),i=e.i(73011),l=e.i(50762),n=e.i(28175),d=e.i(7848);e.s(["PerformanceHub",0,function(){let{state:e,retry:o}=(0,s.useMetrics)(),c=(0,l.useThresholds)();if("loading"===e.status)return(0,t.jsx)(r.Skeleton,{className:"mt-6 h-64 w-full bg-[#2d3748]"});if("error"===e.status)return(0,t.jsx)(a.EmptyState,{title:"Could not load metrics",reason:e.message,onRetry:o});if(!e.configured)return(0,t.jsx)(a.EmptyState,{title:"Connect your data",reason:"Add your New Relic or Sentry keys to see real numbers.",href:"/setup",cta:"Set up keys"});if(!e.pages.length||!e.pages.some(i.hasData))return(0,t.jsx)(a.EmptyState,{});let u=t=>(0,s.provides)(e,t);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.HubMetrics,{pages:e.pages,has:u}),(0,t.jsx)(d.HubTable,{title:"All pages",pages:e.pages,has:u,thresholds:c,failed:e.failed})]})}])},94179,e=>{"use strict";var t=e.i(39294),a=e.i(69322),r=e.i(94237),s=e.i(27152);let i=(0,r.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"}});e.s(["Badge",0,function({className:e,variant:r="default",render:l,...n}){return(0,a.useRender)({defaultTagName:"span",props:(0,t.mergeProps)({className:(0,s.cn)(i({variant:r}),e)},n),render:l,state:{slot:"badge",variant:r}})}])},70065,e=>{"use strict";var t=e.i(40798),a=e.i(27152);e.s(["Card",0,function({className:e,size:r="default",...s}){return(0,t.jsx)("div",{"data-slot":"card","data-size":r,className:(0,a.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",e),...s})},"CardContent",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,a.cn)("px-(--card-spacing)",e),...r})},"CardDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,a.cn)("text-sm text-muted-foreground",e),...r})},"CardHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,a.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)",e),...r})},"CardTitle",0,function({className:e,...r}){return(0,t.jsx)("h3",{"data-slot":"card-title",className:(0,a.cn)("title-enter font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...r})}])},47627,e=>{"use strict";var t=e.i(40798),a=e.i(27152);e.s(["Table",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,a.cn)("w-full caption-bottom text-sm",e),...r})})},"TableBody",0,function({className:e,...r}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,a.cn)("[&_tr:last-child]:border-0",e),...r})},"TableCell",0,function({className:e,...r}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,a.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...r})},"TableHead",0,function({className:e,...r}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,a.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...r})},"TableHeader",0,function({className:e,...r}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,a.cn)("[&_tr]:border-b",e),...r})},"TableRow",0,function({className:e,...r}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...r})}])},42230,e=>{"use strict";var t=e.i(96341);let a=(...e)=>e.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim(),r={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"},s=(0,t.createContext)({}),i=(0,t.forwardRef)(({color:e,size:i,width:l,height:n,strokeWidth:d,absoluteStrokeWidth:o,nonScalingStroke:c,className:u="",children:h,iconNode:m=[],icon:g={node:m,aliases:[],size:24},...x},f)=>{let{size:p=24,strokeWidth:b=2,absoluteStrokeWidth:v=!1,nonScalingStroke:j=!1,color:y="currentColor",className:w=""}=(0,t.useContext)(s)??{},k=!!h||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(x),[N,T,C=[]]=function(e,t={}){return function(e,t={}){let s=t.attributeNames??{},i=e=>s[e]??e,l=e.size??e.width??r.width,n=e.size??e.height??r.height,d=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],o=[...e.name?[`lucide-${e.name}`]:[],...d],c=t.className?.split(" ").filter(Boolean)??[],u=!1===t.includeDefaultClasses?a(...c):a("lucide",...o,...c),h=t.absoluteStrokeWidth?Number(t.strokeWidth??r["stroke-width"])*Number(e.size??e.width??r.width)/Number(t.size??t.width??r.width):t.strokeWidth??r["stroke-width"];return["svg",{...Object.entries(r).reduce((e,[t,a])=>(e[i(t)]=a,e),{}),..."color"in t&&t.color&&{[i("stroke")]:t.color},..."size"in t&&null!=t.size&&{[i("width")]:t.size,[i("height")]:t.size},..."width"in t&&null!=t.width&&{[i("width")]:t.width},..."height"in t&&null!=t.height&&{[i("height")]:t.height},[i("stroke-width")]:h,...u&&{[i("class")]:u},[i("viewBox")]:`0 0 ${l} ${n}`,...!1===t.hasA11yProp?{[i("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[a,r,s]=e,l=t.nonScalingStroke?{[i("vector-effect")]:"non-scaling-stroke",...r}:r;return s?[a,l,s]:[a,l]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(g,{color:e??y,width:l??i??p,height:n??i??p,strokeWidth:d??b,absoluteStrokeWidth:o??v,nonScalingStroke:c??j,className:a(w,u),hasA11yProp:k,attributes:x});return(0,t.createElement)(N,{ref:f,...T},[...C.map(([e,a])=>(0,t.createElement)(e,a)),...Array.isArray(h)?h:[h]])});e.s(["default",0,i],42230)},23023,e=>{"use strict";var t=e.i(67449);let a={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};a.node;let r=(0,t.default)(a);e.s(["Clock",0,r],23023)},16791,e=>{"use strict";var t=e.i(67449);let a={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"}]]};a.node;let r=(0,t.default)(a);e.s(["Globe",0,r],16791)},74581,e=>{"use strict";var t=e.i(67449);let a={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"]};a.node;let r=(0,t.default)(a);e.s(["default",0,r])},56296,e=>{"use strict";var t=e.i(74581);e.s(["AlertTriangle",()=>t.default])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94179,e=>{"use strict";var t=e.i(39294),r=e.i(69322),a=e.i(94237),i=e.i(27152);let o=(0,a.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"}});e.s(["Badge",0,function({className:e,variant:a="default",render:s,...n}){return(0,r.useRender)({defaultTagName:"span",props:(0,t.mergeProps)({className:(0,i.cn)(o({variant:a}),e)},n),render:s,state:{slot:"badge",variant:a}})}])},70065,e=>{"use strict";var t=e.i(40798),r=e.i(27152);e.s(["Card",0,function({className:e,size:a="default",...i}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,r.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",e),...i})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-(--card-spacing)",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.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)",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("h3",{"data-slot":"card-title",className:(0,r.cn)("title-enter font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...a})}])},47627,e=>{"use strict";var t=e.i(40798),r=e.i(27152);e.s(["Table",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,r.cn)("w-full caption-bottom text-sm",e),...a})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,r.cn)("[&_tr:last-child]:border-0",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,r.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...a})},"TableHead",0,function({className:e,...a}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...a})},"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,r.cn)("[&_tr]:border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...a})}])},20587,e=>{"use strict";var t=e.i(96341);let r={alert:!0},a="notification-prefs",i=new Set,o=null;function s(){if(o)return o;let e={...r};try{let t=JSON.parse(localStorage.getItem(a)??"{}");for(let r of Object.keys(e))"boolean"==typeof t[r]&&(e[r]=t[r])}catch{}return o=e}function n(e){e.key===a&&(o=null,i.forEach(e=>e()))}function d(e){return i.add(e),window.addEventListener("storage",n),()=>{i.delete(e),window.removeEventListener("storage",n)}}e.s(["setNotificationPrefs",0,function(e){o={...s(),...e};try{localStorage.setItem(a,JSON.stringify(o))}catch{}i.forEach(e=>e())},"useNotificationPrefs",0,function(){return(0,t.useSyncExternalStore)(d,s,()=>r)}])},42230,e=>{"use strict";var t=e.i(96341);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),a={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"},i=(0,t.createContext)({}),o=(0,t.forwardRef)(({color:e,size:o,width:s,height:n,strokeWidth:d,absoluteStrokeWidth:l,nonScalingStroke:c,className:u="",children:h,iconNode:f=[],icon:g={node:f,aliases:[],size:24},...b},m)=>{let{size:p=24,strokeWidth:v=2,absoluteStrokeWidth:x=!1,nonScalingStroke:w=!1,color:k="currentColor",className:N=""}=(0,t.useContext)(i)??{},y=!!h||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(b),[j,S,z=[]]=function(e,t={}){return function(e,t={}){let i=t.attributeNames??{},o=e=>i[e]??e,s=e.size??e.width??a.width,n=e.size??e.height??a.height,d=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],l=[...e.name?[`lucide-${e.name}`]:[],...d],c=t.className?.split(" ").filter(Boolean)??[],u=!1===t.includeDefaultClasses?r(...c):r("lucide",...l,...c),h=t.absoluteStrokeWidth?Number(t.strokeWidth??a["stroke-width"])*Number(e.size??e.width??a.width)/Number(t.size??t.width??a.width):t.strokeWidth??a["stroke-width"];return["svg",{...Object.entries(a).reduce((e,[t,r])=>(e[o(t)]=r,e),{}),..."color"in t&&t.color&&{[o("stroke")]:t.color},..."size"in t&&null!=t.size&&{[o("width")]:t.size,[o("height")]:t.size},..."width"in t&&null!=t.width&&{[o("width")]:t.width},..."height"in t&&null!=t.height&&{[o("height")]:t.height},[o("stroke-width")]:h,...u&&{[o("class")]:u},[o("viewBox")]:`0 0 ${s} ${n}`,...!1===t.hasA11yProp?{[o("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,a,i]=e,s=t.nonScalingStroke?{[o("vector-effect")]:"non-scaling-stroke",...a}:a;return i?[r,s,i]:[r,s]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(g,{color:e??k,width:s??o??p,height:n??o??p,strokeWidth:d??v,absoluteStrokeWidth:l??x,nonScalingStroke:c??w,className:r(N,u),hasA11yProp:y,attributes:b});return(0,t.createElement)(j,{ref:m,...S},[...z.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(h)?h:[h]])});e.s(["default",0,o],42230)}]);