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

2 lines
18 KiB
JavaScript
Raw Normal View History

2024-11-02 18:30:04 +01:00
"use strict";(self.webpackChunklite=self.webpackChunklite||[]).push([[6349],{6676:(e,n,t)=>{t.d(n,{Kc:()=>m,hd:()=>c});var a=t(45458),i=t(80296),r=t(96540),o=t(66973),l={mutedAuthorIds:[],setMutedAuthorIds:function(){},mutedPubIds:[],setMutedPubIds:function(){},dismissedPostIds:[],setDismissedPostIds:function(){},isMutingFromHomeFeed:!0,seeLessPostIds:[],setSeeLessPostIds:function(){}},d=new o.A("post-muted"),u="seeLessPostIds",s=(0,r.createContext)(l),c=function(e){var n=e.children,t=(0,r.useState)(l.mutedAuthorIds),o=(0,i.A)(t,2),c=o[0],m=o[1],k=(0,r.useState)(l.mutedPubIds),p=(0,i.A)(k,2),v=p[0],b=p[1],g=(0,r.useState)(l.dismissedPostIds),f=(0,i.A)(g,2),y=f[0],h=f[1],N=(0,r.useState)(l.seeLessPostIds),I=(0,i.A)(N,2),E=I[0],S=I[1],x=l.isMutingFromHomeFeed,C=(0,r.useState)((function(){var e;return null!==(e=d.get(u))&&void 0!==e?e:[]})),w=(0,i.A)(C,1)[0];(0,r.useEffect)((function(){E.length&&d.set(u,E)}),[E]);var U=(0,r.useMemo)((function(){return[].concat((0,a.A)(w),(0,a.A)(E))}),[w,E]);return r.createElement(s.Provider,{value:{mutedAuthorIds:c,setMutedAuthorIds:m,mutedPubIds:v,setMutedPubIds:b,dismissedPostIds:y,setDismissedPostIds:h,isMutingFromHomeFeed:x,seeLessPostIds:U,setSeeLessPostIds:S}},n)},m=function(){return(0,r.useContext)(s)}},43629:(e,n,t)=>{t.d(n,{k:()=>a});var a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UserBlockMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"targetUserId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{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",name:{kind:"Name",value:"blockUser"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"targetUserId"},value:{kind:"Variable",name:{kind:"Name",value:"targetUserId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isBlocking"}}]}}]}}]}}]}},39515:(e,n,t)=>{t.d(n,{j:()=>a});var a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UserUnblockMutation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"targetUserId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{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",name:{kind:"Name",value:"unblockUser"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"targetUserId"},value:{kind:"Variable",name:{kind:"Name",value:"targetUserId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"isBlocking"}}]}}]}}]}}]}},45977:(e,n,t)=>{t.d(n,{_:()=>i,o:()=>a});var a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MutePopoverOptions_creator"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Fie
//# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/6349.b071a958.chunk.js.map