PageSourceSearch

https://www.inside-lyon.com/_next/static/chunks/pages/category/[slug]-ee9604976d623d46.js

js inside-lyon.com collected 2026-10-04 13:32:40 UTC 7,316 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24],{8475:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/category/[slug]",function(){return r(9822)}])},864:function(e,t){"use strict";t.Z={src:"/_next/static/media/hp-une.3b7a3191.svg",height:323,width:235,blurWidth:0,blurHeight:0}},5830:function(e,t,r){"use strict";var n=r(1527),o=r(108),a=r(1721),l=r(4151),c=r.n(l),i=r(7841),s=r.n(i),u=r(2065),d=r(864);let h={hoverBackgroundColor:{primary:"hover:before:bg-pink hover:after:bg-pink",secondary:"hover:before:bg-coral hover:after:bg-coral",tertiary:"hover:before:bg-orange hover:after:bg-orange"},hoverTextColor:{primary:"hover:text-coral",secondary:"hover:text-orange",tertiary:"hover:text-pink"},textColor:{primary:"text-pink",secondary:"text-coral",tertiary:"text-orange"},hoverButtonColor:{primary:"hover:bg-coral",secondary:"hover:bg-orange",tertiary:"hover:bg-pink"},buttonVariant:{primary:"pink",secondary:"coralBis",tertiary:"orange"}},x=e=>{var t;let{author:r,date:l,excerpt:i,featuredImage:x,slug:m,title:f,category:p,variant:v,index:g}=e,b=(0,u.Z)(l),y=a.Pi[a.y7.backgroundColor[v]];return(0,n.jsxs)("div",{className:"flex flex-col mt-10 md:mt-20 relative",children:[1===g&&(0,n.jsx)(c(),{src:d.Z,alt:"Une",width:235,height:323,className:"hidden lg:block lg:absolute bottom-60 -left-[270px]"}),(0,n.jsx)(s(),{href:"/".concat(m),children:(0,n.jsx)("h2",{className:"".concat(h.textColor[v]," text-[24px] md:text-4xl font-bold mb-1 md:mb-4 ").concat(h.hoverTextColor[v]),children:f})}),(0,n.jsxs)("p",{className:"mb-8 md:mb-10 text-[14px] md:text-[18px] ".concat(h.textColor[v]),children:[p," | Derni\xe8re mise \xe0 jour le ",b," par"," ",null==r?void 0:null===(t=r.node)||void 0===t?void 0:t.name]}),x&&(0,n.jsx)(s(),{href:"/".concat(m),children:(0,n.jsx)("div",{className:"relative w-full cursor-pointer ".concat(y," ").concat(h.hoverBackgroundColor[v]),children:(0,n.jsx)(c(),{width:970,height:513,src:x.node.sourceUrl,alt:x.node.altText,className:"z-10 md:h-[513px] h-auto w-full object-cover"})})}),i&&(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:i.substring(0,280).split(" ").slice(0,-1).join(" ")+"..."},className:"mt-12 font-base mb-10"}),(0,n.jsx)(o.Z,{link:"/".concat(m),variant:h.buttonVariant[v],text:"Lire l'article",className:"w-fit ".concat(h.hoverButtonColor[v])}),(0,n.jsx)("div",{className:"w-full h-[1px] bg-lightPink mt-10"})]})};t.Z=x},8128:function(e,t,r){"use strict";var n=r(1527),o=r(7841),a=r.n(o),l=r(2274),c=r(6873),i=r(7206),s=r(5421),u=r(57);let d=e=>e?e.charAt(0).toUpperCase()+e.slice(1):e,h=e=>{let{title:t,variant:r="default"}=e,o=(0,c.useRouter)(),h=o.asPath,x="primary"===r?"text-coral":"text-bodyA99",m=h.split("?")[0].split("/").filter(Boolean),f=[{name:"Accueil",url:"".concat(u._O,"/")}];return m.length>1&&f.push({name:d(decodeURIComponent(m[0])),url:"".concat(u._O,"/").concat(m[0])}),f.push({name:t,url:m.length?"".concat(u._O,"/").concat(m.join("/")):"".concat(u._O,"/")}),(0,n.jsxs)(l.Z,{children:[(0,n.jsx)(i.Z,{data:(0,s.ij)(f)}),(0,n.jsx)("p",{className:"".concat("primary"===r?"text-poisedPeach":"text-bodyA69"," text-base font-adrianna font-light mb-5"),children:(0,n.jsxs)("span",{children:[(0,n.jsx)("span",{children:(0,n.jsx)(a(),{href:"/",className:x,children:"Accueil"})}),"\xa0\xbb\xa0",h.split("/").length>2&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{children:(0,n.jsx)(a(),{href:"/".concat(h.split("/")[1]),className:"".concat(x," capitalize"),children:h.split("/")[1]})}),"\xa0\xbb\xa0"]}),(0,n.jsx)("span",{"aria-current":"page",children:t})]})})]})};t.Z=h},9822:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return h},default:function(){return x}});var n=r(1527),o=r(2274),a=r(6103),l=r(8128),c=r(5830),i=r(4391),s=r(7841),u=r.n(s),d=r(8564),h=!0;function x(e){var t,r;let{data:s,category:h,preview:x}=e,m=((null==s?void 0:s.edges)||[]).map(e=>{let{node:t}=e;return t}),f=(null==h?void 0:h.charAt(0).toUpperCase())+(null==h?void 0:h.replace(/-/g," ").slice(1));return(0,n.jsx)(a.Z,{preview:x,children:(0,n.jsxs)("article",{children:[(0,n.jsx)(d.Z,{title:"".concat(f," : tous les articles • Inside Lyon"),description:"Tous les articles Inside Lyon sur le th\xe8me ".concat(f," : nos coups de cœur, bonnes adresses et bons plans \xe0 Lyon."),image:null===(t=m.find(e=>{var t,r;return null==e?void 0:null===(t=e.featuredImage)||void 0===t?void 0:null===(r=t.node)||void 0===r?void 0:r.sourceUrl}))||void 0===t?void 0:null===(r=t.featuredImage)||void 0===r?void 0:r.no
1de.sourceUrl}),(0,n.jsx)(l.Z,{title:f}),(0,n.jsxs)(o.Z,{children:[(0,n.jsxs)("h1",{className:"text-bodyA99 leading-snug font-bold text-[28px] md:text-[48px]",id:"categoryIntro",children:[f," : tous les articles Inside Lyon"]}),(0,n.jsx)(u(),{href:"#categoryIntro",className:"fixed right-4 z-10 bottom-48",scroll:!1,children:(0,n.jsx)("div",{className:"flex items-center p-3 bg-orange rounded-full w-14 h-14",children:(0,n.jsx)("img",{src:"/svg/leftchevron.svg",alt:"leftchevron",className:"rotate-90"})})})]}),(0,n.jsx)(o.Z,{variant:"small",children:(0,n.jsx)("div",{className:"flex flex-col w-full",children:m.map((e,t)=>{var r;let{author:o,modified:a,excerpt:l,featuredImage:s,slug:u,title:d,postContent:h}=e;return(0,n.jsx)(c.Z,{author:o,date:a,excerpt:l||(null===(r=h.flexible.find(e=>"Post_Postcontent_Flexible_Text"===e.fieldGroupName))||void 0===r?void 0:r.text),featuredImage:s,slug:u,title:d,category:f,variant:(0,i.Z)(t),index:t},u)})})})]})})}},2065:function(e,t,r){"use strict";function n(e){if(!e)return;let t=new Date(e),r=Intl.DateTimeFormat("fr",{year:"numeric",month:"long",day:"numeric"}).format(t);return r}r.d(t,{Z:function(){return n}})},4391:function(e,t){"use strict";let r=e=>e%3==0?"primary":e%3==1?"secondary":e%3==2?"tertiary":void 0;t.Z=r},847:function(e,t,r){"use strict";r.d(t,{w_:function(){return i}});var n=r(959),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=n.createContext&&n.createContext(o),l=function(){return(l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function i(e){return function(t){return n.createElement(s,l({attr:l({},e.attr)},t),function e(t){return t&&t.map(function(t,r){return n.createElement(t.tag,l({key:r},t.attr),e(t.child))})}(e.child))}}function s(e){var t=function(t){var r,o=e.attr,a=e.size,i=e.title,s=c(e,["attr","size","title"]),u=a||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,s,{className:r,style:l(l({color:e.color||t.color},t.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),i&&n.createElement("title",null,i),e.children)};return void 0!==a?n.createElement(a.Consumer,null,function(e){return t(e)}):t(o)}}},function(e){e.O(0,[219,292,379,774,888,179],function(){return e(e.s=8475)}),_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.