PageSourceSearch

https://time.com/replatform/_next/static/chunks/09ccldqkw8eun.js

js time.com collected 2026-09-24 07:34:45 UTC 432,448 bytes, 8 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,225526,e=>{"use strict";e.i(247167);var t=e.i(271645);function r(e,t){window.dispatchEvent(new StorageEvent("storage",{key:e,newValue:t}))}let n=(e,t)=>{let n=JSON.stringify(t);window.localStorage.setItem(e,n),r(e,n)},i=e=>(window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)),o=()=>{throw Error("useLocalStorage is a client-only hook")};e.s(["useIntersectionObserver",0,function(e={}){let{threshold:r=1,root:n=null,rootMargin:i="0px"}=e,[o,s]=t.useState(null),a=t.useRef(null);return[t.useCallback(e=>{if(a.current&&(a.current.disconnect(),a.current=null),e?.nodeType===Node.ELEMENT_NODE){let t=new IntersectionObserver(([e])=>{s(e)},{threshold:r,root:n,rootMargin:i});t.observe(e),a.current=t}},[r,n,i]),o]},"useIsClient",0,function(){let[e,r]=t.useState(!1);return t.useEffect(()=>{r(!0)},[]),e},"useLocalStorage",0,function(e,s){let a=t.useSyncExternalStore(i,()=>window.localStorage.getItem(e),o),l=t.useCallback(t=>{try{let i="function"==typeof t?t(JSON.parse(a)):t;if(null==i)window.localStorage.removeItem(e),r(e,null);else n(e,i)}catch(e){console.warn(e)}},[e,a]);return t.useEffect(()=>{null===window.localStorage.getItem(e)&&void 0!==s&&n(e,s)},[e,s]),[a?JSON.parse(a):s,l]},"useLockBodyScroll",0,function(){t.useLayoutEffect(()=>{let e=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[])}
1,"useWindowSize",0,function(){let[e,r]=t.useState({width:null,height:null});return t.useLayoutEffect(()=>{let e=()=>{r({width:window.innerWidth,height:window.innerHeight})};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),e}])},822315,(e,t,r)=>{e.e,t.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",i="week",o="month",s="quarter",a="year",l="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=/\[([^\]]+)]|YYYY|YY|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,h=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},f="en",p={};p[f]={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"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var m="$isDayjsObject",g=function(e){return e instanceof x||!(!e||!e[m])},y=function e(t,r,n){var i;if(!t)return f;if("string"==typeof t){var o=t.toLowerCase();p[o]&&(i=o),r&&(p[o]=r,i=o);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var a=t.name;p[a]=t,i=a}return!n&&i&&(f=i),i||!n&&f},b=function(e,t){if(g(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new x(r)},v={s:h,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(r/60),2,"0")+":"+h(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,o),s=r-i<0,a=t.clone().add(n+(s?-1:1),o);return+(-(n+(r-i)/(s?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return({M:o,y:a,w:i,d:"day",D:l,h:n,m:r,s:t,ms:e,Q:s})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};v.l=y,v.i=g,v.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function h(e){this.$L=y(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[m]=!0}var f=h.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(v.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(c);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.init()},f.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()},f.$utils=function(){return v},f.isValid=function(){return this.$d.toString()!==u},f.isSame=function(e,t){var r=b(e);return this.startOf(t)<=r&&r<=this.endOf(t)},f.isAfter=function(e,t){return b(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<b(e)},f.$g=function(e,t,r){return v.u(e)?this[t]:this.set(r,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,s){var u=this,c=!!v.u(s)||s,d=v.p(e),h=function(e,t){var r=v.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return c?r:r.endOf("day")},f=function(e,t){return v.w(u.toDate()[e].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},p=this.$W,m=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(d){case a:return c?h(1,0):h(31,11);case o:return c?h(1,m):h(0,m+1);case i:var b=this.$locale().weekStart||0,x=(p<b?p+7:p)-b;return h(c?g-x:g+(6-x),m);case"day":case l:return f(y+"Hours",0);case n:return f(y+"Minutes",1);case r:return f(y+"Seconds",2);case t:return f(y+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(i,s){var u,c=v.p(i),d="set"+(this.$u?"UTC":""),h=((u={}).day=d+"Date",u[l]=d+"Date",u[o]=d+"Month",u[a]=d+"FullYear",u[n]=d+"Hours",u[r]=d+"Minutes",u[t]=d+"Seconds",u[e]=d+"Milliseconds",u)[c],f="day"===c?this.$D+(s-this.$W):s;if(c===o||c===a){var p=this.clone().set(l,1);p.$d[h](f),p.init(),this.$d=p.set(l,Math.min(this.$D,p.daysInMonth())).$d}else h&&this.$d[h](f);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[v.p(e)]()},f.add=function(e,s){var l,u=this;e=Number(e);var c=v.p(s),d=function(t){var r=b(u);return v.w(r.date(r.date()+Math.round(t*e)),u)};if(c===o)return this.set(o,this.$M+e);if(c===a)return this.set(a,this.$y+e);if("day"===c)return d(1);if(c===i)return d(7);var h=((l={})[r]=6e4,l[n]=36e5,l[t]=1e3,l)[c]||1,f=this.$d.getTime()+e*h;return v.w(f,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||u;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=v.z(this),o=this.$H,s=this.$m,a=this.$M,l=r.weekdays,c=r.months,h=r.meri
1diem,f=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].slice(0,o)},p=function(e){return v.s(o%12||12,e,"0")},m=h||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(d,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return v.s(t.$y,4,"0");case"M":return a+1;case"MM":return v.s(a+1,2,"0");case"MMM":return f(r.monthsShort,a,c,3);case"MMMM":return f(c,a);case"D":return t.$D;case"DD":return v.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(r.weekdaysMin,t.$W,l,2);case"ddd":return f(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return v.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return m(o,s,!0);case"A":return m(o,s,!1);case"m":return String(s);case"mm":return v.s(s,2,"0");case"s":return String(t.$s);case"ss":return v.s(t.$s,2,"0");case"SSS":return v.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(e,l,u){var c,d=this,h=v.p(l),f=b(e),p=(f.utcOffset()-this.utcOffset())*6e4,m=this-f,g=function(){return v.m(d,f)};switch(h){case a:c=g()/12;break;case o:c=g();break;case s:c=g()/3;break;case i:c=(m-p)/6048e5;break;case"day":c=(m-p)/864e5;break;case n:c=m/36e5;break;case r:c=m/6e4;break;case t:c=m/1e3;break;default:c=m}return u?c:v.a(c)},f.daysInMonth=function(){return this.endOf(o).$D},f.$locale=function(){return p[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=y(e,t,!0);return n&&(r.$L=n),r},f.clone=function(){return v.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},h}(),w=x.prototype;return b.prototype=w,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",o],["$y",a],["$D",l]].forEach(function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),b.extend=function(e,t){return e.$i||(e(t,x,b),e.$i=!0),b},b.locale=y,b.isDayjs=g,b.unix=function(e){return b(1e3*e)},b.en=p[f],b.Ls=p,b.p={},b}()},4824,(e,t,r)=>{e.e,t.exports=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(r,n,i){var o,s=function(e,r,n){void 0===n&&(n={});var i,o,s,a,l=new Date(e);return(void 0===(i=n)&&(i={}),(a=t[s=r+"|"+(o=i.timeZoneName||"short")])||(a=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:o}),t[s]=a),a).formatToParts(l)},a=function(t,r){for(var n=s(t,r),o=[],a=0;a<n.length;a+=1){var l=n[a],u=l.type,c=l.value,d=e[u];d>=0&&(o[d]=parseInt(c,10))}var h=o[3],f=o[0]+"-"+o[1]+"-"+o[2]+" "+(24===h?0:h)+":"+o[4]+":"+o[5]+":000",p=+t;return(i.utc(f).valueOf()-(p-=p%1e3))/6e4},l=n.prototype;l.tz=function(e,t){void 0===e&&(e=o);var r,n=this.utcOffset(),s=this.toDate(),a=s.toLocaleString("en-US",{timeZone:e}),l=Math.round((s-new Date(a))/1e3/60),u=-(15*Math.round(s.getTimezoneOffset()/15))-l;if(Number(u)){if(r=i(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(u,!0),t){var c=r.utcOffset();r=r.add(n-c,"minute")}}else r=this.utcOffset(0,t);return r.$x.$timezone=e,r},l.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),r=s(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return r&&r.value};var u=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var r=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(r,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,r){var n=r&&t,s=r||t||o,l=a(+i(),s);if("string"!=typeof e)return i(e).tz(s);var u=function(e,t,r){var n=e-60*t*1e3,i=a(n,r);if(t===i)return[n,t];var o=a(n-=60*(i-t)*1e3,r);return i===o?[n,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(e,n).valueOf(),l,s),c=u[0],d=u[1],h=i(c).utcOffset(d);return h.$x.$timezone=s,h},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){o=e}}}()},895751,(e,t,r)=>{e.e,t.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,i,o){var s=i.prototype;o.utc=function(e){var t={date:e,utc:!0,args:arguments};return new i(t)},s.utc=function(t){var r=o(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),e):r},s.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var a=s.parse;s.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),a.call(this,e)};var l=s.init;s.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var u=s.utcOffset;s.utcOffset=function(n,i){var o=this.$utils().u;if(o(n))return this.$u?0:o(this.$offset)?u.call(this):this.$offset;if("string"==typeof n&&null===(n=function(e){void 0===e&&(e="");var n=e.match(t);if(!n)return null;var i=(""+n[0]).match(r)||["-",0,0],o=i[0],s=60*i[1]+ +i[2];return 0===s?0:"+"===o?s:-s}(n)))return this;var s=16>=Math.abs(n)?60*n:n;if(0===s)return this.utc(i);var a=this.clone();if(i)return a.$offset=s,a.$u=!1,a;var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(a=this.local().add(s+l,e)).$offset=s,a.$x.$localOffset=l,a};var c=s.format;s.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},s.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var d=s.toDate;s.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var h=s.diff;s.diff=function(e,t,r){if(e&&this.$u===e.$u)return h.call(this,e,t,r);var n=this.local(),i=o(e).local();return h.call(n,i,t,r)}}}()},117831,(e,t,r)=>{"use strict";var n,i;
1Object.defineProperty(r,"__esModule",{value:!0}),r.Doctype=r.CDATA=r.Tag=r.Style=r.Script=r.Comment=r.Directive=r.Text=r.Root=r.isTag=r.ElementType=void 0,(i=n=r.ElementType||(r.ElementType={})).Root="root",i.Text="text",i.Directive="directive",i.Comment="comment",i.Script="script",i.Style="style",i.Tag="tag",i.CDATA="cdata",i.Doctype="doctype",r.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},r.Root=n.Root,r.Text=n.Text,r.Directive=n.Directive,r.Comment=n.Comment,r.Script=n.Script,r.Style=n.Style,r.Tag=n.Tag,r.CDATA=n.CDATA,r.Doctype=n.Doctype},111304,(e,t,r)=>{"use strict";var n,i=e.e&&e.e.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(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 r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=e.e&&e.e.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0}),r.cloneNode=r.hasChildren=r.isDocument=r.isDirective=r.isComment=r.isText=r.isCDATA=r.isTag=r.Element=r.Document=r.CDATA=r.NodeWithChildren=r.ProcessingInstruction=r.Comment=r.Text=r.DataNode=r.Node=void 0;var s=e.r(117831),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),E(this,e)},e}();r.Node=a;var l=function(e){function t(t){var r=e.call(this)||this;return r.data=t,r}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);r.DataNode=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);r.Text=u;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);r.Comment=c;var d=function(e){function t(t,r){var n=e.call(this,r)||this;return n.name=t,n.type=s.ElementType.Directive,n}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);r.ProcessingInstruction=d;var h=function(e){function t(t){var r=e.call(this)||this;return r.children=t,r}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!=(e=this.children[0])?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);r.NodeWithChildren=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(h);r.CDATA=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9}
1,enumerable:!1,configurable:!0}),t}(h);r.Document=p;var m=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?s.ElementType.Script:"style"===t?s.ElementType.Style:s.ElementType.Tag);var o=e.call(this,n)||this;return o.name=t,o.attribs=r,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null==(r=e["x-attribsNamespace"])?void 0:r[t],prefix:null==(n=e["x-attribsPrefix"])?void 0:n[t]}})},enumerable:!1,configurable:!0}),t}(h);function g(e){return(0,s.isTag)(e)}function y(e){return e.type===s.ElementType.CDATA}function b(e){return e.type===s.ElementType.Text}function v(e){return e.type===s.ElementType.Comment}function x(e){return e.type===s.ElementType.Directive}function w(e){return e.type===s.ElementType.Root}function E(e,t){if(void 0===t&&(t=!1),b(e))r=new u(e.data);else if(v(e))r=new c(e.data);else if(g(e)){var r,n=t?T(e.children):[],i=new m(e.name,o({},e.attribs),n);n.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),r=i}else if(y(e)){var n=t?T(e.children):[],s=new f(n);n.forEach(function(e){return e.parent=s}),r=s}else if(w(e)){var n=t?T(e.children):[],a=new p(n);n.forEach(function(e){return e.parent=a}),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),r=a}else if(x(e)){var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),r=l}else throw Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function T(e){for(var t=e.map(function(e){return E(e,!0)}),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}r.Element=m,r.isTag=g,r.isCDATA=y,r.isText=b,r.isComment=v,r.isDirective=x,r.isDocument=w,r.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},r.cloneNode=E},792599,(e,t,r)=>{"use strict";var n=e.e&&e.e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=e.e&&e.e.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.DomHandler=void 0;var o=e.r(117831),s=e.r(111304);i(e.r(111304),r);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,r){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=a),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:a,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?o.ElementType.Tag:void 0,n=new s.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new s.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment){this.lastNode.data+=e;return}var t=new s.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e}
1,e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new s.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();r.DomHandler=l,r.default=l},699235,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CARRIAGE_RETURN_PLACEHOLDER_REGEX=r.CARRIAGE_RETURN_PLACEHOLDER=r.CARRIAGE_RETURN_REGEX=r.CARRIAGE_RETURN=r.CASE_SENSITIVE_TAG_NAMES_MAP=r.CASE_SENSITIVE_TAG_NAMES=void 0,r.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],r.CASE_SENSITIVE_TAG_NAMES_MAP=r.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{}),r.CARRIAGE_RETURN="\r",r.CARRIAGE_RETURN_REGEX=RegExp(r.CARRIAGE_RETURN,"g"),r.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now().toString(),"__"),r.CARRIAGE_RETURN_PLACEHOLDER_REGEX=RegExp(r.CARRIAGE_RETURN_PLACEHOLDER,"g")},73217,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.formatAttributes=o,r.hasOpenTag=function(e,t){var r="<"+t,n=e.toLowerCase().indexOf(r);if(-1===n)return!1;var i=e[n+r.length];return">"===i||" "===i||"	"===i||"\n"===i||"\r"===i||"/"===i},r.escapeSpecialCharacters=function(e){return e.replace(i.CARRIAGE_RETURN_REGEX,i.CARRIAGE_RETURN_PLACEHOLDER)},r.revertEscapedCharacters=s,r.formatDOM=function e(t,r,a){void 0===r&&(r=null);for(var l,u,c,d,h,f=[],p=0,m=t.length;p<m;p++){var g=t[p];switch(g.nodeType){case 1:var y=function(e){var t,r=(t=e=e.toLowerCase(),i.CASE_SENSITIVE_TAG_NAMES_MAP[t]);return r||e}(g.nodeName);(h=new n.Element(y,o(g.attributes))).children=e("template"===y?g.content.childNodes:g.childNodes,h);break;case 3:h=new n.Text(s(null!=(l=g.nodeValue)?l:""));break;case 8:h=new n.Comment(null!=(u=g.nodeValue)?u:"");break;default:continue}var b=null!=(c=f[p-1])?c:null;b&&(b.next=h),h.parent=r,h.prev=b,h.next=null,f.push(h)}
1return a&&((h=new n.ProcessingInstruction(a.substring(0,a.indexOf(" ")).toLowerCase(),a)).next=null!=(d=f[0])?d:null,h.parent=r,f.unshift(h),f[1]&&(f[1].prev=f[0])),f};var n=e.r(792599),i=e.r(699235);function o(e){for(var t={},r=0,n=e.length;r<n;r++){var i=e[r];t[i.name]=i.value}return t}function s(e){return e.replace(i.CARRIAGE_RETURN_PLACEHOLDER_REGEX,i.CARRIAGE_RETURN)}},612369,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t,r,d,h,f,p,g=l.exec(e=(0,i.escapeSpecialCharacters)(e)),y=null==(t=null==g?void 0:g[1])?void 0:t.toLowerCase();switch(y){case o:var b=c(e);if(!(0,i.hasOpenTag)(e,s)){var v=b.querySelector(s);null==(r=null==v?void 0:v.parentNode)||r.removeChild(v)}if(!(0,i.hasOpenTag)(e,a)){var v=b.querySelector(a);null==(d=null==v?void 0:v.parentNode)||d.removeChild(v)}return b.querySelectorAll(o);case s:case a:var x=u(e).querySelectorAll(y);if((0,i.hasOpenTag)(e,a)&&(0,i.hasOpenTag)(e,s))return null!=(f=null==(h=x[0].parentNode)?void 0:h.childNodes)?f:m();return x;default:if(n)return n(e);var v=u(e,a).querySelector(a);return null!=(p=null==v?void 0:v.childNodes)?p:m()}};var n,i=e.r(73217),o="html",s="head",a="body",l=/<([a-zA-Z]+[0-9]?)/,u=function(e,t){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},c=function(e,t){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},d="object"==typeof window&&window.DOMParser;if("function"==typeof d){var h=new d;u=c=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),h.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var f=document.implementation.createHTMLDocument();u=function(e,t){if(t){var r=f.documentElement.querySelector(t);return r&&(r.innerHTML=e),f}return f.documentElement.innerHTML=e,f}}var p="object"==typeof document&&document.createElement("template");p&&p.content&&(n=function(e){return p.innerHTML=e,p.content.childNodes});var m=function(){return document.createDocumentFragment().childNodes}},971883,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];var t=s.exec(e),r=t?t[1]:void 0;return(0,o.formatDOM)((0,i.default)(e),null,r)};var i=n(e.r(612369)),o=e.r(73217),s=/<(![a-zA-Z\s]+)>/},559878,(e,t,r)=>{r.SAME=0,r.CAMELCASE=1,r.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRen
1dering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xl
1inkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},594555,(e,t,r)=>{"use strict";function n(e,t,r,n,i,o,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}let i={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{i[e]=new n(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{i[e]=new n(e,1,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{i[e]=new n(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{i[e]=new n(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{i[e]=new n(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{i[e]=new n(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{i[e]=new n(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{i[e]=new n(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{i[e]=new n(e,5,!1,e.toLowerCase(),null,!1,!1)});let o=/[\-\:]([a-z])/g,s=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{let t=e.replace(o,s);i[t]=new n(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let t=e.replace(o,s);i[t]=new n(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{let t=e.replace(o,s);i[t]=new n(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{i[e]=new n(e,1,!1,e.toLowerCase(),null,!1,!1)}),i.xlinkHref=new n("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{i[e]=new n(e,1,!1,e.toLowerCase(),null,!0,!0)});let{CAMELCASE:a,SAME:l,possibleStandardNames:u}=e.r(559878),c=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(u).reduce((e,t)=>
1{let r=u[t];return r===l?e[t]=t:r===a?e[t.toLowerCase()]=t:e[t]=r,e},{});r.BOOLEAN=3,r.BOOLEANISH_STRING=2,r.NUMERIC=5,r.OVERLOADED_BOOLEAN=4,r.POSITIVE_NUMERIC=6,r.RESERVED=0,r.STRING=1,r.getPropertyInfo=function(e){return i.hasOwnProperty(e)?i[e]:null},r.isCustomAttribute=c,r.possibleStandardNames=d},846335,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.returnFirstArg=r.canTextBeChildOfNode=r.ELEMENTS_WITH_NO_TEXT_CHILDREN=r.PRESERVE_CUSTOM_ATTRIBUTES=void 0,r.isCustomComponent=function(e,t){return e.includes("-")?!s.has(e):!!(t&&"string"==typeof t.is)},r.setStyleProp=function(e,t){if("string"==typeof e){if(!e.trim()){t.style={};return}try{t.style=(0,o.default)(e,a)}catch(e){t.style={}}}};var i=e.r(271645),o=n(e.r(515511)),s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),a={reactCompat:!0};r.PRESERVE_CUSTOM_ATTRIBUTES=Number(i.version.split(".")[0])>=16,r.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),r.canTextBeChildOfNode=function(e){return!r.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},r.returnFirstArg=function(e){return e}},312467,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){void 0===e&&(e={});var r={},u=!!(e.type&&a[e.type]);for(var c in e){var d=e[c];if((0,n.isCustomAttribute)(c)){r[c]=d;continue}var h=c.toLowerCase(),f=l(h);if(f){var p=(0,n.getPropertyInfo)(f);switch(o.includes(f)&&s.includes(t)&&!u&&(f=l("default"+h)),r[f]=d,null==p?void 0:p.type){case n.BOOLEAN:r[f]=!0;break;case n.OVERLOADED_BOOLEAN:""===d&&(r[f]=!0)}continue}i.PRESERVE_CUSTOM_ATTRIBUTES&&(r[c]=d)}return(0,i.setStyleProp)(e.style,r),r};var n=e.r(594555),i=e.r(846335),o=["checked","value"],s=["input","select","textarea"],a={reset:!0,submit:!0};function l(e){return n.possibleStandardNames[e]}},454465,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function e(t,r){void 0===r&&(r={});for(var n,i,l,u,c,d=[],h="function"==typeof r.replace,f=null!=(n=r.transform)?n:s.returnFirstArg,p=null!=(i=r.library)?i:a,m=p.cloneElement,g=p.createElement,y=p.isValidElement,b=t.length,v=0;v<b;v++){var x,w=t[v];if(h){var E=null==(l=r.replace)?void 0:l.call(r,w,v);if(y(E)){b>1&&(E=m(E,{key:null!=(u=E.key)?u:v})),d.push(f(E,w,v));continue}}if("text"===w.type){var T=!w.data.trim().length;if(T&&w.parent&&!(0,s.canTextBeChildOfNode)(w.parent)||r.trim&&T)continue;d.push(f(w.data,w,v));continue}var C={};(x=w,s.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===x.type&&(0,s.isCustomComponent)(x.name,x.attribs))?((0,s.setStyleProp)(w.attribs.style,w.attribs),C=w.attribs):w.attribs&&(C=(0,o.default)(w.attribs,w.name));var A=void 0;switch(w.type){case"script":case"style":w.children[0]&&(C.dangerouslySetInnerHTML={__html:w.children[0].data});break;case"tag":"textarea"===w.name&&w.children[0]?C.defaultValue=w.children[0].data:(null==(c=w.children)?void 0:c.length)&&(A=e(w.children,r));break;default:continue}b>1&&(C.key=v),d.push(f(g(w.name,C,A),w,v))}return 1===d.length?d[0]:d};var i=e.r(271645),o=n(e.r(312467)),s=e.r(846335),a={cloneElement:i.cloneElement,createElement:i.createElement,isValidElement:i.isValidElement}},617870,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.htmlToDOM=r.domToReact=r.attributesToProps=r.Text=r.ProcessingInstruction=r.Element=r.Comment=void 0,r.default=function(e,t){var r;if("string"!=typeof e)throw TypeError("First argument must be a string");return e?(0,o.default)((0,i.default)(e,null!=(r=null==t?void 0:t.htmlparser2)?r:a),t):[]};var i=n(e.r(971883));r.htmlToDOM=i.default,r.attributesToProps=n(e.r(312467)).default;var o=n(e.r(454465));r.domToReact=o.default;var s=e.r(792599);Object.defineProperty(r,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(r,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(r,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(r,"Text",{enumerable:!0,get:function(){return s.Text}});var a={lowerCaseAttributeNames:!1}},126568,(e,t,r)=>{"use strict";var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,o=/^\s*/,s=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g;function d(e){return e?e.replace(c,""):""}t.exports=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,c=1;function h(e){var t=e.match(i);t&&(r+=t.length);var n=e.lastIndexOf("\n");c=~n?e.length-n:c+e.length}function f(){var e={line:r,column:c}
1;return function(t){return t.position=new p(e),g(o),t}}function p(e){this.start=e,this.end={line:r,column:c},this.source=t.source}function m(n){var i=Error(t.source+":"+r+":"+c+": "+n);if(i.reason=n,i.filename=t.source,i.line=r,i.column=c,i.source=e,t.silent);else throw i}function g(t){var r=t.exec(e);if(r){var n=r[0];return h(n),e=e.slice(n.length),r}}function y(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;""!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,""===e.charAt(r-1))return m("End of comment missing");var n=e.slice(2,r-2);return c+=2,h(n),e=e.slice(r),c+=2,t({type:"comment",comment:n})}}p.prototype.content=e,g(o);var v,x=[];for(y(x);v=function(){var e=f(),t=g(s);if(t){if(b(),!g(a))return m("property missing ':'");var r=g(l),i=e({type:"declaration",property:d(t[0].replace(n,"")),value:r?d(r[0].replace(n,"")):""});return g(u),i}}();)!1!==v&&(x.push(v),y(x));return x}},270454,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){let r=null;if(!e||"string"!=typeof e)return r;let n=(0,i.default)(e),o="function"==typeof t;return n.forEach(e=>{if("declaration"!==e.type)return;let{property:n,value:i}=e;o?t(n,i,e):i&&((r=r||{})[n]=i)}),r};let i=n(e.r(126568))},965185,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,o=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};r.camelCase=function(e,t){var r;return(void 0===t&&(t={}),!(r=e)||o.test(r)||n.test(r))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,u):e.replace(s,u)).replace(i,l))}},515511,(e,t,r)=>{"use strict";var n=(e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(e.r(270454)),i=e.r(965185);function o(e,t){var r={};return e&&"string"==typeof e&&(0,n.default)(e,function(e,n){e&&n&&(r[(0,i.camel
1Case)(e,t)]=n)}),r}o.default=o,t.exports=o},117595,e=>{"use strict";function t(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)"__proto__"!==n&&(e[n]=r[n])}return e}var r=function e(r,n){function i(e,i,o){if("u">typeof document){"number"==typeof(o=t({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var a in o)o[a]&&(s+="; "+a,!0!==o[a]&&(s+="="+o[a].split(";")[0]));return document.cookie=e+"="+r.write(i,e)+s}}return Object.create({set:i,get:function(e){if("u">typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},i=0;i<t.length;i++){var o=t[i].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(a in n||(n[a]=r.read(s,a)),e===a)break}catch(e){}}return e?n[e]:n}},remove:function(e,r){i(e,"",t({},r,{expires:-1}))},withAttributes:function(r){return e(this.converter,t({},this.attributes,r))},withConverter:function(r){return e(t({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});e.s(["default",0,r])},82004,(e,t,r)=>{let n=e.r(822315);function i(e){for(e=e.replace(/[\x00-\x20]+/g,"");;){let t=e.indexOf("<!--");if(-1===t)break;let r=e.indexOf("-->",t+4);if(-1===r)break;e=e.substring(0,t)+e.substring(r+3)}return e}function o(e,t){let r=(t=t||{}).allowedSchemes||["http","https","ftp","mailto","tel","sms"],n=!1!==t.allowProtocolRelative;if("string"!=typeof e)return!1;let o=(e=i(e)).match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!o)return!!e.match(/^[/\\]{2}/)&&!n;let s=o[1].toLowerCase();return -1===r.indexOf(s)}t.exports=function(e){let t={};return t.options=e||{},t.filterTag=t.options.filterTag||function(e){return(e=e.trim()).toLowerCase()},t.string=function(e,t){return"string"!=typeof e&&("number"==typeof e||"boolean"==typeof e?e+="":e=""),e=e.trim(),void 0!==t&&""===e&&(e=t),e},t.strings=function(e){return Array.isArray(e)?e.map(function(e){return t.string(e)}):[]},t.integer=function(e,t,r,n){if(void 0===t&&(t=0),"number"==typeof e)e=Math.floor(e);else try{e=parseInt(e,10),isNaN(e)&&(e=t)}catch(r){e=t}return"number"==typeof r&&e<r&&(e=r),"number"==typeof n&&e>n&&(e=n),e},t.padInteger=function(e,t){let r=e+"";for(;r.length<t;)r="0"+r;return r},t.float=function(e,t,r,n){if(void 0===t&&(t=0),"number"!=typeof e)try{e=parseFloat(e,10),isNaN(e)&&(e=t)}catch(r){e=t}return"number"==typeof r&&e<r&&(e=r),"number"==typeof n&&e>n&&(e=n),e},t.naughtyHref=o,t.url=function(e,r,n){var s;return(e=t.string(e,r))===r?e:o(e=i(e))||null===(e=(s=e).match(/^(((https?|ftp):\/\/)|((mailto|tel|sms):)|#|([^/.]+)?\/|[^/.]+$)/)?s:s.match(/^[^/.]+\.[^/.]+/)?(n?"https://":"http://")+s:null)?r:e},t.select=function(e,r,n){let i;return(e=t.string(e),r&&r.length)?"object"==typeof r[0]?null!=(i=r.find(function(t){return null!==t.value&&void 0!==t.value&&t.value.toString()===e}))?i.value:n:void 0!==(i=r.find(function(t){return null!=t&&t.toString()===e}))?i:n:n},t.boolean=function(e,r){return!0===e||!1!==e&&((e=t.string(e,r))===r?void 0!==e&&e:""!==(e=e.toLowerCase().charAt(0))&&"n"!==e&&"0"!==e&&"f"!==e&&("t"===e||"y"===e||"1"===e))},t.addBooleanFilterToCriteria=function(e,r,n,i){void 0===i&&(i=null);let o="object"==typeof e&&null!==e?e[r]:e;o=void 0===o?i:o,null===(o=t.booleanOrNull(o))||(o?n[r]=!0:n[r]={$ne:!0})},t.booleanOrNull=function(e,r){return!0===e||!1===e||null===e?e:(e=t.string(e,r))===r?void 0===r?null:e:"null"===e?null:""!==(e=e.toLowerCase().charAt(0))&&"n"!==e&&"0"!==e&&"f"!==e&&("t"===e||"y"===e||"1"===e||("a"===e?null:r))},t.date=function(e,r,i){let o;function s(){return void 0===r&&(r=n().format("YYYY-MM-DD")),r}if("string"==typeof e){if(e.match(/\//)){if(2===(o=e.split("/")).length)return(i||new Date).getFullYear()+"-"+t.padInteger(o[0],2)+"-"+t.padInteger(o[1],2);if(3!==o.length)return s();if(o[2]<100){let e=i||new Date,t=e.getFullYear()%100,r=e.getFullYear()-t,n=parseInt(o[2])+r;n-e.getFullYear()>50&&(n-=100),o[2]=n}return t.padInteger(o[2],4)+"-"+t.padInteger(o[0],2)+"-"+t.padInteger(o[1],2)}else if(e.match(/-/))return 2===(o=e.split("-")).length?(i||new Date).getFullYear()+"-"+t.padInteger(o[0],2)+"-"+t.padInteger(o[1],2):3===o.length?t.padInteger(o[0],4)+"-"+t.padInteger(o[1],2)+"-"+t.padInteger(o[2],2):s()}try{if(null===e||(e=i||new Date(e),isNaN(e.getTime())))return s();return e.getFullYear()+"-"+t.padInteger(e.getMonth()+1,2)+"-"+t.padInteger(e.getDate(),2)}catch(e){return s()}},t.formatDate=function(e){return n(e).format("YYYY-MM-DD")},t.time=function(e,r){let i=(e=(e=t.string(e).toLowerCase()).trim()).match(/^(\d+)([:|.](\d+))?([:|.](\d+))?\s*(am|pm|AM|PM|a|p|A|M)?$/);if(i){let e=parseInt(i[1],10),r=void 0!==i[3]?parseInt(i[3],10):0,n=void 0!==i[5]?parseInt(i[5],10):0,o=i[6]?i[6].toLowerCase():i[6];return o=o&&o.charAt(0),12===e&&"a"===o?e-=12:12===e&&"p"===o||"p"===o&&(e+=12),(24===e||"24"===e)&&(e=0),t.padInteger(e,2)+":"+t.padInteger(r,2)+":"+t.padInteger(n,2)}return void 0!==r?r:n().format("HH:mm")},t.formatTime=function(e){return n(e).format("HH:mm:ss")},t.tags=function(e,r){return("string"==typeof e&&(e=e.split(/,\s*/)),Array.isArray(e))?e.map(e=>t.string(e)).map(r||t.filterTag).filter(e=>e.length>0):[]},t.idRegExp=t.options.idRegExp||/^[A-Za-z0-9_]+$/,t.id=function(e,r){let n=t.string(e,r);return n===r||n.match(t.idRegExp)?n:r},t.ids=function(e){return Array.isArray(e)?e.filter(function(e){return void 0!==t.id(e)}):[]},t}
1,t.exports.naughtyHref=o},544821,(e,t,r)=>{let n=e.r(132109),i=e.r(64873),{isPlainObject:o}=e.r(875654),s=e.r(130860),a=e.r(661840),{parse:l}=e.r(789424),{naughtyHref:u}=e.r(82004),c=["img","audio","video","picture","svg","object","map","iframe","embed"],d=["script","style"],h=["animate","animatecolor","animatemotion","animatetransform","set"],f=["href"];function p(e,t){e&&Object.keys(e).forEach(function(r){t(e[r],r)})}function m(e,t){return({}).hasOwnProperty.call(e,t)}function g(e,t){let r=[];return p(e,function(e){t(e)&&r.push(e)}),r}t.exports=b;let y=/^[^\0\t\n\f\r /<=>]+$/;function b(e,t,r){let x,w,E,T,C,A,R,S,I;if(null==e)return"";"number"==typeof e&&(e=e.toString());let _="",N="";function O(e,t){let r=this;this.tag=e,this.attribs=t||{},this.tagPosition=_.length,this.text="",this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){if(C.length){let e=C[C.length-1];e.text+=r.text}},this.updateParentNodeMediaChildren=function(){C.length&&c.includes(this.tag)&&C[C.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},b.defaults,t)).parser=Object.assign({},v,t.parser);let k=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};d.forEach(function(e){k(e)&&!t.allowVulnerableTags&&console.warn(`
2
3⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently
4vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
5Or, to disable this warning, add the \`allowVulnerableTags\` option
6and ensure you are accounting for this risk.
7
8`)});let L=t.nonTextTags||["script","style","textarea","option","xmp"];t.allowedAttributes&&(x={},w={},p(t.allowedAttributes,function(e,t){x[t]=[];let r=[];e.forEach(function(e){"string"==typeof e&&e.indexOf("*")>=0?r.push(i(e).replace(/\\\*/g,".*")):x[t].push(e)}),r.length&&(w[t]=RegExp("^("+r.join("|")+")$"))}));let D={},P={},M={};p(t.allowedClasses,function(e,t){if(x&&(m(x,t)||(x[t]=[]),x[t].push("class")),D[t]=e,Array.isArray(e)){let r=[];D[t]=[],M[t]=[],e.forEach(function(e){"string"==typeof e&&e.indexOf("*")>=0?r.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?M[t].push(e):D[t].push(e)}),r.length&&(P[t]=RegExp("^("+r.join("|")+")$"))}});let j={};p(t.transformTags,function(e,t){let r;"function"==typeof e?r=e:"string"==typeof e&&(r=b.simpleTransform(e)),"*"===t?E=r:j[t]=r});let B=!1;F();let U=new n.Parser({onopentag:function(e,r){let n;if(t.onOpenTag&&t.onOpenTag(e,r),t.enforceHtmlBoundary&&"html"===e&&F(),S)return void I++;let i=new O(e,r);C.push(i);let u=!1,c=!!i.text;if(m(j,e)&&(i.attribs=r=(n=j[e](e,r)).attribs,void 0!==n.text&&(i.innerText=n.text),e!==n.tagName&&(i.name=e=n.tagName,R[T]=n.tagName)),E&&(i.attribs=r=(n=E(e,r)).attribs,e!==n.tagName&&(i.name=e=n.tagName,R[T]=n.tagName)),(!k(e)||function(e,r){if(-1===h.indexOf(e.toLowerCase()))return!1;let n=t.allowedSchemesAppliedToAttributes||[];return Object.keys(r||{}).some(function(e){if("attributename"!==e.toLowerCase())return!1;let t=(r[e]||"").trim().toLowerCase(),i=t.slice(t.lastIndexOf(":")+1);return -1!==f.indexOf(i)||-1!==n.indexOf(t)||-1!==n.indexOf(i)})}(e,r)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(let t in e)if(m(e,t))return!1;return!0}(A)||null!=t.nestingLimit&&T>=t.nestingLimit)&&(u=!0,A[T]=!0,("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)&&-1!==L.indexOf(e)&&(S=!0,I=1)),T++,u){if("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode){if(i.innerText&&!c){let r=z(i.innerText);t.textFilter?_+=t.textFilter(r,e):_+=r,B=!0}return}N=_,_=""}if(_+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(i.innerText=""),u&&("escape"===t.disallowedTagsMode||"recursiveEscape"===t.disallowedTagsMode)&&t.preserveEscapedAttributes?p(r,function(e,t){_+=" "+t+'="'+z(e||"",!0)+'"'}):(!x||m(x,e)||x["*"])&&p(r,function(r,n){if(!y.test(n)||""===r&&!t.allowedEmptyAttributes.includes(n)&&(t.nonBooleanAttributes.includes(n)||t.nonBooleanAttributes.includes("*")))return void delete i.attribs[n];let u=!1;if(!x||m(x,e)&&-1!==x[e].indexOf(n)||x["*"]&&-1!==x["*"].indexOf(n)||m(w,e)&&w[e].test(n)||w["*"]&&w["*"].test(n))u=!0;else if(x&&x[e]){for(let t of x[e])if(o(t)&&t.name&&t.name===n){u=!0;let e="";if(!0===t.multiple)for(let n of r.split(" "))-1!==t.values.indexOf(n)&&(""===e?e=n:e+=" "+n);else t.values.indexOf(r)>=0&&(e=r);r=e}}if(u){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(n)&&H(e,r))return void delete i.attribs[n];if("script"===e&&"src"===n){let e=!0;try{let n=G(r);if(t.allowedScriptHostnames||t.allowedScriptDomains){let r=(t.allowedScriptHostnames||[]).find(function(e){return e===n.url.hostname}),i=(t.allowedScriptDomains||[]).find(function(e){return n.url.hostname===e||n.url.hostname.endsWith(`.${e}`)});e=r||i}}catch(t){e=!1}if(!e)return void delete i.attribs[n]}if("iframe"===e&&"src"===n){let e=!0;try{let n=G(r);if(n.isRelativeUrl)e=m(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){let r=(t.allowedIframeHostnames||[]).find(function(e){return e===n.url.hostname}),i=(t.allowedIframeDomains||[]).find(function(e){return n.url.hostname===e||n.url.hostname.endsWith(`.${e}`)});e=r||i}}catch(t){e=!1}if(!e)return void delete i.attribs[n]}if("srcset"===n||"imagesrcset"===n)try{let e=a(r);if(e.forEach(function(e){H(n,e.url)&&(e.evil=!0)}
8),!(e=g(e,function(e){return!e.evil})).length)return void delete i.attribs[n];r=g(e,function(e){return!e.evil}).map(function(e){if(!e.url)throw Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")}).join(", "),i.attribs[n]=r}catch(e){delete i.attribs[n];return}if("class"===n){let t=D[e],o=D["*"],a=P[e],l=M[e],u=M["*"],c=[a,P["*"]].concat(l,u).filter(function(e){return e});if(!(r=t&&o?W(r,s(t,o),c):W(r,t||o,c)).length)return void delete i.attribs[n]}if("style"===n){if(t.parseStyleAttributes)try{let o=l(e+" {"+r+"}",{map:!1});if(r=(function(e,t){var r;let n;if(!t)return e;let i=e.nodes[0];return(n=t[i.selector]&&t["*"]?s(t[i.selector],t["*"]):t[i.selector]||t["*"])&&(e.nodes[0].nodes=i.nodes.reduce((r=n,function(e,t){return m(r,t.prop)&&r[t.prop].some(function(e){return e.test(t.value)})&&e.push(t),e}),[])),e})(o,t.allowedStyles).nodes[0].nodes.reduce(function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e},[]).join(";"),0===r.length)return void delete i.attribs[n]}catch(t){"u">typeof window&&console.warn('Failed to parse "'+e+" {"+r+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),delete i.attribs[n];return}else if(t.allowedStyles)throw Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}_+=" "+n,r&&r.length?_+='="'+z(r,!0)+'"':t.allowedEmptyAttributes.includes(n)&&(_+='=""')}else delete i.attribs[n]}),-1!==t.selfClosing.indexOf(e))_+=" />";else if(_+=">",i.innerText&&!c){let r=z(i.innerText);t.textFilter?_+=t.textFilter(r,e):_+=r,B=!0}u&&(_=N+z(_),N=""),i.openingTagLength=_.length-i.tagPosition},ontext:function(e){let r;if(S)return;let n=C[C.length-1];if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"completelyDiscard"!==t.disallowedTagsMode||k(r)){if(r&&k(r)&&("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)&&("script"===r||"style"===r))_+=e;else if(r&&k(r)&&("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)&&("textarea"===r||"xmp"===r))"xmp"===r?_+=e.replace(/</g,"&lt;").replace(/>/g,"&gt;"):_+=z(e,!1);else if(!B){let n=z(e,!1);t.textFilter?_+=t.textFilter(n,r):_+=n}}else e="";if(C.length){let t=C[C.length-1];t.text+=e}},onclosetag:function(e,r){if(t.onCloseTag&&t.onCloseTag(e,r),S){if(--I)return;S=!1}let n=C.pop();if(!n)return;if(n.tag!==e)return void C.push(n);S=!!t.enforceHtmlBoundary&&"html"===e;let i=A[--T];if(i){if(delete A[T],"discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return void n.updateParentNodeText();N=_,_=""}if(R[T]&&(e=R[T],delete R[T]),t.exclusiveFilter){let e=t.exclusiveFilter(n);if("excludeTag"===e){i&&(_=N,N=""),_=_.substring(0,n.tagPosition)+_.substring(n.tagPosition+n.openingTagLength);return}if(e){_=_.substring(0,n.tagPosition);return}}if(n.updateParentNodeMediaChildren(),n.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)||r&&!k(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0){i&&(_=N,N="");return}_+="</"+e+">",i&&(_=N+z(_),N=""),B=!1}},t.parser);if(U.write(e),U.end(),"escape"===t.disallowedTagsMode||"recursiveEscape"===t.disallowedTagsMode){let t=U.endIndex;if(null!=t&&t>=0&&t<e.length){let r=e.substring(t);_+=z(r)}else(null==t||t<0)&&e.length>0&&""===_&&(_=z(e))}return _;function F(){_="",T=0,C=[],A={},R={},S=!1,I=0}function z(e,r){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),r&&(e=e.replace(/"/g,"&quot;"))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),r&&(e=e.replace(/"/g,"&quot;")),e}function H(e,r){return u(r,{allowedSchemes:m(t.allowedSchemesByTag,e)?t.allowedSchemesByTag[e]:t.allowedSchemes||[],allowProtocolRelative:t.allowProtocolRelative})}function G(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw Error("relative: exploit attempt");let t="relative://relative-site";for(let e=0;e<100;e++)t+=`/${e}`;let r=new URL(e,t);return{isRelativeUrl:r&&"relative-site"===r.hostname&&"relative:"===r.protocol,url:r}}function W(e,t,r){return t?(e=e.split(/\s+/)).filter(function(e){return -1!==t.indexOf(e)||r.some(function(t){return t.test(e)})}).join(" "):e}}let v={decodeEntities:!0};b.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","
8sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta","col"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite","action","formaction","data","xlink:href","poster","background","ping","longdesc","usemap","codebase","classid","archive","profile","manifest","itemid","dynsrc","lowsrc"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},b.simpleTransform=function(e,t,r){return r=void 0===r||r,t=t||{},function(n,i){let o;
8if(r)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},475254,e=>{"use strict";var t=e.i(271645);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},n=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:s,className:a="",children:l,iconNode:u,...c},d)=>(0,t.createElement)("svg",{ref:d,...i,width:r,height:r,stroke:e,strokeWidth:s?24*Number(o)/Number(r):o,className:n("lucide",a),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(l)?l:[l]]));e.s(["default",0,(e,i)=>{let s=(0,t.forwardRef)(({className:s,...a},l)=>(0,t.createElement)(o,{ref:l,iconNode:i,className:n(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,s),...a}
8));return s.displayName=r(e),s}],475254)},245423,e=>{"use strict";let t=(0,e.i(475254).default)("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);e.s(["Bell",0,t],245423)},37727,e=>{"use strict";let t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return o.callServer},createServerReference:function(){return a.createServerReference},findSourceMapURL:function(){return s.findSourceMapURL}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(132120),s=e.r(92245),a=e.r(235326)},794909,(e,t,r)=>{"use strict";e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(555682),s=e.r(908927),a=e.r(605500),l=o._(e.r(1948));function u(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[320,480,640,750,828,1080,1200,1440,1920,2400,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/replatform/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=a.Image},657688,(e,t,r)=>{t.exports=e.r(794909)},305526,(e,t,r)=>{var n=String,i=function(){return{isColorSupported:!1,reset:n,bold:n,dim:n,italic:n,underline:n,inverse:n,hidden:n,strikethrough:n,black:n,red:n,green:n,yellow:n,blue:n,magenta:n,cyan:n,white:n,gray:n,bgBlack:n,bgRed:n,bgGreen:n,bgYellow:n,bgBlue:n,bgMagenta:n,bgCyan:n,bgWhite:n,blackBright:n,redBright:n,greenBright:n,yellowBright:n,blueBright:n,magentaBright:n,cyanBright:n,whiteBright:n,bgBlackBright:n,bgRedBright:n,bgGreenBright:n,bgYellowBright:n,bgBlueBright:n,bgMagentaBright:n,bgCyanBright:n,bgWhiteBright:n}};t.exports=i(),t.exports.createColors=i},71528,(e,t,r)=>{"use strict";let n=e.r(305526),i={};class o extends Error{constructor(e,t,r,n,i,s){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),n&&(this.source=n),s&&(this.plugin=s),void 0!==t&&void 0!==r&&("number"==typeof t?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,o)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=n.isColorSupported);let r=e=>e,o=e=>e,s=e=>e;if(e){let{bold:e,gray:t,red:a}=n.createColors(!0);o=t=>e(a(t)),r=e=>t(e),i&&(s=e=>i(e))}let a=t.split(/\r?\n/),l=Math.max(this.line-3,0),u=Math.min(this.line+2,a.length),c=String(u).length;return a.slice(l,u).map((e,t)=>{let n=l+1+t,i=" "+(" "+n).slice(-c)+" | ";if(n===this.line){if(e.length>160){let t=Math.max(0,this.column-20),n=Math.max(this.column+20,this.endColumn+20),a=e.slice(t,n),l=r(i.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,19)).replace(/[^\t]/g," ");return o(">")+r(i)+s(a)+"\n "+l+o("^")}let t=r(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return o(">")+r(i)+s(e)+"\n "+t+o("^")}return" "+r(i)+s(e)}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}t.exports=o,o.default=o},981864,(e,t,r)=>{"use strict";let n=/(<)(\/?style\b)/gi,i=/(<)(!--)/g,o=/[\t\n\f\r "#'()/;[\\\]{}]/;function s(e){return"string"==typeof e&&e.includes("<")?e.replace(n,"\\3c $2").replace(i,"\\3c $2"):e}let a={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};function l(e,t){let r="@"+t.name,n=t.params?e.rawValue(t,"params"):"",i=t.raws.afterName;return void 0===i?i=n?" ":"":""===i&&n&&!o.test(n[0])&&(i=" "),r+i+n}
8function u(e,t,r){let n=r.nodes,i=n.length-1;for(;i>0&&"comment"===n[i].type;)i-=1;let o=e.raw(r,"semicolon"),s="document"===r.type;for(let e=n.length-1;e>=0;e--){let r=n[e],a=i!==e||o;!a&&e<n.length-1&&("atrule"===r.type&&!r.nodes||"decl"===r.type&&r.prop.startsWith("--"))&&(a=!0),t.push({document:s,node:r,semicolon:a})}}function c(e,t,r,n){let i=e.raw(r,"between","beforeOpen");e.builder(s(n+i)+"{",r,"start");let o=r.nodes&&r.nodes.length,a=()=>{let t=o?e.raw(r,"after"):e.raw(r,"after","emptyBody");t&&e.builder(s(t)),e.builder("}",r,"end"),"rule"===r.type&&r.raws.ownSemicolon&&e.builder(s(r.raws.ownSemicolon),r,"end")};o?(t.push(a),u(e,t,r)):a()}class d{constructor(e){this.builder=e}atrule(e,t){let r=l(this,e);if(e.nodes)this.block(e,r);else{let n=(e.raws.between||"")+(t?";":"");this.builder(s(r+n),e)}}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)r+=t}return r}block(e,t){let r,n=this.raw(e,"between","beforeOpen");this.builder(s(t+n)+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(s(r)),this.builder("}",e,"end")}body(e){let t=d.prototype,r=["atrule","block","body","rule","stringify"].every(e=>this[e]===t[e]),n=[];for(u(this,n,e);n.length>0;){let e=n.pop();if("function"==typeof e){e();continue}let t=e.node,i=this.raw(t,"before");i&&this.builder(e.document?i:s(i)),r&&"rule"===t.type?c(this,n,t,this.rawValue(t,"selector")):r&&"atrule"===t.type&&t.nodes?c(this,n,t,l(this,t)):this.stringify(t,e.semicolon)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(s("/*"+t+e.text+r+"*/"),e)}decl(e,t){let r=e.raws,n=this.raw(e,"between","colon"),i=e.prop+n+this.rawValue(e,"value");e.important&&(i+=r.important||" !important"),t&&(i+=";"),this.builder(s(i),e)}document(e){this.body(e)}raw(e,t,r){let n;if(r||(r=t),t&&void 0!==(n=e.raws[t]))return n;let i=e.parent;if("before"===r&&(!i||"root"===i.type&&i.first===e||i&&"document"===i.type))return"";if(!i)return a[r];let o=e.root(),s=o.rawCache||(o.rawCache={});if(void 0!==s[r])return s[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{var l;let i="raw"+((l=r)[0].toUpperCase()+l.slice(1));this[i]?n=this[i](o,e):o.walk(e=>{if(void 0!==(n=e.raws[t]))return!1})}return void 0===n&&(n=a[r]),s[r]=n,n}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments(e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls(e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t}rawIndent(e){let t;return e.raws.indent?e.raws.indent:(e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=(t=e[e.length-1]).replace(/\S/g,""),!1}}),t)}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t}rawValue(e,t){let r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}root(e){if(e.source&&e.source.input.hasBOM&&this.builder("\uFEFF",e,"start"),this.body(e),e.raws.after){let t=e.raws.after,r=e.parent&&"document"===e.parent.type;this.builder(r?t:s(t))}}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(s(e.raws.ownSemicolon),e,"end")}stringify(e,t){if(!this[e.type])throw Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}t.exports=d,d.default=d},140293,(e,t,r)=>{"use strict";let n=e.r(981864);function i(e,t){new n(t).stringify(e)}t.exports=i,i.default=i},322302,(e,t,r)=>{"use strict";
8t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")},657612,(e,t,r)=>{"use strict";let n=e.r(71528),i=e.r(981864),o=e.r(140293),{isClean:s,my:a}=e.r(322302);function l(e,t){if(t&&void 0!==t.offset)return t.offset;let r=1,n=1,i=0;for(let o=0;o<e.length;o++){if(n===t.line&&r===t.column){i=o;break}"\n"===e[o]?(r=1,n+=1):r+=1}return i}class u{get proxyOf(){return this}constructor(e={}){for(let t of(this.raws={},this[s]=!1,this[a]=!0,Object.keys(e)))if("__proto__"!==t)if("nodes"===t)for(let r of(this.nodes=[],e[t]))"function"==typeof r.clone&&r.parent?this.append(r.clone()):this.append(r);else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=function(e){let t=new e.constructor,r=[[e,t,void 0]];for(;r.length>0;){let[e,t,n]=r.pop();for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i)||"proxyCache"===i)continue;let o=e[i],s=typeof o;if("parent"===i&&"object"===s)n&&(t[i]=n);else if("source"===i)t[i]=o;else if(Array.isArray(o)){let e=[];for(let n of(t[i]=e,o)){let i=new n.constructor;e.push(i),r.push([n,i,t])}}else{if("object"===s&&null!==o){let e=new o.constructor;r.push([o,e,void 0]),o=e}t[i]=o}}}return t}(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:n}=this.rangeBy(t);return this.source.input.error(e,{column:n.column,line:n.line},{column:r.column,line:r.line},t)}return new n(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,r)=>e[t]===r||(e[t]=r,("prop"===t||"value"===t||"name"===t||"params"===t||"important"===t||"text"===t)&&e.markDirty(),!0)}}markClean(){this[s]=!0}
8markDirty(){if(this[s]){this[s]=!1;let e=this;for(;e=e.parent;)e[s]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:l(t,this.source.start)};if(e.index)r=this.positionInside(e.index);else if(e.word){let n=t.slice(l(t,this.source.start),l(t,this.source.end)).indexOf(e.word);-1!==n&&(r=this.positionInside(n))}return r}positionInside(e){let t=this.source.start.column,r=this.source.start.line,n="document"in this.source.input?this.source.input.document:this.source.input.css,i=l(n,this.source.start),o=i+e;for(let e=i;e<o;e++)"\n"===n[e]?(t=1,r+=1):t+=1;return{column:t,line:r,offset:o}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:l(t,this.source.start)},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:"number"==typeof this.source.end.offset?this.source.end.offset:l(t,this.source.end)+1}:{column:r.column+1,line:r.line,offset:r.offset+1};if(e.word){let i=t.slice(l(t,this.source.start),l(t,this.source.end)).indexOf(e.word);-1!==i&&(r=this.positionInside(i),n=this.positionInside(i+e.word.length))}else e.start?r={column:e.start.column,line:e.start.line,offset:l(t,e.start)}:"number"==typeof e.index&&(r=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line,offset:l(t,e.end)}:"number"==typeof e.endIndex?n=this.positionInside(e.endIndex):"number"==typeof e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={column:r.column+1,line:r.line,offset:r.offset+1}),{end:n,start:r}}raw(e,t){return new i().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);r||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let r=null==t;t=t||new Map;let n=[],i=[[this,n,0]];for(let e=0;e<i.length;e++){let[r,n,o]=i[e],s={};for(let e in n[o]=s,r){if(!Object.prototype.hasOwnProperty.call(r,e)||"parent"===e||"proxyCache"===e)continue;let n=r[e];if(Array.isArray(n)){let r=[];s[e]=r;for(let e=0;e<n.length;e++){let o=n[e];"object"==typeof o&&o.toJSON?o.toJSON===u.prototype.toJSON?i.push([o,r,e]):r[e]=o.toJSON(null,t):r[e]=o}}else if("object"==typeof n&&n.toJSON)n.toJSON===u.prototype.toJSON?i.push([n,s,e]):s[e]=n.toJSON(null,t);else if("source"===e){if(null==n)continue;let r=t.get(n.input);null==r&&(r=t.size,t.set(n.input,r)),s[e]={end:n.end,inputId:r,start:n.start}}else s[e]=n}}let o=n[0];return r&&(o.inputs=[...t.keys()].map(e=>e.toJSON())),o}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=o){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}warn(e,t,r={}){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}}t.exports=u,u.default=u},877906,(e,t,r)=>{"use strict";let n=e.r(657612);class i extends n{constructor(e){super(e),this.type="comment"}}t.exports=i,i.default=i},721772,(e,t,r)=>{"use strict";let n=e.r(657612);class i extends n{get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}}t.exports=i,i.default=i},296045,(e,t,r)=>{"use strict";let n,i,o,s,a=e.r(877906),l=e.r(721772),u=e.r(657612),{isClean:c,my:d}=e.r(322302);class h extends u{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e)for(let e of this.normalize(t,this.last))this.proxyOf.nodes.push(e);return this.markDirty(),this}cleanRaws(e){let t=[this];for(;t.length>0;){let r=t.pop();if(r!==this&&r.cleanRaws!==h.prototype.cleanRaws){r.cleanRaws(e);continue}if(u.prototype.cleanRaws.call(r,e),r.nodes)for(let e of r.nodes)t.push(e)}}each(e){let t,r;if(!this.proxyOf.nodes)return;let n=this.getIterator();for(;this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){if("proxyOf"===t)return e;if(!e[t])return e[t];if("each"===t||"string"==typeof t&&t.startsWith("walk"))return(...r)=>e[t](...r.map(e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e));if("every"===t||"some"===t)return r=>e[t]((e,...t)=>r(e.toProxy(),...t));if("root"===t)return()=>
8e.root().toProxy();else if("nodes"===t)return e.nodes.map(e=>e.toProxy());else if("first"===t||"last"===t)return e[t].toProxy();else return e[t]},set:(e,t,r)=>e[t]===r||(e[t]=r,("name"===t||"params"===t||"selector"===t)&&e.markDirty(),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();for(let t of(n=this.index(e),i))this.proxyOf.nodes.splice(n+1,0,t);for(let e in this.indexes)n<(r=this.indexes[e])&&(this.indexes[e]=r+i.length);return this.markDirty(),this}insertBefore(e,t){let r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();for(let t of(n=this.index(e),o))this.proxyOf.nodes.splice(n,0,t);for(let e in this.indexes)n<=(r=this.indexes[e])&&(this.indexes[e]=r+o.length);return this.markDirty(),this}normalize(e,t){if("string"==typeof e)e=function(e){let t=e.slice();for(;t.length>0;){let e=t.pop();if(delete e.source,e.nodes)for(let r of(e.nodes=e.nodes.slice(),e.nodes))t.push(r)}return e.slice()}(i(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(let t of e=e.slice(0))t.parent&&t.parent.removeChild(t,"ignore");else if("root"===e.type&&"document"!==this.type)for(let t of e=e.nodes.slice(0))t.parent&&t.parent.removeChild(t,"ignore");else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new l(e)]}else if(e.selector||e.selectors)e=[new s(e)];else if(e.name)e=[new n(e)];else if(e.text)e=[new a(e)];else throw Error("Unknown node type in node creation");return e.map(e=>(e[d]||h.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[c]&&function(e){let t=[e];for(;t.length>0;){let e=t.pop();if(e[c]=!1,e.proxyOf.nodes)for(let r of e.proxyOf.nodes)t.push(r)}}(e),e.raws||(e.raws={}),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e))}prepend(...e){for(let t of e=e.reverse()){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;for(let r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(n=>{t.props&&!t.props.includes(n.prop)||(!t.fast||n.value.includes(t.fast))&&(n.value=n.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){if(!this.proxyOf.nodes)return;let t=[{iterator:this.getIterator(),node:this.proxyOf}];for(;t.length>0;){let r,{iterator:n,node:i}=t[t.length-1],o=i.indexes[n];if(o>=i.proxyOf.nodes.length){delete i.indexes[n],t.pop();let e=t[t.length-1];e&&(e.node.indexes[e.iterator]+=1);continue}let s=i.proxyOf.nodes[o];try{r=e(s,o)}catch(e){throw s.addToError(e)}if(!1===r){for(let e of t)delete e.node.indexes[e.iterator];return!1}s.walk&&s.proxyOf.nodes?t.push({iterator:s.getIterator(),node:s}):i.indexes[n]+=1}}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("atrule"===e.type)return t(e,r)}))}walkComments(e){return this.walk((t,r)=>{if("comment"===t.type)return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("decl"===e.type)return t(e,r)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("rule"===e.type)return t(e,r)}))}}h.registerParse=e=>{i=e},h.registerRule=e=>{s=e},h.registerAtRule=e=>{n=e},h.registerRoot=e=>{o=e}
8,t.exports=h,h.default=h,h.rebuild=e=>{let t=[e];for(;t.length>0;){let e=t.pop();if("atrule"===e.type?Object.setPrototypeOf(e,n.prototype):"rule"===e.type?Object.setPrototypeOf(e,s.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type?Object.setPrototypeOf(e,a.prototype):"root"===e.type&&Object.setPrototypeOf(e,o.prototype),e[d]=!0,e.nodes)for(let r of e.nodes)t.push(r)}}},670255,(e,t,r)=>{"use strict";let n=e.r(296045);class i extends n{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}t.exports=i,i.default=i,n.registerAtRule(i)},698475,(e,t,r)=>{"use strict";let n,i,o=e.r(296045);class s extends o{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new n(new i,this,e).stringify()}}s.registerLazyResult=e=>{n=e},s.registerProcessor=e=>{i=e},t.exports=s,s.default=s},802658,(e,t,r)=>{t.exports={nanoid:(e=21)=>{let t="",r=0|e;for(;r-- >0;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let n="",i=0|r;for(;i-- >0;)n+=e[Math.random()*e.length|0];return n}}},343954,(e,t,r)=>{!function(){"use strict";var e={922:function(e){e.exports=function(e,r,n,i){r=r||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(r);var a=1e3;i&&"number"==typeof i.maxKeys&&(a=i.maxKeys);var l=e.length;a>0&&l>a&&(l=a);for(var u=0;u<l;++u){var c,d,h,f,p=e[u].replace(s,"%20"),m=p.indexOf(n);(m>=0?(c=p.substr(0,m),d=p.substr(m+1)):(c=p,d=""),h=decodeURIComponent(c),f=decodeURIComponent(d),Object.prototype.hasOwnProperty.call(o,h))?t(o[h])?o[h].push(f):o[h]=[o[h],f]:o[h]=f}return o};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},790:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,o,s,a){return(o=o||"&",s=s||"=",null===e&&(e=void 0),"object"==typeof e)?n(i(e),function(i){var a=encodeURIComponent(t(i))+s;return r(e[i])?n(e[i],function(e){return a+encodeURIComponent(t(e))}).join(o):a+encodeURIComponent(t(e[i]))}).join(o):a?encodeURIComponent(t(a))+s+encodeURIComponent(t(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}}},r={};function n(t){var i=r[t];if(void 0!==i)return i.exports;var o=r[t]={exports:{}},s=!0;try{e[t](o,o.exports,n),s=!1}finally{s&&delete r[t]}return o.exports}n.ab="/ROOT/node_modules/next/dist/compiled/querystring-es3/";var i={};i.decode=i.parse=n(922),i.encode=i.stringify=n(790),t.exports=i}()},421342,(e,t,r)=>{var n={221:function(t){"use strict";t.exports=e.r(343954)}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}},s=!0;try{n[e](r,r.exports,o),s=!1}finally{s&&delete i[e]}return r.exports}o.ab="/ROOT/node_modules/next/dist/compiled/native-url/";var s={};!function(){var e,t=(e=o(221))&&"object"==typeof e&&"default"in e?e.default:e,r=/https?|ftp|gopher|file/;function n(e){"string"==typeof e&&(e=y(e));var n,i,o,s,a,l,u,c,d,h=(i=(n=e).auth,o=n.hostname,s=n.protocol||"",a=n.pathname||"",l=n.hash||"",u=n.query||"",c=!1,i=i?encodeURIComponent(i).replace(/%3A/i,":")+"@":"",n.host?c=i+n.host:o&&(c=i+(~o.indexOf(":")?"["+o+"]":o),n.port&&(c+=":"+n.port)),u&&"object"==typeof u&&(u=t.encode(u)),d=n.search||u&&"?"+u||"",s&&":"!==s.substr(-1)&&(s+=":"),n.slashes||(!s||r.test(s))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),d&&"?"!==d[0]&&(d="?"+d),{protocol:s,host:c,pathname:a=a.replace(/[?#]/g,encodeURIComponent),search:d=d.replace("#","%23"),hash:l});return""+h.protocol+h.host+h.pathname+h.search+h.hash}var i="http://",a=i+"w.w",l=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,u=/https?|ftp|gopher|file/;function c(e,t){var r="string"==typeof e?y(e):e;e="object"==typeof e?n(e):e;var o=y(t),s="";r.protocol&&!r.slashes&&(s=r.protocol,e=e.replace(r.protocol,""),s+="/"===t[0]||"/"===e[0]?"/":""),s&&o.protocol&&(s="",o.slashes||(s=o.protocol,t=t.replace(o.protocol,"")));var c=e.match(l);c&&!o.protocol&&(e=e.substr((s=c[1]+(c[2]||"")).length),/^\/\/[^/]/.test(t)&&(s=s.slice(0,-1)));var d=new URL(e,a+"/"),h=new URL(t,d).toString().replace(a,""),f=o.protocol||r.protocol;return f+=r.slashes||o.slashes?"//":"",!s&&f?h=h.replace(i,f):s&&(h=h.replace(i,"")),u.test(h)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==h.slice(-1)||(h=h.slice(0,-1)),s&&(h=s+("/"===h[0]?h.substr(1):h)),h}function d(){}d.prototype.parse=y,d.prototype.format=n,d.prototype.resolve=c,d.prototype.resolveObject=c;var h=/^https?|ftp|gopher|file/,f=/^(.*?)([#?].*)/,p=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,m=/^([a-z0-9.+-]*:)?\/\/\/*/i,g=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;
8function y(e,r,i){if(void 0===r&&(r=!1),void 0===i&&(i=!1),e&&"object"==typeof e&&e instanceof d)return e;var o=(e=e.trim()).match(f);e=o?o[1].replace(/\\/g,"/")+o[2]:e.replace(/\\/g,"/"),g.test(e)&&"/"!==e.slice(-1)&&(e+="/");var s=!/(^javascript)/.test(e)&&e.match(p),l=m.test(e),u="";s&&(h.test(s[1])||(u=s[1].toLowerCase(),e=""+s[2]+s[3]),s[2]||(l=!1,h.test(s[1])?(u=s[1],e=""+s[3]):e="//"+s[3]),3!==s[2].length&&1!==s[2].length||(u=s[1],e="/"+s[3]));var c,y=(o?o[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),b=y&&y[1],v=new d,x="",w="";try{c=new URL(e)}catch(t){x=t,u||i||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(w="/",e=e.substr(1));try{c=new URL(e,a)}catch(e){return v.protocol=u,v.href=u,v}}v.slashes=l&&!w,v.host="w.w"===c.host?"":c.host,v.hostname="w.w"===c.hostname?"":c.hostname.replace(/(\[|\])/g,""),v.protocol=x?u||null:c.protocol,v.search=c.search.replace(/\\/g,"%5C"),v.hash=c.hash.replace(/\\/g,"%5C");var E=e.split("#");!v.search&&~E[0].indexOf("?")&&(v.search="?"),v.hash||""!==E[1]||(v.hash="#"),v.query=r?t.decode(c.search.substr(1)):v.search.substr(1),v.pathname=w+(s?c.pathname.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(e){return t}}):c.pathname),"about:"===v.protocol&&"blank"===v.pathname&&(v.protocol="",v.pathname=""),x&&"/"!==e[0]&&(v.pathname=v.pathname.substr(1)),u&&!h.test(u)&&"/"!==e.slice(-1)&&"/"===v.pathname&&(v.pathname=""),v.path=v.pathname+v.search,v.auth=[c.username,c.password].map(decodeURIComponent).filter(Boolean).join(":"),v.port=c.port,b&&!v.host.endsWith(b)&&(v.host+=b,v.port=b.slice(1)),v.href=w?""+v.pathname+v.search+v.hash:n(v);var T=/^(file)/.test(v.href)?["host","hostname"]:[];return Object.keys(v).forEach(function(e){~T.indexOf(e)||(v[e]=v[e]||null)}),v}s.parse=y,s.format=n,s.resolve=c,s.resolveObject=function(e,t){return y(c(e,t))},s.Url=d}(),t.exports=s},467034,(e,t,r)=>{var n={872:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=l(e),s=o[0],a=o[1],u=new i((s+a)*3/4-a),c=0,d=a>0?s-4:s;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=0,a=n-i;s<a;s+=16383)o.push(function(e,t,n){for(var i,o=[],s=t;s<n;s+=3)i=(e[s]<<16&0xff0000)+(e[s+1]<<8&65280)+(255&e[s+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="u">typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},230:function(e,t,r){"use strict";var n=r(872),i=r(321),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!a.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|f(n,i),l=s(o),u=l.write(n,i);return u!==o&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(e))return d(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(_(e,ArrayBuffer)||e&&_(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(_(e,SharedArrayBuffer)||e&&_(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),a.prototype),n}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var c=e.valueOf&&e.valueOf();if(null!=c&&c!==e)return a.from(c,t,r);var p=function(e){if(a.isBuffer(e)){var t=0|h(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?s(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(p)return p;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
vendor: 16,509 bytes, line 8
8if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),s(e<0?0:0|h(e))}function d(e){for(var t=e.length<0?0:0|h(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!a.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(u(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return c(e)},a.allocUnsafeSlow=function(e){return c(e)};function h(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function f(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||_(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return A(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return S(e).length;default:if(i)return n?-1:A(e).length;t=(""+t).toLowerCase(),i=!0}}function p(e,t,r){var i,o,s,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=N[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=this,o=t,s=r,0===o&&s===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return y(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function y(e,t,r,n,i){var o,s=1,a=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,l/=2,r/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var c=-1;for(o=r;o<a;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*s}else -1!==c&&(o-=o-c),c=-1}else for(r+l>a&&(r=a-l),o=r;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(u(e,o+h)!==u(t,h)){d=!1;break}if(d)return o}return -1}a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(_(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),_(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=a.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(_(o,Uint8Array)&&(o=a.from(o)),!a.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},a.byteLength=f,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):p.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,i){if(_(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,s=r-t,l=Math.min(o,s),u=this.slice(n,i),c=e.slice(t,r),d=0;d<l;++d)if(u[d]!==c[d]){o=u[d],s=c[d];break}return o<s?-1:+(s<o)},a.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)};function b(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,s,a,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],s=e[i+2],(192&o)==128&&(192&s)==128&&(l=(15&u)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(l=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=d}var h=n,f=h.length;if(f<=4096)return String.fromCharCode.apply(String,h);for(var p="",m=0;m<f;)p+=String.fromCharCode.apply(String,h.slice(m,m+=4096));return p}function v(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function x(e,t,r,n,i,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function w(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function E(e,t,r,n,o){return t*=1,r>>>=0,o||w(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function T(e,t,r,n,o){return t*=1,r>>>=0,o||w(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,s,a,l,u,c,d,h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var f=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a,l=parseInt(t.substr(2*s,2),16);if((a=l)!=a)break;e[r+s]=l}return s}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,I(A(e,this.length-i),this,i,o);case"ascii":return s=t,a=r,I(R(e),this,s,a);case"latin1":case"binary":return function(e,t,r,n){return I(R(t),e,r,n)}(this,e,t,r);case"base64":return l=t,u=r,I(S(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=r,I(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,d);default:if(f)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),f=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readUInt8=function(e,t){return e>>>=0,t||v(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||v(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||v(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||v(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;x(this,e,t,r,i,0)}var o=1,s=0;for(this[t]=255&e;++s<r&&(o*=256);)this[t+s]=e/o&255;return t+r},a.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;x(this,e,t,r,i,0)}var o=r-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);x(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);x(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return E(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return E(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return T(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return T(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var o=i-1;o>=0;--o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var s=a.isBuffer(e)?e:a.from(e,n),l=s.length;
8if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=s[i%l]}return this};var C=/[^+/0-9A-Za-z-_]/g;function A(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function R(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function S(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(C,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function _(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var N=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},321:function(e,t){t.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,l=(1<<a)-1,u=l>>1,c=-7,d=r?i-1:0,h=r?-1:1,f=e[t+d];for(d+=h,o=f&(1<<-c)-1,f>>=-c,c+=a;c>0;o=256*o+e[t+d],d+=h,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=256*s+e[t+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,n),o-=u}return(f?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,h=5960464477539062e-23*(23===i),f=n?0:o-1,p=n?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(a=+!!isNaN(t),s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=h/l:t+=h*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*l-1)*Math.pow(2,i),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[r+f]=255&a,f+=p,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;e[r+f]=255&s,f+=p,s/=256,u-=8);e[r+f-p]|=128*m}}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}},s=!0;try{n[e](r,r.exports,o),s=!1}finally{s&&delete i[e]}return r.exports}o.ab="/ROOT/node_modules/next/dist/compiled/buffer/",t.exports=o(230)},804468,(e,t,r)=>{"use strict";var n=e.i(467034);let{existsSync:i,readFileSync:o}={},{dirname:s,isAbsolute:a,join:l,relative:u,sep:c}={},{SourceMapConsumer:d,SourceMapGenerator:h}={};class f{constructor(e,t){if(!1===t.map)return;t.unsafeMap&&(this.unsafeMap=!0),this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new d(this.json||this.text)),this.consumerCache}decodeInline(e){let t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));let r=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(r){var i;return i=e.substr(r[0].length),n.Buffer.from(i,"base64").toString()}let o=e.slice(22);throw Error("Unsupported source map encoding "+(o=o.slice(0,o.indexOf(","))))}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}loadFile(e,t,r){if(!r&&!this.unsafeMap){if(!/\.map$/i.test(e)||!t)return;let r=u(s(t),e);if(".."===r||r.startsWith(".."+c)||a(r))return}if(this.root=s(e),i(e))return this.mapFile=e,o(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t)if("string"==typeof t)return t;else if("function"==typeof t){let r=t(e);
8if(r){let t=this.loadFile(r,e,!0);if(!t)throw Error("Unable to load previous source map: "+r.toString());return t}}else if(t instanceof d)return h.fromSourceMap(t).toString();else if(t instanceof h)return t.toString();else if(this.isMap(t))return JSON.stringify(t);else throw Error("Unsupported previous source map format: "+t.toString());else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){let t=this.annotation;e&&(t=l(s(e),t));let r=this.loadFile(t,e,!1);if(r)try{this.json=JSON.parse(r.replace(/^\)]}'[^\n]*\n/,""))}catch{return}return r}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}t.exports=f,f.default=f},2278,(e,t,r)=>{"use strict";let{nanoid:n}=e.r(802658),{isAbsolute:i,resolve:o}={},{SourceMapConsumer:s,SourceMapGenerator:a}={},{fileURLToPath:l,pathToFileURL:u}=e.r(421342),c=e.r(71528),d=e.r(804468),h={},f=Symbol("lineToIndexCache"),p=!!(s&&a),m=!!(o&&i);function g(e){if(e[f])return e[f];let t=e.css.split("\n"),r=Array(t.length),n=0;for(let e=0,i=t.length;e<i;e++)r[e]=n,n+=t[e].length+1;return e[f]=r,r}class y{get from(){return this.file||this.id}constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\uFEFF"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,t.document&&(this.document=t.document.toString()),t.from&&(!m||/^\w+:\/\//.test(t.from)||i(t.from)?this.file=t.from:this.file=o(t.from)),m&&p){let e=new d(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+n(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,n={}){let i,o,s,a,l;if(t&&"object"==typeof t){let e=t,n=r;if("number"==typeof e.offset){a=e.offset;let n=this.fromOffset(a);t=n.line,r=n.col}else t=e.line,r=e.column,a=this.fromLineAndColumn(t,r);if("number"==typeof n.offset){s=n.offset;let e=this.fromOffset(s);o=e.line,i=e.col}else o=n.line,i=n.column,s=this.fromLineAndColumn(n.line,n.column)}else if(r)a=this.fromLineAndColumn(t,r);else{a=t;let e=this.fromOffset(a);t=e.line,r=e.col}let d=this.origin(t,r,o,i);return(l=d?new c(e,void 0===d.endLine?d.line:{column:d.column,line:d.line},void 0===d.endLine?d.column:{column:d.endColumn,line:d.endLine},d.source,d.file,n.plugin):new c(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:i,line:o},this.css,this.file,n.plugin)).input={column:r,endColumn:i,endLine:o,endOffset:s,line:t,offset:a,source:this.css},this.file&&(u&&(l.input.url=u(this.file).toString()),l.input.file=this.file),l}fromLineAndColumn(e,t){return g(this)[e-1]+t-1}fromOffset(e){let t=g(this),r=t[t.length-1],n=0;if(e>=r)n=t.length-1;else{let r,i=t.length-2;for(;n<i;)if(e<t[r=n+(i-n>>1)])i=r-1;else if(e>=t[r+1])n=r+1;else{n=r;break}}return{col:e-t[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:o(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,n){let o,s;if(!this.map)return!1;let a=this.map.consumer(),c=a.originalPositionFor({column:t-1,line:e});if(!c.source)return!1;if("number"==typeof r){let e=a.originalPositionFor({column:n-1,line:r});e.source&&(o=e)}s=i(c.source)?u(c.source):new URL(c.source,this.map.consumer().sourceRoot||u(this.map.mapFile));let d={column:c.column+1,endColumn:o&&o.column+1,endLine:o&&o.line,line:c.line,url:s.toString()};if("file:"===s.protocol)if(l)d.file=l(s);else throw Error("file: protocol is not available in this PostCSS build");let h=a.sourceContentFor(c.source);return h&&(d.source=h),d}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}t.exports=y,y.default=y,h&&h.registerInput&&h.registerInput(y)},551517,(e,t,r)=>{"use strict";let n,i,o=e.r(296045);class s extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let n=new Set;for(let t of Array.isArray(e)?e:[e])t&&"object"==typeof t&&!t.parent&&t.raws&&void 0!==t.raws.before&&n.add(t.raws);let i=super.normalize(e);if(t){if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of i)n.has(e.raws)||(e.raws.before=t.raws.before)}return i}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new n(new i,this,e).stringify()}}s.registerLazyResult=e=>{n=e},s.registerProcessor=e=>{i=e}
8,t.exports=s,s.default=s,o.registerRoot(s)},350215,(e,t,r)=>{"use strict";let n={comma:e=>n.split(e,[","],!0),space:e=>n.split(e,[" ","\n","	"]),split(e,t,r){if(!e)return[];let n=[],i="",o=!1,s=0,a=!1,l="",u=!1;for(let r of e)u?u=!1:"\\"===r?u=!0:a?r===l&&(a=!1):'"'===r||"'"===r?(a=!0,l=r):"("===r?s+=1:")"===r?s>0&&(s-=1):0===s&&t.includes(r)&&(o=!0),o?(""!==i&&n.push(i.trim()),i="",o=!1):i+=r;return(r||""!==i)&&n.push(i.trim()),n}};t.exports=n,n.default=n},893894,(e,t,r)=>{"use strict";let n=e.r(296045),i=e.r(350215);class o extends n{get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}}t.exports=o,o.default=o,n.registerRule(o)},498729,(e,t,r)=>{"use strict";let n=e.r(670255),i=e.r(877906),o=e.r(721772),s=e.r(2278),a=e.r(804468),l=e.r(551517),u=e.r(893894);function c(e,t){return e.inputs?e.inputs.map(e=>{let t={...e,__proto__:s.prototype};return t.map&&(t.map={...t.map,__proto__:a.prototype}),t}):t}function d(e,t){let r;if(Array.isArray(e))return e.map(e=>d(e));let s=[{childIndex:0,children:[],inputs:c(e,t),json:e}];for(;s.length>0;){let e=s[s.length-1],t=e.json.nodes;if(t&&e.childIndex<t.length){let r=t[e.childIndex];e.childIndex+=1,s.push({childIndex:0,children:[],inputs:c(r,e.inputs),json:r});continue}s.pop();let a=function(e,t,r){let s,a={...e};if(delete a.inputs,delete a.nodes,a.source){let{inputId:e,...r}=a.source;a.source=r,null!=e&&(a.source.input=t[e])}if("root"===a.type)s=new l(a);else if("decl"===a.type)s=new o(a);else if("rule"===a.type)s=new u(a);else if("comment"===a.type)s=new i(a);else if("atrule"===a.type)s=new n(a);else throw Error("Unknown node type: "+e.type);if(r)for(let e of(s.nodes=r,r))e.parent=s;return s}(e.json,e.inputs,t?e.children:void 0);s.length>0?s[s.length-1].children.push(a):r=a}return r}t.exports=d,d.default=d},320194,(e,t,r)=>{"use strict";var n=e.i(467034);let{dirname:i,relative:o,resolve:s,sep:a}={},{SourceMapConsumer:l,SourceMapGenerator:u}={},{pathToFileURL:c}=e.r(421342),d=e.r(2278),h=!!(l&&u),f=!!(i&&s&&o&&a);t.exports=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),n=e.root||i(e.file);!1===this.mapOpts.sourcesContent?(t=new l(e.text)).sourcesContent&&(t.sourcesContent=null):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(n)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation){if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else if(this.css){let e;for(;-1!==(e=this.css.lastIndexOf("/*#"));){let t=this.css.indexOf("*/",e+3);if(-1===t)break;for(;e>0&&"\n"===this.css[e-1];)e--;this.css=this.css.slice(0,e)+this.css.slice(t+2)}}}}generate(){if(this.clearAnnotation(),f&&h&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=u.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new u({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return(this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline())?[this.css]:[this.css,this.map]}generateString(){let e,t;this.css="",this.map=new u({file:this.outputFile(),ignoreInvalidMapping:!0});let r=1,n=1,i="<no source>",o={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,(s,a,l)=>{if(this.css+=s,a&&"end"!==l&&(o.generated.line=r,o.generated.column=n-1,a.source&&a.source.start?(o.source=this.sourcePath(a),o.original.line=a.source.start.line,o.original.column=a.source.start.column-1):(o.source=i,o.original.line=1,o.original.column=0),this.map.addMapping(o)),(t=s.match(/\n/g))?(r+=t.length,e=s.lastIndexOf("\n"),n=s.length-e):n+=s.length,a&&"start"!==l){let e=a.parent||{raws:{}};(!("decl"===a.type||"atrule"===a.type&&!a.nodes)||a!==e.last||e.raws.semicolon)&&(a.source&&a.source.end?(o.source=this.sourcePath(a),o.original.line=a.source.end.line,o.original.column=a.source.end.column-1,o.generated.line=r,o.generated.column=n-2):(o.source=i,o.original.line=1,o.original.column=0,o.generated.line=r,o.generated.column=n-1),this.map.addMapping(o))}})}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||60===e.charCodeAt(0)||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?i(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=i(s(r,this.mapOpts.annotation)));let n=o(r,e);return this.memoizedPaths.set(e,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new d(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return n.Buffer.from(e).toString("base64")}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}throw Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===a&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}}},46980,(e,t,r)=>{"use strict";let n=/[\t\n\f\r "#'()/;[\\\]{}
8]/g,i=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,o=/.[\r\n"'(/\\]/,s=/[\da-f]/i;t.exports=function(e,t={}){let r,a,l,u,c,d,h,f,p,m,g=e.css.valueOf(),y=t.ignoreErrors,b=g.length,v=0,x=[],w=[],E=-1;function T(t){throw e.error("Unclosed "+t,v)}return{back:function(e){w.push(e)},endOfFile:function(){return 0===w.length&&v>=b},nextToken:function(e){if(w.length)return w.pop();if(v>=b)return;let t=!!e&&e.ignoreUnclosed;switch(r=g.charCodeAt(v)){case 10:case 32:case 9:case 13:case 12:u=v;do u+=1,r=g.charCodeAt(u);while(32===r||10===r||9===r||13===r||12===r)d=["space",g.slice(v,u)],v=u-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let e=String.fromCharCode(r);d=[e,e,v];break}case 40:if(m=x.length?x.pop()[1]:"",p=g.charCodeAt(v+1),"url"===m&&39!==p&&34!==p&&32!==p&&10!==p&&9!==p&&12!==p&&13!==p){u=v;do{if(h=!1,-1===(u=g.indexOf(")",u+1)))if(y||t){u=v;break}else T("bracket");for(f=u;92===g.charCodeAt(f-1);)f-=1,h=!h}while(h)d=["brackets",g.slice(v,u+1),v,u],v=u}else v<=E?d=["(","(",v]:(u=g.indexOf(")",v+1),a=g.slice(v,u+1),-1===u||o.test(a)?(E=-1===u?b:u,d=["(","(",v]):(d=["brackets",a,v,u],v=u));break;case 39:case 34:c=39===r?"'":'"',u=v;do{if(h=!1,-1===(u=g.indexOf(c,u+1)))if(y||t){u=v+1;break}else T("string");for(f=u;92===g.charCodeAt(f-1);)f-=1,h=!h}while(h)d=["string",g.slice(v,u+1),v,u],v=u;break;case 64:n.lastIndex=v+1,n.test(g),u=0===n.lastIndex?g.length-1:n.lastIndex-2,d=["at-word",g.slice(v,u+1),v,u],v=u;break;case 92:for(u=v,l=!0;92===g.charCodeAt(u+1);)u+=1,l=!l;if(r=g.charCodeAt(u+1),l&&47!==r&&32!==r&&10!==r&&9!==r&&13!==r&&12!==r&&(u+=1,s.test(g.charAt(u)))){for(;s.test(g.charAt(u+1));)u+=1;32===g.charCodeAt(u+1)&&(u+=1)}d=["word",g.slice(v,u+1),v,u],v=u;break;default:47===r&&42===g.charCodeAt(v+1)?(0===(u=g.indexOf("*/",v+2)+1)&&(y||t?u=g.length:T("comment")),d=["comment",g.slice(v,u+1),v,u]):(i.lastIndex=v+1,i.test(g),u=0===i.lastIndex?g.length-1:i.lastIndex-2,d=["word",g.slice(v,u+1),v,u],x.push(d)),v=u}return v++,d},position:function(){return v}}}},552371,(e,t,r)=>{"use strict";let n=e.r(670255),i=e.r(877906),o=e.r(721772),s=e.r(551517),a=e.r(893894),l=e.r(46980),u={empty:!0,space:!0};function c(e,t,r){let n="";for(let i=t;i<r;i++)n+=e[i][1];return n}t.exports=class{constructor(e){this.input=e,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,r,i,o=new n;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);let s=!1,a=!1,l=[],u=[];for(;!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length)if(";"===t){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}else if("{"===t){a=!0;break}else if("}"===t){if(l.length>0){for(i=l.length-1,r=l[i];r&&"space"===r[0];)r=l[--i];r&&(o.source.end=this.getPosition(r[3]||r[2]),o.source.end.offset++)}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(o.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(o,"params",l),s&&(e=l[l.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),a&&(o.nodes=[],this.current=o)}checkMissedSemicolon(e){let t,r=this.colon(e);if(!1===r)return;let n=0;for(let i=r-1;i>=0&&("space"===(t=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===t[0]?t[3]+1:t[2])}colon(e){let t,r,n=0;for(let[i,o]of e.entries()){if("("===(r=o[0])&&(n+=1),")"===r&&(n-=1),0===n&&":"===r)if(t)if("word"===t[0]&&"progid"===t[1])continue;else return i;else this.doubleColon(o);t=o}return!1}comment(e){let t=new i;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(r.trim()){let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}else t.text="",t.raws.left=r,t.raws.right=""}createTokenizer(){this.tokenizer=l(this.input)}decl(e,t){let r,n=new o;this.init(n,e[0][2]);let i=e[e.length-1];";"===i[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],n=r[3]||r[2];if(n)return n}}(e)),n.source.end.offset++;let s=0;for(;"word"!==e[s][0];)s===e.length-1&&this.unknownWord([e[s]]),s++;n.raws.before+=c(e,0,s),n.source.start=this.getPosition(e[s][2]);let a=s;for(;s<e.length;){let t=e[s][0];if(":"===t||"space"===t||"comment"===t)break;s++}n.prop=c(e,a,s);let l=s;for(;s<e.length&&(r=e[s],s++,":"!==r[0]);)"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]);n.raws.between=c(e,l,s),("_"===n.prop[0]||"*"===n.prop[0])&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let u=s;for(;s<e.length;){let t=e[s][0];if("space"!==t&&"comment"!==t)break;s++}let d=e.slice(u,s);e=e.slice(s),this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;
8t--){if("!important"===(r=e[t])[1].toLowerCase()){n.important=!0;let r=this.stringFrom(e,t);" !important"!==(r=this.spacesFromEnd(e)+r)&&(n.raws.important=r);break}if("important"===r[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(i.trim().startsWith("!")&&"space"!==t)break;i=r.pop()[1]+i}i.trim().startsWith("!")&&(n.important=!0,n.raws.important=i,e=r)}if("space"!==r[0]&&"comment"!==r[0])break}e.some(e=>"space"!==e[0]&&"comment"!==e[0])&&(n.raws.between+=d.map(e=>e[1]).join(""),d=[]),this.raw(n,"value",d.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new a;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,r=null,n=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),"("===r||"["===r)i||(i=l),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=l),o.push("}");else if(0===o.length)if(";"===r)if(n)return void this.decl(a,s);else break;else if("{"===r)return void this.rule(a);else if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}else":"===r&&(n=!0);else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(l=a[a.length-1][0])||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,n){let i,o,s,a,l=r.length,c="",d=!0;for(let e=0;e<l;e+=1)"space"!==(o=(i=r[e])[0])||e!==l-1||n?"comment"===o?(a=r[e-1]?r[e-1][0]:"empty",s=r[e+1]?r[e+1][
80]:"empty",u[a]||u[s]||","===c.slice(-1)?d=!1:c+=i[1]):c+=i[1]:d=!1;if(!d){let n=r.reduce((e,t)=>e+t[1],"");e.raws[t]={raw:n,value:c}}e[t]=c}rule(e){e.pop();let t=new a;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t="";for(;e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t}stringFrom(e,t){let r="";for(let n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}},357373,(e,t,r)=>{"use strict";e.i(247167);let n=e.r(296045),i=e.r(2278),o=e.r(552371);function s(e,t){let r=new o(new i(e,t));try{r.parse()}catch(e){throw e}return r.root}t.exports=s,s.default=s,n.registerParse(s)},683078,(e,t,r)=>{"use strict";let n=e.r(296045),{my:i}=e.r(322302);class o{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){t.node[i]||n.rebuild(t.node);let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}t.exports=o,o.default=o},148665,(e,t,r)=>{"use strict";let n=e.r(683078);class i{get content(){return this.css}constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css="",this.map=void 0}toString(){return this.css}warn(e,t={}){!t.plugin&&this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new n(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>"warning"===e.type)}}t.exports=i,i.default=i},680698,(e,t,r)=>{"use strict";let n={};t.exports=function(e){!n[e]&&(n[e]=!0,"u">typeof console&&console.warn&&console.warn(e))}},409249,(e,t,r)=>{"use strict";e.i(247167);let n=e.r(296045),i=e.r(698475),o=e.r(320194),s=e.r(357373),a=e.r(148665),l=e.r(551517),u=e.r(140293),{isClean:c,my:d}=e.r(322302);e.r(680698);let h={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},f={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},p={Once:!0,postcssPlugin:!0,prepare:!0};function m(e){return"object"==typeof e&&"function"==typeof e.then}function g(e){let t=!1,r=h[e.type];return("decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append)?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function y(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:g(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function b(e){let t=[e];for(;t.length>0;){let e=t.pop();if(e[c]=!1,e.nodes)for(let r of e.nodes)t.push(r)}return e}let v={};class x{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,t,r){let i;if(this.stringified=!1,this.processed=!1,"object"==typeof t&&null!==t&&("root"===t.type||"document"===t.type))i=b(t);else if(t instanceof x||t instanceof a)i=b(t.root),t.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let e=s;r.syntax&&(e=r.syntax.parse),r.parser&&(e=r.parser),e.parse&&(e=e.parse);try{i=e(t,r)}catch(e){this.processed=!0,this.error=e}i&&!i[d]&&n.rebuild(i)}this.result=new a(e,i,r),this.helpers={...v,postcss:v,result:this.result},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!f[r]&&/^[A-Z]/.test(r))throw Error(`Unknown event ${r} in ${t.postcssPlugin}
8. Try to update PostCSS (${this.processor.version} now).`);if(!p[r])if("object"==typeof t[r])for(let n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(m(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[c];){e[c]=!0;let t=[y(e)];for(;t.length>0;){let e=this.visitTick(t);if(m(e))try{await e}catch(r){let e=t[t.length-1].node;throw this.handleError(r,e)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map(e=>r(e,this.helpers));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));if(m(t[0]))return Promise.all(t);return t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=u;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=this.result.root.source;if(void 0===e.map&&!(r&&r.input&&r.input.map)){let e="";return t(this.result.root,t=>{e+=t}),this.result.css=e,this.result}let n=new o(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(m(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[c];)e[c]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(m(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:n}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(n.length>0&&t.visitorIndex<n.length){let[e,i]=n[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let n,i=t.iterator;for(t.descending&&(t.descending=!1,r.indexes[i]+=1);n=r.nodes[r.indexes[i]];){if(!n[c]){n[c]=!0,t.descending=!0,e.push(y(n));return}r.indexes[i]+=1}t.iterator=0,delete r.indexes[i]}let i=t.events;for(;t.eventIndex<i.length;){let e=i[t.eventIndex];if(t.eventIndex+=1,0===e){r.nodes&&r.nodes.length&&(r[c]=!0,t.iterator=r.getIterator());return}if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){e[c]=!0;let t=[{eventIndex:0,events:g(e),iterator:0,node:e}];for(;t.length>0;){let e=t[t.length-1],r=e.node;if(0!==e.iterator){let n,i=e.iterator;e.descending&&(e.descending=!1,r.indexes[i]+=1);let o=!1;for(;n=r.nodes[r.indexes[i]];){if(!n[c]){n[c]=!0,e.descending=!0,t.push({eventIndex:0,events:g(n),iterator:0,node:n}),o=!0;break}r.indexes[i]+=1}if(o)continue;e.iterator=0,delete r.indexes[i]}if(e.eventIndex<e.events.length){let n=e.events[e.eventIndex];if(e.eventIndex+=1,0===n)r.nodes&&r.nodes.length&&(e.iterator=r.getIterator());else{let e=this.listeners[n];e&&this.visitSync(e,r.toProxy())&&t.pop()}continue}t.pop()}}warnings(){return this.sync().warnings()}}x.registerPostcss=e=>{v=e}
8,t.exports=x,x.default=x,l.registerLazyResult(x),i.registerLazyResult(x)},611589,(e,t,r)=>{"use strict";e.i(247167);let n=e.r(320194),i=e.r(357373),o=e.r(148665),s=e.r(140293);e.r(680698);class a{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){let e;if(this._root)return this._root;try{e=i(this._css,this._opts)}catch(e){this.error=e}if(!this.error)return this._root=e,e;throw this.error}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0,this.result=new o(this._processor,void 0,this._opts),this.result.css=t;let i=this;Object.defineProperty(this.result,"root",{get:()=>i.root});let a=new n(s,void 0,this._opts,t);if(a.isMap()){let[e,t]=a.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}}t.exports=a,a.default=a},111902,(e,t,r)=>{"use strict";e.i(247167);let n=e.r(698475),i=e.r(409249),o=e.r(611589),s=e.r(551517);class a{constructor(e=[]){this.version="8.5.25",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else if("object"==typeof r&&(r.parse||r.stringify));else throw Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new i(this,e,t):new o(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}t.exports=a,a.default=a,s.registerProcessor(a),n.registerProcessor(a)},789424,(e,t,r)=>{"use strict";var n=e.i(247167);let i=e.r(670255),o=e.r(877906),s=e.r(296045),a=e.r(71528),l=e.r(721772),u=e.r(698475),c=e.r(498729),d=e.r(2278),h=e.r(409249),f=e.r(350215),p=e.r(657612),m=e.r(357373),g=e.r(111902),y=e.r(148665),b=e.r(551517),v=e.r(893894),x=e.r(140293),w=e.r(683078);function E(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new g(e)}E.plugin=function(e,t){let r,i=!1;function o(...r){console&&console.warn&&!i&&(i=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),n.default.env.LANG&&n.default.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let s=t(...r);return s.postcssPlugin=e,s.postcssVersion=new g().version,s}return Object.defineProperty(o,"postcss",{get:()=>(r||(r=o()),r)}),o.process=function(e,t,r){return E([o(r)]).process(e,t)},o},E.stringify=x,E.parse=m,E.fromJSON=c,E.list=f,E.comment=e=>new o(e),E.atRule=e=>new i(e),E.decl=e=>new l(e),E.rule=e=>new v(e),E.root=e=>new b(e),E.document=e=>new u(e),E.CssSyntaxError=a,E.Declaration=l,E.Container=s,E.Processor=g,E.Document=u,E.Comment=o,E.Warning=w,E.AtRule=i,E.Result=y,E.Input=d,E.Rule=v,E.Root=b,E.Node=p,h.registerPostcss(E),t.exports=E,E.default=E},682108,360365,e=>{"use strict";var t,r=e.i(247167),n=e.i(271645),i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},o=function(e){var t;e?function(e){if(e)for(;e.lastChild;)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(t=document.querySelector(".grecaptcha-badge"))&&t.parentNode&&document.body.removeChild(t.parentNode)},s=function(e,t){o(t),window.___grecaptcha_cfg=void 0;var r,n=document.querySelector("#"+e);n&&n.remove(),(r=document.querySelector('script[src^="https://www.gstatic.
8com/recaptcha/releases"]'))&&r.remove()},a=function(e){var t=e.render,r=e.onLoadCallbackName,n=e.language,i=e.onLoad,o=e.useRecaptchaNet,s=e.useEnterprise,a=e.scriptProps,l=void 0===a?{}:a,u=l.nonce,c=void 0===u?"":u,d=l.defer,h=l.async,f=l.id,p=l.appendTo,m=(void 0===f?"":f)||"google-recaptcha-v3";if(document.querySelector("#"+m))i();else{var g,y="https://www."+((g={useEnterprise:s,useRecaptchaNet:o}).useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(g.useEnterprise?"enterprise.js":"api.js"),b=document.createElement("script");b.id=m,b.src=y+"?render="+t+("explicit"===t?"&onload="+r:"")+(n?"&hl="+n:""),c&&(b.nonce=c),b.defer=!!(void 0!==d&&d),b.async=!!(void 0!==h&&h),b.onload=i,("body"===p?document.body:document.getElementsByTagName("head")[0]).appendChild(b)}},l=function(e){void 0===r.default||r.default.env,console.warn(e)};(t||(t={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var u=(0,n.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});function c(e,t){return e(t={exports:{}},t.exports),t.exports}u.Consumer;var d="function"==typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,f=d?Symbol.for("react.portal"):60106,p=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,g=d?Symbol.for("react.profiler"):60114,y=d?Symbol.for("react.provider"):60109,b=d?Symbol.for("react.context"):60110,v=d?Symbol.for("react.async_mode"):60111,x=d?Symbol.for("react.concurrent_mode"):60111,w=d?Symbol.for("react.forward_ref"):60112,E=d?Symbol.for("react.suspense"):60113,T=d?Symbol.for("react.suspense_list"):60120,C=d?Symbol.for("react.memo"):60115,A=d?Symbol.for("react.lazy"):60116,R=d?Symbol.for("react.block"):60121,S=d?Symbol.for("react.fundamental"):60117,I=d?Symbol.for("react.responder"):60118,_=d?Symbol.for("react.scope"):60119;function N(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case h:switch(e=e.type){case v:case x:case p:case g:case m:case E:return e;default:switch(e=e&&e.$$typeof){case b:case w:case A:case C:case y:return e;default:return t}}case f:return t}}}function O(e){return N(e)===x}var k={AsyncMode:v,ConcurrentMode:x,ContextConsumer:b,ContextProvider:y,Element:h,ForwardRef:w,Fragment:p,Lazy:A,Memo:C,Portal:f,Profiler:g,StrictMode:m,Suspense:E,isAsyncMode:function(e){return O(e)||N(e)===v},isConcurrentMode:O,isContextConsumer:function(e){return N(e)===b},isContextProvider:function(e){return N(e)===y},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===h},isForwardRef:function(e){return N(e)===w},isFragment:function(e){return N(e)===p},isLazy:function(e){return N(e)===A},isMemo:function(e){return N(e)===C},isPortal:function(e){return N(e)===f},isProfiler:function(e){return N(e)===g},isStrictMode:function(e){return N(e)===m},isSuspense:function(e){return N(e)===E},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===p||e===x||e===g||e===m||e===E||e===T||"object"==typeof e&&null!==e&&(e.$$typeof===A||e.$$typeof===C||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===S||e.$$typeof===I||e.$$typeof===_||e.$$typeof===R)},typeOf:N},L=c(function(e,t){}),D=(L.AsyncMode,L.ConcurrentMode,L.ContextConsumer,L.ContextProvider,L.Element,L.ForwardRef,L.Fragment,L.Lazy,L.Memo,L.Portal,L.Profiler,L.StrictMode,L.Suspense,L.isAsyncMode,L.isConcurrentMode,L.isContextConsumer,L.isContextProvider,L.isElement,L.isForwardRef,L.isFragment,L.isLazy,L.isMemo,L.isPortal,L.isProfiler,L.isStrictMode,L.isSuspense,L.isValidElementType,L.typeOf,c(function(e){e.exports=k})),P={};P[D.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},P[D.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},e.s(["GoogleReCaptchaProvider",0,function(e){var r=e.reCaptchaKey,o=e.useEnterprise,c=void 0!==o&&o,d=e.useRecaptchaNet,h=void 0!==d&&d,f=e.scriptProps,p=e.language,m=e.container,g=e.children,y=(0,n.use
8State)(null),b=y[0],v=y[1],x=(0,n.useRef)(r),w=JSON.stringify(f),E=JSON.stringify(null==m?void 0:m.parameters);(0,n.useEffect)(function(){if(r){var e=(null==f?void 0:f.id)||"google-recaptcha-v3",n=(null==f?void 0:f.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[n]=function(){var e=c?window.grecaptcha.enterprise:window.grecaptcha,t=i({badge:"inline",size:"invisible",sitekey:r},(null==m?void 0:m.parameters)||{});x.current=e.render(null==m?void 0:m.element,t)},a({render:(null==m?void 0:m.element)?"explicit":r,onLoadCallbackName:n,useEnterprise:c,useRecaptchaNet:h,scriptProps:f,language:p,onLoad:function(){if(window&&window.grecaptcha){var e=c?window.grecaptcha.enterprise:window.grecaptcha;e.ready(function(){v(e)})}else l("<GoogleRecaptchaProvider /> "+t.SCRIPT_NOT_AVAILABLE)},onError:function(){l("Error loading google recaptcha script")}}),function(){s(e,null==m?void 0:m.element)}}l("<GoogleReCaptchaProvider /> recaptcha key not provided")},[c,h,w,E,p,r,null==m?void 0:m.element]);var T=(0,n.useCallback)(function(e){if(!b||!b.execute)throw Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return b.execute(x.current,{action:e})},[b,x]),C=(0,n.useMemo)(function(){return{executeRecaptcha:b?T:void 0,container:null==m?void 0:m.element}},[T,b,null==m?void 0:m.element]);return n.default.createElement(u.Provider,{value:C},g)},"useGoogleReCaptcha",0,function(){return(0,n.useContext)(u)}],682108);var M=e.i(15170);e.s(["default",0,function(){let[e,t]=(0,n.useState)(""),[r,i]=(0,n.useState)(!1),[o,s]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=()=>{let e=(0,M.getKetchGeo)();return e.country&&t(e.country),e.isLive&&(i(!0),s(!0)),e.isLive};if(e())return;window.addEventListener(M.KETCH_GEOIP_EVENT,e);let r=0,n=setInterval(()=>{r++,(e()||r>=10)&&(clearInterval(n),s(!0))},500);return()=>{window.removeEventListener(M.KETCH_GEOIP_EVENT,e),clearInterval(n)}},[]);let a=!r||!e||(0,M.requiresExplicitOptIn)(e),l=!!e&&(0,M.requiresExplicitOptIn)(e);return{country:e,countryResolved:o,needsExplicitOptIn:a,showConsentCheckbox:a&&(o||l)}}],360365)},132109,e=>{"use strict";let t=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function r(e){return 0===e||e>=55296&&e<=57343||e>1114111}let n=new Uint16Array([512,26465,29036,7,0,2,4,116,24638,116,24636,8693,29807,24610,621,1,0,0,3,112,24614,111,115,24615]);function i(e){return e-e9.ZERO>>>0<=9}(eQ=e8||(e8={}))[eQ.VALUE_LENGTH=49152]="VALUE_LENGTH",eQ[eQ.FLAG13=8192]="FLAG13",eQ[eQ.BRANCH_LENGTH=8064]="BRANCH_LENGTH",eQ[eQ.JUMP_TABLE=127]="JUMP_TABLE",eQ[eQ.VALUE_MASK=8191]="VALUE_MASK",(e0=e9||(e9={}))[e0.AMP=38]="AMP",e0[e0.NUM=35]="NUM",e0[e0.SEMI=59]="SEMI",e0[e0.EQUALS=61]="EQUALS",e0[e0.ZERO=48]="ZERO",e0[e0.NINE=57]="NINE",e0[e0.LOWER_A=97]="LOWER_A",e0[e0.LOWER_X=120]="LOWER_X",(e1=te||(te={}))[e1.EntityStart=0]="EntityStart",e1[e1.NumericStart=1]="NumericStart",e1[e1.NumericDecimal=2]="NumericDecimal",e1[e1.NumericHex=3]="NumericHex",e1[e1.NamedEntity=4]="NamedEntity",(e2=tt||(tt={}))[e2.Legacy=0]="Legacy",e2[e2.Strict=1]="Strict",e2[e2.Attribute=2]="Attribute";class o{decodeTree;emitCodePoint;errors;state=te.EntityStart;consumed=1;result=0;treeIndex=0;excess=1;decodeMode=tt.Strict;runConsumed=0;constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r}startEntity(e){this.decodeMode=e,this.state=te.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case te.EntityStart:if(e.charCodeAt(t)===e9.NUM)return this.state=te.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=te.NamedEntity,this.stateNamedEntity(e,t);case te.NumericStart:return this.stateNumericStart(e,t);case te.NumericDecimal:return this.stateNumericDecimal(e,t);case te.NumericHex:return this.stateNumericHex(e,t);default:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===e9.LOWER_X?(this.state=te.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=te.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){let r=e.length,{result:n}=this,{consumed:o}=this;for(;t<r;){let r=e.charCodeAt(t);if(!i(r)&&!((32|r)-e9.LOWER_A>>>0<=5))return this.result=n,this.consumed=o,this.emitNumericEntity(r,3);n=16*n+(r<=e9.NINE?r-e9.ZERO:(32|r)-e9.LOWER_A+10),o+=1,t+=1}return this.result=n,this.consumed=o,-1}stateNumericDecimal(e,t){let r=e.length,{result:n}=this,{consumed:i}=this;for(;t<r;){let r=e.charCodeAt(t)-e9.ZERO;if(r>>>0>9)return this.result=n,this.consumed=i,this.emitNumericEntity(r+e9.ZERO,2);n=10*n+r,i+=1,t+=1}return this.result=n,this.consumed=i,-1}emitNumericEntity(e,i){if(this.consumed<=i)return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===e9.SEMI)this.consumed+=1;else if(this.decodeMode===tt.Strict)return 0;return this.emitCodePoint((this.decodeTree===n?function(e){return r(e)?65533:e}:function(e){return r(e)?65533:e>=128&&e<=159&&t[e-128]||e})(this.result),this.consumed),this.errors&&(e!==e9.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}flushAndEmitLegacyOrReject(e,t,r,n){var o;return this.consumed=e,this.excess=t,0===this.result||this.decodeMode===tt.Attribute&&(0===n||t>1||(o=r)===e9.EQUALS||(32|o)-e9.LOWER_A>>>0<=25||i(o))?0:this.emitNotTerminatedNamedEntity()}stateNamedEntity(e,t){let{decodeTree:r}=this,n=e.length,i=this.decodeMode===tt.Strict,{treeIndex:o}=this,{excess:s}=this,{consumed:a}=this,l=r[o];for(;t<n;){for(;(l&(e8.VALUE_LENGTH|e8.FLAG13))==0&&(l&e8.JUMP_TABLE)!=0;){let i=e.charCodeAt(t),u=l&e8.JUMP_TABLE,c=(l&e8.BRANCH_LENGTH)>>7;if(0===c){if(i!==u)return this.flushAndEmitLegacyOrReject(a,s,i,0
8);o+=1}else{let e=i-u;if(e>>>0>=c)return this.flushAndEmitLegacyOrReject(a,s,i,0);let t=r[o+1+e];if(0===t)return this.flushAndEmitLegacyOrReject(a,s,i,0);o=o+c+t&65535}if(l=r[o],s+=1,(t+=1)>=n)break}if(t>=n)break;if((l&(e8.VALUE_LENGTH|e8.FLAG13))===e8.FLAG13){let i=(l&e8.BRANCH_LENGTH)>>7,{runConsumed:u}=this;if(0===u){let r=e.charCodeAt(t);if(r!==(l&e8.JUMP_TABLE))return this.flushAndEmitLegacyOrReject(a,s,r,0);t+=1,s+=1,u=1}for(;u<i;){if(t>=n)return this.treeIndex=o,this.excess=s,this.consumed=a,this.runConsumed=u,-1;let i=u-1,l=r[o+1+(i>>1)]>>((1&i)<<3)&255,c=e.charCodeAt(t);if(c!==l)return this.runConsumed=0,this.flushAndEmitLegacyOrReject(a,s,c,0);t+=1,s+=1,u+=1}this.runConsumed=0,o+=1+(i>>1),l=r[o];continue}let u=l>>>14,c=e.charCodeAt(t);if(0!==u){if(i||(l&e8.FLAG13)!=0||(this.result=o,a+=s-1,s=1),c===e9.SEMI)return this.emitNamedEntityData(o,u,a+s);if(1===u)return this.flushAndEmitLegacyOrReject(a,s,c,u)}let d=function(e,t,r,n){let i=(t&e8.BRANCH_LENGTH)>>7,o=t&e8.JUMP_TABLE;if(o){if(0===i)return n===o?r:-1;let t=n-o;if(t>>>0>=i)return -1;let s=e[r+t];return 0===s?-1:r+i+s-1&65535}if(0===i)return -1;let s=i+1>>1,a=r+s+i;for(let t=0;t<i;t++){let i=e[r+(t>>1)]>>((1&t)<<3)&255;if(i===n)return a+e[r+s+t]&65535;if(i>n)break}return -1}(r,l,o+(u||1),c);if(d<0)return this.flushAndEmitLegacyOrReject(a,s,c,u);l=r[o=d],t+=1,s+=1}return i||l>>>14==0||(l&e8.FLAG13)!=0||(this.result=o,a+=s-1,s=1),this.treeIndex=o,this.excess=s,this.consumed=a,-1}emitNotTerminatedNamedEntity(){let{result:e,decodeTree:t}=this,r=t[e]>>>14;return this.emitNamedEntityData(e,r,this.consumed),this.errors?.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){let{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&e8.VALUE_MASK:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){switch(this.state){case te.NamedEntity:return 0!==this.result&&(this.decodeMode!==tt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case te.NumericDecimal:return this.emitNumericEntity(0,2);case te.NumericHex:return this.emitNumericEntity(0,3);case te.NumericStart:return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;default:return 0}}}let s=(()=>{let e=new Uint8Array(127),t=0;for(let r=33;r<=126;r++)34!==r&&36!==r&&92!==r&&(e[r]=t++);return e})(),a=function(e){let t=e.length,r=0,n=()=>{let t=s[e.charCodeAt(r++)];return t<61?t:91*t-5490+s[e.charCodeAt(r++)]},i=new Int32Array(2738);i.fill(-1,49,61),i.fill(-1,2725,2738);let o=new Int32Array(2738),a=new Int32Array(2738);function l(t,n){let o=0,a=n,l=n+t;for(;a<l;){let t=s[e.charCodeAt(r++)];if(t<89)o+=t,i[a++]=o;else if(89===t){let t=s[e.charCodeAt(r++)]+2;for(;t--;)i[a++]=++o}else{let t=s[e.charCodeAt(r++)];o+=89+(t<90?91*t+s[e.charCodeAt(r++)]:8281*s[e.charCodeAt(r++)]+91*s[e.charCodeAt(r++)]+s[e.charCodeAt(r++)]),i[a++]=o}}}l(49,0),l(2664,61);let u=new Int32Array(50),c=0,d=0;function h(e,t){for(let r=0;r<e;r++){let e=t+r,s=n(),l=n();u[2*d]=s,u[2*d+1]=l,d+=1,o[e]=c;let h=(i[s]<0?a[s]:1)+(i[l]<0?a[l]:1);a[e]=h,c+=h}}h(13,2725),h(12,49);let f=new Uint16Array(c),p=0;for(let e=0;e<d;e++)for(let t=0;t<2;t++){let r=u[2*e+t],n=i[r];if(n<0){let e=o[r],t=e+a[r];for(;e<t;)f[p++]=f[e++]}else f[p++]=n}let m=new Uint16Array(13494),g=0;for(;r<t;){let t=s[e.charCodeAt(r++)];t>=61&&(t=91*t-5490+s[e.charCodeAt(r++)]);let n=i[t];if(n<0){let e=o[t],r=e+a[t];for(;e<r;)m[g++]=f[e++]}else m[g++]=n}return m}("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA%#jZ~!H%(~!42##~!*31&~!G%U~#)5~#`3~!J~!Z~%]~%Y~%C~!q~!u~#kz~%#~!6'~!D~!U~!?~#T~!c%~!G#'~%7|~!G~!J~!G&~#pb~(Df}#%}*&}#%##%##%##&#-}&'#'&%#.++}%mI,#,@&(}*%}*'%&##&#%##%}&0}#.},U},%}+%}&%}#%##&}B%(}(%}+%)})%##%#&}&%##%&}<%}>%#%&}*%}(%}9%}/%})%}*%}*%}?&}&%}3%}&*#%})%#%#)}#&#-#+*%E%%'%'#%}#*V##&##I}#&&##%&%#&&Qf%%))w/0+&%#(#.%-''''++++7}>%4'',##1,#%#&%##&#'##&#*#9)%&%}#*}%,#+P(%A&%#'&##wSD',9E00#y#@}(+}&%&>~!#~!X}#*}(&&}(&}(,%}%&#+&}#&}I%#%}%)#(},'%#*}4%%#%}(''}#/##(##),%-##%%)#&}(.}&%#&}%%}*&#%},&&}&%}#%*'#%})%}D&}&%}-&}6&#&}-,%}#%})-(~+`~,=?~I9'9%~!,#%})%})%}@%}?%}(~!?~#<~#pP~#BG~#=1#%K+~#?#~%;)~#A~#mF1~#A'~'X%'~#lR~#N~'N~#r~#m#-~#i'?%#'%~#B%##%,%#~#_%#0%~#]732~,w~2+#:&#%&'0%&>%}#>##F+)#%&&#(+_}4&}-%}(&}@&}O7Fdf0@+/v4}&WU##&/0#&'('B#%}.%}'+#%}#%%&#&%#%##+#&#)#6#'#.},%}c%},%#%##%&#&%#&~#>'*-.%##%##%}#%%}%'~#)D1}#%*&~#_%%'(~#S2%'.}#~#=##*'*-%}&'%'##&&~'E%.#&~#M4}%%##&'%#~#O1##%&#'+~#<B%##%%'%+~#;#@%}#&%#&&%#(~#H1}'%'##&&~#?A}&'~#D#%32}'&&&&~#[}'(#%}'~#;C})&}%%#%~#=&%,3}%'(#%%~#^'#&&)#%'~#Y%-~#d-%'~#^%%&#&&&}#~#b~2t*&'~&(~&@~0%~e~3}%*''0})&}+~!9##-}#%-hD*)1fC#%/&/fB#40~!+#)*4~!+~!K'&:~!/*7~!.#~!H~!L':~%x&~!H#~!*~%1~!I#~!+A~#p'~!F~~#-#~,,(~.Z~!V~%;'B'mq-W~!N~%I%#&&#&}#%},%%}'%}+X#%}#&}(%}'%}<%}#%}%%'}'%}:~![)9@~%>~#UA%-%##&~!C%~!-.9:~!1~!-^2/:a~!y,D*J#-5)/4~%23,~#G~!L1~!0X3`~!2+~!!0-~&E~!W~!o,>Y&]~%cZx_&~#O*9#A#'#+I'%#)~!0B*-5A+-((F&*M#)(-7-5+'-3a5Vi~!Y~!?+[)%3),ERHm~!+:D,VG.+)?fB%%*(%)'(#&80%1'8`K8?`+'Z#&O&'H5#*9)A%%5&3))0%39+.*7#()&&*=4@**L)<'_&*+..;(#*+)./&0#3)%')-8(4ixD(&.}%,('aI:,)%,k2231T)I'#/-W7,/'Q#.'Y24+h')37</31&83##&0#),H(?'&?/1##%#&&#%''-%&&&#(&''&#.-'%#%%(,')*'&#&#'##%(%(#%('#&##%%%%('%#%#%%#%#&%##h>w+v<ayvyvcg.uuhKr}g/v|g>u9i[~>g5uI~=RvdwEg;v/g;uk!!TTSx]@RT!U!#!@VBRUU!'UTe-d0c`e&gSdicedFcrdTaqb.kYcAohdYd@a3e+d}dMdtd.aJ#bqcK`dle/e.e'dwdPdodddjbEb}ogd^ofdpduc6j?l%d{drdqc)d7bacOdQ%T#Y)X.sR[yH>6Vyv3[xwLu>vo'!*.[yBacahoj>6Rew3[xqdZa#!a&#^(X-[yG>6Vyu3[xvg3sEr|g.u/Ri9db0T#^(Xa)!-[y;>6Vylg4wKs{JwNZt3@3r=c4Z([xlg;wKt!cpq's@v7A'*a(a+!-a#[y<3Dt?3Dt'>6Vym3[xmg9rxsNJwLZt4~?r?db1T#`-!(Xa,!0[yS>6Vz%NuQs.g4wKtnJwNZtS@3r>c4Z([y%g;wKtrdga8!a(!#&T*Y-Xa#!a0<or[yc3Dtq>6Vz43[y3JwNZtf@3s!Ju}!%Dti:pm3c_%X#tjB5pkd6q!r]u?voC'*-a.a2!0a&a+[yI3DtI3Ds~3DtH>6Vyw3[xx;
8:s#~<5pKJwNZtE@3r~d`a)!a2T#a.(!+U.X1[yT3Dt`3Dtv>6Vz&3[y&g9rxwzcxstPu.<rAJwLZtT~?r@dZa%!a.&^*Za(/Reu[ya>6Vz23[y1g3sEr}wkg{NuQRg{ci(U#5@b`~,cg#U(2WnH5wugcRh7dX#T(Y,a'Ta!!a,[yZ<]mj>6Vz,3[y+Pv#5ReZKu+=,%!H}7ABwkaS?Rh:BcW(X#<]mrj:ubv/ARekdg%!(!a.*Ta(Y.X1!#sP>Rl*Dt6[y>>6Vyo3Wf*jOvuumvuRgRJuq*!:9<B@bX~3jVv&v@s@5Re[d/rQt{uAvo&a&a*)a2!,0Wf!3Dt0=Bs'>6Re}3[xy~<5s%JwJZt1~Gs)c;&!#2sJkNuXvzq7rxu,Re8dka4!a8([email protected])[yd=Bs(3DtP>6Vz53[y4cX#X&Re:avRe9~<5s&JwJZtQ~Gs*i^rzvdRg+Jv{%!2sbB@bX}kdga,!Za?&^*T1/!a'Dt+[y6>6Vyf3Wf%g/u;s4hGu6?Rh-JvZ,!c%#&RoX54Rivj7uyvf8RgTKvZB%*!2sGh<vu5Rgq<=C::9bb~#dZ#T&Ta6Y.X*Dt>[y93Wf)coZ(T,6VyifluvRgC@95@B@bX~/hFu34cC#T,k/unq8w8Q5RkUklwQuzunq8w8Q5Rk8d/rJu?v8w9)-&!a0a;a&aIWejg3sEr/h1s<DtDJvyZqY5aws3Jvy!&Wei~Hr1:au5@Bag>23E~5c:Z&bX};kKv?w&unuVu5Rjc;>bs)#~@:Rh.=ay<a]C;b`}Vd6s/t{uAvoaxa()!a,a7%-a#a2Dt,[yF2Wo[>6Vyt3[xuNuPRi&NuPwpi#RoWh?vf8Ri%Jv]!%Ri:KvxD!.'2WeAjZu`q9rxu,Re7woeAg-unLq(qA_/*2Wg_g3u5q^9:4E}/jTrxrzv=Wkkd~0UX#^^Xa-a1a5T&a=U1a'*aEa]!a*aPaA-adok[y54Rn>;:p3~Dp5g9rpsFNvZqjg3uJp4~<5p0Pw;5qlJwNZt*@3p1Pw:5p/Ou!5p2JvG'!6Vye=<qnJvh_[xhg3v,Rh3kOwOw-sDuev/Re^dha[a%!%!a+#Ta7)-5TaCaO!aka!a)sf[yb2>Rl!9ARiq5E}Qg=ucRkBE|oJrJ_@Wk~@Wk{JrJ_@Wk|@WkyJrJ_@Wk}@WkzJvO_[y2g-vMRmiKuYC!)&>Ri;>Ri<@3RkNc](X#@9Rk=g5vuRmhKvDB!+'=]meg3u4Rmgd)#Y'Vz3CARmfd`a+!%T'!+#Ta1Ta6TaM-sTDt9[yA9sYd'%Y#s[[xpj:ueunaXRgEjRq,v-vuqdd2'`#6Rev<32@5>:2<E}5xIo9a*X#Y(;5RePJvD_g>vyRgNj8w)v8<wggs:RgXiZt|vjx,hSq3ah!-(~@:Ro/Ou!5RhWj^v(pyw8unRhUdx-UY#^Ua.a3a70!)%UX1TaDa)'omRiRRhE[y:3Dsz=Br,>6Vyj3[xkg6ruwjcqsrPw;5r*Ku]D'Zt-@3r(~?r.i[vwv]dU1a--U#`a4(g/vsRhPOu!5RhLj:rmu9Wo!~@:wdh@g/vsRiTjXuvvNr}:RhBj^v(pyw8unRn]dz1UYa'a+^Y(!aETZalaRY.Ta?a4[yDJw1!#qLsW>6Vyrfzq-pLflpwRe|Js>%!Dt@3Dt&Jvy_[xs~HrnjMuwpsw'RecKu+D#'!t<~Grl~?rjg5u-x,gwp{ah!-(~@:Rg~Ou!5Rh'jXuvvNr}:Rh#cW#X/c;&!#2sLi[v7u7RgpJv)(!iLrxu,Re6j7v@s@5Se[e7d`aW!Za(a`T.a#!a3!&aDa-!9)Dt_=6s+3[x~~DR|h~DS6avhGun5RkZj3w)v-]mkKunB!&*]kb97R|i<ARk<c:Z(6Vy}Juh'!wziMRoS:F|vkLuauJv5vtvQRh1d='T+Y#VyO~DR|jcF#T'7R|g97R|kJv3'!ay<Rj,Jvh&!:ReXcsa6*a+#a#_aIRf9aLRf?c,Z&Rf5Rf7c.Z&Rf;Rf>cQ#%T'p-Rf8Rf=ct#%'(*!,p,Rf4p+Rf6Rf:Rf<d~'Ua%U*^UYa(!a,-!#a4YaTalaEX0a8a<Weo3Dt/3Dsx=Br93Wen~Dr;~<5p<JwNZt2@3p=Pw:5p;Ou!5r3c7&!#:p>3Ds}KvGB)_6Vyk2sM=<r7x'eovA(!hFu1ARf}cV#X&@r5j6rvwQa^Rf3c=Za'wkghJv__g;unRggA53B9=b^}%j6uduo5Jq;!(hIv%2Re`Ou4ARe_e%a#^^^Xa&!a*a2!&a6YaP!*ad!#a:aE/5Rn?[y@>6Vyp;:pE~DrY~<5pBJwNZt8@3pCh=rt3rWPw:5pAJup_[xoNuPpF9c!#'45pD5ARn)d8#X'X*3@rU72s]h>v<<sSjJpqvewOJq/(!hNw'5ReBk0s2u3w/w'5ReE5@Jq.!a+JQ!&WeU23d(#Y&RjG5]jBk!u7w&u0udARjEe#+^^^Ub#!a2/a`Z(agT1!a-a;|@TaG!aS[yV=Re~fow'RguNuPRe?bz#'>RoUWeL>:Cbb|?JwPZtVg6ruRmzJvD'!6Vz(g/vmRh~Jvy_[y(g9voRgyx*cy(#2>Ri2B9b]~9kIw9u7rluJu3Rg]dI#a%UY'@=p%CAx.gQZ&RhwwygtRm{x5g_Z'+ABqR9Woa=Bp&dV#^*Xa'!&@o{g4v]Rk;Jv{!%Rk[wkkiA5RkiwwfUB=x,fUuqC&*!>RfTg8v0RfV~ARfSd;rJsAuAv9wR'ae+/aO!a@aza/a#[yQ@Wg!2Wemg3sEr0JvB_g>uvReWg2v+Re=KupB_+[y!2AbY~-~Hr2AJwD!(h<~El>h<~El?Kun@+_:9b`}Kg-v/Ri3g;vtwyk_9]k_d=&T#*U.6qh@Ab`|K9:H|CJv[!&3Dtex'fDwC%!Rf[9WlMd[(^X,!a%Z06Vz!@WgBg=v~Rgvg,QRe@awd,#Y+jTv|Q~EfWj]uNr|~FRfXdy#Y&^Ua%!aO.!(a)Ua;=!a@aKap!a-,a!Ta]a[rSa]p?[y82sK=Bq~;:p:~<5p8Pw:5p7d'#Y'Wf(;RnRi[u4w&RgJJvG'!6Vyh=<r#ijuuv/sIKuYD'ZtG@3p9~Gr&d2#`(g<vtRgFj`u5w&rqpxRf2CJuY!+:wfnTOu!5Rg}jNs1ucv&RfwJvA!&3@q|BDcC#T,k/unq8w8Q5RkTklwQuzunq8w8Q5Rk9dga#!a'!a=#a0!:+Tb*[email protected]!aba8aFJv^}?!VyR~Dr<g;u%Rn.~<5p[x'e`wNZtR@3p]Pw:5pZhNvjBp.woe_g5u-r4JwF!%DtO3:ooc7&!#:p^3DtpLuGw(!+%)Dtk6Vz#2sd=<r8d'#Y([y#<x3gJt`w@!)%}MRiowzikRij=]ilxAf3,U(#B2Rf#g0v-Rm[ck{`U#]giKv3>)!&6Ri154s,KuGB_%@r68r:dJ|t`#X(9<E|u2@H|rx3gJu?w'!+'1Nu7Reg4=H~+9<wxgY95Rm]xLggZ-`(X}U2:Ri4h<uOawRmsJv__5@bb{jbV~3dka#a'a]!,#a+U=a>b6a3b%!/aKa/)!arwve^VyJ;:pR~DpTg3uJpS~<5pOPw;5qmPw:5pNOu!5pQJvG'!6Vyx=<qoJvA!{~Jup!%@qk7Rn/KvyD!}''[xz;>wkh'?Rh,x8gyt`w5D!&),(SgyccRgztJ@3pPB5p#d'(Y#<]mmifubw&RgoJvE&!82s^JvF&!8Rf,ADb]~;x=h'rNu]vK!,%'*0RnORh)4Rh*AqQg-vaRnNg;wHwkh'ba~4cE#Ta*x3gctyw@'!+%RnFRnD<4Rn@hFvK5RnCxWg[#`&a0Ua()`1Rm75Rg[c]%X#qi8Rg^NvdRj>BwzgZauwji7Rm6A4wgg]d1#&(*,.0a#Rm;Rm<Rm=Rm>Rm?Rm@RmARmBe%#^^^Xaea?aC/b+(,!a+a#!a/!>a&Ta<aKbD!2wphBRnk[yPw}hE|.=Br-3Dtm>6Vy~g6urRf.x,hPrNav!%'RnqRo%Ro#Nu;q[Pw;5r+JwNZtM@3r)d'#Y'Weh;xChL#`&RnmRnoKu}>%(!Rne~Bs-;2wjcussJv+'!aYSO}6@B<5?ba~8LrNvj!.%*ROwungw~ng~:9;Ri^>wtnig;wHRnixDh@|(UZ.x1h@|)!#:2<H|*xHn]#-UX'3Ro)z=iT}6ARns=Bwsn_wpnaRncw]aR(#UXa&Ua*a/=]iPd'#Y&Ro'WnXf{QRm2hNvj]nZd`'T~&1`{|`#9b]{}c:'!#Wl{>@=be}]?cl{{U#:5Abb}Jds#^YaF!a*b4a#a3aPa>&Tb!bH!*a_!Eau?/a&RjY<]gj>6Vz*;:pe~DrZg,QRj1JwNZtX@wihspcJvZ&!VyX9WmOJu|!|N2WmHJvh&!]ht~Bpbcn&T(!#RmQ<s7Nu;padH#X'`+WmJ@>RmKCARhnKup=!)&Wf+:RhqNuPpf9c!#'45pd5AwghpARn(Ls@w!%,)!RmP@Wfe<E|IJva!&WmNg8vsRmLd`*.`#Y'Xa!axRn*]hrA8Rhug5s@rXg8u!RmMd8#X'X*3@rV72smdI*#UY&RmICARho~GsgxVgd)Ta'U-Y&Xa!T#RnEWnA@Wffg1uDRi0hFvK5RnBxGnG&#`%owp)@wsf+bX}Ze-*1!a*^^^Ua|!#a.aq&Ya2!a>.a6!a:aO`aJDtL[y`@Wg#>6Vz12@wzoYRoZNuPRi!NuPRhzg=ucRi,@=b`{Yg=ucRi-ACJvB!&Sh[ebSh]ebi`wUuFRm4Jw2_[y0JvB!.<Ju(!&SoG}6Shd}6<Ju(!&SoH}6She}6Kur@._g5vHRieJvx!{L2G{Kx6gd'T#?Rh82Wi5cZ#X(g1w)Rm5dW-Y(Ta#!a)!#aYa=wnfE=su2>>bU{0j9udv:<svj8uQv-7RgHdE%#^'sq9sp=>Bb_{TJv`!&g/r|snj6v(us5d,#Y(56H}[978H}]Jw5!&g1rushJvB!+j;v{u5?zDhd}6}bj;v{u5?zDhe}6}ce*#`(^^^a[aea!=!a6a*aoXb1a.!aAbL!b>,b'aL!aV@Wf|2Wlg3[y/JwNZt^@3piPw:5pgJunZou3@rsJva&!Vy_g<v~Rm#JvG'!6Vz0=<r{Ju{%!:pj@WfsiXuJu3Rm:JvZ&!WfA~Bph@c4Z&Dtwax5rubx(#:awRk1@d,#Y&RfjRfid1#,Y(@Wfp2Wlrg5s@ryKu[@!,'=]ig9wlk?Rk>g5u-rqJvy'!@9RkQcH(T#=>Ri~@<wkj(Wj(KuZB*!&<7rw@9RkRcH(T#=>Ri}@<wkj)Wj)dg(Ta2Xa9X#`-!a*CARhg@@=I}d9x;c~#X%so=<sj>2@@=aybb}XjWv0Q~EfEj3vLv;<d,#Y(56H}`978H}_dgaPaFa'a/!#a3Y0a_a;a|!1(a7-[yE3[xt;:pJNvZrrg3uJrvJwNZt=@3pIh=rt3rxPw:5pGOu!5rpJvG'!6Vys=<rz@c4Z&Dt(ax5rtJvZ!&~BpH@wsfNg-vaRlNci*U#=<wei<F}
8a5@Jq.!a*JQ!%@qZ23d(#Y&RjH5]jCk!u7w&u0udARjFd/prq=tyvpaEa(a:.!a1aZ(@@=I}:9wpd%=<sX55w_h}@@=I{t=ay<aU@@=I}T=ay<2@@=I})?C9:9au@9Cb]}DP~=x-fAZ(2Wl1=ay<aU@@=I}>5@d##Y+jTv|vV~EfFj]uNpn~FRfGdgaK!Z2&!a8a-Tb({E!acTbM*!a(DtY[yYd'%Y#sl[y*hHvh>Re5x2c{Z}.j4uCvcawRiMd+#X+_x&d!},<5RkX;2Hzw@x,gavfB-!{CcF&T#Roe;RodwWbBg5urRgaKvHC*_6Vz+<4opieuew&Rmq@d]&Y)X,T#X0Rh}<BqP=4qS9:ReMg/ujReNJw0!/<Jui%!bd{kawwnemRelAxUa?a3#*.&UX(Ya+a/RhvRnQ<o}9Wmtd-#Y&RgSRmw9;Rmxay=Rmyg-vaRmuxEhSrNu,v-voC!%(aR.a(a7+1Ro1>Ro5CE{A9b]{@;5x#eO{:g;urRi+KrNA!%(Ro3>Ro79;Ri_Ku@>{;&!x%gX|{KunA_+g5QRj/g3u5Rj#g>uERj%wio/xRhS&!,!#^1U}wba{8>>@=be}qC@:D5ba{7Ku+A&!}x?ba}t>>@=be}se(aA^^^Uat!b0#{pa+awUazbGa#aLb9bgaWac'a5TbS=Br!d1#`%scp_Jvl!#rT>Re0JvX&!VyN=H{Fcm#U&:pY=ReaJv2&!]h0=]nUJvG'!6Vy|=<r%JrM_=]h2@Wlud'#)U'Wf'b]{i=]h/Jvh!&~BpWg=v]RnMx+ny#'Nu;pVwjnu=]nwxJnx,T#`&Reqwjnt=]nvieu9vrRjLLuYwP(#+!th@wih5pX~Gr'g5v/Rh4KunA'!-CARnP@wwiN:Rm_9x'cvw>!|l=<saKvAA!0&3@q}>w^e1bp#&Re2Re3BDx7gH#T|f5H|eKuZ>!%(:qNAH{]Jv6!+3B2B9=b^{X<5<B92:E{ZLvhwA(a;a%!igQuyRmad+#Y}m@3Rh5d8#X'X*:AqUAHzmaxwbh<aXRnVcF}RT#Nw&cj#U(BWnug/vsRntdka)(a3+.Zb7aYYan1!bVa@Xa}[y^@b[{G=H{+hFu73Rj&Pv#5ReQcK%T#sig1v{Rj'Ku+D#'!t]~Grm~?rkKuMB!01d5#`'Vy.ta3Dtu~Hroc8#'{^45s85AwZbP&!#Rn!wghxWn#KvEA!)&2RlA2RlBx:h|#(T,=]j09Wobz>x]z/@awRoTd+#Y(az]hFhCrm4d,#Y+jTv|Q~EfMj]uNr|~FRfOdCa!Xa9_X#@<plJvf!%b`{(9;Rgwc;.!#2x7cw#T|UDb]|T5Ju={(!=@E{&Jv)&!Ab`{'awJvf!~*>>@=be{#KuY>!+&4Ezyi[ugv&RjIdea+T)#UXa&T-T&a!Rh9auRmW=]kLg5vuRn+g3u4Rn-Ow6ARn,hHus5xNk?#UX(U~)/g8v0RkD~AwkkF?Ri.OuNBwkkA?Ri/d|a2`a*^UYa.!aBTZaTa'Xa;!(!2!-a#b2[yC>6Vyq3[xr2Wi?g1rusVh%s?DtF~<5rbJs;%!DtBfswKtCj[uvuSsEu3RgVx3o:u+wN'*Zt;@3rd~Grh~?rfg8w)Lq)qE&-a%!>bI|`jWv0vV~EfCjTv|vV~Ef@j]uNpn~FRfBcK#T']gWNu7x,k7q4ai(0!hHv8<RhmkMu9vrsBuev/RhlCJvB!,g<v{wchh~@:Rhji[vrv{wchi~@:RhkdS&a5UY#Ta!RgPwwiI5BwciI~@:Rh`x'iJvj'!5]iJPu8Bwch]~@:Rhach)U#h3rp]gLh@t|Ax,hTq3ah!-(~@:Ro0Ou!5RhXj^v(pyw8unRhVd|)`,^UYas!a?/a2Z'a^Ta{Tb7Ta(a#!a,Wf&9sZ3DtAadamov=Bqt3[xig8vsRm~>waiL2b`{QJv*_Ouv2qgj<v]v2BqfdR'X*X#Y-@3qr~Gqv~?p6hHv-]glPup5Lq+q?_%*b_{qF{n9b^{rOu4ARhpKvCD!+&~Bqp:5Dbb}nwoiKl&unuTuBv]v+ueunaXRf0=Jvh!0nKufu8v1w&w7q%w&uHrz:Rgnj5w,uxDJq/(!hNw'5ReCk0s2u3w/w'5ReFd>Za&!*UaA=<wkgsRnSJv^!%Refifw3vyRgOKu_B'!,<]gkiiu:w&Rh<=C@a^<B57@2F{[<B5@aW:=3away9A5aW=<B=C@a^<B57@2F{Ie-#`(^^^bCara.b8aza6!/bZ,!adTbnTbOb+aFaS!aAT9@Wf~2Wli3Dtl2@d,#Y&RfnRfmJwJZtN~GqyJva&!VyMg<v~Rm%iXuJu3Rm9Jv[_=]ih9wlkDRkCd1#`(@Wg>2Wls3cH#T(@<Rj*=>Ri|b~'#23s9h<~El.d'#Y&Dtxi^rzvdRl#d*#U%(o|B2s`hJwSaxRmDKv4B&!1:Rmdd5#`'Vx}to~Hq{x'f1v3(!BA5ba|bJv_&!Wfug1v]ReIdO+U/Y#&G}-8wze=Rh{g1v]ReHg/uQRf/by#)ibQwERl/cH#T(@<Rj+=>Ri{cNu+vlax-!(#a0qa9<Rii2;;bU{H;x<i=&X#Rk`<4wwi=C9H~8xAI(Y#<azRi@45wXI<B9;5bb~7dL(X#Xa(+!aL6Vy{g5QqOau:5au2@ay547EzbxOcU(UX-T#Ta#:Cbb|A?wjh/b_|SOw6ARgtihr}u7Rhy<d1#T)X1@@=I|~=ay<2@@=aybb}Sj3vLv;<d,#Y(56H}A978H}@dGpvs@uAu`vcw9*!aFa+ai%(b!aXa8.a?a[ozWey=sU2@G}Nch&U#Rf_WexKu+D#'!t:~Gr`~?r^j]uNr|~FRg*j^psurwJt|RmcKv)@&!)7Rkv~Br[@wxfO:Rl3co#U'6Rezj_q#vIuavjRltwzeyh@vr5JqD0!>aY?C9:9au@9Cb]}9cl#U*5;5<H||jbuus1ucv&Rfvg1v~d/pppzqFr^a--a~!aMat1(hFv;Wiz@@=Izoj5uuv-7Rix~Cw`fk2WlVcZ#X,k)u3vWs@u2]ktg;wEx'fBq(_2Wg/jTv|vV~EfoJv]!15x'hzqG!(P~EfU~CRl_j6v(us5x4i-#T(2WmZ?C2F|d>Kq<aj1!*jTqIsBv=Wl`~Cw`fi2WlWj`v0u*~>RlR=c>Z,k#u3vWs@u2]kr<c1Z+jTqIsBv=Wla~Cw`fm2WlXdmb3!a{(arZa`bkTa%TbQTa-a9+c'!aM!/[yL=Bqug.w'RifhFvyDRj.g>vgwyk^9]k^Jv3_@WfbAARkhJw2_[x|JvB_wkoIRoKwkoJRoLd'(Y#<]gm=<9<H|yd'%_X#skDtb3awwqkgNulRkgdB#^',9:p'hJwSaxRmEBwVb8@4=H|qLu+w50&!)@3qs~?pU>Awwn;;Rn=c:Z'ARn<=<qwKvC@!/&~BqqJv6!&]eVb^z^xRge'/a%+^`#Sge}6<4Rn3=]n0Pw2>Rn8Jw0!&>Rn:>Rn6cY#a7+!a&=<wkaNw~h3z_c5Z{=wjh#=]nLKv^D!&)Vyz=bW|swYb<WetcG#T(2wxa@qVx@gD#Y&b^|V5JwG&!5bb|pg/w&RgD@x=kHs=uAvn!a%%/'+RmSRh694Ro`g-vaRmRhHv-]mlxCcS#`&ba~.5cD#Ta)P~=d,#Y(56H{>978H{Dd_#{2^Y%_+qbbb{6g3sERhsbU{?dfa.,`a(Xa<!aiX#(55RiG54RiHcI#T'WiU3RiVNvdwtfcRlKNvdd,#Y&RlHRlExQgf.1*^T'X#Sgf}6Wn4=]hfPrk>Rn7Jw0!&>Rn5>Rn9Lunw?&a2!,5<oq@@wqfdRlJj5Q~=d,#Y(~ARfcOuN]fdDKw;ay(}i!547E}j?cI#T(@5bV}iCbV}hdv(^^Tb?a40,b##Tbo!a*bR!a<b|a/!aKai!aU[yK=]o^g:v>ReGJwPZtK<7Rh+h<~El,Pv#5ReR@awwxjCg,ulRjDJv6&!]j!z?aQeeg>w=Sh<eeJw;!&axEzOg,Qosc!#*:wkeJ]eJ>x'h-u(!%Ro.w~h.zPdNZ(X,Ya![x{;9ReY;wkgxRiF:x?ap#Y&RmUg<s2Rkod]+UY0TZ'!a&A9sw<=bczLNvuw{gqzNhJwSaxRmCKuLay!#&s_Rf-55b^{uJvZa!!c%#(55Ri654wmiu5RiuawLu,vp!+}^%b_}Y9;wkgxba}o>A9:=b^}zKuh=a''!3awRk3c*'!#aHRk6c+Z&Rk5Rk4Jv)&!awRjSawd9*`#0?C2@EzMj8u<uJ5RmbjQrquJu3x,k>uq@_+=ayb^|W~ARkEOuN]k@7dhzV^X/X&a-#zRzSb`zXcJzTT#2WkVKvDBzW!%FzY9;
85bbzWjQrquJu3Jw3%!b`zU=ayb^zQd:#X(T-a!6Vyywxh}=b]{Jg=u1RiAdGp~qHtzv!w(wA+a+a;<!aJaYai'anasb(=azRmV:Cbb{MLq2vb!%')RjuRjrRjtRjqx3jnqCw3!%')Rk(Rk+Rk&Rk)Lq2vb!%')Rj{RjxRjzRjwLq2vb!%')RjsRjpRjfRjex3jcqCw3!%')Rk'Rk*RjkRjl9<CbbzfOu4ARhxLq2vb!%')RjyRjvRjhRjgx=joq*uKvb!%')+-Rk.Rk%Rj~Rk-Rk#Rj}x=jdq*uKvb!%')+-Rk,Rk!Rj|RjmRjjRjidAq&qKs@uAv8Aa.'*-a@a&0!aM@a5[y73Dsy3Ds|3Dt):wxgI2sHJwJZt.~Gqxwsf0ikrzt}Rl0Jvy_[xj~HqzKv_A|D!&WfP8axRoVcf,U#k(v]v+ueunaXRf1Ju}'!g8u#Ri=jQw!sCunLprq>!,')~<5qeGzq9F{W=c##%s5au:5aU3CBE|;d4#X(D!a&6Vygx(b;#(=]ed?C2F{N<capoq2r[a&!aPa9,'Pw;5s:@@=I|,55w_h|@@=IzcP~=x'fCqB_2Wl2>aU@@=I|1OuNBc1Z+jTqIsBv=Wlc~Cw`fl2WlZ~AcTa%!Z+jTqIsBv=Wlb~Cw`fh2WlYk+uNqJsBv=WlSg,u3dca3#UXaMYa)TaB-=cM|7T#<bI}l5@B932:aV2G{BOuNBJq:|M!5Ezt=<B=C@a^<B57@2F{v>cB{/T#=ay<bI{3Jv6!a.6BKq0ah&+!5E}HP~Ef{978BaU@@=Iza<7d#.Y#978BaU@@=IzH~AJq0!(@@=IzG978BaU@@=IzFe,aU*Y&^^^bvJb,b:bFad!a,c2Ta>aL.bo6!a#CbTa'T#Re{2Wlh2@G{yg6t~Ro_NvdRfticuRQRllJv3&!x&c|zs@Jw3!%RflwpfkRlpKuL;%(!Re<@G|C2GzdhIvuBwgjAg-u0RjAKQB%!(GzZ@G|5NuuRl7d='T+Y#Vy[g<v~Rm!==G|>JvA!)@wma=]m1ifuaw&RmnLs@vT'!|/+[y,g:v>ReTJw1!#qX=x!eC{bLu+wT&)ZtZauq_~Graci&U#F|89:r_Lupvq!.)&2RlG8RfaC=x!eF{_h?rpWlmd&'!#X|&]k::xJey#`'T|+<E|&2@H|%dE#(^,g;u.RiEg6vjRiC9xCkA{O|zY#g=ucRmXKs0@!&*@G|m@awRknJuh!,3d(}gY}eJvj!%Rm):Jw3!%Rm+Rm-Ls0w(&!a(a#@b[|6cZ#X'7RkxWgAOu4ARn'dH'U#Y*Vz-Wm'CARm}d]*#a%^a*T'aK!a<9bV{PC=p*Jw4!&SgxcbB5r]idw(wBRmF7xFkt#&`(Rm/Rm8E|!JuY_9:Rl5=wrgr2:bbxd@xXfB(a*#T+!.X0X1Ta/a'T&RlDRfL>RlyARl9b[z[>RfZ:RlL:RfRwlg/ARl;9;RlxKv,A/!%7s69<74=BA5ba{-8Bde#`a<XaKYa1,a'P~=wxfB2bZ}}?C972@@=I}r8@55B9;5bb}G978B2@@=aybb}3j3vLv;<Jw3&!>Rfk=ayb^}4~Ad1#`*@@=aybb{w2@>==<bbz]dx+UY#^UaF!a9!bB'Ya1.!ajXa#%olRhD[y=3Dt#Ov5BrHKuMB%!(Rf^Wep~HrJwkiQjKr|~FRg)Ku+D#'!t5~GrF~?rDdV)UY,Z/_7RkuG{<~BrBg,rlsO:235B@bX}|d?a1!#`(6Vyn5@d##Y+jTv|vV~EfIj]uNpn~FRfH7Lq2vb1!a9-978BaU@@=Iz9978BbU}#~AJq0!(@@=Iz8978BaU@@=Iz7~AJQ|}!978BbU}!JvkaK!AdUa21-U#`a+(g/vsRn~Ou!5RPj:rmu9WhOjXuvvNr}:RhAj^v(pyw8unRn[kPr}p|u7vwv]RiSBd;pppzq@qHQa?(b.!a.a`@.|xa(hFv;Wiyj5uuv-7Riw~Cw`fg2WlU978BbU|wOuNBJqG!(P~EfD~CRlQcZ#X,k)u3vWs@u2]ksg;wEx'f@q1_2Wg.j]uNpn~FRfqJv]!15x'h{qG!(@@=IzK~CRl^j6v(us5x4i,#T(2WmY?C2F{1>Kq<aj1!*jTqIsBv=Wld~Cw`fj2Wl[j`v0u*~>RlT=c>Z,k#u3vWs@u2]kq<c1Z+jTqIsBv=Wle~Cw`fn2Wl]dn1#c(a(b^a2!b/bAT(bj!aDa7bu,a_a{c0!2T0g:v>ReD2@G{42@G{5~DpM~<5rc=Bx6i>{RT#RnI@zCx]y]z:2Jv[!zr5Awyk]9]k]dD(Y+X#6Vz.g=wKtgwhaCwgmTWj2Lu,w%_+/[y-B;b^xeg3u3Rj-2@bX{*KrJ<!+'@Wg(g?QRlC@Jv`!%b[zIwsfII}8JQ_@w|kW|=Jv(%!AqcOuNBJvEzh!bYzjLs@wP#(0!oy@>RkdJwMZtc3Dtd@BcG#T'9bWxg2@2Fznd*#Y+;2x'c}w<zizixNgwa#Z'U+!/!a'!a+w~g~z6wcn{Rn}wcnzRn|5Rh%=]nJg5vuRmvNvdRlvcprJu}w*az*a#!%.a.'Bot9qT]kj@Wg'ay2Gzv@Jv`!%b[zEwsfHI}1;ck#Ux`<Cbbx_Lu+w!a&0*!wko*wwo,So,}6Juqxf!E}PigQuyRm`d3(`#8>Rn%:A5B;bZ~%KvhCa!a2!x>k7#Uxb@b{#xaRk7Jw0!)>wwhlShl}6>wwhmShm}6CJvB!.x'hhvj{!!5Bwkhhbaz}x'hivjz~!5Bwkhibaz|xEhTrNu,v-vpD!a%&/)a3a.,%Ro2t[CE{)@3re9b]{%wjo09:rgc:Z&Ro6=<riifuaw&RmoKrNA!%(Ro4>Ro89;Ri`dSaL'UYzxZb)7Rka3xRhT&!,!#^1U}vbaz{>>@=be}yC@:D5bazzKu+A&!}{?ba}y>>@=be}wxBh[t`u~vJvr!%a!a()a,a0a4RoC=]o;Ju(!%RoGRhdwjh`=]oAg>w#Ro?g5vuRo=NvdRl|Ku]C.!&;RoEJvB!%RoORoMBx'h[v+_?w~h`}~5?w~hd~!xKh]oiptu-utv.vp!#%&a30a@a'a+(a/aOp(o~p!RoDJu(!%RoHRhewjha=]oBNvdRl}g>w#Ro@g5vuRo>c[#X']o<CauRoRAd-#Y':RkpauRoQKu]C.!&;RoFJvB!%RoNRoPBx'h]v+_?w~ha}t5?w~he}ue!/UbhYacXaW^Tc&a;b:a-c/#b&aja1(!cL+!bKbt!bmcRc9aIc?8[yW3Dtt94Rg`Jv}!&SiRMzBhEebShEMNuPRe>x7gL#TzuwjirRipc<Z&>on;>z=h-MSh.Mwqczx'a7vj&!>Re4@=ResJt__NuPRi*NuPRi)j]uNr|~FRfzKrJ>_+@Wfy@Wf]2WocKrJ<!+'@Wg%g/QRl@@Jv`!&awRl<wsfFIzgLu(w*!.*&ShBMwvhIRhI9;RhNx1hK'!#Sn]Mx1hK~0!#:2<H~7cNu+w7D*'1ZtW>Rn1~?rOc:Z&Rn2=<rQ<7wjh&=BSnLMc]#X(6Vz)w[b=a!U#9wzgMc3#&(RgMRitRis<x,gKt`ax!&+SioM=BSilMc3#&(RgKRinRimKurB,!&SiQMzBhDebShDM6BJQ!(P~Efx978B2@@=I}WLrJw!!,a*&@G}O@9wkibRid@@x'fKwC!&SlDMSfLMjUv~Q~EfKKv3@a+!(hFv-]mpx/hYZ(C5RiWz<o/MwkhY?So/M@x,gbvfB*&!SgEM:SoeeehFu3:Rgbda(,^TZa)X/7Sg[eb:2RgI~BrMC@wgkc:wwkcRerx3h(uUvK!&*,SnOM4Sh*MArRg;wHRh(x=h;rJvPwI!a4',a'0@Wg&=BSh/Mg>w=Rh=g3w*wwgGRgGcW(X#;Sg}M2Gzk@Jv`!&awRl=wsfGIz`dKZ*T'Y-:RhR7RhQg5u-p`j6v(us5d,#Y+~Awkia?RicOuNBwkibba}Ld6p~tyu_vbAa'a+!a/'a3aEa8a!>Sh,ebJv{!&Sh@ebSaReb9;SgwebNuPRi(NvdRl)NuPRi'hHu^<Rm^Jvv_@Wl(g;u1Si/ebKu'B&!*Sh?eb@Wl'[email protected])!,&a+0a%ShAMWeK@G}C@WfJ9;RhMwvhH9w{ia}ix,hJvRA1(!zAn[MRhHx1hJ~*!#hFv(BSn[MBJQ!(@@=I~'978B2@@=I}2db.Ua<'X}+T#a0XaG2G}E;wkg|wuh!Rh!x,hZu,@)!&So0MVy)C5RiXACJvB!&5RiY5RiZg8w)cG}*T#2@bU}=KsA>(!a.3wkhZba~(x,h^u(A!&(SoCMRhb5Bz=h[eb?w~hb~6x,h_u(A!&(SoDMRhc5Bz=h]eb?w~hc~6e)aA1T#T,^^^c-bMb&blcPaP(a/!0!bA=b5c@a(!bfbrc#2afwmhARnjwchORnp2Wlf3DtsNvdRl-2@wpa<]m0bx(#:awRk2@Jw3!%RfhwpfgRlnKQB%!(G{V@G|'NuuRl6d='T+Y#VyUg<v~Rl~==G|<Jv+'!aYShC}6@B<5?ba~8@Jw3'!g2QRljhLrpWlOd+#Y'g.w'rIg>w*wgj@g-u0Rj@Lu+wT&)ZtUauq]~GrGci&U#F|39:rELrNvj!.%*RhCwunfw~nf~:9;Ri]>wtnhg;wHRnhx3hDs@v~!/+'@Wfr@9RkSNu&Rlo=@<5GzoKs0@_+@Wl+@awRkmJuh!-3d(}pY#qWJvj!%Rm(:Jw3!%Rm,Rm*de&!1U-U#`)Re;@G|.@9Ri82@wjfvRlq=@<5GzpLvOvr!).&2RlF8Rf`C=x!eE{.Jw3_g2QRlkhLrpWlPde(!#U{s,UXa*Ta'[y'g:v>ReS;x0PZ&RnlRnn~HrKJw1}f!=x!eB|2w]aP(#Xa&a*Ta.Ua2a7=]iOd'#Y&Ro&WnWg;u.RiDg6vjRiBNvdRlzhNvj]nYJuW_2Wm3x)kFze{9d])!a.!,Y01!#&aC!a3RndC=ox~BrC@2b^{pg,rlse7x'ksuq!%Rm.E{xidw(wBRmGx9o+)X#wwo-So-}69:Rl4@xSf@a#XZ'X)X,Ta(/ARl8b[xc>RfY:RlI:RfQwlg.ARl:9;Rlwdn'#^XafaQa1X1TaHTa)@b[{zcZ#X'7RkwWg@Ou4ARn&x)kG#{,g7u/RkGdH'U#Y*Vz'Wm&CARm|bx#(A]gUbUzJj9Q~=d,#Y(56H}l978H{U7d,0#U*2>ABb_xZ978BbU{e~AJQ{g!978BbU{hxMh?ad{oUYZ.x1h?{l!#:2<H{mx3n[t{vl!,&a%3Ro(z=iS}6ARnr=Bwsn^wvn`Rnbd`*T}B0!#^X'BG{c9b]{a>>@=be}F?JvS!&BG{d7BG}(Bde#`a1X,Ya@!a'P~=wxf@2bZ}I56B2@@=aybb}08@55B9;5bb}<j3vLv;<Jw3&!>Rfg=ayb^}&OuNBKuLA!)a!P~=x#fD{f2@>==<bbzl?C972@@=Ix^d6rSu,v7w*C(0a)a6#B+a%!sQ[y?3Dt%3[xn~<5rLOu!5p@Ku+D#'!t7~GrP~?rNKvlaya7'!h+v-5qMg=t|cd,U#5AAaa5Abb{S@52B5@a[@52B5Gx[iXueu;d<#`a(!/549C;ag>23ExY5@Dah89b^~689Jv)!~2b[~1Lv'w(%*!a#bX|aPrmawRe]keu7uhv-q6rxu,q`xTo]/a5aU!bNaDXbi!b-!ao!b<bwA!#5@B932:aV2G|:d-)Y#hJrL>RhG<7@C5<H|_=Cau:5aj5@B932:bJ|ng>vIbs)#?C2F|9jPv0w.vISh-MKvUaz(.!9ABbb|[5;5<H|Eg>unwfh;9:4E|YjQsBt|vjx'hYq3!(?C2F|J:2<BaY?C2F|GOu!5x,g|p{ah!-(?C2F|c9:4E|OjXuvvNr}:Rh&i[w*t|cd+U#jJvsu)vsSn~Mkfrmu9p}u7vwv]So!McW#Xa!ax5@A5aY:5;5<H|>kJv~vYrquJu3x4ib#T)2@SmZM?C2F|Bj:rmu9@xPhI(a*a#U#`a3-5Abb|L~@:RhK9:4E|0@52B5G|#C::aY?C2F|-:2<BaY?C2F|.5Jvk!a)javYrquJu3x4ia#T)2@
8SmYM?C2F|HAxPhH(!a#U#`a*-5Abb|4~@:RhJ9:4E|R@52B5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P");function l(e){return e===tr.Space||e===tr.NewLine||e===tr.Tab||e===tr.FormFeed||e===tr.CarriageReturn}function u(e){return e===tr.Slash||e===tr.Gt||l(e)}(e5=tr||(tr={}))[e5.Tab=9]="Tab",e5[e5.NewLine=10]="NewLine",e5[e5.FormFeed=12]="FormFeed",e5[e5.CarriageReturn=13]="CarriageReturn",e5[e5.Space=32]="Space",e5[e5.ExclamationMark=33]="ExclamationMark",e5[e5.Number=35]="Number",e5[e5.Amp=38]="Amp",e5[e5.SingleQuote=39]="SingleQuote",e5[e5.DoubleQuote=34]="DoubleQuote",e5[e5.Dash=45]="Dash",e5[e5.Slash=47]="Slash",e5[e5.Zero=48]="Zero",e5[e5.Nine=57]="Nine",e5[e5.Semi=59]="Semi",e5[e5.Lt=60]="Lt",e5[e5.Eq=61]="Eq",e5[e5.Gt=62]="Gt",e5[e5.Questionmark=63]="Questionmark",e5[e5.UpperA=65]="UpperA",e5[e5.LowerA=97]="LowerA",e5[e5.UpperF=70]="UpperF",e5[e5.LowerF=102]="LowerF",e5[e5.UpperZ=90]="UpperZ",e5[e5.LowerZ=122]="LowerZ",e5[e5.LowerX=120]="LowerX",e5[e5.OpeningSquareBracket=91]="OpeningSquareBracket",(e3=tn||(tn={}))[e3.Text=1]="Text",e3[e3.BeforeTagName=2]="BeforeTagName",e3[e3.InTagName=3]="InTagName",e3[e3.InSelfClosingTag=4]="InSelfClosingTag",e3[e3.BeforeClosingTagName=5]="BeforeClosingTagName",e3[e3.InClosingTagName=6]="InClosingTagName",e3[e3.AfterClosingTagName=7]="AfterClosingTagName",e3[e3.BeforeAttributeName=8]="BeforeAttributeName",e3[e3.InAttributeName=9]="InAttributeName",e3[e3.AfterAttributeName=10]="AfterAttributeName",e3[e3.BeforeAttributeValue=11]="BeforeAttributeValue",e3[e3.InAttributeValueDq=12]="InAttributeValueDq",e3[e3.InAttributeValueSq=13]="InAttributeValueSq",e3[e3.InAttributeValueNq=14]="InAttributeValueNq",e3[e3.BeforeDeclaration=15]="BeforeDeclaration",e3[e3.InDeclaration=16]="InDeclaration",e3[e3.InProcessingInstruction=17]="InProcessingInstruction",e3[e3.BeforeComment=18]="BeforeComment",e3[e3.CDATASequence=19]="CDATASequence",e3[e3.DeclarationSequence=20]="DeclarationSequence",e3[e3.InSpecialComment=21]="InSpecialComment",e3[e3.InCommentLike=22]="InCommentLike",e3[e3.SpecialStartSequence=23]="SpecialStartSequence",e3[e3.InSpecialTag=24]="InSpecialTag",e3[e3.InPlainText=25]="InPlainText",e3[e3.InEntity=26]="InEntity",(e6=ti||(ti={}))[e6.NoValue=0]="NoValue",e6[e6.Unquoted=1]="Unquoted",e6[e6.Single=2]="Single",e6[e6.Double=3]="Double";let c={Empty:new Uint8Array(0),Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,33,62]),Doctype:new Uint8Array([100,111,99,116,121,112,101]),IframeEnd:new Uint8Array([60,47,105,102,114,97,109,101]),NoembedEnd:new Uint8Array([60,47,110,111,101,109,98,101,100]),NoframesEnd:new Uint8Array([60,47,110,111,102,114,97,109,101,115]),Plaintext:new Uint8Array([60,47,112,108,97,105,110,116,101,120,116]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])},d=new Map([[c.IframeEnd[2],c.IframeEnd],[c.NoembedEnd[2],c.NoembedEnd],[c.Plaintext[2],c.Plaintext],[c.ScriptEnd[2],c.ScriptEnd],[c.TitleEnd[2],c.TitleEnd],[c.XmpEnd[2],c.XmpEnd]]);class h{cbs;state=tn.Text;buffer="";sectionStart=0;index=0;entityStart=0;baseState=tn.Text;isSpecial=!1;running=!0;offset=0;xmlMode;decodeEntities;recognizeSelfClosing;entityDecoder;constructor({xmlMode:e=!1,decodeEntities:t=!0,recognizeSelfClosing:r=e},i){this.cbs=i,this.xmlMode=e,this.decodeEntities=t,this.recognizeSelfClosing=r,this.entityDecoder=new o(e?n:a,(e,t)=>this.emitCodePoint(e,t))}reset(){this.state=tn.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=tn.Text,this.isSpecial=!1,this.currentSequence=c.Empty,this.sequenceIndex=0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===tr.Lt||!this.decodeEntities&&this.fastForwardTo(tr.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=tn.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===tr.Amp&&this.startEntity()}currentSequence=c.Empty;sequenceIndex=0;enterTagBody(){this.currentSequence===c.Plaintext?(this.currentSequence=c.Empty,this.state=tn.InPlainText):this.isSpecial?(this.state=tn.InSpecialTag,this.sequenceIndex=0):this.state=tn.Text}stateSpecialStartSequence(e){let t=32|e;if(this.sequenceIndex<this.currentSequence.length){if(t===this.currentSequence[this.sequenceIndex])return void this.sequenceIndex++;
vendor: 14,209 bytes, line 8
8if(3===this.sequenceIndex){if(this.currentSequence===c.ScriptEnd&&t===c.StyleEnd[3]){this.currentSequence=c.StyleEnd,this.sequenceIndex=4;return}if(this.currentSequence===c.TitleEnd&&t===c.TextareaEnd[3]){this.currentSequence=c.TextareaEnd,this.sequenceIndex=4;return}}else if(4===this.sequenceIndex&&this.currentSequence===c.NoembedEnd&&t===c.NoframesEnd[4]){this.currentSequence=c.NoframesEnd,this.sequenceIndex=5;return}}else if(u(e)){this.sequenceIndex=0,this.state=tn.InTagName,this.stateInTagName(e);return}this.isSpecial=!1,this.currentSequence=c.Empty,this.sequenceIndex=0,this.state=tn.InTagName,this.stateInTagName(e)}stateCDATASequence(e){e===c.Cdata[this.sequenceIndex]?++this.sequenceIndex===c.Cdata.length&&(this.state=tn.InCommentLike,this.currentSequence=c.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.xmlMode?(this.state=tn.InDeclaration,this.stateInDeclaration(e)):(this.state=tn.InSpecialComment,this.stateInSpecialComment(e)))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}emitComment(e){this.cbs.oncomment(this.sectionStart,this.index,e),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=tn.Text}stateInCommentLike(e){!this.xmlMode&&this.currentSequence===c.CommentEnd&&this.sequenceIndex<=1&&this.index===this.sectionStart+this.sequenceIndex&&e===tr.Gt?this.emitComment(this.sequenceIndex):this.currentSequence===c.CommentEnd&&2===this.sequenceIndex&&e===tr.Gt?this.emitComment(2):this.currentSequence===c.CommentEnd&&this.sequenceIndex===this.currentSequence.length-1&&e!==tr.Gt?this.sequenceIndex=Number(e===tr.Dash):e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,3),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=tn.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!u(e):e>=tr.LowerA&&e<=tr.LowerZ||e>=tr.UpperA&&e<=tr.UpperZ}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(u(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===c.TitleEnd||this.currentSequence===c.TextareaEnd?this.decodeEntities&&e===tr.Amp&&this.startEntity():this.fastForwardTo(tr.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===tr.Lt)}stateBeforeTagName(e){if(e===tr.ExclamationMark)this.state=tn.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===tr.Questionmark)this.xmlMode?(this.state=tn.InProcessingInstruction,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.state=tn.InSpecialComment,this.sectionStart=this.index);else if(this.isTagStartChar(e)){this.sectionStart=this.index;let t=this.xmlMode||this.cbs.isInForeignContext?.()?void 0:d.get(32|e);void 0===t?this.state=tn.InTagName:(this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=3,this.state=tn.SpecialStartSequence)}else e===tr.Slash?this.state=tn.BeforeClosingTagName:(this.state=tn.Text,this.stateText(e))}stateInTagName(e){u(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=tn.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){l(e)?this.xmlMode||(this.state=tn.InSpecialComment,this.sectionStart=this.index):e===tr.Gt?(this.state=tn.Text,this.xmlMode||(this.sectionStart=this.index+1)):(this.state=this.isTagStartChar(e)?tn.InClosingTagName:tn.InSpecialComment,this.sectionStart=this.index)}stateInClosingTagName(e){u(e)&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=tn.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===tr.Gt||this.fastForwardTo(tr.Gt))&&(this.state=tn.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===tr.Gt?(this.cbs.onopentagend(this.index),this.enterTagBody(),this.sectionStart=this.index+1):e===tr.Slash?this.state=tn.InSelfClosingTag:l(e)||(this.state=tn.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){if(e===tr.Gt){if(this.cbs.onselfclosingtag(this.index),this.sectionStart=this.index+1,!this.recognizeSelfClosing)return void this.enterTagBody();this.state=tn.Text,this.isSpecial=!1,this.currentSequence=c.Empty}else l(e)||(this.state=tn.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===tr.Eq||u(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=tn.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===tr.Eq?this.state=tn.BeforeAttributeValue:e===tr.Slash||e===tr.Gt?(this.cbs.onattribend(ti.NoValue,this.sectionStart),this.sectionStart=-1,this.state=tn.BeforeAttributeName,this.stateBeforeAttributeName(e)):l(e)||(this.cbs.onattribend(ti.NoValue,this.sectionStart),this.state=tn.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===tr.DoubleQuote?(this.state=tn.InAttributeValueDq,this.sectionStart=this.index+1):e===tr.SingleQuote?(this.state=tn.InAttributeValueSq,this.sectionStart=this.index+1):l(e)||(this.sectionStart=this.index,this.state=tn.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===tr.DoubleQuote?ti.Double:ti.Single,this.index+1),this.state=tn.BeforeAttributeName):this.decodeEntities&&e===tr.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,tr.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,tr.SingleQuote)}stateInAttributeValueNoQuotes(e){l(e)||e===tr.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(ti.Unquoted,this.index),this.state=tn.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===tr.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===tr.OpeningSquareBracket?(this.state=tn.CDATASequence,this.sequenceIndex=0):this.xmlMode?this.state=e===tr.Dash?tn.BeforeComment:tn.InDeclaration:(32|e)===c.Doctype[0]?(this.state=tn.DeclarationSequence,this.currentSequence=c.Doctype,this.sequenceIndex=1):e===tr.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=tn.Text,this.sectionStart=this.index+1):e===tr.Dash?this.state=tn.BeforeComment:this.state=tn.InSpecialComment}stateDeclarationSequence(e){this.sequenceIndex===this.currentSequence.length?(this.state=tn.InDeclaration,this.stateInDeclaration(e)):(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:e===tr.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=tn.Text,this.sectionStart=this.index+1):this.state=tn.InSpecialComment}stateInDeclaration(e){(e===tr.Gt||this.fastForwardTo(tr.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=tn.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){e===tr.Questionmark?this.sequenceIndex=1:e===tr.Gt&&1===this.sequenceIndex?(this.cbs.onprocessinginstruction(this.sectionStart,this.index-1),this.sequenceIndex=0,this.state=tn.Text,this.sectionStart=this.index+1):this.sequenceIndex=Number(this.fastForwardTo(tr.Questionmark))}stateBeforeComment(e){e===tr.Dash?(this.state=tn.InCommentLike,this.currentSequence=c.CommentEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):this.xmlMode?this.state=tn.InDeclaration:e===tr.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=tn.Text,this.sectionStart=this.index+1):this.state=tn.InSpecialComment}stateInSpecialComment(e){(e===tr.Gt||this.fastForwardTo(tr.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=tn.Text,this.sectionStart=this.index+1)}startEntity(){this.baseState=this.state,this.state=tn.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?tt.Strict:this.baseState===tn.Text||this.baseState===tn.InSpecialTag?tt.Legacy:tt.Attribute)}stateInEntity(){let e=this.index-this.offset,t=this.entityDecoder.write(this.buffer,e);if(t>=0)this.state=this.baseState,0===t&&(this.index-=1);else{if(e<this.buffer.length&&this.buffer.charCodeAt(e)===tr.Amp){this.state=this.baseState,this.index-=1;return}this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===tn.Text||this.state===tn.InPlainText||this.state===tn.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===tn.InAttributeValueDq||this.state===tn.InAttributeValueSq||this.state===tn.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case tn.Text:this.stateText(e);break;case tn.InPlainText:this.index=this.buffer.length+this.offset-1;break;case tn.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case tn.InSpecialTag:this.stateInSpecialTag(e);break;case tn.CDATASequence:this.stateCDATASequence(e);break;case tn.DeclarationSequence:this.stateDeclarationSequence(e);break;case tn.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case tn.InAttributeName:this.stateInAttributeName(e);break;case tn.InCommentLike:this.stateInCommentLike(e);break;case tn.InSpecialComment:this.stateInSpecialComment(e);break;case tn.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case tn.InTagName:this.stateInTagName(e);break;case tn.InClosingTagName:this.stateInClosingTagName(e);break;case tn.BeforeTagName:this.stateBeforeTagName(e);break;case tn.AfterAttributeName:this.stateAfterAttributeName(e);break;case tn.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case tn.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case tn.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case tn.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case tn.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case tn.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case tn.InDeclaration:this.stateInDeclaration(e);break;case tn.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case tn.BeforeComment:this.stateBeforeComment(e);break;case tn.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case tn.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===tn.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingCommentLikeData(e){if(this.state!==tn.InCommentLike)return!1;if(this.currentSequence===c.CdataEnd)if(this.xmlMode)this.sectionStart<e&&this.cbs.oncdata(this.sectionStart,e,0);else{let t=this.sectionStart-c.Cdata.length-1;this.cbs.oncomment(t,e,0)}else{let t=this.xmlMode?0:Math.min(this.sequenceIndex,c.CommentEnd.length-1);this.cbs.oncomment(this.sectionStart,e,t)}return!0}handleTrailingMarkupDeclaration(e){if(this.xmlMode)switch(this.state){case tn.InSpecialComment:case tn.BeforeComment:case tn.CDATASequence:case tn.DeclarationSequence:case tn.InDeclaration:return this.cbs.ontext(this.sectionStart,e),!0;default:return!1}switch(this.state){case tn.BeforeDeclaration:case tn.InSpecialComment:case tn.BeforeComment:case tn.CDATASequence:return this.cbs.oncomment(this.sectionStart,e,0),!0;case tn.DeclarationSequence:return this.sequenceIndex!==c.Doctype.length&&this.cbs.oncomment(this.sectionStart,e,0),!0;case tn.InDeclaration:return!0;default:return!1}}handleTrailingData(){let e=this.buffer.length+this.offset;if(!(this.handleTrailingCommentLikeData(e)||this.handleTrailingMarkupDeclaration(e))&&!(this.sectionStart>=e))switch(this.state){case tn.InTagName:case tn.BeforeAttributeName:case tn.BeforeAttributeValue:case tn.AfterAttributeName:case tn.InAttributeName:case tn.InAttributeValueSq:case tn.InAttributeValueDq:case tn.InAttributeValueNq:case tn.InClosingTagName:break;default:this.cbs.ontext(this.sectionStart,e)}}emitCodePoint(e,t){this.baseState!==tn.Text&&this.baseState!==tn.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}}let{fromCodePoint:f}=String,p=new Set(["input","option","optgroup","select","button","datalist","textarea"]),m=new Set(["p"]),g=new Set(["h1","h2","h3","h4","h5","h6","p"]),y=new Set(["thead","tbody"]),b=new Set(["dd","dt"]),v=new Set(["rt","rp"]),x=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["a",new Set(["a"])],["li",new Set(["li"])],["p",m],["h1",g],["h2",g],["h3",g],["h4",g],["h5",g],["h6",g],["select",p],["input",p],["output",p],["button",p],["datalist",p],["textarea",p],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",b],["dt",b],["address",m],["article",m],["aside",m],["blockquote",m],["details",m],["div",m],["dl",m],["fieldset",m],["figcaption",m],["figure",m],["footer",m],["form",m],["header",m],["hr",m],["main",m],["nav",m],["ol",m],["pre",m],["section",m],["table",m],["ul",m],["rt",v],["rp",v],["tbody",y],["tfoot",y]]),w="doctype",E=new Set(["area","base","basefont","br","col","command","embed","frame","hr","
8img","input","isindex","keygen","link","meta","param","source","track","wbr"]),T=new Set(["math","svg"]),C=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),A=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]);(e4=to||(to={}))[e4.None=0]="None",e4[e4.Svg=1]="Svg",e4[e4.MathML=2]="MathML";let R=/\s|\//;class S{options;startIndex=0;endIndex=0;openTagStart=0;tagname="";attribname="";attribvalue="";attribs=null;stack=[];foreignContext;cbs;lowerCaseTagNames;lowerCaseAttributeNames;recognizeSelfClosing;htmlMode;tokenizer;buffers=[];bufferOffset=0;writeIndex=0;ended=!1;constructor(e,t={}){this.options=t,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=t.lowerCaseTags??this.htmlMode,this.lowerCaseAttributeNames=t.lowerCaseAttributeNames??this.htmlMode,this.recognizeSelfClosing=t.recognizeSelfClosing??!this.htmlMode,this.tokenizer=new(t.Tokenizer??h)(this.options,this),this.foreignContext=[to.None],this.cbs.onparserinit?.(this)}ontext(e,t){let r=this.getSlice(e,t);this.endIndex=t-1,this.cbs.ontext?.(r),this.startIndex=t}ontextentity(e,t){this.endIndex=t-1,this.cbs.ontext?.(f(e)),this.startIndex=t}isInForeignContext(){return this.foreignContext[0]!==to.None}isVoidElement(e){return this.htmlMode&&E.has(e)}readTagName(e,t){let r=this.lowerCaseTagNames?this.getSlice(e,t).toLowerCase():this.getSlice(e,t);if(!(this.lowerCaseTagNames&&this.htmlMode))return r;if(this.foreignContext[0]===to.Svg)return A.get(r)??r;if(this.foreignContext.length>1){let e=A.get(r);if(void 0!==e&&this.stack.includes(e))return e}return this.isInForeignContext()?r:"image"===r?"img":r}onopentagname(e,t){this.endIndex=t,this.emitOpenTag(this.readTagName(e,t))}emitOpenTag(e){if(this.openTagStart=this.startIndex,this.tagname=e,this.htmlMode&&"form"===e&&this.stack.includes("form")){this.tagname="";return}let t=this.htmlMode&&x.get(e);if(t)for(;this.stack.length>0&&t.has(this.stack[0]);)this.popElement(!0);!this.isVoidElement(e)&&(this.stack.unshift(e),this.htmlMode&&("svg"===e?this.foreignContext.unshift(to.Svg):"math"===e?this.foreignContext.unshift(to.MathML):C.has(e)&&this.foreignContext.unshift(to.None))),this.cbs.onopentagname?.(e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){this.startIndex=this.openTagStart,this.attribs&&(this.cbs.onopentag?.(this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){this.endIndex=t;let r=this.readTagName(e,t);if(this.isVoidElement(r))this.htmlMode&&"br"===r&&(this.cbs.onopentagname?.("br"),this.cbs.onopentag?.("br",{},!0),this.cbs.onclosetag?.("br",!1));else{let e=this.stack.indexOf(r);if(-1!==e){for(let t=0;t<e;t++)this.popElement(!0);this.popElement(!1)}else this.htmlMode&&"p"===r&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.isInForeignContext()?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}popElement(e){let t=this.stack.shift();this.htmlMode&&(T.has(t)||C.has(t))&&this.foreignContext.shift(),this.cbs.onclosetag?.(t,e)}closeCurrentTag(e){let t=this.tagname;this.endOpenTag(e),this.stack[0]===t&&this.popElement(!e)}onattribname(e,t){this.startIndex=e;let r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=f(e)}onattribend(e,t){this.endIndex=t,this.cbs.onattribute?.(this.attribname,this.attribvalue,e===ti.Double?'"':e===ti.Single?"'":e===ti.NoValue?void 0:null),this.attribs&&!Object.hasOwn(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){let t=e.search(R),r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(e,t){this.endIndex=t;let r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.htmlMode?this.lowerCaseTagNames?w:r.slice(0,w.length):this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${e}`,`!${r}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${e}`,`?${r}`)}this.startIndex=t+1}oncomment(e,t,r){this.endIndex=t,this.cbs.oncomment?.(this.getSlice(e,t-r)),this.cbs.oncommentend?.(),this.startIndex=t+1}oncdata(e,t,r){this.endIndex=t;let n=this.getSlice(e,t-r);!this.htmlMode||this.options.recognizeCDATA?(this.cbs.oncdatastart?.(),this.cbs.ontext?.(n),this.cbs.oncdataen
8d?.()):this.isInForeignContext()?this.cbs.ontext?.(n):(this.cbs.oncomment?.(`[CDATA[${n}]]`),this.cbs.oncommentend?.()),this.startIndex=t+1}onend(){if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=0;e<this.stack.length;e++)this.cbs.onclosetag(this.stack[e],!0)}this.cbs.onend?.()}reset(){this.cbs.onreset?.(),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,this.cbs.onparserinit?.(this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(to.None),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){if(e===t)return"";for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){this.ended?this.cbs.onerror?.(Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))}end(e){this.ended?this.cbs.onerror?.(Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}}function I(e){return e.type===ts.Tag||e.type===ts.Script||e.type===ts.Style}(e7=ts||(ts={})).Root="root",e7.Text="text",e7.Directive="directive",e7.Comment="comment",e7.Script="script",e7.Style="style",e7.Tag="tag",e7.CDATA="cdata",e7.Doctype="doctype";let _=ts.Root,N=ts.Text,O=ts.Directive,k=ts.Comment,L=ts.Script,D=ts.Style,P=ts.Tag,M=ts.CDATA,j=ts.Doctype;e.s(["CDATA",0,M,"Comment",0,k,"Directive",0,O,"Doctype",0,j,"ElementType",0,ts,"Root",0,_,"Script",0,L,"Style",0,D,"Tag",0,P,"Text",0,N,"isTag",0,I],546806);class B{parent=null;prev=null;next=null;startIndex=null;endIndex=null;get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return X(this,e)}}class U extends B{data;constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class F extends U{type=ts.Text;get nodeType(){return 3}}class z extends U{type=ts.Comment;get nodeType(){return 8}}class H extends U{type=ts.Directive;name;constructor(e,t){super(t),this.name=e}get nodeType(){return 1}"x-name";"x-publicId";"x-systemId"}class G extends B{children;constructor(e){super(),this.children=e}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class W extends G{type=ts.CDATA;get nodeType(){return 4}}class q extends G{type=ts.Root;get nodeType(){return 9}}class $ extends G{name;attribs;type;constructor(e,t,r=[],n="script"===e?ts.Script:"style"===e?ts.Style:ts.Tag){super(r),this.name=e,this.attribs=t,this.type=n}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>({name:e,value:this.attribs[e],namespace:this["x-attribsNamespace"]?.[e],prefix:this["x-attribsPrefix"]?.[e]}))}namespace;"x-attribsNamespace";"x-attribsPrefix"}function V(e){return I(e)}function J(e){return e.type===ts.CDATA}function Y(e){return e.type===ts.Text}function K(e){return e.type===ts.Comment}function Z(e){return Object.hasOwn(e,"children")}function X(e,t=!1){let r;if(Y(e))r=new F(e.data);else if(K(e))r=new z(e.data);else if(I(e)){let n=t?Q(e.children):[],i=new $(e.name,{...e.attribs},n);for(let e of n)e.parent=i;null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]={...e["x-attribsPrefix"]}),r=i}else if(J(e)){let n=t?Q(e.children):[],i=new W(n);for(let e of n)e.parent=i;r=i}else if(e.type===ts.Root){let n=t?Q(e.children):[],i=new q(n);for(let e of n)e.parent=i;e["x-mode"]&&(i["x-mode"]=e["x-mode"]),r=i}else if(e.type===ts.Directive){let t=new H(e.name,e.data);null!=e["x-name"]&&(t["x-name"]=e["x-name"],t["x-publicId"]=e["x-publicId"],t["x-systemId"]=e["x-systemId"]),r=t}else throw Error(`Not implemented yet: ${e.type}`);return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function Q(e){let t=e.map(e=>X(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}let ee={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class et{dom=[];root=new q(this.dom);callback;options;elementCB;done=!1;tagStack=[this.root];lastNode=null;parser=null;constructor(e,t,r){"function"==typeof t&&(r=t,t=ee),"object"==typeof e&&(t=e,e=void 0),this.callback=e??null,this.options=t??ee,this.elementCB=r??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new q(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;let e=this.tagStack.pop();this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){let r=new $(e,t,void 0,this.options.xmlMode?ts.Tag:void 0);this.addNode(r),this.tagStack.push(r)}ontext(e){let{lastNode:t}=this;if(t&&t.type===ts.Text)t.data+=e,this.options.withEndIndices&&this.parser&&(t.endIndex=this.parser.endIndex);else{let t=new F(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===ts.Comment){this.lastNode.data+=e;return}let t=new z(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){let e=new F(""),t=new W([e]);this.addNode(t),e.parent=t,this.lastNode=e}
8oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){let r=new H(e,t);this.addNode(r)}handleCallback(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e}addNode(e){let t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&this.parser&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null}}function er(e,t,r=!0,n=1/0){return en(e,Array.isArray(t)?t:[t],r,n)}function en(e,t,r,n){let i=[],o=[Array.isArray(t)?t:[t]],s=[0];for(;;){if(s[0]>=o[0].length){if(1===s.length)return i;o.shift(),s.shift();continue}let t=o[0][s[0]++];if(e(t)&&(i.push(t),--n<=0))return i;r&&Z(t)&&t.children.length>0&&(s.unshift(0),o.unshift(t.children))}}function ei(e,t,r=!0){for(let n of Array.isArray(t)?t:[t]){if(I(n)&&e(n))return n;if(r&&Z(n)&&n.children.length>0){let t=ei(e,n.children,!0);if(t)return t}}return null}function eo(e,t){return(Array.isArray(t)?t:[t]).some(t=>I(t)&&e(t)||Z(t)&&eo(e,t.children))}function es(e,t){let r=[],n=[Array.isArray(t)?t:[t]],i=[0];for(;;){if(i[0]>=n[0].length){if(1===n.length)return r;n.shift(),i.shift();continue}let t=n[0][i[0]++];I(t)&&e(t)&&r.push(t),Z(t)&&t.children.length>0&&(i.unshift(0),n.unshift(t.children))}}e.s(["existsOne",0,eo,"filter",0,er,"find",0,en,"findAll",0,es,"findOne",0,ei],890961);let ea={tag_name:e=>"function"==typeof e?t=>I(t)&&e(t.name):"*"===e?V:t=>I(t)&&t.name===e,tag_type:e=>"function"==typeof e?t=>e(t.type):t=>t.type===e,tag_contains:e=>"function"==typeof e?t=>Y(t)&&e(t.data):t=>Y(t)&&t.data===e};function el(e,t){return"function"==typeof t?r=>I(r)&&t(r.attribs[e]):r=>I(r)&&r.attribs[e]===t}function eu(e,t){return r=>e(r)||t(r)}function ec(e){let t=Object.keys(e).map(t=>{let r=e[t];return Object.hasOwn(ea,t)?ea[t](r):el(t,r)});return 0===t.length?null:t.reduce(eu)}function ed(e,t){let r=ec(e);return!r||r(t)}function eh(e,t,r,n=1/0){let i=ec(e);return i?er(i,t,r,n):[]}function ef(e,t,r=!0){return Array.isArray(t)||(t=[t]),ei(el("id",e),t,r)}function ep(e,t,r=!0,n=1/0){return er(ea.tag_name(e),t,r,n)}function em(e,t,r=!0,n=1/0){return er(el("class",e),t,r,n)}function eg(e,t,r=!0,n=1/0){return er(ea.tag_type(e),t,r,n)}function ey(e){return 34===e?"&quot;":38===e?"&amp;":39===e?"&apos;":60===e?"&lt;":62===e?"&gt;":"&nbsp;"}e.s(["getElementById",0,ef,"getElements",0,eh,"getElementsByClassName",0,em,"getElementsByTagName",0,ep,"getElementsByTagType",0,eg,"testElement",0,ed],764451);let eb=/["&'<>\u0080-\uFFFF]/g;function ev(e){return e>=128||e>=32&&e<64&&(0x500000c4>>>e&1)==1}function ex(e){let t,{length:r}=e,n=0,i=0;for(;i<r;){let o=e.charCodeAt(i);if(!ev(o)){let t=Math.min(i+32,r),n=i+1;for(;n<t&&!ev(e.charCodeAt(n));)n++;if(n<t){i=n;continue}if(n>=r||(eb.lastIndex=n,!eb.test(e)))break;i=eb.lastIndex-1;continue}if(void 0===t?t=e.substring(0,i):n!==i&&(t+=e.substring(n,i)),o<64){t+=ey(o),n=i+=1;continue}let s=e.codePointAt(i);t+=`&#x${s.toString(16)};`,s!==o&&i++,n=i+=1}return void 0===t?e:(n<r&&(t+=e.substr(n)),t)}function ew(e,t){if(e.lastIndex=0,!e.test(t))return t;let r="",n=0;do{let i=e.lastIndex-1;n!==i&&(r+=t.substring(n,i)),r+=ey(t.charCodeAt(i)),n=i+1}while(e.test(t))return r+t.substring(n)}let eE=/["&\u{A0}]/gu;function eT(e){return ew(eE,e)}let eC=/[&<>\u{A0}]/gu,eA=new Map("altGlyph altGlyphDef altGlyphItem animateColor animateMotion animateTransform clipPath feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence foreignObject glyphRef linearGradient radialGradient textPath".split(" ").map(e=>[e.toLowerCase(),e])),eR=new Map("definitionURL attributeName attributeType baseFrequency baseProfile calcMode clipPathUnits diffuseConstant edgeMode filterUnits glyphRef gradientTransform gradientUnits kernelMatrix kernelUnitLength keyPoints keySplines keyTimes lengthAdjust limitingConeAngle markerHeight markerUnits markerWidth maskContentUnits maskUnits numOctaves pathLength patternContentUnits patternTransform patternUnits pointsAtX pointsAtY pointsAtZ preserveAlpha preserveAspectRatio primitiveUnits refX refY repeatCount repeatDur requiredExtensions requiredFeatures specularConstant specularExponent spreadMethod startOffset stdDeviation stitchTiles surfaceScale systemLanguage tableValues targetX targetY textLength viewBox viewTarget xChannelSelector yChannelSelector zoomAndPan".split(" ").map(e=>[e.toLowerCase(),e])),eS=new Set("style script xmp iframe noembed noframes plaintext noscript".split(" ")),eI=new Set("area base basefont br col command embed frame hr img input isindex keygen link meta param source track wbr".split(" ")),e_=new Set(["svg","math"]),eN=new Set("mi mo mn ms mtext annotation-xml foreignObject desc title".split(" ")),eO=function(e,t={}){let r="length"in e?e:[e],n=t.xmlMode??!1,i="";for(let e=0;e<r.length;e++)i+=eL(r[e],t,n);return i};function ek(e,t,r){let n="";for(let i=0;i<e.length;i++)n+=eL(e[i],t,r);return n}function eL(e,t,r){switch(e.type){case _:return ek(e.children,t,r);case O:return`<${e.data}>`;case k:return`<!--${e.data}-->`;case M:return`<![CDATA[${e.children[0].data}]]>`;case L:case D:case P:return function(e,t,r){"foreign"===r&&(e.name=eA.get(e.n
8ame)??e.name,e.parent&&eN.has(e.parent.name)&&(r=!1)),!r&&e_.has(e.name)&&(r="foreign");let{name:n,children:i}=e,o=!r&&eI.has(n),s=`<${n}${function(e,t,r){if(!e)return"";let n=(t.encodeEntities??t.decodeEntities)===!1?eD:r||"utf8"!==t.encodeEntities?ex:eT,i="foreign"===r,o=!!(t.emptyAttrs??r),s="";for(let t in e){if(!Object.hasOwn(e,t))continue;let r=e[t],a=i?eR.get(t)??t:t;s+=o||null!=r&&""!==r?` ${a}="${n(null==r?"":String(r))}"`:` ${a}`}return s}(e.attribs,t,r)}`;return 0===i.length&&(r?!1!==t.selfClosingTags:t.selfClosingTags&&o)?s+=r?"/>":" />":(s+=">",i.length>0&&(s+=ek(i,t,r)),o||(s+=`</${n}>`)),s}(e,t,r);case N:{let n=e.data||"";if((t.encodeEntities??t.decodeEntities)!==!1&&!(!r&&e.parent&&eS.has(e.parent.name)))return r||"utf8"!==t.encodeEntities?ex(n):ew(eC,n);return n}}}function eD(e){return e.replaceAll('"',"&quot;")}function eP(e,t){return eO(e,t)}function eM(e,t){return Z(e)?e.children.map(e=>eP(e,t)).join(""):""}function ej(e){return Array.isArray(e)?e.map(ej).join(""):I(e)?"br"===e.name?"\n":ej(e.children):J(e)?ej(e.children):Y(e)?e.data:""}function eB(e){return Array.isArray(e)?e.map(eB).join(""):Z(e)&&!K(e)?eB(e.children):Y(e)?e.data:""}function eU(e){return Array.isArray(e)?e.map(eU).join(""):Z(e)&&(e.type===ts.Tag||J(e))?eU(e.children):Y(e)?e.data:""}function eF(e){var t;let r,n,i,o,s,a,l,u=eW(eV,e);return u?"feed"===u.name?(n={type:"atom",items:ep("entry",r=u.children).map(e=>{let{children:t}=e,r={media:eG(t)};e$(r,"id","id",t),e$(r,"title","title",t);let n=eW("link",t)?.attribs.href;n&&(r.link=n);let i=eq("summary",t)||eq("content",t);i&&(r.description=i);let o=eq("updated",t);return o&&(r.pubDate=new Date(o)),r})},e$(n,"id","id",r),e$(n,"title","title",r),(i=eW("link",r)?.attribs.href)&&(n.link=i),e$(n,"description","subtitle",r),(o=eq("updated",r))&&(n.updated=new Date(o)),e$(n,"author","email",r,!0),n):(t=u,s=eW("channel",t.children)?.children??[],a={type:t.name.substr(0,3),id:"",items:ep("item",t.children).map(e=>{let{children:t}=e,r={media:eG(t)};e$(r,"id","guid",t),e$(r,"title","title",t),e$(r,"link","link",t),e$(r,"description","description",t);let n=eq("pubDate",t)||eq("dc:date",t);return n&&(r.pubDate=new Date(n)),r})},e$(a,"title","title",s),e$(a,"link","link",s),e$(a,"description","description",s),(l=eq("lastBuildDate",s))&&(a.updated=new Date(l)),e$(a,"author","managingEditor",s,!0),a):null}e.s(["getInnerHTML",0,eM,"getOuterHTML",0,eP,"getText",0,ej,"innerText",0,eU,"textContent",0,eB],107100);let ez=["url","type","lang"],eH=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function eG(e){return ep("media:content",e).map(e=>{let{attribs:t}=e,r={medium:t.medium,isDefault:!!t.isDefault};for(let e of ez)t[e]&&(r[e]=t[e]);for(let e of eH)t[e]&&(r[e]=Number.parseInt(t[e],10));return t.expression&&(r.expression=t.expression),r})}function eW(e,t){return ep(e,t,!0,1)[0]}function eq(e,t,r=!1){return eB(ep(e,t,r,1)).trim()}function e$(e,t,r,n,i=!1){let o=eq(r,n,i);o&&(e[t]=o)}function eV(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}function eJ(e,t){let r=new et(void 0,t);return new S(r,t).end(e),r.root}function eY(e,t,r){let n=new et(t=>e(t,n.root),t,r);return new S(n,t)}e.s(["getFeed",0,eF],325137);let eK={xmlMode:!0};function eZ(e,t=eK){return eF(eJ(e,t).children)}e.s(["createDocumentStream",0,eY,"parseDocument",0,eJ,"parseFeed",0,eZ],177627),e.i(177627);var eX,eQ,e0,e1,e2,e5,e3,e6,e4,e7,e8,e9,te,tt,tr,tn,ti,to,ts,ta,tl=e.i(546806);function tu(e){let t=e.length;for(;--t>=0;){let r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0){e.splice(t,1);continue}for(let n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e}function tc(e,t){let r=[],n=[];if(e===t)return 0;let i=Z(e)?e:e.parent;for(;i;)r.unshift(i),i=i.parent;for(i=Z(t)?t:t.parent;i;)n.unshift(i),i=i.parent;let o=Math.min(r.length,n.length),s=0;for(;s<o&&r[s]===n[s];)s++;if(0===s)return ta.DISCONNECTED;let a=r[s-1],l=a.children,u=r[s],c=n[s];return l.indexOf(u)>l.indexOf(c)?a===t?ta.FOLLOWING|ta.CONTAINED_BY:ta.FOLLOWING:a===e?ta.PRECEDING|ta.CONTAINS:ta.PRECEDING}function td(e){return(e=e.filter((e,t,r)=>!r.includes(e,t+1))).sort((e,t)=>
8{let r=tc(e,t);return r&ta.PRECEDING?-1:r&ta.FOLLOWING?1:0}),e}function th(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){let t=e.parent.children,r=t.lastIndexOf(e);-1!==r&&t.splice(r,1)}e.next=null,e.prev=null,e.parent=null}function tf(e,t){if(t.prev=e.prev,t.prev&&(t.prev.next=t),t.next=e.next,t.next&&(t.next.prev=t),t.parent=e.parent,t.parent){let{children:r}=t.parent,n=r.lastIndexOf(e);-1!==n&&(r[n]=t,e.parent=null)}}function tp(e,t){if(th(t),t.next=null,t.parent=e,e.children.push(t)>1){let r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null}function tm(e,t){th(t);let{parent:r}=e,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){let e=r.children;e.splice(e.lastIndexOf(n),0,t)}}else r&&r.children.push(t)}function tg(e,t){if(th(t),t.parent=e,t.prev=null,1===e.children.unshift(t))t.next=null;else{let r=e.children[1];r.prev=t,t.next=r}}function ty(e,t){th(t);let{parent:r}=e;if(r){let n=r.children;n.splice(n.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}function tb(e){return Z(e)?e.children:[]}function tv(e){return e.parent||null}function tx(e){let t=tv(e);if(null!=t)return tb(t);let r=[e],{prev:n,next:i}=e;for(;null!=n;)r.unshift(n),{prev:n}=n;for(;null!=i;)r.push(i),{next:i}=i;return r}function tw(e,t){let{attribs:r}=e;return r?.[t]}function tE(e,t){let{attribs:r}=e;return null!=r&&Object.hasOwn(r,t)&&null!=r[t]}function tT(e){return e.name}function tC(e){let{next:t}=e;for(;null!==t&&!I(t);)({next:t}=t);return t}function tA(e){let{prev:t}=e;for(;null!==t&&!I(t);)({prev:t}=t);return t}e.s([],662614),e.i(662614),e.i(325137),(eX=ta||(ta={}))[eX.DISCONNECTED=1]="DISCONNECTED",eX[eX.PRECEDING=2]="PRECEDING",eX[eX.FOLLOWING=4]="FOLLOWING",eX[eX.CONTAINS=8]="CONTAINS",eX[eX.CONTAINED_BY=16]="CONTAINED_BY",e.s(["DocumentPosition",0,ta,"compareDocumentPosition",0,tc,"removeSubsets",0,tu,"uniqueSort",0,td],986053),e.i(986053),e.i(764451),e.s(["append",0,tm,"appendChild",0,tp,"prepend",0,ty,"prependChild",0,tg,"removeElement",0,th,"replaceElement",0,tf],849404),e.i(849404),e.i(890961),e.i(107100),e.s(["getAttributeValue",0,tw,"getChildren",0,tb,"getName",0,tT,"getParent",0,tv,"getSiblings",0,tx,"hasAttrib",0,tE,"nextElementSibling",0,tC,"prevElementSibling",0,tA],143747),e.i(143747),e.s(["DocumentPosition",0,ta,"append",0,tm,"appendChild",0,tp,"compareDocumentPosition",0,tc,"existsOne",0,eo,"filter",0,er,"find",0,en,"findAll",0,es,"findOne",0,ei,"getAttributeValue",0,tw,"getChildren",0,tb,"getElementById",0,ef,"getElements",0,eh,"getElementsByClassName",0,em,"getElementsByTagName",0,ep,"getElementsByTagType",0,eg,"getFeed",0,eF,"getInnerHTML",0,eM,"getName",0,tT,"getOuterHTML",0,eP,"getParent",0,tv,"getSiblings",0,tx,"getText",0,ej,"hasAttrib",0,tE,"innerText",0,eU,"nextElementSibling",0,tC,"prepend",0,ty,"prependChild",0,tg,"prevElementSibling",0,tA,"removeElement",0,th,"removeSubsets",0,tu,"replaceElement",0,tf,"testElement",0,ed,"textContent",0,eB,"uniqueSort",0,td],834585);var tR=e.i(834585);e.s(["DefaultHandler",0,et,"DomHandler",0,et,"DomUtils",0,tR,"ElementType",0,tl,"Parser",0,S,"QuoteType",0,ti,"Tokenizer",0,h,"createDocumentStream",0,eY,"getFeed",0,eF,"parseDocument",0,eJ,"parseFeed",0,eZ],132109)},64873,(e,t,r)=>{"use strict";t.exports=e=>{if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},875654,(e,t,r)=>{"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},130860,(e,t,r)=>{"use strict";var n=function(e){var t,r,n;return!!(t=e)&&"object"==typeof t&&(r=e,"[object RegExp]"!==(n=Object.prototype.toString.call(r))&&"[object Date]"!==n&&r.$$typeof!==i)},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u(Array.isArray(e)?[]:{},e,t):e}function s(e,t,r){return e.concat(t).map(function(e){return o(e,r)})}function a(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function l(e,t){try{return t in e}catch(e){return!1}}function u(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||s,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=o;var i,c,d=Array.isArray(t);return d!==Array.isArray(e)?o(t,r):d?r.arrayMerge(e,t,r):(c={},(i=r).isMergeableObject(e)&&a(e).forEach(function(t){c[t]=o(e[t],i)}),a(t).forEach(function(r){l(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))||(l(e,r)&&i.isMergeableObject(t[r])?c[r]=(function(e,t){if(!t.customMerge)return u;var r=t.customMerge(e);return"function"==typeof r?r:u})(r,i)(e[r],t[r],i):c[r]=o(t[r],i))}),c)}u.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return u(e,r,t)},{})},t.exports=u},661840,(e,t,r)=>{!function(r,n){if("function"==typeof define&&define.amd){let t;void 0!==(t=n())&&e.v(t)}
8else t.exports?t.exports=n():r.parseSrcset=n()}(e.e,function(){return function(e){function t(e){return" "===e||"	"===e||"\n"===e||"\f"===e||"\r"===e}function r(t){var r,n=t.exec(e.substring(m));if(n)return r=n[0],m+=r.length,r}for(var n,i,o,s,a,l=e.length,u=/^[ \t\n\r\u000c]+/,c=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,f=/^\d+$/,p=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,m=0,g=[];;){if(r(c),m>=l)return g;n=r(d),i=[],","===n.slice(-1)?(n=n.replace(h,""),y()):function(){for(r(u),o="",s="in descriptor";;){if(a=e.charAt(m),"in descriptor"===s)if(t(a))o&&(i.push(o),o="",s="after descriptor");else if(","===a){m+=1,o&&i.push(o),y();return}else if("("===a)o+=a,s="in parens";else if(""===a){o&&i.push(o),y();return}else o+=a;else if("in parens"===s)if(")"===a)o+=a,s="in descriptor";else if(""===a){i.push(o),y();return}else o+=a;else if("after descriptor"===s)if(t(a));else{if(""===a)return void y();s="in descriptor",m-=1}m+=1}}()}function y(){var t,r,o,s,a,l,u,c,d,h=!1,m={};for(s=0;s<i.length;s++)l=(a=i[s])[a.length-1],c=parseInt(u=a.substring(0,a.length-1),10),d=parseFloat(u),f.test(u)&&"w"===l?((t||r)&&(h=!0),0===c?h=!0:t=c):p.test(u)&&"x"===l?((t||r||o)&&(h=!0),d<0?h=!0:r=d):f.test(u)&&"h"===l?((o||r)&&(h=!0),0===c?h=!0:o=c):h=!0;h?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+a+"'."):(m.url=n,t&&(m.w=t),r&&(m.d=r),o&&(m.h=o),g.push(m))}}})},345863,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"cloneDeep",{enumerable:!0,get:function(){return function e(t){return Array.isArray(t)?t.map(t=>e(t)):"object"==typeof t&&null!==t?Object.fromEntries(Object.entries(t).map(([t,r])=>[t,e(r)])):t}}})},233733,(e,t,r)=>{t.exports={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:e})=>e("colors"),colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"al
8ias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>({none:"none",...e("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:e})=>({...e("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({...e("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:e})=>({...e("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>
8({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]}},963802,(e,t,r)=>{"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let i=e.r(345863),o=(n=e.r(233733))&&n.__esModule?n:{default:n},s=(0,i.cloneDeep)(o.default.theme)},954821,(e,t,r)=>{let n=e.r(963802);t.exports=(n.__esModule?n:{default:n}).default},374774,634727,964882,e=>{"use strict";e.s(["CustomTargetingKey",()=>m,"addGPTEventListener",()=>_,"default",()=>G,"getPageLevelAdTargetingKeyVals",()=>H,"initConsentRevocationListener",()=>q,"pauseAllAdTimers",()=>B,"processSponsorshipTagSplit",()=>h,"refreshAdIds",()=>V,"reloadAds",()=>J,"resumeAllAdTimers",()=>U,"setPageLevelTargetingKeyVal",()=>z,"updateAds",()=>$],374774);var t=e.i(657523),r=e.i(25667),n=e.i(505489);function i(){return!!window.__iasPET&&!!window.customKetchConsent?.behavioral_advertising}function o(e){return e.map(e=>{let t=(e.getSizes?.()??[]).flatMap(e=>e&&"object"==typeof e&&"function"==typeof e.getWidth?[[e.getWidth(),e.getHeight()]]:Array.isArray(e)&&e.length>=2?[[e[0],e[1]]]:[]);return{adSlotId:e.getSlotElementId(),adUnitPath:e.getAdUnitPath(),size:t}})}let s=[[640,360]];function a(e,{fireRefresh:t,clearTimer:r}){try{window.__iasPET.pubId=n.IAS_PUB_ID,window.__iasPET.queue.push({adSlots:e,dataHandler:()=>{r();try{window.__iasPET?.setTargetingForGPT()}finally{t()}}})}catch{r(),t()}}e.s(["getIASVideoTargeting",0,function(e,t){return new Promise(r=>{if(!i())return void r("");try{window.__iasPET.pubId=n.IAS_PUB_ID,window.__iasPET.queue.push({adSlots:[{adSlotId:e,adUnitPath:t,size:s}],dataHandler:e=>{let t;try{t="string"==typeof e?JSON.parse(e):e}catch{r("");return}let n=new URLSearchParams;null!=t&&"fr"in t&&n.append("fr",String(t.fr));let i=t?.brandSafety;if(i)for(let[e,t]of Object.entries(i))n.append(e,t);let o=t?.custom;if(o){let e=o["ias-kw"];Array.isArray(e)&&n.append("ias-kw",e.join(","))}r(n.toString())}})}catch{r("")}})},"iasAvailable",0,i,"iasQueue",0,a,"toIasFormat",0,o],634727);var l=e.i(117595);function u(e){if(void 0===globalThis.window)return;let t=globalThis;if("function"==typeof t.onDvtagReady)return void(e?t.onDvtagReady(e):t.onDvtagReady());if(!e)return;let r=!1;setTimeout(()=>{r||(r=!0,e())},750)}e.s(["defineDvtagSlot",0,function(e,t){if(void 0===globalThis.window)return;let r=globalThis;r.defineDvtagSlot?.(e,t)},"getDvtagTargeting",0,function(e){if(void 0===globalThis.window)return;let t=globalThis;return t.getDvtagTargeting?.(e)},"onDvtagReady",0,u],964882);var c=e.i(932595);let d=new Map;function h(e){if(!e?.includes("_split-"))return e;let t=e.slice(0,e.indexOf("_split-")),r=d.get(t);if(r)return r;let n=.5>Math.random()?"1":"2",i=`${t}_split-${n}`;return d.set(t,i),i}let f=["inline","leaderboard","rightrail","sponsorshiplogo"],p={inline:e=>e<3?"ATF":e<11?"MID":"BTF",leaderboard:e=>1===e?"ATF":2===e?"MID":"BTF",rightrail:e=>1===e?"ATF":2===e?"MID":"BTF",sponsorshiplogo:e=>1===e?"ATF":e<4?"MID":"BTF"},m={TYPE:"type",LEGACY_CONTENT_TYPE:"ctype",SUB_TYPE:"subType",CONTENT_TYPE:"contentType",CONTENT_ID:"cid",ARTICLE_ID:"aid",PRIMARY_SECTION:"primarysection",SECTIONS:"sections",TAGS:"tags",NEG:"neg",SEARCH:"search",VIDEO_ON_PAGE:"vid
8onpage",VIDEO_COMPONENT:"videoComponent",TEST:"test",NUM_AD_SLOTS:"adslots",AD_BLOCKER:"blocked_campaigns",NOUN_KEYWORDS:"Keyword",NOUN_CATEGORIES:"category",NOUN_ENTITIES:"entities",NOUN_TAGS:"tags",AD_SLOT_COUNT:"adSlotCount",AD_SLOT_COUNT_MOBILE:"adSlotCountMobile",AD_REFRESH_COUNT:"adRefreshCount",REFRESH_KEY:"refreshable",RESPONSIVE:"responsive",POSITION:"pos",SIZES:"sizes",BREAKPOINTS:"breakpoints",FOLD_POSITION:"position"},g=[969,499],y=[727,179],b=[0,0],v=new Map,x=new Map,w=new Set,E=!1,T=!1,C=!1,A={adRefreshInterval:3e4,lazyLoad:!0,enableSingleRequestMode:!0,disableInitialLoad:!0,breakpoints:[g,y,b],sizeMap:[[g,[[970,250]]],[y,[[160,600],[728,90]]],[b,[[1,1],[300,50],[300,250],[300,600],[320,50],[336,280]]]]};function R(){return globalThis.googletag.pubads().getSlots()??[]}function S(e=()=>{}){globalThis.googletag=globalThis.googletag||{cmd:[]};let t=globalThis.googletag;t.cmd??=[],t.cmd.push(e)}function I(e={},{replace:t=!1}={}){let r=e?.type===n.ContentType.COLLECTION_ITEM?Object.fromEntries(Object.entries(e).filter(([e])=>"sponsorshipTag"!==e)):e;S(()=>{t?globalThis.googletag.setConfig({targeting:null}):e?.type===n.ContentType.COLLECTION_ITEM&&globalThis.googletag.setConfig({targeting:{sponsorshipTag:null}}),globalThis.googletag.setConfig({targeting:r})})}function _(e,t){S(()=>{globalThis.googletag.pubads().addEventListener(e,t)})}function N({id:e,adUnitPath:r,sizes:i,viewPortBreakPoints:o=A.breakpoints,slotLevelTargeting:s={},display:a="all",companionAd:l,refreshable:u=!0}){if(!e)throw Error("The 'id' is required.");if(!r)throw Error(`The 'adUnitPath' for ad slot ${e} is required.`);if("mobile"===a&&!(0,t.isMobile)()||"desktop"===a&&(0,t.isMobile)())return;let c=Array.isArray(i)&&Array.isArray(o)&&i.length<=o.length&&i.every(e=>Array.isArray(e)&&Array.isArray(e)&&e.every(e=>e===n.AD_SIZE_FLUID||Array.isArray(e)&&2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1])),d=c?[...i].flat():[...i];if(e.includes("oop-ad")){let t=document.createElement("div");t.setAttribute("id",e),t.setAttribute("style","display:none;width:0px;height:0px"),document.body.append(t)}let g=globalThis.googletag.defineSlot(r,d,e);if(g){let t=(e=>{let{adName:t,adIndex:r}=function(e=""){if("inline15_plus"===e)return{adName:"inline15_plus",adIndex:"inline15_plus"};let t=new RegExp(new RegExp(String.raw`(${f.join("|")})(\d+)$`)).exec(e);return{adName:t?.[1]||"",adIndex:t?.[2]||""}}(e);if("inline15_plus"===t)return"BTF";let n=Number.parseInt(r,10);return p[t]?.(n)||""})(r?.slice(Math.max(0,r.lastIndexOf("/")+1))),a=[...new Set(d.map(e=>"string"==typeof e?e:Array.isArray(e)&&e[0]===n.AD_SIZE_FLUID?n.AD_SIZE_FLUID:`${e[0]}x${e[1]}`))].join("|");if(!function(e,t={}){let r=Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t]));e.setConfig({targeting:r})}(g,{...function(e={}){let{sponsorshipTag:t}=e;return"string"!=typeof t?e:{...e,sponsorshipTag:h(t)}}(s),[m.REFRESH_KEY]:`${u}`,[m.AD_REFRESH_COUNT]:"1",...c&&{[m.BREAKPOINTS]:o.map(([e,t])=>`${e}x${t}`).join("|")},[m.RESPONSIVE]:String(c),[m.SIZES]:a,[m.POSITION]:e,...t&&{[m.FOLD_POSITION]:t}}),c){let e=function(e,t){let r=globalThis.googletag.sizeMapping();for(let[n,i]of(e.sort((e,t)=>t[0]-e[0]),[...t].entries()))void 0!==e[n]&&r.addSize(e[n],i);return r.build()}(o,i);g.defineSizeMapping(e??[])}l&&(g.addService(googletag.companionAds()),globalThis.googletag.setConfig({videoAds:{enableVideoAds:!0}})),g.addService(globalThis.googletag.pubads())}}let O=new Set([n.ContentType.ARTICLE,n.ContentType.ARTICLE_COLLECTION,n.ContentType.ARTICLE_SINGLE_COLUMN,n.ContentType.ARTICLE_VIDEO,n.ContentType.ARTICLE_STANDARD,n.ContentType.ARTICLE_EXCLUSIVE,n.ContentType.ARTICLE_GALLERY,n.ContentType.ARTICLE_LONGFORM,n.ContentType.ARTICLE_PARTNER]),k=new Set([n.ContentType.COLLECTION,n.ContentType.COLLECTION_ITEM]);function L(e){var r;let s,l;if(!e?.length)return;let d=e.filter(e=>{let t=e.getSlotElementId();return!w.has(t)});if(0===d.length)return;function h(){void 0!==s&&(clearTimeout(s),s=void 0),void 0!==l&&(clearTimeout(l),l=void 0)}for(let e of(h(),d)){let t=e.getSlotElementId(),r=v.get(t);r?(r.slotRefreshCount=(r.slotRefreshCount||0)+1,v.set(t,r),e.setConfig({targeting:{[m.AD_REFRESH_COUNT]:`${r.slotRefreshCount}`}})):e.setConfig({targeting:{[m.AD_REFRESH_COUNT]:"1"}})}let f=!1,p=[];for(let e=0;e<d.length;e+=20){let t=d.slice(e,e+20);p.push(t)}let g=p.length,y=0,b=(r=H()[m.CONTENT_TYPE]??"",O.has(r)?(0,t.isMobile)()?3:4:r===n.ContentType.HOMEPAGE||k.has(r)?3:30),x=()=>{f||(f=!0,h(),u(()=>{S(()=>{let e=null,t=[];for(let r of d)!e&&r.getAdUnitPath()?.endsWith(n.AD_SLOT_ID_SPONSORSHIP_LOGO)?e=r:t.push(r);e&&globalThis.googletag.pubads().refresh([e]);let r=[];for(let e=0;e<t.length;e+=b)r.push(t.slice(e,e+b));let i=e=>{let t=r[e];if(!t)return;let n=new Set(globalThis.googletag.pubads().getSlots()),o=t.filter(e=>n.has(e));o.length>0&&globalThis.googletag.pubads().refresh(o),e+1<r.length&&(0,c.scheduleIdle)(()=>i(e+1))};i(0)})}))},E=()=>{++y===g&&x()},T=(e=Date.now())=>{let t=!globalThis.customKetchConsent,r=Date.now()-e>=1e3;if(i()){l=setTimeout(()=>{x()},300);let e={fireRefresh:E,clearTimer:()=>{}};for(let t of p)a(o(t),e)}else t&&!r?s=setTimeout(()=>T(e),100):x()};T()}function D(e){let t=x.get(e);t&&(t.disconnect(),x.delete(e))}function P(e){let t=v.get(e);t?.timerId&&clearTimeout(t.timerId),v.delete(e),w.delete(e),D(e)}function M(e){if("string"==typeof e&&w.has(e))return;let t=v.get(e);if(!t||t.isRunning)return;let{slot:r,elapsedTime:n}=t,i=Date.now(),o=setTimeout(()=>{var t;let n;L([r]),t=e,(n=v.get(t))&&(clearTimeout(n.timerId),v.set(t,{...n,elapsedTime:0,timerId:void 0,isRunning:!1}))},1e3*(30-n));v.set(e,{...t,timerId:o,isRunning:!0,startTime:i,isSystemPaused:!1})}function j(e){let t=v.get(e);if(!t?.isRunning)return;let r=(Date.now()-t.startTime)/1e3,n=Math.min(t.elapsedTime+r,30);clearTimeout(t.timerId),v.set(e,{...t,elapsedTime:n,timerId:void 0,isRunning:!1})}function B(e={}){let t=Object.values(e);for(let[e,r]of v)if(!t.includes(e)&&r.isRunning){j(e);let t=v.get(e);t&&v.set(e,{...t,isSystemPaused:!0})}}function U(){for(let[e,t]of v){if(t.isRunning||!t.isSystemPaused)continue;M(e);let r=v.get(e);r&&v.set(e,{...r,isSystemPaused:!1})}}function F(){if(document.hidden)for(let[e,t]of v)t.isRunning&&j(e);else for(let[e]of v)M(e)}function z(e,t){S(()=>{globalThis.googletag.setConfig({targeting:{[e]:t}})})}function H(){let e=document.querySelector("#gpt-keyvals"),{testads:t=""}=(0,r.getQueryParams)();if(!globalThis.googletag?.getConfig)return{};let n=googletag.getConfig("targeting")?.targeting??{},i=n.sponsorshipTag,o=Array.isArray(i)&&i.length>0?i[0]:null,s=Object.fromEntries(Object.entries(n).filter(([e,t])=>e.includes("mobian")&&null!=t).map(([e,t])=>[e,Array.isArray(t)?t.join(","):t]));if(e){let{targeting:r="{}"}=e.dataset,n={...JSON.parse(decodeURIComponent(r)),...t&&{testads:t},...s};return o&&(n.sponsorshipTag=o),n}return{}}function G(e,t){let{testads:i=""}=(0,r.getQueryParams)(),{lazyLoad:o,enableSingleRequestMode:s,disableInitialLoad:a}=A;void 0===globalThis.window||E||(E=!0,globalThis.addEventListener("message",e=>{let t;if(e.origin!==globalThis.location.origin&&"https://tpc.googlesyndication.com"!==e.origin&&"https://securepubads.g.doubleclick.net"!==e.origin&&"https://googleads.g.doubleclick.net"!==e.origin||e.data?.type!=="GAM_NATIVE_DATA")return;let r=[...document.querySelectorAll("iframe")].find(t=>t.contentWindow===e.source);if(!r)return;let n=function(e){let t=e.parentElement;if(!t)return;let r=t.parentElement;if(r)return r.id||void 0}(r);n&&(w.add(n),D(n),(t=v.get(n))&&(t.timerId&&clearTimeout(t.timerId),v.delete(n)))})),S(()=>{let r;for(let e of v.keys())"string"==typeof e&&P(e);for(let e of w)P(e);for(let e of x.keys())P(e);globalThis.googletag.destroySlots();let c={...t,...i&&{[m.TEST]:i}};c.sponsorshipTag&&"string"==typeof c.sponsorshipTag&&(c.sponsorshipTag=h(c.sponsorshipTag)),globalThis.googletag.setConfig({disableInitialLoad:a,singleRequest:s}),I(c,{replace:!0}),o&&function(e=25,t=5,r=3){globalThis.googletag.setConfig({lazyLoad:{fetchMarginPercent:e,renderMarginPercent:t,mobileScaling:r}})}(),S(()=>{let t=0;for(let r of e)N(r),t+=+!r.id.includes("oop");I({[m.NUM_AD_SLOTS]:`${t}`})});let d=function(){let e=globalThis.localStorage?.getItem(n.TIME_ID_COOKIE_KEY);if(!e)return null;if(!l.default.get(n.TIME_ID_COOKIE_KEY)){let t=new Date(Date.now()+1e3*n.TIME_ID_MAX_AGE);l.default.set(n.TIME_ID_COOKIE_KEY,e,{path:"/",expires:t})}return e}();d&&globalThis.googletag.pubads().setPublisherProvidedId(d),globalThis.googletag.enableServices(),u(),(r=(R()??[]).filter(e=>(e.getAdUnitPath()||"").length>0)).length>0&&L(r),T||(T=!0,googletag.pubads().addEventListener("impressionViewable",function(e){let t=e.slot,r=t.getSlotElementId(),n=v.get(r);n?.timerId&&clearTimeout(n.timerId),w.has(r)||(v.set(r,{slot:t,elapsedTime:0,timerId:void 0,isRunning:!1,isSystemPaused:!1,slotRefreshCount:n?.slotRefreshCount??1}),function(e){if("string"!=typeof e)return;let t=document.querySelector(`#${e}`);if(!t)return;D(e);let r=new IntersectionObserver(([t])=>{t.isIntersecting?M(e):j(e)},{rootMargin:"200px 0px 200px 0px"});r.observe(t),x.set(e,r)}(r))})),C||(document.addEventListener("visibilitychange",F),C=!0)}),q()}let W=!1;function q(){W||"function"==typeof globalThis.__tcfapi&&(W=!0,globalThis.__tcfapi("addEventListener",2,e=>{e?.eventStatus!=="useractioncomplete"||globalThis.customKetchConsent?.behavioral_advertising!==!0&&(globalThis.localStorage?.removeItem(n.TIME_ID_COOKIE_KEY),l.default.remove(n.TIME_ID_COOKIE_KEY,{path:"/"}))}))}function $(e){S(()=>{let t=new Set(R().map(e=>e.getSlotElementId())),r=e.filter(e=>!t.has(e.id));if(r.length>0){for(let e of r)N(e);let e=R();I({[m.NUM_AD_SLOTS]:`${e.length}`,[m.AD_SLOT_COUNT]:`${e.length}`,[m.AD_SLOT_COUNT_MOBILE]:`${e.length}`}),L(e.filter(e=>!t.has(e.getSlotElementId())))}else{var n;n=e.map(e=>e.id),u(()=>{S(()=>{let e=R().filter(e=>n.includes(e.getSlotElementId()));if(e.length>0)for(let t of e)globalThis.googletag.display(t.getSlotElementId())})})}})}function V(e){S(()=>{let t=R();I({[m.NUM_AD_SLOTS]:`${t.length}`}),L(t.filter(t=>{let r=t.getSlotElementId();return e.includes(r)}))})}function J(e,t){S(()=>{let r=R(),n=new Set(e.map(e=>e.id)),i=new Set(t.map(e=>e.id)),o=r.filter(e=>!i.has(e.getSlotElementId()));if(o.length>0){for(let e of o)P(e.getSlotElementId());globalThis.googletag.destroySlots(o)}for(let t of e.filter(e=>!i.has(e.id)))N(t);let s=R();I({[m.NUM_AD_SLOTS]:`${s.length}`,[m.AD_SLOT_COUNT]:`${s.length}`,[m.AD_SLOT_COUNT_MOBILE]:`${s.length}`}),L(s.filter(e=>{let t=e.getSlotElementId();return n.has(t)&&!i.has(t)}))})}},305261,e=>{"use strict";var t=e.i(843476),r=e.i(815316),n=e.i(25667);let i={all:"flex",desktop:"hidden lg:flex",tablet:"hidden md:flex lg:hidden",mobile:"flex md:hidden","desktop-mobile":"flex md:hidden lg:flex","desktop-tablet":"hidden md:flex","mobile-tablet":"flex lg:hidden"};
8function o({id:e,display:s="all",className:a="",adSlotType:l="inline"}){let u;return(0,t.jsx)("div",{id:e,className:(0,r.cn)("flex min-h-px w-full min-w-px max-w-[100vw] items-center justify-center bg-transparent text-center print:hidden",e?.includes("inline-ad")?"":"overflow-hidden",((u=(Array.isArray(s)?s:[s]).filter(e=>"string"==typeof e)).sort(),i[3===u.length?"all":u.join("-")]),(0,n.getAdSlotMinHeight)(l),a),"aria-label":((e,t)=>{if("leaderboard"===e)return"Top Leaderboard Advertisement";if(!t)return"Advertisement";let[r,...n]=t.split(/[^\dA-Za-z]+/);return`${r} advertisement${n.length>0?" "+n.join(" "):""}`})(l,e),role:"region"})}e.s(["default",0,function({className:e="",...r}){return(0,t.jsx)(o,{className:e,...r})}])},802858,e=>{"use strict";var t=e.i(843476),r=e.i(305261),n=e.i(505489),i=e.i(815316),o=e.i(271645);e.s(["default",0,()=>{let e=(0,o.useRef)(null),s=(0,o.useRef)(null),[a,l]=(0,o.useState)(!1),[u,c]=(0,o.useState)(!1),d=(0,o.useMemo)(()=>!(a||u),[a,u]);return(0,o.useEffect)(()=>{let t=document.body.querySelector("FOOTER");t&&(e.current=t);let r=new IntersectionObserver(t=>{for(let r of t)r.target===e.current?l(r.isIntersecting):s.current&&r.target===s.current&&c(r.isIntersecting)},{threshold:0});e.current&&r.observe(e.current);let n=new MutationObserver(()=>{let e=document.querySelector("#taboola-below-article-thumbnails");e&&(s.current=e,n.disconnect(),r.observe(s.current))});return n.observe(document.body,{childList:!0,subtree:!0}),()=>{e.current&&r.unobserve(e.current),s.current&&r.unobserve(s.current),n.disconnect()}},[]),(0,t.jsx)("div",{className:(0,i.cn)("fixed bottom-0 z-[9998] flex max-h-14 w-full items-center justify-center bg-transparent",{hidden:!d}),children:(0,t.jsx)(r.default,{id:`${n.AD_SLOT_ID_STICKY_FOOTER}`,display:"mobile",adSlotType:"footer"})})}])},505489,94561,282389,e=>{"use strict";var t,r=e.i(963219);let n="leaderboard-ad-1",i="stickyfooter-ad-1",o="sponsorshiplogo1",s="rightrail-ad-1",a="rightrail-ad-2",l="inline-ad-",u="branded-content-inline-ad",c=[728,90],d=[970,250],h=[320,50],f=[300,50],p=[300,250],m=[336,280],g=[300,600],y=[8,1],b=[5,5],v="fluid",x={id:n,sizes:[[d,b,v],[h,f,b,v],[h,f,b,v]]},w={id:i,display:"mobile",sizes:[[],[],[h,f,v]]},E=[[c,p,v],[p,g,m,v],[p,g,m,b,v]],T=[[d,c,p,m,b,v],[c,p,m,b,v],[p,g,m,b,v]],C=[[d,c,p,m,b,v],[c,p,m,b,v],[p,g,m,b,v]],A={id:u,sizes:[[c,p,v],[c,p,v],[p,g,b,v]],refreshable:!0},R=[{id:s,display:"desktop",sizes:[[p,m,g,v],[],[]]},{id:a,display:"desktop",sizes:[[p,m,g,v],[],[]]}],S=[{id:s,display:"desktop",sizes:[[p,m,g,v],[],[]]},{id:a,display:"desktop",sizes:[[p,m,g,v],[],[]]}];var I=((t={}).ARTICLE="article",t.ARTICLE_COLLECTION="collection-article",t.ARTICLE_SINGLE_COLUMN="single-column-article",t.ARTICLE_VIDEO="video-article",t.ARTICLE_STANDARD="standard-article",t.ARTICLE_EXCLUSIVE="exclusive-article",t.ARTICLE_GALLERY="gallery",t.ARTICLE_LONGFORM="longform",t.ARTICLE_PARTNER="partner-article",t.BRANDED_CONTENT="branded-content",t.BRANDED_LANDING_PAGE="branded-content-landing-hub",t.AUTHOR="author",t.SECTION="section",t.SECTION_CHARTER="section-charter",t.TAG="tag",t.SEARCH="search",t.ARCHIVE="archive",t.MAGAZINE="magazine",t.SUBJECT="subject",t.COLLECTION="collectionhub",t.COLLECTION_ITEM="collectionitem",t.VIDEO_COLLECTION="video-collection",t.VIDEO_SHORTS="video-shorts",t.VIDEO_LANDING="video-landing",t.NEWSLETTER="newsletter",t.VAULT_LANDING="vault-landing",t.HOMEPAGE="homepage",t.PAGE="page",t.UNKNOWN="unknown",t.NOT_FOUND="404",t.CATEGORY="category",t.GAME="game",t);let _={article:[x],archive:[x],"partner-article":[x],"video-article":[x],page:[x],collectionhub:[],"vault-landing":[x],magazine:[x,w],"branded-content":[],"branded-content-landing-hub":[],collectionitem:[],homepage:[x,w],"video-shorts":[x,w],"video-landing":[x,w],newsletter:[w],category:[x,w,A,...S],404:[x,...S],game:[x,w,...R]},N={[r.ArticleTemplateType.StandardArticle]:[w,...R,A],[r.ArticleTemplateType.ExclusiveArticle]:[A]};function O(e){let t=e;return"string"!=typeof e?0:(t=(t=(t=t.replaceAll(/(^\s*)|(\s*$)/gi,"")).replaceAll(/ {2,}/gi," ")).replace(/\n /,"\n")).length}function k(e,t=!1){return{__typename:r.ContentBlockNames.AD,id:e,native:t,sizes:[],attributes:[{name:"id",value:`${e}`},{name:"native",value:`${t}`}]}}e.s(["ADS_TO_SHOW_AFTER_HUB_POSTS",0,6,"AD_CTYPE_ARTICLE_MAP",0,N,"AD_SIZE_CUSTOM_OOP",0,[1,1],"AD_SIZE_CUSTOM_SPONSORSHIP_LOGO",0,y,"AD_SIZE_FLUID",0,v,"AD_SIZE_HALF_PAGE",0,g,"AD_SIZE_LARGE_RECTANGLE",0,m,"AD_SIZE_MEDIUM_RECTANGLE",0,p,"AD_SLOTS_DEFAULT",0,[],"AD_SLOT_ID_BRANDED_CONTENT_INLINE",0,u,"AD_SLOT_ID_INLINE_PREFIX",0,l,"AD_SLOT_ID_LEADERBOARD",0,n,"AD_SLOT_ID_RIGHT_RAIL_1",0,s,"AD_SLOT_ID_RIGHT_RAIL_2",0,a,"AD_SLOT_ID_SPONSORSHIP_LOGO",0,o,"AD_SLOT_ID_SPONSORSHIP_LOGO_PREFIX",0,"sponsorshiplogo-ad-","AD_SLOT_ID_STICKY_FOOTER",0,i,"AD_SLOT_LEADERBOARD",0,x,"AD_SLOT_MAP",0,_,"AD_SLOT_SPONSORSHIP_LOGO",0,{id:o,sizes:[y],refreshable:!1},"AD_SLOT_STICKY_FOOTER",0,w,"AD_SLOT_TYPES",0,["leaderboard","inline","rightrail","stickyfooter","oop","sponsorshiplogo"],"COLLECTION_HUB_LAZY_LOAD_BATCH_SIZE",0,50,"COLLECTION_HUB_LAZY_LOAD_THRESHOLD",0,50,"ContentType",()=>I,"EACH_ROW_HUB_POSTS",0,3,"IAS_PUB_ID",0,"931641","INLINE_AD_SLOT_SIZES",0,E,"TIME_ID_COOKIE_KEY",0,"TimeID","TIME_ID_MAX_AGE",0,63072e3,"WIDE_INLINE_AD_SLOT_SIZES",0,T,"WIDE_INLINE_AD_SLOT_SIZES_WITH_5x5",0,C],505489),e.s(["countCharacters",0,O,"createDomId",0,function(e){return(e??"").normalize("NFKD").replaceAll(/\p{Diacritic}/gu,"").trim().toLowerCase().replaceAll(/[^\da-z]+/g,"-").replaceAll(/^-+|-+$/g,"")},"toIdFormat",0,function(e){return e.trim().toLowerCase().replaceAll(/[^\da-z]+/g,"_")},"toSnakeCase",0,function(e=""){if(!e||"string"!=typeof e)return"";let t=e.match(/[A-Z]{2,}(?=[A-Z][a-z]+\d*|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g);return t?t.map(e=>e.toLowerCase()).join("_"):""}],94561),r.ContentBlockNames.PULLQUOTE,r.ContentBlockNames.CUSTOM_PULLQUOTE,r.ContentBlockNames.INLINE_IMAGE,r.ContentBlockNames.INLINE_VIDEO,r.ContentBlockNames.STORY_SHOWCASE;let L={pointsBeforeFirstAd:650,minPointsBetweenAds:2e3,endOfBodyOffset:1,noNeighboringAdsContentItemList:[],contentItemAdValues:{[r.ContentBlockNames.COLLECTION_ITEM_PULLQUOTE]:301,[r.ContentBlockNames.COLLECTION_ITEM_CUSTOM_PULLQUOTE]:301,[r.ContentBlockNames.COLLECTION_ITEM_INLINE_IMAGE]:100,[r.ContentBlockNames.COLLECTION_ITEM_INLINE_VIDEO]:100,[r.ContentBlockNames.COLLECTION_ITEM_STORY_SHOWCASE]:301},adSlotOverrideMap:new Map,forceInjectEndOfBodyAd:!1}
8;function D(e){let t=0;if(["social-embeds","embed","reference"].includes(e.type??""))return 301;if(e.text&&(t+=O(e.text)),e.children&&Array.isArray(e.children))for(let r of e.children)t+=D(r);return t}function P(e,t={}){let{__typename:r=""}=e;return t[r]?t[r]:(e.html?.html?.json?.children||[]).reduce((e,t)=>e+D(t),0)}function M(e,t){return{...e,html:{...e.html,html:{...e.html?.html,json:{...e.html?.html?.json,children:t}}}}}r.ArticleType.PARTNER_ARTICLE,r.ArticleType.ARCHIVE,r.ContentBlockNames.INLINE_RECIRC,e.s(["getArticleInjectedAdSlots",0,function(e,t){return e.filter(e=>e.__typename===r.ContentBlockNames.AD&&!e.native).map(({id:e})=>({id:e,sizes:t===r.ArticleTemplateType.ExclusiveArticle?T:E}))},"injectCollectionItemAds",0,function(e,t=1){let{pointsBeforeFirstAd:n,minPointsBetweenAds:i,contentItemAdValues:o,endOfBodyOffset:s,noNeighboringAdsContentItemList:a,forceInjectEndOfBodyAd:u,adSlotOverrideMap:c}=L,d=e?.blocks||[],{disable_ads:h=!1}=e?.advertising||{};if(h)return{blocks:d||[],count:0};let f=[],p=0,m=0,g=t,y=!1,b=e=>y&&e>=i||!y&&e>=n,v=(e="",t)=>t<=d.length-1-s&&!a.includes(e)&&!a.includes(d[t+1]?.__typename||""),x=e=>d.slice(e).reduce((e,t)=>e+P(t,o),0),w=(e=f)=>{y||(y=!0);let t=c.get(m);void 0===t&&(t=k(`${l}${g}`),g+=1),e.push(t),m+=1,p=0};for(let[e,t]of d.entries()){let{__typename:n=""}=t,s=x(e+1);if(n===r.ContentBlockNames.COLLECTION_ITEM_HTML){let{newBlocks:e,finalPointCount:r}=function(e,t,r,n,i){let o=e.html?.html?.json?.children||[],s=[];if(o.length<=1)return{newBlocks:[e],finalPointCount:t+o.reduce((e,t)=>e+D(t),0)};let a=[],l=0,u=t;for(let t=0;t<o.length;t++){let c=o[t],d=D(c);u+=d,l+=d,a.push(c);let h=o.slice(t+1).reduce((e,t)=>e+D(t),0);r(u)&&t<o.length-1&&l>6&&(!i||i(h))&&(s.push(M(e,a)),n(s),a=[],l=0,u=0)}return a.length>0&&s.push(M(e,a)),{newBlocks:s,finalPointCount:u}}(t,p,b,w,e=>e+s>i);f.push(...e),p=r}else{let e=P(t,o);p+=e,f.push(t)}b(p)&&v(n??"",e)&&x(e+1)>i&&p>6&&w()}return u&&g===t&&(f.push(k(`${l}${g}`)),g+=1),{blocks:f,count:g-t}}],282389)},25667,82490,841333,e=>{"use strict";e.s(["formatAdSlots",()=>y,"getAdSlotMinHeight",()=>A,"getArticleCType",()=>m,"getCollectionHubAdCount",()=>R,"getContentStackAdSettings",()=>E,"getEncodedParams",()=>w,"getPageLevelKeyVals",()=>S,"getQueryParams",()=>T,"getResolvedCollectionItemSponsorshipTag",()=>C,"getSectionStrings",()=>v,"getTagsList",()=>b,"getTagsListWithoutSpace",()=>x],25667),e.s(["BASE_AD_UNIT_PATH",()=>s,"INLINE_AD_PLUS",()=>l,"PREROLL_AD",()=>a,"default",()=>d,"updateInlineAds",()=>c],82490);var t=e.i(505489),r=e.i(94561),n=e.i(282389),i=e.i(374774),o=e.i(963219);let s="/21801468956/time",a="preroll",l="inline15_plus";function u(e,r){let{primarysection:i=""}=v(e),s=function(e,r){let i=e.__typename?.toLowerCase(),s=e?.categoryContentTypeName,a=e.advertising?.sponsor_tagConnection?.edges?.[0]?.node?.title,l=t.AD_SLOT_MAP[i]??[];s?.toLowerCase()===t.ContentType.AUTHOR&&(l=l.filter(e=>e.id!==t.AD_SLOT_ID_BRANDED_CONTENT_INLINE));let u=[...t.AD_SLOTS_DEFAULT,...l];switch(i){case t.ContentType.ARTICLE:case t.ContentType.ARTICLE_PARTNER:case t.ContentType.ARCHIVE:{let r=e.blocks||[];a&&(u=[...u,t.AD_SLOT_SPONSORSHIP_LOGO]);let i=e.display_options?.template??o.ArticleTemplateType.StandardArticle;u=[...u,...a?t.AD_CTYPE_ARTICLE_MAP[i].map(e=>e.id===t.AD_SLOT_ID_BRANDED_CONTENT_INLINE?{...e,slotLevelTargeting:{...e.slotLevelTargeting,sponsorshipTag:a}}:e):t.AD_CTYPE_ARTICLE_MAP[i],...(0,n.getArticleInjectedAdSlots)(r,i)];break}case t.ContentType.BRANDED_CONTENT:case t.ContentType.BRANDED_LANDING_PAGE:e.advertising?.display_leaderboard_ad&&(u=[...u,t.AD_SLOT_LEADERBOARD]);break;case t.ContentType.COLLECTION:{let n=e?.advertising?.sponsor_tagConnection?.edges?.[0]?.node?.title??"";u=[...u,...e?.advertising?.enable_leaderboard_ad?[t.AD_SLOT_LEADERBOARD]:[],...a||n?[t.AD_SLOT_SPONSORSHIP_LOGO]:[]];let i=r?.filteredCategories??[],o=[];for(let e of i.keys()){let t=R(i,e).totalAdCount;for(let r=0;r<t;r++){let t=i[e]?.sponsorshipTag||n;o.push(t)}}u=[...u,...i.map((e,r)=>{let i=e.sponsorshipTag||n;return{id:t.AD_SLOT_ID_SPONSORSHIP_LOGO_PREFIX+(r+1),sizes:[t.AD_SIZE_CUSTOM_SPONSORSHIP_LOGO],refreshable:!0,slotLevelTargeting:{...i&&{tag:i,sponsorshipTag:i}}}}),...o.map((e,r)=>({id:t.AD_SLOT_ID_INLINE_PREFIX+(r+1),sizes:t.WIDE_INLINE_AD_SLOT_SIZES,slotLevelTargeting:{...e&&{tag:e,sponsorshipTag:e}}}))]}break;case t.ContentType.COLLECTION_ITEM:{let i=r?.collectionHub,o=C(e,i);u=[...u,{...t.AD_SLOT_LEADERBOARD,slotLevelTargeting:{...o&&{tag:o,sponsorshipTag:o}}}];let s=r?.collectionList;s||(s=[e]);let a=[],l=1,c=1;for(let e of s){let r=C(e,i),o=!e.advertising?.disable_ads,{count:s}=(0,n.injectCollectionItemAds)(e),u=o?s+1:s,d=e.system?.uid??"";r&&o&&(a.push({id:t.AD_SLOT_ID_SPONSORSHIP_LOGO_PREFIX+c,sizes:[t.AD_SIZE_CUSTOM_SPONSORSHIP_LOGO],refreshable:!0,slotLevelTargeting:{tag:r,sponsorshipTag:r,...d&&{cid:d,aid:d}}}),c+=1),a.push(...Array.from({length:u}).map((e,n)=>({id:t.AD_SLOT_ID_INLINE_PREFIX+(n+l),sizes:t.WIDE_INLINE_AD_SLOT_SIZES,slotLevelTargeting:{...r&&{tag:r,sponsorshipTag:r},...d&&{cid:d,aid:d}}}))),l+=u}u=[...u,...a,...i?.advertising?.enable_mobile_sticky_ad?[{...t.AD_SLOT_STICKY_FOOTER,slotLevelTargeting:{...o&&{tag:o,sponsorshipTag:o}}}]:[]]}break;case t.ContentType.CATEGORY:{let e=r?.isCuratedLayout,n=e?2:1;u=[...u,...e?[{id:t.AD_SLOT_ID_INLINE_PREFIX+1,sizes:t.WIDE_INLINE_AD_SLOT_SIZES_WITH_5x5}]:[],...Array.from({length:2}).map((e,r)=>({id:t.AD_SLOT_ID_INLINE_PREFIX+(r+n),display:"mobile",sizes:[[],[],[t.AD_SIZE_MEDIUM_RECTANGLE,t.AD_SIZE_HALF_PAGE,t.AD_SIZE_LARGE_RECTANGLE,t.AD_SIZE_FLUID]]}))];break}case t.ContentType.HOMEPAGE:{let r=e||{},n=0;r.your_brief&&(n+=1),r.story_showcase&&(n+=1),(r.people?.length??0)>0&&(n+=1),n+=1,(n+=r.sections?.length??0)>0&&(u=[...u,...Array.from({length:n},(e,r)=>({id:`${t.AD_SLOT_ID_INLINE_PREFIX}${r+1}`,sizes:t.WIDE_INLINE_AD_SLOT_SIZES}))]);break}case t.ContentType.VAULT_LANDING:u=[...u,...Array.from({length:3+(e.cover_carousel_no_filters?.length??0)},(e,r)=>({id:`${t.AD_SLOT_ID_INLINE_PREFIX}${r+1}`,sizes:t.WIDE_INLINE_AD_SLOT_SIZES}))];break;case t.ContentType.MAGAZINE:u=[...u,...Array.from({length:(e.legacy_content?.filter(Boolean).length??0)>0||e.articlesConnection?.edges?.some(e=>!!e?.node)?2:1},(e,r)=>({id:`${t.AD_SLOT_ID_INLINE_PREFIX}${r+1}`,sizes:t.WIDE_INLINE_AD_SLOT_SIZES}))];break;case t.ContentType.VIDEO_LANDING:u=[...u,...function(e,r=t.WIDE_INLINE_AD_SLOT_SIZES){return Array.from({length:e},(e,n)=>({id:`${t.AD_SLOT_ID_INLINE_PREFIX}${n+1}`,sizes:r}))}(Number(r?.inlineAdCount??0))];break;case t.ContentType.NOT_FOUND:u=[...u,{id:t.AD_SLOT_ID_INLINE_PREFIX+1,sizes:t.WIDE_INLINE_AD_SLOT_SIZES_WITH_5x5},...Array.from({length:2}).map((e,r)=>({id:t.AD_SLOT_ID_INLINE_PREFIX+(r+2),display:"mobile",sizes:[[],[],[t.AD_SIZE_MEDIUM_RECTANGLE,t.AD_SIZE_HALF_PAGE,t.AD_SIZE_LARGE_RECTANGLE,t.AD_SIZE_FLUID]]}))]}return u}(e,r),a=[...y(s,i)];return{pageLevelTargeting:function(e,r){let{system:{uid:n}={},__typename:i,primary_topic:s,topics:a,advertising:l,cid:u,aid:c}=e,{sponsor_tagConnection:d}=l??{},h=i?.toLowerCase(),f=h===t.ContentType.COLLECTION_ITEM?"":d?.edges?.[0]?.node?.title,{primarysection:p="",sections:g}=v(e),y=b([...s?[s]:[],...a||[],...f?[{title:f}]:[]]),w=function(e){let{__typename:r}=e,n=r?.toLowerCase();if(n===t.ContentType.ARTICLE||n===t.ContentType.ARTICLE_PARTNER||n===t.ContentType.COLLECTION_ITEM){let t=!!e.featured_media?.media_id||!!e.featured_media?.video,r=e.blocks?.some(e=>e?.__typename?.toLowerCase().includes("video"))??!1;return t||r}return!1}(e),E={type:h,ctype:h,contentType:h,cid:u??`${n}`,aid:c??`${n}`,primarysection:p,sections:g,tags:y,...f&&{sponsorshipTag:f},vidonpage:w?"true":"false",pageHostname:"https://time.com",adSlotCount:"",adSlotCountMobile:""};if(h===t.ContentType.ARTICLE){let t=m(e.display_options?.template??o.ArticleTemplateType.StandardArticle);E.ctype=t,E.subType=t}else if(h===t.ContentType.CATEGORY){E.type=t.ContentType.SECTION,E.ctype=t.ContentType.SECTION;let{primarysection:r=""}=v(e,"-");E.primarysection=r,E.sections=r,E.tags=x([s]);let n=e.categoryContentTypeName;n&&(E.categoryContentTypeName=n)}let{desktopAdCount:T,mobileAdCount:C}=function(e){let t=0,r=0;
8for(let n of e)switch(n.display){case"desktop":t+=1;break;case"mobile":r+=1;break;default:t+=1,r+=1}return{desktopAdCount:t,mobileAdCount:r}}(r);return E.adSlotCount=T.toString(),E.adSlotCountMobile=C.toString(),E}(e,s),adSlots:a}}function c(e,r,n=!1){let{adSlots:o}=u(e,r),s=o.filter(e=>e.id.includes(t.AD_SLOT_ID_INLINE_PREFIX)||!e.id.includes(t.AD_SLOT_ID_SPONSORSHIP_LOGO)&&e.id.includes(t.AD_SLOT_ID_SPONSORSHIP_LOGO_PREFIX)),a=o.filter(e=>e.id.includes(t.AD_SLOT_ID_LEADERBOARD)||e.id.includes(t.AD_SLOT_ID_SPONSORSHIP_LOGO));n?(0,i.reloadAds)(o,a):(0,i.updateAds)(s)}let d=u;var h=e.i(675792);function f(e){var r,n;let i,s,a;return e.__typename===o.ContentStackTypename.BrandedContent?{...r=e,__typename:t.ContentType.BRANDED_CONTENT,advertising:{...r.advertising,disable_ads:!1,disable_taboola:!0},primary_section:void 0,primary_topic:void 0,topics:[],sections:[],people:[]}:e.__typename===o.ContentStackTypename.PartnerArticle?(i=(n=e).taxonomy,s=i?.partner_tagConnection?.edges?.[0]?.node??void 0,a=i?.additional_partner_tagsConnection?.edges?.map(e=>
8e?.node).filter(Boolean)??[],{...n,__typename:t.ContentType.ARTICLE_PARTNER,primary_topic:s,topics:a}):{...e,primary_section:e.taxonomy?.primary_sectionConnection?.edges?.[0]?.node,primary_topic:e.taxonomy?.primary_topicConnection?.edges?.[0]?.node,topics:e.taxonomy?.topicsConnection?.edges?.map(e=>e?.node).filter(Boolean)||[],sections:e.taxonomy?.sectionsConnection?.edges?.map(e=>e?.node).filter(Boolean)||[],people:e.taxonomy?.peopleConnection?.edges?.map(e=>e?.node).filter(Boolean)||[]}}function p(e){return{...e,primary_section:e.taxonomy?.primary_sectionConnection?.edges?.[0]?.node,primary_topic:e.taxonomy?.primary_topicConnection?.edges?.[0]?.node,topics:e.taxonomy?.topicsConnection?.edges?.map(e=>e?.node).filter(Boolean)||[],sections:e.taxonomy?.sectionsConnection?.edges?.map(e=>e?.node).filter(Boolean)||[],people:e.taxonomy?.peopleConnection?.edges?.map(e=>e?.node).filter(Boolean)||[]}}function m(e){switch(e){case o.ArticleTemplateType.StandardArticle:return t.ContentType.ARTICLE_STANDARD;case o.ArticleTemplateType.ExclusiveArticle:return t.ContentType.ARTICLE_EXCLUSIVE;default:return t.ContentType.ARTICLE_STANDARD}}function g(e){if(!Array.isArray(e))return[];let r=[...e];return 0===r.length?[]:r.every(e=>
8("string"!=typeof e||e!==t.AD_SIZE_FLUID)&&(!Array.isArray(e)||2!==e.length))?[[...r],t.AD_SIZE_CUSTOM_OOP]:[...r,t.AD_SIZE_CUSTOM_OOP]}function y(e,r){return e.map(e=>{var n;let i;return{...e,sizes:Array.isArray(e.sizes)?e.sizes.map(e=>g(e)):g(e.sizes),adUnitPath:(n=e.id,i="","homepage"===r?i="/home":r&&(i="/"+r),`${s}${i}`+(t.AD_SLOT_TYPES.some(e=>n.includes(e))?`/${function(e=""){let t=new RegExp(/inline-ad-(\d+)/i).exec(e),r=new RegExp(/preroll-ad-\d+/i).exec(e);return t&&Number.parseInt(t[1])>15?l:r?a:e.replace(/-ad-/i,"")}(n)}`:"")),slotLevelTargeting:{...e.slotLevelTargeting}}})}function b(e=[]){return[...new Set(e.filter(Boolean).map(e=>"string"==typeof e?e:(0,h.removeLeadingSlash)((0,r.toSnakeCase)(e?.title??""))))]}function v(e,t=""){let{primary_section:r,sections:n}=e,i=/[^\dA-Za-z]|time-section-/g;return{primarysection:r?.title?.toLowerCase().replaceAll(i,t),sections:Array.isArray(n)?n.map(({title:e=""})=>e?.toLowerCase().replaceAll(i,t)).join(","):""}}function x(e=[]){return[...new Set(e.filter(Boolean).map(e=>"string"==typeof e?e:e?.url??e?.title?.toLowerCase().replaceAll(/[^\dA-Za-z]/g,"")??""))]}function w(e){return encodeURIComponent(decodeURIComponent(e.toString()))}function E(e){let t=e.advertising;return{disableAds:!!t?.disable_ads,disableTaboola:!!t?.disable_taboola,disableSponsorships:!t?.sponsor_tagConnection?.edges?.length}}function T(e=globalThis.location.search){return Object.fromEntries(new URLSearchParams(e))}function C(e,t){let r=e.advertising?.sponsor_tagConnection?.edges?.[0]?.node?.title;if(r?.trim())return r.trim();let n=function(e,t=[]){for(let r of t){let t=r?.itemsConnection?.edges;if(t&&Array.isArray(t)&&t.some(t=>t?.node?.url===e))return r?.category_sponsorship_tagConnection?.edges?.[0]?.node?.title}return null}(e.url??"",t?.categories?.filter(Boolean)??[]);if(n?.trim())return n.trim();let i=t?.advertising?.sponsor_tagConnection?.edges?.[0]?.node?.title;return i?.trim()||void 0}e.s(["mapArticleToContentStackAdPage",0,f,"mapCollectionItemToContentStackAdPage",0,p],841333);let A=(e="inline")=>{let t={leaderboard:"min-h-[90px] md:min-h-[50px]",inline:"min-h-[250px] md:min-h-[250px]",sponsorship:"min-h-[50px] md:min-h-[90px]",sidebar:"min-h-[250px]",footer:"min-h-[90px] md:min-h-[50px]"};return t[e]||t.inline};function R(e,r){var n;let i=!Number.isFinite(n=e[r]?.groupPosts.length??0)||n<=0?0:Math.floor(n/t.ADS_TO_SHOW_AFTER_HUB_POSTS)+ +(n%t.ADS_TO_SHOW_AFTER_HUB_POSTS>t.EACH_ROW_HUB_POSTS);if(0===r)return{totalAdCount:i,inlineAdCount:i,needsAdditionalAd:!1};let o=!(R(e,r-1).totalAdCount>0)&&0===i;return{totalAdCount:i+ +!!o,inlineAdCount:i,needsAdditionalAd:o}}function S(e){let r=e;switch(e.__typename?.toLowerCase()){case t.ContentType.ARTICLE:case t.ContentType.BRANDED_CONTENT:case t.ContentType.ARTICLE_PARTNER:r=f(e);break;case t.ContentType.COLLECTION_ITEM:r=p(e)}let{pageLevelTargeting:n}=d(r);return{...Object.fromEntries(Object.entries(n).map(([e,t])=>[e,Array.isArray(t)?t.join(","):t]))}}},932595,e=>{"use strict";e.s(["scheduleIdle",0,function(e,t=2e3){if(void 0===globalThis.window)return()=>{};if("function"==typeof globalThis.requestIdleCallback){let r=globalThis.requestIdleCallback(()=>e(),{timeout:t});return()=>globalThis.cancelIdleCallback?.(r)}let r=globalThis.setTimeout(e,0);return()=>globalThis.clearTimeout(r)}])},988509,e=>{"use strict";var t=e.i(963219);e.s(["PLATFORMS",0,{instagram:()=>({endpointURL:"https://www.instagram.com/embed.js"}),facebook:()=>({endpointURL:""}),vimeo:()=>({endpointURL:""}),tiktok:e=>({endpointURL:`https://www.tiktok.com/oembed?url=${e}`}),twitter:()=>({endpointURL:"https://platform.twitter.com/widgets.js",extraClass:"[&>iframe]:w-full"}),youtube:()=>({endpointURL:""}),datawrapper:e=>({endpointURL:`https://api.datawrapper.de/v3/oembed?format=json&url=${encodeURIComponent(e)}&iframe=true`}),reddit:()=>({endpointURL:"https://embed.redditmedia.com/widgets/platform.js",extraClass:"[&>iframe]:w-full"}),pinterest:()=>({endpointURL:"https://assets.pinterest.com/js/pinit.js",extraClass:"[&>iframe]:aspect-[0.45] [&>iframe]:w-full h-full max-w-[400px] m-auto"}),"omny-studio":e=>({endpointURL:`https://omny.fm/oembed?url=${e}`})},"detectProvider",0,e=>{try{let r=new URL(e).hostname.replace(/^www\./,"");if(r.endsWith("instagram.com"))return t.SocialMediaPlatforms.INSTAGRAM;if(r.endsWith("facebook.com"))return t.SocialMediaPlatforms.FACEBOOK;if(r.endsWith("vimeo.com"))return t.SocialMediaPlatforms.VIMEO;if(r.endsWith("youtube.com")||r.endsWith("youtu.be"))return t.SocialMediaPlatforms.YOUTUBE;if(r.endsWith("tiktok.com"))return t.SocialMediaPlatforms.TIKTOK;if(r.endsWith("twitter.com")||r.endsWith("x.com"))return t.SocialMediaPlatforms.TWITTER;if(r.endsWith("reddit.com"))return t.SocialMediaPlatforms.REDDIT;if(r.endsWith("pinterest.com")||r.endsWith("pin.it"))return t.SocialMediaPlatforms.PINTEREST;if(r.endsWith("dwcdn.net"))return t.SocialMediaPlatforms.DATAWRAPPER;if(r.endsWith("omny.fm")||r.endsWith("omnycontent.com"))return t.SocialMediaPlatforms.OMNYSTUDIO;return""}catch{return""}}])},822399,e=>{"use strict";var t=e.i(843476),r=e.i(824207),n=e.i(273361),i=e.i(271645),o=e.i(238785),s=e.i(964498);e.s(["default",0,e=>{let{cropOptions:a,mobileCropOptions:l,style:u,ref:c,...d}=e,h=(0,i.useRef)(null),f="object"==typeof c&&null!==c?c:h,[p,m]=(0,i.useState)("");return(0,r.default)(f,e=>{let t=matchMedia(o.mobileImageMediaQuery).matches&&l?l:a,{inlineSize:r,blockSize:i}=e[0].contentBoxSize[0],u=(0,n.getCroppedDimensions)({width:t?.originalWidth??0,height:t?.originalHeight??0},{value:[r,i]});if(t){let e="number"==typeof t?.originalWidth&&"number"==typeof t?.focalPointX?(0,s.range)(100,0,0,100,(0,n.translateFocalPointToCssPosition)(t?.originalWidth,u.width,t?.focalPointX)):void 0,r="number"==typeof t?.originalHeight&&"number"==typeof t?.focalPointY?(0,n.translateFocalPointToCssPosition)(t?.originalHeight,u.height,t?.focalPointY):void 0;m(`${e}% ${r}%`)}else m("")}),(0,t.jsx)("img",{...d,ref:f,style:{...u,objectPosition:p}})}])},285385,e=>{"use strict";var t=e.i(843476),r=e.i(815316),n=e.i(273361),i=e.i(155263),o=e.i(238785),s=e.i(822399);e.s(["default",0,({src:e,cropOptions:a,mobileSrc:l,mobileCropOptions:u,alt:c,className:d,width:h,height:f,showFallback:p=!0,ref:m,pictureClassName:g,...y})=>{let b=(0,r.cn)("h-auto w-full",{"absolute inset-0 h-full w-full ":y.fill},a&&`object-cover ${(0,i.getAspectRatioClassNames)(a?.aspectRatio,u?.aspectRatio)}`,d),v=!e&&!l,x=(0,o.getFallbackImage)(p,a?.aspectRatio),w=(0,o.getFallbackImage)(p,u?.aspectRatio??a?.aspectRatio),E=(0,n.getTimeImageProps)({src:v?x.src:e||l||"",alt:v?x.alt:c||"",className:b,width:y.fill?void 0:h||x.width,height:y.fill?void 0:f||x.height,...y},a).props,T=(0,n.getTimeImageProps)({src:v?w.src:l||e||"",alt:v?w.alt:c||"",className:b,width:y.fill?void 0:h||w.width,height:y.fill?void 0:f||w.height,...y},u??a).props,C=l||JSON.stringify(u)!==JSON.stringify(a),A=a?.aspectRatio?void 0:a,R=C?u?.aspectRatio?void 0:u
8:A;return(0,o.cleanImageProps)(E),(0,t.jsxs)("picture",{className:g,children:[C&&(T.srcSet||T.src)&&(0,t.jsx)("source",{media:o.mobileImageMediaQuery,srcSet:T.srcSet||T.src,sizes:T.sizes,height:T.height,width:T.width}),A||R?(0,t.jsx)(s.default,{cropOptions:A,mobileCropOptions:R,...E,ref:m}):(0,t.jsx)("img",{ref:m,...E})]})}])},888426,e=>{"use strict";var t=e.i(843476);e.s(["ChevronRight",0,({size:e="0.75rem",className:r,color:n="currentColor",alt:i,...o})=>(0,t.jsxs)("svg",{className:r,width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[(0,t.jsx)("title",{children:i}),(0,t.jsx)("path",{d:"M9.5 20.5L18 12L9.5 3.5",stroke:n,strokeWidth:"1.2",strokeLinecap:"square"})]})])},26094,e=>{"use strict";var t=e.i(843476);e.s(["CloseIcon",0,({size:e="1rem",className:r,color:n="currentColor",alt:i,strokeWidth:o="1.5",...s})=>(0,t.jsxs)("svg",{className:r,width:e,height:e,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s,children:[(0,t.jsx)("title",{children:i}),(0,t.jsx)("path",{d:"m9 9-6-6",stroke:n,strokeWidth:o,strokeLinecap:"square",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"m9 3-6 6",stroke:n,strokeWidth:o,strokeLinecap:"square",strokeLinejoin:"round"})]})])},291633,e=>{"use strict";var t=e.i(843476);e.s(["PlusIcon",0,({size:e="1.5rem",className:r,color:n="currentColor",alt:i,...o})=>(0,t.jsxs)("svg",{className:r,width:e,height:e,viewBox:"0 0 24 24",fill:n,xmlns:"http://www.w3.org/2000/svg",...o,children:[(0,t.jsx)("title",{children:i}),(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{id:"Line",d:"M4.5 12H19.5",stroke:n,strokeWidth:"1.2",strokeLinecap:"square",strokeLinejoin:"round"}),(0,t.jsx)("path",{id:"Line Copy",d:"M12 19.5V4.5",stroke:n,strokeWidth:"1.2",strokeLinecap:"square",strokeLinejoin:"round"})]})]})])},160421,e=>{"use strict";var t=e.i(843476);e.s(["TimeLogo",0,({className:e,color:r="white",alt:n,...i})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"71",height:"21",viewBox:"0 0 71 21",fill:r,className:e,...i,children:[(0,t.jsx)("title",{children:n}),(0,t.jsxs)("g",{clipPath:"url(#clip0_5035_44915)",children:[(0,t.jsx)("path",{d:"M7.71318 1.92829L5.65598 1.91733H2.46648C2.24787 1.91733 0.538211 1.93377 0.538211 1.93377L0.504579 4.3553L0.190674 4.36626L0.20749 1.64888L0.196279 0.53125C1.28374 0.575079 5.20754 0.60795 9.2827 0.60795C14.0305 0.60795 17.0911 0.564121 18.2963 0.536729L18.2794 1.77489L18.3019 4.52514L17.9767 4.51966C17.9767 4.29504 17.9263 3.38559 17.9263 3.29246C17.9263 3.25958 17.859 2.03786 17.8478 1.94472L16.4857 1.92829H10.841V18.879C10.841 18.9009 10.869 19.9912 10.8746 20.2158C11.0316 20.2377 12.5451 20.3254 12.8197 20.3254H12.9262V20.7856C12.8422 20.7856 12.7413 20.791 12.6572 20.791C11.7995 20.7801 10.4094 20.6924 9.42284 20.6924C8.43628 20.6924 7.07976 20.7746 6.07078 20.791C6.04276 20.791 5.83535 20.7856 5.75688 20.7856V20.2925C5.76809 20.2925 5.82975 20.2925 5.92504 20.287C6.35105 20.2706 7.40488 20.2103 7.67954 20.1884L7.72439 20.1829V18.7311L7.71318 1.92829Z",fill:r}),(0,t.jsx)("path",{d:"M33.8854 0.503906C33.8854 0.503906 35.4213 4.67311 35.668 5.28671C35.9202 5.89483 40.612 16.4466 40.612 16.4466C40.612 16.4466 42.8149 11.8994 44.7768 7.02342C45.1748 6.03727 45.6961 4.74981 46.0773 3.7034C46.6378 2.17487 47.26 0.503906 47.26 0.503906H48.4652C48.4652 0.503906 48.7623 2.36662 48.8688 3.19937C49.1771 5.61542 51.1951 15.4276 51.9013 18.6544C52.0807 19.4598 52.2152 20.1611 52.2152 20.1611C52.4226 20.172 53.241 20.2432 53.7231 20.2816C53.824 20.2871 54.0931 20.3035 54.1547 20.3035V20.7911C54.1547 20.7911 53.9361 20.8021 53.8128 20.802
81C52.7309 20.7966 51.0437 20.7089 50.0067 20.7089C49.0818 20.7089 48.1905 20.7801 47.2656 20.7966C47.1087 20.8021 46.9517 20.7911 46.7892 20.7911V20.309C46.7948 20.309 46.9181 20.3035 46.9854 20.3035C47.4394 20.2871 48.6334 20.183 48.7567 20.1775C48.7567 20.0022 48.6894 19.3886 48.5941 18.764C48.5269 18.3257 48.4148 17.5697 48.2914 16.8301C48.028 15.3892 46.806 9.4066 46.4472 7.74659C46.3856 7.47266 46.352 7.31926 46.352 7.31926C46.352 7.31926 42.5739 15.7892 41.8115 17.4601C41.7387 17.6245 41.6826 17.7395 41.6658 17.7779C40.9371 19.3831 40.3261 20.8185 40.3261 20.8185L39.2499 20.813L33.3641 7.58223L33.224 7.27543C33.224 7.27543 32.7083 9.75723 31.9684 13.2526C31.576 15.1427 30.7632 19.8707 30.7072 20.183C31.178 20.2432 32.0973 20.309 32.3496 20.3035H32.5794V20.7801C32.4729 20.7911 32.2318 20.7966 32.2206 20.7966C31.3294 20.7801 30.6903 20.7199 29.7318 20.7199C29.4796 20.7199 28.1455 20.7801 27.6746 20.7966C27.4784 20.8021 27.2038 20.7856 27.1477 20.7856V20.3145C27.1925 20.3145 27.2878 20.298 27.3439 20.298C27.7699 20.2816 28.4201 20.2268 28.9751 20.1611C29.0199 19.931 29.4964 17.5971 29.6533 16.7698C30.2419 14.036 31.974 4.90869 32.1926 3.67601C32.3832 2.34471 32.6018 0.695657 32.6242 0.509385C33.0895 0.520342 33.8854 0.503906 33.8854 0.503906Z",fill:r}),(0,t.jsx)("path",{d:"M26.065 20.8028C25.269 20.8028 23.9125 20.6878 22.8979 20.6878C21.8833 20.6878 20.5324 20.8028 19.5515 20.8028C19.4674 20.8028 19.3216 20.7864 19.2432 20.7864V20.3043C19.4337 20.2988 20.3026 20.233 20.5436 20.2166C20.8239 20.2002 21.0873 20.1837 21.2051 20.1509C21.2051 20.1509 21.2051 19.5701 21.2107 18.6716C21.2219 15.5598 21.2443 6.77217 21.2107 2.79472C21.2051 2.37286 21.2051 1.31002 21.2051 1.15662C21.0201 1.14018 20.7622 1.11827 20.5829 1.09635C20.353 1.0854 19.4057 1.0087 19.2432 0.99774L19.2375 0.515625C20.1793 0.515625 21.575 0.597804 22.7073 0.597804C23.8396 0.597804 25.2578 0.515625 26.3677 0.515625V1.01965C26.1939 1.03061 25.7623 1.05253 25.7511 1.05253C25.426 1.07992 24.5235 1.16758 24.2993 1.18401V2.72897C24.2993 6.29005 24.2937 15.6091 24.2937 18.7429V19.7619C24.2937 20.0029 24.2937 20.1454 24.2993 20.1563C24.3049 20.1728 24.871 20.2221 25.0056 20.2276C25.2578 20.2495 26.2892 20.2933 26.3172 20.2988H26.3845V20.7809C26.2948 20.7864 26.1322 20.8028 26.065 20.8028Z",fill:r}),(0,t.jsx)("path",{d:"M59.8706 1.97217L59.865 9.94898L65.7227 9.96542C65.7507 9.96542 67.2754 9.92159 67.309 9.92707C67.4043 9.92707 68.4469 9.87228 68.4862 9.86133C68.4862 9.86133 68.503 9.77915 68.5254 9.71888C68.6095 9.23677 68.716 8.77657 68.744 8.42046C68.744 8.42046 68.7721 8.26706 68.7721 8.16296L69.1028 8.15749C69.1028 8.19584 69.1196 8.28897 69.1196 8.41498C69.114 8.89709 69.0747 9.8942 69.0747 10.5461C69.0747 11.4885 69.1084 12.3376 69.114 12.765C69.1196 12.8855 69.1084 13.0827 69.1084 13.0827H68.744C68.7384 13.0389 68.7328 12.9896 68.7216 12.9403C68.6543 12.3979 68.6039 12.0144 68.5086 11.4611C68.5086 11.4337 68.4862 11.3351 68.4806 11.2693C68.2956 11.2584 67.8023 11.2419 67.5389 11.2364C67.4267 11.231 65.9974 11.2255 64.3886 11.22C63.7328 11.22 62.55 11.2474 62.0455 11.2474C61.457 11.2474 60.4872 11.2803 59.8538 11.3022L59.8594 18.5339L59.8874 19.4653L63.4413 19.5201L68.5086 19.5146C68.531 19.5146 69.6689 19.4762 70.0221 19.4817C70.0949 19.4817 70.2463 19.4708 70.2463 19.4708C70.2799 19.2352 70.3192 18.764 70.364 18.3093C70.3696 18.2545 70.4929 17.0547 70.4929 16.7315L70.8068 16.726C70.8068 17.0328 70.7396 20.8185 70.7396 20.8185C70.1678 20.8185 68.4189 20.8185 66.2496 20.7911C64.9379 20.7747 63.4749 20.7747 62.0343 20.7582C60.8628 20.7418 59.7081 20.7089 58.6542 20.7089C57.152 20.7089 55.6833 20.7966 55.1116 20.7966C54.9827 20.7966 54.7528 20.7856 54.7024 20.7856V20.309H54.8089C55.162 20.309 56.199 20.2542 56.7372 20.1665C56.7372 20.0734 56.7708 18.89 56.7708 18.8681V3.22128C56.7708 2.49811 56.754 1.29282 56.754 1.18325C56.4513 1.15038 56.3392 1.13394 56.2775 1.12299C55.9524 1.08464 55.3134 1.03533 54.9715 1.01341C54.8762 1.01341 54.7697 1.00246 54.7136 0.996979C54.7136 0.996979 54.7136 0.531299 54.708 0.520342C54.7865 0.525821 54.9434 0.514863 55.2349 0.514863C55.8403 0.514863 56.9502 0.597042 58.3067 0.597042C59.1587 0.597042 60.5377 0.558692 61.5242 0.547735C62.9312 0.547735 63.9962 0.536778 65.3583 0.531299C67.5837 0.520342 69.4783 0.503906 70.2239 0.503906H70.5602V0.629914C70.5602 0.777835 70.5546 1.04629 70.5546 1.36952C70.5602 2.37758 70.5882 3.96637 70.5882 4.48136H70.2743L70.2687 4.33891C70.2351 3.98281 70.16
878 2.9857 70.0837 2.14748C70.0781 2.07078 70.0613 2.016 70.0613 2.016C69.8763 2.01052 69.114 1.9886 69.1028 1.97764C69.0916 1.96669 68.4862 1.96121 68.4694 1.95573C68.4638 1.95573 66.4738 1.94477 64.4278 1.93929C63.0265 1.93929 61.6531 1.94477 60.8067 1.94477C60.6161 1.95025 59.8706 1.97217 59.8706 1.97217Z",fill:r})]}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_5035_44915",children:(0,t.jsx)("rect",{width:"70.6174",height:"20.3146",fill:r,transform:"translate(0.190674 0.504028)"})})})]})])},770562,e=>{"use strict";var t=e.i(843476),r=e.i(815316);let n=(0,e.i(271645).forwardRef)(({children:e,className:n,...i},o)=>(0,t.jsx)("div",{ref:o,className:(0,r.cn)("container mx-auto max-w-[90rem] px-6 lg:px-20 ",n),...i,children:e}));n.displayName="Container",e.s(["default",0,n])},220924,350529,e=>{"use strict";var t=e.i(843476),r=e.i(815316),n=e.i(271645);let i="ease-in-out motion-safe:duration-500";e.s(["headerMovementStyles",0,i,"navFrameGridStyles",0,"lg:px-20 xl:max-w-[calc(90rem_-_16px)] xl:px-[4.5rem]"],350529);var o=e.i(296088);let s={min:"header-page-intrusion-min",max:"header-page-intrusion-max",dynamic:"header-page-intrusion",none:"header-page-intrusion-none"},a=(0,n.forwardRef)((e,a)=>{let{className:l,attached:u=!0,position:c="sticky",distance:d="dynamic",...h}=e,f=(0,o.default)(),p=(0,n.useRef)(f);(0,n.useLayoutEffect)(()=>{p.current=f},[f]);let m=(0,n.useRef)(null),g=(0,n.useRef)(null);return(0,n.useImperativeHandle)(a,()=>m.current),(0,n.useLayoutEffect)(()=>{let e=m.current;if(!e)return;let t=e.style;if(g.current&&(g.current.commitStyles(),g.current.cancel()),p.current){t.position=u?c:"relative",t.top=u?`var(--${s[d]})`:"";return}let r=getComputedStyle(e).position,n=u?c:"relative";if(r!==n){let i=e.getBoundingClientRect();t.position=n,t.top=u?`var(--${s[d]})`:"",t.translate="";let o=e.getBoundingClientRect(),a=o.top-i.top,l=r===c?-(i.top+o.height):o.top+o.height,h=Math.abs(l)<Math.abs(a)?l<0?{translate:[`0 ${-a}px`,`0 ${-(a-l)}px`,"0 0"],offset:[0,1,1]}:{translate:[`0 ${-l}px`,"0 0"],offset:[0,1]}:{translate:[`0 ${-a}px`,"0 0"]};g.current=e.animate(h,{duration:500,easing:"ease-in-out"})}else u&&(t.top=`var(--${s[d]})`)},[u,d,c]),(0,t.jsx)("div",{ref:m,...h,className:(0,r.cn)([l,"will-change-[top]",i])})});a.displayName="HeaderAttachedContent",e.s(["default",0,a],220924)},198663,6443,e=>{"use strict";e.s(["PRE_NAV_CONTAINER",()=>r2,"default",()=>r5],198663);var t,r=e.i(843476),n=e.i(271645),i=e.i(815316),o=e.i(350529),s=e.i(571266),a=e.i(963219),l=e.i(824207);let u=e=>{let{blockSize:t}=(e=>{let[t,r]=(0,n.useState)({blockSize:0,inlineSize:0});return(0,l.default)(e,e=>{r(e[0].contentBoxSize[0])}),t})(e),r=(0,s.default)(t),i=t!==r,o=t>0&&!i;return{height:t,hasChanged:i,isReady:o}},c=({size:e="1rem",className:t,color:n="currentColor",alt:i,...o})=>(0,r.jsxs)("svg",{className:t,width:e,height:e,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[(0,r.jsx)("title",{children:i}),(0,r.jsx)("g",{id:"Magazine",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.9 7.4v-5.1h6.2v5.1zm0 0.9v1.2h6.2v-1.2zm-0.9 -0.15v-6a0.75 0.75 0 0 1 0.75 -0.75h7.25v9H2.75a0.75 0.75 0 0 1 -0.75 -0.75zm6 -3.75H4v-0.9h4zm-4 1.5h4v-0.9H4z",fill:n})})]});var d=e.i(19477),h=e.i(522016),f=e.i(160421),p=e.i(547209),m=e.i(700064);let g=(0,n.forwardRef)(({onClick:e,className:t,logoClass:n,...o},s)=>(0,r.jsx)(p.default,{ref:s,className:(0,i.cn)(t,m.focusClass),href:"/","aria-label":"Time Logo",onClick:e,children:(0,r.jsx)(f.TimeLogo,{className:n,...o})}));g.displayName="TimeLogo";var y=e.i(770562);let b=({id:e,title:t,className:n,titleClassName:o,children:s})=>(0,r.jsxs)("section",{className:(0,i.cn)("flex w-full flex-1 flex-col gap-3 px-6 py-4 lg:px-0 xl:max-w-[25%] xl:gap-6 xl:py-6",n),"aria-labelledby":e,children:[(0,r.jsx)("h2",{id:e,className:(0,i.cn)("font-graphik-compact text-t3 uppercase text-ivory-white",o),children:t}),s]});var v=e.i(285385),x=e.i(174080),w=Object.defineProperty,E=(e,t)=>w(e,"name",{value:t,configurable:!0});function T(e,t=[]){let i=[];function o(t,o){let s=n.createContext(o);s.displayName=t+"Context";let a=i.length;i=[...i,o];let l=E(t=>{let{scope:i,children:o,...l}=t,u=i?.[e]?.[a]||s,c=n.useMemo(()=>l,Object.values(l));return(0,r.jsx)(u.Provider,{value:c,children:o})},"Provider");function u(r,i,l={}){let{optional:c=!1}
8=l,d=i?.[e]?.[a]||s,h=n.useContext(d);if(h)return h;if(void 0!==o)return o;if(!c)throw Error(`\`${r}\` must be used within \`${t}\``)}return l.displayName=t+"Provider",E(u,"useContext"),[l,u]}E(o,"createContext");let s=E(()=>{let t=i.map(e=>n.createContext(e));return E(function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])},"useScope")},"createScope");return s.scopeName=e,[o,C(s,...t)]}function C(...e){let t=e[0];if(1===e.length)return t;let r=E(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return E(function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}E(function(e,t){let i=n.createContext(t);i.displayName=e+"Context";let o=E(e=>{let{children:t,...o}=e,s=n.useMemo(()=>o,Object.values(o));return(0,r.jsx)(i.Provider,{value:s,children:t})},"Provider");function s(r,o={}){let{optional:a=!1}=o,l=n.useContext(i);if(l)return l;if(void 0!==t)return t;if(!a)throw Error(`\`${r}\` must be used within \`${e}\``)}return o.displayName=e+"Provider",E(s,"useContext"),[o,s]},"createContext"),E(T,"createContextScope"),E(C,"composeContextScopes");var A=Object.defineProperty,R=(e,t)=>A(e,"name",{value:t,configurable:!0}),S=!!("u">typeof window&&window.document&&window.document.createElement);function I(e,t,{checkForDefaultPrevented:r=!0}={}){return R(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function _(e){if(!S)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function N(e){return"IFRAME"===e.tagName}R(I,"composeEventHandlers"),R(function(e){if(!S)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),R(_,"getOwnerDocument"),R(function e(t,r=!1){let{activeElement:n}=_(t);if(!n?.nodeName)return null;if(N(n)&&n.contentDocument)return e(n.contentDocument.body,r);if(r){let e=n.getAttribute("aria-activedescendant");if(e){let t=_(n).getElementById(e);if(t)return t}}return n},"getActiveElement"),R(N,"isFrame");var O=e.i(991918),k=Object.defineProperty,L=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let i=(0,O.createSlot)(`Primitive.${t}`),o=n.forwardRef((e,n)=>{let{asChild:o,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(o?i:t,{...s,ref:n})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function D(e,t){e&&x.flushSync(()=>e.dispatchEvent(t))}k(D,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0});var P=globalThis?.document?n.useLayoutEffect:()=>{},M=Object.defineProperty,j=n[" useEffectEvent ".trim().toString()],B=n[" useInsertionEffect ".trim().toString()];function U(e){if("function"==typeof j)return j(e);let t=n.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof B?B(()=>{t.current=e}):P(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}M(U,"name",{value:"useEffectEvent",configurable:!0});var F=Object.defineProperty,z=(e,t)=>F(e,"name",{value:t,configurable:!0}),H=n[" useInsertionEffect ".trim().toString()]||P;function G({prop:e,defaultProp:t,onChange:r=z(()=>{},"onChange"),caller:i}){let[o,s,a]=W({defaultProp:t,onChange:r}),l=void 0!==e,u=l?e:o;return[u,n.useCallback(t=>{if(l){let r=q(t)?t(e):t;r!==e&&a.current?.(r)}else s(t)},[l,e,s,a])]}function W({defaultProp:e,onChange:t}){let[r,i]=n.useState(e),o=n.useRef(r),s=n.useRef(t);return H(()=>{s.current=t},[t]),n.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,i,s]}function q(e){return"function"==typeof e}z(G,"useControllableState"),z(W,"useUncontrolledState"),z(q,"isFunction");var $=Symbol("RADIX:SYNC_STATE");z(function(e,t,r,i){let{prop:o,defaultProp:s,onChange:a,caller:l}=t,u=void 0!==o,c=U(a),d=[{...r,state:s}];i&&d.push(i);let[h,f]=n.useReducer((t,r)=>{if(r.type===$)return{...t,state:r.state};let n=e(t,r);return u&&!Object.is(n.state,t.state)&&c(n.state),n},...d),p=h.state,m=n.useRef(p);n.useEffect(()=>{m.current!==p&&(m.current=p,u||c(p))},[p,m,u]);let g=n.useMemo(()=>void 0!==o?{...h,state:o}:h,[h,o]);return n.useEffect(()=>{u&&!Object.is(o,h.state)&&f({type:$,state:o})},[o,h.state,u]),[g,f]},"useControllableStateReducer");var V=Object.defineProperty,J=(e,t)=>
8V(e,"name",{value:t,configurable:!0});function Y(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function K(...e){return t=>{let r=!1,n=e.map(e=>{let n=Y(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():Y(e[t],null)}}}}function Z(...e){return n.useCallback(K(...e),e)}J(Y,"setRef"),J(K,"composeRefs"),J(Z,"useComposedRefs");var X=Object.defineProperty,Q=n.createContext(void 0);function ee(e){let t=n.useContext(Q);return e||t||"ltr"}X(ee,"name",{value:"useDirection",configurable:!0});var et=Object.defineProperty,er=(e,t)=>et(e,"name",{value:t,configurable:!0});function en(e,t){return n.useReducer((e,r)=>t[e][r]??e,e)}er(en,"useStateMachine");var ei=er(e=>{let{present:t,children:r}=e,i=eo(t),o="function"==typeof r?r({present:i.isPresent}):n.Children.only(r),s=ea(i.ref,eu(o));return"function"==typeof r||i.isPresent?n.cloneElement(o,{ref:s}):null},"Presence");function eo(e){let[t,r]=n.useState(),i=n.useRef(null),o=n.useRef(e),s=n.useRef("none"),a=n.useRef(void 0),[l,u]=en(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return n.useEffect(()=>{"mounted"===l?(s.current=a.current??el(i.current),a.current=void 0):s.current="none"},[l]),P(()=>{let t=i.current,r=o.current;if(r!==e){let n=s.current,i=el(t);e?(a.current=i,u("MOUNT")):"none"===i||t?.display==="none"?u("UNMOUNT"):r&&n!==i?u("ANIMATION_OUT"):u("UNMOUNT"),o.current=e}},[e,u]),P(()=>{if(t){let e,r=t.ownerDocument.defaultView??window,n=er(n=>{let s=el(i.current).includes(CSS.escape(n.animationName));if(n.target===t&&s&&(u("ANIMATION_END"),!o.current)){let n=t.style.animationFillMode;t.style.animationFillMode="forwards",e=r.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=n)})}},"handleAnimationEnd"),a=er(e=>{e.target===t&&(s.current=el(i.current))},"handleAnimationStart");return t.addEventListener("animationstart",a),t.addEventListener("animationcancel",n),t.addEventListener("animationend",n),()=>{r.clearTimeout(e),t.removeEventListener("animationstart",a),t.removeEventListener("animationcancel",n),t.removeEventListener("animationend",n)}}u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:n.useCallback(e=>{if(e){let t=getComputedStyle(e);i.current=t,a.current=el(t)}else i.current=null;r(e)},[])}}function es(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function ea(...e){let t=n.useRef(e);return t.current=e,n.useCallback(e=>{let r=t.current,n=!1,i=r.map(t=>{let r=es(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<i.length;e++){let t=i[e];"function"==typeof t?t():es(r[e],null)}}},[])}function el(e){return e?.animationName||"none"}function eu(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}er(eo,"usePresence"),er(es,"setRef"),er(ea,"useStableComposedRefs"),er(el,"getAnimationName"),er(eu,"getElementRef");var ec=Object.defineProperty,ed=n[" useId ".trim().toString()]||(()=>void 0),eh=0;function ef(e){let[t,r]=n.useState(ed());return P(()=>{e||r(e=>e??String(eh++))},[e]),e||(t?`radix-${t}`:"")}ec(ef,"name",{value:"useId",configurable:!0});var ep=Object.defineProperty,em=(e,t)=>ep(e,"name",{value:t,configurable:!0});function eg(e){let t=e+"CollectionProvider",[i,o]=T(t),[s,a]=i(t,{collectionRef:{current:null},itemMap:new Map}),l=em(e=>{let{scope:t,children:i}=e,o=n.useRef(null),a=n.useRef(new Map).current;return(0,r.jsx)(s,{scope:t,itemMap:a,collectionRef:o,children:i})},"CollectionProvider");l.displayName=t;let u=e+"CollectionSlot",c=(0,O.createSlot)(u),d=n.forwardRef((e,t)=>{let{scope:n,children:i}=e,o=Z(t,a(u,n).collectionRef);return(0,r.jsx)(c,{ref:o,children:i})});d.displayName=u;let h=e+"CollectionItemSlot",f="data-radix-collection-item",p=(0,O.createSlot)(h),m=n.forwardRef((e,t)=>
8{let{scope:i,children:o,...s}=e,l=n.useRef(null),u=Z(t,l),c=a(h,i);return n.useEffect(()=>(c.itemMap.set(l,{ref:l,...s}),()=>void c.itemMap.delete(l))),(0,r.jsx)(p,{...{[f]:""},ref:u,children:o})});function g(t){let r=a(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])}return m.displayName=h,em(g,"useCollection"),[{Provider:l,Slot:d,ItemSlot:m},g,o]}em(eg,"createCollection");var ey=new WeakMap,eb=class e extends Map{static{em(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],ey.set(this,!0)}set(e,t){return ey.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,s=ew(e),a=s>=0?s:o+s,l=a<0||a>=o?-1:a;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,r),this;let u=this.size+ +!i;s<0&&a++;let c=[...this.#e],d=!1;for(let e=a;e<u;e++)if(a===e){let o=c[e];c[e]===t&&(o=c[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{d||c[e-1]!==t||(d=!0);let r=c[d?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=ev(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=ev(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return ev(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}};function ev(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=ex(e,t);return -1===r?void 0:e[r]}function ex(e,t){let r=e.length,n=ew(t),i=n>=0?n:r+n;return i<0||i>=r?-1:i}function ew(e){return e!=e||0===e?0:Math.trunc(e)}function eE(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n of r)if(!Object.prototype.hasOwnProperty.call(t,n)||e[n]!==t[n])return!1;return!0}function eT(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function eC(e,t){return e[1].element&&t[1].element?eT(e[1].element,t[1].element)?-1:1:0}function eA(e){return new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()})}function eR(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}em(ev,"at"),em(ex,"toSafeIndex"),em(ew,"toSafeInteger"),em(function(e){let t=e+"CollectionProvider",[i,o]=T(t),[s,a]=i(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new eb,setItemMap:em(()=>void 0,"setItemMap")}),l=em(({state:e,...t})=>e?(0,r.jsx)(c,{...t,state:e}):(0,r.jsx)(u,{...t}),"CollectionProvider");l.displayName=t;let u=em(e=>{let t=y();return(0,r.jsx)(c,{...e,state:t})},"CollectionInit");u.displayName=t+"Init";let c=em(e=>{let{scope:t,children:i,state:o}=e,a=n.useRef(null),[l,u]=n.useState(null),c=Z(a,u),[d,h]=o;return n.useEffect(()=>{if(!l)return;let e=eA(()=>{});return e.observe(l,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[l]),(0,r.jsx)(s,{scope:t,itemMap:d,setItemMap:h,collectionRef:c,collectionRefObject:a,collectionElement:l,children:i})},"CollectionProviderImpl");c.displayName=t+"Impl";let d=e+"CollectionSlot",h=(0,O.createSlot)(d),f=n.forwardRef((e,t)=>
8{let{scope:n,children:i}=e,o=Z(t,a(d,n).collectionRef);return(0,r.jsx)(h,{ref:o,children:i})});f.displayName=d;let p=e+"CollectionItemSlot",m=(0,O.createSlot)(p),g=n.forwardRef((e,t)=>{let{scope:i,children:o,...s}=e,l=n.useRef(null),[u,c]=n.useState(null),d=Z(t,l,c),{setItemMap:h}=a(p,i),f=n.useRef(s);eE(f.current,s)||(f.current=s);let g=f.current;return n.useEffect(()=>(h(e=>u?e.has(u)?e.set(u,{...g,element:u}).toSorted(eC):(e.set(u,{...g,element:u}),e.toSorted(eC)):e),()=>{h(e=>u&&e.has(u)?(e.delete(u),new eb(e)):e)}),[u,g,h]),(0,r.jsx)(m,{"data-radix-collection-item":"",ref:d,children:o})});function y(){return n.useState(new eb)}function b(t){let{itemMap:r}=a(e+"CollectionConsumer",t);return r}return g.displayName=p,em(y,"useInitCollection"),em(b,"useCollection"),[{Provider:l,Slot:f,ItemSlot:g},{createCollectionScope:o,useCollection:b,useInitCollection:y}]},"createCollection"),em(eE,"shallowEqual"),em(eT,"isElementPreceding"),em(eC,"sortByDocumentPosition"),em(eA,"getChildListObserver"),(0,Object.defineProperty)(eR,"name",{value:"useCallbackRef",configurable:!0});var eS=Object.defineProperty,eI=(e,t)=>eS(e,"name",{value:t,configurable:!0}),e_="dismissableLayer.update",eN=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),eO=n.forwardRef(eI(function(e,i){let{disableOutsidePointerEvents:o=!1,deferPointerDownOutside:s=!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,onDismiss:d,...h}=e,f=n.useContext(eN),[p,m]=n.useState(null),g=p?.ownerDocument??globalThis?.document,[,y]=n.useState({}),b=Z(i,m),v=Array.from(f.layers),[x]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),w=x?v.indexOf(x):-1,E=p?v.indexOf(p):-1,T=f.layersWithOutsidePointerEventsDisabled.size>0,C=E>=w,A=n.useRef(!1),R=eL(e=>{l?.(e),c?.(e),e.defaultPrevented||d?.()},{ownerDocument:g,deferPointerDownOutside:s,isDeferredPointerDownOutsideRef:A,dismissableSurfaces:f.dismissableSurfaces,shouldHandlePointerDownOutside:n.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...f.branches].some(t=>t.contains(e));return C&&!t},[f.branches,C])}),S=eD(e=>{if(s&&A.current)return;let t=e.target;![...f.branches].some(e=>e.contains(t))&&(u?.(e),c?.(e),e.defaultPrevented||d?.())},g),_=!!p&&E===v.length-1,N=eR(e=>{"Escape"===e.key&&(a?.(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))});return n.useEffect(()=>{if(_)return g.addEventListener("keydown",N,{capture:!0}),()=>g.removeEventListener("keydown",N,{capture:!0})},[g,_,N]),n.useEffect(()=>{if(p)return o&&(0===f.layersWithOutsidePointerEventsDisabled.size&&(t=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),eP(),()=>{o&&(f.layersWithOutsidePointerEventsDisabled.delete(p),0===f.layersWithOutsidePointerEventsDisabled.size&&(g.body.style.pointerEvents=t))}},[p,g,o,f]),n.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),eP())},[p,f]),n.useEffect(()=>{let e=eI(()=>y({}),"handleUpdate");return document.addEventListener(e_,e),()=>document.removeEventListener(e_,e)},[]),(0,r.jsx)(L.div,{...h,ref:b,style:{pointerEvents:T?C?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,S.onFocusCapture),onBlurCapture:I(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,R.onPointerDownCapture)})},"DismissableLayer"));eI(function(){let e=n.useContext(eN),[t,r]=n.useState(null);return n.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),r},"useDismissableLayerSurface");var ek=eI(()=>!0,"IS_TRUE");function eL(e,t){let{ownerDocument:r=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:s,shouldHandlePointerDownOutside:a=ek}=t,l=eR(e),u=n.useRef(!1),c=n.useRef(!1),d=n.useRef(new Map),h=n.useRef(()=>{});return n.useEffect(()=>{function e(){c.current=!1,o.current=!1,d.current.clear()}function t(){return Array.from(d.current.values()).some(Boolean)}function n(e){if(!c.current)return;let t=e.target;t instanceof Node&&[...s].some(e=>e.contains(t))||d.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{c.current&&h.current()},0)}function f(e){c.current&&d.current.set(e.type,!1)}eI(e,"resetOutsideInteraction"),eI(t,"isOutsideInteractionIntercepted"),eI(n,"handleInteractionCapture"),eI(f,"handleInteractionBubble");let p=eI(n=>{if(n.target&&!u.current){let s=function(){r.removeEventListener("click",h.current);let n=t();e(),n||eM("dismissableLayer.pointerDownOutside",l,f,{discrete:!0})};if(eI(s,"handleAndDispatchPointerDownOutsideEvent"),!a(n.target)){r.removeEventListener("click",h.current),e(
8),u.current=!1;return}let f={originalEvent:n};c.current=!0,o.current=i&&0===n.button,d.current.clear(),i&&0===n.button?(r.removeEventListener("click",h.current),h.current=s,r.addEventListener("click",h.current,{once:!0})):s()}else r.removeEventListener("click",h.current),e();u.current=!1},"handlePointerDown"),m=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of m)r.addEventListener(e,n,!0),r.addEventListener(e,f);let g=window.setTimeout(()=>{r.addEventListener("pointerdown",p)},0);return()=>{for(let e of(window.clearTimeout(g),r.removeEventListener("pointerdown",p),r.removeEventListener("click",h.current),m))r.removeEventListener(e,n,!0),r.removeEventListener(e,f)}},[r,l,i,o,s,a]),{onPointerDownCapture:eI(()=>u.current=!0,"onPointerDownCapture")}}function eD(e,t=globalThis?.document){let r=eR(e),i=n.useRef(!1);return n.useEffect(()=>{let e=eI(e=>{e.target&&!i.current&&eM("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:eI(()=>i.current=!0,"onFocusCapture"),onBlurCapture:eI(()=>i.current=!1,"onBlurCapture")}}function eP(){let e=new CustomEvent(e_);document.dispatchEvent(e)}function eM(e,t,r,{discrete:n}){let i=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?D(i,o):i.dispatchEvent(o)}function ej(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}eI(eL,"usePointerDownOutside"),eI(eD,"useFocusOutside"),eI(eP,"dispatchUpdate"),eI(eM,"handleAndDispatchCustomEvent"),(0,Object.defineProperty)(ej,"name",{value:"usePrevious",configurable:!0});var eB=Object.defineProperty,eU=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),eF=n.forwardRef(eB(function(e,t){return(0,r.jsx)(L.span,{...e,ref:t,style:{...eU,...e.style}})},"name",{value:"VisuallyHidden",configurable:!0})),ez=Object.defineProperty,eH=(e,t)=>ez(e,"name",{value:t,configurable:!0}),eG="NavigationMenu",[eW,eq,e$]=eg(eG),[eV,eJ,eY]=eg(eG),[eK,eZ]=T(eG,[e$,eY]),[eX,eQ]=eK(eG),[e0,e1]=eK(eG),e2=n.forwardRef(eH(function(e,t){let{__scopeNavigationMenu:i,value:o,onValueChange:s,defaultValue:a,delayDuration:l=200,skipDelayDuration:u=300,orientation:c="horizontal",dir:d,...h}=e,[f,p]=n.useState(null),m=Z(t,p),g=ee(d),y=n.useRef(0),b=n.useRef(0),v=n.useRef(0),[x,w]=n.useState(!0),[E,T]=G({prop:o,onChange:eH(e=>{let t=u>0;""!==e?(window.clearTimeout(v.current),t&&w(!1)):(window.clearTimeout(v.current),v.current=window.setTimeout(()=>w(!0),u)),s?.(e)},"onChange"),defaultProp:a??"",caller:eG}),C=n.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>T(""),150)},[T]),A=n.useCallback(e=>{window.clearTimeout(b.current),T(e)},[T]),R=n.useCallback(e=>{E===e?window.clearTimeout(b.current):y.current=window.setTimeout(()=>{window.clearTimeout(b.current),T(e)},l)},[E,T,l]);return n.useEffect(()=>()=>{window.clearTimeout(y.current),window.clearTimeout(b.current),window.clearTimeout(v.current)},[]),(0,r.jsx)(e5,{scope:i,isRootMenu:!0,value:E,dir:g,orientation:c,rootNavigationMenu:f,onTriggerEnter:e=>{window.clearTimeout(y.current),x?R(e):A(e)},onTriggerLeave:()=>{window.clearTimeout(y.current),C()},onContentEnter:()=>window.clearTimeout(b.current),onContentLeave:C,onItemSelect:e=>{T(t=>t===e?"":e)},onItemDismiss:()=>T(""),children:(0,r.jsx)(L.nav,{"aria-label":"Main","data-orientation":c,dir:g,...h,ref:m})})},"NavigationMenu")),e5=eH(e=>{let{scope:t,isRootMenu:i,rootNavigationMenu:o,dir:s,orientation:a,children:l,value:u,onItemSelect:c,onItemDismiss:d,onTriggerEnter:h,onTriggerLeave:f,onContentEnter:p,onContentLeave:m}=e,[g,y]=n.useState(null),[b,v]=n.useState(new Map),[x,w]=n.useState(null);return(0,r.jsx)(eX,{scope:t,isRootMenu:i,rootNavigationMenu:o,value:u,previousValue:ej(u),baseId:ef(),dir:s,orientation:a,viewport:g,onViewportChange:y,indicatorTrack:x,onIndicatorTrackChange:w,onTriggerEnter:eR(h),onTriggerLeave:eR(f),onContentEnter:eR(p),onContentLeave:eR(m),onItemSelect:eR(c),onItemDismiss:eR(d),onViewportContentChange:n.useCallback((e,t)=>{v(r=>(r.set(e,t),new Map(r)))},[]),onViewportContentRemove:n.useCallback(e=>{v(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,r.jsx)(eW.Provider,{scope:t,children:(0,r.jsx)(e0,{scope:t,items:b,children:l})})})},"NavigationMenuProvider"),e3=n.forwardRef(eH(function(e,t){let{__scopeNavigationMenu:n,...i}=e,o=eQ("NavigationMenuList",n),s=(0,r.jsx)(L.ul,{"data-orientation":o.orientation,...i,ref:t});return(0,r.jsx)(L.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange,children:(0,r.jsx)(eW.Slot,{scope:n,children:o.isRootMenu?(0,r.jsx)(tp,{asChild:!0,children:s}):s})})},"NavigationMenuList")),[e6,e4]=eK("NavigationMenuItem"),e7=n.forwardRef(eH(function(e,t){let{__scopeNavigationMenu:i,value:o,...s}=e,a=ef(),l=n.useRef(null),u=n.useRef(null),c=n.useRef(null),d=n.useRef(()=>{}),h=n.useRef(!1),f=n.useCallback((e="start")=>{if(l.current){d.current();let t=ty(l.current);t.length&&tb("start"===e?t:t.reverse())}},[]),p=n.useCallback(()=>
8{if(l.current){let e=ty(l.current);e.length&&(d.current=tv(e))}},[]);return(0,r.jsx)(e6,{scope:i,value:o||a||"LEGACY_REACT_AUTO_VALUE",triggerRef:u,contentRef:l,focusProxyRef:c,wasEscapeCloseRef:h,onEntryKeyDown:f,onFocusProxyEnter:f,onRootContentClose:p,onContentFocusOutside:p,children:(0,r.jsx)(L.li,{...s,ref:t})})},"NavigationMenuItem")),e8="NavigationMenuTrigger",e9=n.forwardRef(eH(function(e,t){let{__scopeNavigationMenu:i,disabled:o,...s}=e,a=eQ(e8,e.__scopeNavigationMenu),l=e4(e8,e.__scopeNavigationMenu),u=n.useRef(null),c=Z(u,l.triggerRef,t),d=tE(a.baseId,l.value),h=tT(a.baseId,l.value),f=n.useRef(!1),p=n.useRef(!1),m=l.value===a.value;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eW.ItemSlot,{scope:i,value:l.value,children:(0,r.jsx)(tg,{asChild:!0,children:(0,r.jsx)(L.button,{id:d,disabled:o,"data-disabled":o?"":void 0,"data-state":tw(m),"aria-expanded":m,"aria-controls":m?h:void 0,...s,ref:c,onPointerEnter:I(e.onPointerEnter,()=>{p.current=!1,l.wasEscapeCloseRef.current=!1}),onPointerMove:I(e.onPointerMove,tC(()=>{o||p.current||l.wasEscapeCloseRef.current||f.current||(a.onTriggerEnter(l.value),f.current=!0)})),onPointerLeave:I(e.onPointerLeave,tC(()=>{o||(a.onTriggerLeave(),f.current=!1)})),onClick:I(e.onClick,()=>{a.onItemSelect(l.value),p.current=m}),onKeyDown:I(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===a.dir?"ArrowLeft":"ArrowRight"}[a.orientation];m&&e.key===t&&(l.onEntryKeyDown(),e.preventDefault())})})})}),m&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eF,{"aria-hidden":!0,tabIndex:0,ref:l.focusProxyRef,onFocus:e=>{let t=l.contentRef.current,r=e.relatedTarget,n=r===u.current,i=t?.contains(r);(n||!i)&&l.onFocusProxyEnter(n?"start":"end")}}),a.viewport&&(0,r.jsx)("span",{"aria-owns":h})]})]})},"NavigationMenuTrigger")),te="navigationMenu.linkSelect",tt=n.forwardRef(eH(function(e,t){let{__scopeNavigationMenu:n,active:i,onSelect:o,...s}=e;return(0,r.jsx)(tg,{asChild:!0,children:(0,r.jsx)(L.a,{"data-active":i?"":void 0,"aria-current":i?"page":void 0,...s,ref:t,onClick:I(e.onClick,e=>{let t=e.target,r=new CustomEvent(te,{bubbles:!0,cancelable:!0});t.addEventListener(te,e=>o?.(e),{once:!0}),D(t,r),r.defaultPrevented||e.metaKey||D(t,new CustomEvent(tl,{bubbles:!0,cancelable:!0}))},{checkForDefaultPrevented:!1})})})},"NavigationMenuLink")),tr="NavigationMenuIndicator",tn=n.forwardRef(eH(function(e,t){let{forceMount:n,...i}=e,o=eQ(tr,e.__scopeNavigationMenu),s=!!o.value;return o.indicatorTrack?x.createPortal((0,r.jsx)(ei,{present:n||s,children:(0,r.jsx)(ti,{...i,ref:t})}),o.indicatorTrack):null},"NavigationMenuIndicator")),ti=n.forwardRef(eH(function(e,t){let{__scopeNavigationMenu:i,...o}=e,s=eQ(tr,i),a=eq(i),[l,u]=n.useState(null),[c,d]=n.useState(null),h="horizontal"===s.orientation,f=!!s.value;n.useEffect(()=>{let e=a(),t=e.find(e=>e.value===s.value)?.ref.current;t&&u(t)},[a,s.value]);let p=eH(()=>{l&&d({size:h?l.offsetWidth:l.offsetHeight,offset:h?l.offsetLeft:l.offsetTop})},"handlePositionChange");return tx(l,p),tx(s.indicatorTrack,p),c?(0,r.jsx)(L.div,{"aria-hidden":!0,"data-state":f?"visible":"hidden","data-orientation":s.orientation,...o,ref:t,style:{position:"absolute",...h?{left:0,width:c.size+"px",transform:`translateX(${c.offset}px)`,"--radix-navigation-menu-indicator-translate-x":`${c.offset}px`}:{top:0,height:c.size+"px",transform:`translateY(${c.offset}px)`,"--radix-navigation-menu-indicator-translate-y":`${c.offset}px`},...o.style}}):null},"NavigationMenuIndicatorImpl")),to="NavigationMenuContent",ts=n.forwardRef(eH(function(e,t){let{forceMount:n,...i}=e,o=eQ(to,e.__scopeNavigationMenu),s=e4(to,e.__scopeNavigationMenu),a=Z(s.contentRef,t),l=s.value===o.value,u={value:s.value,triggerRef:s.triggerRef,focusProxyRef:s.focusProxyRef,wasEscapeCloseRef:s.wasEscapeCloseRef,onContentFocusOutside:s.onContentFocusOutside,onRootContentClose:s.onRootContentClose,...i};return o.viewport?(0,r.jsx)(ta,{forceMount:n,...u,ref:a}):(0,r.jsx)(ei,{present:n||l,children:(0,r.jsx)(tu,{"data-state":tw(l),...u,ref:a,onPointerEnter:I(e.onPointerEnter,o.onContentEnter),onPointerLeave:I(e.onPointerLeave,tC(o.onContentLeave)),style:{pointerEvents:!l&&o.isRootMenu?"none":void 0,...u.style}})})},"NavigationMenuContent")),ta=n.forwardRef(eH(function(e,t){let{onViewportContentChange:r,onViewportContentRemove:n}=eQ(to,e.__scopeNavigationMenu);return P(()=>{r(e.value,{ref:t,...e})},[e,t,r]),P(()=>()=>n(e.value),[e.value,n]),null}
8,"ViewportContentMounter")),tl="navigationMenu.rootContentDismiss",tu=n.forwardRef(eH(function(e,t){let{__scopeNavigationMenu:i,value:o,triggerRef:s,focusProxyRef:a,wasEscapeCloseRef:l,onRootContentClose:u,onContentFocusOutside:c,...d}=e,h=eQ(to,i),f=n.useRef(null),p=Z(f,t),m=tE(h.baseId,o),g=tT(h.baseId,o),y=eq(i),b=n.useRef(null),{onItemDismiss:v}=h;n.useEffect(()=>{let e=f.current;if(h.isRootMenu&&e){let t=eH(()=>{v(),u(),e.contains(document.activeElement)&&s.current?.focus()},"handleClose");return e.addEventListener(tl,t),()=>e.removeEventListener(tl,t)}},[h.isRootMenu,e.value,s,v,u]);let x=n.useMemo(()=>{let e=y().map(e=>e.value);"rtl"===h.dir&&e.reverse();let t=e.indexOf(h.value),r=e.indexOf(h.previousValue),n=o===h.value,i=r===e.indexOf(o);if(!n&&!i)return b.current;let s=(()=>{if(t!==r){if(n&&-1!==r)return t>r?"from-end":"from-start";if(i&&-1!==t)return t>r?"to-start":"to-end"}return null})();return b.current=s,s},[h.previousValue,h.value,h.dir,y,o]);return(0,r.jsx)(tp,{asChild:!0,children:(0,r.jsx)(eO,{id:g,"aria-labelledby":m,"data-motion":x,"data-orientation":h.orientation,...d,ref:p,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(tl,{bubbles:!0,cancelable:!0});f.current?.dispatchEvent(e)},onFocusOutside:I(e.onFocusOutside,e=>{c();let t=e.target;h.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:I(e.onPointerDownOutside,e=>{let t=e.target,r=y().some(e=>e.ref.current?.contains(t)),n=h.isRootMenu&&h.viewport?.contains(t);(r||n||!h.isRootMenu)&&e.preventDefault()}),onKeyDown:I(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ty(e.currentTarget),r=document.activeElement,n=t.findIndex(e=>e===r);tb(e.shiftKey?t.slice(0,n).reverse():t.slice(n+1,t.length))?e.preventDefault():a.current?.focus()}}),onEscapeKeyDown:I(e.onEscapeKeyDown,e=>{l.current=!0})})})},"NavigationMenuContentImpl")),tc="NavigationMenuViewport",td=n.forwardRef(eH(function(e,t){let{forceMount:n,...i}=e,o=!!eQ(tc,e.__scopeNavigationMenu).value;return(0,r.jsx)(ei,{present:n||o,children:(0,r.jsx)(th,{...i,ref:t})})},"NavigationMenuViewport")),th=n.forwardRef(eH(function(e,t){let{__scopeNavigationMenu:i,children:o,...s}=e,a=eQ(tc,i),l=Z(t,a.onViewportChange),u=e1(to,e.__scopeNavigationMenu),[c,d]=n.useState(null),[h,f]=n.useState(null),p=c?c?.width+"px":void 0,m=c?c?.height+"px":void 0,g=!!a.value,y=g?a.value:a.previousValue,b=eH(()=>{h&&d({width:h.offsetWidth,height:h.offsetHeight})},"handleSizeChange");return tx(h,b),(0,r.jsx)(L.div,{"data-state":tw(g),"data-orientation":a.orientation,...s,ref:l,style:{pointerEvents:!g&&a.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":p,"--radix-navigation-menu-viewport-height":m,...s.style},onPointerEnter:I(e.onPointerEnter,a.onContentEnter),onPointerLeave:I(e.onPointerLeave,tC(a.onContentLeave)),children:Array.from(u.items).map(([e,{ref:t,forceMount:n,...i}])=>{let o=y===e;return(0,r.jsx)(ei,{present:n||o,children:(0,r.jsx)(tf,{...i,contentRef:t,isActive:o,onActiveContentChange:f})},e)})})},"NavigationMenuViewportImpl")),tf=eH(({contentRef:e,isActive:t,onActiveContentChange:i,...o})=>{let s=Z(e,n.useCallback(e=>{t&&e&&i(e)},[t,i]));return(0,r.jsx)(tu,{...o,ref:s})},"NavigationMenuViewportItem"),tp=n.forwardRef(eH(function(e,t){let{__scopeNavigationMenu:n,...i}=e,o=eQ("FocusGroup",n);return(0,r.jsx)(eV.Provider,{scope:n,children:(0,r.jsx)(eV.Slot,{scope:n,children:(0,r.jsx)(L.div,{dir:o.dir,...i,ref:t})})})},"FocusGroup")),tm=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],tg=n.forwardRef(eH(function(e,t){let{__scopeNavigationMenu:n,...i}=e,o=eJ(n),s=eQ("FocusGroupItem",n);return(0,r.jsx)(eV.ItemSlot,{scope:n,children:(0,r.jsx)(L.button,{...i,ref:t,onKeyDown:I(e.onKeyDown,e=>{if(["Home","End",...tm].includes(e.key)){let t=o().map(e=>e.ref.current);if(["rtl"===s.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),tm.includes(e.key)){let r=t.indexOf(e.currentTarget);t=t.slice(r+1)}setTimeout(()=>tb(t)),e.preventDefault()}})})})},"FocusGroupItem"));function ty(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:eH(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}function tb(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}
8function tv(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}}function tx(e,t){let r=eR(t);P(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}function tw(e){return e?"open":"closed"}function tE(e,t){return`${e}-trigger-${t}`}function tT(e,t){return`${e}-content-${t}`}function tC(e){return t=>"mouse"===t.pointerType?e(t):void 0}eH(ty,"getTabbableCandidates"),eH(tb,"focusFirst"),eH(tv,"removeFromTabOrder"),eH(tx,"useResizeObserver"),eH(tw,"getOpenState"),eH(tE,"makeTriggerId"),eH(tT,"makeContentId"),eH(tC,"whenMouse");var tA=e.i(797510);let tR=({id:e,navigationData:t})=>{let n=t?.edges?.map(e=>{let t=e?.node;return{title:t?.title??"",redirect_URL:t?.url??"/",image_src:t?.featured_media?.imageConnection?.edges?.[0]?.node?.url??(t?.__typename==="Article"?t.enhanced_featured_media?.imageConnection?.edges?.[0]?.node?.url:void 0)??""}})??[];return Array.isArray(n)?(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"absolute right-0 top-0 z-10 h-[13.6875rem] w-12 bg-featured-list-gradient xl:w-[3.125rem]"}),(0,r.jsx)("ul",{"aria-labelledby":e,tabIndex:0,className:(0,i.cn)("flex w-full snap-x snap-mandatory gap-4 overflow-x-auto px-6 pb-3 xl:px-10 xl:pb-6",m.focusClass),children:n.map(e=>(0,r.jsx)("li",{className:"shrink-0 snap-center scroll-mx-4",children:(0,r.jsx)("article",{children:(0,r.jsx)(tt,{asChild:!0,children:(0,r.jsxs)(p.default,{href:e.redirect_URL??"/",className:(0,i.cn)("mt-1 block max-w-[9.1875rem] flex-col font-graphik-compact text-t4 text-ivory-white",m.focusClass),gtmData:{event:d.eventName.GLOBAL_NAVIGATION,clickText:`Featured | ${e.title}`},children:[(0,r.jsx)(v.default,{src:e.image_src??"",alt:"",width:147,height:195,className:"mb-1 h-[195px] border-[0.1875rem] border-grey-1 object-cover"}),(0,r.jsx)("p",{className:"line-clamp-2",children:(0,r.jsx)(tA.SanitizedPlainText,{text:e.title})})]})})})}
8,e.title))})]}):null},tS={name:"Video",tag_URL:"/video/"},tI=function(e){let t=e?.edges?.map(e=>{let t=e?.node;return{name:t?.title??"",tag_URL:t?.url??"/"}})??[];return 0===t.length||t.some(e=>e.name.toLowerCase()===tS.name.toLowerCase())?t:[...t,tS]},t_=({navigationData:e})=>{let t=tI(e);return t&&0!==t.length?(0,r.jsx)("ul",{className:"grid w-full grid-cols-3 gap-4 xl:grid-cols-2","aria-label":"Topics",children:t.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(tt,{asChild:!0,children:(0,r.jsx)(p.default,{href:e.tag_URL??"/",className:(0,i.cn)("block font-graphik-compact text-body-small leading-5 text-ivory-white hover:text-warm-grey-2 focus:text-warm-grey-2",m.focusClass),gtmData:{event:d.eventName.GLOBAL_NAVIGATION,clickText:`Topics | ${e.name}`},children:(0,r.jsx)(tA.SanitizedPlainText,{text:e.name})})})},e.name))}):null};var tN=e.i(225526);function tO(e){return e?.title&&e?.url?{title:e.title,url:e.url,uid:e.system?.uid??e.url}:null}let tk=function(e){let t=e?.all_global_navigation?.items?.[0],r=(t?.latest_collectionsConnection?.edges??[]).map(e=>tO(e?.node)).filter(e=>null!==e),n=new Set(r.map(e=>e.uid));return[...r,...(e?.all_collection_hub?.items??[]).map(e=>tO(e)).filter(e=>null!==e&&!n.has(e.uid))].slice(0,5)},tL=({data:e})=>{let t=tk(e);return 0===t.length?null:(0,r.jsx)("ul",{className:"flex w-full flex-col gap-5 xl:gap-4","aria-label":"Latest collections",children:t.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(tt,{asChild:!0,children:(0,r.jsx)(p.default,{href:e.url,className:(0,i.cn)("block font-graphik-compact text-body-small leading-5 text-ivory-white hover:text-warm-grey-2 focus:text-warm-grey-2",m.focusClass),gtmData:{event:d.eventName.GLOBAL_NAVIGATION,clickText:`Latest Collections | ${e.title}`},children:(0,r.jsx)(tA.SanitizedPlainText,{text:e.title})})})},e.uid))})};var tD=e.i(682108),tP=e.i(26094),tM=e.i(291633);let tj=({size:e="1rem",className:t,color:n="currentColor",alt:i,...o})=>(0,r.jsxs)("svg",{className:t,width:e,height:e,viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[(0,r.jsx)("title",{children:i}),(0,r.jsxs)("g",{id:"Arrow",children:[(0,r.jsx)("path",{id:"Path 3",d:"M0.5 4.5L-8.58588e-09 4.5L8.58588e-09 5.5L0.5 5.5L0.5 4.5ZM0.5 5.5L12.5 5.5L12.5 4.5L0.5 4.5L0.5 5.5Z",fill:n}),(0,r.jsx)("path",{id:"Path 4",d:"M8.6615 0.757324L12.9041 4.99996L8.6615 9.2426",stroke:n,strokeLinecap:"square"})]})]});var tB=e.i(495277),tU=e.i(957786),tF=e.i(516877),tz=e.i(387644),tH=e.i(212044),tG=e.i(618566),tW=e.i(675792),tq=e.i(360365);let t$=function(e){let t=e?.all_global_navigation?.items?.[0]?.newslettersConnection?.edges??[],r=[];for(let e of t){let t=e?.node,n=t?.system?.uid,i=t?.title,o=t?.beehive_pub_id;n&&i&&o&&r.push({id:n,title:i,pubId:o})}return r},tV={success:!1,error:{message:""}},tJ=({newsletters:e})=>{let[t,o]=(0,n.useState)(new Set),[s,a]=(0,n.useState)(""),[l,u]=(0,n.useState)(!1),[c,h]=(0,n.useState)(tV),[f,m]=(0,n.useState)(!1),[g,y]=(0,n.useState)(!1),b=(0,n.useRef)(null),{executeRecaptcha:v}=(0,tD.useGoogleReCaptcha)(),x=(0,tG.usePathname)(),w=(0,n.useCallback)(e=>{o(t=>{let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r})},[]),{selectedPubIds:E,selectedDisplayNames:T}=(0,n.useMemo)(()=>{let r=[],n=[];for(let i of e)t.has(i.id)&&(r.push(i.pubId),n.push(i.title));return{selectedPubIds:r,selectedDisplayNames:n}},[t,e]),{country:C,needsExplicitOptIn:A,showConsentCheckbox:R}=(0,tq.default)(),S=!A||g,I=c.success,_=c.error?.message??"",N=!!_&&!l,O={utm_source_pg:"web",utm_medium_pg:"nav",utm_campaign_pg:"module",utm_content_pg:"nav-newsletter-module",utm_term_pg:T.map(e=>(0,tW.toKebabCase)(e)).join(", ")},k=[{name:"utm_source_pg",value:O.utm_source_pg},{name:"utm_medium_pg",value:O.utm_medium_pg},{name:"utm_campaign_pg",value:O.utm_campaign_pg},{name:"utm_content_pg",value:O.utm_content_pg},{name:"utm_term_pg",value:O.utm_term_pg},{name:"marketing",value:S?"True":"False"},...C?[{name:"country_marketing",value:C}]:[]],L=(0,n.useCallback)(async()=>v?v("newsletter_subscribe"):"",[v]),D=async e=>{if(e.preventDefault(),u(!0),m(!1),h({success:!1,error:{message:""}}),0===E.length){h({success:!1,error:{message:"Select at least 1 newsletter."}}),u(!1);return}try{let e=await L();if(!e){h({success:!1,error:{message:"reCAPTCHA is not ready. Please try again."}}),u(!1);return}let t=await fetch("/api/newsletter-subscribe/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:s,pubIds:E,recaptchaToken:e,custom_fields:k})}),r=await t.json();h(r),r.success?((0,tz.sendGTMEvent)({event:d.eventName.NEWSLETTER_SIGNUP,...O}),(0,tz.sendGTMEvent)({event:d.eventName.INTERNAL_CLICK,componentType:d.componentType.globalNavNewsletterSignup,clickText:T.join(", "),clickURL:x??void 0,pagePath:x??void 0}),(0,tH.marfeelTrackConversion)("Newsletter Signup Beehiiv")):m(!0)}catch{h({success:!1,error:{message:"Unexpected error occurred"}}),m(!0)}finally{u(!1)}};return(0,n.useEffect)(()=>{_&&f&&b.current?.focus()},[_,f]),(0,r.jsxs)("div",{className:"flex w-full flex-col gap-4",children:[(0,r.jsx)("ul",{className:"flex flex-wrap gap-2 py-2 xl:py-0","aria-label":"Select newsletters to 
8subscribe to",children:e.map(e=>{let n=t.has(e.id);return(0,r.jsx)("li",{children:(0,r.jsxs)(tB.default,{variant:n?tF.ButtonVariant.OutlinedFilled:tF.ButtonVariant.Outlined,theme:"light",className:"h-auto whitespace-normal font-graphik text-sm",onClick:()=>w(e.id),"aria-pressed":n,"aria-label":`${n?"Deselect":"Select"} ${e.title}`,children:[(0,r.jsx)("span",{children:e.title}),n?(0,r.jsx)(tP.CloseIcon,{className:"size-3 shrink-0"}):(0,r.jsx)(tM.PlusIcon,{className:"size-3 shrink-0"})]})},e.id)})}),(0,r.jsx)("div",{className:"relative",children:I?(0,r.jsx)("div",{"aria-live":"assertive",className:"rounded-sm bg-ivory-white px-3 py-2 text-center font-graphik-compact text-t4 text-black-coffee",children:"Thank you for signing up!"}):(0,r.jsxs)("form",{onSubmit:e=>{D(e)},children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("label",{htmlFor:"nav-newsletter-email",className:"sr-only",children:"Email address"}),(0,r.jsx)(tU.Input,{ref:b,id:"nav-newsletter-email",name:"email",type:"email",placeholder:"Your Email",disabled:l,"aria-invalid":N,"aria-describedby":_?"nav-newsletter-error":void 0,className:(0,i.cn)("bg-white text-black-coffee",N&&"border-brand-red"),required:!0,value:s,onChange:e=>a(e.target.value)}),(0,r.jsx)(tB.default,{size:"md",type:"submit",disabled:l,"aria-busy":l,className:"shrink-0 border border-white bg-black-coffee text-white",children:"SIGN UP"})]}),R&&(0,r.jsxs)("label",{className:"mt-2 flex items-start gap-2 font-graphik-compact text-[0.75rem] font-normal leading-[140%] text-warm-grey-2",children:[(0,r.jsx)("input",{type:"checkbox",checked:g,onChange:e=>y(e.target.checked),className:"mt-px size-3 shrink-0 appearance-none rounded-sm border border-warm-grey-2 checked:bg-warm-grey-2"}),"Yes, I agree to receive promotions and news from Time."]}),(0,r.jsxs)("p",{className:"mt-2 font-graphik-compact text-xs font-normal leading-[140%] text-warm-grey-2",children:["By signing up you are agreeing to our"," ",(0,r.jsx)("a",{href:"https://legal.time.com/terms-of-service/",className:"underline",target:"_blank",rel:"noreferrer",children:"Terms of Service"})," ","and"," ",(0,r.jsx)("a",{href:"https://legal.time.com/us-privacy-policy/",className:"underline",target:"_blank",rel:"noreferrer",children:"Privacy Policy"}),"."]}),N&&(0,r.jsx)("p",{id:"nav-newsletter-error",role:"alert",className:"mt-1 font-graphik-compact text-caption-small text-brand-red",children:_})]})}),(0,r.jsx)(tt,{asChild:!0,children:(0,r.jsxs)(p.default,{href:(0,tW.getAbsolutePath)("/newsletters/"),className:"flex items-center gap-1 font-graphik text-body-small text-ivory-white hover:text-warm-grey-2",gtmData:{event:d.eventName.GLOBAL_NAVIGATION,clickText:"See all Newsletters"},children:["See all Newsletters",(0,r.jsx)(tj,{size:"0.75rem"})]})})]})},tY=(0,n.memo)(({data:e})=>{let t=t$(e);return(0,r.jsx)(tD.GoogleReCaptchaProvider,{reCaptchaKey:"6LeRFYwsAAAAAKWh_7LgTKJe13srl-Zw0P0KsECT",useEnterprise:!0,children:(0,r.jsx)(tJ,{newsletters:t})})});var tK=e.i(883036);let tZ=({dataPromise:e})=>{let t=(0,n.use)(e);return(0,r.jsx)(t_,{navigationData:t?.all_global_navigation?.items?.[0]?.topicsConnection??void 0})},tX=({dataPromise:e})=>{let t=(0,n.use)(e);return(0,r.jsx)(tR,{id:"featured",navigationData:t?.all_global_navigation?.items?.[0]?.featuredConnection??void 0})},tQ=({dataPromise:e})=>{let t=(0,n.use)(e);return(0,r.jsx)(tL,{data:t})},t0=({dataPromise:e})=>{let t=(0,n.use)(e);return(0,r.jsx)(tY,{data:t})},t1=()=>{let e=(0,n.useRef)(null),{getDropdown:t,loadDropdown:s}=(0,n.use)(tK.GlobalNavDataContext),a=t();(0,tN.useLockBodyScroll)();let l=(0,n.useCallback)(t=>{if("Tab"!==t.key)return;let r=e.current?.closest("nav");if(!r)return;let n=document.activeElement;if(!n||!r.contains(n))return;let i=[...r.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), textarea:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])')].filter(e=>!e.closest('[aria-hidden="true"], [hidden], [inert]')&&!e.matches('a[href="#maincontent"]'));if(0===i.length)return;let o=i.indexOf(n);if(-1===o)return;t.preventDefault();let s=t.shiftKey?(o-1+i.length)%i.length:(o+1)%i.length;
8i[s]?.focus()},[]);return(0,n.useEffect)(()=>(document.addEventListener("keydown",l,{capture:!0}),()=>document.removeEventListener("keydown",l,!0)),[l]),(0,n.useEffect)(()=>{function t(){let t=e.current,r=document.querySelector(`#${r2}`);if(!t||!r)return;let{top:n,height:i}=r.getBoundingClientRect(),o=Math.max(-i,n);t.style.setProperty("--dropdown-top",`${i+o}px`)}return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),(0,n.useEffect)(()=>{s()},[s]),(0,r.jsx)("section",{id:"explore-menu","data-testid":"explore-menu","aria-label":"Site navigation",className:"max-h-full w-screen bg-black-coffee xl:border-8 xl:border-y-0 xl:border-b xl:border-ivory-white xl:border-b-warm-grey-2",children:(0,r.jsx)("div",{ref:e,className:"max-h-[calc(100svh-var(--navigation-height-mobile)-var(--dropdown-top))] w-full snap-y snap-mandatory overflow-y-auto motion-safe:animate-fadeinup xl:max-h-[calc(100svh-var(--navigation-height-desktop)-var(--dropdown-top))]",children:(0,r.jsx)(y.default,{className:(0,i.cn)("px-0",o.navFrameGridStyles),children:(0,r.jsxs)("div",{className:"flex w-full flex-col gap-0 border-t border-warm-grey-2 xl:flex-row",children:[(0,r.jsx)(b,{className:"order-1 gap-5 border-b border-warm-grey-2 xl:border-b-0 xl:border-r xl:border-warm-grey-2 xl:pr-4",id:"nav-topics",title:"Topics",children:(0,r.jsx)(n.Suspense,{fallback:(0,r.jsx)("div",{className:"h-[120px]"}),children:(0,r.jsx)(tZ,{dataPromise:a})})}),(0,r.jsx)(b,{className:"order-2 gap-5 border-b border-warm-grey-2 xl:border-b-0 xl:border-r xl:border-warm-grey-2 xl:pl-4 xl:pr-2",id:"nav-latest-collections",title:"Latest Collections",children:(0,r.jsx)(n.Suspense,{fallback:(0,r.jsx)("div",{className:"h-[120px]"}),children:(0,r.jsx)(tQ,{dataPromise:a})})}),(0,r.jsx)(b,{className:"order-4 px-0 xl:order-3 xl:max-w-[27%] xl:border-r xl:border-warm-grey-2",titleClassName:"xl:px-8 px-6",id:"featured",title:"Featured",children:(0,r.jsx)(n.Suspense,{fallback:(0,r.jsx)("div",{className:"h-[254px] lg:h-[266px]"}),children:(0,r.jsx)(tX,{dataPromise:a})})}),(0,r.jsx)(b,{className:"order-3 border-b border-warm-grey-2 xl:order-4 xl:border-b-0 xl:pl-4 xl:pr-2",id:"nav-newsletters",title:"Newsletters",children:(0,r.jsx)(n.Suspense,{fallback:(0,r.jsx)("div",{className:"h-[120px]"}),children:(0,r.jsx)(t0,{dataPromise:a})})})]})})})})},t2=({size:e="0.75rem",className:t,color:n="currentColor",alt:i,strokeWidth:o="1.5",...s})=>(0,r.jsxs)("svg",{className:t,width:e,height:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",fill:"none",...s,children:[(0,r.jsx)("title",{children:i}),(0,r.jsx)("path",{d:"M2.75 2.75H9.25",stroke:n,strokeWidth:o,strokeLinecap:"square",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M2.75 6H9.25",stroke:n,strokeWidth:o,strokeLinecap:"square",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M2.75 9.25H9.25",stroke:n,strokeWidth:o,strokeLinecap:"square",strokeLinejoin:"round"})]}),t5="lg:-mt-1 lg:translate-y-[calc(0.375rem_-_0.3575em)]",t3=(0,n.forwardRef)(({isOpen:e,theme:t="light",onClick:n,onIntent:o},s)=>(0,r.jsx)(tB.default,{ref:s,id:"explore",variant:"withIcon",theme:t,onClick:n,onMouseEnter:()=>{o&&o()},onMouseDown:()=>{o&&o()},onFocus:()=>{o&&o()},"aria-expanded":e,"aria-label":e?"Click to close Menu":"Click to open Menu","aria-controls":"explore-menu",gtmData:{event:d.eventName.GLOBAL_NAVIGATION,clickText:e?"Close":"Menu"},children:(0,r.jsx)("span",{className:"flex overflow-hidden lg:min-w-16",children:(0,r.jsxs)("span",{className:(0,i.cn)("relative inline-block transform whitespace-pre transition-transform duration-300",e?"translate-y-[-100%]":"translate-y-0"),children:[(0,r.jsxs)("span",{className:"flex items-baseline gap-1",children:[(0,r.jsx)("span",{className:"hidden lg:block",children:"Menu"}),(0,r.jsx)(t2,{size:"0.75rem",className:t5})]}),(0,r.jsxs)("span",{className:"absolute left-0 top-full flex w-min items-baseline gap-1",children:[(0,r.jsx)("span",{className:"hidden lg:block",children:"Close"}),(0,r.jsx)(tP.CloseIcon,{size:"0.75rem",className:t5})]})]})})}));t3.displayName="MenuButton";var t6=e.i(225913);let t4=n.forwardRef(({className:e,children:t,...n},o)=>(0,r.jsxs)(e2,{ref:o,className:(0,i.cn)("relative z-10 flex max-w-full flex-1 items-center justify-center",e),...n,children:[t,(0,r.jsx)(rt,{})]}));t4.displayName=e2.displayName;let t7=n.forwardRef(({className:e,...t},n)=>(0,r.jsx)(e3,{ref:n,className:(0,i.cn)("group flex flex-1 list-none items-center justify-center space-x-1",e),...t}));t7.displayName=e3.displayName;let t8=(0,t6.cva)("inline-flex h-10 w-max items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors focus:outline-none disabled:pointer-events-none disabled:opacity-50"),t9=n.forwardRef(({className:e,children:t,...n},o)=>(0,r.jsx)(e9,{ref:o,className:(0,i.cn)(t8(),"group",e),...n,children:t}));t9.displayName=e9.displayName;let re=n.forwardRef(({className:e,...t},n)=>(0,r.jsx)(ts,{ref:n,className:(0,i.cn)("left-0 top-0 w-full md:absolute md:w-auto",e),...t}));re.displayName=ts.displayName;let rt=n.forwardRef(({className:e,...t},n)=>(0,r.jsx)("div",{className:"absolute left-0 top-full flex justify-center xl:top-[calc(100%)]",children:(0,r.jsx)(td,{className:(0,i.cn)("origin-top-center relative mt-[-1px] h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:n,...t})}));rt.displayName=td.displayName,n.forwardRef(({className:e,...t},n)=>(0,r.jsx)(tn,{ref:n,className:(0,i.cn)("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden",e),...t,children:(0,r.jsx)("div",{className:"relative top-[60%] size-2 rotate-45 rounded-tl-sm shadow-md"})})).displayName=tn.displayName;var rr=e.i(917591),rn=a,ri=e.i(475254);let ro=(0,ri.default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}
8]]),rs=({hasUnreadNotifications:e,onClick:t,isOpen:o})=>{let[s]=(0,n.useState)(()=>!0);return(0,r.jsx)("div",{className:"relative",children:(0,r.jsx)("button",{type:"button",onClick:t,className:(0,i.cn)("group flex size-8 items-center justify-center rounded-[2.5rem] border border-black bg-white p-1 text-gray-700 transition-colors lg:size-10"),"aria-expanded":o,"aria-haspopup":"dialog","aria-label":"Account and notifications",children:(0,r.jsxs)("span",{className:"relative flex items-center justify-center",children:[(0,r.jsx)(ro,{className:"size-5 text-gray-700 transition-colors group-hover:text-black","aria-hidden":"true"}),s&&e&&(0,r.jsx)("span",{className:"absolute right-0 top-0 size-2 rounded-full bg-red-500 ring-2 ring-white",children:(0,r.jsx)("span",{className:"sr-only",children:"Unread notifications"})})]})})})};var ra=e.i(245423),rl=e.i(37727);let ru=(0,ri.default)("square-arrow-out-up-right",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]]),rc=({item:e,onMarkRead:t})=>{let i="game"===e.type,o="achievement"===e.type,[s,a]=(0,n.useState)(!1);return(0,r.jsxs)("div",{className:"w-full rounded-lg border border-gray-200 bg-white p-4 shadow-sm",children:[(0,r.jsxs)("div",{className:"mb-2",children:[(0,r.jsx)("h3",{className:"font-graphik text-base font-semibold text-gray-900",children:e.title}),(0,r.jsx)("p",{className:"mt-1 font-graphik text-sm leading-6 text-gray-700",children:e.text}),e.createdAt&&(0,r.jsxs)("p",{className:"mt-2 text-xs text-gray-500",children:["Created at: ",new Date(e.createdAt).toLocaleString()]})]}),(0,r.jsxs)("div",{className:"mt-3 flex gap-2",children:[e.href&&(i||o?(0,r.jsx)(tB.default,{variant:"outlined-filled",asChild:!0,size:"md",className:"bg-brand-red text-white",children:(0,r.jsx)(h.default,{href:e.href,"aria-label":e.title,children:i?"Play Game":"View Achievement"})}):(0,r.jsx)(tB.default,{variant:"outlined-filled",type:"button",size:"md",className:"bg-brand-red text-white","aria-expanded":s,onClick:()=>{a(e=>!e)},children:s?"Hide Articles":"View Articles"})),(0,r.jsx)(tB.default,{variant:"outlined",type:"button","aria-label":"Mark as Read",theme:"grey",onClick:()=>t(e.id),children:"Mark as Read"})]}),s&&e.links&&e.links.length>0&&(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)("ul",{className:"mt-3 list-disc space-y-2 pl-5",children:e.links.map((e,t)=>{var n;return(0,r.jsx)("li",{className:"marker:text-gray-400",children:(0,r.jsxs)(h.default,{href:e.href,className:"group inline-flex items-center gap-1 rounded-sm text-brand-red underline decoration-warm-grey-2/40 underline-offset-4 hover:text-brand-red/80 hover:decoration-brand-red/60 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-red/40",children:[(0,r.jsx)("span",{children:(n=e.text,new DOMParser().parseFromString(n,"text/html").body.textContent||"")}),(0,r.jsx)(ru,{className:"size-4 min-w-4 transition-transform group-hover:translate-x-1"})]})},t)})})})]})},rd=({visibleItems:e,loading:t,markRead:n})=>t?(0,r.jsx)("div",{className:"font-graphik text-gray-600",children:"Loading notifications…"}):0===e.length?(0,r.jsx)("div",{className:"font-graphik text-gray-600",children:"No new notifications"}):(0,r.jsx)("div",{className:"space-y-4 font-graphik text-gray-600",children:e.map(e=>(0,r.jsx)(rc,{item:e,onMarkRead:n},e.id))});var rh=e.i(184627),rf=e.i(324402);let rp=a.PathNames.REGISTER,rm=({setAuthOpen:e,setNotificationsOpen:t})=>{let{user:n}=(0,rh.usePianoUserContext)(),i=(0,tG.usePathname)(),o=(0,tG.useRouter)(),{logout:s,displayLoginForm:l,displayRegistrationForm:u}=(0,rf.default)(),c=r=>{if(i===a.PathNames.ACCOUNT||i===rp){let e="register"===r?rp:a.PathNames.ACCOUNT;if(i===e){let e={onLoggedIn:()=>o.push(a.PathNames.ACCOUNT)};"login"===r?l(e):u(e)}else o.push(e);t?.(!1)}else e(r)};return(0,r.jsx)("div",{children:(0,r.jsx)("ul",{className:"mb-8 space-y-4",children:n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("li",{children:(0,r.jsx)(h.default,{href:a.PathNames.ACCOUNT,className:"block font-graphik text-base text-black-coffee transition-colors hover:text-brand-red",children:"My A
8ccount"})}),(0,r.jsx)("li",{children:(0,r.jsx)(h.default,{href:a.PathNames.ACCOUNT_NEWSLETTERS,className:"block font-graphik text-base text-black-coffee transition-colors hover:text-brand-red",children:"Newsletters"})}),(0,r.jsx)("li",{children:(0,r.jsx)(h.default,{href:a.PathNames.MY_FEED,className:"block font-graphik text-base text-black-coffee transition-colors hover:text-brand-red",children:"My Feed"})}),(0,r.jsx)("li",{children:(0,r.jsx)("button",{className:"cursor-pointer font-graphik text-brand-red transition-colors hover:text-brand-dark-red",onClick:()=>{s(()=>{t?.(!1)})},children:"Logout"})})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("li",{children:(0,r.jsx)("button",{className:"block font-graphik text-base text-black-coffee transition-colors hover:text-brand-red",onClick:()=>c("login"),children:"Login"})}),(0,r.jsx)("li",{children:(0,r.jsx)("button",{className:"block font-graphik text-base text-black-coffee transition-colors hover:text-brand-red",onClick:()=>c("register"),children:"Register"})}),(0,r.jsx)("li",{children:(0,r.jsx)(h.default,{href:a.PathNames.NEWSLETTERS,className:"block font-graphik text-base text-black-coffee transition-colors hover:text-brand-red",children:"Newsletters"})})]})})})},rg=({onClose:e,loading:t,visibleItems:i,markRead:o,hasUnreadNotifications:s,setAuthOpen:a,setNotificationsOpen:l})=>{let[u,c]=(0,n.useState)("account"),d=(0,n.useRef)(null),h=["account","notifications"],f=e=>{let t,r=e.currentTarget.id.replace("-tab",""),n=h.indexOf(r);switch(e.key){case"ArrowRight":case"ArrowDown":t=(n+1)%h.length;break;case"ArrowLeft":case"ArrowUp":t=(n-1+h.length)%h.length;break;case"Home":t=0;break;case"End":t=h.length-1;break;default:return}e.preventDefault();let i=h[t];c(i),document.querySelector(`#${i}-tab`)?.focus()};return(0,n.useEffect)(()=>{let t=window.innerWidth-document.documentElement.clientWidth,{body:r}=document,n=d.current;if(n){r.style.overflow="hidden",t>0&&(r.style.paddingRight=`${t}px`),"function"==typeof n.showModal?n.showModal():n.setAttribute("open","");let i=t=>{t.preventDefault(),e()};return n.addEventListener("cancel",i),()=>{n.removeEventListener("cancel",i),r.style.overflow="",r.style.paddingRight="","function"==typeof n.close?n.close():n.removeAttribute("open")}}},[e]),(0,r.jsx)("dialog",{ref:d,className:"m-0 ml-auto h-screen max-h-none w-full max-w-md bg-white p-0 shadow-2xl backdrop:bg-black/50",onClick:t=>{t.target===d.current&&e()},"data-testid":"alert-popup-backdrop",children:(0,r.jsxs)("div",{className:"flex h-full flex-col",onClick:e=>e.stopPropagation(),children:[(0,r.jsxs)("div",{className:"flex items-center justify-between border-b border-gray-200 p-6",children:[(0,r.jsx)("div",{className:"flex items-center justify-center rounded ",children:(0,r.jsx)(g,{color:rr.colors.brand.red})}),(0,r.jsx)("button",{className:"flex size-8 items-center justify-center rounded transition-colors hover:bg-gray-100",type:"button",onClick:e,"aria-label":"Close Notifications Panel",children:(0,r.jsx)(rl.X,{className:"size-5 text-gray-600"})})]}),(0,r.jsxs)("div",{className:"grid flex-1 grid-cols-[5rem_1fr] grid-rows-[auto_auto_1fr] overflow-hidden font-graphik",children:[(0,r.jsx)("button",{type:"button",id:"account-tab","aria-controls":"account-panel","aria-pressed":"account"===u,"aria-label":"Account",onClick:()=>c("account"),onKeyDown:f,className:`col-start-1 row-start-1 mx-4 mt-4 rounded px-3 py-2 text-left text-sm font-medium transition-colors ${"account"===u?"bg-gray-100 text-black":"text-gray-600 hover:bg-gray-50 hover:text-gray-800"}`,children:(0,r.jsx)(ro,{"aria-hidden":"true"})}),(0,r.jsxs)("div",{className:"col-start-2 row-span-3 row-start-1 min-w-0 overflow-y-auto border-l border-gray-200 p-6",children:["account"===u&&(0,r.jsx)("div",{role:"region",id:"account-panel","aria-labelledby":"account-tab",tabIndex:0,children:(0,r.jsx)(rm,{setAuthOpen:a,setNotificationsOpen:l})}),"notifications"===u&&(0,r.jsx)("div",{role:"region",id:"notifications-panel","aria-labelledby":"notifications-tab",tabIndex:0,children:(0,r.jsx)(rd,{visibleItems:i,markRead:o,loading:t})})]}),(0,r.jsx)("button",{type:"button",id:"notifications-tab","aria-controls":"notifications-panel","aria-pressed":"notifications"===u,"aria-label":"Notifications",onClick:()=>c("notifications"),onKeyDown:f,className:`col-start-1 row-start-2 mx-4 mt-2 rounded px-3 py-2 text-left text-sm font-medium transition-colors ${"notifications"===u?"bg-gray-100 text-black":"text-gray-600 hover:bg-gray-50 hover:text-gray-800"}`,children:(0,r.jsxs)("span",{className:"relative",children:[(0,r.jsx)(ra.Bell,{"aria-hidden":"true"}),s&&(0,r.jsx)("span",{className:"absolute right-0 top-0 size-2 roun
8ded-full bg-red-500 ring-2 ring-white",children:(0,r.jsx)("span",{className:"sr-only",children:"Unread notifications"})})]})})]})]})})};var ry=e.i(674400),rb=e.i(117595);let rv="user_notifications";function rx(e){let t=rb.default.get(e);return"string"==typeof t?t:null}function rw(e,t,r=0){let n=r?new Date(Date.now()+60*r*1e3):365;rb.default.set(e,t,{expires:n,path:"/",sameSite:"Lax"})}function rE(){let e=rx(rv);if(!e)return{notifications:[]};try{let t=JSON.parse(e);if(!Array.isArray(t.notifications))return{notifications:[],lastVisitedAt:t.lastVisitedAt};return t}catch{return{notifications:[]}}}function rT(e){rw(rv,JSON.stringify({...e,notifications:e.notifications.slice(0,10)}))}var rC=e.i(95187);let rA=(0,rC.createServerReference)("7f05463ca103277de96cdda0c5d0f33900b4cbfff3",rC.callServer,void 0,rC.findSourceMapURL,"fetchNotificationArticles"),rR=(0,rC.createServerReference)("7f3057dc2cd676f00692530692c25af1b806087d88",rC.callServer,void 0,rC.findSourceMapURL,"fetchFeedArticles");var rS=e.i(397099);let rI="news-notification";var r_=e.i(520595),rN=e.i(778497);let rO="user_opened_popup",rk="user_popup_time",rL="user_last_article_date",rD="user_last_feed_date",rP=e=>"feed"===e?"user_feed_read_until":"user_global_read_until",rM=()=>{let[e,t]=(0,n.useState)(!1),[i,o]=(0,n.useState)(!1),[s,a]=(0,n.useState)("login"),{onPageLoadTrigger:l,handleModalOpen:u,displayCircle:c,visibleItems:d,items:h,markRead:f,loading:p}=function(){let[e,t]=(0,n.useState)([]),[r,i]=(0,n.useState)(!0),[o,s]=(0,n.useState)(!1),{user:a}=(0,rf.default)(),{getFollowing:l}=(0,rS.default)(),u=(0,n.useRef)(),c=(0,n.useRef)(0);(0,n.useEffect)(()=>{s(!0)},[]);let d=!!o&&"true"===rx(rO),h=(0,n.useCallback)(async(e,t)=>{let r=t?.ignoreWatermark?void 0:rx(e.watermarkKey)??void 0;try{let n;if(n="feed"===e.mode?(await rR({sectionUids:e.params.sectionUids,authorUids:e.params.authorUids,tagUids:e.params.tagUids,publishedAfter:r})).items:await rA({limit:t?.first??10,publishedAfter:r}),!Array.isArray(n))return[];return n.filter(Boolean).map(e=>{let t,r,n,i,o,s;return r=(t=e?.url??"").split("/").filter(Boolean).at(-1)??"",n=e?.system?.uid??r,i=e?.system?.publish_details?.time??e?.publication_dates?.published??new Date().toISOString(),o=Date.parse(i),s=Number.isNaN(o)?i:new Date(o).toISOString(),{featuredImage:{node:{sourceUrl:"",altText:"",caption:""}},databaseId:n,title:e?.title??r,slug:r,url:t,dateGmt:s??"",date:s??"",id:n}})}catch(t){return(0,rN.logError)({message:"[HeaderAlerts]: fetchArticles failed",error:t,context:{source:"useAlerts.fetchArticles",mode:e.mode}}),[]}finally{rw(rk,new Date(Date.now()).toISOString())}},[]),f=(0,n.useCallback)(async()=>{if(a)try{let[e]=await l(),t=e??[];if(t.length>0){let e=(0,r_.getFollowingParams)(t);if(e.authorUids.length>0||e.sectionUids.length>0||e.tagUids.length>0)return{mode:"feed",watermarkKey:rD,params:e}}}catch{}return{mode:"global",watermarkKey:rL}},[a,l]),p=(0,n.useCallback)((e,r)=>{var n,i;let o,s,a,l,u,c,d,h,f=r?.watermarkKey??rL,p=r?.filterByLastDate?(s=rx(f),e.filter(e=>Date.parse(e.date)>Date.parse(s??""))):e;if(0===p.length)return!1;let m=-1/0;for(let e of p){let t=Date.parse(e.date);!Number.isNaN(t)&&t>m&&(m=t,o=e.date)}o&&rw(f,o);let g=r?.source?rx(rP(r.source)):null,y=!!(o&&g&&Date.parse(o)<=Date.parse(g));return t((i={...(n=r?.source,a=p.length,l=`You have ${a} new articles today!`,1===a?l="You have one new article today!":a>5&&(l="You have 5+ new articles today!"),u=`${a} new articles have been published. Visit the personalized content page to read them.`,1===a?u="1 new article has been published. Visit the personalized content page to read it.":a>5&&(u="5+ new articles have been published. Visit the personalized content page to read them."),c=p.slice(0,5).map(e=>({href:e.url,text:e.title})),{id:rI,type:"news",title:l,text:u,createdAt:new Date().toISOString(),read:!1,href:"/news",links:c,source:n}),read:y},-1===(h=(d=rE()).notifications.findIndex(e=>e.id===i.id))?(d.notifications.unshift(i),d.notifications.length>10&&(d.notifications=d.notifications.slice(0,10))):d.notifications[h]={...d.notifications[h],...i},rT(d),d).notifications),!0},[]),m=(0,n.useCallback)(()=>{let e=rx(rk);return!e||Date.now()-Date.parse(e)>=72e5},[]),g=(0,n.useCallback)(async e=>{try{if(!e?.force&&!m())return;let t=await f(),r=rx(t.watermarkKey),n=await h(t,{first:r?100:10});p(n,{filterByLastDate:!!r,watermarkKey:t.watermarkKey,source:t.mode})}catch(e){(0,rN.logError)({message:"[HeaderAlerts]: checkForNewArticles failed",error:e,context:{source:"useAlerts.checkForNewArticles"}})}finally{i(!1)}},[m,f,h,p]),y=(0,n.useCallback)(async()=>{d?await g():i(!1)},[d,g]),b=(0,n.useCallback)(async()=>{let e="true"!==rx(rO);try{e&&await g({force:!0})}finally{i(!1),rw(rO,"true"),rw(rk,new Date(Date.now()).toISOString()),rw(rO,"true"),rw(rk,new Date(Date.now()).toISOString())}},[g]),v=(0,n.useCallback)(async()=>{let e=rE().notifications.find(e=>e.id===rI);if(!e)return;let t=await f();if(e.source===t.mode||"global"===t.mode&&a)return;let r=c.current+=1,n=await h(t,{first:10,ignoreWatermark:!0});r===c.current&&p(n,{filterByLastDate:!1,watermarkKey:t.watermarkKey,source:t.mode})},[a,f,h,p]);(0,n.useEffect)(()=>{let e=a?.uid??null;u.current!==e&&(u.current=e,v())},[a?.uid,v]);let x=(0,n.useCallback)(e=>{let r,n,i=rE().notifications.find(t=>
8t.id===e);if(t((-1!==(n=(r=rE()).notifications.findIndex(t=>t.id===e))&&(r.notifications[n].read=!0,rT(r)),r).notifications),i?.source){let e=rx("feed"===i.source?rD:rL);e&&rw(rP(i.source),e)}},[]),w=(0,n.useMemo)(()=>e.filter(e=>!e.read),[e]),E=o&&(!d||w.length>0);return(0,n.useEffect)(()=>{t(rE().notifications)},[]),{handleModalOpen:b,onPageLoadTrigger:y,displayCircle:E,items:e,loading:r,markRead:x,visibleItems:w}}(),m=(0,n.useRef)(null),g=(0,n.useRef)(null),y=(0,n.useRef)(!1);(0,n.useEffect)(()=>{y.current||(async()=>{await l(),y.current=!0})()},[l]);let b=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=b.current,t=m.current;if(i&&e){"function"==typeof e.showModal?e.showModal():e.setAttribute("open","");let r=e=>{e.preventDefault(),o(!1)};return e.addEventListener("cancel",r),()=>{e.removeEventListener("cancel",r),"function"==typeof e.close?e.close():e.removeAttribute("open");let n=g.current;n&&n.isConnected?n.focus():t?.querySelector("button")?.focus()}}},[i]),(0,r.jsxs)("div",{className:"relative",ref:m,children:[(0,r.jsx)(rs,{hasUnreadNotifications:c,onClick:()=>void(t(!e),!e&&u()),isOpen:e}),e&&(0,r.jsx)(rg,{onClose:()=>{t(!1)},loading:p,items:h,markRead:f,visibleItems:d,hasUnreadNotifications:c,setAuthOpen:e=>{g.current=document.activeElement,o(!0),t(!1),a(e)},setNotificationsOpen:t}),i&&(0,r.jsx)("dialog",{ref:b,"aria-modal":"true","aria-label":"register"===s?"Create your account":"Sign in to your account",className:"fixed size-full max-h-none max-w-none bg-white shadow-2xl backdrop:bg-black/50 md:h-fit md:w-[500px] md:max-w-[initial]",onClick:e=>{e.target===b.current&&o(!1)},children:(0,r.jsxs)("div",{role:"document",onClick:e=>e.stopPropagation(),children:[(0,r.jsx)("button",{type:"button",onClick:()=>o(!1),"aria-label":"Close",className:"absolute right-3 top-3 rounded p-1 text-black focus:outline-none focus-visible:ring-2 focus-visible:ring-black focus-visible:ring-offset-2",children:(0,r.jsx)(rl.X,{className:"size-5","aria-hidden":"true"})}),(0,r.jsx)(ry.default,{action:s,source:"modal",setAuthModalVisibility:o})]})})]})};var rj=e.i(669138),rB=e.i(374774),rU=e.i(505489),rF=e.i(818622);let rz=(0,n.forwardRef)(({className:e="",type:t=rn.NavigationType.DEFAULT,onOpenChange:s,...a},l)=>
8{let[u,f]=(0,n.useState)(""),[p,m]=(0,n.useState)(!1),b=""!==u,v=(0,n.useRef)(null),x=t===rn.NavigationType.DEFAULT,w=(0,rF.useIsMobile)(),{pianoPreview:E}=(0,rj.useFeatureFlags)(),T=(0,n.useRef)(null);(0,n.useEffect)(()=>()=>{T.current&&clearTimeout(T.current)},[]);let C=(0,i.cn)({"motion-safe:duration-300 ease-in":p},b?"bg-black-coffee":x?"bg-brand-red":"transparent");(0,n.useEffect)(()=>{s?.(b)},[b,s]);let{loadDropdown:A}=(0,n.use)(tK.GlobalNavDataContext);(0,n.useEffect)(()=>{((e,t,r)=>{if(!e)return;if(!t)return(0,rB.resumeAllAdTimers)();if(!r)return;let n=Number.parseInt(globalThis.getComputedStyle(r).marginTop,10)||0,i=r.getBoundingClientRect().top<=n+5?{}:{leaderboard:rU.AD_SLOT_ID_LEADERBOARD};(0,rB.pauseAllAdTimers)(i)})(w,b,v.current)},[b,w]);let R=x||b?"light":"dark";return(0,r.jsxs)(t4,{value:u,ref:l,onValueChange:e=>f(e),className:(0,i.cn)("relative",!x&&"bg-ivory-white",e),...a,children:[(0,r.jsx)("div",{className:(0,i.cn)("absolute top-0 h-[var(--navigation-height-mobile)] w-full xl:top-2 xl:h-[calc(var(--navigation-height-desktop)-16px)] xl:w-[calc(100%-16px)]",C,e)}),(0,r.jsx)("div",{className:(0,i.cn)("flex flex-1 border-white",x?"h-[47px] lg:h-[52px] xl:h-[72px] xl:border-8 xl:border-ivory-white":"border-x-0 pt-0 xl:mt-2 xl:border-x-8",b?"h-[47px] bg-black-coffee lg:h-[52px]":x?"bg-brand-red":"bg-ivory-white xl:pt-2",b&&!x?"h-[47px] pt-0 lg:h-[54px]":b&&x?"mb-0 xl:mb-[-8px]":"",b||x?"":"h-[47px] lg:h-[52px] xl:h-[117px]"),children:(0,r.jsxs)(y.default,{className:o.navFrameGridStyles,children:[(0,r.jsx)(tB.default,{size:"md",className:"sr-only z-[
8100] inline-block !rounded-sm !px-4 !py-3 focus:not-sr-only focus:fixed",gtmData:{event:d.eventName.GLOBAL_NAVIGATION,clickText:"Skip to Content"},asChild:!0,children:(0,r.jsx)("a",{href:"#maincontent",children:"Skip to Content"})}),(0,r.jsxs)("div",{className:(0,i.cn)("relative flex h-full max-w-full flex-1 justify-between",b||x?"items-center":"items-center xl:items-start"),children:[(0,r.jsx)("div",{className:(0,i.cn)("flex flex-1 flex-row justify-between gap-6",!b&&!x&&"xl:mt-2",b&&!x&&"xl:mt-[2px]"),ref:v,children:(0,r.jsx)(t7,{children:(0,r.jsxs)(e7,{children:[(0,r.jsx)(t9,{className:"px-0",onPointerMove:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault(),asChild:!0,children:(0,r.jsx)(t3,{isOpen:b,theme:R,onClick:()=>{m(!0),T.current&&clearTimeout(T.current),T.current=setTimeout(()=>{m(!1),T.current=null},300)},onIntent:()=>{A()}})}),(0,r.jsx)(re,{onPointerEnter:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault(),className:"mt-0 flex flex-1 pt-0 motion-safe:animate-slidedown",children:(0,r.jsx)(t1,{})})]})})}),(0,r.jsx)("div",{className:"flex flex-1 justify-center motion-safe:duration-700",children:(0,r.jsx)(g,{color:x||b?void 0:rr.colors.brand.red,logoClass:(0,i.cn)("w-full transition-all ease-in-out motion-safe:duration-700",{"h-6 xl:h-[92px]":!x&&!b,"h-6":x})})}),(0,r.jsxs)("div",{className:"flex flex-1 items-center justify-end gap-2 sm:gap-3",children:[(0,r.jsx)(tB.default,{variant:"withIcon",theme:R,gtmData:{event:d.eventName.GLOBAL_NAVIGATION,clickText:"Subscribe"},asChild:!0,children:(0,r.jsxs)(h.default,{className:"flex h-[40px] items-center gap-2 text-xs",href:"/subscribe-header-time",children:["Subscribe",(0,r.jsx)(c,{className:"hidden sm:block",size:"1rem"})]})}),E&&(0,r.jsx)(rM,{})]})]})]})})]})});rz.displayName="Navigation";let rH=e=>document.querySelector(`[id="${e}"]`),rG=({className:e="",sections:t})=>(0,r.jsx)("nav",{children:(0,r.jsx)("ul",{className:(0,i.cn)("flex flex-row justify-start gap-10 overflow-x-auto whitespace-nowrap bg-ivory-white py-2 lg:justify-center xl:py-5",e),children:t.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)("div",{children:(0,r.jsx)(tB.default,{variant:"textLink",className:(0,i.cn)("py-2 text-cta-small uppercase text-warm-grey-1 no-underline",m.brandRedHoverClass),gtmData:{event:d.eventName.HOME_PAGE_NAVIGATION,clickText:e.title},asChild:!0,children:(0,r.jsx)(h.default,{href:`#${e.id}`,onClick:t=>((e,t)=>{e.preventDefault(),globalThis.location.hash!==`#${t}`&&globalThis.history.pushState(null,"",`${globalThis.location.pathname}${globalThis.location.search}#${t}`);let r=rH(t);if(r){let e;r.scrollIntoView({behavior:globalThis.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth",block:"start"}),(e=rH(t))&&(e.setAttribute("tabindex","-1"),e.focus({preventScroll:!0}),e.removeAttribute("tabindex"))}})(t,e.id),children:e.title})})})},e.title))})}),rW=({sections:e,onOpenChange:t})=>(0,r.jsxs)("div",{className:"bg-ivory-white",children:[(0,r.jsx)(rz,{type:a.NavigationType.HOME,onOpenChange:t}),(0,r.jsx)(y.default,{className:"border-t border-warm-grey-2 xl:border-t-0",children:(0,r.jsx)(rG,{sections:e})})]}),rq=e=>{let{type:t=a.NavigationType.DEFAULT,sections:n=[],onOpenChange:i}=e;switch(t){case a.NavigationType.DEFAULT:return(0,r.jsx)(rz,{onOpenChange:i});case a.NavigationType.HOME:return(0,r.jsx)(rW,{sections:n,onOpenChange:i});default:return(0,r.jsx)(r.Fragment,{})}};var r$=e.i(888426),rV=e.i(273361),rJ=e.i(657688),rY=e.i(954821);let rK=e=>{let{link:t,system:n,logoConnection:o,linkCta:s="View More",imageWidth:a=1,imageheight:l=1,onRequestClose:u}=e,{title:c,href:h}=t??{},{url:f,description:g}=o?.edges?.[0]?.node??{},y=(0,tG.usePathname)(),b=!!f,v=a/l;return(0,r.jsx)("div",{className:"mb-4 bg-warm-grey-3",id:n?.uid??"",children:(0,r.jsxs)("div",{className:"mx-auto grid max-w-[90rem] grid-cols-[1fr_auto] items-center gap-3 px-6 py-4 lg:grid-cols-[1fr_auto_1fr] lg:gap-24 lg:px-20 lg:py-6",children:[f&&(0,r.jsx)(rJ.default,{src:f,loader:(0,rV.getTimeImageLoader)(f),className:"h-3 w-max lg:h-5",width:a,height:l,sizes:`(max-width: ${rY.default.screens.lg}) calc(${v} * ${rY.default.spacing[3]}), calc(${v} * ${rY.default.spacing[5]})`,alt:g??""}),(0,r.jsxs)("span",{className:"space-y-3 text-black-coffee lg:col-start-2 lg:flex lg:items-center lg:space-x-5 lg:space-y-0 lg:overflow-hidden",children:[(0,r.jsx)("span",{className:"font-graphik text-body-small font-semibold lg:truncate lg:text-body-large lg:font-semibold",children:c}),(0,r.jsx)(p.default,{href:h??"",className:(0,i.cn)("col-start-1 flex flex-col lg:col-start-2 lg:flex-row lg:items-center lg:text-center",m.brandRedHoverClass,m.focusClass),gtmData:{event:d.eventName.INTERNAL_CLICK,componentType:d.componentType.crossSiteBannerLight,clickText:s??void 0,clickURL:h??void 0,pagePath:y},children:(0,r.jsxs)("span",{className:"inline-flex items-center gap-2 text-nowrap font-graphik text-cta-small uppercase",children:[(0,r.jsx)("span",{className:"[text-box:trim-both_cap_alphabetic]",children:s}),(0,r.jsx)(r$.ChevronRight,{className:"inline-block"})]})})]}),(0,r.jsx)("button",{className:(0,i.cn)("col-start-2 row-start-1 self-start justify-self-end lg:col-start-3 lg:row-span-1 lg:text-center",b?"row-span-2":"row-span-1",m.focusClass),"aria-label":"Close Banner",onClick:u,children:(0,r.jsx)(tP.CloseIcon,{className:"size-6"})})]})})},rZ=e=>
8{let t=e?.system?.uid,i=e?.link?.href,[o,s]=(0,n.useState)(!1),a=(0,tG.usePathname)(),l=!1;if(i&&a)try{let e=new URL(i).pathname,t=(0,tW.ensureTrailingSlash)(e),r=(0,tW.ensureTrailingSlash)(a);(e===a||r.startsWith(t))&&(l=!0)}catch{i.includes(a)&&(l=!0)}return!t||o||l?null:(0,r.jsx)(rK,{...e,onRequestClose:()=>{s(!0)}})};var rX=e.i(220924),rQ=e.i(305261);let r0=(0,n.forwardRef)(({className:e=""},t)=>(0,r.jsx)("div",{ref:t,id:"leaderboard-container",className:(0,i.cn)("flex min-h-[5.125rem] w-full items-center justify-center bg-warm-grey-ads py-4 lg:min-h-[18.625rem] lg:py-6",e),children:(0,r.jsx)(rQ.default,{id:rU.AD_SLOT_ID_LEADERBOARD,adSlotType:"leaderboard"})}));r0.displayName="LeaderboardAd",e.s(["default",0,r0],6443);let r1=(0,n.forwardRef)((e,t)=>{let[i,o]=(0,n.useState)(!0),s=(0,n.useRef)(null),a=(0,n.useRef)(),l=(0,n.useRef)(),u=(0,n.useRef)(!1),c=(0,n.useRef)(!1);return(0,n.useEffect)(()=>{if(!s.current||u.current)return;u.current=!0;let e=()=>{void 0!==a.current&&(clearTimeout(a.current),a.current=void 0)},t=()=>{void 0!==l.current&&(clearTimeout(l.current),l.current=void 0)},r=()=>{c.current=!0,o(!1)};return a.current=setTimeout(r,4e3),(0,rB.addGPTEventListener)("slotOnload",({slot:n})=>{n.getSlotElementId()!==rU.AD_SLOT_ID_LEADERBOARD||c.current||(t(),e(),o(!0),l.current=setTimeout(r,2e3))}),()=>{e(),t()}},[]),(0,r.jsx)(rX.default,{ref:t,className:"!z-[100003]",attached:i,distance:"none",children:(0,r.jsx)(r0,{ref:s})})});r1.displayName="StickyLeaderboard";let r2="pre-nav-container",r5=e=>{let{preNavContent:t,postNavContent:l,crossSiteBannerData:c=null,navigationType:d,navigationSections:h,includeStickyLeaderboard:f=!1}
8=e,[p,m]=(0,n.useState)(!1),g=d===a.NavigationType.HOME,y=(0,n.useRef)(null),b=(0,n.useRef)(null),v=(0,n.useRef)(null),x=(0,n.useRef)(null),w=(0,n.useRef)(null),{height:E,hasChanged:T,isReady:C}=u(w),{height:A,hasChanged:R,isReady:S}=u(y),I=A+E,{height:_,hasChanged:N,isReady:O}=u(b),{height:k,hasChanged:L,isReady:D}=u(v),{height:P,hasChanged:M,isReady:j}=u(x),B=S||O||D||j||C,[U,F]=((e=24,t=0)=>{let[r,i]=(0,n.useState)(0<e),[o,s]=(0,n.useState)(0<e),a=(0,n.useRef)(window.scrollY);return(0,n.useEffect)(()=>{let r=()=>{let r=window.scrollY,n=a.current,o=document.documentElement.scrollHeight-window.innerHeight;r<0||r>=o||(r>n?(i(r<e),s(r<=e)):(i(r>t),s(r<=t)),a.current=r)};return window.addEventListener("scroll",r,{passive:!0}),()=>window.removeEventListener("scroll",r)},[t,e]),[r,o]})(g||I+_>0?0:24,g?I+_-k:-1/0),z=(0,s.default)(U),H=(0,s.default)(F),G=R||N||L||M||T,W=G?z:U,q=G?H:F,$=g||I+_>0,V=P+k,J=W?V:P;return(0,n.useEffect)(()=>{let e=document.documentElement;e.style.setProperty("--header-page-extrusion",`${W?0:k}px`),e.style.setProperty("--header-page-intrusion",`${J}px`),e.style.setProperty("--header-page-intrusion-min",`${P}px`),e.style.setProperty("--header-page-intrusion-max",`${V}px`),e.style.setProperty("--header-page-intrusion-none","0px")},[J,V,P,W,k]),(0,r.jsxs)("header",{className:"contents",children:[f&&(0,r.jsx)(r1,{ref:w}),(0,r.jsx)("div",{id:r2,ref:y,children:t}),(0,r.jsx)("div",{ref:b,className:(0,i.cn)("relative",p?"z-[10002]":"z-[10000]"),children:g&&(0,r.jsx)(rq,{type:a.NavigationType.HOME,sections:h??[],onOpenChange:m})}),(0,r.jsx)("div",{ref:v,className:(0,i.cn)("w-full",p?"z-[100002]":"z-[100000]",g?"fixed":"sticky",$?"top-[calc(var(--header-page-extrusion)*-1)]":"top-0 translate-y-[calc(var(--header-page-extrusion)*-1)]",B&&o.headerMovementStyles,g&&(!k||q)&&"invisible opacity-0"),children:(0,r.jsx)(rq,{type:a.NavigationType.DEFAULT,onOpenChange:m})}),(0,r.jsxs)("div",{ref:x,className:(0,i.cn)("sticky z-[100] w-full",$?"top-[calc(var(--header-page-extrusion)*-1)]":"translate-y-[calc(var(--header-page-extrusion)*-1)]",B&&o.headerMovementStyles),style:{top:$?`calc((var(--header-page-extrusion) * -1) + ${k}px)`:`${k}px`},children:[c&&(0,r.jsx)(rZ,{...c}),l]})]})}},957786,e=>{"use strict";var t=e.i(843476),r=e.i(815316);let n=e.i(271645).forwardRef(({className:e,type:n,...i},o)=>(0,t.jsx)("input",{type:n,className:(0,r.cn)("flex h-10 w-full rounded-sm border border-solid border-white bg-ivory-white p-3 font-graphik text-body-small text-grey-1 transition-colors file:border-0 file:bg-transparent placeholder:text-grey-1 focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...i}));n.displayName="Input",e.s(["Input",0,n])},674400,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(324402),i=e.i(618566);let o=({source:e,setAuthModalVisibility:o})=>{let s=(0,i.useRouter)(),a=(0,i.usePathname)(),{displayLoginForm:l,isLoggedIn:u}=(0,n.default)(),c=r.default.useRef(!0);return(0,r.useEffect)(()=>{u||c.current&&(c.current=!1,l("modal"===e?{onLoggedIn:()=>{o?.(!1)}}:{onLoggedIn:()=>{s.push(a)}}))},[o,l,s,a,e,u]),(0,t.jsx)("div",{children:(0,t.jsx)("div",{id:"login-container"})})},s=({source:e,setAuthModalVisibility:o})=>{let s=(0,i.useRouter)(),{displayRegistrationForm:a,isLoggedIn:l}=(0,n.default)(),u=r.default.useRef(!0);return(0,r.useEffect)(()=>{l||u.current&&(u.current=!1,a({onLoggedIn:()=>{s.push("/account")}}))},[a,l,s,o,e]),(0,t.jsx)("div",{children:(0,t.jsx)("div",{id:"registration-container"})})};e.s(["default",0,({action:e,source:r,setAuthModalVisibility:n})=>(0,t.jsx)("div",{className:"bg-white",children:"login"===e?(0,t.jsx)(o,{source:r,setAuthModalVisibility:n}):(0,t.jsx)(s,{source:r,setAuthModalVisibility:n})})],674400)},963219,e=>{"use strict";var t,r,n,i,o,s,a,l,u,c,d,h,f,p,m,g,y,b,v,x,w,E,T,C,A,R,S,I,_,N,O,k,L,D,P,M,j,B,U,F,z=((t={}).ExclusiveArticle="exclusive",t.StandardArticle="standard",t),H=((r={}).HORIZONTAL="horizontal",r.VERTICAL="vertical",r.FULL_BLEED="fullbleed",r.SQUARE="square",r),G=((n={}).HORIZONTAL="horizontal",n.VERTICAL="vertical",n);(i={})[i.COUNT=3]="COUNT",(o={})[o.COUNT=3]="COUNT";var W=((s={}).LEFT="left",s.RIGHT="right",s.CENTER="center",s.LEFT_ALIGN_SMALL_TEXT="left-align-small-text",s.RIGHT_ALIGN_SMALL_TEXT="right-align-small-text",s.LEFT_ALIGN_LARGE_SMALL_TEXT="left-align-large-small-text",s.RIGHT_ALIGN_LARGE_SMALL_TEXT="right-align-large-small-text",s.ORIGINAL_SIZE_OF_IMAGE="original-size-image",s),q=((a={}).THREE_BY_TWO="3_2_single_column",a.FOUR_BY_FIVE="4_5_single_column",a.FOUR_BY_THREE="4_3_single_column",a.FULL_BLEED="16_9_single_column",a.FULL_BLEED_ORIGINAL="original_single_column",a.TWO_COLUMN_THREE_BY_TWO="3_2_two_column",a.TWO_COLUMN_FOUR_BY_THREE="4_3_two_column",a.TWO_COLUMN_FOUR_BY_FIVE="4_5_two_column",a.TWO_COLUMN_FOUR_BY_FIVE_THREE_BY_TWO="4_5_and_3_2_column",a),$=((l={}).StoryDescByline="StoryDescByline",l.BoxByline="BoxByline",l.SectionMain="SectionMain",l.SectionBoxSmallTag="SectionBoxSmallTag",l.SectionBoxByline="SectionBoxByline",l.TextOnly="TextOnly",l.People="People",l.Voices="Voices",l),V=((u={}).SMALL="SMALL",u.MEDIUM="MEDIUM",u),J=((c={}).HUNDRED="100",c.REPORT="report",c.LEADERS="leaders",c.STUDIO="studio",c.MADE_BY_HISTORY="made_by_history",c.
8CHARTER="charter",c.ALL_BUSINESS="all_business",c.IDEAS="ideas",c),Y=((d={}).INSTAGRAM="instagram",d.YOUTUBE="youtube",d.TWITTER="twitter",d.TIKTOK="tiktok",d.REDDIT="reddit",d.PINTEREST="pinterest",d.DATAWRAPPER="datawrapper",d.OMNYSTUDIO="omny-studio",d.FACEBOOK="facebook",d.VIMEO="vimeo",d),K=((h={}).IMAGE="image",h.VIDEO="medium-jw",h.FULL_WIDTH_VIDEO="fullwidth-jw",h.NO_MEDIA="no_media",h.MEDIUM="medium",h),Z=((f={}).DARK="dark",f.LIGHT="light",f),X=((p={}).HTML="ArticleBlocksHtml",p.PULLQUOTE="ArticleBlocksPullQuote",p.CUSTOM_PULLQUOTE="ArticleBlocksCustomPullQuote",p.STORY_SHOWCASE="ArticleBlocksStoryShowcase",p.INLINE_IMAGE="ArticleBlocksInlineImage",p.DATAWRAPPER="ArticleBlocksDatawrapper",p.INLINE_VIDEO="ArticleBlocksJwVideo",p.AP_EMBED="ArticleBlocksApEmbed",p.SPOTIFY_EMBED="ArticleBlocksSpotifyEmbed",p.NEWSLETTER_SIGNUP="ArticleBlocksNewsletterSignup",p.COLLECTION_ITEM_HTML="CollectionItemBlocksHtml",p.COLLECTION_ITEM_PULLQUOTE="CollectionItemBlocksPullQuote",p.COLLECTION_ITEM_STORY_SHOWCASE="CollectionItemBlocksStoryShowcase",p.COLLECTION_ITEM_INLINE_IMAGE="CollectionItemBlocksInlineImage",p.COLLECTION_ITEM_DATAWRAPPER="CollectionItemBlocksDatawrapper",p.COLLECTION_ITEM_INLINE_VIDEO="CollectionItemBlocksJwVideo",p.COLLECTION_ITEM_CUSTOM_PULLQUOTE="CollectionItemBlocksCustomPullQuote",p.COLLECTION_ITEM_AP_EMBED="CollectionItemBlocksApEmbed",p.COLLECTION_ITEM_SPOTIFY_EMBED="CollectionItemBlocksSpotifyEmbed",p.COLLECTION_ITEM_NEWSLETTER_SIGNUP="CollectionItemBlocksNewsletterSignup",p.PARTNER_ARTICLE_HTML="PartnerArticleBlocksHtml",p.PARTNER_ARTICLE_PULLQUOTE="PartnerArticleBlocksPullQuote",p.PARTNER_ARTICLE_STORY_SHOWCASE="PartnerArticleBlocksStoryShowcase",p.PARTNER_ARTICLE_INLINE_IMAGE="PartnerArticleBlocksInlineImage",p.PARTNER_ARTICLE_DATAWRAPPER="PartnerArticleBlocksDatawrapper",p.PARTNER_ARTICLE_INLINE_VIDEO="PartnerArticleBlocksJwVideo",p.PARTNER_ARTICLE_CUSTOM_PULLQUOTE="PartnerArticleBlocksCustomPullQuote",p.PARTNER_ARTICLE_AP_EMBED="PartnerArticleBlocksApEmbed",p.PARTNER_ARTICLE_CHARTER_NEWSLETTER="PartnerArticleBlocksCharterNewsletterInline",p.PAGE_HTML="PageBlocksHtml",p.PAGE_PULLQUOTE="PageBlocksPullQuote",p.PAGE_CUSTOM_PULLQUOTE="PageBlocksCustomPullQuote",p.PAGE_INLINE_IMAGE="PageBlocksInlineImage",p.PAGE_INLINE_VIDEO="PageBlocksJwVideo",p.PAGE_DATAWRAPPER="PageBlocksDatawrapper",p.ARCHIVE_HTML="ArchiveBlocksHtml",p.ARCHIVE_PULLQUOTE="ArchiveBlocksPullQuote",p.ARCHIVE_CUSTOM_PULLQUOTE="ArchiveBlocksCustomPullQuote",p.ARCHIVE_DATAWRAPPER="ArchiveBlocksDatawrapper",p.ARCHIVE_INLINE_IMAGE="ArchiveBlocksInlineImage",p.ARCHIVE_INLINE_VIDEO="ArchiveBlocksJwVideo",p.ARCHIVE_STORY_SHOWCASE="ArchiveBlocksStoryShowcase",p.ARCHIVE_AP_EMBED="ArchiveBlocksApEmbed",p.BRANDED_CONTENT_HTML="BrandedContentBlocksHtml",p.BRANDED_CONTENT_PULLQUOTE="BrandedContentBlocksPullQuote",p.BRANDED_CONTENT_STORY_SHOWCASE="BrandedContentBlocksStoryShowcase",p.BRANDED_CONTENT_INLINE_IMAGE="BrandedContentBlocksInlineImage",p.BRANDED_CONTENT_DATAWRAPPER="BrandedContentBlocksDatawrapper",p.BRANDED_CONTENT_CUSTOM_PULLQUOTE="BrandedContentBlocksCustomPullQuote",p.BRANDED_CONTENT_AP_EMBED="BrandedContentBlocksApEmbed",p.BRANDED_CONTENT_INLINE_VIDEO="BrandedContentBlocksJwVideo",p.AD="custom/ad",p.PARAGRAPH="core/paragraph",p.HORIZONTAL_RULE="gutenberg-custom-blocks/horizontal-rule",p.LIST="core/list",p.TITLE="gutenberg-custom-blocks/title-text",p.EMBED="core/embed",p.ELEVEN_LABS_AUDIO_NATIVE="custom/eleven-labs-audio-native",p.GALACTIC_WIDGET="custom/galactic-widget",p.BLOCKQUOTE="gutenberg-custom-blocks/blockquote",p.CORE_PULLQUOTE="core/pullquote",p.FEATURED_MEDIA="gutenberg-custom-blocks/featured-media",p.HEADING="core/heading",p.INLINE_RECIRC="gutenberg-custom-blocks/inline-recirc",p.PATTERN="core/block",p.TILE_RECIRC="gutenberg-custom-blocks/tile-recirc",p.COLLECTION_CATEGORY="CollectionCategory",p.SHORTCODE="core/shortcode",p.DIPTYCHE="gutenberg-custom-blocks/diptyche",p.COLLECTION_FEATURED_MEDIA="gutenberg-custom-blocks/collection-featured-media",p.COLLECTION_PROJECT_CREDIT="gutenberg-custom-blocks/collection-project-credit-group",p.COLLECTION_ARTICLE_POST="gutenberg-custom-blocks/collection-article-post",p.PODCAST_PLAYER="gutenberg-custom-blocks/the-brief-podcast-player",p);(m={}).YOUR_BRIEF="HomepageHomepageModulesYourBrief",m.FEATURED_SECTION="HomepageHomepageModulesSections",m.PEOPLE="HomepageHomepageModulesPeople",m.TIME_COVER="HomepageHomepageModulesTheCover",m.VOICES="HomepageHomepageModulesVoices",m.COLLECTIONS="HomepageHomepageModulesCollection",m.NEWSLETTER="HomepageHomepageModulesNewsletter",m.NEWS_OF_THE_DAY="HomepageHomepageModulesYourBriefBlockNewsOfTheDay",m.STORY_SHOWCASE="HomepageHomepageModulesYourBriefBlockStoryShowcase",m.PODCAST="podcast";var Q=((g={}).LOCAL="local",g.PROD="production",g.STAGING="staging",g.DEV="development",g.PREVIEW="preview",g);(y={}).AUTHORIZATION="Authorization",y.WWW_AUTHENTICATE="WWW-Authenticate",(b={}).RESTRICTED_AREA='Basic realm="Restricted Area"',b.UNAUTHORIZED="Unauthorized";var ee=((v={}).ELEVENLABS="feat-audio",v.MADE_BY_HISTORY="made-by-history",v.E_COMMERCE="e-commerce",v),et=((x={}).ARTICLE="article",x.BRANDED_CONTENT="brandedContent",x.BRANDED_CONTENT_LANDING_HUB="brandedContentLandingHub",x.COLLECTION_HUB="collectionHub",x.COLLECTION_ITEM="collectionItem",x.HOMEPAGE="homepage",x.VAULT="vault",x.MAGAZINE="magazine",x.PARTNER_ARTICLE="partnerArticle",x),er=((w={}).Article="Article",w.BrandedContent="BrandedContent",w.PartnerArticle="PartnerArticle",w),en=((E={}).FILTERS="filters",E);(T={}).DEFAULT="default",T.RELATED_STORIES="related",T.COVER="cover",T.FOCUSED="focus",T.VAULT_ISSUE_OVERVIEW="vault-issue-overview",(C={}).HERO="hero",C.INLINE="inline",C.DEFAULT="default";var ei=((A={}).SQUARE="/images/missing-image-1x1.svg",A.RECTANGLE="/images/missing-image-16x9.svg",A),eo=((R={}).DEFAULT="The iconic red rectangular TIME logo with the word 'TIME' in white, bold, uppercase serif letters.",R);(S={}).PREVIOUS="prev",S.NEXT="next",S.RESET="reset";var es=((I={}).DEFAULT="default",I.HOME="home",I),ea=((_={}).YOUR_BRIEF="Your Brief",_.COVER="The Cover",_.PEOPLE="People",_.IDEAS="Ideas",_.COLLECTIONS="Collections",_.GAMES="Games",_);(N={}).BASEURL="https://time.com/",N.VAULT="https://time.com/vault/",N.VIDEO="https://time.com/video/";var el=((O={}).SCHEMA="https://schema.org",O);(k={}).TAG="POST_TAG",k.SECTION="TIME_SECTION",k.AUTHOR="AUTHOR_PAGE";var eu=((L={}).MAX_IMAGE_PREVIEW="max-image-preview:large",L),ec=((D={}).ARTICLE="Article",D.PARTNER_ARTICLE="PartnerArticle",D.ARCHIVE="Archive",D),ed=((P={}).Author="AUTHOR",P.Section="SECTION",P.Tag="TAG",P.Subject="SUBJECT",P.PartnerContentHub="PARTNER_CONTENT_HUB",P.PartnerContentTag="PARTNER_CONTENT_TAG",P),eh=((M={}).INVERTED="inverted",M.DEFAULT="default",M.NO_MEDIA_STANDARD_ARTICLE="no-media-standard-article",M),ef=((j={}).RATIO_16_9="16:9",j.RATIO_9_16="9:16",j.RATIO_4_3="4:3",j.RATIO_1_1="1:1",j),ep=((B={}).ACCOUNT="/account/",B.ACCOUNT_NEWSLETTERS="/account/newsletters/",B.ACCOUNT_ACHIEVEMENTS="/account/achievements/",B.ACCOUNT_PREFERENCES="/account/preferences/",B.REGISTER="/account/register/",B.LOGIN="/account/login/",B.MY_FEED="/account/my-feed/",B.NEWSLETTERS="/newsletters",B),em=((U={}).Article="Article",U.PartnerArticle="PartnerArticle",U.CollectionItem="CollectionItem",U.CollectionHub="CollectionHub",U),eg=((F={}).CHARTER="charter",F.PREDICTION_MARKET="prediction-markets",F);e.s(["APP_ENV",()=>Q,"ArticleListFilterType",()=>ed,"ArticleTemplateType",()=>z,"ArticleType",()=>ec,"CarouselOrientation",()=>G,"ContentBlockNames",()=>X,"ContentStackTypename",()=>er,"DefaultNavigationSections",()=>ea,"FallBackTimeImage",()=>ei,"FallBackTimeImageAlt",()=>eo,"FeaturedCardSize",()=>V,"FeaturedCardVariant",()=>$,"Filters",()=>en,"HomepageMapperContentTypes",()=>em,"ImageAlignment",()=>W,"JWVideoAspectRatio",()=>ef,"JsonLdContext",()=>el,"MediaOrientation",()=>H,"MediaType",()=>K,"MetaRobots",()=>eu,"NavigationType",()=>es,"PageType",()=>et,"PartnerType",()=>eg,"PathNames",()=>ep,"PreferredSourceVariation",()=>eh,"SecondaryBrandTag",()=>J,"SocialMediaPlatforms",()=>Y,"StoryShowcaseColumn",()=>q,"Tags",()=>ee,"Theme",()=>Z])},920247,e=>{"use strict";var t=e.i(963219);t.DefaultNavigationSections.YOUR_BRIEF,t.DefaultNavigationSections.COVER,t.DefaultNavigationSections.PEOPLE,t.DefaultNavigationSections.IDEAS,t.DefaultNavigationSections.COLLECTIONS,t.DefaultNavigationSections.GAMES,e.s([])},917591,e=>{"use strict";let t={...e.i(954821).colors,brand:{red:"#E7131A","dark-red":"#820001"},"ivory-white":"#FFFCF8",white:"#FFFFFF",transparent:"#FFFFFF00","black-coffee":"#1B1B1B","dark-grey":"#12101A","grey-1":"#594D46","grey-2":"#484848","grey-3":"#D9D9D9","warm-grey-1":"#8B7162","warm-grey-2":"#D1C5BE","warm-grey-3":"#FCF3ED","warm-grey-ads":"#EFE3DC","podcast-base":"#282828","game-gray":"#F4F0EB","game-gray-2":"#AEB0B2","game-incorrect":"#69858E","timer-green":"#1DB954","timer-gold":"#C9A84C","timer-red":"#CC0000","time-black":"#000000",paper:"#F5F3EE",rule:"#E2E0DB",mute:"#6B6B6B"};e.s(["colors",0,t])},184627,230940,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(675792);
8class i extends Error{}i.prototype.name="InvalidTokenError";let o="__utp";e.s(["PIANO_COUNTRY_COOKIE_NAME",0,"user_country_code","PIANO_TOKEN_COOKIE_NAME",0,o],230940);let s=(0,r.createContext)(void 0);e.s(["PianoUserProvider",0,({children:e})=>{let[a,l]=(0,r.useState)(()=>{let e=(0,n.getCookie)(o);if(e){let t=(e=>{try{return function(e,t){let r;if("string"!=typeof e)throw new i("Invalid token specified: must be a string");t||(t={});let n=+(!0!==t.header),o=e.split(".")[n];if("string"!=typeof o)throw new i(`Invalid token specified: missing part #${n+1}`);try{r=function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw Error("base64 string is not of the correct length")}try{var r;return r=t,decodeURIComponent(atob(r).replace(/(.)/g,(e,t)=>{let r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}catch(e){return atob(t)}}(o)}catch(e){throw new i(`Invalid token specified: invalid base64 for part #${n+1} (${e.message})`)}try{return JSON.parse(r)}catch(e){throw new i(`Invalid token specified: invalid json for part #${n+1} (${e.message})`)}}(e)}catch{return null}})(e);if(t)return{...t,uid:t.uid||t.sub}}return null}),[u,c]=(0,r.useState)(()=>(0,n.getCookie)(o)?"authenticated":"unauthenticated"),d=(0,r.useRef)(a);(0,r.useEffect)(()=>{d.current=a},[a]);let h=(0,r.useCallback)((e,t)=>{d.current=e,l(e),c(e?"authenticated":"unauthenticated"),e?t&&(0,n.setCookie)(o,t):(0,n.deleteCookie)(o)},[]),f=(0,r.useCallback)(e=>{c(e)},[]),p=(0,r.useCallback)(()=>{d.current=null,l(null),c("unauthenticated"),(0,n.deleteCookie)(o)},[]),m=(0,r.useCallback)(()=>d.current,[]),g=(0,r.useMemo)(()=>({user:a,status:u,isLoggedIn:"authenticated"===u&&!!a,setUser:h,setStatus:f,getUser:m,clear:p}),[a,u,h,f,m,p]);return(0,t.jsx)(s.Provider,{value:g,children:e})},"usePianoUserContext",0,function(){let e=(0,r.useContext)(s);if(!e)throw Error("usePianoUser must be used within PianoUserProvider");return e}],184627)},397099,e=>{"use strict";e.s(["checkUserExists",()=>i,"createFirebaseUser",()=>o,"default",()=>s]);var t=e.i(271645),r=e.i(324402),n=e.i(778497);let i=async e=>{if(!e)return!1;try{let t=await fetch(`/regapi/firebase/user/?uid=${e}`);if(t.ok)return await t.json()}catch(t){(0,n.logError)({message:"[checkUserExists] Error fetching user",error:t,context:{source:"useFirestore.checkUserExists",uid:e}})}return!1},o=async e=>{if(!e?.uid)return null;try{let t=await fetch("/regapi/firebase/user/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(t.ok)return await t.json()}catch(t){(0,n.logError)({message:"[createFirebaseUser] Error creating user",error:t,context:{source:"useFirestore.createFirebaseUser",uid:e.uid}})}return null},s=()=>{let{user:e}=(0,r.default)(),i=(0,t.useCallback)(async t=>{if(!e?.uid)return{newlyUnlockedAchievements:[]};try{let r=await fetch("/regapi/firebase/session/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({uid:e.uid,email:e.email,firstName:e.firstName,session:t})});if(r.ok)return await r.json()}catch(t){(0,n.logError)({message:"[ensureUserAndAppendSession] Error appending session",error:t,context:{source:"useFirestore.ensureUserAndAppendSession",uid:e.uid}})}return{newlyUnlockedAchievements:[]}},[e]),o=(0,t.useCallback)(async()=>{if(!e?.uid)return{user:null,allAchievements:[],unlockedAchievements:[]};try{let t=await fetch(`/regapi/firebase/achievements/?uid=${e.uid}`);if(t.ok)return await t.json()}catch(t){(0,n.logError)({message:"[getUserAchievements] Error fetching achievements",error:t,context:{source:"useFirestore.getUserAchievements",uid:e?.uid}})}return{user:null,allAchievements:[],unlockedAchievements:[]}},[e]),s=(0,t.useCallback)(async t=>{let r=e?.uid||t;if(!r)return[[],void 0];try{let e=await fetch(`/regapi/firebase/following/?uid=${r}`,{cache:"no-store"});if(e.ok){let{following:t}=await e.json();return[t,r]}}catch(e){(0,n.logError)({message:"[getFollowing] Error fetching following list",error:e,context:{source:"useFirestore.getFollowing",uid:r}})}return[[],r]},[e?.uid]),a=(0,t.useCallback)(async(t,r)=>{(0,n.logDebug)({message:"[useFirestore] follow",context:{item:t,uid:r}});let i=r||e?.uid;if(i&&!(await fetch("/regapi/firebase/following/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({uid:i,item:t,action:"follow"})})).ok)throw Error("Failed to follow item")},[e?.uid]);return{ensureUserAndAppendSession:i,getUserAchievements:o,follow:a,unfollow:(0,t.useCallback)(async(t,r)=>{(0,n.logDebug)({message:"[useFirestore] unfollow",context:{item:t,uid:r}});let i=r||e?.uid;if(i)try{if(!(await fetch("/regapi/firebase/following/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({uid:i,item:t,action:"unfollow"})})).ok)throw Error("Failed to unfollow item")}catch(e){throw(0,n.logError)({message:"[unfollow] Error unfollowing item",error:e,context:{source:"useFirestore.unfollow",uid:i,item:t}}),e}},[e?.uid]),isObjectFollowed:(0,t.useCallback)(async(e,t)=>{let[r]=await s(),n=String(e);return t?r.some(e=>
8e.type===t&&String(e.system?.uid)===n):r.some(e=>String(e.system?.uid)===n)},[s]),getFollowing:s}}},818622,e=>{"use strict";var t=e.i(271645);let r=e=>{let[r,n]=(0,t.useState)();return(0,t.useEffect)(()=>{let t=window.matchMedia(e);queueMicrotask(()=>{n(t.matches)});let r=e=>n(e.matches);return t.addEventListener("change",r),()=>t.removeEventListener("change",r)},[e]),r};e.s(["useIsDesktop",0,()=>r("(min-width: 1025px)"),"useIsMobile",0,()=>r("(max-width: 1024px)")])},60521,e=>{"use strict";var t=e.i(271645);e.s(["usePianoReady",0,function(){let[e,r]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{window.tp=window.tp||[],window.tp.push(["init",function(){r(!0)}]),window.tp?.pianoId&&setTimeout(()=>r(!0),0)},[]),e}])},324402,520595,e=>{"use strict";e.s(["default",()=>b],324402);var t=e.i(271645),r=e.i(184627),n=e.i(60521),i=e.i(397099),o=e.i(618566),s=e.i(675792),a=e.i(230940);let l=async()=>{try{let e=(0,s.getCookie)(a.PIANO_COUNTRY_COOKIE_NAME);if(e)return e.toUpperCase();let t=await fetch("https://id.tinypass.com/id/api/v1/userAgentData");if(!t.ok)return;let r=await t.json(),n=(r.country_code||void 0)?.toString().toUpperCase();return n&&(0,s.setCookie)(a.PIANO_COUNTRY_COOKIE_NAME,n,new Date(Date.now()+2592e6)),n}catch{return}},u=async()=>{let e=window.tp||[];return new Promise(t=>{e.pianoId&&"function"==typeof e.pianoId.loadExtendedUser?(e.pianoId.loadExtendedUser({formName:"RegistrationFields",extendedUserLoaded:e=>{t(e)}}),setTimeout(()=>{t(null)},2e3)):t(null)})};e.s(["defaultAuthors",0,[{url:"/author/justin-worland/",title:"Justin Worland",author_title:"Senior Correspondent",system:{uid:"blt68f233b2f2d1fd37"}},{url:"/author/alice-park/",title:"Alice Park",author_title:"Senior Correspondent",system:{uid:"blta3e67989bc36af4c"}},{url:"/author/philip-elliott/",title:"Philip Elliott",author_title:"Senior Correspondent",system:{uid:"blte4d25627c0d0d28d"}},{url:"/author/angela-haupt/",title:"Angela Haupt",author_title:"",system:{uid:"bltf953ff6df6b9f15e"}},{url:"/author/belinda-luscombe/",title:"Belinda Luscombe",author_title:"Editor at Large",system:{uid:"blt7827cb26874b67f7"}},{url:"/author/jeffrey-kluger/",title:"Jeffrey Kluger",author_title:"Editor at Large",system:{uid:"blt8e25d24c4d4719c4"}},{url:"/author/sean-gregory/",title:"Sean Gregory",author_title:"Senior Correspondent",system:{uid:"bltbea15f58738aa6c0"}},{url:"/author/charlie-campbell/",title:"Charlie Campbell",author_title:"Editor at Large",system:{uid:"bltf4bc48b77dc61832"}},{url:"/author/stephanie-zacharek/",title:"Stephanie Zacharek",author_title:"Film Critic",system:{uid:"bltde2129cb0b2368a1"}},{url:"/author/billy-perrigo/",title:"Billy Perrigo",author_title:"Correspondent",system:{uid:"blt95ccacfbfcedbe43"}},{url:"/author/judy-berman/",title:"Judy Berman",author_title:"TV Critic",system:{uid:"blt2483568d9a42ce72"}},{url:"/author/andrew-r-chow/",title:"Andrew R. Chow",author_title:"Correspondent",system:{uid:"bltd9e493a9ad7aec14"}},{url:"/author/eric-cortellessa/",title:"Eric Cortellessa",author_title:"Correspondent",system:{uid:"blt46bdbe1712d4e8b9"}},{url:"/author/julia-terruso/",title:"Julia Terruso",author_title:"Senior Correspondent",system:{uid:"bltd82fb9c572d7feb1"}}],"defaultSections",0,[{title:"Health",url:"/section/health/",system:{uid:"blt2635371edb37dca0"}},{title:"Politics",url:"/section/politics/",system:{uid:"bltb69c6c169d0ae489"}},{title:"Science",url:"/section/science/",system:{uid:"blte5fcc404cf67b21b"}},{title:"Sports",url:"/section/sports/",system:{uid:"blt8eae694705a47ee5"}},{title:"U.S.",url:"/section/us/",system:{uid:"bltcb8ba7cad9d354f9"}},{title:"World",url:"/section/world/",system:{uid:"blt2eb77fd4147b5807"}},{title:"Ideas",url:"/section/ideas/",system:{uid:"bltc46ed6a8b305a75e"}},{title:"History",url:"/section/history/",system:{uid:"bltfcb0d79d878bb4cc"}},{title:"Entertainment",url:"/section/entertainment/",system:{uid:"blt52731aff37ebfb52"}},{title:"Business",url:"/section/business/",system:{uid:"blt53097ffea4195845"}}]],629038);var c=e.i(629038);e.s(["defaultAuthors",0,[{url:"/author/alice-park/",title:"Alice Park",author_title:"Senior Correspondent",system:{uid:"bltff83f4e890222959"}},{url:"/author/philip-elliott/",title:"Philip Elliott",author_title:"Senior Correspondent",system:{uid:"blt734123556d5563cf"}}
8,{url:"/author/angela-haupt/",title:"Angela Haupt",author_title:"",system:{uid:"blt3c582c73b2c682ff"}},{url:"/author/belinda-luscombe/",title:"Belinda Luscombe",author_title:"Editor at Large",system:{uid:"bltd6202572bfe086d5"}},{url:"/author/jeffrey-kluger/",title:"Jeffrey Kluger",author_title:"Editor at Large",system:{uid:"blt101f217ee46e921c"}},{url:"/author/sean-gregory/",title:"Sean Gregory",author_title:"Senior Correspondent",system:{uid:"blt0b0675f8b4be3726"}},{url:"/author/stephanie-zacharek/",title:"Stephanie Zacharek",author_title:"Film Critic",system:{uid:"blt5140938295b3d4b9"}},{url:"/author/billy-perrigo/",title:"Billy Perrigo",author_title:"Correspondent",system:{uid:"blt0ad978a78f18953f"}},{url:"/author/andrew-r-chow/",title:"Andrew R. Chow",author_title:"Correspondent",system:{uid:"blta71ed5c38ae2d553"}}],"defaultSections",0,[{title:"Health",url:"/section/health/",system:{uid:"blt376209e260b5f856"}},{title:"Politics",url:"/section/politics/",system:{uid:"blt759c3d5c3effde68"}},{title:"Science",url:"/section/science/",system:{uid:"blt22aabda0bf7d90ea"}},{title:"Sports",url:"/section/sports/",system:{uid:"blt90735fb1347d1d4a"}},{title:"U.S.",url:"/section/us/",system:{uid:"bltab463985aca97b1d"}},{title:"World",url:"/section/world/",system:{uid:"blt36bd341665b95194"}},{title:"Ideas",url:"/section/ideas/",system:{uid:"blt8dac7758f0c0a6ff"}},{title:"History",url:"/section/history/",system:{uid:"blt07daea60ce658388"}},{title:"Entertainment",url:"/section/entertainment/",system:{uid:"blt430820ec96094847"}},{title:"Business",url:"/section/business/",system:{uid:"blt89864ba92a193b92"}}]],550093),e.i(550093),e.s(["defaultAuthors",0,[{url:"/author/justin-worland/",title:"Justin Worland",author_title:"Senior Correspondent",system:{uid:"blt4c3ff68f355165b2"}},{url:"/author/alice-park/",title:"Alice Park",author_title:"Senior Correspondent",system:{uid:"bltff83f4e890222959"}},{url:"/author/philip-elliott/",title:"Philip Elliott",author_title:"Senior Correspondent",system:{uid:"blt734123556d5563cf"}},{url:"/author/angela-haupt/",title:"Angela Haupt",author_title:"",system:{uid:"blt3c582c73b2c682ff"}},{url:"/author/belinda-luscombe/",title:"Belinda Luscombe",author_title:"Editor at Large",system:{uid:"bltd6202572bfe086d5"}},{url:"/author/jeffrey-kluger/",title:"Jeffrey Kluger",author_title:"Editor at Large",system:{uid:"blt101f217ee46e921c"}},{url:"/author/charlie-campbell/",title:"Charlie Campbell",author_title:"Editor at Large",system:{uid:"bltb54e24eff889b03b"}},{url:"/author/billy-perrigo/",title:"Billy Perrigo",author_title:"Correspondent",system:{uid:"blt0ad978a78f18953f"}},{url:"/author/andrew-r-chow/",title:"Andrew R. Chow",author_title:"Correspondent",system:{uid:"blta71ed5c38ae2d553"}}],"defaultSections",0,[{title:"Health",url:"/section/health/",system:{uid:"blt376209e260b5f856"}},{title:"Politics",url:"/section/politics/",system:{uid:"blt759c3d5c3effde68"}},{title:"Science",url:"/section/science/",system:{uid:"blt22aabda0bf7d90ea"}},{title:"Sports",url:"/section/sports/",system:{uid:"blt90735fb1347d1d4a"}},{title:"U.S.",url:"/section/us/",system:{uid:"bltab463985aca97b1d"}},{title:"World",url:"/section/world/",system:{uid:"blt36bd341665b95194"}},{title:"Ideas",url:"/section/ideas/",system:{uid:"blt8dac7758f0c0a6ff"}},{title:"History",url:"/section/history/",system:{uid:"blt07daea60ce658388"}},{title:"Entertainment",url:"/section/entertainment/",system:{uid:"blt430820ec96094847"}},{title:"Business",url:"/section/business/",system:{uid:"blt89864ba92a193b92"}}]],429775),e.i(429775);let d=c??c;d.defaultSections,d.defaultAuthors;var h=e.i(778497);let f=async(e,t)=>{let r=await l();fetch("/regapi/user/post-registration/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e.email,firstName:e.given_name,lastName:e.family_name,country:r,agreeToPromotions:t})})};e.s(["getFollowingParams",0,e=>{let t=[],r=[],n=[];for(let i of e){let e=i.system?.uid;if(!e){(0,h.logWarn)({message:"[getFollowingParams] dropping follow item with no system.uid",context:{type:i?.type,title:i?.title}});continue}let o=String(e);switch(i.type){case"author":t.push(o);break;case"section":r.push(o);break;case"tag":n.push(o);break;default:(0,h.logWarn)({message:"[getFollowingParams] dropping follow item with unknown type",context:{type:i?.type,uid:o}})}}return{authorUids:t.slice(0,10),sectionUids:r.slice(0,10),tagUids:n.slice(0,10)}},"getTypeFromUrl",0,e=>{let t=e.trim();if(!t)return null;let r=t.split("/").filter(e=>e.length>0);return 0===r.length?null:r[0]},"sendPostRegistrationRequest",0,f],520595);var p=e.i(387644),m=e.i(19477),g=e.i(212044);let y=async()=>{let e=await l();return"US"===e||"USA"===e?"us":"global"},b=()=>{let e=(0,r.usePianoUserContext)(),s=(0,n.usePianoReady)(),a=(0,o.useRouter)(),l=(0,t.useCallback)(async e=>{let t=await u(),r={...e.user,uid:e.user.uid||e.user.sub};await (0,i.createFirebaseUser)(r);let n=(e=>{let t={};if(e)for(let r of e)t[r.field_name]=r.value;return t})(t?.custom_field_values),o="us"===await y()?"true"===n.marketing_consent_us:"true"===n.marketing_consent_global;await f(e.user,o),(0,p.sendGTMEvent)({event:m.eventName.REGISTRATION_COMPLETE,method:e.user.ls??"ID"}),(0,g.marfeelTrackConversion)("Registration Piano")},[]),c=(0,t.useCallback)((t,r)=>{let n={...t.user,uid:t.user.uid||t.user.sub};e.isLoggedIn&&e.user?.uid===n.uid||(e.setUser(n,t.token),a.refresh(),r?.({...t,user:n}))},[e,a]),d=(0,t.useCallback)(t=>{e.isLoggedIn||(async()=>{let e=await y();(window.tp||[]).push(["init",function(){window.tp.pianoId.show({screen:"register",stage:e,displayMode:"inline",containerSelector:"#registration-container",loggedIn:e=>c(e,t?.onLoggedIn),registrationSuccess:l,...t})}])})()},[c,e.isLoggedIn,l]),h=(0,t.useCallback)(t=>{e.isLoggedIn||(async()=>{let e=await y();(window.tp||[]).push(["init",function(){window.tp.pianoId.show({screen:"login",stage:e,displayMode:"inline",containerSelector:"#login-container",loggedIn:e=>c(e,t?.onLoggedIn),registrationSuccess:l,...t})}])})()},[c,e.isLoggedIn,l]),b=(0,t.useCallback)(()=>
8{if(!s)return;let e=window.tp||[];e.push(["init",function(){e.myaccount.show({displayMode:"inline",containerSelector:"#personal-information"})}])},[s]),v=(0,t.useCallback)(()=>{if(!s)return;let e=window.tp||[];e.push(["init",function(){if(e.user.isUserValid())return;let t=location.search.match(/reset_token=([\dA-Za-z]+)/);if(t){let r=t[1];e.pianoId.show({resetPasswordToken:r,loggedIn:e=>c(e),displayMode:"inline",containerSelector:"#reset-p-container"})}}])},[s,c]),x=(0,t.useCallback)(async t=>{let r=window.tp||[];await r.pianoId.logout(),e.clear(),a.refresh(),t?.()},[e,a]);return{user:e.user,isLoggedIn:e.isLoggedIn,status:e.status,displayRegistrationForm:d,displayLoginForm:h,displayPersonalInformationForm:b,displayResetPasswordForm:v,logout:x}}},296088,e=>{"use strict";var t=e.i(271645);let r="(prefers-reduced-motion: no-preference)";e.s(["default",0,()=>{let[e,n]=(0,t.useState)(!0);return(0,t.useEffect)(()=>{let e=window.matchMedia(r);queueMicrotask(()=>{n(!window.matchMedia(r).matches)});let t=e=>{n(!e.matches)};return e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}},[]),e}])},571266,e=>{"use strict";var t=e.i(271645);e.s(["default",0,e=>{let r=(0,t.useRef)();return(0,t.useEffect)(()=>{r.current=e},[e]),r.current}])},824207,e=>{"use strict";var t=e.i(271645);e.s(["default",0,(e,r)=>{let n=(0,t.useRef)(r);(0,t.useEffect)(()=>{n.current=r},[r]),(0,t.useEffect)(()=>{let t=e.current;if(!t)return;let r=new ResizeObserver(e=>{n.current(e)});return r.observe(t),()=>{r.disconnect()}},[e])}])},290649,e=>{"use strict";var t=e.i(271645);let r="data-pageref",n="data-contenttype",i="data-locale";e.s(["ContentstackExtensionBodyAttributes",0,function({pageRef:e,contentTypeUid:o,locale:s}){return(0,t.useEffect)(()=>{let t=document.body;return t.setAttribute(r,e),t.setAttribute(n,o),t.setAttribute(i,s),()=>{t.removeAttribute(r),t.removeAttribute(n),t.removeAttribute(i)}},[e,o,s]),null}])},797510,e=>{"use strict";var t,r,n=e.i(843476),i=e.i(617870);let o=i.default.default||i.default;(t=r||(r={})).Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype",r.Root,r.Text,r.Directive,r.Comment,r.Script,r.Style,r.Tag,r.CDATA,r.Doctype;var s=e.i(218369);e.s(["SanitizedPlainText",0,({text:e})=>{if(!e)return(0,n.jsx)(n.Fragment,{});let t={replace:e=>e.type!==r.Tag&&e.type!==r.Text?(0,n.jsx)(n.Fragment,{}):e.type===r.Tag?(0,n.jsx)(n.Fragment,{children:(0,i.domToReact)(e.children,t)}):void 0};return o((0,s.sanitizePlainText)(e),t)},"SanitizedRichText",0,({html:e,options:t})=>{let r=(0,s.sanitizeRichText)(e);return r?o(r,t):null},"SanitizedTitle",0,({text:e})=>{if(!e)return(0,n.jsx)(n.Fragment,{});let t={replace(e){if(e.type!==r.Tag&&e.type!==r.Text)return(0,n.jsx)(n.Fragment,{});if("name"in e)switch(e.name){case"i":return(0,n.jsx)("i",{children:(0,i.domToReact)(e.children,t)});case"em":return(0,n.jsx)("em",{children:(0,i.domToReact)(e.children,t)});default:return(0,n.jsx)(n.Fragment,{children:(0,i.domToReact)(e.children,t)})}}};return o((0,s.sanitizeTitle)(e),t)}],797510)},218369,e=>{"use strict";var t=e.i(544821),r=e.i(988509),n=e.i(963219);let i=["i","em"],o=["id","class","href","target","title","src","type"],s=new Set([n.SocialMediaPlatforms.YOUTUBE,n.SocialMediaPlatforms.VIMEO]),a={allowedTags:[],allowedAttributes:{}},l={allowedTags:["a","p","h1","h2","h3","h4","h5","h6","strong","em","u","s","code","ul","ol","li","br","hr","sub","sup","strike","table","caption","thead","colgroup","col","th","tbody","tr","td","tfoot","img","video","source","figure","figcaption","section","blockquote","iframe"],allowedAttributes:{"*":[...o,"data-*","aria-*"],iframe:[...o,"width","height","frameborder","allow","allowfullscreen","data-*","aria-*"]},exclusiveFilter:e=>"iframe"===e.tag&&!s.has((0,r.detectProvider)(e.attribs.src??""))};function u(e){return(0,t.default)(e,a).replaceAll("&amp;","&").replaceAll(/\s+/g," ").trim()}e.s(["sanitizeMetadata",0,function e(t){if("string"==typeof t)return u(t);if(null==t||"number"==typeof t||"boolean"==typeof t)return t;if(Array.isArray(t))return t.map(t=>e(t));if("object"==typeof t){let r={};for(let[n,i]of Object.entries(t))r[n]=e(i);return r}return t},"sanitizePlainText",0,u,"sanitizeRichText",0,function(e,r=l){return e?(0,t.default)(e,r):""},"sanitizeTitle",0,function(e){return(0,t.default)(e,{allowedTags:i,allowedAttributes:{}}).replaceAll(/\s+/g," ").trim()}])},19477,e=>{"use strict";var t=e.i(675792),r=e.i(963219);let n={GLOBAL_FOOTER:"globalFooter",GLOBAL_NAVIGATION:"globalNavigation",INTERNAL_CLICK:"internalClick",TABOOLA_VIEW:"taboola_view",RECIRC_CLICK:"recircClick",PAGEDATA:"pageData",NOT_FOUND:"404",HOME_PAGE_CLICK:"homepageClick",MAGAZINE_CLICK:"magazineClick",HOME_PAGE_NAVIGATION:"homepageNavigation",BRIEF_PODCAST_PLAY:"audioPlay",BRIEF_PODCAST_PAUSE:"audioPause",BRIEF_PODCAST_COMPLETE:"audioComplete",FORM_SUBMIT:"formSubmit",SYSTEM_ERROR:"systemError",SYSTEM_RESPONSE:"systemResponse",PREFERRED_SOURCE_IMPRESSION:"preferredSourceImpression",PREFERRED_SOURCE_TOOLTIP_SHOWN:"preferredSourceTooltipShown",PREFERRED_SOURCE_TOOLTIP_DISMISS:"preferredSourceTooltipDismiss",PREFERRED_SOURCE_CLICK:"preferredSourceClick",NEWSLETTER_SIGNUP:"newsletterSignup",PARTNER_ARTICLE_CLICK:"partnerArticleClick",PARTNER_ARTICLE_LANDING_CLICK:"partnerArticleLandingClick",GAME_START:"gameStart",GAME_END:"gameEnd",QUESTION_ANSWERED:"questionAnswered",FOLLOW_CLICK:"followClick",
8LOGIN_BEGIN:"login_begin",REGISTRATION_BEGIN:"registration_begin",LOGIN_COMPLETE:"login_complete",REGISTRATION_COMPLETE:"registration_complete",LOGIN_FAILED:"login_failed",REGISTRATION_FAILED:"registration_failed",NEWSLETTER_SUBSCRIBE:"newsletter_subscribe",NEWSLETTER_UNSUBSCRIBE:"newsletter_unsubscribe",EXPANDABLE_ACTION_BAR_NEWSLETTER_SIGNUP:"expandableActionBar_newsletterSignUp",EXPANDABLE_ACTION_BAR_AUDIO_TRAY_EXPERIMENT:"expandableActionBar_audioTrayExperiment"},i={primaryRow:"primary row",secondaryRow:"secondary row",homepage:"homepage",pagination:"pagination"},o={standard:"standard hero",exclusive:"exclusive hero",standardArticleAuthor:"standard hero_author modal",exclusiveArticleAuthor:"exclusive hero_author modal",taboola:"taboola",endOfArticle:"end of article",hubHero:"hub hero",itemHero:"item hero",itemBody:"item body",itemCard:"item card",itemList:"item list",itemHeroAuthor:"item hero_author modal",stickyHeader:"sticky header",newsOfTheDay:"News of the Day",newsOfTheDayCover:"News of the Day - Cover",newsOfTheDayRelatedStories:"News of the Day - Related Stories",newsOfTheDayFocused:"News of the Day - Focused",featureMainSpotlight:"Feature - Main Story Spotlight",featureMain:"Feature - main",featureAdditional:"Feature (additional)",featureAdditionalIdeas:"Feature (additional) - Ideas",timeCover:"Time Cover",articleList:"article list",crossSiteBannerLight:"Cross-Site Banner (Light)",authorBanner:"Author Banner",multiUseTagPage:"multi-use tag page",listingComponent:"listing component",latestArticles:"latest articles",theCover:"theCover",scaleAgentExperience:"scale ai chat",scannedIssueReader:"scanned issue reader",vaultHero:"Vault Hero",vaultIssueOverview:"Vault Issue Overview",personOfTheYear:"Person of the Year",magazineHero:"Magazine Hero",magazineIssueHero:"magazine issue hero",magazineTOC:"magazine issue toc",magazineScannedReaderHeader:"magazine scanned reader header",magazineScannedReaderToolbar:"magazine scanned reader toolbar",brandedContentTray:"Branded Content Tray",latestMagazineIssues:"latest magazine issues",globalNavNewsletterSignup:"global nav newsletter signup",expandableActionBar:"expandable action bar",expandableActionBarAudioTray:"expandable action bar_audio tray",expandableActionBarNewsletterTray:"expandable action bar_newsletter tray"},s=e=>e?.map(e=>e?.title??(0,t.getFullName)(e)).join(" | "),a=e=>e?.map(e=>e?.taxonomies?.map(e=>e?.term_uid).join(",")??"''").join(" | "),l=e=>e?.map(e=>e?.system?.uid??"''").join(" | "),u=(e,t)=>({event:n.HOME_PAGE_CLICK,clickText:`${i.homepage} | ${e?.title}`,clickURL:e?.url??"",pagePath:t?.pagePath??""}),c=e=>{let{pagePath:t=null,sponsorshipTag:r=null,contentType:n=null,wordCount:i=null,author:o=null,authorId:s=null,authorType:a=null,authorByline:l=null,articleType:u=null,Photographer:c=null,primarySection:d=null,primaryTag:h=null,topic:f=null,topics:p=null,people:m=null,adTag:g=null,collection:y=null,category:b=null,magazine:v=null,issueName:x=null,series:w=null}=e;return{pagePath:t,sponsorshipTag:r,contentType:n,wordCount:i,author:o,authorId:s,authorType:a,authorByline:l,articleType:u,Photographer:c,primarySection:d,primaryTag:h,topic:f,topics:p,adTag:g,people:m,collection:y,category:b,magazine:v,issueName:x,series:w}},d=(e,n)=>{var i;let o=e.credits?.authors?.map(e=>
8e?.authorConnection?.edges?.[0]?.node).filter(Boolean)||[],u=e.taxonomy?.partner_tagConnection?.edges?.[0]?.node?.title??null,d=(0,t.calculateWordCountFromBlocks)(e.blocks);return c({...n,wordCount:d,author:s(o),authorId:l(o),authorType:a(o),articleType:(i=e.display_options?.partner,i?.trim()===r.PartnerType.PREDICTION_MARKET?"prediction_markets":"charter"),Photographer:null,primarySection:null,primaryTag:u,topic:u||"",topics:u?[u]:[]})},h=(e,n)=>{let i,o,u=e.credits?.authors?.map(e=>e?.authorConnection?.edges?.[0]?.node).filter(Boolean)||[],d=e.credits?.photographers?.photographerConnection?.edges?.[0]?.node??{},h=e.taxonomy?.peopleConnection?.edges?.map(e=>e?.node).filter(Boolean)||[],f=(0,t.calculateWordCountFromBlocks)(e.blocks);return c({...n,wordCount:f,author:s(u),authorId:l(u),authorType:a(u),articleType:e.display_options?.template===r.ArticleTemplateType.StandardArticle?"Standard":"Exclusive",Photographer:s([d]),people:h?.map(e=>e?.title).join(" | "),primarySection:e?.taxonomy?.primary_sectionConnection?.edges?.[0]?.node?.title??null,primaryTag:e?.taxonomy?.primary_topicConnection?.edges?.[0]?.node?.title??null,topic:e?.taxonomy?.primary_topicConnection?.edges?.[0]?.node?.title||"",topics:e?.taxonomy?.primary_topicConnection?.edges?.[0]?.node?.title?[e?.taxonomy?.primary_topicConnection?.edges?.[0]?.node?.title]:[],series:(i=e.enhanced_featured_media,!0===(o=i?.executive_spotlight_series)||"true"===o?"Executive Spotlight":null)})},f=(e,t)=>c({...t,pagePath:e.url}),p=(e,t)=>c({...t,topic:"magazine",topics:["magazine"],magazine:e?.title||"TIME Magazine",issueName:e.title,publishDate:e.system?.publish_details?.time,pagePath:e.url}),m=(e,r,n)=>{let i=n?.collectionHub,o=i?.categories?.find(t=>t?.itemsConnection?.edges?.map(e=>e?.node?.url).includes(e.url))?.title??null,u=e.authors?.map(e=>
8e?.authorConnection?.edges?.[0]?.node).filter(Boolean)||[],d=e.authors?.map(e=>e?.alternate_byline).filter(Boolean)||[],h=(0,t.calculateWordCountFromBlocks)(e.blocks);return c({...r,wordCount:h,pagePath:e?.url,collection:i?.url,category:o,author:s(u),authorId:l(u),authorType:a(u),authorByline:d.join(" | ")||null,primarySection:e?.taxonomy?.primary_sectionConnection?.edges?.[0]?.node?.title??null,primaryTag:e?.taxonomy?.primary_topicConnection?.edges?.[0]?.node?.title??null,topic:e?.taxonomy?.primary_topicConnection?.edges?.[0]?.node?.title||"",topics:e?.taxonomy?.primary_topicConnection?.edges?.[0]?.node?.title?[e?.taxonomy?.primary_topicConnection?.edges?.[0]?.node?.title]:[]})};e.s(["buildPartnerArticleHeroClickGtmData",0,function(e){return{event:n.PARTNER_ARTICLE_CLICK,clickText:`hero | ${e.elementText}`,clickURL:e.clickURL,pagePath:e.pagePath,articleType:e.articleType}},"buildPartnerArticleLandingClickGtmData",0,function(e){return{event:n.PARTNER_ARTICLE_LANDING_CLICK,clickText:`landing | ${e.linkLabel}`,clickURL:e.clickURL,pagePath:e.pagePath,articleType:e.articleType}},"buildPartnerArticleRecircClickGtmData",0,function(e){return{event:n.PARTNER_ARTICLE_CLICK,clickText:`recirculation | ${e.linkLabel}`,clickURL:e.clickURL,pagePath:e.pagePath,articleType:e.articleType}},"clickTextEnum",0,i,"componentType",0,o,"defaultCollectionsGtmData",0,(e,t)=>{let r="date"in e?{publishDate:e.date,updateDate:e.modified}:{};return{event:n.INTERNAL_CLICK,componentType:o[t??"hubHero"],articleName:e?.title??"",publishDate:e?.system?.publish_details?.time??r.publishDate??"",updateDate:e?.system?.updated_at??r.updateDate??""}},"defaultHomepageGtmData",0,u,"defaultMagazineGtmData",0,(e,t)=>({event:n.MAGAZINE_CLICK,componentType:o.magazineHero,clickText:e?.title??"",clickURL:e?.url??"",pagePath:t?.pagePath??"",magazine:"TIME Magazine",issueName:e?.title??"",publishDate:t?.publishDate??""}),"defaultVaultGtmData",0,(e,t)=>({event:n.INTERNAL_CLICK,clickText:`${e?.title}`,clickURL:e?.url??"",pagePath:t?.pagePath??""}),"eventName",0,n,"getAuthorListAsString",0,e=>e?.map(e=>e?.name??(0,t.getFullName)({first_name:e?.firstname,last_name:e?.lastname})).join(" | "),"getBrandedContentTrayPaginationGTMData",0,(e,t,r)=>({event:n.INTERNAL_CLICK,componentType:o.brandedContentTray,topic:e,articleName:"",clickText:`${i.pagination} | ${t}`,pagePath:r}),"getCategoriesAsString",0,e=>e?.map(e=>e?.name).join(","),"getHomePageSecondaryGTMData",0,(e,t,r,o)=>{let s=u(e),a=e?.taxonomy?.primary_topicConnection?.edges?.[0]?.node;return{...s,event:n.INTERNAL_CLICK,componentType:t,topic:a?.title??"",clickText:`${i.secondaryRow} | ${r??e?.title}`,clickURL:o??e?.url??""}},"getPageViewGtmEventData",0,(e,t,i)=>{let o,s,a,l,u,g;return{event:n.PAGEDATA,...(o="publication_dates"in e?e?.publication_dates?.published:e.system?.publish_details?.time??"",s="publication_dates"in e?e?.publication_dates?.modified:e.system?.updated_at??"",a="url"in e?e.url:"/",l="advertising"in e?(e=>{if("object"==typeof e&&null!==e&&"sponsor_tagConnection"in e){let t=e.sponsor_tagConnection,r=t?.edges,n=r?.[0]?.node;return n?.title??null}return null})(e.advertising):null,u={timeIncApplication:"2026 replatform",title:e?.title??"",publishDate:o,updateDate:s,contentCmsId:`${e.system?.uid}`},g=((e,t,n,i)=>{switch(t){case r.PageType.PARTNER_ARTICLE:return d(e,n);case r.PageType.ARTICLE:case r.PageType.BRANDED_CONTENT:return h(e,n);case r.PageType.BRANDED_CONTENT_LANDING_HUB:return c({...n,topic:"branded content landing hub",topics:["branded content landing hub"],articleType:"branded_content"});case r.PageType.COLLECTION_HUB:return f(e,n);case r.PageType.COLLECTION_ITEM:return m(e,n,i);case r.PageType.HOMEPAGE:return{...n,topic:"homepage",topics:["homepage"]};case r.PageType.VAULT:return{...n,topic:"vault",topics:["vault"],pagePath:"/vault"};case r.PageType.MAGAZINE:return p(e,n);default:return n}})(e,t,{pagePath:a,sponsorshipTag:l,contentType:t},i),{...u,...g})}},"getSectionPageListingGTMData",0,(e,t,r,i)=>({event:n.INTERNAL_CLICK,componentType:o.listingComponent,topic:e,articleName:t,clickText:r,clickURL:i}),"getSectionPagePaginationGTMData",0,(e,t)=>({event:n.INTERNAL_CLICK,componentType:o.latestArticles,topic:e,articleName:"",clickText:`${i.pagination} | ${t}`}),"getSectionPageRowGTMData",0,(e,t,r,s)=>{let a="primary"===s?i.primaryRow:i.secondaryRow;return{event:n.INTERNAL_CLICK,componentType:o.multiUseTagPage,topic:t,clickText:`${a} | ${e.title??""}`,clickURL:e.url??e.path??"",pagePath:r}}
8,"getTagPageListingGTMData",0,(e,t,r,i)=>({event:n.INTERNAL_CLICK,componentType:o.listingComponent,tag:e,articleName:t,clickText:r,clickURL:i}),"getTagPagePaginationGTMData",0,(e,t)=>({event:n.INTERNAL_CLICK,componentType:o.latestArticles,tag:e,articleName:"",clickText:`${i.pagination} | ${t}`})])},675792,e=>{"use strict";e.i(247167);var t=e.i(963219);e.i(920247),e.i(218369);var r=e.i(822315),n=e.i(895751),i=e.i(4824),o=e.i(117595);r.default.extend(n.default),r.default.extend(i.default);let s=e=>{let t;return"author"in e?t=e.author:"authorConnection"in e&&(t=e.authorConnection?.edges?.[0]?.node),e?.alternate_byline||t?.title||void 0};function a(e){return e?`/${e.replaceAll(/^\/+|\/+$/g,"")}/`:e}let l=e=>{if(!e)return"";let t="";if("string"==typeof e.text&&(t+=e.text),Array.isArray(e.children))for(let r of e.children){let e=l(r);e&&(t+=(t?" ":"")+e)}return t},u=new Set([t.ContentBlockNames.HTML,t.ContentBlockNames.COLLECTION_ITEM_HTML,t.ContentBlockNames.PARTNER_ARTICLE_HTML,t.ContentBlockNames.BRANDED_CONTENT_HTML,t.ContentBlockNames.PAGE_HTML,t.ContentBlockNames.ARCHIVE_HTML]);function c(e,t){return e?`${e} ${t}`:t}e.s(["areArraysEqual",0,function(e,t){return e.length===t.length&&e.every((e,r)=>e===t[r])},"calculateWordCountFromBlocks",0,e=>e&&Array.isArray(e)?(function(e){let t="";for(let r of e){if(null==r||"object"!=typeof r)continue;let e=r.__typename;if(!e||!u.has(e))continue;let n=r.html?.html?.json?.children;if(!Array.isArray(n))continue;let i=function(e){let t="";for(let r of e){let e=l(r);e&&(t=c(t,e))}return t}(n);i&&(t=c(t,i))}return t})(e).trim().split(/\s+/).filter(e=>e.length>0).length:0,"containsTag",0,function(e,t){let r=e?.taxonomy,n=`/tag/${t}/`;return!!r?.primary_topicConnection?.edges?.some(e=>e?.node?.url===n)||!!r?.topicsConnection?.edges?.some(e=>e?.node?.url===n)},"deleteCookie",0,e=>{"u">typeof document&&o.default.remove(e,{path:"/"})},"ensureTrailingAndLeadingSlash",0,a,"ensureTrailingSlash",0,function(e){return e?e.endsWith("/")?e:e+"/":e},"formatSectionLabel",0,e=>e?(!e?"":e.replace(/^time-section-/,"")).replaceAll("-"," ").toUpperCase():"","getAbsolutePath",0,(e="")=>{if(e.startsWith("http"))return e;let t=e.startsWith("/")?e:`/${e}`,r="https://time.com".replace(/\/$/,"");return r?`${r}${t}`:t},"getAspectRatioClass",0,function(e){switch(e){case t.JWVideoAspectRatio.RATIO_9_16:return"aspect-[9/16]";case t.JWVideoAspectRatio.RATIO_4_3:return"aspect-[4/3]";case t.JWVideoAspectRatio.RATIO_1_1:return"aspect-square";default:return"aspect-video"}},"getAuthorName",0,s,"getCSAuthorNames",0,e=>{if(!Array.isArray(e))return"";let t=e.map(e=>s(e)).filter(Boolean);if(0===t.length)return"";if(1===t.length)return t[0];let r=t.slice(0,-1).join(", "),n=t.at(-1);return`${r} and ${n}`},"getCookie",0,e=>{if("u">typeof document)return o.default.get(e)},"getFullName",0,e=>`${e?.first_name??""} ${e?.last_name??""}`,"getSlugArray",0,function(e){return e.map(e=>e.slug??"")},"mapToTagProps",0,function(e){return{name:e?.title||"",link:e?.url||"",title:e?.title||"",url:e?.url||"",system:{uid:e?.system?.uid||""}}},"omit",0,(e,t)=>{let r={...e};for(let e of t)delete r[e];return r},"removeLeadingSlash",0,e=>e.replace(/^\/+/,""),"resolveCollectionItemPath",0,(e,t,r=!1)=>{let n=Array.isArray(t)?t.filter(Boolean).join("/"):t,i=Array.isArray(e)?e.filter(Boolean).join("/"):e;return a(n.startsWith("collection/")||n.startsWith("collections/")?`/${n}`:r?`/collections/${i}/${n}`:`/collection/${i}/${n}`)},"setCookie",0,(e,t,n)=>{if(!("u">typeof document))return;let i={path:"/",expires:n??(0,r.default)().tz("America/New_York").add(1,"day").startOf("day").utc().toDate()};o.default.set(e,t,i)},"toKebabCase",0,function(e){return e?e.trim().toLowerCase().replaceAll(/\s+/g,"-"):""},"transformCsToHubItem",0,e=>{let t=e?.authors?.filter(Boolean)??[];return{...e,id:e?.system?.uid||"",title:e?.title||"",link:e?.url||"",tagsData:e?.filter_tags?.map(e=>({id:e??"",name:e??"",slug:e??""}))??[],featuredMedia:e?.featured_media?.imageConnection?.edges?.[0]?.node??void 0,brandedURL:e?.advertising?.branded_url||void 0,secondary_title:e?.secondary_title||"",authors:t,date:e?.system?.publish_details?.time||"",sponsorshipTag:e?.advertising?.sponsor_tagConnection?.edges?.[0]?.node?.title??"",categorySponsorshipTag:""}}])},273361,964498,379314,697892,238785,293423,e=>{"use strict";var t=e.i(657688);let r=(e,t=0,r=1)=>Math.min(r,Math.max(t,e)),n=(e,t,n,i,o)=>{let s;return n*(1-(s=r((o-e)/(t-e))))+i*s};e.s(["clamp",0,r,"range",0,n],964498);var i=e.i(155263),o=e.i(963219),s=e.i(894706);let a=s.default.array(s.default.object({options:s.default.object({"focal-point":s.default.object({x:s.default.number().min(-1).max(1),y:s.default.number().min(-1).max(1)}).optional(),crop:s.default.object({width:s.default.coerce.number(),height:s.default.coerce.number(),x:s.default.coerce.number(),y:s.default.coerce.number()}).optional()})})).optional(),l=s.default.object({caption:s.default.string().optional(),credit:s.default.string().optional(),metadata:s.default.object({caption:s.default.string().optional(),credit:s.default.string().optional(),presets:a}).optional(),presets:a}),u=e=>{let t=e?.system?.extensionConnection?.edges?.[0]?.node?.metadata?.[0];return l.safeParse(t).data},c=e=>{if(!e)return;let t=u(e);for(let e of[...t?.presets??[],...t?.metadata?.presets??[]]){let t=e.options["focal-point"],r=e.options.crop;if("number"==typeof t?.x&&"number"==typeof t?.y||r)return{focalPoint:"number"==typeof t?.x&&"number"==typeof t?.y?t:void 0,crop:r}}},d=e=>{if(!e)return{alt:void 0,caption:void 0,credit:void 0};let t=u(e);return{alt:e.description??void 0,caption:t?.metadata?.caption??t?.caption,credit:t?.metadata?.credit??t?.credit}};e.s(["extractImageFocalPointsAndCrop",0,c,"extractImageLabels",0,d],379314);var h=e.i(778497);let f="static.time.com",p=e=>{if("string"!=typeof e)return!1;try{let{hostname:t}=new URL(e);return t.endsWith("images.contentstack.com")||t===f}catch{return!1}},m=e=>{try{let t=new URL(e);return t.hostname.endsWith("images.contentstack.com")&&(t.hostname=f),t.toString().replaceAll("%3A",":")}catch(t){return(0,h.logWarn)({message:"[image-proxy]: failed to mask image URL",error:t,context:{src:e}}),e}};e.s(["isMaskableImageUrl",0,p,"maskContentstackImageUrl",0,m,"maskOptionalImageUrl",0,e=>"string"==typeof e?m(e):e],697892);let g=(e,t)=>{let r=c(e);return{aspectRatio:t,focalPointX:r?.focalPoint?.x,focalPointY:r?.focalPoint?.y,crop:r?.crop,originalWidth:e?.dimension?.width??void 0,originalHeight:e?.dimension?.height??void 0}},y=(e,t,r={})=>
8{if(!e)return{src:"",alt:"",cropOptions:g(void 0,r.aspectRatio),mobileCropOptions:g(void 0,r.mobileAspectRatio)};let n=t||r.mobileAspectRatio,i=r.overrides?.alt,o={src:e.url?m(e.url):"",width:e.dimension?.width??void 0,height:e.dimension?.height??void 0,cropOptions:g(e??t,r.aspectRatio),mobileSrc:t?.url?m(t.url):void 0,mobileCropOptions:n?g(t??e,r.mobileAspectRatio):void 0,alt:d(e)?.alt??""};return{...o,...r.overrides,alt:null===i?void 0:i||o.alt}};e.s(["applyAspectRatios",0,(e,t,r)=>{let n={...e};return t&&(n.cropOptions={...e?.cropOptions,aspectRatio:t}),(r||t)&&(n.mobileCropOptions={...e?.mobileCropOptions||e?.cropOptions,aspectRatio:r||t}),n},"cleanImageProps",0,e=>{for(let t of["videoid","videoId","imageSrc","mediaType","autoStart"])t in e&&delete e[t]},"generateCropOptions",0,g,"getFallbackImage",0,(e,t)=>{if(!e)return{src:"",alt:"",width:void 0,height:void 0};let r=o.FallBackTimeImageAlt.DEFAULT,n={src:o.FallBackTimeImage.SQUARE,width:200,height:200,alt:r},s={src:o.FallBackTimeImage.RECTANGLE,width:600,height:333,alt:r};if(!0===e)if(!t)return s;else{let e=(0,i.computeAspectRatioValue)(t);return Math.abs(e-1)<Math.abs(e-16/9)?n:s}return{src:e,alt:r}},"mapToCustomImageProps",0,y,"mobileImageMediaQuery",0,"(max-width: 1024px)"],238785);let b=new Set(["medium-jw","medium-jw-video","fullwidth-jw","full-width-jw","full-width-jw-video","fullwidth-jw-video"]);function v(e){return b.has((e??"").trim().toLowerCase().replaceAll("_","-").replaceAll(/\s+/g,"-").replaceAll(/-+/g,"-"))}function x(e){if(!e)return!1;let t=e.executive_spotlight_series;return!0===t||"true"===t}function w(e,...t){for(let r of t){let t=e[r];if("string"==typeof t&&t.trim())return t.trim();if("number"==typeof t&&Number.isFinite(t))return String(t)}}let E=["mediaid","media_id","MediaID","mediaID"],T=["jw_video","metadata","value","embed","content","video"];function C(e){return{mediaId:function(e){let t=w(e,...E);if(t)return t;for(let t of T){let r=e[t];if(r&&"object"==typeof r&&!Array.isArray(r)){let e=w(r,...E);if(e)return e}if(Array.isArray(r)&&r[0]&&"object"==typeof r[0]){let e=w(r[0],...E);if(e)return e}}}(e),fallbackMediaId:w(e,"fallback_media_id","fallback_mediaid","media_field_id"),autoplay:"boolean"==typeof e.autoplay?e.autoplay:"boolean"==typeof e.auto_start?e.auto_start:void 0,muted:"boolean"==typeof e.muted?e.muted:void 0,disableRecommendations:"boolean"==typeof e.disable_recommendations?e.disable_recommendations:void 0}}function A(e){let t;if(!e)return;let r=function(e){let t=function(e){if(null!=e){if("string"==typeof e){let t=e.trim();if(!t)return;try{return JSON.parse(t)}catch{if(/^[\w-]{6,32}$/.test(t))return[t];return}}return e}}(e);if(null!=t){if(Array.isArray(t)&&null!=t[0]){let e=t[0];return"string"==typeof e&&e.trim()?{mediaId:e.trim()}:"number"==typeof e&&Number.isFinite(e)?{mediaId:String(e)}:"object"==typeof e?C(e):void 0}if("object"==typeof t&&!Array.isArray(t))return C(t)}}(e.video),n="string"==typeof(t=e.media_id)?t.trim()||void 0:"number"==typeof t&&Number.isFinite(t)?String(t):void 0;return n?{mediaId:n,fallbackMediaId:r?.fallbackMediaId,autoplay:r?.autoplay,muted:r?.muted,disableRecommendations:r?.disableRecommendations}:r}let R=e=>{if(!e)return;let t=A(e),r=t?.mediaId||t?.fallbackMediaId,n="show_video"in e&&e.show_video&&"media_type"in e&&e.media_type!==o.MediaType.MEDIUM,i="media_type_exclusive"in e&&(v(e.media_type_exclusive)||x(e));return"string"==typeof r&&r.length>0&&(n||i)?r:void 0},S=(e,t)=>{let r=t||e?.imageConnection,n=r?.edges?.[0]?.node,i=y(n),s=d(n),a=c(n),l=A(e),u=R(e),h=!!e&&"media_type_exclusive"in e&&(v(e.media_type_exclusive)||x(e)),f="string"==typeof u&&u.length>0,p=f||h,m=l?.mediaId&&l?.fallbackMediaId&&l.mediaId!==l.fallbackMediaId?l.fallbackMediaId:void 0;return{altText:s?.alt||"",autoStart:l?.autoplay??!0,muted:l?.muted??!0,caption:p?"":e?.image_caption||s?.caption||"",credit:p&&"video_credit"in e?e?.video_credit||"":e?.image_credit||s?.credit||"",mediaSetting:e?.__typename==="EnhancedFeaturedMedia"?e?.medium_orientation_exclusive??o.MediaOrientation.HORIZONTAL:o.MediaOrientation.HORIZONTAL,mediaType:p?o.MediaType.VIDEO:o.MediaType.IMAGE,playerId:u||"",jwVideoConfigurationMissing:h&&!f,sourceUrl:i?.src,imgWidth:i.width,imgHeight:i.height,imgFocalPointX:a?.focalPoint?.x,imgFocalPointY:a?.focalPoint?.y,imgCrop:a?.crop,noRec:l?.disableRecommendations??!1,jwFallbackMediaId:m}};
8e.s(["mapToExclusiveFeaturedMediaProps",0,S,"mapToFeaturedMediaProps",0,e=>{let t=e?.imageConnection?.edges?.[0]?.node,r=y(t),n=d(t),i=c(t),s=A(e),a=R(e),l="string"==typeof a;return{altText:n?.alt||"",autoStart:s?.autoplay??!0,muted:s?.muted??!0,caption:l?"":e?.image_caption||n?.caption||"",credit:l?e?.video_credit||"":e?.image_credit||n?.credit||"",mediaSetting:e?.media_orientation??o.MediaOrientation.HORIZONTAL,mediaType:l?o.MediaType.VIDEO:o.MediaType.IMAGE,playerId:a||"",sourceUrl:r?.src,imgWidth:r.width,imgHeight:r.height,imgFocalPointX:i?.focalPoint?.x,imgFocalPointY:i?.focalPoint?.y,imgCrop:i?.crop,noRec:s?.disableRecommendations??!1}}],293423);let I=(e,t)=>{if(!t)return e;let r=(0,i.computeAspectRatioValue)(t);return e.width/e.height>r?{width:Math.round(e.height*r),height:e.height}:{width:e.width,height:Math.round(e.width/r)}},_=(e,t,i)=>r((e*n(-1,1,0,1,i)-t/2)/(e-t)*100,0,100),N=(e,t)=>{if("string"==typeof e)return p(e)?({src:e,width:r,quality:n=75})=>{try{let i=new URL(e);if(i.searchParams.append("width",r.toString()),i.searchParams.append("quality",n.toString()),i.searchParams.append("auto","webp"),t?.crop)i.searchParams.append("crop",`${t.crop.width},${t.crop.height},x${t.crop.x},y${t.crop.y}`);else if(t?.aspectRatio){let e=[];
8if(e.push(`${Math.round(t.aspectRatio.value[0])}:${Math.round(t.aspectRatio.value[1])}`),void 0!==t.focalPointX&&void 0!==t.focalPointY&&void 0!==t.originalWidth&&void 0!==t.originalHeight){let r=I({width:t.originalWidth,height:t.originalHeight},t.aspectRatio),n=_(t.originalWidth,r.width,t.focalPointX);e.push(`offset-x${n.toFixed(2)}`);let i=_(t.originalHeight,r.height,-t.focalPointY);e.push(`offset-y${i.toFixed(2)}`)}i.searchParams.append("crop",e.join(","))}return m(i.toString())}catch{return""}}:void 0};e.s(["getCroppedDimensions",0,I,"getImagePropsWithPresets",0,({featuredMedia:e,aspectRatio:t,imageConnection:r})=>{if(!e)return;let{sourceUrl:n,altText:o,imgWidth:s,imgHeight:a,imgFocalPointX:l,imgFocalPointY:u}=S(e,r);if(n&&"string"==typeof n)return{alt:o||"",...((e,t,r,n)=>{if(!t||!r)return{src:e};let{width:i,height:o}=n?.crop?{width:n.crop.width,height:n.crop.height}:I({width:t,height:r},n?.aspectRatio),s=N(e,n);return{src:s?s({src:e,width:i}):e,width:i,height:o}})(n,s,a,{aspectRatio:t||i.ASPECT_RATIOS.FIVE_FOUR,originalWidth:s,originalHeight:a,focalPointX:l,focalPointY:u})}},"getTimeImageLoader",0,N,"getTimeImageProps",0,(e,r)=>
8{"loader"in e&&void 0===e.loader&&delete e.loader;let n=N(e.src,r);if(n&&(e.loader=n),r&&!e.fill&&e.width&&e.height){let t=r.originalWidth??("number"==typeof e.width?e.width:Number.parseInt(e.width)),n=r.originalHeight??("number"==typeof e.height?e.height:Number.parseInt(e.height));if(r.crop)e.width=r.crop.width,e.height=r.crop.height;else{let i=I({width:t,height:n},r.aspectRatio);e.width=i.width,e.height=i.height}}return e.fill&&(delete e.width,delete e.height),(0,t.getImageProps)(e)},"translateFocalPointToCssPosition",0,(e,t,i)=>{let o=(100*e/(e-t)-100)/2;return o===1/0?50:r(n(-1,1,100+o,-o,i),0,100)}],273361)},657523,e=>{"use strict";e.s(["isMobile",0,({maxWidth:e=1024}={})=>window.innerWidth<=e])},516877,e=>{"use strict";(t={}).Light="light",t.Dark="dark",t.Grey="grey";var t,r,n=((r={}).Primary="primary",r.Outlined="outlined",r.OutlinedFilled="outlined-filled",r.WithIcon="withIcon",r.Tag="tag",r.Icon="icon",r.TextLink="textLink",r);e.s(["ButtonVariant",()=>n])}]);

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.