(self.webpackChunklite=self.webpackChunklite||[]).push([[3763],{57831:(e,n,t)=>{"use strict";t.d(n,{h:()=>l});var i=t(87329),a=t(68216),l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublisherFollowersCount_publisher"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publisher"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"subscriberCount"}},{kind:"FragmentSpread",name:{kind:"Name",value:"collectionUrl_collection"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"socialStats"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"followerCount"}}]}},{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}}]}}]}}].concat((0,i.Z)(a.nf.definitions),(0,i.Z)(a.$m.definitions))}},80350:(e,n,t)=>{"use strict";t.d(n,{t:()=>d,e:()=>m});var i=t(67294),a=t(68427),l=t(84739),o=t(93310),r=t(87691),c=t(21372),d=function(e){var n,t,i=null!==(n="Collection"===e.__typename?e.subscriberCount:null===(t=e.socialStats)||void 0===t?void 0:t.followerCount)&&void 0!==n?n:0;return{followerCount:i,isFollowerCountVisible:i>0}},m=function(e){var n=e.disableLink,t=void 0!==n&&n,m=e.scale,s=void 0===m?"L":m,u=e.publisher,k=e.color,p=e.linkStyle,v=void 0===p?"SUBTLE":p,S=e.inline,f=e.showWhenZero,N=(0,a.B)(),w=(0,l.I)(),F=d(u),h=F.followerCount,g=F.isFollowerCountVisible;if(!f&&!g)return null;var b="".concat((0,c.pY)(h)," Follower").concat(1===h?"":"s");return i.createElement(r.F,{playwrightClassName:"pw-follower-count",tag:"span",scale:s,color:k},h>0&&!t?i.createElement(o.r,{href:"".concat("Collection"===u.__typename?N(u):w(u),"/followers"),linkStyle:v,inline:S},b):b)}},78757:(e,n,t)=>{"use strict";t.d(n,{P:()=>l});var i=t(68427),a=t(84739),l=function(e){var n=(0,i.B)(),t=(0,a.I)();return"Collection"===e.__typename?n(e):"User"===e.__typename?t(e):""}},30826:(e,n,t)=>{"use strict";t.d(n,{G:()=>o});var i=t(67294),a=t(71652),l=t(17193),o=function(e){var n=e.link,t=void 0!==n&&n,o=e.scale,r=void 0===o?"M":o,c=e.publisher;switch(c.__typename){case"User":return i.createElement(l.Yt,{link:t,scale:r,user:c});case"Collection":return i.createElement(a.v,{link:t,size:l.wC[r],collection:c});default:return null}}},84492:(e,n,t)=>{"use strict";t.d(n,{i:()=>o});var i=t(87329),a=t(78693),l=t(44210),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"FollowAndSubscribeButtons_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UserFollowButton_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserSubscribeButton_user"}}]}}].concat((0,i.Z)(a.s.definitions),(0,i.Z)(l.w.definitions))}},79568:(e,n,t)=>{"use strict";var i;t.d(n,{m:()=>i}),function(e){e.Overview="overview",e.Latest="latest",e.Series="series",e.Claps="has-recommended",e.Highlights="highlights",e.Responses="responses"}(i||(i={}))},44210:(e,n,t)=>{"use strict";t.d(n,{w:()=>l});var i=t(87329),a=t(31579),l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserSubscribeButton_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:"isPartnerProgramEnrolled"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isFollowing"}},{kind:"Field",name:{kind:"Name",value:"isUser"}}]}},{kind:"Field",name:{kind:"Name",value:"viewerIsUser"}},{kind:"Field",name:{kind:"Name",value:"newsletterV3"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useNewsletterV3Subscription_newsletterV3"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"useNewsletterV3Subscription_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MembershipUpsellModal_user"}}]}}].concat((0,i.Z)(a.DI.definitions),(0,i.Z)(a.nj.definitions),(0,i.Z)([{kind:"FragmentDefinition",name:{kind:"Name",value:"MembershipUpsellModal_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:"name"}},{kind:"Field",name:{kind:"Name",value:"imageId"}},{kind:"Field",name:{kind:"Name",value:"postSubscribeMembershipUpsellShownAt"}},{kind:"Field",name:{kind:"Name",value:"newsletterV3"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]))}},81284:(e,n,t)=>{"use strict";t.d(n,{z:()=>l,k:()=>o});var i=t(87329),a=t(68216),l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserProfileMetadataHelmet_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"imageId"}},{kind:"Field",name:{kind:"Name",value:"twitterScreenName"}},{kind:"Field",name:{kind:"Name",value:"navItems"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}}]}}]}}]},o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserProfileMetadata_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:"username"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"bio"}},{kind:"Field",name:{kind:"Name",value:"socialStats"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"followerCount"}},{kind:"Field",name:{kind:"Name",value:"followingCount"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserProfileMetadataHelmet_user"}}]}}].concat((0,i.Z)(a.$m.definitions),(0,i.Z)(l.definitions))}},67786:(e,n,t)=>{"use strict";t.d(n,{S:()=>u,x:()=>k});var i=t(67294),a=t(70405),l=t(79568),o=t(92661),r=t(43487),c=t(46696),d=t(21372),m=t(50458),s=150;function u(e){var n,t,a,c,u=e.tab,p=e.user,v=p.username,S=p.socialStats,f=p.customDomainState,N=p.name,w=p.bio,F=(0,r.v9)((function(e){return e.config.authDomain})),h=(0,r.v9)((function(e){return e.config.productName})),g=(0,o.uk)();N=N||"Unknown",(w=w||"")&&(w=w.match(/\.$/)?w:"".concat(w,"."));var b=null;switch(u){case l.m.Series:t="Series written by ".concat(N," – ").concat(h),a="Read the latest series written by ".concat(N," on ").concat(h,". ").concat(w),c=v?(0,m.TP)(v):null;break;case l.m.Claps:t="Stories ".concat(N," clapped for – ").concat(h),a="Discover all stories ".concat(N," clapped for on ").concat(h,". ").concat(w),c=v?(0,m.co)(v):null;break;case l.m.Highlights:t="Story highlights by ".concat(N," – ").concat(h),a="Read all highlights by ".concat(N," on ").concat(h,". ").concat(w),c=v?(0,m.i$)(v):null;break;case l.m.Responses:t="Responses – ".concat(N," – ").concat(h),a="Responses published by ".concat(N," on ").concat(h,". ").concat(w),c=v?(0,m.hz)(v):null;break;default:case l.m.Overview:t="".concat(N," – ").concat(h),(a="Read writing from ".concat(N," on ").concat(h,". ").concat(w)).length1?h.slice(1).join(" "):null;return i.createElement(a.ql,null,i.createElement("title",null,o),i.createElement("meta",{property:"og:title",content:o}),i.createElement("meta",{name:"description",content:d}),i.createElement("meta",{property:"og:description",content:d}),i.createElement("meta",{name:"twitter:description",content:d}),v&&0===v.length?i.createElement("meta",{name:"robots",content:"noindex,follow"}):null,l?i.createElement("link",{rel:"canonical",href:l}):null,l?i.createElement("meta",{property:"og:url",content:l}):null,l?i.createElement("meta",{property:"al:web:url",content:l}):null,N?i.createElement("meta",{property:"al:ios:url",content:N}):null,N?i.createElement("meta",{name:"twitter:app:url:iphone",content:N}):null,w?i.createElement("meta",{property:"al:android:url",content:w}):null,l?i.createElement("link",{rel:"alternate",href:(0,m.zi)(f)}):null,t?i.createElement("link",{id:"feedLink",rel:"alternate",type:"application/rss+xml",title:"RSS",href:"https://medium.com/feed".concat(t)}):null,F?i.createElement("meta",{property:"og:image",content:F}):null,F?i.createElement("meta",{name:"twitter:image:src",content:F}):null,p?i.createElement("link",{rel:"me",href:"https://twitter.com/".concat(p)}):null,u?i.createElement("meta",{property:"profile:username",content:u}):null,g?i.createElement("meta",{property:"profile:first_name",content:g}):null,b?i.createElement("meta",{property:"profile:last_name",content:b}):null,i.createElement("meta",{property:"og:type",content:"profile"}),i.createElement("meta",{name:"twitter:card",content:"summary"}))}}}]); //# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/3763.9820eb6b.chunk.js.map