"use strict";const e=require("react"),a=require("./useRoutes-df841412.js");const l=n=>{const{title:o,description:i,message:s,buttonAction:c,buttonText:r,icon:t}=n;return e.createElement("div",{className:"errorPage"},e.createElement("div",{className:"wrapper"},typeof t=="string"&&e.createElement("img",{src:t,className:"icon",loading:"lazy"}),typeof t!="string"&&t,e.createElement("div",{className:"message"},e.createElement("div",{className:"primary"},o),e.createElement("div",{className:"description"},i),!!s&&e.createElement("div",{className:"secondary"},s)),c&&e.createElement(a.Button,{className:"button",onClick:c,buttonStyle:a.ButtonStyle.PRIMARY,buttonType:a.ButtonType.FLAT},r==null?void 0:r.toUpperCase())))};exports.ErrorLayout=l;
