@paypay/mini-app-js-sdk 1.60.0 → 1.61.0

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.
@@ -50,8 +50,8 @@ function normalizeNativeResponseData(data2) {
50
50
  }
51
51
  class JsBridge {
52
52
  constructor(global2) {
53
- this.version = "1.60.0";
54
- this.revision = "fa361bf";
53
+ this.version = "1.61.0";
54
+ this.revision = "edfaab4";
55
55
  this.messageHandlers = /* @__PURE__ */ new Map();
56
56
  this.responseCallbacks = /* @__PURE__ */ new Map();
57
57
  this.global = global2;
@@ -404,6 +404,13 @@ var ChallengeMethod = /* @__PURE__ */ ((ChallengeMethod2) => {
404
404
  ChallengeMethod2["S256"] = "S256";
405
405
  return ChallengeMethod2;
406
406
  })(ChallengeMethod || {});
407
+ const AddShortcutTypes = {
408
+ FAVORITE: "FAVORITE",
409
+ OS_HOME_SCREEN_ICON: "OS_HOME_SCREEN_ICON"
410
+ };
411
+ const ShortcutExistsTypes = {
412
+ FAVORITE: "FAVORITE"
413
+ };
407
414
  function isLocalIP(hostName) {
408
415
  if (hostName === "localhost") {
409
416
  return true;
@@ -1943,7 +1950,7 @@ const opaUrl = () => {
1943
1950
  const createHeaderMiniAppApi = (urlEndpoint, customHeaders) => {
1944
1951
  let headers = new Headers({
1945
1952
  "Content-Type": "application/json",
1946
- "Client-Version": "1.60.0",
1953
+ "Client-Version": "1.61.0",
1947
1954
  "Client-OS-Type": getRuntime(),
1948
1955
  ...customHeaders
1949
1956
  });
@@ -2171,10 +2178,10 @@ var MiniAppStatusType = /* @__PURE__ */ ((MiniAppStatusType2) => {
2171
2178
  })(MiniAppStatusType || {});
2172
2179
  function getUAID(params) {
2173
2180
  const newParams = reconstructParams(params);
2174
- execute$h(newParams).catch(() => {
2181
+ execute$j(newParams).catch(() => {
2175
2182
  });
2176
2183
  }
2177
- async function execute$h(params) {
2184
+ async function execute$j(params) {
2178
2185
  var _a2, _b, _c, _d, _e;
2179
2186
  const res = await ppFetch2({
2180
2187
  method: "GET",
@@ -2188,9 +2195,9 @@ async function execute$h(params) {
2188
2195
  }
2189
2196
  function checkAccessToken(params) {
2190
2197
  const newParams = reconstructParams(params);
2191
- execute$g(newParams);
2198
+ execute$i(newParams);
2192
2199
  }
2193
- function execute$g(params) {
2200
+ function execute$i(params) {
2194
2201
  var _a2, _b;
2195
2202
  const clientId = getClientId();
2196
2203
  const token = getAccessToken();
@@ -2215,9 +2222,9 @@ function execute$g(params) {
2215
2222
  }
2216
2223
  async function getUserProfile(params) {
2217
2224
  const newParams = reconstructParams(params);
2218
- await execute$f(newParams);
2225
+ await execute$h(newParams);
2219
2226
  }
2220
- async function execute$f(params) {
2227
+ async function execute$h(params) {
2221
2228
  var _a2, _b;
2222
2229
  const res = await ppFetch2({
2223
2230
  method: "GET",
@@ -7720,7 +7727,7 @@ const OTTLoginState = reactive({
7720
7727
  });
7721
7728
  async function init(params) {
7722
7729
  const newParams = reconstructParams(params);
7723
- await execute$e(newParams);
7730
+ await execute$g(newParams);
7724
7731
  }
7725
7732
  function checkAppVersion() {
7726
7733
  const appVersion = getAppVersion();
@@ -7734,7 +7741,7 @@ function checkAppVersion() {
7734
7741
  }
7735
7742
  }
7736
7743
  }
7737
- async function execute$e(params) {
7744
+ async function execute$g(params) {
7738
7745
  var _a2, _b, _c, _d, _e, _f, _g, _h, _i;
7739
7746
  try {
7740
7747
  saveEnv((_a2 = params == null ? void 0 : params.env) != null ? _a2 : "");
@@ -7864,7 +7871,7 @@ var _export_sfc = (sfc, props) => {
7864
7871
  }
7865
7872
  return target;
7866
7873
  };
7867
- const _hoisted_1$X = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
7874
+ const _hoisted_1$Y = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
7868
7875
  function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
7869
7876
  return openBlock(), createElementBlock("div", {
7870
7877
  class: normalizeClass(_ctx.$style.loading)
@@ -7875,7 +7882,7 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
7875
7882
  createBaseVNode("div", {
7876
7883
  class: normalizeClass(_ctx.$style.bounce2)
7877
7884
  }, null, 2),
7878
- _hoisted_1$X
7885
+ _hoisted_1$Y
7879
7886
  ], 2);
7880
7887
  }
7881
7888
  const cssModules$1r = {};
@@ -8613,7 +8620,7 @@ const _sfc_main$1B = defineComponent({
8613
8620
  getButtonType
8614
8621
  }
8615
8622
  });
8616
- const _hoisted_1$W = ["src"];
8623
+ const _hoisted_1$X = ["src"];
8617
8624
  function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
8618
8625
  const _component_Button = resolveComponent("Button");
8619
8626
  const _component_ActionSheet = resolveComponent("ActionSheet");
@@ -8634,7 +8641,7 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
8634
8641
  class: normalizeClass(_ctx.style.errorIcon),
8635
8642
  style: normalizeStyle(_ctx.iconStyle),
8636
8643
  alt: ""
8637
- }, null, 14, _hoisted_1$W)
8644
+ }, null, 14, _hoisted_1$X)
8638
8645
  ], 2),
8639
8646
  _ctx.errorTitle ? (openBlock(), createElementBlock("div", {
8640
8647
  key: 0,
@@ -9048,9 +9055,9 @@ async function getUserGrantedPermission() {
9048
9055
  }
9049
9056
  async function getBalance(params) {
9050
9057
  const newParams = reconstructParams(params);
9051
- await execute$d(newParams);
9058
+ await execute$f(newParams);
9052
9059
  }
9053
- async function execute$d(params) {
9060
+ async function execute$f(params) {
9054
9061
  var _a2, _b, _c, _d, _e, _f, _g, _h;
9055
9062
  try {
9056
9063
  const grantStatus = await checkPermission(
@@ -9081,7 +9088,7 @@ async function execute$d(params) {
9081
9088
  }
9082
9089
  async function getAuthStatus(params) {
9083
9090
  const newParams = reconstructParams(params);
9084
- await execute$c(newParams);
9091
+ await execute$e(newParams);
9085
9092
  }
9086
9093
  async function handlePKCE() {
9087
9094
  const codeVerifier = generateCodeVerifier();
@@ -9103,8 +9110,8 @@ async function handleFailCallback(params, errorCode) {
9103
9110
  code
9104
9111
  });
9105
9112
  }
9106
- async function execute$c(params) {
9107
- var _a2, _b, _c, _d, _e, _f;
9113
+ async function execute$e(params) {
9114
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i;
9108
9115
  try {
9109
9116
  const clientId = getClientId();
9110
9117
  if (!clientId) {
@@ -9116,17 +9123,21 @@ async function execute$c(params) {
9116
9123
  params: {}
9117
9124
  });
9118
9125
  if (res.ppFetchResult !== "success") {
9119
- return handleFailCallback(params, getFailErrorCode(res.ppFetchResult));
9126
+ if (((_c = (_b = (_a2 = res.body) == null ? void 0 : _a2.unsigned) == null ? void 0 : _b.resultInfo) == null ? void 0 : _c.code) === "INVALID_USER_AUTHORIZATION_ID") {
9127
+ return handleFailCallback(params, MiniAppErrorType.notAuthorized);
9128
+ } else {
9129
+ return handleFailCallback(params, getFailErrorCode(res.ppFetchResult));
9130
+ }
9120
9131
  }
9121
- const isSuccess = ((_c = (_b = (_a2 = res == null ? void 0 : res.body) == null ? void 0 : _a2.unsigned) == null ? void 0 : _b.resultInfo) == null ? void 0 : _c.code) === MiniAppStatusType.success;
9132
+ const isSuccess = ((_f = (_e = (_d = res == null ? void 0 : res.body) == null ? void 0 : _d.unsigned) == null ? void 0 : _e.resultInfo) == null ? void 0 : _f.code) === MiniAppStatusType.success;
9122
9133
  if (isSuccess) {
9123
- const data2 = (_e = (_d = res == null ? void 0 : res.body) == null ? void 0 : _d.unsigned) == null ? void 0 : _e.data;
9134
+ const data2 = (_h = (_g = res == null ? void 0 : res.body) == null ? void 0 : _g.unsigned) == null ? void 0 : _h.data;
9124
9135
  if (!(data2 == null ? void 0 : data2.isActive)) {
9125
9136
  return handleFailCallback(params, MiniAppErrorType.notAuthorized);
9126
9137
  } else if (data2 == null ? void 0 : data2.showPermission) {
9127
9138
  return handleFailCallback(params, MiniAppErrorType.permissionRequired);
9128
9139
  } else if ((data2 == null ? void 0 : data2.isActive) && !(data2 == null ? void 0 : data2.showPermission)) {
9129
- return (_f = params == null ? void 0 : params.success) == null ? void 0 : _f.call(params, { statusCode: MiniAppStatusType.connected });
9140
+ return (_i = params == null ? void 0 : params.success) == null ? void 0 : _i.call(params, { statusCode: MiniAppStatusType.connected });
9130
9141
  }
9131
9142
  }
9132
9143
  } catch (e) {
@@ -9579,7 +9590,7 @@ const _sfc_main$1y = defineComponent({
9579
9590
  };
9580
9591
  }
9581
9592
  });
9582
- const _hoisted_1$V = ["src"];
9593
+ const _hoisted_1$W = ["src"];
9583
9594
  const _hoisted_2$p = ["src"];
9584
9595
  function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
9585
9596
  const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
@@ -9602,7 +9613,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
9602
9613
  src: _ctx.images.iconBalanceIcon,
9603
9614
  class: normalizeClass(_ctx.$style.img),
9604
9615
  alt: ""
9605
- }, null, 10, _hoisted_1$V)
9616
+ }, null, 10, _hoisted_1$W)
9606
9617
  ], 2),
9607
9618
  createBaseVNode("div", {
9608
9619
  class: normalizeClass(_ctx.$style.walletContainer)
@@ -9780,7 +9791,7 @@ const _sfc_main$1x = defineComponent({
9780
9791
  };
9781
9792
  }
9782
9793
  });
9783
- const _hoisted_1$U = ["src"];
9794
+ const _hoisted_1$V = ["src"];
9784
9795
  const _hoisted_2$o = ["src"];
9785
9796
  function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
9786
9797
  return openBlock(), createElementBlock("div", {
@@ -9802,7 +9813,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
9802
9813
  class: normalizeClass([_ctx.style.cardImg, _ctx.creditInfo.style]),
9803
9814
  src: _ctx.creditInfo.logo,
9804
9815
  alt: ""
9805
- }, null, 10, _hoisted_1$U)) : createCommentVNode("", true)
9816
+ }, null, 10, _hoisted_1$V)) : createCommentVNode("", true)
9806
9817
  ], 2),
9807
9818
  createBaseVNode("div", {
9808
9819
  class: normalizeClass(_ctx.style.content)
@@ -9935,7 +9946,7 @@ const _sfc_main$1w = defineComponent({
9935
9946
  };
9936
9947
  }
9937
9948
  });
9938
- const _hoisted_1$T = ["src"];
9949
+ const _hoisted_1$U = ["src"];
9939
9950
  function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
9940
9951
  return openBlock(), createElementBlock("div", {
9941
9952
  class: normalizeClass([
@@ -9959,7 +9970,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
9959
9970
  class: normalizeClass([_ctx.style.bankImg, { [_ctx.style.round]: _ctx.round }]),
9960
9971
  src: _ctx.bankInfo.logo,
9961
9972
  alt: ""
9962
- }, null, 10, _hoisted_1$T)
9973
+ }, null, 10, _hoisted_1$U)
9963
9974
  ], 2),
9964
9975
  createBaseVNode("div", {
9965
9976
  class: normalizeClass(_ctx.style.content)
@@ -10059,7 +10070,7 @@ const _sfc_main$1v = defineComponent({
10059
10070
  };
10060
10071
  }
10061
10072
  });
10062
- const _hoisted_1$S = ["src"];
10073
+ const _hoisted_1$T = ["src"];
10063
10074
  function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
10064
10075
  return openBlock(), createElementBlock("div", {
10065
10076
  class: normalizeClass([_ctx.$style.wrapperClass, _ctx.$style.container])
@@ -10069,7 +10080,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
10069
10080
  class: normalizeClass(_ctx.$style.sbidImg),
10070
10081
  src: _ctx.images.softbank,
10071
10082
  alt: ""
10072
- }, null, 10, _hoisted_1$S)
10083
+ }, null, 10, _hoisted_1$T)
10073
10084
  ]),
10074
10085
  createBaseVNode("span", {
10075
10086
  class: normalizeClass(_ctx.$style.content)
@@ -10160,7 +10171,7 @@ const _sfc_main$1u = defineComponent({
10160
10171
  };
10161
10172
  }
10162
10173
  });
10163
- const _hoisted_1$R = ["src"];
10174
+ const _hoisted_1$S = ["src"];
10164
10175
  function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
10165
10176
  return openBlock(), createElementBlock("div", {
10166
10177
  class: normalizeClass([
@@ -10177,7 +10188,7 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
10177
10188
  src: _ctx.images.payLater,
10178
10189
  class: normalizeClass(_ctx.$style.imageContainer),
10179
10190
  alt: ""
10180
- }, null, 10, _hoisted_1$R)
10191
+ }, null, 10, _hoisted_1$S)
10181
10192
  ]),
10182
10193
  createBaseVNode("div", {
10183
10194
  class: normalizeClass(_ctx.$style.container)
@@ -23192,7 +23203,7 @@ const _sfc_main$1s = defineComponent({
23192
23203
  };
23193
23204
  }
23194
23205
  });
23195
- const _hoisted_1$Q = ["src"];
23206
+ const _hoisted_1$R = ["src"];
23196
23207
  function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
23197
23208
  const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
23198
23209
  return openBlock(), createElementBlock("div", {
@@ -23206,7 +23217,7 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
23206
23217
  class: normalizeClass(_ctx.style.img),
23207
23218
  src: _ctx.images.iconBalanceIcon,
23208
23219
  alt: ""
23209
- }, null, 10, _hoisted_1$Q)
23220
+ }, null, 10, _hoisted_1$R)
23210
23221
  ], 2),
23211
23222
  createBaseVNode("div", {
23212
23223
  class: normalizeClass(_ctx.style.label)
@@ -23422,7 +23433,7 @@ const _sfc_main$1r = defineComponent({
23422
23433
  };
23423
23434
  }
23424
23435
  });
23425
- const _hoisted_1$P = ["src"];
23436
+ const _hoisted_1$Q = ["src"];
23426
23437
  const _hoisted_2$n = ["src"];
23427
23438
  const _hoisted_3$a = ["onClick"];
23428
23439
  function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
@@ -23446,7 +23457,7 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
23446
23457
  src: _ctx.cardInfo.logo,
23447
23458
  class: normalizeClass([_ctx.style.img, _ctx.cardInfo.style]),
23448
23459
  alt: ""
23449
- }, null, 10, _hoisted_1$P)
23460
+ }, null, 10, _hoisted_1$Q)
23450
23461
  ], 2)
23451
23462
  ], 2),
23452
23463
  createBaseVNode("div", {
@@ -23660,7 +23671,7 @@ const _sfc_main$1q = defineComponent({
23660
23671
  };
23661
23672
  }
23662
23673
  });
23663
- const _hoisted_1$O = ["src"];
23674
+ const _hoisted_1$P = ["src"];
23664
23675
  const _hoisted_2$m = ["onClick"];
23665
23676
  function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
23666
23677
  const _component_Button = resolveComponent("Button");
@@ -23683,7 +23694,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
23683
23694
  class: normalizeClass([_ctx.style.img, { [_ctx.style.round]: _ctx.round }]),
23684
23695
  src: _ctx.bankInfo.logo,
23685
23696
  alt: ""
23686
- }, null, 10, _hoisted_1$O)
23697
+ }, null, 10, _hoisted_1$P)
23687
23698
  ], 2)
23688
23699
  ], 2),
23689
23700
  createBaseVNode("div", {
@@ -23834,7 +23845,7 @@ const _sfc_main$1p = defineComponent({
23834
23845
  };
23835
23846
  }
23836
23847
  });
23837
- const _hoisted_1$N = ["src"];
23848
+ const _hoisted_1$O = ["src"];
23838
23849
  const _hoisted_2$l = ["onClick"];
23839
23850
  function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23840
23851
  const _component_Button = resolveComponent("Button");
@@ -23854,7 +23865,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23854
23865
  class: normalizeClass(_ctx.style.img),
23855
23866
  src: _ctx.images.softbank,
23856
23867
  alt: ""
23857
- }, null, 10, _hoisted_1$N)
23868
+ }, null, 10, _hoisted_1$O)
23858
23869
  ], 2),
23859
23870
  createBaseVNode("div", {
23860
23871
  class: normalizeClass(_ctx.style.content)
@@ -24001,7 +24012,7 @@ const _sfc_main$1o = defineComponent({
24001
24012
  };
24002
24013
  }
24003
24014
  });
24004
- const _hoisted_1$M = ["src"];
24015
+ const _hoisted_1$N = ["src"];
24005
24016
  const _hoisted_2$k = ["onClick"];
24006
24017
  function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
24007
24018
  const _component_Button = resolveComponent("Button");
@@ -24022,7 +24033,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
24022
24033
  class: normalizeClass(_ctx.$style.img),
24023
24034
  src: _ctx.images.payLater,
24024
24035
  alt: ""
24025
- }, null, 10, _hoisted_1$M)
24036
+ }, null, 10, _hoisted_1$N)
24026
24037
  ], 2),
24027
24038
  createBaseVNode("div", {
24028
24039
  class: normalizeClass(_ctx.$style.content)
@@ -24180,7 +24191,7 @@ const _sfc_main$1n = defineComponent({
24180
24191
  };
24181
24192
  }
24182
24193
  });
24183
- const _hoisted_1$L = ["aria-selected"];
24194
+ const _hoisted_1$M = ["aria-selected"];
24184
24195
  function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
24185
24196
  const _component_PaymentMethod = resolveComponent("PaymentMethod");
24186
24197
  return openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.paymentMethods, (paymentMethod2, index2) => {
@@ -24212,7 +24223,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
24212
24223
  "ignore-bank-maintenance-flag": _ctx.ignoreBankMaintenanceFlag,
24213
24224
  onSelect: ($event) => _ctx.select(index2)
24214
24225
  }, null, 8, ["payment-method", "ignore-bank-maintenance-flag", "onSelect"])
24215
- ], 10, _hoisted_1$L);
24226
+ ], 10, _hoisted_1$M);
24216
24227
  }), 128);
24217
24228
  }
24218
24229
  const cssModules$1c = {};
@@ -24390,7 +24401,7 @@ const _sfc_main$1l = defineComponent({
24390
24401
  };
24391
24402
  }
24392
24403
  });
24393
- const _hoisted_1$K = ["src"];
24404
+ const _hoisted_1$L = ["src"];
24394
24405
  function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
24395
24406
  const _component_PaymentType = resolveComponent("PaymentType");
24396
24407
  const _component_MaintenanceInfo = resolveComponent("MaintenanceInfo");
@@ -24423,7 +24434,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
24423
24434
  src: _ctx.images.bankIcon,
24424
24435
  class: normalizeClass(_ctx.style.bankIcon),
24425
24436
  alt: ""
24426
- }, null, 10, _hoisted_1$K),
24437
+ }, null, 10, _hoisted_1$L),
24427
24438
  createBaseVNode("div", {
24428
24439
  class: normalizeClass(_ctx.style.addMethodMsg)
24429
24440
  }, toDisplayString(_ctx.lg.choosePayment.addMethod), 3),
@@ -24573,7 +24584,7 @@ const _sfc_main$1k = defineComponent({
24573
24584
  };
24574
24585
  }
24575
24586
  });
24576
- const _hoisted_1$J = { "data-testid": "address-title" };
24587
+ const _hoisted_1$K = { "data-testid": "address-title" };
24577
24588
  function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
24578
24589
  const _component_Button = resolveComponent("Button");
24579
24590
  return openBlock(), createElementBlock("div", {
@@ -24587,7 +24598,7 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
24587
24598
  createBaseVNode("div", {
24588
24599
  class: normalizeClass(_ctx.style.header)
24589
24600
  }, [
24590
- createBaseVNode("span", _hoisted_1$J, toDisplayString(_ctx.address.kyc ? _ctx.lg.userAddress.title : _ctx.address.title), 1)
24601
+ createBaseVNode("span", _hoisted_1$K, toDisplayString(_ctx.address.kyc ? _ctx.lg.userAddress.title : _ctx.address.title), 1)
24591
24602
  ], 2),
24592
24603
  createBaseVNode("div", {
24593
24604
  class: normalizeClass([_ctx.style.text]),
@@ -24698,12 +24709,12 @@ const _sfc_main$1j = defineComponent({
24698
24709
  };
24699
24710
  }
24700
24711
  });
24701
- const _hoisted_1$I = { key: 0 };
24712
+ const _hoisted_1$J = { key: 0 };
24702
24713
  function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
24703
24714
  const _component_Button = resolveComponent("Button");
24704
24715
  const _component_Divider = resolveComponent("Divider");
24705
24716
  return openBlock(), createElementBlock(Fragment, null, [
24706
- !_ctx.isDesktop ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
24717
+ !_ctx.isDesktop ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
24707
24718
  createBaseVNode("div", {
24708
24719
  class: normalizeClass(_ctx.style.footer),
24709
24720
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.add && _ctx.add(...args))
@@ -25029,12 +25040,12 @@ const _sfc_main$1f = defineComponent({
25029
25040
  };
25030
25041
  }
25031
25042
  });
25032
- const _hoisted_1$H = { "data-testid": "selected-address" };
25043
+ const _hoisted_1$I = { "data-testid": "selected-address" };
25033
25044
  function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
25034
25045
  const _component_NoRegisteredAddressMessage = resolveComponent("NoRegisteredAddressMessage");
25035
25046
  const _component_AddressInfo = resolveComponent("AddressInfo");
25036
25047
  const _component_Footer = resolveComponent("Footer");
25037
- return openBlock(), createElementBlock("div", _hoisted_1$H, [
25048
+ return openBlock(), createElementBlock("div", _hoisted_1$I, [
25038
25049
  createBaseVNode("div", {
25039
25050
  class: normalizeClass(_ctx.$style.container)
25040
25051
  }, [
@@ -26337,10 +26348,10 @@ const _sfc_main$1c = defineComponent({
26337
26348
  };
26338
26349
  }
26339
26350
  });
26340
- const _hoisted_1$G = { key: 0 };
26351
+ const _hoisted_1$H = { key: 0 };
26341
26352
  const _hoisted_2$j = ["disabled", "onClick"];
26342
26353
  function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
26343
- return _ctx.open ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
26354
+ return _ctx.open ? (openBlock(), createElementBlock("div", _hoisted_1$H, [
26344
26355
  createBaseVNode("div", {
26345
26356
  class: normalizeClass(_ctx.style.title)
26346
26357
  }, toDisplayString(_ctx.lg.userAddress.tagForm), 3),
@@ -26772,7 +26783,7 @@ const _sfc_main$1a = defineComponent({
26772
26783
  };
26773
26784
  }
26774
26785
  });
26775
- const _hoisted_1$F = ["src"];
26786
+ const _hoisted_1$G = ["src"];
26776
26787
  function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
26777
26788
  const _component_Button = resolveComponent("Button");
26778
26789
  const _component_ActionSheet = resolveComponent("ActionSheet");
@@ -26792,7 +26803,7 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
26792
26803
  createBaseVNode("img", {
26793
26804
  src: _ctx.img.iconError,
26794
26805
  alt: "!"
26795
- }, null, 8, _hoisted_1$F),
26806
+ }, null, 8, _hoisted_1$G),
26796
26807
  createBaseVNode("p", {
26797
26808
  class: normalizeClass(_ctx.style.title)
26798
26809
  }, toDisplayString(_ctx.lg.userAddress.deleteTitle), 3),
@@ -27656,7 +27667,7 @@ const _sfc_main$16 = defineComponent({
27656
27667
  };
27657
27668
  }
27658
27669
  });
27659
- const _hoisted_1$E = ["src"];
27670
+ const _hoisted_1$F = ["src"];
27660
27671
  const _hoisted_2$i = { key: 1 };
27661
27672
  function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
27662
27673
  const _component_DesktopHeader = resolveComponent("DesktopHeader");
@@ -27702,7 +27713,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
27702
27713
  src: _ctx.bannerInfo.iconImageUrl,
27703
27714
  class: normalizeClass(_ctx.style.bannerIcon),
27704
27715
  alt: ""
27705
- }, null, 10, _hoisted_1$E),
27716
+ }, null, 10, _hoisted_1$F),
27706
27717
  createBaseVNode("p", {
27707
27718
  class: normalizeClass(_ctx.style.bannerTitle)
27708
27719
  }, toDisplayString(_ctx.bannerInfo.title), 3)
@@ -28184,7 +28195,7 @@ const _sfc_main$13 = defineComponent({
28184
28195
  };
28185
28196
  }
28186
28197
  });
28187
- const _hoisted_1$D = ["onClick"];
28198
+ const _hoisted_1$E = ["onClick"];
28188
28199
  const _hoisted_2$h = ["src"];
28189
28200
  function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
28190
28201
  var _a2, _b, _c;
@@ -28253,7 +28264,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
28253
28264
  "data-test": "open-icon"
28254
28265
  }, null, 2)) : createCommentVNode("", true)
28255
28266
  ], 6)
28256
- ], 10, _hoisted_1$D);
28267
+ ], 10, _hoisted_1$E);
28257
28268
  }), 128))
28258
28269
  ], 2),
28259
28270
  createBaseVNode("div", {
@@ -28828,7 +28839,7 @@ const _sfc_main$11 = defineComponent({
28828
28839
  };
28829
28840
  }
28830
28841
  });
28831
- const _hoisted_1$C = ["src"];
28842
+ const _hoisted_1$D = ["src"];
28832
28843
  const _hoisted_2$g = /* @__PURE__ */ createBaseVNode("span", null, "\u6C7A\u6E08\u756A\u53F7", -1);
28833
28844
  function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
28834
28845
  const _component_DesktopHeader = resolveComponent("DesktopHeader");
@@ -28871,7 +28882,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
28871
28882
  src: _ctx.storeImage,
28872
28883
  class: normalizeClass(_ctx.style.storeLogo),
28873
28884
  alt: ""
28874
- }, null, 10, _hoisted_1$C)
28885
+ }, null, 10, _hoisted_1$D)
28875
28886
  ], 2)) : createCommentVNode("", true),
28876
28887
  createBaseVNode("div", {
28877
28888
  class: normalizeClass(_ctx.style.content)
@@ -29040,7 +29051,7 @@ const _sfc_main$10 = defineComponent({
29040
29051
  };
29041
29052
  }
29042
29053
  });
29043
- const _hoisted_1$B = ["src"];
29054
+ const _hoisted_1$C = ["src"];
29044
29055
  function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
29045
29056
  const _component_Button = resolveComponent("Button");
29046
29057
  return openBlock(), createElementBlock("div", {
@@ -29050,7 +29061,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
29050
29061
  src: _ctx.images.iconError,
29051
29062
  class: normalizeClass(_ctx.$style.headerImage),
29052
29063
  alt: "!"
29053
- }, null, 10, _hoisted_1$B),
29064
+ }, null, 10, _hoisted_1$C),
29054
29065
  createBaseVNode("div", {
29055
29066
  class: normalizeClass(_ctx.$style.content)
29056
29067
  }, [
@@ -29152,7 +29163,7 @@ const _sfc_main$$ = defineComponent({
29152
29163
  getButtonType
29153
29164
  }
29154
29165
  });
29155
- const _hoisted_1$A = ["src"];
29166
+ const _hoisted_1$B = ["src"];
29156
29167
  function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
29157
29168
  const _component_Button = resolveComponent("Button");
29158
29169
  return openBlock(), createElementBlock("div", {
@@ -29163,7 +29174,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
29163
29174
  src: _ctx.iconUrl,
29164
29175
  class: normalizeClass(_ctx.$style.headerImage),
29165
29176
  alt: ""
29166
- }, null, 10, _hoisted_1$A),
29177
+ }, null, 10, _hoisted_1$B),
29167
29178
  createBaseVNode("div", {
29168
29179
  class: normalizeClass(_ctx.$style.content)
29169
29180
  }, [
@@ -29238,7 +29249,7 @@ const _sfc_main$_ = defineComponent({
29238
29249
  };
29239
29250
  }
29240
29251
  });
29241
- const _hoisted_1$z = ["for"];
29252
+ const _hoisted_1$A = ["for"];
29242
29253
  const _hoisted_2$f = ["id"];
29243
29254
  function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
29244
29255
  return openBlock(), createElementBlock("div", {
@@ -29259,7 +29270,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
29259
29270
  }, null, 42, _hoisted_2$f), [
29260
29271
  [vModelText, _ctx.value]
29261
29272
  ])
29262
- ], 10, _hoisted_1$z)
29273
+ ], 10, _hoisted_1$A)
29263
29274
  ], 2);
29264
29275
  }
29265
29276
  const cssModules$Q = {};
@@ -29337,7 +29348,7 @@ const _sfc_main$Z = defineComponent({
29337
29348
  };
29338
29349
  }
29339
29350
  });
29340
- const _hoisted_1$y = ["src"];
29351
+ const _hoisted_1$z = ["src"];
29341
29352
  const _hoisted_2$e = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
29342
29353
  const _hoisted_3$9 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
29343
29354
  const _hoisted_4$3 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
@@ -29358,7 +29369,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
29358
29369
  createBaseVNode("img", {
29359
29370
  src: _ctx.images.iconBirthday,
29360
29371
  alt: ""
29361
- }, null, 8, _hoisted_1$y)
29372
+ }, null, 8, _hoisted_1$z)
29362
29373
  ], 2),
29363
29374
  createBaseVNode("div", {
29364
29375
  class: normalizeClass(_ctx.$style.content)
@@ -29484,7 +29495,7 @@ const _sfc_main$Y = defineComponent({
29484
29495
  };
29485
29496
  }
29486
29497
  });
29487
- const _hoisted_1$x = ["src"];
29498
+ const _hoisted_1$y = ["src"];
29488
29499
  const _hoisted_2$d = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
29489
29500
  const _hoisted_3$8 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
29490
29501
  function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
@@ -29503,7 +29514,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
29503
29514
  src: _ctx.images.iconMinorAge,
29504
29515
  class: normalizeClass(_ctx.$style.error),
29505
29516
  alt: "\u30A8\u30E9\u30FC"
29506
- }, null, 10, _hoisted_1$x)
29517
+ }, null, 10, _hoisted_1$y)
29507
29518
  ], 2),
29508
29519
  createBaseVNode("div", {
29509
29520
  class: normalizeClass(_ctx.$style.content)
@@ -29590,7 +29601,7 @@ const _sfc_main$X = defineComponent({
29590
29601
  };
29591
29602
  }
29592
29603
  });
29593
- const _hoisted_1$w = ["src"];
29604
+ const _hoisted_1$x = ["src"];
29594
29605
  function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
29595
29606
  return openBlock(), createElementBlock("div", {
29596
29607
  role: "button",
@@ -29603,7 +29614,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
29603
29614
  class: normalizeClass(_ctx.style.buttonImage),
29604
29615
  src: _ctx.imageUrl,
29605
29616
  alt: ""
29606
- }, null, 10, _hoisted_1$w)
29617
+ }, null, 10, _hoisted_1$x)
29607
29618
  ], 2),
29608
29619
  createBaseVNode("span", {
29609
29620
  class: normalizeClass(_ctx.style.buttonText)
@@ -30969,7 +30980,7 @@ const _sfc_main$W = defineComponent({
30969
30980
  };
30970
30981
  }
30971
30982
  });
30972
- const _hoisted_1$v = ["src"];
30983
+ const _hoisted_1$w = ["src"];
30973
30984
  function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
30974
30985
  const _component_Lottie = resolveComponent("Lottie");
30975
30986
  const _component_FloatingButton = resolveComponent("FloatingButton");
@@ -31002,7 +31013,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
31002
31013
  alt: "\u9589\u3058\u308B",
31003
31014
  "data-testid": "cash-back-detail-close-button",
31004
31015
  onClick: _cache[1] || (_cache[1] = (...args) => _ctx.close && _ctx.close(...args))
31005
- }, null, 14, _hoisted_1$v)) : createCommentVNode("", true),
31016
+ }, null, 14, _hoisted_1$w)) : createCommentVNode("", true),
31006
31017
  _ctx.showFullScreenContent ? (openBlock(), createElementBlock("div", {
31007
31018
  key: 1,
31008
31019
  class: normalizeClass(_ctx.style.campaignContainer)
@@ -31098,7 +31109,7 @@ const _sfc_main$V = defineComponent({
31098
31109
  };
31099
31110
  }
31100
31111
  });
31101
- const _hoisted_1$u = ["onClick"];
31112
+ const _hoisted_1$v = ["onClick"];
31102
31113
  function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
31103
31114
  return openBlock(), createElementBlock("ul", {
31104
31115
  class: normalizeClass(_ctx.style.container),
@@ -31116,7 +31127,7 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
31116
31127
  createBaseVNode("span", {
31117
31128
  class: normalizeClass(_ctx.style.unit)
31118
31129
  }, "\u5186", 2)
31119
- ], 10, _hoisted_1$u);
31130
+ ], 10, _hoisted_1$v);
31120
31131
  }), 128))
31121
31132
  ], 2);
31122
31133
  }
@@ -31192,7 +31203,7 @@ const _sfc_main$U = defineComponent({
31192
31203
  };
31193
31204
  }
31194
31205
  });
31195
- const _hoisted_1$t = ["src"];
31206
+ const _hoisted_1$u = ["src"];
31196
31207
  const _hoisted_2$c = { key: 0 };
31197
31208
  const _hoisted_3$7 = /* @__PURE__ */ createBaseVNode("span", null, "\u5186", -1);
31198
31209
  const _hoisted_4$2 = /* @__PURE__ */ createBaseVNode("span", null, "\u5186", -1);
@@ -31208,7 +31219,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
31208
31219
  src: _ctx.appLogo,
31209
31220
  class: normalizeClass(_ctx.style.appLogo),
31210
31221
  alt: ""
31211
- }, null, 10, _hoisted_1$t),
31222
+ }, null, 10, _hoisted_1$u),
31212
31223
  createBaseVNode("div", {
31213
31224
  class: normalizeClass(_ctx.style.appName)
31214
31225
  }, toDisplayString(_ctx.appDetail.appName), 3)
@@ -31323,7 +31334,7 @@ const _sfc_main$T = defineComponent({
31323
31334
  };
31324
31335
  }
31325
31336
  });
31326
- const _hoisted_1$s = ["src"];
31337
+ const _hoisted_1$t = ["src"];
31327
31338
  const _hoisted_2$b = ["src"];
31328
31339
  function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
31329
31340
  return openBlock(), createElementBlock("div", {
@@ -31344,7 +31355,7 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
31344
31355
  src: _ctx.iconImageUrl,
31345
31356
  class: normalizeClass(_ctx.style.icon),
31346
31357
  alt: ""
31347
- }, null, 10, _hoisted_1$s)) : createCommentVNode("", true),
31358
+ }, null, 10, _hoisted_1$t)) : createCommentVNode("", true),
31348
31359
  createBaseVNode("span", {
31349
31360
  class: normalizeClass([_ctx.style.title, _ctx.textStyle])
31350
31361
  }, toDisplayString(_ctx.title), 3),
@@ -31492,7 +31503,7 @@ const _sfc_main$S = defineComponent({
31492
31503
  };
31493
31504
  }
31494
31505
  });
31495
- const _hoisted_1$r = ["onClick"];
31506
+ const _hoisted_1$s = ["onClick"];
31496
31507
  function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
31497
31508
  const _component_Select = resolveComponent("Select");
31498
31509
  return openBlock(), createElementBlock("div", {
@@ -31511,7 +31522,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
31511
31522
  role: "button",
31512
31523
  "data-test": "select-amount",
31513
31524
  onClick: ($event) => _ctx.select(amount2)
31514
- }, toDisplayString(_ctx.operator) + toDisplayString(_ctx.numberWithCommas(amount2)), 11, _hoisted_1$r);
31525
+ }, toDisplayString(_ctx.operator) + toDisplayString(_ctx.numberWithCommas(amount2)), 11, _hoisted_1$s);
31515
31526
  }), 128)),
31516
31527
  _ctx.isSelectMoreVisible ? (openBlock(), createElementBlock("div", {
31517
31528
  key: 0,
@@ -31785,7 +31796,7 @@ const _sfc_main$R = defineComponent({
31785
31796
  };
31786
31797
  }
31787
31798
  });
31788
- const _hoisted_1$q = /* @__PURE__ */ createBaseVNode("span", null, "\u5186", -1);
31799
+ const _hoisted_1$r = /* @__PURE__ */ createBaseVNode("span", null, "\u5186", -1);
31789
31800
  const _hoisted_2$a = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
31790
31801
  const _hoisted_3$6 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
31791
31802
  function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
@@ -31828,7 +31839,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
31828
31839
  class: normalizeClass(_ctx.style.topupAmount)
31829
31840
  }, [
31830
31841
  createTextVNode(toDisplayString(_ctx.topupAmountText), 1),
31831
- _hoisted_1$q
31842
+ _hoisted_1$r
31832
31843
  ], 2)
31833
31844
  ], 2)
31834
31845
  ], 2),
@@ -32063,7 +32074,7 @@ const _sfc_main$Q = defineComponent({
32063
32074
  };
32064
32075
  }
32065
32076
  });
32066
- const _hoisted_1$p = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
32077
+ const _hoisted_1$q = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
32067
32078
  function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
32068
32079
  const _component_Header = resolveComponent("Header");
32069
32080
  const _component_MaintenanceInfo = resolveComponent("MaintenanceInfo");
@@ -32107,7 +32118,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
32107
32118
  class: normalizeClass(_ctx.style.bottomText)
32108
32119
  }, [
32109
32120
  createTextVNode(toDisplayString(_ctx.lg.choosePayment.desc1), 1),
32110
- _hoisted_1$p,
32121
+ _hoisted_1$q,
32111
32122
  createTextVNode(" " + toDisplayString(_ctx.lg.choosePayment.desc2), 1)
32112
32123
  ], 2)
32113
32124
  ], 6)
@@ -32649,7 +32660,7 @@ const _sfc_main$O = defineComponent({
32649
32660
  };
32650
32661
  }
32651
32662
  });
32652
- const _hoisted_1$o = ["src"];
32663
+ const _hoisted_1$p = ["src"];
32653
32664
  const _hoisted_2$9 = { key: 0 };
32654
32665
  const _hoisted_3$5 = {
32655
32666
  key: 1,
@@ -32671,7 +32682,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
32671
32682
  class: normalizeClass(_ctx.$style.icon),
32672
32683
  src: _ctx.images.icon3DSecure,
32673
32684
  alt: "3D\u30BB\u30AD\u30E5\u30A2"
32674
- }, null, 10, _hoisted_1$o),
32685
+ }, null, 10, _hoisted_1$p),
32675
32686
  createBaseVNode("h1", {
32676
32687
  class: normalizeClass(_ctx.$style.title)
32677
32688
  }, toDisplayString(_ctx.lg.title), 3),
@@ -33586,7 +33597,7 @@ const _sfc_main$L = defineComponent({
33586
33597
  getButtonType
33587
33598
  }
33588
33599
  });
33589
- const _hoisted_1$n = ["src"];
33600
+ const _hoisted_1$o = ["src"];
33590
33601
  function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
33591
33602
  const _component_Button = resolveComponent("Button");
33592
33603
  return openBlock(), createElementBlock("div", {
@@ -33596,7 +33607,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
33596
33607
  src: _ctx.iconUrl,
33597
33608
  class: normalizeClass(_ctx.style.bannerInfoIcon),
33598
33609
  alt: ""
33599
- }, null, 10, _hoisted_1$n),
33610
+ }, null, 10, _hoisted_1$o),
33600
33611
  createBaseVNode("div", {
33601
33612
  class: normalizeClass(_ctx.style.bannerTitle)
33602
33613
  }, toDisplayString(_ctx.title), 3),
@@ -33792,7 +33803,7 @@ const _sfc_main$J = defineComponent({
33792
33803
  }
33793
33804
  }
33794
33805
  });
33795
- const _hoisted_1$m = ["src"];
33806
+ const _hoisted_1$n = ["src"];
33796
33807
  const _hoisted_2$8 = ["src"];
33797
33808
  function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
33798
33809
  const _component_Divider = resolveComponent("Divider");
@@ -33804,7 +33815,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
33804
33815
  alt: "\u30DA\u30A4\u30DA\u30A4",
33805
33816
  class: normalizeClass(_ctx.style.paypayLogo),
33806
33817
  src: _ctx.images.paypay
33807
- }, null, 10, _hoisted_1$m),
33818
+ }, null, 10, _hoisted_1$n),
33808
33819
  createBaseVNode("div", {
33809
33820
  class: normalizeClass(_ctx.style.title)
33810
33821
  }, toDisplayString(_ctx.lg.topupCompletion.title), 3),
@@ -34344,7 +34355,7 @@ const _sfc_main$I = defineComponent({
34344
34355
  }
34345
34356
  }
34346
34357
  });
34347
- const _hoisted_1$l = { key: 0 };
34358
+ const _hoisted_1$m = { key: 0 };
34348
34359
  const _hoisted_2$7 = { key: 1 };
34349
34360
  function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
34350
34361
  const _component_Header = resolveComponent("Header");
@@ -34448,7 +34459,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
34448
34459
  createBaseVNode("div", {
34449
34460
  class: normalizeClass(_ctx.$style.invalidAmount)
34450
34461
  }, [
34451
- _ctx.minAmountUnmet ? (openBlock(), createElementBlock("span", _hoisted_1$l, toDisplayString(_ctx.minAMountErrorMessage), 1)) : createCommentVNode("", true),
34462
+ _ctx.minAmountUnmet ? (openBlock(), createElementBlock("span", _hoisted_1$m, toDisplayString(_ctx.minAMountErrorMessage), 1)) : createCommentVNode("", true),
34452
34463
  _ctx.maxAmountExceeded ? (openBlock(), createElementBlock("span", _hoisted_2$7, toDisplayString(_ctx.lg.topup.maxAmount), 1)) : createCommentVNode("", true)
34453
34464
  ], 2)
34454
34465
  ], 2),
@@ -34757,9 +34768,9 @@ function removeStorageData(params) {
34757
34768
  }
34758
34769
  async function getPermissionStatus(params) {
34759
34770
  const newParams = reconstructParams(params);
34760
- await execute$b(newParams);
34771
+ await execute$d(newParams);
34761
34772
  }
34762
- async function execute$b(params) {
34773
+ async function execute$d(params) {
34763
34774
  var _a2, _b, _c;
34764
34775
  try {
34765
34776
  const permissionList = await getUserGrantedPermission();
@@ -35100,7 +35111,7 @@ const _sfc_main$G = defineComponent({
35100
35111
  }
35101
35112
  }
35102
35113
  });
35103
- const _hoisted_1$k = ["src"];
35114
+ const _hoisted_1$l = ["src"];
35104
35115
  function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
35105
35116
  const _component_Button = resolveComponent("Button");
35106
35117
  const _component_ActionSheet = resolveComponent("ActionSheet");
@@ -35119,7 +35130,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
35119
35130
  src: _ctx.images.iconAppUpdate,
35120
35131
  class: normalizeClass(_ctx.$style.updateIcon),
35121
35132
  alt: "\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8"
35122
- }, null, 10, _hoisted_1$k),
35133
+ }, null, 10, _hoisted_1$l),
35123
35134
  createBaseVNode("span", {
35124
35135
  class: normalizeClass(_ctx.$style.updateTitle),
35125
35136
  "data-testid": "update-title"
@@ -35215,9 +35226,9 @@ function showUpdateWarning$1(params) {
35215
35226
  }
35216
35227
  async function getPlatformInformation(params) {
35217
35228
  const newParams = reconstructParams(params);
35218
- await execute$a(newParams);
35229
+ await execute$c(newParams);
35219
35230
  }
35220
- async function execute$a(params) {
35231
+ async function execute$c(params) {
35221
35232
  var _a2, _b;
35222
35233
  let sdkVersion = null;
35223
35234
  let preferredLanguage = getPayPayLanguage();
@@ -35248,9 +35259,9 @@ async function execute$a(params) {
35248
35259
  }
35249
35260
  function getDeviceInformation(params) {
35250
35261
  const newParams = reconstructParams(params);
35251
- execute$9(newParams);
35262
+ execute$b(newParams);
35252
35263
  }
35253
- function execute$9(params) {
35264
+ function execute$b(params) {
35254
35265
  var _a2;
35255
35266
  const runtime = getRuntime();
35256
35267
  (_a2 = params == null ? void 0 : params.success) == null ? void 0 : _a2.call(params, {
@@ -35333,7 +35344,7 @@ const _sfc_main$F = defineComponent({
35333
35344
  };
35334
35345
  }
35335
35346
  });
35336
- const _hoisted_1$j = ["src"];
35347
+ const _hoisted_1$k = ["src"];
35337
35348
  function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
35338
35349
  const _component_Button = resolveComponent("Button");
35339
35350
  const _component_ActionSheet = resolveComponent("ActionSheet");
@@ -35350,7 +35361,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
35350
35361
  src: _ctx.images.iconOpenApp,
35351
35362
  class: normalizeClass(_ctx.style.appIcon),
35352
35363
  alt: "\u5916\u90E8\u30A2\u30D7\u30EA\u3092\u958B\u304F"
35353
- }, null, 10, _hoisted_1$j),
35364
+ }, null, 10, _hoisted_1$k),
35354
35365
  createBaseVNode("span", {
35355
35366
  class: normalizeClass(_ctx.style.title)
35356
35367
  }, toDisplayString(_ctx.lg.openApp.title), 3)
@@ -35468,9 +35479,9 @@ async function share(shareParams) {
35468
35479
  }
35469
35480
  async function getKycInformation(params) {
35470
35481
  const newParams = reconstructParams(params);
35471
- await execute$8(newParams);
35482
+ await execute$a(newParams);
35472
35483
  }
35473
- async function execute$8(params) {
35484
+ async function execute$a(params) {
35474
35485
  var _a2, _b, _c, _d, _e, _f, _g, _h;
35475
35486
  try {
35476
35487
  const grantStatus = await checkPermission(PermissionName.mini_app_kyc);
@@ -35891,12 +35902,12 @@ async function checkPaymentMethod(checkPayMethodParams) {
35891
35902
  }
35892
35903
  function debug(params) {
35893
35904
  const newParams = reconstructParams(params);
35894
- execute$7(newParams);
35905
+ execute$9(newParams);
35895
35906
  }
35896
- function execute$7(params) {
35907
+ function execute$9(params) {
35897
35908
  var _a2;
35898
35909
  (_a2 = params == null ? void 0 : params.success) == null ? void 0 : _a2.call(params, {
35899
- v: "1.60.0"
35910
+ v: "1.61.0"
35900
35911
  });
35901
35912
  }
35902
35913
  function useCallBack(props, ctx) {
@@ -36359,7 +36370,7 @@ const _sfc_main$C = defineComponent({
36359
36370
  };
36360
36371
  }
36361
36372
  });
36362
- const _hoisted_1$i = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
36373
+ const _hoisted_1$j = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
36363
36374
  function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
36364
36375
  const _component_Button = resolveComponent("Button");
36365
36376
  const _component_ActionSheet = resolveComponent("ActionSheet");
@@ -36384,7 +36395,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
36384
36395
  class: normalizeClass(_ctx.$style.content)
36385
36396
  }, [
36386
36397
  createTextVNode(" \u8A8D\u8A3C\u30E1\u30FC\u30EB\u3092\u518D\u9001\u3059\u308B\u304B"),
36387
- _hoisted_1$i,
36398
+ _hoisted_1$j,
36388
36399
  createTextVNode(" \u5225\u306E\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3067\u767B\u9332\u3092\u3084\u308A\u76F4\u3057\u3066\u304F\u3060\u3055\u3044 ")
36389
36400
  ], 2),
36390
36401
  createBaseVNode("div", {
@@ -36548,7 +36559,7 @@ const _sfc_main$B = defineComponent({
36548
36559
  };
36549
36560
  }
36550
36561
  });
36551
- const _hoisted_1$h = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
36562
+ const _hoisted_1$i = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
36552
36563
  const _hoisted_2$6 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
36553
36564
  const _hoisted_3$4 = /* @__PURE__ */ createBaseVNode("svg", {
36554
36565
  width: "20",
@@ -36603,7 +36614,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
36603
36614
  class: normalizeClass(_ctx.$style.mailContent)
36604
36615
  }, [
36605
36616
  createTextVNode(" \u4E0A\u8A18\u30A2\u30C9\u30EC\u30B9\u306B\u78BA\u8A8D\u30E1\u30FC\u30EB\u3092\u9001\u4FE1\u3057\u307E\u3057\u305F"),
36606
- _hoisted_1$h,
36617
+ _hoisted_1$i,
36607
36618
  createTextVNode(" \u30E1\u30FC\u30EB\u306B\u8A18\u8F09\u3055\u308C\u305FURL\u304B\u3089"),
36608
36619
  _hoisted_2$6,
36609
36620
  createBaseVNode("span", {
@@ -36813,7 +36824,7 @@ const _sfc_main$A = defineComponent({
36813
36824
  };
36814
36825
  }
36815
36826
  });
36816
- const _hoisted_1$g = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
36827
+ const _hoisted_1$h = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
36817
36828
  function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
36818
36829
  var _a2;
36819
36830
  const _component_Email = resolveComponent("Email");
@@ -36862,7 +36873,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
36862
36873
  class: normalizeClass(_ctx.$style.info)
36863
36874
  }, [
36864
36875
  createTextVNode(" \u3053\u306E\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306FPayPay\u306B\u3082\u767B\u9332\u3055\u308C\u307E\u3059"),
36865
- _hoisted_1$g,
36876
+ _hoisted_1$h,
36866
36877
  createTextVNode(" \u914D\u4FE1\u306E\u8A2D\u5B9A\u306F\u30D7\u30ED\u30D5\u30A3\u30FC\u30EB\u753B\u9762\u304B\u3089\u53EF\u80FD\u3067\u3059 ")
36867
36878
  ], 2),
36868
36879
  createBaseVNode("div", {
@@ -37063,9 +37074,9 @@ function registerEmail(params, allowsUpdate = false) {
37063
37074
  }
37064
37075
  function registerKyc(params) {
37065
37076
  const newParams = reconstructParams(params);
37066
- execute$6(newParams);
37077
+ execute$8(newParams);
37067
37078
  }
37068
- function execute$6(params) {
37079
+ function execute$8(params) {
37069
37080
  var _a2;
37070
37081
  params = {
37071
37082
  ...params,
@@ -37107,17 +37118,18 @@ function execute$6(params) {
37107
37118
  const MinVersion = {
37108
37119
  PRE_TRANSACTION_AUTO_CHARGE: "3.43.0",
37109
37120
  FALLBACK_PAYMENT_METHOD: "3.61.0",
37121
+ OS_HOME_SCREEN_ICON: "3.71.0",
37110
37122
  START_MULTIFACTOR_AUTH_ANDROID_FIX: "3.67.0"
37111
37123
  };
37112
37124
  async function startMultiFactorAuth(params) {
37113
37125
  const newParams = reconstructParams(params);
37114
- await execute$5(newParams);
37126
+ await execute$7(newParams);
37115
37127
  }
37116
37128
  function validType(params) {
37117
37129
  const authTypes = ["BIOMETRIC"];
37118
37130
  return authTypes.includes(params == null ? void 0 : params.type);
37119
37131
  }
37120
- async function execute$5(params) {
37132
+ async function execute$7(params) {
37121
37133
  var _a2, _b, _c, _d, _e, _f, _g, _h, _i;
37122
37134
  if (!validType(params)) {
37123
37135
  return (_a2 = params == null ? void 0 : params.fail) == null ? void 0 : _a2.call(params, { errorCode: MiniAppErrorType.invalidType });
@@ -37158,9 +37170,9 @@ async function execute$5(params) {
37158
37170
  }
37159
37171
  function logout(params) {
37160
37172
  const newParams = reconstructParams(params);
37161
- execute$4(newParams);
37173
+ execute$6(newParams);
37162
37174
  }
37163
- function execute$4(params) {
37175
+ function execute$6(params) {
37164
37176
  var _a2, _b;
37165
37177
  try {
37166
37178
  Object.entries(PpLocalStorageKey).forEach(([_, value2]) => {
@@ -37175,9 +37187,9 @@ function execute$4(params) {
37175
37187
  }
37176
37188
  async function verifyMultiFactorAuthResult(params) {
37177
37189
  const newParams = reconstructParams(params);
37178
- await execute$3(newParams);
37190
+ await execute$5(newParams);
37179
37191
  }
37180
- async function execute$3(params) {
37192
+ async function execute$5(params) {
37181
37193
  var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
37182
37194
  const urlParams = new URLSearchParams(window.location.search);
37183
37195
  const sessionId = urlParams == null ? void 0 : urlParams.get("ppSessionId");
@@ -37791,7 +37803,7 @@ const _sfc_main$y = defineComponent({
37791
37803
  };
37792
37804
  }
37793
37805
  });
37794
- const _hoisted_1$f = ["href"];
37806
+ const _hoisted_1$g = ["href"];
37795
37807
  const _hoisted_2$5 = ["src"];
37796
37808
  const _hoisted_3$3 = ["src"];
37797
37809
  function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
@@ -37847,7 +37859,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
37847
37859
  alt: "",
37848
37860
  onError: _cache[0] || (_cache[0] = (...args) => _ctx.onError && _ctx.onError(...args))
37849
37861
  }, null, 42, _hoisted_3$3)) : createCommentVNode("", true)
37850
- ], 10, _hoisted_1$f)
37862
+ ], 10, _hoisted_1$g)
37851
37863
  ], 2);
37852
37864
  }
37853
37865
  const cssModules$r = {};
@@ -38672,7 +38684,7 @@ const _sfc_main$v = defineComponent({
38672
38684
  };
38673
38685
  }
38674
38686
  });
38675
- const _hoisted_1$e = ["type", "pattern", "inputmode", "placeholder"];
38687
+ const _hoisted_1$f = ["type", "pattern", "inputmode", "placeholder"];
38676
38688
  const _hoisted_2$4 = ["src"];
38677
38689
  function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
38678
38690
  return openBlock(), createElementBlock("div", {
@@ -38692,7 +38704,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
38692
38704
  class: normalizeClass(_ctx.$style.input),
38693
38705
  onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
38694
38706
  onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.onBlur && _ctx.onBlur(...args))
38695
- }, null, 42, _hoisted_1$e), [
38707
+ }, null, 42, _hoisted_1$f), [
38696
38708
  [vModelDynamic, _ctx.state.value]
38697
38709
  ]),
38698
38710
  withDirectives(createBaseVNode("button", {
@@ -38749,7 +38761,7 @@ const _sfc_main$u = defineComponent({
38749
38761
  };
38750
38762
  }
38751
38763
  });
38752
- const _hoisted_1$d = ["onClick"];
38764
+ const _hoisted_1$e = ["onClick"];
38753
38765
  function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
38754
38766
  return openBlock(), createElementBlock("div", {
38755
38767
  class: normalizeClass(_ctx.$style.container)
@@ -38762,7 +38774,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
38762
38774
  [_ctx.$style.selected]: button4 === _ctx.selectedValue
38763
38775
  }),
38764
38776
  onClick: ($event) => _ctx.onClick(button4)
38765
- }, toDisplayString(button4), 11, _hoisted_1$d);
38777
+ }, toDisplayString(button4), 11, _hoisted_1$e);
38766
38778
  }), 128))
38767
38779
  ], 2);
38768
38780
  }
@@ -38848,7 +38860,7 @@ const _sfc_main$t = defineComponent({
38848
38860
  };
38849
38861
  }
38850
38862
  });
38851
- const _hoisted_1$c = ["src"];
38863
+ const _hoisted_1$d = ["src"];
38852
38864
  function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
38853
38865
  return openBlock(), createElementBlock("div", {
38854
38866
  class: normalizeClass(_ctx.$style.container)
@@ -38876,7 +38888,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
38876
38888
  class: normalizeClass(_ctx.$style.icon),
38877
38889
  src: _ctx.images.iconRightArrowGray,
38878
38890
  alt: ">"
38879
- }, null, 10, _hoisted_1$c)
38891
+ }, null, 10, _hoisted_1$d)
38880
38892
  ], 2),
38881
38893
  _ctx.notVerified ? (openBlock(), createElementBlock("div", {
38882
38894
  key: 0,
@@ -38983,9 +38995,9 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
38983
38995
  const cssModules$n = {};
38984
38996
  cssModules$n["$style"] = style0$n;
38985
38997
  var RegisterUserInfoDataPointGroup = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__cssModules", cssModules$n]]);
38986
- const container$8 = "_container_rustj_1";
38987
- const name = "_name_rustj_6";
38988
- const value = "_value_rustj_12";
38998
+ const container$8 = "_container_7iz73_1";
38999
+ const name = "_name_7iz73_6";
39000
+ const value = "_value_7iz73_13";
38989
39001
  var style0$m = {
38990
39002
  container: container$8,
38991
39003
  name,
@@ -39022,16 +39034,18 @@ const _sfc_main$r = defineComponent({
39022
39034
  }
39023
39035
  }
39024
39036
  });
39037
+ const _hoisted_1$c = { "aria-label": "User Info" };
39025
39038
  function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
39026
39039
  return openBlock(), createElementBlock("div", {
39027
39040
  class: normalizeClass(_ctx.$style.container)
39028
39041
  }, [
39029
- createBaseVNode("table", null, [
39042
+ createBaseVNode("table", _hoisted_1$c, [
39030
39043
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.dataPointGroups, (group) => {
39031
39044
  return openBlock(), createElementBlock("tr", {
39032
39045
  key: group.groupType
39033
39046
  }, [
39034
- createBaseVNode("td", {
39047
+ createBaseVNode("th", {
39048
+ scope: "row",
39035
39049
  class: normalizeClass(_ctx.$style.name)
39036
39050
  }, toDisplayString(group.groupName), 3),
39037
39051
  createBaseVNode("td", {
@@ -40091,9 +40105,9 @@ function getBankInfo(params) {
40091
40105
  if (complete) {
40092
40106
  params.complete = createWrapComplete(complete);
40093
40107
  }
40094
- execute$2(params);
40108
+ execute$4(params);
40095
40109
  }
40096
- function execute$2(params) {
40110
+ function execute$4(params) {
40097
40111
  var _a2, _b;
40098
40112
  try {
40099
40113
  const container2 = document.createElement("div");
@@ -42171,9 +42185,9 @@ function triggerFailCallback(params, errorCode) {
42171
42185
  }
42172
42186
  async function getCashbackInformation(params) {
42173
42187
  const newParams = reconstructParams(params);
42174
- await execute$1(newParams);
42188
+ await execute$3(newParams);
42175
42189
  }
42176
- async function execute$1(params) {
42190
+ async function execute$3(params) {
42177
42191
  var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
42178
42192
  try {
42179
42193
  if (!(params == null ? void 0 : params.merchantPaymentId)) {
@@ -42207,6 +42221,136 @@ async function execute$1(params) {
42207
42221
  return (_k = params == null ? void 0 : params.fail) == null ? void 0 : _k.call(params, { errorCode: MiniAppErrorType.serverError });
42208
42222
  }
42209
42223
  }
42224
+ function addShortcut(params) {
42225
+ var _a2;
42226
+ const newParams = reconstructParams(params);
42227
+ if (Object.values(AddShortcutTypes).includes(params.type)) {
42228
+ execute$2(newParams);
42229
+ } else {
42230
+ (_a2 = newParams == null ? void 0 : newParams.fail) == null ? void 0 : _a2.call(newParams, {
42231
+ errorCode: MiniAppErrorType.badRequestInsufficientParameter
42232
+ });
42233
+ return;
42234
+ }
42235
+ }
42236
+ function execute$2(params) {
42237
+ var _a2;
42238
+ if (params.type === AddShortcutTypes.FAVORITE) {
42239
+ addToFavorite(params).catch(() => {
42240
+ });
42241
+ } else {
42242
+ const isMethodSupported = checkVersion(MinVersion.OS_HOME_SCREEN_ICON);
42243
+ if (!isMethodSupported) {
42244
+ (_a2 = params == null ? void 0 : params.fail) == null ? void 0 : _a2.call(params, {
42245
+ errorCode: MiniAppErrorType.notAvailable
42246
+ });
42247
+ return;
42248
+ }
42249
+ closeApp({
42250
+ options: {
42251
+ deeplink: "paypay://addMiniAppShortcut"
42252
+ },
42253
+ fail: params.fail
42254
+ });
42255
+ }
42256
+ }
42257
+ async function addToFavorite(params) {
42258
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j;
42259
+ const clientId = getClientId();
42260
+ if (!clientId) {
42261
+ (_a2 = params == null ? void 0 : params.fail) == null ? void 0 : _a2.call(params, { errorCode: MiniAppErrorType.sdkNotInitialized });
42262
+ return;
42263
+ }
42264
+ const getAPIResponse = await shortcutApiHandler(
42265
+ "GET",
42266
+ void 0,
42267
+ { clientId }
42268
+ );
42269
+ if (getAPIResponse.ppFetchResult === "apiError" && ((_b = getAPIResponse.body.unsigned) == null ? void 0 : _b.resultInfo.code) === "RESOURCE_NOT_FOUND") {
42270
+ (_c = params == null ? void 0 : params.fail) == null ? void 0 : _c.call(params, {
42271
+ errorCode: MiniAppErrorType.badRequest
42272
+ });
42273
+ return;
42274
+ } else if (getAPIResponse.ppFetchResult !== "success") {
42275
+ (_d = params == null ? void 0 : params.fail) == null ? void 0 : _d.call(params, {
42276
+ errorCode: getFailErrorCode(getAPIResponse.ppFetchResult)
42277
+ });
42278
+ return;
42279
+ }
42280
+ const miniappMetadata = getAPIResponse.body.unsigned.data.smartFunctionInfoList[0];
42281
+ if (miniappMetadata.exists) {
42282
+ (_e = params == null ? void 0 : params.success) == null ? void 0 : _e.call(params);
42283
+ return;
42284
+ }
42285
+ const addFavoriteRes = await shortcutApiHandler(
42286
+ "PUT",
42287
+ { featureId: miniappMetadata.featureId },
42288
+ void 0
42289
+ );
42290
+ if (addFavoriteRes.ppFetchResult === "apiError") {
42291
+ (_h = params == null ? void 0 : params.fail) == null ? void 0 : _h.call(params, {
42292
+ errorCode: (_g = (_f = addFavoriteRes.body.unsigned) == null ? void 0 : _f.resultInfo.code) != null ? _g : MiniAppErrorType.serverError
42293
+ });
42294
+ return;
42295
+ } else if (addFavoriteRes.ppFetchResult !== "success") {
42296
+ (_i = params == null ? void 0 : params.fail) == null ? void 0 : _i.call(params, {
42297
+ errorCode: getFailErrorCode(addFavoriteRes.ppFetchResult)
42298
+ });
42299
+ return;
42300
+ }
42301
+ (_j = params == null ? void 0 : params.success) == null ? void 0 : _j.call(params);
42302
+ }
42303
+ async function shortcutApiHandler(method2, data2, params) {
42304
+ return await ppFetch2({
42305
+ method: method2,
42306
+ url: "web-api/app/v1/shortcut",
42307
+ data: data2,
42308
+ params
42309
+ });
42310
+ }
42311
+ function shortcutExists(params) {
42312
+ var _a2;
42313
+ const newParams = reconstructParams(params);
42314
+ if (Object.values(ShortcutExistsTypes).includes(params.type)) {
42315
+ execute$1(newParams).catch(() => {
42316
+ });
42317
+ } else {
42318
+ (_a2 = newParams == null ? void 0 : newParams.fail) == null ? void 0 : _a2.call(newParams, {
42319
+ errorCode: MiniAppErrorType.badRequestInsufficientParameter
42320
+ });
42321
+ return;
42322
+ }
42323
+ }
42324
+ async function execute$1(params) {
42325
+ var _a2, _b, _c, _d, _e, _f;
42326
+ const clientId = getClientId();
42327
+ if (!clientId) {
42328
+ (_a2 = params == null ? void 0 : params.fail) == null ? void 0 : _a2.call(params, { errorCode: MiniAppErrorType.sdkNotInitialized });
42329
+ return;
42330
+ }
42331
+ const res = await ppFetch2({
42332
+ method: "GET",
42333
+ url: "web-api/app/v1/shortcut",
42334
+ params: {
42335
+ clientId
42336
+ }
42337
+ });
42338
+ if (res.ppFetchResult === "apiError" && ((_b = res.body.unsigned) == null ? void 0 : _b.resultInfo.code) === "RESOURCE_NOT_FOUND") {
42339
+ (_c = params == null ? void 0 : params.fail) == null ? void 0 : _c.call(params, {
42340
+ errorCode: MiniAppErrorType.badRequest
42341
+ });
42342
+ return;
42343
+ } else if (res.ppFetchResult !== "success") {
42344
+ (_d = params == null ? void 0 : params.fail) == null ? void 0 : _d.call(params, {
42345
+ errorCode: getFailErrorCode(res.ppFetchResult)
42346
+ });
42347
+ return;
42348
+ }
42349
+ const miniappMetadata = res.body.unsigned.data.smartFunctionInfoList[0];
42350
+ (_f = params == null ? void 0 : params.success) == null ? void 0 : _f.call(params, {
42351
+ exists: (_e = miniappMetadata.exists) != null ? _e : false
42352
+ });
42353
+ }
42210
42354
  async function getUserPaymentFeatureSettings(params) {
42211
42355
  const newParams = reconstructParams(params);
42212
42356
  await execute(newParams);
@@ -42438,6 +42582,12 @@ class MiniAppModule extends JsBridgeModule {
42438
42582
  registerPaymentFeatures(params) {
42439
42583
  registerPaymentFeatures(params);
42440
42584
  }
42585
+ addShortcut(params) {
42586
+ addShortcut(params);
42587
+ }
42588
+ shortcutExists(params) {
42589
+ shortcutExists(params);
42590
+ }
42441
42591
  getUserPaymentFeatureSettings(params) {
42442
42592
  getUserPaymentFeatureSettings(params).catch(() => {
42443
42593
  });