PageSourceSearch

https://tesial.be/_next/static/chunks/pages/articles/tag/%5Bslug%5D-c9ccf8a592c63389.js

js tesial.be collected 2026-10-02 07:13:46 UTC 8,801 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[172],{39:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(4232),r=i(5062),s=i.n(r),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},a=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),c=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");for(var e,i=arguments.length,n=Array(i),r=0;r<i;r++)n[r]=arguments[r];var s=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(n)));return s.state={},s.styles={ellipsis:{position:"fixed",visibility:"hidden",top:0,left:0}},s.elements={},s.onResize=s.onResize.bind(s),s.onTruncate=s.onTruncate.bind(s),s.calcTargetWidth=s.calcTargetWidth.bind(s),s.measureWidth=s.measureWidth.bind(s),s.getLines=s.getLines.bind(s),s.renderLine=s.renderLine.bind(s),s}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),a(t,[{key:"c
1omponentDidMount",value:function(){var e=this.elements.text,t=this.calcTargetWidth,i=this.onResize,n=document.createElement("canvas");this.canvasContext=n.getContext("2d"),t(function(){e&&e.parentNode.removeChild(e)}),window.addEventListener("resize",i)}},{key:"componentDidUpdate",value:function(e){this.props.children!==e.children&&this.forceUpdate(),this.props.width!==e.width&&this.calcTargetWidth()}},{key:"componentWillUnmount",value:function(){var e=this.elements.ellipsis,t=this.onResize,i=this.timeout;e.parentNode.removeChild(e),window.removeEventListener("resize",t),window.cancelAnimationFrame(i)}},{key:"innerText",value:function(e){var t=document.createElement("div"),i="innerText"in window.HTMLElement.prototype?"innerText":"textContent";t.innerHTML=e.innerHTML.replace(/\r\n|\r|\n/g," ");var n=t[i],r=document.createElement("div");return r.innerHTML="foo<br/>bar","foo\nbar"!==r[i].replace(/\r\n|\r/g,"\n")&&(t.innerHTML=t.innerHTML.replace(/<br.*?[\/]?>/gi,"\n"),n=t[i]),n}},{key:"onResize",value:function(){this.calcTargetWidth()}},{key:"onTruncate",value:function(e){var t=this.props.onTruncate;"function"==typeof t&&(this.timeout=window.requestAnimationFrame(function(){t(e)}))}},{key:"calcTargetWidth",value:function(e){var t=this.elements.target,i=this.calcTargetWidth,n=this.canvasContext,r=this.props.width;if(t){var s=r||Math.floor(t.parentNode.getBoundingClientRect().width);if(!s)return window.requestAnimationFrame(function(){return i(e)});var l=window.getComputedStyle(t);n.font=[l["font-weight"],l["font-style"],l["font-size"],l["font-family"]].join(" "),this.setState({targetWidth:s},e)}}},{key:"measureWidth",value:function(e){return this.canvasContext.measureText(e).width}},{key:"ellipsisWidth",value:function(e){return e.offsetWidth}},{key:"trimRight",value:function(e){return e.replace(/\s+$/,"")}},{key:"getLines",value:function(){for(var e=this.elements,t=this.props,i=t.lines,r=t.ellipsis,s=t.trimWhitespace,l=this.state.targetWidth,a=this.innerText,c=this.measureWidth,o=this.onTruncate,h=this.trimRight,u=[],d=a(e.text).split("\n").map(function(e){return e.split(" ")}),f=!0,p=this.ellipsisWidth(this.elements.ellipsis),m=1;m<=i;m++){var g=d[0];if(0===g.length){u.push(),d.shift(),m--;continue}var _=g.join(" ");if(c(_)<=l&&1===d.length){f=!1,u.push(_);break}if(m===i){for(var v=g.join(" "),y=0,x=v.length-1;y<=x;){var T=Math.floor((y+x)/2);c(v.slice(0,T+1))+p<=l?y=T+1:x=T-1}var j=v.slice(0,y);if(s)for(j=h(j);!j.length&&u.length;)j=h(u.pop());_=n.createElement("span",null,j,r)}else{for(var b=0,w=g.length-1;b<=w;){var k=Math.floor((b+w)/2);c(g.slice(0,k+1).join(" "))<=l?b=k+1:w=k-1}if(0===b){m=i-1;continue}_=g.slice(0,b).join(" "),d[0].splice(0,b)}u.push(_)}return o(f),u}},{key:"renderLine",value:function(e,t,i){if(t===i.length-1)return n.createElement("span",{key:t},e);var r=n.createElement("br",{key:t+"br"});return e?[n.createElement("span",{key:t},e),r]:r}},{key:"render",value:function(){var e=this,t=this.elements.target,i=this.props,r=i.children,s=i.ellipsis,a=i.lines,c=function(e,t){var i={};for(var n in e)!(t.indexOf(n)>=0)&&Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n]);return i}(i,["children","ellipsis","lines"]),o=this.state.targetWidth,h=this.getLines,u=this.renderLine,d=this.onTruncate,f=void 0;return"undefined"!=typeof window&&t&&o&&(a>0?f=h().map(u):(f=r,d(!1))),delete c.onTruncate,delete c.trimWhitespace,n.createElement("span",l({},c,{ref:function(t){e.elements.target=t}}),n.createElement("span",null,f),n.createElement("span",{ref:function(t){e.elements.text=t}},r),n.createElement("span",{ref:function(t){e.elements.ellipsis=t},style:this.styles.ellipsis},s))}}]),t}(n.Component);c.propTypes={children:s().node,ellipsis:s().node,lines:s().oneOfType([s().oneOf([!1]),s().number]),trimWhitespace:s().bool,width:s().number,onTruncate:s().func},c.defaultProps={children:"",ellipsis:"…",lines:1,trimWhitespace:!1,width:0};let o=c},372:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/articles/tag/[slug]",function(){return i(7284)}])},2442:e=>{e.exports={customHr:"ArticleTile_customHr__qltCL",articleTile:"ArticleTile_articleTile__0DmiH",imgClick:"ArticleTile_imgClick__MpT09",tags:"ArticleTile_tags__C2hIX",content:"ArticleTile_content__Nl_2E"}},7124:(e,t,i)=>{"use strict";i.d(t,{A:()=>d});var n=i(7876),r=i(2442),s=i.n(r),l=i(8230),a=i.n(l),c=i(4587),o=i.n(c),h=i(4614),u=i(39);let d=e=>(0,n.jsxs)("li",{className:s().articleTile,children:[(0,n.jsx)(a(),{href:"/article/".concat(e.fields.slug),className:s().imgClick,children:(0,n.jsx)(o(),{src:"https:".concat(e.fields.mainImage.fields.file.url),alt:e.fields.title,fill:!0,style:{objectFit:"contain"},loading:"eager"})}),(0,n.jsx)("p",{className:s().tags,children:(0,n.jsx)("small",{children:e.fields.tags.map(e=>(0,n.jsx)(a(),{href:"/articles/tag/".concat(e.fields.slug),children:(0,n.jsx)("span",{children:e.fields.name})},e.sys.id))})}),(0,n.jsx)(a(),{href:"/article/".concat(e.fields.slug),children:(0,n.jsx)("h4",{children:e.fields.title})}),(0,n.jsx)(a(),{href:"/article/".concat(e.fields.slug),legacyBehavior:!0,children:(0,n.jsx)("div",{className:s().c
1ontent,children:(0,n.jsx)(u.A,{lines:3,ellipsis:(0,n.jsx)("span",{children:"..."}),children:(0,h.i)(e.fields.content)})})}),(0,n.jsx)("p",{children:(0,n.jsxs)(a(),{href:"/article/".concat(e.fields.slug),children:["En savoir plus",(0,n.jsx)("img",{src:"/images/arrow.svg",alt:"arrow link"})]})})]})},7239:e=>{e.exports={customHr:"ArticlesTag_customHr__lepDG",main:"ArticlesTag_main__aJHrD",tagSearched:"ArticlesTag_tagSearched__EE9y6",tagContainer:"ArticlesTag_tagContainer__SP9xe",gridBlocks:"ArticlesTag_gridBlocks__yXfLo",imgClick:"ArticlesTag_imgClick__l_Jpk",tags:"ArticlesTag_tags___NxH_",content:"ArticlesTag_content__6FpGx",more:"ArticlesTag_more__UuftO"}},7284:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSG:()=>p,default:()=>m});var n=i(7876),r=i(9099),s=i(7239),l=i.n(s),a=i(3371),c=i(8230),o=i.n(c),h=i(2867),u=i(9324),d=i.n(u),f=i(7124),p=!0;let m=e=>{let t=(0,r.useRouter)(),{slug:i}=t.query,{publicRuntimeConfig:s}=d()();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.bV,{title:"R\xe9f\xe9rences: "+i+" - Ils nous font confiance",description:"",canonical:s.websiteUrl+t.asPath,openGraph:{url:s.websiteUrl+t.asPath,title:"R\xe9f\xe9rences: "+i+" - Ils nous font confiance",description:"",images:[{url:s.websiteUrl+"/images/tesialSquare.png",width:256,height:256,alt:"Tesial SRL"}],site_name:"Tesial SRL"}}),(0,n.jsx)("div",{className:l().container,children:(0,n.jsx)(a.A,{...e,children:(0,n.jsxs)("main",{className:l().main,children:[(0,n.jsxs)("h1",{className:l().tagSearched,children:['"',i,'"']}),(0,n.jsxs)("ul",{className:l().tagContainer,children:[e.tags.items.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(o(),{href:"/articles/tag/".concat(e.fields.slug),children:e.fields.name})},e.sys.id)),(0,n.jsx)("li",{children:(0,n.jsx)(o(),{href:"/articles",children:"x"})})]}),(0,n.jsx)("ul",{className:l().gridBlocks,children:e.articlesTag.items.map(e=>(0,n.jsx)(f.A,{...e},"item-".concat(e.sys.id)))}),(0,n.jsx)("p",{className:l().more,children:(0,n.jsx)(o(),{href:"/articles/",children:"Plus d'articles"})})]})})})]})}}},e=>{e.O(0,[399,614,371,636,593,792],()=>e(e.s=372)),_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.