1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[110],{34977:function(e,t,i){var r;r=function(){return(function e(t,i,r){function n(a,s){if(!i[a]){if(!t[a]){if(o)return o(a,!0);var l=Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var d=i[a]={exports:{}};t[a][0].call(d.exports,function(e){return n(t[a][1][e]||e)},d,d.exports,e,t,i,r)}return i[a].exports}for(var o=void 0,a=0;a<r.length;a++)n(r[a]);return n})({1:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.loadStylesheet=i.loadScript=void 0;var r=e("./load-script");i.loadScript=r;var n=e("./load-stylesheet");i.loadStylesheet=n},{"./load-script":3,"./load-stylesheet":4}],2:[function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.PromiseGlobal=void 0;var n=r(e("promise-polyfill")),o="undefined"!=typeof Promise?Promise:n.default;i.PromiseGlobal=o},{"promise-polyfill":186}],3:[function(e,t,i){"use strict";var r=e("./lib/promise"),n={};function o(e){var t,i=JSON.stringify(e);if(!e.forceScriptReload&&(t=n[i]))return t;var o=document.createElement("script"),a=e.dataAttributes||{},s=e.container||document.head;return o.src=e.src,o.id=e.id||"",o.async=!0,e.crossorigin&&o.setAttribute("crossorigin",""+e.crossorigin),Object.keys(a).forEach(function(e){o.setAttribute("data-"+e,""+a[e])}),t=new r.PromiseGlobal(function(t,i){o.addEventListener("load",function(){t(o)}),o.addEventListener("error",function(){i(Error(e.src+" failed to load."))}),o.addEventListener("abort",function(){i(Error(e.src+" has aborted."))}),s.appendChild(o)}),n[i]=t,t}o.clearCache=function(){n={}},t.exports=o},{"./lib/promise":2}],4:[function(e,t,i){"use strict";var r=e("./lib/promise");t.exports=function(e){var t=document.querySelector('link[href="'+e.href+'"]');if(t)return r.PromiseGlobal.resolve(t);t=document.createElement("link");var i=e.container||document.head;return t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t.setAttribute("href",e.href),t.setAttribute("id",e.id),i.firstChild?i.insertBefore(t,i.firstChild):i.appendChild(t),r.PromiseGlobal.resolve(t)}},{"./lib/promise":2}],5:[function(e,t,i){t.exports=e("./dist/load-script")},{"./dist/load-script":3}],6:[function(e,t,i){"use strict";t.exports=function(e){return e=e||window.navigator.userAgent,/Android/.test(e)}},{}],7:[function(e,t,i){"use strict";t.exports=function(e){return e=e||window.navigator.userAgent,/CrOS/i.test(e)}},{}],8:[function(e,t,i){"use strict";var r=e("./is-edge"),n=e("./is-samsung"),o=e("./is-duckduckgo"),a=e("./is-opera"),s=e("./is-silk");t.exports=function(e){return(-1!==(e=e||window.navigator.userAgent).indexOf("Chrome")||-1!==e.indexOf("CriOS"))&&!r(e)&&!n(e)&&!o(e)&&!a(e)&&!s(e)}},{"./is-duckduckgo":9,"./is-edge":10,"./is-opera":22,"./is-samsung":23,"./is-silk":24}],9:[function(e,t,i){"use strict";t.exports=function(e){return -1!==(e=e||window.navigator.userAgent).indexOf("DuckDuckGo/")}},{}],10:[function(e,t,i){"use strict";t.exports=function(e){return -1!==(e=e||window.navigator.userAgent).indexOf("Edge/")}},{}],11:[function(e,t,i){"use strict";t.exports=function(e){return e=e||window.navigator.userAgent,/Firefox/i.test(e)}},{}],12:[function(e,t,i){"use strict";var r=e("./is-ie11");t.exports=function(e){return -1!==(e=e||window.navigator.userAgent).indexOf("MSIE")||r(e)}},{"./is-ie11":14}],13:[function(e,t,i){"use strict";t.exports=function(e){return -1!==(e=e||window.navigator.userAgent).indexOf("MSIE 10")}},{}],14:[function(e,t,i){"use strict";t.exports=function(e){return -1!==(e=e||window.navigator.userAgent).indexOf("Trident/7")}},{}],15:[function(e,t,i){"use strict";t.exports=function(e){return -1!==(e=e||window.navigator.userAgent).indexOf("MSIE 9")}},{}],16:[function(e,t,i){"use strict";t.exports=function(e){return e=e||window.navigator.userAgent,/FxiOS/i.test(e)}},{}],17:[function(e,t,i){"use strict";var r=e("./is-ios");t.exports=function(e){var t;return r(e=e||window.navigator.userAgent)&&(t=e,/\bGSA\b/.test(t))}},{"./is-ios":21}],18:[function(e,t,i){"use strict";var r=e("./is-ios"),n=e("./is-ios-firefox"),o=/webkit/i;t.exports=function(e){var t;return r(e=e||window.navigator.userAgent)&&(t=e,o.test(t))&&-1===e.indexOf("CriOS")&&!n(e)}},{"./is-ios":21,"./is-ios-firefox":16}],19:[function(e,t,i){"use strict";var r=e("./is-ios"),n=e("./is-ios-google-search-app");t.exports=function(e){return!!r(e=e||window.navigator.userAgent)&&(!!n(e)||/.+AppleWeb
1Kit(?!.*Safari)/.test(e))}},{"./is-ios":21,"./is-ios-google-search-app":17}],20:[function(e,t,i){"use strict";var r=e("./is-ios-webview");t.exports=function(e,t){return t=void 0!==t?t:window.statusbar.visible,r(e)&&t}},{"./is-ios-webview":19}],21:[function(e,t,i){"use strict";t.exports=function(e){return e=e||window.navigator.userAgent,/iPhone|iPod|iPad/i.test(e)}},{}],22:[function(e,t,i){"use strict";t.exports=function(e){return -1!==(e=e||window.navigator.userAgent).indexOf("OPR/")||-1!==e.indexOf("Opera/")||-1!==e.indexOf("OPT/")}},{}],23:[function(e,t,i){"use strict";t.exports=function(e){return e=e||window.navigator.userAgent,/SamsungBrowser/i.test(e)}},{}],24:[function(e,t,i){"use strict";t.exports=function(e){return -1!==(e=e||window.navigator.userAgent).indexOf("Silk/")}},{}],25:[function(e,t,i){"use strict";var r=e("./is-android"),n=e("./is-ios-firefox"),o=e("./is-ios-webview"),a=e("./is-chrome"),s=e("./is-samsung"),l=e("./is-duckduckgo");function d(e){return(e=e||window.navigator.userAgent).indexOf("Opera Mini")>-1}t.exports=function(e){var t,i,c;return!(o(e=e||window.navigator.userAgent)||n(e)||r(t=(t=e)||window.navigator.userAgent)&&/Version\/[\d.]+/.test(t)&&!d(t)&&!l(t)||d(e)||(i=(e||window.navigator.userAgent).match(/CriOS\/(\d+)\./))&&48>parseInt(i[1],10)||!a(c=e)&&!s(c)&&/samsung/i.test(c))}},{"./is-android":6,"./is-chrome":8,"./is-duckduckgo":9,"./is-ios-firefox":16,"./is-ios-webview":19,"./is-samsung":23}],26:[function(e,t,i){t.exports=e("./dist/is-android")},{"./dist/is-android":6}],27:[function(e,t,i){t.exports=e("./dist/is-chrome-os")},{"./dist/is-chrome-os":7}],28:[function(e,t,i){t.exports=e("./dist/is-chrome")},{"./dist/is-chrome":8}],29:[function(e,t,i){t.exports=e("./dist/is-edge")},{"./dist/is-edge":10}],30:[function(e,t,i){t.exports=e("./dist/is-firefox")},{"./dist/is-firefox":11}],31:[function(e,t,i){t.exports=e("./dist/is-ie")},{"./dist/is-ie":12}],32:[function(e,t,i){t.exports=e("./dist/is-ie10")},{"./dist/is-ie10":13}],33:[function(e,t,i){t.exports=e("./dist/is-ie9")},{"./dist/is-ie9":15}],34:[function(e,t,i){t.exports=e("./dist/is-ios-safari")},{"./dist/is-ios-safari":18}],35:[function(e,t,i){t.exports=e("./dist/is-ios-webview")},{"./dist/is-ios-webview":19}],36:[function(e,t,i){t.exports=e("./dist/is-ios-wkwebview")},{"./dist/is-ios-wkwebview":20}],37:[function(e,t,i){t.exports=e("./dist/is-ios")},{"./dist/is-ios":21}],38:[function(e,t,i){t.exports=e("./dist/supports-popups")},{"./dist/supports-popups":25}],39:[function(e,t,i){"use strict";function r(e){return e.className.trim().split(/\s+/)}function n(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];e.className=r(e).filter(function(e){return -1===t.indexOf(e)}).concat(t).join(" ")}function o(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];e.className=r(e).filter(function(e){return -1===t.indexOf(e)}).join(" ")}Object.defineProperty(i,"__esModule",{value:!0}),i.toggle=i.remove=i.add=void 0,i.add=n,i.remove=o,i.toggle=function(e,t,i){i?n(e,t):o(e,t)}},{}],40:[function(e,t,i){"use strict";var r=function(){function e(){this._events={}}return e.prototype.on=function(e,t){this._events[e]?this._events[e].push(t):this._events[e]=[t]},e.prototype.off=function(e,t){var i=this._events[e];if(i){var r=i.indexOf(t);i.splice(r,1)}},e.prototype._emit=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];var r=this._events[e];r&&r.forEach(function(e){e.apply(void 0,t)})},e.prototype.hasListener=function(e){var t=this._events[e];return!!t&&t.length>0},e.createChild=function(t){t.prototype=Object.create(e.prototype,{constructor:t})},e}();t.exports=r},{}],41:[function(e,t,i){"use strict";var r="undefined"!=typeof Promise?Promise:null,n=function(){function e(t){var i=this;if("function"==typeof t){this._promise=new e.Promise(t);return}this._promise=new e.Promise(function(e,t){i._resolveFunction=e,i._rejectFunction=t}),t=t||{},this._onResolve=t.onResolve||e.defaultOnResolve,this._onReject=t.onReject||e.defaultOnReject,e.shouldCatchExceptions(t)&&this._promise.catch(function(){}),this._resetState()}return e.defaultOnResolve=function(t){return e.Promise.resolve(t)},e.defaultOnReject=function(t){return e.Promise.reject(t)},e.setPromise=function(t){e.Promise=t},e.shouldCatchExceptions=function(t){return t.hasOwnProperty("suppressUnhandledPromiseMessage")?!!t.suppressUnhandledPromiseMessage:!!e.suppressUnhandledPromiseMessage},e.all=function(t){return e.Promise.all(t)},e.allSettled=function(t){return e.Promise.allSettled(t)},e.race=function(t){return e.Promise.race(t)},e.reject=function(t){return e.Promise.reject(t)},e.resolve=function(t){return e.Promise.resolve(t)},e.prototype.then=function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return(e=this._promise).then.apply(e,t)},e.prototype.catch=function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return(e=this._promise).catch.apply(e,t)},e.prototype.resolve=function(t){var i=this;return this.isFulfilled||(this._setResolved(),e.Promise.resolve().then(function(){return i._onResolve(t)}).then(function(e){i._resolveFunction(e)}).catch(function(e){i._resetState(),i.reject(e)})),this},e.prototype.reject=function(t){var i=this;return this.isFulfilled||(this._setRejected(),e.Promise.resolve().then(function(){return i._onReject(t)}).then(function(e){i._setResolved(),i._resolveFunction(e)}).catch(function(e){return i._rejectFunction(e)})),this},e.prototype._resetState=function(){this.isFulfilled=!1,this.isResolved=!1,this.isRejected=!1},e.prototype._setResolved=function(){this.isFulfilled=!0,this.isResolved=!0,this.isRejected=!1},e.prototype._setRejected=function(){this.isFulfilled=!0,this.isResolved=!1,this.isRejected=!0},e.Promise=r,e}();t.exports=n},{}],42:[function(e,t,i){"use strict";
1var r=e("./lib/set-attributes"),n=e("./lib/default-attributes"),o=e("./lib/assign");t.exports=function(e){void 0===e&&(e={});var t=document.createElement("iframe"),i=o.assign({},n.defaultAttributes,e);return i.style&&"string"!=typeof i.style&&(o.assign(t.style,i.style),delete i.style),r.setAttributes(t,i),t.getAttribute("id")||(t.id=t.name),t}},{"./lib/assign":43,"./lib/default-attributes":44,"./lib/set-attributes":45}],43:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.assign=void 0,i.assign=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return t.forEach(function(t){"object"==typeof t&&Object.keys(t).forEach(function(i){e[i]=t[i]})}),e}},{}],44:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.defaultAttributes=void 0,i.defaultAttributes={src:"about:blank",frameBorder:0,allowtransparency:!0,scrolling:"no"}},{}],45:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.setAttributes=void 0,i.setAttributes=function(e,t){for(var i in t)if(t.hasOwnProperty(i)){var r=t[i];null==r?e.removeAttribute(i):e.setAttribute(i,r)}}},{}],46:[function(e,t,i){"use strict";t.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}},{}],47:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.deferred=function(e){return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];setTimeout(function(){try{e.apply(void 0,t)}catch(e){console.log("Error in callback function"),console.log(e)}},1)}}},{}],48:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.once=function(e){var t=!1;return function(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];t||(t=!0,e.apply(void 0,i))}}},{}],49:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.promiseOrCallback=function(e,t){if(!t)return e;e.then(function(e){return t(null,e)}).catch(function(e){return t(e)})}},{}],50:[function(e,t,i){"use strict";var r=e("./lib/deferred"),n=e("./lib/once"),o=e("./lib/promise-or-callback");function a(e){return function(){for(var t,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return"function"==typeof i[i.length-1]&&(t=i.pop(),t=n.once(r.deferred(t))),o.promiseOrCallback(e.apply(this,i),t)}}a.wrapPrototype=function(e,t){void 0===t&&(t={});var i=t.ignoreMethods||[],r=!0===t.transformPrivateMethods;return Object.getOwnPropertyNames(e.prototype).filter(function(t){var n,o="constructor"!==t&&"function"==typeof e.prototype[t],a=-1===i.indexOf(t);return n=!!r||"_"!==t.charAt(0),o&&n&&a}).forEach(function(t){var i=e.prototype[t];e.prototype[t]=a(i)}),e},t.exports=a},{"./lib/deferred":47,"./lib/once":48,"./lib/promise-or-callback":49}],51:[function(e,t,i){"use strict";var r=e("../lib/braintree-error"),n=e("../lib/analytics"),o=e("./errors"),a=e("../lib/promise"),s=e("../lib/methods"),l=e("../lib/convert-methods-to-error"),d=e("@braintree/wrap-promise");function c(e){this._instantiatedWithClient=!e.useDeferredClient,this._client=e.client,this._createPromise=e.createPromise,this._client&&this._setMerchantIdentifier()}c.prototype._waitForClient=function(){return this._client?a.resolve():this._createPromise.then((function(e){this._client=e,this._setMerchantIdentifier()}).bind(this))},c.prototype._setMerchantIdentifier=function(){var e=this._client.getConfiguration().gatewayConfiguration.applePayWeb;e&&Object.defineProperty(this,"merchantIdentifier",{value:e.merchantIdentifier,configurable:!1,writable:!1})},c.prototype.createPaymentRequest=function(e){return this._instantiatedWithClient?this._createPaymentRequestSynchronously(e):this._waitForClient().then((function(){return this._createPaymentRequestSynchronously(e)}).bind(this))},c.prototype._createPaymentRequestSynchronously=function(e){var t=this._client.getConfiguration().gatewayConfiguration.applePayWeb;return Object.assign({},{countryCode:t.countryCode,currencyCode:t.currencyCode,merchantCapabilities:t.merchantCapabilities||["supports3DS"],supportedNetworks:t.supportedNetworks.map(function(e){return"mastercard"===e?"masterCard":e})},e)},c.prototype.performValidation=function(e){var t=this;return e&&e.validationURL?this._waitForClient().then(function(){var i={validationUrl:e.validationURL,domainName:e.domainName||window.location.hostname,merchantIdentifier:e.merchantIdentifier||t.merchantIdentifier};return null!=e.displayName&&(i.displayName=e.displayName),t._client.request({method:"post",endpoint:"apple_pay_web/sessions",data:{_meta:{source:"apple-pay"},applePayWebSession:i}})}).then(function(e){return n.sendEvent(t._client,"applepay.performValidation.succeeded"),a.resolve(e)}).catch(function(e){return(n.sendEvent(t._client,"applepay.performValidation.failed"),"CLIENT_REQUEST_ERROR"===e.code)?a.reject(new r({type:o.APPLE_PAY_MERCHANT_VALIDATION_FAILED.type,code:o.APPLE_PAY_MERCHANT_VALIDATION_FAILED.code,message:o.APPLE_PAY_MERCHANT_VALIDATION_FAILED.message,details:{originalError:e.details.originalError}})):a.reject(new r({type:o.APPLE_PAY_MERCHANT_VALIDATION_NETWORK.type,code:o.APPLE_PAY_MERCHANT_VALIDATION_NETWORK.code,message:o.APPLE_PAY_MERCHANT_VALIDATION_NETWORK.message,details:{originalError:e}}))}):a.reject(new r(o.APPLE_PAY_VALIDATION_URL_REQUIRED))},c.prototype.tokenize=function(e){var t=this;return e.token?this._waitForClient().then(function(){return t._client.request({method:"post",endpoint:"payment_methods/apple_payment_tokens",data:{_meta:{source:"apple-pay"},applePaymentToken:Object.assign({},e.token,{paymentData:btoa(JSON.stringify(e.token.paymentData))})}})}).then(function(e){return n.sendEvent(t._client,"applepay.tokenize.succeeded"),a.resolve(e.applePayCards[0])}).catch(function(e){return n.sendEvent(t._client,"applepay.tokenize.failed"),a.reject(new r({type:o.APPLE_PAY_TOKENIZATION.type,code:o.APPLE_PAY_TOKENIZATION.code,message:o.APPLE_PAY_TOKENIZATION.message,details:{originalError:e}}))}):a.reject(new r(o.APPLE_PAY_PAYMENT_TOKEN_REQUIRED))},c.prototype.teardown=function(){return l(this,s(c.prototype)),a.resolve()},t.exports=d.wrapPrototype(c)},{"../lib/analytics":93,"../lib/braintree-error":98,"../lib/convert-methods-to-error":100,"../lib/methods":128,"../lib/promise":130,"./errors":52,"@braintree/wrap-promise":50}],52:[function(e,t,i){"use strict";var r=e("../lib/braintree-error");t.exports={APPLE_PAY_NOT_ENABLED:{type:r.types.MERCHANT,code:"APPLE_PAY_NOT_ENABLED",message:"Apple Pay is not enabled for this merchant."},APPLE_PAY_VALIDATION_URL_REQUIRED:{type:r.types.MERCHANT,code:"APPLE_PAY_VALIDATION_URL_REQUIRED",message:"performValidation must be called with a validationURL."},APPLE_PAY_MERCHANT_VALIDATION_NETWORK:{type:r.types.NETWORK,code:"APPLE_PAY_MERCHANT_VALIDATION_NETWORK",message:"A network error occurred when validating the Apple Pay merchant."},APPLE_PAY_MERCHANT_VALIDATION_FAILED:{type:r.types.MERCHANT,code:"APPLE_PAY_MERCHANT_VALIDATION_FAILED",message:"Make sure you have registered your domain name in the Braintree Control Panel."},APPLE_PAY_PAYMENT_TOKEN_REQUIRED:{type:r.types.MERCHANT,code:"APPLE_PAY_PAYMENT_TOKEN_REQUIRED",message:"tokenize must be called with a payment token."},APPLE_PAY_TOKENIZATION:{type:r.types.NETWORK,code:"APPLE_PAY_TOKENIZATION",message:"A network error occurred when processing the Apple Pay payment."}}},{"../lib/braintree-error":98}],53:[function(e,t,i){"use strict";var r=e("./apple-pay"),n=e("../lib/analytics"),o=e("../lib/braintree-error"),a=e("../lib/basic-component-verification"),s=e("../lib/create-assets-url"),l=e("../lib/create-deferred-client"),d=e("../lib/promise"),c=e("./errors"),p=e("@braintree/wrap-promise");t.exports={create:p(function(e){var t="Apple Pay";return a.verify({name:t,client:e.client,authorization:e.authorization}).then(function(){var i,a=l.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:s.create(e.authorization),name:t}).then(function(e){return e.getConfiguration().gatewayConfiguration.applePayWeb?(n.sendEvent(e,"applepay.initialized"),e):d.reject(new o(c.APPLE_PAY_NOT_ENABLED))});return(e.createPromise=a,i=new r(e),e.useDeferredClient)?i:a.then(function(e){return i._client=e,i})})}),VERSION:"3.80.0"}},{"../lib/analytics":93,"../lib/basic-component-verification":96,"../lib/braintree-error":98,"../lib/create-assets-url":102,"../lib/create-deferred-client":104,"../lib/promise":130,"./apple-pay":51,"./errors":52,"@braintree/wrap-promise":50}],54:[function(e,t,i){"use strict";var r=e("@braintree/browser-detection/is-ie"),n=e("@braintree/browser-detection/is-ie9");t.exports={isIe:r,isIe9:n}},{"@braintree/browser-detection/is-ie":31,"@braintree/browser-detection/is-ie9":33}],55:[function(e,t,i){"use strict";var r=e("./constants").BRAINTREE_VERSION,n=e("./request/graphql"),o=e("./request"),a=e("../lib/is-verified-domain"),s=e("../lib/braintree-error"),l=e("../lib/convert-to-braintree-error"),d=e("./get-configuration").getConfiguration,c=e("../lib/create-authorization-data"),p=e("../lib/add-metadata"),u=e("../lib/promise"),h=e("@braintree/wrap-promise"),m=e("../lib/once"),y=e("../lib/deferred"),f=e("../lib/assign").assign,E=e("../lib/analytics"),v=e("./errors"),_=e("../lib/constants").VERSION,g=e("../lib/constants").GRAPHQL_URLS,b=e("../lib/methods"),P=e("../lib/convert-methods-to-error"),C=e("../lib/assets"),T=e("../lib/constants").FRA
1UDNET_FNCLS,A=e("../lib/constants").FRAUDNET_SOURCE,I=e("../lib/constants").FRAUDNET_URL,D={};function N(e){var t,i;if(t=JSON.stringify(e=e||{}),!(i=e.gatewayConfiguration))throw new s(v.CLIENT_MISSING_GATEWAY_CONFIGURATION);["assetsUrl","clientApiUrl","configUrl"].forEach(function(e){if(e in i&&!a(i[e]))throw new s({type:v.CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN.type,code:v.CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN.code,message:e+" property is on an invalid domain."})}),this.getConfiguration=function(){return JSON.parse(t)},this._request=o,this._configuration=this.getConfiguration(),this._clientApiBaseUrl=i.clientApiUrl+"/v1/",i.graphQL&&(this._graphQL=new n({graphQL:i.graphQL}))}N.initialize=function(e){var t,i,r=D[e.authorization];if(r)return E.sendEvent(r,"custom.client.load.cached"),r;try{i=c(e.authorization)}catch(e){return u.reject(new s(v.CLIENT_INVALID_AUTHORIZATION))}return r=d(i).then(function(i){return e.debug&&(i.isDebug=!0),i.authorization=e.authorization,t=new N(i)}),D[e.authorization]=r,E.sendEvent(r,"custom.client.load.initialized"),r.then(function(e){return E.sendEvent(t,"custom.client.load.succeeded"),e}).catch(function(t){return delete D[e.authorization],u.reject(t)})},N.clearCache=function(){D={}},N.prototype._findOrCreateFraudnetJSON=function(e){var t,i,r,n,o=document.querySelector('script[fncls="'+T+'"]');o||((o=document.body.appendChild(document.createElement("script"))).type="application/json",o.setAttribute("fncls",T)),i={rda_tenant:"bt_card",mid:(t=this.getConfiguration()).gatewayConfiguration.merchantId},(r=t.authorizationFingerprint)&&r.split("&").forEach(function(e){var t=e.split("=");"customer_id"===t[0]&&t.length>1&&(i.cid=t[1])}),n={f:e.substr(0,32),fp:i,bu:!1,s:A},o.text=JSON.stringify(n)},N.prototype.request=function(e,t){var i=this,n=new u(function(t,n){var o,a,d,c,u,h=!!("payment_methods/credit_cards"===e.endpoint&&i.getConfiguration().gatewayConfiguration.creditCards.collectDeviceData);if("graphQLApi"===e.api||(e.method?e.endpoint||(a="options.endpoint"):a="options.method"),a)throw new s({type:v.CLIENT_OPTION_REQUIRED.type,code:v.CLIENT_OPTION_REQUIRED.code,message:a+" is required when making a request."});if(d="api"in e?e.api:"clientApi",u={method:e.method,graphQL:i._graphQL,timeout:e.timeout,metadata:i._configuration.analyticsMetadata},"clientApi"===d)c=i._clientApiBaseUrl,u.data=p(i._configuration,e.data);else if("graphQLApi"===d)c=g[i._configuration.gatewayConfiguration.environment],e.endpoint="",u.method="post",u.data=f({clientSdkMetadata:{platform:i._configuration.analyticsMetadata.platform,source:i._configuration.analyticsMetadata.source,integration:i._configuration.analyticsMetadata.integration,sessionId:i._configuration.analyticsMetadata.sessionId,version:_}},e.data),u.headers={Authorization:"Bearer "+((o=i._configuration).authorizationFingerprint||o.authorization),"Braintree-Version":r};
1else throw new s({type:v.CLIENT_OPTION_INVALID.type,code:v.CLIENT_OPTION_INVALID.code,message:"options.api is invalid."});u.url=c+e.endpoint,u.sendAnalyticsEvent=function(e){E.sendEvent(i,e)},i._request(u,function(e,r,o){var a,c;if(c=function(e,t){var i;if(-1===e?i=new s(v.CLIENT_REQUEST_TIMEOUT):401===e?i=new s(v.CLIENT_AUTHORIZATION_INVALID):403===e?i=new s(v.CLIENT_AUTHORIZATION_INSUFFICIENT):429===e?i=new s(v.CLIENT_RATE_LIMITED):e>=500?i=new s(v.CLIENT_GATEWAY_NETWORK):(e<200||e>=400)&&(i=l(t,{type:v.CLIENT_REQUEST_ERROR.type,code:v.CLIENT_REQUEST_ERROR.code,message:v.CLIENT_REQUEST_ERROR.message})),i)return i.details=i.details||{},i.details.httpStatus=e,i}(o,e)){n(c);return}if("graphQLApi"===d&&r.errors){n(l(r.errors,{type:v.CLIENT_GRAPHQL_REQUEST_ERROR.type,code:v.CLIENT_GRAPHQL_REQUEST_ERROR.code,message:v.CLIENT_GRAPHQL_REQUEST_ERROR.message}));return}a=f({_httpStatus:o},r),h&&a.creditCards&&a.creditCards.length>0&&(i._findOrCreateFraudnetJSON(a.creditCards[0].nonce),C.loadScript({src:I,forceScriptReload:!0})),t(a)})});if("function"==typeof t){t=m(y(t)),n.then(function(e){t(null,e,e._httpStatus)}).catch(function(e){var i=e&&e.details&&e.details.httpStatus;t(e,null,i)});return}return n},N.prototype.toJSON=function(){return this.getConfiguration()},N.prototype.getVersion=function(){return _},N.prototype.teardown=h(function(){return delete D[this.getConfiguration().authorization],P(this,b(N.prototype)),u.resolve()}),t.exports=N},{"../lib/add-metadata":92,"../lib/analytics":93,"../lib/assets":94,"../lib/assign":95,"../lib/braintree-error":98,"../lib/constants":99,"../lib/convert-methods-to-error":100,"../lib/convert-to-braintree-error":101,"../lib/create-authorization-data":103,"../lib/deferred":105,"../lib/is-verified-domain":126,"../lib/methods":128,"../lib/once":129,"../lib/promise":130,"./constants":56,"./errors":57,"./get-configuration":58,"./request":70,"./request/graphql":68,"@braintree/wrap-promise":50}],56:[function(e,t,i){"use strict";t.exports={BRAINTREE_VERSION:"2018-05-10"}},{}],57:[function(e,t,i){"use strict";var r=e("../lib/braintree-error");t.exports={CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN:{type:r.types.MERCHANT,code:"CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN"},CLIENT_OPTION_REQUIRED:{type:r.types.MERCHANT,code:"CLIENT_OPTION_REQUIRED"}
1,CLIENT_OPTION_INVALID:{type:r.types.MERCHANT,code:"CLIENT_OPTION_INVALID"},CLIENT_MISSING_GATEWAY_CONFIGURATION:{type:r.types.INTERNAL,code:"CLIENT_MISSING_GATEWAY_CONFIGURATION",message:"Missing gatewayConfiguration."},CLIENT_INVALID_AUTHORIZATION:{type:r.types.MERCHANT,code:"CLIENT_INVALID_AUTHORIZATION",message:"Authorization is invalid. Make sure your client token or tokenization key is valid."},CLIENT_GATEWAY_NETWORK:{type:r.types.NETWORK,code:"CLIENT_GATEWAY_NETWORK",message:"Cannot contact the gateway at this time."},CLIENT_REQUEST_TIMEOUT:{type:r.types.NETWORK,code:"CLIENT_REQUEST_TIMEOUT",message:"Request timed out waiting for a reply."},CLIENT_REQUEST_ERROR:{type:r.types.NETWORK,code:"CLIENT_REQUEST_ERROR",message:"There was a problem with your request."},CLIENT_GRAPHQL_REQUEST_ERROR:{type:r.types.NETWORK,code:"CLIENT_GRAPHQL_REQUEST_ERROR",message:"There was a problem with your request."},CLIENT_RATE_LIMITED:{type:r.types.MERCHANT,code:"CLIENT_RATE_LIMITED",message:"You are being rate-limited; please try again in a few minutes."},CLIENT_AUTHORIZATION_INSUFFICIENT:{type:r.types.MERCHANT,code:"CLIENT_AUTHORIZATION_INSUFFICIENT",message:"The authorization used has insufficient privileges."},CLIENT_AUTHORIZATION_INVALID:{type:r.types.MERCHANT,code:"CLIENT_AUTHORIZATION_INVALID",message:"Either the client token has expired and a new one should be generated or the tokenization key has been deactivated or deleted."}}},{"../lib/braintree-error":98}],58:[function(e,t,i){"use strict";var r=e("../lib/braintree-error"),n=e("../lib/promise"),o=e("@braintree/wrap-promise"),a=e("./request"),s=e("@braintree/uuid"),l=e("../lib/constants"),d=e("./errors"),c=e("./request/graphql"),p=e("../lib/constants").GRAPHQL_URLS,u=e("../lib/is-date-string-before-or-on"),h=e("./constants").BRAINTREE_VERSION;t.exports={getConfiguration:o(function(e){return new n(function(t,i){var n,o,m,y=s(),f={merchantAppId:window.location.host,platform:l.PLATFORM,sdkVersion:l.VERSION,source:l.SOURCE,integration:l.INTEGRATION,integrationType:l.INTEGRATION,sessionId:y};n=e.attrs,o=e.configUrl,n._meta=f,n.braintreeLibraryVersion=l.BRAINTREE_LIBRARY_VERSION,n.configVersion="3",m={url:o,method:"GET",data:n},n.authorizationFingerprint&&e.graphQL?(u(e.graphQL.date,h)&&(m.graphQL=new c({graphQL:{url:e.graphQL.url,features:["configuration"]}})),m.metadata=f):n.tokenizationKey&&(m.graphQL=new c({graphQL:{url:p[e.environment],features:["configuration"]}}),m.metadata=f),a(m,function(e,o,a){var s;if(e){i(new r({type:(s=403===a?d.CLIENT_AUTHORIZATION_INSUFFICIENT:401===a?d.CLIENT_AUTHORIZATION_INVALID:d.CLIENT_GATEWAY_NETWORK).type,code:s.code,message:s.message,details:{originalError:e}}));return}t({authorizationType:n.tokenizationKey?"TOKENIZATION_KEY":"CLIENT_TOKEN",authorizationFingerprint:n.authorizationFingerprint,analyticsMetadata:f,gatewayConfiguration:o})})})})}},{"../lib/braintree-error":98,"../lib/constants":99,"../lib/is-date-string-before-or-on":124,"../lib/promise":130,"./constants":56,"./errors":57,"./request":70,"./request/graphql":68,"@braintree/uuid":46,"@braintree/wrap-promise":50}],59:[function(e,t,i){"use strict";var r=e("../lib/braintree-error"),n=e("./client"),o=e("../lib/promise"),a=e("@braintree/wrap-promise"),s=e("../lib/errors");t.exports={create:a(function(e){return e.authorization?n.initialize(e):o.reject(new r({type:s.INSTANTIATION_OPTION_REQUIRED.type,code:s.INSTANTIATION_OPTION_REQUIRED.code,message:"options.authorization is required when instantiating a client."}))}),VERSION:"3.80.0"}},{"../lib/braintree-error":98,"../lib/errors":108,"../lib/promise":130,"./client":55,"@braintree/wrap-promise":50}],60:[function(e,t,i){"use strict";var r=e("../../lib/querystring"),n=e("../../lib/assign").assign,o=e("./prep-body"),a=e("./parse-body"),s=e("./xhr"),l=s.isAvailable,d=e("./graphql/request"),c=e("./default-request");t.exports={request:function(e,t){!function e(t,i,p){var u,h,m,y,f,E,v,_=t.url,g=t.graphQL,b=t.timeout,P=s.getRequestObject(),C=!!(g&&g.isGraphQLRequest(_,t.data));t.headers=n({"Content-Type":"application/json"},t.headers),_=(m=C?new d(t):new c(t)).getUrl(),y=m.getBody(),f=m.getMethod(),E=m.getHeaders(),"GET"===f&&(_=r.queryify(_,y),y=null),l?P.onreadystatechange=function(){if(4===P.readyState){if(0===P.status&&C){delete t.graphQL,e(t,i,p);return}if(v=a(P.responseText),h=m.adaptResponseBody(v),(u=m.determineStatus(P.status,v))>=400||u<200){var r;if(C&&("UNKNOWN"===(r=!v.data&&v.errors&&v.errors[0]&&v.errors[0].extensions&&v.errors[0].extensions.errorClass)||"INTERNAL"===r)){delete t.graphQL,e(t,i,p);return}if(i<1&&(!u||408===u)){e(t,++i,p);return}p(h||"error",null,u||500)}else p(null,h,u)}}:(t.headers&&(_=r.queryify(_,E)),P.onload=function(){p(null,a(P.responseText),P.status)},P.onerror=function(){p("error",null,500)},P.onprogress=function(){},P.ontimeout=function(){p("timeout",null,-1)});try{P.open(f,_,!0)}catch(r){if(!C)throw r;delete t.graphQL,e(t,i,p);return}
1P.timeout=b,l&&Object.keys(E).forEach(function(e){P.setRequestHeader(e,E[e])});try{P.send(o(f,y))}catch(e){}}(e,0,t)}}},{"../../lib/assign":95,"../../lib/querystring":131,"./default-request":61,"./graphql/request":69,"./parse-body":73,"./prep-body":74,"./xhr":75}],61:[function(e,t,i){"use strict";function r(e){this._url=e.url,this._data=e.data,this._method=e.method,this._headers=e.headers}r.prototype.getUrl=function(){return this._url},r.prototype.getBody=function(){return this._data},r.prototype.getMethod=function(){return this._method},r.prototype.getHeaders=function(){return this._headers},r.prototype.adaptResponseBody=function(e){return e},r.prototype.determineStatus=function(e){return e},t.exports=r},{}],62:[function(e,t,i){"use strict";t.exports=function(){return window.navigator.userAgent}},{}],63:[function(e,t,i){"use strict";var r=e("./error"),n=e("../../../../lib/assign").assign,o={creditCard:{AMERICAN_EXPRESS:"American Express",DISCOVER:"Discover",INTERNATIONAL_MAESTRO:"Maestro",JCB:"JCB",MASTERCARD:"MasterCard",SOLO:"Solo",UK_MAESTRO:"UK Maestro",UNION_PAY:"UnionPay",VISA:"Visa"},applePayWeb:{VISA:"visa",MASTERCARD:"mastercard",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",INTERNATIONAL_MAESTRO:"maestro",ELO:"elo"},visaCheckout:{VISA:"Visa",MASTERCARD:"MasterCard",DISCOVER:"Discover",AMERICAN_EXPRESS:"American Express"},googlePay:{VISA:"visa",MASTERCARD:"mastercard",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",INTERNATIONAL_MAESTRO:"maestro",ELO:"elo"},masterpass:{VISA:"visa",MASTERCARD:"master",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",DINERS:"diners",INTERNATIONAL_MAESTRO:"maestro",JCB:"jcb"}};function a(e,t){return e.reduce(function(e,i){return t.hasOwnProperty(i)?e.concat(t[i]):e},[])}t.exports=function(e,t){var i,s;return e.data&&!e.errors?(i={environment:(s=e.data.clientConfiguration).environment.toLowerCase(),clientApiUrl:s.clientApiUrl,assetsUrl:s.assetsUrl,analytics:{url:s.analyticsUrl},merchantId:s.merchantId,venmo:"off"},s.supportedFeatures&&(i.graphQL={url:t._graphQL._config.url,features:s.supportedFeatures.map(function(e){return e.toLowerCase()})}),s.braintreeApi&&(i.braintreeApi=s.braintreeApi),s.applePayWeb&&(i.applePayWeb=s.applePayWeb,i.applePayWeb.supportedNetworks=a(s.applePayWeb.supportedCardBrands,o.applePayWeb),delete i.applePayWeb.supportedCardBrands),s.ideal&&(i.ideal=s.ideal),s.kount&&(i.kount={kountMerchantId:s.kount.merchantId}),s.creditCard?(i.challenges=s.creditCard.challenges.map(function(e){return e.toLowerCase()}),i.creditCards={supportedCardTypes:a(s.creditCard.supportedCardBrands,o.creditCard)},i.threeDSecureEnabled=s.creditCard.threeDSecureEnabled,i.threeDSecure=s.creditCard.threeDSecure):(i.challenges=[],i.creditCards={supportedCardTypes:[]},i.threeDSecureEnabled=!1),s.googlePay&&(i.androidPay={displayName:s.googlePay.displayName,enabled:!0,environment:s.googlePay.environment.toLowerCase(),googleAuthorizationFingerprint:s.googlePay.googleAuthorization,paypalClientId:s.googlePay.paypalClientId,supportedNetworks:a(s.googlePay.supportedCardBrands,o.googlePay)}),s.venmo&&(i.payWithVenmo={merchantId:s.venmo.merchantId,accessToken:s.venmo.accessToken,environment:s.venmo.environment.toLowerCase()}),s.paypal?(i.paypalEnabled=!0,i.paypal=n({},s.paypal),i.paypal.currencyIsoCode=i.paypal.currencyCode,i.paypal.environment=i.paypal.environment.toLowerCase(),delete i.paypal.currencyCode):i.paypalEnabled=!1,s.unionPay&&(i.unionPay={enabled:!0,merchantAccountId:s.unionPay.merchantAccountId}),s.visaCheckout&&(i.visaCheckout={apikey:s.visaCheckout.apiKey,externalClientId:s.visaCheckout.externalClientId,supportedCardTypes:a(s.visaCheckout.supportedCardBrands,o.visaCheckout)}),s.masterpass&&(i.masterpass={merchantCheckoutId:s.masterpass.merchantCheckoutId,supportedNetworks:a(s.masterpass.supportedCardBrands,o.masterpass)}),s.usBankAccount&&(i.usBankAccount={routeId:s.usBankAccount.routeId,plaid:{publicKey:s.usBankAccount.plaidPublicKey}}),i):r(e)}},{"../../../../lib/assign":95,"./error":65}],64:[function(e,t,i){"use strict";var r=e("./error"),n={AMERICAN_EXPRESS:"American Express",DINERS:"Discover",DISCOVER:"Discover",INTERNATIONAL_MAESTRO:"Maestro",JCB:"JCB",MASTERCARD:"MasterCard",UK_MAESTRO:"Maestro",UNION_PAY:"Union Pay",VISA:"Visa"},o={YES:"Yes",NO:"No",UNKNOWN:"Unknown"},a={PSDTWO:"psd2"};t.exports=function(e){var t,i,s,l,d,c;return e.data&&!e.errors?(d=(l=(s=e.data.tokenizeCreditCard).creditCard).last4?l.last4.substr(2,4):"",(c=l.binData)&&(["commercial","debit","durbinRegulated","healthcare","payroll","prepaid"].forEach(function(e){c[e]?c[e]=o[c[e]]:c[e]="Unknown"}),["issuingBank","countryOfIssuance","productId"].forEach(function(e){c[e]||(c[e]="Unknown")}
1)),t={creditCards:[{binData:c,consumed:!1,description:d?"ending in "+d:"",nonce:s.token,details:{cardholderName:l.cardholderName,expirationMonth:l.expirationMonth,expirationYear:l.expirationYear,bin:l.bin||"",cardType:n[l.brandCode]||"Unknown",lastFour:l.last4||"",lastTwo:d},type:"CreditCard",threeDSecureInfo:null}]},s.authenticationInsight&&(i=s.authenticationInsight.customerAuthenticationRegulationEnvironment,t.creditCards[0].authenticationInsight={regulationEnvironment:a[i]||i.toLowerCase()}),t):r(e)}},{"./error":65}],65:[function(e,t,i){"use strict";t.exports=function(e){var t,i,r,n=e.errors&&e.errors[0]&&e.errors[0].extensions&&e.errors[0].extensions.errorClass;return"VALIDATION"===n?0===(t=e.errors,i=[],t.forEach(function(e){e.extensions&&e.extensions.inputPath&&function e(t,i,r){var n,o=i.extensions.legacyCode,a=t[0];if(1===t.length){r.push({code:o,field:a,message:i.message});return}r.forEach(function(e){e.field===a&&(n=e)}),n||(n={field:a,fieldErrors:[]},r.push(n)),e(t.slice(1),i,n.fieldErrors)}(e.extensions.inputPath.slice(1),e,i)}),r=i).length?{error:{message:e.errors[0].message}}:{error:{message:({creditCard:"Credit card is invalid"})[r[0].field]},fieldErrors:r}:n?{error:{message:e.errors[0].message},fieldErrors:[]}:{error:{message:"There was a problem serving your request"},fieldErrors:[]}}},{}],66:[function(e,t,i){"use strict";t.exports=function(){return{query:"query ClientConfiguration { clientConfiguration { analyticsUrl environment merchantId assetsUrl clientApiUrl creditCard { supportedCardBrands challenges threeDSecureEnabled threeDSecure { cardinalAuthenticationJWT } } applePayWeb { countryCode currencyCode merchantIdentifier supportedCardBrands } googlePay { displayName supportedCardBrands environment googleAuthorization paypalClientId } ideal { routeId assetsUrl } kount { merchantId } masterpass { merchantCheckoutId supportedCardBrands } paypal { displayName clientId privacyUrl userAgreementUrl assetsUrl environment environmentNoNetwork unvettedMerchant braintreeClientId billingAgreementsEnabled merchantAccountId currencyCode payeeEmail } unionPay { merchantAccountId } usBankAccount { routeId plaidPublicKey } venmo { merchantId accessToken environment } visaCheckout { apiKey externalClientId supportedCardBrands } braintreeApi { accessToken url } supportedFeatures } }",operationName:"ClientConfiguration"}}},{}],67:[function(e,t,i){"use strict";var r=e("../../../../lib/assign").assign;t.exports=function(e){var t,i,n,o,a,s,l,d,c,p,u={hasAuthenticationInsight:!!(e.authenticationInsight&&e.merchantAccountId)};return{query:(n=u.hasAuthenticationInsight,o="mutation TokenizeCreditCard($input: TokenizeCreditCardInput!",n&&(o+=", $authenticationInsightInput: AuthenticationInsightInput!"),o+=") { tokenizeCreditCard(input: $input) { token creditCard { bin brandCode last4 cardholderName expirationMonth expirationYear binData { prepaid healthcare debit durbinRegulated commercial payroll issuingBank countryOfIssuance productId } } ",n&&(o+=" authenticationInsight(input: $authenticationInsightInput) { customerAuthenticationRegulationEnvironment }"),o+=" } }"),variables:(s=(a=e.creditCard)&&a.billingAddress,l=a&&a.expirationDate,d=a&&(a.expirationMonth||l&&l.split("/")[0].trim()),c=a&&(a.expirationYear||l&&l.split("/")[1].trim()),p={input:{creditCard:{number:a&&a.number,expirationMonth:d,expirationYear:c,cvv:a&&a.cvv,cardholderName:a&&a.cardholderName},options:{}}},u.hasAuthenticationInsight&&(p.authenticationInsightInput={merchantAccountId:e.merchantAccountId}),s&&(p.input.creditCard.billingAddress=s),p.input=(t=p.input,e.credit
1Card&&e.creditCard.options&&"boolean"==typeof e.creditCard.options.validate?i=e.creditCard.options.validate:e.authorizationFingerprint&&e.tokenizationKey||e.authorizationFingerprint?i=!0:e.tokenizationKey&&(i=!1),"boolean"==typeof i&&(t.options=r({validate:i},t.options)),t),p),operationName:"TokenizeCreditCard"}}},{"../../../../lib/assign":95}],68:[function(e,t,i){"use strict";var r=e("../../browser-detection"),n={tokenize_credit_cards:"payment_methods/credit_cards",configuration:"configuration"},o=["creditCard.options.unionPayEnrollment"];function a(e){this._config=e.graphQL}a.prototype.getGraphQLEndpoint=function(){return this._config.url},a.prototype.isGraphQLRequest=function(e,t){var i,a=this.getClientApiPath(e);return!(!this._isGraphQLEnabled()||!a||r.isIe9())&&(i=this._config.features.some(function(e){return n[e]===a}),!o.some(function(e){return void 0!==e.split(".").reduce(function(e,t){return e&&e[t]},t)})&&i)},a.prototype.getClientApiPath=function(e){var t,i=e.split("/client_api/v1/");return i.length>1&&(t=i[1].split("?")[0]),t},a.prototype._isGraphQLEnabled=function(){return!!this._config},t.exports=a},{"../../browser-detection":54}],69:[function(e,t,i){"use strict";var r=e("../../constants").BRAINTREE_VERSION,n=e("../../../lib/assign").assign,o=e("./generators/credit-card-tokenization"),a=e("./adapters/credit-card-tokenization"),s=e("./generators/configuration"),l=e("./adapters/configuration"),d={"payment_methods/credit_cards":o,configuration:s},c={"payment_methods/credit_cards":a,configuration:l};function p(e){var t=e.graphQL.getClientApiPath(e.url);this._graphQL=e.graphQL,this._data=e.data,this._method=e.method,this._headers=e.headers,this._clientSdkMetadata={source:e.metadata.source,integration:e.metadata.integration,sessionId:e.metadata.sessionId},this._sendAnalyticsEvent=e.sendAnalyticsEvent||Function.prototype,this._generator=d[t],this._adapter=c[t],this._sendAnalyticsEvent("graphql.init")}p.prototype.getUrl=function(){return this._graphQL.getGraphQLEndpoint()},p.prototype.getBody=function(){var e=function e(t){var i={};return Object.keys(t).forEach(function(r){var n=-1===r.indexOf("_")?r:r.toLowerCase().replace(/(\_\w)/g,function(e){return e[1].toUpperCase()});"object"==typeof t[r]?i[n]=e(t[r]):"number"==typeof t[r]?i[n]=String(t[r]):i[n]=t[r]}),i}(this._data),t=this._generator(e);return JSON.stringify(n({clientSdkMetadata:this._clientSdkMetadata},t))},p.prototype.getMethod=function(){return"POST"},p.prototype.getHeaders=function(){var e,t;return this._data.authorizationFingerprint?(this._sendAnalyticsEvent("graphql.authorization-fingerprint"),e=this._data.authorizationFingerprint):(this._sendAnalyticsEvent("graphql.tokenization-key"),e=this._data.tokenizationKey),t={Authorization:"Bearer "+e,"Braintree-Version":r},n({},this._headers,t)},p.prototype.adaptResponseBody=function(e){return this._adapter(e,this)},p.prototype.determineStatus=function(e,t){var i,r;return 200===e?(r=t.errors&&t.errors[0]&&t.errors[0].extensions&&t.errors[0].extensions.errorClass,i=t.data&&!t.errors?200:"VALIDATION"===r?422:"AUTHORIZATION"===r?403:"AUTHENTICATION"===r?401:!r&&t.errors[0].message?403:500):i=e||500,this._sendAnalyticsEvent("graphql.status."+e),this._sendAnalyticsEvent("graphql.determinedStatus."+i),i},t.exports=p},{"../../../lib/assign":95,"../../constants":56,"./adapters/configuration":63,"./adapters/credit-card-tokenization":64,"./generators/configuration":66,"./generators/credit-card-tokenization":67}],70:[function(e,t,i){"use strict";var r,n=e("../../lib/once"),o=e("./jsonp-driver"),a=e("./ajax-driver"),s=e("./get-user-agent"),l=e("./is-http");t.exports=function(e,t){t=n(t||Function.prototype),e.method=(e.method||"GET").toUpperCase(),e.timeout=null==e.timeout?6e4:e.timeout,e.data=e.data||{},(null==r&&(r=!(l()&&/MSIE\s(8|9)/.test(s()))),r)?a.request(e,t):o.request(e,t)}},{"../../lib/once":129,"./ajax-driver":60,"./get-user-agent":62,"./is-http":71,"./jsonp-driver":72}],71:[function(e,t,i){"use strict";t.exports=function(){return"http:"===window.location.protocol}},{}],72:[function(e,t,i){"use strict";var r,n=e("@braintree/uuid"),o=e("../../lib/querystring"),a={};function s(e){try{delete window[e]}catch(t){window[e]=null}}t.exports={request:function(e,t){var i,l,d,c="callback_json_"+n().replace(/-/g,""),p=e.url,u=e.data,h=e.method,m=e.timeout;p=o.queryify(p,u),i=p=o.queryify(p,{_method:h,callback:c}),l=document.createElement("script"),d=!1,l.src=i,l.async=!0,l.onerror=function(){window[c]({message:"error",status:500})},l.onload=l.onreadystatechange=function(){!d&&(this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(d=!0,l.onload=l.onreadystatechange=null))},window[c]=function(e){var i=e.status||500,r=null,n=null;delete e.status,i>=400||i<200?r=e:n=e,s(c),l&&l.parentNode&&l.parentNode.removeChild(l),clearTimeout(a[c]),t(r,n,i)},a[c]=setTimeout(function(){a[c]=null,window[c]({error:"timeout",status:-1}),window[c]=function(){s(c)}},m),r||(r=document.getElementsByTagName("head")[0]),r.appendChild(l)}}},{"../../lib/querystring":131,"@braintree/uuid":46}],73:[function(e,t,i){"use strict";
1t.exports=function(e){try{e=JSON.parse(e)}catch(e){}return e}},{}],74:[function(e,t,i){"use strict";t.exports=function(e,t){if("string"!=typeof e)throw Error("Method must be a string");return"get"!==e.toLowerCase()&&null!=t&&(t="string"==typeof t?t:JSON.stringify(t)),t}},{}],75:[function(e,t,i){"use strict";var r="undefined"!=typeof window&&window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest;t.exports={isAvailable:r,getRequestObject:function(){return r?new window.XMLHttpRequest:new window.XDomainRequest}}},{}],76:[function(e,t,i){"use strict";var r=e("../lib/braintree-error");t.exports={GOOGLE_PAYMENT_NOT_ENABLED:{type:r.types.MERCHANT,code:"GOOGLE_PAYMENT_NOT_ENABLED",message:"Google Pay is not enabled for this merchant."},GOOGLE_PAYMENT_GATEWAY_ERROR:{code:"GOOGLE_PAYMENT_GATEWAY_ERROR",message:"There was an error when tokenizing the Google Pay payment method.",type:r.types.UNKNOWN},GOOGLE_PAYMENT_UNSUPPORTED_VERSION:{code:"GOOGLE_PAYMENT_UNSUPPORTED_VERSION",type:r.types.MERCHANT}}},{"../lib/braintree-error":98}],77:[function(e,t,i){"use strict";var r=e("../lib/analytics"),n=e("../lib/assign").assign,o=e("../lib/convert-methods-to-error"),a=e("../lib/find"),s=e("../lib/generate-google-pay-configuration"),l=e("../lib/braintree-error"),d=e("./errors"),c=e("../lib/methods"),p=e("../lib/promise"),u=e("@braintree/wrap-promise"),h={1:"_createV1PaymentDataRequest",2:"_createV2PaymentDataRequest"};function m(e){if(this._createPromise=e.createPromise,this._client=e.client,this._useDeferredClient=e.useDeferredClient,this._googlePayVersion=e.googlePayVersion||1,this._googleMerchantId=e.googleMerchantId,this._isUnsupportedGooglePayAPIVersion())throw new l({code:d.GOOGLE_PAYMENT_UNSUPPORTED_VERSION.code,message:"The Braintree SDK does not support Google Pay version "+this._googlePayVersion+". Please upgrade the version of your Braintree SDK and contact support if this error persists.",type:d.GOOGLE_PAYMENT_UNSUPPORTED_VERSION.type})}m.prototype._waitForClient=function(){return this._client?p.resolve():this._createPromise.then((function(e){this._client=e}).bind(this))},m.prototype._isUnsupportedGooglePayAPIVersion=function(){return!(this._googlePayVersion in h)},m.prototype._getDefaultConfig=function(){return this._defaultConfig||(this._defaultConfig=s(this._client.getConfiguration(),this._googlePayVersion,this._googleMerchantId)),this._defaultConfig},m.prototype._createV1PaymentDataRequest=function(e){var t=this._getDefaultConfig(),i=e.cardRequirements&&e.cardRequirements.allowedCardNetworks,r=t.cardRequirements.allowedCardNetworks;return(e=n({},t,e)).cardRequirements.allowedCardNetworks=i||r,e},m.prototype._createV2PaymentDataRequest=function(e){var t=this._getDefaultConfig();return e.allowedPaymentMethods&&e.allowedPaymentMethods.forEach(function(e){var i=a(t.allowedPaymentMethods,"type",e.type);i&&function(e,t){Object.keys(t).forEach(function(i){"object"==typeof t[i]?e[i]=n({},t[i],e[i]):e[i]=e[i]||t[i]})}(e,i)}),e=n({},t,e)},m.prototype.createPaymentDataRequest=function(e){return this._useDeferredClient?this._waitForClient().then((function(){return this._createPaymentDataRequestSyncronously(e)}).bind(this)):this._createPaymentDataRequestSyncronously(e)},m.prototype._createPaymentDataRequestSyncronously=function(e){var t=n({},e),i=this._googlePayVersion,o=h[i];return r.sendEvent(this._createPromise,"google-payment.v"+i+".createPaymentDataRequest"),this[o](t)},m.prototype.parseResponse=function(e){var t=this;return p.resolve().then(function(){var i,n=JSON.parse(2===e.apiVersion?e.paymentMethodData.tokenizationData.token:e.paymentMethodToken.token),o=n.error;return o?p.reject(o):(r.sendEvent(t._createPromise,"google-payment.parseResponse.succeeded"),n.paypalAccounts)?(i=n.paypalAccounts[0],r.sendEvent(t._createPromise,"google-payment.parseResponse.succeeded.paypal"),p.resolve({nonce:i.nonce,type:i.type,description:i.description})):(i=n.androidPayCards[0],r.sendEvent(t._createPromise,"google-payment.parseResponse.succeeded.google-payment"),p.resolve({nonce:i.nonce,type:i.type,description:i.description,details:{cardType:i.details.cardType,lastFour:i.details.lastFour,lastTwo:i.details.lastTwo,isNetworkTokenized:i.details.isNetworkTokenized,bin:i.details.bin},binData:i.binData}))}).catch(function(e){return r.sendEvent(t._createPromise,"google-payment.parseResponse.failed"),p.reject(new l({code:d.GOOGLE_PAYMENT_GATEWAY_ERROR.code,message:d.GOOGLE_PAYMENT_GATEWAY_ERROR.message,type:d.GOOGLE_PAYMENT_GATEWAY_ERROR.type,details:{originalError:e}}))})},m.prototype.teardown=function(){return o(this,c(m.prototype)),p.resolve()},t.exports=u.wrapPrototype(m)},{"../lib/analytics":93,"../lib/assign":95,"../lib/braintree-error":98,"../lib/convert-methods-to-error":100,"../lib/find":110,"../lib/generate-google-pay-configuration":122,"../lib/methods":128,"../lib/promise":130,"./errors":76,"@braintree/wrap-promise":50}],78:[function(e,t,i){"use strict";var r=e("./google-payment"),n=e("../lib/braintree-error"),o=e("../lib/promise"),a=e("../lib/create-assets-url"),s=e("../lib/create-deferred-client"),l=e("../lib/basic-component-verification"),d=e("@braintree/wrap-promise"),c=e("./errors");t.exports={create:d(function(e){var t="Google Pay";return l.verify({name:t,client:e.client,authorization:e.authorization}).then(function(){var i,l;return(i=s.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:t}).then(function(t){var i=t.getConfiguration();return(e.client=t,i.gatewayConfiguration.androidPay)?t:o.reject(new n(c.GOOG
1LE_PAYMENT_NOT_ENABLED))}),e.createPromise=i,l=new r(e),e.useDeferredClient)?l:i.then(function(e){return l._client=e,l})})}),VERSION:"3.80.0"}},{"../lib/basic-component-verification":96,"../lib/braintree-error":98,"../lib/create-assets-url":102,"../lib/create-deferred-client":104,"../lib/promise":130,"./errors":76,"./google-payment":77,"@braintree/wrap-promise":50}],79:[function(e,t,i){"use strict";var r=e("../../lib/braintree-error"),n=e("../shared/errors"),o=e("../shared/constants").allowedAttributes;t.exports=function(e,t){var i;return o.hasOwnProperty(e)?null==t||("string"===o[e]?"string"==typeof t||"number"==typeof t:"boolean"===o[e]&&("true"===String(t)||"false"===String(t)))||(i=new r({type:n.HOSTED_FIELDS_ATTRIBUTE_VALUE_NOT_ALLOWED.type,code:n.HOSTED_FIELDS_ATTRIBUTE_VALUE_NOT_ALLOWED.code,message:'Value "'+t+'" is not allowed for "'+e+'" attribute.'})):i=new r({type:n.HOSTED_FIELDS_ATTRIBUTE_NOT_SUPPORTED.type,code:n.HOSTED_FIELDS_ATTRIBUTE_NOT_SUPPORTED.code,message:'The "'+e+'" attribute is not supported in Hosted Fields.'}),i}},{"../../lib/braintree-error":98,"../shared/constants":87,"../shared/errors":88}],80:[function(e,t,i){"use strict";var r=e("../shared/constants"),n=e("../../lib/use-min");t.exports=function(e,t,i){return e+"/web/"+r.VERSION+"/html/hosted-fields-frame"+n(i)+".html#"+t}},{"../../lib/use-min":133,"../shared/constants":87}],81:[function(e,t,i){"use strict";var r=e("../shared/constants").navigationDirections,n=e("../shared/browser-detection"),o=e("../shared/focus-intercept"),a=e("../shared/find-parent-tags"),s=["INPUT","SELECT","TEXTAREA"],l=["hidden","button","reset","submit","checkbox","radio","file"];function d(e){return n.hasSoftwareKeyboard()?s.indexOf(e.tagName)>-1&&0>l.indexOf(e.type):"hidden"!==e.type}function c(e){var t,i;for(t=0;t<e.length;t++)if(d(i=e[t]))return i;return null}t.exports={removeExtraFocusElements:function(e,t){var i=Array.prototype.slice.call(e.elements);[c(i),c(i.reverse())].forEach(function(e){e&&o.matchFocusElement(e.getAttribute("id"))&&t(e.getAttribute("id"))})},createFocusChangeHandler:function(e,t){return function(i){var n,s,l,c,p=document.getElementById("bt-"+i.field+"-"+i.direction+"-"+e);if(p){if(l=a(p,"form")[0],document.forms.length<1||!l){t.onRemoveFocusIntercepts();return}n=(l=[].slice.call(l.elements)).indexOf(p),c=function(e,t){switch(e){case r.BACK:return{checkIndexBounds:function(e){return e<0},indexChange:-1};case r.FORWARD:return{checkIndexBounds:function(e){return e>t-1},indexChange:1}}return{}}(i.direction,l.length);do{if(n+=c.indexChange,c.checkIndexBounds(n))return;s=l[n]}while(!d(s));o.matchFocusElement(s.getAttribute("id"))?t.onTriggerInputFocus(s.getAttribute("data-braintree-type")):s.focus()}}}}},{"../shared/browser-detection":86,"../shared/constants":87,"../shared/find-parent-tags":89,"../shared/focus-intercept":90}],82:[function(e,t,i){"use strict";var r=e("../shared/constants").allowedStyles;t.exports=function(e){var t,i=document.createElement("input"),n={};return"."===e[0]&&(e=e.substring(1)),i.className=e,i.style.display="none !important",i.style.position="fixed !important",i.style.left="-99999px !important",i.style.top="-99999px !important",document.body.appendChild(i),t=window.getComputedStyle(i),r.forEach(function(e){var i=t[e];i&&(n[e]=i)}),document.body.removeChild(i),n}},{"../shared/constants":87}],83:[function(e,t,i){"use strict";var r=e("../../lib/assign").assign,n=e("../../lib/create-assets-url"),o=e("../../lib/is-verified-domain"),a=e("../../lib/destructor"),s=e("@braintree/class-list"),l=e("@braintree/iframer"),d=e("framebus"),c=e("../../lib/create-deferred-client"),p=e("../../lib/braintree-error"),u=e("./compose-url"),h=e("./get-styles-from-class"),m=e("../shared/constants"),y=e("../shared/errors"),f=e("../../lib/constants").INTEGRATION_TIMEOUT_MS,E=e("@braintree/uuid"),v=e("../shared/find-parent-tags"),_=e("../shared/browser-detection"),g=m.events,b=e("@braintree/event-emitter"),P=e("./inject-frame"),C=e("../../lib/analytics"),T=m.allowedFields,A=e("../../lib/methods"),I=e("../../lib/shadow"),D=e("../../lib/find-root-node"),N=e("../../lib/convert-methods-to-error"),w=e("../../lib/errors"),O=e("../shared/get-card-types"),F=e("./attribute-validation-error"),M=e("../../lib/promise"),S=e("@braintree/wrap-promise"),L=e("./focus-change"),k=e("../shared/focus-intercept").destroy;function R(e){var t,i,v,T,D,F=this,S={},V={},z=[],x=E();if(this._merchantConfigurationOptions=r({},e),e.client?(v=(i=e.client.getConfiguration()).gatewayConfiguration.assetsUrl,T=i.isDebug):(v=n.create(e.authorization),T=!!e.isDebug),this._clientPromise=c.create({client:e.client,authorization:e.authorization,debug:T,assetsUrl:v,name:"Hosted Fields"}),D=u(v,x,T),!e.fields||0===Object.keys(e.fields).length)throw new p({type:w.INSTANTIATION_OPTION_REQUIRED.type,code:w.INSTANTIATION_OPTION_REQUIRED.code,message:"options.fields is required when instantiating Hosted Fields."});b.call(this),this._injectedNodes=[],this._destructor=new a,this._fields=S,this._state={fields:{},cards:O("")},this._bus=new d({channel:x,verifyDomain:o}),this._destructor.registerFunctionForTeardown(function(){F._bus.teardown()}),e.client?C.sendEvent(this._clientPromise,"custom.hosted-fields.initialized"):C.sendEvent(this._clientPromise,"custom.hosted-fields.initialized.deferred-client"),Object.keys(e.fields).forEac
1h((function(t){var i,r,n,o,a;if(!m.allowedFields.hasOwnProperty(t))throw new p({type:y.HOSTED_FIELDS_INVALID_FIELD_KEY.type,code:y.HOSTED_FIELDS_INVALID_FIELD_KEY.code,message:'"'+t+'" is not a valid field.'});if("string"==typeof(r=(i=e.fields[t]).container||i.selector)&&(r=document.querySelector(r)),r&&1===r.nodeType){if(r.querySelector('iframe[name^="braintree-"]'))throw new p({type:y.HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME.type,code:y.HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME.code,message:y.HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME.message,details:{fieldSelector:i.selector,fieldContainer:i.container,fieldKey:t}})}else throw new p({type:y.HOSTED_FIELDS_INVALID_FIELD_SELECTOR.type,code:y.HOSTED_FIELDS_INVALID_FIELD_SELECTOR.code,message:y.HOSTED_FIELDS_INVALID_FIELD_SELECTOR.message,details:{fieldSelector:i.selector,fieldContainer:i.container,fieldKey:t}});if(n=r,I.isShadowElement(n)&&(n=I.transformToSlot(n,"height: 100%")),i.maxlength&&"number"!=typeof i.maxlength)throw new p({type:y.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.type,code:y.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.code,message:"The value for maxlength must be a number.",details:{fieldKey:t}});if(i.minlength&&"number"!=typeof i.minlength)throw new p({type:y.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.type,code:y.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.code,message:"The value for minlength must be a number.",details:{fieldKey:t}});o=l({type:t,name:"braintree-hosted-field-"+t,style:m.defaultIFrameStyle,title:"Secure Credit Card Frame - "+m.allowedFields[t].label}),this._injectedNodes.push.apply(this._injectedNodes,P(x,o,n,function(){F.focus(t)})),this._setupLabelFocus(t,r),S[t]={frameElement:o,containerElement:r},a=new M(function(e){V[t]=e}),z.push(a),this._state.fields[t]={isEmpty:!0,isValid:!1,isPotentiallyValid:!0,isFocused:!1,container:r},setTimeout(function(){_.isIE()||_.isEdge()?(o.src="about:blank",setTimeout(function(){o.src=D},0)):o.src=D},0)}).bind(this)),this._merchantConfigurationOptions.styles&&Object.keys(this._merchantConfigurationOptions.styles).forEach(function(e){var t=F._merchantConfigurationOptions.styles[e];"string"==typeof t&&(F._merchantConfigurationOptions.styles[e]=h(t))}),this._bus.on(g.REMOVE_FOCUS_INTERCEPTS,function(e){k(e&&e.id)}),this._bus.on(g.TRIGGER_FOCUS_CHANGE,L.createFocusChangeHandler(x,{onRemoveFocusIntercepts:function(e){F._bus.emit(g.REMOVE_FOCUS_INTERCEPTS,{id:e})},onTriggerInputFocus:function(e){F.focus(e)}})),this._bus.on(g.READY_FOR_CLIENT,function(e){F._clientPromise.then(function(t){e(t)})}),this._bus.on(g.CARD_FORM_ENTRY_HAS_BEGUN,function(){C.sendEvent(F._clientPromise,"hosted-fields.input.started")}),this._bus.on(g.BIN_AVAILABLE,function(e){F._emit("binAvailable",{bin:e})}),t=setTimeout(function(){C.sendEvent(F._clientPromise,"custom.hosted-fields.load.timed-out"),F._emit("timeout")},f),M.all(z).then(function(e){var i,n=e[0];clearTimeout(t),n(((i=r({},F._merchantConfigurationOptions)).fields=r({},i.fields),Object.keys(i.fields).forEach(function(e){i.fields[e]=r({},i.fields[e]),delete i.fields[e].container}),i)),F._cleanUpFocusIntercepts(),F._emit("ready")}),this._bus.on(g.FRAME_READY,function(e,t){V[e.field](t)}),this._bus.on(g.INPUT_EVENT,(function(e){var t,i,r=e.merchantPayload,n=r.emittedBy,o=S[n].containerElement;Object.keys(r.fields).forEach(function(e){r.fields[e].container=S[e].containerElement}),i=r.fields[n],"blur"!==e.type||_.isIos()&&document.activeElement===document.body&&((t=o.querySelector("input"))||((t=document.createElement("input")).type="button",t.style.height="0px",t.style.width="0px",t.style.opacity="0",t.style.padding="0",t.style.position="absolute",t.style.left="-200%",t.style.top="0px",o.insertBefore(t,o.firstChild)),t.focus(),t.blur()),s.toggle(o,m.externalClasses.FOCUSED,i.isFocused),s.toggle(o,m.externalClasses.VALID,i.isValid),s.toggle(o,m.externalClasses.INVALID,!i.isPotentiallyValid),this._state={cards:r.cards,fields:r.fields},this._emit(e.type,r)}).bind(this)),this._destructor.registerFunctionForTeardown(function(){var e,t,i;for(e=0;e<F._injectedNodes.length;e++)(i=(t=F._injectedNodes[e]).parentNode).removeChild(t),s.remove(i,m.externalClasses.FOCUSED,m.externalClasses.INVALID,m.externalClasses.VALID)}),this._destructor.registerFunctionForTeardown(function(){k()}),this._destructor.registerFunctionForTeardown(function(){N(F,A(R.prototype).concat(A(b.prototype)))})}b.createChild(R),R.prototype._setupLabelFocus=function(e,t){var i,r,n=this,o=D(t);if(null!=t.id){for(i=Array.prototype.slice.call(document.querySelectorAll('label[for="'+t.i
1d+'"]')),o!==document&&(i=i.concat(Array.prototype.slice.call(o.querySelectorAll('label[for="'+t.id+'"]')))),i=(i=i.concat(v(t,"label"))).filter(function(e,t,i){return i.indexOf(e)===t}),r=0;r<i.length;r++)i[r].addEventListener("click",a,!1);this._destructor.registerFunctionForTeardown(function(){for(r=0;r<i.length;r++)i[r].removeEventListener("click",a,!1)})}function a(){n.focus(e)}},R.prototype._getAnyFieldContainer=function(){var e=this;return Object.keys(this._fields).reduce(function(t,i){return t||e._fields[i].containerElement},null)},R.prototype._cleanUpFocusIntercepts=function(){var e;document.forms.length<1?this._bus.emit(g.REMOVE_FOCUS_INTERCEPTS):(e=v(this._getAnyFieldContainer(),"form")[0])?L.removeExtraFocusElements(e,(function(e){this._bus.emit(g.REMOVE_FOCUS_INTERCEPTS,{id:e})}).bind(this)):this._bus.emit(g.REMOVE_FOCUS_INTERCEPTS)},R.prototype._attachInvalidFieldContainersToError=function(e){e.details&&e.details.invalidFieldKeys&&e.details.invalidFieldKeys.length>0&&(e.details.invalidFields={},e.details.invalidFieldKeys.forEach((function(t){e.details.invalidFields[t]=this._fields[t].containerElement}).bind(this)))},R.prototype.getChallenges=function(){return this._clientPromise.then(function(e){return e.getConfiguration().gatewayConfiguration.challenges})},R.prototype.getSupportedCardTypes=function(){return this._clientPromise.then(function(e){return e.getConfiguration().gatewayConfiguration.creditCards.supportedCardTypes.map(function(e){return"MasterCard"===e?"Mastercard":e})})},R.prototype.teardown=function(){var e=this;return new M(function(t,i){e._destructor.teardown(function(r){C.sendEvent(e._clientPromise,"custom.hosted-fields.teardown-completed"),r?i(r):t()})})},R.prototype.tokenize=function(e){var t=this;return e||(e={}),new M(function(i,r){t._bus.emit(g.TOKENIZATION_REQUEST,e,function(e){var n=e[0],o=e[1];n?(t._attachInvalidFieldContainersToError(n),r(new p(n))):i(o)})})},R.prototype.addClass=function(e,t){var i;return(T.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?this._bus.emit(g.ADD_CLASS,{field:e,classname:t}):i=new p({type:y.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:y.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot add class to "'+e+'" field because it is not part of the current Hosted Fields options.'}):i=new p({type:y.HOSTED_FIELDS_FIELD_INVALID.type,code:y.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e+'" is not a valid field. You must use a valid field option when adding a class.'}),i)?M.reject(i):M.resolve()},R.prototype.removeClass=function(e,t){var i;return(T.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?this._bus.emit(g.REMOVE_CLASS,{field:e,classname:t}):i=new p({type:y.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:y.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot remove class from "'+e+'" field because it is not part of the current Hosted Fields options.'}):i=new p({type:y.HOSTED_FIELDS_FIELD_INVALID.type,code:y.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e+'" is not a valid field. You must use a valid field option when removing a class.'}),i)?M.reject(i):M.resolve()},R.prototype.setAttribute=function(e){var t,i;return(T.hasOwnProperty(e.field)?this._fields.hasOwnProperty(e.field)?(t=F(e.attribute,e.value))?i=t:this._bus.emit(g.SET_ATTRIBUTE,{field:e.field,attribute:e.attribute,value:e.value}):i=new p({type:y.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:y.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot set attribute for "'+e.field+'" field because it is not part of the current Hosted Fields options.'}):i=new p({type:y.HOSTED_FIELDS_FIELD_INVALID.type,code:y.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e.field+'" is not a valid field. You must use a valid field option when setting an attribute.'}),i)?M.reject(i):M.resolve()},R.prototype.setMonthOptions=function(e){var t,i=this,r=this._merchantConfigurationOptions.fields;return(r.expirationMonth?r.expirationMonth.select||(t="Expiration month field must be a select element."):t="Expiration month field must exist to use setMonthOptions.",t)?M.reject(new p({type:y.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.type,code:y.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.code,message:t})):new M(function(t){i._bus.emit(g.SET_MONTH_OPTIONS,e,t)})},R.prototype.setMessage=function(e){this._bus.emit(g.SET_MESSAGE,{field:e.field,message:e.message})},R.prototype.removeAttribute=function(e){var t,i;return(T.hasOwnProperty(e.field)?this._fields.hasOwnProperty(e.field)?(t=F(e.attribute))?i=t:this._bus.emit(g.REMOVE_ATTRIBUTE,{field:e.field,attribute:e.attribute}):i=new p({type:y.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:y.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot remove attribute for "'+e.field+'" field because it is not part of the current Hosted Fields options.'}):i=new p({type:y.HOSTED_FIELDS_FIELD_INVALID.type,code:y.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e.field+'" is not a valid field. You must use a valid field option when removing an attribute.'}),i)?M.reject(i):M.resolve()},R.prototype.setPlaceholder=function(e,t){return this.setAttribute({field:e,attribute:"placeholder",value:t})},R.prototype.clear=function(e){var t;return(T.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?this._bus.emit(g.CLEAR_FIELD,{field:e}):t=new p({type:y.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:y.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot clear "'+e+'" field because it is not part of the current Hosted Fields options.'}):t=new p({type:y.HOSTED_FIELDS_FIELD_INVALID.type,code:y.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e+'" is not a valid field. You must use a valid field option when clearing a field.'}),t)?M.reject(t):M.resolve()}
1,R.prototype.focus=function(e){var t,i=this._fields[e];return(T.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?(i.frameElement.focus(),this._bus.emit(g.TRIGGER_INPUT_FOCUS,{field:e}),_.isIos()&&setTimeout(function(){var e,t,r;t=Math.floor((e=i.containerElement.getBoundingClientRect()).height/2),r=Math.floor(e.width/2),e.top<(window.innerHeight-t||document.documentElement.clientHeight-t)&&e.right>r&&e.bottom>t&&e.left<(window.innerWidth-r||document.documentElement.clientWidth-r)||i.containerElement.scrollIntoView()},5)):t=new p({type:y.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:y.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot focus "'+e+'" field because it is not part of the current Hosted Fields options.'}):t=new p({type:y.HOSTED_FIELDS_FIELD_INVALID.type,code:y.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e+'" is not a valid field. You must use a valid field option when focusing a field.'}),t)?M.reject(t):M.resolve()},R.prototype.getState=function(){return this._state},t.exports=S.wrapPrototype(R)},{"../../lib/analytics":93,"../../lib/assign":95,"../../lib/braintree-error":98,"../../lib/constants":99,"../../lib/convert-methods-to-error":100,"../../lib/create-assets-url":102,"../../lib/create-deferred-client":104,"../../lib/destructor":106,"../../lib/errors":108,"../../lib/find-root-node":109,"../../lib/is-verified-domain":126,"../../lib/methods":128,"../../lib/promise":130,"../../lib/shadow":132,"../shared/browser-detection":86,"../shared/constants":87,"../shared/errors":88,"../shared/find-parent-tags":89,"../shared/focus-intercept":90,"../shared/get-card-types":91,"./attribute-validation-error":79,"./compose-url":80,"./focus-change":81,"./get-styles-from-class":82,"./inject-frame":84,"@braintree/class-list":39,"@braintree/event-emitter":40,"@braintree/iframer":42,"@braintree/uuid":46,"@braintree/wrap-promise":50,framebus:172}],84:[function(e,t,i){"use strict";var r=e("../shared/focus-intercept"),n=e("../shared/constants").navigationDirections;t.exports=function(e,t,i,o){var a=t.getAttribute("type"),s=document.createElement("div"),l=document.createDocumentFragment(),d=r.generate(e,a,n.BACK,o),c=r.generate(e,a,n.FORWARD,o);return s.style.clear="both",l.appendChild(d),l.appendChild(t),l.appendChild(c),l.appendChild(s),i.appendChild(l),[t,s]}},{"../shared/constants":87,"../shared/focus-intercept":90}],85:[function(e,t,i){"use strict";var r=e("./external/hosted-fields"),n=e("../lib/basic-component-verification"),o=e("./shared/errors"),a=e("restricted-input/supports-input-formatting"),s=e("@braintree/wrap-promise"),l=e("../lib/braintree-error"),d=e("../lib/promise");t.exports={supportsInputFormatting:a,create:s(function(e){return n.verify({name:"Hosted Fields",authorization:e.authorization,client:e.client}).then(function(){var t=new r(e);return new d(function(e,i){t.on("ready",function(){e(t)}),t.on("timeout",function(){i(new l(o.HOSTED_FIELDS_TIMEOUT))})})})}),VERSION:"3.80.0"}},{"../lib/basic-component-verification":96,"../lib/braintree-error":98,"../lib/promise":130,"./external/hosted-fields":83,"./shared/errors":88,"@braintree/wrap-promise":50,"restricted-input/supports-input-formatting":189}],86:[function(e,t,i){"use strict";var r=e("@braintree/browser-detection/is-android"),n=e("@braintree/browser-detection/is-chrome-os"),o=e("@braintree/browser-detection/is-ios"),a=e("@braintree/browser-detection/is-chrome");t.exports={isIE:e("@braintree/browser-detection/is-ie"),isEdge:e("@braintree/browser-detection/is-edge"),isIe9:e("@braintree/browser-detection/is-ie9"),isIe10:e("@braintree/browser-detection/is-ie10"),isAndroid:r,isChromeOS:n,isChromeIos:function(){return a()&&o()},isFirefox:e("@braintree/browser-detection/is-firefox"),isIos:o,isIosWebview:e("@braintree/browser-detection/is-ios-webview"),hasSoftwareKeyboard:function(){return r()||n()||o()}}},{"@braintree/browser-detection/is-android":26,"@braintree/browser-detection/is-chrome":28,"@braintree/browser-detection/is-chrome-os":27,"@braintree/browser-detection/is-edge":29,"@braintree/browser-detection/is-firefox":30,"@braintree/browser-detection/is-ie":31,"@braintree/browser-detection/is-ie10":32,"@braintree/browser-detection/is-ie9":33,"@braintree/browser-detection/is-ios":37,"@braintree/browser-detection/is-ios-webview":35}],87:[function(e,t,i){"use strict";var r=e("../../lib/enumerate"),n=e("./errors"),o={VERSION:"3.80.0",maxExpirationYearAge:19,externalEvents:{FOCUS:"focus",BLUR:"blur",EMPTY:"empty",NOT_EMPTY:"notEmpty",VALIDITY_CHANGE:"validityChange",CARD_TYPE_CHANGE:"cardTypeChange"},defaultMaxLengths:{number:19,postalCode:8,expirationDate:7,expirationMonth:2,expirationYear:4,cvv:3},externalClasses:{FOCUSED:"braintree-hosted-fields-focused",INVALID:"braintree-hosted-fields-invalid",VALID:"braintree-hosted-fields-valid"},navigationDirections:{BACK:"before",FORWARD:"after"},defaultIFrameStyle:{border:"none",width:"100%",height:"100%",float:"left"},tokenizationErrorCodes:{81724:n.HOSTED_FIELDS_TOKENIZATION_FAIL_ON_DUPLICATE,81736:n.HOSTED_FIELDS_TOKENIZATION_CVV_VERIFICATION_FAILED},allowedStyles:["-moz-appearance","-moz-box-shadow","-moz-osx-font-smoothing","-moz-tap-highlight-color","-moz-transition","-webkit-appearance","-webkit-box-shadow","-webkit-font-smoothing","-webkit-tap-highlight-color","-webkit-transition","appearance","box-shadow","color","direction","font","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-weight","letter-spacing","line-height","margin","margin-top","margin-right","margin-bottom","margin-left","opacity","outline","padding","padding-top","padding-right","padding-bottom","padding-left","text-align","text-shadow","transition"],allowedFields:{cardholderName:{name:"cardholder-name",label:"Cardholder Name"},number:{name:"credit-card-number",label:"Credit Card Number"},cvv:{name:"cvv",label:"CVV"},expirationDate:{name:"expiration",label:"Expiration Date"},expirationMonth:{name:"expiration-month",label:"Expiration Month"},expirationYear:{name:"expiration-year",label:"Expiration Year"},postalCode:{name:"postal-code",label:"Postal Code"}},allowedAttributes:{"aria-invalid":"boolean","aria-required":"boolean",disabled:"boolean",placeholder:"string"},autocompleteMappings:{"cardholder-name":"cc-name","credit-card-number":"cc-number",expiration:"cc-exp","expiration-month":"cc-exp-month","expiration-year":"cc-exp-year",cvv:"cc-csc","postal-code":"billing postal-code"}};o.events=r(["ADD_CLASS","AUTOFILL_DATA_AVAILABLE","BIN_AVAILABLE","CARD_FORM_ENTRY_HAS_BEGUN","CLEAR_FIELD","CONFIGURATION","FRAME_READY","INPUT_EVENT","READY_FOR_CLIENT","REMOVE_ATTRIBUTE","REMOVE_CLASS","REMOVE_FOCUS_INTERCEPTS","SET_ATTRIBUTE","SET_MESSAGE","SET_MONTH_OPTIONS","TOKENIZATION_REQUEST","TRIGGER_FOCUS_CHANGE","TRIGGER_INPUT_FOCUS","VALIDATE_STRICT"],"hosted-fields:"),t.exp
1orts=o},{"../../lib/enumerate":107,"./errors":88}],88:[function(e,t,i){"use strict";var r=e("../../lib/braintree-error");t.exports={HOSTED_FIELDS_TIMEOUT:{type:r.types.UNKNOWN,code:"HOSTED_FIELDS_TIMEOUT",message:"Hosted Fields timed out when attempting to set up."},HOSTED_FIELDS_INVALID_FIELD_KEY:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_INVALID_FIELD_KEY"},HOSTED_FIELDS_INVALID_FIELD_SELECTOR:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_INVALID_FIELD_SELECTOR",message:"Selector does not reference a valid DOM node."},HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME",message:"Element already contains a Braintree iframe."},HOSTED_FIELDS_FIELD_INVALID:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_FIELD_INVALID"},HOSTED_FIELDS_FIELD_NOT_PRESENT:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_FIELD_NOT_PRESENT"},HOSTED_FIELDS_TOKENIZATION_NETWORK_ERROR:{type:r.types.NETWORK,code:"HOSTED_FIELDS_TOKENIZATION_NETWORK_ERROR",message:"A tokenization network error occurred."},HOSTED_FIELDS_TOKENIZATION_FAIL_ON_DUPLICATE:{type:r.types.CUSTOMER,code:"HOSTED_FIELDS_TOKENIZATION_FAIL_ON_DUPLICATE",message:"This credit card already exists in the merchant's vault."},HOSTED_FIELDS_TOKENIZATION_CVV_VERIFICATION_FAILED:{type:r.types.CUSTOMER,code:"HOSTED_FIELDS_TOKENIZATION_CVV_VERIFICATION_FAILED",message:"CVV verification failed during tokenization."},HOSTED_FIELDS_FAILED_TOKENIZATION:{type:r.types.CUSTOMER,code:"HOSTED_FIELDS_FAILED_TOKENIZATION",message:"The supplied card data failed tokenization."},HOSTED_FIELDS_FIELDS_EMPTY:{type:r.types.CUSTOMER,code:"HOSTED_FIELDS_FIELDS_EMPTY",message:"All fields are empty. Cannot tokenize empty card fields."},HOSTED_FIELDS_FIELDS_INVALID:{type:r.types.CUSTOMER,code:"HOSTED_FIELDS_FIELDS_INVALID",message:"Some payment input fields are invalid. Cannot tokenize invalid card fields."},HOSTED_FIELDS_ATTRIBUTE_NOT_SUPPORTED:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_ATTRIBUTE_NOT_SUPPORTED"},HOSTED_FIELDS_ATTRIBUTE_VALUE_NOT_ALLOWED:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_ATTRIBUTE_VALUE_NOT_ALLOWED"},HOSTED_FIELDS_FIELD_PROPERTY_INVALID:{type:r.types.MERCHANT,code:"HOSTED_FIELDS_FIELD_PROPERTY_INVALID"}}},{"../../lib/braintree-error":98}],89:[function(e,t,i){"use strict";t.exports=function(e,t){for(var i=e.parentNode,r=[];null!=i;)null!=i.tagName&&i.tagName.toLowerCase()===t&&r.push(i),i=i.parentNode;return r}},{}],90:[function(e,t,i){"use strict";var r=e("./browser-detection"),n=e("@braintree/class-list"),o=e("./constants"),a=Object.keys(o.allowedFields),s=o.navigationDirections,l={generate:function(e,t,i,o){var a=document.createElement("input");return r.hasSoftwareKeyboard()||r.isFirefox()||r.isIE()?(a.setAttribute("aria-hidden","true"),a.setAttribute("autocomplete","off"),a.setAttribute("data-braintree-direction",i),a.setAttribute("data-braintree-type",t),a.setAttribute("id","bt-"+t+"-"+i+"-"+e),a.setAttribute("style",JSON.stringify({border:"none !important",display:"block !important",height:"1px !important",left:"-1px !important",opacity:"0 !important",position:"absolute !important",top:"-1px !important",width:"1px !important"}).replace(/[{}"]/g,"").replace(/,/g,";")),n.add(a,"focus-intercept"),a.addEventListener("focus",function(e){o(e),r.hasSoftwareKeyboard()||a.blur()}),a):document.createDocumentFragment()},destroy:function(e){var t;e?t=[document.getElementById(e)]:(t=document.querySelectorAll("[data-braintree-direction]"),t=[].slice.call(t)),t.forEach(function(e){e&&1===e.nodeType&&l.matchFocusElement(e.getAttribute("id"))&&e.parentNode.removeChild(e)})},matchFocusElement:function(e){var t,i,r,n;return!!e&&!((t=e.split("-")).length<4)&&(i="bt"===t[0],r=a.indexOf(t[1])>-1,n=t[2]===s.BACK||t[2]===s.FORWARD,!!(i&&r&&n))}};t.exports=l},{"./browser-detection":86,"./constants":87,"@braintree/class-list":39}],91:[function(e,t,i){"use strict";var r=e("credit-card-type");t.exports=function(e){var t=r(e);return t.forEach(function(e){"mastercard"===e.type&&(e.type="master-card")}),t}},{"credit-card-type":164}],92:[function(e,t,i){"use strict";var r=e("./create-authorization-data"),n=e("./json-clone"),o=e("./constants");t.exports=function(e,t){var i,a=t?n(t):{},s=r(e.authorization).attrs,l=n(e.analyticsMetadata);for(i in a.braintreeLibraryVersion=o.BRAINTREE_LIBRARY_VERSION,a._meta)a._meta.hasOwnProperty(i)&&(l[i]=a._meta[i]);return a._meta=l,s.tokenizationKey?a.tokenizationKey=s.tokenizationKey:a.authorizationFingerprint=s.authorizationFingerprint,a}},{"./constants":99,"./create-authorization-data":103,"./json-clone":127}],93:[function(e,t,i){"use strict";var r=e("./promise"),n=e("./constants"),o=e("./add-metadata");t.exports={sendEvent:function(e,t,i){var a=Date.now();return r.resolve(e).then(function(e){var r=Date.now(),s=e.getConfiguration();(0,e._request)({url:s.gatewayConfiguration.analytics.url,method:"post",data:o(s,{analytics:[{kind:n.ANALYTICS_PREFIX+t,isAsync:Math.floor(r/1e3)!==Math.floor(a/1e3),timestamp:a}]}),timeout:n.ANALYTICS_REQUEST_TIMEOUT_MS},i)})}}},{"./add-metadata":92,"./constants":99,"./promise":130}],94:[function(e,t,i){"use strict";var r=e("@braintree/asset-loader/load-script");t.exports={loadScript:r}},{"@braintree/asset-loader/load-script":5}],95:[function(e,t,i){"use strict";var r="function"==typeof Object.assign?Object.assign:n;function n(e){var t,i,r;for(t=1;t<arguments.length;t++)for(r in i=arguments[t])i.hasOwnProperty(r)&&(e[r]=i[r]);return e}t.exports={assign:r,_assign:n}},{}],96:[function(e,t,i){"use strict";var r=e("./braintree-error"),n=e("./promise"),o=e("./errors"),a="3.80.0";t.exports={verify:function(e){var t,i,s;return e?(s=e.name,t=e.client,i=e.authorization,t||i)?i||t.getVersion()===a?n.resolve():n.reject(new r({type:o.INCOMPATIBLE_VERSIONS.type,code:o.INCOMPATIBLE_VERSIONS.code,message:"Client (version "+t.getVersion()+") and "+s+" (version "+a+") components must be from the same SDK ver
1sion."})):n.reject(new r({type:o.INSTANTIATION_OPTION_REQUIRED.type,code:o.INSTANTIATION_OPTION_REQUIRED.code,message:"options.client is required when instantiating "+s+"."})):n.reject(new r({type:o.INVALID_USE_OF_INTERNAL_FUNCTION.type,code:o.INVALID_USE_OF_INTERNAL_FUNCTION.code,message:"Options must be passed to basicComponentVerification function."}))}}},{"./braintree-error":98,"./errors":108,"./promise":130}],97:[function(e,t,i){"use strict";var r=e("./once");t.exports=function(e,t){var i,n,o=e.length,a=o,s=r(t);if(0===o){s(null);return}function l(e){if(e){s(e);return}0==(a-=1)&&s(null)}for(n=0;n<o;n++)0===(i=e[n]).length?(i(),l(null)):i(l)}},{"./once":129}],98:[function(e,t,i){"use strict";var r=e("./enumerate");function n(e){if(!n.types.hasOwnProperty(e.type))throw Error(e.type+" is not a valid type.");if(!e.code)throw Error("Error code required.");if(!e.message)throw Error("Error message required.");this.name="BraintreeError",this.code=e.code,this.message=e.message,this.type=e.type,this.details=e.details}n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n.types=r(["CUSTOMER","MERCHANT","NETWORK","INTERNAL","UNKNOWN"]),n.findRootError=function(e){return e instanceof n&&e.details&&e.details.originalError?n.findRootError(e.details.originalError):e},t.exports=n},{"./enumerate":107}],99:[function(e,t,i){"use strict";var r="3.80.0";t.exports={ANALYTICS_PREFIX:"web.",ANALYTICS_REQUEST_TIMEOUT_MS:2e3,ASSETS_URLS:{production:"https://assets.braintreegateway.com",sandbox:"https://assets.braintreegateway.com"},CLIENT_API_URLS:{production:"https://api.braintreegateway.com:443",sandbox:"https://api.sandbox.braintreegateway.com:443"},FRAUDNET_SOURCE:"BRAINTREE_SIGNIN",FRAUDNET_FNCLS:"fnparams-dede7cc5-15fd-4c75-a9f4-36c430ee3a99",FRAUDNET_URL:"https://c.paypal.com/da/r/fb.js",BUS_CONFIGURATION_REQUEST_EVENT:"BUS_CONFIGURATION_REQUEST",GRAPHQL_URLS:{production:"https://payments.braintree-api.com/graphql",sandbox:"https://payments.sandbox.braintree-api.com/graphql"},INTEGRATION_TIMEOUT_MS:6e4,VERSION:r,INTEGRATION:"custom",SOURCE:"client",PLATFORM:"web",BRAINTREE_LIBRARY_VERSION:"braintree/web/"+r}},{}],100:[function(e,t,i){"use strict";var r=e("./braintree-error"),n=e("./errors");t.exports=function(e,t){t.forEach(function(t){e[t]=function(){throw new r({type:n.METHOD_CALLED_AFTER_TEARDOWN.type,code:n.METHOD_CALLED_AFTER_TEARDOWN.code,message:t+" cannot be called after teardown."})}})}},{"./braintree-error":98,"./errors":108}],101:[function(e,t,i){"use strict";var r=e("./braintree-error");t.exports=function(e,t){return e instanceof r?e:new r({type:t.type,code:t.code,message:t.message,details:{originalError:e}})}},{"./braintree-error":98}],102:[function(e,t,i){"use strict";var r=e("./constants").ASSETS_URLS;t.exports={create:function(e){return r.production}}},{"./constants":99}],103:[function(e,t,i){"use strict";var r=e("../lib/vendor/polyfill").atob,n=e("../lib/constants").CLIENT_API_URLS;t.exports=function(e){var t,i,o,a,s={attrs:{},configUrl:""};return/^[a-zA-Z0-9]+_[a-zA-Z0-9]+_[a-zA-Z0-9_]+$/.test(e)?(i=(t=e.split("_"))[0],a={merchantId:t.slice(2).join("_"),environment:i},s.environment=a.environment,s.attrs.tokenizationKey=e,s.configUrl=n[a.environment]+"/merchants/"+a.merchantId+"/client_api/v1/configuration"):(o=JSON.parse(r(e)),s.environment=o.environment,s.attrs.authorizationFingerprint=o.authorizationFingerprint,s.configUrl=o.configUrl,s.graphQL=o.graphQL),s}},{"../lib/constants":99,"../lib/vendor/polyfill":134}],104:[function(e,t,i){"use strict";var r=e("./braintree-error"),n=e("./promise"),o=e("./assets"),a=e("./errors"),s="3.80.0";t.exports={create:function(e){var t=n.resolve();return e.client?n.resolve(e.client):(window.braintree&&window.braintree.client||(t=o.loadScript({src:e.assetsUrl+"/web/"+s+"/js/client.min.js"}).catch(function(e){return n.reject(new r({type:a.CLIENT_SCRIPT_FAILED_TO_LOAD.type,code:a.CLIENT_SCRIPT_FAILED_TO_LOAD.code,message:a.CLIENT_SCRIPT_FAILED_TO_LOAD.message,details:{originalError:e}}))})),t.then(function(){return window.braintree.client.VERSION!==s?n.reject(new r({type:a.INCOMPATIBLE_VERSIONS.type,code:a.INCOMPATIBLE_VERSIONS.code,message:"Client (version "+window.braintree.client.VERSION+") and "+e.name+" (version "+s+") components must be from the same SDK ver
1sion."})):window.braintree.client.create({authorization:e.authorization,debug:e.debug})}))}}},{"./assets":94,"./braintree-error":98,"./errors":108,"./promise":130}],105:[function(e,t,i){"use strict";t.exports=function(e){return function(){var t=arguments;setTimeout(function(){e.apply(null,t)},1)}}},{}],106:[function(e,t,i){"use strict";var r=e("./batch-execute-functions");function n(){this._teardownRegistry=[],this._isTearingDown=!1}n.prototype.registerFunctionForTeardown=function(e){"function"==typeof e&&this._teardownRegistry.push(e)},n.prototype.teardown=function(e){if(this._isTearingDown){e(Error("Destructor is already tearing down"));return}this._isTearingDown=!0,r(this._teardownRegistry,(function(t){this._teardownRegistry=[],this._isTearingDown=!1,"function"==typeof e&&e(t)}).bind(this))},t.exports=n},{"./batch-execute-functions":97}],107:[function(e,t,i){"use strict";t.exports=function(e,t){return t=null==t?"":t,e.reduce(function(e,i){return e[i]=t+i,e},{})}},{}],108:[function(e,t,i){"use strict";var r=e("./braintree-error");t.exports={INVALID_USE_OF_INTERNAL_FUNCTION:{type:r.types.INTERNAL,code:"INVALID_USE_OF_INTERNAL_FUNCTION"},INSTANTIATION_OPTION_REQUIRED:{type:r.types.MERCHANT,code:"INSTANTIATION_OPTION_REQUIRED"},INCOMPATIBLE_VERSIONS:{type:r.types.MERCHANT,code:"INCOMPATIBLE_VERSIONS"},CLIENT_SCRIPT_FAILED_TO_LOAD:{type:r.types.NETWORK,code:"CLIENT_SCRIPT_FAILED_TO_LOAD",message:"Braintree client script could not be loaded."},METHOD_CALLED_AFTER_TEARDOWN:{type:r.types.MERCHANT,code:"METHOD_CALLED_AFTER_TEARDOWN"}}},{"./braintree-error":98}],109:[function(e,t,i){"use strict";t.exports=function(e){for(;e.parentNode;)e=e.parentNode;return e}},{}],110:[function(e,t,i){"use strict";t.exports=function(e,t,i){var r;for(r=0;r<e.length;r++)if(e[r].hasOwnProperty(t)&&e[r][t]===i)return e[r];return null}},{}],111:[function(e,t,i){"use strict";var r=e("./strategies/popup"),n=e("./strategies/popup-bridge"),o=e("./strategies/modal"),a=e("framebus"),s=e("../shared/events"),l=e("../shared/errors"),d=e("../shared/constants"),c=e("@braintree/uuid"),p=e("@braintree/iframer"),u=e("../../braintree-error"),h=e("../shared/browser-detection"),m=e("../../is-https"),y=e("./../../assign").assign,f=e("../../constants").BUS_CONFIGURATION_REQUEST_EVENT,E=["name","dispatchFrameUrl","openFrameUrl"];function v(){}function _(e){(function(e){if(!e)throw Error("Valid configuration is required");if(E.forEach(function(t){if(!e.hasOwnProperty(t))throw Error("A valid frame "+t+" must be provided")}),!/^[\w_]+$/.test(e.name))throw Error("A valid frame name must be provided")})(e),this._serviceId=c().replace(/-/g,""),this._options={name:e.name+"_"+this._serviceId,dispatchFrameUrl:e.dispatchFrameUrl,openFrameUrl:e.openFrameUrl,height:e.height,width:e.width,top:e.top,left:e.left},this.state=e.state||{},this._bus=new a({channel:this._serviceId}),this._setBusEvents()}_.prototype.initialize=function(e){var t=(function(){e(),this._bus.off(s.DISPATCH_FRAME_READY,t)}).bind(this);this._bus.on(s.DISPATCH_FRAME_READY,t),this._writeDispatchFrame()},_.prototype._writeDispatchFrame=function(){var e=d.DISPATCH_FRAME_NAME+"_"+this._serviceId,t=this._options.dispatchFrameUrl;this._dispatchFrame=p({"aria-hidden":!0,name:e,title:e,src:t,class:d.DISPATCH_FRAME_CLASS,height:0,width:0,style:{position:"absolute",left:"-9999px"}}),document.body.appendChild(this._dispatchFrame)},_.prototype._setBusEvents=function(){this._bus.on(s.DISPATCH_FRAME_REPORT,(function(e,t){this._onCompleteCallback&&this._onCompleteCallback.call(null,e.err,e.payload),this._frame.close(),this._onCompleteCallback=null,t&&t()}).bind(this)),this._bus.on(f,(function(e){e(this.state)}).bind(this))},_.prototype.open=function(e,t){if(e=e||{},this._frame=this._getFrameForEnvironment(e),this._frame.initialize(t),!(this._frame instanceof n)){if(y(this.state,e.state),this._onCompleteCallback=t,this._frame.open(),this.isFrameClosed()){this._cleanupFrame(),t&&t(new u(h.isIE()&&!m.isHTTPS()?l.FRAME_SERVICE_FRAME_OPEN_FAILED_IE_BUG:l.FRAME_SERVICE_FRAME_OPEN_FAILED));return}this._pollForPopupClose()}},_.prototype.redirect=function(e){this._frame&&!this.isFrameClosed()&&this._frame.redirect(e)},_.prototype.close=function(){this.isFrameClosed()||this._frame.close()}
1,_.prototype.focus=function(){this.isFrameClosed()||this._frame.focus()},_.prototype.createHandler=function(e){return e=e||{},{close:(function(){e.beforeClose&&e.beforeClose(),this.close()}).bind(this),focus:(function(){e.beforeFocus&&e.beforeFocus(),this.focus()}).bind(this)}},_.prototype.createNoopHandler=function(){return{close:v,focus:v}},_.prototype.teardown=function(){this.close(),this._dispatchFrame.parentNode.removeChild(this._dispatchFrame),this._dispatchFrame=null,this._cleanupFrame()},_.prototype.isFrameClosed=function(){return null==this._frame||this._frame.isClosed()},_.prototype._cleanupFrame=function(){this._frame=null,clearInterval(this._popupInterval),this._popupInterval=null},_.prototype._pollForPopupClose=function(){return this._popupInterval=setInterval((function(){this.isFrameClosed()&&(this._cleanupFrame(),this._onCompleteCallback&&this._onCompleteCallback(new u(l.FRAME_SERVICE_FRAME_CLOSED)))}).bind(this),d.POPUP_POLL_INTERVAL),this._popupInterval},_.prototype._getFrameForEnvironment=function(e){var t=h.supportsPopups(),i=!!window.popupBridge,a=y({},this._options,e);return i?new n(a):t?new r(a):new o(a)},t.exports=_},{"../../braintree-error":98,"../../constants":99,"../../is-https":125,"../shared/browser-detection":118,"../shared/constants":119,"../shared/errors":120,"../shared/events":121,"./../../assign":95,"./strategies/modal":113,"./strategies/popup":116,"./strategies/popup-bridge":114,"@braintree/iframer":42,"@braintree/uuid":46,framebus:172}],112:[function(e,t,i){"use strict";var r=e("./frame-service");t.exports={create:function(e,t){var i=new r(e);i.initialize(function(){t(i)})}}},{"./frame-service":111}],113:[function(e,t,i){"use strict";var r=e("@braintree/iframer"),n=e("../../../assign").assign,o=e("../../shared/browser-detection"),a={position:"fixed",top:0,left:0,bottom:0,padding:0,margin:0,border:0,outline:"none",zIndex:20001,background:"#FFFFFF"};function s(){}function l(e){this._closed=null,this._frame=null,this._options=e||{},this._container=this._options.container||document.body}l.prototype.initialize=s,l.prototype.open=function(){var e={src:this._options.openFrameUrl,name:this._options.name,scrolling:"yes",height:"100%",width:"100%",style:n({},a),title:"Lightbox Frame"};o.isIos()?(o.isIosWKWebview()&&(this._lockScrolling(),e.style={}),this._el=document.createElement("div"),n(this._el.style,a,{height:"100%",width:"100%",overflow:"auto","-webkit-overflow-scrolling":"touch"}),this._frame=r(e),this._el.appendChild(this._frame)):this._el=this._frame=r(e),this._closed=!1,this._container.appendChild(this._el)},l.prototype.focus=s,l.prototype.close=function(){this._container.removeChild(this._el),this._frame=null,this._closed=!0,o.isIosWKWebview()&&this._unlockScrolling()},l.prototype.isClosed=function(){return!!this._closed},l.prototype.redirect=function(e){this._frame.src=e},l.prototype._unlockScrolling=function(){document.body.style.overflow=this._savedBodyProperties.overflowStyle,document.body.style.position=this._savedBodyProperties.positionStyle,window.scrollTo(this._savedBodyProperties.left,this._savedBodyProperties.top),delete this._savedBodyProperties},l.prototype._lockScrolling=function(){var e=document.documentElement;this._savedBodyProperties={left:(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0),top:(window.pageYOffset||e.scrollTop)-(e.clientTop||0),overflowStyle:document.body.style.overflow,positionStyle:document.body.style.position},document.body.style.overflow="hidden",document.body.style.position="fixed",window.scrollTo(0,0)},t.exports=l},{"../../../assign":95,"../../shared/browser-detection":118,"@braintree/iframer":42}],114:[function(e,t,i){"use strict";var r=e("../../../braintree-error"),n=e("../../shared/errors");function o(){}function a(e){this._closed=null,this._options=e}a.prototype.initialize=function(e){var t=this;window.popupBridge.onComplete=function(i,o){var a=!o&&!i;if(t._closed=!0,i||a){e(new r(n.FRAME_SERVICE_FRAME_CLOSED));return}e(null,o)}},a.prototype.open=function(e){var t;t=(e=e||{}).openFrameUrl||this._options.openFrameUrl,this._closed=!1,window.popupBridge.open(t)}
1,a.prototype.focus=o,a.prototype.close=o,a.prototype.isClosed=function(){return!!this._closed},a.prototype.redirect=function(e){this.open({openFrameUrl:e})},t.exports=a},{"../../../braintree-error":98,"../../shared/errors":120}],115:[function(e,t,i){"use strict";var r=e("../../../shared/constants"),n=e("./position");function o(e,t,i){return void 0!==t?t:n[e](i)}t.exports=function(e){var t=e.height||r.DEFAULT_POPUP_HEIGHT,i=e.width||r.DEFAULT_POPUP_WIDTH,n=o("top",e.top,t),a=o("left",e.left,i);return[r.POPUP_BASE_OPTIONS,"height="+t,"width="+i,"top="+n,"left="+a].join(",")}},{"../../../shared/constants":119,"./position":117}],116:[function(e,t,i){"use strict";var r=e("./compose-options");function n(e){this._frame=null,this._options=e||{},this.open()}n.prototype.initialize=function(){},n.prototype.open=function(){this._frame=window.open(this._options.openFrameUrl,this._options.name,r(this._options))},n.prototype.focus=function(){this._frame.focus()},n.prototype.close=function(){this._frame.closed||this._frame.close()},n.prototype.isClosed=function(){return!this._frame||!!this._frame.closed},n.prototype.redirect=function(e){this._frame.location.href=e},t.exports=n},{"./compose-options":115}],117:[function(e,t,i){"use strict";t.exports={top:function(e){return((window.outerHeight||document.documentElement.clientHeight)-e)/2+(null==window.screenY?window.screenTop:window.screenY)},left:function(e){return((window.outerWidth||document.documentElement.clientWidth)-e)/2+(null==window.screenX?window.screenLeft:window.screenX)},center:function(e,t,i){return(e-t)/2+i}}},{}],118:[function(e,t,i){"use strict";t.exports={isIos:e("@braintree/browser-detection/is-ios"),isIosWKWebview:e("@braintree/browser-detection/is-ios-wkwebview"),isIE:e("@braintree/browser-detection/is-ie"),supportsPopups:e("@braintree/browser-detection/supports-popups")}},{"@braintree/browser-detection/is-ie":31,"@braintree/browser-detection/is-ios":37,"@braintree/browser-detection/is-ios-wkwebview":36,"@braintree/browser-detection/supports-popups":38}],119:[function(e,t,i){"use strict";t.exports={DISPATCH_FRAME_NAME:"dispatch",DISPATCH_FRAME_CLASS:"braintree-dispatch-frame",POPUP_BASE_OPTIONS:"resizable,scrollbars",DEFAULT_POPUP_WIDTH:450,DEFAULT_POPUP_HEIGHT:535,POPUP_POLL_INTERVAL:100,POPUP_CLOSE_TIMEOUT:100}},{}],120:[function(e,t,i){"use strict";var r=e("../../braintree-error");t.exports={FRAME_SERVICE_FRAME_CLOSED:{type:r.types.INTERNAL,code:"FRAME_SERVICE_FRAME_CLOSED",message:"Frame closed before tokenization could occur."},FRAME_SERVICE_FRAME_OPEN_FAILED:{type:r.types.INTERNAL,code:"FRAME_SERVICE_FRAME_OPEN_FAILED",message:"Frame failed to open."},FRAME_SERVICE_FRAME_OPEN_FAILED_IE_BUG:{type:r.types.INTERNAL,code:"FRAME_SERVICE_FRAME_OPEN_FAILED_IE_BUG",message:"Could not open frame. This may be due to a bug in IE browsers when attempting to open an HTTPS page from a HTTP page. https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11324352/"}}},{"../../braintree-error":98}],121:[function(e,t,i){"use strict";var r=e("../../enumerate");t.exports=r(["DISPATCH_FRAME_READY","DISPATCH_FRAME_REPORT"],"frameService:")},{"../../enumerate":107}],122:[function(e,t,i){"use strict";var r="3.80.0",n=e("./assign").assign;function o(e,t){var i=e.analyticsMetadata;return n({},{gateway:"braintree","braintree:merchantId":e.gatewayConfiguration.merchantId,"braintree:apiVersion":"v1","braintree:sdkVersion":r,"braintree:metadata":JSON.stringify({source:i.source,integration:i.integration,sessionId:i.sessionId,version:r,platform:i.platform})},t)}t.exports=function(e,t,i){var r,n,a=e.gatewayConfiguration.androidPay,s="production"===e.gatewayConfiguration.environment?"PRODUCTION":"TEST";return 2===t?(r={apiVersion:2,apiVersionMinor:0,environment:s,allowedPaymentMethods:[{type:"CARD",parameters:{allowedAuthMethods:["PAN_ONLY","CRYPTOGRAM_3DS"],allowedCardNetworks:a.supportedNetworks.map(function(e){return e.toUpperCase()})},tokenizationSpecification:{type:"PAYMENT_GATEWAY",parameters:o(e,{"braintree:authorizationFingerprint":a.googleAuthorizationFingerprint})}}]},i&&(r.merchantInfo={merchantId:i}),a.paypalClientId&&(n={type:"PAYPAL",parameters:{purchase_context:{purchase_units:[{payee:{client_id:a.paypalClientId},recurring_payment:!0}]}},tokenizationSpecification:{type:"PAYMENT_GATEWAY",parameters:o(e,{"braintree:paypalClientId":a.paypalClientId})}},r.allowedPaymentMethods.push(n))):(r={environment:s,allowedPaymentMethods:["CARD","TOKENIZED_CARD"],paymentMethodTokenizationParameters:{tokenizationType:"PAYMENT_GATEWAY",parameters:o(e,{"braintree:authorizationFingerprint":a.googleAuthorizationFingerprint})},cardRequirements:{allowedCardNetworks:a.supportedNetworks.map(function(e){return e.toUpperCase()})}},"TOKENIZATION_KEY"===e.authorizationType&&(r.paymentMethodTokenizationParameters.parameters["braintree:clientKey"]=e.authorization),i&&(r.merchantId=i),t&&(r.apiVersion=t)),r}},{"./assign":95}],123:[function(e,t,i){"use strict";
1t.exports=function(e){e=e||window;try{return e.self!==e.top}catch(e){return!0}}},{}],124:[function(e,t,i){"use strict";function r(e){var t=e.split("-");return new Date(t[0],t[1],t[2])}t.exports=function(e,t){return r(e)<=r(t)}},{}],125:[function(e,t,i){"use strict";t.exports={isHTTPS:function(e){return"https:"===(e=e||window.location.protocol)}}},{}],126:[function(e,t,i){"use strict";var r,n={"paypal.com":1,"braintreepayments.com":1,"braintreegateway.com":1,"braintree-api.com":1};t.exports=function(e){var t;return e=e.toLowerCase(),!!/^https:/.test(e)&&((r=r||document.createElement("a")).href=e,t=r.hostname.split(".").slice(-2).join("."),n.hasOwnProperty(t))}},{}],127:[function(e,t,i){"use strict";t.exports=function(e){return JSON.parse(JSON.stringify(e))}},{}],128:[function(e,t,i){"use strict";t.exports=function(e){return Object.keys(e).filter(function(t){return"function"==typeof e[t]})}},{}],129:[function(e,t,i){"use strict";t.exports=function(e){var t=!1;return function(){t||(t=!0,e.apply(null,arguments))}}},{}],130:[function(e,t,i){"use strict";var r=e("promise-polyfill"),n=e("@braintree/extended-promise"),o="undefined"!=typeof Promise?Promise:r;n.suppressUnhandledPromiseMessage=!0,n.setPromise(o),t.exports=o},{"@braintree/extended-promise":41,"promise-polyfill":186}],131:[function(e,t,i){"use strict";function r(e){return e=e||window.location.href,/\?/.test(e)}function n(e,t){var i,r,o,a=[];for(o in e)e.hasOwnProperty(o)&&(r=e[o],i=t?e&&"object"==typeof e&&"number"==typeof e.length&&"[object Array]"===Object.prototype.toString.call(e)?t+"[]":t+"["+o+"]":o,"object"==typeof r?a.push(n(r,i)):a.push(encodeURIComponent(i)+"="+encodeURIComponent(r)));return a.join("&")}t.exports={parse:function(e){return r(e=e||window.location.href)?e.replace(/#.*$/,"").replace(/^.*\?/,"").split("&").reduce(function(e,t){var i=t.split("="),r=decodeURIComponent(i[0]),n=decodeURIComponent(i[1]);return e[r]=n,e},{}):{}},stringify:n,queryify:function(e,t){return e=e||"",null!=t&&"object"==typeof t&&function(e){var t;for(t in e)if(e.hasOwnProperty(t))return!0;return!1}(t)&&(e+=-1===e.indexOf("?")?"?":"",e+=(-1!==e.indexOf("=")?"&":"")+n(t)),e},hasQueryParams:r}},{}],132:[function(e,t,i){"use strict";var r=e("@braintree/uuid"),n=e("./find-root-node");function o(e){return"[object ShadowRoot]"===(e=n(e)).toString()}function a(e){return o(e=n(e))?e.host:null}t.exports={isShadowElement:o,getShadowHost:a,transformToSlot:function e(t,i){var s=n(t).querySelector("style"),l=a(t),d="shadow-slot-"+r(),c=document.createElement("slot"),p=document.createElement("div");return(c.setAttribute("name",d),t.appendChild(c),p.setAttribute("slot",d),l.appendChild(p),i&&(s||(s=document.createElement("style"),t.appendChild(s)),s.sheet.insertRule('::slotted([slot="'+d+'"]) { '+i+" }")),o(l))?e(p,i):p}}},{"./find-root-node":109,"@braintree/uuid":46}],133:[function(e,t,i){"use strict";t.exports=function(e){return e?"":".min"}},{}],134:[function(e,t,i){"use strict";var r="function"==typeof atob?atob:n;function n(e){var t,i,r,n,o,a,s,l,d=RegExp("^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})([=]{1,2})?$"),c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",p="";if(!d.test(e))throw Error("Non base64 encoded input passed to window.atob polyfill");l=0;do n=c.indexOf(e.charAt(l++)),o=c.indexOf(e.charAt(l++)),a=c.indexOf(e.charAt(l++)),s=c.indexOf(e.charAt(l++)),t=(63&n)<<2|o>>4&3,i=(15&o)<<4|a>>2&15,r=(3&a)<<6|63&s,p+=String.fromCharCode(t)+(i?String.fromCharCode(i):"")+(r?String.fromCharCode(r):"");while(l<e.length);return p}t.exports={atob:function(e){return r.call(window,e)},_atob:n}},{}],135:[function(e,t,i){"use strict";var r=e("../lib/braintree-error");t.exports={PAYPAL_NOT_ENABLED:{type:r.types.MERCHANT,code:"PAYPAL_NOT_ENABLED",message:"PayPal is not enabled for this merchant."},PAYPAL_SANDBOX_ACCOUNT_NOT_LINKED:{type:r.types.MERCHANT,code:"PAYPAL_SANDBOX_ACCOUNT_NOT_LINKED",message:"A linked PayPal Sandbox account is required to use PayPal Checkout in Sandbox. See https://developers.braintreepayments.com/guides/paypal/testing-go-live/#linked-paypal-testing for details on linking your PayPal sandbox with Braintree."},PAYPAL_ACCOUNT_TOKENIZATION_FAILED:{type:r.types.NETWORK,code:"PAYPAL_ACCOUNT_TOKENIZATION_FAILED",message:"Could not tokenize user's PayPal account."},PAYPAL_FLOW_FAILED:{type:r.types.NETWORK,code:"PAYPAL_FLOW_FAILED",message:"Could not initialize PayPal flow."},PAYPAL_FLOW_OPTION_REQUIRED:{type:r.types.MERCHANT,code:"PAYPAL_FLOW_OPTION_REQUIRED",message:"PayPal flow property is invali
1d or missing."},PAYPAL_START_VAULT_INITIATED_CHECKOUT_PARAM_REQUIRED:{type:r.types.MERCHANT,code:"PAYPAL_START_VAULT_INITIATED_CHECKOUT_PARAM_REQUIRED"},PAYPAL_START_VAULT_INITIATED_CHECKOUT_SETUP_FAILED:{type:r.types.NETWORK,code:"PAYPAL_START_VAULT_INITIATED_CHECKOUT_SETUP_FAILED",message:"Something went wrong when setting up the checkout workflow."},PAYPAL_START_VAULT_INITIATED_CHECKOUT_POPUP_OPEN_FAILED:{type:r.types.MERCHANT,code:"PAYPAL_START_VAULT_INITIATED_CHECKOUT_POPUP_OPEN_FAILED",message:"PayPal popup failed to open, make sure to initiate the vault checkout in response to a user action."},PAYPAL_START_VAULT_INITIATED_CHECKOUT_CANCELED:{type:r.types.CUSTOMER,code:"PAYPAL_START_VAULT_INITIATED_CHECKOUT_CANCELED",message:"Customer closed PayPal popup before authorizing."},PAYPAL_START_VAULT_INITIATED_CHECKOUT_IN_PROGRESS:{type:r.types.MERCHANT,code:"PAYPAL_START_VAULT_INITIATED_CHECKOUT_IN_PROGRESS",message:"Vault initiated checkout already in progress."},PAYPAL_INVALID_PAYMENT_OPTION:{type:r.types.MERCHANT,code:"PAYPAL_INVALID_PAYMENT_OPTION",message:"PayPal payment options are invalid."}}},{"../lib/braintree-error":98}],136:[function(e,t,i){"use strict";var r=e("../lib/basic-component-verification"),n=e("@braintree/wrap-promise"),o=e("./paypal-checkout");t.exports={create:n(function(e){return r.verify({name:"PayPal Checkout",client:e.client,authorization:e.authorization}).then(function(){return new o(e)._initialize(e)})}),isSupported:function(){return!0},VERSION:"3.80.0"}},{"../lib/basic-component-verification":96,"./paypal-checkout":137,"@braintree/wrap-promise":50}],137:[function(e,t,i){"use strict";var r=e("../lib/analytics"),n=e("../lib/assign").assign,o=e("../lib/create-deferred-client"),a=e("../lib/create-assets-url"),s=e("../lib/promise"),l=e("@braintree/extended-promise"),d=e("@braintree/wrap-promise"),c=e("../lib/braintree-error"),p=e("../lib/convert-to-braintree-error"),u=e("./errors"),h=e("../paypal/shared/constants"),m=e("../lib/frame-service/external"),y=e("../lib/create-authorization-data"),f=e("../lib/methods"),E=e("../lib/use-min"),v=e("../lib/convert-methods-to-error"),_=e("../lib/querystring"),g=e("../lib/constants").INTEGRATION_TIMEOUT_MS,b=["amount","currency","vaultInitiatedCheckoutPaymentMethodToken"];function P(e){this._merchantAccountId=e.merchantAccountId,this._autoSetDataUserIdToken=!!e.autoSetDataUserIdToken}P.prototype._initialize=function(e){var t;return(e.client?(t=e.client.getConfiguration(),this._authorizationInformation={fingerprint:t.authorizationFingerprint,environment:t.gatewayConfiguration.environment}):(t=y(e.authorization),this._authorizationInformation={fingerprint:t.attrs.authorizationFingerprint,environment:t.environment}),this._clientPromise=o.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:"PayPal Checkout"}).then((function(e){return(this._configuration=e.getConfiguration(),this._merchantAccountId||(this._configuration.gatewayConfiguration.paypalEnabled?!0===this._configuration.gatewayConfiguration.paypal.environmentNoNetwork&&(this._setupError=new c(u.PAYPAL_SANDBOX_ACCOUNT_NOT_LINKED)):this._setupError=new c(u.PAYPAL_NOT_ENABLED)),this._setupError)?s.reject(this._setupError):(r.sendEvent(e,"paypal-checkout.initialized"),this._frameServicePromise=this._setupFrameService(e),e)}).bind(this)),e.client)?this._clientPromise.then((function(){return this}).bind(this)):s.resolve(this)},P.prototype._setupFrameService=function(e){var t=new l,i=e.getConfiguration(),n=setTimeout(function(){r.sendEvent(e,"paypal-checkout.frame-service.timed-out"),t.reject(new c(u.PAYPAL_START_VAULT_INITIATED_CHECKOUT_SETUP_FAILED))},g);return this._assetsUrl=i.gatewayConfiguration.paypal.assetsUrl+"/web/3.80.0",this._isDebug=i.isDebug,this._loadingFrameUrl=this._assetsUrl+"/html/paypal-landing-frame"+E(this._isDebug)+".html",m.create({name:"braintreepaypallanding",dispatchFrameUrl:this._assetsUrl+"/html/dispatch-frame"+E(this._isDebug)+".html",openFrameUrl:this._loadingFrameUrl},(function(e){this._frameService=e,clearTimeout(n),t.resolve()}).bind(this)),t},P.prototype.createPayment=function(e){return e&&h.FLOW_ENDPOINTS.hasOwnProperty(e.flow)?(r.sendEvent(this._clientPromise,"paypal-checkout.createPayment"),this._createPaymentResource(e).then(function(t){return"checkout"===e.flow?t.paymentResource.redirectUrl.match(/EC-\w+/)[0]:t.agreementSetup.tokenId})):s.reject(new c(u.PAYPAL_FLOW_OPTION_REQUIRED))},P.prototype._createPaymentResource=function(e,t){var i=this,n="paypal_hermes/"+h.FLOW_ENDPOINTS[e.flow];return delete this.intentFromCreatePayment,t=t||{},!0===e.offerCredit&&r.sendEvent(this._clientPromise,"paypal-checkout.credit.offered"),this._clientPromise.then(function(r){return r.request({endpoint:n,method:"post",data:i._formatPaymentResourceData(e,t)}).then(function(t){return i.intentFromCreatePayment=e.intent,t})}).catch(function(e){return i._setupError?s.reject(i._setupError):422===(e.details&&e.details.httpStatus)?s.reject(new c({type:u.PAYPAL_INVALID_PAYMENT_OPTION.type,code:u.PAYPAL_INVALID_PAYMENT_OPTION.code,message:u.PAYPAL_INVALID_PAYMENT_OPTION.message,details:{originalError:e}})):s.reject(p(e,{type:u.PAYPAL_FLOW_FAILED.type,code:u.PAYPAL_FLOW_FAILED.code,message:u.PAYPAL_FLOW_FAILED.message}))})},P.prototype.startVaultInitiatedCheckout=function(e){var t,i=this;return this._vaultInitiatedCheckoutInProgress?(r.sendEvent(this._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.error.already-in-progress"),s.reject(new c(u.PAYPAL_START_VAULT_INITIATED_CHECKOUT_IN_PROGRESS))
1):(b.forEach(function(i){e.hasOwnProperty(i)||(t=i)}),t)?s.reject(new c({type:u.PAYPAL_START_VAULT_INITIATED_CHECKOUT_PARAM_REQUIRED.type,code:u.PAYPAL_START_VAULT_INITIATED_CHECKOUT_PARAM_REQUIRED.code,message:"Required param "+t+" is missing."})):(this._vaultInitiatedCheckoutInProgress=!0,this._addModalBackdrop(e),e=n({},e,{flow:"checkout"}),r.sendEvent(this._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.started"),this._waitForVaultInitiatedCheckoutDependencies().then(function(){var t=new l,r=i._createPaymentResource(e,{returnUrl:i._constructVaultCheckutUrl("redirect-frame"),cancelUrl:i._constructVaultCheckutUrl("cancel-frame")}).then(function(e){var r=e.paymentResource.redirectUrl;return i._frameService.redirect(r),t});return i._frameService.open({},i._createFrameServiceCallback(t)),r}).catch(function(e){return(i._vaultInitiatedCheckoutInProgress=!1,i._removeModalBackdrop(),"FRAME_SERVICE_FRAME_CLOSED"===e.code)?(r.sendEvent(i._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.canceled.by-customer"),s.reject(new c(u.PAYPAL_START_VAULT_INITIATED_CHECKOUT_CANCELED))):(i._frameService&&i._frameService.close(),e.code&&e.code.indexOf("FRAME_SERVICE_FRAME_OPEN_FAILED")>-1)?(r.sendEvent(i._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.failed.popup-not-opened"),s.reject(new c({code:u.PAYPAL_START_VAULT_INITIATED_CHECKOUT_POPUP_OPEN_FAILED.code,type:u.PAYPAL_START_VAULT_INITIATED_CHECKOUT_POPUP_OPEN_FAILED.type,message:u.PAYPAL_START_VAULT_INITIATED_CHECKOUT_POPUP_OPEN_FAILED.message,details:{originalError:e}}))):s.reject(e)}).then(function(e){return i._frameService.close(),i._vaultInitiatedCheckoutInProgress=!1,i._removeModalBackdrop(),r.sendEvent(i._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.succeeded"),s.resolve(e)}))},P.prototype._addModalBackdrop=function(e){e.optOutOfModalBackdrop||(this._modalBackdrop||(this._modalBackdrop=document.createElement("div"),this._modalBackdrop.setAttribute("data-braintree-paypal-vault-initiated-checkout-modal",!0),this._modalBackdrop.style.position="fixed",this._modalBackdrop.style.top=0,this._modalBackdrop.style.bottom=0,this._modalBackdrop.style.left=0,this._modalBackdrop.style.right=0,this._modalBackdrop.style.zIndex=9999,this._modalBackdrop.style.background="black",this._modalBackdrop.style.opacity="0.7",this._modalBackdrop.addEventListener("click",(function(){this.focusVaultInitiatedCheckoutWindow()}).bind(this))),document.body.appendChild(this._modalBackdrop))},P.prototype._removeModalBackdrop=function(){this._modalBackdrop&&this._modalBackdrop.parentNode&&this._modalBackdrop.parentNode.removeChild(this._modalBackdrop)},P.prototype.closeVaultInitiatedCheckoutWindow=function(){return this._vaultInitiatedCheckoutInProgress&&r.sendEvent(this._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.canceled.by-merchant"),this._waitForVaultInitiatedCheckoutDependencies().then((function(){this._frameService.close()}).bind(this))},P.prototype.focusVaultInitiatedCheckoutWindow=function(){return this._waitForVaultInitiatedCheckoutDependencies().then((function(){this._frameService.focus()}).bind(this))},P.prototype._createFrameServiceCallback=function(e){var t=this;return function(i,r){i?e.reject(i):r&&(t._frameService.redirect(t._loadingFrameUrl),t.tokenizePayment({paymentToken:r.token,payerID:r.PayerID,paymentID:r.paymentId}).then(function(t){e.resolve(t)}).catch(function(t){e.reject(t)}))}},P.prototype._waitForVaultInitiatedCheckoutDependencies=function(){var e=this;return this._clientPromise.then(function(){return e._frameServicePromise})},P.prototype._constructVaultCheckutUrl=function(e){var t=this._frameService._serviceId;return this._assetsUrl+"/html/"+e+E(this._isDebug)+".html?channel="+t},P.prototype.tokenizePayment=function(e){var t,i=this,n=!0,o={flow:e.billingToken&&!e.paymentID?"vault":"checkout",intent:e.intent||this.intentFromCreatePayment},a={ecToken:e.paymentToken,billingToken:e.billingToken,payerId:e.payerID,paymentId:e.paymentID,shippingOptionsId:e.shippingOptionsId};return e.hasOwnProperty("vault")&&(n=e.vault),o.vault=n,r.sendEvent(this._clientPromise,"paypal-checkout.tokenization.started"),this._clientPromise.then(function(e){return e.request({endpoint:"payment_methods/paypal_accounts",method:"post",data:i._formatTokenizeData(o,a)})}).then(function(e){return t=i._formatTokenizePayload(e),r.sendEvent(i._clientPromise,"paypal-checkout.tokenization.success"),t.creditFinancingOffered&&r.sendEvent(i._clientPromise,"paypal-checkout.credit.accepted"),t}).catch(function(e){return i._setupError?s.reject(i._setupError):(r.sendEvent(i._clientPromise,"paypal-checkout.tokenization.failed"),s.reject(p(e,{type:u.PAYPAL_ACCOUNT_TOKENIZATION_FAILED.type,code:u.PAYPAL_ACCOUNT_TOKENIZATION_FAILED.code,message:u.PAYPAL_ACCOUNT_TOKENIZATION_FAILED.message})))})},P.prototype.getClientId=function(){return this._clientPromise.then(function(e){return e.getConfiguration().gatewayConfiguration.paypal.clientId})},P.prototype.loadPayPalSDK=function(e){var t,i=new l,r=e&&e.dataAttributes||{},o=r["user-id-token"]||r["data-user-id-token"];return o||(o=this._authorizationInformation.fingerprint&&this._authorizationInformation.fingerprint.split("?")[0]),this._paypalScript=document.createElement("script"),e=n({},{components:"buttons"},e),delete e.dataAttributes,e.vault?e.intent=e.intent||"tokenize":(e.intent=e.intent||"authorize",e.currency=e.currency||"USD"),t="https://www.paypal.com/sdk/js?",this._paypalScript.onload=function(){i.resolve()},Object.keys(r).forEach((function(e){this._paypalScript.setAttribute("data-"+e.replace(/^data\-/,""),r[e])}).bind(this)),(e["client-id"]?s.resolve(e["client-id"]):this.getClientId()).then((function(i){e["client-id"]=i,this._autoSetDataUserIdToken&&o&&(this._paypalScript.setAttribute("data-user-id-token",o),this._attachPreloadPixel({id:i,userIdToken:o,amount:r.amount,currency:e.currency,merchantId:e["merchant-id"]})),this._paypalScript.src=_.queryify(t,e),document.head.insertBefore(this._paypalScript,document.head.firstElementChild)}).bind(this)),i.then((function(){return this}).bind(this))},P.prototype._attachPreloadPixel=function(e){var t,i=e.id,r=e.userIdToken,n=this._authorizationInformation.environment,o="https://www.{ENV}paypal.com/smart/buttons/preload".replace("{ENV}","production"===n?"":"sandbox."),a={"client-id":i,"user-id-token":r};e.amount&&(a.amount=e.amount),e.currency&&(a.currency=e.currency),e.merchantId&&(a["merchant-id"]=e.merchantId),(t=new XMLHttpRequest).open("GET",_.queryify(o,a)),t.send()},P.prototype._formatPaymentResourceData=function(e,t){var i,r=this._configuration.gatewayConfiguration,n=e.intent,o={returnUrl:t.returnUrl||"https://www.paypal.com/checkoutnow/error",cancelUrl:t.cancelUrl||"https://www.paypal.com/checkoutnow/error",offerPaypalCredit:!0===e.offerCredit,merchantAccountId:this._merchantAccountId,experienceProfile:{brandName:e.displayName||r.payp
1al.displayName,localeCode:e.locale,noShipping:(!e.enableShippingAddress).toString(),addressOverride:!1===e.shippingAddressEditable,landingPageType:e.landingPageType},shippingOptions:e.shippingOptions};if("checkout"===e.flow){for(i in o.amount=e.amount,o.currencyIsoCode=e.currency,o.requestBillingAgreement=e.requestBillingAgreement,n&&("capture"===n&&(n="sale"),o.intent=n),e.hasOwnProperty("lineItems")&&(o.lineItems=e.lineItems),e.hasOwnProperty("vaultInitiatedCheckoutPaymentMethodToken")&&(o.vaultInitiatedCheckoutPaymentMethodToken=e.vaultInitiatedCheckoutPaymentMethodToken),e.hasOwnProperty("shippingOptions")&&(o.shippingOptions=e.shippingOptions),e.shippingAddressOverride)e.shippingAddressOverride.hasOwnProperty(i)&&(o[i]=e.shippingAddressOverride[i]);e.hasOwnProperty("billingAgreementDetails")&&(o.billingAgreementDetails=e.billingAgreementDetails)}else o.shippingAddress=e.shippingAddressOverride,e.billingAgreementDescription&&(o.description=e.billingAgreementDescription);return o},P.prototype._formatTokenizeData=function(e,t){var i=this._configuration,r=i.gatewayConfiguration,n="TOKENIZATION_KEY"===i.authorizationType,o="vault"===e.flow,a={paypalAccount:{correlationId:t.billingToken||t.ecToken,options:{validate:o&&!n&&e.vault}}};return o?a.paypalAccount.billingAgreementToken=t.billingToken:(a.paypalAccount.paymentToken=t.paymentId,a.paypalAccount.payerId=t.payerId,a.paypalAccount.unilateral=r.paypal.unvettedMerchant,e.intent&&(a.paypalAccount.intent=e.intent)),this._merchantAccountId&&(a.merchantAccountId=this._merchantAccountId),a},P.prototype._formatTokenizePayload=function(e){var t,i={};return e.paypalAccounts&&(i=e.paypalAccounts[0]),t={nonce:i.nonce,details:{},type:i.type},i.details&&i.details.payerInfo&&(t.details=i.details.payerInfo),i.details&&i.details.creditFinancingOffered&&(t.creditFinancingOffered=i.details.creditFinancingOffered),i.details&&i.details.shippingOptionId&&(t.shippingOptionId=i.details.shippingOptionId),i.details&&i.details.cobrandedCardLabel&&(t.cobrandedCardLabel=i.details.cobrandedCardLabel),t},P.prototype.teardown=function(){var e=this;return v(this,f(P.prototype)),this._paypalScript&&this._paypalScript.parentNode&&this._paypalScript.parentNode.removeChild(this._paypalScript),this._frameServicePromise.catch(function(){}).then(function(){return e._frameService?e._frameService.teardown():s.resolve()})},t.exports=d.wrapPrototype(P)},{"../lib/analytics":93,"../lib/assign":95,"../lib/braintree-error":98,"../lib/constants":99,"../lib/convert-methods-to-error":100,"../lib/convert-to-braintree-error":101,"../lib/create-assets-url":102,"../lib/create-authorization-data":103,"../lib/create-deferred-client":104,"../lib/frame-service/external":112,"../lib/methods":128,"../lib/promise":130,"../lib/querystring":131,"../lib/use-min":133,"../paypal/shared/constants":138,"./errors":135,"@braintree/extended-promise":41,"@braintree/wrap-promise":50}],138:[function(e,t,i){"use strict";t.exports={LANDING_FRAME_NAME:"braintreepaypallanding",FLOW_ENDPOINTS:{checkout:"create_payment_resource",vault:"setup_billing_agreement"}}},{}],139:[function(e,t,i){"use strict";var r=e("../../../lib/assign").assign,n=e("../../../lib/analytics"),o=e("../../../lib/braintree-error"),a=e("../../../lib/promise"),s=e("../../../lib/is-verified-domain"),l=e("@braintree/extended-promise"),d=e("@braintree/event-emitter"),c=e("../../shared/errors"),p=e("@braintree/iframer"),u=e("framebus"),h=e("../../shared/constants"),m=e("@braintree/uuid"),y=e("../../shared/events"),f=e("../../../lib/use-min"),E=e("../../../lib/constants").BUS_CONFIGURATION_REQUEST_EVENT,v="3.80.0";function _(e){d.call(this),this._client=e.client,this._createPromise=e.createPromise,this._createOptions=e,this._client?(this._isDebug=this._client.getConfiguration().isDebug,this._assetsUrl=this._client.getConfiguration().gatewayConfiguration.assetsUrl):(this._isDebug=!!e.isDebug,this._assetsUrl=e.assetsUrl),this._assetsUrl=this._assetsUrl+"/web/"+v}d.createChild(_),_.prototype._waitForClient=function(){return this._client?a.resolve():this._createPromise.then((function(e){this._client=e}).bind(this))},_.prototype.setUpEventListeners=function(){throw new o(c.THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENT
1ED)},_.prototype.verifyCard=function(e,t){var i,r,o=this;return(t=t||{},r=this._checkForVerifyCardError(e,t))?a.reject(r):(this._verifyCardInProgress=!0,i=this._formatVerifyCardOptions(e),this._formatLookupData(i).then(function(e){return n.sendEvent(o._createPromise,"three-d-secure.verification-flow.started"),o._performLookup(i.nonce,e)}).then(function(e){return n.sendEvent(o._createPromise,"three-d-secure.verification-flow.3ds-version."+e.lookup.threeDSecureVersion),o._onLookupComplete(e,i)}).then(function(e){return o.initializeChallengeWithLookupResponse(e,i)}).then(function(e){return o._resetVerificationState(),n.sendEvent(o._createPromise,"three-d-secure.verification-flow.completed"),e}).catch(function(e){return o._resetVerificationState(),n.sendEvent(o._createPromise,"three-d-secure.verification-flow.failed"),a.reject(e)}))},_.prototype._checkForFrameworkSpecificVerifyCardErrors=function(){throw new o(c.THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENTED)},_.prototype._presentChallenge=function(){throw new o(c.THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENTED)},_.prototype.prepareLookup=function(){throw new o(c.THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENTED)},_.prototype._resetVerificationState=function(){this._verifyCardInProgress=!1,this._verifyCardPromisePlus=null},_.prototype._performLookup=function(e,t){var i=this,r="payment_methods/"+e+"/three_d_secure/lookup";return this._waitForClient().then(function(){return i._client.request({endpoint:r,method:"post",data:t}).catch(function(e){var t,r=e&&e.details&&e.details.httpStatus,s="three-d-secure.verification-flow.lookup-failed";return 404===r?(t=c.THREEDS_LOOKUP_TOKENIZED_CARD_NOT_FOUND_ERROR,s+=".404"):422===r?(t=c.THREEDS_LOOKUP_VALIDATION_ERROR,s+=".422"):t=c.THREEDS_LOOKUP_ERROR,n.sendEvent(i._createPromise,s),a.reject(new o({type:t.type,code:t.code,message:t.message,details:{originalError:e}}))})})},_.prototype._checkForVerifyCardError=function(e,t){var i;return!0===this._verifyCardInProgress?new o(c.THREEDS_AUTHENTICATION_IN_PROGRESS):(e.nonce?e.amount||(i="an amount"):i="a nonce",i||(i=this._checkForFrameworkSpecificVerifyCardErrors(e,t)),i)?new o({type:c.THREEDS_MISSING_VERIFY_CARD_OPTION.type,code:c.THREEDS_MISSING_VERIFY_CARD_OPTION.code,message:"verifyCard options must include "+i+"."}):null},_.prototype.initializeChallengeWithLookupResponse=function(e,t){var i=this;return t=t||{},this._lookupPaymentMethod=e.paymentMethod,i._verifyCardPromisePlus=i._verifyCardPromisePlus||new l,i._handleLookupResponse(e,t),i._verifyCardPromisePlus.then(function(e){return n.sendEvent(i._createPromise,"three-d-secure.verification-flow.liability-shifted."+String(e.liabilityShifted)),n.sendEvent(i._createPromise,"three-d-secure.verification-flow.liability-shift-possible."+String(e.liabilityShiftPossible)),e})},_.prototype._handleLookupResponse=function(e,t){var i,r=!!(e.lookup&&e.lookup.acsUrl);n.sendEvent(this._createPromise,"three-d-secure.verification-flow.challenge-presented."+String(r)),r?this._presentChallenge(e,t):((i=this._formatAuthResponse(e.paymentMethod,e.threeDSecureInfo)).verificationDetails=e.threeDSecureInfo,this._verifyCardPromisePlus.resolve(i))},_.prototype._onLookupComplete=function(e){return this._lookupPaymentMethod=e.paymentMethod,this._verifyCardPromisePlus=new l,a.resolve(e)},_.prototype._formatAuthResponse=function(e,t){return{nonce:e.nonce,type:e.type,binData:e.binData,details:e.details,description:e.description&&e.description.replace(/\+/g," "),liabilityShifted:t&&t.liabilityShifted,liabilityShiftPossible:t&&t.liabilityShiftPossible,threeDSecureInfo:e.threeDSecureInfo}},_.prototype._formatVerifyCardOptions=function(e){return r({},e)},_.prototype._formatLookupData=function(e){var t={amount:e.amount};return a.resolve(t)},_.prototype._handleV1AuthResponse=function(e){var t=JSON.parse(e.auth_response);t.success?this._verifyCardPromisePlus.resolve(this._formatAuthResponse(t.paymentMethod,t.threeDSecureInfo)):t.threeDSecureInfo&&t.threeDSecureInfo.liabilityShiftPossible?this._verifyCardPromisePlus.resolve(this._formatAuthResponse(this._lookupPaymentMethod,t.threeDSecureInfo)):this._verifyCardPromisePlus.reject(new o({type:o.types.UNKNOWN,code:"UNKNOWN_AUTH_RESPONSE",message:t.error.message}))},_.prototype.cancelVerifyCard=function(){var e,t;return(this._verifyCardInProgress=!1,this._lookupPaymentMethod)?(t=this._lookupPaymentMethod.threeDSecureInfo,e=r({},this._lookupPaymentMethod,{liabilityShiftPossible:t&&t.liabilityShiftPossible,liabilityShifted:t&&t.liabilityShifted,verificationDetail
1s:t&&t.verificationDetails}),a.resolve(e)):a.reject(new o(c.THREEDS_NO_VERIFICATION_PAYLOAD))},_.prototype._setupV1Bus=function(e){var t=window.location.href.split("#")[0],i=e.lookupResponse,r=m(),n=new u({channel:r,verifyDomain:s}),o=this._assetsUrl+"/html/three-d-secure-authentication-complete-frame.html?channel="+encodeURIComponent(r)+"&";return n.on(E,function(e){e({acsUrl:i.acsUrl,pareq:i.pareq,termUrl:i.termUrl+"&three_d_secure_version="+v+"&authentication_complete_base_url="+encodeURIComponent(o),md:i.md,parentUrl:t})}),n.on(y.AUTHENTICATION_COMPLETE,e.handleAuthResponse),n},_.prototype._setupV1Iframe=function(e){return p({src:this._assetsUrl+"/html/three-d-secure-bank-frame"+f(this._isDebug)+".html?showLoader="+e.showLoader,height:400,width:400,name:h.LANDING_FRAME_NAME+"_"+this._v1Bus.channel,title:"3D Secure Authorization Frame"})},_.prototype._setupV1Elements=function(e){this._v1Bus=this._setupV1Bus(e),this._v1Iframe=this._setupV1Iframe(e)},_.prototype._teardownV1Elements=function(){this._v1Bus&&(this._v1Bus.teardown(),this._v1Bus=null),this._v1Iframe&&this._v1Iframe.parentNode&&(this._v1Iframe.parentNode.removeChild(this._v1Iframe),this._v1Iframe=null),this._onV1Keyup&&(document.removeEventListener("keyup",this._onV1Keyup),this._onV1Keyup=null)},_.prototype.teardown=function(){return n.sendEvent(this._createPromise,"three-d-secure.teardown-completed"),this._teardownV1Elements(),a.resolve()},t.exports=_},{"../../../lib/analytics":93,"../../../lib/assign":95,"../../../lib/braintree-error":98,"../../../lib/constants":99,"../../../lib/is-verified-domain":126,"../../../lib/promise":130,"../../../lib/use-min":133,"../../shared/constants":148,"../../shared/errors":149,"../../shared/events":150,"@braintree/event-emitter":40,"@braintree/extended-promise":41,"@braintree/iframer":42,"@braintree/uuid":46,framebus:172}],140:[function(e,t,i){"use strict";var r=e("./songbird");function n(e){r.call(this,e)}n.prototype=Object.create(r.prototype,{constructor:r}),n.prototype._createV1IframeModalElement=function(e){var t=document.createElement("div");return t.innerHTML='<div class="modal fade in" tabindex="-1" role="dialog" aria-labelledby="CCAFrameModal-label" aria-hidden="true" style="display: block;"><div class="modal-dialog" style="width:440px;z-index:999999;"><div class="modal-content"><div class="modal-body" data-braintree-v1-fallback-iframe-container><button type="button" data-braintree-v1-fallback-close-button class="close" data-dismiss="modal" aria-hidden="true">\xd7</button></div></div></div><div data-braintree-v1-fallback-backdrop style="position: fixed;cursor: pointer;z-index: 999998;top: 0;left: 0;width: 100%;height: 100%;"></div></div>',t.querySelector("[data-braintree-v1-fallback-iframe-container]").appendChild(e),t},n.prototype._createCardinalConfigurationOptions=function(e){var t=r.prototype._createCardinalConfigurationOptions.call(this,e);return t.payment.framework="bootstrap3",t},t.exports=n},{"./songbird":145}],141:[function(e,t,i){"use strict";var r=e("./songbird");function n(e){r.call(this,e)}n.prototype=Object.create(r.prototype,{constructor:r}),n.prototype._createV1IframeModalElement=function(e){var t=document.createElement("div"),i=!!(this._createOptions&&this._createOptions.cardinalSDKConfig&&this._createOptions.cardinalSDKConfig.payment&&this._createOptions.cardinalSDKConfig.payment.displayExitButton);return t.innerHTML='<div style="position: fixed;z-index: 999999;top: 50%;left: 50%;padding: 24px 20px;transform: translate(-50%,-50%);border-radius: 2px;background: #fff;max-width: 100%;overflow: auto;"><div><button data-braintree-v1-fallback-close-button style="font-family: Helvetica,Arial,sans-serif;font-size: 25px;line-height: 12px;position: absolute;top: 2px;right: 0px;cursor: pointer;color: #999;border: 0;outline: none;background: none;" onMouseOver="this.style.color=\'#000\'" onMouseOut="this.style.color=\'#999\'">\xd7</button></div><div data-braintree-v1-fallback-iframe-container style="height: 400px;"></div></div><div data-braintree-v1-fallback-backdrop style="position: fixed;z-index: 999998;cursor: pointer;top: 0;left: 0;width: 100%;height: 100%;transition: opacity 1ms ease;background: rgba(0,0,0,.6);"></div>',i||(t.querySelector("[data-braintree-v1-fallback-close-button]").style.display="none"),t.querySelector("[data-braintree-v1-fallback-iframe-container]").appendChild(e),t}
1,t.exports=n},{"./songbird":145}],142:[function(e,t,i){"use strict";var r=e("./legacy"),n=e("./cardinal-modal"),o=e("./bootstrap3-modal"),a=e("./inline-iframe");t.exports={legacy:r,"cardinal-modal":n,"bootstrap3-modal":o,"inline-iframe":a}},{"./bootstrap3-modal":140,"./cardinal-modal":141,"./inline-iframe":143,"./legacy":144}],143:[function(e,t,i){"use strict";var r=e("./songbird"),n=e("../../../lib/braintree-error"),o=e("../../shared/errors"),a=e("../../../lib/enumerate");function s(e){r.call(this,e)}s.prototype=Object.create(r.prototype,{constructor:r}),s.events=a(["AUTHENTICATION_IFRAME_AVAILABLE"],"inline-iframe-framework:"),s.prototype.setUpEventListeners=function(e){r.prototype.setUpEventListeners.call(this,e),this.on(s.events.AUTHENTICATION_IFRAME_AVAILABLE,function(t,i){e("authentication-iframe-available",t,i)})},s.prototype._createCardinalConfigurationOptions=function(e){var t=r.prototype._createCardinalConfigurationOptions.call(this,e);return t.payment.framework="inline",t},s.prototype._addV1IframeToPage=function(){this._emit(s.events.AUTHENTICATION_IFRAME_AVAILABLE,{element:this._v1Modal},function(){})},s.prototype._setupFrameworkSpecificListeners=function(){this.setCardinalListener("ui.inline.setup",this._onInlineSetup.bind(this))},s.prototype._onInlineSetup=function(e,t,i,r){var a,l;if(e&&t?"CCA"!==t.paymentType?l=!0:"suppress"===t.data.mode||"static"===t.data.mode||(l=!0):l=!0,l){r(new n(o.THREEDS_INLINE_IFRAME_DETAILS_INCORRECT));return}(a=document.createElement("div")).innerHTML=e,"suppress"===t.data.mode?(a.style.display="none",document.body.appendChild(a),i()):"static"===t.data.mode&&this._emit(s.events.AUTHENTICATION_IFRAME_AVAILABLE,{element:a},function(){i()})},t.exports=s},{"../../../lib/braintree-error":98,"../../../lib/enumerate":107,"../../shared/errors":149,"./songbird":145}],144:[function(e,t,i){"use strict";var r=e("./base"),n=e("../../../lib/deferred");function o(e){r.call(this,e)}o.prototype=Object.create(r.prototype,{constructor:o}),o.prototype.setUpEventListeners=function(){},o.prototype.transformV1CustomerBillingAddress=function(e){return e.billingAddress.line1=e.billingAddress.streetAddress,e.billingAddress.line2=e.billingAddress.extendedAddress,e.billingAddress.city=e.billingAddress.locality,e.billingAddress.state=e.billingAddress.region,e.billingAddress.countryCode=e.billingAddress.countryCodeAlpha2,delete e.billingAddress.streetAddress,delete e.billingAddress.extendedAddress,delete e.billingAddress.locality,delete e.billingAddress.region,delete e.billingAddress.countryCodeAlpha2,e},o.prototype._createIframe=function(e){var t=this;return this._setupV1Elements({lookupResponse:e.lookupResponse,showLoader:e.showLoader,handleAuthResponse:function(i){t._handleAuthResponse(i,e)}}),this._v1Iframe},o.prototype._handleAuthResponse=function(e,t){this._v1Bus.teardown(),t.removeFrame(),n((function(){this._handleV1AuthResponse(e)}).bind(this))()},o.prototype._checkForFrameworkSpecificVerifyCardErrors=function(e){var t;return"function"!=typeof e.addFrame?t="an addFrame function":"function"!=typeof e.removeFrame&&(t="a removeFrame function"),t},o.prototype._formatVerifyCardOptions=function(e){var t=r.prototype._formatVerifyCardOptions.call(this,e);return t.addFrame=n(e.addFrame),t.removeFrame=n(e.removeFrame),t.showLoader=!1!==e.showLoader,t},o.prototype._formatLookupData=function(e){var t=this;return r.prototype._formatLookupData.call(this,e).then(function(i){return e.customer&&e.customer.billingAddress&&(i.customer=t.transformV1CustomerBillingAddress(e.customer)),i})},o.prototype._presentChallenge=function(e,t){t.addFrame(null,this._createIframe({showLoader:t.showLoader,lookupResponse:e.lookup,removeFrame:t.removeFrame}))},t.exports=o},{"../../../lib/deferred":105,"./base":139}],145:[function(e,t,i){"use strict";var r=e("./base"),n=e("../../../lib/assign").assign,o=e("../../../lib/deferred"),a=e("../../../lib/braintree-error"),s=e("../../../lib/convert-to-braintree-error"),l=e("../../../lib/analytics"),d=e("../../../lib/assets"),c=e("../../shared/errors"),p=e("../../../lib/enumerate"),u=e("../../shared/constants"),h=e("../../../lib/promise"),m=e("@braintree/extended-promise"),y=e("../../../lib/constants").INTEGRATION_TIMEOUT_MS,f=e("../../../lib/constants").PLATFORM,E="3.80.0",v=["ui.close","ui.render","ui.renderHidden","ui.loading.close","ui.loading.render"];function _(e){r.call(this,e),this._useV1Fallback=!1,this._clientMetadata={requestedThreeDSecureVersion:"2",sdkVersion:f+"/"+E},this._getDfReferenceIdPromisePlus=new m,this.setupSongbird(e),this._cardinalEvents=[]}function g(e,t,i){t[i+"Line1"]=e.streetAddress,t[i+"Line2"]=e.extendedAddress,t[i+"Line3"]=e.line3,t[i+"City"]=e.locality,t[i+"State"]=e.region,t[i+"PostalCode"]=e.postalCode,t[i+"CountryCode"]=e.countryCodeAlpha2}_.prototype=Object.create(r.prototype,{constructor:_}),_.events=p(["LOOKUP_COMPLETE","CUSTOMER_CANCELED","UI.CLOSE","UI.RENDER","UI.RENDERHIDDEN","UI.LOADING.CLOSE","UI.LOADING.RENDER"],"songbird-framework:"),_.prototype.setUpEventListeners=function(e){this.on(_.events.LOOKUP_COMPLETE,function(t,i){e("lookup-complete",t,i)}),this.on(_.events.CUSTOMER_CANCELED,function(){e("customer-canceled")}),this.on(_.events["UI.CLOSE"],function(){e("authentication-modal-close")}),this.on(_.events["UI.RENDER"],function(){e("authentication-modal-render")}),this.on(_.events["UI.RENDERHIDDEN"],function(){e("authentication-modal-render-hidden")}),this.on(_.events["UI.LOADING.CLOSE"],function(){e("authentication-modal-loader-close")}),this.on(_.events["UI.LOADING.RENDER"],function(){e("authentication-modal-loader-render")})},_.prototype.prepareLookup=function(e){var t=n({},e),i=this;return this.getDfReferenceId().then(function(e){t.dfReferenceId=e}).then(function(){return i._triggerCardinalBinProcess(e.bin)}).catch(function(){}).then(function(){return i._waitForClient()}).then(function(){return t.clientMetadata=i._clientMetadata,t.authorizationFingerprint=i._client.getConfiguration().authorizationFingerprint,t.braintreeLibraryVersion="braintree/web/"+E,t})},_.prototype.initializeChallengeWithLookupResponse=function(e,t){return this.setupSongbird().then((function(){return r.prototype.initializeChallengeWithLookupResponse.call(this,e,t)}).bind(this))},_.prototype.initiateV1Fallback=function(e){this._useV1Fallback=!0,this._removeSongbirdListeners(),l.sendEvent(this._createPromise,"three-d-secure.v1-fallback."+e),this._songbirdPromise&&this._songbirdPromise.resolve()},_.prototype._triggerCardinalBinProcess=function(e){var t=this,i=Date.now();return e?window.Cardinal.trigger("bin.process",e).then(function(e){t._clientMetadata.issuerDeviceDataCollectionTimeElapsed=Date.now()-i,t._clientMetadata.issuerDeviceDataCollectionResult=e&&e.Status}):h.resolve()},_.prototype.transformBillingAddress=function(e,t){return t&&(g(t,e,"billing"),e.billingPhoneNumber=t.phoneNumber,e.billingGivenName=t.givenName,e.billingSurname=t.surname),e},_.prototype.transformShippingAddress=function(e){var t=e.shippingAddress;return t&&(g(t,e,"shipping"),delete e.shippingAddress),e},_.prototype._createV1IframeModalElement=function(e){var t=document.createElement("div");return t.innerHTML='<div data-braintree-v1-fallback-iframe-container="true" style="height: 400px;"></div>',t.querySelector('[data-braintree-v1-fallback-iframe-container="true"]').appendChild(e),t},_.prototype._createV1IframeModal=function(e){var t=this._createV1IframeModalElement(e),i=t.querySelector("[data-braintree-v1-fallback-close-button]"),r=t.querySelector("[data-braintree-v1-fallback-backdrop]"),n=this;function o(){t.parentNode.removeChild(t),n.cancelVerifyCard(c.THREEDS_CARDINAL_SDK_CANCELED),document.removeEventListener("keyup",n._onV1Keyup),n._onV1Keyup=null}return this._onV1Keyup=function(e){"Escape"===e.key&&t.parentNode&&o()},i&&i.addEventListener("click",o),r&&r.addEventListener("click",o),document.addEventListener("keyup",this._onV1Keyup),t},_.prototype._addV1IframeToPage=function(){document.body.appendChild(this._v1Modal)},_.prototype._handleAuthResponseFromV1Fallback=function(e){this._teardownV1Elements(),this._v1Modal.parentNode.removeChild(this._v1Modal),this._handleV1AuthResponse(e)},_.prototype._presentChallengeWithV1Fallback=function(e){var t=this;this._setupV1Elements({lookupResponse:e,showLoader:!0,handleAuthResponse:function(e){t._handleAuthResponseFromV1Fallback(e)}}),this._v1Modal=this._createV1IframeModal(this._v1Iframe),this._addV1IframeToPage()},_.prototype.setupSongbird=function(e){var t=this,i=Date.now();return this._songbirdPromise||(e=e||{},this._songbirdPromise=new m,this._v2SetupFailureReason="reason-unknown",t._loadCardinalScript(e).then(function(){return window.Cardinal?t._configureCardinalSdk({setupOptions:e,setupStartTime:i}):(t._v2SetupFailureReason="cardinal-global-unavailable",h.reject(new a(c.THREEDS_CARDINAL_SDK_SETUP_FAILED)))}).catch(function(e){var i=s(e,{type:c.THREEDS_CARDINAL_SDK_SETUP_FAILED.type,code:c.THREEDS_CARDINAL_SDK_SETUP_FAILED.code,message:c.THREEDS_CARDINAL_SDK_SETUP_FAILED.message});t._getDfReferenceIdPromisePlus.reject(i),window.clearTimeout(t._songbirdSetupTimeoutReference),l.sendEvent(t._client,"three-d-secure.cardinal-sdk.init.setup-failed"),t.initiateV1Fallback("cardinal-sdk-setup-failed."+t._v2SetupFailureReason)})),this._songbirdPromise},_.prototype._configureCardinalSdk=function(e){var t=this;return this._waitForClient().then(function(){var e=t._client.getConfiguration().gatewayConfiguration.threeDSecure;return e.hasOwnProperty("versionTwo")&&"cardinal"!==e.versionTwo?h.reject(Error("cardinal-api-not-available-or-configured")):e}).then(function(i){var r=i.cardinalAuthenticationJWT,n=e.setupOptions,o=e.setupStartTime,a=t._createCardinalConfigurationOptions(n);v.forEach(function(e){t.setCardinalListener(e,function(){t._emit
1(_.events[e.toUpperCase()])})}),t.setCardinalListener("payments.setupComplete",t._createPaymentsSetupCompleteCallback()),t._setupFrameworkSpecificListeners(),window.Cardinal.configure(a),window.Cardinal.setup("init",{jwt:r}),t._clientMetadata.cardinalDeviceDataCollectionTimeElapsed=Date.now()-o,t.setCardinalListener("payments.validated",t._createPaymentsValidatedCallback())}).catch(function(e){return"cardinal-api-not-available-or-configured"===e.message?t._v2SetupFailureReason="cardinal-api-not-available-or-configured":t._v2SetupFailureReason="cardinal-configuration-threw-error",h.reject(e)})},_.prototype.setCardinalListener=function(e,t){this._cardinalEvents.push(e),window.Cardinal.on(e,t)},_.prototype._setupFrameworkSpecificListeners=function(){},_.prototype._createCardinalConfigurationOptions=function(e){var t=e.cardinalSDKConfig||{},i=t.payment||{};return!t.logging&&e.loggingEnabled&&(t.logging={level:"verbose"}),t.payment={},i.hasOwnProperty("displayLoading")&&(t.payment.displayLoading=i.displayLoading),i.hasOwnProperty("displayExitButton")&&(t.payment.displayExitButton=i.displayExitButton),t},_.prototype._loadCardinalScript=function(e){var t=this,i=u.CARDINAL_SCRIPT_SOURCE.sandbox;return this._waitForClient().then(function(){var r="production"===t._client.getConfiguration().gatewayConfiguration.environment;return t._songbirdSetupTimeoutReference=window.setTimeout(function(){l.sendEvent(t._client,"three-d-secure.cardinal-sdk.init.setup-timeout"),t.initiateV1Fallback("cardinal-sdk-setup-timeout")},e.timeout||y),r&&(i=u.CARDINAL_SCRIPT_SOURCE.production),d.loadScript({src:i})}).catch(function(e){return t._v2SetupFailureReason="songbird-js-failed-to-load",h.reject(s(e,c.THREEDS_CARDINAL_SDK_SCRIPT_LOAD_FAILED))})},_.prototype._createPaymentsSetupCompleteCallback=function(){var e=this;return function(t){e._getDfReferenceIdPromisePlus.resolve(t.sessionId),window.clearTimeout(e._songbirdSetupTimeoutReference),l.sendEvent(e._createPromise,"three-d-secure.cardinal-sdk.init.setup-completed"),e._songbirdPromise.resolve()}},_.prototype.getDfReferenceId=function(){return this._getDfReferenceIdPromisePlus},_.prototype._performJWTValidation=function(e,t){var i=this,r=this._lookupPaymentMethod.nonce,n="payment_methods/"+r+"/three_d_secure/authenticate_from_jwt",o=e&&e.Payment&&e.Payment.ExtendedData&&e.Payment.ExtendedData.ChallengeCancel;return o&&(l.sendEvent(this._createPromise,"three-d-secure.verification-flow.cardinal-sdk.cancel-code."+o),"01"===o&&this._emit(_.events.CUSTOMER_CANCELED)),l.sendEvent(this._createPromise,"three-d-secure.verification-flow.upgrade-payment-method.started"),this._waitForClient().then(function(){return i._client.request({method:"post",endpoint:n,data:{jwt:t,paymentMethodNonce:r}})}).then(function(t){var r=t.paymentMethod||i._lookupPaymentMethod,n=i._formatAuthResponse(r,t.threeDSecureInfo);return n.rawCardinalSDKVerificationData=e,l.sendEvent(i._client,"three-d-secure.verification-flow.upgrade-payment-method.succeeded"),h.resolve(n)}).catch(function(e){var t=new a({type:c.THREEDS_JWT_AUTHENTICATION_FAILED.type,code:c.THREEDS_JWT_AUTHENTICATION_FAILED.code,message:c.THREEDS_JWT_AUTHENTICATION_FAILED.message,details:{originalError:e}});return l.sendEvent(i._client,"three-d-secure.verification-flow.upgrade-payment-method.errored"),h.reject(t)})},_.prototype._createPaymentsValidatedCallback=function(){var e=this;return function(t,i){var r;if(e._useV1Fallback){l.sendEvent(e._createPromise,"three-d-secure.verification-flow.cardinal-sdk.payments-validated-callback-called-in-v1-fallback-flow");return}if(l.sendEvent(e._createPromise,"three-d-secure.verification-flow.cardinal-sdk.action-code."+t.ActionCode.toLowerCase()),!e._verifyCardPromisePlus){e.initiateV1Fallback("cardinal-sdk-setup-error.number-"+t.ErrorNumber);return}switch(t.ActionCode){case"SUCCESS":case"NOACTION":case"FAILURE":e._performJWTValidation(t,i).then(function(t){e._verifyCardPromisePlus.resolve(t)}).catch(function(t){e._verifyCardPromisePlus.reject(t)});break;case"ERROR":switch(l.sendEvent(e._createPromise,"three-d-secure.verification-flow.cardinal-sdk-error."+t.ErrorNumber),t.ErrorNumber){case 10001:case 10002:r=new a(c.THREEDS_CARDINAL_SDK_SETUP_TIMEDOUT);break;case 10003:case 10007:case 10009:r=new a(c.THREEDS_CARDINAL_SDK_RESPONSE_TIMEDOUT);break;case 10005:case 10006:r=new a(c.THREEDS_CARDINAL_SDK_BAD_CONFIG);break;
1case 10008:case 10010:r=new a(c.THREEDS_CARDINAL_SDK_BAD_JWT);break;case 10011:l.sendEvent(e._createPromise,"three-d-secure.verification-flow.canceled"),r=new a(c.THREEDS_CARDINAL_SDK_CANCELED);break;default:r=new a(c.THREEDS_CARDINAL_SDK_ERROR)}r.details={originalError:{code:t.ErrorNumber,description:t.ErrorDescription}},e._verifyCardPromisePlus.reject(r)}}},_.prototype._checkForVerifyCardError=function(e,t){return r.prototype._checkForVerifyCardError.call(this,e,t)},_.prototype._checkForFrameworkSpecificVerifyCardErrors=function(e,t){var i;return"function"==typeof e.onLookupComplete||t.ignoreOnLookupCompleteRequirement||(i="an onLookupComplete function"),i},_.prototype._formatVerifyCardOptions=function(e){var t=r.prototype._formatVerifyCardOptions.call(this,e),i=t.additionalInformation||{};return i=this.transformBillingAddress(i,e.billingAddress),i=this.transformShippingAddress(i),e.onLookupComplete&&(t.onLookupComplete=o(e.onLookupComplete)),e.email&&(i.email=e.email),e.mobilePhoneNumber&&(i.mobilePhoneNumber=e.mobilePhoneNumber),t.additionalInformation=i,t},_.prototype._onLookupComplete=function(e,t){var i=this;return r.prototype._onLookupComplete.call(this,e).then(function(e){return new h(function(r,n){function o(){r(e)}e.requiresUserAuthentication=!!(e.lookup&&e.lookup.acsUrl),i._verifyCardPromisePlus.catch(n),t.onLookupComplete?t.onLookupComplete(e,o):i._emit(_.events.LOOKUP_COMPLETE,e,o)})})},_.prototype._presentChallenge=function(e){if(this._useV1Fallback||!e.lookup.transactionId){this._presentChallengeWithV1Fallback(e.lookup);return}window.Cardinal.continue("cca",{AcsUrl:e.lookup.acsUrl,Payload:e.lookup.pareq},{OrderDetails:{TransactionId:e.lookup.transactionId}})},_.prototype._formatLookupData=function(e){var t=this;return r.prototype._formatLookupData.call(this,e).then(function(i){return i.additionalInfo=e.additionalInformation,e.accountType&&(i.accountType=e.accountType),e.challengeRequested&&(i.challengeRequested=e.challengeRequested),e.dataOnlyRequested&&(i.dataOnlyRequested=e.dataOnlyRequested),e.exemptionRequested&&(i.exemptionRequested=e.exemptionRequested),e.bin&&(i.bin=e.bin),null!=e.cardAdd&&(i.cardAdd=e.cardAdd),null!=e.cardAddChallengeRequested&&(i.cardAdd=e.cardAddChallengeRequested),t.prepareLookup(i)})},_.prototype.cancelVerifyCard=function(e){var t=this;return r.prototype.cancelVerifyCard.call(this).then(function(i){return t._verifyCardPromisePlus&&(e=e||new a(c.THREEDS_VERIFY_CARD_CANCELED_BY_MERCHANT),t._verifyCardPromisePlus.reject(e)),i})},_.prototype._removeSongbirdListeners=function(){this._cardinalEvents.forEach(function(e){window.Cardinal.off(e)}),this._cardinalEvents=[]},_.prototype.teardown=function(){return window.Cardinal&&this._removeSongbirdListeners(),r.prototype.teardown.call(this)},t.exports=_},{"../../../lib/analytics":93,"../../../lib/assets":94,"../../../lib/assign":95,"../../../lib/braintree-error":98,"../../../lib/constants":99,"../../../lib/convert-to-braintree-error":101,"../../../lib/deferred":105,"../../../lib/enumerate":107,"../../../lib/promise":130,"../../shared/constants":148,"../../shared/errors":149,"./base":139,"@braintree/extended-promise":41}],146:[function(e,t,i){"use strict";var r=e("@braintree/wrap-promise"),n=e("../../lib/methods"),o=e("../../lib/convert-methods-to-error"),a=e("@braintree/event-emitter"),s=e("./frameworks");function l(e){var t=this,i=s[e.framework];a.call(this),this._framework=new i(e),this._framework.setUpEventListeners(function(){t._emit.apply(t,arguments)})}a.createChild(l),l.prototype.verifyCard=function(e){var t;return this.hasListener("lookup-complete")&&(t={ignoreOnLookupCompleteRequirement:!0}),this._framework.verifyCard(e,t)},l.prototype.initializeChallengeWithLookupResponse=function(e){return"string"==typeof e&&(e=JSON.parse(e)),this._framework.initializeChallengeWithLookupResponse(e)},l.prototype.prepareLookup=function(e){return this._framework.prepareLookup(e).then(function(e){return JSON.stringify(e)})},l.prototype.cancelVerifyCard=function(){return this._framework.cancelVerifyCard()},l.prototype.teardown=function(){return o(this,n(l.prototype).concat(n(a.prototype))),this._framework.teardown()},t.exports=r.wrapPrototype(l)},{"../../lib/convert-methods-to-error":100,"../../lib/methods":128,"./frameworks":142,"@braintree/event-emitter":40,"@braintree/wrap-promise":50}],147:[function(e,t,i){"use strict";var r=e("./external/three-d-secure"),n=e("../lib/is-https").isHTTPS,o=e("../lib/basic-component-verification"),a=e("../lib/create-deferred-client"),s=e("../lib/create-assets-url"),l=e("../lib/braintree-error"),d=e("../lib/analytics"),c=e("./shared/errors"),p=e("../lib/promise"),u=e("@braintree/wrap-promise");t.exports={create:u(function(e){var t="3D Secure";return o.verify({name:t,client:e.client,authorization:e.authorization}).then(function(){var i=s.create(e.authorization),o=function(e){var t=String(e.version||"");if(!t||"1"===t)return"legacy";switch(t){case"2":case"2-cardinal-modal":return"cardinal-modal";case"2-bootstrap3-modal":return"bootstrap3-modal";case"2-inline-iframe":return"inline-iframe";default:throw new l({code:c.THREEDS_UNRECOGNIZED_VERSION.code,type:c.THREEDS_UNRECOGNIZED_VERSION.type,message:"Version `"+e.version+"` is not a recognized ver
1sion. You may need to update the version of your Braintree SDK to support this version."})}}(e),u=a.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:i,name:t}).then(function(t){var i,r=t.getConfiguration(),a=r.gatewayConfiguration;return(e.client=t,a.threeDSecureEnabled||(i=c.THREEDS_NOT_ENABLED),"TOKENIZATION_KEY"===r.authorizationType&&(i=c.THREEDS_CAN_NOT_USE_TOKENIZATION_KEY),"production"!==a.environment||n()||(i=c.THREEDS_HTTPS_REQUIRED),"legacy"===o||a.threeDSecure&&a.threeDSecure.cardinalAuthenticationJWT||(d.sendEvent(e.client,"three-d-secure.initialization.failed.missing-cardinalAuthenticationJWT"),i=c.THREEDS_NOT_ENABLED_FOR_V2),i)?p.reject(new l(i)):(d.sendEvent(e.client,"three-d-secure.initialized"),t)}),h=new r({client:e.client,assetsUrl:i,createPromise:u,loggingEnabled:e.loggingEnabled,cardinalSDKConfig:e.cardinalSDKConfig,framework:o});return e.client?u.then(function(){return h}):h})}),VERSION:"3.80.0"}},{"../lib/analytics":93,"../lib/basic-component-verification":96,"../lib/braintree-error":98,"../lib/create-assets-url":102,"../lib/create-deferred-client":104,"../lib/is-https":125,"../lib/promise":130,"./external/three-d-secure":146,"./shared/errors":149,"@braintree/wrap-promise":50}],148:[function(e,t,i){"use strict";t.exports={LANDING_FRAME_NAME:"braintreethreedsecurelanding",CARDINAL_SCRIPT_SOURCE:{production:"https://songbird.cardinalcommerce.com/edge/v1/songbird.js",sandbox:"https://songbirdstag.cardinalcommerce.com/edge/v1/songbird.js"}}},{}],149:[function(e,t,i){"use strict";var r=e("../../lib/braintree-error");t.exports={THREEDS_NOT_ENABLED:{type:r.types.MERCHANT,code:"THREEDS_NOT_ENABLED",message:"3D Secure is not enabled for this merchant."},THREEDS_CAN_NOT_USE_TOKENIZATION_KEY:{type:r.types.MERCHANT,code:"THREEDS_CAN_NOT_USE_TOKENIZATION_KEY",message:"3D Secure can not use a tokenization key for authorization."},THREEDS_HTTPS_REQUIRED:{type:r.types.MERCHANT,code:"THREEDS_HTTPS_REQUIRED",message:"3D Secure requires HTTPS."},THREEDS_NOT_ENABLED_FOR_V2:{type:r.types.MERCHANT,code:"THREEDS_NOT_ENABLED_FOR_V2",message:"3D Secure version 2 is not enabled for this merchant. Contact Braintree Support for assistance at https://help.braintreepayments.com/"},THREEDS_UNRECOGNIZED_VERSION:{type:r.types.MERCHANT,code:"THREEDS_UNRECOGNIZED_VERSION"},THREEDS_CARDINAL_SDK_SETUP_FAILED:{type:r.types.UNKNOWN,code:"THREEDS_CARDINAL_SDK_SETUP_FAILED",message:"Something went wrong setting up Cardinal's Songbird.js library."},THREEDS_CARDINAL_SDK_SCRIPT_LOAD_FAILED:{type:r.types.NETWORK,code:"THREEDS_CARDINAL_SDK_SCRIPT_LOAD_FAILED",message:"Cardinal's Songbird.js library could not be loaded."},THREEDS_CARDINAL_SDK_SETUP_TIMEDOUT:{type:r.types.UNKNOWN,code:"THREEDS_CARDINAL_SDK_SETUP_TIMEDOUT",message:"Cardinal's Songbird.js took too long to setup."},THREEDS_CARDINAL_SDK_RESPONSE_TIMEDOUT:{type:r.types.UNKNOWN,code:"THREEDS_CARDINAL_SDK_RESPONSE_TIMEDOUT",message:"Cardinal's API took too long to respond."},THREEDS_CARDINAL_SDK_BAD_CONFIG:{type:r.types.MERCHANT,code:"THREEDS_CARDINAL_SDK_BAD_CONFIG",message:"JWT or other required field missing. Please check your setup configuration."},THREEDS_CARDINAL_SDK_BAD_JWT:{type:r.types.MERCHANT,code:"THREEDS_CARDINAL_SDK_BAD_JWT",message:"Cardinal JWT missing or malformed. Please check your setup configuration."},THREEDS_CARDINAL_SDK_ERROR:{type:r.types.UNKNOWN,code:"THREEDS_CARDINAL_SDK_ERROR",message:"A general error has occurred with Cardinal. See description for more information."},THREEDS_CARDINAL_SDK_CANCELED:{type:r.types.CUSTOMER,code:"THREEDS_CARDINAL_SDK_CANCELED",message:"Canceled by user."},THREEDS_VERIFY_CARD_CANCELED_BY_MERCHANT:{type:r.types.MERCHANT,code:"THREEDS_VERIFY_CARD_CANCELED_BY_MERCHANT",message:"3D Secure verfication canceled by merchant."},THREEDS_AUTHENTICATION_IN_PROGRESS:{type:r.types.MERCHANT,code:"THREEDS_AUTHENTICATION_IN_PROGRESS",message:"Cannot call verifyCard while existing authentication is in progress."},THREEDS_MISSING_VERIFY_CARD_OPTION:{type:r.types.MERCHANT,code:"THREEDS_MISSING_VERIFY_CARD_OPTION"},THREEDS_JWT_AUTHENTICATION_FAILED:{type:r.types.UNKNOWN,code:"THREEDS_JWT_AUTHENTICATION_FAILED",message:"Something went wrong authenticating the JWT from Cardinal"},THREEDS_LOOKUP_TOKENIZED_CARD_NOT_FOUND_ERROR:{type:r.types.MERCHANT,code:"THREEDS_LOOKUP_TOKENIZED_CARD_NOT_FOUND_ERROR",message:"Either the payment method nonce passed to `verifyCard` does not exist, or it was already consumed"},THREEDS_LOOKUP_VALIDATION_ERROR:{type:r.types.CUSTOMER,code:"THREEDS_LOOKUP_VALIDATION_ERROR",message:"The data passed in `verifyCard` did not pass validation checks. See details for more info"},THREEDS_LOOKUP_ERROR:{type:r.types.UNKNOWN,code:"THREEDS_LOOKUP_ERROR",message:"Something went wrong during the 3D Secure lookup"},THREEDS_INLINE_IFRAME_DETAILS_INCORRECT:{type:r.types.UNKNOWN,code:"THREEDS_INLINE_IFRAME_DETAILS_INCORRECT",message:"Something went wrong when attempting to add the authentication iframe to the page."},THREEDS_NO_VERIFICATION_PAYLOAD:{type:r.types.MERCHANT,code:"THREEDS_NO_VERIFICATION_PAYLOAD",message:"No verification payload available."},THREEDS_TERM_URL_REQUIRES_BRAINTREE_DOMAIN:{type:r.types.INTERNAL,code:"THREEDS_TERM_URL_REQUIRES_BRAINTREE_DOMAIN",message:"Term Url must be on a Braintree domain."}
1,THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENTED:{type:r.types.INTERNAL,code:"THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENTED",message:"Method not implemented for this framework."}}},{"../../lib/braintree-error":98}],150:[function(e,t,i){"use strict";var r=e("../../lib/enumerate");t.exports=r(["AUTHENTICATION_COMPLETE"],"threedsecure:")},{"../../lib/enumerate":107}],151:[function(e,t,i){"use strict";var r=e("../lib/braintree-error");t.exports={VAULT_MANAGER_DELETE_PAYMENT_METHOD_NONCE_REQUIRES_CLIENT_TOKEN:{type:r.types.MERCHANT,code:"VAULT_MANAGER_DELETE_PAYMENT_METHOD_NONCE_REQUIRES_CLIENT_TOKEN",message:"A client token with a customer id must be used to delete a payment method nonce."},VAULT_MANAGER_PAYMENT_METHOD_NONCE_NOT_FOUND:{type:r.types.MERCHANT,code:"VAULT_MANAGER_PAYMENT_METHOD_NONCE_NOT_FOUND"},VAULT_MANAGER_DELETE_PAYMENT_METHOD_UNKNOWN_ERROR:{type:r.types.UNKNOWN,code:"VAULT_MANAGER_DELETE_PAYMENT_METHOD_UNKNOWN_ERROR"}}},{"../lib/braintree-error":98}],152:[function(e,t,i){"use strict";var r=e("../lib/basic-component-verification"),n=e("../lib/create-deferred-client"),o=e("../lib/create-assets-url"),a=e("./vault-manager"),s=e("@braintree/wrap-promise");t.exports={create:s(function(e){var t="Vault Manager";return r.verify({name:t,client:e.client,authorization:e.authorization}).then(function(){return new a({createPromise:n.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:o.create(e.authorization),name:t})})})}),VERSION:"3.80.0"}},{"../lib/basic-component-verification":96,"../lib/create-assets-url":102,"../lib/create-deferred-client":104,"./vault-manager":153,"@braintree/wrap-promise":50}],153:[function(e,t,i){"use strict";var r=e("../lib/analytics"),n=e("../lib/braintree-error"),o=e("./errors"),a=e("../lib/convert-methods-to-error"),s=e("../lib/methods"),l=e("../lib/promise"),d=e("@braintree/wrap-promise");function c(e){this._createPromise=e.createPromise}function p(e){var t={nonce:e.nonce,default:e.default,details:e.details,hasSubscription:e.hasSubscription,type:e.type};return e.description&&(t.description=e.description),e.binData&&(t.binData=e.binData),t}c.prototype.fetchPaymentMethods=function(e){var t;return t=!0===(e=e||{}).defaultFirst?1:0,this._createPromise.then(function(e){return e.request({endpoint:"payment_methods",method:"get",data:{defaultFirst:t}})}).then((function(e){return r.sendEvent(this._createPromise,"vault-manager.fetch-payment-methods.succeeded"),e.paymentMethods.map(p)}).bind(this))},c.prototype.deletePaymentMethod=function(e){return this._createPromise.then(function(t){return"CLIENT_TOKEN"!==t.getConfiguration().authorizationType?l.reject(new n(o.VAULT_MANAGER_DELETE_PAYMENT_METHOD_NONCE_REQUIRES_CLIENT_TOKEN)):t.request({api:"graphQLApi",data:{query:"mutation DeletePaymentMethodFromSingleUseToken($input: DeletePaymentMethodFromSingleUseTokenInput!) { deletePaymentMethodFromSingleUseToken(input: $input) { clientMutationId }}",variables:{input:{singleUseTokenId:e}},operationName:"DeletePaymentMethodFromSingleUseToken"}}).then(function(){r.sendEvent(t,"vault-manager.delete-payment-method.succeeded")}).catch(function(i){var a,s=i.details.originalError;return r.sendEvent(t,"vault-manager.delete-payment-method.failed"),s[0]&&"NOT_FOUND"===s[0].extensions.errorClass&&(a=new n({type:o.VAULT_MANAGER_PAYMENT_METHOD_NONCE_NOT_FOUND.type,code:o.VAULT_MANAGER_PAYMENT_METHOD_NONCE_NOT_FOUND.code,message:"A payment method for payment method nonce `"+e+"` could not be found.",details:{originalError:s}})),a||(a=new n({type:o.VAULT_MANAGER_DELETE_PAYMENT_METHOD_UNKNOWN_ERROR.type,code:o.VAULT_MANAGER_DELETE_PAYMENT_METHOD_UNKNOWN_ERROR.code,message:"An unknown error occured when attempting to delete the payment method assocaited with the payment method nonce `"+e+"`.",details:{originalError:s}})),l.reject(a)})})},c.prototype.teardown=function(){return a(this,s(c.prototype)),l.resolve()},t.exports=d.wrapPrototype(c)},{"../lib/analytics":93,"../lib/braintree-error":98,"../lib/convert-methods-to-error":100,"../lib/methods":128,"../lib/promise":130,"./errors":151,"@braintree/wrap-promise":50}],154:[function(e,t,i){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esMo
1dule?e:{default:e}})(e("./venmo-desktop"));t.exports=function(e){return new r.default(e).initialize()}},{"./venmo-desktop":156}],155:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.VENMO_PAYMENT_CONTEXT_STATUS_QUERY=i.LEGACY_VENMO_PAYMENT_CONTEXT_STATUS_QUERY=i.UPDATE_PAYMENT_CONTEXT_QUERY=i.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY=i.CREATE_PAYMENT_CONTEXT_QUERY=i.LEGACY_CREATE_PAYMENT_CONTEXT_QUERY=void 0,i.LEGACY_CREATE_PAYMENT_CONTEXT_QUERY="mutation CreateVenmoQRCodePaymentContext($input: CreateVenmoQRCodePaymentContextInput!) {\n createVenmoQRCodePaymentContext(input: $input) {\n clientMutationId\n venmoQRCodePaymentContext {\n id\n merchantId\n createdAt\n expiresAt\n }\n }\n}",i.CREATE_PAYMENT_CONTEXT_QUERY="mutation CreateVenmoPaymentContext($input: CreateVenmoPaymentContextInput!) {\n createVenmoPaymentContext(input: $input) {\n clientMutationId\n venmoPaymentContext {\n id\n merchantId\n createdAt\n expiresAt\n }\n }\n}",i.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY="mutation UpdateVenmoQRCodePaymentContext($input: UpdateVenmoQRCodePaymentContextInput!) {\n updateVenmoQRCodePaymentContext(input: $input) {\n clientMutationId\n }\n}",i.UPDATE_PAYMENT_CONTEXT_QUERY="mutation UpdateVenmoPaymentContextStatus($input: UpdateVenmoPaymentContextStatusInput!) {\n updateVenmoPaymentContextStatus(input: $input) {\n clientMutationId\n }\n}",i.LEGACY_VENMO_PAYMENT_CONTEXT_STATUS_QUERY="query PaymentContext($id: ID!) {\n node(id: $id) {\n ... on VenmoQRCodePaymentContext {\n status\n paymentMethodId\n userName\n }\n }\n}",i.VENMO_PAYMENT_CONTEXT_STATUS_QUERY="query PaymentContext($id: ID!) {\n node(id: $id) {\n ... on VenmoPaymentContext {\n status\n paymentMethodId\n userName\n }\n }\n}"},{}],156:[function(e,t,i){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0});var o=n(e("framebus")),a=n(e("@braintree/iframer")),s=n(e("@braintree/uuid")),l=e("../shared/events"),d=e("./queries"),c=function(){function e(e){this.isHidden=!0,this.env=e.environment,this.id=s.default(),this.profileId=e.profileId,this.displayName=e.displayName,this.paymentMethodUsage=e.paymentMethodUsage,this.shouldUseLegacyQRCodeMutation=!this.paymentMethodUsage;var t=e.url+"#"+this.env+"_"+this.id;this.bus=new o.default({channel:this.id,verifyDomain:e.verifyDomain}),this.apiRequest=e.apiRequest,this.sendEvent=e.sendEvent,this.Promise=e.Promise,this.alertBox=document.createElement("div"),this.alertBox.setAttribute("data-venmo-desktop-id",this.id),this.alertBox.setAttribute("role","alert"),this.alertBox.style.position="fixed",this.alertBox.style.display="none",this.alertBox.style.height="1px",this.alertBox.style.width="1px",this.alertBox.style.overflow="hidden",this.alertBox.style.zIndex="0",this.iframe=a.default({src:t,name:"venmo-desktop-iframe",style:{display:"none",position:"fixed",top:"0",bottom:"0",right:"0",left:"0",height:"100%",width:"100%",zIndex:"9999999"},title:"Venmo Desktop"})}return e.prototype.initialize=function(){var e=this;return new this.Promise(function(t){e.bus.on(l.VENMO_DESKTOP_IFRAME_READY,function(){t(e)}),e.bus.on(l.VENMO_DESKTOP_REQUEST_NEW_QR_CODE,function(){e.sendEvent("venmo.tokenize.desktop.restarted-from-error-view"),e.startPolling()}),document.body.appendChild(e.iframe),document.body.appendChild(e.alertBox)})},e.prototype.launchDesktopFlow=function(){var e=this;this.isHidden=!1;var t=new this.Promise(function(t,i){e.launchDesktopPromiseRejectFunction=i;var r=function(){e.bus.off(l.VENMO_DESKTOP_CUSTOMER_CANCELED,o),e.bus.off(l.VENMO_DESKTOP_AUTHORIZATION_COMPLETED,a),e.bus.off(l.VENMO_DESKTOP_UNKNOWN_ERROR,n)},n=function(t){r(),e.sendEvent("venmo.tokenize.desktop.unknown-error"),i({allowUIToHandleError:!1,reason:"UNKNOWN_ERROR",err:t})},o=function(){r(),e.updateVenmoDesktopPaymentContext("CANCELED"),e.sendEvent("venmo.tokenize.desktop.status-change.canceled-from-modal"),i({allowUIToHandleError:!1,reason:"CUSTOMER_CANCELED"})},a=function(e){r(),t(e)};e.bus.on(l.VENMO_DESKTOP_CUSTOMER_CANCELED,o),e.bus.on(l.VENMO_DESKTOP_AUTHORIZATION_COMPLETED,a),e.bus.on(l.VENMO_DESKTOP_UNKNOWN_ERROR,n)});return this.iframe.style.display="block",this.setAlert("Generating a QR code, get your Venmo app ready"),this.iframe.focus(),this.startPolling(),t.then(function(t){return delete e.venmoContextId,delete e.launchDesktopPromiseRejectFunction,t}).catch(function(t){return delete e.venmoContextId,delete e.launchDesktopPromiseRejectFunction,e.Promise.reject(t)})},e.prototype.triggerCompleted=function(e){var t=this;this.isHidden||setTimeout(function(){t.bus.emit(l.VENMO_DESKTOP_AUTHORIZATION_COMPLETED,e)},2e3)}
1,e.prototype.triggerRejected=function(e){this.launchDesktopPromiseRejectFunction&&this.launchDesktopPromiseRejectFunction(e)},e.prototype.hideDesktopFlow=function(){this.setAlert(""),this.iframe.style.display="none",this.bus.emit(l.VENMO_DESKTOP_CLOSED_FROM_PARENT),this.isHidden=!0},e.prototype.displayError=function(e){this.isHidden||(this.bus.emit(l.VENMO_DESKTOP_DISPLAY_ERROR,{message:e}),this.setAlert(e))},e.prototype.displayQRCode=function(e,t){this.isHidden||(this.bus.emit(l.VENMO_DESKTOP_DISPLAY_QR_CODE,{id:e,merchantId:t}),this.setAlert("To scan the QR code, open your Venmo app"))},e.prototype.authorize=function(){this.isHidden||(this.bus.emit(l.VENMO_DESKTOP_AUTHORIZE),this.setAlert("Venmo account authorized"))},e.prototype.authorizing=function(){this.isHidden||(this.bus.emit(l.VENMO_DESKTOP_AUTHORIZING),this.setAlert("Authorize on your Venmo app"))},e.prototype.startPolling=function(){var e=this;return this.createVenmoDesktopPaymentContext().then(function(t){var i=new Date(t.expiresAt).getTime()-new Date(t.createdAt).getTime(),r=Date.now()+i;return e.displayQRCode(t.id,t.merchantId),e.pollForStatusChange(t.status,r)}).then(function(t){if(t){var i=t.userName||"";i="@"+i.replace("@",""),e.triggerCompleted({paymentMethodNonce:t.paymentMethodId,username:i})}}).catch(function(t){t.allowUIToHandleError||(e.sendEvent("venmo.tokenize.desktop.unhandled-error"),e.triggerRejected(t))})},e.prototype.pollForStatusChange=function(e,t){var i=this;return this.venmoContextId?Date.now()>t?this.updateVenmoDesktopPaymentContext("EXPIRED").then(function(){return i.displayError("Something went wrong"),i.sendEvent("venmo.tokenize.desktop.status-change.sdk-timeout"),i.Promise.reject({allowUIToHandleError:!0,reason:"TIMEOUT"})}):this.lookupVenmoDesktopPaymentContext().then(function(r){if(!i.venmoContextId||!r)return i.Promise.resolve();var n=r.status;if(n!==e)switch(e=n,i.sendEvent("venmo.tokenize.desktop.status-change."+e.toLowerCase()),e){case"CREATED":break;case"EXPIRED":case"FAILED":case"CANCELED":var o="CANCELED"===e?"The authorization was canceled":"Something went wrong";return i.displayError(o),i.Promise.reject({allowUIToHandleError:!0,reason:e});case"SCANNED":i.authorizing();break;case"APPROVED":return i.authorize(),i.Promise.resolve(r)}
1return new i.Promise(function(r,n){setTimeout(function(){i.pollForStatusChange(e,t).then(r).catch(n)},1e3)})}):this.Promise.resolve()},e.prototype.teardown=function(){this.bus.teardown(),this.iframe.parentNode&&this.iframe.parentNode.removeChild(this.iframe),this.alertBox.parentNode&&this.alertBox.parentNode.removeChild(this.alertBox)},e.prototype.setAlert=function(e){this.alertBox.style.display=e?"block":"none",this.alertBox.textContent=e},e.prototype.createPaymentContextFromGraphqlLegacyQRCodeMutation=function(e){return this.apiRequest(d.LEGACY_CREATE_PAYMENT_CONTEXT_QUERY,{input:{environment:this.env,intent:e}}).then(function(e){return e.createVenmoQRCodePaymentContext.venmoQRCodePaymentContext})},e.prototype.createPaymentContextFromGraphQL=function(e){var t={intent:e,paymentMethodUsage:this.paymentMethodUsage,customerClient:"DESKTOP"};return this.profileId&&(t.merchantProfileId=this.profileId),this.displayName&&(t.displayName=this.displayName),this.apiRequest(d.CREATE_PAYMENT_CONTEXT_QUERY,{input:t}).then(function(e){return e.createVenmoPaymentContext.venmoPaymentContext})},e.prototype.createVenmoDesktopPaymentContext=function(){var e=this;return(this.shouldUseLegacyQRCodeMutation?this.createPaymentContextFromGraphqlLegacyQRCodeMutation("PAY_FROM_APP"):this.createPaymentContextFromGraphQL("PAY_FROM_APP")).then(function(t){e.venmoContextId=t.id;var i=e.profileId||t.merchantId;return{id:t.id,status:t.status,merchantId:i,createdAt:t.createdAt,expiresAt:t.expiresAt}})},e.prototype.updateVenmoDesktopPaymentContext=function(e,t){if(void 0===t&&(t={}),!this.venmoContextId)return this.Promise.resolve();var i={input:r({id:this.venmoContextId,status:e},t)},n=this.shouldUseLegacyQRCodeMutation?d.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY:d.UPDATE_PAYMENT_CONTEXT_QUERY;return this.apiRequest(n,i).then(function(){})},e.prototype.lookupVenmoDesktopPaymentContext=function(){if(!this.venmoContextId)return this.Promise.resolve();var e=this.shouldUseLegacyQRCodeMutation?d.LEGACY_VENMO_PAYMENT_CONTEXT_STATUS_QUERY:d.VENMO_PAYMENT_CONTEXT_STATUS_QUERY;return this.apiRequest(e,{id:this.venmoContextId}).then(function(e){return e.node})},e}();i.default=c},{"../shared/events":161,"./queries":155,"@braintree/iframer":42,"@braintree/uuid":46,framebus:172}],157:[function(e,t,i){"use strict";var r=e("../lib/analytics"),n=e("../lib/basic-component-verification"),o=e("../lib/create-deferred-client"),a=e("../lib/create-assets-url"),s=e("./shared/errors"),l=e("@braintree/wrap-promise"),d=e("../lib/braintree-error"),c=e("./venmo"),p=e("../lib/promise"),u=e("./shared/supports-venmo");t.exports={create:l(function(e){var t="Venmo";return n.verify({name:t,client:e.client,authorization:e.authorization}).then(function(){var i,n;return e.profileId&&"string"!=typeof e.profileId?p.reject(new d(s.VENMO_INVALID_PROFILE_ID)):e.deepLinkReturnUrl&&"string"!=typeof e.deepLinkReturnUrl?p.reject(new d(s.VENMO_INVALID_DEEP_LINK_RETURN_URL)):(i=o.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:t}).then(function(t){var i=t.getConfiguration();return(e.client=t,i.gatewayConfiguration.payWithVenmo)?t:p.reject(new d(s.VENMO_NOT_ENABLED))}),e.createPromise=i,n=new c(e),r.sendEvent(i,"venmo.initialized"),i.then(function(){return n}))})}),isBrowserSupported:function(e){return u.isBrowserSupported(e)},VERSION:"3.80.0"}},{"../lib/analytics":93,"../lib/basic-component-verification":96,"../lib/braintree-error":98,"../lib/create-assets-url":102,"../lib/create-deferred-client":104,"../lib/promise":130,"./shared/errors":160,"./shared/supports-venmo":162,"./venmo":163,"@braintree/wrap-promise":50}],158:[function(e,t,i){"use strict";var r=e("@braintree/browser-detection/is-android"),n=e("@braintree/browser-detection/is-chrome"),o=e("@braintree/browser-detection/is-ios"),a=e("@braintree/browser-detection/is-ios-safari"),s=e("@braintree/browser-detection/is-ios-webview");t.exports={isAndroid:r,isAndroidWebview:function(){return r()&&window.navigator.userAgent.toLowerCase().indexOf("wv")>-1},isChrome:n,isIos:o,isIosSafari:a,isIosWebview:s,doesNotSupportWindowOpenInIos:function(){return s()||o()&&n()}}},{"@braintree/browser-detection/is-android":26,"@braintree/browser-detection/is-chrome":28,"@braintree/browser-detection/is-ios":37,"@braintree/browser-detection/is-ios-safari":34,"@braintree/browser-detection/is-ios-webview":35}],159:[function(e,t,i){"use strict";
1t.exports={DOCUMENT_VISIBILITY_CHANGE_EVENT_DELAY:500,DEFAULT_PROCESS_RESULTS_DELAY:1e3,VENMO_OPEN_URL:"https://venmo.com/braintree/checkout"}},{}],160:[function(e,t,i){"use strict";var r=e("../../lib/braintree-error");t.exports={VENMO_NOT_ENABLED:{type:r.types.MERCHANT,code:"VENMO_NOT_ENABLED",message:"Venmo is not enabled for this merchant."},VENMO_TOKENIZATION_REQUEST_ACTIVE:{type:r.types.MERCHANT,code:"VENMO_TOKENIZATION_REQUEST_ACTIVE",message:"Another tokenization request is active."},VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE:{type:r.types.MERCHANT,code:"VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE",message:"No tokenization in progress."},VENMO_APP_FAILED:{type:r.types.UNKNOWN,code:"VENMO_APP_FAILED",message:"Venmo app encountered a problem."},VENMO_APP_CANCELED:{type:r.types.CUSTOMER,code:"VENMO_APP_CANCELED",message:"Venmo app authorization was canceled."},VENMO_CANCELED:{type:r.types.CUSTOMER,code:"VENMO_CANCELED",message:"User canceled Venmo authorization, or Venmo app is not available."},VENMO_DESKTOP_CANCELED:{type:r.types.CUSTOMER,code:"VENMO_DESKTOP_CANCELED",message:"User canceled Venmo authorization by closing the Venmo Desktop modal."},VENMO_TOKENIZATION_CANCELED_BY_MERCHANT:{type:r.types.MERCHANT,code:"VENMO_TOKENIZATION_CANCELED_BY_MERCHANT",message:"The Venmo tokenization was canceled by the merchant."},VENMO_DESKTOP_UNKNOWN_ERROR:{type:r.types.UNKNOWN,code:"VENMO_DESKTOP_UNKNOWN_ERROR",message:"Something went wrong with the Venmo Desktop flow."},VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED:{type:r.types.NETWORK,code:"VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED",message:"Something went wrong creating the Venmo Payment Context."},VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR:{type:r.types.UNKNOWN,code:"VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR",message:"Something went wrong during mobile polling."},VENMO_MOBILE_POLLING_TOKENIZATION_EXPIRED:{type:r.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_EXPIRED",message:"The Venmo authorization request is expired."},VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED:{type:r.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED",message:"The Venmo authorization was canceled"},VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT:{type:r.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT",message:"Customer took too long to authorize Venmo payment."},VENMO_MOBILE_POLLING_TOKENIZATION_FAILED:{type:r.types.UNKNOWN,code:"VENMO_MOBILE_POLLING_TOKENIZATION_FAILED",message:"The Venmo authorization failed."},VENMO_INVALID_PROFILE_ID:{type:r.types.MERCHANT,code:"VENMO_INVALID_PROFILE_ID",message:"Venmo profile ID is invali
1d."},VENMO_INVALID_DEEP_LINK_RETURN_URL:{type:r.types.MERCHANT,code:"VENMO_INVALID_DEEP_LINK_RETURN_URL",message:"Venmo deep link return URL is invalid."}}},{"../../lib/braintree-error":98}],161:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.VENMO_DESKTOP_UNKNOWN_ERROR=i.VENMO_DESKTOP_REQUEST_NEW_QR_CODE=i.VENMO_DESKTOP_CLOSED_FROM_PARENT=i.VENMO_DESKTOP_IFRAME_READY=i.VENMO_DESKTOP_DISPLAY_QR_CODE=i.VENMO_DESKTOP_DISPLAY_ERROR=i.VENMO_DESKTOP_CUSTOMER_CANCELED=i.VENMO_DESKTOP_AUTHORIZATION_COMPLETED=i.VENMO_DESKTOP_AUTHORIZING=i.VENMO_DESKTOP_AUTHORIZE=i.VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT=void 0,i.VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT="VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT",i.VENMO_DESKTOP_AUTHORIZE="VENMO_DESKTOP_AUTHORIZE",i.VENMO_DESKTOP_AUTHORIZING="VENMO_DESKTOP_AUTHORIZING",i.VENMO_DESKTOP_AUTHORIZATION_COMPLETED="VENMO_DESKTOP_AUTHORIZATION_COMPLETED",i.VENMO_DESKTOP_CUSTOMER_CANCELED="VENMO_DESKTOP_CUSTOMER_CANCELED",i.VENMO_DESKTOP_DISPLAY_ERROR="VENMO_DESKTOP_DISPLAY_ERROR",i.VENMO_DESKTOP_DISPLAY_QR_CODE="VENMO_DESKTOP_DISPLAY_QR_CODE",i.VENMO_DESKTOP_IFRAME_READY="VENMO_DESKTOP_IFRAME_READY",i.VENMO_DESKTOP_CLOSED_FROM_PARENT="VENMO_DESKTOP_CLOSED_FROM_PARENT",i.VENMO_DESKTOP_REQUEST_NEW_QR_CODE="VENMO_DESKTOP_REQUEST_NEW_QR_CODE",i.VENMO_DESKTOP_UNKNOWN_ERROR="VENMO_DESKTOP_UNKNOWN_ERROR"},{}],162:[function(e,t,i){"use strict";var r=e("./browser-detection");t.exports={isBrowserSupported:function(e){var t,i,n=r.isAndroid(),o=n||r.isIos(),a=n&&r.isChrome(),s=r.isIosSafari()||a;return i=!0===(e=e||{}).allowDesktop,t=!e.hasOwnProperty("allowNewBrowserTab")||e.allowNewBrowserTab,!(!(!e.hasOwnProperty("allowWebviews")||e.allowWebviews)&&(r.isAndroidWebview()||r.isIosWebview()))&&(t?!!i||o:!!s||i&&!o)}}},{"./browser-detection":158}],163:[function(e,t,i){"use strict";var r=e("../lib/analytics"),n=e("./shared/supports-venmo"),o=e("./shared/browser-detection"),a=e("./shared/constants"),s=e("./shared/errors"),l=e("../lib/querystring"),d=e("../lib/is-verified-domain"),c=e("../lib/methods"),p=e("../lib/convert-methods-to-error"),u=e("@braintree/wrap-promise"),h=e("../lib/braintree-error"),m=e("../lib/in-iframe"),y=e("../lib/promise"),f=e("@braintree/extended-promise"),E=e("./external/"),v=e("./external/queries");function _(e){var t=this;this._createPromise=e.createPromise,this._allowNewBrowserTab=!1!==e.allowNewBrowserTab,this._allowWebviews=!1!==e.allowWebviews,this._allowDesktop=!0===e.allowDesktop,this._requireManualReturn=!0===e.requireManualReturn,this._useRedirectForIOS=!0===e.useRedirectForIOS,this._profileId=e.profileId,this._displayName=e.displayName,this._deepLinkReturnUrl=e.deepLinkReturnUrl,this._ignoreHistoryChanges=e.ignoreHistoryChanges,this._paymentMethodUsage=(e.paymentMethodUsage||"").toUpperCase(),this._shouldUseLegacyFlow=!this._paymentMethodUsage,this._useDesktopFlow=this._allowDesktop&&this._isDesktop(),this._cannotHaveReturnUrls=m()||this._requireManualReturn,this._shouldCreateVenmoPaymentContext=this._cannotHaveReturnUrls||!this._shouldUseLegacyFlow,r.sendEvent(this._createPromise,"venmo.desktop-flow.configured."+String(!!this._allowDesktop)),this.hasTokenizationResult()?r.sendEvent(this._createPromise,"venmo.appswitch.return-in-new-tab"):this._useDesktopFlow?this._createPromise=this._createPromise.then(function(e){var i=e.getConfiguration().gatewayConfiguration;return E({url:i.assetsUrl+"/web/3.80.0/html/venmo-desktop-frame.html",environment:"production"===i.environment?"PRODUCTION":"SANDBOX",profileId:t._profileId||i.payWithVenmo.merchantId,paymentMethodUsage:t._paymentMethodUsage,displayName:t._displayName,Promise:y,apiRequest:function(t,i){return e.request({api:"graphQLApi",data:{query:t,variables:i}}).then(function(e){return e.data})},sendEvent:function(e){r.sendEvent(t._createPromise,e)},verifyDomain:d}).then(function(i){return t._venmoDesktopInstance=i,r.sendEvent(t._createPromise,"venmo.desktop-flow.presented"),e}).catch(function(){return r.sendEvent(t._createPromise,"venmo.desktop-flow.setup-failed"),t._useDesktopFlow=!1,e})}):this._shouldCreateVenmoPaymentContext&&(this._mobilePollingInterval=250,this._mobilePollingExpiresThreshold=3e5,this._createPromise=this._createPromise.then(function(e){var i=t._cannotHaveReturnUrls?"manual-return":"mobile-payment-context",n=e.getConfiguration().gatewayConfiguration;
1return t._mobilePollingContextEnvironment=n.environment.toUpperCase(),t._createVenmoPaymentContext(e).then(function(){return r.sendEvent(t._createPromise,"venmo."+i+".presented"),e}).catch(function(e){return r.sendEvent(t._createPromise,"venmo."+i+".setup-failed"),y.reject(new h({type:s.VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED.type,code:s.VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED.code,message:s.VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED.message,details:{originalError:e}}))})}))}function g(e){return(e||window.location.hash.substring(1)).split("&").reduce(function(e,t){var i=t.split("="),r=decodeURIComponent(i[0]).replace(/\W/g,""),n=decodeURIComponent(i[1]);return e[r]=n,e},{})}function b(){var e;return void 0!==window.document.hidden?e="visibilitychange":void 0!==window.document.msHidden?e="msvisibilitychange":void 0!==window.document.webkitHidden&&(e="webkitvisibilitychange"),e}_.prototype._createVenmoPaymentContext=function(e,t){var i=this;return this._shouldCreateVenmoPaymentContext?(this._shouldUseLegacyFlow?e.request({api:"graphQLApi",data:{query:v.LEGACY_CREATE_PAYMENT_CONTEXT_QUERY,variables:{input:{environment:this._mobilePollingContextEnvironment,intent:"PAY_FROM_APP"}}}}).then(function(e){return e.data.createVenmoQRCodePaymentContext.venmoQRCodePaymentContext}):e.request({api:"graphQLApi",data:{query:v.CREATE_PAYMENT_CONTEXT_QUERY,variables:{input:{paymentMethodUsage:this._paymentMethodUsage,intent:"CONTINUE",customerClient:"MOBILE_WEB",displayName:this._displayName}}}}).then(function(e){return e.data.createVenmoPaymentContext.venmoPaymentContext})).then(function(r){var n=new Date(r.expiresAt)-new Date(r.createdAt);clearTimeout(i._refreshPaymentContextTimeout),i._refreshPaymentContextTimeout=setTimeout(function(){i._tokenizationInProgress||i._createVenmoPaymentContext(e,!0)},.6666*n),t&&i._tokenizationInProgress||(i._venmoPaymentContextStatus=r.status,i._venmoPaymentContextId=r.id)}):y.resolve()},_.prototype.appSwitch=function(e){this._deepLinkReturnUrl?window.navigator.platform&&/iPhone|iPad|iPod/.test(window.navigator.platform)?(r.sendEvent(this._createPromise,"venmo.appswitch.start.ios-webview"),window.location.href=e):window.popupBridge&&"function"==typeof window.popupBridge.open?(r.sendEvent(this._createPromise,"venmo.appswitch.start.popup-bridge"),window.popupBridge.open(e)):(r.sendEvent(this._createPromise,"venmo.appswitch.start.webview"),window.open(e)):(r.sendEvent(this._createPromise,"venmo.appswitch.start.browser"),o.doesNotSupportWindowOpenInIos()||this._shouldUseRedirectStrategy()?window.location.href=e:window.open(e))},_.prototype.getUrl=function(){return this._createPromise.then((function(e){var t=e.getConfiguration(),i={},r=this._deepLinkReturnUrl||window.location.href.replace(window.location.hash,""),n=t.gatewayConfiguration.payWithVenmo,o=t.analyticsMetadata,s=n.accessToken,d={_meta:{version:o.sdkVersion,integration:o.integration,platform:o.platform,sessionId:o.sessionId}};return r=r.replace(/#*$/,""),this._venmoPaymentContextId&&(this._shouldUseLegacyFlow?s+="|pcid:"+this._venmoPaymentContextId:i.resource_id=this._venmoPaymentContextId),this._shouldIncludeReturnUrls()?(i["x-success"]=r+"#venmoSuccess=1",i["x-cancel"]=r+"#venmoCancel=1",i["x-error"]=r+"#venmoError=1"):(i["x-success"]="NOOP",i["x-cancel"]="NOOP",i["x-error"]="NOOP"),i.ua=window.navigator.userAgent,i.braintree_merchant_id=this._profileId||n.merchantId,i.braintree_access_token=s,i.braintree_environment=n.environment,i.braintree_sdk_data=btoa(JSON.stringify(d)),a.VENMO_OPEN_URL+"?"+l.stringify(i)}).bind(this))},_.prototype.isBrowserSupported=function(){return n.isBrowserSupported({allowNewBrowserTab:this._allowNewBrowserTab,allowWebviews:this._allowWebviews,allowDesktop:this._allowDesktop})},_.prototype.hasTokenizationResult=function(){return this._hasTokenizationResult()},_.prototype._hasTokenizationResult=function(e){var t=g(e);return void 0!==(t.venmoSuccess||t.venmoError||t.venmoCancel)},_.prototype._shouldIncludeReturnUrls=function(){return!!this._deepLinkReturnUrl||!this._cannotHaveReturnUrls},_.prototype._isDesktop=function(){return!(o.isIos()||o.isAndroid())},_.prototype.tokenize=function(e){var t=this;return(e=e||{},!0===this._tokenizationInProgress)?y.reject(new h(s.VENMO_TOKENIZATION_REQUEST_ACTIVE)):(this._tokenizationInProgress=!0,(this._useDesktopFlow?this._tokenizeForDesktop(e):this._cannotHaveReturnUrls?this._tokenizeForMobileWithManualReturn():this._tokenizeForMobileWithHashChangeListeners(e)).then(function(e){return t._createPromise.then(function(e){return t._createVenmoPaymentContext(e)}
1).then(function(){return t._tokenizationInProgress=!1,{nonce:e.paymentMethodNonce,type:"VenmoAccount",details:{username:e.username}}})}).catch(function(e){return t._createPromise.then(function(e){return t._createVenmoPaymentContext(e)}).then(function(){return t._tokenizationInProgress=!1,y.reject(e)})}))},_.prototype.cancelTokenization=function(){return this._tokenizationInProgress?(this._removeVisibilityEventListener(),this._tokenizePromise&&this._tokenizePromise.reject(new h(s.VENMO_TOKENIZATION_CANCELED_BY_MERCHANT)),y.all([this._cancelMobilePaymentContext(),this._cancelVenmoDesktopContext()])):y.reject(new h(s.VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE))},_.prototype._queryPaymentContextStatus=function(e){var t=this;return this._createPromise.then(function(i){var r=t._shouldUseLegacyFlow?v.LEGACY_VENMO_PAYMENT_CONTEXT_STATUS_QUERY:v.VENMO_PAYMENT_CONTEXT_STATUS_QUERY;return i.request({api:"graphQLApi",data:{query:r,variables:{id:e}}})}).then(function(e){return e.data.node})},_.prototype._pollForStatusChange=function(){var e=this;return Date.now()>e._mobilePollingContextExpiresIn?y.reject(new h(s.VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT)):this._queryPaymentContextStatus(this._venmoPaymentContextId).catch(function(e){return y.reject(new h({type:s.VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR.type,code:s.VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR.code,message:s.VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR.message,details:{originalError:e}}))}).then(function(t){var i=t.status;if(i!==e._venmoPaymentContextStatus)switch(e._venmoPaymentContextStatus=i,r.sendEvent(e._createPromise,"venmo.tokenize.manual-return.status-change."+i.toLowerCase()),i){case"EXPIRED":case"FAILED":case"CANCELED":return y.reject(new h(s["VENMO_MOBILE_POLLING_TOKENIZATION_"+i]));case"APPROVED":return y.resolve(t)}return new y(function(t,i){setTimeout(function(){e._pollForStatusChange().then(t).catch(i)},e._mobilePollingInterval)})})},_.prototype._tokenizeForMobileWithManualReturn=function(){var e=this;return r.sendEvent(this._createPromise,"venmo.tokenize.manual-return.start"),this._mobilePollingContextExpiresIn=Date.now()+this._mobilePollingExpiresThreshold,this._tokenizePromise=new f,this._pollForStatusChange().then(function(t){r.sendEvent(e._createPromise,"venmo.tokenize.manual-return.success"),e._tokenizePromise.resolve({paymentMethodNonce:t.paymentMethodId,username:"@"+(t.userName||"").replace("@","")})}).catch(function(t){r.sendEvent(e._createPromise,"venmo.tokenize.manual-return.failure"),e._tokenizePromise.reject(t)}),this.getUrl().then(function(t){return e.appSwitch(t),e._tokenizePromise})},_.prototype._shouldUseRedirectStrategy=function(){return!!o.isIos()&&this._useRedirectForIOS},_.prototype._tokenizeForMobileWithHashChangeListeners=function(e){var t,i,n=this;if(this.hasTokenizationResult())return this.processResultsFromHash();function o(e){var t;n.processResultsFromHash(e).catch(function(e){t=e}).then(function(e){n._ignoreHistoryChanges||window.location.hash===n._previousHash||(window.location.hash=n._previousHash),n._removeVisibilityEventListener(),t?n._tokenizePromise.reject(t):n._tokenizePromise.resolve(e),delete n._tokenizePromise})}return r.sendEvent(this._createPromise,"venmo.tokenize.mobile.start"),this._tokenizePromise=new f,this._previousHash=window.location.hash,this._onHashChangeListener=function(e){var r=e.newURL.split("#")[1];n._hasTokenizationResult(r)&&(t=!0,clearTimeout(i),o(r))},window.addEventListener("hashchange",this._onHashChangeListener,!1),this._visibilityChangeListener=function(){var r=e.processResultsDelay||a.DEFAULT_PROCESS_RESULTS_DELAY;window.document.hidden||t||(i=setTimeout(o,r))},this.getUrl().then(function(e){return n.appSwitch(e),setTimeout(function(){window.document.addEventListener(b(),n._visibilityChangeListener)},a.DOCUMENT_VISIBILITY_CHANGE_EVENT_DELAY),n._tokenizePromise})},_.prototype._tokenizeForDesktop=function(){var e=this;return r.sendEvent(this._createPromise,"venmo.tokenize.desktop.start"),this._tokenizePromise=new f,this._createPromise.then(function(){return e._venmoDesktopInstance.launchDesktopFlow()}).then(function(t){e._venmoDesktopInstance.hideDesktopFlow(),r.sendEvent(e._createPromise,"venmo.tokenize.desktop.success"),e._tokenizePromise.resolve(t)}).catch(function(t){if(r.sendEvent(e._createPromise,"venmo.tokenize.desktop.failure"),e._venmoDesktopInstance&&e._venmoDesktopInstance.hideDesktopFlow(),t&&"CUSTOMER_CANCELED"===t.reason){e._tokenizePromise.reject(new h(s.VENMO_DESKTOP_CANCELED));return}e._tokenizePromise.reject(new h({type:s.VENMO_DESKTOP_UNKNOWN_ERROR.type,code:s.VENMO_DESKTOP_UNKNOWN_ERROR.code,message:s.VENMO_DESKTOP_UNKNOWN_ERROR.message,details:{originalError:t}}))}),this._tokenizePromise},_.prototype._updateVenmoDesktopPaymentContext=function(e,t){return this._venmoDesktopInstance.updateVenmoDesktopPaymentContext(e,t)},_.prototype._cancelMobilePaymentContext=function(){var e=this;return this._createPromise.then(function(t){var i;return e._venmoPaymentContextId?(i=e._shouldUseLegacyFlow?v.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY:v.UPDATE_PAYMENT_CONTEXT_QUERY,t.request({api:"graphQLApi",data:{query:i,variables:{input:{id:e._venmoPaymentContextId,status:"CANCELED"}}}})):y.resolve()})},_.prototype._cancelVenmoDesktopContext=function(){var e=this;return this._createPromise.then(function(){return e._venmoDesktopInstance&&e._venmoDesktopInstance.updateVenmoDesktopPaymentContext("CANCELED"),y.resolve()})},_.prototype.teardown=function(){var e=this;return this._removeVisibilityEventListener(),this._createPromise.then((function(){e._venmoDesktopInstance&&e._venmoDesktopInstance.teardown(),clearTimeout(e._refreshPaymentContextTimeout),e._cancelMobilePaymentContext(),p(this,c(_.prototype))}).bind(this))},_.prototype._removeVisibilityEventListener=function(){window.removeEventListener("hashchange",this._onHashChangeListener),window.document.removeEventListener(b(),this._visibilityChangeListener),delete this._visibilityChangeListener,delete this._onHashChangeListener},_.prototype.processResultsFromHash=function(e){var t=this,i=g(e);return new y(function(e,n){i.venmoSuccess?(r.sendEvent(t._createPromise,"venmo.appswitch.handle.success"),i.resource_id&&!t._shouldUseLegacyFlow?t._queryPaymentContextStatus(i.resource_id).then(function(n){if("APPROVED"!==n.status){r.sendEvent(t._createPromise,"venmo.process-results.unexpected-payment-context-status."+n.status.toLowerCase()),e(i);return}e({paymentMethodNonce:n.paymentMethodId,username:n.userName})}).catch(function(){r.sendEvent(t._createPromise,"venmo.process-results.payment-context-status-query-failed"),e(i)}):e(i)):i.venmoError?(r.sendEvent(t._createPromise,"venmo.appswitch.handle.error"),n(new h({type:s.VENMO_APP_FAILED.type,code:s.VENMO_APP_FAILED.code,message:s.VENMO_APP_FAILED.message,details:{originalError:{message:decodeURIComponent(i.errorMessage),code:i.errorCode}}}))):i.venmoCancel?(r.sendEvent(t._createPromise,"venmo.appswitch.handle.cancel"),n(new h(s.VENMO_APP_CANCELED))):(r.sendEvent(t._createPromise,"venmo.appswitch.cancel-or-un
1available"),n(new h(s.VENMO_CANCELED))),t._clearFragmentParameters()})},_.prototype._clearFragmentParameters=function(){!this._ignoreHistoryChanges&&"function"==typeof window.history.replaceState&&window.location.hash&&history.pushState({},"",window.location.href.slice(0,window.location.href.indexOf("#")))},t.exports=u.wrapPrototype(_)},{"../lib/analytics":93,"../lib/braintree-error":98,"../lib/convert-methods-to-error":100,"../lib/in-iframe":123,"../lib/is-verified-domain":126,"../lib/methods":128,"../lib/promise":130,"../lib/querystring":131,"./external/":154,"./external/queries":155,"./shared/browser-detection":158,"./shared/constants":159,"./shared/errors":160,"./shared/supports-venmo":162,"@braintree/extended-promise":41,"@braintree/wrap-promise":50}],164:[function(e,t,i){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},n=e("./lib/card-types"),o=e("./lib/add-matching-cards-to-results"),a=e("./lib/is-valid-input-type"),s=e("./lib/find-best-match"),l=e("./lib/clone"),d={},c={VISA:"visa",MASTERCARD:"mastercard",AMERICAN_EXPRESS:"american-express",DINERS_CLUB:"diners-club",DISCOVER:"discover",JCB:"jcb",UNIONPAY:"unionpay",MAESTRO:"maestro",ELO:"elo",MIR:"mir",HIPER:"hiper",HIPERCARD:"hipercard"},p=[c.VISA,c.MASTERCARD,c.AMERICAN_EXPRESS,c.DINERS_CLUB,c.DISCOVER,c.JCB,c.UNIONPAY,c.MAESTRO,c.ELO,c.MIR,c.HIPER,c.HIPERCARD],u=l.clone(p);function h(e){return d[e]||n[e]}function m(e,t){void 0===t&&(t=!1);var i=u.indexOf(e);if(!t&&-1===i)throw Error('"'+e+'" is not a supported card type.');return i}function y(e){var t=[];if(!a.isValidInputType(e))return t;if(0===e.length)return u.map(function(e){return l.clone(h(e))});u.forEach(function(i){var r=h(i);o.addMatchingCardsToResults(e,r,t)});var i=s.findBestMatch(t);return i?[i]:t}y.getTypeInfo=function(e){return l.clone(h(e))},y.removeCard=function(e){var t=m(e);u.splice(t,1)},y.addCard=function(e){var t=m(e.type,!0);d[e.type]=e,-1===t&&u.push(e.type)},y.updateCard=function(e,t){var i=d[e]||n[e];if(!i)throw Error('"'+e+"\" is not a recognized type. Use `addCard` instead.'");if(t.type&&i.type!==t.type)throw Error("Cannot overwrite type parameter.");var o=l.clone(i);d[(o=r(r({},o),t)).type]=o},y.changeOrder=function(e,t){var i=m(e);u.splice(i,1),u.splice(t,0,e)},y.resetModifications=function(){u=l.clone(p),d={}},y.types=c,t.exports=y},{"./lib/add-matching-cards-to-results":165,"./lib/card-types":166,"./lib/clone":167,"./lib/find-best-match":168,"./lib/is-valid-input-type":169}],165:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.addMatchingCardsToResults=void 0;var r=e("./clone"),n=e("./matches");i.addMatchingCardsToResults=function(e,t,i){var o,a;for(o=0;o<t.patterns.length;o++){var s=t.patterns[o];if(n.matches(e,s)){var l=r.clone(t);a=Array.isArray(s)?String(s[0]).length:String(s).length,e.length>=a&&(l.matchStrength=a),i.push(l);break}}}},{"./clone":167,"./matches":170}],166:[function(e,t,i){"use strict";t.exports={visa:{niceType:"Visa",type:"visa",patterns:[4],gaps:[4,8,12],lengths:[16,18,19],code:{name:"CVV",size:3}},mastercard:{niceType:"Mastercard",type:"mastercard",patterns:[[51,55],[2221,2229],[223,229],[23,26],[270,271],2720],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},"american-express":{niceType:"American Express",type:"american-express",patterns:[34,37],gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},"diners-club":{niceType:"Diners Club",type:"diners-club",patterns:[[300,305],36,38,39],gaps:[4,10],lengths:[14,16,19],code:{name:"CVV",size:3}},discover:{niceType:"Discover",type:"discover",patterns:[6011,[644,649],65],gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},jcb:{niceType:"JCB",type:"jcb",patterns:[2131,1800,[3528,3589]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVV",size:3}},unionpay:{niceType:"UnionPay",type:"unionpay",patterns:[620,[624,626],[62100,62182],[62184,62187],[62185,62197],[62200,62205],[622010,622999],622018,[622019,622999],[62207,62209],[622126,622925],[623,626],6270,6272,6276,[627700,627779],[627781,627799],[6282,6289],6291,6292,810,[8110,8131],[8132,8151],[8152,8163],[8164,8171]],gaps:[4,8,12],lengths:[14,15,16,17,18,19],code:{name:"CVN",size:3}},maestro:{niceType:"Maestro",type:"maestro",patterns:[493698,[5e5,504174],[504176,506698],[506779,508999],[56,59],63,67,6],gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},elo:{niceType:"Elo",type:"elo",patterns:[401178,401179,438935,457631,457632,431274,451416,457393,504175,[506699,506778],[509e3,509999],627780,636297,636368,[650031,650033],[650035,650051],[650405,650439],[650485,650538],[650541,650598],[650700,650718],[650720,650727],[650901,650978],[651652,651679],[655e3,655019],[655021,655058]],gaps:[4,8,12],lengths:[16],code:{name:"CVE",size:3}},mir:{niceType:"Mir",type:"mir",patterns:[[2200,2204]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVP2",size:3}}
1,hiper:{niceType:"Hiper",type:"hiper",patterns:[637095,63737423,63743358,637568,637599,637609,637612],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},hipercard:{niceType:"Hipercard",type:"hipercard",patterns:[606282],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}}}},{}],167:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.clone=void 0,i.clone=function(e){return e?JSON.parse(JSON.stringify(e)):null}},{}],168:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.findBestMatch=void 0,i.findBestMatch=function(e){var t;return(t=e.filter(function(e){return e.matchStrength}).length)>0&&t===e.length?e.reduce(function(e,t){return!e||Number(e.matchStrength)<Number(t.matchStrength)?t:e}):null}},{}],169:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isValidInputType=void 0,i.isValidInputType=function(e){return"string"==typeof e||e instanceof String}},{}],170:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.matches=void 0,i.matches=function(e,t){var i,r,n,o,a,s;return Array.isArray(t)?(i=t[0],r=t[1],n=String(i).length,a=parseInt(o=e.substr(0,n),10),i=parseInt(String(i).substr(0,o.length),10),r=parseInt(String(r).substr(0,o.length),10),a>=i&&a<=r):(s=String(s=t)).substring(0,e.length)===e.substring(0,s.length)}},{}],171:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.Framebus=void 0;var r=e("./lib/is-not-string"),n=e("./lib/subscription-args-invalid"),o=e("./lib/broadcast"),a=e("./lib/package-payload"),s=e("./lib/constants"),l="undefined"!=typeof window&&window.Promise,d=function(){function e(e){void 0===e&&(e={}),this.origin=e.origin||"*",this.channel=e.channel||"",this.verifyDomain=e.verifyDomain,this.isDestroyed=!1,this.listeners=[]}return e.setPromise=function(t){e.Promise=t},e.target=function(t){return new e(t)},e.prototype.include=function(e){return null!=e&&null!=e.Window&&e.constructor===e.Window&&(s.childWindows.push(e),!0)},e.prototype.target=function(t){return e.target(t)},e.prototype.emit=function(e,t,i){if(this.isDestroyed)return!1;var n=this.origin;if(e=this.namespaceEvent(e),r.isntString(e)||r.isntString(n))return!1;"function"==typeof t&&(i=t,t=void 0);var s=a.packagePayload(e,n,t,i);return!!s&&(o.broadcast(window.top||window.self,s,n),!0)},e.prototype.emitAsPromise=function(t,i){var r=this;return new e.Promise(function(e,n){r.emit(t,i,function(t){e(t)})||n(Error('Listener not added for "'+t+'"'))})},e.prototype.on=function(e,t){if(this.isDestroyed)return!1;var i=this,r=this.origin,o=t;return e=this.namespaceEvent(e),!n.subscriptionArgsInvalid(e,o,r)&&(this.verifyDomain&&(o=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];i.checkOrigin(this&&this.origin)&&t.apply(void 0,e)}),this.listeners.push({eventName:e,handler:o,originalHandler:t}),s.subscribers[r]=s.subscribers[r]||{},s.subscribers[r][e]=s.subscribers[r][e]||[],s.subscribers[r][e].push(o),!0)},e.prototype.off=function(e,t){var i=t;if(this.isDestroyed)return!1;if(this.verifyDomain)for(var r=0;r<this.listeners.length;r++){var o=this.listeners[r];o.originalHandler===t&&(i=o.handler)}e=this.namespaceEvent(e);var a=this.origin;if(n.subscriptionArgsInvalid(e,i,a))return!1;var l=s.subscribers[a]&&s.subscribers[a][e];if(!l)return!1;for(var r=0;r<l.length;r++)if(l[r]===i)return l.splice(r,1),!0;return!1},e.prototype.teardown=function(){if(!this.isDestroyed){this.isDestroyed=!0;for(var e=0;e<this.listeners.length;e++){var t=this.listeners[e];this.off(t.eventName,t.handler)}this.listeners.length=0}},e.prototype.checkOrigin=function(e){var t,i=document.createElement("a");return i.href=location.href,t="https:"===i.protocol?i.host.replace(/:443$/,""):"http:"===i.protocol?i.host.replace(/:80$/,""):i.host,i.protocol+"//"+t===e||!this.verifyDomain||this.verifyDomain(e)},e.prototype.namespaceEvent=function(e){return this.channel?this.channel+":"+e:e},e.Promise=l,e}();i.Framebus=d},{"./lib/broadcast":175,"./lib/constants":176,"./lib/is-not-string":179,"./lib/package-payload":181,"./lib/subscription-args-invalid":183}],172:[function(e,t,i){"use strict";var r=e("./lib/attach"),n=e("./framebus");r.attach(),t.exports=n.Framebus},{"./framebus":171,"./lib/attach":173}],173:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.detach=i.attach=void 0;var r=e("./message"),n=!1;i.attach=function(){n||"undefined"==typeof window||(n=!0,window.addEventListener("message",r.onmessage,!1))},i.detach=function(){n=!1,window.removeEventListener("message",r.onmessage,!1)}},{"./message":180}],174:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.broadcastToChildWindows=void 0;var r=e("./broadcast"),n=e("./constants");i.broadcastToChildWindows=function(e,t,i){for(var o=n.childWindows.length-1;o>=0;o--){var a=n.childWindows[o];a.closed?n.childWindows.splice(o,1):i!==a&&r.broadcast(a.top,e,t)}}},{"./broadcast":175,"./constants":176}],175:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.broadcast=void 0;
1var r=e("./has-opener");i.broadcast=function e(t,i,n){var o,a=0;try{for(t.postMessage(i,n),r.hasOpener(t)&&t.opener.top!==window.top&&e(t.opener.top,i,n);o=t.frames[a];)e(o,i,n),a++}catch(e){}}},{"./has-opener":178}],176:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.subscribers=i.childWindows=i.prefix=void 0,i.prefix="/*framebus*/",i.childWindows=[],i.subscribers={}},{}],177:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.dispatch=void 0;var r=e("./constants");i.dispatch=function(e,t,i,n,o){if(r.subscribers[e]&&r.subscribers[e][t]){var a=[];i&&a.push(i),n&&a.push(n);for(var s=0;s<r.subscribers[e][t].length;s++)r.subscribers[e][t][s].apply(o,a)}}},{"./constants":176}],178:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.hasOpener=void 0,i.hasOpener=function(e){return e.top===e&&null!=e.opener&&e.opener!==e&&!0!==e.opener.closed}},{}],179:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isntString=void 0,i.isntString=function(e){return"string"!=typeof e}},{}],180:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.onmessage=void 0;var r=e("./is-not-string"),n=e("./unpack-payload"),o=e("./dispatch"),a=e("./broadcast-to-child-windows");i.onmessage=function(e){if(!r.isntString(e.data)){var t=n.unpackPayload(e);if(t){var i=t.eventData,s=t.reply;o.dispatch("*",t.event,i,s,e),o.dispatch(e.origin,t.event,i,s,e),a.broadcastToChildWindows(e.data,t.origin,e.source)}}}},{"./broadcast-to-child-windows":174,"./dispatch":177,"./is-not-string":179,"./unpack-payload":184}],181:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.packagePayload=void 0;var r=e("./subscribe-replier"),n=e("./constants");i.packagePayload=function(e,t,i,o){var a,s={event:e,origin:t};"function"==typeof o&&(s.reply=r.subscribeReplier(o,t)),s.eventData=i;try{a=n.prefix+JSON.stringify(s)}catch(e){throw Error("Could not stringify event: "+e.message)}return a}},{"./constants":176,"./subscribe-replier":182}],182:[function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.subscribeReplier=void 0;var n=e("../framebus"),o=r(e("@braintree/uuid"));i.subscribeReplier=function(e,t){var i=o.default();return n.Framebus.target({origin:t}).on(i,function r(o,a){e(o,a),n.Framebus.target({origin:t}).off(i,r)}),i}},{"../framebus":171,"@braintree/uuid":46}],183:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.subscriptionArgsInvalid=void 0;var r=e("./is-not-string");i.subscriptionArgsInvalid=function(e,t,i){return!!r.isntString(e)||"function"!=typeof t||r.isntString(i)}},{"./is-not-string":179}],184:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.unpackPayload=void 0;var r=e("./constants"),n=e("./package-payload");i.unpackPayload=function(e){var t;if(e.data.slice(0,r.prefix.length)!==r.prefix)return!1;try{t=JSON.parse(e.data.slice(r.prefix.length))}catch(e){return!1}if(t.reply){var i=e.origin,o=e.source,a=t.reply;t.reply=function(e){if(o){var t=n.packagePayload(a,i,e);t&&o.postMessage(t,i)}}}return t}},{"./constants":176,"./package-payload":181}],185:[function(e,t,i){var r,n,o,a=t.exports={};function s(){throw Error("setTimeout has not been defined")}function l(){throw Error("clearTimeout has not been defined")}function d(e){if(r===setTimeout)return setTimeout(e,0);if((r===s||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:s}catch(e){r=s}try{n="function"==typeof clearTimeout?clearTimeout:l}catch(e){n=l}}();var c=[],p=!1,u=-1;function h(){p&&o&&(p=!1,o.length?c=o.concat(c):u=-1,c.length&&m())}function m(){if(!p){var e=d(h);p=!0;for(var t=c.length;t;){for(o=c,c=[];++u<t;)o&&o[u].run();u=-1,t=c.length}o=null,p=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===l||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}function f(){}a.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];c.push(new y(e,t)),1!==c.length||p||d(m)},y.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=f,a.addListener=f,a.once=f,a.off=f,a.removeListener=f,a.removeAllListeners=f,a.emit=f,a.prependListener=f,a.prependOnceListener=f,a.listeners=function(e){return[]},a.binding=function(e){throw Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],186:[function(e,t,i){(function(e){(function(){"use strict";var i=setTimeout;function r(e){return!!(e&&void 0!==e.length)}function n(){}function o(e){if(!(this instanceof o))throw TypeError("Promises must be constructed via new");if("function"!=typeof e)throw TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],p(e,this)}function a(e,t){for(;3===e._state;)e=e._value;if(0===e._state){e._deferreds.push(t);return}e._handled=!0,o._immediateFn(function(){var i,r=1===e._state?t.onFulfilled:t.onRejected;if(null===r){(1===e._state?s:l)(t.promise,e._value);return}try{i=r(e._value)}catch(e){l(t.promise,e);return}s(t.promise,i)})}function s(e,t){try{if(t===e)throw TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var i=t.then;if(t instanceof o){e._state=3,e._value=t,d(e);return}if("function"==typeof i){p(function(){i.apply(t,arguments)},e);return}}e._state=1,e._value=t,d(e)}catch(t){l(e,t)}}function l(e,t){e._state=2,e._value=t,d(e)}function d(e){2===e._state&&0===e._deferreds.length&&o._immediateFn(function(){e._handled||o._unhandledRejectionFn(e._value)});for(var t=0,i=e._deferreds.length;t<i;t++)a(e,e._deferreds[t]);e._deferreds=null}function c(e,t,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=i}function p(e,t){var i=!1;try{e(function(e){i||(i=!0,s(t,e))},function(e){i||(i=!0,l(t,e))})}catch(e){if(i)return;i=!0,l(t,e)}}o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,t){var i=new this.constructor(n);return a(this,new c(e,t,i)),i},o.prototype.finally=function(e){var t=this.constructor;return this.then(function(i){return t.resolve(e()).then(function(){return i})},function(i){return t.resolve(e()).then(function(){return t.reject(i)})})},o.all=function(e){return new o(function(t,i){if(!r(e))return i(TypeError("Promise.all accepts an array"));var n=Array.prototype.slice.call(e);
1if(0===n.length)return t([]);for(var o=n.length,a=0;a<n.length;a++)!function e(r,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s){s.call(a,function(t){e(r,t)},i);return}}n[r]=a,0==--o&&t(n)}catch(e){i(e)}}(a,n[a])})},o.allSettled=function(e){return new this(function(t,i){if(!(e&&void 0!==e.length))return i(TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);for(var n=r.length,o=0;o<r.length;o++)!function e(i,o){if(o&&("object"==typeof o||"function"==typeof o)){var a=o.then;if("function"==typeof a){a.call(o,function(t){e(i,t)},function(e){r[i]={status:"rejected",reason:e},0==--n&&t(r)});return}}r[i]={status:"fulfilled",value:o},0==--n&&t(r)}(o,r[o])})},o.resolve=function(e){return e&&"object"==typeof e&&e.constructor===o?e:new o(function(t){t(e)})},o.reject=function(e){return new o(function(t,i){i(e)})},o.race=function(e){return new o(function(t,i){if(!r(e))return i(TypeError("Promise.race accepts an array"));for(var n=0,a=e.length;n<a;n++)o.resolve(e[n]).then(t,i)})},o._immediateFn="function"==typeof e&&function(t){e(t)}||function(e){i(e,0)},o._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},t.exports=o}).call(this)}).call(this,e("timers").setImmediate)},{timers:190}],187:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isIos=i.isIE9=i.isSamsungBrowser=i.isAndroidChrome=i.isKitKatWebview=void 0;var r="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent,n=e("@braintree/browser-detection/is-android"),o=e("@braintree/browser-detection/is-chrome-os"),a=e("@braintree/browser-detection/is-chrome"),s=e("@braintree/browser-detection/is-ios");i.isIos=s;var l=e("@braintree/browser-detection/is-ie9");i.isIE9=l;var d=/Version\/\d\.\d* Chrome\/\d*\.0\.0\.0/;i.isKitKatWebview=function(e){return void 0===e&&(e=r),n(e)&&d.test(e)},i.isAndroidChrome=function(e){return void 0===e&&(e=r),(n(e)||o(e))&&a(e)},i.isSamsungBrowser=function(e){var t;return void 0===e&&(e=r),/SamsungBrowser/.test(e)||!a(t=e)&&t.indexOf("Samsung")>-1}},{"@braintree/browser-detection/is-android":26,"@braintree/browser-detection/is-chrome":28,"@braintree/browser-detection/is-chrome-os":27,"@braintree/browser-detection/is-ie9":33,"@braintree/browser-detection/is-ios":37}],188:[function(e,t,i){"use strict";var r=e("./lib/device");t.exports=function(){return!r.isSamsungBrowser()}},{"./lib/device":187}],189:[function(e,t,i){t.exports=e("./dist/supports-input-formatting")},{"./dist/supports-input-formatting":188}],190:[function(e,t,i){(function(t,r){(function(){var n=e("process/browser.js").nextTick,o=Function.prototype.apply,a=Array.prototype.slice,s={},l=0;function d(e,t){this._id=e,this._clearFn=t}i.setTimeout=function(){return new d(o.call(setTimeout,window,arguments),clearTimeout)},i.setInterval=function(){return new d(o.call(setInterval,window,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(e){e.close()},d.prototype.unref=d.prototype.ref=function(){},d.prototype.close=function(){this._clearFn.call(window,this._id)},i.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},i.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},i._unrefActive=i.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},i.setImmediate="function"==typeof t?t:function(e){var t=l++,r=!(arguments.length<2)&&a.call(arguments,1);return s[t]=!0,n(function(){s[t]&&(r?e.apply(null,r):e.call(null),i.clearImmediate(t))}),t},i.clearImmediate="function"==typeof r?r:function(e){delete s[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":185,timers:190}],191:[function(e,t,i){"use strict";t.exports={paymentOptionIDs:{card:"card",paypal:"paypal",paypalCredit:"paypalCredit",applePay:"applePay",venmo:"venmo",googlePay:"googlePay"},paymentMethodTypes:{card:"CreditCard",paypal:"PayPalAccount",payp
1alCredit:"PayPalAccount",applePay:"ApplePayCard",venmo:"VenmoAccount",googlePay:"AndroidPayCard"},analyticsKinds:{CreditCard:"card",PayPalAccount:"paypal",ApplePayCard:"applepay",VenmoAccount:"venmo",AndroidPayCard:"googlepay"},paymentMethodCardTypes:{Visa:"visa",MasterCard:"master-card","American Express":"american-express","Diners Club":"diners-club",Discover:"discover",JCB:"jcb",UnionPay:"unionpay",Maestro:"maestro"},configurationCardTypes:{visa:"Visa","master-card":"MasterCard","american-express":"American Express","diners-club":"Discover",discover:"Discover",jcb:"JCB",unionpay:"UnionPay",maestro:"Maestro"},dependencySetupStates:{DONE:"done",FAILED:"failed",INITIALIZING:"initializing",NOT_ENABLED:"not-enabled"},errors:{NO_PAYMENT_METHOD_ERROR:"No payment method is available.",DEVELOPER_MISCONFIGURATION_MESSAGE:"Developer Error: Something went wrong. Check the console for details."},ANALYTICS_REQUEST_TIMEOUT_MS:2e3,ANALYTICS_PREFIX:"web.dropin.",CHANGE_ACTIVE_PAYMENT_METHOD_TIMEOUT:200,CHECKOUT_JS_SOURCE:"https://www.paypalobjects.com/api/checkout.min.js",GOOGLE_PAYMENT_SOURCE:"https://pay.google.com/gp/p/js/pay.js",INTEGRATION:"dropin2",PAYPAL_CHECKOUT_SCRIPT_ID:"braintree-dropin-paypal-checkout-script",GOOGLE_PAYMENT_SCRIPT_ID:"braintree-dropin-google-payment-script",DATA_COLLECTOR_SCRIPT_ID:"braintree-dropin-data-collector-script",STYLESHEET_ID:"braintree-dropin-stylesheet"}},{}],192:[function(e,t,i){"use strict";var r=e("./lib/analytics"),n=e("./lib/dropin-error"),o=e("@braintree/event-emitter"),a=e("./constants"),s=a.paymentMethodTypes,l=a.paymentOptionIDs,d=a.dependencySetupStates,c=e("./lib/is-guest-checkout"),p=e("./lib/promise"),u=e("./views/payment-sheet-views"),h=e("braintree-web/vault-manager"),m=e("./views/payment-options-view").ID,y=[s.applePay,s.googlePay,s.venmo],f=[l.card,l.paypal,l.paypalCredit,l.venmo,l.applePay,l.googlePay],E=["threeDSecure","dataCollector"],v=f.concat(E);function _(e){for(this.rootNode=e.container,this.componentID=e.componentID,this.merchantConfiguration=e.merchantConfiguration,this.isGuestCheckout=c(e.client),this.dependencyStates=v.reduce((function(e,t){return this._shouldIncludeDependency(t)&&(e[t]=d.INITIALIZING),e}).bind(this),{}),this.failedDependencies={},this._options=e,this._setupComplete=!1;this.rootNode.parentNode;)this.rootNode=this.rootNode.parentNode;this.isInShadowDom="[object ShadowRoot]"===this.rootNode.toString(),o.call(this)}o.createChild(_),_.prototype.initialize=function(){var e,t=this,i=setInterval(function(){for(e in t.dependencyStates)if(t.dependencyStates[e]===d.INITIALIZING)return;clearInterval(i),t._emit("asyncDependenciesReady")},200);return h.create({client:t._options.client}).then(function(e){return t._vaultManager=e,t._getSupportedPaymentOptions(t._options)}).then(function(e){return t.supportedPaymentOptions=e,t.getVaultedPaymentMethods()}).then(function(e){t._paymentMethods=e,t._paymentMethodIsRequestable=t._paymentMethods.length>0})},_.prototype.confirmDropinReady=function(){this._setupComplete=!0},_.prototype.isPaymentMethodRequestable=function(){return!!this._paymentMethodIsRequestable},_.prototype.addPaymentMethod=function(e){this._paymentMethods.push(e),this._emit("addPaymentMethod",e),this.changeActivePaymentMethod(e)},_.prototype.removePaymentMethod=function(e){var t=this._paymentMethods.indexOf(e);-1!==t&&(this._paymentMethods.splice(t,1),this._emit("removePaymentMethod",e))},_.prototype.refreshPaymentMethods=function(){var e=this;return e.getVaultedPaymentMethods().then(function(t){e._paymentMethods=t,e._emit("refreshPaymentMethods")})},_.prototype.changeActivePaymentMethod=function(e){this._activePaymentMethod=e,this._emit("changeActivePaymentMethod",e)},_.prototype.changeActiveView=function(e){var t=this._activePaymentViewId;this._activePaymentViewId=e,this._emit("changeActiveView",{previousViewId:t,newViewId:e})},_.prototype.removeActivePaymentMethod=function(){this._activePaymentMethod=null,this._emit("removeActivePaymentMethod"),this.setPaymentMethodRequestable({isRequestable:!1})},_.prototype.selectPaymentOption=function(e){this._emit("paymentOptionSelected",{paymentOption:e})},_.prototype.enableEditMode=function(){r.sendEvent(this._options.client,"manager.appeared"),this._isInEditMode=!0,this._emit("enableEditMode")},_.prototype.disableEditMode=function(){this._isInEditMode=!1,this._emit("disableEditMode")},_.prototype.isInEditMode=function(){return!!this._isInEditMode},_.prototype.confirmPaymentMethodDeletion=function(e){this._paymentMethodWaitingToBeDeleted=e,this._emit("confirmPaymentMethodDeletion",e)}
1,_.prototype._shouldIncludeDependency=function(e){if("card"===e){if(!1===this.merchantConfiguration.card)return!1}else if(!this.merchantConfiguration[e])return!1;return E.indexOf(e)>-1||(this.merchantConfiguration.paymentOptionPriority?this.merchantConfiguration.paymentOptionPriority.indexOf(e)>-1:f.indexOf(e)>-1)},_.prototype._shouldEmitRequestableEvent=function(e){var t=this.isPaymentMethodRequestable()===e.isRequestable,i=(e.selectedPaymentMethod&&e.selectedPaymentMethod.nonce)===this._paymentMethodRequestableNonce;return!!this._setupComplete&&(!t||!!e.isRequestable&&!i)},_.prototype.setPaymentMethodRequestable=function(e){var t=this._shouldEmitRequestableEvent(e),i={paymentMethodIsSelected:!!e.selectedPaymentMethod,type:e.type};this._paymentMethodIsRequestable=e.isRequestable,e.isRequestable?this._paymentMethodRequestableNonce=e.selectedPaymentMethod&&e.selectedPaymentMethod.nonce:delete this._paymentMethodRequestableNonce,t&&(e.isRequestable?this._emit("paymentMethodRequestable",i):this._emit("noPaymentMethodRequestable"))},_.prototype.getPaymentMethods=function(){return this._paymentMethods.slice()},_.prototype.getActivePaymentMethod=function(){return this._activePaymentMethod},_.prototype.hasPaymentMethods=function(){return this.getPaymentMethods().length>0},_.prototype.getInitialViewId=function(){return this.supportedPaymentOptions.length>1?m:this.supportedPaymentOptions[0]},_.prototype.getActivePaymentViewId=function(){return this._activePaymentViewId},_.prototype.reportAppSwitchPayload=function(e){this.appSwitchPayload=e},_.prototype.reportAppSwitchError=function(e,t){this.appSwitchError={id:e,error:t}},_.prototype.hasAtLeastOneAvailablePaymentOption=function(){var e;for(e=0;e<this.supportedPaymentOptions.length;e++)if(this.dependencyStates[this.supportedPaymentOptions[e]]===d.DONE)return!0;return!1},_.prototype.asyncDependencyReady=function(e){this.dependencyStates[e]=d.DONE},_.prototype.asyncDependencyFailed=function(e){this.failedDependencies.hasOwnProperty(e.view)||(this.failedDependencies[e.view]=e.error,this.dependencyStates[e.view]=d.FAILED)},_.prototype.cancelInitialization=function(e){this._emit("cancelInitialization",e)},_.prototype.reportError=function(e){this._emit("errorOccurred",e)},_.prototype.clearError=function(){this._emit("errorCleared")},_.prototype.preventUserAction=function(){this._emit("preventUserAction")},_.prototype.allowUserAction=function(){this._emit("allowUserAction")},_.prototype.deleteVaultedPaymentMethod=function(){var e,t=this,i=p.resolve();return this._emit("startVaultedPaymentMethodDeletion"),t.isGuestCheckout||(i=this._vaultManager.deletePaymentMethod(this._paymentMethodWaitingToBeDeleted.nonce).catch(function(t){e=t})),i.then(function(){return delete t._paymentMethodWaitingToBeDeleted,t.refreshPaymentMethods()}).then(function(){t.disableEditMode(),t._emit("finishVaultedPaymentMethodDeletion",e)})},_.prototype.cancelDeleteVaultedPaymentMethod=function(){this._emit("cancelVaultedPaymentMethodDeletion"),delete this._paymentMethodWaitingToBeDeleted},_.prototype.getVaultedPaymentMethods=function(){var e=this;return e.isGuestCheckout?p.resolve([]):e._vaultManager.fetchPaymentMethods({defaultFirst:!1!==this.merchantConfiguration.showDefaultPaymentMethodFirst}).then(function(t){return e._getSupportedPaymentMethods(t).map(function(e){return e.vaulted=!0,e})}).catch(function(){return p.resolve([])})},_.prototype._getSupportedPaymentMethods=function(e){var t=this.supportedPaymentOptions.reduce(function(e,t){var i=s[t];return i&&-1===y.indexOf(i)&&e.push(i),e},[]);return e.filter(function(e){return t.indexOf(e.type)>-1})},_.prototype._getSupportedPaymentOptions=function(e){var t,i=this,r=e.merchantConfiguration.paymentOptionPriority||f;if(!(r instanceof Array))throw new n("paymentOptionPriority must be an array.");return t=(r=r.filter(function(e,t){return r.indexOf(e)===t})).map(function(t){var r;return((r=u[l[t]])?r.isEnabled({client:e.client,merchantConfiguration:e.merchantConfiguration}).catch(function(e){return console.error(r.ID+" view errored when checking if it was supported."),console.error(e),p.resolve(!1)}):p.reject(new n("paymentOptionPriority: Invalid payment option specified."))).then(function(e){return{success:e,id:l[t]}}).then(function(e){return e.success||(i.dependencyStates[e.id]=d.NOT_ENABLED),e})}),p.all(t).then(function(e){return 0===(e=e.filter(function(e){return e.success})).length?p.reject(new n("No valid payment options available.")):e.map(function(e){return e.id})})},t.exports=_},{"./constants":191,"./lib/analytics":196,"./lib/dropin-error":201,"./lib/is-guest-checkout":203,"./lib/promise":208,"./views/payment-options-view":254,"./views/payment-sheet-views":259,"@braintree/event-emitter":40,"braintree-web/vault-manager"
1:152}],193:[function(e,t,i){"use strict";var r=e("./lib/assign").assign,n=e("./lib/analytics"),o=e("@braintree/class-list"),a=e("./constants"),s=e("./lib/dropin-error"),l=e("./dropin-model"),d=e("@braintree/event-emitter"),c=e("@braintree/asset-loader"),p=e("./views/main-view"),u=e("./views/payment-methods-view").ID,h=a.paymentOptionIDs,m=e("./translations").translations,y=e("./lib/is-utf-8"),f=e("@braintree/uuid"),E=e("./lib/promise"),v=e("./lib/sanitize-html"),_=e("./lib/data-collector"),g=e("./lib/three-d-secure"),b=e("@braintree/wrap-promise").wrapPrototype,P=["changeActiveView","paymentMethodRequestable","noPaymentMethodRequestable","paymentOptionSelected","card:binAvailable","card:blur","card:cardTypeChange","card:empty","card:focus","card:inputSubmitRequest","card:notEmpty","card:validityChange","3ds:customer-canceled","3ds:authentication-modal-render","3ds:authentication-modal-close"],C=[h.paypal,h.paypalCredit,h.applePay,h.googlePay,"threeDSecure"],T=[h.paypal,h.paypalCredit,h.applePay,h.googlePay],A={};function I(e){this._client=e.client,this._componentID=f(),this._dropinWrapper=document.createElement("div"),this._dropinWrapper.id="braintree--dropin__"+this._componentID,this._dropinWrapper.setAttribute("data-braintree-id","wrapper"),this._dropinWrapper.style.display="none",this._dropinWrapper.className="braintree-loading",this._merchantConfiguration=e.merchantConfiguration,d.call(this)}A[a.paymentMethodTypes.googlePay]=!0,A[a.paymentMethodTypes.applePay]=!0,d.createChild(I),I.prototype._initialize=function(e){var t,i,o=this,a=o._merchantConfiguration.container||o._merchantConfiguration.selector;if(a){if(o._merchantConfiguration.container&&o._merchantConfiguration.selector){n.sendEvent(o._client,"configuration-error"),e(new s("Must only have one options.selector or options.container."));return}}else{n.sendEvent(o._client,"configuration-error"),e(new s("options.container is required."));return}if("string"==typeof a&&(a=document.querySelector(a)),!a||1!==a.nodeType){n.sendEvent(o._client,"configuration-error"),e(new s("options.selector or options.container must reference a valid DOM node."));return}if(a.innerHTML.trim()){n.sendEvent(o._client,"configuration-error"),e(new s("options.selector or options.container must reference an empty DOM node."));return}o._strings=r({},m.en),o._merchantConfiguration.locale&&(t=m[o._merchantConfiguration.locale]||m[o._merchantConfiguration.locale.split("_")[0]],o._strings=r(o._strings,t)),y()||(o._strings.endingIn=o._strings.endingIn.replace(/â¢/g,"*")),o._merchantConfiguration.translations&&Object.keys(o._merchantConfiguration.translations).forEach(function(e){o._strings[e]=v(o._merchantConfiguration.translations[e])}),i=Object.keys(o._strings).reduce(function(e,t){var i=o._strings[t];return e.replace(RegExp("{{"+t+"}}","g"),i)},'<div class="braintree-dropin">\n <div data-braintree-id="methods-label" class="braintree-heading"> </div>\n <div data-braintree-id="methods-edit" class="braintree-hidden braintree-heading" role="button" tabindex="0">{{edit}}</div>\n <div data-braintree-id="choose-a-way-to-pay" class="braintree-heading">{{chooseAWayToPay}}</div>\n <div class="braintree-placeholder"> </div>\n\n <div data-braintree-id="upper-container" class="braintree-upper-container">\n <div data-braintree-id="loading-container" class="braintree-loader__container">\n <div data-braintree-id="loading-indicator" class="braintree-loader__indicator">\n <svg width="14" height="16" class="braintree-loader__lock">\n <use xlink:href="#iconLockLoader"></use>\n </svg>\n </div>\n </div>\n\n <div data-braintree-id="delete-confirmation" class="braintree-delete-confirmation braintree-sheet">\n <div data-braintree-id="delete-confirmation__message"></div>\n <div class="braintree-delete-confirmation__button-container">\n <div tabindex="0" role="button" data-braintree-id="delete-confirmation__no" class="braintree-delete-confirmation__button">{{deleteCancelButton}}</div>\n <div tabindex="0" role="button" data-braintree-id="delete-confirmation__yes" class="braintree-delete-confirmation__button">{{deleteConfirmationButton}}</div>\n </div>\n </div>\n\n <div data-braintree-id="methods" class="braintree-methods braintree-methods-initial">\n <div data-braintree-id="methods-container"></div>\n </div>\n\n <div data-braintree-id="options" class="braintree-test-class braintree-options braintree-options-initial">\n <div data-braintree-id="payment-options-container" class="braintree-options-list"></div>\n </div>\n\n <div data-braintree-id="sheet-container" class="braintree-sheet__container">\n <div data-braintree-id="paypal" class="braintree-paypal braintree-sheet">\n <div data-braintree-id="paypal-sheet-header" class="braintree-sheet__header">\n <div class="braintree-sheet__header-label">\n <div class="braintree-sheet__logo--header">\n <svg width="40" height="24">\n <use xlink:href="#logoPayPal"></use>\n </svg>\n </div>\n <div class="braintree-sheet__label">{{PayPal}}</div>\n </div>\n </div>\n <div class="braintree-sheet__content braintree-sheet__content--button">\n <div data-braintree-id="paypal-button" class="braintree-sheet__button--paypal"></div>\n </div>\n </div>\n <div data-braintree-id="paypalCredit" class="braintree-paypalCredit braintree-sheet">\n <div data-braintree-id="paypal-credit-sheet-header" class="braintree-sheet__header">\n <div class="braintree-sheet__header-label">\n <div class="braintree-sheet__logo--header">\n <svg width="40" height="24">\n <use xlink:href="#logoPayPalCredit"></use>\n </svg>\n </div>\n <div class="braintree-sheet__label">{{PayPal Credit}}</div>\n </div>\n </div>\n <div class="braintree-sheet__content braintree-sheet__content--button">\n <div data-braintree-id="paypal-credit-button" class="braintree-sheet__button--paypal"></div>\n </div>\n </div>\n <div data-braintree-id="applePay" class="braintree-applePay braintree-sheet">\n <div data-braintree-id="apple-pay-sheet-header" class="braintree-sheet__header">\n <div class="braintree-sheet__header-label">\n <div class="braintree-sheet__logo--header">\n <svg height="24" width="40">\n <use xlink:href="#logoApplePay"></use>\n </svg>\n </div>\n <div class="braintree-sheet__label">{{Apple Pay}}</div>\n </div>\n </div>\n <div class="braintree-sheet__content braintree-sheet__content--button">\n <div data-braintree-id="apple-pay-button" class="braintree-sheet__button--apple-pay apple-pay-button"></div>\n </div>\n </div>\n <div data-braintree-id="googlePay" class="braintree-googlePay braintree-sheet">\n <div data-braintree-id="google-pay-sheet-header" class="braintree-sheet__header">\n <div class="braintree-sheet__header-label">\n <div class="braintree-sheet__logo--header">\n <svg height="24" width="40">\n <use xlink:href="#logoGooglePay"></use>\n </svg>\n </div>\n <div class="braintree-sheet__label">{{Google Pay}}</div>\n </div>\n </div>\n <div class="braintree-sheet__content braintree-sheet__content--button">\n <div data-braintree-id="google-pay-button"></div>\n </div>\n </div>\n <div data-braintree-id="venmo" class="braintree-venmo braintree-sheet">\n <div data-braintree-id="venmo-sheet-header" class="braintree-sheet__header">\n <div class="braintree-sheet__header-label">\n <div class="braintree-sheet__logo--header">\n <svg height="24" width="40">\n <use xlink:href="#logoVenmo"></use>\n </svg>\n </div>\n <div class="braintree-sheet__label">{{Venmo}}</div>\n </div>\n </div>\n <div class="braintree-sheet__content braintree-sheet__content--button">\n <svg data-braintree-id="venmo-button" class="braintree-sheet__button--venmo">\n <use xlink:href="#buttonVenmo"></use>\n </svg>\n </div>\n </div>\n <div data-braintree-id="card" class="braintree-card braintree-form braintree-sheet">\n <div data-braintree-id="card-sheet-header" class="braintree-sheet__header">\n <div class="braintree-sheet__header-label">\n <div class="braintree-sheet__logo--header">\n <svg width="40" height="24" class="braintree-icon--bordered">\n <use xlink:href="#iconCardFront"></use>\n </svg>\n </div>\n <div class="braintree-sheet__text">{{payWithCard}}</div>\n </div>\n <div data-braintree-id="card-view-icons" class="braintree-sheet__icons"></div>\n </div>\n <div class="braintree-sheet__content braintree-sheet__content--form">\n <div data-braintree-id="cardholder-name-field-group" class="braintree-form__field-group">\n <label for="braintree__card-view-input__cardholder-name">\n <div class="braintree-form__label">{{cardholderNameLabel}}</div>\n <div class="braintree-form__field">\n <div class="braintree-form-cardholder-name braintree-form__hosted-field"></div>\n <div class="braintree-form__icon-container">\n <div class="braintree-form__icon braintree-form__field-error-icon">\n <svg width="24" height="24">\n <use xlink:href="#iconError"></use>\n </svg>\n </div>\n </div>\n </div>\n </label>\n <div data-braintree-id="cardholder-name-field-error" class="braintree-form__field-error"></div>\n </div>\n <div data-braintree-id="number-field-group" class="braintree-form__field-group">\n <label>\n <div class="braintree-form__label">{{cardNumberLabel}}</div>\n <div class="braintree-form__field">\n <div class="braintree-form-number braintree-form__hosted-field"></div>\n <div class="braintree-form__icon-container">\n <div data-braintree-id="card-number-icon" class="braintree-form__icon braintree-form__field-secondary-icon">\n <svg width="40" height="24" class="braintree-icon--bordered">\n <use data-braintree-id="card-number-icon-svg" xlink:href="#iconCardFront"></use>\n </svg>\n </div>\n <div class="braintree-form__icon braintree-form__field-error-icon">\n <svg width="24" height="24">\n <use xlink:href="#iconError"></use>\n </svg>\n </div>\n </div>\n </div>\n </label>\n <div data-braintree-id="number-field-error" class="braintree-form__field-error"></div>\n </div>\n\n <div class="braintree-form__flexible-fields">\n <div data-braintree-id="expiration-date-field-group" class="braintree-form__field-group">\n <label>\n <div class="braintree-form__label">{{expirationDateLabel}}
1\n <span class="braintree-form__descriptor">{{expirationDateLabelSubheading}}</span>\n </div>\n <div class="braintree-form__field">\n <div class="braintree-form__hosted-field braintree-form-expiration"></div>\n <div class="braintree-form__icon-container">\n <div class="braintree-form__icon braintree-form__field-error-icon">\n <svg width="24" height="24">\n <use xlink:href="#iconError"></use>\n </svg>\n </div>\n </div>\n </div>\n </label>\n <div data-braintree-id="expiration-date-field-error" class="braintree-form__field-error"></div>\n </div>\n\n\n <div data-braintree-id="cvv-field-group" class="braintree-form__field-group">\n <label>\n <div class="braintree-form__label">{{cvvLabel}}\n <span data-braintree-id="cvv-label-descriptor" class="braintree-form__descriptor">{{cvvThreeDigitLabelSubheading}}</span>\n </div>\n <div class="braintree-form__field">\n <div class="braintree-form__hosted-field braintree-form-cvv"></div>\n <div class="braintree-form__icon-container">\n <div data-braintree-id="cvv-icon" class="braintree-form__icon braintree-form__field-secondary-icon">\n <svg width="40" height="24" class="braintree-icon--bordered">\n <use data-braintree-id="cvv-icon-svg" xlink:href="#iconCVVBack"></use>\n </svg>\n </div>\n <div class="braintree-form__icon braintree-form__field-error-icon">\n <svg width="24" height="24">\n <use xlink:href="#iconError"></use>\n </svg>\n </div>\n </div>\n </div>\n </label>\n <div data-braintree-id="cvv-field-error" class="braintree-form__field-error"></div>\n </div>\n\n <div data-braintree-id="postal-code-field-group" class="braintree-form__field-group">\n <label>\n <div class="braintree-form__label">{{postalCodeLabel}}</div>\n <div class="braintree-form__field">\n <div class="braintree-form__hosted-field braintree-form-postal-code"></div>\n <div class="braintree-form__icon-container">\n <div class="braintree-form__icon braintree-form__field-error-icon">\n <svg width="24" height="24">\n <use xlink:href="#iconError"></use>\n </svg>\n </div>\n </div>\n </div>\n </label>\n <div data-braintree-id="postal-code-field-error" class="braintree-form__field-error"></div>\n </div>\n </div>\n\n <div data-braintree-id="save-card-field-group" class="braintree-form__field-group braintree-hidden">\n <label>\n <div class="braintree-form__field braintree-form__checkbox">\n <input type="checkbox" data-braintree-id="save-card-input" checked />\n </div>\n <div class="braintree-form__label">{{saveCardLabel}}</div>\n </label>\n </div>\n </div>\n </div>\n\n <div data-braintree-id="sheet-error" class="braintree-sheet__error">\n <div class="braintree-form__icon braintree-sheet__error-icon">\n <svg width="24" height="24">\n <use xlink:href="#iconError"></use>\n </svg>\n </div>\n <div data-braintree-id="sheet-error-text" class="braintree-sheet__error-text"></div>\n </div>\n </div>\n </div>\n\n <div data-braintree-id="lower-container" class="braintree-test-class braintree-options braintree-hidden">\n <div data-braintree-id="other-ways-to-pay" class="braintree-heading">{{otherWaysToPay}}</div>\n </div>\n\n <div data-braintree-id="toggle" class="braintree-large-button braintree-toggle braintree-hidden" tabindex="0" role="button">\n <span>{{chooseAnotherWayToPay}}</span>\n </div>\n</div>\n<div data-braintree-id="disable-wrapper" class="braintree-dropin__disabled braintree-hidden"></div>\n'),o._dropinWrapper.innerHTML='<svg data-braintree-id="svgs" style="display: none">\n <defs>\n <symbol id="icon-visa" viewBox="0 0 40 24">\n <title>Visa</title>\n <path d="M0 1.927C0 .863.892 0 1.992 0h36.016C39.108 0 40 .863 40 1.927v20.146C40 23.137 39.108 24 38.008 24H1.992C.892 24 0 23.137 0 22.073V1.927z" style="fill: #FFF" />\n <path d="M0 22.033C0 23.12.892 24 1.992 24h36.016c1.1 0 1.992-.88 1.992-1.967V20.08H0v1.953z" style="fill: #F8B600" />\n <path d="M0 3.92h40V1.967C40 .88 39.108 0 38.008 0H1.992C.892 0 0 .88 0 1.967V3.92zM19.596 7.885l-2.11 9.478H14.93l2.11-9.478h2.554zm10.743 6.12l1.343-3.56.773 3.56H30.34zm2.85 3.358h2.36l-2.063-9.478H31.31c-.492 0-.905.274-1.088.695l-3.832 8.783h2.682l.532-1.415h3.276l.31 1.415zm-6.66
17-3.094c.01-2.502-3.6-2.64-3.577-3.76.008-.338.345-.7 1.083-.793.365-.045 1.373-.08 2.517.425l.448-2.01c-.615-.214-1.405-.42-2.39-.42-2.523 0-4.3 1.288-4.313 3.133-.016 1.364 1.268 2.125 2.234 2.58.996.464 1.33.762 1.325 1.177-.006.636-.793.918-1.526.928-1.285.02-2.03-.333-2.623-.6l-.462 2.08c.598.262 1.7.49 2.84.502 2.682 0 4.437-1.273 4.445-3.243zM15.948 7.884l-4.138 9.478h-2.7L7.076 9.8c-.123-.466-.23-.637-.606-.834-.615-.32-1.63-.62-2.52-.806l.06-.275h4.345c.554 0 1.052.354 1.178.966l1.076 5.486 2.655-6.45h2.683z" style="fill: #1A1F71" />\n </symbol>\n\n <symbol id="icon-master-card" viewBox="0 0 40 24">\n <title>MasterCard</title>\n <path d="M0 1.927C0 .863.892 0 1.992 0h36.016C39.108 0 40 .863 40 1.927v20.146C40 23.137 39.108 24 38.008 24H1.992C.892 24 0 23.137 0 22.073V1.927z" style="fill: #FFF" />\n <path d="M11.085 22.2v-1.36c0-.522-.318-.863-.864-.863-.272 0-.568.09-.773.386-.16-.25-.386-.386-.727-.386-.228 0-.455.068-.637.318v-.272h-.478V22.2h.478v-1.202c0-.386.204-.567.523-.567.318 0 .478.205.478.568V22.2h.477v-1.202c0-.386.23-.567.524-.567.32 0 .478.205.478.568V22.2h.523zm7.075-2.177h-.774v-.658h-.478v.658h-.432v.43h.432v.998c0 .5.205.795.75.795.206 0 .433-.068.592-.16l-.136-.407c-.136.09-.296.114-.41.114-.227 0-.318-.137-.318-.363v-.976h.774v-.43zm4.048-.046c-.273 0-.454.136-.568.318v-.272h-.478V22.2h.478v-1.225c0-.363.16-.567.455-.567.09 0 .204.023.295.046l.137-.454c-.09-.023-.228-.023-.32-.023zm-6.118.227c-.228-.16-.546-.227-.888-.227-.546 0-.91.272-.91.703 0 .363.274.567.75.635l.23.023c.25.045.385.113.385.227 0 .16-.182.272-.5.272-.32 0-.57-.113-.728-.227l-.228.363c.25.18.59.272.932.272.637 0 1-.295 1-.703 0-.385-.295-.59-.75-.658l-.227-.022c-.205-.023-.364-.068-.364-.204 0-.16.16-.25.41-.25.272 0 .545.114.682.182l.205-.386zm12.692-.227c-.273 0-.455.136-.568.318v-.272h-.478V22.2h.478v-1.225c0-.363.16-.567.455-.567.09 0 .203.023.294.046L29.1 20c-.09-.023-.227-.023-.318-.023zm-6.096 1.134c0 .66.455 1.135 1.16 1.135.32 0 .546-.068.774-.25l-.228-.385c-.182.136-.364.204-.57.204-.385 0-.658-.272-.658-.703 0-.407.273-.68.66-.702.204 0 .386.068.568.204l.228-.385c-.228-.182-.455-.25-.774-.25-.705 0-1.16.477-1.16 1.134zm4.413 0v-1.087h-.48v.272c-.158-.204-.385-.318-.68-.318-.615 0-1.093.477-1.093 1.134 0 .66.478 1.135 1.092 1.135.317 0 .545-.113.68-.317v.272h.48v-1.09zm-1.753 0c0-.384.25-.702.66-.702.387 0 .66.295.66.703 0 .387-.273.704-.66.704-.41-.022-.66-.317-.66-.703zm-5.71-1.133c-.636 0-1.09.454-1.09 1.134 0 .682.454 1.135 1.114 1.135.32 0 .638-.09.888-.295l-.228-.34c-.18.136-.41.227-.636.227-.296 0-.592-.136-.66-.522h1.615v-.18c.022-.704-.388-1.158-1.002-1.158zm0 .41c.297 0 .502.18.547.52h-1.137c.045-.295.25-.52.59-.52zm11.852.724v-1.95h-.48v1.135c-.158-.204-.385-.318-.68-.318-.615 0-1.093.477-1.093 1.134 0 .66.478 1.135 1.092 1.135.318 0 .545-.113.68-.317v.272h.48v-1.09zm-1.752 0c0-.384.25-.702.66-.702.386 0 .66.295.66.703 0 .387-.274.704-.66.704-.41-.022-.66-.317-.66-.703zm-15.97 0v-1.087h-.476v.272c-.16-.204-.387-.318-.683-.318-.615 0-1.093.477-1.093 1.134 0 .66.478 1.135 1.092 1.135.318 0 .545-.113.682-.317v.272h.477v-1.09zm-1.773 0c0-.384.25-.702.66-.702.386 0 .66.295.66.703 0 .387-.274.704-.66.704-.41-.022-.66-.317-.66-.703z" style="fill: #000" />\n <path style="fill: #FF5F00" d="M23.095 3.49H15.93v12.836h7.165" />\n <path d="M16.382 9.91c0-2.61 1.23-4.922 3.117-6.42-1.39-1.087-3.14-1.745-5.05-1.745-4.528 0-8.19 3.65-8.19 8.164 0 4.51 3.662 8.162 8.19 8.162 1.91 0 3.66-.657 5.05-1.746-1.89-1.474-3.118-3.81-3.118-6.417z" style="fill: #EB001B" />\n <path d="M32.76 9.91c0 4.51-3.664 8.162-8.19 8.162-1.91 0-3.662-.657-5.05-1.746 1.91-1.496 3.116-3.81 3.116-6.417 0-2.61-1.228-4.922-3.116-6.42 1.388-1.087 3.14-1.745 5.05-1.745 4.526 0 8.19 3.674 8.19 8.164z" style="fill: #F79E1B" />\n </symbol>\n\n <symbol id="icon-unionpay" viewBox="0 0 40 24">\n <title>Union Pay</title>\n <path d="M38.333 24H1.667C.75 24 0 23.28 0 22.4V1.6C0 .72.75 0 1.667 0h36.666C39.25 0 40 .72 40 1.6v20.8c0 .88-.75 1.6-1.667 1.6z" style="fill: #FFF" />\n <path d="M9.877 2h8.126c1.135 0 1.84.93 1.575 2.077l-3.783 16.35c-.267 1.142-1.403 2.073-2.538 2.073H5.13c-1.134 0-1.84-.93-1.574-2.073L7.34 4.076C7.60
17 2.93 8.74 2 9.878 2z" style="fill: #E21836" />\n <path d="M17.325 2h9.345c1.134 0 .623.93.356 2.077l-3.783 16.35c-.265 1.142-.182 2.073-1.32 2.073H12.58c-1.137 0-1.84-.93-1.574-2.073l3.783-16.35C15.056 2.93 16.19 2 17.324 2z" style="fill: #00447B" />\n <path d="M26.3 2h8.126c1.136 0 1.84.93 1.575 2.077l-3.782 16.35c-.266 1.142-1.402 2.073-2.54 2.073h-8.122c-1.137 0-1.842-.93-1.574-2.073l3.78-16.35C24.03 2.93 25.166 2 26.303 2z" style="fill: #007B84" />\n <path d="M27.633 14.072l-.99 3.3h.266l-.208.68h-.266l-.062.212h-.942l.064-.21H23.58l.193-.632h.194l1.005-3.35.2-.676h.962l-.1.34s.255-.184.498-.248c.242-.064 1.636-.088 1.636-.088l-.206.672h-.33zm-1.695 0l-.254.843s.285-.13.44-.172c.16-.04.395-.057.395-.057l.182-.614h-.764zm-.38 1.262l-.263.877s.29-.15.447-.196c.157-.037.396-.066.396-.066l.185-.614h-.766zm-.614 2.046h.767l.222-.74h-.765l-.223.74z" style="fill: #FEFEFE" />\n <path d="M28.055 13.4h1.027l.01.385c-.005.065.05.096.17.096h.208l-.19.637h-.555c-.48.035-.662-.172-.65-.406l-.02-.71zM28.193 16.415h-.978l.167-.566H28.5l.16-.517h-1.104l.19-.638h3.072l-.193.638h-1.03l-.16.516h1.032l-.17.565H29.18l-.2.24h.454l.11.712c.013.07.014.116.036.147.023.026.158.038.238.038h.137l-.21.694h-.348c-.054 0-.133-.004-.243-.01-.105-.008-.18-.07-.25-.105-.064-.03-.16-.11-.182-.24l-.11-.712-.507.7c-.162.222-.38.39-.748.39h-.712l.186-.62h.273c.078 0 .15-.03.2-.056.052-.023.098-.05.15-.126l.74-1.05zM17.478 14.867h2.59l-.19.622H18.84l-.16.53h1.06l-.194.64h-1.06l-.256.863c-.03.095.25.108.353.108l.53-.072-.212.71h-1.193c-.096 0-.168-.013-.272-.037-.1-.023-.145-.07-.19-.138-.043-.07-.11-.
1128-.064-.278l.343-1.143h-.588l.195-.65h.592l.156-.53h-.588l.188-.623zM19.223 13.75h1.063l-.194.65H18.64l-.157.136c-.067.066-.09.038-.18.087-.08.04-.254.123-.477.123h-.466l.19-.625h.14c.118 0 .198-.01.238-.036.046-.03.098-.096.157-.203l.267-.487h1.057l-.187.356zM20.74 13.4h.905l-.132.46s.286-.23.487-.313c.2-.075.65-.143.65-.143l1.464-.007-.498 1.672c-.085.286-.183.472-.244.555-.055.087-.12.16-.248.23-.124.066-.236.104-.34.115-.096.007-.244.01-.45.012h-1.41l-.4 1.324c-.037.13-.055.194-.03.23.02.03.068.066.135.066l.62-.06-.21.726h-.698c-.22 0-.383-.004-.495-.013-.108-.01-.22 0-.295-.058-.065-.058-.164-.133-.162-.21.007-.073.037-.192.082-.356l1.268-4.23zm1.922 1.69h-1.484l-.09.3h1.283c.152-.018.184.004.196-.003l.096-.297zm-1.402-.272s.29-.266.786-.353c.112-.022.82-.015.82-.015l.106-.357h-1.496l-.216.725z" style="fill: #FEFEFE" />\n <path d="M23.382 16.1l-.084.402c-.036.125-.067.22-.16.302-.1.084-.216.172-.488.172l-.502.02-.004.455c-.006.13.028.117.048.138.024.022.045.032.067.04l.157-.008.48-.028-.198.663h-.552c-.385 0-.67-.008-.765-.084-.092-.057-.105-.132-.103-.26l.035-1.77h.88l-.013.362h.212c.072 0 .12-.007.15-.026.027-.02.047-.048.06-.093l.087-.282h.692zM10.84 7.222c-.032.143-.596 2.763-.598 2.764-.12.53-.21.91-.508 1.152-.172.14-.37.21-.6.21-.37 0-.587-.185-.624-.537l-.007-.12.113-.712s.593-2.388.7-2.703c.002-.017.005-.026.007-.035-1.152.01-1.357 0-1.37-.018-.007.024-.037.173-.037.173l-.605 2.688-.05.23-.1.746c0 .22.042.4.13.553.275.485 1.06.557 1.504.557.573 0 1.11-.123 1.47-.345.63-.375.797-.962.944-1.48l.067-.267s.61-2.48.716-2.803c.003-.017.006-.026.01-.035-.835.01-1.08 0-1.16-.018zM14.21 12.144c-.407-.006-.55-.006-1.03.018l-.018-.036c.042-.182.087-.363.127-.548l.06-.25c.086-.39.173-.843.184-.98.007-.084.036-.29-.2-.29-.1 0-.203.048-.307.096-.058.207-.174.79-.23 1.055-.118.558-.126.62-.178.897l-.036.037c-.42-.006-.566-.006-1.05.018l-.024-.04c.08-.332.162-.668.24-.998.203-.9.25-1.245.307-1.702l.04-.028c.47-.067.585-.08 1.097-.185l.043.047-.077.287c.086-.052.168-.104.257-.15.242-.12.51-.155.658-.155.223 0 .468.062.57.323.098.232.034.52-.094 1.084l-.066.287c-.13.627-.152.743-.225 1.174l-.05.036zM15.87 12.144c-.245 0-.405-.006-.56 0-.153 0-.303.008-.532.018l-.013-.02-.015-.02c.062-.238.097-.322.128-.406.03-.084.06-.17.115-.41.072-.315.116-.535.147-.728.033-.187.052-.346.075-.53l.02-.014.02-.018c.244-.036.4-.057.56-.082.16-.024.32-.055.574-.103l.008.023.008.022c-.047.195-.094.39-.14.588-.047.197-.094.392-.137.587-.093.414-.13.57-.152.68-.02.105-.026.163-.063.377l-.022.02-.023.017zM19.542 10.728c.143-.633.033-.928-.108-1.11-.213-.273-.59-.36-.978-.36-.235 0-.793.023-1.23.43-.312.29-.458.687-.546 1.066-.088.387-.19 1.086.447 1.344.198.085.48.108.662.108.466 0 .945-.13 1.304-.513.278-.312.405-.775.448-.965zm-1.07-.046c-.02.106-.113.503-.24.673-.086.123-.19.198-.305.198-.033 0-.235 0-.238-.3-.003-.15.027-.304.063-.47.108-.478.236-.88.56-.88.255 0 .27.298.16.78zM29.536 12.187c-.493-.004-.635-.004-1.09.015l-.03-.037c.124-.472.248-.943.358-1.42.142-.62.175-.882.223-1.244l.037-.03c.49-.07.625-.09 1.135-.186l.015.044c-.093.388-.186.777-.275 1.166-.19.816-.258 1.23-.33 1.658l-.044.035z" style="fill: #FEFEFE" />\n <path d="M29.77 10.784c.144-.63-.432-.056-.525-.264-.14-.323-.052-.98-.62-1.2-.22-.085-.732.025-1.17.428-.31.29-.458.683-.544 1.062-.088.38-.19 1.078.444 1.328.2.085.384.11.567.103.638-.034 1.124-1.002 1.483-1.386.277-.303.326.115.368-.07zm-.974-.047c-.024.1-.117.503-.244.67-.083.117-.283.192-.397.192-.032 0-.232 0-.24-.3 0-.146.03-.3.067-.467.11-.47.235-.87.56-.87.254 0 .363.293.254.774zM22.332 12.144c-.41-.006-.55-.006-1.03.018l-.018-.036c.04-.182.087-.363.13-.548l.057-.25c.09-.39.176-.843.186-.98.008-.084.036-.29-.198-.29-.1 0-.203.048-.308.096-.057.207-.175.79-.232 1.055-.115.558-.124.62-.176.897l-.035.037c-.42-.006-.566-.006-1.05.018l-.022-.04.238-.998c.203-.9.25-1.245.307-1.702l.038-.028c.472-.067.587-.08 1.098-.185l.04.047-.073.287c.084-.052.17-.104.257-.15.24-.12.51-.155.655-.155.224 0 .47.062.575.323.095.232.03.52-.098 1.084l-.065.287c-.133.627-.154.743-.225 1.174l-.05.036zM26.32 8.756c-.07.326-.282.603-.554.736-.225.114-.498.123-.78.123h-.
1183l.013-.074.336-1.468.01-.076.007-.058.132.015.71.062c.275.105.388.38.31.74zM25.88 7.22l-.34.003c-.883.01-1.238.006-1.383-.012l-.037.182-.315 1.478-.793 3.288c.77-.01 1.088-.01 1.22.004l.21-1.024s.153-.644.163-.667c0 0 .047-.066.096-.092h.07c.665 0 1.417 0 2.005-.437.4-.298.675-.74.797-1.274.03-.132.054-.29.054-.446 0-.205-.04-.41-.16-.568-.3-.423-.896-.43-1.588-.433zM33.572 9.28l-.04-.043c-.502.1-.594.118-1.058.18l-.034.034-.005.023-.003-.007c-.345.803-.334.63-.615 1.26-.003-.03-.003-.048-.004-.077l-.07-1.37-.044-.043c-.53.1-.542.118-1.03.18l-.04.034-.006.056.003.007c.06.315.047.244.108.738.03.244.065.49.093.73.05.4.077.6.134 1.21-.328.55-.408.757-.722 1.238l.017.044c.478-.018.587-.018.94-.018l.08-.088c.265-.578 2.295-4.085 2.295-4.085zM16.318 9.62c.27-.19.304-.45.076-.586-.23-.137-.634-.094-.906.095-.273.186-.304.45-.075.586.228.134.633.094.905-.096z" style="fill: #FEFEFE" />\n <path d="M31.238 13.415l-.397.684c-.124.232-.357.407-.728.41l-.632-.01.184-.618h.124c.064 0 .11-.004.148-.022.03-.01.054-.035.08-.072l.233-.373h.988z" style="fill: #FEFEFE" />\n </symbol>\n\n <symbol id="icon-american-express" viewBox="0 0 40 24">\n <title>American Express</title>\n <path d="M38.333 24H1.667C.75 24 0 23.28 0 22.4V1.6C0 .72.75 0 1.667 0h36.666C39.25 0 40 .72 40 1.6v20.8c0 .88-.75 1.6-1.667 1.6z" style="fill: #FFF" />\n <path style="fill: #1478BE" d="M6.26 12.32h2.313L7.415 9.66M27.353 9.977h-3.738v1.23h3.666v1.384h-3.675v1.385h3.821v1.005c.623-.77 1.33-1.466 2.025-2.235l.707-.77c-.934-1.004-1.87-2.08-2.804-3.075v1.077z" />\n <path d="M38.25 7h-5.605l-1.328 1.4L30.072 7H16.984l-1.017 2.416L14.877 7h-9.58L1.25 16.5h4.826l.623-1.556h1.4l.623 1.556H29.99l1.327-1.483 1.328 1.483h5.605l-4.36-4.667L38.25 7zm-17.685 8.1h-1.557V9.883L16.673 15.1h-1.33L13.01 9.883l-.084 5.217H9.73l-.623-1.556h-3.27L5.132 15.1H3.42l2.884-6.772h2.42l2.645 6.233V8.33h2.646l2.107 4.51 1.868-4.51h2.575V15.1zm14.727 0h-2.024l-2.024-2.26-2.023 2.26H22.06V8.328H29.53l1.795 2.177 2.024-2.177h2.025L32.26 11.75l3.032 3.35z" style="fill: #1478BE" />\n </symbol>\n\n <symbol id="icon-jcb" viewBox="0 0 40 24">\n <title>JCB</title>\n <path d="M38.333 24H1.667C.75 24 0 23.28 0 22.4V1.6C0 .72.75 0 1.667 0h36.666C39.25 0 40 .72 40 1.6v20.8c0 .88-.75 1.6-1.667 1.6z" style="fill: #FFF" />\n <path d="M33.273 2.01h.013v17.062c-.004 1.078-.513 2.103-1.372 2.746-.63.47-1.366.67-2.14.67-.437 0-4.833.026-4.855 0-.01-.01 0-.07 0-.082v-6.82c0-.04.004-.064.033-.064h5.253c.867 0 1.344-.257 1.692-.61.44-.448.574-1.162.294-1.732-.24-.488-.736-.78-1.244-.913-.158-.04-.32-.068-.483-.083-.01 0-.064 0-.07-.006-.03-.034.023-.04.038-.046.102-.033.215-.042.32-.073.532-.164.993-.547 1.137-1.105.15-.577-.05-1.194-.524-1.552-.34-.257-.768-.376-1.187-.413-.43-.038-4.774-.022-5.21-.022-.072 0-.05-.02-.05-.09V5.63c0-.31.01-.616.073-.92.126-.592.41-1.144.815-1.59.558-.615 1.337-1.01 2.16-1.093.478-.048 4.89-.017 5.305-.017zm-4.06 8.616c.06.272-.01.567-.204.77-.173.176-.407.25-.648.253-.195.003-1.725 0-1.788 0l.003-1.645c.012-.027.02-.018.06-.018.097 0 1.713-.004 1.823.005.232.02.45.12.598.306.076.096.128.208.155.328zm-2.636 2.038h1.944c.242.002.47.063.652.228.226.204.327.515.283.815-.04.263-.194.5-.422.634-.187.112-.39.125-.6.125h-1.857v-1.8z" style="fill: #53B230" />\n <path d="M6.574 13.89c-.06-.03-.06-.018-.07-.06-.006-.026-.005-8.365.003-8.558.04-.95.487-1.857 1.21-2.47.517-.434 1.16-.71 1.83-.778.396-.04.803-.018 1.2-.018.69 0 4.11-.013 4.12 0 .008.008.002 16.758 0 17.074-.003.956-.403 1.878-1.105 2.523-.506.465-1.15.77-1.83.86-.41.056-5.02.032-5.363.032-.066 0-.054.013-.066-.024-.01-.025 0-7 0-7.17.66.178 1.35.28 2.03.348.662.067 1.33.093 1.993.062.93-.044 1.947-.192 2.712-.762.32-.238.574-.553.73-.922.148-.353.2-.736.2-1.117 0-.348.006-3.93-.016-3.942-.023-.014-2.885-.015-2.9.012-.012.022 0 3.87 0 3.95-.003.47-.16.933-.514 1.252-.468.42-1.11.47-1.707.423-.687-.055-1.357-.245-1.993-.508-.157-.065-.312-.135-.466-.208z" style="fill: #006CB9" />\n <path d="M15.95 9.835c-.025.02-.05.04-.072.06V6.05c0-.295-.012-.594.01-.888.12-1.593 1.373-2.923 2.944-3.126.382-.05 5.397-.042 5.41-.026.01.01 0 .062 0 .074v16.957c0 1.304-.725 2.52-1.89 3.1-.504.25-1.045.35-1.605.35-.322 0-4.757.015-4.834 0-.05-.01-.023.01-.035-.02-.00
17-.022 0-6.548 0-7.44v-.422c.554.48 1.256.75 1.96.908.536.12 1.084.176 1.63.196.537.02 1.076.01 1.61-.037.546-.05 1.088-.136 1.625-.244.137-.028.274-.057.41-.09.033-.006.17-.017.187-.044.013-.02 0-.097 0-.12v-1.324c-.582.292-1.19.525-1.83.652-.778.155-1.64.198-2.385-.123-.752-.326-1.2-1.024-1.274-1.837-.076-.837.173-1.716.883-2.212.736-.513 1.7-.517 2.553-.38.634.1 1.245.305 1.825.58.078.037.154.075.23.113V9.322c0-.02.013-.1 0-.118-.02-.028-.152-.038-.188-.046-.066-.016-.133-.03-.2-.045C22.38 9 21.84 8.908 21.3 8.85c-.533-.06-1.068-.077-1.603-.066-.542.01-1.086.054-1.62.154-.662.125-1.32.337-1.883.716-.085.056-.167.117-.245.18z" style="fill: #E20138" />\n </symbol>\n\n <symbol id="icon-discover" viewBox="0 0 40 24">\n <title>Discover</title>\n <path d="M38.333 24H1.667C.75 24 0 23.28 0 22.4V1.6C0 .72.75 0 1.667 0h36.666C39.25 0 40 .72 40 1.6v20.8c0 .88-.75 1.6-1.667 1.6z" style="fill: #FFF" />\n <path d="M38.995 11.75S27.522 20.1 6.5 23.5h31.495c.552 0 1-.448 1-1V11.75z" style="fill: #F48024" />\n <path d="M5.332 11.758c-.338.305-.776.438-1.47.438h-.29V8.55h.29c.694 0 1.115.124 1.47.446.37.33.595.844.595 1.372 0 .53-.224 1.06-.595 1.39zM4.077 7.615H2.5v5.515h1.57c.833 0 1.435-.197 1.963-.637.63-.52 1-1.305 1-2.116 0-1.628-1.214-2.762-2.956-2.762zM7.53 13.13h1.074V7.616H7.53M11.227 9.732c-.645-.24-.834-.397-.834-.695 0-.347.338-.61.8-.61.322 0 .587.132.867.446l.562-.737c-.462-.405-1.015-.612-1.618-.612-.975 0-1.718.678-1.718 1.58 0 .76.346 1.15 1.355 1.513.42.148.635.247.743.314.215.14.322.34.322.57 0 .448-.354.78-.834.78-.51 0-.924-.258-1.17-.736l-.695.67c.495.726 1.09 1.05 1.907 1.05 1.116 0 1.9-.745 1.9-1.812 0-.876-.363-1.273-1.585-1.72zM13.15 10.377c0 1.62 1.27 2.877 2.907 2.877.462 0 .858-.09 1.347-.32v-1.267c-.43.43-.81.604-1.297.604-1.082 0-1.85-.785-1.85-1.9 0-1.06.792-1.895 1.8-1.895.512 0 .9.183 1.347.62V7.83c-.472-.24-.86-.34-1.322-.34-1.627 0-2.932 1.283-2.932 2.887zM25.922 11.32l-1.468-3.705H23.28l2.337 5.656h.578l2.38-5.655H27.41M29.06 13.13h3.046v-.934h-1.973v-1.488h1.9v-.934h-1.9V8.55h1.973v-.935H29.06M34.207 10.154h-.314v-1.67h.33c.67 0 1.034.28 1.034.818 0 .554-.364.852-1.05.852zm2.155-.91c0-1.033-.71-1.628-1.95-1.628H32.82v5.514h1.073v-2.215h.14l1.487 2.215h1.32l-1.733-2.323c.81-.165 1.255-.72 1.255-1.563z" style="fill: #221F20" />\n <path d="M23.6 10.377c0 1.62-1.31 2.93-2.927 2.93-1.617.002-2.928-1.31-2.928-2.93s1.31-2.932 2.928-2.932c1.618 0 2.928 1.312 2.928 2.932z" style="fill: #F48024" />\n </symbol>\n\n <symbol id="icon-diners-club" viewBox="0 0 40 24">\n <title>Diners Club</title>\n <path d="M38.333 24H1.667C.75 24 0 23.28 0 22.4V1.6C0 .72.75 0 1.667 0h36.666C39.25 0 40 .72 40 1.6v20.8c0 .88-.75 1.6-1.667 1.6z" style="fill: #FFF" />\n <path d="M9.02 11.83c0-5.456 4.54-9.88 10.14-9.88 5.6 0 10.139 4.424 10.139 9.88-.002 5.456-4.54 9.88-10.14 9.88-5.6 0-10.14-4.424-10.14-9.88z" style="fill: #FEFEFE" />\n <path style="fill: #FFF" d="M32.522 22H8.5V1.5h24.022" />\n <path d="M25.02 11.732c-.003-2.534-1.607-4.695-3.868-5.55v11.102c2.26-.857 3.865-3.017 3.87-5.552zm-8.182 5.55V6.18c-2.26.86-3.86 3.017-3.867 5.55.007 2.533 1.61 4.69 3.868 5.55zm2.158-14.934c-5.25.002-9.503 4.202-9.504 9.384 0 5.182 4.254 9.38 9.504 9.382 5.25 0 9.504-4.2 9.505-9.382 0-5.182-4.254-9.382-9.504-9.384zM18.973 22C13.228 22.027 8.5 17.432 8.5 11.84 8.5 5.726 13.228 1.5 18.973 1.5h2.692c5.677 0 10.857 4.225 10.857 10.34 0 5.59-5.18 10.16-10.857 10.16h-2.692z" style="fill: #004A97" />\n </symbol>\n\n <symbol id="icon-maestro" viewBox="0 0 40 24">\n <title>Maestro</title>\n <path d="M38.333 24H1.667C.75 24 0 23.28 0 22.4V1.6C0 .72.75 0 1.667 0h36.666C39.25 0 40 .72 40 1.6v20.8c0 .88-.75 1.6-1.667 1.6z" style="fill: #FFF" />\n <path d="M14.67 22.39V21c.022-.465-.303-.86-.767-.882h-.116c-.3-.023-.603.14-.788.394-.164-.255-.442-.417-.743-.394-.256-.023-.51.116-.65.324v-.278h-.487v2.203h.487v-1.183c-.046-.278.162-.533.44-.58h.094c.325 0 .488.21.488.58v1.23h.487v-1.23c-.047-.278.162-.556.44-.58h.093c.325 0 .487.21.487.58v1.23l.534-.024zm2.712-1.09v-1.113h-.487v.28c-.162-.21-.417-.326-.695-.326-.65 0-1.16.51-1.16 1.16 0 .65.51 1.16 1.16 1.16.278 0 .533-.117.695-.325v.278h.487V21.3zm-1.786 0c.024-.37.348-.65.72-.626.37.023.65.348.626.72-.023.347-.302.625-.673.625-.372 0-.674-.28-.674-.65-.023-.047-.023-.047 0-.07zm12.085-1.16c.163 0 .325.024.465.094.14.046.278.14.37.255.11
17.115.186.23.256.37.117.3.117.626 0 .927-.046.14-.138.255-.254.37-.116.117-.232.186-.37.256-.303.116-.65.116-.952 0-.14-.046-.28-.14-.37-.255-.118-.116-.187-.232-.257-.37-.116-.302-.116-.627 0-.928.047-.14.14-.255.256-.37.115-.117.23-.187.37-.256.163-.07.325-.116.488-.093zm0 .465c-.092 0-.185.023-.278.046-.092.024-.162.094-.232.14-.07.07-.116.14-.14.232-.068.185-.068.394 0 .58.024.092.094.162.14.23.07.07.14.117.232.14.186.07.37.07.557 0 .092-.023.16-.092.23-.14.07-.068.117-.138.14-.23.07-.186.07-.395 0-.58-.023-.093-.093-.162-.14-.232-.07-.07-.138-.116-.23-.14-.094-.045-.187-.07-.28-.045zm-7.677.695c0-.695-.44-1.16-1.043-1.16-.65 0-1.16.534-1.137 1.183.023.65.534 1.16 1.183 1.136.325 0 .65-.093.905-.302l-.23-.348c-.187.14-.42.232-.65.232-.326.023-.627-.21-.673-.533h1.646v-.21zm-1.646-.21c.023-.3.278-.532.58-.532.3 0 .556.232.556.533h-1.136zm3.664-.346c-.207-.116-.44-.186-.695-.186-.255 0-.417.093-.417.255 0 .163.162.186.37.21l.233.022c.488.07.766.278.766.672 0 .395-.37.72-1.02.72-.348 0-.673-.094-.95-.28l.23-.37c.21.162.465.232.743.232.324 0 .51-.094.51-.28 0-.115-.117-.185-.395-.23l-.232-.024c-.487-.07-.765-.302-.765-.65 0-.44.37-.718.927-.718.325 0 .627.07.905.232l-.21.394zm2.32-.116h-.788v.997c0 .23.07.37.325.37.14 0 .3-.046.417-.115l.14.417c-.186.116-.395.162-.604.162-.58 0-.765-.302-.765-.812v-1.02h-.44v-.44h.44v-.673h.487v.672h.79v.44zm1.67-.51c.117 0 .233.023.35.07l-.14.463c-.093-.045-.21-.045-.302-.045-.325 0-.464.208-.464.58v1.25h-.487v-2.2h.487v.277c.116-.255.325-.37.557-.394z" style="fill: #000" />\n <path style="fill: #7673C0" d="M23.64 3.287h-7.305V16.41h7.306" />\n <path d="M16.8 9.848c0-2.55 1.183-4.985 3.2-6.56C16.384.435 11.12 1.06 8.29 4.7 5.435 8.32 6.06 13.58 9.703 16.41c3.038 2.387 7.283 2.387 10.32 0-2.04-1.578-3.223-3.99-3.223-6.562z" style="fill: #EB001B" />\n <path d="M33.5 9.848c0 4.613-3.735 8.346-8.35 8.346-1.88 0-3.69-.626-5.15-1.785 3.618-2.83 4.245-8.092 1.415-11.71-.418-.532-.882-.996-1.415-1.413C23.618.437 28.883 1.06 31.736 4.7 32.873 6.163 33.5 7.994 33.5 9.85z" style="fill: #00A1DF" />\n </symbol>\n\n <symbol id="logoPayPal" viewBox="0 0 48 29">\n <title>PayPal Logo</title>\n <path d="M46 29H2c-1.1 0-2-.87-2-1.932V1.934C0 .87.9 0 2 0h44c1.1 0 2 .87 2 1.934v25.134C48 28.13 47.1 29 46 29z" fill-opacity="0" style="fill: #FFF" />\n <path d="M31.216 16.4c.394-.7.69-1.5.886-2.4.196-.8.196-1.6.1-2.2-.1-.7-.396-1.2-.79-1.7-.195-.3-.59-.5-.885-.7.1-.8.1-1.5 0-2.1-.1-.6-.394-1.1-.886-1.6-.885-1-2.56-1.6-4.922-1.6h-6.4c-.492 0-.787.3-.886.8l-2.658 17.2c0 .2 0 .3.1.4.097.1.294.2.393.2h4.036l-.295 1.8c0 .1 0 .3.1.4.098.1.195.2.393.2h3.35c.393 0 .688-.3.786-.7v-.2l.59-4.1v-.2c.1-.4.395-.7.788-.7h.59c1.675 0 3.152-.4 4.137-1.1.59-.5 1.083-1 1.478-1.7h-.002z" style="fill: #263B80" />\n <path d="M21.364 9.4c0-.3.196-.5.492-.6.098-.1.196-.1.394-.1h5.02c.592 0 1.183 0 1.675.1.1 0 .295.1.394.1.098 0 .294.1.393.1.1 0 .1 0 .197.102.295.1.492.2.69.3.295-1.6 0-2.7-.887-3.8-.985-1.1-2.658-1.6-4.923-1.6h-6.4c-.49 0-.885.3-.885.8l-2.758 17.3c-.098.3.197.6.59.6h3.94l.985-6.4 1.083-6.9z" style="fill: #263B80" />\n <path d="M30.523 9.4c0 .1 0 .3-.098.4-.887 4.4-3.742 5.9-7.484 5.9h-1.87c-.492 0-.787.3-.886.8l-.985 6.2-.296 1.8c0 .3.196.6.492.6h3.348c.394 0 .69-.3.787-.7v-.2l.592-4.1v-.2c.1-.4.394-.7.787-.7h.69c3.248 0 5.808-1.3 6.497-5.2.296-1.6.197-3-.69-3.9-.196-.3-.49-.5-.885-.7z" style="fill: #159BD7" />\n <path d="M29.635 9c-.098 0-.295-.1-.394-.1-.098 0-.294-.1-.393-.1-.492-.102-1.083-.102-1.673-.102h-5.022c-.1 0-.197 0-.394.1-.198.1-.394.3-.492.6l-1.083 6.9v.2c.1-.5.492-.8.886-.8h1.87c3.742 0 6.598-1.5 7.484-5.9 0-.1 0-.3.098-.4-.196-.1-.492-.2-.69-.3 0-.1-.098-.1-.196-.1z" style="fill: #232C65" />\n </symbol>\n\n <symbol id="logoPayPalCredit" viewBox="0 0 48 29">\n <title>PayPal Credit Logo</title>\n <path d="M46 29H2c-1.1 0-2-.87-2-1.932V1.934C0 .87.9 0 2 0h44c1.1 0 2 .87 2 1.934v25.134C48 28.13 47.1 29 46 29z" fill-opacity="0" style="fill: #FFF" fill-rule="nonzero" />\n <path d="M27.44 21.6h.518c1.377 0 2.67-.754 2.953-2.484.248-1.588-.658-2.482-2.14-2.482h-.38c-.093 0-.172.067-.187.16l-.763 4.805zm-1.254-6.646c.024-.158.16-.273.32-.273h2.993c2.47 0 4.2 1.942 3.81 4.436-.4 2.495-2.752 4.436-5.21 4.436h-3.05c-.116 0-.205-.104-.187-.218l1.323-8.38zM22.308 16.907l-.192 1.21h2.38c.116 0 .204.103.186.217l-.23 1.462c-.023.157-.16.273-.318.273h-2.048c-.16 0-.294.114-.32.27l-.203 1.26h2.52c.117 0 .205.102.187.217l-.228 1.46c-.025.16-.16.275-.32.275h-4.55c-.116 0-.204-.104-.186-.218l1.322-8.38c.025-.158.16-.273.32-.273h4.55c.116 0 .205.104.187.22l-.23 1.46c-.024.158-.16.274-.32.274H22.63c-.16 0-.295.115-.32.273M35.325 23.552h-1.81c-.115 0-.203-.104-.185-.218l1.322-8.38c.025-.158.16-.273.32-.273h1.81c.115 0 .203.104.185.22l-1.322 8.38c-.025.156-.16.272-.32.272M14.397 18.657h.224c.754 0 1.62-.14 1.777-1.106.158-.963-.345-1.102-1.
115-1.104h-.326c-.097 0-.18.07-.197.168l-.326 2.043zm3.96 4.895h-2.37c-.102 0-.194-.058-.238-.15l-1.565-3.262h-.023l-.506 3.19c-.02.128-.13.222-.26.222h-1.86c-.116 0-.205-.104-.187-.218l1.33-8.432c.02-.128.13-.22.26-.22h3.222c1.753 0 2.953.834 2.66 2.728-.2 1.224-1.048 2.283-2.342 2.506l2.037 3.35c.076.125-.014.286-.16.286zM40.216 23.552h-1.808c-.116 0-.205-.104-.187-.218l1.06-6.7h-1.684c-.116 0-.205-.104-.187-.218l.228-1.462c.025-.157.16-.273.32-.273h5.62c.116 0 .205.104.186.22l-.228 1.46c-.025.158-.16.274-.32.274h-1.63l-1.05 6.645c-.025.156-.16.272-.32.272M11.467 17.202c-.027.164-.228.223-.345.104-.395-.405-.975-.62-1.6-.62-1.41 0-2.526 1.083-2.75 2.458-.21 1.4.588 2.41 2.022 2.41.592 0 1.22-.225 1.74-.6.144-.105.34.02.313.194l-.328 2.03c-.02.12-.108.22-.226.254-.702.207-1.24.355-1.9.355-3.823 0-4.435-3.266-4.238-4.655.553-3.894 3.712-4.786 5.65-4.678.623.034 1.182.117 1.73.323.177.067.282.25.252.436l-.32 1.99" style="fill: #21306F" />\n <path d="M23.184 7.67c-.11.717-.657.717-1.186.717h-.302l.212-1.34c.013-.08.082-.14.164-.14h.138c.36 0 .702 0 .877.206.105.123.137.305.097.557zm-.23-1.87h-1.998c-.137 0-.253.098-.274.233l-.808 5.123c-.016.1.062.192.165.192h1.024c.095 0 .177-.07.192-.164l.23-1.452c.02-.135.136-.235.273-.235h.63c1.317 0 2.076-.636 2.275-1.898.09-.553.003-.987-.255-1.29-.284-.334-.788-.51-1.456-.51z" style="fill: #0093C7" />\n <path d="M8.936 7.67c-.11.717-.656.717-1.186.717h-.302l.212-1.34c.013-.08.082-.14.164-.14h.138c.36 0 .702 0 .877.206.104.123.136.305.096.557zm-.23-1.87H6.708c-.136 0-.253.098-.274.233l-.808 5.123c-.016.1.062.192.165.192h.955c.136 0 .252-.1.274-.234l.217-1.382c.02-.135.137-.235.274-.235h.633c1.316 0 2.075-.636 2.274-1.898.09-.553.003-.987-.255-1.29-.284-.334-.788-.51-1.456-.51zM13.343 9.51c-.092.545-.526.912-1.08.912-.277 0-.5-.09-.642-.258-.14-.168-.193-.406-.148-.672.086-.542.527-.92 1.072-.92.27 0 .492.09.637.26.148.172.205.412.163.677zm1.334-1.863h-.957c-.082 0-.152.06-.164.14l-.042.268-.067-.097c-.208-.3-.67-.4-1.13-.4-1.057 0-1.96.8-2.135 1.923-.092.56.038 1.097.356 1.47.29.344.708.487 1.204.487.852 0 1.325-.548 1.325-.548l-.043.265c-.016.1.062.193.164.193h.862c.136 0 .253-.1.274-.234l.517-3.275c.017-.102-.06-.193-.163-.193z" style="fill: #21306F" />\n <path d="M27.59 9.51c-.09.545-.525.912-1.078.912-.278 0-.5-.09-.643-.258-.142-.168-.195-.406-.15-.672.086-.542.526-.92 1.07-.92.273 0 .494.09.64.26.146.172.203.412.16.677zm1.334-1.863h-.956c-.082 0-.152.06-.164.14l-.043.268-.065-.097c-.208-.3-.67-.4-1.13-.4-1.057 0-1.96.8-2.136 1.923-.092.56.038 1.097.355 1.47.292.344.71.487 1.205.487.852 0 1.325-.548 1.325-.548l-.043.265c-.016.1.062.193.164.193h.862c.136 0 .253-.1.274-.234l.517-3.275c.015-.102-.063-.193-.166-.193z" style="fill: #0093C7" />\n <path d="M19.77 7.647h-.96c-.092 0-.178.045-.23.122L17.254 9.72l-.562-1.877c-.035-.118-.143-.198-.266-.198h-.945c-.113 0-.194.112-.157.22l1.06 3.108-.997 1.404c-.078.11 0 .262.136.262h.96c.092 0 .177-.044.23-.12l3.196-4.614c.077-.11-.002-.26-.137-.26" style="fill: #21306F" />\n <path d="M30.052 5.94l-.82 5.216c-.016.1.062.192.165.192h.824c.138 0 .254-.1.275-.234l.81-5.122c.015-.1-.064-.193-.166-.193h-.924c-.082 0-.15.06-.164.14" style="fill: #0093C7" />\n </symbol>\n\n <symbol id="iconCardFront" viewBox="0 0 48 29">\n <title>Generic Card</title>\n <path d="M46.177 29H1.823C.9 29 0 28.13 0 27.187V1.813C0 .87.9 0 1.823 0h44.354C47.1 0 48 .87 48 1.813v25.375C48 28.13 47.1 29 46.177 29z" style="fill: #FFF" />\n <path d="M4.8 9.14c0-.427.57-.973 1.067-.973h7.466c.496 0 1.067.546 1.067.972v3.888c0 .425-.57.972-1.067.972H5.867c-.496 0-1.067-.547-1.067-.972v-3.89z" style="fill: #828282" />\n <rect style="fill: #828282" x="10.8" y="22.167" width="3.6" height="2.333" rx="1.167" />\n <rect style="fill: #828282" x="4.8" y="22.167" width="3.6" height="2.333" rx="1.167" />\n <path d="M6.55 16.333h34.9c.966 0 1.75.784 1.75 1.75 0 .967-.784 1.75-1.75 1.75H6.55c-.966 0-1.75-.783-1.75-1.75 0-.966.784-1.75 1.75-1.75z" style="fill: #828282" />\n <ellipse style="fill: #828282" cx="40.2" cy="6.417" rx="3" ry="2.917" />\n </symbol>
1\n\n <symbol id="iconCVVBack" viewBox="0 0 40 24">\n <title>CVV Back</title>\n <path d="M38.48 24H1.52C.75 24 0 23.28 0 22.5v-21C0 .72.75 0 1.52 0h36.96C39.25 0 40 .72 40 1.5v21c0 .78-.75 1.5-1.52 1.5z" style="fill: #FFF"/>\n <path style="fill: #828282" d="M0 5h40v4H0z" />\n <path d="M20 13.772v5.456c0 .423.37.772.82.772h13.36c.45 0 .82-.35.82-.772v-5.456c0-.423-.37-.772-.82-.772H20.82c-.45 0-.82.35-.82.772zm-1-.142c0-.9.76-1.63 1.68-1.63h13.64c.928 0 1.68.737 1.68 1.63v5.74c0 .9-.76 1.63-1.68 1.63H20.68c-.928 0-1.68-.737-1.68-1.63v-5.74z" style="fill: #000" fill-rule="nonzero" />\n <circle style="fill: #828282" cx="23.5" cy="16.5" r="1.5" />\n <circle style="fill: #828282" cx="27.5" cy="16.5" r="1.5" />\n <circle style="fill: #828282" cx="31.5" cy="16.5" r="1.5" />\n </symbol>\n\n <symbol id="iconCVVFront" viewBox="0 0 40 24">\n <title>CVV Front</title>\n <path d="M38.48 24H1.52C.75 24 0 23.28 0 22.5v-21C0 .72.75 0 1.52 0h36.96C39.25 0 40 .72 40 1.5v21c0 .78-.75 1.5-1.52 1.5z" style="fill: #FFF" />\n <path d="M16 5.772v5.456c0 .423.366.772.81.772h17.38c.444 0 .81-.348.81-.772V5.772C35 5.35 34.634 5 34.19 5H16.81c-.444 0-.81.348-.81.772zm-1-.142c0-.9.75-1.63 1.66-1.63h17.68c.917 0 1.66.737 1.66 1.63v5.74c0 .9-.75 1.63-1.66 1.63H16.66c-.917 0-1.66-.737-1.66-1.63V5.63z" style="fill: #000" fill-rule="nonzero" />\n <circle style="fill: #828282" cx="19.5" cy="8.5" r="1.5" />\n <circle style="fill: #828282" cx="27.5" cy="8.5" r="1.5" />\n <circle style="fill: #828282" cx="23.5" cy="8.5" r="1.5" />\n <circle style="fill: #828282" cx="31.5" cy="8.5" r="1.5" />\n <path d="M4 7.833C4 7.47 4.476 7 4.89 7h6.22c.414 0 .89.47.89.833v3.334c0 .364-.476.833-.89.833H4.89c-.414 0-.89-.47-.89-.833V7.833zM4 18.5c0-.828.668-1.5 1.5-1.5h29c.828 0 1.5.666 1.5 1.5 0 .828-.668 1.5-1.5 1.5h-29c-.828 0-1.5-.666-1.5-1.5z" style="fill: #828282" />\n </symbol>\n\n <symbol id="iconCheck" viewBox="0 0 42 32">\n <title>Check</title>\n <path class="path1" d="M14.379 29.76L39.741 3.415 36.194.001l-21.815 22.79-10.86-11.17L0 15.064z" />\n </symbol>\n\n <symbol id="iconX" viewBox="0 0 32 32">\n <title>X</title>\n <path d="M29 3.54L25.46 0 14.5 10.97 3.54 0.01 0 3.54 10.96 14.5 0.01 25.46 3.54 28.99 14.5 18.04 25.46 29 28.99 25.46 18.03 14.5 29 3.54z"/>\n </symbol>\n\n <symbol id="iconLockLoader" viewBox="0 0 28 32">\n <title>Lock Loader</title>\n <path d="M6 10V8c0-4.422 3.582-8 8-8 4.41 0 8 3.582 8 8v2h-4V7.995C18 5.79 16.205 4 14 4c-2.21 0-4 1.792-4 3.995V10H6zM.997 14c-.55 0-.997.445-.997.993v16.014c0 .548.44.993.997.993h26.006c.55 0 .997-.445.997-.993V14.993c0-.548-.44-.993-.997-.993H.997z" />\n </symbol>\n\n <symbol id="iconError" height="24" viewBox="0 0 24 24" width="24">\n <path d="M0 0h24v24H0z" style="fill: none" />
1\n <path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z" />\n </symbol>\n\n <symbol id="logoApplePay" viewBox="0 0 165.52 105.97" width="24">\n <title>Apple Pay Logo</title>\n <defs>\n <style>\n .cls-1{fill:#231f20;}.cls-2{fill:#fff;}\n </style>\n </defs>\n <path id="_Path_" data-name="<Path>" class="cls-1" d="M150.7 0h-139a20.78 20.78 0 0 0-3.12.3 10.51 10.51 0 0 0-3 1 9.94 9.94 0 0 0-4.31 4.32 10.46 10.46 0 0 0-1 3A20.65 20.65 0 0 0 0 11.7v82.57a20.64 20.64 0 0 0 .3 3.11 10.46 10.46 0 0 0 1 3 9.94 9.94 0 0 0 4.35 4.35 10.47 10.47 0 0 0 3 1 20.94 20.94 0 0 0 3.11.27h142.06a21 21 0 0 0 3.11-.27 10.48 10.48 0 0 0 3-1 9.94 9.94 0 0 0 4.35-4.35 10.4 10.4 0 0 0 1-3 20.63 20.63 0 0 0 .27-3.11V11.69a20.64 20.64 0 0 0-.27-3.11 10.4 10.4 0 0 0-1-3 9.94 9.94 0 0 0-4.35-4.35 10.52 10.52 0 0 0-3-1 20.84 20.84 0 0 0-3.1-.23h-1.43z"/>\n <path id="_Path_2" data-name="<Path>" class="cls-2" d="M150.7 3.53h3.03a17.66 17.66 0 0 1 2.58.22 7 7 0 0 1 2 .65 6.41 6.41 0 0 1 2.8 2.81 6.88 6.88 0 0 1 .64 2 17.56 17.56 0 0 1 .22 2.58v82.38a17.54 17.54 0 0 1-.22 2.59 6.85 6.85 0 0 1-.64 2 6.41 6.41 0 0 1-2.81 2.81 6.92 6.92 0 0 1-2 .65 18 18 0 0 1-2.57.22H11.79a18 18 0 0 1-2.58-.22 6.94 6.94 0 0 1-2-.65 6.41 6.41 0 0 1-2.8-2.8 6.93 6.93 0 0 1-.65-2 17.47 17.47 0 0 1-.22-2.58v-82.4a17.49 17.49 0 0 1 .22-2.59 6.92 6.92 0 0 1 .65-2 6.41 6.41 0 0 1 2.8-2.8 7 7 0 0 1 2-.65 17.63 17.63 0 0 1 2.58-.22H150.7"/>\n <g id="_Group_" data-name="<Group>">\n <g id="_Group_2" data-name="<Group>">\n <path id="_Path_3" data-name="<Path>" class="cls-1" d="M43.51 35.77a9.15 9.15 0 0 0 2.1-6.52 9.07 9.07 0 0 0-6 3.11 8.56 8.56 0 0 0-2.16 6.27 7.57 7.57 0 0 0 6.06-2.86"/>\n <path id="_Path_4" data-name="<Path>" class="cls-1" d="M45.59 39.08c-3.35-.2-6.2 1.9-7.79 1.9s-4-1.8-6.7-1.75a9.87 9.87 0 0 0-8.4 5.1c-3.6 6.2-.95 15.4 2.55 20.45 1.7 2.5 3.75 5.25 6.45 5.15s3.55-1.65 6.65-1.65 4 1.65 6.7 1.6 4.55-2.5 6.25-5a22.2 22.2 0 0 0 2.8-5.75 9.08 9.08 0 0 1-5.45-8.25A9.26 9.26 0 0 1 53 43.13a9.57 9.57 0 0 0-7.45-4"/>\n </g>\n <g id="_Group_3" data-name="<Group>">\n <path id="_Compound_Path_" data-name="<Compound Path>" class="cls-1" d="M79 32.11c7.28 0 12.35 5 12.35 12.32S86.15 56.8 78.79 56.8h-8.06v12.82h-5.82V32.11zm-8.27 19.81h6.68c5.07 0 8-2.73 8-7.46S82.48 37 77.44 37h-6.71z"/>\n <path id="_Compound_Path_2" data-name="<Compound Path>" class="cls-1" d="M92.76 61.85c0-4.81 3.67-7.56 10.42-8l7.25-.44v-2.06c0-3-2-4.7-5.56-4.7-2.94 0-5.07 1.51-5.51 3.82h-5.24c.16-4.86 4.73-8.4 10.92-8.4 6.65 0 11 3.48 11 8.89v18.66h-5.38v-4.5h-.13a9.59 9.59 0 0 1-8.58 4.78c-5.42 0-9.19-3.22-9.19-8.05zm17.68-2.42v-2.11l-6.47.42c-3.64.23-5.54 1.59-5.54 4s2 3.77 5.07 3.77c3.95-.05 6.94-2.57 6.94-6.08z"/>\n <path id="_Compound_Path_3" data-name="<Compound Path>" class="cls-1" d="M121 79.65v-4.5a17.14 17.14 0 0 0 1.72.1c2.57 0 4-1.09 4.91-3.9l.52-1.66-9.88-27.29h6.08l6.86 22.15h.13l6.86-22.15h5.93l-10.21 28.67c-2.34 6.58-5 8.73-10.68 8.73a15.93 15.93 0 0 1-2.24-.15z"/>\n </g>\n </g>\n </symbol>\n <symbol id="logoGooglePay" viewbox="0 0 752 400" >\n <g>\n <title>Google Pay Mark</title>\n <path d="m552.7,0l-352,0c-110,0 -200,90 -200,200l0,0c0,110 90,200 200,200l352,0c110,0 200,-90 200,-200l0,0c0,-110 -90,-200 -200,-200z" fill="#FFFFFF" id="Base_1_"/>\n <path d="m552.7,16.2c24.7,0 48.7,4.9 71.3,14.5c21.9,9.3 41.5,22.6 58.5,39.5c16.9,16.9 30.2,36.6 39.5,58.5c9.6,22.6 14.5,46.6 14.5,71.3s-4.9,48.7 -14.5,71.3c-9.3,21.9 -22.6,41.5 -39.5,58.5c-16.9,16.9 -36.6,30.2 -58.5,39.5c-22.6,9.6 -46.6,14.5 -71.3,14.5l-352,0c-24.7,0 -48.7,-4.9 -71.3,-14.5c-21.9,-9.3 -41.5,-22.6 -58.5,-39.5c-16.9,-16.9 -30.2,-36.6 -39.5,-58.5c-9.6,-22.6 -14.5,-46.6 -14.5,-71.3s4.9,-48.7 14.5,-71.3c9.3,-21.9 22.6,-41.5 39.5,-58.5c16.9,-16.9 36.6,-30.2 58.5,-39.5c22.6,-9.6 46.6,-14.5 71.3,-14.5l352,0m0,-16.2l-352,0c-110,0 -200,90 -200,200l0,0c0,110 90,200 200,200l352,0c110,0 200,-90 200,-200l0,0c0,-110 -90,-200 -200,-200l0,0z" fill="#3C4043" id="Outline"/>\n <g id="G_Pay_Lockup_1_">\n <g id="Pay_Typeface_3_">\n <path d="m359.3,214.2l0,60.5l-19.2,0l0,-149.4l50.9,0c12.9,0 23.9,4.3 32.9,12.9c9.2,8.6 13.8,19.1 13.8,31.5c0,12.7 -4.6,23.2 -13.8,31.7c-8.9,8.5 -19.9,12.7 -32.9,12.7l-31.7,0l0,0.1zm0,-70.5l0,52.1l32.1,0c
17.6,0 14,-2.6 19,-7.7c5.1,-5.1 7.7,-11.3 7.7,-18.3c0,-6.9 -2.6,-13 -7.7,-18.1c-5,-5.3 -11.3,-7.9 -19,-7.9l-32.1,0l0,-0.1z" fill="#3C4043" id="Letter_p_3_"/>\n <path d="m487.9,169.1c14.2,0 25.4,3.8 33.6,11.4c8.2,7.6 12.3,18 12.3,31.2l0,63l-18.3,0l0,-14.2l-0.8,0c-7.9,11.7 -18.5,17.5 -31.7,17.5c-11.3,0 -20.7,-3.3 -28.3,-10s-11.4,-15 -11.4,-25c0,-10.6 4,-19 12,-25.2c8,-6.3 18.7,-9.4 32,-9.4c11.4,0 20.8,2.1 28.1,6.3l0,-4.4c0,-6.7 -2.6,-12.3 -7.9,-17c-5.3,-4.7 -11.5,-7 -18.6,-7c-10.7,0 -19.2,4.5 -25.4,13.6l-16.9,-10.6c9.3,-13.5 23.1,-20.2 41.3,-20.2zm-24.8,74.2c0,5 2.1,9.2 6.4,12.5c4.2,3.3 9.2,5 14.9,5c8.1,0 15.3,-3 21.6,-9s9.5,-13 9.5,-21.1c-6,-4.7 -14.3,-7.1 -25,-7.1c-7.8,0 -14.3,1.9 -19.5,5.6c-5.3,3.9 -7.9,8.6 -7.9,14.1z" fill="#3C4043" id="Letter_a_3_"/>\n <path d="m638.2,172.4l-64,147.2l-19.8,0l23.8,-51.5l-42.2,-95.7l20.9,0l30.4,73.4l0.4,0l29.6,-73.4l20.9,0z" fill="#3C4043" id="Letter_y_3_"/>\n </g>\n <g id="G_Mark_1_">\n <path d="m282.93,202c0,-6.26 -0.56,-12.25 -1.6,-18.01l-80.48,0l0,33l46.35,0.01c-1.88,10.98 -7.93,20.34 -17.2,26.58l0,21.41l27.59,0c16.11,-14.91 25.34,-36.95 25.34,-62.99z" fill="#4285F4" id="Blue_500"/>\n <path d="m230.01,243.58c-7.68,5.18 -17.57,8.21 -29.14,8.21c-22.35,0 -41.31,-15.06 -48.1,-35.36l-28.46,0l0,22.08c14.1,27.98 43.08,47.18 76.56,47.18c23.14,0 42.58,-7.61 56.73,-20.71l-27.59,-21.4z" fill="#34A853" id="Green_500_1_"/>\n <path d="m150.09,200.05c0,-5.7 0.95,-11.21 2.68,-16.39l0,-22.08l-28.46,0c-5.83,11.57 -9.11,24.63 -9.11,38.47s3.29,26.9 9.11,38.47l28.46,-22.08c-1.73,-5.18 -2.68,-10.69 -2.68,-16.39z" fill="#FABB05" id="Yellow_500_1_"/>\n <path d="m200.87,148.3c12.63,0 23.94,4.35 32.87,12.85l24.45,-24.43c-14.85,-13.83 -34.21,-22.32 -57.32,-22.32c-33.47,0 -62.46,19.2 -76.56,47.18l28.46,22.08c6.79,-20.3 25.75,-35.36 48.1,-35.36z" fill="#E94235" id="Red_500"/>\n </g>\n </g>\n </g>\n </symbol>\n\n <symbol id="logoVenmo" viewBox="0 0 48 32">\n <title>Venmo</title>\n <g fill="none" fill-rule="evenodd">\n <rect fill="#3D95CE" width="47.4074074" height="31.6049383" rx="3.16049383"/>\n <path d="M33.1851852,10.1131555 C33.1851852,14.8373944 29.2425262,20.9745161 26.0425868,25.2839506 L18.7337285,25.2839506 L15.8024691,7.35534396 L22.202175,6.73384536 L23.7519727,19.4912014 C25.2000422,17.0781163 26.9870326,13.2859484 26.9870326,10.7005 C26.9870326,9.28531656 26.7500128,8.32139205 26.3796046,7.52770719 L32.207522,6.32098765 C32.8813847,7.45939896 33.1851852,8.63196439 33.1851852,10.1131555 Z" fill="#FFF"/>\n </g>\n </symbol>\n <symbol id="buttonVenmo" viewBox="0 0 295 42">\n <g fill="none" fill-rule="evenodd">\n <rect fill="#3D95CE" width="295" height="42" rx="3"/>\n <path d="M11.3250791 0C11.7902741.780434316 12 1.58428287 12 2.59970884 12 5.838396 9.27822123 10.0456806 7.06917212 13L2.02356829 13 0 .709099732 4.41797878.283033306 5.48786751 9.02879887C6.48752911 7.3745159 7.72116169 4.77480706 7.72116169 3.00236102 7.72116169 2.03218642 7.55753727 1.37137098 7.30182933.827262801L11.3250791 0 11.3250791 0zM17.5051689 5.68512193C18.333931 5.68512193 20.4203856 5.28483546 20.4203856 4.03281548 20.4203856 3.43161451 20.0177536 3.13172102 19.5432882 3.13172102 18.7131868 3.13172102 17.6238766 4.18269796 17.5051689 5.68512193L17.5051689 5.68512193zM17.4102028 8.1647385C17.4102028 9.69351403 18.2153451 10.293301 19.2827401 10.293301 20.4451012 10.293301 21.5580312 9.99340752 23.0045601 9.21725797L22.4597224 13.1234575C21.440541 13.649203 19.8521716 14 18.310433 14 14.3996547 14 13 11.49596 13 8.36552446 13 4.30815704 15.2767521 0 19.9706358 0 22.554932 0 24 1.52864698 24 3.65720949 24.0002435 7.08869546 19.8287953 8.13992948 17.4102028 8.1647385L17.4102028 8.1647385zM37 2.84753211C37 3.32189757 36.9261179 4.00994664 36.8526108 4.45959542L35.4649774 12.9998782 30.9621694 12.9998782 32.2279161 5.1711436C32.2519185 4.95879931 32.3256755 4.53131032 32.3256755 4.29412759 32.3256755 3.72466988 31.9603904 3.5825794 31.5212232 3.5825794 30.9379171 3.5825794 30.3532359 3.84326124 29.9638234 4.03356751L28.5281854 13 24 13 26.0686989.213683657 29.9878258.213683657 30.0374555 1.23425123C30.9
1620444.641294408 32.1795365 3.90379019e-8 33.9069526 3.90379019e-8 36.1955476-.000243475057 37 1.1387937 37 2.84753211L37 2.84753211zM51.2981937 1.39967969C52.6582977.49918987 53.9425913 0 55.7133897 0 58.1518468 0 59 1.13900518 59 2.84769558 59 3.32204771 58.9223438 4.01007745 58.8448195 4.4597136L57.3830637 12.9997565 52.6328518 12.9997565 53.9932194 5.00577861C54.0182698 4.792101 54.0708756 4.53142648 54.0708756 4.36608506 54.0708756 3.72493046 53.6854953 3.58272222 53.2224587 3.58272222 52.6325881 3.58272222 52.0429812 3.81989829 51.6052587 4.03369766L50.0914245 12.9998782 45.3423992 12.9998782 46.7027668 5.00590037C46.7278172 4.79222275 46.7788409 4.53154824 46.7788409 4.36620681 46.7788409 3.72505221 46.3933287 3.58284398 45.9318743 3.58284398 45.3153711 3.58284398 44.7000546 3.84351849 44.2893602 4.03381941L42.7740757 13 38 13 40.1814929.214042876 44.2643098.214042876 44.3925941 1.28145692C45.3423992.641763367 46.6253743.000487014507 48.3452809.000487014507 49.8344603 0 50.8094476.593061916 51.2981937 1.39967969L51.2981937 1.39967969zM67.5285327 5.39061542C67.5285327 4.29258876 67.2694573 3.54396333 66.4936812 3.54396333 64.7759775 3.54396333 64.4232531 6.76273249 64.4232531 8.4093242 64.4232531 9.65848482 64.7530184 10.4315735 65.5285529 10.4315735 67.1521242 10.4315735 67.5285327 7.03707905 67.5285327 5.39061542L67.5285327 5.39061542zM60 8.21054461C60 3.96893154 62.1170713 0 66.988027 0 70.6583423 0 72 2.29633967 72 5.46592624 72 9.65835674 69.905767 14 64.9173573 14 61.2233579 14 60 11.4294418 60 8.21054461L60 8.21054461z" transform="translate(112 14)" fill="#FFF"/>\n </g>\n </symbol>\n\n <symbol id="iconClose" width="21" height="21" viewBox="0 0 21 21" overflow="visible">\n <path d="M16 5.414L14.586 4 10 8.586 5.414 4 4 5.414 8.586 10 4 14.586 5.414 16 10 11.414 14.586 16 16 14.586 11.414 10"/>\n </symbol>\n </defs>\n</svg>\n'+i,a.appendChild(o._dropinWrapper),o._model=new l({client:o._client,container:a,componentID:o._componentID,merchantConfiguration:o._merchantConfiguration}),o._injectStylesheet(),o._model.initialize().then(function(){return o._model.on("cancelInitialization",function(t){o._dropinWrapper.innerHTML="",n.sendEvent(o._client,"load-error"),e(t)}),o._model.on("asyncDependenciesReady",function(){o._model.hasAtLeastOneAvailablePaymentOption()?(n.sendEvent(o._client,"appeared"),o._disableErroredPaymentMethods(),o._handleAppSwitch(),o._model.confirmDropinReady(),e(null,o)):o._model.cancelInitialization(new s("All payment options failed to load."))}),P.forEach(function(e){o._model.on(e,function(t){o._emit(e,t)})}),o._setUpDependenciesAndViews()}).catch(function(t){o.teardown().then(function(){e(t)})})},I.prototype.updateConfiguration=function(e,t,i){var r;if(-1!==C.indexOf(e)){if("threeDSecure"===e){this._threeDSecure&&this._threeDSecure.updateConfiguration(t,i);return}(r=this._mainView.getView(e))&&(r.updateConfiguration(t,i),-1!==T.indexOf(e)&&(this._removeUnvaultedPaymentMethods(function(t){return t.type===a.paymentMethodTypes[e]}),this._navigateToInitialView()))}},I.prototype.getAvailablePaymentOptions=function(){return this._model.supportedPaymentOptions},I.prototype.clearSelectedPaymentMethod=function(){if(this._removeUnvaultedPaymentMethods(),this._model.removeActivePaymentMethod(),0===this._model.getPaymentMethods().length){this._navigateToInitialView();return}this._mainView.showLoadingIndicator(),this._model.refreshPaymentMethods().then((function(){this._navigateToInitialView(),this._mainView.hideLoadingIndicator()}).bind(this))},I.prototype._setUpDataCollector=function(){var e=this,t=r({},e._merchantConfiguration.dataCollector,{client:e._client});this._dataCollector=new _(t),this._dataCollector.initialize().then(function(){e._model.asyncDependencyReady("dataCollector")}).catch(function(t){e._model.cancelInitialization(new s({message:"Data Collector failed to set up.",braintreeWebError:t}))})},I.prototype._setUpThreeDSecure=function(){var e=this;this._threeDSecure=new g(this._client,this._model),this._threeDSecure.initialize().then(function(){e._model.asyncDependencyReady("threeDSecure")}).catch(function(t){e._model.cancelInitialization(new s({message:"3D Secure failed to set up.",braintreeWebError:t}))})},I.prototype._setUpDependenciesAndViews=function(){this._merchantConfiguration.dataCollector&&this._setUpDataCollector(),this._merchantConfiguration.threeDSecure&&this._setUpThreeDSecure(),this._mainView=new p({client:this._client,element:this._dropinWrapper,model:this._model,strings:this._strings})},I.prototype._removeUnvaultedPaymentMethods=function(e){e=e||function(){return!0}
1,this._model.getPaymentMethods().forEach((function(t){e(t)&&!t.vaulted&&this._model.removePaymentMethod(t)}).bind(this))},I.prototype._navigateToInitialView=function(){this._mainView.primaryView.ID!==u||this._model.hasPaymentMethods()||this._mainView.setPrimaryView(this._model.getInitialViewId())},I.prototype._supportsPaymentOption=function(e){return -1!==this._model.supportedPaymentOptions.indexOf(e)},I.prototype._disableErroredPaymentMethods=function(){var e,t=Object.keys(this._model.failedDependencies);0!==t.length&&(e=this._mainView.getOptionsElements(),t.forEach((function(t){var i=e[t],r=i.div,n=i.clickHandler,s=this._model.failedDependencies[t],l=r.querySelector(".braintree-option__disabled-message");o.add(r,"braintree-disabled"),r.removeEventListener("click",n),l.innerHTML=a.errors.DEVELOPER_MISCONFIGURATION_MESSAGE,console.error(s)}).bind(this)))},I.prototype._sendVaultedPaymentMethodAppearAnalyticsEvents=function(){var e,t,i={},r=this._model._paymentMethods;for(e=0;e<r.length;e++)(t=r[e].type)in i||(i[t]=!0,n.sendEvent(this._client,"vaulted-"+a.analyticsKinds[t]+".appear"))},I.prototype._handleAppSwitch=function(){this._model.appSwitchError?(this._mainView.setPrimaryView(this._model.appSwitchError.id),this._model.reportError(this._model.appSwitchError.error)):this._model.appSwitchPayload?this._model.addPaymentMethod(this._model.appSwitchPayload):this._sendVaultedPaymentMethodAppearAnalyticsEvents()},I.prototype.requestPaymentMethod=function(e){var t=this;return e=e||{},this._mainView.requestPaymentMethod().then(function(i){return t._shouldPerformThreeDSecureVerification(i)?(t._mainView.showLoadingIndicator(),t._threeDSecure.verify(i,e.threeDSecure).then(function(e){return i.nonce=e.nonce,i.liabilityShifted=e.liabilityShifted,i.liabilityShiftPossible=e.liabilityShiftPossible,i.threeDSecureInfo=e.threeDSecureInfo,t._mainView.hideLoadingIndicator(),i}).catch(function(e){return t.clearSelectedPaymentMethod(),t._model.refreshPaymentMethods().then(function(){return t._mainView.hideLoadingIndicator(),E.reject(new s({message:"Something went wrong during 3D Secure authentication. Please try again.",braintreeWebError:e}))})})):i}).then(function(e){return t._dataCollector&&(e.deviceData=t._dataCollector.getDeviceData()),e}).then(function(e){var t;return t={nonce:e.nonce,details:e.details,type:e.type},null!=e.vaulted&&(t.vaulted=e.vaulted),e.type===a.paymentMethodTypes.card&&(t.description=e.description),e.type in A&&(t.details.rawPaymentData=e.rawPaymentData),"boolean"==typeof e.liabilityShiftPossible&&(t.liabilityShifted=e.liabilityShifted,t.liabilityShiftPossible=e.liabilityShiftPossible),e.threeDSecureInfo&&(t.threeDSecureInfo=e.threeDSecureInfo),e.deviceData&&(t.deviceData=e.deviceData),e.binData&&(t.binData=e.binData),t})},I.prototype._shouldPerformThreeDSecureVerification=function(e){return!!this._threeDSecure&&null==e.liabilityShifted&&(e.type===a.paymentMethodTypes.card||e.type===a.paymentMethodTypes.googlePay&&!1===e.details.isNetworkTokenized)},I.prototype._removeStylesheet=function(){var e=document.getElementById(a.STYLESHEET_ID);e&&e.parentNode.removeChild(e)},I.prototype._injectStylesheet=function(){var e,t={id:a.STYLESHEET_ID};document.getElementById(a.STYLESHEET_ID)||(e=this._client.getConfiguration().gatewayConfiguration.assetsUrl,t.href=e+"/web/dropin/1.31.2/css/dropin.css",this._model.isInShadowDom&&(t.container=this._model.rootNode),c.loadStylesheet(t))},I.prototype.teardown=function(){var e,t=E.resolve(),i=this;return this._removeStylesheet(),this._mainView&&t.then(function(){return i._mainView.teardown().catch(function(t){e=t})}),this._dataCollector&&t.then((function(){return this._dataCollector.teardown().catch(function(t){e=new s({message:"Drop-in errored tearing down Data Collector.",braintreeWebError:t})})}).bind(this)),this._threeDSecure&&t.then((function(){return this._threeDSecure.teardown().catch(function(t){e=new s({message:"Drop-in errored tearing down 3D Secure.",braintreeWebError:t})})}).bind(this)),t.then(function(){return i._removeDropinWrapper()}).then(function(){return e?E.reject(e):E.resolve()})},I.prototype.isPaymentMethodRequestable=function(){return this._model.isPaymentMethodRequestable()},I.prototype._removeDropinWrapper=function(){return this._dropinWrapper.parentNode.removeChild(this._dropinWrapper),E.resolve()},t.exports=b(I)},{"./constants":191,"./dropin-model":192,"./lib/analytics":196,"./lib/assign":197,"./lib/data-collector":200,"./lib/dropin-error":201,"./lib/is-utf-8":205,"./lib/promise":208,"./lib/sanitize-html":209,"./lib/three-d-secure":211,"./translations":232,"./views/main-view":251,"./views/payment-methods-view":253,"@braintree/asset-loader":1,"@braintree/class-list":39,"@braintree/event-emitter":40,"@braintree/uuid":46,"@braintree/wrap-promise":50}],194:[function(e,t,i){"use strict";var r=e("./dropin"),n=e("braintree-web/client"),o=e("./lib/create-from-script-tag"),a=e("./constants"),s=e("./lib/analytics"),l=e("./lib/dropin-error"),d=e("./lib/promise"),c=e("@braintree/wrap-promise"),p="1.31.2";function u(e){return e.authorization?n.create({authorization:e.authorization}).catch(function(e){return d.reject(new l({message:"There was an error creating Drop-in.",braintreeWebError:e}))}).then(function(t){var i,n;return"TOKENIZATION_KEY"===((n=(i=t).getConfiguration()).analyticsMetadata.integration=a.INTEGRATION,n.analyticsMetadata.integrationType=a.INTEGRATION,n.analyticsMetadata.dropinVersion=p,i.getConfiguration=function(){return n},t=i).getConfiguration().authorizationType?s.sendEvent(t,"started.tokenization-key"):s.sendEvent(t,"started.client-token"),new d(function(i,n){new r({merchantConfiguration:e,client:t})._initialize(function(e,t){if(e){n(e);return}i(t)})})}):d.reject(new l("options.authorization is required."))}o(u,"undefined"!=typeof document&&document.querySelector("script[data-braintree-dropin-authorization]")),t.exports={create:c(u),VERSION:p}},{"./constants":191,"./dropin":193,"./lib/analytics":196,"./lib/create-from-script-tag":199,"./lib/dropin-error":201,"./lib/promise":208,"@braintree/wrap-promise":50,"braintree-web/client":59}],195:[function(e,t,i){"use strict";
1t.exports=function(e,t){e.addEventListener("click",t),e.addEventListener("keyup",function(e){13===e.keyCode&&t()})}},{}],196:[function(e,t,i){"use strict";var r=e("./polyfill").atob,n=e("../constants"),o=e("braintree-web/client").VERSION;t.exports={sendEvent:function(e,t,i){var a=e.getConfiguration(),s=e._request,l=Math.floor(Date.now()/1e3),d=a.gatewayConfiguration.analytics.url,c={analytics:[{kind:n.ANALYTICS_PREFIX+t,timestamp:l}],_meta:a.analyticsMetadata,braintreeLibraryVersion:o};"TOKENIZATION_KEY"===a.authorizationType?c.tokenizationKey=a.authorization:c.authorizationFingerprint=JSON.parse(r(a.authorization)).authorizationFingerprint,s({url:d,method:"post",data:c,timeout:n.ANALYTICS_REQUEST_TIMEOUT_MS},i)}}},{"../constants":191,"./polyfill":207,"braintree-web/client":59}],197:[function(e,t,i){arguments[4][95][0].apply(i,arguments)},{dup:95}],198:[function(e,t,i){"use strict";var r=e("@braintree/browser-detection/is-ie9"),n=e("@braintree/browser-detection/is-ie10");t.exports={isIe9:r,isIe10:n}},{"@braintree/browser-detection/is-ie10":32,"@braintree/browser-detection/is-ie9":33}],199:[function(e,t,i){"use strict";var r=e("./analytics"),n=e("./find-parent-form"),o=e("@braintree/uuid"),a=e("./dropin-error"),s=e("./kebab-case-to-camel-case"),l=["locale","payment-option-priority","data-collector.kount","data-collector.paypal","card.cardholderName","card.cardholderName.required","card.cardholder-name","card.cardholder-name.required","paypal.amount","paypal.currency","paypal.flow","paypal.landing-page-type","paypal-credit.amount","paypal-credit.currency","paypal-credit.flow","paypal-credit.landing-page-type"];function d(e,t,i){var r=i.querySelector('[name="'+e+'"]');r||((r=document.createElement("input")).type="hidden",r.name=e,i.appendChild(r)),r.value=t}t.exports=function(e,t){var i,c,p,u;if(t){if(!(i=t.getAttribute("data-braintree-dropin-authorization")))throw new a("Authorization not found in data-braintree-dropin-authorization attribute");if((c=document.createElement("div")).id="braintree-dropin-"+o(),!(u=n.findParentForm(t)))throw new a("No form found for script tag integration.");u.addEventListener("submit",function(e){e.preventDefault()}),t.parentNode.insertBefore(c,t),p={authorization:i,container:c},l.forEach(function(e){var i=t.getAttribute("data-"+e);null!=i&&function e(t,i,r){var n=i.split("."),o=s(n[0]);1===n.length?t[o]=function(e){try{return JSON.parse(e)}catch(t){return e}}(r):(t[o]=t[o]||{},e(t[o],n.slice(1).join("."),r))}(p,e,i)}),e(p).then(function(e){r.sendEvent(e._client,"integration-type.script-tag"),u.addEventListener("submit",function(){e.requestPaymentMethod(function(e,t){e||(d("payment_method_nonce",t.nonce,u),t.deviceData&&d("device_data",t.deviceData,u),u.submit())})})})}}},{"./analytics":196,"./dropin-error":201,"./find-parent-form":202,"./kebab-case-to-camel-case":206,"@braintree/uuid":46}],200:[function(e,t,r){(function(i){(function(){"use strict";var r=e("../constants"),n=e("./analytics"),o=e("@braintree/asset-loader"),a=e("./promise");function s(e){this._config=e}s.prototype.initialize=function(){var e=this;return a.resolve().then(function(){var t;return i.braintree&&i.braintree.dataCollector?a.resolve():(t=e._config.client.getVersion(),o.loadScript({src:"https://js.braintreegateway.com/web/"+t+"/js/data-collector.min.js",id:r.DATA_COLLECTOR_SCRIPT_ID}))}).then(function(){return i.braintree.dataCollector.create(e._config)}).then(function(t){e._instance=t}).catch(function(t){n.sendEvent(e._config.client,"data-collector.setup-failed"),e.log(t)})},s.prototype.log=function(e){console.log(e)},s.prototype.getDeviceData=function(){return this._instance?this._instance.deviceData:""},s.prototype.teardown=function(){return this._instance?this._instance.teardown():a.resolve()},t.exports=s}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../constants":191,"./analytics":196,"./promise":208,"@braintree/asset-loader":1}],201:[function(e,t,i){"use strict";function r(e){(this.name="DropinError","string"==typeof e?this.message=e:this.message=e.message,"BraintreeError"===e.name)?this._braintreeWebError=e:this._braintreeWebError=e.braintreeWebError}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,t.exports=r},{}],202:[function(e,t,i){"use strict";
1t.exports={findParentForm:function e(t){var i=t.parentNode;return i&&"FORM"!==i.nodeName?e(i):i}}},{}],203:[function(e,t,i){"use strict";var r=e("./polyfill").atob;t.exports=function(e){var t,i=e.getConfiguration();return"TOKENIZATION_KEY"===i.authorizationType||!(t=JSON.parse(r(i.authorization)).authorizationFingerprint)||-1===t.indexOf("customer_id=")}},{"./polyfill":207}],204:[function(e,t,r){(function(e){(function(){"use strict";t.exports={isHTTPS:function(){return"https:"===e.location.protocol}}}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],205:[function(e,t,r){(function(e){(function(){"use strict";t.exports=function(t){return!!((t=t||e).document.characterSet&&"utf-8"===t.document.characterSet.toLowerCase())}}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],206:[function(e,t,i){"use strict";t.exports=function(e){var t=e.split("-");return[t.shift()].concat(t.map(function(e){return e.charAt(0).toUpperCase()+e.substring(1)})).join("")}},{}],207:[function(e,t,r){(function(e){(function(){"use strict";var i="function"==typeof e.atob?e.atob:r;function r(e){var t,i,r,n,o,a,s,l,d=RegExp("^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})([=]{1,2})?$"),c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",p="";if(!d.test(e))throw Error("Non base64 encoded input passed to window.atob polyfill");l=0;do n=c.indexOf(e.charAt(l++)),o=c.indexOf(e.charAt(l++)),a=c.indexOf(e.charAt(l++)),s=c.indexOf(e.charAt(l++)),t=(63&n)<<2|o>>4&3,i=(15&o)<<4|a>>2&15,r=(3&a)<<6|63&s,p+=String.fromCharCode(t)+(i?String.fromCharCode(i):"")+(r?String.fromCharCode(r):"");while(l<e.length);return p}t.exports={atob:function(t){return i.call(e,t)},_atob:r}}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],208:[function(e,t,r){(function(i){(function(){"use strict";var r=i.Promise||e("promise-polyfill");t.exports=r}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"promise-polyfill":186}],209:[function(e,t,i){"use strict";t.exports=function(e){return"string"!=typeof e?"":e.replace(/</g,"<").replace(/>/g,">")}},{}],210:[function(e,t,i){"use strict";t.exports=function(){var e=document.createElement("div");return["-webkit-","-moz-","-ms-","-o-",""].forEach(function(t){e.style.cssText+=t+"flex-basis: 1px"}),!!e.style.length}},{}],211:[function(e,t,i){"use strict";var r=e("./assign").assign,n=e("braintree-web/three-d-secure"),o=["customer-canceled","authentication-modal-render","authentication-modal-close"];function a(e,t){this._client=e,this._model=t,this._config=r({},t.merchantConfiguration.threeDSecure)}a.prototype.initialize=function(){var e=this,t={client:this._client,version:2};return this._config.cardinalSDKConfig&&(t.cardinalSDKConfig=this._config.cardinalSDKConfig),n.create(t).then(function(t){e._instance=t,o.forEach(function(t){e._instance.on(t,function(i){e._model._emit("3ds:"+t,i)})})})},a.prototype.verify=function(e,t){var i=r({amount:this._config.amount},t,{nonce:e.nonce,bin:e.details.bin,onLookupComplete:function(e,t){t()}});return i.additionalInformation=i.additionalInformation||{},i.additionalInformation.acsWindowSize=i.additionalInformation.acsWindowSize||"03",this._instance.verifyCard(i)},a.prototype.updateConfiguration=function(e,t){this._config[e]=t},a.prototype.teardown=function(){return this._instance.teardown()},t.exports=a},{"./assign":197,"braintree-web/three-d-secure":147}],212:[function(e,t,i){"use strict";var r=e("./browser-detection");t.exports={onTransitionEnd:function(e,t,i){if(r.isIe9()||function e(t){return!!t&&("none"===t.style.display||e(t.parentNode))}(e)){i();return}e.addEventListener("transitionend",function r(n){n.propertyName===t&&(e.removeEventListener("transitionend",r),i())})}}},{"./browser-detection":198}],213:[function(e,t,i){"use strict";var r=e("./promise");t.exports={delay:function(e){return e=e||0,new r(function(t){window.setTimeout(t,e)})}}},{"./promise":208}],214:[function(e,t,i){"use strict";
1t.exports={payingWith:"Ø§ÙØ¯Ùع باستخداÙ
{{paymentSource}}",chooseAnotherWayToPay:"اختر طرÙÙØ© Ø¯ÙØ¹ أخرÙ",chooseAWayToPay:"اختر طرÙÙØ© Ø§ÙØ¯Ùع",otherWaysToPay:"طر٠أخر٠ÙÙØ¯Ùع",edit:"ØªØØ±Ùر",doneEditing:"تÙ
",editPaymentMethods:"ØªØØ±Ùر Ø·Ø±Ù Ø§ÙØ¯Ùع",CreditCardDeleteConfirmationMessage:"ÙÙ ØªØ±ÙØ¯ ØØ°Ù Ø§ÙØ¨Ø·Ø§ÙØ© ({{secondaryIdentifier}}) Ø§ÙØªÙ ØªÙØªÙÙ Ø¨Ø§ÙØ±ÙÙ
{{identifier}}Ø",PayPalAccountDeleteConfirmationMessage:"ÙÙ ØªØ±ÙØ¯ ØØ°Ù ØØ³Ø§Ø¨ {{identifier}} عÙÙ PayPalØ",VenmoAccountDeleteConfirmationMessage:"ÙÙ ØªØ±ÙØ¯ ÙØ¹ÙØ§Ù ØØ°Ù ØØ³Ø§Ø¨ Venmo Ø§ÙØ°Ù ÙØÙ
٠اسÙ
اÙÙ
ستخدÙ
{{identifier}}Ø",genericDeleteConfirmationMessage:"ÙÙ ØªØ±ÙØ¯ ÙØ¹ÙØ§Ù ØØ°Ù طرÙÙØ© Ø§ÙØ¯Ùع ÙØ°ÙØ",deleteCancelButton:"Ø¥ÙØºØ§Ø¡",deleteConfirmationButton:"ØØ°Ù",fieldEmptyForCvv:"ÙØ±Ø¬Ù إدخا٠رÙ
ز ØÙ
Ø§ÙØ© Ø§ÙØ¨Ø·Ø§ÙØ©.",fieldEmptyForExpirationDate:"ÙØ±Ø¬Ù Ø¥Ø¯Ø®Ø§Ù ØªØ§Ø±ÙØ® Ø§ÙØªÙاء Ø§ÙØµÙاØÙØ©.",fieldEmptyForCardholderName:"ÙØ±Ø¬Ù إدخا٠اسÙ
ØµØ§ØØ¨ Ø§ÙØ¨Ø·Ø§ÙØ©.",fieldTooLongForCardholderName:"ÙØ¬Ø¨ Ø£Ù ÙÙ٠اسÙ
ØµØ§ØØ¨ Ø§ÙØ¨Ø·Ø§ÙØ© ع٠256 ØØ±ÙاÙ.",fieldEmptyForNumber:"ÙØ±Ø¬Ù إدخا٠رÙÙ
.",fieldEmptyForPostalCode:"ÙØ±Ø¬Ù Ø¥Ø¯Ø®Ø§Ù Ø§ÙØ±Ù
ز Ø§ÙØ¨Ø±ÙدÙ.",fieldInvalidForCardholderName:"اسÙ
ØØ§Ù
Ù Ø§ÙØ¨Ø·Ø§ÙØ© ØºÙØ± صØÙØ.",fieldInvalidForCvv:"رÙ
ز Ø§ÙØÙ
Ø§ÙØ© ÙØ°Ø§ ØºÙØ± صØÙØ.",fieldInvalidForExpirationDate:"ØªØ§Ø±ÙØ® Ø§ÙØªÙاء Ø§ÙØµÙاØÙØ© ÙØ°Ø§ ØºÙØ± صØÙØ.",fieldInvalidForNumber:"رÙÙ
ÙØ°Ù Ø§ÙØ¨Ø·Ø§ÙØ© ØºÙØ± صØÙØ.",fieldInvalidForPostalCode:"Ø§ÙØ±Ù
ز Ø§ÙØ¨Ø±ÙØ¯Ù ÙØ°Ø§ ØºÙØ± صØÙØ.",genericError:"ÙÙØ¹ خطأ Ù
ا Ù
Ù Ø¬Ø§ÙØ¨Ùا.",hostedFieldsTokenizationFailOnDuplicateError:"ÙØ°Ù Ø§ÙØ¨Ø·Ø§ÙØ© Ø§ÙØ§Ø¦ØªÙ
اÙÙØ© Ù
ÙØ¬Ùدة ØØ§ÙÙØ§Ù ÙØ·Ø±ÙÙØ© Ø¯ÙØ¹ Ù
ØÙÙØ¸Ø©.",hostedFieldsFailedTokenizationError:"ÙØ±Ø¬Ù Ù
راجعة Ø¨ÙØ§ÙØ§ØªÙ ÙØ¥Ø¹Ø§Ø¯Ø© اÙÙ
ØØ§ÙÙØ©.",hostedFieldsFieldsInvalidError:"ÙØ±Ø¬Ù Ù
راجعة Ø¨ÙØ§ÙØ§ØªÙ ÙØ¥Ø¹Ø§Ø¯Ø© اÙÙ
ØØ§ÙÙØ©.",hostedFieldsTokenizationNetworkErrorError:"خطأ ÙÙ Ø§ÙØ´Ø¨ÙØ©. ÙØ±Ø¬Ù إعادة اÙÙ
ØØ§ÙÙØ©.",hostedFieldsTokenizationCvvVerificationFailedError:"ÙØ´Ùت Ù
ØµØ§Ø¯ÙØ© Ø¨Ø·Ø§ÙØ© Ø§ÙØ§Ø¦ØªÙ
اÙ. ÙØ±Ø¬Ù Ù
راجعة Ø¨ÙØ§ÙØ§ØªÙ ÙØ¥Ø¹Ø§Ø¯Ø© اÙÙ
ØØ§ÙÙØ©.",paypalButtonMustBeUsed:"استخدÙ
زر PayPal ÙØ§Ø³ØªØ¦ÙØ§Ù Ø§ÙØ¯Ùع.",paypalAccountTokenizationFailedError:"ÙÙØ¹ خطأ Ø£Ø«ÙØ§Ø¡ Ø¥Ø¶Ø§ÙØ© ØØ³Ø§Ø¨ PayPal. ÙØ±Ø¬Ù إعادة اÙÙ
ØØ§ÙÙØ©.",paypalFlowFailedError:"ÙÙØ¹ خطأ Ø£Ø«ÙØ§Ø¡ Ø§ÙØ§ØªØµØ§Ù ب٠PayPal. ÙØ±Ø¬Ù إعادة اÙÙ
ØØ§ÙÙØ©.",paypalTokenizationRequestActiveError:"تÙÙÙØ¶ Ø§ÙØ¯Ùع عبر PayPal ÙÙØ¯ Ø§ÙØªÙÙÙØ°.",venmoCanceledError:"ÙÙØ¹ خطأ Ù
ا. ØªØ£ÙØ¯ Ø£Ù Ø£ØØ¯Ø« إصدار Ù
٠تطبÙÙ Venmo Ù
ثبت ÙÙ Ø¬ÙØ§Ø²Ù ÙØ£Ù Ù
ØªØµÙØÙ ÙØ¯Ø¹Ù
Ø§ÙØªØ¨Ø¯Ù٠إÙÙ Venmo.",vaultManagerPaymentMethodDeletionError:"ÙØ´Ù ØØ°Ù طرÙÙØ© Ø§ÙØ¯Ùع. أعد اÙÙ
ØØ§ÙÙØ©.",venmoAppFailedError:"تطبÙÙ Venmo ØºÙØ± Ù
ÙØ¬Ùد ÙÙ Ø¬ÙØ§Ø²Ù.",unsupportedCardTypeError:"ÙÙØ¹ ÙØ°Ù Ø§ÙØ¨Ø·Ø§ÙØ© ØºÙØ± Ù
دعÙÙ
. ÙØ±Ø¬Ù استخداÙ
Ø¨Ø·Ø§ÙØ© أخرÙ.",applePayTokenizationError:"ÙÙØ¹ خطأ ÙÙ Ø§ÙØ´Ø¨ÙØ© Ø£Ø«ÙØ§Ø¡ Ù
Ø¹Ø§ÙØ¬Ø© Ø§ÙØ¯Ùع عبر Apple Pay. ÙØ±Ø¬Ù إعادة اÙÙ
ØØ§ÙÙØ©.",applePayActiveCardError:"Ø¥Ø¶Ø§ÙØ© Ø¨Ø·Ø§ÙØ© Ù
دعÙÙ
Ø© Ø¥ÙÙ Ù
ØÙظة Apple Pay.",cardholderNameLabel:"اسÙ
ØµØ§ØØ¨ Ø§ÙØ¨Ø·Ø§ÙØ©",cardNumberLabel:"رÙÙ
Ø§ÙØ¨Ø·Ø§ÙØ©",cvvLabel:"رÙ
ز ØÙ
Ø§ÙØ© Ø§ÙØ¨Ø·Ø§ÙØ©",cvvThreeDigitLabelSubheading:"(3 Ø£Ø±ÙØ§Ù
)",cvvFourDigitLabelSubheading:"(4 Ø£Ø±ÙØ§Ù
)",cardholderNamePlaceholder:"اسÙ
ØµØ§ØØ¨ Ø§ÙØ¨Ø·Ø§ÙØ©",expirationDateLabel:"ØªØ§Ø±ÙØ® Ø§ÙØªÙاء Ø§ÙØµÙاØÙØ©",expirationDateLabelSubheading:"(MM/YY)",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"Ø§ÙØ±Ù
ز Ø§ÙØ¨Ø±ÙدÙ",saveCardLabel:"ØÙظ Ø§ÙØ¨Ø·Ø§ÙØ©",payWithCard:"Ø§ÙØ¯Ùع باستخداÙ
Ø¨Ø·Ø§ÙØ©",endingIn:"Ø§ÙØªÙ ØªÙØªÙÙ Ø¨Ø§ÙØ±ÙÙ
{{lastFourCardDigits}}
1","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Ø¨Ø·Ø§ÙØ©",PayPal:"Paypal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],215:[function(e,t,i){"use strict";t.exports={payingWith:"Způsob platby: {{paymentSource}}",chooseAnotherWayToPay:"Vybrat jin\xfd způsob platby",chooseAWayToPay:"Vybrat způsob platby",otherWaysToPay:"Jin\xe9 způsoby platby",edit:"Upravit",doneEditing:"Hotovo",editPaymentMethods:"Upravit způsoby platby",CreditCardDeleteConfirmationMessage:"Chcete kartu {{secondaryIdentifier}} s\xa0koncov\xfdm Ä\xedslem {{identifier}} odstranit?",PayPalAccountDeleteConfirmationMessage:"Chcete \xfaÄet {{identifier}} ve službÄ PayPal odstranit?",VenmoAccountDeleteConfirmationMessage:"Opravdu chcete \xfaÄet Venmo s\xa0uživatelsk\xfdm jm\xe9nem {{identifier}} odstranit?",genericDeleteConfirmationMessage:"Opravdu chcete tento způsob platby odstranit?",deleteCancelButton:"ZruÅ¡it",deleteConfirmationButton:"Odstranit",fieldEmptyForCvv:"VyplÅte k\xf3d CVV.",fieldEmptyForExpirationDate:"VyplÅte datum vyprÅ¡en\xed platnosti.",fieldEmptyForCardholderName:"VyplÅte jm\xe9no držitele karty.",fieldTooLongForCardholderName:"Jm\xe9no držitele karty mus\xed obsahovat m\xe9nÄ než 256\xa0znaků.",fieldEmptyForNumber:"VyplÅte Ä\xedslo.",fieldEmptyForPostalCode:"VyplÅte PSÄ.",fieldInvalidForCardholderName:"Toto jm\xe9no držitele karty nen\xed platn\xe9.",fieldInvalidForCvv:"Tento bezpeÄnostn\xed k\xf3d nen\xed platn\xfd.",fieldInvalidForExpirationDate:"Toto datum vyprÅ¡en\xed platnosti nen\xed platn\xe9.",fieldInvalidForNumber:"Toto Ä\xedslo karty nen\xed platn\xe9.",fieldInvalidForPostalCode:"Toto PSÄ nen\xed platn\xe9.",genericError:"DoÅ¡lo k\xa0chybÄ na naÅ¡\xed stranÄ.",hostedFieldsTokenizationFailOnDuplicateError:"Tato kreditn\xed karta je již jako způsob platby uložena.",hostedFieldsFailedTokenizationError:"Zkontrolujte zadan\xe9 \xfadaje a\xa0zkuste to znovu.",hostedFieldsFieldsInvalidError:"Zkontrolujte zadan\xe9 \xfadaje a\xa0zkuste to znovu.",hostedFieldsTokenizationNetworkErrorError:"DoÅ¡lo k\xa0chybÄ s\xedtÄ. Zkuste to znovu.",hostedFieldsTokenizationCvvVerificationFailedError:"OvÄÅen\xed kreditn\xed karty se nezdaÅilo. Zkontrolujte zadan\xe9 \xfadaje a\xa0zkuste to znovu.",paypalButtonMustBeUsed:"Chcete-li pÅej\xedt k\xa0platbÄ, použijte tlaÄ\xedtko PayPal.",paypalAccountTokenizationFailedError:"PÅi pÅid\xe1v\xe1n\xed \xfaÄtu PayPal doÅ¡lo k\xa0chybÄ. Zkuste to znovu.",paypalFlowFailedError:"PÅi pÅipojov\xe1n\xed ke službÄ PayPal doÅ¡lo k\xa0chybÄ. Zkuste to znovu.",paypalTokenizationRequestActiveError:"Autorizace platby pÅes PayPal již prob\xedh\xe1.",venmoCanceledError:"DoÅ¡lo k\xa0chybÄ. Zkontrolujte, zda m\xe1te v\xa0zaÅ\xedzen\xed nainstalovanou nejnovÄjÅ¡\xed verzi aplikace Venmo a\xa0zda prohl\xedžeÄ pÅechod na aplikaci Venmo podporuje.",vaultManagerPaymentMethodDeletionError:"Způsob platby se nepodaÅilo odstranit. Zkuste to znovu.",venmoAppFailedError:"Aplikaci Venmo se ve vaÅ¡em zaÅ\xedzen\xed nepodaÅilo naj\xedt.",unsupportedCardTypeError:"Tento typ karty nen\xed podporov\xe1n. VyzkouÅ¡ejte jinou kartu.",applePayTokenizationError:"PÅi zpracov\xe1n\xed platby pÅes Apple Pay doÅ¡lo k\xa0chybÄ s\xedtÄ. Zkuste to znovu.",applePayActiveCardError:"PÅidejte si podporovanou kartu do penÄženky Apple Pay.",cardholderNameLabel:"Jm\xe9no držitele karty",cardNumberLabel:"Ä\xedslo karty",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3\xa0Ä\xedslice)",cvvFourDigitLabelSubheading:"(4\xa0Ä\xedslice)",cardholderNamePlaceholder:"Jm\xe9no držitele karty",expirationDateLabel:"Datum vyprÅ¡en\xed platnosti",expirationDateLabelSubheading:"(MM/RR)",expirationDatePlaceholder:"MM/RR",postalCodeLabel:"PSÄ",saveCardLabel:"Uložit kartu",payWithCard:"Zaplatit kartou",endingIn:"Koncov\xe9 Ä\xedslo: {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Karta",PayPal:"SpoleÄnost PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],216:[function(e,t,i){"use strict";
1t.exports={payingWith:"Betaler med {{paymentSource}}",chooseAnotherWayToPay:"V\xe6lg en anden betalingsmetode",chooseAWayToPay:"V\xe6lg, hvordan du vil betale",otherWaysToPay:"Andre betalingsmetoder",edit:"Rediger",doneEditing:"Udf\xf8rt",editPaymentMethods:"Rediger betalingsmetoder",CreditCardDeleteConfirmationMessage:"Vil du slette {{secondaryIdentifier}}-kortet, der slutter p\xe5 {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Vil du slette PayPal-kontoen {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Er du sikker p\xe5, at du vil slette Venmo-kontoen med brugernavnet {{identifier}}?",genericDeleteConfirmationMessage:"Er du sikker p\xe5, at du vil slette denne betalingsmetode?",deleteCancelButton:"Annuller",deleteConfirmationButton:"Slet",fieldEmptyForCvv:"Du skal angive kontrolcifrene.",fieldEmptyForExpirationDate:"Du skal angive udl\xf8bsdatoen.",fieldEmptyForCardholderName:"Du skal angive kortindehaverens navn.",fieldTooLongForCardholderName:"Kortejerens navn skal v\xe6re mindre end 256 tegn.",fieldEmptyForNumber:"Du skal angive et nummer.",fieldEmptyForPostalCode:"Du skal angive et postnummer.",fieldInvalidForCardholderName:"Kortindehaverens navn er ugyldigt.",fieldInvalidForCvv:"Sikkerhedskoden er ugyldig.",fieldInvalidForExpirationDate:"Udl\xf8bsdatoen er ugyldig.",fieldInvalidForNumber:"Kortnummeret er ugyldigt.",fieldInvalidForPostalCode:"Postnummeret er ugyldigt.",genericError:"Der opstod en fejl.",hostedFieldsTokenizationFailOnDuplicateError:"Dette betalingskort er allerede en gemt betalingsmetode.",hostedFieldsFailedTokenizationError:"Tjek oplysningerne, og pr\xf8v igen.",hostedFieldsFieldsInvalidError:"Tjek oplysningerne, og pr\xf8v igen.",hostedFieldsTokenizationNetworkErrorError:"Netv\xe6rksfejl. Pr\xf8v igen.",hostedFieldsTokenizationCvvVerificationFailedError:"Betalingskortet blev ikke bekr\xe6ftet. Tjek oplysningerne, og pr\xf8v igen.",paypalButtonMustBeUsed:"Brug PayPal-knappen for at forts\xe6tte med din betaling.",paypalAccountTokenizationFailedError:"PayPal-kontoen blev ikke tilf\xf8jet. Pr\xf8v igen.",paypalFlowFailedError:"Der kunne ikke oprettes forbindelse til PayPal. Pr\xf8v igen.",paypalTokenizationRequestActiveError:"PayPal-betalingen er i gang med at blive autoriseret.",venmoCanceledError:"Der opstod en fejl. S\xf8rg for, at du har den seneste version af Venmo-appen installeret p\xe5 din enhed, og at din browser underst\xf8tter skift til Venmo.",vaultManagerPaymentMethodDeletionError:"Vi kunne ikke slette betalingsmetoden. Pr\xf8v igen.",venmoAppFailedError:"Venmo-appen blev ikke fundet p\xe5 din enhed.",unsupportedCardTypeError:"Korttypen underst\xf8ttes ikke. Pr\xf8v et andet kort.",applePayTokenizationError:"Der opstod en netv\xe6rksfejl under behandlingen af betalingen med Apple Pay. Pr\xf8v igen.",applePayActiveCardError:"Knyt et underst\xf8ttet kort til din Apple Pay-e-pung.",cardholderNameLabel:"Kortindehaverens navn",cardNumberLabel:"Kortnummer",cvvLabel:"Kontrolcifre",cvvThreeDigitLabelSubheading:"(3 cifre)",cvvFourDigitLabelSubheading:"(4 cifre)",cardholderNamePlaceholder:"Kortindehaverens navn",expirationDateLabel:"Udl\xf8bsdato",expirationDateLabelSubheading:"(MM/\xc5\xc5)",expirationDatePlaceholder:"MM/\xc5\xc5",postalCodeLabel:"Postnummer",saveCardLabel:"Gem kort",payWithCard:"Betal med kort",endingIn:"Der slutter p\xe5 {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kort",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],217:[function(e,t,i){"use strict";t.exports={payingWith:"Zahlen mit {{paymentSource}}",chooseAnotherWayToPay:"Andere Zahlungsmethode w\xe4hlen",chooseAWayToPay:"Wie m\xf6chten Sie bezahlen?",otherWaysToPay:"Andere Zahlungsmethoden",edit:"Bearbeiten",doneEditing:"Fertig",editPaymentMethods:"Zahlungsquellen bearbeiten",CreditCardDeleteConfirmationMessage:"{{secondaryIdentifier}} Karte mit den Endziffern {{identifier}} l\xf6schen?",PayPalAccountDeleteConfirmationMessage:"PayPal-Konto {{identifier}} l\xf6schen?",VenmoAccountDeleteConfirmationMessage:"Wollen Sie das Venmo-Konto mit dem Benutzernamen {{identifier}} wirklich l\xf6schen?",genericDeleteConfirmationMessage:"Wollen Sie diese Zahlungsquelle wirklich l\xf6schen?",deleteCancelButton:"Abbrechen",deleteConfirmationButton:"L\xf6schen",fieldEmptyForCvv:"Geben Sie die Kartenpr\xfcfnummer ein.",fieldEmptyForExpirationDate:"Geben Sie das Ablaufdatum ein.",fieldEmptyForCardholderName:"Geben Sie den Namen des Karteninhabers ein.",fieldTooLongForCardholderName:"Der Name des Karteninhabers darf 255 Zeichen nicht \xfcbersteigen.",fieldEmptyForNumber:"Geben Sie die Nummer ein.",fieldEmptyForPostalCode:"Geben Sie die PLZ ein.",fieldInvalidForCardholderName:"Der Name des Karteninhabers ist nicht g\xfcltig.",fieldInvalidForCvv:"Die Kartenpr\xfcfnummer ist ung\xfcltig.",fieldInvalidForExpirationDate:"Das Ablaufdatum ist ung\xfcltig.",fieldInvalidForNumber:"Die Kreditkartennummer ist ung\xfcltig.",fieldInvalidForPostalCode:"Die PLZ ist ung\xfcltig.",genericError:"Bei uns ist ein Problem aufgetreten.",hostedFieldsTokenizationFailOnDuplicateError:"Diese Kreditkarte ist bereits als gespeicherte Zahlungsmethode vorhanden.",hostedFieldsFailedTokenizationError:"\xdcberpr\xfcfen Sie Ihre Eingabe und versuchen Sie es erneut.",hostedFieldsFieldsInvalidError:"\xdcberpr\xfcfen Sie Ihre Eingabe und versuchen Sie es erneut.",hostedFieldsTokenizationNetworkErrorError:"Netzwerkfehler. Versuchen Sie es erneut.",hostedFieldsTokenizationCvvVerificationFailedError:"\xdcberpr\xfcfung der Karte fehlgeschlagen. \xdcberpr\xfcfen Sie Ihre Eingabe und versuchen Sie es erneut.",paypalButtonMustBeUsed:"Verwenden Sie den PayPal-Button, um mit der Zahlung fortfahren.",paypalAccountTokenizationFailedError:"Beim Hinzuf\xfcgen des PayPal-Kontos ist ein Problem aufgetreten. Versuchen Sie es erneut.",paypalFlowFailedError:"Beim Verbinden mit PayPal ist ein Problem aufgetreten. Versuchen Sie es erneut.",paypalTokenizationRequestActiveError:"Die PayPal-Zahlung wird bereits autorisiert.",venmoCanceledError:"Etwas ist schief gelaufen. Vergewissern Sie sich, dass Sie die neueste Version der Venmo-App auf Ihrem Ger\xe4t installiert haben und Ihr Browser den Wechsel zu Venmo unterst\xfctzt.",vaultManagerPaymentMethodDeletionError:"Die Zahlungsquelle konnte nicht gel\xf6scht werden. Versuchen Sie es erneut.",venmoAppFailedError:"Die Venmo-App wurde auf Ihrem Ger\xe4t nicht gefunden.",unsupportedCardTypeError:"Dieser Kreditkartentyp wird nicht unterst\xfctzt. Versuchen Sie es mit einer anderen Karte.",applePayTokenizationError:"Netzwerkfehler bei der Zahlungsabwicklung mit Apple Pay. Versuchen Sie es erneut.",applePayActiveCardError:"F\xfcgen Sie der Apple-Pay-B\xf6rse eine unterst\xfctzte Kreditkarte hinzu.",cardholderNameLabel:"Name des Karteninhabers",cardNumberLabel:"Kartennummer",cvvLabel:"Pr\xfcfnr.",cvvThreeDigitLabelSubheading:"(3-stellig)",cvvFourDigitLabelSubheading:"(4-stellig)",cardholderNamePlaceholder:"Name des Karteninhabers",expirationDateLabel:"G\xfcltig bis",expirationDateLabelSubheading:"(MM/JJ)",expirationDatePlaceholder:"MM/JJ",postalCodeLabel:"PLZ",saveCardLabel:"Karte speichern",payWithCard:"Mit Kreditkarte zahlen",endingIn:"Mit den Endziffern {{lastFourCardDigits}}
1","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kreditkarte",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],218:[function(e,t,i){"use strict";t.exports={payingWith:"ΠληÏÏμή μÎÏÏ {{paymentSource}}",chooseAnotherWayToPay:"ÎÏιλÎξÏε Îναν άλλον ÏÏÏÏο ÏληÏÏμήÏ",chooseAWayToPay:"ÎÏιλογή ÏÏÏÏοÏ
ÏληÏÏμήÏ",otherWaysToPay:"Îλλοι ÏÏÏÏοι ÏληÏÏμήÏ",edit:"ÎÏεξεÏγαÏία",doneEditing:"ΤÎλοÏ",editPaymentMethods:"ÎÏεξεÏγαÏία μεθÏδÏν ÏληÏÏμήÏ",CreditCardDeleteConfirmationMessage:"ÎιαγÏαÏή κάÏÏÎ±Ï {{secondaryIdentifier}} ÏοÏ
λήγει Ïε {{identifier}};",PayPalAccountDeleteConfirmationMessage:"ÎιαγÏαÏή λογαÏιαÏÎ¼Î¿Ï PayPal {{identifier}};",VenmoAccountDeleteConfirmationMessage:"ÎÎλεÏε ÏίγοÏ
Ïα να διαγÏάÏεÏε Ïον λογαÏιαÏÎ¼Ï Venmo με Ïο Ïνομα ÏÏήÏÏη {{identifier}};",genericDeleteConfirmationMessage:"ÎÎλεÏε ÏίγοÏ
Ïα να διαγÏάÏεÏε αÏ
Ïήν Ïη μÎθοδο ÏληÏÏμήÏ;",deleteCancelButton:"ÎκÏÏÏÏη",deleteConfirmationButton:"ÎιαγÏαÏή",fieldEmptyForCvv:"ΣÏ
μÏληÏÏÏÏε Îναν CVV.",fieldEmptyForExpirationDate:"ΣÏ
μÏληÏÏÏÏε ημεÏομηνία λήξηÏ.",fieldEmptyForCardholderName:"ΣÏ
μÏληÏÏÏÏε Ïο Ï
1νομα ενÏÏ ÎºÎ±ÏÏÏοÏ
κάÏÏαÏ.",fieldTooLongForCardholderName:"Το Ïνομα ÏοÏ
καÏÏÏοÏ
ÏÎ·Ï ÎºÎ¬ÏÏÎ±Ï ÏÏÎÏει να ÏεÏιÎÏει λιγÏÏεÏοÏ
Ï Î±ÏÏ 256 ÏαÏακÏήÏεÏ.",fieldEmptyForNumber:"ΣÏ
μÏληÏÏÏÏε Îναν αÏιθμÏ.",fieldEmptyForPostalCode:"ΣÏ
μÏληÏÏÏÏε Îναν ÏαÏÏ
δÏÎ¿Î¼Î¹ÎºÏ ÎºÏδικα.",fieldInvalidForCardholderName:"ÎÏ
ÏÏ Ïο Ïνομα καÏÏÏοÏ
κάÏÏÎ±Ï Î´ÎµÎ½ είναι ÎγκÏ
Ïο.",fieldInvalidForCvv:"ÎÏ
ÏÏÏ Î¿ κÏδικÏÏ Î±ÏÏÎ±Î»ÎµÎ¯Î±Ï Î´ÎµÎ½ είναι ÎγκÏ
ÏοÏ.",fieldInvalidForExpirationDate:"ÎÏ
Ïή η ημεÏομηνία Î»Î®Î¾Î·Ï Î´ÎµÎ½ είναι ÎγκÏ
Ïη.",fieldInvalidForNumber:"ÎÏ
ÏÏÏ Î¿ αÏιθμÏÏ ÎºÎ¬ÏÏÎ±Ï Î´ÎµÎ½ είναι ÎγκÏ
ÏοÏ.",fieldInvalidForPostalCode:"ÎÏ
ÏÏÏ Î¿ ÏαÏÏ
δÏομικÏÏ ÎºÏÎ´Î¹ÎºÎ±Ï Î´ÎµÎ½ είναι ÎγκÏ
ÏοÏ.",genericError:"Î ÏοÎκÏ
Ïε Îνα ÏÏÏβλημα ÏÏο ÏÏÏÏημά μαÏ.",hostedFieldsTokenizationFailOnDuplicateError:"ÎÏ
Ïή η ÏιÏÏÏÏική κάÏÏα Ï
ÏάÏÏει ήδη ÏÏ Î±ÏοθηκεÏ
μÎνη μÎÎ¸Î¿Î´Î¿Ï ÏληÏÏμήÏ.",hostedFieldsFailedTokenizationError:"ÎλÎγξÏε Ïα ÏÏοιÏεία ÏÎ±Ï ÎºÎ±Î¹ δοκιμάÏÏε ξανά.",hostedFieldsFieldsInvalidError:"ÎλÎγξÏε Ïα ÏÏοιÏεία ÏÎ±Ï ÎºÎ±Î¹ δοκιμάÏÏε ξανά.",hostedFieldsTokenizationNetworkErrorError:"ΣÏάλμα δικÏÏοÏ
. ÎοκιμάÏÏε ξανά.",hostedFieldsTokenizationCvvVerificationFailedError:"ΠεÏαλήθεÏ
Ïη ÏÎ·Ï ÏιÏÏÏÏÎ¹ÎºÎ®Ï ÎºÎ¬ÏÏÎ±Ï Î±ÏÎÏÏ
Ïε. ÎλÎγξÏε Ïα ÏÏοιÏεία ÏÎ±Ï ÎºÎ±Î¹ δοκιμάÏÏε ξανά.",paypalButtonMustBeUsed:"ΧÏηÏιμοÏοιήÏÏε Ïο κοÏ
μÏί PayPal για να ÏÏ
νεÏίÏεÏε με Ïην ÏληÏÏμή.",paypalAccountTokenizationFailedError:"Î ÏοÎκÏ
Ïε κάÏοιο ÏÏÏβλημα με Ïην ÏÏοÏθήκη ÏοÏ
λογαÏιαÏÎ¼Î¿Ï PayPal. ÎοκιμάÏÏε ξανά.",paypalFlowFailedError:"Î ÏοÎκÏ
Ïε κάÏοιο ÏÏÏβλημα με Ïη ÏÏνδεÏη ÏÏην PayPal. ÎοκιμάÏÏε ξανά.",paypalTokenizationRequestActiveError:"ΠεξοÏ
ÏιοδÏÏηÏη ÏληÏÏÎ¼Î®Ï PayPal βÏίÏκεÏαι ήδη Ïε εξÎλιξη.",venmoCanceledError:"Î ÏοÎκÏ
Ïε ÏÏÏβλημα. ÎεβαιÏθείÏε ÏÏι ÎÏεÏε Ïην Ïιο ÏÏÏÏÏαÏη ÎκδοÏη ÏÎ·Ï ÎµÏαÏÎ¼Î¿Î³Î®Ï Venmo εγκαÏεÏÏημÎνη ÏÏη ÏÏ
ÏκεÏ
ή ÏÎ±Ï ÎºÎ±Î¹ ÏÏι Ïο ÏÏÏγÏαμμα ÏεÏιήγηÏÎ®Ï ÏÎ±Ï Ï
ÏοÏÏηÏίζει Ïη μεÏάβαÏη ÏÏη Venmo.",vaultManagerPaymentMethodDeletionError:"ΠδιαγÏαÏή ÏÎ·Ï Î¼ÎµÎ¸ÏδοÏ
ÏληÏÏÎ¼Î®Ï ÎµÎ¯Î½Î±Î¹ αδÏναÏη, δοκιμάÏÏε ξανά.",venmoAppFailedError:"ΠεÏαÏμογή Venmo δεν βÏÎθηκε ÏÏη ÏÏ
ÏκεÏ
ή ÏαÏ.",unsupportedCardTypeError:"ÎÏ
ÏÏÏ Î¿ ÏÏÏÎ¿Ï ÎºÎ¬ÏÏÎ±Ï Î´ÎµÎ½ Ï
ÏοÏÏηÏίζεÏαι. ÎοκιμάÏÏε άλλη κάÏÏα.",applePayTokenizationError:"Î ÏοÎκÏ
Ïε ÏÏάλμα δικÏÏοÏ
καÏά Ïην εÏεξεÏγαÏία ÏÎ·Ï ÏληÏÏÎ¼Î®Ï Î¼ÎÏÏ Apple Pay. ÎοκιμάÏÏε ξανά.",applePayActiveCardError:"Î ÏοÏθÎÏÏε μια Ï
ÏοÏÏηÏιζÏμενη κάÏÏα ÏÏο ÏοÏÏοÏÏλι Apple Pay.",cardholderNameLabel:"Îνομα καÏÏÏοÏ
κάÏÏαÏ",cardNumberLabel:"ÎÏιθμÏÏ ÎºÎ¬ÏÏαÏ",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 ÏηÏία)",cvvFourDigitLabelSubheading:"(4 ÏηÏία)",cardholderNamePlaceholder:"Îνομα καÏÏÏοÏ
κάÏÏαÏ",expirationDateLabel:"ÎμεÏομηνία λήξηÏ",expirationDateLabelSubheading:"(ÎÎ/ÎÎ)",expirationDatePlaceholder:"MM/ÎÎ",postalCodeLabel:"ΤαÏÏ
δÏομικÏÏ ÎºÏδικαÏ",saveCardLabel:"ÎÏοθήκεÏ
Ïη κάÏÏαÏ",payWithCard:"ΠληÏÏμή με κάÏÏα",endingIn:"ÏοÏ
λήγει Ïε {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"ÎάÏÏα",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],219:[function(e,t,i){"use strict";
1t.exports={payingWith:"Paying with {{paymentSource}}",chooseAnotherWayToPay:"Choose another way to pay",chooseAWayToPay:"Choose a way to pay",otherWaysToPay:"Other ways to pay",edit:"Edit",doneEditing:"Done",editPaymentMethods:"Edit payment methods",CreditCardDeleteConfirmationMessage:"Delete {{secondaryIdentifier}} card ending in {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Delete PayPal account {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Are you sure you want to delete the Venmo account with username {{identifier}}?",genericDeleteConfirmationMessage:"Are you sure you want to delete this payment method?",deleteCancelButton:"Cancel",deleteConfirmationButton:"Delete",fieldEmptyForCvv:"Please fill out a CVV.",fieldEmptyForExpirationDate:"Please fill out an expiry date.",fieldEmptyForCardholderName:"Please fill out a cardholder name.",fieldTooLongForCardholderName:"Cardholder name must be less than 256 characters.",fieldEmptyForNumber:"Please fill out a number.",fieldEmptyForPostalCode:"Please fill out a postcode.",fieldInvalidForCardholderName:"This cardholder name isn't valid.",fieldInvalidForCvv:"This security code is not valid.",fieldInvalidForExpirationDate:"This expiry date is not valid.",fieldInvalidForNumber:"This card number is not valid.",fieldInvalidForPostalCode:"This postcode is not valid.",genericError:"Something went wrong on our end.",hostedFieldsTokenizationFailOnDuplicateError:"This credit card already exists as a saved payment method.",hostedFieldsFailedTokenizationError:"Check your entries and try again.",hostedFieldsFieldsInvalidError:"Check your entries and try again.",hostedFieldsTokenizationNetworkErrorError:"Network error. Please try again.",hostedFieldsTokenizationCvvVerificationFailedError:"Credit card verification failed. Check your entries and try again.",paypalButtonMustBeUsed:"Use the PayPal button to continue with your payment.",paypalAccountTokenizationFailedError:"Something went wrong while adding the PayPal account. Please try again.",paypalFlowFailedError:"Something went wrong while connecting to PayPal. Please try again.",paypalTokenizationRequestActiveError:"PayPal payment authorisation is already in progress.",venmoCanceledError:"We're sorry, something seems to have gone wrong. Please ensure you have the most recent version of the Venmo app installed on your device and your browser supports switching to Venmo.",vaultManagerPaymentMethodDeletionError:"We're sorry. We couldn't delete that payment method. Please try again.",venmoAppFailedError:"The Venmo app wasn't found on your device.",unsupportedCardTypeError:"This card type is not supported. Please try another card.",applePayTokenizationError:"A network error occurred while processing the Apple Pay payment. Please try again.",applePayActiveCardError:"Link a supported card to your Apple Pay Wallet.",cardholderNameLabel:"Cardholder Name",cardNumberLabel:"Card Number",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 digits)",cvvFourDigitLabelSubheading:"(4 digits)",cardholderNamePlaceholder:"Cardholder Name",expirationDateLabel:"Expiry date",expirationDateLabelSubheading:"(MM/YY)",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"Postcode",saveCardLabel:"Save card",payWithCard:"Pay with credit or debit card",endingIn:"Ending in {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Card",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],220:[function(e,t,i){"use strict";t.exports={payingWith:"Paying with {{paymentSource}}",chooseAnotherWayToPay:"Choose another way to pay",chooseAWayToPay:"Choose a way to pay",otherWaysToPay:"Other ways to pay",edit:"Edit",doneEditing:"Done",editPaymentMethods:"Edit funding sources",CreditCardDeleteConfirmationMessage:"Delete {{secondaryIdentifier}} card ending in {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Delete PayPal account {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Are you sure you want to delete the Venmo account with username {{identifier}}?",genericDeleteConfirmationMessage:"Are you sure you want to delete this funding source?",deleteCancelButton:"Cancel",deleteConfirmationButton:"Delete",fieldEmptyForCvv:"Please fill in a CSC.",fieldEmptyForExpirationDate:"Please fill in an expiry date.",fieldEmptyForCardholderName:"Please fill in a cardholder name.",fieldTooLongForCardholderName:"Cardholder name must be less than 256 characters.",f
1ieldEmptyForNumber:"Please fill in a number.",fieldEmptyForPostalCode:"Please fill in a postcode.",fieldInvalidForCardholderName:"This cardholder name isn't valid.",fieldInvalidForCvv:"This security code is not valid.",fieldInvalidForExpirationDate:"This expiry date is not valid.",fieldInvalidForNumber:"This card number is not valid.",fieldInvalidForPostalCode:"This postcode is not valid.",genericError:"Something went wrong on our end.",hostedFieldsTokenizationFailOnDuplicateError:"This credit card has already been added to your account as a funding source.",hostedFieldsFailedTokenizationError:"Please check your information and try again.",hostedFieldsFieldsInvalidError:"Please check your information and try again.",hostedFieldsTokenizationNetworkErrorError:"Network error. Please try again.",hostedFieldsTokenizationCvvVerificationFailedError:"Credit card verification failed. Please check your information and try again.",paypalButtonMustBeUsed:"Use the PayPal button to continue with your payment.",paypalAccountTokenizationFailedError:"Something went wrong while adding the PayPal account. Please try again.",paypalFlowFailedError:"Something went wrong while connecting to PayPal. Please try again.",paypalTokenizationRequestActiveError:"PayPal payment authorisation is already in progress.",venmoCanceledError:"We're sorry, something seems to have gone wrong. Make sure you have the most recent version of the Venmo app installed on your device and your browser supports the switch to Venmo.",vaultManagerPaymentMethodDeletionError:"Unable to delete funding source, try again.",venmoAppFailedError:"The Venmo app isn't on your device.",unsupportedCardTypeError:"This card type is not supported. Please try another card.",applePayTokenizationError:"A network error occurred while processing the Apple Pay payment. Please try again.",applePayActiveCardError:"Add a supported card to your Apple Pay wallet.",cardholderNameLabel:"Cardholder name",cardNumberLabel:"Card number",cvvLabel:"CSC",cvvThreeDigitLabelSubheading:"(3 digits)",cvvFourDigitLabelSubheading:"(4 digits)",cardholderNamePlaceholder:"Cardholder name",expirationDateLabel:"Expiry date",expirationDateLabelSubheading:"(MM/YY)",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"Postcode",saveCardLabel:"Save card",payWithCard:"Pay with card",endingIn:"Ending in {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Card",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],221:[function(e,t,i){"use strict";t.exports={payingWith:"Paying with {{paymentSource}}",chooseAnotherWayToPay:"Choose another way to pay",chooseAWayToPay:"Choose a way to pay",otherWaysToPay:"Other ways to pay",edit:"Edit",doneEditing:"Done",editPaymentMethods:"Edit payment methods",CreditCardDeleteConfirmationMessage:"Delete {{secondaryIdentifier}} card ending in {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Delete PayPal account {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Are you sure you want to delete the Venmo account with username {{identifier}}?",genericDeleteConfirmationMessage:"Are you sure you want to delete this payment method?",deleteCancelButton:"Cancel",deleteConfirmationButton:"Delete",fieldEmptyForCvv:"Please enter a CVV.",fieldEmptyForExpirationDate:"Please enter an expiry date.",fieldEmptyForCardholderName:"Please enter a cardholder name.",fieldTooLongForCardholderName:"Cardholder name must have less than 256 characters.",fieldEmptyForNumber:"Please enter a number.",fieldEmptyForPostalCode:"Please enter a PIN code.",fieldInvalidForCardholderName:"This cardholder name isn't valid.",fieldInvalidForCvv:"This security code isn't valid.",fieldInvalidForExpirationDate:"This expiration date isn't valid.",fieldInvalidForNumber:"This card number isn't valid.",fieldInvalidForPostalCode:"This PIN code isn't valid.",genericError:"We're sorry, something seems to have gone wrong.",hostedFieldsTokenizationFailOnDuplicateError:"This credit card already exists as a saved payment method.",hostedFieldsFailedTokenizationError:"Please check your information and try again.",hostedFieldsFieldsInvalidError:"Please check your information and try again.",hostedFieldsTokenizationNetworkErrorError:"Network error. Please try again.",hostedFieldsTokenizationCvvVerificationFailedError:"Credit card verification failed. Please check your information and try again.",payp
1alButtonMustBeUsed:"Use the PayPal button to continue with your payment.",paypalAccountTokenizationFailedError:"Something went wrong adding the PayPal account. Please try again.",paypalFlowFailedError:"Something went wrong connecting to PayPal. Please try again.",paypalTokenizationRequestActiveError:"PayPal payment authorisation is already in progress.",venmoCanceledError:"We're sorry, something seems to have gone wrong. Please ensure you have the most recent version of the Venmo app installed on your device and your browser supports switching to Venmo.",vaultManagerPaymentMethodDeletionError:"Unable to delete payment method. Please try again.",venmoAppFailedError:"The Venmo app couldn't be found on your device.",unsupportedCardTypeError:"This card type isn't supported. Please try another card.",applePayTokenizationError:"A network error occurred while processing the Apple Pay payment. Please try again.",applePayActiveCardError:"Add a supported card to your Apple Pay wallet.",cardholderNameLabel:"Cardholder name",cardNumberLabel:"Card number",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 digits)",cvvFourDigitLabelSubheading:"(4 digits)",cardholderNamePlaceholder:"Cardholder name",expirationDateLabel:"Expiry date",expirationDateLabelSubheading:"(MM/YY)",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"PIN code",saveCardLabel:"Save card",payWithCard:"Pay with card",endingIn:"Ending in {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Card",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],222:[function(e,t,i){"use strict";t.exports={payingWith:"Paying with {{paymentSource}}",chooseAnotherWayToPay:"Choose another way to pay",chooseAWayToPay:"Choose a way to pay",otherWaysToPay:"Other ways to pay",edit:"Edit",doneEditing:"Done",editPaymentMethods:"Edit payment methods",CreditCardDeleteConfirmationMessage:"Delete {{secondaryIdentifier}} card ending in {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Delete PayPal account {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Are you sure you want to delete Venmo account with username {{identifier}}?",genericDeleteConfirmationMessage:"Are you sure you want to delete this payment method?",deleteCancelButton:"Cancel",deleteConfirmationButton:"Delete",fieldEmptyForCvv:"Please fill out a CVV.",fieldEmptyForExpirationDate:"Please fill out an expiration date.",fieldEmptyForCardholderName:"Please fill out a cardholder name.",fieldEmptyForNumber:"Please fill out a card number.",fieldEmptyForPostalCode:"Please fill out a postal code.",fieldInvalidForCardholderName:"This cardholder name is not valid.",fieldInvalidForCvv:"This security code is not valid.",fieldInvalidForExpirationDate:"This expiration date is not valid.",fieldInvalidForNumber:"This card number is not valid.",fieldInvalidForPostalCode:"This postal code is not valid.",fieldTooLongForCardholderName:"Cardholder name must be less than 256 characters.",genericError:"Something went wrong on our end.",hostedFieldsTokenizationFailOnDuplicateError:"This credit card already exists as a saved payment method.",hostedFieldsFailedTokenizationError:"Please check your information and try again.",hostedFieldsTokenizationCvvVerificationFailedError:"Credit card verification failed. Please check your information and try again.",hostedFieldsTokenizationNetworkErrorError:"Network error. Please try again.",hostedFieldsFieldsInvalidError:"Please check your information and try again.",paypalButtonMustBeUsed:"Use the PayPal button to continue with your payment.",paypalAccountTokenizationFailedError:"Something went wrong adding the PayPal account. Please try again.",paypalFlowFailedError:"Something went wrong connecting to PayPal. Please try again.",paypalTokenizationRequestActiveError:"PayPal payment authorization is already in progress.",applePayTokenizationError:"A network error occurred while processing the Apple Pay payment. Please try again.",applePayActiveCardError:"Add a supp
1orted card to your Apple Pay wallet.",vaultManagerPaymentMethodDeletionError:"Unable to delete payment method, try again.",venmoCanceledError:"Something went wrong. Ensure you have the most recent version of the Venmo app installed on your device and your browser supports switching to Venmo.",venmoAppFailedError:"The Venmo app could not be found on your device.",unsupportedCardTypeError:"This card type is not supported. Please try another card.",cardholderNameLabel:"Cardholder Name",cardNumberLabel:"Card Number",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 digits)",cvvFourDigitLabelSubheading:"(4 digits)",expirationDateLabel:"Expiration Date",expirationDateLabelSubheading:"(MM/YY)",cardholderNamePlaceholder:"Cardholder Name",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"Postal Code",saveCardLabel:"Save card",payWithCard:"Pay with card",endingIn:"Ending in {{lastFourCardDigits}}",Card:"Card",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Apple Pay":"Apple Pay","Google Pay":"Google Pay",Venmo:"Venmo","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],223:[function(e,t,i){"use strict";t.exports={payingWith:"Pago con {{paymentSource}}",chooseAnotherWayToPay:"Selecciona otra forma de pago.",chooseAWayToPay:"Selecciona una forma de pago.",otherWaysToPay:"Otras formas de pago",edit:"Modificar",doneEditing:"Hecho",editPaymentMethods:"Editar formas de pago",CreditCardDeleteConfirmationMessage:"\xbfQuieres eliminar la tarjeta {{secondaryIdentifier}} que termina en {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"\xbfQuieres eliminar la cuenta PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"\xbfSeguro de que deseas eliminar la cuenta de Venmo con nombre de usuario {{identifier}}?",genericDeleteConfirmationMessage:"\xbfSeguro que deseas eliminar esta forma de pago?",deleteCancelButton:"Cancelar",deleteConfirmationButton:"Eliminar",fieldEmptyForCvv:"Escribe el c\xf3digo CVV.",fieldEmptyForExpirationDate:"Escribe la fecha de vencimiento.",fieldEmptyForCardholderName:"Escribe el nombre de un titular de la tarjeta.",fieldTooLongForCardholderName:"El nombre del titular de la tarjeta debe tener menos de 256\xa0caracteres.",fieldEmptyForNumber:"Escribe un n\xfamero.",fieldEmptyForPostalCode:"Escribe el c\xf3digo postal.",fieldInvalidForCardholderName:"El nombre del titular de la tarjeta no es v\xe1lido.",fieldInvalidForCvv:"Este c\xf3digo de seguridad no es v\xe1lido.",fieldInvalidForExpirationDate:"Esta fecha de vencimiento no es v\xe1lida.",fieldInvalidForNumber:"Este n\xfamero de tarjeta no es v\xe1lido.",fieldInvalidForPostalCode:"Este c\xf3digo postal no es v\xe1lido.",genericError:"Hemos tenido alg\xfan problema.",hostedFieldsTokenizationFailOnDuplicateError:"Esta tarjeta de cr\xe9dito ya existe como forma de pago guardada.",hostedFieldsFailedTokenizationError:"Comprueba la informaci\xf3n e int\xe9ntalo de nuevo.",hostedFieldsFieldsInvalidError:"Comprueba la informaci\xf3n e int\xe9ntalo de nuevo.",hostedFieldsTokenizationNetworkErrorError:"Error de red. Int\xe9ntalo de nuevo.",hostedFieldsTokenizationCvvVerificationFailedError:"Error de verificaci\xf3n de la tarjeta de cr\xe9dito. Comprueba la informaci\xf3n e int\xe9ntalo de nuevo.",paypalButtonMustBeUsed:"Utiliza el bot\xf3n de PayPal para continuar con el pago.",paypalAccountTokenizationFailedError:"Se ha producido un error al vincular la cuenta PayPal. Int\xe9ntalo de nuevo.",paypalFlowFailedError:"Se ha producido un error al conectarse a PayPal. Int\xe9ntalo de nuevo.",paypalTokenizationRequestActiveError:"Ya hay una autorizaci\xf3n de pago de PayPal en curso.",venmoCanceledError:"Ha habido un problema. Aseg\xfarate de que tienes la versi\xf3n m\xe1s reciente de la aplicaci\xf3n de Venmo instalada en tu dispositivo y de que tu navegador es compatible con cambiar a Venmo.",vaultManagerPaymentMethodDeletionError:"No se ha podido eliminar la forma de pago. Int\xe9ntalo de nuevo.",venmoAppFailedError:"No se ha encontrado la aplicaci\xf3n de Venmo en tu dispositivo.",unsupportedCardTypeError:"No se admite este tipo de tarjeta. Prueba con otra tarjeta.",applePayTokenizationError:"Se ha producido un error de red al procesar el pago con Apple Pay. Int\xe9ntalo de nuevo.",applePayActiveCardError:"A\xf1ade una tarjeta admitida a tu Wallet de Apple Pay.",cardholderNameLabel:"Nombre del titular de la tarjeta",cardNumberLabel:"N\xfamero de tarjeta",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3\xa0d\xedgitos)",cvvFourDigitLabelSubheading:"(4\xa0d\xedgitos)",cardholderNamePlaceholder:"Nombre del titular de la tarjeta",expirationDateLabel:"Fecha de vencimiento",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"C\xf3digo postal",saveCardLabel:"Guardar tarjeta",payWithCard:"Pagar con tarjeta",endingIn:"Terminada en {{lastFourCardDigits}}
1","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Tarjeta",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],224:[function(e,t,i){"use strict";t.exports={payingWith:"Pagando con {{paymentSource}}",chooseAnotherWayToPay:"Elija otra forma de pago",chooseAWayToPay:"Elija una forma de pago",otherWaysToPay:"Otras formas de pago",edit:"Editar",doneEditing:"Listo",editPaymentMethods:"Editar formas de pago",CreditCardDeleteConfirmationMessage:"\xbfDesea eliminar la tarjeta {{secondaryIdentifier}} con terminaci\xf3n en {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"\xbfDesea eliminar la cuenta de PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"\xbfSeguro que desea eliminar la cuenta de Venmo con el nombre de usuario {{identifier}}?",genericDeleteConfirmationMessage:"\xbfSeguro que desea eliminar esta forma de pago?",deleteCancelButton:"Cancelar",deleteConfirmationButton:"Eliminar",fieldEmptyForCvv:"Ingrese un CVV.",fieldEmptyForExpirationDate:"Complete una fecha de vencimiento.",fieldEmptyForCardholderName:"Ingrese el nombre del titular de la tarjeta.",fieldTooLongForCardholderName:"El nombre del titular de la tarjeta debe tener menos de 256 caracteres.",fieldEmptyForNumber:"Ingrese un n\xfamero.",fieldEmptyForPostalCode:"Ingrese un c\xf3digo postal.",fieldInvalidForCardholderName:"El nombre del titular de la tarjeta no es v\xe1lido.",fieldInvalidForCvv:"Este c\xf3digo de seguridad no es v\xe1lido.",fieldInvalidForExpirationDate:"Esta fecha de vencimiento no es v\xe1lida.",fieldInvalidForNumber:"Este n\xfamero de tarjeta no es v\xe1lido.",fieldInvalidForPostalCode:"Este c\xf3digo postal no es v\xe1lido.",genericError:"Se ha producido un error.",hostedFieldsTokenizationFailOnDuplicateError:"Esta tarjeta de cr\xe9dito ya existe como forma de pago guardada.",hostedFieldsFailedTokenizationError:"Verifique su informaci\xf3n e int\xe9ntelo de nuevo.",hostedFieldsFieldsInvalidError:"Verifique su informaci\xf3n e int\xe9ntelo de nuevo.",hostedFieldsTokenizationNetworkErrorError:"Error de red. Int\xe9ntelo de nuevo.",hostedFieldsTokenizationCvvVerificationFailedError:"La verificaci\xf3n de la tarjeta de cr\xe9dito fall\xf3. Revise su informaci\xf3n e int\xe9ntelo de nuevo.",paypalButtonMustBeUsed:"Utilice el bot\xf3n de PayPal para continuar con su pago.",paypalAccountTokenizationFailedError:"Se ha producido un error al agregar la cuenta de PayPal. Int\xe9ntelo de nuevo.",paypalFlowFailedError:"Se ha producido un error al conectar con PayPal. Int\xe9ntelo de nuevo.",paypalTokenizationRequestActiveError:"La autorizaci\xf3n de pago de PayPal ya est\xe1 en curso.",venmoCanceledError:"Se ha producido un error. Aseg\xfarese de que tiene la versi\xf3n m\xe1s reciente de la aplicaci\xf3n de Venmo instalada en su dispositivo y que su navegador admita el sitio web Venmo.",vaultManagerPaymentMethodDeletionError:"No se pudo eliminar la forma de pago, int\xe9ntelo de nuevo.",venmoAppFailedError:"No se pudo encontrar la aplicaci\xf3n de Venmo en su dispositivo.",unsupportedCardTypeError:"Este tipo de tarjeta no es compatible. Int\xe9ntelo con otra tarjeta.",applePayTokenizationError:"Se ha producido un error de red al procesar el pago de Apple Pay. Int\xe9ntelo de nuevo.",applePayActiveCardError:"Agregue una tarjeta compatible a su cartera de Apple Pay.",cardholderNameLabel:"Nombre del titular de la tarjeta",cardNumberLabel:"N\xfamero de tarjeta",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 d\xedgitos)",cvvFourDigitLabelSubheading:"(4 d\xedgitos)",cardholderNamePlaceholder:"Nombre del titular de la tarjeta",expirationDateLabel:"Fecha de vencimiento",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"C\xf3digo postal",saveCardLabel:"Guardar tarjeta",payWithCard:"Pagar con tarjeta",endingIn:"Con terminaci\xf3n en {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Tarjeta",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],225:[function(e,t,i){"use strict";
1t.exports={payingWith:"Maksutapa: {{paymentSource}}",chooseAnotherWayToPay:"Valitse toinen maksutapa",chooseAWayToPay:"Valitse maksutapa",otherWaysToPay:"Muut maksutavat",edit:"Muokkaa",doneEditing:"Valmis",editPaymentMethods:"Muokkaa maksutapoja",CreditCardDeleteConfirmationMessage:"Haluatko poistaa {{secondaryIdentifier}}-kortin, jonka numero p\xe4\xe4ttyy {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Haluatko poistaa PayPal-tilin {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Haluatko varmasti poistaa Venmo-tilin, jonka k\xe4ytt\xe4j\xe4tunnus on {{identifier}}?",genericDeleteConfirmationMessage:"Haluatko varmasti poistaa t\xe4m\xe4n maksutavan?",deleteCancelButton:"Peruuta",deleteConfirmationButton:"Poista",fieldEmptyForCvv:"T\xe4yt\xe4 CVV.",fieldEmptyForExpirationDate:"T\xe4yt\xe4 voimassaolon p\xe4\xe4ttymisp\xe4iv\xe4m\xe4\xe4r\xe4.",fieldEmptyForCardholderName:"T\xe4yt\xe4 kortinhaltijan nimi.",fieldTooLongForCardholderName:"Kortin haltijan nimen on oltava alle 256 merkki\xe4.",fieldEmptyForNumber:"T\xe4yt\xe4 numero.",fieldEmptyForPostalCode:"T\xe4yt\xe4 postinumero.",fieldInvalidForCardholderName:"Kortinhaltijan nimi ei ole kelvollinen.",fieldInvalidForCvv:"T\xe4m\xe4 turvakoodi ei ole kelvollinen.",fieldInvalidForExpirationDate:"T\xe4m\xe4 p\xe4\xe4ttymisp\xe4iv\xe4m\xe4\xe4r\xe4 ei ole kelvollinen.",fieldInvalidForNumber:"T\xe4m\xe4 kortin numero ei ole kelvollinen.",fieldInvalidForPostalCode:"T\xe4m\xe4 postinumero ei ole kelvollinen.",genericError:"Jokin meni pieleen meid\xe4n p\xe4\xe4ss\xe4mme.",hostedFieldsTokenizationFailOnDuplicateError:"T\xe4m\xe4 luottokortti on jo tallennettu maksutavaksi.",hostedFieldsFailedTokenizationError:"Tarkista tiedot ja yrit\xe4 uudelleen.",hostedFieldsFieldsInvalidError:"Tarkista tiedot ja yrit\xe4 uudelleen.",hostedFieldsTokenizationNetworkErrorError:"Verkkovirhe. Yrit\xe4 uudelleen.",hostedFieldsTokenizationCvvVerificationFailedError:"Luottokortin varmennus ep\xe4onnistui. Tarkista tiedot ja yrit\xe4 uudelleen.",paypalButtonMustBeUsed:"Jatka maksua PayPal-painikkeen avulla.",paypalAccountTokenizationFailedError:"Jotain meni pieleen PayPal-tili\xe4 lis\xe4tess\xe4. Yrit\xe4 uudelleen.",paypalFlowFailedError:"Jotain meni pieleen muodostettaessa yhteytt\xe4 PayPaliin. Yrit\xe4 uudelleen.",paypalTokenizationRequestActiveError:"PayPal-maksun valtuutus on jo meneill\xe4\xe4n.",venmoCanceledError:"Jokin meni pieleen. Varmista, ett\xe4 laitteeseesi on asennettu Venmo-sovelluksen viimeisin versio, ja ett\xe4 selain tukee vaihtamista Venmoon.",vaultManagerPaymentMethodDeletionError:"Maksutavan poistaminen ei onnistu, yrit\xe4 uudelleen.",venmoAppFailedError:"Venmo-sovellusta ei l\xf6ytynyt laitteesta.",unsupportedCardTypeError:"T\xe4t\xe4 korttityyppi\xe4 ei tueta. Kokeile toista korttia.",applePayTokenizationError:"Tapahtui verkkovirhe Apple Pay -maksun k\xe4sittelyss\xe4. Yrit\xe4 uudelleen.",applePayActiveCardError:"Lis\xe4\xe4 tuettu kortti Apple Pay -lompakkoon.",cardholderNameLabel:"Kortinhaltijan nimi",cardNumberLabel:"Kortin numero",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(kolme numeroa)",cvvFourDigitLabelSubheading:"(nelj\xe4 numeroa)",cardholderNamePlaceholder:"Kortinhaltijan nimi",expirationDateLabel:"P\xe4\xe4ttymisp\xe4iv\xe4m\xe4\xe4r\xe4",expirationDateLabelSubheading:"(KK/VV)",expirationDatePlaceholder:"KK/VV",postalCodeLabel:"Postinumero",saveCardLabel:"Tallenna kortti",payWithCard:"Maksa kortilla",endingIn:"P\xe4\xe4ttyy {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kortti",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],226:[function(e,t,i){"use strict";t.exports={payingWith:"Payer avec {{paymentSource}}",chooseAnotherWayToPay:"Choisir un autre mode de paiement",chooseAWayToPay:"Choisir le mode de paiement",otherWaysToPay:"Autres modes de paiement",edit:"Modifier",doneEditing:"Termin\xe9",editPaymentMethods:"Modifier les modes de paiement",Credit
1CardDeleteConfirmationMessage:"Supprimer la carte {{secondaryIdentifier}} se terminant par {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Supprimer le compte PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Souhaitez-vous vraiment supprimer le compte Venmo avec le nom dâutilisateur {{identifier}}?",genericDeleteConfirmationMessage:"Voulez-vous vraiment supprimer ce mode de paiement?",deleteCancelButton:"Annuler",deleteConfirmationButton:"Supprimer",fieldEmptyForCvv:"Veuillez saisir un cryptogramme visuel.",fieldEmptyForExpirationDate:"Veuillez saisir une date d'expiration.",fieldEmptyForCardholderName:"Veuillez saisir un nom de titulaire de la carte.",fieldTooLongForCardholderName:"Le nom du titulaire de la carte doit contenir moins de 256\xa0caract\xe8res.",fieldEmptyForNumber:"Veuillez saisir un num\xe9ro.",fieldEmptyForPostalCode:"Veuillez saisir un code postal.",fieldInvalidForCardholderName:"Le nom de ce titulaire de la carte n'est pas valide.",fieldInvalidForCvv:"Ce cryptogramme visuel n'est pas valide.",fieldInvalidForExpirationDate:"Cette date d'expiration n'est pas valide.",fieldInvalidForNumber:"Ce num\xe9ro de carte n'est pas valide.",fieldInvalidForPostalCode:"Ce code postal n'est pas valide.",genericError:"Une erreur s'est produite de notre c\xf4t\xe9.",hostedFieldsTokenizationFailOnDuplicateError:"Cette carte de cr\xe9dit existe d\xe9j\xe0 comme mode de paiement enregistr\xe9.",hostedFieldsFailedTokenizationError:"V\xe9rifiez vos informations, puis r\xe9essayez.",hostedFieldsFieldsInvalidError:"V\xe9rifiez vos informations, puis r\xe9essayez.",hostedFieldsTokenizationNetworkErrorError:"Erreur r\xe9seau. Veuillez r\xe9essayer.",hostedFieldsTokenizationCvvVerificationFailedError:"La v\xe9rification de la carte de cr\xe9dit a \xe9chou\xe9. V\xe9rifiez vos informations, puis r\xe9essayez.",paypalButtonMustBeUsed:"Utilisez le bouton PayPal pour poursuivre votre paiement.",paypalAccountTokenizationFailedError:"Une erreur s'est produite lors de l'enregistrement du compte PayPal. Veuillez r\xe9essayer.",paypalFlowFailedError:"Une erreur s'est produite au cours de la connexion \xe0 PayPal. Veuillez r\xe9essayer.",paypalTokenizationRequestActiveError:"L'autorisation de paiement PayPal est d\xe9j\xe0 en cours.",venmoCanceledError:"Une erreur s'est produite. Assurez-vous que la version la plus r\xe9cente de l'application Venmo est install\xe9e sur votre appareil et que votre navigateur prend Venmo en charge.",vaultManagerPaymentMethodDeletionError:"Impossible de supprimer le mode de paiement, essayez de nouveau.",venmoAppFailedError:"L'application Venmo est introuvable sur votre appareil.",unsupportedCardTypeError:"Ce type de carte n'est pas pris en charge. Veuillez essayer une autre carte.",applePayTokenizationError:"Une erreur de r\xe9seau s'est produite lors du traitement du paiement avec Apple Pay. Veuillez r\xe9essayer.",applePayActiveCardError:"Ajoutez une carte prise en charge \xe0 Apple Pay.",cardholderNameLabel:"Nom du titulaire de la carte",cardNumberLabel:"Num\xe9ro de carte",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 chiffres)",cvvFourDigitLabelSubheading:"(4\xa0chiffres)",cardholderNamePlaceholder:"Nom du titulaire de la carte",expirationDateLabel:"Date d'expiration",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"Code postal",saveCardLabel:"Enregistrer la carte",payWithCard:"Payer par carte",endingIn:"Se terminant par {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Carte",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],227:[function(e,t,i){"use strict";t.exports={payingWith:"Payer avec {{paymentSource}}",chooseAnotherWayToPay:"Choisissez une autre fa\xe7on de payer.",chooseAWayToPay:"Choisissez comment payer.",otherWaysToPay:"Autres fa\xe7ons de payer",edit:"Modifier",doneEditing:"Termin\xe9",editPaymentMethods:"Modifier les sources d'approvisionnement",Credit
1CardDeleteConfirmationMessage:"Supprimer la carte {{secondaryIdentifier}} se terminant par {{identifier}}\xa0?",PayPalAccountDeleteConfirmationMessage:"Supprimer le compte PayPal {{identifier}}\xa0?",VenmoAccountDeleteConfirmationMessage:"\xcates-vous s\xfbr de vouloir supprimer le compte Venmo avec le nom d'utilisateur {{identifier}}\xa0?",genericDeleteConfirmationMessage:"\xcates-vous s\xfbr de vouloir supprimer cette source d'approvisionnement\xa0?",deleteCancelButton:"Annuler",deleteConfirmationButton:"Supprimer",fieldEmptyForCvv:"Entrez un cryptogramme visuel.",fieldEmptyForExpirationDate:"Entrez une date d'expiration.",fieldEmptyForCardholderName:"Entrez un nom du titulaire de la carte.",fieldTooLongForCardholderName:"Le nom du titulaire de la carte doit contenir moins de 256\xa0caract\xe8res.",fieldEmptyForNumber:"Entrez un num\xe9ro.",fieldEmptyForPostalCode:"Entrez un code postal.",fieldInvalidForCardholderName:"Le nom de ce titulaire de la carte est incorrect.",fieldInvalidForCvv:"Ce cryptogramme visuel n'est pas valide.",fieldInvalidForExpirationDate:"Cette date d'expiration n'est pas valide.",fieldInvalidForNumber:"Ce num\xe9ro de carte n'est pas valide.",fieldInvalidForPostalCode:"Ce code postal n'est pas valide.",genericError:"Une erreur est survenue.",hostedFieldsTokenizationFailOnDuplicateError:"Cette carte bancaire existe d\xe9j\xe0 comme mode de paiement enregistr\xe9.",hostedFieldsFailedTokenizationError:"V\xe9rifiez vos informations et r\xe9essayez.",hostedFieldsFieldsInvalidError:"V\xe9rifiez vos informations et r\xe9essayez.",hostedFieldsTokenizationNetworkErrorError:"Erreur r\xe9seau. R\xe9essayez.",hostedFieldsTokenizationCvvVerificationFailedError:"\xc9chec de v\xe9rification de la carte bancaire. V\xe9rifiez vos informations et r\xe9essayez.",paypalButtonMustBeUsed:"Utilisez le bouton PayPal pour poursuivre votre paiement.",paypalAccountTokenizationFailedError:"Une erreur est survenue lors de l'ajout du compte PayPal. R\xe9essayez.",paypalFlowFailedError:"Une erreur est survenue lors de la connexion \xe0 PayPal. R\xe9essayez.",paypalTokenizationRequestActiveError:"L'autorisation de paiement PayPal est d\xe9j\xe0 en cours.",venmoCanceledError:"Une erreur est survenue. V\xe9rifiez que vous disposez de la derni\xe8re version de l'application Venmo sur votre appareil et que votre navigateur prend en charge la redirection vers Venmo.",vaultManagerPaymentMethodDeletionError:"Impossible de supprimer la source d'approvisionnement. R\xe9essayez.",venmoAppFailedError:"L'application Venmo est introuvable sur votre appareil.",unsupportedCardTypeError:"Ce type de carte n'est pas pris en charge. Essayez une autre carte.",applePayTokenizationError:"Une erreur r\xe9seau s'est produite lors du traitement du paiement Apple Pay. R\xe9essayez.",applePayActiveCardError:"Enregistrez une carte prise en charge sur Apple Pay.",cardholderNameLabel:"Nom du titulaire de la carte",cardNumberLabel:"N\xba de carte",cvvLabel:"Cryptogramme visuel",cvvThreeDigitLabelSubheading:"(3\xa0chiffres)",cvvFourDigitLabelSubheading:"(4\xa0chiffres)",cardholderNamePlaceholder:"Nom du titulaire de la carte",expirationDateLabel:"Date d'expiration",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"Code postal",saveCardLabel:"Enregistrer une carte",payWithCard:"Payer par carte",endingIn:"Se terminant par {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Carte",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],228:[function(e,t,i){"use strict";t.exports={payingWith:"Payer avec {{paymentSource}}",chooseAnotherWayToPay:"Choisir un autre mode de paiement",chooseAWayToPay:"Choisir un mode de paiement",otherWaysToPay:"Autres modes de paiement",edit:"Modifier",doneEditing:"Termin\xe9",editPaymentMethods:"Modifier les modes de paiement",CreditCardDeleteConfirmationMessage:"Supprimer la carte {{secondaryIdentifier}} se terminant par {{identifier}}\xa0?",PayPalAccountDeleteConfirmationMessage:"Supprimer le compte PayPal {{identifier}}\xa0?",VenmoAccountDeleteConfirmationMessage:"Souhaitez-vous vraiment supprimer le compte Venmo associ\xe9 au nom d'utilisateur {{identifier}}?",genericDeleteConfirmationMessage:"Souhaitez-vous vraiment supprimer ce mode de paiement\xa0?",deleteCancelButton:"Annuler",deleteConfirmationButton:"Supprimer",fieldEmptyForCvv:"Saisissez un cryptogramme visuel.",fieldEmptyForExpirationDate:"Indiquez une date d'expiration.",fieldEmptyForCardholderName:"Saisissez le nom du titulaire de la carte.",fieldTooLongForCardholderName:"Le nom du titulaire de la carte doit comporter moins de 256\xa0caract\xe8res.",fieldEmptyForNumber:"Indiquez un num\xe9ro.",fieldEmptyForPostalCode:"Indiquez un code postal.",fieldInvalidForCardholderName:"Le nom de ce titulaire de la carte est incorrect.",fieldInvalidForCvv:"Ce cryptogramme visuel n'est pas valide.",fieldInvalidForExpirationDate:"Cette date d'expiration n'est pas valide.",fieldInvalidForNumber:"Ce num\xe9ro de carte n'est pas valide.",fieldInvalidForPostalCode:"Ce code postal n'est pas valide.",genericError:"Une erreur est survenue.",hostedFieldsTokenizationFailOnDuplicateError:"Cette carte bancaire existe d\xe9j\xe0 en tant que mode de paiement enregistr\xe9.",hostedFieldsFailedTokenizationError:"V\xe9rifiez les informations et r\xe9essayez.",hostedFieldsFieldsInvalidError:"V\xe9rifiez les informations et r\xe9essayez.",hostedFieldsTokenizationNetworkErrorError:"Erreur r\xe9seau. R\xe9essayez.",hostedFieldsTokenizationCvvVerificationFailedError:"\xc9chec de la v\xe9rification de carte bancaire. V\xe9rifiez les informations et r\xe9essayez.",paypalButtonMustBeUsed:"Utilisez le bouton PayPal pour poursuivre le paiement.",paypalAccountTokenizationFailedError:"Un probl\xe8me est survenu lors de l'ajout du compte PayPal. R\xe9essayez.",paypalFlowFailedError:"Une erreur est survenue lors de la connexion \xe0 PayPal. R\xe9essayez.",paypalTokenizationRequestActiveError:"L'autorisation de paiement PayPal est d\xe9j\xe0 en cours.",venmoCanceledError:"Une erreur est survenue. V\xe9rifiez que la derni\xe8re version de l'application Venmo est install\xe9e sur votre appareil et que votre navigateur prend en charge la redirection vers Venmo.",vaultManagerPaymentMethodDeletionError:"Impossible de supprimer le mode de paiement, r\xe9essayez.",venmoAppFailedError:"Nous n'avons pas trouv\xe9 l'application Venmo sur votre appareil.",unsupportedCardTypeError:"Ce type de carte n'est pas pris en charge. Essayez une autre carte.",applePayTokenizationError:"Une erreur r\xe9seau s'est produite lors du traitement du paiement Apple Pay. R\xe9essayez.",applePayActiveCardError:"Ajoutez une carte prise en charge \xe0 votre portefeuille Apple Pay.",cardholderNameLabel:"Nom du titulaire de la carte",cardNumberLabel:"Num\xe9ro de carte",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3\xa0chiffres)",cvvFourDigitLabelSubheading:"(4\xa0chiffres)",cardholderNamePlaceholder:"Nom du titulaire de la carte",expirationDateLabel:"Date d'expiration",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"Code postal",saveCardLabel:"Enregistrer la carte",payWithCard:"Payer avec la carte",endingIn:"Se terminant par {{lastFourCardDigits}}
1","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Carte",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],229:[function(e,t,i){"use strict";t.exports={payingWith:"ש×××ת תש××× ×××צע×ת {{paymentSource}}",chooseAnotherWayToPay:"×¢××× ××××ר ש××ת תש××× ××רת",chooseAWayToPay:"×¢××× ××××ר ש××ת תש×××",otherWaysToPay:"ש×××ת תש××× ××ר×ת",edit:"ער×××",doneEditing:"ס×××",editPaymentMethods:"ער××ת ש×××ת תש×××",CreditCardDeleteConfirmationMessage:"×רצ×× × ×××××§ ×ת ×ר××ס ×-{{secondaryIdentifier}} ש×סת××× ×ספר×ת {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"×רצ×× × ×××××§ ×ת ×ש××× ×-PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"××× ××ª× ×××× ×©×רצ×× × ×××××§ ×ת ×ש××× Venmo ×רש×× ×ª×ת ×©× ××שת×ש {{identifier}}?",genericDeleteConfirmationMessage:"××× ××ª× ×××× ×©×רצ×× × ×××××§ ש××ת תש××× ××?",deleteCancelButton:"×××××",deleteConfirmationButton:"××××§×",fieldEmptyForCvv:"×¢××× ×××× ×ת ×ספר ×××××× ×©× ×ר××ס ××שר××.",fieldEmptyForExpirationDate:"×¢××× ×××× ×ת ת×ר×× ×¤×§×עת ×ת××§×£.",fieldEmptyForCardholderName:"×¢××× ×××× ×ת ×©× ××¢× ××ר××ס.",fieldTooLongForCardholderName:"×©× ××¢× ××ר××ס ×××× ××××× 256 ת×××× ××× ×××תר.",fieldEmptyForNumber:"×¢××× ×××× ×ת ××ספר.",fieldEmptyForPostalCode:"×¢××× ×××× ×ת ××××§××.",fieldInvalidForCardholderName:"×©× ××¢× ××ר××ס ××× × ×××§×.",fieldInvalidForCvv:"×§×× ××××× ×× ××× × ×××§×.",fieldInvalidForExpirationDate:"ת×ר×× ×¤×§×עת ×ת××§×£ ××× ××× × ×××§×.",fieldInvalidForNumber:"×ספר ×ר××ס ××שר×× ××× ××× × ×××§×.",fieldInvalidForPostalCode:"×××§×× ×× ××× × ×××§×.",genericError:"× ×¨×× ×©×ש×× ×שת×ש ××¦× ×©×× ×.",hostedFieldsTokenizationFailOnDuplicateError:"×ר××ס ×שר×× ×× ××ר ש××ר ×ש××ת תש×××.",hostedFieldsFailedTokenizationError:"×¢××× ×××××§ ×ת ×פר××× ×©×× ××× ×¡×ת ש××.",hostedFieldsFieldsInvalidError:"×¢××× ×××××§ ×ת ×פר××× ×©×× ××× ×¡×ת ש××.",hostedFieldsTokenizationNetworkErrorError:"ש×××ת רשת. ×ש ×× ×¡×ת ש××.",hostedFieldsTokenizationCvvVerificationFailedError:"××××ת ×ר××ס ××שר×× × ×ש×. ×¢××× ×××××§ ×ת ×פר××× ×©×× ××× ×¡×ת ש××.",paypalButtonMustBeUsed:"××שת×ש ××××¦× PayPal ××× ×××ש×× ×××צ××¢ ×תש××× ×©××.",paypalAccountTokenizationFailedError:"×ש×× ×שת×ש ×× ×עת ××ספת ×ש××× PayPal. ×ש ×× ×¡×ת ש××.",paypalFlowFailedError:"×ש×× ×שת×ש ××ת××ר×ת ×-PayPal. ×ש ×× ×¡×ת ש××.",paypalTokenizationRequestActiveError:"××ש×ר ×תש××× ×©× PayPal ××ר ×ת×צע.",venmoCanceledError:"× ×¨×× ×©×ש×× ×שת×ש. ×¢××× ××××× ×©×××¨×¡× ××¢××× ×ת ×××תר ×©× ×פ××קצ××ת Venmo ×××ª×§× ×ª ×××ש×ר ש××, ×ש××פ××¤× ×©×× ×ª××× ×××¢×ר ×-Venmo.",vaultManagerPaymentMethodDeletionError:"×× ×צ××× × ×××××§ ×ת ש××ת ×תש×××, ×¢××× ×× ×¡×ת ש××.",venmoAppFailedError:"×× ×צ×× × ××צ×× ×ת ×פ××קצ××ת Venmo ×××ש×ר ש××.",unsupportedCardTypeError:"ס×× ×ר××ס ×× ××× × × ×ª××. ×¢××× ×× ×¡×ת ×ר××ס ××ר.",applePayTokenizationError:"×××¨×¢× ×©×××ת רשת ×עת ×¢×××× ×ª×©××× ×תש××××× ×©× Apple Pay. ×ש ×× ×¡×ת ש××.",applePayActiveCardError:"××ספת ×ר××ס × ×ª×× ×××¨× ×§ Apple Pay ש××.",cardholderNameLabel:"×©× ××¢× ××ר××ס",cardNumberLabel:"×ספר ××ר××ס",cvvLabel:"×§×× ×××××× (CVV)",cvvThreeDigitLabelSubheading:"(3 ספר×ת)",cvvFourDigitLabelSubheading:"(×ר××¢ ספר×ת)",cardholderNamePlaceholder:"×©× ××¢× ××ר××ס",expirationDateLabel:"ת×ר×× ×¤×§×עת ת××§×£",expirationDateLabelSubheading:"(MM/YY)",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"×××§××",saveCardLabel:"ש××רת ××ר××ס",payWithCard:"תש××× ×××צע×ת ×ר××ס ×שר××",endingIn:"××סת××× ×ספר×ת {{lastFourCardDigits}}
1","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"×ר××ס",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],230:[function(e,t,i){"use strict";t.exports={payingWith:"Fizetve ezzel {{paymentSource}}",chooseAnotherWayToPay:"V\xe1lasszon m\xe1sik fizet\xe9si m\xf3dot",chooseAWayToPay:"V\xe1lasszon fizet\xe9si m\xf3dot",otherWaysToPay:"Egy\xe9b fizet\xe9si m\xf3dok",edit:"Szerkeszt\xe9s",doneEditing:"K\xe9sz",editPaymentMethods:"Fizet\xe9si m\xf3dok szerkeszt\xe9se",CreditCardDeleteConfirmationMessage:"T\xf6rli a(z) {{identifier}}-re v\xe9gzÅdÅ {{secondaryIdentifier}} k\xe1rty\xe1t?",PayPalAccountDeleteConfirmationMessage:"T\xf6rli a(z) {{identifier}} PayPal-sz\xe1ml\xe1t?",VenmoAccountDeleteConfirmationMessage:"Biztosan t\xf6rli a(z) {{identifier}} felhaszn\xe1l\xf3n\xe9vhez tartoz\xf3 Venmo-sz\xe1ml\xe1t?",genericDeleteConfirmationMessage:"Biztosan t\xf6rli ezt a fizet\xe9si m\xf3dot?",deleteCancelButton:"M\xe9gse",deleteConfirmationButton:"T\xf6r\xe9s",fieldEmptyForCvv:"Adja meg a CVV-t.",fieldEmptyForExpirationDate:"T\xf6ltse ki a lej\xe1rati d\xe1tumot.",fieldEmptyForCardholderName:"T\xf6ltse ki a k\xe1rtyatulajdonos nev\xe9t.",fieldTooLongForCardholderName:"A k\xe1rtyatulajdonos neve nem lehet hosszabb mint 256 karakter.",fieldEmptyForNumber:"T\xf6ltse ki a sz\xe1mot.",fieldEmptyForPostalCode:"T\xf6ltse ki az ir\xe1ny\xedt\xf3sz\xe1mot.",fieldInvalidForCardholderName:"Ez a k\xe1rtyabirtokos neve nem \xe9rv\xe9nyes.",fieldInvalidForCvv:"Ez a biztons\xe1gi k\xf3d nem \xe9rv\xe9nyes.",fieldInvalidForExpirationDate:"Ez a lej\xe1rati d\xe1tum nem \xe9rv\xe9nyes.",fieldInvalidForNumber:"Ez a k\xe1rtyasz\xe1m nem \xe9rv\xe9nyes.",fieldInvalidForPostalCode:"Ez az ir\xe1ny\xedt\xf3sz\xe1m nem \xe9rv\xe9nyes.",genericError:"Hiba t\xf6rt\xe9nt a mi oldalunkon.",hostedFieldsTokenizationFailOnDuplicateError:"Ez a hitelk\xe1rtya m\xe1r szerepel mentett fizet\xe9si m\xf3dk\xe9nt.",hostedFieldsFailedTokenizationError:"EllenÅrizze adatait, majd pr\xf3b\xe1lja \xfajra.",hostedFieldsFieldsInvalidError:"EllenÅrizze adatait, majd pr\xf3b\xe1lja \xfajra.",hostedFieldsTokenizationNetworkErrorError:"H\xe1l\xf3zati hiba. Pr\xf3b\xe1lja \xfajra.",hostedFieldsTokenizationCvvVerificationFailedError:"A hitelk\xe1rtya hiteles\xedt\xe9se sikertelen. EllenÅrizze adatait, majd pr\xf3b\xe1lja \xfajra.",payp
1alButtonMustBeUsed:"A fizet\xe9s folytat\xe1s\xe1hoz haszn\xe1lja a PayPal-gombot.",paypalAccountTokenizationFailedError:"Hiba t\xf6rt\xe9nt a PayPal-sz\xe1mla hozz\xe1ad\xe1sa k\xf6zben. Pr\xf3b\xe1lja \xfajra.",paypalFlowFailedError:"Hiba t\xf6rt\xe9nt a PayPalhoz val\xf3 kapcsol\xf3d\xe1s k\xf6zben. Pr\xf3b\xe1lja \xfajra.",paypalTokenizationRequestActiveError:"A PayPal-fizet\xe9s enged\xe9lyez\xe9se m\xe1r folyamatban van.",venmoCanceledError:"Hiba t\xf6rt\xe9nt. EllenÅrizze, hogy eszk\xf6z\xe9re a Venmo-alkalmaz\xe1s legfrissebb verzi\xf3ja van-e telep\xedtve, \xe9s hogy a b\xf6ng\xe9szÅje t\xe1mogatja-e a Venmo-ra t\xf6rt\xe9nÅ \xe1tv\xe1lt\xe1st.",vaultManagerPaymentMethodDeletionError:"Nem siker\xfclt t\xf6r\xf6lni a fizet\xe9si m\xf3dot, pr\xf3b\xe1lja \xfajra.",venmoAppFailedError:"A Venmo-alkalmaz\xe1st nem tal\xe1lja a rendszer az eszk\xf6z\xf6n.",unsupportedCardTypeError:"Ez a k\xe1rtyat\xedpus nem t\xe1mogatott. Pr\xf3b\xe1ljon meg m\xe1sik k\xe1rty\xe1t.",applePayTokenizationError:"H\xe1l\xf3zati hiba t\xf6rt\xe9nt az Apple Pay-kifizet\xe9s k\xf6zben. Pr\xf3b\xe1lja \xfajra.",applePayActiveCardError:"Adjon egy t\xe1mogatott k\xe1rty\xe1j\xe1t az Apple Pay p\xe9nzt\xe1rc\xe1hoz.",cardholderNameLabel:"K\xe1rtyatulajdonos neve",cardNumberLabel:"K\xe1rtyasz\xe1m",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 sz\xe1mjegy)",cvvFourDigitLabelSubheading:"(4 sz\xe1mjegy)",cardholderNamePlaceholder:"K\xe1rtyatulajdonos neve",expirationDateLabel:"Lej\xe1rati d\xe1tum",expirationDateLabelSubheading:"(HH/\xc9\xc9)",expirationDatePlaceholder:"HH/\xc9\xc9",postalCodeLabel:"Ir\xe1ny\xedt\xf3sz\xe1m",saveCardLabel:"K\xe1rtya ment\xe9se",payWithCard:"Fizet\xe9s k\xe1rty\xe1val",endingIn:"{{lastFourCardDigits}} v\xe9gű","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"-k\xe1rtya",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],231:[function(e,t,i){"use strict";t.exports={payingWith:"Membayar dengan {{paymentSource}}",chooseAnotherWayToPay:"Pilih metode pembayaran lain",chooseAWayToPay:"Pilih metode pembayaran",otherWaysToPay:"Metode pembayaran lain",edit:"Edit",doneEditing:"Selesai",editPaymentMethods:"Edit metode pembayaran",CreditCardDeleteConfirmationMessage:"Hapus kartu {{secondaryIdentifier}} yang berakhiran {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Hapus {{identifier}} rekening PayPal?",VenmoAccountDeleteConfirmationMessage:"Yakin akan menghapus rekening Venmo dengan nama pengguna {{identifier}}?",genericDeleteConfirmationMessage:"Yakin akan menghapus metode pembayaran ini?",deleteCancelButton:"Batalkan",deleteConfirmationButton:"Hapus",fieldEmptyForCvv:"Masukkan CVV.",fieldEmptyForExpirationDate:"Masukkan tanggal akhir berlaku.",fieldEmptyForCardholderName:"Masukkan nama pemegang kartu.",fieldTooLongForCardholderName:"Nama pemegang kartu harus kurang dari 256 karakter.",fieldEmptyForNumber:"Masukkan nomor.",fieldEmptyForPostalCode:"Masukkan kode pos.",fieldInvalidForCardholderName:"Nama pemilik kartu ini tidak valid.",fieldInvalidForCvv:"Kode keamanan ini tidak valid.",fieldInvalidForExpirationDate:"Tanggal akhir berlaku ini tidak valid.",fieldInvalidForNumber:"Nomor kartu ini tidak valid.",fieldInvalidForPostalCode:"Kode pos ini tidak valid.",genericError:"Ada yang salah pada sistem kami.",hostedFieldsTokenizationFailOnDuplicateError:"Kartu kredit ini sudah dimasukkan sebagai metode pembayaran tersimpan.",hostedFieldsFailedTokenizationError:"Periksa informasi Anda dan coba lagi.",hostedFieldsFieldsInvalidError:"Periksa informasi Anda dan coba lagi.",hostedFieldsTokenizationNetworkErrorError:"Masalah jaringan. Coba lagi.",hostedFieldsTokenizationCvvVerificationFailedError:"Verifikasi kartu kredit gagal. Periksa informasi Anda dan coba lagi.",paypalButtonMustBeUsed:"Gunakan tombol PayPal untuk melanjutkan pembayaran Anda.",paypalAccountTokenizationFailedError:"Terjadi kesalahan saat menambahkan rekening PayPal. Coba lagi.",paypalFlowFailedError:"Terjadi kesalahan saat menyambung ke PayPal. Coba lagi.",paypalTokenizationRequestActiveError:"Otorisasi pembayaran PayPal sedang diproses.",venmoCanceledError:"Terdapat kesalahan. Pastikan Anda telah menginstal aplikasi Venmo versi terbaru pada perangkat dan peramban Anda mendukung untuk beralih ke Venmo.",vaultManagerPaymentMethodDeletionError:"Tidak dapat menghapus metode pembayaran, coba lagi.",venmoAppFailedError:"Aplikasi Venmo tidak dapat ditemukan pada perangkat Anda.",unsupportedCardTypeError:"Jenis kartu ini tidak didukung. Coba kartu lainnya.",applePayTokenizationError:"Terjadi kesalahan jaringan sewaktu memproses pembayaran melalui Apple Pay. Coba lagi.",applePayActiveCardError:"Tambahkan kartu yang didukung ke wallet Apple Pay.",cardholderNameLabel:"Nama Pemegang Kartu",cardNumberLabel:"Nomor Kartu",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 angka)",cvvFourDigitLabelSubheading:"(4 angka)",cardholderNamePlaceholder:"Nama Pemegang Kartu",expirationDateLabel:"Tanggal Kedaluwarsa",expirationDateLabelSubheading:"(BB/TT)",expirationDatePlaceholder:"BB/TT",postalCodeLabel:"Kode Pos",saveCardLabel:"Simpan kartu",payWithCard:"Bayar dengan kartu",endingIn:"Berakhiran {{lastTwoCardDigits}}
1","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kartu",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],232:[function(e,t,i){"use strict";var r=e("../lib/assign").assign,n={ar_EG:e("./ar_EG"),cs_CZ:e("./cs_CZ"),da_DK:e("./da_DK"),de_DE:e("./de_DE"),el_GR:e("./el_GR"),en_AU:e("./en_AU"),en_GB:e("./en_GB"),en_IN:e("./en_IN"),en_US:e("./en_US"),es_ES:e("./es_ES"),es_XC:e("./es_XC"),fi_FI:e("./fi_FI"),fr_CA:e("./fr_CA"),fr_FR:e("./fr_FR"),fr_XC:e("./fr_XC"),he_IL:e("./he_IL"),hu_HU:e("./hu_HU"),id_ID:e("./id_ID"),it_IT:e("./it_IT"),ja_JP:e("./ja_JP"),ko_KR:e("./ko_KR"),nl_NL:e("./nl_NL"),no_NO:e("./no_NO"),pl_PL:e("./pl_PL"),pt_BR:e("./pt_BR"),pt_PT:e("./pt_PT"),ru_RU:e("./ru_RU"),sk_SK:e("./sk_SK"),sv_SE:e("./sv_SE"),th_TH:e("./th_TH"),zh_CN:e("./zh_CN"),zh_HK:e("./zh_HK"),zh_TW:e("./zh_TW"),zh_XC:e("./zh_XC")},o={ar:n.ar_EG,cs:n.cs_CZ,da:n.da_DK,de:n.de_DE,el:n.el_GR,en:n.en_US,es:n.es_ES,fi:n.fi_FI,fr:n.fr_FR,id:n.id_ID,it:n.it_IT,hu:n.hu_HU,ja:n.ja_JP,ko:n.ko_KR,nl:n.nl_NL,no:n.no_NO,pl:n.pl_PL,pt:n.pt_PT,ru:n.ru_RU,sk:n.sk_SK,sv:n.sv_SE,th:n.th_TH,zh:n.zh_CN};t.exports={twoCharacterLocaleAliases:o,fiveCharacterLocales:n,translations:r({},o,n)}},{"../lib/assign":197,"./ar_EG":214,"./cs_CZ":215,"./da_DK":216,"./de_DE":217,"./el_GR":218,"./en_AU":219,"./en_GB":220,"./en_IN":221,"./en_US":222,"./es_ES":223,"./es_XC":224,"./fi_FI":225,"./fr_CA":226,"./fr_FR":227,"./fr_XC":228,"./he_IL":229,"./hu_HU":230,"./id_ID":231,"./it_IT":233,"./ja_JP":234,"./ko_KR":235,"./nl_NL":236,"./no_NO":237,"./pl_PL":238,"./pt_BR":239,"./pt_PT":240,"./ru_RU":241,"./sk_SK":242,"./sv_SE":243,"./th_TH":244,"./zh_CN":245,"./zh_HK":246,"./zh_TW":247,"./zh_XC":248}],233:[function(e,t,i){"use strict";t.exports={payingWith:"Pagamento con {{paymentSource}}",chooseAnotherWayToPay:"Scegli di pagare in un altro modo",chooseAWayToPay:"Scegli come pagare",otherWaysToPay:"Altri modi di pagare",edit:"Modifica",doneEditing:"Fine",editPaymentMethods:"Modifica i metodi di pagamento",CreditCardDeleteConfirmationMessage:"Eliminare la carta {{secondaryIdentifier}} le cui ultime cifre sono {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Eliminare il conto PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Vuoi eliminare il conto Venmo con nome utente {{identifier}}?",genericDeleteConfirmationMessage:"Vuoi eliminare questo metodo di pagamento?",deleteCancelButton:"Annulla",deleteConfirmationButton:"Rimuovi",fieldEmptyForCvv:"Immetti il codice di sicurezza (CVV).",fieldEmptyForExpirationDate:"Immetti la data di scadenza.",fieldEmptyForCardholderName:"Immetti il nome del titolare della carta.",fieldTooLongForCardholderName:"Il nome del titolare della carta deve avere meno di 256 caratteri.",fieldEmptyForNumber:"Immetti il numero di carta.",fieldEmptyForPostalCode:"Immetti il CAP.",fieldInvalidForCardholderName:"Il nome del titolare non \xe8 valido.",fieldInvalidForCvv:"Il codice di sicurezza non \xe8 valido.",fieldInvalidForExpirationDate:"La data di scadenza non \xe8 valida.",fieldInvalidForNumber:"Il numero di carta non \xe8 valido.",fieldInvalidForPostalCode:"Il CAP non \xe8 valido.",genericError:"Si \xe8 verificato un errore nei nostri sistemi.",hostedFieldsTokenizationFailOnDuplicateError:"Questa carta di credito \xe8 gi\xe0 registrata come metodo di pagamento salvato.",hostedFieldsFailedTokenizationError:"Controlla e riprova.",hostedFieldsFieldsInvalidError:"Controlla e riprova.",hostedFieldsTokenizationNetworkErrorError:"Errore di rete. Riprova.",hostedFieldsTokenizationCvvVerificationFailedError:"La verifica della carta di credito non \xe8 andata a buon fine. Controlla i dati e riprova.",paypalButtonMustBeUsed:"Usa il pulsante PayPal per procedere al pagamento.",payp
1alAccountTokenizationFailedError:"Si \xe8 verificato un errore nel collegamento del conto PayPal. Riprova.",paypalFlowFailedError:"Si \xe8 verificato un errore di connessione a PayPal. Riprova.",paypalTokenizationRequestActiveError:"L'autorizzazione di pagamento PayPal \xe8 gi\xe0 in corso.",venmoCanceledError:"Si \xe8 verificato un errore. Assicurati di avere la versione pi\xf9 recente dell'app Venmo installata sul tuo dispositivo e che il browser supporti l'uso di Venmo.",vaultManagerPaymentMethodDeletionError:"Impossibile eliminare il metodo di pagamento; riprova.",venmoAppFailedError:"Impossibile trovare l'app Venmo sul dispositivo in uso.",unsupportedCardTypeError:"Questo tipo di carta non \xe8 supportato. Prova con un'altra carta.",applePayTokenizationError:"Si \xe8 verificato un errore di rete durante l'elaborazione del pagamento con Apple Pay. Riprova.",applePayActiveCardError:"Collega una carta supportata al tuo Apple Pay Wallet.",cardholderNameLabel:"Titolare della carta",cardNumberLabel:"Numero di carta",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 cifre)",cvvFourDigitLabelSubheading:"(4 cifre)",cardholderNamePlaceholder:"Titolare della carta",expirationDateLabel:"Data di scadenza",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"CAP",saveCardLabel:"Salva carta",payWithCard:"Paga con una carta",endingIn:"Le cui ultime cifre sono {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Carta",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],234:[function(e,t,i){"use strict";t.exports={payingWith:"{{paymentSource}}ã§æ¯æã",chooseAnotherWayToPay:"å¥ã®æ¯ææ¹æ³ã鏿ãã",chooseAWayToPay:"æ¯ææ¹æ³ã鏿ãã",otherWaysToPay:"ãã®ä»ã®æ¯ææ¹æ³",edit:"ç·¨é",doneEditing:"å®äº",editPaymentMethods:"æ¯ææ¹æ³ã®ç·¨é",CreditCardDeleteConfirmationMessage:"æ«å°¾ã{{identifier}}ã®{{secondaryIdentifier}}ã«ã¼ããåé¤ãã¾ãã?",PayPalAccountDeleteConfirmationMessage:"PayPalã¢ã«ã¦ã³ã{{identifier}}ãåé¤ãã¾ãã?",VenmoAccountDeleteConfirmationMessage:"ã¦ã¼ã¶ã¼å{{identifier}}ã®Venmoã¢ã«ã¦ã³ããåé¤ãã¦ããããã§ãã?",genericDeleteConfirmationMessage:"ãã®æ¯æãæ¹æ³ãåé¤ãã¦ããããã§ãã?",deleteCancelButton:"ãã£ã³ã»ã«",deleteConfirmationButton:"åé¤",fieldEmptyForCvv:"ã»ãã¥ãªãã£ã³ã¼ããå
¥åãã¦ãã ããã",fieldEmptyForExpirationDate:"æå¹æéãå
¥åãã¦ãã ããã",fieldEmptyForCardholderName:"ã«ã¼ãä¿æè
ã®ååãå
¥åãã¦ãã ããã",fieldTooLongForCardholderName:"ã«ã¼ãä¿æè
ã®ååã¯256æåæªæºã«ãã¦ãã ããã",fieldEmptyForNumber:"çªå·ãå
¥åãã¦ãã ããã",fieldEmptyForPostalCode:"éµä¾¿çªå·ãå
¥åãã¦ãã ããã",fieldInvalidForCardholderName:"ãã®ã«ã¼ãä¿æè
ã®ååã¯ç¡å¹ã§ãã",fieldInvalidForCvv:"ãã®ã»ãã¥ãªãã£ã³ã¼ãã¯ç¡å¹ã§ãã",fieldInvalidForExpirationDate:"ãã®æå¹æéã¯ç¡å¹ã§ãã",fieldInvalidForNumber:"ãã®ã«ã¼ãçªå·ã¯ç¡å¹ã§ãã",fieldInvalidForPostalCode:"ãã®éµä¾¿çªå·ã¯ç¡å¹ã§ãã",genericError:"å¼ç¤¾å´ã§åé¡ãçºçãã¾ããã",hostedFieldsTokenizationFailOnDuplicateError:"ãã®ã¯ã¬ã¸ããã«ã¼ãã¯ãä¿åæ¸ã¿ã®æ¯ææ¹æ³ã¨ãã¦ãã§ã«ç»é²ããã¦ãã¾ãã",hostedFieldsFailedTokenizationError:"æ
å ±ã確èªãã¦ããä¸åº¦ã試ããã ããã",hostedFieldsFieldsInvalidError:"æ
å ±ã確èªãã¦ããä¸åº¦ã試ããã ããã",hostedFieldsTokenizationNetworkErrorError:"ãããã¯ã¼ã¯ã¨ã©ã¼ã§ããããä¸åº¦ã試ããã ããã",hostedFieldsTokenizationCvvVerificationFailedError:"ã¯ã¬ã¸ããã«ã¼ãã®èªè¨¼ã«å¤±æãã¾ãããæ
å ±ã確èªãã¦ããä¸åº¦ã試ããã ããã",paypalButtonMustBeUsed:"ã客ãã¾ã®æ¯æããç¶è¡ããã«ã¯ãPayPalãã¿ã³ã使ç¨ãã¾ãã",paypalAccountTokenizationFailedError:"PayPalã¢ã«ã¦ã³ãã®è¿½å ã§åé¡ãçºçãã¾ãããããä¸åº¦ã試ããã ããã",paypalFlowFailedError:"PayPalã¸ã®æ¥ç¶ã«åé¡ãçºçãã¾ãããããä¸åº¦ã試ããã ããã",paypalTokenizationRequestActiveError:"PayPalæ¯æãã®æ¿èªã¯ãã§ã«å¦çä¸ã§ãã",venmoCanceledError:"åé¡ãçºçãã¾ãããã客ãã¾ã®ç«¯æ«ã«ã¤ã
1³ã¹ãã¼ã«ããã¦ããVenmoã¢ããªãææ°ã®ãã¼ã¸ã§ã³ã§ãããã¨ãã使ãã®ãã©ã¦ã¶ãVenmoã¸ã®åãæ¿ãããµãã¼ããã¦ãããã¨ã確èªãã¦ãã ããã",vaultManagerPaymentMethodDeletionError:"æ¯ææ¹æ³ãåé¤ã§ãã¾ãããããä¸åº¦ã試ããã ããã",venmoAppFailedError:"ã客ãã¾ã®ç«¯æ«ã§Venmoã¢ããªãè¦ã¤ããã¾ããã§ããã",unsupportedCardTypeError:"ãã®ã«ã¼ãã¿ã¤ãã¯ãµãã¼ãããã¦ãã¾ãããå¥ã®ã«ã¼ããã使ç¨ãã ããã",applePayTokenizationError:"Apple Payã®æ¯æããå¦çããéã«ãããã¯ã¼ã¯ã¨ã©ã¼ãçºçãã¾ãããããä¸åº¦ã試ããã ããã",applePayActiveCardError:"Apple Payã¦ã©ã¬ããã«å¯¾å¿ãã¦ããã«ã¼ãã追å ãã¦ãã ããã",cardholderNameLabel:"ã«ã¼ãä¿æè
ã®åå",cardNumberLabel:"ã«ã¼ãçªå·",cvvLabel:"ã»ãã¥ãªãã£ã³ã¼ã",cvvThreeDigitLabelSubheading:"(3æ¡)",cvvFourDigitLabelSubheading:"(4æ¡)",cardholderNamePlaceholder:"ã«ã¼ãä¿æè
ã®åå",expirationDateLabel:"æå¹æé",expirationDateLabelSubheading:"(MM/YY)",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"éµä¾¿çªå·",saveCardLabel:"ã«ã¼ããä¿å",payWithCard:"ã«ã¼ãã§æ¯æã",endingIn:"æ«å°¾ã{{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"ã«ã¼ã",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"éè¯(UnionPay)"}},{}],235:[function(e,t,i){"use strict";t.exports={payingWith:"{{paymentSource}}(ì¼)ë¡ ê²°ì ",chooseAnotherWayToPay:"ë¤ë¥¸ ê²°ì ìë¨ ì í",chooseAWayToPay:"ê²°ì ìë¨ ì í",otherWaysToPay:"ë¤ë¥¸ ë°©ë²ì¼ë¡ ê²°ì ",edit:"í¸ì§",doneEditing:"ìë£",editPaymentMethods:"ê²°ì ìë¨ í¸ì§",CreditCardDeleteConfirmationMessage:"ëë²í¸ê° {{identifier}}ì¸ {{secondaryIdentifier}} ì¹´ë를 ìì íìê² ì´ì?",PayPalAccountDeleteConfirmationMessage:"PayPal ê³ì {{identifier}}ì(를) ìì íìê² ì´ì?",VenmoAccountDeleteConfirmationMessage:"ì¬ì©ì ì´ë¦ì´ {{identifier}}ì¸ Venmo ê³ì ì ìì íìê² ì´ì?",genericDeleteConfirmationMessage:"ì´ ê²°ì ìë¨ì ìì íìê² ì´ì?",deleteCancelButton:"ì·¨ì",deleteConfirmationButton:"ìì ",fieldEmptyForCvv:"CVV를 ì
ë ¥íì¸ì.",fieldEmptyForExpirationDate:"ë§ë£ì¼ì ì
ë ¥íì¸ì.",fieldEmptyForCardholderName:"ì¹´ë ìì ì ì´ë¦ì ì
ë ¥íì¸ì.",fieldTooLongForCardholderName:"ì¹´ë ìì ì ì´ë¦ì 256ì 미ë§ì´ì´ì¼ í©ëë¤.",fieldEmptyForNumber:"ë²í¸ë¥¼ ì
ë ¥íì¸ì.",fieldEmptyForPostalCode:"ì°í¸ë²í¸ë¥¼ ì
ë ¥íì¸ì.",fieldInvalidForCardholderName:"ì´ ì¹´ë ìì ì ì´ë¦ì ì í¨íì§ ììµëë¤.",fieldInvalidForCvv:"ì´ ë³´ì ì½ëê° ì¬ë°ë¥´ì§ ììµëë¤.",fieldInvalidForExpirationDate:"ì´ ë§ë£ì¼ì´ ì¬ë°ë¥´ì§ ììµëë¤.",fieldInvalidForNumber:"ì´ ì¹´ë ë²í¸ê° ì¬ë°ë¥´ì§ ììµëë¤.",fieldInvalidForPostalCode:"ì´ ì°í¸ë²í¸ê° ì¬ë°ë¥´ì§ ììµëë¤.",genericError:"ì í¬ ìª½ì 문ì ê° ë°ìíìµëë¤.",hostedFieldsTokenizationFailOnDuplicateError:"ì ì¥ë ê²°ì ìë¨ì ì´ë¯¸ ì´ ì ì©ì¹´ëê° ì¡´ì¬í©ëë¤.",hostedFieldsFailedTokenizationError:"ì 보를 íì¸íê³ ë¤ì ìëí´ ì£¼ì¸ì.",hostedFieldsFieldsInvalidError:"ì 보를 íì¸íê³ ë¤ì ìëí´ ì£¼ì¸ì.",hostedFieldsTokenizationNetworkErrorError:"ë¤í¸ìí¬ ì¤ë¥ê° ë°ìíìµëë¤. ë¤ì ìëí´ ì£¼ì¸ì.",hostedFieldsTokenizationCvvVerificationFailedError:"ì ì©ì¹´ë ì¸ì¦ì ì¤í¨íìµëë¤. ì 보를 íì¸íê³ ë¤ì ìëí´ ì£¼ì¸ì.",paypalButtonMustBeUsed:"ê²°ì 를 ê³ìíë ¤ë©´ PayPal ë²í¼ì ì¬ì©íì¸ì.",paypalAccountTokenizationFailedError:"PayPal ê³ì ì ì¶ê°íë ëì 문ì ê° ë°ìíìµëë¤. ë¤ì ìëí´ ì£¼ì¸ì.",paypalFlowFailedError:"PayPal ê³ì ì ì°ê²°íë ëì 문ì ê° ë°ìíìµëë¤. ë¤ì ìëí´ ì£¼ì¸ì.",paypalTokenizationRequestActiveError:"PayPal ê²°ì ì¹ì¸ì´ ì´ë¯¸ ì§í ì¤ì
ëë¤.",venmoCanceledError:"ì¤ë¥ê° ë°ìíìµëë¤. 기기ì ìµì ë²ì ì Venmo ì±ì´ ì¤ì¹ëì´ ìì¼ë©° ë¸ë¼ì°ì ê° Venmoë¡ ì í 기ë¥ì ì§ìíëì§ íì¸íì¸ì.",vaultManagerPaymentMethodDeletionError:"ê²°ì ìë¨ì ìì í ì ììµëë¤. ë¤ì ìëí´ ì£¼ì¸ì.",venmoAppFailedError:"기기ìì Venmo ì±ì ì°¾ì ì ììµëë¤.",unsupportedCardTypeError:"ì´ ì¹´ë íìì ì§ìëì§ ììµëë¤. ë¤ë¥¸ ì¹´ëë¡ ìëí´ ì£¼ì¸ì.",applePayTokenizationError:"Apple Pay ê²°ì 를 ì²ë¦¬íë ëì ë¤í¸ìí¬ ì¤ë¥ê° ë°ìíìµëë¤. ë¤ì ìëí´ ì£¼ì¸ì.",applePayActiveCardError:"Apple Pay ì ìì§ê°ì ì§ìëë ì¹´ë를 ì¶ê°íì¸ì.",cardholderNameLabel:"ì¹´ë ìì ì ì´ë¦",cardNumberLabel:"ì¹´ë ë²í¸",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3ì리)",cvvFourDigitLabelSubheading:"(4ì리)",cardholderNamePlaceholder:"ì¹´ë ìì ì ì´ë¦",expirationDateLabel:"ë§ë£ì¼",expirationDateLabelSubheading:"(MM/YY)",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"ì°í¸ë²í¸",saveCardLabel:"ì¹´ë ì ì¥",payWithCard:"ì¹´ëë¡ ê²°ì ",endingIn:"ëë²í¸: {{lastFourCardDigits}}
1","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"ì¹´ë",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],236:[function(e,t,i){"use strict";t.exports={payingWith:"Betalen met {{paymentSource}}",chooseAnotherWayToPay:"Kies een andere betaalmethode",chooseAWayToPay:"Kies een betaalwijze",otherWaysToPay:"Andere manieren om te betalen",edit:"Bewerk",doneEditing:"Klaar",editPaymentMethods:"Betaalmethoden aanpassen",CreditCardDeleteConfirmationMessage:"{{secondaryIdentifier}}-kaart eindigend op {{identifier}} verwijderen?",PayPalAccountDeleteConfirmationMessage:"PayPal-rekening {{identifier}} verwijderen?",VenmoAccountDeleteConfirmationMessage:"Weet u zeker dat u Venmo-rekening met gebruikersnaam {{identifier}} wilt verwijderen?",genericDeleteConfirmationMessage:"Weet u zeker dat u deze betaalmethode wilt verwijderen?",deleteCancelButton:"Annuleren",deleteConfirmationButton:"Verwijderen",fieldEmptyForCvv:"Vul een CSC in.",fieldEmptyForExpirationDate:"Vul een vervaldatum in.",fieldEmptyForCardholderName:"Vul een naam voor de kaarthouder in.",fieldTooLongForCardholderName:"De naam van de kaarthouder moet korter zijn dan 256 tekens.",fieldEmptyForNumber:"Vul een nummer in.",fieldEmptyForPostalCode:"Vul een postcode in.",fieldInvalidForCardholderName:"Naam kaarthouder is ongeldig.",fieldInvalidForCvv:"Deze CSC is ongeldig.",fieldInvalidForExpirationDate:"Deze vervaldatum is ongeldig.",fieldInvalidForNumber:"Dit creditcardnummer is ongeldig.",fieldInvalidForPostalCode:"Deze postcode is ongeldig.",genericError:"Er is iets fout gegaan.",hostedFieldsTokenizationFailOnDuplicateError:"Deze creditcard staat al geregistreerd als een opgeslagen betaalmethode.",hostedFieldsFailedTokenizationError:"Controleer uw gegevens en probeer het opnieuw.",hostedFieldsFieldsInvalidError:"Controleer uw gegevens en probeer het opnieuw.",hostedFieldsTokenizationNetworkErrorError:"Netwerkfout. Probeer het opnieuw.",hostedFieldsTokenizationCvvVerificationFailedError:"De controle van de creditcard is mislukt. Controleer uw gegevens en probeer het opnieuw.",paypalButtonMustBeUsed:"Gebruik de PayPal-knop om door te gaan met uw betaling.",paypalAccountTokenizationFailedError:"Er is iets misgegaan bij het toevoegen van de PayPal-rekening. Probeer het opnieuw.",paypalFlowFailedError:"Er is iets misgegaan bij de verbinding met PayPal. Probeer het opnieuw.",paypalTokenizationRequestActiveError:"De autorisatie van de PayPal-betaling is al in behandeling.",venmoCanceledError:"Er ging iets fout. Controleer of de meest recente versie van de Venmo-app op je apparaat is ge\xefnstalleerd en dat je browser overschakelen naar Venmo ondersteunt.",vaultManagerPaymentMethodDeletionError:"Kan de betaalmethode niet verwijderen, probeer het opnieuw.",venmoAppFailedError:"De Venmo-app is niet aangetroffen op je apparaat.",unsupportedCardTypeError:"Dit type creditcard wordt niet ondersteund. Gebruik een andere creditcard.",applePayTokenizationError:"Er is een netwerkfout opgetreden bij het verwerken van de Apple Pay-betaling. Probeer het opnieuw.",applePayActiveCardError:"Voeg een ondersteunde creditcard toe aan je Apple Pay-wallet.",cardholderNameLabel:"Naam kaarthouder",cardNumberLabel:"Creditcardnummer",cvvLabel:"CSC",cvvThreeDigitLabelSubheading:"(3 cijfers)",cvvFourDigitLabelSubheading:"(4 cijfers)",cardholderNamePlaceholder:"Naam kaarthouder",expirationDateLabel:"Vervaldatum",expirationDateLabelSubheading:"(MM/JJ)",expirationDatePlaceholder:"MM/JJ",postalCodeLabel:"Postcode",saveCardLabel:"Creditcard opslaan",payWithCard:"Betalen met creditcard",endingIn:"Eindigend op {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Creditcard",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],237:[function(e,t,i){"use strict";
1t.exports={payingWith:"Betaling med {{paymentSource}}",chooseAnotherWayToPay:"Velg en annen m\xe5te \xe5 betale p\xe5",chooseAWayToPay:"Velg betalingsm\xe5te",otherWaysToPay:"Andre m\xe5ter \xe5 betale p\xe5",edit:"Rediger",doneEditing:"Fullf\xf8rt",editPaymentMethods:"Endre betalingsmetodene dine",CreditCardDeleteConfirmationMessage:"Vil du slette {{secondaryIdentifier}}-kortet som slutter p\xe5 {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Vil du slette PayPal-kontoen {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Er du sikker p\xe5 at du vil slette Venmo-kontoen med brukernavnet {{identifier}}?",genericDeleteConfirmationMessage:"Er du sikker p\xe5 at du vil slette denne betalingsmetoden?",deleteCancelButton:"Avbryt",deleteConfirmationButton:"Slett",fieldEmptyForCvv:"Oppgi en kortsikkerhetskode (CVV).",fieldEmptyForExpirationDate:"Oppgi en utl\xf8psdato.",fieldEmptyForCardholderName:"Oppgi et navn for kortinnehaveren.",fieldTooLongForCardholderName:"Makslengden for kortinnehaverens navn er 256 tegn.",fieldEmptyForNumber:"Oppgi et nummer.",fieldEmptyForPostalCode:"Oppgi et postnummer.",fieldInvalidForCardholderName:"Denne kortinnehaverens navn er ikke gyldig.",fieldInvalidForCvv:"Denne sikkerhetskoden er ikke gyldig.",fieldInvalidForExpirationDate:"Denne utl\xf8psdatoen er ikke gyldig.",fieldInvalidForNumber:"Dette kortnummeret er ikke gyldig.",fieldInvalidForPostalCode:"Dette postnummeret er ikke gyldig.",genericError:"Noe gikk galt hos oss.",hostedFieldsTokenizationFailOnDuplicateError:"Dette betalingskortet eksisterer allerede som en lagret betalingsmetode.",hostedFieldsFailedTokenizationError:"Kontroller informasjonen og pr\xf8v p\xe5 nytt.",hostedFieldsFieldsInvalidError:"Kontroller informasjonen og pr\xf8v p\xe5 nytt.",hostedFieldsTokenizationNetworkErrorError:"Nettverksfeil. Pr\xf8v p\xe5 nytt.",hostedFieldsTokenizationCvvVerificationFailedError:"Bekreftelsen av betalingskortet mislyktes. Kontroller informasjonen og pr\xf8v p\xe5 nytt.",paypalButtonMustBeUsed:"Bruk PayPal-knappen for \xe5 fortsette med betalingen.",paypalAccountTokenizationFailedError:"Noe gikk galt da PayPal-kontoen ble lagt til. Pr\xf8v p\xe5 nytt.",paypalFlowFailedError:"Det oppsto et problem med tilkoblingen til PayPal. Pr\xf8v p\xe5 nytt.",paypalTokenizationRequestActiveError:"Godkjenning av PayPal-betalingen p\xe5g\xe5r allerede",venmoCanceledError:"Noe gikk galt. Kontroller at du har installert den nyeste versjonen av Venmo-appen p\xe5 enheten og at nettleseren din st\xf8tter bytte til Venmo.",vaultManagerPaymentMethodDeletionError:"Kunne ikke slette betalingsmetoden. Pr\xf8v p\xe5 nytt.",venmoAppFailedError:"Finner ikke Venmo-appen p\xe5 enheten.",unsupportedCardTypeError:"Denne korttypen st\xf8ttes ikke. Pr\xf8v med et annet kort.",applePayTokenizationError:"Det oppsto en nettverksfeil under behandlingen av Apple Pay-betalingen. Pr\xf8v p\xe5 nytt.",applePayActiveCardError:"Legg til et kort som st\xf8ttes i Apple Pay-lommeboken din.",cardholderNameLabel:"Kortinnehaverens navn",cardNumberLabel:"Kortnummer",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 siffer)",cvvFourDigitLabelSubheading:"(4 siffer)",cardholderNamePlaceholder:"Kortinnehaverens navn",expirationDateLabel:"Utl\xf8psdato",expirationDateLabelSubheading:"(MM/\xc5\xc5)",expirationDatePlaceholder:"MM/\xc5\xc5",postalCodeLabel:"Postnummer",saveCardLabel:"Lagre kort",payWithCard:"Betal med kort",endingIn:"Slutter p\xe5 {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kort",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],238:[function(e,t,i){"use strict";t.exports={payingWith:"Źr\xf3dÅo finansowania pÅatnoÅci: {{paymentSource}}",chooseAnotherWayToPay:"Wybierz inne źr\xf3dÅo finansowania pÅatnoÅci",chooseAWayToPay:"Wybierz źr\xf3dÅo finansowania pÅatnoÅci",otherWaysToPay:"Inne źr\xf3dÅa finansowania pÅatnoÅci",edit:"Edytuj",doneEditing:"Gotowe",editPaymentMethods:"Edytuj źr\xf3dÅa finansowania pÅatnoÅci",CreditCardDeleteConfirmationMessage:"UsunÄ
Ä kartÄ {{secondaryIdentifier}} o numerze zakoÅczonym cyframi {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"UsunÄ
Ä konto PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Czy na pewno chcesz usunÄ
Ä konto Venmo z nazwÄ
użytkownika {{identifier}}?",genericDeleteConfirmationMessage:"Czy na pewno chcesz usunÄ
Ä to źr\xf3dÅo finansowania pÅatnoÅci?",deleteCancelButton:"Anuluj",deleteConfirmationButton:"UsuÅ",fieldEmptyForCvv:"Podaj kod bezpieczeÅstwa.",fieldEmptyForExpirationDate:"Podaj datÄ ważnoÅci.",fieldEmptyForCardholderName:"Podaj imiÄ i nazwisko posiadacza karty.",fieldTooLongForCardholderName:"ImiÄ i nazwisko posiadacza karty musi mieÄ mniej niż 256 znak\xf3w.",fieldEmptyForNumber:"Podaj numer.",fieldEmptyForPostalCode:"Podaj kod pocztowy.",fieldInvalidForCardholderName:"To
1imiÄ i nazwisko posiadacza karty jest nieprawidÅowe.",fieldInvalidForCvv:"Podany kod bezpieczeÅstwa jest nieprawidÅowy.",fieldInvalidForExpirationDate:"Podana data ważnoÅci jest nieprawidÅowa.",fieldInvalidForNumber:"Podany numer karty jest nieprawidÅowy.",fieldInvalidForPostalCode:"Podany kod pocztowy jest nieprawidÅowy.",genericError:"WystÄ
piÅ bÅÄ
d po naszej stronie.",hostedFieldsTokenizationFailOnDuplicateError:"Ta karta kredytowa jest już zapisana jako źr\xf3dÅo finansowania pÅatnoÅci.",hostedFieldsFailedTokenizationError:"Sprawdź swoje informacje i spr\xf3buj ponownie.",hostedFieldsFieldsInvalidError:"Sprawdź swoje informacje i spr\xf3buj ponownie.",hostedFieldsTokenizationNetworkErrorError:"BÅÄ
d sieci. Spr\xf3buj ponownie.",hostedFieldsTokenizationCvvVerificationFailedError:"Weryfikacja karty kredytowej nie powiodÅa siÄ. Sprawdź swoje informacje i spr\xf3buj ponownie.",paypalButtonMustBeUsed:"Użyj przycisku PayPal, aby kontynuowaÄ pÅatnoÅÄ.",paypalAccountTokenizationFailedError:"CoÅ poszÅo nie tak podczas dodawania konta PayPal. Spr\xf3buj ponownie.",paypalFlowFailedError:"CoÅ poszÅo nie tak podczas ÅÄ
czenia z systemem PayPal. Spr\xf3buj ponownie.",paypalTokenizationRequestActiveError:"Autoryzacja pÅatnoÅci PayPal jest już w trakcie realizacji.",venmoCanceledError:"WystÄ
piÅ problem. Upewnij siÄ, czy na swoim urzÄ
dzeniu masz zainstalowanÄ
najnowszÄ
wersjÄ aplikacji Venmo i Twoja przeglÄ
darka jÄ
obsÅuguje.",vaultManagerPaymentMethodDeletionError:"Nie można usunÄ
Ä Åºr\xf3dÅa finansowania pÅatnoÅci. Spr\xf3buj ponownie.",venmoAppFailedError:"Nie można odnaleÅºÄ aplikacji Venmo na urzÄ
dzeniu.",unsupportedCardTypeError:"Ten typ karty nie jest obsÅugiwany. Spr\xf3buj użyÄ innej karty.",applePayTokenizationError:"WystÄ
piÅ bÅÄ
d sieci podczas przetwarzania pÅatnoÅci Apple Pay. Spr\xf3buj ponownie.",applePayActiveCardError:"Dodaj obsÅugiwanÄ
kartÄ do portfela Apple Pay.",cardholderNameLabel:"ImiÄ i nazwisko posiadacza karty",cardNumberLabel:"Numer karty",cvvLabel:"Kod CVC",cvvThreeDigitLabelSubheading:"(3 cyfry)",cvvFourDigitLabelSubheading:"(4 cyfry)",cardholderNamePlaceholder:"ImiÄ i nazwisko posiadacza karty",expirationDateLabel:"Data ważnoÅci",expirationDateLabelSubheading:"(MM/RR)",expirationDatePlaceholder:"MM/RR",postalCodeLabel:"Kod pocztowy",saveCardLabel:"Zapisz kartÄ",payWithCard:"ZapÅaÄ kartÄ
",endingIn:"O numerze zakoÅczonym cyframi {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Karta",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],239:[function(e,t,i){"use strict";t.exports={payingWith:"Pagando com {{paymentSource}}",chooseAnotherWayToPay:"Escolher outro meio de pagamento",chooseAWayToPay:"Escolher um meio de pagamento",otherWaysToPay:"Outro meio de pagamento",edit:"Editar",doneEditing:"Conclu\xeddo",editPaymentMethods:"Editar meios de pagamento",CreditCardDeleteConfirmationMessage:"Excluir cart\xe3o com {{secondaryIdentifier}} com final {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Excluir conta do PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Tem certeza de que deseja excluir a conta do Venmo com o nome de usu\xe1rio {{identifier}}?",genericDeleteConfirmationMessage:"Tem certeza de que deseja excluir este meio de pagamento?",deleteCancelButton:"Cancelar",deleteConfirmationButton:"Excluir",fieldEmptyForCvv:"Informe o C\xf3digo de Seguran\xe7a.",fieldEmptyForExpirationDate:"Informe a data de vencimento.",fieldEmptyForCardholderName:"Informe o nome do titular do cart\xe3o.",fieldTooLongForCardholderName:"O nome do titular do cart\xe3o deve ter menos de 256 caracteres.",fieldEmptyForNumber:"Informe um n\xfamero.",fieldEmptyForPostalCode:"Informe um CEP.",fieldInvalidForCardholderName:"O nome do titular do cart\xe3o \xe9 inv\xe1lido.",fieldInvalidForCvv:"Este c\xf3digo de seguran\xe7a n\xe3o \xe9 v\xe1lido.",fieldInvalidForExpirationDate:"Esta data de vencimento n\xe3o \xe9 v\xe1lida.",fieldInvalidForNumber:"O n\xfamero do cart\xe3o n\xe3o \xe9 v\xe1lido.",fieldInvalidForPostalCode:"Este CEP n\xe3o \xe9 v\xe1lido.",genericError:"Ocorreu um erro.",hostedFieldsTokenizationFailOnDuplicateError:"Este cart\xe3o de cr\xe9dito j\xe1 est\xe1 salvo em seus meios de pagamento.",hostedFieldsFailedTokenizationError:"Verifique as informa\xe7\xf5es e tente novamente.",hostedFieldsFieldsInvalidError:"Verifique as informa\xe7\xf5es e tente novamente.",hostedFieldsTokenizationNetworkErrorError:"Erro de rede. Tente novamente.",hostedFieldsTokenizationCvvVerificationFailedError:"Falha ao verificar o cart\xe3o de cr\xe9dito. Verifique as informa\xe7\xf5es e tente novamente.",paypalButtonMustBeUsed:"Use o bot\xe3o do PayPal para prosseguir com o seu pagamento.",payp
1alAccountTokenizationFailedError:"Ocorreu um erro ao adicionar a conta do PayPal. Tente novamente.",paypalFlowFailedError:"Ocorreu um erro de conex\xe3o com o PayPal. Tente novamente.",paypalTokenizationRequestActiveError:"A autoriza\xe7\xe3o de pagamento do PayPal j\xe1 est\xe1 em andamento.",venmoCanceledError:"Ocorreu um erro. Certifique-se de ter a vers\xe3o mais recente do aplicativo Venmo instalado no seu dispositivo e que o seu navegador suporte a mudan\xe7a para o Venmo.",vaultManagerPaymentMethodDeletionError:"N\xe3o \xe9 poss\xedvel excluir o meio de pagamento, tente novamente.",venmoAppFailedError:"N\xe3o foi poss\xedvel encontrar o aplicativo Venmo no seu dispositivo.",unsupportedCardTypeError:"Este tipo de cart\xe3o n\xe3o \xe9 aceito. Experimente outro cart\xe3o.",applePayTokenizationError:"Ocorreu um erro de rede ao processar o pagamento com Apple Pay. Tente novamente.",applePayActiveCardError:"Adicione cart\xe3o suportado \xe0 sua carteira do Apple Pay.",cardholderNameLabel:"Nome do titular do cart\xe3o",cardNumberLabel:"N\xfamero do cart\xe3o",cvvLabel:"CSC",cvvThreeDigitLabelSubheading:"(3 d\xedgitos)",cvvFourDigitLabelSubheading:"(4 d\xedgitos)",cardholderNamePlaceholder:"Nome do titular do cart\xe3o",expirationDateLabel:"Data de vencimento",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"CEP",saveCardLabel:"Salvar cart\xe3o",payWithCard:"Pague com seu cart\xe3o",endingIn:"Com final {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Cart\xe3o",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],240:[function(e,t,i){"use strict";t.exports={payingWith:"Pagar com {{paymentSource}}",chooseAnotherWayToPay:"Escolher outra forma de pagamento",chooseAWayToPay:"Escolha um meio de pagamento",otherWaysToPay:"Outras formas de pagamento",edit:"Editar",doneEditing:"Conclu\xeddo",editPaymentMethods:"Editar meios de pagamento",CreditCardDeleteConfirmationMessage:"Eliminar o cart\xe3o {{secondaryIdentifier}} terminado em {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Eliminar {{identifier}} da conta PayPal?",VenmoAccountDeleteConfirmationMessage:"Tem a certeza de que pretende eliminar a conta Venmo com o nome de utilizador {{identifier}}?",genericDeleteConfirmationMessage:"Tem certeza de que pretende eliminar este meio de pagamento?",deleteCancelButton:"Cancelar",deleteConfirmationButton:"Eliminar",fieldEmptyForCvv:"Introduza o c\xf3digo CVV.",fieldEmptyForExpirationDate:"Introduza a data de validade.",fieldEmptyForCardholderName:"Introduza um nome do titular do cart\xe3o.",fieldTooLongForCardholderName:"O nome do titular do cart\xe3o tem de ter menos de 256 carateres.",fieldEmptyForNumber:"Introduza um n\xfamero.",fieldEmptyForPostalCode:"Introduza o c\xf3digo postal.",fieldInvalidForCardholderName:"Este nome do titular do cart\xe3o n\xe3o \xe9 v\xe1lido.",fieldInvalidForCvv:"Este c\xf3digo de seguran\xe7a n\xe3o \xe9 v\xe1lido.",fieldInvalidForExpirationDate:"Esta data de validade n\xe3o \xe9 correta.",fieldInvalidForNumber:"Este n\xfamero de cart\xe3o n\xe3o \xe9 v\xe1lido.",fieldInvalidForPostalCode:"Este c\xf3digo postal n\xe3o \xe9 v\xe1lido.",genericError:"Tudo indica que houve um problema.",hostedFieldsTokenizationFailOnDuplicateError:"Este cart\xe3o de cr\xe9dito j\xe1 est\xe1 registado como um meio de pagamento guardado.",hostedFieldsFailedTokenizationError:"Verifique os dados e tente novamente.",hostedFieldsFieldsInvalidError:"Verifique os dados e tente novamente.",hostedFieldsTokenizationNetworkErrorError:"Erro de rede. Tente novamente.",hostedFieldsTokenizationCvvVerificationFailedError:"A verifica\xe7\xe3o do cart\xe3o de cr\xe9dito falhou. Verifique os dados e tente novamente.",paypalButtonMustBeUsed:"Use o bot\xe3o PayPal para continuar com o seu pagamento.",payp
1alAccountTokenizationFailedError:"Ocorreu um erro ao associar a conta PayPal. Tente novamente.",paypalFlowFailedError:"Ocorreu um erro na liga\xe7\xe3o com PayPal. Tente novamente.",paypalTokenizationRequestActiveError:"J\xe1 h\xe1 uma autoriza\xe7\xe3o de pagamento PayPal em curso.",venmoCanceledError:"Ocorreu um erro. Certifique-se de que tem a vers\xe3o mais recente da aplica\xe7\xe3o Venmo instalada no seu dispositivo e que o navegador suporta a mudan\xe7a para o Venmo.",vaultManagerPaymentMethodDeletionError:"N\xe3o \xe9 poss\xedvel eliminar o meio de pagamento, tente novamente.",venmoAppFailedError:"N\xe3o foi poss\xedvel encontrar a aplica\xe7\xe3o Venmo no dispositivo.",unsupportedCardTypeError:"Este tipo de cart\xe3o n\xe3o \xe9 suportado. Tente usar outro cart\xe3o.",applePayTokenizationError:"Ocorreu um erro de rede ao processar o pagamento com Apple Pay. Tente novamente.",applePayActiveCardError:"Adicione um cart\xe3o suportado \xe0 sua carteira Apple Pay.",cardholderNameLabel:"Nome do titular do cart\xe3o",cardNumberLabel:"N\xfamero do cart\xe3o",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 d\xedgitos)",cvvFourDigitLabelSubheading:"(4 d\xedgitos)",cardholderNamePlaceholder:"Nome do titular do cart\xe3o",expirationDateLabel:"Data de validade",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"C\xf3digo postal",saveCardLabel:"Guardar cart\xe3o",payWithCard:"Pagar com cart\xe3o",endingIn:"Terminado em {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Cart\xe3o",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],241:[function(e,t,i){"use strict";t.exports={payingWith:"СпоÑÐ¾Ð±Ñ Ð¾Ð¿Ð»Ð°ÑÑ: {{paymentSource}}",chooseAnotherWayToPay:"ÐÑбеÑиÑе дÑÑгой ÑпоÑоб оплаÑÑ",chooseAWayToPay:"ÐÑбеÑиÑе ÑпоÑоб оплаÑÑ",otherWaysToPay:"ÐÑÑгие ÑпоÑÐ¾Ð±Ñ Ð¾Ð¿Ð»Ð°ÑÑ",edit:"РедакÑиÑоваÑÑ",doneEditing:"ÐоÑово",editPaymentMethods:"РедакÑиÑоваÑÑ ÑпоÑÐ¾Ð±Ñ Ð¾Ð¿Ð»Ð°ÑÑ",CreditCardDeleteConfirmationMessage:"УдалиÑÑ ÐºÐ°ÑÑÑ {{secondaryIdentifier}}, оканÑиваÑÑÑÑÑÑ Ð½Ð° {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"УдалиÑÑ ÑÑÐµÑ PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"ÐÑ Ð´ÐµÐ¹ÑÑвиÑелÑно Ñ
оÑиÑе ÑдалиÑÑ ÑÑÐµÑ Venmo Ñ Ð¸Ð¼ÐµÐ½ÐµÐ¼ полÑзоваÑÐµÐ»Ñ {{identifier}}?",genericDeleteConfirmationMessage:"ÐÑ Ð´ÐµÐ¹ÑÑвиÑелÑно Ñ
оÑиÑе ÑдалиÑÑ ÑÑÐ¾Ñ ÑпоÑоб оплаÑÑ?",deleteCancelButton:"ÐÑмена",deleteConfirmationButton:"УдалиÑÑ",fieldEmptyForCvv:"УкажиÑе код безопаÑноÑÑи.",fieldEmptyForExpirationDate:"УкажиÑе даÑÑ Ð¾ÐºÐ¾Ð½ÑÐ°Ð½Ð¸Ñ ÑÑока дейÑÑвиÑ.",fieldEmptyForCardholderName:"ÐведиÑе Ð¸Ð¼Ñ Ð¸ ÑÐ°Ð¼Ð¸Ð»Ð¸Ñ Ð²Ð»Ð°Ð´ÐµÐ»ÑÑа каÑÑÑ.",fieldTooLongForCardholderName:"ÐÐ¼Ñ Ð²Ð»Ð°Ð´ÐµÐ»ÑÑа каÑÑÑ Ð´Ð¾Ð»Ð¶Ð½Ð¾ ÑодеÑжаÑÑ Ð½Ðµ более 256 Ñимволов.",fieldEmptyForNumber:"ÐведиÑе номеÑ.",fieldEmptyForPostalCode:"УкажиÑе поÑÑовÑй индекÑ.",fieldInvalidForCardholderName:"ÐедопÑÑÑимое Ð¸Ð¼Ñ Ð²Ð»Ð°Ð´ÐµÐ»ÑÑа каÑÑÑ.",fieldInvalidForCvv:"ÐÑÐ¾Ñ ÐºÐ¾Ð´ безопаÑноÑÑи недейÑÑвиÑелен.",fieldInvalidForExpirationDate:"ÐÑа даÑа оконÑÐ°Ð½Ð¸Ñ ÑÑока дейÑÑÐ²Ð¸Ñ Ð½ÐµÐ´ÐµÐ¹ÑÑвиÑелÑна.",fieldInvalidForNumber:"ÐÑÐ¾Ñ Ð½Ð¾Ð¼ÐµÑ ÐºÐ°ÑÑÑ Ð½ÐµÐ´ÐµÐ¹ÑÑвиÑелен.",fieldInvalidForPostalCode:"ÐÑÐ¾Ñ Ð¿Ð¾ÑÑовÑй Ð¸Ð½Ð´ÐµÐºÑ Ð½ÐµÐ´ÐµÐ¹ÑÑвиÑелен.",genericError:"Ðозникла пÑоблема Ñ Ð½Ð°Ñей ÑÑоÑонÑ.",hostedFieldsTokenizationFailOnDuplicateError:"ÐÑа кÑедиÑÐ½Ð°Ñ ÐºÐ°ÑÑа Ñже Ñказана как ÑоÑ
ÑаненнÑй иÑÑоÑник ÑÑедÑÑв.",hostedFieldsFailedTokenizationError:"ÐÑовеÑÑÑе пÑавилÑноÑÑÑ Ð²Ð²Ð¾Ð´Ð° даннÑÑ
и повÑоÑиÑе попÑÑкÑ.",hostedFieldsFieldsInvalidError:"ÐÑовеÑÑÑе пÑавилÑноÑÑÑ Ð²Ð²Ð¾Ð´Ð° даннÑÑ
и повÑоÑиÑе попÑÑкÑ.",hostedFieldsTokenizationNetworkErrorError:"ÐÑибка ÑеÑи. ÐовÑоÑиÑе попÑÑкÑ.",hostedFieldsTokenizationCvvVerificationFailedError:"ÐÑовеÑка банковÑкой каÑÑÑ Ð½Ðµ вÑполнена. ÐÑовеÑÑÑе пÑавилÑноÑÑÑ Ð²Ð²Ð¾Ð´Ð° даннÑÑ
и повÑоÑиÑе попÑÑкÑ.",paypalButtonMustBeUsed:"ÐÑполÑзÑйÑе ÐºÐ½Ð¾Ð¿ÐºÑ PayPal, ÑÑÐ¾Ð±Ñ Ð¿ÑодолжиÑÑ ÑовеÑÑение оплаÑÑ.",payp
1alAccountTokenizationFailedError:"ЧÑо-Ñо поÑло не Ñак â не ÑдалоÑÑ Ð´Ð¾Ð±Ð°Ð²Ð¸ÑÑ ÑÑеÑнÑÑ Ð·Ð°Ð¿Ð¸ÑÑ PayPal. ÐовÑоÑиÑе попÑÑкÑ.",paypalFlowFailedError:"ЧÑо-Ñо поÑло не Ñак â не ÑдалоÑÑ Ð¿Ð¾Ð´ÐºÐ»ÑÑиÑÑÑÑ Ðº ÑиÑÑеме PayPal. ÐовÑоÑиÑе попÑÑкÑ.",paypalTokenizationRequestActiveError:"ÐÑполнÑеÑÑÑ Ð°Ð²ÑоÑизаÑÐ¸Ñ Ð¿Ð»Ð°Ñежа PayPal.",venmoCanceledError:"Ðозникла оÑибка. ÐÑоÑим Ð²Ð°Ñ ÑбедиÑÑÑÑ, ÑÑо Ñ Ð²Ð°Ñ ÑÑÑановлена новейÑÐ°Ñ Ð²ÐµÑÑÐ¸Ñ Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Venmo и Ð²Ð°Ñ Ð±ÑаÑÐ·ÐµÑ Ð¿Ð¾Ð´Ð´ÐµÑÐ¶Ð¸Ð²Ð°ÐµÑ Ð¿ÐµÑеклÑÑение к Venmo.",vaultManagerPaymentMethodDeletionError:"Ðе ÑдалоÑÑ ÑдалиÑÑ ÑпоÑоб оплаÑÑ. ÐовÑоÑиÑе попÑÑкÑ.",venmoAppFailedError:"ÐÑиложение Venmo не обнаÑÑжено на ваÑем ÑÑÑÑойÑÑве.",unsupportedCardTypeError:"ÐÑÐ¾Ñ Ñип каÑÑÑ Ð½Ðµ поддеÑживаеÑÑÑ. ÐопÑобÑйÑе воÑполÑзоваÑÑÑÑ Ð´ÑÑгой каÑÑой.",applePayTokenizationError:"ÐÑи обÑабоÑке плаÑежа ÑеÑез Apple Pay возникла ÑеÑÐµÐ²Ð°Ñ Ð¾Ñибка. ÐовÑоÑиÑе попÑÑкÑ.",applePayActiveCardError:"ÐобавÑÑе поддеÑживаемÑÑ ÐºÐ°ÑÑÑ Ðº ÑÐ²Ð¾ÐµÐ¼Ñ ÑÑеÑÑ Apple Pay.",cardholderNameLabel:"ÐÐ¼Ñ Ð¸ ÑÐ°Ð¼Ð¸Ð»Ð¸Ñ Ð²Ð»Ð°Ð´ÐµÐ»ÑÑа",cardNumberLabel:"ÐÐ¾Ð¼ÐµÑ ÐºÐ°ÑÑÑ",cvvLabel:"Ðод безопаÑноÑÑи",cvvThreeDigitLabelSubheading:"(3 ÑиÑÑÑ)",cvvFourDigitLabelSubheading:"(4 ÑиÑÑÑ)",cardholderNamePlaceholder:"ÐÐ¼Ñ Ð¸ ÑÐ°Ð¼Ð¸Ð»Ð¸Ñ Ð²Ð»Ð°Ð´ÐµÐ»ÑÑа",expirationDateLabel:"СÑок дейÑÑвиÑ",expirationDateLabelSubheading:"(ÐÐ/ÐÐ)",expirationDatePlaceholder:"ÐÐ/ÐÐ",postalCodeLabel:"ÐндекÑ",saveCardLabel:"СоÑ
ÑаниÑÑ ÐºÐ°ÑÑÑ",payWithCard:"ÐплаÑиÑÑ ÐºÐ°ÑÑой",endingIn:"ÐоÑледние ÑеÑÑÑе ÑиÑÑÑ Ð½Ð¾Ð¼ÐµÑа каÑÑÑ: {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"ÐаÑÑа",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],242:[function(e,t,i){"use strict";t.exports={payingWith:"Sp\xf4sob \xfahrady: {{paymentSource}}",chooseAnotherWayToPay:"Vyberte in\xfd sp\xf4sob platby",chooseAWayToPay:"Vyberte sp\xf4sob platby",otherWaysToPay:"In\xe9 sp\xf4soby platby",edit:"Uprav
1iÅ¥",doneEditing:"Hotovo",editPaymentMethods:"UpraviÅ¥ sp\xf4soby platby",CreditCardDeleteConfirmationMessage:"Odstr\xe1niÅ¥ kartu {{secondaryIdentifier}} konÄiacu na {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Odstr\xe1niÅ¥ \xfaÄet PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Naozaj chcete odstr\xe1niÅ¥ \xfaÄet Venmo s\xa0menom použ\xedvateľa {{identifier}}?",genericDeleteConfirmationMessage:"Ste si ist\xed, že chcete tento sp\xf4sob platby odstr\xe1niÅ¥?",deleteCancelButton:"ZruÅ¡iÅ¥",deleteConfirmationButton:"Odstr\xe1niÅ¥",fieldEmptyForCvv:"Zadajte Ä\xedslo CVV.",fieldEmptyForExpirationDate:"Zadajte d\xe1tum skonÄenia platnosti.",fieldEmptyForCardholderName:"Zadajte meno majiteľa karty.",fieldTooLongForCardholderName:"Meno majiteľa karty mus\xed obsahovaÅ¥ menej ako 256\xa0znakov.",fieldEmptyForNumber:"Zadajte Ä\xedslo.",fieldEmptyForPostalCode:"Zadajte PSÄ.",fieldInvalidForCardholderName:"Toto meno majiteľa karty je neplatn\xe9.",fieldInvalidForCvv:"Tento bezpeÄnostn\xfd k\xf3d je neplatn\xfd.",fieldInvalidForExpirationDate:"Tento d\xe1tum skonÄenia platnosti je neplatn\xfd.",fieldInvalidForNumber:"Toto Ä\xedslo karty je neplatn\xe9.",fieldInvalidForPostalCode:"Toto PSÄ je neplatn\xe9.",genericError:"Vyskytla sa chyba na naÅ¡ej strane.",hostedFieldsTokenizationFailOnDuplicateError:"T\xe1to kreditn\xe1 karta už existuje ako uložen\xe1 met\xf3da platby.",hostedFieldsFailedTokenizationError:"Skontrolujte \xfadaje a\xa0sk\xfaste to znova.",hostedFieldsFieldsInvalidError:"Skontrolujte \xfadaje a\xa0sk\xfaste to znova.",hostedFieldsTokenizationNetworkErrorError:"Chyba v\xa0sieti. Sk\xfaste to znova.",hostedFieldsTokenizationCvvVerificationFailedError:"Overenie kreditnej karty nebolo \xfaspeÅ¡n\xe9. Skontrolujte \xfadaje a\xa0sk\xfaste to znova.",paypalButtonMustBeUsed:"Ak chcete pokraÄovaÅ¥ v\xa0platbe, použite tlaÄidlo PayPal.",paypalAccountTokenizationFailedError:"Vyskytla sa chyba pri prid\xe1van\xed \xfaÄtu PayPal. Sk\xfaste to znova.",paypalFlowFailedError:"Vyskytla sa chyba pri prip\xe1jan\xed do \xfaÄtu PayPal. Sk\xfaste to znova.",paypalTokenizationRequestActiveError:"Autoriz\xe1cia platby PayPal už prebieha.",venmoCanceledError:"Vyskytla sa chyba. Skontrolujte, Äi m\xe1te v\xa0zariaden\xed nainÅ¡talovan\xfa najnovÅ¡iu verziu aplik\xe1cie Venmo a\xa0Äi prehliadaÄ podporuje prechod na aplik\xe1ciu Venmo.",vaultManagerPaymentMethodDeletionError:"Nebolo možn\xe9 odstr\xe1niÅ¥ sp\xf4sob platby, sk\xfaste to znova.",venmoAppFailedError:"Aplik\xe1ciu Venmo sa vo vaÅ¡om zariaden\xed nepodarilo n\xe1jsÅ¥.",unsupportedCardTypeError:"Tento typ karty nie je podporovan\xfd. Sk\xfaste in\xfa kartu.",applePayTokenizationError:"PoÄas sprac\xfavania platby cez Apple Pay doÅ¡lo k\xa0chybe siete. Sk\xfaste to znova.",applePayActiveCardError:"Pridajte si podporovan\xfa kartu do peÅaženky Apple Pay.",cardholderNameLabel:"Meno majiteľa karty",cardNumberLabel:"Ä\xedslo karty",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3\xa0Ä\xedslice)",cvvFourDigitLabelSubheading:"(4\xa0Ä\xedslice)",cardholderNamePlaceholder:"Meno majiteľa karty",expirationDateLabel:"D\xe1tum skonÄenia platnosti",expirationDateLabelSubheading:"(MM/RR)",expirationDatePlaceholder:"MM/RR",postalCodeLabel:"PSÄ",saveCardLabel:"UložiÅ¥ kartu",payWithCard:"ZaplatiÅ¥ kartou",endingIn:"S\xa0posledn\xfdm Å¡tvorÄ\xedsl\xedm {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Karta",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],243:[function(e,t,i){"use strict";t.exports={payingWith:"Betalas med {{paymentSource}}",chooseAnotherWayToPay:"V\xe4lj ett annat s\xe4tt att betala",chooseAWayToPay:"V\xe4lj hur du vill betala",otherWaysToPay:"Andra s\xe4tt att betala",edit:"\xc4ndra",doneEditing:"Klart",editPaymentMethods:"Redigera betalningsmetoder",CreditCardDeleteConfirmationMessage:"Ta bort {{secondaryIdentifier}}-kort som slutar p\xe5 {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Ta bort PayPal-konto {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"\xc4r du s\xe4ker p\xe5 att du vill ta bort Venmo-konto med anv\xe4ndarnamn {{identifier}}?",genericDeleteConfirmationMessage:"\xc4r du s\xe4ker p\xe5 att du vill ta bort den h\xe4r betalningsmetoden?",deleteCancelButton:"Avbryt",deleteConfirmationButton:"Ta bort",fieldEmptyForCvv:"Fyll i en CVV-kod.",fieldEmptyForExpirationDate:"Fyll i ett utg\xe5ngsdatum.",fieldEmptyForCardholderName:"Fyll i kortinnehavarens namn.",fieldTooLongForCardholderName:"Kortinnehavarens namn m\xe5ste vara kortare \xe4n 256 tecken.",f
1ieldEmptyForNumber:"Fyll i ett nummer.",fieldEmptyForPostalCode:"Fyll i ett postnummer.",fieldInvalidForCardholderName:"Namnet p\xe5 kortinnehavaren \xe4r ogiltigt.",fieldInvalidForCvv:"Den h\xe4r s\xe4kerhetskoden \xe4r inte giltig.",fieldInvalidForExpirationDate:"Det h\xe4r utg\xe5ngsdatumet \xe4r inte giltigt.",fieldInvalidForNumber:"Det h\xe4r kortnumret \xe4r inte giltigt.",fieldInvalidForPostalCode:"Det h\xe4r postnumret \xe4r inte giltigt.",genericError:"Ett fel uppstod.",hostedFieldsTokenizationFailOnDuplicateError:"Det h\xe4r betalkortet finns redan som en sparad betalningsmetod.",hostedFieldsFailedTokenizationError:"Kontrollera uppgifterna och f\xf6rs\xf6k igen.",hostedFieldsFieldsInvalidError:"Kontrollera uppgifterna och f\xf6rs\xf6k igen.",hostedFieldsTokenizationNetworkErrorError:"N\xe4tverksfel. F\xf6rs\xf6k igen.",hostedFieldsTokenizationCvvVerificationFailedError:"Verifieringen av betalkort misslyckades. Kontrollera uppgifterna och f\xf6rs\xf6k igen.",paypalButtonMustBeUsed:"Anv\xe4nd PayPal-knappen f\xf6r att forts\xe4tta med din betalning.",paypalAccountTokenizationFailedError:"Ett fel uppstod n\xe4r PayPal-kontot skulle l\xe4ggas till. F\xf6rs\xf6k igen.",paypalFlowFailedError:"Ett fel uppstod n\xe4r anslutningen till PayPal skulle uppr\xe4ttas. F\xf6rs\xf6k igen.",paypalTokenizationRequestActiveError:"Betalningsgodk\xe4nnandet f\xf6r PayPal behandlas redan.",venmoCanceledError:"N\xe5got gick fel. Se till att du har den senaste versionen av Venmo-appen installerad p\xe5 din enhet och att webbl\xe4saren st\xf6der att g\xe5 \xf6ver till Venmo.",vaultManagerPaymentMethodDeletionError:"Det gick inte att ta bort betalningsmetoden. F\xf6rs\xf6k igen.",venmoAppFailedError:"Venmo-appen kunde inte hittas p\xe5 din enhet.",unsupportedCardTypeError:"Den h\xe4r korttypen st\xf6ds inte. Pr\xf6va med ett annat kort.",applePayTokenizationError:"Ett n\xe4tverksfel intr\xe4ffade n\xe4r Apple Pay-betalningen skulle behandlas. F\xf6rs\xf6k igen.",applePayActiveCardError:"L\xe4gg till ett kort som st\xf6ds i Apple Pay-e-pl\xe5nboken.",cardholderNameLabel:"Kortinnehavarens namn",cardNumberLabel:"Kortnummer",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 siffror)",cvvFourDigitLabelSubheading:"(4 siffror)",cardholderNamePlaceholder:"Kortinnehavarens namn",expirationDateLabel:"Utg\xe5ngsdatum",expirationDateLabelSubheading:"(MM/\xc5\xc5)",expirationDatePlaceholder:"MM/\xc5\xc5",postalCodeLabel:"Postnummer",saveCardLabel:"Spara kort",payWithCard:"Betala med kort",endingIn:"Slutar p\xe5 {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kort",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],244:[function(e,t,i){"use strict";t.exports={payingWith:"à¸à¸²à¸£à¸à¸³à¸£à¸°à¹à¸à¸´à¸à¸à¹à¸§à¸¢ {{paymentSource}}",chooseAnotherWayToPay:"à¹à¸¥à¸·à¸à¸à¸§à¸´à¸à¸µà¸à¸·à¹à¸à¹à¸à¸·à¹à¸à¸à¸³à¸£à¸°à¹à¸à¸´à¸",chooseAWayToPay:"à¹à¸¥à¸·à¸à¸à¸§à¸´à¸à¸µà¸à¸³à¸£à¸°à¹à¸à¸´à¸",otherWaysToPay:"วิà¸à¸µà¸à¸·à¹à¸à¹ à¹à¸à¸à¸²à¸£à¸à¸³à¸£à¸°à¹à¸à¸´à¸",edit:"à¹à¸à¹à¹à¸",doneEditing:"à¹à¸ªà¸£à¹à¸à¹à¸¥à¹à¸§",editPaymentMethods:"à¹à¸à¹à¹à¸à¸§à¸´à¸à¸µà¸à¸²à¸£à¸à¸³à¸£à¸°à¹à¸à¸´à¸",CreditCardDeleteConfirmationMessage:"ลà¸à¸à¸±à¸à¸£ {{secondaryIdentifier }} à¸à¸µà¹à¸¥à¸à¸à¹à¸²à¸¢à¸à¹à¸§à¸¢ {{identifier}} หรืà¸à¹à¸¡à¹",PayPalAccountDeleteConfirmationMessage:"ลภ{{identifier}} à¸à¸±à¸à¸à¸µ PayPal หรืà¸à¹à¸¡à¹",VenmoAccountDeleteConfirmationMessage:"à¸à¸¸à¸à¸¡à¸±à¹à¸à¹à¸à¸§à¹à¸²à¸à¹à¸à¸à¸à¸²à¸£à¸¥à¸à¸à¸±à¸à¸à¸µ Venmo à¸à¸µà¹à¸¡à¸µà¸à¸·à¹à¸à¸à¸¹à¹à¹à¸à¹ {{identifier}} หรืà¸à¹à¸¡à¹",genericDeleteConfirmationMessage:"à¸à¸¸à¸à¸¡à¸±à¹à¸à¹à¸à¸§à¹à¸²à¸à¹à¸à¸à¸à¸²à¸£à¸¥à¸à¸§à¸´à¸à¸µà¸à¸²à¸£à¸à¸³à¸£à¸°à¹à¸à¸´à¸à¸à¸µà¹à¸«à¸£à¸·à¸à¹à¸¡à¹",deleteCancelButton:"ยà¸à¹à¸¥à¸´à¸",deleteConfirmationButton:"ลà¸",fieldEmptyForCvv:"à¹à¸à¸£à¸à¸à¸£à¸à¸ CVV (รหัสà¸à¸²à¸£à¸à¸£à¸§à¸à¸ªà¸à¸à¸¢à¸·à¸à¸¢à¸±à¸à¸à¸±à¸à¸£)",fieldEmptyForExpirationDate:"à¹à¸à¸£à¸à¸à¸£à¸à¸à¸§à¸±à¸à¸à¸µà¹à¸«à¸¡à¸à¸à¸²à¸¢à¸¸",fieldEmptyForCardholderName:"à¹à¸à¸£à¸à¸à¸£à¸à¸à¸à¸·à¹à¸à¹à¸à¹à¸²à¸à¸à¸à¸à¸±à¸à¸£",fieldTooLongForCardholderName:"à¸à¸·à¹à¸à¸à¸¹à¹à¸à¸·à¸à¸à¸±à¸à¸£à¸à¸°à¸à¹à¸à¸à¹à¸¡à¹à¹à¸à¸´à¸ 256 à¸à¸±à¸à¸à¸£à¸°",fieldEmptyForNumber:"à¹à¸à¸£à¸à¸à¸£à¸à¸à¸«à¸¡à¸²à¸¢à¹à¸¥à¸",fieldEmptyForPostalCode:"à¹à¸à¸£à¸à¸à¸£à¸à¸à¸£à¸«à¸±à¸ªà¹à¸à¸£à¸©à¸à¸µà¸¢à¹",fieldInvalidForCardholderName:"à¸à¸·à¹à¸à¸à¸¹à¹à¸à¸·à¸à¸à¸±à¸à¸£à¸à¸µà¹à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸à¸à¸·à¹à¸à¸à¸¹à¹à¸à¸·à¸à¸à¸±à¸à¸£à¸à¸µà¹à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸",fieldInvalidForCvv:"รหัสà¸à¸§à¸²à¸¡à¸à¸¥à¸à¸à¸ ัยà¸à¸µà¹à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸",fieldInvalidForExpirationDate:"วัà¸à¸à¸µà¹à¸«à¸¡à¸à¸à¸²à¸¢à¸¸à¸à¸µà¹à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸",fieldInvalidForNumber:"หมายà¹à¸¥à¸à¸à¸±à¸à¸£à¸à¸µà¹à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸",fieldInvalidForPostalCode:"รหัสà¹à¸à¸£à¸©à¸à¸µà¸¢à¹à¸à¸µà¹à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸",genericError:"à¹à¸à¸´à¸à¸à¹à¸à¸à¸´à¸à¸à¸¥à¸²à¸à¸à¸¶à¹à¸à¹à¸à¸£à¸°à¸à¸à¸à¸à¸à¹à¸£à¸²",hostedFieldsTokenizationFailOnDuplicateError:"à¸à¸±à¸à¸£à¹à¸à¸£à¸à¸´à¸à¸à¸µà¹à¸à¸¹à¸à¸à¸±à¸à¸à¸¶à¸à¹à¸§à¹à¹à¸à¹à¸à¸§à¸´à¸à¸µà¸à¸²à¸£à¸à¸³à¸£à¸°à¹à¸à¸´à¸",hostedFieldsFailedTokenizationError:"à¹à¸à¸£à¸à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸à¸à¸à¸¸à¸ à¹à¸¥à¹à¸§à¸¥à¸à¸à¹à¸«à¸¡à¹à¸à¸µà¸à¸à¸£à¸±à¹à¸",hostedFieldsFieldsInvalidError:"à¹à¸à¸£à¸à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸à¸à¸à¸¸à¸ à¹à¸¥à¹à¸§à¸¥à¸à¸à¹à¸«à¸¡à¹à¸à¸µà¸à¸à¸£à¸±à¹à¸",hostedFieldsTokenizationNetworkErrorError:"à¸à¹à¸à¸à¸´à¸à¸à¸¥à¸²à¸à¸à¹à¸²à¸à¹à¸à¸£à¸·à¸à¸à¹à¸²à¸¢ à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸",hostedFieldsTokenizationCvvVerificationFailedError:"à¸à¸²à¸£à¸à¸£à¸§à¸à¸ªà¸à¸à¸¢à¸·à¸à¸¢à¸±à¸à¸à¸±à¸à¸£à¹à¸à¸£à¸à¸´à¸à¸¥à¹à¸¡à¹à¸«à¸¥à¸§ à¹à¸à¸£à¸à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸à¸à¸à¸¸à¸ à¹à¸¥à¹à¸§à¸¥à¸à¸à¹à¸«à¸¡à¹à¸à¸µà¸à¸à¸£à¸±à¹à¸",paypalButtonMustBeUsed:"à¹à¸à¹à¸à¸¸à¹à¸¡ PayPal à¹à¸à¸·à¹à¸à¸à¸³à¹à¸à¸´à¸à¸à¸²à¸£à¸à¸³à¸£à¸°à¹à¸à¸´à¸à¸à¹à¸",payp
1alAccountTokenizationFailedError:"à¹à¸à¸´à¸à¸à¹à¸à¸à¸´à¸à¸à¸¥à¸²à¸à¹à¸à¸à¸²à¸£à¹à¸à¸´à¹à¸¡à¸à¸±à¸à¸à¸µ PayPal à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸",paypalFlowFailedError:"à¹à¸à¸´à¸à¸à¹à¸à¸à¸´à¸à¸à¸¥à¸²à¸à¹à¸à¸à¸²à¸£à¹à¸à¸·à¹à¸à¸¡à¸à¹à¸à¸à¸±à¸ PayPal à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸",paypalTokenizationRequestActiveError:"à¸à¸²à¸£à¸à¸à¸¸à¸à¸²à¸à¸à¸²à¸£à¸à¸³à¸£à¸°à¹à¸à¸´à¸à¸à¸à¸ PayPal à¸à¸¢à¸¹à¹à¹à¸à¸£à¸°à¸«à¸§à¹à¸²à¸à¸à¸³à¹à¸à¸´à¸à¸à¸²à¸£",venmoCanceledError:"à¹à¸à¸´à¸à¸à¹à¸à¸à¸´à¸à¸à¸¥à¸²à¸à¸à¸²à¸à¸à¸£à¸°à¸à¸²à¸£ à¸à¸£à¸§à¸à¸ªà¸à¸à¸§à¹à¸²à¸à¸¸à¸à¸¡à¸µà¹à¸à¸ Venmo à¹à¸§à¸à¸£à¹à¸à¸±à¸à¸¥à¹à¸²à¸ªà¸¸à¸à¸à¸´à¸à¸à¸±à¹à¸à¹à¸à¸à¸¸à¸à¸à¸£à¸à¹à¸à¸à¸à¸à¸¸à¸ à¹à¸¥à¸°à¸¡à¸µà¹à¸à¸£à¸²à¹à¸à¸à¸£à¹à¸à¸µà¹à¸£à¸à¸à¸£à¸±à¸ Venmo",vaultManagerPaymentMethodDeletionError:"à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸¥à¸à¸§à¸´à¸à¸µà¸à¸²à¸£à¸à¸³à¸£à¸°à¹à¸à¸´à¸à¹à¸à¹ ลà¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸",venmoAppFailedError:"à¹à¸¡à¹à¸à¸à¹à¸à¸ Venmo à¸à¸à¸à¸¸à¸à¸à¸£à¸à¹à¸à¸à¸à¸à¸¸à¸",unsupportedCardTypeError:"à¹à¸¡à¹à¸£à¸à¸à¸£à¸±à¸à¸à¸±à¸à¸£à¸à¸£à¸°à¹à¸ à¸à¸à¸µà¹ à¹à¸à¸£à¸à¸¥à¸à¸à¹à¸à¹à¸à¸±à¸à¸£à¹à¸à¸à¸·à¹à¸",applePayTokenizationError:"à¹à¸à¸´à¸à¸à¹à¸à¸à¸´à¸à¸à¸¥à¸²à¸à¸à¹à¸²à¸à¹à¸à¸£à¸·à¸à¸à¹à¸²à¸¢à¸à¸¶à¹à¸à¸à¸à¸°à¸à¸³à¹à¸à¸´à¸à¸à¸²à¸£à¸à¸³à¸£à¸°à¹à¸à¸´à¸à¸à¹à¸§à¸¢ Apple Pay à¹à¸à¸£à¸à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸",applePayActiveCardError:"à¹à¸à¸´à¹à¸¡à¸à¸±à¸à¸£à¸à¸µà¹à¸£à¸à¸à¸£à¸±à¸à¹à¸à¸à¸£à¸°à¹à¸à¹à¸²à¸ªà¸à¸²à¸à¸à¹ Apple Pay à¸à¸à¸à¸à¸¸à¸",cardholderNameLabel:"à¸à¸·à¹à¸à¹à¸à¹à¸²à¸à¸à¸à¸à¸±à¸à¸£",cardNumberLabel:"หมายà¹à¸¥à¸à¸à¸±à¸à¸£",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 หลัà¸)",cvvFourDigitLabelSubheading:"(4 หลัà¸)",cardholderNamePlaceholder:"à¸à¸·à¹à¸à¹à¸à¹à¸²à¸à¸à¸à¸à¸±à¸à¸£",expirationDateLabel:"วัà¸à¸«à¸¡à¸à¸à¸²à¸¢à¸¸",expirationDateLabelSubheading:"(à¸à¸/à¸à¸)",expirationDatePlaceholder:"à¸à¸/à¸à¸",postalCodeLabel:"รหัสà¹à¸à¸£à¸©à¸à¸µà¸¢à¹",saveCardLabel:"à¸à¸±à¸à¸à¸¶à¸à¸à¸±à¸à¸£",payWithCard:"à¸à¸³à¸£à¸°à¹à¸à¸´à¸à¸à¹à¸§à¸¢à¸à¸±à¸à¸£",endingIn:"ลà¸à¸à¹à¸²à¸¢à¸à¹à¸§à¸¢ {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"à¸à¸±à¸à¸£",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],245:[function(e,t,i){"use strict";t.exports={payingWith:"æ£å¨ä½¿ç¨{{paymentSource}}仿¬¾",chooseAnotherWayToPay:"éæ©å
¶ä»ä»æ¬¾æ¹å¼",chooseAWayToPay:"鿩仿¬¾æ¹å¼",otherWaysToPay:"å
¶ä»ä»æ¬¾æ¹å¼",edit:"ç¼è¾",doneEditing:"宿",editPaymentMethods:"ç¼è¾ä»æ¬¾æ¹å¼",CreditCardDeleteConfirmationMessage:"å é¤å°¾å·ä¸º{{identifier}}ç{{secondaryIdentifier}}å¡ï¼",PayPalAccountDeleteConfirmationMessage:"å é¤PayPalè´¦æ·{{identifier}}ï¼",VenmoAccountDeleteConfirmationMessage:"ç¡®å®è¦å é¤ç¨æ·å为{{identifier}}çVenmoè´¦æ·åï¼",genericDeleteConfirmationMessage:"ç¡®å®è¦å é¤è¯¥ä»æ¬¾æ¹å¼åï¼",deleteCancelButton:"åæ¶",deleteConfirmationButton:"å é¤",fieldEmptyForCvv:"请填åCVVã",fieldEmptyForExpirationDate:"è¯·å¡«åæææéã",fieldEmptyForCardholderName:"请填åæå¡äººçå§åã",fieldTooLongForCardholderName:"æå¡äººå§åå¿
é¡»å°äº256个å符ã",fieldEmptyForNumber:"请填åä¸ä¸ªå·ç ã",fieldEmptyForPostalCode:"请填å鮿¿ç¼ç ã",fieldInvalidForCardholderName:"æ¤æå¡äººå§åæ æã",fieldInvalidForCvv:"æ¤å®å
¨ä»£ç æ æã",fieldInvalidForExpirationDate:"æ¤æææéæ æã",fieldInvalidForNumber:"æ¤å¡å·æ æã",fieldInvalidForPostalCode:"æ¤é®æ¿ç¼ç æ æã",genericError:"æä»¬éå°äºä¸äºé®é¢",hostedFieldsTokenizationFailOnDuplicateError:"æ¤ä¿¡ç¨å¡å·²ä½ä¸ºä¿ååç仿¬¾æ¹å¼åå¨ã",hostedFieldsFailedTokenizationError:"è¯·æ£æ¥æ¨çä¿¡æ¯ï¼ç¶åéè¯ã",hostedFieldsFieldsInvalidError:"è¯·æ£æ¥æ¨çä¿¡æ¯ï¼ç¶åéè¯ã",hostedFieldsTokenizationNetworkErrorError:"ç½ç»é误ã请éè¯ã",hostedFieldsTokenizationCvvVerificationFailedError:"ä¿¡ç¨å¡éªè¯å¤±è´¥ãè¯·æ£æ¥æ¨çä¿¡æ¯ï¼ç¶åéè¯ã",paypalButtonMustBeUsed:"使ç¨PayPalæé®ç»§ç»è¿è¡ä»æ¬¾ã",paypalAccountTokenizationFailedError:"æ·»å PayPalè´¦æ·æ¶åºéã请éè¯ã",paypalFlowFailedError:"è¿æ¥å°PayPalæ¶åºéã请éè¯ã",paypalTokenizationRequestActiveError:"PayPal仿¬¾ææå·²å¨è¿è¡ä¸ã",venmoCanceledError:"æä»¬éå°äºé®é¢ãè¯·ç¡®ä¿æ¨ç设å¤ä¸å·²å®è£
ææ°çæ¬çVenmoåºç¨ï¼å¹¶ä¸æ¨çæµè§å¨æ¯æåæ¢å°Venmoã",vaultManagerPaymentMethodDeletionError:"æ æ³å é¤ä»æ¬¾æ¹å¼ï¼è¯·éè¯ã",venmoAppFailedError:"卿¨ç设å¤ä¸æ¾ä¸å°Venmoåºç¨ã",unsupportedCardTypeError:"䏿¯æè¯¥å¡ç±»åã请å°è¯å
¶ä»å¡ã",applePayTokenizationError:"å¤çApple Pay仿¬¾æ¶åºç°ç½ç»é误ã请éè¯ã",applePayActiveCardError:"请添å 忝æçå¡å°æ¨çApple Payé±å
ã",cardholderNameLabel:"æå¡äººå§å",cardNumberLabel:"å¡å·",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"ï¼3使°ï¼",cvvFourDigitLabelSubheading:"ï¼4使°ï¼",cardholderNamePlaceholder:"æå¡äººå§å",expirationDateLabel:"æææé",expirationDateLabelSubheading:"ï¼MM/YYï¼",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"鮿¿ç¼ç ",saveCardLabel:"ä¿åå¡",payWithCard:"ç¨å¡ä»æ¬¾",endingIn:"å°¾å·ä¸º{{lastFourCardDigits}}
1","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"å¡",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"é¶è"}},{}],246:[function(e,t,i){"use strict";t.exports={payingWith:"仿¬¾æ¹å¼çº {{paymentSource}}",chooseAnotherWayToPay:"鏿å
¶ä»ä»æ¬¾æ¹å¼",chooseAWayToPay:"鏿仿¬¾æ¹å¼",otherWaysToPay:"å
¶ä»ä»æ¬¾æ¹å¼",edit:"編輯",doneEditing:"宿",editPaymentMethods:"ç·¨è¼¯ä»æ¬¾æ¹å¼",CreditCardDeleteConfirmationMessage:"è¦åªé¤æ«ç¢¼çº {{identifier}} ç {{secondaryIdentifier}} å¡åï¼",PayPalAccountDeleteConfirmationMessage:"è¦åªé¤ PayPal å¸³æ¶ {{identifier}} åï¼",VenmoAccountDeleteConfirmationMessage:"確å®è¦åªé¤ä½¿ç¨è
åç¨±çº {{identifier}} ç Venmo 帳æ¶åï¼",genericDeleteConfirmationMessage:"確å®è¦åªé¤æ¤ä»æ¬¾æ¹å¼åï¼",deleteCancelButton:"åæ¶",deleteConfirmationButton:"åªé¤",fieldEmptyForCvv:"è«å¡«å¯«ä¿¡ç¨å¡èªè碼ã",fieldEmptyForExpirationDate:"è«å¡«å¯«å°ææ¥ã",fieldEmptyForCardholderName:"è«å¡«å¯«æå¡äººçååã",fieldTooLongForCardholderName:"æå¡äººå§åå¿
é å°æ¼ 256 ååå
ã",fieldEmptyForNumber:"è«å¡«å¯«è碼ã",fieldEmptyForPostalCode:"è«å¡«å¯«éµéåèã",fieldInvalidForCardholderName:"æå¡äººå§åç¡æã",fieldInvalidForCvv:"æ¤å®å
¨ä»£ç¢¼ç¡æã",fieldInvalidForExpirationDate:"æ¤å°ææ¥ç¡æã",fieldInvalidForNumber:"æ¤å¡èç¡æã",fieldInvalidForPostalCode:"æ¤éµéåèç¡æã",genericError:"系統ç¼çé¯èª¤ã",hostedFieldsTokenizationFailOnDuplicateError:"æ¤ä¿¡ç¨å¡å·²åå¨ï¼çºå·²å²åç仿¬¾æ¹å¼ã",hostedFieldsFailedTokenizationError:"è«æª¢æ¥ä½ çè³æä¸¦åè©¦ä¸æ¬¡ã",hostedFieldsFieldsInvalidError:"è«æª¢æ¥ä½ çè³æä¸¦åè©¦ä¸æ¬¡ã",hostedFieldsTokenizationNetworkErrorError:"網絡é¯èª¤ãåè©¦ä¸æ¬¡ã",hostedFieldsTokenizationCvvVerificationFailedError:"ä¿¡ç¨å¡èªè失æãè«æª¢æ¥ä½ çè³æä¸¦åè©¦ä¸æ¬¡ã",paypalButtonMustBeUsed:"ä½¿ç¨ PayPal æé以繼çºä»æ¬¾ã",paypalAccountTokenizationFailedError:"å å
¥ PayPal å¸³æ¶æç¼çé¯èª¤ãåè©¦ä¸æ¬¡ã",paypalFlowFailedError:"飿¥ PayPal æç¼çé¯èª¤ãåè©¦ä¸æ¬¡ã",paypalTokenizationRequestActiveError:"PayPal 仿¬¾ææ¬å·²å¨èçä¸ã",venmoCanceledError:"系統ç¼çé¯èª¤ï¼è«ç¢ºä¿ä½ å·²å¨è£ç½®ä¸å®è£ææ°çæ¬ç Venmo æç¨ç¨å¼ï¼èä¸ä½ ççè¦½å¨æ¯æ´åæè³ Venmoã",vaultManagerPaymentMethodDeletionError:"ç¡æ³åªé¤ä»æ¬¾æ¹å¼ï¼è«åè©¦ä¸æ¬¡ã",venmoAppFailedError:"å¨ä½ çè£ç½®ä¸æ¾ä¸å° Venmo æç¨ç¨å¼ã",unsupportedCardTypeError:"ä¸å¯ä½¿ç¨æ¤ä¿¡ç¨å¡é¡åãè«æ¹ç¨å
¶ä»ä¿¡ç¨å¡ã",applePayTokenizationError:"èç Apple Pay 仿¬¾æç¼ç網絡é¯èª¤ãåè©¦ä¸æ¬¡ã",applePayActiveCardError:"å¨ Apple Pay é¢å
ä¸å å
¥æ¯æ´çä¿¡ç¨å¡ã",cardholderNameLabel:"æå¡äººåå",cardNumberLabel:"å¡è",cvvLabel:"ä¿¡ç¨å¡èªè碼",cvvThreeDigitLabelSubheading:"ï¼3 使¸ï¼",cvvFourDigitLabelSubheading:"ï¼4 使¸ï¼",cardholderNamePlaceholder:"æå¡äººåå",expirationDateLabel:"å°ææ¥",expirationDateLabelSubheading:"(MM/YY)",expirationDatePlaceholder:"æ / å¹´",postalCodeLabel:"éµéåè",saveCardLabel:"å²åä¿¡ç¨å¡",payWithCard:"使ç¨ä¿¡ç¨å¡ä»æ¬¾",endingIn:"æ«ç¢¼çº {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"ä¿¡ç¨å¡",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],247:[function(e,t,i){"use strict";t.exports={payingWith:"以 {{paymentSource}} 仿¬¾",chooseAnotherWayToPay:"鏿仿¬¾ç以å
¶ä»æ¹å¼ä»æ¬¾",chooseAWayToPay:"鏿仿¬¾æ¹å¼",otherWaysToPay:"å
¶ä»ä»æ¬¾æ¹å¼",edit:"編輯",doneEditing:"宿",editPaymentMethods:"ç·¨è¼¯ä»æ¬¾æ¹å¼",CreditCardDeleteConfirmationMessage:"確å®è¦åªé¤æ«ç¢¼çº {{identifier}} ç {{secondaryIdentifier}} å¡çåï¼",PayPalAccountDeleteConfirmationMessage:"確å®è¦åªé¤ {{identifier}} PayPal 帳æ¶åï¼",VenmoAccountDeleteConfirmationMessage:"確å®è¦åªé¤ç¨æ¶åç¨±çº {{identifier}} ç Venmo 帳æ¶åï¼",genericDeleteConfirmationMessage:"確å®è¦åªé¤æ¤ä»æ¬¾æ¹å¼ï¼",deleteCancelButton:"åæ¶",deleteConfirmationButton:"åªé¤",fieldEmptyForCvv:"è«å¡«å¦¥ä¿¡ç¨å¡é©è碼ã",fieldEmptyForExpirationDate:"è«å¡«å¦¥å°ææ¥ã",fieldEmptyForCardholderName:"è«å¡«å¦¥æå¡äººå§åã",fieldTooLongForCardholderName:"æå¡äººå§åä¸è½è¶
é 256 ååå
ã",fieldEmptyForNumber:"è«å¡«å¦¥è碼ã",fieldEmptyForPostalCode:"è«å¡«å¯«éµéåèã",fieldInvalidForCardholderName:"æ¤æå¡äººå§åç¡æã",fieldInvalidForCvv:"éçµå®å
¨ä»£ç¢¼ç¡æã",fieldInvalidForExpirationDate:"æ¤å°ææ¥ç¡æã",fieldInvalidForNumber:"æ¤å¡èç¡æã",fieldInvalidForPostalCode:"æ¤éµéåèç¡æã",genericError:"æåç系統ç¼çåé¡ã",hostedFieldsTokenizationFailOnDuplicateError:"æ¤ä¿¡ç¨å¡å·²åå¨ï¼çºå·²å²åç仿¬¾æ¹å¼ã",hostedFieldsFailedTokenizationError:"è«æª¢æ¥ä½ çè³æä¸¦é試ã",hostedFieldsFieldsInvalidError:"è«æª¢æ¥ä½ çè³æä¸¦é試ã",hostedFieldsTokenizationNetworkErrorError:"網路é¯èª¤ãè«é試ã",hostedFieldsTokenizationCvvVerificationFailedError:"ä¿¡ç¨å¡èªè失æãè«æª¢æ¥ä½ çè³æä¸¦é試ã",paypalButtonMustBeUsed:"ä½¿ç¨ PayPal æé以繼çºä»æ¬¾ã",paypalAccountTokenizationFailedError:"æ°å¢ PayPal å¸³æ¶æï¼ç³»çµ±ç¼çé¯èª¤ãè«é試ã",paypalFlowFailedError:"é£çµè³ PayPal æï¼ç³»çµ±ç¼çé¯èª¤ãè«é試ã",paypalTokenizationRequestActiveError:"PayPal æ¯ä»æ¬¾é
çææ¬å·²å¨èçä¸ã",venmoCanceledError:"系統ç¼çé¯èª¤ã確èªä½ çè£ç½®ä¸è£æææ°çæ¬ç Venmo æç¨ç¨å¼ï¼èä¸çè¦½å¨æ¯æ´åæè³ Venmoã",vaultManagerPaymentMethodDeletionError:"ç¡æ³åªé¤ä»æ¬¾æ¹å¼ï¼è«åè©¦ä¸æ¬¡ã",venmoAppFailedError:"ä½ çè£ç½®ä¸æ¾ä¸å° Venmo æç¨ç¨å¼ã",unsupportedCardTypeError:"䏿¯æ´æ¤å¡çé¡åãè«æ¹ç¨å
¶ä»å¡çã",applePayTokenizationError:"å¨èç Apple Pay 仿¬¾æç¼ç網路é¯èª¤ãè«é試ã",applePayActiveCardError:"æ°å¢æ¯æ´çå¡çè³ä½ ç Apple Pay é¢å
ã",cardholderNameLabel:"æå¡äººå§å",cardNumberLabel:"å¡è",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"ï¼3 使¸ï¼",cvvFourDigitLabelSubheading:"ï¼4 使¸ï¼",cardholderNamePlaceholder:"æå¡äººå§å",expirationDateLabel:"å°ææ¥",expirationDateLabelSubheading:"ï¼æ / å¹´ï¼",expirationDatePlaceholder:"æ / å¹´",postalCodeLabel:"éµéåè",saveCardLabel:"å²åå¡ç",payWithCard:"使ç¨ä¿¡ç¨å¡ / æ£å¸³å¡ä»æ¬¾",endingIn:"æ«ç¢¼çº {{lastFourCardDigits}}
1","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"ä¿¡ç¨å¡ææ£å¸³å¡",PayPal:"PayPal","PayPal Credit":"PayPal 信貸","Google Pay":"Google Pay","American Express":"ç¾åéé (American Express)",Discover:"Discover","Diners Club":"大ä¾åé (Diners Club)",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],248:[function(e,t,i){"use strict";t.exports={payingWith:"使ç¨{{paymentSource}}仿¬¾",chooseAnotherWayToPay:"éæ©å
¶å®ä»æ¬¾æ¹å¼",chooseAWayToPay:"鿩仿¬¾æ¹å¼",otherWaysToPay:"å
¶å®ä»æ¬¾æ¹å¼",edit:"ç¼è¾",doneEditing:"宿",editPaymentMethods:"ç¼è¾ä»æ¬¾æ¹å¼",CreditCardDeleteConfirmationMessage:"å é¤å°¾å·ä¸º{{identifier}}ç{{secondaryIdentifier}}å¡ï¼",PayPalAccountDeleteConfirmationMessage:"å é¤PayPalè´¦æ·{{identifier}}ï¼",VenmoAccountDeleteConfirmationMessage:"ç¡®å®è¦å é¤ç¨æ·å为{{identifier}}çVenmoè´¦æ·åï¼",genericDeleteConfirmationMessage:"ç¡®å®è¦å 餿¤ä»æ¬¾æ¹å¼åï¼",deleteCancelButton:"åæ¶",deleteConfirmationButton:"å é¤",fieldEmptyForCvv:"请填å CVVã",fieldEmptyForExpirationDate:"è¯·å¡«åæææéã",fieldEmptyForCardholderName:"请填åæå¡äººå§åã",fieldTooLongForCardholderName:"æå¡äººå§åå¿
é¡»å°äº256个å符ã",fieldEmptyForNumber:"请填åå·ç ã",fieldEmptyForPostalCode:"请填å鮿¿ç¼ç ã",fieldInvalidForCardholderName:"æ¤æå¡äººå§åæ æã",fieldInvalidForCvv:"æ¤éªè¯ç æ æã",fieldInvalidForExpirationDate:"æ¤æææéæ æã",fieldInvalidForNumber:"æ¤å¡å·æ æã",fieldInvalidForPostalCode:"æ¤é®æ¿ç¼ç æ æã",genericError:"æä»¬éå°äºä¸äºé®é¢ã",hostedFieldsTokenizationFailOnDuplicateError:"æ¤ä¿¡ç¨å¡å·²åå¨äºå·²ä¿åç仿¬¾æ¹å¼ä¸ã",hostedFieldsFailedTokenizationError:"è¯·æ£æ¥æ¨çä¿¡æ¯ï¼ç¶åéè¯ã",hostedFieldsFieldsInvalidError:"è¯·æ£æ¥æ¨çä¿¡æ¯ï¼ç¶åéè¯ã",hostedFieldsTokenizationNetworkErrorError:"ç½ç»é误ã请éè¯ã",hostedFieldsTokenizationCvvVerificationFailedError:"ä¿¡ç¨å¡è®¤è¯å¤±è´¥ãè¯·æ£æ¥æ¨çä¿¡æ¯ï¼ç¶åéè¯ã",paypalButtonMustBeUsed:"使ç¨PayPalæé®ä»¥ä¾¿ç»§ç»è¿è¡æ¨ç仿¬¾ã",paypalAccountTokenizationFailedError:"æ·»å PayPalè´¦æ·æ¶éå°äºé®é¢ã请éè¯ã",paypalFlowFailedError:"è¿æ¥å°PayPalæ¶éå°äºé®é¢ã请éè¯ã",paypalTokenizationRequestActiveError:"PayPal仿¬¾æææ£å¨å¤çä¸ã",venmoCanceledError:"æä»¬éå°äºä¸äºé®é¢ãè¯·ç¡®ä¿æ¨ç设å¤ä¸å®è£
äºææ°çæ¬çVenmoåºç¨ï¼å¹¶ä¸æ¨çæµè§å¨æ¯æåæ¢å°Venmoã",vaultManagerPaymentMethodDeletionError:"æ æ³å é¤ä»æ¬¾æ¹å¼ï¼è¯·éè¯ã",venmoAppFailedError:"æªè½å¨æ¨ç设å¤ä¸æ¾å°Venmoåºç¨ã",unsupportedCardTypeError:"䏿¯ææ¤ç±»åçå¡ã请å°è¯å
¶å®å¡ã",applePayTokenizationError:"å¤çApple Pay仿¬¾æ¶åºç°äºç½ç»é误ã请éè¯ã",applePayActiveCardError:"卿¨çApple Payé±å
䏿·»å ä¸å¼ 忝æçå¡ã",cardholderNameLabel:"æå¡äººå§å",cardNumberLabel:"å¡å·",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"ï¼3使°ï¼",cvvFourDigitLabelSubheading:"ï¼4使°ï¼",cardholderNamePlaceholder:"æå¡äººå§å",expirationDateLabel:"æææé",expirationDateLabelSubheading:"ï¼æ/å¹´ï¼",expirationDatePlaceholder:"æ/å¹´",postalCodeLabel:"鮿¿ç¼ç ",saveCardLabel:"ä¿åå¡",payWithCard:"使ç¨å¡ä»æ¬¾",endingIn:"å°¾å·ä¸º{{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"å¡",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"é¶è"}},{}],249:[function(e,t,i){"use strict";var r=e("../lib/assign").assign,n=e("@braintree/class-list"),o=e("../lib/dropin-error"),a=e("../constants").errors,s=e("../lib/promise");function l(e){r(this,e=e||{})}l.prototype.getElementById=function(e){return this.element?this.element.querySelector('[data-braintree-id="'+e+'"]'):null},l.prototype.requestPaymentMethod=function(){return s.reject(new o(a.NO_PAYMENT_METHOD_ERROR))},l.prototype.getPaymentMethod=function(){return this.activeMethodView&&this.activeMethodView.paymentMethod},l.prototype.onSelection=function(){},l.prototype.teardown=function(){return s.resolve()},l.prototype.preventUserAction=function(){this.element&&n.add(this.element,"braintree-sheet--loading"),this.model.preventUserAction()},l.prototype.allowUserAction=function(){this.element&&n.remove(this.element,"braintree-sheet--loading"),this.model.allowUserAction()},t.exports=l},{"../constants":191,"../lib/assign":197,"../lib/dropin-error":201,"../lib/promise":208,"@braintree/class-list":39}],250:[function(e,t,i){"use strict";var r=e("./base-view"),n=e("../lib/add-selection-event-handler"),o=e("../constants").paymentMethodTypes;function a(){r.apply(this,arguments),this._initialize()}a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.ID=a.prototype.ID="delete-confirmation",a.prototype._initialize=function(){this._yesButton=this.getElementById("delete-confirmation__yes"),this._noButton=this.getElementById("delete-confirmation__no"),this._messageBox=this.getElementById("delete-confirmation__message"),n(this._yesButton,(function(){this.model.deleteVaultedPaymentMethod()}).bind(this)),n(this._noButton,(function(){this.model.cancelDeleteVaultedPaymentMethod()}).bind(this))},a.prototype.applyPaymentMethod=function(e){var t,i,r=this.strings[e.type+"DeleteConfirmationMessage"];if(r){switch(e.type){case o.card:t=e.details.lastFour,i=e.details.cardType,i=this.strings[i]||i;break;case o.paypal:t=e.details.email;break;case o.venmo:t=e.details.username}r=r.replace("{{identifier}}",t),i&&(r=r.replace("{{secondaryIdentifier}}",i))}else r=this.strings.genericDeleteConfirmationMessage;this._messageBox.innerText=r},a.prototype.onSelection=function(){window.requestAnimationFrame((function(){this._yesButton.focus()}).bind(this))},t.exports=a},{"../constants":191,"../lib/add-selection-event-handler":195,"./base-view":249}],251:[function(e,t,i){"use strict";var r=e("../lib/analytics"),n=e("../constants").analyticsKinds,o=e("./base-view"),a=e("@braintree/class-list"),s=e("./payment-sheet-views"),l=e("./payment-methods-view"),d=e("./payment-options-view"),c=e("./delete-confirmation-view"),p=e("../lib/add-selection-event-handler"),u=e("../lib/promise"),h=e("../lib/wait"),m=e("../lib/supports-flexbox"),y=e("../constants").CHANGE_ACTIVE_PAYMENT_METHOD_TIMEOUT,f=e("../constants").errors.DEVELOPER_MISCONFIGURATION_MESSAGE;function E(){o.apply(this,arguments),this.dependenciesInitializing=0,this._initialize()}function v(e){return"braintree-show-"+e}E.prototype=Object.create(o.prototype),E.prototype.constructor=E,E.prototype._initialize=function(){var e;
1this._hasMultiplePaymentOptions=this.model.supportedPaymentOptions.length>1,this._views={},this.sheetContainer=this.getElementById("sheet-container"),this.sheetErrorText=this.getElementById("sheet-error-text"),this.toggle=this.getElementById("toggle"),this.disableWrapper=this.getElementById("disable-wrapper"),this.lowerContainer=this.getElementById("lower-container"),this.loadingContainer=this.getElementById("loading-container"),this.dropinContainer=this.element.querySelector(".braintree-dropin"),this.supportsFlexbox=m(),this.model.on("asyncDependenciesReady",this.hideLoadingIndicator.bind(this)),this.model.on("errorOccurred",this.showSheetError.bind(this)),this.model.on("errorCleared",this.hideSheetError.bind(this)),this.model.on("preventUserAction",this.preventUserAction.bind(this)),this.model.on("allowUserAction",this.allowUserAction.bind(this)),this.paymentSheetViewIDs=Object.keys(s).reduce((function(e,t){var i,r;return -1!==this.model.supportedPaymentOptions.indexOf(t)&&((r=new(i=s[t])({element:this.getElementById(i.ID),mainView:this,model:this.model,client:this.client,strings:this.strings})).initialize(),this.addView(r),e.push(r.ID)),e}).bind(this),[]),this.paymentMethodsViews=new l({element:this.element,model:this.model,client:this.client,strings:this.strings}),this.addView(this.paymentMethodsViews),this.deleteConfirmationView=new c({element:this.getElementById("delete-confirmation"),model:this.model,strings:this.strings}),this.addView(this.deleteConfirmationView),p(this.toggle,this.toggleAdditionalOptions.bind(this)),this.model.on("changeActivePaymentMethod",(function(){h.delay(y).then((function(){var e=l.ID;this.model.hasPaymentMethods()||(e=this.model.getInitialViewId()),this.setPrimaryView(e)}).bind(this))}).bind(this)),this.model.on("changeActiveView",this._onChangeActiveView.bind(this)),this.model.on("removeActivePaymentMethod",(function(){var e=this.getView(this.model.getActivePaymentViewId());e&&"function"==typeof e.removeActivePaymentMethod&&e.removeActivePaymentMethod()}).bind(this)),this.model.on("enableEditMode",this.enableEditMode.bind(this)),this.model.on("disableEditMode",this.disableEditMode.bind(this)),this.model.on("confirmPaymentMethodDeletion",this.openConfirmPaymentMethodDeletionDialog.bind(this)),this.model.on("cancelVaultedPaymentMethodDeletion",this.cancelVaultedPaymentMethodDeletion.bind(this)),this.model.on("startVaultedPaymentMethodDeletion",this.startVaultedPaymentMethodDeletion.bind(this)),this.model.on("finishVaultedPaymentMethodDeletion",this.finishVaultedPaymentMethodDeletion.bind(this)),this._hasMultiplePaymentOptions&&(e=new d({client:this.client,element:this.getElementById(d.ID),mainView:this,model:this.model,strings:this.strings}),this.addView(e)),this._sendToDefaultView()},E.prototype._onChangeActiveView=function(e){var t=e.newViewId,i=this.getView(t);t===l.ID?(a.add(this.paymentMethodsViews.container,"braintree-methods--active"),a.remove(this.sheetContainer,"braintree-sheet--active")):(h.delay(0).then((function(){a.add(this.sheetContainer,"braintree-sheet--active")}).bind(this)),a.remove(this.paymentMethodsViews.container,"braintree-methods--active"),this.getView(t).getPaymentMethod()||this.model.setPaymentMethodRequestable({isRequestable:!1})),i.onSelection()},E.prototype.addView=function(e){this._views[e.ID]=e},E.prototype.getView=function(e){return this._views[e]},E.prototype.setPrimaryView=function(e,t){var i;h.delay(0).then((function(){this.element.className=v(e),t&&a.add(this.element,v(t))}).bind(this)),this.primaryView=this.getView(e),this.model.changeActiveView(e),-1!==this.paymentSheetViewIDs.indexOf(e)?this.model.getPaymentMethods().length>0||this.getView(d.ID)?this.showToggle():this.hideToggle():e===l.ID?(this.showToggle(),this.getElementById("lower-container").appendChild(this.getElementById("options"))):e===d.ID&&this.hideToggle(),this.supportsFlexbox||this.element.setAttribute("data-braintree-no-flexbox",!0),i=this.primaryView.getPaymentMethod(),this.model.setPaymentMethodRequestable({isRequestable:!!(i&&!this.model.isInEditMode()),type:i&&i.type,selectedPaymentMethod:i}),this.model.clearError()},E.prototype.requestPaymentMethod=function(){return this.getView(this.model.getActivePaymentViewId()).requestPaymentMethod().then((function(e){return r.sendEvent(this.client,"request-payment-method."+n[e.type]),e}).bind(this)).catch((function(e){return r.sendEvent(this.client,"request-payment-method.error"),u.reject(e)}).bind(this))},E.prototype.hideLoadingIndicator=function(){a.remove(this.dropinContainer,"braintree-loading"),a.add(this.dropinContainer,"braintree-loaded"),a.add(this.loadingContainer,"braintree-hidden")},E.prototype.showLoadingIndicator=function(){a.add(this.dropinContainer,"braintree-loading"),a.remove(this.dropinContainer,"braintree-loaded"),a.remove(this.loadingContainer,"braintree-hidden")},E.prototype.toggleAdditionalOptions=function(){var e,t=-1!==this.paymentSheetViewIDs.indexOf(this.primaryView.ID);this.hideToggle(),this._hasMultiplePaymentOptions?t?0===this.model.getPaymentMethods().length?this.setPrimaryView(d.ID):(this.setPrimaryView(l.ID,d.ID),this.hideToggle()):a.add(this.element,v(d.ID)):(e=this.paymentSheetViewIDs[0],a.add(this.element,v(e)),this.model.changeActiveView(e))},E.prototype.showToggle=function(){this.model.isInEditMode()||(a.remove(this.toggle,"braintree-hidden"),a.add(this.lowerContainer,"braintree-hidden"))},E.prototype.hideToggle=function(){a.add(this.toggle,"braintree-hidden"),a.remove(this.lowerContainer,"braintree-hidden")},E.prototype.showSheetError=function(e){var t,i=this.strings.genericError;t=this.strings.hasOwnProperty(e)?this.strings[e]:e&&"string"==typeof e.code?this.strings[e.code.toLowerCase().replace(/(\_\w)/g,function(e){return e[1].toUpperCase()})+"Error"]||i:"developerError"===e?f:i,a.add(this.dropinContainer,"braintree-sheet--has-error"),this.sheetErrorText.
1innerHTML=t},E.prototype.hideSheetError=function(){a.remove(this.dropinContainer,"braintree-sheet--has-error")},E.prototype.getOptionsElements=function(){return this._views.options.elements},E.prototype.preventUserAction=function(){a.remove(this.disableWrapper,"braintree-hidden")},E.prototype.allowUserAction=function(){a.add(this.disableWrapper,"braintree-hidden")},E.prototype.teardown=function(){var e,t=Object.keys(this._views).map((function(t){return this._views[t].teardown().catch(function(t){e=t})}).bind(this));return u.all(t).then(function(){return e?u.reject(e):u.resolve()})},E.prototype.enableEditMode=function(){this.setPrimaryView(this.paymentMethodsViews.ID),this.paymentMethodsViews.enableEditMode(),this.hideToggle(),this.model.setPaymentMethodRequestable({isRequestable:!1})},E.prototype.disableEditMode=function(){var e;this.hideSheetError(),this.paymentMethodsViews.disableEditMode(),this.showToggle(),e=this.primaryView.getPaymentMethod(),this.model.setPaymentMethodRequestable({isRequestable:!!e,type:e&&e.type,selectedPaymentMethod:e})},E.prototype.openConfirmPaymentMethodDeletionDialog=function(e){this.deleteConfirmationView.applyPaymentMethod(e),this.setPrimaryView(this.deleteConfirmationView.ID)},E.prototype.cancelVaultedPaymentMethodDeletion=function(){this.setPrimaryView(this.paymentMethodsViews.ID)},E.prototype.startVaultedPaymentMethodDeletion=function(){this.element.className="",this.showLoadingIndicator()},E.prototype.finishVaultedPaymentMethodDeletion=function(e){var t=this;return this.paymentMethodsViews.refreshPaymentMethods(),e&&this.model.getPaymentMethods().length>0?(this.model.enableEditMode(),this.showSheetError("vaultManagerPaymentMethodDeletionError")):this._sendToDefaultView(),new u(function(e){h.delay(500).then(function(){t.hideLoadingIndicator(),e()})})},E.prototype._sendToDefaultView=function(){var e=this.model.getPaymentMethods(),t=!1!==this.model.merchantConfiguration.preselectVaultedPaymentMethod;e.length>0?t?(r.sendEvent(this.client,"vaulted-card.preselect"),this.model.changeActivePaymentMethod(e[0])):this.setPrimaryView(this.paymentMethodsViews.ID):this._hasMultiplePaymentOptions?this.setPrimaryView(d.ID):this.setPrimaryView(this.paymentSheetViewIDs[0])},t.exports=E},{"../constants":191,"../lib/add-selection-event-handler":195,"../lib/analytics":196,"../lib/promise":208,"../lib/supports-flexbox":210,"../lib/wait":213,"./base-view":249,"./delete-confirmation-view":250,"./payment-methods-view":253,"./payment-options-view":254,"./payment-sheet-views":259,"@braintree/class-list":39}],252:[function(e,t,i){"use strict";var r=e("../lib/analytics"),n=e("./base-view"),o=e("@braintree/class-list"),a=e("../constants"),s=e("../lib/add-selection-event-handler");function l(){n.apply(this,arguments),this._initialize()}l.prototype=Object.create(n.prototype),l.prototype.constructor=l,l.prototype._initialize=function(){var e,t='<div class="braintree-method__icon-container braintree-method__delete-container">\n <div class="braintree-method__icon braintree-method__delete">\n <svg width="48" height="29">\n <use xlink:href="#iconX"></use>\n </svg>\n </div>\n</div>\n\n<div class="braintree-method__logo">\n <svg width="40" height="24" class="@CLASSNAME">\n <use xlink:href="#@ICON"></use>\n </svg>\n</div>\n\n<div class="braintree-method__label">@TITLE<br><div class="braintree-method__label--small">@SUBTITLE</div></div>\n\n<div class="braintree-method__icon-container braintree-method__check-container">\n <div class="braintree-method__icon braintree-method__check">\n <svg height="100%" width="100%">\n <use xlink:href="#iconCheck"></use>\n </svg>\n </div>\n</div>\n',i=a.paymentMethodCardTypes,r=a.paymentMethodTypes;switch(this.element=document.createElement("div"),this.element.className="braintree-method",this.element.setAttribute("tabindex","0"),this.element.setAttribute("role","button"),s(this.element,(function(){this.model.isInEditMode()?this._selectDelete():this._choosePaymentMethod()}).bind(this)),this.paymentMethod.type){case r.applePay:t=t.replace(/@ICON/g,"logoApplePay").replace(/@CLASSNAME/g,"").replace(/@TITLE/g,this.strings["Apple Pay"]).replace(/@SUBTITLE/g,"");break;case r.card:e=this.strings.endingIn.replace("{{lastFourCardDigits}}",this.paymentMethod.details.lastFour),t=t.replace(/@ICON/g,"icon-"+i[this.paymentMethod.details.cardType]).replace(/@CLASSNAME/g," braintree-icon--bordered").replace(/@TITLE/g,e).replace(/@SUBTITLE/g,this.strings[this.paymentMethod.details.cardType]);break;case r.googlePay:t=t.replace(/@ICON/g,"logoGooglePay").replace(/@CLASSNAME/g,"").replace(/@TITLE/g,this.strings["Google Pay"]).replace(/@SUBTITLE/g,"");break;case r.paypal:t=t.replace(/@ICON/g,"logoPayPal").replace(/@CLASSNAME/g,"").replace(/@TITLE/g,this.paymentMethod.details.email).replace(/@SUBTITLE/g,this.strings.PayPal);break;case r.venmo:t=t.replace(/@ICON/g,"logoVenmo").replace(/@CLASSNAME/g,"").replace(/@TITLE/g,this.paymentMethod.details.username).replace(/@SUBTITLE/g,this.strings.Venmo)}this.element.innerHTML=t,this.checkMark=this.element.querySelector(".braintree-method__check-container")},l.prototype.setActive=function(e){setTimeout((function(){o.toggle(this.element,"braintree-method--active",e)}).bind(this),0)},l.prototype.enableEditMode=function(){o.add(this.checkMark,"braintree-hidden"),this.paymentMethod.hasSubscription&&o.add(this.element,"braintree-method--disabled")},l.prototype.disableEditMode=function(){o.remove(this.checkMark,"braintree-hidden"),o.remove(this.element,"braintree-method--disabled")},l.prototype.teardown=function(){this.element.parentNode&&this.element.parentNode.removeChild(this.element)},l.prototype._choosePaymentMethod=function(){this.paymentMethod.vaulted&&r.sendEvent(this.client,"vaulted-"+a.analyticsKinds[this.paymentMethod.type]+".select"),this.model.changeActivePaymentMethod(this.paymentMethod)},l.prototype._selectDelete=function(){this.model.confirmPaymentMethodDeletion(this.paymentMethod)},t.exports=l},{"../constants":191,"../lib/add-selection-event-handler":195,"../lib/analytics":196,"./base-view":249,"@braintree/class-list":39}],253:[function(e,t,i){"use strict";var r=e("./base-view"),n=e("./payment-method-view"),o=e("../lib/dropin-error"),a=e("@braintree/class-list"),s=e("../constants").errors,l=e("../lib/promise"),d=e("../lib/add-selection-event-handler"),c={Credit
1Card:"Card",PayPalAccount:"PayPal",ApplePayCard:"Apple Pay",AndroidPayCard:"Google Pay",VenmoAccount:"Venmo"};function p(){r.apply(this,arguments),this._initialize()}p.prototype=Object.create(r.prototype),p.prototype.constructor=p,p.ID=p.prototype.ID="methods",p.prototype._initialize=function(){this.views=[],this.container=this.getElementById("methods-container"),this._headingLabel=this.getElementById("methods-label"),this._editButton=this.getElementById("methods-edit"),this.model.on("addPaymentMethod",this._addPaymentMethod.bind(this)),this.model.on("changeActivePaymentMethod",this._changeActivePaymentMethodView.bind(this)),this.model.on("refreshPaymentMethods",this.refreshPaymentMethods.bind(this)),this.refreshPaymentMethods(),this.model.merchantConfiguration.vaultManager&&(this.model.on("removePaymentMethod",this._removePaymentMethod.bind(this)),d(this._editButton,(function(){this.model.isInEditMode()?this.model.disableEditMode():this.model.enableEditMode()}).bind(this)),a.remove(this._editButton,"braintree-hidden"))},p.prototype.removeActivePaymentMethod=function(){this.activeMethodView&&(this.activeMethodView.setActive(!1),this.activeMethodView=null,a.add(this._headingLabel,"braintree-no-payment-method-selected"))},p.prototype._getPaymentMethodString=function(){var e,t;return this.activeMethodView?(e=c[this.activeMethodView.paymentMethod.type],t=this.strings[e],this.strings.payingWith.replace("{{paymentSource}}",t)):""},p.prototype.enableEditMode=function(){a.add(this.container,"braintree-methods--edit"),this._editButton.innerHTML=this.strings.deleteCancelButton,this._headingLabel.innerHTML=this.strings.editPaymentMethods,this.views.forEach(function(e){e.enableEditMode()})},p.prototype.disableEditMode=function(){a.remove(this.container,"braintree-methods--edit"),this._editButton.innerHTML=this.strings.edit,this._headingLabel.innerHTML=this._getPaymentMethodString(),this.views.forEach(function(e){e.disableEditMode()})},p.prototype._addPaymentMethod=function(e){var t=new n({model:this.model,paymentMethod:e,client:this.client,strings:this.strings});this.model.isGuestCheckout&&this.container.firstChild&&(this.views[0].teardown(),this.views.pop()),this.container.firstChild?this.container.insertBefore(t.element,this.container.firstChild):this.container.appendChild(t.element),this.views.push(t)},p.prototype._removePaymentMethod=function(e){var t;for(t=0;t<this.views.length;t++)if(this.views[t].paymentMethod===e){this.views[t].teardown(),this._headingLabel.innerHTML=" ",this.views.splice(t,1);break}},p.prototype._changeActivePaymentMethodView=function(e){var t,i=this.activeMethodView;for(t=0;t<this.views.length;t++)if(this.views[t].paymentMethod===e){this.activeMethodView=this.views[t],this._headingLabel.innerHTML=this._getPaymentMethodString();break}i&&i.setActive(!1),this.activeMethodView.setActive(!0),a.remove(this._headingLabel,"braintree-no-payment-method-selected")},p.prototype.requestPaymentMethod=function(){return!this.activeMethodView||this.model.isInEditMode()?l.reject(new o(s.NO_PAYMENT_METHOD_ERROR)):l.resolve(this.activeMethodView.paymentMethod)},p.prototype.refreshPaymentMethods=function(){var e,t=this.model.getPaymentMethods();for(this.views.forEach(function(e){e.teardown()}),this.views=[],e=t.length-1;e>=0;e--)this._addPaymentMethod(t[e])},t.exports=p},{"../constants":191,"../lib/add-selection-event-handler":195,"../lib/dropin-error":201,"../lib/promise":208,"./base-view":249,"./payment-method-view":252,"@braintree/class-list":39}],254:[function(e,t,i){"use strict";var r=e("../lib/analytics"),n=e("../lib/add-selection-event-handler"),o=e("./base-view"),a=e("../constants").paymentOptionIDs;function s(){o.apply(this,arguments),this._initialize()}s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.ID=s.prototype.ID="options",s.prototype._initialize=function(){this.container=this.getElementById("payment-options-container"),this.elements={}
1,this.model.supportedPaymentOptions.forEach((function(e){this._addPaymentOption(e)}).bind(this))},s.prototype._addPaymentOption=function(e){var t,i=document.createElement("div"),o='<div class="braintree-option__logo">\n <svg width="48" height="29" class="@CLASSNAME">\n <use xlink:href="#@ICON"></use>\n </svg>\n</div>\n\n<div class="braintree-option__label" aria-label="@OPTION_LABEL">\n @OPTION_TITLE\n <div class="braintree-option__disabled-message"></div>\n</div>\n',s=(function(){this.mainView.setPrimaryView(e),this.model.selectPaymentOption(e),r.sendEvent(this.client,"selected."+a[e])}).bind(this);switch(i.className="braintree-option braintree-option__"+e,i.setAttribute("tabindex","0"),i.setAttribute("role","button"),e){case a.applePay:t=this.strings["Apple Pay"],o=o.replace(/@ICON/g,"logoApplePay");break;case a.card:t=this.strings.Card,o=(o=o.replace(/@ICON/g,"iconCardFront")).replace(/@CLASSNAME/g,"braintree-icon--bordered");break;case a.googlePay:t=this.strings["Google Pay"],o=o.replace(/@ICON/g,"logoGooglePay");break;case a.paypal:t=this.strings.PayPal,o=o.replace(/@ICON/g,"logoPayPal");break;case a.paypalCredit:t=this.strings["PayPal Credit"],o=o.replace(/@ICON/g,"logoPayPalCredit");break;case a.venmo:t=this.strings.Venmo,o=o.replace(/@ICON/g,"logoVenmo")}o=(o=(o=o.replace(/@OPTION_LABEL/g,this._generateOptionLabel(t))).replace(/@OPTION_TITLE/g,t)).replace(/@CLASSNAME/g,""),i.innerHTML=o,n(i,s),this.container.appendChild(i),this.elements[e]={div:i,clickHandler:s}},s.prototype._generateOptionLabel=function(e){return this.strings.payingWith.replace("{{paymentSource}}",e)},t.exports=s},{"../constants":191,"../lib/add-selection-event-handler":195,"../lib/analytics":196,"./base-view":249}],255:[function(e,t,r){(function(i){(function(){"use strict";var r=e("../../lib/assign").assign,n=e("../base-view"),o=e("braintree-web/apple-pay"),a=e("../../lib/dropin-error"),s=e("../../lib/is-https"),l=e("../../lib/promise"),d=e("../../constants").paymentOptionIDs;function c(){n.apply(this,arguments)}c.prototype=Object.create(n.prototype),c.prototype.constructor=c,c.ID=c.prototype.ID=d.applePay,c.prototype.initialize=function(){var e=this;return e.applePayConfiguration=r({},e.model.merchantConfiguration.applePay),e.applePaySessionVersion=e.applePayConfiguration.applePaySessionVersion||2,delete e.applePayConfiguration.applePaySessionVersion,o.create({client:this.client}).then(function(t){e.buttonDiv=e.getElementById("apple-pay-button"),e.applePayInstance=t,e.buttonDiv.onclick=e._showPaymentSheet.bind(e),e.buttonDiv.style["-apple-pay-button-style"]=e.model.merchantConfiguration.applePay.buttonStyle||"black",e.model.asyncDependencyReady(c.ID)}).catch(function(t){e.model.asyncDependencyFailed({view:e.ID,error:new a(t)})})},c.prototype._showPaymentSheet=function(){var e,t,r=this;return!this._sessionInProgress&&(this._sessionInProgress=!0,e=this.applePayInstance.createPaymentRequest(this.applePayConfiguration.paymentRequest),(t=new i.ApplePaySession(r.applePaySessionVersion,e)).onvalidatemerchant=function(e){r.applePayInstance.performValidation({validationURL:e.validationURL,displayName:r.applePayConfiguration.displayName}).then(function(e){t.completeMerchantValidation(e)}).catch(function(e){r.model.reportError(e),r._sessionInProgress=!1,t.abort()})},t.onpaymentauthorized=function(e){r.applePayInstance.tokenize({token:e.payment.token}).then(function(n){r._sessionInProgress=!1,t.completePayment(i.ApplePaySession.STATUS_SUCCESS),n.rawPaymentData=e.payment,r.model.addPaymentMethod(n)}).catch(function(e){r.model.reportError(e),r._sessionInProgress=!1,t.completePayment(i.ApplePaySession.STATUS_FAILURE)})},t.oncancel=function(){r._sessionInProgress=!1},t.begin(),!1)},c.prototype.updateConfiguration=function(e,t){this.applePayConfiguration[e]=t},c.isEnabled=function(e){var t=e.client.getConfiguration().gatewayConfiguration.applePayWeb&&!!e.merchantConfiguration.applePay,r=e.merchantConfiguration.applePay&&e.merchantConfiguration.applePay.applePaySessionVersion;return(r=r||2,t&&i.ApplePaySession&&s.isHTTPS()&&i.ApplePaySession.supportsVersion(r))?l.resolve(!!i.ApplePaySession.canMakePayments()):l.resolve(!1)},t.exports=c}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../constants":191,"../../lib/assign":197,"../../lib/dropin-error":201,"../../lib/is-https":204,"../../lib/promise":208,"../base-view":249,"braintree-web/apple-pay":53}],256:[function(e,t,r){(function(i){(function(){"use strict";var r,n=e("../../lib/analytics"),o=e("../../lib/assign").assign,a=e("../../lib/browser-detection"),s=e("../base-view"),l=e("braintree-web/paypal-checkout"),d=e("../../lib/dropin-error"),c=e("../../constants"),p=e("@braintree/asset-loader"),u=e("../../translations").fiveCharacterLocales,h=e("../../lib/promise"),m=["offerCredit","locale"];function y(){s.apply(this,arguments)}y.prototype=Object.create(s.prototype),y.prototype.initialize=function(){var e,t=!!this._isPayPalCredit,r=!1,n=this,a=t?"payp
1alCredit":"paypal",s=this.model.merchantConfiguration[a],c="#braintree--dropin__"+this.model.componentID;return this.paypalConfiguration=o({},s),e=setTimeout(function(){n.model.asyncDependencyFailed({view:n.ID,error:new d("There was an error connecting to PayPal.")})},3e4),l.create({client:this.client}).then(function(o){var s,l='[data-braintree-id="paypal-button"]',d="production"===n.client.getConfiguration().gatewayConfiguration.environment?"production":"sandbox",h=n.model.merchantConfiguration.locale;return n.paypalInstance=o,n.paypalConfiguration.offerCredit=!!t,s={env:d,style:n.paypalConfiguration.buttonStyle||{},commit:n.paypalConfiguration.commit,payment:function(){return o.createPayment(n.paypalConfiguration).catch(p)},onAuthorize:function(e){var t=n.paypalConfiguration.vault&&!1===n.paypalConfiguration.vault.vaultPayPal;return t&&(e.vault=!1),o.tokenizePayment(e).then(function(e){t||"vault"!==n.paypalConfiguration.flow||n.model.isGuestCheckout||(e.vaulted=!0),n.model.addPaymentMethod(e)}).catch(p)},onError:p},h&&h in u&&(n.paypalConfiguration.locale=h,s.locale=h),s.funding={disallowed:[]},Object.keys(i.paypal.FUNDING).forEach(function(e){"PAYPAL"!==e&&"CREDIT"!==e&&s.funding.disallowed.push(i.paypal.FUNDING[e])}),t?(l='[data-braintree-id="paypal-credit-button"]',s.style.label="credit"):s.funding.disallowed.push(i.paypal.FUNDING.CREDIT),l=c+" "+l,i.paypal.Button.render(s,l).then(function(){n.model.asyncDependencyReady(a),r=!0,clearTimeout(e)})}).catch(p);function p(t){r?n.model.reportError(t):(n.model.asyncDependencyFailed({view:n.ID,error:t}),clearTimeout(e))}},y.prototype.requestPaymentMethod=function(){return this.model.reportError("paypalButtonMustBeUsed"),s.prototype.requestPaymentMethod.call(this)},y.prototype.updateConfiguration=function(e,t){-1===m.indexOf(e)&&(this.paypalConfiguration[e]=t)},y.isEnabled=function(e){var t=e.client.getConfiguration().gatewayConfiguration,o=e.merchantConfiguration.paypal||e.merchantConfiguration.paypalCredit;return t.paypalEnabled?a.isIe9()||a.isIe10()?(n.sendEvent(e.client,e.viewID+".checkout.js-browser-not-supported"),h.resolve(!1)):i.paypal&&i.paypal.Button?h.resolve(!0):r||(r=p.loadScript({src:c.CHECKOUT_JS_SOURCE,id:c.PAYPAL_CHECKOUT_SCRIPT_ID,dataAttributes:{"log-level":o.logLevel||"warn"}}).then(function(){return h.resolve(!0)}).catch(function(){return h.resolve(!1)}).then(function(e){return r=null,h.resolve(e)})):h.resolve(!1)},t.exports=y}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../constants":191,"../../lib/analytics":196,"../../lib/assign":197,"../../lib/browser-detection":198,"../../lib/dropin-error":201,"../../lib/promise":208,"../../translations":232,"../base-view":249,"@braintree/asset-loader":1,"braintree-web/paypal-checkout":136}],257:[function(e,t,i){"use strict";var r=e("../../lib/assign").assign,n=e("../base-view"),o=e("@braintree/class-list"),a=e("../../constants"),s=e("../../lib/dropin-error"),l=e("braintree-web/hosted-fields"),d=e("../../lib/is-utf-8"),c=e("../../lib/transition-helper"),p=e("../../lib/promise"),u=["empty","inputSubmitRequest","binAvailable"];function h(){n.apply(this,arguments)}function m(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function y(e){return e[0].toUpperCase()+e.substr(1)}function f(e){var t=d()?"â¢":"*";return Array(e+1).join(t)}h.prototype=Object.create(n.prototype),h.prototype.constructor=h,h.ID=h.prototype.ID=a.paymentOptionIDs.card,h.prototype.initialize=function(){var e,t,i,r=this.getElementById("cardholder-name-field-group"),n=this.getElementById("card-view-icons");return this.merchantConfiguration=this.model.merchantConfiguration.card||{},this.merchantConfiguration.vault=this.merchantConfiguration.vault||{},this.hasCardholderName=!!this.merchantConfiguration.cardholderName,this.cardholderNameRequired=this.hasCardholderName&&!0===this.merchantConfiguration.cardholderName.required,i=this._generateHostedFieldsOptions(),n.innerHTML='<div data-braintree-id="visa-card-icon" class="braintree-sheet__card-icon">\n <svg width="40" height="24">\n <use xlink:href="#icon-visa"></use>\n </svg>\n</div>\n<div data-braintree-id="master-card-card-icon" class="braintree-sheet__card-icon">\n <svg width="40" height="24">\n <use xlink:href="#icon-master-card"></use>\n </svg>\n</div>\n<div data-braintree-id="unionpay-card-icon" class="braintree-sheet__card-icon braintree-hidden">\n <svg width="40" height="24">\n <use xlink:href="#icon-unionpay"></use>\n </svg>\n</div>\n<div data-braintree-id="american-express-card-icon" class="braintree-sheet__card-icon">\n <svg width="40" height="24">\n <use xlink:href="#icon-american-express"></use>\n </svg>\n</div>\n<div data-braintree-id="jcb-card-icon" class="braintree-sheet__card-icon">\n <svg width="40" height="24">\n <use xlink:href="#icon-jcb"></use>\n </svg>\n</div>\n<!-- Remove braintree-hidden class when supportedCardType accurately indicates Diners Club support -->\n<div data-braintree-id="diners-club-card-icon" class="braintree-sheet__card-icon braintree-hidden">\n <svg width="40" height="24">\n <use xlink:href="#icon-diners-club"></use>\n </svg>\n</div>\n<div data-braintree-id="discover-card-icon" class="braintree-sheet__card-icon">\n <svg width="40" height="24">\n <use xlink:href="#icon-discover"></use>\n </svg>\n</div>\n<div data-braintree-id="maestro-card-icon" class="braintree-sheet__card-icon">\n <svg width="40" height="24">\n <use xlink:href="#icon-maestro"></use>\n </svg>\n</div>\n',this._hideUnsupportedCardIcons(),this.hasCVV=i.fields.cvv,this.saveC
1ardInput=this.getElementById("save-card-input"),this.cardNumberIcon=this.getElementById("card-number-icon"),this.cardNumberIconSvg=this.getElementById("card-number-icon-svg"),this.cvvIcon=this.getElementById("cvv-icon"),this.cvvIconSvg=this.getElementById("cvv-icon-svg"),this.cvvLabelDescriptor=this.getElementById("cvv-label-descriptor"),this.fieldErrors={},this.hasCardholderName||r.parentNode.removeChild(r),this.hasCVV||(e=this.getElementById("cvv-field-group")).parentNode.removeChild(e),i.fields.postalCode||(t=this.getElementById("postal-code-field-group")).parentNode.removeChild(t),this.model.isGuestCheckout||!0!==this.merchantConfiguration.vault.allowVaultCardOverride||o.remove(this.getElementById("save-card-field-group"),"braintree-hidden"),!1===this.merchantConfiguration.vault.vaultCard&&(this.saveCardInput.checked=!1),l.create(i).then((function(e){this.hostedFieldsInstance=e,this.hostedFieldsInstance.on("blur",this._onBlurEvent.bind(this)),this.hostedFieldsInstance.on("cardTypeChange",this._onCardTypeChangeEvent.bind(this)),this.hostedFieldsInstance.on("focus",this._onFocusEvent.bind(this)),this.hostedFieldsInstance.on("notEmpty",this._onNotEmptyEvent.bind(this)),this.hostedFieldsInstance.on("validityChange",this._onValidityChangeEvent.bind(this)),u.forEach((function(e){this.hostedFieldsInstance.on(e,(function(t){this.model._emit("card:"+e,t)}).bind(this))}).bind(this)),this.model.asyncDependencyReady(h.ID)}).bind(this)).catch((function(e){this.model.asyncDependencyFailed({view:this.ID,error:e})}).bind(this))},h.prototype._sendRequestableEvent=function(){this._isTokenizing||this.model.setPaymentMethodRequestable({isRequestable:this._val
1idateForm(),type:a.paymentMethodTypes.card})},h.prototype._generateHostedFieldsOptions=function(){var e,t=this.client.getConfiguration().gatewayConfiguration.challenges,i=-1!==t.indexOf("cvv"),n=-1!==t.indexOf("postal_code"),o=this.merchantConfiguration.overrides,a={client:this.client,fields:{cardholderName:{container:this._getFieldContainer("cardholder-name"),placeholder:this.strings.cardholderNamePlaceholder},number:{container:this._getFieldContainer("number"),placeholder:[e=f(4),e,e,e].join(" ")},expirationDate:{container:this._getFieldContainer("expiration"),placeholder:this.strings.expirationDatePlaceholder},cvv:{container:this._getFieldContainer("cvv"),placeholder:f(3)},postalCode:{container:this._getFieldContainer("postal-code")}},styles:{input:{"font-size":"16px","font-family":'-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',color:"#000"},":focus":{color:"black"},"::-webkit-input-placeholder":{color:"#6a6a6a"},":-moz-placeholder":{color:"#6a6a6a"},"::-moz-placeholder":{color:"#6a6a6a"},":-ms-input-placeholder ":{color:"#6a6a6a"},"input::-ms-clear":{color:"transparent"}}};return this.hasCardholderName||delete a.fields.cardholderName,i||delete a.fields.cvv,n||delete a.fields.postalCode,o&&(o.fields&&(o.fields.cvv&&void 0!==o.fields.cvv.placeholder&&(this._hasCustomCVVPlaceholder=!0),Object.keys(o.fields).forEach(function(e){if(("cvv"===e||"postalCode"===e)&&null===o.fields[e]){delete a.fields[e];return}a.fields[e]&&r(a.fields[e],o.fields[e],{selector:a.fields[e].selector})})),o.styles&&Object.keys(o.styles).forEach(function(e){if(null===o.styles[e]){delete a.styles[e];return}if("string"==typeof o.styles[e]){a.styles[e]=o.styles[e];return}(function(e){Object.keys(e).forEach(function(t){e[m(t)]=e[t]})})(o.styles[e]),a.styles[e]=a.styles[e]||{},r(a.styles[e],o.styles[e])})),a},h.prototype._validateForm=function(e){var t,i,r,n=!0,o=this.client.getConfiguration().gatewayConfiguration.creditCards.supportedCardTypes;return!!this.hostedFieldsInstance&&(Object.keys((r=this.hostedFieldsInstance.getState()).fields).forEach((function(t){var i=r.fields[t];(e||n)&&(i.isEmpty?this.cardholderNameRequired||"cardholderName"!==t?(n=!1,e&&this.showFieldError(t,this.strings["fieldEmptyFor"+y(t)])):n=!0:!i.isValid&&(n=!1,e&&this.showFieldError(t,this.strings["fieldInvalidFor"+y(t)])))}).bind(this)),r.fields.number.isValid&&!((i=(t=r.cards[0])&&a.configurationCardTypes[t.type])&&-1!==o.indexOf(i))&&(n=!1,e&&this.showFieldError("number",this.strings.unsupportedCardTypeError)),n)},h.prototype.getPaymentMethod=function(){if(this._validateForm())return{type:a.paymentMethodTypes.card}},h.prototype.tokenize=function(){var e,t=this,i=t.hostedFieldsInstance.getState(),r={vault:this._shouldVault()};return(this.model.clearError(),this._validateForm(!0))?(!this.cardholderNameRequired&&i.fields.cardholderName&&i.fields.cardholderName.isEmpty&&(r.fieldsToTokenize=Object.keys(i.fields).filter(function(e){return"cardholderName"!==e})),t._isTokenizing=!0,t.hostedFieldsInstance.tokenize(r).then(function(r){return!1!==t.merchantConfiguration.clearFieldsAfterTokenization&&Object.keys(i.fields).forEach(function(e){t.hostedFieldsInstance.clear(e)}),t._shouldVault()&&(r.vaulted=!0),new p(function(i){e=function(){setTimeout(function(){t.model.addPaymentMethod(r),i(r),o.remove(t.element,"braintree-sheet--tokenized")},0)},c.onTransitionEnd(t.element,"max-height",e),setTimeout(function(){t.allowUserAction(),t._isTokenizing=!1},a.CHANGE_ACTIVE_PAYMENT_METHOD_TIMEOUT),o.add(t.element,"braintree-sheet--tokenized")})}).catch(function(e){return t._isTokenizing=!1,t.model.reportError(e),t.allowUserAction(),p.reject(new s({message:a.errors.NO_PAYMENT_METHOD_ERROR,braintreeWebError:e}))})):(t.model.reportError("hostedFieldsFieldsInvalidError"),t.allowUserAction(),p.reject(new s(a.errors.NO_PAYMENT_METHOD_ERROR)))},h.prototype.showFieldError=function(e,t){var i=this.getElementById(m(e)+"-field-group"),r=i.querySelector("input");this.fieldErrors.hasOwnProperty(e)||(this.fieldErrors[e]=this.getElementById(m(e)+"-field-error")),o.add(i,"braintree-form__field-group--has-error"),this.fieldErrors[e].innerHTML=t,r?r.setAttribute("aria-invalid",!0):(this.hostedFieldsInstance.setAttribute({field:e,attribute:"aria-invalid",value:!0}),this.hostedFieldsInstance.setMessage({field:e,message:t}))},h.prototype.hideFieldError=function(e){var t=this.getElementById(m(e)+"-field-group"),i=t.querySelector("input");this.fieldErrors.hasOwnProperty(e)||(this.fieldErrors[e]=this.getElementById(m(e)+"-field-error")),o.remove(t,"braintree-form__field-group--has-error"),i?i.removeAttribute("aria-invalid"):(this.hostedFieldsInstance.removeAttribute({field:e,attribute:"aria-invalid"}),this.hostedFieldsInstance.setMessage({field:e,message:""}))},h.prototype.teardown=function(){return this.hostedFieldsInstance.teardown()},h.prototype._shouldVault=function(){return!this.model.isGuestCheckout&&this.saveC
1ardInput.checked},h.prototype._getFieldContainer=function(e){return"expiration"===e&&(e="expiration-date"),this.getElementById(e+"-field-group").querySelector(".braintree-form__hosted-field")},h.prototype._onBlurEvent=function(e){var t=e.fields[e.emittedBy],i=this.getElementById(m(e.emittedBy)+"-field-group");o.remove(i,"braintree-form__field-group--is-focused"),this._shouldApplyFieldEmptyError(e.emittedBy,t)?this.showFieldError(e.emittedBy,this.strings["fieldEmptyFor"+y(e.emittedBy)]):t.isEmpty||t.isValid?"number"!==e.emittedBy||this._isCardTypeSupported(e.cards[0].type)||this.showFieldError("number",this.strings.unsupportedCardTypeError):this.showFieldError(e.emittedBy,this.strings["fieldInvalidFor"+y(e.emittedBy)]),this.model._emit("card:blur",e),setTimeout((function(){this._shouldApplyFieldEmptyError(e.emittedBy,t)&&this.showFieldError(e.emittedBy,this.strings["fieldEmptyFor"+y(e.emittedBy)])}).bind(this),150)},h.prototype._onCardTypeChangeEvent=function(e){var t,i="#iconCardFront",r="#iconCVVBack",n=this.str
1ings.cvvThreeDigitLabelSubheading,a=f(3),s=this.getElementById("number-field-group");1===e.cards.length?(i="#icon-"+(t=e.cards[0].type),"american-express"===t&&(r="#iconCVVFront",n=this.strings.cvvFourDigitLabelSubheading,a=f(4)),o.add(s,"braintree-form__field-group--card-type-known")):o.remove(s,"braintree-form__field-group--card-type-known"),this.cardNumberIconSvg.setAttribute("xlink:href",i),this.hasCVV&&(this.cvvIconSvg.setAttribute("xlink:href",r),this.cvvLabelDescriptor.innerHTML=n,this._hasCustomCVVPlaceholder||this.hostedFieldsInstance.setAttribute({field:"cvv",attribute:"placeholder",value:a})),this.model._emit("card:cardTypeChange",e)},h.prototype._onFocusEvent=function(e){var t=this.getElementById(m(e.emittedBy)+"-field-group");o.add(t,"braintree-form__field-group--is-focused"),this.model._emit("card:focus",e)},h.prototype._onNotEmptyEvent=function(e){this.hideFieldError(e.emittedBy),this.model._emit("card:notEmpty",e)},h.prototype._onValidityChangeEvent=function(e){var t,i=e.fields[e.emittedBy];t="number"===e.emittedBy&&e.cards[0]?i.isValid&&this._isCardTypeSupported(e.cards[0].type):i.isValid,o.toggle(i.container,"braintree-form__field--valid",t),i.isPotentiallyValid&&this.hideFieldError(e.emittedBy),this._sendRequestableEvent(),this.model._emit("card:validityChange",e)},h.prototype.requestPaymentMethod=function(){return this.preventUserAction(),this.tokenize()},h.prototype.onSelection=function(){this.hostedFieldsInstance&&(setTimeout((function(){this.hasCardholderName?this.hostedFieldsInstance.focus("cardholderName"):this.hostedFieldsInstance.focus("number")}).bind(this),50),this._sendRequestableEvent())},h.prototype._hideUnsupportedCardIcons=function(){var e=this.client.getConfiguration().gatewayConfiguration.creditCards.supportedCardTypes;Object.keys(a.configurationCardTypes).forEach((function(t){var i,r=a.configurationCardTypes[t];-1===e.indexOf(r)&&(i=this.getElementById(t+"-card-icon"),o.add(i,"braintree-hidden"))}).bind(this))},h.prototype._isCardTypeSupported=function(e){var t=a.configurationCardTypes[e];return -1!==this.client.getConfiguration().gatewayConfiguration.creditCards.supportedCardTypes.indexOf(t)},h.isEnabled=function(e){var t=e.client.getConfiguration().gatewayConfiguration,i=!1===e.merchantConfiguration.card;return p.resolve(!i&&t.creditCards.supportedCardTypes.length>0)},h.prototype._shouldApplyFieldEmptyError=function(e,t){var i;return!!t.isEmpty&&("cardholderName"!==e||!!this.cardholderNameRequired)&&(i=document.activeElement&&document.activeElement.id,document.activeElement instanceof HTMLIFrameElement&&-1!==i.indexOf("braintree-hosted-field"))},t.exports=h},{"../../constants":191,"../../lib/assign":197,"../../lib/dropin-error":201,"../../lib/is-utf-8":205,"../../lib/promise":208,"../../lib/transition-helper":212,"../base-view":249,"@braintree/class-list":39,"braintree-web/hosted-fields":85}],258:[function(e,t,r){(function(i){(function(){"use strict";var r=e("../../lib/assign").assign,n=e("../base-view"),o=e("braintree-web/google-payment"),a=e("../../lib/dropin-error"),s=e("../../constants"),l=e("@braintree/asset-loader"),d=e("../../lib/promise"),c=e("../../lib/analytics");function p(){n.apply(this,arguments)}function u(e){return new i.google.payments.api.PaymentsClient({environment:"production"===e.getConfiguration().gatewayConfiguration.environment?"PRODUCTION":"TEST"})}p.prototype=Object.create(n.prototype),p.prototype.constructor=p,p.ID=p.prototype.ID=s.paymentOptionIDs.googlePay,p.prototype.initialize=function(){var e,t,i,n=this;return n.googlePayConfiguration=r({},n.model.merchantConfiguration.googlePay),t=n.googlePayConfiguration.googlePayVersion,i=n.googlePayConfiguration.merchantId,e=r({buttonType:"short"},n.googlePayConfiguration.button,{onClick:function(e){e.preventDefault(),n.preventUserAction(),n.tokenize().then(function(){n.allowUserAction()})}}),delete n.googlePayConfiguration.googlePayVersion,delete n.googlePayConfiguration.merchantId,delete n.googlePayConfiguration.button,o.create({client:n.client,googlePayVersion:t,googleMerchantId:i}).then(function(e){n.googlePayInstance=e,n.paymentsClient=u(n.client)}).then(function(){n.getElementById("google-pay-button").appendChild(n.paymentsClient.createButton(e)),n.model.asyncDependencyReady(p.ID)}).catch(function(e){n.model.asyncDependencyFailed({view:n.ID,error:new a(e)})})},p.prototype.tokenize=function(){var e,t=this,i=t.googlePayInstance.createPaymentDataRequest(t.googlePayConfiguration);return t.paymentsClient.loadPaymentData(i).then(function(i){return e=i,t.googlePayInstance.parseResponse(i)}).then(function(i){i.rawPaymentData=e,t.model.addPaymentMethod(i)}).catch(function(e){var i=e;if("DEVELOPER_ERROR"===e.statusCode)console.error(e),i="developerError";else if("CANCELED"===e.statusCode){c.sendEvent(t.client,"googlepay.loadPaymentData.canceled");return}else e.statusCode&&c.sendEvent(t.client,"googlepay.loadPaymentData.failed");t.model.reportError(i)})},p.prototype.updateConfiguration=function(e,t){this.googlePayConfiguration[e]=t},p.isEnabled=function(e){return e.client.getConfiguration().gatewayConfiguration.androidPay&&e.merchantConfiguration.googlePay?d.resolve().then(function(){return i.google&&i.google.payments&&i.google.payments.api&&i.google.payments.api.PaymentsClient?d.resolve():l.loadScript({id:s.GOOGLE_PAYMENT_SCRIPT_ID,src:s.GOOGLE_PAYMENT_SOURCE})}).then(function(){return u(e.client).isReadyToPay({allowedPaymentMethods:["CARD","TOKENIZED_CARD"]})}).then(function(e){return!!e.result}):d.resolve(!1)},t.exports=p}).call(this)}).call(this,void 0!==i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../constants":191,"../../lib/analytics":196,"../../lib/assign":197,"../../lib/dropin-error":201,"../../lib/promise":208,"../base-view":249,"@braintree/asset-loader":1,"braintree-web/google-payment":78}],259:[function(e,t,i){"use strict";var r=e("../../constants").paymentOptionIDs,n={};n[r.applePay]=e("./apple-pay-view"),n[r.card]=e("./card-view"),n[r.googlePay]=e("./google-pay-view"),n[r.paypal]=e("./paypal-view"),n[r.paypalCredit]=e("./paypal-credit-view"),n[r.venmo]=e("./venmo-view"),t.exp
1orts=n},{"../../constants":191,"./apple-pay-view":255,"./card-view":257,"./google-pay-view":258,"./paypal-credit-view":260,"./paypal-view":261,"./venmo-view":262}],260:[function(e,t,i){"use strict";var r=e("../../lib/assign").assign,n=e("../../lib/promise"),o=e("../../constants").paymentOptionIDs,a=e("./base-paypal-view");function s(){a.apply(this,arguments),this._isPayPalCredit=!0}s.prototype=Object.create(a.prototype),s.prototype.constructor=s,s.ID=s.prototype.ID=o.paypalCredit,s.isEnabled=function(e){return e.merchantConfiguration.paypalCredit?a.isEnabled(r({viewID:s.ID},e)):n.resolve(!1)},t.exports=s},{"../../constants":191,"../../lib/assign":197,"../../lib/promise":208,"./base-paypal-view":256}],261:[function(e,t,i){"use strict";var r=e("../../lib/assign").assign,n=e("../../lib/promise"),o=e("../../constants").paymentOptionIDs,a=e("./base-paypal-view");function s(){a.apply(this,arguments)}s.prototype=Object.create(a.prototype),s.prototype.constructor=s,s.ID=s.prototype.ID=o.paypal,s.isEnabled=function(e){return e.merchantConfiguration.paypal?a.isEnabled(r({viewID:s.ID},e)):n.resolve(!1)},t.exports=s},{"../../constants":191,"../../lib/assign":197,"../../lib/promise":208,"./base-paypal-view":256}],262:[function(e,t,i){"use strict";var r=e("../../lib/assign").assign,n=e("../base-view"),o=e("braintree-web/venmo"),a=e("../../lib/dropin-error"),s=e("../../lib/promise"),l=e("../../constants").paymentOptionIDs;function d(){n.apply(this,arguments)}d.prototype=Object.create(n.prototype),d.prototype.constructor=d,d.ID=d.prototype.ID=l.venmo,d.prototype.initialize=function(){var e=this,t=r({},e.model.merchantConfiguration.venmo,{client:this.client});return o.create(t).then(function(t){return(e.venmoInstance=t,e.venmoInstance.hasTokenizationResult())?e.venmoInstance.tokenize().then(function(t){e.model.reportAppSwitchPayload(t)}).catch(function(t){e._isIgnorableError(t)||e.model.reportAppSwitchError(l.venmo,t)}):s.resolve()}).then(function(){e.getElementById("venmo-button").addEventListener("click",function(t){return t.preventDefault(),e.preventUserAction(),e.venmoInstance.tokenize().then(function(t){e.model.addPaymentMethod(t)}).catch(function(t){e._isIgnorableError(t)||e.model.reportError(t)}).then(function(){e.allowUserAction()})}),e.model.asyncDependencyReady(d.ID)}).catch(function(t){e.model.asyncDependencyFailed({view:e.ID,error:new a(t)})})},d.prototype._isIgnorableError=function(e){return"VENMO_APP_CANCELED"===e.code||"VENMO_DESKTOP_CANCELED"===e.code},d.isEnabled=function(e){return e.client.getConfiguration().gatewayConfiguration.payWithVenmo&&e.merchantConfiguration.venmo?s.resolve(o.isBrowserSupported(e.merchantConfiguration.venmo)):s.resolve(!1)},t.exports=d},{"../../constants":191,"../../lib/assign":197,"../../lib/dropin-error":201,"../../lib/promise":208,"../base-view":249,"braintree-web/venmo":157}]},{},[194])(194)},e.exports=r()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.