PageSourceSearch

https://www.thyssenkrupp.com/chunk-OBBHAZ34.js

js thyssenkrupp.com collected 2026-10-02 02:25:50 UTC 5,059 bytes, 1 lines download raw bytes

1import{c as O}from"./chunk-IDB5BCEH.js";import{b as M}from"./chunk-FZ3Z44LB.js";import"./chunk-IN3VEMBL.js";import{H as U,J as F,K as j,k as E,q as R,s as B}from"./chunk-U5LHJUTF.js";import"./chunk-GQZM7SIZ.js";import{a as N,d as K}from"./chunk-YXF27KFF.js";import"./chunk-4X2TMMYR.js";import"./chunk-DKD7YC7B.js";import"./chunk-MGGDP7BY.js";import{a as z}from"./chunk-Z5TDZRP3.js";import"./chunk-W6UQFIIC.js";import{c as w}from"./chunk-GOFYIOLX.js";import"./chunk-WDAY2MXF.js";import"./chunk-JH4DGLAR.js";import"./chunk-SSFQLSAJ.js";import"./chunk-SGHLWUR7.js";import"./chunk-JMZPCFYQ.js";import{h as S}from"./chunk-QNTHF4YA.js";import"./chunk-HEQTRXQ3.js";import"./chunk-JCFZDGYA.js";import"./chunk-VILIE2GY.js";import"./chunk-JJJH4M7G.js";import{fa as y,la as D,ua as I}from"./chunk-J6HS7K5Z.js";import{Ab as P,Da as A,Lc as C,Mc as _,Nc as h,Tc as T,Uc as L,Vc as k,Xb as u,Zb as d,cc as o,dc as r,dd as p,ec as l,ed as c,fc as g,ha as b,hb as i,jc as x,kc as f,wb as v,wc as s}from"./chunk-TMZLV3BB.js";import{i as $}from"./chunk-FPO36RWJ.js";var J=$(z());function G(t,m){if(t&1&&(x(0,2),r(1,"a",3),p(2,"transformLink"),C(3),l(),f()),t&2){let e=s(2);i(),o("ucp-link",c(2,2,e.pressDetailLink)),i(2),_(e.pressReleaseLabel)}}function q(t,m){if(t&1&&(r(0,"ucp-ui-text-teaser")(1,"ucp-ui-teaser-text",0),g(2,"div",1),u(3,G,4,4,"ng-container",2),l()()),t&2){let e=s(),a=k(2);i(),o("kicker",a)("heading",e.element==null?null:e.element.heading)("actionsAlignment",e.componentAttributes==null?null:e.componentAttributes.actionsAlignment)("hideTeaserText",e.componentAttributes==null?null:e.componentAttributes.hideTeaserText),i(),o("formattedText",e.element.introText),i(),d(e.pressDetailPage?3:-1)}}function H(t,m){if(t&1&&(g(0,"ucp-ui-image",4),p(1,"responsiveAssetPath"),p(2,"async")),t&2){let e=s(2);o("image",c(2,5,c(1,3,e.element.teaserImage)))("highlight",(e.componentAttributes==null?null:e.componentAttributes.highlight)||!1)("showTooltip",!1)}}function Q(t,m){if(t&1&&(r(0,"a",3),p(1,"transformLink"),C(2),l()),t&2){let e=s(3);o("ucp-link",c(1,2,e.pressDetailLink)),i(2),h(" ",e.pressReleaseLabel," ")}}function W(t,m){if(t&1&&(r(0,"a",7),p(1,"transformLink"),C(2),l()),t&2){let e=s(3);o("ucp-link",c(1,2,e.pressDetailLink)),i(2),h(" ",e.pressReleaseLabel," ")}}function X(t,m){if(t&1&&(x(0,2),r(1,"div",5)(2,"a",3),p(3,"transformLink"),C(4),l()(),r(5,"div",6),u(6,Q,3,4,"a",3)(7,W,3,4,"a",7),l(),f()),t&2){let e=s(2);i(2),o("ucp-link",c(3,3,e.pressDetailLink)),i(2),_(e.pressReleaseLabel),i(2),d((e.componentAttributes==null?null:e.componentAttributes.linkType)==="link"?6:7)}}function Y(t,m){if(t&1&&(r(0,"ucp-ui-image-teaser"),u(1,H,3,7,"ucp-ui-image",4),r(2,"ucp-ui-teaser-text",0),g(3,"div",1),u(4,X,8,5,"ng-container",2),l()()),t&2){let e=s(),a=k(2);i(),d((e.componentAttributes==null?null:e.componentAttributes.showImage)!==!1&&(!(e.element==null||e.element.teaserImage==null)&&e.element.teaserImage.source)?1:-1),i(),o("kicker",a)("heading",e.element==null?null:e.element.heading)("actionsAlignment",e.componentAttributes==null?null:e.componentAttributes.actionsAlignment)("hideTeaserText",e.componentAttributes==null?null:e.componentAttributes.hideTeaserText),i(),o("formattedText",e.element.introText),i(),d(e.pressDetailPage?4:-1)}}var ue=(()=>{class t extends O{constructor(){super(...arguments),this.projectSettingsService=b(S),this.pressDetailPage="",this.pressReleaseLabel="",this.teaserKicker=""}ngOnInit(){this.projectSettingsService.getSettings().subscribe(e=>{if(this.pressDetailPage=e.pressDetailPage,!this.pressDetailPage)return;this.pressReleaseLabel=e.pressReleaseLabel;let a=(0,J.default)(this.element?.heading,{lower:!0});this.pressDetailLink={link:this.pressDetailPage+`/${encodeURI(a)}-${this.cmsId}`,type:"internal"}})}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=A(t)))(n||t)}})()}static{this.\u0275cmp=v({type:t,selectors:[["ucp-press-teaser"]],features:[P],decls:5,vars:4,consts:[[1,"tw-h-full",3,"kicker","heading","actionsAlignment","hideTeaserText"],[3,"formattedText"],["ngProjectAs","actions",5,["actions"]],["ucp-ui-link","primary","iconName","arrow-right",1,"ucp-ui-teaser
1-link",3,"ucp-link"],[1,"tw-h-fit","@[700px]/ui-teaser:tw-rounded-2xl",3,"image","highlight","showTooltip"],[1,"tw-block","tw-leading-[0]","@[700px]/ui-teaser:tw-hidden"],[1,"tw-hidden","@[700px]/ui-teaser:tw-block","@[700px]/ui-teaser:tw-leading-[0]"],["ucp-ui-cta","","size","lg","iconName","arrow-right",1,"ucp-ui-teaser-link",3,"ucp-link"]],template:function(a,n){if(a&1&&(T(0),p(1,"date"),T(2),u(3,q,4,6,"ucp-ui-text-teaser")(4,Y,5,7,"ucp-ui-image-teaser")),a&2){let V=(n.componentAttributes==null?null:n.componentAttributes.showDate)!==!1?c(1,1,n.element==null?null:n.element.date):"";i(2),L((n.componentAttributes==null?null:n.componentAttributes.teaserKicker)==="kicker"?n.element==null?null:n.element.kicker:V),i(),d((n.componentAttributes==null?null:n.componentAttributes.teaserVariant)==="text"?3:4)}},dependencies:[I,U,R,B,F,N,E,M,j,y,D,w,K],encapsulation:2})}}return t})();export{ue as PressTeaserComponent};

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.