(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["9448"],{70151:function(e,n,t){var o=t(278),a=t(73480);e.exports=function(e){return a(o(e))}},25127:function(e,n,t){var o=t(73480),a=t(52628);e.exports=function(e){return o(a(e))}},89179:function(e,n,t){var o=t(55639),a=t(40554),r=t(14841),i=t(79833),l=o.isFinite,s=Math.min;e.exports=function(e){var n=Math[e];return function(e,t){if(e=r(e),(t=null==t?0:s(a(t),292))&&l(e)){var o=(i(e)+"e").split("e");return+((o=(i(n(o[0]+"e"+(+o[1]+t)))+"e").split("e"))[0]+"e"+(+o[1]-t))}return n(e)}}},73480:function(e,n,t){var o=t(69877);e.exports=function(e,n){var t=-1,a=e.length,r=a-1;for(n=void 0===n?a:n;++to});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]])},37619:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("ArrowUpDown",[["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"}]])},25469:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},47655:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("BookmarkCheck",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2Z",key:"169p4p"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}]])},76924:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("CircleUser",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]])},10633:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("Clock9",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 7.5 12",key:"1k60p0"}]])},34539:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("Cross",[["path",{d:"M11 2a2 2 0 0 0-2 2v5H4a2 2 0 0 0-2 2v2c0 1.1.9 2 2 2h5v5c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-5h5a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-5V4a2 2 0 0 0-2-2h-2z",key:"1t5g7j"}]])},89337:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]])},85598:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("FoldVertical",[["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"}]])},20817:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("Inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]])},28058:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("MessageCirclePlus",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]])},14945:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("SendHorizontal",[["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"}]])},37603:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("ThumbsDown",[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}]])},52066:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]])},7760:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("UnfoldVertical",[["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"}]])},76410:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]])},63685:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("UserRoundMinus",[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 19h-6",key:"vcuq98"}]])},3678:function(e,n,t){"use strict";t.d(n,{Z:()=>o});/** * @license lucide-preact v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=(0,t(36150).Z)("UserRoundPlus",[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M22 19h-6",key:"vcuq98"}]])},56232:function(e,n,t){"use strict";n.Match=void 0;var o=Object.assign||function(e){for(var n=1;n>>0,1)},n.prototype.render=function(e){var n=this.nextUrl||(0,r.getCurrentUrl)(),t=n.replace(/\?.+$/,"");return this.nextUrl=null,e.children({url:n,path:t,matches:!1!==(0,r.exec)(t,e.path,{})})},n}(a.Component);l.Link=function(e){var n=e.activeClassName,t=e.path,i=function(e,n){var t={};for(var o in e)!(n.indexOf(o)>=0)&&Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}(e,["activeClassName","path"]);return(0,a.h)(l,{path:t||i.href},function(e){var t=e.matches;return(0,a.h)(r.Link,o({},i,{class:[i.class||i.className,t&&n].filter(Boolean).join(" ")}))})}},20761:function(e,n,t){"use strict";t.d(n,{KS:()=>f,pv:()=>b});var o,a,r=t(98661),i=function(e,n){return(i=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 l(e,n){function t(){this.constructor=e}i(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=a||(a={})).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,a=e.pageSettings,r=void 0===a?{}:a,i=e.utm,l=void 0===i?{}:i,s=e.embedType,c=r.backgroundColor,p=r.hideEventTypeDetails,h=r.hideLandingPageDetails,y=r.primaryColor,f=r.textColor,m=r.hideGdprBanner,g=o.customAnswers,v=o.date,b=o.email,k=o.firstName,x=o.guests,w=o.lastName,C=o.location,E=o.name,M=l.utmCampaign,_=l.utmContent,Z=l.utmMedium,O=l.utmSource,L=l.utmTerm,T=l.salesforce_uuid,S=n.indexOf("?"),N=S>-1,U=n.slice(S+1);return(N?n.slice(0,S):n)+"?"+[N?U:null,c?"background_color="+c:null,p?"hide_event_type_details=1":null,h?"hide_landing_page_details=1":null,y?"primary_color="+y:null,f?"text_color="+f:null,m?"hide_gdpr_banner=1":null,E?"name="+encodeURIComponent(E):null,C?"location="+encodeURIComponent(C):null,k?"first_name="+encodeURIComponent(k):null,w?"last_name="+encodeURIComponent(w):null,x?"guests="+x.map(encodeURIComponent).join(","):null,b?"email="+encodeURIComponent(b):null,v&&v instanceof Date?"date="+d(v):null,M?"utm_campaign="+encodeURIComponent(M):null,_?"utm_content="+encodeURIComponent(_):null,Z?"utm_medium="+encodeURIComponent(Z):null,O?"utm_source="+encodeURIComponent(O):null,L?"utm_term="+encodeURIComponent(L):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])}):[]},h=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return l(n,e),n.prototype.render=function(){return(0,r.createElement)("div",{className:"calendly-spinner"},(0,r.createElement)("div",{className:"calendly-bounce1"}),(0,r.createElement)("div",{className:"calendly-bounce2"}),(0,r.createElement)("div",{className:"calendly-bounce3"}))},n}(r.Component),y={minWidth:"320px",height:"630px"},f=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 l(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,r.createElement)("div",{className:"calendly-inline-widget",style:this.props.styles||y},this.state.isLoading&&(0,r.createElement)(h,null),(0,r.createElement)("iframe",{width:"100%",height:"100%",frameBorder:"0",title:this.props.iframeTitle||"Calendly Scheduling Page",onLoad:this.onLoad,src:e}))},n}(r.Component),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 l(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,r.createElement)(r.Fragment,null,this.state.isLoading&&(0,r.createElement)(h,null),(0,r.createElement)("iframe",{width:"100%",height:"100%",frameBorder:"0",title:this.props.iframeTitle||"Calendly Scheduling Page",onLoad:this.onLoad,src:e}))},n}(r.Component),g=function(e){return e.open?(0,r.createPortal)((0,r.createElement)("div",{className:"calendly-overlay"},(0,r.createElement)("div",{onClick:e.onModalClose,className:"calendly-close-overlay"}),(0,r.createElement)("div",{className:"calendly-popup"},(0,r.createElement)("div",{className:"calendly-popup-content"},(0,r.createElement)(m,s({},e)))),(0,r.createElement)("button",{className:"calendly-popup-close",onClick:e.onModalClose,"aria-label":"Close modal",style:{display:"block",border:"none",padding:0}})),e.rootElement):null};!function(e){function n(n){var t=e.call(this,n)||this;return t.state={isOpen:!1},t.onClick=t.onClick.bind(t),t.onClose=t.onClose.bind(t),t}l(n,e),n.prototype.onClick=function(e){e.preventDefault(),this.setState({isOpen:!0})},n.prototype.onClose=function(e){e.stopPropagation(),this.setState({isOpen:!1})},n.prototype.render=function(){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("button",{onClick:this.onClick,style:this.props.styles||{},className:this.props.className||""},this.props.text),(0,r.createElement)(g,s({},this.props,{open:this.state.isOpen,onModalClose:this.onClose,rootElement:this.props.rootElement})))}}(r.Component),function(e){function n(n){var t=e.call(this,n)||this;return t.state={isOpen:!1},t.onClick=t.onClick.bind(t),t.onClose=t.onClose.bind(t),t}l(n,e),n.prototype.onClick=function(){this.setState({isOpen:!0})},n.prototype.onClose=function(e){e.stopPropagation(),this.setState({isOpen:!1})},n.prototype.render=function(){return(0,r.createElement)("div",{className:"calendly-badge-widget",onClick:this.onClick},(0,r.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,r.createElement)("span",null,"powered by Calendly")),(0,r.createElement)(g,s({},this.props,{open:this.state.isOpen,onModalClose:this.onClose,rootElement:this.props.rootElement})))}}(r.Component);var v="message";function b(e){var n=e||{},t=n.onDateAndTimeSelected,o=n.onEventScheduled,i=n.onEventTypeViewed,l=n.onProfilePageViewed;(0,r.useEffect)(function(){var e=function(e){var n=e.data.event;n===a.DATE_AND_TIME_SELECTED?t&&t(e):n===a.EVENT_SCHEDULED?o&&o(e):n===a.EVENT_TYPE_VIEWED?i&&i(e):n===a.PROFILE_PAGE_VIEWED&&l&&l(e)};return window.addEventListener(v,e),function(){window.removeEventListener(v,e)}},[e])}},99961:function(e,n,t){"use strict";t.d(n,{U:()=>a});var o=t(88897);let a=o.NB.create({name:"hardBreak",addOptions:()=>({keepMarks:!0,HTMLAttributes:{}}),inline:!0,group:"inline",selectable:!1,parseHTML:()=>[{tag:"br"}],renderHTML({HTMLAttributes:e}){return["br",(0,o.P1)(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:a}=t;if(e.$from.parent.type.spec.isolating)return!1;let{keepMarks:r}=this.options,{splittableMarks:i}=o.extensionManager,l=a||e.$to.parentOffset&&e.$from.marks();return n().insertContent({type:this.name}).command(({tr:e,dispatch:n})=>{if(n&&l&&r){let n=l.filter(e=>i.includes(e.type.name));e.ensureMarks(n)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}})}}]); //# sourceMappingURL=9448.e398cd59.js.map