import{a as t,b as o,c as s}from"./chunk-XEHBQAFR.mjs";var u={};o(u,{default:()=>y});var d,y,m=t(()=>{"use strict";d=function(){var n=[{defaultValue:5,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"id"}],e=[{kind:"Variable",name:"id",variableName:"id"}],r={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},i=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"}];return{fragment:{argumentDefinitions:n,kind:"Fragment",metadata:null,name:"ChatRoomParticipantsPaginationQuery",selections:[{alias:null,args:e,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"}],kind:"FragmentSpread",name:"MembersListFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:n,kind:"Operation",name:"ChatRoomParticipantsPaginationQuery",selections:[{alias:null,args:e,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[r,l,{kind:"InlineFragment",selections:[{alias:null,args:i,concreteType:"ChatRoomParticipantConnection",kind:"LinkedField",name:"participants",plural:!1,selections:[{alias:null,args:null,concreteType:"ChatRoomParticipantEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ChatRoomParticipant",kind:"LinkedField",name:"node",plural:!1,selections:[l,{alias:null,args:null,concreteType:"Profile",kind:"LinkedField",name:"profile",plural:!1,selections:[l,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:[{kind:"Literal",name:"height",value:100},{kind:"Literal",name:"width",value:100}],concreteType:"File",kind:"LinkedField",name:"image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],storageKey:"image(height:100,width:100)"},{alias:null,args:null,concreteType:"URLPath",kind:"LinkedField",name:"urlPath",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null},l],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"role",storageKey:null},r],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:i,filters:null,handle:"connection",key:"ChatRoom_participants",kind:"LinkedHandle",name:"participants"}],type:"ChatRoom",abstractKey:null}],storageKey:null}]},params:{cacheID:"8cb8f1bdc2aa4700b94a7e47557c0da4",id:null,metadata:{},name:"ChatRoomParticipantsPaginationQuery",operationKind:"query",text:`query ChatRoomParticipantsPaginationQuery(
  $count: Int = 5
  $cursor: String
  $id: ID!
) {
  node(id: $id) {
    __typename
    ...MembersListFragment_1G22uz
    id
  }
}

fragment MembersListFragment_1G22uz on ChatRoom {
  id
  participants(first: $count, after: $cursor) {
    edges {
      node {
        id
        profile {
          id
          ...ProfileItemFragment
        }
        role
        __typename
      }
      cursor
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}

fragment ProfileItemFragment on Profile {
  id
  name
  image(width: 100, height: 100) {
    url
  }
  urlPath {
    path
    id
  }
}
`}}}();d.hash="49f7bb8685111dd9a1075b9147c84abb";y=d});var g={};o(g,{default:()=>f});var c,f,p=t(()=>{"use strict";c=function(){var n=["participants"],e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:5,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:n}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:n},fragmentPathInResult:["node"],operation:(m(),s(u)),identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"MembersListFragment",selections:[e,{alias:"participants",args:null,concreteType:"ChatRoomParticipantConnection",kind:"LinkedField",name:"__ChatRoom_participants_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"ChatRoomParticipantEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ChatRoomParticipant",kind:"LinkedField",name:"node",plural:!1,selections:[e,{alias:null,args:null,concreteType:"Profile",kind:"LinkedField",name:"profile",plural:!1,selections:[e,{args:null,kind:"FragmentSpread",name:"ProfileItemFragment"}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"role",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null}],storageKey:null}],storageKey:null}],type:"ChatRoom",abstractKey:null}}();c.hash="49f7bb8685111dd9a1075b9147c84abb";f=c});import"react-relay";var a,F=(a!==void 0||(a=(p(),s(g)),a.hash&&a.hash!=="49f7bb8685111dd9a1075b9147c84abb"&&console.error("The definition of 'MembersListFragment' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data.")),a);export{F as a};
//# sourceMappingURL=chunk-K5BDVSIZ.mjs.map