!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"substack@d7c929d"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="49186f89-8a49-44c1-a80a-ada503e448a3",e._sentryDebugIdIdentifier="sentry-dbid-49186f89-8a49-44c1-a80a-ada503e448a3")}catch(e){}}();"use strict";(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["46840"],{94285:function(e,t,n){n.d(t,{A:()=>i});let i={root:"root-ke3ITh",theme_error:"theme_error-EdHJ89",themeError:"theme_error-EdHJ89",xs:"xs-u94A3p",sm:"sm-rkc_jb",md:"md-FWdzy4",icon:"icon-JVHTJb",theme_accent:"theme_accent-BLPCPx",themeAccent:"theme_accent-BLPCPx",theme_success:"theme_success-K1reIy",themeSuccess:"theme_success-K1reIy",theme_select:"theme_select-db4cFz",themeSelect:"theme_select-db4cFz",theme_highlight:"theme_highlight-c5Va8G",themeHighlight:"theme_highlight-c5Va8G",theme_mono:"theme_mono-w3BrBe",themeMono:"theme_mono-w3BrBe"}},57241:function(e,t,n){n.d(t,{A:()=>i});let i={layout:"layout-q5QzAB"}},37266:function(e,t,n){n.d(t,{A:()=>i});let i={transition:"transition-vApOKl",mobile:"mobile-v3F3YQ",from:"from-yIK2iV",to:"to-tgOjA4"}},24142:function(e,t,n){n.d(t,{A:()=>d});var i=n(69277),a=n(70408),o=n(32641),r=n(4006),c=n(97731),l=n(21076);let d=e=>{var{svgParams:t}=e,n=(0,o._)(e,["svgParams"]);return(0,r.FD)(c.A,(0,a._)((0,i._)({},n),{name:"SubstackIcon",svgParams:(0,i._)({height:1e3,width:1e3,fill:l.vW,stroke:"none"},t),children:[(0,r.Y)("path",{d:"M764.166 348.371H236.319V419.402H764.166V348.371Z"}),(0,r.Y)("path",{d:"M236.319 483.752V813.999L500.231 666.512L764.19 813.999V483.752H236.319Z"}),(0,r.Y)("path",{d:"M764.166 213H236.319V284.019H764.166V213Z"})]}))}},35369:function(e,t,n){n.d(t,{$n:()=>w,Bj:()=>A,C3:()=>_,K0:()=>N,Nm:()=>y,az:()=>k,fv:()=>z,mZ:()=>x,vx:()=>b});var i=n(69277),a=n(70408),o=n(32641),r=n(4006),c=n(32485),l=n.n(c),d=n(17402),s=n(84605),u=n(68349),m=n(89490),p=n(76977),f=n(64456),h=n(57820),g=n(63136),v=n(78340);let y=(0,d.forwardRef)((e,t)=>{var{onClick:n,href:c,localNavigation:d,newTab:s,className:p,resetCss:f,state:h,replace:g}=e,y=(0,o._)(e,["onClick","href","localNavigation","newTab","className","resetCss","state","replace"]);let b=c?e=>{n&&(n.call(e.target,e),e.defaultPrevented)||(0,u.V2)(c,{event:e,local_navigation:d,newTab:s,replace:g,state:h})}:n;return(0,r.Y)(m.az,(0,a._)((0,i._)({as:"button",tabIndex:0,type:"button"},y),{ref:t,className:l()("pencraft",p,f&&v.A.buttonBase),onClick:b,"data-href":c}))});function b(e){var{href:t,children:n,newTab:c,localNavigation:d=!0,className:s,resetCss:u,priority:m="primary",size:p="md",rounded:f=!1,leading:h,trailing:g,loading:y}=e,b=(0,o._)(e,["href","children","newTab","localNavigation","className","resetCss","priority","size","rounded","leading","trailing","loading"]);return(0,r.FD)("a",(0,a._)((0,i._)({className:_({className:l()("pencraft",s,u&&v.A.buttonBase),priority:m,size:p,rounded:f,leading:h,trailing:g,loading:y}),href:t,target:c?"_blank":void 0,"data-native":d?"":void 0},b),{children:[y&&(0,r.Y)(k,{priority:m}),h,n,g]}))}function _(e){let{className:t,priority:n,size:i,rounded:a,leading:o,trailing:r,loading:c}=e;return l()(t,v.A.buttonBase,v.A.buttonText,v.A.buttonStyle,v.A["priority_".concat(n)],v.A["size_".concat(i)],a&&v.A.rounded,null!=o&&v.A.hasLeading,null!=r&&v.A.hasTrailing,c&&v.A.loading)}y.displayName="UnstyledButton";let w=(0,d.forwardRef)(function(e,t){var{className:n,priority:c="primary",size:l="md",rounded:d,disabled:s,leading:u,trailing:m,children:p,loading:f}=e,h=(0,o._)(e,["className","priority","size","rounded","disabled","leading","trailing","children","loading"]);return(0,r.FD)(y,(0,a._)((0,i._)({className:_({className:n,priority:c,size:l,rounded:d,leading:u,trailing:m,loading:f}),disabled:s||f,"aria-busy":f?"true":void 0},h),{ref:t,children:[f&&(0,r.Y)(k,{priority:c}),u,p,m]}))}),k=e=>{let{priority:t}=e,{iString:n}=(0,s.GO)();return(0,r.FD)(r.FK,{children:[(0,r.Y)(h.y$,{size:20,className:l()(v.A.buttonSpinner,("primary"===t||"primary-mono"===t||"destructive"===t)&&v.A.spinnerLight)}),(0,r.Y)("span",{className:"sr-only",children:n("Loading")})]})};w.displayName="Button";let A=(0,d.forwardRef)((e,t)=>{var{className:n,priority:c="primary",size:d="md",rounded:s,disabled:u,leading:m,trailing:p,children:f}=e,h=(0,o._)(e,["className","priority","size","rounded","disabled","leading","trailing","children"]);return(0,r.Y)(w,(0,a._)((0,i._)({className:l()(n,v.A.media,s&&v.A.rounded),priority:c,size:d,disabled:u,leading:m,trailing:p,children:f},h),{ref:t}))});A.displayName="MediaButton";let N=(0,d.forwardRef)((e,t)=>{var{className:n,size:c="md",priority:d="secondary",rounded:s=!1,children:u}=e,m=(0,o._)(e,["className","size","priority","rounded","children"]);let p=(0,f.j)(u),h=m["aria-label"]||p;return(0,r.Y)(y,(0,a._)((0,i._)({className:l()(n,v.A.iconButton,v.A.buttonStyle,null!=c&&v.A["size_".concat(c)],d&&v.A["priority_".concat(d)],s&&v.A.rounded),"aria-label":h},m),{ref:t,children:u}))});N.displayName="IconButton";let z=(0,d.forwardRef)((e,t)=>{var{label:n,icon:c,size:d=56,priority:s="secondary",className:u}=e,m=(0,o._)(e,["label","icon","size","priority","className"]);return(0,r.FD)(p.VP,{gap:8,alignItems:"center",width:d,children:[(0,r.Y)(y,(0,a._)((0,i._)({resetCss:!0,className:l()(u,v.A.buttonStyle,s&&v.A["priority_".concat(s)]),display:"flex",justifyContent:"center",alignItems:"center",width:d,height:d,radius:"lg",overflow:"hidden",position:"relative",animate:!0,"aria-label":n},m),{ref:t,children:c})),(0,r.Y)(g.EY.B5,{weight:"semibold",color:"primary",textAlign:"center",children:n})]})}),x=(0,d.forwardRef)((e,t)=>{var{className:n,size:c="md",priority:d="primary",children:s}=e,u=(0,o._)(e,["className","size","priority","children"]);let m=(0,f.j)(s),p=u["aria-label"]||m;return(0,r.Y)(N,(0,a._)((0,i._)({className:l()(n,v.A.media,v.A["size_".concat(c)],v.A["priority_".concat(d)]),size:c,priority:d,"aria-label":p},u),{ref:t,children:s}))});x.displayName="MediaIconButton"},48028:function(e,t,n){n.d(t,{I:()=>m});var i=n(69277),a=n(4006),o=n(38390),r=n(32485),c=n.n(r),l=n(17402),d=n(54467),s=n(11510),u=n(18359);let m=(0,l.forwardRef)((e,t)=>{let{children:n,className:r,fullscreenMobile:l,width:m,style:p,onClose:f,disableCloseOnBackdropClick:h,testId:g,initialFocus:v}=e,y=(0,s.Iu)(),b=y&&!l&&f;return(0,a.FD)(o.UC,{forceMount:!0,ref:t,"data-testid":g,className:c()(r,u.A.panel,y&&u.A.mobile,l&&u.A.fullscreenMobile),style:(0,i._)({width:y?void 0:m},p),onOpenAutoFocus:e=>{(null==v?void 0:v.current)&&(e.preventDefault(),v.current.focus())},onCloseAutoFocus:e=>{e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},onEscapeKeyDown:e=>{h&&e.preventDefault()},children:[b&&(0,a.Y)(d.D,{close:f}),n]})});m.displayName="ModalPanel"},90460:function(e,t,n){n.d(t,{h:()=>a});var i=n(17402);let a=e=>{(0,i.useEffect)(()=>{if(e){let e=setTimeout(()=>{document.body.style.pointerEvents=""},0);return()=>clearTimeout(e)}document.body.style.pointerEvents="auto"},[e])}},18947:function(e,t,n){n.d(t,{D0:()=>h,Er:()=>u,FC:()=>g,I_:()=>f,MG:()=>y,T8:()=>l,XB:()=>v,eX:()=>m,py:()=>p,st:()=>s,ti:()=>d,wu:()=>c});var i=n(69277),a=n(92636),o=n(70189),r=n(41086);function c(e,t){let{noBase:n,edit:r,email:c,comments:l,commentId:d,commentInput:u,highlightComment:m,replyToComment:p,commentContextId:g,uuid:v,urlParams:y,signedIn:b=!1,feedViewer:_=!1,clipId:w}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},k=t?v?"uuid"in t?t.uuid:void 0:t.slug:null;if((r||!k)&&e&&!e.is_www&&(null==t?void 0:t.id)){let i=n?"":(0,a.$_)(e);return"".concat(i).concat(f(e,t.id,{params:y}))}if((null==t?void 0:t.type)==="restack"&&(null==t?void 0:t.id)){let i=n?"":(0,a.$_)(e);return"".concat(i,"/cp/").concat(t.id)}if(_||!e||!t||!k){let i=n?"":(0,a.$_)();return d?(0,o.RV)(d,{noBase:n,urlParams:y}):t&&w?(0,a.yR)("".concat((0,a.$_)(e),"/p/").concat(t.slug),y):t?(0,o.kG)(t.id,{noBase:n,urlParams:y}):(0,a.yR)("".concat(i,"/"),y)}let A=h(b,e);return s(e,k,{noBase:n,email:c,comments:l,commentId:d,commentInput:u,highlightComment:m,replyToComment:p,commentContextId:g,urlParams:(0,i._)({lli:A},y)})}function l(e){let{pub:t,post:n}=e,i=s(t,n.slug,{noBase:!1});return"".concat(i,"/citation.pdf")}function d(e,t,n){let{isPreview:i=!1}=n;return"".concat((0,a.$_)(e),"/embed/p/").concat(t,"?origin=").concat(window.location.origin).concat(i?"&isPreview=true":"")}function s(e,t){let{noBase:n,forceSubdomain:i,email:o,comments:r,commentId:c,commentInput:l,highlightComment:d,replyToComment:s,commentContextId:u,urlParams:m}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},p="";return n||(p+=(0,a.$_)(e,{forceSubdomain:i})),p+="/p/".concat(t),r&&(!c||d)&&(p+="/comments"),!c||d||u||(p+="/comment/".concat(c)),o&&(p+="/email"),c&&(d||s)?p+="#comment-".concat(c).concat(s?"-reply":""):l&&(p+="#input"),c&&u&&(p+="/comment/".concat(u,"#comment-").concat(c)),m&&(p=(0,a.yR)(p,m)),p}function u(e,t,n,a){return e&&"profile"===e.homepage_type?(null==n?void 0:n.id)?(0,o.M$)("c-".concat(null==n?void 0:n.id)):(0,o.q$)(e,t):c(e,t,(0,i._)({comments:!0,commentId:null==n?void 0:n.id},a))}function m(e){let{mediaUploadId:t}=e;return"media-".concat(t)}function p(e){let{pub:t,post:n,mediaUploadId:i}=e,a=c(t,n);return"".concat(a,"#").concat(m({mediaUploadId:i}))}function f(e,t){let{params:n,addBase:i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i?(0,a.$_)(e):"";return"".concat(o).concat((0,a.yR)("/publish/post/".concat(t),n))}function h(e,t){return t.custom_domain&&e?"1":void 0}function g(e){let{addBase:t,params:n={},signedIn:o,skipToken:c}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=h(o,e),d=t?(0,a.$_)(e):"";if(!(null==n?void 0:n.token)&&!c){var s;n.token="undefined"!=typeof window&&(null==(s=window._preloads)?void 0:s.original_url)?(0,r.y)(window._preloads.original_url,"token"):null}return(0,a.yR)("".concat(d,"/account"),(0,i._)({lli:l},n))}function v(e,t,n,i){return t.post_id?u(null!=n?n:void 0,null!=e?e:void 0,t,i):(0,o.Zg)(t,i)}function y(e){let{postId:t,appTab:n,params:o}=e;return(0,a.yR)("".concat((0,a.qd)(),"/post/").concat(t,"/stats").concat(n?"?tab=".concat(n):""),(0,i._)({},o))}n(39891)},98949:function(e,t,n){n.d(t,{Fr:()=>r,UN:()=>l,aR:()=>d,fJ:()=>c,m0:()=>u,nq:()=>m});let i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,a=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function o(){let e="undefined"!=typeof navigator?navigator.userAgent||navigator.vendor:void 0;return e||"undefined"==typeof window||(e=window.opera),e}function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o();return!!t&&c(t,e)}function c(e){let{checkFirst4:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.lastIndex=0,a.lastIndex=0,!!(i.test(e)||t&&a.test(e.substr(0,4)))}function l(){if("undefined"==typeof navigator)return null;var e=navigator.userAgent;if(!e.match(/iPad/i)&&!e.match(/iPhone/i))return null;let t=e.indexOf("OS ");return -1===t?null:parseInt(e.substr(t+3,3).replace("_","."))||null}function d(){return!!l()}let s=/Android/i;function u(){var e;return"undefined"!=typeof navigator&&(e=navigator.userAgent,s.lastIndex=0,!!e&&s.test(e))}function m(){return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.toLowerCase().includes("linkedin")}(o())}}}]);