PageSourceSearch

https://nutzer.edenred.de/chunk-7U2NHJ4V.js

js edenred.de collected 2026-10-02 17:29:51 UTC 8,223 bytes, 1 lines download raw bytes

1import{Sb as re,gb as $}from"./chunk-3TCAZEI7.js";import"./chunk-JANFDFKK.js";import{Ta as oe,g as Y,i as ie}from"./chunk-JMWRHEE5.js";import"./chunk-EP3U27RN.js";import"./chunk-GIRBXS4N.js";import"./chunk-PEO7CB24.js";import"./chunk-VCVAJIDH.js";import{b as X}from"./chunk-EMOTW6LS.js";import"./chunk-XABJIMJE.js";import"./chunk-X35RW4EZ.js";import"./chunk-OKRXS2OU.js";import"./chunk-IXEAAB3X.js";import"./chunk-A5WXCKR2.js";import"./chunk-6KLKHXZZ.js";import{j as F,l as Q,v as A,w as ee,x as U,y as te}from"./chunk-VP3ZTWDB.js";import{$ as K,X as C,_ as J,a as D}from"./chunk-NVF2357C.js";import"./chunk-SDRTQNSL.js";import{a as B}from"./chunk-FYAYFI7X.js";import"./chunk-RZJR6MCR.js";import{c as z,d as ne}from"./chunk-XDM3O4EH.js";import"./chunk-WE2VUVIA.js";import{a as G}from"./chunk-O4MYHBTN.js";import"./chunk-D4ARP3GB.js";import"./chunk-HKF4FNQQ.js";import{Da as H,Ha as Z}from"./chunk-R2KO4KO3.js";import{C as W,c as R}from"./chunk-GACCIHK4.js";import"./chunk-U7UIPRJG.js";import"./chunk-XWUPTGAX.js";import{Ab as x,E as b,Ed as w,Fa as o,Fc as I,Gb as i,J as y,Jd as L,Ka as E,La as P,Lc as N,Nc as g,Qa as S,Wa as r,Y as k,Yb as O,_d as T,ad as m,bd as V,cd as v,f as j,oc as h,qa as M,qc as u,va as q,vc as d,wc as a,wd as _,xc as l,xd as f,yc as s}from"./chunk-SLFW44GP.js";function ae(t,p){t&1&&(a(0,"div",2),s(1,"div",7)(2,"div",8),l(),s(3,"div",9)(4,"div",10)(5,"div",11))}function se(t,p){if(t&1&&s(0,"shared-ui-contentful-image",12),t&2){let e=g(3);d("asset",p)("alt",e.partnerName())("height",24)}}function pe(t,p){if(t&1&&(a(0,"span",13),m(1),l()),t&2){let e=g(3);i(),V(e.partnerName())}}function ce(t,p){if(t&1&&(a(0,"div",2),h(1,se,1,3,"shared-ui-contentful-image",12)(2,pe,2,1,"span",13),a(3,"span",14),m(4),l()()),t&2){let e,n=g(2);i(),u((e=n.partnerLogo())?1:2,e),i(3),v(" ",p.expiringVoucherCount," ")}}function ge(t,p){if(t&1){let e=I();a(0,"shared-contentful-accented-card-layout",0)(1,"div",1),h(2,ae,6,0)(3,ce,5,2,"div",2),s(4,"p",3),_(5,"translate"),s(6,"p",4),_(7,"translate"),a(8,"button",5),N("click",function(){E(e);let c=g();return P(c.seeNow())}),m(9),_(10,"translate"),s(11,"shared-feather-icon",6),l()()()}if(t&2){let e,n=g();d("accent",n.accentColor)("topIcon","streamline-ticket-1")("image",n.isSmallScreen()?void 0:n.image())("isHorizontalLayout",!0),i(2),u(n.isLoading()?2:(e=n.expiringVouchers())?3:-1,e),i(2),d("innerHTML",f(5,8,"BENEFICIARY.COMPONENTS.VOUCHERS_EXPIRING.TITLE"),x),i(2),d("innerHTML",f(7,10,"BENEFICIARY.COMPONENTS.VOUCHERS_EXPIRING.DESCRIPTION"),x),i(3),v(" ",f(10,12,"BENEFICIARY.COMPONENTS.VOUCHERS_EXPIRING.SEE_NOW")," ")}}var Se,de=j(()=>{oe();T();W();ie();re();Q();Z();te();K();q();J();T();ne();ee();Se=(()=>{class t{constructor(){this.entry=L(),this.image=w(()=>this.entry()?.settings.beneficiaryVouchersExpiringComponentImage.fields.media),this.accentColor=R.Reminder,this.isSmallScreen=r(!1),this.hasError=r(!1),this.isLoading=r(!0),this.expiringVouchers=r(void 0),this.partnerLogo=r(void 0),this.partnerName=r(void 0),this._voucherApiService=o($),this._partnersContentfulService=o(F),this._deviceScreenService=o(Y),this._router=o(H),this._urlFromLinkPipe=o(D),this._destroyRef=o(S)}ngOnInit(){this._loadExpiringVouchers(),this._listenToScreenChanges()}seeNow(){let e=this._urlFromLinkPipe.transform(this.entry()?.settings.beneficiaryVoucherListLink);this._router.navigate([e],{queryParams:{partnerId:this.expiringVouchers()?.partnerId}})}_loadExpiringVouchers(){this._voucherApiService.getExpiringVouchers$().pipe(M(e=>this._partnersContentfulService.getPartnerContentfulEntry$(String(e.partnerId)).pipe(y(n=>({expiringVouchers:e,partnerEntry:n})))),k(()=>(this.hasError.set(!0),this.isLoading.set(!1),b(void 0))),C(this._destroyRef)).subscribe(e=>{if(this.isLoading.set(!1),!e)return;let{expiringVouchers:n,partnerEntry:c}=e;this.expiringVouchers.set(n),this.partnerLogo.set(c?.fields.partnerLogoImage),this.partnerName.set(c?.fields.name||n.partnerName)})}_listenToScreenChanges(){this._deviceScreenService.getDeviceSizeFlag$("xs").pipe(C(this._destroyRef)).subscribe(e=>{this.isSmallScreen.set(e)})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=O({type:t,selectors:[["aio-beneficiary-shared-vouchers-expiring"]],inputs:{entry:[1,"entry"]},decls:1,vars:1,consts:[[3,"accent","topIcon","image","isHorizontalLayout"],["content",""],[1,"d-flex","align-items-center","gap-2","mb-3"],[1,"text-gray-900","typography-text-weight-medium","typography-text-lg","mb-0",3,"innerHTML"],[1,"typography-text-sm","text-gray-500","mb-6",3,"innerHTML"],["type","button",1,"btn","btn-primary","d-flex","align-items-center","gap-2",3,"click"],["name","chevron-right","size","20"],[1,"vouchers-expiring__logo-skeleton"],[1,"vouchers-expiring__badge-skeleton"],[1,"vouchers-expiring__title-skeleton","mb-2"],[1,"vouchers-expiring__description-skeleton","mb-6"],[1,"vouchers-expiring__button-skeleton"],[3,"asset","alt","height"],[1,"typography-text-lg","typography-text-weight-medium"],[1,"badge","badge-red-brand","rounded-circle","d-inline-flex","align-items-center","justify-content-center","typography-text-xs","typography-text-weight-medium"]],template:function(n,c){n&1&&h(0,ge,12,14,"shared-contentful-accented-card-layout",0),n&2&&u(c.hasError()?-1:0)},dependencies:[X,B,z,U,G,A],styles:['[_nghost-%COMP%]{display:flex;flex:1}.vouchers-expiring__logo-skeleton[_ngcontent-%COMP%]{width:80px;height:24px;overflow:hidden}.vouchers-expiring__logo-skeleton[_ngcontent-%COMP%]:empty{position:relative;background:#eee}.vouchers-expiring__logo-skeleton[_ngcontent-%COMP%]:empty:before{content:"";background-image:linear-gradient(90deg,#eee,#fff6,#eee 40px);position:absolute;background-repeat:repeat-x;left:-80px;width:40px;height:100%;animation:_ngcontent-%COMP%_vouchers-expiring-logo 2s infinite}@keyframes _ngcontent-%COMP%_vouchers-expiring-logo{0%{left:-80px}to{left:120px}}.vouchers-expiring__badge-skeleton[_ngcontent-%COMP%]{border-radius:50%;width:22px;height:22px;overflow:hidden}.vouchers-expiring__badge-skeleton[_ngcontent-%COMP%]:empty{position:relative;background:#eee}.vouchers-expiring__badge-skeleton[_ngcontent-%COMP%]:empty:before{content:"";background-image:linear-gradient(90deg,#eee,#fff6,#eee 11px);position:absolute;background-repeat:repeat-x;left:-22px;width:11px;height:100%;animation:_ngcontent-%COMP%_vouchers-expiring-badge 2s infinite}@keyframes _ngcontent-%COMP%_vouchers-expiring-badge{0%{left:-22px}to{left:33px}}.vouchers-expiring__title-skeleton[_ngcontent-%COMP%]{border-radius:8px;width:50%;height:24px;overflow:hidden}.vouchers-expiring__title-skeleton[_ngcontent-%COMP%]:empty{position:relative;background:#eee}.vouchers-expiring__title-skeleton[_ngcontent-%COMP%]:empty:before{content:"";background-image:linear-gradient(90deg,#eee,#fff6 12.5%,#eee 25%);position:absolute;background-repeat:repeat-x;left:-50%;width:25%;height:100%;animation:_ngcontent-%COMP%_vouchers-expiring-title 2s infinite}@keyframes _ngcontent-%COMP%_vouchers-expiring-title{0%{left:-50%}to{left:75%}}.vouchers-expiring__description-skeleton[_ngcontent-%COMP%]{width:80%;height:16px;overflow:hidden}.vouchers-expiring__description-skeleton[_ngcontent-%COMP%]:empty{position:relative;background:#eee}.vouchers-expiring__description-skeleton[_ngcontent-%COMP%]:empty:before{content:"";background-image:linear-gradient(90deg,#eee,#fff6 20%,#eee 40%);position:absolute;background-repeat:repeat-x;left:-80%;width:40%;height:100%;animation:_ngcontent-%COMP%_vouchers-expiring-description 2s infinite}@keyframes _ngcontent-%COMP%_vouchers-expiring-description{0%{left:-80%}to{left:120%}}.vouchers-expiring__button-skeleton[_ngcontent-%COMP%]{border-radius:24px;width:160px;height:40px;overflow:hidden}.vouchers-expiring__button-skeleton[_ngcontent-%COMP%]:empty{position:relative;background:#eee}.vouchers-expiring__button-skeleton[_ngcontent-%COMP%]:empty:before{content:"";background-image:linear-gradient(90deg,#eee,#fff6,#eee 80px);position:absolute;background-repeat:repeat-x;left:-160px;width:80px;height:100%;animation:_ngcontent-%COMP%_vouchers-expiring-button 2s infinite}@keyframes _ngcontent-%COMP%_vouchers-expiring-button{0%{left:-160px}to{left:240px}}']})}}return t})()});de();export{Se as VouchersExpiringComponent};

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.