PageSourceSearch

https://energia-luce.it/_next/static/chunks/8986.ab4c6d503e3acfea.js

js energia-luce.it collected 2026-09-25 20:05:56 UTC 6,330 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="b8589a61-6a7c-4a7d-9dd9-4a3de9d00987",e._sentryDebugIdIdentifier="sentry-dbid-b8589a61-6a7c-4a7d-9dd9-4a3de9d00987")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8986],{18986:(e,a,t)=>{t.r(a),t.d(a,{PPNBrandHomepageComparison:()=>S});var r=t(54568),l=t(15978),n=t(30248),i=t(11916),s=t(54616),c=t(7620),d=t(95607),o=t(89111),x=t(62737),m=t(40599);let p=(0,s.F)("",{variants:{colorScheme:{primary:"bg-primary-700",secondary:"bg-secondary-700",tertiary:"bg-tertiary-700",quaternary:"bg-quaternary-900"}},defaultVariants:{colorScheme:"primary"}}),u=(0,s.F)("",{variants:{colorScheme:{primary:"data-[state=active]:text-primary-500 dark:data-[state=active]:text-primary-500",secondary:"data-[state=active]:text-secondary-500 dark:data-[state=active]:text-secondary-500",tertiary:"data-[state=active]:text-tertiary-500 dark:data-[state=active]:text-tertiary-500",quaternary:"data-[state=active]:text-quaternary-800 dark:data-[state=active]:text-quaternary-800"}},defaultVariants:{colorScheme:"primary"}}),h=e=>{let{icon:a,title:t,description:l,muted:n=!1}=e;return(0,r.jsxs)("div",{className:(0,m.cn)("flex h-full w-full flex-col gap-6 rounded-3xl bg-white/30 p-4",n?"border-0":"border border-white/40"),children:[(0,r.jsx)(d.K,{icon:a,variant:n?"muted":"default"}),(0,r.jsxs)("div",{className:(0,m.cn)("flex flex-col gap-2 text-left text-white",n&&"opacity-80"),children:[(0,r.jsx)("h3",{className:"font-bold text-lg",children:t}),(0,r.jsx)("p",{className:"text-base",children:l})]})]})},g=e=>{let{tab:a,colorScheme:t,muted:l=!1}=e,{cards:n}=a;return(0,r.jsxs)("div",{className:"flex flex-col gap-7 lg:gap-10",children:[(0,r.jsx)("div",{className:"hidden gap-4 lg:flex",children:n.map((e,a)=>(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)(h,{...e,muted:l})},"card-".concat(a)))}),(0,r.jsx)("div",{className:"lg:hidden",children:(0,r.jsx)(o.default,{options:{align:"start",containScroll:"trimSnaps"},dotsButtons:n.length>1,className:"gap-4 p-4",activeDotClassName:p({colorScheme:t}),children:n.map((e,a)=>(0,r.jsx)("div",{className:"flex w-full flex-shrink-0 flex-grow-0 md:w-1/2",children:(0,r.jsx)(h,{...e,muted:l})},"card-m-".concat(a)))})})]})},f=e=>{let{tabs:a,colorScheme:t="primary"}=e,[l]=a,[n,i]=(0,c.useState)("tab-0");return l?1===a.length?(0,r.jsx)(g,{tab:l,colorScheme:t}):(0,r.jsxs)(x.Tabs,{value:n,onValueChange:i,className:"flex w-full flex-col items-center gap-6",children:[(0,r.jsx)(x.TabsList,{className:"h-auto rounded-full border border-white/40 bg-white/30 p-1 dark:bg-white/30",children:a.map((e,a)=>(0,r.jsx)(x.TabsTrigger,{value:"tab-".concat(a),className:(0,m.cn)("rounded-full px-4 py-2 font-medium text-white data-[state=active]:bg-white data-[state=active]:shadow-none dark:text-white dark:data-[state=active]:bg-white",u({colorScheme:t})),children:e.label},"trigger-".concat(a)))}),(0,r.jsx)("div",{className:"grid w-full min-w-0",children:a.map((e,a)=>(0,r.jsx)(x.TabsContent,{value:"tab-".concat(a),forceMount:!0,inert:n!=="tab-".concat(a),className:"mt-0 w-full min-w-0 opacity-0 transition-opacity duration-300 ease-out [grid-area:1/1] data-[state=active]:opacity-100",children:(0,r.jsx)(g,{tab:e,colorScheme:t,muted:a>0})},"content-".concat(a)))})]}):null};var b=t(24792);let y={primary:"bg-primary-500",secondary:"bg-secondary-500",tertiary:"bg-tertiary-500",quaternary:"bg-quaternary-800"},v={primary:"primaryInverse",secondary:"secondaryInverse",tertiary:"tertiaryInverse",quaternary:"quaternaryInverse"},w=e=>{let{title:a,description:t,tabs:l,ctaLabel:n,ctaHref:i,ctaTargetBlank:s,socialProofLabel:c,colorScheme:d="primary",className:o}=e;if(0===l.length)return null;let x=!!(n&&i),p=v[d],u=!!(i&&i.startsWith("tel:"));return(0,r.jsx)("section",{className:(0,m.cn)("w-full overflow-hidden text-center text-white lg:[--cta-right-glow:0.25]",y[d],o),style:{backgroundImage:"radial-gradient(circle at 0% 100%, rgba(255, 184, 29, 0.25), transparent 25%), radial-gradient(circle at 100% 0%, rgba(255, 184, 29, var(--cta-right-glow, 0)), transparent 25%)"},children:(0,r.jsxs)("div",{className:"mx-auto flex max-w-screen-2xl flex-col items-center gap-8 px-4 py-12 lg:px-6 lg:py-14 xl:px-14",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("h2",{className:"font-bold text-2xl text-white leading-tight lg:text-4xl",children:a}),t&&(0,r.jsx)("p",{className:"text-base text-white/90 lg:text-lg",children:t})]}),(0,r.jsx)(f,{tabs:l,colorScheme:d}),(x||c)&&(0,r.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[x&&(u?(0,r.jsx)(b.CallToAction,{callModeAttributes:{value:null!=n?n:"",href:null!=i?i:"",icon:"phone"},appModeAttributes:{value:null!=n?n:"",href:"#",icon:"wcb",isCallback:!0},variant:p,className:"whitespace-nowrap rounded-full"}):(0,r.jsx)(b.CallToAction,{appModeAttributes:{value:null!=n?n:"",href:null!=i?i:"",target:s?"_blank":void 0,rel:s?"noopener noreferrer":void 0},variant:p,className:"whitespace-nowrap rounded-full"})),c&&(0,r.jsx)("p",{className:"font-medium text-sm text-white",children:c})]})]})})};var j=t(38584);let N=n.k5(l.k).optional().catch(void 0),k=n.Ik({icon:N,title:n.Yj(),description:n.Yj()}),I=n.Ik({label:n.Yj(),cards:n.YO(k).optional()}),S=e=>{let{title:a,description:t,ctaLabel:l,ctaHref:n,ctaTargetBlank:s,socialProofLabel:c,tabs:d,colorScheme:o}=e,x=Array.isArray(d)?d:[],m=[];for(let e of x){var p;if(m.length>=2)break;let a=I.safeParse(e);if(!a.success)continue;let t=(null!=(p=a.data.cards)?p:[]).slice(0,4).map(e=>({icon:e.icon,title:(0,r.jsx)(i.BasicHtmlRenderer,{html:e.title,isInline:!0,noSpacing:!0}),description:(0,r.jsx)(i.BasicHtmlRenderer,{html:e.description,isInline:!0,noSpacing:!0})}
1));m.push({label:a.data.label,cards:t})}return a&&0!==m.length?(0,r.jsx)(j.TrackingProvider,{slice:{eventComponent:"ppn-brand-homepage-comparison"},children:(0,r.jsx)(w,{title:(0,r.jsx)(i.BasicHtmlRenderer,{html:a,isInline:!0,noSpacing:!0}),description:t?(0,r.jsx)(i.BasicHtmlRenderer,{html:t,isInline:!0,noSpacing:!0}):void 0,tabs:m,ctaLabel:l,ctaHref:n,ctaTargetBlank:s,socialProofLabel:c,colorScheme:o})}):null}}}]);

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.