"use strict";Object.defineProperty(exports, "__esModule", {value: true});



var _chunk4CV4JOE5js = require('./chunk-4CV4JOE5.js');

// __generated__/UserMembersListPaginationQuery.graphql.ts
var UserMembersListPaginationQuery_graphql_exports = {};
_chunk4CV4JOE5js.__export.call(void 0, UserMembersListPaginationQuery_graphql_exports, {
  default: () => UserMembersListPaginationQuery_graphql_default
});
var node, UserMembersListPaginationQuery_graphql_default;
var init_UserMembersListPaginationQuery_graphql = _chunk4CV4JOE5js.__esm.call(void 0, {
  "__generated__/UserMembersListPaginationQuery.graphql.ts"() {
    "use strict";
    node = /* @__PURE__ */ function() {
      var v0 = [
        {
          "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"
        }
      ], v1 = [
        {
          "kind": "Variable",
          "name": "id",
          "variableName": "profileId"
        }
      ], v2 = {
        "alias": null,
        "args": null,
        "kind": "ScalarField",
        "name": "pk",
        "storageKey": null
      }, v3 = {
        "kind": "Variable",
        "name": "orderBy",
        "variableName": "orderBy"
      }, v4 = {
        "kind": "Variable",
        "name": "q",
        "variableName": "q"
      }, v5 = {
        "alias": null,
        "args": null,
        "kind": "ScalarField",
        "name": "id",
        "storageKey": null
      }, v6 = {
        "alias": null,
        "args": null,
        "kind": "ScalarField",
        "name": "name",
        "storageKey": null
      }, v7 = {
        "alias": null,
        "args": [
          {
            "kind": "Literal",
            "name": "height",
            "value": 100
          },
          {
            "kind": "Literal",
            "name": "width",
            "value": 100
          }
        ],
        "concreteType": "File",
        "kind": "LinkedField",
        "name": "image",
        "plural": false,
        "selections": [
          {
            "alias": null,
            "args": null,
            "kind": "ScalarField",
            "name": "url",
            "storageKey": null
          }
        ],
        "storageKey": "image(height:100,width:100)"
      }, v8 = {
        "alias": null,
        "args": null,
        "concreteType": "URLPath",
        "kind": "LinkedField",
        "name": "urlPath",
        "plural": false,
        "selections": [
          {
            "alias": null,
            "args": null,
            "kind": "ScalarField",
            "name": "path",
            "storageKey": null
          },
          v5
        ],
        "storageKey": null
      }, v9 = [
        {
          "kind": "Variable",
          "name": "after",
          "variableName": "cursor"
        },
        {
          "kind": "Variable",
          "name": "first",
          "variableName": "count"
        },
        v3,
        v4
      ];
      return {
        "fragment": {
          "argumentDefinitions": v0,
          "kind": "Fragment",
          "metadata": null,
          "name": "UserMembersListPaginationQuery",
          "selections": [
            {
              "alias": null,
              "args": v1,
              "concreteType": "Profile",
              "kind": "LinkedField",
              "name": "profile",
              "plural": false,
              "selections": [
                v2,
                {
                  "args": [
                    {
                      "kind": "Variable",
                      "name": "count",
                      "variableName": "count"
                    },
                    {
                      "kind": "Variable",
                      "name": "cursor",
                      "variableName": "cursor"
                    },
                    v3,
                    v4
                  ],
                  "kind": "FragmentSpread",
                  "name": "UserMembersListFragment"
                }
              ],
              "storageKey": null
            }
          ],
          "type": "Query",
          "abstractKey": null
        },
        "kind": "Request",
        "operation": {
          "argumentDefinitions": v0,
          "kind": "Operation",
          "name": "UserMembersListPaginationQuery",
          "selections": [
            {
              "alias": null,
              "args": v1,
              "concreteType": "Profile",
              "kind": "LinkedField",
              "name": "profile",
              "plural": false,
              "selections": [
                v2,
                {
                  "alias": "canChangeRole",
                  "args": [
                    {
                      "kind": "Literal",
                      "name": "perm",
                      "value": "baseapp_profiles.change_profileuserrole"
                    }
                  ],
                  "kind": "ScalarField",
                  "name": "hasPerm",
                  "storageKey": 'hasPerm(perm:"baseapp_profiles.change_profileuserrole")'
                },
                v5,
                v6,
                v7,
                v8,
                {
                  "alias": null,
                  "args": v9,
                  "concreteType": "ProfileUserRoleConnection",
                  "kind": "LinkedField",
                  "name": "members",
                  "plural": false,
                  "selections": [
                    {
                      "alias": null,
                      "args": null,
                      "kind": "ScalarField",
                      "name": "totalCount",
                      "storageKey": null
                    },
                    {
                      "alias": null,
                      "args": null,
                      "concreteType": "ProfileUserRoleEdge",
                      "kind": "LinkedField",
                      "name": "edges",
                      "plural": true,
                      "selections": [
                        {
                          "alias": null,
                          "args": null,
                          "concreteType": "ProfileUserRole",
                          "kind": "LinkedField",
                          "name": "node",
                          "plural": false,
                          "selections": [
                            v5,
                            {
                              "alias": null,
                              "args": null,
                              "concreteType": "User",
                              "kind": "LinkedField",
                              "name": "user",
                              "plural": false,
                              "selections": [
                                {
                                  "alias": null,
                                  "args": null,
                                  "concreteType": "Profile",
                                  "kind": "LinkedField",
                                  "name": "profile",
                                  "plural": false,
                                  "selections": [
                                    v5,
                                    v6,
                                    v7,
                                    v8
                                  ],
                                  "storageKey": null
                                },
                                v5
                              ],
                              "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": false,
                      "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": v9,
                  "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(\n  $count: Int = 10\n  $cursor: String\n  $orderBy: String\n  $profileId: ID!\n  $q: String\n) {\n  profile(id: $profileId) {\n    pk\n    ...UserMembersListFragment_40Ewnb\n    id\n  }\n}\n\nfragment MemberItemFragment on ProfileUserRole {\n  id\n  user {\n    profile {\n      ...ProfileItemFragment\n      id\n    }\n    id\n  }\n  role\n  status\n}\n\nfragment ProfileItemFragment on Profile {\n  id\n  name\n  image(width: 100, height: 100) {\n    url\n  }\n  urlPath {\n    path\n    id\n  }\n}\n\nfragment UserMembersListFragment_40Ewnb on Profile {\n  canChangeRole: hasPerm(perm: "baseapp_profiles.change_profileuserrole")\n  ...ProfileItemFragment\n  members(first: $count, after: $cursor, orderBy: $orderBy, q: $q) {\n    totalCount\n    edges {\n      node {\n        ...MemberItemFragment\n        id\n        __typename\n      }\n      cursor\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n    }\n  }\n  id\n}\n'
        }
      };
    }();
    node.hash = "86d1da775d16041c78aa054204fed0cd";
    UserMembersListPaginationQuery_graphql_default = node;
  }
});

// tmp-babel/profiles/common/graphql/queries/UserMembersList.js
var _reactrelay = require('react-relay');
var _UserMembersListPaginationQuery;
var UserMembersListPaginationQuery = _UserMembersListPaginationQuery !== void 0 ? _UserMembersListPaginationQuery : (_UserMembersListPaginationQuery = (init_UserMembersListPaginationQuery_graphql(), _chunk4CV4JOE5js.__toCommonJS.call(void 0, UserMembersListPaginationQuery_graphql_exports)), _UserMembersListPaginationQuery.hash && _UserMembersListPaginationQuery.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."), _UserMembersListPaginationQuery);



exports.UserMembersListPaginationQuery = UserMembersListPaginationQuery;
//# sourceMappingURL=chunk-DOBAKHOP.js.map