import{aI as s,bN as c,L as t,c as p,ao as a,aU as r,f as d,e as l}from"./app-k0jcl5PQ.js";const n="share.shareLinkError";function h(){const[e,i]=s.useState();return c({title:(e==null?void 0:e.heading)||t.getPhrase(n,"defaultPageTitle")}),s.useEffect(()=>{const o=p.Radio.channel("error:view").request("current:error");i(o)},[]),e?a.jsxs(r,{children:[a.jsx(r.Image,{src:e.imageUrl}),a.jsx(r.Heading,{children:e.heading}),!!e.description&&a.jsx(r.Info,{children:e.description}),a.jsx(r.Cta,{text:t.getPhrase(n,"discover"),className:`info-link ${e.description?"mt-n2":""}`,appLink:{application:l.DASHBOARD,action:d.Dashboard.HOME,args:[null]}})]}):a.jsx(a.Fragment,{})}export{h as ShareLinkErrorView};
//# sourceMappingURL=l7r5KdW1.chunk.js.map
