PageSourceSearch

https://www.jared.com/scripts/error-alert.module-Y4252YNR.js

js jared.com collected 2026-10-04 00:27:21 UTC 2,489 bytes, 1 lines download raw bytes

1import{a as T}from"./chunk-HTAQM2JG.js";import{fa as k,vd as P,wd as S}from"./chunk-DM3NC7AB.js";import{$b as v,Cc as o,Dc as p,Ec as M,Fa as f,Hd as d,Id as g,Jb as u,Mc as _,Oe as w,Pc as y,Qa as l,Ra as m,Rc as n,Wb as b,_a as i,ac as C,ed as h,fd as A,uc as x,wc as E}from"./chunk-WVBH4ZDA.js";import"./chunk-YDOXD4O3.js";function I(t,e){if(t&1){let r=_();o(0,"div",0),M(1,"div",1),o(2,"div",2),h(3),d(4,"cxTranslate"),d(5,"cxTranslate"),p(),o(6,"div",3),y("click",function(){l(r);let c=n();return m(c.closeAlert())})("keydown.enter",function(){l(r);let c=n();return m(c.closeAlert())}),p()()}if(t&2){let r=n();u(3),A(r.showdynamicErrorMessage()?g(4,1,r.dynamicErrorMsgName()):g(5,3,"storePDP.errorMessage"))}}var s=class t{constructor(e){this.errorAlertService=e;this.isVisible=i(!1);this.showdynamicErrorMessage=i(!1);this.dynamicErrorMsgName=i("storePDP.addToTrayButtonErrorMessage")}ngOnInit(){this.errorAlertService.triggeredErrorAlert$.subscribe(e=>{e&&this.isVisible.set(e)}),this.errorAlertService.customErrorMessage$.subscribe(e=>{e&&this.showdynamicErrorMessage.set(e)}),this.errorAlertService.errorMessageName$.subscribe(e=>{e&&this.dynamicErrorMsgName.set(e)})}closeAlert(){this.isVisible.set(!1),this.errorAlertService.setTriggeredErrorAlert(!1),this.errorAlertService.setCustomErrorMessage(!1)}static{this.\u0275fac=function(r){return new(r||t)(b(T))}}static{this.\u0275cmp=v({type:t,selectors:[["app-error-alert"]],standalone:!1,decls:1,vars:1,consts:[[1,"error-alert"],[1,"error-icon"],[1,"messageTitle"],["tabindex","0",1,"close-icon",3,"click","keydown.enter"]],template:function(r,a){r&1&&x(0,I,7,5,"div",0),r&2&&E(a.isVisible()?0:-1)},dependencies:[P],styles:['.error-icon[_ngcontent-%COMP%]{width:18px;position:relative;height:20px;background-image:url("/scripts/media/alert-icon-5HKPPWVL.svg");background-size:contain;background-repeat:no-repeat;background-position:center;left:2px;top:3px}.close-icon[_ngcontent-%COMP%]{width:16px;position:relative;height:16px;background-image:url("/scripts/media/close-black-FBYDIYIZ.svg");background-size:contain;background-repeat:no-repeat;background-position:center;top:4px;left:4px}.error-alert[_ngcontent-%COMP%]   .messageTitle[_ngcontent-%COMP%]{display:flex;width:288px}']})}};var N=class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275mod=C({type:t})}static{this.\u0275inj=f({providers:[k({cmsComponents:{ErrorBannerComponent:{component:s}}})],imports:[w,S]})}};export{N as ErrorAlertModule};

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.