(self.webpackChunklite=self.webpackChunklite||[]).push([[8597],{59922:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var i=t(67294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var n=1;n{"use strict";t.d(n,{l:()=>s});var i=t(87329),a=t(38487),o=t(57477),l=t(67912),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ExplicitSignalMenuOptions_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"NegativeSignalModal_post"}}]}}].concat((0,i.Z)(l.d.definitions))},d={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OverflowMenu_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"OverflowMenuItemUndoClaps_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"AddToCatalogBase_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ExplicitSignalMenuOptions_post"}}]}}].concat((0,i.Z)(a.g.definitions),(0,i.Z)(o._C.definitions),(0,i.Z)(r.definitions))},s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OverflowMenuButton_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"visibility"}},{kind:"FragmentSpread",name:{kind:"Name",value:"OverflowMenu_post"}}]}}].concat((0,i.Z)(d.definitions))}},7675:(e,n,t)=>{"use strict";t.d(n,{J:()=>c,r:()=>u});var i=t(96156),a=t(67294),o=t(14646),l=t(77241);function r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function d(e){for(var n=1;n{"use strict";t.d(n,{xO:()=>s});var i=t(87329),a=t(89748),o=t(8994),l=t(89080),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewByLine_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CardByline_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ExpandablePostByline_user"}}]}}].concat((0,i.Z)(a.br.definitions),(0,i.Z)(o.A.definitions))},d={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewByLine_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CardByline_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionLinkWithPopover_collection"}}]}}].concat((0,i.Z)(a.We.definitions),(0,i.Z)(l.W.definitions))},s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewByLine_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewByLine_user"}}]}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewByLine_collection"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"CardByline_post"}}]}}].concat((0,i.Z)(r.definitions),(0,i.Z)(d.definitions),(0,i.Z)(a.yu.definitions))}},9842:(e,n,t)=>{"use strict";t.d(n,{G:()=>r});var i=t(67294),a=t(68717),o=t(36764),l=t(77355),r=function(e){var n=e.post,t=e.showAuthor,r=void 0===t||t,d=e.showCollectionName,s=void 0===d||d,c=e.marginBottom,m=n.collection||n.creator,u="User"===(null==m?void 0:m.__typename)&&n.collection?n.collection:n.creator;return r?i.createElement(l.x,{marginBottom:c,display:"flex",alignItems:"center"},n.creator?i.createElement(o.h,{author:n.creator,collection:s?n.collection:void 0,includeAvatar:!0,includeVerifiedAuthorBadge:!0,skipTab:!0}):u&&i.createElement(a.u,{publisher:u,publishedAt:void 0,post:n,isOneLine:!0})):null}},3105:(e,n,t)=>{"use strict";t.d(n,{J:()=>l});var i=t(87329),a=t(69724),o=t(4088),l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewContainer_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"extendedPreviewContent"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isFullContent"}}]}},{kind:"Field",name:{kind:"Name",value:"visibility"}},{kind:"Field",name:{kind:"Name",value:"pinnedAt"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostScrollTracker_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"usePostUrl_post"}}]}}].concat((0,i.Z)(a.k.definitions),(0,i.Z)(o.u.definitions))}},69935:(e,n,t)=>{"use strict";t.d(n,{V:()=>k});var i=t(96156),a=t(67294),o=t(25145),l=t(77355),r=t(66411),d=t(14646),s=t(68821),c=t(13663);function m(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function u(e){for(var n=1;n{"use strict";t.d(n,{m:()=>s});var i=t(87329),a=t(29461),o=t(93403),l=t(80536),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewFooterMenu_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"BookmarkButton_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"OverflowMenuButton_post"}}]}}].concat((0,i.Z)(o.z.definitions),(0,i.Z)(l.l.definitions))},d=t(52678),s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewFooter_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isLocked"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewFooterSocial_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewFooterMenu_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"usePostPublishedAt_post"}}]}}].concat((0,i.Z)(a.v.definitions),(0,i.Z)(r.definitions),(0,i.Z)(d.k.definitions))}},90316:(e,n,t)=>{"use strict";t.d(n,{u:()=>H,t:()=>M});var i=t(66604),a=t.n(i),o=t(67294),l=t(77355),r=t(50455),d=t(25735),s=t(6443),c=t(18634),m=t(17583),u=t(5351),p=t(97048),k=t(93310),v=t(30020),f=t(14646),S=t(69920),g=function(e){return{"& path":{stroke:e.colorTokens.foreground.neutral.secondary.base},":hover > path":{stroke:e.colorTokens.foreground.neutral.primary.hover}}},h="Show less like this";function N(e){var n=e.postId,t=(0,f.I)(),i=(0,u.w)().animateShowLess,a=(0,p.e)(n,"cache-only").showLess,l=(0,o.useCallback)((function(){a(),null==i||i()}),[a,i]);return o.createElement(v._,{placement:"top",targetDistance:10,tooltipText:h},o.createElement(k.r,{onClick:l,"aria-label":h,rules:{padding:"12px"}},o.createElement(S.Z,{className:t(g)})))}var E=t(45700),x=function(){return{padding:arguments.length>0&&void 0!==arguments[0]&&arguments[0]?"12px":void 0}};function F(e){var n=e.post,t=e.prependMenuItems,i=e.isCondensedFooter,a=e.showSaveIcon,u=e.showSaveInMenu,p=e.showExplicitSignalTooltip,k=e.showNegativeSignalIcon,v=(0,s.H)().value,f=(0,d.V)({name:"enable_explicit_signals",placeholder:!1}),S=(0,m.s)();return o.createElement(l.x,{alignItems:"center",display:"flex",justifyContent:"flex-end",flexShrink:"0",flexBasis:"0"},k&&o.createElement(N,{postId:n.id}),o.createElement(c.y,{xs:!a||a.xs,sm:!a||a.sm,md:!a||a.md,lg:!a||a.lg,xl:!a||a.xl},o.createElement(r.e,{post:n,susiEntry:"bookmark_preview",targetDistance:15,rules:x(i)})),v&&o.createElement(l.x,{paddingLeft:i?void 0:"24px",marginRight:i?"-12px":void 0},o.createElement(E.c,{post:n,prependMenuItems:t,hideNegativeSignalItem:!f,rules:x(i),showAddToList:u,showExplicitSignalTooltip:p&&u&&S&&u[S]})))}var y=t(23450),w=t.n(y),P=t(35989),b=t(89409),C=t(17311),_=t(94402),D=t(27323),T=t(31889),I=t(59922);function L(){return L=Object.assign?Object.assign.bind():function(e){for(var n=1;n=320;return{S:{flexBasis:"0",maxWidth:"56%",showSaveIcon:!t&&i&&e===M.GRID,showAllMeta:i&&e===M.GRID},M:{flexBasis:"0",maxWidth:"56%",showSaveIcon:!t&&i,showAllMeta:i},L:{flexBasis:"auto",maxWidth:"unset",showSaveIcon:t?n>=360:i,showAllMeta:i}}}(n,v,u),r),S=a()(f,(function(e){return e.flexBasis})),g=a()(f,(function(e){return e.maxWidth})),h=a()(f,(function(e){return e.showSaveIcon})),N=a()(f,(function(e){return!e.showSaveIcon})),E=a()(f,(function(e){return e.showAllMeta}));return o.createElement(o.Fragment,null,c?o.createElement(l.x,{display:"flex",justifyContent:"space-between",flexGrow:"1",height:"48px",ref:k},o.createElement(U,{post:t,postUrl:i,showAllMeta:E}),o.createElement(F,{post:t,prependMenuItems:d,isCondensedFooter:!0,showSaveIcon:h,showSaveInMenu:N,showExplicitSignalTooltip:m,showNegativeSignalIcon:u})):o.createElement(l.x,{display:"flex",justifyContent:"space-between"},o.createElement(l.x,{alignItems:"center",display:"flex",flexGrow:"1",flexShrink:"0",padding:"0",flexBasis:S,maxWidth:g},o.createElement(V.A,{post:t,postUrl:i})),o.createElement(F,{post:t,prependMenuItems:d,showExplicitSignalTooltip:m,showNegativeSignalIcon:u})))}},29461:(e,n,t)=>{"use strict";t.d(n,{v:()=>o});var i=t(87329),a=t(10654),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewFooterSocial_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MultiVote_post"}},{kind:"Field",name:{kind:"Name",value:"allowResponses"}},{kind:"Field",name:{kind:"Name",value:"isLimitedState"}},{kind:"Field",name:{kind:"Name",value:"postResponses"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"}}]}}]}}].concat((0,i.Z)(a.x.definitions))}},23175:(e,n,t)=>{"use strict";t.d(n,{A:()=>s});var i=t(67294),a=t(56804),o=t(38160),l=t(77355),r=t(75221),d=t(78870);function s(e){var n,t=e.post,s=e.postUrl,c=(0,d.Rk)(s,{responsesOpen:"true",sortBy:r.sV.REVERSE_CHRON});return i.createElement(i.Fragment,null,i.createElement(a.S,{post:t,buttonStyle:"SUBTLE_MARGIN",hasDialog:!0,susiEntry:"clap_footer",buttonColor:"LIGHTER",countScale:"S",shouldHideClapsText:!0,shouldShowResponsiveLabelText:!0}),i.createElement(l.x,{marginLeft:"20px"},i.createElement(o.c,{href:c,responsesCountScale:"S",trackingData:{postId:t.id},responsesCount:(null===(n=t.postResponses)||void 0===n?void 0:n.count)||null,isLimitedState:t.isLimitedState,isPublished:t.isPublished,allowResponses:t.allowResponses,countStylesOverride:{marginLeft:"4px",marginTop:"0px"}})))}},63009:(e,n,t)=>{"use strict";t.d(n,{u:()=>l});var i=t(87329),a=t(82864),o=t(52678),l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewInformation_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"readingTime"}},{kind:"Field",name:{kind:"Name",value:"isLocked"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Star_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"usePostPublishedAt_post"}}]}}].concat((0,i.Z)(a.W.definitions),(0,i.Z)(o.k.definitions))}},63254:(e,n,t)=>{"use strict";t.d(n,{O:()=>s});var i=t(67294),a=t(35989),o=t(17311),l=t(48342),r=t(73279),d=t(89409);function s(e){var n=e.post,t=e.isShorthand,s=void 0!==t&&t,c=(0,d.g)({post:n}).publishedAt,m=n.readingTime,u=n.isLocked,p=[];return u&&p.push(i.createElement(a.U,{post:n,hideLabelDesktop:!0,showLabelMobile:!1})),m&&p.push(i.createElement(l.K,{readingTime:m})),c&&p.push(i.createElement(o.h,{timestamp:c,isShorthand:s})),i.createElement(i.Fragment,null,p.map((function(e,n){return i.createElement(i.Fragment,{key:"post-preview-info-".concat(n)},e,n{"use strict";t.d(n,{Il:()=>o,L:()=>l,n0:()=>r});var i=t(67294),a=t(21755);function o(e){return i.useMemo((function(){return Object.keys(e).reduce((function(n,t){var i=e[t];return n[i]&&n[i].push(t),n}),{S:[],M:[],L:[]})}),[e])}function l(e,n){return{xs:e[n.xs],sm:e[n.sm],md:e[n.md],lg:e[n.lg],xl:e[n.xl]}}function r(e){var n={};for(var t in a.j)n[t]=e;return n}},38004:(e,n,t)=>{"use strict";t.d(n,{w:()=>k,d:()=>v});var i=t(87329),a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StreamPostPreviewImage_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"previewImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StreamPostPreviewImage_imageMetadata"}}]}}]}}].concat((0,i.Z)([{kind:"FragmentDefinition",name:{kind:"Name",value:"StreamPostPreviewImage_imageMetadata"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ImageMetadata"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"focusPercentX"}},{kind:"Field",name:{kind:"Name",value:"focusPercentY"}},{kind:"Field",name:{kind:"Name",value:"alt"}}]}}]))},o=t(83940),l=t(14524),r=t(63009),d={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StreamPostPreviewContent_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"previewImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"extendedPreviewContent"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"subtitle"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"StreamPostPreviewImage_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewFooter_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewByLine_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewInformation_post"}}]}}].concat((0,i.Z)(a.definitions),(0,i.Z)(o.m.definitions),(0,i.Z)(l.xO.definitions),(0,i.Z)(r.u.definitions))},s=t(3105),c=t(68216),m=t(54341),u={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewReason_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserMentionTooltip_user"}}]}}].concat((0,i.Z)(c.$m.definitions),(0,i.Z)(m.O.definitions))},p={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewReason_postProviderExplanation"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PostProviderExplanation"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reason"}},{kind:"Field",name:{kind:"Name",value:"interactedUsers"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewReason_user"}}]}},{kind:"Field",name:{kind:"Name",value:"tagObject"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewReason_tag"}}]}}]}}].concat((0,i.Z)(u.definitions),(0,i.Z)([{kind:"FragmentDefinition",name:{kind:"Name",value:"PostPreviewReason_tag"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Tag"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"normalizedTagSlug"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"displayTitle"}}]}}]))},k={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StreamPostPreview_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"StreamPostPreviewContent_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewContainer_post"}}]}}].concat((0,i.Z)(d.definitions),(0,i.Z)(s.J.definitions))},v={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StreamPostPreview_postProviderExplanation"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PostProviderExplanation"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PostPreviewReason_postProviderExplanation"}}]}}].concat((0,i.Z)(p.definitions))}},52521:(e,n,t)=>{"use strict";t.d(n,{j:()=>oe});var i=t(67294),a=t(66604),o=t.n(a),l=t(599),r=t(77355),d=t(93310),s=t(18634),c=t(52069),m=t(90586),u=t(87691),p=t(66411),k=t(78870),v=t(97480),f=t(31889),S=t(36001),g={S:"24px",M:"32px",L:"32px"},h={S:"12px",M:"20px",L:"20px"};function N(e){var n=e.scales,t=e.dividerColor,a=(0,f.F)(),o=(0,l.a)()?h:g,r=(0,S.L)(o,n);return i.createElement(v.E,{marginTop:r,borderColor:null!=t?t:a.colorTokens.border.neutral.primary.base})}var E=t(4381),x=t(46696),F=function(e){return{backgroundColor:e.colorTokens.background.neutral.tertiary.base,borderRadius:"2px"}},y={S:{height:53,width:80},M:{height:53,width:80},L:{height:107,width:160}},w=function(e){var n=e.post,t=e.scales,a=e.webp,o=void 0!==a&&a,l=(0,S.Il)(t),r=n.previewImage,d=n.title,c=null==r?void 0:r.id;if(!c)return null;var m=r.alt||d||"";return i.createElement("div",{"aria-label":m||"Post Preview Image"},Object.keys(l).map((function(e){var n=l[e];return n.length?i.createElement(s.y,{xs:n.includes("xs"),sm:n.includes("sm"),md:n.includes("md"),lg:n.includes("lg"),xl:n.includes("xl"),key:"stream-image-".concat(e)},i.createElement(E.UV,{alt:m,miroId:c,width:y[e].width,height:y[e].height,strategy:x._S.Crop,focusPercentX:r.focusPercentX,focusPercentY:r.focusPercentY,rules:F,webp:o})):null})))},P=t(7675),b=t(9842),C=t(90316),_=t(63254),D=function(e,n,t){return e?2:t?n>104?1:n>52?2:3:n>140?1:n>70?2:3},T=function(e){var n,t,a,v=e.post,f=e.postUrl,g=e.scales,h=e.showDivider,E=e.showCollectionName,x=e.showAuthor,F=e.dividerColor,T=e.prependOverflowMenuItems,I=e.webp,L=void 0!==I&&I,O=e.children,R=e.showExplicitSignalTooltip,M=e.showNegativeSignalIcon,A=v.title,B=null==v||null===(n=v.extendedPreviewContent)||void 0===n?void 0:n.subtitle,Z=null===(t=v.previewImage)||void 0===t?void 0:t.id,j=(0,l.a)(),U=(0,p.pK)(),V=(0,S.L)({S:{footerLocation:(a=j)?"content":"bottom",showSubtitle:!1,bylineSpacing:"12px",titleScale:"XS",titleClamp:a?4:2,imageMarginLeft:"24px",footerSpacing:"0",footerWidth:"100%"},M:{footerLocation:"bottom",showSubtitle:!0,bylineSpacing:"16px",titleScale:"S",titleClamp:a?4:2,imageMarginLeft:"24px",footerSpacing:"2px",footerWidth:"100%"},L:{footerLocation:"content",showSubtitle:!0,bylineSpacing:a?"16px":"20px",titleScale:"M",titleClamp:3,imageMarginLeft:"56px",footerSpacing:"10px",footerWidth:Z?"100%":"calc(100% - (".concat(y.L.width,"px + 56px))")}},g),W=o()(V,(function(e){return e.bylineSpacing})),z=o()(V,(function(e){return e.footerSpacing})),G=o()(V,(function(e){return e.titleScale})),H=o()(V,(function(e){return e.titleClamp})),Y=o()(V,(function(e){return e.imageMarginLeft})),K=o()(V,(function(e){return e.footerWidth}));return i.createElement(r.x,{width:"100%"},i.createElement("div",{style:{position:"relative",display:"flex"},role:"link","data-href":f,tabIndex:0,onKeyDown:function(e){e&&"Enter"===e.key&&window.location.assign((0,k.Rk)(f,{source:U}))}},i.createElement(P.J,null,i.createElement(i.Fragment,null,i.createElement(r.x,{display:"flex"},i.createElement(b.G,{post:v,marginBottom:W,showCollectionName:E,showAuthor:x})),i.createElement(r.x,{display:"flex"},i.createElement(r.x,{flexGrow:"1",flexShrink:"1",wordBreak:"break-word"},i.createElement(P.r,{anchorStyles:{display:"flex",flexDirection:"column"}},i.createElement(d.r,{href:f},A&&i.createElement(c.Dx,{scale:G,clamp:H},A),B&&i.createElement(s.y,{xs:V.xs.showSubtitle,sm:V.sm.showSubtitle,md:V.md.showSubtitle,lg:V.lg.showSubtitle,xl:V.xl.showSubtitle,paddingTop:"8px"},i.createElement(m.QE,{scale:"S",clamp:D(j,(null==A?void 0:A.length)||0,!!Z)},B)))),i.createElement(s.y,{xs:"content"===V.xs.footerLocation,sm:"content"===V.sm.footerLocation,md:"content"===V.md.footerLocation,lg:"content"===V.lg.footerLocation,xl:"content"===V.xl.footerLocation},j?i.createElement(r.x,{paddingTop:z,width:K},i.createElement(u.F,{scale:"S",tag:"span"},i.createElement(C.u,{type:C.t.STREAM,post:v,postUrl:f,scales:g,prependOverflowMenuItems:T,isCondensedFooter:!0,showExplicitSignalTooltip:R,showNegativeSignalIcon:M}))):i.createElement(i.Fragment,null,i.createElement(d.r,{href:f},i.createElement(u.F,{scale:"S",tag:"span"},i.createElement(r.x,{display:"flex",alignItems:"center",paddingTop:W},i.createElement(_.O,{post:v})))),i.createElement(r.x,{paddingTop:"24px"},i.createElement(C.u,{type:C.t.STREAM,post:v,postUrl:f,scales:g,prependOverflowMenuItems:T,showExplicitSignalTooltip:R,showNegativeSignalIcon:M}))))),!!Z&&i.createElement(r.x,{marginLeft:Y},i.createElement(w,{post:v,scales:g,webp:L}))),i.createElement(s.y,{xs:"bottom"===V.xs.footerLocation,sm:"bottom"===V.sm.footerLocation,md:"bottom"===V.md.footerLocation,lg:"bottom"===V.lg.footerLocation,xl:"bottom"===V.xl.footerLocation,paddingTop:j?"12px":"16px"},j?i.createElement(u.F,{scale:"S",tag:"span"},i.createElement(C.u,{type:C.t.STREAM,post:v,postUrl:f,scales:g,prependOverflowMenuItems:T,isCondensedFooter:!0,showExplicitSignalTooltip:R,showNegativeSignalIcon:M})):i.createElement(C.u,{type:C.t.STREAM,post:v,postUrl:f,scales:g,prependOverflowMenuItems:T,showExplicitSignalTooltip:R,showNegativeSignalIcon:M}))))),O,h&&i.createElement(N,{scales:g,dividerColor:F}))},I=t(69935),L=t(84739),O=t(28695),R=t(69992),M=t(30020),A=t(92780),B=t(14646),Z=t(75221),j=t(43487),U=t(59922);function V(){return V=Object.assign?Object.assign.bind():function(e){for(var n=1;n{"use strict";t.d(n,{k:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"usePostPublishedAt_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"firstPublishedAt"}},{kind:"Field",name:{kind:"Name",value:"latestPublishedAt"}},{kind:"Field",name:{kind:"Name",value:"pinnedAt"}}]}}]}},89409:(e,n,t)=>{"use strict";t.d(n,{g:()=>i});var i=function(e){var n=e.post,t=n.firstPublishedAt,i=n.latestPublishedAt,a=!!n.pinnedAt&&!!i;return{isUpdatedPost:a,publishedAt:a?i:t}}},60765:(e,n,t)=>{"use strict";t.d(n,{g:()=>o});var i=t(67294),a=t(27323),o=function(e){var n=e.children,t=e.className,o=void 0===t?"":t,l=e.href,r=e.onClick;return l?i.createElement(a.P,{className:o,href:l,onClick:r},n):n}},62549:(e,n,t)=>{"use strict";t.d(n,{t:()=>a});var i=t(87329),a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"DraftStatus_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"pendingCollection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"BoldCollectionName_collection"}}]}},{kind:"Field",name:{kind:"Name",value:"statusForCollection"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"isPublished"}}]}}].concat((0,i.Z)([{kind:"FragmentDefinition",name:{kind:"Name",value:"BoldCollectionName_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]))}},8994:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l,A:()=>r});var i=t(87329),a=t(68216),o=t(18821),l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ExpandablePostByline_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"domain"}},{kind:"Field",name:{kind:"Name",value:"slug"}}]}}]},r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ExpandablePostByline_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"imageId"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useIsVerifiedBookAuthor_user"}}]}}].concat((0,i.Z)(a.$m.definitions),(0,i.Z)(o.H.definitions))}},48342:(e,n,t)=>{"use strict";t.d(n,{K:()=>r});var i=t(67294),a=t(14646),o=t(21372),l=function(e){return{color:e.colorTokens.foreground.neutral.secondary.base}},r=function(e){var n=e.readingTime,t=e.isLighterText,r=void 0!==t&&t,d=(0,a.I)();if(!n)return null;var s="".concat((0,o.Vd)(n)," min read");return i.createElement("span",{className:r?d(l):void 0},s)}},89748:(e,n,t)=>{"use strict";t.d(n,{yu:()=>c,br:()=>m,We:()=>u,Gk:()=>p});var i=t(87329),a=t(62549),o=t(82864),l=t(17828),r=t(18821),d=t(68216),s=t(54341),c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CardByline_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"DraftStatus_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"Star_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"shouldShowPublishedInStatus_post"}}]}}].concat((0,i.Z)(a.t.definitions),(0,i.Z)(o.W.definitions),(0,i.Z)(l.w.definitions))},m={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CardByline_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"Field",name:{kind:"Name",value:"mediumMemberAt"}},{kind:"Field",name:{kind:"Name",value:"socialStats"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"followerCount"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"useIsVerifiedBookAuthor_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserMentionTooltip_user"}}]}}].concat((0,i.Z)(r.H.definitions),(0,i.Z)(d.$m.definitions),(0,i.Z)(s.O.definitions))},u={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CardByline_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"FragmentSpread",name:{kind:"Name",value:"collectionUrl_collection"}}]}}].concat((0,i.Z)(d.nf.definitions))},p={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CardByline_publisher"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publisher"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CardByline_user"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CardByline_collection"}}]}}]}}].concat((0,i.Z)(m.definitions),(0,i.Z)(u.definitions))}},68717:(e,n,t)=>{"use strict";t.d(n,{Q:()=>C,u:()=>_});var i=t(67294),a=t(35989),o=t(68427),l=t(84739),r=t(65968),d=t(64238),s=t(21309),c=t(60765),m=t(63459),u=t(17311),p=t(34796),k=t(35473),v=t(28695),f=t(77355),S=t(69992),g=t(21755),h=t(87691),N=t(18155),E=t(14646),x=t(17583),F=t(58992);function y(e,n){return n&&(0,N.nE)(e)?e[n]:e}var w=function(e){var n=e.author,t=e.forceSize,a=e.scale,o=void 0===a?"M":a,s=(0,x.s)(),m=(0,l.B)(n),u=(0,d.o)(n),p=s===g.j.xs;if(!n||!n.name)return null;var k=i.createElement(c.g,{href:m},i.createElement(f.x,{display:"flex",flexWrap:"nowrap",alignItems:"center"},i.createElement(h.F,{color:"ACCENT",scale:y(o,t)},n.name),u&&i.createElement(f.x,{marginLeft:"2px",marginTop:"1px"},i.createElement(r._,{size:"S"}))));return i.createElement(f.x,{display:"flex",alignItems:"center"},p?k:i.createElement(S.$,{placement:"right",targetDistance:15,mouseLeaveDelay:200,popoverRenderFn:function(){return i.createElement(v.K,{user:n})}},k))},P=function(e){var n=e.collection,t=e.forceSize,a=e.scale,l=void 0===a?"M":a,r=e.post,d=(0,o.R)(n);return(0,F.l)(r)?i.createElement(c.g,{href:d},i.createElement(h.F,{scale:y(l,t),color:"DARKER"},"Published in",i.createElement(s.t,{collection:n,marginLeft:"4px"}))):null},b=function(e){var n=e.small,t=void 0!==n&&n,a=e.hideDot,o=void 0!==a&&a,l=(0,E.I)();return i.createElement("span",{className:l({margin:"0 ".concat(t?4:7,"px")})},o?null:"ยท")},C=function(e){var n=e.datePrefix,t=void 0===n?"":n,o=e.forceSize,l=e.isOneLine,r=e.withMidDot,d=void 0===r||r,s=e.href,k=e.onClick,v=e.publishedAt,S=e.scale,g=void 0===S?"M":S,N=e.showStar,E=void 0!==N&&N,x=e.showPinned,F=void 0!==x&&x,w=e.timeColor,P=void 0===w?"LIGHTER":w,C=e.timeToRead,_=e.post;if(!v&&!C)return null;var D=l?u.h:m.Ej;return i.createElement(f.x,{display:"flex",alignItems:"center"},i.createElement(c.g,{href:s,onClick:k},i.createElement(h.F,{color:P,scale:y(g,o)},l&&d&&i.createElement(b,{small:!0,hideDot:!!C&&!!v}),v&&!F?i.createElement(i.Fragment,null,t,i.createElement(D,{hasPrefix:!(!l||!t)||void 0,timestamp:v})):null,F?i.createElement("span",null,"Pinned"):null,v&&C?i.createElement(b,null):null,C||null,!v&&i.createElement(i.Fragment,null,i.createElement(b,{small:l}),i.createElement(h.F,{color:"DARKER",scale:y(g,o),tag:"span"},i.createElement(p.F,{post:_}))))),E&&i.createElement(a.U,{padding:"0 0 0 4px",post:_}))},_=function(e){var n=e.avatar,t=void 0===n?null:n,a=e.datePrefix,o=e.forceSize,l=e.hideAuthor,r=void 0!==l&&l,d=e.href,s=e.onClick,c=e.isOneLine,m=void 0!==c&&c,u=e.publisher,p=e.publishedAt,v=e.scale,f=e.showStar,S=void 0!==f&&f,g=e.showPinned,h=void 0!==g&&g,N=e.timeColor,E=e.timeToRead,x=e.post,F=null;"Collection"===u.__typename?F=i.createElement(P,{collection:u,forceSize:o,scale:v,post:x}):r||(F=i.createElement(w,{author:u,forceSize:o,scale:v}));var y="Collection"===u.__typename||!r;return i.createElement(k.Y,{avatar:r?null:t,isOneLine:m,title:F,description:i.createElement(C,{datePrefix:a,publishedAt:p,timeToRead:E,withMidDot:y,href:d,onClick:s,showStar:S,showPinned:h,forceSize:o,scale:v,timeColor:N,isOneLine:m,post:x})})}},36764:(e,n,t)=>{"use strict";t.d(n,{h:()=>f});var i=t(67294),a=t(84739),o=t(65968),l=t(64238),r=t(26700),d=t(17193),s=t(28695),c=t(77355),m=t(69992),u=t(93310),p=t(30020),k=t(87691),v=function(e){var n=e.author;return(0,l.o)(n)?i.createElement(c.x,{marginLeft:"2px",marginTop:"2px"},i.createElement(o._,{size:"S"})):null},f=function(e){var n,t=(0,a.I)()(e.author),o=(0,i.useCallback)((function(){return e.author&&i.createElement(s.K,{user:e.author})}),[e.author]);return i.createElement(i.Fragment,null,e.includeAvatar&&i.createElement(c.x,{marginRight:"8px"},i.createElement(m.$,{targetDistance:15,mouseLeaveDelay:100,mouseEnterDelay:p.w,placement:"top",role:"tooltip",popoverRenderFn:o,display:"block"},i.createElement(d.Yt,{scale:"XXXS",user:e.author,link:!0,showHoverState:!0,skipTab:e.skipTab}))),i.createElement(c.x,{paddingRight:"4px"},i.createElement(m.$,{targetDistance:15,mouseLeaveDelay:100,mouseEnterDelay:p.w,placement:"top",role:"tooltip",popoverRenderFn:o,display:"block"},i.createElement(u.r,{href:t,linkStyle:"SUBTLE",inline:!0,display:"flex",rules:{alignItems:"center"}},i.createElement(k.F,{scale:"S",color:"DARKER",clamp:1},e.author.name),e.includeVerifiedAuthorBadge&&i.createElement(v,{author:e.author})))),(null===(n=e.collection)||void 0===n?void 0:n.name)&&i.createElement(i.Fragment,null,i.createElement(c.x,{paddingRight:"4px"},i.createElement(k.F,{scale:"S",color:"LIGHTER"},"in")),i.createElement(c.x,null,i.createElement(r.q,{collection:e.collection,clamp:1,popoverPlacement:"top",scale:"S"}))))}},69724:(e,n,t)=>{"use strict";t.d(n,{k:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PostScrollTracker_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"sequence"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sequenceId"}}]}}]}}]}},68821:(e,n,t)=>{"use strict";t.d(n,{V:()=>m});var i=t(23493),a=t.n(i),o=t(67294),l=t(18627),r=t(66411),d=t(34135),s=t(84509),c=1e3;function m(e,n,t){var i=(0,l.A)(),m=(0,r.Qi)(),u=Date.now(),p=null,k=o.useCallback(a()((function(){if(e.current){var t=(0,s.L6)(e.current);if((0,s.pn)(t)){var a=Date.now(),o=(0,s.tM)(t),l=(0,s.UO)(),r=(0,s.t_)(),d=Math.round(o.top),c=Math.round(o.top+o.height),k=l.top,v=l.top+r.height,f=l.height,S={postIds:[n.id],collectionIds:[n.collection?n.collection.id:""],sequenceIds:[n.sequence?n.sequence.sequenceId:""],sources:[m],tops:[d],bottoms:[c],areFullPosts:[!0],loggedAt:a,timeDiff:null!==p?Math.round(a-p):0,scrollTop:k,scrollBottom:v,scrollableHeight:f,viewStartedAt:u};i.event("post.streamScrolled",S),p=a}}}),c),[n]);o.useEffect((function(){k();var e=null!=t&&t.current?(0,d.jC)(null==t?void 0:t.current):d.V6;return e.on("scroll_end",k),function(){e.off("scroll_end",k)}}),[k])}},17828:(e,n,t)=>{"use strict";t.d(n,{w:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"shouldShowPublishedInStatus_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"statusForCollection"}},{kind:"Field",name:{kind:"Name",value:"isPublished"}}]}}]}}}]); //# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/8597.d6e15950.chunk.js.map