(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]||(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]=[])).push(["object"==typeof document?document.currentScript:void 0,471652,(e,a,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.AlmanacInterval=void 0,(n=r||(t.AlmanacInterval=r={})).DAILY="D",n.MONTHLY="M"},141050,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transformAlmanac=void 0,t.getDailyAlmanac=l,t.getSingleDayAlmanac=d,t.getMonthlyAlmanac=m;let r=e.r(103763),n=e.r(678651),o=e.r(414655),i=e.r(992591),c=e.r(471652);async function l(e){let a=(0,r.getDailyAlmanacUrlConfig)(e),i=(0,n.urlFrom)(a),c=await fetch(i,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}}),l=await (0,o.handleFetchResponse)(c);return(0,t.transformAlmanac)(l)}async function d(e){let a=(0,r.getSingleDayAlmanacUrlConfig)(e),i=(0,n.urlFrom)(a),c=await fetch(i,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}}),l=await (0,o.handleFetchResponse)(c);return(0,t.transformAlmanac)(l)}async function m(e){let a=(0,r.getMonthlyAlmanacUrlConfig)(e),i=(0,n.urlFrom)(a),c=await fetch(i,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}}),l=await (0,o.handleFetchResponse)(c);return(0,t.transformAlmanac)(l)}t.transformAlmanac=(0,i.createTransformer)(e=>{var a;return{almanacInterval:(a=e.almanacInterval)===c.AlmanacInterval.DAILY||a===c.AlmanacInterval.MONTHLY?a:void 0,almanacRecordDate:e.almanacRecordDate??void 0,almanacRecordPeriod:e.almanacRecordPeriod??void 0,almanacRecordYearMax:e.almanacRecordYearMax??void 0,almanacRecordYearMin:e.almanacRecordYearMin??void 0,precipitationAverage:e.precipitationAverage??void 0,snowAccumulationAverage:e.snowAccumulationAverage??void 0,stationId:e.stationId??void 0,stationName:e.stationName??void 0,temperatureAverageMax:e.temperatureAverageMax??void 0,temperatureAverageMin:e.temperatureAverageMin??void 0,temperatureMean:e.temperatureMean??void 0,temperatureRecordMax:e.temperatureRecordMax??void 0,temperatureRecordMin:e.temperatureRecordMin??void 0}})},103763,(e,a,t)=>{"use strict";e.i(288906),Object.defineProperty(t,"__esModule",{value:!0}),t.getDailyAlmanacUrlConfig=function({geocode:e,units:a,startDay:t,startMonth:r,days:n}){return{host:"api.weather.com",protocol:"https",pathname:`/v3/wx/almanac/daily/${n}day`,query:{geocode:e,units:a,startDay:String(t),startMonth:String(r),format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},t.getSingleDayAlmanacUrlConfig=function({geocode:e,units:a,day:t,month:r}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/almanac/daily/1day",query:{geocode:e,units:a,day:String(t),month:String(r),format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},t.getMonthlyAlmanacUrlConfig=function({geocode:e,units:a,startMonth:t,months:r}){return{host:"api.weather.com",protocol:"https",pathname:`/v3/wx/almanac/monthly/${r}month`,query:{geocode:e,units:a,startMonth:String(t),format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},704162,(e,a,t)=>{"use strict";e.i(288906),Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentDateTimeUrlConfig=o,t.getCurrentDateTime=i;let r=e.r(678651),n=e.r(414655);function o({geocode:e}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/dateTime",query:{geocode:e,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}async function i(e){let a=o(e),t=(0,r.urlFrom)(a),i=await fetch(t,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}});return await (0,n.handleFetchResponse)(i)}}]);