PageSourceSearch

https://www.runninggrandprix.com/765.7550fceeb0b4619a.js

js runninggrandprix.com collected 2026-10-08 07:20:31 UTC 5,982 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkrunninggrandprix=self.webpackChunkrunninggrandprix||[]).push([[765],{1765:(q,m,e)=>{e.r(m),e.d(m,{WishlistModule:()=>V});var l=e(177),c=e(1188),a=e(9605),p=e(3907),f=e(2072),h=e(9640),y=e(2323);const u="wishlistPageFeature",C=(0,h.HY)({page:y.k.page(f.c.setWishlistClientPage)});var d=e(5312),t=e(4438),w=e(8061),M=e(2251),W=e(7345),F=e(3167),P=e(3062),U=e(554),D=e(6845),G=e(1895),R=e(9882),$=e(6549),j=e(7959),x=e(5088),S=e(1780);const I=()=>({height:"55px",width:"55px"});function X(n,v){if(1&n&&(t.j41(0,"div")(1,"div",5),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",6),t.nrm(5,"component-button",7),t.nI1(6,"translate"),t.k0s()()),2&n){const i=t.XpG();t.R7$(2),t.JRh(t.bMT(3,3,"pages.wishlist.text2")),t.R7$(3),t.Y8G("label",t.bMT(6,5,"pages.wishlist.text3"))("routerLink",i.urlService.getEventUrl("").path)}}function L(n,v){if(1&n){const i=t.RV6();t.j41(0,"div",10)(1,"component-card2",11),t.bIt("removeCard",function(){const r=t.eBV(i).$implicit,g=t.XpG(2);return t.Njj(g.removeCard(r.title))}),t.k0s()()}if(2&n){const i=v.$implicit,s=t.XpG(2);t.R7$(),t.Y8G("cardData",s.getCardData(i))("isWishlist",!0)}}function T(n,v){if(1&n&&(t.j41(0,"div")(1,"div",8),t.DNE(2,L,2,2,"div",9),t.k0s()()),2&n){const i=t.XpG();t.R7$(2),t.Y8G("ngForOf",i.wishlist)}}const O=[{path:"",component:(()=>{class n{constructor(i,s,r,g,K,z,Q,Z,b,k,_){this.wishlistService=i,this.seoService=s,this.generalService=r,this.urlService=g,this.store=K,this.titlecaseExtended=z,this.dateService=Q,this.dialogService=Z,this.renderer=b,this.coreService=k,this.jsonLdService=_,this.wishlist=[],this.loggedIn=!1,this._wishlistState$=this.store.select(u),this.wishlistSubscription=this.wishlistService.onUpdateWishlist().subscribe(o=>this.wishlist=o),this.wishlist=this.wishlistService.getWishlists(),this._wishlistState$.subscribe(o=>{o?.page&&this.setDetails(o.page.page)})}setDetails(i){const s=i?.meta;this.seoService.pageTitle=s?.title,this.seoService.description=s?.description,this.seoService.keywords=s?.formatted_keywords,this.seoService.robots=s?.formatted_robots,this.seoService.url=s?.canonical_url,this.seoService.updatedAt=this.dateService.getMostRecentDate(i?.updated_at,s?.updated_at),this.seoService.setMetaTags(),i?.faqs&&this.jsonLdService.addJsonLdFaqs(this.renderer,i?.faqs)}fetchPageByUrl(){this.generalService.fetchPageByUrl().then(i=>this.store.dispatch(f.c.setWishlistClientPage({page:i.data})))}ngOnInit(){this.jsonLdService.removeJsonLd(this.renderer),this.coreService.isServer&&(this.jsonLdService.addJsonLdWebSite(this.renderer,d.c.domain),this.jsonLdService.addJsonLdBreadcrumbs(this.renderer,[{name:"Home",url:`${d.c.domain}`},{name:"Wishlist",url:`${d.c.domain}/wishlist`}])),this.fetchPageByUrl()}parseDate(i){return this.dateService.getParseDateRange(i,"MMM d, y")?.string}getCardData(i){const s=i.event_third_parties&&i.event_third_parties.length>0?i.event_third_parties[0]?.event_categories:null;return{...i,img:i.image?.storage_url,title:this.titlecaseExtended.transform(i.name),description:i.description,categories:i.event_categories,third_party_categories:s,ref:i.ref,date:this.parseDate(i.date_range),price:i.local_registration_fee_range}}removeCard(i){this.dialogService.confirmDialog({data:{entity:{name:a.o.event,property:a.o.wishlist},action:"removeFrom"}}).then(()=>{const s=this.wishlist.findIndex(r=>r.title===i);-1!==s&&this.wishlist.splice(s,1),this.wishlistService.updateWishlist(this.wishlist),this.dialogService.commonDialog({data:{entity:{name:a.o.event,property:a.o.wishlist},action:"removeFrom"},type:"success"})})}static#t=this.\u0275fac=function(s){return new(s||n)(t.rXU(w.F),t.rXU(M.B),t.rXU(W.O),t.rXU(F.H),t.rXU(h.il),t.rXU(p.k),t.rXU(P.k),t.rXU(U.o),t.rXU(t.sFG),t.rXU(D.P),t.rXU(G.K))};static#i=this.\u0275cmp=t.VBU({type:n,selectors:[["page-wishlist"]],features:[t.Jv_([p.k])],decls:8,vars:9,consts:[[3,"setMargins"],[1,"container"],[1,"header__title","pt-5"],["src","assets/icons/heart-light.svg",3,"svgStyle"],[4,"ngIf"],[1,"header__info"],[1,"pt-4"],["className","button button-primary","leftIcon","assets/icons/arrow_backward-light.svg",3,"label","routerLink"],[1,"wishlist__card"],["class","wishlist__card_card",4,"ngFor","ngForOf"],[1,"wishlist__card_card"],["minHeight","150px",3,"removeCard","cardData","isWishlist"]],template:function(s,r){1&s&&(t.j41(0,"component-flat-layout",0)(1,"div",1)(2,"div",2),t.nrm(3,"svg-icon",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.DNE(6,X,7,7,"div",4)(7,T,3,1,"div",4),t.k0s()()),2&s&&(t.Y8G("setMargins",!0),t.R7$(3),t.Y8G("svgStyle",t.lJ4(8,I)),t.R7$(),t.Lme(" ",t.bMT(5,6,"pages.wishlist.text1")," (",r.wishlist.length,") "),t.R7$(2),t.Y8G("ngIf",0===r.wishlist.length),t.R7$(),t.Y8G("ngIf",r.wishlist.length>0))},dependencies:[l.Sq,l.bT,c.Wk,R.z,$.k,j.Q,x.DM,S.D9],styles:[".header__title[_ngcontent-%COMP%]{color:var(--primary-01);margin-bottom:30px}.header__title[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:55px;height:55px;margin-bottom:5px}.wishlist__card[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:-32px -12px 0}.wishlist__card_card[_ngcontent-%COMP%]{flex:0 0 calc(50% - 24px);width:calc(50% - 24px);margin:32px 12px 0;height:auto}@media only screen and (max-width: 1023px){.wishlist__card_card[_ngcontent-%COMP%]{flex:0 0 calc(50% - 24px);width:calc(50% - 24px)}}@media only screen and (max-width: 768px){.wishlist__card[_ngcontent-%COMP%]{display:block;margin:0}.wishlist__card_card[_ngcontent-%COMP%]{width:100%;margin:24px 0 0}}"]})}return n})()}];let E=(()=>{class n{static#t=this.\u0275fac=function(s){return new(s||n)};static#i=this.\u0275mod=t.$C({type:n});static#e=this.\u0275inj=t.G2t({imports:[c.iI.forChild(O),c.iI]})}return n})();var Y=e(7069),J=e(5188),B=e(132),H=e(1846),N=e(1316),A=e(4879);let V=(()=>{class n{static#t=this.\u0275fac=function(s){return new(s||n)};static#i=this.\u0275mod=t.$C({type:n});static#e=this.\u0275inj=t.G2t({imports:[l.MD,E,Y.R,S.h,J.G,B.L,H.t,N.s,x.iu,A.J,h.md.forFeature
1(u,C)]})}return n})()}}]);

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.