"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXD2OIZABjs = require('./chunk-XD2OIZAB.js');var h={};_chunkXD2OIZABjs.b.call(void 0, h,{default:()=>U});var F,U,L=_chunkXD2OIZABjs.a.call(void 0, ()=>{"use strict";F=function(){var e=[{defaultValue:10,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"orderBy"},{defaultValue:null,kind:"LocalArgument",name:"profileId"},{defaultValue:null,kind:"LocalArgument",name:"q"}],i=[{kind:"Variable",name:"id",variableName:"profileId"}],s={alias:null,args:null,kind:"ScalarField",name:"pk",storageKey:null},t={kind:"Variable",name:"orderBy",variableName:"orderBy"},o={kind:"Variable",name:"q",variableName:"q"},n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},u={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)"},m={alias:null,args:null,concreteType:"URLPath",kind:"LinkedField",name:"urlPath",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null},n],storageKey:null},a=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},t,o];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"UserMembersListPaginationQuery",selections:[{alias:null,args:i,concreteType:"Profile",kind:"LinkedField",name:"profile",plural:!1,selections:[s,{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},t,o],kind:"FragmentSpread",name:"UserMembersListFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"UserMembersListPaginationQuery",selections:[{alias:null,args:i,concreteType:"Profile",kind:"LinkedField",name:"profile",plural:!1,selections:[s,{alias:"canChangeRole",args:[{kind:"Literal",name:"perm",value:"baseapp_profiles.change_profileuserrole"}],kind:"ScalarField",name:"hasPerm",storageKey:'hasPerm(perm:"baseapp_profiles.change_profileuserrole")'},n,d,u,m,{alias:null,args:a,concreteType:"ProfileUserRoleConnection",kind:"LinkedField",name:"members",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,concreteType:"ProfileUserRoleEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ProfileUserRole",kind:"LinkedField",name:"node",plural:!1,selections:[n,{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,concreteType:"Profile",kind:"LinkedField",name:"profile",plural:!1,selections:[n,d,u,m],storageKey:null},n],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"role",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"status",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:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:a,filters:["orderBy","q"],handle:"connection",key:"UserMembersFragment_members",kind:"LinkedHandle",name:"members"}],storageKey:null}]},params:{cacheID:"4c26b6c390f8f6f6311b61783c7aa5ba",id:null,metadata:{},name:"UserMembersListPaginationQuery",operationKind:"query",text:`query UserMembersListPaginationQuery(
  $count: Int = 10
  $cursor: String
  $orderBy: String
  $profileId: ID!
  $q: String
) {
  profile(id: $profileId) {
    pk
    ...UserMembersListFragment_40Ewnb
    id
  }
}

fragment MemberItemFragment on ProfileUserRole {
  id
  user {
    profile {
      ...ProfileItemFragment
      id
    }
    id
  }
  role
  status
}

fragment ProfileItemFragment on Profile {
  id
  name
  image(width: 100, height: 100) {
    url
  }
  urlPath {
    path
    id
  }
}

fragment UserMembersListFragment_40Ewnb on Profile {
  canChangeRole: hasPerm(perm: "baseapp_profiles.change_profileuserrole")
  ...ProfileItemFragment
  members(first: $count, after: $cursor, orderBy: $orderBy, q: $q) {
    totalCount
    edges {
      node {
        ...MemberItemFragment
        id
        __typename
      }
      cursor
    }
    pageInfo {
      endCursor
      hasNextPage
    }
  }
  id
}
`}}}();F.hash="86d1da775d16041c78aa054204fed0cd";U=F});var v={};_chunkXD2OIZABjs.b.call(void 0, v,{default:()=>_});var P,_,K=_chunkXD2OIZABjs.a.call(void 0, ()=>{"use strict";P=function(){var e={defaultValue:10,kind:"LocalArgument",name:"count"},i={defaultValue:null,kind:"LocalArgument",name:"cursor"},s={defaultValue:null,kind:"LocalArgument",name:"id"},t={defaultValue:null,kind:"LocalArgument",name:"orderBy"},o={defaultValue:null,kind:"LocalArgument",name:"q"},n=[{kind:"Variable",name:"id",variableName:"id"}],d={kind:"Variable",name:"orderBy",variableName:"orderBy"},u={kind:"Variable",name:"q",variableName:"q"},m={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},y={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)"},b={alias:null,args:null,concreteType:"URLPath",kind:"LinkedField",name:"urlPath",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null},a],storageKey:null},k=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},d,u];return{fragment:{argumentDefinitions:[e,i,s,t,o],kind:"Fragment",metadata:null,name:"userMembersListPaginationRefetchable",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},d,u],kind:"FragmentSpread",name:"UserMembersListFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,i,t,o,s],kind:"Operation",name:"userMembersListPaginationRefetchable",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[m,a,{kind:"InlineFragment",selections:[{alias:"canChangeRole",args:[{kind:"Literal",name:"perm",value:"baseapp_profiles.change_profileuserrole"}],kind:"ScalarField",name:"hasPerm",storageKey:'hasPerm(perm:"baseapp_profiles.change_profileuserrole")'},p,y,b,{alias:null,args:k,concreteType:"ProfileUserRoleConnection",kind:"LinkedField",name:"members",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,concreteType:"ProfileUserRoleEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ProfileUserRole",kind:"LinkedField",name:"node",plural:!1,selections:[a,{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,concreteType:"Profile",kind:"LinkedField",name:"profile",plural:!1,selections:[a,p,y,b],storageKey:null},a],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"role",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},m],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:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:k,filters:["orderBy","q"],handle:"connection",key:"UserMembersFragment_members",kind:"LinkedHandle",name:"members"}],type:"Profile",abstractKey:null}],storageKey:null}]},params:{cacheID:"face3a956a429a02eac4e1ebaedda0ff",id:null,metadata:{},name:"userMembersListPaginationRefetchable",operationKind:"query",text:`query userMembersListPaginationRefetchable(
  $count: Int = 10
  $cursor: String
  $orderBy: String
  $q: String
  $id: ID!
) {
  node(id: $id) {
    __typename
    ...UserMembersListFragment_40Ewnb
    id
  }
}

fragment MemberItemFragment on ProfileUserRole {
  id
  user {
    profile {
      ...ProfileItemFragment
      id
    }
    id
  }
  role
  status
}

fragment ProfileItemFragment on Profile {
  id
  name
  image(width: 100, height: 100) {
    url
  }
  urlPath {
    path
    id
  }
}

fragment UserMembersListFragment_40Ewnb on Profile {
  canChangeRole: hasPerm(perm: "baseapp_profiles.change_profileuserrole")
  ...ProfileItemFragment
  members(first: $count, after: $cursor, orderBy: $orderBy, q: $q) {
    totalCount
    edges {
      node {
        ...MemberItemFragment
        id
        __typename
      }
      cursor
    }
    pageInfo {
      endCursor
      hasNextPage
    }
  }
  id
}
`}}}();P.hash="36d39484eb42189ff857dac6fec4b13d";_=P});var M={};_chunkXD2OIZABjs.b.call(void 0, M,{default:()=>$});var R,$,S=_chunkXD2OIZABjs.a.call(void 0, ()=>{"use strict";R=function(){var e=["members"];return{argumentDefinitions:[{defaultValue:10,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,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:["node"],operation:(K(),_chunkXD2OIZABjs.c.call(void 0, v)),identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"UserMembersListFragment",selections:[{alias:"canChangeRole",args:[{kind:"Literal",name:"perm",value:"baseapp_profiles.change_profileuserrole"}],kind:"ScalarField",name:"hasPerm",storageKey:'hasPerm(perm:"baseapp_profiles.change_profileuserrole")'},{args:null,kind:"FragmentSpread",name:"ProfileItemFragment"},{alias:"members",args:[{kind:"Variable",name:"orderBy",variableName:"orderBy"},{kind:"Variable",name:"q",variableName:"q"}],concreteType:"ProfileUserRoleConnection",kind:"LinkedField",name:"__UserMembersFragment_members_connection",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,concreteType:"ProfileUserRoleEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ProfileUserRole",kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"MemberItemFragment"},{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:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Profile",abstractKey:null}}();R.hash="36d39484eb42189ff857dac6fec4b13d";$=R});require('react-relay');var l,r,V= exports.a =(l!==void 0||(l=(L(),_chunkXD2OIZABjs.c.call(void 0, h)),l.hash&&l.hash!=="86d1da775d16041c78aa054204fed0cd"&&console.error("The definition of 'UserMembersListPaginationQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data.")),l),T= exports.b =(r!==void 0||(r=(S(),_chunkXD2OIZABjs.c.call(void 0, M)),r.hash&&r.hash!=="36d39484eb42189ff857dac6fec4b13d"&&console.error("The definition of 'UserMembersListFragment' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data.")),r);exports.a = V; exports.b = T;
//# sourceMappingURL=chunk-D2DMBZG7.js.map