@feedmepos/mf-connect 0.1.71-prod → 0.1.72-prod

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-DIzZEv_G.js → Analytic-CxQKbOnR.js} +163 -163
  2. package/dist/{App-DrnbBc_l.js → App-C0HCgYW2.js} +7 -7
  3. package/dist/{Bin-Bt_ru3Gd.js → Bin-BFx6j8vs.js} +8 -8
  4. package/dist/{Broadcast-Bn5ZjKqo.js → Broadcast-CUfwWq6_.js} +8 -8
  5. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BojGwK_6.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-2oosZTlv.js} +6 -6
  6. package/dist/{Card-sBhDvBXT.js → Card-DsMVa01V.js} +16 -16
  7. package/dist/{Collections-Duct2pSH.js → Collections-DSbNXU78.js} +7 -7
  8. package/dist/{Credit-D3mJTvRc.js → Credit-Dp-tSMfE.js} +8 -8
  9. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-_60iFOeG.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BW7V_Nsq.js} +817 -794
  10. package/dist/EffectSheet.vue_vue_type_style_index_0_lang-D7QHcodO.js +348 -0
  11. package/dist/{Experience-CIGwlErx.js → Experience-DkQbI88m.js} +8 -8
  12. package/dist/{Game-Canf-7L-.js → Game-BJvtVGC7.js} +9 -9
  13. package/dist/{Index-25eVdVm7.js → Index-BcHe2Qqe.js} +10 -10
  14. package/dist/{Marketing-krqaA6fv.js → Marketing-BaYjdZpb.js} +6 -6
  15. package/dist/{Member-Bt0NaXiS.js → Member-BzrcLN4X.js} +10 -10
  16. package/dist/{MemberList-CXk-T9r2.js → MemberList-_uD6WR--.js} +25 -25
  17. package/dist/{MemberTransactions-Dg-A6a0v.js → MemberTransactions-DIG5noli.js} +1 -1
  18. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DtpDrupj.js → MessageInput.vue_vue_type_script_setup_true_lang-Cm4jVJBM.js} +7 -7
  19. package/dist/{Mission-CsxpvhsB.js → Mission-B0h7ECrd.js} +9 -9
  20. package/dist/{Overview-BUlq3MuQ.js → Overview-BfjTYcaf.js} +18 -18
  21. package/dist/{Point-DvPTk5wL.js → Point-yBqZgf08.js} +8 -8
  22. package/dist/{Promotion-BWygpn4X.js → Promotion-Bh8yiwPe.js} +9 -9
  23. package/dist/{Queue-iD4D04Z-.js → Queue-CMMyxmWP.js} +10 -10
  24. package/dist/{Record-CritfdkX.js → Record-DSLpbGVk.js} +8 -8
  25. package/dist/{Reward-DuZ73-kd.js → Reward-BzAIdcgx.js} +15 -15
  26. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-B1073xkE.js → RewardGroup.vue_vue_type_script_setup_true_lang-DoGsPRbi.js} +11 -11
  27. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-1CJRrkoS.js → RuleGroup.vue_vue_type_script_setup_true_lang-B7qMLC2M.js} +595 -591
  28. package/dist/{Segment-C8rNVlEi.js → Segment-BVH3YC8I.js} +22 -22
  29. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-BmWRTRMe.js → SelectItems.vue_vue_type_script_setup_true_lang-BkHWRVba.js} +2 -2
  30. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-BaP2tykA.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-D-4QjkWh.js} +11 -11
  31. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CqICTY8X.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CzCSXHge.js} +3 -3
  32. package/dist/{Setting-BwLCOkXJ.js → Setting-CFLtqHFJ.js} +12 -12
  33. package/dist/{SettingAdvertisements-Bjw1RSKB.js → SettingAdvertisements-CvFG5Fun.js} +11 -11
  34. package/dist/{Store-DEtsM22Y.js → Store-CHcszdPx.js} +19 -19
  35. package/dist/{StoreRewards-DVzCi6nY.js → StoreRewards-BXrXO3Cg.js} +13 -13
  36. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-DKWElE0N.js → StoreTransactions.vue_vue_type_script_setup_true_lang-Clou5scZ.js} +19 -19
  37. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-CS_3d3zl.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BEpXudTV.js} +1 -1
  38. package/dist/{Tier-qUFmMLZe.js → Tier-98o6YCz1.js} +19 -19
  39. package/dist/{Title-Qk0xODw6.js → Title-BmvCMh9F.js} +18 -18
  40. package/dist/{Transaction-Be-VAdL0.js → Transaction-D07dnpCB.js} +2 -2
  41. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Lcgh9b36.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-DHvItthe.js} +6 -6
  42. package/dist/{Voucher-DjiXcyL2.js → Voucher-BX5Dy6oL.js} +12 -12
  43. package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-BlXCP_IR.js +421 -0
  44. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-B0KU6cW2.js → ZodTextField.vue_vue_type_script_setup_true_lang-TkZAyKkk.js} +1 -1
  45. package/dist/{app-BYt1acSS.js → app-7Ivt_7kS.js} +1974 -914
  46. package/dist/{app-CVDxFFOq.js → app-C98aAmiY.js} +1 -1
  47. package/dist/app.js +1 -1
  48. package/dist/{business-COPU_15m.js → business-B55rTB5S.js} +1 -1
  49. package/dist/{campaign-CANP8DZ7.js → campaign-RS-eYMBW.js} +1 -1
  50. package/dist/campaign-dSphYCws.js +226 -0
  51. package/dist/{campaign.enum-YFcT9qdL.js → campaign.enum-BZRXf9TI.js} +1 -1
  52. package/dist/{campaign.fn-CF0vxr00.js → campaign.fn-D_b763b6.js} +82 -82
  53. package/dist/{collectible.enum-CKyUdzxK.js → collectible.enum-ANnJMtnj.js} +1 -1
  54. package/dist/{collection.fn-CLGxII_6.js → collection.fn-BObHG1bS.js} +2 -2
  55. package/dist/{dto-D2FwEDQQ.js → dto-BA2PX6Mi.js} +4 -4
  56. package/dist/{effect-C_AEVoTp.js → effect-DDAGMMzr.js} +1 -1
  57. package/dist/{email-addresses-BWnpaUzY.js → email-addresses-jx17hvtN.js} +1 -1
  58. package/dist/{export-7MCVnb85.js → export-DI_2PZhY.js} +3 -3
  59. package/dist/{helper-BwCpzGpj.js → helper-ApDLcgT1.js} +1 -1
  60. package/dist/{index-doXz2Xnd.js → index-B5J1HBw3.js} +1 -1
  61. package/dist/{index-B776PH8X.js → index-BCOxYH7r.js} +1 -1
  62. package/dist/{index-CY9fLTpI.js → index-BbNMr2Lt.js} +3 -3
  63. package/dist/{index-BWctDnVc.js → index-C1tcqVNm.js} +3 -3
  64. package/dist/{index-B7v1Tn5m.js → index-CEeIezsZ.js} +1 -1
  65. package/dist/{index-D_Yyiihg.js → index-CN0ree8J.js} +1 -1
  66. package/dist/{index-DhJ4RwuN.js → index-Cl85lvDM.js} +1 -1
  67. package/dist/{index-BRPLDaar.js → index-CtpRdZKH.js} +2 -2
  68. package/dist/{index-BCcnESMx.js → index-DUfWM7U3.js} +1023 -1023
  69. package/dist/{index-CvWUVGAn.js → index-D_9bRGRa.js} +1 -1
  70. package/dist/{index-BdTNXQvR.js → index-Dg6gbVXO.js} +1 -1
  71. package/dist/{index-vEDs6OGV.js → index-Dpe36Jv6.js} +4 -4
  72. package/dist/{index-DMD1qL3R.js → index-DtB1XLw6.js} +183 -178
  73. package/dist/{index.esm2017-BwgUTaPG.js → index.esm2017-CcAT1nnu.js} +1 -1
  74. package/dist/{loading-CpAYlxoG.js → loading-Hh5FSOP9.js} +1 -1
  75. package/dist/{membership-CgJ7PFUR.js → membership-DXQf9Mj3.js} +3 -3
  76. package/dist/{money-CQGmkTRp.js → money-OBHKTSCa.js} +1 -1
  77. package/dist/{number-B_oM4a_k.js → number-DTqujv4j.js} +1 -1
  78. package/dist/{objectid-Dwu4f87A.js → objectid-BkZDKSpn.js} +1 -1
  79. package/dist/{campaign-DRXh3QJ1.js → plugins-CQqQawn6.js} +784 -776
  80. package/dist/{reward-CAhovk_1.js → reward-n9uPwsH1.js} +1 -1
  81. package/dist/{rule-b2BC4jY8.js → rule-BgsibUNE.js} +3 -3
  82. package/dist/{rule-builder-w8uO1XAF.js → rule-builder-BkzqGukH.js} +1 -1
  83. package/dist/template-gXT-yGOY.js +188 -0
  84. package/dist/{timezone-Di5x-2AC.js → timezone-X-iXAUqa.js} +1 -1
  85. package/dist/{trigger-B9EDmE6z.js → trigger-DEZuV7Fw.js} +4 -4
  86. package/dist/{user-BCB96Qct.js → user-DG_FfcGk.js} +1 -1
  87. package/dist/{vue-i18n-DddYl0c6.js → vue-i18n-BB1YkgAs.js} +317 -317
  88. package/dist/{xlsx-Dj8VVXnA.js → xlsx-CJQa9ako.js} +166 -166
  89. package/package.json +1 -1
  90. package/dist/EffectSheet.vue_vue_type_style_index_0_lang-Sk5ub0FZ.js +0 -348
  91. package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-DHySLFcf.js +0 -419
  92. package/dist/plugins-Bo72kWn7.js +0 -208
  93. package/dist/template-DDBscrPK.js +0 -190
@@ -1,17 +1,23 @@
1
1
  import { withPermission as T, Permission as x } from "@feedmepos/mf-common";
2
- import { defineAsyncComponent as R } from "vue";
3
- const Ne = {
2
+ import { defineAsyncComponent as C } from "vue";
3
+ const Me = {
4
4
  common: {
5
5
  submit: "Submit",
6
6
  confirm: "Confirm",
7
7
  cancel: "Cancel",
8
8
  save: "Save",
9
9
  delete: "Delete",
10
+ remove: "Remove",
10
11
  edit: "Edit",
11
12
  add: "Add",
12
13
  optional: "Optional",
13
14
  location: "Location",
14
- allLocations: "All locations"
15
+ allLocations: "All locations",
16
+ back: "Back",
17
+ next: "Next",
18
+ startDate: "Start date",
19
+ endDate: "End date",
20
+ to: "to"
15
21
  },
16
22
  template: {
17
23
  general: "General",
@@ -68,6 +74,11 @@ const Ne = {
68
74
  },
69
75
  enable_transfer: "Enable transfer",
70
76
  rule: {
77
+ add_condition: "Add condition",
78
+ edit_rule: "Edit rule",
79
+ when: "When",
80
+ and: "And",
81
+ or: "Or",
71
82
  time: {
72
83
  all_time: "All time",
73
84
  custom: "Custom date/time",
@@ -78,11 +89,76 @@ const Ne = {
78
89
  member_segment: "Member segment",
79
90
  custom_audience: "Custom audience",
80
91
  confirm_remove: "Are you sure you want to change the audience type? This will remove all the rules you have set."
92
+ },
93
+ schedule: {
94
+ fixed: "Fixed",
95
+ repeating: "Repeating",
96
+ notify_time: "Notify time",
97
+ time_required: "Time is required",
98
+ notify_date: "Notify date",
99
+ date_required: "Date is required",
100
+ set_repeating_date: "Set a repeating date",
101
+ next_notification: "The next notification will be sent on",
102
+ last_trigger_on: "Last trigger is on"
103
+ },
104
+ birthday: {
105
+ on_birthday: "On birthday",
106
+ days_before: "N days before birthday",
107
+ days_before_label: "Days before birthday",
108
+ in_birthday_week: "In birthday week",
109
+ in_birthday_month: "In birthday month"
110
+ }
111
+ },
112
+ mission_pool: {
113
+ add_reward: "Add Reward",
114
+ no_reward: "NO REWARD",
115
+ reward_sublabel_fixed: "Reward at {threshold} | Amount: {amount}",
116
+ reward_sublabel_per_spend: "Reward at {threshold} | Amount: {amount} for every RM{every} spent",
117
+ preview: "Mission Preview",
118
+ collect_stamps: "Collect {end} stamps to get",
119
+ earn_stamp: "Earn a stamp!"
120
+ },
121
+ promotion_game: {
122
+ enable: "Enable game",
123
+ rock_paper_scissors: {
124
+ label: "Rock paper scissor",
125
+ description: "Customers play 3 rounds of Rock Paper Scissors against the cashier. If customer won 2 rounds, they will get a discount.",
126
+ warning: "Rock paper scissors is only available for POS >= 7.7.4 with dual screen on android devices (Sunmi D3 Pro and Sunmi T3 Pro)"
81
127
  }
82
128
  },
83
129
  mission_configuration: "Mission configuration",
84
130
  reward_setup: "Reward setup"
85
131
  },
132
+ templateDialog: {
133
+ mostPopular: "Most popular",
134
+ hot: "Hot",
135
+ templateList: "Template list",
136
+ subtitle: "Get started faster with templates that flex with your business.",
137
+ customCampaign: "Custom Campaign",
138
+ cancel: "Cancel",
139
+ start: "Start",
140
+ intention: {
141
+ MEMBER_REWARD: "Member Reward",
142
+ PAID_LOYALTY: "Paid Loyalty",
143
+ COLLECT_FEEDBACK: "Collect Feedback",
144
+ REVISITING: "Revisiting",
145
+ SPEND_MORE: "Spend More",
146
+ PRODUCT_LAUNCHING: "Product Launching",
147
+ BROADCAST: "Broadcast",
148
+ BIRTHDAY: "Birthday",
149
+ GAME: "Game"
150
+ },
151
+ campaignType: {
152
+ PROMOTION: "Promotion Campaign",
153
+ VOUCHER: "Voucher Campaign",
154
+ CREDIT: "Credit Campaign",
155
+ POINT: "Experience Campaign",
156
+ COIN: "Point Campaign",
157
+ GAME: "Game Campaign",
158
+ BROADCAST: "Broadcast Campaign",
159
+ STAMP: "Stamp Campaign"
160
+ }
161
+ },
86
162
  campaign: {
87
163
  common: {
88
164
  campaign: "Campaign",
@@ -130,7 +206,24 @@ const Ne = {
130
206
  active: "Active",
131
207
  upcoming: "Upcoming",
132
208
  expired: "Expired"
133
- }
209
+ },
210
+ typeName: {
211
+ CREDIT: "Credit",
212
+ PROMOTION: "Promotion",
213
+ VOUCHER: "Voucher",
214
+ POINT: "Experience",
215
+ BROADCAST: "Broadcast",
216
+ GAME: "Token",
217
+ REWARD_POOL: "Reward Pool",
218
+ COIN: "Point",
219
+ MEMBERSHIP: "Membership",
220
+ MISSION: "Mission"
221
+ },
222
+ edit_campaign_title: "Edit {typeName} Campaign",
223
+ create_campaign_title: "Create {typeName} Campaign"
224
+ },
225
+ trigger: {
226
+ description: "Define the conditions that must be met to activate a reward."
134
227
  },
135
228
  mission: {
136
229
  title: "Mission",
@@ -147,7 +240,22 @@ const Ne = {
147
240
  description: "The mission feature adds a fun element to shopping, encouraging customers to engage more.",
148
241
  createButton: "Create Mission program",
149
242
  type: "Mission type",
150
- received: "Received"
243
+ received: "Received",
244
+ missionType: "Mission Type",
245
+ typeOption: {
246
+ STAMP: {
247
+ label: "Stamp",
248
+ description: "Award stamps for purchases, redeemable after reaching set milestones."
249
+ },
250
+ PROGRESSIVE: {
251
+ label: "Progress",
252
+ description: "Reward customers when they reach a cumulative spending goal."
253
+ }
254
+ },
255
+ collectionsRequired: "Collections required",
256
+ collectionsRequiredDescription: "Input the total number of stamps needed to complete the mission",
257
+ maximumToCollect: "Maximum to collect",
258
+ thresholdHelperText: "Set the threshold required for reward eligibility"
151
259
  },
152
260
  broadcast: {
153
261
  title: "Broadcast",
@@ -203,6 +311,48 @@ const Ne = {
203
311
  errorButton: "OK",
204
312
  success: "Voucher link copied to clipboard"
205
313
  }
314
+ },
315
+ earningOption: {
316
+ type: {
317
+ PROPORTIONAL: {
318
+ label: "Based on spending",
319
+ sublabel: "Customers earn rewards based on how much they spend."
320
+ },
321
+ FIXED: {
322
+ label: "Fixed amount",
323
+ sublabel: "Customers earn a set amount of rewards for specific actions."
324
+ }
325
+ },
326
+ spendingType: "Spending type",
327
+ amountSpent: {
328
+ label: "Amount spent",
329
+ sublabel: "Receive {configName} by amount spent"
330
+ },
331
+ receiveLabel: "Receive {configName}(s)",
332
+ forEvery: "for every",
333
+ amountSpend: "Amount spend ({currency})",
334
+ productBought: {
335
+ label: "Product bought",
336
+ sublabel: "Receive {configName} by product bought"
337
+ },
338
+ productsSelected: "{count} product(s) selected",
339
+ selectProduct: "Select product",
340
+ itemPurchased: "Item purchased"
341
+ },
342
+ gameType: {
343
+ option: {
344
+ FORTUNE_WHEEL: {
345
+ label: "Fortune Wheel",
346
+ description: "Allow customers to spin the Fortune Wheel to win various rewards."
347
+ },
348
+ ROCK_PAPER_SCISSORS: {
349
+ label: "Rock paper scissor",
350
+ description: "Customers play a game of Rock Paper Scissors against the cashier."
351
+ }
352
+ }
353
+ },
354
+ rewardPool: {
355
+ addReward: "Add Reward"
206
356
  }
207
357
  },
208
358
  promotion: {
@@ -520,6 +670,10 @@ const Ne = {
520
670
  title: "Create campaign group to track performance",
521
671
  description: "Start organizing your campaigns and promotions by creating groups. Groups allow you to aggregate performance metrics across multiple vouchers, promotions, or other rewards.",
522
672
  action: "Create group"
673
+ },
674
+ maintenance: {
675
+ title: "Analytics Dashboard Temporarily Unavailable",
676
+ description: "We apologize for the inconvenience. The analytics dashboard is currently under maintenance to improve your experience. Please check back later for updates on system availability."
523
677
  }
524
678
  },
525
679
  marketing: {
@@ -933,8 +1087,14 @@ const Ne = {
933
1087
  },
934
1088
  queue: {
935
1089
  title: "Queue"
1090
+ },
1091
+ effect: {
1092
+ title: "Apply discount",
1093
+ description: "Configure the discount you want to offer your customer.",
1094
+ with: "with",
1095
+ removeConfirm: "Are you sure you want to remove this effect?"
936
1096
  }
937
- }, Le = {
1097
+ }, De = {
938
1098
  invalid_type: "Expected {{expected}}, received {{received}}",
939
1099
  errors: {
940
1100
  invalid_type: "Expected {{expected}}, received {{received}}",
@@ -1047,7 +1207,7 @@ const Ne = {
1047
1207
  map: "map",
1048
1208
  set: "set"
1049
1209
  }
1050
- }, De = {
1210
+ }, Le = {
1051
1211
  timeframe: {
1052
1212
  end_before_start: "End date must be later or same as start date"
1053
1213
  },
@@ -1063,19 +1223,26 @@ const Ne = {
1063
1223
  reward_threshold_unique: "Reward threshold must be unique",
1064
1224
  effect_required: "Effect is required"
1065
1225
  }
1066
- }, je = {
1067
- connect: Ne,
1068
- connectZod: Le,
1069
- connectZodCustom: De
1070
1226
  }, Be = {
1227
+ connect: Me,
1228
+ connectZod: De,
1229
+ connectZodCustom: Le
1230
+ }, je = {
1071
1231
  common: {
1072
1232
  confirm: "确认",
1073
1233
  cancel: "取消",
1074
1234
  save: "保存",
1075
1235
  delete: "删除",
1236
+ remove: "移除",
1076
1237
  edit: "编辑",
1077
1238
  add: "添加",
1078
- optional: "可选"
1239
+ optional: "可选",
1240
+ back: "返回",
1241
+ next: "下一步",
1242
+ submit: "提交",
1243
+ startDate: "开始日期",
1244
+ endDate: "结束日期",
1245
+ to: "至"
1079
1246
  },
1080
1247
  template: {
1081
1248
  general: "常规",
@@ -1131,6 +1298,11 @@ const Ne = {
1131
1298
  },
1132
1299
  enable_transfer: "启用转让",
1133
1300
  rule: {
1301
+ add_condition: "添加条件",
1302
+ edit_rule: "编辑规则",
1303
+ when: "当",
1304
+ and: "且",
1305
+ or: "或",
1134
1306
  time: {
1135
1307
  all_time: "所有时间",
1136
1308
  custom: "自定义日期/时间",
@@ -1141,9 +1313,74 @@ const Ne = {
1141
1313
  member_segment: "会员分组",
1142
1314
  custom_audience: "自定义受众",
1143
1315
  confirm_remove: "您确定要更改受众类型吗?这将删除您设置的所有规则。"
1316
+ },
1317
+ schedule: {
1318
+ fixed: "固定时间",
1319
+ repeating: "重复",
1320
+ notify_time: "通知时间",
1321
+ time_required: "时间不能为空",
1322
+ notify_date: "通知日期",
1323
+ date_required: "日期不能为空",
1324
+ set_repeating_date: "设置重复日期",
1325
+ next_notification: "下次通知将于以下日期发送",
1326
+ last_trigger_on: "上次触发时间为"
1327
+ },
1328
+ birthday: {
1329
+ on_birthday: "生日当天",
1330
+ days_before: "生日前N天",
1331
+ days_before_label: "生日前天数",
1332
+ in_birthday_week: "生日所在周",
1333
+ in_birthday_month: "生日所在月"
1334
+ }
1335
+ },
1336
+ mission_pool: {
1337
+ add_reward: "添加奖励",
1338
+ no_reward: "无奖励",
1339
+ reward_sublabel_fixed: "达到 {threshold} 时的奖励 | 数量: {amount}",
1340
+ reward_sublabel_per_spend: "达到 {threshold} 时的奖励 | 数量: 每消费RM{every}得{amount}",
1341
+ preview: "任务预览",
1342
+ collect_stamps: "集齐 {end} 个印章即可获得",
1343
+ earn_stamp: "获得一个印章!"
1344
+ },
1345
+ promotion_game: {
1346
+ enable: "启用游戏",
1347
+ rock_paper_scissors: {
1348
+ label: "猜拳",
1349
+ description: "顾客与收银员进行3轮猜拳。若顾客赢得2轮,即可获得折扣。",
1350
+ warning: "猜拳功能仅适用于POS >= 7.7.4且配备双屏的安卓设备(Sunmi D3 Pro 和 Sunmi T3 Pro)"
1144
1351
  }
1145
1352
  }
1146
1353
  },
1354
+ templateDialog: {
1355
+ mostPopular: "最受欢迎",
1356
+ hot: "热门",
1357
+ templateList: "模板列表",
1358
+ subtitle: "通过灵活适应您业务的模板,更快速地开始。",
1359
+ customCampaign: "自定义活动",
1360
+ cancel: "取消",
1361
+ start: "开始",
1362
+ intention: {
1363
+ MEMBER_REWARD: "会员奖励",
1364
+ PAID_LOYALTY: "付费忠诚度",
1365
+ COLLECT_FEEDBACK: "收集反馈",
1366
+ REVISITING: "回访",
1367
+ SPEND_MORE: "增加消费",
1368
+ PRODUCT_LAUNCHING: "产品发布",
1369
+ BROADCAST: "广播",
1370
+ BIRTHDAY: "生日",
1371
+ GAME: "游戏"
1372
+ },
1373
+ campaignType: {
1374
+ PROMOTION: "促销活动",
1375
+ VOUCHER: "代金券活动",
1376
+ CREDIT: "积分活动",
1377
+ POINT: "经验活动",
1378
+ COIN: "点数活动",
1379
+ GAME: "游戏活动",
1380
+ BROADCAST: "广播活动",
1381
+ STAMP: "印章活动"
1382
+ }
1383
+ },
1147
1384
  campaign: {
1148
1385
  common: {
1149
1386
  createCampaign: "创建活动",
@@ -1181,7 +1418,24 @@ const Ne = {
1181
1418
  active: "进行中",
1182
1419
  upcoming: "即将推出",
1183
1420
  expired: "已结束"
1184
- }
1421
+ },
1422
+ typeName: {
1423
+ CREDIT: "积分",
1424
+ PROMOTION: "促销",
1425
+ VOUCHER: "代金券",
1426
+ POINT: "经验",
1427
+ BROADCAST: "广播",
1428
+ GAME: "代币",
1429
+ REWARD_POOL: "奖池",
1430
+ COIN: "点数",
1431
+ MEMBERSHIP: "会员资格",
1432
+ MISSION: "任务"
1433
+ },
1434
+ edit_campaign_title: "编辑{typeName}活动",
1435
+ create_campaign_title: "创建{typeName}活动"
1436
+ },
1437
+ trigger: {
1438
+ description: "设定激活奖励所需满足的条件。"
1185
1439
  },
1186
1440
  mission: {
1187
1441
  title: "任务",
@@ -1198,7 +1452,22 @@ const Ne = {
1198
1452
  description: "任务功能为购物增添了趣味元素,鼓励客户更多地参与。",
1199
1453
  createButton: "创建任务",
1200
1454
  type: "任务类型",
1201
- received: "已领取"
1455
+ received: "已领取",
1456
+ missionType: "任务类型",
1457
+ typeOption: {
1458
+ STAMP: {
1459
+ label: "印章",
1460
+ description: "为购买行为颁发印章,达到设定里程碑后可兑换"
1461
+ },
1462
+ PROGRESSIVE: {
1463
+ label: "进度",
1464
+ description: "当客户达到累计消费目标时给予奖励"
1465
+ }
1466
+ },
1467
+ collectionsRequired: "所需收集数量",
1468
+ collectionsRequiredDescription: "输入完成任务所需的印章总数",
1469
+ maximumToCollect: "最大收集数量",
1470
+ thresholdHelperText: "设置奖励资格所需的门槛"
1202
1471
  },
1203
1472
  broadcast: {
1204
1473
  title: "广播",
@@ -1254,6 +1523,48 @@ const Ne = {
1254
1523
  errorButton: "确定",
1255
1524
  success: "代金券链接已复制到剪贴板"
1256
1525
  }
1526
+ },
1527
+ earningOption: {
1528
+ type: {
1529
+ PROPORTIONAL: {
1530
+ label: "按消费金额",
1531
+ sublabel: "客户根据消费金额赚取奖励"
1532
+ },
1533
+ FIXED: {
1534
+ label: "固定金额",
1535
+ sublabel: "客户为特定行为赚取固定奖励"
1536
+ }
1537
+ },
1538
+ spendingType: "消费类型",
1539
+ amountSpent: {
1540
+ label: "消费金额",
1541
+ sublabel: "按消费金额获得 {configName}"
1542
+ },
1543
+ receiveLabel: "获得 {configName}",
1544
+ forEvery: "每",
1545
+ amountSpend: "消费金额 ({currency})",
1546
+ productBought: {
1547
+ label: "购买商品",
1548
+ sublabel: "按购买商品获得 {configName}"
1549
+ },
1550
+ productsSelected: "已选择 {count} 件商品",
1551
+ selectProduct: "选择商品",
1552
+ itemPurchased: "购买商品"
1553
+ },
1554
+ gameType: {
1555
+ option: {
1556
+ FORTUNE_WHEEL: {
1557
+ label: "幸运转盘",
1558
+ description: "允许客户旋转幸运转盘赚取各种奖励"
1559
+ },
1560
+ ROCK_PAPER_SCISSORS: {
1561
+ label: "猜拳游戏",
1562
+ description: "客户与收银员进行剪刀石头布游戏"
1563
+ }
1564
+ }
1565
+ },
1566
+ rewardPool: {
1567
+ addReward: "添加奖励"
1257
1568
  }
1258
1569
  },
1259
1570
  promotion: {
@@ -1564,6 +1875,10 @@ const Ne = {
1564
1875
  title: "创建活动组以跟踪绩效",
1565
1876
  description: "通过创建组开始组织您的活动和促销。组允许您汇总多个代金券、促销或其他奖励的绩效指标。",
1566
1877
  action: "创建组"
1878
+ },
1879
+ maintenance: {
1880
+ title: "分析仪表板暂时不可用",
1881
+ description: "对于不便之处,我们深表歉意。分析仪表板目前正在维护中,以改善您的体验。请稍后再回来查看系统可用性的更新。"
1567
1882
  }
1568
1883
  },
1569
1884
  marketing: {
@@ -1960,6 +2275,12 @@ const Ne = {
1960
2275
  type: "奖励类型",
1961
2276
  description: "描述"
1962
2277
  }
2278
+ },
2279
+ effect: {
2280
+ title: "应用折扣",
2281
+ description: "配置您希望为客户提供的折扣。",
2282
+ with: "且",
2283
+ removeConfirm: "您确定要删除此折扣吗?"
1963
2284
  }
1964
2285
  }, Ve = {
1965
2286
  errors: {
@@ -2073,7 +2394,7 @@ const Ne = {
2073
2394
  map: "字典",
2074
2395
  set: "集合"
2075
2396
  }
2076
- }, Ze = {
2397
+ }, Ue = {
2077
2398
  timeframe: {
2078
2399
  end_before_start: "结束日期必须晚于或等于开始日期"
2079
2400
  },
@@ -2089,11 +2410,11 @@ const Ne = {
2089
2410
  reward_threshold_unique: "奖励阈值必须是唯一的",
2090
2411
  effect_required: "效果是必需的"
2091
2412
  }
2092
- }, $e = {
2093
- connect: Be,
2413
+ }, Ze = {
2414
+ connect: je,
2094
2415
  connectZod: Ve,
2095
- connectZodCustom: Ze
2096
- }, Ue = {
2416
+ connectZodCustom: Ue
2417
+ }, qe = {
2097
2418
  campaign: {
2098
2419
  common: {
2099
2420
  createCampaign: "สร้างแคมเปญ",
@@ -2108,7 +2429,8 @@ const Ne = {
2108
2429
  actions: {
2109
2430
  remove: "ลบ",
2110
2431
  send: "ส่ง",
2111
- share: "แชร์"
2432
+ share: "แชร์",
2433
+ restore: "กู้คืน"
2112
2434
  },
2113
2435
  effect_required: "จำเป็นต้องกรอก",
2114
2436
  unsaved_changes: "คุณแน่ใจหรือไม่ว่าต้องการยกเลิกการแก้ไข",
@@ -2126,7 +2448,35 @@ const Ne = {
2126
2448
  all_locations: "ทุกสาขา",
2127
2449
  available_at: "สาขาที่ใช้งาน",
2128
2450
  always: "เสมอ",
2129
- no_location: "ไม่พบสาขา"
2451
+ no_location: "ไม่พบสาขา",
2452
+ campaign: "แคมเปญ",
2453
+ title: "ชื่อ",
2454
+ deletedAt: "ลบเมื่อ",
2455
+ campaignType: "ประเภทแคมเปญ",
2456
+ restore: {
2457
+ confirm: "คุณแน่ใจหรือไม่ว่าต้องการกู้คืน {name}?",
2458
+ restoring: "กำลังกู้คืน {name}",
2459
+ restored: "กู้คืน {name} สำเร็จแล้ว"
2460
+ },
2461
+ status: {
2462
+ active: "ใช้งานอยู่",
2463
+ upcoming: "กำลังจะมา",
2464
+ expired: "หมดอายุ"
2465
+ },
2466
+ typeName: {
2467
+ CREDIT: "เครดิต",
2468
+ PROMOTION: "โปรโมชัน",
2469
+ VOUCHER: "บัตรกำนัล",
2470
+ POINT: "ค่าประสบการณ์",
2471
+ BROADCAST: "บรอดแคสต์",
2472
+ GAME: "โทเคน",
2473
+ REWARD_POOL: "กลุ่มรางวัล",
2474
+ COIN: "คะแนน",
2475
+ MEMBERSHIP: "สมาชิกภาพ",
2476
+ MISSION: "Mission"
2477
+ },
2478
+ edit_campaign_title: "แก้ไขแคมเปญ {typeName}",
2479
+ create_campaign_title: "สร้างแคมเปญ {typeName}"
2130
2480
  },
2131
2481
  mission: {
2132
2482
  title: "Mission",
@@ -2143,7 +2493,22 @@ const Ne = {
2143
2493
  description: "Mission สำหรับช่วยกระตุ้นให้ลูกค้าช้อปปิ้งและเพิ่มโอกาสในการใช้งานมากขึ้น",
2144
2494
  createButton: "สร้าง Mission ",
2145
2495
  type: "ประเภท Mission",
2146
- received: "ได้รับ"
2496
+ received: "ได้รับ",
2497
+ missionType: "ประเภท Mission",
2498
+ typeOption: {
2499
+ STAMP: {
2500
+ label: "สแตมป์",
2501
+ description: "ให้สแตมป์สำหรับการซื้อ สามารถแลกได้เมื่อถึงเป้าหมายที่กำหนด"
2502
+ },
2503
+ PROGRESSIVE: {
2504
+ label: "ความก้าวหน้า",
2505
+ description: "มอบรางวัลแก่ลูกค้าเมื่อพวกเขาถึงเป้าหมายการใช้จ่ายสะสม"
2506
+ }
2507
+ },
2508
+ collectionsRequired: "จำนวนที่ต้องสะสม",
2509
+ collectionsRequiredDescription: "ป้อนจำนวนสแตมป์ทั้งหมดที่ต้องการเพื่อทำ Mission ให้สำเร็จ",
2510
+ maximumToCollect: "จำนวนสูงสุดที่สะสมได้",
2511
+ thresholdHelperText: "กำหนดเกณฑ์ที่จำเป็นสำหรับการรับรางวัล"
2147
2512
  },
2148
2513
  broadcast: {
2149
2514
  title: "บรอดแคสต์",
@@ -2199,6 +2564,51 @@ const Ne = {
2199
2564
  errorButton: "ตกลง",
2200
2565
  success: "คัดลอกลิงก์บัตรกำนัลไปยังคลิปบอร์ดแล้ว"
2201
2566
  }
2567
+ },
2568
+ trigger: {
2569
+ description: "กำหนดเงื่อนไขที่ต้องปฏิบัติตามเพื่อเปิดใช้รางวัล"
2570
+ },
2571
+ earningOption: {
2572
+ type: {
2573
+ PROPORTIONAL: {
2574
+ label: "ตามยอดใช้จ่าย",
2575
+ sublabel: "ลูกค้าได้รับรางวัลตามยอดที่ใช้จ่าย"
2576
+ },
2577
+ FIXED: {
2578
+ label: "จำนวนเงินคงที่",
2579
+ sublabel: "ลูกค้าได้รับรางวัลในจำนวนที่กำหนดสำหรับการกระทำที่ระบุ"
2580
+ }
2581
+ },
2582
+ spendingType: "ประเภทการใช้จ่าย",
2583
+ amountSpent: {
2584
+ label: "ยอดใช้จ่าย",
2585
+ sublabel: "รับ {configName} ตามยอดใช้จ่าย"
2586
+ },
2587
+ receiveLabel: "รับ {configName}",
2588
+ forEvery: "สำหรับทุก",
2589
+ amountSpend: "ยอดใช้จ่าย ({currency})",
2590
+ productBought: {
2591
+ label: "สินค้าที่ซื้อ",
2592
+ sublabel: "รับ {configName} ตามสินค้าที่ซื้อ"
2593
+ },
2594
+ productsSelected: "เลือก {count} สินค้า",
2595
+ selectProduct: "เลือกสินค้า",
2596
+ itemPurchased: "สินค้าที่ซื้อ"
2597
+ },
2598
+ gameType: {
2599
+ option: {
2600
+ FORTUNE_WHEEL: {
2601
+ label: "วงล้อโชคดี",
2602
+ description: "ให้ลูกค้าหมุนวงล้อโชคดีเพื่อลุ้นรับรางวัลต่างๆ"
2603
+ },
2604
+ ROCK_PAPER_SCISSORS: {
2605
+ label: "เป่ายิ้งฉุบ",
2606
+ description: "ลูกค้าเล่นเกมเป่ายิ้งฉุบกับแคชเชียร์"
2607
+ }
2608
+ }
2609
+ },
2610
+ rewardPool: {
2611
+ addReward: "เพิ่มรางวัล"
2202
2612
  }
2203
2613
  },
2204
2614
  promotion: {
@@ -2265,7 +2675,10 @@ const Ne = {
2265
2675
  store: "ร้านค้า",
2266
2676
  transaction: "ธุรกรรม",
2267
2677
  setting: "การตั้งค่า",
2268
- mission: "Mission"
2678
+ mission: "Mission",
2679
+ referral: "การแนะนำ",
2680
+ bin: "ถังขยะ",
2681
+ queue: "คิว"
2269
2682
  },
2270
2683
  loyalty: {
2271
2684
  card: {
@@ -2295,7 +2708,8 @@ const Ne = {
2295
2708
  title: "ธุรกรรมของสมาชิก",
2296
2709
  tabs: {
2297
2710
  member_list: "รายชื่อสมาชิก"
2298
- }
2711
+ },
2712
+ import: "นำเข้า"
2299
2713
  },
2300
2714
  segment: {
2301
2715
  title: "กลุ่มสมาชิก",
@@ -2414,12 +2828,27 @@ const Ne = {
2414
2828
  title: "กำลังอัปเดตสิทธิประโยชน์",
2415
2829
  success: "สร้างสิทธิประโยชน์สำเร็จแล้ว"
2416
2830
  }
2831
+ },
2832
+ expression: {
2833
+ title: "กฎการหมดอายุของระดับสมาชิก",
2834
+ description: "ตั้งค่ากฎประสบการณ์ระดับสมาชิกเมื่อหมดอายุ",
2835
+ change_to: "เปลี่ยนเป็น",
2836
+ deduct_by: "หักโดย",
2837
+ deduct_percentage: "หักเปอร์เซ็นต์",
2838
+ value: "ค่า",
2839
+ value_greater_than_or_equal: "ค่าต้องมากกว่าหรือเท่ากับ {value}",
2840
+ value_less_than_or_equal: "ค่าต้องน้อยกว่าหรือเท่ากับ {value}",
2841
+ value_between: "ค่าต้องอยู่ระหว่าง {from} ถึง {to}",
2842
+ value_less_than: "ค่าต้องน้อยกว่า {value}"
2843
+ },
2844
+ card: {
2845
+ count: "{count} สมาชิก"
2417
2846
  }
2418
2847
  },
2419
2848
  title: {
2420
2849
  title: "ป้ายชื่อ",
2421
2850
  empty_state: {
2422
- title: "สร้างโปรแกรมป้ายชื่ื่อ",
2851
+ title: "สร้างโปรแกรมป้ายชื่อ",
2423
2852
  description: "สร้างโปรแกรมป้ายชื่อ สร้างชื่อสมาชิกที่ไม่ซ้ำกันเพื่อปรับแต่งประสบการณ์ของสมาชิก ดึงดูดลูกค้าด้วยชื่อที่สนุกสนานเพื่อปรับปรุงการเล่นเกมโปรแกรมสะสมคะแนน"
2424
2853
  },
2425
2854
  actions: {
@@ -2493,6 +2922,10 @@ const Ne = {
2493
2922
  title: "สร้างกลุ่มแคมเปญเพื่อติดตามประสิทธิภาพ",
2494
2923
  description: "เริ่มจัดระเบียบแคมเปญและโปรโมชั่นของคุณโดยการสร้างกลุ่ม กลุ่มช่วยให้คุณสามารถรวมตัวชี้วัดประสิทธิภาพจากบัตรกำนัล โปรโมชั่น หรือรางวัลอื่น ๆ ได้หลายรายการ",
2495
2924
  action: "สร้างกลุ่ม"
2925
+ },
2926
+ maintenance: {
2927
+ title: "แดชบอร์ดการวิเคราะห์ไม่พร้อมใช้งานชั่วคราว",
2928
+ description: "ขออภัยในความไม่สะดวก ขณะนี้แดชบอร์ดการวิเคราะห์อยู่ระหว่างการปรับปรุง กรุณาตรวจสอบอีกครั้งในภายหลัง"
2496
2929
  }
2497
2930
  },
2498
2931
  marketing: {
@@ -2534,7 +2967,23 @@ const Ne = {
2534
2967
  },
2535
2968
  advertisement: {
2536
2969
  title: "โฆษณา",
2537
- subtitle: "ข้อมูลนี้จะแสดงบนแอปสั่งซื้อ FeedMe"
2970
+ subtitle: "ข้อมูลนี้จะแสดงบนแอปสั่งซื้อ FeedMe",
2971
+ saveChanges: "บันทึกการเปลี่ยนแปลง",
2972
+ activeAds: "โฆษณาที่ใช้งานอยู่:",
2973
+ premiumFeatureTitle: "ฟีเจอร์พรีเมียม",
2974
+ premiumFeatureDescription: "อัปเกรดเป็นพรีเมียมเพื่อจัดการโฆษณา",
2975
+ manageAd: "จัดการโฆษณา",
2976
+ addAdvertisement: "เพิ่มโฆษณา",
2977
+ advertisementImage: "รูปภาพโฆษณา",
2978
+ targetLocations: "สาขาเป้าหมาย",
2979
+ targetLocationsHelper: "ปล่อยว่างเพื่อแสดงในทุกสาขา",
2980
+ save: "บันทึก",
2981
+ deleteConfirm: "ลบโฆษณานี้?",
2982
+ delete: "ลบ",
2983
+ addAd: "เพิ่มโฆษณา",
2984
+ left: "เหลือ",
2985
+ saving: "กำลังบันทึกโฆษณา",
2986
+ savedSuccessfully: "บันทึกโฆษณาสำเร็จ"
2538
2987
  },
2539
2988
  sms: {
2540
2989
  title: "ข้อความ SMS",
@@ -2575,7 +3024,9 @@ const Ne = {
2575
3024
  tabs: {
2576
3025
  collection: "คอลเลคชั่น",
2577
3026
  store: "ร้านค้าสมาชิก"
2578
- }
3027
+ },
3028
+ refunded: "คืนเงินแล้ว",
3029
+ completed: "เสร็จสมบูรณ์"
2579
3030
  },
2580
3031
  store: {
2581
3032
  title: "ร้านค้าสมาชิก",
@@ -2584,6 +3035,26 @@ const Ne = {
2584
3035
  update: {
2585
3036
  message: "กำลังปรับปรุงการตั้งค่าร้านค้าสมาชิก",
2586
3037
  success: "อัปเดตการตั้งค่าร้านค้าสมาชิกเรียบร้อย"
3038
+ },
3039
+ company: {
3040
+ legal_info: "ข้อมูลทางกฎหมายของบริษัท",
3041
+ name: "ชื่อบริษัท",
3042
+ reg_no: "หมายเลขทะเบียน",
3043
+ tax_reg_no: "หมายเลขทะเบียนภาษี",
3044
+ tax: "ภาษี",
3045
+ phone: "หมายเลขโทรศัพท์",
3046
+ address: {
3047
+ title: "ที่อยู่",
3048
+ line1: "ที่อยู่บรรทัดที่ 1",
3049
+ line2: "ที่อยู่บรรทัดที่ 2",
3050
+ city: "เมือง",
3051
+ postcode: "รหัสไปรษณีย์",
3052
+ state: "จังหวัด/รัฐ",
3053
+ country: "ประเทศ"
3054
+ }
3055
+ },
3056
+ stripe: {
3057
+ title: "การเชื่อมต่อ Stripe"
2587
3058
  }
2588
3059
  },
2589
3060
  actions: {
@@ -2613,7 +3084,8 @@ const Ne = {
2613
3084
  created: "สร้างหมวดหมู่เรียบร้อย",
2614
3085
  updated: "อัปเดตหมวดหมู่เรียบร้อย"
2615
3086
  }
2616
- }
3087
+ },
3088
+ label: "หมวดหมู่"
2617
3089
  },
2618
3090
  bundle: {
2619
3091
  title: "รวมร้านค้า",
@@ -2726,138 +3198,8 @@ const Ne = {
2726
3198
  type: "ประเภท",
2727
3199
  validity: "ความถูกต้อง",
2728
3200
  used: "ใช้แล้ว",
2729
- actions: "การดำเนินการ"
2730
- }
2731
- },
2732
- zod: {
2733
- invalid_type: "คาดหวัง {{expected}} ได้รับ {{received}}",
2734
- errors: {
2735
- invalid_type: "คาดหวัง {{expected}} ได้รับ {{received}}",
2736
- invalid_type_received_undefined: "ที่จำเป็น",
2737
- invalid_type_received_null: "ที่จำเป็น",
2738
- invalid_literal: "ค่าตัวอักษรไม่ถูกต้อง คาดไว้ {{expected}}",
2739
- unrecognized_keys: "คีย์ที่ไม่รู้จักในออบเจ็กต์: {{- คีย์}}",
2740
- invalid_union: "อินพุตไม่ถูกต้อง",
2741
- invalid_union_discriminator: "ค่าตัวแบ่งแยกไม่ถูกต้อง คาดหวัง {{- ตัวเลือก}}",
2742
- invalid_enum_value: "ค่าแจงนับไม่ถูกต้อง คาดหวัง {{- options}} ได้รับ '{{received}}'",
2743
- invalid_arguments: "อาร์กิวเมนต์ของฟังก์ชันไม่ถูกต้อง",
2744
- invalid_return_type: "ประเภทการส่งคืนฟังก์ชันไม่ถูกต้อง",
2745
- invalid_date: "วันที่ไม่ถูกต้อง",
2746
- custom: "อินพุตไม่ถูกต้อง",
2747
- invalid_intersection_types: "ไม่สามารถรวมผลลัพธ์ทางแยกได้",
2748
- not_multiple_of: "จำนวนต้องเป็นจำนวนทวีคูณของ {{multipleOf}}",
2749
- not_finite: "จำนวนต้องมีจำกัด",
2750
- invalid_string: {
2751
- email: "ไม่ถูกต้อง {{validation}}",
2752
- url: "ไม่ถูกต้อง {{validation}}",
2753
- uuid: "ไม่ถูกต้อง {{validation}}",
2754
- cuid: "ไม่ถูกต้อง {{validation}}",
2755
- regex: "ไม่ถูกต้อง",
2756
- datetime: "ไม่ถูกต้อง {{validation}}",
2757
- startsWith: 'ข้อมูลไม่ถูกต้อง: ต้องขึ้นต้นด้วย "{{startsWith}}"',
2758
- endsWith: 'ข้อมูลไม่ถูกต้อง: ต้องลงท้ายด้วย "{{endsWith}}"'
2759
- },
2760
- too_small: {
2761
- array: {
2762
- exact: "อาร์เรย์ต้องมีองค์ประกอบ {{minimum}} ทุกประการ",
2763
- inclusive: "อาร์เรย์ต้องมีอย่างน้อย {{minimum}} องค์ประกอบ",
2764
- not_inclusive: "อาร์เรย์ต้องมีองค์ประกอบมากกว่า {{minimum}} รายการ"
2765
- },
2766
- string: {
2767
- exact: "สตริงต้องมีอักขระ {{minimum}} ตัวทุกประการ",
2768
- inclusive: "สตริงต้องมีอักขระอย่างน้อย {{minimum}} ตัว",
2769
- not_inclusive: "สตริงต้องมีอักขระเกิน {{minimum}} ตัว"
2770
- },
2771
- number: {
2772
- exact: "หมายเลขจะต้องเป็น {{minimum}} ทุกประการ",
2773
- inclusive: "ตัวเลขต้องมากกว่าหรือเท่ากับ {{minimum}}",
2774
- not_inclusive: "จำนวนต้องมากกว่า {{minimum}}"
2775
- },
2776
- set: {
2777
- exact: "อินพุตไม่ถูกต้อง",
2778
- inclusive: "อินพุตไม่ถูกต้อง",
2779
- not_inclusive: "อินพุตไม่ถูกต้อง"
2780
- },
2781
- date: {
2782
- exact: "วันที่จะต้องตรงกับ {{- ขั้นต่ำ, วันที่เวลา}}",
2783
- inclusive: "วันที่ต้องมากกว่าหรือเท่ากับ {{- ขั้นต่ำ, วันที่เวลา}}",
2784
- not_inclusive: "วันที่ต้องมากกว่า {{- ขั้นต่ำ, วันที่เวลา}}"
2785
- }
2786
- },
2787
- too_big: {
2788
- array: {
2789
- exact: "อาร์เรย์ต้องมีองค์ประกอบ {{maximum}} ทุกประการ",
2790
- inclusive: "อาร์เรย์ต้องมีองค์ประกอบไม่เกิน {{maximum}} รายการ",
2791
- not_inclusive: "อาร์เรย์ต้องมีองค์ประกอบน้อยกว่า {{maximum}} รายการ"
2792
- },
2793
- string: {
2794
- exact: "สตริงต้องมีอักขระ {{maximum}} ตัวทุกประการ",
2795
- inclusive: "สตริงต้องมีอักขระไม่เกิน {{maximum}} ตัว",
2796
- not_inclusive: "สตริงต้องมีอักขระไม่เกิน {{maximum}} ตัว"
2797
- },
2798
- number: {
2799
- exact: "หมายเลขจะต้องตรงกับ {{maximum}}",
2800
- inclusive: "ตัวเลขต้องน้อยกว่าหรือเท่ากับ {{maximum}}",
2801
- not_inclusive: "จำนวนต้องน้อยกว่า {{maximum}}"
2802
- },
2803
- set: {
2804
- exact: "อินพุตไม่ถูกต้อง",
2805
- inclusive: "อินพุตไม่ถูกต้อง",
2806
- not_inclusive: "อินพุตไม่ถูกต้อง"
2807
- },
2808
- date: {
2809
- exact: "วันที่จะต้องตรงกับ {{- maximum, datetime}}",
2810
- inclusive: "วันที่ต้องน้อยกว่าหรือเท่ากับ {{- maximum, datetime}}",
2811
- not_inclusive: "วันที่ต้องน้อยกว่า {{- maximum, datetime}}"
2812
- }
2813
- }
2814
- },
2815
- validations: {
2816
- email: "อีเมล",
2817
- url: "url",
2818
- uuid: "uuid",
2819
- cuid: "cuid",
2820
- regex: "regex",
2821
- datetime: "datetime"
2822
- },
2823
- types: {
2824
- function: "ฟังก์ชัน",
2825
- number: "ตัวเลข",
2826
- string: "สตริง",
2827
- nan: "nan",
2828
- integer: "จำนวนเต็ม",
2829
- float: "float",
2830
- boolean: "boolean",
2831
- date: "วันที่",
2832
- bigint: "bigint",
2833
- undefined: "ไม่ได้กำหนด",
2834
- symbol: "สัญลักษณ์",
2835
- null: "null",
2836
- array: "อาร์เรย์",
2837
- object: "วัตถุ",
2838
- unknown: "ไม่ทราบ",
2839
- promise: "promise",
2840
- void: "void",
2841
- never: "never",
2842
- map: "map",
2843
- set: "set"
2844
- }
2845
- },
2846
- zodCustom: {
2847
- timeframe: {
2848
- end_before_start: "วันที่สิ้นสุดต้องมาทีหลังหรือเหมือนกับวันที่เริ่มต้น"
2849
- },
2850
- campaign: {
2851
- rule_required: "ต้องมีกฎเกณฑ์เมื่อประเภทตัวกระตุ้นคือ '{type}'",
2852
- earning_amount_exceed: "จำนวนเงินที่ได้รับต้องน้อยกว่า {max} (จำนวนเงินที่ได้รับสูงสุดของภารกิจ)",
2853
- credit_validity_required: "แคมเปญเครดิตต้องมีตัวเลือกอายุการใช้งาน (ต้องเป็นเครดิตฟรี)",
2854
- mission_first_receive: "แคมเปญ Mission ต้องติดตามการรับก่อน",
2855
- schedule_period_required: "ตัวกระตุ้นกำหนดการต้องตั้งค่าช่วงเวลาที่ใช้งานอยู่",
2856
- active_period_invalid: "กฎช่วงเวลาที่ใช้งานอยู่ไม่ถูกต้อง",
2857
- fixed_earning_required: "แคมเปญที่ไม่สามารถเรียกเก็บเงินได้ครบต้องมีตัวเลือกการรับรายได้คงที่",
2858
- reward_threshold_range: "เกณฑ์รางวัลจะต้องอยู่ภายในจุดสิ้นสุดภารกิจ",
2859
- reward_threshold_unique: "เกณฑ์รางวัลจะต้องไม่ซ้ำกัน",
2860
- effect_required: "จำเป็นต้องมีเอฟเฟกต์"
3201
+ actions: "การดำเนินการ",
3202
+ summary: "สรุป"
2861
3203
  }
2862
3204
  },
2863
3205
  prompt: {
@@ -2876,18 +3218,445 @@ const Ne = {
2876
3218
  actions: "การดำเนินการ",
2877
3219
  submit: "ยืนยัน",
2878
3220
  cancel: "ยกเลิก"
3221
+ },
3222
+ common: {
3223
+ submit: "ยืนยัน",
3224
+ confirm: "ยืนยัน",
3225
+ cancel: "ยกเลิก",
3226
+ save: "บันทึก",
3227
+ delete: "ลบ",
3228
+ remove: "ลบออก",
3229
+ edit: "แก้ไข",
3230
+ add: "เพิ่ม",
3231
+ optional: "ไม่บังคับ",
3232
+ location: "สาขา",
3233
+ allLocations: "ทุกสาขา",
3234
+ back: "ย้อนกลับ",
3235
+ next: "ถัดไป",
3236
+ startDate: "วันที่เริ่มต้น",
3237
+ endDate: "วันที่สิ้นสุด",
3238
+ to: "ถึง"
3239
+ },
3240
+ template: {
3241
+ general: "ทั่วไป",
3242
+ trigger: "ทริกเกอร์",
3243
+ general_information: "ข้อมูลทั่วไป",
3244
+ discount: "ส่วนลด",
3245
+ terms_conditions: "ข้อกำหนดและเงื่อนไข",
3246
+ time_limitation: "ข้อจำกัดเวลา",
3247
+ target_audience: "กลุ่มเป้าหมาย",
3248
+ game_configuration: "การตั้งค่าเกม",
3249
+ location: "สาขา",
3250
+ voucher_detail: "รายละเอียดบัตรกำนัล",
3251
+ spending_criteria: "เกณฑ์การใช้จ่าย",
3252
+ feedback_criteria: "เกณฑ์การตอบรับ",
3253
+ voucher_usage_configuration: "การตั้งค่าการใช้บัตรกำนัล",
3254
+ notify_audience: "แจ้งกลุ่มเป้าหมาย",
3255
+ notify_message: "ข้อความแจ้ง",
3256
+ earning_type: "ประเภทการได้รับ",
3257
+ validity_configuration: "การตั้งค่าความถูกต้อง",
3258
+ mission_participation: "การเข้าร่วม Mission",
3259
+ configure_reward: "ตั้งค่ารางวัล",
3260
+ content: "เนื้อหา",
3261
+ broadcast_configuration: "การตั้งค่าบรอดแคสต์",
3262
+ game_type: "ประเภทเกม",
3263
+ reward_pool: "กลุ่มรางวัล",
3264
+ configuration: "การตั้งค่า",
3265
+ campaign_name: "ชื่อแคมเปญ",
3266
+ campaign_description: "คำอธิบายแคมเปญ",
3267
+ campaign_period: "ระยะเวลาแคมเปญ",
3268
+ voucher_name: "ชื่อบัตรกำนัล",
3269
+ voucher_description: "คำอธิบายบัตรกำนัล",
3270
+ voucher_image: "รูปภาพบัตรกำนัล",
3271
+ target_location: "สาขาเป้าหมาย",
3272
+ send_notification: "ส่งการแจ้งเตือน",
3273
+ notification_message: "ข้อความแจ้งเตือน",
3274
+ min_spend: "ยอดใช้จ่ายขั้นต่ำ",
3275
+ select_game: "เลือกเกมที่คุณต้องการให้ลูกค้าเล่น",
3276
+ configure_reward_type: "ตั้งค่าประเภทรางวัลและน้ำหนักที่มอบให้ลูกค้า",
3277
+ configure_reward_customer: "ตั้งค่าประเภทรางวัลที่มอบให้ลูกค้า",
3278
+ max_per_user: "สูงสุดต่อผู้ใช้",
3279
+ leave_empty_unlimited: "ปล่อยว่างเพื่อไม่จำกัด",
3280
+ usage_count: "จำนวนการใช้",
3281
+ max_distribute: "แจกจ่ายสูงสุด",
3282
+ cooldown: "ระยะพัก",
3283
+ validity_option: {
3284
+ title: "ตัวเลือกความถูกต้อง",
3285
+ date_range: "ช่วงวันที่",
3286
+ custom: "กำหนดเอง",
3287
+ expire: "หมดอายุ",
3288
+ after_day: "หมดอายุหลังจาก (วัน)",
3289
+ days: "วัน",
3290
+ expire_follow_first_receive: "การหมดอายุตามการรับครั้งแรก",
3291
+ expires_on_same_day: "หมดอายุในวันเดียวกัน"
3292
+ },
3293
+ enable_transfer: "เปิดใช้การโอน",
3294
+ rule: {
3295
+ add_condition: "เพิ่มเงื่อนไข",
3296
+ edit_rule: "แก้ไขกฎ",
3297
+ when: "เมื่อ",
3298
+ and: "และ",
3299
+ or: "หรือ",
3300
+ time: {
3301
+ all_time: "ตลอดเวลา",
3302
+ custom: "วันที่/เวลากำหนดเอง",
3303
+ confirm_remove: "คุณแน่ใจหรือไม่ว่าต้องการปิดเงื่อนไขกำหนดเอง? การดำเนินการนี้จะลบกฎทั้งหมดที่คุณตั้งไว้"
3304
+ },
3305
+ audience: {
3306
+ all: "ผู้ใช้ทั้งหมด",
3307
+ member_segment: "กลุ่มสมาชิก",
3308
+ custom_audience: "กลุ่มเป้าหมายกำหนดเอง",
3309
+ confirm_remove: "คุณแน่ใจหรือไม่ว่าต้องการเปลี่ยนประเภทกลุ่มเป้าหมาย? การดำเนินการนี้จะลบกฎทั้งหมดที่คุณตั้งไว้"
3310
+ },
3311
+ schedule: {
3312
+ fixed: "กำหนดวันที่",
3313
+ repeating: "ซ้ำ",
3314
+ notify_time: "เวลาแจ้ง",
3315
+ time_required: "จำเป็นต้องระบุเวลา",
3316
+ notify_date: "วันที่แจ้ง",
3317
+ date_required: "จำเป็นต้องระบุวันที่",
3318
+ set_repeating_date: "กำหนดวันที่ซ้ำ",
3319
+ next_notification: "การแจ้งเตือนครั้งถัดไปจะส่งเมื่อ",
3320
+ last_trigger_on: "ทริกเกอร์ครั้งล่าสุดเมื่อ"
3321
+ },
3322
+ birthday: {
3323
+ on_birthday: "วันเกิด",
3324
+ days_before: "N วันก่อนวันเกิด",
3325
+ days_before_label: "วันก่อนวันเกิด",
3326
+ in_birthday_week: "ในสัปดาห์วันเกิด",
3327
+ in_birthday_month: "ในเดือนวันเกิด"
3328
+ }
3329
+ },
3330
+ mission_pool: {
3331
+ add_reward: "เพิ่มรางวัล",
3332
+ no_reward: "ไม่มีรางวัล",
3333
+ reward_sublabel_fixed: "รางวัลที่ {threshold} | จำนวน: {amount}",
3334
+ reward_sublabel_per_spend: "รางวัลที่ {threshold} | จำนวน: {amount} สำหรับทุกการใช้จ่าย RM{every}",
3335
+ preview: "ตัวอย่าง Mission",
3336
+ collect_stamps: "สะสม {end} สแตมป์เพื่อรับ",
3337
+ earn_stamp: "รับสแตมป์!"
3338
+ },
3339
+ promotion_game: {
3340
+ enable: "เปิดใช้เกม",
3341
+ rock_paper_scissors: {
3342
+ label: "เป่ายิ้งฉุบ",
3343
+ description: "ลูกค้าเล่นเป่ายิ้งฉุบ 3 รอบกับแคชเชียร์ หากชนะ 2 รอบจะได้รับส่วนลด",
3344
+ warning: "เป่ายิ้งฉุบใช้ได้เฉพาะกับ POS >= 7.7.4 ที่มีหน้าจอคู่บนอุปกรณ์ Android (Sunmi D3 Pro และ Sunmi T3 Pro)"
3345
+ }
3346
+ },
3347
+ mission_configuration: "การตั้งค่า Mission",
3348
+ reward_setup: "ตั้งค่ารางวัล"
3349
+ },
3350
+ templateDialog: {
3351
+ mostPopular: "ยอดนิยมที่สุด",
3352
+ hot: "ยอดนิยม",
3353
+ templateList: "รายการเทมเพลต",
3354
+ subtitle: "เริ่มต้นได้เร็วขึ้นด้วยเทมเพลตที่ยืดหยุ่นตามธุรกิจของคุณ",
3355
+ customCampaign: "แคมเปญกำหนดเอง",
3356
+ cancel: "ยกเลิก",
3357
+ start: "เริ่มต้น",
3358
+ intention: {
3359
+ MEMBER_REWARD: "รางวัลสมาชิก",
3360
+ PAID_LOYALTY: "สมาชิกพรีเมียม",
3361
+ COLLECT_FEEDBACK: "เก็บความคิดเห็น",
3362
+ REVISITING: "กลับมาอีกครั้ง",
3363
+ SPEND_MORE: "ใช้จ่ายเพิ่ม",
3364
+ PRODUCT_LAUNCHING: "เปิดตัวสินค้า",
3365
+ BROADCAST: "บรอดแคสต์",
3366
+ BIRTHDAY: "วันเกิด",
3367
+ GAME: "เกม"
3368
+ },
3369
+ campaignType: {
3370
+ PROMOTION: "แคมเปญโปรโมชัน",
3371
+ VOUCHER: "แคมเปญบัตรกำนัล",
3372
+ CREDIT: "แคมเปญเครดิต",
3373
+ POINT: "แคมเปญค่าประสบการณ์",
3374
+ COIN: "แคมเปญคะแนน",
3375
+ GAME: "แคมเปญเกม",
3376
+ BROADCAST: "แคมเปญบรอดแคสต์",
3377
+ STAMP: "แคมเปญสแตมป์"
3378
+ }
3379
+ },
3380
+ bin: {
3381
+ title: "ถังขยะ",
3382
+ description: "กู้คืนแคมเปญที่ถูกลบจากถังขยะ แคมเปญในถังขยะสามารถกู้คืนหรือลบถาวรได้"
3383
+ },
3384
+ referral: {
3385
+ title: "โปรแกรมการแนะนำ",
3386
+ actions: {
3387
+ create: "สร้างการแนะนำ",
3388
+ manage_reward: "จัดการรางวัล",
3389
+ terms: "ข้อกำหนดและเงื่อนไข",
3390
+ manage_criteria: "จัดการเกณฑ์",
3391
+ add_referral_tier: "เพิ่มระดับการแนะนำ"
3392
+ },
3393
+ tabs: {
3394
+ overview: "ภาพรวม",
3395
+ record: "บันทึก"
3396
+ },
3397
+ referral_tier_title: "กำหนดรางวัลสำหรับการแนะนำที่สำเร็จ",
3398
+ referral_tier_description: "เพิ่มและปรับแต่งรางวัลสำหรับแต่ละขั้นตอนภายในระดับการแนะนำที่เลือก",
3399
+ add_referral_tier: "เพิ่มระดับการแนะนำ",
3400
+ overview: {
3401
+ title: "ภาพรวม",
3402
+ total_joined: "เข้าร่วมทั้งหมด",
3403
+ total_redeem: "แลกรับทั้งหมด",
3404
+ total_referee: "ผู้ได้รับการแนะนำทั้งหมด",
3405
+ pending: "รอดำเนินการ"
3406
+ },
3407
+ how_it_works: {
3408
+ title: "วิธีการทำงาน",
3409
+ generate_link: "สร้างลิงก์",
3410
+ generate_link_for_member: "สร้างลิงก์สำหรับสมาชิก",
3411
+ referee_join_reward: "รางวัลสำหรับผู้ได้รับการแนะนำเมื่อเข้าร่วม",
3412
+ referee_meet_criteria: "ผู้ได้รับการแนะนำปฏิบัติตามเกณฑ์",
3413
+ referer_get_reward: "ผู้แนะนำได้รับรางวัล",
3414
+ reward: "รางวัล",
3415
+ criteria: "เกณฑ์",
3416
+ reward_tier: "ระดับที่กำหนดไว้",
3417
+ referee_join_reward_description: "รางวัลจะมอบให้แก่ผู้ได้รับการแนะนำเมื่อเข้าร่วมโปรแกรมสำเร็จและปฏิบัติตามเกณฑ์",
3418
+ referral_tier_description: "ผู้แนะนำจะได้รับรางวัลหลังจากผู้ได้รับการแนะนำทำตามเกณฑ์ทั้งหมด"
3419
+ },
3420
+ reward: {
3421
+ add_count: "เพิ่มจำนวน",
3422
+ table: {
3423
+ count: "จำนวนการแนะนำ",
3424
+ reward: "รางวัล"
3425
+ },
3426
+ remove_referral_count: "ลบจำนวนการแนะนำ",
3427
+ confirm_remove_referral_count: "คุณแน่ใจหรือไม่ว่าต้องการลบจำนวนการแนะนำนี้?",
3428
+ remove_referral_tier: "ลบระดับการแนะนำ",
3429
+ confirm_remove_referral_tier: "คุณแน่ใจหรือไม่ว่าต้องการลบระดับการแนะนำนี้?"
3430
+ },
3431
+ editReferralTierSheet: {
3432
+ create: "สร้างระดับการแนะนำ",
3433
+ edit: "แก้ไขระดับการแนะนำ",
3434
+ target_audience: "กลุ่มเป้าหมาย",
3435
+ name: "ชื่อ"
3436
+ },
3437
+ editReferralCountSheet: {
3438
+ add: "เพิ่มจำนวนการแนะนำ",
3439
+ edit: "แก้ไขจำนวนการแนะนำ",
3440
+ referrer_reward: "รางวัลสำหรับผู้แนะนำ",
3441
+ min_referral_count: "จำนวนการแนะนำขั้นต่ำ",
3442
+ max_referral_count: "จำนวนการแนะนำสูงสุด",
3443
+ max_referral_count_description: "หากไม่ได้กำหนดจำนวนสูงสุด จะเป็นแบบไม่จำกัดโดยค่าเริ่มต้น"
3444
+ },
3445
+ refereeRewardSheet: {
3446
+ referee_reward: "รางวัลสำหรับผู้ได้รับการแนะนำ"
3447
+ },
3448
+ referral_count: {
3449
+ title: "จำนวนการแนะนำ",
3450
+ update: {
3451
+ range_discontinuous: {
3452
+ previous: `ช่วงจำนวนการแนะนำไม่ต่อเนื่อง
3453
+ ช่วงก่อนหน้า: {name} [{from} - {to}]
3454
+ คุณต้องการอัปเดตช่วงก่อนหน้าเป็น [{from} - {newTo}] หรือไม่?`,
3455
+ next: `ช่วงจำนวนการแนะนำไม่ต่อเนื่อง
3456
+ ช่วงถัดไป: {name} [{from} - {to}]
3457
+ คุณต้องการอัปเดตช่วงถัดไปเป็น [{newFrom} - {to}] หรือไม่?`
3458
+ }
3459
+ },
3460
+ remove: {
3461
+ confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบจำนวนการแนะนำนี้?",
3462
+ title: "ลบจำนวนการแนะนำ",
3463
+ next_range: "อัปเดตช่วงถัดไป",
3464
+ range_discontinuous: {
3465
+ previous: `ช่วงจำนวนการแนะนำไม่ต่อเนื่อง
3466
+ ช่วงก่อนหน้า: {name} [{from} - {to}]
3467
+ คุณต้องการอัปเดตช่วงก่อนหน้าเป็น [{from} - {newTo}] หรือไม่?`,
3468
+ next: `ช่วงจำนวนการแนะนำไม่ต่อเนื่อง
3469
+ ช่วงถัดไป: {name} [{from} - {to}]
3470
+ คุณต้องการอัปเดตช่วงถัดไปเป็น [{newFrom} - {to}] หรือไม่?`
3471
+ }
3472
+ }
3473
+ },
3474
+ term_and_condition: {
3475
+ confirm_remove: "คุณแน่ใจหรือไม่ว่าต้องการลบข้อกำหนดและเงื่อนไขนี้?"
3476
+ },
3477
+ record: {
3478
+ referer_info: "ข้อมูลผู้แนะนำ",
3479
+ referee_info: "ข้อมูลผู้ได้รับการแนะนำ",
3480
+ referee_criteria: "เกณฑ์ผู้ได้รับการแนะนำ",
3481
+ status: "สถานะ"
3482
+ }
3483
+ },
3484
+ reward: {
3485
+ title: "รางวัล",
3486
+ description: "มอบรางวัลแก่ลูกค้าสำหรับการแนะนำที่สำเร็จ",
3487
+ table: {
3488
+ title: "ชื่อรางวัล",
3489
+ type: "ประเภทรางวัล",
3490
+ description: "คำอธิบาย"
3491
+ }
3492
+ },
3493
+ sendCollectionSheet: {
3494
+ title: "ส่ง {type}",
3495
+ select_members: "เลือกสมาชิก",
3496
+ amount: "จำนวน",
3497
+ reference: "อ้างอิง",
3498
+ confirmation_message: "คุณแน่ใจหรือไม่ว่าต้องการส่ง {amount} {type} ถึง {memberName}? การกระทำนี้ไม่สามารถย้อนกลับได้",
3499
+ stamp: "สแตมป์",
3500
+ game_token: "โทเคนเกม"
3501
+ },
3502
+ queue: {
3503
+ title: "คิว"
3504
+ },
3505
+ effect: {
3506
+ title: "ใช้ส่วนลด",
3507
+ description: "ตั้งค่าส่วนลดที่คุณต้องการมอบให้ลูกค้า",
3508
+ with: "พร้อม",
3509
+ removeConfirm: "คุณแน่ใจหรือไม่ว่าต้องการลบส่วนลดนี้?"
3510
+ }
3511
+ }, $e = {
3512
+ invalid_type: "คาดหวัง {{expected}} แต่ได้รับ {{received}}",
3513
+ errors: {
3514
+ invalid_type: "คาดหวัง {{expected}} แต่ได้รับ {{received}}",
3515
+ invalid_type_received_undefined: "จำเป็น",
3516
+ invalid_type_received_null: "จำเป็น",
3517
+ invalid_literal: "ค่าตัวแท้ไม่ถูกต้อง คาดหวัง {{expected}}",
3518
+ unrecognized_keys: "พบคีย์ที่ไม่รู้จักในออบเจกต์: {{- keys}}",
3519
+ invalid_union: "ข้อมูลไม่ถูกต้อง",
3520
+ invalid_union_discriminator: "ค่าตัวแบ่งประเภทไม่ถูกต้อง คาดหวัง {{- options}}",
3521
+ invalid_enum_value: "ค่า enum ไม่ถูกต้อง คาดหวัง {{- options}} แต่ได้รับ '{{received}}'",
3522
+ invalid_arguments: "อาร์กิวเมนต์ฟังก์ชันไม่ถูกต้อง",
3523
+ invalid_return_type: "ประเภทการคืนค่าฟังก์ชันไม่ถูกต้อง",
3524
+ invalid_date: "วันที่ไม่ถูกต้อง",
3525
+ custom: "ข้อมูลไม่ถูกต้อง",
3526
+ invalid_intersection_types: "ไม่สามารถรวมผลลัพธ์ intersection ได้",
3527
+ not_multiple_of: "ตัวเลขต้องเป็นทวีคูณของ {{multipleOf}}",
3528
+ not_finite: "ตัวเลขต้องเป็นค่าจำกัด",
3529
+ invalid_string: {
3530
+ email: "{{validation}} ไม่ถูกต้อง",
3531
+ url: "{{validation}} ไม่ถูกต้อง",
3532
+ uuid: "{{validation}} ไม่ถูกต้อง",
3533
+ cuid: "{{validation}} ไม่ถูกต้อง",
3534
+ regex: "ไม่ถูกต้อง",
3535
+ datetime: "{{validation}} ไม่ถูกต้อง",
3536
+ startsWith: 'ข้อมูลไม่ถูกต้อง: ต้องเริ่มต้นด้วย "{{startsWith}}"',
3537
+ endsWith: 'ข้อมูลไม่ถูกต้อง: ต้องลงท้ายด้วย "{{endsWith}}"'
3538
+ },
3539
+ too_small: {
3540
+ array: {
3541
+ exact: "รายการต้องมีจำนวน {{minimum}} รายการพอดี",
3542
+ inclusive: "รายการต้องมีอย่างน้อย {{minimum}} รายการ",
3543
+ not_inclusive: "รายการต้องมีมากกว่า {{minimum}} รายการ"
3544
+ },
3545
+ string: {
3546
+ exact: "ข้อความต้องมีจำนวน {{minimum}} ตัวอักษรพอดี",
3547
+ inclusive: "ข้อความต้องมีอย่างน้อย {{minimum}} ตัวอักษร",
3548
+ not_inclusive: "ข้อความต้องมีมากกว่า {{minimum}} ตัวอักษร"
3549
+ },
3550
+ number: {
3551
+ exact: "ตัวเลขต้องเป็น {{minimum}} พอดี",
3552
+ inclusive: "ตัวเลขต้องมากกว่าหรือเท่ากับ {{minimum}}",
3553
+ not_inclusive: "ตัวเลขต้องมากกว่า {{minimum}}"
3554
+ },
3555
+ set: {
3556
+ exact: "ข้อมูลไม่ถูกต้อง",
3557
+ inclusive: "ข้อมูลไม่ถูกต้อง",
3558
+ not_inclusive: "ข้อมูลไม่ถูกต้อง"
3559
+ },
3560
+ date: {
3561
+ exact: "วันที่ต้องเป็น {{- minimum, datetime}} พอดี",
3562
+ inclusive: "วันที่ต้องมากกว่าหรือเท่ากับ {{- minimum, datetime}}",
3563
+ not_inclusive: "วันที่ต้องมากกว่า {{- minimum, datetime}}"
3564
+ }
3565
+ },
3566
+ too_big: {
3567
+ array: {
3568
+ exact: "รายการต้องมีจำนวน {{maximum}} รายการพอดี",
3569
+ inclusive: "รายการต้องมีไม่เกิน {{maximum}} รายการ",
3570
+ not_inclusive: "รายการต้องมีน้อยกว่า {{maximum}} รายการ"
3571
+ },
3572
+ string: {
3573
+ exact: "ข้อความต้องมีจำนวน {{maximum}} ตัวอักษรพอดี",
3574
+ inclusive: "ข้อความต้องมีไม่เกิน {{maximum}} ตัวอักษร",
3575
+ not_inclusive: "ข้อความต้องมีน้อยกว่า {{maximum}} ตัวอักษร"
3576
+ },
3577
+ number: {
3578
+ exact: "ตัวเลขต้องเป็น {{maximum}} พอดี",
3579
+ inclusive: "ตัวเลขต้องน้อยกว่าหรือเท่ากับ {{maximum}}",
3580
+ not_inclusive: "ตัวเลขต้องน้อยกว่า {{maximum}}"
3581
+ },
3582
+ set: {
3583
+ exact: "ข้อมูลไม่ถูกต้อง",
3584
+ inclusive: "ข้อมูลไม่ถูกต้อง",
3585
+ not_inclusive: "ข้อมูลไม่ถูกต้อง"
3586
+ },
3587
+ date: {
3588
+ exact: "วันที่ต้องเป็น {{- maximum, datetime}} พอดี",
3589
+ inclusive: "วันที่ต้องน้อยกว่าหรือเท่ากับ {{- maximum, datetime}}",
3590
+ not_inclusive: "วันที่ต้องน้อยกว่า {{- maximum, datetime}}"
3591
+ }
3592
+ }
3593
+ },
3594
+ validations: {
3595
+ email: "อีเมล",
3596
+ url: "URL",
3597
+ uuid: "uuid",
3598
+ cuid: "cuid",
3599
+ regex: "regex",
3600
+ datetime: "datetime"
3601
+ },
3602
+ types: {
3603
+ function: "ฟังก์ชัน",
3604
+ number: "ตัวเลข",
3605
+ string: "ข้อความ",
3606
+ nan: "nan",
3607
+ integer: "จำนวนเต็ม",
3608
+ float: "ทศนิยม",
3609
+ boolean: "บูลีน",
3610
+ date: "วันที่",
3611
+ bigint: "bigint",
3612
+ undefined: "undefined",
3613
+ symbol: "สัญลักษณ์",
3614
+ null: "null",
3615
+ array: "รายการ",
3616
+ object: "ออบเจกต์",
3617
+ unknown: "unknown",
3618
+ promise: "promise",
3619
+ void: "void",
3620
+ never: "never",
3621
+ map: "แมป",
3622
+ set: "เซ็ต"
2879
3623
  }
2880
- }, qe = {
2881
- connect: Ue
2882
3624
  }, Ge = {
3625
+ timeframe: {
3626
+ end_before_start: "วันสิ้นสุดต้องอยู่หลังหรือเท่ากับวันเริ่มต้น"
3627
+ },
3628
+ campaign: {
3629
+ rule_required: "จำเป็นต้องมีกฎเมื่อประเภท trigger คือ '{type}'",
3630
+ earning_amount_exceed: "จำนวนรางวัลต้องน้อยกว่า {max} (จำนวนสะสมสูงสุดของ Mission)",
3631
+ credit_validity_required: "แคมเปญเครดิตต้องการตัวเลือกความถูกต้อง (ต้องเป็นเครดิตฟรี)",
3632
+ mission_first_receive: "แคมเปญ Mission ต้องตามการรับครั้งแรก",
3633
+ schedule_period_required: "การตั้งเวลา trigger ต้องกำหนดช่วงเวลาที่ใช้งาน",
3634
+ active_period_invalid: "กฎช่วงเวลาที่ใช้งานไม่ถูกต้อง",
3635
+ fixed_earning_required: "แคมเปญที่ไม่ใช่ bill-complete ต้องใช้ตัวเลือกรางวัลแบบคงที่",
3636
+ reward_threshold_range: "เกณฑ์รางวัลต้องอยู่ภายในวันสิ้นสุด Mission",
3637
+ reward_threshold_unique: "เกณฑ์รางวัลต้องไม่ซ้ำกัน",
3638
+ effect_required: "จำเป็นต้องระบุผล"
3639
+ }
3640
+ }, Fe = {
3641
+ connect: qe,
3642
+ connectZod: $e,
3643
+ connectZodCustom: Ge
3644
+ }, We = {
2883
3645
  common: {
2884
3646
  confirm: "確認",
2885
3647
  cancel: "取消",
2886
3648
  save: "保存",
2887
3649
  delete: "刪除",
3650
+ remove: "移除",
2888
3651
  edit: "編輯",
2889
3652
  add: "添加",
2890
- optional: "可選"
3653
+ optional: "可選",
3654
+ back: "返回",
3655
+ next: "下一步",
3656
+ submit: "提交",
3657
+ startDate: "開始日期",
3658
+ endDate: "結束日期",
3659
+ to: "至"
2891
3660
  },
2892
3661
  template: {
2893
3662
  general: "常規",
@@ -2943,6 +3712,11 @@ const Ne = {
2943
3712
  },
2944
3713
  enable_transfer: "啓用轉讓",
2945
3714
  rule: {
3715
+ add_condition: "新增條件",
3716
+ edit_rule: "編輯規則",
3717
+ when: "當",
3718
+ and: "且",
3719
+ or: "或",
2946
3720
  time: {
2947
3721
  all_time: "所有時間",
2948
3722
  custom: "自定義日期/時間",
@@ -2953,9 +3727,74 @@ const Ne = {
2953
3727
  member_segment: "會員分組",
2954
3728
  custom_audience: "自定義受眾",
2955
3729
  confirm_remove: "您確定要更改受眾類型嗎?這將刪除您設置的所有規則。"
3730
+ },
3731
+ schedule: {
3732
+ fixed: "固定時間",
3733
+ repeating: "重複",
3734
+ notify_time: "通知時間",
3735
+ time_required: "時間不能為空",
3736
+ notify_date: "通知日期",
3737
+ date_required: "日期不能為空",
3738
+ set_repeating_date: "設置重複日期",
3739
+ next_notification: "下次通知將於以下日期寄出",
3740
+ last_trigger_on: "上次觸發時間為"
3741
+ },
3742
+ birthday: {
3743
+ on_birthday: "生日當天",
3744
+ days_before: "生日前N天",
3745
+ days_before_label: "生日前天數",
3746
+ in_birthday_week: "生日所在週",
3747
+ in_birthday_month: "生日所在月"
3748
+ }
3749
+ },
3750
+ mission_pool: {
3751
+ add_reward: "新增獎勵",
3752
+ no_reward: "無獎勵",
3753
+ reward_sublabel_fixed: "達到 {threshold} 時的獎勵 | 數量: {amount}",
3754
+ reward_sublabel_per_spend: "達到 {threshold} 時的獎勵 | 數量: 每消費RM{every}得{amount}",
3755
+ preview: "任務預覽",
3756
+ collect_stamps: "集齊 {end} 個印章即可獲得",
3757
+ earn_stamp: "獲得一個印章!"
3758
+ },
3759
+ promotion_game: {
3760
+ enable: "啟用遊戲",
3761
+ rock_paper_scissors: {
3762
+ label: "猜拳",
3763
+ description: "顧客與收銀員進行3輪猜拳。若顧客贏得2輪,即可獲得折扣。",
3764
+ warning: "猜拳功能僅適用於POS >= 7.7.4且配備雙螢幕的安卓設備(Sunmi D3 Pro 和 Sunmi T3 Pro)"
2956
3765
  }
2957
3766
  }
2958
3767
  },
3768
+ templateDialog: {
3769
+ mostPopular: "最受歡迎",
3770
+ hot: "熱門",
3771
+ templateList: "模板列表",
3772
+ subtitle: "透過靈活適應您業務的模板,更快速地開始。",
3773
+ customCampaign: "自定義活動",
3774
+ cancel: "取消",
3775
+ start: "開始",
3776
+ intention: {
3777
+ MEMBER_REWARD: "會員獎勵",
3778
+ PAID_LOYALTY: "付費忠誠度",
3779
+ COLLECT_FEEDBACK: "收集反饋",
3780
+ REVISITING: "回訪",
3781
+ SPEND_MORE: "增加消費",
3782
+ PRODUCT_LAUNCHING: "產品發佈",
3783
+ BROADCAST: "廣播",
3784
+ BIRTHDAY: "生日",
3785
+ GAME: "遊戲"
3786
+ },
3787
+ campaignType: {
3788
+ PROMOTION: "促銷活動",
3789
+ VOUCHER: "代金券活動",
3790
+ CREDIT: "積分活動",
3791
+ POINT: "經驗活動",
3792
+ COIN: "點數活動",
3793
+ GAME: "遊戲活動",
3794
+ BROADCAST: "廣播活動",
3795
+ STAMP: "印章活動"
3796
+ }
3797
+ },
2959
3798
  campaign: {
2960
3799
  common: {
2961
3800
  createCampaign: "創建活動",
@@ -2993,7 +3832,24 @@ const Ne = {
2993
3832
  active: "進行中",
2994
3833
  upcoming: "即將推出",
2995
3834
  expired: "已結束"
2996
- }
3835
+ },
3836
+ typeName: {
3837
+ CREDIT: "積分",
3838
+ PROMOTION: "促銷",
3839
+ VOUCHER: "代金券",
3840
+ POINT: "經驗",
3841
+ BROADCAST: "廣播",
3842
+ GAME: "代幣",
3843
+ REWARD_POOL: "獎池",
3844
+ COIN: "點數",
3845
+ MEMBERSHIP: "會員資格",
3846
+ MISSION: "任務"
3847
+ },
3848
+ edit_campaign_title: "編輯{typeName}活動",
3849
+ create_campaign_title: "創建{typeName}活動"
3850
+ },
3851
+ trigger: {
3852
+ description: "設定啟用獎勵所需滿足的條件。"
2997
3853
  },
2998
3854
  mission: {
2999
3855
  title: "任務",
@@ -3010,7 +3866,22 @@ const Ne = {
3010
3866
  description: "任務功能為購物增添了趣味元素,鼓勵客户更多地參與。",
3011
3867
  createButton: "創建任務",
3012
3868
  type: "任務類型",
3013
- received: "已領取"
3869
+ received: "已領取",
3870
+ missionType: "任務類型",
3871
+ typeOption: {
3872
+ STAMP: {
3873
+ label: "印章",
3874
+ description: "為購買行為頒發印章,達到設定里程碑後可兌換"
3875
+ },
3876
+ PROGRESSIVE: {
3877
+ label: "進度",
3878
+ description: "當客戶達到累計消費目標時給予獎勵"
3879
+ }
3880
+ },
3881
+ collectionsRequired: "所需收集數量",
3882
+ collectionsRequiredDescription: "輸入完成任務所需的印章總數",
3883
+ maximumToCollect: "最大收集數量",
3884
+ thresholdHelperText: "設定獎勵資格所需的門檻"
3014
3885
  },
3015
3886
  broadcast: {
3016
3887
  title: "廣播",
@@ -3066,6 +3937,48 @@ const Ne = {
3066
3937
  errorButton: "確定",
3067
3938
  success: "代金券鏈接已複製到剪貼板"
3068
3939
  }
3940
+ },
3941
+ earningOption: {
3942
+ type: {
3943
+ PROPORTIONAL: {
3944
+ label: "按消費金額",
3945
+ sublabel: "客戶根據消費金額賺取獎勵"
3946
+ },
3947
+ FIXED: {
3948
+ label: "固定金額",
3949
+ sublabel: "客戶為特定行為賺取固定獎勵"
3950
+ }
3951
+ },
3952
+ spendingType: "消費類型",
3953
+ amountSpent: {
3954
+ label: "消費金額",
3955
+ sublabel: "按消費金額獲得 {configName}"
3956
+ },
3957
+ receiveLabel: "獲得 {configName}",
3958
+ forEvery: "每",
3959
+ amountSpend: "消費金額 ({currency})",
3960
+ productBought: {
3961
+ label: "購買商品",
3962
+ sublabel: "按購買商品獲得 {configName}"
3963
+ },
3964
+ productsSelected: "已選擇 {count} 件商品",
3965
+ selectProduct: "選擇商品",
3966
+ itemPurchased: "購買商品"
3967
+ },
3968
+ gameType: {
3969
+ option: {
3970
+ FORTUNE_WHEEL: {
3971
+ label: "幸運轉盤",
3972
+ description: "允許客戶旋轉幸運轉盤賺取各種獎勵"
3973
+ },
3974
+ ROCK_PAPER_SCISSORS: {
3975
+ label: "猜拳",
3976
+ description: "客戶與收銀員進行剪刀石頭布遊戲"
3977
+ }
3978
+ }
3979
+ },
3980
+ rewardPool: {
3981
+ addReward: "新增獎勵"
3069
3982
  }
3070
3983
  },
3071
3984
  promotion: {
@@ -3377,6 +4290,10 @@ const Ne = {
3377
4290
  title: "創建活動組以跟蹤績效",
3378
4291
  description: "通過創建組開始組織您的活動和促銷。組允許您彙總多個代金券、促銷或其他獎勵的績效指標。",
3379
4292
  action: "創建組"
4293
+ },
4294
+ maintenance: {
4295
+ title: "分析儀表板暫時不可用",
4296
+ description: "對於不便之處,我們深表歉意。分析儀表板目前正在維護中,以改善您的體驗。請稍後再回來查看系統可用性的更新。"
3380
4297
  }
3381
4298
  },
3382
4299
  marketing: {
@@ -3762,8 +4679,14 @@ const Ne = {
3762
4679
  type: "獎勵類型",
3763
4680
  description: "描述"
3764
4681
  }
4682
+ },
4683
+ effect: {
4684
+ title: "套用折扣",
4685
+ description: "設定您希望提供給客戶的折扣。",
4686
+ with: "且",
4687
+ removeConfirm: "您確定要刪除此折扣嗎?"
3765
4688
  }
3766
- }, ze = {
4689
+ }, He = {
3767
4690
  errors: {
3768
4691
  invalid_type: "預期輸入為{{expected}},而輸入為{{received}}",
3769
4692
  invalid_type_received_undefined: "必填",
@@ -3875,7 +4798,7 @@ const Ne = {
3875
4798
  map: "字典",
3876
4799
  set: "集合"
3877
4800
  }
3878
- }, We = {
4801
+ }, Ye = {
3879
4802
  timeframe: {
3880
4803
  end_before_start: "結束日期必須晚於或等於開始日期"
3881
4804
  },
@@ -3891,22 +4814,28 @@ const Ne = {
3891
4814
  reward_threshold_unique: "獎勵閾值必須是唯一的",
3892
4815
  effect_required: "效果是必需的"
3893
4816
  }
3894
- }, Fe = {
3895
- connect: Ge,
3896
- connectZod: ze,
3897
- connectZodCustom: We
3898
- }, Ye = {
4817
+ }, ze = {
4818
+ connect: We,
4819
+ connectZod: He,
4820
+ connectZodCustom: Ye
4821
+ }, Ke = {
3899
4822
  common: {
3900
4823
  submit: "提出する",
3901
4824
  confirm: "確認する",
3902
4825
  cancel: "キャンセル",
3903
4826
  save: "保存",
3904
4827
  delete: "消去",
4828
+ remove: "削除",
3905
4829
  edit: "Edit",
3906
4830
  add: "追加",
3907
4831
  optional: "Optional",
3908
4832
  location: "位置: ",
3909
- allLocations: "すべての場所"
4833
+ allLocations: "すべての場所",
4834
+ back: "戻る",
4835
+ next: "次へ",
4836
+ startDate: "開始日",
4837
+ endDate: "終了日",
4838
+ to: "〜"
3910
4839
  },
3911
4840
  template: {
3912
4841
  general: "General",
@@ -3963,6 +4892,11 @@ const Ne = {
3963
4892
  },
3964
4893
  enable_transfer: "Enable transfer",
3965
4894
  rule: {
4895
+ add_condition: "条件を追加",
4896
+ edit_rule: "ルールを編集",
4897
+ when: "条件",
4898
+ and: "かつ",
4899
+ or: "または",
3966
4900
  time: {
3967
4901
  all_time: "All time",
3968
4902
  custom: "Custom date/time",
@@ -3978,6 +4912,36 @@ const Ne = {
3978
4912
  mission_configuration: "Mission configuration",
3979
4913
  reward_setup: "Reward setup"
3980
4914
  },
4915
+ templateDialog: {
4916
+ mostPopular: "人気",
4917
+ hot: "注目",
4918
+ templateList: "テンプレート一覧",
4919
+ subtitle: "ビジネスに合わせて柔軟に対応できるテンプレートで、すばやく始めましょう。",
4920
+ customCampaign: "カスタムキャンペーン",
4921
+ cancel: "キャンセル",
4922
+ start: "開始",
4923
+ intention: {
4924
+ MEMBER_REWARD: "会員特典",
4925
+ PAID_LOYALTY: "有料ロイヤルティ",
4926
+ COLLECT_FEEDBACK: "フィードバック収集",
4927
+ REVISITING: "再来店促進",
4928
+ SPEND_MORE: "購入促進",
4929
+ PRODUCT_LAUNCHING: "製品ローンチ",
4930
+ BROADCAST: "ブロードキャスト",
4931
+ BIRTHDAY: "誕生日",
4932
+ GAME: "ゲーム"
4933
+ },
4934
+ campaignType: {
4935
+ PROMOTION: "プロモーションキャンペーン",
4936
+ VOUCHER: "バウチャーキャンペーン",
4937
+ CREDIT: "クレジットキャンペーン",
4938
+ POINT: "エクスペリエンスキャンペーン",
4939
+ COIN: "ポイントキャンペーン",
4940
+ GAME: "ゲームキャンペーン",
4941
+ BROADCAST: "ブロードキャストキャンペーン",
4942
+ STAMP: "スタンプキャンペーン"
4943
+ }
4944
+ },
3981
4945
  campaign: {
3982
4946
  common: {
3983
4947
  campaign: "キャンペーン",
@@ -4025,7 +4989,24 @@ const Ne = {
4025
4989
  active: "Active",
4026
4990
  upcoming: "Upcoming",
4027
4991
  expired: "Expired"
4028
- }
4992
+ },
4993
+ typeName: {
4994
+ CREDIT: "クレジット",
4995
+ PROMOTION: "プロモーション",
4996
+ VOUCHER: "バウチャー",
4997
+ POINT: "エクスペリエンス",
4998
+ BROADCAST: "ブロードキャスト",
4999
+ GAME: "トークン",
5000
+ REWARD_POOL: "報酬プール",
5001
+ COIN: "ポイント",
5002
+ MEMBERSHIP: "メンバーシップ",
5003
+ MISSION: "ミッション"
5004
+ },
5005
+ edit_campaign_title: "{typeName}キャンペーンを編集",
5006
+ create_campaign_title: "{typeName}キャンペーンを作成"
5007
+ },
5008
+ trigger: {
5009
+ description: "報酬を有効にするために満たすべき条件を定義します。"
4029
5010
  },
4030
5011
  mission: {
4031
5012
  title: "ミッション",
@@ -4042,7 +5023,22 @@ const Ne = {
4042
5023
  description: "ミッション機能はショッピングに楽しい要素を加え、顧客のさらなる関与を促します。",
4043
5024
  createButton: "ミッションプログラムの作成",
4044
5025
  type: "ミッションタイプ",
4045
- received: "受け取った"
5026
+ received: "受け取った",
5027
+ missionType: "ミッションタイプ",
5028
+ typeOption: {
5029
+ STAMP: {
5030
+ label: "スタンプ",
5031
+ description: "購入でスタンプを付与し、設定した目標達成後に交換できます。"
5032
+ },
5033
+ PROGRESSIVE: {
5034
+ label: "プログレス",
5035
+ description: "累計消費目標に達したお客様に報酬を与えます。"
5036
+ }
5037
+ },
5038
+ collectionsRequired: "必要な収集数",
5039
+ collectionsRequiredDescription: "ミッション完了に必要なスタンプの総数を入力してください",
5040
+ maximumToCollect: "最大収集数",
5041
+ thresholdHelperText: "報酬資格に必要な閾値を設定してください"
4046
5042
  },
4047
5043
  broadcast: {
4048
5044
  title: "放送",
@@ -4098,6 +5094,48 @@ const Ne = {
4098
5094
  errorButton: "わかりました",
4099
5095
  success: "クーポンリンクをクリップボードにコピーしました"
4100
5096
  }
5097
+ },
5098
+ earningOption: {
5099
+ type: {
5100
+ PROPORTIONAL: {
5101
+ label: "消費金額ベース",
5102
+ sublabel: "お客様は消費金額に応じて報酬を獲得できます。"
5103
+ },
5104
+ FIXED: {
5105
+ label: "固定金額",
5106
+ sublabel: "お客様は特定のアクションに対して固定の報酬を獲得できます。"
5107
+ }
5108
+ },
5109
+ spendingType: "消費タイプ",
5110
+ amountSpent: {
5111
+ label: "消費金額",
5112
+ sublabel: "消費金額で{configName}を獲得"
5113
+ },
5114
+ receiveLabel: "{configName}を獲得",
5115
+ forEvery: "ごとに",
5116
+ amountSpend: "消費金額 ({currency})",
5117
+ productBought: {
5118
+ label: "購入商品",
5119
+ sublabel: "購入商品で{configName}を獲得"
5120
+ },
5121
+ productsSelected: "{count}件の商品を選択中",
5122
+ selectProduct: "商品を選択",
5123
+ itemPurchased: "購入商品"
5124
+ },
5125
+ gameType: {
5126
+ option: {
5127
+ FORTUNE_WHEEL: {
5128
+ label: "フォーチュンホイール",
5129
+ description: "お客様がフォーチュンホイールを回してさまざまな報酬を獲得できます。"
5130
+ },
5131
+ ROCK_PAPER_SCISSORS: {
5132
+ label: "グー・チョキ・パー",
5133
+ description: "お客様がレジ打ちとグーチョキパーをします。"
5134
+ }
5135
+ }
5136
+ },
5137
+ rewardPool: {
5138
+ addReward: "報酬を追加"
4101
5139
  }
4102
5140
  },
4103
5141
  promotion: {
@@ -4415,6 +5453,10 @@ const Ne = {
4415
5453
  title: "パフォーマンスを追跡するためのキャンペーン グループを作成する",
4416
5454
  description: "グループを作成して、キャンペーンやプロモーションを整理しましょう。グループを使用すると、複数のバウチャー、プロモーション、その他の特典のパフォーマンス指標を集計できます。",
4417
5455
  action: "グループを作成"
5456
+ },
5457
+ maintenance: {
5458
+ title: "分析ダッシュボードは一時的にご利用いただけません",
5459
+ description: "ご不便をおかけして申し訳ございません。分析ダッシュボードは現在、お客様のご利用体験向上のためにメンテナンス中です。システムの利用可能状況については、後ほど再度ご確認ください。"
4418
5460
  }
4419
5461
  },
4420
5462
  marketing: {
@@ -4510,6 +5552,8 @@ const Ne = {
4510
5552
  },
4511
5553
  transaction: {
4512
5554
  title: "取引",
5555
+ refunded: "返金済み",
5556
+ completed: "完了",
4513
5557
  tabs: {
4514
5558
  collection: "コレクション",
4515
5559
  store: "店"
@@ -4634,6 +5678,16 @@ const Ne = {
4634
5678
  }
4635
5679
  }
4636
5680
  }
5681
+ },
5682
+ taxPropagation: {
5683
+ title: "バンドル税設定を更新",
5684
+ confirm: "すべてのバンドルを更新",
5685
+ addConfirm: "税コード {taxCode} がすべてのバンドルに適用され、バンドル価格が再計算されます。今すぐすべてのバンドルを更新しますか?",
5686
+ removeConfirm: "すべてのバンドルから税設定が削除され、バンドル価格が再計算されます。今すぐすべてのバンドルを更新しますか?",
5687
+ updateConfirm: "税の内税/外税設定が変更されました。すべてのバンドル価格が再計算されます。今すぐすべてのバンドルを更新しますか?",
5688
+ defaultTax: "デフォルト税",
5689
+ updating: "バンドル税設定を更新しています...",
5690
+ success: "すべてのバンドル税設定が正常に更新されました"
4637
5691
  }
4638
5692
  },
4639
5693
  storeRewards: {
@@ -4816,8 +5870,14 @@ const Ne = {
4816
5870
  },
4817
5871
  queue: {
4818
5872
  title: "Queue"
5873
+ },
5874
+ effect: {
5875
+ title: "割引を適用",
5876
+ description: "顧客に提供したい割引を設定してください。",
5877
+ with: "笠件",
5878
+ removeConfirm: "この割引を削除してもよいですか?"
4819
5879
  }
4820
- }, He = {
5880
+ }, Xe = {
4821
5881
  invalid_type: "予想{{expected}}、受信{{received}}",
4822
5882
  errors: {
4823
5883
  invalid_type: "予想{{expected}}、受信{{received}}",
@@ -4947,45 +6007,45 @@ const Ne = {
4947
6007
  effect_required: "効果が必要です"
4948
6008
  }
4949
6009
  }, Qe = {
4950
- connect: Ye,
4951
- connectZod: He,
6010
+ connect: Ke,
6011
+ connectZod: Xe,
4952
6012
  connectZodCustom: Je
4953
6013
  };
4954
6014
  var b;
4955
6015
  (function(i) {
4956
- i.assertEqual = (n) => n;
4957
- function e(n) {
6016
+ i.assertEqual = (r) => r;
6017
+ function e(r) {
4958
6018
  }
4959
6019
  i.assertIs = e;
4960
- function t(n) {
6020
+ function t(r) {
4961
6021
  throw new Error();
4962
6022
  }
4963
- i.assertNever = t, i.arrayToEnum = (n) => {
4964
- const r = {};
4965
- for (const s of n)
4966
- r[s] = s;
4967
- return r;
4968
- }, i.getValidEnumValues = (n) => {
4969
- const r = i.objectKeys(n).filter((o) => typeof n[n[o]] != "number"), s = {};
6023
+ i.assertNever = t, i.arrayToEnum = (r) => {
6024
+ const n = {};
4970
6025
  for (const o of r)
4971
- s[o] = n[o];
4972
- return i.objectValues(s);
4973
- }, i.objectValues = (n) => i.objectKeys(n).map(function(r) {
4974
- return n[r];
4975
- }), i.objectKeys = typeof Object.keys == "function" ? (n) => Object.keys(n) : (n) => {
4976
- const r = [];
4977
- for (const s in n)
4978
- Object.prototype.hasOwnProperty.call(n, s) && r.push(s);
4979
- return r;
4980
- }, i.find = (n, r) => {
6026
+ n[o] = o;
6027
+ return n;
6028
+ }, i.getValidEnumValues = (r) => {
6029
+ const n = i.objectKeys(r).filter((s) => typeof r[r[s]] != "number"), o = {};
4981
6030
  for (const s of n)
4982
- if (r(s))
4983
- return s;
4984
- }, i.isInteger = typeof Number.isInteger == "function" ? (n) => Number.isInteger(n) : (n) => typeof n == "number" && isFinite(n) && Math.floor(n) === n;
4985
- function a(n, r = " | ") {
4986
- return n.map((s) => typeof s == "string" ? `'${s}'` : s).join(r);
6031
+ o[s] = r[s];
6032
+ return i.objectValues(o);
6033
+ }, i.objectValues = (r) => i.objectKeys(r).map(function(n) {
6034
+ return r[n];
6035
+ }), i.objectKeys = typeof Object.keys == "function" ? (r) => Object.keys(r) : (r) => {
6036
+ const n = [];
6037
+ for (const o in r)
6038
+ Object.prototype.hasOwnProperty.call(r, o) && n.push(o);
6039
+ return n;
6040
+ }, i.find = (r, n) => {
6041
+ for (const o of r)
6042
+ if (n(o))
6043
+ return o;
6044
+ }, i.isInteger = typeof Number.isInteger == "function" ? (r) => Number.isInteger(r) : (r) => typeof r == "number" && isFinite(r) && Math.floor(r) === r;
6045
+ function a(r, n = " | ") {
6046
+ return r.map((o) => typeof o == "string" ? `'${o}'` : o).join(n);
4987
6047
  }
4988
- i.joinValues = a, i.jsonStringifyReplacer = (n, r) => typeof r == "bigint" ? r.toString() : r;
6048
+ i.joinValues = a, i.jsonStringifyReplacer = (r, n) => typeof n == "bigint" ? n.toString() : n;
4989
6049
  })(b || (b = {}));
4990
6050
  var be;
4991
6051
  (function(i) {
@@ -5016,7 +6076,7 @@ const l = b.arrayToEnum([
5016
6076
  "never",
5017
6077
  "map",
5018
6078
  "set"
5019
- ]), D = (i) => {
6079
+ ]), L = (i) => {
5020
6080
  switch (typeof i) {
5021
6081
  case "undefined":
5022
6082
  return l.undefined;
@@ -5054,8 +6114,8 @@ const l = b.arrayToEnum([
5054
6114
  "invalid_intersection_types",
5055
6115
  "not_multiple_of",
5056
6116
  "not_finite"
5057
- ]), Xe = (i) => JSON.stringify(i, null, 2).replace(/"([^"]+)":/g, "$1:");
5058
- class E extends Error {
6117
+ ]), et = (i) => JSON.stringify(i, null, 2).replace(/"([^"]+)":/g, "$1:");
6118
+ class O extends Error {
5059
6119
  constructor(e) {
5060
6120
  super(), this.issues = [], this.addIssue = (a) => {
5061
6121
  this.issues = [...this.issues, a];
@@ -5069,27 +6129,27 @@ class E extends Error {
5069
6129
  return this.issues;
5070
6130
  }
5071
6131
  format(e) {
5072
- const t = e || function(r) {
5073
- return r.message;
5074
- }, a = { _errors: [] }, n = (r) => {
5075
- for (const s of r.issues)
5076
- if (s.code === "invalid_union")
5077
- s.unionErrors.map(n);
5078
- else if (s.code === "invalid_return_type")
5079
- n(s.returnTypeError);
5080
- else if (s.code === "invalid_arguments")
5081
- n(s.argumentsError);
5082
- else if (s.path.length === 0)
5083
- a._errors.push(t(s));
6132
+ const t = e || function(n) {
6133
+ return n.message;
6134
+ }, a = { _errors: [] }, r = (n) => {
6135
+ for (const o of n.issues)
6136
+ if (o.code === "invalid_union")
6137
+ o.unionErrors.map(r);
6138
+ else if (o.code === "invalid_return_type")
6139
+ r(o.returnTypeError);
6140
+ else if (o.code === "invalid_arguments")
6141
+ r(o.argumentsError);
6142
+ else if (o.path.length === 0)
6143
+ a._errors.push(t(o));
5084
6144
  else {
5085
- let o = a, m = 0;
5086
- for (; m < s.path.length; ) {
5087
- const d = s.path[m];
5088
- 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++;
6145
+ let s = a, m = 0;
6146
+ for (; m < o.path.length; ) {
6147
+ const d = o.path[m];
6148
+ m === o.path.length - 1 ? (s[d] = s[d] || { _errors: [] }, s[d]._errors.push(t(o))) : s[d] = s[d] || { _errors: [] }, s = s[d], m++;
5089
6149
  }
5090
6150
  }
5091
6151
  };
5092
- return n(this), a;
6152
+ return r(this), a;
5093
6153
  }
5094
6154
  toString() {
5095
6155
  return this.message;
@@ -5102,15 +6162,15 @@ class E extends Error {
5102
6162
  }
5103
6163
  flatten(e = (t) => t.message) {
5104
6164
  const t = {}, a = [];
5105
- for (const n of this.issues)
5106
- n.path.length > 0 ? (t[n.path[0]] = t[n.path[0]] || [], t[n.path[0]].push(e(n))) : a.push(e(n));
6165
+ for (const r of this.issues)
6166
+ r.path.length > 0 ? (t[r.path[0]] = t[r.path[0]] || [], t[r.path[0]].push(e(r))) : a.push(e(r));
5107
6167
  return { formErrors: a, fieldErrors: t };
5108
6168
  }
5109
6169
  get formErrors() {
5110
6170
  return this.flatten();
5111
6171
  }
5112
6172
  }
5113
- E.create = (i) => new E(i);
6173
+ O.create = (i) => new O(i);
5114
6174
  const Y = (i, e) => {
5115
6175
  let t;
5116
6176
  switch (i.code) {
@@ -5168,27 +6228,27 @@ const Y = (i, e) => {
5168
6228
  return { message: t };
5169
6229
  };
5170
6230
  let Se = Y;
5171
- function Ke(i) {
6231
+ function tt(i) {
5172
6232
  Se = i;
5173
6233
  }
5174
6234
  function ce() {
5175
6235
  return Se;
5176
6236
  }
5177
6237
  const de = (i) => {
5178
- const { data: e, path: t, errorMaps: a, issueData: n } = i, r = [...t, ...n.path || []], s = {
5179
- ...n,
5180
- path: r
6238
+ const { data: e, path: t, errorMaps: a, issueData: r } = i, n = [...t, ...r.path || []], o = {
6239
+ ...r,
6240
+ path: n
5181
6241
  };
5182
- let o = "";
6242
+ let s = "";
5183
6243
  const m = a.filter((d) => !!d).slice().reverse();
5184
6244
  for (const d of m)
5185
- o = d(s, { data: e, defaultError: o }).message;
6245
+ s = d(o, { data: e, defaultError: s }).message;
5186
6246
  return {
5187
- ...n,
5188
- path: r,
5189
- message: n.message || o
6247
+ ...r,
6248
+ path: n,
6249
+ message: r.message || s
5190
6250
  };
5191
- }, et = [];
6251
+ }, it = [];
5192
6252
  function u(i, e) {
5193
6253
  const t = de({
5194
6254
  issueData: e,
@@ -5204,7 +6264,7 @@ function u(i, e) {
5204
6264
  });
5205
6265
  i.common.issues.push(t);
5206
6266
  }
5207
- class C {
6267
+ class R {
5208
6268
  constructor() {
5209
6269
  this.value = "valid";
5210
6270
  }
@@ -5216,50 +6276,50 @@ class C {
5216
6276
  }
5217
6277
  static mergeArray(e, t) {
5218
6278
  const a = [];
5219
- for (const n of t) {
5220
- if (n.status === "aborted")
6279
+ for (const r of t) {
6280
+ if (r.status === "aborted")
5221
6281
  return g;
5222
- n.status === "dirty" && e.dirty(), a.push(n.value);
6282
+ r.status === "dirty" && e.dirty(), a.push(r.value);
5223
6283
  }
5224
6284
  return { status: e.value, value: a };
5225
6285
  }
5226
6286
  static async mergeObjectAsync(e, t) {
5227
6287
  const a = [];
5228
- for (const n of t)
6288
+ for (const r of t)
5229
6289
  a.push({
5230
- key: await n.key,
5231
- value: await n.value
6290
+ key: await r.key,
6291
+ value: await r.value
5232
6292
  });
5233
- return C.mergeObjectSync(e, a);
6293
+ return R.mergeObjectSync(e, a);
5234
6294
  }
5235
6295
  static mergeObjectSync(e, t) {
5236
6296
  const a = {};
5237
- for (const n of t) {
5238
- const { key: r, value: s } = n;
5239
- if (r.status === "aborted" || s.status === "aborted")
6297
+ for (const r of t) {
6298
+ const { key: n, value: o } = r;
6299
+ if (n.status === "aborted" || o.status === "aborted")
5240
6300
  return g;
5241
- r.status === "dirty" && e.dirty(), s.status === "dirty" && e.dirty(), r.value !== "__proto__" && (typeof s.value < "u" || n.alwaysSet) && (a[r.value] = s.value);
6301
+ n.status === "dirty" && e.dirty(), o.status === "dirty" && e.dirty(), n.value !== "__proto__" && (typeof o.value < "u" || r.alwaysSet) && (a[n.value] = o.value);
5242
6302
  }
5243
6303
  return { status: e.value, value: a };
5244
6304
  }
5245
6305
  }
5246
6306
  const g = Object.freeze({
5247
6307
  status: "aborted"
5248
- }), 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;
6308
+ }), Ae = (i) => ({ status: "dirty", value: i }), S = (i) => ({ status: "valid", value: i }), xe = (i) => i.status === "aborted", we = (i) => i.status === "dirty", z = (i) => i.status === "valid", le = (i) => typeof Promise < "u" && i instanceof Promise;
5249
6309
  var p;
5250
6310
  (function(i) {
5251
6311
  i.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, i.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
5252
6312
  })(p || (p = {}));
5253
- class P {
5254
- constructor(e, t, a, n) {
5255
- this._cachedPath = [], this.parent = e, this.data = t, this._path = a, this._key = n;
6313
+ class I {
6314
+ constructor(e, t, a, r) {
6315
+ this._cachedPath = [], this.parent = e, this.data = t, this._path = a, this._key = r;
5256
6316
  }
5257
6317
  get path() {
5258
6318
  return this._cachedPath.length || (this._key instanceof Array ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;
5259
6319
  }
5260
6320
  }
5261
6321
  const Te = (i, e) => {
5262
- if (H(e))
6322
+ if (z(e))
5263
6323
  return { success: !0, data: e.value };
5264
6324
  if (!i.common.issues.length)
5265
6325
  throw new Error("Validation failed but no issues detected.");
@@ -5268,7 +6328,7 @@ const Te = (i, e) => {
5268
6328
  get error() {
5269
6329
  if (this._error)
5270
6330
  return this._error;
5271
- const t = new E(i.common.issues);
6331
+ const t = new O(i.common.issues);
5272
6332
  return this._error = t, this._error;
5273
6333
  }
5274
6334
  };
@@ -5276,10 +6336,10 @@ const Te = (i, e) => {
5276
6336
  function h(i) {
5277
6337
  if (!i)
5278
6338
  return {};
5279
- const { errorMap: e, invalid_type_error: t, required_error: a, description: n } = i;
6339
+ const { errorMap: e, invalid_type_error: t, required_error: a, description: r } = i;
5280
6340
  if (e && (t || a))
5281
6341
  throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);
5282
- 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 };
6342
+ return e ? { errorMap: e, description: r } : { errorMap: (o, s) => o.code !== "invalid_type" ? { message: s.defaultError } : typeof s.data > "u" ? { message: a ?? s.defaultError } : { message: t ?? s.defaultError }, description: r };
5283
6343
  }
5284
6344
  class v {
5285
6345
  constructor(e) {
@@ -5289,13 +6349,13 @@ class v {
5289
6349
  return this._def.description;
5290
6350
  }
5291
6351
  _getType(e) {
5292
- return D(e.data);
6352
+ return L(e.data);
5293
6353
  }
5294
6354
  _getOrReturnCtx(e, t) {
5295
6355
  return t || {
5296
6356
  common: e.parent.common,
5297
6357
  data: e.data,
5298
- parsedType: D(e.data),
6358
+ parsedType: L(e.data),
5299
6359
  schemaErrorMap: this._def.errorMap,
5300
6360
  path: e.path,
5301
6361
  parent: e.parent
@@ -5303,11 +6363,11 @@ class v {
5303
6363
  }
5304
6364
  _processInputParams(e) {
5305
6365
  return {
5306
- status: new C(),
6366
+ status: new R(),
5307
6367
  ctx: {
5308
6368
  common: e.parent.common,
5309
6369
  data: e.data,
5310
- parsedType: D(e.data),
6370
+ parsedType: L(e.data),
5311
6371
  schemaErrorMap: this._def.errorMap,
5312
6372
  path: e.path,
5313
6373
  parent: e.parent
@@ -5332,7 +6392,7 @@ class v {
5332
6392
  }
5333
6393
  safeParse(e, t) {
5334
6394
  var a;
5335
- const n = {
6395
+ const r = {
5336
6396
  common: {
5337
6397
  issues: [],
5338
6398
  async: (a = t == null ? void 0 : t.async) !== null && a !== void 0 ? a : !1,
@@ -5342,9 +6402,9 @@ class v {
5342
6402
  schemaErrorMap: this._def.errorMap,
5343
6403
  parent: null,
5344
6404
  data: e,
5345
- parsedType: D(e)
5346
- }, r = this._parseSync({ data: e, path: n.path, parent: n });
5347
- return Te(n, r);
6405
+ parsedType: L(e)
6406
+ }, n = this._parseSync({ data: e, path: r.path, parent: r });
6407
+ return Te(r, n);
5348
6408
  }
5349
6409
  async parseAsync(e, t) {
5350
6410
  const a = await this.safeParseAsync(e, t);
@@ -5363,27 +6423,27 @@ class v {
5363
6423
  schemaErrorMap: this._def.errorMap,
5364
6424
  parent: null,
5365
6425
  data: e,
5366
- parsedType: D(e)
5367
- }, n = this._parse({ data: e, path: a.path, parent: a }), r = await (le(n) ? n : Promise.resolve(n));
5368
- return Te(a, r);
6426
+ parsedType: L(e)
6427
+ }, r = this._parse({ data: e, path: a.path, parent: a }), n = await (le(r) ? r : Promise.resolve(r));
6428
+ return Te(a, n);
5369
6429
  }
5370
6430
  refine(e, t) {
5371
- const a = (n) => typeof t == "string" || typeof t > "u" ? { message: t } : typeof t == "function" ? t(n) : t;
5372
- return this._refinement((n, r) => {
5373
- const s = e(n), o = () => r.addIssue({
6431
+ const a = (r) => typeof t == "string" || typeof t > "u" ? { message: t } : typeof t == "function" ? t(r) : t;
6432
+ return this._refinement((r, n) => {
6433
+ const o = e(r), s = () => n.addIssue({
5374
6434
  code: c.custom,
5375
- ...a(n)
6435
+ ...a(r)
5376
6436
  });
5377
- return typeof Promise < "u" && s instanceof Promise ? s.then((m) => m ? !0 : (o(), !1)) : s ? !0 : (o(), !1);
6437
+ return typeof Promise < "u" && o instanceof Promise ? o.then((m) => m ? !0 : (s(), !1)) : o ? !0 : (s(), !1);
5378
6438
  });
5379
6439
  }
5380
6440
  refinement(e, t) {
5381
- return this._refinement((a, n) => e(a) ? !0 : (n.addIssue(typeof t == "function" ? t(a, n) : t), !1));
6441
+ return this._refinement((a, r) => e(a) ? !0 : (r.addIssue(typeof t == "function" ? t(a, r) : t), !1));
5382
6442
  }
5383
6443
  _refinement(e) {
5384
- return new M({
6444
+ return new P({
5385
6445
  schema: this,
5386
- typeName: f.ZodEffects,
6446
+ typeName: _.ZodEffects,
5387
6447
  effect: { type: "refinement", refinement: e }
5388
6448
  });
5389
6449
  }
@@ -5391,57 +6451,57 @@ class v {
5391
6451
  return this._refinement(e);
5392
6452
  }
5393
6453
  optional() {
5394
- return N.create(this, this._def);
6454
+ return M.create(this, this._def);
5395
6455
  }
5396
6456
  nullable() {
5397
- return q.create(this, this._def);
6457
+ return $.create(this, this._def);
5398
6458
  }
5399
6459
  nullish() {
5400
6460
  return this.nullable().optional();
5401
6461
  }
5402
6462
  array() {
5403
- return I.create(this, this._def);
6463
+ return k.create(this, this._def);
5404
6464
  }
5405
6465
  promise() {
5406
- return F.create(this, this._def);
6466
+ return H.create(this, this._def);
5407
6467
  }
5408
6468
  or(e) {
5409
- return K.create([this, e], this._def);
6469
+ return Q.create([this, e], this._def);
5410
6470
  }
5411
6471
  and(e) {
5412
6472
  return ee.create(this, e, this._def);
5413
6473
  }
5414
6474
  transform(e) {
5415
- return new M({
6475
+ return new P({
5416
6476
  ...h(this._def),
5417
6477
  schema: this,
5418
- typeName: f.ZodEffects,
6478
+ typeName: _.ZodEffects,
5419
6479
  effect: { type: "transform", transform: e }
5420
6480
  });
5421
6481
  }
5422
6482
  default(e) {
5423
6483
  const t = typeof e == "function" ? e : () => e;
5424
- return new re({
6484
+ return new ne({
5425
6485
  ...h(this._def),
5426
6486
  innerType: this,
5427
6487
  defaultValue: t,
5428
- typeName: f.ZodDefault
6488
+ typeName: _.ZodDefault
5429
6489
  });
5430
6490
  }
5431
6491
  brand() {
5432
- return new Ee({
5433
- typeName: f.ZodBranded,
6492
+ return new Oe({
6493
+ typeName: _.ZodBranded,
5434
6494
  type: this,
5435
6495
  ...h(this._def)
5436
6496
  });
5437
6497
  }
5438
6498
  catch(e) {
5439
6499
  const t = typeof e == "function" ? e : () => e;
5440
- return new fe({
6500
+ return new _e({
5441
6501
  ...h(this._def),
5442
6502
  innerType: this,
5443
6503
  catchValue: t,
5444
- typeName: f.ZodCatch
6504
+ typeName: _.ZodCatch
5445
6505
  });
5446
6506
  }
5447
6507
  describe(e) {
@@ -5452,7 +6512,7 @@ class v {
5452
6512
  });
5453
6513
  }
5454
6514
  pipe(e) {
5455
- return se.create(this, e);
6515
+ return oe.create(this, e);
5456
6516
  }
5457
6517
  readonly() {
5458
6518
  return ge.create(this);
@@ -5464,146 +6524,146 @@ class v {
5464
6524
  return this.safeParse(null).success;
5465
6525
  }
5466
6526
  }
5467
- 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})+$";
6527
+ const at = /^c[^\s-]{8,}$/i, rt = /^[a-z][a-z0-9]*$/, nt = /^[0-9A-HJKMNP-TV-Z]{26}$/, ot = /^[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, st = /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, ct = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
5468
6528
  let ye;
5469
- 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$");
5470
- function lt(i, e) {
5471
- return !!((e === "v4" || !e) && ot.test(i) || (e === "v6" || !e) && ct.test(i));
6529
+ const dt = /^(((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}))$/, lt = /^(([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})))$/, ut = (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$");
6530
+ function mt(i, e) {
6531
+ return !!((e === "v4" || !e) && dt.test(i) || (e === "v6" || !e) && lt.test(i));
5472
6532
  }
5473
- class k extends v {
6533
+ class E extends v {
5474
6534
  _parse(e) {
5475
6535
  if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== l.string) {
5476
- const r = this._getOrReturnCtx(e);
6536
+ const n = this._getOrReturnCtx(e);
5477
6537
  return u(
5478
- r,
6538
+ n,
5479
6539
  {
5480
6540
  code: c.invalid_type,
5481
6541
  expected: l.string,
5482
- received: r.parsedType
6542
+ received: n.parsedType
5483
6543
  }
5484
6544
  //
5485
6545
  ), g;
5486
6546
  }
5487
- const a = new C();
5488
- let n;
5489
- for (const r of this._def.checks)
5490
- if (r.kind === "min")
5491
- e.data.length < r.value && (n = this._getOrReturnCtx(e, n), u(n, {
6547
+ const a = new R();
6548
+ let r;
6549
+ for (const n of this._def.checks)
6550
+ if (n.kind === "min")
6551
+ e.data.length < n.value && (r = this._getOrReturnCtx(e, r), u(r, {
5492
6552
  code: c.too_small,
5493
- minimum: r.value,
6553
+ minimum: n.value,
5494
6554
  type: "string",
5495
6555
  inclusive: !0,
5496
6556
  exact: !1,
5497
- message: r.message
6557
+ message: n.message
5498
6558
  }), a.dirty());
5499
- else if (r.kind === "max")
5500
- e.data.length > r.value && (n = this._getOrReturnCtx(e, n), u(n, {
6559
+ else if (n.kind === "max")
6560
+ e.data.length > n.value && (r = this._getOrReturnCtx(e, r), u(r, {
5501
6561
  code: c.too_big,
5502
- maximum: r.value,
6562
+ maximum: n.value,
5503
6563
  type: "string",
5504
6564
  inclusive: !0,
5505
6565
  exact: !1,
5506
- message: r.message
6566
+ message: n.message
5507
6567
  }), a.dirty());
5508
- else if (r.kind === "length") {
5509
- const s = e.data.length > r.value, o = e.data.length < r.value;
5510
- (s || o) && (n = this._getOrReturnCtx(e, n), s ? u(n, {
6568
+ else if (n.kind === "length") {
6569
+ const o = e.data.length > n.value, s = e.data.length < n.value;
6570
+ (o || s) && (r = this._getOrReturnCtx(e, r), o ? u(r, {
5511
6571
  code: c.too_big,
5512
- maximum: r.value,
6572
+ maximum: n.value,
5513
6573
  type: "string",
5514
6574
  inclusive: !0,
5515
6575
  exact: !0,
5516
- message: r.message
5517
- }) : o && u(n, {
6576
+ message: n.message
6577
+ }) : s && u(r, {
5518
6578
  code: c.too_small,
5519
- minimum: r.value,
6579
+ minimum: n.value,
5520
6580
  type: "string",
5521
6581
  inclusive: !0,
5522
6582
  exact: !0,
5523
- message: r.message
6583
+ message: n.message
5524
6584
  }), a.dirty());
5525
- } else if (r.kind === "email")
5526
- rt.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
6585
+ } else if (n.kind === "email")
6586
+ st.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
5527
6587
  validation: "email",
5528
6588
  code: c.invalid_string,
5529
- message: r.message
6589
+ message: n.message
5530
6590
  }), a.dirty());
5531
- else if (r.kind === "emoji")
5532
- ye || (ye = new RegExp(st, "u")), ye.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
6591
+ else if (n.kind === "emoji")
6592
+ ye || (ye = new RegExp(ct, "u")), ye.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
5533
6593
  validation: "emoji",
5534
6594
  code: c.invalid_string,
5535
- message: r.message
6595
+ message: n.message
5536
6596
  }), a.dirty());
5537
- else if (r.kind === "uuid")
5538
- nt.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
6597
+ else if (n.kind === "uuid")
6598
+ ot.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
5539
6599
  validation: "uuid",
5540
6600
  code: c.invalid_string,
5541
- message: r.message
6601
+ message: n.message
5542
6602
  }), a.dirty());
5543
- else if (r.kind === "cuid")
5544
- tt.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
6603
+ else if (n.kind === "cuid")
6604
+ at.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
5545
6605
  validation: "cuid",
5546
6606
  code: c.invalid_string,
5547
- message: r.message
6607
+ message: n.message
5548
6608
  }), a.dirty());
5549
- else if (r.kind === "cuid2")
5550
- it.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
6609
+ else if (n.kind === "cuid2")
6610
+ rt.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
5551
6611
  validation: "cuid2",
5552
6612
  code: c.invalid_string,
5553
- message: r.message
6613
+ message: n.message
5554
6614
  }), a.dirty());
5555
- else if (r.kind === "ulid")
5556
- at.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
6615
+ else if (n.kind === "ulid")
6616
+ nt.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
5557
6617
  validation: "ulid",
5558
6618
  code: c.invalid_string,
5559
- message: r.message
6619
+ message: n.message
5560
6620
  }), a.dirty());
5561
- else if (r.kind === "url")
6621
+ else if (n.kind === "url")
5562
6622
  try {
5563
6623
  new URL(e.data);
5564
6624
  } catch {
5565
- n = this._getOrReturnCtx(e, n), u(n, {
6625
+ r = this._getOrReturnCtx(e, r), u(r, {
5566
6626
  validation: "url",
5567
6627
  code: c.invalid_string,
5568
- message: r.message
6628
+ message: n.message
5569
6629
  }), a.dirty();
5570
6630
  }
5571
- else r.kind === "regex" ? (r.regex.lastIndex = 0, r.regex.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
6631
+ else n.kind === "regex" ? (n.regex.lastIndex = 0, n.regex.test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
5572
6632
  validation: "regex",
5573
6633
  code: c.invalid_string,
5574
- message: r.message
5575
- }), 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, {
6634
+ message: n.message
6635
+ }), a.dirty())) : n.kind === "trim" ? e.data = e.data.trim() : n.kind === "includes" ? e.data.includes(n.value, n.position) || (r = this._getOrReturnCtx(e, r), u(r, {
5576
6636
  code: c.invalid_string,
5577
- validation: { includes: r.value, position: r.position },
5578
- message: r.message
5579
- }), 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, {
6637
+ validation: { includes: n.value, position: n.position },
6638
+ message: n.message
6639
+ }), a.dirty()) : n.kind === "toLowerCase" ? e.data = e.data.toLowerCase() : n.kind === "toUpperCase" ? e.data = e.data.toUpperCase() : n.kind === "startsWith" ? e.data.startsWith(n.value) || (r = this._getOrReturnCtx(e, r), u(r, {
5580
6640
  code: c.invalid_string,
5581
- validation: { startsWith: r.value },
5582
- message: r.message
5583
- }), a.dirty()) : r.kind === "endsWith" ? e.data.endsWith(r.value) || (n = this._getOrReturnCtx(e, n), u(n, {
6641
+ validation: { startsWith: n.value },
6642
+ message: n.message
6643
+ }), a.dirty()) : n.kind === "endsWith" ? e.data.endsWith(n.value) || (r = this._getOrReturnCtx(e, r), u(r, {
5584
6644
  code: c.invalid_string,
5585
- validation: { endsWith: r.value },
5586
- message: r.message
5587
- }), a.dirty()) : r.kind === "datetime" ? dt(r).test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
6645
+ validation: { endsWith: n.value },
6646
+ message: n.message
6647
+ }), a.dirty()) : n.kind === "datetime" ? ut(n).test(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {
5588
6648
  code: c.invalid_string,
5589
6649
  validation: "datetime",
5590
- message: r.message
5591
- }), a.dirty()) : r.kind === "ip" ? lt(e.data, r.version) || (n = this._getOrReturnCtx(e, n), u(n, {
6650
+ message: n.message
6651
+ }), a.dirty()) : n.kind === "ip" ? mt(e.data, n.version) || (r = this._getOrReturnCtx(e, r), u(r, {
5592
6652
  validation: "ip",
5593
6653
  code: c.invalid_string,
5594
- message: r.message
5595
- }), a.dirty()) : b.assertNever(r);
6654
+ message: n.message
6655
+ }), a.dirty()) : b.assertNever(n);
5596
6656
  return { status: a.value, value: e.data };
5597
6657
  }
5598
6658
  _regex(e, t, a) {
5599
- return this.refinement((n) => e.test(n), {
6659
+ return this.refinement((r) => e.test(r), {
5600
6660
  validation: t,
5601
6661
  code: c.invalid_string,
5602
6662
  ...p.errToObj(a)
5603
6663
  });
5604
6664
  }
5605
6665
  _addCheck(e) {
5606
- return new k({
6666
+ return new E({
5607
6667
  ...this._def,
5608
6668
  checks: [...this._def.checks, e]
5609
6669
  });
@@ -5704,19 +6764,19 @@ class k extends v {
5704
6764
  return this.min(1, p.errToObj(e));
5705
6765
  }
5706
6766
  trim() {
5707
- return new k({
6767
+ return new E({
5708
6768
  ...this._def,
5709
6769
  checks: [...this._def.checks, { kind: "trim" }]
5710
6770
  });
5711
6771
  }
5712
6772
  toLowerCase() {
5713
- return new k({
6773
+ return new E({
5714
6774
  ...this._def,
5715
6775
  checks: [...this._def.checks, { kind: "toLowerCase" }]
5716
6776
  });
5717
6777
  }
5718
6778
  toUpperCase() {
5719
- return new k({
6779
+ return new E({
5720
6780
  ...this._def,
5721
6781
  checks: [...this._def.checks, { kind: "toUpperCase" }]
5722
6782
  });
@@ -5761,63 +6821,63 @@ class k extends v {
5761
6821
  return e;
5762
6822
  }
5763
6823
  }
5764
- k.create = (i) => {
6824
+ E.create = (i) => {
5765
6825
  var e;
5766
- return new k({
6826
+ return new E({
5767
6827
  checks: [],
5768
- typeName: f.ZodString,
6828
+ typeName: _.ZodString,
5769
6829
  coerce: (e = i == null ? void 0 : i.coerce) !== null && e !== void 0 ? e : !1,
5770
6830
  ...h(i)
5771
6831
  });
5772
6832
  };
5773
- function ut(i, e) {
5774
- 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(".", ""));
5775
- return r % s / Math.pow(10, n);
6833
+ function pt(i, e) {
6834
+ const t = (i.toString().split(".")[1] || "").length, a = (e.toString().split(".")[1] || "").length, r = t > a ? t : a, n = parseInt(i.toFixed(r).replace(".", "")), o = parseInt(e.toFixed(r).replace(".", ""));
6835
+ return n % o / Math.pow(10, r);
5776
6836
  }
5777
- class j extends v {
6837
+ class B extends v {
5778
6838
  constructor() {
5779
6839
  super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
5780
6840
  }
5781
6841
  _parse(e) {
5782
6842
  if (this._def.coerce && (e.data = Number(e.data)), this._getType(e) !== l.number) {
5783
- const r = this._getOrReturnCtx(e);
5784
- return u(r, {
6843
+ const n = this._getOrReturnCtx(e);
6844
+ return u(n, {
5785
6845
  code: c.invalid_type,
5786
6846
  expected: l.number,
5787
- received: r.parsedType
6847
+ received: n.parsedType
5788
6848
  }), g;
5789
6849
  }
5790
6850
  let a;
5791
- const n = new C();
5792
- for (const r of this._def.checks)
5793
- r.kind === "int" ? b.isInteger(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
6851
+ const r = new R();
6852
+ for (const n of this._def.checks)
6853
+ n.kind === "int" ? b.isInteger(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
5794
6854
  code: c.invalid_type,
5795
6855
  expected: "integer",
5796
6856
  received: "float",
5797
- message: r.message
5798
- }), n.dirty()) : r.kind === "min" ? (r.inclusive ? e.data < r.value : e.data <= r.value) && (a = this._getOrReturnCtx(e, a), u(a, {
6857
+ message: n.message
6858
+ }), r.dirty()) : n.kind === "min" ? (n.inclusive ? e.data < n.value : e.data <= n.value) && (a = this._getOrReturnCtx(e, a), u(a, {
5799
6859
  code: c.too_small,
5800
- minimum: r.value,
6860
+ minimum: n.value,
5801
6861
  type: "number",
5802
- inclusive: r.inclusive,
6862
+ inclusive: n.inclusive,
5803
6863
  exact: !1,
5804
- message: r.message
5805
- }), n.dirty()) : r.kind === "max" ? (r.inclusive ? e.data > r.value : e.data >= r.value) && (a = this._getOrReturnCtx(e, a), u(a, {
6864
+ message: n.message
6865
+ }), r.dirty()) : n.kind === "max" ? (n.inclusive ? e.data > n.value : e.data >= n.value) && (a = this._getOrReturnCtx(e, a), u(a, {
5806
6866
  code: c.too_big,
5807
- maximum: r.value,
6867
+ maximum: n.value,
5808
6868
  type: "number",
5809
- inclusive: r.inclusive,
6869
+ inclusive: n.inclusive,
5810
6870
  exact: !1,
5811
- message: r.message
5812
- }), n.dirty()) : r.kind === "multipleOf" ? ut(e.data, r.value) !== 0 && (a = this._getOrReturnCtx(e, a), u(a, {
6871
+ message: n.message
6872
+ }), r.dirty()) : n.kind === "multipleOf" ? pt(e.data, n.value) !== 0 && (a = this._getOrReturnCtx(e, a), u(a, {
5813
6873
  code: c.not_multiple_of,
5814
- multipleOf: r.value,
5815
- message: r.message
5816
- }), n.dirty()) : r.kind === "finite" ? Number.isFinite(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
6874
+ multipleOf: n.value,
6875
+ message: n.message
6876
+ }), r.dirty()) : n.kind === "finite" ? Number.isFinite(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
5817
6877
  code: c.not_finite,
5818
- message: r.message
5819
- }), n.dirty()) : b.assertNever(r);
5820
- return { status: n.value, value: e.data };
6878
+ message: n.message
6879
+ }), r.dirty()) : b.assertNever(n);
6880
+ return { status: r.value, value: e.data };
5821
6881
  }
5822
6882
  gte(e, t) {
5823
6883
  return this.setLimit("min", e, !0, p.toString(t));
@@ -5831,8 +6891,8 @@ class j extends v {
5831
6891
  lt(e, t) {
5832
6892
  return this.setLimit("max", e, !1, p.toString(t));
5833
6893
  }
5834
- setLimit(e, t, a, n) {
5835
- return new j({
6894
+ setLimit(e, t, a, r) {
6895
+ return new B({
5836
6896
  ...this._def,
5837
6897
  checks: [
5838
6898
  ...this._def.checks,
@@ -5840,13 +6900,13 @@ class j extends v {
5840
6900
  kind: e,
5841
6901
  value: t,
5842
6902
  inclusive: a,
5843
- message: p.toString(n)
6903
+ message: p.toString(r)
5844
6904
  }
5845
6905
  ]
5846
6906
  });
5847
6907
  }
5848
6908
  _addCheck(e) {
5849
- return new j({
6909
+ return new B({
5850
6910
  ...this._def,
5851
6911
  checks: [...this._def.checks, e]
5852
6912
  });
@@ -5940,46 +7000,46 @@ class j extends v {
5940
7000
  return Number.isFinite(t) && Number.isFinite(e);
5941
7001
  }
5942
7002
  }
5943
- j.create = (i) => new j({
7003
+ B.create = (i) => new B({
5944
7004
  checks: [],
5945
- typeName: f.ZodNumber,
7005
+ typeName: _.ZodNumber,
5946
7006
  coerce: (i == null ? void 0 : i.coerce) || !1,
5947
7007
  ...h(i)
5948
7008
  });
5949
- class B extends v {
7009
+ class j extends v {
5950
7010
  constructor() {
5951
7011
  super(...arguments), this.min = this.gte, this.max = this.lte;
5952
7012
  }
5953
7013
  _parse(e) {
5954
7014
  if (this._def.coerce && (e.data = BigInt(e.data)), this._getType(e) !== l.bigint) {
5955
- const r = this._getOrReturnCtx(e);
5956
- return u(r, {
7015
+ const n = this._getOrReturnCtx(e);
7016
+ return u(n, {
5957
7017
  code: c.invalid_type,
5958
7018
  expected: l.bigint,
5959
- received: r.parsedType
7019
+ received: n.parsedType
5960
7020
  }), g;
5961
7021
  }
5962
7022
  let a;
5963
- const n = new C();
5964
- for (const r of this._def.checks)
5965
- r.kind === "min" ? (r.inclusive ? e.data < r.value : e.data <= r.value) && (a = this._getOrReturnCtx(e, a), u(a, {
7023
+ const r = new R();
7024
+ for (const n of this._def.checks)
7025
+ n.kind === "min" ? (n.inclusive ? e.data < n.value : e.data <= n.value) && (a = this._getOrReturnCtx(e, a), u(a, {
5966
7026
  code: c.too_small,
5967
7027
  type: "bigint",
5968
- minimum: r.value,
5969
- inclusive: r.inclusive,
5970
- message: r.message
5971
- }), n.dirty()) : r.kind === "max" ? (r.inclusive ? e.data > r.value : e.data >= r.value) && (a = this._getOrReturnCtx(e, a), u(a, {
7028
+ minimum: n.value,
7029
+ inclusive: n.inclusive,
7030
+ message: n.message
7031
+ }), r.dirty()) : n.kind === "max" ? (n.inclusive ? e.data > n.value : e.data >= n.value) && (a = this._getOrReturnCtx(e, a), u(a, {
5972
7032
  code: c.too_big,
5973
7033
  type: "bigint",
5974
- maximum: r.value,
5975
- inclusive: r.inclusive,
5976
- message: r.message
5977
- }), n.dirty()) : r.kind === "multipleOf" ? e.data % r.value !== BigInt(0) && (a = this._getOrReturnCtx(e, a), u(a, {
7034
+ maximum: n.value,
7035
+ inclusive: n.inclusive,
7036
+ message: n.message
7037
+ }), r.dirty()) : n.kind === "multipleOf" ? e.data % n.value !== BigInt(0) && (a = this._getOrReturnCtx(e, a), u(a, {
5978
7038
  code: c.not_multiple_of,
5979
- multipleOf: r.value,
5980
- message: r.message
5981
- }), n.dirty()) : b.assertNever(r);
5982
- return { status: n.value, value: e.data };
7039
+ multipleOf: n.value,
7040
+ message: n.message
7041
+ }), r.dirty()) : b.assertNever(n);
7042
+ return { status: r.value, value: e.data };
5983
7043
  }
5984
7044
  gte(e, t) {
5985
7045
  return this.setLimit("min", e, !0, p.toString(t));
@@ -5993,8 +7053,8 @@ class B extends v {
5993
7053
  lt(e, t) {
5994
7054
  return this.setLimit("max", e, !1, p.toString(t));
5995
7055
  }
5996
- setLimit(e, t, a, n) {
5997
- return new B({
7056
+ setLimit(e, t, a, r) {
7057
+ return new j({
5998
7058
  ...this._def,
5999
7059
  checks: [
6000
7060
  ...this._def.checks,
@@ -6002,13 +7062,13 @@ class B extends v {
6002
7062
  kind: e,
6003
7063
  value: t,
6004
7064
  inclusive: a,
6005
- message: p.toString(n)
7065
+ message: p.toString(r)
6006
7066
  }
6007
7067
  ]
6008
7068
  });
6009
7069
  }
6010
7070
  _addCheck(e) {
6011
- return new B({
7071
+ return new j({
6012
7072
  ...this._def,
6013
7073
  checks: [...this._def.checks, e]
6014
7074
  });
@@ -6065,16 +7125,16 @@ class B extends v {
6065
7125
  return e;
6066
7126
  }
6067
7127
  }
6068
- B.create = (i) => {
7128
+ j.create = (i) => {
6069
7129
  var e;
6070
- return new B({
7130
+ return new j({
6071
7131
  checks: [],
6072
- typeName: f.ZodBigInt,
7132
+ typeName: _.ZodBigInt,
6073
7133
  coerce: (e = i == null ? void 0 : i.coerce) !== null && e !== void 0 ? e : !1,
6074
7134
  ...h(i)
6075
7135
  });
6076
7136
  };
6077
- class J extends v {
7137
+ class K extends v {
6078
7138
  _parse(e) {
6079
7139
  if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== l.boolean) {
6080
7140
  const a = this._getOrReturnCtx(e);
@@ -6087,52 +7147,52 @@ class J extends v {
6087
7147
  return S(e.data);
6088
7148
  }
6089
7149
  }
6090
- J.create = (i) => new J({
6091
- typeName: f.ZodBoolean,
7150
+ K.create = (i) => new K({
7151
+ typeName: _.ZodBoolean,
6092
7152
  coerce: (i == null ? void 0 : i.coerce) || !1,
6093
7153
  ...h(i)
6094
7154
  });
6095
- class $ extends v {
7155
+ class Z extends v {
6096
7156
  _parse(e) {
6097
7157
  if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== l.date) {
6098
- const r = this._getOrReturnCtx(e);
6099
- return u(r, {
7158
+ const n = this._getOrReturnCtx(e);
7159
+ return u(n, {
6100
7160
  code: c.invalid_type,
6101
7161
  expected: l.date,
6102
- received: r.parsedType
7162
+ received: n.parsedType
6103
7163
  }), g;
6104
7164
  }
6105
7165
  if (isNaN(e.data.getTime())) {
6106
- const r = this._getOrReturnCtx(e);
6107
- return u(r, {
7166
+ const n = this._getOrReturnCtx(e);
7167
+ return u(n, {
6108
7168
  code: c.invalid_date
6109
7169
  }), g;
6110
7170
  }
6111
- const a = new C();
6112
- let n;
6113
- for (const r of this._def.checks)
6114
- r.kind === "min" ? e.data.getTime() < r.value && (n = this._getOrReturnCtx(e, n), u(n, {
7171
+ const a = new R();
7172
+ let r;
7173
+ for (const n of this._def.checks)
7174
+ n.kind === "min" ? e.data.getTime() < n.value && (r = this._getOrReturnCtx(e, r), u(r, {
6115
7175
  code: c.too_small,
6116
- message: r.message,
7176
+ message: n.message,
6117
7177
  inclusive: !0,
6118
7178
  exact: !1,
6119
- minimum: r.value,
7179
+ minimum: n.value,
6120
7180
  type: "date"
6121
- }), a.dirty()) : r.kind === "max" ? e.data.getTime() > r.value && (n = this._getOrReturnCtx(e, n), u(n, {
7181
+ }), a.dirty()) : n.kind === "max" ? e.data.getTime() > n.value && (r = this._getOrReturnCtx(e, r), u(r, {
6122
7182
  code: c.too_big,
6123
- message: r.message,
7183
+ message: n.message,
6124
7184
  inclusive: !0,
6125
7185
  exact: !1,
6126
- maximum: r.value,
7186
+ maximum: n.value,
6127
7187
  type: "date"
6128
- }), a.dirty()) : b.assertNever(r);
7188
+ }), a.dirty()) : b.assertNever(n);
6129
7189
  return {
6130
7190
  status: a.value,
6131
7191
  value: new Date(e.data.getTime())
6132
7192
  };
6133
7193
  }
6134
7194
  _addCheck(e) {
6135
- return new $({
7195
+ return new Z({
6136
7196
  ...this._def,
6137
7197
  checks: [...this._def.checks, e]
6138
7198
  });
@@ -6164,10 +7224,10 @@ class $ extends v {
6164
7224
  return e != null ? new Date(e) : null;
6165
7225
  }
6166
7226
  }
6167
- $.create = (i) => new $({
7227
+ Z.create = (i) => new Z({
6168
7228
  checks: [],
6169
7229
  coerce: (i == null ? void 0 : i.coerce) || !1,
6170
- typeName: f.ZodDate,
7230
+ typeName: _.ZodDate,
6171
7231
  ...h(i)
6172
7232
  });
6173
7233
  class ue extends v {
@@ -6184,10 +7244,10 @@ class ue extends v {
6184
7244
  }
6185
7245
  }
6186
7246
  ue.create = (i) => new ue({
6187
- typeName: f.ZodSymbol,
7247
+ typeName: _.ZodSymbol,
6188
7248
  ...h(i)
6189
7249
  });
6190
- class Q extends v {
7250
+ class X extends v {
6191
7251
  _parse(e) {
6192
7252
  if (this._getType(e) !== l.undefined) {
6193
7253
  const a = this._getOrReturnCtx(e);
@@ -6200,11 +7260,11 @@ class Q extends v {
6200
7260
  return S(e.data);
6201
7261
  }
6202
7262
  }
6203
- Q.create = (i) => new Q({
6204
- typeName: f.ZodUndefined,
7263
+ X.create = (i) => new X({
7264
+ typeName: _.ZodUndefined,
6205
7265
  ...h(i)
6206
7266
  });
6207
- class X extends v {
7267
+ class J extends v {
6208
7268
  _parse(e) {
6209
7269
  if (this._getType(e) !== l.null) {
6210
7270
  const a = this._getOrReturnCtx(e);
@@ -6217,8 +7277,8 @@ class X extends v {
6217
7277
  return S(e.data);
6218
7278
  }
6219
7279
  }
6220
- X.create = (i) => new X({
6221
- typeName: f.ZodNull,
7280
+ J.create = (i) => new J({
7281
+ typeName: _.ZodNull,
6222
7282
  ...h(i)
6223
7283
  });
6224
7284
  class W extends v {
@@ -6230,10 +7290,10 @@ class W extends v {
6230
7290
  }
6231
7291
  }
6232
7292
  W.create = (i) => new W({
6233
- typeName: f.ZodAny,
7293
+ typeName: _.ZodAny,
6234
7294
  ...h(i)
6235
7295
  });
6236
- class Z extends v {
7296
+ class U extends v {
6237
7297
  constructor() {
6238
7298
  super(...arguments), this._unknown = !0;
6239
7299
  }
@@ -6241,11 +7301,11 @@ class Z extends v {
6241
7301
  return S(e.data);
6242
7302
  }
6243
7303
  }
6244
- Z.create = (i) => new Z({
6245
- typeName: f.ZodUnknown,
7304
+ U.create = (i) => new U({
7305
+ typeName: _.ZodUnknown,
6246
7306
  ...h(i)
6247
7307
  });
6248
- class L extends v {
7308
+ class D extends v {
6249
7309
  _parse(e) {
6250
7310
  const t = this._getOrReturnCtx(e);
6251
7311
  return u(t, {
@@ -6255,8 +7315,8 @@ class L extends v {
6255
7315
  }), g;
6256
7316
  }
6257
7317
  }
6258
- L.create = (i) => new L({
6259
- typeName: f.ZodNever,
7318
+ D.create = (i) => new D({
7319
+ typeName: _.ZodNever,
6260
7320
  ...h(i)
6261
7321
  });
6262
7322
  class me extends v {
@@ -6273,66 +7333,66 @@ class me extends v {
6273
7333
  }
6274
7334
  }
6275
7335
  me.create = (i) => new me({
6276
- typeName: f.ZodVoid,
7336
+ typeName: _.ZodVoid,
6277
7337
  ...h(i)
6278
7338
  });
6279
- class I extends v {
7339
+ class k extends v {
6280
7340
  _parse(e) {
6281
- const { ctx: t, status: a } = this._processInputParams(e), n = this._def;
7341
+ const { ctx: t, status: a } = this._processInputParams(e), r = this._def;
6282
7342
  if (t.parsedType !== l.array)
6283
7343
  return u(t, {
6284
7344
  code: c.invalid_type,
6285
7345
  expected: l.array,
6286
7346
  received: t.parsedType
6287
7347
  }), g;
6288
- if (n.exactLength !== null) {
6289
- const s = t.data.length > n.exactLength.value, o = t.data.length < n.exactLength.value;
6290
- (s || o) && (u(t, {
6291
- code: s ? c.too_big : c.too_small,
6292
- minimum: o ? n.exactLength.value : void 0,
6293
- maximum: s ? n.exactLength.value : void 0,
7348
+ if (r.exactLength !== null) {
7349
+ const o = t.data.length > r.exactLength.value, s = t.data.length < r.exactLength.value;
7350
+ (o || s) && (u(t, {
7351
+ code: o ? c.too_big : c.too_small,
7352
+ minimum: s ? r.exactLength.value : void 0,
7353
+ maximum: o ? r.exactLength.value : void 0,
6294
7354
  type: "array",
6295
7355
  inclusive: !0,
6296
7356
  exact: !0,
6297
- message: n.exactLength.message
7357
+ message: r.exactLength.message
6298
7358
  }), a.dirty());
6299
7359
  }
6300
- if (n.minLength !== null && t.data.length < n.minLength.value && (u(t, {
7360
+ if (r.minLength !== null && t.data.length < r.minLength.value && (u(t, {
6301
7361
  code: c.too_small,
6302
- minimum: n.minLength.value,
7362
+ minimum: r.minLength.value,
6303
7363
  type: "array",
6304
7364
  inclusive: !0,
6305
7365
  exact: !1,
6306
- message: n.minLength.message
6307
- }), a.dirty()), n.maxLength !== null && t.data.length > n.maxLength.value && (u(t, {
7366
+ message: r.minLength.message
7367
+ }), a.dirty()), r.maxLength !== null && t.data.length > r.maxLength.value && (u(t, {
6308
7368
  code: c.too_big,
6309
- maximum: n.maxLength.value,
7369
+ maximum: r.maxLength.value,
6310
7370
  type: "array",
6311
7371
  inclusive: !0,
6312
7372
  exact: !1,
6313
- message: n.maxLength.message
7373
+ message: r.maxLength.message
6314
7374
  }), a.dirty()), t.common.async)
6315
- return Promise.all([...t.data].map((s, o) => n.type._parseAsync(new P(t, s, t.path, o)))).then((s) => C.mergeArray(a, s));
6316
- const r = [...t.data].map((s, o) => n.type._parseSync(new P(t, s, t.path, o)));
6317
- return C.mergeArray(a, r);
7375
+ return Promise.all([...t.data].map((o, s) => r.type._parseAsync(new I(t, o, t.path, s)))).then((o) => R.mergeArray(a, o));
7376
+ const n = [...t.data].map((o, s) => r.type._parseSync(new I(t, o, t.path, s)));
7377
+ return R.mergeArray(a, n);
6318
7378
  }
6319
7379
  get element() {
6320
7380
  return this._def.type;
6321
7381
  }
6322
7382
  min(e, t) {
6323
- return new I({
7383
+ return new k({
6324
7384
  ...this._def,
6325
7385
  minLength: { value: e, message: p.toString(t) }
6326
7386
  });
6327
7387
  }
6328
7388
  max(e, t) {
6329
- return new I({
7389
+ return new k({
6330
7390
  ...this._def,
6331
7391
  maxLength: { value: e, message: p.toString(t) }
6332
7392
  });
6333
7393
  }
6334
7394
  length(e, t) {
6335
- return new I({
7395
+ return new k({
6336
7396
  ...this._def,
6337
7397
  exactLength: { value: e, message: p.toString(t) }
6338
7398
  });
@@ -6341,12 +7401,12 @@ class I extends v {
6341
7401
  return this.min(1, e);
6342
7402
  }
6343
7403
  }
6344
- I.create = (i, e) => new I({
7404
+ k.create = (i, e) => new k({
6345
7405
  type: i,
6346
7406
  minLength: null,
6347
7407
  maxLength: null,
6348
7408
  exactLength: null,
6349
- typeName: f.ZodArray,
7409
+ typeName: _.ZodArray,
6350
7410
  ...h(e)
6351
7411
  });
6352
7412
  function G(i) {
@@ -6354,16 +7414,16 @@ function G(i) {
6354
7414
  const e = {};
6355
7415
  for (const t in i.shape) {
6356
7416
  const a = i.shape[t];
6357
- e[t] = N.create(G(a));
7417
+ e[t] = M.create(G(a));
6358
7418
  }
6359
7419
  return new w({
6360
7420
  ...i._def,
6361
7421
  shape: () => e
6362
7422
  });
6363
- } else return i instanceof I ? new I({
7423
+ } else return i instanceof k ? new k({
6364
7424
  ...i._def,
6365
7425
  type: G(i.element)
6366
- }) : 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;
7426
+ }) : i instanceof M ? M.create(G(i.unwrap())) : i instanceof $ ? $.create(G(i.unwrap())) : i instanceof N ? N.create(i.items.map((e) => G(e))) : i;
6367
7427
  }
6368
7428
  class w extends v {
6369
7429
  constructor() {
@@ -6384,48 +7444,48 @@ class w extends v {
6384
7444
  received: d.parsedType
6385
7445
  }), g;
6386
7446
  }
6387
- const { status: a, ctx: n } = this._processInputParams(e), { shape: r, keys: s } = this._getCached(), o = [];
6388
- if (!(this._def.catchall instanceof L && this._def.unknownKeys === "strip"))
6389
- for (const d in n.data)
6390
- s.includes(d) || o.push(d);
7447
+ const { status: a, ctx: r } = this._processInputParams(e), { shape: n, keys: o } = this._getCached(), s = [];
7448
+ if (!(this._def.catchall instanceof D && this._def.unknownKeys === "strip"))
7449
+ for (const d in r.data)
7450
+ o.includes(d) || s.push(d);
6391
7451
  const m = [];
6392
- for (const d of s) {
6393
- const y = r[d], A = n.data[d];
7452
+ for (const d of o) {
7453
+ const y = n[d], A = r.data[d];
6394
7454
  m.push({
6395
7455
  key: { status: "valid", value: d },
6396
- value: y._parse(new P(n, A, n.path, d)),
6397
- alwaysSet: d in n.data
7456
+ value: y._parse(new I(r, A, r.path, d)),
7457
+ alwaysSet: d in r.data
6398
7458
  });
6399
7459
  }
6400
- if (this._def.catchall instanceof L) {
7460
+ if (this._def.catchall instanceof D) {
6401
7461
  const d = this._def.unknownKeys;
6402
7462
  if (d === "passthrough")
6403
- for (const y of o)
7463
+ for (const y of s)
6404
7464
  m.push({
6405
7465
  key: { status: "valid", value: y },
6406
- value: { status: "valid", value: n.data[y] }
7466
+ value: { status: "valid", value: r.data[y] }
6407
7467
  });
6408
7468
  else if (d === "strict")
6409
- o.length > 0 && (u(n, {
7469
+ s.length > 0 && (u(r, {
6410
7470
  code: c.unrecognized_keys,
6411
- keys: o
7471
+ keys: s
6412
7472
  }), a.dirty());
6413
7473
  else if (d !== "strip") throw new Error("Internal ZodObject error: invalid unknownKeys value.");
6414
7474
  } else {
6415
7475
  const d = this._def.catchall;
6416
- for (const y of o) {
6417
- const A = n.data[y];
7476
+ for (const y of s) {
7477
+ const A = r.data[y];
6418
7478
  m.push({
6419
7479
  key: { status: "valid", value: y },
6420
7480
  value: d._parse(
6421
- new P(n, A, n.path, y)
7481
+ new I(r, A, r.path, y)
6422
7482
  //, ctx.child(key), value, getParsedType(value)
6423
7483
  ),
6424
- alwaysSet: y in n.data
7484
+ alwaysSet: y in r.data
6425
7485
  });
6426
7486
  }
6427
7487
  }
6428
- return n.common.async ? Promise.resolve().then(async () => {
7488
+ return r.common.async ? Promise.resolve().then(async () => {
6429
7489
  const d = [];
6430
7490
  for (const y of m) {
6431
7491
  const A = await y.key;
@@ -6436,7 +7496,7 @@ class w extends v {
6436
7496
  });
6437
7497
  }
6438
7498
  return d;
6439
- }).then((d) => C.mergeObjectSync(a, d)) : C.mergeObjectSync(a, m);
7499
+ }).then((d) => R.mergeObjectSync(a, d)) : R.mergeObjectSync(a, m);
6440
7500
  }
6441
7501
  get shape() {
6442
7502
  return this._def.shape();
@@ -6447,10 +7507,10 @@ class w extends v {
6447
7507
  unknownKeys: "strict",
6448
7508
  ...e !== void 0 ? {
6449
7509
  errorMap: (t, a) => {
6450
- var n, r, s, o;
6451
- 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;
7510
+ var r, n, o, s;
7511
+ const m = (o = (n = (r = this._def).errorMap) === null || n === void 0 ? void 0 : n.call(r, t, a).message) !== null && o !== void 0 ? o : a.defaultError;
6452
7512
  return t.code === "unrecognized_keys" ? {
6453
- message: (o = p.errToObj(e).message) !== null && o !== void 0 ? o : m
7513
+ message: (s = p.errToObj(e).message) !== null && s !== void 0 ? s : m
6454
7514
  } : {
6455
7515
  message: m
6456
7516
  };
@@ -6509,7 +7569,7 @@ class w extends v {
6509
7569
  ...this._def.shape(),
6510
7570
  ...e._def.shape()
6511
7571
  }),
6512
- typeName: f.ZodObject
7572
+ typeName: _.ZodObject
6513
7573
  });
6514
7574
  }
6515
7575
  // merge<
@@ -6604,8 +7664,8 @@ class w extends v {
6604
7664
  partial(e) {
6605
7665
  const t = {};
6606
7666
  return b.objectKeys(this.shape).forEach((a) => {
6607
- const n = this.shape[a];
6608
- e && !e[a] ? t[a] = n : t[a] = n.optional();
7667
+ const r = this.shape[a];
7668
+ e && !e[a] ? t[a] = r : t[a] = r.optional();
6609
7669
  }), new w({
6610
7670
  ...this._def,
6611
7671
  shape: () => t
@@ -6617,10 +7677,10 @@ class w extends v {
6617
7677
  if (e && !e[a])
6618
7678
  t[a] = this.shape[a];
6619
7679
  else {
6620
- let r = this.shape[a];
6621
- for (; r instanceof N; )
6622
- r = r._def.innerType;
6623
- t[a] = r;
7680
+ let n = this.shape[a];
7681
+ for (; n instanceof M; )
7682
+ n = n._def.innerType;
7683
+ t[a] = n;
6624
7684
  }
6625
7685
  }), new w({
6626
7686
  ...this._def,
@@ -6628,49 +7688,49 @@ class w extends v {
6628
7688
  });
6629
7689
  }
6630
7690
  keyof() {
6631
- return ke(b.objectKeys(this.shape));
7691
+ return Ee(b.objectKeys(this.shape));
6632
7692
  }
6633
7693
  }
6634
7694
  w.create = (i, e) => new w({
6635
7695
  shape: () => i,
6636
7696
  unknownKeys: "strip",
6637
- catchall: L.create(),
6638
- typeName: f.ZodObject,
7697
+ catchall: D.create(),
7698
+ typeName: _.ZodObject,
6639
7699
  ...h(e)
6640
7700
  });
6641
7701
  w.strictCreate = (i, e) => new w({
6642
7702
  shape: () => i,
6643
7703
  unknownKeys: "strict",
6644
- catchall: L.create(),
6645
- typeName: f.ZodObject,
7704
+ catchall: D.create(),
7705
+ typeName: _.ZodObject,
6646
7706
  ...h(e)
6647
7707
  });
6648
7708
  w.lazycreate = (i, e) => new w({
6649
7709
  shape: i,
6650
7710
  unknownKeys: "strip",
6651
- catchall: L.create(),
6652
- typeName: f.ZodObject,
7711
+ catchall: D.create(),
7712
+ typeName: _.ZodObject,
6653
7713
  ...h(e)
6654
7714
  });
6655
- class K extends v {
7715
+ class Q extends v {
6656
7716
  _parse(e) {
6657
7717
  const { ctx: t } = this._processInputParams(e), a = this._def.options;
6658
- function n(r) {
6659
- for (const o of r)
6660
- if (o.result.status === "valid")
6661
- return o.result;
6662
- for (const o of r)
6663
- if (o.result.status === "dirty")
6664
- return t.common.issues.push(...o.ctx.common.issues), o.result;
6665
- const s = r.map((o) => new E(o.ctx.common.issues));
7718
+ function r(n) {
7719
+ for (const s of n)
7720
+ if (s.result.status === "valid")
7721
+ return s.result;
7722
+ for (const s of n)
7723
+ if (s.result.status === "dirty")
7724
+ return t.common.issues.push(...s.ctx.common.issues), s.result;
7725
+ const o = n.map((s) => new O(s.ctx.common.issues));
6666
7726
  return u(t, {
6667
7727
  code: c.invalid_union,
6668
- unionErrors: s
7728
+ unionErrors: o
6669
7729
  }), g;
6670
7730
  }
6671
7731
  if (t.common.async)
6672
- return Promise.all(a.map(async (r) => {
6673
- const s = {
7732
+ return Promise.all(a.map(async (n) => {
7733
+ const o = {
6674
7734
  ...t,
6675
7735
  common: {
6676
7736
  ...t.common,
@@ -6679,17 +7739,17 @@ class K extends v {
6679
7739
  parent: null
6680
7740
  };
6681
7741
  return {
6682
- result: await r._parseAsync({
7742
+ result: await n._parseAsync({
6683
7743
  data: t.data,
6684
7744
  path: t.path,
6685
- parent: s
7745
+ parent: o
6686
7746
  }),
6687
- ctx: s
7747
+ ctx: o
6688
7748
  };
6689
- })).then(n);
7749
+ })).then(r);
6690
7750
  {
6691
- let r;
6692
- const s = [];
7751
+ let n;
7752
+ const o = [];
6693
7753
  for (const m of a) {
6694
7754
  const d = {
6695
7755
  ...t,
@@ -6705,14 +7765,14 @@ class K extends v {
6705
7765
  });
6706
7766
  if (y.status === "valid")
6707
7767
  return y;
6708
- y.status === "dirty" && !r && (r = { result: y, ctx: d }), d.common.issues.length && s.push(d.common.issues);
7768
+ y.status === "dirty" && !n && (n = { result: y, ctx: d }), d.common.issues.length && o.push(d.common.issues);
6709
7769
  }
6710
- if (r)
6711
- return t.common.issues.push(...r.ctx.common.issues), r.result;
6712
- const o = s.map((m) => new E(m));
7770
+ if (n)
7771
+ return t.common.issues.push(...n.ctx.common.issues), n.result;
7772
+ const s = o.map((m) => new O(m));
6713
7773
  return u(t, {
6714
7774
  code: c.invalid_union,
6715
- unionErrors: o
7775
+ unionErrors: s
6716
7776
  }), g;
6717
7777
  }
6718
7778
  }
@@ -6720,12 +7780,12 @@ class K extends v {
6720
7780
  return this._def.options;
6721
7781
  }
6722
7782
  }
6723
- K.create = (i, e) => new K({
7783
+ Q.create = (i, e) => new Q({
6724
7784
  options: i,
6725
- typeName: f.ZodUnion,
7785
+ typeName: _.ZodUnion,
6726
7786
  ...h(e)
6727
7787
  });
6728
- const oe = (i) => i instanceof ie ? oe(i.schema) : i instanceof M ? 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 Q ? [void 0] : i instanceof X ? [null] : null;
7788
+ const se = (i) => i instanceof ie ? se(i.schema) : i instanceof P ? se(i.innerType()) : i instanceof ae ? [i.value] : i instanceof V ? i.options : i instanceof re ? Object.keys(i.enum) : i instanceof ne ? se(i._def.innerType) : i instanceof X ? [void 0] : i instanceof J ? [null] : null;
6729
7789
  class he extends v {
6730
7790
  _parse(e) {
6731
7791
  const { ctx: t } = this._processInputParams(e);
@@ -6735,12 +7795,12 @@ class he extends v {
6735
7795
  expected: l.object,
6736
7796
  received: t.parsedType
6737
7797
  }), g;
6738
- const a = this.discriminator, n = t.data[a], r = this.optionsMap.get(n);
6739
- return r ? t.common.async ? r._parseAsync({
7798
+ const a = this.discriminator, r = t.data[a], n = this.optionsMap.get(r);
7799
+ return n ? t.common.async ? n._parseAsync({
6740
7800
  data: t.data,
6741
7801
  path: t.path,
6742
7802
  parent: t
6743
- }) : r._parseSync({
7803
+ }) : n._parseSync({
6744
7804
  data: t.data,
6745
7805
  path: t.path,
6746
7806
  parent: t
@@ -6768,59 +7828,59 @@ class he extends v {
6768
7828
  * @param params
6769
7829
  */
6770
7830
  static create(e, t, a) {
6771
- const n = /* @__PURE__ */ new Map();
6772
- for (const r of t) {
6773
- const s = oe(r.shape[e]);
6774
- if (!s)
7831
+ const r = /* @__PURE__ */ new Map();
7832
+ for (const n of t) {
7833
+ const o = se(n.shape[e]);
7834
+ if (!o)
6775
7835
  throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);
6776
- for (const o of s) {
6777
- if (n.has(o))
6778
- throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);
6779
- n.set(o, r);
7836
+ for (const s of o) {
7837
+ if (r.has(s))
7838
+ throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(s)}`);
7839
+ r.set(s, n);
6780
7840
  }
6781
7841
  }
6782
7842
  return new he({
6783
- typeName: f.ZodDiscriminatedUnion,
7843
+ typeName: _.ZodDiscriminatedUnion,
6784
7844
  discriminator: e,
6785
7845
  options: t,
6786
- optionsMap: n,
7846
+ optionsMap: r,
6787
7847
  ...h(a)
6788
7848
  });
6789
7849
  }
6790
7850
  }
6791
- function Ce(i, e) {
6792
- const t = D(i), a = D(e);
7851
+ function Re(i, e) {
7852
+ const t = L(i), a = L(e);
6793
7853
  if (i === e)
6794
7854
  return { valid: !0, data: i };
6795
7855
  if (t === l.object && a === l.object) {
6796
- const n = b.objectKeys(e), r = b.objectKeys(i).filter((o) => n.indexOf(o) !== -1), s = { ...i, ...e };
6797
- for (const o of r) {
6798
- const m = Ce(i[o], e[o]);
7856
+ const r = b.objectKeys(e), n = b.objectKeys(i).filter((s) => r.indexOf(s) !== -1), o = { ...i, ...e };
7857
+ for (const s of n) {
7858
+ const m = Re(i[s], e[s]);
6799
7859
  if (!m.valid)
6800
7860
  return { valid: !1 };
6801
- s[o] = m.data;
7861
+ o[s] = m.data;
6802
7862
  }
6803
- return { valid: !0, data: s };
7863
+ return { valid: !0, data: o };
6804
7864
  } else if (t === l.array && a === l.array) {
6805
7865
  if (i.length !== e.length)
6806
7866
  return { valid: !1 };
6807
- const n = [];
6808
- for (let r = 0; r < i.length; r++) {
6809
- const s = i[r], o = e[r], m = Ce(s, o);
7867
+ const r = [];
7868
+ for (let n = 0; n < i.length; n++) {
7869
+ const o = i[n], s = e[n], m = Re(o, s);
6810
7870
  if (!m.valid)
6811
7871
  return { valid: !1 };
6812
- n.push(m.data);
7872
+ r.push(m.data);
6813
7873
  }
6814
- return { valid: !0, data: n };
7874
+ return { valid: !0, data: r };
6815
7875
  } else return t === l.date && a === l.date && +i == +e ? { valid: !0, data: i } : { valid: !1 };
6816
7876
  }
6817
7877
  class ee extends v {
6818
7878
  _parse(e) {
6819
- const { status: t, ctx: a } = this._processInputParams(e), n = (r, s) => {
6820
- if (xe(r) || xe(s))
7879
+ const { status: t, ctx: a } = this._processInputParams(e), r = (n, o) => {
7880
+ if (xe(n) || xe(o))
6821
7881
  return g;
6822
- const o = Ce(r.value, s.value);
6823
- return o.valid ? ((we(r) || we(s)) && t.dirty(), { status: t.value, value: o.data }) : (u(a, {
7882
+ const s = Re(n.value, o.value);
7883
+ return s.valid ? ((we(n) || we(o)) && t.dirty(), { status: t.value, value: s.data }) : (u(a, {
6824
7884
  code: c.invalid_intersection_types
6825
7885
  }), g);
6826
7886
  };
@@ -6835,7 +7895,7 @@ class ee extends v {
6835
7895
  path: a.path,
6836
7896
  parent: a
6837
7897
  })
6838
- ]).then(([r, s]) => n(r, s)) : n(this._def.left._parseSync({
7898
+ ]).then(([n, o]) => r(n, o)) : r(this._def.left._parseSync({
6839
7899
  data: a.data,
6840
7900
  path: a.path,
6841
7901
  parent: a
@@ -6849,10 +7909,10 @@ class ee extends v {
6849
7909
  ee.create = (i, e, t) => new ee({
6850
7910
  left: i,
6851
7911
  right: e,
6852
- typeName: f.ZodIntersection,
7912
+ typeName: _.ZodIntersection,
6853
7913
  ...h(t)
6854
7914
  });
6855
- class O extends v {
7915
+ class N extends v {
6856
7916
  _parse(e) {
6857
7917
  const { status: t, ctx: a } = this._processInputParams(e);
6858
7918
  if (a.parsedType !== l.array)
@@ -6876,28 +7936,28 @@ class O extends v {
6876
7936
  exact: !1,
6877
7937
  type: "array"
6878
7938
  }), t.dirty());
6879
- const r = [...a.data].map((s, o) => {
6880
- const m = this._def.items[o] || this._def.rest;
6881
- return m ? m._parse(new P(a, s, a.path, o)) : null;
6882
- }).filter((s) => !!s);
6883
- return a.common.async ? Promise.all(r).then((s) => C.mergeArray(t, s)) : C.mergeArray(t, r);
7939
+ const n = [...a.data].map((o, s) => {
7940
+ const m = this._def.items[s] || this._def.rest;
7941
+ return m ? m._parse(new I(a, o, a.path, s)) : null;
7942
+ }).filter((o) => !!o);
7943
+ return a.common.async ? Promise.all(n).then((o) => R.mergeArray(t, o)) : R.mergeArray(t, n);
6884
7944
  }
6885
7945
  get items() {
6886
7946
  return this._def.items;
6887
7947
  }
6888
7948
  rest(e) {
6889
- return new O({
7949
+ return new N({
6890
7950
  ...this._def,
6891
7951
  rest: e
6892
7952
  });
6893
7953
  }
6894
7954
  }
6895
- O.create = (i, e) => {
7955
+ N.create = (i, e) => {
6896
7956
  if (!Array.isArray(i))
6897
7957
  throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
6898
- return new O({
7958
+ return new N({
6899
7959
  items: i,
6900
- typeName: f.ZodTuple,
7960
+ typeName: _.ZodTuple,
6901
7961
  rest: null,
6902
7962
  ...h(e)
6903
7963
  });
@@ -6917,13 +7977,13 @@ class te extends v {
6917
7977
  expected: l.object,
6918
7978
  received: a.parsedType
6919
7979
  }), g;
6920
- const n = [], r = this._def.keyType, s = this._def.valueType;
6921
- for (const o in a.data)
6922
- n.push({
6923
- key: r._parse(new P(a, o, a.path, o)),
6924
- value: s._parse(new P(a, a.data[o], a.path, o))
7980
+ const r = [], n = this._def.keyType, o = this._def.valueType;
7981
+ for (const s in a.data)
7982
+ r.push({
7983
+ key: n._parse(new I(a, s, a.path, s)),
7984
+ value: o._parse(new I(a, a.data[s], a.path, s))
6925
7985
  });
6926
- return a.common.async ? C.mergeObjectAsync(t, n) : C.mergeObjectSync(t, n);
7986
+ return a.common.async ? R.mergeObjectAsync(t, r) : R.mergeObjectSync(t, r);
6927
7987
  }
6928
7988
  get element() {
6929
7989
  return this._def.valueType;
@@ -6932,12 +7992,12 @@ class te extends v {
6932
7992
  return t instanceof v ? new te({
6933
7993
  keyType: e,
6934
7994
  valueType: t,
6935
- typeName: f.ZodRecord,
7995
+ typeName: _.ZodRecord,
6936
7996
  ...h(a)
6937
7997
  }) : new te({
6938
- keyType: k.create(),
7998
+ keyType: E.create(),
6939
7999
  valueType: e,
6940
- typeName: f.ZodRecord,
8000
+ typeName: _.ZodRecord,
6941
8001
  ...h(t)
6942
8002
  });
6943
8003
  }
@@ -6957,40 +8017,40 @@ class pe extends v {
6957
8017
  expected: l.map,
6958
8018
  received: a.parsedType
6959
8019
  }), g;
6960
- const n = this._def.keyType, r = this._def.valueType, s = [...a.data.entries()].map(([o, m], d) => ({
6961
- key: n._parse(new P(a, o, a.path, [d, "key"])),
6962
- value: r._parse(new P(a, m, a.path, [d, "value"]))
8020
+ const r = this._def.keyType, n = this._def.valueType, o = [...a.data.entries()].map(([s, m], d) => ({
8021
+ key: r._parse(new I(a, s, a.path, [d, "key"])),
8022
+ value: n._parse(new I(a, m, a.path, [d, "value"]))
6963
8023
  }));
6964
8024
  if (a.common.async) {
6965
- const o = /* @__PURE__ */ new Map();
8025
+ const s = /* @__PURE__ */ new Map();
6966
8026
  return Promise.resolve().then(async () => {
6967
- for (const m of s) {
8027
+ for (const m of o) {
6968
8028
  const d = await m.key, y = await m.value;
6969
8029
  if (d.status === "aborted" || y.status === "aborted")
6970
8030
  return g;
6971
- (d.status === "dirty" || y.status === "dirty") && t.dirty(), o.set(d.value, y.value);
8031
+ (d.status === "dirty" || y.status === "dirty") && t.dirty(), s.set(d.value, y.value);
6972
8032
  }
6973
- return { status: t.value, value: o };
8033
+ return { status: t.value, value: s };
6974
8034
  });
6975
8035
  } else {
6976
- const o = /* @__PURE__ */ new Map();
6977
- for (const m of s) {
8036
+ const s = /* @__PURE__ */ new Map();
8037
+ for (const m of o) {
6978
8038
  const d = m.key, y = m.value;
6979
8039
  if (d.status === "aborted" || y.status === "aborted")
6980
8040
  return g;
6981
- (d.status === "dirty" || y.status === "dirty") && t.dirty(), o.set(d.value, y.value);
8041
+ (d.status === "dirty" || y.status === "dirty") && t.dirty(), s.set(d.value, y.value);
6982
8042
  }
6983
- return { status: t.value, value: o };
8043
+ return { status: t.value, value: s };
6984
8044
  }
6985
8045
  }
6986
8046
  }
6987
8047
  pe.create = (i, e, t) => new pe({
6988
8048
  valueType: e,
6989
8049
  keyType: i,
6990
- typeName: f.ZodMap,
8050
+ typeName: _.ZodMap,
6991
8051
  ...h(t)
6992
8052
  });
6993
- class U extends v {
8053
+ class q extends v {
6994
8054
  _parse(e) {
6995
8055
  const { status: t, ctx: a } = this._processInputParams(e);
6996
8056
  if (a.parsedType !== l.set)
@@ -6999,24 +8059,24 @@ class U extends v {
6999
8059
  expected: l.set,
7000
8060
  received: a.parsedType
7001
8061
  }), g;
7002
- const n = this._def;
7003
- n.minSize !== null && a.data.size < n.minSize.value && (u(a, {
8062
+ const r = this._def;
8063
+ r.minSize !== null && a.data.size < r.minSize.value && (u(a, {
7004
8064
  code: c.too_small,
7005
- minimum: n.minSize.value,
8065
+ minimum: r.minSize.value,
7006
8066
  type: "set",
7007
8067
  inclusive: !0,
7008
8068
  exact: !1,
7009
- message: n.minSize.message
7010
- }), t.dirty()), n.maxSize !== null && a.data.size > n.maxSize.value && (u(a, {
8069
+ message: r.minSize.message
8070
+ }), t.dirty()), r.maxSize !== null && a.data.size > r.maxSize.value && (u(a, {
7011
8071
  code: c.too_big,
7012
- maximum: n.maxSize.value,
8072
+ maximum: r.maxSize.value,
7013
8073
  type: "set",
7014
8074
  inclusive: !0,
7015
8075
  exact: !1,
7016
- message: n.maxSize.message
8076
+ message: r.maxSize.message
7017
8077
  }), t.dirty());
7018
- const r = this._def.valueType;
7019
- function s(m) {
8078
+ const n = this._def.valueType;
8079
+ function o(m) {
7020
8080
  const d = /* @__PURE__ */ new Set();
7021
8081
  for (const y of m) {
7022
8082
  if (y.status === "aborted")
@@ -7025,17 +8085,17 @@ class U extends v {
7025
8085
  }
7026
8086
  return { status: t.value, value: d };
7027
8087
  }
7028
- const o = [...a.data.values()].map((m, d) => r._parse(new P(a, m, a.path, d)));
7029
- return a.common.async ? Promise.all(o).then((m) => s(m)) : s(o);
8088
+ const s = [...a.data.values()].map((m, d) => n._parse(new I(a, m, a.path, d)));
8089
+ return a.common.async ? Promise.all(s).then((m) => o(m)) : o(s);
7030
8090
  }
7031
8091
  min(e, t) {
7032
- return new U({
8092
+ return new q({
7033
8093
  ...this._def,
7034
8094
  minSize: { value: e, message: p.toString(t) }
7035
8095
  });
7036
8096
  }
7037
8097
  max(e, t) {
7038
- return new U({
8098
+ return new q({
7039
8099
  ...this._def,
7040
8100
  maxSize: { value: e, message: p.toString(t) }
7041
8101
  });
@@ -7047,14 +8107,14 @@ class U extends v {
7047
8107
  return this.min(1, e);
7048
8108
  }
7049
8109
  }
7050
- U.create = (i, e) => new U({
8110
+ q.create = (i, e) => new q({
7051
8111
  valueType: i,
7052
8112
  minSize: null,
7053
8113
  maxSize: null,
7054
- typeName: f.ZodSet,
8114
+ typeName: _.ZodSet,
7055
8115
  ...h(e)
7056
8116
  });
7057
- class z extends v {
8117
+ class F extends v {
7058
8118
  constructor() {
7059
8119
  super(...arguments), this.validate = this.implement;
7060
8120
  }
@@ -7066,9 +8126,9 @@ class z extends v {
7066
8126
  expected: l.function,
7067
8127
  received: t.parsedType
7068
8128
  }), g;
7069
- function a(o, m) {
8129
+ function a(s, m) {
7070
8130
  return de({
7071
- data: o,
8131
+ data: s,
7072
8132
  path: t.path,
7073
8133
  errorMaps: [
7074
8134
  t.common.contextualErrorMap,
@@ -7082,9 +8142,9 @@ class z extends v {
7082
8142
  }
7083
8143
  });
7084
8144
  }
7085
- function n(o, m) {
8145
+ function r(s, m) {
7086
8146
  return de({
7087
- data: o,
8147
+ data: s,
7088
8148
  path: t.path,
7089
8149
  errorMaps: [
7090
8150
  t.common.contextualErrorMap,
@@ -7098,26 +8158,26 @@ class z extends v {
7098
8158
  }
7099
8159
  });
7100
8160
  }
7101
- const r = { errorMap: t.common.contextualErrorMap }, s = t.data;
7102
- if (this._def.returns instanceof F) {
7103
- const o = this;
8161
+ const n = { errorMap: t.common.contextualErrorMap }, o = t.data;
8162
+ if (this._def.returns instanceof H) {
8163
+ const s = this;
7104
8164
  return S(async function(...m) {
7105
- const d = new E([]), y = await o._def.args.parseAsync(m, r).catch((ve) => {
8165
+ const d = new O([]), y = await s._def.args.parseAsync(m, n).catch((ve) => {
7106
8166
  throw d.addIssue(a(m, ve)), d;
7107
- }), A = await Reflect.apply(s, this, y);
7108
- return await o._def.returns._def.type.parseAsync(A, r).catch((ve) => {
7109
- throw d.addIssue(n(A, ve)), d;
8167
+ }), A = await Reflect.apply(o, this, y);
8168
+ return await s._def.returns._def.type.parseAsync(A, n).catch((ve) => {
8169
+ throw d.addIssue(r(A, ve)), d;
7110
8170
  });
7111
8171
  });
7112
8172
  } else {
7113
- const o = this;
8173
+ const s = this;
7114
8174
  return S(function(...m) {
7115
- const d = o._def.args.safeParse(m, r);
8175
+ const d = s._def.args.safeParse(m, n);
7116
8176
  if (!d.success)
7117
- throw new E([a(m, d.error)]);
7118
- const y = Reflect.apply(s, this, d.data), A = o._def.returns.safeParse(y, r);
8177
+ throw new O([a(m, d.error)]);
8178
+ const y = Reflect.apply(o, this, d.data), A = s._def.returns.safeParse(y, n);
7119
8179
  if (!A.success)
7120
- throw new E([n(y, A.error)]);
8180
+ throw new O([r(y, A.error)]);
7121
8181
  return A.data;
7122
8182
  });
7123
8183
  }
@@ -7129,13 +8189,13 @@ class z extends v {
7129
8189
  return this._def.returns;
7130
8190
  }
7131
8191
  args(...e) {
7132
- return new z({
8192
+ return new F({
7133
8193
  ...this._def,
7134
- args: O.create(e).rest(Z.create())
8194
+ args: N.create(e).rest(U.create())
7135
8195
  });
7136
8196
  }
7137
8197
  returns(e) {
7138
- return new z({
8198
+ return new F({
7139
8199
  ...this._def,
7140
8200
  returns: e
7141
8201
  });
@@ -7147,10 +8207,10 @@ class z extends v {
7147
8207
  return this.parse(e);
7148
8208
  }
7149
8209
  static create(e, t, a) {
7150
- return new z({
7151
- args: e || O.create([]).rest(Z.create()),
7152
- returns: t || Z.create(),
7153
- typeName: f.ZodFunction,
8210
+ return new F({
8211
+ args: e || N.create([]).rest(U.create()),
8212
+ returns: t || U.create(),
8213
+ typeName: _.ZodFunction,
7154
8214
  ...h(a)
7155
8215
  });
7156
8216
  }
@@ -7166,7 +8226,7 @@ class ie extends v {
7166
8226
  }
7167
8227
  ie.create = (i, e) => new ie({
7168
8228
  getter: i,
7169
- typeName: f.ZodLazy,
8229
+ typeName: _.ZodLazy,
7170
8230
  ...h(e)
7171
8231
  });
7172
8232
  class ae extends v {
@@ -7187,13 +8247,13 @@ class ae extends v {
7187
8247
  }
7188
8248
  ae.create = (i, e) => new ae({
7189
8249
  value: i,
7190
- typeName: f.ZodLiteral,
8250
+ typeName: _.ZodLiteral,
7191
8251
  ...h(e)
7192
8252
  });
7193
- function ke(i, e) {
8253
+ function Ee(i, e) {
7194
8254
  return new V({
7195
8255
  values: i,
7196
- typeName: f.ZodEnum,
8256
+ typeName: _.ZodEnum,
7197
8257
  ...h(e)
7198
8258
  });
7199
8259
  }
@@ -7245,24 +8305,24 @@ class V extends v {
7245
8305
  return V.create(this.options.filter((t) => !e.includes(t)));
7246
8306
  }
7247
8307
  }
7248
- V.create = ke;
7249
- class ne extends v {
8308
+ V.create = Ee;
8309
+ class re extends v {
7250
8310
  _parse(e) {
7251
8311
  const t = b.getValidEnumValues(this._def.values), a = this._getOrReturnCtx(e);
7252
8312
  if (a.parsedType !== l.string && a.parsedType !== l.number) {
7253
- const n = b.objectValues(t);
8313
+ const r = b.objectValues(t);
7254
8314
  return u(a, {
7255
- expected: b.joinValues(n),
8315
+ expected: b.joinValues(r),
7256
8316
  received: a.parsedType,
7257
8317
  code: c.invalid_type
7258
8318
  }), g;
7259
8319
  }
7260
8320
  if (t.indexOf(e.data) === -1) {
7261
- const n = b.objectValues(t);
8321
+ const r = b.objectValues(t);
7262
8322
  return u(a, {
7263
8323
  received: a.data,
7264
8324
  code: c.invalid_enum_value,
7265
- options: n
8325
+ options: r
7266
8326
  }), g;
7267
8327
  }
7268
8328
  return S(e.data);
@@ -7271,12 +8331,12 @@ class ne extends v {
7271
8331
  return this._def.values;
7272
8332
  }
7273
8333
  }
7274
- ne.create = (i, e) => new ne({
8334
+ re.create = (i, e) => new re({
7275
8335
  values: i,
7276
- typeName: f.ZodNativeEnum,
8336
+ typeName: _.ZodNativeEnum,
7277
8337
  ...h(e)
7278
8338
  });
7279
- class F extends v {
8339
+ class H extends v {
7280
8340
  unwrap() {
7281
8341
  return this._def.type;
7282
8342
  }
@@ -7289,98 +8349,98 @@ class F extends v {
7289
8349
  received: t.parsedType
7290
8350
  }), g;
7291
8351
  const a = t.parsedType === l.promise ? t.data : Promise.resolve(t.data);
7292
- return S(a.then((n) => this._def.type.parseAsync(n, {
8352
+ return S(a.then((r) => this._def.type.parseAsync(r, {
7293
8353
  path: t.path,
7294
8354
  errorMap: t.common.contextualErrorMap
7295
8355
  })));
7296
8356
  }
7297
8357
  }
7298
- F.create = (i, e) => new F({
8358
+ H.create = (i, e) => new H({
7299
8359
  type: i,
7300
- typeName: f.ZodPromise,
8360
+ typeName: _.ZodPromise,
7301
8361
  ...h(e)
7302
8362
  });
7303
- class M extends v {
8363
+ class P extends v {
7304
8364
  innerType() {
7305
8365
  return this._def.schema;
7306
8366
  }
7307
8367
  sourceType() {
7308
- return this._def.schema._def.typeName === f.ZodEffects ? this._def.schema.sourceType() : this._def.schema;
8368
+ return this._def.schema._def.typeName === _.ZodEffects ? this._def.schema.sourceType() : this._def.schema;
7309
8369
  }
7310
8370
  _parse(e) {
7311
- const { status: t, ctx: a } = this._processInputParams(e), n = this._def.effect || null, r = {
7312
- addIssue: (s) => {
7313
- u(a, s), s.fatal ? t.abort() : t.dirty();
8371
+ const { status: t, ctx: a } = this._processInputParams(e), r = this._def.effect || null, n = {
8372
+ addIssue: (o) => {
8373
+ u(a, o), o.fatal ? t.abort() : t.dirty();
7314
8374
  },
7315
8375
  get path() {
7316
8376
  return a.path;
7317
8377
  }
7318
8378
  };
7319
- if (r.addIssue = r.addIssue.bind(r), n.type === "preprocess") {
7320
- const s = n.transform(a.data, r);
8379
+ if (n.addIssue = n.addIssue.bind(n), r.type === "preprocess") {
8380
+ const o = r.transform(a.data, n);
7321
8381
  return a.common.issues.length ? {
7322
8382
  status: "dirty",
7323
8383
  value: a.data
7324
- } : a.common.async ? Promise.resolve(s).then((o) => this._def.schema._parseAsync({
7325
- data: o,
8384
+ } : a.common.async ? Promise.resolve(o).then((s) => this._def.schema._parseAsync({
8385
+ data: s,
7326
8386
  path: a.path,
7327
8387
  parent: a
7328
8388
  })) : this._def.schema._parseSync({
7329
- data: s,
8389
+ data: o,
7330
8390
  path: a.path,
7331
8391
  parent: a
7332
8392
  });
7333
8393
  }
7334
- if (n.type === "refinement") {
7335
- const s = (o) => {
7336
- const m = n.refinement(o, r);
8394
+ if (r.type === "refinement") {
8395
+ const o = (s) => {
8396
+ const m = r.refinement(s, n);
7337
8397
  if (a.common.async)
7338
8398
  return Promise.resolve(m);
7339
8399
  if (m instanceof Promise)
7340
8400
  throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");
7341
- return o;
8401
+ return s;
7342
8402
  };
7343
8403
  if (a.common.async === !1) {
7344
- const o = this._def.schema._parseSync({
8404
+ const s = this._def.schema._parseSync({
7345
8405
  data: a.data,
7346
8406
  path: a.path,
7347
8407
  parent: a
7348
8408
  });
7349
- return o.status === "aborted" ? g : (o.status === "dirty" && t.dirty(), s(o.value), { status: t.value, value: o.value });
8409
+ return s.status === "aborted" ? g : (s.status === "dirty" && t.dirty(), o(s.value), { status: t.value, value: s.value });
7350
8410
  } else
7351
- return this._def.schema._parseAsync({ data: a.data, path: a.path, parent: a }).then((o) => o.status === "aborted" ? g : (o.status === "dirty" && t.dirty(), s(o.value).then(() => ({ status: t.value, value: o.value }))));
8411
+ return this._def.schema._parseAsync({ data: a.data, path: a.path, parent: a }).then((s) => s.status === "aborted" ? g : (s.status === "dirty" && t.dirty(), o(s.value).then(() => ({ status: t.value, value: s.value }))));
7352
8412
  }
7353
- if (n.type === "transform")
8413
+ if (r.type === "transform")
7354
8414
  if (a.common.async === !1) {
7355
- const s = this._def.schema._parseSync({
8415
+ const o = this._def.schema._parseSync({
7356
8416
  data: a.data,
7357
8417
  path: a.path,
7358
8418
  parent: a
7359
8419
  });
7360
- if (!H(s))
7361
- return s;
7362
- const o = n.transform(s.value, r);
7363
- if (o instanceof Promise)
8420
+ if (!z(o))
8421
+ return o;
8422
+ const s = r.transform(o.value, n);
8423
+ if (s instanceof Promise)
7364
8424
  throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");
7365
- return { status: t.value, value: o };
8425
+ return { status: t.value, value: s };
7366
8426
  } else
7367
- 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);
7368
- b.assertNever(n);
8427
+ return this._def.schema._parseAsync({ data: a.data, path: a.path, parent: a }).then((o) => z(o) ? Promise.resolve(r.transform(o.value, n)).then((s) => ({ status: t.value, value: s })) : o);
8428
+ b.assertNever(r);
7369
8429
  }
7370
8430
  }
7371
- M.create = (i, e, t) => new M({
8431
+ P.create = (i, e, t) => new P({
7372
8432
  schema: i,
7373
- typeName: f.ZodEffects,
8433
+ typeName: _.ZodEffects,
7374
8434
  effect: e,
7375
8435
  ...h(t)
7376
8436
  });
7377
- M.createWithPreprocess = (i, e, t) => new M({
8437
+ P.createWithPreprocess = (i, e, t) => new P({
7378
8438
  schema: e,
7379
8439
  effect: { type: "preprocess", transform: i },
7380
- typeName: f.ZodEffects,
8440
+ typeName: _.ZodEffects,
7381
8441
  ...h(t)
7382
8442
  });
7383
- class N extends v {
8443
+ class M extends v {
7384
8444
  _parse(e) {
7385
8445
  return this._getType(e) === l.undefined ? S(void 0) : this._def.innerType._parse(e);
7386
8446
  }
@@ -7388,12 +8448,12 @@ class N extends v {
7388
8448
  return this._def.innerType;
7389
8449
  }
7390
8450
  }
7391
- N.create = (i, e) => new N({
8451
+ M.create = (i, e) => new M({
7392
8452
  innerType: i,
7393
- typeName: f.ZodOptional,
8453
+ typeName: _.ZodOptional,
7394
8454
  ...h(e)
7395
8455
  });
7396
- class q extends v {
8456
+ class $ extends v {
7397
8457
  _parse(e) {
7398
8458
  return this._getType(e) === l.null ? S(null) : this._def.innerType._parse(e);
7399
8459
  }
@@ -7401,12 +8461,12 @@ class q extends v {
7401
8461
  return this._def.innerType;
7402
8462
  }
7403
8463
  }
7404
- q.create = (i, e) => new q({
8464
+ $.create = (i, e) => new $({
7405
8465
  innerType: i,
7406
- typeName: f.ZodNullable,
8466
+ typeName: _.ZodNullable,
7407
8467
  ...h(e)
7408
8468
  });
7409
- class re extends v {
8469
+ class ne extends v {
7410
8470
  _parse(e) {
7411
8471
  const { ctx: t } = this._processInputParams(e);
7412
8472
  let a = t.data;
@@ -7420,13 +8480,13 @@ class re extends v {
7420
8480
  return this._def.innerType;
7421
8481
  }
7422
8482
  }
7423
- re.create = (i, e) => new re({
8483
+ ne.create = (i, e) => new ne({
7424
8484
  innerType: i,
7425
- typeName: f.ZodDefault,
8485
+ typeName: _.ZodDefault,
7426
8486
  defaultValue: typeof e.default == "function" ? e.default : () => e.default,
7427
8487
  ...h(e)
7428
8488
  });
7429
- class fe extends v {
8489
+ class _e extends v {
7430
8490
  _parse(e) {
7431
8491
  const { ctx: t } = this._processInputParams(e), a = {
7432
8492
  ...t,
@@ -7434,26 +8494,26 @@ class fe extends v {
7434
8494
  ...t.common,
7435
8495
  issues: []
7436
8496
  }
7437
- }, n = this._def.innerType._parse({
8497
+ }, r = this._def.innerType._parse({
7438
8498
  data: a.data,
7439
8499
  path: a.path,
7440
8500
  parent: {
7441
8501
  ...a
7442
8502
  }
7443
8503
  });
7444
- return le(n) ? n.then((r) => ({
8504
+ return le(r) ? r.then((n) => ({
7445
8505
  status: "valid",
7446
- value: r.status === "valid" ? r.value : this._def.catchValue({
8506
+ value: n.status === "valid" ? n.value : this._def.catchValue({
7447
8507
  get error() {
7448
- return new E(a.common.issues);
8508
+ return new O(a.common.issues);
7449
8509
  },
7450
8510
  input: a.data
7451
8511
  })
7452
8512
  })) : {
7453
8513
  status: "valid",
7454
- value: n.status === "valid" ? n.value : this._def.catchValue({
8514
+ value: r.status === "valid" ? r.value : this._def.catchValue({
7455
8515
  get error() {
7456
- return new E(a.common.issues);
8516
+ return new O(a.common.issues);
7457
8517
  },
7458
8518
  input: a.data
7459
8519
  })
@@ -7463,13 +8523,13 @@ class fe extends v {
7463
8523
  return this._def.innerType;
7464
8524
  }
7465
8525
  }
7466
- fe.create = (i, e) => new fe({
8526
+ _e.create = (i, e) => new _e({
7467
8527
  innerType: i,
7468
- typeName: f.ZodCatch,
8528
+ typeName: _.ZodCatch,
7469
8529
  catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
7470
8530
  ...h(e)
7471
8531
  });
7472
- class _e extends v {
8532
+ class fe extends v {
7473
8533
  _parse(e) {
7474
8534
  if (this._getType(e) !== l.nan) {
7475
8535
  const a = this._getOrReturnCtx(e);
@@ -7482,12 +8542,12 @@ class _e extends v {
7482
8542
  return { status: "valid", value: e.data };
7483
8543
  }
7484
8544
  }
7485
- _e.create = (i) => new _e({
7486
- typeName: f.ZodNaN,
8545
+ fe.create = (i) => new fe({
8546
+ typeName: _.ZodNaN,
7487
8547
  ...h(i)
7488
8548
  });
7489
- const mt = Symbol("zod_brand");
7490
- class Ee extends v {
8549
+ const _t = Symbol("zod_brand");
8550
+ class Oe extends v {
7491
8551
  _parse(e) {
7492
8552
  const { ctx: t } = this._processInputParams(e), a = t.data;
7493
8553
  return this._def.type._parse({
@@ -7500,97 +8560,97 @@ class Ee extends v {
7500
8560
  return this._def.type;
7501
8561
  }
7502
8562
  }
7503
- class se extends v {
8563
+ class oe extends v {
7504
8564
  _parse(e) {
7505
8565
  const { status: t, ctx: a } = this._processInputParams(e);
7506
8566
  if (a.common.async)
7507
8567
  return (async () => {
7508
- const r = await this._def.in._parseAsync({
8568
+ const n = await this._def.in._parseAsync({
7509
8569
  data: a.data,
7510
8570
  path: a.path,
7511
8571
  parent: a
7512
8572
  });
7513
- return r.status === "aborted" ? g : r.status === "dirty" ? (t.dirty(), Ae(r.value)) : this._def.out._parseAsync({
7514
- data: r.value,
8573
+ return n.status === "aborted" ? g : n.status === "dirty" ? (t.dirty(), Ae(n.value)) : this._def.out._parseAsync({
8574
+ data: n.value,
7515
8575
  path: a.path,
7516
8576
  parent: a
7517
8577
  });
7518
8578
  })();
7519
8579
  {
7520
- const n = this._def.in._parseSync({
8580
+ const r = this._def.in._parseSync({
7521
8581
  data: a.data,
7522
8582
  path: a.path,
7523
8583
  parent: a
7524
8584
  });
7525
- return n.status === "aborted" ? g : n.status === "dirty" ? (t.dirty(), {
8585
+ return r.status === "aborted" ? g : r.status === "dirty" ? (t.dirty(), {
7526
8586
  status: "dirty",
7527
- value: n.value
8587
+ value: r.value
7528
8588
  }) : this._def.out._parseSync({
7529
- data: n.value,
8589
+ data: r.value,
7530
8590
  path: a.path,
7531
8591
  parent: a
7532
8592
  });
7533
8593
  }
7534
8594
  }
7535
8595
  static create(e, t) {
7536
- return new se({
8596
+ return new oe({
7537
8597
  in: e,
7538
8598
  out: t,
7539
- typeName: f.ZodPipeline
8599
+ typeName: _.ZodPipeline
7540
8600
  });
7541
8601
  }
7542
8602
  }
7543
8603
  class ge extends v {
7544
8604
  _parse(e) {
7545
8605
  const t = this._def.innerType._parse(e);
7546
- return H(t) && (t.value = Object.freeze(t.value)), t;
8606
+ return z(t) && (t.value = Object.freeze(t.value)), t;
7547
8607
  }
7548
8608
  }
7549
8609
  ge.create = (i, e) => new ge({
7550
8610
  innerType: i,
7551
- typeName: f.ZodReadonly,
8611
+ typeName: _.ZodReadonly,
7552
8612
  ...h(e)
7553
8613
  });
7554
- const Ie = (i, e = {}, t) => i ? W.create().superRefine((a, n) => {
7555
- var r, s;
8614
+ const ke = (i, e = {}, t) => i ? W.create().superRefine((a, r) => {
8615
+ var n, o;
7556
8616
  if (!i(a)) {
7557
- 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;
7558
- n.addIssue({ code: "custom", ...d, fatal: m });
8617
+ const s = typeof e == "function" ? e(a) : typeof e == "string" ? { message: e } : e, m = (o = (n = s.fatal) !== null && n !== void 0 ? n : t) !== null && o !== void 0 ? o : !0, d = typeof s == "string" ? { message: s } : s;
8618
+ r.addIssue({ code: "custom", ...d, fatal: m });
7559
8619
  }
7560
- }) : W.create(), pt = {
8620
+ }) : W.create(), ft = {
7561
8621
  object: w.lazycreate
7562
8622
  };
7563
- var f;
8623
+ var _;
7564
8624
  (function(i) {
7565
8625
  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";
7566
- })(f || (f = {}));
7567
- const ft = (i, e = {
8626
+ })(_ || (_ = {}));
8627
+ const gt = (i, e = {
7568
8628
  message: `Input not instance of ${i.name}`
7569
- }) => Ie((t) => t instanceof i, e), Me = k.create, Pe = j.create, _t = _e.create, gt = B.create, Oe = J.create, ht = $.create, vt = ue.create, yt = Q.create, bt = X.create, xt = W.create, wt = Z.create, Ct = L.create, Tt = me.create, Rt = I.create, St = w.create, At = w.strictCreate, kt = K.create, Et = he.create, It = ee.create, Mt = 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 = M.create, $t = N.create, Ut = q.create, qt = M.createWithPreprocess, Gt = se.create, zt = () => Me().optional(), Wt = () => Pe().optional(), Ft = () => Oe().optional(), Yt = {
7570
- string: (i) => k.create({ ...i, coerce: !0 }),
7571
- number: (i) => j.create({ ...i, coerce: !0 }),
7572
- boolean: (i) => J.create({
8629
+ }) => ke((t) => t instanceof i, e), Pe = E.create, Ie = B.create, ht = fe.create, vt = j.create, Ne = K.create, yt = Z.create, bt = ue.create, xt = X.create, wt = J.create, Rt = W.create, Tt = U.create, Ct = D.create, St = me.create, At = k.create, Et = w.create, Ot = w.strictCreate, kt = Q.create, Pt = he.create, It = ee.create, Nt = N.create, Mt = te.create, Dt = pe.create, Lt = q.create, Bt = F.create, jt = ie.create, Vt = ae.create, Ut = V.create, Zt = re.create, qt = H.create, Ce = P.create, $t = M.create, Gt = $.create, Ft = P.createWithPreprocess, Wt = oe.create, Ht = () => Pe().optional(), Yt = () => Ie().optional(), zt = () => Ne().optional(), Kt = {
8630
+ string: (i) => E.create({ ...i, coerce: !0 }),
8631
+ number: (i) => B.create({ ...i, coerce: !0 }),
8632
+ boolean: (i) => K.create({
7573
8633
  ...i,
7574
8634
  coerce: !0
7575
8635
  }),
7576
- bigint: (i) => B.create({ ...i, coerce: !0 }),
7577
- date: (i) => $.create({ ...i, coerce: !0 })
7578
- }, Ht = g;
8636
+ bigint: (i) => j.create({ ...i, coerce: !0 }),
8637
+ date: (i) => Z.create({ ...i, coerce: !0 })
8638
+ }, Xt = g;
7579
8639
  var Jt = /* @__PURE__ */ Object.freeze({
7580
8640
  __proto__: null,
7581
8641
  defaultErrorMap: Y,
7582
- setErrorMap: Ke,
8642
+ setErrorMap: tt,
7583
8643
  getErrorMap: ce,
7584
8644
  makeIssue: de,
7585
- EMPTY_PATH: et,
8645
+ EMPTY_PATH: it,
7586
8646
  addIssueToContext: u,
7587
- ParseStatus: C,
8647
+ ParseStatus: R,
7588
8648
  INVALID: g,
7589
8649
  DIRTY: Ae,
7590
8650
  OK: S,
7591
8651
  isAborted: xe,
7592
8652
  isDirty: we,
7593
- isValid: H,
8653
+ isValid: z,
7594
8654
  isAsync: le,
7595
8655
  get util() {
7596
8656
  return b;
@@ -7599,97 +8659,97 @@ var Jt = /* @__PURE__ */ Object.freeze({
7599
8659
  return be;
7600
8660
  },
7601
8661
  ZodParsedType: l,
7602
- getParsedType: D,
8662
+ getParsedType: L,
7603
8663
  ZodType: v,
7604
- ZodString: k,
7605
- ZodNumber: j,
7606
- ZodBigInt: B,
7607
- ZodBoolean: J,
7608
- ZodDate: $,
8664
+ ZodString: E,
8665
+ ZodNumber: B,
8666
+ ZodBigInt: j,
8667
+ ZodBoolean: K,
8668
+ ZodDate: Z,
7609
8669
  ZodSymbol: ue,
7610
- ZodUndefined: Q,
7611
- ZodNull: X,
8670
+ ZodUndefined: X,
8671
+ ZodNull: J,
7612
8672
  ZodAny: W,
7613
- ZodUnknown: Z,
7614
- ZodNever: L,
8673
+ ZodUnknown: U,
8674
+ ZodNever: D,
7615
8675
  ZodVoid: me,
7616
- ZodArray: I,
8676
+ ZodArray: k,
7617
8677
  ZodObject: w,
7618
- ZodUnion: K,
8678
+ ZodUnion: Q,
7619
8679
  ZodDiscriminatedUnion: he,
7620
8680
  ZodIntersection: ee,
7621
- ZodTuple: O,
8681
+ ZodTuple: N,
7622
8682
  ZodRecord: te,
7623
8683
  ZodMap: pe,
7624
- ZodSet: U,
7625
- ZodFunction: z,
8684
+ ZodSet: q,
8685
+ ZodFunction: F,
7626
8686
  ZodLazy: ie,
7627
8687
  ZodLiteral: ae,
7628
8688
  ZodEnum: V,
7629
- ZodNativeEnum: ne,
7630
- ZodPromise: F,
7631
- ZodEffects: M,
7632
- ZodTransformer: M,
7633
- ZodOptional: N,
7634
- ZodNullable: q,
7635
- ZodDefault: re,
7636
- ZodCatch: fe,
7637
- ZodNaN: _e,
7638
- BRAND: mt,
7639
- ZodBranded: Ee,
7640
- ZodPipeline: se,
8689
+ ZodNativeEnum: re,
8690
+ ZodPromise: H,
8691
+ ZodEffects: P,
8692
+ ZodTransformer: P,
8693
+ ZodOptional: M,
8694
+ ZodNullable: $,
8695
+ ZodDefault: ne,
8696
+ ZodCatch: _e,
8697
+ ZodNaN: fe,
8698
+ BRAND: _t,
8699
+ ZodBranded: Oe,
8700
+ ZodPipeline: oe,
7641
8701
  ZodReadonly: ge,
7642
- custom: Ie,
8702
+ custom: ke,
7643
8703
  Schema: v,
7644
8704
  ZodSchema: v,
7645
- late: pt,
8705
+ late: ft,
7646
8706
  get ZodFirstPartyTypeKind() {
7647
- return f;
7648
- },
7649
- coerce: Yt,
7650
- any: xt,
7651
- array: Rt,
7652
- bigint: gt,
7653
- boolean: Oe,
7654
- date: ht,
7655
- discriminatedUnion: Et,
7656
- effect: Re,
7657
- enum: Bt,
7658
- function: Lt,
7659
- instanceof: ft,
8707
+ return _;
8708
+ },
8709
+ coerce: Kt,
8710
+ any: Rt,
8711
+ array: At,
8712
+ bigint: vt,
8713
+ boolean: Ne,
8714
+ date: yt,
8715
+ discriminatedUnion: Pt,
8716
+ effect: Ce,
8717
+ enum: Ut,
8718
+ function: Bt,
8719
+ instanceof: gt,
7660
8720
  intersection: It,
7661
- lazy: Dt,
7662
- literal: jt,
7663
- map: Ot,
7664
- nan: _t,
7665
- nativeEnum: Vt,
8721
+ lazy: jt,
8722
+ literal: Vt,
8723
+ map: Dt,
8724
+ nan: ht,
8725
+ nativeEnum: Zt,
7666
8726
  never: Ct,
7667
- null: bt,
7668
- nullable: Ut,
7669
- number: Pe,
7670
- object: St,
7671
- oboolean: Ft,
7672
- onumber: Wt,
8727
+ null: wt,
8728
+ nullable: Gt,
8729
+ number: Ie,
8730
+ object: Et,
8731
+ oboolean: zt,
8732
+ onumber: Yt,
7673
8733
  optional: $t,
7674
- ostring: zt,
7675
- pipeline: Gt,
7676
- preprocess: qt,
7677
- promise: Zt,
7678
- record: Pt,
7679
- set: Nt,
7680
- strictObject: At,
7681
- string: Me,
7682
- symbol: vt,
7683
- transformer: Re,
7684
- tuple: Mt,
7685
- undefined: yt,
8734
+ ostring: Ht,
8735
+ pipeline: Wt,
8736
+ preprocess: Ft,
8737
+ promise: qt,
8738
+ record: Mt,
8739
+ set: Lt,
8740
+ strictObject: Ot,
8741
+ string: Pe,
8742
+ symbol: bt,
8743
+ transformer: Ce,
8744
+ tuple: Nt,
8745
+ undefined: xt,
7686
8746
  union: kt,
7687
- unknown: wt,
7688
- void: Tt,
7689
- NEVER: Ht,
8747
+ unknown: Tt,
8748
+ void: St,
8749
+ NEVER: Xt,
7690
8750
  ZodIssueCode: c,
7691
- quotelessJson: Xe,
7692
- ZodError: E
8751
+ quotelessJson: et,
8752
+ ZodError: O
7693
8753
  });
7694
8754
  const Qt = [
7695
8755
  "DASHBOARD",
@@ -7727,22 +8787,22 @@ const Qt = [
7727
8787
  "REWARD_TEMPLATE",
7728
8788
  "QUEUE",
7729
8789
  "BIN"
7730
- ].map((i) => `$connect-${i}`), Xt = Jt.enum(Qt), _ = Xt.Enum, ii = [
8790
+ ].map((i) => `$connect-${i}`), ei = Jt.enum(Qt), f = ei.Enum, ri = [
7731
8791
  {
7732
8792
  path: "",
7733
- name: _["$connect-DASHBOARD"],
7734
- redirect: { name: _["$connect-ANALYTIC"] }
8793
+ name: f["$connect-DASHBOARD"],
8794
+ redirect: { name: f["$connect-ANALYTIC"] }
7735
8795
  },
7736
8796
  {
7737
8797
  path: "/analytic",
7738
8798
  component: () => import("./MainLayout-B1aJoR95.js"),
7739
- redirect: { name: _["$connect-ANALYTIC"] },
8799
+ redirect: { name: f["$connect-ANALYTIC"] },
7740
8800
  children: [
7741
8801
  {
7742
8802
  path: "/analytic",
7743
- name: _["$connect-ANALYTIC"],
8803
+ name: f["$connect-ANALYTIC"],
7744
8804
  component: T(
7745
- R(() => import("./Analytic-DIzZEv_G.js"))
8805
+ C(() => import("./Analytic-CxQKbOnR.js"))
7746
8806
  ),
7747
8807
  meta: {
7748
8808
  validationManifest: {
@@ -7759,15 +8819,15 @@ const Qt = [
7759
8819
  },
7760
8820
  {
7761
8821
  path: "/campaign",
7762
- name: _["$connect-CAMPAIGN"],
7763
- redirect: _["$connect-CAMPAIGN_PROMOTION"],
8822
+ name: f["$connect-CAMPAIGN"],
8823
+ redirect: f["$connect-CAMPAIGN_PROMOTION"],
7764
8824
  component: () => import("./MainLayout-B1aJoR95.js"),
7765
8825
  children: [
7766
8826
  {
7767
8827
  path: "/campaign/promotion",
7768
- name: _["$connect-CAMPAIGN_PROMOTION"],
8828
+ name: f["$connect-CAMPAIGN_PROMOTION"],
7769
8829
  component: T(
7770
- R(() => import("./Promotion-BWygpn4X.js"))
8830
+ C(() => import("./Promotion-Bh8yiwPe.js"))
7771
8831
  ),
7772
8832
  meta: {
7773
8833
  validationManifest: {
@@ -7782,13 +8842,13 @@ const Qt = [
7782
8842
  },
7783
8843
  {
7784
8844
  path: "/campaign/voucher",
7785
- redirect: { name: _["$connect-CAMPAIGN_VOUCHER"] },
8845
+ redirect: { name: f["$connect-CAMPAIGN_VOUCHER"] },
7786
8846
  children: [
7787
8847
  {
7788
8848
  path: "/campaign/voucher",
7789
- name: _["$connect-CAMPAIGN_VOUCHER"],
8849
+ name: f["$connect-CAMPAIGN_VOUCHER"],
7790
8850
  component: T(
7791
- R(() => import("./Voucher-DjiXcyL2.js"))
8851
+ C(() => import("./Voucher-BX5Dy6oL.js"))
7792
8852
  ),
7793
8853
  meta: {
7794
8854
  validationManifest: {
@@ -7803,10 +8863,10 @@ const Qt = [
7803
8863
  },
7804
8864
  {
7805
8865
  path: "/campaign/voucher/:id/collections",
7806
- name: _["$connect-CAMPAIGN_VOUCHER_COLLECTIONS"],
8866
+ name: f["$connect-CAMPAIGN_VOUCHER_COLLECTIONS"],
7807
8867
  component: T(
7808
- R(
7809
- () => import("./Collections-Duct2pSH.js")
8868
+ C(
8869
+ () => import("./Collections-DSbNXU78.js")
7810
8870
  )
7811
8871
  ),
7812
8872
  meta: {
@@ -7824,9 +8884,9 @@ const Qt = [
7824
8884
  },
7825
8885
  {
7826
8886
  path: "/campaign/broadcast",
7827
- name: _["$connect-CAMPAIGN_BROADCAST"],
8887
+ name: f["$connect-CAMPAIGN_BROADCAST"],
7828
8888
  component: T(
7829
- R(() => import("./Broadcast-Bn5ZjKqo.js"))
8889
+ C(() => import("./Broadcast-CUfwWq6_.js"))
7830
8890
  ),
7831
8891
  meta: {
7832
8892
  validationManifest: {
@@ -7845,7 +8905,7 @@ const Qt = [
7845
8905
  path: "/program",
7846
8906
  // component: () => import('@/layouts/MainLayout.vue'),
7847
8907
  component: T(
7848
- R(() => import("./MainLayout-B1aJoR95.js"))
8908
+ C(() => import("./MainLayout-B1aJoR95.js"))
7849
8909
  ),
7850
8910
  meta: {
7851
8911
  validationManifest: {
@@ -7857,50 +8917,50 @@ const Qt = [
7857
8917
  ]
7858
8918
  }
7859
8919
  },
7860
- name: _["$connect-PROGRAM"],
7861
- redirect: _["$connect-PROGRAM_TIER"],
8920
+ name: f["$connect-PROGRAM"],
8921
+ redirect: f["$connect-PROGRAM_TIER"],
7862
8922
  children: [
7863
8923
  {
7864
8924
  path: "/program/tier",
7865
- name: _["$connect-PROGRAM_TIER"],
7866
- component: () => import("./Tier-qUFmMLZe.js")
8925
+ name: f["$connect-PROGRAM_TIER"],
8926
+ component: () => import("./Tier-98o6YCz1.js")
7867
8927
  },
7868
8928
  {
7869
8929
  path: "/program/title",
7870
- name: _["$connect-PROGRAM_TITLE"],
7871
- component: () => import("./Title-Qk0xODw6.js")
8930
+ name: f["$connect-PROGRAM_TITLE"],
8931
+ component: () => import("./Title-BmvCMh9F.js")
7872
8932
  },
7873
8933
  {
7874
8934
  path: "/program/experience",
7875
- name: _["$connect-PROGRAM_EXPERIENCE"],
7876
- component: () => import("./Experience-CIGwlErx.js")
8935
+ name: f["$connect-PROGRAM_EXPERIENCE"],
8936
+ component: () => import("./Experience-DkQbI88m.js")
7877
8937
  },
7878
8938
  {
7879
8939
  path: "/program/point",
7880
- name: _["$connect-PROGRAM_POINT"],
7881
- component: () => import("./Point-DvPTk5wL.js")
8940
+ name: f["$connect-PROGRAM_POINT"],
8941
+ component: () => import("./Point-yBqZgf08.js")
7882
8942
  },
7883
8943
  {
7884
8944
  path: "/program/credit",
7885
- name: _["$connect-PROGRAM_CREDIT"],
7886
- component: () => import("./Credit-D3mJTvRc.js")
8945
+ name: f["$connect-PROGRAM_CREDIT"],
8946
+ component: () => import("./Credit-Dp-tSMfE.js")
7887
8947
  },
7888
8948
  {
7889
8949
  path: "/program/game",
7890
- name: _["$connect-PROGRAM_GAME"],
7891
- component: () => import("./Game-Canf-7L-.js")
8950
+ name: f["$connect-PROGRAM_GAME"],
8951
+ component: () => import("./Game-BJvtVGC7.js")
7892
8952
  },
7893
8953
  {
7894
8954
  path: "mission",
7895
- name: _["$connect-PROGRAM_MISSION"],
7896
- component: () => import("./Mission-CsxpvhsB.js")
8955
+ name: f["$connect-PROGRAM_MISSION"],
8956
+ component: () => import("./Mission-B0h7ECrd.js")
7897
8957
  }
7898
8958
  ]
7899
8959
  },
7900
8960
  {
7901
8961
  path: "/loyalty",
7902
8962
  component: T(
7903
- R(() => import("./MainLayout-B1aJoR95.js"))
8963
+ C(() => import("./MainLayout-B1aJoR95.js"))
7904
8964
  ),
7905
8965
  meta: {
7906
8966
  validationManifest: {
@@ -7912,51 +8972,51 @@ const Qt = [
7912
8972
  ]
7913
8973
  }
7914
8974
  },
7915
- name: _["$connect-LOYALTY"],
7916
- redirect: _["$connect-LOYALTY_MEMBER"],
8975
+ name: f["$connect-LOYALTY"],
8976
+ redirect: f["$connect-LOYALTY_MEMBER"],
7917
8977
  children: [
7918
8978
  {
7919
8979
  path: "/loyalty/member",
7920
- name: _["$connect-LOYALTY_MEMBER"],
7921
- component: () => import("./Member-Bt0NaXiS.js"),
8980
+ name: f["$connect-LOYALTY_MEMBER"],
8981
+ component: () => import("./Member-BzrcLN4X.js"),
7922
8982
  redirect: {
7923
- name: _["$connect-LOYALTY_MEMBER_OVERVIEW"]
8983
+ name: f["$connect-LOYALTY_MEMBER_OVERVIEW"]
7924
8984
  },
7925
8985
  children: [
7926
8986
  {
7927
8987
  path: "/loyalty/member",
7928
- name: _["$connect-LOYALTY_MEMBER_OVERVIEW"],
8988
+ name: f["$connect-LOYALTY_MEMBER_OVERVIEW"],
7929
8989
  component: () => import("./MemberOverview-wL_ailso.js")
7930
8990
  },
7931
8991
  {
7932
8992
  path: "/loyalty/member/list",
7933
- name: _["$connect-LOYALTY_MEMBER_LIST"],
7934
- component: () => import("./MemberList-CXk-T9r2.js")
8993
+ name: f["$connect-LOYALTY_MEMBER_LIST"],
8994
+ component: () => import("./MemberList-_uD6WR--.js")
7935
8995
  },
7936
8996
  {
7937
8997
  path: "/loyalty/member/transactions/:id",
7938
- name: _["$connect-LOYALTY_MEMBER_TRANSACTIONS"],
7939
- component: () => import("./MemberTransactions-Dg-A6a0v.js")
8998
+ name: f["$connect-LOYALTY_MEMBER_TRANSACTIONS"],
8999
+ component: () => import("./MemberTransactions-DIG5noli.js")
7940
9000
  }
7941
9001
  ]
7942
9002
  },
7943
9003
  {
7944
9004
  path: "/loyalty/segment",
7945
- name: _["$connect-LOYALTY_SEGMENT"],
7946
- component: () => import("./Segment-C8rNVlEi.js")
9005
+ name: f["$connect-LOYALTY_SEGMENT"],
9006
+ component: () => import("./Segment-BVH3YC8I.js")
7947
9007
  },
7948
9008
  {
7949
9009
  path: "/loyalty/card",
7950
- name: _["$connect-LOYALTY_CARD"],
7951
- component: () => import("./Card-sBhDvBXT.js")
9010
+ name: f["$connect-LOYALTY_CARD"],
9011
+ component: () => import("./Card-DsMVa01V.js")
7952
9012
  }
7953
9013
  ]
7954
9014
  },
7955
9015
  {
7956
9016
  path: "/referral",
7957
- redirect: { name: _["$connect-REFERRAL"] },
9017
+ redirect: { name: f["$connect-REFERRAL"] },
7958
9018
  component: T(
7959
- R(() => import("./MainLayout-B1aJoR95.js"))
9019
+ C(() => import("./MainLayout-B1aJoR95.js"))
7960
9020
  ),
7961
9021
  meta: {
7962
9022
  validationManifest: {
@@ -7971,21 +9031,21 @@ const Qt = [
7971
9031
  children: [
7972
9032
  {
7973
9033
  path: "/referral",
7974
- name: _["$connect-REFERRAL"],
7975
- component: () => import("./Index-25eVdVm7.js"),
9034
+ name: f["$connect-REFERRAL"],
9035
+ component: () => import("./Index-BcHe2Qqe.js"),
7976
9036
  redirect: {
7977
- name: _["$connect-REFERRAL_OVERVIEW"]
9037
+ name: f["$connect-REFERRAL_OVERVIEW"]
7978
9038
  },
7979
9039
  children: [
7980
9040
  {
7981
9041
  path: "/referral",
7982
- name: _["$connect-REFERRAL_OVERVIEW"],
7983
- component: () => import("./Overview-BUlq3MuQ.js")
9042
+ name: f["$connect-REFERRAL_OVERVIEW"],
9043
+ component: () => import("./Overview-BfjTYcaf.js")
7984
9044
  },
7985
9045
  {
7986
9046
  path: "/referral/record",
7987
- name: _["$connect-REFERRAL_RECORD"],
7988
- component: () => import("./Record-CritfdkX.js")
9047
+ name: f["$connect-REFERRAL_RECORD"],
9048
+ component: () => import("./Record-DSLpbGVk.js")
7989
9049
  }
7990
9050
  ]
7991
9051
  }
@@ -7994,7 +9054,7 @@ const Qt = [
7994
9054
  {
7995
9055
  path: "/store",
7996
9056
  component: T(
7997
- R(() => import("./MainLayout-B1aJoR95.js"))
9057
+ C(() => import("./MainLayout-B1aJoR95.js"))
7998
9058
  ),
7999
9059
  meta: {
8000
9060
  validationManifest: {
@@ -8009,22 +9069,22 @@ const Qt = [
8009
9069
  children: [
8010
9070
  {
8011
9071
  path: "/store",
8012
- name: _["$connect-STORE"],
8013
- component: () => import("./Store-DEtsM22Y.js")
9072
+ name: f["$connect-STORE"],
9073
+ component: () => import("./Store-CHcszdPx.js")
8014
9074
  },
8015
9075
  {
8016
9076
  path: "/store/rewards",
8017
- redirect: { name: _["$connect-STORE_REWARDS"] },
9077
+ redirect: { name: f["$connect-STORE_REWARDS"] },
8018
9078
  children: [
8019
9079
  {
8020
9080
  path: "/store/rewards",
8021
- name: _["$connect-STORE_REWARDS"],
8022
- component: () => import("./StoreRewards-DVzCi6nY.js")
9081
+ name: f["$connect-STORE_REWARDS"],
9082
+ component: () => import("./StoreRewards-BXrXO3Cg.js")
8023
9083
  },
8024
9084
  {
8025
9085
  path: "/store/rewards/:id/collections",
8026
- name: _["$connect-STORE_REWARD_COLLECTIONS"],
8027
- component: () => import("./Collections-Duct2pSH.js")
9086
+ name: f["$connect-STORE_REWARD_COLLECTIONS"],
9087
+ component: () => import("./Collections-DSbNXU78.js")
8028
9088
  }
8029
9089
  ]
8030
9090
  }
@@ -8033,7 +9093,7 @@ const Qt = [
8033
9093
  {
8034
9094
  path: "/transaction",
8035
9095
  component: T(
8036
- R(() => import("./MainLayout-B1aJoR95.js"))
9096
+ C(() => import("./MainLayout-B1aJoR95.js"))
8037
9097
  ),
8038
9098
  meta: {
8039
9099
  validationManifest: {
@@ -8048,15 +9108,15 @@ const Qt = [
8048
9108
  children: [
8049
9109
  {
8050
9110
  path: "/transaction",
8051
- name: _["$connect-TRANSACTION"],
8052
- component: () => import("./Transaction-Be-VAdL0.js")
9111
+ name: f["$connect-TRANSACTION"],
9112
+ component: () => import("./Transaction-D07dnpCB.js")
8053
9113
  }
8054
9114
  ]
8055
9115
  },
8056
9116
  {
8057
9117
  path: "/marketing",
8058
9118
  component: T(
8059
- R(() => import("./MainLayout-B1aJoR95.js"))
9119
+ C(() => import("./MainLayout-B1aJoR95.js"))
8060
9120
  ),
8061
9121
  meta: {
8062
9122
  validationManifest: {
@@ -8071,15 +9131,15 @@ const Qt = [
8071
9131
  children: [
8072
9132
  {
8073
9133
  path: "/marketing",
8074
- name: _["$connect-MARKETING"],
8075
- component: () => import("./Marketing-krqaA6fv.js")
9134
+ name: f["$connect-MARKETING"],
9135
+ component: () => import("./Marketing-BaYjdZpb.js")
8076
9136
  }
8077
9137
  ]
8078
9138
  },
8079
9139
  {
8080
9140
  path: "/reward",
8081
9141
  component: T(
8082
- R(() => import("./MainLayout-B1aJoR95.js"))
9142
+ C(() => import("./MainLayout-B1aJoR95.js"))
8083
9143
  ),
8084
9144
  meta: {
8085
9145
  validationManifest: {
@@ -8094,15 +9154,15 @@ const Qt = [
8094
9154
  children: [
8095
9155
  {
8096
9156
  path: "/reward",
8097
- name: _["$connect-REWARD_TEMPLATE"],
8098
- component: () => import("./Reward-DuZ73-kd.js")
9157
+ name: f["$connect-REWARD_TEMPLATE"],
9158
+ component: () => import("./Reward-BzAIdcgx.js")
8099
9159
  }
8100
9160
  ]
8101
9161
  },
8102
9162
  {
8103
9163
  path: "/setting",
8104
9164
  component: T(
8105
- R(() => import("./MainLayout-B1aJoR95.js"))
9165
+ C(() => import("./MainLayout-B1aJoR95.js"))
8106
9166
  ),
8107
9167
  meta: {
8108
9168
  validationManifest: {
@@ -8117,20 +9177,20 @@ const Qt = [
8117
9177
  children: [
8118
9178
  {
8119
9179
  path: "/setting",
8120
- name: _["$connect-SETTING"],
8121
- component: () => import("./Setting-BwLCOkXJ.js")
9180
+ name: f["$connect-SETTING"],
9181
+ component: () => import("./Setting-CFLtqHFJ.js")
8122
9182
  },
8123
9183
  {
8124
9184
  path: "/setting/advertisements",
8125
- name: _["$connect-SETTING_ADVERTISEMENTS"],
8126
- component: () => import("./SettingAdvertisements-Bjw1RSKB.js")
9185
+ name: f["$connect-SETTING_ADVERTISEMENTS"],
9186
+ component: () => import("./SettingAdvertisements-CvFG5Fun.js")
8127
9187
  }
8128
9188
  ]
8129
9189
  },
8130
9190
  {
8131
9191
  path: "/bin",
8132
9192
  component: T(
8133
- R(() => import("./MainLayout-B1aJoR95.js"))
9193
+ C(() => import("./MainLayout-B1aJoR95.js"))
8134
9194
  ),
8135
9195
  meta: {
8136
9196
  validationManifest: {
@@ -8145,15 +9205,15 @@ const Qt = [
8145
9205
  children: [
8146
9206
  {
8147
9207
  path: "/bin",
8148
- name: _["$connect-BIN"],
8149
- component: () => import("./Bin-Bt_ru3Gd.js")
9208
+ name: f["$connect-BIN"],
9209
+ component: () => import("./Bin-BFx6j8vs.js")
8150
9210
  }
8151
9211
  ]
8152
9212
  },
8153
9213
  {
8154
9214
  path: "/queue",
8155
9215
  component: T(
8156
- R(() => import("./MainLayout-B1aJoR95.js"))
9216
+ C(() => import("./MainLayout-B1aJoR95.js"))
8157
9217
  ),
8158
9218
  meta: {
8159
9219
  validationManifest: {
@@ -8168,25 +9228,25 @@ const Qt = [
8168
9228
  children: [
8169
9229
  {
8170
9230
  path: "/queue",
8171
- name: _["$connect-QUEUE"],
8172
- component: () => import("./Queue-iD4D04Z-.js")
9231
+ name: f["$connect-QUEUE"],
9232
+ component: () => import("./Queue-CMMyxmWP.js")
8173
9233
  }
8174
9234
  ]
8175
9235
  }
8176
- ], ai = {
8177
- "en-US": je,
8178
- "zh-CN": $e,
8179
- "th-TH": qe,
8180
- "zh-Hant": Fe,
9236
+ ], ni = {
9237
+ "en-US": Be,
9238
+ "zh-CN": Ze,
9239
+ "th-TH": Fe,
9240
+ "zh-Hant": ze,
8181
9241
  "ja-JP": Qe
8182
- }, ni = () => import("./App-DrnbBc_l.js").then((i) => i.default);
9242
+ }, oi = () => import("./App-C0HCgYW2.js").then((i) => i.default);
8183
9243
  export {
8184
- ni as F,
8185
- _ as R,
9244
+ oi as F,
9245
+ f as R,
8186
9246
  c as Z,
8187
9247
  l as a,
8188
9248
  Y as e,
8189
- ai as i,
8190
- ii as r,
9249
+ ni as i,
9250
+ ri as r,
8191
9251
  Jt as z
8192
9252
  };