!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@9e6a28d"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4eb2dcf9-a5da-4dbb-92c0-47d8d814dd10",e._sentryDebugIdIdentifier="sentry-dbid-4eb2dcf9-a5da-4dbb-92c0-47d8d814dd10")}catch(e){}}(),(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["40941"],{14792:function(e,n,t){var o=t(13222),r=t(55808);e.exports=function(e){return r(o(e).toLowerCase())}},62193:function(e,n,t){var o=t(88984),r=t(5861),a=t(72428),l=t(56449),i=t(64894),s=t(3656),c=t(55527),d=t(37167),p=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(i(e)&&(l(e)||"string"==typeof e||"function"==typeof e.splice||s(e)||d(e)||a(e)))return!e.length;var n=r(e);if("[object Map]"==n||"[object Set]"==n)return!e.size;if(c(e))return!o(e).length;for(var t in e)if(p.call(e,t))return!1;return!0}},68090:function(e){e.exports=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0}},36944:function(e,n,t){e.exports=t(73893)("round")},98645:function(e,n,t){"use strict";t.d(n,{A:()=>o});let o=(0,t(81315).A)("arrow-up-down",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]])},63286:function(e,n,t){"use strict";t.d(n,{A:()=>o});let o=(0,t(81315).A)("chevrons-right",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]])},29665:function(e,n,t){"use strict";t.d(n,{A:()=>o});let o=(0,t(81315).A)("fold-vertical",[["path",{d:"M12 22v-6",key:"6o8u61"}],["path",{d:"M12 8V2",key:"1wkif3"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}],["path",{d:"m15 19-3-3-3 3",key:"e37ymu"}],["path",{d:"m15 5-3 3-3-3",key:"19d6lf"}]])},76987:function(e,n,t){"use strict";t.d(n,{A:()=>o});let o=(0,t(81315).A)("mail-open",[["path",{d:"M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z",key:"1jhwl8"}],["path",{d:"m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10",key:"1qfld7"}]])},49500:function(e,n,t){"use strict";t.d(n,{A:()=>o});let o=(0,t(81315).A)("send-horizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]])},80744:function(e,n,t){"use strict";t.d(n,{A:()=>o});let o=(0,t(81315).A)("shield-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71",key:"1jlk70"}],["path",{d:"M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264",key:"18rp1v"}]])},99084:function(e,n,t){"use strict";t.d(n,{A:()=>o});let o=(0,t(81315).A)("unfold-vertical",[["path",{d:"M12 22v-6",key:"6o8u61"}],["path",{d:"M12 8V2",key:"1wkif3"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m15 5-3-3-3 3",key:"itvq4r"}]])},98394:function(e,n,t){"use strict";t.d(n,{F0:()=>x});var o=t(50172),r=/[\s\n\\/='"\0<>]/,a=/^(xlink|xmlns|xml)([A-Z])/,l=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|src[A-Z]|tabI|useM|item[A-Z]/,i=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,s=new Set(["draggable","spellcheck"]),c=/["&<]/;function d(e){if(0===e.length||!1===c.test(e))return e;for(var n=0,t=0,o="",r="";t");if(J||("string"==typeof K?J=d(K):null!=K&&!1!==K&&!0!==K&&(J=e(K,t,"svg"===j||"foreignObject"!==j&&c,_,n,L,S))),y&&y(n),n.__=null,b&&b(n),!J&&C.has(j))return X+"/>";var en="",et=X+">";return k(J)?[et].concat(J,[en]):"string"!=typeof J?[et,J,en]:et+J+en}(e,n||v,!1,void 0,x,!1,t);return k(L)?L.join(""):L}catch(e){if(e.then)throw Error('Use "renderToStringAsync" for suspenseful rendering.');throw e}finally{o.options.__c&&o.options.__c(e,_),o.options.__s=c,_.length=0}}function E(e,n){var t,o=e.type,r=!0;return e.__c?(r=!1,(t=e.__c).state=t.__s):t=new o(e.props,n),e.__c=t,t.__v=e,t.props=e.props,t.context=n,t.__d=!0,null==t.state&&(t.state=v),null==t.__s&&(t.__s=t.state),o.getDerivedStateFromProps?t.state=w({},t.state,o.getDerivedStateFromProps(t.props,t.state)):r&&t.componentWillMount?(t.componentWillMount(),t.state=t.__s!==t.state?t.__s:t.state):!r&&t.componentWillUpdate&&t.componentWillUpdate(),g&&g(e),t.render(t.props,t.state,n)}var C=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"])},64154:function(e,n,t){"use strict";t.d(n,{Cs:()=>m,yl:()=>x});var o,r,a=t(17402),l=function(e,n){return(l=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(e,n)};function i(e,n){function t(){this.constructor=e}l(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var s=function(){return(s=Object.assign||function(e){for(var n,t=1,o=arguments.length;tdiv {\n display:inline-block;\n width:18px;\n height:18px;\n background-color:#e1e1e1;\n border-radius:50%;\n vertical-align:middle;\n -webkit-animation:calendly-bouncedelay 1.4s infinite ease-in-out;\n animation:calendly-bouncedelay 1.4s infinite ease-in-out;\n -webkit-animation-fill-mode:both;\n animation-fill-mode:both\n}\n\n.calendly-spinner .calendly-bounce1 {\n -webkit-animation-delay:-0.32s;\n animation-delay:-0.32s\n}\n\n.calendly-spinner .calendly-bounce2 {\n -webkit-animation-delay:-0.16s;\n animation-delay:-0.16s\n}\n\n@-webkit-keyframes calendly-bouncedelay {\n 0%,80%,100% {\n -webkit-transform:scale(0);\n transform:scale(0)\n } \n \n 40%{\n -webkit-transform:scale(1);\n transform:scale(1)\n }\n}\n\n@keyframes calendly-bouncedelay{ \n 0%,80%,100% {\n -webkit-transform:scale(0);\n transform:scale(0)\n }\n \n 40% {\n -webkit-transform:scale(1);\n transform:scale(1)\n }\n}"),(o=r||(r={})).PROFILE_PAGE_VIEWED="calendly.profile_page_viewed",o.EVENT_TYPE_VIEWED="calendly.event_type_viewed",o.DATE_AND_TIME_SELECTED="calendly.date_and_time_selected",o.EVENT_SCHEDULED="calendly.event_scheduled";var c=function(e){var n=e.url,t=e.prefill,o=void 0===t?{}:t,r=e.pageSettings,a=void 0===r?{}:r,l=e.utm,i=void 0===l?{}:l,s=e.embedType,c=a.backgroundColor,p=a.hideEventTypeDetails,f=a.hideLandingPageDetails,h=a.primaryColor,m=a.textColor,y=a.hideGdprBanner,g=o.customAnswers,b=o.date,v=o.email,_=o.firstName,k=o.guests,w=o.lastName,x=o.location,E=o.name,C=i.utmCampaign,L=i.utmContent,S=i.utmMedium,M=i.utmSource,A=i.utmTerm,T=i.salesforce_uuid,D=n.indexOf("?"),I=D>-1,N=n.slice(D+1);return(I?n.slice(0,D):n)+"?"+[I?N:null,c?"background_color="+c:null,p?"hide_event_type_details=1":null,f?"hide_landing_page_details=1":null,h?"primary_color="+h:null,m?"text_color="+m:null,y?"hide_gdpr_banner=1":null,E?"name="+encodeURIComponent(E):null,x?"location="+encodeURIComponent(x):null,_?"first_name="+encodeURIComponent(_):null,w?"last_name="+encodeURIComponent(w):null,k?"guests="+k.map(encodeURIComponent).join(","):null,v?"email="+encodeURIComponent(v):null,b&&b instanceof Date?"date="+d(b):null,C?"utm_campaign="+encodeURIComponent(C):null,L?"utm_content="+encodeURIComponent(L):null,S?"utm_medium="+encodeURIComponent(S):null,M?"utm_source="+encodeURIComponent(M):null,A?"utm_term="+encodeURIComponent(A):null,T?"salesforce_uuid="+encodeURIComponent(T):null,s?"embed_type="+s:null,"embed_domain=1"].concat(g?u(g):[]).filter(function(e){return null!==e}).join("&")},d=function(e){var n=e.getMonth()+1,t=e.getDate();return[e.getFullYear(),n<10?"0"+n:n,t<10?"0"+t:t].join("-")},p=/^a\d{1,2}$/,u=function(e){var n=Object.keys(e).filter(function(e){return e.match(p)});return n.length?n.map(function(n){return n+"="+encodeURIComponent(e[n])}):[]},f=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.prototype.render=function(){return(0,a.createElement)("div",{className:"calendly-spinner"},(0,a.createElement)("div",{className:"calendly-bounce1"}),(0,a.createElement)("div",{className:"calendly-bounce2"}),(0,a.createElement)("div",{className:"calendly-bounce3"}))},n}(a.Component),h={minWidth:"320px",height:"630px"},m=function(e){function n(n){var t=e.call(this,n)||this;return t.state={isLoading:!0},t.onLoad=t.onLoad.bind(t),t}return i(n,e),n.prototype.onLoad=function(){this.setState({isLoading:!1})},n.prototype.render=function(){var e=c({url:this.props.url,pageSettings:this.props.pageSettings,prefill:this.props.prefill,utm:this.props.utm,embedType:"Inline"});return(0,a.createElement)("div",{className:"calendly-inline-widget",style:this.props.styles||h},this.state.isLoading&&(0,a.createElement)(f,null),(0,a.createElement)("iframe",{width:"100%",height:"100%",frameBorder:"0",title:this.props.iframeTitle||"Calendly Scheduling Page",onLoad:this.onLoad,src:e}))},n}(a.Component),y=function(e){function n(n){var t=e.call(this,n)||this;return t.state={isLoading:!0},t.onLoad=t.onLoad.bind(t),t}return i(n,e),n.prototype.onLoad=function(){this.setState({isLoading:!1})},n.prototype.render=function(){var e=c({url:this.props.url,pageSettings:this.props.pageSettings,prefill:this.props.prefill,utm:this.props.utm,embedType:"PopupWidget"});return(0,a.createElement)(a.Fragment,null,this.state.isLoading&&(0,a.createElement)(f,null),(0,a.createElement)("iframe",{width:"100%",height:"100%",frameBorder:"0",title:this.props.iframeTitle||"Calendly Scheduling Page",onLoad:this.onLoad,src:e}))},n}(a.Component),g=function(e){return e.open?(0,a.createPortal)((0,a.createElement)("div",{className:"calendly-overlay"},(0,a.createElement)("div",{onClick:e.onModalClose,className:"calendly-close-overlay"}),(0,a.createElement)("div",{className:"calendly-popup"},(0,a.createElement)("div",{className:"calendly-popup-content"},(0,a.createElement)(y,s({},e)))),(0,a.createElement)("button",{className:"calendly-popup-close",onClick:e.onModalClose,"aria-label":"Close modal",style:{display:"block",border:"none",padding:0}})),e.rootElement):null},b=a.Component;function v(e){var n=b.call(this,e)||this;return n.state={isOpen:!1},n.onClick=n.onClick.bind(n),n.onClose=n.onClose.bind(n),n}i(v,b),v.prototype.onClick=function(e){e.preventDefault(),this.setState({isOpen:!0})},v.prototype.onClose=function(e){e.stopPropagation(),this.setState({isOpen:!1})},v.prototype.render=function(){return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("button",{onClick:this.onClick,style:this.props.styles||{},className:this.props.className||""},this.props.text),(0,a.createElement)(g,s({},this.props,{open:this.state.isOpen,onModalClose:this.onClose,rootElement:this.props.rootElement})))};var _=a.Component;function k(e){var n=_.call(this,e)||this;return n.state={isOpen:!1},n.onClick=n.onClick.bind(n),n.onClose=n.onClose.bind(n),n}i(k,_),k.prototype.onClick=function(){this.setState({isOpen:!0})},k.prototype.onClose=function(e){e.stopPropagation(),this.setState({isOpen:!1})},k.prototype.render=function(){return(0,a.createElement)("div",{className:"calendly-badge-widget",onClick:this.onClick},(0,a.createElement)("div",{className:"calendly-badge-content",style:{background:this.props.color||"#00a2ff",color:this.props.textColor||"#ffffff"}},this.props.text||"Schedule time with me",this.props.branding&&(0,a.createElement)("span",null,"powered by Calendly")),(0,a.createElement)(g,s({},this.props,{open:this.state.isOpen,onModalClose:this.onClose,rootElement:this.props.rootElement})))};var w="message";function x(e){var n=e||{},t=n.onDateAndTimeSelected,o=n.onEventScheduled,l=n.onEventTypeViewed,i=n.onProfilePageViewed;(0,a.useEffect)(function(){var e=function(e){var n=e.data.event;n===r.DATE_AND_TIME_SELECTED?t&&t(e):n===r.EVENT_SCHEDULED?o&&o(e):n===r.EVENT_TYPE_VIEWED?l&&l(e):n===r.PROFILE_PAGE_VIEWED&&i&&i(e)};return window.addEventListener(w,e),function(){window.removeEventListener(w,e)}},[e])}},16233:function(e,n,t){"use strict";t.d(n,{B:()=>r});var o=t(88285);let r=o.bP.create({name:"hardBreak",addOptions:()=>({keepMarks:!0,HTMLAttributes:{}}),inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML:()=>[{tag:"br"}],renderHTML({HTMLAttributes:e}){return["br",(0,o.KV)(this.options.HTMLAttributes,e)]},renderText:()=>"\n",addCommands(){return{setHardBreak:()=>({commands:e,chain:n,state:t,editor:o})=>e.first([()=>e.exitCode(),()=>e.command(()=>{let{selection:e,storedMarks:r}=t;if(e.$from.parent.type.spec.isolating)return!1;let{keepMarks:a}=this.options,{splittableMarks:l}=o.extensionManager,i=r||e.$to.parentOffset&&e.$from.marks();return n().insertContent({type:this.name}).command(({tr:e,dispatch:n})=>{if(n&&i&&a){let n=i.filter(e=>l.includes(e.type.name));e.ensureMarks(n)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}})}}]);