(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,192066,e=>{e.q("/_next/static/media/SlideshowIcon.38ukq3atqgza-.png")},15819,e=>{e.q("/_next/static/media/morning-brief-logo.1vsg6xjfl-m0f.svg")},217817,e=>{e.q("/_next/static/media/ellipse.2u_1umvdusv_0.png")},32223,e=>{e.q("/_next/static/media/tree_particles.1ritrbp0fqn-c.png")},777507,e=>{e.q("/_next/static/media/grass_particles.0jyl80h3s1apl.png")},26411,e=>{e.q("/_next/static/media/ragweed_particles.15i_zhe-3f9ug.png")},393864,499167,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...a},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":i,...a,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Facebook"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("g",{clipPath:"url(#a)",children:(0,t.jsx)("path",{fill:"currentColor",d:"M8 0a8 8 0 0 0-1.932 15.765v-5.32h-1.65V8h1.65V6.947c0-2.723 1.232-3.985 3.905-3.985.507 0 1.382.1 1.74.198v2.216c-.19-.02-.518-.03-.925-.03-1.312 0-1.818.498-1.818 1.79V8h2.613l-.45 2.445H8.97v5.496A8 8 0 0 0 8 0"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"a",children:(0,t.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));a.displayName="Facebook",e.s(["Facebook",0,a],393864);let l=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...a},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":i,...a,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Twitter"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12.217 1.27h2.249L9.552 6.884l5.78 7.642h-4.525L7.262 9.892l-4.056 4.635H.956L6.21 8.52.666 1.27h4.64l3.205 4.236zm-.79 11.91h1.247L4.63 2.546H3.292z"})]})),o=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:l,...e}));o.displayName="Twitter",e.s(["Twitter",0,o],499167)},724475,(e,t,r)=>{"use strict";r.match=function(e,t){return s(e).some(function(e){var r=e.inverse,n="all"===e.type||t.type===e.type;if(n&&r||!(n||r))return!1;var i=e.expressions.every(function(e){var r=e.feature,n=e.modifier,i=e.value,a=t[r];if(!a)return!1;switch(r){case"orientation":case"scan":return a.toLowerCase()===i.toLowerCase();case"width":case"height":case"device-width":case"device-height":i=u(i),a=u(a);break;case"resolution":i=d(i),a=d(a);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":i=c(i),a=c(a);break;case"grid":case"color":case"color-index":case"monochrome":i=parseInt(i,10)||1,a=parseInt(a,10)||0}switch(n){case"min":return a>=i;case"max":return a{"use strict";var n=e.r(724475).match,i="u">typeof window?window.matchMedia:null;function a(e,t,r){var a,l=this;function o(e){l.matches=e.matches,l.media=e.media}i&&!r&&(a=i.call(window,e)),a?(this.matches=a.matches,this.media=a.media,a.addListener(o)):(this.matches=n(e,t),this.media=e),this.addListener=function(e){a&&a.addListener(e)},this.removeListener=function(e){a&&a.removeListener(e)},this.dispose=function(){a&&a.removeListener(o)}}t.exports=function(e,t,r){return new a(e,t,r)}},35305,(e,t,r)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},561227,(e,t,r)=>{"use strict";var n=e.r(35305);function i(){}function a(){}a.resetWarningCache=i,t.exports=function(){function e(e,t,r,i,a,l){if(l!==n){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return r.PropTypes=r,r}},304153,(e,t,r)=>{t.exports=e.r(561227)()},909232,e=>{"use strict";var t=e.i(592121),r=e.i(342716),n=/[A-Z]/g,i=/^ms-/,a={};function l(e){return"-"+e.toLowerCase()}let o=function(e){if(a.hasOwnProperty(e))return a[e];var t=e.replace(n,l);return a[e]=i.test(t)?"-"+t:t};var s=e.i(304153);let c=s.default.oneOfType([s.default.string,s.default.number]),d={all:s.default.bool,grid:s.default.bool,aural:s.default.bool,braille:s.default.bool,handheld:s.default.bool,print:s.default.bool,projection:s.default.bool,screen:s.default.bool,tty:s.default.bool,tv:s.default.bool,embossed:s.default.bool},{type:u,...m}={orientation:s.default.oneOf(["portrait","landscape"]),scan:s.default.oneOf(["progressive","interlace"]),aspectRatio:s.default.string,deviceAspectRatio:s.default.string,height:c,deviceHeight:c,width:c,deviceWidth:c,color:s.default.bool,colorIndex:s.default.bool,monochrome:s.default.bool,resolution:c,type:Object.keys(d)},f={minAspectRatio:s.default.string,maxAspectRatio:s.default.string,minDeviceAspectRatio:s.default.string,maxDeviceAspectRatio:s.default.string,minHeight:c,maxHeight:c,minDeviceHeight:c,maxDeviceHeight:c,minWidth:c,maxWidth:c,minDeviceWidth:c,maxDeviceWidth:c,minColor:s.default.number,maxColor:s.default.number,minColorIndex:s.default.number,maxColorIndex:s.default.number,minMonochrome:s.default.number,maxMonochrome:s.default.number,minResolution:c,maxResolution:c,...m};var h={...d,...f};let p=(0,t.createContext)(void 0),v=e=>{if(e)return Object.keys(e).reduce((t,r)=>(t[o(r)]=e[r],t),{})},g=()=>{let e=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{e.current=!0},[]),e.current};e.s(["useClientMobileMedia",0,()=>!(e=>{let n=(e=>{let r=(0,t.useContext)(p),n=()=>v(e)||v(r),[i,a]=(0,t.useState)(n);return(0,t.useEffect)(()=>{let e=n();!function(e,t){if(e===t)return!0;if(!e||!t)return!1;let r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(let n=0;n{let r=()=>{let t;return e.query||(t=[],Object.keys(h).forEach(r=>{let n=e[r];null!=n&&t.push(((e,t)=>{let r=o(e);if("number"==typeof t&&(t=`${t}px`),!0===t)return r;if(!1===t)return`not ${r}`;return`(${r}: ${t})`})(r,n))}),t.join(" and "))},[n,i]=(0,t.useState)(r);return(0,t.useEffect)(()=>{let e=r();n!==e&&i(e)},[e]),n})(e);if(!i)throw Error("Invalid or missing MediaQuery!");let a=((e,n)=>{let i=()=>(0,r.default)(e,n||{},!!n),[a,l]=(0,t.useState)(i),o=g();return(0,t.useEffect)(()=>{if(o){let e=i();return l(e),()=>{e&&e.dispose()}}},[e,n]),a})(i,n),l=(e=>{let[r,n]=(0,t.useState)(e.matches);return(0,t.useEffect)(()=>{let t=e=>{n(e.matches)};return e.addListener(t),n(e.matches),()=>{e.removeListener(t)}},[e]),r})(a);return g(),(0,t.useEffect)(()=>{},[l]),(0,t.useEffect)(()=>()=>{a&&a.dispose()},[]),l})({query:"(min-width: 768px)"})],909232)},925209,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...a},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":i,...a,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Location"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M8 9a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5m0-4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"}),(0,t.jsx)("path",{d:"m8 15-4.218-4.974-.174-.226A5.44 5.44 0 0 1 2.5 6.5a5.5 5.5 0 1 1 11 0 5.44 5.44 0 0 1-1.107 3.299h-.001s-.15.198-.172.225zM4.406 9.198s.117.154.144.187L8 13.454l3.455-4.075.14-.183A4.45 4.45 0 0 0 12.5 6.5a4.5 4.5 0 1 0-9 0 4.45 4.45 0 0 0 .906 2.698"})]})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));a.displayName="Location",e.s(["Location",0,a])},985542,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.searchLocations=l,r.transformLocationSearch=o,r.getLocationsByQuery=s,r.getLocationsByQueryAndType=c;let n=e.r(630585),i=e.r(678651),a=e.r(414655);async function l(e){let t=(0,n.getLocationSearchUrlConfig)(e),r=(0,i.urlFrom)(t),l=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,a.handleFetchResponse)(l)}function o(e){let t=[];if(!e.location||!e.location.city||0===e.location.city.length)return t;let r=e.location.city.length;for(let n=0;n{"use strict";var t=e.i(592121),r=e.i(147732);function n(e,n){let[i,a]=(0,t.useState)(e);return(0,t.useEffect)(()=>{let t=(0,r.debounce)(e=>{a(e)},n);return t(e),()=>{t.cancel()}},[e,n]),i}e.s(["default",0,n,"useDebounce",0,n])},336726,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...a},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":i,...a,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Down"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M8.471 10.529a.667.667 0 0 1-.942 0L3.35 6.35a.495.495 0 1 1 .7-.7L8 9.6l3.95-3.95a.495.495 0 1 1 .7.7z"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));a.displayName="ChevronDown",e.s(["ChevronDown",0,a])},697380,e=>{"use strict";let t=(0,e.i(981030).atom)(0);e.s(["fixedBottomAdHeightAtom",0,t])},792461,e=>{"use strict";var t=e.i(592121);e.s(["useRefMemo",0,e=>{let r=(0,t.useRef)(e);return r.current=e,r}])},859827,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...a},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":i,...a,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Plus"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H8.8V5.3a.8.8 0 1 0-1.6 0v2.4H4.8a.8.8 0 1 0 0 1.6h2.4v2.4a.8.8 0 0 0 1.6 0V9.3h2.4a.8.8 0 0 0 .8-.8"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));a.displayName="Plus",e.s(["Plus",0,a])},993269,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...a},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":i,...a,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Minus"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H4.8a.8.8 0 1 0 0 1.6h6.4a.8.8 0 0 0 .8-.8"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));a.displayName="Minus",e.s(["Minus",0,a])},385277,e=>{"use strict";var t=e.i(592121),r=e.i(792461),n=e.i(333350);e.s(["useClientContainerSize",0,e=>{let i=(0,t.useRef)(null),[a,l]=(0,t.useState)(n.default?e(window.innerWidth,window.innerHeight):null),o=(0,t.useRef)(!1),s=(0,r.useRefMemo)(e);return(0,t.useEffect)(()=>{let e=i.current;if(!e||"u"{window.requestAnimationFrame(()=>{for(let t of e){let{right:e,left:r,top:n,bottom:i}=t.contentRect,a=e+r,c=n+i,d=s.current(a,c);o.current=!0,l(d)}})});return t.observe(e),()=>{t.disconnect()}},[i,s]),[a,i,o.current]}])},235577,e=>{"use strict";var t=e.i(699173),r=e.i(523084),n=e.i(47524),i=e.i(632137),a=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:l,hidden:o,size:s="default",variant:c="light",className:d}){let u="sm"===s,m=(0,i.cn)("text-current",u?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(a.Button,{type:"button",onClick:l,"aria-hidden":"true",tabIndex:-1,className:(0,i.cn)("group absolute top-1/2 z-10 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===c?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===c?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===c?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",u?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",o&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",o&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",o&&"pointer-events-none opacity-0",d),children:"left"===e?(0,t.jsx)(r.ChevronLeft,{className:m}):(0,t.jsx)(n.ChevronRight,{className:m})})}])},457492,e=>{"use strict";var t=e.i(699173),r=e.i(147732),n=e.i(592121),i=e.i(632137),a=e.i(546446),l=e.i(663333),o=e.i(235577),s=e.i(240058);let c=(0,i.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),d=e=>{let{activeIndex:r,index:n,link:a}=e,l=r===n,o=(0,i.cn)(c,{"bg-gray-100 text-blue-500":l});if(e.onSelect){let{onSelect:r}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>r(n,a),className:(0,i.cn)("cursor-pointer",o),"aria-current":l?"page":void 0,children:a.label})}let{basePath:d,mpa:u}=e,m=a.href??("/"===a.slug?d||"/":`${d}/${a.slug}`);return(0,t.jsx)(s.default,{href:m,mpa:u,className:o,"aria-current":l?"page":void 0,sourceModule:"subnavigation",children:a.label})},u=(0,n.memo)(e=>{let{links:s,activeIndex:c,className:u,constrained:m=!0}=e,[f,h]=(0,n.useState)(!1),[p,v]=(0,n.useState)(!1),g=(0,n.useRef)(null),x=(0,n.useRef)(null),b=(0,n.useRef)(!1),w=(0,a.useAtomValue)(l.deviceClassAtom),y="mobile"!==w&&"tablet"!==w,j=(0,n.useCallback)(()=>{let e=g.current;if(!e||!y){h(!1),v(!1);return}let{scrollLeft:t,scrollWidth:r,clientWidth:n}=e,i=Math.abs(t),a=i>2,l=i+n(0,r.debounce)(j,150),[j]),k=(0,n.useCallback)(()=>{null===x.current&&(x.current=requestAnimationFrame(()=>{j(),x.current=null}))},[j]);(0,n.useEffect)(()=>{let e=g.current;e&&(b.current="rtl"===getComputedStyle(e).direction),j();let t=g.current;return t&&(t.addEventListener("scroll",k),window.addEventListener("resize",C)),()=>{null!==x.current&&(cancelAnimationFrame(x.current),x.current=null),t&&t.removeEventListener("scroll",k),C.cancel(),window.removeEventListener("resize",C)}},[s,j,k,C]);let S=(0,n.useCallback)(()=>{g.current?.scrollBy({left:-200,behavior:"smooth"})},[]),E=(0,n.useCallback)(()=>{g.current?.scrollBy({left:200,behavior:"smooth"})},[]);return(0,t.jsxs)("div",{className:(0,i.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",m&&"md:mr-auto md:max-w-[min(958px,100%)]",u),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,i.cn)("pointer-events-none absolute top-0 -left-25 z-[5] h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":f}),"aria-hidden":"true"}),(0,t.jsx)(o.ScrollButton,{hidden:!f,onClick:S,direction:"left"}),(0,t.jsx)("div",{ref:g,className:(0,i.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:s.map((r,n)=>e.onSelect?(0,t.jsx)(d,{link:r,index:n,activeIndex:c,onSelect:e.onSelect},`${r.label}_${r.slug}`):(0,t.jsx)(d,{link:r,index:n,activeIndex:c,basePath:e.basePath,mpa:e.mpa},`${r.label}_${r.slug}`))}),(0,t.jsx)("div",{className:(0,i.cn)("pointer-events-none absolute top-0 -right-25 z-[5] h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":p}),"aria-hidden":"true"}),(0,t.jsx)(o.ScrollButton,{hidden:!p,onClick:E,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,r)=>e.label===t.links[r]?.label&&e.slug===t.links[r]?.slug&&e.href===t.links[r]?.href));u.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,u],457492)},846871,e=>{"use strict";var t=e.i(699173),r=e.i(294237),n=e.i(632137);let i=(0,r.cva)("inline-block rounded-full border-solid animate-spin box-border",{variants:{size:{sm:"w-4 h-4 border-[2px]",md:"w-6 h-6 border-[2px]",lg:"w-8 h-8 border-[3px]"},variant:{white:"border-white border-b-transparent",primary:"border-brand-400 border-b-transparent",black:"border-[#252422] border-b-transparent"}},defaultVariants:{size:"sm",variant:"black"}});e.s(["Loader",0,({className:e,size:r,variant:a,label:l})=>(0,t.jsx)("div",{className:(0,n.cn)(i({size:r,variant:a}),e),"aria-label":l})])},546334,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(961123),i=e.i(381477),a=e.i(925209),l=e.i(564993),o=e.i(985542),s=e.i(612977),c=e.i(368847),d=e.i(877957),u=/[\\\/_+.#"@\[\(\{&]/,m=/[\\\/_+.#"@\[\(\{&]/g,f=/[\s-]/,h=/[\s-]/g;function p(e){return e.toLowerCase().replace(h," ")}var v=e.i(867013);e.i(798973);var g=e.i(982538),x=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=(0,g.createSlot)(`Primitive.${n}`),a=r.forwardRef((e,r)=>{let{asChild:a,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(a?i:n,{...l,ref:r})});return a.displayName=`Primitive.${n}`,{...e,[n]:a}},{}),b=globalThis?.document?r.useLayoutEffect:()=>{},w=r[" useId ".trim().toString()]||(()=>void 0),y=0;function j(e){let[t,n]=r.useState(w());return b(()=>{e||n(e=>e??String(y++))},[e]),e||(t?`radix-${t}`:"")}var C=e.i(723673),k='[cmdk-group=""]',S='[cmdk-group-items=""]',E='[cmdk-item=""]',I=`${E}:not([aria-disabled="true"])`,R="cmdk-item-select",N="data-value",$=(e,t,r)=>{var n;return n=e,function e(t,r,n,i,a,l,o){if(l===r.length)return a===t.length?1:.99;var s=`${a},${l}`;if(void 0!==o[s])return o[s];for(var c,d,p,v,g=i.charAt(l),x=n.indexOf(g,a),b=0;x>=0;)(c=e(t,r,n,i,x+1,l+1,o))>b&&(x===a?c*=1:u.test(t.charAt(x-1))?(c*=.8,(p=t.slice(a,x-1).match(m))&&a>0&&(c*=Math.pow(.999,p.length))):f.test(t.charAt(x-1))?(c*=.9,(v=t.slice(a,x-1).match(h))&&a>0&&(c*=Math.pow(.999,v.length))):(c*=.17,a>0&&(c*=Math.pow(.999,x-a))),t.charAt(x)!==r.charAt(l)&&(c*=.9999)),(c<.1>c&&(c=.1*d),c>b&&(b=c),x=n.indexOf(g,x+1);return o[s]=b,b}(n=r&&r.length>0?`${n+" "+r.join(" ")}`:n,t,p(n),p(t),0,0,{})},A=r.createContext(void 0),M=r.createContext(void 0),z=r.createContext(void 0),D=r.forwardRef((e,t)=>{let n=q(()=>{var t,r;return{search:"",value:null!=(r=null!=(t=e.value)?t:e.defaultValue)?r:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),i=q(()=>new Set),a=q(()=>new Map),l=q(()=>new Map),o=q(()=>new Set),s=F(e),{label:c,children:d,value:u,onValueChange:m,filter:f,shouldFilter:h,loop:p,disablePointerSelection:v=!1,vimBindings:g=!0,...b}=e,w=j(),y=j(),C=j(),z=r.useRef(null),D=K();V(()=>{if(void 0!==u){let e=u.trim();n.current.value=e,P.emit()}},[u]),V(()=>{D(6,H)},[]);let P=r.useMemo(()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var i,a,l,o;if(!Object.is(n.current[e],t)){if(n.current[e]=t,"search"===e)O(),B(),D(1,_);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(C);e?e.focus():null==(i=document.getElementById(w))||i.focus()}if(D(7,()=>{var e;n.current.selectedItemId=null==(e=U())?void 0:e.id,P.emit()}),r||D(5,H),(null==(a=s.current)?void 0:a.value)!==void 0){null==(o=(l=s.current).onValueChange)||o.call(l,null!=t?t:"");return}}P.emit()}},emit:()=>{o.current.forEach(e=>e())}}),[]),L=r.useMemo(()=>({value:(e,t,r)=>{var i;t!==(null==(i=l.current.get(e))?void 0:i.value)&&(l.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,T(t,r)),D(2,()=>{B(),P.emit()}))},item:(e,t)=>(i.current.add(e),t&&(a.current.has(t)?a.current.get(t).add(e):a.current.set(t,new Set([e]))),D(3,()=>{O(),B(),n.current.value||_(),P.emit()}),()=>{l.current.delete(e),i.current.delete(e),n.current.filtered.items.delete(e);let t=U();D(4,()=>{O(),(null==t?void 0:t.getAttribute("id"))===e&&_(),P.emit()})}),group:e=>(a.current.has(e)||a.current.set(e,new Set),()=>{l.current.delete(e),a.current.delete(e)}),filter:()=>s.current.shouldFilter,label:c||e["aria-label"],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:w,inputId:C,labelId:y,listInnerRef:z}),[]);function T(e,t){var r,i;let a=null!=(i=null==(r=s.current)?void 0:r.filter)?i:$;return e?a(e,n.current.search,t):0}function B(){if(!n.current.search||!1===s.current.shouldFilter)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach(r=>{let n=a.current.get(r),i=0;n.forEach(t=>{i=Math.max(e.get(t),i)}),t.push([r,i])});let r=z.current;W().sort((t,r)=>{var n,i;let a=t.getAttribute("id"),l=r.getAttribute("id");return(null!=(n=e.get(l))?n:0)-(null!=(i=e.get(a))?i:0)}).forEach(e=>{let t=e.closest(S);t?t.appendChild(e.parentElement===t?e:e.closest(`${S} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${S} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=z.current)?void 0:t.querySelector(`${k}[${N}="${encodeURIComponent(e[0])}"]`);null==r||r.parentElement.appendChild(r)})}function _(){let e=W().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(N);P.setState("value",t||void 0)}function O(){var e,t,r,o;if(!n.current.search||!1===s.current.shouldFilter){n.current.filtered.count=i.current.size;return}n.current.filtered.groups=new Set;let c=0;for(let a of i.current){let i=T(null!=(t=null==(e=l.current.get(a))?void 0:e.value)?t:"",null!=(o=null==(r=l.current.get(a))?void 0:r.keywords)?o:[]);n.current.filtered.items.set(a,i),i>0&&c++}for(let[e,t]of a.current)for(let r of t)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(e);break}n.current.filtered.count=c}function H(){var e,t,r;let n=U();n&&((null==(e=n.parentElement)?void 0:e.firstChild)===n&&(null==(r=null==(t=n.closest(k))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),n.scrollIntoView({block:"nearest"}))}function U(){var e;return null==(e=z.current)?void 0:e.querySelector(`${E}[aria-selected="true"]`)}function W(){var e;return Array.from((null==(e=z.current)?void 0:e.querySelectorAll(I))||[])}function Q(e){let t=W()[e];t&&P.setState("value",t.getAttribute(N))}function X(e){var t;let r=U(),n=W(),i=n.findIndex(e=>e===r),a=n[i+e];null!=(t=s.current)&&t.loop&&(a=i+e0?function(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}(r,k):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,k))?void 0:r.querySelector(I);n?P.setState("value",n.getAttribute(N)):X(e)}let J=()=>Q(W().length-1),ee=e=>{e.preventDefault(),e.metaKey?J():e.altKey?Y(1):X(1)},et=e=>{e.preventDefault(),e.metaKey?Q(0):e.altKey?Y(-1):X(-1)};return r.createElement(x.div,{ref:t,tabIndex:-1,...b,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=b.onKeyDown)||t.call(b,e);let r=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||r))switch(e.key){case"n":case"j":g&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":g&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),Q(0);break;case"End":e.preventDefault(),J();break;case"Enter":{e.preventDefault();let t=U();if(t){let e=new Event(R);t.dispatchEvent(e)}}}}},r.createElement("label",{"cmdk-label":"",htmlFor:L.inputId,id:L.labelId,style:Z},c),G(e,e=>r.createElement(M.Provider,{value:P},r.createElement(A.Provider,{value:L},e))))}),P=r.forwardRef((e,t)=>{var n,i;let a=j(),l=r.useRef(null),o=r.useContext(z),s=r.useContext(A),c=F(e),d=null!=(i=null==(n=c.current)?void 0:n.forceMount)?i:null==o?void 0:o.forceMount;V(()=>{if(!d)return s.item(a,null==o?void 0:o.id)},[d]);let u=W(a,l,[e.value,e.children,l],e.keywords),m=r.useContext(M),f=U(e=>e.value&&e.value===u.current),h=U(e=>!!d||!1===s.filter()||!e.search||e.filtered.items.get(a)>0);function p(){var e,t;v(),null==(t=(e=c.current).onSelect)||t.call(e,u.current)}function v(){m.setState("value",u.current,!0)}if(r.useEffect(()=>{let t=l.current;if(!(!t||e.disabled))return t.addEventListener(R,p),()=>t.removeEventListener(R,p)},[h,e.onSelect,e.disabled]),!h)return null;let{disabled:g,value:b,onSelect:w,forceMount:y,keywords:k,...S}=e;return r.createElement(x.div,{ref:(0,C.composeRefs)(l,t),...S,id:a,"cmdk-item":"",role:"option","aria-disabled":!!g,"aria-selected":!!f,"data-disabled":!!g,"data-selected":!!f,onPointerMove:g||s.getDisablePointerSelection()?void 0:v,onClick:g?void 0:p},e.children)}),L=r.forwardRef((e,t)=>{let{heading:n,children:i,forceMount:a,...l}=e,o=j(),s=r.useRef(null),c=r.useRef(null),d=j(),u=r.useContext(A),m=U(e=>!!a||!1===u.filter()||!e.search||e.filtered.groups.has(o));V(()=>u.group(o),[]),W(o,s,[e.value,e.heading,c]);let f=r.useMemo(()=>({id:o,forceMount:a}),[a]);return r.createElement(x.div,{ref:(0,C.composeRefs)(s,t),...l,"cmdk-group":"",role:"presentation",hidden:!m||void 0},n&&r.createElement("div",{ref:c,"cmdk-group-heading":"","aria-hidden":!0,id:d},n),G(e,e=>r.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?d:void 0},r.createElement(z.Provider,{value:f},e))))}),T=r.forwardRef((e,t)=>{let{alwaysRender:n,...i}=e,a=r.useRef(null),l=U(e=>!e.search);return n||l?r.createElement(x.div,{ref:(0,C.composeRefs)(a,t),...i,"cmdk-separator":"",role:"separator"}):null}),B=r.forwardRef((e,t)=>{let{onValueChange:n,...i}=e,a=null!=e.value,l=r.useContext(M),o=U(e=>e.search),s=U(e=>e.selectedItemId),c=r.useContext(A);return r.useEffect(()=>{null!=e.value&&l.setState("search",e.value)},[e.value]),r.createElement(x.input,{ref:t,...i,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":c.listId,"aria-labelledby":c.labelId,"aria-activedescendant":s,id:c.inputId,type:"text",value:a?e.value:o,onChange:e=>{a||l.setState("search",e.target.value),null==n||n(e.target.value)}})}),_=r.forwardRef((e,t)=>{let{children:n,label:i="Suggestions",...a}=e,l=r.useRef(null),o=r.useRef(null),s=U(e=>e.selectedItemId),c=r.useContext(A);return r.useEffect(()=>{if(o.current&&l.current){let e=o.current,t=l.current,r,n=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{let r=e.offsetHeight;t.style.setProperty("--cmdk-list-height",r.toFixed(1)+"px")})});return n.observe(e),()=>{cancelAnimationFrame(r),n.unobserve(e)}}},[]),r.createElement(x.div,{ref:(0,C.composeRefs)(l,t),...a,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":s,"aria-label":i,id:c.listId},G(e,e=>r.createElement("div",{ref:(0,C.composeRefs)(o,c.listInnerRef),"cmdk-list-sizer":""},e)))}),O=r.forwardRef((e,t)=>{let{open:n,onOpenChange:i,overlayClassName:a,contentClassName:l,container:o,...s}=e;return r.createElement(v.Root,{open:n,onOpenChange:i},r.createElement(v.Portal,{container:o},r.createElement(v.Overlay,{"cmdk-overlay":"",className:a}),r.createElement(v.Content,{"aria-label":e.label,"cmdk-dialog":"",className:l},r.createElement(D,{ref:t,...s}))))}),H=Object.assign(D,{List:_,Item:P,Input:B,Group:L,Separator:T,Dialog:O,Empty:r.forwardRef((e,t)=>U(e=>0===e.filtered.count)?r.createElement(x.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:r.forwardRef((e,t)=>{let{progress:n,children:i,label:a="Loading...",...l}=e;return r.createElement(x.div,{ref:t,...l,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},G(e,e=>r.createElement("div",{"aria-hidden":!0},e)))})});function F(e){let t=r.useRef(e);return V(()=>{t.current=e}),t}var V="u"e(t.snapshot());return r.useSyncExternalStore(t.subscribe,n,n)}function W(e,t,n,i=[]){let a=r.useRef(),l=r.useContext(A);return V(()=>{var r;let o=(()=>{var e;for(let t of n){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():a.current}})(),s=i.map(e=>e.trim());l.value(e,o,s),null==(r=t.current)||r.setAttribute(N,o),a.current=o}),a}var K=()=>{let[e,t]=r.useState(),n=q(()=>new Map);return V(()=>{n.current.forEach(e=>e()),n.current=new Map},[e]),(e,r)=>{n.current.set(e,r),t({})}};function G({asChild:e,children:t},n){let i;return e&&r.isValidElement(t)?r.cloneElement("function"==typeof(i=t.type)?i(t.props):"render"in i?i.render(t.props):t,{ref:t.ref},n(t.props.children)):n(t)}var Z={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};let Q=(0,e.i(514514).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);var X=e.i(632137);function Y({className:e,...r}){return(0,t.jsx)(H,{"data-slot":"command",className:(0,X.cn)("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",e),...r})}function J({className:e,...r}){return(0,t.jsxs)("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[(0,t.jsx)(Q,{className:"size-4 shrink-0 opacity-50"}),(0,t.jsx)(H.Input,{"data-slot":"command-input",className:(0,X.cn)("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...r})]})}function ee({className:e,...r}){return(0,t.jsx)(H.List,{"data-slot":"command-list",className:(0,X.cn)("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",e),...r})}function et({className:e,...r}){return(0,t.jsx)(H.Group,{"data-slot":"command-group",className:(0,X.cn)("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),...r})}function er({className:e,...r}){return(0,t.jsx)(H.Item,{"data-slot":"command-item",className:(0,X.cn)("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r})}e.i(367810);var en=e.i(809058);e.s(["LocationInput",0,function({location:e,onChangeLocation:u,label:m="Search for a location",placeholder:f="Search city or zip code",className:h,error:p,disabled:v=!1}){let g=(0,n.useParams)(),x=g?.locale,[b,w]=(0,r.useState)(!1),[y,j]=(0,r.useState)(""),C=(0,s.default)(y.trim(),300),k=e?`${e.city}, ${e.adminDistrictCode||e.adminDistrict||e.displayContext}`:null,{isLoading:S,data:E}=(0,i.default)(C?["location-search",C,x]:null,([,e,t])=>(0,o.getLocationsByQuery)(e,t));return(0,t.jsxs)("div",{className:"w-full min-w-0",children:[(0,t.jsxs)(en.Popover,{open:b,onOpenChange:w,children:[(0,t.jsx)(en.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(d.Button,{variant:"outline",role:"combobox",disabled:v,"aria-expanded":b,"aria-invalid":!!p,className:(0,X.cn)("flex w-full justify-start gap-2 bg-white px-3 text-left font-normal text-gray-900",h,!!e&&"border-black",p&&"border-alert-severe"),children:[S?(0,t.jsx)(l.LoaderCircle,{className:"size-4 shrink-0 animate-spin","aria-hidden":"true",title:""}):(0,t.jsx)(a.Location,{className:"size-4 shrink-0","aria-hidden":"true",title:""}),(0,t.jsx)("span",{className:"flex-1 truncate",children:k??m})]})}),(0,t.jsx)(en.PopoverContent,{side:"bottom",align:"start",collisionPadding:8,className:"w-(--radix-popover-trigger-width) p-0",showArrow:!1,children:(0,t.jsxs)(Y,{shouldFilter:!1,children:[(0,t.jsx)(J,{placeholder:f,value:y,onValueChange:j}),(0,t.jsx)(ee,{className:"max-h-[min(200px,46vh)] min-h-10",children:(0,t.jsx)(et,{children:E?.map(e=>(0,t.jsx)(er,{value:e.locId,onSelect:()=>{u(e),w(!1)},children:e.address},e.locId))})})]})})]}),p&&(0,t.jsx)(c.Text,{variant:"Caption.S",color:"error",className:"mt-1",children:p})]})}],546334)},279887,e=>{"use strict";var t=e.i(947118),r=e.i(737801),n=e.i(592121);e.s(["useTrackEmailSubscription",0,()=>{let e="alert-subscription-changed",i=(0,t.useIsInitialized)(),a=(0,r.useEventAttributes)();return(0,n.useCallback)(({name:t,status:r})=>{let n={...a,name:t,status:r?"enabled":"disabled"};if(!i)return void console.warn("MParticle is not initialized");try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,n),console.debug(`MParticle: Event "${e}" tracked`,n)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[a,i])}])},695478,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.findSubscriptionGroup=void 0,r.getMorningBriefAttrs=function(e){return{location:e.placeId,latitude:e.latitude,longitude:e.longitude,dmaCode:e.dmaCd||null,adminDistrict:e.adminDistrict,adminDistrictCode:e.adminDistrictCode||null,postalCode:e.postalCode}},r.findSubscriptionGroup=(e,t,r)=>e&&Array.isArray(e)?e.find(e=>e.subscriptionGroupName===t)||r||null:r||null},979538,e=>{"use strict";let t=(0,e.i(695881).createLogger)("OpenWebSdkClient"),r=new class{baseUrl;constructor(){this.baseUrl="https://upsx.weather.com"}async getAccount(e){let r=e?.maxRetries||3,n=e?.delayMs||500,i=null;for(let e=1;esetTimeout(e,r));continue}throw i}let s=await o.json();return t.info(`getAccount - Account found (attempt ${e}/${r}):`,s),s}catch(a){if(t.error(`getAccount - Error (attempt ${e}/${r}):`,a),a instanceof TypeError&&a.message.includes("fetch"))return t.error(`getAccount - Network error, treating as no account (attempt ${e}/${r})`),null;if(i=a instanceof Error?a:Error(String(a)),esetTimeout(e,r));continue}throw i}if(i)throw i;return null}async getCodeB(e,r,n,i){let a=i?.maxRetries||2,l=i?.delayMs||500,o=null,s=e?e.split("?")[0]:"";if(!s)throw Error("Invalid codeA: codeA is required to complete the SSO process");for(let e=1;esetTimeout(e,r));continue}throw o}let m=await u.json();return t.info(`getCodeB - Success, codeB received (attempt ${e}/${a+1}):`,m.codeB?`codeB ${m.codeB}`:"missing"),m.codeB}catch(r){if(t.error(`getCodeB - Error (attempt ${e}/${a+1}):`,r),o=r instanceof Error?r:Error(String(r)),esetTimeout(e,r));continue}throw o}if(o)throw o;return""}};e.s(["openWebClient",0,r])},109339,470015,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...a},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor","aria-label":"The Weather Company - Home",viewBox:"0 0 432.96 399.36",ref:l,"aria-labelledby":r,"aria-describedby":i,...a,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"The Weather Channel"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{d:"M152.48 347.3c0 4.02 2.48 6.71 5.9 6.71 2.51 0 5.01-1.3 7.01-3.52l.21-11.03h-.62c-9.31 0-12.5 1.74-12.5 7.84M165.2 144c0-3.81-.4-5.81-1.61-7.72-1.3-1.99-3.2-3.01-5.9-3.01-5.12 0-8.04 4.02-8.04 11.13v.19h15.54V144zm7.82 109.49c0 4.01 2.52 6.72 5.94 6.72 2.5 0 5.01-1.32 7.01-3.52l.21-11.03h-.6c-9.34.01-12.56 1.73-12.56 7.83m-34.34-17.25c0-3.81-.41-5.8-1.6-7.7-1.32-2.02-3.22-3.03-5.94-3.03-5.11 0-8 4.03-8 11.14v.19h15.53v-.6zM316 319.32c-5.1 0-8.01 4.02-8.01 11.15v.19h15.54v-.59c0-3.82-.39-5.83-1.59-7.72-1.32-2.02-3.22-3.03-5.94-3.03"}),(0,t.jsx)("path",{d:"M372.65 228.54c-1.33-.7-2.41-1.01-3.91-1.01-3.02 0-5.74 1.4-8.21 4.3v36.3h-13.46v-34.3c0-6.9-.8-12.13-1.9-15.02l12.02-3.24c1.21 2.11 1.9 4.44 2.12 7.32 1.92-2.59 5.09-5.4 7.63-6.51 1.1-.49 2.9-.81 4.38-.81 2.02 0 2.92.2 5.03 1.11zM360.2 363.13c-5.73 0-10.32-2.69-11.94-7.03-1.01-2.59-1.21-4.18-1.21-11.5v-38.29c0-6.72-.19-10.82-.69-15.45l13.73-3.11c.5 2.81.71 6.14.71 13.33v40c0 8.82.1 10.02.88 11.42.5.89 1.62 1.39 2.72 1.39.5 0 .79 0 1.49-.18l2.3 8.02c-2.29.9-5.08 1.4-7.99 1.4m-22.42-116.48h-29.67v.44c0 7.91 3.91 12.41 10.83 12.41 4.61 0 8.92-1.71 13.03-5.11l5.21 8.04c-5.91 4.8-12.12 7.1-19.34 7.1-14.73 0-24.25-10.43-24.25-26.55 0-9.24 1.89-15.35 6.4-20.35 4.22-4.72 9.33-6.92 16.14-6.92 5.92 0 11.53 1.99 14.85 5.4 4.7 4.83 6.81 11.76 6.81 22.47v3.07zm-.32 93.83H307.8v.41c0 7.9 3.92 12.42 10.83 12.42 4.62 0 8.91-1.72 13.02-5.12l5.23 8.04c-5.92 4.8-12.13 7.1-19.35 7.1-14.74 0-24.26-10.43-24.26-26.55 0-9.23 1.9-15.35 6.4-20.35 4.22-4.73 9.33-6.92 16.14-6.92 5.9 0 11.53 2.01 14.84 5.42 4.71 4.8 6.81 11.73 6.81 22.43zm-50.78-72.34h-13.13v-34.5c0-5.09-1.4-7.01-5.21-7.01-3.31 0-7.63 2.01-10.62 4.73v36.78h-13.63v-59.35c0-4.82-.4-9.61-1-11.73l13.73-3.21c.59 2.81.9 7.61.9 12.52v10.22c0 1.61-.2 3.72-.2 4.32 3.51-3.31 9.31-5.52 14.54-5.52 6.51 0 11.72 2.81 13.33 7.31.99 2.94 1.3 4.63 1.3 9.54v35.9zm-2.73 93.8h-13.23v-33.38c0-5.81-1.01-7.52-4.51-7.52-2.7 0-6.22 1.82-9.31 4.62v36.28h-13.45v-37.19c0-4.41-.6-8.61-1.79-12.04l11.95-3.4c1.18 2.1 1.88 4.31 1.88 6.41 2.01-1.38 3.72-2.6 5.91-3.81 2.73-1.39 6.23-2.19 9.22-2.19 5.71 0 10.73 2.99 12.32 7.42.74 1.9 1.02 4.11 1.02 7.31v37.49zm-57.3-92.61c-6.81 0-12.23-2.99-13.83-7.52-.8-2.23-.9-3.23-.9-7.92v-27.88h-5.11v-9.21h5.11c0-5 0-8.34.5-12.13l13.64-3.4c-.5 4.69-.8 10.32-.8 15.54h12.04l-3.42 9.21h-8.61v25.78c0 6.51 1.19 8.22 5.81 8.22 1.2 0 2.41-.32 4.81-1.01l1.7 8.01c-3.94 1.61-7.43 2.31-10.94 2.31m4.99 92.61H218.4v-33.38c0-5.81-1.01-7.52-4.51-7.52-2.7 0-6.19 1.82-9.32 4.62v36.28h-13.44v-37.19c0-4.41-.58-8.61-1.77-12.04l11.92-3.4c1.2 2.1 1.91 4.31 1.91 6.41 1.99-1.38 3.69-2.6 5.9-3.81 2.7-1.39 6.21-2.19 9.21-2.19 5.72 0 10.74 2.99 12.33 7.42.71 1.9 1.02 4.11 1.02 7.31v37.49zm-55.28-91.9c-11.45 0-17.65-5.83-17.65-16.06 0-12.03 8.31-17.63 24.63-17.63 1.01 0 1.92 0 3.01.09v-2.11c0-5.69-1.09-7.61-6-7.61-4.3 0-9.32 2.13-14.83 5.85l-5.72-9.65c2.72-1.71 4.71-2.71 8.34-4.19 5-2.12 9.32-3.01 14.02-3.01 8.61 0 14.54 3.21 16.55 8.91.69 2.1.99 3.7.89 9.22l-.29 17.26v.9c0 5.5.89 7.58 4.8 10.51l-7.11 8.22c-3.11-1.31-5.92-3.59-7.22-6.22-1 .98-2.11 2.01-3.11 2.71-2.51 1.8-6.11 2.81-10.31 2.81m.06 94.51c-3.1-1.31-5.92-3.61-7.21-6.23-1.01 1.02-2.11 2.01-3.11 2.72-2.51 1.81-6.11 2.8-10.33 2.8-11.43 0-17.65-5.82-17.65-16.02 0-12.04 8.33-17.67 24.67-17.67 1 0 1.91 0 3.01.1v-2.08c0-5.74-1.1-7.63-6.03-7.63-4.32 0-9.34 2.11-14.83 5.82l-5.73-9.64c2.72-1.7 4.73-2.69 8.34-4.19 5.02-2.12 9.32-3.01 14.05-3.01 8.59 0 14.52 3.19 16.51 8.93.72 2.1 1.03 3.72.92 9.21l-.29 17.26v.89c0 5.52.9 7.6 4.82 10.52zM108.4 242.98c0-9.24 1.9-15.35 6.41-20.35 4.22-4.72 9.33-6.92 16.15-6.92 5.91 0 11.54 1.99 14.84 5.4 4.72 4.83 6.83 11.76 6.83 22.47v3.08h-29.68v.44c0 7.91 3.92 12.41 10.82 12.41 4.62 0 8.91-1.71 13.03-5.11l5.22 8.04c-5.92 4.8-12.14 7.1-19.36 7.1-14.73-.01-24.26-10.44-24.26-26.56m20.64 118.96H115.9v-34.5c0-5.1-1.4-7-5.2-7-3.31 0-7.63 1.99-10.63 4.71v36.79H86.44V302.6c0-4.83-.41-9.62-1.01-11.74l13.75-3.2c.58 2.82.89 7.62.89 12.56v10.19c0 1.6-.2 3.72-.2 4.33 3.5-3.32 9.32-5.53 14.53-5.53 6.52 0 11.71 2.81 13.32 7.33 1.01 2.92 1.32 4.61 1.32 9.54zm-69.54 1.19c-9.63 0-17.05-3.09-22.76-9.61-5.62-6.31-8.43-14.73-8.43-24.96 0-8.72 1.52-15.64 4.7-21.65 5.44-10.12 15.46-16.14 26.69-16.14 6.91 0 13.82 2.21 17.64 5.52l-6.32 9.51c-3.51-2.6-7.22-3.9-11.12-3.9-4.72 0-9.33 2.29-11.83 6.01-2.7 4-3.91 9.83-3.91 17.94 0 9.52.79 14.83 2.89 18.65 2.81 5.12 7.42 7.81 13.44 7.81 4.1 0 7.82-1.19 11.93-4.49l6.42 8.81c-5.52 4.49-11.41 6.5-19.34 6.5M40.56 198.45l6 27.48c2.81 13.04 3.72 22.95 3.72 22.95.29-2.7 1.5-12.64 3.59-22.25l6.21-28.18h15.35l6.44 31.19c1.3 6.51 3 18.45 3 18.45.19-2.22 2.39-16.36 3.8-23.18l5.72-26.47h14.73l-16.83 70.27H76.94l-6.23-28.36c-2.1-9.32-3.11-18.34-3.29-20.24 0 0-1.2 9.82-3.34 20.05l-5.8 28.55H42.36l-16.65-70.27h14.85zm-14.34-92.24h50.22l-2.3 11.64H57.5v58.04H43.25v-58.04H26.22zm69.95-4.61c.59 2.81.9 7.62.9 12.53v10.23c0 1.58-.21 3.71-.21 4.31 3.51-3.31 9.32-5.53 14.53-5.53 6.52 0 11.73 2.8 13.35 7.32 1 2.9 1.3 4.61 1.3 9.53v35.89H112.9V141.4c0-5.11-1.4-7.01-5.23-7.01-3.31 0-7.61 1.99-10.61 4.71v36.79H83.44v-59.35c0-4.82-.41-9.61-1.02-11.73zm45.17 28.78c4.21-4.72 9.32-6.94 16.14-6.94 5.9 0 11.52 2.03 14.84 5.44 4.71 4.82 6.81 11.71 6.81 22.45v3.11h-29.66v.41c0 7.92 3.9 12.42 10.81 12.42 4.6 0 8.92-1.69 13.03-5.12l5.23 8.04c-5.93 4.79-12.15 7.1-19.35 7.1-14.75 0-24.27-10.43-24.27-26.54.01-9.26 1.9-15.37 6.42-20.37M.82.04v399.28h399.26V.04z"}),(0,t.jsx)("path",{d:"M316.33 225.51c-5.11 0-8.03 4.03-8.03 11.14v.19h15.55v-.6c0-3.81-.41-5.8-1.61-7.7-1.3-2.02-3.21-3.03-5.91-3.03m101.57-211h2.16c1.87 0 3.69-.1 3.69-2.32 0-1.91-1.65-2.13-3.08-2.13h-2.77zm-2.09-6.16h5.21c3.27 0 4.83 1.3 4.83 3.94 0 2.51-1.59 3.56-3.65 3.78l3.97 6.1h-2.25l-3.75-5.94h-2.26v5.94h-2.09V8.35zm4.51 17.03c5.4 0 9.72-4.38 9.72-10.11 0-5.72-4.32-10.11-9.72-10.11-5.43 0-9.72 4.39-9.72 10.11 0 5.73 4.28 10.11 9.72 10.11m0-21.93c6.42 0 11.82 5.08 11.82 11.82s-5.4 11.82-11.82 11.82c-6.45 0-11.82-5.08-11.82-11.82 0-6.73 5.37-11.82 11.82-11.82"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));a.displayName="TWC",e.s(["SignInModal",0,function({isOpen:e,onClose:r}){return e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-[60] bg-black/50"}),(0,t.jsx)("div",{className:"fixed inset-0 z-[70] flex items-center justify-center p-4",children:(0,t.jsxs)("div",{className:"relative w-full max-w-sm rounded-lg bg-white p-6 pt-7 shadow-lg",children:[(0,t.jsx)("button",{onClick:r,className:"absolute top-2 right-2 flex h-6 w-6 items-center justify-center rounded-full text-xl text-gray-400 hover:bg-gray-100 hover:text-gray-600","aria-label":"Close banner",children:"×"}),(0,t.jsx)("div",{className:"mt-4 mb-4 flex justify-center",children:(0,t.jsx)(a,{className:"h-10 w-auto text-blue-600"})}),(0,t.jsx)("h3",{className:"mb-4 text-center text-lg font-medium text-gray-900",children:"Sign in to join the conversation"}),(0,t.jsx)("button",{onClick:()=>{window.location.href="/login"},className:"w-full rounded-md bg-gray-900 px-4 py-2 text-sm font-medium text-white hover:bg-gray-800",children:"Sign in"})]})})]}):null}],109339);var l=e.i(877957),o=e.i(935331);e.s(["DisplayNameModal",0,function({isOpen:e,onClose:r,displayName:n,onDisplayNameChange:i,onSubmit:s,isSubmitting:c,error:d}){return e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-[60] bg-black/50"}),(0,t.jsx)("div",{className:"fixed inset-0 z-[70] flex items-center justify-center p-4",children:(0,t.jsxs)("div",{className:"relative w-full max-w-sm rounded-lg bg-white p-6 shadow-xl",children:[(0,t.jsx)("button",{onClick:r,className:"absolute top-2 right-2 flex h-6 w-6 items-center justify-center rounded-full text-xl text-gray-400 hover:bg-gray-100 hover:text-gray-600","aria-label":"Close dialog",children:"×"}),(0,t.jsx)("div",{className:"mt-4 mb-4 flex justify-center",children:(0,t.jsx)(a,{className:"h-10 w-auto text-blue-600"})}),(0,t.jsx)("h2",{className:"mb-2 text-center text-xl font-semibold text-gray-900",children:"Create a display name"}),(0,t.jsx)("p",{className:"mb-6 text-left text-sm text-gray-600",children:"Your display name is the name others will see when you comment."}),(0,t.jsxs)("form",{onSubmit:s,className:"space-y-4",children:[d&&(0,t.jsx)("div",{className:"rounded-md bg-red-50 p-3 text-sm text-red-700",children:d}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("label",{htmlFor:"displayName",className:"block text-sm font-medium text-gray-700",children:"Display Name"}),(0,t.jsx)(o.Input,{id:"displayName",type:"text",value:n,onChange:e=>i(e.target.value),placeholder:"Enter your display name",required:!0,minLength:3,maxLength:30,className:"w-full"})]}),(0,t.jsx)(l.Button,{type:"submit",disabled:c||!n.trim(),className:"w-full bg-gray-900 text-white",size:"default",children:c?"Creating...":"Create"})]}),(0,t.jsxs)("p",{className:"mt-4 text-left text-xs text-gray-500",children:["Your email address is shared with OpenWeb, the commenting platform. By creating a display name, you agree to the OpenWeb"," ",(0,t.jsx)("a",{href:"https://www.openweb.com/legal-and-privacy/privacy/",target:"_blank",rel:"noopener noreferrer",className:"text-blue-500 underline hover:text-blue-600",children:"Privacy Policy"})," ","and"," ",(0,t.jsx)("a",{href:"https://www.openweb.com/legal-and-privacy/terms-of-use/",target:"_blank",rel:"noopener noreferrer",className:"text-blue-500 underline hover:text-blue-600",children:"Terms of Use"}),"."]})]})})]}):null}],470015)},790010,e=>{"use strict";var t=e.i(245943),r=e.i(45846),n=e.i(143851);e.s(["useUserSignup",0,function(){let{authSuccess:e,authRedirect:i}=(0,n.useUserLogin)();return{signup:async(n,i=!0)=>{try{let t=await (n.password?r.upsxClient.auth.register({email:n.email,password:n.password,firstName:n.firstName}):r.upsxClient.auth.registerPasswordless({email:n.email,firstName:n.firstName}));return await e({email:t.email,userID:t.userID,type:"signup"},i),{success:!0,data:{email:t.email,userID:t.userID}}}catch(e){if(console.error("Failed to signup",e),e instanceof t.APIError){let t=e.data;return{success:!1,error:{code:e.code,...t}}}return{success:!1,error:{}}}},authRedirect:i}}])},558802,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...a},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":i,...a,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Locked"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 7h-1V4a3 3 0 0 0-6 0v3H4a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1M6 4a2 2 0 1 1 4 0v3H6zm6 10H4V8h8z"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));a.displayName="Locked",e.s(["Locked",0,a])},245308,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...a},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":i,...a,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"View"}):e?(0,t.jsx)("title",{id:r,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"})]})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));a.displayName="View",e.s(["View",0,a])},873598,e=>{"use strict";e.s(["getCompatibleTimezone",0,e=>{try{return new Intl.DateTimeFormat("en-US",{timeZone:e}),e}catch{return"Etc/UTC"}}])},506424,796424,e=>{"use strict";function t(e){if(!e)return"";let t=("number"==typeof e?new Date(e).toISOString():e instanceof Date?e.toISOString():e.replace(/GMT(?![+-])/,"GMT+0000")).replace(/\.\d+/,"").replace("Z","+0000").replace(/\s+/,"T").replace(/\s+/g,"").replace(/[A-Z]{3,}/,""),r=/([+-])(\d{2})(\d{2})$/;r.test(t)&&(t=t.replace(r,"$1$2:$3"));let n=t.replace(/(\d{4})-(\d{2})-(\d{2})/,"$1/$2/$3").replace("T"," ");return"Invalid Date"===new Date(n).toString()?"Invalid Date"!==new Date(t).toString()?t:"string"==typeof e?e:"":n}e.s(["getNormalizedDateString",0,t],796424);var r=e.i(873598);e.s(["getCompatibleValues",0,({date:e,timeZone:n})=>({cDate:new Date(t(e)),cTimeZone:(0,r.getCompatibleTimezone)(n)})],506424)},289607,e=>{"use strict";var t=e.i(506424);let r=(e,r,n,i)=>{let{cDate:a,cTimeZone:l}=(0,t.getCompatibleValues)({date:e,locale:r,timeZone:n}),o=i??{year:"numeric",month:"2-digit",day:"2-digit",weekday:"short"};return o.timeZone=l,{cDate:a,cTimeZone:l,formatOptions:o}};e.s(["formatIntlDateParts",0,(e,t,n,i)=>{if(!e)return[];let{cDate:a,formatOptions:l}=r(e,t,n,i);return new Intl.DateTimeFormat(t,l).formatToParts(a)},"formatIntlDateString",0,(e,t,n,i)=>{if(!e)return"";let{cDate:a,formatOptions:l}=r(e,t,n,i);return new Intl.DateTimeFormat(t,l).format(a)}])},127667,e=>{"use strict";let t=(0,e.i(514514).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],127667)},645968,e=>{"use strict";var t=e.i(592121),r=e.i(742436);function n(e,n){let i=(0,r.useExperimentContext)(),a=(0,t.useRef)(null);return((0,t.useEffect)(()=>{i?.client&&a.current!==e&&(i.exposure(e),a.current=e)},[i,e]),i)?i.variant(e,n):n}e.s(["default",0,n,"useExperiment",0,n])},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",0,t],482317)},16838,e=>{"use strict";var t=e.i(699173),r=e.i(752496);e.s(["DebugCollector",0,function({enabled:e=!0,...n}){return e?(0,t.jsx)(r.DebugCollectorClient,{...n}):null}])}]);