PageSourceSearch

https://www.sunrun.com/_next/static/chunks/6974.e71089dfcc9728f7.js

js sunrun.com collected 2026-10-01 10:28:38 UTC 4,130 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6974],{46974:(e,i,r)=>{r.r(i),r.d(i,{default:()=>N,shouldShowNavigation:()=>j});var n=r(6029),a=r(64062),t=r(55729);r(79989),r(40695);var o=r(66598),s=r(56529),d=r(78893),l=r(32706),c=r(20379),g=r(91780),h=r(19945),u=r(91060),m=r(35999),f=r(99187),p=r(80),b=r(46324),x=r(29405),v=r(23107),y=r(8960);let k=(0,v.n)({name:"Wayfinding",uniqId:"lZ3h28"})(({brandColors:e,spacing:i,breakpoints:r,aspectRatio:n,typography:a},t,o)=>({container:{overflow:"hidden","&.OnDark":{backgroundColor:e.tintsHeroBlue10},"&.OnLight":{backgroundColor:e.tintsOffWhite60}},grid:{"& .swiper":{overflow:"visible"}},cardContainer:{marginTop:i(3)},card:{display:"block",textDecoration:"none",width:a.pxToRem(260),cursor:"pointer","&:hover, &:focus":{[`& .${o.cardImage}`]:{transform:"scale(1.1)"},[`& .${o.cardLink}`]:{"&.OnDark":{color:e.offWhite},"&.OnLight":{color:e.primaryMain}}}},cardImageContainer:{overflow:"hidden",marginBottom:i(2),borderRadius:a.pxToRem(16)},cardImageContainerEyebrow:{marginBottom:i(1)},cardImage:{aspectRatio:n["1/1"],backgroundSize:"cover",backgroundPosition:"center center",backgroundRepeat:"no-repeat",transition:"transform .5s"},cardLink:{fontWeight:500,textDecoration:"underline","&.OnDark":{color:e.white},"&.OnLight":{color:e.mediumBlue}},cardLinkEyebrow:{marginTop:i(-1)},cardBody:{marginTop:i(0),"&.OnDark":{color:e.tintsOffWhite40},"&.OnLight":{color:e.tintsNeutral20}},swiperSlide:{width:"fit-content","&:not(:last-child)":{marginRight:i(3)}},navigation:{display:"flex",justifyContent:"center",gap:i(3),marginTop:i(2),cursor:"pointer"},navigationButton:{width:40,height:40,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:a.pxToRem(800),border:`${a.pxToRem(1)} solid ${e.primaryMain}`,"&.OnDark":{color:e.white,borderColor:e.white},"&.OnLight":{color:e.primaryMain},[r.up("sm")]:{width:60,height:60},"&:hover, &:focus":{backgroundColor:(0,y.V)(t)(e.foregroundInverseSubtle,e.interactiveHeroBlueSubtle)}},navigationButtonDisabled:{opacity:.3},hidden:{visibility:"hidden"}}));function w(e){let{link:i}=e.fields;return!!(i?.fields?.text&&i?.fields?.url)}function j(e,i,r){let n=e<b.q.lg?40:64,a=e<b.q.lg?0:(e-b.q.lg)/2;return 260*r+n*(r-1)>e-(c.Y[i]+a)}function N({content:{fields:{style:e,eyebrow:i,heading:r,subheading:v,linkCards:y}}}){let{classes:O}=(0,p.A)({fixed:!0}),C=e===m.l$.OnDark,{classes:A,cx:R}=k({isOnDark:C}),I=(0,t.useId)().replaceAll(":",""),B=(0,t.useId)().replaceAll(":",""),{viewportWidth:D,viewportSize:L}=(0,f.A)(),T=y.filter(w),$=j(D,L,T.length),E=T.every(e=>e.fields.eyebrow),S=T.every(e=>e.fields.body);return(0,n.jsxs)(u.$,{className:R(A.container,e),children:[(0,n.jsx)(c.A,{fixed:!0,children:(0,n.jsx)(a.A,{size:{xs:12,md:6},children:(0,n.jsx)(h.A,{eyebrow:i,heading:r,subheading:v,isOnDark:C,fixed:!0,headingSpacingValue:1})})}),(0,n.jsx)(c.A,{fixed:!0,gridProps:{className:A.cardContainer},children:(0,n.jsxs)(a.A,{className:A.grid,size:12,children:[(0,n.jsx)(s.RC,{navigation:{prevEl:`#${I}`,nextEl:`#${B}`,disabledClass:A.navigationButtonDisabled},modules:[o.Vx],slidesPerView:"auto",children:T.map(({fields:{image:i,eyebrow:r,link:{fields:{text:a,url:t}},body:o}},l)=>(0,n.jsx)(s.qr,{className:A.swiperSlide,children:(0,n.jsxs)(g.A,{className:A.card,href:t,children:[(0,n.jsx)("div",{className:R(A.cardImageContainer,E&&A.cardImageContainerEyebrow),children:(0,n.jsx)("div",{className:A.cardImage,style:{backgroundImage:(0,x.wi)(i[0],b.q.sm)}})}),E&&(0,n.jsx)(d.A,{text:r,isOnDark:C}),(0,n.jsx)("p",{className:R(O.bodyLg,A.cardLink,E&&A.cardLinkEyebrow,e),children:a}),S&&(0,n.jsx)("p",{className:R(O.body,A.cardBody,e),children:o})]})},l))}),(0,n.jsxs)("div",{className:R(A.navigation,!$&&A.hidden),children:[(0,n.jsx)("button",{id:I,type:"button","aria-label":"Previous card",className:R(A.navigationButton,e),children:(0,n.jsx)(l.A,{name:l.$.ARROW_LEFT,width:24})}),(0,n.jsx)("button",{id:B,type:"button","aria-label":"Next card",className:R(A.navigationButton,e),children:(0,n.jsx)(l.A,{name:l.$.ARROW_RIGHT,width:24})})]})]})})]})}}}]);
2//# sourceMappingURL=6974.e71089dfcc9728f7.js.map

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.