PageSourceSearch

https://www.cdt.ch/_next/static/chunks/pages/tag/[name]-4b9f2553b1f12c65.js

js cdt.ch collected 2026-09-24 09:10:14 UTC 5,821 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9398],{19178:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tag/[name]",function(){return a(49613)}])},26724:function(e,t,a){"use strict";var n=a(85893),s=a(67294),i=a(55567),r=a(38358),o=a(20469),c=a(205),l=a(9008),d=a.n(l),u=a(66386),g=a(16177),p=a(34394),v=a(5152),h=a.n(v),f=h()((function(){return a.e(3500).then(a.bind(a,83500))}),{loadableGenerated:{webpack:function(){return[83500]}},ssr:!1}),x=h()((function(){return Promise.all([a.e(260),a.e(7237),a.e(7646),a.e(4179)]).then(a.bind(a,40799))}),{loadableGenerated:{webpack:function(){return[40799]}},ssr:!1});t.Z=function(e){var t=e.children,a=e.ads,l=void 0===a||a,v=e.breaking,h=e.header,m=e.pageTitle,j=e.pageDescription,k=e.backgroundColor,w=e.page,b=e.story,N=e.headerNav,_=e.recoveryPasswordScript,C=(0,s.useContext)(g.Z);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(d(),{children:[m&&(0,n.jsxs)("title",{children:[m," "]}),j&&(0,n.jsx)("meta",{name:"description",content:j})]}),(0,n.jsx)(x,{header:h,backgroundColor:k,userCtx:C,sections:null!==N&&void 0!==N&&N.navfullsections?N.navfullsections:[],navsections:null!==N&&void 0!==N&&N.navsections?N.navsections:[],trendings:null!==N&&void 0!==N&&N.trendings?N.trendings:[]}),(0,n.jsx)(f,{live:null===N||void 0===N?void 0:N.live}),(0,n.jsxs)("main",{className:"promotional",children:[(0,n.jsx)(i.Z,{type:"menu",children:(0,n.jsx)(r.Z,{linkSections:null!==N&&void 0!==N&&N.navfulllinks?N.navfulllinks:[],fullSections:null!==N&&void 0!==N&&N.navfullsections?N.navfullsections:[]})}),(0,n.jsxs)("div",{className:"cdt-box row ",children:[(0,n.jsxs)("div",{className:"center",children:[v&&v.stories&&v.stories.length>=1&&(0,n.jsx)(o.Z,{type:"breaking",link:v.stories[0].URL,title:v.stories[0].title}),(0,n.jsx)(p.nA,{condition:l,children:(0,n.jsx)("div",{className:"wideboard",children:(0,n.jsx)("div",{className:"adv-margin",id:"adnz_wideboard_1"})})}),(0,n.jsxs)("div",{className:"container",children:[t,(0,n.jsx)(u.Z,{pageDescription:j,pageType:w,pageTitle:m,header:h,story:b,recoveryPasswordScript:_,removeBusinnessClick:!l,headerNav:N})]}),(0,n.jsx)(c.Z,{linkSections:null!==N&&void 0!==N&&N.navfulllinks?N.navfulllinks:[]})]}),(0,n.jsx)(p.nA,{condition:l,children:(0,n.jsx)("div",{className:"skyscreeper",children:(0,n.jsx)("div",{className:"right-ads",children:(0,n.jsx)("div",{id:"adnz_halfpage_1"})})})})]})]})]})}},52634:function(e,t,a){"use strict";var n=a(47568),s=a(97582),i=a(85893),r=a(11358),o=a.n(r),c=a(9669),l=a.n(c),d=a(23414);t.Z=function(e){var t=e.pageCount,a=e.setCurrentItems,r=e.type,c=e.id,u=e.sort,g=function(){var e=(0,n.Z)((function(e){var t,n,i;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return t=e.selected+1,[4,(0,d.Z)()];case 1:return n=s.sent(),"tag"!==r?[3,3]:[4,l().get("".concat(n,"/tags/").concat(c,"/stories?page=").concat(t)).then((function(e){"ok"==e.data.status&&(a(e.data.data.stories),window.scrollTo(0,0))}))];case 2:return s.sent(),[3,11];case 3:return"author"!==r?[3,5]:[4,l().get("".concat(n,"/journalists/").concat(c,"?page=").concat(t)).then((function(e){"ok"==e.data.status&&(a(e.data.data.stories),window.scrollTo(0,0))}))];case 4:return s.sent(),[3,11];case 5:return"search"!==r?[3,7]:(i="".concat(n,"/search?qs=").concat(encodeURIComponent(c),"&page=").concat(t),u&&(i+="&sort=".concat(encodeURIComponent(u))),[4,l().get(i).then((function(e){"ok"==e.data.status&&(a(e.data.data.stories),window.scrollTo(0,0))}))]);case 6:return s.sent(),[3,11];case 7:return"cdt-check"!==r?[3,9]:[4,l().get("".concat(n,"/collaterals/landings/cdtcheck?page=").concat(t)).then((function(e){if("ok"==e.data.status){var n=[];1===t?e.data.data.stories&&e.data.data.stories.length>=8&&(n=e.data.data.stories.slice(8,14)):n=e.data.data.stories,a(n),window.scrollTo(0,0)}}))];case 8:return s.sent(),[3,11];case 9:return"spiegato"!==r?[3,11]:[4,l().get("".concat(n,"/collaterals/landings/spiegato?page=").concat(t)).then((function(e){if("ok"==e.data.status){var n=[];1===t?e.data.data.stories&&e.data.data.stories.length>=8&&(n=e.data.data.stories.slice(8,14)):n=e.data.data.stories,a(n),window.scrollTo(0,0)}}))];case 10:s.sent(),s.label=11;case 11:return[2]}}
1))}));return function(t){return e.apply(this,arguments)}}();return(0,i.jsx)("div",{className:"pagination",children:(0,i.jsx)(o(),{breakLabel:"...",nextLabel:"Avanti",onPageChange:g,pageRangeDisplayed:5,pageCount:t,previousLabel:"Indietro",renderOnZeroPageCount:null})})}},49613:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return l}});var n=a(85893),s=a(26724),i=a(20469),r=a(52634),o=a(67294),c=a(22709),l=!0;t.default=function(e){var t=e.meta,a=e.header,l=(0,o.useState)([]),d=l[0],u=l[1],g=(0,o.useState)(0),p=g[0],v=g[1],h=(0,o.useState)(!1),f=h[0],x=h[1],m=(0,o.useState)(),j=m[0],k=m[1];return(0,o.useEffect)((function(){x(!0),t.pageTitle!==j&&(k(t.pageTitle),u(t.stories),v(t.pagination.pages)),x(!1)})),(0,n.jsxs)(s.Z,{pageTitle:t.pageTitle,pageDescription:t.pageDescription,page:"other",headerNav:a,children:[(0,n.jsx)(c.Z,{pageName:"Tag"}),(0,n.jsxs)("div",{className:"meta-page tags-page",children:[(0,n.jsxs)("div",{className:"top",children:["Articoli trovati per il tag: ",(0,n.jsxs)("span",{children:[t.tag&&t.tag.name," "]}),"(",t.pagination.totals,")"]}),(0,n.jsx)("div",{className:"articles",children:!f&&void 0!==d&&d.map((function(e){return(0,n.jsx)(i.Z,{imgType:"tagger",img:e.cover["1920x1080"],imgWidth:1920,imgHeight:1080,link:e.URL,type:"horizontal",title:e.title,headline:e.kicker,subtitle:e.subtitle,features:e.features},e.id)}))}),(0,n.jsx)(r.Z,{pageCount:p,setCurrentItems:u,type:"tag",id:t.tag.id})]})]})}}},function(e){e.O(0,[4885,2544,2013,5445,4617,9489,9375,5675,7715,1358,3600,74
10,3371,1339,9774,2888,179],(function(){return t=19178,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.