PageSourceSearch

https://www.discover.com/assets/shell/dfs-card/scripts/8829.c70d8ff88c000d98.js

js discover.com collected 2026-09-24 08:28:23 UTC 3,167 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkDfsCard=self.webpackChunkDfsCard||[]).push([[8829],{8829:(D,s,o)=>{o.r(s),o.d(s,{SimpleTextBannerComponent:()=>x});var n=o(3370),a=o(6316),d=o(3897),_=o(9403),c=o(7193),m=o(3546),p=o(476),f=o(5206);function v(t,r){if(1&t&&n.\u0275\u0275element(0,"img",1),2&t){const i=n.\u0275\u0275nextContext();n.\u0275\u0275property("src",i.content.image,n.\u0275\u0275sanitizeUrl)}}function C(t,r){if(1&t&&n.\u0275\u0275element(0,"div",6),2&t){const i=n.\u0275\u0275nextContext(2);n.\u0275\u0275property("innerHTML",i.content.linkFootnote,n.\u0275\u0275sanitizeHtml)}}function T(t,r){if(1&t&&(n.\u0275\u0275elementStart(0,"div",4),n.\u0275\u0275element(1,"a",5),n.\u0275\u0275conditionalCreate(2,C,1,1,"div",6),n.\u0275\u0275elementEnd()),2&t){var i;const e=n.\u0275\u0275nextContext();n.\u0275\u0275advance(),n.\u0275\u0275classProp("dfs-tw-underline","dfs-tw-bg-dfs-midnight"===e.paramsInfo.colorOptions.bgColor),n.\u0275\u0275property("href",null!==(i=e.resolvedLinkUrl)&&void 0!==i?i:e.content.linkUrl,n.\u0275\u0275sanitizeUrl)("innerHTML",e.content.linkText,n.\u0275\u0275sanitizeHtml),n.\u0275\u0275attribute("aria-label",e.content.linkText),n.\u0275\u0275advance(),n.\u0275\u0275conditional(e.content.linkFootnote?2:-1)}}let x=(()=>{var t;class r{constructor(){this.contentType=d.p.DFS_SimpleTextBanner,this.hrefResolver=(0,n.inject)(_.vt),this.destroyRef=(0,n.inject)(n.DestroyRef)}ngOnInit(){var e,l;const E=null!==(e=this.content.linkText)&&void 0!==e?e:"",h=null!==(l=this.content.linkUrl)&&void 0!==l?l:"";this.hrefResolver.resolveHref({href:h,label:E}).pipe((0,a.takeUntilDestroyed)(this.destroyRef)).subscribe(M=>{this.resolvedLinkUrl=M})}}return(t=r).\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.\u0275\u0275defineComponent({type:t,selectors:[["shared-simple-text-banner"]],inputs:{content:"content",paramsInfo:"paramsInfo"},decls:6,vars:7,consts:[[1,"dfs-tw-container","dfs-tw-flex","dfs-tw-justify-center"],["alt","","role","presentation","sharedLazyLoad","",1,"dfs-tw-size-40","lg:dfs-tw-size-[60px]","dfs-tw-mr-[15px]","lg:dfs-tw-mr-24","dfs-tw-self-center",3,"src"],[1,"dfs-tw-text-small2","lg:dfs-tw-text-[19px]","dfs-tw-leading-[1.71]","lg:dfs-tw-leading-[1.26]","lg:dfs-tw-flex","lg:dfs-tw-items-center"],[3,"innerHTML"],[1,"lg:dfs-tw-ml-24"],[3,"href","innerHTML"],[1,"dfs-tw-inline",3,"innerHTML"]],template:function(e,l){1&e&&(n.\u0275\u0275elementStart(0,"section")(1,"div",0),n.\u0275\u0275conditionalCreate(2,v,1,1,"img",1),n.\u0275\u0275elementStart(3,"div",2),n.\u0275\u0275element(4,"div",3),n.\u0275\u0275conditionalCreate(5,T,3,6,"div",4),n.\u0275\u0275elementEnd()()()),2&e&&(n.\u0275\u0275classMap(n.\u0275\u0275interpolate2("dfs-tw-py-[15px] ",l.paramsInfo.colorOptions.bgColor," ",l.paramsInfo.colorOptions.textColor)),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(l.content.image?2:-1),n.\u0275\u0275advance(2),n.\u0275\u0275property("innerHTML",l.content.text,n.\u0275\u0275sanitizeHtml),n.\u0275\u0275advance(),n.\u0275\u0275conditional(l.content.linkUrl&&l.content.linkText?5:-1))},dependencies:[c.xN,m.S,p.F,f.v],encapsulation:2}),r})()}}]);
2//# sourceMappingURL=8829.c70d8ff88c000d98.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.