PageSourceSearch

https://www.theweathernetwork.com/weather-app-assets/_next/static/chunks/84469ba8.2cf1b1c837870dfe.js

js theweathernetwork.com collected 2026-09-24 08:41:24 UTC 243,863 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4831],{94705:(e,t,n)=>{var r=n(37811),i={9040:(e,t)=>{"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.A=function(){return n.apply(this,arguments)}},3474:(e,t)=>{"use strict";t.A=function(e){return e&&e.__esModule?e:{default:e}}},8593:(e,t)=>{"use strict";function n(e,t,n,r){void 0===r&&(r="");var i=function e(t){return Array.isArray(t)?2===t.length&&void 0===t[0]?"an optional ".concat(e(t[1])):"one of [".concat(t.map(function(t){return e(t)}).join(", "),"]"):"object"==typeof t&&void 0!==t.literal?t.literal:typeof t}(e),o=r?" on ".concat(r):"";throw Error("Invalid value".concat(n?' for key "'.concat(n,'"'):"").concat(o,". Expected ").concat(i," but got ").concat(JSON.stringify(t)))}function r(e){if(void 0===e.jsonToJS){var t={};e.props.forEach(function(e){return t[e.json]={key:e.js,typ:e.typ}}),e.jsonToJS=t}return e.jsonToJS}function i(e){if(void 0===e.jsToJSON){var t={};e.props.forEach(function(e){return t[e.js]={key:e.json,typ:e.typ}}),e.jsToJSON=t}return e.jsToJSON}function o(e,t,r,i,l){if(void 0===i&&(i=""),void 0===l&&(l=""),"any"===t)return e;if(null===t)return null===e?e:n(t,e,i,l);if(!1===t)return n(t,e,i,l);for(var s,u,c,d=void 0;"object"==typeof t&&void 0!==t.ref;)d=t.ref,t=V[t.ref];return Array.isArray(t)?-1!==(s=t).indexOf(e)?e:n(s.map(function(e){return a(e)}),e,i,l):"object"==typeof t?t.hasOwnProperty("unionMembers")?function(e,t){for(var a=e.length,s=0;s<a;s++){var u=e[s];try{return o(t,u,r)}catch(e){}}return n(e,t,i,l)}(t.unionMembers,e):t.hasOwnProperty("arrayItems")?(u=t.arrayItems,Array.isArray(e)?e.map(function(e){return o(e,u,r)}):n(a("array"),e,i,l)):t.hasOwnProperty("props")?function(e,t,s){if(null===s||"object"!=typeof s||Array.isArray(s))return n(a(d||"object"),s,i,l);var u={};return Object.getOwnPropertyNames(e).forEach(function(t){var n=e[t],i=Object.prototype.hasOwnProperty.call(s,t)?s[t]:void 0;u[n.key]=o(i,n.typ,r,t,d)}),Object.getOwnPropertyNames(s).forEach(function(n){Object.prototype.hasOwnProperty.call(e,n)||(u[n]=o(s[n],t,r,n,d))}),u}(r(t),t.additional,e):n(t,e,i,l):t===Date&&"number"!=typeof e?function(e){if(null===e)return null;var t=new Date(e);return isNaN(t.valueOf())?n(a("Date"),e,i,l):t}(e):typeof(c=t)==typeof e?e:n(c,e,i,l)}function a(e){return{literal:e}}function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return{unionMembers:e}}function s(e,t){return{props:e,additional:t}}function u(e){return{ref:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Convert=t.Units=t.SubscriptionType=t.ProfileType=t.ProductView=t.Product=t.Platform=t.LocationPermission=t.Brand=t.Boolean=t.ParameterKey=t.EventName=t.EventModuleType=t.EventModuleSubProduct=t.EventModuleName=void 0,(c=P||(t.EventModuleName=P={})).Alerts="alerts",c.AppleWatch="appleWatch",c.DetailedObs="detailedObs",c.Discover="discover",c.HeadlineText="headlineText",c.Historical="historical",c.Hourly="hourly",c.LockScreenWidget="lockScreenWidget",c.MapLayer="mapLayer",c.MapModule="mapModule",c.NavigationBreadcrumb="navigation-Breadcrumb",c.NavigationSecondary="navigation-Secondary",c.NavigationTabBar="navigation-TabBar",c.NavigationTopNav="navigation-TopNav",c.NewsAndVideo="newsAndVideo",c.Poi="poi",c.PrecipStartStop="precipStartStop",c.Promo="promo",c.Reports="reports",c.Search="search",c.Settings="settings",c.Share="share",c.StormCentre="stormCentre",c.The14Days="14days",c.The7Days="7days",c.Vacation="vacation",c.Video="video",c.WeatherHighlights="weatherHighlights",c.WeatherHighlightsArticleLink="weatherHighlightsArticleLink",c.Widget="widget",c.WxAssistant="wxAssistant",(d=O||(t.EventModuleSubProduct=O={})).AirQuality="airQuality",d.AlertBanner="alertBanner",d.AlertDetails="alertDetails",d.AlertIndex="alertIndex",d.Ceiling="ceiling",d.Cloud="cloud",d.Current="current",d.CurrentObsV1="currentObsV1",d.CurrentObsV2="currentObsV2",d.CurrentObsV3="currentObsV3",d.Health="health",d.High="high",d.HighwayConditions="highwayConditions",d.Hourly="hourly",d.Humidity="humidity",d.Low="low",d.Moderate="moderate",d.Outlook="outlook",d.Pollen="pollen",d.Precip="precip",d.Pressure="pressure",d.Radar="radar",d.StormCentre="stormCentre",d.SunriseSunset="sunriseSunset",d.Temp="temp",d.Uv="UV",d.Visibility="visibility",d.WeatherHighlights="weatherHighlights",d.Wind="wind",d.YesterdayHiLo="yesterdayHiLo",(f=S||(t.EventModuleType=S={})).Circular="circular",f.Featured="featured",f.GuidedPrompt="guidedPrompt",f.Inline="inline",f.Large="large",f.Manual
1="manual",f.Medium="medium",f.Primary="primary",f.Rectangular="rectangular",f.Secondary="secondary",f.Small="small",(p=k||(t.EventName=k={})).Click="click",p.Scroll="scroll",p.View="view",(h=A||(t.ParameterKey=A={})).AuthenticatedUserId="authenticatedUserId",h.HeadlineText="headlineText",h.Is3RdPartyTrackingOn="is3rdPartyTrackingOn",h.IsAppleWatchUser="isAppleWatchUser",h.IsFollowMeUser="isFollowMeUser",h.IsInAppPurchaser="isInAppPurchaser",h.IsLoggedIn="isLoggedIn",h.IsPreciseLocation="isPreciseLocation",h.IsRegistered="isRegistered",h.IsStormCentreEnabled="isStormCentreEnabled",h.IsWeatherHighlightsEnabled="isWeatherHighlightsEnabled",h.IsWifiConnection="isWifiConnection",h.LocationPermission="locationPermission",h.ModuleName="moduleName",h.ModuleProduct="moduleProduct",h.ModuleSubProduct="moduleSubProduct",h.ModuleText="moduleText",h.ModuleType="moduleType",h.NewsArticleId="newsArticleID",h.NewsAuthor="newsAuthor",h.NewsCategory="newsCategory",h.NewsKeyword="newsKeyword",h.NewsPublicationDate="newsPublicationDate",h.NewsSource="newsSource",h.NewsSponsor="newsSponsor",h.NewsTitle="newsTitle",h.NewsUpdateDate="newsUpdateDate",h.NumSavedLocations="numSavedLocations",h.PageName="pageName",h.PelmId="pelmId",h.PelmorexAppVersion="pelmorexAppVersion",h.PelmorexBrand="pelmorexBrand",h.PelmorexPlatform="pelmorexPlatform",h.PelmorexProduct="pelmorexProduct",h.PlaceCode="placeCode",h.PlatformLocale="platformLocale",h.ProductCity="productCity",h.ProductCountry="productC
1ountry",h.ProductMetro="productMetro",h.ProductNeighbourhood="productNeighbourhood",h.ProductProvince="productProvince",h.ProductView="productView",h.ProfileType="profileType",h.QueuePosition="queuePosition",h.ScrollPercentage="scrollPercentage",h.SubscribedCnpTypes="subscribedCNPTypes",h.TestVariation="testVariation",h.UnitPreference="unitPreference",h.VideoId="videoID",h.VideoPlayFormat="videoPlayFormat",h.VideoPlayerId="videoPlayerID",h.VideoPlaylistId="videoPlaylistID",h.VideoPublicationDate="videoPublicationDate",h.VideoTitle="videoTitle",(m=T||(t.Boolean=T={})).False="false",m.True="true",(g=C||(t.Brand=C={})).Clima="CLIMA",g.Elt="ELT",g.Fzzv="FZZV",g.Mm="MM",g.Otempo="OTEMPO",g.Twn="TWN",(y=M||(t.LocationPermission=M={})).Always="Always",y.Off="Off",y.WhenInUse="WhenInUse",(v=N||(t.Platform=N={})).AppPhone="App-Phone",v.AppTablet="App-Tablet",v.TvApp="TVApp",v.WebDesktop="Web-Desktop",v.WebMobile="Web-Mobile",v.WebTablet="Web-Tablet",(b=L||(t.Product=L={})).AirQuality="airQuality",b.Alerts="alerts",b.Bugs="bugs",b.Charts="charts",b.Current="current",b.Health="health",b.Historical="historical",b.Home="home",b.Hourly="hourly",b.HugPages="hugPages",b.IOsLockScreenWidget="iOSLockScreenWidget",b.IOsWidget="iOSWidget",b.Maps="Maps",b.News="news",b.Overview="overview",b.Pollen="pollen",b.PrecipStartStop="precipStartStop",b.ProductMaps="maps",b.StormCentre="stormCentre",b.The14Days="14Days",b.The7DaysExtended="7DaysExtended",b.Uv="uv",b.Vacation="vacation",b.Videos="videos",b.WeatherHighlights="weatherHighlights",b.WxAssistant="wxAssistant",(_=D||(t.ProductView=D={})).Article="article",_.Cloud="cloud",_.HighwayConditions="highwayConditions",_.List="list",_.Main="main",_.Monthly="monthly",_.Precip="precip",_.Precipitation="precipitation",_.Radar="radar",_.Temp="temp",_.TempPrecip="tempPrecip",_.Temperature="temperature",_.Wind="wind",(E=R||(t.ProfileType=R={})).Airport="airport",E.Attraction="attraction",E.Beach="beach",E.Campground="campground",E.City="city",E.Cottage="cottage",E.Golf="golf",E.Marine="marine",E.Park="park",E.School="school",E.Ski="ski",E.Vacation="vacation",(w=I||(t.SubscriptionType=I={})).GovernmentAlerts="GovernmentAlerts",w.ImminentPrecip="ImminentPrecip",w.SevereWx="SevereWx",(x=j||(t.Units=j={})).Imperial="Imperial",x.Metric="Metric",t.Convert=function(){function e(){}return e.toAnalytics=function(e){return o(JSON.parse(e),u("Analytics"),r)},e.analyticsToJson=function(e){return JSON.stringify(o(e,u("Analytics"),i),null,2)},e}();var c,d,f,p,h,m,g,y,v,b,_,E,w,x,P,O,S,k,A,T,C,M,N,L,D,R,I,j,V={Analytics:s([{json:"event",js:"event",typ:l(void 0,u("Event"))},{json:"parameter",js:"parameter",typ:l(void 0,u("Parameter"))},{json:"value",js:"value",typ:l(void 0,u("Value"))}],"any"),Event:s([{json:"EventModuleName",js:"eventModuleName",typ:l(void 0,u("EventModuleName"))},{json:"EventModuleSubProduct",js:"eventModuleSubProduct",typ:l(void 0,u("EventModuleSubProduct"))},{json:"EventModuleType",js:"eventModuleType",typ:l(void 0,u("EventModuleType"))},{json:"EventName",js:"eventName",typ:l(void 0,u("EventName"))}],"any"),Parameter:s([{json:"ParameterKey",js:"parameterKey",typ:l(void 0,u("ParameterKey"))}],"any"),Value:s([{json:"Boolean",js:"boolean",typ:l(void 0,u("Boolean"))},{json:"Brand",js:"brand",typ:l(void 0,u("Brand"))},{json:"LocationPermission",js:"locationPermission",typ:l(void 0,u("LocationPermission"))},{json:"Platform",js:"platform",typ:l(void 0,u("Platform"))},{json:"Product",js:"product",typ:l(void 0,u("Product"))},{json:"ProductView",js:"productView",typ:l(void 0,u("ProductView"))},{json:"ProfileType",js:"profileType",typ:l(void 0,u("ProfileType"))},{json:"SubscriptionType",js:"subscriptionType",typ:l(void 0,u("SubscriptionType"))},{json:"Units",js:"units",typ:l(void 0,u("Units"))}],"any"),EventModuleName:["alerts","appleWatch","detailedObs","discover","headlineText","historical","hourly","lockScreenWidget","mapLayer","mapModule","navigation-Breadcrumb","navigation-Secondary","navigation-TabBar","navigation-TopNav","newsAndVideo","poi","precipStartStop","promo","reports","search","settings","share","stormCentre","14days","7days","vacation","video","weatherHighlights","weatherHighlightsArticleLink","widget","wxAssistant"],EventModuleSubProduct:["airQuality","alertBanner","alertDetails","alertIndex","ceiling","cloud","current","currentObsV1","currentObsV2","currentObsV3","health","high","highwayConditions","hourly","humidity","low","moderate","outlook","pollen","precip","pressure","radar","stormCentre","sunriseSunset","temp","UV","visibility","weatherHighlights","wind","yesterdayHiLo"],EventModuleType:["circular","featured","guidedPrompt","inline","large","manual","medium","primary","re
1ctangular","secondary","small"],EventName:["click","scroll","view"],ParameterKey:["authenticatedUserId","headlineText","is3rdPartyTrackingOn","isAppleWatchUser","isFollowMeUser","isInAppPurchaser","isLoggedIn","isPreciseLocation","isRegistered","isStormCentreEnabled","isWeatherHighlightsEnabled","isWifiConnection","locationPermission","moduleName","moduleProduct","moduleSubProduct","moduleText","moduleType","newsArticleID","newsAuthor","newsCategory","newsKeyword","newsPublicationDate","newsSource","newsSponsor","newsTitle","newsUpdateDate","numSavedLocations","pageName","pelmId","pelmorexAppVersion","pelmorexBrand","pelmorexPlatform","pelmorexProduct","placeCode","platformLocale","productCity","productCountry","productMetro","productNeighbourhood","productProvince","productView","profileType","queuePosition","scrollPercentage","subscribedCNPTypes","testVariation","unitPreference","videoID","videoPlayFormat","videoPlayerID","videoPlaylistID","videoPublicationDate","videoTitle"],Boolean:["false","true"],Brand:["CLIMA","ELT","FZZV","MM","OTEMPO","TWN"],LocationPermission:["Always","Off","WhenInUse"],Platform:["App-Phone","App-Tablet","TVApp","Web-Desktop","Web-Mobile","Web-Tablet"],Product:["airQuality","alerts","bugs","charts","current","health","historical","home","hourly","hugPages","iOSLockScreenWidget","iOSWidget","Maps","news","overview","pollen","precipStartStop","maps","stormCentre","14Days","7DaysExtended","uv","vacation","videos","weatherHighlights","wxAssistant"],ProductView:["article","cloud","highwayConditions","list","main","monthly","precip","precipitation","radar","temp","tempPrecip","temperature","wind"],ProfileType:["airport","attraction","beach","campground","city","cottage","golf","marine","park","school","ski","vacation"],SubscriptionType:["GovernmentAlerts","ImminentPrecip","SevereWx"],Units:["Imperial","Metric"]}},4353:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="week",o="month",a="quarter",l="year",s="date",u="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},p="en",h={};h[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}};var m="$isDayjsObject",g=function(e){return e instanceof _||!(!e||!e[m])},y=function e(t,n,r){var i;if(!t)return p;if("string"==typeof t){var o=t.toLowerCase();h[o]&&(i=o),n&&(h[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var l=t.name;h[l]=t,i=l}return!r&&i&&(p=i),i||!r&&p},v=function(e,t){if(g(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new _(n)},b={s:f,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(n/60),2,"0")+":"+f(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,o),a=n-i<0,l=t.clone().add(r+(a?-1:1),o);return+(-(r+(n-i)/(a?i-l:l-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return({M:o,y:l,w:i,d:"day",D:s,h:r,m:n,s:t,ms:e,Q:a})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};b.l=y,b.i=g,b.w=function(e,t){return v(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var _=function(){function f(e){this.$L=y(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[m]=!0}var p=f.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(b.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(c);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return b},p.isValid=function(){return this.$d.toString()!==u},p.isSame=function(e,t){var n=v(e);return this.startOf(t)<=n&&n<=this.endOf(t)},p.isAfter=function(e,t){return v(e)<this.startOf(t)},p.isBefore=function(e,t){return this.endOf(t)<v(e)},p.$g=function(e,t,n){return b.u(e)?this[t]:this.set(n,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,a){var u=this,c=!!b.u(a)||a,d=b.p(e),f=function(e,t){var n=b.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return c?n:n.endOf("day")},p=function(e,t){return b.w(u.toDate()[e].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},h=this.$W,m=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(d){case l:return c?f(1,0):f(31,11);case o:return c?f(1,m):f(0,m+1);
1case i:var v=this.$locale().weekStart||0,_=(h<v?h+7:h)-v;return f(c?g-_:g+(6-_),m);case"day":case s:return p(y+"Hours",0);case r:return p(y+"Minutes",1);case n:return p(y+"Seconds",2);case t:return p(y+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(i,a){var u,c=b.p(i),d="set"+(this.$u?"UTC":""),f=((u={}).day=d+"Date",u[s]=d+"Date",u[o]=d+"Month",u[l]=d+"FullYear",u[r]=d+"Hours",u[n]=d+"Minutes",u[t]=d+"Seconds",u[e]=d+"Milliseconds",u)[c],p="day"===c?this.$D+(a-this.$W):a;if(c===o||c===l){var h=this.clone().set(s,1);h.$d[f](p),h.init(),this.$d=h.set(s,Math.min(this.$D,h.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.get=function(e){return this[b.p(e)]()},p.add=function(e,a){var s,u=this;e=Number(e);var c=b.p(a),d=function(t){var n=v(u);return b.w(n.date(n.date()+Math.round(t*e)),u)};if(c===o)return this.set(o,this.$M+e);if(c===l)return this.set(l,this.$y+e);if("day"===c)return d(1);if(c===i)return d(7);var f=((s={})[n]=6e4,s[r]=36e5,s[t]=1e3,s)[c]||1,p=this.$d.getTime()+e*f;return b.w(p,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||u;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),o=this.$H,a=this.$m,l=this.$M,s=n.weekdays,c=n.months,f=n.meridiem,p=function(e,n,i,o){return e&&(e[
1n]||e(t,r))||i[n].slice(0,o)},h=function(e){return b.s(o%12||12,e,"0")},m=f||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(d,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return b.s(t.$y,4,"0");case"M":return l+1;case"MM":return b.s(l+1,2,"0");case"MMM":return p(n.monthsShort,l,c,3);case"MMMM":return p(c,l);case"D":return t.$D;case"DD":return b.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return p(n.weekdaysMin,t.$W,s,2);case"ddd":return p(n.weekdaysShort,t.$W,s,3);case"dddd":return s[t.$W];case"H":return String(o);case"HH":return b.s(o,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return m(o,a,!0);case"A":return m(o,a,!1);case"m":return String(a);case"mm":return b.s(a,2,"0");case"s":return String(t.$s);case"ss":return b.s(t.$s,2,"0");case"SSS":return b.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(e,s,u){var c,d=this,f=b.p(s),p=v(e),h=(p.utcOffset()-this.utcOffset())*6e4,m=this-p,g=function(){return b.m(d,p)};switch(f){case l:c=g()/12;break;case o:c=g();break;case a:c=g()/3;break;case i:c=(m-h)/6048e5;break;case"day":c=(m-h)/864e5;break;case r:c=m/36e5;break;case n:c=m/6e4;break;case t:c=m/1e3;break;default:c=m}return u?c:b.a(c)},p.daysInMonth=function(){return this.endOf(o).$D},p.$locale=function(){return h[this.$L]},p.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=y(e,t,!0);return r&&(n.$L=r),n},p.clone=function(){return b.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},f}(),E=_.prototype;return v.prototype=E,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",o],["$y",l],["$D",s]].forEach(function(e){E[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),v.extend=function(e,t){return e.$i||(e(t,_,v),e.$i=!0),v},v.locale=y,v.isDayjs=g,v.unix=function(e){return v(1e3*e)},v.en=h[p],v.Ls=h,v.p={},v}()},5826:function(e){e.exports={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}}},813:function(e,t,n){e.exports=function(e){"use strict";var t={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return e+(1===e?"er":"")}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(n(4353))},6279:function(e){e.exports=function(e,t,n){e=e||{};var r=t.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(e,t,n,i){return r.fromToBase(e,t,n,i)}n.en.relativeTime=i,r.fromToBase=function(t,r,o,a,l){for(var s,u,c,d=o.$locale().relativeTime||i,f=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],p=f.length,h=0;h<p;h+=1){var m=f[h];m.d&&(s=a?n(t).diff(o,m.d,!0):o.diff(t,m.d,!0));var g=(e.rounding||Math.round)(Math.abs(s));if(c=s>0,g<=m.r||!m.r){g<=1&&h>0&&(m=f[h-1]);var y=d[m.l];l&&(g=l(""+g)),u="string"==typeof y?y.replace("%d",g):y(g,r,m.l,c);break}}if(r)return u;var v=c?d.future:d.past;return"function"==typeof v?v(u):v.replace("%s",u)},r.to=function(e,t){return o(e,t,this,!0)},r.from=function(e,t){return o(e,t,this)};var a=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(a(this),e)},r.fromNow=function(e){return this.from(a(this),e)}}},2849:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=s(d,n),d!==(i=s(t,n))&&(h&&i&&(a(i)||(u=o(i)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&a(r)?r:{},l(d,{name:n,newValue:e(h,c,i)})):void 0!==i&&l(d,{name:n,newValue:i}));return d}},9788:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g;function u(e){return e?e.replace(s,""):""}e.exports=function(e,s){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];s=s||{};var c=1,d=1;function f(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function p(){var e={line:c,column:d};return function(t){return t.position=new h(e),y(r),t}}function h(e){this.start=e,this.end={line:c,column:d},this.source=s.source}h.prototype.content=e;var m=[];function g(t){var n=Error(s.source+":"+c+":"+d+": "+t);if(n.reason=t,n.filename=s.source,n.line=c,n.column=d,n.source=e,!s.silent)throw n;m.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function v(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}return y(r),function(){var e,n=[];for(v(n);e=function(){var e=p(),n=y(i);if(n){if(b(),!y(o))return g("property missing ':'");var r=y(a),s=e({type:"declaration",property:u(n[0].replace(t,"")),value:r?u(r[0].replace(t,"")):""});return y(l),s}}();)!1!==e&&(n.push(e),v(n));return n}()}},7206:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},3787:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});let r={lib_prefix:"weatherHighlights",flex:"x3_a0B47jymmZTDWMx2g",justifySpaceBetween:"_FxsaeEvRPeOhX2O7uLo",flex20:"e1HaMS616Ba_JCBIy_55",flex25:"NUGovXonncQOfd6u1jqR",flex33:"J1skvNUsDPe8lWIa46q7",flex50:"V2KPXdDmqFaPXXfqaoZK",flex75:"ZAYNu4i78YkCf9LcuVFm",flex100:"BQUEVRpg8uthxrtHQ7kn",flexLeft:"WojsUhJFdIfzMGBLiudQ",flexRight:"eIwJzCupDM5wZtQcE6tK",flexCenter:"poqVM6lFiTPUFx01h4JY",centerText:"fHK3EstIN4FzoWmIXB2t",gridParent:"Qa_wPhwVrD_
1w4lfmqrFf",gridFullscreenCenter:"V7xtkMJQvX6OhbBZqjOF",gridChildVcenter:"CCfZdA8lRHbFlDALO6bc",gridChild:"RCcotbOSxKG19ZUb7pLu",gridChildLeft:"q29daiKhzNrboE7NVkyT",gridChildRight:"TJxbJbkJCdT2_pwOLRcz",gridChildCenter:"F0IB3ksMxP49efe5cHET",MODULE_ARTICLELINK:"k2conY_fSnovySE6eWHE",MODULE_ARTICLELINK_V5:"_OhGL58CHOAMMiwhYkgS"}},4633:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});let r={lib_prefix:"weatherHighlights",flex:"Pcuwo7TJvLrb9vWGuIgh",justifySpaceBetween:"LGR08mgC6Ufjyt6neEp9",flex20:"UQuZ0J3JLPoG_4crFbiO",flex25:"Rn6fAPchKWQhygpIG9hQ",flex33:"uRcm_ZkRaqIwkWHT2gZv",flex50:"qv1oRYqnmzla_vR1eRS0",flex75:"IYx8cNoWrHC_9tmKWF5Q",flex100:"wrmGzsfH_iORoIJuiSTA",flexLeft:"HDcIqT95Hn7HSdTduQkw",flexRight:"HZGFvhzJvF8fOJvTpmLI",flexCenter:"j5UcXhYOKauWqqdQj6bA",centerText:"t3Rsl1pQO98xAKkcMo9t",gridParent:"fJkcayI_q7Sa6haqNuGZ",gridFullscreenCenter:"XeZYArCRL_vsUNbVTBEv",gridChildVcenter:"J9dnRaI0TRL16MR4nzTi",gridChild:"woMp_2nhPgadba2Gvc72",gridChildLeft:"GcVQhEsKSmfeicKD_Hrw",gridChildRight:"me4RdKkKATXX6ZM632Qf",gridChildCenter:"R9hTQyFQEDeYhtdWemmK",MODULE_HEADERBAR:"w2AilEdTYxYsAv86VZuJ",closeBtn:"fnVmT5BYnMwZJ7kY7UHv",closeBtnDark:"bu3MnAVdtXp8zcYlba7n",date:"ALPa0PhMmb4E_6fwpFvJ"}},589:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});let r={lib_prefix:"weatherHighlights",flex:"Y3OTpdxDF9oH4v_XGLzD",justifySpaceBetween:"UYgcNxYbjoYemdhpyX3T",flex20:"gcDgOIUtBdx38iIrcHJs",flex25:"VRJ0pLSidksrUbYG2NC2",flex33:"HaOcrxzuBh57lkZJUTZa",flex50:"OyLfxgFFAcig2pIXoUyO",flex75:"Pi_zKQNp4Wm7rCegEYfr",flex100:"bwgG4TDZ2fEOrHWXrNA2",flexLeft:"Tg5yAmUxmYE1B77xYGpN",flexRight:"K9qJ6fvq9qzZBuFB01YQ",flexCenter:"A7mc_2iPoPVgDxjjfJx0",centerText:"rKeSrffr8oOCNBw6Ei9O",gridParent:"vMpb4ah7xMWa_BldIKZq",gridFullscreenCenter:"i4k1q8bYLbODQBJGkKOm",gridChildVcenter:"vzYYxKbzkp22UYaZlUFD",gridChild:"HOvKDQT2aqJ5llMf2ZKB",gridChildLeft:"A6C2Gs1SdLviJzenoI8g",gridChildRight:"WD2fzXjDPmd30kxw57WO",gridChildCenter:"_rZ4_CFVL4FFJBB7oGXI",MODULE_HEADERTITLE:"P5F0HlaTQ0GK6eldV3x9"}},6295:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});let r={lib_prefix:"weatherHighlights",flex:"q1tLc9hba0QfXaYDOGSQ",justifySpaceBetween:"TK5HOXfmPtukc9WF8qEg",flex20:"ftyAoVKl1Isrp5gLKNMA",flex25:"KQY_UDUstxKyTviNrVVa",flex33:"nDbulFl2H5egA7sAEtZe",flex50:"veCUb6Hq1OHyUU2fYj82",flex75:"qZmUBPZ2t6WBHEtvYuL3",flex100:"XQ26SEu4VLXo78DjFwNT",flexLeft:"Wy68ZcQpJa4URpcPHhis",flexRight:"ti2_dCP4OJhRq4xD2xWF",flexCenter:"qelKp3o3J4gTDOv0UpsB",centerText:"idT8dCPKgxyFVAglnBKk",gridParent:"A4ayz83CUzIosn8AF9P7",gridFullscreenCenter:"RqVOw8BuNuZeJb7JAzL7",gridChildVcenter:"BbyV5VItyyeWJ0f0gD62",gridChild:"Ncq_zSIuK_kVFjJuFNnm",gridChildLeft:"V26Z2Dm4bdHJt8yBNAFp",gridChildRight:"OsmnpbSERdzqBAnrzQp_",gridChildCenter:"LeHkjJ7wJg9rhHcHKdnd",MODULE_MARKDOWNCONTENT:"Is3Z5Ol8cCkVc8GpCqiJ"}},5620:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});let r={lib_prefix:"weatherHighlights",flex:"mbSuEcDZshgRUOzS8sck",justifySpaceBetween:"g5dNRWrCTvY6FvNXg7vG",flex20:"lWi1ZfHhzk0wpbgqTviz",flex25:"l7XKJVC9iq0kcR2S1YKX",flex33:"jgDZwVGcvjxPDTSBm4gl",flex50:"azes383j4CMRa4IGzn2j",flex75:"_U1OwRXkPPq30cSPcx6f",flex100:"di7BafbixUs_suOf3BDX",flexLeft:"kxW87DU0PVcEVZeKOjiT",flexRight:"GXmu3yK4rlfQNSsVmw0y",flexCenter:"Knm7r6Mbv4YPMWo9cOkA",centerText:"pPVhb1NS4iYOv9_gAseD",gridParent:"n6jVVASa11maa02YTa4a",gridFullscreenCenter:"GLPbdYxU2i_ncrcDqPGs",gridChildVcenter:"TivljDGhemN9L3s4VIjb",gridChild:"nmf3RaSz2uQSj1DsgWo9",gridChildLeft:"n8y5rxjosCQLupE6bHm2",gridChildRight:"pe9DNYLGkdO2nfDgpCCC",gridChildCenter:"DwqHhREh3gCYbizRTlQo",MODULE_ERRORS:"OEATLuPNqJAkDfpRvba2",modErrorsWrapper:"eoXNexQxo4qqUcmn5gju",modError:"LlOeY2H8MMW6FCKQWe_9"}},1897:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});let r={lib_prefix:"weatherHighlights",flex:"NxcMCYsbWigMlgQPFN_J",justifySpaceBetween:"p6kVLbkFinn3IVKHODTA",flex20:"It4bGMpZETQV8KpWU3iA",flex25:"NbLPFUFuzxncOrw4CHs9",flex33:"g80DHMrBHZdBsyFijF8Q",flex50:"s6AuEKkrMu_u6MyoQASO",flex75:"lTzt72bjFVQPNhtqNn3T",flex100:"z58ubQcw0s5Sumt8rqen",flexLeft:"WjK1OEk4TpXK8QatuMO5",flexRight:"YedRf95ixH0DgxgqgUTd",flexCenter:"Hqk1ErwvORSvkRF82Ilg",centerText:"E98RJL7sJ44zFHtriXqB",gridParent:"kkrzYd5hC2zGRWUXYB_t",gridFullscreenCenter:"E9OhYLO6wJBDAWK31ECQ",gridChildVcenter:"MnoVv4Y6KUvDGzpNDykQ",gridChild:"OX5_lMUnnFWq8JPyxi5Q",gridChildLeft:"p5SSUvEo4JRyS2rxAh_Q",gridChildRight:"voH8qAOENQSF7bONjfuj",gridChildCenter:"jvVBwaC3JS12DJbcjpyH",MODULE_HOME:"KcGaYstLJkzpj5pCejIf",Home:"NK7g0c1DOXBLMJIWDNlq","Home-logo":"xLyUycOoq__XBvRlM9vC","Home-logo-spin":"VNcwBB_WZ3Ygr94Ul2P1","Home-header":"ljXHjmyIAVs4MOyUYwKD","Home-title":"wtUb60OMYrSGybdxqIUz","Home-intro":"Qnu7Q_i7LhSBgPDI4yLN",errMsg:"kgZlvysyAWrnKasdjtlV",loading:"soAK1lZbaHTaRVdoQj5g",sticky:"Gq3qC2VTs0K53oWC9l5H",previewMode:"Z3jv4eT5OUukI6os782r",loadingFlex:"XN1kkpwg9Xm7bIyntp_k",survey:"dP8aTpgor3dz0u1W0kR3",padBottom:"zFE6zncFWyHvvMzBLhZw"}},2853:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});let r={lib_prefix:"weatherHighlights",flex:"xSbFjMfiKAYu6gUDauMT",justifySpaceBetween:"bNruOdj88NavA03bNl9d",flex20:"Hu91DB7BIqeRrfK2fGyf",flex25:"Mt3p4aAorgKLDYzbgpdV",flex33:"Rc30GrcMQ0_JovNQFVeQ",flex50:"k45LDnJNZWE33aqNgGyE",flex75:"sTaHWFRh7QSzChAhvDMJ",flex100:"mYwJ6rDNj7YTkFYhQCJd",flexLeft:"JRDqJMsEzrgd80vMuZxs",flexRight:"hqukhiJJexdvBKetmsVg",flexCenter:"H50GDI
1IX7z5pXQ_RCtLY",centerText:"mIAe0oCfbNXrUxXXko6E",gridParent:"kiAPPoBYZ3xlVxkykAkl",gridFullscreenCenter:"ldPUcqp_C47UtMVAoAww",gridChildVcenter:"mPRmsuAjdWFgF7cySA_l",gridChild:"d6B_Crdfl3SSSANEqbNp",gridChildLeft:"mj2A4WZnXdrC2NFP6NyQ",gridChildRight:"grVRNafmZbyK_DgPY_U7",gridChildCenter:"HO9jNkLoONLLSnLTtqxZ",MODULE_VIDEOPLAYER:"EuJ4qMeKBfXQKwRW5g_Z"}},8551:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});let r={lib_prefix:"weatherHighlights",flex:"mhFGg95t_6y0nb6SyaVV",justifySpaceBetween:"Effl9qYP2WHTIMlaimbm",flex20:"xWX2_VbAjtFIuodPPz0o",flex25:"JvNwrmPte7N3XK4qE4Yb",flex33:"rVouPO231BCKDYNskV3g",flex50:"KDKsSieI0ROrL9lGMLx8",flex75:"TU0VN5i67NxTZRk3IwO1",flex100:"Mo7RbGmuscSnmgjcQJGd",flexLeft:"QypeC7VvR5nrsRupkpNw",flexRight:"PN2xxYnvAV35L0A6fDQe",flexCenter:"SYzLJCOmkSJU4U6Tc5k3",centerText:"uoFQ4_QkNq5WJRwgJPMx",gridParent:"wH6xLB0aHD9vbdODlvLh",gridFullscreenCenter:"F93HMa_lELyjkKKlCjwC",gridChildVcenter:"pnm5t0tBSJ0RTUIQhXX3",gridChild:"ASOQIRzKNs625LUHxPDS",gridChildLeft:"Ci84XRfeJaMrCEnYIcFH",gridChildRight:"l7vyzDWQ5BdE1mrsBOac",gridChildCenter:"pDfDW7l6qwNycuhT3yft"}},674:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=l.default,o=(null==t?void 0:t.suspense)?{}:{loading:({error:e,isLoading:t,pastDelay:n})=>null};if(e instanceof Promise?o.loader=()=>e:"function"==typeof e?o.loader=e:"object"==typeof e&&(o=i({},o,e)),o=i({},o,t),!r.env.__NEXT_REACT_ROOT&&o.suspense)throw Error("Invalid suspense option usage in next/dynamic. Read more: https://nextjs.org/docs/messages/invalid-dynamic-suspense");if(o.suspense&&(delete o.ssr,delete o.loading),o.loadableGenerated&&(o=i({},o,o.loadableGenerated),delete o.loadableGenerated),"boolean"==typeof o.ssr&&!o.suspense){if(!o.ssr)return delete o.ssr,u(n,o);delete o.ssr}return n(o)},t.noSSR=u;var i=n(9040).A,o=n(3474).A,a=o(n(2015)),l=o(n(4779));let s="u"<typeof window;function u(e,t){if(delete t.webpack,delete t.modules,!s)return e(t);let n=t.loading;return()=>a.default.createElement(n,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3749:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0,t.LoadableContext=(0,n(3474).A)(n(2015)).default.createContext(null)},4779:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9040).A,o=(0,n(3474).A)(n(2015)),a=n(3749);
1let{useSyncExternalStore:l}=n(r.env.__NEXT_REACT_ROOT?2015:9888),s=[],u=[],c=!1;function d(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class f{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state=i({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function p(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);n.suspense&&(n.lazy=o.default.lazy(n.loader));let r=null;function d(){if(!r){let t=new f(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if("u"<typeof window&&s.push(d),!c&&"u">typeof window){let e=n.webpack?n.webpack():n.modules;e&&u.push(t=>{for(let n of e)if(-1!==t.indexOf(n))return d()})}function p(){d();let e=o.default.useContext(a.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}let h=n.suspense?function(e,t){return p(),o.default.createElement(n.lazy,i({},e,{ref:t}))}:function(e,t){p();let i=l(r.subscribe,r.getCurrentValue,r.getCurrentValue);return o.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),o.default.useMemo(()=>{var t;return i.loading||i.error?o.default.createElement(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?o.default.createElement((t=i.loaded)&&t.__esModule?t.default:t,e):null},[e,i])};return h.preload=()=>d(),h.displayName="LoadableComponent",o.default.forwardRef(h)}(d,e)}function h(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return h(e,t)})}p.preloadAll=()=>new Promise((e,t)=>{h(s).then(e,t)}),p.preloadReady=(e=[])=>new Promise(t=>{let n=()=>(c=!0,t());h(u,e).then(n,n)}),"u">typeof window&&(window.__NEXT_PRELOADREADY=p.preloadReady),t.default=p},4953:(e,t,n)=>{e.exports=n(674)},2694:(e,t,n)=>{"use strict";var r=n(6925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={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:o,resetWarningCache:i}
1;return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1436:function(e){"u">typeof self&&self,e.exports=function(){var e=[function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o,a,l){if(!e){var s;if(void 0===t)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,a,l],c=0;(s=Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?function(e,t){for(var n,a,l=function(e){if(null==e)throw TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){for(var u in n=Object(arguments[s]))i.call(n,u)&&(l[u]=n[u]);if(r){a=r(n);for(var c=0;c<a.length;c++)o.call(n,a[c])&&(l[a[c]]=n[a[c]])}}return l}:Object.assign},function(e,t,n){"use strict";e.exports=n(1)},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(8),a=u(o),l=u(n(11)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(14));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var d=function(e){function t(){var e,n,r;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.state={delayed:r.props.delay>0},c(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.delay;this.state.delayed&&(this.timeout=setTimeout(function(){e.setState({delayed:!1})},t))}},{key:"componentWillUnmount",value:function(){var e=this.timeout;e&&clearTimeout(e)}},{key:"render",value:function(){var e=this.props,t=e.color,n=(e.delay,e.type),i=e.height,o=e.width,l=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","delay","type","height","width"]),u=s[this.state.delayed?"blank":n];return a.default.createElement("div",r({style:{fill:t,height:i,width:o},dangerouslySetInnerHTML:{__html:u}},l))}}]),t}(o.Component);d.propTypes={color:l.default.string,delay:l.default.number,type:l.default.string,height:l.default.oneOfType([l.default.string,l.default.number]),width:l.default.oneOfType([l.default.string,l.default.number])},d.defaultProps={color:"#fff",delay:0,type:"balls",height:64,width:64},t.default=d},function(e,t,n){"use strict";e.exports=n(9)},function(e,t,n){"use strict";var r=n(2),i=n(0),o=n(5),a=n(1),l="function"==typeof Symbol&&Symbol.for,s=l?Symbol.for("react.transitional.element"):60103,u=l?Symbol.for("react.portal"):60106,c=l?Symbol.for("react.fragment"):60107,d=l?Symbol.for("react.strict_mode"):60108,f=l?Symbol.for("react.provider"):60109,p=l?Symbol.for("react.context"):60110,h=l?Symbol.for("react.async_mode"):60111,m=l?Symbol.for("react.forward_ref"):60112,g="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t=arguments.length-1,n="http://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);i(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function b(e,t,n){this.props=e,this.context=t,this.refs=o,this.updater=n||v}function _(){}function E(e,t,n){this.props=e,this.context=t,this.refs=o,this.updater=n||v}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&y("85"),this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=b.prototype;var w=E.prototype=new _;w.constructor=E,r(w,b.prototype),w.isPureReactComponent=!0;var x={current:null},P=Object.prototype.hasOwnProperty,O={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r=void 0,i={},o=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(o=""+t.key),t)P.call(t,r)&&!O.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:s,type:e,key:o,ref:a,props:i,_owner:x.current}}function k(e){return"object"==typeof e&&null!==e&&e.$$typeof===s}var A=/\/+/g,T=[];function C(e,t,n,r){if(T.length){var i=T.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function M(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>T.length&&T.push(e)}function N(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var o=!1;if(null===e)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case s:case u:o=!0}}
1if(o)return n(r,e,""===t?"."+L(e,0):t),1;if(o=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a<e.length;a++){var l=t+L(i=e[a],a);o+=N(i,l,n,r)}else if("function"==typeof(l=null==e?null:"function"==typeof(l=g&&e[g]||e["@@iterator"])?l:null))for(e=l.call(e),a=0;!(i=e.next()).done;)o+=N(i=i.value,l=t+L(i,a++),n,r);else"object"===i&&y("31","[object Object]"==(n=""+e)?"object with keys {"+Object.keys(e).join(", ")+"}":n,"");return o}function L(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function D(e,t){e.func.call(e.context,t,e.count++)}function R(e,t,n){var r=e.result,i=e.keyPrefix;Array.isArray(e=e.func.call(e.context,t,e.count++))?I(e,r,n,a.thatReturnsArgument):null!=e&&(k(e)&&(t=i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(A,"$&/")+"/")+n,e={$$typeof:s,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),r.push(e))}function I(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(A,"$&/")+"/"),t=C(t,o,r,i),null==e||N(e,"",R,t),M(t)}var j={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return I(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=C(null,null,t,n),null==e||N(e,"",D,t),M(t)},count:function(e){return null==e?0:N(e,"",a.thatReturnsNull,null)},toArray:function(e){var t=[];return I(e,t,null,a.thatReturnsArgument),t},only:function(e){return k(e)||y("143"),e}},createRef:function(){return{current:null}},Component:b,PureComponent:E,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:p,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_changedBits:0,Provider:null,Consumer:null}).Provider={$$typeof:f,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:m,render:e}},Fragment:c,StrictMode:d,unstable_AsyncMode:h,createElement:S,cloneElement:function(e,t,n){null==e&&y("267",e);var i=void 0,o=r({},e.props),a=e.key,l=e.ref,u=e._owner;if(null!=t){void 0!==t.ref&&(l=t.ref,u=x.current),void 0!==t.key&&(a=""+t.key);var c=void 0;for(i in e.type&&e.type.defaultProps&&(c=e.type.defaultProps),t)P.call(t,i)&&!O.hasOwnProperty(i)&&(o[i]=void 0===t[i]&&void 0!==c?c[i]:t[i])}if(1==(i=arguments.length-2))o.children=n;else if(1<i){c=Array(i);for(var d=0;d<i;d++)c[d]=arguments[d+2];o.children=c}return{$$typeof:s,type:e.type,key:a,ref:l,props:o,_owner:u}},createFactory:function(e){var t=S.bind(null,e);return t.type=e,t},isValidElement:k,version:"16.3.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:x,assign:r}},V=Object.freeze({default:j}),B=V&&j||V;e.exports=B.default?B.default:B},function(e,t,n){},function(e,t,n){e.exports=n(13)()},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(3),a=n(2),l=n(4),s=n(6);e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,u="<<anonymous>>",c={array:p("array"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:f(r.thatReturnsNull),arrayOf:function(e){return f(function(t,n,r,i,o){if("function"!=typeof e)return new d("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new d("Invalid "+i+" `"+o+"` of type `"+h(a)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s<a.length;s++){var u=e(a,s,r,i,o+"["+s+"]",l);if(u instanceof Error)return u}return null})},element:f(function(t,n,r,i,o){var a=t[n];return e(a)?null:new d("Invalid "+i+" `"+o+"` of type `"+h(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}),instanceOf:function(e){return f(function(t,n,r,i,o){if(!(t[n]instanceof e)){var a,l=e.name||u;return new d("Invalid "+i+" `"+o+"` of type `"+((a=t[n]).constructor&&a.constructor.name?a.constructor.name:u)+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}return null})},node:f(function(t,r,i,o,a){return!function t(r){switch(typeof r){case"number":case"string":case"undefined":return!0;case"boolean":return!r;case"object":if(Array.isArray(r))return r.every(t);if(null===r||e(r))return!0;var i=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(r);if(!i)return!1;var o,a=i.call(r);if(i!==r.entries){for(;!(o=a.next()).done;)if(!t(o.value))return!1}else for(;!(o=a.next()).done;){var l=o.value;if(l&&!t(l[1]))return!1}return!0;default:return!1}}(t[r])?new d("Invalid "+o+" `"+a+"` supplied to `"+i+"`, expected a ReactNode."):null}),objectOf:function(e){return f(function(t,n,r,i,o){if("function"!=typeof e)return new d("Property `"+o+"` of component `"+r+"` has invali
1d PropType notation inside objectOf.");var a=t[n],s=h(a);if("object"!==s)return new d("Invalid "+i+" `"+o+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var u in a)if(a.hasOwnProperty(u)){var c=e(a,u,r,i,o+"."+u,l);if(c instanceof Error)return c}return null})},oneOf:function(e){return Array.isArray(e)?f(function(t,n,r,i,o){for(var a,l=t[n],s=0;s<e.length;s++)if(l===(a=e[s])?0!==l||1/l==1/a:l!=l&&a!=a)return null;return new d("Invalid "+i+" `"+o+"` of value `"+l+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")}):r.thatReturnsNull},oneOfType:function(e){if(!Array.isArray(e))return r.thatReturnsNull;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",function(e){var t=m(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}(n),t),r.thatReturnsNull}return f(function(t,n,r,i,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,r,i,o,l))return null;return new d("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")})},shape:function(e){return f(function(t,n,r,i,o){var a=t[n],s=h(a);if("object"!==s)return new d("Invalid "+i+" `"+o+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var f=c(a,u,r,i,o+"."+u,l);if(f)return f}}return null})},exact:function(e){return f(function(t,n,r,i,o){var s=t[n],u=h(s);if("object"!==u)return new d("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var c=a({},t[n],e);for(var f in c){var p=e[f];if(!p)return new d("Invalid "+i+" `"+o+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null,"  ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null,"  "));var m=p(s,f,r,i,o+"."+f,l);if(m)return m}return null})}};function d(e){this.message=e,this.stack=""}function f(e){function n(n,r,o,a,s,c,f){return a=a||u,c=c||o,f!==l&&t&&i(!1,"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"),null==r[o]?n?new d(null===r[o]?"The "+s+" `"+c+"` is marked as required in `"+a+"`, but its value is `null`.":"The "+s+" `"+c+"` is marked as required in `"+a+"`, but its value is `undefined`."):null:e(r,o,a,s,c)}var r=n.bind(null,!1);return r.isRequired=n.bind(null,!0),r}function p(e){return f(function(t,n,r,i,o,a){var l=t[n];return h(l)!==e?new d("Invalid "+i+" `"+o+"` of type `"+m(l)+"` supplied to `"+r+"`, expected `"+e+"`."):null})}function h(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":"symbol"===t||"Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol?"symbol":t}function m(e){if(null==e)return""+e;var t=h(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}return d.prototype=Error.prototype,c.checkPropTypes=s,c.PropTypes=c,c}},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(4);e.exports=function(){function e(e,t,n,r,a,l){l!==o&&i(!1,"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")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15);Object.defineProperty(t,"blank",{enumerable:!0,get:function(){return f(r).default}});var i=n(16);Object.defineProperty(t,"balls",{enumerable:!0,get:function(){return f(i).default}});var o=n(17);Object.defineProperty(t,"bars",{enumerable:!0,get:function(){return f(o).default}});var a=n(18);Object.defineProperty(t,"bubbles",{enumerable:!0,get:function(){return f(a).default}});var l=n(19);Object.defineProperty(t,"cubes",{enumerable:!0,get:function(){return f(l).default}});var s=n(20);Object.defineProperty(t,"cylon",{enumerable:!0,get:function(){return f(s).default}});var u=n(21);Object.defineProperty(t,"spin",{enumerable:!0,get:function(){return f(u).default}});var c=n(22);Object.defineProperty(t,"spinningBubbles",{enumerable:!0,get:function(){return f(c).default}});var d=n(23);
1function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"spokes",{enumerable:!0,get:function(){return f(d).default}})},function(e,t){e.exports='<svg class="icon-blank" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>\n'},function(e,t){e.exports='<svg class="icon-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">\n  <path transform="translate(-8 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12"> \n    <animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline"  />\n  </path>\n  <path transform="translate(2 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12"> \n    <animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline"  />\n  </path>\n  <path transform="translate(12 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12"> \n    <animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline"  />\n  </path>\n  <path transform="translate(24 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12"> \n    <animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline"  />\n  </path>\n</svg>\n'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">\n  <path transform="translate(2)" d="M0 12 V20 H4 V12z"> \n    <animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline"  />\n  </path>\n  <path transform="translate(8)" d="M0 12 V20 H4 V12z">\n    <animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.2" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline"  />\n  </path>\n  <path transform="translate(14)" d="M0 12 V20 H4 V12z">\n    <animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.4" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />\n  </path>\n  <path transform="translate(20)" d="M0 12 V20 H4 V12z">\n    <animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.6" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />\n  </path>\n  <path transform="translate(26)" d="M0 12 V20 H4 V12z">\n    <animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.8" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />\n  </path>\n</svg>\n'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">\n  <circle transform="translate(8 0)" cx="0" cy="16" r="0"> \n    <animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0"\n      keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />\n  </circle>\n  <circle transform="translate(16 0)" cx="0" cy="16" r="0"> \n    <animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0.3"\n      keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />\n  </circle>\n  <circle transform="translate(24 0)" cx="0" cy="16" r="0"> \n    <animate attributeName="r" values="0; 4; 0;
1 0" dur="1.2s" repeatCount="indefinite" begin="0.6"\n      keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />\n  </circle>\n</svg>\n'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">\n  <path transform="translate(-8 0)" d="M0 12 V20 H8 V12z"> \n    <animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline"  />\n  </path>\n  <path transform="translate(2 0)" d="M0 12 V20 H8 V12z"> \n    <animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline"  />\n  </path>\n  <path transform="translate(12 0)" d="M0 12 V20 H8 V12z"> \n    <animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline"  />\n  </path>\n  <path transform="translate(24 0)" d="M0 12 V20 H8 V12z"> \n    <animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline"  />\n  </path>\n</svg>\n'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">\n  <path transform="translate(0 0)" d="M0 12 V20 H4 V12z">\n    <animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />\n  </path>\n  <path opacity="0.5" transform="translate(0 0)" d="M0 12 V20 H4 V12z">\n    <animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.1s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />\n  </path>\n  <path opacity="0.25" transform="translate(0 0)" d="M0 12 V20 H4 V12z">\n    <animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.2s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />\n  </path>\n</svg>\n'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">\n  <path opacity=".25" d="M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"/>\n  <path d="M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z">\n    <animateTransform attributeName="transform" type="rotate" from="0 16 16" to="360 16 16" dur="0.8s" repeatCount="indefinite" />\n  </path>\n</svg>\n'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">\n  <circle cx="16" cy="3" r="0">\n    <animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />\n  </circle>\n  <circle transform="rotate(45 16 16)" cx="16" cy="3" r="0">\n    <animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.125s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />\n  </circle>\n  <circle transform="rotate(90 16 16)" cx="16" cy="3" r="0">\n    <animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.25s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />\n  </circle>\n  <circle transform="rotate(135 16 16)" cx="16" cy="3" r="0">\n    <animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.375s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />\n  </circle>\n  <circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">\n    <animate attributeName="r" values="0;3;0;
10" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />\n  </circle>\n  <circle transform="rotate(225 16 16)" cx="16" cy="3" r="0">\n    <animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.625s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />\n  </circle>\n  <circle transform="rotate(270 16 16)" cx="16" cy="3" r="0">\n    <animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.75s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />\n  </circle>\n  <circle transform="rotate(315 16 16)" cx="16" cy="3" r="0">\n    <animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.875s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />\n  </circle>\n  <circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">\n    <animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />\n  </circle>\n</svg>\n'},function(e,t){e.exports='<svg id="loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">\n  <path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(0 16 16)">\n    <animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0"/>\n  </path>\n  <path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(45 16 16)">\n    <animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.125s"/>\n  </path>\n  <path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(90 16 16)">\n    <animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.25s"/>\n  </path>\n  <path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(135 16 16)">\n    <animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.375s"/>\n  </path>\n  <path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(180 16 16)">\n    <animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.5s"/>\n  </path>\n  <path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(225 16 16)">\n    <animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.675s"/>\n  </path>\n  <path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(270 16 16)">\n    <animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.75s"/>\n  </path>\n  <path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(315 16 16)">\n    <animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.875s"/>\n  </path>\n</svg>\n'}],t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=7)}()},976:(e,t)=>{"use strict";var n,r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case l:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case c:case u:case d:case m:case h:case s:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=h,t.Portal=i,t.Profiler=l,t.StrictMode=a,t.Suspense=f,t.SuspenseList=p,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===u},t.isContextProvider=function(e){return y(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return y(e)===d},t.isFragment=function(e){return y(e)===o},t.isLazy=function(e){return y(e)===m},t.isMemo=function(e){return y(e)===h},t.isPortal=function(e){return y(e)===i},t.isProfiler=function(e){return y(e)===l},t.isStrictMode=function(e){return y(e)===a},t.isSuspense=function(e){return y(e)===f},t.isSuspenseList=function(e){return y(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===l||e===a||e===f||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=y},8316:(e,t,n)=>{"use strict";e.exports=n(976)},9108:(e,t,n)=>{var r=n(9788);function i(e,t){var n,i=null;if(!e||"string"!=typeof e)return i;for(var o,a,l=r(e),s="function"==typeof t,u=0,c=l.length;u<c;u++)o=(n=l[u]).property,a=n.value,s?t(o,a,n):a&&(i||(i={}),i[o]=a);return i}
1e.exports=i,e.exports.default=i},5233:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e %3cdefs%3e %3cstyle%3e.cls-1%7bfill:%23fff;%7d%3c/style%3e %3c/defs%3e %3ctitle%3eAsset 1%3c/title%3e %3cg id='Layer_2' data-name='Layer 2'%3e %3cg id='Layer_1-2' data-name='Layer 1'%3e %3cpath class='cls-1' d='M16,7H3.8L9.4,1.4,8,0,0,8l8,8,1.4-1.4L3.8,9H16Z'/%3e %3c/g%3e %3c/g%3e %3c/svg%3e"},2755:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11.66 20.35'%3e%3cdefs%3e%3cstyle%3e.cls-1%7bfill:%23fff;fill-rule:evenodd;%7d%3c/style%3e%3c/defs%3e%3ctitle%3eAsset 1%3c/title%3e%3cg id='Layer_2' data-name='Layer 2'%3e%3cg id='Layer_1-2' data-name='Layer 1'%3e%3cg id='btn_back_white' data-name='btn back white'%3e%3cg id='Back-Btn'%3e%3cg id='Back'%3e%3cpath class='cls-1' d='M11.52.22a.86.86,0,0,0-1.16,0L0,10.18l10.36,10a.86.86,0,0,0,1.16,0l-.1.09a.74.74,0,0,0,0-1.09L2,10.18l9.42-8.95a.76.76,0,0,0,0-1.1Z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e"},1463:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAdConfigBySlotId=t.getAdUnitCode=t.AD_SLOTS_CONFIG=t.AD_UNIT_SLOT_IDS=t.AD_DESKTOP_BREAKPOINT=t.AD_UNIT_CODE_BY_LOCALE=t.DFP_NETWORK_ID=void 0;var r=n(6014);t.DFP_NETWORK_ID="19849159",t.AD_UNIT_CODE_BY_LOCALE={EN_CA:{ANDROID_IOS:"MobileApps-TWN/en-CA/weather_highlights",WEB_MOBILE_TABLET_DESKTOP:"web-theweathernetwork.com/weather_highlights"},FR_CA:{ANDROID_IOS:"MobileApps-TWN/fr-CA/weather_highlights",WEB_MOBILE_TABLET_DESKTOP:"web-meteomedia.com/weather_highlights"}},t.AD_DESKTOP_BREAKPOINT=720,t.AD_UNIT_SLOT_IDS={unitOne:"ad-unit-1",unitTwo:"ad-unit-2"};var i=[728,90],o=[300,250],a=[{viewport:[t.AD_DESKTOP_BREAKPOINT,200],sizes:[i]},{viewport:[0,0],sizes:[o]}],l={mobile:{width:"".concat(o[0],"px"),height:"".concat(o[1],"px")},desktop:{width:"".concat(i[0],"px"),height:"".concat(i[1],"px")}};t.AD_SLOTS_CONFIG=[{id:t.AD_UNIT_SLOT_IDS.unitOne,sizes:[i,o],sizeMaps:a,slotDimension:l.mobile,slotDimensionClass:""},{id:t.AD_UNIT_SLOT_IDS.unitTwo,sizes:[i,o],sizeMaps:a,slotDimension:l.mobile,slotDimensionClass:""}],t.getAdUnitCode=function(e,n){return(0,r.isFrenchLocale)(n)?(0,r.isWebPlatforms)(e)?t.AD_UNIT_CODE_BY_LOCALE.FR_CA.WEB_MOBILE_TABLET_DESKTOP:t.AD_UNIT_CODE_BY_LOCALE.FR_CA.ANDROID_IOS:(0,r.isWebPlatforms)(e)?t.AD_UNIT_CODE_BY_LOCALE.EN_CA.WEB_MOBILE_TABLET_DESKTOP:t.AD_UNIT_CODE_BY_LOCALE.EN_CA.ANDROID_IOS},t.getAdConfigBySlotId=function(e){var n=t.AD_SLOTS_CONFIG.find(function(t){return e===t.id});if(!n)return null;if((0,r.isWindowAvailable)()){var a=window.outerWidth>=t.AD_DESKTOP_BREAKPOINT;n.sizes=a?[i]:[o],n.slotDimension=a?l.desktop:l.mobile,n.slotDimensionClass=a?"adDesktop":"adMobile"}return n}},7768:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.selectors=void 0;var l=o(n(2015)),s=n(2920),u=n(393),c=n(6014),d=n(8827),f=a(n(3787));t.selectors={module_articleLink:"module_articleLink"};var p=(0,d.createLogger)("CTA Link");t.default=function(e){var n=e.appVersion,r=e.onEnterView,i=e.onLeaveView,o=(e.urlTitle||"READ THE FULL ARTICLE").toUpperCase(),a=(0,s.useInView)({triggerOnce:!0}),d=a.inView,h=a.ref;return(0,l.useEffect)(function(){d?(p("Article Link in view"),window.location.search.match(/[?&]iu=\//)||(0,u.sendViewEventAnalytics)({label:"articleLinkView",appVersion:n,analyticsLabel:e.anal
1yticsLabel,urlTitle:o}),r&&r()):(p("Article Link out of view"),i&&i())},[d,r,i,n]),l.default.createElement("div",{ref:h,className:n===c.AppVersions.V5?f.default.MODULE_ARTICLELINK_V5:f.default.MODULE_ARTICLELINK},l.default.createElement("a",{"data-testid":t.selectors.module_articleLink,href:e.url,target:"_parent",rel:"noopener noreferrer",onClick:function(){window.location.search.match(/[?&]iu=\//)||(0,u.sendClickEventAnalytics)({label:"articleLinkClick",appVersion:n,analyticsLabel:e.analyticsLabel,urlTitle:o}),e.onClick&&e.onClick()}},o))}},4478:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.selectors=void 0;var l=o(n(2015)),s=a(n(4633));t.selectors={module_HeaderBar:"module_HeaderBar",module_HeaderBar_closeBtn:"module_HeaderBar_closeBtn",module_HeaderBar_updatedDate:"module_HeaderBar_updatedDate"};var u=n(93),c=n(6014),d=n(7068);t.default=function(e){var n=(e.locale||"").toLowerCase().includes("fr")?"fr":"en",r=e.version===c.AppVersions.V5&&"dark"===e.theme?s.default.closeBtnDark:s.default.closeBtn,i=e.version===c.AppVersions.V5&&e.platform===c.PlatformTypes.IOS;return l.createElement("div",{"data-testid":t.selectors.module_HeaderBar,className:s.default.MODULE_HEADERBAR},i?l.createElement("div",null,"\xa0"):l.createElement("div",{"data-testid":t.selectors.module_HeaderBar_closeBtn,className:r,onClick:function(){(0,d.publishBackButtonClickEvent)()}},l.createElement("span",null,"X")),l.createElement("div",{"data-testid":t.selectors.module_HeaderBar_updatedDate,className:s.default.date},u.staticTranslations[n].updated," ",(e.date||"").toLowerCase()))}},3298:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.selectors=void 0;var i=r(n(2015)),o=r(n(589));t.selectors={module_HeaderTitle:"module_HeaderTitle"},t.default=function(e){return i.default.createElement("div",{"data-testid":t.selectors.module_HeaderTitle,className:o.default.MODULE_HEADERTITLE},i.default.createElement("h1",null,e.title))}},7604:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=o(n(2015)),s=n(9156),u=a(n(8551));t.default=function(e){var t=e.isPreviewMode,n=e.children;return l.createElement("div",{id:u.default.lib_prefix},l.createElement(s.PreviewHeader,{isPreviewMode:t}),n)}},1476:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}
1),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.selectors=void 0;var l=a(n(2015)),s=a(n(4953)),u=a(n(6295)),c=(0,s.default)(function(){return Promise.resolve().then(function(){return o(n(3421))}).then(function(e){return e.default})},{ssr:!1});t.selectors={module_markdown:"module_markdown"},t.default=function(e){return l.default.createElement("div",{"data-testid":t.selectors.module_markdown,className:u.default.MODULE_MARKDOWNCONTENT},l.default.createElement(c,null,e.data))}},91:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(2015)),o=n(8827),a=n(6622),l=r(n(5620)),s=function(e){if(!e.errors.length)return null;var t=e.errLevel===a.ModErrorLevel.WARNING,n=t?[l.default.modError,l.default.modErrorWarning]:[l.default.modError,l.default.modErrorFatal];return i.default.createElement("div",null,e.errors.map(function(r,o){return i.default.createElement("div",{className:n.join(" "),key:o,"data-testid":"mod-errors.".concat(t?"warning":"fatal")},i.default.createElement("span",null,i.default.createElement("strong",null,a.ModErrorLevel.WARNING===e.errLevel?"Warning":"Error"),": ",r.replace(":"," -")),i.default.createElement("br",null))}))};t.default=function(){var e=i.default.useState((0,o.getModuleErrorsByType)(a.ModErrorLevel.FATAL)),t=e[0],n=e[1],r=i.default.useRef("u">typeof window?window.twnModErr:{}).current;return i.default.useEffect(function(){return r.subscribe(a.ModEventNames.CHANGE,function(){n((0,o.getModuleErrorsByType)(a.ModErrorLevel.FATAL))})},[r]),i.default.createElement("div",{className:l.default.MODULE_ERRORS},i.default.createElement("div",{"data-testid":"mod-errors.container",className:l.default.modErrorsWrapper},i.default.createElement(s,{errLevel:a.ModErrorLevel.FATAL,errors:t})))}},4695:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t},l=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,l)}s((r=r.apply(e,t||[])).next())})},s=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){var u=[l,s];if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}
1,u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RootContainer=t.getQueryParams=void 0;var c=n(4435),d=a(n(2015)),f=n(393),p=n(6014),h=n(8827),m=n(2373),g=n(1916),y=n(2278),v=u(n(6378)),b=n(9156),_=(0,h.createLogger)("Root Container");t.getQueryParams=function(e){var t=e||{},n="true"===(null==t?void 0:t.p)?"preview":"false";return r(r({},t),{locale:(0,p.getSanitizedLocale)(t.locale),platform:e.platform,version:e.version,preview:n})},t.RootContainer=function(e){var n=e.getEventResponse,i=e.queryParams,o=e.userAgent,a=e.logs,u=e.modErrLogs;if((0,h.initializeLogger)({logs:a,modErrLogs:u}),!(0,p.hasAllRequiredFields)({requiredFields:y.REQUIRED_QUERY_ARGS,obj:i}))return d.createElement(b.PageNotFound,{locale:(0,p.getSanitizedLocale)(i?i.locale:"")});var E=(0,t.getQueryParams)(i),w=E.platform,x=E.placecode,P=E.preview,O=E.locale,S=E.version,k=E.iap,A=E.npa,T=E.adTargetingOptOutStatus,C=P&&"preview"===P.toLowerCase()||!1,M=(0,c.pathOr)(null,["status"],n),N=M&&!(0,g.isSuccessfulResponse)(M)?(0,y.getTranslatedErrorMessage)({locale:O,status:M}):null,L=d.useState((0,c.pathOr)(null,["eventData"],n)),D=L[0],R=L[1],I=d.useState((0,c.isNil)(M)&&(0,c.isNil)(D)),j=I[0],V=I[1],B=d.useState(N),F=B[0],H=B[1],U=d.use
1State(null),W=U[0],z=U[1],q=function(){return!!K()},K=function(){return F},Y=function(){return j||!W};return d.useEffect(function(){q()||Y()},[q,Y,D,S]),d.useEffect(function(){q()||Y()||((0,f.setEventName)(D.analyticsLabel),(0,p.isAndroidPlatform)(w)||(0,p.isIosPlatform)(w)?(0,f.sendAppScreenViewAnalytics)({placeCode:x,pageTitle:D.articleMeta[0].title||"",customDimensions:{productView:D.eventType[0]},appVersion:S,analyticsLabel:D.analyticsLabel||""}):(0,f.sendWebPageViewAnalytics)({placeCode:x,pageTitle:D.articleMeta[0].title||"",customDimensions:{productView:D.eventType[0]},appVersion:S,analyticsLabel:D.analyticsLabel||""}))},[q,Y,D]),d.useEffect(function(){if(!q()&&!Y()){(0,f.sendHeartBeatAnalytics)({appVersion:S});var e=setInterval(function(){return(0,f.sendHeartBeatAnalytics)({appVersion:S})},1e4);return function(){return clearInterval(e)}}},[q,Y,S]),d.useEffect(function(){_("Fetch event effect. isFetchingEvent: ".concat(j)),j&&l(void 0,void 0,void 0,function(){var e;return s(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,3,4]),[4,(0,y.getEvent)({queryArgs:i,isSsrRendered:!1})];case 1:return R(t.sent()),[3,4];case 2:return _("fetch error: ",e=t.sent()),H(e.translatedErrorMessage),[3,4];case 3:return V(!1),[7];case 4:return[2]}})})},[j,i]),d.useEffect(function(){l(void 0,void 0,void 0,function(){var e,t;return s(this,function(n){switch(n.label){case 0:return[4,(0,m.fetchAdParams)(x)];case 1:return e=n.sent(),t=(0,m.getCustParamsFromSearchParams)(window.document.location.search),e&&z(r(r({},e),t)),[2]}})})},[x]),d.createElement(v.default,{eventData:D,errorMessage:K(),hasError:q(),isLoading:Y(),isPreviewMode:C,locale:O,placecode:x,platform:w,appVersion:S,isPaidClient:!(0,c.isNil)(k)&&"true"===k,userAgent:o||"",isPersonalizedAdsEnabled:!(0,p.isRunningVersionOrNewer)({runningVersion:S,minVersion:p.AppVersions.V1})||"true"!==(A||"").toLowerCase(),adParams:W,analyticsLabel:(null==D?void 0:D.analyticsLabel)||"",adTargetingOptOutStatus:T})}},9156:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewHeader=t.PageNotFound=t.getPageMetaData=t.getBackBtnIcon=t.PageLoadingView=t.ErrorMessageView=void 0;var i=n(4435),o=r(n(2015)),a=r(n(1436)),l=r(n(5233)),s=r(n(2755)),u=n(93),c=n(6014),d=n(2278),f=r(n(7604)),p=r(n(91)),h=r(n(1897));t.ErrorMessageView=function(e){var t=[h.default.centerText,h.default.errMsg].join(" ");return o.default.createElement("div",{className:h.default.gridFullscreenCenter,"data-testid":"error-page-view.wrapper"},o.default.createElement("h3",{className:t,"data-testid":"error-page-view.error-message"},e.errorMessage))},t.PageLoadingView=function(){return o.default.createElement("div",{className:h.default.gridFullscreenCenter},o.default.createElement("div",{className:h.default.loadingFlex,"data-testid":"page-loading-view.wrapper"}
1,o.default.createElement("h2",null,"Loading..."),o.default.createElement(a.default,{className:h.default.loading,type:"spin",color:"white",height:50,width:50,"data-testid":"page-loading-view.loading-indicator"})))},t.getBackBtnIcon=function(e){return(0,c.isIosPlatform)(e)?s.default:l.default},t.getPageMetaData=function(e){var t=e.eventData,n=e.locale,r=(0,u.getTranslationsForLocale)(n);return{pageTitle:(0,i.pathOr)(r.pageTitle,["pageTitle"],t),pageDesc:(0,i.pathOr)(r.pageDescription,["pageTitle"],t),pageImage:(0,i.pathOr)("",["editorialNewsStories",0,"thumbnailUrl"],t)}},t.PageNotFound=function(e){return o.default.createElement(f.default,null,o.default.createElement(t.ErrorMessageView,{errorMessage:(0,d.getTranslatedErrorMessage)({status:404,locale:e.locale||c.LocaleByCountry.ENCA})}))},t.PreviewHeader=function(e){return e.isPreviewMode?o.default.createElement("div",{className:h.default.MODULE_HOME},o.default.createElement("div",{className:h.default.sticky},o.default.createElement("div",{"data-testid":"preview-mode.banner",style:{backgroundColor:"#ff8800",color:"#fff",textAlign:"center",padding:"5px"}},"PREVIEW MODE")),o.default.createElement(p.default,null)):o.default.createElement("div",null)}},4799:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultArticleLinkText=t.hyperLinks=void 0,t.hyperLinks={en:{webmobile:"https://www.surveymonkey.com/r/DS95NW7",webdesktop:"https://www.surveymonkey.com/r/DS785FW",ios:"https://www.surveymonkey.com/r/DWHWSJD",android:"https://www.surveymonkey.com/r/DQ6TZJM"},fr:{webmobile:"https://fr.surveymonkey.com/r/PDVYRZL",webdesktop:"https://fr.surveymonkey.com/r/P9Z2PH6",ios:"https://fr.surveymonkey.com/r/P9G822Z",android:"https://fr.surveymonkey.com/r/PKH5ZQP"}},t.defaultArticleLinkText={en:"READ THE FULL ARTICLE",fr:"TOUS LES D\xc9TAILS DANS CET ARTICLE"}},6378:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getArticleLinkDefaultText=t.getSurveyLink=t.selectors=void 0;var s=a(n(2015)),u=n(93),c=n(1810),d=n(6014),f=l(n(7768)),p=l(n(4478)),h=l(n(3298)),m=l(n(7604)),g=l(n(1476)),y=l(n(1897)),v=n(4799),b=n(9156),_=n(3683);t.selectors={module_videoPlayer:"module_videoPlayer",module_heroImage:"module_heroImage",surveyLink:"twnmm-survey",surveyImageEn:"Feedback_surveyImage_en",surveyImageFr:"Feedback_surveyImage_fr"},t.getSurveyLink=function(e,t){return t.includes("fr")?v.hyperLinks.fr[e]:v.hyperLinks.en[e]},t.getArticleLinkDefaultText=function(e){return e.includes("fr")?v.defaultArticleLinkText.fr:v.defaultArticleLinkText.en},t.default=function(e){var n={isPreviewMode:e.isPreviewMode};if(e.isLoading)return s.createElement(m.default,r({},n),s.createElement("div",{className:y.default.MODULE_HOME},s.createElement(b.PageLoadingView,null)));if(e.hasError)return s.createElement(m.default,r({},n),s.createElement("div",{className:y.default.MODULE_HOME},s.createElement(b.ErrorMessageView,{errorMessage:e.errorMessage})));if(!e.eventData.videoId&&!e.eventData.heroImage){var i=(0,u.getTranslationsForLocale)(e.locale);return s.createElement(m.default,r({},n),s.createElement("div",{className:y.default.MODULE_HOME},s.createElement(b.ErrorMessageView,{errorMessage:e.isPreviewMode?i.errorMessageNoImageOrVideo:i.errorMessageBadRequest})))}var o=s.useState(null),a=o[0],l=o[1];s.useEffect(function(){l(window.matchMedia("(prefers-color-scheme: dark)").matches&&e.appVersion===d.AppVersions.V5?"dark":"light")},[a]);var v=e.locale,E=e.isPaidClient,w=e.eventData,x=e.adParams,P=!!w.videoId,O=e.eventData.articleLinkText||(0,t.getArticleLinkDefaultText)(e.locale);return s.createElement(m.default,r({},n),s.createElement("div",{className:y.default.MODULE_HOME},s.createElement("div",{className:y.default.Home,"data-testid":"RootView_wrapper"},s.createElement(p.default,{date:w.updatedAt,locale:v,theme:a,version:e.appVersion,platform:e.platform}),s.createElement(h.default,{title:w.pageTitle}),P&&s.createElement(_.TWNMMVideoPlayer,{videoId:w.videoId,locale:v,platform:e.platform,playerType:c.VideoPlayerTypes.HERO_PLAYER,isPaidClient:E,isPersonalizedAdsEnabled:e.isPersonalizedAdsEnabled,adParams:x,adTargetingOptOutStatus:e.adTargetingOptOutStatus}),!P&&s.createElement("img",{"data-testid":t.selectors.module_heroImage,className:y.default.padBottom,src:w.heroImage,alt:w.pageTitle}),s.createElement(g.default,{data:e.eventData.articleSummary}),s.createElement(f.default,{appVersion:e.appVersion,url:e.eventData.articleMeta[0].url,urlTitle:O,analyticsLabel:e.anal
1yticsLabel}))))}},693:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,l)}s((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){var u=[l,s];if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}};Object.defineProperty(t,"__esModule",{value:!0}),t.getRootServerProps=void 0;var o=n(2278),a=n(7156),l=n(8827),s=(0,l.createLogger)("Get server props");t.getRootServerProps=function(e){var t=e.query,n=e.req;return r(void 0,void 0,void 0,function(){var e;return i(this,function(r){switch(r.label){case 0:(0,l.initializeLogger)(),r.label=1;case 1:return r.trys.push([1,3,,4]),s("Fetching event data...",t,"host: ",n.headers),[4,(0,o.getEvent)({queryArgs:t,hostUrl:n.headers.host})];case 2:return[2,{props:{getEventResponse:{eventData:r.sent(),status:a.HttpStatusCodes.OK},logs:(0,l.getLogs)({isSSR:!0}),modErrLogs:(0,l.getModuleErrors)({isSSR:!0}),userAgent:n.headers["user-agent"]}}];case 3:return s("Fetch event error: ",e=r.sent()),[2,{props:{getEventResponse:{eventData:null,status:e.status},modErrLogs:(0,l.getModuleErrors)({isSSR:!0}),logs:(0,l.getLogs)({isSSR:!0}),userAgent:n.headers["user-agent"]}}];case 4:return[2]}})})}},3683:function(e,t,n){"use strict";var r,i,o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return a(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TWNMMVideoPlayer=t.selectors=void 0;var u=l(n(2015)),c=n(1491),d=n(1810),f=n(6014),p=s(n(2853));t.selectors={module_videoPlayer:"module_videoPlayer"};var h={en:((r={})[f.PlatformTypes.WEB_DESKTOP]="uMMlWkoR",r[f.PlatformTypes.WEB_TABLET]="uMMlWkoR",r[f.PlatformTypes.WEB_MOBILE]="0lPPNb4T",r[f.PlatformTypes.IOS]="69O5e4Zk",r[f.PlatformTypes.ANDROID]="dt8yB4u3",r),fr:((i={})[f.PlatformTypes.WEB_DESKTOP]="eCIwviel",i[f.PlatformTypes.WEB_TABLET]="eCIwviel",i[f.PlatformTypes.WEB_MOBILE]="qR4BLSyZ",i[f.PlatformTypes.IOS]="MTBSjeId",i[f.PlatformTypes.ANDROID]="RzBuVMCN",i)};t.TWNMMVideoPlayer=function(e){var n=e.videoId,r=e.locale,i=e.platform,o=e.playerType,a=e.isPaidClient,l=e.isPersonalizedAdsEnabled,s=e.adParams,m=e.adTargetingOptOutStatus,g=(0,u.useRef)(!1);(0,u.useEffect)(function(){if(!g.current){var e=document.createElement("script");e.src="".concat((0,c.getConfig)().TWNMM_LIB,"/twnmm-video-player.min.js?v=2025-04-15"),e.async=!0,document.body.appendChild(e),g.current=!0}},[]);var y=h[(0,f.isFrenchLocale)(r)?"fr":"en"][i],v=(0,d.buildHeroAdUrl)({locale:r,videoCounter:"__item-counter__",platform:i,playerType:o,isPaidClient:a,isPersonalizedAdsEnabled:l,adParams:s,adTargetingOptOutStatus:m});return u.default.createElement("div",{"data-testid":t.selectors.module_videoPlayer,className:p.default.MODULE_VIDEOPLAYER},u.default.createElement("style",null,"\n                    .jw-flag-touch.jw-flag-floating .jw-wrapper {\n                        margin-top: 0 !important;\n                    }\n                "),u.default.createElement("twnmm-video-player",{"video-id":n,"player-id":y,"ad-url":v,autostart:!0,"disable-end-card":!0,"disable-nextup":!0,"disable-lazy-load-player":!0,"ad-targeting-opt-out":"rejected"===m}))}},6131:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};
1Object.defineProperty(t,"__esModule",{value:!0});var i=n(4871),o={PRODUCT_NAME:"weatherHighlights",PRODUCT_VERSION:"1.0",ANALYTICS_ENABLED:!0,APPVIEWS_ENABLED:!0,NPD_ANALYTICS_ONLY:!1,PRODUCT_PREFIX:"weather-highlight",ADPARAMS_BASE_URL:"https://services.pelmorex.com",BC_TWN_ACCOUNT_ID:"1942203455001",BC_MM_ACCOUNT_ID:"2142506936001",TWN_HERO_PLAYER_ID:"p1flXGh4Z",MM_HERO_PLAYER_ID:"VMuYsx6p7"},a=r(r({},o),{ENV:i.NODE_ENVIRONMENTS.DEVELOPMENT,NPD_GA_ACCOUNT:"UA-15976353-96",ANDROID_GA_ACCOUNT:"UA-15976353-24",IOS_GA_ACCOUNT:"UA-15976353-22",WEB_GA_ACCOUNT_EN:"UA-15976353-13",WEB_GA_ACCOUNT_FR:"UA-15976353-31",MAIN_API_BASE_URL:"https://pondservices-stg.pelmorex.com",PELMSEARCH_BASE_URL:"https://pelmsearch-dqs.pelmorex.com",WEATHERAPI_BASE_URL:"https://weatherapi.pelmorex.com",CMS_VIDEO_API_BASE_URL:"https://web-staging-cms-video-api.sky-stg.pelmorex.com",TWN_BASE_URL:"https://www.theweathernetwork.com",MM_BASE_URL:"https://www.meteomedia.com",TWN_HERO_PLAYER_ID:"KdKCymEnr",MM_HERO_PLAYER_ID:"dV0VdW4yC",TWNMM_LIB:"https://lib-tis.twnmm.com"}),l=r(r({},a),{ENV:i.NODE_ENVIRONMENTS.TEST}),s=r(r({},a),{ENV:i.NODE_ENVIRONMENTS.STAGING}),u=r(r({},a),{ENV:i.NODE_ENVIRONMENTS.INTEGRATION}),c=r(r({},o),{ENV:i.NODE_ENVIRONMENTS.PRODUCTION,NPD_GA_ACCOUNT:"UA-15976353-92",ANDROID_GA_ACCOUNT:"UA-15976353-16",IOS_GA_ACCOUNT:"UA-15976353-14",WEB_GA_ACCOUNT_EN:"UA-15976353-4",WEB_GA_ACCOUNT_FR:"UA-15976353-5",PELMSEARCH_BASE_URL:"https://pelmsearch.pelmorex.com",WEATHERAPI_BASE_URL:"https://weatherapi.pelmorex.com",CMS_VIDEO_API_BASE_URL:"https://web-production-cms-video-api.sky.pelmorex.com",TWN_BASE_URL:"https://www.theweathernetwork.com",MM_BASE_URL:"https://www.meteomedia.com",ADPARAMS_BASE_URL:"https://services.pelmorex.com",TWNMM_LIB:"https://lib.twnmm.com"});t.default=Object.freeze({serverSideRendered:{development:r({},a),test:r(r({},l),{MAIN_API_BASE_URL:"http://severe-weather-api:8080",WEATHERAPI_BASE_URL:"http://alerts.diad-staging.svc.cluster.local:8080"}),staging:r(r({},s),{MAIN_API_BASE_URL:"http://severe-weather-api:8080",WEATHERAPI_BASE_URL:"http://alerts.diad-staging.svc.cluster.local:8080"}),integration:r(r({},u),{MAIN_API_BASE_URL:"https://pondservices-stg.pelmorex.com",WEATHERAPI_BASE_URL:"http://alerts.diad-staging.svc.cluster.local:8080"}),production:r(r({},c),{MAIN_API_BASE_URL:"http://severe-weather-api:8080",WEATHERAPI_BASE_URL:"http://alerts.diad-production.svc.cluster.local:8080"})},clientSideRendered:{development:r({},a),test:r({},l),staging:r({},s),integration:r({},u),production:r(r({},c),{MAIN_API_BASE_URL:"https://pondservices.pelmorex.com"})}})},1491:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getConfig=t.loadConfig=t.isProduction=t.isDevelopment=t.getAppEnvByHostUrl=t.urlEnvMap=void 0;var i,o,a=n(4435),l=n(4871),s=n(8827),u=r(n(6131)),c=(0,s.createLogger)("Config"),d=!1;t.urlEnvMap={localhost:l.NODE_ENVIRONMENTS.DEVELOPMENT,"127.0.0.1":l.NODE_ENVIRONMENTS.DEVELOPMENT,192.168:l.NODE_ENVIRONMENTS.DEVELOPMENT,"web.dqs.":l.NODE_ENVIRONMENTS.DEVELOPMENT,"pond-staging":l.NODE_ENVIRONMENTS.STAGING,"sky-staging":l.NODE_ENVIRONMENTS.STAGING,"theweathernetwork.sky-staging":l.NODE_ENVIRONMENTS.STAGING,"sky-stg":l.NODE_ENVIRONMENTS.STAGING,"-stg.xowtis.":l.NODE_ENVIRONMENTS.PRODUCTION,"sky-integration":l.NODE_ENVIRONMENTS.INTEGRATION,"sky-int":l.NODE_ENVIRONMENTS.INTEGRATION,"theweathernetwork.sky-integration":l.NODE_ENVIRONMENTS.INTEGRATION,"pond-integration":l.NODE_ENVIRONMENTS.INTEGRATION,"-int.xowtis.":l.NODE_ENVIRONMENTS.INTEGRATION,"sky-test":l.NODE_ENVIRONMENTS.TEST,"pond-test":l.NODE_ENVIRONMENTS.TEST,"-tst.xowtis.":l.NODE_ENVIRONMENTS.TEST,".local.pelmorex.com":l.NODE_ENVIRONMENTS.DEVELOPMENT,"web-stg.":l.NODE_ENVIRONMENTS.INTEGRATION,"-tst.xostis.":l.NODE_ENVIRONMENTS.TEST,"-int.xostis.":l.NODE_ENVIRONMENTS.INTEGRATION,"-stg.xostis.":l.NODE_ENVIRONMENTS.STAGING},t.getAppEnvByHostUrl=function(){var e=o||"",n=Object.entries(t.urlEnvMap).find(function(t){var n=t[0];return e.includes(n)});return n&&2==n.length&&n[1]||l.NODE_ENVIRONMENTS.PRODUCTION},t.isDevelopment=function(){return(0,t.getAppEnvByHostUrl)()===l.NODE_ENVIRONMENTS.DEVELOPMENT},t.isProduction=function(){return(0,t.getAppEnvByHostUrl)()===l.NODE_ENVIRONMENTS.PRODUCTION},t.loadConfig=function(e){var n=void 0===e?{isSsrRendered:!1,hostUrl:""}:e,r=n.isSsrRendered,l=n.hostUrl;if((0,a.isNil)(i)||r!==d||l!==o){d=r,o=l||("u">typeof window?window.location.host:"");var s=r?u.default.serverSideRendered:u.default.clientSideRendered,f=(0,t.getAppEnvByHostUrl)();i=s[f],c("app env: ",f),c("app config: ",i)}},t.getConfig=function(){return(0,a.isNil)(i)&&(0,t.loadConfig)(),i}},9251:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.BC_FR_ACCOUNT_ID=t.BC_EN_ACCOUNT_ID=void 0,t.BC_EN_ACCOUNT_ID="1942203455001",t.BC_FR_ACCOUNT_ID="2142506936001"},93:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(6168),t),i(n(6369),t)},6369:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTranslationsForLocale=t.staticTranslations=t.TranslationLangKeys=void 0;var r,i=n(6014);(r=t.TranslationLangKeys||(t.TranslationLangKeys={})).EN="en",r.FR="fr",t.staticTranslations={en:{updated:"Updated",errorMessageBadRequest:"We are experiencing technical issues. Please try again later or contact us if the problem persists.",errorMessageNotFound:"The page you are looking for is not available.",errorMessageServiceUnavailable:"We're having trouble connecting and we may have difficulty updating the data. Please check your settings and try again.",errorMessageNoContent:"This event has ended.",errorMessageNoImageOrVideo:"A video or image has not been provided",pageTitle:"Weather Highlights | The Weather Network",pageDescription:"Weather Highlights"},fr:{updated:"Derni\xe8re Mise \xe0 Jour:",errorMessageBadRequest:"Il semble y avoir un probl\xe8me technique. Veuillez r\xe9essayer plus tard ou contactez-nous si le probl\xe8me persiste.",errorMessageNotFound:"La page que vous recherchez n'est plus disponible.",errorMessageServiceUnavailable:"Nous avons de la difficult\xe9 \xe0 nous connecter pour mettre les donn\xe9es \xe0 jour. Veuillez v\xe9rifier vos r\xe9glages ou r\xe9essayer un peu plus tard.",errorMessageNoContent:"Cet \xe9v\xe9nement est termin\xe9.",errorMessageNoImageOrVideo:"Une vid\xe9o ou une image n'a pas \xe9t\xe9 fournie",pageTitle:"Weather Highlights | The Weather Network",pageDescription:"Weather Highlights"}},t.getTranslationsForLocale=function(e){return t.staticTranslations[(0,i.getLocaleWithoutCountrySuffix)(e)]}},6168:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9399:function(e,t,n){"use strict";var r,i,o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.buildHeroAdUrl=t.getAdUrlParams=t.GOOGLE_ADS_URL=void 0;var a=n(1463),l=n(6014),s=n(1404),u=n(8827),c=n(2373),d=n(227),f=n(8750),p=n(7044);t.GOOGLE_ADS_URL="https://pubads.g.doubleclick.net/gampad/ads";var h="".concat(t.GOOGLE_ADS_URL,"?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dskippablelinear&correlator="),m=(0,u.createLogger)("Ad url generator"),g={mobile:{adSize:d.AdSizeTypes.PREROLL_AD_SIZE,hero:{"en-ca":function(){return"MobileApps-TWN/en-CA/weather_highlights"},"fr-ca":function(){return"MobileApps-TWN/fr-CA/weather_highlights"}}},web:{adSize:d.AdSizeTypes.PREROLL_AD_SIZE,hero:{"en-ca":function(){return"web-theweathernetwork.com/weather_highlights"},"fr-ca":function(){return"web-meteomedia.com/weather_highlights"}}}},y=((r={})[l.PlatformTypes.WEB_MOBILE]="web",r[l.PlatformTypes.WEB_TABLET]="web",r[l.PlatformTypes.WEB_DESKTOP]="web",r[l.PlatformTypes.ANDROID]="mobile",r[l.PlatformTypes.IOS]="mobile",r),v=((i={})[d.VideoPlayerTypes.HERO_PLAYER]="hero",i),b=function(e){var t=e.platform,n=e.playerType,r=e.videoCounter,i=e.adParams,a=e.isPersonalizedAdsEnabled,s=e.ppid,u=e.adTargetingOptOutStatus,f={platform:c.platformToCustParamPlatformMap[t].toLowerCase()};n===d.VideoPlayerTypes.HERO_PLAYER&&((0,l.isAppPlatform)(t)&&(f.app_videogallery_ad_pos="".concat(c.platformToCustParamPlatformMap[t].toLowerCase(),"_").concat(r)),f.videokw="__item-tags__",f.video_partner="__item-videopartner__",f.videoid="__item-mediaid__",f.cppid=s);var h=a?o({},(0,c.getAdParams)({platform:t,isPersonalizedAdsEnabled:a,adParams:i}
1)):{};if(u){var m=c.platformToCustParamPlatformMap[t],g="live_group_".concat(m,",").concat(u,"_").concat(m);["accepted","not_selected","hidden"].includes(u)&&(g+=",accepted_rollup_".concat(m)),f.cmp_banner_status=g}var y=(0,p.getExperimentAdParams)(t);return o(o(o({},f),h),y)};t.getAdUrlParams=function(e){var t,n=e.locale,r=e.platform,i=e.playerType,u=e.videoCounter,c=e.isPersonalizedAdsEnabled,p=e.adParams,h=e.adTargetingOptOutStatus,m=y[r],_=v[i],E=n.toLowerCase();if(!m||!_||!["en-ca","fr-ca"].includes(E))return null;var w=g[m],x=w[_],P=((0,l.isWebPlatforms)(r)?(0,f.extractCookieFromWindow)("guid"):null!=(t=(0,s.getQueryStringParam)("ppid"))?t:"").replace(/-/g,"");return o({impl:"s",gdfp_req:"1",env:"vp",output:"vast",unviewed_position_start:"1",correlator:"__timestamp__",iu:i===d.VideoPlayerTypes.HERO_PLAYER?"/".concat(a.DFP_NETWORK_ID,"/").concat(x[E](u)):"/".concat(a.DFP_NETWORK_ID,"/").concat(x[E]()),sz:w.adSize,cust_params:b({platform:r,playerType:i,videoCounter:u,adParams:p,isPersonalizedAdsEnabled:c,ppid:P,adTargetingOptOutStatus:h}),description_url:(null==document?void 0:document.URL)||"",ppid:P},c?null:{npa:1})},t.buildHeroAdUrl=function(e){var n=e.locale,r=e.videoCounter,i=e.platform,o=e.playerType,a=e.isPaidClient,u=e.isPersonalizedAdsEnabled,c=e.adParams,d=e.adTargetingOptOutStatus;if(a||!n||!i||!o||!("number"==typeof r?r>0:r))return m("Returning empty hero ad url. Args: ",{isPaidClient:a,locale:n,platform:i,playerType:o,videoCounter:r}),"";var f=(0,t.getAdUrlParams)({locale:n,platform:i,playerType:o,videoCounter:r,isPersonalizedAdsEnabled:u,adParams:c,adTargetingOptOutStatus:d}),p=(0,l.encodeParamsObject)(f),g=p?"".concat(t.GOOGLE_ADS_URL,"?").concat(p):"";m("Build hero ad url resp: ",{rawParams:f,generatedAdUrl:g});var y=g;return"true"===(0,s.getQueryStringParam)("testad")&&(y=h),"true"===(0,s.getQueryStringParam)("noads")&&(y=""),y}},9104:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.experimentAdParamKeySuffix=t.ACTIVE_EXPERIMENTS=void 0,t.ACTIVE_EXPERIMENTS={dynamicModule:{featureKey:"dynamic-module",experimentCookieName:"experiment_2",hasSeenPageUnderTestEvent:"dynamicModulePageSeen",sessionStorageKey:"has_seen_dynamic_module_page",adCustParamKeyPrefix:"dynamicModules",experimentLabel:"dynamicModules"},currentLayout:{featureKey:"current-layout",experimentCookieName:"experiment_2",hasSeenPageUnderTestEvent:"currentLayoutPageSeen",sessionStorageKey:"has_seen_current_layout_page",adCustParamKeyPrefix:"currentLayout",experimentLabel:"currentLayout"}},t.experimentAdParamKeySuffix="_web_experiment_all_ad_pos"},7044:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getExperimentAdParams=t.getExperimentAdParam=void 0;var i=n(8750),o=n(2373),a=n(9104);t.getExperimentAdParam=function(e,t){var n,r,l=a.ACTIVE_EXPERIMENTS[e],s=(0,i.extractCookieFromWindow)(l.experimentCookieName);if(!s||!s.includes(l.experimentLabel)||!sessionStorage.getItem(l.sessionStorageKey))return{};var u=null!=(r=o.platformToCustParamPlatformMap[t])?r:t;return(n={})["".concat(l.adCustParamKeyPrefix).concat(a.experimentAdParamKeySuffix)]="ALL_".concat(s.replace("".concat(l.experimentLabel,"-"),""),"_").concat(u),n},t.getExperimentAdParams=function(e){var n={};return Object.entries(a.ACTIVE_EXPERIMENTS).forEach(function(i){var o=i[0];n=r(r({},n),(0,t.getExperimentAdParam)(o,e))}),n}},1810:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};
1Object.defineProperty(t,"__esModule",{value:!0}),i(n(9399),t),i(n(227),t)},227:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VideoPlayerTypes=t.AdSizeTypes=void 0,(t.AdSizeTypes||(t.AdSizeTypes={})).PREROLL_AD_SIZE="640x480",(t.VideoPlayerTypes||(t.VideoPlayerTypes={})).HERO_PLAYER="hero-player"},393:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.sendHeartBeatAnalytics=t.sendViewEventAnalytics=t.sendClickEventAnalytics=t.sendWebPageViewAnalytics=t.sendAppScreenViewAnalytics=t.setEventName=void 0;var i,o=n(1491),a=n(7068),l=n(5532),s=n(8593);t.setEventName=function(e){i=e},t.sendAppScreenViewAnalytics=function(e){var t,n=e.placeCode,u=e.pageTitle,c=e.appVersion,d=e.customDimensions,f=e.analyticsLabel,p=(0,o.getConfig)();p.ANALYTICS_ENABLED&&(0,a.publishAnalyticEvent)({action:l.AnalyticEventActionTypes.SCREEN_VIEWS,data:{app_name:p.PRODUCT_NAME,app_version:c,screen_name:"".concat(p.PRODUCT_NAME," - ").concat(u),custom_dimensions:r({pelmorexProduct:p.PRODUCT_NAME,placeCode:n,wxEventName:i},d)},messageDataV2:((t={})[s.ParameterKey.PageName]=s.Product.WeatherHighlights+": "+f,t[s.ParameterKey.ProductView]=f,t),messageDataV3:{screenName:"weatherDetails.weatherHighlights"},eventName:s.EventName.View,messageType:a.PostMessageTypes.PAGE_VIEW_EVENT})},t.sendWebPageViewAnalytics=function(e){var t,n=e.pageTitle,u=e.placeCode,c=e.appVersion,d=e.pageLocation,f=e.pagePath,p=e.customDimensions,h=e.analyticsLabel,m=(0,o.getConfig)();m.ANALYTICS_ENABLED&&(0,a.publishAnalyticEvent)({action:l.AnalyticEventActionTypes.PAGE_VIEW,data:{page_title:"".concat(m.PRODUCT_NAME," - ").concat(n)||("u">typeof document?document.title:""),page_location:d||("u">typeof window?window.location.href:""),page_path:"/"+(f||("u">typeof window?window.location.pathname:"")).replace(/^\/+/,""),custom_dimensions:r({pelmorexProduct:"weatherHighlights",placeCode:u,wxEventName:i},p),appVersion:c},messageDataV2:((t={})[s.ParameterKey.PageName]=s.Product.WeatherHighlights+": "+h,t[s.ParameterKey.ProductView]=h,t),eventName:s.EventName.View,messageType:a.PostMessageTypes.PAGE_VIEW_EVENT})},t.sendClickEventAnalytics=function(e){var t,n,r=e.label,u=e.appVersion,c=e.category,d=e.customDimensions,f=e.analyticsLabel,p=e.urlTitle,h=(0,o.getConfig)();h.ANALYTICS_ENABLED&&(0,a.publishAnalyticEvent)({action:l.AnalyticEventActionTypes.CLICKS,data:{event_category:[h.PRODUCT_NAME,c,i].filter(Boolean).join(" | "),event_label:r,value:1,non_interactive:!1,appVersion:u,custom_dimensions:d||{}},messageDataV2:((t={})[s.ParameterKey.ProductView]=f,t[s.ParameterKey.ModuleName]=s.EventModuleName.WeatherHighlightsArticleLink,t[s.ParameterKey.ModuleText]=p,t),messageDataV3:((n={})[s.ParameterKey.ModuleName]=s.EventModuleName.WeatherHighlights,n.moduleCategory="weatherDetails",n[s.ParameterKey.ModuleText]=p,n.actionSponsoredElement=!1,n.actionElement="button",n),eventName:s.EventName.Click,messageType:a.PostMessageTypes.ANALYTIC_EVENT})},t.sendViewEventAnalytics=function(e){var t,n,r=e.label,u=e.appVersion,c=e.category,d=e.customDimensions,f=e.analyticsLabel,p=e.urlTitle,h=(0,o.getConfig)();h.ANALYTICS_ENABLED&&(0,a.publishAnalyticEvent)({action:l.AnalyticEventActionTypes.VIEWS,data:{event_category:[h.PRODUCT_NAME,c,i].filter(Boolean).join(" | "),event_label:r,value:1,non_interactive:!0,appVersion:u,custom_dimensions:d||{}},messageDataV2:((t={})[s.ParameterKey.ProductView]=f,t[s.ParameterKey.ModuleName]=s.EventModuleName.WeatherHighlightsArticleLink,t[s.ParameterKey.ModuleText]=p,t),messageDataV3:((n={})[s.ParameterKey.ModuleName]=s.EventModuleName.WeatherHighlights,n.moduleCategory="weatherDetails",n[s.ParameterKey.ModuleText]=p,n.actionSponsoredElement=!1,n.actionElement="button",n),eventName:s.EventName.View,messageType:a.PostMessageTypes.ANALYTIC_EVENT})},t.sendHeartBeatAnalytics=function(e){var t=e.appVersion,n=(0,o.getConfig)();n.ANALYTICS_ENABLED&&(0,a.publishAnalyticEvent)({action:l.AnalyticEventActionTypes.HEARTBEAT,data:{event_category:[n.PRODUCT_NAME,i].filter(
1Boolean).join(" | "),event_label:"heartbeat",value:1,non_interactive:!0,appVersion:t,custom_dimensions:{}}})}},5532:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.AnalyticEventActionTypes=void 0,(n=t.AnalyticEventActionTypes||(t.AnalyticEventActionTypes={})).VIEWS="views",n.CLICKS="clicks",n.SCREEN_VIEWS="screen_view",n.PAGE_VIEW="page_view",n.SWIPES="swipes",n.HEARTBEAT="heartbeat"},6014:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.encodeParamsObject=t.getButtonBaseUrl=t.getMissingRequiredFields=t.hasAllRequiredFields=t.isRunningVersionOrNewer=t.isRunningAppVersionOne=t.generateRandString=t.isAppPlatform=t.isIosPlatform=t.isAndroidPlatform=t.isWebPlatforms=t.isWebNonMobilePlatform=t.isWebMobilePlatform=t.isWebTabletPlatform=t.isWebDesktopPlatform=t.isEnglishLocale=t.isFrenchLocale=t.getLocaleWithoutCountrySuffix=t.getSanitizedLocale=t.getAccountIdByLocale=t.isWindowAvailable=void 0;var o=n(4435),a=n(1491),l=n(9251),s=n(4871);i(n(4871),t),t.isWindowAvailable=function(){return"u">typeof window},t.getAccountIdByLocale=function(e){return(0,t.isFrenchLocale)(e)?l.BC_FR_ACCOUNT_ID:l.BC_EN_ACCOUNT_ID},t.getSanitizedLocale=function(e){return e?(0,t.isFrenchLocale)(e)?s.LocaleByCountry.FRCA:s.LocaleByCountry.ENCA:null},t.getLocaleWithoutCountrySuffix=function(e){switch(e?e.toLowerCase():""){case s.LocaleByCountry.FRCA.toLowerCase():return s.LocaleWithoutCountry.FR;case s.LocaleByCountry.ENCA.toLowerCase():return s.LocaleWithoutCountry.EN;default:return null}},t.isFrenchLocale=function(e){return e&&e.includes(s.LocaleWithoutCountry.FR)},t.isEnglishLocale=function(e){return e&&e.includes(s.LocaleWithoutCountry.EN)},t.isWebDesktopPlatform=function(e){return e&&e.includes(s.PlatformTypes.WEB_DESKTOP)},t.isWebTabletPlatform=function(e){return e&&e.includes(s.PlatformTypes.WEB_TABLET)},t.isWebMobilePlatform=function(e){return e&&e.includes(s.PlatformTypes.WEB_MOBILE)},t.isWebNonMobilePlatform=function(e){return(0,t.isWebDesktopPlatform)(e)||(0,t.isWebTabletPlatform)(e)},t.isWebPlatforms=function(e){return(0,t.isWebDesktopPlatform)(e)||(0,t.isWebTabletPlatform)(e)||(0,t.isWebMobilePlatform)(e)},t.isAndroidPlatform=function(e){return e&&e.includes(s.PlatformTypes.ANDROID)},t.isIosPlatform=function(e){return e&&e.includes(s.PlatformTypes.IOS)},t.isAppPlatform=function(e){return(0,t.isAndroidPlatform)(e)||(0,t.isIosPlatform)(e)},t.generateRandString=function(e){for(var t=e.min,n=e.max,r=e.length||20,i="";i.length<r;)i+=Math.floor(Math.random()*(n-t+1))+t;return i.slice(0,r)},t.isRunningAppVersionOne=function(e){return(0,o.isNil)(e)||(0,o.isEmpty)(e)||e===s.AppVersions.V1},t.isRunningVersionOrNewer=function(e){var t=e.minVersion,n=e.runningVersion,r=Object.values(s.AppVersions).sort(),i=r.findIndex(function(e){return e===t});return i>=0&&r.slice(i).includes(n)},t.hasAllRequiredFields=function(e){var t=e.requiredFields,n=e.obj;return!(0,o.isNil)(n)&&!(0,o.isEmpty)(n)&&t.every(function(e){return!((0,o.isNil)(n[e])||(0,o.isEmpty)(n[e]))})},t.getMissingRequiredFields=function(e){var t=e.requiredFields,n=e.obj;return t.filter(function(e){return(0,o.isNil)(n[e])||(0,o.isEmpty)(n[e])})},t.getButtonBaseUrl=function(e){var n=e.locale,r=(0,a.getConfig)();return(0,t.isEnglishLocale)(n)?r.TWN_BASE_URL:r.MM_BASE_URL},t.encodeParamsObject=function(e){return"object"!=typeof e||(0,o.isNil)(e)?"":Object.entries(e).map(function(e){var t=e[0],n=e[1];return"object"==typeof n?"".concat(t,"=").concat(encodeURIComponent(Object.entries(n).map(function(e){var t=e[0],n=e[1];return"".concat(t,"=").concat(encodeURIComponent(n))}).join("&"))):"".concat(t,"=").concat(encodeURIComponent(n))}).join("&")}},1404:(e,t)=>
1{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getQueryStringParam=void 0,t.getQueryStringParam=function(e){if("u"<typeof window)return null;var t=window.location.search.split("?");if(2!==t.length)return null;var n=t[1].split("&")||null;if(n){var r=n.find(function(t){return t.toLowerCase().split("=")[0]===e});return r&&r.split("=")[1]||null}return null}},4871:(e,t)=>{"use strict";var n,r,i,o,a;Object.defineProperty(t,"__esModule",{value:!0}),t.AppVersions=t.PlatformTypes=t.LocaleWithoutCountry=t.LocaleByCountry=t.NODE_ENVIRONMENTS=void 0,(a=t.NODE_ENVIRONMENTS||(t.NODE_ENVIRONMENTS={})).PRODUCTION="production",a.DEVELOPMENT="development",a.STAGING="staging",a.TEST="test",a.INTEGRATION="integration",a.LOCAL="local",(o=t.LocaleByCountry||(t.LocaleByCountry={})).ENCA="en-CA",o.FRCA="fr-CA",(i=t.LocaleWithoutCountry||(t.LocaleWithoutCountry={})).EN="en",i.FR="fr",(r=t.PlatformTypes||(t.PlatformTypes={})).WEB_MOBILE="webmobile",r.WEB_TABLET="webtablet",r.WEB_DESKTOP="webdesktop",r.IOS="ios",r.ANDROID="android",(n=t.AppVersions||(t.AppVersions={})).V1="v1",n.V2="v2",n.V3="v3",n.V4="v4",n.V5="v5"},8750:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getServerCookie=t.setServerCookie=t.extractCookieFromWindow=void 0;var n=function(e,t){var n,r;return null!=(r=null==(n=e.split(";").map(function(e){return e.trim()}).find(function(e){return 0===e.indexOf(t)}))?void 0:n.split("=")[1])?r:""};t.extractCookieFromWindow=function(e){return n(window.document.cookie,e)},t.setServerCookie=function(e,t,n){var r=e.getHeader("Set-Cookie"),i=[];"string"==typeof r?i.push(r):Array.isArray(r)&&i.push.apply(i,r),i.push("".concat(t,"=").concat(n,"; secure")),e.setHeader("Set-Cookie",i)},t.getServerCookie=function(e,t){return n(e.headers.cookie||"",t)}},8827:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.initializeLogger=t.getModuleErrorsByType=t.getModuleErrors=t.createModErrorLogger=t.getLogs=t.createLogger=t.createLogPrinter=t.slugify=t.hasWindowObject=t.windowModErrKey=t.windowLogsKey=void 0;var i=n(4435),o=n(1404),a=n(6622),l={logs:{},modErrLogs:{}},s={};t.windowLogsKey="twnLogger",t.windowModErrKey="twnModErr",t.hasWindowObject=function(){return"object"==typeof window},t.slugify=function(e){return e.replace(/\s{2,}/g," ").replace(/\W*/,"").replace(/\s/g,"_").toLowerCase()},t.createLogPrinter=function(e){return function(t){for(var n=0,i=Object.entries(f(e,t));n<i.length;n++){var o=i[n],a=o[0],l=o[1];if(l.length){console.group(a);for(var s=0;s<l.length;s++){var u=l[s],c=u.filter(function(e){return e instanceof Error}),d=r(r([],u.filter(function(e){return!(e instanceof Error)}),!0),c,!0);d.length&&(c.length?console.error.apply(console,r([d[0]],d.slice(1),!1)):console.info.apply(console,r([d[0]],d.slice(1),!1)))}console.groupEnd()}}}},t.createLogger=function(e){if("true"!==(0,o.getQueryStringParam)("debug"))return function(){};var n=(0,t.slugify)(e);return p(t.windowLogsKey,{logs:l.logs,printLogs:(0,t.createLogPrinter)(l.logs)}),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];h(n,a.LogManagerField.LOGS),l.logs[n].push(e)}},t.getLogs=function(e){return(void 0===e?{isSSR:!1}:e).isSSR?JSON.stringify(l.logs):l.logs},t.createModErrorLogger=function(e){var n=(0,t.slugify)(e);return p(t.windowModErrKey,{logs:l.modErrLogs,subscribe:u}),{captureModErr:function(e,t){void 0===t&&(t=a.ModErrorLevel.FATAL),h(n,a.LogManagerField.MOD_ERR_LOGS),l.modErrLogs[n].push({level:t,message:e}),c(a.ModEventNames.CHANGE)},removeModErr:function(t){if(h(n,a.LogManagerField.MOD_ERR_LOGS),(l.modErrLogs[n]||[]).findIndex(function(e){return e.message.includes(t)})>=0){var r=(l.modErrLogs[n]||[]).filter(function(e){return!e.message.includes(t)});l.modErrLogs[e]=r,c(a.ModEventNames.CHANGE)}}}},t.getModuleErrors=function(e){return(void 0===e?{isSSR:!1}:e).isSSR?JSON.stringify(l.modErrLogs):l.modErrLogs},t.getModuleErrorsByType=function(e){return Object.values((0,t.getModuleErrors)()).reduce(function(t,n){return n.filter(function(t){return t.level===e}
1).forEach(function(e){var n=e.message;t.includes(n)||t.push(n)}),t},[])},t.initializeLogger=function(e){var n=void 0===e?{}:e,r=n.logs,i=n.modErrLogs,o=d(r),a=d(i);if((0,t.hasWindowObject)()){for(var s=0,u=Object.entries(o);s<u.length;s++){var c=u[s],f=c[0],p=c[1];l.logs[f]=p}for(var h=0,m=Object.entries(a);h<m.length;h++){var g=m[h];f=g[0],p=g[1],l.modErrLogs[f]=p}}else l.logs=o,l.modErrLogs=a};var u=function(e,t){Array.isArray(s[e])||(s[e]=[]);var n=s[e].length;return s[e].push(t),function(){s[e].slice(n,1)}},c=function(e){Array.isArray(s[e])&&s[e].forEach(function(e){e(l.modErrLogs)})},d=function(e){var t={};try{return"string"==typeof e?JSON.parse(e):t}catch(e){return t}},f=function(e,t){return t?Object.entries(e).reduce(function(e,n){var r=n[0],i=n[1];return r.includes(t)&&(e[r]=i),e},{}):e},p=function(e,n){(0,t.hasWindowObject)()&&(0,i.isNil)(window[e])&&(window[e]=n)},h=function(e,t){l[t][e]||(l[t][e]=[])}},6622:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.LogManagerField=t.ModEventNames=t.ModErrorLevel=void 0,(r=t.ModErrorLevel||(t.ModErrorLevel={})).WARNING="warning",r.FATAL="fatal",(t.ModEventNames||(t.ModEventNames={})).CHANGE="change",(n=t.LogManagerField||(t.LogManagerField={})).LOGS="logs",n.MOD_ERR_LOGS="modErrLogs"},7068:function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.publishBackButtonClickEvent=t.publishWindowSize=t.publishAnalyticEvent=t.PostMessageButtonTypes=t.PostMessageTypes=void 0;var o,a,l=n(6014),s=n(8827),u=n(8593),c=(0,s.createLogger)("Post Message");(r=o=t.PostMessageTypes||(t.PostMessageTypes={})).ANALYTIC_EVENT="ANALYTIC_EVENT",r.BUTTON_CLICK_EVENT="BUTTON_CLICK_EVENT",r.WINDOW_SIZE_EVENT="WINDOW_SIZE_EVENT",r.PAGE_VIEW_EVENT="PAGE_VIEW",(a=t.PostMessageButtonTypes||(t.PostMessageButtonTypes={})).BACK_BUTTON="BACK_BUTTON";var d=function(e){var t=e.messageType,n=e.messageData,r=e.messageDataV2,i=e.messageDataV3,o=e.eventName;if((window.parent||window).postMessage){var a=n.action||n.type;c("Posting message: ".concat(t),a,n);var l={messageType:t,messageData:n};o&&(l.eventName=o),r&&(l.messageDataV2=r),i&&(l.messageDataV3=i),window.parent.postMessage(JSON.stringify(l),"*")}};t.publishAnalyticEvent=function(e){var t,n=e.action,r=e.data,a=e.messageDataV2,l=e.messageDataV3,s=e.eventName,c=e.messageType;d({messageData:i({action:n},r),eventName:s,messageDataV2:i(((t={})[u.ParameterKey.PelmorexProduct]=u.Product.WeatherHighlights,t),a),messageDataV3:i({product:u.Product.WeatherHighlights,category:"weatherDetails"},l),messageType:c||o.ANALYTIC_EVENT})},t.publishWindowSize=function(){if((0,l.isWindowAvailable)()){var e={width:window.innerWidth,height:window.outerHeight};d({messageType:o.WINDOW_SIZE_EVENT,messageData:e})}},t.publishBackButtonClickEvent=function(){d({messageType:o.BUTTON_CLICK_EVENT,messageData:{type:a.BACK_BUTTON}})}},2373:function(e,t,n){"use strict";var r,i,o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,l)}s((r=r.apply(e,t||[])).next())})},l=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){var u=[l,s];if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}
1,s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getCustParamsFromSearchParams=t.getAdParams=t.platformToCustParamPlatformMap=t.CustParamPlatformTypes=t.fetchAdParams=t.buildRequestUrl=t.REQUIRED_PARAMS=void 0;var u=s(n(4591)),c=n(6014),d=n(8827),f=n(6622),p=n(1491),h=n(1916),m=n(4435),g=(0,d.createLogger)("Get Ad Params"),y=(0,d.createModErrorLogger)(h.MOD_ERR_API_CALL_KEY),v=y.captureModErr,b=y.removeModErr,_="Ad calls will not include targeting information",E={placecode:"",adParams:null};t.REQUIRED_PARAMS=["placecode"],t.buildRequestUrl=function(e){var t=e.placecode,n=(0,p.getConfig)();return"".concat(n.ADPARAMS_BASE_URL,"/atrgt/v1/placecode/").concat(t)};var w,x=function(e,n){return void 0===n&&(n=0),a(void 0,void 0,void 0,function(){var r,i,o,a;return l(this,function(l){switch(l.label){case 0:if(r=null,++n>3)return g("Fetch params calls has exceeded max allowed retries (".concat(3,")")),[2];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,u.default.get((0,t.buildRequestUrl)({placecode:e}))];case 2:return i=l.sent(),r=(0,h.isSuccessfulResponse)(i.status)?i.data:null,b(_),[3,4];case 3:return o=l.sent(),g("Request failed after ".concat(n," retry"),o),v("".concat(_,". Reason: ").concat(o.message),f.ModErrorLevel.WARNING),[3,4];case 4:return r?[2,r]:(a=setTimeout(function(){x(e,n),a&&clearTimeout(a)},400*n),[2])}})})};t.fetchAdParams=function(e){return a(void 0,void 0,void 0,function(){var n;return l(this,function(r){var i;switch(r.label){case 0:return(0,c.hasAllRequiredFields)({requiredFields:t.REQUIRED_PARAMS,obj:{placecode:e}})||(0,h.throwMissingRequiredParamsError)({requiredFields:t.REQUIRED_PARAMS,obj:{placecode:e}}),e!==E.placecode&&(E.adParams=null,E.placecode=""),(0,m.isNil)(E.adParams)?[4,x(e)]:[2,E.adParams];case 1:return i=n=r.sent(),E.adParams=i,E.placecode=e,[2,n]}})})},(r=w=t.CustParamPlatformTypes||(t.CustParamPlatformTypes={})).WEB_DESKTOP="WebSite",r.WEB_TABLET="tabletwebsite",r.WEB_MOBILE="iPhoneAndroidMobileWeb",r.IOS="iPhoneApp",r.ANDROID="AndroidPhoneApp",(i={})[c.PlatformTypes.WEB_MOBILE]=w.WEB_MOBILE,i[c.PlatformTypes.WEB_TABLET]=w.WEB_TABLET,i[c.PlatformTypes.WEB_DESKTOP]=w.WEB_DESKTOP,i[
1c.PlatformTypes.ANDROID]=w.ANDROID,i[c.PlatformTypes.IOS]=w.IOS,t.platformToCustParamPlatformMap=i,t.getAdParams=function(e){var n=e.platform,r=e.isPersonalizedAdsEnabled,i=e.adParams,a=n?t.platformToCustParamPlatformMap[n]:null,l=r?o({},i):{};return o(o({},l),a?{platform:a.toLowerCase()}:{})},t.getCustParamsFromSearchParams=function(e){var t=new URLSearchParams(e).get("cust_params");if(!t)return{};var n=new URLSearchParams(t);return Array.from(n.keys()).reduce(function(e,t){return e[t]=n.get(t),e},{})}},4591:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(8938)),o=n(6014),a=r(n(8330));t.default=i.default.create({headers:{"Pelmorex-Client":a.default.name,"Pelmorex-Client-Subsystem":(0,o.isWindowAvailable)()?"client":"server","Pelmorex-Client-Version":a.default.version}})},1916:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.throwMissingRequiredParamsError=t.MissingRequiredParamsError=t.isNoContentResponse=t.isSuccessfulResponse=t.MOD_ERR_API_CALL_KEY=void 0;var o=n(7156),a=n(6014);t.MOD_ERR_API_CALL_KEY="Api Calls",t.isSuccessfulResponse=function(e){return e===o.HttpStatusCodes.OK},t.isNoContentResponse=function(e){return e===o.HttpStatusCodes.NO_CONTENT};var l=function(e){function t(t){var n=t.missingFields,r=e.call(this,"Missing required params ".concat(n.join(", ")))||this;return r.name="MissingRequiredParamsError",r.status=o.HttpStatusCodes.BAD_REQUEST,r.translatedErrorMessage="Missing required params ".concat(n.join(", ")),r}return i(t,e),t}(Error);t.MissingRequiredParamsError=l,t.throwMissingRequiredParamsError=function(e){var t=e.requiredFields,n=e.obj;throw new l({missingFields:(0,a.getMissingRequiredFields)({requiredFields:t,obj:n})})}},2278:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,l)}s((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){var u=[l,s];if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}
1,l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getEvent=t.buildGetEventUrl=t.FetchEventDataError=t.getTranslatedErrorMessage=t.REQUIRED_QUERY_ARGS=void 0;var s=l(n(4591)),u=l(n(4353));n(5826),n(813);var c=l(n(6279));u.default.extend(c.default);var d=n(6014),f=n(93),p=n(7156),h=n(8827),m=n(1491),g=n(4435),y=n(1916),v=(0,h.createLogger)("Get Event"),b=(0,h.createModErrorLogger)(y.MOD_ERR_API_CALL_KEY),_=b.captureModErr,E=b.removeModErr;t.REQUIRED_QUERY_ARGS=["locale","platform","eid","placecode"];var w="Could not fetch event data (check that the market is correct and the polygon(s) is drawn properly)";t.getTranslatedErrorMessage=function(e){var t=e.status,n=e.locale,r=(0,f.getTranslationsForLocale)(n||d.LocaleByCountry.ENCA);switch(t){case p.HttpStatusCodes.NO_CONTENT:return r.errorMessageNoContent;case p.HttpStatusCodes.NOT_FOUND:return r.errorMessageNotFound;case p.HttpStatusCodes.BAD_REQUEST:return r.errorMessageBadRequest;default:return r.errorMessageServiceUnavailable}};var x=function(e){function t(t){var n=t.status,r=t.translatedErrorMessage,i=e.call(this,"Get event data error")||this;return i.name="FetchEventDataError",i.status=n,i.translatedErrorMessage=r,i}return i(t,e),t}(Error);t.FetchEventDataError=x,t.buildGetEventUrl=function(e){var t=e.eventId,n=e.locale,r=e.isPreviewEnabled,i=(0,m.getConfig)(),o="".concat(i.MAIN_API_BASE_URL,"/severe-weather/v4/get-weather-highlight-event/").concat(n,"/").concat(t);return r&&(o+="?p=true"),o},t.getEvent=function(e){var n=e.queryArgs,r=e.isSsrRendered,i=e.hostUrl;return o(void 0,void 0,void 0,function(){return a(this,function(e){switch(e.label){case 0:return(0,m.loadConfig)({isSsrRendered:!!(0,g.isNil)(r)||r,hostUrl:i}),[4,Promise.all([o(void 0,void 0,void 0,function(){var e,r,i,o,l,c,f;return a(this,function(a){switch(a.label){case 0:(0,d.hasAllRequiredFields)({requiredFields:t.REQUIRED_QUERY_ARGS,obj:n})||(0,y.throwMissingRequiredParamsError)({requiredFields:t.REQUIRED_QUERY_ARGS,obj:n}),e={locale:(0,d.getSanitizedLocale)(n.locale),eventId:n.eid,isPreviewEnabled:n.p&&"true"===n.p.toLowerCase()},a.label=1;case 1:return a.trys.push([1,3,,4]),v("Fetching event from endpoint: ",i=(0,t.buildGetEventUrl)(e)),[4,s.default.get(i)];case 2:return r=a.sent(),E(w),[3,4];case 3:throw l=(o=a.sent()).response,v("Get event axios request error: ",o.message),_("".concat(w,". Reason: ").concat(o.message)),new x({status:l&&l.status||503,translatedErrorMessage:(0,t.getTranslatedErrorMessage)({status:l&&l.status||503,locale:e.locale})});case 4:if(c=r.data,v("get event resp status: ",f=r.status),v("event: ",c),!(0,y.isSuccessfulResponse)(f))throw _("".concat(w,". Reason: severe weather API returned ").concat(f," status code")),new x({status:204,translatedErrorMessage:(0,t.getTranslatedErrorMessage)({status:f,locale:e.locale})});return c.updatedAt=(0,u.default)().locale((0,d.getLocaleWithoutCountrySuffix)(e.locale)).to((0,u.default)(c.updatedAt)).toUpperCase(),[2,c]}})})])];case 1:return[2,e.sent()[0]]}})})}},7156:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HttpStatusCodes=void 0,(n=t.HttpStatusCodes||(t.HttpStatusCodes={}))[n.OK=200]="OK",n[n.NO_CONTENT=204]="NO_CONTENT",n[n.BAD_REQUEST=400]="BAD_REQUEST",n[n.NOT_FOUND=404]="NOT_FOUND"},1063:(e,t,n)=>{"use strict";var r=n(2015),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,l=r.useLayoutEffect,s=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return l(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),a(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},9888:(e,t,n)=>{"use strict";e.exports=n(1063)},8938:e=>{"use strict";e.exports=n(42797)}
1,4435:e=>{"use strict";e.exports=n(78034)},2015:e=>{"use strict";e.exports=n(56493)},2920:e=>{"use strict";e.exports=n(98152)},3421:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>nu,uriTransformer:()=>a});var r={};n.r(r),n.d(r,{attentionMarkers:()=>e6,contentInitial:()=>eX,disable:()=>e5,document:()=>eZ,flow:()=>e1,flowInitial:()=>e0,insideSpan:()=>e3,string:()=>e2,text:()=>e4});var i={};n.r(i),n.d(i,{boolean:()=>tI,booleanish:()=>tj,commaOrSpaceSeparated:()=>tU,commaSeparated:()=>tH,number:()=>tB,overloadedBoolean:()=>tV,spaceSeparated:()=>tF});let o=["http","https","mailto","tel"];function a(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;let r=t.indexOf(":");if(-1===r)return t;let i=-1;for(;++i<o.length;){let e=o[i];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return -1!==(i=t.indexOf("?"))&&r>i||-1!==(i=t.indexOf("#"))&&r>i?t:"javascript:void(0)"}var l=n(2015),s=n(7206);function u(e){return e&&"object"==typeof e?"position"in e||"type"in e?d(e.position):"start"in e||"end"in e?d(e):"line"in e||"column"in e?c(e):"":""}function c(e){return f(e&&e.line)+":"+f(e&&e.column)}function d(e){return c(e&&e.start)+"-"+c(e&&e.end)}function f(e){return e&&"number"==typeof e?e:1}
1class p extends Error{constructor(e,t,n){const r=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=u(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}p.prototype.file="",p.prototype.name="",p.prototype.reason="",p.prototype.message="",p.prototype.stack="",p.prototype.fatal=null,p.prototype.column=null,p.prototype.line=null,p.prototype.source=null,p.prototype.ruleId=null,p.prototype.position=null;let h=function(e,t){if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');v(e);let n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,l=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),l>-1&&(e.charCodeAt(o)===t.charCodeAt(l--)?l<0&&(i=o):(l=-1,i=a));return r===i?i=a:i<0&&(i=e.length),e.slice(r,i)},m=function(e){if(v(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},g=function(e){v(e);let t,n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){let l=e.charCodeAt(n);if(47!==l)r<0&&(t=!0,r=n+1),46===l?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=n+1;break}}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":e.slice(o,r)},y=function(...e){var t;let n,r,i,o=-1;for(;++o<e.length;)v(e[o]),e[o]&&(i=void 0===i?e[o]:i+"/"+e[o]);return void 0===i?".":(v(t=i),n=47===t.charCodeAt(0),0!==(r=function(e,t){let n,r,i="",o=0,a=-1,l=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(a===s-1||1===l);else if(a!==s-1&&2===l){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=s,l=0;continue}}else if(i.length>0){i="",o=0,a=s,l=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,s):i=e.slice(a+1,s),o=s-a-1;a=s,l=0}else 46===n&&l>-1?l++:l=-1}return i}(t,!n)).length||n||(r="."),r.length>0&&47===t.charCodeAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function v(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function b(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let _=["history","path","basename","stem","extname","dirname"];class E{constructor(e){let t;t=e?"string"==typeof e||function(e){return s(e)}(e)?{value:e}:b(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd="/",this.value,this.stored,this.result,this.map;let n,r=-1;for(;++r<_.length;){const e=_[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)_.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){b(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!b(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){let e=t.charCodeAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),x(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?m(this.path):void 0}set dirname(e){P(this.basename,"dirname"),this.path=y(e||"",this.basename)}get basename(){return"string"==typeof this.path?h(this.path):void 0}
1set basename(e){x(e,"basename"),w(e,"basename"),this.path=y(this.dirname||"",e)}get extname(){return"string"==typeof this.path?g(this.path):void 0}set extname(e){if(w(e,"extname"),P(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=y(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?h(this.path,this.extname):void 0}set stem(e){x(e,"stem"),w(e,"stem"),this.path=y(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){let r=new p(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}}function w(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function x(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function P(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function O(e){if(e)throw e}var S=n(2849);function k(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}let A=(function e(){let t,n,r=(t=[],n={run:function(...e){let n=-1,r=e.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(o,...a){let l=t[++n],s=-1;if(o)r(o);else{for(;++s<e.length;)null!==a[s]&&void 0!==a[s]||(a[s]=e[s]);e=a,l?(function(e,t){let n;return function(...t){let o,a=e.length>t.length;a&&t.push(r);try{o=e.apply(this,t)}catch(e){if(a&&n)throw e;return r(e)}a||(o&&o.then&&"function"==typeof o.then?o.then(i,r):o instanceof Error?r(o):i(o))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(l,i)(...a):r(null,...a)}}(null,...e)},use:function(e){if("function"!=typeof e)throw TypeError("Expected `middelware` to be a function, not "+e);return t.push(e),n}}),i=[],o,a={},l=-1;return u.data=function(e,t){return"string"==typeof e?2==arguments.length?(L("data",o),a[e]=t,u):T.call(a,e)&&a[e]||null:e?(L("data",o),a=e,u):a},u.Parser=void 0,u.Compiler=void 0,u.freeze=function(){if(o)return u;for(;++l<i.length;){let[e,...t]=i[l];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(u,...t);"function"==typeof n&&r.use(n)}return o=!0,l=1/0,u},u.attachers=i,u.use=function(e,...t){let n;if(L("use",o),null==e);else if("function"==typeof e)s(e,...t);else{if("object"!=typeof e)throw TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?l(e):r(e)}return n&&(a.settings=Object.assign(a.settings||{},n)),u;function r(e){l(e.plugins),e.settings&&(n=Object.assign(n||{},e.settings))}function l(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)!function(e){if("function"==typeof e)s(e);else{if("object"!=typeof e)throw TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){let[t,...n]=e;s(t,...n)}else r(e)}}(e[t])}}function s(e,t){let n,r=-1;for(;++r<i.length;)if(i[r][0]===e){n=i[r];break}n?(k(n[1])&&k(t)&&(t=S(!0,n[1],t)),n[1]=t):i.push([...arguments])}},u.parse=function(e){u.freeze();let t=I(e),n=u.Parser;return M("parse",n),C(n,"parse")?new n(String(t),t).parse():n(String(t),t)},u.stringify=function(e,t){u.freeze();let n=I(t),r=u.Compiler;return N("stringify",r),D(e),C(r,"compile")?new r(e,n).compile():r(e,n)},u.run=function(e,t,n){if(D(e),u.freeze(),n||"function"!=typeof t||(n=t,t=void 0),!n)return new Promise(i);function i(i,o){r.run(e,I(t),function(t,r,a){r=r||e,t?o(t):i?i(r):n(null,r,a)})}i(null,n)},u.runSync=function(e,t){let n,r;return u.run(e,t,function(e,t){O(e),n=t,r=!0}),R("runSync","run",r),n},u.process=function(e,t){if(u.freeze(),M("process",u.Parser),N("process",u.Compiler),!t)return new Promise(n);function n(n,r){let i=I(e);function o(e,i){e||!i?r(e):n?n(i):t(null,i)}u.run(u.parse(i),i,(e,t,n)=>{if(!e&&t&&n){let r=u.stringify(t,n);null==r||("string"==typeof r||s(r)?n.value=r:n.result=r),o(e,n)}else o(e)})}n(null,t)},u.processSync=function(e){let t;u.freeze(),M("processSync",u.Parser),N("processSync",u.Compiler);let n=I(e);return u.process(n,function(e){t=!0,O(e)}),R("processSync","process",t),n},u;function u(){let t=e(),n=-1;for(;++n<i.length;)t.use(...i[n]);return t.data(S(!0,{},a)),t}})().freeze(),T={}.hasOwnProperty;function C(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(T.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function M(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `Parser`")}function N(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `Compiler`")}function L(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function D(e){if(!k(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function R(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function I(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new E(e)}let j={};
1function V(e,t,n){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return B(e.children,t,n)}return Array.isArray(e)?B(e,t,n):""}function B(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=V(e[i],t,n);return r.join("")}function F(e,t,n,r){let i=e.length,o,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)(o=Array.from(r)).unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)(o=r.slice(a,a+1e4)).unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function H(e,t){return e.length>0?(F(e,e.length,0,t),e):t}let U={}.hasOwnProperty,W=et(/[A-Za-z]/),z=et(/[\dA-Za-z]/),q=et(/[#-'*+\--9=?A-Z^-~]/);function K(e){return null!==e&&(e<32||127===e)}let Y=et(/\d/),G=et(/[\dA-Fa-f]/),$=et(/[!-/:-@[-`{-~]/);function Q(e){return null!==e&&e<-2}function J(e){return null!==e&&(e<0||32===e)}function Z(e){return -2===e||-1===e||32===e}let X=et(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),ee=et(/\s/);function et(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function en(e,t,n,r){let i=r?r-1:1/0,o=0;return function(r){return Z(r)?(e.enter(n),function r(a){return Z(a)&&o++<i?(e.consume(a),r):(e.exit(n),t(a))}(r)):t(r)}}let er={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null!==t)return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),en(e,n,"linePrefix");e.consume(t)},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){return null===r?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(r)):Q(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},ei={tokenize:function(e){let t=this,n=[],r,i,o,a=0;return l;function l(r){if(a<n.length){let i=n[a];return t.containerState=i[1],e.attempt(i[0].continuation,s,u)(r)}return u(r)}function s(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&y();let n=t.events.length,i,o=n;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}g(a);let l=n;for(;l<t.events.length;)t.events[l][1].end=Object.assign({},i),l++;return F(t.events,o+1,0,t.events.slice(n)),t.events.length=l,u(e)}return l(e)}function u(i){if(a===n.length){if(!r)return f(i);if(r.currentConstruct&&r.currentConstruct.concrete)return h(i);t.interrupt=!!(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(eo,c,d)(i)}function c(e){return r&&y(),g(a),f(e)}function d(e){return t.parser.lazy[t.now().line]=a!==n.length,o=t.now().offset,h(e)}function f(n){return t.containerState={},e.attempt(eo,p,h)(n)}function p(e){return a++,n.push([t.currentConstruct,t.containerState]),f(e)}function h(n){return null===n?(r&&y(),g(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:r}),function n(r){return null===r?(m(e.exit("chunkFlow"),!0),g(0),void e.consume(r)):Q(r)?(e.consume(r),m(e.exit("chunkFlow")),a=0,t.interrupt=void 0,l):(e.consume(r),n)}(n))}function m(e,n){let l=t.sliceStream(e);
1if(n&&l.push(null),e.previous=i,i&&(i.next=e),i=e,r.defineSkip(e.start),r.write(l),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<o&&(!r.events[e][1].end||r.events[e][1].end.offset>o))return;let n=t.events.length,i,l,s=n;for(;s--;)if("exit"===t.events[s][0]&&"chunkFlow"===t.events[s][1].type){if(i){l=t.events[s][1].end;break}i=!0}for(g(a),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},l),e++;F(t.events,s+1,0,t.events.slice(n)),t.events.length=e}}function g(r){let i=n.length;for(;i-- >r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function y(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},eo={tokenize:function(e,t,n){return en(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},ea={tokenize:function(e,t,n){return function(t){return Z(t)?en(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Q(e)?t(e):n(e)}},partial:!0};function el(e){let t={},n,r,i,o,a,l,s,u=-1;for(;++u<e.length;){for(;u in t;)u=t[u];if(n=e[u],u&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[u-1][1].type&&((i=0)<(l=n[1]._tokenizer.events).length&&"lineEndingBlank"===l[i][1].type&&(i+=2),i<l.length&&"content"===l[i][1].type))for(;++i<l.length&&"content"!==l[i][1].type;)"chunkText"===l[i][1].type&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,function(e,t){let n=e[t][1],r=e[t][2],i=t-1,o=[],a=n._tokenizer||r.parser[n.contentType](n.start),l=a.events,s=[],u={},c,d,f=-1,p=n,h=0,m=0,g=[0];for(;p;){for(;e[++i][1]!==p;);o.push(i),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),d&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(c),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<l.length;)"exit"===l[f][0]&&"enter"===l[f-1][0]&&l[f][1].type===l[f-1][1].type&&l[f][1].start.line!==l[f][1].end.line&&(m=f+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=l.slice(g[f],g[f+1]),n=o.pop();s.unshift([n,n+t.length-1]),F(e,n,2,t)}for(f=-1;++f<s.length;)u[h+s[f][0]]=h+s[f][1],h+=s[f][1]-s[f][0]-1;return u}(e,u)),u=t[u],s=!0);else if(n[1]._container){for(i=u,r=void 0;i--&&("lineEnding"===(o=e[i])[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(r&&(e[r][1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);r&&(n[1].end=Object.assign({},e[r][1].start),(a=e.slice(r,u)).unshift(n),F(e,r,u-r+1,a))}}return!s}let es={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):Q(t)?e.check(eu,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return el(e),e}},eu={tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),en(e,i,"linePrefix")};function i(i){if(null===i||Q(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0},ec={tokenize:function(e){let t=this,n=e.attempt(ea,function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)},e.attempt(this.parser.constructs.flowInitial,r,en(e,e.attempt(this.parser.constructs.flow,r,e.attempt(es,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},ed={resolveAll:em()},ef=eh("string"),ep=eh("text");function eh(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return s(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),l;t.consume(e)}function l(e){return s(e)?(t.exit("data"),i(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:em("text"===e?eg:void 0)}}function em(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function eg(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r=e[n-1][1],i=t.sliceStream(r),o,a=i.length,l=-1,s=0;for(;a--;){let e=i[a];if("string"==typeof e){for(l=e.length;32===e.charCodeAt(l-1);)s++,l--;if(l)break;l=-1}else if(-2===e)o=!0,s++;else if(-1!==e){a++;break}}if(s){let i={type:n===e.length||o||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+a,_bufferIndex:a?l:r.start._bufferIndex+l},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}
1function ey(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}let ev={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){return e.enter("thematicBreak"),r=o,function o(a){return a===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),Z(n)?en(e,o,"whitespace")(n):o(n))}(a)):i>=3&&(null===a||Q(a))?(e.exit("thematicBreak"),t(a)):n(a)}(o)}}},eb={name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:Y(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(ev,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return Y(i)&&++a<10?(e.consume(i),t):(!r.interrupt||a<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),l(i)):n(i)}(t)}return n(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ea,r.interrupt?n:s,e.attempt(e_,c,u))}
1function s(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return Z(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(ea,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,en(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!Z(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eE,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,en(e,e.attempt(eb,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},e_={tokenize:function(e,t,n){let r=this;return en(e,function(e){let i=r.events[r.events.length-1];return!Z(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},eE={tokenize:function(e,t,n){let r=this;return en(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},ew={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return Z(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return Z(t)?en(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(ew,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function ex(e,t,n,r,i,o,a,l,s){let u=s||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),d):null===t||32===t||41===t||K(t)?n(t):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||Q(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(i){return c||null!==i&&41!==i&&!J(i)?c<u&&40===i?(e.consume(i),c++,h):41===i?(e.consume(i),c--,h):null===i||32===i||40===i||K(i)?n(i):(e.consume(i),92===i?m:h):(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(i))}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function eP(e,t,n,r,i,o){let a=this,l,s=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(d){return s>999||null===d||91===d||93===d&&!l||94===d&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):Q(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||Q(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),l||(l=!Z(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eO(e,t,n,r,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,l):n(t)};function l(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),s(n))}function s(t){return t===a?(e.exit(o),l(a)):null===t?n(t):Q(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),en(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||Q(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function eS(e,t){let n;return function r(i){return Q(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Z(i)?en(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function ek(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let eA={tokenize:function(e,t,n){return function(t){return J(t)?eS(e,r)(t):n(t)};function r(t){return eO(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return Z(t)?en(e,o,"whitespace")(t):o(t)}function o(e){return null===e||Q(e)?t(e):n(e)}},partial:!0},eT={name:"codeIndented",tokenize:function(e,t,n){let r=this;
1return function(t){return e.enter("codeIndented"),en(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):Q(n)?e.attempt(eC,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||Q(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},eC={tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):Q(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):en(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):Q(e)?i(e):n(e)}},partial:!0},eM={name:"setextUnderline",tokenize:function(e,t,n){let r,i=this;return function(t){let a,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){a="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),Z(n)?en(e,o,"lineSuffix")(n):o(n))}(t)):n(t)};function o(r){return null===r||Q(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a,e.push(["exit",a,t]),e}},eN=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eL=["pre","script","style","textarea"],eD={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ea,t,n)}},partial:!0},eR={tokenize:function(e,t,n){let r=this;return function(t){return Q(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eI={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},ej={name:"codeFenced",tokenize:function(e,t,n){let r=this,i={tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),Z(t)?en(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===o?(e.enter("codeFencedFenceSequence"),function t(r){return r===o?(i++,e.consume(r),t):i>=l?(e.exit("codeFencedFenceSequence"),Z(r)?en(e,u,"whitespace")(r):u(r)):n(r)}(t)):n(t)}function u(r){return null===r||Q(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},o,a=0,l=0;return function(t){let i;return a=(i=r.events[r.events.length-1])&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(r){return r===o?(l++,e.consume(r),t):l<3?n(r):(e.exit("codeFencedFenceSequence"),Z(r)?en(e,s,"whitespace")(r):s(r))}(t)};function s(i){return null===i||Q(i)?(e.exit("codeFencedFence"),r.interrupt?t(i):e.check(eI,c,h)(i)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(r){return null===r||Q(r)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(r)):Z(r)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),en(e,u,"whitespace")(r)):96===r&&r===o?n(r):(e.consume(r),t)}(i))}
1function u(t){return null===t||Q(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(r){return null===r||Q(r)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(r)):96===r&&r===o?n(r):(e.consume(r),t)}(t))}function c(t){return e.attempt(i,h,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return a>0&&Z(t)?en(e,p,"linePrefix",a+1)(t):p(t)}function p(t){return null===t||Q(t)?e.check(eI,c,h)(t):(e.enter("codeFlowValue"),function t(n){return null===n||Q(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("codeFenced"),t(n)}},concrete:!0},eV=document.createElement("i");function eB(e){let t="&"+e+";";eV.innerHTML=t;let n=eV.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let eF={name:"characterReference",tokenize:function(e,t,n){let r=this,i,o,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),i=31,o=z,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=G,u):(e.enter("characterReferenceValue"),i=7,o=Y,u(t))}function u(l){if(59===l&&a){let i=e.exit("characterReferenceValue");return o!==z||eB(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return o(l)&&a++<i?(e.consume(l),u):n(l)}}},eH={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return $(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},eU={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),en(e,t,"linePrefix")}}},eW={name:"labelEnd",tokenize:function(e,t,n){let r=this,i,o,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){i=r.events[a][1];break}return function(t){return i?i._inactive?c(t):(o=r.parser.defined.includes(ek(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(t){return 40===t?e.attempt(ez,u,o?u:c)(t):91===t?e.attempt(eq,u,o?s:c)(t):o?u(t):c(t)}function s(t){return e.attempt(eK,u,c)(t)}function u(e){return t(e)}function c(e){return i._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,i,o,a=e.length,l=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){l=2;break}}else"labelEnd"===n.type&&(i=a);let s={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},c={type:"labelText",start:Object.assign({},e[r+l+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=H(o=[["enter",s,t],["enter",u,t]],e.slice(r+1,r+l+3)),o=H(o,[["enter",c,t]]),o=H(o,ey(t.parser.constructs.insideSpan.null,e.slice(r+l+4,i-3),t)),o=H(o,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),o=H(o,e.slice(i+1)),o=H(o,[["exit",s,t]]),F(e,r,e.length,o),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){let n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},ez={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return J(t)?eS(e,i)(t):i(t)}function i(t){return 41===t?u(t):ex(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return J(t)?eS(e,l)(t):u(t)}function a(e){return n(e)}function l(t){return 34===t||39===t||40===t?eO(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return J(t)?eS(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},eq={tokenize:function(e,t,n){let r=this;return function(t){return eP.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(ek(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},eK={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},eY={name:"labelStartImage",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:eW.resolveAll};function eG(e){return null===e||J(e)||ee(e)?1:X(e)?2:void 0}let e$={name:"attention",tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=eG(i);return function(a){return n=a,e.enter("attentionSequence"),function a(l){if(l===n)return e.consume(l),a;let s=e.exit("attentionSequence"),u=eG(l),c=!u||2===u&&o||r.includes(l),d=!o||2===o&&u||r.includes(i);return s._open=!!(42===n?c:c&&(o||!d)),s._close=!!(42===n?d:d&&(u||!c)),t(l)}(a)}},resolveAll:function(e,t){let n,r,i,o,a,l,s,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
1n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let d=Object.assign({},e[n][1].end),f=Object.assign({},e[c][1].start);eQ(d,-l),eQ(f,l),o={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:f},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},a.end),s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=H(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=H(s,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),s=H(s,ey(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),s=H(s,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,s=H(s,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,F(e,n-1,c-n+3,s),c=n+s.length-u-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function eQ(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let eJ={name:"labelStartLink",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:eW.resolveAll},eZ={42:eb,43:eb,45:eb,48:eb,49:eb,50:eb,51:eb,52:eb,53:eb,54:eb,55:eb,56:eb,57:eb,62:ew},eX={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){return e.enter("definition"),eP.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return r=ek(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return J(t)?eS(e,l)(t):l(t)}function l(t){return ex(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(eA,u,u)(t)}function u(t){return Z(t)?en(e,c,"whitespace")(t):c(t)}function c(o){return null===o||Q(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},e0={[-2]:eT,[-1]:eT,32:eT},e1={35:{name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(i){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||J(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||Q(r)?(e.exit("atxHeading"),t(r)):Z(r)?en(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||J(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(i)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},F(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:ev,45:[eM,ev],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,i,o,a,l,s=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),i=!0,p):63===a?(e.consume(a),r=3,s.interrupt?t:N):W(a)?(e.consume(a),o=String.fromCharCode(a),h):n(a)}function c(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,a=0,f):W(i)?(e.consume(i),r=4,s.interrupt?t:N):n(i)}function d(r){return 45===r?(e.consume(r),s.interrupt?t:N):n(r)}function f(r){return r==="CDATA[".charCodeAt(a++)?(e.consume(r),6===a?s.interrupt?t:P:f):n(r)}function p(t){return W(t)?(e.consume(t),o=String.fromCharCode(t),h):n(t)}
1function h(a){if(null===a||47===a||62===a||J(a)){let l=47===a,u=o.toLowerCase();return l||i||!eL.includes(u)?eN.includes(o.toLowerCase())?(r=6,l?(e.consume(a),m):s.interrupt?t(a):P(a)):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(a):i?function t(n){return Z(n)?(e.consume(n),t):w(n)}(a):g(a)):(r=1,s.interrupt?t(a):P(a))}return 45===a||z(a)?(e.consume(a),o+=String.fromCharCode(a),h):n(a)}function m(r){return 62===r?(e.consume(r),s.interrupt?t:P):n(r)}function g(t){return 47===t?(e.consume(t),w):58===t||95===t||W(t)?(e.consume(t),y):Z(t)?(e.consume(t),g):w(t)}function y(t){return 45===t||46===t||58===t||95===t||z(t)?(e.consume(t),y):v(t)}function v(t){return 61===t?(e.consume(t),b):Z(t)?(e.consume(t),v):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,_):Z(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||J(n)?v(n):(e.consume(n),t)}(t)}function _(t){return t===l?(e.consume(t),l=null,E):null===t||Q(t)?n(t):(e.consume(t),_)}function E(e){return 47===e||62===e||Z(e)?g(e):n(e)}function w(t){return 62===t?(e.consume(t),x):n(t)}function x(t){return null===t||Q(t)?P(t):Z(t)?(e.consume(t),x):n(t)}function P(t){return 45===t&&2===r?(e.consume(t),A):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),L):63===t&&3===r?(e.consume(t),N):93===t&&5===r?(e.consume(t),M):Q(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eD,D,O)(t)):null===t||Q(t)?(e.exit("htmlFlowData"),O(t)):(e.consume(t),P)}function O(t){return e.check(eR,S,D)(t)}function S(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),k}function k(t){return null===t||Q(t)?O(t):(e.enter("htmlFlowData"),P(t))}function A(t){return 45===t?(e.consume(t),N):P(t)}function T(t){return 47===t?(e.consume(t),o="",C):P(t)}function C(t){if(62===t){let n=o.toLowerCase();return eL.includes(n)?(e.consume(t),L):P(t)}return W(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),C):P(t)}function M(t){return 93===t?(e.consume(t),N):P(t)}function N(t){return 62===t?(e.consume(t),L):45===t&&2===r?(e.consume(t),N):P(t)}function L(t){return null===t||Q(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),L)}function D(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:eM,95:ev,96:ej,126:ej},e2={38:eF,92:eH},e4={[-5]:eU,[-4]:eU,[-3]:eU,33:eY,38:eF,42:e$,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return W(t)?(e.consume(t),o):l(t)}function o(t){return 43===t||45===t||46===t||z(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||z(n))&&r++<32?(e.consume(n),t):(r=0,l(n))}(t)):l(t)}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||K(r)?n(r):(e.consume(r),a)}function l(t){return 64===t?(e.consume(t),s):q(t)?(e.consume(t),l):n(t)}function s(i){return z(i)?function i(o){return 46===o?(e.consume(o),r=0,s):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||z(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o,a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),_):63===t?(e.consume(t),v):W(t)?(e.consume(t),w):n(t)}function s(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,p):W(t)?(e.consume(t),y):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):Q(t)?(o=c,C(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?T(e):45===e?d(e):c(e)}function p(t){return t==="CDATA[".charCodeAt(i++)?(e.consume(t),6===i?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):Q(t)?(o=h,C(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?T(t):93===t?(e.consume(t),g):h(t)}function y(t){return null===t||62===t?T(t):Q(t)?(o=y,C(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):Q(t)?(o=v,C(t)):(e.consume(t),v)}function b(e){return 62===e?T(e):v(e)}function _(t){return W(t)?(e.consume(t),E):n(t)}function E(t){return 45===t||z(t)?(e.consume(t),E):function t(n){return Q(n)?(o=t,C(n)):Z(n)?(e.consume(n),t):T(n)}(t)}function w(t){return 45===t||z(t)?(e.consume(t),w):47===t||62===t||J(t)?x(t):n(t)}function x(t){return 47===t?(e.consume(t),T):58===t||95===t||W(t)?(e.consume(t),P):Q(t)?(o=x,C(t)):Z(t)?(e.consume(t),x):T(t)}function P(t){return 45===t||46===t||58===t||95===t||z(t)?(e.consume(t),P):function t(n){return 61===n?(e.consume(n),O):Q(n)?(o=t,C(n)):Z(n)?(e.consume(n),t):x(n)}(t)}function O(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,S):Q(t)?(o=O,C(t)):Z(t)?(e.consume(t),O):(e.consume(t),k)}function S(t){return t===r?(e.consume(t),r=void 0,A):null===t?n(t):Q(t)?(o=S,C(t)):(e.consume(t),S)}function k(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||J(t)?x(t):(e.consume(t),k)}function A(e){return 47===e||62===e||J(e)?x(e):n(e)}function T(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function C(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),M}function M(t){return Z(t)?en(e,N,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):N(t)}function N(t){return e.enter("htmlTextData"),o(t)}}}],91:eJ,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return Q(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eH],93:eW,95:e$,96:{name:"codeText",tokenize:function(e,t,n){let r,i,o=0;
1return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),a(n))}(t)};function a(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),a):96===s?(i=e.enter("codeTextSequence"),r=0,function n(a){return 96===a?(e.consume(a),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(a)):(i.type="codeTextData",l(a))}(s)):Q(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):(e.enter("codeTextData"),l(s))}function l(t){return null===t||32===t||96===t||Q(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),l)}},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},e3={null:[e$,ed]},e6={null:[42,95]},e5={null:[]},e8=/[\0\t\n\r]/g;function e9(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}let e7=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function te(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return e9(n.slice(t?2:1),t?16:10)}return eB(n)||e}let tt={}.hasOwnProperty,tn=function(e,t,n){let i,o,a,l;return"string"!=typeof t&&(n=t,t=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(_),autolinkProtocol:f,autolinkEmail:f,atxHeading:o(y),blockQuote:o(function(){return{type:"blockquote",children:[]}}),characterEscape:f,characterReference:f,codeFenced:o(g),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(g,a),codeText:o(function(){return{type:"inlineCode",value:""}},a),codeTextData:f,data:f,codeFlowValue:f,definition:o(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:o(v),hardBreakTrailing:o(v),htmlFlow:o(b,a),htmlFlowData:f,htmlText:o(b,a),htmlTextData:f,image:o(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:o(_),listItem:o(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){n.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),n.expectingFirstListItemValue=void 0)},listOrdered:o(E,function(){var e;e=!0,n.expectingFirstListItemValue=e}),listUnordered:o(E),paragraph:o(function(){return{type:"paragraph",children:[]}}),reference:function(){n.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(y),strong:o(function(){return{type:"strong",children:[]}}),thematicBreak:o(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:s(),autolinkEmail:function(e){p.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){p.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:p,characterReferenceMarkerHexadecimal:m,characterReferenceMarkerNumeric:m,characterReferenceValue:function(e){let t,r=this.sliceSerialize(e),i=n.characterReferenceType;i?(t=e9(r,"characterReferenceMarkerNumeric"===i?10:16),n.characterReferenceType=void 0):t=eB(r);let o=this.stack.pop();o.value+=t,o.position.end=tr(e.end)},codeFenced:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n.flowCodeInside=void 0}),codeFencedFence:function(){var e;n.flowCodeInside||(this.buffer(),e=!0,n.flowCodeInside=e)}
1,codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:p,codeIndented:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:p,data:p,definition:s(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=ek(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(h),hardBreakTrailing:s(h),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:p,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:p,image:s(function(){let e=this.stack[this.stack.length-1];if(n.inReference){let t=n.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;n.referenceType=void 0}),label:function(){var e;let t=this.stack[this.stack.length-1],r=this.resume(),i=this.stack[this.stack.length-1];(e=!0,n.inReference=e,"link"===i.type)?i.children=t.children:i.alt=r},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(e7,te),n.identifier=ek(t).toLowerCase()},lineEnding:function(e){let r=this.stack[this.stack.length-1];n.atHardBreak?(r.children[r.children.length-1].position.end=tr(e.end),n.atHardBreak=void 0):!n.setextHeadingSlurpLineEnding&&t.canContainEols.includes(r.type)&&(f.call(this,e),p.call(this,e))},link:s(function(){let e=this.stack[this.stack.length-1];if(n.inReference){let t=n.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;n.referenceType=void 0}),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=ek(this.sliceSerialize(e)).toLowerCase(),n.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){n.inReference=void 0},setextHeading:s(function(){n.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){var e;e=!0,n.setextHeadingSlurpLineEnding=e},strong:s(),thematicBreak:s()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(tt.call(t,n)){if("canContainEols"===n){let r=t[n];r&&e[n].push(...r)}else if("transforms"===n){let r=t[n];r&&e[n].push(...r)}else if("enter"===n||"exit"===n){let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let n={type:"root",children:[]},o={stack:[n],tokenStack:[],config:t,enter:l,exit:c,buffer:a,resume:d,setData:r,getData:i},s=[],u=-1;for(;++u<e.length;)"listOrdered"!==e[u][1].type&&"listUnordered"!==e[u][1].type||("enter"===e[u][0]?s.push(u):u=function(e,t,n){let r,i,o,a,l=t-1,s=-1,u=!1;for(;++l<=n;){let t=e[l];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?s++:s--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!r||a||s||o||(o=l),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=l;for(i=void 0;a--;){let t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}
1o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||l,0,["exit",r,t[2]]),l++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0},e.splice(l,0,["enter",r,t[2]]),l++,n++,o=void 0,a=!0)}}return e[t][1]._spread=u,n}(e,s.pop(),u));for(u=-1;++u<e.length;){let n=t[e[u][0]];tt.call(n,e[u][1].type)&&n[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},o),e[u][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||ti).call(o,void 0,e[0])}for(n.position={start:tr(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tr(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)n=t.transforms[u](n)||n;return n};function r(e,t){n[e]=t}function i(e){return n[e]}function o(e,t){return function(n){l.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function l(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:tr(t.start)},e}function s(e){return function(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw Error("Cannot close `"+e.type+"` ("+u({start:e.start,end:e.end})+"): it’s not open");return r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||ti).call(this,e,r[0])),n.position.end=tr(e.end),n}function d(){return V(this.stack.pop(),"boolean"!=typeof j.includeImageAlt||j.includeImageAlt,"boolean"!=typeof j.includeHtml||j.includeHtml)}function f(e){let t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:tr(e.start)},t.children.push(n)),this.stack.push(n)}function p(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=tr(e.end)}function h(){n.atHardBreak=!0}function m(e){n.characterReferenceType=e.type}function g(){return{type:"code",lang:null,meta:null,value:""}}function y(){return{type:"heading",depth:void 0,children:[]}}function v(){return{type:"break"}}function b(){return{type:"html",value:""}}function _(){return{type:"link",title:null,url:"",children:[]}}function E(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(function(e){for(;!el(e););return e}((function(e){let t={defined:[],lazy:{},constructs:function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(U.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(r in o){U.call(i,r)||(i[r]=[]);let e=o[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);F(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([r,...(e||{}).extensions||[]]),content:n(er),document:n(ei),flow:n(ec),string:n(ef),text:n(ep)};return t;function n(e){return function(n){return function(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},o=[],a=[],l=[],s={consume:function(e){Q(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),u.events.push(["enter",n,u]),l.push(n),n},exit:function(e){let t=l.pop();return t.end=f(),u.events.push(["exit",t,u]),t},attempt:h(function(e,t){m(e,t.from)}),check:h(p),interrupt:h(p,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o,a=e[r];if("string"==typeof a)o=a;else switch(a){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":"	";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(a)}n=-2===a,i.push(o)}return i.join("")}(d(e),t)},now:f,defineSkip:function(e){i[e.line]=e.column,g()},write:function(e){return a=H(a,e),function(){let e;for(;r._index<a.length;){let n=a[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),c=c(t)}else c=c(n)}}(),null!==a[a.length-1]?[]:(m(t,0),u.events=ey(o,u.events,u),u.events)}},c=t.tokenize.call(u,s);return t.resolveAll&&o.push(t),u;function d(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,a)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}a>0&&n.push(e[o].slice(0,a))}return n}(a,e)}function f(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}
1function p(e,t){t.restore()}function h(e,t){return function(n,i,o){let a,c,d,p;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null;return h([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(e)};function h(e){return a=e,c=0,0===e.length?o:m(e[c])}function m(e){return function(n){let i,o,a,c,h;return i=f(),o=u.previous,a=u.currentConstruct,c=u.events.length,h=Array.from(l),p={restore:function(){r=i,u.previous=o,u.currentConstruct=a,u.events.length=c,l=h,g()},from:c},d=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name)?v():e.tokenize.call(t?Object.assign(Object.create(u),t):u,s,y,v)(n)}}function y(t){return e(d,p),i}function v(e){return p.restore(),++c<a.length?m(a[c]):o}}}function m(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&F(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(n).document().write((o=1,a="",l=!0,function(e,t,n){let r,s,u,c,d,f=[];for(e=a+e.toString(t),u=0,a="",l&&(65279===e.charCodeAt(0)&&u++,l=void 0);u<e.length;){if(e8.lastIndex=u,c=(r=e8.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(c),!r){a=e.slice(u);break}if(10===d&&u===c&&i)f.push(-3),i=void 0;else switch(i&&(f.push(-5),i=void 0),u<c&&(f.push(e.slice(u,c)),o+=c-u),d){case 0:f.push(65533),o++;break;case 9:for(s=4*Math.ceil(o/4),f.push(-2);o++<s;)f.push(-1);break;case 10:f.push(-4),o=1;break;default:i=!0,o=1}u=c+1}return n&&(i&&f.push(-5),a&&f.push(a),f.push(null)),f})(e,t,!0))))};function tr(e){return{line:e.line,column:e.column,offset:e.offset}}function ti(e,t){throw e?Error("Cannot close `"+e.type+"` ("+u({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+u({start:t.start,end:t.end})+") is open"):Error("Cannot close document, a token (`"+t.type+"`, "+u({start:t.start,end:t.end})+") is still open")}function to(e){Object.assign(this,{Parser:t=>tn(t,Object.assign({},this.data("settings"),e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))})}function ta(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let o=e.charCodeAt(n),a="";if(37===o&&z(e.charCodeAt(n+1))&&z(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}let tl=function(e){if(null==e)return tu;if("string"==typeof e)return ts(function(t){return t&&t.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=tl(e[n]);return ts(function(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1})}(e):ts(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0});if("function"==typeof e)return ts(e);throw Error("Expected function, string, or object as test")};function ts(e){return function(t,...n){return!!(t&&"object"==typeof t&&"type"in t&&e.call(this,t,...n))}}function tu(){return!0}let tc=function(e,t,n,r){var i,o,a;let l,s;"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),i=t,o=function(e,t){let r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)},a=r,"function"==typeof i&&"function"!=typeof o&&(a=o,o=i,i=null),l=tl(i),s=a?-1:1,(function e(t,n,r){let u=t&&"object"==typeof t?t:{};if("string"==typeof u.type){let e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return c;function c(){var u;let c,d,f,p=[];if((!i||l(t,n,r[r.length-1]||null))&&!1===(p=Array.isArray(u=o(t,r))?u:"number"==typeof u?[!0,u]:[u])[0])return p;if(t.children&&"skip"!==p[0])for(d=(a?t.children.length:-1)+s,f=r.concat(t);d>-1&&d<t.children.length;){if(!1===(c=e(t.children[d],d,f)())[0])return c;d="number"==typeof c[1]?c[1]:d+s}return p}})(e,void 0,[])()},td=tp("start"),tf=tp("end");function tp(e){return function(t){let n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}let th={}.hasOwnProperty;function tm(e){return String(e||"").toUpperCase()}function tg(e,t){let n,r=String(t.identifier).toUpperCase(),i=ta(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);-1===o?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,n=e.footnoteOrder.length):(e.footnoteCounts[r]++,n=o+1);let a=e.footnoteCounts[r],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+i,id:e.clobberPrefix+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let s={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,s),e.applyData(t,s)}function ty(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};let i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});let a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function tv(e){let t=e.spread;return null==t?e.children.length>1:t}function tb(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let t_={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o={type:"element",tagName:"pre",properties:{},children:[o=e.applyData(t,o)]},e.patch(t,o),o},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:tg,footnote:function(e,t){let n=e.footnoteById,r=1;for(;r in n;)r++;let i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},tg(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){let n=e.definition(t.identifier);if(!n)return ty(e,t);let r={src:ta(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);let i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){let n={src:ta(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=e.definition(t.identifier);if(!n)return ty(e,t);let r={href:ta(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);let i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){let n={href:ta(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=tv(n[r])}return t}(n):tv(t),o={},a=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let l=-1;for(;++l<r.length;){let e=r[l];(i||0!==l||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}let s=r[r.length-1];s&&(i||"element"!==s.type||"p"!==s.tagName)&&a.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:o,children:a};
1return e.patch(t,u),e.applyData(t,u)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=td(t.children[1]),a=tf(t.children[t.children.length-1]);o.line&&a.line&&(r.position={start:o,end:a}),i.push(r)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length,l=-1,s=[];for(;++l<a;){let n=t.children[l],r={},a=o?o[l]:void 0;a&&(r.align=a);let u={type:"element",tagName:i,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(t,u)),s.push(u)}let u={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,o=[];for(;r;)o.push(tb(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(tb(t.slice(i),i>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tE,yaml:tE,definition:tE,footnoteDefinition:tE};function tE(){return null}let tw={}.hasOwnProperty;function tx(e,t){e.position&&(t.position={start:td(e),end:tf(e)})}function tP(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function tO(e,t,n){let r,i,o=t&&t.type;if(!o)throw Error("Expected node, got `"+t+"`");return tw.call(e.handlers,o)?e.handlers[o](e,t,n):e.passThrough&&e.passThrough.includes(o)?"children"in t?{...t,children:tS(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):(r=t.data||{},i=!("value"in t)||tw.call(r,"hProperties")||tw.call(r,"hChildren")?{type:"element",tagName:"div",properties:{},children:tS(e,t)}:{type:"text",value:t.value},e.patch(t,i),e.applyData(t,i))}function tS(e,t){let n=[];if("children"in t){let r=t.children,i=-1;for(;++i<r.length;){let o=tO(e,r[i],t);if(o){if(i&&"break"===r[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){let e=o.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n}function tk(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function tA(e,t){let n=function(e,t){let n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...t_,...n.handlers},a.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return tc(e,"definition",e=>{let n=tm(e.identifier);n&&!th.call(t,n)&&(t[n]=e)}),function(e){let n=tm(e);return n&&th.call(t,n)?t[n]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=tx,a.applyData=tP,a.one=function(e,t){return tO(a,e,t)},a.all=function(e){return tS(a,e)},a.wrap=tk,a.augment=o,tc(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();tw.call(i,t)||(i[t]=e)}),a;function o(e,t){if(e&&"data"in e&&e.data){let n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){let n="type"in e?e:{position:e};n&&n.position&&n.position.start&&n.position.start.line&&n.position.start.column&&n.position.end&&n.position.end.line&&n.position.end.column&&(t.position={start:td(n),end:tf(n)})}return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),i=function(e){let t=[],n=-1;for(;++n<e.footnoteOrder.length;){let r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;let i=e.all(r),o=String(r.identifier).toUpperCase(),a=ta(o.toLowerCase()),l=0,s=[];for(;++l<=e.footnoteCounts[o];){let t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(l>1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};l>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(t)}let u=i[i.length-1];if(u&&"element"===u.type&&"p"===u.tagName){let e=u.children[u.children.length-1];e&&"text"===e.type?e.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...s)}else i.push(...s);let c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a}
1,children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push({type:"text",value:"\n"},i),Array.isArray(r)?{type:"root",children:r}:r}let tT=function(e,t){var n;return e&&"run"in e?(n,r,i)=>{e.run(tA(n,t),r,e=>{i(e)})}:(n=e||t,e=>tA(e,n))};var tC=n(5556);class tM{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function tN(e,t){let n={},r={},i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new tM(n,r,t)}function tL(e){return e.toLowerCase()}tM.prototype.property={},tM.prototype.normal={},tM.prototype.space=null;class tD{constructor(e,t){this.property=e,this.attribute=t}}tD.prototype.space=null,tD.prototype.boolean=!1,tD.prototype.booleanish=!1,tD.prototype.overloadedBoolean=!1,tD.prototype.number=!1,tD.prototype.commaSeparated=!1,tD.prototype.spaceSeparated=!1,tD.prototype.commaOrSpaceSeparated=!1,tD.prototype.mustUseProperty=!1,tD.prototype.defined=!1;let tR=0,tI=tW(),tj=tW(),tV=tW(),tB=tW(),tF=tW(),tH=tW(),tU=tW();function tW(){return 2**++tR}let tz=Object.keys(i);class tq extends tD{constructor(e,t,n,r){let o=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++o<tz.length;){const e=tz[o];!function(e,t,n){n&&(e[t]=n)}(this,tz[o],(n&i[e])===i[e])}}}tq.prototype.defined=!0;let tK={}.hasOwnProperty;function tY(e){let t,n={},r={};for(t in e.properties)if(tK.call(e.properties,t)){let i=e.properties[t],o=new tq(t,e.transform(e.attributes||{},t),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(t)&&(o.mustUseProperty=!0),n[t]=o,r[tL(t)]=t,r[tL(o.attribute)]=t}return new tM(n,r,e.space)}let tG=tY({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),t$=tY({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function tQ(e,t){return t in e?e[t]:t}function tJ(e,t){return tQ(e,t.toLowerCase())}let tZ=tY({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:tJ,properties:{xmlns:null,xmlnsXLink:null}}),tX=tY({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:tj,ariaAutoComplete:null,ariaBusy:tj,ariaChecked:tj,ariaColCount:tB,ariaColIndex:tB,ariaColSpan:tB,ariaControls:tF,ariaCurrent:null,ariaDescribedBy:tF,ariaDetails:null,ariaDisabled:tj,ariaDropEffect:tF,ariaErrorMessage:null,ariaExpanded:tj,ariaFlowTo:tF,ariaGrabbed:tj,ariaHasPopup:null,ariaHidden:tj,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:tF,ariaLevel:tB,ariaLive:null,ariaModal:tj,ariaMultiLine:tj,ariaMultiSelectable:tj,ariaOrientation:null,ariaOwns:tF,ariaPlaceholder:null,ariaPosInSet:tB,ariaPressed:tj,ariaReadOnly:tj,ariaRelevant:null,ariaRequired:tj,ariaRoleDescription:tF,ariaRowCount:tB,ariaRowIndex:tB,ariaRowSpan:tB,ariaSelected:tj,ariaSetSize:tB,ariaSort:null,ariaValueMax:tB,ariaValueMin:tB,ariaValueNow:tB,ariaValueText:null,role:null}}),t0=tY({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:tJ,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:tH,acceptCharset:tF,accessKey:tF,action:null,allow:null,allowFullScreen:tI,allowPaymentRequest:tI,allowUserMedia:tI,alt:null,as:null,async:tI,autoCapitalize:null,autoComplete:tF,autoFocus:tI,autoPlay:tI,blocking:tF,capture:null,charSet:null,checked:tI,cite:null,className:tF,cols:tB,colSpan:null,content:null,contentEditable:tj,controls:tI,controlsList:tF,coords:tB|tH,crossOrigin:null,data:null,dateTime:null,decoding:null,default:tI,defer:tI,dir:null,dirName:null,disabled:tI,download:tV,draggable:tj,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:tI,formTarget:null,headers:tF,height:tB,hidden:tI,high:tB,href:null,hrefLang:null,htmlFor:tF,httpEquiv:tF,id:null,imageSizes:null,imageSrcSet:null,inert:tI,inputMode:null,integrity:null,is:null,isMap:tI,itemId:null,itemProp:tF,itemRef:tF,itemScope:tI,itemType:tF,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:tI,low:tB,manifest:null,max:null,maxLength:tB,media:null,method:null,min:null,minLength:tB,multiple:tI,muted:tI,name:null,nonce:null,noModule:tI,noValidate:tI,onAbort:null,onAfterPrint:null,onAuxCl
1ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:tI,optimum:tB,pattern:null,ping:tF,placeholder:null,playsInline:tI,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:tI,referrerPolicy:null,rel:tF,required:tI,reversed:tI,rows:tB,rowSpan:tB,sandbox:tF,scope:null,scoped:tI,seamless:tI,selected:tI,shadowRootDelegatesFocus:tI,shadowRootMode:null,shape:null,size:tB,sizes:null,slot:null,span:tB,spellCheck:tj,src:null,srcDoc:null,srcLang:null,srcSet:null,start:tB,step:null,style:null,tabIndex:tB,target:null,title:null,translate:null,type:null,typeMustMatch:tI,useMap:null,value:tj,width:tB,wrap:null,align:null,aLink:null,archive:tF,axis:null,background:null,bgColor:null,border:tB,borderColor:null,bottomMargin:tB,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:tI,declare:tI,event:null,face:null,frame:null,frameBorder:null,hSpace:tB,leftMargin:tB,link:null,longDesc:null,lowSrc:null,marginHeight:tB,marginWidth:tB,noResize:tI,noHref:tI,noShade:tI,noWrap:tI,object:null,profile:null,prompt:null,rev:null,rightMargin:tB,rules:null,scheme:null,scrolling:tj,standby:null,summary:null,text:null,topMargin:tB,valueType:null,version:null,vAlign:null,vLink:null,vSpace:tB,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:tI,disableRemotePlayback:tI,prefix:null,property:null,results:tB,security:null,unselectable:null}}),t1=tY({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav
1-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:tQ,properties:{about:tU,accentHeight:tB,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:tB,amplitude:tB,arabicForm:null,ascent:tB,attributeName:null,attributeType:null,azimuth:tB,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:tB,by:null,calcMode:null,capHeight:tB,className:tF,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:tB,diffuseConstant:tB,direction:null,display:null,dur:null,divisor:tB,dominantBaseline:null,download:tI,dx:null,dy:null,edgeMode:null,editable:null,elevation:tB,enableBackground:null,end:null,event:null,exponent:tB,externalResourcesRequired:null,fill:null,fillOpacity:tB,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:tH,g2:tH,glyphName:tH,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:tB,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:tB,horizOriginX:tB,horizOriginY:tB,id:null,ideographic:tB,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:tB,k:tB,k1:tB,k2:tB,k3:tB,k4:tB,kernelMatrix:tU,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:tB,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:tB,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
1Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:tB,overlineThickness:tB,paintOrder:null,panose1:null,path:null,pathLength:tB,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:tF,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:tB,pointsAtY:tB,pointsAtZ:tB,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:tU,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:tU,rev:tU,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:tU,requiredFeatures:tU,requiredFonts:tU,requiredFormats:tU,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:tB,specularExponent:tB,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:tB,strikethroughThickness:tB,string:null,stroke:null,strokeDashArray:tU,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:tB,strokeOpacity:tB,strokeWidth:null,style:null,surfaceScale:tB,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:tU,tabIndex:tB,tableValues:null,target:null,targetX:tB,targetY:tB,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:tU,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:tB,underlineThickness:tB,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:tB,values:null,vAlphabetic:tB,vMathematical:tB,vectorEffect:null,vHanging:tB,vIdeographic:tB,version:null,vertAdvY:tB,vertOriginX:tB,vertOriginY:tB,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:tB,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),t2=tN([t$,tG,tZ,tX,t0],"html"),t4=tN([t$,tG,tZ,tX,t1],"svg");function t3(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{tc(t,"element",(t,n,r)=>{let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"==typeof n&&(i=!e.allowElement(t,n,r)),i&&"number"==typeof n)return e.unwrapDisallowed&&t.children?r.children.splice(n,1,...t.children):r.children.splice(n,1),n})}}var t6=n(8316);let t5=/^data[-\w.:]+$/i,t8=/-[a-z]/g,t9=/[A-Z]/g;function t7(e){return"-"+e.toLowerCase()}function ne(e){return e.charAt(1).toUpperCase()}let nt={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},nn=n(9108),nr={}.hasOwnProperty,ni=new Set(["table","thead","tbody","tfoot","tr"]);function no(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function na(e,t){return t.toUpperCase()}let nl={}.hasOwnProperty,ns={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function nu(e){for(let t in ns)if(nl.call(ns,t)&&nl.call(e,t)){let e=ns[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete ns[t]}let t=A().use(to).use(e.remarkPlugins||[]).use(tT,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(t3,e),n=new E;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=t.runSync(t.parse(n),n);if("root"!==r.type)throw TypeError("Expected a `root` node");let i=l.createElement(l.Fragment,{},function e(t,n){let r=[],i,o=-1;for(;++o<n.children.length;)"element"===(i=n.children[o]).type?r.push(function(t,n,r,i){let o=t.options,s=void 0===o.transformLinkUri?a:o.transformLinkUri,u=t.schema,c=n.tagName,d={},f;if("html"===u.space&&"svg"===c&&(t.schema=t4),n.properties)for(f in n.properties)nr.call(n.properties,f)&&function(e,t,n,r){var i;let o,a=function(e,t){let n=tL(t),r=t,i=tD;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&t5.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(t8,ne);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!t8.test(e)){let n=e.replace(t9,t7);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=tq}return new i(r,t)}(r.schema,t),l=n;null!=l&&l==l&&(Array.isArray(l)&&(l=a.commaSeparated?(o={},(""===(i=l)[i.length-1]?[...i,""]:i).join((o.padRight?" ":"")+","+(!1===o.padLeft?"":" ")).trim()):l.join(" ").trim()),"style"===a.property&&"string"==typeof l&&(l=function(e){let t={};try{nn(e,function(e,n){t[("-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e).replace(/-([a-z])/g,na)]=n})}catch{}return t}(l)),a.space&&a.property?e[nr.call(nt,a.property)?nt[a.property]:a.property]=l:a.attribute&&(e[a.attribute]=l))}(d,f,n.properties[f],t);"ol"!==c&&"ul"!==c||t.listDepth++;let p=e(t,n);"ol"!==c&&"ul"!==c||t.listDepth--,t.schema=u;let h=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},m=o.components&&nr.call(o.components,c)?o.components[c]:c,g="string"==typeof m||m===l.Fragment;if(!t6.isValidElementType(m))throw TypeError(`Component for name \`${c}\` not defined or is not renderable`);if(d.key=r,"a"===c&&o.linkTarget&&(d.target="function"==typeof o.linkTarget?o.linkTarget(String(d.href||""),n.children,"string"==typeof d.title?d.title:null):o.linkTarget),"a"===c&&s&&(d.href=s(String(d.href||""),n.children,"string"==typeof d.title?d.title:null)),g||"code"!==c||"element"!==i.type||"pre"===i.tagName||(d.inline=!0),g||"h1"!==c&&"h2"!==c&&"h3"!==c&&"h4"!==c&&"h5"!==c&&"h6"!==c||(d.level=Number.parseInt(c.charAt(1),10)),"img"===c&&o.transformImageUri&&(d.src=o.transformImageUri(String(d.src||""),String(d.alt||""),"string"==typeof d.title?d.title:null)),!g&&"li"===c&&"element"===i.type){let e=function(e){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(n);d.checked=e&&e.properties?!!e.properties.checked:null,d.index=no(i,n),d.ordered="ol"===i.tagName}return g||"ol"!==c&&"ul"!==c||(d.ordered="ol"===c,d.depth=t.listDepth),"td"!==c&&"th"!==c||(d.align&&(d.style||(d.style={}),d.style.textAlign=d.align,delete d.align),g||(d.isHeader="th"===c)),g||"tr"!==c||"element"!==i.type||(d.isHeader="thead"===i.tagName),o.sourcePos&&(d["data-sourcepos"]=[h.start.line,":",h.start.column,"-",h.end.line,":",h.end.column].map(String).join("")),!g&&o.rawSourcePos&&(d.sourcePosition=n.position),!g&&o.includeElementIndex&&(d.index=no(i,n),d.siblingCount=no(i)),g||(d.node=n),p.length>0?l.createElement(m,d,p):l.createElement(m,d)}(t,i,o,n)):"text"===i.type?"element"===n.type&&ni.has(n.tagName)&&function(e){let t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}(i)||r.push(i.value):"raw"!==i.type||t.options.skipHtml||r.push(i.value);return r}({options:e,schema:t2,listDepth:0},r));return e.className&&(i=l.createElement("div",{className:e.className},i)),i}nu.propTypes={children:tC.string,className:tC.string,allowElement:tC.func,allowedElements:tC.arrayOf(tC.string),disallowedElements:tC.arrayOf(tC.string),unwrapDisallowed:tC.bool,remarkPlugins:tC.arrayOf(tC.oneOfType([tC.object,tC.func,tC.arrayOf(tC.oneOfType([tC.bool,tC.string,tC.object,tC.func,tC.arrayOf(tC.any)]))])),rehypePlugins:tC.arrayOf(tC.oneOfType([tC.object,tC.func,tC.arrayOf(tC.oneOfType([tC.bool,tC.string,tC.object,tC.func,tC.arrayOf(tC.any)]))])),sourcePos:tC.bool,rawSourcePos:tC.bool,ski
1pHtml:tC.bool,includeElementIndex:tC.bool,transformLinkUri:tC.oneOfType([tC.func,tC.bool]),linkTarget:tC.oneOfType([tC.func,tC.string]),transformImageUri:tC.func,components:tC.object}},8330:e=>{"use strict";e.exports=JSON.parse('{"name":"weather_highlights_mod","version":"1.14.2","description":"TWN Weather Highlights Library Module Product","main":"dist/index.js","types":"dist/src/components/Root/index.d.ts","files":["src/","dist/"],"scripts":{"build":"rm -rf dist && webpack --config webpack/build.config.js","build:dev":"cross-env NODE_ENV=development npm run build","build:app":"cd scripts && sh buildapp.sh","test":"npm run test:nocoverage -- --coverage","test:debug":"node --expose-gc ./node_modules/.bin/jest --no-cache --config jest.config.json --verbose=false --runInBand --logHeapUsage","test:nocoverage":"jest --no-cache --config ./jest.config.json","test:staged":"npm run test:nocoverage -- --passWithNoTests --findRelatedTests src/","test:watch":"npm run test:nocoverage -- --watch","lint":"npm run tslint && npm run tslint:report","lint:fix":"npm run tslint:fix","tslint":"tslint -c tslint.json \'src/**/*.{ts,tsx}\'","tslint:report":"tslint -t json -o report.json -c tslint.json \'src/**/*.{ts,tsx}\'","tslint:fix":"npm run tslint -- --fix","version:minor":"npm version minor && git push origin HEAD","version:patch":"npm version patch && git push origin HEAD","version:major":"npm version major && git push origin HEAD","dev":"cross-env PORT=5000 webpack-dev-server --host 0.0.0.0 --mode development --config webpack/dev.config.js","dev:app":"cd scripts && sh runapp.sh","dev:en":"PORT=5000 webpack-dev-server --host 0.0.0.0 --mode development --config webpack/dev.config.js & open http://localhost:5000/v4/8LfncRTfPSMqCTtEb6liT/en-ca/android/caon0696/true/false","dev:fr":"PORT=5000 webpack-dev-server --host 0.0.0.0 --mode development --config webpack/dev.config.js & open http://localhost:5000/v4/3zF7B4dPYZ9SKEbk9OxWni/fr-ca/android/caon0696/true/false","prepare":"husky install"},"keywords":["Weather","Weather Highlights","Bumblebee"],"author":"kwabena boadu<[email protected]>, eric bradshaw<[email protected]>","license":"ISC","repository":{"type":"git","url":"[email protected]:pelmcode/weather_highlights_mod.git"},"lint-staged":{"src/**/*.ts":["npm run lint:fix","npm run test:staged"]},"devDependencies":{"@babel/polyfill":"^7.12.1","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^12.1.5","@testing-library/react-hooks":"^7.0.2","@types/jest":"^28.1.1","@types/joi":"^17.2.3","@types/lodash":"^4.14.182","@types/node":"^17.0.42","@types/ramda":"^0.28.14","@types/react-dom":"^16.9.16","axios":"^0.27.2","babel-jest":"^28.1.1","clean-webpack-plugin":"^4.0.0","cross-env":"^7.0.3","css-loader":"^6.7.1","dayjs":"^1.11.3","html-webpack-plugin":"^5.5.0","husky":"^8.0.0","jest":"^28.1.1","jest-environment-jsdom":"^28.1.1","jest-junit":"^13.2.0","jest-transform-stub":"^2.0.0","joi":"^17.6.0","lint-staged":"^12.3.7","mini-css-extract-plugin":"^2.6.0","next":"^12.1.6","np":"^7.6.1","process":"^0.11.10","ramda":"^0.28.0","react":"^16.14.0","react-dom":"^16.14.0","react-markdown":"^8.0.3","sass":"^1.52.3","sass-loader":"^13.0.0","style-loader":"^3.3.1","svg-url-loader":"^7.1.1","ts-jest":"^28.0.4","ts-loader":"^9.3.0","tslint":"^6.1.3","typescript":"^4.7.3","webpack":"^5.73.0","webpack-cli":"^4.10.0","webpack-dev-server":"^4.9.2"},"peerDependencies":{"axios":"^0.21.1","lodash":"^4.17.20","next":"^9.5.3","observe-element-in-viewport":"0.0.15","ramda":"^0.27.1","react":"^16.13.1","react-dom":"^16.13.1","react-markdown":"^8.0.1"},"dependencies":{"react-intersection-observer":"^9.10.1","analytics-schema":"^1.0.1010","react-dfp":"^0.21.0","react-loading":"^2.0.3","styled-components":"^5.3.5","twnmm-survey":"^1.3.3"},"publishConfig":{"registry":"https://pelmorex.jfrog.io/artifactory/api/npm/npm/"}}')}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e].call(n.exports,n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
1),Object.defineProperty(e,"__esModule",{value:!0})};var l={};for(var s in(()=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getSanitizedLocale=l.getWeatherHighlightsPageMetaData=l.getWeatherHighlightsServerProps=l.WeatherHighlights=void 0;var e=a(4695);Object.defineProperty(l,"WeatherHighlights",{enumerable:!0,get:function(){return e.RootContainer}});var t=a(693);Object.defineProperty(l,"getWeatherHighlightsServerProps",{enumerable:!0,get:function(){return t.getRootServerProps}});var n=a(9156);Object.defineProperty(l,"getWeatherHighlightsPageMetaData",{enumerable:!0,get:function(){return n.getPageMetaData}});var r=a(6014);Object.defineProperty(l,"getSanitizedLocale",{enumerable:!0,get:function(){return r.getSanitizedLocale}})})(),l)t[s]=l[s];l.__esModule&&Object.defineProperty(t,"__esModule",{value:!0})}}]);

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.