orgmode-to-gemini-blog/exports/html/Récapitulatif de mon contenu twitter - Dragonfeu - Medium_fichiers/UserProfilePage.MainContent.c2a2d70c.chunk.js

2 lines
23 KiB
JavaScript
Raw Normal View History

2024-11-02 18:30:04 +01:00
"use strict";(self.webpackChunklite=self.webpackChunklite||[]).push([[5008],{61356:(e,n,i)=>{i.r(n),i.d(n,{MainContent:()=>Y,useLoader:()=>W});var t=i(39181),a=i(96540),l=i(65866),r=i(90866),o=i(54625),d=i(88474),m=i(37075),s=i(34075),u=i(52290),c=i(54119),k=i(53825),p=i(28072),v=i(86527),f=i(56942),g=i(36557),N=i(51260),S=function(e){var n=e.user,i=(0,N.au)(),t=n.authoredBooks,l=t[0];return l?a.createElement(p.P,{size:"app"},a.createElement(u.a,{marginBottom:{xs:"16px",sm:"24px",md:"24px",lg:"24px",xl:"24px"},display:"flex",justifyContent:"space-between"},a.createElement(f.DZ,{scale:"XS"},"Featured Book"),t.length>1&&a.createElement(v.N,{href:i("ShowUserBooks",{username:n.username})},a.createElement(g.kZ,{scale:"M"},"See all (",t.length,")"))),a.createElement(k.G,{book:l,isFeatured:!0}),a.createElement(u.a,{margin:{xs:"32px 0 8px",sm:"48px 0 16px",md:"48px 0 16px",lg:"48px 0 16px",xl:"48px 0 16px"}},a.createElement(f.DZ,{scale:"XS"},"Stories"))):null},E=function(e){var n=e.user,i=e.fetchMoreHomepagePosts;(0,o.s)(n);var t=(0,d.E)(n);return a.createElement(a.Fragment,null,a.createElement(m.f,{user:n}),a.createElement(c.y,{tab:s.B.Overview,user:n}),a.createElement(u.a,{backgroundColor:"BACKGROUND",display:"flex",flexDirection:"column",minHeight:"100vh"},a.createElement(l.s,{publisher:n,headerMarginBottom:t?32:void 0}),a.createElement(u.a,{flexGrow:"1"},t&&a.createElement(S,{user:n}),a.createElement(r.e,{publisher:n,fetchMore:i}))))},h=i(47880),b=i(26365),x=i(51622),F=i(95765),w=i(42680),y=i(35460),T=i(5009),V=i(99270),_=i(53612),A=i(49287),D=i(45458),B=i(36042),P=i(71324),C=i(83611),O=i(55918),R=i(13377),L=i(91339),I=i(48049),U=i(16052),j=i(30167),M={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserProfileBooks_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:"authoredBooks"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"BookWidget_authorBook"}}]}}]}}].concat((0,D.A)(j.Z.definitions))},Z={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserProfileScreen_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:"viewerIsUser"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublisherHeader_publisher"}},{kind:"FragmentSpread",name:{kind:"Name",value:"PublisherHomepagePosts_publisher"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserProfileMetadata_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SuspendedBannerLoader_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useAnalytics_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"useIsVerifiedBookAuthor_user"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserProfileBooks_user"}}]}}].concat((0,D.A)(C.J.definitions),(0,D.A)(R.n.definitions),(0,D.A)(L.G.definitions),(0,D.A)(I.x.definitions),(0,D.A)(U.W.definitions),(0,D.A)(O.s.definitions),(0,D.A)(M.definitions))},H={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UserProfileQuery"},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"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"homepagePostsLimit"}},type:{kind:"NamedType",name:{kind:"Name",value:"PaginationLimit"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"homepagePostsFrom"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},defaultValue:{kind:"NullValue"}},{kind:"VariableDefinition",variable:{kind:"Variable",na
//# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/UserProfilePage.MainContent.c2a2d70c.chunk.js.map