(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[522],{8010:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/guide-pratique/[category]",function(){return n(5042)}])},1335:function(e,i,n){"use strict";n.d(i,{D:function(){return MarkdownTrilogy}});var r=n(5893);n(7294);var t=n(1760),s=n(7311);let MarkdownTrilogy=e=>{let{markdownContent:i}=e;return i?(0,r.jsx)("div",{children:(0,s.ZP)((0,t.markdownTrilogy)(i))}):(0,r.jsx)(r.Fragment,{})}},912:function(e,i,n){"use strict";n.d(i,{Z:function(){return CategoryNav}});var r=n(5893),t=n(6331);n(7294);var s=n(1163);function CategoryNav(e){var i;let n,{categories:l}=e,c=(0,s.useRouter)(),o=c.asPath,d=o.split("?")[0],a=d.split("/").pop(),u=(null===(i=l.find(e=>e.slug==a))||void 0===i?void 0:i.name)||"Guide pratique";return n="Guide pratique"==u?"Comprendre, comparer, choisir":"",(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.VMD,{className:"has-pattern-dark",style:{height:227},children:(0,r.jsxs)(t.W20,{fluid:!0,centered:!0,children:[(0,r.jsx)(t.s01,{inverted:!0,level:t.Cqk.LEVEL1,typo:t._5p.TEXT_CENTERED,children:u}),""!=n&&(0,r.jsx)(t.Dxz,{subtitle:!0,style:{textAlign:"center"},children:n})]})}),(0,r.jsx)(t.$0h,{background:t.NkQ.WHITE,paddingless:!0,children:(0,r.jsx)(t.W20,{fluid:!0,children:(0,r.jsx)(t.oeA,{inlined:!0,marginless:!0,children:(0,r.jsxs)(t.mQc,{marginless:!0,children:[(0,r.jsx)(t.LM1,{routerLink:"a",href:"/guide-pratique",active:"Guide pratique"===u,children:"Sommaire"}),l.sort((e,i)=>e.name.localeCompare(i.name)).map((e,i)=>(0,r.jsx)(t.LM1,{href:"/guide-pratique/".concat(e.slug),tabIndex:i,routerLink:"a",active:u===e.name,children:e.name},i))]})})})})]})}},7381:function(e,i,n){"use strict";n.d(i,{Z:function(){return Footnote}});var r,t,s=n(5893),l=n(6331);function Footnote(){return(0,s.jsx)(l.$0h,{background:l.NkQ.GREY_LIGHTER,size:t.LARGE,children:(0,s.jsx)(l.W20,{children:(0,s.jsxs)(l.oeA,{multiline:!0,children:[(0,s.jsx)(l.nld,{size:4,children:(0,s.jsxs)(l.Dxz,{level:l.ji.TWO,children:["Pour vous accompagner,",(0,s.jsx)("br",{}),"les meilleurs articles sont ",(0,s.jsx)("br",{})," sur Bouygues Telecom"]})}),(0,s.jsx)(l.nld,{children:(0,s.jsx)(l.Zbd,{children:(0,s.jsxs)(l.aYP,{children:[(0,s.jsx)(l.JO$,{name:l.uHH.COMMENTS_QUESTION_DOTS,size:l.JhL.MEDIUM}),(0,s.jsx)(l.Dxz,{level:l.ji.THREE,children:"\xc9coute"}),(0,s.jsx)(l.xvT,{level:l.MFh.ONE,children:"Nous \xe9coutons vos questions, pour y apporter des r\xe9ponses simples et pr\xe9cises."})]})})}),(0,s.jsx)(l.nld,{children:(0,s.jsx)(l.Zbd,{children:(0,s.jsxs)(l.aYP,{children:[(0,s.jsx)(l.JO$,{name:l.uHH.USER_HEADSET,size:l.JhL.MEDIUM}),(0,s.jsx)(l.Dxz,{level:l.ji.THREE,children:"Expertise"}),(0,s.jsx)(l.xvT,{level:l.MFh.ONE,children:"Nous testons les derni\xe8res nouveaut\xe9s, pour vous aider \xe0 choisir les meilleurs produits."})]})})}),(0,s.jsx)(l.nld,{children:(0,s.jsx)(l.Zbd,{children:(0,s.jsxs)(l.aYP,{children:[(0,s.jsx)(l.JO$,{name:l.uHH.LIGHTBULB_ON,size:l.JhL.MEDIUM}),(0,s.jsx)(l.Dxz,{level:l.ji.THREE,children:"Conseil"}),(0,s.jsx)(l.xvT,{level:l.MFh.ONE,children:"Nous d\xe9cryptons l'actualit\xe9 high-tech, pour vous offrir des conseils pratiques."})]})})})]})})})}(r=t||(t={})).SMALL="small",r.MEDIUM="medium",r.LARGE="large"},2329:function(e,i,n){"use strict";n.d(i,{Z:function(){return NotFound}});var r=n(5893),t=n(6331);function NotFound(){return(0,r.jsx)(t.$0h,{children:(0,r.jsxs)(t.W20,{children:[(0,r.jsx)(t.s01,{typo:t._5p.TEXT_CENTERED,children:"404 - Page Not Found"}),(0,r.jsx)(t.xvT,{typo:t._5p.TEXT_CENTERED,children:"Sorry, the page you are looking for could not be found."})]})})}},5042:function(e,i,n){"use strict";n.r(i),n.d(i,{__N_SSG:function(){return h},default:function(){return Index}});var r=n(5893),t=n(6331),s=n(7294),l=n(7381),c=n(912),o=n(1335),d=n(2329),a=n(9008),u=n.n(a),h=!0;function Index(e){var i;let{category:n,categories:a,articles:h,pagination:x,api_url_client:j}=e,[g,f]=(0,s.useState)(h),[p,E]=(0,s.useState)(x),[m,v]=(0,s.useState)(!1),[T,_]=(0,s.useState)(1),handlePageClick=e=>{_(e),v(!0)};return((0,s.useEffect)(()=>{if(m){let e;e=isNaN(Number(T))||1>Number(T)?0:(Number(T)-1)*15;let fetchCSR=async()=>{let i=await fetch("".concat(j,"/statics/Palpatine_Guide_Pratique_API/guide_pratique_article?filterByKey=categorie.slug&filterByValue=").concat(n.slug,"&offset=").concat(e,"&limit=").concat(15)),r=await i.json();f(r.items),E(r.pagination)};fetchCSR()}},[m]),(0,s.useEffect)(()=>{if(m){let e=document.getElementById("scroll-id"),i=null==e?void 0:e.offsetTop;i&&window.scroll({top:i-window.innerHeight/2,left:0,behavior:"instant"}),v(!1)}},[g]),void 0===n)?(0,r.jsx)(d.Z,{}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(u(),{children:[(0,r.jsx)("title",{children:n.name+" | Bouygues Telecom"}),(0,r.jsx)("meta",{name:"description",content:n.subtitle}),(0,r.jsx)("link",{rel:"canonical",href:"https://bouyguestelecom.fr/guide-pratique/".concat(n.slug)})]}),(0,r.jsx)(c.Z,{categories:a}),(0,r.jsx)(t.$0h,{background:t.NkQ.WHITE,children:(0,r.jsxs)(t.W20,{fluid:!0,centered:!0,children:[(0,r.jsx)(t.Dxz,{level:t.ji.ONE,typo:t._5p.TEXT_CENTERED,children:"Notre s\xe9lection"}),(0,r.jsx)(t.oeA,{centered:!0,children:(0,r.jsx)(t.nld,{size:9,centered:!0,children:(0,r.jsx)(o.D,{markdownContent:null==n?void 0:n.subtitle})})})]})}),(0,r.jsx)("div",{id:"article-section",children:(0,r.jsx)(t.$0h,{background:t.NkQ.WHITE,children:(0,r.jsxs)(t.W20,{fluid:!0,children:[(0,r.jsxs)(t.xvT,{level:t.MFh.TWO,children:[p.total_records," articles"]}),(0,r.jsx)(t.izJ,{})]})})}),(0,r.jsx)(t.$0h,{background:t.NkQ.WHITE,children:(0,r.jsx)(t.W20,{fluid:!0,children:(0,r.jsx)(t.oeA,{multiline:!0,children:null==g?void 0:null===(i=g.sort((e,i)=>new Date(i.date_modification).getTime()-new Date(e.date_modification).getTime()))||void 0===i?void 0:i.map((e,i)=>{var n;return(0,r.jsx)(t.nld,{touchSize:6,desktopSize:4,children:(0,r.jsxs)(t.Zbd,{fullheight:!0,floating:!0,onClick:()=>window.location.href="/guide-pratique/".concat(e.categorie.slug,"/").concat(e.slug),children:[(0,r.jsx)(t.xuS,{src:(null==e?void 0:null===(n=e.image)||void 0===n?void 0:n.public_url)||"",contain:!0,alt:" ",className:"custom-card-image",onClick:()=>window.location.href="/guide-pratique/".concat(e.categorie.slug,"/").concat(e.slug)}),(0,r.jsx)(t.aYP,{children:(0,r.jsxs)(t.QZq,{children:[(0,r.jsx)(t.aD4,{children:(0,r.jsx)(t.Dxz,{level:t.ji.THREE,children:(0,r.jsx)(o.D,{markdownContent:e.titre})})}),(0,r.jsx)(t.aD4,{narrow:!0,children:(0,r.jsx)(t.rUS,{href:"/guide-pratique/".concat(e.categorie.slug,"/").concat(e.slug),children:"Lire l'article"})})]})})]})},i)})})})}),p.total_pages>1&&(0,r.jsx)(t.$0h,{background:t.NkQ.WHITE,children:(0,r.jsx)("div",{id:"scroll-id",children:(0,r.jsx)(t.W20,{children:(0,r.jsx)(t.tlE,{count:x.total_records,defaultPage:x.current_page,pageSize:15,onClick:e=>{handlePageClick(e.currentPage)}})})})}),(0,r.jsx)(l.Z,{})]})}},1163:function(e,i,n){e.exports=n(8355)}},function(e){e.O(0,[296,420,774,888,179],function(){return e(e.s=8010)}),_N_E=e.O()}]);