@feedmepos/mf-connect 0.1.38-beta.33 → 0.1.38-beta.34

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 (93) hide show
  1. package/dist/{Analytic-B1hvdnhQ.js → Analytic-DBUfOGXN.js} +13 -13
  2. package/dist/{App-BCjFwtVu.js → App-BKoC43t0.js} +8 -8
  3. package/dist/{AuditLogs-DwOzstOt.js → AuditLogs-DfcDKAAx.js} +9 -9
  4. package/dist/{Bin-BgnnzoZS.js → Bin-K1LAZ7Il.js} +8 -8
  5. package/dist/{Broadcast-DqSOAE01.js → Broadcast-dPQylejk.js} +9 -9
  6. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CBMG8_Sk.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CADc94lG.js} +6 -6
  7. package/dist/{Card-A9CkhfVY.js → Card-DqXEthXd.js} +16 -16
  8. package/dist/{Collections-BgnFnaWo.js → Collections-2higR9xt.js} +6 -6
  9. package/dist/{Credit-a_OpuZJM.js → Credit-C0zUwRx_.js} +9 -9
  10. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CNBh1Id6.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-DiMkp8eD.js} +32 -32
  11. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-oao_UwRf.js → EffectSheet.vue_vue_type_style_index_0_lang-CeZvW4CN.js} +6 -6
  12. package/dist/{Experience-CpGj9JqO.js → Experience-B2an8JbD.js} +9 -9
  13. package/dist/{Game-D0e3MyPK.js → Game-BO7F7MwC.js} +10 -10
  14. package/dist/{Grab-Exo0vj4b.js → Grab-DhHyUon4.js} +9 -9
  15. package/dist/{Index-DU0reBq4.js → Index-uadi-EZ6.js} +10 -10
  16. package/dist/{Marketing-BZtDNsA-.js → Marketing-BWpOwWf0.js} +7 -7
  17. package/dist/{Member-D8buIkBR.js → Member-Mcwja1E6.js} +10 -10
  18. package/dist/{MemberList-CDwYfTlS.js → MemberList-BPGNOKXn.js} +25 -25
  19. package/dist/{MemberTransactions-DRkpizb_.js → MemberTransactions-DaBU7MOW.js} +1 -1
  20. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-VzyI4O5z.js → MessageInput.vue_vue_type_script_setup_true_lang-DYuWH0OF.js} +8 -8
  21. package/dist/{Mission-BTzIK2Yx.js → Mission-DSRwwQMw.js} +10 -10
  22. package/dist/{Overview-CMkljRYt.js → Overview-B897q3qA.js} +18 -18
  23. package/dist/{Point-DGPLd8z-.js → Point-lhl01-GA.js} +9 -9
  24. package/dist/{Promotion-D8K2pFnv.js → Promotion-BvO0BUst.js} +10 -10
  25. package/dist/{Queue-CySghWZm.js → Queue-ec2IpEuf.js} +10 -10
  26. package/dist/{Record-CxloqLoN.js → Record-BXLVpbR2.js} +8 -8
  27. package/dist/{Reward-DxvFaqzm.js → Reward-DCzxzMzn.js} +15 -15
  28. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-WOC3rplt.js → RewardGroup.vue_vue_type_script_setup_true_lang-COiUXYSb.js} +11 -11
  29. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-C4zhGkBY.js → RuleGroup.vue_vue_type_script_setup_true_lang-Bz3lj9Ng.js} +13 -13
  30. package/dist/{Segment-DKD6P0cE.js → Segment-CYk3w6PO.js} +22 -22
  31. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-bpblaVLq.js → SelectItems.vue_vue_type_script_setup_true_lang-ITaqten3.js} +2 -2
  32. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-B1g0fHPV.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-ViJglQse.js} +11 -11
  33. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CSR5EuVO.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DSm11Q46.js} +3 -3
  34. package/dist/{Setting-khHGWePA.js → Setting-DZtcRs0k.js} +141 -141
  35. package/dist/SettingAdvertisements-DBQEaFBm.js +262 -0
  36. package/dist/{Store-0cJJpCIV.js → Store-5svFOdbG.js} +20 -20
  37. package/dist/{StoreRewards-CV8XStEA.js → StoreRewards-DImHNqJA.js} +13 -13
  38. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Bqw4ayC4.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BUnlE8_-.js} +20 -20
  39. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BprUyeOJ.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-CiDVA4p8.js} +1 -1
  40. package/dist/{Tier-BgahD6Rs.js → Tier-B43j8PN_.js} +20 -20
  41. package/dist/{Title-DKGqu5SL.js → Title-6ThYGwPj.js} +19 -19
  42. package/dist/{Transaction-Bu-Zaa-_.js → Transaction-CGkAjZ9A.js} +2 -2
  43. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-cDZZz9DR.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-Cvr5u0Zs.js} +6 -6
  44. package/dist/{Voucher-sko-4yOv.js → Voucher-Blbht91D.js} +14 -14
  45. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-DVlYxnyk.js → VoucherEditor.vue_vue_type_script_setup_true_lang-Bi0Z03Ai.js} +10 -10
  46. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-CeNxiT5A.js → ZodTextField.vue_vue_type_script_setup_true_lang-CWoUnCAa.js} +1 -1
  47. package/dist/{app-DivOpQ--.js → app-C6urTnJ4.js} +1 -1
  48. package/dist/{app-B06WmmlS.js → app-xTCQAKl2.js} +2209 -1122
  49. package/dist/app.js +1 -1
  50. package/dist/{business-ClV-3_wH.js → business-B7k-tZEN.js} +1 -1
  51. package/dist/{campaign-C-DtV5gs.js → campaign-Bz9UcS_m.js} +2 -2
  52. package/dist/{campaign-ChCAqzSE.js → campaign-muSKe19-.js} +71 -71
  53. package/dist/{campaign.enum-HJvL6WCW.js → campaign.enum-hDvXhq3o.js} +1 -1
  54. package/dist/{campaign.fn-FkHPIhXx.js → campaign.fn-dcycsEgm.js} +3 -3
  55. package/dist/{collectible.enum-DlxRyJMy.js → collectible.enum-wxQMWK6c.js} +1 -1
  56. package/dist/{collection.fn-DmYKiZsL.js → collection.fn-DDzDInuW.js} +2 -2
  57. package/dist/{dto-BKG9T2I2.js → dto-CunCCKYQ.js} +4 -4
  58. package/dist/{effect-qQUWG0In.js → effect-BXObGcbg.js} +1 -1
  59. package/dist/{email-addresses-Dqyt8I7s.js → email-addresses-C6eoXJGp.js} +1 -1
  60. package/dist/{export-CUcU1l-K.js → export-BDFxcaL0.js} +3 -3
  61. package/dist/{helper-Bxi0o7m8.js → helper-BvwYqXjY.js} +1 -1
  62. package/dist/{index-B5SrWi06.js → index--EQGC2IH.js} +3 -3
  63. package/dist/{index-C06Q7hpx.js → index-3EjNf2am.js} +1 -1
  64. package/dist/{index-BWq6tQbu.js → index-B41wOGTO.js} +1 -1
  65. package/dist/{index-Dhh1sEG_.js → index-BuvsKdUo.js} +6 -6
  66. package/dist/{index-BAv3BkZY.js → index-C-Y8B9_g.js} +1023 -1023
  67. package/dist/{index-DlK01rGI.js → index-CVG-2gDW.js} +1 -1
  68. package/dist/{index-DdekcTG4.js → index-CkdgYD-t.js} +1 -1
  69. package/dist/{index-Ct2-fiN2.js → index-D23WXsuy.js} +1 -1
  70. package/dist/{index-BEN3tBqd.js → index-DQqUeKpy.js} +2 -2
  71. package/dist/{index-BL_1CL4C.js → index-DVL-x7W6.js} +4 -4
  72. package/dist/{index-B94mBxiL.js → index-DtFTHQOJ.js} +1 -1
  73. package/dist/{index-DzELBV8R.js → index-RKOwESmg.js} +1 -1
  74. package/dist/{index-TKz_0Ysa.js → index-_9R9an9a.js} +1 -1
  75. package/dist/{index-UjD7i6Rs.js → index-tz_n5lEb.js} +4 -4
  76. package/dist/{index.esm2017-DHCRXeWh.js → index.esm2017-wyZHjxJg.js} +1 -1
  77. package/dist/{loading-B_UZCyhK.js → loading-CVL-OePP.js} +1 -1
  78. package/dist/{membership-_kM8eXz7.js → membership-Cwolq8Cj.js} +3 -3
  79. package/dist/{money-CoVA-srK.js → money-hSkLuGRM.js} +1 -1
  80. package/dist/{number-YRitPV2s.js → number-C6FRJ2M7.js} +1 -1
  81. package/dist/{objectid-C1na7D-x.js → objectid-aShDJfER.js} +4 -4
  82. package/dist/{plugins-CRzS5EeK.js → plugins-CPwW8rZp.js} +2 -2
  83. package/dist/{reward-BzSjQxTf.js → reward-BRjFlh6E.js} +1 -1
  84. package/dist/{rule-BTgu7Yg-.js → rule-CYMGrUxS.js} +3 -3
  85. package/dist/{rule-builder-DqxBZKm0.js → rule-builder-TdDaDyR7.js} +1 -1
  86. package/dist/{template-Cb_6r-V_.js → template-C78lPPQn.js} +4 -4
  87. package/dist/{timezone-_t4BbV7Q.js → timezone-CAUT5KZd.js} +1 -1
  88. package/dist/{trigger-B0ldNAaK.js → trigger-CQKxXHDL.js} +4 -4
  89. package/dist/{user-B4J6WtQq.js → user-8R-3y6sK.js} +1 -1
  90. package/dist/{vue-i18n-c1uC6tyM.js → vue-i18n-LviVr_kr.js} +2 -2
  91. package/dist/{xlsx-BRAFCQ59.js → xlsx-mDgALSyS.js} +1 -1
  92. package/package.json +1 -1
  93. package/dist/SettingAdvertisements-DJHKjE95.js +0 -264
@@ -1,6 +1,6 @@
1
- import { defineAsyncComponent as T } from "vue";
2
- import { withPermission as C, Permission as b } from "@feedmepos/mf-common";
3
- const Pe = {
1
+ import { defineAsyncComponent as C } from "vue";
2
+ import { withPermission as T, Permission as b } from "@feedmepos/mf-common";
3
+ const Ne = {
4
4
  common: {
5
5
  submit: "Submit",
6
6
  confirm: "Confirm",
@@ -10,7 +10,8 @@ const Pe = {
10
10
  edit: "Edit",
11
11
  add: "Add",
12
12
  optional: "Optional",
13
- location: "Location"
13
+ location: "Location",
14
+ allLocations: "All locations"
14
15
  },
15
16
  template: {
16
17
  general: "General",
@@ -617,8 +618,24 @@ Please adjust the timeframe or discount settings to avoid conflicts.`
617
618
  }
618
619
  },
619
620
  advertisement: {
620
- title: "Advertisement",
621
- subtitle: "This will be show on FeedMe ordering app"
621
+ title: "Advertisements",
622
+ subtitle: "Manage ads shown on FeedMe ordering app",
623
+ saveChanges: "Save Changes",
624
+ activeAds: "Active Ads:",
625
+ premiumFeatureTitle: "Premium Feature",
626
+ premiumFeatureDescription: "Upgrade to Premium to manage advertisements",
627
+ manageAd: "Manage Ad",
628
+ addAdvertisement: "Add Advertisement",
629
+ advertisementImage: "Advertisement Image",
630
+ targetLocations: "Target Locations",
631
+ targetLocationsHelper: "Leave empty to show in all locations",
632
+ save: "Save",
633
+ deleteConfirm: "Delete this advertisement?",
634
+ delete: "Delete",
635
+ addAd: "Add Ad",
636
+ left: "left",
637
+ saving: "Saving advertisements",
638
+ savedSuccessfully: "Advertisements saved successfully"
622
639
  },
623
640
  sms: {
624
641
  title: "SMS",
@@ -1078,7 +1095,7 @@ Please adjust the timeframe or discount settings to avoid conflicts.`
1078
1095
  map: "map",
1079
1096
  set: "set"
1080
1097
  }
1081
- }, je = {
1098
+ }, De = {
1082
1099
  timeframe: {
1083
1100
  end_before_start: "End date must be later or same as start date",
1084
1101
  required: "Start date and end date are required"
@@ -1095,10 +1112,10 @@ Please adjust the timeframe or discount settings to avoid conflicts.`
1095
1112
  reward_threshold_unique: "Reward threshold must be unique",
1096
1113
  effect_required: "Effect is required"
1097
1114
  }
1098
- }, De = {
1099
- connect: Pe,
1115
+ }, je = {
1116
+ connect: Ne,
1100
1117
  connectZod: Le,
1101
- connectZodCustom: je
1118
+ connectZodCustom: De
1102
1119
  }, Be = {
1103
1120
  common: {
1104
1121
  confirm: "确认",
@@ -1641,7 +1658,21 @@ Please adjust the timeframe or discount settings to avoid conflicts.`
1641
1658
  },
1642
1659
  advertisement: {
1643
1660
  title: "广告",
1644
- subtitle: "这将在FeedMe订购应用上显示"
1661
+ subtitle: "管理在FeedMe订购应用上显示的广告",
1662
+ saveChanges: "保存更改",
1663
+ activeAds: "活跃广告:",
1664
+ premiumFeatureTitle: "高级功能",
1665
+ premiumFeatureDescription: "升级到高级版以管理广告",
1666
+ manageAd: "管理广告",
1667
+ addAdvertisement: "添加广告",
1668
+ advertisementImage: "广告图片",
1669
+ targetLocations: "目标位置",
1670
+ targetLocationsHelper: "留空以在所有位置显示",
1671
+ save: "保存",
1672
+ deleteConfirm: "删除此广告?",
1673
+ delete: "删除",
1674
+ addAd: "添加广告",
1675
+ left: "剩余"
1645
1676
  },
1646
1677
  sms: {
1647
1678
  title: "短信",
@@ -1973,7 +2004,7 @@ Please adjust the timeframe or discount settings to avoid conflicts.`
1973
2004
  description: "描述"
1974
2005
  }
1975
2006
  }
1976
- }, Ze = {
2007
+ }, Ve = {
1977
2008
  errors: {
1978
2009
  invalid_type: "预期输入为{{expected}},而输入为{{received}}",
1979
2010
  invalid_type_received_undefined: "必填",
@@ -2085,7 +2116,7 @@ Please adjust the timeframe or discount settings to avoid conflicts.`
2085
2116
  map: "字典",
2086
2117
  set: "集合"
2087
2118
  }
2088
- }, Ve = {
2119
+ }, Ze = {
2089
2120
  timeframe: {
2090
2121
  end_before_start: "结束日期必须晚于或等于开始日期"
2091
2122
  },
@@ -2103,8 +2134,8 @@ Please adjust the timeframe or discount settings to avoid conflicts.`
2103
2134
  }
2104
2135
  }, $e = {
2105
2136
  connect: Be,
2106
- connectZod: Ze,
2107
- connectZodCustom: Ve
2137
+ connectZod: Ve,
2138
+ connectZodCustom: Ze
2108
2139
  }, Ue = {
2109
2140
  campaign: {
2110
2141
  common: {
@@ -3886,368 +3917,1423 @@ Please adjust the timeframe or discount settings to avoid conflicts.`
3886
3917
  reward_threshold_unique: "獎勵閾值必須是唯一的",
3887
3918
  effect_required: "效果是必需的"
3888
3919
  }
3889
- }, Ye = {
3920
+ }, Fe = {
3890
3921
  connect: Ge,
3891
3922
  connectZod: ze,
3892
3923
  connectZodCustom: We
3893
- };
3894
- var x;
3895
- (function(a) {
3896
- a.assertEqual = (i) => i;
3897
- function e(i) {
3898
- }
3899
- a.assertIs = e;
3900
- function t(i) {
3901
- throw new Error();
3902
- }
3903
- a.assertNever = t, a.arrayToEnum = (i) => {
3904
- const r = {};
3905
- for (const s of i)
3906
- r[s] = s;
3907
- return r;
3908
- }, a.getValidEnumValues = (i) => {
3909
- const r = a.objectKeys(i).filter((o) => typeof i[i[o]] != "number"), s = {};
3910
- for (const o of r)
3911
- s[o] = i[o];
3912
- return a.objectValues(s);
3913
- }, a.objectValues = (i) => a.objectKeys(i).map(function(r) {
3914
- return i[r];
3915
- }), a.objectKeys = typeof Object.keys == "function" ? (i) => Object.keys(i) : (i) => {
3916
- const r = [];
3917
- for (const s in i)
3918
- Object.prototype.hasOwnProperty.call(i, s) && r.push(s);
3919
- return r;
3920
- }, a.find = (i, r) => {
3921
- for (const s of i)
3922
- if (r(s))
3923
- return s;
3924
- }, a.isInteger = typeof Number.isInteger == "function" ? (i) => Number.isInteger(i) : (i) => typeof i == "number" && isFinite(i) && Math.floor(i) === i;
3925
- function n(i, r = " | ") {
3926
- return i.map((s) => typeof s == "string" ? `'${s}'` : s).join(r);
3927
- }
3928
- a.joinValues = n, a.jsonStringifyReplacer = (i, r) => typeof r == "bigint" ? r.toString() : r;
3929
- })(x || (x = {}));
3930
- var be;
3931
- (function(a) {
3932
- a.mergeShapes = (e, t) => ({
3933
- ...e,
3934
- ...t
3935
- // second overwrites first
3936
- });
3937
- })(be || (be = {}));
3938
- const l = x.arrayToEnum([
3939
- "string",
3940
- "nan",
3941
- "number",
3942
- "integer",
3943
- "float",
3944
- "boolean",
3945
- "date",
3946
- "bigint",
3947
- "symbol",
3948
- "function",
3949
- "undefined",
3950
- "null",
3951
- "array",
3952
- "object",
3953
- "unknown",
3954
- "promise",
3955
- "void",
3956
- "never",
3957
- "map",
3958
- "set"
3959
- ]), j = (a) => {
3960
- switch (typeof a) {
3961
- case "undefined":
3962
- return l.undefined;
3963
- case "string":
3964
- return l.string;
3965
- case "number":
3966
- return isNaN(a) ? l.nan : l.number;
3967
- case "boolean":
3968
- return l.boolean;
3969
- case "function":
3970
- return l.function;
3971
- case "bigint":
3972
- return l.bigint;
3973
- case "symbol":
3974
- return l.symbol;
3975
- case "object":
3976
- return Array.isArray(a) ? l.array : a === null ? l.null : a.then && typeof a.then == "function" && a.catch && typeof a.catch == "function" ? l.promise : typeof Map < "u" && a instanceof Map ? l.map : typeof Set < "u" && a instanceof Set ? l.set : typeof Date < "u" && a instanceof Date ? l.date : l.object;
3977
- default:
3978
- return l.unknown;
3979
- }
3980
- }, c = x.arrayToEnum([
3981
- "invalid_type",
3982
- "invalid_literal",
3983
- "custom",
3984
- "invalid_union",
3985
- "invalid_union_discriminator",
3986
- "invalid_enum_value",
3987
- "unrecognized_keys",
3988
- "invalid_arguments",
3989
- "invalid_return_type",
3990
- "invalid_date",
3991
- "invalid_string",
3992
- "too_small",
3993
- "too_big",
3994
- "invalid_intersection_types",
3995
- "not_multiple_of",
3996
- "not_finite"
3997
- ]), Fe = (a) => JSON.stringify(a, null, 2).replace(/"([^"]+)":/g, "$1:");
3998
- class E extends Error {
3999
- constructor(e) {
4000
- super(), this.issues = [], this.addIssue = (n) => {
4001
- this.issues = [...this.issues, n];
4002
- }, this.addIssues = (n = []) => {
4003
- this.issues = [...this.issues, ...n];
4004
- };
4005
- const t = new.target.prototype;
4006
- Object.setPrototypeOf ? Object.setPrototypeOf(this, t) : this.__proto__ = t, this.name = "ZodError", this.issues = e;
4007
- }
4008
- get errors() {
4009
- return this.issues;
4010
- }
4011
- format(e) {
4012
- const t = e || function(r) {
4013
- return r.message;
4014
- }, n = { _errors: [] }, i = (r) => {
4015
- for (const s of r.issues)
4016
- if (s.code === "invalid_union")
4017
- s.unionErrors.map(i);
4018
- else if (s.code === "invalid_return_type")
4019
- i(s.returnTypeError);
4020
- else if (s.code === "invalid_arguments")
4021
- i(s.argumentsError);
4022
- else if (s.path.length === 0)
4023
- n._errors.push(t(s));
4024
- else {
4025
- let o = n, m = 0;
4026
- for (; m < s.path.length; ) {
4027
- const d = s.path[m];
4028
- m === s.path.length - 1 ? (o[d] = o[d] || { _errors: [] }, o[d]._errors.push(t(s))) : o[d] = o[d] || { _errors: [] }, o = o[d], m++;
4029
- }
4030
- }
4031
- };
4032
- return i(this), n;
4033
- }
4034
- toString() {
4035
- return this.message;
4036
- }
4037
- get message() {
4038
- return JSON.stringify(this.issues, x.jsonStringifyReplacer, 2);
4039
- }
4040
- get isEmpty() {
4041
- return this.issues.length === 0;
4042
- }
4043
- flatten(e = (t) => t.message) {
4044
- const t = {}, n = [];
4045
- for (const i of this.issues)
4046
- i.path.length > 0 ? (t[i.path[0]] = t[i.path[0]] || [], t[i.path[0]].push(e(i))) : n.push(e(i));
4047
- return { formErrors: n, fieldErrors: t };
4048
- }
4049
- get formErrors() {
4050
- return this.flatten();
4051
- }
4052
- }
4053
- E.create = (a) => new E(a);
4054
- const F = (a, e) => {
4055
- let t;
4056
- switch (a.code) {
4057
- case c.invalid_type:
4058
- a.received === l.undefined ? t = "Required" : t = `Expected ${a.expected}, received ${a.received}`;
4059
- break;
4060
- case c.invalid_literal:
4061
- t = `Invalid literal value, expected ${JSON.stringify(a.expected, x.jsonStringifyReplacer)}`;
4062
- break;
4063
- case c.unrecognized_keys:
4064
- t = `Unrecognized key(s) in object: ${x.joinValues(a.keys, ", ")}`;
4065
- break;
4066
- case c.invalid_union:
4067
- t = "Invalid input";
4068
- break;
4069
- case c.invalid_union_discriminator:
4070
- t = `Invalid discriminator value. Expected ${x.joinValues(a.options)}`;
4071
- break;
4072
- case c.invalid_enum_value:
4073
- t = `Invalid enum value. Expected ${x.joinValues(a.options)}, received '${a.received}'`;
4074
- break;
4075
- case c.invalid_arguments:
4076
- t = "Invalid function arguments";
4077
- break;
4078
- case c.invalid_return_type:
4079
- t = "Invalid function return type";
4080
- break;
4081
- case c.invalid_date:
4082
- t = "Invalid date";
4083
- break;
4084
- case c.invalid_string:
4085
- typeof a.validation == "object" ? "includes" in a.validation ? (t = `Invalid input: must include "${a.validation.includes}"`, typeof a.validation.position == "number" && (t = `${t} at one or more positions greater than or equal to ${a.validation.position}`)) : "startsWith" in a.validation ? t = `Invalid input: must start with "${a.validation.startsWith}"` : "endsWith" in a.validation ? t = `Invalid input: must end with "${a.validation.endsWith}"` : x.assertNever(a.validation) : a.validation !== "regex" ? t = `Invalid ${a.validation}` : t = "Invalid";
4086
- break;
4087
- case c.too_small:
4088
- a.type === "array" ? t = `Array must contain ${a.exact ? "exactly" : a.inclusive ? "at least" : "more than"} ${a.minimum} element(s)` : a.type === "string" ? t = `String must contain ${a.exact ? "exactly" : a.inclusive ? "at least" : "over"} ${a.minimum} character(s)` : a.type === "number" ? t = `Number must be ${a.exact ? "exactly equal to " : a.inclusive ? "greater than or equal to " : "greater than "}${a.minimum}` : a.type === "date" ? t = `Date must be ${a.exact ? "exactly equal to " : a.inclusive ? "greater than or equal to " : "greater than "}${new Date(Number(a.minimum))}` : t = "Invalid input";
4089
- break;
4090
- case c.too_big:
4091
- a.type === "array" ? t = `Array must contain ${a.exact ? "exactly" : a.inclusive ? "at most" : "less than"} ${a.maximum} element(s)` : a.type === "string" ? t = `String must contain ${a.exact ? "exactly" : a.inclusive ? "at most" : "under"} ${a.maximum} character(s)` : a.type === "number" ? t = `Number must be ${a.exact ? "exactly" : a.inclusive ? "less than or equal to" : "less than"} ${a.maximum}` : a.type === "bigint" ? t = `BigInt must be ${a.exact ? "exactly" : a.inclusive ? "less than or equal to" : "less than"} ${a.maximum}` : a.type === "date" ? t = `Date must be ${a.exact ? "exactly" : a.inclusive ? "smaller than or equal to" : "smaller than"} ${new Date(Number(a.maximum))}` : t = "Invalid input";
4092
- break;
4093
- case c.custom:
4094
- t = "Invalid input";
4095
- break;
4096
- case c.invalid_intersection_types:
4097
- t = "Intersection results could not be merged";
4098
- break;
4099
- case c.not_multiple_of:
4100
- t = `Number must be a multiple of ${a.multipleOf}`;
4101
- break;
4102
- case c.not_finite:
4103
- t = "Number must be finite";
4104
- break;
4105
- default:
4106
- t = e.defaultError, x.assertNever(a);
4107
- }
4108
- return { message: t };
4109
- };
4110
- let Re = F;
4111
- function He(a) {
4112
- Re = a;
4113
- }
4114
- function ce() {
4115
- return Re;
4116
- }
4117
- const de = (a) => {
4118
- const { data: e, path: t, errorMaps: n, issueData: i } = a, r = [...t, ...i.path || []], s = {
4119
- ...i,
4120
- path: r
4121
- };
4122
- let o = "";
4123
- const m = n.filter((d) => !!d).slice().reverse();
4124
- for (const d of m)
4125
- o = d(s, { data: e, defaultError: o }).message;
4126
- return {
4127
- ...i,
4128
- path: r,
4129
- message: i.message || o
4130
- };
4131
- }, Qe = [];
4132
- function u(a, e) {
4133
- const t = de({
4134
- issueData: e,
4135
- data: a.data,
4136
- path: a.path,
4137
- errorMaps: [
4138
- a.common.contextualErrorMap,
4139
- a.schemaErrorMap,
4140
- ce(),
4141
- F
4142
- // then global default map
4143
- ].filter((n) => !!n)
4144
- });
4145
- a.common.issues.push(t);
4146
- }
4147
- class k {
4148
- constructor() {
4149
- this.value = "valid";
4150
- }
4151
- dirty() {
4152
- this.value === "valid" && (this.value = "dirty");
4153
- }
4154
- abort() {
4155
- this.value !== "aborted" && (this.value = "aborted");
4156
- }
4157
- static mergeArray(e, t) {
4158
- const n = [];
4159
- for (const i of t) {
4160
- if (i.status === "aborted")
4161
- return g;
4162
- i.status === "dirty" && e.dirty(), n.push(i.value);
4163
- }
4164
- return { status: e.value, value: n };
4165
- }
4166
- static async mergeObjectAsync(e, t) {
4167
- const n = [];
4168
- for (const i of t)
4169
- n.push({
4170
- key: await i.key,
4171
- value: await i.value
4172
- });
4173
- return k.mergeObjectSync(e, n);
4174
- }
4175
- static mergeObjectSync(e, t) {
4176
- const n = {};
4177
- for (const i of t) {
4178
- const { key: r, value: s } = i;
4179
- if (r.status === "aborted" || s.status === "aborted")
4180
- return g;
4181
- r.status === "dirty" && e.dirty(), s.status === "dirty" && e.dirty(), r.value !== "__proto__" && (typeof s.value < "u" || i.alwaysSet) && (n[r.value] = s.value);
4182
- }
4183
- return { status: e.value, value: n };
4184
- }
4185
- }
4186
- const g = Object.freeze({
4187
- status: "aborted"
4188
- }), Se = (a) => ({ status: "dirty", value: a }), R = (a) => ({ status: "valid", value: a }), xe = (a) => a.status === "aborted", we = (a) => a.status === "dirty", H = (a) => a.status === "valid", le = (a) => typeof Promise < "u" && a instanceof Promise;
4189
- var p;
4190
- (function(a) {
4191
- a.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, a.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
4192
- })(p || (p = {}));
4193
- class I {
4194
- constructor(e, t, n, i) {
4195
- this._cachedPath = [], this.parent = e, this.data = t, this._path = n, this._key = i;
4196
- }
4197
- get path() {
4198
- return this._cachedPath.length || (this._key instanceof Array ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;
4199
- }
4200
- }
4201
- const Ce = (a, e) => {
4202
- if (H(e))
4203
- return { success: !0, data: e.value };
4204
- if (!a.common.issues.length)
4205
- throw new Error("Validation failed but no issues detected.");
4206
- return {
4207
- success: !1,
4208
- get error() {
4209
- if (this._error)
4210
- return this._error;
4211
- const t = new E(a.common.issues);
4212
- return this._error = t, this._error;
4213
- }
4214
- };
4215
- };
4216
- function _(a) {
4217
- if (!a)
4218
- return {};
4219
- const { errorMap: e, invalid_type_error: t, required_error: n, description: i } = a;
4220
- if (e && (t || n))
4221
- throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);
4222
- return e ? { errorMap: e, description: i } : { errorMap: (s, o) => s.code !== "invalid_type" ? { message: o.defaultError } : typeof o.data > "u" ? { message: n ?? o.defaultError } : { message: t ?? o.defaultError }, description: i };
4223
- }
4224
- class v {
4225
- constructor(e) {
4226
- this.spa = this.safeParseAsync, this._def = e, this.parse = this.parse.bind(this), this.safeParse = this.safeParse.bind(this), this.parseAsync = this.parseAsync.bind(this), this.safeParseAsync = this.safeParseAsync.bind(this), this.spa = this.spa.bind(this), this.refine = this.refine.bind(this), this.refinement = this.refinement.bind(this), this.superRefine = this.superRefine.bind(this), this.optional = this.optional.bind(this), this.nullable = this.nullable.bind(this), this.nullish = this.nullish.bind(this), this.array = this.array.bind(this), this.promise = this.promise.bind(this), this.or = this.or.bind(this), this.and = this.and.bind(this), this.transform = this.transform.bind(this), this.brand = this.brand.bind(this), this.default = this.default.bind(this), this.catch = this.catch.bind(this), this.describe = this.describe.bind(this), this.pipe = this.pipe.bind(this), this.readonly = this.readonly.bind(this), this.isNullable = this.isNullable.bind(this), this.isOptional = this.isOptional.bind(this);
4227
- }
4228
- get description() {
4229
- return this._def.description;
4230
- }
4231
- _getType(e) {
4232
- return j(e.data);
4233
- }
4234
- _getOrReturnCtx(e, t) {
4235
- return t || {
4236
- common: e.parent.common,
4237
- data: e.data,
4238
- parsedType: j(e.data),
4239
- schemaErrorMap: this._def.errorMap,
4240
- path: e.path,
4241
- parent: e.parent
4242
- };
4243
- }
3924
+ }, Ye = {
3925
+ common: {
3926
+ submit: "提出する",
3927
+ confirm: "確認する",
3928
+ cancel: "キャンセル",
3929
+ save: "保存",
3930
+ delete: "消去",
3931
+ edit: "Edit",
3932
+ add: "追加",
3933
+ optional: "Optional",
3934
+ location: "位置: ",
3935
+ allLocations: "すべての場所"
3936
+ },
3937
+ template: {
3938
+ general: "General",
3939
+ trigger: "Trigger",
3940
+ general_information: "General information",
3941
+ discount: "Discount",
3942
+ terms_conditions: "Terms and conditions",
3943
+ time_limitation: "Time limitation",
3944
+ target_audience: "Target audience",
3945
+ game_configuration: "Game configuration",
3946
+ location: "Location",
3947
+ voucher_detail: "Voucher detail",
3948
+ spending_criteria: "Spending criteria",
3949
+ feedback_criteria: "Feedback criteria",
3950
+ voucher_usage_configuration: "Voucher usage configuration",
3951
+ notify_audience: "Notify audience",
3952
+ notify_message: "Notify message",
3953
+ earning_type: "Earning type",
3954
+ validity_configuration: "Validity configuration",
3955
+ mission_participation: "Mission participation",
3956
+ configure_reward: "Configure reward",
3957
+ content: "Content",
3958
+ broadcast_configuration: "Broadcast configuration",
3959
+ game_type: "Game type",
3960
+ reward_pool: "Reward pool",
3961
+ configuration: "Configuration",
3962
+ campaign_name: "Campaign name",
3963
+ campaign_description: "Campaign description",
3964
+ campaign_period: "Campaign period",
3965
+ voucher_name: "Voucher name",
3966
+ voucher_description: "Voucher description",
3967
+ voucher_image: "Voucher image",
3968
+ target_location: "Target location",
3969
+ send_notification: "Send notification",
3970
+ notification_message: "Notification message",
3971
+ min_spend: "Min Spend",
3972
+ select_game: "Select a game where you want your customer to play",
3973
+ configure_reward_type: "Configure the reward type and weightage given to your customer.",
3974
+ configure_reward_customer: "Configure the reward type given to your customer.",
3975
+ max_per_user: "Max per user",
3976
+ leave_empty_unlimited: "Leave empty for unlimited",
3977
+ usage_count: "Usage count",
3978
+ max_distribute: "Max distribute",
3979
+ cooldown: "Cooldown",
3980
+ validity_option: {
3981
+ title: "Validity option",
3982
+ date_range: "Date range",
3983
+ custom: "Custom",
3984
+ expire: "Expires",
3985
+ after_day: "Expire After (days)",
3986
+ days: "days(s)",
3987
+ expire_follow_first_receive: "Expiry follows the first receive",
3988
+ expires_on_same_day: "Expires on the same day"
3989
+ },
3990
+ enable_transfer: "Enable transfer",
3991
+ rule: {
3992
+ time: {
3993
+ all_time: "All time",
3994
+ custom: "Custom date/time",
3995
+ confirm_remove: "Are you sure you want to turn off custom conditons? This will remove all the rules you have set."
3996
+ },
3997
+ audience: {
3998
+ all: "All audience",
3999
+ member_segment: "Member segment",
4000
+ custom_audience: "Custom audience",
4001
+ confirm_remove: "Are you sure you want to change the audience type? This will remove all the rules you have set."
4002
+ }
4003
+ },
4004
+ mission_configuration: "Mission configuration",
4005
+ reward_setup: "Reward setup"
4006
+ },
4007
+ campaign: {
4008
+ common: {
4009
+ campaign: "キャンペーン",
4010
+ createCampaign: "キャンペーンを作成",
4011
+ search: "検索",
4012
+ location: "位置: ",
4013
+ noResults: "結果が見つかりませんでした",
4014
+ title: "タイトル",
4015
+ deletedAt: "Deleted at",
4016
+ campaignType: "Campaign type",
4017
+ remove: {
4018
+ confirm: "{name} を削除してもよろしいですか?",
4019
+ removing: "{name} を削除しています",
4020
+ removed: "{name} を削除しました"
4021
+ },
4022
+ restore: {
4023
+ confirm: "Are you sure you want to restore {name}?",
4024
+ restoring: "Restoring {name}",
4025
+ restored: "Restored {name} successfully"
4026
+ },
4027
+ actions: {
4028
+ remove: "取り除く",
4029
+ send: "送信",
4030
+ share: "共有",
4031
+ restore: "Restore"
4032
+ },
4033
+ effect_required: "効果が必要です",
4034
+ unsaved_changes: "この変更を破棄してもよろしいですか?",
4035
+ unsaved_changes_confirm: "破棄",
4036
+ unsaved_changes_cancel: "キャンセル",
4037
+ save: "保存",
4038
+ cancel: "キャンセル",
4039
+ summary: "キャンペーン概要",
4040
+ campaign_name: "キャンペーン名",
4041
+ campaign_period: "キャンペーン期間",
4042
+ next_schedule_at: "次回のスケジュール",
4043
+ discount_type: "割引の種類",
4044
+ discount_amount: "割引額",
4045
+ discount_percentage: "割引率",
4046
+ all_locations: "すべての場所",
4047
+ available_at: "入手可能",
4048
+ always: "いつも",
4049
+ no_location: "場所なし",
4050
+ status: {
4051
+ active: "Active",
4052
+ upcoming: "Upcoming",
4053
+ expired: "Expired"
4054
+ }
4055
+ },
4056
+ mission: {
4057
+ title: "ミッション",
4058
+ create: "キャンペーンを作成",
4059
+ confirmDelete: "{name} を削除してもよろしいですか?",
4060
+ removing: "{name} を削除しています",
4061
+ removed: "{name} を削除しました",
4062
+ updating: "ミッションプログラムの更新",
4063
+ updated: "ミッションプログラムが正常に更新されました",
4064
+ creating: "ミッションプログラムの作成",
4065
+ created: "ミッションプログラムが正常に作成されました",
4066
+ location: "位置: ",
4067
+ createProgram: "ミッションプログラムを作成する",
4068
+ description: "ミッション機能はショッピングに楽しい要素を加え、顧客のさらなる関与を促します。",
4069
+ createButton: "ミッションプログラムの作成",
4070
+ type: "ミッションタイプ",
4071
+ received: "受け取った"
4072
+ },
4073
+ broadcast: {
4074
+ title: "放送",
4075
+ messageSent: "送信数: {count}",
4076
+ create: {
4077
+ title: "放送キャンペーンを作成する",
4078
+ description: "ブロードキャストを使用すると、すべての顧客にテキスト メッセージを送信して、新しい取引、イベント、または重要な更新について通知できます。",
4079
+ button: "放送キャンペーンを作成する"
4080
+ },
4081
+ update: {
4082
+ creating: "放送の作成",
4083
+ updating: "放送を更新しています",
4084
+ success: "{action} を正常にブロードキャストしました"
4085
+ }
4086
+ },
4087
+ promotion: {
4088
+ title: "プロモーション",
4089
+ typeLabel: "{type} プロモーション",
4090
+ create: {
4091
+ title: "プロモーションキャンペーンを作成する",
4092
+ description: "ユーザーのエンゲージメントと購入を促進するために、期間限定で提供される特別オファーやお得な情報です。プロモーションは通常、特定のコードを必要とせず、すべての対象ユーザーが利用でき、プロモーション期間中に加盟店によって適用されます。",
4093
+ button: "プロモーションキャンペーンを作成する"
4094
+ },
4095
+ update: {
4096
+ creating: "プロモーションの作成",
4097
+ updating: "プロモーションを更新しています",
4098
+ success: "プロモーション {action} が正常に完了しました"
4099
+ }
4100
+ },
4101
+ voucher: {
4102
+ title: "バウチャー",
4103
+ claimed: "{count} 人が申請しました",
4104
+ unlimited: "無制限",
4105
+ updateConfirm: {
4106
+ title: "確認",
4107
+ message: "これにより、今後すべてのバウチャーが変更されます。以前に申請したバウチャーの有効期限と割引を更新しますか?",
4108
+ updateAll: "すべて更新",
4109
+ updateFuture: "将来のみ更新"
4110
+ },
4111
+ create: {
4112
+ title: "バウチャーキャンペーンを作成する",
4113
+ description: "ユーザーが将来の購入時に割引を受けられるデジタルクーポン。通常、割引を受けるには、クーポンを申請して適用する必要があります。",
4114
+ button: "バウチャーキャンペーンを作成する"
4115
+ },
4116
+ update: {
4117
+ creating: "バウチャーの作成",
4118
+ updating: "バウチャーを更新しています",
4119
+ success: "バウチャー{action}が正常に発行されました"
4120
+ },
4121
+ share: {
4122
+ error: "単純な請求ではないバウチャーを共有することはできません。",
4123
+ errorTitle: "シェアバウチャー",
4124
+ errorButton: "わかりました",
4125
+ success: "クーポンリンクをクリップボードにコピーしました"
4126
+ }
4127
+ }
4128
+ },
4129
+ promotion: {
4130
+ createCampaign: "キャンペーンを作成",
4131
+ promotionTitle: "プロモーションタイトル",
4132
+ status: "状態",
4133
+ type: "タイプ",
4134
+ summary: "まとめ",
4135
+ actions: "アクション",
4136
+ confirmRemove: "{name} を削除してもよろしいですか?",
4137
+ removing: "{name} を削除しています",
4138
+ removedSuccessfully: "{name} を削除しました",
4139
+ updating: "プロモーションを更新しています",
4140
+ creating: "プロモーションの作成",
4141
+ updatedSuccessfully: "プロモーションが正常に更新されました",
4142
+ createdSuccessfully: "プロモーションが正常に作成されました",
4143
+ title: "プロモーション",
4144
+ search: "検索",
4145
+ location: "位置: ",
4146
+ createPromotionCampaign: "プロモーションキャンペーンを作成する",
4147
+ description: "ユーザーのエンゲージメントと購入を促進するために、期間限定で提供される特別オファーやお得な情報です。プロモーションは通常、特定のコードを必要とせず、すべての対象ユーザーが利用でき、プロモーション期間中に加盟店によって適用されます。"
4148
+ },
4149
+ voucher: {
4150
+ createCampaign: "キャンペーンを作成",
4151
+ voucherTitle: "バウチャータイトル",
4152
+ status: "状態",
4153
+ summary: "まとめ",
4154
+ quota: "クォータ",
4155
+ claimed: "主張した",
4156
+ actions: "アクション",
4157
+ remove: "取り除く",
4158
+ send: "送信",
4159
+ share: "共有",
4160
+ confirmRemove: "{name} を削除してもよろしいですか?",
4161
+ removing: "{name} を削除しています",
4162
+ removedSuccessfully: "{name} を削除しました",
4163
+ updating: "バウチャーを更新しています",
4164
+ creating: "バウチャーの作成",
4165
+ updatedSuccessfully: "バウチャーが正常に更新されました",
4166
+ createdSuccessfully: "バウチャーが正常に作成されました",
4167
+ title: "バウチャー",
4168
+ search: "検索",
4169
+ location: "位置: ",
4170
+ createVoucherCampaign: "バウチャーキャンペーンを作成する",
4171
+ description: "ユーザーが将来の購入時に割引を受けられるデジタルクーポン。通常、割引を受けるには、クーポンを申請して適用する必要があります。"
4172
+ },
4173
+ navigation: {
4174
+ analytic: "分析的",
4175
+ campaign: "キャンペーン",
4176
+ promotion: "プロモーション",
4177
+ voucher: "バウチャー",
4178
+ broadcast: "放送",
4179
+ program: "プログラム",
4180
+ tier: "ティア",
4181
+ title: "タイトル",
4182
+ experience: "経験",
4183
+ point: "ポイント",
4184
+ credit: "クレジット",
4185
+ game: "ゲーム",
4186
+ loyalty: "忠誠心",
4187
+ member: "メンバー",
4188
+ segments: "セグメント",
4189
+ card: "カード",
4190
+ store: "店",
4191
+ transaction: "取引",
4192
+ setting: "設定",
4193
+ mission: "ミッション",
4194
+ referral: "Referral",
4195
+ bin: "Bin",
4196
+ queue: "Queue"
4197
+ },
4198
+ bin: {
4199
+ title: "Bin",
4200
+ description: "Restore deleted campaigns from the bin. Campaigns in the bin can be restored or permanently deleted."
4201
+ },
4202
+ loyalty: {
4203
+ card: {
4204
+ title: "カード",
4205
+ premium_label: "プレミアム",
4206
+ actions: {
4207
+ create: "カードを作成する",
4208
+ manage_design: "デザイン管理",
4209
+ add: "カードを追加"
4210
+ },
4211
+ empty_state: {
4212
+ title: "会員カードを作成する",
4213
+ description: "会員カードを追跡および管理して、顧客がビジネスに関心を持ち続けるようにします。",
4214
+ premium_cta: "プレミアムに加入して、すべての機能をお楽しみください。"
4215
+ },
4216
+ table: {
4217
+ card_number: "カード番号",
4218
+ redeemed_by: "償還者",
4219
+ phone: "電話",
4220
+ created_at: "作成場所",
4221
+ bundle: "バンドル",
4222
+ redeemed_at: "交換先",
4223
+ actions: "アクション"
4224
+ }
4225
+ },
4226
+ member: {
4227
+ title: "会員の取引",
4228
+ tabs: {
4229
+ member_list: "メンバーリスト"
4230
+ },
4231
+ import: "Import"
4232
+ },
4233
+ segment: {
4234
+ title: "セグメント",
4235
+ actions: {
4236
+ refresh: "セグメントを更新",
4237
+ add: "セグメントを追加",
4238
+ remove: "取り除く"
4239
+ },
4240
+ table: {
4241
+ name: "名前",
4242
+ status: "Status",
4243
+ total_customers: "このセグメントの顧客総数",
4244
+ customer_percentage: "顧客の割合",
4245
+ actions: "アクション"
4246
+ },
4247
+ mobile: {
4248
+ total_customers: "合計{count}人の顧客",
4249
+ customer_percentage: "顧客の{percentage}%"
4250
+ }
4251
+ }
4252
+ },
4253
+ program: {
4254
+ common: {
4255
+ create: "プログラムを作成する",
4256
+ search: "検索",
4257
+ location: "位置: ",
4258
+ used: "{count} 回使用",
4259
+ actions: {
4260
+ create: "{type} プログラムを作成する",
4261
+ delete: "消去"
4262
+ },
4263
+ table: {
4264
+ title: "プログラムタイトル",
4265
+ status: "状態",
4266
+ summary: "まとめ",
4267
+ actions: "アクション",
4268
+ type: "タイプ"
4269
+ },
4270
+ remove: {
4271
+ confirm: "{name} を削除してもよろしいですか?",
4272
+ removing: "{name} を削除しています",
4273
+ removed: "{name} を削除しました"
4274
+ },
4275
+ update: {
4276
+ creating: "{type} プログラムを作成しています",
4277
+ updating: "{type} プログラムを更新しています",
4278
+ success: "{type} プログラム {action} が正常に実行されました"
4279
+ }
4280
+ },
4281
+ experience: {
4282
+ title: "経験",
4283
+ empty_state: {
4284
+ title: "体験プログラムの作成",
4285
+ description: "顧客体験は、会員レベルの向上に役立ちます。顧客との交流や支出が増えるほど会員レベルが上がり、より多くの特典やサービスが受けられます。"
4286
+ },
4287
+ received: "獲得した経験値: {count}"
4288
+ },
4289
+ game: {
4290
+ title: "ゲーム",
4291
+ empty_state: {
4292
+ title: "ゲームプログラムを作成する",
4293
+ description: "ゲーム機能はショッピングに楽しい要素を加え、顧客のさらなる関与を促します。"
4294
+ },
4295
+ token_received: "受信したトークン: {count}"
4296
+ },
4297
+ credit: {
4298
+ title: "クレジット"
4299
+ },
4300
+ point: {
4301
+ title: "ポイント",
4302
+ empty_state: {
4303
+ title: "ポイントプログラムを作成する",
4304
+ description: "ポイントは、顧客が獲得してバンドル アイテムの購入に使用できる仮想ポイントです。"
4305
+ },
4306
+ point_received: "獲得ポイント: {count}",
4307
+ used: "{count} 回使用"
4308
+ },
4309
+ tier: {
4310
+ title: "ティア",
4311
+ empty_state: {
4312
+ title: "ティアプログラムを作成する",
4313
+ description: "メンバーシップキャンペーンにご参加いただくことで、会員限定の特典やリワードをご提供いたします。ロイヤルティレベルに応じて、ご希望の特典をお選びいただけます。"
4314
+ },
4315
+ actions: {
4316
+ add: "ティアを追加",
4317
+ season_setting: "季節設定"
4318
+ },
4319
+ update: {
4320
+ range_discontinuous: {
4321
+ previous: `階層範囲が連続していません。
4322
+ 以前の範囲: {name} [{from} - {to}]。
4323
+ 以前の範囲を [{from} - {newTo}] に更新しますか?`,
4324
+ next: `階層範囲が連続していません。
4325
+ 次の範囲: {name} [{from} - {to}]。
4326
+ 次の範囲を [{newFrom} - {to}] に更新しますか?`
4327
+ }
4328
+ },
4329
+ remove: {
4330
+ linked_reward_confirm: "This tier is linked to {count} reward(s). Are you sure you want to remove it?",
4331
+ confirm: "このティアを削除してもよろしいですか?",
4332
+ title: "ティアを削除",
4333
+ next_range: "次の範囲を更新",
4334
+ range_discontinuous: {
4335
+ previous: `階層範囲が連続していません。
4336
+ 以前の範囲: {name} [{from} - {to}]。
4337
+ 以前の範囲を [{from} - {newTo}] に更新しますか?`,
4338
+ next: `階層範囲が連続していません。
4339
+ 次の範囲: {name} [{from} - {to}]。
4340
+ 次の範囲を [{newFrom} - {to}] に更新しますか?`
4341
+ }
4342
+ },
4343
+ benefit: {
4344
+ add: "特典を追加",
4345
+ no_linked: "関連する特典はありません",
4346
+ update: {
4347
+ title: "特典の更新",
4348
+ success: "特典が正常に作成されました"
4349
+ }
4350
+ },
4351
+ expression: {
4352
+ title: "Tier expiration rule",
4353
+ description: "To set up membership tier experience rules when expired",
4354
+ change_to: "Change to",
4355
+ deduct_by: "Deduct by",
4356
+ deduct_percentage: "Deduct percentage",
4357
+ value: "Value",
4358
+ value_greater_than_or_equal: "Value must be greater than or equal {value}",
4359
+ value_less_than_or_equal: "Value must be less than or equal {value}",
4360
+ value_between: "Value must be between {from} and {to}",
4361
+ value_less_than: "Value must be less than {value}"
4362
+ },
4363
+ card: {
4364
+ count: "{count} members"
4365
+ }
4366
+ },
4367
+ title: {
4368
+ title: "タイトル",
4369
+ empty_state: {
4370
+ title: "タイトルプログラムを作成する",
4371
+ description: "タイトルプログラムを作成 会員体験をパーソナライズするために、独自のロイヤルティタイトルを作成します。遊び心のあるタイトルで顧客を引き付け、ロイヤルティプログラムのゲーミフィケーションを強化します。"
4372
+ },
4373
+ actions: {
4374
+ add: "タイトルを追加"
4375
+ },
4376
+ update: {
4377
+ creating: "タイトルの作成",
4378
+ updating: "タイトルを更新しています",
4379
+ success: "タイトル {action} が正常に作成されました"
4380
+ },
4381
+ remove: {
4382
+ linked_reward_confirm: "This title is linked to {count} reward(s). Are you sure you want to remove it?",
4383
+ confirm: "このタイトルを削除してもよろしいですか?",
4384
+ title: "タイトルを削除",
4385
+ deleting: "タイトルを削除しています",
4386
+ success: "タイトルを削除しました"
4387
+ },
4388
+ benefit: {
4389
+ add: "特典を追加",
4390
+ no_linked: "関連する特典はありません",
4391
+ update: {
4392
+ title: "特典の更新",
4393
+ success: "特典が正常に作成されました"
4394
+ },
4395
+ voucher_update: {
4396
+ title: "確認",
4397
+ message: "これにより、今後すべてのバウチャーが変更されます。以前に申請したバウチャーの有効期限と割引を更新しますか?",
4398
+ update_all: "すべて更新",
4399
+ update_future: "将来のみ更新"
4400
+ }
4401
+ },
4402
+ table: {
4403
+ title: "タイトル",
4404
+ program_title: "プログラムタイトル",
4405
+ status: "状態",
4406
+ type: "タイプ",
4407
+ summary: "まとめ",
4408
+ actions: "アクション"
4409
+ },
4410
+ search: "検索",
4411
+ location: "位置: ",
4412
+ addBenefit: "特典を追加",
4413
+ noDescription: "説明なし",
4414
+ descriptionLimit: "{name} の説明は 200 文字を超えてはなりません。",
4415
+ availability: "可用性",
4416
+ internalOnly: "社内専用",
4417
+ notShown: "{name}は顧客に表示されません",
4418
+ submit: "提出する",
4419
+ cancel: "キャンセル",
4420
+ imageLabel: "{name} 画像"
4421
+ },
4422
+ mission: {
4423
+ title: "ミッション",
4424
+ empty_state: {
4425
+ title: "ミッションプログラムを作成する",
4426
+ description: "ミッションは、顧客がタスクを完了して報酬を獲得できるプログラムです。"
4427
+ }
4428
+ }
4429
+ },
4430
+ analytic: {
4431
+ title: "分析的",
4432
+ addGroup: "グループを追加",
4433
+ search: "検索",
4434
+ summary: {
4435
+ title: "接続の概要",
4436
+ totalCampaign: "キャンペーン全体",
4437
+ totalProgram: "トータルプログラム",
4438
+ totalMember: "会員総数"
4439
+ },
4440
+ emptyState: {
4441
+ title: "パフォーマンスを追跡するためのキャンペーン グループを作成する",
4442
+ description: "グループを作成して、キャンペーンやプロモーションを整理しましょう。グループを使用すると、複数のバウチャー、プロモーション、その他の特典のパフォーマンス指標を集計できます。",
4443
+ action: "グループを作成"
4444
+ }
4445
+ },
4446
+ marketing: {
4447
+ title: "マーケティング資料",
4448
+ create: "マーケティング資料を作成する",
4449
+ search: "検索",
4450
+ table: {
4451
+ name: "名前",
4452
+ campaign: "キャンペーン",
4453
+ createdDate: "作成日",
4454
+ actions: "アクション"
4455
+ },
4456
+ delete: {
4457
+ confirm: "{name} を削除してもよろしいですか?",
4458
+ removing: "{name} を削除しています",
4459
+ success: "{name} を削除しました"
4460
+ },
4461
+ emptyState: {
4462
+ title: "マーケティング資料を作成する",
4463
+ description: "AIを活用したツールで、マーケティング活動を簡単に強化できます。ご希望のプラットフォーム向けに、魅力的な画像とキャプションを生成できます。",
4464
+ action: "素材を追加"
4465
+ },
4466
+ noResults: "結果が見つかりませんでした"
4467
+ },
4468
+ setting: {
4469
+ title: "設定",
4470
+ basicInfo: {
4471
+ title: "基本情報",
4472
+ membershipTitle: "会員資格",
4473
+ memberAppUrl: "メンバーアプリのURL"
4474
+ },
4475
+ counterApp: {
4476
+ title: "カウンターアプリ",
4477
+ linkDevice: "リンクデバイス",
4478
+ device: {
4479
+ activationDate: "有効化日:",
4480
+ linkedLocation: "リンク先の場所:"
4481
+ }
4482
+ },
4483
+ advertisement: {
4484
+ title: "広告",
4485
+ subtitle: "これはFeedMe注文アプリに表示されます",
4486
+ saveChanges: "Save Changes",
4487
+ activeAds: "Active Ads:",
4488
+ premiumFeatureTitle: "Premium Feature",
4489
+ premiumFeatureDescription: "Upgrade to Premium to manage advertisements",
4490
+ manageAd: "Manage Ad",
4491
+ addAdvertisement: "Add Advertisement",
4492
+ advertisementImage: "Advertisement Image",
4493
+ targetLocations: "Target Locations",
4494
+ targetLocationsHelper: "Leave empty to show in all locations",
4495
+ save: "Save",
4496
+ deleteConfirm: "Delete this advertisement?",
4497
+ delete: "Delete",
4498
+ addAd: "Add Ad",
4499
+ left: "left",
4500
+ saving: "Saving advertisements",
4501
+ savedSuccessfully: "Advertisements saved successfully"
4502
+ },
4503
+ sms: {
4504
+ title: "SMS",
4505
+ brandName: "ブランド名",
4506
+ messageFormat: "RM 0 {ブランド}: お客様からのメッセージ",
4507
+ welcomeMessage: "こんにちは、あなたはメンバーシップへの参加に招待されました"
4508
+ },
4509
+ freeCredit: {
4510
+ title: "割引として無料クレジット",
4511
+ posVersion: "*POS v6.56以上",
4512
+ description: "有効にすると、無料クレジットを請求書の割引として使用できるようになります (POS >=v6.56)"
4513
+ },
4514
+ memberCard: {
4515
+ title: "会員カード",
4516
+ description: "メンバーがメンバーアプリ経由でカードをバインドできるようにする"
4517
+ },
4518
+ location: {
4519
+ title: "アクティベーション場所",
4520
+ selectLabel: "レストランを選択"
4521
+ },
4522
+ summary: {
4523
+ title: "ロイヤルティ設定の概要",
4524
+ name: "名前",
4525
+ advertisement: "広告",
4526
+ noAds: "広告なし",
4527
+ freeCredit: "割引として無料クレジット",
4528
+ enabled: "有効",
4529
+ disabled: "無効",
4530
+ locations: "有効化された場所",
4531
+ allLocations: "すべての場所"
4532
+ },
4533
+ action: {
4534
+ update: "アップデート"
4535
+ }
4536
+ },
4537
+ transaction: {
4538
+ title: "取引",
4539
+ tabs: {
4540
+ collection: "コレクション",
4541
+ store: "店"
4542
+ }
4543
+ },
4544
+ store: {
4545
+ title: "店",
4546
+ setting: {
4547
+ title: "店舗設定",
4548
+ company: {
4549
+ legal_info: "Company legal information",
4550
+ name: "Company name",
4551
+ reg_no: "Registration number",
4552
+ tax_reg_no: "Tax Registration number",
4553
+ tax: "Tax",
4554
+ phone: "Phone number",
4555
+ address: {
4556
+ title: "Address",
4557
+ line1: "Line 1",
4558
+ line2: "Line 2",
4559
+ city: "City",
4560
+ postcode: "Postcode",
4561
+ state: "State",
4562
+ country: "Country"
4563
+ }
4564
+ },
4565
+ stripe: {
4566
+ title: "Stripe Integration"
4567
+ },
4568
+ update: {
4569
+ message: "ストア設定を更新しています",
4570
+ success: "ストア設定が正常に更新されました"
4571
+ }
4572
+ },
4573
+ actions: {
4574
+ setting: "店舗設定",
4575
+ manageReward: "報酬を管理する",
4576
+ addCategory: "カテゴリを追加",
4577
+ addBundle: "バンドルを追加"
4578
+ },
4579
+ category: {
4580
+ label: "Category",
4581
+ setup: {
4582
+ title: "カテゴリーを追加する前に、まずストアの設定を行ってください。",
4583
+ action: "今すぐ更新",
4584
+ button: "ストア設定を更新"
4585
+ },
4586
+ add: "カテゴリを追加",
4587
+ edit: "カテゴリを編集",
4588
+ remove: {
4589
+ confirm: "カテゴリを削除してもよろしいですか?",
4590
+ title: "カテゴリを削除"
4591
+ },
4592
+ update: {
4593
+ deleting: "カテゴリを削除しています",
4594
+ creating: "カテゴリを作成",
4595
+ updating: "カテゴリを更新しています",
4596
+ success: {
4597
+ deleted: "カテゴリが正常に削除されました",
4598
+ created: "カテゴリが正常に作成されました",
4599
+ updated: "カテゴリが正常に更新されました"
4600
+ }
4601
+ }
4602
+ },
4603
+ bundle: {
4604
+ title: "ストアバンドル",
4605
+ description: "ユーザーに使ってもらいたいアイテムをここに追加してください。バウチャー、特典、体験など、様々な特典が考えられます。",
4606
+ delete: {
4607
+ confirm: "このバンドルを削除してもよろしいですか?",
4608
+ title: "バンドルを削除"
4609
+ },
4610
+ update: {
4611
+ error: "予期しないエラー",
4612
+ deleting: "バンドルを削除しています",
4613
+ creating: "バンドルを作成しています",
4614
+ updating: "バンドルを更新しています",
4615
+ success: {
4616
+ deleted: "バンドルが正常に削除されました",
4617
+ created: "バンドルが正常に作成されました",
4618
+ updated: "バンドルが正常に更新されました"
4619
+ }
4620
+ },
4621
+ edit: {
4622
+ title: "バンドルを編集",
4623
+ create: "バンドルを作成",
4624
+ basicInformation: "基本情報",
4625
+ bundleName: "バンドル名",
4626
+ bundleImage: "バンドル画像",
4627
+ bundlePrice: "バンドル価格",
4628
+ bundleValue: "バンドル価値",
4629
+ originalPrice: "元の価格",
4630
+ originalPriceHelper: "元の価格を無効にするには、空白のままにするか 0 に設定してください",
4631
+ pointNeeded: "必要なポイント",
4632
+ subscriptionSettings: "サブスクリプション設定",
4633
+ stripePriceId: "ストライプ価格ID",
4634
+ subscriptionValidity: "サブスクリプションの有効期間(日数)",
4635
+ submit: "提出する",
4636
+ cancel: "キャンセル",
4637
+ advanceSetting: "詳細設定",
4638
+ credit: "クレジット",
4639
+ normalCredit: "通常クレジット",
4640
+ freeCredit: "無料クレジット",
4641
+ taxes: "税金",
4642
+ taxCharge: {
4643
+ title: "税金({type})",
4644
+ inclusive: "包括的",
4645
+ exclusive: "エクスクルーシブ"
4646
+ },
4647
+ totalPrice: "合計金額",
4648
+ internalBundle: "内部バンドル",
4649
+ internalBundleDescription: "内部バンドルはFeedMeメンバーアプリでは非表示になります",
4650
+ hideInPos: "POSに隠す",
4651
+ hideInPosDescription: "バンドルはFeedMe POSで非表示になります",
4652
+ maxPerUser: "ユーザーあたりの最大購入数",
4653
+ bundleReward: {
4654
+ title: "バンドル報酬",
4655
+ description: "このバンドルから何が期待できるかをメンバーに知らせましょう",
4656
+ table: {
4657
+ title: "報酬タイトル",
4658
+ type: "報酬の種類",
4659
+ description: "説明"
4660
+ }
4661
+ }
4662
+ }
4663
+ }
4664
+ },
4665
+ storeRewards: {
4666
+ title: "ストア特典",
4667
+ remove: {
4668
+ message: "ここでタイトルを削除することはできません。プログラム > タイトル セクションで削除してください。",
4669
+ title: "報酬を削除",
4670
+ action: "タイトルセクションへ移動"
4671
+ },
4672
+ edit: {
4673
+ message: "ここではタイトルを編集できません。プログラム > タイトル セクションで編集してください。",
4674
+ title: "アップデート報酬",
4675
+ action: "タイトルセクションへ移動"
4676
+ },
4677
+ description: "顧客向けの特典を作成および管理します。",
4678
+ type: {
4679
+ label: "報酬の種類: {type}",
4680
+ all: "全て"
4681
+ },
4682
+ search: "検索",
4683
+ delete: {
4684
+ confirm: "この報酬を削除してもよろしいですか?",
4685
+ title: "報酬を削除",
4686
+ message: "報酬を削除しています",
4687
+ success: "報酬を削除しました"
4688
+ },
4689
+ update: {
4690
+ message: "報酬を更新中",
4691
+ success: "報酬が正常に更新されました"
4692
+ },
4693
+ empty: {
4694
+ title: "報酬を作成する",
4695
+ description: "顧客がバンドル内で引き換えられる特典を作成します。",
4696
+ action: "報酬を作成する"
4697
+ },
4698
+ create: "報酬を作成する",
4699
+ table: {
4700
+ name: "名前",
4701
+ type: "タイプ",
4702
+ validity: "有効",
4703
+ used: "使用済み",
4704
+ actions: "アクション",
4705
+ summary: "まとめ"
4706
+ }
4707
+ },
4708
+ prompt: {
4709
+ confirm: "確認する",
4710
+ cancel: "キャンセル"
4711
+ },
4712
+ editTierSheet: {
4713
+ add: "追加",
4714
+ create: "ティアを作成",
4715
+ basicInformation: "基本情報",
4716
+ tierName: "ティア名",
4717
+ tierImage: "ティアイメージ",
4718
+ experienceThreshold: "経験閾値",
4719
+ minExperience: "最低限の経験",
4720
+ maxExperience: "最大経験",
4721
+ actions: "アクション",
4722
+ submit: "提出する",
4723
+ cancel: "キャンセル"
4724
+ },
4725
+ referral: {
4726
+ title: "Referral Program",
4727
+ actions: {
4728
+ create: "Create referral",
4729
+ manage_reward: "Manage reward",
4730
+ terms: "Terms and conditions",
4731
+ manage_criteria: "Manage criteria",
4732
+ add_referral_tier: "Add referral tier"
4733
+ },
4734
+ tabs: {
4735
+ overview: "Overview",
4736
+ record: "Record"
4737
+ },
4738
+ referral_tier_title: "Set rewards for successful referrals",
4739
+ referral_tier_description: "Add and customize rewards for each step within the selected referral tier.",
4740
+ add_referral_tier: "Add referral tier",
4741
+ overview: {
4742
+ title: "Overview",
4743
+ total_joined: "Total joined",
4744
+ total_redeem: "Total redeemed",
4745
+ total_referee: "Total referee",
4746
+ pending: "Pending"
4747
+ },
4748
+ how_it_works: {
4749
+ title: "How it works",
4750
+ generate_link: "Generate link",
4751
+ generate_link_for_member: "Generate link for member",
4752
+ referee_join_reward: "Referee join reward",
4753
+ referee_meet_criteria: "Referee meet criteria",
4754
+ referer_get_reward: "Referer get reward",
4755
+ reward: "reward(s)",
4756
+ criteria: "criteria(s)",
4757
+ reward_tier: "configured tier(s)",
4758
+ referee_join_reward_description: "Reward will be given to the referee when the referee successfully joins the program and meets the criteria",
4759
+ referral_tier_description: "Referer will receive rewards after referee completed all criteria"
4760
+ },
4761
+ reward: {
4762
+ add_count: "Add count",
4763
+ table: {
4764
+ count: "Referral Count",
4765
+ reward: "Rewards"
4766
+ },
4767
+ remove_referral_count: "Remove referral count",
4768
+ confirm_remove_referral_count: "Are you sure you want to remove this referral count?",
4769
+ remove_referral_tier: "Remove referral tier",
4770
+ confirm_remove_referral_tier: "Are you sure you want to remove this referral tier?"
4771
+ },
4772
+ editReferralTierSheet: {
4773
+ create: "Create referral tier",
4774
+ edit: "Edit referral tier",
4775
+ target_audience: "Target audience",
4776
+ name: "Name"
4777
+ },
4778
+ editReferralCountSheet: {
4779
+ add: "Add referral count",
4780
+ edit: "Edit referral count",
4781
+ referrer_reward: "Referrer reward",
4782
+ min_referral_count: "Min referral count",
4783
+ max_referral_count: "Max referral count",
4784
+ max_referral_count_description: "When max. referral count is not set, it will default unlimited"
4785
+ },
4786
+ refereeRewardSheet: {
4787
+ referee_reward: "Referee reward"
4788
+ },
4789
+ referral_count: {
4790
+ title: "Referral count",
4791
+ update: {
4792
+ range_discontinuous: {
4793
+ previous: `The referral count range is not continuous.
4794
+ Previous range: {name} [{from} - {to}].
4795
+ Do you want to update the previous range to [{from} - {newTo}]?`,
4796
+ next: `The referral count range is not continuous.
4797
+ Next range: {name} [{from} - {to}].
4798
+ Do you want to update the next range to [{newFrom} - {to}]?`
4799
+ }
4800
+ },
4801
+ remove: {
4802
+ confirm: "Are you sure you want to remove this referral count?",
4803
+ title: "Remove referral count",
4804
+ next_range: "Update next range",
4805
+ range_discontinuous: {
4806
+ previous: `The referral count range is not continuous.
4807
+ Previous range: {name} [{from} - {to}].
4808
+ Do you want to update the previous range to [{from} - {newTo}]?`,
4809
+ next: `The referral count range is not continuous.
4810
+ Next range: {name} [{from} - {to}].
4811
+ Do you want to update the next range to [{newFrom} - {to}]?`
4812
+ }
4813
+ }
4814
+ },
4815
+ term_and_condition: {
4816
+ confirm_remove: "Are you sure you want to remove the term and condition?"
4817
+ },
4818
+ record: {
4819
+ referer_info: "Referer info",
4820
+ referee_info: "Referee info",
4821
+ referee_criteria: "Referee criteria",
4822
+ status: "Status"
4823
+ }
4824
+ },
4825
+ reward: {
4826
+ title: "Reward",
4827
+ description: "Reward your customers for successful referrals",
4828
+ table: {
4829
+ title: "Reward title",
4830
+ type: "Reward type",
4831
+ description: "Description"
4832
+ }
4833
+ },
4834
+ sendCollectionSheet: {
4835
+ title: "Send {type}",
4836
+ select_members: "Select member",
4837
+ amount: "Amount",
4838
+ reference: "Reference",
4839
+ confirmation_message: "Are you sure you want to send {amount} {type} to {memberName}? This action cannot be reversed.",
4840
+ stamp: "Stamp",
4841
+ game_token: "Game Token"
4842
+ },
4843
+ queue: {
4844
+ title: "Queue"
4845
+ }
4846
+ }, He = {
4847
+ invalid_type: "予想{{expected}}、受信{{received}}",
4848
+ errors: {
4849
+ invalid_type: "予想{{expected}}、受信{{received}}",
4850
+ invalid_type_received_undefined: "必須",
4851
+ invalid_type_received_null: "必須",
4852
+ invalid_literal: "無効なリテラル値、期待値 {{expected}}",
4853
+ unrecognized_keys: "オブジェクト内の認識されないキー: {{- keys}}",
4854
+ invalid_union: "無効な入力",
4855
+ invalid_union_discriminator: "識別子の値が無効です。{{- options}} が必要です。",
4856
+ invalid_enum_value: "無効な列挙値です。{{- options}} が必要ですが、'{{received}}' を受け取りました。",
4857
+ invalid_arguments: "関数の引数が無効です",
4858
+ invalid_return_type: "関数の戻り値の型が無効です",
4859
+ invalid_date: "無効な日付",
4860
+ custom: "無効な入力",
4861
+ invalid_intersection_types: "交差点の結果を結合できませんでした",
4862
+ not_multiple_of: "数値は {{multipleOf}} の倍数でなければなりません",
4863
+ not_finite: "数は有限でなければならない",
4864
+ invalid_string: {
4865
+ email: "無効な {{validation}}",
4866
+ url: "無効な {{validation}}",
4867
+ uuid: "無効な {{validation}}",
4868
+ cuid: "無効な {{validation}}",
4869
+ regex: "無効",
4870
+ datetime: "無効な {{validation}}",
4871
+ startsWith: "無効な入力: 「{{startsWith}}」で始まる必要があります",
4872
+ endsWith: "無効な入力: 「{{endsWith}}」で終わる必要があります"
4873
+ },
4874
+ too_small: {
4875
+ array: {
4876
+ exact: "配列には、正確に {{minimum}} 個の要素が含まれている必要があります",
4877
+ inclusive: "配列には少なくとも {{minimum}} 個の要素が含まれている必要があります",
4878
+ not_inclusive: "配列には{{minimum}}個以上の要素が含まれている必要があります"
4879
+ },
4880
+ string: {
4881
+ exact: "文字列には{{minimum}}文字を含める必要があります",
4882
+ inclusive: "文字列には少なくとも {{minimum}} 文字が含まれている必要があります",
4883
+ not_inclusive: "文字列には{{minimum}}文字以上を含める必要があります"
4884
+ },
4885
+ number: {
4886
+ exact: "数値はちょうど {{minum}} である必要があります",
4887
+ inclusive: "数値は{{minimum}}以上である必要があります",
4888
+ not_inclusive: "数値は{{minimum}}より大きくなければなりません"
4889
+ },
4890
+ set: {
4891
+ exact: "無効な入力",
4892
+ inclusive: "無効な入力",
4893
+ not_inclusive: "無効な入力"
4894
+ },
4895
+ date: {
4896
+ exact: "日付は正確に {{- minimum, datetime}} である必要があります",
4897
+ inclusive: "日付は {{- minimum, datetime}} 以上である必要があります",
4898
+ not_inclusive: "日付は {{- minimum, datetime}} より大きくなければなりません"
4899
+ }
4900
+ },
4901
+ too_big: {
4902
+ array: {
4903
+ exact: "配列にはちょうど {{maximum}} 個の要素を含める必要があります",
4904
+ inclusive: "配列には最大 {{maximum}} 個の要素を含める必要があります",
4905
+ not_inclusive: "配列には {{maximum}} 個未満の要素を含める必要があります"
4906
+ },
4907
+ string: {
4908
+ exact: "文字列には最大 {{maximum}} 文字を含める必要があります",
4909
+ inclusive: "文字列には最大 {{maximum}} 文字を含める必要があります",
4910
+ not_inclusive: "文字列は{{最大}}文字以下である必要があります"
4911
+ },
4912
+ number: {
4913
+ exact: "数値はちょうど {{maximum}} である必要があります",
4914
+ inclusive: "数値は {{maximum}} 以下である必要があります",
4915
+ not_inclusive: "数値は{{maximum}}未満である必要があります"
4916
+ },
4917
+ set: {
4918
+ exact: "無効な入力",
4919
+ inclusive: "無効な入力",
4920
+ not_inclusive: "無効な入力"
4921
+ },
4922
+ date: {
4923
+ exact: "日付は正確に {{- maximum, datetime}} である必要があります",
4924
+ inclusive: "日付は {{- maximum, datetime}} 以下である必要があります",
4925
+ not_inclusive: "日付は {{- maximum, datetime}} より小さくなければなりません"
4926
+ }
4927
+ }
4928
+ },
4929
+ validations: {
4930
+ email: "メール",
4931
+ url: "URL",
4932
+ uuid: "uuid",
4933
+ cuid: "cuid",
4934
+ regex: "正規表現",
4935
+ datetime: "日時"
4936
+ },
4937
+ types: {
4938
+ function: "関数",
4939
+ number: "番号",
4940
+ string: "弦",
4941
+ nan: "ナン",
4942
+ integer: "整数",
4943
+ float: "フロート",
4944
+ boolean: "ブール値",
4945
+ date: "日付",
4946
+ bigint: "ビッグイント",
4947
+ undefined: "未定義",
4948
+ symbol: "シンボル",
4949
+ null: "ヌル",
4950
+ array: "配列",
4951
+ object: "物体",
4952
+ unknown: "未知",
4953
+ promise: "約束",
4954
+ void: "空所",
4955
+ never: "一度もない",
4956
+ map: "地図",
4957
+ set: "セット"
4958
+ }
4959
+ }, Qe = {
4960
+ timeframe: {
4961
+ end_before_start: "終了日は開始日以降か同じである必要があります"
4962
+ },
4963
+ campaign: {
4964
+ rule_required: "トリガータイプが '{type}' の場合、ルールが必要です",
4965
+ earning_amount_exceed: "獲得額は {max} (ミッションの最大収集額) 未満である必要があります",
4966
+ credit_validity_required: "クレジット キャンペーンには有効期限オプションが必要です (無料クレジットである必要があります)",
4967
+ mission_first_receive: "ミッションキャンペーンは最初に受信する必要があります",
4968
+ schedule_period_required: "スケジュールトリガーにはアクティブ期間を設定する必要があります",
4969
+ active_period_invalid: "アクティブ期間ルールが無効です",
4970
+ fixed_earning_required: "請求が完了していないキャンペーンには固定収益オプションが必要です",
4971
+ reward_threshold_range: "報酬のしきい値はミッション終了時までになければなりません",
4972
+ reward_threshold_unique: "報酬のしきい値は一意である必要があります",
4973
+ effect_required: "効果が必要です"
4974
+ }
4975
+ }, Je = {
4976
+ connect: Ye,
4977
+ connectZod: He,
4978
+ connectZodCustom: Qe
4979
+ };
4980
+ var x;
4981
+ (function(i) {
4982
+ i.assertEqual = (n) => n;
4983
+ function e(n) {
4984
+ }
4985
+ i.assertIs = e;
4986
+ function t(n) {
4987
+ throw new Error();
4988
+ }
4989
+ i.assertNever = t, i.arrayToEnum = (n) => {
4990
+ const r = {};
4991
+ for (const s of n)
4992
+ r[s] = s;
4993
+ return r;
4994
+ }, i.getValidEnumValues = (n) => {
4995
+ const r = i.objectKeys(n).filter((o) => typeof n[n[o]] != "number"), s = {};
4996
+ for (const o of r)
4997
+ s[o] = n[o];
4998
+ return i.objectValues(s);
4999
+ }, i.objectValues = (n) => i.objectKeys(n).map(function(r) {
5000
+ return n[r];
5001
+ }), i.objectKeys = typeof Object.keys == "function" ? (n) => Object.keys(n) : (n) => {
5002
+ const r = [];
5003
+ for (const s in n)
5004
+ Object.prototype.hasOwnProperty.call(n, s) && r.push(s);
5005
+ return r;
5006
+ }, i.find = (n, r) => {
5007
+ for (const s of n)
5008
+ if (r(s))
5009
+ return s;
5010
+ }, i.isInteger = typeof Number.isInteger == "function" ? (n) => Number.isInteger(n) : (n) => typeof n == "number" && isFinite(n) && Math.floor(n) === n;
5011
+ function a(n, r = " | ") {
5012
+ return n.map((s) => typeof s == "string" ? `'${s}'` : s).join(r);
5013
+ }
5014
+ i.joinValues = a, i.jsonStringifyReplacer = (n, r) => typeof r == "bigint" ? r.toString() : r;
5015
+ })(x || (x = {}));
5016
+ var be;
5017
+ (function(i) {
5018
+ i.mergeShapes = (e, t) => ({
5019
+ ...e,
5020
+ ...t
5021
+ // second overwrites first
5022
+ });
5023
+ })(be || (be = {}));
5024
+ const l = x.arrayToEnum([
5025
+ "string",
5026
+ "nan",
5027
+ "number",
5028
+ "integer",
5029
+ "float",
5030
+ "boolean",
5031
+ "date",
5032
+ "bigint",
5033
+ "symbol",
5034
+ "function",
5035
+ "undefined",
5036
+ "null",
5037
+ "array",
5038
+ "object",
5039
+ "unknown",
5040
+ "promise",
5041
+ "void",
5042
+ "never",
5043
+ "map",
5044
+ "set"
5045
+ ]), D = (i) => {
5046
+ switch (typeof i) {
5047
+ case "undefined":
5048
+ return l.undefined;
5049
+ case "string":
5050
+ return l.string;
5051
+ case "number":
5052
+ return isNaN(i) ? l.nan : l.number;
5053
+ case "boolean":
5054
+ return l.boolean;
5055
+ case "function":
5056
+ return l.function;
5057
+ case "bigint":
5058
+ return l.bigint;
5059
+ case "symbol":
5060
+ return l.symbol;
5061
+ case "object":
5062
+ return Array.isArray(i) ? l.array : i === null ? l.null : i.then && typeof i.then == "function" && i.catch && typeof i.catch == "function" ? l.promise : typeof Map < "u" && i instanceof Map ? l.map : typeof Set < "u" && i instanceof Set ? l.set : typeof Date < "u" && i instanceof Date ? l.date : l.object;
5063
+ default:
5064
+ return l.unknown;
5065
+ }
5066
+ }, c = x.arrayToEnum([
5067
+ "invalid_type",
5068
+ "invalid_literal",
5069
+ "custom",
5070
+ "invalid_union",
5071
+ "invalid_union_discriminator",
5072
+ "invalid_enum_value",
5073
+ "unrecognized_keys",
5074
+ "invalid_arguments",
5075
+ "invalid_return_type",
5076
+ "invalid_date",
5077
+ "invalid_string",
5078
+ "too_small",
5079
+ "too_big",
5080
+ "invalid_intersection_types",
5081
+ "not_multiple_of",
5082
+ "not_finite"
5083
+ ]), Xe = (i) => JSON.stringify(i, null, 2).replace(/"([^"]+)":/g, "$1:");
5084
+ class E extends Error {
5085
+ constructor(e) {
5086
+ super(), this.issues = [], this.addIssue = (a) => {
5087
+ this.issues = [...this.issues, a];
5088
+ }, this.addIssues = (a = []) => {
5089
+ this.issues = [...this.issues, ...a];
5090
+ };
5091
+ const t = new.target.prototype;
5092
+ Object.setPrototypeOf ? Object.setPrototypeOf(this, t) : this.__proto__ = t, this.name = "ZodError", this.issues = e;
5093
+ }
5094
+ get errors() {
5095
+ return this.issues;
5096
+ }
5097
+ format(e) {
5098
+ const t = e || function(r) {
5099
+ return r.message;
5100
+ }, a = { _errors: [] }, n = (r) => {
5101
+ for (const s of r.issues)
5102
+ if (s.code === "invalid_union")
5103
+ s.unionErrors.map(n);
5104
+ else if (s.code === "invalid_return_type")
5105
+ n(s.returnTypeError);
5106
+ else if (s.code === "invalid_arguments")
5107
+ n(s.argumentsError);
5108
+ else if (s.path.length === 0)
5109
+ a._errors.push(t(s));
5110
+ else {
5111
+ let o = a, m = 0;
5112
+ for (; m < s.path.length; ) {
5113
+ const d = s.path[m];
5114
+ m === s.path.length - 1 ? (o[d] = o[d] || { _errors: [] }, o[d]._errors.push(t(s))) : o[d] = o[d] || { _errors: [] }, o = o[d], m++;
5115
+ }
5116
+ }
5117
+ };
5118
+ return n(this), a;
5119
+ }
5120
+ toString() {
5121
+ return this.message;
5122
+ }
5123
+ get message() {
5124
+ return JSON.stringify(this.issues, x.jsonStringifyReplacer, 2);
5125
+ }
5126
+ get isEmpty() {
5127
+ return this.issues.length === 0;
5128
+ }
5129
+ flatten(e = (t) => t.message) {
5130
+ const t = {}, a = [];
5131
+ for (const n of this.issues)
5132
+ n.path.length > 0 ? (t[n.path[0]] = t[n.path[0]] || [], t[n.path[0]].push(e(n))) : a.push(e(n));
5133
+ return { formErrors: a, fieldErrors: t };
5134
+ }
5135
+ get formErrors() {
5136
+ return this.flatten();
5137
+ }
5138
+ }
5139
+ E.create = (i) => new E(i);
5140
+ const Y = (i, e) => {
5141
+ let t;
5142
+ switch (i.code) {
5143
+ case c.invalid_type:
5144
+ i.received === l.undefined ? t = "Required" : t = `Expected ${i.expected}, received ${i.received}`;
5145
+ break;
5146
+ case c.invalid_literal:
5147
+ t = `Invalid literal value, expected ${JSON.stringify(i.expected, x.jsonStringifyReplacer)}`;
5148
+ break;
5149
+ case c.unrecognized_keys:
5150
+ t = `Unrecognized key(s) in object: ${x.joinValues(i.keys, ", ")}`;
5151
+ break;
5152
+ case c.invalid_union:
5153
+ t = "Invalid input";
5154
+ break;
5155
+ case c.invalid_union_discriminator:
5156
+ t = `Invalid discriminator value. Expected ${x.joinValues(i.options)}`;
5157
+ break;
5158
+ case c.invalid_enum_value:
5159
+ t = `Invalid enum value. Expected ${x.joinValues(i.options)}, received '${i.received}'`;
5160
+ break;
5161
+ case c.invalid_arguments:
5162
+ t = "Invalid function arguments";
5163
+ break;
5164
+ case c.invalid_return_type:
5165
+ t = "Invalid function return type";
5166
+ break;
5167
+ case c.invalid_date:
5168
+ t = "Invalid date";
5169
+ break;
5170
+ case c.invalid_string:
5171
+ typeof i.validation == "object" ? "includes" in i.validation ? (t = `Invalid input: must include "${i.validation.includes}"`, typeof i.validation.position == "number" && (t = `${t} at one or more positions greater than or equal to ${i.validation.position}`)) : "startsWith" in i.validation ? t = `Invalid input: must start with "${i.validation.startsWith}"` : "endsWith" in i.validation ? t = `Invalid input: must end with "${i.validation.endsWith}"` : x.assertNever(i.validation) : i.validation !== "regex" ? t = `Invalid ${i.validation}` : t = "Invalid";
5172
+ break;
5173
+ case c.too_small:
5174
+ i.type === "array" ? t = `Array must contain ${i.exact ? "exactly" : i.inclusive ? "at least" : "more than"} ${i.minimum} element(s)` : i.type === "string" ? t = `String must contain ${i.exact ? "exactly" : i.inclusive ? "at least" : "over"} ${i.minimum} character(s)` : i.type === "number" ? t = `Number must be ${i.exact ? "exactly equal to " : i.inclusive ? "greater than or equal to " : "greater than "}${i.minimum}` : i.type === "date" ? t = `Date must be ${i.exact ? "exactly equal to " : i.inclusive ? "greater than or equal to " : "greater than "}${new Date(Number(i.minimum))}` : t = "Invalid input";
5175
+ break;
5176
+ case c.too_big:
5177
+ i.type === "array" ? t = `Array must contain ${i.exact ? "exactly" : i.inclusive ? "at most" : "less than"} ${i.maximum} element(s)` : i.type === "string" ? t = `String must contain ${i.exact ? "exactly" : i.inclusive ? "at most" : "under"} ${i.maximum} character(s)` : i.type === "number" ? t = `Number must be ${i.exact ? "exactly" : i.inclusive ? "less than or equal to" : "less than"} ${i.maximum}` : i.type === "bigint" ? t = `BigInt must be ${i.exact ? "exactly" : i.inclusive ? "less than or equal to" : "less than"} ${i.maximum}` : i.type === "date" ? t = `Date must be ${i.exact ? "exactly" : i.inclusive ? "smaller than or equal to" : "smaller than"} ${new Date(Number(i.maximum))}` : t = "Invalid input";
5178
+ break;
5179
+ case c.custom:
5180
+ t = "Invalid input";
5181
+ break;
5182
+ case c.invalid_intersection_types:
5183
+ t = "Intersection results could not be merged";
5184
+ break;
5185
+ case c.not_multiple_of:
5186
+ t = `Number must be a multiple of ${i.multipleOf}`;
5187
+ break;
5188
+ case c.not_finite:
5189
+ t = "Number must be finite";
5190
+ break;
5191
+ default:
5192
+ t = e.defaultError, x.assertNever(i);
5193
+ }
5194
+ return { message: t };
5195
+ };
5196
+ let Se = Y;
5197
+ function Ke(i) {
5198
+ Se = i;
5199
+ }
5200
+ function ce() {
5201
+ return Se;
5202
+ }
5203
+ const de = (i) => {
5204
+ const { data: e, path: t, errorMaps: a, issueData: n } = i, r = [...t, ...n.path || []], s = {
5205
+ ...n,
5206
+ path: r
5207
+ };
5208
+ let o = "";
5209
+ const m = a.filter((d) => !!d).slice().reverse();
5210
+ for (const d of m)
5211
+ o = d(s, { data: e, defaultError: o }).message;
5212
+ return {
5213
+ ...n,
5214
+ path: r,
5215
+ message: n.message || o
5216
+ };
5217
+ }, et = [];
5218
+ function u(i, e) {
5219
+ const t = de({
5220
+ issueData: e,
5221
+ data: i.data,
5222
+ path: i.path,
5223
+ errorMaps: [
5224
+ i.common.contextualErrorMap,
5225
+ i.schemaErrorMap,
5226
+ ce(),
5227
+ Y
5228
+ // then global default map
5229
+ ].filter((a) => !!a)
5230
+ });
5231
+ i.common.issues.push(t);
5232
+ }
5233
+ class R {
5234
+ constructor() {
5235
+ this.value = "valid";
5236
+ }
5237
+ dirty() {
5238
+ this.value === "valid" && (this.value = "dirty");
5239
+ }
5240
+ abort() {
5241
+ this.value !== "aborted" && (this.value = "aborted");
5242
+ }
5243
+ static mergeArray(e, t) {
5244
+ const a = [];
5245
+ for (const n of t) {
5246
+ if (n.status === "aborted")
5247
+ return _;
5248
+ n.status === "dirty" && e.dirty(), a.push(n.value);
5249
+ }
5250
+ return { status: e.value, value: a };
5251
+ }
5252
+ static async mergeObjectAsync(e, t) {
5253
+ const a = [];
5254
+ for (const n of t)
5255
+ a.push({
5256
+ key: await n.key,
5257
+ value: await n.value
5258
+ });
5259
+ return R.mergeObjectSync(e, a);
5260
+ }
5261
+ static mergeObjectSync(e, t) {
5262
+ const a = {};
5263
+ for (const n of t) {
5264
+ const { key: r, value: s } = n;
5265
+ if (r.status === "aborted" || s.status === "aborted")
5266
+ return _;
5267
+ r.status === "dirty" && e.dirty(), s.status === "dirty" && e.dirty(), r.value !== "__proto__" && (typeof s.value < "u" || n.alwaysSet) && (a[r.value] = s.value);
5268
+ }
5269
+ return { status: e.value, value: a };
5270
+ }
5271
+ }
5272
+ const _ = Object.freeze({
5273
+ status: "aborted"
5274
+ }), Ae = (i) => ({ status: "dirty", value: i }), S = (i) => ({ status: "valid", value: i }), xe = (i) => i.status === "aborted", we = (i) => i.status === "dirty", H = (i) => i.status === "valid", le = (i) => typeof Promise < "u" && i instanceof Promise;
5275
+ var p;
5276
+ (function(i) {
5277
+ i.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, i.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
5278
+ })(p || (p = {}));
5279
+ class P {
5280
+ constructor(e, t, a, n) {
5281
+ this._cachedPath = [], this.parent = e, this.data = t, this._path = a, this._key = n;
5282
+ }
5283
+ get path() {
5284
+ return this._cachedPath.length || (this._key instanceof Array ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;
5285
+ }
5286
+ }
5287
+ const Te = (i, e) => {
5288
+ if (H(e))
5289
+ return { success: !0, data: e.value };
5290
+ if (!i.common.issues.length)
5291
+ throw new Error("Validation failed but no issues detected.");
5292
+ return {
5293
+ success: !1,
5294
+ get error() {
5295
+ if (this._error)
5296
+ return this._error;
5297
+ const t = new E(i.common.issues);
5298
+ return this._error = t, this._error;
5299
+ }
5300
+ };
5301
+ };
5302
+ function h(i) {
5303
+ if (!i)
5304
+ return {};
5305
+ const { errorMap: e, invalid_type_error: t, required_error: a, description: n } = i;
5306
+ if (e && (t || a))
5307
+ throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);
5308
+ return e ? { errorMap: e, description: n } : { errorMap: (s, o) => s.code !== "invalid_type" ? { message: o.defaultError } : typeof o.data > "u" ? { message: a ?? o.defaultError } : { message: t ?? o.defaultError }, description: n };
5309
+ }
5310
+ class v {
5311
+ constructor(e) {
5312
+ this.spa = this.safeParseAsync, this._def = e, this.parse = this.parse.bind(this), this.safeParse = this.safeParse.bind(this), this.parseAsync = this.parseAsync.bind(this), this.safeParseAsync = this.safeParseAsync.bind(this), this.spa = this.spa.bind(this), this.refine = this.refine.bind(this), this.refinement = this.refinement.bind(this), this.superRefine = this.superRefine.bind(this), this.optional = this.optional.bind(this), this.nullable = this.nullable.bind(this), this.nullish = this.nullish.bind(this), this.array = this.array.bind(this), this.promise = this.promise.bind(this), this.or = this.or.bind(this), this.and = this.and.bind(this), this.transform = this.transform.bind(this), this.brand = this.brand.bind(this), this.default = this.default.bind(this), this.catch = this.catch.bind(this), this.describe = this.describe.bind(this), this.pipe = this.pipe.bind(this), this.readonly = this.readonly.bind(this), this.isNullable = this.isNullable.bind(this), this.isOptional = this.isOptional.bind(this);
5313
+ }
5314
+ get description() {
5315
+ return this._def.description;
5316
+ }
5317
+ _getType(e) {
5318
+ return D(e.data);
5319
+ }
5320
+ _getOrReturnCtx(e, t) {
5321
+ return t || {
5322
+ common: e.parent.common,
5323
+ data: e.data,
5324
+ parsedType: D(e.data),
5325
+ schemaErrorMap: this._def.errorMap,
5326
+ path: e.path,
5327
+ parent: e.parent
5328
+ };
5329
+ }
4244
5330
  _processInputParams(e) {
4245
5331
  return {
4246
- status: new k(),
5332
+ status: new R(),
4247
5333
  ctx: {
4248
5334
  common: e.parent.common,
4249
5335
  data: e.data,
4250
- parsedType: j(e.data),
5336
+ parsedType: D(e.data),
4251
5337
  schemaErrorMap: this._def.errorMap,
4252
5338
  path: e.path,
4253
5339
  parent: e.parent
@@ -4265,35 +5351,35 @@ class v {
4265
5351
  return Promise.resolve(t);
4266
5352
  }
4267
5353
  parse(e, t) {
4268
- const n = this.safeParse(e, t);
4269
- if (n.success)
4270
- return n.data;
4271
- throw n.error;
5354
+ const a = this.safeParse(e, t);
5355
+ if (a.success)
5356
+ return a.data;
5357
+ throw a.error;
4272
5358
  }
4273
5359
  safeParse(e, t) {
4274
- var n;
4275
- const i = {
5360
+ var a;
5361
+ const n = {
4276
5362
  common: {
4277
5363
  issues: [],
4278
- async: (n = t == null ? void 0 : t.async) !== null && n !== void 0 ? n : !1,
5364
+ async: (a = t == null ? void 0 : t.async) !== null && a !== void 0 ? a : !1,
4279
5365
  contextualErrorMap: t == null ? void 0 : t.errorMap
4280
5366
  },
4281
5367
  path: (t == null ? void 0 : t.path) || [],
4282
5368
  schemaErrorMap: this._def.errorMap,
4283
5369
  parent: null,
4284
5370
  data: e,
4285
- parsedType: j(e)
4286
- }, r = this._parseSync({ data: e, path: i.path, parent: i });
4287
- return Ce(i, r);
5371
+ parsedType: D(e)
5372
+ }, r = this._parseSync({ data: e, path: n.path, parent: n });
5373
+ return Te(n, r);
4288
5374
  }
4289
5375
  async parseAsync(e, t) {
4290
- const n = await this.safeParseAsync(e, t);
4291
- if (n.success)
4292
- return n.data;
4293
- throw n.error;
5376
+ const a = await this.safeParseAsync(e, t);
5377
+ if (a.success)
5378
+ return a.data;
5379
+ throw a.error;
4294
5380
  }
4295
5381
  async safeParseAsync(e, t) {
4296
- const n = {
5382
+ const a = {
4297
5383
  common: {
4298
5384
  issues: [],
4299
5385
  contextualErrorMap: t == null ? void 0 : t.errorMap,
@@ -4303,25 +5389,25 @@ class v {
4303
5389
  schemaErrorMap: this._def.errorMap,
4304
5390
  parent: null,
4305
5391
  data: e,
4306
- parsedType: j(e)
4307
- }, i = this._parse({ data: e, path: n.path, parent: n }), r = await (le(i) ? i : Promise.resolve(i));
4308
- return Ce(n, r);
5392
+ parsedType: D(e)
5393
+ }, n = this._parse({ data: e, path: a.path, parent: a }), r = await (le(n) ? n : Promise.resolve(n));
5394
+ return Te(a, r);
4309
5395
  }
4310
5396
  refine(e, t) {
4311
- const n = (i) => typeof t == "string" || typeof t > "u" ? { message: t } : typeof t == "function" ? t(i) : t;
4312
- return this._refinement((i, r) => {
4313
- const s = e(i), o = () => r.addIssue({
5397
+ const a = (n) => typeof t == "string" || typeof t > "u" ? { message: t } : typeof t == "function" ? t(n) : t;
5398
+ return this._refinement((n, r) => {
5399
+ const s = e(n), o = () => r.addIssue({
4314
5400
  code: c.custom,
4315
- ...n(i)
5401
+ ...a(n)
4316
5402
  });
4317
5403
  return typeof Promise < "u" && s instanceof Promise ? s.then((m) => m ? !0 : (o(), !1)) : s ? !0 : (o(), !1);
4318
5404
  });
4319
5405
  }
4320
5406
  refinement(e, t) {
4321
- return this._refinement((n, i) => e(n) ? !0 : (i.addIssue(typeof t == "function" ? t(n, i) : t), !1));
5407
+ return this._refinement((a, n) => e(a) ? !0 : (n.addIssue(typeof t == "function" ? t(a, n) : t), !1));
4322
5408
  }
4323
5409
  _refinement(e) {
4324
- return new M({
5410
+ return new I({
4325
5411
  schema: this,
4326
5412
  typeName: f.ZodEffects,
4327
5413
  effect: { type: "refinement", refinement: e }
@@ -4331,7 +5417,7 @@ class v {
4331
5417
  return this._refinement(e);
4332
5418
  }
4333
5419
  optional() {
4334
- return P.create(this, this._def);
5420
+ return N.create(this, this._def);
4335
5421
  }
4336
5422
  nullable() {
4337
5423
  return q.create(this, this._def);
@@ -4340,10 +5426,10 @@ class v {
4340
5426
  return this.nullable().optional();
4341
5427
  }
4342
5428
  array() {
4343
- return O.create(this, this._def);
5429
+ return M.create(this, this._def);
4344
5430
  }
4345
5431
  promise() {
4346
- return Y.create(this, this._def);
5432
+ return F.create(this, this._def);
4347
5433
  }
4348
5434
  or(e) {
4349
5435
  return K.create([this, e], this._def);
@@ -4352,8 +5438,8 @@ class v {
4352
5438
  return ee.create(this, e, this._def);
4353
5439
  }
4354
5440
  transform(e) {
4355
- return new M({
4356
- ..._(this._def),
5441
+ return new I({
5442
+ ...h(this._def),
4357
5443
  schema: this,
4358
5444
  typeName: f.ZodEffects,
4359
5445
  effect: { type: "transform", transform: e }
@@ -4362,7 +5448,7 @@ class v {
4362
5448
  default(e) {
4363
5449
  const t = typeof e == "function" ? e : () => e;
4364
5450
  return new re({
4365
- ..._(this._def),
5451
+ ...h(this._def),
4366
5452
  innerType: this,
4367
5453
  defaultValue: t,
4368
5454
  typeName: f.ZodDefault
@@ -4372,13 +5458,13 @@ class v {
4372
5458
  return new Ee({
4373
5459
  typeName: f.ZodBranded,
4374
5460
  type: this,
4375
- ..._(this._def)
5461
+ ...h(this._def)
4376
5462
  });
4377
5463
  }
4378
5464
  catch(e) {
4379
5465
  const t = typeof e == "function" ? e : () => e;
4380
5466
  return new fe({
4381
- ..._(this._def),
5467
+ ...h(this._def),
4382
5468
  innerType: this,
4383
5469
  catchValue: t,
4384
5470
  typeName: f.ZodCatch
@@ -4395,7 +5481,7 @@ class v {
4395
5481
  return se.create(this, e);
4396
5482
  }
4397
5483
  readonly() {
4398
- return ge.create(this);
5484
+ return _e.create(this);
4399
5485
  }
4400
5486
  isOptional() {
4401
5487
  return this.safeParse(void 0).success;
@@ -4404,13 +5490,13 @@ class v {
4404
5490
  return this.safeParse(null).success;
4405
5491
  }
4406
5492
  }
4407
- const Je = /^c[^\s-]{8,}$/i, Xe = /^[a-z][a-z0-9]*$/, Ke = /^[0-9A-HJKMNP-TV-Z]{26}$/, et = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, tt = /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, at = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
5493
+ const tt = /^c[^\s-]{8,}$/i, it = /^[a-z][a-z0-9]*$/, at = /^[0-9A-HJKMNP-TV-Z]{26}$/, nt = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, rt = /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, st = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
4408
5494
  let ye;
4409
- const nt = /^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/, it = /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/, rt = (a) => a.precision ? a.offset ? new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${a.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`) : new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${a.precision}}Z$`) : a.precision === 0 ? a.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$") : a.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");
4410
- function st(a, e) {
4411
- return !!((e === "v4" || !e) && nt.test(a) || (e === "v6" || !e) && it.test(a));
5495
+ const ot = /^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/, ct = /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/, dt = (i) => i.precision ? i.offset ? new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${i.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`) : new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${i.precision}}Z$`) : i.precision === 0 ? i.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$") : i.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");
5496
+ function lt(i, e) {
5497
+ return !!((e === "v4" || !e) && ot.test(i) || (e === "v6" || !e) && ct.test(i));
4412
5498
  }
4413
- class A extends v {
5499
+ class k extends v {
4414
5500
  _parse(e) {
4415
5501
  if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== l.string) {
4416
5502
  const r = this._getOrReturnCtx(e);
@@ -4422,128 +5508,128 @@ class A extends v {
4422
5508
  received: r.parsedType
4423
5509
  }
4424
5510
  //
4425
- ), g;
5511
+ ), _;
4426
5512
  }
4427
- const n = new k();
4428
- let i;
5513
+ const a = new R();
5514
+ let n;
4429
5515
  for (const r of this._def.checks)
4430
5516
  if (r.kind === "min")
4431
- e.data.length < r.value && (i = this._getOrReturnCtx(e, i), u(i, {
5517
+ e.data.length < r.value && (n = this._getOrReturnCtx(e, n), u(n, {
4432
5518
  code: c.too_small,
4433
5519
  minimum: r.value,
4434
5520
  type: "string",
4435
5521
  inclusive: !0,
4436
5522
  exact: !1,
4437
5523
  message: r.message
4438
- }), n.dirty());
5524
+ }), a.dirty());
4439
5525
  else if (r.kind === "max")
4440
- e.data.length > r.value && (i = this._getOrReturnCtx(e, i), u(i, {
5526
+ e.data.length > r.value && (n = this._getOrReturnCtx(e, n), u(n, {
4441
5527
  code: c.too_big,
4442
5528
  maximum: r.value,
4443
5529
  type: "string",
4444
5530
  inclusive: !0,
4445
5531
  exact: !1,
4446
5532
  message: r.message
4447
- }), n.dirty());
5533
+ }), a.dirty());
4448
5534
  else if (r.kind === "length") {
4449
5535
  const s = e.data.length > r.value, o = e.data.length < r.value;
4450
- (s || o) && (i = this._getOrReturnCtx(e, i), s ? u(i, {
5536
+ (s || o) && (n = this._getOrReturnCtx(e, n), s ? u(n, {
4451
5537
  code: c.too_big,
4452
5538
  maximum: r.value,
4453
5539
  type: "string",
4454
5540
  inclusive: !0,
4455
5541
  exact: !0,
4456
5542
  message: r.message
4457
- }) : o && u(i, {
5543
+ }) : o && u(n, {
4458
5544
  code: c.too_small,
4459
5545
  minimum: r.value,
4460
5546
  type: "string",
4461
5547
  inclusive: !0,
4462
5548
  exact: !0,
4463
5549
  message: r.message
4464
- }), n.dirty());
5550
+ }), a.dirty());
4465
5551
  } else if (r.kind === "email")
4466
- tt.test(e.data) || (i = this._getOrReturnCtx(e, i), u(i, {
5552
+ rt.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
4467
5553
  validation: "email",
4468
5554
  code: c.invalid_string,
4469
5555
  message: r.message
4470
- }), n.dirty());
5556
+ }), a.dirty());
4471
5557
  else if (r.kind === "emoji")
4472
- ye || (ye = new RegExp(at, "u")), ye.test(e.data) || (i = this._getOrReturnCtx(e, i), u(i, {
5558
+ ye || (ye = new RegExp(st, "u")), ye.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
4473
5559
  validation: "emoji",
4474
5560
  code: c.invalid_string,
4475
5561
  message: r.message
4476
- }), n.dirty());
5562
+ }), a.dirty());
4477
5563
  else if (r.kind === "uuid")
4478
- et.test(e.data) || (i = this._getOrReturnCtx(e, i), u(i, {
5564
+ nt.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
4479
5565
  validation: "uuid",
4480
5566
  code: c.invalid_string,
4481
5567
  message: r.message
4482
- }), n.dirty());
5568
+ }), a.dirty());
4483
5569
  else if (r.kind === "cuid")
4484
- Je.test(e.data) || (i = this._getOrReturnCtx(e, i), u(i, {
5570
+ tt.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
4485
5571
  validation: "cuid",
4486
5572
  code: c.invalid_string,
4487
5573
  message: r.message
4488
- }), n.dirty());
5574
+ }), a.dirty());
4489
5575
  else if (r.kind === "cuid2")
4490
- Xe.test(e.data) || (i = this._getOrReturnCtx(e, i), u(i, {
5576
+ it.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
4491
5577
  validation: "cuid2",
4492
5578
  code: c.invalid_string,
4493
5579
  message: r.message
4494
- }), n.dirty());
5580
+ }), a.dirty());
4495
5581
  else if (r.kind === "ulid")
4496
- Ke.test(e.data) || (i = this._getOrReturnCtx(e, i), u(i, {
5582
+ at.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
4497
5583
  validation: "ulid",
4498
5584
  code: c.invalid_string,
4499
5585
  message: r.message
4500
- }), n.dirty());
5586
+ }), a.dirty());
4501
5587
  else if (r.kind === "url")
4502
5588
  try {
4503
5589
  new URL(e.data);
4504
5590
  } catch {
4505
- i = this._getOrReturnCtx(e, i), u(i, {
5591
+ n = this._getOrReturnCtx(e, n), u(n, {
4506
5592
  validation: "url",
4507
5593
  code: c.invalid_string,
4508
5594
  message: r.message
4509
- }), n.dirty();
5595
+ }), a.dirty();
4510
5596
  }
4511
- else r.kind === "regex" ? (r.regex.lastIndex = 0, r.regex.test(e.data) || (i = this._getOrReturnCtx(e, i), u(i, {
5597
+ else r.kind === "regex" ? (r.regex.lastIndex = 0, r.regex.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
4512
5598
  validation: "regex",
4513
5599
  code: c.invalid_string,
4514
5600
  message: r.message
4515
- }), n.dirty())) : r.kind === "trim" ? e.data = e.data.trim() : r.kind === "includes" ? e.data.includes(r.value, r.position) || (i = this._getOrReturnCtx(e, i), u(i, {
5601
+ }), a.dirty())) : r.kind === "trim" ? e.data = e.data.trim() : r.kind === "includes" ? e.data.includes(r.value, r.position) || (n = this._getOrReturnCtx(e, n), u(n, {
4516
5602
  code: c.invalid_string,
4517
5603
  validation: { includes: r.value, position: r.position },
4518
5604
  message: r.message
4519
- }), n.dirty()) : r.kind === "toLowerCase" ? e.data = e.data.toLowerCase() : r.kind === "toUpperCase" ? e.data = e.data.toUpperCase() : r.kind === "startsWith" ? e.data.startsWith(r.value) || (i = this._getOrReturnCtx(e, i), u(i, {
5605
+ }), a.dirty()) : r.kind === "toLowerCase" ? e.data = e.data.toLowerCase() : r.kind === "toUpperCase" ? e.data = e.data.toUpperCase() : r.kind === "startsWith" ? e.data.startsWith(r.value) || (n = this._getOrReturnCtx(e, n), u(n, {
4520
5606
  code: c.invalid_string,
4521
5607
  validation: { startsWith: r.value },
4522
5608
  message: r.message
4523
- }), n.dirty()) : r.kind === "endsWith" ? e.data.endsWith(r.value) || (i = this._getOrReturnCtx(e, i), u(i, {
5609
+ }), a.dirty()) : r.kind === "endsWith" ? e.data.endsWith(r.value) || (n = this._getOrReturnCtx(e, n), u(n, {
4524
5610
  code: c.invalid_string,
4525
5611
  validation: { endsWith: r.value },
4526
5612
  message: r.message
4527
- }), n.dirty()) : r.kind === "datetime" ? rt(r).test(e.data) || (i = this._getOrReturnCtx(e, i), u(i, {
5613
+ }), a.dirty()) : r.kind === "datetime" ? dt(r).test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
4528
5614
  code: c.invalid_string,
4529
5615
  validation: "datetime",
4530
5616
  message: r.message
4531
- }), n.dirty()) : r.kind === "ip" ? st(e.data, r.version) || (i = this._getOrReturnCtx(e, i), u(i, {
5617
+ }), a.dirty()) : r.kind === "ip" ? lt(e.data, r.version) || (n = this._getOrReturnCtx(e, n), u(n, {
4532
5618
  validation: "ip",
4533
5619
  code: c.invalid_string,
4534
5620
  message: r.message
4535
- }), n.dirty()) : x.assertNever(r);
4536
- return { status: n.value, value: e.data };
5621
+ }), a.dirty()) : x.assertNever(r);
5622
+ return { status: a.value, value: e.data };
4537
5623
  }
4538
- _regex(e, t, n) {
4539
- return this.refinement((i) => e.test(i), {
5624
+ _regex(e, t, a) {
5625
+ return this.refinement((n) => e.test(n), {
4540
5626
  validation: t,
4541
5627
  code: c.invalid_string,
4542
- ...p.errToObj(n)
5628
+ ...p.errToObj(a)
4543
5629
  });
4544
5630
  }
4545
5631
  _addCheck(e) {
4546
- return new A({
5632
+ return new k({
4547
5633
  ...this._def,
4548
5634
  checks: [...this._def.checks, e]
4549
5635
  });
@@ -4644,19 +5730,19 @@ class A extends v {
4644
5730
  return this.min(1, p.errToObj(e));
4645
5731
  }
4646
5732
  trim() {
4647
- return new A({
5733
+ return new k({
4648
5734
  ...this._def,
4649
5735
  checks: [...this._def.checks, { kind: "trim" }]
4650
5736
  });
4651
5737
  }
4652
5738
  toLowerCase() {
4653
- return new A({
5739
+ return new k({
4654
5740
  ...this._def,
4655
5741
  checks: [...this._def.checks, { kind: "toLowerCase" }]
4656
5742
  });
4657
5743
  }
4658
5744
  toUpperCase() {
4659
- return new A({
5745
+ return new k({
4660
5746
  ...this._def,
4661
5747
  checks: [...this._def.checks, { kind: "toUpperCase" }]
4662
5748
  });
@@ -4701,20 +5787,20 @@ class A extends v {
4701
5787
  return e;
4702
5788
  }
4703
5789
  }
4704
- A.create = (a) => {
5790
+ k.create = (i) => {
4705
5791
  var e;
4706
- return new A({
5792
+ return new k({
4707
5793
  checks: [],
4708
5794
  typeName: f.ZodString,
4709
- coerce: (e = a == null ? void 0 : a.coerce) !== null && e !== void 0 ? e : !1,
4710
- ..._(a)
5795
+ coerce: (e = i == null ? void 0 : i.coerce) !== null && e !== void 0 ? e : !1,
5796
+ ...h(i)
4711
5797
  });
4712
5798
  };
4713
- function ot(a, e) {
4714
- const t = (a.toString().split(".")[1] || "").length, n = (e.toString().split(".")[1] || "").length, i = t > n ? t : n, r = parseInt(a.toFixed(i).replace(".", "")), s = parseInt(e.toFixed(i).replace(".", ""));
4715
- return r % s / Math.pow(10, i);
5799
+ function ut(i, e) {
5800
+ const t = (i.toString().split(".")[1] || "").length, a = (e.toString().split(".")[1] || "").length, n = t > a ? t : a, r = parseInt(i.toFixed(n).replace(".", "")), s = parseInt(e.toFixed(n).replace(".", ""));
5801
+ return r % s / Math.pow(10, n);
4716
5802
  }
4717
- class D extends v {
5803
+ class j extends v {
4718
5804
  constructor() {
4719
5805
  super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
4720
5806
  }
@@ -4725,39 +5811,39 @@ class D extends v {
4725
5811
  code: c.invalid_type,
4726
5812
  expected: l.number,
4727
5813
  received: r.parsedType
4728
- }), g;
5814
+ }), _;
4729
5815
  }
4730
- let n;
4731
- const i = new k();
5816
+ let a;
5817
+ const n = new R();
4732
5818
  for (const r of this._def.checks)
4733
- r.kind === "int" ? x.isInteger(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
5819
+ r.kind === "int" ? x.isInteger(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
4734
5820
  code: c.invalid_type,
4735
5821
  expected: "integer",
4736
5822
  received: "float",
4737
5823
  message: r.message
4738
- }), i.dirty()) : r.kind === "min" ? (r.inclusive ? e.data < r.value : e.data <= r.value) && (n = this._getOrReturnCtx(e, n), u(n, {
5824
+ }), n.dirty()) : r.kind === "min" ? (r.inclusive ? e.data < r.value : e.data <= r.value) && (a = this._getOrReturnCtx(e, a), u(a, {
4739
5825
  code: c.too_small,
4740
5826
  minimum: r.value,
4741
5827
  type: "number",
4742
5828
  inclusive: r.inclusive,
4743
5829
  exact: !1,
4744
5830
  message: r.message
4745
- }), i.dirty()) : r.kind === "max" ? (r.inclusive ? e.data > r.value : e.data >= r.value) && (n = this._getOrReturnCtx(e, n), u(n, {
5831
+ }), n.dirty()) : r.kind === "max" ? (r.inclusive ? e.data > r.value : e.data >= r.value) && (a = this._getOrReturnCtx(e, a), u(a, {
4746
5832
  code: c.too_big,
4747
5833
  maximum: r.value,
4748
5834
  type: "number",
4749
5835
  inclusive: r.inclusive,
4750
5836
  exact: !1,
4751
5837
  message: r.message
4752
- }), i.dirty()) : r.kind === "multipleOf" ? ot(e.data, r.value) !== 0 && (n = this._getOrReturnCtx(e, n), u(n, {
5838
+ }), n.dirty()) : r.kind === "multipleOf" ? ut(e.data, r.value) !== 0 && (a = this._getOrReturnCtx(e, a), u(a, {
4753
5839
  code: c.not_multiple_of,
4754
5840
  multipleOf: r.value,
4755
5841
  message: r.message
4756
- }), i.dirty()) : r.kind === "finite" ? Number.isFinite(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
5842
+ }), n.dirty()) : r.kind === "finite" ? Number.isFinite(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
4757
5843
  code: c.not_finite,
4758
5844
  message: r.message
4759
- }), i.dirty()) : x.assertNever(r);
4760
- return { status: i.value, value: e.data };
5845
+ }), n.dirty()) : x.assertNever(r);
5846
+ return { status: n.value, value: e.data };
4761
5847
  }
4762
5848
  gte(e, t) {
4763
5849
  return this.setLimit("min", e, !0, p.toString(t));
@@ -4771,22 +5857,22 @@ class D extends v {
4771
5857
  lt(e, t) {
4772
5858
  return this.setLimit("max", e, !1, p.toString(t));
4773
5859
  }
4774
- setLimit(e, t, n, i) {
4775
- return new D({
5860
+ setLimit(e, t, a, n) {
5861
+ return new j({
4776
5862
  ...this._def,
4777
5863
  checks: [
4778
5864
  ...this._def.checks,
4779
5865
  {
4780
5866
  kind: e,
4781
5867
  value: t,
4782
- inclusive: n,
4783
- message: p.toString(i)
5868
+ inclusive: a,
5869
+ message: p.toString(n)
4784
5870
  }
4785
5871
  ]
4786
5872
  });
4787
5873
  }
4788
5874
  _addCheck(e) {
4789
- return new D({
5875
+ return new j({
4790
5876
  ...this._def,
4791
5877
  checks: [...this._def.checks, e]
4792
5878
  });
@@ -4872,19 +5958,19 @@ class D extends v {
4872
5958
  }
4873
5959
  get isFinite() {
4874
5960
  let e = null, t = null;
4875
- for (const n of this._def.checks) {
4876
- if (n.kind === "finite" || n.kind === "int" || n.kind === "multipleOf")
5961
+ for (const a of this._def.checks) {
5962
+ if (a.kind === "finite" || a.kind === "int" || a.kind === "multipleOf")
4877
5963
  return !0;
4878
- n.kind === "min" ? (t === null || n.value > t) && (t = n.value) : n.kind === "max" && (e === null || n.value < e) && (e = n.value);
5964
+ a.kind === "min" ? (t === null || a.value > t) && (t = a.value) : a.kind === "max" && (e === null || a.value < e) && (e = a.value);
4879
5965
  }
4880
5966
  return Number.isFinite(t) && Number.isFinite(e);
4881
5967
  }
4882
5968
  }
4883
- D.create = (a) => new D({
5969
+ j.create = (i) => new j({
4884
5970
  checks: [],
4885
5971
  typeName: f.ZodNumber,
4886
- coerce: (a == null ? void 0 : a.coerce) || !1,
4887
- ..._(a)
5972
+ coerce: (i == null ? void 0 : i.coerce) || !1,
5973
+ ...h(i)
4888
5974
  });
4889
5975
  class B extends v {
4890
5976
  constructor() {
@@ -4897,29 +5983,29 @@ class B extends v {
4897
5983
  code: c.invalid_type,
4898
5984
  expected: l.bigint,
4899
5985
  received: r.parsedType
4900
- }), g;
5986
+ }), _;
4901
5987
  }
4902
- let n;
4903
- const i = new k();
5988
+ let a;
5989
+ const n = new R();
4904
5990
  for (const r of this._def.checks)
4905
- r.kind === "min" ? (r.inclusive ? e.data < r.value : e.data <= r.value) && (n = this._getOrReturnCtx(e, n), u(n, {
5991
+ r.kind === "min" ? (r.inclusive ? e.data < r.value : e.data <= r.value) && (a = this._getOrReturnCtx(e, a), u(a, {
4906
5992
  code: c.too_small,
4907
5993
  type: "bigint",
4908
5994
  minimum: r.value,
4909
5995
  inclusive: r.inclusive,
4910
5996
  message: r.message
4911
- }), i.dirty()) : r.kind === "max" ? (r.inclusive ? e.data > r.value : e.data >= r.value) && (n = this._getOrReturnCtx(e, n), u(n, {
5997
+ }), n.dirty()) : r.kind === "max" ? (r.inclusive ? e.data > r.value : e.data >= r.value) && (a = this._getOrReturnCtx(e, a), u(a, {
4912
5998
  code: c.too_big,
4913
5999
  type: "bigint",
4914
6000
  maximum: r.value,
4915
6001
  inclusive: r.inclusive,
4916
6002
  message: r.message
4917
- }), i.dirty()) : r.kind === "multipleOf" ? e.data % r.value !== BigInt(0) && (n = this._getOrReturnCtx(e, n), u(n, {
6003
+ }), n.dirty()) : r.kind === "multipleOf" ? e.data % r.value !== BigInt(0) && (a = this._getOrReturnCtx(e, a), u(a, {
4918
6004
  code: c.not_multiple_of,
4919
6005
  multipleOf: r.value,
4920
6006
  message: r.message
4921
- }), i.dirty()) : x.assertNever(r);
4922
- return { status: i.value, value: e.data };
6007
+ }), n.dirty()) : x.assertNever(r);
6008
+ return { status: n.value, value: e.data };
4923
6009
  }
4924
6010
  gte(e, t) {
4925
6011
  return this.setLimit("min", e, !0, p.toString(t));
@@ -4933,7 +6019,7 @@ class B extends v {
4933
6019
  lt(e, t) {
4934
6020
  return this.setLimit("max", e, !1, p.toString(t));
4935
6021
  }
4936
- setLimit(e, t, n, i) {
6022
+ setLimit(e, t, a, n) {
4937
6023
  return new B({
4938
6024
  ...this._def,
4939
6025
  checks: [
@@ -4941,8 +6027,8 @@ class B extends v {
4941
6027
  {
4942
6028
  kind: e,
4943
6029
  value: t,
4944
- inclusive: n,
4945
- message: p.toString(i)
6030
+ inclusive: a,
6031
+ message: p.toString(n)
4946
6032
  }
4947
6033
  ]
4948
6034
  });
@@ -5005,32 +6091,32 @@ class B extends v {
5005
6091
  return e;
5006
6092
  }
5007
6093
  }
5008
- B.create = (a) => {
6094
+ B.create = (i) => {
5009
6095
  var e;
5010
6096
  return new B({
5011
6097
  checks: [],
5012
6098
  typeName: f.ZodBigInt,
5013
- coerce: (e = a == null ? void 0 : a.coerce) !== null && e !== void 0 ? e : !1,
5014
- ..._(a)
6099
+ coerce: (e = i == null ? void 0 : i.coerce) !== null && e !== void 0 ? e : !1,
6100
+ ...h(i)
5015
6101
  });
5016
6102
  };
5017
6103
  class Q extends v {
5018
6104
  _parse(e) {
5019
6105
  if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== l.boolean) {
5020
- const n = this._getOrReturnCtx(e);
5021
- return u(n, {
6106
+ const a = this._getOrReturnCtx(e);
6107
+ return u(a, {
5022
6108
  code: c.invalid_type,
5023
6109
  expected: l.boolean,
5024
- received: n.parsedType
5025
- }), g;
6110
+ received: a.parsedType
6111
+ }), _;
5026
6112
  }
5027
- return R(e.data);
6113
+ return S(e.data);
5028
6114
  }
5029
6115
  }
5030
- Q.create = (a) => new Q({
6116
+ Q.create = (i) => new Q({
5031
6117
  typeName: f.ZodBoolean,
5032
- coerce: (a == null ? void 0 : a.coerce) || !1,
5033
- ..._(a)
6118
+ coerce: (i == null ? void 0 : i.coerce) || !1,
6119
+ ...h(i)
5034
6120
  });
5035
6121
  class $ extends v {
5036
6122
  _parse(e) {
@@ -5040,34 +6126,34 @@ class $ extends v {
5040
6126
  code: c.invalid_type,
5041
6127
  expected: l.date,
5042
6128
  received: r.parsedType
5043
- }), g;
6129
+ }), _;
5044
6130
  }
5045
6131
  if (isNaN(e.data.getTime())) {
5046
6132
  const r = this._getOrReturnCtx(e);
5047
6133
  return u(r, {
5048
6134
  code: c.invalid_date
5049
- }), g;
6135
+ }), _;
5050
6136
  }
5051
- const n = new k();
5052
- let i;
6137
+ const a = new R();
6138
+ let n;
5053
6139
  for (const r of this._def.checks)
5054
- r.kind === "min" ? e.data.getTime() < r.value && (i = this._getOrReturnCtx(e, i), u(i, {
6140
+ r.kind === "min" ? e.data.getTime() < r.value && (n = this._getOrReturnCtx(e, n), u(n, {
5055
6141
  code: c.too_small,
5056
6142
  message: r.message,
5057
6143
  inclusive: !0,
5058
6144
  exact: !1,
5059
6145
  minimum: r.value,
5060
6146
  type: "date"
5061
- }), n.dirty()) : r.kind === "max" ? e.data.getTime() > r.value && (i = this._getOrReturnCtx(e, i), u(i, {
6147
+ }), a.dirty()) : r.kind === "max" ? e.data.getTime() > r.value && (n = this._getOrReturnCtx(e, n), u(n, {
5062
6148
  code: c.too_big,
5063
6149
  message: r.message,
5064
6150
  inclusive: !0,
5065
6151
  exact: !1,
5066
6152
  maximum: r.value,
5067
6153
  type: "date"
5068
- }), n.dirty()) : x.assertNever(r);
6154
+ }), a.dirty()) : x.assertNever(r);
5069
6155
  return {
5070
- status: n.value,
6156
+ status: a.value,
5071
6157
  value: new Date(e.data.getTime())
5072
6158
  };
5073
6159
  }
@@ -5104,86 +6190,86 @@ class $ extends v {
5104
6190
  return e != null ? new Date(e) : null;
5105
6191
  }
5106
6192
  }
5107
- $.create = (a) => new $({
6193
+ $.create = (i) => new $({
5108
6194
  checks: [],
5109
- coerce: (a == null ? void 0 : a.coerce) || !1,
6195
+ coerce: (i == null ? void 0 : i.coerce) || !1,
5110
6196
  typeName: f.ZodDate,
5111
- ..._(a)
6197
+ ...h(i)
5112
6198
  });
5113
6199
  class ue extends v {
5114
6200
  _parse(e) {
5115
6201
  if (this._getType(e) !== l.symbol) {
5116
- const n = this._getOrReturnCtx(e);
5117
- return u(n, {
6202
+ const a = this._getOrReturnCtx(e);
6203
+ return u(a, {
5118
6204
  code: c.invalid_type,
5119
6205
  expected: l.symbol,
5120
- received: n.parsedType
5121
- }), g;
6206
+ received: a.parsedType
6207
+ }), _;
5122
6208
  }
5123
- return R(e.data);
6209
+ return S(e.data);
5124
6210
  }
5125
6211
  }
5126
- ue.create = (a) => new ue({
6212
+ ue.create = (i) => new ue({
5127
6213
  typeName: f.ZodSymbol,
5128
- ..._(a)
6214
+ ...h(i)
5129
6215
  });
5130
6216
  class J extends v {
5131
6217
  _parse(e) {
5132
6218
  if (this._getType(e) !== l.undefined) {
5133
- const n = this._getOrReturnCtx(e);
5134
- return u(n, {
6219
+ const a = this._getOrReturnCtx(e);
6220
+ return u(a, {
5135
6221
  code: c.invalid_type,
5136
6222
  expected: l.undefined,
5137
- received: n.parsedType
5138
- }), g;
6223
+ received: a.parsedType
6224
+ }), _;
5139
6225
  }
5140
- return R(e.data);
6226
+ return S(e.data);
5141
6227
  }
5142
6228
  }
5143
- J.create = (a) => new J({
6229
+ J.create = (i) => new J({
5144
6230
  typeName: f.ZodUndefined,
5145
- ..._(a)
6231
+ ...h(i)
5146
6232
  });
5147
6233
  class X extends v {
5148
6234
  _parse(e) {
5149
6235
  if (this._getType(e) !== l.null) {
5150
- const n = this._getOrReturnCtx(e);
5151
- return u(n, {
6236
+ const a = this._getOrReturnCtx(e);
6237
+ return u(a, {
5152
6238
  code: c.invalid_type,
5153
6239
  expected: l.null,
5154
- received: n.parsedType
5155
- }), g;
6240
+ received: a.parsedType
6241
+ }), _;
5156
6242
  }
5157
- return R(e.data);
6243
+ return S(e.data);
5158
6244
  }
5159
6245
  }
5160
- X.create = (a) => new X({
6246
+ X.create = (i) => new X({
5161
6247
  typeName: f.ZodNull,
5162
- ..._(a)
6248
+ ...h(i)
5163
6249
  });
5164
6250
  class W extends v {
5165
6251
  constructor() {
5166
6252
  super(...arguments), this._any = !0;
5167
6253
  }
5168
6254
  _parse(e) {
5169
- return R(e.data);
6255
+ return S(e.data);
5170
6256
  }
5171
6257
  }
5172
- W.create = (a) => new W({
6258
+ W.create = (i) => new W({
5173
6259
  typeName: f.ZodAny,
5174
- ..._(a)
6260
+ ...h(i)
5175
6261
  });
5176
- class V extends v {
6262
+ class Z extends v {
5177
6263
  constructor() {
5178
6264
  super(...arguments), this._unknown = !0;
5179
6265
  }
5180
6266
  _parse(e) {
5181
- return R(e.data);
6267
+ return S(e.data);
5182
6268
  }
5183
6269
  }
5184
- V.create = (a) => new V({
6270
+ Z.create = (i) => new Z({
5185
6271
  typeName: f.ZodUnknown,
5186
- ..._(a)
6272
+ ...h(i)
5187
6273
  });
5188
6274
  class L extends v {
5189
6275
  _parse(e) {
@@ -5192,87 +6278,87 @@ class L extends v {
5192
6278
  code: c.invalid_type,
5193
6279
  expected: l.never,
5194
6280
  received: t.parsedType
5195
- }), g;
6281
+ }), _;
5196
6282
  }
5197
6283
  }
5198
- L.create = (a) => new L({
6284
+ L.create = (i) => new L({
5199
6285
  typeName: f.ZodNever,
5200
- ..._(a)
6286
+ ...h(i)
5201
6287
  });
5202
6288
  class me extends v {
5203
6289
  _parse(e) {
5204
6290
  if (this._getType(e) !== l.undefined) {
5205
- const n = this._getOrReturnCtx(e);
5206
- return u(n, {
6291
+ const a = this._getOrReturnCtx(e);
6292
+ return u(a, {
5207
6293
  code: c.invalid_type,
5208
6294
  expected: l.void,
5209
- received: n.parsedType
5210
- }), g;
6295
+ received: a.parsedType
6296
+ }), _;
5211
6297
  }
5212
- return R(e.data);
6298
+ return S(e.data);
5213
6299
  }
5214
6300
  }
5215
- me.create = (a) => new me({
6301
+ me.create = (i) => new me({
5216
6302
  typeName: f.ZodVoid,
5217
- ..._(a)
6303
+ ...h(i)
5218
6304
  });
5219
- class O extends v {
6305
+ class M extends v {
5220
6306
  _parse(e) {
5221
- const { ctx: t, status: n } = this._processInputParams(e), i = this._def;
6307
+ const { ctx: t, status: a } = this._processInputParams(e), n = this._def;
5222
6308
  if (t.parsedType !== l.array)
5223
6309
  return u(t, {
5224
6310
  code: c.invalid_type,
5225
6311
  expected: l.array,
5226
6312
  received: t.parsedType
5227
- }), g;
5228
- if (i.exactLength !== null) {
5229
- const s = t.data.length > i.exactLength.value, o = t.data.length < i.exactLength.value;
6313
+ }), _;
6314
+ if (n.exactLength !== null) {
6315
+ const s = t.data.length > n.exactLength.value, o = t.data.length < n.exactLength.value;
5230
6316
  (s || o) && (u(t, {
5231
6317
  code: s ? c.too_big : c.too_small,
5232
- minimum: o ? i.exactLength.value : void 0,
5233
- maximum: s ? i.exactLength.value : void 0,
6318
+ minimum: o ? n.exactLength.value : void 0,
6319
+ maximum: s ? n.exactLength.value : void 0,
5234
6320
  type: "array",
5235
6321
  inclusive: !0,
5236
6322
  exact: !0,
5237
- message: i.exactLength.message
5238
- }), n.dirty());
6323
+ message: n.exactLength.message
6324
+ }), a.dirty());
5239
6325
  }
5240
- if (i.minLength !== null && t.data.length < i.minLength.value && (u(t, {
6326
+ if (n.minLength !== null && t.data.length < n.minLength.value && (u(t, {
5241
6327
  code: c.too_small,
5242
- minimum: i.minLength.value,
6328
+ minimum: n.minLength.value,
5243
6329
  type: "array",
5244
6330
  inclusive: !0,
5245
6331
  exact: !1,
5246
- message: i.minLength.message
5247
- }), n.dirty()), i.maxLength !== null && t.data.length > i.maxLength.value && (u(t, {
6332
+ message: n.minLength.message
6333
+ }), a.dirty()), n.maxLength !== null && t.data.length > n.maxLength.value && (u(t, {
5248
6334
  code: c.too_big,
5249
- maximum: i.maxLength.value,
6335
+ maximum: n.maxLength.value,
5250
6336
  type: "array",
5251
6337
  inclusive: !0,
5252
6338
  exact: !1,
5253
- message: i.maxLength.message
5254
- }), n.dirty()), t.common.async)
5255
- return Promise.all([...t.data].map((s, o) => i.type._parseAsync(new I(t, s, t.path, o)))).then((s) => k.mergeArray(n, s));
5256
- const r = [...t.data].map((s, o) => i.type._parseSync(new I(t, s, t.path, o)));
5257
- return k.mergeArray(n, r);
6339
+ message: n.maxLength.message
6340
+ }), a.dirty()), t.common.async)
6341
+ return Promise.all([...t.data].map((s, o) => n.type._parseAsync(new P(t, s, t.path, o)))).then((s) => R.mergeArray(a, s));
6342
+ const r = [...t.data].map((s, o) => n.type._parseSync(new P(t, s, t.path, o)));
6343
+ return R.mergeArray(a, r);
5258
6344
  }
5259
6345
  get element() {
5260
6346
  return this._def.type;
5261
6347
  }
5262
6348
  min(e, t) {
5263
- return new O({
6349
+ return new M({
5264
6350
  ...this._def,
5265
6351
  minLength: { value: e, message: p.toString(t) }
5266
6352
  });
5267
6353
  }
5268
6354
  max(e, t) {
5269
- return new O({
6355
+ return new M({
5270
6356
  ...this._def,
5271
6357
  maxLength: { value: e, message: p.toString(t) }
5272
6358
  });
5273
6359
  }
5274
6360
  length(e, t) {
5275
- return new O({
6361
+ return new M({
5276
6362
  ...this._def,
5277
6363
  exactLength: { value: e, message: p.toString(t) }
5278
6364
  });
@@ -5281,29 +6367,29 @@ class O extends v {
5281
6367
  return this.min(1, e);
5282
6368
  }
5283
6369
  }
5284
- O.create = (a, e) => new O({
5285
- type: a,
6370
+ M.create = (i, e) => new M({
6371
+ type: i,
5286
6372
  minLength: null,
5287
6373
  maxLength: null,
5288
6374
  exactLength: null,
5289
6375
  typeName: f.ZodArray,
5290
- ..._(e)
6376
+ ...h(e)
5291
6377
  });
5292
- function G(a) {
5293
- if (a instanceof w) {
6378
+ function G(i) {
6379
+ if (i instanceof w) {
5294
6380
  const e = {};
5295
- for (const t in a.shape) {
5296
- const n = a.shape[t];
5297
- e[t] = P.create(G(n));
6381
+ for (const t in i.shape) {
6382
+ const a = i.shape[t];
6383
+ e[t] = N.create(G(a));
5298
6384
  }
5299
6385
  return new w({
5300
- ...a._def,
6386
+ ...i._def,
5301
6387
  shape: () => e
5302
6388
  });
5303
- } else return a instanceof O ? new O({
5304
- ...a._def,
5305
- type: G(a.element)
5306
- }) : a instanceof P ? P.create(G(a.unwrap())) : a instanceof q ? q.create(G(a.unwrap())) : a instanceof N ? N.create(a.items.map((e) => G(e))) : a;
6389
+ } else return i instanceof M ? new M({
6390
+ ...i._def,
6391
+ type: G(i.element)
6392
+ }) : i instanceof N ? N.create(G(i.unwrap())) : i instanceof q ? q.create(G(i.unwrap())) : i instanceof O ? O.create(i.items.map((e) => G(e))) : i;
5307
6393
  }
5308
6394
  class w extends v {
5309
6395
  constructor() {
@@ -5322,19 +6408,19 @@ class w extends v {
5322
6408
  code: c.invalid_type,
5323
6409
  expected: l.object,
5324
6410
  received: d.parsedType
5325
- }), g;
6411
+ }), _;
5326
6412
  }
5327
- const { status: n, ctx: i } = this._processInputParams(e), { shape: r, keys: s } = this._getCached(), o = [];
6413
+ const { status: a, ctx: n } = this._processInputParams(e), { shape: r, keys: s } = this._getCached(), o = [];
5328
6414
  if (!(this._def.catchall instanceof L && this._def.unknownKeys === "strip"))
5329
- for (const d in i.data)
6415
+ for (const d in n.data)
5330
6416
  s.includes(d) || o.push(d);
5331
6417
  const m = [];
5332
6418
  for (const d of s) {
5333
- const y = r[d], S = i.data[d];
6419
+ const y = r[d], A = n.data[d];
5334
6420
  m.push({
5335
6421
  key: { status: "valid", value: d },
5336
- value: y._parse(new I(i, S, i.path, d)),
5337
- alwaysSet: d in i.data
6422
+ value: y._parse(new P(n, A, n.path, d)),
6423
+ alwaysSet: d in n.data
5338
6424
  });
5339
6425
  }
5340
6426
  if (this._def.catchall instanceof L) {
@@ -5343,40 +6429,40 @@ class w extends v {
5343
6429
  for (const y of o)
5344
6430
  m.push({
5345
6431
  key: { status: "valid", value: y },
5346
- value: { status: "valid", value: i.data[y] }
6432
+ value: { status: "valid", value: n.data[y] }
5347
6433
  });
5348
6434
  else if (d === "strict")
5349
- o.length > 0 && (u(i, {
6435
+ o.length > 0 && (u(n, {
5350
6436
  code: c.unrecognized_keys,
5351
6437
  keys: o
5352
- }), n.dirty());
6438
+ }), a.dirty());
5353
6439
  else if (d !== "strip") throw new Error("Internal ZodObject error: invalid unknownKeys value.");
5354
6440
  } else {
5355
6441
  const d = this._def.catchall;
5356
6442
  for (const y of o) {
5357
- const S = i.data[y];
6443
+ const A = n.data[y];
5358
6444
  m.push({
5359
6445
  key: { status: "valid", value: y },
5360
6446
  value: d._parse(
5361
- new I(i, S, i.path, y)
6447
+ new P(n, A, n.path, y)
5362
6448
  //, ctx.child(key), value, getParsedType(value)
5363
6449
  ),
5364
- alwaysSet: y in i.data
6450
+ alwaysSet: y in n.data
5365
6451
  });
5366
6452
  }
5367
6453
  }
5368
- return i.common.async ? Promise.resolve().then(async () => {
6454
+ return n.common.async ? Promise.resolve().then(async () => {
5369
6455
  const d = [];
5370
6456
  for (const y of m) {
5371
- const S = await y.key;
6457
+ const A = await y.key;
5372
6458
  d.push({
5373
- key: S,
6459
+ key: A,
5374
6460
  value: await y.value,
5375
6461
  alwaysSet: y.alwaysSet
5376
6462
  });
5377
6463
  }
5378
6464
  return d;
5379
- }).then((d) => k.mergeObjectSync(n, d)) : k.mergeObjectSync(n, m);
6465
+ }).then((d) => R.mergeObjectSync(a, d)) : R.mergeObjectSync(a, m);
5380
6466
  }
5381
6467
  get shape() {
5382
6468
  return this._def.shape();
@@ -5386,9 +6472,9 @@ class w extends v {
5386
6472
  ...this._def,
5387
6473
  unknownKeys: "strict",
5388
6474
  ...e !== void 0 ? {
5389
- errorMap: (t, n) => {
5390
- var i, r, s, o;
5391
- const m = (s = (r = (i = this._def).errorMap) === null || r === void 0 ? void 0 : r.call(i, t, n).message) !== null && s !== void 0 ? s : n.defaultError;
6475
+ errorMap: (t, a) => {
6476
+ var n, r, s, o;
6477
+ const m = (s = (r = (n = this._def).errorMap) === null || r === void 0 ? void 0 : r.call(n, t, a).message) !== null && s !== void 0 ? s : a.defaultError;
5392
6478
  return t.code === "unrecognized_keys" ? {
5393
6479
  message: (o = p.errToObj(e).message) !== null && o !== void 0 ? o : m
5394
6480
  } : {
@@ -5519,8 +6605,8 @@ class w extends v {
5519
6605
  }
5520
6606
  pick(e) {
5521
6607
  const t = {};
5522
- return x.objectKeys(e).forEach((n) => {
5523
- e[n] && this.shape[n] && (t[n] = this.shape[n]);
6608
+ return x.objectKeys(e).forEach((a) => {
6609
+ e[a] && this.shape[a] && (t[a] = this.shape[a]);
5524
6610
  }), new w({
5525
6611
  ...this._def,
5526
6612
  shape: () => t
@@ -5528,8 +6614,8 @@ class w extends v {
5528
6614
  }
5529
6615
  omit(e) {
5530
6616
  const t = {};
5531
- return x.objectKeys(this.shape).forEach((n) => {
5532
- e[n] || (t[n] = this.shape[n]);
6617
+ return x.objectKeys(this.shape).forEach((a) => {
6618
+ e[a] || (t[a] = this.shape[a]);
5533
6619
  }), new w({
5534
6620
  ...this._def,
5535
6621
  shape: () => t
@@ -5543,9 +6629,9 @@ class w extends v {
5543
6629
  }
5544
6630
  partial(e) {
5545
6631
  const t = {};
5546
- return x.objectKeys(this.shape).forEach((n) => {
5547
- const i = this.shape[n];
5548
- e && !e[n] ? t[n] = i : t[n] = i.optional();
6632
+ return x.objectKeys(this.shape).forEach((a) => {
6633
+ const n = this.shape[a];
6634
+ e && !e[a] ? t[a] = n : t[a] = n.optional();
5549
6635
  }), new w({
5550
6636
  ...this._def,
5551
6637
  shape: () => t
@@ -5553,14 +6639,14 @@ class w extends v {
5553
6639
  }
5554
6640
  required(e) {
5555
6641
  const t = {};
5556
- return x.objectKeys(this.shape).forEach((n) => {
5557
- if (e && !e[n])
5558
- t[n] = this.shape[n];
6642
+ return x.objectKeys(this.shape).forEach((a) => {
6643
+ if (e && !e[a])
6644
+ t[a] = this.shape[a];
5559
6645
  else {
5560
- let r = this.shape[n];
5561
- for (; r instanceof P; )
6646
+ let r = this.shape[a];
6647
+ for (; r instanceof N; )
5562
6648
  r = r._def.innerType;
5563
- t[n] = r;
6649
+ t[a] = r;
5564
6650
  }
5565
6651
  }), new w({
5566
6652
  ...this._def,
@@ -5568,34 +6654,34 @@ class w extends v {
5568
6654
  });
5569
6655
  }
5570
6656
  keyof() {
5571
- return Ae(x.objectKeys(this.shape));
6657
+ return ke(x.objectKeys(this.shape));
5572
6658
  }
5573
6659
  }
5574
- w.create = (a, e) => new w({
5575
- shape: () => a,
6660
+ w.create = (i, e) => new w({
6661
+ shape: () => i,
5576
6662
  unknownKeys: "strip",
5577
6663
  catchall: L.create(),
5578
6664
  typeName: f.ZodObject,
5579
- ..._(e)
6665
+ ...h(e)
5580
6666
  });
5581
- w.strictCreate = (a, e) => new w({
5582
- shape: () => a,
6667
+ w.strictCreate = (i, e) => new w({
6668
+ shape: () => i,
5583
6669
  unknownKeys: "strict",
5584
6670
  catchall: L.create(),
5585
6671
  typeName: f.ZodObject,
5586
- ..._(e)
6672
+ ...h(e)
5587
6673
  });
5588
- w.lazycreate = (a, e) => new w({
5589
- shape: a,
6674
+ w.lazycreate = (i, e) => new w({
6675
+ shape: i,
5590
6676
  unknownKeys: "strip",
5591
6677
  catchall: L.create(),
5592
6678
  typeName: f.ZodObject,
5593
- ..._(e)
6679
+ ...h(e)
5594
6680
  });
5595
6681
  class K extends v {
5596
6682
  _parse(e) {
5597
- const { ctx: t } = this._processInputParams(e), n = this._def.options;
5598
- function i(r) {
6683
+ const { ctx: t } = this._processInputParams(e), a = this._def.options;
6684
+ function n(r) {
5599
6685
  for (const o of r)
5600
6686
  if (o.result.status === "valid")
5601
6687
  return o.result;
@@ -5606,10 +6692,10 @@ class K extends v {
5606
6692
  return u(t, {
5607
6693
  code: c.invalid_union,
5608
6694
  unionErrors: s
5609
- }), g;
6695
+ }), _;
5610
6696
  }
5611
6697
  if (t.common.async)
5612
- return Promise.all(n.map(async (r) => {
6698
+ return Promise.all(a.map(async (r) => {
5613
6699
  const s = {
5614
6700
  ...t,
5615
6701
  common: {
@@ -5626,11 +6712,11 @@ class K extends v {
5626
6712
  }),
5627
6713
  ctx: s
5628
6714
  };
5629
- })).then(i);
6715
+ })).then(n);
5630
6716
  {
5631
6717
  let r;
5632
6718
  const s = [];
5633
- for (const m of n) {
6719
+ for (const m of a) {
5634
6720
  const d = {
5635
6721
  ...t,
5636
6722
  common: {
@@ -5653,20 +6739,20 @@ class K extends v {
5653
6739
  return u(t, {
5654
6740
  code: c.invalid_union,
5655
6741
  unionErrors: o
5656
- }), g;
6742
+ }), _;
5657
6743
  }
5658
6744
  }
5659
6745
  get options() {
5660
6746
  return this._def.options;
5661
6747
  }
5662
6748
  }
5663
- K.create = (a, e) => new K({
5664
- options: a,
6749
+ K.create = (i, e) => new K({
6750
+ options: i,
5665
6751
  typeName: f.ZodUnion,
5666
- ..._(e)
6752
+ ...h(e)
5667
6753
  });
5668
- const oe = (a) => a instanceof ae ? oe(a.schema) : a instanceof M ? oe(a.innerType()) : a instanceof ne ? [a.value] : a instanceof Z ? a.options : a instanceof ie ? Object.keys(a.enum) : a instanceof re ? oe(a._def.innerType) : a instanceof J ? [void 0] : a instanceof X ? [null] : null;
5669
- class _e extends v {
6754
+ const oe = (i) => i instanceof ie ? oe(i.schema) : i instanceof I ? oe(i.innerType()) : i instanceof ae ? [i.value] : i instanceof V ? i.options : i instanceof ne ? Object.keys(i.enum) : i instanceof re ? oe(i._def.innerType) : i instanceof J ? [void 0] : i instanceof X ? [null] : null;
6755
+ class he extends v {
5670
6756
  _parse(e) {
5671
6757
  const { ctx: t } = this._processInputParams(e);
5672
6758
  if (t.parsedType !== l.object)
@@ -5674,8 +6760,8 @@ class _e extends v {
5674
6760
  code: c.invalid_type,
5675
6761
  expected: l.object,
5676
6762
  received: t.parsedType
5677
- }), g;
5678
- const n = this.discriminator, i = t.data[n], r = this.optionsMap.get(i);
6763
+ }), _;
6764
+ const a = this.discriminator, n = t.data[a], r = this.optionsMap.get(n);
5679
6765
  return r ? t.common.async ? r._parseAsync({
5680
6766
  data: t.data,
5681
6767
  path: t.path,
@@ -5687,8 +6773,8 @@ class _e extends v {
5687
6773
  }) : (u(t, {
5688
6774
  code: c.invalid_union_discriminator,
5689
6775
  options: Array.from(this.optionsMap.keys()),
5690
- path: [n]
5691
- }), g);
6776
+ path: [a]
6777
+ }), _);
5692
6778
  }
5693
6779
  get discriminator() {
5694
6780
  return this._def.discriminator;
@@ -5707,139 +6793,139 @@ class _e extends v {
5707
6793
  * @param types an array of object schemas
5708
6794
  * @param params
5709
6795
  */
5710
- static create(e, t, n) {
5711
- const i = /* @__PURE__ */ new Map();
6796
+ static create(e, t, a) {
6797
+ const n = /* @__PURE__ */ new Map();
5712
6798
  for (const r of t) {
5713
6799
  const s = oe(r.shape[e]);
5714
6800
  if (!s)
5715
6801
  throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);
5716
6802
  for (const o of s) {
5717
- if (i.has(o))
6803
+ if (n.has(o))
5718
6804
  throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);
5719
- i.set(o, r);
6805
+ n.set(o, r);
5720
6806
  }
5721
6807
  }
5722
- return new _e({
6808
+ return new he({
5723
6809
  typeName: f.ZodDiscriminatedUnion,
5724
6810
  discriminator: e,
5725
6811
  options: t,
5726
- optionsMap: i,
5727
- ..._(n)
6812
+ optionsMap: n,
6813
+ ...h(a)
5728
6814
  });
5729
6815
  }
5730
6816
  }
5731
- function Te(a, e) {
5732
- const t = j(a), n = j(e);
5733
- if (a === e)
5734
- return { valid: !0, data: a };
5735
- if (t === l.object && n === l.object) {
5736
- const i = x.objectKeys(e), r = x.objectKeys(a).filter((o) => i.indexOf(o) !== -1), s = { ...a, ...e };
6817
+ function Ce(i, e) {
6818
+ const t = D(i), a = D(e);
6819
+ if (i === e)
6820
+ return { valid: !0, data: i };
6821
+ if (t === l.object && a === l.object) {
6822
+ const n = x.objectKeys(e), r = x.objectKeys(i).filter((o) => n.indexOf(o) !== -1), s = { ...i, ...e };
5737
6823
  for (const o of r) {
5738
- const m = Te(a[o], e[o]);
6824
+ const m = Ce(i[o], e[o]);
5739
6825
  if (!m.valid)
5740
6826
  return { valid: !1 };
5741
6827
  s[o] = m.data;
5742
6828
  }
5743
6829
  return { valid: !0, data: s };
5744
- } else if (t === l.array && n === l.array) {
5745
- if (a.length !== e.length)
6830
+ } else if (t === l.array && a === l.array) {
6831
+ if (i.length !== e.length)
5746
6832
  return { valid: !1 };
5747
- const i = [];
5748
- for (let r = 0; r < a.length; r++) {
5749
- const s = a[r], o = e[r], m = Te(s, o);
6833
+ const n = [];
6834
+ for (let r = 0; r < i.length; r++) {
6835
+ const s = i[r], o = e[r], m = Ce(s, o);
5750
6836
  if (!m.valid)
5751
6837
  return { valid: !1 };
5752
- i.push(m.data);
6838
+ n.push(m.data);
5753
6839
  }
5754
- return { valid: !0, data: i };
5755
- } else return t === l.date && n === l.date && +a == +e ? { valid: !0, data: a } : { valid: !1 };
6840
+ return { valid: !0, data: n };
6841
+ } else return t === l.date && a === l.date && +i == +e ? { valid: !0, data: i } : { valid: !1 };
5756
6842
  }
5757
6843
  class ee extends v {
5758
6844
  _parse(e) {
5759
- const { status: t, ctx: n } = this._processInputParams(e), i = (r, s) => {
6845
+ const { status: t, ctx: a } = this._processInputParams(e), n = (r, s) => {
5760
6846
  if (xe(r) || xe(s))
5761
- return g;
5762
- const o = Te(r.value, s.value);
5763
- return o.valid ? ((we(r) || we(s)) && t.dirty(), { status: t.value, value: o.data }) : (u(n, {
6847
+ return _;
6848
+ const o = Ce(r.value, s.value);
6849
+ return o.valid ? ((we(r) || we(s)) && t.dirty(), { status: t.value, value: o.data }) : (u(a, {
5764
6850
  code: c.invalid_intersection_types
5765
- }), g);
6851
+ }), _);
5766
6852
  };
5767
- return n.common.async ? Promise.all([
6853
+ return a.common.async ? Promise.all([
5768
6854
  this._def.left._parseAsync({
5769
- data: n.data,
5770
- path: n.path,
5771
- parent: n
6855
+ data: a.data,
6856
+ path: a.path,
6857
+ parent: a
5772
6858
  }),
5773
6859
  this._def.right._parseAsync({
5774
- data: n.data,
5775
- path: n.path,
5776
- parent: n
6860
+ data: a.data,
6861
+ path: a.path,
6862
+ parent: a
5777
6863
  })
5778
- ]).then(([r, s]) => i(r, s)) : i(this._def.left._parseSync({
5779
- data: n.data,
5780
- path: n.path,
5781
- parent: n
6864
+ ]).then(([r, s]) => n(r, s)) : n(this._def.left._parseSync({
6865
+ data: a.data,
6866
+ path: a.path,
6867
+ parent: a
5782
6868
  }), this._def.right._parseSync({
5783
- data: n.data,
5784
- path: n.path,
5785
- parent: n
6869
+ data: a.data,
6870
+ path: a.path,
6871
+ parent: a
5786
6872
  }));
5787
6873
  }
5788
6874
  }
5789
- ee.create = (a, e, t) => new ee({
5790
- left: a,
6875
+ ee.create = (i, e, t) => new ee({
6876
+ left: i,
5791
6877
  right: e,
5792
6878
  typeName: f.ZodIntersection,
5793
- ..._(t)
6879
+ ...h(t)
5794
6880
  });
5795
- class N extends v {
6881
+ class O extends v {
5796
6882
  _parse(e) {
5797
- const { status: t, ctx: n } = this._processInputParams(e);
5798
- if (n.parsedType !== l.array)
5799
- return u(n, {
6883
+ const { status: t, ctx: a } = this._processInputParams(e);
6884
+ if (a.parsedType !== l.array)
6885
+ return u(a, {
5800
6886
  code: c.invalid_type,
5801
6887
  expected: l.array,
5802
- received: n.parsedType
5803
- }), g;
5804
- if (n.data.length < this._def.items.length)
5805
- return u(n, {
6888
+ received: a.parsedType
6889
+ }), _;
6890
+ if (a.data.length < this._def.items.length)
6891
+ return u(a, {
5806
6892
  code: c.too_small,
5807
6893
  minimum: this._def.items.length,
5808
6894
  inclusive: !0,
5809
6895
  exact: !1,
5810
6896
  type: "array"
5811
- }), g;
5812
- !this._def.rest && n.data.length > this._def.items.length && (u(n, {
6897
+ }), _;
6898
+ !this._def.rest && a.data.length > this._def.items.length && (u(a, {
5813
6899
  code: c.too_big,
5814
6900
  maximum: this._def.items.length,
5815
6901
  inclusive: !0,
5816
6902
  exact: !1,
5817
6903
  type: "array"
5818
6904
  }), t.dirty());
5819
- const r = [...n.data].map((s, o) => {
6905
+ const r = [...a.data].map((s, o) => {
5820
6906
  const m = this._def.items[o] || this._def.rest;
5821
- return m ? m._parse(new I(n, s, n.path, o)) : null;
6907
+ return m ? m._parse(new P(a, s, a.path, o)) : null;
5822
6908
  }).filter((s) => !!s);
5823
- return n.common.async ? Promise.all(r).then((s) => k.mergeArray(t, s)) : k.mergeArray(t, r);
6909
+ return a.common.async ? Promise.all(r).then((s) => R.mergeArray(t, s)) : R.mergeArray(t, r);
5824
6910
  }
5825
6911
  get items() {
5826
6912
  return this._def.items;
5827
6913
  }
5828
6914
  rest(e) {
5829
- return new N({
6915
+ return new O({
5830
6916
  ...this._def,
5831
6917
  rest: e
5832
6918
  });
5833
6919
  }
5834
6920
  }
5835
- N.create = (a, e) => {
5836
- if (!Array.isArray(a))
6921
+ O.create = (i, e) => {
6922
+ if (!Array.isArray(i))
5837
6923
  throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
5838
- return new N({
5839
- items: a,
6924
+ return new O({
6925
+ items: i,
5840
6926
  typeName: f.ZodTuple,
5841
6927
  rest: null,
5842
- ..._(e)
6928
+ ...h(e)
5843
6929
  });
5844
6930
  };
5845
6931
  class te extends v {
@@ -5850,35 +6936,35 @@ class te extends v {
5850
6936
  return this._def.valueType;
5851
6937
  }
5852
6938
  _parse(e) {
5853
- const { status: t, ctx: n } = this._processInputParams(e);
5854
- if (n.parsedType !== l.object)
5855
- return u(n, {
6939
+ const { status: t, ctx: a } = this._processInputParams(e);
6940
+ if (a.parsedType !== l.object)
6941
+ return u(a, {
5856
6942
  code: c.invalid_type,
5857
6943
  expected: l.object,
5858
- received: n.parsedType
5859
- }), g;
5860
- const i = [], r = this._def.keyType, s = this._def.valueType;
5861
- for (const o in n.data)
5862
- i.push({
5863
- key: r._parse(new I(n, o, n.path, o)),
5864
- value: s._parse(new I(n, n.data[o], n.path, o))
6944
+ received: a.parsedType
6945
+ }), _;
6946
+ const n = [], r = this._def.keyType, s = this._def.valueType;
6947
+ for (const o in a.data)
6948
+ n.push({
6949
+ key: r._parse(new P(a, o, a.path, o)),
6950
+ value: s._parse(new P(a, a.data[o], a.path, o))
5865
6951
  });
5866
- return n.common.async ? k.mergeObjectAsync(t, i) : k.mergeObjectSync(t, i);
6952
+ return a.common.async ? R.mergeObjectAsync(t, n) : R.mergeObjectSync(t, n);
5867
6953
  }
5868
6954
  get element() {
5869
6955
  return this._def.valueType;
5870
6956
  }
5871
- static create(e, t, n) {
6957
+ static create(e, t, a) {
5872
6958
  return t instanceof v ? new te({
5873
6959
  keyType: e,
5874
6960
  valueType: t,
5875
6961
  typeName: f.ZodRecord,
5876
- ..._(n)
6962
+ ...h(a)
5877
6963
  }) : new te({
5878
- keyType: A.create(),
6964
+ keyType: k.create(),
5879
6965
  valueType: e,
5880
6966
  typeName: f.ZodRecord,
5881
- ..._(t)
6967
+ ...h(t)
5882
6968
  });
5883
6969
  }
5884
6970
  }
@@ -5890,24 +6976,24 @@ class pe extends v {
5890
6976
  return this._def.valueType;
5891
6977
  }
5892
6978
  _parse(e) {
5893
- const { status: t, ctx: n } = this._processInputParams(e);
5894
- if (n.parsedType !== l.map)
5895
- return u(n, {
6979
+ const { status: t, ctx: a } = this._processInputParams(e);
6980
+ if (a.parsedType !== l.map)
6981
+ return u(a, {
5896
6982
  code: c.invalid_type,
5897
6983
  expected: l.map,
5898
- received: n.parsedType
5899
- }), g;
5900
- const i = this._def.keyType, r = this._def.valueType, s = [...n.data.entries()].map(([o, m], d) => ({
5901
- key: i._parse(new I(n, o, n.path, [d, "key"])),
5902
- value: r._parse(new I(n, m, n.path, [d, "value"]))
6984
+ received: a.parsedType
6985
+ }), _;
6986
+ const n = this._def.keyType, r = this._def.valueType, s = [...a.data.entries()].map(([o, m], d) => ({
6987
+ key: n._parse(new P(a, o, a.path, [d, "key"])),
6988
+ value: r._parse(new P(a, m, a.path, [d, "value"]))
5903
6989
  }));
5904
- if (n.common.async) {
6990
+ if (a.common.async) {
5905
6991
  const o = /* @__PURE__ */ new Map();
5906
6992
  return Promise.resolve().then(async () => {
5907
6993
  for (const m of s) {
5908
6994
  const d = await m.key, y = await m.value;
5909
6995
  if (d.status === "aborted" || y.status === "aborted")
5910
- return g;
6996
+ return _;
5911
6997
  (d.status === "dirty" || y.status === "dirty") && t.dirty(), o.set(d.value, y.value);
5912
6998
  }
5913
6999
  return { status: t.value, value: o };
@@ -5917,56 +7003,56 @@ class pe extends v {
5917
7003
  for (const m of s) {
5918
7004
  const d = m.key, y = m.value;
5919
7005
  if (d.status === "aborted" || y.status === "aborted")
5920
- return g;
7006
+ return _;
5921
7007
  (d.status === "dirty" || y.status === "dirty") && t.dirty(), o.set(d.value, y.value);
5922
7008
  }
5923
7009
  return { status: t.value, value: o };
5924
7010
  }
5925
7011
  }
5926
7012
  }
5927
- pe.create = (a, e, t) => new pe({
7013
+ pe.create = (i, e, t) => new pe({
5928
7014
  valueType: e,
5929
- keyType: a,
7015
+ keyType: i,
5930
7016
  typeName: f.ZodMap,
5931
- ..._(t)
7017
+ ...h(t)
5932
7018
  });
5933
7019
  class U extends v {
5934
7020
  _parse(e) {
5935
- const { status: t, ctx: n } = this._processInputParams(e);
5936
- if (n.parsedType !== l.set)
5937
- return u(n, {
7021
+ const { status: t, ctx: a } = this._processInputParams(e);
7022
+ if (a.parsedType !== l.set)
7023
+ return u(a, {
5938
7024
  code: c.invalid_type,
5939
7025
  expected: l.set,
5940
- received: n.parsedType
5941
- }), g;
5942
- const i = this._def;
5943
- i.minSize !== null && n.data.size < i.minSize.value && (u(n, {
7026
+ received: a.parsedType
7027
+ }), _;
7028
+ const n = this._def;
7029
+ n.minSize !== null && a.data.size < n.minSize.value && (u(a, {
5944
7030
  code: c.too_small,
5945
- minimum: i.minSize.value,
7031
+ minimum: n.minSize.value,
5946
7032
  type: "set",
5947
7033
  inclusive: !0,
5948
7034
  exact: !1,
5949
- message: i.minSize.message
5950
- }), t.dirty()), i.maxSize !== null && n.data.size > i.maxSize.value && (u(n, {
7035
+ message: n.minSize.message
7036
+ }), t.dirty()), n.maxSize !== null && a.data.size > n.maxSize.value && (u(a, {
5951
7037
  code: c.too_big,
5952
- maximum: i.maxSize.value,
7038
+ maximum: n.maxSize.value,
5953
7039
  type: "set",
5954
7040
  inclusive: !0,
5955
7041
  exact: !1,
5956
- message: i.maxSize.message
7042
+ message: n.maxSize.message
5957
7043
  }), t.dirty());
5958
7044
  const r = this._def.valueType;
5959
7045
  function s(m) {
5960
7046
  const d = /* @__PURE__ */ new Set();
5961
7047
  for (const y of m) {
5962
7048
  if (y.status === "aborted")
5963
- return g;
7049
+ return _;
5964
7050
  y.status === "dirty" && t.dirty(), d.add(y.value);
5965
7051
  }
5966
7052
  return { status: t.value, value: d };
5967
7053
  }
5968
- const o = [...n.data.values()].map((m, d) => r._parse(new I(n, m, n.path, d)));
5969
- return n.common.async ? Promise.all(o).then((m) => s(m)) : s(o);
7054
+ const o = [...a.data.values()].map((m, d) => r._parse(new P(a, m, a.path, d)));
7055
+ return a.common.async ? Promise.all(o).then((m) => s(m)) : s(o);
5970
7056
  }
5971
7057
  min(e, t) {
5972
7058
  return new U({
@@ -5987,12 +7073,12 @@ class U extends v {
5987
7073
  return this.min(1, e);
5988
7074
  }
5989
7075
  }
5990
- U.create = (a, e) => new U({
5991
- valueType: a,
7076
+ U.create = (i, e) => new U({
7077
+ valueType: i,
5992
7078
  minSize: null,
5993
7079
  maxSize: null,
5994
7080
  typeName: f.ZodSet,
5995
- ..._(e)
7081
+ ...h(e)
5996
7082
  });
5997
7083
  class z extends v {
5998
7084
  constructor() {
@@ -6005,8 +7091,8 @@ class z extends v {
6005
7091
  code: c.invalid_type,
6006
7092
  expected: l.function,
6007
7093
  received: t.parsedType
6008
- }), g;
6009
- function n(o, m) {
7094
+ }), _;
7095
+ function a(o, m) {
6010
7096
  return de({
6011
7097
  data: o,
6012
7098
  path: t.path,
@@ -6014,7 +7100,7 @@ class z extends v {
6014
7100
  t.common.contextualErrorMap,
6015
7101
  t.schemaErrorMap,
6016
7102
  ce(),
6017
- F
7103
+ Y
6018
7104
  ].filter((d) => !!d),
6019
7105
  issueData: {
6020
7106
  code: c.invalid_arguments,
@@ -6022,7 +7108,7 @@ class z extends v {
6022
7108
  }
6023
7109
  });
6024
7110
  }
6025
- function i(o, m) {
7111
+ function n(o, m) {
6026
7112
  return de({
6027
7113
  data: o,
6028
7114
  path: t.path,
@@ -6030,7 +7116,7 @@ class z extends v {
6030
7116
  t.common.contextualErrorMap,
6031
7117
  t.schemaErrorMap,
6032
7118
  ce(),
6033
- F
7119
+ Y
6034
7120
  ].filter((d) => !!d),
6035
7121
  issueData: {
6036
7122
  code: c.invalid_return_type,
@@ -6039,26 +7125,26 @@ class z extends v {
6039
7125
  });
6040
7126
  }
6041
7127
  const r = { errorMap: t.common.contextualErrorMap }, s = t.data;
6042
- if (this._def.returns instanceof Y) {
7128
+ if (this._def.returns instanceof F) {
6043
7129
  const o = this;
6044
- return R(async function(...m) {
7130
+ return S(async function(...m) {
6045
7131
  const d = new E([]), y = await o._def.args.parseAsync(m, r).catch((ve) => {
6046
- throw d.addIssue(n(m, ve)), d;
6047
- }), S = await Reflect.apply(s, this, y);
6048
- return await o._def.returns._def.type.parseAsync(S, r).catch((ve) => {
6049
- throw d.addIssue(i(S, ve)), d;
7132
+ throw d.addIssue(a(m, ve)), d;
7133
+ }), A = await Reflect.apply(s, this, y);
7134
+ return await o._def.returns._def.type.parseAsync(A, r).catch((ve) => {
7135
+ throw d.addIssue(n(A, ve)), d;
6050
7136
  });
6051
7137
  });
6052
7138
  } else {
6053
7139
  const o = this;
6054
- return R(function(...m) {
7140
+ return S(function(...m) {
6055
7141
  const d = o._def.args.safeParse(m, r);
6056
7142
  if (!d.success)
6057
- throw new E([n(m, d.error)]);
6058
- const y = Reflect.apply(s, this, d.data), S = o._def.returns.safeParse(y, r);
6059
- if (!S.success)
6060
- throw new E([i(y, S.error)]);
6061
- return S.data;
7143
+ throw new E([a(m, d.error)]);
7144
+ const y = Reflect.apply(s, this, d.data), A = o._def.returns.safeParse(y, r);
7145
+ if (!A.success)
7146
+ throw new E([n(y, A.error)]);
7147
+ return A.data;
6062
7148
  });
6063
7149
  }
6064
7150
  }
@@ -6071,7 +7157,7 @@ class z extends v {
6071
7157
  args(...e) {
6072
7158
  return new z({
6073
7159
  ...this._def,
6074
- args: N.create(e).rest(V.create())
7160
+ args: O.create(e).rest(Z.create())
6075
7161
  });
6076
7162
  }
6077
7163
  returns(e) {
@@ -6086,16 +7172,16 @@ class z extends v {
6086
7172
  strictImplement(e) {
6087
7173
  return this.parse(e);
6088
7174
  }
6089
- static create(e, t, n) {
7175
+ static create(e, t, a) {
6090
7176
  return new z({
6091
- args: e || N.create([]).rest(V.create()),
6092
- returns: t || V.create(),
7177
+ args: e || O.create([]).rest(Z.create()),
7178
+ returns: t || Z.create(),
6093
7179
  typeName: f.ZodFunction,
6094
- ..._(n)
7180
+ ...h(a)
6095
7181
  });
6096
7182
  }
6097
7183
  }
6098
- class ae extends v {
7184
+ class ie extends v {
6099
7185
  get schema() {
6100
7186
  return this._def.getter();
6101
7187
  }
@@ -6104,12 +7190,12 @@ class ae extends v {
6104
7190
  return this._def.getter()._parse({ data: t.data, path: t.path, parent: t });
6105
7191
  }
6106
7192
  }
6107
- ae.create = (a, e) => new ae({
6108
- getter: a,
7193
+ ie.create = (i, e) => new ie({
7194
+ getter: i,
6109
7195
  typeName: f.ZodLazy,
6110
- ..._(e)
7196
+ ...h(e)
6111
7197
  });
6112
- class ne extends v {
7198
+ class ae extends v {
6113
7199
  _parse(e) {
6114
7200
  if (e.data !== this._def.value) {
6115
7201
  const t = this._getOrReturnCtx(e);
@@ -6117,7 +7203,7 @@ class ne extends v {
6117
7203
  received: t.data,
6118
7204
  code: c.invalid_literal,
6119
7205
  expected: this._def.value
6120
- }), g;
7206
+ }), _;
6121
7207
  }
6122
7208
  return { status: "valid", value: e.data };
6123
7209
  }
@@ -6125,37 +7211,37 @@ class ne extends v {
6125
7211
  return this._def.value;
6126
7212
  }
6127
7213
  }
6128
- ne.create = (a, e) => new ne({
6129
- value: a,
7214
+ ae.create = (i, e) => new ae({
7215
+ value: i,
6130
7216
  typeName: f.ZodLiteral,
6131
- ..._(e)
7217
+ ...h(e)
6132
7218
  });
6133
- function Ae(a, e) {
6134
- return new Z({
6135
- values: a,
7219
+ function ke(i, e) {
7220
+ return new V({
7221
+ values: i,
6136
7222
  typeName: f.ZodEnum,
6137
- ..._(e)
7223
+ ...h(e)
6138
7224
  });
6139
7225
  }
6140
- class Z extends v {
7226
+ class V extends v {
6141
7227
  _parse(e) {
6142
7228
  if (typeof e.data != "string") {
6143
- const t = this._getOrReturnCtx(e), n = this._def.values;
7229
+ const t = this._getOrReturnCtx(e), a = this._def.values;
6144
7230
  return u(t, {
6145
- expected: x.joinValues(n),
7231
+ expected: x.joinValues(a),
6146
7232
  received: t.parsedType,
6147
7233
  code: c.invalid_type
6148
- }), g;
7234
+ }), _;
6149
7235
  }
6150
7236
  if (this._def.values.indexOf(e.data) === -1) {
6151
- const t = this._getOrReturnCtx(e), n = this._def.values;
7237
+ const t = this._getOrReturnCtx(e), a = this._def.values;
6152
7238
  return u(t, {
6153
7239
  received: t.data,
6154
7240
  code: c.invalid_enum_value,
6155
- options: n
6156
- }), g;
7241
+ options: a
7242
+ }), _;
6157
7243
  }
6158
- return R(e.data);
7244
+ return S(e.data);
6159
7245
  }
6160
7246
  get options() {
6161
7247
  return this._def.values;
@@ -6179,44 +7265,44 @@ class Z extends v {
6179
7265
  return e;
6180
7266
  }
6181
7267
  extract(e) {
6182
- return Z.create(e);
7268
+ return V.create(e);
6183
7269
  }
6184
7270
  exclude(e) {
6185
- return Z.create(this.options.filter((t) => !e.includes(t)));
7271
+ return V.create(this.options.filter((t) => !e.includes(t)));
6186
7272
  }
6187
7273
  }
6188
- Z.create = Ae;
6189
- class ie extends v {
7274
+ V.create = ke;
7275
+ class ne extends v {
6190
7276
  _parse(e) {
6191
- const t = x.getValidEnumValues(this._def.values), n = this._getOrReturnCtx(e);
6192
- if (n.parsedType !== l.string && n.parsedType !== l.number) {
6193
- const i = x.objectValues(t);
6194
- return u(n, {
6195
- expected: x.joinValues(i),
6196
- received: n.parsedType,
7277
+ const t = x.getValidEnumValues(this._def.values), a = this._getOrReturnCtx(e);
7278
+ if (a.parsedType !== l.string && a.parsedType !== l.number) {
7279
+ const n = x.objectValues(t);
7280
+ return u(a, {
7281
+ expected: x.joinValues(n),
7282
+ received: a.parsedType,
6197
7283
  code: c.invalid_type
6198
- }), g;
7284
+ }), _;
6199
7285
  }
6200
7286
  if (t.indexOf(e.data) === -1) {
6201
- const i = x.objectValues(t);
6202
- return u(n, {
6203
- received: n.data,
7287
+ const n = x.objectValues(t);
7288
+ return u(a, {
7289
+ received: a.data,
6204
7290
  code: c.invalid_enum_value,
6205
- options: i
6206
- }), g;
7291
+ options: n
7292
+ }), _;
6207
7293
  }
6208
- return R(e.data);
7294
+ return S(e.data);
6209
7295
  }
6210
7296
  get enum() {
6211
7297
  return this._def.values;
6212
7298
  }
6213
7299
  }
6214
- ie.create = (a, e) => new ie({
6215
- values: a,
7300
+ ne.create = (i, e) => new ne({
7301
+ values: i,
6216
7302
  typeName: f.ZodNativeEnum,
6217
- ..._(e)
7303
+ ...h(e)
6218
7304
  });
6219
- class Y extends v {
7305
+ class F extends v {
6220
7306
  unwrap() {
6221
7307
  return this._def.type;
6222
7308
  }
@@ -6227,20 +7313,20 @@ class Y extends v {
6227
7313
  code: c.invalid_type,
6228
7314
  expected: l.promise,
6229
7315
  received: t.parsedType
6230
- }), g;
6231
- const n = t.parsedType === l.promise ? t.data : Promise.resolve(t.data);
6232
- return R(n.then((i) => this._def.type.parseAsync(i, {
7316
+ }), _;
7317
+ const a = t.parsedType === l.promise ? t.data : Promise.resolve(t.data);
7318
+ return S(a.then((n) => this._def.type.parseAsync(n, {
6233
7319
  path: t.path,
6234
7320
  errorMap: t.common.contextualErrorMap
6235
7321
  })));
6236
7322
  }
6237
7323
  }
6238
- Y.create = (a, e) => new Y({
6239
- type: a,
7324
+ F.create = (i, e) => new F({
7325
+ type: i,
6240
7326
  typeName: f.ZodPromise,
6241
- ..._(e)
7327
+ ...h(e)
6242
7328
  });
6243
- class M extends v {
7329
+ class I extends v {
6244
7330
  innerType() {
6245
7331
  return this._def.schema;
6246
7332
  }
@@ -6248,110 +7334,110 @@ class M extends v {
6248
7334
  return this._def.schema._def.typeName === f.ZodEffects ? this._def.schema.sourceType() : this._def.schema;
6249
7335
  }
6250
7336
  _parse(e) {
6251
- const { status: t, ctx: n } = this._processInputParams(e), i = this._def.effect || null, r = {
7337
+ const { status: t, ctx: a } = this._processInputParams(e), n = this._def.effect || null, r = {
6252
7338
  addIssue: (s) => {
6253
- u(n, s), s.fatal ? t.abort() : t.dirty();
7339
+ u(a, s), s.fatal ? t.abort() : t.dirty();
6254
7340
  },
6255
7341
  get path() {
6256
- return n.path;
7342
+ return a.path;
6257
7343
  }
6258
7344
  };
6259
- if (r.addIssue = r.addIssue.bind(r), i.type === "preprocess") {
6260
- const s = i.transform(n.data, r);
6261
- return n.common.issues.length ? {
7345
+ if (r.addIssue = r.addIssue.bind(r), n.type === "preprocess") {
7346
+ const s = n.transform(a.data, r);
7347
+ return a.common.issues.length ? {
6262
7348
  status: "dirty",
6263
- value: n.data
6264
- } : n.common.async ? Promise.resolve(s).then((o) => this._def.schema._parseAsync({
7349
+ value: a.data
7350
+ } : a.common.async ? Promise.resolve(s).then((o) => this._def.schema._parseAsync({
6265
7351
  data: o,
6266
- path: n.path,
6267
- parent: n
7352
+ path: a.path,
7353
+ parent: a
6268
7354
  })) : this._def.schema._parseSync({
6269
7355
  data: s,
6270
- path: n.path,
6271
- parent: n
7356
+ path: a.path,
7357
+ parent: a
6272
7358
  });
6273
7359
  }
6274
- if (i.type === "refinement") {
7360
+ if (n.type === "refinement") {
6275
7361
  const s = (o) => {
6276
- const m = i.refinement(o, r);
6277
- if (n.common.async)
7362
+ const m = n.refinement(o, r);
7363
+ if (a.common.async)
6278
7364
  return Promise.resolve(m);
6279
7365
  if (m instanceof Promise)
6280
7366
  throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");
6281
7367
  return o;
6282
7368
  };
6283
- if (n.common.async === !1) {
7369
+ if (a.common.async === !1) {
6284
7370
  const o = this._def.schema._parseSync({
6285
- data: n.data,
6286
- path: n.path,
6287
- parent: n
7371
+ data: a.data,
7372
+ path: a.path,
7373
+ parent: a
6288
7374
  });
6289
- return o.status === "aborted" ? g : (o.status === "dirty" && t.dirty(), s(o.value), { status: t.value, value: o.value });
7375
+ return o.status === "aborted" ? _ : (o.status === "dirty" && t.dirty(), s(o.value), { status: t.value, value: o.value });
6290
7376
  } else
6291
- return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((o) => o.status === "aborted" ? g : (o.status === "dirty" && t.dirty(), s(o.value).then(() => ({ status: t.value, value: o.value }))));
7377
+ return this._def.schema._parseAsync({ data: a.data, path: a.path, parent: a }).then((o) => o.status === "aborted" ? _ : (o.status === "dirty" && t.dirty(), s(o.value).then(() => ({ status: t.value, value: o.value }))));
6292
7378
  }
6293
- if (i.type === "transform")
6294
- if (n.common.async === !1) {
7379
+ if (n.type === "transform")
7380
+ if (a.common.async === !1) {
6295
7381
  const s = this._def.schema._parseSync({
6296
- data: n.data,
6297
- path: n.path,
6298
- parent: n
7382
+ data: a.data,
7383
+ path: a.path,
7384
+ parent: a
6299
7385
  });
6300
7386
  if (!H(s))
6301
7387
  return s;
6302
- const o = i.transform(s.value, r);
7388
+ const o = n.transform(s.value, r);
6303
7389
  if (o instanceof Promise)
6304
7390
  throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");
6305
7391
  return { status: t.value, value: o };
6306
7392
  } else
6307
- return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((s) => H(s) ? Promise.resolve(i.transform(s.value, r)).then((o) => ({ status: t.value, value: o })) : s);
6308
- x.assertNever(i);
7393
+ return this._def.schema._parseAsync({ data: a.data, path: a.path, parent: a }).then((s) => H(s) ? Promise.resolve(n.transform(s.value, r)).then((o) => ({ status: t.value, value: o })) : s);
7394
+ x.assertNever(n);
6309
7395
  }
6310
7396
  }
6311
- M.create = (a, e, t) => new M({
6312
- schema: a,
7397
+ I.create = (i, e, t) => new I({
7398
+ schema: i,
6313
7399
  typeName: f.ZodEffects,
6314
7400
  effect: e,
6315
- ..._(t)
7401
+ ...h(t)
6316
7402
  });
6317
- M.createWithPreprocess = (a, e, t) => new M({
7403
+ I.createWithPreprocess = (i, e, t) => new I({
6318
7404
  schema: e,
6319
- effect: { type: "preprocess", transform: a },
7405
+ effect: { type: "preprocess", transform: i },
6320
7406
  typeName: f.ZodEffects,
6321
- ..._(t)
7407
+ ...h(t)
6322
7408
  });
6323
- class P extends v {
7409
+ class N extends v {
6324
7410
  _parse(e) {
6325
- return this._getType(e) === l.undefined ? R(void 0) : this._def.innerType._parse(e);
7411
+ return this._getType(e) === l.undefined ? S(void 0) : this._def.innerType._parse(e);
6326
7412
  }
6327
7413
  unwrap() {
6328
7414
  return this._def.innerType;
6329
7415
  }
6330
7416
  }
6331
- P.create = (a, e) => new P({
6332
- innerType: a,
7417
+ N.create = (i, e) => new N({
7418
+ innerType: i,
6333
7419
  typeName: f.ZodOptional,
6334
- ..._(e)
7420
+ ...h(e)
6335
7421
  });
6336
7422
  class q extends v {
6337
7423
  _parse(e) {
6338
- return this._getType(e) === l.null ? R(null) : this._def.innerType._parse(e);
7424
+ return this._getType(e) === l.null ? S(null) : this._def.innerType._parse(e);
6339
7425
  }
6340
7426
  unwrap() {
6341
7427
  return this._def.innerType;
6342
7428
  }
6343
7429
  }
6344
- q.create = (a, e) => new q({
6345
- innerType: a,
7430
+ q.create = (i, e) => new q({
7431
+ innerType: i,
6346
7432
  typeName: f.ZodNullable,
6347
- ..._(e)
7433
+ ...h(e)
6348
7434
  });
6349
7435
  class re extends v {
6350
7436
  _parse(e) {
6351
7437
  const { ctx: t } = this._processInputParams(e);
6352
- let n = t.data;
6353
- return t.parsedType === l.undefined && (n = this._def.defaultValue()), this._def.innerType._parse({
6354
- data: n,
7438
+ let a = t.data;
7439
+ return t.parsedType === l.undefined && (a = this._def.defaultValue()), this._def.innerType._parse({
7440
+ data: a,
6355
7441
  path: t.path,
6356
7442
  parent: t
6357
7443
  });
@@ -6360,42 +7446,42 @@ class re extends v {
6360
7446
  return this._def.innerType;
6361
7447
  }
6362
7448
  }
6363
- re.create = (a, e) => new re({
6364
- innerType: a,
7449
+ re.create = (i, e) => new re({
7450
+ innerType: i,
6365
7451
  typeName: f.ZodDefault,
6366
7452
  defaultValue: typeof e.default == "function" ? e.default : () => e.default,
6367
- ..._(e)
7453
+ ...h(e)
6368
7454
  });
6369
7455
  class fe extends v {
6370
7456
  _parse(e) {
6371
- const { ctx: t } = this._processInputParams(e), n = {
7457
+ const { ctx: t } = this._processInputParams(e), a = {
6372
7458
  ...t,
6373
7459
  common: {
6374
7460
  ...t.common,
6375
7461
  issues: []
6376
7462
  }
6377
- }, i = this._def.innerType._parse({
6378
- data: n.data,
6379
- path: n.path,
7463
+ }, n = this._def.innerType._parse({
7464
+ data: a.data,
7465
+ path: a.path,
6380
7466
  parent: {
6381
- ...n
7467
+ ...a
6382
7468
  }
6383
7469
  });
6384
- return le(i) ? i.then((r) => ({
7470
+ return le(n) ? n.then((r) => ({
6385
7471
  status: "valid",
6386
7472
  value: r.status === "valid" ? r.value : this._def.catchValue({
6387
7473
  get error() {
6388
- return new E(n.common.issues);
7474
+ return new E(a.common.issues);
6389
7475
  },
6390
- input: n.data
7476
+ input: a.data
6391
7477
  })
6392
7478
  })) : {
6393
7479
  status: "valid",
6394
- value: i.status === "valid" ? i.value : this._def.catchValue({
7480
+ value: n.status === "valid" ? n.value : this._def.catchValue({
6395
7481
  get error() {
6396
- return new E(n.common.issues);
7482
+ return new E(a.common.issues);
6397
7483
  },
6398
- input: n.data
7484
+ input: a.data
6399
7485
  })
6400
7486
  };
6401
7487
  }
@@ -6403,35 +7489,35 @@ class fe extends v {
6403
7489
  return this._def.innerType;
6404
7490
  }
6405
7491
  }
6406
- fe.create = (a, e) => new fe({
6407
- innerType: a,
7492
+ fe.create = (i, e) => new fe({
7493
+ innerType: i,
6408
7494
  typeName: f.ZodCatch,
6409
7495
  catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
6410
- ..._(e)
7496
+ ...h(e)
6411
7497
  });
6412
- class he extends v {
7498
+ class ge extends v {
6413
7499
  _parse(e) {
6414
7500
  if (this._getType(e) !== l.nan) {
6415
- const n = this._getOrReturnCtx(e);
6416
- return u(n, {
7501
+ const a = this._getOrReturnCtx(e);
7502
+ return u(a, {
6417
7503
  code: c.invalid_type,
6418
7504
  expected: l.nan,
6419
- received: n.parsedType
6420
- }), g;
7505
+ received: a.parsedType
7506
+ }), _;
6421
7507
  }
6422
7508
  return { status: "valid", value: e.data };
6423
7509
  }
6424
7510
  }
6425
- he.create = (a) => new he({
7511
+ ge.create = (i) => new ge({
6426
7512
  typeName: f.ZodNaN,
6427
- ..._(a)
7513
+ ...h(i)
6428
7514
  });
6429
- const ct = Symbol("zod_brand");
7515
+ const mt = Symbol("zod_brand");
6430
7516
  class Ee extends v {
6431
7517
  _parse(e) {
6432
- const { ctx: t } = this._processInputParams(e), n = t.data;
7518
+ const { ctx: t } = this._processInputParams(e), a = t.data;
6433
7519
  return this._def.type._parse({
6434
- data: n,
7520
+ data: a,
6435
7521
  path: t.path,
6436
7522
  parent: t
6437
7523
  });
@@ -6442,33 +7528,33 @@ class Ee extends v {
6442
7528
  }
6443
7529
  class se extends v {
6444
7530
  _parse(e) {
6445
- const { status: t, ctx: n } = this._processInputParams(e);
6446
- if (n.common.async)
7531
+ const { status: t, ctx: a } = this._processInputParams(e);
7532
+ if (a.common.async)
6447
7533
  return (async () => {
6448
7534
  const r = await this._def.in._parseAsync({
6449
- data: n.data,
6450
- path: n.path,
6451
- parent: n
7535
+ data: a.data,
7536
+ path: a.path,
7537
+ parent: a
6452
7538
  });
6453
- return r.status === "aborted" ? g : r.status === "dirty" ? (t.dirty(), Se(r.value)) : this._def.out._parseAsync({
7539
+ return r.status === "aborted" ? _ : r.status === "dirty" ? (t.dirty(), Ae(r.value)) : this._def.out._parseAsync({
6454
7540
  data: r.value,
6455
- path: n.path,
6456
- parent: n
7541
+ path: a.path,
7542
+ parent: a
6457
7543
  });
6458
7544
  })();
6459
7545
  {
6460
- const i = this._def.in._parseSync({
6461
- data: n.data,
6462
- path: n.path,
6463
- parent: n
7546
+ const n = this._def.in._parseSync({
7547
+ data: a.data,
7548
+ path: a.path,
7549
+ parent: a
6464
7550
  });
6465
- return i.status === "aborted" ? g : i.status === "dirty" ? (t.dirty(), {
7551
+ return n.status === "aborted" ? _ : n.status === "dirty" ? (t.dirty(), {
6466
7552
  status: "dirty",
6467
- value: i.value
7553
+ value: n.value
6468
7554
  }) : this._def.out._parseSync({
6469
- data: i.value,
6470
- path: n.path,
6471
- parent: n
7555
+ data: n.value,
7556
+ path: a.path,
7557
+ parent: a
6472
7558
  });
6473
7559
  }
6474
7560
  }
@@ -6480,54 +7566,54 @@ class se extends v {
6480
7566
  });
6481
7567
  }
6482
7568
  }
6483
- class ge extends v {
7569
+ class _e extends v {
6484
7570
  _parse(e) {
6485
7571
  const t = this._def.innerType._parse(e);
6486
7572
  return H(t) && (t.value = Object.freeze(t.value)), t;
6487
7573
  }
6488
7574
  }
6489
- ge.create = (a, e) => new ge({
6490
- innerType: a,
7575
+ _e.create = (i, e) => new _e({
7576
+ innerType: i,
6491
7577
  typeName: f.ZodReadonly,
6492
- ..._(e)
7578
+ ...h(e)
6493
7579
  });
6494
- const Oe = (a, e = {}, t) => a ? W.create().superRefine((n, i) => {
7580
+ const Me = (i, e = {}, t) => i ? W.create().superRefine((a, n) => {
6495
7581
  var r, s;
6496
- if (!a(n)) {
6497
- const o = typeof e == "function" ? e(n) : typeof e == "string" ? { message: e } : e, m = (s = (r = o.fatal) !== null && r !== void 0 ? r : t) !== null && s !== void 0 ? s : !0, d = typeof o == "string" ? { message: o } : o;
6498
- i.addIssue({ code: "custom", ...d, fatal: m });
7582
+ if (!i(a)) {
7583
+ const o = typeof e == "function" ? e(a) : typeof e == "string" ? { message: e } : e, m = (s = (r = o.fatal) !== null && r !== void 0 ? r : t) !== null && s !== void 0 ? s : !0, d = typeof o == "string" ? { message: o } : o;
7584
+ n.addIssue({ code: "custom", ...d, fatal: m });
6499
7585
  }
6500
- }) : W.create(), dt = {
7586
+ }) : W.create(), pt = {
6501
7587
  object: w.lazycreate
6502
7588
  };
6503
7589
  var f;
6504
- (function(a) {
6505
- a.ZodString = "ZodString", a.ZodNumber = "ZodNumber", a.ZodNaN = "ZodNaN", a.ZodBigInt = "ZodBigInt", a.ZodBoolean = "ZodBoolean", a.ZodDate = "ZodDate", a.ZodSymbol = "ZodSymbol", a.ZodUndefined = "ZodUndefined", a.ZodNull = "ZodNull", a.ZodAny = "ZodAny", a.ZodUnknown = "ZodUnknown", a.ZodNever = "ZodNever", a.ZodVoid = "ZodVoid", a.ZodArray = "ZodArray", a.ZodObject = "ZodObject", a.ZodUnion = "ZodUnion", a.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", a.ZodIntersection = "ZodIntersection", a.ZodTuple = "ZodTuple", a.ZodRecord = "ZodRecord", a.ZodMap = "ZodMap", a.ZodSet = "ZodSet", a.ZodFunction = "ZodFunction", a.ZodLazy = "ZodLazy", a.ZodLiteral = "ZodLiteral", a.ZodEnum = "ZodEnum", a.ZodEffects = "ZodEffects", a.ZodNativeEnum = "ZodNativeEnum", a.ZodOptional = "ZodOptional", a.ZodNullable = "ZodNullable", a.ZodDefault = "ZodDefault", a.ZodCatch = "ZodCatch", a.ZodPromise = "ZodPromise", a.ZodBranded = "ZodBranded", a.ZodPipeline = "ZodPipeline", a.ZodReadonly = "ZodReadonly";
7590
+ (function(i) {
7591
+ i.ZodString = "ZodString", i.ZodNumber = "ZodNumber", i.ZodNaN = "ZodNaN", i.ZodBigInt = "ZodBigInt", i.ZodBoolean = "ZodBoolean", i.ZodDate = "ZodDate", i.ZodSymbol = "ZodSymbol", i.ZodUndefined = "ZodUndefined", i.ZodNull = "ZodNull", i.ZodAny = "ZodAny", i.ZodUnknown = "ZodUnknown", i.ZodNever = "ZodNever", i.ZodVoid = "ZodVoid", i.ZodArray = "ZodArray", i.ZodObject = "ZodObject", i.ZodUnion = "ZodUnion", i.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", i.ZodIntersection = "ZodIntersection", i.ZodTuple = "ZodTuple", i.ZodRecord = "ZodRecord", i.ZodMap = "ZodMap", i.ZodSet = "ZodSet", i.ZodFunction = "ZodFunction", i.ZodLazy = "ZodLazy", i.ZodLiteral = "ZodLiteral", i.ZodEnum = "ZodEnum", i.ZodEffects = "ZodEffects", i.ZodNativeEnum = "ZodNativeEnum", i.ZodOptional = "ZodOptional", i.ZodNullable = "ZodNullable", i.ZodDefault = "ZodDefault", i.ZodCatch = "ZodCatch", i.ZodPromise = "ZodPromise", i.ZodBranded = "ZodBranded", i.ZodPipeline = "ZodPipeline", i.ZodReadonly = "ZodReadonly";
6506
7592
  })(f || (f = {}));
6507
- const lt = (a, e = {
6508
- message: `Input not instance of ${a.name}`
6509
- }) => Oe((t) => t instanceof a, e), Me = A.create, Ie = D.create, ut = he.create, mt = B.create, Ne = Q.create, pt = $.create, ft = ue.create, ht = J.create, gt = X.create, _t = W.create, vt = V.create, yt = L.create, bt = me.create, xt = O.create, wt = w.create, Tt = w.strictCreate, Ct = K.create, kt = _e.create, Rt = ee.create, St = N.create, At = te.create, Et = pe.create, Ot = U.create, Mt = z.create, It = ae.create, Nt = ne.create, Pt = Z.create, Lt = ie.create, jt = Y.create, ke = M.create, Dt = P.create, Bt = q.create, Zt = M.createWithPreprocess, Vt = se.create, $t = () => Me().optional(), Ut = () => Ie().optional(), qt = () => Ne().optional(), Gt = {
6510
- string: (a) => A.create({ ...a, coerce: !0 }),
6511
- number: (a) => D.create({ ...a, coerce: !0 }),
6512
- boolean: (a) => Q.create({
6513
- ...a,
7593
+ const ft = (i, e = {
7594
+ message: `Input not instance of ${i.name}`
7595
+ }) => Me((t) => t instanceof i, e), Ie = k.create, Pe = j.create, gt = ge.create, _t = B.create, Oe = Q.create, ht = $.create, vt = ue.create, yt = J.create, bt = X.create, xt = W.create, wt = Z.create, Ct = L.create, Tt = me.create, Rt = M.create, St = w.create, At = w.strictCreate, kt = K.create, Et = he.create, Mt = ee.create, It = O.create, Pt = te.create, Ot = pe.create, Nt = U.create, Lt = z.create, Dt = ie.create, jt = ae.create, Bt = V.create, Vt = ne.create, Zt = F.create, Re = I.create, $t = N.create, Ut = q.create, qt = I.createWithPreprocess, Gt = se.create, zt = () => Ie().optional(), Wt = () => Pe().optional(), Ft = () => Oe().optional(), Yt = {
7596
+ string: (i) => k.create({ ...i, coerce: !0 }),
7597
+ number: (i) => j.create({ ...i, coerce: !0 }),
7598
+ boolean: (i) => Q.create({
7599
+ ...i,
6514
7600
  coerce: !0
6515
7601
  }),
6516
- bigint: (a) => B.create({ ...a, coerce: !0 }),
6517
- date: (a) => $.create({ ...a, coerce: !0 })
6518
- }, zt = g;
6519
- var Wt = /* @__PURE__ */ Object.freeze({
7602
+ bigint: (i) => B.create({ ...i, coerce: !0 }),
7603
+ date: (i) => $.create({ ...i, coerce: !0 })
7604
+ }, Ht = _;
7605
+ var Qt = /* @__PURE__ */ Object.freeze({
6520
7606
  __proto__: null,
6521
- defaultErrorMap: F,
6522
- setErrorMap: He,
7607
+ defaultErrorMap: Y,
7608
+ setErrorMap: Ke,
6523
7609
  getErrorMap: ce,
6524
7610
  makeIssue: de,
6525
- EMPTY_PATH: Qe,
7611
+ EMPTY_PATH: et,
6526
7612
  addIssueToContext: u,
6527
- ParseStatus: k,
6528
- INVALID: g,
6529
- DIRTY: Se,
6530
- OK: R,
7613
+ ParseStatus: R,
7614
+ INVALID: _,
7615
+ DIRTY: Ae,
7616
+ OK: S,
6531
7617
  isAborted: xe,
6532
7618
  isDirty: we,
6533
7619
  isValid: H,
@@ -6539,10 +7625,10 @@ var Wt = /* @__PURE__ */ Object.freeze({
6539
7625
  return be;
6540
7626
  },
6541
7627
  ZodParsedType: l,
6542
- getParsedType: j,
7628
+ getParsedType: D,
6543
7629
  ZodType: v,
6544
- ZodString: A,
6545
- ZodNumber: D,
7630
+ ZodString: k,
7631
+ ZodNumber: j,
6546
7632
  ZodBigInt: B,
6547
7633
  ZodBoolean: Q,
6548
7634
  ZodDate: $,
@@ -6550,88 +7636,88 @@ var Wt = /* @__PURE__ */ Object.freeze({
6550
7636
  ZodUndefined: J,
6551
7637
  ZodNull: X,
6552
7638
  ZodAny: W,
6553
- ZodUnknown: V,
7639
+ ZodUnknown: Z,
6554
7640
  ZodNever: L,
6555
7641
  ZodVoid: me,
6556
- ZodArray: O,
7642
+ ZodArray: M,
6557
7643
  ZodObject: w,
6558
7644
  ZodUnion: K,
6559
- ZodDiscriminatedUnion: _e,
7645
+ ZodDiscriminatedUnion: he,
6560
7646
  ZodIntersection: ee,
6561
- ZodTuple: N,
7647
+ ZodTuple: O,
6562
7648
  ZodRecord: te,
6563
7649
  ZodMap: pe,
6564
7650
  ZodSet: U,
6565
7651
  ZodFunction: z,
6566
- ZodLazy: ae,
6567
- ZodLiteral: ne,
6568
- ZodEnum: Z,
6569
- ZodNativeEnum: ie,
6570
- ZodPromise: Y,
6571
- ZodEffects: M,
6572
- ZodTransformer: M,
6573
- ZodOptional: P,
7652
+ ZodLazy: ie,
7653
+ ZodLiteral: ae,
7654
+ ZodEnum: V,
7655
+ ZodNativeEnum: ne,
7656
+ ZodPromise: F,
7657
+ ZodEffects: I,
7658
+ ZodTransformer: I,
7659
+ ZodOptional: N,
6574
7660
  ZodNullable: q,
6575
7661
  ZodDefault: re,
6576
7662
  ZodCatch: fe,
6577
- ZodNaN: he,
6578
- BRAND: ct,
7663
+ ZodNaN: ge,
7664
+ BRAND: mt,
6579
7665
  ZodBranded: Ee,
6580
7666
  ZodPipeline: se,
6581
- ZodReadonly: ge,
6582
- custom: Oe,
7667
+ ZodReadonly: _e,
7668
+ custom: Me,
6583
7669
  Schema: v,
6584
7670
  ZodSchema: v,
6585
- late: dt,
7671
+ late: pt,
6586
7672
  get ZodFirstPartyTypeKind() {
6587
7673
  return f;
6588
7674
  },
6589
- coerce: Gt,
6590
- any: _t,
6591
- array: xt,
6592
- bigint: mt,
6593
- boolean: Ne,
6594
- date: pt,
6595
- discriminatedUnion: kt,
6596
- effect: ke,
6597
- enum: Pt,
6598
- function: Mt,
6599
- instanceof: lt,
6600
- intersection: Rt,
6601
- lazy: It,
6602
- literal: Nt,
6603
- map: Et,
6604
- nan: ut,
6605
- nativeEnum: Lt,
6606
- never: yt,
6607
- null: gt,
6608
- nullable: Bt,
6609
- number: Ie,
6610
- object: wt,
6611
- oboolean: qt,
6612
- onumber: Ut,
6613
- optional: Dt,
6614
- ostring: $t,
6615
- pipeline: Vt,
6616
- preprocess: Zt,
6617
- promise: jt,
6618
- record: At,
6619
- set: Ot,
6620
- strictObject: Tt,
6621
- string: Me,
6622
- symbol: ft,
6623
- transformer: ke,
6624
- tuple: St,
6625
- undefined: ht,
6626
- union: Ct,
6627
- unknown: vt,
6628
- void: bt,
6629
- NEVER: zt,
7675
+ coerce: Yt,
7676
+ any: xt,
7677
+ array: Rt,
7678
+ bigint: _t,
7679
+ boolean: Oe,
7680
+ date: ht,
7681
+ discriminatedUnion: Et,
7682
+ effect: Re,
7683
+ enum: Bt,
7684
+ function: Lt,
7685
+ instanceof: ft,
7686
+ intersection: Mt,
7687
+ lazy: Dt,
7688
+ literal: jt,
7689
+ map: Ot,
7690
+ nan: gt,
7691
+ nativeEnum: Vt,
7692
+ never: Ct,
7693
+ null: bt,
7694
+ nullable: Ut,
7695
+ number: Pe,
7696
+ object: St,
7697
+ oboolean: Ft,
7698
+ onumber: Wt,
7699
+ optional: $t,
7700
+ ostring: zt,
7701
+ pipeline: Gt,
7702
+ preprocess: qt,
7703
+ promise: Zt,
7704
+ record: Pt,
7705
+ set: Nt,
7706
+ strictObject: At,
7707
+ string: Ie,
7708
+ symbol: vt,
7709
+ transformer: Re,
7710
+ tuple: It,
7711
+ undefined: yt,
7712
+ union: kt,
7713
+ unknown: wt,
7714
+ void: Tt,
7715
+ NEVER: Ht,
6630
7716
  ZodIssueCode: c,
6631
- quotelessJson: Fe,
7717
+ quotelessJson: Xe,
6632
7718
  ZodError: E
6633
7719
  });
6634
- const Yt = [
7720
+ const Jt = [
6635
7721
  "DASHBOARD",
6636
7722
  "ANALYTIC",
6637
7723
  "CAMPAIGN",
@@ -6669,22 +7755,22 @@ const Yt = [
6669
7755
  "AUDIT_LOGS",
6670
7756
  "BIN",
6671
7757
  "QUEUE"
6672
- ].map((a) => `$connect-${a}`), Ft = Wt.enum(Yt), h = Ft.Enum, Xt = [
7758
+ ].map((i) => `$connect-${i}`), Xt = Qt.enum(Jt), g = Xt.Enum, ii = [
6673
7759
  {
6674
7760
  path: "",
6675
- name: h["$connect-DASHBOARD"],
6676
- redirect: { name: h["$connect-ANALYTIC"] }
7761
+ name: g["$connect-DASHBOARD"],
7762
+ redirect: { name: g["$connect-ANALYTIC"] }
6677
7763
  },
6678
7764
  {
6679
7765
  path: "/analytic",
6680
7766
  component: () => import("./MainLayout-B1aJoR95.js"),
6681
- redirect: { name: h["$connect-ANALYTIC"] },
7767
+ redirect: { name: g["$connect-ANALYTIC"] },
6682
7768
  children: [
6683
7769
  {
6684
7770
  path: "/analytic",
6685
- name: h["$connect-ANALYTIC"],
6686
- component: C(
6687
- T(() => import("./Analytic-B1hvdnhQ.js"))
7771
+ name: g["$connect-ANALYTIC"],
7772
+ component: T(
7773
+ C(() => import("./Analytic-DBUfOGXN.js"))
6688
7774
  ),
6689
7775
  meta: {
6690
7776
  validationManifest: {
@@ -6701,15 +7787,15 @@ const Yt = [
6701
7787
  },
6702
7788
  {
6703
7789
  path: "/campaign",
6704
- name: h["$connect-CAMPAIGN"],
6705
- redirect: h["$connect-CAMPAIGN_PROMOTION"],
7790
+ name: g["$connect-CAMPAIGN"],
7791
+ redirect: g["$connect-CAMPAIGN_PROMOTION"],
6706
7792
  component: () => import("./MainLayout-B1aJoR95.js"),
6707
7793
  children: [
6708
7794
  {
6709
7795
  path: "/campaign/promotion",
6710
- name: h["$connect-CAMPAIGN_PROMOTION"],
6711
- component: C(
6712
- T(() => import("./Promotion-D8K2pFnv.js"))
7796
+ name: g["$connect-CAMPAIGN_PROMOTION"],
7797
+ component: T(
7798
+ C(() => import("./Promotion-BvO0BUst.js"))
6713
7799
  ),
6714
7800
  meta: {
6715
7801
  validationManifest: {
@@ -6724,13 +7810,13 @@ const Yt = [
6724
7810
  },
6725
7811
  {
6726
7812
  path: "/campaign/voucher",
6727
- redirect: { name: h["$connect-CAMPAIGN_VOUCHER"] },
7813
+ redirect: { name: g["$connect-CAMPAIGN_VOUCHER"] },
6728
7814
  children: [
6729
7815
  {
6730
7816
  path: "/campaign/voucher",
6731
- name: h["$connect-CAMPAIGN_VOUCHER"],
6732
- component: C(
6733
- T(() => import("./Voucher-sko-4yOv.js"))
7817
+ name: g["$connect-CAMPAIGN_VOUCHER"],
7818
+ component: T(
7819
+ C(() => import("./Voucher-Blbht91D.js"))
6734
7820
  ),
6735
7821
  meta: {
6736
7822
  validationManifest: {
@@ -6745,10 +7831,10 @@ const Yt = [
6745
7831
  },
6746
7832
  {
6747
7833
  path: "/campaign/voucher/:id/collections",
6748
- name: h["$connect-CAMPAIGN_VOUCHER_COLLECTIONS"],
6749
- component: C(
6750
- T(
6751
- () => import("./Collections-BgnFnaWo.js")
7834
+ name: g["$connect-CAMPAIGN_VOUCHER_COLLECTIONS"],
7835
+ component: T(
7836
+ C(
7837
+ () => import("./Collections-2higR9xt.js")
6752
7838
  )
6753
7839
  ),
6754
7840
  meta: {
@@ -6766,9 +7852,9 @@ const Yt = [
6766
7852
  },
6767
7853
  {
6768
7854
  path: "/campaign/broadcast",
6769
- name: h["$connect-CAMPAIGN_BROADCAST"],
6770
- component: C(
6771
- T(() => import("./Broadcast-DqSOAE01.js"))
7855
+ name: g["$connect-CAMPAIGN_BROADCAST"],
7856
+ component: T(
7857
+ C(() => import("./Broadcast-dPQylejk.js"))
6772
7858
  ),
6773
7859
  meta: {
6774
7860
  validationManifest: {
@@ -6786,8 +7872,8 @@ const Yt = [
6786
7872
  {
6787
7873
  path: "/program",
6788
7874
  // component: () => import('@/layouts/MainLayout.vue'),
6789
- component: C(
6790
- T(() => import("./MainLayout-B1aJoR95.js"))
7875
+ component: T(
7876
+ C(() => import("./MainLayout-B1aJoR95.js"))
6791
7877
  ),
6792
7878
  meta: {
6793
7879
  validationManifest: {
@@ -6799,49 +7885,49 @@ const Yt = [
6799
7885
  ]
6800
7886
  }
6801
7887
  },
6802
- name: h["$connect-PROGRAM"],
6803
- redirect: h["$connect-PROGRAM_TIER"],
7888
+ name: g["$connect-PROGRAM"],
7889
+ redirect: g["$connect-PROGRAM_TIER"],
6804
7890
  children: [
6805
7891
  {
6806
7892
  path: "/program/tier",
6807
- name: h["$connect-PROGRAM_TIER"],
6808
- component: () => import("./Tier-BgahD6Rs.js")
7893
+ name: g["$connect-PROGRAM_TIER"],
7894
+ component: () => import("./Tier-B43j8PN_.js")
6809
7895
  },
6810
7896
  {
6811
7897
  path: "/program/title",
6812
- name: h["$connect-PROGRAM_TITLE"],
6813
- component: () => import("./Title-DKGqu5SL.js")
7898
+ name: g["$connect-PROGRAM_TITLE"],
7899
+ component: () => import("./Title-6ThYGwPj.js")
6814
7900
  },
6815
7901
  {
6816
7902
  path: "/program/experience",
6817
- name: h["$connect-PROGRAM_EXPERIENCE"],
6818
- component: () => import("./Experience-CpGj9JqO.js")
7903
+ name: g["$connect-PROGRAM_EXPERIENCE"],
7904
+ component: () => import("./Experience-B2an8JbD.js")
6819
7905
  },
6820
7906
  {
6821
7907
  path: "/program/point",
6822
- name: h["$connect-PROGRAM_POINT"],
6823
- component: () => import("./Point-DGPLd8z-.js")
7908
+ name: g["$connect-PROGRAM_POINT"],
7909
+ component: () => import("./Point-lhl01-GA.js")
6824
7910
  },
6825
7911
  {
6826
7912
  path: "/program/credit",
6827
- name: h["$connect-PROGRAM_CREDIT"],
6828
- component: () => import("./Credit-a_OpuZJM.js")
7913
+ name: g["$connect-PROGRAM_CREDIT"],
7914
+ component: () => import("./Credit-C0zUwRx_.js")
6829
7915
  },
6830
7916
  {
6831
7917
  path: "/program/game",
6832
- name: h["$connect-PROGRAM_GAME"],
6833
- component: () => import("./Game-D0e3MyPK.js")
7918
+ name: g["$connect-PROGRAM_GAME"],
7919
+ component: () => import("./Game-BO7F7MwC.js")
6834
7920
  },
6835
7921
  {
6836
7922
  path: "/program/mission",
6837
- name: h["$connect-PROGRAM_MISSION"],
6838
- component: () => import("./Mission-BTzIK2Yx.js")
7923
+ name: g["$connect-PROGRAM_MISSION"],
7924
+ component: () => import("./Mission-DSRwwQMw.js")
6839
7925
  },
6840
7926
  {
6841
7927
  path: "/campaign/grab",
6842
- name: h["$connect-CAMPAIGN_GRAB"],
6843
- component: C(
6844
- T(() => import("./Grab-Exo0vj4b.js"))
7928
+ name: g["$connect-CAMPAIGN_GRAB"],
7929
+ component: T(
7930
+ C(() => import("./Grab-DhHyUon4.js"))
6845
7931
  ),
6846
7932
  meta: {
6847
7933
  validationManifest: {
@@ -6858,8 +7944,8 @@ const Yt = [
6858
7944
  },
6859
7945
  {
6860
7946
  path: "/loyalty",
6861
- component: C(
6862
- T(() => import("./MainLayout-B1aJoR95.js"))
7947
+ component: T(
7948
+ C(() => import("./MainLayout-B1aJoR95.js"))
6863
7949
  ),
6864
7950
  meta: {
6865
7951
  validationManifest: {
@@ -6871,51 +7957,51 @@ const Yt = [
6871
7957
  ]
6872
7958
  }
6873
7959
  },
6874
- name: h["$connect-LOYALTY"],
6875
- redirect: h["$connect-LOYALTY_MEMBER"],
7960
+ name: g["$connect-LOYALTY"],
7961
+ redirect: g["$connect-LOYALTY_MEMBER"],
6876
7962
  children: [
6877
7963
  {
6878
7964
  path: "/loyalty/member",
6879
- name: h["$connect-LOYALTY_MEMBER"],
6880
- component: () => import("./Member-D8buIkBR.js"),
7965
+ name: g["$connect-LOYALTY_MEMBER"],
7966
+ component: () => import("./Member-Mcwja1E6.js"),
6881
7967
  redirect: {
6882
- name: h["$connect-LOYALTY_MEMBER_OVERVIEW"]
7968
+ name: g["$connect-LOYALTY_MEMBER_OVERVIEW"]
6883
7969
  },
6884
7970
  children: [
6885
7971
  {
6886
7972
  path: "/loyalty/member",
6887
- name: h["$connect-LOYALTY_MEMBER_OVERVIEW"],
7973
+ name: g["$connect-LOYALTY_MEMBER_OVERVIEW"],
6888
7974
  component: () => import("./MemberOverview-wL_ailso.js")
6889
7975
  },
6890
7976
  {
6891
7977
  path: "/loyalty/member/list",
6892
- name: h["$connect-LOYALTY_MEMBER_LIST"],
6893
- component: () => import("./MemberList-CDwYfTlS.js")
7978
+ name: g["$connect-LOYALTY_MEMBER_LIST"],
7979
+ component: () => import("./MemberList-BPGNOKXn.js")
6894
7980
  },
6895
7981
  {
6896
7982
  path: "/loyalty/member/transactions/:id",
6897
- name: h["$connect-LOYALTY_MEMBER_TRANSACTIONS"],
6898
- component: () => import("./MemberTransactions-DRkpizb_.js")
7983
+ name: g["$connect-LOYALTY_MEMBER_TRANSACTIONS"],
7984
+ component: () => import("./MemberTransactions-DaBU7MOW.js")
6899
7985
  }
6900
7986
  ]
6901
7987
  },
6902
7988
  {
6903
7989
  path: "/loyalty/segment",
6904
- name: h["$connect-LOYALTY_SEGMENT"],
6905
- component: () => import("./Segment-DKD6P0cE.js")
7990
+ name: g["$connect-LOYALTY_SEGMENT"],
7991
+ component: () => import("./Segment-CYk3w6PO.js")
6906
7992
  },
6907
7993
  {
6908
7994
  path: "/loyalty/card",
6909
- name: h["$connect-LOYALTY_CARD"],
6910
- component: () => import("./Card-A9CkhfVY.js")
7995
+ name: g["$connect-LOYALTY_CARD"],
7996
+ component: () => import("./Card-DqXEthXd.js")
6911
7997
  }
6912
7998
  ]
6913
7999
  },
6914
8000
  {
6915
8001
  path: "/referral",
6916
- redirect: { name: h["$connect-REFERRAL"] },
6917
- component: C(
6918
- T(() => import("./MainLayout-B1aJoR95.js"))
8002
+ redirect: { name: g["$connect-REFERRAL"] },
8003
+ component: T(
8004
+ C(() => import("./MainLayout-B1aJoR95.js"))
6919
8005
  ),
6920
8006
  meta: {
6921
8007
  validationManifest: {
@@ -6930,21 +8016,21 @@ const Yt = [
6930
8016
  children: [
6931
8017
  {
6932
8018
  path: "/referral",
6933
- name: h["$connect-REFERRAL"],
6934
- component: () => import("./Index-DU0reBq4.js"),
8019
+ name: g["$connect-REFERRAL"],
8020
+ component: () => import("./Index-uadi-EZ6.js"),
6935
8021
  redirect: {
6936
- name: h["$connect-REFERRAL_OVERVIEW"]
8022
+ name: g["$connect-REFERRAL_OVERVIEW"]
6937
8023
  },
6938
8024
  children: [
6939
8025
  {
6940
8026
  path: "/referral",
6941
- name: h["$connect-REFERRAL_OVERVIEW"],
6942
- component: () => import("./Overview-CMkljRYt.js")
8027
+ name: g["$connect-REFERRAL_OVERVIEW"],
8028
+ component: () => import("./Overview-B897q3qA.js")
6943
8029
  },
6944
8030
  {
6945
8031
  path: "/referral/record",
6946
- name: h["$connect-REFERRAL_RECORD"],
6947
- component: () => import("./Record-CxloqLoN.js")
8032
+ name: g["$connect-REFERRAL_RECORD"],
8033
+ component: () => import("./Record-BXLVpbR2.js")
6948
8034
  }
6949
8035
  ]
6950
8036
  }
@@ -6952,8 +8038,8 @@ const Yt = [
6952
8038
  },
6953
8039
  {
6954
8040
  path: "/store",
6955
- component: C(
6956
- T(() => import("./MainLayout-B1aJoR95.js"))
8041
+ component: T(
8042
+ C(() => import("./MainLayout-B1aJoR95.js"))
6957
8043
  ),
6958
8044
  meta: {
6959
8045
  validationManifest: {
@@ -6968,22 +8054,22 @@ const Yt = [
6968
8054
  children: [
6969
8055
  {
6970
8056
  path: "/store",
6971
- name: h["$connect-STORE"],
6972
- component: () => import("./Store-0cJJpCIV.js")
8057
+ name: g["$connect-STORE"],
8058
+ component: () => import("./Store-5svFOdbG.js")
6973
8059
  },
6974
8060
  {
6975
8061
  path: "/store/rewards",
6976
- redirect: { name: h["$connect-STORE_REWARDS"] },
8062
+ redirect: { name: g["$connect-STORE_REWARDS"] },
6977
8063
  children: [
6978
8064
  {
6979
8065
  path: "/store/rewards",
6980
- name: h["$connect-STORE_REWARDS"],
6981
- component: () => import("./StoreRewards-CV8XStEA.js")
8066
+ name: g["$connect-STORE_REWARDS"],
8067
+ component: () => import("./StoreRewards-DImHNqJA.js")
6982
8068
  },
6983
8069
  {
6984
8070
  path: "/store/rewards/:id/collections",
6985
- name: h["$connect-STORE_REWARD_COLLECTIONS"],
6986
- component: () => import("./Collections-BgnFnaWo.js")
8071
+ name: g["$connect-STORE_REWARD_COLLECTIONS"],
8072
+ component: () => import("./Collections-2higR9xt.js")
6987
8073
  }
6988
8074
  ]
6989
8075
  }
@@ -6991,8 +8077,8 @@ const Yt = [
6991
8077
  },
6992
8078
  {
6993
8079
  path: "/transaction",
6994
- component: C(
6995
- T(() => import("./MainLayout-B1aJoR95.js"))
8080
+ component: T(
8081
+ C(() => import("./MainLayout-B1aJoR95.js"))
6996
8082
  ),
6997
8083
  meta: {
6998
8084
  validationManifest: {
@@ -7007,15 +8093,15 @@ const Yt = [
7007
8093
  children: [
7008
8094
  {
7009
8095
  path: "/transaction",
7010
- name: h["$connect-TRANSACTION"],
7011
- component: () => import("./Transaction-Bu-Zaa-_.js")
8096
+ name: g["$connect-TRANSACTION"],
8097
+ component: () => import("./Transaction-CGkAjZ9A.js")
7012
8098
  }
7013
8099
  ]
7014
8100
  },
7015
8101
  {
7016
8102
  path: "/marketing",
7017
- component: C(
7018
- T(() => import("./MainLayout-B1aJoR95.js"))
8103
+ component: T(
8104
+ C(() => import("./MainLayout-B1aJoR95.js"))
7019
8105
  ),
7020
8106
  meta: {
7021
8107
  validationManifest: {
@@ -7030,15 +8116,15 @@ const Yt = [
7030
8116
  children: [
7031
8117
  {
7032
8118
  path: "/marketing",
7033
- name: h["$connect-MARKETING"],
7034
- component: () => import("./Marketing-BZtDNsA-.js")
8119
+ name: g["$connect-MARKETING"],
8120
+ component: () => import("./Marketing-BWpOwWf0.js")
7035
8121
  }
7036
8122
  ]
7037
8123
  },
7038
8124
  {
7039
8125
  path: "/reward",
7040
- component: C(
7041
- T(() => import("./MainLayout-B1aJoR95.js"))
8126
+ component: T(
8127
+ C(() => import("./MainLayout-B1aJoR95.js"))
7042
8128
  ),
7043
8129
  meta: {
7044
8130
  validationManifest: {
@@ -7053,15 +8139,15 @@ const Yt = [
7053
8139
  children: [
7054
8140
  {
7055
8141
  path: "/reward",
7056
- name: h["$connect-REWARD_TEMPLATE"],
7057
- component: () => import("./Reward-DxvFaqzm.js")
8142
+ name: g["$connect-REWARD_TEMPLATE"],
8143
+ component: () => import("./Reward-DCzxzMzn.js")
7058
8144
  }
7059
8145
  ]
7060
8146
  },
7061
8147
  {
7062
8148
  path: "/audit-logs",
7063
- component: C(
7064
- T(() => import("./MainLayout-B1aJoR95.js"))
8149
+ component: T(
8150
+ C(() => import("./MainLayout-B1aJoR95.js"))
7065
8151
  ),
7066
8152
  meta: {
7067
8153
  validationManifest: {
@@ -7076,15 +8162,15 @@ const Yt = [
7076
8162
  children: [
7077
8163
  {
7078
8164
  path: "/audit-logs",
7079
- name: h["$connect-AUDIT_LOGS"],
7080
- component: () => import("./AuditLogs-DwOzstOt.js")
8165
+ name: g["$connect-AUDIT_LOGS"],
8166
+ component: () => import("./AuditLogs-DfcDKAAx.js")
7081
8167
  }
7082
8168
  ]
7083
8169
  },
7084
8170
  {
7085
8171
  path: "/setting",
7086
- component: C(
7087
- T(() => import("./MainLayout-B1aJoR95.js"))
8172
+ component: T(
8173
+ C(() => import("./MainLayout-B1aJoR95.js"))
7088
8174
  ),
7089
8175
  meta: {
7090
8176
  validationManifest: {
@@ -7099,20 +8185,20 @@ const Yt = [
7099
8185
  children: [
7100
8186
  {
7101
8187
  path: "/setting",
7102
- name: h["$connect-SETTING"],
7103
- component: () => import("./Setting-khHGWePA.js")
8188
+ name: g["$connect-SETTING"],
8189
+ component: () => import("./Setting-DZtcRs0k.js")
7104
8190
  },
7105
8191
  {
7106
8192
  path: "/setting/advertisements",
7107
- name: h["$connect-SETTING_ADVERTISEMENTS"],
7108
- component: () => import("./SettingAdvertisements-DJHKjE95.js")
8193
+ name: g["$connect-SETTING_ADVERTISEMENTS"],
8194
+ component: () => import("./SettingAdvertisements-DBQEaFBm.js")
7109
8195
  }
7110
8196
  ]
7111
8197
  },
7112
8198
  {
7113
8199
  path: "/bin",
7114
- component: C(
7115
- T(() => import("./MainLayout-B1aJoR95.js"))
8200
+ component: T(
8201
+ C(() => import("./MainLayout-B1aJoR95.js"))
7116
8202
  ),
7117
8203
  meta: {
7118
8204
  validationManifest: {
@@ -7127,15 +8213,15 @@ const Yt = [
7127
8213
  children: [
7128
8214
  {
7129
8215
  path: "/bin",
7130
- name: h["$connect-BIN"],
7131
- component: () => import("./Bin-BgnnzoZS.js")
8216
+ name: g["$connect-BIN"],
8217
+ component: () => import("./Bin-K1LAZ7Il.js")
7132
8218
  }
7133
8219
  ]
7134
8220
  },
7135
8221
  {
7136
8222
  path: "/queue",
7137
- component: C(
7138
- T(() => import("./MainLayout-B1aJoR95.js"))
8223
+ component: T(
8224
+ C(() => import("./MainLayout-B1aJoR95.js"))
7139
8225
  ),
7140
8226
  meta: {
7141
8227
  validationManifest: {
@@ -7150,24 +8236,25 @@ const Yt = [
7150
8236
  children: [
7151
8237
  {
7152
8238
  path: "/queue",
7153
- name: h["$connect-QUEUE"],
7154
- component: () => import("./Queue-CySghWZm.js")
8239
+ name: g["$connect-QUEUE"],
8240
+ component: () => import("./Queue-ec2IpEuf.js")
7155
8241
  }
7156
8242
  ]
7157
8243
  }
7158
- ], Kt = {
7159
- "en-US": De,
8244
+ ], ai = {
8245
+ "en-US": je,
7160
8246
  "zh-CN": $e,
7161
8247
  "th-TH": qe,
7162
- "zh-Hant": Ye
7163
- }, ea = T(() => import("./App-BCjFwtVu.js"));
8248
+ "zh-Hant": Fe,
8249
+ "ja-JP": Je
8250
+ }, ni = C(() => import("./App-BKoC43t0.js"));
7164
8251
  export {
7165
- ea as F,
7166
- h as R,
8252
+ ni as F,
8253
+ g as R,
7167
8254
  c as Z,
7168
8255
  l as a,
7169
- F as e,
7170
- Kt as i,
7171
- Xt as r,
7172
- Wt as z
8256
+ Y as e,
8257
+ ai as i,
8258
+ ii as r,
8259
+ Qt as z
7173
8260
  };