/* Metro module 4223; source: modules/billing/actions/BillingActionCreators.tsx; dependencies: [29, 5, 3806, 3804, 3808, 661, 3813, 482, 694, 507, 4131, 3824, 3738, 3802, 4224, 4226, 3817, 4232, 683, 2] */ import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */ import ObjectWithoutProperties from '../../../by-id/module-00029-ObjectWithoutProperties.js'; /* Metro dependency 29 */ import Dispatcher from '../../../Dispatcher.tsx'; /* Metro dependency 694 */ import BillingInfoStore from '../../../stores/billing/BillingInfoStore.tsx'; /* Metro dependency 3804 */ import PaymentSourceRecord from '../../../records/PaymentSourceRecord.tsx'; /* Metro dependency 3806 */ import SubscriptionStore from '../../../stores/billing/SubscriptionStore.tsx'; /* Metro dependency 3808 */ import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as HTTPUtilsModule from '../../../external/discord_common/js/packages/http-utils/HTTPUtils.tsx'; /* Metro dependency 507 */ import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */ import * as PremiumUtilsModule from '../../../utils/PremiumUtils.tsx'; /* Metro dependency 3802 */ import * as BillingConstantsModule from '../../../components/billing/BillingConstants.tsx'; /* Metro dependency 3813 */ function _fun34584(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#34584, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:6, offset: 0x0105c1c8, size: 1060 bytes, params: 8, frame: 27 var propertyName; const env0_0 = require; const closure = function() { return _fetchPayment.apply(this, arguments); }; const handleConfirmation2 = handleConfirmation; const closure3 = function() { return _updateSubscription.apply(this, arguments); }; const closure4 = function() { var HTTP = require(dependencyMap[9]).HTTP; return HTTP.get({'url': null, 'oldFormErrors': true, 'rejectWithError': false, url: Endpoints.BILLING_PAYMENT_SOURCE_CREATION_CONTEXT}); }; const env0_3 = ['line1', 'line2', 'postalCode']; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = ConstantsModule; const env0_9 = value.AnalyticEvents; const env0_10 = value.Endpoints; const env0_11 = value.PaymentGateways; const env0_12 = value.REDIRECTED_PAYMENT_SOURCES; const env0_13 = value.SubscriptionStatusTypes; value = require(482) /* metro dependency 482: Constants */; const env0_15 = value.ADYEN_PAYMENT_SOURCES; const env0_16 = value.CurrencyCodes; const env0_17 = value.PaymentStatusTypes; const env0_18 = value.PREPAID_PAYMENT_SOURCES; const env0_19 = value.SubscriptionTypes; (FileImportTrackerModule).fileFinishedImporting('modules/billing/actions/BillingActionCreators.tsx'); for (propertyName in require(4226) /* metro dependency 4226: BillingPaymentGatewayActionCreators */) { exports[propertyName] = (require(4226) /* metro dependency 4226: BillingPaymentGatewayActionCreators */)[propertyName]; } for (propertyName in require(4224) /* metro dependency 4224: BillingSharedActionCreators */) { exports[propertyName] = (require(4224) /* metro dependency 4224: BillingSharedActionCreators */)[propertyName]; } exports.deletePaymentSource = function() { return _deletePaymentSource.apply(this, arguments); }; exports.updatePaymentSource = function() { return _updatePaymentSource.apply(this, arguments); }; exports.fetchPaymentSources = function() { return _fetchPaymentSources.apply(this, arguments); }; exports.fetchPaymentSource = function() { return _fetchPaymentSource.apply(this, arguments); }; exports.fetchWalletInformation = function() { return _fetchWalletInformation.apply(this, arguments); }; exports.fetchPayment = closure; exports.fetchPayments = function() { return _fetchPayments.apply(this, arguments); }; exports.fetchSubscriptions = function() { return _fetchSubscriptions.apply(this, arguments); }; exports.getPerksRelevance = function() { return _getPerksRelevance.apply(this, arguments); }; exports.fetchMostRecentSubscription = function() { return _fetchMostRecentSubscription.apply(this, arguments); }; exports.createSubscription = function() { return _createSubscription.apply(this, arguments); }; exports.payInvoiceManually = function() { return _payInvoiceManually.apply(this, arguments); }; exports.handleConfirmation = handleConfirmation2; exports.redirectedPaymentSucceeded = function() { return _redirectedPaymentSucceeded.apply(this, arguments); }; exports.cancelSubscription = function() { return _cancelSubscription.apply(this, arguments); }; exports.deleteRenewalMutation = deleteRenewalMutation; exports.updateSubscription = closure3; exports.resubscribeToSubscription = resubscribeToSubscription; exports.upgradeSubscription = function(a0, a1, a2, a3, a4, a5) { return updateSubscription(a0, {status: SubscriptionStatusTypes.ACTIVE, items: require(dependencyMap[13]).getItemsWithUpsertedPremiumPlanId(a0, a1)}, a2, a3, a4, a5); }; exports.changeSubscriptionCurrency = function(a0, a1, a2, a3, a4) { return updateSubscription(a0, {currency: a1}, {amount: 0, currency: a1.toLowerCase()}, a2, a3, a4); }; exports.changePaymentSource = function(a0, a1, a2, a3, a4) { return updateSubscription(a0, {paymentSource: a1}, {amount: 0, currency: a2.currency}, a2, a3, a4); }; exports.clearUpdatePaymentSourceError = clearUpdatePaymentSourceError; exports.clearRemovePaymentSourceError = clearRemovePaymentSourceError; exports.clearPaymentAuthenticationError = clearPaymentAuthenticationError; exports.voidPendingPayment = function() { return _voidPendingPayment.apply(this, arguments); }; exports.popupBridgeCallback = popupBridgeCallback; exports.fetchIpCountryCode = function() { return _fetchIpCountryCode.apply(this, arguments); }; exports.fetchPaymentSourceCreationContext = closure4; exports.clearAndFetchPaymentSourceCreationContext = clearAndFetchPaymentSourceCreationContext; exports.fetchIpLocation = function() { return _fetchIpLocation.apply(this, arguments); }; exports.resetPaymentIntentId = resetPaymentIntentId; exports.resetSubscriptionStore = resetSubscriptionStore; exports.startBrowserCheckout = startBrowserCheckout; exports.redeemReactivationOffer = function() { return _redeemReactivationOffer.apply(this, arguments); }; exports.redeemUserDiscountOffer = function() { return _redeemUserDiscountOffer.apply(this, arguments); }; function _deletePaymentSource() { // fn#34585, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:467, offset: 0x0105c5ec, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34587).apply(this, arguments); function* _fun34587(a0) { // fn#34587, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:530, offset: 0x0105c625, size: 282 bytes, params: 2, frame: 19 var binding2; var property; var value4; var HTTP; var del; var BILLING_PAYMENT_SOURCE; var value5; var value6; var value7; var value8; var binding3; var value9; var error; var binding4; var BillingError; var prototype; var value10; var billingError; var value11; if (true) { value = environment.__proto__.__proto__; var binding = env2_1; binding(env2_2[8]).dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_START'}); try { binding = env2_0; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { binding2 = env2_2; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { property = binding2[9]; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { value4 = binding(property); } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { HTTP = value4.HTTP; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { del = HTTP.del; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { object = {'url': null, 'oldFormErrors': true, 'rejectWithError': false}; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { binding = env2_10; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { BILLING_PAYMENT_SOURCE = binding.BILLING_PAYMENT_SOURCE; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { value5 = Reflect.apply(BILLING_PAYMENT_SOURCE, binding, [a0]); } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { object.url = value5; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { value6 = Reflect.apply(del, HTTP, [object]); } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } yield value6; try { value7 = undefined; value8 = false; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } if (value8) { return value7; } try { binding = env2_1; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { binding3 = env2_2; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { property = binding3[8]; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { value9 = binding(property); } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { dispatch = value9.dispatch; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { object = {}; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { object.type = 'BILLING_PAYMENT_SOURCE_REMOVE_SUCCESS'; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { object.id = a0; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } try { Reflect.apply(dispatch, value9, [object]); } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_FAIL', error: value11}); throw value11; } } } } function _updatePaymentSource() { // fn#34588, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:924, offset: 0x0105c73f, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34590).apply(this, arguments); function* _fun34590(a0, a1) { // fn#34590, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:987, offset: 0x0105c778, size: 401 bytes, params: 3, frame: 24 var object3; var billingAddress; var line1; var line2; var postalCode; var binding2; var value4; var binding3; var property; var value5; var HTTP; var patch; var BILLING_PAYMENT_SOURCE; var value6; var object; var object2; var expiresMonth; var expiresYear; var isDefault; var value7; var value8; var value9; var createFromServer; var body; var fromServer; var binding4; var value10; var error; var binding5; var value11; var v8BillingAddressSkemaErrorToBillingError; if (true) { value = environment.__proto__.__proto__; var binding = env2_1; binding(env2_2[8]).dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_START'}); try { billingAddress = a1.billingAddress; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { line1 = billingAddress.line1; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { line2 = billingAddress.line2; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { postalCode = billingAddress.postalCode; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { binding = env2_4; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { binding2 = env2_3; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { value4 = binding(billingAddress, binding2); } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { binding = env2_0; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { binding3 = env2_2; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { property = binding3[9]; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { value5 = binding(property); } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { HTTP = value5.HTTP; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { patch = HTTP.patch; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object3 = {}; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { binding = env2_10; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { BILLING_PAYMENT_SOURCE = binding.BILLING_PAYMENT_SOURCE; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { value6 = Reflect.apply(BILLING_PAYMENT_SOURCE, binding, [a0]); } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object3.url = value6; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object = {}; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object2 = {}; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { copyDataProperties(object2, value4, binding); } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object2['line_1'] = line1; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object2['line_2'] = line2; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object2['postal_code'] = postalCode; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object.billing_address = object2; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { expiresMonth = a1.expiresMonth; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object.expires_month = expiresMonth; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { expiresYear = a1.expiresYear; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object.expires_year = expiresYear; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { isDefault = a1.isDefault; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object.default = isDefault; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object3.body = object; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object3.rejectWithError = false; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { value7 = Reflect.apply(patch, HTTP, [object3]); } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } yield value7; try { value8 = undefined; value9 = false; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } if (value9) { return value8; } try { binding = env2_6; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { createFromServer = binding.createFromServer; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { body = value8.body; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { fromServer = Reflect.apply(createFromServer, binding, [body]); } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { binding = env2_1; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { binding4 = env2_2; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { property = binding4[8]; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { value10 = binding(property); } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { dispatch = value10.dispatch; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object3 = {}; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object3.type = 'BILLING_PAYMENT_SOURCE_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { object3.paymentSource = fromServer; } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } try { Reflect.apply(dispatch, value10, [object3]); } catch (error) { binding = env2_0; binding5 = env2_2; value11 = binding(binding5[11]); v8BillingAddressSkemaErrorToBillingError = value11.parseV8BillingAddressSkemaErrorToBillingError(error); binding = env2_1; value = binding(binding5[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_FAIL', error: v8BillingAddressSkemaErrorToBillingError}); throw v8BillingAddressSkemaErrorToBillingError; } } } } function _fetchPaymentSources() { // fn#34591, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:1643, offset: 0x0105c909, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34593).apply(this, arguments); function* _fun34593() { // fn#34593, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:1706, offset: 0x0105c942, size: 249 bytes, params: 1, frame: 17 var environment; var binding; var binding2; var property; var value3; var HTTP; var get; var object; var BILLING_PAYMENT_SOURCES; var value4; var value5; var wait; var closure; var value6; var value7; var binding3; var value8; var dispatch; var body; var error; if (false) { return undefined; } var env0_0; value = environment.__proto__.__proto__; if (env2_7.isPaymentSourceFetching) { return undefined; } try { binding = env2_0; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { binding2 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { property = binding2[9]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { value3 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { HTTP = value3.HTTP; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { get = HTTP.get; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { object = {'url': null, 'oldFormErrors': true, 'rejectWithError': false}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { binding = env2_10; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { BILLING_PAYMENT_SOURCES = binding.BILLING_PAYMENT_SOURCES; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { object.url = BILLING_PAYMENT_SOURCES; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { value4 = Reflect.apply(get, HTTP, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { env0_0 = value4; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { property = binding2[8]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { value5 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { wait = value5.wait; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { closure = _fun34594; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { Reflect.apply(wait, value5, [closure]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } yield value4; try { value6 = undefined; value7 = false; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } if (!value7) { try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { binding3 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { property = binding3[8]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { value8 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { dispatch = value8.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { object.type = 'BILLING_PAYMENT_SOURCES_FETCH_SUCCESS'; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { body = value6.body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { object.paymentSources = body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } try { Reflect.apply(dispatch, value8, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_FAIL'}); throw error; } } return value6; function _fun34594() { // fn#34594, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:1858, offset: 0x0105ca3b, size: 61 bytes, params: 1, frame: 12 const value = environment.__proto__.__proto__.__proto__; return env3_1(env3_2[8]).dispatch({type: 'BILLING_PAYMENT_SOURCES_FETCH_START', request: env0_0}); } } } function _fetchPaymentSource() { // fn#34595, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:2153, offset: 0x0105ca78, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34597).apply(this, arguments); function* _fun34597(a0) { // fn#34597, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:2214, offset: 0x0105cab1, size: 221 bytes, params: 2, frame: 17 var binding; var binding2; var property; var value3; var HTTP; var get; var object; var BILLING_PAYMENT_SOURCE; var value4; var value5; var value6; var value7; var createFromServer; var body; var fromServer; var binding3; var value8; var dispatch; var error; if (false) { return undefined; } value = environment.__proto__.__proto__; try { binding = env2_0; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { binding2 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { property = binding2[9]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { value3 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { HTTP = value3.HTTP; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { get = HTTP.get; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { object = {'url': null, 'oldFormErrors': true, 'rejectWithError': false}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { binding = env2_10; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { BILLING_PAYMENT_SOURCE = binding.BILLING_PAYMENT_SOURCE; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { value4 = Reflect.apply(BILLING_PAYMENT_SOURCE, binding, [a0]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { object.url = value4; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { value5 = Reflect.apply(get, HTTP, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } yield value5; try { value6 = undefined; value7 = false; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } if (!value7) { try { binding = env2_6; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { createFromServer = binding.createFromServer; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { body = value6.body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { fromServer = Reflect.apply(createFromServer, binding, [body]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { binding3 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { property = binding3[8]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { value8 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { dispatch = value8.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { object.type = 'BILLING_PAYMENT_SOURCE_FETCH_SUCCESS'; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { object.paymentSource = fromServer; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } try { Reflect.apply(dispatch, value8, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENT_SOURCE_FETCH_FAIL'}); throw error; } } return value6; } } function _fetchWalletInformation() { // fn#34598, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:2558, offset: 0x0105cb8e, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34600).apply(this, arguments); function* _fun34600(a0) { // fn#34600, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:2627, offset: 0x0105cbc7, size: 322 bytes, params: 2, frame: 19 var object3; var binding2; var property; var value4; var HTTP; var get; var BILLING_WALLET_INFORMATION; var value5; var object; var value6; var value7; var value8; var body; var currency; var balance; var binding3; var value9; var object2; var amount; var error; if (false) { return undefined; } value = environment.__proto__.__proto__; let binding = env2_1; binding(env2_2[8]).dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_START', paymentSourceId: a0}); try { binding = env2_0; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { binding2 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { property = binding2[9]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { value4 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { HTTP = value4.HTTP; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { get = HTTP.get; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { object3 = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { binding = env2_10; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { BILLING_WALLET_INFORMATION = binding.BILLING_WALLET_INFORMATION; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { value5 = Reflect.apply(BILLING_WALLET_INFORMATION, binding, [a0]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { object3.url = value5; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { object.get_history = false; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { object3.query = object; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { object3.rejectWithError = true; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { value6 = Reflect.apply(get, HTTP, [object3]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } yield value6; try { value7 = undefined; value8 = false; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } if (value8) { return value7; } try { object3 = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { body = value7.body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { currency = body.currency; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { object3.currency = currency; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { body = value7.body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { balance = body.balance; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { object3.amount = balance; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { binding3 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { property = binding3[8]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { value9 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { dispatch = value9.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { object2 = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { object2.type = 'BILLING_WALLET_BALANCE_FETCH_SUCCESS'; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { object2.paymentSourceId = a0; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { currency = object3.currency; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { object2.currency = currency; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { amount = object3.amount; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { object2.amount = amount; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } try { Reflect.apply(dispatch, value9, [object2]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_WALLET_BALANCE_FETCH_FAIL', paymentSourceId: a0}); return null; } return object3; } } function _fetchPayment() { // fn#34602, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:3206, offset: 0x0105cd09, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34604).apply(this, arguments); function* _fun34604(a0) { // fn#34604, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:3255, offset: 0x0105cd42, size: 151 bytes, params: 2, frame: 17 if (false) { return undefined; } value = environment.__proto__.__proto__; const HTTP = env2_0(env2_2[9]).HTTP; const get = HTTP.get; const object = {}; object.url = env2_10.BILLING_PAYMENT(a0); object.rejectWithError = true; yield Reflect.apply(get, HTTP, [object]); const value3 = undefined; if (true) { env2_1(env2_2[8]).dispatch({type: 'BILLING_PAYMENT_FETCH_SUCCESS', payment: value3.body}); } return value3; } } function _fetchPayments() { // fn#34605, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:3451, offset: 0x0105cdd9, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34607).apply(this, arguments); async function _fun34607() { // fn#34607, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:3502, offset: 0x0105ce1b, size: 280 bytes, params: 1, frame: 19 var object2; var binding2; var property; var value6; var HTTP; var get; var BILLING_PAYMENTS; var object; var value7; var value8; var value9; var binding3; var value10; var body; var error; let value = a0; if (false) { return undefined; } const r1 = value !== undefined ? value : 10; await undefined; if (false) { return undefined; } value = environment.__proto__.__proto__; let binding = env2_1; binding(env2_2[8]).dispatch({type: 'BILLING_PAYMENTS_FETCH_START'}); try { binding = env2_0; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { binding2 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { property = binding2[9]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { value6 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { HTTP = value6.HTTP; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { get = HTTP.get; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { object2 = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { binding = env2_10; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { BILLING_PAYMENTS = binding.BILLING_PAYMENTS; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { object2.url = BILLING_PAYMENTS; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { object.limit = r1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { object.before = a1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { object2.query = object; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { object2.oldFormErrors = true; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { object2.rejectWithError = false; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { value7 = Reflect.apply(get, HTTP, [object2]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } await value7; try { value8 = undefined; value9 = false; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } if (!value9) { try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { binding3 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { property = binding3[8]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { value10 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { dispatch = value10.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { object2 = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { object2.type = 'BILLING_PAYMENTS_FETCH_SUCCESS'; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { body = value8.body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { object2.payments = body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } try { Reflect.apply(dispatch, value10, [object2]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_PAYMENTS_FETCH_FAIL'}); throw error; } } return value8; } } function _fetchSubscriptions() { // fn#34608, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:3878, offset: 0x0105cf33, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34610).apply(this, arguments); function* _fun34610() { // fn#34610, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:3939, offset: 0x0105cf6c, size: 488 bytes, params: 1, frame: 22 var environment; var r1; var r10; var r11; var ADD_PERKS_IF_DETECTED; var getLastLazyPerkSync; var value4; var value5; var binding2; var property; var value6; var value7; var diff; var value8; var value9; var FULL_RESYNC; var binding3; var value10; var value11; var binding4; var value12; var HTTP; var get; var object; var BILLING_SUBSCRIPTIONS; var object2; var value13; var value14; var value15; var body; var value16; var binding5; var value17; var dispatch; var binding6; var value18; var BillingError; var JSON; var stringify; var value19; var concat; var value20; var status; var prototype; var billingError; var value22; var error; if (false) { return undefined; } value = environment.__proto__.__proto__; let binding = env2_1; binding(env2_2[8]).wait(_fun34611); try { binding = env2_14; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { ADD_PERKS_IF_DETECTED = binding.ADD_PERKS_IF_DETECTED; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { binding = env2_8; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { getLastLazyPerkSync = binding.getLastLazyPerkSync; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value4 = Reflect.apply(getLastLazyPerkSync, binding, []); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value5 = value4 == null; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } if (value5) { r1 = value5; } else { try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { binding2 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { property = binding2[12]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value6 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value7 = value6(); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { diff = value7.diff; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value8 = Reflect.apply(diff, value7, [value4, 'hours']); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value9 = value8 >= 1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } r1 = value9; } if (r1) { try { binding = env2_14; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { FULL_RESYNC = binding.FULL_RESYNC; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { binding3 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { property = binding3[12]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value10 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value11 = value10(); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } r10 = value11; r11 = FULL_RESYNC; } else { r10 = value4; r11 = ADD_PERKS_IF_DETECTED; } try { binding = env2_0; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { binding4 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { property = binding4[9]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value12 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { HTTP = value12.HTTP; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { get = HTTP.get; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { object = {'url': null, 'oldFormErrors': true, 'rejectWithError': false}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { binding = env2_10; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { BILLING_SUBSCRIPTIONS = binding.BILLING_SUBSCRIPTIONS; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { object.url = BILLING_SUBSCRIPTIONS; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { object2 = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { object2.sync_level = r11; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { object.query = object2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value13 = Reflect.apply(get, HTTP, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } yield value13; try { value14 = undefined; value15 = false; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } if (value15) { return value14; } try { body = value14.body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value16 = body == null; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } if (!value16) { try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { binding5 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { property = binding5[8]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value17 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { dispatch = value17.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { object.type = 'BILLING_SUBSCRIPTION_FETCH_SUCCESS'; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { body = value14.body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { object.subscriptions = body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { object.lastLazyPerkSync = r10; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { Reflect.apply(dispatch, value17, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } return value14; } try { binding = env2_0; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { binding6 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { property = binding6[10]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value18 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { BillingError = value18.BillingError; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { JSON = global.JSON; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { stringify = JSON.stringify; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value19 = Reflect.apply(stringify, JSON, [value14]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value20 = Reflect.apply(concat, 'response body is null, response: ', [value19]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { status = value14.status; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { prototype = BillingError.prototype; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { billingError = new BillingError(); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { value22 = billingError instanceof Object ? billingError : undefined; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } try { throw value22; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_FAIL'}); throw error; } function _fun34611() { // fn#34611, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:3965, offset: 0x0105d154, size: 49 bytes, params: 1, frame: 13 const value = environment.__proto__.__proto__.__proto__; env3_1(env3_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_FETCH_START'}); } } } function _getPerksRelevance() { // fn#34612, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:4612, offset: 0x0105d185, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34614).apply(this, arguments); function* _fun34614() { // fn#34614, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:4671, offset: 0x0105d1be, size: 223 bytes, params: 1, frame: 17 var environment; var binding2; var property; var value4; var HTTP; var get; var object; var BILLING_PERKS_RELEVANCE; var value5; var value6; var value7; var binding3; var value8; var dispatch; var body; var error; if (true) { value = environment.__proto__.__proto__; var binding = env2_1; binding(env2_2[8]).wait(_fun34615); reducibleJoin3: while (true) { reduciblePort32: while (true) { exceptionLanding31: while (true) { try { binding = env2_0; } catch (error) { break exceptionLanding31; } break reducibleJoin3; } binding = env2_1; value = binding(env2_2[8]); dispatch = value.dispatch; Reflect.apply(dispatch, value, [{type: 'BILLING_PERKS_RELEVANCE_FETCH_FAIL'}]); break reduciblePort32; } return undefined; } try { binding2 = env2_2; } catch (error) { break exceptionLanding31; } try { property = binding2[9]; } catch (error) { break exceptionLanding31; } try { value4 = binding(property); } catch (error) { break exceptionLanding31; } try { HTTP = value4.HTTP; } catch (error) { break exceptionLanding31; } try { get = HTTP.get; } catch (error) { break exceptionLanding31; } try { object = {}; } catch (error) { break exceptionLanding31; } try { binding = env2_10; } catch (error) { break exceptionLanding31; } try { BILLING_PERKS_RELEVANCE = binding.BILLING_PERKS_RELEVANCE; } catch (error) { break exceptionLanding31; } try { object.url = BILLING_PERKS_RELEVANCE; } catch (error) { break exceptionLanding31; } try { object.rejectWithError = true; } catch (error) { break exceptionLanding31; } try { value5 = Reflect.apply(get, HTTP, [object]); } catch (error) { break exceptionLanding31; } yield value5; try { value6 = undefined; value7 = false; } catch (error) { break exceptionLanding31; } if (value7) { return value6; } try { binding = env2_1; } catch (error) { break exceptionLanding31; } try { binding3 = env2_2; } catch (error) { break exceptionLanding31; } try { property = binding3[8]; } catch (error) { break exceptionLanding31; } try { value8 = binding(property); } catch (error) { break exceptionLanding31; } try { dispatch = value8.dispatch; } catch (error) { break exceptionLanding31; } try { object = {}; } catch (error) { break exceptionLanding31; } try { object.type = 'BILLING_PERKS_RELEVANCE_FETCH_SUCCESS'; } catch (error) { break exceptionLanding31; } try { body = value6.body; } catch (error) { break exceptionLanding31; } try { object.res = body; } catch (error) { break exceptionLanding31; } try { Reflect.apply(dispatch, value8, [object]); } catch (error) { break exceptionLanding31; } } function _fun34615() { // fn#34615, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:4697, offset: 0x0105d29d, size: 49 bytes, params: 1, frame: 13 const value = environment.__proto__.__proto__.__proto__; env3_1(env3_2[8]).dispatch({type: 'BILLING_PERKS_RELEVANCE_FETCH_START'}); } } } function _fetchMostRecentSubscription() { // fn#34616, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:5027, offset: 0x0105d2ce, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34618).apply(this, arguments); function* _fun34618() { // fn#34618, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:5106, offset: 0x0105d307, size: 410 bytes, params: 1, frame: 21 var environment; var r10; var r9; var binding2; var property; var value4; var HTTP; var get; var object; var BILLING_SUBSCRIPTIONS; var object2; var PREMIUM; var value5; var value6; var value7; var ok; var binding3; var value8; var dispatch; var body; var length; var value9; var value10; var binding4; var value11; var value12; var error; if (false) { return undefined; } value = environment.__proto__.__proto__; let binding = env2_1; binding(env2_2[8]).wait(_fun34619); try { binding = env2_0; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { binding2 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { property = binding2[9]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { value4 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { HTTP = value4.HTTP; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { get = HTTP.get; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { binding = env2_10; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { BILLING_SUBSCRIPTIONS = binding.BILLING_SUBSCRIPTIONS; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { object.url = BILLING_SUBSCRIPTIONS; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { object2 = {'include_inactive': true, 'limit': 2, 'exclude_unpaid_statuses': true}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { binding = env2_19; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { PREMIUM = binding.PREMIUM; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { object2.subscription_type = PREMIUM; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { object.query = object2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { object.oldFormErrors = true; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { object.rejectWithError = true; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { value5 = Reflect.apply(get, HTTP, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } yield value5; try { value6 = undefined; value7 = false; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } if (!value7) { try { ok = value6.ok; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { binding3 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { property = binding3[8]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { value8 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { dispatch = value8.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } if (ok) { try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { object.type = 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_SUCCESS'; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { body = value6.body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { length = body.length; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { value9 = length > 0; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } value10 = null; if (value9) { try { body = value6.body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { property = body[0]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } r10 = property; } else { r10 = value10; } try { object.subscription = r10; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { Reflect.apply(dispatch, value8, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { binding4 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { property = binding4[8]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { value11 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { dispatch = value11.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { object.type = 'BILLING_PREVIOUS_PREMIUM_SUBSCRIPTION_FETCH_SUCCESS'; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { body = value6.body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { length = body.length; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { value12 = length > 1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } if (value12) { try { body = value6.body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { property = body[1]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } r9 = property; } else { r9 = value10; } try { object.subscription = r9; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { Reflect.apply(dispatch, value11, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } } else { try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { object.type = 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } try { Reflect.apply(dispatch, value8, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_FAIL'}); return undefined; } } } return value6; function _fun34619() { // fn#34619, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:5132, offset: 0x0105d4a1, size: 49 bytes, params: 1, frame: 13 const value = environment.__proto__.__proto__.__proto__; env3_1(env3_2[8]).dispatch({type: 'BILLING_MOST_RECENT_SUBSCRIPTION_FETCH_START'}); } } } function _createSubscription() { // fn#34620, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:5838, offset: 0x0105d4d2, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34622).apply(this, arguments); async function _fun34622(a0) { // fn#34622, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:5899, offset: 0x0105d514, size: 1028 bytes, params: 2, frame: 37 var environment; var r13; var r22; var id; var r24; var r19; var r8; var value; var value2; var items2; var paymentSource; var trialId; var code; var currency; var metadata; var referralCode; var loadId; var expectedInvoicePrice; var expectedRenewalPrice; var value3; var binding; var binding2; var value4; var dispatch; var object; var value5; var coerceExistingItemsToNewItemInterval; var value6; var value7; var has; var type; var value8; var popupBridgeState; var value9; var value10; var value11; var getAPIBaseURL; var value12; var BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX; var value13; var value14; var binding3; var property; var value15; var HTTP; var post; var BILLING_SUBSCRIPTIONS; var object2; var map; var closure; var value16; var value17; var value18; var binding4; var value19; var createPaymentSourceToken; var paymentSourceToken; var value20; var value21; var value22; var USD; var binding5; var value23; var createGatewayCheckoutContext; var gatewayCheckoutContext; var value24; var value25; var binding6; var value26; var getPurchaseToken; var value27; var value28; var value29; var value30; var binding7; var value31; var body; var error; var BillingError; var prototype; var value32; var billingError; var value33; var binding8; var value34; var ErrorCodes; var CONFIRMATION_REQUIRED; var payment_id; var dispatchConfirmationError; exceptionSkip111: while (true) { exceptionLanding111: while (true) { value = undefined; value2 = false; if (value2) { return value; } items2 = a0.items; paymentSource = a0.paymentSource; trialId = a0.trialId; code = a0.code; currency = a0.currency; metadata = a0.metadata; referralCode = a0.referralCode; loadId = a0.loadId; expectedInvoicePrice = a0.expectedInvoicePrice; expectedRenewalPrice = a0.expectedRenewalPrice; await undefined; value = undefined; value3 = false; if (value3) { return value; } value = environment.__proto__.__proto__; binding = env2_1; binding2 = env2_2; value4 = binding(binding2[8]); dispatch = value4.dispatch; object = {type: 'BILLING_SUBSCRIPTION_UPDATE_START'}; Reflect.apply(dispatch, value4, [object]); binding = env2_0; value5 = binding(binding2[13]); coerceExistingItemsToNewItemInterval = value5.coerceExistingItemsToNewItemInterval; value6 = Reflect.apply(coerceExistingItemsToNewItemInterval, value5, [items2]); value7 = null; if (value7 == paymentSource) { r22 = value7; try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding3 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding3[9]; } catch (error) { break exceptionLanding111; } try { value15 = binding(property); } catch (error) { break exceptionLanding111; } try { HTTP = value15.HTTP; } catch (error) { break exceptionLanding111; } try { post = HTTP.post; } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { binding = env2_10; } catch (error) { break exceptionLanding111; } try { BILLING_SUBSCRIPTIONS = binding.BILLING_SUBSCRIPTIONS; } catch (error) { break exceptionLanding111; } try { object.url = BILLING_SUBSCRIPTIONS; } catch (error) { break exceptionLanding111; } try { object2 = {}; } catch (error) { break exceptionLanding111; } try { map = value6.map; } catch (error) { break exceptionLanding111; } try { } catch (error) { break exceptionLanding111; } try { closure = function({planId, quantity}) { return {plan_id: planId, quantity: quantity}; }; } catch (error) { break exceptionLanding111; } try { value16 = Reflect.apply(map, value6, [closure]); } catch (error) { break exceptionLanding111; } try { object2.items = value16; } catch (error) { break exceptionLanding111; } try { value17 = value7 != paymentSource; } catch (error) { break exceptionLanding111; } if (value17) { try { id = paymentSource.id; } catch (error) { break exceptionLanding111; } } else { id = value7; } try { object2.payment_source_id = id; } catch (error) { break exceptionLanding111; } try { value18 = value7 != paymentSource; } catch (error) { break exceptionLanding111; } if (value18) { try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding4 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding4[15]; } catch (error) { break exceptionLanding111; } try { value19 = binding(property); } catch (error) { break exceptionLanding111; } try { createPaymentSourceToken = value19.createPaymentSourceToken; } catch (error) { break exceptionLanding111; } try { paymentSourceToken = Reflect.apply(createPaymentSourceToken, value19, [paymentSource]); } catch (error) { break exceptionLanding111; } await paymentSourceToken; try { value20 = undefined; value21 = false; } catch (error) { break exceptionLanding111; } if (value21) { return value20; } try { object2.payment_source_token = value20; } catch (error) { break exceptionLanding111; } try { object2.trial_id = trialId; } catch (error) { break exceptionLanding111; } try { object2.return_url = r22; } catch (error) { break exceptionLanding111; } try { object2.code = code; } catch (error) { break exceptionLanding111; } try { value22 = value7 != paymentSource; } catch (error) { break exceptionLanding111; } if (value22) { r19 = currency; } else { try { binding = env2_16; } catch (error) { break exceptionLanding111; } try { USD = binding.USD; } catch (error) { break exceptionLanding111; } r19 = USD; } try { object2.currency = r19; } catch (error) { break exceptionLanding111; } try { object2.metadata = metadata; } catch (error) { break exceptionLanding111; } try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding5 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding5[16]; } catch (error) { break exceptionLanding111; } try { value23 = binding(property); } catch (error) { break exceptionLanding111; } try { createGatewayCheckoutContext = value23.createGatewayCheckoutContext; } catch (error) { break exceptionLanding111; } try { gatewayCheckoutContext = Reflect.apply(createGatewayCheckoutContext, value23, [paymentSource]); } catch (error) { break exceptionLanding111; } await gatewayCheckoutContext; try { value24 = undefined; value25 = false; } catch (error) { break exceptionLanding111; } if (value25) { return value24; } try { object2.gateway_checkout_context = value24; } catch (error) { break exceptionLanding111; } try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding6 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding6[17]; } catch (error) { break exceptionLanding111; } try { value26 = binding(property); } catch (error) { break exceptionLanding111; } try { getPurchaseToken = value26.getPurchaseToken; } catch (error) { break exceptionLanding111; } try { value27 = Reflect.apply(getPurchaseToken, value26, []); } catch (error) { break exceptionLanding111; } try { object2.purchase_token = value27; } catch (error) { break exceptionLanding111; } try { object2.referral_code = referralCode; } catch (error) { break exceptionLanding111; } try { object2.load_id = loadId; } catch (error) { break exceptionLanding111; } try { object2.expected_invoice_price = expectedInvoicePrice; } catch (error) { break exceptionLanding111; } try { object2.expected_renewal_price = expectedRenewalPrice; } catch (error) { break exceptionLanding111; } try { object.body = object2; } catch (error) { break exceptionLanding111; } try { object.oldFormErrors = true; } catch (error) { break exceptionLanding111; } try { object.rejectWithError = false; } catch (error) { break exceptionLanding111; } try { value28 = Reflect.apply(post, HTTP, [object]); } catch (error) { break exceptionLanding111; } await value28; try { value29 = undefined; value30 = false; } catch (error) { break exceptionLanding111; } if (value30) { return value29; } try { binding = env2_1; } catch (error) { break exceptionLanding111; } try { binding7 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding7[8]; } catch (error) { break exceptionLanding111; } try { value31 = binding(property); } catch (error) { break exceptionLanding111; } try { dispatch = value31.dispatch; } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { break exceptionLanding111; } try { body = value29.body; } catch (error) { break exceptionLanding111; } try { object.subscription = body; } catch (error) { break exceptionLanding111; } try { Reflect.apply(dispatch, value31, [object]); } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { body = value29.body; } catch (error) { break exceptionLanding111; } try { object.subscription = body; } catch (error) { break exceptionLanding111; } try { object.redirectConfirmation = false; } catch (error) { break exceptionLanding111; } return object; } try { object2.payment_source_token = value7; } catch (error) { break exceptionLanding111; } try { object2.trial_id = trialId; } catch (error) { break exceptionLanding111; } try { object2.return_url = r22; } catch (error) { break exceptionLanding111; } try { object2.code = code; } catch (error) { break exceptionLanding111; } try { value22 = value7 != paymentSource; } catch (error) { break exceptionLanding111; } if (value22) { r19 = currency; } else { try { binding = env2_16; } catch (error) { break exceptionLanding111; } try { USD = binding.USD; } catch (error) { break exceptionLanding111; } r19 = USD; } try { object2.currency = r19; } catch (error) { break exceptionLanding111; } try { object2.metadata = metadata; } catch (error) { break exceptionLanding111; } try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding5 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding5[16]; } catch (error) { break exceptionLanding111; } try { value23 = binding(property); } catch (error) { break exceptionLanding111; } try { createGatewayCheckoutContext = value23.createGatewayCheckoutContext; } catch (error) { break exceptionLanding111; } try { gatewayCheckoutContext = Reflect.apply(createGatewayCheckoutContext, value23, [paymentSource]); } catch (error) { break exceptionLanding111; } await gatewayCheckoutContext; try { value24 = undefined; value25 = false; } catch (error) { break exceptionLanding111; } if (value25) { return value24; } try { object2.gateway_checkout_context = value24; } catch (error) { break exceptionLanding111; } try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding6 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding6[17]; } catch (error) { break exceptionLanding111; } try { value26 = binding(property); } catch (error) { break exceptionLanding111; } try { getPurchaseToken = value26.getPurchaseToken; } catch (error) { break exceptionLanding111; } try { value27 = Reflect.apply(getPurchaseToken, value26, []); } catch (error) { break exceptionLanding111; } try { object2.purchase_token = value27; } catch (error) { break exceptionLanding111; } try { object2.referral_code = referralCode; } catch (error) { break exceptionLanding111; } try { object2.load_id = loadId; } catch (error) { break exceptionLanding111; } try { object2.expected_invoice_price = expectedInvoicePrice; } catch (error) { break exceptionLanding111; } try { object2.expected_renewal_price = expectedRenewalPrice; } catch (error) { break exceptionLanding111; } try { object.body = object2; } catch (error) { break exceptionLanding111; } try { object.oldFormErrors = true; } catch (error) { break exceptionLanding111; } try { object.rejectWithError = false; } catch (error) { break exceptionLanding111; } try { value28 = Reflect.apply(post, HTTP, [object]); } catch (error) { break exceptionLanding111; } await value28; try { value29 = undefined; value30 = false; } catch (error) { break exceptionLanding111; } if (value30) { return value29; } try { binding = env2_1; } catch (error) { break exceptionLanding111; } try { binding7 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding7[8]; } catch (error) { break exceptionLanding111; } try { value31 = binding(property); } catch (error) { break exceptionLanding111; } try { dispatch = value31.dispatch; } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { break exceptionLanding111; } try { body = value29.body; } catch (error) { break exceptionLanding111; } try { object.subscription = body; } catch (error) { break exceptionLanding111; } try { Reflect.apply(dispatch, value31, [object]); } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { body = value29.body; } catch (error) { break exceptionLanding111; } try { object.subscription = body; } catch (error) { break exceptionLanding111; } try { object.redirectConfirmation = false; } catch (error) { break exceptionLanding111; } return object; } binding = env2_15; has = binding.has; type = paymentSource.type; if (Reflect.apply(has, binding, [type])) { binding = env2_0; value8 = binding(env2_2[14]); popupBridgeState = value8.popupBridgeState; type = paymentSource.type; await Reflect.apply(popupBridgeState, value8, [type]); value9 = undefined; value10 = false; if (value10) { return value9; } binding = env2_0; value11 = binding(env2_2[9]); getAPIBaseURL = value11.getAPIBaseURL; value12 = Reflect.apply(getAPIBaseURL, value11, []); binding = env2_10; BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX = binding.BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX; type = paymentSource.type; value13 = ''; r13 = value7 != value9 ? value9 : value13; value14 = value12 + Reflect.apply(BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX, binding, [type, r13, 'success']); r22 = value14; try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding3 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding3[9]; } catch (error) { break exceptionLanding111; } try { value15 = binding(property); } catch (error) { break exceptionLanding111; } try { HTTP = value15.HTTP; } catch (error) { break exceptionLanding111; } try { post = HTTP.post; } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { binding = env2_10; } catch (error) { break exceptionLanding111; } try { BILLING_SUBSCRIPTIONS = binding.BILLING_SUBSCRIPTIONS; } catch (error) { break exceptionLanding111; } try { object.url = BILLING_SUBSCRIPTIONS; } catch (error) { break exceptionLanding111; } try { object2 = {}; } catch (error) { break exceptionLanding111; } try { map = value6.map; } catch (error) { break exceptionLanding111; } try { } catch (error) { break exceptionLanding111; } try { closure = _fun34623; } catch (error) { break exceptionLanding111; } try { value16 = Reflect.apply(map, value6, [closure]); } catch (error) { break exceptionLanding111; } try { object2.items = value16; } catch (error) { break exceptionLanding111; } try { value17 = value7 != paymentSource; } catch (error) { break exceptionLanding111; } if (value17) { try { id = paymentSource.id; } catch (error) { break exceptionLanding111; } } else { id = value7; } try { object2.payment_source_id = id; } catch (error) { break exceptionLanding111; } try { value18 = value7 != paymentSource; } catch (error) { break exceptionLanding111; } if (value18) { try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding4 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding4[15]; } catch (error) { break exceptionLanding111; } try { value19 = binding(property); } catch (error) { break exceptionLanding111; } try { createPaymentSourceToken = value19.createPaymentSourceToken; } catch (error) { break exceptionLanding111; } try { paymentSourceToken = Reflect.apply(createPaymentSourceToken, value19, [paymentSource]); } catch (error) { break exceptionLanding111; } await paymentSourceToken; try { value20 = undefined; value21 = false; } catch (error) { break exceptionLanding111; } if (value21) { return value20; } try { object2.payment_source_token = value20; } catch (error) { break exceptionLanding111; } try { object2.trial_id = trialId; } catch (error) { break exceptionLanding111; } try { object2.return_url = r22; } catch (error) { break exceptionLanding111; } try { object2.code = code; } catch (error) { break exceptionLanding111; } try { value22 = value7 != paymentSource; } catch (error) { break exceptionLanding111; } if (value22) { r19 = currency; } else { try { binding = env2_16; } catch (error) { break exceptionLanding111; } try { USD = binding.USD; } catch (error) { break exceptionLanding111; } r19 = USD; } try { object2.currency = r19; } catch (error) { break exceptionLanding111; } try { object2.metadata = metadata; } catch (error) { break exceptionLanding111; } try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding5 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding5[16]; } catch (error) { break exceptionLanding111; } try { value23 = binding(property); } catch (error) { break exceptionLanding111; } try { createGatewayCheckoutContext = value23.createGatewayCheckoutContext; } catch (error) { break exceptionLanding111; } try { gatewayCheckoutContext = Reflect.apply(createGatewayCheckoutContext, value23, [paymentSource]); } catch (error) { break exceptionLanding111; } await gatewayCheckoutContext; try { value24 = undefined; value25 = false; } catch (error) { break exceptionLanding111; } if (value25) { return value24; } try { object2.gateway_checkout_context = value24; } catch (error) { break exceptionLanding111; } try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding6 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding6[17]; } catch (error) { break exceptionLanding111; } try { value26 = binding(property); } catch (error) { break exceptionLanding111; } try { getPurchaseToken = value26.getPurchaseToken; } catch (error) { break exceptionLanding111; } try { value27 = Reflect.apply(getPurchaseToken, value26, []); } catch (error) { break exceptionLanding111; } try { object2.purchase_token = value27; } catch (error) { break exceptionLanding111; } try { object2.referral_code = referralCode; } catch (error) { break exceptionLanding111; } try { object2.load_id = loadId; } catch (error) { break exceptionLanding111; } try { object2.expected_invoice_price = expectedInvoicePrice; } catch (error) { break exceptionLanding111; } try { object2.expected_renewal_price = expectedRenewalPrice; } catch (error) { break exceptionLanding111; } try { object.body = object2; } catch (error) { break exceptionLanding111; } try { object.oldFormErrors = true; } catch (error) { break exceptionLanding111; } try { object.rejectWithError = false; } catch (error) { break exceptionLanding111; } try { value28 = Reflect.apply(post, HTTP, [object]); } catch (error) { break exceptionLanding111; } await value28; try { value29 = undefined; value30 = false; } catch (error) { break exceptionLanding111; } if (value30) { return value29; } try { binding = env2_1; } catch (error) { break exceptionLanding111; } try { binding7 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding7[8]; } catch (error) { break exceptionLanding111; } try { value31 = binding(property); } catch (error) { break exceptionLanding111; } try { dispatch = value31.dispatch; } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { break exceptionLanding111; } try { body = value29.body; } catch (error) { break exceptionLanding111; } try { object.subscription = body; } catch (error) { break exceptionLanding111; } try { Reflect.apply(dispatch, value31, [object]); } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { body = value29.body; } catch (error) { break exceptionLanding111; } try { object.subscription = body; } catch (error) { break exceptionLanding111; } try { object.redirectConfirmation = false; } catch (error) { break exceptionLanding111; } return object; } try { object2.payment_source_token = value7; } catch (error) { break exceptionLanding111; } try { object2.trial_id = trialId; } catch (error) { break exceptionLanding111; } try { object2.return_url = r22; } catch (error) { break exceptionLanding111; } try { object2.code = code; } catch (error) { break exceptionLanding111; } try { value22 = value7 != paymentSource; } catch (error) { break exceptionLanding111; } if (value22) { r19 = currency; } else { try { binding = env2_16; } catch (error) { break exceptionLanding111; } try { USD = binding.USD; } catch (error) { break exceptionLanding111; } r19 = USD; } try { object2.currency = r19; } catch (error) { break exceptionLanding111; } try { object2.metadata = metadata; } catch (error) { break exceptionLanding111; } try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding5 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding5[16]; } catch (error) { break exceptionLanding111; } try { value23 = binding(property); } catch (error) { break exceptionLanding111; } try { createGatewayCheckoutContext = value23.createGatewayCheckoutContext; } catch (error) { break exceptionLanding111; } try { gatewayCheckoutContext = Reflect.apply(createGatewayCheckoutContext, value23, [paymentSource]); } catch (error) { break exceptionLanding111; } await gatewayCheckoutContext; try { value24 = undefined; value25 = false; } catch (error) { break exceptionLanding111; } if (value25) { return value24; } try { object2.gateway_checkout_context = value24; } catch (error) { break exceptionLanding111; } try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding6 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding6[17]; } catch (error) { break exceptionLanding111; } try { value26 = binding(property); } catch (error) { break exceptionLanding111; } try { getPurchaseToken = value26.getPurchaseToken; } catch (error) { break exceptionLanding111; } try { value27 = Reflect.apply(getPurchaseToken, value26, []); } catch (error) { break exceptionLanding111; } try { object2.purchase_token = value27; } catch (error) { break exceptionLanding111; } try { object2.referral_code = referralCode; } catch (error) { break exceptionLanding111; } try { object2.load_id = loadId; } catch (error) { break exceptionLanding111; } try { object2.expected_invoice_price = expectedInvoicePrice; } catch (error) { break exceptionLanding111; } try { object2.expected_renewal_price = expectedRenewalPrice; } catch (error) { break exceptionLanding111; } try { object.body = object2; } catch (error) { break exceptionLanding111; } try { object.oldFormErrors = true; } catch (error) { break exceptionLanding111; } try { object.rejectWithError = false; } catch (error) { break exceptionLanding111; } try { value28 = Reflect.apply(post, HTTP, [object]); } catch (error) { break exceptionLanding111; } await value28; try { value29 = undefined; value30 = false; } catch (error) { break exceptionLanding111; } if (value30) { return value29; } try { binding = env2_1; } catch (error) { break exceptionLanding111; } try { binding7 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding7[8]; } catch (error) { break exceptionLanding111; } try { value31 = binding(property); } catch (error) { break exceptionLanding111; } try { dispatch = value31.dispatch; } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { break exceptionLanding111; } try { body = value29.body; } catch (error) { break exceptionLanding111; } try { object.subscription = body; } catch (error) { break exceptionLanding111; } try { Reflect.apply(dispatch, value31, [object]); } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { body = value29.body; } catch (error) { break exceptionLanding111; } try { object.subscription = body; } catch (error) { break exceptionLanding111; } try { object.redirectConfirmation = false; } catch (error) { break exceptionLanding111; } return object; } r22 = value7; try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding3 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding3[9]; } catch (error) { break exceptionLanding111; } try { value15 = binding(property); } catch (error) { break exceptionLanding111; } try { HTTP = value15.HTTP; } catch (error) { break exceptionLanding111; } try { post = HTTP.post; } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { binding = env2_10; } catch (error) { break exceptionLanding111; } try { BILLING_SUBSCRIPTIONS = binding.BILLING_SUBSCRIPTIONS; } catch (error) { break exceptionLanding111; } try { object.url = BILLING_SUBSCRIPTIONS; } catch (error) { break exceptionLanding111; } try { object2 = {}; } catch (error) { break exceptionLanding111; } try { map = value6.map; } catch (error) { break exceptionLanding111; } try { } catch (error) { break exceptionLanding111; } try { closure = _fun34623; } catch (error) { break exceptionLanding111; } try { value16 = Reflect.apply(map, value6, [closure]); } catch (error) { break exceptionLanding111; } try { object2.items = value16; } catch (error) { break exceptionLanding111; } try { value17 = value7 != paymentSource; } catch (error) { break exceptionLanding111; } if (value17) { try { id = paymentSource.id; } catch (error) { break exceptionLanding111; } } else { id = value7; } try { object2.payment_source_id = id; } catch (error) { break exceptionLanding111; } try { value18 = value7 != paymentSource; } catch (error) { break exceptionLanding111; } if (value18) { try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding4 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding4[15]; } catch (error) { break exceptionLanding111; } try { value19 = binding(property); } catch (error) { break exceptionLanding111; } try { createPaymentSourceToken = value19.createPaymentSourceToken; } catch (error) { break exceptionLanding111; } try { paymentSourceToken = Reflect.apply(createPaymentSourceToken, value19, [paymentSource]); } catch (error) { break exceptionLanding111; } await paymentSourceToken; try { value20 = undefined; value21 = false; } catch (error) { break exceptionLanding111; } if (value21) { return value20; } try { object2.payment_source_token = value20; } catch (error) { break exceptionLanding111; } try { object2.trial_id = trialId; } catch (error) { break exceptionLanding111; } try { object2.return_url = r22; } catch (error) { break exceptionLanding111; } try { object2.code = code; } catch (error) { break exceptionLanding111; } try { value22 = value7 != paymentSource; } catch (error) { break exceptionLanding111; } if (value22) { r19 = currency; } else { try { binding = env2_16; } catch (error) { break exceptionLanding111; } try { USD = binding.USD; } catch (error) { break exceptionLanding111; } r19 = USD; } try { object2.currency = r19; } catch (error) { break exceptionLanding111; } try { object2.metadata = metadata; } catch (error) { break exceptionLanding111; } try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding5 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding5[16]; } catch (error) { break exceptionLanding111; } try { value23 = binding(property); } catch (error) { break exceptionLanding111; } try { createGatewayCheckoutContext = value23.createGatewayCheckoutContext; } catch (error) { break exceptionLanding111; } try { gatewayCheckoutContext = Reflect.apply(createGatewayCheckoutContext, value23, [paymentSource]); } catch (error) { break exceptionLanding111; } await gatewayCheckoutContext; try { value24 = undefined; value25 = false; } catch (error) { break exceptionLanding111; } if (value25) { return value24; } try { object2.gateway_checkout_context = value24; } catch (error) { break exceptionLanding111; } try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding6 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding6[17]; } catch (error) { break exceptionLanding111; } try { value26 = binding(property); } catch (error) { break exceptionLanding111; } try { getPurchaseToken = value26.getPurchaseToken; } catch (error) { break exceptionLanding111; } try { value27 = Reflect.apply(getPurchaseToken, value26, []); } catch (error) { break exceptionLanding111; } try { object2.purchase_token = value27; } catch (error) { break exceptionLanding111; } try { object2.referral_code = referralCode; } catch (error) { break exceptionLanding111; } try { object2.load_id = loadId; } catch (error) { break exceptionLanding111; } try { object2.expected_invoice_price = expectedInvoicePrice; } catch (error) { break exceptionLanding111; } try { object2.expected_renewal_price = expectedRenewalPrice; } catch (error) { break exceptionLanding111; } try { object.body = object2; } catch (error) { break exceptionLanding111; } try { object.oldFormErrors = true; } catch (error) { break exceptionLanding111; } try { object.rejectWithError = false; } catch (error) { break exceptionLanding111; } try { value28 = Reflect.apply(post, HTTP, [object]); } catch (error) { break exceptionLanding111; } await value28; try { value29 = undefined; value30 = false; } catch (error) { break exceptionLanding111; } if (value30) { return value29; } try { binding = env2_1; } catch (error) { break exceptionLanding111; } try { binding7 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding7[8]; } catch (error) { break exceptionLanding111; } try { value31 = binding(property); } catch (error) { break exceptionLanding111; } try { dispatch = value31.dispatch; } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { break exceptionLanding111; } try { body = value29.body; } catch (error) { break exceptionLanding111; } try { object.subscription = body; } catch (error) { break exceptionLanding111; } try { Reflect.apply(dispatch, value31, [object]); } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { body = value29.body; } catch (error) { break exceptionLanding111; } try { object.subscription = body; } catch (error) { break exceptionLanding111; } try { object.redirectConfirmation = false; } catch (error) { break exceptionLanding111; } return object; } r24 = value7; try { object2.payment_source_token = r24; } catch (error) { break exceptionLanding111; } try { object2.trial_id = trialId; } catch (error) { break exceptionLanding111; } try { object2.return_url = r22; } catch (error) { break exceptionLanding111; } try { object2.code = code; } catch (error) { break exceptionLanding111; } try { value22 = value7 != paymentSource; } catch (error) { break exceptionLanding111; } if (value22) { r19 = currency; } else { try { binding = env2_16; } catch (error) { break exceptionLanding111; } try { USD = binding.USD; } catch (error) { break exceptionLanding111; } r19 = USD; } try { object2.currency = r19; } catch (error) { break exceptionLanding111; } try { object2.metadata = metadata; } catch (error) { break exceptionLanding111; } try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding5 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding5[16]; } catch (error) { break exceptionLanding111; } try { value23 = binding(property); } catch (error) { break exceptionLanding111; } try { createGatewayCheckoutContext = value23.createGatewayCheckoutContext; } catch (error) { break exceptionLanding111; } try { gatewayCheckoutContext = Reflect.apply(createGatewayCheckoutContext, value23, [paymentSource]); } catch (error) { break exceptionLanding111; } await gatewayCheckoutContext; try { value24 = undefined; value25 = false; } catch (error) { break exceptionLanding111; } if (value25) { return value24; } try { object2.gateway_checkout_context = value24; } catch (error) { break exceptionLanding111; } try { binding = env2_0; } catch (error) { break exceptionLanding111; } try { binding6 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding6[17]; } catch (error) { break exceptionLanding111; } try { value26 = binding(property); } catch (error) { break exceptionLanding111; } try { getPurchaseToken = value26.getPurchaseToken; } catch (error) { break exceptionLanding111; } try { value27 = Reflect.apply(getPurchaseToken, value26, []); } catch (error) { break exceptionLanding111; } try { object2.purchase_token = value27; } catch (error) { break exceptionLanding111; } try { object2.referral_code = referralCode; } catch (error) { break exceptionLanding111; } try { object2.load_id = loadId; } catch (error) { break exceptionLanding111; } try { object2.expected_invoice_price = expectedInvoicePrice; } catch (error) { break exceptionLanding111; } try { object2.expected_renewal_price = expectedRenewalPrice; } catch (error) { break exceptionLanding111; } try { object.body = object2; } catch (error) { break exceptionLanding111; } try { object.oldFormErrors = true; } catch (error) { break exceptionLanding111; } try { object.rejectWithError = false; } catch (error) { break exceptionLanding111; } try { value28 = Reflect.apply(post, HTTP, [object]); } catch (error) { break exceptionLanding111; } await value28; try { value29 = undefined; value30 = false; } catch (error) { break exceptionLanding111; } if (value30) { return value29; } try { binding = env2_1; } catch (error) { break exceptionLanding111; } try { binding7 = env2_2; } catch (error) { break exceptionLanding111; } try { property = binding7[8]; } catch (error) { break exceptionLanding111; } try { value31 = binding(property); } catch (error) { break exceptionLanding111; } try { dispatch = value31.dispatch; } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { break exceptionLanding111; } try { body = value29.body; } catch (error) { break exceptionLanding111; } try { object.subscription = body; } catch (error) { break exceptionLanding111; } try { Reflect.apply(dispatch, value31, [object]); } catch (error) { break exceptionLanding111; } try { object = {}; } catch (error) { break exceptionLanding111; } try { body = value29.body; } catch (error) { break exceptionLanding111; } try { object.subscription = body; } catch (error) { break exceptionLanding111; } try { object.redirectConfirmation = false; } catch (error) { break exceptionLanding111; } return object; break exceptionSkip111; } binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r8 = error; binding = env2_1; binding8 = env2_2; value34 = binding(binding8[8]); value34.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r8}); code = r8.code; binding = env2_0; if (code !== binding(binding8[11]).ErrorCodes.CONFIRMATION_REQUIRED) { throw r8; } if (error.body.payment_id) { return env2_33(error.body, paymentSource); } binding = env2_0; value = binding(env2_2[14]); throw value.dispatchConfirmationError('payment id cannot be null on redirected confirmations.'); } binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value32 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value33 = billingError instanceof Object ? billingError : value32; r8 = value33; binding = env2_1; binding8 = env2_2; value34 = binding(binding8[8]); dispatch = value34.dispatch; Reflect.apply(dispatch, value34, [{type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r8}]); code = r8.code; binding = env2_0; ErrorCodes = binding(binding8[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { throw r8; } body = error.body; payment_id = body.payment_id; if (payment_id) { return env2_33(error.body, paymentSource); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); break exceptionSkip111; } } } function _payInvoiceManually() { // fn#34624, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:7422, offset: 0x0105d935, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34626).apply(this, arguments); function* _fun34626(a0, a1, a2, a3, a4) { // fn#34626, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:7483, offset: 0x0105d96e, size: 801 bytes, params: 6, frame: 28 var r14; var id; var r7; var binding; var has; var type; var value4; var popupBridgeState; var value5; var aPIBaseURL; var BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX; var value11; var binding2; var property; var value12; var HTTP; var post; var object; var BILLING_INVOICE_MANUAL_PAYMENT; var value13; var object2; var value14; var value15; var binding3; var createPaymentSourceToken; var value16; var binding4; var getPurchaseToken; var value17; var binding5; var value18; var dispatch; var body; var error; var BillingError; var prototype; var billingError; var code; var ErrorCodes; var CONFIRMATION_REQUIRED; var payment_id; var dispatchConfirmationError; if (false) { return undefined; } value = null; if (value == a2) { r14 = value; value11 = environment.__proto__.__proto__; try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding2 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding2[9]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value12 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { HTTP = value12.HTTP; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { post = HTTP.post; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_10; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { BILLING_INVOICE_MANUAL_PAYMENT = binding.BILLING_INVOICE_MANUAL_PAYMENT; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { id = a0.id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value13 = Reflect.apply(BILLING_INVOICE_MANUAL_PAYMENT, binding, [id, a1]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.url = value13; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2 = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value14 = value != a2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value14) { try { id = a2.id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.payment_source_id = id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value15 = value != a2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value15) { try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding3 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding3[15]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { createPaymentSourceToken = value.createPaymentSourceToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(createPaymentSourceToken, value, [a2]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value16 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value16) { return value; } try { object2.payment_source_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.return_url = r14; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.currency = a3; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding4 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding4[17]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { getPurchaseToken = value.getPurchaseToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(getPurchaseToken, value, []); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.purchase_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.load_id = a4; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.body = object2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.oldFormErrors = true; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.rejectWithError = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value17 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value17) { return value; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding5 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding5[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value18 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { dispatch = value18.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { Reflect.apply(dispatch, value18, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_12; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { has = binding.has; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { type = a2.type; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(has, binding, [type]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.redirectConfirmation = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } return object; } try { object2.payment_source_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.return_url = r14; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.currency = a3; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding4 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding4[17]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { getPurchaseToken = value.getPurchaseToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(getPurchaseToken, value, []); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.purchase_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.load_id = a4; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.body = object2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.oldFormErrors = true; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.rejectWithError = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value17 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value17) { return value; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding5 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding5[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value18 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { dispatch = value18.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { Reflect.apply(dispatch, value18, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_12; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { has = binding.has; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { type = a2.type; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(has, binding, [type]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.redirectConfirmation = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } return object; } id = value; try { object2.payment_source_id = id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value15 = value != a2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value15) { try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding3 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding3[15]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { createPaymentSourceToken = value.createPaymentSourceToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(createPaymentSourceToken, value, [a2]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value16 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value16) { return value; } try { object2.payment_source_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.return_url = r14; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.currency = a3; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding4 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding4[17]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { getPurchaseToken = value.getPurchaseToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(getPurchaseToken, value, []); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.purchase_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.load_id = a4; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.body = object2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.oldFormErrors = true; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.rejectWithError = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value17 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value17) { return value; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding5 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding5[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value18 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { dispatch = value18.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { Reflect.apply(dispatch, value18, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_12; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { has = binding.has; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { type = a2.type; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(has, binding, [type]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.redirectConfirmation = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } return object; } try { object2.payment_source_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.return_url = r14; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.currency = a3; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding4 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding4[17]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { getPurchaseToken = value.getPurchaseToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(getPurchaseToken, value, []); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.purchase_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.load_id = a4; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.body = object2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.oldFormErrors = true; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.rejectWithError = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value17 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value17) { return value; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding5 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding5[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value18 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { dispatch = value18.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { Reflect.apply(dispatch, value18, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_12; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { has = binding.has; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { type = a2.type; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(has, binding, [type]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.redirectConfirmation = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } } else { has = env2_18.has; type = a2.type; if (Reflect.apply(has, binding, [type])) { binding = env2_0; value4 = binding(env2_2[14]); popupBridgeState = value4.popupBridgeState; type = a2.type; yield Reflect.apply(popupBridgeState, value4, [type]); value5 = undefined; if (false) { return value5; } binding = env2_0; aPIBaseURL = binding(env2_2[9]).getAPIBaseURL(); binding = env2_10; BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX = binding.BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX; type = a2.type; r14 = aPIBaseURL + Reflect.apply(BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX, binding, [type, value != value5 ? value5 : '', 'success']); value11 = environment.__proto__.__proto__; try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding2 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding2[9]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value12 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { HTTP = value12.HTTP; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { post = HTTP.post; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_10; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { BILLING_INVOICE_MANUAL_PAYMENT = binding.BILLING_INVOICE_MANUAL_PAYMENT; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { id = a0.id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value13 = Reflect.apply(BILLING_INVOICE_MANUAL_PAYMENT, binding, [id, a1]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.url = value13; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2 = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value14 = value != a2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value14) { try { id = a2.id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.payment_source_id = id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value15 = value != a2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value15) { try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding3 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding3[15]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { createPaymentSourceToken = value.createPaymentSourceToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(createPaymentSourceToken, value, [a2]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value16 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value16) { return value; } try { object2.payment_source_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.return_url = r14; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.currency = a3; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding4 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding4[17]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { getPurchaseToken = value.getPurchaseToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(getPurchaseToken, value, []); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.purchase_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.load_id = a4; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.body = object2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.oldFormErrors = true; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.rejectWithError = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value17 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value17) { return value; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding5 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding5[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value18 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { dispatch = value18.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { Reflect.apply(dispatch, value18, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_12; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { has = binding.has; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { type = a2.type; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(has, binding, [type]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.redirectConfirmation = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } return object; } try { object2.payment_source_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.return_url = r14; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.currency = a3; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding4 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding4[17]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { getPurchaseToken = value.getPurchaseToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(getPurchaseToken, value, []); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.purchase_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.load_id = a4; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.body = object2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.oldFormErrors = true; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.rejectWithError = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value17 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value17) { return value; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding5 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding5[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value18 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { dispatch = value18.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { Reflect.apply(dispatch, value18, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_12; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { has = binding.has; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { type = a2.type; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(has, binding, [type]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.redirectConfirmation = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } return object; } id = value; try { object2.payment_source_id = id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value15 = value != a2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value15) { try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding3 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding3[15]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { createPaymentSourceToken = value.createPaymentSourceToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(createPaymentSourceToken, value, [a2]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value16 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value16) { return value; } try { object2.payment_source_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.return_url = r14; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.currency = a3; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding4 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding4[17]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { getPurchaseToken = value.getPurchaseToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(getPurchaseToken, value, []); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.purchase_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.load_id = a4; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.body = object2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.oldFormErrors = true; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.rejectWithError = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value17 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value17) { return value; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding5 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding5[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value18 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { dispatch = value18.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { Reflect.apply(dispatch, value18, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_12; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { has = binding.has; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { type = a2.type; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(has, binding, [type]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.redirectConfirmation = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } return object; } try { object2.payment_source_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.return_url = r14; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.currency = a3; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding4 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding4[17]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { getPurchaseToken = value.getPurchaseToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(getPurchaseToken, value, []); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.purchase_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.load_id = a4; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.body = object2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.oldFormErrors = true; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.rejectWithError = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value17 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value17) { return value; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding5 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding5[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value18 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { dispatch = value18.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { Reflect.apply(dispatch, value18, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_12; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { has = binding.has; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { type = a2.type; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(has, binding, [type]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.redirectConfirmation = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } return object; } r14 = value; try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding2 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding2[9]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value12 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { HTTP = value12.HTTP; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { post = HTTP.post; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_10; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { BILLING_INVOICE_MANUAL_PAYMENT = binding.BILLING_INVOICE_MANUAL_PAYMENT; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { id = a0.id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value13 = Reflect.apply(BILLING_INVOICE_MANUAL_PAYMENT, binding, [id, a1]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.url = value13; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2 = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value14 = value != a2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value14) { try { id = a2.id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.payment_source_id = id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value15 = value != a2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value15) { try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding3 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding3[15]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { createPaymentSourceToken = value.createPaymentSourceToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(createPaymentSourceToken, value, [a2]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value16 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value16) { return value; } try { object2.payment_source_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.return_url = r14; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.currency = a3; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding4 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding4[17]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { getPurchaseToken = value.getPurchaseToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(getPurchaseToken, value, []); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.purchase_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.load_id = a4; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.body = object2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.oldFormErrors = true; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.rejectWithError = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value17 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value17) { return value; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding5 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding5[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value18 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { dispatch = value18.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { Reflect.apply(dispatch, value18, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_12; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { has = binding.has; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { type = a2.type; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(has, binding, [type]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.redirectConfirmation = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } return object; } try { object2.payment_source_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.return_url = r14; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.currency = a3; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding4 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding4[17]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { getPurchaseToken = value.getPurchaseToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(getPurchaseToken, value, []); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.purchase_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.load_id = a4; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.body = object2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.oldFormErrors = true; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.rejectWithError = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value17 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value17) { return value; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding5 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding5[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value18 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { dispatch = value18.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { Reflect.apply(dispatch, value18, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_12; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { has = binding.has; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { type = a2.type; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(has, binding, [type]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.redirectConfirmation = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } return object; } try { object2.payment_source_id = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value15 = value != a2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value15) { try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding3 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding3[15]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { createPaymentSourceToken = value.createPaymentSourceToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(createPaymentSourceToken, value, [a2]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value16 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value16) { return value; } try { object2.payment_source_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.return_url = r14; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.currency = a3; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding4 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding4[17]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { getPurchaseToken = value.getPurchaseToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(getPurchaseToken, value, []); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.purchase_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.load_id = a4; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.body = object2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.oldFormErrors = true; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.rejectWithError = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value17 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value17) { return value; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding5 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding5[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value18 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { dispatch = value18.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { Reflect.apply(dispatch, value18, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_12; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { has = binding.has; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { type = a2.type; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(has, binding, [type]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.redirectConfirmation = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } return object; } try { object2.payment_source_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.return_url = r14; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.currency = a3; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding4 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding4[17]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { getPurchaseToken = value.getPurchaseToken; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(getPurchaseToken, value, []); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.purchase_token = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object2.load_id = a4; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.body = object2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.oldFormErrors = true; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.rejectWithError = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } yield value; try { value = undefined; value17 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } if (value17) { return value; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding5 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { property = binding5[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value18 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { dispatch = value18.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { Reflect.apply(dispatch, value18, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { body = value.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { binding = env2_12; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { has = binding.has; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { type = a2.type; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { value = Reflect.apply(has, binding, [type]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } try { object.redirectConfirmation = value; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r7 = value; } code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { env2_1(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { binding = env2_33; body = error.body; return binding(body, a2); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); } } return object; } } function handleConfirmation(a0, a1) { // fn#34627, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:8551, offset: 0x0105dc8f, size: 124 bytes, params: 3, frame: 15 var r0; var value; if (a1 == null) { value = require(4226) /* metro dependency 4226: BillingPaymentGatewayActionCreators */; value = value.handleStripeConfirmation(a0.payment_id, a1); r0 = value; } else if (ADYEN_PAYMENT_SOURCES.has(a1.type)) { value = require(4226) /* metro dependency 4226: BillingPaymentGatewayActionCreators */; value = value.handleAdyenConfirmation(a0.adyen_redirect_url, a1); r0 = value; } else { value = require(4226) /* metro dependency 4226: BillingPaymentGatewayActionCreators */; value = value.handleStripeConfirmation(a0.payment_id, a1); r0 = value; } return r0; } function _redirectedPaymentSucceeded() { // fn#34628, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:8721, offset: 0x0105dd0b, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34630).apply(this, arguments); function* _fun34630(a0) { // fn#34630, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:8798, offset: 0x0105dd44, size: 335 bytes, params: 2, frame: 18 var r3; var value6; if (false) { return undefined; } value = environment.__proto__.__proto__; const value3 = undefined; yield env2_25(a0); const value4 = undefined; if (false) { return value4; } if ((value4 == null ? value3 : value4.body) == null) { value = env2_0(env2_2[14]); throw value.dispatchConfirmationError('could not fetch payment'); } let binding = env2_6; const fromServer = binding.createFromServer(value4.body.payment_source); binding = env2_12; if (binding.has(fromServer.type)) { if ((value4 == null || value4.body == null ? value3 : value4.body.status) === env2_17.FAILED) { value = env2_0(env2_2[14]); throw value.dispatchConfirmationError('payment failed'); } value6 = fromServer.paymentGateway !== env2_11.STRIPE; if (value6) { r3 = value6; } else { value = env2_0(env2_2[15]); value = value.paymentIntentSucceeded(a0); r3 = value; } return r3; } value = env2_0(env2_2[14]); throw value.dispatchConfirmationError('unsupported redirect payment source'); } } function _cancelSubscription() { // fn#34631, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:9302, offset: 0x0105de93, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34633).apply(this, arguments); function* _fun34633(a0, a1, a2) { // fn#34633, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:9363, offset: 0x0105decc, size: 302 bytes, params: 4, frame: 20 var object2; var binding2; var property; var value4; var HTTP; var del; var BILLING_SUBSCRIPTION; var value5; var object; var value6; var value7; var value8; var binding3; var value9; var error; var binding4; var BillingError; var prototype; var value10; var billingError; var value11; if (false) { return undefined; } value = environment.__proto__.__proto__; let binding = env2_1; binding(env2_2[8]).dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_START'}); try { binding = env2_0; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { binding2 = env2_2; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { property = binding2[9]; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { value4 = binding(property); } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { HTTP = value4.HTTP; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { del = HTTP.del; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { object2 = {}; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { binding = env2_10; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { BILLING_SUBSCRIPTION = binding.BILLING_SUBSCRIPTION; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { value5 = Reflect.apply(BILLING_SUBSCRIPTION, binding, [a0]); } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { object2.url = value5; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { object = {}; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { object.location = a2; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { object.location_stack = a1; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { object2.query = object; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { object2.oldFormErrors = true; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { object2.rejectWithError = false; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { value6 = Reflect.apply(del, HTTP, [object2]); } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } yield value6; try { value7 = undefined; value8 = false; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } if (!value8) { try { binding = env2_1; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { binding3 = env2_2; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { property = binding3[8]; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { value9 = binding(property); } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { dispatch = value9.dispatch; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { object2 = {}; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { object2.type = 'BILLING_SUBSCRIPTION_CANCEL_SUCCESS'; } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } try { Reflect.apply(dispatch, value9, [object2]); } catch (error) { binding = env2_0; binding4 = env2_2; BillingError = binding(binding4[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; binding = env2_1; value = binding(binding4[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_CANCEL_FAIL', error: value11}); throw value11; } } return value7; } } function _updateSubscription() { // fn#34635, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:9878, offset: 0x0105e018, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34637).apply(this, arguments); function* _fun34637(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#34637, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:9939, offset: 0x0105e051, size: 1071 bytes, params: 8, frame: 33 var environment; var id; var r8; var r18; var r7; var value; var value2; var value3; var binding; var value4; var dispatch; var object; var status; var paymentSource; var value5; var value6; var value7; var binding2; var property; var value8; var createPaymentSourceToken; var paymentSourceToken; var value9; var value10; var currency; var binding3; var value11; var createGatewayCheckoutContext; var gatewayCheckoutContext; var value12; var value13; var pauseDuration; var binding4; var value14; var getPurchaseToken; var value15; var value16; var has; var type; var value17; var binding5; var value18; var popupBridgeState; var value19; var value20; var value21; var binding6; var value22; var getAPIBaseURL; var value23; var BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX; var value24; var value25; var value26; var value27; var items2; var value28; var binding7; var value29; var coerceExistingItemsToNewItemInterval; var value30; var map; var closure; var value31; var binding8; var value32; var HTTP; var patch; var object2; var BILLING_SUBSCRIPTION; var value33; var object3; var value34; var value35; var value36; var binding9; var value37; var body; var error; var BillingError; var prototype; var value38; var billingError; var value39; var code; var ErrorCodes; var CONFIRMATION_REQUIRED; var payment_id; var dispatchConfirmationError; exceptionSkip165: while (true) { exceptionLanding165: while (true) { value = undefined; value2 = false; if (value2) { return value; } value = undefined; value3 = environment.__proto__.__proto__; binding = env2_1; value4 = binding(env2_2[8]); dispatch = value4.dispatch; Reflect.apply(dispatch, value4, [{type: 'BILLING_SUBSCRIPTION_UPDATE_START'}]); try { object = {}; } catch (error) { break exceptionLanding165; } try { status = require.status; } catch (error) { break exceptionLanding165; } try { object.status = status; } catch (error) { break exceptionLanding165; } try { paymentSource = require.paymentSource; } catch (error) { break exceptionLanding165; } value5 = null; try { value6 = value5 == paymentSource; } catch (error) { break exceptionLanding165; } if (value6) { id = value; } else { try { id = paymentSource.id; } catch (error) { break exceptionLanding165; } } try { object.payment_source_id = id; } catch (error) { break exceptionLanding165; } try { paymentSource = require.paymentSource; } catch (error) { break exceptionLanding165; } try { value7 = value5 != paymentSource; } catch (error) { break exceptionLanding165; } if (value7) { try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding2 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding2[15]; } catch (error) { break exceptionLanding165; } try { value8 = binding(property); } catch (error) { break exceptionLanding165; } try { createPaymentSourceToken = value8.createPaymentSourceToken; } catch (error) { break exceptionLanding165; } try { paymentSource = require.paymentSource; } catch (error) { break exceptionLanding165; } try { paymentSourceToken = Reflect.apply(createPaymentSourceToken, value8, [paymentSource]); } catch (error) { break exceptionLanding165; } yield paymentSourceToken; try { value9 = undefined; value10 = false; } catch (error) { break exceptionLanding165; } if (value10) { return value9; } try { object.payment_source_token = value9; } catch (error) { break exceptionLanding165; } try { currency = require.currency; } catch (error) { break exceptionLanding165; } try { object.currency = currency; } catch (error) { break exceptionLanding165; } try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding3 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding3[16]; } catch (error) { break exceptionLanding165; } try { value11 = binding(property); } catch (error) { break exceptionLanding165; } try { createGatewayCheckoutContext = value11.createGatewayCheckoutContext; } catch (error) { break exceptionLanding165; } try { paymentSource = require.paymentSource; } catch (error) { break exceptionLanding165; } try { gatewayCheckoutContext = Reflect.apply(createGatewayCheckoutContext, value11, [paymentSource]); } catch (error) { break exceptionLanding165; } yield gatewayCheckoutContext; try { value12 = undefined; value13 = false; } catch (error) { break exceptionLanding165; } if (value13) { return value12; } try { object.gateway_checkout_context = value12; } catch (error) { break exceptionLanding165; } try { object.load_id = dependencyMap; } catch (error) { break exceptionLanding165; } try { pauseDuration = require.pauseDuration; } catch (error) { break exceptionLanding165; } try { object.pause_duration = pauseDuration; } catch (error) { break exceptionLanding165; } try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding4 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding4[17]; } catch (error) { break exceptionLanding165; } try { value14 = binding(property); } catch (error) { break exceptionLanding165; } try { getPurchaseToken = value14.getPurchaseToken; } catch (error) { break exceptionLanding165; } try { value15 = Reflect.apply(getPurchaseToken, value14, []); } catch (error) { break exceptionLanding165; } try { object.purchase_token = value15; } catch (error) { break exceptionLanding165; } try { object.expected_invoice_price = importDefault; } catch (error) { break exceptionLanding165; } try { object.expected_renewal_price = importAll; } catch (error) { break exceptionLanding165; } try { paymentSource = require.paymentSource; } catch (error) { break exceptionLanding165; } try { value16 = value5 == paymentSource; } catch (error) { break exceptionLanding165; } if (value16) { try { items2 = require.items; } catch (error) { break exceptionLanding165; } try { value28 = value5 == items2; } catch (error) { break exceptionLanding165; } if (!value28) { try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding7 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding7[13]; } catch (error) { break exceptionLanding165; } try { value29 = binding(property); } catch (error) { break exceptionLanding165; } try { coerceExistingItemsToNewItemInterval = value29.coerceExistingItemsToNewItemInterval; } catch (error) { break exceptionLanding165; } try { items2 = require.items; } catch (error) { break exceptionLanding165; } try { value30 = Reflect.apply(coerceExistingItemsToNewItemInterval, value29, [items2]); } catch (error) { break exceptionLanding165; } try { map = value30.map; } catch (error) { break exceptionLanding165; } try { } catch (error) { break exceptionLanding165; } try { closure = function(a0) { var planId = a0.planId; var value = Object.create(null); value.planId = 0; var value2 = copyDataProperties({}, a0, value, a0); var object = {}; copyDataProperties(object, value2, value); object['plan_id'] = planId; return object; }; } catch (error) { break exceptionLanding165; } try { value31 = Reflect.apply(map, value30, [closure]); } catch (error) { break exceptionLanding165; } try { object.items = value31; } catch (error) { break exceptionLanding165; } } try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding8 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding8[9]; } catch (error) { break exceptionLanding165; } try { value32 = binding(property); } catch (error) { break exceptionLanding165; } try { HTTP = value32.HTTP; } catch (error) { break exceptionLanding165; } try { patch = HTTP.patch; } catch (error) { break exceptionLanding165; } try { object2 = {}; } catch (error) { break exceptionLanding165; } try { binding = env2_10; } catch (error) { break exceptionLanding165; } try { BILLING_SUBSCRIPTION = binding.BILLING_SUBSCRIPTION; } catch (error) { break exceptionLanding165; } try { id = global.id; } catch (error) { break exceptionLanding165; } try { value33 = Reflect.apply(BILLING_SUBSCRIPTION, binding, [id]); } catch (error) { break exceptionLanding165; } try { object2.url = value33; } catch (error) { break exceptionLanding165; } try { object3 = {}; } catch (error) { break exceptionLanding165; } try { object3.location = exports; } catch (error) { break exceptionLanding165; } try { object3.location_stack = module; } catch (error) { break exceptionLanding165; } try { object2.query = object3; } catch (error) { break exceptionLanding165; } try { object2.body = object; } catch (error) { break exceptionLanding165; } try { object2.oldFormErrors = true; } catch (error) { break exceptionLanding165; } try { object2.rejectWithError = false; } catch (error) { break exceptionLanding165; } try { value34 = Reflect.apply(patch, HTTP, [object2]); } catch (error) { break exceptionLanding165; } yield value34; try { value35 = undefined; value36 = false; } catch (error) { break exceptionLanding165; } if (value36) { return value35; } try { binding = env2_1; } catch (error) { break exceptionLanding165; } try { binding9 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding9[8]; } catch (error) { break exceptionLanding165; } try { value37 = binding(property); } catch (error) { break exceptionLanding165; } try { dispatch = value37.dispatch; } catch (error) { break exceptionLanding165; } try { object = {}; } catch (error) { break exceptionLanding165; } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { break exceptionLanding165; } try { body = value35.body; } catch (error) { break exceptionLanding165; } try { object.subscription = body; } catch (error) { break exceptionLanding165; } try { Reflect.apply(dispatch, value37, [object]); } catch (error) { break exceptionLanding165; } try { object = {}; } catch (error) { break exceptionLanding165; } try { body = value35.body; } catch (error) { break exceptionLanding165; } try { object.subscription = body; } catch (error) { break exceptionLanding165; } try { object.redirectConfirmation = false; } catch (error) { break exceptionLanding165; } return object; } try { binding = env2_15; } catch (error) { break exceptionLanding165; } try { has = binding.has; } catch (error) { break exceptionLanding165; } try { paymentSource = require.paymentSource; } catch (error) { break exceptionLanding165; } try { type = paymentSource.type; } catch (error) { break exceptionLanding165; } try { value17 = Reflect.apply(has, binding, [type]); } catch (error) { break exceptionLanding165; } if (value17) { try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding5 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding5[14]; } catch (error) { break exceptionLanding165; } try { value18 = binding(property); } catch (error) { break exceptionLanding165; } try { popupBridgeState = value18.popupBridgeState; } catch (error) { break exceptionLanding165; } try { paymentSource = require.paymentSource; } catch (error) { break exceptionLanding165; } try { type = paymentSource.type; } catch (error) { break exceptionLanding165; } try { value19 = Reflect.apply(popupBridgeState, value18, [type]); } catch (error) { break exceptionLanding165; } yield value19; try { value20 = undefined; value21 = false; } catch (error) { break exceptionLanding165; } if (value21) { return value20; } try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding6 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding6[9]; } catch (error) { break exceptionLanding165; } try { value22 = binding(property); } catch (error) { break exceptionLanding165; } try { getAPIBaseURL = value22.getAPIBaseURL; } catch (error) { break exceptionLanding165; } try { value23 = Reflect.apply(getAPIBaseURL, value22, []); } catch (error) { break exceptionLanding165; } try { binding = env2_10; } catch (error) { break exceptionLanding165; } try { BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX = binding.BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX; } catch (error) { break exceptionLanding165; } try { paymentSource = require.paymentSource; } catch (error) { break exceptionLanding165; } try { type = paymentSource.type; } catch (error) { break exceptionLanding165; } try { value24 = value5 != value20; } catch (error) { break exceptionLanding165; } value25 = ''; r18 = value24 ? value20 : value25; try { value26 = Reflect.apply(BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX, binding, [type, r18, 'success']); } catch (error) { break exceptionLanding165; } try { value27 = value23 + value26; } catch (error) { break exceptionLanding165; } try { object.return_url = value27; } catch (error) { break exceptionLanding165; } try { items2 = require.items; } catch (error) { break exceptionLanding165; } try { value28 = value5 == items2; } catch (error) { break exceptionLanding165; } if (!value28) { try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding7 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding7[13]; } catch (error) { break exceptionLanding165; } try { value29 = binding(property); } catch (error) { break exceptionLanding165; } try { coerceExistingItemsToNewItemInterval = value29.coerceExistingItemsToNewItemInterval; } catch (error) { break exceptionLanding165; } try { items2 = require.items; } catch (error) { break exceptionLanding165; } try { value30 = Reflect.apply(coerceExistingItemsToNewItemInterval, value29, [items2]); } catch (error) { break exceptionLanding165; } try { map = value30.map; } catch (error) { break exceptionLanding165; } try { } catch (error) { break exceptionLanding165; } try { closure = _fun34638; } catch (error) { break exceptionLanding165; } try { value31 = Reflect.apply(map, value30, [closure]); } catch (error) { break exceptionLanding165; } try { object.items = value31; } catch (error) { break exceptionLanding165; } } try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding8 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding8[9]; } catch (error) { break exceptionLanding165; } try { value32 = binding(property); } catch (error) { break exceptionLanding165; } try { HTTP = value32.HTTP; } catch (error) { break exceptionLanding165; } try { patch = HTTP.patch; } catch (error) { break exceptionLanding165; } try { object2 = {}; } catch (error) { break exceptionLanding165; } try { binding = env2_10; } catch (error) { break exceptionLanding165; } try { BILLING_SUBSCRIPTION = binding.BILLING_SUBSCRIPTION; } catch (error) { break exceptionLanding165; } try { id = global.id; } catch (error) { break exceptionLanding165; } try { value33 = Reflect.apply(BILLING_SUBSCRIPTION, binding, [id]); } catch (error) { break exceptionLanding165; } try { object2.url = value33; } catch (error) { break exceptionLanding165; } try { object3 = {}; } catch (error) { break exceptionLanding165; } try { object3.location = exports; } catch (error) { break exceptionLanding165; } try { object3.location_stack = module; } catch (error) { break exceptionLanding165; } try { object2.query = object3; } catch (error) { break exceptionLanding165; } try { object2.body = object; } catch (error) { break exceptionLanding165; } try { object2.oldFormErrors = true; } catch (error) { break exceptionLanding165; } try { object2.rejectWithError = false; } catch (error) { break exceptionLanding165; } try { value34 = Reflect.apply(patch, HTTP, [object2]); } catch (error) { break exceptionLanding165; } yield value34; try { value35 = undefined; value36 = false; } catch (error) { break exceptionLanding165; } if (value36) { return value35; } try { binding = env2_1; } catch (error) { break exceptionLanding165; } try { binding9 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding9[8]; } catch (error) { break exceptionLanding165; } try { value37 = binding(property); } catch (error) { break exceptionLanding165; } try { dispatch = value37.dispatch; } catch (error) { break exceptionLanding165; } try { object = {}; } catch (error) { break exceptionLanding165; } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { break exceptionLanding165; } try { body = value35.body; } catch (error) { break exceptionLanding165; } try { object.subscription = body; } catch (error) { break exceptionLanding165; } try { Reflect.apply(dispatch, value37, [object]); } catch (error) { break exceptionLanding165; } try { object = {}; } catch (error) { break exceptionLanding165; } try { body = value35.body; } catch (error) { break exceptionLanding165; } try { object.subscription = body; } catch (error) { break exceptionLanding165; } try { object.redirectConfirmation = false; } catch (error) { break exceptionLanding165; } return object; } try { items2 = require.items; } catch (error) { break exceptionLanding165; } try { value28 = value5 == items2; } catch (error) { break exceptionLanding165; } if (!value28) { try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding7 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding7[13]; } catch (error) { break exceptionLanding165; } try { value29 = binding(property); } catch (error) { break exceptionLanding165; } try { coerceExistingItemsToNewItemInterval = value29.coerceExistingItemsToNewItemInterval; } catch (error) { break exceptionLanding165; } try { items2 = require.items; } catch (error) { break exceptionLanding165; } try { value30 = Reflect.apply(coerceExistingItemsToNewItemInterval, value29, [items2]); } catch (error) { break exceptionLanding165; } try { map = value30.map; } catch (error) { break exceptionLanding165; } try { } catch (error) { break exceptionLanding165; } try { closure = _fun34638; } catch (error) { break exceptionLanding165; } try { value31 = Reflect.apply(map, value30, [closure]); } catch (error) { break exceptionLanding165; } try { object.items = value31; } catch (error) { break exceptionLanding165; } } try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding8 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding8[9]; } catch (error) { break exceptionLanding165; } try { value32 = binding(property); } catch (error) { break exceptionLanding165; } try { HTTP = value32.HTTP; } catch (error) { break exceptionLanding165; } try { patch = HTTP.patch; } catch (error) { break exceptionLanding165; } try { object2 = {}; } catch (error) { break exceptionLanding165; } try { binding = env2_10; } catch (error) { break exceptionLanding165; } try { BILLING_SUBSCRIPTION = binding.BILLING_SUBSCRIPTION; } catch (error) { break exceptionLanding165; } try { id = global.id; } catch (error) { break exceptionLanding165; } try { value33 = Reflect.apply(BILLING_SUBSCRIPTION, binding, [id]); } catch (error) { break exceptionLanding165; } try { object2.url = value33; } catch (error) { break exceptionLanding165; } try { object3 = {}; } catch (error) { break exceptionLanding165; } try { object3.location = exports; } catch (error) { break exceptionLanding165; } try { object3.location_stack = module; } catch (error) { break exceptionLanding165; } try { object2.query = object3; } catch (error) { break exceptionLanding165; } try { object2.body = object; } catch (error) { break exceptionLanding165; } try { object2.oldFormErrors = true; } catch (error) { break exceptionLanding165; } try { object2.rejectWithError = false; } catch (error) { break exceptionLanding165; } try { value34 = Reflect.apply(patch, HTTP, [object2]); } catch (error) { break exceptionLanding165; } yield value34; try { value35 = undefined; value36 = false; } catch (error) { break exceptionLanding165; } if (value36) { return value35; } try { binding = env2_1; } catch (error) { break exceptionLanding165; } try { binding9 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding9[8]; } catch (error) { break exceptionLanding165; } try { value37 = binding(property); } catch (error) { break exceptionLanding165; } try { dispatch = value37.dispatch; } catch (error) { break exceptionLanding165; } try { object = {}; } catch (error) { break exceptionLanding165; } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { break exceptionLanding165; } try { body = value35.body; } catch (error) { break exceptionLanding165; } try { object.subscription = body; } catch (error) { break exceptionLanding165; } try { Reflect.apply(dispatch, value37, [object]); } catch (error) { break exceptionLanding165; } try { object = {}; } catch (error) { break exceptionLanding165; } try { body = value35.body; } catch (error) { break exceptionLanding165; } try { object.subscription = body; } catch (error) { break exceptionLanding165; } try { object.redirectConfirmation = false; } catch (error) { break exceptionLanding165; } return object; } r8 = value5; try { object.payment_source_token = r8; } catch (error) { break exceptionLanding165; } try { currency = require.currency; } catch (error) { break exceptionLanding165; } try { object.currency = currency; } catch (error) { break exceptionLanding165; } try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding3 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding3[16]; } catch (error) { break exceptionLanding165; } try { value11 = binding(property); } catch (error) { break exceptionLanding165; } try { createGatewayCheckoutContext = value11.createGatewayCheckoutContext; } catch (error) { break exceptionLanding165; } try { paymentSource = require.paymentSource; } catch (error) { break exceptionLanding165; } try { gatewayCheckoutContext = Reflect.apply(createGatewayCheckoutContext, value11, [paymentSource]); } catch (error) { break exceptionLanding165; } yield gatewayCheckoutContext; try { value12 = undefined; value13 = false; } catch (error) { break exceptionLanding165; } if (value13) { return value12; } try { object.gateway_checkout_context = value12; } catch (error) { break exceptionLanding165; } try { object.load_id = dependencyMap; } catch (error) { break exceptionLanding165; } try { pauseDuration = require.pauseDuration; } catch (error) { break exceptionLanding165; } try { object.pause_duration = pauseDuration; } catch (error) { break exceptionLanding165; } try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding4 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding4[17]; } catch (error) { break exceptionLanding165; } try { value14 = binding(property); } catch (error) { break exceptionLanding165; } try { getPurchaseToken = value14.getPurchaseToken; } catch (error) { break exceptionLanding165; } try { value15 = Reflect.apply(getPurchaseToken, value14, []); } catch (error) { break exceptionLanding165; } try { object.purchase_token = value15; } catch (error) { break exceptionLanding165; } try { object.expected_invoice_price = importDefault; } catch (error) { break exceptionLanding165; } try { object.expected_renewal_price = importAll; } catch (error) { break exceptionLanding165; } try { paymentSource = require.paymentSource; } catch (error) { break exceptionLanding165; } try { value16 = value5 == paymentSource; } catch (error) { break exceptionLanding165; } if (value16) { try { items2 = require.items; } catch (error) { break exceptionLanding165; } try { value28 = value5 == items2; } catch (error) { break exceptionLanding165; } if (!value28) { try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding7 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding7[13]; } catch (error) { break exceptionLanding165; } try { value29 = binding(property); } catch (error) { break exceptionLanding165; } try { coerceExistingItemsToNewItemInterval = value29.coerceExistingItemsToNewItemInterval; } catch (error) { break exceptionLanding165; } try { items2 = require.items; } catch (error) { break exceptionLanding165; } try { value30 = Reflect.apply(coerceExistingItemsToNewItemInterval, value29, [items2]); } catch (error) { break exceptionLanding165; } try { map = value30.map; } catch (error) { break exceptionLanding165; } try { } catch (error) { break exceptionLanding165; } try { closure = _fun34638; } catch (error) { break exceptionLanding165; } try { value31 = Reflect.apply(map, value30, [closure]); } catch (error) { break exceptionLanding165; } try { object.items = value31; } catch (error) { break exceptionLanding165; } } try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding8 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding8[9]; } catch (error) { break exceptionLanding165; } try { value32 = binding(property); } catch (error) { break exceptionLanding165; } try { HTTP = value32.HTTP; } catch (error) { break exceptionLanding165; } try { patch = HTTP.patch; } catch (error) { break exceptionLanding165; } try { object2 = {}; } catch (error) { break exceptionLanding165; } try { binding = env2_10; } catch (error) { break exceptionLanding165; } try { BILLING_SUBSCRIPTION = binding.BILLING_SUBSCRIPTION; } catch (error) { break exceptionLanding165; } try { id = global.id; } catch (error) { break exceptionLanding165; } try { value33 = Reflect.apply(BILLING_SUBSCRIPTION, binding, [id]); } catch (error) { break exceptionLanding165; } try { object2.url = value33; } catch (error) { break exceptionLanding165; } try { object3 = {}; } catch (error) { break exceptionLanding165; } try { object3.location = exports; } catch (error) { break exceptionLanding165; } try { object3.location_stack = module; } catch (error) { break exceptionLanding165; } try { object2.query = object3; } catch (error) { break exceptionLanding165; } try { object2.body = object; } catch (error) { break exceptionLanding165; } try { object2.oldFormErrors = true; } catch (error) { break exceptionLanding165; } try { object2.rejectWithError = false; } catch (error) { break exceptionLanding165; } try { value34 = Reflect.apply(patch, HTTP, [object2]); } catch (error) { break exceptionLanding165; } yield value34; try { value35 = undefined; value36 = false; } catch (error) { break exceptionLanding165; } if (value36) { return value35; } try { binding = env2_1; } catch (error) { break exceptionLanding165; } try { binding9 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding9[8]; } catch (error) { break exceptionLanding165; } try { value37 = binding(property); } catch (error) { break exceptionLanding165; } try { dispatch = value37.dispatch; } catch (error) { break exceptionLanding165; } try { object = {}; } catch (error) { break exceptionLanding165; } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { break exceptionLanding165; } try { body = value35.body; } catch (error) { break exceptionLanding165; } try { object.subscription = body; } catch (error) { break exceptionLanding165; } try { Reflect.apply(dispatch, value37, [object]); } catch (error) { break exceptionLanding165; } try { object = {}; } catch (error) { break exceptionLanding165; } try { body = value35.body; } catch (error) { break exceptionLanding165; } try { object.subscription = body; } catch (error) { break exceptionLanding165; } try { object.redirectConfirmation = false; } catch (error) { break exceptionLanding165; } return object; } try { binding = env2_15; } catch (error) { break exceptionLanding165; } try { has = binding.has; } catch (error) { break exceptionLanding165; } try { paymentSource = require.paymentSource; } catch (error) { break exceptionLanding165; } try { type = paymentSource.type; } catch (error) { break exceptionLanding165; } try { value17 = Reflect.apply(has, binding, [type]); } catch (error) { break exceptionLanding165; } if (value17) { try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding5 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding5[14]; } catch (error) { break exceptionLanding165; } try { value18 = binding(property); } catch (error) { break exceptionLanding165; } try { popupBridgeState = value18.popupBridgeState; } catch (error) { break exceptionLanding165; } try { paymentSource = require.paymentSource; } catch (error) { break exceptionLanding165; } try { type = paymentSource.type; } catch (error) { break exceptionLanding165; } try { value19 = Reflect.apply(popupBridgeState, value18, [type]); } catch (error) { break exceptionLanding165; } yield value19; try { value20 = undefined; value21 = false; } catch (error) { break exceptionLanding165; } if (value21) { return value20; } try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding6 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding6[9]; } catch (error) { break exceptionLanding165; } try { value22 = binding(property); } catch (error) { break exceptionLanding165; } try { getAPIBaseURL = value22.getAPIBaseURL; } catch (error) { break exceptionLanding165; } try { value23 = Reflect.apply(getAPIBaseURL, value22, []); } catch (error) { break exceptionLanding165; } try { binding = env2_10; } catch (error) { break exceptionLanding165; } try { BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX = binding.BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX; } catch (error) { break exceptionLanding165; } try { paymentSource = require.paymentSource; } catch (error) { break exceptionLanding165; } try { type = paymentSource.type; } catch (error) { break exceptionLanding165; } try { value24 = value5 != value20; } catch (error) { break exceptionLanding165; } value25 = ''; r18 = value24 ? value20 : value25; try { value26 = Reflect.apply(BILLING_POPUP_BRIDGE_CALLBACK_REDIRECT_PREFIX, binding, [type, r18, 'success']); } catch (error) { break exceptionLanding165; } try { value27 = value23 + value26; } catch (error) { break exceptionLanding165; } try { object.return_url = value27; } catch (error) { break exceptionLanding165; } try { items2 = require.items; } catch (error) { break exceptionLanding165; } try { value28 = value5 == items2; } catch (error) { break exceptionLanding165; } if (!value28) { try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding7 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding7[13]; } catch (error) { break exceptionLanding165; } try { value29 = binding(property); } catch (error) { break exceptionLanding165; } try { coerceExistingItemsToNewItemInterval = value29.coerceExistingItemsToNewItemInterval; } catch (error) { break exceptionLanding165; } try { items2 = require.items; } catch (error) { break exceptionLanding165; } try { value30 = Reflect.apply(coerceExistingItemsToNewItemInterval, value29, [items2]); } catch (error) { break exceptionLanding165; } try { map = value30.map; } catch (error) { break exceptionLanding165; } try { } catch (error) { break exceptionLanding165; } try { closure = _fun34638; } catch (error) { break exceptionLanding165; } try { value31 = Reflect.apply(map, value30, [closure]); } catch (error) { break exceptionLanding165; } try { object.items = value31; } catch (error) { break exceptionLanding165; } } try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding8 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding8[9]; } catch (error) { break exceptionLanding165; } try { value32 = binding(property); } catch (error) { break exceptionLanding165; } try { HTTP = value32.HTTP; } catch (error) { break exceptionLanding165; } try { patch = HTTP.patch; } catch (error) { break exceptionLanding165; } try { object2 = {}; } catch (error) { break exceptionLanding165; } try { binding = env2_10; } catch (error) { break exceptionLanding165; } try { BILLING_SUBSCRIPTION = binding.BILLING_SUBSCRIPTION; } catch (error) { break exceptionLanding165; } try { id = global.id; } catch (error) { break exceptionLanding165; } try { value33 = Reflect.apply(BILLING_SUBSCRIPTION, binding, [id]); } catch (error) { break exceptionLanding165; } try { object2.url = value33; } catch (error) { break exceptionLanding165; } try { object3 = {}; } catch (error) { break exceptionLanding165; } try { object3.location = exports; } catch (error) { break exceptionLanding165; } try { object3.location_stack = module; } catch (error) { break exceptionLanding165; } try { object2.query = object3; } catch (error) { break exceptionLanding165; } try { object2.body = object; } catch (error) { break exceptionLanding165; } try { object2.oldFormErrors = true; } catch (error) { break exceptionLanding165; } try { object2.rejectWithError = false; } catch (error) { break exceptionLanding165; } try { value34 = Reflect.apply(patch, HTTP, [object2]); } catch (error) { break exceptionLanding165; } yield value34; try { value35 = undefined; value36 = false; } catch (error) { break exceptionLanding165; } if (value36) { return value35; } try { binding = env2_1; } catch (error) { break exceptionLanding165; } try { binding9 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding9[8]; } catch (error) { break exceptionLanding165; } try { value37 = binding(property); } catch (error) { break exceptionLanding165; } try { dispatch = value37.dispatch; } catch (error) { break exceptionLanding165; } try { object = {}; } catch (error) { break exceptionLanding165; } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { break exceptionLanding165; } try { body = value35.body; } catch (error) { break exceptionLanding165; } try { object.subscription = body; } catch (error) { break exceptionLanding165; } try { Reflect.apply(dispatch, value37, [object]); } catch (error) { break exceptionLanding165; } try { object = {}; } catch (error) { break exceptionLanding165; } try { body = value35.body; } catch (error) { break exceptionLanding165; } try { object.subscription = body; } catch (error) { break exceptionLanding165; } try { object.redirectConfirmation = false; } catch (error) { break exceptionLanding165; } return object; } try { items2 = require.items; } catch (error) { break exceptionLanding165; } try { value28 = value5 == items2; } catch (error) { break exceptionLanding165; } if (!value28) { try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding7 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding7[13]; } catch (error) { break exceptionLanding165; } try { value29 = binding(property); } catch (error) { break exceptionLanding165; } try { coerceExistingItemsToNewItemInterval = value29.coerceExistingItemsToNewItemInterval; } catch (error) { break exceptionLanding165; } try { items2 = require.items; } catch (error) { break exceptionLanding165; } try { value30 = Reflect.apply(coerceExistingItemsToNewItemInterval, value29, [items2]); } catch (error) { break exceptionLanding165; } try { map = value30.map; } catch (error) { break exceptionLanding165; } try { } catch (error) { break exceptionLanding165; } try { closure = _fun34638; } catch (error) { break exceptionLanding165; } try { value31 = Reflect.apply(map, value30, [closure]); } catch (error) { break exceptionLanding165; } try { object.items = value31; } catch (error) { break exceptionLanding165; } } try { binding = env2_0; } catch (error) { break exceptionLanding165; } try { binding8 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding8[9]; } catch (error) { break exceptionLanding165; } try { value32 = binding(property); } catch (error) { break exceptionLanding165; } try { HTTP = value32.HTTP; } catch (error) { break exceptionLanding165; } try { patch = HTTP.patch; } catch (error) { break exceptionLanding165; } try { object2 = {}; } catch (error) { break exceptionLanding165; } try { binding = env2_10; } catch (error) { break exceptionLanding165; } try { BILLING_SUBSCRIPTION = binding.BILLING_SUBSCRIPTION; } catch (error) { break exceptionLanding165; } try { id = global.id; } catch (error) { break exceptionLanding165; } try { value33 = Reflect.apply(BILLING_SUBSCRIPTION, binding, [id]); } catch (error) { break exceptionLanding165; } try { object2.url = value33; } catch (error) { break exceptionLanding165; } try { object3 = {}; } catch (error) { break exceptionLanding165; } try { object3.location = exports; } catch (error) { break exceptionLanding165; } try { object3.location_stack = module; } catch (error) { break exceptionLanding165; } try { object2.query = object3; } catch (error) { break exceptionLanding165; } try { object2.body = object; } catch (error) { break exceptionLanding165; } try { object2.oldFormErrors = true; } catch (error) { break exceptionLanding165; } try { object2.rejectWithError = false; } catch (error) { break exceptionLanding165; } try { value34 = Reflect.apply(patch, HTTP, [object2]); } catch (error) { break exceptionLanding165; } yield value34; try { value35 = undefined; value36 = false; } catch (error) { break exceptionLanding165; } if (value36) { return value35; } try { binding = env2_1; } catch (error) { break exceptionLanding165; } try { binding9 = env2_2; } catch (error) { break exceptionLanding165; } try { property = binding9[8]; } catch (error) { break exceptionLanding165; } try { value37 = binding(property); } catch (error) { break exceptionLanding165; } try { dispatch = value37.dispatch; } catch (error) { break exceptionLanding165; } try { object = {}; } catch (error) { break exceptionLanding165; } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { break exceptionLanding165; } try { body = value35.body; } catch (error) { break exceptionLanding165; } try { object.subscription = body; } catch (error) { break exceptionLanding165; } try { Reflect.apply(dispatch, value37, [object]); } catch (error) { break exceptionLanding165; } try { object = {}; } catch (error) { break exceptionLanding165; } try { body = value35.body; } catch (error) { break exceptionLanding165; } try { object.subscription = body; } catch (error) { break exceptionLanding165; } try { object.redirectConfirmation = false; } catch (error) { break exceptionLanding165; } return object; break exceptionSkip165; } binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r7 = error; code = r7.code; binding = env2_0; if (code !== binding(env2_2[11]).ErrorCodes.CONFIRMATION_REQUIRED) { value = env2_1(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } if (error.body.payment_id) { return env2_33(error.body, require.paymentSource); } binding = env2_0; value = binding(env2_2[14]); throw value.dispatchConfirmationError('payment id cannot be null on redirected confirmations.'); } binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value38 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value39 = billingError instanceof Object ? billingError : value38; r7 = value39; code = r7.code; binding = env2_0; ErrorCodes = binding(env2_2[11]).ErrorCodes; CONFIRMATION_REQUIRED = ErrorCodes.CONFIRMATION_REQUIRED; if (code !== CONFIRMATION_REQUIRED) { value = env2_1(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r7}); throw r7; } body = error.body; payment_id = body.payment_id; if (payment_id) { return env2_33(error.body, require.paymentSource); } binding = env2_0; value = binding(env2_2[14]); dispatchConfirmationError = value.dispatchConfirmationError; throw Reflect.apply(dispatchConfirmationError, value, ['payment id cannot be null on redirected confirmations.']); break exceptionSkip165; } } } function _voidPendingPayment() { // fn#34639, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:11518, offset: 0x0105e4b5, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34641).apply(this, arguments); function* _fun34641(a0) { // fn#34641, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:11579, offset: 0x0105e4ee, size: 101 bytes, params: 2, frame: 16 if (true) { value = environment.__proto__.__proto__; var HTTP = env2_0(env2_2[9]).HTTP; var post = HTTP.post; var object = {'url': null, 'oldFormErrors': true, 'rejectWithError': false}; object.url = env2_10.BILLING_PAYMENTS_VOID(a0); yield Reflect.apply(post, HTTP, [object]); } } } function _fetchIpCountryCode() { // fn#34642, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:11712, offset: 0x0105e553, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34644).apply(this, arguments); async function _fun34644() { // fn#34644, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:11773, offset: 0x0105e595, size: 298 bytes, params: 1, frame: 18 var environment; var binding; var binding2; var property; var value5; var HTTP; var get; var object; var BILLING_COUNTRY_CODE; var value6; var value7; var wait; var closure; var value8; var value9; var body; var country_code; var binding3; var value10; var dispatch; var error; let value = a0; if (false) { return undefined; } const r2 = value !== undefined ? value : false; var env0_0; await undefined; if (false) { return undefined; } if (r2) { value = environment.__proto__.__proto__; try { binding = env2_0; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { binding2 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { property = binding2[9]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { value5 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { HTTP = value5.HTTP; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { get = HTTP.get; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { binding = env2_10; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { BILLING_COUNTRY_CODE = binding.BILLING_COUNTRY_CODE; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { object.url = BILLING_COUNTRY_CODE; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { object.rejectWithError = false; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { value6 = Reflect.apply(get, HTTP, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { env0_0 = value6; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { property = binding2[8]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { value7 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { wait = value7.wait; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { closure = _fun34645; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { Reflect.apply(wait, value7, [closure]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } await value6; try { value8 = undefined; value9 = false; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } if (value9) { return value8; } try { body = value8.body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { country_code = body.country_code; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { binding3 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { property = binding3[8]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { value10 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { dispatch = value10.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { object.type = 'BILLING_SET_IP_COUNTRY_CODE'; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { object.countryCode = country_code; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { Reflect.apply(dispatch, value10, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } return value8; } value = environment.__proto__.__proto__; if (env2_7.ipCountryCodeRequest == null) { value = environment.__proto__.__proto__; try { binding = env2_0; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { binding2 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { property = binding2[9]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { value5 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { HTTP = value5.HTTP; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { get = HTTP.get; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { binding = env2_10; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { BILLING_COUNTRY_CODE = binding.BILLING_COUNTRY_CODE; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { object.url = BILLING_COUNTRY_CODE; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { object.rejectWithError = false; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { value6 = Reflect.apply(get, HTTP, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { env0_0 = value6; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { property = binding2[8]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { value7 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { wait = value7.wait; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { closure = _fun34645; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { Reflect.apply(wait, value7, [closure]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } await value6; try { value8 = undefined; value9 = false; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } if (value9) { return value8; } try { body = value8.body; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { country_code = body.country_code; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { binding = env2_1; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { binding3 = env2_2; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { property = binding3[8]; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { value10 = binding(property); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { dispatch = value10.dispatch; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { object = {}; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { object.type = 'BILLING_SET_IP_COUNTRY_CODE'; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { object.countryCode = country_code; } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } try { Reflect.apply(dispatch, value10, [object]); } catch (error) { binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_IP_COUNTRY_CODE_FAILURE'}); return error; } return value8; } return env2_7.ipCountryCodeRequest; function _fun34645() { // fn#34645, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:11945, offset: 0x0105e6bf, size: 61 bytes, params: 1, frame: 12 const value = environment.__proto__.__proto__.__proto__; return env3_1(env3_2[8]).dispatch({type: 'BILLING_IP_COUNTRY_CODE_FETCH_START', request: env0_0}); } } } function _fetchIpLocation() { // fn#34647, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:12396, offset: 0x0105e740, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34649).apply(this, arguments); async function _fun34649() { // fn#34649, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:12451, offset: 0x0105e782, size: 403 bytes, params: 1, frame: 23 var environment; var binding; var binding2; var property; var value5; var HTTP; var get; var object; var BILLING_LOCATION; var value6; var value7; var wait; var closure; var value8; var value9; var body; var country_code; var subdivision_code; var binding3; var value10; var dispatch; var object2; var value11; var error; var binding4; var value12; var track; var BILLING_IP_LOCATION_FETCH_ERROR; var message; let value = a0; if (false) { return undefined; } const r2 = value !== undefined ? value : false; var env0_0; await undefined; if (false) { return undefined; } if (r2) { value = environment.__proto__.__proto__; try { binding = env2_0; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { binding2 = env2_2; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { property = binding2[9]; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { value5 = binding(property); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { HTTP = value5.HTTP; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { get = HTTP.get; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object = {}; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { binding = env2_10; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { BILLING_LOCATION = binding.BILLING_LOCATION; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object.url = BILLING_LOCATION; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object.rejectWithError = false; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { value6 = Reflect.apply(get, HTTP, [object]); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { env0_0 = value6; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { binding = env2_1; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { property = binding2[8]; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { value7 = binding(property); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { wait = value7.wait; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { closure = _fun34650; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { Reflect.apply(wait, value7, [closure]); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } await value6; try { value8 = undefined; value9 = false; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } if (value9) { return value8; } try { body = value8.body; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { country_code = body.country_code; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { body = value8.body; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { subdivision_code = body.subdivision_code; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { binding = env2_1; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { binding3 = env2_2; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { property = binding3[8]; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { value10 = binding(property); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { dispatch = value10.dispatch; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object = {}; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object.type = 'BILLING_SET_IP_LOCATION'; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object2 = {}; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object2.countryCode = country_code; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object2.subdivisionCode = subdivision_code; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object.location = object2; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { Reflect.apply(dispatch, value10, [object]); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { property = binding3[8]; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { value11 = binding(property); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { dispatch = value11.dispatch; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object = {}; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object.type = 'BILLING_SET_IP_COUNTRY_CODE'; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object.countryCode = country_code; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { Reflect.apply(dispatch, value11, [object]); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } return value8; } value = environment.__proto__.__proto__; if (env2_7.ipLocationRequest == null) { value = environment.__proto__.__proto__; try { binding = env2_0; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { binding2 = env2_2; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { property = binding2[9]; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { value5 = binding(property); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { HTTP = value5.HTTP; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { get = HTTP.get; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object = {}; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { binding = env2_10; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { BILLING_LOCATION = binding.BILLING_LOCATION; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object.url = BILLING_LOCATION; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object.rejectWithError = false; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { value6 = Reflect.apply(get, HTTP, [object]); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { env0_0 = value6; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { binding = env2_1; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { property = binding2[8]; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { value7 = binding(property); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { wait = value7.wait; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { closure = _fun34650; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { Reflect.apply(wait, value7, [closure]); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } await value6; try { value8 = undefined; value9 = false; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } if (value9) { return value8; } try { body = value8.body; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { country_code = body.country_code; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { body = value8.body; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { subdivision_code = body.subdivision_code; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { binding = env2_1; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { binding3 = env2_2; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { property = binding3[8]; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { value10 = binding(property); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { dispatch = value10.dispatch; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object = {}; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object.type = 'BILLING_SET_IP_LOCATION'; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object2 = {}; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object2.countryCode = country_code; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object2.subdivisionCode = subdivision_code; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object.location = object2; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { Reflect.apply(dispatch, value10, [object]); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { property = binding3[8]; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { value11 = binding(property); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { dispatch = value11.dispatch; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object = {}; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object.type = 'BILLING_SET_IP_COUNTRY_CODE'; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { object.countryCode = country_code; } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } try { Reflect.apply(dispatch, value11, [object]); } catch (error) { binding = env2_1; binding4 = env2_2; value12 = binding(binding4[18]); track = value12.track; BILLING_IP_LOCATION_FETCH_ERROR = env2_9.BILLING_IP_LOCATION_FETCH_ERROR; message = error.message; Reflect.apply(track, value12, [BILLING_IP_LOCATION_FETCH_ERROR, {error_message: message}]); value = binding(binding4[8]); value.dispatch({type: 'BILLING_IP_LOCATION_FAILURE'}); return error; } return value8; } return env2_7.ipLocationRequest; function _fun34650() { // fn#34650, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:12613, offset: 0x0105e915, size: 61 bytes, params: 1, frame: 12 const value = environment.__proto__.__proto__.__proto__; return env3_1(env3_2[8]).dispatch({type: 'BILLING_IP_LOCATION_FETCH_START', request: env0_0}); } } } function _redeemReactivationOffer() { // fn#34651, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:13098, offset: 0x0105e952, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34653).apply(this, arguments); function* _fun34653(a0, a1) { // fn#34653, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:13169, offset: 0x0105e98b, size: 350 bytes, params: 3, frame: 21 var r1; var binding; var binding2; var property; var value3; var HTTP; var post; var object; var REACTIVATION_OFFER_REDEEM; var id; var id2; var value4; var value5; var value6; var value7; var binding3; var value8; var dispatch; var body; var value9; var error; var BillingError; var prototype; var value10; var billingError; var value11; if (true) { value = environment.__proto__.__proto__; try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { binding2 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { property = binding2[9]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { value3 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { HTTP = value3.HTTP; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { post = HTTP.post; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { binding = env2_10; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { REACTIVATION_OFFER_REDEEM = binding.REACTIVATION_OFFER_REDEEM; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { id = a0.id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { id2 = a1.id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { value4 = Reflect.apply(REACTIVATION_OFFER_REDEEM, binding, [id, id2]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { object.url = value4; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { object.rejectWithError = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { value5 = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } yield value5; try { value6 = undefined; value7 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } if (value7) { return value6; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { binding3 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { property = binding3[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { value8 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { dispatch = value8.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { object.type = 'BILLING_SUBSCRIPTION_UPDATE_SUCCESS'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { body = value6.body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { object.subscription = body; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { Reflect.apply(dispatch, value8, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { property = binding3[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { value9 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { dispatch = value9.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { object.type = 'BILLING_USER_OFFER_REDEEMED'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { id = a1.id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { object.offerId = id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } try { Reflect.apply(dispatch, value9, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { BillingError = env2_0(env2_2[10]).BillingError; prototype = BillingError.prototype; value10 = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value11 = billingError instanceof Object ? billingError : value10; r1 = value11; } binding = env2_1; value = binding(env2_2[8]); value.dispatch({type: 'BILLING_SUBSCRIPTION_UPDATE_FAIL', error: r1}); throw r1; } } } } function _redeemUserDiscountOffer() { // fn#34654, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:13619, offset: 0x0105eae9, size: 48 bytes, params: 1, frame: 14 return Module00005(_fun34656).apply(this, arguments); function* _fun34656(a0) { // fn#34656, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:13690, offset: 0x0105eb22, size: 262 bytes, params: 2, frame: 18 var r1; var binding; var binding2; var property; var value3; var HTTP; var post; var object; var USER_OFFER_REDEEM; var object2; var id; var value4; var value5; var value6; var binding3; var value7; var dispatch; var error; var BillingError; var prototype; var billingError; if (true) { value = environment.__proto__.__proto__; try { binding = env2_0; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { binding2 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { property = binding2[9]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { value3 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { HTTP = value3.HTTP; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { post = HTTP.post; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { binding = env2_10; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { USER_OFFER_REDEEM = binding.USER_OFFER_REDEEM; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { object.url = USER_OFFER_REDEEM; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { object2 = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { id = a0.id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { object2.user_discount_offer_id = id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { object.body = object2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { object.rejectWithError = true; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { value4 = Reflect.apply(post, HTTP, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } yield value4; try { value5 = undefined; value6 = false; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } if (value6) { return value5; } try { binding = env2_1; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { binding3 = env2_2; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { property = binding3[8]; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { value7 = binding(property); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { dispatch = value7.dispatch; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { object = {}; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { object.type = 'BILLING_USER_OFFER_REDEEMED'; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { id = a0.id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { object.offerId = id; } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } try { Reflect.apply(dispatch, value7, [object]); } catch (error) { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; if (error instanceof BillingError) { r1 = error; } else { binding = env2_0; BillingError = binding(env2_2[10]).BillingError; prototype = BillingError.prototype; value = Object.create(prototype, {constructor: {value: BillingError}}); billingError = new BillingError(); value = billingError instanceof Object ? billingError : value; r1 = value; } throw r1; } } } } function deleteRenewalMutation(a0, a1) { // fn#34670, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:15628, offset: 0x0105ec64, size: 116 bytes, params: 3, frame: 22 var value; const updateSubscriptionBinding = updateSubscription; const object = {}; object.items = a0.items; const object2 = {amount: 0}; object2.currency = a0.currency; const getItemPlansTotalServerPrice = (PremiumUtilsModule).getItemPlansTotalServerPrice; value = Reflect.apply(getItemPlansTotalServerPrice, value, [a0.items, a0.currency, a0.paymentSourceId]); return updateSubscriptionBinding(a0, object, object2, value, a1); } function resubscribeToSubscription(a0, a1, a2, a3, a4) { // fn#34671, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:15889, offset: 0x0105ecd8, size: 148 bytes, params: 6, frame: 25 const updateSubscriptionBinding = updateSubscription; const object = {}; const ACTIVE = SubscriptionStatusTypes.ACTIVE; object.status = ACTIVE; object.paymentSource = a2; object.currency = a3; const object2 = {amount: 0}; object2.currency = a0.currency; const value = undefined; const getItemPlansTotalServerPrice = PremiumUtilsModule.getItemPlansTotalServerPrice; return updateSubscriptionBinding(a0, object, object2, Reflect.apply(getItemPlansTotalServerPrice, PremiumUtilsModule, [a0.items, a0.currency, a2 == null ? value : a2.id]), a1, a4); } function clearUpdatePaymentSourceError() { // fn#34675, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:16649, offset: 0x0105ee4f, size: 49 bytes, params: 1, frame: 13 (Dispatcher).dispatch({type: 'BILLING_PAYMENT_SOURCE_UPDATE_CLEAR_ERROR'}); } function clearRemovePaymentSourceError() { // fn#34676, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:16793, offset: 0x0105ee80, size: 49 bytes, params: 1, frame: 13 (Dispatcher).dispatch({type: 'BILLING_PAYMENT_SOURCE_REMOVE_CLEAR_ERROR'}); } function clearPaymentAuthenticationError() { // fn#34677, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:16939, offset: 0x0105eeb1, size: 49 bytes, params: 1, frame: 13 (Dispatcher).dispatch({type: 'PAYMENT_AUTHENTICATION_CLEAR_ERROR'}); } function popupBridgeCallback({paymentSourceType, state, path, query, insecure}) { // fn#34679, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:17170, offset: 0x0105ef00, size: 198 bytes, params: 2, frame: 21 (Dispatcher).dispatch({type: 'BILLING_POPUP_BRIDGE_CALLBACK_START', paymentSourceType: paymentSourceType}); const HTTP = (HTTPUtilsModule).HTTP; const post = HTTP.post; object = {}; object.url = Endpoints.BILLING_POPUP_BRIDGE_CALLBACK(paymentSourceType); object.body = {state: state, path: path, query: query, insecure: insecure}; object.oldFormErrors = true; object.rejectWithError = false; return Reflect.apply(post, HTTP, [object]).then(_fun34680); function _fun34680(a0) { // fn#34680, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:17489, offset: 0x0105efc6, size: 64 bytes, params: 2, frame: 12 const value = environment.__proto__; (Dispatcher).dispatch({type: 'BILLING_POPUP_BRIDGE_CALLBACK_END', paymentSourceType: paymentSourceType}); return a0; } } function clearAndFetchPaymentSourceCreationContext() { // fn#34682, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:17798, offset: 0x0105f024, size: 90 bytes, params: 1, frame: 15 (Dispatcher).dispatch({type: 'PAYMENT_SOURCE_CREATION_CONTEXT_FETCH_START'}); let value = fetchPaymentSourceCreationContext(); value = value.then(_fun34683); value.catch(function(a0) { var r4; var Error; var value = a0; var defaultImport = importDefault(dependencyMap[8]); var dispatch = defaultImport.dispatch; if (value instanceof global.Error) { r4 = value; } else { Error = global.Error; value = (0, global.String)(value); value = new Error(value); r4 = value; } Reflect.apply(dispatch, defaultImport, [{type: 'PAYMENT_SOURCE_CREATION_CONTEXT_FETCH_FAIL', error: r4}]); }); function _fun34683({body}) { // fn#34683, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:17964, offset: 0x0105f07e, size: 219 bytes, params: 2, frame: 17 var r6; var dispatch; var Error; var value2; var error; var value4; var defaultImport; var object2; var store_country; var allowed_payment_source_types; var allowed_billing_address_countries; let value = null; if (value != body) { value4 = environment.__proto__; defaultImport = importDefault(694) /* metro dependency 694: Dispatcher */; dispatch = defaultImport.dispatch; object2 = {}; store_country = body.store_country; r6 = value != store_country ? store_country : value; object2.store_country = r6; allowed_payment_source_types = body.allowed_payment_source_types; r6 = value != allowed_payment_source_types ? allowed_payment_source_types : []; object2.allowed_payment_source_types = r6; allowed_billing_address_countries = body.allowed_billing_address_countries; object2.allowed_billing_address_countries = value != allowed_billing_address_countries ? allowed_billing_address_countries : []; Reflect.apply(dispatch, defaultImport, [{type: 'PAYMENT_SOURCE_CREATION_CONTEXT_FETCH_SUCCESS', data: object2}]); } else { value = environment.__proto__; value = importDefault(694) /* metro dependency 694: Dispatcher */; dispatch = value.dispatch; Error = global.Error; value2 = Object.create(Error.prototype, {constructor: {value: Error}}); error = new Error('Missing response body'); Reflect.apply(dispatch, value, [{type: 'PAYMENT_SOURCE_CREATION_CONTEXT_FETCH_FAIL', error: error instanceof Object ? error : value2}]); } } } function resetPaymentIntentId() { // fn#34686, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:18646, offset: 0x0105f1e6, size: 49 bytes, params: 1, frame: 13 (Dispatcher).dispatch({type: 'RESET_PAYMENT_ID'}); } function resetSubscriptionStore() { // fn#34687, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:18749, offset: 0x0105f217, size: 49 bytes, params: 1, frame: 13 (Dispatcher).dispatch({type: 'BILLING_SUBSCRIPTION_RESET'}); } function startBrowserCheckout(a0) { // fn#34688, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:18862, offset: 0x0105f248, size: 57 bytes, params: 2, frame: 13 (Dispatcher).dispatch({type: 'USER_PAYMENT_BROWSER_CHECKOUT_STARTED', loadId: a0}); } } function _fun34623({planId, quantity}) { // fn#34623, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:6428, offset: 0x0105d918, size: 29 bytes, params: 2, frame: 3 return {plan_id: planId, quantity: quantity}; } function _fun34638(a0) { // fn#34638, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4394:10785, offset: 0x0105e480, size: 53 bytes, params: 2, frame: 14 const planId = a0.planId; const value = Object.create(null); value.planId = 0; const value2 = copyDataProperties({}, a0, value, a0); const object = {}; copyDataProperties(object, value2, value); object['plan_id'] = planId; return object; } global.__d(_fun34584, 4223, [29, 5, 3806, 3804, 3808, 661, 3813, 482, 694, 507, 4131, 3824, 3738, 3802, 4224, 4226, 3817, 4232, 683, 2]) /* metro module 4223, dependencies: [29, 5, 3806, 3804, 3808, 661, 3813, 482, 694, 507, 4131, 3824, 3738, 3802, 4224, 4226, 3817, 4232, 683, 2] */;