"use strict";Object.defineProperty(exports, "__esModule", {value: true});// tmp-babel/messages/web/__shared__/constants.js
var _zod = require('zod');
function _typeof(o) {
  "@babel/helpers - typeof";
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
    return typeof o2;
  } : function(o2) {
    return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
  }, _typeof(o);
}
function _defineProperty(e, r, t) {
  return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e;
}
function _toPropertyKey(t) {
  var i = _toPrimitive(t, "string");
  return "symbol" == _typeof(i) ? i : i + "";
}
function _toPrimitive(t, r) {
  if ("object" != _typeof(t) || !t) return t;
  var e = t[Symbol.toPrimitive];
  if (void 0 !== e) {
    var i = e.call(t, r || "default");
    if ("object" != _typeof(i)) return i;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return ("string" === r ? String : Number)(t);
}
var CREATE_OR_EDIT_GROUP_FORM_VALUE = {
  title: "title",
  participants: "participants",
  addParticipants: "addParticipants",
  removeParticipants: "removeParticipants",
  image: "image"
};
var DEFAULT_CREATE_OR_EDIT_GROUP_FORM_VALUE = {
  title: "",
  addParticipants: [],
  participants: [],
  removeParticipants: [],
  image: ""
};
var DEFAULT_CREATE_OR_EDIT_GROUP_FORM_VALIDATION = _zod.z.object(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, CREATE_OR_EDIT_GROUP_FORM_VALUE.title, _zod.z.string().min(1, {
  message: "Please enter a title"
}).max(20, {
  message: "Title can't be more than 20 characters"
})), CREATE_OR_EDIT_GROUP_FORM_VALUE.addParticipants, _zod.z.array(_zod.z.any())), CREATE_OR_EDIT_GROUP_FORM_VALUE.participants, _zod.z.array(_zod.z.any()).min(1, {
  message: "Please select at least one member"
})), CREATE_OR_EDIT_GROUP_FORM_VALUE.removeParticipants, _zod.z.array(_zod.z.any())), CREATE_OR_EDIT_GROUP_FORM_VALUE.image, _zod.z.any()));





exports.CREATE_OR_EDIT_GROUP_FORM_VALUE = CREATE_OR_EDIT_GROUP_FORM_VALUE; exports.DEFAULT_CREATE_OR_EDIT_GROUP_FORM_VALUE = DEFAULT_CREATE_OR_EDIT_GROUP_FORM_VALUE; exports.DEFAULT_CREATE_OR_EDIT_GROUP_FORM_VALIDATION = DEFAULT_CREATE_OR_EDIT_GROUP_FORM_VALIDATION;
//# sourceMappingURL=chunk-NWQ2TTZQ.js.map