@feedmepos/mf-connect 0.1.115-dev → 0.1.115-prod

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/README.md +1 -66
  2. package/dist/{App-43mZfFAr.js → App-CvtSY8ZO.js} +618 -652
  3. package/dist/{Bin-CA7v180Y.js → Bin-B3gS9QVZ.js} +8 -8
  4. package/dist/{Broadcast-qmdifF2Y.js → Broadcast-DAeb-HaN.js} +21 -22
  5. package/dist/{CampaignAnalytic-xnrDxqaH.js → CampaignAnalytic-BfTaHVem.js} +7 -7
  6. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-zjk-QdtX.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-zsei4OfG.js} +9 -9
  7. package/dist/{Card-D8icsk7L.js → Card-JFeVIwFs.js} +24 -25
  8. package/dist/{Collections--THcD-E_.js → Collections-xcDpEhIm.js} +185 -197
  9. package/dist/{Credit-JrbtVMBp.js → Credit-C9HJZjDS.js} +20 -21
  10. package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-DrwKtnE5.js → DateRangeChip.vue_vue_type_script_setup_true_lang-DSqVY91w.js} +1 -1
  11. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-D_jXVE2I.js +3494 -0
  12. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-hVgqWdD0.js → EffectSheet.vue_vue_type_style_index_0_lang-C3J0rCTt.js} +32 -32
  13. package/dist/{Experience-CFeRqBoj.js → Experience-DszS8gto.js} +31 -32
  14. package/dist/{FileSaver.min-CCXIBm58.js → FileSaver.min-CFVQKaC-.js} +1 -1
  15. package/dist/{Game-CPxq6Ex3.js → Game-DhgeN7E2.js} +18 -19
  16. package/dist/{GiftCardSetup-D0esVZDp.js → GiftCardSetup-CWm6IhrS.js} +75 -75
  17. package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-CJ1-vL-K.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-BuKADvmK.js} +7 -7
  18. package/dist/{Goals-DaKI6uXt.js → Goals-DtRVierH.js} +4 -4
  19. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-BOnL0GxM.js → ImageInput.vue_vue_type_script_setup_true_lang-DlEFyu6h.js} +1 -1
  20. package/dist/{Index-2kENoaZm.js → Index-DFRcu_qE.js} +10 -10
  21. package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-BtWnJKU_.js → LocationPicker.vue_vue_type_script_setup_true_lang-B3Br4Xvi.js} +1 -1
  22. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CX_Sspu5.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CjNJj3qj.js} +1 -1
  23. package/dist/{LoyaltyDashboard-CB93Fz8u.js → LoyaltyDashboard-BWHKDPzk.js} +15 -15
  24. package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-Du8fw5v_.js → MainLayout-BmpNNAiE.js} +4 -5
  25. package/dist/Marketing-BKK45Eve.js +236 -0
  26. package/dist/{remy-icon-BhUGu2NI.js → MarketingMaterialEdit-x3c_N7Gs.js} +1031 -2
  27. package/dist/{Member-B--nYyr0.js → Member-xEzrBW_p.js} +7 -7
  28. package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-BBlzO7Db.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-DRoC-I0t.js} +50 -43
  29. package/dist/{MemberImportHistory-D52Y4RTC.js → MemberImportHistory-CEQpBBF8.js} +7 -7
  30. package/dist/{MemberList-13Owa1fj.js → MemberList-CCvzkHv8.js} +105 -103
  31. package/dist/{MemberTransactions-CpXEWNbq.js → MemberTransactions-Bmh39J2W.js} +1 -1
  32. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DlELjFM0.js → MessageInput.vue_vue_type_script_setup_true_lang-D3Pmk80l.js} +14 -14
  33. package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-C_y0rM8c.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-DIBKAwHP.js} +1 -1
  34. package/dist/{Mission-Ci-UzXSu.js → Mission-CpUo2Bgw.js} +21 -22
  35. package/dist/{Overview-CKxSfAGF.js → Overview-CwQqQ1Tn.js} +144 -145
  36. package/dist/{Overview-CXen9Ram.js → Overview-DcDZmDXA.js} +22 -23
  37. package/dist/{Point-CR3YOaag.js → Point-CUNQsQIx.js} +21 -22
  38. package/dist/{Promotion-tw3J4ul-.js → Promotion-Cqdim7aW.js} +131 -137
  39. package/dist/{Queue-BZGA5ZXt.js → Queue-CNBVh1UG.js} +45 -46
  40. package/dist/{Record-BTevVXnT.js → Record-BYwz4l4o.js} +9 -9
  41. package/dist/{Review-BU7c8ZF0.js → Review-CqLcZFj8.js} +2 -2
  42. package/dist/ReviewFacebookCallback-DbSCILNN.js +238 -0
  43. package/dist/{ReviewGoogleCallback-xpdPHSdg.js → ReviewGoogleCallback-Dg8R7QlO.js} +5 -5
  44. package/dist/{Reward-jlA_7cxz.js → Reward-M8GZ8eHq.js} +29 -29
  45. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-D3z_n42G.js → RewardGroup.vue_vue_type_script_setup_true_lang-BkM9-Sx-.js} +15 -16
  46. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CnaL93TF.js +1883 -0
  47. package/dist/{Segment-C1Bwm--Q.js → Segment-CrMi6xrp.js} +305 -304
  48. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-B6apgWTM.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DKH5_9db.js} +30 -31
  49. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-B7m2F9UV.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CyeAQ-hg.js} +4 -4
  50. package/dist/Setting-BnFRI0Se.js +2037 -0
  51. package/dist/{SettingAdvertisements-4XEAJzlL.js → SettingAdvertisements-Dh7v4c1D.js} +12 -12
  52. package/dist/Settings-BvT8_tkQ.js +179 -0
  53. package/dist/{Store-C56dXtc4.js → Store-CV-BmK5b.js} +30 -31
  54. package/dist/{StoreRewards-DQ1Q6WS6.js → StoreRewards-DPhSLvSZ.js} +15 -15
  55. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CDu1QySl.js +1264 -0
  56. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-Dqz6jTlH.js +142 -0
  57. package/dist/{Tier-D4CPZqw7.js → Tier-ChvYps23.js} +687 -2576
  58. package/dist/{Title-DCbwhUic.js → Title-v-Ivswr1.js} +92 -94
  59. package/dist/{Transaction-C5LrasXr.js → Transaction-CRqE1Ix0.js} +2 -2
  60. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Cl9b4mrK.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-B0Uh9iuj.js} +26 -26
  61. package/dist/{Voucher-rrVbNZKR.js → Voucher-Bg8FOuzD.js} +19 -19
  62. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BIq227nz.js → VoucherEditor.vue_vue_type_script_setup_true_lang-HKxivQMF.js} +16 -16
  63. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-C39_95SZ.js → ZodTextField.vue_vue_type_script_setup_true_lang-8d290Dcp.js} +2 -2
  64. package/dist/{app-CgimGODl.js → app-DdNKsn2Q.js} +7107 -8874
  65. package/dist/app.js +3 -4
  66. package/dist/{base.export-D2P6HFvo.js → base.export-R97FrSQL.js} +2 -2
  67. package/dist/{business-Bu5TqSA0.js → business-Ce8vq3wQ.js} +1 -1
  68. package/dist/{campaign-zJxttSIk.js → campaign-BTllt2LH.js} +25 -31
  69. package/dist/{campaign-BFIXSgdJ.js → campaign-C19If7bW.js} +94 -121
  70. package/dist/{campaign.enum-Dx-Zo68Q.js → campaign.enum-9CCbalR4.js} +2 -3
  71. package/dist/{campaign.fn-gvjlcEfe.js → campaign.fn-B4g03h0A.js} +78 -78
  72. package/dist/{collectible.enum-Liy2wH3s.js → collectible.enum-MvqF7mSg.js} +1 -1
  73. package/dist/{collection.fn-DOm0HsSh.js → collection.fn-CR0bD33S.js} +2 -2
  74. package/dist/{currency-BpbQvbm8.js → currency-DmlguGIM.js} +1 -1
  75. package/dist/{effect-D-GtNB3n.js → effect-Dx3zfl28.js} +1 -1
  76. package/dist/{email-addresses-BKMoAtMi.js → email-addresses-De5PGOY4.js} +2 -2
  77. package/dist/{feature-flag-BJ_eyKsq.js → feature-flag-CD9V1V0h.js} +74 -74
  78. package/dist/google-C3S8u0mT.js +4 -0
  79. package/dist/{helper-CkfjBgMM.js → helper-CEiv7SaO.js} +1 -1
  80. package/dist/{index-zTvr2GR4.js → index-649OZ_e1.js} +2 -2
  81. package/dist/{index-feCrYhi6.js → index-B8meeQoD.js} +1 -1
  82. package/dist/{index-CIej31pF.js → index-B8yWVB8P.js} +3 -4
  83. package/dist/{index-BKsxIwbi.js → index-BAXKd9Gg.js} +198 -198
  84. package/dist/{index-BAtUrtqM.js → index-BDPnyro2.js} +6 -19
  85. package/dist/{index-DUAZOMVJ.js → index-BR9h5DTI.js} +1 -1
  86. package/dist/{index-DwU3fsLW.js → index-BVdYxi3l.js} +15 -29
  87. package/dist/{index-D0JK99Ko.js → index-BW6eb3n6.js} +252 -611
  88. package/dist/{index-LygS9WsG.js → index-BYI9ttxy.js} +10767 -8028
  89. package/dist/{index-BdEXUNoG.js → index-BquSqx6K.js} +4 -4
  90. package/dist/{index-BpTIulTX.js → index-CBJy9bxB.js} +1 -1
  91. package/dist/{index-B6kU3PkV.js → index-CPODug8b.js} +2613 -2700
  92. package/dist/{index-CfQuYqXn.js → index-CWUrODxL.js} +1 -1
  93. package/dist/{index-DKxN1mMS.js → index-CqOCJTeR.js} +232 -390
  94. package/dist/{index-CuREApMc.js → index-D4d3l0gw.js} +7 -8
  95. package/dist/{index-Bhl5IRXy.js → index-DT3S00_Y.js} +10 -11
  96. package/dist/{index-DqGs6RJG.js → index-IZRfmmde.js} +581 -683
  97. package/dist/{index-CQ8XFbBk.js → index-__UT3_Ey.js} +2 -2
  98. package/dist/{index-CCEXSPxk.js → index-xct3mnu8.js} +7 -7
  99. package/dist/{index.esm2017-DZi9IQPS.js → index.esm2017-AVbZ9btd.js} +177 -177
  100. package/dist/{loading-Brid2wnu.js → loading-BvHm1m3K.js} +1 -1
  101. package/dist/{lodash-C1epw3Kv.js → lodash-Dvrceo7x.js} +1 -1
  102. package/dist/{member-import-DAIxTIiu.js → member-import-c9avpiSS.js} +5 -6
  103. package/dist/{membership-BZmljFhF.js → membership-D-pZS634.js} +3 -3
  104. package/dist/{money-cLcyGcSZ.js → money-D4skwMkD.js} +1 -1
  105. package/dist/{number-C2jPLJr2.js → number-DJ6ncfT6.js} +1 -1
  106. package/dist/objectid-DEMM_jdR.js +145 -0
  107. package/dist/{onboarding-oRfy_g05.js → onboarding-t7R1d3h-.js} +25 -25
  108. package/dist/{onboardingSetup-BLD6m8HY.js → onboardingSetup-lTaJc0oT.js} +2 -2
  109. package/dist/{plugins-CUsr9vB0.js → plugins-DQNOWwRC.js} +3 -3
  110. package/dist/{reward-UOT03odb.js → reward-BK150pjm.js} +1 -1
  111. package/dist/{rule-BgJnPjkI.js → rule-COcdAnUu.js} +492 -572
  112. package/dist/rule-builder-Deufb6h_.js +102 -0
  113. package/dist/style.css +1 -1
  114. package/dist/template-DeebIqJ_.js +236 -0
  115. package/dist/{timezone-BXA4wq7Y.js → timezone-BP6UC4KL.js} +1 -1
  116. package/dist/{transaction.fn-CQ4fpRt3.js → transaction.fn-BY0hzon0.js} +2 -2
  117. package/dist/{trigger-DXJCGT0q.js → trigger-DVBjVPbN.js} +8 -8
  118. package/dist/useMarketingMaterialActions-DpQCQHFI.js +96 -0
  119. package/dist/{usePagination-Pp4okWr8.js → usePagination-QT552XyF.js} +1 -1
  120. package/dist/{user-B3gXcAIy.js → user-CmAxNc7T.js} +1 -1
  121. package/dist/vue-i18n-Cze706-f.js +2365 -0
  122. package/dist/{xlsx-CCaDUTgW.js → xlsx-DAczoc8y.js} +224 -224
  123. package/dist/{zod-CPwjOxvW.js → zod-Aj-GuVQL.js} +1 -1
  124. package/package.json +2 -6
  125. package/dist/AuditLogs-BPpdm96t.js +0 -2016
  126. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DgdAlHU7.js +0 -4442
  127. package/dist/Grab-BWzdN_cd.js +0 -301
  128. package/dist/MainLayout-DwnjGXh6.js +0 -4
  129. package/dist/Marketing-DCco__2F.js +0 -273
  130. package/dist/MarketingMaterialEdit-BbgFtrYP.js +0 -1037
  131. package/dist/ReviewFacebookCallback-BnMF6Arh.js +0 -225
  132. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CsHxqH9h.js +0 -1923
  133. package/dist/Setting-CDM4RhLW.js +0 -574
  134. package/dist/Settings-D-0tvZRr.js +0 -286
  135. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-LLD91Rz6.js +0 -1319
  136. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-Bvy4NJMd.js +0 -7007
  137. package/dist/WhatsappAccount-oJDo5zTr.js +0 -159
  138. package/dist/WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-aCQCYFYq.js +0 -39
  139. package/dist/WhatsappBot-Cl64wG_F.js +0 -876
  140. package/dist/WhatsappBotLogs-D3uT4EiB.js +0 -372
  141. package/dist/WhatsappBotSettings-Cs1lLxh-.js +0 -705
  142. package/dist/WhatsappLayout-C639d2HP.js +0 -21
  143. package/dist/WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DpPxWp2x.js +0 -253
  144. package/dist/browser-BSAOEeIM.js +0 -1478
  145. package/dist/duplicateCampaign-CvsvjRE9.js +0 -51
  146. package/dist/feature-flag-Bo-k5sIG.js +0 -50
  147. package/dist/google-BQK68wbe.js +0 -5
  148. package/dist/index-C-iwb2Ln.js +0 -109
  149. package/dist/index-C_H8jFYf.js +0 -2743
  150. package/dist/index-DQ8JJhxs.js +0 -74
  151. package/dist/objectid-C-wocWKI.js +0 -145
  152. package/dist/template-BZyFhr73.js +0 -188
  153. package/dist/useMarketingMaterialActions-B-Wib5ga.js +0 -125
  154. package/dist/vue-i18n-DWGiC_vs.js +0 -2365
@@ -1,6 +1,6 @@
1
1
  import { r as S } from "./string-Gcy5IM_H.js";
2
2
  import { u as y } from "./app-wDQR6dpb.js";
3
- import { n as u } from "./plugins-CUsr9vB0.js";
3
+ import { n as u } from "./plugins-DQNOWwRC.js";
4
4
  async function m(a, s) {
5
5
  var l, d;
6
6
  let e = [];
@@ -1,4 +1,4 @@
1
- import { g as ep, c as jt } from "./app-CgimGODl.js";
1
+ import { g as ep, c as jt } from "./app-DdNKsn2Q.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1,5 +1,4 @@
1
- import { z as e } from "./index-C_H8jFYf.js";
2
- import { F as t, m as o } from "./index-LygS9WsG.js";
1
+ import { z as e, F as t, m as o } from "./index-BYI9ttxy.js";
3
2
  const d = {
4
3
  collectionName: "MemberImportRuns",
5
4
  transform: {
@@ -86,7 +85,7 @@ const d = {
86
85
  Feedback: "1",
87
86
  JoinedAt: "31/12/2025 (DD/MM/YYYY)",
88
87
  JoinedAtLocation: ""
89
- }, I = p.map(
88
+ }, R = p.map(
90
89
  (n) => M[n]
91
90
  ), b = e.object({
92
91
  mode: c
@@ -162,7 +161,7 @@ e.object({
162
161
  e.array(a).optional()
163
162
  )
164
163
  });
165
- const g = i.pick({
164
+ const I = i.pick({
166
165
  _id: !0,
167
166
  options: !0,
168
167
  status: !0,
@@ -183,6 +182,6 @@ const g = i.pick({
183
182
  export {
184
183
  a as F,
185
184
  p as M,
186
- I as a,
187
- g as b
185
+ R as a,
186
+ I as b
188
187
  };
@@ -1,7 +1,7 @@
1
- import { g as o, u as H, S as h } from "./index-CCEXSPxk.js";
2
- import { m as d } from "./index-BAtUrtqM.js";
1
+ import { g as o, u as H, S as h } from "./index-xct3mnu8.js";
2
+ import { m as d } from "./index-BDPnyro2.js";
3
3
  import { components as z } from "@feedmepos/ui-library";
4
- import { F as i } from "./collectible.enum-Liy2wH3s.js";
4
+ import { F as i } from "./collectible.enum-MvqF7mSg.js";
5
5
  import { h as y, ref as r } from "vue";
6
6
  import { defineStore as G } from "pinia";
7
7
  function u(t) {
@@ -1,4 +1,4 @@
1
- import { c as r } from "./index-CCEXSPxk.js";
1
+ import { c as r } from "./index-xct3mnu8.js";
2
2
  function n(o) {
3
3
  return r.Dinero.fromNumber({ number: o });
4
4
  }
@@ -1,4 +1,4 @@
1
- import { c as n } from "./index-CCEXSPxk.js";
1
+ import { c as n } from "./index-xct3mnu8.js";
2
2
  function s(t) {
3
3
  return n.DineroFactory(t).multiply(100).toFormat(!1);
4
4
  }
@@ -0,0 +1,145 @@
1
+ import { g as l } from "./app-DdNKsn2Q.js";
2
+ var o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_0ca3585f-e2d5-4a6f-946e-75d59d79e954", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_devDependencies_vitest: "^2.1.9", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_0ca3585f-e2d5-4a6f-946e-75d59d79e954", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.8.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.29.31", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1707", ACTIONS_ORCHESTRATION_ID: "0f4c782a-36a1-8fe8-8609-efcf46831367.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.13", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261021.345.10", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", npm_package_devDependencies__playwright_test: "^1.62.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_0ca3585f-e2d5-4a6f-946e-75d59d79e954", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "10:10195", GITHUB_WORKFLOW: "[CD:prod] connect-portal (mf-connect)", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_css_tree: "3.2.1", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_dependencies_sanitize_html: "2.17.4", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "39826787263", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "5b89c1a1b86c83a08e49001d29bdc5910b875c73", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.10/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] deploy-mf-connect.yml@refs/tags/mf-connect-0.1.115-prod", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_e1939333-5114-412b-ae36-b77e463d320e", INVOCATION_ID: "ec3c1b47bd0447e49f92e5af1d06a835", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "100", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.30", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000218017", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-connect-0.1.115-prod", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.15.47", npm_lifecycle_script: "vite build --mode fmmf:prod", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest run", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.115-prod", npm_package_dependencies__feedmepos_hrm_permission: "1.0.14", npm_package_dependencies_ckeditor5: "^44.3.0", npm_package_dependencies_htmlparser2: "10.1.0", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "5b89c1a1b86c83a08e49001d29bdc5910b875c73", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/tags/mf-connect-0.1.115-prod", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_0ca3585f-e2d5-4a6f-946e-75d59d79e954", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_0ca3585f-e2d5-4a6f-946e-75d59d79e954", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_0ca3585f-e2d5-4a6f-946e-75d59d79e954", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_0ca3585f-e2d5-4a6f-946e-75d59d79e954", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.15.0", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", IMPORT_FILES_STORAGE_BUCKET: "feedme-253402.appspot.com", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedme.cc/", VOUCHER_APP_URL: "https://voucher.feedme.cc/", FEATURE_FLAG_API_KEY: "6GhcttsJ9Rj9cTevcdrpin" } }, i = Math.floor(Math.random() * 16777215), a = n.index = parseInt(Math.random() * 16777215, 10), c = (typeof o > "u" || typeof o.pid != "number" ? Math.floor(Math.random() * 1e5) : o.pid) % 65535, d = (() => {
3
+ try {
4
+ return _Buffer;
5
+ } catch {
6
+ try {
7
+ return Buffer;
8
+ } catch {
9
+ return null;
10
+ }
11
+ }
12
+ })(), r = function(e) {
13
+ return !!(e != null && e.constructor && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e));
14
+ }, u = [];
15
+ for (var p = 0; p < 256; p++)
16
+ u[p] = (p <= 15 ? "0" : "") + p.toString(16);
17
+ var m = new RegExp("^[0-9a-fA-F]{24}$"), s = [];
18
+ p = 0;
19
+ for (; p < 10; ) s[48 + p] = p++;
20
+ for (; p < 16; ) s[55 + p] = s[87 + p] = p++;
21
+ function n(e) {
22
+ if (!(this instanceof n)) return new n(e);
23
+ if (e && (e instanceof n || e._bsontype === "ObjectID"))
24
+ return e;
25
+ if (this._bsontype = "ObjectID", e == null || typeof e == "number") {
26
+ this.id = this.generate(e);
27
+ return;
28
+ }
29
+ var _ = n.isValid(e);
30
+ if (!_ && e != null)
31
+ throw new Error(
32
+ "Argument passed in must be a single String of 12 bytes or a string of 24 hex characters"
33
+ );
34
+ if (_ && typeof e == "string" && e.length === 24)
35
+ return n.createFromHexString(e);
36
+ if (e != null && e.length === 12)
37
+ this.id = e;
38
+ else {
39
+ if (e != null && typeof e.toHexString == "function")
40
+ return e;
41
+ throw new Error(
42
+ "Argument passed in must be a single String of 12 bytes or a string of 24 hex characters"
43
+ );
44
+ }
45
+ }
46
+ var g = n;
47
+ n.default = n;
48
+ n.createFromTime = function(e) {
49
+ return e = parseInt(e, 10) % 4294967295, new n(f(8, e) + "0000000000000000");
50
+ };
51
+ n.createFromHexString = function(e) {
52
+ if (typeof e > "u" || e != null && e.length !== 24)
53
+ throw new Error(
54
+ "Argument passed in must be a single String of 12 bytes or a string of 24 hex characters"
55
+ );
56
+ for (var _ = "", t = 0; t < 24; )
57
+ _ += String.fromCharCode(s[e.charCodeAt(t++)] << 4 | s[e.charCodeAt(t++)]);
58
+ return new n(_);
59
+ };
60
+ n.isValid = function(e) {
61
+ return e == null ? !1 : typeof e == "number" ? !0 : typeof e == "string" ? e.length === 12 || e.length === 24 && m.test(e) : e instanceof n ? !0 : r(e) ? n.isValid(e.toString("hex")) : typeof e.toHexString == "function" && d && (e.id instanceof d || typeof e.id == "string") ? e.id.length === 12 || e.id.length === 24 && m.test(e.id) : !1;
62
+ };
63
+ n.prototype = {
64
+ constructor: n,
65
+ /**
66
+ * Return the ObjectID id as a 24 byte hex string representation
67
+ *
68
+ * @return {String} return the 24 byte hex string representation.
69
+ * @api public
70
+ */
71
+ toHexString: function() {
72
+ if (!this.id || !this.id.length)
73
+ throw new Error(
74
+ "invalid ObjectId, ObjectId.id must be either a string or a Buffer, but is [" + JSON.stringify(this.id) + "]"
75
+ );
76
+ if (this.id.length === 24)
77
+ return this.id;
78
+ if (r(this.id))
79
+ return this.id.toString("hex");
80
+ for (var e = "", _ = 0; _ < this.id.length; _++)
81
+ e += u[this.id.charCodeAt(_)];
82
+ return e;
83
+ },
84
+ /**
85
+ * Compares the equality of this ObjectID with `otherID`.
86
+ *
87
+ * @param {Object} otherId ObjectID instance to compare against.
88
+ * @return {Boolean} the result of comparing two ObjectID's
89
+ * @api public
90
+ */
91
+ equals: function(e) {
92
+ return e instanceof n ? this.toString() === e.toString() : typeof e == "string" && n.isValid(e) && e.length === 12 && r(this.id) ? e === this.id.toString("binary") : typeof e == "string" && n.isValid(e) && e.length === 24 ? e.toLowerCase() === this.toHexString() : typeof e == "string" && n.isValid(e) && e.length === 12 ? e === this.id : e != null && (e instanceof n || e.toHexString) ? e.toHexString() === this.toHexString() : !1;
93
+ },
94
+ /**
95
+ * Returns the generation date (accurate up to the second) that this ID was generated.
96
+ *
97
+ * @return {Date} the generation date
98
+ * @api public
99
+ */
100
+ getTimestamp: function() {
101
+ var e = /* @__PURE__ */ new Date(), _;
102
+ return r(this.id) ? _ = this.id[3] | this.id[2] << 8 | this.id[1] << 16 | this.id[0] << 24 : _ = this.id.charCodeAt(3) | this.id.charCodeAt(2) << 8 | this.id.charCodeAt(1) << 16 | this.id.charCodeAt(0) << 24, e.setTime(Math.floor(_) * 1e3), e;
103
+ },
104
+ /**
105
+ * Generate a 12 byte id buffer used in ObjectID's
106
+ *
107
+ * @method
108
+ * @param {number} [time] optional parameter allowing to pass in a second based timestamp.
109
+ * @return {string} return the 12 byte id buffer string.
110
+ */
111
+ generate: function(e) {
112
+ typeof e != "number" && (e = ~~(Date.now() / 1e3)), e = parseInt(e, 10) % 4294967295;
113
+ var _ = E();
114
+ return String.fromCharCode(
115
+ e >> 24 & 255,
116
+ e >> 16 & 255,
117
+ e >> 8 & 255,
118
+ e & 255,
119
+ i >> 16 & 255,
120
+ i >> 8 & 255,
121
+ i & 255,
122
+ c >> 8 & 255,
123
+ c & 255,
124
+ _ >> 16 & 255,
125
+ _ >> 8 & 255,
126
+ _ & 255
127
+ );
128
+ }
129
+ };
130
+ function E() {
131
+ return a = (a + 1) % 16777215;
132
+ }
133
+ function f(e, _) {
134
+ return _ = _.toString(16), _.length === e ? _ : "00000000".substring(_.length, e) + _;
135
+ }
136
+ var h = Symbol && Symbol.for && Symbol.for("nodejs.util.inspect.custom") || "inspect";
137
+ n.prototype[h] = function() {
138
+ return "ObjectID(" + this + ")";
139
+ };
140
+ n.prototype.toJSON = n.prototype.toHexString;
141
+ n.prototype.toString = n.prototype.toHexString;
142
+ const T = /* @__PURE__ */ l(g);
143
+ export {
144
+ T as O
145
+ };
@@ -1,9 +1,9 @@
1
1
  import { defineStore as T } from "pinia";
2
2
  import { ref as R, computed as h } from "vue";
3
- import { g as A, b as _, S as G } from "./index-CCEXSPxk.js";
4
- import { F as U, a as $ } from "./index-CIej31pF.js";
5
- import { R as i } from "./app-CgimGODl.js";
6
- const S = (e) => _(`businesses/${e}/onboarding`), N = {
3
+ import { g as A, b as _, S as G } from "./index-xct3mnu8.js";
4
+ import { F as U, a as $ } from "./index-B8yWVB8P.js";
5
+ import { R as i } from "./app-DdNKsn2Q.js";
6
+ const S = (e) => _(`businesses/${e}/onboarding`), b = {
7
7
  async read(e, n) {
8
8
  const s = await S(e).get("", {
9
9
  params: { locale: n }
@@ -15,7 +15,7 @@ const S = (e) => _(`businesses/${e}/onboarding`), N = {
15
15
  return $.parse(A(s));
16
16
  }
17
17
  };
18
- var w = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "feedmedev.vip", crmUrl: "crm.feedmedev.cc", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", licensePortalUrl: "https://license.feedmedev.cc/", marketingV1Portal: "https://marketing-v1.feedmedev.cc", voucherAppUrl: "https://voucher.feedmedev.cc/" };
18
+ var w = { authUrl: "https://portal-v2.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "member.feedme.cc", crmUrl: "crm.feedme.cc", paymentPortalUrl: "https://portal.feedme.cc/payment/payout-account", licensePortalUrl: "https://license.feedme.cc/", marketingV1Portal: "https://marketing-v1.feedme.cc", voucherAppUrl: "https://voucher.feedme.cc/" };
19
19
  const y = {
20
20
  VOUCHER_WELCOME: i["$connect-CAMPAIGN_VOUCHER"],
21
21
  VOUCHER_SPEND_MORE: i["$connect-CAMPAIGN_VOUCHER"],
@@ -33,9 +33,9 @@ const y = {
33
33
  }, k = /* @__PURE__ */ new Set(["STORE", "MARKETING", "REVIEW", "REFERRAL"]), j = (e, n = !0) => ({
34
34
  name: y[e],
35
35
  query: n && !k.has(e) ? { setup: e } : {}
36
- }), z = (e) => window.open(`${w.licensePortalUrl}settings?businessId=${e}`, "_blank"), L = (e, n, s) => "manual" in e ? !!s.manualDone[n.id] : e.all.every((c) => !!s.facts[c]), I = (e, n, s) => L(s === "generic" ? e.genericDoneWhen ?? e.doneWhen : e.doneWhen, e, n), V = (e, n, s) => {
36
+ }), z = (e) => window.open(`${w.licensePortalUrl}settings?businessId=${e}`, "_blank"), L = (e, n, s) => "manual" in e ? !!s.manualDone[n.id] : e.all.every((c) => !!s.facts[c]), v = (e, n, s) => L(s === "generic" ? e.genericDoneWhen ?? e.doneWhen : e.doneWhen, e, n), V = (e, n, s) => {
37
37
  const c = new Set(e.items.map((o) => o.id));
38
- if (s === "generic" || !P(e, n))
38
+ if (s === "generic" || !N(e, n))
39
39
  return e.genericItemIds.filter((o) => c.has(o) && !n.removed[o]);
40
40
  const t = [], a = (o) => {
41
41
  c.has(o) && !t.includes(o) && !n.removed[o] && t.push(o);
@@ -43,19 +43,19 @@ const y = {
43
43
  return E(e, n).forEach((o) => {
44
44
  o.coreItemIds.forEach(a), o.altItemIds.filter((u) => n.added[u]).forEach(a);
45
45
  }), t;
46
- }, E = (e, n) => e.goals.filter((s) => n.pickedGoals.includes(s.id)), P = (e, n) => n.built && E(e, n).length > 0, W = (e) => Object.keys(e.facts).length > 0 || Object.keys(e.manualDone).length > 0, Q = (e, n) => P(e, n) ? "goals" : n.generic === "active" ? "generic" : W(n) || n.generic === "closed" ? "picker" : "generic", Y = (e, n) => {
46
+ }, E = (e, n) => e.goals.filter((s) => n.pickedGoals.includes(s.id)), N = (e, n) => n.built && E(e, n).length > 0, W = (e) => Object.keys(e.facts).length > 0 || Object.keys(e.manualDone).length > 0, Q = (e, n) => N(e, n) ? "goals" : n.generic === "active" ? "generic" : W(n) || n.generic === "closed" ? "picker" : "generic", Y = (e, n) => {
47
47
  const s = /* @__PURE__ */ new Set();
48
48
  return E(e, n).flatMap(
49
49
  (c) => c.altItemIds.filter((t) => !(n.added[t] && !n.removed[t]) && !s.has(t) && s.add(t)).map((t) => ({ goal: c, item: e.items.find((a) => a.id === t) })).filter(
50
- (t) => !!t.item && !I(t.item, n, "goals")
50
+ (t) => !!t.item && !v(t.item, n, "goals")
51
51
  )
52
52
  );
53
- }, Z = (e, n) => new Set(E(e, n).flatMap((s) => s.altItemIds.length ? s.coreItemIds : [])), F = (e, n, s, c) => s.map((t) => e.items.find((a) => a.id === t)).filter((t) => !!t && !I(t, n, c)).reduce((t, a) => t + a.minutes, 0), J = (e, n, s) => {
54
- const c = (m) => m.map((g) => e.items.find((p) => p.id === g)).filter((g) => !!g), t = c(s.coreItemIds), a = t.filter((m) => I(m, n, "goals")).length, o = t.length > 0 && a === t.length, u = c(s.altItemIds).filter((m) => !I(m, n, "goals")).length;
53
+ }, Z = (e, n) => new Set(E(e, n).flatMap((s) => s.altItemIds.length ? s.coreItemIds : [])), F = (e, n, s, c) => s.map((t) => e.items.find((a) => a.id === t)).filter((t) => !!t && !v(t, n, c)).reduce((t, a) => t + a.minutes, 0), J = (e, n, s) => {
54
+ const c = (m) => m.map((g) => e.items.find((I) => I.id === g)).filter((g) => !!g), t = c(s.coreItemIds), a = t.filter((m) => v(m, n, "goals")).length, o = t.length > 0 && a === t.length, u = c(s.altItemIds).filter((m) => !v(m, n, "goals")).length;
55
55
  return { done: a, total: t.length, allDone: o, remaining: u, exhausted: o && u === 0 };
56
56
  }, ee = (e, n, s) => s === "generic" && e.destinationAfter && n.facts[e.destinationAfter.fact] ? e.destinationAfter.destination : e.destination, ne = (e, n, s) => {
57
57
  const c = (t) => "manual" in t.doneWhen ? n.manualDone[t.id] : t.doneWhen.all.map((a) => n.liveSince[a] ?? n.facts[a]).sort().at(-1);
58
- return s.map((t) => e.items.find((a) => a.id === t)).filter((t) => !!t && I(t, n, "goals")).map((t) => ({ item: t, liveSince: c(t) })).sort((t, a) => {
58
+ return s.map((t) => e.items.find((a) => a.id === t)).filter((t) => !!t && v(t, n, "goals")).map((t) => ({ item: t, liveSince: c(t) })).sort((t, a) => {
59
59
  var o, u;
60
60
  return (((o = a.liveSince) == null ? void 0 : o.getTime()) ?? 0) - (((u = t.liveSince) == null ? void 0 : u.getTime()) ?? 0);
61
61
  });
@@ -87,33 +87,33 @@ const y = {
87
87
  u = r, c.value = l;
88
88
  const f = s.get(l);
89
89
  if (f) return f;
90
- const v = N.read(l, r).then((d) => {
90
+ const p = b.read(l, r).then((d) => {
91
91
  c.value === l && (e.value = { ...d, businessId: l }, n.value = null);
92
92
  }).catch((d) => {
93
93
  c.value === l && (n.value = d);
94
94
  }).finally(() => s.delete(l));
95
- return s.set(l, v), v;
95
+ return s.set(l, p), p;
96
96
  }, g = async (r) => {
97
- var v;
97
+ var p;
98
98
  const l = t.value;
99
99
  if (!l) return;
100
100
  const f = l.businessId;
101
101
  e.value = { ...l, state: H(l.state, r) };
102
102
  try {
103
- const d = await N.patch(f, r);
104
- ((v = e.value) == null ? void 0 : v.businessId) === f && (e.value = { ...e.value, state: d });
103
+ const d = await b.patch(f, r);
104
+ ((p = e.value) == null ? void 0 : p.businessId) === f && (e.value = { ...e.value, state: d });
105
105
  } catch (d) {
106
106
  throw await m(u, f), d;
107
107
  }
108
- }, p = (r) => a.value && o.value ? V(a.value, o.value, r) : [], O = (r) => {
108
+ }, I = (r) => a.value && o.value ? V(a.value, o.value, r) : [], O = (r) => {
109
109
  if (!a.value || !o.value) return 0;
110
110
  const l = a.value.items, f = o.value;
111
- return p(r).filter((v) => {
112
- const d = l.find((M) => M.id === v);
113
- return !!d && I(d, f, r);
111
+ return I(r).filter((p) => {
112
+ const d = l.find((M) => M.id === p);
113
+ return !!d && v(d, f, r);
114
114
  }).length;
115
- }, b = (r) => a.value && o.value ? F(a.value, o.value, p(r), r) : 0, C = h(() => p("goals").length - O("goals")), D = h(() => !!t.value);
116
- return { catalog: a, state: o, loaded: D, error: n, read: m, patch: g, ids: p, doneCount: O, minsLeft: b, goalsRemaining: C };
115
+ }, P = (r) => a.value && o.value ? F(a.value, o.value, I(r), r) : 0, C = h(() => I("goals").length - O("goals")), D = h(() => !!t.value);
116
+ return { catalog: a, state: o, loaded: D, error: n, read: m, patch: g, ids: I, doneCount: O, minsLeft: P, goalsRemaining: C };
117
117
  });
118
118
  export {
119
119
  Q as a,
@@ -122,8 +122,8 @@ export {
122
122
  j as d,
123
123
  Z as e,
124
124
  J as g,
125
- P as h,
126
- I as i,
125
+ N as h,
126
+ v as i,
127
127
  z as o,
128
128
  E as p,
129
129
  ne as r,
@@ -1,6 +1,6 @@
1
1
  import { useRouter as o } from "vue-router";
2
- import { b as u } from "./index-CIej31pF.js";
3
- import { u as n } from "./campaign-zJxttSIk.js";
2
+ import { b as u } from "./index-B8yWVB8P.js";
3
+ import { u as n } from "./campaign-BTllt2LH.js";
4
4
  const l = () => {
5
5
  const s = o(), r = n();
6
6
  return { consume: async () => {
@@ -1,8 +1,8 @@
1
- import { u as fe, v as ge, x as Ee, w as Ie, y as Fe } from "./index.esm2017-DZi9IQPS.js";
1
+ import { u as fe, v as ge, x as Ee, w as Ie, y as Fe } from "./index.esm2017-AVbZ9btd.js";
2
2
  import { u as oe } from "./app-wDQR6dpb.js";
3
- import { e as Ae, Z as O, d as de, i as ke, z as De } from "./app-CgimGODl.js";
3
+ import { e as Ae, Z as O, d as de, i as ke, z as De } from "./app-DdNKsn2Q.js";
4
4
  import { detectLocale as Te, createFeedMeI18n as Ke } from "@feedmepos/mf-common";
5
- import { S as k } from "./index-CCEXSPxk.js";
5
+ import { S as k } from "./index-xct3mnu8.js";
6
6
  var b = [];
7
7
  for (var ee = 0; ee < 256; ++ee)
8
8
  b.push((ee + 256).toString(16).slice(1));
@@ -1,5 +1,5 @@
1
1
  import { defineStore as n } from "pinia";
2
- import { g as r, S as d, b as o } from "./index-CCEXSPxk.js";
2
+ import { g as r, S as d, b as o } from "./index-xct3mnu8.js";
3
3
  import { ref as i } from "vue";
4
4
  const a = () => {
5
5
  const e = d.getBusinessId();