(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,763886,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["partnerAtom",0,t])},394481,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["privacyRegimeAtom",0,t])},485737,e=>{"use strict";var t=e.i(981030),o=e.i(897892);let r=(0,o.getCookie)("twc-location-geocode")?.toString()||null,a=(0,t.atom)(r),i=(0,o.getCookie)("twc-location-country")?.toString()||null,n=(0,t.atom)(i),s=(0,o.getCookie)("twc-location-region")?.toString()||null,c=(0,t.atom)(s),l=(0,o.getCookie)("twc-location-city")?.toString()||null,u=(0,t.atom)(l);e.s(["geoipCity",0,u,"geoipCountry",0,n,"geoipGeocode",0,a,"geoipRegion",0,c])},304158,e=>{"use strict";e.i(485737),e.s([])},739971,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["subscriptionsEnabledAtom",0,t])},295553,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["pageLocationDataAtom",0,t])},439766,e=>{"use strict";var t=e.i(981030),o=e.i(284007);let r=(0,t.atom)(void 0),a=(0,o.atomWithStorage)("wxu-web/keyval:activeLocation",null,void 0,{getOnInit:!0}),i=(0,t.atom)(e=>{var t;let o=e(a);return(t=e(r)??Date.now(),o&&Number.isFinite(o.expiresAt)&&!(o.expiresAt{var i;null===o?t(a,null):t(a,(i=e(r)??Date.now(),{placeId:o.placeId,geocode:o.geocode,...o.featureId?{featureId:o.featureId}:{},expiresAt:i+216e5}))});e.s(["activeLocationAtom",0,i])},726249,(e,t,o)=>{"use strict";function r(e){if(!e||!e.includes(","))return e;let t=e.split(",");if(2!==t.length)return e;let o=parseFloat(t[0]||""),r=parseFloat(t[1]||"");return Number.isNaN(o)||Number.isNaN(r)?e:`${o.toFixed(2)},${r.toFixed(2)}`}Object.defineProperty(o,"__esModule",{value:!0}),o.formatGeocode=r,o.pointKey=function(e,t){let o="geocode"===e.kind?r(e.value):e.value;return["location-point",e.kind,o,t]},o.locationDedupKey=function(e){return e.featureId?`f:${e.featureId}`:e.placeId?`p:${e.placeId}`:e.geocode?`g:${r(e.geocode)}`:""}},527091,e=>{"use strict";e.s(["sanitizeIanaTimeZone",0,function(e){if(!e)return"";try{return new Intl.DateTimeFormat("en-US",{timeZone:e}),e}catch{return""}}])},325974,e=>{"use strict";var t=e.i(206507),o=e.i(381477),r=e.i(184154),a=e.i(726249),i=e.i(527091);e.s(["useResolveCanonical",0,function(e,n){let s=(0,r.useParams)(),c=s?.locale||"en-US",l=e?.featureId,u=e?.placeId,d=e?.geocode,m=n?.sourceGeocode,g=l?.startsWith("address.")?void 0:l,{data:p,error:f,isLoading:h,isValidating:v}=(0,o.default)(g||u||d?["canonical",g??"",u??"",d??"",c]:null,async()=>{let e=g?`featureId=${encodeURIComponent(g)}`:u?`placeId=${encodeURIComponent(u)}`:`geocode=${encodeURIComponent(d??"")}`,t=await fetch(`/api/location/canonical?${e}&language=${encodeURIComponent(c)}`);if(!t.ok)throw Error(`canonical location lookup failed: ${t.status}`);return t.json()},{revalidateOnFocus:!1,dedupingInterval:3e5}),S=c.split("-")[1]??"US";return(0,t.useMemo)(()=>{if(!p)return{location:void 0,isLoading:h,isValidating:v,error:f};let e=function(e,t){let[o,r]=e.locationPoint?.coordinates??[],a=null!=r&&null!=o?`${r},${o}`:"";return{displayName:e.displayName,adminDistrict:e.adminDistrict||"",geocode:a,placeId:e.placeId||"",featureId:e.featureId,canonicalID:e.canonicalID,city:e.city,countryCode:e.countryCode,adminDistrictCode:e.adminDistrictCode||"",presentationName:function(e,t,o="US"){let{country:r,countryCode:a}=t;if(!e||!r||o!==a)return e;let i=`, ${r}`;return e.endsWith(i)?e.slice(0,-i.length):e}(e.presentationName??"",e,t),name:e.displayName||void 0,context:"",ianaTimeZone:(0,i.sanitizeIanaTimeZone)(e.ianaTimeZone),postalCode:e.postalCode??void 0,type:e.locationType,dmaCd:e.dmaCd||"",address:e.address,isDisputedLocation:e.isDisputedLocation??!1}}(p,S);return{location:m?{...e,geocode:(0,a.formatGeocode)(m)}:e,isLoading:h,isValidating:v,error:f}},[p,h,v,f,S,m])}],325974)},767685,e=>{"use strict";e.s(["honorRecentLocationName",0,(e,t)=>{if(!t||!e.placeId&&!e.featureId||"address"!==e.type)return e;let o=(e.placeId?t[e.placeId]:void 0)??Object.values(t).find(t=>t.featureId===e.featureId);return o?.name?{...e,displayName:o.name,name:o.name,presentationName:o.presentationName||e.presentationName,address:o.address||e.address}:e}])},150137,788414,88349,e=>{"use strict";var t=e.i(981030),o=e.i(726249),r=e.i(695881),a=e.i(284007);let i="wxu-web/key-val:html5Geolocation";e.s(["GEOLOCATION_CACHE_KEY",0,i,"GEOLOCATION_CACHE_TTL_MS",0,36e5,"isGeolocationPermissionDenied",0,function(){let e=function(){try{if("u"navigator.geolocation.getCurrentPosition(e=>{let{latitude:o,longitude:r}=e.coords;sessionStorage.setItem(i,JSON.stringify({latitude:o,longitude:r,permissionDenied:!1,timestamp:Date.now()})),t({latitude:o,longitude:r})},e=>{e.code===e.PERMISSION_DENIED&&sessionStorage.setItem(i,JSON.stringify({permissionDenied:!0,timestamp:Date.now()})),o(e)},{enableHighAccuracy:!0,timeout:e,maximumAge:0}))}catch(e){n.error("getGeolocationAPIGeocode error: ",e)}}e.s(["getGeolocationAPIGeocode",0,s],88349);var c=e.i(333350);let l=(0,r.createLogger)("geolocationApi"),u=(0,t.atom)(async()=>{if(c.default&&navigator.permissions)try{return(await navigator.permissions.query({name:"geolocation"})).state}catch(e){l.error(e)}}),d=(0,t.atom)(async()=>{if(!c.default)return;let e=await s();if(e?.latitude&&e?.longitude)return(0,o.formatGeocode)(`${e?.latitude},${e?.longitude}`)}),m=(0,t.atom)(void 0),g=(0,t.atom)(e=>{let t=e((0,a.loadable)(d));return"hasData"===t.state?t.data:void 0}),p=(0,t.atom)(e=>"loading"===e((0,a.loadable)(d)).state);e.s(["geolocationAPIGeocodeAtom",0,g,"geolocationAPIPermissionStateAsyncAtom",0,u,"isGeolocationAPIGeocodeLoadingAtom",0,p,"undefinedAtom",0,m],150137)},65816,e=>{"use strict";var t=e.i(546446),o=e.i(284007),r=e.i(150137);let a=(0,o.loadable)(r.geolocationAPIPermissionStateAsyncAtom);e.s(["useHtml5Geocode",0,function(){let e=(0,t.useAtomValue)(a),o="hasData"===e.state&&"granted"===e.data;return(0,t.useAtomValue)(o?r.geolocationAPIGeocodeAtom:r.undefinedAtom)??void 0}])},380241,e=>{"use strict";var t=e.i(155252),o=e.i(206507),r=e.i(546446),a=e.i(295553),i=e.i(310847),n=e.i(439766),s=e.i(325974),c=e.i(767685),l=e.i(65816);e.i(304158);var u=e.i(485737);let d=(0,o.createContext)(null);e.s(["LocationSourcesProvider",0,({children:e})=>{let m,g,p,f,h,v,S=(m=(0,r.useAtomValue)(a.pageLocationDataAtom),(0,o.useMemo)(()=>({location:m??void 0,isLoading:!1}),[m])),A=(g=(0,r.useAtomValue)(n.activeLocationAtom),p=(0,r.useAtomValue)(i.wxuUserRecentLocationsDataAtom),f=(0,s.useResolveCanonical)(g?{featureId:g.featureId,placeId:g.placeId,geocode:g.geocode}:null),(0,o.useMemo)(()=>f.location?{...f,location:(0,c.honorRecentLocationName)(f.location,p)}:f,[f,p])),w=(h=(0,l.useHtml5Geocode)(),(0,s.useResolveCanonical)(h?{geocode:h}:null,{sourceGeocode:h??void 0})),I=(v=(0,r.useAtomValue)(u.geoipGeocode),(0,s.useResolveCanonical)(v?{geocode:v}:null,{sourceGeocode:v??void 0})),y=(0,o.useMemo)(()=>({page:S,active:A,html5:w,geoip:I}),[S,A,w,I]);return(0,t.jsx)(d.Provider,{value:y,children:e})},"useSourceResults",0,function(){let e=(0,o.useContext)(d);if(!e)throw Error("useSourceResults must be used within a ");return e}],380241)},64412,e=>{"use strict";var t=e.i(206507),o=e.i(380241),r=e.i(325974);let a=["page","active","html5","geoip"];e.s(["useLocation",0,function(e="default",i=""){var n;let s=(0,o.useSourceResults)(),c=(n="specified"===e?i:null,(0,r.useResolveCanonical)(n?{geocode:n}:null,{sourceGeocode:n??void 0})),l=(0,t.useMemo)(()=>(function(e){switch(e){case"geolocation":return["html5","geoip"];case"specified":return["specified"];default:return a}})(e),[e]),u=(0,t.useMemo)(()=>({...s,specified:c}),[s,c]),d=(0,t.useMemo)(()=>(function(e,t){let o;for(let r of e){let e=t[r];if(e){if(e.error){o=e.error;continue}if(e.location||e.isLoading)return e}}return{location:void 0,isLoading:!1,error:o}})(l,u),[l,u]);return{location:d.location,isLoading:!d.location&&d.isLoading,isValidating:!!d.location&&!!d.isValidating,error:d.error}}],64412)},521350,e=>{"use strict";var t=e.i(333350);e.s(["areCookiesEnabled",0,function(){if(t.default){document.cookie="cookietest=1; max-age=1";let e=document?.cookie?.indexOf?.("cookietest=")!==-1;return document.cookie="cookietest=1; max-age=0",e}return!1},"isLocalStorageAvailable",0,function(){if(t.default)try{return localStorage.setItem("__storage_test__","__storage_test__"),localStorage.removeItem("__storage_test__"),!0}catch(e){if(e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&localStorage&&0!==localStorage.length)return!0}return!1}])},358273,e=>{"use strict";var t=e.i(940496),o=e.i(521350),r=e.i(990033);let a="wxu-metrics-session",i="new-metrics-session",n="metric-session-last-active-time",s=()=>{let e=(0,t.getCookie)(a);if(!e)return null;let[o="",r="",i=""]=e.split(":"),n=parseInt(r,10);return{sessionId:o,sessionStartTime:n,pageCount:parseInt(i,10)}},c=e=>{let o=new Date().getTime(),i=e&&!u();d(o);let n=i?e:{},s=n.sessionId||(0,r.v4)(),c=n.sessionStartTime||o,l=n.pageCount||0,m=`${s}:${c}:${l}`;(0,t.setCookie)(a,decodeURIComponent(m),{domain:".weather.com",path:"/",maxAge:1800,secure:!0})},l=()=>{(0,o.isLocalStorageAvailable)()&&localStorage.setItem(i,"true")},u=(e=30)=>{try{let t=new Date().getTime(),o=m(),r=new Date(o).getTime(),a=new Date(t).getTime();if(Number.isNaN(r)||Number.isNaN(a))return console.error("Invalid timestamp"),!1;return Math.abs(r-a)>60*e*1e3}catch(e){return console.error("Error in isDifferenceMoreThanMinutes",e instanceof Error?e.message:String(e)),!1}},d=e=>{(0,o.isLocalStorageAvailable)()&&localStorage.setItem(n,e.toString())},m=()=>{if(!(0,o.isLocalStorageAvailable)())return"";let e=localStorage.getItem(n);return e?parseInt(e):""};e.s(["checkSessionTimestampExpired",0,u,"deleteIsNewMestricsSession",0,()=>{(0,o.isLocalStorageAvailable)()&&localStorage.removeItem(i)},"getMetricsSession",0,s,"incrementMetricsSessionCount",0,()=>{let e=s();e&&c({...e,pageCount:e?.pageCount+1})},"isNewMetricsSession",0,()=>{if((0,o.isLocalStorageAvailable)())return localStorage.getItem(i)},"regenerateMetricsSession",0,()=>{l(),c(null)},"setIsNewMestricsSession",0,l,"setMetricsSession",0,c])},947118,e=>{"use strict";var t=e.i(206507);let o=e=>(window.mParticle?.ready?.(e),()=>{}),r=()=>!!window.mParticle?.isInitialized?.(),a=()=>!1;e.s(["useIsInitialized",0,()=>(0,t.useSyncExternalStore)(o,r,a)])},959194,896363,e=>{"use strict";var t=e.i(333350),o=e.i(940496);let r=null,a=e=>{if(!e)return"";let t="[";return Array.isArray(e)&&e.forEach((o,r)=>{t+=`'${o}'${r!==e.length-1?",":""}`}),t+="]"};e.s(["parseArrayToString",0,a],896363);let i=()=>t.default?Object.fromEntries(new URLSearchParams(window.location.search.replace("+","%2B")).entries()):{};(function(){if(!t.default)return null;if(r)return r;let e=(0,o.getCookie)("ci")||"";return e?r=e.split("&").reduce((e,t)=>{let o=t.split("=");return o[0]&&"string"==typeof o[1]&&(e[o[0]]=o[1]),e},{}):null})()?.["TWC-GeoIP-DMA"],e.s(["WEEK_DAYS",0,["SUN","MON","TUE","WED","THU","FRI","SAT"],"areObjectValuesDefined",0,e=>Object.keys(e).every(t=>void 0!==e[t]),"getAnonymizedPath",0,function(e){var t;let o,r,a,i=(o=e,r=e?.indexOf?.("?"),a=e?.indexOf?.("#"),r>-1?o=o.substring(0,r):a>-1&&(o=o.substring(0,a)),o);if(t=i,"/index.html"===(i=t?.replace?.(/\/l\/[^/]+/gi,"/l"))||"/"===i||""===i)i="/";else{let e=i?.split("/")||[],t=e.length-1,o=e[t]??"";"news"!==(t>0?e[t-1]:"")&&(o.match(/[A-Z]/)||o.match(/[0-9]/)||o.match(/[@#$%&!*:]/)||""===o)&&e.pop(),i=e.join("/")}return i},"getCampaign",0,()=>{let e=i(),t=null,r=!0,a=[];return e.cm_ven&&a.push(e.cm_ven),e.cm_date&&a.push(e.cm_date),e.cm_cat&&a.push(e.cm_cat),e.cm_pla&&a.push(e.cm_pla),e.cm_ite&&a.push(e.cm_ite),a.length>0?t=a.join(":"):(t=(0,o.getCookie)("campaign-values")||null,r=!1),r&&t&&(0,o.setCookie)("campaign-values",t,{domain:".weather.com",path:"/",maxAge:1800}),t},"getLinkReferral",0,()=>i()?.traffic_source||null,"getPartner",0,()=>(0,o.getCookie)("twc-partner")||"","getTimezoneOffsetInHours",0,function(e,t=new Date){if(!e)throw Error("Invalid timeZone provided.");try{let o=t.getTime(),r=new Intl.DateTimeFormat("en-US",{timeZone:e,year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hourCycle:"h23"}).formatToParts(t).reduce((e,t)=>{if("literal"!==t.type){let o=parseInt(t.value,10);"hour"===t.type&&24===o&&(o=0),e[t.type]=o}return e},{});return(Date.UTC(r.year??0,(r.month??1)-1,r.day??1,r.hour??0,r.minute??0,r.second??0)-o)/36e5}catch(e){return e instanceof Error&&console.error(e.message),0}},"getTpcc",0,()=>{let e=i()?.tpcc||(0,o.getCookie)("tpcc")||null;return e&&(0,o.setCookie)("tpcc",e,{path:"/",domain:".weather.com",maxAge:1800}),e},"jwtDecoder",0,function(e){if(!e)return{};let t=e.split("."),o=(Array.isArray(t)&&t.length>=2&&t[1]||"").replace("-","+").replace("_","/");try{return JSON.parse(window.atob(o))||{}}catch{return{}}},"mapIabTagsToIabContent",0,e=>{let t=[];return e?.v1&&t.push(e.v1),e?.v2&&t.push(e.v2),e?.v3&&t.push(e.v3),a(t)},"stripLastPartOfSlug",0,(e="")=>{let t=e.split("/");return t?.[t.length-1]===""&&t.pop(),t.slice(0,t.length-1).join("/")}],959194)},737801,158662,673915,e=>{"use strict";e.i(571195);var t=e.i(546446),o=e.i(358273),r=e.i(521350),a=e.i(959194),i=e.i(537989),n=e.i(206507),s=e.i(827049),c=e.i(695203),l=e.i(981030);let u=(0,l.atom)(null);e.s(["experimentJoinListAtom",0,u],158662);let d=(0,l.atom)("");e.s(["fromStringAtom",0,d],673915);var m=e.i(333350),g=e.i(940496),p=e.i(184154),f=e.i(64412);e.s(["useEventAttributes",0,()=>{let e=(0,a.getCampaign)(),l=(0,a.getTpcc)(),h=(0,a.getPartner)(),v=(0,r.areCookiesEnabled)(),S=(0,g.getCookie)("twc-location-country"),A=(0,g.getCookie)("twc-location-region"),w=(0,o.getMetricsSession)(),I=w?.pageCount?w?.pageCount+1:1,y=w?.sessionId||"",C=w?.sessionStartTime||0,E=(0,t.useAtomValue)(u),_=(0,t.useAtomValue)(d),P=(0,t.useAtomValue)(i.pageIdAtom)||"",D=(0,t.useAtomValue)(s.pageLocaleAtom),b=(0,t.useAtomValue)(c.deviceClassAtom),T=(0,p.usePathname)(),k=["article","video"].includes(P)?(0,a.stripLastPartOfSlug)(T):(0,a.getAnonymizedPath)(T),R=(0,a.getLinkReferral)(),L="u">typeof document?document.referrer:null,{location:O}=(0,f.useLocation)(),N=O?.city??null,x=O?.adminDistrict??null,M=O?.adminDistrictCode??null,U=O?.dmaCd??null,G=new Date,$=G.getHours(),F=G.getDay(),V=a.WEEK_DAYS[F]||null,j=(0,g.getCookie)("twc-privacy"),K=m.default?window.DprSdk?.getCcpaSaleOptInString()??"":"",H=m.default?window.DprSdk?.getGdprConsentOptInsString()??"":"",z=!!m.default&&(window.navigator?.globalPrivacyControl??!1),q=H?.includes("functional-technology")??!1,J=H?.includes("geographically-relevant-advertising")??!1;return(0,n.useMemo)(()=>({campaign:e,tpcc:l,cookiesEnabled:v,physicalCountry:S??"",physicalState:A??"",pageId:P,partner:h,locale:D,deviceClass:b,url:k,linkReferral:R,referrer:L,pageCount:I,sessionId:y,sessionStartTime:C,schemaVersion:"nextgen",hourOfDay:$,dayOfWeek:V,wlocCity:N,wlocCountry:x,wlocState:M,wlocDMA:U,privProducts:K,priv:H,gpcSignalOptOut:z,functionalTechnologies:q,geographicallyRelevantAds:J,regime:j??"",appVersion:"ddcce28871536412bc382cac4f5963d1caa193f2".slice(0,10),weatherMode:"normal",mParticleGranted:function(){if(!m.default)return!1;let e=window.DprSdk;return!!e&&(e.getFeatureFlags?.()?.mParticleFullMetrics??!1)}(),...null!=E&&{experimentJoinList:E},fromString:_??""}),[e,l,v,S,A,P,h,D,k,R,L,I,y,C,$,V,N,x,M,U,H,K,z,q,J,j,E,_])}],737801)},725296,e=>{"use strict";var t,o=e.i(897892),r=((t={}).CA="ca",t.CA_QC="ca-qc",t.EXEMPT="exempt",t.GDPR="gdpr",t.JP="jp",t.KR="kr",t.LATAM_CO="latam-co",t.LATAM_DO="latam-do",t.LATAM_PE="latam-pe",t.LGPD="lgpd",t.PIPL="pipl",t.TR_KVKK="tr-kvkk",t.USA="usa",t.USA_CCPA="usa-ccpa",t.USA_CO="usa-co",t.USA_CT="usa-ct",t.USA_VA="usa-va",t.USA_UT="usa-ut",t);let a=Object.values(r);e.s(["PRIVACY_REGIMES",0,a,"RESTRICTIVE_REGIMES",0,["ca-qc","gdpr","latam-co","latam-do","latam-pe","lgpd","pipl","tr-kvkk"],"Regime",()=>r,"US_REGIMES",0,["usa","usa-ccpa","usa-co","usa-ct","usa-va"],"default",0,r,"getRegime",0,()=>(0,o.getCookie)("twc-privacy")||"exempt"])},776169,e=>{"use strict";var t=e.i(546446),o=e.i(889753),r=e.i(901351),a=e.i(310847),i=e.i(528600),n=e.i(617874),s=e.i(940496);e.s(["usePreferences",0,function(){let{user:{isUserLoggedIn:e}}=(0,i.useUser)(),[c,l]=(0,t.useAtom)(o.userPreferencesAtom),[u,d]=(0,t.useAtom)(a.wxuUserPreferenceAtom),m=async e=>{try{await r.upsxClient.preference.updatePreference(e)}catch(e){return console.error("Failed to sync preferences with server:",e),null}},g=async(t,o=!0)=>{try{let r,a=(r={...c,...t},l(r),d({...u,...t,locations:r.locations}),r);if(t?.unit){let e=(0,n.unitsSystemByName)(t.unit),o=e?.code||"e";(0,s.setCookie)(n.UNITS_COOKIE_KEY,o,{domain:"weather.com"})}return o&&e&&await m(a),{success:!0}}catch(e){return console.error("Failed to update preferences:",e),{success:!1,error:e instanceof Error?e.message:"Failed to update preferences"}}};return{syncPreferencesFromUpsx:async()=>{try{let e=await r.upsxClient.preference.getPreference();if(!e?.userID)return null;return g(e,!1),e}catch{return null}},updatePreferences:g}}])},678651,(e,t,o)=>{"use strict";function r(e){let t=new URLSearchParams;for(let[o,r]of Object.entries(e))void 0!==r&&t.append(o,r);return t}Object.defineProperty(o,"__esModule",{value:!0}),o.queryStringToSearchParams=r,o.urlFrom=function({host:e,...t}){if(!e)throw Error("Host is missing");let o=new URL(`https://${e}`);return Object.assign(o,{...t,hostname:e}),t.query&&(o.search=r(t.query).toString()),o}},414655,(e,t,o)=>{"use strict";async function r(e){if(!e.ok)switch(e.status){case 401:throw Error("Unauthorized (status 401)");case 403:throw Error("Forbidden (status 403)");case 404:throw Error("Not found (status 404)");case 400:throw Error("Bad Request (status 400)");default:if(e.status>=500)throw Error(`Server error (status ${e.status})`);throw Error(`Unhandled error (status ${e.status})`)}try{if(204===e.status)return null;return await e.json()}catch(e){throw Error(`Invalid JSON response: ${e.message}`)}}async function a(e){if(!e.ok)switch(e.status){case 401:throw Error("Unauthorized (status 401)");case 403:throw Error("Forbidden (status 403)");case 404:throw Error("Not found (status 404)");case 400:throw Error("Bad Request (status 400)");default:if(e.status>=500)throw Error(`Server error (status ${e.status})`);throw Error(`Unhandled error (status ${e.status})`)}try{if(204===e.status)return"";return await e.text()}catch(e){throw Error(`Invalid text response: ${e.message}`)}}Object.defineProperty(o,"__esModule",{value:!0}),o.handleFetchResponse=r,o.handleFetchTextResponse=a}]);