PageSourceSearch

https://assets.openlearning.com/chunks/chunks_live/entry/web_compo…rtMessage_component_tsx.57e4194f18c7859b.js

js openlearning.com collected 2026-09-24 08:29:12 UTC 2,717 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunk"]=self["webpackChunk"]||[]).push([["web_components_AlertMessage_component_tsx"],{27810:(e,t,r)=>{r.d(t,{U:()=>L});var o=r(63696);var n=r(63197);var a=r(22009);var i=r(61836);var s=r(42981);function l(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const u=(0,a["default"])("div",true?{target:"e2vqu5b5"}:0)((({theme:e,inContent:t})=>({display:"flex",flexDirection:"row",alignItems:"flex-start",padding:t?20:19,borderWidth:t?0:1,borderStyle:"solid",borderColor:e.borderColor,background:e.background,borderRadius:8})),true?"":0);const c=(0,a["default"])("div",true?{target:"e2vqu5b4"}:0)(true?{name:"xgoxeh",styles:"width:18px;margin-right:10px;margin-top:2px;font-size:20px"}:0);const d=(0,a["default"])("div",true?{target:"e2vqu5b3"}:0)(true?{name:"1i9vogi",styles:"margin-top:0"}:0);const g=(0,a["default"])(i.FontAwesomeIcon,true?{target:"e2vqu5b2"}:0)((({theme:e})=>({fontSize:18,color:e.iconColor})),true?"":0);const b=(0,a["default"])("div",true?{target:"e2vqu5b1"}:0)({fontSize:14,fontWeight:600,lineHeight:1.5,color:s.OL_COLOUR_BLACK_90},true?"":0);const f=(0,a["default"])("div",true?{target:"e2vqu5b0"}:0)((({hasHeader:e})=>({fontSize:14,lineHeight:1.5,color:s.OL_COLOUR_BLACK_90,marginTop:e?5:0,p:{marginTop:0,marginBottom:5,fontSize:"inherit",lineHeight:"inherit","&:last-of-type":{marginBottom:0}},a:{textDecoration:"underline"}})),true?"":0);var h=r(20756);var p=r(20857);var v=r(77330);var O=r(33769);const m={info:{background:"#F0F7FA",iconColor:"#094967",borderColor:"#2A9FED"},success:{background:"rgba(0, 135, 77, 0.1)",iconColor:s.OL_COLOUR_MELON,borderColor:s.OL_COLOUR_MELON},warning:{background:"rgba(255, 153, 0, 0.1)",iconColor:"#FF9900",borderColor:"#FF9900"},error:{background:"rgba(220, 42, 42, 0.1)",iconColor:s.OL_COLOUR_TOMAHTO,borderColor:s.OL_COLOUR_TOMAHTO}};const C={info:v.iW,success:h.faCheckCircle,warning:O.zp,error:p.tU};var x=r(91785);function _(){_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r){if(Object.prototype.hasOwnProperty.call(r,o)){e[o]=r[o]}}}return e};return _.apply(this,arguments)}const L=o.memo((({kind:e,title:t,message:r,withDefaultContentStyle:a=true,inContent:i=false,className:s})=>{let l=({children:e})=>(0,x.jsx)(o.Fragment,null,e);if(a){l=e=>(0,x.jsx)(f,_({hasHeader:!!t},e))}return(0,x.jsx)(n.b,{theme:m[e]},(0,x.jsx)(u,{inContent:i,className:s},(0,x.jsx)(c,null,(0,x.jsx)(g,{icon:C[e]})),(0,x.jsx)(d,null,t&&(0,x.jsx)(b,null,t),r&&(0,x.jsx)(l,null,r))))}))}}]);

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.