(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,192066,e=>{e.v("/_next/static/media/SlideshowIcon.dec5e13d.png")},15819,e=>{e.v("/_next/static/media/morning-brief-logo.c6e2f5db.svg")},217817,e=>{e.v("/_next/static/media/ellipse.906fdd19.png")},438335,e=>{"use strict";var t=e.i(694914);e.s(["getPublicProductionURL",0,e=>{let a=t.default.env.VERCEL_TARGET_ENV_PRODUCTION_URL??"weather.com",i=t.default.env.VERCEL_PROJECT_PRODUCTION_URL??"wxnext.weather.com",l=`https://${a??i}`;return e?new URL(e,l).toString():l},"getPublicURL",0,e=>{let a,i=(t.default.env.VERCEL_TARGET_ENV??"production")?.toLowerCase(),l=t.default.env.VERCEL_BRANCH_URL??"wx-next-web-git-main.vercel.weather.com",r=t.default.env.VERCEL_TARGET_ENV_URL??"weather.com",s="true"===t.default.env.NEXT_DEV_SERVER_INSECURE||"true"===t.default.env.NEXT_PUBLIC_NEXT_DEV_SERVER_INSECURE;switch(i){case"preview":a=`https://${l}`;break;case"development":a=s?`http://${r}`:`https://${r}`;break;default:a=`https://${r}`}return e?new URL(e,a).toString():a}])},245308,e=>{"use strict";var t=e.i(297647),a=e.i(477716),i=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"View"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M15.47 7.83A8.35 8.35 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34A8.35 8.35 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M8 12.5c-2.65 0-5.45-1.965-6.465-4.5C2.55 5.465 5.35 3.5 8 3.5s5.45 1.965 6.465 4.5C13.45 10.535 10.65 12.5 8 12.5"}),(0,t.jsx)("path",{d:"M8 5a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 5a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})]})]})),r=a.default.forwardRef((e,a)=>(0,t.jsx)(i.BaseIcon,{ref:a,icon:l,...e}));r.displayName="View",e.s(["View",0,r])},271818,e=>{"use strict";var t=e.i(477716);e.i(481938);var a=e.i(762073),i=e.i(297647),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,l)=>{let r=(0,a.createSlot)(`Primitive.${l}`),s=t.forwardRef((e,t)=>{let{asChild:a,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(a?r:l,{...s,ref:t})});return s.displayName=`Primitive.${l}`,{...e,[l]:s}},{});e.s(["Primitive",()=>l])},482317,e=>{"use strict";let t=(0,e.i(514514).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",()=>t],482317)},914146,e=>{"use strict";var t=e.i(297647),a=e.i(477716),i=e.i(482317),l=e.i(287638),r=e.i(368847),s=e.i(367810),n=e.i(632137);let d=({isOpen:e,setIsOpen:a,children:l,title:d})=>(0,t.jsx)(s.Dialog,{open:e,children:(0,t.jsxs)(s.DialogPortal,{children:[(0,t.jsx)(s.DialogOverlay,{className:"bg-black/50"}),(0,t.jsxs)(s.DialogContent,{className:(0,n.cn)("p-0 [&>button]:hidden","fixed inset-x-0 top-auto bottom-0 z-110 flex h-auto flex-col bg-white","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:slide-out-to-bottom-[10%] data-[state=open]:slide-in-from-bottom-[10%]","left-0 w-full max-w-none translate-x-0 translate-y-0 shadow-lg duration-300","border-x-0 border-b-0","rounded-t-3xl rounded-b-none"),children:[(0,t.jsx)(s.DialogTitle,{className:"pt-4",children:(0,t.jsxs)("div",{className:"relative flex items-center justify-center pb-2",children:[(0,t.jsx)(r.default,{variant:"Body.M",className:"font-bold",children:d}),(0,t.jsx)("button",{onClick:()=>a(!1),className:"absolute top-0 right-5 cursor-pointer text-black hover:text-gray-700",children:(0,t.jsx)(i.X,{className:"h-6 w-6"})}),(0,t.jsx)("div",{className:"absolute right-0 bottom-0 left-0 h-[1px] bg-[#e9e9e9]"})]})}),(0,t.jsx)("div",{className:"max-h-[70vh] overflow-y-auto p-4 pt-0",children:l})]})]})});var o=e.i(747961);let c=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Share"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M11.5 10a2.5 2.5 0 0 0-1.944.945L5.9 8.66a2.23 2.23 0 0 0 0-1.32l3.655-2.285A2.5 2.5 0 1 0 9 3.5q.004.337.1.66L5.446 6.445a2.5 2.5 0 1 0 0 3.11L9.1 11.84a2.4 2.4 0 0 0-.1.66 2.5 2.5 0 1 0 2.5-2.5m0-8a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m-8 7.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m8 4.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"})]})),h=a.default.forwardRef((e,a)=>(0,t.jsx)(o.BaseIcon,{ref:a,icon:c,...e}));h.displayName="Share";let u=({onClick:e=()=>void 0,asChild:a=!1,className:i,type:l})=>{let s={className:(0,n.cn)("flex cursor-pointer items-center text-sm text-gray-500","article"===l&&"px-3 py-2 rounded-lg border border-[#676767] bg-transparent",i),onClick:e,"data-testid":"share-button"},d=(0,t.jsxs)("div",{className:"align-center flex items-center","data-testid":"share-button-content",children:[(0,t.jsx)(h,{size:"sm",className:"m-0 mr-[8px]","data-testid":"share-icon-image"}),(0,t.jsx)(r.default,{variant:"Body.S",color:"brandDark",className:"m-0 font-bold","data-testid":"share-button-text",children:"Share"})]});return a?(0,t.jsx)("div",{...s,children:d}):(0,t.jsx)("button",{...s,children:d})};var m=e.i(514514);let x=(0,m.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);var f=e.i(729496);let p=(0,m.default)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);var w=e.i(947118),b=e.i(737801),v=e.i(630986),j=e.i(393864),g=e.i(499167);let y=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Reddit"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M9.627 3.772a1.334 1.334 0 1 0-.008-.576 2.153 2.153 0 0 0-1.92 2.138v.007c-1.173.049-2.243.383-3.093.91a1.868 1.868 0 1 0-1.934 3.17c.061 2.168 2.424 3.913 5.331 3.913s5.273-1.747 5.332-3.917a1.869 1.869 0 1 0-1.939-3.169c-.857-.53-1.94-.864-3.124-.909v-.005c0-.793.59-1.452 1.355-1.56zM4.531 8.914c.031-.677.481-1.197 1.004-1.197s.923.55.892 1.227-.422.923-.946.923c-.523 0-.982-.275-.95-.953m5.941-1.197c.524 0 .974.52 1.004 1.197.032.678-.427.953-.95.953s-.915-.245-.946-.923.368-1.227.892-1.227m-.623 2.765c.099.01.161.112.123.203a2.133 2.133 0 0 1-3.938 0 .148.148 0 0 1 .123-.203 19 19 0 0 1 1.846-.09c.65 0 1.27.032 1.846.09"})]})),k=a.default.forwardRef((e,a)=>(0,t.jsx)(o.BaseIcon,{ref:a,icon:y,...e}));k.displayName="Reddit";let N=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"LinkedIn"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("g",{clipPath:"url(#a)",children:(0,t.jsx)("path",{fill:"currentColor",d:"M14.816 0H1.18C.528 0 0 .516 0 1.153v13.69A1.17 1.17 0 0 0 1.181 16h13.635c.653 0 1.184-.519 1.184-1.153V1.153C16 .516 15.469 0 14.816 0M4.746 13.634H2.373V5.997h2.375zM3.56 4.956a1.376 1.376 0 1 1-.004-2.751 1.376 1.376 0 0 1 .004 2.751m10.075 8.678h-2.372V9.922c0-.885-.015-2.025-1.234-2.025-1.234 0-1.422.966-1.422 1.962v3.775H6.238V5.997h2.274V7.04h.032c.315-.6 1.09-1.235 2.243-1.235 2.404 0 2.847 1.582 2.847 3.638z"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"a",children:(0,t.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]})),C=a.default.forwardRef((e,a)=>(0,t.jsx)(o.BaseIcon,{ref:a,icon:N,...e}));C.displayName="LinkedIn";let R=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"BlueSky"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M4.6 3.677C5.976 4.71 7.456 6.805 8 7.93c.543-1.124 2.023-3.219 3.4-4.252.992-.745 2.6-1.322 2.6.513 0 .367-.21 3.08-.333 3.52-.428 1.53-1.99 1.921-3.378 1.685 2.428.413 3.045 1.782 1.711 3.15-2.532 2.599-3.64-.652-3.924-1.485-.052-.153-.076-.224-.077-.164 0-.06-.024.011-.076.164-.284.833-1.392 4.084-3.925 1.485-1.333-1.368-.716-2.737 1.712-3.15C4.32 9.63 2.76 9.24 2.33 7.71c-.123-.44-.333-3.153-.333-3.52 0-1.835 1.609-1.258 2.602-.513"})]})),E=a.default.forwardRef((e,a)=>(0,t.jsx)(o.BaseIcon,{ref:a,icon:R,...e}));E.displayName="BlueSky";let I=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"WhatsApp"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"m0 16 1.125-4.109A7.9 7.9 0 0 1 .067 7.927C.069 3.557 3.625 0 7.995 0c2.121 0 4.112.827 5.609 2.325a7.88 7.88 0 0 1 2.32 5.61c-.002 4.371-3.559 7.928-7.929 7.928a7.93 7.93 0 0 1-3.792-.966zm4.398-2.538c1.117.663 2.184 1.06 3.595 1.061a6.6 6.6 0 0 0 6.592-6.59A6.59 6.59 0 0 0 7.998 1.34a6.6 6.6 0 0 0-6.593 6.589c0 1.483.434 2.594 1.164 3.756l-.666 2.432zm7.591-3.643c-.049-.082-.181-.132-.38-.231-.198-.1-1.172-.579-1.354-.645-.181-.066-.313-.099-.446.1-.132.198-.512.644-.627.776s-.231.149-.43.05c-.197-.1-.836-.308-1.593-.984a6 6 0 0 1-1.102-1.372c-.115-.198-.012-.306.087-.404.09-.089.198-.232.297-.348.101-.114.134-.197.2-.33.066-.132.034-.248-.016-.347s-.446-1.074-.611-1.47c-.161-.387-.325-.335-.446-.34l-.38-.007a.73.73 0 0 0-.528.248c-.181.198-.693.677-.693 1.652 0 .976.71 1.918.808 2.05.1.132 1.397 2.133 3.384 2.991.473.204.842.326 1.13.417.474.151.906.13 1.248.079.38-.057 1.172-.48 1.337-.942.165-.463.165-.86.115-.943"})]})),B=a.default.forwardRef((e,a)=>(0,t.jsx)(o.BaseIcon,{ref:a,icon:I,...e}));B.displayName="WhatsApp";var M=e.i(37429);let _=({setIsOpen:e,setCopied:i,copied:l,title:s,imageUrl:d,subText:o})=>{let c,h,u,m,y,N=(c="content-shared",h=(0,w.useIsInitialized)(),u=(0,b.useEventAttributes)(),m=(0,v.useCMSAttributes)(),y=(0,a.useCallback)(({sharedMethod:e})=>{let t={createdDate:m?.createdDate,contentId:m?.contentId,publishDate:m?.publishDate,author:m?.author||"",collection:m?.collection,entitlements:m?.entitlements,sharedMethod:e,...u};if(!h)return void console.warn("MParticle is not initialized");try{window.mParticle?.logEvent?.(c,window.mParticle?.EventType?.Other,t),console.debug(`MParticle: Event "${c}" tracked`,t)}catch(e){console.error(`MParticle: Event "${c}" failed`,e)}return y},[m?.author,m?.contentId,m?.collection,m?.createdDate,m?.entitlements,m?.publishDate,u,h])),R=t=>{let a=encodeURIComponent(window.location.href),i=encodeURIComponent(s),l="";switch(t){case"twitter":l=`https://twitter.com/intent/tweet?url=${a}&text=${i}`;break;case"facebook":l=`https://www.facebook.com/sharer.php?u=${a}`;break;case"linkedin":l=`https://www.linkedin.com/sharing/share-offsite/?url=${a}`;break;case"reddit":l=`https://www.reddit.com/submit?url=${a}&title=${i}`;break;case"bluesky":l=`https://bsky.app/intent/compose?text=${i}%20${a}`;break;case"whatsapp":l=`https://wa.me/?text=${i}%20${a}`}l&&(window.open(l,"_blank"),N({sharedMethod:t}),e(!1))},I=[{key:"facebook",name:"Facebook",icon:j.Facebook,action:()=>R("facebook")},{key:"twitter",name:"X",icon:g.Twitter,action:()=>R("twitter")},{key:"reddit",name:"Reddit",icon:k,action:()=>R("reddit")},{key:"linkedin",name:"LinkedIn",icon:C,action:()=>R("linkedin")},{key:"bluesky",name:"Bluesky",icon:E,action:()=>R("bluesky")},{key:"whatsapp",name:"WhatsApp",icon:B,action:()=>R("whatsapp")},{key:"email",name:"Email",icon:x,action:()=>{let t=`mailto:?subject=${encodeURIComponent(s)}&body=${encodeURIComponent(window.location.href)}`;document.body.setAttribute("data-mailto-url",t),window.location.href=t,N({sharedMethod:"email"}),e(!1)}},{key:"copy",name:l?"Copied":"Copy link",icon:l?f.Check:p,action:()=>{"u">typeof navigator&&navigator.clipboard.writeText(window.location.href).then(()=>{i(!0),N({sharedMethod:"linkCopy"}),setTimeout(()=>e(!1),3e3),setTimeout(()=>i(!1),3400)})}}];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[d&&(0,t.jsx)(M.default,{src:d,alt:"",className:"h-18 w-auto rounded-lg md:h-16.75"}),(0,t.jsx)("p",{className:(0,n.cn)("line-clamp-3 overflow-hidden text-ellipsis","h-18 text-xl leading-6 font-semibold","md:h-16.75 md:text-base md:leading-[140%] md:font-bold"),children:s})]}),o&&(0,t.jsx)(r.default,{variant:"Body.S",className:"m-0 mt-2 leading-[115%] text-gray-600",children:o}),(0,t.jsx)("hr",{className:"my-4 border-[#e9e9e9]"}),(0,t.jsx)("div",{className:"space-y-4","data-testid":"share-options-container",children:I.map(e=>(0,t.jsxs)("button",{onClick:e.action,className:"flex h-6 w-full cursor-pointer items-center rounded-md hover:bg-gray-50","data-testid":`share-${e.key}-button`,children:[(0,t.jsx)("div",{className:"mr-[8px] flex h-6 w-6 items-center justify-center","data-testid":`share-${e.key}-icon`,children:(0,t.jsx)(e.icon,{className:"w-6"})}),(0,t.jsx)(r.default,{variant:"Body.M","data-testid":`share-${e.key}-text`,children:e.name})]},e.key))})]})};var P=e.i(909232);let S=function({children:e,fallback:t,delayMs:i=0}){let[l,r]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{if(i>0){let e=setTimeout(()=>{r(!0)},i);return()=>clearTimeout(e)}r(!0)},[i]),l)?e:t||null};e.s(["Share",0,({type:e="link",title:s,imageUrl:n,authors:o})=>{let[c,h]=(0,a.useState)(!1),[m,x]=(0,a.useState)(!1),f=(0,P.useClientMobileMedia)(),p=o?.reduce((e,t,a)=>{if("string"==typeof t)return e;let i=`${t.firstName||""} ${t.lastName||""}`.trim(),l=a===o.length-1,r=a===o.length-2;return e+i+(l?"":r?" and ":", ")},""),w=()=>(0,t.jsx)(_,{setCopied:h,setIsOpen:x,copied:c,title:s,imageUrl:n,subText:p&&"By "+p});return(0,t.jsx)(S,{children:(0,t.jsx)("div",{className:"flex items-center justify-between","data-testid":"share-container",children:f?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{onClick:()=>x(!0),type:e}),(0,t.jsx)(d,{title:`Share this ${e}`,isOpen:!!f&&m,setIsOpen:x,"data-testid":"share-mobile-drawer",children:w()})]}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(l.Popover,{open:!f&&m,onOpenChange:x,"data-testid":"share-popover",children:[(0,t.jsx)(l.PopoverTrigger,{children:(0,t.jsx)(u,{asChild:!0,type:e})}),(0,t.jsxs)(l.PopoverContent,{arrowPadding:2,align:"end",alignOffset:-2,className:"relative z-50 w-[312px] rounded-2xl border-0 bg-white p-[16px] drop-shadow-lg/25","data-testid":"share-popover-content",children:[(0,t.jsx)(l.PopoverArrow,{width:21,height:14,className:"fill-white"}),(0,t.jsxs)("div",{className:"mb-[8px] flex items-center justify-between",children:[(0,t.jsxs)(r.default,{variant:"Body.L",className:"font-bold","data-testid":"share-title",children:["Share this ",e]}),(0,t.jsx)("button",{onClick:()=>x(!1),className:"cursor-pointer text-black hover:text-gray-700","data-testid":"share-close-button",children:(0,t.jsx)(i.X,{className:"h-6 w-6"})})]}),w()]})]})})})})}],914146)},126281,e=>{"use strict";var t=e.i(297647),a=e.i(477716),i=e.i(381477),l=e.i(889951),r=e.i(349262),s=e.i(475566),n=e.i(316078),d=e.i(747961);let o=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"No Data"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",children:(0,t.jsx)("path",{d:"M2 8c0-.368.224-.667.5-.667h3.991c.276 0 .5.299.5.667s-.224.667-.5.667H2.5c-.276 0-.5-.299-.5-.667M9.009 8c0-.368.224-.667.5-.667H13.5c.276 0 .5.299.5.667s-.224.667-.5.667H9.509c-.276 0-.5-.299-.5-.667"})})]})),c=a.default.forwardRef((e,a)=>(0,t.jsx)(d.BaseIcon,{ref:a,icon:o,...e}));c.displayName="NoData";var h=e.i(674885),u=e.i(617874);function m({node:e}){let[d,o]=(0,a.useState)(null),[m,x]=(0,a.useState)(!0),[f,p]=(0,a.useState)(null),w=(0,s.useAtomValue)(h.userUnitPreferenceAtom),b=(0,u.unitsSystemByName)(w)?.code,{data:v,error:j}=(0,i.default)(e.geocode?["currentConditions",e.geocode,b]:null,async([e,t,a])=>{try{return await (0,l.getCurrentObservations)({geocode:t,units:a,language:"en-US"})}catch(e){return console.error("Error fetching weather:",e),null}},{revalidateOnFocus:!1,dedupingInterval:3e5});(0,a.useEffect)(()=>{v?(o(Math.round(v.temperature)),x(!1)):j&&(p(j),x(!1))},[v,j]);let g=e.placeId?`/weather/today/l/${e.placeId}`:"#";return(0,t.jsxs)("a",{href:g,className:"inline-flex items-center gap-1",children:[(0,t.jsx)("span",{className:"border-b-2 border-dotted border-black",children:e.locationName}),m?(0,t.jsx)("span",{className:"text-gray-400",children:"..."}):f?(0,t.jsx)("span",{className:"text-gray-400",children:"!"}):(0,t.jsxs)("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2",children:[v?.iconCode!==void 0&&(0,t.jsx)("span",{className:"flex items-center",children:"na"!==(r.ICON_CODE_MAP[v.iconCode]||"na")?(0,t.jsx)(n.WxIcon,{iconCode:v.iconCode,className:"lightBG","aria-label":r.ICON_CODE_MAP[v.iconCode]||`Weather condition ${v.iconCode}`,iconTheme:"lightBG",size:"sm"}):(0,t.jsx)(c,{className:"lightBG","aria-label":"Weather icon not available",size:"sm"})}),(0,t.jsxs)("span",{className:"font-medium",children:[d,"°"]})]})]})}e.s(["WeatherLocationTickerClientComponent",()=>m],126281)},137688,e=>{e.v(t=>Promise.all(["static/chunks/775f6992a5490e4c.js"].map(t=>e.l(t))).then(()=>t(72990)))}]);