PageSourceSearch

https://assets.www.handelsblatt.com/frontend/4312.6d0ebdec22190836.js

js handelsblatt.com collected 2026-09-24 08:25:43 UTC 13,710 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhbApp=self.webpackChunkhbApp||[]).push([[4312],{10308(D,O,a){a.d(O,{f:()=>Z});var g=a(47266),u=a(65157),f=a(35547),E=a(92771),N=a(26365),I=a(58750),T=a(983),b=a(9326),x=a(86648),M=a(71985),S=a(25558);const h={schedule(i,t){const e=setTimeout(i,t);return()=>clearTimeout(e)}};let n;function j(i,t,e){let o=e;return function s(i){return!!i&&i.nodeType===Node.ELEMENT_NODE}(i)&&t.some((l,p)=>!("*"===l||!function r(i,t){if(!n){const e=Element.prototype;n=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return i.nodeType===Node.ELEMENT_NODE&&n.call(i,t)}(i,l)||(o=p,0))),o}class V{component;componentMirror;inputMap=new Map;constructor(t){this.component=t,this.componentMirror=(0,u.HJs)(t);for(const e of this.componentMirror.inputs)this.inputMap.set(e.propName,e.templateName)}create(t){return new B(this.component,t,this.inputMap)}}class B{component;injector;inputMap;eventEmitters=new E.m(1);events=this.eventEmitters.pipe((0,S.n)(t=>function _(...i){const t=(0,b.lI)(i),e=(0,b.R0)(i,1/0),o=i;return o.length?1===o.length?(0,I.Tg)(o[0]):(0,N.U)(e)((0,x.H)(o,t)):T.w}(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,e,o){this.component=t,this.injector=e,this.inputMap=o,this.ngZone=this.injector.get(g.SKi),this.appRef=this.injector.get(f.o8S),this.cdScheduler=e.get(g.hk6),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=h.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){null!==this.componentRef?this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,e),(0,f.szM)(this.componentRef.hostView)&&((0,f.cgM)(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(t,e)}initializeComponent(t){const e=g.zZn.create({providers:[],parent:this.injector}),o=function L(i,t){const e=i.childNodes,o=t.map(()=>[]);let l=-1;t.some((p,C)=>"*"===p&&(l=C,!0));for(let p=0,C=e.length;p<C;++p){const c=e[p],m=j(c,t,l);-1!==m&&o[m].push(c)}return o}(t,(0,u.HJs)(this.component).ngContentSelectors);this.componentRef=(0,u.a0P)(this.component,{environmentInjector:this.injector,elementInjector:e,hostElement:t,projectableNodes:o}),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(const[t,e]of this.initialInputValues)this.setInputValue(t,e);this.initialInputValues.clear()}initializeOutputs(t){const e=(0,u.HJs)(this.component).outputs.map(({propName:o,templateName:l})=>{const p=t.instance[o];return new M.c(C=>{const c=p.subscribe(m=>C.next({name:l,value:m}));return()=>c.unsubscribe()})});this.eventEmitters.next(e)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class F extends HTMLElement{ngElementEventsSubscription=null}var k=a(87559),y=a(11973);let Z=(()=>{class i{#t=(0,g.WQX)(g.zZn);registerIconCustomElement(e){this.registerCustomElement(`${e}-icon`,y.RlV)}registerLabelCustomElement(e){this.registerCustomElement(`${e}-label`,y.UFh)}registerPaidLabelCustomElement(e){this.registerCustomElement(`${e}-paid-label`,y.oim)}registerButtonCustomElement(e){this.registerCustomElement(`${e}-button`,y.Qpp)}registerRichTextCustomElement(e){this.registerCustomElement(`${e}-rich-text`,k.RichTextComponent)}registerCustomElement(e,o){if(typeof customElements>"u"||void 0!==customElements.get(e))return;const l=function K(i,t){const e=function P(i){return(0,u.HJs)(i).inputs}(i),o=t.strategyFactory||new V(i),l=function d(i){const t={};
1return i.forEach(({propName:e,templateName:o,transform:l})=>{t[function w(i){return i.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(o)]=[e,l]}),t}(e);class p extends F{injector;static observedAttributes=Object.keys(l);get ngElementStrategy(){if(!this._ngElementStrategy){const c=this._ngElementStrategy=o.create(this.injector||t.injector);e.forEach(({propName:m,transform:v})=>{if(!Object.hasOwn(this,m))return;const A=this[m];delete this[m],c.setInputValue(m,A,v)})}return this._ngElementStrategy}_ngElementStrategy;constructor(c){super(),this.injector=c}attributeChangedCallback(c,m,v,A){const[W,U]=l[c];this.ngElementStrategy.setInputValue(W,v,U)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{const m=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(m)})}}return e.forEach(({propName:C,transform:c,isSignal:m})=>{Object.defineProperty(p.prototype,C,{get(){const v=this.ngElementStrategy.getInputValue(C);return m&&(0,g.Hps)(v)?v():v},set(v){this.ngElementStrategy.setInputValue(C,v,c)},configurable:!0,enumerable:!0})}),p}(o,{injector:this.#t});customElements.define(e,l)}static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275prov=g.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})()},87559(D,O,a){a.d(O,{RichTextComponent:()=>h});var g=a(31635),u=a(65157),f=a(47266),E=a(35547),N=a(10308),I=a(67461),T=a(12654),b=a(14907),x=a(23634),_=a(82444),M=a(11973),S=a(21512);const R=["container"];class h{static{this.TOPIC_LINKS_REGEXP=new RegExp("^/themen/.*")}static{this.STOCK_LINKS_REGEXP={hb:/^https:\/\/www\.handelsblatt\.com\/boerse\/.*|^\/boerse\/.*$/,wiwo:/^https:\/\/www\.wiwo\.de\/boerse\/.*|^\/boerse\/.*$/}}static{this.EXTERNAL_LINKS_REGEXP={hb:/^http(?!s:\/\/www\.handelsblatt\.com|s?:\/\/.*hb\..*hmg\.systems).*$/,wiwo:/^http(?!s:\/\/www\.wiwo\.de|s?:\/\/.*wiwo\..*hmg\.systems).*$/}}static{this.TEASER_REFERENCE_REGEXP=/\[(\d+)\]/g}static{this.TOPIC_LINK_CSS_CLASS="topic-link"}static{this.CONTENT_ACCESS_CATEGORY_ATTRIBUTE="data-content-access-category"}#t;set context(s){this.#t.set(s.content)}set content(s){this.#t.set(s)}#s;#e;#n;#i;constructor(){this.enableTeaserReferenceLabels=(0,u.hFB)(!1),this.container=u.ebz.required("container"),this.#t=(0,f.vPA)(null),this.appearance=(0,u.hFB)("body"),this.mode=(0,u.hFB)("interface"),this.size=(0,u.hFB)(M.INe.Large),this.#s=(0,f.WQX)(I.u),this.#e=(0,f.WQX)(E.sFG),this.#n=(0,f.WQX)(b.M).brandNameShort,this.#i=(0,f.WQX)(x.u);const s="app-rich-text",n=(0,f.WQX)(N.f);n.registerIconCustomElement(s),n.registerPaidLabelCustomElement(s),n.registerLabelCustomElement(s),(0,f.QZP)(()=>{const r=this.#t();r&&this.insertContent(r)})}insertContent(s){let n=s;this.enableTeaserReferenceLabels()&&(n=this.enhanceTeaserReferences(n));const r=this.createHtmlTemplateElement(n);this.enhanceLinks(r),this.#e.setProperty(this.container().nativeElement,"innerHTML",""),this.#e.appendChild(this.container().nativeElement,r.content)}enhanceLinks(s){const n=s.content.querySelectorAll("a"),r=this.filterLinks(n,h.STOCK_LINKS_REGEXP[this.#n]),d=this.filterLinks(n,h.EXTERNAL_LINKS_REGEXP[this.#n]),P=this.filterLinks(n,h.TOPIC_LINKS_REGEXP),L=this.filterPaidLinks(n);this.appendLinkIcon(r,S.$MW.stock),this.appendLinkIcon(d,S.$MW.externalLink),this.appendNoFollowToExternalLinksInAdvertorials(d),this.appendCssClass(P,h.TOPIC_LINK_CSS_CLASS),this.appendPaidLabel(L)}enhanceTeaserReferences(s){return s.replace(h.TEASER_REFERENCE_REGEXP,(n,r)=>`<app-rich-text-label purpose="${M.X32.Muted}" size="${M.IVj.Small}">${r}</app-rich-text-label>`)}appendLinkIcon(s,n){for(const r of s){const d=this.#e.createElement("app-rich-text-icon");d.name=n,r.appendChild(d)}}createHtmlTemplateElement(s){const n=this.#e.createElement("template");return n.innerHTML=s,n}filterLinks(s,n){return Array.from(s).filter(r=>{const d=r.getAttribute("href");return n.test(d??"")})}filterPaidLinks(s){return Array.from(s).filter(n=>{const r=n.getAttribute(h.CONTENT_ACCESS_CATEGORY_ATTRIBUTE);return[_.EjM.hPlus,_.EjM.hPlusPremium,_.EjM.hPlusPremiumBusiness].includes(r)})}
1appendCssClass(s,n){s.forEach(r=>{this.#e.addClass(r,n)})}appendNoFollowToExternalLinksInAdvertorials(s){this.#i.pageType()===_.QGu.advertorialDetailPage&&s.forEach(r=>{this.#e.setAttribute(r,"rel","nofollow")})}appendPaidLabel(s){s.forEach(n=>{const r=n.getAttribute(h.CONTENT_ACCESS_CATEGORY_ATTRIBUTE);if(!this.isContentAccessCategory(r))return;const d=this.#s.mapContentAccessCategoryToPaidLabel(r);if(!d)return;const P=this.#e.createElement("app-rich-text-paid-label");P.paidLabel=d,n.append(P)})}isContentAccessCategory(s){return"string"==typeof s&&Object.values(_.EjM).includes(s)}static{this.\u0275fac=function(n){return new(n||h)}}static{this.\u0275cmp=E.VBU({type:h,selectors:[["app-rich-text"]],viewQuery:function(n,r){1&n&&E.wEZ(r.container,R,5),2&n&&E.NyB()},inputs:{enableTeaserReferenceLabels:[1,"enableTeaserReferenceLabels"],appearance:[1,"appearance"],mode:[1,"mode"],size:[1,"size"],context:"context",content:"content"},decls:3,vars:3,consts:[["container",""],[3,"appearance","mode","size"]],template:function(n,r){1&n&&(E.j41(0,"hmg-rich-text",1),E.nrm(1,"div",null,0),E.k0s()),2&n&&E.Y8G("appearance",r.appearance())("mode",r.mode())("size",r.size())},dependencies:[M.HYg],styles:["[_nghost-%COMP%]{display:block;word-break:break-word}[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     a:has(app-rich-text-paid-label), [_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     a:has(app-rich-text-icon){margin-right:var(--%NS%hmg-des-dimensions-gap-5xs)}[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     a app-rich-text-icon, [_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     a app-rich-text-paid-label{margin-left:var(--%NS%hmg-des-dimensions-gap-2xs);margin-bottom:var(--%NS%hmg-des-dimensions-gap-2xs);vertical-align:middle}[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     h3{--%NS%hmg-des-headline-interface-font-style: var(--%NS%hmg-des-typography-headline-interface-font-style);--%NS%hmg-des-headline-interface-font-weight: var(--%NS%hmg-des-typography-headline-interface-font-weight);--%NS%hmg-des-headline-interface-size-sm-font-size: var(--%NS%hmg-des-typography-headline-interface-sm-font-size);--%NS%hmg-des-headline-interface-font-family: var(--%NS%hmg-des-typography-headline-interface-font-family);--%NS%hmg-des-headline-interface-size-sm-font-line-height: var(--%NS%hmg-des-typography-headline-interface-sm-font-line-height);--%NS%hmg-des-headline-interface-font-letter-spacing: var(--%NS%hmg-des-typography-headline-interface-font-letter-spacing);margin:var(--%NS%hmg-des-dimensions-gap-xl) 0 0;font:var(--%NS%hmg-des-headline-interface-font-style) var(--%NS%hmg-des-headline-interface-font-weight) var(--%NS%hmg-des-headline-interface-size-sm-font-size) var(--%NS%hmg-des-headline-interface-font-family);line-height:var(--%NS%hmg-des-headline-interface-size-sm-font-line-height);letter-spacing:var(--%NS%hmg-des-headline-interface-font-letter-spacing)}[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     h4, [_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     h5, [_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     h6{margin:0;font-size:var(--%NS%hmg-des-typography-rich-text-wide-interface-lg-font-size);line-height:var(--%NS%hmg-des-typography-rich-text-wide-interface-lg-font-line-height)}[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     table{margin:var(--%NS%hmg-des-dimensions-gap-m) 0 0}[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     table th{font-weight:600;text-align:left;vertical-align:bottom}[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     table td, [_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     table th{padding:var(--%NS%hmg-des-dimensions-padding-2xs) var(--%NS%hmg-des-dimensions-padding-xs)}[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     table td:first-child, [_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     table th:first-child{padding:var(--%NS%hmg-des-dimensions-padding-2xs) var(--%NS%hmg-des-dimensions-padding-xs) var(--%NS%hmg-des-dimensions-padding-2xs) 0}[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     table td:last-child, [_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     table th:last-child{padding:var(--%NS%hmg-des-dimensions-padding-2xs) 0 var(--%NS%hmg-des-dimensions-padding-2xs) var(--%NS%hmg-des-dimensions-padding-xs)}[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     table td{border-top:var(--%NS%border-primary);vertical-align:top}[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     .location{font-weight:700}","hmg-theme.wiwo-light[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     h3, hmg-theme.wiwo-light   [_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     h3, hmg-theme.wiwo-dark[_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     h3, hmg-theme.wiwo-dark   [_nghost-%COMP%]   hmg-rich-text[_ngcontent-%COMP%]     h3{font-size:20px;line-height:30px;font-weight:500;text-transform:uppercase;letter-spacing:1px}"],changeDetection:1})}}(0,g.Cg)([(0,T.Y)(),(0,g.Sn)("design:type",Function),(0,g.Sn)("design:paramtypes",[Array]),(0,g.Sn)("design:returntype",void 0)],h.prototype,"appendPaidLabel",null)}}]);

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.