1(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._root_ej7id_2{position:relative;z-index:10;display:flex;justify-content:space-between;flex-shrink:0;height:108px;padding:12px;outline:transparent solid var(--size-border-focus);transition:outline-color .25s;cursor:default;border-radius:var(--rounding-surface-l);background-image:var(--color-banner-bonus-bg-crypto-grad)}._container_ej7id_17{display:flex;flex-direction:column;gap:4px;width:calc(100% - 114px)}._title_ej7id_24{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:var(--color-foreground-static-white)}._text_ej7id_30{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;width:100%;text-overflow:ellipsis;overflow:hidden;color:var(--color-foreground-static-white-alpha-20)}._image_ej7id_40{position:absolute;top:0;right:0;z-index:-10;border-radius:inherit}._root_vtbog_2{padding-top:2px}._space_vtbog_6{margin:8px 4px 0}._withdrawalActiveButton_vtbog_10{position:absolute;bottom:20px;left:50%;transform:translate(-50%)}._modalHeader_9u7dd_2{padding-bottom:16px}._trigger_9u7dd_6{display:flex;align-items:center;justify-content:space-between;gap:var(--gap-dropdown);width:100%;height:var(--size-dropdown);padding:0 var(--padding-dropdown);color:var(--color-foreground-neutral-primary);background-color:var(--color-dropdown-background-default);border-radius:var(--rounding-element-box-m);outline:transparent solid var(--size-border-focus);transition:background-color .25s,outline-color .25s;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}._trigger_9u7dd_6:active{opacity:var(--opacity-item-active)}._trigger_9u7dd_6:disabled{opacity:var(--opacity-item-disabled)}._trigger_9u7dd_6:focus-visible{outline:var(--color-border-focus) solid var(--size-border-focus);outline-offset:var(--size-border-focus)}._trigger_9u7dd_6:hover:not(:disabled){background-color:var(--color-dropdown-background-hover)}._networkLabel_9u7dd_42{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}._list_9u7dd_46{margin-inline:-16px}._space_1ygwu_3{margin:8px 4px 0}._submit_1ygwu_7{display:flex;flex-direction:column;gap:8px}._networkFee_1ygwu_13{text-align:center}._withdrawalActiveButton_1ygwu_17{position:absolute;bottom:20px;left:50%;transform:translate(-50%)}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})(); 2import { defineComponent as j, computed as S, openBlock as d, createElementBlock as G, normalizeClass as M, createElementVNode as E, createVNode as I, withCtx as f, createTextVNode as A, toDisplayString as F, unref as e, createCommentVNode as b, toValue as Ce, reactive as K, ref as R, onBeforeMount as ie, createBlock as v, Fragment as V, renderList as Ie, provide as Be, toRef as re, watch as Fe, onBeforeUnmount as Ae, resolveDirective as Ne, withDirectives as $e } from "vue"; 3import { useRoute as ee, useRouter as de } from "vue-router"; 4import { u as te, b as D, h as q, ak as U, _ as Y, f as J, e as ce, i as ue, Y as We, k as he, w as H, az as Ee, c3 as Ge, c4 as He, bF as De, bW as Re, a5 as Ve, S as me, C as Te, a0 as ye, b_ as xe, A as je, by as Oe, L as Z, P as le, O as ze, aH as Ke, c5 as Ue, c6 as qe, b4 as Ye, T as Je, bk as Qe, c7 as Xe, j as Ze, c8 as et, am as tt, an as at, ad as ot, ap as nt, ac as st, M as rt, x as lt } from "./package-entrypoint-DERGeUZd.js"; 5import { u as pe, a as we } from "./use-history-6Z48a3j0.js"; 6import { W as ge, A as fe } from "./active-withdrawals-modal-BXahY9GN.js"; 7import { u as it } from "./use-withdrawal-credentials-DzFkVrG4.js"; 8import { u as dt, C as ct } from "./use-withdrawal-submission-B5tIDzIF.js"; 9import { W as ut } from "./withdrawal-form-nUpj_jHP.js"; 10const ht = ["src", "srcset"], mt = /* @__PURE__ */ j({ 11 __name: "post-win-banner", 12 setup(P) { 13 const r = te(), a = D(), c = q(), s = { 14 1: (t) => ({ 15 text: r.t("withdrawal.postWinBanner.depositBoost.text"), 16 title: r.t("withdrawal.postWinBanner.depositBoost.title", { ratio: t.winRatio }) 17 }), 18 2: () => ({ 19 text: r.t("withdrawal.postWinBanner.luckyStreak.text"), 20 title: r.t("withdrawal.postWinBanner.luckyStreak.title") 21 }) 22 }, l = S(() => { 23 const t = c.withdrawalBannersData?.postWinBanner; 24 return t ? s[t.type]?.(t) : void 0; 25 }), h = a.getStaticURL("images/gold.png"), w = a.getStaticURL("images/gold-2x.png"); 26 return (t, _) => l.value ? (d(), G("div", { 27 key: 0, 28 class: M(t.$style.root) 29 }, [ 30 E("div", { 31 class: M(t.$style.container) 32 }, [ 33 I(U, { 34 class: M(t.$style.title), 35 size: "s-sb" 36 }, { 37 default: f(() => [ 38 A(F(l.value.title), 1) 39 ]), 40 _: 1 41 }, 8, ["class"]), 42 I(U, { 43 class: M(t.$style.text) 44 }, { 45 default: f(() => [ 46 A(F(l.value.text), 1) 47 ]), 48 _: 1 49 }, 8, ["class"]) 50 ], 2), 51 E("img", { 52 alt: "Gold", 53 class: M(t.$style.image), 54 src: e(h), 55 srcset: `${e(h)} 1x, ${e(w)} 2x` 56 }, null, 10, ht) 57 ], 2)) : b("", !0); 58 } 59}), yt = "_root_ej7id_2", pt = "_container_ej7id_17", wt = "_title_ej7id_24", gt = "_text_ej7id_3
590", ft = "_image_ej7id_40", vt = { 60 root: yt, 61 container: pt, 62 title: wt, 63 text: gt, 64 image: ft 65}, St = { 66 $style: vt 67}, ve = /* @__PURE__ */ Y(mt, [["__cssModules", St]]), Se = (P) => { 68 const r = D(), a = J(), c = ce(), s = q(), l = ue(), h = We(), w = he(), t = S(() => Ce(P.isCryptoBalance)), _ = S(() => r.isFeatureEnabled("BILLING-9781") ? a.withdrawalShortHandPaymentGroups : a.filteredPaymentGroups), L = S(() => r.isFeatureEnabled("BILLING-9781") ? a.filteredWithdrawalShortHandPaymentMethods : a.filteredPaymentMethods), B = () => { 69 l.changeAmount(""), l.changeAmountValidity(!0), s.changeIsRuleShown(!1), s.changeWagerAmount(""), s.changeConfirmationData({ 70 confirmationRequested: !1, 71 email: "", 72 flow: "default" 73 }), r.isFeatureEnabled("BILLING-9781") ? (a.resetShortMethodsSelection(), a.changePaymentMethodDetails(null)) : (a.changePaymentGroup(null), a.changePaymentMethod(null), a.changePaymentMethods(a.initialPaymentMethods)), l.setFields([]); 74 }, y = (u) => (t.value ? De : Re)[u ?? Ve.default] ?? H("withdrawalRedirectPage", t.value); 75 return { 76 paymentGroups: _, 77 paymentMethods: L, 78 resetData: B, 79 selectPaymentGroup: (u) => (a.changePaymentGroup(u), a.changePaymentMethods(Object.values(u.paymentMethods)), w.sendSelectFieldEvent({ 80 field_name: "method_group", 81 field_value: u.name 82 }), H("withdrawalGroupListPage", t.value)), 83 selectPaymentMethod: (u, C = {}) => { 84 const k = Ee(u); 85 a.changePaymentMethod(k), l.changeFields(k.fields); 86 const N = k.prefilledAmount; 87 if (typeof N == "number") { 88 const O = Ge(c.user.currency); 89 l.changeAmount(He(N, O)); 90 } else 91 l.changeAmount(String(a.limits.min)); 92 return C.isSilent || w.sendSelectFieldEvent({ 93 field_name: "method", 94 field_value: k.name 95 }), y(k.cardViewType); 96 }, 97 selectShortHandPaymentGroup: (u) => { 98 h.selectShortHandPaymentGroup( 99 u, 100 H("withdrawalGroupListPage", t.value) 101 ); 102 }, 103 selectShortHandPaymentMethod: (u) => { 104 h.selectWithdrawalShortHandPaymentMethod(u, { 105 isCryptoBalance: t.value 106 }); 107 } 108 }; 109}, Mt = /* @__PURE__ */ j({ 110 __name: "list", 111 setup(P) { 112 const r = ee(), a = de(), c = q(), s = D(), l = pe(), h = we(), w = S(() => r.meta.flow === "cryptobalance"), t = K(Se({ isCryptoBalance: w })), _ = R(!1); 113 ie(() => { 114 t.resetData(), l.loadActiveWithdrawals(); 115 }); 116 const L = (y) => { 117 _.value = y; 118 }, B = (y) => { 119 c.setSelectedTransactionItem(y), L(!1), a.push({ 120 name: H("withdrawalStatusPage", w.value), 121 params: { withdrawalId: String(y.id) } 122 }); 123 }; 124 return (y, g) => (d(), v(e(me), { 125 class: M(y.$style.root) 126 }, { 127 default: f(() => [ 128 w.value ? b("", !0) : (d(), v(e(Te), { 129 key: 0, 130 onClick: g[0] || (g[0] = (o) => e(a).push({ name: e(H)("withdrawalRegionPage", w.value) })) 131 })), 132 I(e(ve), { 133 class: M(y.$style.space) 134 }, null, 8, ["class"]), 135 I(e(ye), { 136 "is-short-hand": e(s).isFeatureEnabled("BILLING-9781"), 137 "payment-groups": t.paymentGroups, 138 "payment-methods": t.paymentMethods, 139 onSelectPaymentGroup: g[1] || (g[1] = (o) => e(a).push({ name: t.selectPaymentGroup(o) })), 140 onSelectPaymentMethod: g[2] || (g[2] = (o) => e(a).push({ name: t.selectPaymentMethod(o) })), 141 onSelectShortHandPaymentGroup: t.selectShortHandPaymentGroup, 142 onSelectShortHandPaymentMethod: t.selectShortHandPaymentMethod 143 }, null, 8, ["is-short-hand", "payment-groups", "payment-methods", "onSelectShortHandPaymentGroup", "onSelectShortHandPaymentMethod"]), 144 e(s).isFeatureEnabled("12075") ? (d(), G(V, { key: 1 }, [ 145 e(h).currentList.totalCount ? (d(), v(ge, { 146 key: 0, 147 class: M(y.$style.withdrawalActiveButton), 148 count: e(h).currentList.totalCount, 149 onClick: g[3] || (g[3] = (o) => L(!0)) 150 }, null, 8, ["class", "count"])) : b("", !0), 151 _.value ? (d(), v(e(fe), { 152 key: 1, 153 "has-error": e(h).currentList.hasError, 154 "is-loading-more": e(h).isLoadingMore, 155 items: e(h).currentList.items ?? [], 156 "total-count": e(h).currentList.totalCount, 157 onClose: g[4] || (g[4] = (o) => L(!1)), 158 onLoadMore: e(l).loadMore, 159 onRetry: e(l).retryLoad, 160 onViewStatus: B 161 }, null, 8, ["has-error", "is-loading-more", "items", "total-count", "onLoadMore", "onRetry"])) : b("", !0) 162 ], 64)) : b("", !0) 163 ]), 164 _: 1 165 }, 8, ["class"])); 166 } 167}), _t = "_root_vtbog_2", kt = "_space_vtbog_6", bt = "_withdrawalActiveButton_vtbog_10", Pt = { 168 root: _t, 169 space: kt, 170 withdrawalActiveButton: bt 171}, Lt = { 172 $style: Pt 173}, Ct = /* @__PURE__ */ Y(Mt, [["__cssModules", Lt]]), It = () => {
174 const P = te(), r = D(), a = J(), c = S( 175 () => a.initialPaymentMethods.filter((n) => n.category === "crypto") 176 ), s = S( 177 () => a.withdrawalShortHandPaymentMethods.filter((n) => n.category === "crypto") 178 ), l = R(!1), h = R(!1), w = R({}), t = S(() => r.isFeatureEnabled("BILLING-9781") ? !h.value && s.value.length > 0 && s.value.length === a.withdrawalShortHandPaymentMethods.length : c.value.length > 0 && c.value.length === a.initialPaymentMethods.length), _ = (n, i) => n && a.cryptoNetworks?.[n] || n || i, L = S(() => r.isFeatureEnabled("BILLING-9781") ? s.value.map((n) => { 179 const i = w.value[n.id]; 180 return { 181 network: i?.network, 182 text: _(i?.network, P.t(n.nameLangKey)), 183 trackingValue: n.paymentSystem, 184 value: n.id 185 }; 186 }) : c.value.map((n) => ({ 187 network: n.network, 188 text: _(n.network, n.text), 189 trackingValue: n.name, 190 value: n.name 191 }))), B = S(() => { 192 const n = r.isFeatureEnabled("BILLING-9781") ? L.value.filter((u) => !!w.value[u.value]) : L.value, i = xe( 193 // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing -- '' Ñ network невалиден, маÑÑим по trackingValue 194 n.map((u) => ({ value: u.network || u.trackingValue })) 195 ); 196 return n.find((u) => (u.network || u.trackingValue) === i)?.value; 197 }); 198 return { 199 cryptoMethods: c, 200 findCryptoMethod: (n) => c.value.find((i) => i.name === n), 201 getNetworkDetails: (n) => w.value[n], 202 isCryptoWithdrawal: t, 203 isNetworksLoadFailed: h, 204 isNetworksLoading: l, 205 loadShortHandNetworkDetails: async () => { 206 if (!r.isFeatureEnabled("BILLING-9781") || !s.value.length) 207 return; 208 const n = s.value.map((i) => i.id); 209 l.value = !0; 210 try { 211 const i = await Promise.all( 212 n.map(async (C) => { 213 try { 214 return await je.fetchMethodDetails({ 215 id: C, 216 operationType: Oe.WITHDRAWAL 217 }); 218 } catch (k) { 219 Z.captureError(k); 220 return; 221 } 222 }) 223 ); 224 if (s.value.map((C) => C.id).join(":") !== n.join(":")) 225 return; 226 w.value = i.reduce((C, k) => (k && (C[k.id] = k), C), {}), h.value = i.every((C) => !C); 227 } finally { 228 l.value = !1; 229 } 230 }, 231 networkItems: L, 232 preferredNetworkKey: B 233 }; 234}, Bt = (P, r) => Object.hasOwn(r.withdrawalMethods, P) ? r.withdrawalMethods[P].time : r.defaultWithdrawalTime, Ft = /* @__PURE__ */ j({ 235 __name: "withdrawal-network-selector", 236 props: { 237 currency: {}, 238 items: {}, 239 value: { default: "" } 240 }, 241 emits: ["changeNetwork"], 242 setup(P, { emit: r }) { 243 const a = r, c = P, s = he(), l = D(), h = J(), w = R(!1), t = S(() => c.items.find((o) => o.value === c.value)), _ = (o) => o === c.value, L = (o) => l.isFeatureEnabled("FE_17374") && h.expectedTimes ? Bt(o.trackingValue, h.expectedTimes) : Xe(o.network, c.currency) ?? Qe, B = () => { 244 w.value = !0; 245 }, y = () => { 246 w.value = !1; 247 }, g = (o) => { 248 a("changeNetwork", o.value), s.sendSelectFieldEvent({ 249 field_name: "crypto_list", 250 field_value: o.trackingValue 251 }), y(); 252 }; 253 return (o, n) => (d(), G(V, null, [ 254 E("button", { 255 "aria-haspopup": "dialog", 256 class: M(o.$style.trigger), 257 "data-testid": "withdrawal-redesign-network-selector-trigger", 258 type: "button", 259 onClick: B 260 }, [ 261 I(e(le), { 262 class: M(o.$style.networkLabel), 263 color: "primary" 264 }, { 265 default: f(() => [ 266 A(F(t.value?.text), 1) 267 ]), 268 _: 1 269 }, 8, ["class"]), 270 I(e(ze), { 271 color: "tertiary", 272 name: "chevron-down", 273 size: "s" 274 }) 275 ], 2), 276 w.value ? (d(), v(e(Ke), { 277 key: 0, 278 "header-class": o.$style.modalHeader, 279 "show-close": "", 280 "show-header": "", 281 onClose: y 282 }, { 283 header: f(() => [ 284 I(e(Je), { size: "l" }, { 285 default: f(() => [ 286 A(F(o.$t("common.cryptobalance.network")), 1) 287 ]), 288 _: 1 289 }) 290 ]), 291 default: f(() => [ 292 I(e(Ue), { 293 class: M(o.$style.list), 294 "data-testid": "withdrawal-redesign-network-list" 295 }, { 296 default: f(() => [ 297 (d(!0), G(V, null, Ie(P.items, (i) => (d(), v(e(qe), { 298 key: i.value, 299 "aria-pressed": _(i.value), 300 "data-testid": `withdrawal-redesign-network-${i.trackingValue.toLowerCase()}`, 301 onClick: (u) => g(i) 302 }, { 303 trailing: f(() => [ 304 _(i.value) ? (d(), v(e(Ye), { 305 key: 0, 306 color: "primary", 307 "data-testid": "withdrawal-redesign-network-selected-mark" 308 })) : b("", !0) 309 ]), 310 default: f(() => [ 311 I(e(le), { 312 color: "primary", 313 size: "m-sb" 314 }, { 315 default: f(() => [ 316 A(F(i.text), 1) 317 ]), 318 _: 2 319 }, 1024), 320 I(e(U), { color: "secondary" }, { 321 default: f(() => [ 322 A(F(o.$t("deposit.crypto.network.time", { time: L(i) })), 1) 323 ]), 324 _: 2 325 }, 1024) 326 ]), 327 _: 2 328 }, 1032, ["aria-pressed", "data-testid", "onClick"]))), 128)) 329 ]), 330 _: 1 331 }, 8, ["class"]) 332 ]), 333 _: 1 334 }, 8, ["header-class"])) : b("", !0) 335 ], 64)); 336 } 337}), At = "_modalHeader_9u7dd_2", Nt = "_trigger_9u7dd_6", $t = "_networkLabel_9u7dd_42", Wt = "_list_9u7dd_46", Et = { 338 modalHeader: At, 339 trigger: Nt, 340 networkLabel: $t, 341 list: Wt 342}, Gt = { 343 $style: Et 344}, Ht = /* @__PURE__ */ Y(Ft, [["__cssModules", Gt]]), Dt = { "data-testid": "withdrawal-redesign-unavailable-title" }, Rt = { "data-testid": "withdrawal-redesign-unavailable-text" }, Vt = /* @__PURE__ */ j({ 345 __name: "list", 346 setup(P) { 347 const r = ee(), a = de(), c = te(), s = D(), l = it(), h = ue(), w = Ze(), t = J(), _ = ce(), L = q(), B = pe(), y = we(), g = S(() => r.meta.flow === "cryptobalance"); 348 Be(et, !0); 349 const o = K(Se({ isCryptoBalance: g })), { 350 findCryptoMethod: n, 351 getNetworkDetails: i, 352 isCryptoWithdrawal: u, 353 isNetworksLoadFailed: C, 354 loadShortHandNetworkDetails: k, 355 networkItems: N, 356 preferredNetworkKey: O 357 } = It(), $ = K(dt({ isCryptoBalance: g })), ae = R(!1), z = S( 358 () => (s.isFeatureEnabled("BILLING-9781") ? t.selectedShortHandPaymentMethodId : t.paymentMethod?.name) ?? "" 359 ), Me = S( 360 () => s.isFeatureEnabled("BILLING-9781") ? !!t.paymentMethodDetails : !!t.paymentMethod 361 ), _e = S( 362 () => s.isFeatureEnabled("BILLING-9781") ? !t.withdrawalShortHandPaymentMethods.length : !t.initialPaymentMethods.length 363 ), oe = K(tt({ 364 paymentMethod: re(() => t.paymentMethod), 365 paymentMethodDetails: re(() => t.paymentMethodDetails) 366 })), ne = at(); 367 let T;
368 const ke = () => { 369 if (T?.abort(), s.isFeatureEnabled("15285") && t.isCredentialsSavingAllowed) 370 return; 371 T = new AbortController(), (s.isFeatureEnabled("BILLING-9781") ? ne.prefillDetailedFields(t.paymentMethodDetails, T.signal) : ne.prefillFields(t.paymentMethod, T.signal)).catch((p) => { 372 lt(p) || Z.captureError(p); 373 }); 374 }; 375 let W; 376 const Q = (m) => { 377 if (m !== z.value) { 378 if (s.isFeatureEnabled("BILLING-9781")) { 379 const p = i(m); 380 if (!p) { 381 W = m, k().then(() => { 382 W === m && (W = void 0, i(m) ? Q(m) : w.createNotification({ 383 title: c.t("common.depositMessageErrorModal.title"), 384 content: c.t("common.depositMessageErrorModal.tryAgain") 385 })); 386 }); 387 return; 388 } 389 W = void 0, t.changeSelectedShortHandPaymentMethodId(m), t.changePaymentMethodDetails(p), h.changeNewFormatFields(p.fields ?? []), h.changeAmount(p.prefilledAmount); 390 } else { 391 const p = n(m); 392 if (!p) 393 return; 394 W = void 0, o.selectPaymentMethod(p, { isSilent: !0 }); 395 } 396 ke(); 397 } 398 }, se = () => { 399 W || !u.value || !O.value || N.value.some((p) => p.value === z.value) || Q(O.value); 400 }; 401 Fe(N, se); 402 const be = () => { 403 l.setIsReturningFromManager(!0), a.push({ name: H("withdrawalCredentialsPage", g.value) }); 404 }, X = (m) => { 405 ae.value = m; 406 }, Pe = (m) => { 407 L.setSelectedTransactionItem(m), X(!1), a.push({ 408 name: H("withdrawalStatusPage", g.value), 409 params: { withdrawalId: String(m.id) } 410 }); 411 }; 412 return ie(() => { 413 const m = l.isReturningFromManager; 414 l.setIsReturningFromManager(!1), m || (o.resetData(), se()), k().then(() => { 415 C.value && Z.trackEvent("warn", "withdrawal_redesign_networks_failed", { 416 message: "All GetMethodsDetails requests failed: crypto form degraded to the methods grid" 417 }); 418 }), B.loadActiveWithdrawals(); 419 }), Ae(() => { 420 T?.abort(), W = void 0; 421 }), (m, p) => { 422 const Le = Ne("sanitize-html"); 423 return d(), v(e(me), null, { 424 default: f(() => [ 425 I(e(ve), { 426 class: M(m.$style.space) 427 }, null, 8, ["class"]), 428 e(u) ? (d(), G(V, { key: 0 }, [ 429 e(N).length > 1 ? (d(), v(Ht, { 430 key: 0, 431 currency: e(_).user.currency, 432 items: e(N), 433 value: z.value, 434 onChangeNetwork: Q 435 }, null, 8, ["currency", "items", "value"])) : b("", !0), 436 Me.value ? (d(), G(V, { key: 1 }, [ 437 oe.annotation ? (d(), v(e(ot), { 438 key: 0, 439 "data-testid": "info-banner-long-proceeding", 440 type: "informative" 441 }, { 442 default: f(() => [ 443 $e(E("span", null, null, 512), [ 444 [Le, oe.annotation] 445 ]) 446 ]), 447 _: 1 448 })) : b("", !0), 449 (d(), v(e(ut), { 450 key: z.value, 451 onOpenCredentialManager: be 452 })), 453 E("div", { 454 class: M(m.$style.submit) 455 }, [ 456 I(e(nt), { 457 "data-testid": "withdrawal-redesign-create-button", 458 "is-disabled": e(l).isLoadingCredentialData, 459 "is-loading": $.isSubmitting, 460 onClick: $.submitWithdrawal 461 }, { 462 default: f(() => [ 463 A(F(e(c).t("withdrawal.button")), 1) 464 ]), 465 _: 1 466 }, 8, ["is-disabled", "is-loading", "onClick"]), 467 I(e(U), { 468 class: M(m.$style.networkFee), 469 color: "secondary", 470 "data-testid": "withdrawal-redesign-network-fee" 471 }, { 472 default: f(() => [ 473 A(F(e(c).t("withdrawal.networkFee")), 1) 474 ]), 475 _: 1 476 }, 8, ["class"]) 477 ], 2) 478 ], 64)) : b("", !0) 479 ], 64)) : _e.value ? (d(), v(e(st), { key: 1 }, { 480 title: f(() => [ 481 E("span", Dt, F(e(c).t("withdrawal.unavailable.title", { currency: e(rt)(e(_).user.currency, e(s).currencyMappings) })), 1) 482 ]), 483 description: f(() => [ 484 E("span", Rt, F(e(c).t("withdrawal.unavailable.text")), 1
484) 485 ]), 486 _: 1 487 })) : (d(), v(e(ye), { 488 key: 2, 489 "is-short-hand": e(s).isFeatureEnabled("BILLING-9781"), 490 "payment-groups": o.paymentGroups, 491 "payment-methods": o.paymentMethods, 492 onSelectPaymentGroup: p[0] || (p[0] = (x) => e(a).push({ name: o.selectPaymentGroup(x) })), 493 onSelectPaymentMethod: p[1] || (p[1] = (x) => e(a).push({ name: o.selectPaymentMethod(x) })), 494 onSelectShortHandPaymentGroup: o.selectShortHandPaymentGroup, 495 onSelectShortHandPaymentMethod: o.selectShortHandPaymentMethod 496 }, null, 8, ["is-short-hand", "payment-groups", "payment-methods", "onSelectShortHandPaymentGroup", "onSelectShortHandPaymentMethod"])), 497 $.isWarningVisible ? (d(), v(e(ct), { 498 key: 3, 499 description: $.warningMessage, 500 title: $.warningTitle, 501 onClose: $.continueCreateWithdrawal, 502 onSubmit: $.reviseWithdrawalForm 503 }, null, 8, ["description", "title", "onClose", "onSubmit"])) : b("", !0), 504 e(s).isFeatureEnabled("12075") ? (d(), G(V, { key: 4 }, [ 505 e(y).currentList.totalCount ? (d(), v(ge, { 506 key: 0, 507 class: M(m.$style.withdrawalActiveButton), 508 count: e(y).currentList.totalCount, 509 onClick: p[2] || (p[2] = (x) => X(!0)) 510 }, null, 8, ["class", "count"])) : b("", !0), 511 ae.value ? (d(), v(e(fe), { 512 key: 1, 513 "has-error": e(y).currentList.hasError, 514 "is-loading-more": e(y).isLoadingMore, 515 items: e(y).currentList.items ?? [], 516 "total-count": e(y).currentList.totalCount, 517 onClose: p[3] || (p[3] = (x) => X(!1)), 518 onLoadMore: e(B).loadMore, 519 onRetry: e(B).retryLoad, 520 onViewStatus: Pe 521 }, null, 8, ["has-error", "is-loading-more", "items", "total-count", "onLoadMore", "onRetry"])) : b("", !0) 522 ], 64)) : b("", !0) 523 ]), 524 _: 1 525 }); 526 }; 527 } 528}), Tt = "_space_1ygwu_3", xt = "_submit_1ygwu_7", jt = "_networkFee_1ygwu_13", Ot = "_withdrawalActiveButton_1ygwu_17", zt = { 529 space: Tt, 530 submit: xt, 531 networkFee: jt, 532 withdrawalActiveButton: Ot 533}, Kt = { 534 $style: zt 535}, Ut = /* @__PURE__ */ Y(Vt, [["__cssModules", Kt]]), aa = /* @__PURE__ */ j({ 536 __name: "list-switch", 537 setup(P) { 538 const r = ee(), a = D(); 539 return (c, s) => e(r).meta.flow === "cryptobalance" && e(a).isFeatureEnabled("12390") ? (d(), v(Ut, { key: 0 })) : (d(), v(Ct, { key: 1 })); 540 } 541}); 542export { 543 aa as default 544};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.