(self.webpackChunklite=self.webpackChunklite||[]).push([[8916],{42130:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});var i=t(67294);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n{"use strict";t.r(n),t.d(n,{RightColumnContent:()=>m,useLoader:()=>s});var i=t(64718),r=t(67294),a=t(87329),o=t(71711),l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UserProfileRightColQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"username"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userResult"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"username"},value:{kind:"Variable",name:{kind:"Name",value:"username"}}}],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:"FragmentSpread",name:{kind:"Name",value:"UserProfileRightColumn_user"}}]}}]}}]}}].concat((0,a.Z)(o.P.definitions))},c=t(81243),d=t(8458),u=t(81390),s=function(e){var n=(0,d.t)(e),t=n.id,r=n.username,a=(0,i.a)(l,{variables:{id:t,username:r},skip:!t&&!r});return{loading:a.loading,userProfileRightColQueryResult:a}},m=function(e){var n=e.userProfileRightColQueryResult,t=n.error,i=n.data,a=(i=void 0===i?{}:i).userResult;return n.loading||t||(0,u.b)(a)?null:r.createElement(c.v,{user:a})}},98598:(e,n,t)=>{"use strict";t.d(n,{g:()=>o});var i=t(87329),r=t(84683),a=t(19308),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CollectionTooltip_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"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"subscriberCount"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionAvatar_collection"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionFollowButton_collection"}}]}}].concat((0,i.Z)(r.d.definitions),(0,i.Z)(a.I.definitions))}},18978:(e,n,t)=>{"use strict";t.d(n,{L:()=>u});var i=t(67294),r=t(71652),a=t(82405),o=t(77355),l=t(20113),c=t(87691),d=t(21372),u=function(e){var n=e.collection,t=e.buttonSize,u=e.buttonStyleFn,s=n.name,m=n.description;return i.createElement(o.x,{padding:"15px",display:"flex",flexDirection:"column",width:"300px"},i.createElement(o.x,{display:"flex",flexDirection:"row",justifyContent:"space-between",whiteSpace:"normal",borderBottom:"neutral.primary",paddingBottom:"10px",marginBottom:"10px"},i.createElement(o.x,{display:"flex",flexDirection:"column",paddingRight:"5px"},i.createElement(l.X6,{scale:"S"},s),i.createElement(c.F,{scale:"S"},m)),i.createElement(o.x,null,i.createElement(r.v,{collection:n,link:!0}))),i.createElement(o.x,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},i.createElement(c.F,{scale:"M"},"Followed by ",(0,d.pY)(n.subscriberCount||0)," people"),i.createElement(a.F,{collection:n,buttonSize:t,buttonStyleFn:u,susiEntry:"follow_card"})))}},32064:(e,n,t)=>{"use strict";t.d(n,{y:()=>a});var i=t(67294),r=t(77355),a=function(e){var n=e.children,t=e.marginTop,a=void 0===t?"40px":t,o=e.paddingBottom,l=void 0===o?"0px":o,c=e.showBorderBottom,d=void 0!==c&&c;return i.createElement(r.x,{marginTop:a,paddingBottom:l,borderBottom:d?"neutral.primary":"NONE"},n)}},986:(e,n,t)=>{"use strict";t.d(n,{c:()=>u});var i=t(22122),r=t(67294),a=t(52439),o=t(89636),l=t(4793),c=t(77355),d=t(35010),u=function(e){var n=e.children,t=e.innerPadding,u=void 0===t?{}:t,s=e.footerPadding,m=e.display,p=void 0===m?"block":m,v=(0,r.useRef)(0),k=(0,r.useRef)(null),f=(0,r.useRef)("stickyToTop"),y=(0,r.useRef)(null),g=(0,o.v)(),x=g.fullNavbarHeight,h=g.topNavUpsellHeight,S=g.addHeightChangeHandler,N=g.removeHeightChangeHandler;return(0,d.L)((function(){var e=function(e){var n=e.currentHeight;k.current&&y.current&&("notSticky"!==f.current&&(k.current.style.top="".concat(n,"px")),y.current.style.minHeight="calc(100vh - ".concat(n,"px)"))};return S(e),function(){N(e)}}),[]),(0,d.L)((function(){var e=function(){if(k.current){var e=window.scrollY>v.current;v.current=window.scrollY;var n=window.innerHeight,t=k.current.offsetHeight-n,i=l.fp;t<=20||(e?("notSticky"===f.current&&window.scrollY>=k.current.offsetTop+t+i+h&&(f.current="stickyToBottom",k.current.style.position="sticky",k.current.style.top="".concat(-t,"px")),"stickyToTop"===f.current&&(f.current="notSticky",k.current.style.position="relative",k.current.style.top="0px",k.current.style.marginTop="0px",k.current.style.marginTop="".concat(Math.max(v.current-k.current.offsetTop,0),"px"))):("notSticky"===f.current&&window.scrollY<=k.current.offsetTop&&(f.current="stickyToTop",k.current.style.position="sticky",k.current.style.top="".concat(i+h,"px"),k.current.style.marginTop="0px"),"stickyToBottom"===f.current&&(f.current="notSticky",k.current.style.position="relative",k.current.style.top="0px",k.current.style.marginTop="0px",k.current.style.marginTop="".concat(v.current-t-k.current.offsetTop-i-h,"px"))))}};return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[h]),r.createElement(c.x,{position:"sticky",top:"".concat(x,"px"),ref:k,display:p},r.createElement(c.x,(0,i.Z)({display:"flex",flexDirection:"column",minHeight:"calc(100vh - ".concat(x,"px)"),ref:y},u),r.createElement(c.x,{flexGrow:"1"},n),r.createElement(a.q,{detailScale:"XS",spacing:"XS",padding:s})))}},1109:(e,n,t)=>{"use strict";t.d(n,{KB:()=>d,fg:()=>u,Fd:()=>s,SZ:()=>m,gs:()=>p,C2:()=>v,lp:()=>k,B0:()=>f,z6:()=>y,G6:()=>g});var i=t(23450),r=t.n(i),a=t(67294),o=t(25550),l=t(75221),c=t(46696),d=function(){var e=(0,o.r)().viewerId;return(0,a.useCallback)((function(n){return e===n}),[e])},u=function(e){return d()(e)},s=function(e){return(0,c.W6)({miroId:e.thumbnailImage})},m=function(e){var n=e.postItemsCount;return n>0?"".concat(e.postItemsCount," ").concat(r()("story",n)):""},p=function(){return"This story is no longer available"},v=function(e){var n;return"Post"===(null===(n=e.entity)||void 0===n?void 0:n.__typename)&&e.entity.visibility===l.Wn.UNLISTED},k=60,f=280;function y(e){return!!e&&e.length>f}function g(e){return e.length>k}},14337:(e,n,t)=>{"use strict";t.d(n,{v:()=>o});var i=t(87329),r=t(84683),a=t(27048),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublisherAvatar_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:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionAvatar_collection"}}]}},{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:"UserAvatar_user"}}]}}]}}].concat((0,i.Z)(r.d.definitions),(0,i.Z)(a.W.definitions))}},1383:(e,n,t)=>{"use strict";t.d(n,{Q:()=>s});var i=t(22122),r=t(81253),a=t(67294),o=t(77355),l=t(20113),c=t(87691),d=t(13791),u=["children","titleText"],s=function(e){var n=e.children,t=e.titleText,s=(0,r.Z)(e,u),m="confirmDialogTitle";return a.createElement(d.v,(0,i.Z)({},s,{ariaLabelledBy:m}),a.createElement(l.X6,{ariaLabelledById:m,scale:{xs:"M",sm:"M",md:"L",lg:"L",xl:"L"}},t),a.createElement(o.x,{paddingTop:"6px",paddingBottom:"36px"},a.createElement(c.F,{scale:{xs:"M",sm:"M",md:"L",lg:"L",xl:"L"},tag:"div"},n)))}}}]); //# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/UserProfilePage.RightColumnContent.168da316.chunk.js.map