@feedmepos/mf-connect 0.1.0-beta.4 → 0.1.0-beta.41

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 (106) hide show
  1. package/dist/Analytic-C7iDpCvx.js +426 -0
  2. package/dist/{App-BnQwjxIr.js → App-rOEspgIk.js} +397 -384
  3. package/dist/{Broadcast-y1kP18mo.js → Broadcast-CI61-FqI.js} +32 -32
  4. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Dj0JUMOk.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BL_KxlIX.js} +6 -8
  5. package/dist/Card-CUzEZnUC.js +894 -0
  6. package/dist/{Collections-DPfbZMg1.js → Collections-zYhQfAph.js} +28 -34
  7. package/dist/{Credit-QleM_b6q.js → Credit-D6G2xUEu.js} +14 -14
  8. package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-DLnvDVgf.js +108 -0
  9. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-CxxmBzPu.js +2209 -0
  10. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-2hRTF1EJ.js → EffectSheet.vue_vue_type_style_index_0_lang-Drd0ZjdQ.js} +8 -8
  11. package/dist/{Experience-DGKj8ChY.js → Experience-Cqn6cpA4.js} +8 -8
  12. package/dist/{Game-BxRdzSma.js → Game-CGrL5xmK.js} +15 -15
  13. package/dist/Index-CCcuCcmL.js +255 -0
  14. package/dist/Marketing-DhZHedDV.js +20070 -0
  15. package/dist/{Member-CteeBDi2.js → Member-CB8o8wLL.js} +4 -4
  16. package/dist/MemberList-D6zRpcwU.js +1554 -0
  17. package/dist/MemberTransactions-HCaDl8dN.js +45 -0
  18. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CZ2M8huU.js → MessageInput.vue_vue_type_script_setup_true_lang-CqlGFgwF.js} +2 -2
  19. package/dist/{Mission-CZgXBa09.js → Mission-CexuwCSV.js} +98 -86
  20. package/dist/Overview-CZk3IHyA.js +1063 -0
  21. package/dist/{Point-C2vzEfRP.js → Point-DJ_sLiid.js} +23 -23
  22. package/dist/{Promotion-337OT0sP.js → Promotion-CWBpjPXQ.js} +53 -47
  23. package/dist/Record-CwT9Pmjn.js +337 -0
  24. package/dist/Reward-DhOIXKAB.js +432 -0
  25. package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-UP4KtCK2.js +149 -0
  26. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-BNw-CED0.js +1637 -0
  27. package/dist/Segment-BE7Bt2tH.js +566 -0
  28. package/dist/SelectItems.vue_vue_type_script_setup_true_lang-CDyT_cSb.js +181 -0
  29. package/dist/{Setting-DVK2594u.js → Setting-D1k2xVYx.js} +609 -586
  30. package/dist/Store-BzoJ_ZBZ.js +1743 -0
  31. package/dist/{StoreRewards-BpEmNueE.js → StoreRewards-OAPmCssF.js} +12 -12
  32. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BIr5Zzij.js +1099 -0
  33. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-DT48bSiH.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-C2fU1byp.js} +1 -1
  34. package/dist/{Tier-BwvOhyXR.js → Tier-IHJ7dlTI.js} +325 -317
  35. package/dist/{Title-DRPdKYRO.js → Title-C4KcQWk_.js} +197 -183
  36. package/dist/{Transaction-BnLvacwW.js → Transaction-B7SWRleT.js} +2 -2
  37. package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-DOXLpM1y.js +130 -0
  38. package/dist/{Voucher-BQL8J_EA.js → Voucher-Dzh-oh1p.js} +40 -40
  39. package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-DeTWCZF1.js +419 -0
  40. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-B316b_ta.js → ZodTextField.vue_vue_type_script_setup_true_lang-rBa59HC1.js} +1 -1
  41. package/dist/{app-BVaQwBvq.js → app-BkSGMADw.js} +1 -1
  42. package/dist/{app-zO552-Dl.js → app-ZePrUEIY.js} +1183 -1154
  43. package/dist/app.js +1 -1
  44. package/dist/{business-BSl6NSdS.js → business-CG7GnAu5.js} +1 -1
  45. package/dist/campaign-BSH9FJHx.js +1810 -0
  46. package/dist/{campaign-CxN6mq_l.js → campaign-DFvmN5Ky.js} +2 -2
  47. package/dist/campaign.enum-CBlGXHp0.js +20 -0
  48. package/dist/campaign.fn-BszsH1EQ.js +758 -0
  49. package/dist/collectible.enum-Sd3QSyrd.js +19 -0
  50. package/dist/{collection.fn-C-2dyWp9.js → collection.fn-CIFllkyx.js} +2 -2
  51. package/dist/dto-DG2Ckvh4.js +214 -0
  52. package/dist/{effect-D8y0J47O.js → effect-CWSFIfZh.js} +9 -9
  53. package/dist/email-addresses-BCNsQNXA.js +705 -0
  54. package/dist/{export-BxTrifKO.js → export-DKe01mG4.js} +3 -3
  55. package/dist/{helper-bEmZlTwA.js → helper-Et1Q6YUA.js} +1 -1
  56. package/dist/{index-DHTYWfTs.js → index-Bk281EIF.js} +207 -195
  57. package/dist/{index-B2qriSSk.js → index-CHAvEqB_.js} +1 -1
  58. package/dist/index-CMEY40F9.js +32 -0
  59. package/dist/index-CsaQJMAR.js +66 -0
  60. package/dist/{index-C_WyKCqN.js → index-D4FT-dGm.js} +1 -1
  61. package/dist/{index-JBp0chol.js → index-D_sLK5cZ.js} +1500 -1479
  62. package/dist/{index-Dnv999nc.js → index-Dkl_Y2Ir.js} +1 -1
  63. package/dist/{index-Ckz-D_AP.js → index-Dlv6dpg5.js} +2188 -931
  64. package/dist/index-DrRQsR1a.js +44 -0
  65. package/dist/{index-DuYb25dY.js → index-DzZDUZ8E.js} +37 -4
  66. package/dist/index-F1sEdtX3.js +54 -0
  67. package/dist/index-RFzgIvoM.js +29000 -0
  68. package/dist/{index-BFWCbVq2.js → index-RhGXDJ8R.js} +1 -1
  69. package/dist/index-vh86FiIQ.js +10 -0
  70. package/dist/{index.esm2017-Tw7KabwI.js → index.esm2017-COLDuQQ-.js} +1 -1
  71. package/dist/{loading-60xYxow_.js → loading-DxppIZmv.js} +1714 -1720
  72. package/dist/{membership-43FU3EmV.js → membership-DIBN0bog.js} +52 -44
  73. package/dist/money-L7YJDctU.js +15 -0
  74. package/dist/number-BAUL1NQ9.js +12 -0
  75. package/dist/objectid-BXKVeU2w.js +145 -0
  76. package/dist/remy-vue-client-Cpppk9h-.js +1693 -0
  77. package/dist/reward-Qjelc0jm.js +36 -0
  78. package/dist/{rule-DlHrKp8K.js → rule-BAqQRjqc.js} +180 -177
  79. package/dist/{rule-builder-CU8P8b8U.js → rule-builder-D2hQiWL6.js} +1 -1
  80. package/dist/style.css +1 -1
  81. package/dist/{template-9StyN-b7.js → template-NVFsa0l_.js} +5 -5
  82. package/dist/trigger-qeiGHLZs.js +114 -0
  83. package/dist/{xlsx-CrRvm5Vs.js → usePagination-De7j-UtU.js} +3183 -2962
  84. package/dist/user-CKVD-V1i.js +54 -0
  85. package/dist/{vue-i18n-UKlvivrG.js → vue-i18n-CTdcKDi0.js} +2 -2
  86. package/package.json +8 -7
  87. package/dist/Analytic-BtldByrt.js +0 -622
  88. package/dist/Card-kW7k8kOl.js +0 -825
  89. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BtI2rY4y.js +0 -2813
  90. package/dist/Marketing-CG4GQdax.js +0 -316
  91. package/dist/MemberList-CANkPyR0.js +0 -1733
  92. package/dist/MemberTransactions-CcCa21fY.js +0 -38
  93. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-Dh3naMXv.js +0 -1753
  94. package/dist/Segment-Clstp5D-.js +0 -437
  95. package/dist/Store-PnpBvIoo.js +0 -1511
  96. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CrDhK2dt.js +0 -890
  97. package/dist/dto-B20bsdh6.js +0 -2770
  98. package/dist/index-BUCjM4jq.js +0 -29193
  99. package/dist/index-Ceu2PcnH.js +0 -206
  100. package/dist/index-CuvNtC_M.js +0 -61
  101. package/dist/index-D3DAgTFI.js +0 -762
  102. package/dist/index-Kjelmo0Y.js +0 -298
  103. package/dist/money-CmR3-qMz.js +0 -15
  104. package/dist/number-CZlrO6Sq.js +0 -12
  105. package/dist/usePagination-BeF5K3M7.js +0 -223
  106. package/dist/user-Bm4KttFq.js +0 -37
@@ -1,7 +1,8 @@
1
- import { defineAsyncComponent as A } from "vue";
2
- import { withPermission as k, Permission as w } from "@feedmepos/mf-common";
1
+ import { defineAsyncComponent as k } from "vue";
2
+ import { withPermission as R, Permission as x } from "@feedmepos/mf-common";
3
3
  const Pe = {
4
4
  common: {
5
+ submit: "Submit",
5
6
  confirm: "Confirm",
6
7
  cancel: "Cancel",
7
8
  save: "Save",
@@ -255,7 +256,8 @@ const Pe = {
255
256
  store: "Store",
256
257
  transaction: "Transaction",
257
258
  setting: "Setting",
258
- mission: "Mission"
259
+ mission: "Mission",
260
+ referral: "Referral"
259
261
  },
260
262
  loyalty: {
261
263
  card: {
@@ -277,7 +279,8 @@ const Pe = {
277
279
  phone: "Phone",
278
280
  created_at: "Created at",
279
281
  bundle: "Bundle",
280
- redeemed_at: "Redeemed at"
282
+ redeemed_at: "Redeemed at",
283
+ actions: "Actions"
281
284
  }
282
285
  },
283
286
  member: {
@@ -738,12 +741,13 @@ const Pe = {
738
741
  type: "Type",
739
742
  validity: "Validity",
740
743
  used: "Used",
741
- actions: "Actions"
744
+ actions: "Actions",
745
+ summary: "Summary"
742
746
  }
743
747
  },
744
748
  prompt: {
745
- confirm: "confirm",
746
- cancel: "cancel"
749
+ confirm: "Confirm",
750
+ cancel: "Cancel"
747
751
  },
748
752
  editTierSheet: {
749
753
  add: "Add",
@@ -757,6 +761,92 @@ const Pe = {
757
761
  actions: "Actions",
758
762
  submit: "Submit",
759
763
  cancel: "Cancel"
764
+ },
765
+ referral: {
766
+ title: "Referral Program",
767
+ actions: {
768
+ create: "Create referral",
769
+ manage_reward: "Manage reward",
770
+ terms: "Terms and conditions",
771
+ manage_criteria: "Manage criteria",
772
+ add_referral_tier: "Add referral tier"
773
+ },
774
+ tabs: {
775
+ overview: "Overview",
776
+ record: "Record"
777
+ },
778
+ referral_tier_title: "Set rewards for successful referrals",
779
+ referral_tier_description: "Add and customize rewards for each step within the selected referral tier.",
780
+ add_referral_tier: "Add referral tier",
781
+ overview: {
782
+ title: "Overview",
783
+ total_joined: "Total joined",
784
+ total_redeem: "Total redeemed",
785
+ total_referee: "Total referee",
786
+ pending: "Pending"
787
+ },
788
+ how_it_works: {
789
+ title: "How it works",
790
+ generate_link: "Generate link",
791
+ generate_link_for_member: "Generate link for member",
792
+ referee_join_reward: "Referee join reward",
793
+ referee_meet_criteria: "Referee meet criteria",
794
+ referer_get_reward: "Referer get reward"
795
+ },
796
+ reward: {
797
+ add_count: "Add count"
798
+ },
799
+ editReferralTierSheet: {
800
+ create: "Create referral tier",
801
+ edit: "Edit referral tier",
802
+ target_audience: "Target audience",
803
+ name: "Name"
804
+ },
805
+ editReferralCountSheet: {
806
+ add: "Add referral count",
807
+ edit: "Edit referral count",
808
+ referrer_reward: "Referrer reward",
809
+ min_referral_count: "Min referral count",
810
+ max_referral_count: "Max referral count"
811
+ },
812
+ refereeRewardSheet: {
813
+ referee_reward: "Referee reward"
814
+ },
815
+ referral_count: {
816
+ title: "Referral count",
817
+ update: {
818
+ range_discontinuous: {
819
+ previous: `The referral count range is not continuous.
820
+ Previous range: {name} [{from} - {to}].
821
+ Do you want to update the previous range to [{from} - {newTo}]?`,
822
+ next: `The referral count range is not continuous.
823
+ Next range: {name} [{from} - {to}].
824
+ Do you want to update the next range to [{newFrom} - {to}]?`
825
+ }
826
+ },
827
+ remove: {
828
+ confirm: "Are you sure you want to remove this referral count?",
829
+ title: "Remove referral count",
830
+ next_range: "Update next range",
831
+ range_discontinuous: {
832
+ previous: `The referral count range is not continuous.
833
+ Previous range: {name} [{from} - {to}].
834
+ Do you want to update the previous range to [{from} - {newTo}]?`,
835
+ next: `The referral count range is not continuous.
836
+ Next range: {name} [{from} - {to}].
837
+ Do you want to update the next range to [{newFrom} - {to}]?`
838
+ }
839
+ }
840
+ }
841
+ },
842
+ reward: {
843
+ title: "Reward",
844
+ description: "Reward your customers for successful referrals",
845
+ table: {
846
+ title: "Reward title",
847
+ type: "Reward type",
848
+ description: "Description"
849
+ }
760
850
  }
761
851
  }, Le = {
762
852
  invalid_type: "Expected {{expected}}, received {{received}}",
@@ -871,7 +961,7 @@ const Pe = {
871
961
  map: "map",
872
962
  set: "set"
873
963
  }
874
- }, De = {
964
+ }, je = {
875
965
  timeframe: {
876
966
  end_before_start: "End date must be later or same as start date"
877
967
  },
@@ -887,11 +977,11 @@ const Pe = {
887
977
  reward_threshold_unique: "Reward threshold must be unique",
888
978
  effect_required: "Effect is required"
889
979
  }
890
- }, je = {
980
+ }, De = {
891
981
  connect: Pe,
892
982
  connectZod: Le,
893
- connectZodCustom: De
894
- }, Ve = {
983
+ connectZodCustom: je
984
+ }, Ze = {
895
985
  common: {
896
986
  confirm: "确认",
897
987
  cancel: "取消",
@@ -1166,7 +1256,8 @@ const Pe = {
1166
1256
  phone: "电话",
1167
1257
  created_at: "创建于",
1168
1258
  bundle: "捆绑",
1169
- redeemed_at: "兑换于"
1259
+ redeemed_at: "兑换于",
1260
+ actions: "操作"
1170
1261
  }
1171
1262
  },
1172
1263
  member: {
@@ -1647,7 +1738,7 @@ const Pe = {
1647
1738
  submit: "提交",
1648
1739
  cancel: "取消"
1649
1740
  }
1650
- }, Ze = {
1741
+ }, Ve = {
1651
1742
  errors: {
1652
1743
  invalid_type: "预期输入为{{expected}},而输入为{{received}}",
1653
1744
  invalid_type_received_undefined: "必填",
@@ -1759,7 +1850,7 @@ const Pe = {
1759
1850
  map: "字典",
1760
1851
  set: "集合"
1761
1852
  }
1762
- }, Ue = {
1853
+ }, $e = {
1763
1854
  timeframe: {
1764
1855
  end_before_start: "结束日期必须晚于或等于开始日期"
1765
1856
  },
@@ -1776,898 +1867,774 @@ const Pe = {
1776
1867
  effect_required: "效果是必需的"
1777
1868
  }
1778
1869
  }, Be = {
1779
- connect: Ve,
1780
- connectZod: Ze,
1781
- connectZodCustom: Ue
1782
- }, $e = {
1783
- common: {
1784
- confirm: "Confirm",
1785
- cancel: "Cancel",
1786
- save: "Save",
1787
- delete: "Delete",
1788
- edit: "Edit",
1789
- add: "Add",
1790
- optional: "Optional"
1791
- },
1792
- template: {
1793
- general: "General",
1794
- trigger: "Trigger",
1795
- general_information: "General information",
1796
- discount: "Discount",
1797
- terms_conditions: "Terms and conditions",
1798
- time_limitation: "Time limitation",
1799
- target_audience: "Target audience",
1800
- game_configuration: "Game configuration",
1801
- location: "Location",
1802
- voucher_detail: "Voucher detail",
1803
- spending_criteria: "Spending criteria",
1804
- feedback_criteria: "Feedback criteria",
1805
- voucher_usage_configuration: "Voucher usage configuration",
1806
- notify_audience: "Notify audience",
1807
- notify_message: "Notify message",
1808
- earning_type: "Earning type",
1809
- validity_configuration: "Validity configuration",
1810
- mission_participation: "Mission participation",
1811
- configure_reward: "Configure reward",
1812
- content: "Content",
1813
- broadcast_configuration: "Broadcast configuration",
1814
- game_type: "Game type",
1815
- reward_pool: "Reward pool",
1816
- configuration: "Configuration",
1817
- campaign_name: "Campaign name",
1818
- campaign_description: "Campaign description",
1819
- campaign_period: "Campaign period",
1820
- voucher_name: "Voucher name",
1821
- voucher_description: "Voucher description",
1822
- voucher_image: "Voucher image",
1823
- target_location: "Target location",
1824
- send_notification: "Send notification",
1825
- notification_message: "Notification message",
1826
- min_spend: "Min Spend",
1827
- select_game: "Select a game where you want your customer to play",
1828
- configure_reward_type: "Configure the reward type and weightage given to your customer.",
1829
- configure_reward_customer: "Configure the reward type given to your customer.",
1830
- max_per_user: "Max per user",
1831
- usage_count: "Usage count",
1832
- max_distribute: "Max distribute",
1833
- cooldown: "Cooldown",
1834
- validity_option: {
1835
- title: "Validity option",
1836
- date_range: "Date range",
1837
- custom: "Custom",
1838
- expire: "Expires",
1839
- after_day: "After (days)",
1840
- days: "days(s)",
1841
- expire_follow_first_receive: "Expiry follows the first receive",
1842
- expires_on_same_day: "Expires on the same day"
1843
- },
1844
- enable_transfer: "Enable transfer",
1845
- rule: {
1846
- time: {
1847
- all_time: "All time",
1848
- custom: "Custom date/time",
1849
- confirm_remove: "Are you sure you want to turn off custom conditons? This will remove all the rules you have set."
1850
- },
1851
- audience: {
1852
- all: "All audience",
1853
- member_segment: "Member segment",
1854
- custom_audience: "Custom audience",
1855
- confirm_remove: "Are you sure you want to change the audience type? This will remove all the rules you have set."
1856
- }
1857
- }
1858
- },
1870
+ connect: Ze,
1871
+ connectZod: Ve,
1872
+ connectZodCustom: $e
1873
+ }, Ue = {
1859
1874
  campaign: {
1860
1875
  common: {
1861
- createCampaign: "Create campaign",
1862
- search: "search",
1863
- location: "Location: ",
1864
- noResults: "No results found",
1876
+ createCampaign: "สร้างแคมเปญ",
1877
+ search: "ค้นหา",
1878
+ location: "ตำแหน่ง:",
1879
+ noResults: "ไม่พบผลลัพธ์",
1865
1880
  remove: {
1866
- confirm: "Are you sure you want to remove {name}?",
1867
- removing: "Removing {name}",
1868
- removed: "Removed {name} successfully"
1881
+ confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}",
1882
+ removing: "กำลังลบ {name}",
1883
+ removed: "ลบ {name} สำเร็จแล้ว"
1869
1884
  },
1870
1885
  actions: {
1871
- remove: "Remove",
1872
- send: "Send",
1873
- share: "Share"
1874
- },
1875
- effect_required: "Effect is required",
1876
- unsaved_changes: "Are you sure you want to discard this changes?",
1877
- unsaved_changes_confirm: "Discard",
1878
- unsaved_changes_cancel: "Cancel",
1879
- save: "Save",
1880
- cancel: "Cancel",
1881
- summary: "Campaign summary",
1882
- campaign_name: "Campaign name",
1883
- campaign_period: "Campaign period",
1884
- next_schedule_at: "Next schedule at",
1885
- discount_type: "Discount type",
1886
- discount_amount: "Discount amount",
1887
- discount_percentage: "Discount percentage",
1888
- all_locations: "All locations",
1889
- available_at: "Available at",
1890
- always: "Always",
1891
- no_location: "No location",
1892
- status: {
1893
- active: "Active",
1894
- upcoming: "Upcoming",
1895
- expired: "Expired"
1896
- }
1886
+ remove: "ลบ",
1887
+ send: "ส่ง",
1888
+ share: "แชร์"
1889
+ },
1890
+ effect_required: "จำเป็นต้องมีผล",
1891
+ unsaved_changes: "คุณแน่ใจหรือไม่ว่าต้องการยกเลิกการเปลี่ยนแปลงนี้",
1892
+ unsaved_changes_confirm: "ยกเลิก",
1893
+ unsaved_changes_cancel: "ยกเลิก",
1894
+ save: "บันทึก",
1895
+ cancel: "ยกเลิก",
1896
+ summary: "สรุปแคมเปญ",
1897
+ campaign_name: "ชื่อแคมเปญ",
1898
+ campaign_period: "ช่วงเวลาแคมเปญ",
1899
+ next_schedule_at: "กำหนดการถัดไป",
1900
+ discount_type: "ประเภทส่วนลด",
1901
+ discount_amount: "จำนวนส่วนลด",
1902
+ discount_percentage: "เปอร์เซ็นต์ส่วนลด",
1903
+ all_locations: "ทุกตำแหน่ง",
1904
+ available_at: "มีให้ใช้งานที่",
1905
+ always: "เสมอ",
1906
+ no_location: "ไม่มีตำแหน่ง"
1897
1907
  },
1898
1908
  mission: {
1899
- title: "Mission",
1900
- create: "Create campaign",
1901
- confirmDelete: "Are you sure you want to remove {name}?",
1902
- removing: "Removing {name}",
1903
- removed: "Removed {name} successfully",
1904
- updating: "Updating Mission program",
1905
- updated: "Mission program updated successfully",
1906
- creating: "Creating Mission program",
1907
- created: "Mission program created successfully",
1908
- location: "Location: ",
1909
- createProgram: "Create your mission program",
1910
- description: "The mission feature adds a fun element to shopping, encouraging customers to engage more.",
1911
- createButton: "Create Mission program",
1912
- type: "Mission type",
1913
- received: "Received"
1909
+ title: "ภารกิจ",
1910
+ create: "สร้างแคมเปญ",
1911
+ confirmDelete: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}",
1912
+ removing: "กำลังลบ {name}",
1913
+ removed: "ลบ {name} สำเร็จแล้ว",
1914
+ updating: "กำลังอัปเดตโปรแกรมภารกิจ",
1915
+ updated: "อัปเดตโปรแกรมภารกิจเรียบร้อยแล้ว",
1916
+ creating: "กำลังสร้างโปรแกรมภารกิจ",
1917
+ created: "สร้างโปรแกรมภารกิจสำเร็จแล้ว",
1918
+ location: "ที่ตั้ง:",
1919
+ createProgram: "สร้างโปรแกรมภารกิจของคุณ",
1920
+ description: "ฟีเจอร์ภารกิจเพิ่มองค์ประกอบความสนุกให้กับการช้อปปิ้ง ช่วยกระตุ้นให้ลูกค้ามีส่วนร่วมมากขึ้น",
1921
+ createButton: "สร้างโปรแกรมภารกิจ",
1922
+ type: "ประเภทภารกิจ",
1923
+ received: "ได้รับ"
1914
1924
  },
1915
1925
  broadcast: {
1916
- title: "Broadcast",
1917
- messageSent: "{count} sent",
1926
+ title: "บรอดแคสต์",
1927
+ messageSent: "ส่งแล้ว {count} ครั้ง",
1918
1928
  create: {
1919
- title: "Create your broadcast campaign",
1920
- description: "Broadcasting allows you to send text messages to all your customers, informing them about new deals, events, or important updates.",
1921
- button: "Create broadcast campaign"
1929
+ title: "สร้างแคมเปญออกอากาศของคุณ",
1930
+ description: "บรอดแคสต์ทำให้คุณสามารถส่งข้อความถึงลูกค้าทั้งหมด เพื่อแจ้งให้พวกเขาทราบเกี่ยวกับข้อเสนอใหม่ กิจกรรม หรือการอัปเดตที่สำคัญ",
1931
+ button: "สร้างแคมเปญบรอดแคสต์"
1922
1932
  },
1923
1933
  update: {
1924
- creating: "Creating broadcast",
1925
- updating: "Updating broadcast",
1926
- success: "Broadcast {action} successfully"
1934
+ creating: "กำลังสร้างการบรอดแคสต์",
1935
+ updating: "กำลังอัปเดตการบรอดแคสต์",
1936
+ success: "บรอดแคสต์ {action} สำเร็จแล้ว"
1927
1937
  }
1928
1938
  },
1929
1939
  promotion: {
1930
- title: "Promotion",
1931
- typeLabel: "{type} promotion",
1940
+ title: "โปรโมชัน",
1941
+ typeLabel: "{type} โปรโมชัน",
1932
1942
  create: {
1933
- title: "Create promotion campaign",
1934
- description: "Special offers or deals made available for a limited time to encourage user engagement and purchases. Promotions are generally available to all eligible users without the need for a specific code and are applied by merchant during the promotional period.",
1935
- button: "Create promotion campaign"
1943
+ title: "สร้างแคมเปญโปรโมชัน",
1944
+ description: "ข้อเสนอพิเศษที่มีให้ในช่วงเวลาจำกัดเพื่อกระตุ้นให้ผู้ใช้มีส่วนร่วมและซื้อ โปรโมชั่นโดยทั่วไปจะมีให้สำหรับผู้ใช้ที่มีสิทธิ์ทุกคนโดยไม่ต้องใช้โค้ดเฉพาะ และจะถูกนำมาใช้โดยร้านค้าในช่วงเวลาที่จัดโปรโมชั่นเท่านั้น",
1945
+ button: "สร้างแคมเปญโปรโมชัน"
1936
1946
  },
1937
1947
  update: {
1938
- creating: "Creating promotion",
1939
- updating: "Updating promotion",
1940
- success: "Promotion {action} successfully"
1948
+ creating: "กำลังสร้างโปรโมชัน",
1949
+ updating: "กำลังอัปเดตโปรโมชัน",
1950
+ success: "โปรโมชัน {action} สำเร็จแล้ว"
1941
1951
  }
1942
1952
  },
1943
1953
  voucher: {
1944
- title: "Voucher",
1945
- claimed: "{count} claimed",
1946
- unlimited: "Unlimited",
1954
+ title: "บัตรกำนัล",
1955
+ claimed: "ได้รับ {count} ครั้ง",
1956
+ unlimited: "ไม่จำกัด",
1947
1957
  updateConfirm: {
1948
- title: "Confirmation",
1949
- message: "This will change all future vouchers? Would you like to update previous claimed vouchers expiry date and discount?",
1950
- updateAll: "Update all",
1951
- updateFuture: "Update future only"
1958
+ title: "ยืนยัน",
1959
+ message: "การดำเนินการนี้จะเปลี่ยนแปลงคูปองในอนาคตทั้งหมดหรือไม่ คุณต้องการอัปเดตวันที่หมดอายุและส่วนลดของคูปองที่อ้างสิทธิ์ก่อนหน้านี้หรือไม่",
1960
+ updateAll: "อัปเดตทั้งหมด",
1961
+ updateFuture: "อัปเดตในอนาคตเท่านั้น"
1952
1962
  },
1953
1963
  create: {
1954
- title: "Create voucher campaign",
1955
- description: "A digital coupon that users can redeem for discounts on future purchases. Users usually need to claim and apply the voucher to benefit from the discount.",
1956
- button: "Create voucher campaign"
1964
+ title: "สร้างแคมเปญคูปอง",
1965
+ description: "คูปองดิจิทัลที่ผู้ใช้สามารถแลกรับส่วนลดในการซื้อในอนาคต โดยปกติแล้วผู้ใช้จะต้องรับและใช้คูปองเพื่อรับส่วนลด",
1966
+ button: "สร้างแคมเปญคูปอง"
1957
1967
  },
1958
1968
  update: {
1959
- creating: "Creating voucher",
1960
- updating: "Updating voucher",
1961
- success: "Voucher {action} successfully"
1969
+ creating: "กำลังสร้างคูปอง",
1970
+ updating: "กำลังอัปเดตคูปอง",
1971
+ success: "คูปอง {action} สำเร็จ"
1962
1972
  },
1963
1973
  share: {
1964
- error: "Cannot share a voucher that is not a simple claim.",
1965
- errorTitle: "Share Voucher",
1966
- errorButton: "OK",
1967
- success: "Voucher link copied to clipboard"
1974
+ error: "ไม่สามารถแชร์คูปองที่ไม่ใช่การอ้างสิทธิ์แบบง่ายได้",
1975
+ errorTitle: "แชร์คูปอง",
1976
+ errorButton: "ตกลง",
1977
+ success: "คัดลอกลิงก์คูปองไปยังคลิปบอร์ดแล้ว"
1968
1978
  }
1969
1979
  }
1970
1980
  },
1971
1981
  promotion: {
1972
- createCampaign: "Create campaign",
1973
- promotionTitle: "Promotion title",
1974
- status: "Status",
1975
- type: "Type",
1976
- summary: "Summary",
1977
- actions: "Actions",
1978
- confirmRemove: "Are you sure you want to remove {name}?",
1979
- removing: "Removing {name}",
1980
- removedSuccessfully: "Removed {name} successfully",
1981
- updating: "Updating promotion",
1982
- creating: "Creating promotion",
1983
- updatedSuccessfully: "Promotion updated successfully",
1984
- createdSuccessfully: "Promotion created successfully",
1985
- title: "Promotion",
1986
- search: "search",
1987
- location: "Location: ",
1988
- createPromotionCampaign: "Create promotion campaign",
1989
- description: "Special offers or deals made available for a limited time to encourage user engagement and purchases. Promotions are generally available to all eligible users without the need for a specific code and are applied by merchant during the promotional period."
1982
+ createCampaign: "สร้างแคมเปญ",
1983
+ promotionTitle: "ชื่อโปรโมชัน",
1984
+ status: "สถานะ",
1985
+ type: "ประเภท",
1986
+ summary: "สรุป",
1987
+ actions: "การดำเนินการ",
1988
+ confirmRemove: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}",
1989
+ removing: "กำลังลบ {name}",
1990
+ removedSuccessfully: "ลบ {name} สำเร็จ",
1991
+ updating: "กำลังอัปเดตโปรโมชัน",
1992
+ creating: "กำลังสร้างโปรโมชัน",
1993
+ updatedSuccessfully: "อัปเดตโปรโมชันสำเร็จแล้ว",
1994
+ createdSuccessfully: "สร้างโปรโมชันสำเร็จแล้ว",
1995
+ title: "โปรโมชัน",
1996
+ search: "ค้นหา",
1997
+ location: "ที่ตั้ง:",
1998
+ createPromotionCampaign: "สร้างแคมเปญส่งเสริมการขาย",
1999
+ description: "ข้อเสนอพิเศษที่มีให้ในช่วงเวลาจำกัดเพื่อกระตุ้นให้ผู้ใช้มีส่วนร่วมและซื้อ โปรโมชั่นโดยทั่วไปจะมีให้สำหรับผู้ใช้ที่มีสิทธิ์ทุกคนโดยไม่ต้องใช้โค้ดเฉพาะ และจะถูกนำมาใช้โดยร้านค้าในช่วงเวลาที่จัดโปรโมชั่นเท่านั้น"
1990
2000
  },
1991
2001
  voucher: {
1992
- createCampaign: "Create campaign",
1993
- voucherTitle: "Voucher title",
1994
- status: "Status",
1995
- summary: "Summary",
1996
- quota: "Quota",
1997
- claimed: "Claimed",
1998
- actions: "Actions",
1999
- remove: "Remove",
2000
- send: "Send",
2001
- share: "Share",
2002
- confirmRemove: "Are you sure you want to remove {name}?",
2003
- removing: "Removing {name}",
2004
- removedSuccessfully: "Removed {name} successfully",
2005
- updating: "Updating voucher",
2006
- creating: "Creating voucher",
2007
- updatedSuccessfully: "Voucher updated successfully",
2008
- createdSuccessfully: "Voucher created successfully",
2009
- title: "Voucher",
2010
- search: "search",
2011
- location: "Location: ",
2012
- createVoucherCampaign: "Create voucher campaign",
2013
- description: "A digital coupon that users can redeem for discounts on future purchases. Users usually need to claim and apply the voucher to benefit from the discount."
2002
+ createCampaign: "สร้างแคมเปญ",
2003
+ voucherTitle: "ชื่อคูปอง",
2004
+ status: "สถานะ",
2005
+ summary: "สรุป",
2006
+ quota: "โควตา",
2007
+ claimed: "อ้างสิทธิ์",
2008
+ actions: "การดำเนินการ",
2009
+ remove: "ลบ",
2010
+ send: "ส่ง",
2011
+ share: "แชร์",
2012
+ confirmRemove: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}",
2013
+ removing: "กำลังลบ {name}",
2014
+ removedSuccessfully: "ลบ {name} สำเร็จแล้ว",
2015
+ updating: "กำลังอัปเดตคูปอง",
2016
+ creating: "กำลังสร้างคูปอง",
2017
+ updatedSuccessfully: "อัปเดตคูปองสำเร็จแล้ว",
2018
+ createdSuccessfully: "สร้างคูปองสำเร็จแล้ว",
2019
+ title: "คูปอง",
2020
+ search: "ค้นหา",
2021
+ location: "ตำแหน่ง:",
2022
+ createVoucherCampaign: "สร้างแคมเปญคูปอง",
2023
+ description: "คูปองดิจิทัลที่ผู้ใช้สามารถแลกรับส่วนลดในการซื้อในอนาคต โดยปกติแล้วผู้ใช้จะต้องรับและใช้คูปองเพื่อรับส่วนลด"
2014
2024
  },
2015
2025
  navigation: {
2016
- analytic: "Analytic",
2017
- campaign: "Campaign",
2018
- promotion: "Promotion",
2019
- voucher: "Voucher",
2020
- broadcast: "Broadcast",
2021
- program: "Program",
2022
- tier: "Tier",
2023
- title: "Title",
2024
- experience: "Experience",
2025
- point: "Point",
2026
- credit: "Credit",
2027
- game: "Game",
2028
- loyalty: "Loyalty",
2029
- member: "Member",
2030
- segments: "Segments",
2031
- card: "Card",
2032
- store: "Store",
2033
- transaction: "Transaction",
2034
- setting: "Setting",
2035
- mission: "Mission"
2026
+ analytic: "การวิเคราะห์",
2027
+ campaign: "แคมเปญ",
2028
+ promotion: "โปรโมชั่น",
2029
+ voucher: "บัตรกำนัล",
2030
+ broadcast: "บรอดแคสต์",
2031
+ program: "โปรแกรม",
2032
+ tier: "ระดับ",
2033
+ title: "ชื่อ",
2034
+ experience: "ประสบการณ์",
2035
+ point: "คะแนน",
2036
+ credit: "เครดิต",
2037
+ game: "เกม",
2038
+ loyalty: "ความภักดี",
2039
+ member: "สมาชิก",
2040
+ segments: "กลุ่ม",
2041
+ card: "บัตร",
2042
+ store: "ร้านค้า",
2043
+ transaction: "ธุรกรรม",
2044
+ setting: "การตั้งค่า",
2045
+ mission: "ภารกิจ"
2036
2046
  },
2037
2047
  loyalty: {
2038
2048
  card: {
2039
- title: "Card",
2040
- premium_label: "Premium",
2049
+ title: "บัตร",
2050
+ premium_label: "พรีเมียม",
2041
2051
  actions: {
2042
- create: "Create cards",
2043
- manage_design: "Manage Design",
2044
- add: "Add Card"
2052
+ create: "สร้างบัตร",
2053
+ manage_design: "จัดการการออกแบบ",
2054
+ add: "เพิ่มบัตร"
2045
2055
  },
2046
2056
  empty_state: {
2047
- title: "Create member card",
2048
- description: "Track and manage member card to keep customers engaged with your business.",
2049
- premium_cta: "Go premium and enjoy all features."
2057
+ title: "สร้างบัตรสมาชิก",
2058
+ description: "ติดตามและจัดการบัตรสมาชิกเพื่อให้ลูกค้ามีส่วนร่วมกับธุรกิจของคุณ",
2059
+ premium_cta: "อัปเกรดเป็นพรีเมียมและเพลิดเพลินกับฟีเจอร์ทั้งหมด"
2050
2060
  },
2051
2061
  table: {
2052
- card_number: "Card Number",
2053
- redeemed_by: "Redeemed by",
2054
- phone: "Phone",
2055
- created_at: "Created at",
2056
- bundle: "Bundle",
2057
- redeemed_at: "Redeemed at"
2062
+ card_number: "หมายเลขบัตร",
2063
+ redeemed_by: "แลกรับโดย",
2064
+ phone: "โทรศัพท์",
2065
+ created_at: "สร้างเมื่อ",
2066
+ bundle: "ชุดบัตร",
2067
+ redeemed_at: "แลกรับเมื่อ",
2068
+ actions: "การดำเนินการ"
2058
2069
  }
2059
2070
  },
2060
2071
  member: {
2061
- title: "Member's transactions",
2072
+ title: "ธุรกรรมของสมาชิก",
2062
2073
  tabs: {
2063
- member_list: "Member list"
2074
+ member_list: "รายชื่อสมาชิก"
2064
2075
  }
2065
2076
  },
2066
2077
  segment: {
2067
- title: "Segments",
2078
+ title: "กลุ่ม",
2068
2079
  actions: {
2069
- refresh: "Refresh segments",
2070
- add: "Add segment",
2071
- remove: "Remove"
2080
+ refresh: "รีเฟรชกลุ่มบัตร",
2081
+ add: "เพิ่มกลุ่มบัตร",
2082
+ remove: "ลบ"
2072
2083
  },
2073
2084
  table: {
2074
- name: "Name",
2075
- total_customers: "Total Customers in this Segment",
2076
- customer_percentage: "% of customers",
2077
- actions: "Actions"
2085
+ name: "ชื่อ",
2086
+ total_customers: "จำนวนลูกค้าทั้งหมดในกลุ่มบัตรนี้",
2087
+ customer_percentage: "% ของลูกค้า",
2088
+ actions: "การดำเนินการ"
2078
2089
  },
2079
2090
  mobile: {
2080
- total_customers: "{count} total customers",
2081
- customer_percentage: "{percentage}% of customers"
2091
+ total_customers: "ลูกค้าทั้งหมด {count} ราย",
2092
+ customer_percentage: "ลูกค้าทั้งหมด {percentage}%"
2082
2093
  }
2083
2094
  }
2084
2095
  },
2085
2096
  program: {
2086
2097
  common: {
2087
- create: "Create program",
2088
- search: "search",
2089
- location: "Location: ",
2090
- used: "{count} used",
2098
+ create: "สร้างโปรแกรม",
2099
+ search: "ค้นหา",
2100
+ location: "ตำแหน่ง:",
2101
+ used: "ใช้ไปแล้ว {count} ราย",
2091
2102
  actions: {
2092
- create: "Create {type} program",
2093
- delete: "Delete"
2103
+ create: "สร้างโปรแกรม {type} ราย",
2104
+ delete: "ลบ"
2094
2105
  },
2095
2106
  table: {
2096
- title: "Program title",
2097
- status: "Status",
2098
- summary: "Summary",
2099
- actions: "Actions",
2100
- type: "Type"
2107
+ title: "ชื่อโปรแกรม",
2108
+ status: "สถานะ",
2109
+ summary: "สรุป",
2110
+ actions: "การดำเนินการ",
2111
+ type: "ประเภท"
2101
2112
  },
2102
2113
  remove: {
2103
- confirm: "Are you sure you want to remove {name}?",
2104
- removing: "Removing {name}",
2105
- removed: "Removed {name} successfully"
2114
+ confirm: "คุณแน่ใจว่าต้องการลบ {name} หรือไม่",
2115
+ removing: "กำลังลบ {name}",
2116
+ removed: "ลบ {name} สำเร็จแล้ว"
2106
2117
  },
2107
2118
  update: {
2108
- creating: "Creating {type} program",
2109
- updating: "Updating {type} program",
2110
- success: "{type} program {action} successfully"
2119
+ creating: "กำลังสร้างโปรแกรม {type}",
2120
+ updating: "กำลังอัปเดตโปรแกรม {type}",
2121
+ success: "โปรแกรม {type} {action} สำเร็จแล้ว"
2111
2122
  }
2112
2123
  },
2113
2124
  experience: {
2114
- title: "Experience",
2125
+ title: "ประสบการณ์",
2115
2126
  empty_state: {
2116
- title: "Create experience program",
2117
- description: "Experience help customers gain membership tiers. The more they interact and spend, the higher their membership level, unlocking more rewards and benefits."
2127
+ title: "สร้างโปรแกรมประสบการณ์",
2128
+ description: "ประสบการณ์ช่วยให้ลูกค้าได้รับระดับสมาชิกที่สูงขึ้น ยิ่งลูกค้าโต้ตอบและใช้จ่ายมากเท่าไหร่ ระดับสมาชิกของพวกเขาก็จะสูงขึ้นเท่านั้น ทำให้สามารถปลดล็อกรางวัลและสิทธิประโยชน์ต่างๆ มากขึ้น"
2118
2129
  },
2119
- received: "Experience received: {count}"
2130
+ received: "ประสบการณ์ที่ได้รับ: {count}"
2120
2131
  },
2121
2132
  game: {
2122
- title: "Game",
2133
+ title: "เกม",
2123
2134
  empty_state: {
2124
- title: "Create your game program",
2125
- description: "The game feature adds a fun element to shopping, encouraging customers to engage more."
2135
+ title: "สร้างโปรแกรมเกมของคุณ",
2136
+ description: "ฟีเจอร์เกมเพิ่มความสนุกสนานให้กับการช้อปปิ้ง กระตุ้นให้ลูกค้ามีส่วนร่วมมากขึ้น"
2126
2137
  },
2127
- token_received: "Token received: {count}"
2138
+ token_received: "โทเค็นที่ได้รับ: {count}"
2128
2139
  },
2129
2140
  credit: {
2130
- title: "Credit"
2141
+ title: "เครดิต"
2131
2142
  },
2132
2143
  point: {
2133
- title: "Point",
2144
+ title: "คะแนน",
2134
2145
  empty_state: {
2135
- title: "Create your point program",
2136
- description: "Points are virtual point that customers can earn and use to purchase bundle items."
2146
+ title: "สร้างโปรแกรมคะแนนของคุณ",
2147
+ description: "คะแนนคือคะแนนเสมือนที่ลูกค้าสามารถรับและนำไปใช้ซื้อสินค้าแบบเป็นชุด (Bundle)"
2137
2148
  },
2138
- point_received: "Point received: {count}",
2139
- used: "{count} used"
2149
+ point_received: "คะแนนที่ได้รับ: {count}",
2150
+ used: "ใช้ไปแล้ว {count} คะแนน"
2140
2151
  },
2141
2152
  tier: {
2142
- title: "Tier",
2153
+ title: "ระดับ",
2143
2154
  empty_state: {
2144
- title: "Create tier program",
2145
- description: "Give your member exclusive benefits and rewards by joining your membership campaign. You can choose what you want your loyalty tier to offer."
2155
+ title: "สร้างโปรแกรมระดับ",
2156
+ description: "มอบสิทธิประโยชน์และรางวัลสุดพิเศษให้กับสมาชิกของคุณด้วยการเข้าร่วมแคมเปญสมาชิก คุณสามารถเลือกสิ่งที่สมาชิกต้องการเสนอได้"
2146
2157
  },
2147
2158
  actions: {
2148
- add: "Add tier",
2149
- season_setting: "Season Setting"
2159
+ add: "เพิ่มระดับ",
2160
+ season_setting: "การตั้งค่าฤดูกาล"
2150
2161
  },
2151
2162
  update: {
2152
2163
  range_discontinuous: {
2153
- previous: `The tier range is not continuous.
2154
- Previous range: {name} [{from} - {to}].
2155
- Do you want to update the previous range to [{from} - {newTo}]?`,
2156
- next: `The tier range is not continuous.
2157
- Next range: {name} [{from} - {to}].
2158
- Do you want to update the next range to [{newFrom} - {to}]?`
2164
+ previous: "ช่วงชั้นไม่ต่อเนื่อง ช่วงก่อนหน้า: {name} [{from} - {to}] คุณต้องการอัปเดตช่วงก่อนหน้าเป็น [{from} - {newTo}] หรือไม่",
2165
+ next: "ช่วงชั้นไม่ต่อเนื่อง ช่วงถัดไป: {name} [{from} - {to}] คุณต้องการอัปเดตช่วงถัดไปเป็น [{newFrom} - {to}] หรือไม่"
2159
2166
  }
2160
2167
  },
2161
2168
  remove: {
2162
- confirm: "Are you sure you want to remove this tier?",
2163
- title: "Remove tier",
2164
- next_range: "Update next range",
2169
+ confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบระดับนี้?",
2170
+ title: "ลบระดับ",
2171
+ next_range: "อัปเดตช่วงถัดไป",
2165
2172
  range_discontinuous: {
2166
- previous: `The tier range is not continuous.
2167
- Previous range: {name} [{from} - {to}].
2168
- Do you want to update the previous range to [{from} - {newTo}]?`,
2169
- next: `The tier range is not continuous.
2170
- Next range: {name} [{from} - {to}].
2171
- Do you want to update the next range to [{newFrom} - {to}]?`
2173
+ previous: "ช่วงชั้นไม่ต่อเนื่อง ช่วงก่อนหน้า: {name} [{from} - {to}] คุณต้องการอัปเดตช่วงก่อนหน้าเป็น [{from} - {newTo}] หรือไม่",
2174
+ next: "ช่วงชั้นไม่ต่อเนื่อง ช่วงถัดไป: {name} [{from} - {to}] คุณต้องการอัปเดตช่วงถัดไปเป็น [{newFrom} - {to}] หรือไม่"
2172
2175
  }
2173
2176
  },
2174
2177
  benefit: {
2175
- add: "Add benefit",
2176
- no_linked: "No linked benefits",
2178
+ add: "เพิ่มสิทธิประโยชน์",
2179
+ no_linked: "ไม่มีสิทธิประโยชน์ที่เชื่อมโยง",
2177
2180
  update: {
2178
- title: "Updating benefit",
2179
- success: "Benefit created successfully"
2181
+ title: "กำลังอัปเดตสิทธิประโยชน์",
2182
+ success: "สร้างสิทธิประโยชน์สำเร็จแล้ว"
2180
2183
  }
2181
- },
2182
- expression: {
2183
- title: "Tier expiration rule",
2184
- description: "To set up membership tier experience rules when expired",
2185
- change_to: "Change to",
2186
- deduct_by: "Deduct by",
2187
- deduct_percentage: "Deduct percentage",
2188
- value: "Value",
2189
- value_greater_than_or_equal: "Value must be greater than or equal {value}",
2190
- value_less_than_or_equal: "Value must be less than or equal {value}",
2191
- value_between: "Value must be between {from} and {to}",
2192
- value_less_than: "Value must be less than {value}"
2193
- },
2194
- card: {
2195
- count: "{count} members"
2196
2184
  }
2197
2185
  },
2198
2186
  title: {
2199
- title: "Title",
2187
+ title: "ชื่อเรื่อง",
2200
2188
  empty_state: {
2201
- title: "Create title program",
2202
- description: "Create title program Create unique loyalty titles to personalize member experiences. Engage customers with playful titles to enhance loyalty program gamification."
2189
+ title: "สร้างโปรแกรมชื่อเรื่อง",
2190
+ description: "สร้างโปรแกรมชื่อ สร้างชื่อสมาชิกที่ไม่ซ้ำกันเพื่อปรับแต่งประสบการณ์ของสมาชิก ดึงดูดลูกค้าด้วยชื่อที่สนุกสนานเพื่อปรับปรุงการเล่นเกมโปรแกรมสะสมคะแนน"
2203
2191
  },
2204
2192
  actions: {
2205
- add: "Add title"
2193
+ add: "เพิ่มชื่อ"
2206
2194
  },
2207
2195
  update: {
2208
- creating: "Creating title",
2209
- updating: "Updating title",
2210
- success: "Title {action} successfully"
2196
+ creating: "กำลังสร้างชื่อเรื่อง",
2197
+ updating: "กำลังอัปเดตชื่อเรื่อง",
2198
+ success: "ชื่อ {action} สำเร็จแล้ว"
2211
2199
  },
2212
2200
  remove: {
2213
- confirm: "Are you sure you want to delete this title?",
2214
- title: "Delete title",
2215
- deleting: "Deleting title",
2216
- success: "Title deleted"
2201
+ confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบชื่อนี้",
2202
+ title: "ลบชื่อ",
2203
+ deleting: "กำลังลบชื่อเรื่อง",
2204
+ success: "ลบชื่อแล้ว"
2217
2205
  },
2218
2206
  benefit: {
2219
- add: "Add benefit",
2220
- no_linked: "No linked benefits",
2207
+ add: "เพิ่มสิทธิประโยชน์",
2208
+ no_linked: "ไม่มีสิทธิประโยชน์ที่เชื่อมโยง",
2221
2209
  update: {
2222
- title: "Updating benefit",
2223
- success: "Benefit created successfully"
2210
+ title: "อัพเดทสิทธิประโยชน์",
2211
+ success: "สร้างสิทธิประโยชน์สำเร็จแล้ว"
2224
2212
  },
2225
2213
  voucher_update: {
2226
- title: "Confirmation",
2227
- message: "This will change all future vouchers? Would you like to update previous claimed vouchers expiry date and discount?",
2228
- update_all: "Update all",
2229
- update_future: "Update future only"
2214
+ title: "การยืนยัน",
2215
+ message: "สิ่งนี้จะเปลี่ยนบัตรกำนัลในอนาคตทั้งหมดหรือไม่ คุณต้องการอัปเดตวันหมดอายุและส่วนลดของบัตรกำนัลที่อ้างสิทธิ์ก่อนหน้านี้หรือไม่",
2216
+ update_all: "อัพเดททั้งหมด",
2217
+ update_future: "อัพเดทในอนาคตเท่านั้น"
2230
2218
  }
2231
2219
  },
2232
2220
  table: {
2233
- title: "Title",
2234
- program_title: "Program title",
2235
- status: "Status",
2236
- type: "Type",
2237
- summary: "Summary",
2238
- actions: "Actions"
2239
- },
2240
- search: "search",
2241
- location: "Location: ",
2242
- addBenefit: "Add benefit",
2243
- noDescription: "No description",
2244
- descriptionLimit: "{name} description should not exceed 200 characters.",
2245
- availability: "Availability",
2246
- internalOnly: "Internal only",
2247
- notShown: "{name} will not be shown to customer",
2248
- submit: "Submit",
2249
- cancel: "Cancel",
2250
- imageLabel: "{name} image"
2221
+ title: "ชื่อ",
2222
+ program_title: "ชื่อโปรแกรม",
2223
+ status: "สถานะ",
2224
+ type: "พิมพ์",
2225
+ summary: "สรุป",
2226
+ actions: "การดำเนินการ"
2227
+ },
2228
+ search: "ค้นหา",
2229
+ location: "ที่ตั้ง: ",
2230
+ addBenefit: "เพิ่มสิทธิประโยชน์",
2231
+ noDescription: "ไม่มีคำอธิบาย",
2232
+ descriptionLimit: "{name} คำอธิบายไม่ควรเกิน 200 ตัวอักษร",
2233
+ availability: "ความพร้อมใช้งาน",
2234
+ internalOnly: "ภายในเท่านั้น",
2235
+ notShown: "{name} จะไม่แสดงให้ลูกค้าเห็น",
2236
+ submit: "ส่ง",
2237
+ cancel: "ยกเลิก",
2238
+ imageLabel: "รูปภาพ {ชื่อ}"
2251
2239
  },
2252
2240
  mission: {
2253
- title: "Mission",
2241
+ title: "ภารกิจ",
2254
2242
  empty_state: {
2255
- title: "Create your mission program",
2256
- description: "Mission is a program that allows customers to complete tasks to earn rewards."
2243
+ title: "สร้างโปรแกรมภารกิจของคุณ",
2244
+ description: "ภารกิจเป็นโปรแกรมที่ช่วยให้ลูกค้าสามารถทำงานให้เสร็จสิ้นเพื่อรับรางวัลได้"
2257
2245
  }
2258
2246
  }
2259
2247
  },
2260
2248
  analytic: {
2261
- title: "Analytic",
2262
- addGroup: "Add group",
2263
- search: "Search",
2249
+ title: "วิเคราะห์",
2250
+ addGroup: "เพิ่มกลุ่ม",
2251
+ search: "ค้นหา",
2264
2252
  summary: {
2265
- title: "Connect summary",
2266
- totalCampaign: "Total campaign",
2267
- totalProgram: "Total Program",
2268
- totalMember: "Total Member"
2253
+ title: "เชื่อมต่อสรุป",
2254
+ totalCampaign: "รวมแคมเปญ",
2255
+ totalProgram: "โปรแกรมรวม",
2256
+ totalMember: "สมาชิกทั้งหมด"
2269
2257
  },
2270
2258
  emptyState: {
2271
- title: "Create campaign group to track performance",
2272
- description: "Start organizing your campaigns and promotions by creating groups. Groups allow you to aggregate performance metrics across multiple vouchers, promotions, or other rewards.",
2273
- action: "Create group"
2259
+ title: "สร้างกลุ่มแคมเปญเพื่อติดตามประสิทธิภาพ",
2260
+ description: "เริ่มจัดระเบียบแคมเปญและโปรโมชั่นของคุณโดยการสร้างกลุ่ม กลุ่มช่วยให้คุณสามารถรวมตัวชี้วัดประสิทธิภาพจากบัตรกำนัล โปรโมชั่น หรือรางวัลอื่น ได้หลายรายการ",
2261
+ action: "สร้างกลุ่ม"
2274
2262
  }
2275
2263
  },
2276
2264
  marketing: {
2277
- title: "Marketing material",
2278
- create: "Create marketing material",
2279
- search: "search",
2265
+ title: "สื่อการตลาด",
2266
+ create: "สร้างสื่อการตลาด",
2267
+ search: "ค้นหา",
2280
2268
  table: {
2281
- name: "Name",
2282
- campaign: "Campaign",
2283
- createdDate: "Created date",
2284
- actions: "Actions"
2269
+ name: "ชื่อ",
2270
+ campaign: "แคมเปญ",
2271
+ createdDate: "วันที่สร้าง",
2272
+ actions: "การดำเนินการ"
2285
2273
  },
2286
2274
  delete: {
2287
- confirm: "Are you sure you want to remove {name}?",
2288
- removing: "Removing {name}",
2289
- success: "Removed {name} successfully"
2275
+ confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบ {name}?",
2276
+ removing: "กำลังลบ {name}",
2277
+ success: "ลบ {name} เรียบร้อยแล้ว"
2290
2278
  },
2291
2279
  emptyState: {
2292
- title: "Create marketing material",
2293
- description: "Boost your marketing efforts effortlessly with our AI-powered tools. Generate stunning images and captivating captions for your desired platform.",
2294
- action: "Add material"
2280
+ title: "สร้างสื่อการตลาด",
2281
+ description: "เพิ่มความสามารถทางการตลาดของคุณอย่างง่ายดายด้วยเครื่องมือที่ขับเคลื่อนด้วย AI ของเรา สร้างภาพที่น่าทึ่งและคำบรรยายที่น่าดึงดูดสำหรับแพลตฟอร์มที่คุณต้องการ",
2282
+ action: "เพิ่มวัสดุ"
2295
2283
  },
2296
- noResults: "No results found"
2284
+ noResults: "ไม่พบผลลัพธ์"
2297
2285
  },
2298
2286
  setting: {
2299
- title: "Setting",
2287
+ title: "การตั้งค่า",
2300
2288
  basicInfo: {
2301
- title: "Basic Information",
2302
- membershipTitle: "Membership title",
2303
- memberAppUrl: "Member app URL"
2289
+ title: "ข้อมูลพื้นฐาน",
2290
+ membershipTitle: "ชื่อสมาชิก",
2291
+ memberAppUrl: "URL ของแอปสมาชิก"
2304
2292
  },
2305
2293
  counterApp: {
2306
- title: "Counter App",
2307
- linkDevice: "Link Device",
2294
+ title: "แอพเคาน์เตอร์",
2295
+ linkDevice: "เชื่อมโยงอุปกรณ์",
2308
2296
  device: {
2309
- activationDate: "Activation date:",
2310
- linkedLocation: "Linked location:"
2297
+ activationDate: "วันที่เปิดใช้งาน:",
2298
+ linkedLocation: "สถานที่ที่เชื่อมโยง:"
2311
2299
  }
2312
2300
  },
2313
2301
  advertisement: {
2314
- title: "Advertisement",
2315
- subtitle: "This will be show on FeedMe ordering app"
2302
+ title: "โฆษณา",
2303
+ subtitle: "ข้อมูลนี้จะแสดงบนแอปสั่งซื้อ FeedMe"
2316
2304
  },
2317
2305
  sms: {
2318
- title: "SMS",
2319
- brandName: "Brand Name",
2320
- messageFormat: "RM 0 {brand}: YOUR CUSTOMER MESSAGE",
2321
- welcomeMessage: "Hi there, you have been invited to join membership"
2306
+ title: "ข้อความ SMS",
2307
+ brandName: "ชื่อแบรนด์",
2308
+ messageFormat: "0 RM {brand}: ข้อความถึงลูกค้าของคุณ",
2309
+ welcomeMessage: "สวัสดี คุณได้รับเชิญให้เข้าร่วมเป็นสมาชิก"
2322
2310
  },
2323
2311
  freeCredit: {
2324
- title: "Free Credit as Discount",
2325
- posVersion: "*POS v6.56 or above",
2326
- description: "When enabled, this will allow free credit to be used as discount in the bill (POS >=v6.56)"
2312
+ title: "เครดิตฟรีเป็นส่วนลด",
2313
+ posVersion: "*POS เวอร์ชัน 6.56 หรือสูงกว่า",
2314
+ description: "เมื่อเปิดใช้งาน สิ่งนี้จะทำให้เครดิตฟรีสามารถใช้เป็นส่วนลดในบิลได้ (POS >=v6.56)"
2327
2315
  },
2328
2316
  memberCard: {
2329
- title: "Member Card",
2330
- description: "Allow member to bind card via member app"
2317
+ title: "บัตรสมาชิก",
2318
+ description: "อนุญาตให้สมาชิกผูกบัตรผ่านแอปสมาชิก"
2331
2319
  },
2332
2320
  location: {
2333
- title: "Activation Location",
2334
- selectLabel: "Select restaurant"
2321
+ title: "สถานที่เปิดใช้งาน",
2322
+ selectLabel: "เลือกร้านอาหาร"
2335
2323
  },
2336
2324
  summary: {
2337
- title: "Loyalty setting summary",
2338
- name: "Name",
2339
- advertisement: "Advertisement",
2340
- noAds: "No advertisments",
2341
- freeCredit: "Free Credit as Discount",
2342
- enabled: "Enabled",
2343
- disabled: "Disabled",
2344
- locations: "Activated locations",
2345
- allLocations: "All locations"
2325
+ title: "สรุปการตั้งค่าความภักดี",
2326
+ name: "ชื่อ",
2327
+ advertisement: "โฆษณา",
2328
+ noAds: "ไม่มีโฆษณา",
2329
+ freeCredit: "เครดิตฟรีเป็นส่วนลด",
2330
+ enabled: "เปิดใช้งานแล้ว",
2331
+ disabled: "ไม่สามารถใช้งานได้",
2332
+ locations: "สถานที่ที่เปิดใช้งาน",
2333
+ allLocations: "สถานที่ทั้งหมด"
2346
2334
  },
2347
2335
  action: {
2348
- update: "Update"
2336
+ update: "อัปเดต"
2349
2337
  }
2350
2338
  },
2351
2339
  transaction: {
2352
- title: "Transactions",
2340
+ title: "การทำธุรกรรม",
2353
2341
  tabs: {
2354
- collection: "Collection",
2355
- store: "Store"
2342
+ collection: "คอลเลคชั่น",
2343
+ store: "เก็บ"
2356
2344
  }
2357
2345
  },
2358
2346
  store: {
2359
- title: "Store",
2347
+ title: "เก็บ",
2360
2348
  setting: {
2361
- title: "Store Setting",
2362
- company: {
2363
- legal_info: "Company legal information",
2364
- name: "Company name",
2365
- reg_no: "Registration number",
2366
- tax_reg_no: "Tax Registration number",
2367
- tax: "Tax",
2368
- phone: "Phone number",
2369
- address: {
2370
- title: "Address",
2371
- line1: "Line 1",
2372
- line2: "Line 2",
2373
- city: "City",
2374
- postcode: "Postcode",
2375
- state: "State",
2376
- country: "Country"
2377
- }
2378
- },
2379
- stripe: {
2380
- title: "Stripe Integration"
2381
- },
2349
+ title: "การตั้งค่าร้านค้า",
2382
2350
  update: {
2383
- message: "Updating store setting",
2384
- success: "Store setting updated successfully"
2351
+ message: "กำลังปรับปรุงการตั้งค่าร้านค้า",
2352
+ success: "อัปเดตการตั้งค่าร้านค้าเรียบร้อยแล้ว"
2385
2353
  }
2386
2354
  },
2387
2355
  actions: {
2388
- setting: "Store setting",
2389
- manageReward: "Manage reward",
2390
- addCategory: "Add category",
2391
- addBundle: "Add bundle"
2356
+ setting: "การตั้งค่าร้านค้า",
2357
+ manageReward: "จัดการรางวัล",
2358
+ addCategory: "เพิ่มหมวดหมู่",
2359
+ addBundle: "เพิ่มมัด"
2392
2360
  },
2393
2361
  category: {
2394
- label: "Category",
2395
2362
  setup: {
2396
- title: "Please set up your store setting first before adding category.",
2397
- action: "Update now",
2398
- button: "Update store setting"
2363
+ title: "โปรดตั้งค่าการตั้งค่าร้านค้าของคุณก่อนที่จะเพิ่มหมวดหมู่",
2364
+ action: "อัปเดตตอนนี้",
2365
+ button: "อัพเดตการตั้งค่าร้านค้า"
2399
2366
  },
2400
- add: "Add category",
2401
- edit: "Edit category",
2367
+ add: "เพิ่มหมวดหมู่",
2368
+ edit: "แก้ไขหมวดหมู่",
2402
2369
  remove: {
2403
- confirm: "Are you sure you want to remove category?",
2404
- title: "Remove category"
2370
+ confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบหมวดหมู่",
2371
+ title: "ลบหมวดหมู่"
2405
2372
  },
2406
2373
  update: {
2407
- deleting: "Deleting category",
2408
- creating: "Creating category",
2409
- updating: "Updating categories",
2374
+ deleting: "กำลังลบหมวดหมู่",
2375
+ creating: "กำลังสร้างหมวดหมู่",
2376
+ updating: "กำลังอัปเดตหมวดหมู่",
2410
2377
  success: {
2411
- deleted: "Category deleted successfully",
2412
- created: "Category created successfully",
2413
- updated: "Category updated successfully"
2378
+ deleted: "ลบหมวดหมู่เรียบร้อยแล้ว",
2379
+ created: "สร้างหมวดหมู่เรียบร้อยแล้ว",
2380
+ updated: "อัปเดตหมวดหมู่เรียบร้อยแล้ว"
2414
2381
  }
2415
- }
2416
- },
2417
- bundle: {
2418
- title: "Store bundle",
2419
- description: "Add item that you want to let your user spend and get here. It can be bunch of vouchers, benefits, experience and more!",
2420
- delete: {
2421
- confirm: "Are you sure you want to delete this bundle?",
2422
- title: "Delete bundle"
2423
- },
2424
- update: {
2425
- error: "Unexpected error",
2426
- deleting: "Deleting bundle",
2427
- creating: "Creating bundle",
2428
- updating: "Updating bundle",
2429
- success: {
2430
- deleted: "Bundle deleted successfully",
2431
- created: "Bundle created successfully",
2432
- updated: "Bundle updated successfully"
2433
- }
2434
- },
2435
- edit: {
2436
- title: "Edit bundle",
2437
- create: "Create bundle",
2438
- basicInformation: "Basic Information",
2439
- bundleName: "Bundle name",
2440
- bundleImage: "Bundle image",
2441
- bundlePrice: "Bundle price",
2442
- bundleValue: "Bundle value",
2443
- originalPrice: "Original price",
2444
- originalPriceHelper: "Leave empty or set to 0 to disable original price",
2445
- pointNeeded: "Point Needed",
2446
- subscriptionSettings: "Subscription Settings",
2447
- stripePriceId: "Stripe Price ID",
2448
- subscriptionValidity: "Subscription validity (days)",
2449
- submit: "Submit",
2450
- cancel: "Cancel",
2451
- advanceSetting: "Advanced Setting",
2452
- credit: "Credit",
2453
- normalCredit: "Normal Credit",
2454
- freeCredit: "Free Credit",
2455
- taxes: "Taxes",
2382
+ }
2383
+ },
2384
+ bundle: {
2385
+ title: "รวมร้านค้า",
2386
+ description: "เพิ่มรายการที่คุณต้องการให้ผู้ใช้ใช้จ่ายและมาที่นี่ อาจเป็นได้ทั้งบัตรกำนัล สิทธิประโยชน์ ประสบการณ์ และอื่นๆ อีกมากมาย!",
2387
+ delete: {
2388
+ confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบชุดข้อมูลนี้",
2389
+ title: "ลบชุดข้อมูล"
2390
+ },
2391
+ update: {
2392
+ error: "ข้อผิดพลาดที่ไม่คาดคิด",
2393
+ deleting: "กำลังลบชุดข้อมูล",
2394
+ creating: "กำลังสร้างชุดข้อมูล",
2395
+ updating: "กำลังอัปเดตชุดข้อมูล",
2396
+ success: {
2397
+ deleted: "ลบชุดข้อมูลเรียบร้อยแล้ว",
2398
+ created: "สร้างชุดข้อมูลเรียบร้อยแล้ว",
2399
+ updated: "อัปเดตชุดข้อมูลเรียบร้อยแล้ว"
2400
+ }
2401
+ },
2402
+ edit: {
2403
+ title: "แก้ไขชุดข้อมูล",
2404
+ create: "สร้างชุดข้อมูลเรียบร้อยแล้ว",
2405
+ basicInformation: "ข้อมูลพื้นฐาน",
2406
+ bundleName: "ชื่อชุดข้อมูล",
2407
+ bundleImage: "รูปภาพชุดข้อมูล",
2408
+ bundlePrice: "ราคาชุดข้อมูล",
2409
+ bundleValue: "มูลค่าชุดข้อมูล",
2410
+ originalPrice: "ราคาเดิม",
2411
+ originalPriceHelper: "ปล่อยว่างไว้หรือตั้งค่าเป็น 0 เพื่อปิดใช้งานราคาเดิม",
2412
+ pointNeeded: "คะแนนที่ต้องการ",
2413
+ subscriptionSettings: "การตั้งค่าการสมัครสมาชิก",
2414
+ stripePriceId: "รหัสราคาแถบข้อมูล",
2415
+ subscriptionValidity: "อายุการใช้งานการสมัครสมาชิก (วัน)",
2416
+ submit: "ส่ง",
2417
+ cancel: "ยกเลิก",
2418
+ advanceSetting: "การตั้งค่าขั้นสูง",
2419
+ credit: "เครดิต",
2420
+ normalCredit: "เครดิตปกติ",
2421
+ freeCredit: "เครดิตฟรี",
2422
+ taxes: "ภาษี",
2456
2423
  taxCharge: {
2457
- title: "Tax charge ({type})",
2458
- inclusive: "Inclusive",
2459
- exclusive: "Exclusive"
2424
+ title: "ค่าธรรมเนียมภาษี ({type})",
2425
+ inclusive: "รวม",
2426
+ exclusive: "ไม่รวม"
2460
2427
  },
2461
- totalPrice: "Total price",
2462
- internalBundle: "Internal bundle",
2463
- internalBundleDescription: "Internal bundle will be hidden in FeedMe member app",
2464
- hideInPos: "Hide in POS",
2465
- hideInPosDescription: "Bundle will be hidden in FeedMe POS",
2466
- maxPerUser: "Max purchase per user",
2428
+ totalPrice: "ราคาทั้งหมด",
2429
+ internalBundle: "ชุดข้อมูลภายใน",
2430
+ internalBundleDescription: "ชุดภายในจะถูกซ่อนอยู่ในแอปสมาชิก FeedMe",
2431
+ hideInPos: "ซ่อนใน POS",
2432
+ hideInPosDescription: "Bundle จะถูกซ่อนอยู่ใน FeedMe POS",
2433
+ maxPerUser: "การซื้อสูงสุดต่อผู้ใช้",
2467
2434
  bundleReward: {
2468
- title: "Bundle reward",
2469
- description: "Let your member know what they can expect from this bundle",
2435
+ title: "รางวัลมัด",
2436
+ description: "แจ้งให้สมาชิกของคุณทราบว่าพวกเขาสามารถคาดหวังอะไรได้จากชุดรวมนี้",
2470
2437
  table: {
2471
- title: "Reward Title",
2472
- type: "Reward Type",
2473
- description: "Description"
2438
+ title: "ชื่อรางวัล",
2439
+ type: "ประเภทรางวัล",
2440
+ description: "คำอธิบาย"
2474
2441
  }
2475
2442
  }
2476
2443
  }
2477
2444
  }
2478
2445
  },
2479
2446
  storeRewards: {
2480
- title: "Store rewards",
2447
+ title: "เก็บรางวัล",
2481
2448
  remove: {
2482
- message: "You cannot remove a title here, please remove it at the Program > Title section.",
2483
- title: "Delete reward",
2484
- action: "Go to title section"
2449
+ message: "คุณไม่สามารถลบชื่อได้ที่นี่ โปรดลบออกที่ส่วน โปรแกรม > ชื่อ",
2450
+ title: "ลบรางวัล",
2451
+ action: "ไปที่ส่วนชื่อเรื่อง"
2485
2452
  },
2486
2453
  edit: {
2487
- message: "You cannot edit a title here, please edit it at the Program > Title section.",
2488
- title: "Update reward",
2489
- action: "Go to title section"
2454
+ message: "คุณไม่สามารถแก้ไขชื่อได้ที่นี่ โปรดแก้ไขที่ส่วน โปรแกรม > ชื่อ",
2455
+ title: "อัพเดทรางวัล",
2456
+ action: "ไปที่ส่วนชื่อเรื่อง"
2490
2457
  },
2491
- description: "Create and manage rewards for your customers.",
2458
+ description: "สร้างและจัดการรางวัลสำหรับลูกค้าของคุณ",
2492
2459
  type: {
2493
- label: "Reward type: {type}",
2494
- all: "All"
2460
+ label: "ประเภทรางวัล: {type}",
2461
+ all: "ทั้งหมด"
2495
2462
  },
2496
- search: "search",
2463
+ search: "ค้นหา",
2497
2464
  delete: {
2498
- confirm: "Are you sure you want to delete this reward?",
2499
- title: "Delete reward",
2500
- message: "Deleting reward",
2501
- success: "Reward deleted"
2465
+ confirm: "คุณแน่ใจหรือไม่ว่าต้องการลบรางวัลนี้?",
2466
+ title: "ลบรางวัล",
2467
+ message: "กำลังลบรางวัล",
2468
+ success: "ลบรางวัลแล้ว"
2502
2469
  },
2503
2470
  update: {
2504
- message: "Updating reward",
2505
- success: "Reward updated successfully"
2471
+ message: "กำลังอัปเดตรางวัล",
2472
+ success: "อัปเดตรางวัลเรียบร้อยแล้ว"
2506
2473
  },
2507
2474
  empty: {
2508
- title: "Create rewards",
2509
- description: "Create rewards for your customers to redeem inside their bundle.",
2510
- action: "Create reward"
2475
+ title: "สร้างผลตอบแทน",
2476
+ description: "สร้างรางวัลสำหรับลูกค้าของคุณเพื่อแลกภายในชุดรวมของพวกเขา",
2477
+ action: "สร้างรางวัล"
2511
2478
  },
2512
- create: "Create reward",
2479
+ create: "สร้างรางวัล",
2513
2480
  table: {
2514
- name: "Name",
2515
- type: "Type",
2516
- validity: "Validity",
2517
- used: "Used",
2518
- actions: "Actions"
2481
+ name: "ชื่อ",
2482
+ type: "พิมพ์",
2483
+ validity: "ความถูกต้อง",
2484
+ used: "ใช้แล้ว",
2485
+ actions: "การดำเนินการ"
2519
2486
  }
2520
2487
  },
2521
- prompt: {
2522
- confirm: "confirm",
2523
- cancel: "cancel"
2524
- },
2525
- editTierSheet: {
2526
- add: "Add",
2527
- create: "Create Tier",
2528
- basicInformation: "Basic information",
2529
- tierName: "Tier name",
2530
- tierImage: "Tier image",
2531
- experienceThreshold: "Experience threshold",
2532
- minExperience: "Min experience",
2533
- maxExperience: "Max experience",
2534
- actions: "Actions",
2535
- submit: "Submit",
2536
- cancel: "Cancel"
2537
- }
2538
- }, qe = {
2539
- invalid_type: "Expected {{expected}}, received {{received}}",
2540
- errors: {
2541
- invalid_type: "Expected {{expected}}, received {{received}}",
2542
- invalid_type_received_undefined: "Required",
2543
- invalid_type_received_null: "Required",
2544
- invalid_literal: "Invalid literal value, expected {{expected}}",
2545
- unrecognized_keys: "Unrecognized key(s) in object: {{- keys}}",
2546
- invalid_union: "Invalid input",
2547
- invalid_union_discriminator: "Invalid discriminator value. Expected {{- options}}",
2548
- invalid_enum_value: "Invalid enum value. Expected {{- options}}, received '{{received}}'",
2549
- invalid_arguments: "Invalid function arguments",
2550
- invalid_return_type: "Invalid function return type",
2551
- invalid_date: "Invalid date",
2552
- custom: "Invalid input",
2553
- invalid_intersection_types: "Intersection results could not be merged",
2554
- not_multiple_of: "Number must be a multiple of {{multipleOf}}",
2555
- not_finite: "Number must be finite",
2556
- invalid_string: {
2557
- email: "Invalid {{validation}}",
2558
- url: "Invalid {{validation}}",
2559
- uuid: "Invalid {{validation}}",
2560
- cuid: "Invalid {{validation}}",
2561
- regex: "Invalid",
2562
- datetime: "Invalid {{validation}}",
2563
- startsWith: 'Invalid input: must start with "{{startsWith}}"',
2564
- endsWith: 'Invalid input: must end with "{{endsWith}}"'
2565
- },
2566
- too_small: {
2567
- array: {
2568
- exact: "Array must contain exactly {{minimum}} element(s)",
2569
- inclusive: "Array must contain at least {{minimum}} element(s)",
2570
- not_inclusive: "Array must contain more than {{minimum}} element(s)"
2571
- },
2572
- string: {
2573
- exact: "String must contain exactly {{minimum}} character(s)",
2574
- inclusive: "String must contain at least {{minimum}} character(s)",
2575
- not_inclusive: "String must contain over {{minimum}} character(s)"
2576
- },
2577
- number: {
2578
- exact: "Number must be exactly {{minimum}}",
2579
- inclusive: "Number must be greater than or equal to {{minimum}}",
2580
- not_inclusive: "Number must be greater than {{minimum}}"
2581
- },
2582
- set: {
2583
- exact: "Invalid input",
2584
- inclusive: "Invalid input",
2585
- not_inclusive: "Invalid input"
2488
+ zod: {
2489
+ invalid_type: "คาดหวัง {{expected}} ได้รับ {{received}}",
2490
+ errors: {
2491
+ invalid_type: "คาดหวัง {{expected}} ได้รับ {{received}}",
2492
+ invalid_type_received_undefined: "ที่จำเป็น",
2493
+ invalid_type_received_null: "ที่จำเป็น",
2494
+ invalid_literal: "ค่าตัวอักษรไม่ถูกต้อง คาดไว้ {{expected}}",
2495
+ unrecognized_keys: "คีย์ที่ไม่รู้จักในออบเจ็กต์: {{- คีย์}}",
2496
+ invalid_union: "อินพุตไม่ถูกต้อง",
2497
+ invalid_union_discriminator: "ค่าตัวแบ่งแยกไม่ถูกต้อง คาดหวัง {{- ตัวเลือก}}",
2498
+ invalid_enum_value: "ค่าแจงนับไม่ถูกต้อง คาดหวัง {{- options}} ได้รับ '{{received}}'",
2499
+ invalid_arguments: "อาร์กิวเมนต์ของฟังก์ชันไม่ถูกต้อง",
2500
+ invalid_return_type: "ประเภทการส่งคืนฟังก์ชันไม่ถูกต้อง",
2501
+ invalid_date: "วันที่ไม่ถูกต้อง",
2502
+ custom: "อินพุตไม่ถูกต้อง",
2503
+ invalid_intersection_types: "ไม่สามารถรวมผลลัพธ์ทางแยกได้",
2504
+ not_multiple_of: "จำนวนต้องเป็นจำนวนทวีคูณของ {{multipleOf}}",
2505
+ not_finite: "จำนวนต้องมีจำกัด",
2506
+ invalid_string: {
2507
+ email: "ไม่ถูกต้อง {{validation}}",
2508
+ url: "ไม่ถูกต้อง {{validation}}",
2509
+ uuid: "ไม่ถูกต้อง {{validation}}",
2510
+ cuid: "ไม่ถูกต้อง {{validation}}",
2511
+ regex: "ไม่ถูกต้อง",
2512
+ datetime: "ไม่ถูกต้อง {{validation}}",
2513
+ startsWith: 'ข้อมูลไม่ถูกต้อง: ต้องขึ้นต้นด้วย "{{startsWith}}"',
2514
+ endsWith: 'ข้อมูลไม่ถูกต้อง: ต้องลงท้ายด้วย "{{endsWith}}"'
2515
+ },
2516
+ too_small: {
2517
+ array: {
2518
+ exact: "อาร์เรย์ต้องมีองค์ประกอบ {{minimum}} ทุกประการ",
2519
+ inclusive: "อาร์เรย์ต้องมีอย่างน้อย {{minimum}} องค์ประกอบ",
2520
+ not_inclusive: "อาร์เรย์ต้องมีองค์ประกอบมากกว่า {{minimum}} รายการ"
2521
+ },
2522
+ string: {
2523
+ exact: "สตริงต้องมีอักขระ {{minimum}} ตัวทุกประการ",
2524
+ inclusive: "สตริงต้องมีอักขระอย่างน้อย {{minimum}} ตัว",
2525
+ not_inclusive: "สตริงต้องมีอักขระเกิน {{minimum}} ตัว"
2526
+ },
2527
+ number: {
2528
+ exact: "หมายเลขจะต้องเป็น {{minimum}} ทุกประการ",
2529
+ inclusive: "ตัวเลขต้องมากกว่าหรือเท่ากับ {{minimum}}",
2530
+ not_inclusive: "จำนวนต้องมากกว่า {{minimum}}"
2531
+ },
2532
+ set: {
2533
+ exact: "อินพุตไม่ถูกต้อง",
2534
+ inclusive: "อินพุตไม่ถูกต้อง",
2535
+ not_inclusive: "อินพุตไม่ถูกต้อง"
2536
+ },
2537
+ date: {
2538
+ exact: "วันที่จะต้องตรงกับ {{- ขั้นต่ำ, วันที่เวลา}}",
2539
+ inclusive: "วันที่ต้องมากกว่าหรือเท่ากับ {{- ขั้นต่ำ, วันที่เวลา}}",
2540
+ not_inclusive: "วันที่ต้องมากกว่า {{- ขั้นต่ำ, วันที่เวลา}}"
2541
+ }
2586
2542
  },
2587
- date: {
2588
- exact: "Date must be exactly {{- minimum, datetime}}",
2589
- inclusive: "Date must be greater than or equal to {{- minimum, datetime}}",
2590
- not_inclusive: "Date must be greater than {{- minimum, datetime}}"
2543
+ too_big: {
2544
+ array: {
2545
+ exact: "อาร์เรย์ต้องมีองค์ประกอบ {{maximum}} ทุกประการ",
2546
+ inclusive: "อาร์เรย์ต้องมีองค์ประกอบไม่เกิน {{maximum}} รายการ",
2547
+ not_inclusive: "อาร์เรย์ต้องมีองค์ประกอบน้อยกว่า {{maximum}} รายการ"
2548
+ },
2549
+ string: {
2550
+ exact: "สตริงต้องมีอักขระ {{maximum}} ตัวทุกประการ",
2551
+ inclusive: "สตริงต้องมีอักขระไม่เกิน {{maximum}} ตัว",
2552
+ not_inclusive: "สตริงต้องมีอักขระไม่เกิน {{maximum}} ตัว"
2553
+ },
2554
+ number: {
2555
+ exact: "หมายเลขจะต้องตรงกับ {{maximum}}",
2556
+ inclusive: "ตัวเลขต้องน้อยกว่าหรือเท่ากับ {{maximum}}",
2557
+ not_inclusive: "จำนวนต้องน้อยกว่า {{maximum}}"
2558
+ },
2559
+ set: {
2560
+ exact: "อินพุตไม่ถูกต้อง",
2561
+ inclusive: "อินพุตไม่ถูกต้อง",
2562
+ not_inclusive: "อินพุตไม่ถูกต้อง"
2563
+ },
2564
+ date: {
2565
+ exact: "วันที่จะต้องตรงกับ {{- maximum, datetime}}",
2566
+ inclusive: "วันที่ต้องน้อยกว่าหรือเท่ากับ {{- maximum, datetime}}",
2567
+ not_inclusive: "วันที่ต้องน้อยกว่า {{- maximum, datetime}}"
2568
+ }
2591
2569
  }
2592
2570
  },
2593
- too_big: {
2594
- array: {
2595
- exact: "Array must contain exactly {{maximum}} element(s)",
2596
- inclusive: "Array must contain at most {{maximum}} element(s)",
2597
- not_inclusive: "Array must contain less than {{maximum}} element(s)"
2598
- },
2599
- string: {
2600
- exact: "String must contain exactly {{maximum}} character(s)",
2601
- inclusive: "String must contain at most {{maximum}} character(s)",
2602
- not_inclusive: "String must contain under {{maximum}} character(s)"
2603
- },
2604
- number: {
2605
- exact: "Number must be exactly {{maximum}}",
2606
- inclusive: "Number must be less than or equal to {{maximum}}",
2607
- not_inclusive: "Number must be less than {{maximum}}"
2608
- },
2609
- set: {
2610
- exact: "Invalid input",
2611
- inclusive: "Invalid input",
2612
- not_inclusive: "Invalid input"
2613
- },
2614
- date: {
2615
- exact: "Date must be exactly {{- maximum, datetime}}",
2616
- inclusive: "Date must be smaller than or equal to {{- maximum, datetime}}",
2617
- not_inclusive: "Date must be smaller than {{- maximum, datetime}}"
2618
- }
2571
+ validations: {
2572
+ email: "อีเมล",
2573
+ url: "url",
2574
+ uuid: "uuid",
2575
+ cuid: "cuid",
2576
+ regex: "regex",
2577
+ datetime: "datetime"
2578
+ },
2579
+ types: {
2580
+ function: "ฟังก์ชัน",
2581
+ number: "ตัวเลข",
2582
+ string: "สตริง",
2583
+ nan: "nan",
2584
+ integer: "จำนวนเต็ม",
2585
+ float: "float",
2586
+ boolean: "boolean",
2587
+ date: "วันที่",
2588
+ bigint: "bigint",
2589
+ undefined: "ไม่ได้กำหนด",
2590
+ symbol: "สัญลักษณ์",
2591
+ null: "null",
2592
+ array: "อาร์เรย์",
2593
+ object: "วัตถุ",
2594
+ unknown: "ไม่ทราบ",
2595
+ promise: "promise",
2596
+ void: "void",
2597
+ never: "never",
2598
+ map: "map",
2599
+ set: "set"
2619
2600
  }
2620
2601
  },
2621
- validations: {
2622
- email: "email",
2623
- url: "url",
2624
- uuid: "uuid",
2625
- cuid: "cuid",
2626
- regex: "regex",
2627
- datetime: "datetime"
2602
+ zodCustom: {
2603
+ timeframe: {
2604
+ end_before_start: "วันที่สิ้นสุดต้องมาทีหลังหรือเหมือนกับวันที่เริ่มต้น"
2605
+ },
2606
+ campaign: {
2607
+ rule_required: "ต้องมีกฎเกณฑ์เมื่อประเภทตัวกระตุ้นคือ '{type}'",
2608
+ earning_amount_exceed: "จำนวนเงินที่ได้รับต้องน้อยกว่า {max} (จำนวนเงินที่ได้รับสูงสุดของภารกิจ)",
2609
+ credit_validity_required: "แคมเปญเครดิตต้องมีตัวเลือกอายุการใช้งาน (ต้องเป็นเครดิตฟรี)",
2610
+ mission_first_receive: "แคมเปญภารกิจต้องติดตามการรับก่อน",
2611
+ schedule_period_required: "ตัวกระตุ้นกำหนดการต้องตั้งค่าช่วงเวลาที่ใช้งานอยู่",
2612
+ active_period_invalid: "กฎช่วงเวลาที่ใช้งานอยู่ไม่ถูกต้อง",
2613
+ fixed_earning_required: "แคมเปญที่ไม่สามารถเรียกเก็บเงินได้ครบต้องมีตัวเลือกการรับรายได้คงที่",
2614
+ reward_threshold_range: "เกณฑ์รางวัลจะต้องอยู่ภายในจุดสิ้นสุดภารกิจ",
2615
+ reward_threshold_unique: "เกณฑ์รางวัลจะต้องไม่ซ้ำกัน",
2616
+ effect_required: "จำเป็นต้องมีเอฟเฟกต์"
2617
+ }
2628
2618
  },
2629
- types: {
2630
- function: "function",
2631
- number: "number",
2632
- string: "string",
2633
- nan: "nan",
2634
- integer: "integer",
2635
- float: "float",
2636
- boolean: "boolean",
2637
- date: "date",
2638
- bigint: "bigint",
2639
- undefined: "undefined",
2640
- symbol: "symbol",
2641
- null: "null",
2642
- array: "array",
2643
- object: "object",
2644
- unknown: "unknown",
2645
- promise: "promise",
2646
- void: "void",
2647
- never: "never",
2648
- map: "map",
2649
- set: "set"
2650
- }
2651
- }, Ge = {
2652
- timeframe: {
2653
- end_before_start: "End date must be later or same as start date"
2619
+ prompt: {
2620
+ confirm: "ยืนยัน",
2621
+ cancel: "ยกเลิก"
2654
2622
  },
2655
- campaign: {
2656
- rule_required: "A rule is required when trigger type is '{type}'",
2657
- earning_amount_exceed: "Earning amount must be less than {max} (mission's maximum collection)",
2658
- credit_validity_required: "Credit campaign requires a validity option (must be free credit)",
2659
- mission_first_receive: "Mission campaign must follow first receive",
2660
- schedule_period_required: "Schedule trigger requires an active period to be set",
2661
- active_period_invalid: "Active period rule is invalid",
2662
- fixed_earning_required: "Non bill-complete campaign requires fixed earning option",
2663
- reward_threshold_range: "Reward threshold must be within mission end",
2664
- reward_threshold_unique: "Reward threshold must be unique",
2665
- effect_required: "Effect is required"
2623
+ editTierSheet: {
2624
+ add: "เพิ่ม",
2625
+ create: "สร้างระดับ",
2626
+ basicInformation: "ข้อมูลพื้นฐาน",
2627
+ tierName: "ชื่อชั้น",
2628
+ tierImage: "รูปภาพระดับ",
2629
+ experienceThreshold: "เกณฑ์ประสบการณ์",
2630
+ minExperience: "ประสบการณ์ขั้นต่ำ",
2631
+ maxExperience: "ประสบการณ์สูงสุด",
2632
+ actions: "การดำเนินการ",
2633
+ submit: "ส่ง",
2634
+ cancel: "ยกเลิก"
2666
2635
  }
2667
- }, ze = {
2668
- connect: $e,
2669
- connectZod: qe,
2670
- connectZodCustom: Ge
2636
+ }, qe = {
2637
+ connect: Ue
2671
2638
  };
2672
2639
  var b;
2673
2640
  (function(a) {
@@ -2734,7 +2701,7 @@ const u = b.arrayToEnum([
2734
2701
  "never",
2735
2702
  "map",
2736
2703
  "set"
2737
- ]), D = (a) => {
2704
+ ]), j = (a) => {
2738
2705
  switch (typeof a) {
2739
2706
  case "undefined":
2740
2707
  return u.undefined;
@@ -2772,7 +2739,7 @@ const u = b.arrayToEnum([
2772
2739
  "invalid_intersection_types",
2773
2740
  "not_multiple_of",
2774
2741
  "not_finite"
2775
- ]), Ye = (a) => JSON.stringify(a, null, 2).replace(/"([^"]+)":/g, "$1:");
2742
+ ]), Ge = (a) => JSON.stringify(a, null, 2).replace(/"([^"]+)":/g, "$1:");
2776
2743
  class E extends Error {
2777
2744
  constructor(e) {
2778
2745
  super(), this.issues = [], this.addIssue = (n) => {
@@ -2885,12 +2852,12 @@ const F = (a, e) => {
2885
2852
  }
2886
2853
  return { message: t };
2887
2854
  };
2888
- let Ae = F;
2889
- function We(a) {
2890
- Ae = a;
2855
+ let Re = F;
2856
+ function ze(a) {
2857
+ Re = a;
2891
2858
  }
2892
2859
  function ce() {
2893
- return Ae;
2860
+ return Re;
2894
2861
  }
2895
2862
  const de = (a) => {
2896
2863
  const { data: e, path: t, errorMaps: n, issueData: i } = a, r = [...t, ...i.path || []], s = {
@@ -2906,7 +2873,7 @@ const de = (a) => {
2906
2873
  path: r,
2907
2874
  message: i.message || o
2908
2875
  };
2909
- }, Fe = [];
2876
+ }, Ye = [];
2910
2877
  function l(a, e) {
2911
2878
  const t = de({
2912
2879
  issueData: e,
@@ -2922,7 +2889,7 @@ function l(a, e) {
2922
2889
  });
2923
2890
  a.common.issues.push(t);
2924
2891
  }
2925
- class C {
2892
+ class T {
2926
2893
  constructor() {
2927
2894
  this.value = "valid";
2928
2895
  }
@@ -2936,7 +2903,7 @@ class C {
2936
2903
  const n = [];
2937
2904
  for (const i of t) {
2938
2905
  if (i.status === "aborted")
2939
- return g;
2906
+ return f;
2940
2907
  i.status === "dirty" && e.dirty(), n.push(i.value);
2941
2908
  }
2942
2909
  return { status: e.value, value: n };
@@ -2948,27 +2915,27 @@ class C {
2948
2915
  key: await i.key,
2949
2916
  value: await i.value
2950
2917
  });
2951
- return C.mergeObjectSync(e, n);
2918
+ return T.mergeObjectSync(e, n);
2952
2919
  }
2953
2920
  static mergeObjectSync(e, t) {
2954
2921
  const n = {};
2955
2922
  for (const i of t) {
2956
2923
  const { key: r, value: s } = i;
2957
2924
  if (r.status === "aborted" || s.status === "aborted")
2958
- return g;
2925
+ return f;
2959
2926
  r.status === "dirty" && e.dirty(), s.status === "dirty" && e.dirty(), r.value !== "__proto__" && (typeof s.value < "u" || i.alwaysSet) && (n[r.value] = s.value);
2960
2927
  }
2961
2928
  return { status: e.value, value: n };
2962
2929
  }
2963
2930
  }
2964
- const g = Object.freeze({
2931
+ const f = Object.freeze({
2965
2932
  status: "aborted"
2966
- }), ke = (a) => ({ status: "dirty", value: a }), T = (a) => ({ status: "valid", value: a }), xe = (a) => a.status === "aborted", we = (a) => a.status === "dirty", H = (a) => a.status === "valid", ue = (a) => typeof Promise < "u" && a instanceof Promise;
2933
+ }), Se = (a) => ({ status: "dirty", value: a }), C = (a) => ({ status: "valid", value: a }), xe = (a) => a.status === "aborted", we = (a) => a.status === "dirty", H = (a) => a.status === "valid", ue = (a) => typeof Promise < "u" && a instanceof Promise;
2967
2934
  var p;
2968
2935
  (function(a) {
2969
2936
  a.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, a.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
2970
2937
  })(p || (p = {}));
2971
- class M {
2938
+ class N {
2972
2939
  constructor(e, t, n, i) {
2973
2940
  this._cachedPath = [], this.parent = e, this.data = t, this._path = n, this._key = i;
2974
2941
  }
@@ -2976,7 +2943,7 @@ class M {
2976
2943
  return this._cachedPath.length || (this._key instanceof Array ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;
2977
2944
  }
2978
2945
  }
2979
- const Te = (a, e) => {
2946
+ const Ce = (a, e) => {
2980
2947
  if (H(e))
2981
2948
  return { success: !0, data: e.value };
2982
2949
  if (!a.common.issues.length)
@@ -2991,7 +2958,7 @@ const Te = (a, e) => {
2991
2958
  }
2992
2959
  };
2993
2960
  };
2994
- function f(a) {
2961
+ function _(a) {
2995
2962
  if (!a)
2996
2963
  return {};
2997
2964
  const { errorMap: e, invalid_type_error: t, required_error: n, description: i } = a;
@@ -2999,7 +2966,7 @@ function f(a) {
2999
2966
  throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);
3000
2967
  return e ? { errorMap: e, description: i } : { errorMap: (s, o) => s.code !== "invalid_type" ? { message: o.defaultError } : typeof o.data > "u" ? { message: n ?? o.defaultError } : { message: t ?? o.defaultError }, description: i };
3001
2968
  }
3002
- class y {
2969
+ class v {
3003
2970
  constructor(e) {
3004
2971
  this.spa = this.safeParseAsync, this._def = e, this.parse = this.parse.bind(this), this.safeParse = this.safeParse.bind(this), this.parseAsync = this.parseAsync.bind(this), this.safeParseAsync = this.safeParseAsync.bind(this), this.spa = this.spa.bind(this), this.refine = this.refine.bind(this), this.refinement = this.refinement.bind(this), this.superRefine = this.superRefine.bind(this), this.optional = this.optional.bind(this), this.nullable = this.nullable.bind(this), this.nullish = this.nullish.bind(this), this.array = this.array.bind(this), this.promise = this.promise.bind(this), this.or = this.or.bind(this), this.and = this.and.bind(this), this.transform = this.transform.bind(this), this.brand = this.brand.bind(this), this.default = this.default.bind(this), this.catch = this.catch.bind(this), this.describe = this.describe.bind(this), this.pipe = this.pipe.bind(this), this.readonly = this.readonly.bind(this), this.isNullable = this.isNullable.bind(this), this.isOptional = this.isOptional.bind(this);
3005
2972
  }
@@ -3007,13 +2974,13 @@ class y {
3007
2974
  return this._def.description;
3008
2975
  }
3009
2976
  _getType(e) {
3010
- return D(e.data);
2977
+ return j(e.data);
3011
2978
  }
3012
2979
  _getOrReturnCtx(e, t) {
3013
2980
  return t || {
3014
2981
  common: e.parent.common,
3015
2982
  data: e.data,
3016
- parsedType: D(e.data),
2983
+ parsedType: j(e.data),
3017
2984
  schemaErrorMap: this._def.errorMap,
3018
2985
  path: e.path,
3019
2986
  parent: e.parent
@@ -3021,11 +2988,11 @@ class y {
3021
2988
  }
3022
2989
  _processInputParams(e) {
3023
2990
  return {
3024
- status: new C(),
2991
+ status: new T(),
3025
2992
  ctx: {
3026
2993
  common: e.parent.common,
3027
2994
  data: e.data,
3028
- parsedType: D(e.data),
2995
+ parsedType: j(e.data),
3029
2996
  schemaErrorMap: this._def.errorMap,
3030
2997
  path: e.path,
3031
2998
  parent: e.parent
@@ -3060,9 +3027,9 @@ class y {
3060
3027
  schemaErrorMap: this._def.errorMap,
3061
3028
  parent: null,
3062
3029
  data: e,
3063
- parsedType: D(e)
3030
+ parsedType: j(e)
3064
3031
  }, r = this._parseSync({ data: e, path: i.path, parent: i });
3065
- return Te(i, r);
3032
+ return Ce(i, r);
3066
3033
  }
3067
3034
  async parseAsync(e, t) {
3068
3035
  const n = await this.safeParseAsync(e, t);
@@ -3081,9 +3048,9 @@ class y {
3081
3048
  schemaErrorMap: this._def.errorMap,
3082
3049
  parent: null,
3083
3050
  data: e,
3084
- parsedType: D(e)
3051
+ parsedType: j(e)
3085
3052
  }, i = this._parse({ data: e, path: n.path, parent: n }), r = await (ue(i) ? i : Promise.resolve(i));
3086
- return Te(n, r);
3053
+ return Ce(n, r);
3087
3054
  }
3088
3055
  refine(e, t) {
3089
3056
  const n = (i) => typeof t == "string" || typeof t > "u" ? { message: t } : typeof t == "function" ? t(i) : t;
@@ -3099,7 +3066,7 @@ class y {
3099
3066
  return this._refinement((n, i) => e(n) ? !0 : (i.addIssue(typeof t == "function" ? t(n, i) : t), !1));
3100
3067
  }
3101
3068
  _refinement(e) {
3102
- return new N({
3069
+ return new I({
3103
3070
  schema: this,
3104
3071
  typeName: h.ZodEffects,
3105
3072
  effect: { type: "refinement", refinement: e }
@@ -3118,7 +3085,7 @@ class y {
3118
3085
  return this.nullable().optional();
3119
3086
  }
3120
3087
  array() {
3121
- return I.create(this, this._def);
3088
+ return O.create(this, this._def);
3122
3089
  }
3123
3090
  promise() {
3124
3091
  return W.create(this, this._def);
@@ -3130,8 +3097,8 @@ class y {
3130
3097
  return ee.create(this, e, this._def);
3131
3098
  }
3132
3099
  transform(e) {
3133
- return new N({
3134
- ...f(this._def),
3100
+ return new I({
3101
+ ..._(this._def),
3135
3102
  schema: this,
3136
3103
  typeName: h.ZodEffects,
3137
3104
  effect: { type: "transform", transform: e }
@@ -3140,7 +3107,7 @@ class y {
3140
3107
  default(e) {
3141
3108
  const t = typeof e == "function" ? e : () => e;
3142
3109
  return new re({
3143
- ...f(this._def),
3110
+ ..._(this._def),
3144
3111
  innerType: this,
3145
3112
  defaultValue: t,
3146
3113
  typeName: h.ZodDefault
@@ -3150,13 +3117,13 @@ class y {
3150
3117
  return new Ee({
3151
3118
  typeName: h.ZodBranded,
3152
3119
  type: this,
3153
- ...f(this._def)
3120
+ ..._(this._def)
3154
3121
  });
3155
3122
  }
3156
3123
  catch(e) {
3157
3124
  const t = typeof e == "function" ? e : () => e;
3158
3125
  return new he({
3159
- ...f(this._def),
3126
+ ..._(this._def),
3160
3127
  innerType: this,
3161
3128
  catchValue: t,
3162
3129
  typeName: h.ZodCatch
@@ -3173,7 +3140,7 @@ class y {
3173
3140
  return se.create(this, e);
3174
3141
  }
3175
3142
  readonly() {
3176
- return fe.create(this);
3143
+ return ge.create(this);
3177
3144
  }
3178
3145
  isOptional() {
3179
3146
  return this.safeParse(void 0).success;
@@ -3182,13 +3149,13 @@ class y {
3182
3149
  return this.safeParse(null).success;
3183
3150
  }
3184
3151
  }
3185
- const He = /^c[^\s-]{8,}$/i, Je = /^[a-z][a-z0-9]*$/, Xe = /^[0-9A-HJKMNP-TV-Z]{26}$/, Ke = /^[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, Qe = /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, et = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
3186
- let _e;
3187
- const tt = /^(((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}))$/, at = /^(([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})))$/, nt = (a) => a.precision ? a.offset ? new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${a.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`) : new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${a.precision}}Z$`) : a.precision === 0 ? a.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$") : a.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");
3188
- function it(a, e) {
3189
- return !!((e === "v4" || !e) && tt.test(a) || (e === "v6" || !e) && at.test(a));
3152
+ const We = /^c[^\s-]{8,}$/i, Fe = /^[a-z][a-z0-9]*$/, He = /^[0-9A-HJKMNP-TV-Z]{26}$/, Je = /^[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, Xe = /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, Ke = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
3153
+ let ye;
3154
+ const Qe = /^(((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}))$/, et = /^(([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})))$/, tt = (a) => a.precision ? a.offset ? new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${a.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`) : new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${a.precision}}Z$`) : a.precision === 0 ? a.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$") : a.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");
3155
+ function at(a, e) {
3156
+ return !!((e === "v4" || !e) && Qe.test(a) || (e === "v6" || !e) && et.test(a));
3190
3157
  }
3191
- class R extends y {
3158
+ class A extends v {
3192
3159
  _parse(e) {
3193
3160
  if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== u.string) {
3194
3161
  const r = this._getOrReturnCtx(e);
@@ -3200,9 +3167,9 @@ class R extends y {
3200
3167
  received: r.parsedType
3201
3168
  }
3202
3169
  //
3203
- ), g;
3170
+ ), f;
3204
3171
  }
3205
- const n = new C();
3172
+ const n = new T();
3206
3173
  let i;
3207
3174
  for (const r of this._def.checks)
3208
3175
  if (r.kind === "min")
@@ -3241,37 +3208,37 @@ class R extends y {
3241
3208
  message: r.message
3242
3209
  }), n.dirty());
3243
3210
  } else if (r.kind === "email")
3244
- Qe.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3211
+ Xe.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3245
3212
  validation: "email",
3246
3213
  code: c.invalid_string,
3247
3214
  message: r.message
3248
3215
  }), n.dirty());
3249
3216
  else if (r.kind === "emoji")
3250
- _e || (_e = new RegExp(et, "u")), _e.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3217
+ ye || (ye = new RegExp(Ke, "u")), ye.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3251
3218
  validation: "emoji",
3252
3219
  code: c.invalid_string,
3253
3220
  message: r.message
3254
3221
  }), n.dirty());
3255
3222
  else if (r.kind === "uuid")
3256
- Ke.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3223
+ Je.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3257
3224
  validation: "uuid",
3258
3225
  code: c.invalid_string,
3259
3226
  message: r.message
3260
3227
  }), n.dirty());
3261
3228
  else if (r.kind === "cuid")
3262
- He.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3229
+ We.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3263
3230
  validation: "cuid",
3264
3231
  code: c.invalid_string,
3265
3232
  message: r.message
3266
3233
  }), n.dirty());
3267
3234
  else if (r.kind === "cuid2")
3268
- Je.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3235
+ Fe.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3269
3236
  validation: "cuid2",
3270
3237
  code: c.invalid_string,
3271
3238
  message: r.message
3272
3239
  }), n.dirty());
3273
3240
  else if (r.kind === "ulid")
3274
- Xe.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3241
+ He.test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3275
3242
  validation: "ulid",
3276
3243
  code: c.invalid_string,
3277
3244
  message: r.message
@@ -3302,11 +3269,11 @@ class R extends y {
3302
3269
  code: c.invalid_string,
3303
3270
  validation: { endsWith: r.value },
3304
3271
  message: r.message
3305
- }), n.dirty()) : r.kind === "datetime" ? nt(r).test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3272
+ }), n.dirty()) : r.kind === "datetime" ? tt(r).test(e.data) || (i = this._getOrReturnCtx(e, i), l(i, {
3306
3273
  code: c.invalid_string,
3307
3274
  validation: "datetime",
3308
3275
  message: r.message
3309
- }), n.dirty()) : r.kind === "ip" ? it(e.data, r.version) || (i = this._getOrReturnCtx(e, i), l(i, {
3276
+ }), n.dirty()) : r.kind === "ip" ? at(e.data, r.version) || (i = this._getOrReturnCtx(e, i), l(i, {
3310
3277
  validation: "ip",
3311
3278
  code: c.invalid_string,
3312
3279
  message: r.message
@@ -3321,7 +3288,7 @@ class R extends y {
3321
3288
  });
3322
3289
  }
3323
3290
  _addCheck(e) {
3324
- return new R({
3291
+ return new A({
3325
3292
  ...this._def,
3326
3293
  checks: [...this._def.checks, e]
3327
3294
  });
@@ -3422,19 +3389,19 @@ class R extends y {
3422
3389
  return this.min(1, p.errToObj(e));
3423
3390
  }
3424
3391
  trim() {
3425
- return new R({
3392
+ return new A({
3426
3393
  ...this._def,
3427
3394
  checks: [...this._def.checks, { kind: "trim" }]
3428
3395
  });
3429
3396
  }
3430
3397
  toLowerCase() {
3431
- return new R({
3398
+ return new A({
3432
3399
  ...this._def,
3433
3400
  checks: [...this._def.checks, { kind: "toLowerCase" }]
3434
3401
  });
3435
3402
  }
3436
3403
  toUpperCase() {
3437
- return new R({
3404
+ return new A({
3438
3405
  ...this._def,
3439
3406
  checks: [...this._def.checks, { kind: "toUpperCase" }]
3440
3407
  });
@@ -3479,20 +3446,20 @@ class R extends y {
3479
3446
  return e;
3480
3447
  }
3481
3448
  }
3482
- R.create = (a) => {
3449
+ A.create = (a) => {
3483
3450
  var e;
3484
- return new R({
3451
+ return new A({
3485
3452
  checks: [],
3486
3453
  typeName: h.ZodString,
3487
3454
  coerce: (e = a == null ? void 0 : a.coerce) !== null && e !== void 0 ? e : !1,
3488
- ...f(a)
3455
+ ..._(a)
3489
3456
  });
3490
3457
  };
3491
- function rt(a, e) {
3458
+ function nt(a, e) {
3492
3459
  const t = (a.toString().split(".")[1] || "").length, n = (e.toString().split(".")[1] || "").length, i = t > n ? t : n, r = parseInt(a.toFixed(i).replace(".", "")), s = parseInt(e.toFixed(i).replace(".", ""));
3493
3460
  return r % s / Math.pow(10, i);
3494
3461
  }
3495
- class j extends y {
3462
+ class D extends v {
3496
3463
  constructor() {
3497
3464
  super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
3498
3465
  }
@@ -3503,10 +3470,10 @@ class j extends y {
3503
3470
  code: c.invalid_type,
3504
3471
  expected: u.number,
3505
3472
  received: r.parsedType
3506
- }), g;
3473
+ }), f;
3507
3474
  }
3508
3475
  let n;
3509
- const i = new C();
3476
+ const i = new T();
3510
3477
  for (const r of this._def.checks)
3511
3478
  r.kind === "int" ? b.isInteger(e.data) || (n = this._getOrReturnCtx(e, n), l(n, {
3512
3479
  code: c.invalid_type,
@@ -3527,7 +3494,7 @@ class j extends y {
3527
3494
  inclusive: r.inclusive,
3528
3495
  exact: !1,
3529
3496
  message: r.message
3530
- }), i.dirty()) : r.kind === "multipleOf" ? rt(e.data, r.value) !== 0 && (n = this._getOrReturnCtx(e, n), l(n, {
3497
+ }), i.dirty()) : r.kind === "multipleOf" ? nt(e.data, r.value) !== 0 && (n = this._getOrReturnCtx(e, n), l(n, {
3531
3498
  code: c.not_multiple_of,
3532
3499
  multipleOf: r.value,
3533
3500
  message: r.message
@@ -3550,7 +3517,7 @@ class j extends y {
3550
3517
  return this.setLimit("max", e, !1, p.toString(t));
3551
3518
  }
3552
3519
  setLimit(e, t, n, i) {
3553
- return new j({
3520
+ return new D({
3554
3521
  ...this._def,
3555
3522
  checks: [
3556
3523
  ...this._def.checks,
@@ -3564,7 +3531,7 @@ class j extends y {
3564
3531
  });
3565
3532
  }
3566
3533
  _addCheck(e) {
3567
- return new j({
3534
+ return new D({
3568
3535
  ...this._def,
3569
3536
  checks: [...this._def.checks, e]
3570
3537
  });
@@ -3658,13 +3625,13 @@ class j extends y {
3658
3625
  return Number.isFinite(t) && Number.isFinite(e);
3659
3626
  }
3660
3627
  }
3661
- j.create = (a) => new j({
3628
+ D.create = (a) => new D({
3662
3629
  checks: [],
3663
3630
  typeName: h.ZodNumber,
3664
3631
  coerce: (a == null ? void 0 : a.coerce) || !1,
3665
- ...f(a)
3632
+ ..._(a)
3666
3633
  });
3667
- class V extends y {
3634
+ class Z extends v {
3668
3635
  constructor() {
3669
3636
  super(...arguments), this.min = this.gte, this.max = this.lte;
3670
3637
  }
@@ -3675,10 +3642,10 @@ class V extends y {
3675
3642
  code: c.invalid_type,
3676
3643
  expected: u.bigint,
3677
3644
  received: r.parsedType
3678
- }), g;
3645
+ }), f;
3679
3646
  }
3680
3647
  let n;
3681
- const i = new C();
3648
+ const i = new T();
3682
3649
  for (const r of this._def.checks)
3683
3650
  r.kind === "min" ? (r.inclusive ? e.data < r.value : e.data <= r.value) && (n = this._getOrReturnCtx(e, n), l(n, {
3684
3651
  code: c.too_small,
@@ -3712,7 +3679,7 @@ class V extends y {
3712
3679
  return this.setLimit("max", e, !1, p.toString(t));
3713
3680
  }
3714
3681
  setLimit(e, t, n, i) {
3715
- return new V({
3682
+ return new Z({
3716
3683
  ...this._def,
3717
3684
  checks: [
3718
3685
  ...this._def.checks,
@@ -3726,7 +3693,7 @@ class V extends y {
3726
3693
  });
3727
3694
  }
3728
3695
  _addCheck(e) {
3729
- return new V({
3696
+ return new Z({
3730
3697
  ...this._def,
3731
3698
  checks: [...this._def.checks, e]
3732
3699
  });
@@ -3783,16 +3750,16 @@ class V extends y {
3783
3750
  return e;
3784
3751
  }
3785
3752
  }
3786
- V.create = (a) => {
3753
+ Z.create = (a) => {
3787
3754
  var e;
3788
- return new V({
3755
+ return new Z({
3789
3756
  checks: [],
3790
3757
  typeName: h.ZodBigInt,
3791
3758
  coerce: (e = a == null ? void 0 : a.coerce) !== null && e !== void 0 ? e : !1,
3792
- ...f(a)
3759
+ ..._(a)
3793
3760
  });
3794
3761
  };
3795
- class J extends y {
3762
+ class J extends v {
3796
3763
  _parse(e) {
3797
3764
  if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== u.boolean) {
3798
3765
  const n = this._getOrReturnCtx(e);
@@ -3800,17 +3767,17 @@ class J extends y {
3800
3767
  code: c.invalid_type,
3801
3768
  expected: u.boolean,
3802
3769
  received: n.parsedType
3803
- }), g;
3770
+ }), f;
3804
3771
  }
3805
- return T(e.data);
3772
+ return C(e.data);
3806
3773
  }
3807
3774
  }
3808
3775
  J.create = (a) => new J({
3809
3776
  typeName: h.ZodBoolean,
3810
3777
  coerce: (a == null ? void 0 : a.coerce) || !1,
3811
- ...f(a)
3778
+ ..._(a)
3812
3779
  });
3813
- class B extends y {
3780
+ class B extends v {
3814
3781
  _parse(e) {
3815
3782
  if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== u.date) {
3816
3783
  const r = this._getOrReturnCtx(e);
@@ -3818,15 +3785,15 @@ class B extends y {
3818
3785
  code: c.invalid_type,
3819
3786
  expected: u.date,
3820
3787
  received: r.parsedType
3821
- }), g;
3788
+ }), f;
3822
3789
  }
3823
3790
  if (isNaN(e.data.getTime())) {
3824
3791
  const r = this._getOrReturnCtx(e);
3825
3792
  return l(r, {
3826
3793
  code: c.invalid_date
3827
- }), g;
3794
+ }), f;
3828
3795
  }
3829
- const n = new C();
3796
+ const n = new T();
3830
3797
  let i;
3831
3798
  for (const r of this._def.checks)
3832
3799
  r.kind === "min" ? e.data.getTime() < r.value && (i = this._getOrReturnCtx(e, i), l(i, {
@@ -3886,9 +3853,9 @@ B.create = (a) => new B({
3886
3853
  checks: [],
3887
3854
  coerce: (a == null ? void 0 : a.coerce) || !1,
3888
3855
  typeName: h.ZodDate,
3889
- ...f(a)
3856
+ ..._(a)
3890
3857
  });
3891
- class le extends y {
3858
+ class le extends v {
3892
3859
  _parse(e) {
3893
3860
  if (this._getType(e) !== u.symbol) {
3894
3861
  const n = this._getOrReturnCtx(e);
@@ -3896,16 +3863,16 @@ class le extends y {
3896
3863
  code: c.invalid_type,
3897
3864
  expected: u.symbol,
3898
3865
  received: n.parsedType
3899
- }), g;
3866
+ }), f;
3900
3867
  }
3901
- return T(e.data);
3868
+ return C(e.data);
3902
3869
  }
3903
3870
  }
3904
3871
  le.create = (a) => new le({
3905
3872
  typeName: h.ZodSymbol,
3906
- ...f(a)
3873
+ ..._(a)
3907
3874
  });
3908
- class X extends y {
3875
+ class X extends v {
3909
3876
  _parse(e) {
3910
3877
  if (this._getType(e) !== u.undefined) {
3911
3878
  const n = this._getOrReturnCtx(e);
@@ -3913,16 +3880,16 @@ class X extends y {
3913
3880
  code: c.invalid_type,
3914
3881
  expected: u.undefined,
3915
3882
  received: n.parsedType
3916
- }), g;
3883
+ }), f;
3917
3884
  }
3918
- return T(e.data);
3885
+ return C(e.data);
3919
3886
  }
3920
3887
  }
3921
3888
  X.create = (a) => new X({
3922
3889
  typeName: h.ZodUndefined,
3923
- ...f(a)
3890
+ ..._(a)
3924
3891
  });
3925
- class K extends y {
3892
+ class K extends v {
3926
3893
  _parse(e) {
3927
3894
  if (this._getType(e) !== u.null) {
3928
3895
  const n = this._getOrReturnCtx(e);
@@ -3930,54 +3897,54 @@ class K extends y {
3930
3897
  code: c.invalid_type,
3931
3898
  expected: u.null,
3932
3899
  received: n.parsedType
3933
- }), g;
3900
+ }), f;
3934
3901
  }
3935
- return T(e.data);
3902
+ return C(e.data);
3936
3903
  }
3937
3904
  }
3938
3905
  K.create = (a) => new K({
3939
3906
  typeName: h.ZodNull,
3940
- ...f(a)
3907
+ ..._(a)
3941
3908
  });
3942
- class Y extends y {
3909
+ class Y extends v {
3943
3910
  constructor() {
3944
3911
  super(...arguments), this._any = !0;
3945
3912
  }
3946
3913
  _parse(e) {
3947
- return T(e.data);
3914
+ return C(e.data);
3948
3915
  }
3949
3916
  }
3950
3917
  Y.create = (a) => new Y({
3951
3918
  typeName: h.ZodAny,
3952
- ...f(a)
3919
+ ..._(a)
3953
3920
  });
3954
- class U extends y {
3921
+ class $ extends v {
3955
3922
  constructor() {
3956
3923
  super(...arguments), this._unknown = !0;
3957
3924
  }
3958
3925
  _parse(e) {
3959
- return T(e.data);
3926
+ return C(e.data);
3960
3927
  }
3961
3928
  }
3962
- U.create = (a) => new U({
3929
+ $.create = (a) => new $({
3963
3930
  typeName: h.ZodUnknown,
3964
- ...f(a)
3931
+ ..._(a)
3965
3932
  });
3966
- class L extends y {
3933
+ class L extends v {
3967
3934
  _parse(e) {
3968
3935
  const t = this._getOrReturnCtx(e);
3969
3936
  return l(t, {
3970
3937
  code: c.invalid_type,
3971
3938
  expected: u.never,
3972
3939
  received: t.parsedType
3973
- }), g;
3940
+ }), f;
3974
3941
  }
3975
3942
  }
3976
3943
  L.create = (a) => new L({
3977
3944
  typeName: h.ZodNever,
3978
- ...f(a)
3945
+ ..._(a)
3979
3946
  });
3980
- class me extends y {
3947
+ class me extends v {
3981
3948
  _parse(e) {
3982
3949
  if (this._getType(e) !== u.undefined) {
3983
3950
  const n = this._getOrReturnCtx(e);
@@ -3985,16 +3952,16 @@ class me extends y {
3985
3952
  code: c.invalid_type,
3986
3953
  expected: u.void,
3987
3954
  received: n.parsedType
3988
- }), g;
3955
+ }), f;
3989
3956
  }
3990
- return T(e.data);
3957
+ return C(e.data);
3991
3958
  }
3992
3959
  }
3993
3960
  me.create = (a) => new me({
3994
3961
  typeName: h.ZodVoid,
3995
- ...f(a)
3962
+ ..._(a)
3996
3963
  });
3997
- class I extends y {
3964
+ class O extends v {
3998
3965
  _parse(e) {
3999
3966
  const { ctx: t, status: n } = this._processInputParams(e), i = this._def;
4000
3967
  if (t.parsedType !== u.array)
@@ -4002,7 +3969,7 @@ class I extends y {
4002
3969
  code: c.invalid_type,
4003
3970
  expected: u.array,
4004
3971
  received: t.parsedType
4005
- }), g;
3972
+ }), f;
4006
3973
  if (i.exactLength !== null) {
4007
3974
  const s = t.data.length > i.exactLength.value, o = t.data.length < i.exactLength.value;
4008
3975
  (s || o) && (l(t, {
@@ -4030,27 +3997,27 @@ class I extends y {
4030
3997
  exact: !1,
4031
3998
  message: i.maxLength.message
4032
3999
  }), n.dirty()), t.common.async)
4033
- return Promise.all([...t.data].map((s, o) => i.type._parseAsync(new M(t, s, t.path, o)))).then((s) => C.mergeArray(n, s));
4034
- const r = [...t.data].map((s, o) => i.type._parseSync(new M(t, s, t.path, o)));
4035
- return C.mergeArray(n, r);
4000
+ return Promise.all([...t.data].map((s, o) => i.type._parseAsync(new N(t, s, t.path, o)))).then((s) => T.mergeArray(n, s));
4001
+ const r = [...t.data].map((s, o) => i.type._parseSync(new N(t, s, t.path, o)));
4002
+ return T.mergeArray(n, r);
4036
4003
  }
4037
4004
  get element() {
4038
4005
  return this._def.type;
4039
4006
  }
4040
4007
  min(e, t) {
4041
- return new I({
4008
+ return new O({
4042
4009
  ...this._def,
4043
4010
  minLength: { value: e, message: p.toString(t) }
4044
4011
  });
4045
4012
  }
4046
4013
  max(e, t) {
4047
- return new I({
4014
+ return new O({
4048
4015
  ...this._def,
4049
4016
  maxLength: { value: e, message: p.toString(t) }
4050
4017
  });
4051
4018
  }
4052
4019
  length(e, t) {
4053
- return new I({
4020
+ return new O({
4054
4021
  ...this._def,
4055
4022
  exactLength: { value: e, message: p.toString(t) }
4056
4023
  });
@@ -4059,31 +4026,31 @@ class I extends y {
4059
4026
  return this.min(1, e);
4060
4027
  }
4061
4028
  }
4062
- I.create = (a, e) => new I({
4029
+ O.create = (a, e) => new O({
4063
4030
  type: a,
4064
4031
  minLength: null,
4065
4032
  maxLength: null,
4066
4033
  exactLength: null,
4067
4034
  typeName: h.ZodArray,
4068
- ...f(e)
4035
+ ..._(e)
4069
4036
  });
4070
4037
  function G(a) {
4071
- if (a instanceof x) {
4038
+ if (a instanceof w) {
4072
4039
  const e = {};
4073
4040
  for (const t in a.shape) {
4074
4041
  const n = a.shape[t];
4075
4042
  e[t] = P.create(G(n));
4076
4043
  }
4077
- return new x({
4044
+ return new w({
4078
4045
  ...a._def,
4079
4046
  shape: () => e
4080
4047
  });
4081
- } else return a instanceof I ? new I({
4048
+ } else return a instanceof O ? new O({
4082
4049
  ...a._def,
4083
4050
  type: G(a.element)
4084
- }) : a instanceof P ? P.create(G(a.unwrap())) : a instanceof q ? q.create(G(a.unwrap())) : a instanceof O ? O.create(a.items.map((e) => G(e))) : a;
4051
+ }) : a instanceof P ? P.create(G(a.unwrap())) : a instanceof q ? q.create(G(a.unwrap())) : a instanceof M ? M.create(a.items.map((e) => G(e))) : a;
4085
4052
  }
4086
- class x extends y {
4053
+ class w extends v {
4087
4054
  constructor() {
4088
4055
  super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = this.extend;
4089
4056
  }
@@ -4100,7 +4067,7 @@ class x extends y {
4100
4067
  code: c.invalid_type,
4101
4068
  expected: u.object,
4102
4069
  received: d.parsedType
4103
- }), g;
4070
+ }), f;
4104
4071
  }
4105
4072
  const { status: n, ctx: i } = this._processInputParams(e), { shape: r, keys: s } = this._getCached(), o = [];
4106
4073
  if (!(this._def.catchall instanceof L && this._def.unknownKeys === "strip"))
@@ -4108,20 +4075,20 @@ class x extends y {
4108
4075
  s.includes(d) || o.push(d);
4109
4076
  const m = [];
4110
4077
  for (const d of s) {
4111
- const v = r[d], S = i.data[d];
4078
+ const y = r[d], S = i.data[d];
4112
4079
  m.push({
4113
4080
  key: { status: "valid", value: d },
4114
- value: v._parse(new M(i, S, i.path, d)),
4081
+ value: y._parse(new N(i, S, i.path, d)),
4115
4082
  alwaysSet: d in i.data
4116
4083
  });
4117
4084
  }
4118
4085
  if (this._def.catchall instanceof L) {
4119
4086
  const d = this._def.unknownKeys;
4120
4087
  if (d === "passthrough")
4121
- for (const v of o)
4088
+ for (const y of o)
4122
4089
  m.push({
4123
- key: { status: "valid", value: v },
4124
- value: { status: "valid", value: i.data[v] }
4090
+ key: { status: "valid", value: y },
4091
+ value: { status: "valid", value: i.data[y] }
4125
4092
  });
4126
4093
  else if (d === "strict")
4127
4094
  o.length > 0 && (l(i, {
@@ -4131,36 +4098,36 @@ class x extends y {
4131
4098
  else if (d !== "strip") throw new Error("Internal ZodObject error: invalid unknownKeys value.");
4132
4099
  } else {
4133
4100
  const d = this._def.catchall;
4134
- for (const v of o) {
4135
- const S = i.data[v];
4101
+ for (const y of o) {
4102
+ const S = i.data[y];
4136
4103
  m.push({
4137
- key: { status: "valid", value: v },
4104
+ key: { status: "valid", value: y },
4138
4105
  value: d._parse(
4139
- new M(i, S, i.path, v)
4106
+ new N(i, S, i.path, y)
4140
4107
  //, ctx.child(key), value, getParsedType(value)
4141
4108
  ),
4142
- alwaysSet: v in i.data
4109
+ alwaysSet: y in i.data
4143
4110
  });
4144
4111
  }
4145
4112
  }
4146
4113
  return i.common.async ? Promise.resolve().then(async () => {
4147
4114
  const d = [];
4148
- for (const v of m) {
4149
- const S = await v.key;
4115
+ for (const y of m) {
4116
+ const S = await y.key;
4150
4117
  d.push({
4151
4118
  key: S,
4152
- value: await v.value,
4153
- alwaysSet: v.alwaysSet
4119
+ value: await y.value,
4120
+ alwaysSet: y.alwaysSet
4154
4121
  });
4155
4122
  }
4156
4123
  return d;
4157
- }).then((d) => C.mergeObjectSync(n, d)) : C.mergeObjectSync(n, m);
4124
+ }).then((d) => T.mergeObjectSync(n, d)) : T.mergeObjectSync(n, m);
4158
4125
  }
4159
4126
  get shape() {
4160
4127
  return this._def.shape();
4161
4128
  }
4162
4129
  strict(e) {
4163
- return p.errToObj, new x({
4130
+ return p.errToObj, new w({
4164
4131
  ...this._def,
4165
4132
  unknownKeys: "strict",
4166
4133
  ...e !== void 0 ? {
@@ -4177,13 +4144,13 @@ class x extends y {
4177
4144
  });
4178
4145
  }
4179
4146
  strip() {
4180
- return new x({
4147
+ return new w({
4181
4148
  ...this._def,
4182
4149
  unknownKeys: "strip"
4183
4150
  });
4184
4151
  }
4185
4152
  passthrough() {
4186
- return new x({
4153
+ return new w({
4187
4154
  ...this._def,
4188
4155
  unknownKeys: "passthrough"
4189
4156
  });
@@ -4206,7 +4173,7 @@ class x extends y {
4206
4173
  // }) as any;
4207
4174
  // };
4208
4175
  extend(e) {
4209
- return new x({
4176
+ return new w({
4210
4177
  ...this._def,
4211
4178
  shape: () => ({
4212
4179
  ...this._def.shape(),
@@ -4220,7 +4187,7 @@ class x extends y {
4220
4187
  * upgrade if you are experiencing issues.
4221
4188
  */
4222
4189
  merge(e) {
4223
- return new x({
4190
+ return new w({
4224
4191
  unknownKeys: e._def.unknownKeys,
4225
4192
  catchall: e._def.catchall,
4226
4193
  shape: () => ({
@@ -4290,7 +4257,7 @@ class x extends y {
4290
4257
  // return merged;
4291
4258
  // }
4292
4259
  catchall(e) {
4293
- return new x({
4260
+ return new w({
4294
4261
  ...this._def,
4295
4262
  catchall: e
4296
4263
  });
@@ -4299,7 +4266,7 @@ class x extends y {
4299
4266
  const t = {};
4300
4267
  return b.objectKeys(e).forEach((n) => {
4301
4268
  e[n] && this.shape[n] && (t[n] = this.shape[n]);
4302
- }), new x({
4269
+ }), new w({
4303
4270
  ...this._def,
4304
4271
  shape: () => t
4305
4272
  });
@@ -4308,7 +4275,7 @@ class x extends y {
4308
4275
  const t = {};
4309
4276
  return b.objectKeys(this.shape).forEach((n) => {
4310
4277
  e[n] || (t[n] = this.shape[n]);
4311
- }), new x({
4278
+ }), new w({
4312
4279
  ...this._def,
4313
4280
  shape: () => t
4314
4281
  });
@@ -4324,7 +4291,7 @@ class x extends y {
4324
4291
  return b.objectKeys(this.shape).forEach((n) => {
4325
4292
  const i = this.shape[n];
4326
4293
  e && !e[n] ? t[n] = i : t[n] = i.optional();
4327
- }), new x({
4294
+ }), new w({
4328
4295
  ...this._def,
4329
4296
  shape: () => t
4330
4297
  });
@@ -4340,37 +4307,37 @@ class x extends y {
4340
4307
  r = r._def.innerType;
4341
4308
  t[n] = r;
4342
4309
  }
4343
- }), new x({
4310
+ }), new w({
4344
4311
  ...this._def,
4345
4312
  shape: () => t
4346
4313
  });
4347
4314
  }
4348
4315
  keyof() {
4349
- return Re(b.objectKeys(this.shape));
4316
+ return Ae(b.objectKeys(this.shape));
4350
4317
  }
4351
4318
  }
4352
- x.create = (a, e) => new x({
4319
+ w.create = (a, e) => new w({
4353
4320
  shape: () => a,
4354
4321
  unknownKeys: "strip",
4355
4322
  catchall: L.create(),
4356
4323
  typeName: h.ZodObject,
4357
- ...f(e)
4324
+ ..._(e)
4358
4325
  });
4359
- x.strictCreate = (a, e) => new x({
4326
+ w.strictCreate = (a, e) => new w({
4360
4327
  shape: () => a,
4361
4328
  unknownKeys: "strict",
4362
4329
  catchall: L.create(),
4363
4330
  typeName: h.ZodObject,
4364
- ...f(e)
4331
+ ..._(e)
4365
4332
  });
4366
- x.lazycreate = (a, e) => new x({
4333
+ w.lazycreate = (a, e) => new w({
4367
4334
  shape: a,
4368
4335
  unknownKeys: "strip",
4369
4336
  catchall: L.create(),
4370
4337
  typeName: h.ZodObject,
4371
- ...f(e)
4338
+ ..._(e)
4372
4339
  });
4373
- class Q extends y {
4340
+ class Q extends v {
4374
4341
  _parse(e) {
4375
4342
  const { ctx: t } = this._processInputParams(e), n = this._def.options;
4376
4343
  function i(r) {
@@ -4384,7 +4351,7 @@ class Q extends y {
4384
4351
  return l(t, {
4385
4352
  code: c.invalid_union,
4386
4353
  unionErrors: s
4387
- }), g;
4354
+ }), f;
4388
4355
  }
4389
4356
  if (t.common.async)
4390
4357
  return Promise.all(n.map(async (r) => {
@@ -4416,14 +4383,14 @@ class Q extends y {
4416
4383
  issues: []
4417
4384
  },
4418
4385
  parent: null
4419
- }, v = m._parseSync({
4386
+ }, y = m._parseSync({
4420
4387
  data: t.data,
4421
4388
  path: t.path,
4422
4389
  parent: d
4423
4390
  });
4424
- if (v.status === "valid")
4425
- return v;
4426
- v.status === "dirty" && !r && (r = { result: v, ctx: d }), d.common.issues.length && s.push(d.common.issues);
4391
+ if (y.status === "valid")
4392
+ return y;
4393
+ y.status === "dirty" && !r && (r = { result: y, ctx: d }), d.common.issues.length && s.push(d.common.issues);
4427
4394
  }
4428
4395
  if (r)
4429
4396
  return t.common.issues.push(...r.ctx.common.issues), r.result;
@@ -4431,7 +4398,7 @@ class Q extends y {
4431
4398
  return l(t, {
4432
4399
  code: c.invalid_union,
4433
4400
  unionErrors: o
4434
- }), g;
4401
+ }), f;
4435
4402
  }
4436
4403
  }
4437
4404
  get options() {
@@ -4441,10 +4408,10 @@ class Q extends y {
4441
4408
  Q.create = (a, e) => new Q({
4442
4409
  options: a,
4443
4410
  typeName: h.ZodUnion,
4444
- ...f(e)
4411
+ ..._(e)
4445
4412
  });
4446
- const oe = (a) => a instanceof ae ? oe(a.schema) : a instanceof N ? oe(a.innerType()) : a instanceof ne ? [a.value] : a instanceof Z ? a.options : a instanceof ie ? Object.keys(a.enum) : a instanceof re ? oe(a._def.innerType) : a instanceof X ? [void 0] : a instanceof K ? [null] : null;
4447
- class ye extends y {
4413
+ const oe = (a) => a instanceof ae ? oe(a.schema) : a instanceof I ? oe(a.innerType()) : a instanceof ne ? [a.value] : a instanceof V ? a.options : a instanceof ie ? Object.keys(a.enum) : a instanceof re ? oe(a._def.innerType) : a instanceof X ? [void 0] : a instanceof K ? [null] : null;
4414
+ class _e extends v {
4448
4415
  _parse(e) {
4449
4416
  const { ctx: t } = this._processInputParams(e);
4450
4417
  if (t.parsedType !== u.object)
@@ -4452,7 +4419,7 @@ class ye extends y {
4452
4419
  code: c.invalid_type,
4453
4420
  expected: u.object,
4454
4421
  received: t.parsedType
4455
- }), g;
4422
+ }), f;
4456
4423
  const n = this.discriminator, i = t.data[n], r = this.optionsMap.get(i);
4457
4424
  return r ? t.common.async ? r._parseAsync({
4458
4425
  data: t.data,
@@ -4466,7 +4433,7 @@ class ye extends y {
4466
4433
  code: c.invalid_union_discriminator,
4467
4434
  options: Array.from(this.optionsMap.keys()),
4468
4435
  path: [n]
4469
- }), g);
4436
+ }), f);
4470
4437
  }
4471
4438
  get discriminator() {
4472
4439
  return this._def.discriminator;
@@ -4497,23 +4464,23 @@ class ye extends y {
4497
4464
  i.set(o, r);
4498
4465
  }
4499
4466
  }
4500
- return new ye({
4467
+ return new _e({
4501
4468
  typeName: h.ZodDiscriminatedUnion,
4502
4469
  discriminator: e,
4503
4470
  options: t,
4504
4471
  optionsMap: i,
4505
- ...f(n)
4472
+ ..._(n)
4506
4473
  });
4507
4474
  }
4508
4475
  }
4509
- function Ce(a, e) {
4510
- const t = D(a), n = D(e);
4476
+ function Te(a, e) {
4477
+ const t = j(a), n = j(e);
4511
4478
  if (a === e)
4512
4479
  return { valid: !0, data: a };
4513
4480
  if (t === u.object && n === u.object) {
4514
4481
  const i = b.objectKeys(e), r = b.objectKeys(a).filter((o) => i.indexOf(o) !== -1), s = { ...a, ...e };
4515
4482
  for (const o of r) {
4516
- const m = Ce(a[o], e[o]);
4483
+ const m = Te(a[o], e[o]);
4517
4484
  if (!m.valid)
4518
4485
  return { valid: !1 };
4519
4486
  s[o] = m.data;
@@ -4524,7 +4491,7 @@ function Ce(a, e) {
4524
4491
  return { valid: !1 };
4525
4492
  const i = [];
4526
4493
  for (let r = 0; r < a.length; r++) {
4527
- const s = a[r], o = e[r], m = Ce(s, o);
4494
+ const s = a[r], o = e[r], m = Te(s, o);
4528
4495
  if (!m.valid)
4529
4496
  return { valid: !1 };
4530
4497
  i.push(m.data);
@@ -4532,15 +4499,15 @@ function Ce(a, e) {
4532
4499
  return { valid: !0, data: i };
4533
4500
  } else return t === u.date && n === u.date && +a == +e ? { valid: !0, data: a } : { valid: !1 };
4534
4501
  }
4535
- class ee extends y {
4502
+ class ee extends v {
4536
4503
  _parse(e) {
4537
4504
  const { status: t, ctx: n } = this._processInputParams(e), i = (r, s) => {
4538
4505
  if (xe(r) || xe(s))
4539
- return g;
4540
- const o = Ce(r.value, s.value);
4506
+ return f;
4507
+ const o = Te(r.value, s.value);
4541
4508
  return o.valid ? ((we(r) || we(s)) && t.dirty(), { status: t.value, value: o.data }) : (l(n, {
4542
4509
  code: c.invalid_intersection_types
4543
- }), g);
4510
+ }), f);
4544
4511
  };
4545
4512
  return n.common.async ? Promise.all([
4546
4513
  this._def.left._parseAsync({
@@ -4568,9 +4535,9 @@ ee.create = (a, e, t) => new ee({
4568
4535
  left: a,
4569
4536
  right: e,
4570
4537
  typeName: h.ZodIntersection,
4571
- ...f(t)
4538
+ ..._(t)
4572
4539
  });
4573
- class O extends y {
4540
+ class M extends v {
4574
4541
  _parse(e) {
4575
4542
  const { status: t, ctx: n } = this._processInputParams(e);
4576
4543
  if (n.parsedType !== u.array)
@@ -4578,7 +4545,7 @@ class O extends y {
4578
4545
  code: c.invalid_type,
4579
4546
  expected: u.array,
4580
4547
  received: n.parsedType
4581
- }), g;
4548
+ }), f;
4582
4549
  if (n.data.length < this._def.items.length)
4583
4550
  return l(n, {
4584
4551
  code: c.too_small,
@@ -4586,7 +4553,7 @@ class O extends y {
4586
4553
  inclusive: !0,
4587
4554
  exact: !1,
4588
4555
  type: "array"
4589
- }), g;
4556
+ }), f;
4590
4557
  !this._def.rest && n.data.length > this._def.items.length && (l(n, {
4591
4558
  code: c.too_big,
4592
4559
  maximum: this._def.items.length,
@@ -4596,31 +4563,31 @@ class O extends y {
4596
4563
  }), t.dirty());
4597
4564
  const r = [...n.data].map((s, o) => {
4598
4565
  const m = this._def.items[o] || this._def.rest;
4599
- return m ? m._parse(new M(n, s, n.path, o)) : null;
4566
+ return m ? m._parse(new N(n, s, n.path, o)) : null;
4600
4567
  }).filter((s) => !!s);
4601
- return n.common.async ? Promise.all(r).then((s) => C.mergeArray(t, s)) : C.mergeArray(t, r);
4568
+ return n.common.async ? Promise.all(r).then((s) => T.mergeArray(t, s)) : T.mergeArray(t, r);
4602
4569
  }
4603
4570
  get items() {
4604
4571
  return this._def.items;
4605
4572
  }
4606
4573
  rest(e) {
4607
- return new O({
4574
+ return new M({
4608
4575
  ...this._def,
4609
4576
  rest: e
4610
4577
  });
4611
4578
  }
4612
4579
  }
4613
- O.create = (a, e) => {
4580
+ M.create = (a, e) => {
4614
4581
  if (!Array.isArray(a))
4615
4582
  throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
4616
- return new O({
4583
+ return new M({
4617
4584
  items: a,
4618
4585
  typeName: h.ZodTuple,
4619
4586
  rest: null,
4620
- ...f(e)
4587
+ ..._(e)
4621
4588
  });
4622
4589
  };
4623
- class te extends y {
4590
+ class te extends v {
4624
4591
  get keySchema() {
4625
4592
  return this._def.keyType;
4626
4593
  }
@@ -4634,33 +4601,33 @@ class te extends y {
4634
4601
  code: c.invalid_type,
4635
4602
  expected: u.object,
4636
4603
  received: n.parsedType
4637
- }), g;
4604
+ }), f;
4638
4605
  const i = [], r = this._def.keyType, s = this._def.valueType;
4639
4606
  for (const o in n.data)
4640
4607
  i.push({
4641
- key: r._parse(new M(n, o, n.path, o)),
4642
- value: s._parse(new M(n, n.data[o], n.path, o))
4608
+ key: r._parse(new N(n, o, n.path, o)),
4609
+ value: s._parse(new N(n, n.data[o], n.path, o))
4643
4610
  });
4644
- return n.common.async ? C.mergeObjectAsync(t, i) : C.mergeObjectSync(t, i);
4611
+ return n.common.async ? T.mergeObjectAsync(t, i) : T.mergeObjectSync(t, i);
4645
4612
  }
4646
4613
  get element() {
4647
4614
  return this._def.valueType;
4648
4615
  }
4649
4616
  static create(e, t, n) {
4650
- return t instanceof y ? new te({
4617
+ return t instanceof v ? new te({
4651
4618
  keyType: e,
4652
4619
  valueType: t,
4653
4620
  typeName: h.ZodRecord,
4654
- ...f(n)
4621
+ ..._(n)
4655
4622
  }) : new te({
4656
- keyType: R.create(),
4623
+ keyType: A.create(),
4657
4624
  valueType: e,
4658
4625
  typeName: h.ZodRecord,
4659
- ...f(t)
4626
+ ..._(t)
4660
4627
  });
4661
4628
  }
4662
4629
  }
4663
- class pe extends y {
4630
+ class pe extends v {
4664
4631
  get keySchema() {
4665
4632
  return this._def.keyType;
4666
4633
  }
@@ -4674,29 +4641,29 @@ class pe extends y {
4674
4641
  code: c.invalid_type,
4675
4642
  expected: u.map,
4676
4643
  received: n.parsedType
4677
- }), g;
4644
+ }), f;
4678
4645
  const i = this._def.keyType, r = this._def.valueType, s = [...n.data.entries()].map(([o, m], d) => ({
4679
- key: i._parse(new M(n, o, n.path, [d, "key"])),
4680
- value: r._parse(new M(n, m, n.path, [d, "value"]))
4646
+ key: i._parse(new N(n, o, n.path, [d, "key"])),
4647
+ value: r._parse(new N(n, m, n.path, [d, "value"]))
4681
4648
  }));
4682
4649
  if (n.common.async) {
4683
4650
  const o = /* @__PURE__ */ new Map();
4684
4651
  return Promise.resolve().then(async () => {
4685
4652
  for (const m of s) {
4686
- const d = await m.key, v = await m.value;
4687
- if (d.status === "aborted" || v.status === "aborted")
4688
- return g;
4689
- (d.status === "dirty" || v.status === "dirty") && t.dirty(), o.set(d.value, v.value);
4653
+ const d = await m.key, y = await m.value;
4654
+ if (d.status === "aborted" || y.status === "aborted")
4655
+ return f;
4656
+ (d.status === "dirty" || y.status === "dirty") && t.dirty(), o.set(d.value, y.value);
4690
4657
  }
4691
4658
  return { status: t.value, value: o };
4692
4659
  });
4693
4660
  } else {
4694
4661
  const o = /* @__PURE__ */ new Map();
4695
4662
  for (const m of s) {
4696
- const d = m.key, v = m.value;
4697
- if (d.status === "aborted" || v.status === "aborted")
4698
- return g;
4699
- (d.status === "dirty" || v.status === "dirty") && t.dirty(), o.set(d.value, v.value);
4663
+ const d = m.key, y = m.value;
4664
+ if (d.status === "aborted" || y.status === "aborted")
4665
+ return f;
4666
+ (d.status === "dirty" || y.status === "dirty") && t.dirty(), o.set(d.value, y.value);
4700
4667
  }
4701
4668
  return { status: t.value, value: o };
4702
4669
  }
@@ -4706,9 +4673,9 @@ pe.create = (a, e, t) => new pe({
4706
4673
  valueType: e,
4707
4674
  keyType: a,
4708
4675
  typeName: h.ZodMap,
4709
- ...f(t)
4676
+ ..._(t)
4710
4677
  });
4711
- class $ extends y {
4678
+ class U extends v {
4712
4679
  _parse(e) {
4713
4680
  const { status: t, ctx: n } = this._processInputParams(e);
4714
4681
  if (n.parsedType !== u.set)
@@ -4716,7 +4683,7 @@ class $ extends y {
4716
4683
  code: c.invalid_type,
4717
4684
  expected: u.set,
4718
4685
  received: n.parsedType
4719
- }), g;
4686
+ }), f;
4720
4687
  const i = this._def;
4721
4688
  i.minSize !== null && n.data.size < i.minSize.value && (l(n, {
4722
4689
  code: c.too_small,
@@ -4736,24 +4703,24 @@ class $ extends y {
4736
4703
  const r = this._def.valueType;
4737
4704
  function s(m) {
4738
4705
  const d = /* @__PURE__ */ new Set();
4739
- for (const v of m) {
4740
- if (v.status === "aborted")
4741
- return g;
4742
- v.status === "dirty" && t.dirty(), d.add(v.value);
4706
+ for (const y of m) {
4707
+ if (y.status === "aborted")
4708
+ return f;
4709
+ y.status === "dirty" && t.dirty(), d.add(y.value);
4743
4710
  }
4744
4711
  return { status: t.value, value: d };
4745
4712
  }
4746
- const o = [...n.data.values()].map((m, d) => r._parse(new M(n, m, n.path, d)));
4713
+ const o = [...n.data.values()].map((m, d) => r._parse(new N(n, m, n.path, d)));
4747
4714
  return n.common.async ? Promise.all(o).then((m) => s(m)) : s(o);
4748
4715
  }
4749
4716
  min(e, t) {
4750
- return new $({
4717
+ return new U({
4751
4718
  ...this._def,
4752
4719
  minSize: { value: e, message: p.toString(t) }
4753
4720
  });
4754
4721
  }
4755
4722
  max(e, t) {
4756
- return new $({
4723
+ return new U({
4757
4724
  ...this._def,
4758
4725
  maxSize: { value: e, message: p.toString(t) }
4759
4726
  });
@@ -4765,14 +4732,14 @@ class $ extends y {
4765
4732
  return this.min(1, e);
4766
4733
  }
4767
4734
  }
4768
- $.create = (a, e) => new $({
4735
+ U.create = (a, e) => new U({
4769
4736
  valueType: a,
4770
4737
  minSize: null,
4771
4738
  maxSize: null,
4772
4739
  typeName: h.ZodSet,
4773
- ...f(e)
4740
+ ..._(e)
4774
4741
  });
4775
- class z extends y {
4742
+ class z extends v {
4776
4743
  constructor() {
4777
4744
  super(...arguments), this.validate = this.implement;
4778
4745
  }
@@ -4783,7 +4750,7 @@ class z extends y {
4783
4750
  code: c.invalid_type,
4784
4751
  expected: u.function,
4785
4752
  received: t.parsedType
4786
- }), g;
4753
+ }), f;
4787
4754
  function n(o, m) {
4788
4755
  return de({
4789
4756
  data: o,
@@ -4819,23 +4786,23 @@ class z extends y {
4819
4786
  const r = { errorMap: t.common.contextualErrorMap }, s = t.data;
4820
4787
  if (this._def.returns instanceof W) {
4821
4788
  const o = this;
4822
- return T(async function(...m) {
4823
- const d = new E([]), v = await o._def.args.parseAsync(m, r).catch((ve) => {
4789
+ return C(async function(...m) {
4790
+ const d = new E([]), y = await o._def.args.parseAsync(m, r).catch((ve) => {
4824
4791
  throw d.addIssue(n(m, ve)), d;
4825
- }), S = await Reflect.apply(s, this, v);
4792
+ }), S = await Reflect.apply(s, this, y);
4826
4793
  return await o._def.returns._def.type.parseAsync(S, r).catch((ve) => {
4827
4794
  throw d.addIssue(i(S, ve)), d;
4828
4795
  });
4829
4796
  });
4830
4797
  } else {
4831
4798
  const o = this;
4832
- return T(function(...m) {
4799
+ return C(function(...m) {
4833
4800
  const d = o._def.args.safeParse(m, r);
4834
4801
  if (!d.success)
4835
4802
  throw new E([n(m, d.error)]);
4836
- const v = Reflect.apply(s, this, d.data), S = o._def.returns.safeParse(v, r);
4803
+ const y = Reflect.apply(s, this, d.data), S = o._def.returns.safeParse(y, r);
4837
4804
  if (!S.success)
4838
- throw new E([i(v, S.error)]);
4805
+ throw new E([i(y, S.error)]);
4839
4806
  return S.data;
4840
4807
  });
4841
4808
  }
@@ -4849,7 +4816,7 @@ class z extends y {
4849
4816
  args(...e) {
4850
4817
  return new z({
4851
4818
  ...this._def,
4852
- args: O.create(e).rest(U.create())
4819
+ args: M.create(e).rest($.create())
4853
4820
  });
4854
4821
  }
4855
4822
  returns(e) {
@@ -4866,14 +4833,14 @@ class z extends y {
4866
4833
  }
4867
4834
  static create(e, t, n) {
4868
4835
  return new z({
4869
- args: e || O.create([]).rest(U.create()),
4870
- returns: t || U.create(),
4836
+ args: e || M.create([]).rest($.create()),
4837
+ returns: t || $.create(),
4871
4838
  typeName: h.ZodFunction,
4872
- ...f(n)
4839
+ ..._(n)
4873
4840
  });
4874
4841
  }
4875
4842
  }
4876
- class ae extends y {
4843
+ class ae extends v {
4877
4844
  get schema() {
4878
4845
  return this._def.getter();
4879
4846
  }
@@ -4885,9 +4852,9 @@ class ae extends y {
4885
4852
  ae.create = (a, e) => new ae({
4886
4853
  getter: a,
4887
4854
  typeName: h.ZodLazy,
4888
- ...f(e)
4855
+ ..._(e)
4889
4856
  });
4890
- class ne extends y {
4857
+ class ne extends v {
4891
4858
  _parse(e) {
4892
4859
  if (e.data !== this._def.value) {
4893
4860
  const t = this._getOrReturnCtx(e);
@@ -4895,7 +4862,7 @@ class ne extends y {
4895
4862
  received: t.data,
4896
4863
  code: c.invalid_literal,
4897
4864
  expected: this._def.value
4898
- }), g;
4865
+ }), f;
4899
4866
  }
4900
4867
  return { status: "valid", value: e.data };
4901
4868
  }
@@ -4906,16 +4873,16 @@ class ne extends y {
4906
4873
  ne.create = (a, e) => new ne({
4907
4874
  value: a,
4908
4875
  typeName: h.ZodLiteral,
4909
- ...f(e)
4876
+ ..._(e)
4910
4877
  });
4911
- function Re(a, e) {
4912
- return new Z({
4878
+ function Ae(a, e) {
4879
+ return new V({
4913
4880
  values: a,
4914
4881
  typeName: h.ZodEnum,
4915
- ...f(e)
4882
+ ..._(e)
4916
4883
  });
4917
4884
  }
4918
- class Z extends y {
4885
+ class V extends v {
4919
4886
  _parse(e) {
4920
4887
  if (typeof e.data != "string") {
4921
4888
  const t = this._getOrReturnCtx(e), n = this._def.values;
@@ -4923,7 +4890,7 @@ class Z extends y {
4923
4890
  expected: b.joinValues(n),
4924
4891
  received: t.parsedType,
4925
4892
  code: c.invalid_type
4926
- }), g;
4893
+ }), f;
4927
4894
  }
4928
4895
  if (this._def.values.indexOf(e.data) === -1) {
4929
4896
  const t = this._getOrReturnCtx(e), n = this._def.values;
@@ -4931,9 +4898,9 @@ class Z extends y {
4931
4898
  received: t.data,
4932
4899
  code: c.invalid_enum_value,
4933
4900
  options: n
4934
- }), g;
4901
+ }), f;
4935
4902
  }
4936
- return T(e.data);
4903
+ return C(e.data);
4937
4904
  }
4938
4905
  get options() {
4939
4906
  return this._def.values;
@@ -4957,14 +4924,14 @@ class Z extends y {
4957
4924
  return e;
4958
4925
  }
4959
4926
  extract(e) {
4960
- return Z.create(e);
4927
+ return V.create(e);
4961
4928
  }
4962
4929
  exclude(e) {
4963
- return Z.create(this.options.filter((t) => !e.includes(t)));
4930
+ return V.create(this.options.filter((t) => !e.includes(t)));
4964
4931
  }
4965
4932
  }
4966
- Z.create = Re;
4967
- class ie extends y {
4933
+ V.create = Ae;
4934
+ class ie extends v {
4968
4935
  _parse(e) {
4969
4936
  const t = b.getValidEnumValues(this._def.values), n = this._getOrReturnCtx(e);
4970
4937
  if (n.parsedType !== u.string && n.parsedType !== u.number) {
@@ -4973,7 +4940,7 @@ class ie extends y {
4973
4940
  expected: b.joinValues(i),
4974
4941
  received: n.parsedType,
4975
4942
  code: c.invalid_type
4976
- }), g;
4943
+ }), f;
4977
4944
  }
4978
4945
  if (t.indexOf(e.data) === -1) {
4979
4946
  const i = b.objectValues(t);
@@ -4981,9 +4948,9 @@ class ie extends y {
4981
4948
  received: n.data,
4982
4949
  code: c.invalid_enum_value,
4983
4950
  options: i
4984
- }), g;
4951
+ }), f;
4985
4952
  }
4986
- return T(e.data);
4953
+ return C(e.data);
4987
4954
  }
4988
4955
  get enum() {
4989
4956
  return this._def.values;
@@ -4992,9 +4959,9 @@ class ie extends y {
4992
4959
  ie.create = (a, e) => new ie({
4993
4960
  values: a,
4994
4961
  typeName: h.ZodNativeEnum,
4995
- ...f(e)
4962
+ ..._(e)
4996
4963
  });
4997
- class W extends y {
4964
+ class W extends v {
4998
4965
  unwrap() {
4999
4966
  return this._def.type;
5000
4967
  }
@@ -5005,9 +4972,9 @@ class W extends y {
5005
4972
  code: c.invalid_type,
5006
4973
  expected: u.promise,
5007
4974
  received: t.parsedType
5008
- }), g;
4975
+ }), f;
5009
4976
  const n = t.parsedType === u.promise ? t.data : Promise.resolve(t.data);
5010
- return T(n.then((i) => this._def.type.parseAsync(i, {
4977
+ return C(n.then((i) => this._def.type.parseAsync(i, {
5011
4978
  path: t.path,
5012
4979
  errorMap: t.common.contextualErrorMap
5013
4980
  })));
@@ -5016,9 +4983,9 @@ class W extends y {
5016
4983
  W.create = (a, e) => new W({
5017
4984
  type: a,
5018
4985
  typeName: h.ZodPromise,
5019
- ...f(e)
4986
+ ..._(e)
5020
4987
  });
5021
- class N extends y {
4988
+ class I extends v {
5022
4989
  innerType() {
5023
4990
  return this._def.schema;
5024
4991
  }
@@ -5064,9 +5031,9 @@ class N extends y {
5064
5031
  path: n.path,
5065
5032
  parent: n
5066
5033
  });
5067
- return o.status === "aborted" ? g : (o.status === "dirty" && t.dirty(), s(o.value), { status: t.value, value: o.value });
5034
+ return o.status === "aborted" ? f : (o.status === "dirty" && t.dirty(), s(o.value), { status: t.value, value: o.value });
5068
5035
  } else
5069
- return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((o) => o.status === "aborted" ? g : (o.status === "dirty" && t.dirty(), s(o.value).then(() => ({ status: t.value, value: o.value }))));
5036
+ return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((o) => o.status === "aborted" ? f : (o.status === "dirty" && t.dirty(), s(o.value).then(() => ({ status: t.value, value: o.value }))));
5070
5037
  }
5071
5038
  if (i.type === "transform")
5072
5039
  if (n.common.async === !1) {
@@ -5086,21 +5053,21 @@ class N extends y {
5086
5053
  b.assertNever(i);
5087
5054
  }
5088
5055
  }
5089
- N.create = (a, e, t) => new N({
5056
+ I.create = (a, e, t) => new I({
5090
5057
  schema: a,
5091
5058
  typeName: h.ZodEffects,
5092
5059
  effect: e,
5093
- ...f(t)
5060
+ ..._(t)
5094
5061
  });
5095
- N.createWithPreprocess = (a, e, t) => new N({
5062
+ I.createWithPreprocess = (a, e, t) => new I({
5096
5063
  schema: e,
5097
5064
  effect: { type: "preprocess", transform: a },
5098
5065
  typeName: h.ZodEffects,
5099
- ...f(t)
5066
+ ..._(t)
5100
5067
  });
5101
- class P extends y {
5068
+ class P extends v {
5102
5069
  _parse(e) {
5103
- return this._getType(e) === u.undefined ? T(void 0) : this._def.innerType._parse(e);
5070
+ return this._getType(e) === u.undefined ? C(void 0) : this._def.innerType._parse(e);
5104
5071
  }
5105
5072
  unwrap() {
5106
5073
  return this._def.innerType;
@@ -5109,11 +5076,11 @@ class P extends y {
5109
5076
  P.create = (a, e) => new P({
5110
5077
  innerType: a,
5111
5078
  typeName: h.ZodOptional,
5112
- ...f(e)
5079
+ ..._(e)
5113
5080
  });
5114
- class q extends y {
5081
+ class q extends v {
5115
5082
  _parse(e) {
5116
- return this._getType(e) === u.null ? T(null) : this._def.innerType._parse(e);
5083
+ return this._getType(e) === u.null ? C(null) : this._def.innerType._parse(e);
5117
5084
  }
5118
5085
  unwrap() {
5119
5086
  return this._def.innerType;
@@ -5122,9 +5089,9 @@ class q extends y {
5122
5089
  q.create = (a, e) => new q({
5123
5090
  innerType: a,
5124
5091
  typeName: h.ZodNullable,
5125
- ...f(e)
5092
+ ..._(e)
5126
5093
  });
5127
- class re extends y {
5094
+ class re extends v {
5128
5095
  _parse(e) {
5129
5096
  const { ctx: t } = this._processInputParams(e);
5130
5097
  let n = t.data;
@@ -5142,9 +5109,9 @@ re.create = (a, e) => new re({
5142
5109
  innerType: a,
5143
5110
  typeName: h.ZodDefault,
5144
5111
  defaultValue: typeof e.default == "function" ? e.default : () => e.default,
5145
- ...f(e)
5112
+ ..._(e)
5146
5113
  });
5147
- class he extends y {
5114
+ class he extends v {
5148
5115
  _parse(e) {
5149
5116
  const { ctx: t } = this._processInputParams(e), n = {
5150
5117
  ...t,
@@ -5185,9 +5152,9 @@ he.create = (a, e) => new he({
5185
5152
  innerType: a,
5186
5153
  typeName: h.ZodCatch,
5187
5154
  catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
5188
- ...f(e)
5155
+ ..._(e)
5189
5156
  });
5190
- class ge extends y {
5157
+ class fe extends v {
5191
5158
  _parse(e) {
5192
5159
  if (this._getType(e) !== u.nan) {
5193
5160
  const n = this._getOrReturnCtx(e);
@@ -5195,17 +5162,17 @@ class ge extends y {
5195
5162
  code: c.invalid_type,
5196
5163
  expected: u.nan,
5197
5164
  received: n.parsedType
5198
- }), g;
5165
+ }), f;
5199
5166
  }
5200
5167
  return { status: "valid", value: e.data };
5201
5168
  }
5202
5169
  }
5203
- ge.create = (a) => new ge({
5170
+ fe.create = (a) => new fe({
5204
5171
  typeName: h.ZodNaN,
5205
- ...f(a)
5172
+ ..._(a)
5206
5173
  });
5207
- const st = Symbol("zod_brand");
5208
- class Ee extends y {
5174
+ const it = Symbol("zod_brand");
5175
+ class Ee extends v {
5209
5176
  _parse(e) {
5210
5177
  const { ctx: t } = this._processInputParams(e), n = t.data;
5211
5178
  return this._def.type._parse({
@@ -5218,7 +5185,7 @@ class Ee extends y {
5218
5185
  return this._def.type;
5219
5186
  }
5220
5187
  }
5221
- class se extends y {
5188
+ class se extends v {
5222
5189
  _parse(e) {
5223
5190
  const { status: t, ctx: n } = this._processInputParams(e);
5224
5191
  if (n.common.async)
@@ -5228,7 +5195,7 @@ class se extends y {
5228
5195
  path: n.path,
5229
5196
  parent: n
5230
5197
  });
5231
- return r.status === "aborted" ? g : r.status === "dirty" ? (t.dirty(), ke(r.value)) : this._def.out._parseAsync({
5198
+ return r.status === "aborted" ? f : r.status === "dirty" ? (t.dirty(), Se(r.value)) : this._def.out._parseAsync({
5232
5199
  data: r.value,
5233
5200
  path: n.path,
5234
5201
  parent: n
@@ -5240,7 +5207,7 @@ class se extends y {
5240
5207
  path: n.path,
5241
5208
  parent: n
5242
5209
  });
5243
- return i.status === "aborted" ? g : i.status === "dirty" ? (t.dirty(), {
5210
+ return i.status === "aborted" ? f : i.status === "dirty" ? (t.dirty(), {
5244
5211
  status: "dirty",
5245
5212
  value: i.value
5246
5213
  }) : this._def.out._parseSync({
@@ -5258,54 +5225,54 @@ class se extends y {
5258
5225
  });
5259
5226
  }
5260
5227
  }
5261
- class fe extends y {
5228
+ class ge extends v {
5262
5229
  _parse(e) {
5263
5230
  const t = this._def.innerType._parse(e);
5264
5231
  return H(t) && (t.value = Object.freeze(t.value)), t;
5265
5232
  }
5266
5233
  }
5267
- fe.create = (a, e) => new fe({
5234
+ ge.create = (a, e) => new ge({
5268
5235
  innerType: a,
5269
5236
  typeName: h.ZodReadonly,
5270
- ...f(e)
5237
+ ..._(e)
5271
5238
  });
5272
- const Ie = (a, e = {}, t) => a ? Y.create().superRefine((n, i) => {
5239
+ const Oe = (a, e = {}, t) => a ? Y.create().superRefine((n, i) => {
5273
5240
  var r, s;
5274
5241
  if (!a(n)) {
5275
5242
  const o = typeof e == "function" ? e(n) : typeof e == "string" ? { message: e } : e, m = (s = (r = o.fatal) !== null && r !== void 0 ? r : t) !== null && s !== void 0 ? s : !0, d = typeof o == "string" ? { message: o } : o;
5276
5243
  i.addIssue({ code: "custom", ...d, fatal: m });
5277
5244
  }
5278
- }) : Y.create(), ot = {
5279
- object: x.lazycreate
5245
+ }) : Y.create(), rt = {
5246
+ object: w.lazycreate
5280
5247
  };
5281
5248
  var h;
5282
5249
  (function(a) {
5283
5250
  a.ZodString = "ZodString", a.ZodNumber = "ZodNumber", a.ZodNaN = "ZodNaN", a.ZodBigInt = "ZodBigInt", a.ZodBoolean = "ZodBoolean", a.ZodDate = "ZodDate", a.ZodSymbol = "ZodSymbol", a.ZodUndefined = "ZodUndefined", a.ZodNull = "ZodNull", a.ZodAny = "ZodAny", a.ZodUnknown = "ZodUnknown", a.ZodNever = "ZodNever", a.ZodVoid = "ZodVoid", a.ZodArray = "ZodArray", a.ZodObject = "ZodObject", a.ZodUnion = "ZodUnion", a.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", a.ZodIntersection = "ZodIntersection", a.ZodTuple = "ZodTuple", a.ZodRecord = "ZodRecord", a.ZodMap = "ZodMap", a.ZodSet = "ZodSet", a.ZodFunction = "ZodFunction", a.ZodLazy = "ZodLazy", a.ZodLiteral = "ZodLiteral", a.ZodEnum = "ZodEnum", a.ZodEffects = "ZodEffects", a.ZodNativeEnum = "ZodNativeEnum", a.ZodOptional = "ZodOptional", a.ZodNullable = "ZodNullable", a.ZodDefault = "ZodDefault", a.ZodCatch = "ZodCatch", a.ZodPromise = "ZodPromise", a.ZodBranded = "ZodBranded", a.ZodPipeline = "ZodPipeline", a.ZodReadonly = "ZodReadonly";
5284
5251
  })(h || (h = {}));
5285
- const ct = (a, e = {
5252
+ const st = (a, e = {
5286
5253
  message: `Input not instance of ${a.name}`
5287
- }) => Ie((t) => t instanceof a, e), Ne = R.create, Me = j.create, dt = ge.create, ut = V.create, Oe = J.create, lt = B.create, mt = le.create, pt = X.create, ht = K.create, gt = Y.create, ft = U.create, yt = L.create, vt = me.create, _t = I.create, bt = x.create, xt = x.strictCreate, wt = Q.create, Ct = ye.create, Tt = ee.create, St = O.create, At = te.create, kt = pe.create, Rt = $.create, Et = z.create, It = ae.create, Nt = ne.create, Mt = Z.create, Ot = ie.create, Pt = W.create, Se = N.create, Lt = P.create, Dt = q.create, jt = N.createWithPreprocess, Vt = se.create, Zt = () => Ne().optional(), Ut = () => Me().optional(), Bt = () => Oe().optional(), $t = {
5288
- string: (a) => R.create({ ...a, coerce: !0 }),
5289
- number: (a) => j.create({ ...a, coerce: !0 }),
5254
+ }) => Oe((t) => t instanceof a, e), Ie = A.create, Ne = D.create, ot = fe.create, ct = Z.create, Me = J.create, dt = B.create, ut = le.create, lt = X.create, mt = K.create, pt = Y.create, ht = $.create, ft = L.create, gt = me.create, _t = O.create, vt = w.create, yt = w.strictCreate, bt = Q.create, xt = _e.create, wt = ee.create, Tt = M.create, Ct = te.create, kt = pe.create, Rt = U.create, St = z.create, At = ae.create, Et = ne.create, Ot = V.create, It = ie.create, Nt = W.create, ke = I.create, Mt = P.create, Pt = q.create, Lt = I.createWithPreprocess, jt = se.create, Dt = () => Ie().optional(), Zt = () => Ne().optional(), Vt = () => Me().optional(), $t = {
5255
+ string: (a) => A.create({ ...a, coerce: !0 }),
5256
+ number: (a) => D.create({ ...a, coerce: !0 }),
5290
5257
  boolean: (a) => J.create({
5291
5258
  ...a,
5292
5259
  coerce: !0
5293
5260
  }),
5294
- bigint: (a) => V.create({ ...a, coerce: !0 }),
5261
+ bigint: (a) => Z.create({ ...a, coerce: !0 }),
5295
5262
  date: (a) => B.create({ ...a, coerce: !0 })
5296
- }, qt = g;
5297
- var Gt = /* @__PURE__ */ Object.freeze({
5263
+ }, Bt = f;
5264
+ var Ut = /* @__PURE__ */ Object.freeze({
5298
5265
  __proto__: null,
5299
5266
  defaultErrorMap: F,
5300
- setErrorMap: We,
5267
+ setErrorMap: ze,
5301
5268
  getErrorMap: ce,
5302
5269
  makeIssue: de,
5303
- EMPTY_PATH: Fe,
5270
+ EMPTY_PATH: Ye,
5304
5271
  addIssueToContext: l,
5305
- ParseStatus: C,
5306
- INVALID: g,
5307
- DIRTY: ke,
5308
- OK: T,
5272
+ ParseStatus: T,
5273
+ INVALID: f,
5274
+ DIRTY: Se,
5275
+ OK: C,
5309
5276
  isAborted: xe,
5310
5277
  isDirty: we,
5311
5278
  isValid: H,
@@ -5317,99 +5284,99 @@ var Gt = /* @__PURE__ */ Object.freeze({
5317
5284
  return be;
5318
5285
  },
5319
5286
  ZodParsedType: u,
5320
- getParsedType: D,
5321
- ZodType: y,
5322
- ZodString: R,
5323
- ZodNumber: j,
5324
- ZodBigInt: V,
5287
+ getParsedType: j,
5288
+ ZodType: v,
5289
+ ZodString: A,
5290
+ ZodNumber: D,
5291
+ ZodBigInt: Z,
5325
5292
  ZodBoolean: J,
5326
5293
  ZodDate: B,
5327
5294
  ZodSymbol: le,
5328
5295
  ZodUndefined: X,
5329
5296
  ZodNull: K,
5330
5297
  ZodAny: Y,
5331
- ZodUnknown: U,
5298
+ ZodUnknown: $,
5332
5299
  ZodNever: L,
5333
5300
  ZodVoid: me,
5334
- ZodArray: I,
5335
- ZodObject: x,
5301
+ ZodArray: O,
5302
+ ZodObject: w,
5336
5303
  ZodUnion: Q,
5337
- ZodDiscriminatedUnion: ye,
5304
+ ZodDiscriminatedUnion: _e,
5338
5305
  ZodIntersection: ee,
5339
- ZodTuple: O,
5306
+ ZodTuple: M,
5340
5307
  ZodRecord: te,
5341
5308
  ZodMap: pe,
5342
- ZodSet: $,
5309
+ ZodSet: U,
5343
5310
  ZodFunction: z,
5344
5311
  ZodLazy: ae,
5345
5312
  ZodLiteral: ne,
5346
- ZodEnum: Z,
5313
+ ZodEnum: V,
5347
5314
  ZodNativeEnum: ie,
5348
5315
  ZodPromise: W,
5349
- ZodEffects: N,
5350
- ZodTransformer: N,
5316
+ ZodEffects: I,
5317
+ ZodTransformer: I,
5351
5318
  ZodOptional: P,
5352
5319
  ZodNullable: q,
5353
5320
  ZodDefault: re,
5354
5321
  ZodCatch: he,
5355
- ZodNaN: ge,
5356
- BRAND: st,
5322
+ ZodNaN: fe,
5323
+ BRAND: it,
5357
5324
  ZodBranded: Ee,
5358
5325
  ZodPipeline: se,
5359
- ZodReadonly: fe,
5360
- custom: Ie,
5361
- Schema: y,
5362
- ZodSchema: y,
5363
- late: ot,
5326
+ ZodReadonly: ge,
5327
+ custom: Oe,
5328
+ Schema: v,
5329
+ ZodSchema: v,
5330
+ late: rt,
5364
5331
  get ZodFirstPartyTypeKind() {
5365
5332
  return h;
5366
5333
  },
5367
5334
  coerce: $t,
5368
- any: gt,
5335
+ any: pt,
5369
5336
  array: _t,
5370
- bigint: ut,
5371
- boolean: Oe,
5372
- date: lt,
5373
- discriminatedUnion: Ct,
5374
- effect: Se,
5375
- enum: Mt,
5376
- function: Et,
5377
- instanceof: ct,
5378
- intersection: Tt,
5379
- lazy: It,
5380
- literal: Nt,
5337
+ bigint: ct,
5338
+ boolean: Me,
5339
+ date: dt,
5340
+ discriminatedUnion: xt,
5341
+ effect: ke,
5342
+ enum: Ot,
5343
+ function: St,
5344
+ instanceof: st,
5345
+ intersection: wt,
5346
+ lazy: At,
5347
+ literal: Et,
5381
5348
  map: kt,
5382
- nan: dt,
5383
- nativeEnum: Ot,
5384
- never: yt,
5385
- null: ht,
5386
- nullable: Dt,
5387
- number: Me,
5388
- object: bt,
5389
- oboolean: Bt,
5390
- onumber: Ut,
5391
- optional: Lt,
5392
- ostring: Zt,
5393
- pipeline: Vt,
5394
- preprocess: jt,
5395
- promise: Pt,
5396
- record: At,
5349
+ nan: ot,
5350
+ nativeEnum: It,
5351
+ never: ft,
5352
+ null: mt,
5353
+ nullable: Pt,
5354
+ number: Ne,
5355
+ object: vt,
5356
+ oboolean: Vt,
5357
+ onumber: Zt,
5358
+ optional: Mt,
5359
+ ostring: Dt,
5360
+ pipeline: jt,
5361
+ preprocess: Lt,
5362
+ promise: Nt,
5363
+ record: Ct,
5397
5364
  set: Rt,
5398
- strictObject: xt,
5399
- string: Ne,
5400
- symbol: mt,
5401
- transformer: Se,
5402
- tuple: St,
5403
- undefined: pt,
5404
- union: wt,
5405
- unknown: ft,
5406
- void: vt,
5407
- NEVER: qt,
5365
+ strictObject: yt,
5366
+ string: Ie,
5367
+ symbol: ut,
5368
+ transformer: ke,
5369
+ tuple: Tt,
5370
+ undefined: lt,
5371
+ union: bt,
5372
+ unknown: ht,
5373
+ void: gt,
5374
+ NEVER: Bt,
5408
5375
  ZodIssueCode: c,
5409
- quotelessJson: Ye,
5376
+ quotelessJson: Ge,
5410
5377
  ZodError: E
5411
5378
  });
5412
- const zt = [
5379
+ const qt = [
5413
5380
  "DASHBOARD",
5414
5381
  "ANALYTIC",
5415
5382
  "CAMPAIGN",
@@ -5437,28 +5404,32 @@ const zt = [
5437
5404
  "STORE_REWARD_COLLECTIONS",
5438
5405
  "TRANSACTION",
5439
5406
  "MARKETING",
5440
- "SETTING"
5441
- ].map((a) => `$connect-${a}`), Yt = Gt.enum(zt), _ = Yt.Enum, Jt = [
5407
+ "SETTING",
5408
+ "REFERRAL",
5409
+ "REFERRAL_OVERVIEW",
5410
+ "REFERRAL_RECORD",
5411
+ "REWARD_TEMPLATE"
5412
+ ].map((a) => `$connect-${a}`), Gt = Ut.enum(qt), g = Gt.Enum, Ft = [
5442
5413
  {
5443
5414
  path: "",
5444
- name: _["$connect-DASHBOARD"],
5445
- redirect: { name: _["$connect-ANALYTIC"] }
5415
+ name: g["$connect-DASHBOARD"],
5416
+ redirect: { name: g["$connect-ANALYTIC"] }
5446
5417
  },
5447
5418
  {
5448
5419
  path: "/analytic",
5449
5420
  component: () => import("./MainLayout-B1aJoR95.js"),
5450
- redirect: { name: _["$connect-ANALYTIC"] },
5421
+ redirect: { name: g["$connect-ANALYTIC"] },
5451
5422
  children: [
5452
5423
  {
5453
5424
  path: "/analytic",
5454
- name: _["$connect-ANALYTIC"],
5455
- component: k(A(() => import("./Analytic-BtldByrt.js"))),
5425
+ name: g["$connect-ANALYTIC"],
5426
+ component: R(k(() => import("./Analytic-C7iDpCvx.js"))),
5456
5427
  meta: {
5457
5428
  validationManifest: {
5458
5429
  requiredCaslPermissions: [
5459
5430
  {
5460
- action: w.Action.manage,
5461
- subject: w.Subject.Business.membership
5431
+ action: x.Action.manage,
5432
+ subject: x.Subject.Business.membership
5462
5433
  }
5463
5434
  ]
5464
5435
  }
@@ -5468,20 +5439,20 @@ const zt = [
5468
5439
  },
5469
5440
  {
5470
5441
  path: "/campaign",
5471
- name: _["$connect-CAMPAIGN"],
5472
- redirect: _["$connect-CAMPAIGN_PROMOTION"],
5442
+ name: g["$connect-CAMPAIGN"],
5443
+ redirect: g["$connect-CAMPAIGN_PROMOTION"],
5473
5444
  component: () => import("./MainLayout-B1aJoR95.js"),
5474
5445
  children: [
5475
5446
  {
5476
5447
  path: "/campaign/promotion",
5477
- name: _["$connect-CAMPAIGN_PROMOTION"],
5478
- component: k(A(() => import("./Promotion-337OT0sP.js"))),
5448
+ name: g["$connect-CAMPAIGN_PROMOTION"],
5449
+ component: R(k(() => import("./Promotion-CWBpjPXQ.js"))),
5479
5450
  meta: {
5480
5451
  validationManifest: {
5481
5452
  requiredCaslPermissions: [
5482
5453
  {
5483
- action: w.Action.manage,
5484
- subject: w.Subject.Business.promotion
5454
+ action: x.Action.manage,
5455
+ subject: x.Subject.Business.promotion
5485
5456
  }
5486
5457
  ]
5487
5458
  }
@@ -5489,18 +5460,18 @@ const zt = [
5489
5460
  },
5490
5461
  {
5491
5462
  path: "/campaign/voucher",
5492
- redirect: { name: _["$connect-CAMPAIGN_VOUCHER"] },
5463
+ redirect: { name: g["$connect-CAMPAIGN_VOUCHER"] },
5493
5464
  children: [
5494
5465
  {
5495
5466
  path: "/campaign/voucher",
5496
- name: _["$connect-CAMPAIGN_VOUCHER"],
5497
- component: k(A(() => import("./Voucher-BQL8J_EA.js"))),
5467
+ name: g["$connect-CAMPAIGN_VOUCHER"],
5468
+ component: R(k(() => import("./Voucher-Dzh-oh1p.js"))),
5498
5469
  meta: {
5499
5470
  validationManifest: {
5500
5471
  requiredCaslPermissions: [
5501
5472
  {
5502
- action: w.Action.manage,
5503
- subject: w.Subject.Business.voucher
5473
+ action: x.Action.manage,
5474
+ subject: x.Subject.Business.voucher
5504
5475
  }
5505
5476
  ]
5506
5477
  }
@@ -5508,14 +5479,14 @@ const zt = [
5508
5479
  },
5509
5480
  {
5510
5481
  path: "/campaign/voucher/:id/collections",
5511
- name: _["$connect-CAMPAIGN_VOUCHER_COLLECTIONS"],
5512
- component: k(A(() => import("./Collections-DPfbZMg1.js"))),
5482
+ name: g["$connect-CAMPAIGN_VOUCHER_COLLECTIONS"],
5483
+ component: R(k(() => import("./Collections-zYhQfAph.js"))),
5513
5484
  meta: {
5514
5485
  validationManifest: {
5515
5486
  requiredCaslPermissions: [
5516
5487
  {
5517
- action: w.Action.manage,
5518
- subject: w.Subject.Business.voucher
5488
+ action: x.Action.manage,
5489
+ subject: x.Subject.Business.voucher
5519
5490
  }
5520
5491
  ]
5521
5492
  }
@@ -5525,14 +5496,14 @@ const zt = [
5525
5496
  },
5526
5497
  {
5527
5498
  path: "/campaign/broadcast",
5528
- name: _["$connect-CAMPAIGN_BROADCAST"],
5529
- component: k(A(() => import("./Broadcast-y1kP18mo.js"))),
5499
+ name: g["$connect-CAMPAIGN_BROADCAST"],
5500
+ component: R(k(() => import("./Broadcast-CI61-FqI.js"))),
5530
5501
  meta: {
5531
5502
  validationManifest: {
5532
5503
  requiredCaslPermissions: [
5533
5504
  {
5534
- action: w.Action.manage,
5535
- subject: w.Subject.Business.membership
5505
+ action: x.Action.manage,
5506
+ subject: x.Subject.Business.membership
5536
5507
  }
5537
5508
  ]
5538
5509
  }
@@ -5543,119 +5514,156 @@ const zt = [
5543
5514
  {
5544
5515
  path: "/program",
5545
5516
  // component: () => import('@/layouts/MainLayout.vue'),
5546
- component: k(A(() => import("./MainLayout-B1aJoR95.js"))),
5517
+ component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
5547
5518
  meta: {
5548
5519
  validationManifest: {
5549
5520
  requiredCaslPermissions: [
5550
5521
  {
5551
- action: w.Action.manage,
5552
- subject: w.Subject.Business.membership
5522
+ action: x.Action.manage,
5523
+ subject: x.Subject.Business.membership
5553
5524
  }
5554
5525
  ]
5555
5526
  }
5556
5527
  },
5557
- name: _["$connect-PROGRAM"],
5558
- redirect: _["$connect-PROGRAM_TIER"],
5528
+ name: g["$connect-PROGRAM"],
5529
+ redirect: g["$connect-PROGRAM_TIER"],
5559
5530
  children: [
5560
5531
  {
5561
5532
  path: "/program/tier",
5562
- name: _["$connect-PROGRAM_TIER"],
5563
- component: () => import("./Tier-BwvOhyXR.js")
5533
+ name: g["$connect-PROGRAM_TIER"],
5534
+ component: () => import("./Tier-IHJ7dlTI.js")
5564
5535
  },
5565
5536
  {
5566
5537
  path: "/program/title",
5567
- name: _["$connect-PROGRAM_TITLE"],
5568
- component: () => import("./Title-DRPdKYRO.js")
5538
+ name: g["$connect-PROGRAM_TITLE"],
5539
+ component: () => import("./Title-C4KcQWk_.js")
5569
5540
  },
5570
5541
  {
5571
5542
  path: "/program/experience",
5572
- name: _["$connect-PROGRAM_EXPERIENCE"],
5573
- component: () => import("./Experience-DGKj8ChY.js")
5543
+ name: g["$connect-PROGRAM_EXPERIENCE"],
5544
+ component: () => import("./Experience-Cqn6cpA4.js")
5574
5545
  },
5575
5546
  {
5576
5547
  path: "/program/point",
5577
- name: _["$connect-PROGRAM_POINT"],
5578
- component: () => import("./Point-C2vzEfRP.js")
5548
+ name: g["$connect-PROGRAM_POINT"],
5549
+ component: () => import("./Point-DJ_sLiid.js")
5579
5550
  },
5580
5551
  {
5581
5552
  path: "/program/credit",
5582
- name: _["$connect-PROGRAM_CREDIT"],
5583
- component: () => import("./Credit-QleM_b6q.js")
5553
+ name: g["$connect-PROGRAM_CREDIT"],
5554
+ component: () => import("./Credit-D6G2xUEu.js")
5584
5555
  },
5585
5556
  {
5586
5557
  path: "/program/game",
5587
- name: _["$connect-PROGRAM_GAME"],
5588
- component: () => import("./Game-BxRdzSma.js")
5558
+ name: g["$connect-PROGRAM_GAME"],
5559
+ component: () => import("./Game-CGrL5xmK.js")
5589
5560
  },
5590
5561
  {
5591
5562
  path: "/program/mission",
5592
- name: _["$connect-PROGRAM_MISSION"],
5593
- component: () => import("./Mission-CZgXBa09.js")
5563
+ name: g["$connect-PROGRAM_MISSION"],
5564
+ component: () => import("./Mission-CexuwCSV.js")
5594
5565
  }
5595
5566
  ]
5596
5567
  },
5597
5568
  {
5598
5569
  path: "/loyalty",
5599
- component: k(A(() => import("./MainLayout-B1aJoR95.js"))),
5570
+ component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
5600
5571
  meta: {
5601
5572
  validationManifest: {
5602
5573
  requiredCaslPermissions: [
5603
5574
  {
5604
- action: w.Action.manage,
5605
- subject: w.Subject.Business.membership
5575
+ action: x.Action.manage,
5576
+ subject: x.Subject.Business.membership
5606
5577
  }
5607
5578
  ]
5608
5579
  }
5609
5580
  },
5610
- name: _["$connect-LOYALTY"],
5611
- redirect: _["$connect-LOYALTY_MEMBER"],
5581
+ name: g["$connect-LOYALTY"],
5582
+ redirect: g["$connect-LOYALTY_MEMBER"],
5612
5583
  children: [
5613
5584
  {
5614
5585
  path: "/loyalty/member",
5615
- name: _["$connect-LOYALTY_MEMBER"],
5616
- component: () => import("./Member-CteeBDi2.js"),
5586
+ name: g["$connect-LOYALTY_MEMBER"],
5587
+ component: () => import("./Member-CB8o8wLL.js"),
5617
5588
  redirect: {
5618
- name: _["$connect-LOYALTY_MEMBER_OVERVIEW"]
5589
+ name: g["$connect-LOYALTY_MEMBER_OVERVIEW"]
5619
5590
  },
5620
5591
  children: [
5621
5592
  {
5622
5593
  path: "/loyalty/member",
5623
- name: _["$connect-LOYALTY_MEMBER_OVERVIEW"],
5594
+ name: g["$connect-LOYALTY_MEMBER_OVERVIEW"],
5624
5595
  component: () => import("./MemberOverview-wL_ailso.js")
5625
5596
  },
5626
5597
  {
5627
5598
  path: "/loyalty/member/list",
5628
- name: _["$connect-LOYALTY_MEMBER_LIST"],
5629
- component: () => import("./MemberList-CANkPyR0.js")
5599
+ name: g["$connect-LOYALTY_MEMBER_LIST"],
5600
+ component: () => import("./MemberList-D6zRpcwU.js")
5630
5601
  },
5631
5602
  {
5632
5603
  path: "/loyalty/member/transactions/:id",
5633
- name: _["$connect-LOYALTY_MEMBER_TRANSACTIONS"],
5634
- component: () => import("./MemberTransactions-CcCa21fY.js")
5604
+ name: g["$connect-LOYALTY_MEMBER_TRANSACTIONS"],
5605
+ component: () => import("./MemberTransactions-HCaDl8dN.js")
5635
5606
  }
5636
5607
  ]
5637
5608
  },
5638
5609
  {
5639
5610
  path: "/loyalty/segment",
5640
- name: _["$connect-LOYALTY_SEGMENT"],
5641
- component: () => import("./Segment-Clstp5D-.js")
5611
+ name: g["$connect-LOYALTY_SEGMENT"],
5612
+ component: () => import("./Segment-BE7Bt2tH.js")
5642
5613
  },
5643
5614
  {
5644
5615
  path: "/loyalty/card",
5645
- name: _["$connect-LOYALTY_CARD"],
5646
- component: () => import("./Card-kW7k8kOl.js")
5616
+ name: g["$connect-LOYALTY_CARD"],
5617
+ component: () => import("./Card-CUzEZnUC.js")
5618
+ }
5619
+ ]
5620
+ },
5621
+ {
5622
+ path: "/referral",
5623
+ redirect: { name: g["$connect-REFERRAL"] },
5624
+ component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
5625
+ meta: {
5626
+ validationManifest: {
5627
+ requiredCaslPermissions: [
5628
+ {
5629
+ action: x.Action.manage,
5630
+ subject: x.Subject.Business.membership
5631
+ }
5632
+ ]
5633
+ }
5634
+ },
5635
+ children: [
5636
+ {
5637
+ path: "/referral",
5638
+ name: g["$connect-REFERRAL"],
5639
+ component: () => import("./Index-CCcuCcmL.js"),
5640
+ redirect: {
5641
+ name: g["$connect-REFERRAL_OVERVIEW"]
5642
+ },
5643
+ children: [
5644
+ {
5645
+ path: "/referral",
5646
+ name: g["$connect-REFERRAL_OVERVIEW"],
5647
+ component: () => import("./Overview-CZk3IHyA.js")
5648
+ },
5649
+ {
5650
+ path: "/referral/record",
5651
+ name: g["$connect-REFERRAL_RECORD"],
5652
+ component: () => import("./Record-CwT9Pmjn.js")
5653
+ }
5654
+ ]
5647
5655
  }
5648
5656
  ]
5649
5657
  },
5650
5658
  {
5651
5659
  path: "/store",
5652
- component: k(A(() => import("./MainLayout-B1aJoR95.js"))),
5660
+ component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
5653
5661
  meta: {
5654
5662
  validationManifest: {
5655
5663
  requiredCaslPermissions: [
5656
5664
  {
5657
- action: w.Action.manage,
5658
- subject: w.Subject.Business.membership
5665
+ action: x.Action.manage,
5666
+ subject: x.Subject.Business.membership
5659
5667
  }
5660
5668
  ]
5661
5669
  }
@@ -5663,22 +5671,22 @@ const zt = [
5663
5671
  children: [
5664
5672
  {
5665
5673
  path: "/store",
5666
- name: _["$connect-STORE"],
5667
- component: () => import("./Store-PnpBvIoo.js")
5674
+ name: g["$connect-STORE"],
5675
+ component: () => import("./Store-BzoJ_ZBZ.js")
5668
5676
  },
5669
5677
  {
5670
5678
  path: "/store/rewards",
5671
- redirect: { name: _["$connect-STORE_REWARDS"] },
5679
+ redirect: { name: g["$connect-STORE_REWARDS"] },
5672
5680
  children: [
5673
5681
  {
5674
5682
  path: "/store/rewards",
5675
- name: _["$connect-STORE_REWARDS"],
5676
- component: () => import("./StoreRewards-BpEmNueE.js")
5683
+ name: g["$connect-STORE_REWARDS"],
5684
+ component: () => import("./StoreRewards-OAPmCssF.js")
5677
5685
  },
5678
5686
  {
5679
5687
  path: "/store/rewards/:id/collections",
5680
- name: _["$connect-STORE_REWARD_COLLECTIONS"],
5681
- component: () => import("./Collections-DPfbZMg1.js")
5688
+ name: g["$connect-STORE_REWARD_COLLECTIONS"],
5689
+ component: () => import("./Collections-zYhQfAph.js")
5682
5690
  }
5683
5691
  ]
5684
5692
  }
@@ -5686,13 +5694,13 @@ const zt = [
5686
5694
  },
5687
5695
  {
5688
5696
  path: "/transaction",
5689
- component: k(A(() => import("./MainLayout-B1aJoR95.js"))),
5697
+ component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
5690
5698
  meta: {
5691
5699
  validationManifest: {
5692
5700
  requiredCaslPermissions: [
5693
5701
  {
5694
- action: w.Action.manage,
5695
- subject: w.Subject.Business.membership
5702
+ action: x.Action.manage,
5703
+ subject: x.Subject.Business.membership
5696
5704
  }
5697
5705
  ]
5698
5706
  }
@@ -5700,20 +5708,20 @@ const zt = [
5700
5708
  children: [
5701
5709
  {
5702
5710
  path: "/transaction",
5703
- name: _["$connect-TRANSACTION"],
5704
- component: () => import("./Transaction-BnLvacwW.js")
5711
+ name: g["$connect-TRANSACTION"],
5712
+ component: () => import("./Transaction-B7SWRleT.js")
5705
5713
  }
5706
5714
  ]
5707
5715
  },
5708
5716
  {
5709
5717
  path: "/marketing",
5710
- component: k(A(() => import("./MainLayout-B1aJoR95.js"))),
5718
+ component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
5711
5719
  meta: {
5712
5720
  validationManifest: {
5713
5721
  requiredCaslPermissions: [
5714
5722
  {
5715
- action: w.Action.manage,
5716
- subject: w.Subject.Business.membership
5723
+ action: x.Action.manage,
5724
+ subject: x.Subject.Business.membership
5717
5725
  }
5718
5726
  ]
5719
5727
  }
@@ -5721,20 +5729,41 @@ const zt = [
5721
5729
  children: [
5722
5730
  {
5723
5731
  path: "/marketing",
5724
- name: _["$connect-MARKETING"],
5725
- component: () => import("./Marketing-CG4GQdax.js")
5732
+ name: g["$connect-MARKETING"],
5733
+ component: () => import("./Marketing-DhZHedDV.js")
5734
+ }
5735
+ ]
5736
+ },
5737
+ {
5738
+ path: "/reward",
5739
+ component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
5740
+ meta: {
5741
+ validationManifest: {
5742
+ requiredCaslPermissions: [
5743
+ {
5744
+ action: x.Action.manage,
5745
+ subject: x.Subject.Business.membership
5746
+ }
5747
+ ]
5748
+ }
5749
+ },
5750
+ children: [
5751
+ {
5752
+ path: "/reward",
5753
+ name: g["$connect-REWARD_TEMPLATE"],
5754
+ component: () => import("./Reward-DhOIXKAB.js")
5726
5755
  }
5727
5756
  ]
5728
5757
  },
5729
5758
  {
5730
5759
  path: "/setting",
5731
- component: k(A(() => import("./MainLayout-B1aJoR95.js"))),
5760
+ component: R(k(() => import("./MainLayout-B1aJoR95.js"))),
5732
5761
  meta: {
5733
5762
  validationManifest: {
5734
5763
  requiredCaslPermissions: [
5735
5764
  {
5736
- action: w.Action.manage,
5737
- subject: w.Subject.Business.membership
5765
+ action: x.Action.manage,
5766
+ subject: x.Subject.Business.membership
5738
5767
  }
5739
5768
  ]
5740
5769
  }
@@ -5742,23 +5771,23 @@ const zt = [
5742
5771
  children: [
5743
5772
  {
5744
5773
  path: "/setting",
5745
- name: _["$connect-SETTING"],
5746
- component: () => import("./Setting-DVK2594u.js")
5774
+ name: g["$connect-SETTING"],
5775
+ component: () => import("./Setting-D1k2xVYx.js")
5747
5776
  }
5748
5777
  ]
5749
5778
  }
5750
- ], Xt = {
5751
- "en-US": je,
5779
+ ], Ht = {
5780
+ "en-US": De,
5752
5781
  "zh-CN": Be,
5753
- "th-TH": ze
5754
- }, Kt = A(() => import("./App-BnQwjxIr.js"));
5782
+ "th-TH": qe
5783
+ }, Jt = k(() => import("./App-rOEspgIk.js"));
5755
5784
  export {
5756
- Kt as F,
5757
- _ as R,
5785
+ Jt as F,
5786
+ g as R,
5758
5787
  c as Z,
5759
5788
  u as a,
5760
5789
  F as e,
5761
- Xt as i,
5762
- Jt as r,
5763
- Gt as z
5790
+ Ht as i,
5791
+ Ft as r,
5792
+ Ut as z
5764
5793
  };