(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["9897"],{28599:function(t){"use strict";let{AbortController:e,AbortSignal:n}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;t.exports=e,t.exports.AbortSignal=n,t.exports.default=e},27484:function(t){var e;e=function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",i="week",o="month",u="quarter",a="year",s="date",c="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},d="en",p={};p[d]={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(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||"th")+"]"}};var v="$isDayjsObject",g=function(t){return t instanceof M||!(!t||!t[v])},y=function t(e,n,r){var i;if(!e)return d;if("string"==typeof e){var o=e.toLowerCase();p[o]&&(i=o),n&&(p[o]=n,i=o);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;p[a]=e,i=a}return!r&&i&&(d=i),i||!r&&d},m=function(t,e){if(g(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new M(n)},$={s:h,z:function(t){var e=-t.utcOffset(),n=Math.abs(e);return(e<=0?"+":"-")+h(Math.floor(n/60),2,"0")+":"+h(n%60,2,"0")},m:function t(e,n){if(e.date()1){if("number"==typeof(o=t({path:"/"},r.defaults,o)).expires){var u,a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*o.expires),o.expires=a}o.expires=o.expires?o.expires.toUTCString():"";try{u=JSON.stringify(i),/^[\{\[]/.test(u)&&(i=u)}catch(t){}i=n.write?n.write(i,e):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var s="";for(var c in o){if(o[c])s+="; "+c,!0!==o[c]&&(s+="="+o[c])}return document.cookie=e+"="+i+s}e||(u={});for(var f=document.cookie?document.cookie.split("; "):[],l=/(%[0-9A-Z]{2})+/g,h=0;hS,Route:()=>_,Router:()=>C,default:()=>w,exec:()=>u,getCurrentUrl:()=>v,route:()=>g,subscribers:()=>d});var r=n(6400),i={};function o(t,e){for(var n in e)t[n]=e[n];return t}function u(t,e,n){var r,o=/(?:\?([^#]*))?(#.*)?$/,u=t.match(o),a={};if(u&&u[1])for(var s=u[1].split("&"),f=0;fv.indexOf("?")||g)){r=!1;break}if(a[p]=decodeURIComponent(m),g||y){a[p]=t.slice(d).map(decodeURIComponent).join("/");break}}else if(e[d]!==t[d]){r=!1;break}return(!0===n.default||!1!==r)&&a}function a(t,e){return t.ranke.rank?-1:t.index-e.index}function s(t,e){var n;return t.index=e,t.rank=(n=t).props.default?0:c(n.props.path).map(f).join(""),t.props}function c(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")}function f(t){return":"==t.charAt(0)?1+"*+?".indexOf(t.charAt(t.length-1))||4:5}var l=null,h=[],d=[],p={};function v(){var t;return""+((t=l&&l.location?l.location:l&&l.getCurrentLocation?l.getCurrentLocation():"undefined"!=typeof location?location:p).pathname||"")+(t.search||"")}function g(t,e){if(void 0===e&&(e=!1),"string"!=typeof t&&t.url&&(e=t.replace,t=t.url),function(t){for(var e=h.length;e--;)if(h[e].canRoute(t))return!0;return!1}(t)){var n,r;n=t,r=e?"replace":"push",l&&l[r]?l[r](n):"undefined"!=typeof history&&history[r+"State"]&&history[r+"State"](null,null,n)}return y(t)}function y(t){for(var e=!1,n=0;n0},e.prototype.routeTo=function(t){this.setState({url:t});var e=this.canRoute(t);return this.updating||this.forceUpdate(),e},e.prototype.componentWillMount=function(){h.push(this),this.updating=!0},e.prototype.componentDidMount=function(){var t=this;l&&(this.unlisten=l.listen(function(e){t.routeTo(""+(e.pathname||"")+(e.search||""))})),this.updating=!1},e.prototype.componentWillUnmount=function(){"function"==typeof this.unlisten&&this.unlisten(),h.splice(h.indexOf(this),1)},e.prototype.componentWillUpdate=function(){this.updating=!0},e.prototype.componentDidUpdate=function(){this.updating=!1},e.prototype.getMatchingChildren=function(t,e,n){return t.filter(s).sort(a).map(function(t){var i=u(e,t.props.path,t.props);if(i){if(!1!==n){var a={url:e,matches:i};return o(a,i),delete a.ref,delete a.key,(0,r.cloneElement)(t,a)}return t}}).filter(Boolean)},e.prototype.render=function(t,e){var n=t.children,i=t.onChange,o=e.url,u=this.getMatchingChildren((0,r.toChildArray)(n),o,!0),a=u[0]||null,s=this.previousUrl;return o!==s&&(this.previousUrl=o,"function"==typeof i&&i({router:this,url:o,previous:s,active:u,current:a})),a},e}(r.Component),S=function(t){return(0,r.createElement)("a",o({onClick:$},t))},_=function(t){return(0,r.createElement)(t.component,t)};C.subscribers=d,C.getCurrentUrl=v,C.route=g,C.Router=C,C.Route=_,C.Link=S,C.exec=u;let w=C},14369:function(t,e,n){"use strict";n.r(e),n.d(e,{addHookName:()=>o});var r,i=n(6400);function o(t,e){return i.options.__a&&i.options.__a(e),t}null!=(r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0)&&r.__PREACT_DEVTOOLS__&&r.__PREACT_DEVTOOLS__.attachPreact("10.26.5",i.options,{Fragment:i.Fragment,Component:i.Component})}}]);