oraculo-ui 0.1.11 → 0.1.12

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 (64) hide show
  1. package/dist/OraculoSeccionBonoBienvenida-4ZHLRFV2.css +221 -0
  2. package/dist/OraculoSeccionBonoBienvenida-4ZHLRFV2.css.map +1 -0
  3. package/dist/OraculoSeccionBonoBienvenida-6L54EBL3.mjs +9 -0
  4. package/dist/OraculoSeccionBonoBienvenida-6L54EBL3.mjs.map +1 -0
  5. package/dist/OraculoSeccionCasino-CPSKAAFH.css +398 -0
  6. package/dist/OraculoSeccionCasino-CPSKAAFH.css.map +1 -0
  7. package/dist/OraculoSeccionCasino-FHD2WBDU.mjs +13 -0
  8. package/dist/OraculoSeccionCasino-FHD2WBDU.mjs.map +1 -0
  9. package/dist/{OraculoSeccionCasino-H6CXFXMN.mjs → OraculoSeccionCasino-ORWFZCMV.mjs} +1 -1
  10. package/dist/OraculoSeccionCasinoEnVivo-7W64K4YQ.css +157 -0
  11. package/dist/OraculoSeccionCasinoEnVivo-7W64K4YQ.css.map +1 -0
  12. package/dist/OraculoSeccionCasinoEnVivo-EPVIACRV.mjs +9 -0
  13. package/dist/OraculoSeccionCasinoEnVivo-EPVIACRV.mjs.map +1 -0
  14. package/dist/OraculoSeccionClubOlimpo-63QCT4A2.mjs +10 -0
  15. package/dist/OraculoSeccionClubOlimpo-63QCT4A2.mjs.map +1 -0
  16. package/dist/OraculoSeccionClubOlimpo-BLUJXLUC.mjs +8 -0
  17. package/dist/OraculoSeccionClubOlimpo-BLUJXLUC.mjs.map +1 -0
  18. package/dist/OraculoSeccionClubOlimpo-F2AFK4G3.css +274 -0
  19. package/dist/OraculoSeccionClubOlimpo-F2AFK4G3.css.map +1 -0
  20. package/dist/OraculoSeccionClubOlimpo-ZCBMTUL3.css +117 -0
  21. package/dist/OraculoSeccionClubOlimpo-ZCBMTUL3.css.map +1 -0
  22. package/dist/OraculoSeccionDestacados-5RFVEBFL.mjs +13 -0
  23. package/dist/OraculoSeccionDestacados-5RFVEBFL.mjs.map +1 -0
  24. package/dist/{OraculoSeccionDestacados-EPL4KZCF.mjs → OraculoSeccionDestacados-6D4LKX4H.mjs} +1 -1
  25. package/dist/OraculoSeccionDestacados-AMMYUK67.css +398 -0
  26. package/dist/OraculoSeccionDestacados-AMMYUK67.css.map +1 -0
  27. package/dist/OraculoSeccionTopJuegos-K6CHEKEP.mjs +13 -0
  28. package/dist/OraculoSeccionTopJuegos-K6CHEKEP.mjs.map +1 -0
  29. package/dist/{OraculoSeccionTopJuegos-DWEO36ND.mjs → OraculoSeccionTopJuegos-LEFQWP7T.mjs} +1 -1
  30. package/dist/OraculoSeccionTopJuegos-XBGNNR6G.css +398 -0
  31. package/dist/OraculoSeccionTopJuegos-XBGNNR6G.css.map +1 -0
  32. package/dist/{OraculoSeccionVirtuales-IBYOMEJV.mjs → OraculoSeccionVirtuales-FKHGLEVT.mjs} +1 -1
  33. package/dist/OraculoSeccionVirtuales-NEIWD2BT.mjs +13 -0
  34. package/dist/OraculoSeccionVirtuales-NEIWD2BT.mjs.map +1 -0
  35. package/dist/OraculoSeccionVirtuales-SSM6EDST.css +398 -0
  36. package/dist/OraculoSeccionVirtuales-SSM6EDST.css.map +1 -0
  37. package/dist/chunk-FIOWVLJP.mjs +7 -0
  38. package/dist/chunk-FIOWVLJP.mjs.map +1 -0
  39. package/dist/{chunk-ECHAXSTL.mjs → chunk-FROEVP3X.mjs} +314 -1114
  40. package/dist/chunk-IGAIIVJZ.mjs +74 -0
  41. package/dist/chunk-IGAIIVJZ.mjs.map +1 -0
  42. package/dist/chunk-MC4XEBI3.mjs +1277 -0
  43. package/dist/chunk-MC4XEBI3.mjs.map +1 -0
  44. package/dist/chunk-PYHDJZX3.mjs +476 -0
  45. package/dist/chunk-PYHDJZX3.mjs.map +1 -0
  46. package/dist/chunk-THUJNRMX.mjs +119 -0
  47. package/dist/chunk-THUJNRMX.mjs.map +1 -0
  48. package/dist/chunk-WTK2IT5O.mjs +250 -0
  49. package/dist/chunk-WTK2IT5O.mjs.map +1 -0
  50. package/dist/chunk-XNMUIY72.mjs +10 -0
  51. package/dist/chunk-XNMUIY72.mjs.map +1 -0
  52. package/dist/index.css.map +1 -0
  53. package/dist/index.d.mts +3 -0
  54. package/dist/index.d.ts +3 -0
  55. package/dist/index.js +300 -1060
  56. package/dist/index.js.map +1 -0
  57. package/dist/index.mjs +1 -1
  58. package/dist/index.mjs.map +1 -0
  59. package/package.json +1 -1
  60. package/dist/OraculoSeccionCasino-WBPCNYC5.mjs +0 -12
  61. package/dist/OraculoSeccionDestacados-IMREYQ6W.mjs +0 -12
  62. package/dist/OraculoSeccionTopJuegos-FKAD2YD3.mjs +0 -12
  63. package/dist/OraculoSeccionVirtuales-N2ETKRK7.mjs +0 -12
  64. package/dist/chunk-VYYKDD5L.mjs +0 -39899
@@ -1006,8 +1006,8 @@ var require_service_config = __commonJS({
1006
1006
  if (!("name" in obj) || !Array.isArray(obj.name)) {
1007
1007
  throw new Error("Invalid method config: invalid name array");
1008
1008
  }
1009
- for (const name4 of obj.name) {
1010
- result.name.push(validateName(name4));
1009
+ for (const name3 of obj.name) {
1010
+ result.name.push(validateName(name3));
1011
1011
  }
1012
1012
  if ("waitForReady" in obj) {
1013
1013
  if (typeof obj.waitForReady !== "boolean") {
@@ -1103,13 +1103,13 @@ var require_service_config = __commonJS({
1103
1103
  }
1104
1104
  const seenMethodNames = [];
1105
1105
  for (const methodConfig of result.methodConfig) {
1106
- for (const name4 of methodConfig.name) {
1106
+ for (const name3 of methodConfig.name) {
1107
1107
  for (const seenName of seenMethodNames) {
1108
- if (name4.service === seenName.service && name4.method === seenName.method) {
1109
- throw new Error(`Invalid service config: duplicate name ${name4.service}/${name4.method}`);
1108
+ if (name3.service === seenName.service && name3.method === seenName.method) {
1109
+ throw new Error(`Invalid service config: duplicate name ${name3.service}/${name3.method}`);
1110
1110
  }
1111
1111
  }
1112
- seenMethodNames.push(name4);
1112
+ seenMethodNames.push(name3);
1113
1113
  }
1114
1114
  }
1115
1115
  return result;
@@ -1713,20 +1713,20 @@ var require_resolving_load_balancer = __commonJS({
1713
1713
  "EMPTY"
1714
1714
  ];
1715
1715
  function hasMatchingName(service, method, methodConfig, matchLevel) {
1716
- for (const name4 of methodConfig.name) {
1716
+ for (const name3 of methodConfig.name) {
1717
1717
  switch (matchLevel) {
1718
1718
  case "EMPTY":
1719
- if (!name4.service && !name4.method) {
1719
+ if (!name3.service && !name3.method) {
1720
1720
  return true;
1721
1721
  }
1722
1722
  break;
1723
1723
  case "SERVICE":
1724
- if (name4.service === service && !name4.method) {
1724
+ if (name3.service === service && !name3.method) {
1725
1725
  return true;
1726
1726
  }
1727
1727
  break;
1728
1728
  case "SERVICE_AND_METHOD":
1729
- if (name4.service === service && name4.method === method) {
1729
+ if (name3.service === service && name3.method === method) {
1730
1730
  return true;
1731
1731
  }
1732
1732
  }
@@ -2982,13 +2982,13 @@ var require_make_client = __commonJS({
2982
2982
  }
2983
2983
  class ServiceClientImpl extends client_1.Client {
2984
2984
  }
2985
- Object.keys(methods).forEach((name4) => {
2986
- if (isPrototypePolluted(name4)) {
2985
+ Object.keys(methods).forEach((name3) => {
2986
+ if (isPrototypePolluted(name3)) {
2987
2987
  return;
2988
2988
  }
2989
- const attrs = methods[name4];
2989
+ const attrs = methods[name3];
2990
2990
  let methodType;
2991
- if (typeof name4 === "string" && name4.charAt(0) === "$") {
2991
+ if (typeof name3 === "string" && name3.charAt(0) === "$") {
2992
2992
  throw new Error("Method names cannot start with $");
2993
2993
  }
2994
2994
  if (attrs.requestStream) {
@@ -3007,10 +3007,10 @@ var require_make_client = __commonJS({
3007
3007
  const serialize = attrs.requestSerialize;
3008
3008
  const deserialize = attrs.responseDeserialize;
3009
3009
  const methodFunc = partial(requesterFuncs[methodType], attrs.path, serialize, deserialize);
3010
- ServiceClientImpl.prototype[name4] = methodFunc;
3011
- Object.assign(ServiceClientImpl.prototype[name4], attrs);
3010
+ ServiceClientImpl.prototype[name3] = methodFunc;
3011
+ Object.assign(ServiceClientImpl.prototype[name3], attrs);
3012
3012
  if (attrs.originalName && !isPrototypePolluted(attrs.originalName)) {
3013
- ServiceClientImpl.prototype[attrs.originalName] = ServiceClientImpl.prototype[name4];
3013
+ ServiceClientImpl.prototype[attrs.originalName] = ServiceClientImpl.prototype[name3];
3014
3014
  }
3015
3015
  });
3016
3016
  ServiceClientImpl.service = methods;
@@ -4060,7 +4060,7 @@ var require_minimal = __commonJS({
4060
4060
  util.isString = function isString(value) {
4061
4061
  return typeof value === "string" || value instanceof String;
4062
4062
  };
4063
- util.isObject = function isObject2(value) {
4063
+ util.isObject = function isObject(value) {
4064
4064
  return value && typeof value === "object";
4065
4065
  };
4066
4066
  util.isset = /**
@@ -4118,7 +4118,7 @@ var require_minimal = __commonJS({
4118
4118
  util.lcFirst = function lcFirst(str) {
4119
4119
  return str.charAt(0).toLowerCase() + str.substring(1);
4120
4120
  };
4121
- function newError(name4) {
4121
+ function newError(name3) {
4122
4122
  function CustomError(message, properties) {
4123
4123
  if (!(this instanceof CustomError))
4124
4124
  return new CustomError(message, properties);
@@ -4141,7 +4141,7 @@ var require_minimal = __commonJS({
4141
4141
  },
4142
4142
  name: {
4143
4143
  get: function get() {
4144
- return name4;
4144
+ return name3;
4145
4145
  },
4146
4146
  set: void 0,
4147
4147
  enumerable: false,
@@ -4175,9 +4175,9 @@ var require_minimal = __commonJS({
4175
4175
  };
4176
4176
  };
4177
4177
  util.oneOfSetter = function setOneOf(fieldNames) {
4178
- return function(name4) {
4178
+ return function(name3) {
4179
4179
  for (var i = 0; i < fieldNames.length; ++i)
4180
- if (fieldNames[i] !== name4)
4180
+ if (fieldNames[i] !== name3)
4181
4181
  delete this[fieldNames[i]];
4182
4182
  };
4183
4183
  };
@@ -4988,8 +4988,8 @@ var require_namespace = __commonJS({
4988
4988
  var Type;
4989
4989
  var Service;
4990
4990
  var Enum;
4991
- Namespace.fromJSON = function fromJSON2(name4, json) {
4992
- return new Namespace(name4, json.options).addJSON(json.nested);
4991
+ Namespace.fromJSON = function fromJSON2(name3, json) {
4992
+ return new Namespace(name3, json.options).addJSON(json.nested);
4993
4993
  };
4994
4994
  function arrayToJSON(array, toJSONOptions) {
4995
4995
  if (!(array && array.length))
@@ -5008,16 +5008,16 @@ var require_namespace = __commonJS({
5008
5008
  }
5009
5009
  return false;
5010
5010
  };
5011
- Namespace.isReservedName = function isReservedName(reserved, name4) {
5011
+ Namespace.isReservedName = function isReservedName(reserved, name3) {
5012
5012
  if (reserved) {
5013
5013
  for (var i = 0; i < reserved.length; ++i)
5014
- if (reserved[i] === name4)
5014
+ if (reserved[i] === name3)
5015
5015
  return true;
5016
5016
  }
5017
5017
  return false;
5018
5018
  };
5019
- function Namespace(name4, options) {
5020
- ReflectionObject.call(this, name4, options);
5019
+ function Namespace(name3, options) {
5020
+ ReflectionObject.call(this, name3, options);
5021
5021
  this.nested = void 0;
5022
5022
  this._nestedArray = null;
5023
5023
  this._lookupCache = {};
@@ -5059,13 +5059,13 @@ var require_namespace = __commonJS({
5059
5059
  }
5060
5060
  return this;
5061
5061
  };
5062
- Namespace.prototype.get = function get(name4) {
5063
- return this.nested && this.nested[name4] || null;
5062
+ Namespace.prototype.get = function get(name3) {
5063
+ return this.nested && this.nested[name3] || null;
5064
5064
  };
5065
- Namespace.prototype.getEnum = function getEnum(name4) {
5066
- if (this.nested && this.nested[name4] instanceof Enum)
5067
- return this.nested[name4].values;
5068
- throw Error("no such enum: " + name4);
5065
+ Namespace.prototype.getEnum = function getEnum(name3) {
5066
+ if (this.nested && this.nested[name3] instanceof Enum)
5067
+ return this.nested[name3].values;
5068
+ throw Error("no such enum: " + name3);
5069
5069
  };
5070
5070
  Namespace.prototype.add = function add(object) {
5071
5071
  if (!(object instanceof Field && object.extend !== void 0 || object instanceof Type || object instanceof OneOf || object instanceof Enum || object instanceof Service || object instanceof Namespace))
@@ -5255,16 +5255,16 @@ var require_mapfield = __commonJS({
5255
5255
  ((MapField.prototype = Object.create(Field.prototype)).constructor = MapField).className = "MapField";
5256
5256
  var types = require_types();
5257
5257
  var util = require_util();
5258
- function MapField(name4, id, keyType, type, options, comment) {
5259
- Field.call(this, name4, id, type, void 0, void 0, options, comment);
5258
+ function MapField(name3, id, keyType, type, options, comment) {
5259
+ Field.call(this, name3, id, type, void 0, void 0, options, comment);
5260
5260
  if (!util.isString(keyType))
5261
5261
  throw TypeError("keyType must be a string");
5262
5262
  this.keyType = keyType;
5263
5263
  this.resolvedKeyType = null;
5264
5264
  this.map = true;
5265
5265
  }
5266
- MapField.fromJSON = function fromJSON2(name4, json) {
5267
- return new MapField(name4, json.id, json.keyType, json.type, json.options, json.comment);
5266
+ MapField.fromJSON = function fromJSON2(name3, json) {
5267
+ return new MapField(name3, json.id, json.keyType, json.type, json.options, json.comment);
5268
5268
  };
5269
5269
  MapField.prototype.toJSON = function toJSON(toJSONOptions) {
5270
5270
  var keepComments = toJSONOptions ? Boolean(toJSONOptions.keepComments) : false;
@@ -5310,7 +5310,7 @@ var require_method = __commonJS({
5310
5310
  var ReflectionObject = require_object();
5311
5311
  ((Method.prototype = Object.create(ReflectionObject.prototype)).constructor = Method).className = "Method";
5312
5312
  var util = require_util();
5313
- function Method(name4, type, requestType, responseType, requestStream, responseStream, options, comment, parsedOptions) {
5313
+ function Method(name3, type, requestType, responseType, requestStream, responseStream, options, comment, parsedOptions) {
5314
5314
  if (util.isObject(requestStream)) {
5315
5315
  options = requestStream;
5316
5316
  requestStream = responseStream = void 0;
@@ -5324,7 +5324,7 @@ var require_method = __commonJS({
5324
5324
  throw TypeError("requestType must be a string");
5325
5325
  if (!util.isString(responseType))
5326
5326
  throw TypeError("responseType must be a string");
5327
- ReflectionObject.call(this, name4, options);
5327
+ ReflectionObject.call(this, name3, options);
5328
5328
  this.type = type || "rpc";
5329
5329
  this.requestType = requestType;
5330
5330
  this.requestStream = requestStream ? true : void 0;
@@ -5335,8 +5335,8 @@ var require_method = __commonJS({
5335
5335
  this.comment = comment;
5336
5336
  this.parsedOptions = parsedOptions;
5337
5337
  }
5338
- Method.fromJSON = function fromJSON2(name4, json) {
5339
- return new Method(name4, json.type, json.requestType, json.responseType, json.requestStream, json.responseStream, json.options, json.comment, json.parsedOptions);
5338
+ Method.fromJSON = function fromJSON2(name3, json) {
5339
+ return new Method(name3, json.type, json.requestType, json.responseType, json.requestStream, json.responseStream, json.options, json.comment, json.parsedOptions);
5340
5340
  };
5341
5341
  Method.prototype.toJSON = function toJSON(toJSONOptions) {
5342
5342
  var keepComments = toJSONOptions ? Boolean(toJSONOptions.keepComments) : false;
@@ -5380,13 +5380,13 @@ var require_service2 = __commonJS({
5380
5380
  var Method = require_method();
5381
5381
  var util = require_util();
5382
5382
  var rpc = require_rpc();
5383
- function Service(name4, options) {
5384
- Namespace.call(this, name4, options);
5383
+ function Service(name3, options) {
5384
+ Namespace.call(this, name3, options);
5385
5385
  this.methods = {};
5386
5386
  this._methodsArray = null;
5387
5387
  }
5388
- Service.fromJSON = function fromJSON2(name4, json) {
5389
- var service = new Service(name4, json.options);
5388
+ Service.fromJSON = function fromJSON2(name3, json) {
5389
+ var service = new Service(name3, json.options);
5390
5390
  if (json.methods)
5391
5391
  for (var names = Object.keys(json.methods), i = 0; i < names.length; ++i)
5392
5392
  service.add(Method.fromJSON(names[i], json.methods[names[i]]));
@@ -5424,8 +5424,8 @@ var require_service2 = __commonJS({
5424
5424
  service._methodsArray = null;
5425
5425
  return service;
5426
5426
  }
5427
- Service.prototype.get = function get(name4) {
5428
- return this.methods[name4] || Namespace.prototype.get.call(this, name4);
5427
+ Service.prototype.get = function get(name3) {
5428
+ return this.methods[name3] || Namespace.prototype.get.call(this, name3);
5429
5429
  };
5430
5430
  Service.prototype.resolveAll = function resolveAll() {
5431
5431
  if (!this._needsRecursiveResolve) return this;
@@ -5890,8 +5890,8 @@ var require_wrappers = __commonJS({
5890
5890
  wrappers[".google.protobuf.Any"] = {
5891
5891
  fromObject: function(object) {
5892
5892
  if (object && object["@type"]) {
5893
- var name4 = object["@type"].substring(object["@type"].lastIndexOf("/") + 1);
5894
- var type = this.lookup(name4);
5893
+ var name3 = object["@type"].substring(object["@type"].lastIndexOf("/") + 1);
5894
+ var type = this.lookup(name3);
5895
5895
  if (type) {
5896
5896
  var type_url = object["@type"].charAt(0) === "." ? object["@type"].slice(1) : object["@type"];
5897
5897
  if (type_url.indexOf("/") === -1) {
@@ -5908,11 +5908,11 @@ var require_wrappers = __commonJS({
5908
5908
  toObject: function(message, options) {
5909
5909
  var googleApi = "type.googleapis.com/";
5910
5910
  var prefix = "";
5911
- var name4 = "";
5911
+ var name3 = "";
5912
5912
  if (options && options.json && message.type_url && message.value) {
5913
- name4 = message.type_url.substring(message.type_url.lastIndexOf("/") + 1);
5913
+ name3 = message.type_url.substring(message.type_url.lastIndexOf("/") + 1);
5914
5914
  prefix = message.type_url.substring(0, message.type_url.lastIndexOf("/") + 1);
5915
- var type = this.lookup(name4);
5915
+ var type = this.lookup(name3);
5916
5916
  if (type)
5917
5917
  message = type.decode(message.value);
5918
5918
  }
@@ -5922,8 +5922,8 @@ var require_wrappers = __commonJS({
5922
5922
  if (prefix === "") {
5923
5923
  prefix = googleApi;
5924
5924
  }
5925
- name4 = prefix + messageName;
5926
- object["@type"] = name4;
5925
+ name3 = prefix + messageName;
5926
+ object["@type"] = name3;
5927
5927
  return object;
5928
5928
  }
5929
5929
  return this.toObject(message, options);
@@ -5953,8 +5953,8 @@ var require_type = __commonJS({
5953
5953
  var verifier = require_verifier();
5954
5954
  var converter = require_converter();
5955
5955
  var wrappers = require_wrappers();
5956
- function Type(name4, options) {
5957
- Namespace.call(this, name4, options);
5956
+ function Type(name3, options) {
5957
+ Namespace.call(this, name3, options);
5958
5958
  this.fields = {};
5959
5959
  this.oneofs = void 0;
5960
5960
  this.extensions = void 0;
@@ -6057,8 +6057,8 @@ var require_type = __commonJS({
6057
6057
  delete type.verify;
6058
6058
  return type;
6059
6059
  }
6060
- Type.fromJSON = function fromJSON2(name4, json) {
6061
- var type = new Type(name4, json.options);
6060
+ Type.fromJSON = function fromJSON2(name3, json) {
6061
+ var type = new Type(name3, json.options);
6062
6062
  type.extensions = json.extensions;
6063
6063
  type.reserved = json.reserved;
6064
6064
  var names = Object.keys(json.fields), i = 0;
@@ -6140,8 +6140,8 @@ var require_type = __commonJS({
6140
6140
  });
6141
6141
  return this;
6142
6142
  };
6143
- Type.prototype.get = function get(name4) {
6144
- return this.fields[name4] || this.oneofs && this.oneofs[name4] || this.nested && this.nested[name4] || null;
6143
+ Type.prototype.get = function get(name3) {
6144
+ return this.fields[name3] || this.oneofs && this.oneofs[name3] || this.nested && this.nested[name3] || null;
6145
6145
  };
6146
6146
  Type.prototype.add = function add(object) {
6147
6147
  if (this.get(object.name))
@@ -6194,8 +6194,8 @@ var require_type = __commonJS({
6194
6194
  Type.prototype.isReservedId = function isReservedId(id) {
6195
6195
  return Namespace.isReservedId(this.reserved, id);
6196
6196
  };
6197
- Type.prototype.isReservedName = function isReservedName(name4) {
6198
- return Namespace.isReservedName(this.reserved, name4);
6197
+ Type.prototype.isReservedName = function isReservedName(name3) {
6198
+ return Namespace.isReservedName(this.reserved, name3);
6199
6199
  };
6200
6200
  Type.prototype.create = function create(properties) {
6201
6201
  return new this.ctor(properties);
@@ -6549,8 +6549,8 @@ var require_util = __commonJS({
6549
6549
  };
6550
6550
  var safePropBackslashRe = /\\/g;
6551
6551
  var safePropQuoteRe = /"/g;
6552
- util.isReserved = function isReserved(name4) {
6553
- return /^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(name4);
6552
+ util.isReserved = function isReserved(name3) {
6553
+ return /^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(name3);
6554
6554
  };
6555
6555
  util.safeProp = function safeProp(prop) {
6556
6556
  if (!/^[$\w_]+$/.test(prop) || util.isReserved(prop))
@@ -6822,14 +6822,14 @@ var require_field = __commonJS({
6822
6822
  var util = require_util();
6823
6823
  var Type;
6824
6824
  var ruleRe = /^required|optional|repeated$/;
6825
- Field.fromJSON = function fromJSON2(name4, json) {
6826
- var field = new Field(name4, json.id, json.type, json.rule, json.extend, json.options, json.comment);
6825
+ Field.fromJSON = function fromJSON2(name3, json) {
6826
+ var field = new Field(name3, json.id, json.type, json.rule, json.extend, json.options, json.comment);
6827
6827
  if (json.edition)
6828
6828
  field._edition = json.edition;
6829
6829
  field._defaultEdition = "proto3";
6830
6830
  return field;
6831
6831
  };
6832
- function Field(name4, id, type, rule, extend, options, comment) {
6832
+ function Field(name3, id, type, rule, extend, options, comment) {
6833
6833
  if (util.isObject(rule)) {
6834
6834
  comment = extend;
6835
6835
  options = rule;
@@ -6839,7 +6839,7 @@ var require_field = __commonJS({
6839
6839
  options = extend;
6840
6840
  extend = void 0;
6841
6841
  }
6842
- ReflectionObject.call(this, name4, options);
6842
+ ReflectionObject.call(this, name3, options);
6843
6843
  if (!util.isInteger(id) || id < 0)
6844
6844
  throw TypeError("id must be a non-negative integer");
6845
6845
  if (!util.isString(type))
@@ -6901,8 +6901,8 @@ var require_field = __commonJS({
6901
6901
  this._features.field_presence !== "IMPLICIT";
6902
6902
  }
6903
6903
  });
6904
- Field.prototype.setOption = function setOption(name4, value, ifNotSet) {
6905
- return ReflectionObject.prototype.setOption.call(this, name4, value, ifNotSet);
6904
+ Field.prototype.setOption = function setOption(name3, value, ifNotSet) {
6905
+ return ReflectionObject.prototype.setOption.call(this, name3, value, ifNotSet);
6906
6906
  };
6907
6907
  Field.prototype.toJSON = function toJSON(toJSONOptions) {
6908
6908
  var keepComments = toJSONOptions ? Boolean(toJSONOptions.keepComments) : false;
@@ -7016,20 +7016,20 @@ var require_oneof = __commonJS({
7016
7016
  ((OneOf.prototype = Object.create(ReflectionObject.prototype)).constructor = OneOf).className = "OneOf";
7017
7017
  var Field = require_field();
7018
7018
  var util = require_util();
7019
- function OneOf(name4, fieldNames, options, comment) {
7019
+ function OneOf(name3, fieldNames, options, comment) {
7020
7020
  if (!Array.isArray(fieldNames)) {
7021
7021
  options = fieldNames;
7022
7022
  fieldNames = void 0;
7023
7023
  }
7024
- ReflectionObject.call(this, name4, options);
7024
+ ReflectionObject.call(this, name3, options);
7025
7025
  if (!(fieldNames === void 0 || Array.isArray(fieldNames)))
7026
7026
  throw TypeError("fieldNames must be an Array");
7027
7027
  this.oneof = fieldNames || [];
7028
7028
  this.fieldsArray = [];
7029
7029
  this.comment = comment;
7030
7030
  }
7031
- OneOf.fromJSON = function fromJSON2(name4, json) {
7032
- return new OneOf(name4, json.oneof, json.options, json.comment);
7031
+ OneOf.fromJSON = function fromJSON2(name3, json) {
7032
+ return new OneOf(name3, json.oneof, json.options, json.comment);
7033
7033
  };
7034
7034
  OneOf.prototype.toJSON = function toJSON(toJSONOptions) {
7035
7035
  var keepComments = toJSONOptions ? Boolean(toJSONOptions.keepComments) : false;
@@ -7127,14 +7127,14 @@ var require_object = __commonJS({
7127
7127
  var editions2023Defaults = { enum_type: "OPEN", field_presence: "EXPLICIT", json_format: "ALLOW", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "PACKED", utf8_validation: "VERIFY" };
7128
7128
  var proto2Defaults = { enum_type: "CLOSED", field_presence: "EXPLICIT", json_format: "LEGACY_BEST_EFFORT", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "EXPANDED", utf8_validation: "NONE" };
7129
7129
  var proto3Defaults = { enum_type: "OPEN", field_presence: "IMPLICIT", json_format: "ALLOW", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "PACKED", utf8_validation: "VERIFY" };
7130
- function ReflectionObject(name4, options) {
7131
- if (!util.isString(name4))
7130
+ function ReflectionObject(name3, options) {
7131
+ if (!util.isString(name3))
7132
7132
  throw TypeError("name must be a string");
7133
7133
  if (options && !util.isObject(options))
7134
7134
  throw TypeError("options must be an object");
7135
7135
  this.options = options;
7136
7136
  this.parsedOptions = null;
7137
- this.name = name4;
7137
+ this.name = name3;
7138
7138
  this._edition = null;
7139
7139
  this._defaultEdition = "proto2";
7140
7140
  this._features = {};
@@ -7250,42 +7250,42 @@ var require_object = __commonJS({
7250
7250
  ReflectionObject.prototype._inferLegacyProtoFeatures = function _inferLegacyProtoFeatures() {
7251
7251
  return {};
7252
7252
  };
7253
- ReflectionObject.prototype.getOption = function getOption(name4) {
7253
+ ReflectionObject.prototype.getOption = function getOption(name3) {
7254
7254
  if (this.options)
7255
- return this.options[name4];
7255
+ return this.options[name3];
7256
7256
  return void 0;
7257
7257
  };
7258
- ReflectionObject.prototype.setOption = function setOption(name4, value, ifNotSet) {
7258
+ ReflectionObject.prototype.setOption = function setOption(name3, value, ifNotSet) {
7259
7259
  if (!this.options)
7260
7260
  this.options = {};
7261
- if (/^features\./.test(name4)) {
7262
- util.setProperty(this.options, name4, value, ifNotSet);
7263
- } else if (!ifNotSet || this.options[name4] === void 0) {
7264
- if (this.getOption(name4) !== value) this.resolved = false;
7265
- this.options[name4] = value;
7261
+ if (/^features\./.test(name3)) {
7262
+ util.setProperty(this.options, name3, value, ifNotSet);
7263
+ } else if (!ifNotSet || this.options[name3] === void 0) {
7264
+ if (this.getOption(name3) !== value) this.resolved = false;
7265
+ this.options[name3] = value;
7266
7266
  }
7267
7267
  return this;
7268
7268
  };
7269
- ReflectionObject.prototype.setParsedOption = function setParsedOption(name4, value, propName) {
7269
+ ReflectionObject.prototype.setParsedOption = function setParsedOption(name3, value, propName) {
7270
7270
  if (!this.parsedOptions) {
7271
7271
  this.parsedOptions = [];
7272
7272
  }
7273
7273
  var parsedOptions = this.parsedOptions;
7274
7274
  if (propName) {
7275
7275
  var opt = parsedOptions.find(function(opt2) {
7276
- return Object.prototype.hasOwnProperty.call(opt2, name4);
7276
+ return Object.prototype.hasOwnProperty.call(opt2, name3);
7277
7277
  });
7278
7278
  if (opt) {
7279
- var newValue = opt[name4];
7279
+ var newValue = opt[name3];
7280
7280
  util.setProperty(newValue, propName, value);
7281
7281
  } else {
7282
7282
  opt = {};
7283
- opt[name4] = util.setProperty({}, propName, value);
7283
+ opt[name3] = util.setProperty({}, propName, value);
7284
7284
  parsedOptions.push(opt);
7285
7285
  }
7286
7286
  } else {
7287
7287
  var newOpt = {};
7288
- newOpt[name4] = value;
7288
+ newOpt[name3] = value;
7289
7289
  parsedOptions.push(newOpt);
7290
7290
  }
7291
7291
  return this;
@@ -7323,8 +7323,8 @@ var require_enum = __commonJS({
7323
7323
  ((Enum.prototype = Object.create(ReflectionObject.prototype)).constructor = Enum).className = "Enum";
7324
7324
  var Namespace = require_namespace();
7325
7325
  var util = require_util();
7326
- function Enum(name4, values, options, comment, comments, valuesOptions) {
7327
- ReflectionObject.call(this, name4, options);
7326
+ function Enum(name3, values, options, comment, comments, valuesOptions) {
7327
+ ReflectionObject.call(this, name3, options);
7328
7328
  if (values && typeof values !== "object")
7329
7329
  throw TypeError("values must be an object");
7330
7330
  this.valuesById = {};
@@ -7349,8 +7349,8 @@ var require_enum = __commonJS({
7349
7349
  });
7350
7350
  return this;
7351
7351
  };
7352
- Enum.fromJSON = function fromJSON2(name4, json) {
7353
- var enm = new Enum(name4, json.values, json.options, json.comment, json.comments);
7352
+ Enum.fromJSON = function fromJSON2(name3, json) {
7353
+ var enm = new Enum(name3, json.values, json.options, json.comment, json.comments);
7354
7354
  enm.reserved = json.reserved;
7355
7355
  if (json.edition)
7356
7356
  enm._edition = json.edition;
@@ -7376,49 +7376,49 @@ var require_enum = __commonJS({
7376
7376
  keepComments ? this.comments : void 0
7377
7377
  ]);
7378
7378
  };
7379
- Enum.prototype.add = function add(name4, id, comment, options) {
7380
- if (!util.isString(name4))
7379
+ Enum.prototype.add = function add(name3, id, comment, options) {
7380
+ if (!util.isString(name3))
7381
7381
  throw TypeError("name must be a string");
7382
7382
  if (!util.isInteger(id))
7383
7383
  throw TypeError("id must be an integer");
7384
- if (this.values[name4] !== void 0)
7385
- throw Error("duplicate name '" + name4 + "' in " + this);
7384
+ if (this.values[name3] !== void 0)
7385
+ throw Error("duplicate name '" + name3 + "' in " + this);
7386
7386
  if (this.isReservedId(id))
7387
7387
  throw Error("id " + id + " is reserved in " + this);
7388
- if (this.isReservedName(name4))
7389
- throw Error("name '" + name4 + "' is reserved in " + this);
7388
+ if (this.isReservedName(name3))
7389
+ throw Error("name '" + name3 + "' is reserved in " + this);
7390
7390
  if (this.valuesById[id] !== void 0) {
7391
7391
  if (!(this.options && this.options.allow_alias))
7392
7392
  throw Error("duplicate id " + id + " in " + this);
7393
- this.values[name4] = id;
7393
+ this.values[name3] = id;
7394
7394
  } else
7395
- this.valuesById[this.values[name4] = id] = name4;
7395
+ this.valuesById[this.values[name3] = id] = name3;
7396
7396
  if (options) {
7397
7397
  if (this.valuesOptions === void 0)
7398
7398
  this.valuesOptions = {};
7399
- this.valuesOptions[name4] = options || null;
7399
+ this.valuesOptions[name3] = options || null;
7400
7400
  }
7401
- this.comments[name4] = comment || null;
7401
+ this.comments[name3] = comment || null;
7402
7402
  return this;
7403
7403
  };
7404
- Enum.prototype.remove = function remove(name4) {
7405
- if (!util.isString(name4))
7404
+ Enum.prototype.remove = function remove(name3) {
7405
+ if (!util.isString(name3))
7406
7406
  throw TypeError("name must be a string");
7407
- var val = this.values[name4];
7407
+ var val = this.values[name3];
7408
7408
  if (val == null)
7409
- throw Error("name '" + name4 + "' does not exist in " + this);
7409
+ throw Error("name '" + name3 + "' does not exist in " + this);
7410
7410
  delete this.valuesById[val];
7411
- delete this.values[name4];
7412
- delete this.comments[name4];
7411
+ delete this.values[name3];
7412
+ delete this.comments[name3];
7413
7413
  if (this.valuesOptions)
7414
- delete this.valuesOptions[name4];
7414
+ delete this.valuesOptions[name3];
7415
7415
  return this;
7416
7416
  };
7417
7417
  Enum.prototype.isReservedId = function isReservedId(id) {
7418
7418
  return Namespace.isReservedId(this.reserved, id);
7419
7419
  };
7420
- Enum.prototype.isReservedName = function isReservedName(name4) {
7421
- return Namespace.isReservedName(this.reserved, name4);
7420
+ Enum.prototype.isReservedName = function isReservedName(name3) {
7421
+ return Namespace.isReservedName(this.reserved, name3);
7422
7422
  };
7423
7423
  }
7424
7424
  });
@@ -7806,8 +7806,8 @@ var require_parse = __commonJS({
7806
7806
  var ptr = root;
7807
7807
  var topLevelObjects = [];
7808
7808
  var topLevelOptions = {};
7809
- var applyCase = options.keepCase ? function(name4) {
7810
- return name4;
7809
+ var applyCase = options.keepCase ? function(name3) {
7810
+ return name3;
7811
7811
  } : util.camelCase;
7812
7812
  function resolveFileFeatures() {
7813
7813
  topLevelObjects.forEach((obj) => {
@@ -7818,11 +7818,11 @@ var require_parse = __commonJS({
7818
7818
  });
7819
7819
  });
7820
7820
  }
7821
- function illegal(token2, name4, insideTryCatch) {
7821
+ function illegal(token2, name3, insideTryCatch) {
7822
7822
  var filename = parse.filename;
7823
7823
  if (!insideTryCatch)
7824
7824
  parse.filename = null;
7825
- return Error("illegal " + (name4 || "token") + " '" + token2 + "' (" + (filename ? filename + ", " : "") + "line " + tn.line + ")");
7825
+ return Error("illegal " + (name3 || "token") + " '" + token2 + "' (" + (filename ? filename + ", " : "") + "line " + tn.line + ")");
7826
7826
  }
7827
7827
  function readString() {
7828
7828
  var values = [], token2;
@@ -7883,9 +7883,9 @@ var require_parse = __commonJS({
7883
7883
  }
7884
7884
  } while (skip(",", true));
7885
7885
  var dummy = { options: void 0 };
7886
- dummy.setOption = function(name4, value) {
7886
+ dummy.setOption = function(name3, value) {
7887
7887
  if (this.options === void 0) this.options = {};
7888
- this.options[name4] = value;
7888
+ this.options[name3] = value;
7889
7889
  };
7890
7890
  ifBlock(
7891
7891
  dummy,
@@ -8095,12 +8095,12 @@ var require_parse = __commonJS({
8095
8095
  }
8096
8096
  if (!typeRefRe.test(type))
8097
8097
  throw illegal(type, "type");
8098
- var name4 = next();
8099
- if (!nameRe.test(name4))
8100
- throw illegal(name4, "name");
8101
- name4 = applyCase(name4);
8098
+ var name3 = next();
8099
+ if (!nameRe.test(name3))
8100
+ throw illegal(name3, "name");
8101
+ name3 = applyCase(name3);
8102
8102
  skip("=");
8103
- var field = new Field(name4, parseId(next()), type, rule, extend);
8103
+ var field = new Field(name3, parseId(next()), type, rule, extend);
8104
8104
  ifBlock(field, function parseField_block(token2) {
8105
8105
  if (token2 === "option") {
8106
8106
  parseOption(field, token2);
@@ -8111,7 +8111,7 @@ var require_parse = __commonJS({
8111
8111
  parseInlineOptions(field);
8112
8112
  });
8113
8113
  if (rule === "proto3_optional") {
8114
- var oneof = new OneOf("_" + name4);
8114
+ var oneof = new OneOf("_" + name3);
8115
8115
  field.setOption("proto3_optional", true);
8116
8116
  oneof.add(field);
8117
8117
  parent.add(oneof);
@@ -8126,17 +8126,17 @@ var require_parse = __commonJS({
8126
8126
  if (edition >= 2023) {
8127
8127
  throw illegal("group");
8128
8128
  }
8129
- var name4 = next();
8130
- if (!nameRe.test(name4))
8131
- throw illegal(name4, "name");
8132
- var fieldName = util.lcFirst(name4);
8133
- if (name4 === fieldName)
8134
- name4 = util.ucFirst(name4);
8129
+ var name3 = next();
8130
+ if (!nameRe.test(name3))
8131
+ throw illegal(name3, "name");
8132
+ var fieldName = util.lcFirst(name3);
8133
+ if (name3 === fieldName)
8134
+ name3 = util.ucFirst(name3);
8135
8135
  skip("=");
8136
8136
  var id = parseId(next());
8137
- var type = new Type(name4);
8137
+ var type = new Type(name3);
8138
8138
  type.group = true;
8139
- var field = new Field(fieldName, id, name4, rule);
8139
+ var field = new Field(fieldName, id, name3, rule);
8140
8140
  field.filename = parse.filename;
8141
8141
  ifBlock(type, function parseGroup_block(token2) {
8142
8142
  switch (token2) {
@@ -8181,11 +8181,11 @@ var require_parse = __commonJS({
8181
8181
  if (!typeRefRe.test(valueType))
8182
8182
  throw illegal(valueType, "type");
8183
8183
  skip(">");
8184
- var name4 = next();
8185
- if (!nameRe.test(name4))
8186
- throw illegal(name4, "name");
8184
+ var name3 = next();
8185
+ if (!nameRe.test(name3))
8186
+ throw illegal(name3, "name");
8187
8187
  skip("=");
8188
- var field = new MapField(applyCase(name4), parseId(next()), keyType, valueType);
8188
+ var field = new MapField(applyCase(name3), parseId(next()), keyType, valueType);
8189
8189
  ifBlock(field, function parseMapField_block(token2) {
8190
8190
  if (token2 === "option") {
8191
8191
  parseOption(field, token2);
@@ -8242,11 +8242,11 @@ var require_parse = __commonJS({
8242
8242
  var value = parseId(next(), true), dummy = {
8243
8243
  options: void 0
8244
8244
  };
8245
- dummy.getOption = function(name4) {
8246
- return this.options[name4];
8245
+ dummy.getOption = function(name3) {
8246
+ return this.options[name3];
8247
8247
  };
8248
- dummy.setOption = function(name4, value2) {
8249
- ReflectionObject.prototype.setOption.call(dummy, name4, value2);
8248
+ dummy.setOption = function(name3, value2) {
8249
+ ReflectionObject.prototype.setOption.call(dummy, name3, value2);
8250
8250
  };
8251
8251
  dummy.setParsedOption = function() {
8252
8252
  return void 0;
@@ -8289,13 +8289,13 @@ var require_parse = __commonJS({
8289
8289
  }
8290
8290
  token2 = next();
8291
8291
  }
8292
- var name4 = propName ? option.concat(propName) : option;
8293
- var optionValue = parseOptionValue(parent, name4);
8292
+ var name3 = propName ? option.concat(propName) : option;
8293
+ var optionValue = parseOptionValue(parent, name3);
8294
8294
  propName = propName && propName[0] === "." ? propName.slice(1) : propName;
8295
8295
  option = option && option[option.length - 1] === "." ? option.slice(0, -1) : option;
8296
8296
  setParsedOption(parent, option, optionValue, propName);
8297
8297
  }
8298
- function parseOptionValue(parent, name4) {
8298
+ function parseOptionValue(parent, name3) {
8299
8299
  if (skip("{", true)) {
8300
8300
  var objectResult = {};
8301
8301
  while (!skip("}", true)) {
@@ -8309,7 +8309,7 @@ var require_parse = __commonJS({
8309
8309
  var propName = token;
8310
8310
  skip(":", true);
8311
8311
  if (peek() === "{") {
8312
- value = parseOptionValue(parent, name4 + "." + token);
8312
+ value = parseOptionValue(parent, name3 + "." + token);
8313
8313
  } else if (peek() === "[") {
8314
8314
  value = [];
8315
8315
  var lastValue;
@@ -8320,12 +8320,12 @@ var require_parse = __commonJS({
8320
8320
  } while (skip(",", true));
8321
8321
  skip("]");
8322
8322
  if (typeof lastValue !== "undefined") {
8323
- setOption(parent, name4 + "." + token, lastValue);
8323
+ setOption(parent, name3 + "." + token, lastValue);
8324
8324
  }
8325
8325
  }
8326
8326
  } else {
8327
8327
  value = readValue(true);
8328
- setOption(parent, name4 + "." + token, value);
8328
+ setOption(parent, name3 + "." + token, value);
8329
8329
  }
8330
8330
  var prevValue = objectResult[propName];
8331
8331
  if (prevValue)
@@ -8337,20 +8337,20 @@ var require_parse = __commonJS({
8337
8337
  return objectResult;
8338
8338
  }
8339
8339
  var simpleValue = readValue(true);
8340
- setOption(parent, name4, simpleValue);
8340
+ setOption(parent, name3, simpleValue);
8341
8341
  return simpleValue;
8342
8342
  }
8343
- function setOption(parent, name4, value) {
8344
- if (ptr === parent && /^features\./.test(name4)) {
8345
- topLevelOptions[name4] = value;
8343
+ function setOption(parent, name3, value) {
8344
+ if (ptr === parent && /^features\./.test(name3)) {
8345
+ topLevelOptions[name3] = value;
8346
8346
  return;
8347
8347
  }
8348
8348
  if (parent.setOption)
8349
- parent.setOption(name4, value);
8349
+ parent.setOption(name3, value);
8350
8350
  }
8351
- function setParsedOption(parent, name4, value, propName) {
8351
+ function setParsedOption(parent, name3, value, propName) {
8352
8352
  if (parent.setParsedOption)
8353
- parent.setParsedOption(name4, value, propName);
8353
+ parent.setParsedOption(name3, value, propName);
8354
8354
  }
8355
8355
  function parseInlineOptions(parent) {
8356
8356
  if (skip("[", true)) {
@@ -8384,7 +8384,7 @@ var require_parse = __commonJS({
8384
8384
  var type = token2;
8385
8385
  if (!nameRe.test(token2 = next()))
8386
8386
  throw illegal(token2, "name");
8387
- var name4 = token2, requestType, requestStream, responseType, responseStream;
8387
+ var name3 = token2, requestType, requestStream, responseType, responseStream;
8388
8388
  skip("(");
8389
8389
  if (skip("stream", true))
8390
8390
  requestStream = true;
@@ -8400,7 +8400,7 @@ var require_parse = __commonJS({
8400
8400
  throw illegal(token2);
8401
8401
  responseType = token2;
8402
8402
  skip(")");
8403
- var method = new Method(name4, type, requestType, responseType, requestStream, responseStream);
8403
+ var method = new Method(name3, type, requestType, responseType, requestStream, responseStream);
8404
8404
  method.comment = commentText;
8405
8405
  ifBlock(method, function parseMethod_block(token3) {
8406
8406
  if (token3 === "option") {
@@ -8490,12 +8490,12 @@ var require_common = __commonJS({
8490
8490
  "use strict";
8491
8491
  module2.exports = common;
8492
8492
  var commonRe = /\/|\./;
8493
- function common(name4, json) {
8494
- if (!commonRe.test(name4)) {
8495
- name4 = "google/protobuf/" + name4 + ".proto";
8493
+ function common(name3, json) {
8494
+ if (!commonRe.test(name3)) {
8495
+ name3 = "google/protobuf/" + name3 + ".proto";
8496
8496
  json = { nested: { google: { nested: { protobuf: { nested: json } } } } };
8497
8497
  }
8498
- common[name4] = json;
8498
+ common[name3] = json;
8499
8499
  }
8500
8500
  common("any", {
8501
8501
  /**
@@ -10508,8 +10508,8 @@ var require_descriptor2 = __commonJS({
10508
10508
  var values = {};
10509
10509
  if (descriptor.value)
10510
10510
  for (var i = 0; i < descriptor.value.length; ++i) {
10511
- var name4 = descriptor.value[i].name, value = descriptor.value[i].number || 0;
10512
- values[name4 && name4.length ? name4 : "NAME" + value] = value;
10511
+ var name3 = descriptor.value[i].name, value = descriptor.value[i].number || 0;
10512
+ values[name3 && name3.length ? name3 : "NAME" + value] = value;
10513
10513
  }
10514
10514
  var enm = new Enum(
10515
10515
  descriptor.name && descriptor.name.length ? descriptor.name : "Enum" + unnamedEnumIndex++,
@@ -12234,11 +12234,11 @@ var require_src2 = __commonJS({
12234
12234
  oneofs: true,
12235
12235
  json: true
12236
12236
  };
12237
- function joinName(baseName, name4) {
12237
+ function joinName(baseName, name3) {
12238
12238
  if (baseName === "") {
12239
- return name4;
12239
+ return name3;
12240
12240
  } else {
12241
- return baseName + "." + name4;
12241
+ return baseName + "." + name3;
12242
12242
  }
12243
12243
  }
12244
12244
  function isHandledReflectionObject(obj) {
@@ -12253,8 +12253,8 @@ var require_src2 = __commonJS({
12253
12253
  return [[objName, obj]];
12254
12254
  } else {
12255
12255
  if (isNamespaceBase(obj) && typeof obj.nested !== "undefined") {
12256
- return Object.keys(obj.nested).map((name4) => {
12257
- return getAllHandledReflectionObjects(obj.nested[name4], objName);
12256
+ return Object.keys(obj.nested).map((name3) => {
12257
+ return getAllHandledReflectionObjects(obj.nested[name3], objName);
12258
12258
  }).reduce((accumulator, currentValue) => accumulator.concat(currentValue), []);
12259
12259
  }
12260
12260
  }
@@ -12310,10 +12310,10 @@ var require_src2 = __commonJS({
12310
12310
  options: mapMethodOptions(method.parsedOptions)
12311
12311
  };
12312
12312
  }
12313
- function createServiceDefinition(service, name4, options, fileDescriptors) {
12313
+ function createServiceDefinition(service, name3, options, fileDescriptors) {
12314
12314
  const def = {};
12315
12315
  for (const method of service.methodsArray) {
12316
- def[method.name] = createMethodDefinition(method, name4, options, fileDescriptors);
12316
+ def[method.name] = createMethodDefinition(method, name3, options, fileDescriptors);
12317
12317
  }
12318
12318
  return def;
12319
12319
  }
@@ -12333,9 +12333,9 @@ var require_src2 = __commonJS({
12333
12333
  fileDescriptorProtos: fileDescriptors
12334
12334
  };
12335
12335
  }
12336
- function createDefinition(obj, name4, options, fileDescriptors) {
12336
+ function createDefinition(obj, name3, options, fileDescriptors) {
12337
12337
  if (obj instanceof Protobuf.Service) {
12338
- return createServiceDefinition(obj, name4, options, fileDescriptors);
12338
+ return createServiceDefinition(obj, name3, options, fileDescriptors);
12339
12339
  } else if (obj instanceof Protobuf.Type) {
12340
12340
  return createMessageDefinition(obj, fileDescriptors);
12341
12341
  } else if (obj instanceof Protobuf.Enum) {
@@ -12349,8 +12349,8 @@ var require_src2 = __commonJS({
12349
12349
  root.resolveAll();
12350
12350
  const descriptorList = root.toDescriptor("proto3").file;
12351
12351
  const bufferList = descriptorList.map((value) => Buffer.from(descriptor.FileDescriptorProto.encode(value).finish()));
12352
- for (const [name4, obj] of getAllHandledReflectionObjects(root, "")) {
12353
- def[name4] = createDefinition(obj, name4, options, bufferList);
12352
+ for (const [name3, obj] of getAllHandledReflectionObjects(root, "")) {
12353
+ def[name3] = createDefinition(obj, name3, options, bufferList);
12354
12354
  }
12355
12355
  return def;
12356
12356
  }
@@ -12587,18 +12587,18 @@ var require_channelz = __commonJS({
12587
12587
  var subchannels = [];
12588
12588
  var servers = [];
12589
12589
  var sockets = [];
12590
- function registerChannelzChannel(name4, getInfo, channelzEnabled) {
12590
+ function registerChannelzChannel(name3, getInfo, channelzEnabled) {
12591
12591
  const id = getNextId();
12592
- const ref = { id, name: name4, kind: "channel" };
12592
+ const ref = { id, name: name3, kind: "channel" };
12593
12593
  if (channelzEnabled) {
12594
12594
  channels[id] = { ref, getInfo };
12595
12595
  }
12596
12596
  return ref;
12597
12597
  }
12598
12598
  exports2.registerChannelzChannel = registerChannelzChannel;
12599
- function registerChannelzSubchannel(name4, getInfo, channelzEnabled) {
12599
+ function registerChannelzSubchannel(name3, getInfo, channelzEnabled) {
12600
12600
  const id = getNextId();
12601
- const ref = { id, name: name4, kind: "subchannel" };
12601
+ const ref = { id, name: name3, kind: "subchannel" };
12602
12602
  if (channelzEnabled) {
12603
12603
  subchannels[id] = { ref, getInfo };
12604
12604
  }
@@ -12614,9 +12614,9 @@ var require_channelz = __commonJS({
12614
12614
  return ref;
12615
12615
  }
12616
12616
  exports2.registerChannelzServer = registerChannelzServer;
12617
- function registerChannelzSocket(name4, getInfo, channelzEnabled) {
12617
+ function registerChannelzSocket(name3, getInfo, channelzEnabled) {
12618
12618
  const id = getNextId();
12619
- const ref = { id, name: name4, kind: "socket" };
12619
+ const ref = { id, name: name3, kind: "socket" };
12620
12620
  if (channelzEnabled) {
12621
12621
  sockets[id] = { ref, getInfo };
12622
12622
  }
@@ -13808,9 +13808,9 @@ var require_subchannel_call = __commonJS({
13808
13808
  var constants_2 = require_constants();
13809
13809
  var TRACER_NAME = "subchannel_call";
13810
13810
  function getSystemErrorName(errno) {
13811
- for (const [name4, num] of Object.entries(os.constants.errno)) {
13811
+ for (const [name3, num] of Object.entries(os.constants.errno)) {
13812
13812
  if (num === errno) {
13813
- return name4;
13813
+ return name3;
13814
13814
  }
13815
13815
  }
13816
13816
  return "Unknown system error " + errno;
@@ -17621,8 +17621,8 @@ var require_server = __commonJS({
17621
17621
  if (serviceKeys.length === 0) {
17622
17622
  throw new Error("Cannot add an empty service to a server");
17623
17623
  }
17624
- serviceKeys.forEach((name4) => {
17625
- const attrs = service[name4];
17624
+ serviceKeys.forEach((name3) => {
17625
+ const attrs = service[name3];
17626
17626
  let methodType;
17627
17627
  if (attrs.requestStream) {
17628
17628
  if (attrs.responseStream) {
@@ -17637,7 +17637,7 @@ var require_server = __commonJS({
17637
17637
  methodType = "unary";
17638
17638
  }
17639
17639
  }
17640
- let implFn = implementation[name4];
17640
+ let implFn = implementation[name3];
17641
17641
  let impl;
17642
17642
  if (implFn === void 0 && typeof attrs.originalName === "string") {
17643
17643
  implFn = implementation[attrs.originalName];
@@ -17645,7 +17645,7 @@ var require_server = __commonJS({
17645
17645
  if (implFn !== void 0) {
17646
17646
  impl = implFn.bind(implementation);
17647
17647
  } else {
17648
- impl = getDefaultHandler(methodType, name4);
17648
+ impl = getDefaultHandler(methodType, name3);
17649
17649
  }
17650
17650
  const success = this.register(attrs.path, impl, attrs.responseSerialize, attrs.requestDeserialize, methodType);
17651
17651
  if (success === false) {
@@ -17658,8 +17658,8 @@ var require_server = __commonJS({
17658
17658
  throw new Error("removeService() requires object as argument");
17659
17659
  }
17660
17660
  const serviceKeys = Object.keys(service);
17661
- serviceKeys.forEach((name4) => {
17662
- const attrs = service[name4];
17661
+ serviceKeys.forEach((name3) => {
17662
+ const attrs = service[name3];
17663
17663
  this.unregister(attrs.path);
17664
17664
  });
17665
17665
  }
@@ -17934,21 +17934,21 @@ var require_server = __commonJS({
17934
17934
  (0, channelz_1.unregisterChannelzRef)(this.channelzRef);
17935
17935
  }
17936
17936
  }
17937
- register(name4, handler, serialize, deserialize, type) {
17938
- if (this.handlers.has(name4)) {
17937
+ register(name3, handler, serialize, deserialize, type) {
17938
+ if (this.handlers.has(name3)) {
17939
17939
  return false;
17940
17940
  }
17941
- this.handlers.set(name4, {
17941
+ this.handlers.set(name3, {
17942
17942
  func: handler,
17943
17943
  serialize,
17944
17944
  deserialize,
17945
17945
  type,
17946
- path: name4
17946
+ path: name3
17947
17947
  });
17948
17948
  return true;
17949
17949
  }
17950
- unregister(name4) {
17951
- return this.handlers.delete(name4);
17950
+ unregister(name3) {
17951
+ return this.handlers.delete(name3);
17952
17952
  }
17953
17953
  start() {
17954
17954
  if (this.http2ServerList.length === 0 || this.http2ServerList.every(({ server: http2Server }) => http2Server.listening !== true)) {
@@ -20471,6 +20471,7 @@ import {
20471
20471
  Container,
20472
20472
  Stack as Stack4
20473
20473
  } from "@mui/material";
20474
+ import "@splidejs/react-splide/css";
20474
20475
  import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
20475
20476
  function OraculoPageLanding({ props }) {
20476
20477
  const listaDestacados = [
@@ -20900,244 +20901,6 @@ var getDefaults = () => {
20900
20901
  return;
20901
20902
  }
20902
20903
  };
20903
- var getDefaultEmulatorHost = (productName) => {
20904
- var _a, _b;
20905
- return (_b = (_a = getDefaults()) == null ? void 0 : _a.emulatorHosts) == null ? void 0 : _b[productName];
20906
- };
20907
- var getDefaultEmulatorHostnameAndPort = (productName) => {
20908
- const host = getDefaultEmulatorHost(productName);
20909
- if (!host) {
20910
- return void 0;
20911
- }
20912
- const separatorIndex = host.lastIndexOf(":");
20913
- if (separatorIndex <= 0 || separatorIndex + 1 === host.length) {
20914
- throw new Error(`Invalid host ${host} with no separate hostname and port!`);
20915
- }
20916
- const port = parseInt(host.substring(separatorIndex + 1), 10);
20917
- if (host[0] === "[") {
20918
- return [host.substring(1, separatorIndex - 1), port];
20919
- } else {
20920
- return [host.substring(0, separatorIndex), port];
20921
- }
20922
- };
20923
- var getDefaultAppConfig = () => {
20924
- var _a;
20925
- return (_a = getDefaults()) == null ? void 0 : _a.config;
20926
- };
20927
- var Deferred = class {
20928
- constructor() {
20929
- this.reject = () => {
20930
- };
20931
- this.resolve = () => {
20932
- };
20933
- this.promise = new Promise((resolve, reject) => {
20934
- this.resolve = resolve;
20935
- this.reject = reject;
20936
- });
20937
- }
20938
- /**
20939
- * Our API internals are not promisified and cannot because our callback APIs have subtle expectations around
20940
- * invoking promises inline, which Promises are forbidden to do. This method accepts an optional node-style callback
20941
- * and returns a node-style callback which will resolve or reject the Deferred's promise.
20942
- */
20943
- wrapCallback(callback) {
20944
- return (error, value) => {
20945
- if (error) {
20946
- this.reject(error);
20947
- } else {
20948
- this.resolve(value);
20949
- }
20950
- if (typeof callback === "function") {
20951
- this.promise.catch(() => {
20952
- });
20953
- if (callback.length === 1) {
20954
- callback(error);
20955
- } else {
20956
- callback(error, value);
20957
- }
20958
- }
20959
- };
20960
- }
20961
- };
20962
- function isCloudWorkstation(url) {
20963
- try {
20964
- const host = url.startsWith("http://") || url.startsWith("https://") ? new URL(url).hostname : url;
20965
- return host.endsWith(".cloudworkstations.dev");
20966
- } catch {
20967
- return false;
20968
- }
20969
- }
20970
- async function pingServer(endpoint) {
20971
- const result = await fetch(endpoint, {
20972
- credentials: "include"
20973
- });
20974
- return result.ok;
20975
- }
20976
- function createMockUserToken(token, projectId) {
20977
- if (token.uid) {
20978
- throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');
20979
- }
20980
- const header = {
20981
- alg: "none",
20982
- type: "JWT"
20983
- };
20984
- const project = projectId || "demo-project";
20985
- const iat = token.iat || 0;
20986
- const sub = token.sub || token.user_id;
20987
- if (!sub) {
20988
- throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");
20989
- }
20990
- const payload = {
20991
- // Set all required fields to decent defaults
20992
- iss: `https://securetoken.google.com/${project}`,
20993
- aud: project,
20994
- iat,
20995
- exp: iat + 3600,
20996
- auth_time: iat,
20997
- sub,
20998
- user_id: sub,
20999
- firebase: {
21000
- sign_in_provider: "custom",
21001
- identities: {}
21002
- },
21003
- // Override with user options
21004
- ...token
21005
- };
21006
- const signature = "";
21007
- return [
21008
- base64urlEncodeWithoutPadding(JSON.stringify(header)),
21009
- base64urlEncodeWithoutPadding(JSON.stringify(payload)),
21010
- signature
21011
- ].join(".");
21012
- }
21013
- var emulatorStatus = {};
21014
- function getEmulatorSummary() {
21015
- const summary = {
21016
- prod: [],
21017
- emulator: []
21018
- };
21019
- for (const key of Object.keys(emulatorStatus)) {
21020
- if (emulatorStatus[key]) {
21021
- summary.emulator.push(key);
21022
- } else {
21023
- summary.prod.push(key);
21024
- }
21025
- }
21026
- return summary;
21027
- }
21028
- function getOrCreateEl(id) {
21029
- let parentDiv = document.getElementById(id);
21030
- let created = false;
21031
- if (!parentDiv) {
21032
- parentDiv = document.createElement("div");
21033
- parentDiv.setAttribute("id", id);
21034
- created = true;
21035
- }
21036
- return { created, element: parentDiv };
21037
- }
21038
- var previouslyDismissed = false;
21039
- function updateEmulatorBanner(name4, isRunningEmulator) {
21040
- if (typeof window === "undefined" || typeof document === "undefined" || !isCloudWorkstation(window.location.host) || emulatorStatus[name4] === isRunningEmulator || emulatorStatus[name4] || // If already set to use emulator, can't go back to prod.
21041
- previouslyDismissed) {
21042
- return;
21043
- }
21044
- emulatorStatus[name4] = isRunningEmulator;
21045
- function prefixedId(id) {
21046
- return `__firebase__banner__${id}`;
21047
- }
21048
- const bannerId = "__firebase__banner";
21049
- const summary = getEmulatorSummary();
21050
- const showError = summary.prod.length > 0;
21051
- function tearDown() {
21052
- const element = document.getElementById(bannerId);
21053
- if (element) {
21054
- element.remove();
21055
- }
21056
- }
21057
- function setupBannerStyles(bannerEl) {
21058
- bannerEl.style.display = "flex";
21059
- bannerEl.style.background = "#7faaf0";
21060
- bannerEl.style.position = "fixed";
21061
- bannerEl.style.bottom = "5px";
21062
- bannerEl.style.left = "5px";
21063
- bannerEl.style.padding = ".5em";
21064
- bannerEl.style.borderRadius = "5px";
21065
- bannerEl.style.alignItems = "center";
21066
- }
21067
- function setupIconStyles(prependIcon, iconId) {
21068
- prependIcon.setAttribute("width", "24");
21069
- prependIcon.setAttribute("id", iconId);
21070
- prependIcon.setAttribute("height", "24");
21071
- prependIcon.setAttribute("viewBox", "0 0 24 24");
21072
- prependIcon.setAttribute("fill", "none");
21073
- prependIcon.style.marginLeft = "-6px";
21074
- }
21075
- function setupCloseBtn() {
21076
- const closeBtn = document.createElement("span");
21077
- closeBtn.style.cursor = "pointer";
21078
- closeBtn.style.marginLeft = "16px";
21079
- closeBtn.style.fontSize = "24px";
21080
- closeBtn.innerHTML = " &times;";
21081
- closeBtn.onclick = () => {
21082
- previouslyDismissed = true;
21083
- tearDown();
21084
- };
21085
- return closeBtn;
21086
- }
21087
- function setupLinkStyles(learnMoreLink, learnMoreId) {
21088
- learnMoreLink.setAttribute("id", learnMoreId);
21089
- learnMoreLink.innerText = "Learn more";
21090
- learnMoreLink.href = "https://firebase.google.com/docs/studio/preview-apps#preview-backend";
21091
- learnMoreLink.setAttribute("target", "__blank");
21092
- learnMoreLink.style.paddingLeft = "5px";
21093
- learnMoreLink.style.textDecoration = "underline";
21094
- }
21095
- function setupDom() {
21096
- const banner = getOrCreateEl(bannerId);
21097
- const firebaseTextId = prefixedId("text");
21098
- const firebaseText = document.getElementById(firebaseTextId) || document.createElement("span");
21099
- const learnMoreId = prefixedId("learnmore");
21100
- const learnMoreLink = document.getElementById(learnMoreId) || document.createElement("a");
21101
- const prependIconId = prefixedId("preprendIcon");
21102
- const prependIcon = document.getElementById(prependIconId) || document.createElementNS("http://www.w3.org/2000/svg", "svg");
21103
- if (banner.created) {
21104
- const bannerEl = banner.element;
21105
- setupBannerStyles(bannerEl);
21106
- setupLinkStyles(learnMoreLink, learnMoreId);
21107
- const closeBtn = setupCloseBtn();
21108
- setupIconStyles(prependIcon, prependIconId);
21109
- bannerEl.append(prependIcon, firebaseText, learnMoreLink, closeBtn);
21110
- document.body.appendChild(bannerEl);
21111
- }
21112
- if (showError) {
21113
- firebaseText.innerText = `Preview backend disconnected.`;
21114
- prependIcon.innerHTML = `<g clip-path="url(#clip0_6013_33858)">
21115
- <path d="M4.8 17.6L12 5.6L19.2 17.6H4.8ZM6.91667 16.4H17.0833L12 7.93333L6.91667 16.4ZM12 15.6C12.1667 15.6 12.3056 15.5444 12.4167 15.4333C12.5389 15.3111 12.6 15.1667 12.6 15C12.6 14.8333 12.5389 14.6944 12.4167 14.5833C12.3056 14.4611 12.1667 14.4 12 14.4C11.8333 14.4 11.6889 14.4611 11.5667 14.5833C11.4556 14.6944 11.4 14.8333 11.4 15C11.4 15.1667 11.4556 15.3111 11.5667 15.4333C11.6889 15.5444 11.8333 15.6 12 15.6ZM11.4 13.6H12.6V10.4H11.4V13.6Z" fill="#212121"/>
21116
- </g>
21117
- <defs>
21118
- <clipPath id="clip0_6013_33858">
21119
- <rect width="24" height="24" fill="white"/>
21120
- </clipPath>
21121
- </defs>`;
21122
- } else {
21123
- prependIcon.innerHTML = `<g clip-path="url(#clip0_6083_34804)">
21124
- <path d="M11.4 15.2H12.6V11.2H11.4V15.2ZM12 10C12.1667 10 12.3056 9.94444 12.4167 9.83333C12.5389 9.71111 12.6 9.56667 12.6 9.4C12.6 9.23333 12.5389 9.09444 12.4167 8.98333C12.3056 8.86111 12.1667 8.8 12 8.8C11.8333 8.8 11.6889 8.86111 11.5667 8.98333C11.4556 9.09444 11.4 9.23333 11.4 9.4C11.4 9.56667 11.4556 9.71111 11.5667 9.83333C11.6889 9.94444 11.8333 10 12 10ZM12 18.4C11.1222 18.4 10.2944 18.2333 9.51667 17.9C8.73889 17.5667 8.05556 17.1111 7.46667 16.5333C6.88889 15.9444 6.43333 15.2611 6.1 14.4833C5.76667 13.7056 5.6 12.8778 5.6 12C5.6 11.1111 5.76667 10.2833 6.1 9.51667C6.43333 8.73889 6.88889 8.06111 7.46667 7.48333C8.05556 6.89444 8.73889 6.43333 9.51667 6.1C10.2944 5.76667 11.1222 5.6 12 5.6C12.8889 5.6 13.7167 5.76667 14.4833 6.1C15.2611 6.43333 15.9389 6.89444 16.5167 7.48333C17.1056 8.06111 17.5667 8.73889 17.9 9.51667C18.2333 10.2833 18.4 11.1111 18.4 12C18.4 12.8778 18.2333 13.7056 17.9 14.4833C17.5667 15.2611 17.1056 15.9444 16.5167 16.5333C15.9389 17.1111 15.2611 17.5667 14.4833 17.9C13.7167 18.2333 12.8889 18.4 12 18.4ZM12 17.2C13.4444 17.2 14.6722 16.6944 15.6833 15.6833C16.6944 14.6722 17.2 13.4444 17.2 12C17.2 10.5556 16.6944 9.32778 15.6833 8.31667C14.6722 7.30555 13.4444 6.8 12 6.8C10.5556 6.8 9.32778 7.30555 8.31667 8.31667C7.30556 9.32778 6.8 10.5556 6.8 12C6.8 13.4444 7.30556 14.6722 8.31667 15.6833C9.32778 16.6944 10.5556 17.2 12 17.2Z" fill="#212121"/>
21125
- </g>
21126
- <defs>
21127
- <clipPath id="clip0_6083_34804">
21128
- <rect width="24" height="24" fill="white"/>
21129
- </clipPath>
21130
- </defs>`;
21131
- firebaseText.innerText = "Preview backend running in this workspace.";
21132
- }
21133
- firebaseText.setAttribute("id", firebaseTextId);
21134
- }
21135
- if (document.readyState === "loading") {
21136
- window.addEventListener("DOMContentLoaded", setupDom);
21137
- } else {
21138
- setupDom();
21139
- }
21140
- }
21141
20904
  function getUA() {
21142
20905
  if (typeof navigator !== "undefined" && typeof navigator["userAgent"] === "string") {
21143
20906
  return navigator["userAgent"];
@@ -21230,36 +20993,6 @@ function replaceTemplate(template, data) {
21230
20993
  });
21231
20994
  }
21232
20995
  var PATTERN = /\{\$([^}]+)}/g;
21233
- function deepEqual(a, b) {
21234
- if (a === b) {
21235
- return true;
21236
- }
21237
- const aKeys = Object.keys(a);
21238
- const bKeys = Object.keys(b);
21239
- for (const k of aKeys) {
21240
- if (!bKeys.includes(k)) {
21241
- return false;
21242
- }
21243
- const aProp = a[k];
21244
- const bProp = b[k];
21245
- if (isObject(aProp) && isObject(bProp)) {
21246
- if (!deepEqual(aProp, bProp)) {
21247
- return false;
21248
- }
21249
- } else if (aProp !== bProp) {
21250
- return false;
21251
- }
21252
- }
21253
- for (const k of bKeys) {
21254
- if (!aKeys.includes(k)) {
21255
- return false;
21256
- }
21257
- }
21258
- return true;
21259
- }
21260
- function isObject(thing) {
21261
- return thing !== null && typeof thing === "object";
21262
- }
21263
20996
  var MAX_VALUE_MILLIS = 4 * 60 * 60 * 1e3;
21264
20997
  function getModularInstance(service) {
21265
20998
  if (service && service._delegate) {
@@ -21278,8 +21011,8 @@ var Component = class {
21278
21011
  * @param instanceFactory Service factory responsible for creating the public interface
21279
21012
  * @param type whether the service provided by the component is public or private
21280
21013
  */
21281
- constructor(name4, instanceFactory, type) {
21282
- this.name = name4;
21014
+ constructor(name3, instanceFactory, type) {
21015
+ this.name = name3;
21283
21016
  this.instanceFactory = instanceFactory;
21284
21017
  this.type = type;
21285
21018
  this.multipleInstances = false;
@@ -21304,260 +21037,6 @@ var Component = class {
21304
21037
  return this;
21305
21038
  }
21306
21039
  };
21307
- var DEFAULT_ENTRY_NAME = "[DEFAULT]";
21308
- var Provider = class {
21309
- constructor(name4, container) {
21310
- this.name = name4;
21311
- this.container = container;
21312
- this.component = null;
21313
- this.instances = /* @__PURE__ */ new Map();
21314
- this.instancesDeferred = /* @__PURE__ */ new Map();
21315
- this.instancesOptions = /* @__PURE__ */ new Map();
21316
- this.onInitCallbacks = /* @__PURE__ */ new Map();
21317
- }
21318
- /**
21319
- * @param identifier A provider can provide multiple instances of a service
21320
- * if this.component.multipleInstances is true.
21321
- */
21322
- get(identifier) {
21323
- const normalizedIdentifier = this.normalizeInstanceIdentifier(identifier);
21324
- if (!this.instancesDeferred.has(normalizedIdentifier)) {
21325
- const deferred = new Deferred();
21326
- this.instancesDeferred.set(normalizedIdentifier, deferred);
21327
- if (this.isInitialized(normalizedIdentifier) || this.shouldAutoInitialize()) {
21328
- try {
21329
- const instance = this.getOrInitializeService({
21330
- instanceIdentifier: normalizedIdentifier
21331
- });
21332
- if (instance) {
21333
- deferred.resolve(instance);
21334
- }
21335
- } catch (e) {
21336
- }
21337
- }
21338
- }
21339
- return this.instancesDeferred.get(normalizedIdentifier).promise;
21340
- }
21341
- getImmediate(options) {
21342
- var _a;
21343
- const normalizedIdentifier = this.normalizeInstanceIdentifier(options == null ? void 0 : options.identifier);
21344
- const optional = (_a = options == null ? void 0 : options.optional) != null ? _a : false;
21345
- if (this.isInitialized(normalizedIdentifier) || this.shouldAutoInitialize()) {
21346
- try {
21347
- return this.getOrInitializeService({
21348
- instanceIdentifier: normalizedIdentifier
21349
- });
21350
- } catch (e) {
21351
- if (optional) {
21352
- return null;
21353
- } else {
21354
- throw e;
21355
- }
21356
- }
21357
- } else {
21358
- if (optional) {
21359
- return null;
21360
- } else {
21361
- throw Error(`Service ${this.name} is not available`);
21362
- }
21363
- }
21364
- }
21365
- getComponent() {
21366
- return this.component;
21367
- }
21368
- setComponent(component) {
21369
- if (component.name !== this.name) {
21370
- throw Error(`Mismatching Component ${component.name} for Provider ${this.name}.`);
21371
- }
21372
- if (this.component) {
21373
- throw Error(`Component for ${this.name} has already been provided`);
21374
- }
21375
- this.component = component;
21376
- if (!this.shouldAutoInitialize()) {
21377
- return;
21378
- }
21379
- if (isComponentEager(component)) {
21380
- try {
21381
- this.getOrInitializeService({ instanceIdentifier: DEFAULT_ENTRY_NAME });
21382
- } catch (e) {
21383
- }
21384
- }
21385
- for (const [instanceIdentifier, instanceDeferred] of this.instancesDeferred.entries()) {
21386
- const normalizedIdentifier = this.normalizeInstanceIdentifier(instanceIdentifier);
21387
- try {
21388
- const instance = this.getOrInitializeService({
21389
- instanceIdentifier: normalizedIdentifier
21390
- });
21391
- instanceDeferred.resolve(instance);
21392
- } catch (e) {
21393
- }
21394
- }
21395
- }
21396
- clearInstance(identifier = DEFAULT_ENTRY_NAME) {
21397
- this.instancesDeferred.delete(identifier);
21398
- this.instancesOptions.delete(identifier);
21399
- this.instances.delete(identifier);
21400
- }
21401
- // app.delete() will call this method on every provider to delete the services
21402
- // TODO: should we mark the provider as deleted?
21403
- async delete() {
21404
- const services = Array.from(this.instances.values());
21405
- await Promise.all([
21406
- ...services.filter((service) => "INTERNAL" in service).map((service) => service.INTERNAL.delete()),
21407
- ...services.filter((service) => "_delete" in service).map((service) => service._delete())
21408
- ]);
21409
- }
21410
- isComponentSet() {
21411
- return this.component != null;
21412
- }
21413
- isInitialized(identifier = DEFAULT_ENTRY_NAME) {
21414
- return this.instances.has(identifier);
21415
- }
21416
- getOptions(identifier = DEFAULT_ENTRY_NAME) {
21417
- return this.instancesOptions.get(identifier) || {};
21418
- }
21419
- initialize(opts = {}) {
21420
- const { options = {} } = opts;
21421
- const normalizedIdentifier = this.normalizeInstanceIdentifier(opts.instanceIdentifier);
21422
- if (this.isInitialized(normalizedIdentifier)) {
21423
- throw Error(`${this.name}(${normalizedIdentifier}) has already been initialized`);
21424
- }
21425
- if (!this.isComponentSet()) {
21426
- throw Error(`Component ${this.name} has not been registered yet`);
21427
- }
21428
- const instance = this.getOrInitializeService({
21429
- instanceIdentifier: normalizedIdentifier,
21430
- options
21431
- });
21432
- for (const [instanceIdentifier, instanceDeferred] of this.instancesDeferred.entries()) {
21433
- const normalizedDeferredIdentifier = this.normalizeInstanceIdentifier(instanceIdentifier);
21434
- if (normalizedIdentifier === normalizedDeferredIdentifier) {
21435
- instanceDeferred.resolve(instance);
21436
- }
21437
- }
21438
- return instance;
21439
- }
21440
- /**
21441
- *
21442
- * @param callback - a function that will be invoked after the provider has been initialized by calling provider.initialize().
21443
- * The function is invoked SYNCHRONOUSLY, so it should not execute any longrunning tasks in order to not block the program.
21444
- *
21445
- * @param identifier An optional instance identifier
21446
- * @returns a function to unregister the callback
21447
- */
21448
- onInit(callback, identifier) {
21449
- var _a;
21450
- const normalizedIdentifier = this.normalizeInstanceIdentifier(identifier);
21451
- const existingCallbacks = (_a = this.onInitCallbacks.get(normalizedIdentifier)) != null ? _a : /* @__PURE__ */ new Set();
21452
- existingCallbacks.add(callback);
21453
- this.onInitCallbacks.set(normalizedIdentifier, existingCallbacks);
21454
- const existingInstance = this.instances.get(normalizedIdentifier);
21455
- if (existingInstance) {
21456
- callback(existingInstance, normalizedIdentifier);
21457
- }
21458
- return () => {
21459
- existingCallbacks.delete(callback);
21460
- };
21461
- }
21462
- /**
21463
- * Invoke onInit callbacks synchronously
21464
- * @param instance the service instance`
21465
- */
21466
- invokeOnInitCallbacks(instance, identifier) {
21467
- const callbacks = this.onInitCallbacks.get(identifier);
21468
- if (!callbacks) {
21469
- return;
21470
- }
21471
- for (const callback of callbacks) {
21472
- try {
21473
- callback(instance, identifier);
21474
- } catch {
21475
- }
21476
- }
21477
- }
21478
- getOrInitializeService({ instanceIdentifier, options = {} }) {
21479
- let instance = this.instances.get(instanceIdentifier);
21480
- if (!instance && this.component) {
21481
- instance = this.component.instanceFactory(this.container, {
21482
- instanceIdentifier: normalizeIdentifierForFactory(instanceIdentifier),
21483
- options
21484
- });
21485
- this.instances.set(instanceIdentifier, instance);
21486
- this.instancesOptions.set(instanceIdentifier, options);
21487
- this.invokeOnInitCallbacks(instance, instanceIdentifier);
21488
- if (this.component.onInstanceCreated) {
21489
- try {
21490
- this.component.onInstanceCreated(this.container, instanceIdentifier, instance);
21491
- } catch {
21492
- }
21493
- }
21494
- }
21495
- return instance || null;
21496
- }
21497
- normalizeInstanceIdentifier(identifier = DEFAULT_ENTRY_NAME) {
21498
- if (this.component) {
21499
- return this.component.multipleInstances ? identifier : DEFAULT_ENTRY_NAME;
21500
- } else {
21501
- return identifier;
21502
- }
21503
- }
21504
- shouldAutoInitialize() {
21505
- return !!this.component && this.component.instantiationMode !== "EXPLICIT";
21506
- }
21507
- };
21508
- function normalizeIdentifierForFactory(identifier) {
21509
- return identifier === DEFAULT_ENTRY_NAME ? void 0 : identifier;
21510
- }
21511
- function isComponentEager(component) {
21512
- return component.instantiationMode === "EAGER";
21513
- }
21514
- var ComponentContainer = class {
21515
- constructor(name4) {
21516
- this.name = name4;
21517
- this.providers = /* @__PURE__ */ new Map();
21518
- }
21519
- /**
21520
- *
21521
- * @param component Component being added
21522
- * @param overwrite When a component with the same name has already been registered,
21523
- * if overwrite is true: overwrite the existing component with the new component and create a new
21524
- * provider with the new component. It can be useful in tests where you want to use different mocks
21525
- * for different tests.
21526
- * if overwrite is false: throw an exception
21527
- */
21528
- addComponent(component) {
21529
- const provider = this.getProvider(component.name);
21530
- if (provider.isComponentSet()) {
21531
- throw new Error(`Component ${component.name} has already been registered with ${this.name}`);
21532
- }
21533
- provider.setComponent(component);
21534
- }
21535
- addOrOverwriteComponent(component) {
21536
- const provider = this.getProvider(component.name);
21537
- if (provider.isComponentSet()) {
21538
- this.providers.delete(component.name);
21539
- }
21540
- this.addComponent(component);
21541
- }
21542
- /**
21543
- * getProvider provides a type safe interface where it can only be called with a field name
21544
- * present in NameServiceMapping interface.
21545
- *
21546
- * Firebase SDKs providing services should extend NameServiceMapping interface to register
21547
- * themselves.
21548
- */
21549
- getProvider(name4) {
21550
- if (this.providers.has(name4)) {
21551
- return this.providers.get(name4);
21552
- }
21553
- const provider = new Provider(name4, this);
21554
- this.providers.set(name4, provider);
21555
- return provider;
21556
- }
21557
- getProviders() {
21558
- return Array.from(this.providers.values());
21559
- }
21560
- };
21561
21040
 
21562
21041
  // ../node_modules/@firebase/logger/dist/esm/index.esm.js
21563
21042
  var instances = [];
@@ -21605,8 +21084,8 @@ var Logger = class {
21605
21084
  *
21606
21085
  * @param name The name that the logs will be associated with
21607
21086
  */
21608
- constructor(name4) {
21609
- this.name = name4;
21087
+ constructor(name3) {
21088
+ this.name = name3;
21610
21089
  this._logLevel = defaultLogLevel;
21611
21090
  this._logHandler = defaultLogHandler;
21612
21091
  this._userLogHandler = null;
@@ -21809,8 +21288,8 @@ function wrap(value) {
21809
21288
  var unwrap = (value) => reverseTransformCache.get(value);
21810
21289
 
21811
21290
  // ../node_modules/idb/build/index.js
21812
- function openDB(name4, version4, { blocked, upgrade, blocking, terminated } = {}) {
21813
- const request = indexedDB.open(name4, version4);
21291
+ function openDB(name3, version3, { blocked, upgrade, blocking, terminated } = {}) {
21292
+ const request = indexedDB.open(name3, version3);
21814
21293
  const openPromise = wrap(request);
21815
21294
  if (upgrade) {
21816
21295
  request.addEventListener("upgradeneeded", (event) => {
@@ -21825,11 +21304,11 @@ function openDB(name4, version4, { blocked, upgrade, blocking, terminated } = {}
21825
21304
  event
21826
21305
  ));
21827
21306
  }
21828
- openPromise.then((db2) => {
21307
+ openPromise.then((db) => {
21829
21308
  if (terminated)
21830
- db2.addEventListener("close", () => terminated());
21309
+ db.addEventListener("close", () => terminated());
21831
21310
  if (blocking) {
21832
- db2.addEventListener("versionchange", (event) => blocking(event.oldVersion, event.newVersion, event));
21311
+ db.addEventListener("versionchange", (event) => blocking(event.oldVersion, event.newVersion, event));
21833
21312
  }
21834
21313
  }).catch(() => {
21835
21314
  });
@@ -21925,7 +21404,6 @@ var name$2 = "@firebase/ai";
21925
21404
  var name$1 = "@firebase/firestore-compat";
21926
21405
  var name2 = "firebase";
21927
21406
  var version = "12.6.0";
21928
- var DEFAULT_ENTRY_NAME2 = "[DEFAULT]";
21929
21407
  var PLATFORM_LOG_STRING = {
21930
21408
  [name$q]: "fire-core",
21931
21409
  [name$p]: "fire-core-compat",
@@ -21960,11 +21438,11 @@ var PLATFORM_LOG_STRING = {
21960
21438
  var _apps = /* @__PURE__ */ new Map();
21961
21439
  var _serverApps = /* @__PURE__ */ new Map();
21962
21440
  var _components = /* @__PURE__ */ new Map();
21963
- function _addComponent(app2, component) {
21441
+ function _addComponent(app, component) {
21964
21442
  try {
21965
- app2.container.addComponent(component);
21443
+ app.container.addComponent(component);
21966
21444
  } catch (e) {
21967
- logger.debug(`Component ${component.name} failed to register with FirebaseApp ${app2.name}`, e);
21445
+ logger.debug(`Component ${component.name} failed to register with FirebaseApp ${app.name}`, e);
21968
21446
  }
21969
21447
  }
21970
21448
  function _registerComponent(component) {
@@ -21974,21 +21452,14 @@ function _registerComponent(component) {
21974
21452
  return false;
21975
21453
  }
21976
21454
  _components.set(componentName, component);
21977
- for (const app2 of _apps.values()) {
21978
- _addComponent(app2, component);
21455
+ for (const app of _apps.values()) {
21456
+ _addComponent(app, component);
21979
21457
  }
21980
21458
  for (const serverApp of _serverApps.values()) {
21981
21459
  _addComponent(serverApp, component);
21982
21460
  }
21983
21461
  return true;
21984
21462
  }
21985
- function _getProvider(app2, name4) {
21986
- const heartbeatController = app2.container.getProvider("heartbeat").getImmediate({ optional: true });
21987
- if (heartbeatController) {
21988
- void heartbeatController.triggerHeartbeat();
21989
- }
21990
- return app2.container.getProvider(name4);
21991
- }
21992
21463
  function _isFirebaseServerApp(obj) {
21993
21464
  if (obj === null || obj === void 0) {
21994
21465
  return false;
@@ -22054,122 +21525,18 @@ var ERRORS = {
22054
21525
  ]: "FirebaseServerApp is not for use in browser environments."
22055
21526
  };
22056
21527
  var ERROR_FACTORY = new ErrorFactory("app", "Firebase", ERRORS);
22057
- var FirebaseAppImpl = class {
22058
- constructor(options, config, container) {
22059
- this._isDeleted = false;
22060
- this._options = { ...options };
22061
- this._config = { ...config };
22062
- this._name = config.name;
22063
- this._automaticDataCollectionEnabled = config.automaticDataCollectionEnabled;
22064
- this._container = container;
22065
- this.container.addComponent(new Component(
22066
- "app",
22067
- () => this,
22068
- "PUBLIC"
22069
- /* ComponentType.PUBLIC */
22070
- ));
22071
- }
22072
- get automaticDataCollectionEnabled() {
22073
- this.checkDestroyed();
22074
- return this._automaticDataCollectionEnabled;
22075
- }
22076
- set automaticDataCollectionEnabled(val) {
22077
- this.checkDestroyed();
22078
- this._automaticDataCollectionEnabled = val;
22079
- }
22080
- get name() {
22081
- this.checkDestroyed();
22082
- return this._name;
22083
- }
22084
- get options() {
22085
- this.checkDestroyed();
22086
- return this._options;
22087
- }
22088
- get config() {
22089
- this.checkDestroyed();
22090
- return this._config;
22091
- }
22092
- get container() {
22093
- return this._container;
22094
- }
22095
- get isDeleted() {
22096
- return this._isDeleted;
22097
- }
22098
- set isDeleted(val) {
22099
- this._isDeleted = val;
22100
- }
22101
- /**
22102
- * This function will throw an Error if the App has already been deleted -
22103
- * use before performing API actions on the App.
22104
- */
22105
- checkDestroyed() {
22106
- if (this.isDeleted) {
22107
- throw ERROR_FACTORY.create("app-deleted", { appName: this._name });
22108
- }
22109
- }
22110
- };
22111
21528
  var SDK_VERSION = version;
22112
- function initializeApp(_options, rawConfig = {}) {
22113
- let options = _options;
22114
- if (typeof rawConfig !== "object") {
22115
- const name5 = rawConfig;
22116
- rawConfig = { name: name5 };
22117
- }
22118
- const config = {
22119
- name: DEFAULT_ENTRY_NAME2,
22120
- automaticDataCollectionEnabled: true,
22121
- ...rawConfig
22122
- };
22123
- const name4 = config.name;
22124
- if (typeof name4 !== "string" || !name4) {
22125
- throw ERROR_FACTORY.create("bad-app-name", {
22126
- appName: String(name4)
22127
- });
22128
- }
22129
- options || (options = getDefaultAppConfig());
22130
- if (!options) {
22131
- throw ERROR_FACTORY.create(
22132
- "no-options"
22133
- /* AppError.NO_OPTIONS */
22134
- );
22135
- }
22136
- const existingApp = _apps.get(name4);
22137
- if (existingApp) {
22138
- if (deepEqual(options, existingApp.options) && deepEqual(config, existingApp.config)) {
22139
- return existingApp;
22140
- } else {
22141
- throw ERROR_FACTORY.create("duplicate-app", { appName: name4 });
22142
- }
22143
- }
22144
- const container = new ComponentContainer(name4);
22145
- for (const component of _components.values()) {
22146
- container.addComponent(component);
22147
- }
22148
- const newApp = new FirebaseAppImpl(options, config, container);
22149
- _apps.set(name4, newApp);
22150
- return newApp;
22151
- }
22152
- function getApp(name4 = DEFAULT_ENTRY_NAME2) {
22153
- const app2 = _apps.get(name4);
22154
- if (!app2 && name4 === DEFAULT_ENTRY_NAME2 && getDefaultAppConfig()) {
22155
- return initializeApp();
22156
- }
22157
- if (!app2) {
22158
- throw ERROR_FACTORY.create("no-app", { appName: name4 });
22159
- }
22160
- return app2;
22161
- }
22162
- function registerVersion(libraryKeyOrName, version4, variant) {
21529
+ function registerVersion(libraryKeyOrName, version3, variant) {
22163
21530
  var _a;
22164
21531
  let library = (_a = PLATFORM_LOG_STRING[libraryKeyOrName]) != null ? _a : libraryKeyOrName;
22165
21532
  if (variant) {
22166
21533
  library += `-${variant}`;
22167
21534
  }
22168
21535
  const libraryMismatch = library.match(/\s|\//);
22169
- const versionMismatch = version4.match(/\s|\//);
21536
+ const versionMismatch = version3.match(/\s|\//);
22170
21537
  if (libraryMismatch || versionMismatch) {
22171
21538
  const warning = [
22172
- `Unable to register library "${library}" with version "${version4}":`
21539
+ `Unable to register library "${library}" with version "${version3}":`
22173
21540
  ];
22174
21541
  if (libraryMismatch) {
22175
21542
  warning.push(`library name "${library}" contains illegal characters (whitespace or "/")`);
@@ -22178,14 +21545,14 @@ function registerVersion(libraryKeyOrName, version4, variant) {
22178
21545
  warning.push("and");
22179
21546
  }
22180
21547
  if (versionMismatch) {
22181
- warning.push(`version name "${version4}" contains illegal characters (whitespace or "/")`);
21548
+ warning.push(`version name "${version3}" contains illegal characters (whitespace or "/")`);
22182
21549
  }
22183
21550
  logger.warn(warning.join(" "));
22184
21551
  return;
22185
21552
  }
22186
21553
  _registerComponent(new Component(
22187
21554
  `${library}-version`,
22188
- () => ({ library, version: version4 }),
21555
+ () => ({ library, version: version3 }),
22189
21556
  "VERSION"
22190
21557
  /* ComponentType.VERSION */
22191
21558
  ));
@@ -22197,11 +21564,11 @@ var dbPromise = null;
22197
21564
  function getDbPromise() {
22198
21565
  if (!dbPromise) {
22199
21566
  dbPromise = openDB(DB_NAME, DB_VERSION, {
22200
- upgrade: (db2, oldVersion) => {
21567
+ upgrade: (db, oldVersion) => {
22201
21568
  switch (oldVersion) {
22202
21569
  case 0:
22203
21570
  try {
22204
- db2.createObjectStore(STORE_NAME);
21571
+ db.createObjectStore(STORE_NAME);
22205
21572
  } catch (e) {
22206
21573
  console.warn(e);
22207
21574
  }
@@ -22215,11 +21582,11 @@ function getDbPromise() {
22215
21582
  }
22216
21583
  return dbPromise;
22217
21584
  }
22218
- async function readHeartbeatsFromIndexedDB(app2) {
21585
+ async function readHeartbeatsFromIndexedDB(app) {
22219
21586
  try {
22220
- const db2 = await getDbPromise();
22221
- const tx = db2.transaction(STORE_NAME);
22222
- const result = await tx.objectStore(STORE_NAME).get(computeKey(app2));
21587
+ const db = await getDbPromise();
21588
+ const tx = db.transaction(STORE_NAME);
21589
+ const result = await tx.objectStore(STORE_NAME).get(computeKey(app));
22223
21590
  await tx.done;
22224
21591
  return result;
22225
21592
  } catch (e) {
@@ -22233,12 +21600,12 @@ async function readHeartbeatsFromIndexedDB(app2) {
22233
21600
  }
22234
21601
  }
22235
21602
  }
22236
- async function writeHeartbeatsToIndexedDB(app2, heartbeatObject) {
21603
+ async function writeHeartbeatsToIndexedDB(app, heartbeatObject) {
22237
21604
  try {
22238
- const db2 = await getDbPromise();
22239
- const tx = db2.transaction(STORE_NAME, "readwrite");
21605
+ const db = await getDbPromise();
21606
+ const tx = db.transaction(STORE_NAME, "readwrite");
22240
21607
  const objectStore = tx.objectStore(STORE_NAME);
22241
- await objectStore.put(heartbeatObject, computeKey(app2));
21608
+ await objectStore.put(heartbeatObject, computeKey(app));
22242
21609
  await tx.done;
22243
21610
  } catch (e) {
22244
21611
  if (e instanceof FirebaseError) {
@@ -22251,8 +21618,8 @@ async function writeHeartbeatsToIndexedDB(app2, heartbeatObject) {
22251
21618
  }
22252
21619
  }
22253
21620
  }
22254
- function computeKey(app2) {
22255
- return `${app2.name}!${app2.options.appId}`;
21621
+ function computeKey(app) {
21622
+ return `${app.name}!${app.options.appId}`;
22256
21623
  }
22257
21624
  var MAX_HEADER_BYTES = 1024;
22258
21625
  var MAX_NUM_STORED_HEARTBEATS = 30;
@@ -22260,8 +21627,8 @@ var HeartbeatServiceImpl = class {
22260
21627
  constructor(container) {
22261
21628
  this.container = container;
22262
21629
  this._heartbeatsCache = null;
22263
- const app2 = this.container.getProvider("app").getImmediate();
22264
- this._storage = new HeartbeatStorageImpl(app2);
21630
+ const app = this.container.getProvider("app").getImmediate();
21631
+ this._storage = new HeartbeatStorageImpl(app);
22265
21632
  this._heartbeatsCachePromise = this._storage.read().then((result) => {
22266
21633
  this._heartbeatsCache = result;
22267
21634
  return result;
@@ -22367,8 +21734,8 @@ function extractHeartbeatsForHeader(heartbeatsCache, maxSize = MAX_HEADER_BYTES)
22367
21734
  };
22368
21735
  }
22369
21736
  var HeartbeatStorageImpl = class {
22370
- constructor(app2) {
22371
- this.app = app2;
21737
+ constructor(app) {
21738
+ this.app = app;
22372
21739
  this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
22373
21740
  }
22374
21741
  async runIndexedDBEnvironmentCheck() {
@@ -22932,8 +22299,8 @@ User.FIRST_PARTY = new User("first-party-uid");
22932
22299
  User.MOCK_USER = new User("mock-user");
22933
22300
  var version2 = "12.3.0";
22934
22301
  var SDK_VERSION2 = version2;
22935
- function setSDKVersion(version4) {
22936
- SDK_VERSION2 = version4;
22302
+ function setSDKVersion(version3) {
22303
+ SDK_VERSION2 = version3;
22937
22304
  }
22938
22305
  function formatJSON(value) {
22939
22306
  return inspect(value, { depth: 100 });
@@ -23156,24 +22523,6 @@ var EmptyAuthCredentialsProvider = class {
23156
22523
  shutdown() {
23157
22524
  }
23158
22525
  };
23159
- var EmulatorAuthCredentialsProvider = class {
23160
- constructor(token) {
23161
- this.token = token;
23162
- this.changeListener = null;
23163
- }
23164
- getToken() {
23165
- return Promise.resolve(this.token);
23166
- }
23167
- invalidateToken() {
23168
- }
23169
- start(asyncQueue, changeListener) {
23170
- this.changeListener = changeListener;
23171
- asyncQueue.enqueueRetryable(() => changeListener(this.token.user));
23172
- }
23173
- shutdown() {
23174
- this.changeListener = null;
23175
- }
23176
- };
23177
22526
  var FirebaseAuthCredentialsProvider = class {
23178
22527
  constructor(authProvider) {
23179
22528
  this.authProvider = authProvider;
@@ -23331,14 +22680,14 @@ var AppCheckToken = class {
23331
22680
  }
23332
22681
  };
23333
22682
  var FirebaseAppCheckTokenProvider = class {
23334
- constructor(app2, appCheckProvider) {
22683
+ constructor(app, appCheckProvider) {
23335
22684
  this.appCheckProvider = appCheckProvider;
23336
22685
  this.forceRefresh = false;
23337
22686
  this.appCheck = null;
23338
22687
  this.latestAppCheckToken = null;
23339
22688
  this.serverAppAppCheckToken = null;
23340
- if (_isFirebaseServerApp(app2) && app2.settings.appCheckToken) {
23341
- this.serverAppAppCheckToken = app2.settings.appCheckToken;
22689
+ if (_isFirebaseServerApp(app) && app.settings.appCheckToken) {
22690
+ this.serverAppAppCheckToken = app.settings.appCheckToken;
23342
22691
  }
23343
22692
  }
23344
22693
  start(asyncQueue, changeListener) {
@@ -23732,8 +23081,8 @@ var DocumentKey = class _DocumentKey {
23732
23081
  static fromPath(path) {
23733
23082
  return new _DocumentKey(ResourcePath.fromString(path));
23734
23083
  }
23735
- static fromName(name4) {
23736
- return new _DocumentKey(ResourcePath.fromString(name4).popFirst(5));
23084
+ static fromName(name3) {
23085
+ return new _DocumentKey(ResourcePath.fromString(name3).popFirst(5));
23737
23086
  }
23738
23087
  static empty() {
23739
23088
  return new _DocumentKey(ResourcePath.emptyPath());
@@ -24286,8 +23635,8 @@ var PersistencePromise = class _PersistencePromise {
24286
23635
  };
24287
23636
  function getAndroidVersion(ua) {
24288
23637
  const androidVersionRegex = ua.match(/Android ([\d.]+)/i);
24289
- const version4 = androidVersionRegex ? androidVersionRegex[1].split(".").slice(0, 2).join(".") : "-1";
24290
- return Number(version4);
23638
+ const version3 = androidVersionRegex ? androidVersionRegex[1].split(".").slice(0, 2).join(".") : "-1";
23639
+ return Number(version3);
24291
23640
  }
24292
23641
  function isIndexedDbTransactionError(e) {
24293
23642
  return e.name === "IndexedDbTransactionError";
@@ -25206,11 +24555,11 @@ var DatabaseId = class _DatabaseId {
25206
24555
  return other instanceof _DatabaseId && other.projectId === this.projectId && other.database === this.database;
25207
24556
  }
25208
24557
  };
25209
- function databaseIdFromApp(app2, database) {
25210
- if (!Object.prototype.hasOwnProperty.apply(app2.options, ["projectId"])) {
24558
+ function databaseIdFromApp(app, database) {
24559
+ if (!Object.prototype.hasOwnProperty.apply(app.options, ["projectId"])) {
25211
24560
  throw new FirestoreError(Code.INVALID_ARGUMENT, '"projectId" not provided in firebase.initializeApp.');
25212
24561
  }
25213
- return new DatabaseId(app2.options.projectId, database);
24562
+ return new DatabaseId(app.options.projectId, database);
25214
24563
  }
25215
24564
  var BATCHID_UNKNOWN = -1;
25216
24565
  function isNullOrUndefined(value) {
@@ -25771,10 +25120,10 @@ var ObjectValue = class _ObjectValue {
25771
25120
  }
25772
25121
  };
25773
25122
  var MutableDocument = class _MutableDocument {
25774
- constructor(key, documentType, version4, readTime, createTime, data, documentState) {
25123
+ constructor(key, documentType, version3, readTime, createTime, data, documentState) {
25775
25124
  this.key = key;
25776
25125
  this.documentType = documentType;
25777
- this.version = version4;
25126
+ this.version = version3;
25778
25127
  this.readTime = readTime;
25779
25128
  this.createTime = createTime;
25780
25129
  this.data = data;
@@ -25803,12 +25152,12 @@ var MutableDocument = class _MutableDocument {
25803
25152
  * Creates a new document that is known to exist with the given data at the
25804
25153
  * given version.
25805
25154
  */
25806
- static newFoundDocument(documentKey, version4, createTime, value) {
25155
+ static newFoundDocument(documentKey, version3, createTime, value) {
25807
25156
  return new _MutableDocument(
25808
25157
  documentKey,
25809
25158
  1,
25810
25159
  /* version */
25811
- version4,
25160
+ version3,
25812
25161
  /* readTime */
25813
25162
  SnapshotVersion.min(),
25814
25163
  /* createTime */
@@ -25819,12 +25168,12 @@ var MutableDocument = class _MutableDocument {
25819
25168
  );
25820
25169
  }
25821
25170
  /** Creates a new document that is known to not exist at the given version. */
25822
- static newNoDocument(documentKey, version4) {
25171
+ static newNoDocument(documentKey, version3) {
25823
25172
  return new _MutableDocument(
25824
25173
  documentKey,
25825
25174
  2,
25826
25175
  /* version */
25827
- version4,
25176
+ version3,
25828
25177
  /* readTime */
25829
25178
  SnapshotVersion.min(),
25830
25179
  /* createTime */
@@ -25839,12 +25188,12 @@ var MutableDocument = class _MutableDocument {
25839
25188
  * whose data is not known (e.g. a document that was updated without a known
25840
25189
  * base document).
25841
25190
  */
25842
- static newUnknownDocument(documentKey, version4) {
25191
+ static newUnknownDocument(documentKey, version3) {
25843
25192
  return new _MutableDocument(
25844
25193
  documentKey,
25845
25194
  3,
25846
25195
  /* version */
25847
- version4,
25196
+ version3,
25848
25197
  /* readTime */
25849
25198
  SnapshotVersion.min(),
25850
25199
  /* createTime */
@@ -25858,11 +25207,11 @@ var MutableDocument = class _MutableDocument {
25858
25207
  * Changes the document type to indicate that it exists and that its version
25859
25208
  * and data are known.
25860
25209
  */
25861
- convertToFoundDocument(version4, value) {
25210
+ convertToFoundDocument(version3, value) {
25862
25211
  if (this.createTime.isEqual(SnapshotVersion.min()) && (this.documentType === 2 || this.documentType === 0)) {
25863
- this.createTime = version4;
25212
+ this.createTime = version3;
25864
25213
  }
25865
- this.version = version4;
25214
+ this.version = version3;
25866
25215
  this.documentType = 1;
25867
25216
  this.data = value;
25868
25217
  this.documentState = 0;
@@ -25872,8 +25221,8 @@ var MutableDocument = class _MutableDocument {
25872
25221
  * Changes the document type to indicate that it doesn't exist at the given
25873
25222
  * version.
25874
25223
  */
25875
- convertToNoDocument(version4) {
25876
- this.version = version4;
25224
+ convertToNoDocument(version3) {
25225
+ this.version = version3;
25877
25226
  this.documentType = 2;
25878
25227
  this.data = ObjectValue.empty();
25879
25228
  this.documentState = 0;
@@ -25884,8 +25233,8 @@ var MutableDocument = class _MutableDocument {
25884
25233
  * that its data is not known (e.g. a document that was updated without a known
25885
25234
  * base document).
25886
25235
  */
25887
- convertToUnknownDocument(version4) {
25888
- this.version = version4;
25236
+ convertToUnknownDocument(version3) {
25237
+ this.version = version3;
25889
25238
  this.documentType = 3;
25890
25239
  this.data = ObjectValue.empty();
25891
25240
  this.documentState = 2;
@@ -26798,8 +26147,8 @@ var Precondition = class _Precondition {
26798
26147
  return new _Precondition(void 0, exists);
26799
26148
  }
26800
26149
  /** Creates a new Precondition based on a version a document exists at. */
26801
- static updateTime(version4) {
26802
- return new _Precondition(version4);
26150
+ static updateTime(version3) {
26151
+ return new _Precondition(version3);
26803
26152
  }
26804
26153
  /** Returns whether this Precondition is empty. */
26805
26154
  get isNone() {
@@ -27992,9 +27341,9 @@ function fromBytes(serializer, value) {
27992
27341
  return ByteString.fromUint8Array(value ? value : new Uint8Array());
27993
27342
  }
27994
27343
  }
27995
- function fromVersion(version4) {
27996
- hardAssert(!!version4, 49232);
27997
- return SnapshotVersion.fromTimestamp(fromTimestamp(version4));
27344
+ function fromVersion(version3) {
27345
+ hardAssert(!!version3, 49232);
27346
+ return SnapshotVersion.fromTimestamp(fromTimestamp(version3));
27998
27347
  }
27999
27348
  function toResourceName(databaseId, path) {
28000
27349
  return toResourcePath(databaseId, path).canonicalString();
@@ -28003,16 +27352,16 @@ function toResourcePath(databaseId, path) {
28003
27352
  const resourcePath = fullyQualifiedPrefixPath(databaseId).child("documents");
28004
27353
  return path === void 0 ? resourcePath : resourcePath.child(path);
28005
27354
  }
28006
- function fromResourceName(name4) {
28007
- const resource = ResourcePath.fromString(name4);
27355
+ function fromResourceName(name3) {
27356
+ const resource = ResourcePath.fromString(name3);
28008
27357
  hardAssert(isValidResourceName(resource), 10190, { key: resource.toString() });
28009
27358
  return resource;
28010
27359
  }
28011
27360
  function toName(serializer, key) {
28012
27361
  return toResourceName(serializer.databaseId, key.path);
28013
27362
  }
28014
- function fromName(serializer, name4) {
28015
- const resource = fromResourceName(name4);
27363
+ function fromName(serializer, name3) {
27364
+ const resource = fromResourceName(name3);
28016
27365
  if (resource.get(1) !== serializer.databaseId.projectId) {
28017
27366
  throw new FirestoreError(Code.INVALID_ARGUMENT, "Tried to deserialize key from different project: " + resource.get(1) + " vs " + serializer.databaseId.projectId);
28018
27367
  }
@@ -28024,8 +27373,8 @@ function fromName(serializer, name4) {
28024
27373
  function toQueryPath(serializer, path) {
28025
27374
  return toResourceName(serializer.databaseId, path);
28026
27375
  }
28027
- function fromQueryPath(name4) {
28028
- const resourceName = fromResourceName(name4);
27376
+ function fromQueryPath(name3) {
27377
+ const resourceName = fromResourceName(name3);
28029
27378
  if (resourceName.length === 4) {
28030
27379
  return ResourcePath.emptyPath();
28031
27380
  }
@@ -28069,12 +27418,12 @@ function fromWatchChange(serializer, change) {
28069
27418
  assertPresent(entityChange.document.name);
28070
27419
  assertPresent(entityChange.document.updateTime);
28071
27420
  const key = fromName(serializer, entityChange.document.name);
28072
- const version4 = fromVersion(entityChange.document.updateTime);
27421
+ const version3 = fromVersion(entityChange.document.updateTime);
28073
27422
  const createTime = entityChange.document.createTime ? fromVersion(entityChange.document.createTime) : SnapshotVersion.min();
28074
27423
  const data = new ObjectValue({
28075
27424
  mapValue: { fields: entityChange.document.fields }
28076
27425
  });
28077
- const doc3 = MutableDocument.newFoundDocument(key, version4, createTime, data);
27426
+ const doc3 = MutableDocument.newFoundDocument(key, version3, createTime, data);
28078
27427
  const updatedTargetIds = entityChange.targetIds || [];
28079
27428
  const removedTargetIds = entityChange.removedTargetIds || [];
28080
27429
  watchChange = new DocumentWatchChange(updatedTargetIds, removedTargetIds, doc3.key, doc3);
@@ -28083,8 +27432,8 @@ function fromWatchChange(serializer, change) {
28083
27432
  const docDelete = change.documentDelete;
28084
27433
  assertPresent(docDelete.document);
28085
27434
  const key = fromName(serializer, docDelete.document);
28086
- const version4 = docDelete.readTime ? fromVersion(docDelete.readTime) : SnapshotVersion.min();
28087
- const doc3 = MutableDocument.newNoDocument(key, version4);
27435
+ const version3 = docDelete.readTime ? fromVersion(docDelete.readTime) : SnapshotVersion.min();
27436
+ const doc3 = MutableDocument.newNoDocument(key, version3);
28088
27437
  const removedTargetIds = docDelete.removedTargetIds || [];
28089
27438
  watchChange = new DocumentWatchChange([], removedTargetIds, doc3.key, doc3);
28090
27439
  } else if ("documentRemove" in change) {
@@ -36499,50 +35848,6 @@ var Firestore$1 = class {
36499
35848
  return Promise.resolve();
36500
35849
  }
36501
35850
  };
36502
- function connectFirestoreEmulator(firestore, host, port, options = {}) {
36503
- var _a;
36504
- firestore = cast(firestore, Firestore$1);
36505
- const useSsl = isCloudWorkstation(host);
36506
- const settings = firestore._getSettings();
36507
- const existingConfig = {
36508
- ...settings,
36509
- emulatorOptions: firestore._getEmulatorOptions()
36510
- };
36511
- const newHostSetting = `${host}:${port}`;
36512
- if (useSsl) {
36513
- void pingServer(`https://${newHostSetting}`);
36514
- updateEmulatorBanner("Firestore", true);
36515
- }
36516
- if (settings.host !== DEFAULT_HOST && settings.host !== newHostSetting) {
36517
- logWarn("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used.");
36518
- }
36519
- const newConfig = {
36520
- ...settings,
36521
- host: newHostSetting,
36522
- ssl: useSsl,
36523
- emulatorOptions: options
36524
- };
36525
- if (deepEqual(newConfig, existingConfig)) {
36526
- return;
36527
- }
36528
- firestore._setSettings(newConfig);
36529
- if (options.mockUserToken) {
36530
- let token;
36531
- let user;
36532
- if (typeof options.mockUserToken === "string") {
36533
- token = options.mockUserToken;
36534
- user = User.MOCK_USER;
36535
- } else {
36536
- token = createMockUserToken(options.mockUserToken, (_a = firestore._app) == null ? void 0 : _a.options.projectId);
36537
- const uid = options.mockUserToken.sub || options.mockUserToken.user_id;
36538
- if (!uid) {
36539
- throw new FirestoreError(Code.INVALID_ARGUMENT, "mockUserToken must contain 'sub' or 'user_id' field!");
36540
- }
36541
- user = new User(uid);
36542
- }
36543
- firestore._authCredentials = new EmulatorAuthCredentialsProvider(new OAuthToken(token, user));
36544
- }
36545
- }
36546
35851
  var Query = class _Query {
36547
35852
  // This is the lite version of the Query class in the main SDK.
36548
35853
  /** @hideconstructor protected */
@@ -36860,11 +36165,11 @@ function getMessageOrStack(error) {
36860
36165
  }
36861
36166
  var Firestore = class extends Firestore$1 {
36862
36167
  /** @hideconstructor */
36863
- constructor(authCredentialsProvider, appCheckCredentialsProvider, databaseId, app2) {
36864
- super(authCredentialsProvider, appCheckCredentialsProvider, databaseId, app2);
36168
+ constructor(authCredentialsProvider, appCheckCredentialsProvider, databaseId, app) {
36169
+ super(authCredentialsProvider, appCheckCredentialsProvider, databaseId, app);
36865
36170
  this.type = "firestore";
36866
36171
  this._queue = new AsyncQueueImpl();
36867
- this._persistenceKey = (app2 == null ? void 0 : app2.name) || "[DEFAULT]";
36172
+ this._persistenceKey = (app == null ? void 0 : app.name) || "[DEFAULT]";
36868
36173
  }
36869
36174
  async _terminate() {
36870
36175
  if (this._firestoreClient) {
@@ -36875,20 +36180,6 @@ var Firestore = class extends Firestore$1 {
36875
36180
  }
36876
36181
  }
36877
36182
  };
36878
- function getFirestore(appOrDatabaseId, optionalDatabaseId) {
36879
- const app2 = typeof appOrDatabaseId === "object" ? appOrDatabaseId : getApp();
36880
- const databaseId = typeof appOrDatabaseId === "string" ? appOrDatabaseId : optionalDatabaseId || DEFAULT_DATABASE_NAME;
36881
- const db2 = _getProvider(app2, "firestore").getImmediate({
36882
- identifier: databaseId
36883
- });
36884
- if (!db2._initialized) {
36885
- const emulator = getDefaultEmulatorHostnameAndPort("firestore");
36886
- if (emulator) {
36887
- connectFirestoreEmulator(db2, ...emulator);
36888
- }
36889
- }
36890
- return db2;
36891
- }
36892
36183
  function ensureFirestoreConfigured(firestore) {
36893
36184
  if (firestore._terminated) {
36894
36185
  throw new FirestoreError(Code.FAILED_PRECONDITION, "The client has already been terminated.");
@@ -36922,8 +36213,8 @@ function buildComponentProvider(componentsProvider) {
36922
36213
  function registerFirestore(variant, useFetchStreams = true) {
36923
36214
  setSDKVersion(SDK_VERSION);
36924
36215
  _registerComponent(new Component("firestore", (container, { instanceIdentifier: databaseId, options: settings }) => {
36925
- const app2 = container.getProvider("app").getImmediate();
36926
- const firestoreInstance = new Firestore(new FirebaseAuthCredentialsProvider(container.getProvider("auth-internal")), new FirebaseAppCheckTokenProvider(app2, container.getProvider("app-check-internal")), databaseIdFromApp(app2, databaseId), app2);
36216
+ const app = container.getProvider("app").getImmediate();
36217
+ const firestoreInstance = new Firestore(new FirebaseAuthCredentialsProvider(container.getProvider("auth-internal")), new FirebaseAppCheckTokenProvider(app, container.getProvider("app-check-internal")), databaseIdFromApp(app, databaseId), app);
36927
36218
  settings = { useFetchStreams, ...settings };
36928
36219
  firestoreInstance._setSettings(settings);
36929
36220
  return firestoreInstance;
@@ -37670,9 +36961,9 @@ var AbstractUserDataWriter = class {
37670
36961
  const normalizedValue = normalizeTimestamp(value);
37671
36962
  return new Timestamp(normalizedValue.seconds, normalizedValue.nanos);
37672
36963
  }
37673
- convertDocumentKey(name4, expectedDatabaseId) {
37674
- const resourcePath = ResourcePath.fromString(name4);
37675
- hardAssert(isValidResourceName(resourcePath), 9688, { name: name4 });
36964
+ convertDocumentKey(name3, expectedDatabaseId) {
36965
+ const resourcePath = ResourcePath.fromString(name3);
36966
+ hardAssert(isValidResourceName(resourcePath), 9688, { name: name3 });
37676
36967
  const databaseId = new DatabaseId(resourcePath.get(1), resourcePath.get(3));
37677
36968
  const key = new DocumentKey(resourcePath.popFirst(5));
37678
36969
  if (!databaseId.isEqual(expectedDatabaseId)) {
@@ -37929,12 +37220,12 @@ var BundleBuilder = class {
37929
37220
  return bundleString;
37930
37221
  }
37931
37222
  };
37932
- function buildDocumentSnapshotJsonBundle(db2, document2, docData, path) {
37933
- const builder = new BundleBuilder(db2, AutoId.newId());
37223
+ function buildDocumentSnapshotJsonBundle(db, document2, docData, path) {
37224
+ const builder = new BundleBuilder(db, AutoId.newId());
37934
37225
  builder.addBundleDocument(documentToDocumentSnapshotBundleData(path, docData, document2));
37935
37226
  return builder.build();
37936
37227
  }
37937
- function buildQuerySnapshotJsonBundle(db2, query, bundleName, parent, paths, docs, documentData) {
37228
+ function buildQuerySnapshotJsonBundle(db, query, bundleName, parent, paths, docs, documentData) {
37938
37229
  const docBundleDataArray = [];
37939
37230
  for (let i = 0; i < docs.length; i++) {
37940
37231
  docBundleDataArray.push(documentToDocumentSnapshotBundleData(paths[i], documentData[i], docs[i]));
@@ -37945,7 +37236,7 @@ function buildQuerySnapshotJsonBundle(db2, query, bundleName, parent, paths, doc
37945
37236
  parent,
37946
37237
  docBundleDataArray
37947
37238
  };
37948
- const builder = new BundleBuilder(db2, bundleName);
37239
+ const builder = new BundleBuilder(db, bundleName);
37949
37240
  builder.addBundleQuery(bundleData);
37950
37241
  return builder.build();
37951
37242
  }
@@ -38252,8 +37543,8 @@ var ExpUserDataWriter = class extends AbstractUserDataWriter {
38252
37543
  convertBytes(bytes) {
38253
37544
  return new Bytes(bytes);
38254
37545
  }
38255
- convertReference(name4) {
38256
- const key = this.convertDocumentKey(name4, this.firestore._databaseId);
37546
+ convertReference(name3) {
37547
+ const key = this.convertDocumentKey(name3, this.firestore._databaseId);
38257
37548
  return new DocumentReference(
38258
37549
  this.firestore,
38259
37550
  /* converter= */
@@ -38324,37 +37615,19 @@ function convertToDocSnapshot(firestore, ref, snapshot) {
38324
37615
  }
38325
37616
  registerFirestore("node");
38326
37617
 
38327
- // ../node_modules/firebase/app/dist/index.mjs
38328
- var name3 = "firebase";
38329
- var version3 = "12.6.0";
38330
- registerVersion(name3, version3, "app");
38331
-
38332
- // ../app/fireabse.ts
38333
- var firebaseConfig = {
38334
- apiKey: process.env.NEXT_PUBLIC_FIREBASE_API_KEY,
38335
- authDomain: process.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN,
38336
- projectId: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID,
38337
- storageBucket: process.env.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET,
38338
- messagingSenderId: process.env.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID,
38339
- appId: process.env.NEXT_PUBLIC_FIREBASE_APP_ID,
38340
- measurementId: process.env.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID
38341
- };
38342
- var app = initializeApp(firebaseConfig);
38343
- var db = getFirestore(app);
38344
-
38345
37618
  // src/templates/OraculoPageLandingPreview.tsx
38346
37619
  import { jsx as jsx9 } from "react/jsx-runtime";
38347
37620
 
38348
37621
  // import("../organisms/**/*/**/*") in src/templates/OraculoPageLandingPreview.tsx
38349
37622
  var globImport_organisms = __glob({
38350
37623
  "../organisms/OraculoSeccionBonoBienvenida/OraculoSeccionBonoBienvenida.tsx": () => import("./OraculoSeccionBonoBienvenida-2APXZQQA.mjs"),
38351
- "../organisms/OraculoSeccionCasino/OraculoSeccionCasino.tsx": () => import("./OraculoSeccionCasino-H6CXFXMN.mjs"),
37624
+ "../organisms/OraculoSeccionCasino/OraculoSeccionCasino.tsx": () => import("./OraculoSeccionCasino-ORWFZCMV.mjs"),
38352
37625
  "../organisms/OraculoSeccionCasinoEnVivo/OraculoSeccionCasinoEnVivo.tsx": () => import("./OraculoSeccionCasinoEnVivo-ISYMJSUN.mjs"),
38353
37626
  "../organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.css": () => import("./OraculoSeccionClubOlimpo-XGB4KUKX.mjs"),
38354
37627
  "../organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.tsx": () => import("./OraculoSeccionClubOlimpo-TV3LABJ5.mjs"),
38355
- "../organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx": () => import("./OraculoSeccionDestacados-EPL4KZCF.mjs"),
38356
- "../organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.tsx": () => import("./OraculoSeccionTopJuegos-FKAD2YD3.mjs"),
38357
- "../organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.tsx": () => import("./OraculoSeccionVirtuales-N2ETKRK7.mjs")
37628
+ "../organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx": () => import("./OraculoSeccionDestacados-6D4LKX4H.mjs"),
37629
+ "../organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.tsx": () => import("./OraculoSeccionTopJuegos-LEFQWP7T.mjs"),
37630
+ "../organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.tsx": () => import("./OraculoSeccionVirtuales-FKHGLEVT.mjs")
38358
37631
  });
38359
37632
 
38360
37633
  // src/templates/OraculoPageLandingPreview.tsx
@@ -38369,7 +37642,8 @@ var HttpError = class extends Error {
38369
37642
  };
38370
37643
  var OraculoPageLandingPreview = ({
38371
37644
  sectionsOverride,
38372
- docId = "home"
37645
+ docId = "home",
37646
+ db
38373
37647
  }) => {
38374
37648
  const [sections, setSections] = useState3([]);
38375
37649
  const [loading, setLoading] = useState3(false);
@@ -38379,6 +37653,7 @@ var OraculoPageLandingPreview = ({
38379
37653
  const [sectionErrorMap, setSectionErrorMap] = useState3({});
38380
37654
  useEffect(() => {
38381
37655
  if (sectionsOverride) return;
37656
+ if (!db) return;
38382
37657
  setLoading(true);
38383
37658
  const unsubscribe = onSnapshot(
38384
37659
  doc(db, "landings", docId),
@@ -38404,7 +37679,7 @@ var OraculoPageLandingPreview = ({
38404
37679
  }
38405
37680
  );
38406
37681
  return () => unsubscribe();
38407
- }, [sectionsOverride, docId]);
37682
+ }, [sectionsOverride, docId, db]);
38408
37683
  const fetchSectionData = async (section) => {
38409
37684
  const rawUrl = (section.apiUrl || "").trim();
38410
37685
  if (!rawUrl) return void 0;
@@ -38534,8 +37809,8 @@ var OraculoPageLandingPreview = ({
38534
37809
  const mapPayloadToProps = (payload, manual, base) => {
38535
37810
  const merged = base ? { ...base } : {};
38536
37811
  if (manual) {
38537
- const name4 = (manual.variableName || "items").trim() || "items";
38538
- merged[name4] = manual.arr || [];
37812
+ const name3 = (manual.variableName || "items").trim() || "items";
37813
+ merged[name3] = manual.arr || [];
38539
37814
  return merged;
38540
37815
  }
38541
37816
  const pl = payload;
@@ -38548,7 +37823,7 @@ var OraculoPageLandingPreview = ({
38548
37823
  merged.items = choose(arrData || []);
38549
37824
  return merged;
38550
37825
  };
38551
- const lazyLoadComponent = async (rawKey) => {
37826
+ const lazyLoadComponent = (rawKey) => {
38552
37827
  globImport_organisms(`../organisms/${rawKey}/${rawKey}`).then((mod2) => {
38553
37828
  var _a;
38554
37829
  const ns = mod2;
@@ -38827,6 +38102,8 @@ long/umd/index.js:
38827
38102
  @firebase/util/dist/node-esm/index.node.esm.js:
38828
38103
  @firebase/util/dist/node-esm/index.node.esm.js:
38829
38104
  @firebase/util/dist/node-esm/index.node.esm.js:
38105
+ @firebase/util/dist/node-esm/index.node.esm.js:
38106
+ @firebase/util/dist/node-esm/index.node.esm.js:
38830
38107
  @firebase/logger/dist/esm/index.esm.js:
38831
38108
  @firebase/firestore/dist/index.node.mjs:
38832
38109
  @firebase/firestore/dist/index.node.mjs:
@@ -38895,22 +38172,7 @@ long/umd/index.js:
38895
38172
  *)
38896
38173
 
38897
38174
  @firebase/util/dist/node-esm/index.node.esm.js:
38898
- (**
38899
- * @license
38900
- * Copyright 2017 Google LLC
38901
- *
38902
- * Licensed under the Apache License, Version 2.0 (the "License");
38903
- * you may not use this file except in compliance with the License.
38904
- * You may obtain a copy of the License at
38905
- *
38906
- * http://www.apache.org/licenses/LICENSE-2.0
38907
- *
38908
- * Unless required by applicable law or agreed to in writing, software
38909
- * distributed under the License is distributed on an "AS IS" BASIS,
38910
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
38911
- * See the License for the specific language governing permissions and
38912
- * limitations under the License.
38913
- *)
38175
+ @firebase/firestore/dist/index.node.mjs:
38914
38176
  (**
38915
38177
  * @license
38916
38178
  * Copyright 2025 Google LLC
@@ -38927,6 +38189,10 @@ long/umd/index.js:
38927
38189
  * See the License for the specific language governing permissions and
38928
38190
  * limitations under the License.
38929
38191
  *)
38192
+
38193
+ @firebase/util/dist/node-esm/index.node.esm.js:
38194
+ @firebase/firestore/dist/index.node.mjs:
38195
+ @firebase/firestore/dist/index.node.mjs:
38930
38196
  (**
38931
38197
  * @license
38932
38198
  * Copyright 2021 Google LLC
@@ -38946,6 +38212,10 @@ long/umd/index.js:
38946
38212
 
38947
38213
  @firebase/util/dist/node-esm/index.node.esm.js:
38948
38214
  @firebase/component/dist/esm/index.esm.js:
38215
+ @firebase/component/dist/esm/index.esm.js:
38216
+ @firebase/component/dist/esm/index.esm.js:
38217
+ @firebase/app/dist/esm/index.esm.js:
38218
+ @firebase/app/dist/esm/index.esm.js:
38949
38219
  @firebase/app/dist/esm/index.esm.js:
38950
38220
  @firebase/app/dist/esm/index.esm.js:
38951
38221
  @firebase/firestore/dist/index.node.mjs:
@@ -38989,7 +38259,7 @@ long/umd/index.js:
38989
38259
  @firebase/firestore/dist/index.node.mjs:
38990
38260
  @firebase/firestore/dist/index.node.mjs:
38991
38261
  @firebase/firestore/dist/index.node.mjs:
38992
- firebase/app/dist/index.mjs:
38262
+ @firebase/firestore/dist/index.node.mjs:
38993
38263
  (**
38994
38264
  * @license
38995
38265
  * Copyright 2020 Google LLC
@@ -39042,22 +38312,11 @@ firebase/app/dist/index.mjs:
39042
38312
  *)
39043
38313
 
39044
38314
  @firebase/app/dist/esm/index.esm.js:
39045
- (**
39046
- * @license
39047
- * Copyright 2019 Google LLC
39048
- *
39049
- * Licensed under the Apache License, Version 2.0 (the "License");
39050
- * you may not use this file except in compliance with the License.
39051
- * You may obtain a copy of the License at
39052
- *
39053
- * http://www.apache.org/licenses/LICENSE-2.0
39054
- *
39055
- * Unless required by applicable law or agreed to in writing, software
39056
- * distributed under the License is distributed on an "AS IS" BASIS,
39057
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39058
- * See the License for the specific language governing permissions and
39059
- * limitations under the License.
39060
- *)
38315
+ @firebase/firestore/dist/index.node.mjs:
38316
+ @firebase/firestore/dist/index.node.mjs:
38317
+ @firebase/firestore/dist/index.node.mjs:
38318
+ @firebase/firestore/dist/index.node.mjs:
38319
+ @firebase/firestore/dist/index.node.mjs:
39061
38320
  (**
39062
38321
  * @license
39063
38322
  * Copyright 2023 Google LLC
@@ -39398,28 +38657,6 @@ firebase/app/dist/index.mjs:
39398
38657
  * limitations under the License.
39399
38658
  *)
39400
38659
 
39401
- @firebase/firestore/dist/index.node.mjs:
39402
- @firebase/firestore/dist/index.node.mjs:
39403
- @firebase/firestore/dist/index.node.mjs:
39404
- @firebase/firestore/dist/index.node.mjs:
39405
- @firebase/firestore/dist/index.node.mjs:
39406
- (**
39407
- * @license
39408
- * Copyright 2023 Google LLC
39409
- *
39410
- * Licensed under the Apache License, Version 2.0 (the "License");
39411
- * you may not use this file except in compliance with the License.
39412
- * You may obtain a copy of the License at
39413
- *
39414
- * http://www.apache.org/licenses/LICENSE-2.0
39415
- *
39416
- * Unless required by applicable law or agreed to in writing, software
39417
- * distributed under the License is distributed on an "AS IS" BASIS,
39418
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39419
- * See the License for the specific language governing permissions and
39420
- * limitations under the License.
39421
- *)
39422
-
39423
38660
  @firebase/firestore/dist/index.node.mjs:
39424
38661
  (**
39425
38662
  * @license
@@ -39690,24 +38927,6 @@ firebase/app/dist/index.mjs:
39690
38927
  * limitations under the License.
39691
38928
  *)
39692
38929
 
39693
- @firebase/firestore/dist/index.node.mjs:
39694
- (**
39695
- * @license
39696
- * Copyright 2025 Google LLC
39697
- *
39698
- * Licensed under the Apache License, Version 2.0 (the "License");
39699
- * you may not use this file except in compliance with the License.
39700
- * You may obtain a copy of the License at
39701
- *
39702
- * http://www.apache.org/licenses/LICENSE-2.0
39703
- *
39704
- * Unless required by applicable law or agreed to in writing, software
39705
- * distributed under the License is distributed on an "AS IS" BASIS,
39706
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39707
- * See the License for the specific language governing permissions and
39708
- * limitations under the License.
39709
- *)
39710
-
39711
38930
  @firebase/firestore/dist/index.node.mjs:
39712
38931
  (**
39713
38932
  * @license
@@ -39875,23 +39094,4 @@ firebase/app/dist/index.mjs:
39875
39094
  * See the License for the specific language governing permissions and
39876
39095
  * limitations under the License.
39877
39096
  *)
39878
-
39879
- @firebase/firestore/dist/index.node.mjs:
39880
- @firebase/firestore/dist/index.node.mjs:
39881
- (**
39882
- * @license
39883
- * Copyright 2021 Google LLC
39884
- *
39885
- * Licensed under the Apache License, Version 2.0 (the "License");
39886
- * you may not use this file except in compliance with the License.
39887
- * You may obtain a copy of the License at
39888
- *
39889
- * http://www.apache.org/licenses/LICENSE-2.0
39890
- *
39891
- * Unless required by applicable law or agreed to in writing, software
39892
- * distributed under the License is distributed on an "AS IS" BASIS,
39893
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39894
- * See the License for the specific language governing permissions and
39895
- * limitations under the License.
39896
- *)
39897
39097
  */