(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["8240"],{94184:function(e){!/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */function(){"use strict";var n={}.hasOwnProperty;function t(){for(var e=[],_=0;_=1.5*t?"s":"")}e.exports=function(e,t){t=t||{};var _,r,o,u,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var n=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(n){var t=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*t;case"weeks":case"week":case"w":return 6048e5*t;case"days":case"day":case"d":return 864e5*t;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*t;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*t;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}(e);if("number"===l&&isFinite(e)){return t.long?(r=Math.abs(_=e))>=864e5?n(_,r,864e5,"day"):r>=36e5?n(_,r,36e5,"hour"):r>=6e4?n(_,r,6e4,"minute"):r>=1e3?n(_,r,1e3,"second"):_+" ms":(u=Math.abs(o=e))>=864e5?Math.round(o/864e5)+"d":u>=36e5?Math.round(o/36e5)+"h":u>=6e4?Math.round(o/6e4)+"m":u>=1e3?Math.round(o/1e3)+"s":o+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},6400:function(e,n,t){"use strict";t.r(n),t.d(n,{Component:()=>P,Fragment:()=>H,cloneElement:()=>R,createContext:()=>j,createElement:()=>w,createRef:()=>x,h:()=>w,hydrate:()=>I,isValidElement:()=>u,options:()=>r,render:()=>O,toChildArray:()=>function e(n,t){return t=t||[],null==n||"boolean"==typeof n||(g(n)?n.some(function(n){e(n,t)}):t.push(n)),t}});var _,r,o,u,l,i,c,s,f,a,p,h,d,v={},m=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,g=Array.isArray;function b(e,n){for(var t in n)e[t]=n[t];return e}function k(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function w(e,n,t){var r,o,u,l={};for(u in n)"key"==u?r=n[u]:"ref"==u?o=n[u]:l[u]=n[u];if(arguments.length>2&&(l.children=arguments.length>3?_.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(u in e.defaultProps)null==l[u]&&(l[u]=e.defaultProps[u]);return C(e,l,r,o,null)}function C(e,n,t,_,u){var l={type:e,props:n,key:t,ref:_,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==u?++o:u,__i:-1,__u:0};return null==u&&null!=r.vnode&&r.vnode(l),l}function x(){return{current:null}}function H(e){return e.children}function P(e,n){this.props=e,this.context=n}function S(e,n){if(null==n)return e.__?S(e.__,e.__i+1):null;for(var t;ni&&l.sort(s),e=l.shift(),i=l.length,e.__d&&(n=void 0,_=(t=e.__v).__e,o=[],u=[],e.__P&&((n=b({},t)).__v=t.__v+1,r.vnode&&r.vnode(n),D(e.__P,n,t,e.__n,e.__P.namespaceURI,32&t.__u?[_]:null,o,null==_?S(t):_,!!(32&t.__u),u),n.__v=t.__v,n.__.__k[n.__i]=n,A(o,n,u),n.__e!=_&&function e(n){var t,_;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,t=0;t0?C(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):l).__=e,l.__b=e.__b+1,i=null,-1!=(s=l.__i=function(e,n,t,_){var r,o,u=e.key,l=e.type,i=n[t];if(null===i&&null==e.key||i&&u==i.key&&l==i.type&&0==(2&i.__u))return t;if(_>+(null!=i&&0==(2&i.__u)))for(r=t-1,o=t+1;r>=0||o=0){if((i=n[r])&&0==(2&i.__u)&&u==i.key&&l==i.type)return r;r--}if(of?p--:oc?p--:p++,l.__u|=4))):e.__k[u]=null;if(a)for(u=0;u0?n:g(n)?n.map(e):b({},n)}(a.props.children)),c=U(e,g(W)?W:[W],n,t,o,u,l,i,c,s,f),p.base=n.__e,n.__u&=-161,p.__h.length&&i.push(p),w&&(p.__E=p.__=null)}catch(e){if(n.__v=null,s||null!=l){if(e.then){for(n.__u|=s?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;l[l.indexOf(c)]=null,n.__e=c}else for(O=l.length;O--;)k(l[O])}else n.__e=t.__e,n.__k=t.__k;r.__e(e,n,t)}else null==l&&n.__v==t.__v?(n.__k=t.__k,n.__e=t.__e):c=n.__e=function(e,n,t,o,u,l,i,c,s){var f,a,p,h,d,m,y,b=t.props,w=n.props,C=n.type;if("svg"==C?u="http://www.w3.org/2000/svg":"math"==C?u="http://www.w3.org/1998/Math/MathML":u||(u="http://www.w3.org/1999/xhtml"),null!=l){for(f=0;f2&&(i.children=arguments.length>3?_.call(arguments,2):t),C(e.type,i,r||e.key,o||e.ref,null)}function j(e){function n(e){var t,_;return this.getChildContext||(t=new Set,(_={})[n.__c]=this,this.getChildContext=function(){return _},this.componentWillUnmount=function(){t=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&t.forEach(function(e){e.__e=!0,E(e)})},this.sub=function(e){t.add(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t&&t.delete(e),n&&n.call(e)}}),e.children}return n.__c="__cC"+d++,n.__=e,n.Provider=n.__l=(n.Consumer=function(e,n){return e.children(n)}).contextType=n,n}_=m.slice,r={__e:function(e,n,t,_){for(var r,o,u;n=n.__;)if((r=n.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(e)),u=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,_||{}),u=r.__d),u)return r.__E=r}catch(n){e=n}throw e}},o=0,u=function(e){return null!=e&&null==e.constructor},P.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=b({},this.state),"function"==typeof e&&(e=e(b({},t),this.props)),e&&b(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),E(this))},P.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),E(this))},P.prototype.render=H,l=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(e,n){return e.__v.__b-n.__v.__b},N.__r=0,f=/(PointerCapture)$|Capture$/i,a=0,p=T(!1),h=T(!0),d=0},30396:function(e,n,t){"use strict";t.d(n,{I4:()=>H,Me:()=>N,Qb:()=>S,Ye:()=>x,_Y:()=>g,aP:()=>C,bt:()=>k,cO:()=>E,d4:()=>b,eJ:()=>y,qp:()=>P,sO:()=>w});var _,r,o,u,l=t(6400),i=0,c=[],s=l.options,f=s.__b,a=s.__r,p=s.diffed,h=s.__c,d=s.unmount,v=s.__;function m(e,n){s.__h&&s.__h(r,e,i||n),i=0;var t=r.__H||(r.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function y(e){return i=1,g(A,e)}function g(e,n,t){var o=m(_++,2);if(o.t=e,!o.__c&&(o.__=[t?t(n):A(void 0,n),function(e){var n=o.__N?o.__N[0]:o.__[0],t=o.t(n,e);n!==t&&(o.__N=[t,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.__f)){var u=function(e,n,t){if(!o.__c.__H)return!0;var _=o.__c.__H.__.filter(function(e){return!!e.__c});if(_.every(function(e){return!e.__N}))return!l||l.call(this,e,n,t);var r=o.__c.props!==e;return _.forEach(function(e){if(e.__N){var n=e.__[0];e.__=e.__N,e.__N=void 0,n!==e.__[0]&&(r=!0)}}),l&&l.call(this,e,n,t)||r};r.__f=!0;var l=r.shouldComponentUpdate,i=r.componentWillUpdate;r.componentWillUpdate=function(e,n,t){if(this.__e){var _=l;l=void 0,u(e,n,t),l=_}i&&i.call(this,e,n,t)},r.shouldComponentUpdate=u}return o.__N||o.__}function b(e,n){var t=m(_++,3);!s.__s&&D(t.__H,n)&&(t.__=e,t.u=n,r.__H.__h.push(t))}function k(e,n){var t=m(_++,4);!s.__s&&D(t.__H,n)&&(t.__=e,t.u=n,r.__h.push(t))}function w(e){return i=5,x(function(){return{current:e}},[])}function C(e,n,t){i=6,k(function(){if("function"==typeof e){var t=e(n());return function(){e(null),t&&"function"==typeof t&&t()}}if(e)return e.current=n(),function(){return e.current=null}},null==t?t:t.concat(e))}function x(e,n){var t=m(_++,7);return D(t.__H,n)&&(t.__=e(),t.__H=n,t.__h=e),t.__}function H(e,n){return i=8,x(function(){return e},n)}function P(e){var n=r.context[e.__c],t=m(_++,9);return t.c=e,n?(null==t.__&&(t.__=!0,n.sub(r)),n.props.value):e.__}function S(e,n){s.useDebugValue&&s.useDebugValue(n?n(e):e)}function E(e){var n=m(_++,10),t=y();return n.__=e,r.componentDidCatch||(r.componentDidCatch=function(e,_){n.__&&n.__(e,_),t[1](e)}),[t[0],function(){t[1](void 0)}]}function N(){var e=m(_++,11);if(!e.__){for(var n=r.__v;null!==n&&!n.__m&&null!==n.__;)n=n.__;var t=n.__m||(n.__m=[0,0]);e.__="P"+t[0]+"-"+t[1]++}return e.__}function U(){for(var e;e=c.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(F),e.__H.__h.forEach(T),e.__H.__h=[]}catch(n){e.__H.__h=[],s.__e(n,e.__v)}}s.__b=function(e){r=null,f&&f(e)},s.__=function(e,n){e&&n.__k&&n.__k.__m&&(e.__m=n.__k.__m),v&&v(e,n)},s.__r=function(e){a&&a(e),_=0;var n=(r=e.__c).__H;n&&(o===r?(n.__h=[],r.__h=[],n.__.forEach(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(n.__h.forEach(F),n.__h.forEach(T),n.__h=[],_=0)),o=r},s.diffed=function(e){p&&p(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==c.push(n)&&u===s.requestAnimationFrame||((u=s.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(_),M&&cancelAnimationFrame(n),setTimeout(e)},_=setTimeout(t,100);M&&(n=requestAnimationFrame(t))})(U)),n.__H.__.forEach(function(e){e.u&&(e.__H=e.u),e.u=void 0})),o=r=null},s.__c=function(e,n){n.some(function(e){try{e.__h.forEach(F),e.__h=e.__h.filter(function(e){return!e.__||T(e)})}catch(t){n.some(function(e){e.__h&&(e.__h=[])}),n=[],s.__e(t,e.__v)}}),h&&h(e,n)},s.unmount=function(e){d&&d(e);var n,t=e.__c;t&&t.__H&&(t.__H.__.forEach(function(e){try{F(e)}catch(e){n=e}}),t.__H=void 0,n&&s.__e(n,t.__v))};var M="function"==typeof requestAnimationFrame;function F(e){var n=r,t=e.__c;"function"==typeof t&&(e.__c=void 0,t()),r=n}function T(e){var n=r;e.__c=e.__(),r=n}function D(e,n){return!e||e.length!==n.length||n.some(function(n,t){return n!==e[t]})}function A(e,n){return"function"==typeof n?n(e):n}},16584:function(e,n,t){"use strict";t.d(n,{BX:()=>o,HY:()=>_.Fragment,tZ:()=>o});var _=t(6400),r=0;function o(e,n,t,o,u,l){n||(n={});var i,c,s=n;if("ref"in s)for(c in s={},n)"ref"==c?i=n[c]:s[c]=n[c];var f={type:e,props:s,key:t,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--r,__i:-1,__u:0,__source:u,__self:l};if("function"==typeof e&&(i=e.defaultProps))for(c in i)void 0===s[c]&&(s[c]=i[c]);return _.options.vnode&&_.options.vnode(f),f}}}]); //# sourceMappingURL=8240.4b9eb8d1.js.map