"use strict";(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["1929"],{95441:function(n,o,e){e.d(o,{M1:()=>g,_7:()=>f,fz:()=>p,wj:()=>c});var t=e(7409),i=e(99282),a=e(16584),d=e(36808),l=e.n(d),r=e(98661),w=e(68833),u=e(48884),s=e(31742);let c=(0,r.createContext)({language:"en",baseLanguage:"en",preferredLanguage:l().get(s.ky.PREFERRED_LANGUAGE),iString:function(n){for(var o=arguments.length,e=Array(o>1?o-1:0),t=1;to,iPlural:(n,o,e)=>e>1?o:n,iTemplate:function(n){for(var o=arguments.length,e=Array(o>1?o-1:0),t=1;t4?i-4:0),d=4;dvoid 0,iMarker:n=>n});function g(){return(0,r.useContext)(c)}function f(n){let{children:o,language:e="en",preferredLanguage:i}=n,[d,g]=(0,r.useState)(()=>i);(0,r.useEffect)(()=>{d?l().set(s.ky.PREFERRED_LANGUAGE,d):l().remove(s.ky.PREFERRED_LANGUAGE)},[d]);let f=(0,r.useMemo)(()=>{let n=d||e;return(0,t._)({language:n,baseLanguage:e,preferredLanguage:d,setPreferredLanguage:o=>{(0,w.j)(w.FP.PREFERRED_LANGUAGE_SET,{from:n,to:o,surface:"writer-signup"}),g(o)}},u.mb.i(n))},[e,d]);return(0,a.tZ)(c.Provider,{value:f,children:o})}function p(n){let o=(0,r.forwardRef)((o,e)=>{let d=g();return(0,a.tZ)(n,(0,i._)((0,t._)({},d,o),{ref:e}))});return o.displayName="withI18NContext(".concat(n.displayName||n.name||"Anonymous",")"),o}c.displayName="I18NContext"},35702:function(n,o,e){let t;e.d(o,{Z:()=>p,a:()=>m});var i,a,d=e(16584);e(98661);var l=e(6400),r=e(36808),w=e(68833),u=e(98914),s=e(48884),c=e(31742),g=e(60308),f=e(69332);function p(n){var o,e,i;if(t)throw Error("Cannot re-render the things");t=n,window._preloads&&(window._preloads.original_url=window.location.href),(0,w.uF)(),function(){if("object"==typeof window._analyticsConfig&&null!==window._analyticsConfig&&!window._analyticsConfig.anonymousId){let n;try{n=JSON.parse(r.get(c.Ic.ANONYMOUS_ID))}catch(n){}n||(n=(0,u.EH)(),r.set(c.Ic.ANONYMOUS_ID,JSON.stringify(n),{expires:365})),window._analyticsConfig.anonymousId=n}}(),function(){let n=(0,f.m)(window.location.href);if(!n.token&&!n.lli||!window.history.replaceState)return;n.token&&!n.pt&&delete n.token,delete n.lli;let o="".concat((0,g.n1t)(window.location.pathname,n)).concat(window.location.hash);window.history.replaceState({},document.title,o)}(),function(){if(!window.history||!window.history.pushState||!window.scrollTo)return;let n=window.history.pushState;history.pushState=function(o,e,t){var i;let a=n.apply(history,arguments);return(null===(i=null==o?void 0:o.resetScroll)||void 0===i||i)&&-1===t.indexOf("#")&&window.scrollTo(0,0),a}}(),(null===(o=window._preloads)||void 0===o?void 0:o.language)&&void 0===window._preloads.customPublicationThemePreviewId&&s.TO.indexOf(window._preloads.language)>-1&&window.fetch?function(n,o){fetch("/api/v1/i18n/translations?language=".concat(o),{method:"GET"}).then(n=>n.json()).then(n=>{s.mb.l(o,n)}).finally(()=>{n()})}(v,window._preloads.language):v(),!(null===(e=console)||void 0===e?void 0:e.log)||window.location.hostname.includes(".localhost")||window.location.pathname.startsWith("/embed")||window.location.pathname.startsWith("/visited-surface-frame")||(null===(i=window._preloads.user)||void 0===i?void 0:i.is_global_admin)||console.log("%c\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░ SUBSTACK WANTS YOU ░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▒░░░░░░░░▒▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▒▒░░░░░░░░░░░░░░▒▒▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▒░░░░░░░░░░░░░░░░░░░░░░▒▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░ TO BUILD A NEW ECONOMIC ENGINE FOR CULTURE ░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n https://substack.com/jobs\n","font-family:monospace")}function m(n){let o=!1;if("object"==typeof window._preloads&&null!==window._preloads)for(let e in n)("object"==typeof n[e]&&null!==n[e]||n[e]!==window._preloads[e])&&(window._preloads[e]=n[e],o=!0);o&&v()}function v(){if(!t)return;let n=document.getElementById("entry");(0,l.render)((0,d.tZ)(t,{initialData:window._preloads}),n||document.body)}e(82190),"undefined"!=typeof window&&(null===(a=window._preloads)||void 0===a?void 0:null===(i=a.user)||void 0===i?void 0:i.is_global_admin)&&new URLSearchParams(window.location.search).get("devtools")&&e(14369)},53516:function(n,o,e){e.d(o,{S:()=>a});var t=e(55229),i=e(8090);function a(){var n,o;"undefined"!=typeof window&&(null===(o=window)||void 0===o?void 0:null===(n=o.navigator)||void 0===n?void 0:n.sendBeacon)&&(window.navigator.sendBeacon=window.navigator.sendBeacon.bind(window.navigator)),(0,i.Kl)(),(0,t.LH)(),(0,t.dl)(),(0,t.jP)(),(0,i.Md)()}},55229:function(n,o,e){e.d(o,{Hx:()=>g,LH:()=>m,NA:()=>f,XY:()=>p,dl:()=>s,iE:()=>c,jP:()=>v,xL:()=>_});var t=e(7409),i=e(15872),a=e(49762),d=e(98914),l=e(60308),r=e(69332);function w(n){let{toHead:o=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,d.fo)(()=>{let e=document.createElement("script");if(e.async=!0,e.src=n,o)document.head.appendChild(e);else{let n=document.getElementsByTagName("script")[0];n.parentNode&&n.parentNode.insertBefore(e,n)}})}function u(){return"undefined"!=typeof window&&window._preloads&&window._preloads.publicationSettings&&window._preloads.publicationSettings.google_analytics_4_token||null}function s(){var n,o,e,t;if("undefined"==typeof window)return;let i=null===(e=window)||void 0===e?void 0:null===(o=e._preloads)||void 0===o?void 0:null===(n=o.pub)||void 0===n?void 0:n.google_tag_manager_token;if(!i||i===u())return;window.dataLayer=window.dataLayer||[],(0,a.default)("exempt_from_gtm_filter")?window.dataLayer.push({"gtm.allowlist":["customPixels","customScripts","google","html","nonGooglePixels","nonGoogleScripts","nonGoogleIframes","sandboxedScripts"]}):window.dataLayer.push({"gtm.allowlist":["google"],"gtm.blocklist":["customPixels","customScripts","html","nonGooglePixels","nonGoogleScripts","nonGoogleIframes","sandboxedScripts"]}),window.dataLayer.push({"gtm.start":new Date().getTime(),event:"gtm.js"});let d=c();(null===(t=d.user)||void 0===t?void 0:t.id)&&window.dataLayer.push({userId:d.user.id.toString()}),w("https://www.googletagmanager.com/gtm.js?id=".concat(i),{toHead:!0})}function c(){let n;return"undefined"!=typeof window&&(n=window._analyticsConfig),n||(n={}),n.properties||(n.properties={}),n.properties.browserSessionId=i.W,n}function g(n){var o,e;let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"==typeof window||!(null===(o=window)||void 0===o?void 0:o.publisherGA4gtag))return;let i=c();(null===(e=i.user)||void 0===e?void 0:e.id)&&(t.user_id=i.user.id.toString()),window.publisherGA4gtag("event",n,t)}function f(n,o){var e;"undefined"!=typeof window&&(null===(e=window)||void 0===e?void 0:e.gtag)&&window.gtag("event",n,o)}function p(n){var o;let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=c(),i=function(){let n="undefined"!=typeof window&&window._preloads&&window._preloads.pub&&window._preloads.pub.ga_pixel_id;return n&&n.startsWith("UA-")?null:n}();if(!i)return;let a=(0,r.m)(window.location.href);e=Object.assign({v:1,t:n,tid:i,cid:t.anonymousId,dl:document.location.origin+document.location.pathname+document.location.search,dt:document.title||"",dr:document.referrer||"",cn:a.utm_campaign,cs:a.utm_source,cm:a.utm_medium,ck:a.utm_term,cc:a.utm_content,ci:a.utm_id},e),(null===(o=t.user)||void 0===o?void 0:o.id)&&(e.uid=t.user.id.toString()),new Image().src="https://www.google-analytics.com/collect?".concat((0,l.Y$Q)(e))}function m(){var n;if("undefined"==typeof window)return;let o=u();if(!o)return;window.GA4DataLayer=window.GA4DataLayer||[],window.publisherGA4gtag=function(){var n;null===(n=window.GA4DataLayer)||void 0===n||n.push(arguments)},window.publisherGA4gtag("js",new Date);let e=c();window.publisherGA4gtag("config",o,(0,t._)({send_page_view:!1},e.user&&{user_id:null==e?void 0:null===(n=e.user)||void 0===n?void 0:n.id.toString()}))}function v(){var n;if("undefined"==typeof window)return;let o=c();(o.localGaPixelId||o.adwordsAccountId)&&(window.localGaDataLayer=window.localGaDataLayer||[],window.gtag=function(){var n,o;null===(o=window)||void 0===o||null===(n=o.localGaDataLayer)||void 0===n||n.push(arguments)},window.gtag("js",new Date),o.localGaPixelId&&window.gtag("config",o.localGaPixelId),o.adwordsAccountId&&window.gtag("config",o.adwordsAccountId),(null===(n=o.user)||void 0===n?void 0:n.id)&&window.gtag("userId",o.user.id.toString()),w("https://www.googletagmanager.com/gtag/js?id=".concat(o.localGaPixelId||o.adwordsAccountId,"&l=localGaDataLayer")))}function _(){return"undefined"!=typeof window&&window._preloads&&window._preloads.pub&&window._preloads.pub.fb_pixel_id}}}]);