PageSourceSearch

https://www.equidia.fr/714.725deed733150e64.js

js equidia.fr collected 2026-10-02 06:01:01 UTC 15,378 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkequidia=self.webpackChunkequidia||[]).push([[714],{86:(g,u,o)=>{o.d(u,{P:()=>W});var e=o(4438),d=o(1113),c=o(177),r=o(1444),_=o(5511),l=o(1370);const p=["*"];function f(t,s){if(1&t&&(e.j41(0,"div",5),e.EFF(1),e.k0s()),2&t){const n=e.XpG();e.R7$(),e.SpI(" ",n.labelDate," ")}}let h=(()=>{class t{constructor(){this.publishedAt=null,this.labelDate=null}ngOnChanges(n){!n.publishedAt||!n.publishedAt.currentValue||(this.labelDate=this.getPublishedAt())}getPublishedAt(){if(!this.publishedAt)return null;const n=(0,_.A)(),i=(0,_.A)(this.publishedAt),a=_.A.duration(n.diff(i)),C=Math.floor(a.asMinutes());if(C<=0)return null;if(C<=59)return"il y a "+C+" min";const O=Math.floor(a.asHours());if(O<=23)return"il y a "+O+"h";const P=Math.floor(a.asDays());return"il y a "+P+" jour"+(P>1?"s":"")}static#e=this.\u0275fac=function(i){return new(i||t)};static#n=this.\u0275cmp=e.VBU({type:t,selectors:[["app-info-feed-card"]],inputs:{publishedAt:"publishedAt"},features:[e.OA$],ngContentSelectors:p,decls:8,vars:1,consts:[[1,"feed-card"],[1,"feed-card--header"],[1,"feed-card--header--name"],["class","feed-card--header--time",4,"ngIf"],[1,"feed-card--body"],[1,"feed-card--header--time"]],template:function(i,a){1&i&&(e.NAR(),e.j41(0,"div",0)(1,"div",1),e.nrm(2,"app-author-pic"),e.j41(3,"div",2),e.EFF(4,"Equidia"),e.k0s(),e.DNE(5,f,2,1,"div",3),e.k0s(),e.j41(6,"div",4),e.SdG(7),e.k0s()()),2&i&&(e.R7$(5),e.Y8G("ngIf",a.publishedAt))},dependencies:[c.bT,l.h],styles:["[_ngcontent-%COMP%]::root{--global-font-color: #fff}.feed-card[_ngcontent-%COMP%]{padding:15px 13px;max-width:100%;width:355px;background:#fff;border:1px solid #dce1e7;border-radius:5px;margin-bottom:10px}.feed-card[_ngcontent-%COMP%]   .feed-card--header[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:15px}.feed-card[_ngcontent-%COMP%]   .feed-card--header[_ngcontent-%COMP%]   .feed-card--header--avatar[_ngcontent-%COMP%]{height:35px;width:35px;padding:5px;background:#f62741;margin-right:12px;border-radius:50%}.feed-card[_ngcontent-%COMP%]   .feed-card--header[_ngcontent-%COMP%]   .feed-card--header--name[_ngcontent-%COMP%]{font-size:16px;line-height:19px;color:#090a3a}.feed-card[_ngcontent-%COMP%]   .feed-card--header[_ngcontent-%COMP%]   .feed-card--header--time[_ngcontent-%COMP%]{font-size:12px;line-height:14px;margin-left:auto}"]})}return t})(),x=(()=>{class t{ngOnChanges(){}static#e=this.\u0275fac=function(i){return new(i||t)};static#n=this.\u0275cmp=e.VBU({type:t,selectors:[["app-info-feed-urgent"]],inputs:{message:"message"},features:[e.OA$],decls:3,vars:2,consts:[[3,"publishedAt"],[1,"feed-card--message"],[3,"innerHtml"]],template:function(i,a){1&i&&(e.j41(0,"app-info-feed-card",0)(1,"div",1),e.nrm(2,"div",2),e.k0s()()),2&i&&(e.Y8G("publishedAt",a.message.updated_at),e.R7$(2),e.Y8G("innerHtml",a.message.content,e.npT))},dependencies:[h],styles:["[_ngcontent-%COMP%]::root{--global-font-color: #fff}.feed-card--message[_ngcontent-%COMP%]{font-size:14px;line-height:16px;color:#090a3a;margin-bottom:10px}"]})}return t})();var m=o(1898),M=o(5144);const y=t=>({utm_source:"intern",utm_medium:"news_feed",utm_campaign:t}),F=t=>({width:150,ratio:t});function v(t,s){if(1&t&&e.nrm(0,"img",6),2&t){const n=e.XpG(2);e.Y8G("ngSrc",n.imgUrl)("loaderParams",e.eq3(2,F,16/9))}}function I(t,s){if(1&t&&(e.j41(0,"app-info-feed-card",1)(1,"div",2),e.EFF(2),e.k0s(),e.j41(3,"a",3)(4,"h3",4),e.EFF(5),e.k0s(),e.j41(6,"div",5),e.DNE(7,v,1,4,"img",6),e.k0s()()()),2&t){const n=e.XpG();e.Y8G("publishedAt",null==n.content?null:n.content.published_at),e.R7$(2),e.SpI(" ",n.content.chapo," "),e.R7$(),e.FCK("routerLink","/articles/",null==n.article.category||null==n.article.category.translations.fr_FR?null:n.article.category.translations.fr_FR.slug,"/",null==n.article.translations.fr_FR?null:n.article.translations.fr_FR.slug,""),e.Y8G("queryParams",e.eq3(8,y,n.contentType)),e.R7$(2),e.JRh(n.content.title),e.R7$(2),e.vxM(7,n.imgUrl?7:-1)}}let b=(()=>{class t{constructor(n){this._contentTypeService=n,this.contentType=null,this.imgUrl=null,this.apiUrl="https://equidia-vodce-p-api.hexaglobe.net"}ngOnInit(){this.contentType=this._contentTypeService.contentType}ngOnChanges(n){!n.article||!n.article.currentValue||(this.content=this.article.translations.fr_FR,this.imgUrl=this.getImgUrl())}getImgUrl(){return this.article.image_preview_path?this.article.image_preview_path:this.article.image_path?this.article.image_path:this.article.video_asset_id?this.getThumbnailUrl(this.article.video_asset_id):null}getThumbnailUrl(n){return this.apiUrl+"/thumbs/"+n+"-1.jpg"}static#e=this.\u0275fac=function(i){return new(i||t)(e.rXU(m.n))};static#n=this.\u0275cmp=e.VBU({type:t,selectors:[["app-info-feed-article"]],inputs:{article:"article"},features:[e.OA$],decls:1,vars:1,consts:[[3,"publishedAt",4,"ngIf"],[3,"publishedAt"],[1,"feed-card--chapo"],[1,"feed-card--description",3,"routerLink","queryParams"],[1,"feed-card--title"],[1,"feed-card--picture"],["fill","","alt","","sizes","150px","ngSrcset","300w, 150w",3,"ngSrc","loaderParams"]],template:function(i,a){1&i&&e.DNE(0,I,8,10,"app-info-feed-card",0),2&i&&e.Y8G("ngIf",a.content)},dependencies:[c.bT,M.Wk,c.kt,h],styles:['[_ngcontent-%COMP%]::root{--global-font-color: #fff}.feed-card--chapo[_ngcontent-%COMP%]{padding-bottom:10px;border-bottom:1px solid #dce1e7;margin-bottom:8px}.feed-card--description[_ngcontent-%COMP%]{display:flex}.feed-card--picture[_ngcontent-%COMP%]{position:relative;background-color:#dce1e7;background-position:center;background-size:cover;min-width:150px;width:150px;height:84px;border-radius:5px;overflow:hidden}.feed-card--picture[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background-image:linear-gradient(.03deg,#090a3a .02%,#090a3a00 68.4%);z-index:10}.feed-card--title[_ngcontent-%COMP%]{font-family:Saira;font-weight:700;font-size:16px;line-height:20px;color:#090a3a;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;max-height:80px;overflow:hidden;margin-right:3px}']})}return t})();var T=o(2414);const E=t=>({utm_source:"intern",utm_medium:"news_feed",utm_campaign:t});function G(t,s){if(1&t&&(e.j41(0,"span",12),e.nrm(1,"app-discipline",13),e.k0s()),2&t){const n=e.XpG(2);e.R7$(),e.Y8G("config",null==n.message.course?null:n.message.course.discipline)}}function R(t,s){if(1&t&&(e.j41(0,"div",14)(1,"span"),e.EFF(2),e.k0s()()),2&t){const n=e.XpG(2);e.R7$(2),e.JRh(null==n.message||null==n.message.course||null==n.message.course.reunion||null==n.message.course.reunion.hippodrome?null:n.message.course.reunion.hippodrome.
1name)}}function k(t,s){if(1&t&&(e.j41(0,"p",15),e.EFF(1),e.k0s()),2&t){const n=e.XpG(2);e.R7$(),e.SpI(" ",null==n.message.course?null:n.message.course.libcourt_prix_course," ")}}function A(t,s){if(1&t&&(e.j41(0,"a",3)(1,"div",4),e.DNE(2,G,2,1,"span",5),e.j41(3,"span",6),e.EFF(4),e.k0s()(),e.j41(5,"div",7),e.DNE(6,R,3,1,"div",8)(7,k,2,1,"p",9),e.k0s(),e.j41(8,"div",10)(9,"span",11),e.EFF(10,"arrow_right"),e.k0s()()()),2&t){const n=e.XpG();e.Y8G("routerLink",n.message.url_course)("queryParams",e.eq3(7,E,n.contentType)),e.R7$(2),e.Y8G("ngIf",null==n.message.course?null:n.message.course.discipline),e.R7$(2),e.Lme("R",null==n.message?null:n.message.num_reunion,"C",null==n.message?null:n.message.num_course,""),e.R7$(2),e.Y8G("ngIf",null==n.message.course||null==n.message.course.reunion||null==n.message.course.reunion.hippodrome?null:n.message.course.reunion.hippodrome.name),e.R7$(),e.Y8G("ngIf",null==n.message.course?null:n.message.course.libcourt_prix_course)}}let $=(()=>{class t{constructor(n){this._contentTypeService=n,this.contentType=null}ngOnInit(){this.contentType=this._contentTypeService.contentType}ngOnChanges(){if(this.message?.course?.reunion?.date_reunion&&this.message.num_reunion&&this.message.num_course){const n=this.message.num_course,i=this.message.num_reunion,a=this.message?.course?.reunion.date_reunion;this.message.url_course=`/courses/${a}/R${i}/C${n}`}}static#e=this.\u0275fac=function(i){return new(i||t)(e.rXU(m.n))};static#n=this.\u0275cmp=e.VBU({type:t,selectors:[["app-info-feed-last-minute"]],inputs:{message:"message"},features:[e.OA$],decls:4,vars:3,consts:[[3,"publishedAt"],[1,"feed-card--message"],["class","feed-card--course",3,"routerLink","queryParams",4,"ngIf"],[1,"feed-card--course",3,"routerLink","queryParams"],[1,"feed-card--course--reunion"],["class","feed-card--course--discipline",4,"ngIf"],[1,"feed-card--course--num-course"],[1,"feed-card--course--description"],["class","feed-card--course--description--lieu",4,"ngIf"],["class","feed-card--course--description--prix",4,"ngIf"],[1,"feed-card--course--arrow"],[1,"material-icons"],[1,"feed-card--course--discipline"],[1,"fill-primary-blue",3,"config"],[1,"feed-card--course--description--lieu"],[1,"feed-card--course--description--prix"]],template:function(i,a){1&i&&(e.j41(0,"app-info-feed-card",0)(1,"div",1),e.EFF(2),e.k0s(),e.DNE(3,A,11,9,"a",2),e.k0s()),2&i&&(e.Y8G("publishedAt",a.message.event_date),e.R7$(2),e.SpI(" ",a.message.breaknews," "),e.R7$(),e.Y8G("ngIf",a.message.num_reunion&&a.message.num_course))},dependencies:[c.bT,M.Wk,T.c,h],styles:["[_ngcontent-%COMP%]::root{--global-font-color: #fff}.feed-card--message[_ngcontent-%COMP%]{font-size:14px;line-height:16px;color:#090a3a;margin-bottom:10px}.feed-card--course[_ngcontent-%COMP%]{background:#f9f9f9;border:1px solid #dce1e7;border-radius:5px;padding:13px 14px 13px 12px;display:flex;align-items:center}.feed-card--course[_ngcontent-%COMP%]   .feed-card--course--reunion[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;max-width:36px;margin-right:8px}.feed-card--course[_ngcontent-%COMP%]   .feed-card--course--reunion[_ngcontent-%COMP%]   .feed-card--course--discipline[_ngcontent-%COMP%]{display:block;width:22px}.feed-card--course[_ngcontent-%COMP%]   .feed-card--course--reunion[_ngcontent-%COMP%]   .feed-card--course--discipline[_ngcontent-%COMP%]     app-discipline svg{vertical-align:middle}.feed-card--course[_ngcontent-%COMP%]   .feed-card--course--reunion[_ngcontent-%COMP%]   .feed-card--course--num-course[_ngcontent-%COMP%]{font-family:Saira;font-weight:700;font-size:14px;line-height:22px;color:#090a3a}.feed-card--course[_ngcontent-%COMP%]   .feed-card--course--description[_ngcontent-%COMP%]{font-family:Saira;font-size:14px;line-height:13px;color:#090a3a}.feed-card--course[_ngcontent-%COMP%]   .feed-card--course--description[_ngcontent-%COMP%]   .feed-card--course--description--lieu[_ngcontent-%COMP%]{font-weight:500;text-transform:uppercase;margin:0 0 5px}.feed-card--course[_ngcontent-%COMP%]   .feed-card--course--description[_ngcontent-%COMP%]   .feed-card--course--description--prix[_ngcontent-%COMP%]{font-weight:700;margin:0}.feed-card--course[_ngcontent-%COMP%]   .feed-card--course--arrow[_ngcontent-%COMP%]{margin-left:auto}.feed-card--course[_ngcontent-%COMP%]   .feed-card--course--arrow[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;width:24px}"]})}return t})();function D(t,s){if(1&t&&(e.j41(0,"h3")(1,"span",1)(2,"span",2),e.EFF(3,"rss_feed"),e.k0s(),e.EFF(4,"Fil d'info "),e.k0s()()),2&t){const n=e.XpG();e.AVh("carousel-h3",n.isCarousel())}}function w(t,s){if(1&t&&e.nrm(0,"app-info-feed-article",6),2&t){const n=e.XpG().$implicit;e.Y8G("article",n)}}function B(t,s){if(1&t&&e.nrm(0,"app-info-feed-last-minute",7),2&t){const n=e.XpG().$implicit;e.Y8G("message",n)}}function U(t,s){if(1&t&&e.nrm(0,"app-info-feed-urgent",7),2&t){const n=e.XpG().$implicit;e.Y8G("message",n)}}function Y(t,s){if(1&t&&(e.qex(0),e.DNE(1,w,1,1,"app-info-feed-article",4)(2,B,1,1,"app-info-feed-last-minute",5)(3,U,1,1,"app-info-feed-urgent",5),e.bVm()),2&t){const n=s.$implicit;e.R7$(),e.Y8G("ngIf","Article"===n.entity_type),e.R7$(),e.Y8G("ngIf","LastMinute"===n.entity_type),e.R7$(),e.Y8G("ngIf","Urgent"===n.entity_type)}}
1function j(t,s){if(1&t&&e.DNE(0,Y,4,3,"ng-container",3),2&t){const n=e.XpG();e.Y8G("ngForOf",n.infos)}}function S(t,s){if(1&t&&e.nrm(0,"app-info-feed-article",6),2&t){const n=e.XpG().$implicit;e.Y8G("article",n)}}function L(t,s){if(1&t&&e.nrm(0,"app-info-feed-last-minute",7),2&t){const n=e.XpG().$implicit;e.Y8G("message",n)}}function X(t,s){if(1&t&&e.nrm(0,"app-info-feed-urgent",7),2&t){const n=e.XpG().$implicit;e.Y8G("message",n)}}function z(t,s){if(1&t&&e.DNE(0,S,1,1,"app-info-feed-article",4)(1,L,1,1,"app-info-feed-last-minute",5)(2,X,1,1,"app-info-feed-urgent",5),2&t){const n=s.$implicit;e.Y8G("ngIf","Article"===n.entity_type),e.R7$(),e.Y8G("ngIf","LastMinute"===n.entity_type),e.R7$(),e.Y8G("ngIf","Urgent"===n.entity_type)}}function N(t,s){if(1&t&&(e.j41(0,"app-block-carousel",8),e.Z7z(1,z,3,3,null,null,e.Vm6),e.k0s()),2&t){const n=e.XpG();e.Y8G("carouselId","carousel-infos-feed")("title",null)("videos",n.infos)("nbElement",n.infos.length)("noNav",1===(null==n.infos?null:n.infos.length)),e.R7$(),e.Dyx(n.infos)}}let W=(()=>{class t{constructor(n){this.requestService=n,this.isCarousel=(0,e.hFB)(!1),this.withoutTitle=(0,e.hFB)(!1),this.filterDate=null,this.infos=[]}ngOnInit(){this.requestService.get("fil-info?limit=10").then(n=>{this.infos=n}).catch(console.error)}static#e=this.\u0275fac=function(i){return new(i||t)(e.rXU(d.B))};static#n=this.\u0275cmp=e.VBU({type:t,selectors:[["app-block-info-feed"]],inputs:{isCarousel:[e.Mj6.SignalBased,"isCarousel"],withoutTitle:[e.Mj6.SignalBased,"withoutTitle"]},decls:3,vars:2,consts:[[3,"carousel-h3"],[1,"feed-title"],[1,"material-icons"],[4,"ngFor","ngForOf"],[3,"article",4,"ngIf"],[3,"message",4,"ngIf"],[3,"article"],[3,"message"],[1,"carousel",3,"carouselId","title","videos","nbElement","noNav"]],template:function(i,a){1&i&&e.DNE(0,D,5,2,"h3",0)(1,j,1,1,"ng-container")(2,N,3,5),2&i&&(e.vxM(0,a.withoutTitle?-1:0),e.R7$(),e.vxM(1,a.isCarousel()?a.isCarousel()&&a.infos.length?2:-1:1))},dependencies:[c.Sq,c.bT,r.j,x,b,$],styles:["[_ngcontent-%COMP%]::root{--global-font-color: #fff}[_nghost-%COMP%]{display:block;padding:0 19px}h3[_ngcontent-%COMP%]{display:flex;align-items:center;height:40px}.feed-title[_ngcontent-%COMP%]{display:flex;font-family:Saira;font-weight:700;font-size:16px;line-height:25px;text-transform:uppercase}.feed-title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:24px}.carousel-h3[_ngcontent-%COMP%]{margin-bottom:-36px}[_nghost-%COMP%]     .carousel app-info-feed-article{margin-right:19px}[_nghost-%COMP%]     .carousel .feed-card{min-height:317px}@media (max-width: 395px){[_nghost-%COMP%]     .carousel .feed-card{width:334px}}"]})}return t})()},815:(g,u,o)=>{o.d(u,{n:()=>p});var e=o(177),d=o(5144),c=o(3421),r=o(4563),_=o(4823),l=o(4438);let p=(()=>{class f{static#e=this.\u0275fac=function(m){return new(m||f)};static#n=this.\u0275mod=l.$C({type:f});static#t=this.\u0275inj=l.G2t({providers:[{provide:e.WM,useValue:_.N}],imports:[e.MD,d.iI,c._,r.R]})}return f})()},3148:(g,u,o)=>{o.d(u,{F:()=>c});var e=o(177),d=o(4438);let c=(()=>{class r{static#e=this.\u0275fac=function(p){return new(p||r)};static#n=this.\u0275mod=d.$C({type:r});static#t=this.\u0275inj=d.G2t({imports:[e.MD]})}return r})()},7e3:(g,u,o)=>{o.d(u,{$:()=>c});var e=o(4438),d=o(345);let c=(()=>{class r{constructor(l){this.sanitizer=l}transform(l){return this.sanitizer.bypassSecurityTrustHtml(l)}static#e=this.\u0275fac=function(p){return new(p||r)(e.rXU(d.up,16))};static#n=this.\u0275pipe=e.EJ8({name:"mySafeHtml",type:r,pure:!0})}return r})()}}]);

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.