PageSourceSearch

https://www.discover.com/assets/shell/dfs-card/scripts/5834.ffa85202f81c6556.js

js discover.com collected 2026-10-01 08:37:38 UTC 3,429 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkDfsCard=self.webpackChunkDfsCard||[]).push([[5834],{5834:(M,d,n)=>{n.r(d),n.d(d,{FootnotesComponent:()=>D});var t=n(3370),l=n(6316),_=n(3897),f=n(9403),m=n(7193),p=n(7777),u=n(476);const v=(e,i)=>i.id;function E(e,i){if(1&e&&(t.\u0275\u0275elementStart(0,"div",1),t.\u0275\u0275element(1,"div",3),t.\u0275\u0275elementEnd()),2&e){const r=t.\u0275\u0275nextContext();t.\u0275\u0275advance(),t.\u0275\u0275property("innerHTML",r.content.disclosures,t.\u0275\u0275sanitizeHtml)}}function h(e,i){if(1&e&&(t.\u0275\u0275elementStart(0,"li",4)(1,"span",5),t.\u0275\u0275text(2),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(3,"div",6),t.\u0275\u0275elementEnd()),2&e){const r=i.$implicit,o=i.$index;t.\u0275\u0275property("id",t.\u0275\u0275interpolate1("footnote",o+1)),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1("Footnote ",o+1,": "),t.\u0275\u0275advance(),t.\u0275\u0275property("innerHTML",r.content,t.\u0275\u0275sanitizeHtml)}}function C(e,i){if(1&e&&(t.\u0275\u0275elementStart(0,"ol",2),t.\u0275\u0275repeaterCreate(1,h,4,4,"li",4,v),t.\u0275\u0275elementEnd()),2&e){const r=t.\u0275\u0275nextContext();t.\u0275\u0275advance(),t.\u0275\u0275repeater(r.footnotes())}}let D=(()=>{var e;class i{constructor(){this.contentType=_.p.DFS_Footnotes,this.isExpanded=!1,this.footnoteService=(0,t.inject)(f.yK),this.destroyRef=(0,t.inject)(t.DestroyRef),this.footnotes=(0,t.signal)([])}ngOnInit(){var o;const s=this.paramsInfo.layout===p.G.DYNAMIC;this.footnoteService.dynamicFootnotesEnabled.set(s),this.footnoteService.footnotes$.next(null!==(o=this.content.footnotes)&&void 0!==o?o:[]),(s?this.footnoteService.dynamicNumericFootnotes$:this.footnoteService.footnotes$).pipe((0,l.takeUntilDestroyed)(this.destroyRef)).subscribe(a=>this.footnotes.set(a)),this.destroyRef.onDestroy(()=>this.footnoteService.reset())}toggleExpansion(){this.isExpanded=!this.isExpanded}handleDocumentClick(o){var s;const c=o.target;let a=null;a=c instanceof HTMLAnchorElement?c:c.closest('a[href^="#footnote"]'),a&&null!==(s=a.href)&&void 0!==s&&s.includes("#footnote")&&!this.isExpanded&&this.toggleExpansion()}}return(e=i).\u0275fac=function(o){return new(o||e)},e.\u0275cmp=t.\u0275\u0275defineComponent({type:e,selectors:[["shared-footnotes"]],hostBindings:function(o,s){1&o&&t.\u0275\u0275listener("click",function(a){return s.handleDocumentClick(a)},t.\u0275\u0275resolveDocument)},inputs:{content:"content",paramsInfo:"paramsInfo"},decls:3,vars:2,consts:[[1,"dfs-tw-container","dfs-tw-py-16"],[1,"dfs-tw-relative","dfs-tw-mb-[40px]","dfs-tw-h-full"],[1,"dfs-tw-list-none","dfs-tw-pl-none","dfs-tw-ml-none","[counter-reset:footnote-counter]"],["data-testid","disclosures",3,"innerHTML"],["tabindex","-1",1,"dfs-tw-mb-[10px]","dfs-tw-relative","dfs-tw-pl-[20px]","before:dfs-tw-absolute","before:dfs-tw-left-none","[counter-increment:footnote-counter]","before:[content:counter(footnote-counter)]",3,"id"],[1,"dfs-tw-sr-only"],[3,"innerHTML"]],template:function(o,s){1&o&&(t.\u0275\u0275elementStart(0,"section",0),t.\u0275\u0275conditionalCreate(1,E,2,1,"div",1),t.\u0275\u0275conditionalCreate(2,C,3,0,"ol",2),t.\u0275\u0275elementEnd()),2&o&&(t.\u0275\u0275advance(),t.\u0275\u0275conditional(s.content.disclosures?1:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(s.footnotes().length?2:-1))},dependencies:[m.xN,u.F],encapsulation:2}),i})()}}]);
2//# sourceMappingURL=5834.ffa85202f81c6556.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.