PageSourceSearch

https://www.independer.nl/dist/apps/mijn-independer/chunk-BnbUHN-X.js

js independer.nl collected 2026-10-01 10:31:45 UTC 4,577 bytes, 2 lines download raw bytes

1import {p,i,t}from'./chunk-D6y3Xs3w.js';import {l}from'./chunk--ofsoTNH.js';import {D as D_,G as Jc,_ as _T,bP as i8,t as ta,i as iv,e as vd,H as AS,J as Jy,S as SM,aR as gv,K as Ky,L as Lb,R as RS,b2 as bv,bQ as Y$,bT as Z$,cI as ln,f as m,O as g,w as we,r as Me,x as Jt,g as C,$ as $S,a1 as Lp,Z as ZS,a2 as Pp,bc as FS,be as LS,I as _d}from'./main-UFKADBUP.js';var G=(e,i)=>i.id;function $(e,i){if(e&1){let d=$S();ta(0,"i",9),iv("click",function(){let a=Lp(d),t=ZS();return Pp(t.ctaButtonAction(a))}),vd();}}function q(e,i){e&1&&(ta(0,"p",8),SM(1),vd()),e&2&&(Lb(),bv(i));}function H(e,i){if(e&1){let d=$S();ta(0,"a",11),iv("click",function(){let a=Lp(d).$implicit,t=ZS(2);return Pp(t.ctaButtonAction(a))}),SM(1),vd();}if(e&2){let d=i.$implicit;Ky("cta",true),Lb(),_d(" ",d.text," ");}}function J(e,i){if(e&1&&FS(0,H,2,2,"a",10,G),e&2){let d=ZS();LS(d.ctaMainButtons());}}var ce=(()=>{let i$1=class i$1{constructor(){this.advice=Y$.required(),this.shouldDisplayInfoLink=Y$(false),this.ctaButtonClicked=Z$(),this.headerIconUrl=ln(()=>i.get(this.advice().icon)),this.ctaCloseButton=ln(()=>this.advice().callToActionOptions?this.advice().callToActionOptions.find(n=>n.linkType===t.Close):void 0),this.ctaMainButtons=ln(()=>this.advice().callToActionOptions?.filter(n=>n.linkType!==t.Close)),this.error=false,this.productGroupRoutingService=m(g),this.redirectService=m(we),this.personalizedAdvicesService=m(l),this.destroyRef=m(Me);}onError(){this.error=true;}ctaButtonAction(n){this.personalizedAdvicesService.registerAdviceInteraction(this.advice().id,n.id).pipe(Jt(this.destroyRef)).subscribe(()=>C(this,null,function*(){yield p.handleCtaButtonActionByLinkType(this.productGroupRoutingService,this.redirectService,n.linkType,n.linkUrl),this.ctaButtonClicked.emit();}));}};i$1.\u0275fac=function(a){return new(a||i$1)},i$1.\u0275cmp=D_({type:i$1,selectors:[["ind-personalized-advice"]],inputs:{advice:[1,"advice"],shouldDisplayInfoLink:[1,"shouldDisplayInfoLink"]},outputs:{ctaButtonClicked:"ctaButtonClicked"},decls:12,vars:9,consts:[["width","940","height","470","data-testid","expert-image","alt","","role","presentation",1,"presentation-image",3,"error","ngSrc"],[1,"if-generic--close","close-icon"],[1,"content-wrapper","mt-16"],[1,"header-wrapper"],[1,"header-icon-container"],["width","32","height","32","alt","header",1,"header-icon",3,"ngSrc"],[1,"d-none","d-sm-block","pb-8"],[1,"d-sm-none","d-block","pb-8"],[1,"text-purple-dark","pb-12"],[1,"if-generic--close","close-icon",3,"click"],["indBtn","","ue","advice-cta","data-testid","advice-cta",3,"cta"],["indBtn","","ue","advice-cta","data-testid","advice-cta",3,"click","cta"]],template:function(a,t){if(a&1&&(ta(0,"img",0),iv("error",function(){return t.onError()}),vd(),AS(1,$,1,0,"i",1),ta(2,"div",2)(3,"div",3)(4,"div",4),Jy(5,"img",5),vd(),ta(6,"h3",6),SM(7),vd(),ta(8,"h4",7),SM(9),vd()(),AS(10,q,2,1,"p",8),AS(11,J,2,0),vd()),a&2){let _,S;gv("d-none",t.error),Ky("ngSrc",t.advice().imageUrl),Lb(),RS((_=t.ctaCloseButton())?1:-1,_),Lb(4),Ky("ngSrc",t.headerIconUrl()),Lb(2),bv(t.advice().title),Lb(2),bv(t.advice().title),Lb(),RS((S=t.advice().body)?10:-1,S),Lb(),RS(t.ctaMainButtons()?11:-1);}},dependencies:[Jc,_T,i8],styles:[`.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}ind-personalized-advice{position:relative;display:block;background-color:var(--%NS%ind-theme-color-background-default);border-radius:8px}ind-personalized-advice .presentation-image{width:100%;object-fit:cover;border-radius:8px 8px 0 0}ind-personalized-advice .close-icon{position:absolute;top:16px;right:16px;width:32px;height:32px;background-color:var(--%NS%ind-theme-color-background-default);border-radius:50%;display:flex;justify-content:center;align-items:center}ind-personalized-advice .if-generic--%NS%close:before{font-size:24px}ind-personalized-advice .content-wrapper{padding:0 24px 24px}@media(max-width:767.98px){ind-personalized-advice .content-wrapper{padding:0 16px 16px}}ind-personalized-advice .header-wrapper{display:flex;align-items:center;gap:16px;padding-bottom:4px}ind-personalized-advice .header-wrapper h3,ind-personalized-advice .header-wrapper h4{margin:0;line-height:1;padding-top:8px}ind-personalized-advice .header-icon{width:32px;height:32px}ind-personalized-advice .header-icon-container{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background-color:var(--%NS%ind-theme-color-background-brand-primary-subtler);flex-shrink:0}
2`],encapsulation:2});let e=i$1;return e})();export{ce as PersonalizedAdviceComponent};

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.