PageSourceSearch

https://energia-luce.it/_next/static/chunks/commons-f3956634-6b4998804f3cec54.js

js energia-luce.it collected 2026-09-25 20:02:26 UTC 80,976 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:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="86a303d1-7317-4059-8d35-14965f507e50",e._sentryDebugIdIdentifier="sentry-dbid-86a303d1-7317-4059-8d35-14965f507e50")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8258],{553:(e,t,l)=>{"use strict";l.r(t),l.d(t,{Content:()=>d,Root:()=>c,Title:()=>m,mergeWebComponents:()=>u});var r=l(54568),a=l(12059),s=l(30866),n=l(32536),i=l(38584),o=l(88422);let c=e=>{let{children:t,compliance:l,imageSrc:a}=e;return(0,r.jsx)(i.TrackingProvider,{slice:{eventComponent:"ppn-cta-fullwidth"},children:(0,r.jsxs)("div",{className:"flex flex-col space-y-0.5",children:[(0,r.jsxs)("div",{className:"rounded-xl bg-primary-50 md:grid md:grid-cols-5",children:[(0,r.jsx)("div",{className:"relative col-span-1 h-32 w-full md:h-full",children:(0,r.jsx)(n.default,{src:null!=a?a:"/images/lamp.svg",fill:!0,alt:"Lamp",className:"mx-4 object-contain md:pb-3",role:"presentation"})}),t]}),(null==l?void 0:l.disclaimer)&&(0,r.jsx)(o.TooltipProvider,{children:(0,r.jsxs)(o.Tooltip,{delayDuration:50,open:!!(null==l?void 0:l.tooltip)&&void 0,children:[(0,r.jsx)(o.TooltipTrigger,{asChild:!0,className:"-m-3 p-3",children:(0,r.jsxs)("div",{className:"group inline-flex w-fit items-center gap-2 self-end text-right font-medium text-stone-400 text-xs hover:cursor-help",children:[(0,r.jsx)("p",{className:"!my-0 transition-colors duration-75 group-hover:text-stone-700",children:null==l?void 0:l.disclaimer}),(0,r.jsx)(s.default,{className:"inline h-3 w-3 transition-colors duration-75 group-hover:text-stone-700"})]})}),(0,r.jsx)(o.TooltipContent,{align:"end",className:"max-w-sm p-2",children:(0,r.jsx)("p",{className:"!my-0",children:null==l?void 0:l.tooltip})})]})})]})})},d=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:"col-span-4 space-y-2 p-8 pt-3 md:pt-8",children:t})},m=e=>{let{children:t}=e;return(0,r.jsx)("p",{className:"!my-0 font-medium text-primary-500",children:t})};function u(e){var t;let l=a.Hh(e,null,!1);return l("ppn-cta-fullwidth").each((e,t)=>{let r=l(t),a=r.next("ppn-cta-fullwidth");function s(e,t){let l={};for(let r of t){let t=e.attr(r);t&&(l[r]=t)}return l}let n=["is-wcb","call-text","call-href","cta-call-icon","cta-call-target","cta-call-rel"],i=["app-is-wcb","app-text","app-href","cta-app-icon","cta-app-target","cta-app-rel"];if(a.length>0){var o,c,d;let e=l("<ppn-cta-fullwidth>");for(let t of["title","info-text","hover-text","thumb","cta-color"]){let l=null!=(o=r.attr(t))?o:a.attr(t);l&&e.attr(t,l)}let t=r.find("ppn-cta"),m=a.find("ppn-cta"),u=r.hasClass("show-call-opened")?t:m,h=r.hasClass("show-call-closed")?t:m;for(let[t,l]of Object.entries(s(u,n)))e.attr(t,l);for(let[t,l]of Object.entries(s(h,i)))e.attr(t,l);e.html(null!=(d=null!=(c=r.html())?c:a.html())?d:""),r.replaceWith(e),a.remove()}else for(let[e,t]of Object.entries(s(r.find("ppn-cta"),[...n,...i])))r.attr(e,t)}),null!=(t=l.root().html())?t:""}},1821:(e,t,l)=>{"use strict";l.d(t,{v:()=>a});var r=l(12247);let a=(0,r.createServerReference)("7f06cd342d08db3f766c4814d8be264c3e13bfe651",r.callServer,void 0,r.findSourceMapURL,"deleteImage")},8539:(e,t,l)=>{Promise.resolve().then(l.bind(l,87562)),Promise.resolve().then(l.bind(l,76428))},11916:(e,t,l)=>{"use strict";l.r(t),l.d(t,{BasicHtmlRenderer:()=>c});var r=l(54568),a=l(12059),s=l(1612),n=l(58183),i=l(40599);let o=["div"],c=e=>{let{html:t,bgTheme:l="",noSpacing:c=!1,isInline:d=!1,primaryStrong:m=!1}=e;if(!t)return(0,r.jsx)(r.Fragment,{});let u=[];try{u=(0,s.Nj)(function(e){var t;let l=a.Hh(e,null,!1);return l("p").each((e,t)=>{let r=l(t);if(r.children().toArray().some(e=>o.includes(e.tagName.toLowerCase()))){let e=l("<div>"),t=r.html();null!==t&&(e.html(t),r.replaceWith(e))}}),null!=(t=l.root().html())?t:""}(t))}catch(e){console.error("Error parsing HTML:",e)}let h={replace:e=>{if("p"===e.name){let t=(0,s.$5)(e.attribs);return(0,r.jsx)("p",{className:(0,i.cn)(c?"!my-0":"space-y-4",t.className),...t,children:(0,s.zd)(e.children,h)})}if("li"===e.name){let t=(0,s.$5)(e.attribs);return(0,r.jsx)("li",{className:(0,i.cn)("marker:text-primary-900",t.className),...t,children:(0,s.zd)(e.children,h)})}if("figure"===e.name){var t,a;let l=(0,s.$5)(e.attribs);return(0,r.jsx)("figure",{...l,style:{...l.style,width:"100%",maxWidth:null!=(a=null==(t=l.style)?void 0:t.width)?a:"100%"},children:(0,s.zd)(e.children,h)})}if("a"===e.name){let t=(0,s.$5)(e.attribs);return t.href?t.href.includes("/wp-admin")?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)(n.TrackedLink,{href:t.href,className:(0,i.cn)("lugia"===l?"text-primary-200":"kamino"===l?"text-primary-600":"text-primary-500",t.className),target:t.target,children:(0,s.zd)(e.children,h)}):(0,r.jsx)("p",{className:"my-0 font-medium text-primary-600",children:(0,s.zd)(e.children,h)})}if("strong"===e.name){let t=(0,s.$5)(e.attribs);return(0,r.jsx)("span",{className:(0,i.cn)("font-semibold",m&&"text-primary-500",t.className),...t,children:(0,s.zd)(e.children,h)})}if("em"===e.name){let t=(0,s.$5)(e.attribs);return(0,r.jsx)("span",{className:"italic",...t,children:(0,s.zd)(e.children,h)})}if("u"===e.name){let t=(0,s.$5)(e.attribs);return(0,r.jsx)("span",{className:"underline",...t,children:(0,s.zd)(e.children,h)})}if("s"===e.name){let t=(0,s.$5)(e.attribs);return(0,r.jsx)("span",{className:"line-through",...t,children:(0,s.zd)(e.children,h)})}}},x=(0,s.zd)(u,h);return d?x:(0,r.jsx)("div",{className:(0,i.cn)(!c&&"space-y-4","text-pretty break-words [&_h2]:scroll-my-32"),children:x})}},13167:(e,t,l)=>{"use strict";l.d(t,{Z:()=>c});var r=l(54568),a=l(30866),s=l(95516),n=l(88422),i=l(40599);let o={xs:{label:"text-xs",icon:"h-3 w-3",content:"text-xs"},sm:{label:"text-sm",icon:"h-4 w-4",content:"text-sm"}},c=e=>{let{disclaimer:t,tooltip:l,align:c,size:d="xs",mobileTone:m="light"}=e;if(!t)return null;let u=(0,r.jsxs)("div",{className:(0,i.cn)("group inline-flex w-fit items-center gap-2 text-right font-medium text-stone-400 hover:cursor-help",o[d].label),children:[(0,r.jsx)("p",{className:"!my-0 transition-colors duration-75 group-hover:text-stone-700",children:t}),(0,r.jsx)(a.default,{className:(0,i.cn)("inline transition-colors duration-75 group-hover:text-stone-700",o[d].icon)})]});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:(0,i.cn)("hidden md:block","end"===c&&"self-end"),children:(0,r.jsx)(n.TooltipProvider,{children:(0,r.jsxs)(n.Tooltip,{delayDuration:50,open:!!l&&void 0,children:[(0,r.jsx)(n.TooltipTrigger,{asChild:!0,className:"-m-3 p-3",children:u}),(0,r.jsx)(n.TooltipContent,{align:"end"===c?"end":"start",className:"max-w-sm p-2",children:(0,r.jsx)("p",{className:"!my-0",children:l})})]})})}),(0,r.jsx)("div",{className:(0,i.cn)("md:hidden","end"===c&&"self-end"),children:(0,r.jsxs)(s.Popover,{children:[(0,r.jsx)(s.PopoverTrigger,{asChild:!0,className:"-m-3 p-3",children:u}),(0,r.jsx)(s.PopoverContent,{align:"end"===c?"end":"start",className:(0,i.cn)("max-w-sm p-2",o[d].content,"dark"===m&&"!bg-stone-950 !text-white"),children:(0,r.jsx)("p",{className:"!my-0",children:l})})]})})]})}},13535:(e,t,l)=>{"use strict";l.d(t,{CtaOverrideProvider:()=>i,G:()=>n});var r=l(54568),a=l(7620);let s=(0,a.createContext)(null),n=()=>(0,a.useContext)(s),i=e=>{let{value:t,children:l}=e;return(0,r.jsx)(s.Provider,{value:t,children:l})}},13649:(e,t,l)=>{Promise.resolve().then(l.bind(l,72413)),Promise.resolve().then(l.bind(l,4046)),Promise.resolve().then(l.bind(l,86189)),Promise.resolve().then(l.bind(l,39648)),Promise.resolve().then(l.bind(l,90602)),Promise.resolve().then(l.bind(l,72439))},13757:(e,t,l)=>{"use strict";l.d(t,{Analytics:()=>s});var r=l(54568),a=l(69554);let s=()=>(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(a.j,{})})},13782:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var r=l(54568),a=l(43002),s=l(45234),n=l(32536),i=l(19664),o=l.n(i),c=l(27541);function d(e){let{error:t,reset:l}=e,i=(0,c.usePathname)(),d="Invalid URL"===t.message?404:500;return console.error(t.message,{host:window.location.href,path:i,statusCode:d},{error:t.name,cause:t.cause,stack:t.stack,digest:t.digest}),(0,r.jsxs)("div",{className:"flex min-h-[calc(100vh-4rem)] w-screen flex-1 items-center justify-center gap-6 p-4 text-center md:p-8",children:[(0,r.jsx)(n.default,{alt:"Error page illustration",src:"https://illustrations.popsy.co/gray/timed-out-error.svg",width:400,height:400}),(0,r.jsxs)("div",{className:"max-w-lg space-y-4",children:[(0,r.jsx)("h1",{className:"text-pretty font-bold text-3xl sm:text-4xl",children:"Oups ! Une erreur est survenue."}),(0,r.jsx)("p",{className:"text-stone-500",children:"Nous avons rencontr\xe9 une erreur lors du traitement de votre demande. Vous pouvez essayer de recharger la page ou revenir \xe0 l'accueil."}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-1",children:[(0,r.jsxs)(o(),{className:"inline-flex items-center justify-center rounded-md border border-primary-400 bg-primary-500 px-4 py-2 font-medium text-sm text-white shadow-sm transition-colors hover:border-primary-600 hover:bg-primary-600 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary-950 disabled:pointer-events-none disabled:opacity-50",href:"/",children:[(0,r.jsx)(a.default,{className:"mr-1 h-4 w-4"}),"Revenir \xe0 l'accueil"]}),l&&(0,r.jsxs)("button",{type:"button",onClick:()=>l(),className:"inline-flex items-center justify-center rounded-md border border-slate-200 bg-white px-4 py-2 font-medium text-sm shadow-sm transition-colors hover:bg-slate-100 hover:text-slate-900 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-slate-950 disabled:pointer-events-none disabled:opacity-50",children:[(0,r.jsx)(s.default,{className:"mr-1 h-4 w-4"}),"Recharger la page"]})]}),(0,r.jsxs)("p",{className:"font-mono text-slate-300 text-xs uppercase",children:[t.digest?"digest ".concat(t.digest," - "):null,"erreur 500"]})]})]})}},15977:(e,t,l)=>{"use strict";l.r(t),l.d(t,{Badge:()=>p,Buttons:()=>k,Content:()=>v,DealRoot:()=>x,DealsContainer:()=>h,DealsListRoot:()=>d,DealsListTitle:()=>u,Description:()=>j,Divider:()=>S,Logo:()=>f,Price:()=>w,PriceContainer:()=>y,PriceSubtitle:()=>N,Subtitle:()=>b,Title:()=>g});var r=l(54568),a=l(54616),s=l(32536),n=l(19664),i=l.n(n),o=l(7620),c=l(40599);let d=e=>{let{children:t,className:l}=e;
1return(0,r.jsx)("div",{className:(0,c.cn)("mb-6 flex flex-col",l),children:t})},m=(0,a.F)("mb-6 text-center font-bold text-stone-900 dark:text-stone-900 [.not-prose_&]:dark:text-stone-900 [.tiptap_&]:dark:text-stone-200",{variants:{as:{h1:"text-4xl",h2:"text-3xl",h3:"text-2xl md:text-3xl",h4:"text-xl",h5:"text-lg",h6:"text-base"}},defaultVariants:{as:"h3"}}),u=e=>{let{children:t,as:l="h3"}=e;return(0,r.jsx)(l,{className:m({as:l}),children:t})},h=e=>{let{children:t}=e,l=(0,o.useRef)(null),[a,s]=(0,o.useState)(!1),[n,i]=(0,o.useState)(()=>o.Children.toArray(t).length);return(0,o.useEffect)(()=>{if(l.current){let e=l.current.querySelector("[data-node-view-content]"),r=l.current.querySelector("[data-node-view-content-react]");s(!!(e||r)),e&&(e.style.display="contents"),r&&(r.style.display="contents"),requestAnimationFrame(()=>{if(l.current){let e=l.current.querySelectorAll('[data-deal-component="true"]');i(e.length>0?e.length:o.Children.toArray(t).length)}})}},[t]),(0,r.jsx)("div",{ref:l,className:(0,c.cn)("mb-6 grid gap-6",a?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":1===n?"grid-cols-1":2===n?"grid-cols-1 md:grid-cols-2":3===n?"grid-cols-1 md:grid-cols-2 lg:grid-cols-3":"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"),children:t})},x=e=>{let{children:t,className:l,variant:a="default"}=e;return(0,r.jsx)("div",{"data-deal-component":"true",className:(0,c.cn)("relative flex flex-col overflow-hidden rounded-lg border bg-white px-6 py-8 shadow-sm transition-shadow duration-200 hover:shadow-md","featured"===a?"border-2 border-primary-500":"border-stone-200",l),children:t})}
1,p=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:"absolute top-3 right-3 z-10 rounded-full bg-primary-500 px-3 py-1 font-medium text-white text-xs",children:t})},f=e=>{let{src:t,alt:l,href:a}=e,n=(0,r.jsx)("div",{className:"relative mb-4 h-16 w-full",children:(0,r.jsx)(s.default,{src:t,alt:l,fill:!0,className:"object-contain",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"})});return a?(0,r.jsx)(i(),{href:a,className:"block",target:"_blank",rel:"noopener noreferrer",children:n}):n},v=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:"flex flex-1 flex-col items-center justify-center pt-4 text-center",children:t})},g=e=>{let{children:t}=e;return(0,r.jsx)("strong",{className:"mt-0 mb-3 font-bold text-stone-900 text-xl",children:t})},b=e=>{let{children:t}=e;return(0,r.jsx)("p",{className:"mb-3 text-stone-500 leading-relaxed",children:t})},j=e=>{let{children:t}=e;return(0,r.jsx)("p",{className:"mb-3 text-sm text-stone-500 leading-relaxed",children:t})},y=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:"flex flex-col gap-1",children:t})},w=e=>{let{children:t}=e;return(0,r.jsx)("p",{className:"mt-0 mb-4 text-dark text-lg",children:t})},N=e=>{let{children:t}=e;return(0,r.jsx)("p",{className:"text-stone-500 text-xs",children:t})},k=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:"mt-auto flex w-full flex-col gap-3 pb-4",children:t})},S=()=>(0,r.jsx)("div",{className:"h-px bg-stone-200"})},19362:(e,t,l)=>{"use strict";l.d(t,{z:()=>a});var r=l(12247);let a=(0,r.createServerReference)("40ef91534b599cf59ce6f4ae87a44ba0b7c12cde33",r.callServer,void 0,r.findSourceMapURL,"submitCallbackRequest")},19765:(e,t,l)=>{"use strict";l.d(t,{y:()=>o});var r=l(54568),a=l(95607),s=l(24792),n=l(40599);let i=e=>{let{title:t,description:l,icon:i,className:o,ctaLabel:c,ctaHref:d,colorScheme:m="primary"}=e;return(0,r.jsxs)("div",{className:(0,n.cn)("flex w-full flex-grow flex-col gap-4 roun
1ded-3xl border border-stone-200 bg-white p-4 md:gap-6",o),children:[(0,r.jsx)(a.K,{icon:i}),(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("h3",{className:"font-bold md:text-lg md:leading-6",children:t}),(0,r.jsx)("div",{className:"text-sm text-stone-600 leading-6 md:text-base",children:l})]}),c&&d&&(0,r.jsx)(s.CallToAction,{callTracking:!1,appModeAttributes:{value:c,href:d},variant:m,iconRight:!0,width:"full",mobileWidth:"full",className:"mt-auto rounded-full"})]})},o=e=>{let{title:t,subtitle:l,cards:a,ctaText:o,ctaHref:c,bottomCtaText:d,className:m,colorScheme:u="primary",alternateBg:h=!1}=e;return(0,r.jsx)("section",{className:(0,n.cn)("w-full",h&&"bg-brand-grey",m),children:(0,r.jsxs)("div",{className:"mx-auto flex max-w-screen-2xl flex-col items-center gap-6 px-4 py-10 md:px-14 md:py-14",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2 md:items-center",children:[(0,r.jsx)("h2",{className:"font-bold text-xl leading-6 md:text-center md:text-2xl md:leading-8",children:t}),l&&(0,r.jsx)("p",{className:"md:text-center",children:l})]}),(0,r.jsx)("div",{className:"flex w-full flex-col items-stretch justify-center gap-4 md:flex-row md:gap-4",children:a.map((e,t)=>t>3?null:(0,r.jsx)(i,{title:e.title,description:e.description,icon:e.icon,ctaLabel:e.ctaLabel,ctaHref:e.ctaHref,colorScheme:u},"".concat(t,"-").concat(e.title)))}),(o&&c||d)&&(0,r.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[o&&c&&(0,r.jsx)(s.CallToAction,{callTracking:!1,appModeAttributes:{value:o,href:c},variant:u,radius:"round",className:"rounded-full"}),d&&(0,r.jsx)("p",{className:"text-center font-medium text-black text-sm",children:d})]})]})})}},20495:(e,t,l)=>{Promise.resolve().then(l.bind(l,84053))},22730:(e,t,l)=>{"use strict";l.r(t),l.d(t,{ComparatorPrequalWidget:()=>g});var r=l(54568),a=l(58997),s=l(52137),n=l(45801),i=l(51166),o=l(15082),c=l(32536),d=l(27541),m=l(7620),u=l(6845),h=l(32673),x=l(44899),p=l(40599),f=l(23951),v=l(4662);let g=e=>{let{title:t="Trouvez le meilleure fournisseur d'\xe9nergie",comparatorUrl:l="/comparator-estimation-form/",backgroundImage:g,sidebarName:b,labelOfferType:j="Vous cherchez une offre",labelElectricity:y="\xc9lectricit\xe9",labelGas:w="Gaz",labelBoth:N="\xc9lectricit\xe9 + Gaz",placeholderOfferType:k="S\xe9lectionnez une offre",labelAggregate:S="Pour votre",labelMover:C="D\xe9m\xe9nagement",labelSwitcher:P="Logement actuel",placeholderAggregate:T="S\xe9lectionnez votre situation"}=e,A=(0,d.useRouter)(),M=(0,f.useTracking)(),[L,_]=(0,m.useState)(""),[R,I]=(0,m.useState)(""),q=(0,v.useMediaQuery)("(max-height: 800px)");return(0,r.jsxs)("aside",{className:(0,p.cn)("sticky top-4 h-fit w-full overflow-hidden rounded-2xl border border-stone-200 bg-white shadow-sm",{"top-4":q}),children:[g&&(0,r.jsx)("div",{className:"relative h-28",children:(0,r.jsx)(c.default,{src:g,alt:"Providers logos",fill:!0,className:"absolute inset-0 object-cover",priority:!0})}),(0,r.jsxs)("div",{className:(0,p.cn)("space-y-6 p-5",{"space-y-5 p-4":q}),children:[t&&(0,r.jsx)("strong",{className:(0,p.cn)("block font-bold text-black text-xl leading-8",q&&"text-lg leading-6"),children:t}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:(0,p.cn)("space-y-2",{"space-y-1.5":q}),children:[(0,r.jsx)("label",{htmlFor:"offer-type",className:"block font-medium text-base text-black leading-6",children:j}),(0,r.jsxs)(h.Select,{value:L,onValueChange:_,children:[(0,r.jsx)(h.SelectTrigger,{id:"offer-type",className:"w-full",children:L?(0,r.jsxs)("div",{className:"flex items-center gap-2",children:["electricity"===L&&(0,r.jsx)(a.default,{className:"h-4 w-4"}),"gas"===L&&(0,r.jsx)(s.default,{className:"h-4 w-4"}),"both"===L&&(0,r.jsx)(x.eJ,{className:"h-4 w-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["electricity"===L&&y,"gas"===L&&w,"both"===L&&N]})]}):(0,r.jsx)(h.SelectValue,{placeholder:k})}),(0,r.jsxs)(h.SelectContent,{indicatorPosition:"right",children:[(0,r.jsx)(h.SelectItem,{value:"electricity",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(a.default,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:y})]})}),(0,r.jsx)(h.SelectItem,{value:"gas",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(s.default,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:w})]})}),(0,r.jsx)(h.SelectItem,{value:"both",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(x.eJ,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:N})]})})]})]})]}),(0,r.jsxs)("div",{className:(0,p.cn)("space-y-2",{"space-y-1.5":q}),children:[(0,r.jsx)("label",{htmlFor:"aggregate",className:"block font-medium text-base text-black leading-6",children:S}),(0,r.jsxs)(h.Select,{value:R,onValueChange:I,children:[(0,r.jsx)(h.SelectTrigger,{id:"aggregate",className:"w-full",children:R?(0,r.jsxs)("div",{className:"flex items-center gap-2",children:["mover"===R&&(0,r.jsx)(n.default,{className:"h-4 w-4"}),"switcher"===R&&(0,r.jsx)(i.default,{className:"h-4 w-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["mover"===R&&C,"switcher"===R&&P]})]}):(0,r.jsx)(h.SelectValue,{placeholder:T})}),(0,r.jsxs)(h.SelectContent,{indicatorPosition:"right",children:[(0,r.jsx)(h.SelectItem,{value:"mover",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(n.default,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:C})]})}),(0,r.jsx)(h.SelectItem,{value:"switcher",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(i.default,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:P})]})})]})]})]})]}),(0,r.jsx)("div",{className:(0,p.cn)("space-y-2",{"space-y-1.5":q}),children:(0,r.jsxs)(u.Button,{onClick:()=>{let e={electricity:"electricity",gas:"gas",both:"both"}[L],t={mover:"future",switcher:"current"}
1[R],r=new URL(l,window.location.origin);e&&r.searchParams.set("energy_type",e),t&&r.searchParams.set("housing_context",t);let a=r.pathname+r.search;M({event:"click",eventCategory:"navigation",eventType:"link",eventComponent:b,eventPosition:"sidebar",eventWording:"Comparer les tarifs",eventDestination:a}),A.push(a)},className:"w-full",variant:"primary",children:[(0,r.jsx)(o.default,{className:"h-4 w-4"}),"Comparer les tarifs"]})})]})]})}},22950:(e,t,l)=>{"use strict";l.d(t,{d:()=>s});var r=l(54568),a=l(37004);let s=e=>{let{title:t,logos:l}=e;if(0===l.length)return null;let s=l.map(e=>({src:e.image,alt:e.name}));return(0,r.jsxs)("section",{className:"-ml-[50vw] relative left-1/2 w-screen space-y-6 py-8",children:[(0,r.jsx)(a.w,{images:s}),t?(0,r.jsx)("p",{className:"container mx-auto max-w-screen-lg text-center text-stone-600 lg:text-lg",children:t}):null]})}},23559:(e,t,l)=>{"use strict";l.d(t,{H:()=>a});var r=l(12247);let a=(0,r.createServerReference)("7f58b8050a73a556ef99bf4ae46e96cc92ead13676",r.callServer,void 0,r.findSourceMapURL,"saveProvider")},24792:(e,t,l)=>{"use strict";l.r(t),l.d(t,{CallToAction:()=>_,availableIcons:()=>P.u,ctaIconComponents:()=>M,ctaVariants:()=>A,iconClasses:()=>T});var r=l(54568),a=l(54616),s=l(62440),n=l(72984),i=l(56178),o=l(1097),c=l(56050),d=l(19760),m=l(64751),u=l(51440),h=l(60844),x=l(32536),p=l(19664),f=l.n(p),v=l(7620),g=l(7635),b=l(40599),j=l(38584),y=l(23951),w=l(14591),N=l(36747),k=l(16151),S=l(4662),C=l(13535),P=l(73403);let T="h-5 w-5 -mt-px",A=(0,a.F)("transition-[width] !no-underline active:scale-95 inline-flex gap-1.5 items-center justify-center rounded-md font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none border focus:ring-offset-white",{variants:{height:{base:"min-h-11 px-4 py-2",sm:"min-h-10 px-3 py-1",auto:"min-h-11 px-4 py-2 text-center"},width:{full:"md:w-full",fit:"md:w-fit"},radius:{round:"rounded-md",ppn:"rounded-tl-xl rounded-br-xl rounded-tr-md rounded-bl-md",square:"rounded-none"},mobileWidth:{full:"w-full",fit:"w-fit"},iconRight:{true:"flex-row-reverse",false:""},variant:{primary:"bg-primary-500 text-white hover:bg-primary-600 focus:ring-primary-500 border-primary-500 hover:border-primary-600",primaryInverse:"bg-white text-primary-500 hover:bg-stone-100 focus:ring-primary-500 border-primary-500 hover:border-primary-600",secondary:"bg-secondary-500 text-white hover:bg-secondary-600 focus:ring-secondary-500 border-secondary-500 hover:border-secondary-600",secondaryInverse:"bg-white text-secondary-500 hover:bg-stone-100 focus:ring-secondary-500 border-secondary-500 hover:border-secondary-600",tert
1iary:"bg-tertiary-500 hover:bg-tertiary-600 focus:ring-tertiary-500 border-tertiary-500 hover:border-tertiary-600",tertiaryInverse:"bg-white text-tertiary-500 hover:bg-stone-100 focus:ring-tertiary-500 border-tertiary-500 hover:border-tertiary-600",quaternary:"bg-quaternary-800 text-white hover:bg-quaternary-900 focus:ring-quaternary-800 border-quaternary-800 hover:border-quaternary-900",quaternaryInverse:"bg-white text-quaternary-800 hover:bg-stone-100 focus:ring-quaternary-800 border-quaternary-800 hover:border-quaternary-900",error:"bg-rose-500 text-white hover:bg-rose-600 focus:ring-rose-500 border-rose-500 hover:border-rose-600",errorInverse:"bg-white text-rose-500 hover:bg-stone-100 focus:ring-rose-500 border-rose-500 hover:border-rose-600",outlineBlack:"bg-white text-black hover:bg-stone-50 focus:ring-black border-black hover:border-black"}},defaultVariants:{height:"base",width:"fit",radius:"round",mobileWidth:"fit",variant:"primary"}}),M={calendar:s.default,computer:n.default,phone:i.default,wcb:o.default,download:c.default,"arrow-right":d.default,"arrow-left":m.default},L={calendar:(0,r.jsx)(s.default,{className:T}),computer:(0,r.jsx)(n.default,{className:T}),phone:(0,r.jsx)(i.default,{className:T}),wcb:(0,r.jsx)(o.default,{className:T}),download:(0,r.jsx)(c.default,{className:T}),"arrow-right":(0,r.jsx)(d.default,{className:T}),"arrow-left":(0,r.jsx)(m.default,{className:T})},_=e=>{var t,l;let{activeMode:a,displayMode:s,hideOn:n,appModeAttributes:i,callModeAttributes:o,width:c,variant:d,iconRight:m,radius:u,mobileWidth:h,height:p,avatarSrc:f,className:v,callTracking:g}=e,{data:y,isLoading:P}=(0,w.useCurrentMode)({enable:!s}),{isLoading:T}=(0,k.S)(),M=null!=(l=null!=(t=null!=s?s:null==y?void 0:y.override)?t:null==y?void 0:y.mode)?l:"call",_="call"===M?o:i,D=(e=>{var t,l;let{mode:r,href:a,isCallback:s}=e,n=(0,C.G)(),i=(0,S.useMediaQuery)("(max-width: 767px)"),o=!s&&(0,N.Gz)(a);return i&&o?"call"===r?null!=(t=null==n?void 0:n.mobile.callLabel)?t:null:null!=(l=null==n?void 0:n.mobile.appLabel)?l:null:null})({mode:M,href:null==_?void 0:_.href,isCallback:null==_?void 0:_.isCallback});return(()=>{var e,t,l;if(P||T)return(0,r.jsx)(R,{className:(0,b.cn)(A({width:c,variant:d,radius:u,mobileWidth:h,height:p,iconRight:m}),v),avatarSrc:f,width:c,mobileWidth:h,value:(null==o?void 0:o.href)&&(null==o?void 0:o.href)!==""?null==o?void 0:o.value:null==i?void 0:i.value,href:(null==o?void 0:o.href)&&(null==o?void 0:o.href)!==""?null==o?void 0:o.href:null==i?void 0:i.href,isCallback:null!=(t=null!=(e=null==o?void 0:o.isCallback)?e:null==i?void 0:i.isCallback)&&t,icon:(null==o?void 0:o.icon)&&L[o.icon]});if(n===M||"both"===n||void 0!==a&&a!==M)return null;let s=((e,t,l)=>{var r,a;return"app"===e?null!=(r=null!=t?t:l)?r:null:null!=(a=null!=l?l:t)?a:null})(M,i,o);if(null==s?void 0:s.isCallback)return(0,r.jsx)(j.TrackingProvider,{slice:{event:"click",eventType:"wcb",eventCategory:"conversion",eventComponent:"ppn-cta",eventWording:null==s?void 0:s.value},children:(0,r.jsx)(q,{className:(0,b.cn)(A({width:c,variant:d,radius:u,mobileWidth:h,height:p,iconRight:m}),v),avatar:f&&(0,r.jsx)("div",{className:"relative h-5 w-5 overflow-hidden rounded-full outline outline-white",children:(0,r.jsx)(x.default,{src:f,alt:"Avatar",className:"h-6 w-6 rounded-full object-contain",fill:!0})}),icon:(null==s?void 0:s.icon)&&L[s.icon],children:null==s?void 0:s.value})});let y=(0,b.cn)(A({width:c,variant:d,radius:u,mobileWidth:h,height:p,iconRight:m}),v),w=f&&(0,r.jsx)("div",{className:"relative h-5 w-5 overflow-hidden rounded-full outline outline-white",children:(0,r.jsx)(x.default,{src:f,alt:"Avatar",className:"h-6 w-6 rounded-full object-contain",fill:!0})}),N=(null==s?void 0:s.icon)&&L[s.icon];return(0,r.jsx)(j.TrackingProvider,{slice:{event:"click",currentMode:M,eventComponent:"ppn-cta"},children:(0,r.jsx)(I,{className:y,href:null!=(l=null==s?void 0:s.href)?l:"#",target:null==s?void 0:s.target,rel:null==s?void 0:s.rel,avatar:w,icon:N,overrideLabel:D,callTracking:g,children:null==s?void 0:s.value})})})()},R=e=>{let{avatarSrc:t,width:l,mobileWidth:a,className:s,href:n,icon:i,value:o,isCallback:c}=e;return(0,r.jsxs)(r.Fragment,{children:[n&&(0,r.jsxs)("noscript",{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-cta-skeleton]{display:none!important}"}}),(0,r.jsx)("a",{href:c?"#":n,children:(0,r.jsxs)("div",{className:s,children:[i,null!=o?o:n]})})]}),(0,r.jsxs)("div",{"data-cta-skeleton":!0,className:(0,b.cn)("pointer-events-none",s),children:[t&&(0,r.jsx)("div",{className:"h-5 w-5 animate-pulse rounded-full bg-stone-500 mix-blend-hard-light"}),(0,r.jsx)(u.default,{className:"h-6 w-6 animate-pulse fill-stone-500 text-stone-500 mix-blend-hard-light"}),(0,r.jsx)("div",{className:(0,b.cn)("h-5 w-28 animate-pulse rounded bg-stone-500 mix-blend-hard-light","full"===l?"md:w-full":"md:w-28","full"===a?"w-full max-w-sm":"w-28")})]})]})},I=e=>{var t,l,a;let{className:s,href:n,rel:i,target:o,avatar:c,icon:d,children:m,overrideLabel:u,callTracking:h}=e,x=n.replace("tel:",""),{data:p,isLoading:v}=(0,N.xs)(u||!1===h?void 0:x),g=(0,y.useTracking)();if(u&&!1!==h){let e=async()=>{try{let e=await (0,N._O)(x);g({eventWording:null!=e?e:u,eventDestination:e?"tel:".concat(e):"#",eventType:"call",eventCategory:"conversion"}),e&&(window.location.href="tel:".concat(e))}catch(e){console.error("Failed to fetch phone number at click time:",e)}};return(0,r.jsxs)("button",{type:"button",className:s,onClick:e,children:[c,d,u]})}if(v){let e=(null==n?void 0:n.startsWith("tel:"))?n.replace("tel:","").replace(/(\d{2})(?=\d)/g,"$1 "):"string"==typeof m?m:"";return(0,r.jsx)(R,{className:s,href:n,icon:d,value:e})}let b=(null==p?void 0:p.success)&&p.data.wannaspeak_number,j=null!=(a=b?"tel:".concat(null==p||null==(t=p.data)?void 0:t.wannaspeak_number):n)?a:"#",w=(null==j?void 0:j.startsWith("tel:"))?"call":"link",k=()=>{var e;g({eventWording:b?null==p||null==(e=p.data)?void 0:e.wannaspeak_number.replace("tel:",""):"string"==typeof m?m:"CTA Button",eventDestination:j,eventType:w,eventCategory:"call"===w?"conversion":"navigation"})},S=(0,r.jsxs)(r.Fragment,{children:[c,d,b?null==p||null==(l=p.data)?void 0:l.wannaspeak_number.replace("tel:",""):m]});return j.startsWith("tel:")?(0,r.jsx)("a",{href:j,className:s,target:o,rel:i,onClick:k,children:S}):(0,r.jsx)(f(),{href:j,className:s,target:o,rel:i,onClick:k,children:S})},q=e=>{let{children:t,icon:l,avatar:a,...s}=e,[n,i]=(0,v.useState)(!1),o=(0,y.useTracking)(),{enabled:c}=(0,g.m)();return(0,r.jsxs)("button",{type:"button",onClick:async e=>{if(i(!0),e.preventDefault(),e.stopPropagation(),o(),c)window.dispatchEvent(new CustomEvent(g.E));else{let e=document.querySelector("ppn-form-wcb-popin"),t=document.querySelector("ppn-popin-deal");if(!e)try{await Promise.race([new Promise(e=>{let t=()=>{window.removeEventListener("popinRegistered",t),e("popinRegistered")};window.addEventListener("popinRegistered",t),window.dispatchEvent(new CustomEvent("registerPopin"))}),new Promise((e,t)=>
1setTimeout(()=>t(Error("Popin registration timeout")),5e3))]),await new Promise(e=>setTimeout(e,500)),e=document.querySelector("ppn-form-wcb-popin")}catch(e){console.error("failed to register popin:",e)}e&&(e.setAttribute("is-open",""),e.setAttribute("has-been-opened",""),null==t||t.removeAttribute("is-open"),document.body.style.height="100%",document.body.style.overflow="hidden"),e||document.body.classList.add("show-popin-wcb")}i(!1)},...s,children:[a,n?(0,r.jsx)(h.default,{className:(0,b.cn)(T,"animate-spin")}):l,t]})}},25771:(e,t,l)=>{"use strict";l.d(t,{C:()=>d});var r=l(54568),a=l(32536),s=l(24792),n=l(66750),i=l(40599);let o=e=>{var t;return!!(null==(t=e.href)?void 0:t.startsWith("tel:"))},c=e=>{var t;return{value:e.label,href:null!=(t=e.href)?t:"",icon:o(e)?"phone":void 0,target:e.targetBlank?"_blank":void 0,rel:e.targetBlank?"noopener noreferrer":void 0}},d=e=>{let{title:t,description:l,primaryCta:d,secondaryCta:m,bannerImage:u,bannerImageMobile:h,colorScheme:x="primary",displayTrustpilot:p,className:f}=e;return(0,r.jsx)("section",{className:(0,i.cn)("w-full",f),children:(0,r.jsxs)("div",{className:"mx-auto flex max-w-screen-2xl flex-col items-center gap-0 lg:flex-row lg:gap-0",children:[(0,r.jsxs)("div",{className:"flex flex-1 flex-col items-start justify-center gap-6 px-4 py-6 lg:px-14 lg:py-14",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)("h1",{className:"text-center font-bold text-4xl leading-tight lg:text-left lg:text-6xl lg:leading-tight",children:t}),(0,r.jsx)("p",{className:"text-center text-base text-stone-600 lg:text-left lg:text-xl",children:l})]}),(0,r.jsxs)("div",{className:"flex w-full flex-col items-center gap-4 lg:w-fit lg:flex-row lg:items-start",children:[(0,r.jsx)(s.CallToAction,{callModeAttributes:d.callIsWcb?{value:d.label,href:"#",icon:"wcb",isCallback:!0}:void 0,appModeAttributes:c(d),hideOn:o(d)||!d.href?"app":void 0,variant:x,className:"whitespace-nowrap rounded-full"}),m&&(0,r.jsx)(s.CallToAction,{appModeAttributes:c(m),hideOn:o(m)?"app":void 0,variant:"outlineBlack",className:"whitespace-nowrap rounded-full"})]}),p&&(0,r.jsx)(n.TrustpilotBadge,{})]}),u&&(0,r.jsx)("div",{className:"block px-4 py-6 lg:px-0 lg:py-3",children:(0,r.jsxs)("div",{className:"relative w-full overflow-hidden lg:h-[407px] lg:w-[600px]",children:[(0,r.jsx)("div",{className:"relative hidden h-full w-full lg:block",children:(0,r.jsx)(a.default,{src:u,alt:"",fill:!0,sizes:"600px",priority:!0,quality:100,className:"object-cover object-left"})}),(0,r.jsx)("div",{className:"block lg:hidden",children:(0,r.jsx)(a.default,{src:null!=h?h:u,alt:"",width:0,height:0,sizes:"100vw",priority:!0,quality:100,className:"gradient-mask-b-70 h-auto w-full object-contain"})})]})})]})})}},27539:(e,t,l)=>{Promise.resolve().then(l.bind(l,24792))},30351:(e,t,l)=>{"use strict";l.d(t,{J:()=>a});var r=l(12247);let a=(0,r.createServerReference)("002fc5aeab20d0f78e043309a45f6df86e4f3b3971",r.callServer,void 0,r.findSourceMapURL,"getSubdomainList")},33440:(e,t,l)=>{"use strict";l.d(t,{d:()=>m});var r=l(54568),a=l(32536),s=l(58597),n=l(23951);function i(e){let{ctaLabel:t,popinTitle:l,popinDescription:i,qrImage:o}=e,c=(0,n.useTracking)();return(0,r.jsxs)(s.Dialog,{children:[(0,r.jsx)(s.DialogTrigger,{asChild:!0,children:(0,r.jsx)("button",{type:"button",onClick:()=>c({eventWording:t,eventType:"interaction"}),className:"inline-flex items-center justify-center rounded-full bg-primary-500 px-5 py-3 font-medium text-white transition hover:opacity-90",children:t})}),(0,r.jsx)(s.DialogContent,{className:"max-w-[660px] rounded-3xl bg-white p-6 sm:p-10 dark:bg-white [&_#dialog-button_svg]:text-stone-950 dark:[&_#dialog-button_svg]:text-stone-950",children:(0,r.jsxs)("div",{className:"flex flex-col items-center gap-8 text-center",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,r.jsx)(s.DialogTitle,{className:"font-bold text-3xl text-stone-950 tracking-tight lg:text-4xl dark:text-stone-950",children:l}),i&&(0,r.jsx)(s.DialogDescription,{className:"font-medium text-stone-950 text-xl lg:text-2xl dark:text-stone-950",children:i})]}),(0,r.jsx)("div",{className:"relative size-[205px]",children:(0,r.jsx)(a.default,{src:o,alt:"papernest app QR code",fill:!0,sizes:"205px",className:"object-contain"})})]})})]})}var o=l(58183),c=l(40599);let d=[{key:"appStoreUrl",src:"/images/badges/app-store-fr.svg",alt:"App Store"},{key:"playStoreUrl",src:"/images/badges/google-play-fr.svg",alt:"Google Play"}],m=e=>{let{title:t,description:l,ctaLabel:s,image:n,imageMobile:m,popinTitle:u,popinDescription:h,qrImage:
1x,appStoreUrl:p,playStoreUrl:f,os:v,className:g}=e,b={appStoreUrl:p,playStoreUrl:f},j=d.flatMap(e=>{let t=b[e.key];return t&&("ios"!==v||"appStoreUrl"===e.key)&&("android"!==v||"playStoreUrl"===e.key)?[{...e,href:t}]:[]});return(0,r.jsx)("section",{className:(0,c.cn)("w-full",g),children:(0,r.jsx)("div",{className:"mx-auto max-w-screen-2xl",children:(0,r.jsxs)("div",{className:"relative flex flex-col overflow-hidden rounded-t-[30px] bg-primary-50 px-4 pt-10 lg:flex-row lg:items-center lg:gap-10 lg:rounded-t-[60px] lg:px-14 lg:py-0",children:[(0,r.jsxs)("div",{className:"flex flex-1 flex-col items-start gap-6",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("h2",{className:"font-bold text-2xl text-stone-950 leading-tight lg:text-4xl lg:leading-tight dark:text-stone-950",children:t}),(0,r.jsx)("p",{className:"text-base text-stone-600 lg:text-lg",children:l})]}),(0,r.jsxs)("div",{className:"w-full",children:[j.length>0&&(0,r.jsx)("div",{className:"flex flex-wrap items-center gap-3 lg:hidden",children:j.map(e=>(0,r.jsx)(o.TrackedLink,{href:e.href,target:"_blank",wording:e.alt,children:(0,r.jsx)(a.default,{src:e.src,alt:e.alt,width:135,height:40,unoptimized:!0,className:"h-10 w-auto"})},e.key))}),(0,r.jsx)("div",{className:(0,c.cn)(j.length>0?"hidden lg:block":"block"),children:(0,r.jsx)(i,{ctaLabel:s,popinTitle:u,popinDescription:h,qrImage:x})})]})]}),(0,r.jsxs)("div",{className:"relative h-[300px] w-full self-end lg:mt-6 lg:h-[420px] lg:w-1/3 lg:shrink-0 lg:self-end xl:mt-0",children:[(0,r.jsx)(a.default,{src:null!=m?m:n,alt:"",fill:!0,sizes:"100vw",className:"object-contain object-right-bottom lg:hidden"}),(0,r.jsx)(a.default,{src:n,alt:"",fill:!0,sizes:"420px",className:"hidden object-contain object-right-bottom lg:block"})]})]})})})}},34944:(e,t,l)=>{"use strict";l.d(t,{V:()=>a});var r=l(12247);let a=(0,r.createServerReference)("7f79eae56419f06d2d4f6509015cee5b4ee27c9f07",r.callServer,void 0,r.findSourceMapURL,"uploadImage")},35421:(e,t,l)=>{"use strict";l.d(t,{y:()=>a});var r=l(12247);let a=(0,r.createServerReference)("7f707b4fd991248cc18e2b89f2cd3386f334151437",r.callServer,void 0,r.findSourceMapURL,"invalidateCacheAction")},36732:(e,t,l)=>{"use strict";l.d(t,{a:()=>a});var r=l(12247);let a=(0,r.createServerReference)("7f2ceb5dcc381659ed2a9454f9be3d167c4082c8e4",r.callServer,void 0,r.findSourceMapURL,"createOrReadKeylessAction")},37462:(e,t,l)=>{"use strict";l.d(t,{I:()=>o});var r=l(54568),a=l(24792),s=l(40599);let n={primary:"bg-primary-500",secondary:"bg-secondary-500",tertiary:"bg-tertiary-500",quaternary:"bg-quaternary-800"},i={primary:"primaryInverse",secondary:"secondaryInverse",tertiary:"tertiaryInverse",quaternary:"quaternaryInverse"},o=e=>{var t,l;let{title:o,description:c,cta:d,colorScheme:m="primary",className:u}=e,h=d.href.startsWith("tel:"),x="whitespace-nowrap rounded-full",p=i[m];return(0,r.jsx)("section",{className:(0,s.cn)("my-10 w-full px-4 lg:my-14 lg:px-16",u),children:(0,r.jsxs)("div",{className:(0,s.cn)("mx-auto flex max-w-screen-2xl flex-col items-center justify-center gap-6 rounded-2xl px-6 py-12 text-center","lg:[--cta-right-glow:0.2]",n[m]),style:{backgroundImage:"radial-gradient(circle at 0% 100%, rgba(255, 184, 29, 0.20), transparent 30%), radial-gradient(circle at 100% 0%, rgba(255, 184, 29, var(--cta-right-glow, 0)), transparent 30%)"},children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("h2",{className:"font-bold text-white text-xl leading-tight lg:text-2xl",children:o}),c&&(0,r.jsx)("p",{className:"text-lg text-white/90 lg:text-xl",children:c})]}),h?(0,r.jsx)(a.CallToAction,{callModeAttributes:{value:d.label,href:d.href,icon:null!=(t=d.icon)?t:"phone"},appModeAttributes:{value:d.label,href:"#",icon:null!=(l=d.icon)?l:"wcb",isCallback:!0},variant:p,className:x}):(0,r.jsx)(a.CallToAction,{appModeAttributes:{value:d.label,href:d.href,icon:d.icon,target:d.targetBlank?"_blank":void 0,rel:d.targetBlank?"noopener noreferrer":void 0},variant:p,className:x})]})})}},38619:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var r=l(12247);let a=(0,r.createServerReference)("7f1b8e6a3480294b92cb561779735e0f965aa01ebf",r.callServer,void 0,r.findSourceMapURL,"updateTranslations")},47229:(e,t,l)=>{"use strict";l.d(t,{l:()=>a});var r=l(12247);let a=(0,r.createServerReference)("7f8bda859bec5d140a678603468eff885bddf46643",r.callServer,void 0,r.findSourceMapURL,"getBlobMetadata")},49736:(e,t,l)=>{Promise.resolve().then(l.bind(l,13535)),Promise.resolve().then(l.bind(l,24792)),Promise.resolve().then(l.bind(l,13782)),Promise.resolve().then(l.bind(l,10776)),Promise.resolve().then(l.bind(l,66473)),Promise.resolve().then(l.bind(l,58183)),Promise.resolve().then(l.bind(l,66750)),Promise.resolve().then(l.bind(l,12904)),Promise.resolve().then(l.bind(l,72952)),Promise.resolve().then(l.bind(l,68285)),Promise.resolve().then(l.bind(l,92073)),Promise.resolve().then(l.bind(l,57e3)),Promise.resolve().then(l.bind(l,12275)),Promise.resolve().then(l.bind(l,7635)),Promise.resolve().then(l.bind(l,38584)),Promise.resolve().then(l.t.bind(l,19664,23)),Promise.resolve().then(l.t.bind(l,93124,23)),Promise.resolve().then(l.t.bind(l,10489,23))},51680:()=>{},52284:(e,t,l)=>{Promise.resolve().then(l.bind(l,24792)),Promise.resolve().then(l.bind(l,33803)),Promise.resolve().then(l.bind(l,35854)),Promise.resolve().then(l.t.bind(l,19664,23)),Promise.resolve().then(l.t.bind(l,10489,23))},53474:(e,t,l)=>{"use strict";l.d(t,{g:()=>c});var r=l(54568),a=l(54616),s=l(32536),n=l(24792),i=l(40599);let o=(0,a.F)("bg-gradient-to-t from-[6%] from-[rgba(252,252,252,0.95)] to-[95%]",{variants:{colorScheme:{primary:"to-primary-25",secondary:"to-secondary-25",tertiary:"to-tertiary-25",quaternary:"to-quaternary-25"}},defaultVariants:{colorScheme:"primary"}}),c=e=>{let{title:t,description:l,firstCtaText:a,firstCtaHref:c,secondCtaText:d,secondCtaHref:m,bannerImages:u,className:h,colorScheme:x="primary"}=e,p=!!d&&!!m;return(0,r.jsx)("section",{className:(0,i.cn)(o({colorScheme:x}),p?"text-left md:text-center":"text-center",h),children:(0,r.jsxs)("div",{className:(0,i.cn)("mx-auto flex max-w-screen-2xl items-center gap-10 px-4 md:flex-col md:gap-14",p?"flex-col-reverse py-10 md:p-14":"flex-col pt-10 md:px-14 md:pt-14"),children:[(0,r.jsxs)("div",{className:"flex w-full flex-col items-center gap-6",children:[(0,r.jsxs)("div",{className:"flex w-full flex-col items-center gap-2",children:[(0,r.jsx)("h1",{className:"text-2xl leading-normal md:text-[40px] md:leading-normal",children:t}),(0,r.jsx)("p",{className:"md:text-xl md:leading-6",children:l})]}),(0,r.jsxs)("div",{className:(0,i.cn)("flex w-full flex-col items-center gap-2 md:flex-row md:justify-center md:gap-4",p?"w-full":"w-fit"),children:[(0,r.jsx)(n.CallToAction,{callTracking:!1,appModeAttributes:{value:a,href:c},variant:x,mobileWidth:"full",className:"rounded-full"}),p&&(0,r.jsx)(n.CallToAction,{callTracking:!1,appModeAttributes:{value:null!=d?d:"",href:null!=m?m:""},variant:"outlineBlack",mobileWidth:"full",className:"rounded-full"})]})]}),u&&1===u.length&&(0,r.jsx)("div",{className:"relative w-full text-center",children:(0,r.jsx)(s.default,{src:u[0],alt:"Banner",className:"inline-block object-contain",width:678,he
1ight:252,priority:!0,quality:100})}),u&&u.length>1&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"relative hidden w-full text-center lg:block",children:(0,r.jsx)(s.default,{src:u[0],alt:"Banner",className:"inline-block object-contain",priority:!0,width:678,height:252,quality:100})}),(0,r.jsx)("div",{className:"block w-full max-w-[320px] lg:hidden",children:(0,r.jsx)(s.default,{src:u[1],alt:"Banner",width:340,height:600,className:"h-auto w-full object-contain",quality:100,priority:!0})})]}),!p&&(0,r.jsx)("div",{className:"h-px w-full max-w-[940px] bg-stone-200 md:w-[940px]"})]})})}},55577:(e,t,l)=>{"use strict";l.d(t,{b:()=>a});var r=l(12247);let a=(0,r.createServerReference)("7f0657bbc634a9d9090fe3f4ad0357fb6e8bd85b70",r.callServer,void 0,r.findSourceMapURL,"upsertPillarProviderDetails")},60722:(e,t,l)=>{Promise.resolve().then(l.t.bind(l,19664,23))},65173:(e,t,l)=>{"use strict";l.d(t,{PatternSettingsButtonBar:()=>T});var r=l(54568),a=l(32158),s=l(7620),n=l(83631),i=l(6845),o=l(58597),c=l(92779),d=l(8049),m=l(12247);let u=(0,m.createServerReference)("708d6bbbaeb765c39f9dfbf3730577b6bd2676ee16",m.callServer,void 0,m.findSourceMapURL,"updateSubdomainPatternConfigForFeature");var h=l(26345),x=l(97899);let p={dynamic:["%provider_name%"],translated:{"review-pages":["%review%"],"pillar-pages":["%pillar%"]}},f={"review-pages":["%provider_name%"],"pillar-pages":["%provider_name%"]},v=/^\/.*$/,g=e=>{let{children:t,onVariableSelect:l,variables:a,requiredVariables:s,missingRequiredVars:n}=e;return(0,r.jsxs)("div",{className:"group relative",children:[(0,r.jsx)("div",{className:"-top-6 absolute right-1 z-50 flex translate-y-1.5 gap-2 rounded-md text-xs opacity-0 transition-all group-focus-within:translate-y-0 group-focus-within:opacity-100",children:a.map(e=>{let t=s.includes(e),a=n.includes(e);return(0,r.jsxs)("button",{type:"button",onClick:()=>l(e),onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},className:"-mx-0.5 -my-px rounded border px-1 py-px font-mono text-[95%] transition-colors ".concat(a?"border-red-600 bg-red-500/30 text-red-800 hover:bg-red-500/70 dark:text-red-200":t?"border-green-600 bg-green-500/30 text-green-800 hover:bg-green-500/70 dark:text-green-200":"border-indigo-700 bg-indigo-500/30 text-indigo-800 hover:bg-indigo-500/70 dark:text-indigo-200"),children:[e,t&&(0,r.jsx)("span",{className:"ml-1 text-red-600",children:"*"})]},e)})}),t]})},b=e=>{let{featureType:t,subdomain:l,currentConfig:a,language:m,onClose:b}=e,[j,y]=(0,s.useState)(!1),{register:w,handleSubmit:N,setValue:k,watch:S,formState:{errors:C}}=(0,n.mN)({defaultValues:{pattern:(null==a?void 0:a.patterns[0])||""}}),P=S("pattern"),T=f[t]||[],A=T.filter(e=>!(null==P?void 0:P.includes(e))),M=p.translated[t]||[],L=async e=>{if(!(A.length>0)){y(!0);try{await u(l,t,[e.pattern.endsWith("/")?e.pattern:"".concat(e.pattern,"/")]),b()}catch(e){console.error("Error saving pattern config:",e)}finally{y(!1)}}};return(0,r.jsx)(o.Dialog,{open:!0,onOpenChange:()=>b(),children:(0,r.jsx)(o.DialogContent,{className:"sm:max-w-2xl",children:(0,r.jsxs)("form",{onSubmit:N(L),children:[(0,r.jsxs)("div",{className:"space-y-6 py-4",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(d.Label,{htmlFor:"pattern",children:"URL Pattern"}),(0,r.jsx)(g,{onVariableSelect:e=>{let l=P||"";if(!l){var r;let e=null==(r=h.q.features.find(e=>e.featureType===t))?void 0:r.patterns[0];if(!e)throw Error("No default pattern found");l=e}l.endsWith("/")||(l+="/"),k("pattern",l+=e)},variables:[...p.dynamic,...M],requiredVariables:T,missingRequiredVars:A,children:(0,r.jsx)(c.Input,{id:"pattern",placeholder:"/energy/%provider_name%/%review%",...w("pattern",{required:"Pattern is required",pattern:{value:v,message:"Pattern must start with /"}}),className:"".concat(C.pattern||A.length>0?"border-red-500 bg-red-50 focus-visible:ring-red-500 dark:bg-red-950/20":"")})}),C.pattern&&(0,r.jsx)("p",{className:"text-red-500 text-sm",children:C.pattern.message}),!C.pattern&&A.length>0&&(0,r.jsxs)("p",{className:"text-red-500 text-sm",children:["Missing required variables: ",A.join(", ")
1]})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(d.Label,{children:"Preview URL"}),(0,r.jsx)("div",{className:"rounded-md bg-stone-50 p-3 dark:bg-stone-900",children:(0,r.jsx)("code",{className:"text-blue-600 text-sm dark:text-blue-400",children:(()=>{if(!P)return"/";try{return(0,x.tW)(P,t,m,{provider_name:"papernest-energy"})}catch(e){return P.startsWith("/")?P:"/".concat(P)}})()})})]})]}),(0,r.jsxs)(o.DialogFooter,{children:[(0,r.jsx)(i.Button,{type:"button",variant:"outline",onClick:b,children:"Cancel"}),(0,r.jsx)(i.Button,{type:"submit",disabled:j,children:j?"Saving...":"Save Pattern"})]})]})})})};var j=l(74717),y=l(88422),w=l(62990),N=l(54209),k=l(40599);function S(e){let{segment:t,processedValue:l}=e,a=((e,t)=>{switch(e){case"variable":return{title:"Dynamic Variable",description:"Dynamic variable based on the existing available values",example:t};case"translated-variable":return{title:"Translated Segment",description:"Translation based on the configured domain language",example:t};default:return{title:"Static Segment",description:"Fixed part of the URL that never changes",example:t}}})(t.type,t.pathSegment);return(0,r.jsx)(y.TooltipProvider,{children:(0,r.jsxs)(y.Tooltip,{children:[(0,r.jsx)(y.TooltipTrigger,{asChild:!0,children:(0,r.jsx)("span",{className:(0,k.cn)("variable"===t.type&&"text-blue-600 dark:text-blue-400","translated-variable"===t.type&&"text-green-600 dark:text-green-400","literal"===t.type&&"text-stone-800 dark:text-stone-200"),children:l})}),(0,r.jsx)(y.TooltipContent,{className:"max-w-xs",children:(0,r.jsxs)("div",{className:"space-y-1",children:[(0,r.jsx)("p",{className:"font-medium text-sm",children:a.title}),(0,r.jsx)("p",{className:"text-muted-foreground text-xs",children:a.description}),(0,r.jsx)("p",{className:"rounded bg-muted px-1 py-0.5 font-mono text-xs",children:a.example})]})})]})})}let C={provider_name:"papernest-energy"};function P(e){let{pattern:t,featureType:l,language:a}=e;try{let e=(0,w.E)(t,l),s=(0,N.EU)(e,l,a,C),n=e.map((e,t)=>{let l=s[t];if(!l)return null;let a="".concat(e.type,"-").concat(e.value,"-").concat(t);return{key:a,slash:t>0?(0,r.jsx)("span",{className:"text-stone-500",children:"/"},"slash-".concat(a)):null,content:(0,r.jsx)(S,{segment:e,processedValue:l,index:t},"content-".concat(a))}}).filter(Boolean).flatMap(e=>[e.slash,e.content]).filter(Boolean);return(0,r.jsxs)("div",{className:"flex items-center",children:[n,(0,r.jsx)("span",{className:"text-stone-500",children:"/"})]})}catch(e){return(0,r.jsx)(y.TooltipProvider,{children:(0,r.jsxs)(y.Tooltip,{children:[(0,r.jsx)(y.TooltipTrigger,{asChild:!0,children:(0,r.jsxs)("div",{className:"flex cursor-help items-center gap-2 text-amber-600 dark:text-amber-400",children:[(0,r.jsx)(j.default,{className:"h-3 w-3"}),(0,r.jsx)("span",{className:"rounded border border-amber-200 bg-amber-50 px-1.5 py-0.5 font-mono text-sm dark:border-amber-800 dark:bg-amber-950",children:t})]})}),(0,r.jsx)(y.TooltipContent,{className:"max-w-sm",children:(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(j.default,{className:"h-4 w-4 text-amber-500"}),(0,r.jsx)("p",{className:"font-medium text-sm",children:"Invalid Pattern"})]}),(0,r.jsx)("p",{className:"text-muted-foreground text-xs",children:"This URL pattern has syntax errors and cannot be processed correctly."})]})})]})})}}let T=e=>{let{featureType:t,subdomain:l,currentConfig:n,language:o}=e,[c,d]=(0,s.useState)(!1),m=null==n?void 0:n.patterns[0],u=n&&n.patterns.length>0;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"flex flex-col justify-start gap-2",children:(0,r.jsx)("div",{className:"flex flex-wrap gap-2",children:(0,r.jsxs)(i.Button,{variant:"outline",size:"sm",onClick:()=>d(!0),className:"flex h-auto flex-col items-start gap-1 p-3 text-left",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(a.default,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"font-medium text-sm",children:"URL Pattern"})]}),u?(0,r.jsx)("div",{className:"font-mono text-sm",children:(0,r.jsx)(P,{pattern:m,featureType:t,language:o})}):(0,r.jsx)("span",{className:"text-stone-500 text-xs",children:"Not configured"})]})})}),c&&(0,r.jsx)(b,{featureType:t,subdomain:l,currentConfig:n,language:o,onClose:()=>d(!1)})]})}},65275:(e,t,l)=>{"use strict";l.r(t),l.d(t,{Buttons:()=>m,Compliance:()=>u,Content:()=>h,Root:()=>c,Title:()=>d,mergeWebComponents:()=>x});var r=l(54568),a=l(12059),s=l(32536),n=l(38584),i=l(13167),o=l(14591);let c=e=>{var t,l;let{children:a,image:c,compliance:d,activeMode:m}=e,{data:u}=(0,o.useCurrentMode)({enable:!0}),h=null!=(l=null!=(t=null==u?void 0:u.override)?t:null==u?void 0:u.mode)?l:"call";return void 0!==m&&m!==h?null:(0,r.jsx)(n.TrackingProvider,{slice:{eventComponent:"ppn-cta-block-double",eventCategory:"conversion"},children:(0,r.jsxs)("div",{className:"relative flex flex-col gap-2.5",children:[(0,r.jsxs)("div",{className:"relative flex flex-col-reverse overflow-hidden rounded-lg border border-stone-200 bg-white md:flex-row",children:[(0,r.jsx)("div",{className:"absolute top-0 left-0 h-full w-1 bg-primary-500"}),(0,r.jsx)("div",{className:"flex flex-1 flex-col items-start gap-2 px-9 py-7",children:a}),c&&(0,r.jsx)("div",{className:"relative flex w-full items-center justify-center p-4 md:w-1/5",children:(0,r.jsx)(s.default,{src:c.src.trim(),alt:c.alt,width:200,height:200,className:"h-auto max-w-full object-contain",fetchPriority:"high",priority:!0})})]}),(0,r.jsx)(i.Z,{disclaimer:null==d?void 0:d.disclaimer,tooltip:null==d?void 0:d.tooltip,align:null==d?void 0:d.align,mobileTone:"dark"})]})})},d=e=>{let{children:t}=e;return(0,r.jsx)("p",{className:"!my-0 flex items-center font-medium text-primary-600 text-xl md:text-left dark:text-primary-400",children:t})},m=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:"flex w-full flex-col items-center gap-2 sm:flex-row md:w-fit",children:t})},u=e=>{let{children:t}=e;return(0,r.jsx)("p",{className:"!my-0 text-sm text-stone-500 md:text-left dark:text-stone-400",dangerouslySetInnerHTML:{__html:t}})},h=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:"text-balance text-stone-900 md:text-left dark:text-stone-400",children:t})};function x(e){var t;let l=a.Hh(e,null,!1);return l("ppn-cta-block-double").each((e,t)=>{let r=l(t),a=r.next("ppn-cta-block-double");if(a.length>0){var s,n,i,o;let e=l("<ppn-cta-block-double>");for(let t of["type","custom-type-color","text-title","background-color","text-between-cta","compliance-text","info-text","info-hover-text","info-direction","cta-radius","picture-url","picture-alt"]){let l=null!=(s=r.attr(t))?s:a.attr(t);l&&e.attr(t,l)}let t=r.hasClass("show-call-opened")?r:a,c=r.hasClass("show-call-closed")?r:a;for(let l of["first","second"]){let s=["".concat(l,"-cta-text"),"".concat(l,"-cta-href"),"".concat(l,"-cta-icon"),"".concat(l,"-cta-rel"),"".concat(l,"-cta-target"),"".concat(l,"-cta-is-wcb")],i=["".concat(l,"-cta-app-text"),"".concat(l,"-cta-app-href"),"".concat(l,"-cta-app-icon"),"".concat(l,"-cta-app-rel"),"".concat(l,"-cta-app-target"),"".concat(l,"-cta-app-is-wcb")],o=["".concat(l,"-cta-active-mode"),"".concat(l,"-cta-color"),"".concat(l,"-cta-custom-color"),"".concat(l,"-cta-custom-color-hover")];for(let l of s){let r=t.attr(l);r&&e.attr(l,r),"second-cta-text"===l&&e.attr(l,c.attr(l))}for(let t of i){let l=c.attr(t);l&&e.attr(t,l)}for(let t of o){let l=null!=(n=r.attr(t))?n:a.attr(t);l&&e.attr(t,l)}}e.html(null!=(o=null!=(i=r.html())?i:a.html())?o:""),r.replaceWith(e),a.remove()}}),null!=(t=l.root().html())?t:""}},65544:(e,t,l)=>{"use strict";l.r(t),l.d(t,{Content:()=>u,Root:()=>m,mergeWebComponents:()=>h});var r=l(54568),a=l(12059),s=l(30866),n=l(32536),i=l(20488),o=l(88422),c=l(40599),d=l(14591);let m=e=>{let{reversed:t,compliance:l,children:a,theme:i="lugia"}=e,d="kamino"===i;return(0,r.jsxs)("div",{className:"flex flex-col space-y-0.5",children:[(0,r.jsxs)("div",{className:(0,
1c.cn)("relative flex overflow-hidden rounded-xl p-8",d?"bg-secondary-500":"bg-primary-500",d?"flex-col gap-2 lg:flex-row-reverse lg:items-center lg:gap-8":t?"flex-col":"flex-col-reverse lg:flex-row-reverse"),children:[d&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"absolute top-0 left-0 z-0 hidden h-[130%] w-full translate-x-[55%] translate-y-[-5%] rotate-[5deg] rounded-[75%] bg-secondary-50 lg:block xl:translate-x-[63%]"}),(0,r.jsx)("div",{className:(0,c.cn)("absolute top-0 left-0 z-0 h-36 w-full rounded-bl-[3rem] bg-secondary-50 md:rounded-bl-[5rem] lg:hidden","before:absolute before:top-36 before:right-0 before:aspect-square before:h-36 before:rounded-tl before:bg-secondary-50 before:content-['']","after:absolute after:top-36 after:right-0 after:aspect-square after:h-36 after:rounded-tl after:rounded-tr-[3rem] after:bg-secondary-500 after:content-[''] after:md:rounded-tr-[5rem]")}),(0,r.jsx)("div",{className:"relative z-10 h-48 w-full md:w-1/3 lg:w-1/2",children:(0,r.jsx)(n.default,{src:"/images/block-single.svg",alt:"Block Single",layout:"fill",className:"object-contain object-left lg:object-right",role:"presentation"})})]}),(0,r.jsx)("div",{className:(0,c.cn)("z-20 space-y-2",d?"w-full lg:w-1/2":"w-full gap-8 lg:grid lg:grid-cols-7 lg:items-center"),children:a})]}),(null==l?void 0:l.disclaimer)&&(0,r.jsx)(o.TooltipProvider,{children:(0,r.jsxs)(o.Tooltip,{delayDuration:50,open:!!(null==l?void 0:l.tooltip)&&void 0,children:[(0,r.jsx)(o.TooltipTrigger,{asChild:!0,className:"-m-3 p-3",children:(0,r.jsxs)("div",{className:"group inline-flex w-fit items-center gap-2 self-end text-right font-medium text-stone-400 text-xs hover:cursor-help",children:[(0,r.jsx)("p",{className:"!my-0 transition-colors duration-75 group-hover:text-stone-700",children:null==l?void 0:l.disclaimer}),(0,r.jsx)(s.default,{className:"inline h-3 w-3 transition-colors duration-75 group-hover:text-stone-700"})]})}),(0,r.jsx)(o.TooltipContent,{align:"end",className:"max-w-sm p-2",children:(0,r.jsx)("p",{className:"!my-0",children:null==l?void 0:l.tooltip})})]})})]})},u=e=>{var t,l;let{children:a}=e,{data:s,isLoading:n}=(0,d.useCurrentMode)({enable:!0});if(n)return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("noscript",{children:(0,r.jsx)("style",{children:".block-single-text-skeleton{display:none!important}"})}),(0,r.jsxs)("div",{className:"block-single-text-skeleton w-full space-y-1.5 lg:col-span-5",children:[(0,r.jsx)(i.E,{className:"h-7 w-[80%] bg-white/50"}),(0,r.jsx)(i.E,{className:"h-7 w-full bg-white/50"})]})]});let o=null!=(l=null!=(t=null==s?void 0:s.override)?t:null==s?void 0:s.mode)?l:"call";return(0,r.jsx)("div",{className:"min-h-16 text-pretty text-white md:text-left lg:col-span-5",children:a(o)})};function h(e){var t,l,r,s;let n=a.Hh(e,null,!1);for(let e of["ppn-lugia-cta-block-single","ppn-kamino-cta-block-single"])for(let a of n(e)){let s=n(a),i=s.next(e);if(i.length>0){let a=n("<ppn-cta-block-single>");for(let e of["info-text","info-hover-text"]){let l=null!=(t=s.attr(e))?t:i.attr(e);l&&a.attr(e,l)}let o=s.hasClass("show-call-opened")?s:i,c=s.hasClass("show-call-closed")?s:i,d=["app-text","cta-app-text","cta-app-href","cta-app-icon","is-app-wcb"];for(let e of["call-text","cta-call-text","cta-call-href","cta-call-icon","is-wcb"]){let t=o.attr(e);t&&a.attr(e,t)}for(let e of d){let t=c.attr(e);t&&a.attr(e,t)}a.attr("theme",e.split("-")[1]),a.html(null!=(r=null!=(l=s.html())?l:i.html())?r:""),s.replaceWith(a),i.remove()}}return null!=(s=n.root().html())?s:""}},65986:(e,t,l)=>{"use strict";l.d(t,{k:()=>a});var r=l(12247);let a=(0,r.createServerReference)("009e5f65a141bd5424a45c3cf65508cfb66f36f632",r.callServer,void 0,r.findSourceMapURL,"defaultPreviewSubdomain")},66047:(e,t,l)=>{"use strict";l.r(t),l.d(t,{PPNAccordion:()=>i,PPNAccordionItem:()=>n});var r=l(54568),a=l(64453),s=l(40599);let n=e=>{let{title:t,children:l,className:n,as:i}=e;return(0,r.jsxs)(a.AccordionItem,{value:t||"item",className:(0,s.cn)("border-stone-200 border-b dark:border-stone-200",n),children:[(0,r.jsx)(a.AccordionTrigger,{as:i,className:"!text-black py-4 text-left font-medium text-base transition-all hover:no-underline",children:t||"Untitled Question"}),(0,r.jsx)(a.AccordionContent,{className:"pb-4",children:(0,r.jsx)("div",{className:"prose prose-sm !text-black prose-p:!text-black prose-headings:!text-black max-w-none space-y-4 marker:text-black [&_li]:ml-4 [&_ol]:list-decimal [&_ul]:list-disc",children:l})})]})},i=e=>{let{children:t,type:l="single",className:n}=e;return(0,r.jsx)(a.Accordion,{type:l,collapsible:"single"===l,className:(0,s.cn)("w-full",n),children:t})}},66158:(e,t,l)=>{Promise.resolve().then(l.bind(l,13535)),Promise.resolve().then(l.bind(l,24792)),Promise.resolve().then(l.bind(l,13782)),Promise.resolve().then(l.bind(l,10776)),Promise.resolve().then(l.bind(l,66473)),Promise.resolve().then(l.bind(l,58183)),Promise.resolve().then(l.bind(l,66750)),Promise.resolve().then(l.bind(l,12904)),Promise.resolve().then(l.bind(l,72952)),Promise.resolve().then(l.bind(l,68285)),Promise.resolve().then(l.bind(l,92073)),Promise.resolve().then(l.bind(l,57e3)),Promise.resolve().then(l.bind(l,12275)),Promise.resolve().then(l.bind(l,7635)),Promise.resolve().then(l.t.bind(l,63700,23)),Promise.resolve().then(l.bind(l,38584)),Promise.resolve().then(l.t.bind(l,19664,23)),Promise.resolve().then(l.t.bind(l,93124,23)),Promise.resolve().then(l.t.bind(l,10489,23))},68847:(e,t,l)=>{"use strict";l.d(t,{ClientGate:()=>s});var r=l(7620);let a=()=>()=>void 0,s=e=>{let{children:t}=e;return(0,r.useSyncExternalStore)(a,()=>!1,()=>!0)?null:t}},70959:(e,t,l)=>{"use strict";l.d(t,{K:()=>a});var r=l(12247);let a=(0,r.createServerReference)("7ff79a7b36083d1b66819262c9035f5bb5802a82bd",r.callServer,void 0,r.findSourceMapURL,"deleteImages")},73403:(e,t,l)=>{"use strict";l.d(t,{u:()=>r});let r=["calendar","computer","phone","wcb","download","arrow-right","arrow-left"]},74545:(e,t,l)=>{"use strict";l.r(t),l.d(t,{Debugger:()=>C,default:()=>P});var r=l(54568),a=l(9385),s=l(99357),n=l(60844),i=l(24180),o=l(15082),c=l(56178),d=l(87551),m=l(25863),u=l(63072),h=l(57522),x=l.n(h),p=l(27541),f=l(7620),v=l(75990),g=l(78227),b=l(12127),j=l(12904),y=l(32673),w=l(40599),N=l(14591);let k={app:"call-closed",call:"call-opened"},S=async e=>{let t=(await fetch(e,{method:"HEAD",cache:"no-store"})).headers.get("date");
1return t?new Date(t).toLocaleString():null},C=()=>{var e,t;let[l,h]=(0,f.useState)(!1);(0,v.vC)("mod+/",()=>h(e=>!e));let C=(0,p.useSelectedLayoutSegments)(),P=C.includes("(logged)"),T=C.includes("tool-creator")||C.includes("live-render"),A=P||T,M=(e=>{var t,l,r;let{disable:a}=e,[s,n]=(0,f.useState)(null),[i,o]=(0,f.useState)(!1);return((0,f.useEffect)(()=>{if(a)return;let e=(()=>{var e,t,l;return null!=(l=null!=(t=localStorage.getItem("overriddenTheme"))?t:null==(e=document.querySelector("[data-theme]"))?void 0:e.getAttribute("data-theme"))?l:null})();if(e){var t;null==(t=document.querySelector("[data-theme]"))||t.setAttribute("data-theme",e),n(e),o(null!==localStorage.getItem("overriddenTheme"))}},[a]),a)?{currentTheme:null,isThemeOverridden:!1,setTheme:()=>void 0,resetTheme:()=>void 0,originalTheme:null}:{currentTheme:s,isThemeOverridden:i,setTheme:e=>{var t,l;if(!localStorage.getItem("originalTheme")){let e=null==(l=document.querySelector("[data-theme]"))?void 0:l.getAttribute("data-theme");e&&localStorage.setItem("originalTheme",e)}localStorage.setItem("overriddenTheme",e),null==(t=document.querySelector("[data-theme]"))||t.setAttribute("data-theme",e),o(!0),n(e)},resetTheme:()=>{let e=localStorage.getItem("originalTheme");if(e){var t;null==(t=document.querySelector("[data-theme]"))||t.setAttribute("data-theme",e),n(e),o(!1),localStorage.removeItem("overriddenTheme"),localStorage.removeItem("originalTheme")}},originalTheme:null!=(r=null!=(l=localStorage.getItem("originalTheme"))?l:null==(t=document.querySelector("[data-theme]"))?void 0:t.getAttribute("data-theme"))?r:null}})({disable:A}),L=(e=>{var t,l,r;let{disable:a}=e,{mutate:s,data:n,isLoading:i,isValidating:o}=(0,N.useCurrentMode)({enable:!a}),c=async e=>{await fetch("/api/debug/mode-override",{method:"PATCH",body:e}).then(t=>200!==t.status?void console.error("failed to set mode",t.statusText):(document.body.classList.remove(k.app,k.call),document.body.classList.add(k[e]),s())).catch(console.error)},d=async()=>{var e;let t=null!=(e=null==n?void 0:n.mode)?e:null;t&&await fetch("/api/debug/mode-override",{method:"DELETE"}).then(e=>200!==e.status?void console.error("failed to reset mode",e.statusText):(document.body.classList.remove(k.app,k.call),document.body.classList.add(k[t]),s())).catch(console.error)};return((0,f.useEffect)(()=>{var e;if(a||!n)return;let t=null!=(e=n.override)?e:n.mode;document.body.classList.remove(k.app,k.call),document.body.classList.add(k[t])},[a,null==n?void 0:n.mode,null==n?void 0:n.override,i]),a)?{currentMode:null,isModeOverridden:!1,setMode:()=>Promise.resolve(),resetMode:()=>Promise.resolve(),originalMode:null,isModeLoading:!1}:{currentMode:null!=(l=null!=(t=null==n?void 0:n.override)?t:null==n?void 0:n.mode)?l:null,isModeOverridden:(null==n?void 0:n.override)!==null,setMode:c,resetMode:d,originalMode:null!=(r=null==n?void 0:n.mode)?r:null,isModeLoading:i||o}})({disable:A}),_=(e=>{let{disable:t}=e,l=(0,a.getCookie)("sub"),r=(0,p.useRouter)(),{data:s,isLoading:n}=(0,g.Ay)(t?null:"subdomain-list",b.JJ),i=async()=>{let e=await (0,b.kh)();e&&r.push("/?sub_override=".concat(e))};return((0,f.useEffect)(()=>{if(t||!l)return},[t,l]),t)?{currentSubdomain:null,availableSubdomains:[],isLoading:!1,setSubdomain:()=>void 0,resetSubdomain:()=>Promise.resolve()}:{currentSubdomain:l,availableSubdomains:s,isLoading:n,setSubdomain:e=>{r.push("/?sub_override=".concat(e))},resetSubdomain:i}})({disable:A}),{pageLoadTime:R,isLoading:I}=(e=>{let{isDashboard:t}=e,[l,r]=(0,f.useState)(null),[a,s]=(0,f.useState)(!1);return(0,f.useEffect)(()=>{t||(s(!0),S(window.location.href).then(r).catch(console.error).finally(()=>s(!1)))},[t]),{pageLoadTime:l,isLoading:a}})({isDashboard:A}),q=(()=>{let e=()=>{let e=window.innerWidth;return e>=1536?"2xl":e>=1280?"xl":e>=1024?"lg":e>=768?"md":e>=640?"sm":"–"},[t,l]=(0,f.useState)(e());return(0,f.useEffect)(()=>{let t=()=>{l(e())};return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),t})(),D=(0,f.useMemo)(()=>(function(e){if(!e)return"N/A";let t=x()(new Date(e)),l=x()(),r=x().duration(l.diff(t));return r.years()>0?"".concat(r.years(),"y"):r.months()>0?"".concat(r.months(),"mo"):r.weeks()>0?"".concat(r.weeks(),"w"):r.days()>0?"".concat(r.days(),"d"):r.hours()>0?"".concat(r.hours(),"h"):r.minutes()>0?"".concat(r.minutes(),"mn"):0===r.seconds()?"now":"".concat(r.seconds(),"s")})(R),[R]);return!l&&!T&&(0,r.jsx)("div",{className:"fixed right-4 bottom-4 z-[999] select-none rounded-full border border-stone-400/50 bg-stone-100/90 p-1 text-stone-900 shadow-lg backdrop-blur-lg dark:border-stone-600/50 dark:bg-stone-950/80 dark:text-stone-50",children:(0,r.jsxs)("div",{className:"flex items-center",children:[!P&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(y.Select,{onValueChange:e=>"default"===e?M.resetTheme():M.setTheme(e),value:M.isThemeOverridden&&M.currentTheme?M.currentTheme:"default",children:[(0,r.jsx)(y.SelectTrigger,{className:(0,w.cn)("h-7 rounded-r-none rounded-l-full p-1.5 text-stone-700 transition-[width] dark:text-stone-300"),children:(0,r.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,r.jsx)(s.default,{className:"mr-1 h-4 w-4 shrink-0"}),M.isThemeOverridden&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y.SelectValue,{placeholder:"Default"}),(0,r.jsx)("div",{className:"mr-1 ml-0.5 h-1.5 w-1.5 shrink-0 rounded-full bg-primary-500"})]})]})}),(0,r.jsxs)(y.SelectContent,{className:"w-56",children:[(0,r.jsxs)(y.SelectItem,{value:"default",children:["Default theme"," ",M.originalTheme?"(".concat(M.originalTheme.slice(0,1).toUpperCase()).concat(M.originalTheme.slice(1),")"):null]}),(0,r.jsx)(y.SelectSeparator,{}),(0,r.jsx)(y.SelectItem,{value:"lugia",children:"Lugia"}),(0,r.jsx)(y.SelectItem,{value:"kamino",children:"Kamino"})]})]}),(0,r.jsxs)(y.Select,{onValueChange:e=>"default"===e?L.resetMode():L.setMode(e),value:L.currentMode?L.currentMode:"default",children:[(0,r.jsx)(y.SelectTrigger,{className:(0,w.cn)("-ml-px h-7 rounded-none p-1.5 text-stone-700 transition-[width] dark:text-stone-300"),children:(0,r.jsxs)("div",{className:"flex items-center gap-0.5",children:[L.isModeLoading?(0,r.jsx)(n.default,{className:"mr-1 h-4 w-4 shrink-0 animate-spin"}):(0,r.jsx)(i.default,{className:"mr-1 h-4 w-4 shrink-0"}),L.isModeOverridden&&(0,r.jsxs)("div",{className:"contents [&_svg]:hidden",children:[(0,r.jsx)(y.SelectValue,{placeholder:"Default"}),(0,r.jsx)("div",{className:"mr-1 ml-0.5 h-1.5 w-1.5 shrink-0 rounded-full bg-primary-500"})]})]})}),(0,r.jsxs)(y.SelectContent,{className:"w-56",children:[(0,r.jsxs)(y.SelectItem,{value:"default",children:["Default mode"," ",L.originalMode?"(".concat(L.originalMode.slice(0,1).toUpperCase()).concat(L.originalMode.slice(1),")"):null]}),(0,r.jsx)(y.SelectSeparator,{}),(0,r.jsx)(y.SelectItem,{value:"app",children:(0,r.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,r.jsx)(o.default,{className:"h-4 w-4 shrink-0"}),"App"]})}),(0,r.jsx)(y.SelectItem,{value:"call",children:(0,r.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,r.jsx)(c.default,{className:"h-4 w-4 shrink-0"}),"Call"]})})]})]}),(0,r.jsxs)(y.Select,{onValueChange:e=>"default"===e?_.resetSubdomain():_.setSubdomain(e),value:null!=(t=_.currentSubdomain)?t:void 0,children:[(0,r.jsx)(y.SelectTrigger,{className:(0,w.cn)("-ml-px h-7 rounded-r-full rounded-l-none p-1.5 text-stone-700 transition-[width] dark:text-stone-300"),children:(0,r.jsx)("div",{className:"flex items-center gap-0.5",children:_.isLoading?(0,r.jsx)(n.default,{className:"mr-1 h-4 w-4 shrink-0 animate-spin"}):(0,r.jsx)(d.default,{className:"mr-1 h-4 w-4 shrink-0"})})}),(0,r.jsx)(y.SelectContent,{className:"w-56",children:null==(e=_.availableSubdomains)?void 0:e.map(e=>{let{subdomain:t,customDomain:l}=e;return(0,r.jsxs)(y.SelectItem,{value:t,children:[t," ",l?"(".concat(l,")"):null]},t)})})]}),(0,r.jsx)("div",{className:"mx-1.5 h-6 w-px shrink-0 bg-stone-300 dark:bg-stone-700"})]}),(0,r.jsxs)("div",{className:(0,w.cn)("flex min-h-6 items-center gap-1.5 pr-1.5 text-stone-700 dark:text-stone-400",P&&"pl-1.5"),children:[(0,r.jsxs)("div",{className:"flex gap-0.5",children:[(0,r.jsx)(m.default,{className:"h-4 w-4 shrink-0"}),(0,r.jsx)("span",{className:"text-xs uppercase",children:q})]}
1),P?null:I?(0,r.jsx)(n.default,{className:"h-4 w-4 animate-spin"}):(0,r.jsxs)(j.HoverCard,{openDelay:50,closeDelay:50,children:[(0,r.jsxs)(j.HoverCardTrigger,{className:"flex cursor-help gap-0.5",children:[(0,r.jsx)(u.default,{className:"h-4 w-4 shrink-0"}),(0,r.jsx)("span",{className:"text-xs uppercase",children:D})]}),(0,r.jsx)(j.HoverCardContent,{side:"top",className:"w-fit p-1 dark:border-stone-700 dark:bg-stone-900 dark:text-stone-50",children:(0,r.jsxs)("p",{className:"font-medium text-xs uppercase tracking-tighter",children:["Generated at: ",R]})})]})]})]})})},P=C},75518:(e,t,l)=>{Promise.resolve().then(l.bind(l,24792)),Promise.resolve().then(l.bind(l,89111)),Promise.resolve().then(l.bind(l,9888)),Promise.resolve().then(l.bind(l,64453)),Promise.resolve().then(l.bind(l,94254)),Promise.resolve().then(l.bind(l,16463)),Promise.resolve().then(l.bind(l,93665)),Promise.resolve().then(l.bind(l,57854)),Promise.resolve().then(l.bind(l,38584)),Promise.resolve().then(l.t.bind(l,19664,23)),Promise.resolve().then(l.t.bind(l,10489,23)),Promise.resolve().then(l.bind(l,56452)),Promise.resolve().then(l.bind(l,3625))},76428:(e,t,l)=>{"use strict";l.d(t,{SettingForm:()=>i});var r=l(54568),a=l(27541),s=l(7620),n=l(69885);let i=e=>{let{action:t,children:l,emptyOnSuccess:i=!1}=e,[o,c]=(0,s.useActionState)(t,null),[d,m]=(0,s.useState)(!1),u=(0,a.useRouter)(),h=(0,s.useRef)(null);return(0,s.useEffect)(()=>{if(o){if(o.success){n.o.success(o.message),m(!1);let t=document.querySelector("#dialog-button");if(t&&t.click(),i){var e;let t=null==(e=h.current)?void 0:e.querySelectorAll("input");if(t)for(let e of t)e.value="",window.dispatchEvent(new CustomEvent("form-reset",{bubbles:!0}))}}o.success&&o.redirect&&u.push(o.redirect),o.success||n.o.error(o.message)}},[o]),(0,r.jsx)("form",{action:c,onChange:()=>m(!0),"data-is-dirty":d,className:"group/sb-form",ref:h,children:l})}},76763:(e,t,l)=>{"use strict";l.d(t,{s:()=>i});var r=l(54568),a=l(87551),s=l(32536),n=l(40599);let i=e=>{let{subdomainFavicon:t,alt:l}=e;return t?(0,r.jsx)(s.default,{className:"m-auto",src:t,alt:l,width:20,height:20}):(0,r.jsx)(a.default,{className:(0,n.cn)("m-auto text-stone-500")})}},79132:(e,t,l)=>{"use strict";l.r(t),l.d(t,{CtaBlockDoubleV2:()=>c});var r=l(54568),a=l(32536),s=l(13167),n=l(66750),i=l(38584),o=l(14591);let c=e=>{var t,l;let{children:c,title:d,freeLabel:m,openTimeText:u,displayTrustpilot:h,providerLogo:x,compliance:p}=e,{data:f}=(0,o.useCurrentMode)({enable:!0}),v=null!=(l=null!=(t=null==f?void 0:f.override)?t:null==f?void 0:f.mode)?l:"call";return(0,r.jsx)(i.TrackingProvider,{slice:{eventComponent:"ppn-cta-block-double-v2",eventCategory:"conversion"},children:(0,r.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-4 roun
1ded-xl bg-primary-50 px-6 py-7 lg:px-9",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[d&&(0,r.jsx)("p",{className:"!my-0 text-balance font-semibold text-primary-600 text-xl",children:d}),x&&(0,r.jsx)("div",{className:"hidden shrink-0 lg:block",children:(0,r.jsx)(a.default,{src:x.src.trim(),alt:x.alt,width:92,height:40,className:"!m-0 !block h-auto w-[92px] object-contain"})})]}),(0,r.jsx)("div",{className:"flex w-full flex-col gap-2 lg:flex-row",children:c}),(0,r.jsxs)("div",{className:"flex flex-col-reverse items-start gap-3 lg:flex-row lg:items-center lg:justify-between",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-8",children:[m&&(0,r.jsx)("span",{className:"rounded-full bg-amber-100 px-3 py-1 font-medium text-amber-800 text-sm",children:m}),u&&"call"===v&&(0,r.jsxs)("p",{className:"!my-0 flex items-center gap-2 font-medium text-sm text-stone-900",children:[(0,r.jsx)("span",{className:"size-2 rounded-full bg-emerald-500"}),u]})]}),h&&(0,r.jsx)("div",{className:"[&_.trustpilot-widget]:w-64",children:(0,r.jsx)(n.TrustpilotBadge,{})})]})]}),(0,r.jsx)(s.Z,{disclaimer:null==p?void 0:p.disclaimer,tooltip:null==p?void 0:p.tooltip,align:"end",size:"sm"})]})})}},82173:(e,t,l)=>{"use strict";l.r(t),l.d(t,{ctaAdapter:()=>u,ctaColors:()=>c,parseColor:()=>d,parseHeight:()=>i,parseIcon:()=>a,parseMode:()=>m,parseRadius:()=>o,parseString:()=>s,parseWidth:()=>n});var r=l(24792);let a=e=>{if("string"==typeof e)return r.availableIcons.includes(e)?e:void 0},s=e=>"string"==typeof e?e:"",n=e=>{if("full"===e)return"full"},i=e=>{if("small"===e)return"sm"},o=e=>"ppn"===e?"ppn":"square"===e?"square":void 0,c=["primary","primary-reverse","secondary","secondary-reverse","error","error-reverse"],d=e=>"primary-reverse"===e?"primaryInverse":"secondary"===e?"secondary":"secondary-reverse"===e?"secondaryInverse":"error"===e?"error":"error-reverse"===e?"errorInverse":void 0,m=e=>"call"===e?"call":"app"===e?"app":void 0,u=e=>{var t,l,r;return{appModeAttributes:{value:s(null!=(t=e["app-text"])?t:e["call-text"]),href:s(null!=(l=e["app-href"])?l:e["call-href"]),icon:a(e["cta-app-icon"]),target:e["cta-app-target"],rel:null!=(r=e["cta-app-rel"])?r:e["cta-call-rel"],isCallback:e["app-is-wcb"]},callModeAttributes:{value:s(e["call-text"]),href:s(e["call-href"]),icon:a(e["cta-call-icon"]),target:e["cta-call-target"],rel:e["cta-call-rel"],isCallback:e["is-wcb"]},width:n(e["cta-width"]),mobileWidth:n(e["cta-width-mobile"]),height:i(e["cta-height"]),radius:o(e["cta-radius"]),variant:d(e["cta-color"]),activeMode:m(e["active-mode"])}}},83109:(e,t,l)=>{"use strict";
1l.r(t),l.d(t,{brandColorSchemeBackground:()=>r});let r=(0,l(54616).F)("",{variants:{colorScheme:{primary:"bg-primary-100",secondary:"bg-secondary-100",tertiary:"bg-tertiary-100",quaternary:"bg-quaternary-100"},shade:{default:"",light:""}},compoundVariants:[{colorScheme:"primary",shade:"light",class:"bg-primary-50"},{colorScheme:"secondary",shade:"light",class:"bg-secondary-50"},{colorScheme:"tertiary",shade:"light",class:"bg-tertiary-50"},{colorScheme:"quaternary",shade:"light",class:"bg-quaternary-50"}],defaultVariants:{colorScheme:"primary",shade:"default"}})},87562:(e,t,l)=>{"use strict";l.d(t,{SettingBoxButton:()=>o});var r=l(54568),a=l(30049),s=l(97509),n=l(6845),i=l(40599);let o=e=>{let{children:t,className:l,disabled:o}=e,{pending:c}=(0,s.useFormStatus)();return(0,r.jsxs)(n.Button,{size:"sm",disabled:c||o,className:(0,i.cn)("group-data-[is-dirty=false]/sb-form:pointer-events-none group-data-[is-dirty=false]/sb-form:opacity-50",l),children:[c&&(0,r.jsx)(a.default,{className:"h-4 w-4 animate-spin"}),t]})}},89111:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>h});var r=l(54568),a=l(99887),s=l(1965),n=l(8354),i=l(14486),o=l(7620),c=l(54616),d=l(40599);let m=e=>{let{children:t,...l}=e;return(0,r.jsx)("button",{type:"button",...l,children:t})},u=(0,c.F)("",{variants:{variant:{kamino:"bg-primary-500 text-white hover:bg-primary-400 w-7 h-7 p-1",lugia:"bg-primary-400 text-white hover:bg-primary-300 w-7 h-7 p-1",default:"rounded-lg bg-stone-50 hover:bg-stone-100 p-2"}}}),h=e=>{var t,l,c,h;let{children:x,options:p,autoplay:f=!1,className:v,dotsContainerClassName:g,controlButtons:b,dotsButtons:j=!0,controlButtonClassName:y,controlButtonPosition:w="aside",activeDotClassName:N="bg-stone-600",variant:k="default"}=e,[S,C]=(0,s.A)(p,[(0,a.A)({active:f,delay:6e3})]),{selectedIndex:P,onDotButtonClick:T}=(e=>{let[t,l]=(0,o.useState)(0),[r,a]=(0,o.useState)([]),s=(0,o.useCallback)(t=>{e&&e.scrollTo(t)},[e]),n=(0,o.useCallback)(e=>{a(null==e?void 0:e.scrollSnapList())},[]),i=(0,o.useCallback)(e=>{l(null==e?void 0:e.selectedScrollSnap())},[]);return(0,o.useEffect)(()=>{e&&(n(e),i(e),e.on("reInit",n).on("reInit",i).on("select",i))},[e,n,i]),{selectedIndex:t,scrollSnaps:r,onDotButtonClick:s}})(C),A=(0,o.useCallback)(()=>{C&&C.scrollPrev()},[C]),M=(0,o.useCallback)(()=>{C&&C.scrollNext()},[C]),L=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"",ref:S,children:(0,r.jsx)("div",{className:(0,d.cn)("backface-hidden touch-action[pan-y pinch-zoom] flex gap-x-5",!b&&"md:-ml-5 md:px-5 lg:mr-5",v),children:x})}),(0,r.jsx)("div",{className:(0,d.cn)("embla__dots flex flex-wrap items-center justify-center gap-2",g),children:j&&Array.isArray(x)&&x.map((e,t)=>(0,r.jsx)(m,{onClick:()=>T(t),className:(0,d.cn)("embla__dot flex h-2 w-2 cursor-pointer touch-none items-center justify-center rounded-full border-0 bg-stone-300 p-0 no-underline",t===P&&N)},t))})]});return b?"top"===w?(0,r.jsx)("div",{className:(0,d.cn)("relative",!k&&"pl-4"),children:(0,r.jsxs)("div",{className:"embla -mr-4 flex flex-col pr-4",children:[(0,r.jsxs)("div",{className:(0,d.cn)(" w-full items-center justify-end gap-2 ",k?"flex px-2":"hidden md:flex"),children:[(0,r.jsx)("button",{type:"button",className:(0,d.cn)("embla__prev flex items-center p-2",(null==p?void 0:p.slides)&&(null==p||null==(c=p.slides)?void 0:c.length)>0&&(null==p||null==(h=p.slides)?void 0:h.length)<2&&"hidden",y,u({variant:k})),onClick:A,children:(0,r.jsx)(n.default,{className:"mx-content"})}),(0,r.jsx)("button",{type:"button",className:(0,d.cn)("embla__next flex items-center",y,u({variant:k})),onClick:M,children:(0,r.jsx)(i.default,{className:"mx-content"})})]}),(0,r.jsx)("div",{className:"embla__viewport overflow-hidden",children:L})]})}):(0,r.jsx)("div",{className:"relative px-5",children:(0,r.jsx)("div",{className:"embla -mr-4 flex flex-col gap-4 pr-4",children:(0,r.jsxs)("div",{className:"embla__viewport overflow-hidden",children:[L,(0,r.jsx)("button",{type:"button",className:(0,d.cn)("embla__prev -translate-y-1/2 lg:-left-2 -left-1 absolute top-1/2 w-content",(null==p?void 0:p.slides)&&(null==p||null==(t=p.slides)?void 0:t.length)>0&&(null==p||null==(l=p.slides)?void 0:l.length)<2&&"hidden",y),onClick:A,children:(0,r.jsx)(n.default,{className:"mx-content"})}),(0,r.jsx)("button",{type:"button",className:(0,d.cn)("embla__next -translate-y-1/2 lg:-right-2 -right-1 absolute top-1/2 w-content",y),onClick:M,children:(0,r.jsx)(i.default,{className:"mx-content"})})]})})}):(0,r.jsx)("div",{className:"embla flex flex-col gap-4",children:L})}},89378:(e,t,l)=>{Promise.resolve().then(l.bind(l,24792)),Promise.resolve().then(l.t.bind(l,19664,23)),Promise.resolve().then(l.t.bind(l,10489,23))},90008:(e,t,l)=>{"use strict";l.r(t),l.d(t,{Root:()=>o,mergeWebComponents:()=>c});var r=l(54568),a=l(32536),s=l(38584),n=l(24792),i=l(82173);let o=e=>{let{title:t,pdfLink:l,pdfText:o,wordLink:c,wordText:d,children:m}=e,u={className:"md:w-full w-full",mobileWidth:"full"};return(0,r.jsxs)("div",{className:"grid gap-8 bg-slate-200 p-6 md:grid-cols-2",children:[(0,r.jsxs)("div",{className:"flex flex-col md:justify-center",children:[t&&(0,r.jsx)("strong",{className:"mb-4 block text-black text-xl",children:t}),(0,r.jsx)("p",{className:"m-0",children:m})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-8",children:[(0,r.jsx)("div",{className:"hidden items-center sm:flex",children:(0,r.jsx)(a.default,{src:"https://d11o8pt3cttu38.cloudfront.net/wp-content/plugins/papernest-shortcodes/themes/lugia/assets/dest/images/doc-pdf.svg",alt:"PDF",width:150,height:150})}),l&&o&&(0,r.jsx)(s.TrackingProvider,{slice:{eventComponent:"Download Block - PDF"},children:(0,r.jsx)(n.CallToAction,{callModeAttributes:{href:(0,i.parseString)(l),value:(0,i.parseString)(o),icon:"download"},variant:"secondary",radius:"ppn",...u})})]}),(0,r.jsx)("hr",{className:"my-1 border-stone-300 border-t-2"}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-8",children:[(0,r.jsx)("div",{className:"hidden items-center sm:flex",children:(0,r.jsx)(a.default,{src:"https://d11o8pt3cttu38.cloudfront.net/wp-content/plugins/papernest-shortcodes/themes/lugia/assets/dest/images/doc-word.svg",alt:"Word",width:150,height:150})}),c&&d&&(0,r.jsx)(s.TrackingProvider,{slice:{eventComponent:"Download Block - Word"},children:(0,r.jsx)(n.CallToAction,{callModeAttributes:{href:(0,i.parseString)(c),value:(0,i.parseString)(d),icon:"download"},variant:"primary",radius:"ppn",...u})})]})]})]})};function c(e){return e}},93844:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var r=l(12247);let a=(0,r.createServerReference)("7f95f4405f1ff5cd76e0a2a2b1c1142688dcaacdad",r.callServer,void 0,r.findSourceMapURL,"detectKeylessEnvDriftAction")},95607:(e,t,l)=>{"use strict";l.d(t,{K:()=>n});var r=l(54568),a=l(15978),s=l(40599);let n=e=>{let{icon:t,variant:l="default",className:n}=e;if(!t)return null;let i="muted"===l;return(0,r.jsxs)("div",{className:(0,s.cn)("relative h-[65px] w-[73px] shrink-0",n),children:[(0,r.jsx)("div",{"aria-hidden":!0,
1className:"absolute inset-0 flex items-center justify-center",children:(0,r.jsx)("div",{className:(0,s.cn)("h-[52px] w-[58px] rotate-[17deg] rounded",i?"bg-tertiary-300 opacity-50":"bg-tertiary-200")})}),(0,r.jsx)("div",{className:(0,s.cn)("absolute inset-[13%_9%] flex items-center justify-center rounded border bg-tertiary-50",i?"border-stone-400":"border-tertiary-500"),children:(0,r.jsx)(a.A,{name:t,className:(0,s.cn)("size-6",i?"text-stone-400":"text-tertiary-500")})})]})}}}]);

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.