PageSourceSearch

https://www.chase.com/_next/static/shared-containers-_mds-alert-banner.0c8c2912.chunk.js

js chase.com collected 2026-10-09 21:35:26 UTC 4,421 bytes, 1 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__=globalThis.__LOADABLE_LOADED_CHUNKS__||[]).push([[7003],{4698:(e,n,r)=>{r.d(n,{A:()=>y});var a=r(17357),i=r(35583),t=r(50973),l=r(47115),s=r(26214),o=r(34213),c=r(49297),d=r(80371),u=r(49483),p=r(45634),g=r(39995),k=r(74848);const y=(0,i.forwardRef)(function({accessibilityText:e,children:n,disabled:r=!1,esUrl:y,inverse:h,linkOpensIn:m,linkPresentationType:x,linkTrackingId:T,linkTrackingType:C,overlayType:v,onClick:f,passSourceCodeParam:b=!1,showSpeedBump:j,text:A,url:S,adsClickEventCallback:_,...B},w){const I=(0,i.useContext)(c.Y),O=(0,d.bv)(I,h),E=(0,o.ZY)(),P="es"===E?.language&&y?y:S,[L,N]=(0,i.useState)(void 0),[D,F]=(0,i.useState)(void 0);(0,u.useEffectOnce)(()=>{b&&(N((0,l.Sg)(S)),y&&F((0,l.Sg)(y)))});const U=L||S,z=D||y,{setShowCustomOverlayState:G}=(0,s.O)();return"link-with-caret"===x?(0,k.jsx)(g.Spacing,{className:"h-100",padding:"0.375rem 0rem",children:(0,k.jsx)(p.A,{accessibilityText:e,caret:!0,inverse:h,linkOpensIn:m,linkTrackingId:T,linkTrackingType:C,showSpeedBump:j,url:S,esUrl:y,overlayType:v,onClick:f,text:A,passSourceCodeParam:b,adsClickEventCallback:_,ref:w,children:n})}):(0,k.jsx)(a.PublicButtonLink,{accessibilityText:e,adsClickEventCallback:_,disabled:r,esUrl:z,inverse:O,linkOpensIn:m,linkPresentationType:x,linkTrackingId:T,linkTrackingType:C,onClick:e=>{v&&(e.preventDefault(),G({showModal:!0,overlayType:v===t.P8.Large?t.P8.Large:t.P8.Small,url:P||"",content:void 0})),f&&f(e)},ref:w,url:U,...B,className:B.className?`${B.className}${v?` ${v}`:""}`:v,...n?{children:n}:{text:A}})})},55393:(e,n,r)=>{r.r(n),r.d(n,{default:()=>_});var a=r(88978),i=r(90282),t=r(28300),l=r(61424),s=r(62322),o=r(95289),c=r(4698),d=r(16935),u=r(42374),p=r(35583),g=r(49483),k=r(37890),y=r(39995),h=r(91097),m=r(85128),x=r(34213),T=r(74848);const C=e=>{switch(e?.alertType){case"soft":return(0,T.jsx)(d.GBC,{color:"warning",size:"large","aria-hidden":!0});case"informational":return(0,T.jsx)(d.qP4,{color:"info",size:"large","aria-hidden":!0});default:return(0,T.jsx)(d.OvC,{color:"error",size:"large","aria-hidden":!0})}},v=e=>{switch(e){case"error":return"#FFEAED";case"soft":return"#FEF6EC";case"informational":return"#EAF6FF";default:return}},f=(0,u.default)(m.Layout).withConfig({displayName:"AlertBanner__AlertContainer",componentId:"sc-1csd8dv-0"})(["padding:1.5rem 0;align-items:flex-start;gap:1rem;justify-content:space-between;"]),b=(0,u.default)(m.Layout).withConfig({displayName:"AlertBanner__AlertBodyContainer",componentId:"sc-1csd8dv-1"})(["align-items:flex-start;gap:1rem;"]),j=(0,u.default)(t.Grid).withConfig({displayName:"AlertBanner__AlertCtaContainer",componentId:"sc-1csd8dv-2"})(["margin-top:1rem;"]),A=(0,u.default)(o.Button).withConfig({displayName:"AlertBanner__StyledMdsCloseButton",componentId:"sc-1csd8dv-3"})(["border:none;background-color:transparent;cursor:pointer;padding:0;"]),S=({message:e,title:n,alertType:r,showClose:a,closeAccessibilityText:o,links:d,hideAlertTypeIcon:u,alertCountryCodes:m})=>{const[S,_]=(0,p.useState)(!1),B=d&&d.length>0?d[0]:void 0,[w,I]=(0,p.useState)(""),O=(0,x.ZY)();return(0,g.useEffectOnce)(()=>{I(navigator.language)}),S||m&&!(0,k.O0)(m,w)?null:(0,T.jsx)("div",{role:"region","aria-label":O?.i18n?.alertBannerAccessibilityLabel,children:(0,T.jsx)(i.A,{"data-feature":"alert-banner",disableVerticalPadding:!0,backgroundColor:"primary",customBackgroundColor:v(r||""),children:(0,T.jsxs)(f,{children:[(0,T.jsxs)(b,{children:[void 0!==r&&!u&&(0,T.jsx)("div",{children:(0,T.jsx)(C,{alertType:r})}),(0,T.jsxs)("div",{children:[n&&(0,T.jsx)(y.Spacing,{padding:{bottom:"0.5rem"},children:(0,T.jsx)(s.Text,{textStyle:"bodyLargeHeavier",color:"regular",children:(0,T.jsx)(l.g,{html:n})})}),e&&(0,T.jsx)(t.Grid,{children:(0,T.jsx)(l.g,{html:e})}),B&&(0,T.jsx)(j,{children:(0,T.jsx)(c.A,{url:B?.url,esUrl:B?.esUrl,linkPresentationType:B?.linkPresentationType,linkTrackingId:B?.linkTrackingId,linkTrackingType:B?.linkTrackingType,accessibilityText:B?.accessibilityText,inverse:B?.inverse,text:B?.text||"",showSpeedBump:B?.showSpeedBump,linkOpensIn:B?.linkOpensIn,passSourceCodeParam
1:B?.passSourceCodeParam,overlayType:B?.overlayType})})]})]}),a&&(0,T.jsx)(A,{variant:"tertiary","aria-label":o||"",onClick:()=>{_(!0)},children:(0,T.jsx)(h.A,{icon:"close",size:"large"})})]})})})};function _({key:e,...n}){return(0,T.jsx)(a.t,{name:"MdsAlertBannerContainer",children:(0,T.jsx)(S,{...n})},e)}}}]);

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.