PageSourceSearch

https://cal-adapt.org/_next/static/chunks/2800943c95e1b472.js

js cal-adapt.org collected 2026-10-01 10:41:15 UTC 24,434 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,412776,679262,e=>{"use strict";e.i(530354);let a=/[\p{L}\p{N}]+/gu;function t(e){return(e.toLowerCase().trim().match(a)??[]).join("-")}function r(e){let a=e.trim();return a.charAt(0).toUpperCase()+a.slice(1).toLowerCase()}function l(e){return e.split(".")}e.s(["splitStringByPeriod",()=>l,"toKebabCase",()=>t,"toSentenceCase",()=>r],679262),e.s(["FEEDBACK_URL",0,"https://forms.gle/PS7i5MYzF6ixdiq28","MAP_API_BASE_URL",0,"https://map.cal-adapt.org","SITE_TITLE",0,"Cal-Adapt","SITE_URL",0,"https://cal-adapt.org"],412776)},738341,423163,e=>{"use strict";let a="/dashboard/climate-stories",t=[{status:"published",slug:"extreme-heat",id:"climate-story-extreme-heat",title:"Extreme Heat in California",label:"Extreme Heat",hazard:"Heat",lastUpdated:"August 18, 2026",isNew:!0,summary:"Extreme heat events cause some of the most severe impacts from climate change in California. These events create public health risks, threaten critical infrastructure, and drive electricity use that strains the limits of the electrical grid. Understanding how the hazards from extreme heat will continue to evolve with climate change is essential to planners across California.",intro:"This page provides an overview of some of the ways that extreme heat is projected to impact California in the coming decades, and highlights how the data and tools on Cal-Adapt can be used to learn about these projected changes. As you move through the page, explore the interactive visualizations to see how extreme heat will impact your community.",relatedToolId:"extreme-heat-days"},{status:"coming-soon",slug:"precipitation",id:"climate-story-precipitation",title:"Precipitation in California",hazard:"Precipitation",summary:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ac eros felis. Duis id commodo dolor. Vestibulum ex velit, egestas ut quam eget, placerat hendrerit orci."}].map(function(e){switch(e.status){case"published":return{...e,href:`${a}/${e.slug}`};case"coming-soon":return e;default:throw Error(`Unhandled climate story status: ${JSON.stringify(e)}`)}}).filter(e=>"published"===e.status);var r=e.i(412776);e.i(530354);let l="development",i="staging",o={__FF_SITE_BANNER__:"false"},s=Object.fromEntries(Object.entries({__FF_DEBUG__:[l,i],__FF_SITE_BANNER__:[l,i,"production"],__FF_EXTREME_HEAT_DAYS__:[l,i],__FF_EXTREME_HEAT_DAYS_INDICATOR__:[l,i],__FF_CLIMATE_STORIES__:[l,i],__FF_HDD_CDD__:[l,i]}).map(([e,a])=>{var t;let r=("true"===(t=o[e])||"false"!==t&&void 0)??a.includes("production");return[e,r]}));function n(e){return"links"in e}function d(e){return Array.isArray(e.children)&&e.children.length>0}e.s(["featureFlags",0,s],423163);let u={home:{id:"home",label:"Home",href:"/"},climateStories:{id:"climate-stories",label:"Climate Stories",href:a,featureFlag:"__FF_CLIMATE_STORIES__",alwaysShowChildren:!0,persistQuery:!1,children:t.map(e=>({id:e.id,label:e.label??e.title,href:e.href}))},climateMetricsMap:{id:"climate-metrics-map",label:"Climate Metrics Map",href:"/dashboard/climate-metrics-map"},dataDownload:{id:"data-download-tool",label:"Data Download Tool",href:"/dashboard/data-download-tool"},extremeHeatDays:{id:"extreme-heat-days",label:"Extreme Heat",href:"/dashboard/extreme-heat-days",featureFlag:"__FF_EXTREME_HEAT_DAYS__",children:[{id:"extreme-heat-days-dashboard",label:"Dashboard",href:"/dashboard/extreme-heat-days"},{id:"extreme-heat-days-guidance",label:"Guidance",href:"/dashboard/extreme-heat-days/guidance"}]},hddCdd:{id:"hdd-cdd",label:"Heating & Cooling Degree Days",href:"/dashboard/hdd-cdd",featureFlag:"__FF_HDD_CDD__",children:[{id:"hdd-cdd-dashboard",label:"Dashboard",href:"/dashboard/hdd-cdd"},{id:"hdd-cdd-guidance",label:"Guidance",href:"/dashboard/hdd-cdd/guidance"}]},renewablesVisualizer:{id:"renewables-visualizer",label:"Renewables Visualizer",href:"/dashboard/renewables-visualizer"},fourthAssessment:{id:"fourth-assessment",label:"4th Assessment Cal-Adapt",href:"https://cmip5.cal-adapt.org",external:!0},guidance:{id:"guidance",label:"Guidance",href:"https://analytics.cal-adapt.org/guidance/",external:!0},data:{id:"data",label:"Data Docs",href:"https://analytics.cal-adapt.org/data/",external:!0},contact:{id:"contact",label:"Contact Us",href:"mailto:[email protected]",external:!0},feedback:{id:"feedback",label:"Feedback",href:r.FEEDBACK_URL,external:!0}};function c(e){return null==e.featureFlag||s[e.featureFlag]}let h={stories:{id:"stories",label:"Climate Stories",links:[u.climateStories].filter(c)},tools:{id:"tools",label:"Tools",links:[u.climateMetricsMap,u.dataDownload,u.extremeHeatDays,u.hddCdd,u.renewablesVisualizer].filter(c)}};e.s(["hasNavChildren",()=>d,"isNavGroup",()=>n,"navGroups",0,h,"navLinks",0,u],738341)},151939,670273,43998,e=>{"use strict";e.i(530354);var a=e.i(318680),t=e.i(511334),r=e.i(500893),l=e.i(7284),i=e.i(353959);e.s(["extendSxProp",()=>i.default],670273);var i=i,o=e.i(271625),s=e.i(125086),n=e.i(693560),d=e.i(984034),u=e.i(15017),c=e.i(431284);function h(e){return(0,c.default)("MuiTypography",e)}let f=(0,u.default)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","
1subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);e.s(["default",0,f,"getTypographyUtilityClass",()=>h],43998);var m=e.i(62376);let p=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],b=(0,s.default)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,a)=>{let{ownerState:t}=e;return[a.root,t.variant&&a[t.variant],"inherit"!==t.align&&a[`align${(0,d.default)(t.align)}`],t.noWrap&&a.noWrap,t.gutterBottom&&a.gutterBottom,t.paragraph&&a.paragraph]}})(({theme:e,ownerState:a})=>(0,t.default)({margin:0},"inherit"===a.variant&&{font:"inherit"},"inherit"!==a.variant&&e.typography[a.variant],"inherit"!==a.align&&{textAlign:a.align},a.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},a.gutterBottom&&{marginBottom:"0.35em"},a.paragraph&&{marginBottom:16})),v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},_={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},g=r.forwardRef(function(e,r){let s,u=(0,n.useDefaultProps)({props:e,name:"MuiTypography"}),c=_[s=u.color]||s,f=(0,i.default)((0,t.default)({},u,{color:c})),{align:g="inherit",className:x,component:y,gutterBottom:j=!1,noWrap:S=!1,paragraph:k=!1,variant:C="body1",variantMapping:w=v}=f,D=(0,a.default)(f,p),L=(0,t.default)({},f,{align:g,color:c,className:x,component:y,gutterBottom:j,noWrap:S,paragraph:k,variant:C,variantMapping:w}),N=y||(k?"p":w[C]||v[C])||"span",M=(e=>{let{align:a,gutterBottom:t,noWrap:r,paragraph:l,variant:i,classes:s}=e,n={root:["root",i,"inherit"!==e.align&&`align${(0,d.default)(a)}`,t&&"gutterBottom",r&&"noWrap",l&&"paragraph"]};return(0,o.default)(n,h,s)})(L);return(0,m.jsx)(b,(0,t.default)({as:N,ref:r,ownerState:L,className:(0,l.default)(M.root,x)},D))});e.s(["default",0,g],151939)},223127,e=>{"use strict";var a=e.i(62376),t=e.i(500893);let r=(0,t.createContext)(void 0);e.s(["SidePanelProvider",0,({children:e})=>{let[l,i]=(0,t.useState)(!1);return(0,a.jsx)(r.Provider,{value:{open:l,toggleOpen:()=>{i(e=>!e)}},children:e})},"useSidePanel",0,()=>{let e=(0,t.useContext)(r);if(!e)throw Error("useSidePanel must be used within a SidePanelProvider");return e}])},680391,e=>{e.v({content:"ErrorView-module-scss-module___ZqZma__content",errorView:"ErrorView-module-scss-module___ZqZma__errorView",inner:"ErrorView-module-scss-module___ZqZma__inner",logo:"ErrorView-module-scss-module___ZqZma__logo"})},980330,e=>{e.v({appbar:"DashboardAppBar-module-scss-module___VdG_q__appbar",left:"DashboardAppBar-module-scss-module___VdG_q__left",logo:"DashboardAppBar-module-scss-module___VdG_q__logo"})},693064,e=>{e.v({active:"DashboardSidebar-module-scss-module__gnpYLq__active",bottom:"DashboardSidebar-module-scss-module__gnpYLq__bottom",closed:"DashboardSidebar-module-scss-module__gnpYLq__closed",footerButton:"DashboardSidebar-module-scss-module__gnpYLq__footerButton",header:"DashboardSidebar-module-scss-module__gnpYLq__header",iconButton:"DashboardSidebar-module-scss-module__gnpYLq__iconButton",logoLink:"DashboardSidebar-module-scss-module__gnpYLq__logoLink",nav:"DashboardSidebar-module-scss-module__gnpYLq__nav",navButton:"DashboardSidebar-module-scss-module__gnpYLq__navButton",navGroup:"DashboardSidebar-module-scss-module__gnpYLq__navGroup",open:"DashboardSidebar-module-scss-module__gnpYLq__open",selected:"DashboardSidebar-module-scss-module__gnpYLq__selected",sidebar:"DashboardSidebar-module-scss-module__gnpYLq__sidebar",subNav:"DashboardSidebar-module-scss-module__gnpYLq__subNav",subNavLink:"DashboardSidebar-module-scss-module__gnpYLq__subNavLink",subNavSelected:"DashboardSidebar-module-scss-module__gnpYLq__subNavSelected",top:"DashboardSidebar-module-scss-module__gnpYLq__top"})},909645,(e,a,t)=>{"use strict";var r=e.r(874033);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(e.r(719885)),i=e.r(62376);t.default=(0,l.default)([(0,i.jsx)("path",{d:"M7 13h4v4H7zm6 0h4v4h-4z"},"0"),(0,i.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V5h14z"},"1"),(0,i.jsx)("path",{d:"M7 7h4v4H7zm6 0h4v4h-4z"},"2")],"DatasetOutlined")},899248,(e,a,t)=>{"use strict";var r=e.r(874033);
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(e.r(719885)),i=e.r(62376);t.default=(0,l.default)((0,i.jsx)("path",{d:"M14.69 2.21 4.33 11.49c-.64.58-.28 1.65.58 1.73L13 14l-4.85 6.76c-.22.31-.19.74.08 1.01.3.3.77.31 1.08.02l10.36-9.28c.64-.58.28-1.65-.58-1.73L11 10l4.85-6.76c.22-.31.19-.74-.08-1.01-.3-.3-.77-.31-1.08-.02"}),"ElectricBoltOutlined")},94565,(e,a,t)=>{"use strict";var r=e.r(874033);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(e.r(719885)),i=e.r(62376);t.default=(0,l.default)((0,i.jsx)("path",{d:"m20.5 3-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5M10 5.47l4 1.4v11.66l-4-1.4zm-5 .99 3-1.01v11.7l-3 1.16zm14 11.08-3 1.01V6.86l3-1.16z"}),"MapOutlined")},923300,(e,a,t)=>{"use strict";var r=e.r(874033);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(e.r(719885)),i=e.r(62376);t.default=(0,l.default)([(0,i.jsx)("path",{d:"M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1m0 13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5z"},"0"),(0,i.jsx)("path",{d:"M17.5 10.5c.88 0 1.73.09 2.5.26V9.24c-.79-.15-1.64-.24-2.5-.24-1.7 0-3.24.29-4.5.83v1.66c1.13-.64 2.7-.99 4.5-.99M13 12.49v1.66c1.13-.64 2.7-.99 4.5-.99.88 0 1.73.09 2.5.26V11.9c-.79-.15-1.64-.24-2.5-.24-1.7 0-3.24.3-4.5.83m4.5 1.84c-1.7 0-3.24.29-4.5.83v1.66c1.13-.64 2.7-.99 4.5-.99.88 0 1.73.09 2.5.26v-1.52c-.79-.16-1.64-.24-2.5-.24"},"1")],"MenuBookOutlined")},46516,(e,a,t)=>{"use strict";var r=e.r(874033);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(e.r(719885)),i=e.r(62376);t.default=(0,l.default)((0,i.jsx)("path",{d:"M15 13V5c0-1.66-1.34-3-3-3S9 3.34 9 5v8c-1.21.91-2 2.37-2 4 0 2.76 2.24 5 5 5s5-2.24 5-5c0-1.63-.79-3.09-2-4m-4-8c0-.55.45-1 1-1s1 .45 1 1h-1v1h1v2h-1v1h1v2h-2z"}),"ThermostatOutlined")},858739,(e,a,t)=>{"use strict";var r=e.r(874033);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(e.r(719885)),i=e.r(62376);t.default=(0,l.default)((0,i.jsx)("path",{d:"m6.76 4.84-1.8-1.79-1.41 1.41 1.79 1.79zM1 10.5h3v2H1zM11 .55h2V3.5h-2zm8.04 2.495 1.408 1.407-1.79 1.79-1.407-1.408zm-1.8 15.115 1.79 1.8 1.41-1.41-1.8-1.79zM20 10.5h3v2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6m0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4m-1 4h2v2.95h-2zm-7.45-.96 1.41 1.41 1.79-1.8-1.41-1.41z"}),"WbSunnyOutlined")},239126,e=>{"use strict";var a=e.i(62376),t=e.i(707661),r=e.i(66760),l=e.i(151939),l=l,i=e.i(533404),o=e.i(680391);function s({logo:e,title:t,message:r,children:s}){return(0,a.jsx)("div",{className:o.default.errorView,children:(0,a.jsx)("div",{className:o.default.inner,children:(0,a.jsxs)("div",{className:o.default.content,children:[e&&(0,a.jsx)(i.default,{className:o.default.logo,variant:"logoCalAdapt"}),t&&(0,a.jsx)(l.default,{variant:"h2",children:t}),(0,a.jsx)(l.default,{variant:"body1",children:r}),s]})})})}var n=e.i(791173),d=e.i(500893);e.i(530354);var u=e.i(511334),c=e.i(318680),h=e.i(7284),f=e.i(271625),m=e.i(65399),p=e.i(125086),b=e.i(693560),v=l,_=e.i(136372);let g=(0,e.i(683901).default)((0,a.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");var x=e.i(865572);let y=["slots","slotProps"],j=(0,p.default)(x.default,{name:"MuiBreadcrumbCollapsed"})(({theme:e})=>(0,u.default)({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},"light"===e.palette.mode?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,u.default)({},"light"===e.palette.mode?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":(0,u.default)({boxShadow:e.shadows[0]},"light"===e.palette.mode?{backgroundColor:(0,_.emphasize)(e.palette.grey[200],.12)}:{backgroundColor:(0,_.emphasize)(e.palette.grey[600],.12)})})),S=(0,p.default)(g)({width:24,height:16}),k=function(e){let{slots:t={},slotProps:r={}}
1=e,l=(0,c.default)(e,y);return(0,a.jsx)("li",{children:(0,a.jsx)(j,(0,u.default)({focusRipple:!0},l,{ownerState:e,children:(0,a.jsx)(S,(0,u.default)({as:t.CollapsedIcon,ownerState:e},r.collapsedIcon))}))})};var C=e.i(15017),w=e.i(431284);function D(e){return(0,w.default)("MuiBreadcrumbs",e)}let L=(0,C.default)("MuiBreadcrumbs",["root","ol","li","separator"]),N=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],M=(0,p.default)(v.default,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,a)=>[{[`& .${L.li}`]:a.li},a.root]})({}),P=(0,p.default)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,a)=>a.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),A=(0,p.default)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,a)=>a.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8}),z=d.forwardRef(function(e,t){var r,l;let i=(0,b.useDefaultProps)({props:e,name:"MuiBreadcrumbs"}),{children:o,className:s,component:n="nav",slots:p={},slotProps:v={},expandText:_="Show path",itemsAfterCollapse:g=1,itemsBeforeCollapse:x=1,maxItems:y=8,separator:j="/"}=i,S=(0,c.default)(i,N),[C,w]=d.useState(!1),L=(0,u.default)({},i,{component:n,expanded:C,expandText:_,itemsAfterCollapse:g,itemsBeforeCollapse:x,maxItems:y,separator:j}),z=(e=>{let{classes:a}=e;return(0,f.default)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},D,a)})(L),B=(0,m.default)({elementType:p.CollapsedIcon,externalSlotProps:v.collapsedIcon,ownerState:L}),E=d.useRef(null),T=d.Children.toArray(o).filter(e=>d.isValidElement(e)).map((e,t)=>(0,a.jsx)("li",{className:z.li,children:e},`child-${t}`));return(0,a.jsx)(M,(0,u.default)({ref:t,component:n,color:"text.secondary",className:(0,h.default)(z.root,s),ownerState:L},S,{children:(0,a.jsx)(P,{className:z.ol,ref:E,ownerState:L,children:(r=C||y&&T.length<=y||x+g>=T.length?T:[...T.slice(0,x),(0,a.jsx)(k,{"aria-label":_,slots:{CollapsedIcon:p.CollapsedIcon},slotProps:{collapsedIcon:B},onClick:()=>{w(!0);let e=E.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...T.slice(T.length-g,T.length)],l=z.separator,r.reduce((e,t,i)=>(i<r.length-1?e=e.concat(t,(0,a.jsx)(A,{"aria-hidden":!0,className:l,ownerState:L,children:j},`separator-${i}`)):e.push(t),e),[]))})}))});var B=e.i(984034),E=e.i(654065),T=e.i(299670),R=l;function F(e){return(0,w.default)("MuiLink",e)}let q=(0,C.default)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var V=e.i(649977);let I={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},O=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],H=(0,p.default)(R.default,{name:"MuiLink",slot:"Root",overridesResolver:(e,a)=>{let{ownerState:t}=e;return[a.root,a[`underline${(0,B.default)(t.underline)}`],"button"===t.component&&a.button]}})(({theme:e,ownerState:a})=>(0,u.default)({},"none"===a.underline&&{textDecoration:"none"},"hover"===a.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===a.underline&&(0,u.default)({textDecoration:"underline"},"inherit"!==a.color&&{textDecorationColor:(({theme:e,ownerState:a})=>{let t,r=I[t=a.color]||t,l=(0,V.getPath)(e,`palette.${r}`,!1)||a.color,i=(0,V.getPath)(e,`palette.${r}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:(0,_.alpha)(l,.4)})({theme:e,ownerState:a})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===a.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${q.focusVisible}`]:{outline:"auto"}})),Y=d.forwardRef(function(e,t){let r=(0,b.useDefaultProps)({props:e,name:"MuiLink"}),{className:l,color:i="primary",component:o="a",onBlur:s,onFocus:n,TypographyClasses:m,underline:p="always",variant:v="inherit",sx:_}=r,g=(0,c.default)(r,O),{isFocusVisibleRef:x,onBlur:y,onFocus:j,ref:S}
1=(0,E.default)(),[k,C]=d.useState(!1),w=(0,T.default)(t,S),D=(0,u.default)({},r,{color:i,component:o,focusVisible:k,underline:p,variant:v}),L=(e=>{let{classes:a,component:t,focusVisible:r,underline:l}=e,i={root:["root",`underline${(0,B.default)(l)}`,"button"===t&&"button",r&&"focusVisible"]};return(0,f.default)(i,F,a)})(D);return(0,a.jsx)(H,(0,u.default)({color:i,className:(0,h.default)(L.root,l),classes:m,component:o,onBlur:e=>{y(e),!1===x.current&&C(!1),s&&s(e)},onFocus:e=>{j(e),!0===x.current&&C(!0),n&&n(e)},ref:w,ownerState:D,variant:v,sx:[...Object.keys(I).includes(i)?[]:[{color:i}],...Array.isArray(_)?_:[_]]},g))});var $=l;function G({href:e,label:r}){let l=(0,t.useSearchParams)().toString();return(0,a.jsx)(Y,{underline:"hover",color:"inherit",href:l?`${e}?${l}`:e,children:r})}var U=e.i(980330);function W({page:e,subPage:t,className:r}){return(0,a.jsx)("header",{className:(0,h.default)(U.default.appbar,r),children:(0,a.jsx)("div",{className:U.default.left,children:(0,a.jsxs)(z,{"aria-label":"breadcrumb",children:[(0,a.jsx)(Y,{underline:"hover",color:"inherit",href:"/",children:"Cal-Adapt"}),t?(0,a.jsx)(d.Suspense,{fallback:(0,a.jsx)(Y,{underline:"hover",color:"inherit",href:e.href,children:e.label}),children:(0,a.jsx)(G,{href:e.href,label:e.label})}):(0,a.jsx)($.default,{color:"text.primary",children:e.label}),t&&(0,a.jsx)($.default,{color:"text.primary",children:t.label})]})})})}var Z=e.i(406301),K=e.i(738341),Q=e.i(604367),X=e.i(693064);function J({links:e,activePath:t,query:r}){return(0,a.jsx)("div",{className:X.default.subNav,children:e.map(e=>{let l=t===(0,Q.normalizePath)(e.href);return(0,a.jsx)(Z.default,{href:`${e.href}${r}`,className:(0,h.default)(X.default.subNavLink,l&&X.default.subNavSelected),"aria-current":l?"page":void 0,children:e.label},e.id)})})}function ee({links:e,activePath:r,persistQuery:l=!0}){let i=(0,t.useSearchParams)().toString(),o=l&&i?`?${i}`:"";return(0,a.jsx)(J,{links:e,activePath:r,query:o})}function ea({open:e,onToggleOpen:t,items:r,activeHref:l}){return(0,a.jsxs)("nav",{className:(0,h.default)(X.default.sidebar,e?X.default.open:X.default.closed),"aria-label":"Sidebar",children:[(0,a.jsxs)("div",{className:X.default.top,children:[(0,a.jsxs)("div",{className:X.default.header,children:[e&&(0,a.jsx)(Z.default,{className:X.default.logoLink,href:"/",children:(0,a.jsx)(i.default,{variant:"logoCalAdapt"})}),(0,a.jsx)(n.default,{variant:"tertiary",className:X.default.sidebarButton,onClick:t,ariaLabel:e?"Collapse sidebar":"Expand sidebar",svgOnly:!0,children:e?(0,a.jsx)(i.default,{variant:"chevronsLeft",className:X.default.icon}):(0,a.jsx)(i.default,{variant:"chevronsRight",className:X.default.icon})})]}),(0,a.jsx)("nav",{className:X.default.nav,"aria-label":"Dashboard navigation",children:r.map(t=>{let r=l?(0,Q.normalizePath)(l):null,i=(0,Q.normalizePath)(t.link.href),o=!!r&&(r===i||r.startsWith(`${i}/`)),s=e&&(0,K.hasNavChildren)(t.link)&&(o||!0===t.link.alwaysShowChildren);if(!e)return(0,a.jsx)(n.default,{className:(0,h.default)(X.default.iconButton,o&&X.default.selected),variant:"tertiary",href:t.link.href,ariaLabel:t.link.label,svgOnly:!0,children:t.icon},t.link.id);let u=o&&!(0,K.hasNavChildren)(t.link),c=o&&(0,K.hasNavChildren)(t.link);return(0,a.jsxs)("div",{className:X.default.navGroup,children:[(0,a.jsxs)(n.default,{className:(0,h.default)(X.default.navButton,u&&X.default.selected,c&&X.default.active),variant:"tertiary",href:t.link.href,ariaLabel:t.link.label,children:[t.icon,t.link.label]}),s&&(0,K.hasNavChildren)(t.link)&&(0,a.jsx)(d.Suspense,{fallback:(0,a.jsx)(J,{links:t.link.children,activePath:r,query:""}),children:(0,a.jsx)(ee,{links:t.link.children,activePath:r,persistQuery:!1!==t.link.persistQuery})})]},t.link.id)})})]}),(0,a.jsx)("div",{className:X.default.bottom,children:e?(0,a.jsx)(n.default,{className:X.default.footerButton,variant:"secondary",prefix:(0,a.jsx)(i.default,{variant:"feedback"}),href:K.navLinks.feedback.href,ariaLabel:K.navLinks.feedback.label,children:"Feedback"}):(0,a.jsx)(n.default,{variant:"secondary",href:K.navLinks.feedback.href,ariaLabel:K.navLinks.feedback.label,svgOnly:!0,children:(0,a.jsx)(i.default,{variant:"feedback",className:X.default.icon})})})]})}var et=e.i(909645),er=e.i(899248),el=e.i(94565),ei=e.i(923300),eo=e.i(46516),es=e.i(858739);let en={"climate-metrics-map":{sidebarIcon:(0,a.jsx)(el.default,{})},"data-download-tool":{sidebarIcon:(0,a.jsx)(et.default,{}),appbar:{tooltipTitle:"Review your selected package",icon:"package"}},"extreme-heat-days":{sidebarIcon:(0,a.jsx)(eo.default,{})},"hdd-cdd":{sidebarIcon:(0,a.jsx)(er.default,{})},"renewables-visualizer":{sidebarIcon:(0,a.jsx)(es.default,{}),appbar:{tooltipTitle:"Change your visualization parameters",icon:"settings"}}},ed=K.navGroups.tools.links.map(e=>({navLink:e,...en[e.id]}));var eu=e.i(885814),ec=e.i(611914),eh=e.i(223127);let ef=[...K.navGroups.stories.links.map(e=>({link:e,icon:(0,a.jsx)(ei.default,{})})),...ed.map(e=>({link:e.navLink,icon:e.sidebarIcon}))];function em({children:e}){let l,{open:i,toggleLeftDrawer:o}=(0,ec.useLeftDrawer)(),d=(0,t.usePathname)(),u=(0,Q.extractSegment)(d,"dashboard/","/"),c=(0,r.default)(eu.mediaQueries.max.small),h=(l=ef.f
1ind(e=>e.link.id===u),l?.link??K.navLinks.home),f=function(e,a){if(!(0,K.hasNavChildren)(e))return;let t=(0,Q.normalizePath)(a);return e.children.find(a=>(0,Q.normalizePath)(a.href)===t&&a.href!==e.href)}(h,d);return c?(0,a.jsx)(eh.SidePanelProvider,{children:(0,a.jsx)(s,{logo:!0,message:"Due to the nature of the tools, the Cal-Adapt Dashboard is best used on a desktop or laptop computer",children:(0,a.jsx)(n.default,{href:"/",children:"Go to the homepage"})})}):(0,a.jsx)(eh.SidePanelProvider,{children:(0,a.jsxs)("div",{style:{display:"flex",height:"calc(100dvh - var(--banner-height, 0px))",overflow:"hidden"},children:[(0,a.jsx)(ea,{open:i,onToggleOpen:o,activeHref:d,items:ef}),(0,a.jsxs)("div",{style:{flex:1,minWidth:0,minHeight:0,display:"flex",flexDirection:"column"},children:[(0,a.jsx)(W,{page:h,subPage:f}),(0,a.jsx)("main",{id:"main-content",style:{flex:1,minHeight:0,overflowY:"auto"},children:e})]})]})})}e.s(["default",()=>em],239126)}]);

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.