@feedmepos/mf-order-setting 0.0.54 → 0.0.56-dev.2

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 (82) hide show
  1. package/.tsbuildinfo +1 -0
  2. package/dist/{KioskDevicesView-CMKNjgWx.js → KioskDevicesView-Qv-xd_kZ.js} +1 -1
  3. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-B1sNvlUC.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CCF1mKni.js} +2 -2
  4. package/dist/KioskSettingView-CvvrK6Bv.js +643 -0
  5. package/dist/{KioskView-U-Wg8oMC.js → KioskView-CppTVBv-.js} +117 -117
  6. package/dist/OrderSettingsView-C38N61dM.js +36564 -0
  7. package/dist/{app-CFfgPAd8.js → app-Bss1GkKY.js} +392 -228
  8. package/dist/app.js +1 -1
  9. package/dist/{dayjs.min-CuRr-wlf.js → dayjs.min-DZfxGUk4.js} +1 -1
  10. package/dist/frontend/mf-order/src/api/reservation/index.d.ts +8 -0
  11. package/dist/frontend/mf-order/src/app.d.ts +164 -0
  12. package/dist/frontend/mf-order/src/main.d.ts +164 -0
  13. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +3 -0
  14. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +1 -1
  15. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPaymentTypeSection.vue.d.ts +13 -3
  16. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +12 -4
  17. package/dist/frontend/mf-order/src/views/order-settings/dine-in/OfflinePaymentTypeDialog.vue.d.ts +4 -4
  18. package/dist/frontend/mf-order/src/views/order-settings/dine-in/PaymentType.vue.d.ts +38 -4
  19. package/dist/frontend/mf-order/src/views/order-settings/pickup/PaymentSidesheet.vue.d.ts +1 -0
  20. package/dist/frontend/mf-order/src/views/order-settings/reservation/CopySettingsSheet.vue.d.ts +186 -0
  21. package/dist/frontend/mf-order/src/views/order-settings/reservation/CustomSelect.vue.d.ts +15 -0
  22. package/dist/frontend/mf-order/src/views/order-settings/reservation/CustomTimePicker.vue.d.ts +11 -0
  23. package/dist/frontend/mf-order/src/views/order-settings/reservation/ReservationSetting.vue.d.ts +2 -0
  24. package/dist/{index-Bj0bCGTm.js → index-B6AGCsrw.js} +3 -3
  25. package/dist/index-BpKR-Cxd.js +19757 -0
  26. package/dist/{menu.dto-DAh1J2ES.js → menu.dto-C_B3M2fs.js} +7390 -7134
  27. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +22443 -3
  28. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +3 -3
  29. package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +1 -1
  30. package/dist/package/entity/index.d.ts +6 -0
  31. package/dist/package/entity/marketing/marketing.dto.d.ts +1 -1
  32. package/dist/package/entity/order/dine-in/qr.dto.d.ts +38 -0
  33. package/dist/package/entity/order/order.do.d.ts +6358 -2
  34. package/dist/package/entity/order/order.dto.d.ts +22 -0
  35. package/dist/package/entity/order-platform/deliveroo/deliveroo-dto.d.ts +3 -0
  36. package/dist/package/entity/order-platform/deliveroo/deliveroo-setting.do.d.ts +3 -0
  37. package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +12 -12
  38. package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +32 -32
  39. package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +21 -3
  40. package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +12 -2
  41. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +3 -0
  42. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -0
  43. package/dist/package/entity/order-platform/grabfood/grabfood-edit-order.do.d.ts +9 -1
  44. package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +2 -2
  45. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +3 -3
  46. package/dist/package/entity/order-platform/order-platform.dto.d.ts +2 -2
  47. package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +3 -0
  48. package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +3 -0
  49. package/dist/package/entity/order-setting/order-setting.do.d.ts +864 -0
  50. package/dist/package/entity/order-setting/order-setting.dto.d.ts +6 -0
  51. package/dist/package/entity/order-setting/reservationV2/reservation.do.d.ts +1269 -0
  52. package/dist/package/entity/queue/queue.do.d.ts +3 -8
  53. package/dist/package/entity/queue/queue.dto.d.ts +10 -0
  54. package/dist/package/entity/reservation/reservation.do.d.ts +105 -0
  55. package/dist/package/entity/reservation/reservation.dto.d.ts +335 -0
  56. package/dist/package/entity/reservation/reservation.enum.d.ts +3 -0
  57. package/dist/package/entity/reservation/reservation.utils.d.ts +152 -0
  58. package/dist/style.css +1 -0
  59. package/package.json +1 -1
  60. package/src/api/reservation/index.ts +28 -0
  61. package/src/assets/images/not-found.png +0 -0
  62. package/src/locales/en-US.json +56 -0
  63. package/src/locales/th-TH.json +54 -0
  64. package/src/locales/zh-CN.json +54 -0
  65. package/src/views/kiosk/KioskSummary.vue +3 -0
  66. package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +99 -211
  67. package/src/views/kiosk/settings/KioskSettingView.vue +43 -25
  68. package/src/views/order-settings/OrderSettingsView.vue +6 -1
  69. package/src/views/order-settings/dine-in/DineInSetting.vue +1 -0
  70. package/src/views/order-settings/dine-in/OfflinePaymentTypeDialog.vue +2 -3
  71. package/src/views/order-settings/dine-in/PaymentType.vue +151 -43
  72. package/src/views/order-settings/pickup/PaymentSidesheet.vue +33 -172
  73. package/src/views/order-settings/pickup/PickUpSettingDialogContent.vue +1 -0
  74. package/src/views/order-settings/reservation/CopySettingsSheet.vue +256 -0
  75. package/src/views/order-settings/reservation/CustomSelect.vue +99 -0
  76. package/src/views/order-settings/reservation/CustomTimePicker.vue +311 -0
  77. package/src/views/order-settings/reservation/ReservationSetting.vue +1555 -0
  78. package/tsconfig.app.json +8 -6
  79. package/dist/KioskSettingView-BE_pMA-i.js +0 -720
  80. package/dist/OrderSettingsView-BWzaITT6.js +0 -51916
  81. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +0 -1
  82. package/dist/index-BXsnV_eO.js +0 -150
@@ -247,6 +247,62 @@ const yi = {
247
247
  current: "Current",
248
248
  paxMin: "Pax Min",
249
249
  paxMax: "Pax Max",
250
+ reservation: "Reservation",
251
+ reservationStatus: "Reservation Status",
252
+ reservationSettings: "Reservation Settings",
253
+ reservationRanges: "Reservation Ranges",
254
+ reservationAvailability: "Reservation Availability",
255
+ addRange: "Add Range",
256
+ range: "Range",
257
+ rangeName: "Range Name",
258
+ priority: "Priority",
259
+ priorityDescription: "Higher number = higher priority when matching slots",
260
+ capacity: "Capacity",
261
+ capacityDescription: "Maximum concurrent reservations for this range",
262
+ minPax: "Min Pax",
263
+ maxPax: "Max Pax",
264
+ slotInterval: "Slot Interval",
265
+ slotIntervalDescription: "Time between each available booking slot (e.g., 30 mins)",
266
+ bookingDuration: "Booking Duration",
267
+ bookingDurationDescription: "Duration of each reservation (e.g., 60 mins)",
268
+ minLeadDays: "Min Lead Days",
269
+ minLeadDaysDescription: "Minimum days in advance customers must book (0 = same day)",
270
+ maxLeadDays: "Max Lead Days",
271
+ maxLeadDaysDescription: "Maximum days in advance customers can book",
272
+ operatingWindows: "Operating Windows",
273
+ addWindow: "Add Window",
274
+ startTime: "Start Time",
275
+ endTime: "End Time",
276
+ customPresetRemarks: "Custom Preset Remarks",
277
+ addRemark: "Add Remark",
278
+ noRangesConfigured: "No reservation ranges configured. Click 'Add Range' to get started.",
279
+ addFirstRange: "Add your first reservation range to get started",
280
+ globalSettings: "Global Settings",
281
+ paxRange: "Pax Range",
282
+ noOperatingHours: "No operating hours",
283
+ saveAllChanges: "Save All Changes",
284
+ confirmDeleteRange: "Are you sure you want to delete {name}?",
285
+ settingUpdated: "Settings updated successfully",
286
+ newReservationRange: "New Reservation Range",
287
+ basicInformation: "Basic Information",
288
+ guestRequirements: "Guest Requirements",
289
+ bookingConfiguration: "Booking Configuration",
290
+ rangeNamePlaceholder: "e.g., VIP Room, Main Hall",
291
+ presetRemarkPlaceholder: "e.g., Window seat, Quiet area",
292
+ saveRange: "Save Range",
293
+ draftHoldTimeMinutes: "Draft Hold Time (Minutes)",
294
+ draftHoldTimeDescription: "How long to hold a draft reservation before it expires",
295
+ posCanOverbook: "POS Can Overbook",
296
+ posCanOverbookDescription: "Allow POS to create reservations even when capacity is full",
297
+ notificationSettings: "Notification Settings",
298
+ smsEnabled: "Enable SMS Notifications",
299
+ smsEnabledDescription: "Send SMS notifications to customers for reservation updates",
300
+ emailEnabled: "Enable Email Notifications",
301
+ emailEnabledDescription: "Send email notifications to customers for reservation updates",
302
+ notifyOnConfirm: "Notify on Confirmation",
303
+ notifyOnConfirmDescription: "Send notifications when a reservation is confirmed",
304
+ notifyOnCancel: "Notify on Cancellation",
305
+ notifyOnCancelDescription: "Send notifications when a reservation is cancelled",
250
306
  qrPay: "QR Pay",
251
307
  terminalScanPay: "Terminal Scan Pay",
252
308
  terminalQrPay: "Terminal QR Pay",
@@ -619,6 +675,60 @@ const yi = {
619
675
  current: "当前",
620
676
  paxMin: "最少人数",
621
677
  paxMax: "最多人数",
678
+ reservation: "预订",
679
+ reservationSettings: "预订设置",
680
+ reservationRanges: "预订范围",
681
+ addRange: "添加范围",
682
+ range: "范围",
683
+ rangeName: "范围名称",
684
+ priority: "优先级",
685
+ priorityDescription: "数字越大,匹配时段时优先级越高",
686
+ capacity: "容量",
687
+ capacityDescription: "此范围的最大并发预订数",
688
+ minPax: "最少人数",
689
+ maxPax: "最多人数",
690
+ slotInterval: "时段间隔",
691
+ slotIntervalDescription: "每个可预订时段之间的时间(例如30分钟)",
692
+ bookingDuration: "预订时长",
693
+ bookingDurationDescription: "每次预订的持续时间(例如60分钟)",
694
+ minLeadDays: "最少提前天数",
695
+ minLeadDaysDescription: "顾客必须提前预订的最少天数(0 = 当天)",
696
+ maxLeadDays: "最多提前天数",
697
+ maxLeadDaysDescription: "顾客可以提前预订的最多天数",
698
+ operatingWindows: "营业时段",
699
+ addWindow: "添加时段",
700
+ startTime: "开始时间",
701
+ endTime: "结束时间",
702
+ customPresetRemarks: "自定义预设备注",
703
+ addRemark: "添加备注",
704
+ noRangesConfigured: '未配置预订范围。点击"添加范围"开始',
705
+ addFirstRange: "添加您的第一个预订范围以开始",
706
+ globalSettings: "全局设置",
707
+ paxRange: "人数范围",
708
+ noOperatingHours: "无营业时间",
709
+ saveAllChanges: "保存所有更改",
710
+ confirmDeleteRange: "您确定要删除{name}吗?",
711
+ settingUpdated: "设置已成功更新",
712
+ newReservationRange: "新预订范围",
713
+ basicInformation: "基本信息",
714
+ guestRequirements: "客人要求",
715
+ bookingConfiguration: "预订配置",
716
+ rangeNamePlaceholder: "例如:VIP包厢、大厅",
717
+ presetRemarkPlaceholder: "例如:靠窗座位、安静区域",
718
+ saveRange: "保存范围",
719
+ draftHoldTimeMinutes: "草稿保留时间(分钟)",
720
+ draftHoldTimeDescription: "在草稿预订过期前保留的时间",
721
+ posCanOverbook: "POS可以超额预订",
722
+ posCanOverbookDescription: "允许POS在容量已满时创建预订",
723
+ notificationSettings: "通知设置",
724
+ smsEnabled: "启用短信通知",
725
+ smsEnabledDescription: "向客户发送预订更新的短信通知",
726
+ emailEnabled: "启用电子邮件通知",
727
+ emailEnabledDescription: "向客户发送预订更新的电子邮件通知",
728
+ notifyOnConfirm: "确认时通知",
729
+ notifyOnConfirmDescription: "当预订被确认时发送通知",
730
+ notifyOnCancel: "取消时通知",
731
+ notifyOnCancelDescription: "当预订被取消时发送通知",
622
732
  qrPay: "二维码支付",
623
733
  terminalScanPay: "终端扫描支付",
624
734
  terminalQrPay: "终端二维码支付",
@@ -989,6 +1099,60 @@ const yi = {
989
1099
  current: "ปัจจุบัน",
990
1100
  paxMin: "จำนวนผู้โดยสารขั้นต่ำ",
991
1101
  paxMax: "จำนวนผู้โดยสารสูงสุด",
1102
+ reservation: "การจอง",
1103
+ reservationSettings: "การตั้งค่าการจอง",
1104
+ reservationRanges: "ช่วงการจอง",
1105
+ addRange: "เพิ่มช่วง",
1106
+ range: "ช่วง",
1107
+ rangeName: "ชื่อช่วง",
1108
+ priority: "ลำดับความสำคัญ",
1109
+ priorityDescription: "ตัวเลขที่สูงกว่า = ลำดับความสำคัญสูงกว่าเมื่อจับคู่ช่วงเวลา",
1110
+ capacity: "ความจุ",
1111
+ capacityDescription: "จำนวนการจองพร้อมกันสูงสุดสำหรับช่วงนี้",
1112
+ minPax: "จำนวนผู้โดยสารขั้นต่ำ",
1113
+ maxPax: "จำนวนผู้โดยสารสูงสุด",
1114
+ slotInterval: "ช่วงเวลา",
1115
+ slotIntervalDescription: "เวลาระหว่างช่วงการจองที่ว่าง (เช่น 30 นาที)",
1116
+ bookingDuration: "ระยะเวลาการจอง",
1117
+ bookingDurationDescription: "ระยะเวลาของการจองแต่ละครั้ง (เช่น 60 นาที)",
1118
+ minLeadDays: "จำนวนวันล่วงหน้าขั้นต่ำ",
1119
+ minLeadDaysDescription: "จำนวนวันขั้นต่ำที่ลูกค้าต้องจองล่วงหน้า (0 = วันเดียวกัน)",
1120
+ maxLeadDays: "จำนวนวันล่วงหน้าสูงสุด",
1121
+ maxLeadDaysDescription: "จำนวนวันสูงสุดที่ลูกค้าสามารถจองล่วงหน้าได้",
1122
+ operatingWindows: "ช่วงเวลาทำการ",
1123
+ addWindow: "เพิ่มช่วงเวลา",
1124
+ startTime: "เวลาเริ่มต้น",
1125
+ endTime: "เวลาสิ้นสุด",
1126
+ customPresetRemarks: "หมายเหตุที่กำหนดไว้ล่วงหน้า",
1127
+ addRemark: "เพิ่มหมายเหตุ",
1128
+ noRangesConfigured: "ยังไม่มีการกำหนดช่วงการจอง คลิก 'เพิ่มช่วง' เพื่อเริ่มต้น",
1129
+ addFirstRange: "เพิ่มช่วงการจองแรกของคุณเพื่อเริ่มต้น",
1130
+ globalSettings: "การตั้งค่าทั่วไป",
1131
+ paxRange: "ช่วงจำนวนผู้โดยสาร",
1132
+ noOperatingHours: "ไม่มีเวลาทำการ",
1133
+ saveAllChanges: "บันทึกการเปลี่ยนแปลงทั้งหมด",
1134
+ confirmDeleteRange: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}?",
1135
+ settingUpdated: "อัปเดตการตั้งค่าสำเร็จ",
1136
+ newReservationRange: "ช่วงการจองใหม่",
1137
+ basicInformation: "ข้อมูลพื้นฐาน",
1138
+ guestRequirements: "ความต้องการของแขก",
1139
+ bookingConfiguration: "การกำหนดค่าการจอง",
1140
+ rangeNamePlaceholder: "เช่น ห้อง VIP, ห้องโถง",
1141
+ presetRemarkPlaceholder: "เช่น ที่นั่งริมหน้าต่าง, พื้นที่เงียบ",
1142
+ saveRange: "บันทึกช่วง",
1143
+ draftHoldTimeMinutes: "เวลาเก็บร่าง (นาที)",
1144
+ draftHoldTimeDescription: "ระยะเวลาในการเก็บการจองแบบร่างก่อนที่จะหมดอายุ",
1145
+ posCanOverbook: "POS สามารถจองเกินได้",
1146
+ posCanOverbookDescription: "อนุญาตให้ POS สร้างการจองแม้ว่าความจุเต็มแล้ว",
1147
+ notificationSettings: "การตั้งค่าการแจ้งเตือน",
1148
+ smsEnabled: "เปิดใช้งานการแจ้งเตือนผ่าน SMS",
1149
+ smsEnabledDescription: "ส่งการแจ้งเตือนผ่าน SMS ให้กับลูกค้าสำหรับการอัพเดทการจอง",
1150
+ emailEnabled: "เปิดใช้งานการแจ้งเตือนผ่านอีเมล",
1151
+ emailEnabledDescription: "ส่งการแจ้งเตือนผ่านอีเมลให้กับลูกค้าสำหรับการอัพเดทการจอง",
1152
+ notifyOnConfirm: "แจ้งเตือนเมื่อยืนยัน",
1153
+ notifyOnConfirmDescription: "ส่งการแจ้งเตือนเมื่อการจองได้รับการยืนยัน",
1154
+ notifyOnCancel: "แจ้งเตือนเมื่อยกเลิก",
1155
+ notifyOnCancelDescription: "ส่งการแจ้งเตือนเมื่อการจองถูกยกเลิก",
992
1156
  qrPay: "ชำระเงินด้วย QR",
993
1157
  terminalScanPay: "ชำระเงินด้วยการสแกนเทอร์มินัล",
994
1158
  terminalQrPay: "ชำระเงินด้วย QR เทอร์มินัล",
@@ -2912,7 +3076,7 @@ function Pt(t) {
2912
3076
  lng: t[0]
2913
3077
  };
2914
3078
  }
2915
- function Ac({
3079
+ function Rc({
2916
3080
  center: t,
2917
3081
  radius: e
2918
3082
  }) {
@@ -2923,7 +3087,7 @@ function Ac({
2923
3087
  }
2924
3088
  return n.map((s) => ({ lat: s.lat(), lng: s.lng() }));
2925
3089
  }
2926
- function Rc(t) {
3090
+ function Cc(t) {
2927
3091
  if (!t.length) return;
2928
3092
  const { lat: e, lng: n } = Pt(t[0]), { maxLng: i, minLng: r, maxLat: s, minLat: a } = t.reduce((c, o) => {
2929
3093
  const { lng: l, lat: u } = Pt(o);
@@ -2973,7 +3137,7 @@ class me {
2973
3137
  }
2974
3138
  }
2975
3139
  me.CALLBACK_NAME = "_dk_google_maps_loader_cb";
2976
- var At = {};
3140
+ var Rt = {};
2977
3141
  /**
2978
3142
  * @license
2979
3143
  * Copyright 2017 Google LLC
@@ -3129,7 +3293,7 @@ const cn = function(t) {
3129
3293
  ++r;
3130
3294
  const h = r < t.length ? n[t.charAt(r)] : 64;
3131
3295
  if (++r, s == null || c == null || l == null || h == null)
3132
- throw new Ai();
3296
+ throw new Ri();
3133
3297
  const f = s << 2 | c >> 4;
3134
3298
  if (i.push(f), l !== 64) {
3135
3299
  const y = c << 4 & 240 | l >> 2;
@@ -3154,16 +3318,16 @@ const cn = function(t) {
3154
3318
  }
3155
3319
  }
3156
3320
  };
3157
- class Ai extends Error {
3321
+ class Ri extends Error {
3158
3322
  constructor() {
3159
3323
  super(...arguments), this.name = "DecodeBase64StringError";
3160
3324
  }
3161
3325
  }
3162
- const Ri = function(t) {
3326
+ const Ci = function(t) {
3163
3327
  const e = cn(t);
3164
3328
  return ln.encodeByteArray(e, !0);
3165
- }, Me = function(t) {
3166
- return Ri(t).replace(/\./g, "");
3329
+ }, xe = function(t) {
3330
+ return Ci(t).replace(/\./g, "");
3167
3331
  }, un = function(t) {
3168
3332
  try {
3169
3333
  return ln.decodeString(t, !0);
@@ -3188,7 +3352,7 @@ const Ri = function(t) {
3188
3352
  * See the License for the specific language governing permissions and
3189
3353
  * limitations under the License.
3190
3354
  */
3191
- function Ci() {
3355
+ function Di() {
3192
3356
  if (typeof self < "u")
3193
3357
  return self;
3194
3358
  if (typeof window < "u")
@@ -3213,10 +3377,10 @@ function Ci() {
3213
3377
  * See the License for the specific language governing permissions and
3214
3378
  * limitations under the License.
3215
3379
  */
3216
- const Di = () => Ci().__FIREBASE_DEFAULTS__, Oi = () => {
3217
- if (typeof process > "u" || typeof At > "u")
3380
+ const Ai = () => Di().__FIREBASE_DEFAULTS__, Oi = () => {
3381
+ if (typeof process > "u" || typeof Rt > "u")
3218
3382
  return;
3219
- const t = At.__FIREBASE_DEFAULTS__;
3383
+ const t = Rt.__FIREBASE_DEFAULTS__;
3220
3384
  if (t)
3221
3385
  return JSON.parse(t);
3222
3386
  }, Ni = () => {
@@ -3232,7 +3396,7 @@ const Di = () => Ci().__FIREBASE_DEFAULTS__, Oi = () => {
3232
3396
  return e && JSON.parse(e);
3233
3397
  }, dt = () => {
3234
3398
  try {
3235
- return Di() || Oi() || Ni();
3399
+ return Ai() || Oi() || Ni();
3236
3400
  } catch (t) {
3237
3401
  console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${t}`);
3238
3402
  return;
@@ -3240,7 +3404,7 @@ const Di = () => Ci().__FIREBASE_DEFAULTS__, Oi = () => {
3240
3404
  }, dn = (t) => {
3241
3405
  var e, n;
3242
3406
  return (n = (e = dt()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || n === void 0 ? void 0 : n[t];
3243
- }, Mi = (t) => {
3407
+ }, xi = (t) => {
3244
3408
  const e = dn(t);
3245
3409
  if (!e)
3246
3410
  return;
@@ -3272,7 +3436,7 @@ const Di = () => Ci().__FIREBASE_DEFAULTS__, Oi = () => {
3272
3436
  * See the License for the specific language governing permissions and
3273
3437
  * limitations under the License.
3274
3438
  */
3275
- class xi {
3439
+ class Mi {
3276
3440
  constructor() {
3277
3441
  this.reject = () => {
3278
3442
  }, this.resolve = () => {
@@ -3332,8 +3496,8 @@ function Li(t, e) {
3332
3496
  }
3333
3497
  }, t);
3334
3498
  return [
3335
- Me(JSON.stringify(n)),
3336
- Me(JSON.stringify(a)),
3499
+ xe(JSON.stringify(n)),
3500
+ xe(JSON.stringify(a)),
3337
3501
  ""
3338
3502
  ].join(".");
3339
3503
  }
@@ -3382,7 +3546,7 @@ function $i() {
3382
3546
  return !1;
3383
3547
  }
3384
3548
  }
3385
- function ji() {
3549
+ function Wi() {
3386
3550
  return new Promise((t, e) => {
3387
3551
  try {
3388
3552
  let n = !0;
@@ -3416,10 +3580,10 @@ function ji() {
3416
3580
  * See the License for the specific language governing permissions and
3417
3581
  * limitations under the License.
3418
3582
  */
3419
- const Wi = "FirebaseError";
3583
+ const ji = "FirebaseError";
3420
3584
  class B extends Error {
3421
3585
  constructor(e, n, i) {
3422
- super(n), this.code = e, this.customData = i, this.name = Wi, Object.setPrototypeOf(this, B.prototype), Error.captureStackTrace && Error.captureStackTrace(this, _e.prototype.create);
3586
+ super(n), this.code = e, this.customData = i, this.name = ji, Object.setPrototypeOf(this, B.prototype), Error.captureStackTrace && Error.captureStackTrace(this, _e.prototype.create);
3423
3587
  }
3424
3588
  }
3425
3589
  class _e {
@@ -3444,7 +3608,7 @@ function Ki(t) {
3444
3608
  return !1;
3445
3609
  return !0;
3446
3610
  }
3447
- function xe(t, e) {
3611
+ function Me(t, e) {
3448
3612
  if (t === e)
3449
3613
  return !0;
3450
3614
  const n = Object.keys(t), i = Object.keys(e);
@@ -3452,8 +3616,8 @@ function xe(t, e) {
3452
3616
  if (!i.includes(r))
3453
3617
  return !1;
3454
3618
  const s = t[r], a = e[r];
3455
- if (Rt(s) && Rt(a)) {
3456
- if (!xe(s, a))
3619
+ if (Ct(s) && Ct(a)) {
3620
+ if (!Me(s, a))
3457
3621
  return !1;
3458
3622
  } else if (s !== a)
3459
3623
  return !1;
@@ -3463,7 +3627,7 @@ function xe(t, e) {
3463
3627
  return !1;
3464
3628
  return !0;
3465
3629
  }
3466
- function Rt(t) {
3630
+ function Ct(t) {
3467
3631
  return t !== null && typeof t == "object";
3468
3632
  }
3469
3633
  /**
@@ -3604,7 +3768,7 @@ function ze() {
3604
3768
  * See the License for the specific language governing permissions and
3605
3769
  * limitations under the License.
3606
3770
  */
3607
- function R(t) {
3771
+ function C(t) {
3608
3772
  return t && t._delegate ? t._delegate : t;
3609
3773
  }
3610
3774
  class ee {
@@ -3674,7 +3838,7 @@ class Xi {
3674
3838
  get(e) {
3675
3839
  const n = this.normalizeInstanceIdentifier(e);
3676
3840
  if (!this.instancesDeferred.has(n)) {
3677
- const i = new xi();
3841
+ const i = new Mi();
3678
3842
  if (this.instancesDeferred.set(n, i), this.isInitialized(n) || this.shouldAutoInitialize())
3679
3843
  try {
3680
3844
  const r = this.getOrInitializeService({
@@ -3976,9 +4140,9 @@ class fn {
3976
4140
  }
3977
4141
  }
3978
4142
  const sr = (t, e) => e.some((n) => t instanceof n);
3979
- let Ct, Dt;
4143
+ let Dt, At;
3980
4144
  function ar() {
3981
- return Ct || (Ct = [
4145
+ return Dt || (Dt = [
3982
4146
  IDBDatabase,
3983
4147
  IDBObjectStore,
3984
4148
  IDBIndex,
@@ -3987,7 +4151,7 @@ function ar() {
3987
4151
  ]);
3988
4152
  }
3989
4153
  function or() {
3990
- return Dt || (Dt = [
4154
+ return At || (At = [
3991
4155
  IDBCursor.prototype.advance,
3992
4156
  IDBCursor.prototype.continue,
3993
4157
  IDBCursor.prototype.continuePrimaryKey
@@ -4163,7 +4327,7 @@ const rt = "@firebase/app", Nt = "0.10.13";
4163
4327
  * See the License for the specific language governing permissions and
4164
4328
  * limitations under the License.
4165
4329
  */
4166
- const L = new fn("@firebase/app"), vr = "@firebase/app-compat", _r = "@firebase/analytics-compat", br = "@firebase/analytics", Ir = "@firebase/app-check-compat", Sr = "@firebase/app-check", wr = "@firebase/auth", kr = "@firebase/auth-compat", Tr = "@firebase/database", Er = "@firebase/data-connect", Pr = "@firebase/database-compat", Ar = "@firebase/functions", Rr = "@firebase/functions-compat", Cr = "@firebase/installations", Dr = "@firebase/installations-compat", Or = "@firebase/messaging", Nr = "@firebase/messaging-compat", Mr = "@firebase/performance", xr = "@firebase/performance-compat", Lr = "@firebase/remote-config", Ur = "@firebase/remote-config-compat", Fr = "@firebase/storage", Br = "@firebase/storage-compat", Hr = "@firebase/firestore", Vr = "@firebase/vertexai-preview", $r = "@firebase/firestore-compat", jr = "firebase", Wr = "10.14.1";
4330
+ const L = new fn("@firebase/app"), vr = "@firebase/app-compat", _r = "@firebase/analytics-compat", br = "@firebase/analytics", Ir = "@firebase/app-check-compat", Sr = "@firebase/app-check", wr = "@firebase/auth", kr = "@firebase/auth-compat", Tr = "@firebase/database", Er = "@firebase/data-connect", Pr = "@firebase/database-compat", Rr = "@firebase/functions", Cr = "@firebase/functions-compat", Dr = "@firebase/installations", Ar = "@firebase/installations-compat", Or = "@firebase/messaging", Nr = "@firebase/messaging-compat", xr = "@firebase/performance", Mr = "@firebase/performance-compat", Lr = "@firebase/remote-config", Ur = "@firebase/remote-config-compat", Fr = "@firebase/storage", Br = "@firebase/storage-compat", Hr = "@firebase/firestore", Vr = "@firebase/vertexai-preview", $r = "@firebase/firestore-compat", Wr = "firebase", jr = "10.14.1";
4167
4331
  /**
4168
4332
  * @license
4169
4333
  * Copyright 2019 Google LLC
@@ -4192,14 +4356,14 @@ const st = "[DEFAULT]", qr = {
4192
4356
  [Tr]: "fire-rtdb",
4193
4357
  [Er]: "fire-data-connect",
4194
4358
  [Pr]: "fire-rtdb-compat",
4195
- [Ar]: "fire-fn",
4196
- [Rr]: "fire-fn-compat",
4197
- [Cr]: "fire-iid",
4198
- [Dr]: "fire-iid-compat",
4359
+ [Rr]: "fire-fn",
4360
+ [Cr]: "fire-fn-compat",
4361
+ [Dr]: "fire-iid",
4362
+ [Ar]: "fire-iid-compat",
4199
4363
  [Or]: "fire-fcm",
4200
4364
  [Nr]: "fire-fcm-compat",
4201
- [Mr]: "fire-perf",
4202
- [xr]: "fire-perf-compat",
4365
+ [xr]: "fire-perf",
4366
+ [Mr]: "fire-perf-compat",
4203
4367
  [Lr]: "fire-rc",
4204
4368
  [Ur]: "fire-rc-compat",
4205
4369
  [Fr]: "fire-gcs",
@@ -4208,7 +4372,7 @@ const st = "[DEFAULT]", qr = {
4208
4372
  [$r]: "fire-fst-compat",
4209
4373
  [Vr]: "fire-vertex",
4210
4374
  "fire-js": "fire-js",
4211
- [jr]: "fire-js-all"
4375
+ [Wr]: "fire-js-all"
4212
4376
  };
4213
4377
  /**
4214
4378
  * @license
@@ -4227,7 +4391,7 @@ const st = "[DEFAULT]", qr = {
4227
4391
  * limitations under the License.
4228
4392
  */
4229
4393
  const ge = /* @__PURE__ */ new Map(), zr = /* @__PURE__ */ new Map(), at = /* @__PURE__ */ new Map();
4230
- function Mt(t, e) {
4394
+ function xt(t, e) {
4231
4395
  try {
4232
4396
  t.container.addComponent(e);
4233
4397
  } catch (n) {
@@ -4240,9 +4404,9 @@ function ce(t) {
4240
4404
  return L.debug(`There were multiple attempts to register component ${e}.`), !1;
4241
4405
  at.set(e, t);
4242
4406
  for (const n of ge.values())
4243
- Mt(n, t);
4407
+ xt(n, t);
4244
4408
  for (const n of zr.values())
4245
- Mt(n, t);
4409
+ xt(n, t);
4246
4410
  return !0;
4247
4411
  }
4248
4412
  function pt(t, e) {
@@ -4358,7 +4522,7 @@ class Gr {
4358
4522
  * See the License for the specific language governing permissions and
4359
4523
  * limitations under the License.
4360
4524
  */
4361
- const le = Wr;
4525
+ const le = jr;
4362
4526
  function yn(t, e = {}) {
4363
4527
  let n = t;
4364
4528
  typeof e != "object" && (e = { name: e });
@@ -4374,7 +4538,7 @@ function yn(t, e = {}) {
4374
4538
  );
4375
4539
  const s = ge.get(r);
4376
4540
  if (s) {
4377
- if (xe(n, s.options) && xe(i, s.config))
4541
+ if (Me(n, s.options) && Me(i, s.config))
4378
4542
  return s;
4379
4543
  throw K.create("duplicate-app", { appName: r });
4380
4544
  }
@@ -4465,7 +4629,7 @@ async function Yr(t) {
4465
4629
  }
4466
4630
  }
4467
4631
  }
4468
- async function xt(t, e) {
4632
+ async function Mt(t, e) {
4469
4633
  try {
4470
4634
  const i = (await vn()).transaction(ye, "readwrite");
4471
4635
  await i.objectStore(ye).put(e, _n(t)), await i.done;
@@ -4537,7 +4701,7 @@ class ts {
4537
4701
  try {
4538
4702
  if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
4539
4703
  return "";
4540
- const n = Lt(), { heartbeatsToSend: i, unsentEntries: r } = ns(this._heartbeatsCache.heartbeats), s = Me(JSON.stringify({ version: 2, heartbeats: i }));
4704
+ const n = Lt(), { heartbeatsToSend: i, unsentEntries: r } = ns(this._heartbeatsCache.heartbeats), s = xe(JSON.stringify({ version: 2, heartbeats: i }));
4541
4705
  return this._heartbeatsCache.lastSentHeartbeatDate = n, r.length > 0 ? (this._heartbeatsCache.heartbeats = r, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), s;
4542
4706
  } catch (n) {
4543
4707
  return L.warn(n), "";
@@ -4576,7 +4740,7 @@ class is {
4576
4740
  this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
4577
4741
  }
4578
4742
  async runIndexedDBEnvironmentCheck() {
4579
- return $i() ? ji().then(() => !0).catch(() => !1) : !1;
4743
+ return $i() ? Wi().then(() => !0).catch(() => !1) : !1;
4580
4744
  }
4581
4745
  /**
4582
4746
  * Read all heartbeats.
@@ -4593,7 +4757,7 @@ class is {
4593
4757
  var n;
4594
4758
  if (await this._canUseIndexedDBPromise) {
4595
4759
  const r = await this.read();
4596
- return xt(this.app, {
4760
+ return Mt(this.app, {
4597
4761
  lastSentHeartbeatDate: (n = e.lastSentHeartbeatDate) !== null && n !== void 0 ? n : r.lastSentHeartbeatDate,
4598
4762
  heartbeats: e.heartbeats
4599
4763
  });
@@ -4605,7 +4769,7 @@ class is {
4605
4769
  var n;
4606
4770
  if (await this._canUseIndexedDBPromise) {
4607
4771
  const r = await this.read();
4608
- return xt(this.app, {
4772
+ return Mt(this.app, {
4609
4773
  lastSentHeartbeatDate: (n = e.lastSentHeartbeatDate) !== null && n !== void 0 ? n : r.lastSentHeartbeatDate,
4610
4774
  heartbeats: [
4611
4775
  ...r.heartbeats,
@@ -4617,7 +4781,7 @@ class is {
4617
4781
  }
4618
4782
  }
4619
4783
  function Ut(t) {
4620
- return Me(
4784
+ return xe(
4621
4785
  // heartbeatsCache wrapper properties
4622
4786
  JSON.stringify({ version: 2, heartbeats: t })
4623
4787
  ).length;
@@ -4704,7 +4868,7 @@ const Le = new fn("@firebase/auth");
4704
4868
  function cs(t, ...e) {
4705
4869
  Le.logLevel <= p.WARN && Le.warn(`Auth (${le}): ${t}`, ...e);
4706
4870
  }
4707
- function Ce(t, ...e) {
4871
+ function De(t, ...e) {
4708
4872
  Le.logLevel <= p.ERROR && Le.error(`Auth (${le}): ${t}`, ...e);
4709
4873
  }
4710
4874
  /**
@@ -4751,7 +4915,7 @@ function d(t, e, ...n) {
4751
4915
  }
4752
4916
  function N(t) {
4753
4917
  const e = "INTERNAL ASSERTION FAILED: " + t;
4754
- throw Ce(e), new Error(e);
4918
+ throw De(e), new Error(e);
4755
4919
  }
4756
4920
  function F(t, e) {
4757
4921
  t || N(e);
@@ -5163,7 +5327,7 @@ function pe(t) {
5163
5327
  }
5164
5328
  }
5165
5329
  async function gs(t, e = !1) {
5166
- const n = R(t), i = await n.getIdToken(e), r = vt(i);
5330
+ const n = C(t), i = await n.getIdToken(e), r = vt(i);
5167
5331
  d(
5168
5332
  r && r.exp && r.auth_time && r.iat,
5169
5333
  n.auth,
@@ -5187,12 +5351,12 @@ function Xe(t) {
5187
5351
  function vt(t) {
5188
5352
  const [e, n, i] = t.split(".");
5189
5353
  if (e === void 0 || n === void 0 || i === void 0)
5190
- return Ce("JWT malformed, contained fewer than 3 sections"), null;
5354
+ return De("JWT malformed, contained fewer than 3 sections"), null;
5191
5355
  try {
5192
5356
  const r = un(n);
5193
- return r ? JSON.parse(r) : (Ce("Failed to decode base64 JWT payload"), null);
5357
+ return r ? JSON.parse(r) : (De("Failed to decode base64 JWT payload"), null);
5194
5358
  } catch (r) {
5195
- return Ce("Caught error parsing JWT payload as JSON", r == null ? void 0 : r.toString()), null;
5359
+ return De("Caught error parsing JWT payload as JSON", r == null ? void 0 : r.toString()), null;
5196
5360
  }
5197
5361
  }
5198
5362
  function Bt(t) {
@@ -5361,7 +5525,7 @@ async function Ue(t) {
5361
5525
  );
5362
5526
  const s = r.users[0];
5363
5527
  t._notifyReloadListener(s);
5364
- const a = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? An(s.providerUserInfo) : [], c = bs(t.providerData, a), o = t.isAnonymous, l = !(t.email && s.passwordHash) && !(c != null && c.length), u = o ? l : !1, h = {
5528
+ const a = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? Rn(s.providerUserInfo) : [], c = bs(t.providerData, a), o = t.isAnonymous, l = !(t.email && s.passwordHash) && !(c != null && c.length), u = o ? l : !1, h = {
5365
5529
  uid: s.localId,
5366
5530
  displayName: s.displayName || null,
5367
5531
  photoURL: s.photoUrl || null,
@@ -5376,13 +5540,13 @@ async function Ue(t) {
5376
5540
  Object.assign(t, h);
5377
5541
  }
5378
5542
  async function _s(t) {
5379
- const e = R(t);
5543
+ const e = C(t);
5380
5544
  await Ue(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
5381
5545
  }
5382
5546
  function bs(t, e) {
5383
5547
  return [...t.filter((i) => !e.some((r) => r.providerId === i.providerId)), ...e];
5384
5548
  }
5385
- function An(t) {
5549
+ function Rn(t) {
5386
5550
  return t.map((e) => {
5387
5551
  var { providerId: n } = e, i = mt(e, ["providerId"]);
5388
5552
  return {
@@ -5548,7 +5712,7 @@ class se {
5548
5712
  function H(t, e) {
5549
5713
  d(typeof t == "string" || typeof t > "u", "internal-error", { appName: e });
5550
5714
  }
5551
- class M {
5715
+ class x {
5552
5716
  constructor(e) {
5553
5717
  var { uid: n, auth: i, stsTokenManager: r } = e, s = mt(e, ["uid", "auth", "stsTokenManager"]);
5554
5718
  this.providerId = "firebase", this.proactiveRefresh = new vs(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = n, this.auth = i, this.stsTokenManager = r, this.accessToken = r.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new ct(s.createdAt || void 0, s.lastLoginAt || void 0);
@@ -5577,7 +5741,7 @@ class M {
5577
5741
  ), this.displayName = e.displayName, this.photoURL = e.photoURL, this.email = e.email, this.emailVerified = e.emailVerified, this.phoneNumber = e.phoneNumber, this.isAnonymous = e.isAnonymous, this.tenantId = e.tenantId, this.providerData = e.providerData.map((n) => Object.assign({}, n)), this.metadata._copy(e.metadata), this.stsTokenManager._assign(e.stsTokenManager));
5578
5742
  }
5579
5743
  _clone(e) {
5580
- const n = new M(Object.assign(Object.assign({}, this), { auth: e, stsTokenManager: this.stsTokenManager._clone() }));
5744
+ const n = new x(Object.assign(Object.assign({}, this), { auth: e, stsTokenManager: this.stsTokenManager._clone() }));
5581
5745
  return n.metadata._copy(this.metadata), n;
5582
5746
  }
5583
5747
  _onReload(e) {
@@ -5633,7 +5797,7 @@ class M {
5633
5797
  }
5634
5798
  static _fromJSON(e, n) {
5635
5799
  var i, r, s, a, c, o, l, u;
5636
- const h = (i = n.displayName) !== null && i !== void 0 ? i : void 0, f = (r = n.email) !== null && r !== void 0 ? r : void 0, y = (s = n.phoneNumber) !== null && s !== void 0 ? s : void 0, b = (a = n.photoURL) !== null && a !== void 0 ? a : void 0, C = (c = n.tenantId) !== null && c !== void 0 ? c : void 0, v = (o = n._redirectEventId) !== null && o !== void 0 ? o : void 0, D = (l = n.createdAt) !== null && l !== void 0 ? l : void 0, T = (u = n.lastLoginAt) !== null && u !== void 0 ? u : void 0, { uid: w, emailVerified: _, isAnonymous: J, providerData: X, stsTokenManager: ke } = n;
5800
+ const h = (i = n.displayName) !== null && i !== void 0 ? i : void 0, f = (r = n.email) !== null && r !== void 0 ? r : void 0, y = (s = n.phoneNumber) !== null && s !== void 0 ? s : void 0, b = (a = n.photoURL) !== null && a !== void 0 ? a : void 0, D = (c = n.tenantId) !== null && c !== void 0 ? c : void 0, v = (o = n._redirectEventId) !== null && o !== void 0 ? o : void 0, A = (l = n.createdAt) !== null && l !== void 0 ? l : void 0, T = (u = n.lastLoginAt) !== null && u !== void 0 ? u : void 0, { uid: w, emailVerified: _, isAnonymous: J, providerData: X, stsTokenManager: ke } = n;
5637
5801
  d(
5638
5802
  w && ke,
5639
5803
  e,
@@ -5656,8 +5820,8 @@ class M {
5656
5820
  e,
5657
5821
  "internal-error"
5658
5822
  /* AuthErrorCode.INTERNAL_ERROR */
5659
- ), H(y, e.name), H(b, e.name), H(C, e.name), H(v, e.name), H(D, e.name), H(T, e.name);
5660
- const qe = new M({
5823
+ ), H(y, e.name), H(b, e.name), H(D, e.name), H(v, e.name), H(A, e.name), H(T, e.name);
5824
+ const qe = new x({
5661
5825
  uid: w,
5662
5826
  auth: e,
5663
5827
  email: f,
@@ -5666,9 +5830,9 @@ class M {
5666
5830
  isAnonymous: J,
5667
5831
  photoURL: b,
5668
5832
  phoneNumber: y,
5669
- tenantId: C,
5833
+ tenantId: D,
5670
5834
  stsTokenManager: de,
5671
- createdAt: D,
5835
+ createdAt: A,
5672
5836
  lastLoginAt: T
5673
5837
  });
5674
5838
  return X && Array.isArray(X) && (qe.providerData = X.map((li) => Object.assign({}, li))), v && (qe._redirectEventId = v), qe;
@@ -5681,7 +5845,7 @@ class M {
5681
5845
  static async _fromIdTokenResponse(e, n, i = !1) {
5682
5846
  const r = new se();
5683
5847
  r.updateFromServerResponse(n);
5684
- const s = new M({
5848
+ const s = new x({
5685
5849
  uid: n.localId,
5686
5850
  auth: e,
5687
5851
  stsTokenManager: r,
@@ -5701,9 +5865,9 @@ class M {
5701
5865
  "internal-error"
5702
5866
  /* AuthErrorCode.INTERNAL_ERROR */
5703
5867
  );
5704
- const s = r.providerUserInfo !== void 0 ? An(r.providerUserInfo) : [], a = !(r.email && r.passwordHash) && !(s != null && s.length), c = new se();
5868
+ const s = r.providerUserInfo !== void 0 ? Rn(r.providerUserInfo) : [], a = !(r.email && r.passwordHash) && !(s != null && s.length), c = new se();
5705
5869
  c.updateFromIdToken(i);
5706
- const o = new M({
5870
+ const o = new x({
5707
5871
  uid: r.localId,
5708
5872
  auth: e,
5709
5873
  stsTokenManager: c,
@@ -5740,7 +5904,7 @@ class M {
5740
5904
  * limitations under the License.
5741
5905
  */
5742
5906
  const Ht = /* @__PURE__ */ new Map();
5743
- function x(t) {
5907
+ function M(t) {
5744
5908
  F(t instanceof Function, "Expected a class definition");
5745
5909
  let e = Ht.get(t);
5746
5910
  return e ? (F(e instanceof t, "Instance stored in cache mismatched with class"), e) : (e = new t(), Ht.set(t, e), e);
@@ -5761,7 +5925,7 @@ function x(t) {
5761
5925
  * See the License for the specific language governing permissions and
5762
5926
  * limitations under the License.
5763
5927
  */
5764
- class Rn {
5928
+ class Cn {
5765
5929
  constructor() {
5766
5930
  this.type = "NONE", this.storage = {};
5767
5931
  }
@@ -5783,8 +5947,8 @@ class Rn {
5783
5947
  _removeListener(e, n) {
5784
5948
  }
5785
5949
  }
5786
- Rn.type = "NONE";
5787
- const Vt = Rn;
5950
+ Cn.type = "NONE";
5951
+ const Vt = Cn;
5788
5952
  /**
5789
5953
  * @license
5790
5954
  * Copyright 2019 Google LLC
@@ -5801,21 +5965,21 @@ const Vt = Rn;
5801
5965
  * See the License for the specific language governing permissions and
5802
5966
  * limitations under the License.
5803
5967
  */
5804
- function De(t, e, n) {
5968
+ function Ae(t, e, n) {
5805
5969
  return `firebase:${t}:${e}:${n}`;
5806
5970
  }
5807
5971
  class ae {
5808
5972
  constructor(e, n, i) {
5809
5973
  this.persistence = e, this.auth = n, this.userKey = i;
5810
5974
  const { config: r, name: s } = this.auth;
5811
- this.fullUserKey = De(this.userKey, r.apiKey, s), this.fullPersistenceKey = De("persistence", r.apiKey, s), this.boundEventHandler = n._onStorageEvent.bind(n), this.persistence._addListener(this.fullUserKey, this.boundEventHandler);
5975
+ this.fullUserKey = Ae(this.userKey, r.apiKey, s), this.fullPersistenceKey = Ae("persistence", r.apiKey, s), this.boundEventHandler = n._onStorageEvent.bind(n), this.persistence._addListener(this.fullUserKey, this.boundEventHandler);
5812
5976
  }
5813
5977
  setCurrentUser(e) {
5814
5978
  return this.persistence._set(this.fullUserKey, e.toJSON());
5815
5979
  }
5816
5980
  async getCurrentUser() {
5817
5981
  const e = await this.persistence._get(this.fullUserKey);
5818
- return e ? M._fromJSON(this.auth, e) : null;
5982
+ return e ? x._fromJSON(this.auth, e) : null;
5819
5983
  }
5820
5984
  removeCurrentUser() {
5821
5985
  return this.persistence._remove(this.fullUserKey);
@@ -5835,19 +5999,19 @@ class ae {
5835
5999
  }
5836
6000
  static async create(e, n, i = "authUser") {
5837
6001
  if (!n.length)
5838
- return new ae(x(Vt), e, i);
6002
+ return new ae(M(Vt), e, i);
5839
6003
  const r = (await Promise.all(n.map(async (l) => {
5840
6004
  if (await l._isAvailable())
5841
6005
  return l;
5842
6006
  }))).filter((l) => l);
5843
- let s = r[0] || x(Vt);
5844
- const a = De(i, e.config.apiKey, e.name);
6007
+ let s = r[0] || M(Vt);
6008
+ const a = Ae(i, e.config.apiKey, e.name);
5845
6009
  let c = null;
5846
6010
  for (const l of n)
5847
6011
  try {
5848
6012
  const u = await l._get(a);
5849
6013
  if (u) {
5850
- const h = M._fromJSON(e, u);
6014
+ const h = x._fromJSON(e, u);
5851
6015
  l !== s && (c = h), s = l;
5852
6016
  break;
5853
6017
  }
@@ -5889,19 +6053,19 @@ function $t(t) {
5889
6053
  return "IE";
5890
6054
  if (e.includes("edge/"))
5891
6055
  return "Edge";
5892
- if (Cn(e))
6056
+ if (Dn(e))
5893
6057
  return "Firefox";
5894
6058
  if (e.includes("silk/"))
5895
6059
  return "Silk";
5896
- if (xn(e))
6060
+ if (Mn(e))
5897
6061
  return "Blackberry";
5898
6062
  if (Ln(e))
5899
6063
  return "Webos";
5900
- if (Dn(e))
6064
+ if (An(e))
5901
6065
  return "Safari";
5902
6066
  if ((e.includes("chrome/") || On(e)) && !e.includes("edge/"))
5903
6067
  return "Chrome";
5904
- if (Mn(e))
6068
+ if (xn(e))
5905
6069
  return "Android";
5906
6070
  {
5907
6071
  const n = /([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/, i = t.match(n);
@@ -5910,10 +6074,10 @@ function $t(t) {
5910
6074
  }
5911
6075
  return "Other";
5912
6076
  }
5913
- function Cn(t = S()) {
6077
+ function Dn(t = S()) {
5914
6078
  return /firefox\//i.test(t);
5915
6079
  }
5916
- function Dn(t = S()) {
6080
+ function An(t = S()) {
5917
6081
  const e = t.toLowerCase();
5918
6082
  return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
5919
6083
  }
@@ -5923,10 +6087,10 @@ function On(t = S()) {
5923
6087
  function Nn(t = S()) {
5924
6088
  return /iemobile/i.test(t);
5925
6089
  }
5926
- function Mn(t = S()) {
6090
+ function xn(t = S()) {
5927
6091
  return /android/i.test(t);
5928
6092
  }
5929
- function xn(t = S()) {
6093
+ function Mn(t = S()) {
5930
6094
  return /blackberry/i.test(t);
5931
6095
  }
5932
6096
  function Ln(t = S()) {
@@ -5943,7 +6107,7 @@ function ks() {
5943
6107
  return Vi() && document.documentMode === 10;
5944
6108
  }
5945
6109
  function Un(t = S()) {
5946
- return _t(t) || Mn(t) || Ln(t) || xn(t) || /windows phone/i.test(t) || Nn(t);
6110
+ return _t(t) || xn(t) || Ln(t) || Mn(t) || /windows phone/i.test(t) || Nn(t);
5947
6111
  }
5948
6112
  /**
5949
6113
  * @license
@@ -6067,7 +6231,7 @@ async function Es(t, e = {}) {
6067
6231
  * limitations under the License.
6068
6232
  */
6069
6233
  const Ps = 6;
6070
- class As {
6234
+ class Rs {
6071
6235
  constructor(e) {
6072
6236
  var n, i, r, s;
6073
6237
  const a = e.customStrengthOptions;
@@ -6154,12 +6318,12 @@ class As {
6154
6318
  * See the License for the specific language governing permissions and
6155
6319
  * limitations under the License.
6156
6320
  */
6157
- class Rs {
6321
+ class Cs {
6158
6322
  constructor(e, n, i, r) {
6159
- this.app = e, this.heartbeatServiceProvider = n, this.appCheckServiceProvider = i, this.config = r, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new jt(this), this.idTokenSubscription = new jt(this), this.beforeStateQueue = new Ts(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = In, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = r.sdkClientVersion;
6323
+ this.app = e, this.heartbeatServiceProvider = n, this.appCheckServiceProvider = i, this.config = r, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Wt(this), this.idTokenSubscription = new Wt(this), this.beforeStateQueue = new Ts(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = In, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = r.sdkClientVersion;
6160
6324
  }
6161
6325
  _initializeWithPersistence(e, n) {
6162
- return n && (this._popupRedirectResolver = x(n)), this._initializationPromise = this.queue(async () => {
6326
+ return n && (this._popupRedirectResolver = M(n)), this._initializationPromise = this.queue(async () => {
6163
6327
  var i, r;
6164
6328
  if (!this._deleted && (this.persistenceManager = await ae.create(this, e), !this._deleted)) {
6165
6329
  if (!((i = this._popupRedirectResolver) === null || i === void 0) && i._shouldInitProactively)
@@ -6192,7 +6356,7 @@ class Rs {
6192
6356
  }
6193
6357
  async initializeCurrentUserFromIdToken(e) {
6194
6358
  try {
6195
- const n = await Pn(this, { idToken: e }), i = await M._fromGetAccountInfoResponse(this, n, e);
6359
+ const n = await Pn(this, { idToken: e }), i = await x._fromGetAccountInfoResponse(this, n, e);
6196
6360
  await this.directlySetCurrentUser(i);
6197
6361
  } catch (n) {
6198
6362
  console.warn("FirebaseServerApp could not login user with provided authIdToken: ", n), await this.directlySetCurrentUser(null);
@@ -6258,7 +6422,7 @@ class Rs {
6258
6422
  async updateCurrentUser(e) {
6259
6423
  if (O(this.app))
6260
6424
  return Promise.reject(Q(this));
6261
- const n = e ? R(e) : null;
6425
+ const n = e ? C(e) : null;
6262
6426
  return n && d(
6263
6427
  n.auth.config.apiKey === this.config.apiKey,
6264
6428
  this,
@@ -6286,7 +6450,7 @@ class Rs {
6286
6450
  }
6287
6451
  setPersistence(e) {
6288
6452
  return O(this.app) ? Promise.reject(Q(this)) : this.queue(async () => {
6289
- await this.assertedPersistence.setPersistence(x(e));
6453
+ await this.assertedPersistence.setPersistence(M(e));
6290
6454
  });
6291
6455
  }
6292
6456
  _getRecaptchaConfig() {
@@ -6301,7 +6465,7 @@ class Rs {
6301
6465
  return this.tenantId === null ? this._projectPasswordPolicy : this._tenantPasswordPolicies[this.tenantId];
6302
6466
  }
6303
6467
  async _updatePasswordPolicy() {
6304
- const e = await Es(this), n = new As(e);
6468
+ const e = await Es(this), n = new Rs(e);
6305
6469
  this.tenantId === null ? this._projectPasswordPolicy = n : this._tenantPasswordPolicies[this.tenantId] = n;
6306
6470
  }
6307
6471
  _getPersistence() {
@@ -6359,7 +6523,7 @@ class Rs {
6359
6523
  }
6360
6524
  async getOrInitRedirectPersistenceManager(e) {
6361
6525
  if (!this.redirectPersistenceManager) {
6362
- const n = e && x(e) || this._popupRedirectResolver;
6526
+ const n = e && M(e) || this._popupRedirectResolver;
6363
6527
  d(
6364
6528
  n,
6365
6529
  this,
@@ -6367,7 +6531,7 @@ class Rs {
6367
6531
  /* AuthErrorCode.ARGUMENT_ERROR */
6368
6532
  ), this.redirectPersistenceManager = await ae.create(
6369
6533
  this,
6370
- [x(n._redirectPersistence)],
6534
+ [M(n._redirectPersistence)],
6371
6535
  "redirectUser"
6372
6536
  /* KeyName.REDIRECT_USER */
6373
6537
  ), this.redirectUser = await this.redirectPersistenceManager.getCurrentUser();
@@ -6488,9 +6652,9 @@ class Rs {
6488
6652
  }
6489
6653
  }
6490
6654
  function $e(t) {
6491
- return R(t);
6655
+ return C(t);
6492
6656
  }
6493
- class jt {
6657
+ class Wt {
6494
6658
  constructor(e) {
6495
6659
  this.auth = e, this.observer = null, this.addObserver = Gi((n) => this.observer = n);
6496
6660
  }
@@ -6527,10 +6691,10 @@ let bt = {
6527
6691
  recaptchaEnterpriseScript: "",
6528
6692
  gapiScript: ""
6529
6693
  };
6530
- function Cs(t) {
6694
+ function Ds(t) {
6531
6695
  bt = t;
6532
6696
  }
6533
- function Ds(t) {
6697
+ function As(t) {
6534
6698
  return bt.loadJS(t);
6535
6699
  }
6536
6700
  function Os() {
@@ -6555,11 +6719,11 @@ function Ns(t) {
6555
6719
  * See the License for the specific language governing permissions and
6556
6720
  * limitations under the License.
6557
6721
  */
6558
- function Ms(t, e) {
6722
+ function xs(t, e) {
6559
6723
  const n = pt(t, "auth");
6560
6724
  if (n.isInitialized()) {
6561
6725
  const r = n.getImmediate(), s = n.getOptions();
6562
- if (xe(s, e ?? {}))
6726
+ if (Me(s, e ?? {}))
6563
6727
  return r;
6564
6728
  U(
6565
6729
  r,
@@ -6569,8 +6733,8 @@ function Ms(t, e) {
6569
6733
  }
6570
6734
  return n.initialize({ options: e });
6571
6735
  }
6572
- function xs(t, e) {
6573
- const n = (e == null ? void 0 : e.persistence) || [], i = (Array.isArray(n) ? n : [n]).map(x);
6736
+ function Ms(t, e) {
6737
+ const n = (e == null ? void 0 : e.persistence) || [], i = (Array.isArray(n) ? n : [n]).map(M);
6574
6738
  e != null && e.errorMap && t._updateErrorMap(e.errorMap), t._initializeWithPersistence(i, e == null ? void 0 : e.popupRedirectResolver);
6575
6739
  }
6576
6740
  function Ls(t, e, n) {
@@ -6605,13 +6769,13 @@ function Us(t) {
6605
6769
  const i = n[2].split("@").pop() || "", r = /^(\[[^\]]+\])(:|$)/.exec(i);
6606
6770
  if (r) {
6607
6771
  const s = r[1];
6608
- return { host: s, port: Wt(i.substr(s.length + 1)) };
6772
+ return { host: s, port: jt(i.substr(s.length + 1)) };
6609
6773
  } else {
6610
6774
  const [s, a] = i.split(":");
6611
- return { host: s, port: Wt(a) };
6775
+ return { host: s, port: jt(a) };
6612
6776
  }
6613
6777
  }
6614
- function Wt(t) {
6778
+ function jt(t) {
6615
6779
  if (!t)
6616
6780
  return null;
6617
6781
  const e = Number(t);
@@ -7022,7 +7186,7 @@ $.PROVIDER_ID = "google.com";
7022
7186
  * See the License for the specific language governing permissions and
7023
7187
  * limitations under the License.
7024
7188
  */
7025
- class j extends Se {
7189
+ class W extends Se {
7026
7190
  constructor() {
7027
7191
  super(
7028
7192
  "github.com"
@@ -7036,8 +7200,8 @@ class j extends Se {
7036
7200
  */
7037
7201
  static credential(e) {
7038
7202
  return te._fromParams({
7039
- providerId: j.PROVIDER_ID,
7040
- signInMethod: j.GITHUB_SIGN_IN_METHOD,
7203
+ providerId: W.PROVIDER_ID,
7204
+ signInMethod: W.GITHUB_SIGN_IN_METHOD,
7041
7205
  accessToken: e
7042
7206
  });
7043
7207
  }
@@ -7047,7 +7211,7 @@ class j extends Se {
7047
7211
  * @param userCredential - The user credential.
7048
7212
  */
7049
7213
  static credentialFromResult(e) {
7050
- return j.credentialFromTaggedObject(e);
7214
+ return W.credentialFromTaggedObject(e);
7051
7215
  }
7052
7216
  /**
7053
7217
  * Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
@@ -7056,20 +7220,20 @@ class j extends Se {
7056
7220
  * @param userCredential - The user credential.
7057
7221
  */
7058
7222
  static credentialFromError(e) {
7059
- return j.credentialFromTaggedObject(e.customData || {});
7223
+ return W.credentialFromTaggedObject(e.customData || {});
7060
7224
  }
7061
7225
  static credentialFromTaggedObject({ _tokenResponse: e }) {
7062
7226
  if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
7063
7227
  return null;
7064
7228
  try {
7065
- return j.credential(e.oauthAccessToken);
7229
+ return W.credential(e.oauthAccessToken);
7066
7230
  } catch {
7067
7231
  return null;
7068
7232
  }
7069
7233
  }
7070
7234
  }
7071
- j.GITHUB_SIGN_IN_METHOD = "github.com";
7072
- j.PROVIDER_ID = "github.com";
7235
+ W.GITHUB_SIGN_IN_METHOD = "github.com";
7236
+ W.PROVIDER_ID = "github.com";
7073
7237
  /**
7074
7238
  * @license
7075
7239
  * Copyright 2020 Google LLC
@@ -7086,7 +7250,7 @@ j.PROVIDER_ID = "github.com";
7086
7250
  * See the License for the specific language governing permissions and
7087
7251
  * limitations under the License.
7088
7252
  */
7089
- class W extends Se {
7253
+ class j extends Se {
7090
7254
  constructor() {
7091
7255
  super(
7092
7256
  "twitter.com"
@@ -7101,8 +7265,8 @@ class W extends Se {
7101
7265
  */
7102
7266
  static credential(e, n) {
7103
7267
  return te._fromParams({
7104
- providerId: W.PROVIDER_ID,
7105
- signInMethod: W.TWITTER_SIGN_IN_METHOD,
7268
+ providerId: j.PROVIDER_ID,
7269
+ signInMethod: j.TWITTER_SIGN_IN_METHOD,
7106
7270
  oauthToken: e,
7107
7271
  oauthTokenSecret: n
7108
7272
  });
@@ -7113,7 +7277,7 @@ class W extends Se {
7113
7277
  * @param userCredential - The user credential.
7114
7278
  */
7115
7279
  static credentialFromResult(e) {
7116
- return W.credentialFromTaggedObject(e);
7280
+ return j.credentialFromTaggedObject(e);
7117
7281
  }
7118
7282
  /**
7119
7283
  * Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
@@ -7122,7 +7286,7 @@ class W extends Se {
7122
7286
  * @param userCredential - The user credential.
7123
7287
  */
7124
7288
  static credentialFromError(e) {
7125
- return W.credentialFromTaggedObject(e.customData || {});
7289
+ return j.credentialFromTaggedObject(e.customData || {});
7126
7290
  }
7127
7291
  static credentialFromTaggedObject({ _tokenResponse: e }) {
7128
7292
  if (!e)
@@ -7131,14 +7295,14 @@ class W extends Se {
7131
7295
  if (!n || !i)
7132
7296
  return null;
7133
7297
  try {
7134
- return W.credential(n, i);
7298
+ return j.credential(n, i);
7135
7299
  } catch {
7136
7300
  return null;
7137
7301
  }
7138
7302
  }
7139
7303
  }
7140
- W.TWITTER_SIGN_IN_METHOD = "twitter.com";
7141
- W.PROVIDER_ID = "twitter.com";
7304
+ j.TWITTER_SIGN_IN_METHOD = "twitter.com";
7305
+ j.PROVIDER_ID = "twitter.com";
7142
7306
  /**
7143
7307
  * @license
7144
7308
  * Copyright 2020 Google LLC
@@ -7160,7 +7324,7 @@ class ne {
7160
7324
  this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
7161
7325
  }
7162
7326
  static async _fromIdTokenResponse(e, n, i, r = !1) {
7163
- const s = await M._fromIdTokenResponse(e, i, r), a = qt(i);
7327
+ const s = await x._fromIdTokenResponse(e, i, r), a = qt(i);
7164
7328
  return new ne({
7165
7329
  user: s,
7166
7330
  providerId: a,
@@ -7314,7 +7478,7 @@ async function $s(t, e, n = !1) {
7314
7478
  * See the License for the specific language governing permissions and
7315
7479
  * limitations under the License.
7316
7480
  */
7317
- async function js(t, e) {
7481
+ async function Ws(t, e) {
7318
7482
  return Tn(t, "POST", "/v1/accounts:signInWithCustomToken", Ve(t, e));
7319
7483
  }
7320
7484
  /**
@@ -7333,23 +7497,23 @@ async function js(t, e) {
7333
7497
  * See the License for the specific language governing permissions and
7334
7498
  * limitations under the License.
7335
7499
  */
7336
- async function Cc(t, e) {
7500
+ async function Dc(t, e) {
7337
7501
  if (O(t.app))
7338
7502
  return Promise.reject(Q(t));
7339
- const n = $e(t), i = await js(n, {
7503
+ const n = $e(t), i = await Ws(n, {
7340
7504
  token: e,
7341
7505
  returnSecureToken: !0
7342
7506
  }), r = await ne._fromIdTokenResponse(n, "signIn", i);
7343
7507
  return await n._updateCurrentUser(r.user), r;
7344
7508
  }
7345
- function Ws(t, e, n, i) {
7346
- return R(t).onIdTokenChanged(e, n, i);
7509
+ function js(t, e, n, i) {
7510
+ return C(t).onIdTokenChanged(e, n, i);
7347
7511
  }
7348
7512
  function qs(t, e, n) {
7349
- return R(t).beforeAuthStateChanged(e, n);
7513
+ return C(t).beforeAuthStateChanged(e, n);
7350
7514
  }
7351
- function Dc(t) {
7352
- return R(t).signOut();
7515
+ function Ac(t) {
7516
+ return C(t).signOut();
7353
7517
  }
7354
7518
  const Be = "__sak";
7355
7519
  /**
@@ -7368,7 +7532,7 @@ const Be = "__sak";
7368
7532
  * See the License for the specific language governing permissions and
7369
7533
  * limitations under the License.
7370
7534
  */
7371
- class jn {
7535
+ class Wn {
7372
7536
  constructor(e, n) {
7373
7537
  this.storageRetriever = e, this.type = n;
7374
7538
  }
@@ -7410,7 +7574,7 @@ class jn {
7410
7574
  * limitations under the License.
7411
7575
  */
7412
7576
  const zs = 1e3, Ks = 10;
7413
- class Wn extends jn {
7577
+ class jn extends Wn {
7414
7578
  constructor() {
7415
7579
  super(
7416
7580
  () => window.localStorage,
@@ -7488,8 +7652,8 @@ class Wn extends jn {
7488
7652
  await super._remove(e), delete this.localCache[e];
7489
7653
  }
7490
7654
  }
7491
- Wn.type = "LOCAL";
7492
- const Gs = Wn;
7655
+ jn.type = "LOCAL";
7656
+ const Gs = jn;
7493
7657
  /**
7494
7658
  * @license
7495
7659
  * Copyright 2020 Google LLC
@@ -7506,7 +7670,7 @@ const Gs = Wn;
7506
7670
  * See the License for the specific language governing permissions and
7507
7671
  * limitations under the License.
7508
7672
  */
7509
- class qn extends jn {
7673
+ class qn extends Wn {
7510
7674
  constructor() {
7511
7675
  super(
7512
7676
  () => window.sessionStorage,
@@ -7568,7 +7732,7 @@ function Qs(t) {
7568
7732
  * See the License for the specific language governing permissions and
7569
7733
  * limitations under the License.
7570
7734
  */
7571
- class je {
7735
+ class We {
7572
7736
  constructor(e) {
7573
7737
  this.eventTarget = e, this.handlersMap = {}, this.boundEventHandler = this.handleEvent.bind(this);
7574
7738
  }
@@ -7582,7 +7746,7 @@ class je {
7582
7746
  const n = this.receivers.find((r) => r.isListeningto(e));
7583
7747
  if (n)
7584
7748
  return n;
7585
- const i = new je(e);
7749
+ const i = new We(e);
7586
7750
  return this.receivers.push(i), i;
7587
7751
  }
7588
7752
  isListeningto(e) {
@@ -7636,7 +7800,7 @@ class je {
7636
7800
  this.handlersMap[e] && n && this.handlersMap[e].delete(n), (!n || this.handlersMap[e].size === 0) && delete this.handlersMap[e], Object.keys(this.handlersMap).length === 0 && this.eventTarget.removeEventListener("message", this.boundEventHandler);
7637
7801
  }
7638
7802
  }
7639
- je.receivers = [];
7803
+ We.receivers = [];
7640
7804
  /**
7641
7805
  * @license
7642
7806
  * Copyright 2020 Google LLC
@@ -7772,11 +7936,11 @@ class Js {
7772
7936
  * See the License for the specific language governing permissions and
7773
7937
  * limitations under the License.
7774
7938
  */
7775
- function A() {
7939
+ function R() {
7776
7940
  return window;
7777
7941
  }
7778
7942
  function Xs(t) {
7779
- A().location.href = t;
7943
+ R().location.href = t;
7780
7944
  }
7781
7945
  /**
7782
7946
  * @license
@@ -7795,7 +7959,7 @@ function Xs(t) {
7795
7959
  * limitations under the License.
7796
7960
  */
7797
7961
  function Kn() {
7798
- return typeof A().WorkerGlobalScope < "u" && typeof A().importScripts == "function";
7962
+ return typeof R().WorkerGlobalScope < "u" && typeof R().importScripts == "function";
7799
7963
  }
7800
7964
  async function Ys() {
7801
7965
  if (!(navigator != null && navigator.serviceWorker))
@@ -7844,7 +8008,7 @@ class we {
7844
8008
  });
7845
8009
  }
7846
8010
  }
7847
- function We(t, e) {
8011
+ function je(t, e) {
7848
8012
  return t.transaction([He], e ? "readwrite" : "readonly").objectStore(He);
7849
8013
  }
7850
8014
  function na() {
@@ -7870,18 +8034,18 @@ function lt() {
7870
8034
  });
7871
8035
  }
7872
8036
  async function zt(t, e, n) {
7873
- const i = We(t, !0).put({
8037
+ const i = je(t, !0).put({
7874
8038
  [Qn]: e,
7875
8039
  value: n
7876
8040
  });
7877
8041
  return new we(i).toPromise();
7878
8042
  }
7879
8043
  async function ia(t, e) {
7880
- const n = We(t, !1).get(e), i = await new we(n).toPromise();
8044
+ const n = je(t, !1).get(e), i = await new we(n).toPromise();
7881
8045
  return i === void 0 ? null : i.value;
7882
8046
  }
7883
8047
  function Kt(t, e) {
7884
- const n = We(t, !0).delete(e);
8048
+ const n = je(t, !0).delete(e);
7885
8049
  return new we(n).toPromise();
7886
8050
  }
7887
8051
  const ra = 800, sa = 3;
@@ -7917,7 +8081,7 @@ class Jn {
7917
8081
  * As the worker we should listen to events from the main window.
7918
8082
  */
7919
8083
  async initializeReceiver() {
7920
- this.receiver = je._getInstance(ea()), this.receiver._subscribe("keyChanged", async (e, n) => ({
8084
+ this.receiver = We._getInstance(ea()), this.receiver._subscribe("keyChanged", async (e, n) => ({
7921
8085
  keyProcessed: (await this._poll()).includes(n.key)
7922
8086
  })), this.receiver._subscribe("ping", async (e, n) => [
7923
8087
  "keyChanged"
@@ -7999,7 +8163,7 @@ class Jn {
7999
8163
  }
8000
8164
  async _poll() {
8001
8165
  const e = await this._withRetries((r) => {
8002
- const s = We(r, !1).getAll();
8166
+ const s = je(r, !1).getAll();
8003
8167
  return new we(s).toPromise();
8004
8168
  });
8005
8169
  if (!e)
@@ -8054,7 +8218,7 @@ new Ie(3e4, 6e4);
8054
8218
  * limitations under the License.
8055
8219
  */
8056
8220
  function oa(t, e) {
8057
- return e ? x(e) : (d(
8221
+ return e ? M(e) : (d(
8058
8222
  t._popupRedirectResolver,
8059
8223
  t,
8060
8224
  "argument-error"
@@ -8371,10 +8535,10 @@ function ma(t, e) {
8371
8535
  Oe.set(t._key(), e);
8372
8536
  }
8373
8537
  function ga(t) {
8374
- return x(t._redirectPersistence);
8538
+ return M(t._redirectPersistence);
8375
8539
  }
8376
8540
  function ya(t) {
8377
- return De(ha, t.config.apiKey, t.name);
8541
+ return Ae(ha, t.config.apiKey, t.name);
8378
8542
  }
8379
8543
  async function va(t, e, n = !1) {
8380
8544
  if (O(t.app))
@@ -8537,7 +8701,7 @@ function Ea(t) {
8537
8701
  */
8538
8702
  const Pa = new Ie(3e4, 6e4);
8539
8703
  function Qt() {
8540
- const t = A().___jsl;
8704
+ const t = R().___jsl;
8541
8705
  if (t != null && t.H) {
8542
8706
  for (const e of Object.keys(t.H))
8543
8707
  if (t.H[e].r = t.H[e].r || [], t.H[e].L = t.H[e].L || [], t.H[e].r = [...t.H[e].L], t.CP)
@@ -8545,7 +8709,7 @@ function Qt() {
8545
8709
  t.CP[n] = null;
8546
8710
  }
8547
8711
  }
8548
- function Aa(t) {
8712
+ function Ra(t) {
8549
8713
  return new Promise((e, n) => {
8550
8714
  var i, r, s;
8551
8715
  function a() {
@@ -8563,27 +8727,27 @@ function Aa(t) {
8563
8727
  timeout: Pa.get()
8564
8728
  });
8565
8729
  }
8566
- if (!((r = (i = A().gapi) === null || i === void 0 ? void 0 : i.iframes) === null || r === void 0) && r.Iframe)
8730
+ if (!((r = (i = R().gapi) === null || i === void 0 ? void 0 : i.iframes) === null || r === void 0) && r.Iframe)
8567
8731
  e(gapi.iframes.getContext());
8568
- else if (!((s = A().gapi) === null || s === void 0) && s.load)
8732
+ else if (!((s = R().gapi) === null || s === void 0) && s.load)
8569
8733
  a();
8570
8734
  else {
8571
8735
  const c = Ns("iframefcb");
8572
- return A()[c] = () => {
8736
+ return R()[c] = () => {
8573
8737
  gapi.load ? a() : n(P(
8574
8738
  t,
8575
8739
  "network-request-failed"
8576
8740
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
8577
8741
  ));
8578
- }, Ds(`${Os()}?onload=${c}`).catch((o) => n(o));
8742
+ }, As(`${Os()}?onload=${c}`).catch((o) => n(o));
8579
8743
  }
8580
8744
  }).catch((e) => {
8581
8745
  throw Ne = null, e;
8582
8746
  });
8583
8747
  }
8584
8748
  let Ne = null;
8585
- function Ra(t) {
8586
- return Ne = Ne || Aa(t), Ne;
8749
+ function Ca(t) {
8750
+ return Ne = Ne || Ra(t), Ne;
8587
8751
  }
8588
8752
  /**
8589
8753
  * @license
@@ -8601,7 +8765,7 @@ function Ra(t) {
8601
8765
  * See the License for the specific language governing permissions and
8602
8766
  * limitations under the License.
8603
8767
  */
8604
- const Ca = new Ie(5e3, 15e3), Da = "__/auth/iframe", Oa = "emulator/auth/iframe", Na = {
8768
+ const Da = new Ie(5e3, 15e3), Aa = "__/auth/iframe", Oa = "emulator/auth/iframe", Na = {
8605
8769
  style: {
8606
8770
  position: "absolute",
8607
8771
  top: "-100px",
@@ -8610,13 +8774,13 @@ const Ca = new Ie(5e3, 15e3), Da = "__/auth/iframe", Oa = "emulator/auth/iframe"
8610
8774
  },
8611
8775
  "aria-hidden": "true",
8612
8776
  tabindex: "-1"
8613
- }, Ma = /* @__PURE__ */ new Map([
8777
+ }, xa = /* @__PURE__ */ new Map([
8614
8778
  ["identitytoolkit.googleapis.com", "p"],
8615
8779
  ["staging-identitytoolkit.sandbox.googleapis.com", "s"],
8616
8780
  ["test-identitytoolkit.sandbox.googleapis.com", "t"]
8617
8781
  // test
8618
8782
  ]);
8619
- function xa(t) {
8783
+ function Ma(t) {
8620
8784
  const e = t.config;
8621
8785
  d(
8622
8786
  e.authDomain,
@@ -8624,17 +8788,17 @@ function xa(t) {
8624
8788
  "auth-domain-config-required"
8625
8789
  /* AuthErrorCode.MISSING_AUTH_DOMAIN */
8626
8790
  );
8627
- const n = e.emulator ? yt(e, Oa) : `https://${t.config.authDomain}/${Da}`, i = {
8791
+ const n = e.emulator ? yt(e, Oa) : `https://${t.config.authDomain}/${Aa}`, i = {
8628
8792
  apiKey: e.apiKey,
8629
8793
  appName: t.name,
8630
8794
  v: le
8631
- }, r = Ma.get(t.config.apiHost);
8795
+ }, r = xa.get(t.config.apiHost);
8632
8796
  r && (i.eid = r);
8633
8797
  const s = t._getFrameworks();
8634
8798
  return s.length && (i.fw = s.join(",")), `${n}?${be(i).slice(1)}`;
8635
8799
  }
8636
8800
  async function La(t) {
8637
- const e = await Ra(t), n = A().gapi;
8801
+ const e = await Ca(t), n = R().gapi;
8638
8802
  return d(
8639
8803
  n,
8640
8804
  t,
@@ -8642,7 +8806,7 @@ async function La(t) {
8642
8806
  /* AuthErrorCode.INTERNAL_ERROR */
8643
8807
  ), e.open({
8644
8808
  where: document.body,
8645
- url: xa(t),
8809
+ url: Ma(t),
8646
8810
  messageHandlersFilter: n.iframes.CROSS_ORIGIN_IFRAMES_FILTER,
8647
8811
  attributes: Na,
8648
8812
  dontclear: !0
@@ -8655,11 +8819,11 @@ async function La(t) {
8655
8819
  t,
8656
8820
  "network-request-failed"
8657
8821
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
8658
- ), c = A().setTimeout(() => {
8822
+ ), c = R().setTimeout(() => {
8659
8823
  s(a);
8660
- }, Ca.get());
8824
+ }, Da.get());
8661
8825
  function o() {
8662
- A().clearTimeout(c), r(i);
8826
+ R().clearTimeout(c), r(i);
8663
8827
  }
8664
8828
  i.ping(o).then(o, () => {
8665
8829
  s(a);
@@ -8709,10 +8873,10 @@ function $a(t, e, n, i = Fa, r = Ba) {
8709
8873
  top: s,
8710
8874
  left: a
8711
8875
  }), l = S().toLowerCase();
8712
- n && (c = On(l) ? Ha : n), Cn(l) && (e = e || Va, o.scrollbars = "yes");
8876
+ n && (c = On(l) ? Ha : n), Dn(l) && (e = e || Va, o.scrollbars = "yes");
8713
8877
  const u = Object.entries(o).reduce((f, [y, b]) => `${f}${y}=${b},`, "");
8714
8878
  if (ws(l) && c !== "_self")
8715
- return ja(e || "", c), new Jt(null);
8879
+ return Wa(e || "", c), new Jt(null);
8716
8880
  const h = window.open(e || "", c, u);
8717
8881
  d(
8718
8882
  h,
@@ -8726,7 +8890,7 @@ function $a(t, e, n, i = Fa, r = Ba) {
8726
8890
  }
8727
8891
  return new Jt(h);
8728
8892
  }
8729
- function ja(t, e) {
8893
+ function Wa(t, e) {
8730
8894
  const n = document.createElement("a");
8731
8895
  n.href = t, n.target = e;
8732
8896
  const i = document.createEvent("MouseEvent");
@@ -8748,7 +8912,7 @@ function ja(t, e) {
8748
8912
  * See the License for the specific language governing permissions and
8749
8913
  * limitations under the License.
8750
8914
  */
8751
- const Wa = "__/auth/handler", qa = "emulator/auth/handler", za = encodeURIComponent("fac");
8915
+ const ja = "__/auth/handler", qa = "emulator/auth/handler", za = encodeURIComponent("fac");
8752
8916
  async function Xt(t, e, n, i, r, s) {
8753
8917
  d(
8754
8918
  t.config.authDomain,
@@ -8786,7 +8950,7 @@ async function Xt(t, e, n, i, r, s) {
8786
8950
  return `${Ka(t)}?${be(c).slice(1)}${l}`;
8787
8951
  }
8788
8952
  function Ka({ config: t }) {
8789
- return t.emulator ? yt(t, qa) : `https://${t.authDomain}/${Wa}`;
8953
+ return t.emulator ? yt(t, qa) : `https://${t.authDomain}/${ja}`;
8790
8954
  }
8791
8955
  /**
8792
8956
  * @license
@@ -8862,7 +9026,7 @@ class Ga {
8862
9026
  return this.originValidationPromises[n] || (this.originValidationPromises[n] = Ta(e)), this.originValidationPromises[n];
8863
9027
  }
8864
9028
  get _shouldInitProactively() {
8865
- return Un() || Dn() || _t();
9029
+ return Un() || An() || _t();
8866
9030
  }
8867
9031
  }
8868
9032
  const Qa = Ga;
@@ -8964,8 +9128,8 @@ function Ya(t) {
8964
9128
  tokenApiHost: "securetoken.googleapis.com",
8965
9129
  apiScheme: "https",
8966
9130
  sdkClientVersion: Fn(t)
8967
- }, l = new Rs(i, r, s, o);
8968
- return xs(l, n), l;
9131
+ }, l = new Cs(i, r, s, o);
9132
+ return Ms(l, n), l;
8969
9133
  },
8970
9134
  "PUBLIC"
8971
9135
  /* ComponentType.PUBLIC */
@@ -9027,7 +9191,7 @@ function no(t = ft()) {
9027
9191
  const e = pt(t, "auth");
9028
9192
  if (e.isInitialized())
9029
9193
  return e.getImmediate();
9030
- const n = Ms(t, {
9194
+ const n = xs(t, {
9031
9195
  popupRedirectResolver: Qa,
9032
9196
  persistence: [
9033
9197
  aa,
@@ -9039,7 +9203,7 @@ function no(t = ft()) {
9039
9203
  const s = new URL(i, location.origin);
9040
9204
  if (location.origin === s.origin) {
9041
9205
  const a = to(s.toString());
9042
- qs(n, a, () => a(n.currentUser)), Ws(n, (c) => a(c));
9206
+ qs(n, a, () => a(n.currentUser)), js(n, (c) => a(c));
9043
9207
  }
9044
9208
  }
9045
9209
  const r = dn("auth");
@@ -9049,7 +9213,7 @@ function io() {
9049
9213
  var t, e;
9050
9214
  return (e = (t = document.getElementsByTagName("head")) === null || t === void 0 ? void 0 : t[0]) !== null && e !== void 0 ? e : document;
9051
9215
  }
9052
- Cs({
9216
+ Ds({
9053
9217
  loadJS(t) {
9054
9218
  return new Promise((e, n) => {
9055
9219
  const i = document.createElement("script");
@@ -9250,7 +9414,7 @@ class k {
9250
9414
  function l(_) {
9251
9415
  _.path_ = decodeURIComponent(_.path);
9252
9416
  }
9253
- const u = "v[A-Za-z0-9_]+", h = n.replace(/[.]/g, "\\."), f = "(/([^?#]*).*)?$", y = new RegExp(`^https?://${h}/${u}/b/${r}/o${f}`, "i"), b = { bucket: 1, path: 3 }, C = n === Zn ? "(?:storage.googleapis.com|storage.cloud.google.com)" : n, v = "([^?#]*)", D = new RegExp(`^https?://${C}/${r}/${v}`, "i"), w = [
9417
+ const u = "v[A-Za-z0-9_]+", h = n.replace(/[.]/g, "\\."), f = "(/([^?#]*).*)?$", y = new RegExp(`^https?://${h}/${u}/b/${r}/o${f}`, "i"), b = { bucket: 1, path: 3 }, D = n === Zn ? "(?:storage.googleapis.com|storage.cloud.google.com)" : n, v = "([^?#]*)", A = new RegExp(`^https?://${D}/${r}/${v}`, "i"), w = [
9254
9418
  { regex: c, indices: o, postModify: s },
9255
9419
  {
9256
9420
  regex: y,
@@ -9258,7 +9422,7 @@ class k {
9258
9422
  postModify: l
9259
9423
  },
9260
9424
  {
9261
- regex: D,
9425
+ regex: A,
9262
9426
  indices: { bucket: 1, path: 2 },
9263
9427
  postModify: l
9264
9428
  }
@@ -9322,17 +9486,17 @@ function bo(t, e, n) {
9322
9486
  function f() {
9323
9487
  s && clearTimeout(s);
9324
9488
  }
9325
- function y(v, ...D) {
9489
+ function y(v, ...A) {
9326
9490
  if (l) {
9327
9491
  f();
9328
9492
  return;
9329
9493
  }
9330
9494
  if (v) {
9331
- f(), u.call(null, v, ...D);
9495
+ f(), u.call(null, v, ...A);
9332
9496
  return;
9333
9497
  }
9334
9498
  if (o() || a) {
9335
- f(), u.call(null, v, ...D);
9499
+ f(), u.call(null, v, ...A);
9336
9500
  return;
9337
9501
  }
9338
9502
  i < 64 && (i *= 2);
@@ -9340,12 +9504,12 @@ function bo(t, e, n) {
9340
9504
  c === 1 ? (c = 2, w = 0) : w = (i + Math.random()) * 1e3, h(w);
9341
9505
  }
9342
9506
  let b = !1;
9343
- function C(v) {
9507
+ function D(v) {
9344
9508
  b || (b = !0, f(), !l && (r !== null ? (v || (c = 2), clearTimeout(r), h(0)) : v || (c = 1)));
9345
9509
  }
9346
9510
  return h(0), s = setTimeout(() => {
9347
- a = !0, C(!0);
9348
- }, n), C;
9511
+ a = !0, D(!0);
9512
+ }, n), D;
9349
9513
  }
9350
9514
  function Io(t) {
9351
9515
  t(!1);
@@ -9530,21 +9694,21 @@ class Ee {
9530
9694
  this.wasSuccessCode = e, this.connection = n, this.canceled = !!i;
9531
9695
  }
9532
9696
  }
9533
- function Ao(t, e) {
9697
+ function Ro(t, e) {
9534
9698
  e !== null && e.length > 0 && (t.Authorization = "Firebase " + e);
9535
9699
  }
9536
- function Ro(t, e) {
9700
+ function Co(t, e) {
9537
9701
  t["X-Firebase-Storage-Version"] = "webjs/" + (e ?? "AppManager");
9538
9702
  }
9539
- function Co(t, e) {
9703
+ function Do(t, e) {
9540
9704
  e && (t["X-Firebase-GMPID"] = e);
9541
9705
  }
9542
- function Do(t, e) {
9706
+ function Ao(t, e) {
9543
9707
  e !== null && (t["X-Firebase-AppCheck"] = e);
9544
9708
  }
9545
9709
  function Oo(t, e, n, i, r, s, a = !0) {
9546
9710
  const c = To(t.urlParams), o = t.url + c, l = Object.assign({}, t.headers);
9547
- return Co(l, e), Ao(l, n), Ro(l, s), Do(l, i), new Po(o, t.method, l, t.body, t.successCodes, t.additionalRetryCodes, t.handler, t.errorHandler, t.timeout, t.progressCallback, r, a);
9711
+ return Do(l, e), Ro(l, n), Co(l, s), Ao(l, i), new Po(o, t.method, l, t.body, t.successCodes, t.additionalRetryCodes, t.handler, t.errorHandler, t.timeout, t.progressCallback, r, a);
9548
9712
  }
9549
9713
  /**
9550
9714
  * @license
@@ -9565,7 +9729,7 @@ function Oo(t, e, n, i, r, s, a = !0) {
9565
9729
  function No() {
9566
9730
  return typeof BlobBuilder < "u" ? BlobBuilder : typeof WebKitBlobBuilder < "u" ? WebKitBlobBuilder : void 0;
9567
9731
  }
9568
- function Mo(...t) {
9732
+ function xo(...t) {
9569
9733
  const e = No();
9570
9734
  if (e !== void 0) {
9571
9735
  const n = new e();
@@ -9578,7 +9742,7 @@ function Mo(...t) {
9578
9742
  throw new g(m.UNSUPPORTED_ENVIRONMENT, "This browser doesn't seem to support creating Blobs");
9579
9743
  }
9580
9744
  }
9581
- function xo(t, e, n) {
9745
+ function Mo(t, e, n) {
9582
9746
  return t.webkitSlice ? t.webkitSlice(e, n) : t.mozSlice ? t.mozSlice(e, n) : t.slice ? t.slice(e, n) : null;
9583
9747
  }
9584
9748
  /**
@@ -9774,7 +9938,7 @@ class q {
9774
9938
  }
9775
9939
  slice(e, n) {
9776
9940
  if (tn(this.data_)) {
9777
- const i = this.data_, r = xo(i, e, n);
9941
+ const i = this.data_, r = Mo(i, e, n);
9778
9942
  return r === null ? null : new q(r);
9779
9943
  } else {
9780
9944
  const i = new Uint8Array(this.data_.buffer, e, n - e);
@@ -9784,7 +9948,7 @@ class q {
9784
9948
  static getBlob(...e) {
9785
9949
  if (kt()) {
9786
9950
  const n = e.map((i) => i instanceof q ? i.data_ : i);
9787
- return new q(Mo.apply(null, n));
9951
+ return new q(xo.apply(null, n));
9788
9952
  } else {
9789
9953
  const n = e.map((a) => ni(a) ? Uo(E.RAW, a).data : a.data_);
9790
9954
  let i = 0;
@@ -9844,13 +10008,13 @@ function $o(t) {
9844
10008
  * See the License for the specific language governing permissions and
9845
10009
  * limitations under the License.
9846
10010
  */
9847
- function jo(t) {
10011
+ function Wo(t) {
9848
10012
  if (t.length === 0)
9849
10013
  return null;
9850
10014
  const e = t.lastIndexOf("/");
9851
10015
  return e === -1 ? "" : t.slice(0, e);
9852
10016
  }
9853
- function Wo(t, e) {
10017
+ function jo(t, e) {
9854
10018
  const n = e.split("/").filter((i) => i.length > 0).join("/");
9855
10019
  return t.length === 0 ? n : t + "/" + n;
9856
10020
  }
@@ -10000,7 +10164,7 @@ Content-Type: ` + l.contentType + `\r
10000
10164
  --` + o + "--", y = q.getBlob(h, i, f);
10001
10165
  if (y === null)
10002
10166
  throw go();
10003
- const b = { name: l.fullPath }, C = ko(s, t.host, t._protocol), v = "POST", D = t.maxUploadRetryTime, T = new Yo(C, v, ec(t, n), D);
10167
+ const b = { name: l.fullPath }, D = ko(s, t.host, t._protocol), v = "POST", A = t.maxUploadRetryTime, T = new Yo(D, v, ec(t, n), A);
10004
10168
  return T.urlParams = b, T.headers = a, T.body = y.uploadData(), T.errorHandler = tc(e), T;
10005
10169
  }
10006
10170
  class sc {
@@ -10137,7 +10301,7 @@ class ie {
10137
10301
  * this reference is the root.
10138
10302
  */
10139
10303
  get parent() {
10140
- const e = jo(this._location.path);
10304
+ const e = Wo(this._location.path);
10141
10305
  if (e === null)
10142
10306
  return null;
10143
10307
  const n = new k(this._location.bucket, e);
@@ -10160,7 +10324,7 @@ function cc(t, e, n) {
10160
10324
  }));
10161
10325
  }
10162
10326
  function lc(t, e) {
10163
- const n = Wo(t._location.path, e), i = new k(t._location.bucket, n);
10327
+ const n = jo(t._location.path, e), i = new k(t._location.bucket, n);
10164
10328
  return new ie(t.storage, i);
10165
10329
  }
10166
10330
  /**
@@ -10326,16 +10490,16 @@ const sn = "@firebase/storage", an = "0.13.2";
10326
10490
  */
10327
10491
  const ci = "storage";
10328
10492
  function Oc(t, e, n) {
10329
- return t = R(t), cc(t, e, n);
10493
+ return t = C(t), cc(t, e, n);
10330
10494
  }
10331
10495
  function Nc(t, e) {
10332
- return t = R(t), hc(t, e);
10496
+ return t = C(t), hc(t, e);
10333
10497
  }
10334
10498
  function fc(t = ft(), e) {
10335
- t = R(t);
10499
+ t = C(t);
10336
10500
  const i = pt(t, ci).getImmediate({
10337
10501
  identifier: e
10338
- }), r = Mi("storage");
10502
+ }), r = xi("storage");
10339
10503
  return r && mc(i, ...r), i;
10340
10504
  }
10341
10505
  function mc(t, e, n, i = {}) {
@@ -10354,9 +10518,9 @@ function yc() {
10354
10518
  ).setMultipleInstances(!0)), G(sn, an, ""), G(sn, an, "esm2017");
10355
10519
  }
10356
10520
  yc();
10357
- let Ae = null;
10521
+ let Re = null;
10358
10522
  function Et() {
10359
- return Ae || (Ae = Qr().length > 0 ? ft() : yn({
10523
+ return Re || (Re = Qr().length > 0 ? ft() : yn({
10360
10524
  apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4",
10361
10525
  authDomain: "feedme-dev-4c3ef.firebaseapp.com",
10362
10526
  projectId: "feedme-dev-4c3ef",
@@ -10365,12 +10529,12 @@ function Et() {
10365
10529
  appId: "1:458797803788:web:37f2af2926a84288f0c129",
10366
10530
  measurementId: "G-YH5GZ1DF39",
10367
10531
  databaseURL: "https://feedme-dev-4c3ef.firebaseio.com"
10368
- }), Ae);
10532
+ }), Re);
10369
10533
  }
10370
- function Mc() {
10534
+ function xc() {
10371
10535
  return no(Et());
10372
10536
  }
10373
- function xc() {
10537
+ function Mc() {
10374
10538
  return fc(Et());
10375
10539
  }
10376
10540
  var vc = { googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4" };
@@ -10394,31 +10558,31 @@ const _c = { class: "flex-1 overflow-auto" }, Lc = /* @__PURE__ */ di({
10394
10558
  ]);
10395
10559
  };
10396
10560
  }
10397
- }), bc = "/kiosk", Ic = "/kiosk/device", Sc = "/kiosk/order-setting", wc = "/order-settings", Re = {
10561
+ }), bc = "/kiosk", Ic = "/kiosk/device", Sc = "/kiosk/order-setting", wc = "/order-settings", Ce = {
10398
10562
  KioskRoute: bc,
10399
10563
  KioskDeviceRoute: Ic,
10400
10564
  KioskOrderSettingRoute: Sc,
10401
10565
  OrderSettingView: wc
10402
10566
  }, Uc = [
10403
10567
  {
10404
- path: Re.KioskRoute,
10568
+ path: Ce.KioskRoute,
10405
10569
  name: "Kiosk",
10406
- component: () => import("./KioskView-U-Wg8oMC.js")
10570
+ component: () => import("./KioskView-CppTVBv-.js")
10407
10571
  },
10408
10572
  {
10409
- path: Re.KioskDeviceRoute,
10573
+ path: Ce.KioskDeviceRoute,
10410
10574
  name: "Kiosk Device",
10411
- component: () => import("./KioskDevicesView-CMKNjgWx.js")
10575
+ component: () => import("./KioskDevicesView-Qv-xd_kZ.js")
10412
10576
  },
10413
10577
  {
10414
- path: Re.KioskOrderSettingRoute,
10578
+ path: Ce.KioskOrderSettingRoute,
10415
10579
  name: "Kiosk Order Setting",
10416
- component: () => import("./KioskSettingView-BE_pMA-i.js")
10580
+ component: () => import("./KioskSettingView-CvvrK6Bv.js")
10417
10581
  },
10418
10582
  {
10419
- path: Re.OrderSettingView,
10583
+ path: Ce.OrderSettingView,
10420
10584
  name: "Order Setting View",
10421
- component: () => import("./OrderSettingsView-BWzaITT6.js")
10585
+ component: () => import("./OrderSettingsView-C38N61dM.js")
10422
10586
  }
10423
10587
  ], Fc = {
10424
10588
  "en-US": vi,
@@ -10428,18 +10592,18 @@ const _c = { class: "flex-1 overflow-auto" }, Lc = /* @__PURE__ */ di({
10428
10592
  };
10429
10593
  export {
10430
10594
  Lc as _,
10431
- xc as a,
10432
- Dc as b,
10595
+ Mc as a,
10596
+ Ac as b,
10433
10597
  Ec as c,
10434
10598
  on as d,
10435
10599
  Pt as e,
10436
- Ac as f,
10437
- Mc as g,
10600
+ Rc as f,
10601
+ xc as g,
10438
10602
  Pc as h,
10439
- Rc as i,
10603
+ Cc as i,
10440
10604
  Fc as j,
10441
10605
  Uc as k,
10442
10606
  Nc as r,
10443
- Cc as s,
10607
+ Dc as s,
10444
10608
  Oc as u
10445
10609
  };