PageSourceSearch

https://cloud.hellopebl.com/assets/ErrorModal-B14FUXnP.js

js hellopebl.com collected 2026-09-29 06:12:09 UTC 1,472 bytes, 2 lines download raw bytes

1import{i as r}from"./_virtual___federation_fn_import-B42vpj-0.js";import{j as e}from"./jsx-runtime-CL4fN_ac.js";import{G as o}from"./GlobalModalProvider-DeoO_r9a.js";import{u as t}from"./EnvironmentProvider.web-RjITgOdL.js";import{W as s}from"./WarningIcon-BuOEwfYN.js";import{D as i,H as a,a as n,P as d,I as l}from"./ErrorModal.styles-aJAbg8mV.js";import{l as c,V as m}from"./luna-ui-D_FPDmj2.js";const{useContext:j,useState:x}=await r("react"),{useTheme:p}=await r("styled-components");function u({handleAcceptError:r=()=>{},message:u,subTitle:h,errorButtonText:f="OK",title:b="Error",networkError:T,dataTestId:E="error-modal"}){const{hideModal:y}=j(o),{REACT_APP_ENV:C}=t(),{colors:_}=p(),[v,I]=x(!0),w="prod"!==C&&T&&"bodyText"in T&&"<"===T.bodyText[0];function P(){y(),r()}const g=e.jsxs(i,{"data-testid":"DivErrorInner",children:[e.jsx(a,{children:e.jsx(n,{children:e.jsx(s,{lineColor:_.white.primary})})}),!w&&e.jsx(d,{children:u}),w&&e.jsx(l,{srcDoc:T.bodyText,title:"Error Details"})]});return e.jsxs(c,{open:v,onOpenChange:r=>{I(r)},size:"wide",dataTestId:"error-modal",dismissible:!1,children:[e.jsx(c.Header,{title:b,description:h||u||"",onClose:P}),e.jsx(c.Body,{children:g}),e.jsxs(c.Footer,{children:[e.jsx(m,{variant:"ghost",size:"md",onClick:P,dataTestId:"cancel-button",children:"Cancel"}),e.jsx(m,{variant:"primary",size:"md",onClick:P,dataTestId:"submit-button",children:f})]})]})}export{u as default};
2//# sourceMappingURL=ErrorModal-B14FUXnP.js.map

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.