import{a as t,b as o,c as s}from"./chunk-XEHBQAFR.mjs";var d={};o(d,{default:()=>y});var u,y,g=t(()=>{"use strict";u=function(){var e=[{defaultValue:5,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:"name",kind:"LocalArgument",name:"orderBy"},{defaultValue:null,kind:"LocalArgument",name:"q"}],l={kind:"Variable",name:"orderBy",variableName:"orderBy"},n={kind:"Variable",name:"q",variableName:"q"},r=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},l,n],i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"AllProfilesListPaginationQuery",selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},l,n],kind:"FragmentSpread",name:"AllProfilesListFragment"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"AllProfilesListPaginationQuery",selections:[{alias:null,args:r,concreteType:"ProfileConnection",kind:"LinkedField",name:"allProfiles",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"totalCount",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},{alias:null,args:null,concreteType:"ProfileEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Profile",kind:"LinkedField",name:"node",plural:!1,selections:[i,{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},i],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}],storageKey:null},{alias:null,args:r,filters:["orderBy","q"],handle:"connection",key:"AllProfilesListFragment_allProfiles",kind:"LinkedHandle",name:"allProfiles"}]},params:{cacheID:"204256845a14dd3565928a505a949408",id:null,metadata:{},name:"AllProfilesListPaginationQuery",operationKind:"query",text:`query AllProfilesListPaginationQuery(
  $count: Int = 5
  $cursor: String
  $orderBy: String = "name"
  $q: String = null
) {
  ...AllProfilesListFragment_40Ewnb
}

fragment AllProfilesListFragment_40Ewnb on Query {
  allProfiles(after: $cursor, first: $count, orderBy: $orderBy, q: $q) {
    totalCount
    pageInfo {
      hasNextPage
      endCursor
    }
    edges {
      node {
        id
        ...ProfileItemFragment
        __typename
      }
      cursor
    }
  }
}

fragment ProfileItemFragment on Profile {
  id
  name
  image(width: 100, height: 100) {
    url
  }
  urlPath {
    path
    id
  }
}
`}}}();u.hash="ccca7694a4c35464dcc25d0d1752d100";y=u});var c={};o(c,{default:()=>p});var m,p,f=t(()=>{"use strict";m=function(){var e=["allProfiles"];return{argumentDefinitions:[{defaultValue:5,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:"name",kind:"LocalArgument",name:"orderBy"},{defaultValue:null,kind:"LocalArgument",name:"q"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:[],operation:(g(),s(d))}},name:"AllProfilesListFragment",selections:[{alias:"allProfiles",args:[{kind:"Variable",name:"orderBy",variableName:"orderBy"},{kind:"Variable",name:"q",variableName:"q"}],concreteType:"ProfileConnection",kind:"LinkedField",name:"__AllProfilesListFragment_allProfiles_connection",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"totalCount",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},{alias:null,args:null,concreteType:"ProfileEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Profile",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{args:null,kind:"FragmentSpread",name:"ProfileItemFragment"},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null}}();m.hash="ccca7694a4c35464dcc25d0d1752d100";p=m});import{usePaginationFragment as k}from"react-relay";var a,P=(a!==void 0||(a=(f(),s(c)),a.hash&&a.hash!=="ccca7694a4c35464dcc25d0d1752d100"&&console.error("The definition of 'AllProfilesListFragment' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data.")),a),h=function(l){return k(P,l)};export{P as a,h as b};
//# sourceMappingURL=chunk-GX4RCPNI.mjs.map