PageSourceSearch

https://www.cdt.ch/_next/static/chunks/pages/promotional-content-47f5d081cc8be093.js

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

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6355],{74494:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/promotional-content",function(){return i(48727)}])},45401:function(e,n,i){"use strict";var t=i(85893);n.Z=function(e){var n=e.myClass,i=e.icon,s=e.title,o=e.text,l=e.fontSize,r=e.link,a=e.target;return n||(n=""),(0,t.jsx)("div",{className:"btn "+n,children:(0,t.jsxs)("a",{href:r||null,target:a||null,children:[i&&(0,t.jsx)("div",{className:"icon",children:i}),(0,t.jsxs)("div",{className:"label-box",children:[(0,t.jsx)("div",{className:"title",children:s}),(0,t.jsx)("div",{className:"text",style:{fontSize:l?l+"px":"12px"},children:o})]})]})})}},88264:function(e,n,i){"use strict";var t=i(47568),s=i(97582),o=i(85893),l=i(41664),r=i.n(l),a=i(34394),c=i(70123),d=i(45401),u=i(67294),x=i(16177),h=i(50084),f=i(38562),m=i(60155),p=i(11163),j=i(90195);i(72306);n.Z=function(e){var n,i,l,v=e.backgroundColor,g=(e.trendings,(0,u.useContext)(x.Z)),b=(0,p.useRouter)(),w=(0,u.useState)("https://cdt.ch/login"),N=w[0],y=w[1];(0,u.useEffect)((function(){var e=b.query,n=e.section,i=e.subsection,t=e.name;y(n||i||t?"".concat(window.location.origin,"/login?origin=").concat(window.location.origin).concat(b.asPath):"".concat(window.location.origin,"/login"))}),[]);var _="base";function k(){return(k=(0,t.Z)((function(e,n){var i;return(0,s.__generator)(this,(function(t){switch(t.label){case 0:return e.preventDefault(),[4,g.deletePianoSession(n)];case 1:return t.sent(),[4,(0,h.Z)()];case 2:return!1===(i=t.sent()).success?(f.Z.fire({title:"Errore durante il logout",text:"Abbiamo riscontrato un problema durante il logout, riprovare piu tardi!",icon:"error"}),[2]):(f.Z.fire({title:i.data.data.message?i.data.data.message:"Logout eseguito correttamente",text:"Hai eseguito correttamente il logout!",icon:"success"}),[2])}}))}))).apply(this,arguments)}return"#222"===v&&(_="dark"),(0,o.jsx)("header",{className:_+" mobile",children:(0,o.jsxs)("div",{className:"content-header",children:[(0,o.jsx)(j.Q,{referral:"cdt"}),(0,o.jsxs)("div",{className:"container top row fix-row flex-1",children:[(0,o.jsxs)("div",{className:"label-promo row fix-row ",children:[(0,o.jsx)("div",{className:"icon",children:(0,o.jsx)(c.Z,{pageWidth:"1000"})}),(0,o.jsx)("div",{className:"label",children:(0,o.jsx)("span",{className:"small",children:"Dal 1891"})})]}),(0,o.jsx)("div",{className:"logo flex-3",children:(0,o.jsx)(r(),{href:"/",children:(0,o.jsx)("a",{children:"base"===_?(0,o.jsx)("img",{src:"https://static.gruppocdt.ch/shared-files/miscellaneous/cdt-logo.svg",alt:"logo corriere del ticino"}):(0,o.jsx)("img",{src:"https://naxos-cdn01.gruppocdt.ch/cdt/system/logos/cdt-logo-fullwhite-no-row.png",alt:"logo corriere del ticino"})})})}),(0,o.jsx)("div",{className:"buttons row fix-row login-box",children:(0,o.jsxs)(a.rs,{children:[(0,o.jsx)(a.JZ,{condition:null!==g.corporation,children:(0,o.jsx)("div",{className:"user-name",children:(0,o.jsx)("span",{style:{fontSize:18,paddingRight:16,color:v?"#fff":"#222"},children:null===(n=g.corporation)||void 0===n||null===(i=n.user)||void 0===i?void 0:i.name})})}),(0,o.jsxs)(a.JZ,{condition:g.userPiano,children:[(0,o.jsx)(a.nA,{condition:!g.userPianoAccesses.length,children:(0,o.jsx)(d.Z,{link:"/abbonati",myClass:"red row fix-row full abbo-btn",title:"Abbonati",text:"Scopri le Offerte"})}),(0,o.jsxs)("div",{className:"user-name padding-icon-left",children:[(0,o.jsx)("span",{className:"user-icon",children:(0,o.jsx)("a",{href:"/account",children:(0,o.jsx)(m.bq1,{style:{width:"28px",height:"28px"}})})}),(0,o.jsx)("span",{style:{color:v?"#fff":"#222"},className:"user",children:null===(l=g.userPiano)||void 0===l?void 0:l.email}),(0,o.jsx)("span",{className:"exit",onClick:function(e){return function(e,n){return k.apply(this,arguments)}(e)},children:"Esci"})]})]}),(0,o.jsx)(a.gA,{children:(0,o.jsxs)("div",{style:{flexDirection:"row",display:"flex"},children:[(0,o.jsx)(d.Z,{link:"/abbonati",myClass:"red row fix-row full abbo-btn",title:"Abbonati",text:"Scopri le Offerte"}),(0,o.jsx)(d.Z,{link:N,myClass:" row fix-row full white login",icon:(0,o.jsx)(m.bq1,{style:{width:"35px",height:"35px"}}),text:"Login",fontSize:14})]})})]})})]})]})})}},48727:function(e,n,i){"use strict";i.r(n),i.d(n,{__N_SSP:function(){return u}});var t=i(85893),s=i(9008),o=i.n(s),l=i(88264),r=i(55567),a=i(38358),c=i(205),d=i(13600),u=!0;n.default=function(e){var n=e.headerNav;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o(),{children:[(0,t.jsx)("meta",{name:"description",content:"CdT - Contenuti promozionali sul corriere del ticino"}),(0,t.jsx)("script",{async:!0,dangerouslySetInnerHTML:{__html:'! function() {\
1n                var t = window.top.document.head,\n                  e = window.top.document.createElement("script");\n                e.type = "text/javascript", e.src = "https://cdn.adnz.co/promoted-content/promoted-content.js", t.appendChild(e)\n              }();'}})]}),(0,t.jsx)(d.Z,{title:"CdT - Promotional Content ",pageType:"other"}),(0,t.jsx)(l.Z,{backgroundColor:"#222",sections:null!==n&&void 0!==n&&n.navfullsections?n.navfullsections:[]}),(0,t.jsxs)("main",{className:"promotional-content",children:[(0,t.jsx)(r.Z,{type:"menu",children:(0,t.jsx)(a.Z,{linkSections:null!==n&&void 0!==n&&n.navfulllinks?n.navfulllinks:[],fullSections:null!==n&&void 0!==n&&n.navfullsections?n.navfullsections:[]})}),(0,t.jsx)("div",{className:"cdt-box row ",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsx)("div",{className:"content"})})}),(0,t.jsx)(c.Z,{linkSections:null!==n&&void 0!==n&&n.navfulllinks?n.navfulllinks:[]})]})]})}}},function(e){e.O(0,[2544,2013,5445,4617,260,9489,9375,5675,7715,7646,3600,740,3371,9774,2888,179],(function(){return n=74494,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.