"use strict";(self.webpackChunk_burst_statistics_burst_statistics=self.webpackChunk_burst_statistics_burst_statistics||[]).push([[540],{4540:(s,e,t)=>{t.r(e),t.d(e,{errorComponent:()=>d});var r=t(91637),i=t(27723),a=t(50552),c=t(53411),n=t(81297);const l=function(s){var e=s.header,t=void 0===e?(0,i.__)("Access Restricted","burst-statistics"):e,l=s.message,d=void 0===l?(0,i.__)("You don’t have permission to view this page.","burst-statistics"):l,o=s.actionLabel,m=void 0===o?(0,i.__)("Go Back","burst-statistics"):o,u=(0,n.r)();return(0,r.jsx)("div",{className:"burst-upsell-overlay absolute inset-0 z-50",children:(0,r.jsx)("div",{className:"relative flex justify-center pt-8 m-8 mt-24",children:(0,r.jsx)("div",{className:"mx-4 min-w-fit rounded-md border border-gray-300 bg-gray-100 px-8 py-12 shadow-sm",children:(0,r.jsxs)("div",{className:"max-w-lg text-center px-4",children:[(0,r.jsx)("div",{className:"flex justify-center mb-6",children:(0,r.jsx)("div",{className:"flex items-center justify-center h-14 w-14 rounded-full bg-red-100",children:(0,r.jsx)(c.A,{name:"warning",color:"red",size:30,strokeWidth:1.5})})}),(0,r.jsx)("h2",{className:"text-2xl font-semibold text-gray-900 mb-3",children:t}),(0,r.jsx)("p",{className:"text-gray-600 text-base mb-8 whitespace-pre-line",children:d}),(0,r.jsx)("div",{className:"flex flex-col sm:flex-row justify-center items-center gap-4",children:(0,r.jsx)(a.A,{btnVariant:"primary",size:"lg",onClick:function(){u.history.go(-1)},children:m})})]})})})})};t(1344);var d=function(s){var e=s.error;return"UNAUTHORIZED"===e.type?(0,r.jsx)(l,{header:(0,i.__)("Unauthorized Access","burst-statistics"),message:e.message,actionLabel:(0,i.__)("Go Back","burst-statistics")}):(0,r.jsx)("div",{className:"text-red-500 p-4",children:e.message||(0,i.__)("An error occurred loading statistics","burst-statistics")})}}}]);