(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["6526"],{84596:function(t,e,r){var n=r(1469);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return n(t)?t:[t]}},12297:function(t,e,r){var n=r(67762),i=r(6557);t.exports=function(t){return t&&t.length?n(t,i):0}},16378:function(t,e,r){"use strict";r.d(e,{Z:()=>n});/** * @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 n=(0,r(36150).Z)("ArrowLeftFromLine",[["path",{d:"m9 6-6 6 6 6",key:"7v63n9"}],["path",{d:"M3 12h14",key:"13k4hi"}],["path",{d:"M21 19V5",key:"b4bplr"}]])},89111:function(t,e,r){"use strict";r.d(e,{Z:()=>n});/** * @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 n=(0,r(36150).Z)("ArrowRightFromLine",[["path",{d:"M3 5v14",key:"1nt18q"}],["path",{d:"M21 12H7",key:"13ipq5"}],["path",{d:"m15 18 6-6-6-6",key:"6tx3qv"}]])},37513:function(t,e,r){"use strict";r.d(e,{Z:()=>n});/** * @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 n=(0,r(36150).Z)("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},79721:function(t,e,r){"use strict";r.d(e,{Z:()=>n});/** * @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 n=(0,r(36150).Z)("ChevronsRight",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]])},17181:function(t,e,r){"use strict";r.d(e,{Z:()=>n});/** * @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 n=(0,r(36150).Z)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},16293:function(t,e,r){"use strict";r.d(e,{Z:()=>n});/** * @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 n=(0,r(36150).Z)("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]])},64567:function(t,e,r){"use strict";r.d(e,{Z:()=>n});/** * @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 n=(0,r(36150).Z)("LayoutList",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}],["path",{d:"M14 4h7",key:"3xa0d5"}],["path",{d:"M14 9h7",key:"1icrd9"}],["path",{d:"M14 15h7",key:"1mj8o2"}],["path",{d:"M14 20h7",key:"11slyb"}]])},71237:function(t,e,r){"use strict";r.d(e,{Z:()=>n});/** * @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 n=(0,r(36150).Z)("MoveRight",[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]])},77989:function(t,e,r){"use strict";r.d(e,{Z:()=>n});/** * @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 n=(0,r(36150).Z)("Podcast",[["path",{d:"M16.85 18.58a9 9 0 1 0-9.7 0",key:"d71mpg"}],["path",{d:"M8 14a5 5 0 1 1 8 0",key:"fc81rn"}],["circle",{cx:"12",cy:"11",r:"1",key:"1gvufo"}],["path",{d:"M13 17a1 1 0 1 0-2 0l.5 4.5a.5.5 0 1 0 1 0Z",key:"za5kbj"}]])},1864:function(t,e,r){"use strict";r.d(e,{wy:()=>F,S_:()=>W});var n,i,o,l,s,a,c,u,f,d,h,p=r(16019),m=r(64222),v=r(20727),g=Number.isNaN||function(t){return"number"==typeof t&&t!=t};function y(t,e){if(t.length!==e.length)return!1;for(var r,n,i=0;i0?b="positive-descending":(e.scrollLeft=1,b=0===e.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(e)}return b}var R=function(t,e){return t},z=function(t,e){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,e.instance},C=function(t,e,r){var n=t.itemSize,i=r.itemMetadataMap,o=r.lastMeasuredIndex;if(e>o){var l=0;if(o>=0){var s=i[o];l=s.offset+s.size}for(var a=o+1;a<=e;a++){var c=n(a);i[a]={offset:l,size:c},l+=c}r.lastMeasuredIndex=e}return i[e]},Z=function(t,e,r){var n=e.itemMetadataMap,i=e.lastMeasuredIndex;return(i>0?n[i].offset:0)>=r?T(t,e,i,0,r):P(t,e,Math.max(0,i),r)},T=function(t,e,r,n,i){for(;n<=r;){var o=n+Math.floor((r-n)/2),l=C(t,o,e).offset;if(l===i)return o;li&&(r=o-1)}return n>0?n-1:0},P=function(t,e,r,n){for(var i=t.itemCount,o=1;r=r&&(o=r-1),o>=0){var s=n[o];l=s.offset+s.size}return l+(r-o-1)*i},W=(o=(n={getItemOffset:function(t,e,r){return C(t,e,r).offset},getItemSize:function(t,e,r){return r.itemMetadataMap[e].size},getEstimatedTotalSize:D,getOffsetForIndexAndAlignment:function(t,e,r,n,i,o){var l=t.direction,s=t.height,a=t.layout,c=t.width,u="horizontal"===l||"horizontal"===a?c:s,f=C(t,e,i),d=Math.max(0,Math.min(D(t,i)-u,f.offset)),h=Math.max(0,f.offset-u+f.size+o);switch("smart"===r&&(r=n>=h-u&&n<=d+u?"auto":"center"),r){case"start":return d;case"end":return h;case"center":return Math.round(h+(d-h)/2);default:if(n>=h&&n<=d)return n;if(n=150?t.call(null):n.id=requestAnimationFrame(r)})})},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},function(){r._getItemStyleCache(-1,null)})},r}(0,v.Z)(e,t),e.getDerivedStateFromProps=function(t,e){return z(t,e),h(t),null};var r=e.prototype;return r.scrollTo=function(t){t=Math.max(0,t),this.setState(function(e){return e.scrollOffset===t?null:{scrollDirection:e.scrollOffsets.clientWidth?w():0:s.scrollHeight>s.clientHeight?w():0}this.scrollTo(a(this.props,t,e,o,this._instanceProps,l))},r.componentDidMount=function(){var t=this.props,e=t.direction,r=t.initialScrollOffset,n=t.layout;if("number"==typeof r&&null!=this._outerRef){var i=this._outerRef;"horizontal"===e||"horizontal"===n?i.scrollLeft=r:i.scrollTop=r}this._callPropsCallbacks()},r.componentDidUpdate=function(){var t=this.props,e=t.direction,r=t.layout,n=this.state,i=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("horizontal"===e||"horizontal"===r){if("rtl"===e)switch(O()){case"negative":o.scrollLeft=-i;break;case"positive-ascending":o.scrollLeft=i;break;default:var l=o.clientWidth,s=o.scrollWidth;o.scrollLeft=s-l-i}else o.scrollLeft=i}else o.scrollTop=i}this._callPropsCallbacks()},r.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&x(this._resetIsScrollingTimeoutId)},r.render=function(){var t=this.props,e=t.children,r=t.className,n=t.direction,i=t.height,o=t.innerRef,s=t.innerElementType,a=t.innerTagName,c=t.itemCount,u=t.itemData,f=t.itemKey,d=void 0===f?R:f,h=t.layout,m=t.outerElementType,v=t.outerTagName,g=t.style,y=t.useIsScrolling,S=t.width,M=this.state.isScrolling,_="horizontal"===n||"horizontal"===h,x=_?this._onScrollHorizontal:this._onScrollVertical,k=this._getRangeToRender(),w=k[0],b=k[1],O=[];if(c>0)for(var z=w;z<=b;z++)O.push((0,I.createElement)(e,{data:u,key:d(z,u),index:z,isScrolling:y?M:void 0,style:this._getItemStyle(z)}));var C=l(this.props,this._instanceProps);return(0,I.createElement)(m||v||"div",{className:r,onScroll:x,ref:this._outerRefSetter,style:(0,p.Z)({position:"relative",height:i,width:S,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:n},g)},(0,I.createElement)(s||a||"div",{children:O,ref:o,style:{height:_?"100%":C,pointerEvents:M?"none":void 0,width:_?C:"100%"}}))},r._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var t=this._getRangeToRender(),e=t[0],r=t[1],n=t[2],i=t[3];this._callOnItemsRendered(e,r,n,i)}if("function"==typeof this.props.onScroll){var o=this.state,l=o.scrollDirection,s=o.scrollOffset,a=o.scrollUpdateWasRequested;this._callOnScroll(l,s,a)}},r._getRangeToRender=function(){var t=this.props,e=t.itemCount,r=t.overscanCount,n=this.state,i=n.isScrolling,o=n.scrollDirection,l=n.scrollOffset;if(0===e)return[0,0,0,0];var s=c(this.props,l,this._instanceProps),a=u(this.props,s,l,this._instanceProps);return[Math.max(0,s-(i&&"backward"!==o?1:Math.max(1,r))),Math.max(0,Math.min(e-1,a+(i&&"forward"!==o?1:Math.max(1,r)))),s,a]},e}(I.PureComponent)).defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},i);function L(t,e){for(var r in t)if(!(r in e))return!0;for(var n in e)if(t[n]!==e[n])return!0;return!1}var q=["style"],A=["style"];function F(t,e){var r=t.style,n=(0,M.Z)(t,q),i=e.style,o=(0,M.Z)(e,A);return!L(r,i)&&!L(n,o)}},20727:function(t,e,r){"use strict";r.d(e,{Z:()=>i});var n=r(86143);function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,n.Z)(t,e)}}}]); //# sourceMappingURL=6526.0d5c95a0.js.map