orgmode-to-gemini-blog/exports/html/Récapitulatif de mon contenu twitter - Dragonfeu - Medium_fichiers/2278.ea9a70e6.chunk.js
2024-11-03 11:06:34 +01:00

2 lines
8.8 KiB
JavaScript

"use strict";(self.webpackChunklite=self.webpackChunklite||[]).push([[2278],{78354:(e,n,t)=>{t.d(n,{a:()=>K,s:()=>G});var l=t(96540),i=t(54239),o=t(56173),r=t(71267),a=t(65938),c=t(10974),s=t(57066),u=t(18599),d=t(39931),m=t(29977),p=t(26073),v=t(22841),k=t(52290),g=t(86527),f=t(80296),E=t(24960),h=t(24809),w=t(60603),y=function(e){return{"& path":{fill:e.colorTokens.foreground.neutral.secondary.base},":hover path":{fill:e.colorTokens.foreground.neutral.primary.hover},":focus path":{fill:e.colorTokens.foreground.neutral.primary.hover},":hover":{background:e.colorTokens.background.neutral.secondary.base},padding:"4px",borderRadius:"6px"}},S=function(e){var n=e.popoverRenderFn,t=e.ariaId,i=e.role,o=e.targetDistance,r=(0,w.e)(!1),a=(0,f.A)(r,4),c=a[0],s=a[2],u=a[3];return l.createElement(E.A,{ariaId:t,isVisible:c,placement:"top",targetDistance:o,role:i,popoverRenderFn:n,hide:s,hideOnOutsideClick:!0,noPortal:!0,noArrow:!0},l.createElement(g.N,{onClick:u,rules:y,"aria-controls":t,"aria-expanded":c},l.createElement(h.A,null)))},b=t(36557),C=t(49287),F=function(e){return{"& p":{wordBreak:"break-all"},":hover p":{textDecoration:"underline",color:e.baseColor.text.light}}},N=function(e){var n=e.entity,t=(0,d.p)(n),i=(0,l.useCallback)((function(){return l.createElement(C.Ne,{source:{dimension:"blogroll"},extendSource:!0},"User"===n.__typename?l.createElement(v.J,{user:n,trackingV2:!0}):l.createElement(u.a,{collection:n,trackingV2:!0}))}),[n]);return l.createElement(k.a,{tag:"li",display:"flex",justifyContent:"space-between",alignItems:"center"},l.createElement(g.N,{href:t,rules:F},l.createElement(k.a,{display:"flex",paddingRight:"10px"},l.createElement(k.a,{paddingRight:"12px"},l.createElement(p.K,{publisher:n,scale:"XXXS"})),l.createElement(b.kZ,{clamp:1,scale:"S",color:"LIGHTER"},n.name))),l.createElement(S,{popoverRenderFn:i,ariaId:"creatorInfoPopover-".concat(n.id),role:"dialog",targetDistance:"User"===n.__typename?m.f:u.r}))},x=t(27721),T=t(56942),_=t(72130),I=t(79429),B=t(51260),U=t(42976),D=t(27715),R=function(e){var n,t,i=e.user,o=(0,B.au)(),r=i.id,a=i.customStyleSheet,c=(0,x.R)().value,u=r===(null==c?void 0:c.id),d=(0,_.$L)(),m=(0,I.s)({onPresentedFn:function(){return d.event("sidebar.blogrollViewed",{viewerIsAuthor:u})}}),p=(0,s.y)(i),v=p.isFollowingCountVisible,f=p.followingCount;if((null==a||null===(n=a.blogroll)||void 0===n?void 0:n.visibility)===U.c6.BLOGROLL_VISIBILITY_HIDDEN)return null;var E=null===(t=i.followingEntityConnection)||void 0===t?void 0:t.entities;if(!E||!E.length||f<5)return null;var h=v?"See all (".concat((0,D.fw)(f),")"):"See all";return l.createElement(C.Ne,{extendSource:!0,source:{dimension:"blogroll"}},l.createElement(k.a,{ref:m,position:"relative"},l.createElement(T.DZ,{scale:"XS",tag:"span"},"Following"),l.createElement(k.a,{marginTop:"16px",marginBottom:"16px",tag:"ul"},E.map((function(e){return l.createElement(N,{key:null==e?void 0:e.id,entity:e})}))),i.username&&l.createElement(b.kZ,{scale:"S"},l.createElement(g.N,{href:o("ShowUserFollowing",{username:i.username}),linkStyle:"SUBTLE"},h))))},L=t(22805),V=t(97078),A=t(70600),P=t(36469),Z=t(88474),M=t(7580),X=t(33735),z=t(56774),O=t(42600),W=t(79959),G=88,H=function(e){var n=e.user,t=(0,x.R)().value,i=t&&t.id===n.id,o=(0,B.au)(),r=(0,W.ST)(o("ShowSettingsTab",{setting:L.W.Account}),{},V.cZ);return i?l.createElement(k.a,{marginTop:"24px",marginBottom:"46px"},l.createElement(b.kZ,{scale:"S",color:"ACCENT"},l.createElement(g.N,{href:r},"Edit profile"))):l.createElement(k.a,{display:"flex",marginBottom:"40px",marginTop:"24px"},l.createElement(X.m,{creator:n,followButtonSize:"REGULAR",susiEntry:"follow_profile",showMembershipUpsellModal:!0,width:"auto",trackingV2:!0}))},K=function(e){var n,t=e.includeBlogRoll,s=e.user,u=(0,Z.E)(s),d=(0,i.zy)(),m=(0,B.W5)(d.pathname),p="ShowUserFollowers"===(null==m?void 0:m.route.name),v=(null===(n=s.membership)||void 0===n?void 0:n.tier)===U.T3.FRIEND,g=(0,z.X)({entity:s});return l.createElement(l.Fragment,null,l.createElement(M.r,{alt:s.name||"",miroId:s.imageId||O._3,diameter:G}),l.createElement(k.a,{marginTop:"16px",display:"flex",flexWrap:"wrap",alignItems:"baseline",ref:g},l.createElement(a.y,{publisher:s}),l.createElement(A.U,{user:s,scale:"M",paddingTop:"2px"})),l.createElement(k.a,{marginTop:"8px"},l.createElement(c.T,{publisher:s,disableLink:p})),l.createElement(k.a,{marginTop:"12px"},(u||v)&&l.createElement(k.a,{display:"flex",flexDirection:"column",gap:"4px",marginTop:"24px",marginBottom:"10px"},u&&l.createElement(P.b,{size:"M",withText:!0}),v&&l.createElement(o.s,{tier:U.T3.FRIEND,user:s,size:20,withText:!0,withPopover:!0})),l.createElement(r.F,{publisher:s})),!s.viewerEdge.isBlocking&&l.createElement(H,{user:s}),t&&!p&&l.createElement(R,{user:s}))}},16729:(e,n,t)=>{t.d(n,{e:()=>l});var l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublisherDescription_publisher"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Publisher"}},selectionSet:{kind:"SelectionSet",selections:[{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:"description"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bio"}}]}}]}}]}},71267:(e,n,t)=>{t.d(n,{F:()=>a});var l=t(96540),i=t(67476),o=t(92554),r=t(36557),a=function(e){var n=e.publisher,t=e.color,a="Collection"===n.__typename?n.description:n.bio;return a?l.createElement(r.kZ,{scale:"M",color:t},l.createElement(o.r.Provider,{value:!0},l.createElement(i.O,{wrapLinks:!0},a))):null}},65938:(e,n,t)=>{t.d(n,{y:()=>r});var l=t(96540),i=t(56942),o=t(44402),r=function(e){var n=e.publisher,t=e.scale,r=void 0===t?"XS":t,a=e.prefix,c=(0,o.l)();return n.name?l.createElement(i.DZ,{playwrightClassName:"pw-author-name",scale:r},l.createElement("span",{className:c({wordBreak:"break-word",paddingRight:"8px"})},a,n.name)):null}},10974:(e,n,t)=>{t.d(n,{T:()=>u,e:()=>s});var l=t(96540),i=t(60213),o=t(64122),r=t(86527),a=t(36557),c=t(27715),s=function(e){var n,t,l=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:l,isFollowerCountVisible:l>0}},u=function(e){var n=e.disableLink,t=void 0!==n&&n,u=e.scale,d=void 0===u?"L":u,m=e.publisher,p=e.color,v=e.linkStyle,k=void 0===v?"SUBTLE":v,g=e.inline,f=e.showWhenZero,E=(0,i.u)(),h=(0,o.W)(),w=s(m),y=w.followerCount,S=w.isFollowerCountVisible;if(!f&&!S)return null;var b="".concat((0,c.Ct)(y)," Follower").concat(1===y?"":"s");return l.createElement(a.kZ,{playwrightClassName:"pw-follower-count",tag:"span",scale:d,color:p},y>0&&!t?l.createElement(r.N,{href:"".concat("Collection"===m.__typename?E(m):h(m),"/followers"),linkStyle:k,inline:g},b):b)}},57066:(e,n,t)=>{t.d(n,{V:()=>c,y:()=>a});var l=t(96540),i=t(86527),o=t(51260),r=t(27715),a=function(e){var n,t,l,i,o=0;return"User"===e.__typename&&(o=(null!==(n=null===(t=e.socialStats)||void 0===t?void 0:t.followingCount)&&void 0!==n?n:0)+(null!==(l=null===(i=e.socialStats)||void 0===i?void 0:i.collectionFollowingCount)&&void 0!==l?l:0)),{followingCount:o,isFollowingCountVisible:o>0}},c=function(e){var n=e.publisher,t=e.linkStyle,c=void 0===t?"SUBTLE":t,s=a(n),u=s.followingCount,d=s.isFollowingCountVisible,m=(0,o.au)();if(!d||"User"!==n.__typename)return null;var p="".concat((0,r.Ct)(u)," Following");return l.createElement(i.N,{href:m("ShowUserFollowing",{username:n.username}),linkStyle:c},p)}},26073:(e,n,t)=>{t.d(n,{K:()=>r});var l=t(96540),i=t(28899),o=t(23393),r=function(e){var n=e.link,t=void 0!==n&&n,r=e.scale,a=void 0===r?"M":r,c=e.publisher;switch(c.__typename){case"User":return l.createElement(o.H8,{link:t,scale:a,user:c});case"Collection":return l.createElement(i.u,{link:t,size:o.eV[a],collection:c});default:return null}}},52859:(e,n,t)=>{t.d(n,{f:()=>r});var l=t(45458),i=t(3545),o=t(52897),r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PublisherFollowButton_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:"FragmentSpread",name:{kind:"Name",value:"CollectionFollowButton_collection"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UserFollowButton_user"}}]}}]}}].concat((0,l.A)(i.f.definitions),(0,l.A)(o.l.definitions))}}}]);
//# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/2278.ea9a70e6.chunk.js.map