PageSourceSearch

https://www.bestrong-app.com/_next/static/chunks/pages/mon-compte/b-academy/derniers-d7204e11b55eeb2c.js

js bestrong-app.com collected 2026-10-02 15:46:23 UTC 5,613 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1442],{1255:(e,s,a)=>{"use strict";a.d(s,{A:()=>o});var t=a(37876),i=a(62855),l=a(23839),c=a(48230),n=a.n(c);a(14232);var d=a(7385);a(13226);let r=()=>(0,t.jsx)("svg",{fill:"none",height:"22",stroke:"#0f1115",strokeWidth:"2",viewBox:"0 0 24 24",width:"22",children:(0,t.jsx)("path",{d:"M15 18l-6-6 6-6",strokeLinecap:"round",strokeLinejoin:"round"})}),o=({title:e,posts:s,isLoading:a,onBack:c})=>{let{hasAccess:o}=(0,l.A)();return(0,t.jsx)(i.A,{children:(0,t.jsxs)("div",{className:"bacademy-container",children:[(0,t.jsxs)("div",{className:"bacademy-header",children:[c?(0,t.jsx)("button",{"aria-label":"Retour",className:"bacademy-header__back",onClick:c,type:"button",children:(0,t.jsx)(r,{})}):(0,t.jsx)(n(),{href:"/mon-compte/b-academy",legacyBehavior:!0,children:(0,t.jsx)("a",{"aria-label":"Retour",className:"bacademy-header__back",children:(0,t.jsx)(r,{})})}),(0,t.jsx)("h1",{className:"bacademy-header__title",children:e}),(0,t.jsx)("div",{className:"bacademy-header__actions"})]}),(0,t.jsx)("div",{className:"bacademy-content",children:a&&0===s.length?(0,t.jsx)("div",{className:"bacademy-posts__grid",children:[1,2,3,4,5,6].map(e=>(0,t.jsxs)("div",{className:"post-tile post-tile--skeleton",children:[(0,t.jsx)("div",{className:"post-tile__image-wrapper",children:(0,t.jsx)("div",{className:"post-tile__image-placeholder"})}),(0,t.jsxs)("div",{className:"post-tile__content",children:[(0,t.jsx)("div",{className:"skeleton",style:{width:"100%",height:18,marginBottom:8}}),(0,t.jsx)("div",{className:"skeleton",style:{width:"70%",height:14}})]})]},e))}):s.length>0?(0,t.jsx)("div",{className:"bacademy-posts__grid",children:s.map((e,s)=>(0,t.jsx)(d.A,{hasAccess:o,onClick:()=>{e.slug&&(window.location.href=`/mon-compte/b-academy/${e.slug}`)},post:e},e.uuid||e.slug||e.id||s))}):(0,t.jsxs)("div",{className:"bacademy-empty",children:[(0,t.jsx)("h3",{className:"bacademy-empty__title",children:"Aucun article disponible"}),(0,t.jsx)("p",{className:"bacademy-empty__description",children:"Reviens plus tard pour decouvrir de nouveaux contenus"})]})})]})})}},7385:(e,s,a)=>{"use strict";a.d(s,{A:()=>n});var t=a(37876),i=a(44030),l=a(14232);let c=()=>(0,t.jsx)("svg",{fill:"currentColor",height:"20",viewBox:"0 0 24 24",width:"20",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M12 2L2 9l10 13 10-13-10-7zM12 4.5L18.5 9H5.5L12 4.5z"})}),n=({post:e,hasAccess:s,onClick:a})=>{var n;let[d,r]=(0,l.useState)(!1),[o,h]=(0,l.useState)(!1),m=e.isFree||!1,_=(0,i.yT)(e.imageVariants,e.image,"md"),p=(0,i.yT)(e.imageVariants,e.image,"url"),{src:u,onError:g}=(0,i.jK)(_,p),x=u&&!o?u:"/static/images/bestrong-logo-black.svg",j=!!u&&!o,v=(0,l.useCallback)(()=>{u&&p&&u!==p?g():(h(!0),r(!0))},[u,p,g]),N=(0,l.useCallback)(()=>{a()},[a]);return(0,t.jsxs)("div",{className:"post-tile",onClick:N,children:[(0,t.jsxs)("div",{className:"post-tile__image-wrapper",children:[!d&&!o&&(0,t.jsx)("div",{className:"post-tile__image-placeholder"}),(0,t.jsx)("img",{alt:e.title,className:`post-tile__image ${d||o?"post-tile__image--loaded":""} ${!j?"post-tile__image--fallback":""}`,loading:"lazy",onError:v,onLoad:()=>r(!0),src:x}),(0,t.jsx)("span",{"aria-hidden":!0,className:"post-tile__scrim"}),e.isNew&&(0,t.jsx)("span",{className:"post-tile__badge",children:"Nouveau"}),!m&&!s&&(0,t.jsx)("div",{className:"post-tile__premium",children:(0,t.jsx)(c,{})}),(0,t.jsxs)("div",{className:"post-tile__overlay-content",children:[(0,t.jsx)("h3",{className:"post-tile__title",children:(n=e.title)?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():""}),e.subtitle&&(0,t.jsx)("p",{className:"post-tile__subtitle",children:e.subt
1itle})]})]}),!(m||s)&&(0,t.jsx)("div",{"aria-hidden":!0,className:"post-tile__lock-overlay"})]})}},13226:()=>{},21296:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/mon-compte/b-academy/derniers",function(){return a(68017)}])},58908:()=>{},62855:(e,s,a)=>{"use strict";a.d(s,{A:()=>l});var t=a(37876);a(14232),a(58908);let i=({children:e,className:s})=>(0,t.jsx)("div",{className:`account-page${s?` ${s}`:""}`,children:e});i.Header=({children:e,className:s=""})=>(0,t.jsx)("div",{className:`account-page__header ${s}`,children:e}),i.Heading=({children:e,className:s=""})=>(0,t.jsx)("h1",{className:`account-page__heading ${s}`,children:e}),i.Title=({children:e})=>(0,t.jsx)("div",{className:"account-page__header",children:(0,t.jsx)("h1",{className:"account-page__heading account-page__title",children:e})}),i.Content=({children:e,hasMaxWidth:s,className:a=""})=>(0,t.jsx)("div",{className:`account-page__content${s?" account-page__content--constrained":""} ${a}`,children:e}),i.ContentWithoutRightPadding=({children:e})=>(0,t.jsx)("div",{className:"account-page__content account-page__content--rail",children:e}),i.ContentFullWidth=({children:e,className:s})=>(0,t.jsx)("div",{className:`account-page__full-width ${s||""}`,children:e});let l=i},68017:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>_});var t=a(37876),i=a(1255),l=a(42321),c=a(71994),n=a(77328),d=a.n(n),r=a(14232),o=a(48011),h=a(3921),m=a(52227);let _=(0,a(57327).A)(()=>{let e=(0,o.wA)(),s=(0,o.d4)(e=>e.posts?.lastPosts||[]),a=(0,o.d4)(e=>e.posts?.isFetchingLastPosts||!1);return(0,r.useEffect)(()=>{s.length||e(c.q1.lastPostsRequest())},[e,s.length]),(0,t.jsxs)(l.A,{children:[(0,t.jsx)(d(),{children:(0,t.jsx)("title",{children:`${m.A.DEV?"DEV - ":""}Derniers articles - ${h.i18n.t("SEO.BASE.TITLE")}`})}),(0,t.jsx)(i.A,{isLoading:a,posts:s,title:"Derniers articles"})]})})}},e=>{e.O(0,[709,9930,1119,5489,636,6593,8792],()=>e(e.s=21296)),_N_E=e.O()}]);

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.