1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3329],{72198:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/permission-denied",function(){return i(42147)}])},19923:function(e,n,i){"use strict";i.d(n,{Z:function(){return j}});var r=i(26042),s=i(69396),t=i(99534),a=i(85893),l=i(45697),o=i.n(l),c=i(94253),d=i(16216),u=i(15861),h=i(12963),x=i(23795),m=i(41664),f=i.n(m);function p(e){var n=e.link,i=e.activeLast,s=e.disabled,t=n.name,l=n.href,o=n.icon,d=(0,r.Z)({display:"inline-flex",alignItems:"center",color:"text.primary"},s&&!i&&{cursor:"default",pointerEvents:"none",color:"text.disabled"}),u=(0,a.jsxs)(a.Fragment,{children:[o&&(0,a.jsx)(c.Z,{component:"span",sx:{mr:1,display:"inherit","& svg":{width:20,height:20}},children:o}),t]});return l?(0,a.jsx)(f(),{href:l,passHref:!0,children:(0,a.jsx)(x.Z,{sx:d,children:u})}):(0,a.jsxs)(c.Z,{sx:d,children:[" ",u," "]})}p.propTypes={activeLast:o().bool,disabled:o().bool,link:o().shape({href:o().string,icon:o().node,name:o().string})};i(11163);function j(e){var n=e.links,i=e.action,l=e.heading,o=e.moreLink,m=e.activeLast,f=e.sx,j=(0,t.Z)(e,["links","action","heading","moreLink","activeLast","sx"]),v=n[n.length-1].name;return(0,a.jsxs)(c.Z,{sx:(0,r.Z)({mb:5},f),children:[(0,a.jsxs)(d.Z,{direction:"row",alignItems:"center",children:[(0,a.jsxs)(c.Z,{sx:{flexGrow:1},children:[l&&(0,a.jsx)(u.Z,{variant:"h4",gutterBottom:!0,children:l}),!!n.length&&(0,a.jsx)(h.Z,(0,s.Z)((0,r.Z)({separator:(0,a.jsx)(Z,{})},j),{children:n.map((function(e){return(0,a.jsx)(p,{link:e,activeLast:m,disabled:e.name===v},e.name||"")}))}))]}),i&&(0,a.jsxs)(c.Z,{sx:{flexShrink:0},children:[" ",i," "]})]}),!!o&&(0,a.jsx)(c.Z,{sx:{mt:2},children:o.map((function(e){return(0,a.jsx)(x.Z,{noWrap:!0,href:e,variant:"body2",target:"_blank",rel:"noopener",sx:{display:"table"},children:e},e)}))})]})}function Z(){return(0,a.jsx)(u.Z,{variant:"body2",children:"/"})}j.propTypes={sx:o().object,action:o().node,links:o().array,heading:o().string,moreLink:o().array,activeLast:o().bool}},76197:function(e,n,i){"use strict";i.d(n,{Z:function(){return r.Z}});var r=i(19923)},42147:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return b}});var r=i(29815),s=i(85893),t=i(67294),a=i(9008),l=i.n(a),o=i(21214),c=i(89911),d=i(47120),u=i(94253),h=i(66242),x=i(78445),m=i(15861),f=i(22328),p=i(76939),j=i(752),Z=i(76197),v=i(51091),g=i(33726);function b(){var e=(0,j.K$)().themeStretch,n=(0,t.useState)("admin"),i=n[0],a=n[1];return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l(),{children:(0,s.jsxs)("title",{children:[" Permission Denied | ",g.c5.name]})}),(0,s.jsxs)(o.Z,{maxWidth:!e&&"lg",children:[(0,s.jsx)(Z.Z,{heading:"Permission Denied",links:[{name:"Dashboard",href:p.vB.root},{name:"Permission Denied"}]}
1),(0,s.jsxs)(c.Z,{exclusive:!0,value:i,onChange:function(e,n){null!==n&&a(n)},color:"primary",sx:{mb:5},children:[(0,s.jsx)(d.Z,{value:"admin","aria-label":"admin role",children:"isAdmin"}),(0,s.jsx)(d.Z,{value:"user","aria-label":"user role",children:"isUser"})]}),(0,s.jsx)(v.Z,{hasContent:!0,roles:[i],children:(0,s.jsx)(u.Z,{gap:3,display:"grid",gridTemplateColumns:"repeat(2, 1fr)",children:(0,r.Z)(Array(8)).map((function(e,n){return(0,s.jsxs)(h.Z,{children:[(0,s.jsx)(x.Z,{title:"Card ".concat(n+1),subheader:"Proin viverra ligula"}),(0,s.jsx)(m.Z,{sx:{p:3,color:"text.secondary"},children:"Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Vestibulum fringilla pede sit amet augue."})]},n)}))})})]})]})}b.getLayout=function(e){return(0,s.jsx)(f.Z,{children:e})}}},function(e){e.O(0,[1228,1778,5367,2440,504,6911,6556,8888,1664,521,1994,286,684,1988,5716,2410,6886,4994,5058,3874,3937,77,1834,8444,5489,8649,2783,6687,5756,9898,3983,1164,9774,2888,179],(function(){return n=72198,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.