(self.webpackChunklite=self.webpackChunklite||[]).push([[5831],{24129:(e,n,t)=>{"use strict";t.d(n,{l:()=>O});var i=t(67294),a=t(44642),r=t(97996),l=t(83263),o=t(84739),d=t(1109),s=t(10648),c=t(14818),m=t(77355),u=t(93310),k=t(27323),p=t(30020),v=t(87691),g=t(52069),f=t(18627),S=t(66411),E=t(14646),N=t(18122),y=t(92661),x=t(75221),b=t(99171),h=t(92305),F=t(87498),C=function(e){var n=e.catalog,t=e.breakpoints,a=n.listItemsConnection.items,r=(0,l.Q)(t),o={xs:140,sm:166,md:90,lg:166},d={xs:105,sm:105,md:144,lg:144};return i.useMemo((function(){return i.createElement(l.f,{coverHeight:d[r],coverWidth:o[r],catalogItems:a,isEmbeded:!0,breakpoints:t})}),[r,a])},w=t(65968),D=t(64238),_=function(e){return{marginBottom:"1px","& path":{fill:e.colorTokens.foreground.neutral.secondary.base}}},I={position:"absolute",inset:"0",border:"none"},T={pointerEvents:"none"},O=function(e){var n=e.catalog,t=e.titleClamp,O=void 0===t?2:t,P=e.maxWidth,U=void 0===P?{xs:"100%",sm:"100%",md:"740px",lg:"740px",xl:"740px"}:P,j=e.marginBottom,L=void 0===j?"40px":j,R=e.breakpoints,A=n.name,M=n.visibility,Z=n.id,B=n.predefined,V=n.creator,z=(0,d.SZ)(n),W=M!==x.n2.PUBLIC,G=B?(0,h.S6)(B):A,H=(0,f.A)(),X=(0,S.pK)(),Q=(0,l.Q)(R),q=(0,N.g)({onPresentedFn:function(){H.event("list.presented",{listId:n.id,source:X})}}),K=(0,E.I)(),Y="sm"===Q||"xs"===Q,$=(0,y.qt)("ShowUserList",{username:n.creator.username||"",catalogSlugId:(0,h.EJ)(n)}),J=(0,o.B)(V),ee=(0,D.o)(V);return i.createElement(m.x,{ref:q,border:"neutral.primary",borderRadius:"4px",marginBottom:L,maxWidth:U,width:"100%",display:"flex",justifyContent:"space-between",backgroundColor:"BASE_LIGHT",flexDirection:Y?"column":"row",position:"relative",zIndex:0},i.createElement(u.r,{href:$,rules:I,"aria-label":n.name}),i.createElement(m.x,{key:Z,display:"flex",flexDirection:"column",padding:"24px 24px 10px",flexGrow:"1",flexShrink:"0",flexBasis:"0",justifyContent:"space-between",wordBreak:"break-word"},i.createElement(k.P,{href:J,"aria-label":V.name||"List creator"},i.createElement(m.x,{display:"flex"},i.createElement(c.z,{miroId:V.imageId||F.gG,alt:V.name||"",diameter:20,freezeGifs:!0}),i.createElement(m.x,{paddingLeft:"8px",zIndex:"1",display:"flex",alignItems:"center"},i.createElement(v.F,{scale:"M",color:"DARKER",clamp:1},V.name),ee&&V.id&&i.createElement(w.G,{marginLeft:"2px",marginTop:"2px",size:"S",userId:V.id})))),i.createElement(m.x,{marginTop:"12px"},i.createElement(g.Dx,{clamp:O,scale:{xs:"XS",sm:"XS",md:"S",lg:"S",xl:"S"}},G)),i.createElement(m.x,{display:"flex",alignItems:"center",justifyContent:"space-between"},i.createElement(m.x,{display:"flex",margin:"6px 0"},i.createElement(v.F,{scale:"S",color:"LIGHTER"},z||"No stories"),W&&i.createElement(m.x,{paddingLeft:"8px"},i.createElement(b.Z,{className:K(_)}))),i.createElement(m.x,{display:"flex",position:"relative"},i.createElement(s.b,{catalog:n}),i.createElement(a.kw,{catalog:n},i.createElement(p._,{tooltipText:"More",targetDistance:10},i.createElement(r.G,{catalog:n})))))),i.createElement("div",{className:K(T)},i.createElement(C,{catalog:n,breakpoints:R})))}},83263:(e,n,t)=>{"use strict";t.d(n,{Q:()=>N,f:()=>b});var i=t(34699),a=t(96156),r=t(67294),l=t(4381),o=t(94124),d=t(77355),s=t(31889),c=t(14646),m=t(34135),u=t(75221),k=t(43487),p=t(46696);function v(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 g(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:E,n=(0,k.v9)((function(e){return e.client.hydrated})),t=g(g({},E),e),a=r.useState("lg"),l=(0,i.Z)(a,2),o=l[0],d=l[1];return r.useEffect((function(){var e=function(){window.innerWidth>=t.lg?d("lg"):window.innerWidth>=t.md?d("md"):window.innerWidth>=t.sm?d("sm"):window.innerWidth>=t.xs&&d("xs")};return n&&(e(),m.V6.on("resize",e)),function(){n&&m.V6.off("resize",e)}}),[n,t.lg,t.md,t.sm,t.xs]),o},y=function(e,n,t){return function(i){var a=t&&("xs"===n||"sm"===n),r=a?3*f[n]:S[n],l=1===e?"".concat(a?2*f[n]:f[n],"px"):2===e?"".concat(r,"px"):void 0;return{position:"relative",borderRight:e<2?"".concat(3,"px solid ").concat(i.colorTokens.background.neutral.tertiary.base):void 0,backgroundColor:i.colorTokens.background.neutral.tertiary.base,zIndex:3-e,marginLeft:l,paddingLeft:0===e?"0":"4px"}}},x=function(e){var n,t=e.catalogItem,i=e.width,a=e.height,c=e.isMobile,m=null==t?void 0:t.entity,u=(0,s.F)(),k=r.createElement(d.x,{height:"inherit",minHeight:"".concat(a,"px"),width:"".concat(i,"px"),background:u.colorTokens.background.neutral.secondary.base});return m&&"Post"===m.__typename&&null!==(n=m.previewImage)&&void 0!==n&&n.id&&(k=r.createElement(l.UV,{miroId:m.previewImage.id,alt:m.previewImage.alt||"",width:i,height:a,aspectRatio:c?l.Pr.FourToThree:void 0,strategy:p._S.Crop,loading:o.K.LAZY,rules:c?void 0:{height:"100%"}})),r.createElement(d.x,{height:"100%"},k)},b=function(e){var n=e.catalogItems,t=e.isEmbeded,i=void 0!==t&&t,a=e.coverWidth,l=e.coverHeight,o=e.breakpoints,s=(0,c.I)(),m=N(o),k=n.filter((function(e){var n,t=e.entity;return!("Post"!==(null==t?void 0:t.__typename)||null===(n=t.previewImage)||void 0===n||!n.id||t.visibility===u.Wn.UNLISTED)})),p=[k[0],k[1],k[2]],v="sm"===m||"xs"===m,g=function(e,n){return 3*n+f[e]+S[e]+6}(m,a);return r.createElement(d.x,{display:"flex",overflow:"hidden",justifyContent:v?i?"space-between":"flex-start":"flex-end",width:v?"100%":"".concat(g,"px"),height:"100%",borderRadius:v?"0 0 3px 3px":"0 3px 3px 0",position:"relative",flexShrink:"0"},p.map((function(e,n){return r.createElement("div",{key:(null==e?void 0:e.catalogItemId)||n,className:s(y(n,m,i))},r.createElement(x,{isMobile:v,catalogItem:e,height:l,width:a}))})))}},15831:(e,n,t)=>{"use strict";t.d(n,{W:()=>z});var i=t(87329),a=t(64718),r=t(67294),l=t(97147),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserCatalogsScreen_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CatalogsListItem_catalog"}}]}}].concat((0,i.Z)(l.c.definitions))},d=t(68216),s=t(81284),c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CatalogsMetadata_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"FragmentSpread",name:{kind:"Name",value:"userUrl_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserProfileMetadataHelmet_user"}}]}}].concat((0,i.Z)(d.$m.definitions),(0,i.Z)(s.z.definitions))},m=t(22223),u=t(55193),k=t(37595),p={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserCatalogs_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UserCatalogsScreen_catalog"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CatalogsMetadata_catalog"}}]}}].concat((0,i.Z)(o.definitions),(0,i.Z)([{kind:"FragmentDefinition",name:{kind:"Name",value:"CatalogsMetadata_catalog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Catalog"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"predefined"}}]}}]))},v={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserCatalogs_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UserCatalogsScreen_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublisherHeader_publisher"}},{kind:"FragmentSpread",name:{kind:"Name",value:"CatalogsMetadata_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SuspendedBannerLoader_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useAnalytics_user"}}]}}].concat((0,i.Z)([{kind:"FragmentDefinition",name:{kind:"Name",value:"UserCatalogsScreen_user"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isUser"}}]}}]}}]),(0,i.Z)(m.L.definitions),(0,i.Z)(c.definitions),(0,i.Z)(u.v.definitions),(0,i.Z)(k.E.definitions))},g=t(73622),f={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UserCatalogsHandlerQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"username"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pagingOptions"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CatalogPagingOptionsInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userResult"},arguments:[{kind:"Argument",name:{kind:"Name",value:"username"},value:{kind:"Variable",name:{kind:"Name",value:"username"}}},{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],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:"UserCatalogs_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserCanonicalizer_user"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"catalogsConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"pagingOptions"},value:{kind:"Variable",name:{kind:"Name",value:"pagingOptions"}}},{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"EnumValue",value:"LISTS"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"catalogs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UserCatalogs_catalog"}}]}},{kind:"Field",name:{kind:"Name",value:"paging"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"nextPageCursor"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]}}]}}]}}]}}].concat((0,i.Z)(v.definitions),(0,i.Z)(g.r.definitions),(0,i.Z)(p.definitions))},S={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UserReadingListQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"readingList"},name:{kind:"Name",value:"getPredefinedCatalog"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"EnumValue",value:"READING_LIST"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserCatalogs_catalog"}}]}}]}}].concat((0,i.Z)(p.definitions))},E=t(39210),N=t(92030),y=t(2059),x=t(26829),b=t(8458),h=t(81390),F=t(8922),C=t(66411),w=t(65850),D=t(66999),_=t(66018),I=t(77355),T=t(96370),O=t(39202),P=t(67786),U=t(43487),j=t(92305),L=t(50458),R=function(e){var n,t=e.user,i=e.catalogs,a=(0,U.v9)((function(e){return e.config.authDomain})),l=(0,U.v9)((function(e){return e.config.productName})),o=t.username,d=t.customDomainState,s=t.name,c="".concat(null!=s?s:o," on ").concat(l," curated some lists"),m=i.slice(0,3).map((function(e){return e.predefined?(0,j.S6)(e.predefined):e.name})).join(", "),u="Start exploring ".concat(m).concat(i.length>3?" and more":""),k=o?(0,L.jx)(o):null,p=null;return null!=d&&null!==(n=d.live)&&void 0!==n&&n.domain&&(p=(0,L.U2)(t,a)),r.createElement(P.x,{user:t,path:k,url:p,title:c,description:u})},A=t(24129),M=t(14813),Z=t(87691),B=function(e){var n=e.catalogs,t=e.user,i=e.fetchMore,a=n.length>0;return r.createElement(r.Fragment,null,a?r.createElement(I.x,{xs:{display:"flex",justifyContent:"center"},sm:{display:"flex",justifyContent:"center"}},r.createElement(M.P,{fetchMore:i},n.map((function(e,n){return r.createElement(C.cW,{key:e.id,extendSource:!0,source:{index:n,catalogId:e.id}},r.createElement(A.l,{catalog:e}))})))):r.createElement(I.x,{textAlign:"center",marginTop:"80px"},r.createElement(Z.F,{scale:"L",tag:"div"},t.name," hasn't created any lists yet.")))},V=function(e){var n=e.user,t=e.fetchMore,i=e.catalogs;(0,D.z)(n);var a=i.filter(O.bb).slice(0,4);return r.createElement(r.Fragment,null,r.createElement(_.L,{user:n}),r.createElement(R,{user:n,catalogs:a}),r.createElement(I.x,{backgroundColor:"BACKGROUND",display:"flex",flexDirection:"column",minHeight:"100vh"},r.createElement(w.U,{publisher:n}),r.createElement(I.x,{flexGrow:"1"},r.createElement(T.P,{size:"app"},r.createElement(B,{catalogs:i,user:n,fetchMore:t})))))},z=function(e){var n,t,l,o,d,s,c=e.params,m=e.sourceName,u=e.userId,k=(0,b.t)(c),p=k.id,v=k.username,g=u||p,w=(0,a.a)(f,{variables:{username:v,id:null!=g?g:"",pagingOptions:{limit:E.WU}},skip:!g&&!v}),D=w.data,_=w.loading,I=w.fetchMore,T=w.error,O="User"===(null==D||null===(n=D.userResult)||void 0===n?void 0:n.__typename)?D.userResult.id:g||"",P=(0,a.a)(S,{variables:{userId:null!=O?O:""},skip:!O}),U=P.data,j=P.loading,L=P.error,R=T||L;if(!_&&!O)return T?r.createElement(N.C,{error:T}):r.createElement(y.$,null);var A=!O;if(_||A)return r.createElement(x.h,null);if(j||_||A)return r.createElement(x.h,null);if(R)return r.createElement(N.C,{error:R});var M=null==D?void 0:D.userResult;if((0,h.b)(M))return r.createElement(h.j,{userResult:M});var Z,B=null==M||null===(t=M.viewerEdge.catalogsConnection)||void 0===t?void 0:t.catalogs;if(B&&"Catalog"===(null==U||null===(l=U.readingList)||void 0===l?void 0:l.__typename)&&(B=[U.readingList].concat((0,i.Z)(B))),null!=M&&null!==(o=M.viewerEdge.catalogsConnection)&&void 0!==o&&null!==(d=o.paging)&&void 0!==d&&d.nextPageCursor){var z=M.viewerEdge.catalogsConnection.paging.nextPageCursor.id;Z=function(){return I({variables:{username:v,id:O,pagingOptions:{limit:E.WU,cursor:{id:z}}}})}}return r.createElement(F.C,{user:M},r.createElement(C.cW,{source:{name:m}},r.createElement(V,{user:M,fetchMore:Z,catalogs:null!==(s=B)&&void 0!==s?s:[]})))}},77324:(e,n,t)=>{"use strict";t.d(n,{q:()=>E});var i=t(67294),a=t(70405),r=t(51615),l=t(96156),o=t(77355),d=t(92780),s=t(14646),c=t(97489),m={fontSize:"20px",textTransform:"uppercase"},u=function(e){return(0,l.Z)({display:"block",fontSize:"192px",lineHeight:"200px"},c.sm(e),{fontSize:"150px"})},k=function(e){var n=e.errorCode,t=(0,s.I)(),a=(0,d.n)({name:"brand",scale:"XXXL",color:"DARKER"});return i.createElement(o.x,{display:"flex",flexDirection:"column"},i.createElement("div",{className:t(m)},"Error"),i.createElement("div",{className:t([a,u])},n))},p=t(96370),v=t(93310),g=t(6402),f=t(21638),S={fontSize:"24px"};function E(e){var n=e.code,t=e.title,l=e.children,d=e.lumenId,c=(0,s.I)();return(0,i.useEffect)((function(){g.k.debug({status:n},"[".concat(n,"]: ").concat(t))}),[]),i.createElement(r.AW,{render:function(e){var r=e.staticContext;return r&&(r.statusCode=n),i.createElement("div",null,i.createElement(a.ql,null,i.createElement("title",null,t)),i.createElement(o.x,{tag:"section",paddingTop:"60px",paddingBottom:"60px"},i.createElement(p.P,{size:"inset"},i.createElement(o.x,null,i.createElement(k,{errorCode:n}),i.createElement("div",{className:c((0,f.rJ)())},i.createElement(o.x,{marginBottom:"28px"},i.createElement("div",{className:c(S)},l)),d?i.createElement("div",{className:c(S)},"A report is available on"," ",i.createElement(v.r,{href:"https://lumendatabase.org/notices/".concat(d),display:"inline-block",inline:!0,target:"_blank",linkStyle:"OBVIOUS"},"Lumen"),"."):null)))))}})}},57563:(e,n,t)=>{"use strict";t.d(n,{y:()=>c});var i=t(67294),a=t(77324),r=t(77355),l=t(47230),o=t(90586),d=t(18627),s=t(43487),c=function(e){var n=e.suspension,t=(0,d.A)(),c=(0,s.v9)((function(e){return e.config.authDomain}));return i.createElement(a.q,{code:410,title:"410 ".concat(n," suspended — Medium")},i.createElement(r.x,{display:"flex",marginTop:"-30px"},i.createElement(o.QE,{scale:"S"},"This ",n," is under investigation or was found in violation of the Medium Rules."," ")),i.createElement(r.x,{display:"flex",marginTop:"80px"},i.createElement(o.QE,{color:"DARKER",scale:"M"},"There are thousands of stories to read on Medium. Visit our homepage ",i.createElement("br",null)," to find one that’s right for you.")),i.createElement(r.x,{display:"flex",marginTop:"15px"},i.createElement(l.zx,{buttonStyle:"SUBTLE",href:"https://".concat(c),onClick:function(){t.event("suspendedPage.backToHomeClicked",{})}},"Take me to Medium")))}},66999:(e,n,t)=>{"use strict";t.d(n,{z:()=>m});var i=t(67294),a=t(60672),r=t(61095),l=t(18627),o=t(78285),d=t(77280),s=t(87498),c=t(46696),m=function(e){var n=(0,l.A)(),t=(0,o.w)(),m=(0,d.YF)(),u=(0,r.Pd)(e),k=u.viewerEdge,p=u.loading,v=(null!=k?k:{}).isUser;(0,i.useEffect)((function(){n.event("profile.viewed",{profileId:e.id})}),[n,e.id]),(0,i.useEffect)((function(){p||"unsubscribe-newsletter"===m&&t(v?{duration:"NEXTPAGE",message:"You cannot unsubscribe from yourself."}:{duration:"NEXTPAGE",toastStyle:"NEWSLETTER_UNSUBSCRIBE",extraParams:{newsletterName:e.name||""}})}),[p,v]),(0,a.e)({data:{creatorViewerEdge:k,pageType:"profile",profileName:e.name,profilePhoto:(0,c.W6)({miroId:e.imageId||s.gG,width:64,height:64,strategy:c._S.Resample}),profileUsername:e.username},isBlocked:!!v,loading:p,show:!0})}},37595:(e,n,t)=>{"use strict";t.d(n,{E:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"useAnalytics_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:"imageId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"username"}}]}}]}},81390:(e,n,t)=>{"use strict";t.d(n,{b:()=>d,j:()=>s});var i=t(67294),a=t(77324),r=t(92030),l=t(2059),o=t(57563),d=function(e){return!function(e){return"User"===(null==e?void 0:e.__typename)}(e)},s=function(e){var n=e.userResult;switch(null==n?void 0:n.__typename){case"Blocked":return i.createElement(a.q,{code:403,title:"403 Blocked — Medium"},"This user has blocked you from following them or viewing their stories.");case"NotFound":return i.createElement(l.$,null);case"AccountSuspended":return i.createElement(o.y,{suspension:"account"});default:return i.createElement(r.C,{error:new Error("Unsupported userResult: ".concat(null==n?void 0:n.__typename))})}}},55193:(e,n,t)=>{"use strict";t.d(n,{v:()=>i,Q:()=>a});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SuspendedBannerLoader_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:"isSuspended"}}]}}]},a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SuspendedBannerLoader_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:"isSuspended"}}]}}]}},66018:(e,n,t)=>{"use strict";t.d(n,{L:()=>o});var i=t(67294),a=t(86706),r=t(25735),l=t(78285),o=function(e){var n=e.user,t=e.post,o=e.forceLoad,d=void 0!==o&&o,s=(0,a.I0)(),c=(0,r.V)({name:"can_view_suspended_content",placeholder:!1})||d;return i.useEffect((function(){c&&(n&&n.isSuspended?s((0,l.Dx)({duration:"NEXTPAGE",toastStyle:"USER_SUSPENDED"})):t&&t.isSuspended&&s((0,l.Dx)({duration:"NEXTPAGE",toastStyle:"POST_SUSPENDED"})))}),[c]),null}},73622:(e,n,t)=>{"use strict";t.d(n,{r:()=>i});var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserCanonicalizer_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:"hasSubdomain"}},{kind:"Field",name:{kind:"Name",value:"customDomainState"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"live"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"domain"}}]}}]}}]}}]}},8922:(e,n,t)=>{"use strict";t.d(n,{C:()=>k});var i=t(96156),a=t(8575),r=t(67294),l=t(90833),o=t(77280),d=t(43487),s=t(78870),c=t(50458);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