@timardex/cluemart-shared 1.5.755 → 1.5.757

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/{chunk-DQVXL6TO.mjs → chunk-3MLTYJMV.mjs} +2 -2
  2. package/dist/{chunk-IMQU3E2F.mjs → chunk-6CRQZK5X.mjs} +2 -2
  3. package/dist/{chunk-WBJDMRUC.mjs → chunk-O3S5IQT3.mjs} +136 -137
  4. package/dist/chunk-O3S5IQT3.mjs.map +1 -0
  5. package/dist/{chunk-KZLKBUMF.mjs → chunk-UK4D5N3O.mjs} +82 -2
  6. package/dist/chunk-UK4D5N3O.mjs.map +1 -0
  7. package/dist/formFields/index.cjs +8 -0
  8. package/dist/formFields/index.cjs.map +1 -1
  9. package/dist/formFields/index.mjs +2 -2
  10. package/dist/graphql/index.cjs +195 -195
  11. package/dist/graphql/index.cjs.map +1 -1
  12. package/dist/graphql/index.d.mts +3 -1
  13. package/dist/graphql/index.d.ts +3 -1
  14. package/dist/graphql/index.mjs +3 -1
  15. package/dist/hooks/index.cjs +167 -161
  16. package/dist/hooks/index.cjs.map +1 -1
  17. package/dist/hooks/index.mjs +4 -4
  18. package/dist/index.cjs +285 -195
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.mts +26 -1
  21. package/dist/index.d.ts +26 -1
  22. package/dist/index.mjs +215 -136
  23. package/dist/index.mjs.map +1 -1
  24. package/dist/sharing/index.cjs +8 -0
  25. package/dist/sharing/index.cjs.map +1 -1
  26. package/dist/sharing/index.mjs +2 -2
  27. package/dist/utils/index.cjs +90 -0
  28. package/dist/utils/index.cjs.map +1 -1
  29. package/dist/utils/index.d.mts +26 -3
  30. package/dist/utils/index.d.ts +26 -3
  31. package/dist/utils/index.mjs +21 -1
  32. package/package.json +1 -1
  33. package/dist/chunk-KZLKBUMF.mjs.map +0 -1
  34. package/dist/chunk-WBJDMRUC.mjs.map +0 -1
  35. /package/dist/{chunk-DQVXL6TO.mjs.map → chunk-3MLTYJMV.mjs.map} +0 -0
  36. /package/dist/{chunk-IMQU3E2F.mjs.map → chunk-6CRQZK5X.mjs.map} +0 -0
package/dist/index.cjs CHANGED
@@ -72,11 +72,13 @@ __export(index_exports, {
72
72
  GET_EVENT_INFO: () => GET_EVENT_INFO,
73
73
  GET_PARTNER: () => GET_PARTNER,
74
74
  GET_POST: () => GET_POST,
75
+ GET_RESOURCE_CONNECTIONS: () => GET_RESOURCE_CONNECTIONS,
75
76
  GET_VENDOR: () => GET_VENDOR,
76
77
  GET_VENDOR_INFO: () => GET_VENDOR_INFO,
77
78
  IMAGE_EXTENSION: () => IMAGE_EXTENSION,
78
79
  IOS_URL: () => IOS_URL,
79
80
  ImageTypeEnum: () => ImageTypeEnum,
81
+ KNOWN_EVENT_SCHEDULE_STATUSES: () => KNOWN_EVENT_SCHEDULE_STATUSES,
80
82
  OG_DESCRIPTION_LINE_BREAK: () => OG_DESCRIPTION_LINE_BREAK,
81
83
  POST_SHARE_RESOURCE_TYPES: () => POST_SHARE_RESOURCE_TYPES,
82
84
  PROMO_CODE_PREFIX: () => PROMO_CODE_PREFIX,
@@ -130,6 +132,7 @@ __export(index_exports, {
130
132
  badgeIds: () => badgeIds,
131
133
  badges: () => badges,
132
134
  buildApplicationShareDescription: () => buildApplicationShareDescription,
135
+ buildCalendarSheetContentData: () => buildCalendarSheetContentData,
133
136
  buildFacebookShareQuote: () => buildFacebookShareQuote,
134
137
  buildInvitationShareDescription: () => buildInvitationShareDescription,
135
138
  buildPublicEventShareDescription: () => buildPublicEventShareDescription,
@@ -158,6 +161,7 @@ __export(index_exports, {
158
161
  eventMatchesDateStatusPeriod: () => eventMatchesDateStatusPeriod,
159
162
  eventStartDateFields: () => eventStartDateFields,
160
163
  filterEventsByDateStatusPeriod: () => filterEventsByDateStatusPeriod,
164
+ findEventDateTimeByIsoDate: () => findEventDateTimeByIsoDate,
161
165
  fonts: () => fonts,
162
166
  foodFlavourOptions: () => foodFlavourOptions,
163
167
  formatCategoryLabel: () => formatCategoryLabel,
@@ -176,11 +180,16 @@ __export(index_exports, {
176
180
  formatShareTagsSection: () => formatShareTagsSection,
177
181
  formatStallCapacityLabel: () => formatStallCapacityLabel,
178
182
  formatTimestamp: () => formatTimestamp,
183
+ fromCalendarIsoDate: () => fromCalendarIsoDate,
179
184
  futureTimePeriods: () => futureTimePeriods,
180
185
  gameScreenIdentifierList: () => gameScreenIdentifierList,
181
186
  gameTypeToDisplayName: () => gameTypeToDisplayName,
182
187
  getAllowedEventDateStatuses: () => getAllowedEventDateStatuses,
183
188
  getCurrentAndFutureDates: () => getCurrentAndFutureDates,
189
+ getEventCalendarIsoDates: () => getEventCalendarIsoDates,
190
+ getEventScheduleStatusLabel: () => getEventScheduleStatusLabel,
191
+ getEventScheduleStatusPresentation: () => getEventScheduleStatusPresentation,
192
+ getEventScheduleStatusTone: () => getEventScheduleStatusTone,
184
193
  iconFiles: () => iconFiles,
185
194
  iconIds: () => iconIds,
186
195
  icons: () => icons,
@@ -224,6 +233,7 @@ __export(index_exports, {
224
233
  rewardNiceNames: () => rewardNiceNames,
225
234
  seededShuffle: () => seededShuffle,
226
235
  shareMessageFooterPlacementForType: () => shareMessageFooterPlacementForType,
236
+ shouldShowEventActionsWithWeather: () => shouldShowEventActionsWithWeather,
227
237
  socialMediaFields: () => socialMediaFields,
228
238
  sortDatesChronologically: () => sortDatesChronologically,
229
239
  splitShareDescriptionSections: () => splitShareDescriptionSections,
@@ -231,6 +241,7 @@ __export(index_exports, {
231
241
  statusOptions: () => statusOptions,
232
242
  tagOptions: () => tagOptions,
233
243
  timeFormat: () => timeFormat,
244
+ toCalendarIsoDate: () => toCalendarIsoDate,
234
245
  toGraphqlQueryString: () => toGraphqlQueryString,
235
246
  toNZTime: () => toNZTime,
236
247
  truncateText: () => truncateText,
@@ -1334,6 +1345,76 @@ function filterEventsByDateStatusPeriod(events, period) {
1334
1345
  );
1335
1346
  }
1336
1347
 
1348
+ // src/calendar/eventCalendar.ts
1349
+ var import_dayjs2 = __toESM(require("dayjs"));
1350
+ var KNOWN_EVENT_SCHEDULE_STATUSES = /* @__PURE__ */ new Set([
1351
+ "Started" /* STARTED */,
1352
+ "Starting_Soon" /* STARTING_SOON */,
1353
+ "Ended" /* ENDED */
1354
+ ]);
1355
+ function toCalendarIsoDate(startDate) {
1356
+ const formatted = (0, import_dayjs2.default)(startDate, dateFormat).format("YYYY-MM-DD");
1357
+ return (0, import_dayjs2.default)(formatted, "YYYY-MM-DD", true).isValid() ? formatted : null;
1358
+ }
1359
+ function fromCalendarIsoDate(isoDate) {
1360
+ return (0, import_dayjs2.default)(isoDate, "YYYY-MM-DD").format(dateFormat);
1361
+ }
1362
+ function getEventCalendarIsoDates(dateTimes) {
1363
+ return dateTimes?.map((dateTime) => toCalendarIsoDate(dateTime.startDate)).filter((date) => Boolean(date)) ?? [];
1364
+ }
1365
+ function findEventDateTimeByIsoDate(dateTimes, isoDate) {
1366
+ const selected = fromCalendarIsoDate(isoDate);
1367
+ return dateTimes?.find((dateTime) => dateTime.startDate === selected) ?? null;
1368
+ }
1369
+ function buildCalendarSheetContentData(dateTimes, isoDate, location, resourceId, resourceType) {
1370
+ const dateTime = findEventDateTimeByIsoDate(dateTimes, isoDate);
1371
+ if (!dateTime) {
1372
+ return null;
1373
+ }
1374
+ return {
1375
+ dateTime,
1376
+ location,
1377
+ resourceId,
1378
+ resourceType
1379
+ };
1380
+ }
1381
+ function getEventScheduleStatusTone(status) {
1382
+ switch (status) {
1383
+ case "Started" /* STARTED */:
1384
+ return "started";
1385
+ case "Starting_Soon" /* STARTING_SOON */:
1386
+ return "startingSoon";
1387
+ case "Ended" /* ENDED */:
1388
+ return "ended";
1389
+ default:
1390
+ return "default";
1391
+ }
1392
+ }
1393
+ function getEventScheduleStatusPresentation(dateTime) {
1394
+ return {
1395
+ status: dateTime.dateStatus,
1396
+ statusLabel: dateTime.dateStatus.replaceAll("_", " ").toLowerCase(),
1397
+ tone: getEventScheduleStatusTone(dateTime.dateStatus)
1398
+ };
1399
+ }
1400
+ function getEventScheduleStatusLabel(dateTime, onlyShowKnownStatuses) {
1401
+ const { dateStatus: status } = dateTime;
1402
+ const isKnownStatus = Boolean(
1403
+ status && KNOWN_EVENT_SCHEDULE_STATUSES.has(status)
1404
+ );
1405
+ if (onlyShowKnownStatuses && !isKnownStatus) {
1406
+ return null;
1407
+ }
1408
+ return isKnownStatus ? status.replaceAll("_", " ").toLowerCase() : `Next event date: ${formatDate(dateTime.startDate, "date")}`;
1409
+ }
1410
+ function shouldShowEventActionsWithWeather(resourceType, dateTime, location) {
1411
+ return resourceType === "event" /* EVENT */ && Boolean(location) && Boolean(dateTime?.dateStatus) && ![
1412
+ "Ended" /* ENDED */,
1413
+ "Canceled" /* CANCELED */,
1414
+ "Started" /* STARTED */
1415
+ ].includes(dateTime.dateStatus);
1416
+ }
1417
+
1337
1418
  // src/formFields/vendor/vendorInfo.ts
1338
1419
  var vendorElectricity = {
1339
1420
  details: {
@@ -4064,6 +4145,75 @@ var GET_POSTS_BY_TYPE = import_client7.gql`
4064
4145
  ${POST_FIELDS_FRAGMENT}
4065
4146
  `;
4066
4147
 
4148
+ // src/graphql/queries/relation.ts
4149
+ var import_client8 = require("@apollo/client");
4150
+ var RELATION_FIELDS_FRAGMENT = import_client8.gql`
4151
+ fragment RelationFields on RelationType {
4152
+ _id
4153
+ active
4154
+ chatId
4155
+ createdAt
4156
+ lastUpdateBy
4157
+ eventId
4158
+ relationDates {
4159
+ ...RelationDates
4160
+ }
4161
+ relationType
4162
+ vendorId
4163
+ updatedAt
4164
+ }
4165
+ ${RELATION_DATES_FRAGMENT}
4166
+ `;
4167
+ var GET_RELATION = import_client8.gql`
4168
+ query getRelation($_id: ID!) {
4169
+ relation(_id: $_id) {
4170
+ ...RelationFields
4171
+ }
4172
+ }
4173
+ ${RELATION_FIELDS_FRAGMENT}
4174
+ `;
4175
+ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client8.gql`
4176
+ query getRelationByEventAndVendor($eventId: ID!, $vendorId: ID!) {
4177
+ relationByEventAndVendor(eventId: $eventId, vendorId: $vendorId) {
4178
+ ...RelationFields
4179
+ }
4180
+ }
4181
+ ${RELATION_FIELDS_FRAGMENT}
4182
+ `;
4183
+ var GET_EVENT_RELATIONS = import_client8.gql`
4184
+ query getEventRelations($eventId: ID!) {
4185
+ eventRelations(eventId: $eventId) {
4186
+ ...RelationFields
4187
+ }
4188
+ }
4189
+ ${RELATION_FIELDS_FRAGMENT}
4190
+ `;
4191
+ var GET_VENDOR_RELATIONS = import_client8.gql`
4192
+ query getVendorRelations($vendorId: ID!) {
4193
+ vendorRelations(vendorId: $vendorId) {
4194
+ ...RelationFields
4195
+ }
4196
+ }
4197
+ ${RELATION_FIELDS_FRAGMENT}
4198
+ `;
4199
+ var GET_RESOURCE_CONNECTIONS = import_client8.gql`
4200
+ query getResourceConnections(
4201
+ $resourceId: ID!
4202
+ $resourceType: ResourceTypeEnum!
4203
+ ) {
4204
+ resourceConnections(resourceId: $resourceId, resourceType: $resourceType) {
4205
+ events {
4206
+ ...EventListItemFields
4207
+ }
4208
+ vendors {
4209
+ ...VendorFields
4210
+ }
4211
+ }
4212
+ }
4213
+ ${VENDOR}
4214
+ ${EVENT_LIST_ITEM}
4215
+ `;
4216
+
4067
4217
  // node_modules/graphql/jsutils/devAssert.mjs
4068
4218
  function devAssert(condition, message) {
4069
4219
  const booleanCondition = Boolean(condition);
@@ -4913,11 +5063,11 @@ function toGraphqlQueryString(query) {
4913
5063
  }
4914
5064
 
4915
5065
  // src/graphql/hooks/admin/hooksMutation.ts
4916
- var import_client9 = require("@apollo/client");
5066
+ var import_client10 = require("@apollo/client");
4917
5067
 
4918
5068
  // src/graphql/mutations/admin.ts
4919
- var import_client8 = require("@apollo/client");
4920
- var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client8.gql`
5069
+ var import_client9 = require("@apollo/client");
5070
+ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client9.gql`
4921
5071
  mutation adminUpdateResourceType($input: AdminUpdateResourceInputType!) {
4922
5072
  adminUpdateResourceType(input: $input) {
4923
5073
  active
@@ -4926,12 +5076,12 @@ var ADMIN_UPDATE_RESOURCE_TYPE_MUTATION = import_client8.gql`
4926
5076
  }
4927
5077
  }
4928
5078
  `;
4929
- var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client8.gql`
5079
+ var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client9.gql`
4930
5080
  mutation adminResendUserVerificationEmail($userId: ID!) {
4931
5081
  adminResendUserVerificationEmail(userId: $userId)
4932
5082
  }
4933
5083
  `;
4934
- var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client8.gql`
5084
+ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client9.gql`
4935
5085
  mutation adminPermanentlyDeleteResource(
4936
5086
  $resourceId: ID!
4937
5087
  $resourceType: ResourceTypeEnum!
@@ -4945,7 +5095,7 @@ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client8.gql`
4945
5095
 
4946
5096
  // src/graphql/hooks/admin/hooksMutation.ts
4947
5097
  var useAdminUpdateResourceType = () => {
4948
- const [adminUpdateResourceType, { loading, error }] = (0, import_client9.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
5098
+ const [adminUpdateResourceType, { loading, error }] = (0, import_client10.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
4949
5099
  awaitRefetchQueries: true,
4950
5100
  refetchQueries: (mutationResult) => {
4951
5101
  const adminUpdateResourceType2 = mutationResult?.data?.adminUpdateResourceType;
@@ -4968,7 +5118,7 @@ var useAdminUpdateResourceType = () => {
4968
5118
  };
4969
5119
  };
4970
5120
  var useAdminResendUserVerificationEmail = () => {
4971
- const [adminResendUserVerificationEmail, { loading, error }] = (0, import_client9.useMutation)(
5121
+ const [adminResendUserVerificationEmail, { loading, error }] = (0, import_client10.useMutation)(
4972
5122
  ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION
4973
5123
  );
4974
5124
  return {
@@ -4978,7 +5128,7 @@ var useAdminResendUserVerificationEmail = () => {
4978
5128
  };
4979
5129
  };
4980
5130
  var useAdminPermanentlyDeleteResource = () => {
4981
- const [adminPermanentlyDeleteResource, { loading, error }] = (0, import_client9.useMutation)(
5131
+ const [adminPermanentlyDeleteResource, { loading, error }] = (0, import_client10.useMutation)(
4982
5132
  ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION
4983
5133
  );
4984
5134
  return {
@@ -4989,11 +5139,11 @@ var useAdminPermanentlyDeleteResource = () => {
4989
5139
  };
4990
5140
 
4991
5141
  // src/graphql/hooks/auth.ts
4992
- var import_client11 = require("@apollo/client");
5142
+ var import_client12 = require("@apollo/client");
4993
5143
 
4994
5144
  // src/graphql/mutations/auth.ts
4995
- var import_client10 = require("@apollo/client");
4996
- var REGISTER_MUTATION = import_client10.gql`
5145
+ var import_client11 = require("@apollo/client");
5146
+ var REGISTER_MUTATION = import_client11.gql`
4997
5147
  mutation register($input: RegisterInputType!) {
4998
5148
  register(input: $input) {
4999
5149
  message
@@ -5006,7 +5156,7 @@ var REGISTER_MUTATION = import_client10.gql`
5006
5156
  }
5007
5157
  ${USER_FIELDS_FRAGMENT}
5008
5158
  `;
5009
- var LOGIN_MUTATION = import_client10.gql`
5159
+ var LOGIN_MUTATION = import_client11.gql`
5010
5160
  mutation login($input: LoginInputType!) {
5011
5161
  login(input: $input) {
5012
5162
  message
@@ -5019,14 +5169,14 @@ var LOGIN_MUTATION = import_client10.gql`
5019
5169
  }
5020
5170
  ${USER_FIELDS_FRAGMENT}
5021
5171
  `;
5022
- var LOGOUT_MUTATION = import_client10.gql`
5172
+ var LOGOUT_MUTATION = import_client11.gql`
5023
5173
  mutation logout {
5024
5174
  logout {
5025
5175
  message
5026
5176
  }
5027
5177
  }
5028
5178
  `;
5029
- var REFRESH_TOKEN_MUTATION = import_client10.gql`
5179
+ var REFRESH_TOKEN_MUTATION = import_client11.gql`
5030
5180
  mutation refreshToken($input: RefreshTokenInputType!) {
5031
5181
  refreshToken(input: $input) {
5032
5182
  refreshToken
@@ -5034,21 +5184,21 @@ var REFRESH_TOKEN_MUTATION = import_client10.gql`
5034
5184
  }
5035
5185
  }
5036
5186
  `;
5037
- var RESET_PASSWORD_MUTATION = import_client10.gql`
5187
+ var RESET_PASSWORD_MUTATION = import_client11.gql`
5038
5188
  mutation resetPassword($input: ResetPasswordInputType!) {
5039
5189
  resetPassword(input: $input) {
5040
5190
  message
5041
5191
  }
5042
5192
  }
5043
5193
  `;
5044
- var REQUEST_PASSWORD_RESET_MUTATION = import_client10.gql`
5194
+ var REQUEST_PASSWORD_RESET_MUTATION = import_client11.gql`
5045
5195
  mutation requestPasswordReset($input: RequestPasswordResetInputType!) {
5046
5196
  requestPasswordReset(input: $input) {
5047
5197
  message
5048
5198
  }
5049
5199
  }
5050
5200
  `;
5051
- var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client10.gql`
5201
+ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client11.gql`
5052
5202
  mutation validateVerificationToken(
5053
5203
  $input: ValidateVerificationTokenInputType!
5054
5204
  ) {
@@ -5060,49 +5210,49 @@ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client10.gql`
5060
5210
 
5061
5211
  // src/graphql/hooks/auth.ts
5062
5212
  var useRegister = () => {
5063
- const [register, { loading, error }] = (0, import_client11.useMutation)(REGISTER_MUTATION);
5213
+ const [register, { loading, error }] = (0, import_client12.useMutation)(REGISTER_MUTATION);
5064
5214
  return { error, loading, register };
5065
5215
  };
5066
5216
  var useLogin = () => {
5067
- const [login, { loading, error }] = (0, import_client11.useMutation)(LOGIN_MUTATION);
5217
+ const [login, { loading, error }] = (0, import_client12.useMutation)(LOGIN_MUTATION);
5068
5218
  return { error, loading, login };
5069
5219
  };
5070
5220
  var useLogout = () => {
5071
- const [logout, { loading, error }] = (0, import_client11.useMutation)(LOGOUT_MUTATION);
5221
+ const [logout, { loading, error }] = (0, import_client12.useMutation)(LOGOUT_MUTATION);
5072
5222
  return { error, loading, logout };
5073
5223
  };
5074
5224
  var useRefreshToken = () => {
5075
- const [refreshToken, { loading, error }] = (0, import_client11.useMutation)(REFRESH_TOKEN_MUTATION);
5225
+ const [refreshToken, { loading, error }] = (0, import_client12.useMutation)(REFRESH_TOKEN_MUTATION);
5076
5226
  return { error, loading, refreshToken };
5077
5227
  };
5078
5228
  var useRequestPasswordReset = () => {
5079
- const [requestPasswordReset, { loading, error }] = (0, import_client11.useMutation)(
5229
+ const [requestPasswordReset, { loading, error }] = (0, import_client12.useMutation)(
5080
5230
  REQUEST_PASSWORD_RESET_MUTATION
5081
5231
  );
5082
5232
  return { error, loading, requestPasswordReset };
5083
5233
  };
5084
5234
  var useValidateVerificationToken = () => {
5085
- const [validateVerificationToken, { loading, error }] = (0, import_client11.useMutation)(
5235
+ const [validateVerificationToken, { loading, error }] = (0, import_client12.useMutation)(
5086
5236
  VALIDATE_VERIFICATION_TOKEN_MUTATION
5087
5237
  );
5088
5238
  return { error, loading, validateVerificationToken };
5089
5239
  };
5090
5240
  var useResetPassword = () => {
5091
- const [resetPassword, { loading, error }] = (0, import_client11.useMutation)(
5241
+ const [resetPassword, { loading, error }] = (0, import_client12.useMutation)(
5092
5242
  RESET_PASSWORD_MUTATION
5093
5243
  );
5094
5244
  return { error, loading, resetPassword };
5095
5245
  };
5096
5246
 
5097
5247
  // src/graphql/hooks/chat/hooksMutation.ts
5098
- var import_client14 = require("@apollo/client");
5248
+ var import_client15 = require("@apollo/client");
5099
5249
 
5100
5250
  // src/graphql/mutations/chat.ts
5101
- var import_client13 = require("@apollo/client");
5251
+ var import_client14 = require("@apollo/client");
5102
5252
 
5103
5253
  // src/graphql/queries/chat.ts
5104
- var import_client12 = require("@apollo/client");
5105
- var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client12.gql`
5254
+ var import_client13 = require("@apollo/client");
5255
+ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client13.gql`
5106
5256
  fragment ChatMessageFields on ChatMessageType {
5107
5257
  _id
5108
5258
  content
@@ -5125,7 +5275,7 @@ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client12.gql`
5125
5275
  updatedAt
5126
5276
  }
5127
5277
  `;
5128
- var CHAT_PARTICIPANT = import_client12.gql`
5278
+ var CHAT_PARTICIPANT = import_client13.gql`
5129
5279
  fragment ChatParticipantFields on ChatParticipantType {
5130
5280
  active
5131
5281
  isAssociate
@@ -5135,7 +5285,7 @@ var CHAT_PARTICIPANT = import_client12.gql`
5135
5285
  userName
5136
5286
  }
5137
5287
  `;
5138
- var CHAT_FIELDS_FRAGMENT = import_client12.gql`
5288
+ var CHAT_FIELDS_FRAGMENT = import_client13.gql`
5139
5289
  fragment ChatFields on ChatType {
5140
5290
  _id
5141
5291
  active
@@ -5156,7 +5306,7 @@ var CHAT_FIELDS_FRAGMENT = import_client12.gql`
5156
5306
  ${CHAT_MESSAGE_FIELDS_FRAGMENT}
5157
5307
  ${CHAT_PARTICIPANT}
5158
5308
  `;
5159
- var CHAT = import_client12.gql`
5309
+ var CHAT = import_client13.gql`
5160
5310
  query chat($_id: ID!) {
5161
5311
  chat(_id: $_id) {
5162
5312
  ...ChatFields
@@ -5164,7 +5314,7 @@ var CHAT = import_client12.gql`
5164
5314
  }
5165
5315
  ${CHAT_FIELDS_FRAGMENT}
5166
5316
  `;
5167
- var USER_CHATS = import_client12.gql`
5317
+ var USER_CHATS = import_client13.gql`
5168
5318
  query userChats {
5169
5319
  userChats {
5170
5320
  ...ChatFields
@@ -5172,7 +5322,7 @@ var USER_CHATS = import_client12.gql`
5172
5322
  }
5173
5323
  ${CHAT_FIELDS_FRAGMENT}
5174
5324
  `;
5175
- var GET_CHATS_BY_REGION = import_client12.gql`
5325
+ var GET_CHATS_BY_REGION = import_client13.gql`
5176
5326
  query getChatsByRegion($region: String!) {
5177
5327
  chatsByRegion(region: $region) {
5178
5328
  ...ChatFields
@@ -5180,7 +5330,7 @@ var GET_CHATS_BY_REGION = import_client12.gql`
5180
5330
  }
5181
5331
  ${CHAT_FIELDS_FRAGMENT}
5182
5332
  `;
5183
- var CHAT_REPORT_FIELDS_FRAGMENT = import_client12.gql`
5333
+ var CHAT_REPORT_FIELDS_FRAGMENT = import_client13.gql`
5184
5334
  fragment ChatReportFields on ReportChatUserType {
5185
5335
  _id
5186
5336
  chatId
@@ -5195,7 +5345,7 @@ var CHAT_REPORT_FIELDS_FRAGMENT = import_client12.gql`
5195
5345
  updatedAt
5196
5346
  }
5197
5347
  `;
5198
- var GET_REPORTED_CHAT_USERS = import_client12.gql`
5348
+ var GET_REPORTED_CHAT_USERS = import_client13.gql`
5199
5349
  query getReportedChatUsers {
5200
5350
  reportedChatUsers {
5201
5351
  ...ChatReportFields
@@ -5205,7 +5355,7 @@ var GET_REPORTED_CHAT_USERS = import_client12.gql`
5205
5355
  `;
5206
5356
 
5207
5357
  // src/graphql/mutations/chat.ts
5208
- var CREATE_PRIVATE_CHAT_MUTATION = import_client13.gql`
5358
+ var CREATE_PRIVATE_CHAT_MUTATION = import_client14.gql`
5209
5359
  mutation createPrivateChat($userId: ID!) {
5210
5360
  createPrivateChat(userId: $userId) {
5211
5361
  ...ChatFields
@@ -5213,7 +5363,7 @@ var CREATE_PRIVATE_CHAT_MUTATION = import_client13.gql`
5213
5363
  }
5214
5364
  ${CHAT_FIELDS_FRAGMENT}
5215
5365
  `;
5216
- var SEND_CHAT_MESSAGE_MUTATION = import_client13.gql`
5366
+ var SEND_CHAT_MESSAGE_MUTATION = import_client14.gql`
5217
5367
  mutation sendChatMessage($_id: ID!, $input: ChatMessageInputType!) {
5218
5368
  sendChatMessage(_id: $_id, input: $input) {
5219
5369
  ...ChatFields
@@ -5221,12 +5371,12 @@ var SEND_CHAT_MESSAGE_MUTATION = import_client13.gql`
5221
5371
  }
5222
5372
  ${CHAT_FIELDS_FRAGMENT}
5223
5373
  `;
5224
- var DELETE_CHAT_MUTATION = import_client13.gql`
5374
+ var DELETE_CHAT_MUTATION = import_client14.gql`
5225
5375
  mutation deleteChat($_id: ID!) {
5226
5376
  deleteChat(_id: $_id)
5227
5377
  }
5228
5378
  `;
5229
- var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client13.gql`
5379
+ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client14.gql`
5230
5380
  mutation addParticipantToChat($chatId: ID!, $userId: ID!) {
5231
5381
  addParticipantToChat(chatId: $chatId, userId: $userId) {
5232
5382
  ...ChatFields
@@ -5234,7 +5384,7 @@ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client13.gql`
5234
5384
  }
5235
5385
  ${CHAT_FIELDS_FRAGMENT}
5236
5386
  `;
5237
- var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client13.gql`
5387
+ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client14.gql`
5238
5388
  mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
5239
5389
  removeParticipantFromChat(chatId: $chatId, userId: $userId) {
5240
5390
  success
@@ -5242,7 +5392,7 @@ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client13.gql`
5242
5392
  }
5243
5393
  }
5244
5394
  `;
5245
- var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client13.gql`
5395
+ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client14.gql`
5246
5396
  mutation toggleChatMessageLike($chatId: ID!, $messageId: ID!) {
5247
5397
  toggleChatMessageLike(chatId: $chatId, messageId: $messageId) {
5248
5398
  ...ChatFields
@@ -5250,7 +5400,7 @@ var TOGGLE_CHAT_MESSAGE_LIKE_MUTATION = import_client13.gql`
5250
5400
  }
5251
5401
  ${CHAT_FIELDS_FRAGMENT}
5252
5402
  `;
5253
- var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client13.gql`
5403
+ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client14.gql`
5254
5404
  mutation markChatMessagesSeen($chatId: ID!, $messageIds: [ID!]!) {
5255
5405
  markChatMessagesSeen(chatId: $chatId, messageIds: $messageIds) {
5256
5406
  ...ChatFields
@@ -5258,7 +5408,7 @@ var MARK_CHAT_MESSAGES_SEEN_MUTATION = import_client13.gql`
5258
5408
  }
5259
5409
  ${CHAT_FIELDS_FRAGMENT}
5260
5410
  `;
5261
- var REPORT_CHAT_USER_MUTATION = import_client13.gql`
5411
+ var REPORT_CHAT_USER_MUTATION = import_client14.gql`
5262
5412
  mutation reportChatUser($input: ReportChatUserInputType!) {
5263
5413
  reportChatUser(input: $input) {
5264
5414
  ...ChatReportFields
@@ -5269,14 +5419,14 @@ var REPORT_CHAT_USER_MUTATION = import_client13.gql`
5269
5419
 
5270
5420
  // src/graphql/hooks/chat/hooksMutation.ts
5271
5421
  var useCreatePrivateChat = () => {
5272
- const [createPrivateChat, { loading, error }] = (0, import_client14.useMutation)(CREATE_PRIVATE_CHAT_MUTATION, {
5422
+ const [createPrivateChat, { loading, error }] = (0, import_client15.useMutation)(CREATE_PRIVATE_CHAT_MUTATION, {
5273
5423
  awaitRefetchQueries: true,
5274
5424
  refetchQueries: [{ query: USER_CHATS }]
5275
5425
  });
5276
5426
  return { createPrivateChat, error, loading };
5277
5427
  };
5278
5428
  var useSendChatMessage = () => {
5279
- const [sendChatMessage, { loading, error }] = (0, import_client14.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
5429
+ const [sendChatMessage, { loading, error }] = (0, import_client15.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
5280
5430
  awaitRefetchQueries: true,
5281
5431
  refetchQueries: (mutationResult) => {
5282
5432
  const chatId = mutationResult?.data?.sendChatMessage?._id;
@@ -5291,14 +5441,14 @@ var useSendChatMessage = () => {
5291
5441
  return { error, loading, sendChatMessage };
5292
5442
  };
5293
5443
  var useDeleteChat = () => {
5294
- const [deleteChat, { loading, error }] = (0, import_client14.useMutation)(DELETE_CHAT_MUTATION, {
5444
+ const [deleteChat, { loading, error }] = (0, import_client15.useMutation)(DELETE_CHAT_MUTATION, {
5295
5445
  awaitRefetchQueries: true,
5296
5446
  refetchQueries: [{ query: USER_CHATS }]
5297
5447
  });
5298
5448
  return { deleteChat, error, loading };
5299
5449
  };
5300
5450
  var useAddParticipantToChat = () => {
5301
- const [addParticipantToChat, { loading, error }] = (0, import_client14.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
5451
+ const [addParticipantToChat, { loading, error }] = (0, import_client15.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
5302
5452
  awaitRefetchQueries: true,
5303
5453
  refetchQueries: (mutationResult) => {
5304
5454
  const chatId = mutationResult?.data?.addParticipantToChat?._id;
@@ -5316,7 +5466,7 @@ var useAddParticipantToChat = () => {
5316
5466
  return { addParticipantToChat, error, loading };
5317
5467
  };
5318
5468
  var useRemoveParticipantFromChat = () => {
5319
- const [removeParticipantFromChat, { loading, error }] = (0, import_client14.useMutation)(REMOVE_PARTICIPANT_FROM_CHAT_MUTATION, {
5469
+ const [removeParticipantFromChat, { loading, error }] = (0, import_client15.useMutation)(REMOVE_PARTICIPANT_FROM_CHAT_MUTATION, {
5320
5470
  awaitRefetchQueries: true,
5321
5471
  refetchQueries: (mutationResult) => {
5322
5472
  const region = mutationResult?.data?.removeParticipantFromChat?.region;
@@ -5333,7 +5483,7 @@ var useRemoveParticipantFromChat = () => {
5333
5483
  return { error, loading, removeParticipantFromChat };
5334
5484
  };
5335
5485
  var useToggleChatMessageLike = () => {
5336
- const [toggleChatMessageLike, { loading, error }] = (0, import_client14.useMutation)(TOGGLE_CHAT_MESSAGE_LIKE_MUTATION, {
5486
+ const [toggleChatMessageLike, { loading, error }] = (0, import_client15.useMutation)(TOGGLE_CHAT_MESSAGE_LIKE_MUTATION, {
5337
5487
  awaitRefetchQueries: true,
5338
5488
  refetchQueries: (mutationResult) => {
5339
5489
  const chatId = mutationResult?.data?.toggleChatMessageLike?._id;
@@ -5348,7 +5498,7 @@ var useToggleChatMessageLike = () => {
5348
5498
  return { error, loading, toggleChatMessageLike };
5349
5499
  };
5350
5500
  var useMarkChatMessagesSeen = () => {
5351
- const [markChatMessagesSeen, { loading, error }] = (0, import_client14.useMutation)(MARK_CHAT_MESSAGES_SEEN_MUTATION, {
5501
+ const [markChatMessagesSeen, { loading, error }] = (0, import_client15.useMutation)(MARK_CHAT_MESSAGES_SEEN_MUTATION, {
5352
5502
  awaitRefetchQueries: true,
5353
5503
  refetchQueries: (mutationResult) => {
5354
5504
  const chatId = mutationResult?.data?.markChatMessagesSeen?._id;
@@ -5363,18 +5513,18 @@ var useMarkChatMessagesSeen = () => {
5363
5513
  return { error, loading, markChatMessagesSeen };
5364
5514
  };
5365
5515
  var useReportChatUser = () => {
5366
- const [reportChatUser, { loading, error }] = (0, import_client14.useMutation)(
5516
+ const [reportChatUser, { loading, error }] = (0, import_client15.useMutation)(
5367
5517
  REPORT_CHAT_USER_MUTATION
5368
5518
  );
5369
5519
  return { error, loading, reportChatUser };
5370
5520
  };
5371
5521
 
5372
5522
  // src/graphql/hooks/chat/hooksQuery.ts
5373
- var import_client16 = require("@apollo/client");
5523
+ var import_client17 = require("@apollo/client");
5374
5524
 
5375
5525
  // src/graphql/subscriptions/chat.ts
5376
- var import_client15 = require("@apollo/client");
5377
- var GET_CHAT_MESSAGE = import_client15.gql`
5526
+ var import_client16 = require("@apollo/client");
5527
+ var GET_CHAT_MESSAGE = import_client16.gql`
5378
5528
  subscription {
5379
5529
  getChatMessage {
5380
5530
  ...ChatFields
@@ -5385,7 +5535,7 @@ var GET_CHAT_MESSAGE = import_client15.gql`
5385
5535
 
5386
5536
  // src/graphql/hooks/chat/hooksQuery.ts
5387
5537
  var useGetChat = (_id) => {
5388
- const { loading, error, data, refetch } = (0, import_client16.useQuery)(CHAT, {
5538
+ const { loading, error, data, refetch } = (0, import_client17.useQuery)(CHAT, {
5389
5539
  fetchPolicy: "network-only",
5390
5540
  skip: !_id || _id === "",
5391
5541
  variables: { _id }
@@ -5394,7 +5544,7 @@ var useGetChat = (_id) => {
5394
5544
  return { chat, error, loading, refetch };
5395
5545
  };
5396
5546
  var useGetUserChats = () => {
5397
- const { loading, error, data, refetch } = (0, import_client16.useQuery)(
5547
+ const { loading, error, data, refetch } = (0, import_client17.useQuery)(
5398
5548
  USER_CHATS,
5399
5549
  {
5400
5550
  fetchPolicy: "network-only"
@@ -5404,14 +5554,14 @@ var useGetUserChats = () => {
5404
5554
  return { error, loading, refetch, userChats };
5405
5555
  };
5406
5556
  var useGetChatSubscription = () => {
5407
- const { data, loading, error } = (0, import_client16.useSubscription)(
5557
+ const { data, loading, error } = (0, import_client17.useSubscription)(
5408
5558
  GET_CHAT_MESSAGE
5409
5559
  );
5410
5560
  const chat = data?.getChat;
5411
5561
  return { chat, error, loading };
5412
5562
  };
5413
5563
  var useGetChatsByRegion = (region) => {
5414
- const { loading, error, data, refetch } = (0, import_client16.useQuery)(GET_CHATS_BY_REGION, {
5564
+ const { loading, error, data, refetch } = (0, import_client17.useQuery)(GET_CHATS_BY_REGION, {
5415
5565
  fetchPolicy: "network-only",
5416
5566
  skip: !region || region === "",
5417
5567
  variables: { region }
@@ -5420,7 +5570,7 @@ var useGetChatsByRegion = (region) => {
5420
5570
  return { chatsByRegion, error, loading, refetch };
5421
5571
  };
5422
5572
  var useGetReportedChatUsers = () => {
5423
- const { loading, error, data, refetch } = (0, import_client16.useQuery)(GET_REPORTED_CHAT_USERS, {
5573
+ const { loading, error, data, refetch } = (0, import_client17.useQuery)(GET_REPORTED_CHAT_USERS, {
5424
5574
  fetchPolicy: "network-only"
5425
5575
  });
5426
5576
  const reportedChatUsers = data?.reportedChatUsers || [];
@@ -5428,11 +5578,11 @@ var useGetReportedChatUsers = () => {
5428
5578
  };
5429
5579
 
5430
5580
  // src/graphql/hooks/contactUs.ts
5431
- var import_client18 = require("@apollo/client");
5581
+ var import_client19 = require("@apollo/client");
5432
5582
 
5433
5583
  // src/graphql/mutations/contactUs.ts
5434
- var import_client17 = require("@apollo/client");
5435
- var CONTACT_US_MUTATION = import_client17.gql`
5584
+ var import_client18 = require("@apollo/client");
5585
+ var CONTACT_US_MUTATION = import_client18.gql`
5436
5586
  mutation contactUs($input: ContactUsInputType!) {
5437
5587
  contactUs(input: $input) {
5438
5588
  message
@@ -5442,16 +5592,16 @@ var CONTACT_US_MUTATION = import_client17.gql`
5442
5592
 
5443
5593
  // src/graphql/hooks/contactUs.ts
5444
5594
  var useContactUs = () => {
5445
- const [contactUs, { loading, error }] = (0, import_client18.useMutation)(CONTACT_US_MUTATION);
5595
+ const [contactUs, { loading, error }] = (0, import_client19.useMutation)(CONTACT_US_MUTATION);
5446
5596
  return { contactUs, error, loading };
5447
5597
  };
5448
5598
 
5449
5599
  // src/graphql/hooks/event/hooksMutation.ts
5450
- var import_client21 = require("@apollo/client");
5600
+ var import_client22 = require("@apollo/client");
5451
5601
 
5452
5602
  // src/graphql/mutations/event.ts
5453
- var import_client19 = require("@apollo/client");
5454
- var CREATE_EVENT_MUTATION = import_client19.gql`
5603
+ var import_client20 = require("@apollo/client");
5604
+ var CREATE_EVENT_MUTATION = import_client20.gql`
5455
5605
  mutation createEvent($input: EventInputType!) {
5456
5606
  createEvent(input: $input) {
5457
5607
  ...EventFields
@@ -5459,7 +5609,7 @@ var CREATE_EVENT_MUTATION = import_client19.gql`
5459
5609
  }
5460
5610
  ${EVENT}
5461
5611
  `;
5462
- var UPDATE_EVENT_MUTATION = import_client19.gql`
5612
+ var UPDATE_EVENT_MUTATION = import_client20.gql`
5463
5613
  mutation updateEvent($_id: ID!, $input: EventInputType!) {
5464
5614
  updateEvent(_id: $_id, input: $input) {
5465
5615
  ...EventFields
@@ -5467,12 +5617,12 @@ var UPDATE_EVENT_MUTATION = import_client19.gql`
5467
5617
  }
5468
5618
  ${EVENT}
5469
5619
  `;
5470
- var DELETE_EVENT_MUTATION = import_client19.gql`
5620
+ var DELETE_EVENT_MUTATION = import_client20.gql`
5471
5621
  mutation deleteEvent($_id: ID!) {
5472
5622
  deleteEvent(_id: $_id)
5473
5623
  }
5474
5624
  `;
5475
- var CREATE_EVENT_INFO_MUTATION = import_client19.gql`
5625
+ var CREATE_EVENT_INFO_MUTATION = import_client20.gql`
5476
5626
  mutation createEventInfo($input: EventInfoInputType!) {
5477
5627
  createEventInfo(input: $input) {
5478
5628
  ...EventInfoFields
@@ -5480,7 +5630,7 @@ var CREATE_EVENT_INFO_MUTATION = import_client19.gql`
5480
5630
  }
5481
5631
  ${EVENT_INFO}
5482
5632
  `;
5483
- var UPDATE_EVENT_INFO_MUTATION = import_client19.gql`
5633
+ var UPDATE_EVENT_INFO_MUTATION = import_client20.gql`
5484
5634
  mutation updateEventInfo($_id: ID!, $input: EventInfoInputType!) {
5485
5635
  updateEventInfo(_id: $_id, input: $input) {
5486
5636
  ...EventInfoFields
@@ -5490,8 +5640,8 @@ var UPDATE_EVENT_INFO_MUTATION = import_client19.gql`
5490
5640
  `;
5491
5641
 
5492
5642
  // src/graphql/queries/user.ts
5493
- var import_client20 = require("@apollo/client");
5494
- var GET_USERS = import_client20.gql`
5643
+ var import_client21 = require("@apollo/client");
5644
+ var GET_USERS = import_client21.gql`
5495
5645
  query getUsers {
5496
5646
  users {
5497
5647
  ...UserFields
@@ -5499,7 +5649,7 @@ var GET_USERS = import_client20.gql`
5499
5649
  }
5500
5650
  ${USER_FIELDS_FRAGMENT}
5501
5651
  `;
5502
- var GET_USER = import_client20.gql`
5652
+ var GET_USER = import_client21.gql`
5503
5653
  query getUser($_id: ID!) {
5504
5654
  user(_id: $_id) {
5505
5655
  ...UserFields
@@ -5507,7 +5657,7 @@ var GET_USER = import_client20.gql`
5507
5657
  }
5508
5658
  ${USER_FIELDS_FRAGMENT}
5509
5659
  `;
5510
- var GET_USER_EVENTS = import_client20.gql`
5660
+ var GET_USER_EVENTS = import_client21.gql`
5511
5661
  query getUserEvents {
5512
5662
  userEvents {
5513
5663
  ...EventFields
@@ -5515,7 +5665,7 @@ var GET_USER_EVENTS = import_client20.gql`
5515
5665
  }
5516
5666
  ${EVENT}
5517
5667
  `;
5518
- var GET_USER_VENDORS = import_client20.gql`
5668
+ var GET_USER_VENDORS = import_client21.gql`
5519
5669
  query getUserVendors {
5520
5670
  userVendors {
5521
5671
  ...VendorFields
@@ -5523,7 +5673,7 @@ var GET_USER_VENDORS = import_client20.gql`
5523
5673
  }
5524
5674
  ${VENDOR}
5525
5675
  `;
5526
- var GET_USER_PARTNERS = import_client20.gql`
5676
+ var GET_USER_PARTNERS = import_client21.gql`
5527
5677
  query getUserPartners {
5528
5678
  userPartners {
5529
5679
  ...PartnerFields
@@ -5531,7 +5681,7 @@ var GET_USER_PARTNERS = import_client20.gql`
5531
5681
  }
5532
5682
  ${PARTNER}
5533
5683
  `;
5534
- var GET_USER_ACTIVITIES = import_client20.gql`
5684
+ var GET_USER_ACTIVITIES = import_client21.gql`
5535
5685
  query getUserActivities {
5536
5686
  userActivities {
5537
5687
  favourites {
@@ -5566,7 +5716,7 @@ var GET_USER_ACTIVITIES = import_client20.gql`
5566
5716
  ${VENDOR}
5567
5717
  ${PARTNER}
5568
5718
  `;
5569
- var GET_USER_RESOURCES = import_client20.gql`
5719
+ var GET_USER_RESOURCES = import_client21.gql`
5570
5720
  query getUserResources($userId: ID!) {
5571
5721
  userResources(userId: $userId) {
5572
5722
  resources {
@@ -5581,14 +5731,14 @@ var GET_USER_RESOURCES = import_client20.gql`
5581
5731
 
5582
5732
  // src/graphql/hooks/event/hooksMutation.ts
5583
5733
  var useCreateEvent = () => {
5584
- const [createEvent, { loading, error }] = (0, import_client21.useMutation)(CREATE_EVENT_MUTATION, {
5734
+ const [createEvent, { loading, error }] = (0, import_client22.useMutation)(CREATE_EVENT_MUTATION, {
5585
5735
  awaitRefetchQueries: true,
5586
5736
  refetchQueries: [{ query: GET_USER_EVENTS }]
5587
5737
  });
5588
5738
  return { createEvent, error, loading };
5589
5739
  };
5590
5740
  var useUpdateEvent = () => {
5591
- const [updateEvent, { loading, error }] = (0, import_client21.useMutation)(UPDATE_EVENT_MUTATION, {
5741
+ const [updateEvent, { loading, error }] = (0, import_client22.useMutation)(UPDATE_EVENT_MUTATION, {
5592
5742
  awaitRefetchQueries: true,
5593
5743
  refetchQueries: (mutationResult) => {
5594
5744
  const eventId = mutationResult?.data?.updateEvent?._id;
@@ -5611,14 +5761,14 @@ var useUpdateEvent = () => {
5611
5761
  return { error, loading, updateEvent };
5612
5762
  };
5613
5763
  var useDeleteEvent = () => {
5614
- const [deleteEvent, { loading, error }] = (0, import_client21.useMutation)(DELETE_EVENT_MUTATION, {
5764
+ const [deleteEvent, { loading, error }] = (0, import_client22.useMutation)(DELETE_EVENT_MUTATION, {
5615
5765
  awaitRefetchQueries: true,
5616
5766
  refetchQueries: [{ query: GET_USER_EVENTS }]
5617
5767
  });
5618
5768
  return { deleteEvent, error, loading };
5619
5769
  };
5620
5770
  var useCreateEventInfo = () => {
5621
- const [createEventInfo, { loading, error }] = (0, import_client21.useMutation)(CREATE_EVENT_INFO_MUTATION, {
5771
+ const [createEventInfo, { loading, error }] = (0, import_client22.useMutation)(CREATE_EVENT_INFO_MUTATION, {
5622
5772
  awaitRefetchQueries: true,
5623
5773
  refetchQueries: (mutationResult) => {
5624
5774
  const eventId = mutationResult?.data?.createEventInfo?.eventId;
@@ -5642,7 +5792,7 @@ var useCreateEventInfo = () => {
5642
5792
  return { createEventInfo, error, loading };
5643
5793
  };
5644
5794
  var useUpdateEventInfo = () => {
5645
- const [updateEventInfo, { loading, error }] = (0, import_client21.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
5795
+ const [updateEventInfo, { loading, error }] = (0, import_client22.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
5646
5796
  awaitRefetchQueries: true,
5647
5797
  refetchQueries: (mutationResult) => {
5648
5798
  const eventId = mutationResult?.data?.updateEventInfo?.eventId;
@@ -5666,9 +5816,9 @@ var useUpdateEventInfo = () => {
5666
5816
  };
5667
5817
 
5668
5818
  // src/graphql/hooks/event/hooksQuery.ts
5669
- var import_client22 = require("@apollo/client");
5819
+ var import_client23 = require("@apollo/client");
5670
5820
  var useGetEvents = (dateStatus) => {
5671
- const { loading, error, data, refetch } = (0, import_client22.useQuery)(GET_EVENTS, {
5821
+ const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENTS, {
5672
5822
  fetchPolicy: "network-only",
5673
5823
  variables: { dateStatus }
5674
5824
  });
@@ -5676,7 +5826,7 @@ var useGetEvents = (dateStatus) => {
5676
5826
  return { error, events, loading, refetch };
5677
5827
  };
5678
5828
  var useGetEvent = (_id) => {
5679
- const { loading, error, data, refetch } = (0, import_client22.useQuery)(GET_EVENT, {
5829
+ const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENT, {
5680
5830
  fetchPolicy: "network-only",
5681
5831
  skip: !_id,
5682
5832
  variables: { _id }
@@ -5685,7 +5835,7 @@ var useGetEvent = (_id) => {
5685
5835
  return { error, event, loading, refetch };
5686
5836
  };
5687
5837
  var useGetEventByPlaceId = (googlePlaceId) => {
5688
- const { loading, error, data, refetch } = (0, import_client22.useQuery)(GET_EVENT_BY_PLACE_ID, {
5838
+ const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENT_BY_PLACE_ID, {
5689
5839
  fetchPolicy: "network-only",
5690
5840
  skip: !googlePlaceId,
5691
5841
  variables: { googlePlaceId }
@@ -5699,7 +5849,7 @@ var useGetEventsByRegion = (region, options, dateStatus) => {
5699
5849
  options,
5700
5850
  region
5701
5851
  };
5702
- const { loading, error, data, refetch, fetchMore } = (0, import_client22.useQuery)(GET_EVENTS_BY_REGION, {
5852
+ const { loading, error, data, refetch, fetchMore } = (0, import_client23.useQuery)(GET_EVENTS_BY_REGION, {
5703
5853
  fetchPolicy: "network-only",
5704
5854
  skip: !region || region === "",
5705
5855
  variables
@@ -5717,7 +5867,7 @@ var useSearchEvents = (region, searchQuery, tags, dateStatus) => {
5717
5867
  const normalizedSearch = searchQuery?.trim() ?? "";
5718
5868
  const normalizedTags = (tags ?? []).filter(Boolean);
5719
5869
  const shouldRunQuery = Boolean(region?.trim()) && (normalizedSearch.length > 3 || normalizedTags.length > 0);
5720
- const { loading, error, data, refetch } = (0, import_client22.useQuery)(SEARCH_EVENTS, {
5870
+ const { loading, error, data, refetch } = (0, import_client23.useQuery)(SEARCH_EVENTS, {
5721
5871
  fetchPolicy: "network-only",
5722
5872
  skip: !shouldRunQuery,
5723
5873
  variables: {
@@ -5735,7 +5885,7 @@ var useSearchEvents = (region, searchQuery, tags, dateStatus) => {
5735
5885
  };
5736
5886
  };
5737
5887
  var useGetEventsNearMe = (location, dateStatus) => {
5738
- const { loading, error, data, refetch } = (0, import_client22.useQuery)(GET_EVENTS_NEAR_ME, {
5888
+ const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENTS_NEAR_ME, {
5739
5889
  fetchPolicy: "network-only",
5740
5890
  skip: !location.latitude || !location.longitude,
5741
5891
  variables: {
@@ -5750,7 +5900,7 @@ var useGetEventsNearMe = (location, dateStatus) => {
5750
5900
  return { error, eventsNearMe, loading, refetch };
5751
5901
  };
5752
5902
  var useGetEventInfo = (eventId) => {
5753
- const { loading, error, data, refetch } = (0, import_client22.useQuery)(GET_EVENT_INFO, {
5903
+ const { loading, error, data, refetch } = (0, import_client23.useQuery)(GET_EVENT_INFO, {
5754
5904
  fetchPolicy: "network-only",
5755
5905
  skip: !eventId || eventId === "",
5756
5906
  variables: { eventId }
@@ -5760,14 +5910,14 @@ var useGetEventInfo = (eventId) => {
5760
5910
  };
5761
5911
 
5762
5912
  // src/graphql/hooks/notifications/hooksMutation.ts
5763
- var import_client25 = require("@apollo/client");
5913
+ var import_client26 = require("@apollo/client");
5764
5914
 
5765
5915
  // src/graphql/mutations/notification.ts
5766
- var import_client24 = require("@apollo/client");
5916
+ var import_client25 = require("@apollo/client");
5767
5917
 
5768
5918
  // src/graphql/queries/notification.ts
5769
- var import_client23 = require("@apollo/client");
5770
- var NOTIFICATION_FRAGMENT = import_client23.gql`
5919
+ var import_client24 = require("@apollo/client");
5920
+ var NOTIFICATION_FRAGMENT = import_client24.gql`
5771
5921
  fragment NotificationFields on Notification {
5772
5922
  _id
5773
5923
  userId
@@ -5784,7 +5934,7 @@ var NOTIFICATION_FRAGMENT = import_client23.gql`
5784
5934
  updatedAt
5785
5935
  }
5786
5936
  `;
5787
- var GET_USER_NOTIFICATIONS = import_client23.gql`
5937
+ var GET_USER_NOTIFICATIONS = import_client24.gql`
5788
5938
  query getUserNotifications($limit: Int, $offset: Int) {
5789
5939
  userNotifications(limit: $limit, offset: $offset) {
5790
5940
  ...NotificationFields
@@ -5792,7 +5942,7 @@ var GET_USER_NOTIFICATIONS = import_client23.gql`
5792
5942
  }
5793
5943
  ${NOTIFICATION_FRAGMENT}
5794
5944
  `;
5795
- var GET_NOTIFICATION_COUNT = import_client23.gql`
5945
+ var GET_NOTIFICATION_COUNT = import_client24.gql`
5796
5946
  query getNotificationCount {
5797
5947
  notificationCount {
5798
5948
  total
@@ -5802,7 +5952,7 @@ var GET_NOTIFICATION_COUNT = import_client23.gql`
5802
5952
  `;
5803
5953
 
5804
5954
  // src/graphql/mutations/notification.ts
5805
- var CREATE_BULK_NOTIFICATIONS = import_client24.gql`
5955
+ var CREATE_BULK_NOTIFICATIONS = import_client25.gql`
5806
5956
  mutation createBulkNotifications($input: CreateBulkNotificationInput!) {
5807
5957
  createBulkNotifications(input: $input) {
5808
5958
  ...NotificationFields
@@ -5810,7 +5960,7 @@ var CREATE_BULK_NOTIFICATIONS = import_client24.gql`
5810
5960
  }
5811
5961
  ${NOTIFICATION_FRAGMENT}
5812
5962
  `;
5813
- var MARK_NOTIFICATION_READ = import_client24.gql`
5963
+ var MARK_NOTIFICATION_READ = import_client25.gql`
5814
5964
  mutation markNotificationRead($_id: ID!) {
5815
5965
  markNotificationRead(_id: $_id) {
5816
5966
  ...NotificationFields
@@ -5818,17 +5968,17 @@ var MARK_NOTIFICATION_READ = import_client24.gql`
5818
5968
  }
5819
5969
  ${NOTIFICATION_FRAGMENT}
5820
5970
  `;
5821
- var MARK_ALL_NOTIFICATIONS_READ = import_client24.gql`
5971
+ var MARK_ALL_NOTIFICATIONS_READ = import_client25.gql`
5822
5972
  mutation markAllNotificationsRead {
5823
5973
  markAllNotificationsRead
5824
5974
  }
5825
5975
  `;
5826
- var DELETE_NOTIFICATION = import_client24.gql`
5976
+ var DELETE_NOTIFICATION = import_client25.gql`
5827
5977
  mutation deleteNotification($_id: ID!) {
5828
5978
  deleteNotification(_id: $_id)
5829
5979
  }
5830
5980
  `;
5831
- var DELETE_ALL_NOTIFICATIONS = import_client24.gql`
5981
+ var DELETE_ALL_NOTIFICATIONS = import_client25.gql`
5832
5982
  mutation deleteAllNotifications {
5833
5983
  deleteAllNotifications
5834
5984
  }
@@ -5836,13 +5986,13 @@ var DELETE_ALL_NOTIFICATIONS = import_client24.gql`
5836
5986
 
5837
5987
  // src/graphql/hooks/notifications/hooksMutation.ts
5838
5988
  var useCreateBulkNotifications = () => {
5839
- const [createBulkNotifications, { loading, error }] = (0, import_client25.useMutation)(
5989
+ const [createBulkNotifications, { loading, error }] = (0, import_client26.useMutation)(
5840
5990
  CREATE_BULK_NOTIFICATIONS
5841
5991
  );
5842
5992
  return { createBulkNotifications, error, loading };
5843
5993
  };
5844
5994
  var useMarkNotificationRead = () => {
5845
- const [markNotificationRead, { loading, error }] = (0, import_client25.useMutation)(
5995
+ const [markNotificationRead, { loading, error }] = (0, import_client26.useMutation)(
5846
5996
  MARK_NOTIFICATION_READ,
5847
5997
  {
5848
5998
  refetchQueries: [
@@ -5858,7 +6008,7 @@ var useMarkNotificationRead = () => {
5858
6008
  return { error, loading, markNotificationRead };
5859
6009
  };
5860
6010
  var useMarkAllNotificationsRead = () => {
5861
- const [markAllNotificationsRead, { loading, error }] = (0, import_client25.useMutation)(
6011
+ const [markAllNotificationsRead, { loading, error }] = (0, import_client26.useMutation)(
5862
6012
  MARK_ALL_NOTIFICATIONS_READ,
5863
6013
  {
5864
6014
  refetchQueries: [
@@ -5874,7 +6024,7 @@ var useMarkAllNotificationsRead = () => {
5874
6024
  return { error, loading, markAllNotificationsRead };
5875
6025
  };
5876
6026
  var useDeleteNotification = () => {
5877
- const [deleteNotification, { loading, error }] = (0, import_client25.useMutation)(
6027
+ const [deleteNotification, { loading, error }] = (0, import_client26.useMutation)(
5878
6028
  DELETE_NOTIFICATION,
5879
6029
  {
5880
6030
  refetchQueries: [
@@ -5890,7 +6040,7 @@ var useDeleteNotification = () => {
5890
6040
  return { deleteNotification, error, loading };
5891
6041
  };
5892
6042
  var useDeleteAllNotifications = () => {
5893
- const [deleteAllNotifications, { loading, error }] = (0, import_client25.useMutation)(
6043
+ const [deleteAllNotifications, { loading, error }] = (0, import_client26.useMutation)(
5894
6044
  DELETE_ALL_NOTIFICATIONS,
5895
6045
  {
5896
6046
  refetchQueries: [
@@ -5907,9 +6057,9 @@ var useDeleteAllNotifications = () => {
5907
6057
  };
5908
6058
 
5909
6059
  // src/graphql/hooks/notifications/hooksQuery.ts
5910
- var import_client26 = require("@apollo/client");
6060
+ var import_client27 = require("@apollo/client");
5911
6061
  var useGetUserNotifications = (limit, offset) => {
5912
- const { data, loading, error, refetch } = (0, import_client26.useQuery)(GET_USER_NOTIFICATIONS, {
6062
+ const { data, loading, error, refetch } = (0, import_client27.useQuery)(GET_USER_NOTIFICATIONS, {
5913
6063
  fetchPolicy: "no-cache",
5914
6064
  variables: { limit, offset }
5915
6065
  });
@@ -5921,7 +6071,7 @@ var useGetUserNotifications = (limit, offset) => {
5921
6071
  };
5922
6072
  };
5923
6073
  var useGetNotificationCount = () => {
5924
- const { data, loading, error, refetch } = (0, import_client26.useQuery)(GET_NOTIFICATION_COUNT, {
6074
+ const { data, loading, error, refetch } = (0, import_client27.useQuery)(GET_NOTIFICATION_COUNT, {
5925
6075
  fetchPolicy: "no-cache"
5926
6076
  });
5927
6077
  return {
@@ -5933,11 +6083,11 @@ var useGetNotificationCount = () => {
5933
6083
  };
5934
6084
 
5935
6085
  // src/graphql/hooks/notifications/hooksSubscription.ts
5936
- var import_client28 = require("@apollo/client");
6086
+ var import_client29 = require("@apollo/client");
5937
6087
 
5938
6088
  // src/graphql/subscriptions/notification.ts
5939
- var import_client27 = require("@apollo/client");
5940
- var GET_NOTIFICATIONS_SUBSCRIPTION = import_client27.gql`
6089
+ var import_client28 = require("@apollo/client");
6090
+ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client28.gql`
5941
6091
  subscription {
5942
6092
  getUserNotifications {
5943
6093
  ...NotificationFields
@@ -5945,7 +6095,7 @@ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client27.gql`
5945
6095
  }
5946
6096
  ${NOTIFICATION_FRAGMENT}
5947
6097
  `;
5948
- var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client27.gql`
6098
+ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client28.gql`
5949
6099
  subscription {
5950
6100
  getNotificationCount {
5951
6101
  total
@@ -5956,7 +6106,7 @@ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client27.gql`
5956
6106
 
5957
6107
  // src/graphql/hooks/notifications/hooksSubscription.ts
5958
6108
  var useGetUserNotificationsSubscription = () => {
5959
- const { data, loading, error } = (0, import_client28.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
6109
+ const { data, loading, error } = (0, import_client29.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
5960
6110
  fetchPolicy: "no-cache",
5961
6111
  shouldResubscribe: true
5962
6112
  });
@@ -5967,7 +6117,7 @@ var useGetUserNotificationsSubscription = () => {
5967
6117
  };
5968
6118
  };
5969
6119
  var useGetNotificationCountSubscription = () => {
5970
- const { data, loading, error } = (0, import_client28.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
6120
+ const { data, loading, error } = (0, import_client29.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
5971
6121
  fetchPolicy: "no-cache",
5972
6122
  shouldResubscribe: true
5973
6123
  });
@@ -5979,11 +6129,11 @@ var useGetNotificationCountSubscription = () => {
5979
6129
  };
5980
6130
 
5981
6131
  // src/graphql/hooks/poster.ts
5982
- var import_client30 = require("@apollo/client");
6132
+ var import_client31 = require("@apollo/client");
5983
6133
 
5984
6134
  // src/graphql/mutations/poster.ts
5985
- var import_client29 = require("@apollo/client");
5986
- var CREATE_POSTER_MUTATION = import_client29.gql`
6135
+ var import_client30 = require("@apollo/client");
6136
+ var CREATE_POSTER_MUTATION = import_client30.gql`
5987
6137
  mutation createPoster($input: PosterInputType!) {
5988
6138
  createPoster(input: $input) {
5989
6139
  message
@@ -5997,7 +6147,7 @@ var CREATE_POSTER_MUTATION = import_client29.gql`
5997
6147
 
5998
6148
  // src/graphql/hooks/poster.ts
5999
6149
  var useCreatePoster = () => {
6000
- const [createPoster, { loading, error }] = (0, import_client30.useMutation)(
6150
+ const [createPoster, { loading, error }] = (0, import_client31.useMutation)(
6001
6151
  CREATE_POSTER_MUTATION,
6002
6152
  {
6003
6153
  refetchQueries: [{ query: GET_USER_EVENTS }, { query: GET_USER_VENDORS }]
@@ -6007,11 +6157,11 @@ var useCreatePoster = () => {
6007
6157
  };
6008
6158
 
6009
6159
  // src/graphql/hooks/pushToken.ts
6010
- var import_client32 = require("@apollo/client");
6160
+ var import_client33 = require("@apollo/client");
6011
6161
 
6012
6162
  // src/graphql/mutations/pushToken.ts
6013
- var import_client31 = require("@apollo/client");
6014
- var CREATE_PUSH_TOKEN_MUTATION = import_client31.gql`
6163
+ var import_client32 = require("@apollo/client");
6164
+ var CREATE_PUSH_TOKEN_MUTATION = import_client32.gql`
6015
6165
  mutation createPushToken($input: PushTokenInput!) {
6016
6166
  createPushToken(input: $input) {
6017
6167
  success
@@ -6021,7 +6171,7 @@ var CREATE_PUSH_TOKEN_MUTATION = import_client31.gql`
6021
6171
 
6022
6172
  // src/graphql/hooks/pushToken.ts
6023
6173
  var useCreatePushToken = () => {
6024
- const [createPushToken, { loading, error }] = (0, import_client32.useMutation)(
6174
+ const [createPushToken, { loading, error }] = (0, import_client33.useMutation)(
6025
6175
  CREATE_PUSH_TOKEN_MUTATION
6026
6176
  );
6027
6177
  return { createPushToken, error, loading };
@@ -6032,77 +6182,6 @@ var import_client35 = require("@apollo/client");
6032
6182
 
6033
6183
  // src/graphql/mutations/relation.ts
6034
6184
  var import_client34 = require("@apollo/client");
6035
-
6036
- // src/graphql/queries/relation.ts
6037
- var import_client33 = require("@apollo/client");
6038
- var RELATION_FIELDS_FRAGMENT = import_client33.gql`
6039
- fragment RelationFields on RelationType {
6040
- _id
6041
- active
6042
- chatId
6043
- createdAt
6044
- lastUpdateBy
6045
- eventId
6046
- relationDates {
6047
- ...RelationDates
6048
- }
6049
- relationType
6050
- vendorId
6051
- updatedAt
6052
- }
6053
- ${RELATION_DATES_FRAGMENT}
6054
- `;
6055
- var GET_RELATION = import_client33.gql`
6056
- query getRelation($_id: ID!) {
6057
- relation(_id: $_id) {
6058
- ...RelationFields
6059
- }
6060
- }
6061
- ${RELATION_FIELDS_FRAGMENT}
6062
- `;
6063
- var GET_RELATION_BY_EVENT_AND_VENDOR = import_client33.gql`
6064
- query getRelationByEventAndVendor($eventId: ID!, $vendorId: ID!) {
6065
- relationByEventAndVendor(eventId: $eventId, vendorId: $vendorId) {
6066
- ...RelationFields
6067
- }
6068
- }
6069
- ${RELATION_FIELDS_FRAGMENT}
6070
- `;
6071
- var GET_EVENT_RELATIONS = import_client33.gql`
6072
- query getEventRelations($eventId: ID!) {
6073
- eventRelations(eventId: $eventId) {
6074
- ...RelationFields
6075
- }
6076
- }
6077
- ${RELATION_FIELDS_FRAGMENT}
6078
- `;
6079
- var GET_VENDOR_RELATIONS = import_client33.gql`
6080
- query getVendorRelations($vendorId: ID!) {
6081
- vendorRelations(vendorId: $vendorId) {
6082
- ...RelationFields
6083
- }
6084
- }
6085
- ${RELATION_FIELDS_FRAGMENT}
6086
- `;
6087
- var GET_RESOURCE_CONNECTIONS = import_client33.gql`
6088
- query getResourceConnections(
6089
- $resourceId: ID!
6090
- $resourceType: ResourceTypeEnum!
6091
- ) {
6092
- resourceConnections(resourceId: $resourceId, resourceType: $resourceType) {
6093
- events {
6094
- ...EventListItemFields
6095
- }
6096
- vendors {
6097
- ...VendorFields
6098
- }
6099
- }
6100
- }
6101
- ${VENDOR}
6102
- ${EVENT_LIST_ITEM}
6103
- `;
6104
-
6105
- // src/graphql/mutations/relation.ts
6106
6185
  var CREATE_RELATION_MUTATION = import_client34.gql`
6107
6186
  mutation createRelation($input: RelationInputType!) {
6108
6187
  createRelation(input: $input) {
@@ -8492,11 +8571,13 @@ var fonts = {
8492
8571
  GET_EVENT_INFO,
8493
8572
  GET_PARTNER,
8494
8573
  GET_POST,
8574
+ GET_RESOURCE_CONNECTIONS,
8495
8575
  GET_VENDOR,
8496
8576
  GET_VENDOR_INFO,
8497
8577
  IMAGE_EXTENSION,
8498
8578
  IOS_URL,
8499
8579
  ImageTypeEnum,
8580
+ KNOWN_EVENT_SCHEDULE_STATUSES,
8500
8581
  OG_DESCRIPTION_LINE_BREAK,
8501
8582
  POST_SHARE_RESOURCE_TYPES,
8502
8583
  PROMO_CODE_PREFIX,
@@ -8550,6 +8631,7 @@ var fonts = {
8550
8631
  badgeIds,
8551
8632
  badges,
8552
8633
  buildApplicationShareDescription,
8634
+ buildCalendarSheetContentData,
8553
8635
  buildFacebookShareQuote,
8554
8636
  buildInvitationShareDescription,
8555
8637
  buildPublicEventShareDescription,
@@ -8578,6 +8660,7 @@ var fonts = {
8578
8660
  eventMatchesDateStatusPeriod,
8579
8661
  eventStartDateFields,
8580
8662
  filterEventsByDateStatusPeriod,
8663
+ findEventDateTimeByIsoDate,
8581
8664
  fonts,
8582
8665
  foodFlavourOptions,
8583
8666
  formatCategoryLabel,
@@ -8596,11 +8679,16 @@ var fonts = {
8596
8679
  formatShareTagsSection,
8597
8680
  formatStallCapacityLabel,
8598
8681
  formatTimestamp,
8682
+ fromCalendarIsoDate,
8599
8683
  futureTimePeriods,
8600
8684
  gameScreenIdentifierList,
8601
8685
  gameTypeToDisplayName,
8602
8686
  getAllowedEventDateStatuses,
8603
8687
  getCurrentAndFutureDates,
8688
+ getEventCalendarIsoDates,
8689
+ getEventScheduleStatusLabel,
8690
+ getEventScheduleStatusPresentation,
8691
+ getEventScheduleStatusTone,
8604
8692
  iconFiles,
8605
8693
  iconIds,
8606
8694
  icons,
@@ -8644,6 +8732,7 @@ var fonts = {
8644
8732
  rewardNiceNames,
8645
8733
  seededShuffle,
8646
8734
  shareMessageFooterPlacementForType,
8735
+ shouldShowEventActionsWithWeather,
8647
8736
  socialMediaFields,
8648
8737
  sortDatesChronologically,
8649
8738
  splitShareDescriptionSections,
@@ -8651,6 +8740,7 @@ var fonts = {
8651
8740
  statusOptions,
8652
8741
  tagOptions,
8653
8742
  timeFormat,
8743
+ toCalendarIsoDate,
8654
8744
  toGraphqlQueryString,
8655
8745
  toNZTime,
8656
8746
  truncateText,