PageSourceSearch

https://gamdom.com/build/ToastMessageV4.ZxVi7qKR.js

js gamdom.com collected 2026-10-01 12:24:32 UTC 3,009 bytes, 2 lines download raw bytes

1import{j as t,u as p,S as d}from"./ThemeProviderV4.BJzwFqdE.js";import{v as a,o as g}from"./vendor.DIHqQuRl.js";import{L as i}from"./Messages.BTTtlMBa.js";import{I as m}from"./CloseButtonV4.hcO_zxkh.js";import{g as h,a as f,b as u,s as y}from"./ToastMessageV4.constant.C9IwdWr7.js";import{S as n}from"./StackV4.fVixnu5O.js";import{T as c}from"./TypographyV4.CtNC0Nr7.js";import"./siteContentLanguages.CB1TAUaL.js";import"./errors.DgYkpLMh.js";import"./react-toastify.esm.BcUAK96u.js";import"./remove-circle.icon.AifzH9AT.js";import"./IconButtonV4.D0s_OlVn.js";import"./Button.81SqSNQ8.js";import"./circle-error.icon.b0_M691B.js";import"./info-circle.icon.rfwwDd2-.js";const T=a.div.withConfig({displayName:"ToastMessageV4styled__StatusIconWrapper",componentId:"sc-hz489l-0"})(["display:flex;padding:",";background-color:",";color:",";border-radius:",";"],({theme:o,$noArea:s})=>s?o.V4.spacing[0]:o.V4.spacing[6],({theme:o,type:s,$noArea:e})=>h(s,o.V4.color,e),({theme:o,type:s})=>f(s,o.V4.color),({theme:o})=>o.V4.borderRadius[6]),V=a(n).withConfig({displayName:"ToastMessageV4styled__ToastStack",componentId:"sc-hz489l-1"})(["border-radius:",";background-color:",";padding:",";width:100%;"],({theme:o})=>o.V4.borderRadius[12],({theme:o})=>o.V4.color.notificationBgPrimary,({theme:o})=>o.V4.spacing[8]),b=a(n).withConfig({displayName:"ToastMessageV4styled__ToastTextStack",componentId:"sc-hz489l-2"})(["margin-right:auto;overflow:hidden;"]),I=a.div.withConfig({displayName:"ToastMessageV4styled__ToastCloseButtonWrapper",componentId:"sc-hz489l-3"})(["display:flex;align-items:center;justify-content:center;margin-right:",";"],({theme:o})=>o.V4.spacing[8]),w=a(c).withConfig({displayName:"ToastMessageV4styled__EllipsisTypographyV4",componentId:"sc-hz489l-4"})(["",";word-break:break-word;"],({theme:o})=>o.V4.typography.ellipsisText),x=a(c).withConfig({displayName:"ToastMessageV4styled__ClippedTypographyV4",componentId:"sc-hz489l-5"})(["overflow:hidden;-webkit-line-clamp:4;word-break:break-word;"]),C=g(({msg:o,type:s,dataTestId:e,customToastTitle:r})=>{const l=p().getIsFeatureEnabled(d.PERABET_CONTENT);return t.jsxs(V,{justifyContent:"space-between",alignItems:"center",gap:"10",dataTestId:"".concat(e,"-container"),children:[t.jsx(T,{type:s,"data-testid":"".concat(e,"-icon"),$noArea:!l,children:u(s)}),t.jsxs(b,{direction:"column",justifyContent:"space-between",dataTestId:"".concat(e,"-text"),children:[t.jsx(w,{variant:"bold12",color:"notificationPrimary",uppercase:!0,dataTestId:"".concat(e,"-status-title"),children:t.jsx(i,{message:r||y[s]})}),t.jsx(x,{variant:"bold14",color:"notificationSecondary",dataTestId:"".concat(e,"-message"),children:t.jsx(i,{message:o})})]})]})}),j=({closeToast:o,dataTestId:s})=>t.jsx(I,{children:t.jsx(m,{onClick:o,width:25,height:25,dataTestId:"".concat(s,"-close-btn"),className:"toast-close-button"})}),O={ToastMessageV4:C,ToastCloseButtonV4:j};export{j as ToastCloseButtonV4,C as ToastMessageV4,O as default};
2//# sourceMappingURL=ToastMessageV4.ZxVi7qKR.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.