1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00
Files
web/scripts/dropin.js
github-actions[bot] e8f8294924 Staging deploy 2022.05.0 (#1718)
Co-authored-by: = <=>
2022-05-31 22:18:39 -04:00

1 line
471 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;((t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).braintree||(t.braintree={})).dropin=e()}}((function(){return function e(t,r,i){function n(a,s){if(!r[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var d=new Error("Cannot find module '"+a+"'");throw d.code="MODULE_NOT_FOUND",d}var c=r[a]={exports:{}};t[a][0].call(c.exports,(function(e){return n(t[a][1][e]||e)}),c,c.exports,e,t,r,i)}return r[a].exports}for(var o="function"==typeof require&&require,a=0;a<i.length;a++)n(i[a]);return n}({1:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.loadStylesheet=r.loadScript=void 0;var i=e("./load-script");r.loadScript=i;var n=e("./load-stylesheet");r.loadStylesheet=n},{"./load-script":3,"./load-stylesheet":4}],2:[function(e,t,r){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.PromiseGlobal=void 0;var n=i(e("promise-polyfill")),o="undefined"!=typeof Promise?Promise:n.default;r.PromiseGlobal=o},{"promise-polyfill":187}],3:[function(e,t,r){"use strict";var i=e("./lib/promise"),n={};function o(e){var t,r=JSON.stringify(e);if(!e.forceScriptReload&&(t=n[r]))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 i.PromiseGlobal((function(t,r){o.addEventListener("load",(function(){t(o)})),o.addEventListener("error",(function(){r(new Error(e.src+" failed to load."))})),o.addEventListener("abort",(function(){r(new Error(e.src+" has aborted."))})),s.appendChild(o)})),n[r]=t,t}o.clearCache=function(){n={}},t.exports=o},{"./lib/promise":2}],4:[function(e,t,r){"use strict";var i=e("./lib/promise");t.exports=function(e){var t=document.querySelector('link[href="'+e.href+'"]');if(t)return i.PromiseGlobal.resolve(t);t=document.createElement("link");var r=e.container||document.head;return t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t.setAttribute("href",e.href),t.setAttribute("id",e.id),r.firstChild?r.insertBefore(t,r.firstChild):r.appendChild(t),i.PromiseGlobal.resolve(t)}},{"./lib/promise":2}],5:[function(e,t,r){t.exports=e("./dist/load-script")},{"./dist/load-script":3}],6:[function(e,t,r){"use strict";t.exports=function(e){return e=e||window.navigator.userAgent,/Android/.test(e)}},{}],7:[function(e,t,r){"use strict";t.exports=function(e){return e=e||window.navigator.userAgent,/CrOS/i.test(e)}},{}],8:[function(e,t,r){"use strict";var i=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")||i(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,r){"use strict";t.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("DuckDuckGo/")}},{}],10:[function(e,t,r){"use strict";t.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("Edge/")}},{}],11:[function(e,t,r){"use strict";t.exports=function(e){return e=e||window.navigator.userAgent,/Firefox/i.test(e)}},{}],12:[function(e,t,r){"use strict";var i=e("./is-ie11");t.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("MSIE")||i(e)}},{"./is-ie11":14}],13:[function(e,t,r){"use strict";t.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("MSIE 10")}},{}],14:[function(e,t,r){"use strict";t.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("Trident/7")}},{}],15:[function(e,t,r){"use strict";t.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("MSIE 9")}},{}],16:[function(e,t,r){"use strict";t.exports=function(e){return e=e||window.navigator.userAgent,/FxiOS/i.test(e)}},{}],17:[function(e,t,r){"use strict";var i=e("./is-ios");t.exports=function(e){return e=e||window.navigator.userAgent,i(e)&&function(e){return/\bGSA\b/.test(e)}(e)}},{"./is-ios":21}],18:[function(e,t,r){"use strict";var i=e("./is-ios"),n=e("./is-ios-firefox"),o=/webkit/i;t.exports=function(e){return e=e||window.navigator.userAgent,i(e)&&function(e){return o.test(e)}(e)&&!function(e){return e.indexOf("CriOS")>-1}(e)&&!n(e)&&!function(e){return e.indexOf("FBAN")>-1}(e)}},{"./is-ios":21,"./is-ios-firefox":16}],19:[function(e,t,r){"use strict";var i=e("./is-ios"),n=e("./is-ios-google-search-app");t.exports=function(e){return e=e||window.navigator.userAgent,!!i(e)&&(!!n(e)||/.+AppleWebKit(?!.*Safari)/.test(e))}},{"./is-ios":21,"./is-ios-google-search-app":17}],20:[function(e,t,r){"use strict";var i=e("./is-ios-webview");t.exports=function(e,t){return t=void 0!==t?t:window.statusbar.visible,i(e)&&t}},{"./is-ios-webview":19}],21:[function(e,t,r){"use strict";t.exports=function(e){return e=e||window.navigator.userAgent,/iPhone|iPod|iPad/i.test(e)}},{}],22:[function(e,t,r){"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,r){"use strict";t.exports=function(e){return e=e||window.navigator.userAgent,/SamsungBrowser/i.test(e)}},{}],24:[function(e,t,r){"use strict";t.exports=function(e){return-1!==(e=e||window.navigator.userAgent).indexOf("Silk/")}},{}],25:[function(e,t,r){"use strict";var i=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){return e=e||window.navigator.userAgent,!(o(e)||n(e)||function(e){return e=e||window.navigator.userAgent,!!i(e)&&/Version\/[\d.]+/.test(e)&&!d(e)&&!l(e)}(e)||d(e)||function(e){var t=(e=e||window.navigator.userAgent).match(/CriOS\/(\d+)\./);return!!t&&parseInt(t[1],10)<48}(e)||function(e){return!a(e)&&!s(e)&&/samsung/i.test(e)}(e))}},{"./is-android":6,"./is-chrome":8,"./is-duckduckgo":9,"./is-ios-firefox":16,"./is-ios-webview":19,"./is-samsung":23}],26:[function(e,t,r){t.exports=e("./dist/is-android")},{"./dist/is-android":6}],27:[function(e,t,r){t.exports=e("./dist/is-chrome-os")},{"./dist/is-chrome-os":7}],28:[function(e,t,r){t.exports=e("./dist/is-chrome")},{"./dist/is-chrome":8}],29:[function(e,t,r){t.exports=e("./dist/is-edge")},{"./dist/is-edge":10}],30:[function(e,t,r){t.exports=e("./dist/is-firefox")},{"./dist/is-firefox":11}],31:[function(e,t,r){t.exports=e("./dist/is-ie")},{"./dist/is-ie":12}],32:[function(e,t,r){t.exports=e("./dist/is-ie10")},{"./dist/is-ie10":13}],33:[function(e,t,r){t.exports=e("./dist/is-ie9")},{"./dist/is-ie9":15}],34:[function(e,t,r){t.exports=e("./dist/is-ios-safari")},{"./dist/is-ios-safari":18}],35:[function(e,t,r){t.exports=e("./dist/is-ios-webview")},{"./dist/is-ios-webview":19}],36:[function(e,t,r){t.exports=e("./dist/is-ios-wkwebview")},{"./dist/is-ios-wkwebview":20}],37:[function(e,t,r){t.exports=e("./dist/is-ios")},{"./dist/is-ios":21}],38:[function(e,t,r){t.exports=e("./dist/is-samsung")},{"./dist/is-samsung":23}],39:[function(e,t,r){t.exports=e("./dist/supports-popups")},{"./dist/supports-popups":25}],40:[function(e,t,r){"use strict";function i(e){return e.className.trim().split(/\s+/)}function n(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e.className=i(e).filter((function(e){return-1===t.indexOf(e)})).concat(t).join(" ")}function o(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e.className=i(e).filter((function(e){return-1===t.indexOf(e)})).join(" ")}Object.defineProperty(r,"__esModule",{value:!0}),r.toggle=r.remove=r.add=void 0,r.add=n,r.remove=o,r.toggle=function(e,t,r){r?n(e,t):o(e,t)}},{}],41:[function(e,t,r){"use strict";var i=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 r=this._events[e];if(r){var i=r.indexOf(t);r.splice(i,1)}},e.prototype._emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var i=this._events[e];i&&i.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=i},{}],42:[function(e,t,r){"use strict";var i="undefined"!=typeof Promise?Promise:null,n=function(){function e(t){var r=this;"function"!=typeof t?(this._promise=new e.Promise((function(e,t){r._resolveFunction=e,r._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()):this._promise=new e.Promise(t)}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")?Boolean(t.suppressUnhandledPromiseMessage):Boolean(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=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return(e=this._promise).then.apply(e,t)},e.prototype.catch=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return(e=this._promise).catch.apply(e,t)},e.prototype.resolve=function(t){var r=this;return this.isFulfilled||(this._setResolved(),e.Promise.resolve().then((function(){return r._onResolve(t)})).then((function(e){r._resolveFunction(e)})).catch((function(e){r._resetState(),r.reject(e)}))),this},e.prototype.reject=function(t){var r=this;return this.isFulfilled||(this._setRejected(),e.Promise.resolve().then((function(){return r._onReject(t)})).then((function(e){r._setResolved(),r._resolveFunction(e)})).catch((function(e){return r._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=i,e}();t.exports=n},{}],43:[function(e,t,r){"use strict";var i=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"),r=o.assign({},n.defaultAttributes,e);return r.style&&"string"!=typeof r.style&&(o.assign(t.style,r.style),delete r.style),i.setAttributes(t,r),t.getAttribute("id")||(t.id=t.name),t}},{"./lib/assign":44,"./lib/default-attributes":45,"./lib/set-attributes":46}],44:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.assign=void 0,r.assign=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.forEach((function(t){"object"==typeof t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}},{}],45:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.defaultAttributes=void 0,r.defaultAttributes={src:"about:blank",frameBorder:0,allowtransparency:!0,scrolling:"no"}},{}],46:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.setAttributes=void 0,r.setAttributes=function(e,t){for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];null==i?e.removeAttribute(r):e.setAttribute(r,i)}}},{}],47:[function(e,t,r){"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)}))}},{}],48:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.deferred=function(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];setTimeout((function(){try{e.apply(void 0,t)}catch(r){console.log("Error in callback function"),console.log(r)}}),1)}}},{}],49:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.once=function(e){var t=!1;return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];t||(t=!0,e.apply(void 0,r))}}},{}],50:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.promiseOrCallback=function(e,t){if(!t)return e;e.then((function(e){return t(null,e)})).catch((function(e){return t(e)}))}},{}],51:[function(e,t,r){"use strict";var i=e("./lib/deferred"),n=e("./lib/once"),o=e("./lib/promise-or-callback");function a(e){return function(){for(var t,r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];var s=r[r.length-1];return"function"==typeof s&&(t=r.pop(),t=n.once(i.deferred(t))),o.promiseOrCallback(e.apply(this,r),t)}}a.wrapPrototype=function(e,t){void 0===t&&(t={});var r=t.ignoreMethods||[],i=!0===t.transformPrivateMethods;return Object.getOwnPropertyNames(e.prototype).filter((function(t){var n,o="constructor"!==t&&"function"==typeof e.prototype[t],a=-1===r.indexOf(t);return n=!!i||"_"!==t.charAt(0),o&&n&&a})).forEach((function(t){var r=e.prototype[t];e.prototype[t]=a(r)})),e},t.exports=a},{"./lib/deferred":48,"./lib/once":49,"./lib/promise-or-callback":50}],52:[function(e,t,r){"use strict";var i=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=Boolean(!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,r={countryCode:t.countryCode,currencyCode:t.currencyCode,merchantCapabilities:t.merchantCapabilities||["supports3DS"],supportedNetworks:t.supportedNetworks.map((function(e){return"mastercard"===e?"masterCard":e}))};return Object.assign({},r,e)},c.prototype.performValidation=function(e){var t=this;return e&&e.validationURL?this._waitForClient().then((function(){var r={validationUrl:e.validationURL,domainName:e.domainName||window.location.hostname,merchantIdentifier:e.merchantIdentifier||t.merchantIdentifier};return null!=e.displayName&&(r.displayName=e.displayName),t._client.request({method:"post",endpoint:"apple_pay_web/sessions",data:{_meta:{source:"apple-pay"},applePayWebSession:r}})})).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 i({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 i({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 i(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 i({type:o.APPLE_PAY_TOKENIZATION.type,code:o.APPLE_PAY_TOKENIZATION.code,message:o.APPLE_PAY_TOKENIZATION.message,details:{originalError:e}}))})):a.reject(new i(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":94,"../lib/braintree-error":99,"../lib/convert-methods-to-error":101,"../lib/methods":129,"../lib/promise":131,"./errors":53,"@braintree/wrap-promise":51}],53:[function(e,t,r){"use strict";var i=e("../lib/braintree-error");t.exports={APPLE_PAY_NOT_ENABLED:{type:i.types.MERCHANT,code:"APPLE_PAY_NOT_ENABLED",message:"Apple Pay is not enabled for this merchant."},APPLE_PAY_VALIDATION_URL_REQUIRED:{type:i.types.MERCHANT,code:"APPLE_PAY_VALIDATION_URL_REQUIRED",message:"performValidation must be called with a validationURL."},APPLE_PAY_MERCHANT_VALIDATION_NETWORK:{type:i.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:i.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:i.types.MERCHANT,code:"APPLE_PAY_PAYMENT_TOKEN_REQUIRED",message:"tokenize must be called with a payment token."},APPLE_PAY_TOKENIZATION:{type:i.types.NETWORK,code:"APPLE_PAY_TOKENIZATION",message:"A network error occurred when processing the Apple Pay payment."}}},{"../lib/braintree-error":99}],54:[function(e,t,r){"use strict";var i=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 r,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,r=new i(e),e.useDeferredClient?r:a.then((function(e){return r._client=e,r}))}))})),VERSION:"3.85.3"}},{"../lib/analytics":94,"../lib/basic-component-verification":97,"../lib/braintree-error":99,"../lib/create-assets-url":103,"../lib/create-deferred-client":105,"../lib/promise":131,"./apple-pay":52,"./errors":53,"@braintree/wrap-promise":51}],55:[function(e,t,r){"use strict";var i=e("@braintree/browser-detection/is-ie"),n=e("@braintree/browser-detection/is-ie9");t.exports={isIe:i,isIe9:n}},{"@braintree/browser-detection/is-ie":31,"@braintree/browser-detection/is-ie9":33}],56:[function(e,t,r){"use strict";var i=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").FRAUDNET_FNCLS,A=e("../lib/constants").FRAUDNET_SOURCE,I=e("../lib/constants").FRAUDNET_URL,D={};function N(e){var t,r;if(e=e||{},t=JSON.stringify(e),!(r=e.gatewayConfiguration))throw new s(v.CLIENT_MISSING_GATEWAY_CONFIGURATION);["assetsUrl","clientApiUrl","configUrl"].forEach((function(e){if(e in r&&!a(r[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=r.clientApiUrl+"/v1/",r.graphQL&&(this._graphQL=new n({graphQL:r.graphQL}))}N.initialize=function(e){var t,r,i=D[e.authorization];if(i)return E.sendEvent(i,"custom.client.load.cached"),i;try{r=c(e.authorization)}catch(n){return u.reject(new s(v.CLIENT_INVALID_AUTHORIZATION))}return i=d(r).then((function(r){return e.debug&&(r.isDebug=!0),r.authorization=e.authorization,t=new N(r)})),D[e.authorization]=i,E.sendEvent(i,"custom.client.load.initialized"),i.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,r,i,n,o=document.querySelector('script[fncls="'+T+'"]');o||((o=document.body.appendChild(document.createElement("script"))).type="application/json",o.setAttribute("fncls",T)),t=this.getConfiguration(),r={rda_tenant:"bt_card",mid:t.gatewayConfiguration.merchantId},(i=t.authorizationFingerprint)&&i.split("&").forEach((function(e){var t=e.split("=");"customer_id"===t[0]&&t.length>1&&(r.cid=t[1])})),n={f:e.substr(0,32),fp:r,bu:!1,s:A},o.text=JSON.stringify(n)},N.prototype.request=function(e,t){var r=this,n=new u((function(t,n){var o,a,d,c,u,h=Boolean("payment_methods/credit_cards"===e.endpoint&&r.getConfiguration().gatewayConfiguration.creditCards.collectDeviceData);if("graphQLApi"!==e.api&&(e.method?e.endpoint||(o="options.endpoint"):o="options.method"),o)throw new s({type:v.CLIENT_OPTION_REQUIRED.type,code:v.CLIENT_OPTION_REQUIRED.code,message:o+" is required when making a request."});if(a="api"in e?e.api:"clientApi",c={method:e.method,graphQL:r._graphQL,timeout:e.timeout,metadata:r._configuration.analyticsMetadata},"clientApi"===a)d=r._clientApiBaseUrl,c.data=p(r._configuration,e.data);else{if("graphQLApi"!==a)throw new s({type:v.CLIENT_OPTION_INVALID.type,code:v.CLIENT_OPTION_INVALID.code,message:"options.api is invalid."});d=g[r._configuration.gatewayConfiguration.environment],e.endpoint="",c.method="post",c.data=f({clientSdkMetadata:{platform:r._configuration.analyticsMetadata.platform,source:r._configuration.analyticsMetadata.source,integration:r._configuration.analyticsMetadata.integration,sessionId:r._configuration.analyticsMetadata.sessionId,version:_}},e.data),c.headers={Authorization:"Bearer "+((u=r._configuration).authorizationFingerprint||u.authorization),"Braintree-Version":i}}c.url=d+e.endpoint,c.sendAnalyticsEvent=function(e){E.sendEvent(r,e)},r._request(c,(function(e,i,o){var d,c;c=function(e,t){var r;-1===e?r=new s(v.CLIENT_REQUEST_TIMEOUT):401===e?r=new s(v.CLIENT_AUTHORIZATION_INVALID):403===e?r=new s(v.CLIENT_AUTHORIZATION_INSUFFICIENT):429===e?r=new s(v.CLIENT_RATE_LIMITED):e>=500?r=new s(v.CLIENT_GATEWAY_NETWORK):(e<200||e>=400)&&(r=l(t,{type:v.CLIENT_REQUEST_ERROR.type,code:v.CLIENT_REQUEST_ERROR.code,message:v.CLIENT_REQUEST_ERROR.message}));if(r)return r.details=r.details||{},r.details.httpStatus=e,r}(o,e),c?n(c):"graphQLApi"===a&&i.errors?n(l(i.errors,{type:v.CLIENT_GRAPHQL_REQUEST_ERROR.type,code:v.CLIENT_GRAPHQL_REQUEST_ERROR.code,message:v.CLIENT_GRAPHQL_REQUEST_ERROR.message})):(d=f({_httpStatus:o},i),h&&d.creditCards&&d.creditCards.length>0&&(r._findOrCreateFraudnetJSON(d.creditCards[0].nonce),C.loadScript({src:I,forceScriptReload:!0})),t(d))}))}));return"function"==typeof t?(t=m(y(t)),void n.then((function(e){t(null,e,e._httpStatus)})).catch((function(e){var r=e&&e.details&&e.details.httpStatus;t(e,null,r)}))):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":93,"../lib/analytics":94,"../lib/assets":95,"../lib/assign":96,"../lib/braintree-error":99,"../lib/constants":100,"../lib/convert-methods-to-error":101,"../lib/convert-to-braintree-error":102,"../lib/create-authorization-data":104,"../lib/deferred":106,"../lib/is-verified-domain":127,"../lib/methods":129,"../lib/once":130,"../lib/promise":131,"./constants":57,"./errors":58,"./get-configuration":59,"./request":71,"./request/graphql":69,"@braintree/wrap-promise":51}],57:[function(e,t,r){"use strict";t.exports={BRAINTREE_VERSION:"2018-05-10"}},{}],58:[function(e,t,r){"use strict";var i=e("../lib/braintree-error");t.exports={CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN:{type:i.types.MERCHANT,code:"CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN"},CLIENT_OPTION_REQUIRED:{type:i.types.MERCHANT,code:"CLIENT_OPTION_REQUIRED"},CLIENT_OPTION_INVALID:{type:i.types.MERCHANT,code:"CLIENT_OPTION_INVALID"},CLIENT_MISSING_GATEWAY_CONFIGURATION:{type:i.types.INTERNAL,code:"CLIENT_MISSING_GATEWAY_CONFIGURATION",message:"Missing gatewayConfiguration."},CLIENT_INVALID_AUTHORIZATION:{type:i.types.MERCHANT,code:"CLIENT_INVALID_AUTHORIZATION",message:"Authorization is invalid. Make sure your client token or tokenization key is valid."},CLIENT_GATEWAY_NETWORK:{type:i.types.NETWORK,code:"CLIENT_GATEWAY_NETWORK",message:"Cannot contact the gateway at this time."},CLIENT_REQUEST_TIMEOUT:{type:i.types.NETWORK,code:"CLIENT_REQUEST_TIMEOUT",message:"Request timed out waiting for a reply."},CLIENT_REQUEST_ERROR:{type:i.types.NETWORK,code:"CLIENT_REQUEST_ERROR",message:"There was a problem with your request."},CLIENT_GRAPHQL_REQUEST_ERROR:{type:i.types.NETWORK,code:"CLIENT_GRAPHQL_REQUEST_ERROR",message:"There was a problem with your request."},CLIENT_RATE_LIMITED:{type:i.types.MERCHANT,code:"CLIENT_RATE_LIMITED",message:"You are being rate-limited; please try again in a few minutes."},CLIENT_AUTHORIZATION_INSUFFICIENT:{type:i.types.MERCHANT,code:"CLIENT_AUTHORIZATION_INSUFFICIENT",message:"The authorization used has insufficient privileges."},CLIENT_AUTHORIZATION_INVALID:{type:i.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":99}],59:[function(e,t,r){"use strict";var i=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,r){var n,o,m,y,f=s(),E={merchantAppId:window.location.host,platform:l.PLATFORM,sdkVersion:l.VERSION,source:l.SOURCE,integration:l.INTEGRATION,integrationType:l.INTEGRATION,sessionId:f};o=e.attrs,m=e.configUrl,o._meta=E,o.braintreeLibraryVersion=l.BRAINTREE_LIBRARY_VERSION,o.configVersion="3",y={url:m,method:"GET",data:o},o.authorizationFingerprint&&e.graphQL?(u(e.graphQL.date,h)&&(y.graphQL=new c({graphQL:{url:e.graphQL.url,features:["configuration"]}})),y.metadata=E):o.tokenizationKey&&(y.graphQL=new c({graphQL:{url:p[e.environment],features:["configuration"]}}),y.metadata=E),a(y,(function(e,a,s){var l;if(e)return l=403===s?d.CLIENT_AUTHORIZATION_INSUFFICIENT:401===s?d.CLIENT_AUTHORIZATION_INVALID:d.CLIENT_GATEWAY_NETWORK,void r(new i({type:l.type,code:l.code,message:l.message,details:{originalError:e}}));n={authorizationType:o.tokenizationKey?"TOKENIZATION_KEY":"CLIENT_TOKEN",authorizationFingerprint:o.authorizationFingerprint,analyticsMetadata:E,gatewayConfiguration:a},t(n)}))}))}))}},{"../lib/braintree-error":99,"../lib/constants":100,"../lib/is-date-string-before-or-on":125,"../lib/promise":131,"./constants":57,"./errors":58,"./request":71,"./request/graphql":69,"@braintree/uuid":47,"@braintree/wrap-promise":51}],60:[function(e,t,r){"use strict";var i=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 i({type:s.INSTANTIATION_OPTION_REQUIRED.type,code:s.INSTANTIATION_OPTION_REQUIRED.code,message:"options.authorization is required when instantiating a client."}))})),VERSION:"3.85.3"}},{"../lib/braintree-error":99,"../lib/errors":109,"../lib/promise":131,"./client":56,"@braintree/wrap-promise":51}],61:[function(e,t,r){"use strict";var i=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");function p(e,t,r){var u,h,m,y,f,E,v,_=e.url,g=e.graphQL,b=e.timeout,P=s.getRequestObject(),C=r,T=Boolean(g&&g.isGraphQLRequest(_,e.data));e.headers=n({"Content-Type":"application/json"},e.headers),_=(m=T?new d(e):new c(e)).getUrl(),y=m.getBody(),f=m.getMethod(),E=m.getHeaders(),"GET"===f&&(_=i.queryify(_,y),y=null),l?P.onreadystatechange=function(){if(4===P.readyState){if(0===P.status&&T)return delete e.graphQL,void p(e,t,r);if(v=a(P.responseText),h=m.adaptResponseBody(v),(u=m.determineStatus(P.status,v))>=400||u<200){if(T&&function(e){var t=!e.data&&e.errors&&e.errors[0]&&e.errors[0].extensions&&e.errors[0].extensions.errorClass;return"UNKNOWN"===t||"INTERNAL"===t}(v))return delete e.graphQL,void p(e,t,r);if(t<1&&function(e){return!e||408===e}(u))return t++,void p(e,t,r);C(h||"error",null,u||500)}else C(null,h,u)}}:(e.headers&&(_=i.queryify(_,E)),P.onload=function(){C(null,a(P.responseText),P.status)},P.onerror=function(){C("error",null,500)},P.onprogress=function(){},P.ontimeout=function(){C("timeout",null,-1)});try{P.open(f,_,!0)}catch(A){if(!T)throw A;return delete e.graphQL,void p(e,t,r)}P.timeout=b,l&&Object.keys(E).forEach((function(e){P.setRequestHeader(e,E[e])}));try{P.send(o(f,y))}catch(I){}}t.exports={request:function(e,t){p(e,0,t)}}},{"../../lib/assign":96,"../../lib/querystring":132,"./default-request":62,"./graphql/request":70,"./parse-body":74,"./prep-body":75,"./xhr":76}],62:[function(e,t,r){"use strict";function i(e){this._url=e.url,this._data=e.data,this._method=e.method,this._headers=e.headers}i.prototype.getUrl=function(){return this._url},i.prototype.getBody=function(){return this._data},i.prototype.getMethod=function(){return this._method},i.prototype.getHeaders=function(){return this._headers},i.prototype.adaptResponseBody=function(e){return e},i.prototype.determineStatus=function(e){return e},t.exports=i},{}],63:[function(e,t,r){"use strict";t.exports=function(){return window.navigator.userAgent}},{}],64:[function(e,t,r){"use strict";var i=e("./error"),n=e("../../../../lib/assign").assign,o={AMERICAN_EXPRESS:"American Express",DISCOVER:"Discover",INTERNATIONAL_MAESTRO:"Maestro",JCB:"JCB",MASTERCARD:"MasterCard",SOLO:"Solo",UK_MAESTRO:"UK Maestro",UNION_PAY:"UnionPay",VISA:"Visa",ELO:"Elo",HIPER:"Hiper",HIPERCARD:"Hipercard"},a={VISA:"visa",MASTERCARD:"mastercard",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",INTERNATIONAL_MAESTRO:"maestro",ELO:"elo"},s={VISA:"Visa",MASTERCARD:"MasterCard",DISCOVER:"Discover",AMERICAN_EXPRESS:"American Express"},l={VISA:"visa",MASTERCARD:"mastercard",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",INTERNATIONAL_MAESTRO:"maestro",ELO:"elo"},d={VISA:"visa",MASTERCARD:"master",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",DINERS:"diners",INTERNATIONAL_MAESTRO:"maestro",JCB:"jcb"};function c(e,t){return e.reduce((function(e,r){return t.hasOwnProperty(r)?e.concat(t[r]):e}),[])}t.exports=function(e,t){var r;return r=e.data&&!e.errors?function(e,t){var r,i=e.data.clientConfiguration;r={environment:i.environment.toLowerCase(),clientApiUrl:i.clientApiUrl,assetsUrl:i.assetsUrl,analytics:{url:i.analyticsUrl},merchantId:i.merchantId,venmo:"off"},i.supportedFeatures&&(r.graphQL={url:t._graphQL._config.url,features:i.supportedFeatures.map((function(e){return e.toLowerCase()}))});i.braintreeApi&&(r.braintreeApi=i.braintreeApi);i.applePayWeb&&(r.applePayWeb=i.applePayWeb,r.applePayWeb.supportedNetworks=c(i.applePayWeb.supportedCardBrands,a),delete r.applePayWeb.supportedCardBrands);i.ideal&&(r.ideal=i.ideal);i.kount&&(r.kount={kountMerchantId:i.kount.merchantId});i.creditCard?(r.challenges=i.creditCard.challenges.map((function(e){return e.toLowerCase()})),r.creditCards={supportedCardTypes:c(i.creditCard.supportedCardBrands,o)},r.threeDSecureEnabled=i.creditCard.threeDSecureEnabled,r.threeDSecure=i.creditCard.threeDSecure):(r.challenges=[],r.creditCards={supportedCardTypes:[]},r.threeDSecureEnabled=!1);i.googlePay&&(r.androidPay={displayName:i.googlePay.displayName,enabled:!0,environment:i.googlePay.environment.toLowerCase(),googleAuthorizationFingerprint:i.googlePay.googleAuthorization,paypalClientId:i.googlePay.paypalClientId,supportedNetworks:c(i.googlePay.supportedCardBrands,l)});i.venmo&&(r.payWithVenmo={merchantId:i.venmo.merchantId,accessToken:i.venmo.accessToken,environment:i.venmo.environment.toLowerCase()});i.paypal?(r.paypalEnabled=!0,r.paypal=n({},i.paypal),r.paypal.currencyIsoCode=r.paypal.currencyCode,r.paypal.environment=r.paypal.environment.toLowerCase(),delete r.paypal.currencyCode):r.paypalEnabled=!1;i.unionPay&&(r.unionPay={enabled:!0,merchantAccountId:i.unionPay.merchantAccountId});i.visaCheckout&&(r.visaCheckout={apikey:i.visaCheckout.apiKey,encryptionKey:i.visaCheckout.encryptionKey,externalClientId:i.visaCheckout.externalClientId,supportedCardTypes:c(i.visaCheckout.supportedCardBrands,s)});i.masterpass&&(r.masterpass={merchantCheckoutId:i.masterpass.merchantCheckoutId,supportedNetworks:c(i.masterpass.supportedCardBrands,d)});i.usBankAccount&&(r.usBankAccount={routeId:i.usBankAccount.routeId,plaid:{publicKey:i.usBankAccount.plaidPublicKey}});return r}(e,t):i(e),r}},{"../../../../lib/assign":96,"./error":66}],65:[function(e,t,r){"use strict";var i=e("./error"),n={AMERICAN_EXPRESS:"American Express",DINERS:"Discover",DISCOVER:"Discover",ELO:"Elo",HIPER:"Hiper",HIPERCARD:"Hipercard",INTERNATIONAL_MAESTRO:"Maestro",JCB:"JCB",MASTERCARD:"MasterCard",UK_MAESTRO:"Maestro",UNION_PAY:"UnionPay",VISA:"Visa"},o={YES:"Yes",NO:"No",UNKNOWN:"Unknown"},a={PSDTWO:"psd2"};t.exports=function(e){return e.data&&!e.errors?function(e){var t,r,i=e.data.tokenizeCreditCard,s=i.creditCard,l=s.last4?s.last4.substr(2,4):"",d=s.binData;d&&(["commercial","debit","durbinRegulated","healthcare","payroll","prepaid"].forEach((function(e){d[e]?d[e]=o[d[e]]:d[e]="Unknown"})),["issuingBank","countryOfIssuance","productId"].forEach((function(e){d[e]||(d[e]="Unknown")})));t={creditCards:[{binData:d,consumed:!1,description:l?"ending in "+l:"",nonce:i.token,details:{cardholderName:s.cardholderName,expirationMonth:s.expirationMonth,expirationYear:s.expirationYear,bin:s.bin||"",cardType:n[s.brandCode]||"Unknown",lastFour:s.last4||"",lastTwo:l},type:"CreditCard",threeDSecureInfo:null}]},i.authenticationInsight&&(r=i.authenticationInsight.customerAuthenticationRegulationEnvironment,t.creditCards[0].authenticationInsight={regulationEnvironment:a[r]||r.toLowerCase()});return t}(e):i(e)}},{"./error":66}],66:[function(e,t,r){"use strict";function i(e,t,r){var n,o=t.extensions.legacyCode,a=e[0];1!==e.length?(r.forEach((function(e){e.field===a&&(n=e)})),n||(n={field:a,fieldErrors:[]},r.push(n)),i(e.slice(1),t,n.fieldErrors)):r.push({code:o,field:a,message:t.message})}function n(e){return{creditCard:"Credit card is invalid"}[e[0].field]}t.exports=function(e){var t,r=e.errors&&e.errors[0]&&e.errors[0].extensions&&e.errors[0].extensions.errorClass;return t="VALIDATION"===r?function(e){var t=function(e){var t=[];return e.forEach((function(e){e.extensions&&e.extensions.inputPath&&i(e.extensions.inputPath.slice(1),e,t)})),t}(e.errors);if(0===t.length)return{error:{message:e.errors[0].message}};return{error:{message:n(t)},fieldErrors:t}}(e):r?function(e){return{error:{message:e.errors[0].message},fieldErrors:[]}}(e):{error:{message:"There was a problem serving your request"},fieldErrors:[]},t}},{}],67:[function(e,t,r){"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"}}},{}],68:[function(e,t,r){"use strict";var i=e("../../../../lib/assign").assign;function n(e,t){var r=e.creditCard,n=r&&r.billingAddress,o=r&&r.expirationDate,a=r&&(r.expirationMonth||o&&o.split("/")[0].trim()),s=r&&(r.expirationYear||o&&o.split("/")[1].trim()),l={input:{creditCard:{number:r&&r.number,expirationMonth:a,expirationYear:s,cvv:r&&r.cvv,cardholderName:r&&r.cardholderName},options:{}}};return t.hasAuthenticationInsight&&(l.authenticationInsightInput={merchantAccountId:e.merchantAccountId}),n&&(l.input.creditCard.billingAddress=n),l.input=function(e,t){var r;e.creditCard&&e.creditCard.options&&"boolean"==typeof e.creditCard.options.validate?r=e.creditCard.options.validate:e.authorizationFingerprint&&e.tokenizationKey||e.authorizationFingerprint?r=!0:e.tokenizationKey&&(r=!1);"boolean"==typeof r&&(t.options=i({validate:r},t.options));return t}(e,l.input),l}t.exports=function(e){var t,r,i,o={hasAuthenticationInsight:Boolean(e.authenticationInsight&&e.merchantAccountId)};return{query:(t=o,r=t.hasAuthenticationInsight,i="mutation TokenizeCreditCard($input: TokenizeCreditCardInput!",r&&(i+=", $authenticationInsightInput: AuthenticationInsightInput!"),i+=") { tokenizeCreditCard(input: $input) { token creditCard { bin brandCode last4 cardholderName expirationMonth expirationYear binData { prepaid healthcare debit durbinRegulated commercial payroll issuingBank countryOfIssuance productId } } ",r&&(i+=" authenticationInsight(input: $authenticationInsightInput) { customerAuthenticationRegulationEnvironment }"),i+=" } }"),variables:n(e,o),operationName:"TokenizeCreditCard"}}},{"../../../../lib/assign":96}],69:[function(e,t,r){"use strict";var i=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 r,a=this.getClientApiPath(e);return!(!this._isGraphQLEnabled()||!a||i.isIe9())&&(r=this._config.features.some((function(e){return n[e]===a})),!function(e){return o.some((function(t){return void 0!==t.split(".").reduce((function(e,t){return e&&e[t]}),e)}))}(t)&&r)},a.prototype.getClientApiPath=function(e){var t,r=e.split("/client_api/v1/");return r.length>1&&(t=r[1].split("?")[0]),t},a.prototype._isGraphQLEnabled=function(){return Boolean(this._config)},t.exports=a},{"../../browser-detection":55}],70:[function(e,t,r){"use strict";var i=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")}function u(e){var t={};return Object.keys(e).forEach((function(r){var i,n=-1===(i=r).indexOf("_")?i:i.toLowerCase().replace(/(\_\w)/g,(function(e){return e[1].toUpperCase()}));"object"==typeof e[r]?t[n]=u(e[r]):"number"==typeof e[r]?t[n]=String(e[r]):t[n]=e[r]})),t}p.prototype.getUrl=function(){return this._graphQL.getGraphQLEndpoint()},p.prototype.getBody=function(){var e=u(this._data),t=this._generator(e),r=n({clientSdkMetadata:this._clientSdkMetadata},t);return JSON.stringify(r)},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":i},n({},this._headers,t)},p.prototype.adaptResponseBody=function(e){return this._adapter(e,this)},p.prototype.determineStatus=function(e,t){var r,i;return 200===e?(i=t.errors&&t.errors[0]&&t.errors[0].extensions&&t.errors[0].extensions.errorClass,r=t.data&&!t.errors?200:"VALIDATION"===i?422:"AUTHORIZATION"===i?403:"AUTHENTICATION"===i?401:function(e,t){return!e&&t.errors[0].message}(i,t)?403:500):r=e||500,this._sendAnalyticsEvent("graphql.status."+e),this._sendAnalyticsEvent("graphql.determinedStatus."+r),r},t.exports=p},{"../../../lib/assign":96,"../../constants":57,"./adapters/configuration":64,"./adapters/credit-card-tokenization":65,"./generators/configuration":67,"./generators/credit-card-tokenization":68}],71:[function(e,t,r){"use strict";var i,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==i&&(i=!(l()&&/MSIE\s(8|9)/.test(s()))),i?a.request(e,t):o.request(e,t)}},{"../../lib/once":130,"./ajax-driver":61,"./get-user-agent":63,"./is-http":72,"./jsonp-driver":73}],72:[function(e,t,r){"use strict";t.exports=function(){return"http:"===window.location.protocol}},{}],73:[function(e,t,r){"use strict";var i,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 r,l="callback_json_"+n().replace(/-/g,""),d=e.url,c=e.data,p=e.method,u=e.timeout;d=o.queryify(d,c),r=function(e,t){var r=document.createElement("script"),i=!1;return r.src=e,r.async=!0,r.onerror=function(){window[t]({message:"error",status:500})},r.onload=r.onreadystatechange=function(){i||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(i=!0,r.onload=r.onreadystatechange=null)},r}(d=o.queryify(d,{_method:p,callback:l}),l),function(e,t,r){window[r]=function(i){var n=i.status||500,o=null,l=null;delete i.status,n>=400||n<200?o=i:l=i,s(r),function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}(e),clearTimeout(a[r]),t(o,l,n)}}(r,t,l),function(e,t){a[t]=setTimeout((function(){a[t]=null,window[t]({error:"timeout",status:-1}),window[t]=function(){s(t)}}),e)}(u,l),i||(i=document.getElementsByTagName("head")[0]),i.appendChild(r)}}},{"../../lib/querystring":132,"@braintree/uuid":47}],74:[function(e,t,r){"use strict";t.exports=function(e){try{e=JSON.parse(e)}catch(t){}return e}},{}],75:[function(e,t,r){"use strict";t.exports=function(e,t){if("string"!=typeof e)throw new Error("Method must be a string");return"get"!==e.toLowerCase()&&null!=t&&(t="string"==typeof t?t:JSON.stringify(t)),t}},{}],76:[function(e,t,r){"use strict";var i="undefined"!=typeof window&&window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest;t.exports={isAvailable:i,getRequestObject:function(){return i?new window.XMLHttpRequest:new window.XDomainRequest}}},{}],77:[function(e,t,r){"use strict";var i=e("../lib/braintree-error");t.exports={GOOGLE_PAYMENT_NOT_ENABLED:{type:i.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:i.types.UNKNOWN},GOOGLE_PAYMENT_UNSUPPORTED_VERSION:{code:"GOOGLE_PAYMENT_UNSUPPORTED_VERSION",type:i.types.MERCHANT}}},{"../lib/braintree-error":99}],78:[function(e,t,r){"use strict";var i=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(),r=e.cardRequirements&&e.cardRequirements.allowedCardNetworks,i=t.cardRequirements.allowedCardNetworks,o=r||i;return(e=n({},t,e)).cardRequirements.allowedCardNetworks=o,e},m.prototype._createV2PaymentDataRequest=function(e){var t=this._getDefaultConfig();return e.allowedPaymentMethods&&e.allowedPaymentMethods.forEach((function(e){var r=a(t.allowedPaymentMethods,"type",e.type);r&&function(e,t){Object.keys(t).forEach((function(r){"object"==typeof t[r]?e[r]=n({},t[r],e[r]):e[r]=e[r]||t[r]}))}(e,r)})),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),r=this._googlePayVersion,o=h[r];return i.sendEvent(this._createPromise,"google-payment.v"+r+".createPaymentDataRequest"),this[o](t)},m.prototype.parseResponse=function(e){var t=this;return p.resolve().then((function(){var r,n=2===e.apiVersion?e.paymentMethodData.tokenizationData.token:e.paymentMethodToken.token,o=JSON.parse(n),a=o.error;return a?p.reject(a):(i.sendEvent(t._createPromise,"google-payment.parseResponse.succeeded"),o.paypalAccounts?(r=o.paypalAccounts[0],i.sendEvent(t._createPromise,"google-payment.parseResponse.succeeded.paypal"),p.resolve({nonce:r.nonce,type:r.type,description:r.description})):(r=o.androidPayCards[0],i.sendEvent(t._createPromise,"google-payment.parseResponse.succeeded.google-payment"),p.resolve({nonce:r.nonce,type:r.type,description:r.description,details:{cardType:r.details.cardType,lastFour:r.details.lastFour,lastTwo:r.details.lastTwo,isNetworkTokenized:r.details.isNetworkTokenized,bin:r.details.bin},binData:r.binData})))})).catch((function(e){return i.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":94,"../lib/assign":96,"../lib/braintree-error":99,"../lib/convert-methods-to-error":101,"../lib/find":111,"../lib/generate-google-pay-configuration":123,"../lib/methods":129,"../lib/promise":131,"./errors":77,"@braintree/wrap-promise":51}],79:[function(e,t,r){"use strict";var i=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 r,l;return r=s.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:t}).then((function(t){var r=t.getConfiguration();return e.client=t,r.gatewayConfiguration.androidPay?t:o.reject(new n(c.GOOGLE_PAYMENT_NOT_ENABLED))})),e.createPromise=r,l=new i(e),e.useDeferredClient?l:r.then((function(e){return l._client=e,l}))}))})),VERSION:"3.85.3"}},{"../lib/basic-component-verification":97,"../lib/braintree-error":99,"../lib/create-assets-url":103,"../lib/create-deferred-client":105,"../lib/promise":131,"./errors":77,"./google-payment":78,"@braintree/wrap-promise":51}],80:[function(e,t,r){"use strict";var i=e("../../lib/braintree-error"),n=e("../shared/errors"),o=e("../shared/constants").allowedAttributes;t.exports=function(e,t){var r;return o.hasOwnProperty(e)?null==t||function(e,t){if("string"===o[e])return"string"==typeof t||"number"==typeof t;if("boolean"===o[e])return"true"===String(t)||"false"===String(t);return!1}(e,t)||(r=new i({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.'})):r=new i({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.'}),r}},{"../../lib/braintree-error":99,"../shared/constants":88,"../shared/errors":89}],81:[function(e,t,r){"use strict";var i=e("../shared/constants"),n=e("../../lib/use-min");t.exports=function(e,t,r){return e+"/web/"+i.VERSION+"/html/hosted-fields-frame"+n(r)+".html#"+t}},{"../../lib/use-min":134,"../shared/constants":88}],82:[function(e,t,r){"use strict";var i=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&&l.indexOf(e.type)<0:"hidden"!==e.type}function c(e){var t,r;for(t=0;t<e.length;t++)if(d(r=e[t]))return r;return null}t.exports={removeExtraFocusElements:function(e,t){var r=Array.prototype.slice.call(e.elements);[c(r),c(r.reverse())].forEach((function(e){e&&o.matchFocusElement(e.getAttribute("id"))&&t(e.getAttribute("id"))}))},createFocusChangeHandler:function(e,t){return function(r){var n,s,l,c,p=document.getElementById("bt-"+r.field+"-"+r.direction+"-"+e);if(p)if(l=a(p,"form")[0],document.forms.length<1||!l)t.onRemoveFocusIntercepts();else{n=(l=[].slice.call(l.elements)).indexOf(p),c=function(e,t){switch(e){case i.BACK:return{checkIndexBounds:function(e){return e<0},indexChange:-1};case i.FORWARD:return{checkIndexBounds:function(e){return e>t-1},indexChange:1}}return{}}(r.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":87,"../shared/constants":88,"../shared/find-parent-tags":90,"../shared/focus-intercept":91}],83:[function(e,t,r){"use strict";var i=e("../shared/constants").allowedStyles;t.exports=function(e){var t,r=document.createElement("input"),n={};return"."===e[0]&&(e=e.substring(1)),r.className=e,r.style.display="none !important",r.style.position="fixed !important",r.style.left="-99999px !important",r.style.top="-99999px !important",document.body.appendChild(r),t=window.getComputedStyle(r),i.forEach((function(e){var r=t[e];r&&(n[e]=r)})),document.body.removeChild(r),n}},{"../shared/constants":88}],84:[function(e,t,r){"use strict";var i=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,r,v,T,D,F=this,S={},V={},z=[],x=E();if(this._merchantConfigurationOptions=i({},e),e.client?(v=(r=e.client.getConfiguration()).gatewayConfiguration.assetsUrl,T=r.isDebug):(v=n.create(e.authorization),T=Boolean(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).forEach(function(t){var r,i,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(i=(r=e.fields[t]).container||r.selector)&&(i=document.querySelector(i)),!i||1!==i.nodeType)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:r.selector,fieldContainer:r.container,fieldKey:t}});if(i.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:r.selector,fieldContainer:r.container,fieldKey:t}});if(n=i,I.isShadowElement(n)&&(n=I.transformToSlot(n,"height: 100%")),r.maxlength&&"number"!=typeof r.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(r.minlength&&"number"!=typeof r.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:r.iframeTitle||"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,i),S[t]={frameElement:o,containerElement:i},a=new M((function(e){V[t]=e})),z.push(a),this._state.fields[t]={isEmpty:!0,isValid:!1,isPotentiallyValid:!0,isFocused:!1,container:i},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 r,n,o=e[0];clearTimeout(t),o((r=F._merchantConfigurationOptions,(n=i({},r)).fields=i({},n.fields),Object.keys(n.fields).forEach((function(e){n.fields[e]=i({},n.fields[e]),delete n.fields[e].container})),n)),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){return function(t){var r,i=t.merchantPayload,n=i.emittedBy,o=e[n].containerElement;Object.keys(i.fields).forEach((function(t){i.fields[t].container=e[t].containerElement})),r=i.fields[n],s.toggle(o,m.externalClasses.FOCUSED,r.isFocused),s.toggle(o,m.externalClasses.VALID,r.isValid),s.toggle(o,m.externalClasses.INVALID,!r.isPotentiallyValid),this._state={cards:i.cards,fields:i.fields},this._emit(t.type,i)}}(S).bind(this)),this._destructor.registerFunctionForTeardown((function(){var e,t,r;for(e=0;e<F._injectedNodes.length;e++)(r=(t=F._injectedNodes[e]).parentNode).removeChild(t),s.remove(r,m.externalClasses.FOCUSED,m.externalClasses.INVALID,m.externalClasses.VALID)})),this._destructor.registerFunctionForTeardown((function(){k()})),this._destructor.registerFunctionForTeardown((function(){var e=A(R.prototype).concat(A(b.prototype));N(F,e)}))}b.createChild(R),R.prototype._setupLabelFocus=function(e,t){var r,i,n=this,o=D(t);if(null!=t.id){for(r=Array.prototype.slice.call(document.querySelectorAll('label[for="'+t.id+'"]')),o!==document&&(r=r.concat(Array.prototype.slice.call(o.querySelectorAll('label[for="'+t.id+'"]')))),r=(r=r.concat(v(t,"label"))).filter((function(e,t,r){return r.indexOf(e)===t})),i=0;i<r.length;i++)r[i].addEventListener("click",a,!1);this._destructor.registerFunctionForTeardown((function(){for(i=0;i<r.length;i++)r[i].removeEventListener("click",a,!1)}))}function a(){n.focus(e)}},R.prototype._getAnyFieldContainer=function(){var e=this;return Object.keys(this._fields).reduce((function(t,r){return t||e._fields[r].containerElement}),null)},R.prototype._cleanUpFocusIntercepts=function(){var e,t;document.forms.length<1?this._bus.emit(g.REMOVE_FOCUS_INTERCEPTS):(e=this._getAnyFieldContainer(),(t=v(e,"form")[0])?L.removeExtraFocusElements(t,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,r){e._destructor.teardown((function(i){C.sendEvent(e._clientPromise,"custom.hosted-fields.teardown-completed"),i?r(i):t()}))}))},R.prototype.tokenize=function(e){var t=this;return e||(e={}),new M((function(r,i){t._bus.emit(g.TOKENIZATION_REQUEST,e,(function(e){var n=e[0],o=e[1];n?(t._attachInvalidFieldContainersToError(n),i(new p(n))):r(o)}))}))},R.prototype.addClass=function(e,t){var r;return T.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?this._bus.emit(g.ADD_CLASS,{field:e,classname:t}):r=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.'}):r=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.'}),r?M.reject(r):M.resolve()},R.prototype.removeClass=function(e,t){var r;return T.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?this._bus.emit(g.REMOVE_CLASS,{field:e,classname:t}):r=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.'}):r=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.'}),r?M.reject(r):M.resolve()},R.prototype.setAttribute=function(e){var t,r;return T.hasOwnProperty(e.field)?this._fields.hasOwnProperty(e.field)?(t=F(e.attribute,e.value))?r=t:this._bus.emit(g.SET_ATTRIBUTE,{field:e.field,attribute:e.attribute,value:e.value}):r=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.'}):r=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.'}),r?M.reject(r):M.resolve()},R.prototype.setMonthOptions=function(e){var t,r=this,i=this._merchantConfigurationOptions.fields;return i.expirationMonth?i.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){r._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,r;return T.hasOwnProperty(e.field)?this._fields.hasOwnProperty(e.field)?(t=F(e.attribute))?r=t:this._bus.emit(g.REMOVE_ATTRIBUTE,{field:e.field,attribute:e.attribute}):r=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.'}):r=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.'}),r?M.reject(r):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()},R.prototype.focus=function(e){var t,r=this._fields[e];return T.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?(r.frameElement.focus(),this._bus.emit(g.TRIGGER_INPUT_FOCUS,{field:e}),_.isIos()&&setTimeout((function(){var e,t,i,n;e=r.containerElement,t=e.getBoundingClientRect(),i=Math.floor(t.height/2),n=Math.floor(t.width/2),t.top<(window.innerHeight-i||document.documentElement.clientHeight-i)&&t.right>n&&t.bottom>i&&t.left<(window.innerWidth-n||document.documentElement.clientWidth-n)||r.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":94,"../../lib/assign":96,"../../lib/braintree-error":99,"../../lib/constants":100,"../../lib/convert-methods-to-error":101,"../../lib/create-assets-url":103,"../../lib/create-deferred-client":105,"../../lib/destructor":107,"../../lib/errors":109,"../../lib/find-root-node":110,"../../lib/is-verified-domain":127,"../../lib/methods":129,"../../lib/promise":131,"../../lib/shadow":133,"../shared/browser-detection":87,"../shared/constants":88,"../shared/errors":89,"../shared/find-parent-tags":90,"../shared/focus-intercept":91,"../shared/get-card-types":92,"./attribute-validation-error":80,"./compose-url":81,"./focus-change":82,"./get-styles-from-class":83,"./inject-frame":85,"@braintree/class-list":40,"@braintree/event-emitter":41,"@braintree/iframer":43,"@braintree/uuid":47,"@braintree/wrap-promise":51,framebus:173}],85:[function(e,t,r){"use strict";var i=e("../shared/focus-intercept"),n=e("../shared/constants").navigationDirections;t.exports=function(e,t,r,o){var a=t.getAttribute("type"),s=document.createElement("div"),l=document.createDocumentFragment(),d=i.generate(e,a,n.BACK,o),c=i.generate(e,a,n.FORWARD,o);return s.style.clear="both",l.appendChild(d),l.appendChild(t),l.appendChild(c),l.appendChild(s),r.appendChild(l),[t,s]}},{"../shared/constants":88,"../shared/focus-intercept":91}],86:[function(e,t,r){"use strict";var i=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 i(e);return new d((function(e,r){t.on("ready",(function(){e(t)})),t.on("timeout",(function(){r(new l(o.HOSTED_FIELDS_TIMEOUT))}))}))}))})),VERSION:"3.85.3"}},{"../lib/basic-component-verification":97,"../lib/braintree-error":99,"../lib/promise":131,"./external/hosted-fields":84,"./shared/errors":89,"@braintree/wrap-promise":51,"restricted-input/supports-input-formatting":190}],87:[function(e,t,r){"use strict";var i=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:i,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 i()||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}],88:[function(e,t,r){"use strict";var i=e("../../lib/enumerate"),n=e("./errors"),o={VERSION:"3.85.3",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=i(["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.exports=o},{"../../lib/enumerate":108,"./errors":89}],89:[function(e,t,r){"use strict";var i=e("../../lib/braintree-error");t.exports={HOSTED_FIELDS_TIMEOUT:{type:i.types.UNKNOWN,code:"HOSTED_FIELDS_TIMEOUT",message:"Hosted Fields timed out when attempting to set up."},HOSTED_FIELDS_INVALID_FIELD_KEY:{type:i.types.MERCHANT,code:"HOSTED_FIELDS_INVALID_FIELD_KEY"},HOSTED_FIELDS_INVALID_FIELD_SELECTOR:{type:i.types.MERCHANT,code:"HOSTED_FIELDS_INVALID_FIELD_SELECTOR",message:"Selector does not reference a valid DOM node."},HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME:{type:i.types.MERCHANT,code:"HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME",message:"Element already contains a Braintree iframe."},HOSTED_FIELDS_FIELD_INVALID:{type:i.types.MERCHANT,code:"HOSTED_FIELDS_FIELD_INVALID"},HOSTED_FIELDS_FIELD_NOT_PRESENT:{type:i.types.MERCHANT,code:"HOSTED_FIELDS_FIELD_NOT_PRESENT"},HOSTED_FIELDS_TOKENIZATION_NETWORK_ERROR:{type:i.types.NETWORK,code:"HOSTED_FIELDS_TOKENIZATION_NETWORK_ERROR",message:"A tokenization network error occurred."},HOSTED_FIELDS_TOKENIZATION_FAIL_ON_DUPLICATE:{type:i.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:i.types.CUSTOMER,code:"HOSTED_FIELDS_TOKENIZATION_CVV_VERIFICATION_FAILED",message:"CVV verification failed during tokenization."},HOSTED_FIELDS_FAILED_TOKENIZATION:{type:i.types.CUSTOMER,code:"HOSTED_FIELDS_FAILED_TOKENIZATION",message:"The supplied card data failed tokenization."},HOSTED_FIELDS_FIELDS_EMPTY:{type:i.types.CUSTOMER,code:"HOSTED_FIELDS_FIELDS_EMPTY",message:"All fields are empty. Cannot tokenize empty card fields."},HOSTED_FIELDS_FIELDS_INVALID:{type:i.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:i.types.MERCHANT,code:"HOSTED_FIELDS_ATTRIBUTE_NOT_SUPPORTED"},HOSTED_FIELDS_ATTRIBUTE_VALUE_NOT_ALLOWED:{type:i.types.MERCHANT,code:"HOSTED_FIELDS_ATTRIBUTE_VALUE_NOT_ALLOWED"},HOSTED_FIELDS_FIELD_PROPERTY_INVALID:{type:i.types.MERCHANT,code:"HOSTED_FIELDS_FIELD_PROPERTY_INVALID"}}},{"../../lib/braintree-error":99}],90:[function(e,t,r){"use strict";t.exports=function(e,t){for(var r=e.parentNode,i=[];null!=r;)null!=r.tagName&&r.tagName.toLowerCase()===t&&i.push(r),r=r.parentNode;return i}},{}],91:[function(e,t,r){"use strict";var i=e("./browser-detection"),n=e("@braintree/class-list"),o=e("./constants"),a=Object.keys(o.allowedFields),s=o.navigationDirections,l={generate:function(e,t,r,o){var a=document.createElement("input");return i.hasSoftwareKeyboard()||i.isFirefox()||i.isIE()?(a.setAttribute("aria-hidden","true"),a.setAttribute("autocomplete","off"),a.setAttribute("data-braintree-direction",r),a.setAttribute("data-braintree-type",t),a.setAttribute("id","bt-"+t+"-"+r+"-"+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),i.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,r,i,n;return!!e&&(!((t=e.split("-")).length<4)&&(r="bt"===t[0],i=a.indexOf(t[1])>-1,n=t[2]===s.BACK||t[2]===s.FORWARD,Boolean(r&&i&&n)))}};t.exports=l},{"./browser-detection":87,"./constants":88,"@braintree/class-list":40}],92:[function(e,t,r){"use strict";var i=e("credit-card-type");t.exports=function(e){var t=i(e);return t.forEach((function(e){"mastercard"===e.type&&(e.type="master-card")})),t}},{"credit-card-type":165}],93:[function(e,t,r){"use strict";var i=e("./create-authorization-data"),n=e("./json-clone"),o=e("./constants");t.exports=function(e,t){var r,a=t?n(t):{},s=i(e.authorization).attrs,l=n(e.analyticsMetadata);for(r in a.braintreeLibraryVersion=o.BRAINTREE_LIBRARY_VERSION,a._meta)a._meta.hasOwnProperty(r)&&(l[r]=a._meta[r]);return a._meta=l,s.tokenizationKey?a.tokenizationKey=s.tokenizationKey:a.authorizationFingerprint=s.authorizationFingerprint,a}},{"./constants":100,"./create-authorization-data":104,"./json-clone":128}],94:[function(e,t,r){"use strict";var i=e("./promise"),n=e("./constants"),o=e("./add-metadata");t.exports={sendEvent:function(e,t,r){var a=Date.now();return i.resolve(e).then((function(e){var i=Date.now(),s=e.getConfiguration(),l=e._request,d=s.gatewayConfiguration.analytics.url,c={analytics:[{kind:n.ANALYTICS_PREFIX+t,isAsync:Math.floor(i/1e3)!==Math.floor(a/1e3),timestamp:a}]};l({url:d,method:"post",data:o(s,c),timeout:n.ANALYTICS_REQUEST_TIMEOUT_MS},r)})).catch((function(e){r&&r(e)}))}}},{"./add-metadata":93,"./constants":100,"./promise":131}],95:[function(e,t,r){"use strict";var i=e("@braintree/asset-loader/load-script");t.exports={loadScript:i}},{"@braintree/asset-loader/load-script":5}],96:[function(e,t,r){"use strict";var i="function"==typeof Object.assign?Object.assign:n;function n(e){var t,r,i;for(t=1;t<arguments.length;t++)for(i in r=arguments[t])r.hasOwnProperty(i)&&(e[i]=r[i]);return e}t.exports={assign:i,_assign:n}},{}],97:[function(e,t,r){"use strict";var i=e("./braintree-error"),n=e("./promise"),o=e("./errors"),a="3.85.3";t.exports={verify:function(e){var t,r,s;return e?(s=e.name,t=e.client,r=e.authorization,t||r?r||t.getVersion()===a?n.resolve():n.reject(new i({type:o.INCOMPATIBLE_VERSIONS.type,code:o.INCOMPATIBLE_VERSIONS.code,message:"Client (version "+t.getVersion()+") and "+s+" (version "+"3.85.3) components must be from the same SDK version."})):n.reject(new i({type:o.INSTANTIATION_OPTION_REQUIRED.type,code:o.INSTANTIATION_OPTION_REQUIRED.code,message:"options.client is required when instantiating "+s+"."}))):n.reject(new i({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":99,"./errors":109,"./promise":131}],98:[function(e,t,r){"use strict";var i=e("./once");function n(e,t){0===e.length?(e(),t(null)):e(t)}t.exports=function(e,t){var r,o=e.length,a=o,s=i(t);if(0!==o)for(r=0;r<o;r++)n(e[r],l);else s(null);function l(e){e?s(e):0===(a-=1)&&s(null)}}},{"./once":130}],99:[function(e,t,r){"use strict";var i=e("./enumerate");function n(e){if(!n.types.hasOwnProperty(e.type))throw new Error(e.type+" is not a valid type.");if(!e.code)throw new Error("Error code required.");if(!e.message)throw new 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=i(["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":108}],100:[function(e,t,r){"use strict";var i="3.85.3",n="web";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:i,INTEGRATION:"custom",SOURCE:"client",PLATFORM:n,BRAINTREE_LIBRARY_VERSION:"braintree/web/3.85.3"}},{}],101:[function(e,t,r){"use strict";var i=e("./braintree-error"),n=e("./errors");t.exports=function(e,t){t.forEach((function(t){e[t]=function(){throw new i({type:n.METHOD_CALLED_AFTER_TEARDOWN.type,code:n.METHOD_CALLED_AFTER_TEARDOWN.code,message:t+" cannot be called after teardown."})}}))}},{"./braintree-error":99,"./errors":109}],102:[function(e,t,r){"use strict";var i=e("./braintree-error");t.exports=function(e,t){return e instanceof i?e:new i({type:t.type,code:t.code,message:t.message,details:{originalError:e}})}},{"./braintree-error":99}],103:[function(e,t,r){"use strict";var i=e("./constants").ASSETS_URLS;t.exports={create:function(e){return i.production}}},{"./constants":100}],104:[function(e,t,r){"use strict";var i=e("../lib/vendor/polyfill").atob,n=e("../lib/constants").CLIENT_API_URLS;t.exports=function(e){var t,r,o,a,s={attrs:{},configUrl:""};return/^[a-zA-Z0-9]+_[a-zA-Z0-9]+_[a-zA-Z0-9_]+$/.test(e)?(o=e.split("_"),a=o[0],r={merchantId:o.slice(2).join("_"),environment:a},s.environment=r.environment,s.attrs.tokenizationKey=e,s.configUrl=n[r.environment]+"/merchants/"+r.merchantId+"/client_api/v1/configuration"):(t=JSON.parse(i(e)),s.environment=t.environment,s.attrs.authorizationFingerprint=t.authorizationFingerprint,s.configUrl=t.configUrl,s.graphQL=t.graphQL),s}},{"../lib/constants":100,"../lib/vendor/polyfill":135}],105:[function(e,t,r){"use strict";var i=e("./braintree-error"),n=e("./promise"),o=e("./assets"),a=e("./errors"),s="3.85.3";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/"+"3.85.3/js/client.min.js"}).catch((function(e){return n.reject(new i({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 i({type:a.INCOMPATIBLE_VERSIONS.type,code:a.INCOMPATIBLE_VERSIONS.code,message:"Client (version "+window.braintree.client.VERSION+") and "+e.name+" (version "+"3.85.3) components must be from the same SDK version."})):window.braintree.client.create({authorization:e.authorization,debug:e.debug})})))}}},{"./assets":95,"./braintree-error":99,"./errors":109,"./promise":131}],106:[function(e,t,r){"use strict";t.exports=function(e){return function(){var t=arguments;setTimeout((function(){e.apply(null,t)}),1)}}},{}],107:[function(e,t,r){"use strict";var i=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){this._isTearingDown?e(new Error("Destructor is already tearing down")):(this._isTearingDown=!0,i(this._teardownRegistry,function(t){this._teardownRegistry=[],this._isTearingDown=!1,"function"==typeof e&&e(t)}.bind(this)))},t.exports=n},{"./batch-execute-functions":98}],108:[function(e,t,r){"use strict";t.exports=function(e,t){return t=null==t?"":t,e.reduce((function(e,r){return e[r]=t+r,e}),{})}},{}],109:[function(e,t,r){"use strict";var i=e("./braintree-error");t.exports={INVALID_USE_OF_INTERNAL_FUNCTION:{type:i.types.INTERNAL,code:"INVALID_USE_OF_INTERNAL_FUNCTION"},INSTANTIATION_OPTION_REQUIRED:{type:i.types.MERCHANT,code:"INSTANTIATION_OPTION_REQUIRED"},INCOMPATIBLE_VERSIONS:{type:i.types.MERCHANT,code:"INCOMPATIBLE_VERSIONS"},CLIENT_SCRIPT_FAILED_TO_LOAD:{type:i.types.NETWORK,code:"CLIENT_SCRIPT_FAILED_TO_LOAD",message:"Braintree client script could not be loaded."},METHOD_CALLED_AFTER_TEARDOWN:{type:i.types.MERCHANT,code:"METHOD_CALLED_AFTER_TEARDOWN"}}},{"./braintree-error":99}],110:[function(e,t,r){"use strict";t.exports=function(e){for(;e.parentNode;)e=e.parentNode;return e}},{}],111:[function(e,t,r){"use strict";t.exports=function(e,t,r){var i;for(i=0;i<e.length;i++)if(e[i].hasOwnProperty(t)&&e[i][t]===r)return e[i];return null}},{}],112:[function(e,t,r){"use strict";var i=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 new Error("Valid configuration is required");if(E.forEach((function(t){if(!e.hasOwnProperty(t))throw new Error("A valid frame "+t+" must be provided")})),!/^[\w_]+$/.test(e.name))throw new 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())return this._cleanupFrame(),void(t&&t(h.isIE()&&!m.isHTTPS()?new u(l.FRAME_SERVICE_FRAME_OPEN_FAILED_IE_BUG):new u(l.FRAME_SERVICE_FRAME_OPEN_FAILED)));this._pollForPopupClose()}},_.prototype.redirect=function(e){this._frame&&!this.isFrameClosed()&&this._frame.redirect(e)},_.prototype.close=function(){this.isFrameClosed()||this._frame.close()},_.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(),r=Boolean(window.popupBridge),a=y({},this._options,e);return r?new n(a):t?new i(a):new o(a)},t.exports=_},{"../../braintree-error":99,"../../constants":100,"../../is-https":126,"../shared/browser-detection":119,"../shared/constants":120,"../shared/errors":121,"../shared/events":122,"./../../assign":96,"./strategies/modal":114,"./strategies/popup":117,"./strategies/popup-bridge":115,"@braintree/iframer":43,"@braintree/uuid":47,framebus:173}],113:[function(e,t,r){"use strict";var i=e("./frame-service");t.exports={create:function(e,t){var r=new i(e);r.initialize((function(){t(r)}))}}},{"./frame-service":112}],114:[function(e,t,r){"use strict";var i=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=i(e),this._el.appendChild(this._frame)):this._el=this._frame=i(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 Boolean(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":96,"../../shared/browser-detection":119,"@braintree/iframer":43}],115:[function(e,t,r){"use strict";var i=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(r,o){var a=!o&&!r;t._closed=!0,r||a?e(new i(n.FRAME_SERVICE_FRAME_CLOSED)):e(null,o)}},a.prototype.open=function(e){var t;t=(e=e||{}).openFrameUrl||this._options.openFrameUrl,this._closed=!1,window.popupBridge.open(t)},a.prototype.focus=o,a.prototype.close=o,a.prototype.isClosed=function(){return Boolean(this._closed)},a.prototype.redirect=function(e){this.open({openFrameUrl:e})},t.exports=a},{"../../../braintree-error":99,"../../shared/errors":121}],116:[function(e,t,r){"use strict";var i=e("../../../shared/constants"),n=e("./position");function o(e,t,r){return void 0!==t?t:n[e](r)}t.exports=function(e){var t=e.height||i.DEFAULT_POPUP_HEIGHT,r=e.width||i.DEFAULT_POPUP_WIDTH,n=o("top",e.top,t),a=o("left",e.left,r);return[i.POPUP_BASE_OPTIONS,"height="+t,"width="+r,"top="+n,"left="+a].join(",")}},{"../../../shared/constants":120,"./position":118}],117:[function(e,t,r){"use strict";var i=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,i(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||Boolean(this._frame.closed)},n.prototype.redirect=function(e){this._frame.location.href=e},t.exports=n},{"./compose-options":116}],118:[function(e,t,r){"use strict";function i(e,t,r){return(e-t)/2+r}t.exports={top:function(e){return i(window.outerHeight||document.documentElement.clientHeight,e,null==window.screenY?window.screenTop:window.screenY)},left:function(e){return i(window.outerWidth||document.documentElement.clientWidth,e,null==window.screenX?window.screenLeft:window.screenX)},center:i}},{}],119:[function(e,t,r){"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":39}],120:[function(e,t,r){"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}},{}],121:[function(e,t,r){"use strict";var i=e("../../braintree-error");t.exports={FRAME_SERVICE_FRAME_CLOSED:{type:i.types.INTERNAL,code:"FRAME_SERVICE_FRAME_CLOSED",message:"Frame closed before tokenization could occur."},FRAME_SERVICE_FRAME_OPEN_FAILED:{type:i.types.INTERNAL,code:"FRAME_SERVICE_FRAME_OPEN_FAILED",message:"Frame failed to open."},FRAME_SERVICE_FRAME_OPEN_FAILED_IE_BUG:{type:i.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":99}],122:[function(e,t,r){"use strict";var i=e("../../enumerate");t.exports=i(["DISPATCH_FRAME_READY","DISPATCH_FRAME_REPORT"],"frameService:")},{"../../enumerate":108}],123:[function(e,t,r){"use strict";var i="3.85.3",n=e("./assign").assign;function o(e,t){var r=e.analyticsMetadata,o={gateway:"braintree","braintree:merchantId":e.gatewayConfiguration.merchantId,"braintree:apiVersion":"v1","braintree:sdkVersion":i,"braintree:metadata":JSON.stringify({source:r.source,integration:r.integration,sessionId:r.sessionId,version:i,platform:r.platform})};return n({},o,t)}t.exports=function(e,t,r){var i,n,a=e.gatewayConfiguration.androidPay,s="production"===e.gatewayConfiguration.environment?"PRODUCTION":"TEST";return 2===t?(i={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})}}]},r&&(i.merchantInfo={merchantId:r}),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})}},i.allowedPaymentMethods.push(n))):(i={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&&(i.paymentMethodTokenizationParameters.parameters["braintree:clientKey"]=e.authorization),r&&(i.merchantId=r),t&&(i.apiVersion=t)),i}},{"./assign":96}],124:[function(e,t,r){"use strict";t.exports=function(e){e=e||window;try{return e.self!==e.top}catch(t){return!0}}},{}],125:[function(e,t,r){"use strict";function i(e){var t=e.split("-");return new Date(t[0],t[1],t[2])}t.exports=function(e,t){return i(e)<=i(t)}},{}],126:[function(e,t,r){"use strict";t.exports={isHTTPS:function(e){return"https:"===(e=e||window.location.protocol)}}},{}],127:[function(e,t,r){"use strict";var i,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)&&((i=i||document.createElement("a")).href=e,t=i.hostname.split(".").slice(-2).join("."),n.hasOwnProperty(t))}},{}],128:[function(e,t,r){"use strict";t.exports=function(e){return JSON.parse(JSON.stringify(e))}},{}],129:[function(e,t,r){"use strict";t.exports=function(e){return Object.keys(e).filter((function(t){return"function"==typeof e[t]}))}},{}],130:[function(e,t,r){"use strict";t.exports=function(e){var t=!1;return function(){t||(t=!0,e.apply(null,arguments))}}},{}],131:[function(e,t,r){"use strict";var i=e("promise-polyfill"),n=e("@braintree/extended-promise"),o="undefined"!=typeof Promise?Promise:i;n.suppressUnhandledPromiseMessage=!0,n.setPromise(o),t.exports=o},{"@braintree/extended-promise":42,"promise-polyfill":187}],132:[function(e,t,r){"use strict";function i(e){return e=e||window.location.href,/\?/.test(e)}function n(e,t){var r,i,o,a,s=[];for(o in e)e.hasOwnProperty(o)&&(i=e[o],r=t?(a=e)&&"object"==typeof a&&"number"==typeof a.length&&"[object Array]"===Object.prototype.toString.call(a)?t+"[]":t+"["+o+"]":o,"object"==typeof i?s.push(n(i,r)):s.push(encodeURIComponent(r)+"="+encodeURIComponent(i)));return s.join("&")}t.exports={parse:function(e){return i(e=e||window.location.href)?(e.split("?")[1]||"").replace(/#.*$/,"").split("&").reduce((function(e,t){var r=t.split("="),i=decodeURIComponent(r[0]),n=decodeURIComponent(r[1]);return e[i]=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("=")?"&":"",e+=n(t)),e},hasQueryParams:i}},{}],133:[function(e,t,r){"use strict";var i=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,r){var s=n(t).querySelector("style"),l=a(t),d="shadow-slot-"+i(),c=document.createElement("slot"),p=document.createElement("div");return c.setAttribute("name",d),t.appendChild(c),p.setAttribute("slot",d),l.appendChild(p),r&&(s||(s=document.createElement("style"),t.appendChild(s)),s.sheet.insertRule('::slotted([slot="'+d+'"]) { '+r+" }")),o(l)?e(p,r):p}}},{"./find-root-node":110,"@braintree/uuid":47}],134:[function(e,t,r){"use strict";t.exports=function(e){return e?"":".min"}},{}],135:[function(e,t,r){"use strict";var i="function"==typeof atob?atob:n;function n(e){var t,r,i,n,o,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="";if(!new RegExp("^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})([=]{1,2})?$").test(e))throw new Error("Non base64 encoded input passed to window.atob polyfill");a=0;do{t=(63&s.indexOf(e.charAt(a++)))<<2|(n=s.indexOf(e.charAt(a++)))>>4&3,r=(15&n)<<4|(o=s.indexOf(e.charAt(a++)))>>2&15,i=(3&o)<<6|63&s.indexOf(e.charAt(a++)),l+=String.fromCharCode(t)+(r?String.fromCharCode(r):"")+(i?String.fromCharCode(i):"")}while(a<e.length);return l}t.exports={atob:function(e){return i.call(window,e)},_atob:n}},{}],136:[function(e,t,r){"use strict";var i=e("../lib/braintree-error");t.exports={PAYPAL_NOT_ENABLED:{type:i.types.MERCHANT,code:"PAYPAL_NOT_ENABLED",message:"PayPal is not enabled for this merchant."},PAYPAL_SANDBOX_ACCOUNT_NOT_LINKED:{type:i.types.MERCHANT,code:"PAYPAL_SANDBOX_ACCOUNT_NOT_LINKED",message:"A linked PayPal Sandbox account is required to use PayPal Checkout in Sandbox. See https://developer.paypal.com/braintree/docs/guides/paypal/testing-go-live#linked-paypal-testing for details on linking your PayPal sandbox with Braintree."},PAYPAL_ACCOUNT_TOKENIZATION_FAILED:{type:i.types.NETWORK,code:"PAYPAL_ACCOUNT_TOKENIZATION_FAILED",message:"Could not tokenize user's PayPal account."},PAYPAL_FLOW_FAILED:{type:i.types.NETWORK,code:"PAYPAL_FLOW_FAILED",message:"Could not initialize PayPal flow."},PAYPAL_FLOW_OPTION_REQUIRED:{type:i.types.MERCHANT,code:"PAYPAL_FLOW_OPTION_REQUIRED",message:"PayPal flow property is invalid or missing."},PAYPAL_START_VAULT_INITIATED_CHECKOUT_PARAM_REQUIRED:{type:i.types.MERCHANT,code:"PAYPAL_START_VAULT_INITIATED_CHECKOUT_PARAM_REQUIRED"},PAYPAL_START_VAULT_INITIATED_CHECKOUT_SETUP_FAILED:{type:i.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:i.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:i.types.CUSTOMER,code:"PAYPAL_START_VAULT_INITIATED_CHECKOUT_CANCELED",message:"Customer closed PayPal popup before authorizing."},PAYPAL_START_VAULT_INITIATED_CHECKOUT_IN_PROGRESS:{type:i.types.MERCHANT,code:"PAYPAL_START_VAULT_INITIATED_CHECKOUT_IN_PROGRESS",message:"Vault initiated checkout already in progress."},PAYPAL_INVALID_PAYMENT_OPTION:{type:i.types.MERCHANT,code:"PAYPAL_INVALID_PAYMENT_OPTION",message:"PayPal payment options are invalid."}}},{"../lib/braintree-error":99}],137:[function(e,t,r){"use strict";var i=e("../lib/basic-component-verification"),n=e("@braintree/wrap-promise"),o=e("./paypal-checkout");t.exports={create:n((function(e){return i.verify({name:"PayPal Checkout",client:e.client,authorization:e.authorization}).then((function(){return new o(e)._initialize(e)}))})),isSupported:function(){return!0},VERSION:"3.85.3"}},{"../lib/basic-component-verification":97,"./paypal-checkout":138,"@braintree/wrap-promise":51}],138:[function(e,t,r){"use strict";var i=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=Boolean(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):(i.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,r=e.getConfiguration(),n=setTimeout((function(){i.sendEvent(e,"paypal-checkout.frame-service.timed-out"),t.reject(new c(u.PAYPAL_START_VAULT_INITIATED_CHECKOUT_SETUP_FAILED))}),g);return this._assetsUrl=r.gatewayConfiguration.paypal.assetsUrl+"/web/3.85.3",this._isDebug=r.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)?(i.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 r=this,n="paypal_hermes/"+h.FLOW_ENDPOINTS[e.flow];return delete this.intentFromCreatePayment,t=t||{},!0===e.offerCredit&&i.sendEvent(this._clientPromise,"paypal-checkout.credit.offered"),this._clientPromise.then((function(i){return i.request({endpoint:n,method:"post",data:r._formatPaymentResourceData(e,t)}).then((function(t){return r.intentFromCreatePayment=e.intent,t}))})).catch((function(e){return r._setupError?s.reject(r._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,r=this;return this._vaultInitiatedCheckoutInProgress?(i.sendEvent(this._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.error.already-in-progress"),s.reject(new c(u.PAYPAL_START_VAULT_INITIATED_CHECKOUT_IN_PROGRESS))):(b.forEach((function(r){e.hasOwnProperty(r)||(t=r)})),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"}),i.sendEvent(this._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.started"),this._waitForVaultInitiatedCheckoutDependencies().then((function(){var t=new l,i=r._createPaymentResource(e,{returnUrl:r._constructVaultCheckutUrl("redirect-frame"),cancelUrl:r._constructVaultCheckutUrl("cancel-frame")}).then((function(e){var i=e.paymentResource.redirectUrl;return r._frameService.redirect(i),t}));return r._frameService.open({},r._createFrameServiceCallback(t)),i})).catch((function(e){return r._vaultInitiatedCheckoutInProgress=!1,r._removeModalBackdrop(),"FRAME_SERVICE_FRAME_CLOSED"===e.code?(i.sendEvent(r._clientPromise,"paypal-checkout.startVaultInitiatedCheckout.canceled.by-customer"),s.reject(new c(u.PAYPAL_START_VAULT_INITIATED_CHECKOUT_CANCELED))):(r._frameService&&r._frameService.close(),e.code&&e.code.indexOf("FRAME_SERVICE_FRAME_OPEN_FAILED")>-1?(i.sendEvent(r._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 r._frameService.close(),r._vaultInitiatedCheckoutInProgress=!1,r._removeModalBackdrop(),i.sendEvent(r._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&&i.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(r,i){r?e.reject(r):i&&(t._frameService.redirect(t._loadingFrameUrl),t.tokenizePayment({paymentToken:i.token,payerID:i.PayerID,paymentID:i.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,r=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,i.sendEvent(this._clientPromise,"paypal-checkout.tokenization.started"),this._clientPromise.then((function(e){return e.request({endpoint:"payment_methods/paypal_accounts",method:"post",data:r._formatTokenizeData(o,a)})})).then((function(e){return t=r._formatTokenizePayload(e),i.sendEvent(r._clientPromise,"paypal-checkout.tokenization.success"),t.creditFinancingOffered&&i.sendEvent(r._clientPromise,"paypal-checkout.credit.accepted"),t})).catch((function(e){return r._setupError?s.reject(r._setupError):(i.sendEvent(r._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=new l,r=e&&e.dataAttributes||{},i=r["user-id-token"]||r["data-user-id-token"];return i||(i=this._authorizationInformation.fingerprint&&this._authorizationInformation.fingerprint.split("?")[0]),this._paypalScript=document.createElement("script"),delete(e=n({},{components:"buttons"},e)).dataAttributes,e.vault?e.intent=e.intent||"tokenize":(e.intent=e.intent||"authorize",e.currency=e.currency||"USD"),"https://www.paypal.com/sdk/js?",this._paypalScript.onload=function(){t.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(t){e["client-id"]=t,this._autoSetDataUserIdToken&&i&&(this._paypalScript.setAttribute("data-user-id-token",i),this._attachPreloadPixel({id:t,userIdToken:i,amount:r.amount,currency:e.currency,merchantId:e["merchant-id"]})),this._paypalScript.src=_.queryify("https://www.paypal.com/sdk/js?",e),document.head.insertBefore(this._paypalScript,document.head.firstElementChild)}.bind(this)),t.then(function(){return this}.bind(this))},P.prototype._attachPreloadPixel=function(e){var t,r=e.id,i=e.userIdToken,n=this._authorizationInformation.environment,o="https://www.{ENV}paypal.com/smart/buttons/preload".replace("{ENV}","production"===n?"":"sandbox."),a={"client-id":r,"user-id-token":i};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 r,i=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||i.paypal.displayName,localeCode:e.locale,noShipping:(!e.enableShippingAddress).toString(),addressOverride:!1===e.shippingAddressEditable,landingPageType:e.landingPageType},shippingOptions:e.shippingOptions};if("checkout"===e.flow){for(r 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(r)&&(o[r]=e.shippingAddressOverride[r]);e.hasOwnProperty("billingAgreementDetails")&&(o.billingAgreementDetails=e.billingAgreementDetails)}else o.shippingAddress=e.shippingAddressOverride,e.billingAgreementDescription&&(o.description=e.billingAgreementDescription);return this._riskCorrelationId=e.riskCorrelationId,e.riskCorrelationId&&(o.correlationId=this._riskCorrelationId),o},P.prototype._formatTokenizeData=function(e,t){var r=this._configuration,i=r.gatewayConfiguration,n="TOKENIZATION_KEY"===r.authorizationType,o="vault"===e.flow,a={paypalAccount:{correlationId:this._riskCorrelationId||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=i.paypal.unvettedMerchant,e.intent&&(a.paypalAccount.intent=e.intent)),this._merchantAccountId&&(a.merchantAccountId=this._merchantAccountId),a},P.prototype._formatTokenizePayload=function(e){var t,r={};return e.paypalAccounts&&(r=e.paypalAccounts[0]),t={nonce:r.nonce,details:{},type:r.type},r.details&&r.details.payerInfo&&(t.details=r.details.payerInfo),r.details&&r.details.creditFinancingOffered&&(t.creditFinancingOffered=r.details.creditFinancingOffered),r.details&&r.details.shippingOptionId&&(t.shippingOptionId=r.details.shippingOptionId),r.details&&r.details.cobrandedCardLabel&&(t.cobrandedCardLabel=r.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":94,"../lib/assign":96,"../lib/braintree-error":99,"../lib/constants":100,"../lib/convert-methods-to-error":101,"../lib/convert-to-braintree-error":102,"../lib/create-assets-url":103,"../lib/create-authorization-data":104,"../lib/create-deferred-client":105,"../lib/frame-service/external":113,"../lib/methods":129,"../lib/promise":131,"../lib/querystring":132,"../lib/use-min":134,"../paypal/shared/constants":139,"./errors":136,"@braintree/extended-promise":42,"@braintree/wrap-promise":51}],139:[function(e,t,r){"use strict";t.exports={LANDING_FRAME_NAME:"braintreepaypallanding",FLOW_ENDPOINTS:{checkout:"create_payment_resource",vault:"setup_billing_agreement"}}},{}],140:[function(e,t,r){"use strict";var i=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.85.3";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=Boolean(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_IMPLEMENTED)},_.prototype.verifyCard=function(e,t){var r,i,o=this;return t=t||{},(i=this._checkForVerifyCardError(e,t))?a.reject(i):(this._verifyCardInProgress=!0,r=this._formatVerifyCardOptions(e),this._formatLookupData(r).then((function(e){return n.sendEvent(o._createPromise,"three-d-secure.verification-flow.started"),o._performLookup(r.nonce,e)})).then((function(e){return n.sendEvent(o._createPromise,"three-d-secure.verification-flow.3ds-version."+e.lookup.threeDSecureVersion),o._onLookupComplete(e,r)})).then((function(e){return o.initializeChallengeWithLookupResponse(e,r)})).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 r=this,i="payment_methods/"+e+"/three_d_secure/lookup";return this._waitForClient().then((function(){return r._client.request({endpoint:i,method:"post",data:t}).catch((function(e){var t,i=e&&e.details&&e.details.httpStatus,s="three-d-secure.verification-flow.lookup-failed";return 404===i?(t=c.THREEDS_LOOKUP_TOKENIZED_CARD_NOT_FOUND_ERROR,s+=".404"):422===i?(t=c.THREEDS_LOOKUP_VALIDATION_ERROR,s+=".422"):t=c.THREEDS_LOOKUP_ERROR,n.sendEvent(r._createPromise,s),a.reject(new o({type:t.type,code:t.code,message:t.message,details:{originalError:e}}))}))}))},_.prototype._checkForVerifyCardError=function(e,t){var r;return!0===this._verifyCardInProgress?new o(c.THREEDS_AUTHENTICATION_IN_PROGRESS):(e.nonce?e.amount||(r="an amount"):r="a nonce",r||(r=this._checkForFrameworkSpecificVerifyCardErrors(e,t)),r?new o({type:c.THREEDS_MISSING_VERIFY_CARD_OPTION.type,code:c.THREEDS_MISSING_VERIFY_CARD_OPTION.code,message:"verifyCard options must include "+r+"."}):null)},_.prototype.initializeChallengeWithLookupResponse=function(e,t){var r=this;return t=t||{},this._lookupPaymentMethod=e.paymentMethod,r._verifyCardPromisePlus=r._verifyCardPromisePlus||new l,r._handleLookupResponse(e,t),r._verifyCardPromisePlus.then((function(e){return n.sendEvent(r._createPromise,"three-d-secure.verification-flow.liability-shifted."+String(e.liabilityShifted)),n.sendEvent(r._createPromise,"three-d-secure.verification-flow.liability-shift-possible."+String(e.liabilityShiftPossible)),e}))},_.prototype._handleLookupResponse=function(e,t){var r,i=Boolean(e.lookup&&e.lookup.acsUrl);n.sendEvent(this._createPromise,"three-d-secure.verification-flow.challenge-presented."+String(i)),i?this._presentChallenge(e,t):((r=this._formatAuthResponse(e.paymentMethod,e.threeDSecureInfo)).verificationDetails=e.threeDSecureInfo,this._verifyCardPromisePlus.resolve(r))},_.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 i({},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=i({},this._lookupPaymentMethod,{liabilityShiftPossible:t&&t.liabilityShiftPossible,liabilityShifted:t&&t.liabilityShifted,verificationDetails: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],r=e.lookupResponse,i=m(),n=new u({channel:i,verifyDomain:s}),o=this._assetsUrl+"/html/three-d-secure-authentication-complete-frame.html?channel="+encodeURIComponent(i)+"&";return n.on(E,(function(e){e({acsUrl:r.acsUrl,pareq:r.pareq,termUrl:r.termUrl+"&three_d_secure_version="+"3.85.3&authentication_complete_base_url="+encodeURIComponent(o),md:r.md,parentUrl:t})})),n.on(y.AUTHENTICATION_COMPLETE,e.handleAuthResponse),n},_.prototype._setupV1Iframe=function(e){var t=this._assetsUrl+"/html/three-d-secure-bank-frame"+f(this._isDebug)+".html?showLoader="+e.showLoader;return p({src:t,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":94,"../../../lib/assign":96,"../../../lib/braintree-error":99,"../../../lib/constants":100,"../../../lib/is-verified-domain":127,"../../../lib/promise":131,"../../../lib/use-min":134,"../../shared/constants":149,"../../shared/errors":150,"../../shared/events":151,"@braintree/event-emitter":41,"@braintree/extended-promise":42,"@braintree/iframer":43,"@braintree/uuid":47,framebus:173}],141:[function(e,t,r){"use strict";var i=e("./songbird");function n(e){i.call(this,e)}n.prototype=Object.create(i.prototype,{constructor:i}),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">×</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=i.prototype._createCardinalConfigurationOptions.call(this,e);return t.payment.framework="bootstrap3",t},t.exports=n},{"./songbird":146}],142:[function(e,t,r){"use strict";var i=e("./songbird");function n(e){i.call(this,e)}n.prototype=Object.create(i.prototype,{constructor:i}),n.prototype._createV1IframeModalElement=function(e){var t=document.createElement("div"),r=Boolean(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\'">×</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>',r||(t.querySelector("[data-braintree-v1-fallback-close-button]").style.display="none"),t.querySelector("[data-braintree-v1-fallback-iframe-container]").appendChild(e),t},t.exports=n},{"./songbird":146}],143:[function(e,t,r){"use strict";var i=e("./legacy"),n=e("./cardinal-modal"),o=e("./bootstrap3-modal"),a=e("./inline-iframe");t.exports={legacy:i,"cardinal-modal":n,"bootstrap3-modal":o,"inline-iframe":a}},{"./bootstrap3-modal":141,"./cardinal-modal":142,"./inline-iframe":144,"./legacy":145}],144:[function(e,t,r){"use strict";var i=e("./songbird"),n=e("../../../lib/braintree-error"),o=e("../../shared/errors"),a=e("../../../lib/enumerate");function s(e){i.call(this,e)}s.prototype=Object.create(i.prototype,{constructor:i}),s.events=a(["AUTHENTICATION_IFRAME_AVAILABLE"],"inline-iframe-framework:"),s.prototype.setUpEventListeners=function(e){i.prototype.setUpEventListeners.call(this,e),this.on(s.events.AUTHENTICATION_IFRAME_AVAILABLE,(function(t,r){e("authentication-iframe-available",t,r)}))},s.prototype._createCardinalConfigurationOptions=function(e){var t=i.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,r,i){var a,l;e&&t?("CCA"!==t.paymentType||"suppress"!==t.data.mode&&"static"!==t.data.mode)&&(l=!0):l=!0,l?i(new n(o.THREEDS_INLINE_IFRAME_DETAILS_INCORRECT)):((a=document.createElement("div")).innerHTML=e,"suppress"===t.data.mode?(a.style.display="none",document.body.appendChild(a),r()):"static"===t.data.mode&&this._emit(s.events.AUTHENTICATION_IFRAME_AVAILABLE,{element:a},(function(){r()})))},t.exports=s},{"../../../lib/braintree-error":99,"../../../lib/enumerate":108,"../../shared/errors":150,"./songbird":146}],145:[function(e,t,r){"use strict";var i=e("./base"),n=e("../../../lib/deferred");function o(e){i.call(this,e)}o.prototype=Object.create(i.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(r){t._handleAuthResponse(r,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=i.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 i.prototype._formatLookupData.call(this,e).then((function(r){return e.customer&&e.customer.billingAddress&&(r.customer=t.transformV1CustomerBillingAddress(e.customer)),r}))},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":106,"./base":140}],146:[function(e,t,r){"use strict";var i=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.85.3",v=["ui.close","ui.render","ui.renderHidden","ui.loading.close","ui.loading.render"];function _(e){i.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,r){t[r+"Line1"]=e.streetAddress,t[r+"Line2"]=e.extendedAddress,t[r+"Line3"]=e.line3,t[r+"City"]=e.locality,t[r+"State"]=e.region,t[r+"PostalCode"]=e.postalCode,t[r+"CountryCode"]=e.countryCodeAlpha2}_.prototype=Object.create(i.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,r){e("lookup-complete",t,r)})),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),r=this;return this.getDfReferenceId().then((function(e){t.dfReferenceId=e})).then((function(){return r._triggerCardinalBinProcess(e.bin)})).catch((function(){})).then((function(){return r._waitForClient()})).then((function(){return t.clientMetadata=r._clientMetadata,t.authorizationFingerprint=r._client.getConfiguration().authorizationFingerprint,t.braintreeLibraryVersion="braintree/web/3.85.3",t}))},_.prototype.initializeChallengeWithLookupResponse=function(e,t){return this.setupSongbird().then(function(){return i.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,r=Date.now();return e?window.Cardinal.trigger("bin.process",e).then((function(e){t._clientMetadata.issuerDeviceDataCollectionTimeElapsed=Date.now()-r,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),r=t.querySelector("[data-braintree-v1-fallback-close-button]"),i=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()},r&&r.addEventListener("click",o),i&&i.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,r=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:r}):(t._v2SetupFailureReason="cardinal-global-unavailable",h.reject(new a(c.THREEDS_CARDINAL_SDK_SETUP_FAILED)))})).catch((function(e){var r=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(r),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(){return t._client.getConfiguration().gatewayConfiguration.threeDSecure})).then((function(r){var i=r.cardinalAuthenticationJWT,n=e.setupOptions,o=e.setupStartTime,a=t._createCardinalConfigurationOptions(n);v.forEach((function(e){t.setCardinalListener(e,(function(){t._emit(_.events[e.toUpperCase()])}))})),t.setCardinalListener("payments.setupComplete",t._createPaymentsSetupCompleteCallback()),t._setupFrameworkSpecificListeners(),window.Cardinal.configure(a),window.Cardinal.setup("init",{jwt:i}),t._clientMetadata.cardinalDeviceDataCollectionTimeElapsed=Date.now()-o,t.setCardinalListener("payments.validated",t._createPaymentsValidatedCallback())})).catch((function(e){return 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||{},r=t.payment||{};return!t.logging&&e.loggingEnabled&&(t.logging={level:"verbose"}),t.payment={},r.hasOwnProperty("displayLoading")&&(t.payment.displayLoading=r.displayLoading),r.hasOwnProperty("displayExitButton")&&(t.payment.displayExitButton=r.displayExitButton),t},_.prototype._loadCardinalScript=function(e){var t=this,r=u.CARDINAL_SCRIPT_SOURCE.sandbox;return this._waitForClient().then((function(){var i="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),i&&(r=u.CARDINAL_SCRIPT_SOURCE.production),d.loadScript({src:r})})).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 r=this,i=this._lookupPaymentMethod.nonce,n="payment_methods/"+i+"/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 r._client.request({method:"post",endpoint:n,data:{jwt:t,paymentMethodNonce:i}})})).then((function(t){var i=t.paymentMethod||r._lookupPaymentMethod,n=r._formatAuthResponse(i,t.threeDSecureInfo);return n.rawCardinalSDKVerificationData=e,l.sendEvent(r._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(r._client,"three-d-secure.verification-flow.upgrade-payment-method.errored"),h.reject(t)}))},_.prototype._createPaymentsValidatedCallback=function(){var e=this;return function(t,r){var i;if(e._useV1Fallback)l.sendEvent(e._createPromise,"three-d-secure.verification-flow.cardinal-sdk.payments-validated-callback-called-in-v1-fallback-flow");else if(l.sendEvent(e._createPromise,"three-d-secure.verification-flow.cardinal-sdk.action-code."+t.ActionCode.toLowerCase()),e._verifyCardPromisePlus)switch(t.ActionCode){case"SUCCESS":case"NOACTION":case"FAILURE":e._performJWTValidation(t,r).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:i=new a(c.THREEDS_CARDINAL_SDK_SETUP_TIMEDOUT);break;case 10003:case 10007:case 10009:i=new a(c.THREEDS_CARDINAL_SDK_RESPONSE_TIMEDOUT);break;case 10005:case 10006:i=new a(c.THREEDS_CARDINAL_SDK_BAD_CONFIG);break;case 10008:case 10010:i=new a(c.THREEDS_CARDINAL_SDK_BAD_JWT);break;case 10011:l.sendEvent(e._createPromise,"three-d-secure.verification-flow.canceled"),i=new a(c.THREEDS_CARDINAL_SDK_CANCELED);break;default:i=new a(c.THREEDS_CARDINAL_SDK_ERROR)}i.details={originalError:{code:t.ErrorNumber,description:t.ErrorDescription}},e._verifyCardPromisePlus.reject(i)}else e.initiateV1Fallback("cardinal-sdk-setup-error.number-"+t.ErrorNumber)}},_.prototype._checkForVerifyCardError=function(e,t){return i.prototype._checkForVerifyCardError.call(this,e,t)},_.prototype._checkForFrameworkSpecificVerifyCardErrors=function(e,t){var r;return"function"==typeof e.onLookupComplete||t.ignoreOnLookupCompleteRequirement||(r="an onLookupComplete function"),r},_.prototype._formatVerifyCardOptions=function(e){var t=i.prototype._formatVerifyCardOptions.call(this,e),r=t.additionalInformation||{};return r=this.transformBillingAddress(r,e.billingAddress),r=this.transformShippingAddress(r),e.onLookupComplete&&(t.onLookupComplete=o(e.onLookupComplete)),e.email&&(r.email=e.email),e.mobilePhoneNumber&&(r.mobilePhoneNumber=e.mobilePhoneNumber),t.additionalInformation=r,t},_.prototype._onLookupComplete=function(e,t){var r=this;return i.prototype._onLookupComplete.call(this,e).then((function(e){return new h((function(i,n){function o(){i(e)}e.requiresUserAuthentication=Boolean(e.lookup&&e.lookup.acsUrl),r._verifyCardPromisePlus.catch(n),t.onLookupComplete?t.onLookupComplete(e,o):r._emit(_.events.LOOKUP_COMPLETE,e,o)}))}))},_.prototype._presentChallenge=function(e){!this._useV1Fallback&&e.lookup.transactionId?window.Cardinal.continue("cca",{AcsUrl:e.lookup.acsUrl,Payload:e.lookup.pareq},{OrderDetails:{TransactionId:e.lookup.transactionId}}):this._presentChallengeWithV1Fallback(e.lookup)},_.prototype._formatLookupData=function(e){var t=this;return i.prototype._formatLookupData.call(this,e).then((function(r){return r.additionalInfo=e.additionalInformation,e.accountType&&(r.accountType=e.accountType),e.challengeRequested&&(r.challengeRequested=e.challengeRequested),e.dataOnlyRequested&&(r.dataOnlyRequested=e.dataOnlyRequested),e.exemptionRequested&&(r.exemptionRequested=e.exemptionRequested),e.bin&&(r.bin=e.bin),null!=e.cardAdd&&(r.cardAdd=e.cardAdd),null!=e.cardAddChallengeRequested&&(r.cardAdd=e.cardAddChallengeRequested),t.prepareLookup(r)}))},_.prototype.cancelVerifyCard=function(e){var t=this;return i.prototype.cancelVerifyCard.call(this).then((function(r){return t._verifyCardPromisePlus&&(e=e||new a(c.THREEDS_VERIFY_CARD_CANCELED_BY_MERCHANT),t._verifyCardPromisePlus.reject(e)),r}))},_.prototype._removeSongbirdListeners=function(){this._cardinalEvents.forEach((function(e){window.Cardinal.off(e)})),this._cardinalEvents=[]},_.prototype.teardown=function(){return window.Cardinal&&this._removeSongbirdListeners(),i.prototype.teardown.call(this)},t.exports=_},{"../../../lib/analytics":94,"../../../lib/assets":95,"../../../lib/assign":96,"../../../lib/braintree-error":99,"../../../lib/constants":100,"../../../lib/convert-to-braintree-error":102,"../../../lib/deferred":106,"../../../lib/enumerate":108,"../../../lib/promise":131,"../../shared/constants":149,"../../shared/errors":150,"./base":140,"@braintree/extended-promise":42}],147:[function(e,t,r){"use strict";var i=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,r=s[e.framework];a.call(this),this._framework=new r(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(){var e=n(l.prototype).concat(n(a.prototype));return o(this,e),this._framework.teardown()},t.exports=i.wrapPrototype(l)},{"../../lib/convert-methods-to-error":101,"../../lib/methods":129,"./frameworks":143,"@braintree/event-emitter":41,"@braintree/wrap-promise":51}],148:[function(e,t,r){"use strict";var i=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 r=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 version. 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:r,name:t}).then((function(t){var r,i=t.getConfiguration(),a=i.gatewayConfiguration;return e.client=t,a.threeDSecureEnabled||(r=c.THREEDS_NOT_ENABLED),"TOKENIZATION_KEY"===i.authorizationType&&(r=c.THREEDS_CAN_NOT_USE_TOKENIZATION_KEY),"production"===a.environment&&!n()&&(r=c.THREEDS_HTTPS_REQUIRED),"legacy"===o||a.threeDSecure&&a.threeDSecure.cardinalAuthenticationJWT||(d.sendEvent(e.client,"three-d-secure.initialization.failed.missing-cardinalAuthenticationJWT"),r=c.THREEDS_NOT_ENABLED_FOR_V2),r?p.reject(new l(r)):(d.sendEvent(e.client,"three-d-secure.initialized"),t)})),h=new i({client:e.client,assetsUrl:r,createPromise:u,loggingEnabled:e.loggingEnabled,cardinalSDKConfig:e.cardinalSDKConfig,framework:o});return e.client?u.then((function(){return h})):h}))})),VERSION:"3.85.3"}},{"../lib/analytics":94,"../lib/basic-component-verification":97,"../lib/braintree-error":99,"../lib/create-assets-url":103,"../lib/create-deferred-client":105,"../lib/is-https":126,"../lib/promise":131,"./external/three-d-secure":147,"./shared/errors":150,"@braintree/wrap-promise":51}],149:[function(e,t,r){"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"}}},{}],150:[function(e,t,r){"use strict";var i=e("../../lib/braintree-error");t.exports={THREEDS_NOT_ENABLED:{type:i.types.MERCHANT,code:"THREEDS_NOT_ENABLED",message:"3D Secure is not enabled for this merchant."},THREEDS_CAN_NOT_USE_TOKENIZATION_KEY:{type:i.types.MERCHANT,code:"THREEDS_CAN_NOT_USE_TOKENIZATION_KEY",message:"3D Secure can not use a tokenization key for authorization."},THREEDS_HTTPS_REQUIRED:{type:i.types.MERCHANT,code:"THREEDS_HTTPS_REQUIRED",message:"3D Secure requires HTTPS."},THREEDS_NOT_ENABLED_FOR_V2:{type:i.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:i.types.MERCHANT,code:"THREEDS_UNRECOGNIZED_VERSION"},THREEDS_CARDINAL_SDK_SETUP_FAILED:{type:i.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:i.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:i.types.UNKNOWN,code:"THREEDS_CARDINAL_SDK_SETUP_TIMEDOUT",message:"Cardinal's Songbird.js took too long to setup."},THREEDS_CARDINAL_SDK_RESPONSE_TIMEDOUT:{type:i.types.UNKNOWN,code:"THREEDS_CARDINAL_SDK_RESPONSE_TIMEDOUT",message:"Cardinal's API took too long to respond."},THREEDS_CARDINAL_SDK_BAD_CONFIG:{type:i.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:i.types.MERCHANT,code:"THREEDS_CARDINAL_SDK_BAD_JWT",message:"Cardinal JWT missing or malformed. Please check your setup configuration."},THREEDS_CARDINAL_SDK_ERROR:{type:i.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:i.types.CUSTOMER,code:"THREEDS_CARDINAL_SDK_CANCELED",message:"Canceled by user."},THREEDS_VERIFY_CARD_CANCELED_BY_MERCHANT:{type:i.types.MERCHANT,code:"THREEDS_VERIFY_CARD_CANCELED_BY_MERCHANT",message:"3D Secure verfication canceled by merchant."},THREEDS_AUTHENTICATION_IN_PROGRESS:{type:i.types.MERCHANT,code:"THREEDS_AUTHENTICATION_IN_PROGRESS",message:"Cannot call verifyCard while existing authentication is in progress."},THREEDS_MISSING_VERIFY_CARD_OPTION:{type:i.types.MERCHANT,code:"THREEDS_MISSING_VERIFY_CARD_OPTION"},THREEDS_JWT_AUTHENTICATION_FAILED:{type:i.types.UNKNOWN,code:"THREEDS_JWT_AUTHENTICATION_FAILED",message:"Something went wrong authenticating the JWT from Cardinal"},THREEDS_LOOKUP_TOKENIZED_CARD_NOT_FOUND_ERROR:{type:i.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:i.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:i.types.UNKNOWN,code:"THREEDS_LOOKUP_ERROR",message:"Something went wrong during the 3D Secure lookup"},THREEDS_INLINE_IFRAME_DETAILS_INCORRECT:{type:i.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:i.types.MERCHANT,code:"THREEDS_NO_VERIFICATION_PAYLOAD",message:"No verification payload available."},THREEDS_TERM_URL_REQUIRES_BRAINTREE_DOMAIN:{type:i.types.INTERNAL,code:"THREEDS_TERM_URL_REQUIRES_BRAINTREE_DOMAIN",message:"Term Url must be on a Braintree domain."},THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENTED:{type:i.types.INTERNAL,code:"THREEDS_FRAMEWORK_METHOD_NOT_IMPLEMENTED",message:"Method not implemented for this framework."}}},{"../../lib/braintree-error":99}],151:[function(e,t,r){"use strict";var i=e("../../lib/enumerate");t.exports=i(["AUTHENTICATION_COMPLETE"],"threedsecure:")},{"../../lib/enumerate":108}],152:[function(e,t,r){"use strict";var i=e("../lib/braintree-error");t.exports={VAULT_MANAGER_DELETE_PAYMENT_METHOD_NONCE_REQUIRES_CLIENT_TOKEN:{type:i.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:i.types.MERCHANT,code:"VAULT_MANAGER_PAYMENT_METHOD_NONCE_NOT_FOUND"},VAULT_MANAGER_DELETE_PAYMENT_METHOD_UNKNOWN_ERROR:{type:i.types.UNKNOWN,code:"VAULT_MANAGER_DELETE_PAYMENT_METHOD_UNKNOWN_ERROR"}}},{"../lib/braintree-error":99}],153:[function(e,t,r){"use strict";var i=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 i.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.85.3"}},{"../lib/basic-component-verification":97,"../lib/create-assets-url":103,"../lib/create-deferred-client":105,"./vault-manager":154,"@braintree/wrap-promise":51}],154:[function(e,t,r){"use strict";var i=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 i.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?t.request({api:"graphQLApi",data:{query:"mutation DeletePaymentMethodFromSingleUseToken($input: DeletePaymentMethodFromSingleUseTokenInput!) { deletePaymentMethodFromSingleUseToken(input: $input) { clientMutationId }}",variables:{input:{singleUseTokenId:e}},operationName:"DeletePaymentMethodFromSingleUseToken"}}).then((function(){i.sendEvent(t,"vault-manager.delete-payment-method.succeeded")})).catch((function(r){var a,s=r.details.originalError;return i.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)})):l.reject(new n(o.VAULT_MANAGER_DELETE_PAYMENT_METHOD_NONCE_REQUIRES_CLIENT_TOKEN))}))},c.prototype.teardown=function(){return a(this,s(c.prototype)),l.resolve()},t.exports=d.wrapPrototype(c)},{"../lib/analytics":94,"../lib/braintree-error":99,"../lib/convert-methods-to-error":101,"../lib/methods":129,"../lib/promise":131,"./errors":152,"@braintree/wrap-promise":51}],155:[function(e,t,r){"use strict";var i=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(e("./venmo-desktop"));t.exports=function(e){return new i.default(e).initialize()}},{"./venmo-desktop":157}],156:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.VENMO_PAYMENT_CONTEXT_STATUS_QUERY=r.LEGACY_VENMO_PAYMENT_CONTEXT_STATUS_QUERY=r.UPDATE_PAYMENT_CONTEXT_QUERY=r.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY=r.CREATE_PAYMENT_CONTEXT_QUERY=r.LEGACY_CREATE_PAYMENT_CONTEXT_QUERY=void 0,r.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}",r.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}",r.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY="mutation UpdateVenmoQRCodePaymentContext($input: UpdateVenmoQRCodePaymentContextInput!) {\n updateVenmoQRCodePaymentContext(input: $input) {\n clientMutationId\n }\n}",r.UPDATE_PAYMENT_CONTEXT_QUERY="mutation UpdateVenmoPaymentContextStatus($input: UpdateVenmoPaymentContextStatusInput!) {\n updateVenmoPaymentContextStatus(input: $input) {\n clientMutationId\n }\n}",r.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}",r.VENMO_PAYMENT_CONTEXT_STATUS_QUERY="query PaymentContext($id: ID!) {\n node(id: $id) {\n ... on VenmoPaymentContext {\n status\n paymentMethodId\n userName\n payerInfo {\n firstName\n lastName\n phoneNumber\n email\n externalId\n userName\n }\n }\n }\n}"},{}],157:[function(e,t,r){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},i.apply(this,arguments)},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__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,r){e.launchDesktopPromiseRejectFunction=r;var i=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){i(),e.sendEvent("venmo.tokenize.desktop.unknown-error"),r({allowUIToHandleError:!1,reason:"UNKNOWN_ERROR",err:t})},o=function(){i(),e.updateVenmoDesktopPaymentContext("CANCELED"),e.sendEvent("venmo.tokenize.desktop.status-change.canceled-from-modal"),r({allowUIToHandleError:!1,reason:"CUSTOMER_CANCELED"})},a=function(e){i(),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)},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 r=new Date(t.expiresAt).getTime()-new Date(t.createdAt).getTime(),i=Date.now()+r;return e.displayQRCode(t.id,t.merchantId),e.pollForStatusChange(t.status,i)})).then((function(t){if(t){var r=t.userName||"";r="@"+r.replace("@",""),e.triggerCompleted({paymentMethodNonce:t.paymentMethodId,username:r,payerInfo:t.payerInfo,id:e.venmoContextId||""})}})).catch((function(t){t.allowUIToHandleError||(e.sendEvent("venmo.tokenize.desktop.unhandled-error"),e.triggerRejected(t))}))},e.prototype.pollForStatusChange=function(e,t){var r=this;return this.venmoContextId?Date.now()>t?this.updateVenmoDesktopPaymentContext("EXPIRED").then((function(){return r.displayError("Something went wrong"),r.sendEvent("venmo.tokenize.desktop.status-change.sdk-timeout"),r.Promise.reject({allowUIToHandleError:!0,reason:"TIMEOUT"})})):this.lookupVenmoDesktopPaymentContext().then((function(i){if(!r.venmoContextId||!i)return r.Promise.resolve();var n=i.status;if(n!==e)switch(e=n,r.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 r.displayError(o),r.Promise.reject({allowUIToHandleError:!0,reason:e});case"SCANNED":r.authorizing();break;case"APPROVED":return r.authorize(),r.Promise.resolve(i)}return new r.Promise((function(i,n){setTimeout((function(){r.pollForStatusChange(e,t).then(i).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 r=e.profileId||t.merchantId;return{id:t.id,status:t.status,merchantId:r,createdAt:t.createdAt,expiresAt:t.expiresAt}}))},e.prototype.updateVenmoDesktopPaymentContext=function(e,t){if(void 0===t&&(t={}),!this.venmoContextId)return this.Promise.resolve();var r={input:i({id:this.venmoContextId,status:e},t)},n=this.shouldUseLegacyQRCodeMutation?d.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY:d.UPDATE_PAYMENT_CONTEXT_QUERY;return this.apiRequest(n,r).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}();r.default=c},{"../shared/events":162,"./queries":156,"@braintree/iframer":43,"@braintree/uuid":47,framebus:173}],158:[function(e,t,r){"use strict";var i=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 r,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)):(r=o.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:t}).then((function(t){var r=t.getConfiguration();return e.client=t,r.gatewayConfiguration.payWithVenmo?t:p.reject(new d(s.VENMO_NOT_ENABLED))})),e.createPromise=r,n=new c(e),i.sendEvent(r,"venmo.initialized"),r.then((function(){return n})))}))})),isBrowserSupported:function(e){return u.isBrowserSupported(e)},VERSION:"3.85.3"}},{"../lib/analytics":94,"../lib/basic-component-verification":97,"../lib/braintree-error":99,"../lib/create-assets-url":103,"../lib/create-deferred-client":105,"../lib/promise":131,"./shared/errors":161,"./shared/supports-venmo":163,"./venmo":164,"@braintree/wrap-promise":51}],159:[function(e,t,r){"use strict";var i=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"),l=e("@braintree/browser-detection/is-samsung");t.exports={isAndroid:i,isAndroidWebview:function(){return i()&&window.navigator.userAgent.toLowerCase().indexOf("wv")>-1},isChrome:n,isIos:o,isIosChrome:function(){return o()&&n()},isSamsung:l,isIosSafari:a,isIosWebview:s,isFacebookOwnedBrowserOnAndroid:function(){var e=window.navigator.userAgent.toLowerCase();return e.indexOf("huawei")>-1&&e.indexOf("fban")>-1||!!i()&&(e.indexOf("fb_iab")>-1||e.indexOf("instagram")>-1)},doesNotSupportWindowOpenInIos:function(){return!!o()&&(s()||!a())}}},{"@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,"@braintree/browser-detection/is-samsung":38}],160:[function(e,t,r){"use strict";t.exports={DOCUMENT_VISIBILITY_CHANGE_EVENT_DELAY:500,DEFAULT_PROCESS_RESULTS_DELAY:1e3,VENMO_OPEN_URL:"https://venmo.com/braintree/checkout"}},{}],161:[function(e,t,r){"use strict";var i=e("../../lib/braintree-error");t.exports={VENMO_NOT_ENABLED:{type:i.types.MERCHANT,code:"VENMO_NOT_ENABLED",message:"Venmo is not enabled for this merchant."},VENMO_TOKENIZATION_REQUEST_ACTIVE:{type:i.types.MERCHANT,code:"VENMO_TOKENIZATION_REQUEST_ACTIVE",message:"Another tokenization request is active."},VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE:{type:i.types.MERCHANT,code:"VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE",message:"No tokenization in progress."},VENMO_APP_FAILED:{type:i.types.UNKNOWN,code:"VENMO_APP_FAILED",message:"Venmo app encountered a problem."},VENMO_APP_CANCELED:{type:i.types.CUSTOMER,code:"VENMO_APP_CANCELED",message:"Venmo app authorization was canceled."},VENMO_CANCELED:{type:i.types.CUSTOMER,code:"VENMO_CANCELED",message:"User canceled Venmo authorization, or Venmo app is not available."},VENMO_DESKTOP_CANCELED:{type:i.types.CUSTOMER,code:"VENMO_DESKTOP_CANCELED",message:"User canceled Venmo authorization by closing the Venmo Desktop modal."},VENMO_TOKENIZATION_CANCELED_BY_MERCHANT:{type:i.types.MERCHANT,code:"VENMO_TOKENIZATION_CANCELED_BY_MERCHANT",message:"The Venmo tokenization was canceled by the merchant."},VENMO_DESKTOP_UNKNOWN_ERROR:{type:i.types.UNKNOWN,code:"VENMO_DESKTOP_UNKNOWN_ERROR",message:"Something went wrong with the Venmo Desktop flow."},VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED:{type:i.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:i.types.UNKNOWN,code:"VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR",message:"Something went wrong during mobile polling."},VENMO_MOBILE_POLLING_TOKENIZATION_EXPIRED:{type:i.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_EXPIRED",message:"The Venmo authorization request is expired."},VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED:{type:i.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED",message:"The Venmo authorization was canceled"},VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT:{type:i.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT",message:"Customer took too long to authorize Venmo payment."},VENMO_MOBILE_POLLING_TOKENIZATION_FAILED:{type:i.types.UNKNOWN,code:"VENMO_MOBILE_POLLING_TOKENIZATION_FAILED",message:"The Venmo authorization failed."},VENMO_INVALID_PROFILE_ID:{type:i.types.MERCHANT,code:"VENMO_INVALID_PROFILE_ID",message:"Venmo profile ID is invalid."},VENMO_INVALID_DEEP_LINK_RETURN_URL:{type:i.types.MERCHANT,code:"VENMO_INVALID_DEEP_LINK_RETURN_URL",message:"Venmo deep link return URL is invalid."}}},{"../../lib/braintree-error":99}],162:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.VENMO_DESKTOP_UNKNOWN_ERROR=r.VENMO_DESKTOP_REQUEST_NEW_QR_CODE=r.VENMO_DESKTOP_CLOSED_FROM_PARENT=r.VENMO_DESKTOP_IFRAME_READY=r.VENMO_DESKTOP_DISPLAY_QR_CODE=r.VENMO_DESKTOP_DISPLAY_ERROR=r.VENMO_DESKTOP_CUSTOMER_CANCELED=r.VENMO_DESKTOP_AUTHORIZATION_COMPLETED=r.VENMO_DESKTOP_AUTHORIZING=r.VENMO_DESKTOP_AUTHORIZE=r.VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT=void 0,r.VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT="VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT",r.VENMO_DESKTOP_AUTHORIZE="VENMO_DESKTOP_AUTHORIZE",r.VENMO_DESKTOP_AUTHORIZING="VENMO_DESKTOP_AUTHORIZING",r.VENMO_DESKTOP_AUTHORIZATION_COMPLETED="VENMO_DESKTOP_AUTHORIZATION_COMPLETED",r.VENMO_DESKTOP_CUSTOMER_CANCELED="VENMO_DESKTOP_CUSTOMER_CANCELED",r.VENMO_DESKTOP_DISPLAY_ERROR="VENMO_DESKTOP_DISPLAY_ERROR",r.VENMO_DESKTOP_DISPLAY_QR_CODE="VENMO_DESKTOP_DISPLAY_QR_CODE",r.VENMO_DESKTOP_IFRAME_READY="VENMO_DESKTOP_IFRAME_READY",r.VENMO_DESKTOP_CLOSED_FROM_PARENT="VENMO_DESKTOP_CLOSED_FROM_PARENT",r.VENMO_DESKTOP_REQUEST_NEW_QR_CODE="VENMO_DESKTOP_REQUEST_NEW_QR_CODE",r.VENMO_DESKTOP_UNKNOWN_ERROR="VENMO_DESKTOP_UNKNOWN_ERROR"},{}],163:[function(e,t,r){"use strict";var i=e("./browser-detection");t.exports={isBrowserSupported:function(e){var t,r,n,o=i.isAndroid(),a=o||i.isIos(),s=o&&i.isChrome(),l=i.isIosSafari()||s,d=i.isIosChrome()||i.isFacebookOwnedBrowserOnAndroid()||i.isSamsung();return n=!0===(e=e||{}).allowDesktop,t=!e.hasOwnProperty("allowNewBrowserTab")||e.allowNewBrowserTab,r=!e.hasOwnProperty("allowWebviews")||e.allowWebviews,!d&&(!(!r&&(i.isAndroidWebview()||i.isIosWebview()))&&(a?t?a:l:n))}}},{"./browser-detection":159}],164:[function(e,t,r){"use strict";var i=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,i.sendEvent(this._createPromise,"venmo.desktop-flow.configured."+String(Boolean(this._allowDesktop))),this.hasTokenizationResult()?i.sendEvent(this._createPromise,"venmo.appswitch.return-in-new-tab"):this._useDesktopFlow?this._createPromise=this._createPromise.then((function(e){var r=e.getConfiguration().gatewayConfiguration;return E({url:r.assetsUrl+"/web/3.85.3/html/venmo-desktop-frame.html",environment:"production"===r.environment?"PRODUCTION":"SANDBOX",profileId:t._profileId||r.payWithVenmo.merchantId,paymentMethodUsage:t._paymentMethodUsage,displayName:t._displayName,Promise:y,apiRequest:function(t,r){return e.request({api:"graphQLApi",data:{query:t,variables:r}}).then((function(e){return e.data}))},sendEvent:function(e){i.sendEvent(t._createPromise,e)},verifyDomain:d}).then((function(r){return t._venmoDesktopInstance=r,i.sendEvent(t._createPromise,"venmo.desktop-flow.presented"),e})).catch((function(){return i.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 r=t._cannotHaveReturnUrls?"manual-return":"mobile-payment-context",n=e.getConfiguration().gatewayConfiguration;return t._mobilePollingContextEnvironment=n.environment.toUpperCase(),t._createVenmoPaymentContext(e).then((function(){return i.sendEvent(t._createPromise,"venmo."+r+".presented"),e})).catch((function(e){return i.sendEvent(t._createPromise,"venmo."+r+".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 r=t.split("="),i=decodeURIComponent(r[0]).replace(/\W/g,""),n=decodeURIComponent(r[1]);return e[i]=n,e}),{})}function b(e){return"@"+(e=e||"").replace("@","")}function P(){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 r=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(i){var n=.6666*(new Date(i.expiresAt)-new Date(i.createdAt));clearTimeout(r._refreshPaymentContextTimeout),r._refreshPaymentContextTimeout=setTimeout((function(){r._tokenizationInProgress||r._createVenmoPaymentContext(e,!0)}),n),t&&r._tokenizationInProgress||(r._venmoPaymentContextStatus=i.status,r._venmoPaymentContextId=i.id)})):y.resolve()},_.prototype.appSwitch=function(e){this._deepLinkReturnUrl?window.navigator.platform&&/iPhone|iPad|iPod/.test(window.navigator.platform)?(i.sendEvent(this._createPromise,"venmo.appswitch.start.ios-webview"),window.location.href=e):window.popupBridge&&"function"==typeof window.popupBridge.open?(i.sendEvent(this._createPromise,"venmo.appswitch.start.popup-bridge"),window.popupBridge.open(e)):(i.sendEvent(this._createPromise,"venmo.appswitch.start.webview"),window.open(e)):(i.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(),r={},i=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 i=i.replace(/#*$/,""),this._venmoPaymentContextId&&(this._shouldUseLegacyFlow?s+="|pcid:"+this._venmoPaymentContextId:r.resource_id=this._venmoPaymentContextId),this._shouldIncludeReturnUrls()?(r["x-success"]=i+"#venmoSuccess=1",r["x-cancel"]=i+"#venmoCancel=1",r["x-error"]=i+"#venmoError=1"):(r["x-success"]="NOOP",r["x-cancel"]="NOOP",r["x-error"]="NOOP"),r.ua=window.navigator.userAgent,r.braintree_merchant_id=this._profileId||n.merchantId,r.braintree_access_token=s,r.braintree_environment=n.environment,r.braintree_sdk_data=btoa(JSON.stringify(d)),a.VENMO_OPEN_URL+"?"+l.stringify(r)}.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)})).then((function(){return t._tokenizationInProgress=!1,function(e){var t={nonce:e.paymentMethodNonce,type:"VenmoAccount",details:{username:b(e.username),paymentContextId:e.id}};e.payerInfo&&(t.details.payerInfo=e.payerInfo,t.details.payerInfo.userName=b(e.payerInfo.userName));return t}(e)}))})).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(r){var i=t._shouldUseLegacyFlow?v.LEGACY_VENMO_PAYMENT_CONTEXT_STATUS_QUERY:v.VENMO_PAYMENT_CONTEXT_STATUS_QUERY;return r.request({api:"graphQLApi",data:{query:i,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 r=t.status;if(r!==e._venmoPaymentContextStatus)switch(e._venmoPaymentContextStatus=r,i.sendEvent(e._createPromise,"venmo.tokenize.manual-return.status-change."+r.toLowerCase()),r){case"EXPIRED":case"FAILED":case"CANCELED":return y.reject(new h(s["VENMO_MOBILE_POLLING_TOKENIZATION_"+r]));case"APPROVED":return y.resolve(t)}return new y((function(t,r){setTimeout((function(){e._pollForStatusChange().then(t).catch(r)}),e._mobilePollingInterval)}))}))},_.prototype._tokenizeForMobileWithManualReturn=function(){var e=this;return i.sendEvent(this._createPromise,"venmo.tokenize.manual-return.start"),this._mobilePollingContextExpiresIn=Date.now()+this._mobilePollingExpiresThreshold,this._tokenizePromise=new f,this._pollForStatusChange().then((function(t){i.sendEvent(e._createPromise,"venmo.tokenize.manual-return.success"),e._tokenizePromise.resolve({paymentMethodNonce:t.paymentMethodId,username:t.userName,payerInfo:t.payerInfo,id:e._venmoPaymentContextId})})).catch((function(t){i.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,r,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 i.sendEvent(this._createPromise,"venmo.tokenize.mobile.start"),this._tokenizePromise=new f,this._previousHash=window.location.hash,this._onHashChangeListener=function(e){var i=e.newURL.split("#")[1];n._hasTokenizationResult(i)&&(t=!0,clearTimeout(r),o(i))},window.addEventListener("hashchange",this._onHashChangeListener,!1),this._visibilityChangeListener=function(){var i=e.processResultsDelay||a.DEFAULT_PROCESS_RESULTS_DELAY;window.document.hidden||t||(r=setTimeout(o,i))},this.getUrl().then((function(e){return n.appSwitch(e),setTimeout((function(){window.document.addEventListener(P(),n._visibilityChangeListener)}),a.DOCUMENT_VISIBILITY_CHANGE_EVENT_DELAY),n._tokenizePromise}))},_.prototype._tokenizeForDesktop=function(){var e=this;return i.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(),i.sendEvent(e._createPromise,"venmo.tokenize.desktop.success"),e._tokenizePromise.resolve(t)})).catch((function(t){i.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)):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 r;return e._venmoPaymentContextId?(r=e._shouldUseLegacyFlow?v.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY:v.UPDATE_PAYMENT_CONTEXT_QUERY,t.request({api:"graphQLApi",data:{query:r,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(P(),this._visibilityChangeListener),delete this._visibilityChangeListener,delete this._onHashChangeListener},_.prototype.processResultsFromHash=function(e){var t=this,r=g(e);return new y((function(e,n){r.venmoSuccess?(i.sendEvent(t._createPromise,"venmo.appswitch.handle.success"),r.resource_id&&!t._shouldUseLegacyFlow?t._queryPaymentContextStatus(r.resource_id).then((function(n){if("APPROVED"!==n.status)return i.sendEvent(t._createPromise,"venmo.process-results.unexpected-payment-context-status."+n.status.toLowerCase()),void e(r);e({paymentMethodNonce:n.paymentMethodId,username:n.userName,payerInfo:n.payerInfo,id:r.resource_id})})).catch((function(){i.sendEvent(t._createPromise,"venmo.process-results.payment-context-status-query-failed"),e(r)})):e(r)):r.venmoError?(i.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(r.errorMessage),code:r.errorCode}}}))):r.venmoCancel?(i.sendEvent(t._createPromise,"venmo.appswitch.handle.cancel"),n(new h(s.VENMO_APP_CANCELED))):(i.sendEvent(t._createPromise,"venmo.appswitch.cancel-or-unavailable"),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":94,"../lib/braintree-error":99,"../lib/convert-methods-to-error":101,"../lib/in-iframe":124,"../lib/is-verified-domain":127,"../lib/methods":129,"../lib/promise":131,"../lib/querystring":132,"./external/":155,"./external/queries":156,"./shared/browser-detection":159,"./shared/constants":160,"./shared/errors":161,"./shared/supports-venmo":163,"@braintree/extended-promise":42,"@braintree/wrap-promise":51}],165:[function(e,t,r){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},i.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 r=u.indexOf(e);if(!t&&-1===r)throw new Error('"'+e+'" is not a supported card type.');return r}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(r){var i=h(r);o.addMatchingCardsToResults(e,i,t)}));var r=s.findBestMatch(t);return r?[r]: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 r=d[e]||n[e];if(!r)throw new Error('"'+e+"\" is not a recognized type. Use `addCard` instead.'");if(t.type&&r.type!==t.type)throw new Error("Cannot overwrite type parameter.");var o=l.clone(r);o=i(i({},o),t),d[o.type]=o},y.changeOrder=function(e,t){var r=m(e);u.splice(r,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":166,"./lib/card-types":167,"./lib/clone":168,"./lib/find-best-match":169,"./lib/is-valid-input-type":170}],166:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.addMatchingCardsToResults=void 0;var i=e("./clone"),n=e("./matches");r.addMatchingCardsToResults=function(e,t,r){var o,a;for(o=0;o<t.patterns.length;o++){var s=t.patterns[o];if(n.matches(e,s)){var l=i.clone(t);a=Array.isArray(s)?String(s[0]).length:String(s).length,e.length>=a&&(l.matchStrength=a),r.push(l);break}}}},{"./clone":168,"./matches":171}],167:[function(e,t,r){"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}},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}}}},{}],168:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.clone=void 0,r.clone=function(e){return e?JSON.parse(JSON.stringify(e)):null}},{}],169:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.findBestMatch=void 0,r.findBestMatch=function(e){return function(e){var t=e.filter((function(e){return e.matchStrength})).length;return t>0&&t===e.length}(e)?e.reduce((function(e,t){return e?Number(e.matchStrength)<Number(t.matchStrength)?t:e:t})):null}},{}],170:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isValidInputType=void 0,r.isValidInputType=function(e){return"string"==typeof e||e instanceof String}},{}],171:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.matches=void 0,r.matches=function(e,t){return Array.isArray(t)?function(e,t,r){var i=String(t).length,n=e.substr(0,i),o=parseInt(n,10);return t=parseInt(String(t).substr(0,n.length),10),r=parseInt(String(r).substr(0,n.length),10),o>=t&&o<=r}(e,t[0],t[1]):function(e,t){return(t=String(t)).substring(0,e.length)===e.substring(0,t.length)}(e,t)}},{}],172:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Framebus=void 0;var i=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,r){if(this.isDestroyed)return!1;var n=this.origin;if(e=this.namespaceEvent(e),i.isntString(e))return!1;if(i.isntString(n))return!1;"function"==typeof t&&(r=t,t=void 0);var s=a.packagePayload(e,n,t,r);return!!s&&(o.broadcast(window.top||window.self,s,n),!0)},e.prototype.emitAsPromise=function(t,r){var i=this;return new e.Promise((function(e,n){i.emit(t,r,(function(t){e(t)}))||n(new Error('Listener not added for "'+t+'"'))}))},e.prototype.on=function(e,t){if(this.isDestroyed)return!1;var r=this,i=this.origin,o=t;return e=this.namespaceEvent(e),!n.subscriptionArgsInvalid(e,o,i)&&(this.verifyDomain&&(o=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];r.checkOrigin(this&&this.origin)&&t.apply(void 0,e)}),this.listeners.push({eventName:e,handler:o,originalHandler:t}),s.subscribers[i]=s.subscribers[i]||{},s.subscribers[i][e]=s.subscribers[i][e]||[],s.subscribers[i][e].push(o),!0)},e.prototype.off=function(e,t){var r=t;if(this.isDestroyed)return!1;if(this.verifyDomain)for(var i=0;i<this.listeners.length;i++){var o=this.listeners[i];o.originalHandler===t&&(r=o.handler)}e=this.namespaceEvent(e);var a=this.origin;if(n.subscriptionArgsInvalid(e,r,a))return!1;var l=s.subscribers[a]&&s.subscribers[a][e];if(!l)return!1;for(i=0;i<l.length;i++)if(l[i]===r)return l.splice(i,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,r=document.createElement("a");return r.href=location.href,t="https:"===r.protocol?r.host.replace(/:443$/,""):"http:"===r.protocol?r.host.replace(/:80$/,""):r.host,r.protocol+"//"+t===e||(!this.verifyDomain||this.verifyDomain(e))},e.prototype.namespaceEvent=function(e){return this.channel?this.channel+":"+e:e},e.Promise=l,e}();r.Framebus=d},{"./lib/broadcast":176,"./lib/constants":177,"./lib/is-not-string":180,"./lib/package-payload":182,"./lib/subscription-args-invalid":184}],173:[function(e,t,r){"use strict";var i=e("./lib/attach"),n=e("./framebus");i.attach(),t.exports=n.Framebus},{"./framebus":172,"./lib/attach":174}],174:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.detach=r.attach=void 0;var i=e("./message"),n=!1;r.attach=function(){n||"undefined"==typeof window||(n=!0,window.addEventListener("message",i.onmessage,!1))},r.detach=function(){n=!1,window.removeEventListener("message",i.onmessage,!1)}},{"./message":181}],175:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.broadcastToChildWindows=void 0;var i=e("./broadcast"),n=e("./constants");r.broadcastToChildWindows=function(e,t,r){for(var o=n.childWindows.length-1;o>=0;o--){var a=n.childWindows[o];a.closed?n.childWindows.splice(o,1):r!==a&&i.broadcast(a.top,e,t)}}},{"./broadcast":176,"./constants":177}],176:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.broadcast=void 0;var i=e("./has-opener");r.broadcast=function e(t,r,n){var o,a=0;try{for(t.postMessage(r,n),i.hasOpener(t)&&t.opener.top!==window.top&&e(t.opener.top,r,n);o=t.frames[a];)e(o,r,n),a++}catch(s){}}},{"./has-opener":179}],177:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.subscribers=r.childWindows=r.prefix=void 0,r.prefix="/*framebus*/",r.childWindows=[],r.subscribers={}},{}],178:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.dispatch=void 0;var i=e("./constants");r.dispatch=function(e,t,r,n,o){if(i.subscribers[e]&&i.subscribers[e][t]){var a=[];r&&a.push(r),n&&a.push(n);for(var s=0;s<i.subscribers[e][t].length;s++)i.subscribers[e][t][s].apply(o,a)}}},{"./constants":177}],179:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.hasOpener=void 0,r.hasOpener=function(e){return e.top===e&&(null!=e.opener&&(e.opener!==e&&!0!==e.opener.closed))}},{}],180:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isntString=void 0,r.isntString=function(e){return"string"!=typeof e}},{}],181:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.onmessage=void 0;var i=e("./is-not-string"),n=e("./unpack-payload"),o=e("./dispatch"),a=e("./broadcast-to-child-windows");r.onmessage=function(e){if(!i.isntString(e.data)){var t=n.unpackPayload(e);if(t){var r=t.eventData,s=t.reply;o.dispatch("*",t.event,r,s,e),o.dispatch(e.origin,t.event,r,s,e),a.broadcastToChildWindows(e.data,t.origin,e.source)}}}},{"./broadcast-to-child-windows":175,"./dispatch":178,"./is-not-string":180,"./unpack-payload":185}],182:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.packagePayload=void 0;var i=e("./subscribe-replier"),n=e("./constants");r.packagePayload=function(e,t,r,o){var a,s={event:e,origin:t};"function"==typeof o&&(s.reply=i.subscribeReplier(o,t)),s.eventData=r;try{a=n.prefix+JSON.stringify(s)}catch(l){throw new Error("Could not stringify event: "+l.message)}return a}},{"./constants":177,"./subscribe-replier":183}],183:[function(e,t,r){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.subscribeReplier=void 0;var n=e("../framebus"),o=i(e("@braintree/uuid"));r.subscribeReplier=function(e,t){var r=o.default();return n.Framebus.target({origin:t}).on(r,(function i(o,a){e(o,a),n.Framebus.target({origin:t}).off(r,i)})),r}},{"../framebus":172,"@braintree/uuid":47}],184:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.subscriptionArgsInvalid=void 0;var i=e("./is-not-string");r.subscriptionArgsInvalid=function(e,t,r){return!!i.isntString(e)||("function"!=typeof t||i.isntString(r))}},{"./is-not-string":180}],185:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.unpackPayload=void 0;var i=e("./constants"),n=e("./package-payload");r.unpackPayload=function(e){var t;if(e.data.slice(0,i.prefix.length)!==i.prefix)return!1;try{t=JSON.parse(e.data.slice(i.prefix.length))}catch(s){return!1}if(t.reply){var r=e.origin,o=e.source,a=t.reply;t.reply=function(e){if(o){var t=n.packagePayload(a,r,e);t&&o.postMessage(t,r)}}}return t}},{"./constants":177,"./package-payload":182}],186:[function(e,t,r){var i,n,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(i===setTimeout)return setTimeout(e,0);if((i===a||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:a}catch(e){i=a}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var d,c=[],p=!1,u=-1;function h(){p&&d&&(p=!1,d.length?c=d.concat(c):u=-1,c.length&&m())}function m(){if(!p){var e=l(h);p=!0;for(var t=c.length;t;){for(d=c,c=[];++u<t;)d&&d[u].run();u=-1,t=c.length}d=null,p=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!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(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new y(e,t)),1!==c.length||p||l(m)},y.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=f,o.addListener=f,o.once=f,o.off=f,o.removeListener=f,o.removeAllListeners=f,o.emit=f,o.prependListener=f,o.prependOnceListener=f,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],187:[function(e,t,r){(function(e){(function(){"use strict";var r=setTimeout;function i(e){return Boolean(e&&void 0!==e.length)}function n(){}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new 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;0!==e._state?(e._handled=!0,o._immediateFn((function(){var r=1===e._state?t.onFulfilled:t.onRejected;if(null!==r){var i;try{i=r(e._value)}catch(n){return void l(t.promise,n)}s(t.promise,i)}else(1===e._state?s:l)(t.promise,e._value)}))):e._deferreds.push(t)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var r=t.then;if(t instanceof o)return e._state=3,e._value=t,void d(e);if("function"==typeof r)return void p((i=r,n=t,function(){i.apply(n,arguments)}),e)}e._state=1,e._value=t,d(e)}catch(a){l(e,a)}var i,n}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,r=e._deferreds.length;t<r;t++)a(e,e._deferreds[t]);e._deferreds=null}function c(e,t,r){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=r}function p(e,t){var r=!1;try{e((function(e){r||(r=!0,s(t,e))}),(function(e){r||(r=!0,l(t,e))}))}catch(i){if(r)return;r=!0,l(t,i)}}o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,t){var r=new this.constructor(n);return a(this,new c(e,t,r)),r},o.prototype.finally=function(e){var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){return t.reject(r)}))}))},o.all=function(e){return new o((function(t,r){if(!i(e))return r(new TypeError("Promise.all accepts an array"));var n=Array.prototype.slice.call(e);if(0===n.length)return t([]);var o=n.length;function a(e,i){try{if(i&&("object"==typeof i||"function"==typeof i)){var s=i.then;if("function"==typeof s)return void s.call(i,(function(t){a(e,t)}),r)}n[e]=i,0==--o&&t(n)}catch(l){r(l)}}for(var s=0;s<n.length;s++)a(s,n[s])}))},o.allSettled=function(e){return new this((function(t,r){if(!e||void 0===e.length)return r(new TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);var n=i.length;function o(e,r){if(r&&("object"==typeof r||"function"==typeof r)){var a=r.then;if("function"==typeof a)return void a.call(r,(function(t){o(e,t)}),(function(r){i[e]={status:"rejected",reason:r},0==--n&&t(i)}))}i[e]={status:"fulfilled",value:r},0==--n&&t(i)}for(var a=0;a<i.length;a++)o(a,i[a])}))},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,r){r(e)}))},o.race=function(e){return new o((function(t,r){if(!i(e))return r(new TypeError("Promise.race accepts an array"));for(var n=0,a=e.length;n<a;n++)o.resolve(e[n]).then(t,r)}))},o._immediateFn="function"==typeof e&&function(t){e(t)}||function(e){r(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:191}],188:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isIos=r.isIE9=r.isSamsungBrowser=r.isAndroidChrome=r.isKitKatWebview=void 0;var i="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");r.isIos=s;var l=e("@braintree/browser-detection/is-ie9");r.isIE9=l;var d=/Version\/\d\.\d* Chrome\/\d*\.0\.0\.0/;r.isKitKatWebview=function(e){return void 0===e&&(e=i),n(e)&&d.test(e)},r.isAndroidChrome=function(e){return void 0===e&&(e=i),(n(e)||o(e))&&a(e)},r.isSamsungBrowser=function(e){return void 0===e&&(e=i),/SamsungBrowser/.test(e)||function(e){return!a(e)&&e.indexOf("Samsung")>-1}(e)}},{"@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}],189:[function(e,t,r){"use strict";var i=e("./lib/device");t.exports=function(){return!(0,i.isSamsungBrowser)()}},{"./lib/device":188}],190:[function(e,t,r){t.exports=e("./dist/supports-input-formatting")},{"./dist/supports-input-formatting":189}],191:[function(e,t,r){(function(t,i){(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}r.setTimeout=function(){return new d(o.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new d(o.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e.close()},d.prototype.unref=d.prototype.ref=function(){},d.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},r.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},r._unrefActive=r.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r.setImmediate="function"==typeof t?t:function(e){var t=l++,i=!(arguments.length<2)&&a.call(arguments,1);return s[t]=!0,n((function(){s[t]&&(i?e.apply(null,i):e.call(null),r.clearImmediate(t))})),t},r.clearImmediate="function"==typeof i?i:function(e){delete s[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":186,timers:191}],192:[function(e,t,r){"use strict";t.exports={paymentOptionIDs:{card:"card",paypal:"paypal",paypalCredit:"paypalCredit",applePay:"applePay",venmo:"venmo",googlePay:"googlePay"},paymentMethodTypes:{card:"CreditCard",paypal:"PayPalAccount",paypalCredit:"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",Elo:"elo",Hiper:"hiper",Hipercard:"hipercard"},configurationCardTypes:{visa:"Visa","master-card":"MasterCard","american-express":"American Express","diners-club":"Discover",discover:"Discover",jcb:"JCB",unionpay:"UnionPay",maestro:"Maestro",elo:"Elo",hiper:"Hiper",hipercard:"Hipercard"},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"}},{}],193:[function(e,t,r){"use strict";var i=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,r=setInterval((function(){for(e in t.dependencyStates)if(t.dependencyStates[e]===d.INITIALIZING)return;clearInterval(r),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 Boolean(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(){i.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 Boolean(this._isInEditMode)},_.prototype.confirmPaymentMethodDeletion=function(e){this._paymentMethodWaitingToBeDeleted=e,this._emit("confirmPaymentMethodDeletion",e)},_.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,r=(e.selectedPaymentMethod&&e.selectedPaymentMethod.nonce)===this._paymentMethodRequestableNonce;return!!this._setupComplete&&!(t&&(!e.isRequestable||r))},_.prototype.setPaymentMethodRequestable=function(e){var t=this._shouldEmitRequestableEvent(e),r={paymentMethodIsSelected:Boolean(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",r):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,r=p.resolve();return this._emit("startVaultedPaymentMethodDeletion"),t.isGuestCheckout||(r=this._vaultManager.deletePaymentMethod(this._paymentMethodWaitingToBeDeleted.nonce).catch((function(t){e=t}))),r.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 r=s[t];return function(e){return e&&-1===y.indexOf(e)}(r)&&e.push(r),e}),[]);return e.filter((function(e){return t.indexOf(e.type)>-1}))},_.prototype._getSupportedPaymentOptions=function(e){var t,r=this,i=e.merchantConfiguration.paymentOptionPriority||f;if(!(i instanceof Array))throw new n("paymentOptionPriority must be an array.");return t=(i=i.filter((function(e,t){return i.indexOf(e)===t}))).map((function(t){return function(e,t){return function(e,t){var r=u[l[e]];if(!r)return p.reject(new n("paymentOptionPriority: Invalid payment option specified."));return r.isEnabled({client:t.client,merchantConfiguration:t.merchantConfiguration}).catch((function(e){return console.error(r.ID+" view errored when checking if it was supported."),console.error(e),p.resolve(!1)}))}(e,t).then((function(t){return{success:t,id:l[e]}}))}(t,e).then((function(e){return e.success||(r.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":192,"./lib/analytics":197,"./lib/dropin-error":202,"./lib/is-guest-checkout":204,"./lib/promise":209,"./views/payment-options-view":255,"./views/payment-sheet-views":260,"@braintree/event-emitter":41,"braintree-web/vault-manager":153}],194:[function(e,t,r){"use strict";var i=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,r,o=this,a=o._merchantConfiguration.container||o._merchantConfiguration.selector;return a?o._merchantConfiguration.container&&o._merchantConfiguration.selector?(n.sendEvent(o._client,"configuration-error"),void e(new s("Must only have one options.selector or options.container."))):("string"==typeof a&&(a=document.querySelector(a)),a&&1===a.nodeType?a.innerHTML.trim()?(n.sendEvent(o._client,"configuration-error"),void e(new s("options.selector or options.container must reference an empty DOM node."))):(o._strings=i({},m.en),o._merchantConfiguration.locale&&(t=m[o._merchantConfiguration.locale]||m[o._merchantConfiguration.locale.split("_")[0]],o._strings=i(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])})),r=Object.keys(o._strings).reduce((function(e,t){var r=o._strings[t];return e.replace(RegExp("{{"+t+"}}","g"),r)}),'<div class="braintree-dropin">\n <div data-braintree-id="methods-label" class="braintree-heading">&nbsp;</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">&nbsp;</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}}\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">\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" 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" 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.667-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" 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" 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" fill="#000" />\n <path 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" 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" 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" 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.607 2.93 8.74 2 9.878 2z" 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" 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" 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" 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-.128-.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" 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" 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-.183l.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" 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" 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" fill="#FFF" />\n <path 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" 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" 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" 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" 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-.007-.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" 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" fill="#FFF" />\n <path d="M38.995 11.75S27.522 20.1 6.5 23.5h31.495c.552 0 1-.448 1-1V11.75z" 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" 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" 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" 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" fill="#FEFEFE" />\n <path 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" 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" 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.117.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" fill="#000" />\n <path 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" 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" fill="#00A1DF" />\n </symbol>\n\n <symbol id="icon-elo" viewBox="0 0 48 29">\n <title>Elo</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" 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" fill="#828282" />\n <rect fill="#828282" x="10.8" y="22.167" width="3.6" height="2.333" rx="1.167" />\n <rect 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" fill="#828282" />\n <ellipse fill="#828282" cx="40.2" cy="6.417" rx="3" ry="2.917" />\n </symbol>\n\n <symbol id="icon-hiper" viewBox="0 0 48 29">\n <title>Hiper</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" 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" fill="#828282" />\n <rect fill="#828282" x="10.8" y="22.167" width="3.6" height="2.333" rx="1.167" />\n <rect 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" fill="#828282" />\n <ellipse fill="#828282" cx="40.2" cy="6.417" rx="3" ry="2.917" />\n </symbol>\n\n <symbol id="icon-hipercard" viewBox="0 0 48 29">\n <title>Hipercard</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" 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" fill="#828282" />\n <rect fill="#828282" x="10.8" y="22.167" width="3.6" height="2.333" rx="1.167" />\n <rect 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" fill="#828282" />\n <ellipse fill="#828282" cx="40.2" cy="6.417" rx="3" ry="2.917" />\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" 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" 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" 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" 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" 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" 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.15-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" 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" 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" 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" 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" 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" 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" 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" fill="#828282" />\n <rect fill="#828282" x="10.8" y="22.167" width="3.6" height="2.333" rx="1.167" />\n <rect 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" fill="#828282" />\n <ellipse fill="#828282" cx="40.2" cy="6.417" rx="3" ry="2.917" />\n </symbol>\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" fill="#FFF"/>\n <path 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" fill="#000" fill-rule="nonzero" />\n <circle fill="#828282" cx="23.5" cy="16.5" r="1.5" />\n <circle fill="#828282" cx="27.5" cy="16.5" r="1.5" />\n <circle 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" 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" fill="#000" fill-rule="nonzero" />\n <circle fill="#828282" cx="19.5" cy="8.5" r="1.5" />\n <circle fill="#828282" cx="27.5" cy="8.5" r="1.5" />\n <circle fill="#828282" cx="23.5" cy="8.5" r="1.5" />\n <circle 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" 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" fill="none" />\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 <path id="_Path_" data-name="&lt;Path&gt;" fill="#231f20" 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="&lt;Path&gt;" fill="#fff" 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="&lt;Group&gt;">\n <g id="_Group_2" data-name="&lt;Group&gt;">\n <path id="_Path_3" data-name="&lt;Path&gt;" 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="&lt;Path&gt;" 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="&lt;Group&gt;">\n <path id="_Compound_Path_" data-name="&lt;Compound Path&gt;" fill="#231f20" 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="&lt;Compound Path&gt;" fill="#231f20" 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="&lt;Compound Path&gt;" fill="#231f20" 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,0c7.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.9620444.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'+r,a.appendChild(o._dropinWrapper),o._model=new l({client:o._client,container:a,componentID:o._componentID,merchantConfiguration:o._merchantConfiguration}),o._injectStylesheet(),void 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)}))}))):(n.sendEvent(o._client,"configuration-error"),void e(new s("options.selector or options.container must reference a valid DOM node.")))):(n.sendEvent(o._client,"configuration-error"),void e(new s("options.container is required.")))},I.prototype.updateConfiguration=function(e,t,r){var i;-1!==C.indexOf(e)&&("threeDSecure"!==e?(i=this._mainView.getView(e))&&(i.updateConfiguration(t,r),-1!==T.indexOf(e)&&(this._removeUnvaultedPaymentMethods((function(t){return t.type===a.paymentMethodTypes[e]})),this._navigateToInitialView())):this._threeDSecure&&this._threeDSecure.updateConfiguration(t,r))},I.prototype.getAvailablePaymentOptions=function(){return this._model.supportedPaymentOptions},I.prototype.clearSelectedPaymentMethod=function(){this._removeUnvaultedPaymentMethods(),this._model.removeActivePaymentMethod(),0!==this._model.getPaymentMethods().length?(this._mainView.showLoadingIndicator(),this._model.refreshPaymentMethods().then(function(){this._navigateToInitialView(),this._mainView.hideLoadingIndicator()}.bind(this))):this._navigateToInitialView()},I.prototype._setUpDataCollector=function(){var e=this,t=i({},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},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 r=e[t],i=r.div,n=r.clickHandler,s=this._model.failedDependencies[t],l=i.querySelector(".braintree-option__disabled-message");o.add(i,"braintree-disabled"),i.removeEventListener("click",n),l.innerHTML=a.errors.DEVELOPER_MISCONFIGURATION_MESSAGE,console.error(s)}.bind(this)))},I.prototype._sendVaultedPaymentMethodAppearAnalyticsEvents=function(){var e,t,r={},i=this._model._paymentMethods;for(e=0;e<i.length;e++)(t=i[e].type)in r||(r[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(r){return t._shouldPerformThreeDSecureVerification(r)?(t._mainView.showLoadingIndicator(),t._threeDSecure.verify(r,e.threeDSecure).then((function(e){return r.nonce=e.nonce,r.liabilityShifted=e.liabilityShifted,r.liabilityShiftPossible=e.liabilityShiftPossible,r.threeDSecureInfo=e.threeDSecureInfo,t._mainView.hideLoadingIndicator(),r})).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}))}))}))):r})).then((function(e){return t._dataCollector&&(e.deviceData=t._dataCollector.getDeviceData()),e})).then((function(e){return function(e){var 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);return t}(e)}))},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.33.1/css/dropin.css",this._model.isInShadowDom&&(t.container=this._model.rootNode),c.loadStylesheet(t))},I.prototype.teardown=function(){var e,t=E.resolve(),r=this;return this._removeStylesheet(),this._mainView&&t.then((function(){return r._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 r._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":192,"./dropin-model":193,"./lib/analytics":197,"./lib/assign":198,"./lib/data-collector":201,"./lib/dropin-error":202,"./lib/is-utf-8":206,"./lib/promise":209,"./lib/sanitize-html":210,"./lib/three-d-secure":212,"./translations":233,"./views/main-view":252,"./views/payment-methods-view":254,"@braintree/asset-loader":1,"@braintree/class-list":40,"@braintree/event-emitter":41,"@braintree/uuid":47,"@braintree/wrap-promise":51}],195:[function(e,t,r){"use strict";var i=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.33.1";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){return"TOKENIZATION_KEY"===(t=function(e){var t=e.getConfiguration();return t.analyticsMetadata.integration=a.INTEGRATION,t.analyticsMetadata.integrationType=a.INTEGRATION,t.analyticsMetadata.dropinVersion=p,e.getConfiguration=function(){return t},e}(t)).getConfiguration().authorizationType?s.sendEvent(t,"started.tokenization-key"):s.sendEvent(t,"started.client-token"),new d((function(r,n){new i({merchantConfiguration:e,client:t})._initialize((function(e,t){e?n(e):r(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":192,"./dropin":194,"./lib/analytics":197,"./lib/create-from-script-tag":200,"./lib/dropin-error":202,"./lib/promise":209,"@braintree/wrap-promise":51,"braintree-web/client":60}],196:[function(e,t,r){"use strict";t.exports=function(e,t){e.addEventListener("click",t),e.addEventListener("keyup",(function(e){13===e.keyCode&&t()}))}},{}],197:[function(e,t,r){"use strict";var i=e("./polyfill").atob,n=e("../constants"),o=e("braintree-web/client").VERSION;t.exports={sendEvent:function(e,t,r){var a,s=e.getConfiguration(),l=e._request,d=(a=Date.now(),Math.floor(a/1e3)),c=s.gatewayConfiguration.analytics.url,p={analytics:[{kind:n.ANALYTICS_PREFIX+t,timestamp:d}],_meta:s.analyticsMetadata,braintreeLibraryVersion:o};"TOKENIZATION_KEY"===s.authorizationType?p.tokenizationKey=s.authorization:p.authorizationFingerprint=JSON.parse(i(s.authorization)).authorizationFingerprint,l({url:c,method:"post",data:p,timeout:n.ANALYTICS_REQUEST_TIMEOUT_MS},r)}}},{"../constants":192,"./polyfill":208,"braintree-web/client":60}],198:[function(e,t,r){"use strict";var i="function"==typeof Object.assign?Object.assign:n;function n(e){var t,r,i;for(t=1;t<arguments.length;t++)for(i in r=arguments[t])r.hasOwnProperty(i)&&(e[i]=r[i]);return e}t.exports={assign:i,_assign:n}},{}],199:[function(e,t,r){"use strict";var i=e("@braintree/browser-detection/is-ie9"),n=e("@braintree/browser-detection/is-ie10");t.exports={isIe9:i,isIe10:n}},{"@braintree/browser-detection/is-ie10":32,"@braintree/browser-detection/is-ie9":33}],200:[function(e,t,r){"use strict";var i=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,r){var i=r.querySelector('[name="'+e+'"]');i||((i=document.createElement("input")).type="hidden",i.name=e,r.appendChild(i)),i.value=t}function c(e,t,r){var i=t.split("."),n=s(i[0]);1===i.length?e[n]=function(e){try{return JSON.parse(e)}catch(t){return e}}(r):(e[n]=e[n]||{},c(e[n],i.slice(1).join("."),r))}t.exports=function(e,t){var r,s,p,u;if(t){if(!(r=t.getAttribute("data-braintree-dropin-authorization")))throw new a("Authorization not found in data-braintree-dropin-authorization attribute");if((s=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(s,t),p={authorization:r,container:s},l.forEach((function(e){var r=t.getAttribute("data-"+e);null!=r&&c(p,e,r)})),e(p).then((function(e){i.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":197,"./dropin-error":202,"./find-parent-form":203,"./kebab-case-to-camel-case":207,"@braintree/uuid":47}],201:[function(e,t,r){(function(r){(function(){"use strict";var i=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 r.braintree&&r.braintree.dataCollector?a.resolve():(t=e._config.client.getVersion(),o.loadScript({src:"https://js.braintreegateway.com/web/"+t+"/js/data-collector.min.js",id:i.DATA_COLLECTOR_SCRIPT_ID}))})).then((function(){return r.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,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../constants":192,"./analytics":197,"./promise":209,"@braintree/asset-loader":1}],202:[function(e,t,r){"use strict";function i(e){this.name="DropinError",this.message="string"==typeof e?e:e.message,!function(e){return"BraintreeError"===e.name}(e)?this._braintreeWebError=e.braintreeWebError:this._braintreeWebError=e}i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,t.exports=i},{}],203:[function(e,t,r){"use strict";t.exports={findParentForm:function e(t){var r=t.parentNode;return r&&"FORM"!==r.nodeName?e(r):r}}},{}],204:[function(e,t,r){"use strict";var i=e("./polyfill").atob;t.exports=function(e){var t,r=e.getConfiguration();return"TOKENIZATION_KEY"===r.authorizationType||(!(t=JSON.parse(i(r.authorization)).authorizationFingerprint)||-1===t.indexOf("customer_id="))}},{"./polyfill":208}],205:[function(e,t,r){(function(e){(function(){"use strict";t.exports={isHTTPS:function(){return"https:"===e.location.protocol}}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],206:[function(e,t,r){(function(e){(function(){"use strict";t.exports=function(t){return t=t||e,Boolean(t.document.characterSet&&"utf-8"===t.document.characterSet.toLowerCase())}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],207:[function(e,t,r){"use strict";t.exports=function(e){var t=e.split("-"),r=t.shift(),i=t.map((function(e){return e.charAt(0).toUpperCase()+e.substring(1)}));return[r].concat(i).join("")}},{}],208:[function(e,t,r){(function(e){(function(){"use strict";var r="function"==typeof e.atob?e.atob:i;function i(e){var t,r,i,n,o,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="";if(!new RegExp("^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})([=]{1,2})?$").test(e))throw new Error("Non base64 encoded input passed to window.atob polyfill");a=0;do{t=(63&s.indexOf(e.charAt(a++)))<<2|(n=s.indexOf(e.charAt(a++)))>>4&3,r=(15&n)<<4|(o=s.indexOf(e.charAt(a++)))>>2&15,i=(3&o)<<6|63&s.indexOf(e.charAt(a++)),l+=String.fromCharCode(t)+(r?String.fromCharCode(r):"")+(i?String.fromCharCode(i):"")}while(a<e.length);return l}t.exports={atob:function(t){return r.call(e,t)},_atob:i}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],209:[function(e,t,r){(function(r){(function(){"use strict";var i=r.Promise||e("promise-polyfill");t.exports=i}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"promise-polyfill":187}],210:[function(e,t,r){"use strict";t.exports=function(e){return"string"!=typeof e?"":e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}},{}],211:[function(e,t,r){"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"})),Boolean(e.style.length)}},{}],212:[function(e,t,r){"use strict";var i=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=i({},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(r){e._model._emit("3ds:"+t,r)}))}))}))},a.prototype.verify=function(e,t){var r=i({amount:this._config.amount},t,{nonce:e.nonce,bin:e.details.bin,onLookupComplete:function(e,t){t()}});return r.additionalInformation=r.additionalInformation||{},r.additionalInformation.acsWindowSize=r.additionalInformation.acsWindowSize||"03",this._instance.verifyCard(r)},a.prototype.updateConfiguration=function(e,t){this._config[e]=t},a.prototype.teardown=function(){return this._instance.teardown()},t.exports=a},{"./assign":198,"braintree-web/three-d-secure":148}],213:[function(e,t,r){"use strict";var i=e("./browser-detection");function n(e){return!!e&&("none"===e.style.display||n(e.parentNode))}t.exports={onTransitionEnd:function(e,t,r){i.isIe9()||n(e)?r():e.addEventListener("transitionend",(function i(n){n.propertyName===t&&(e.removeEventListener("transitionend",i),r())}))}}},{"./browser-detection":199}],214:[function(e,t,r){"use strict";var i=e("./promise");t.exports={delay:function(e){return e=e||0,new i((function(t){window.setTimeout(t,e)}))}}},{"./promise":209}],215:[function(e,t,r){"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:"يرجى إدخال رمز حماية البطاقة.",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:"الشهر/ السنة",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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],216:[function(e,t,r){"use strict";t.exports={payingWith:"Forma úhrady: {{paymentSource}}",chooseAnotherWayToPay:"Vybrat jiný způsob platby",chooseAWayToPay:"Vybrat způsob platby",otherWaysToPay:"Jiné způsoby platby",edit:"Upravit",doneEditing:"Hotovo",editPaymentMethods:"Upravit způsoby platby",CreditCardDeleteConfirmationMessage:"Chcete kartu {{secondaryIdentifier}} s koncovým číslem {{identifier}}odstranit?",PayPalAccountDeleteConfirmationMessage:"Chcete {{identifier}}účtu PayPal odstranit?",VenmoAccountDeleteConfirmationMessage:"Opravdu chcete účet Venmo s uživatelským jménem {{identifier}} odstranit?",genericDeleteConfirmationMessage:"Opravdu chcete tento způsob platby odstranit?",deleteCancelButton:"Zrušit",deleteConfirmationButton:"Odstranit",fieldEmptyForCvv:"Vyplňte kód CVV.",fieldEmptyForExpirationDate:"Vyplňte datum vypršení platnosti.",fieldEmptyForCardholderName:"Vyplňte jméno držitele karty.",fieldTooLongForCardholderName:"Jméno držitele karty musí obsahovat méně než 256 znaků.",fieldEmptyForNumber:"Vyplňte číslo.",fieldEmptyForPostalCode:"Vyplňte poštovní směrovací číslo.",fieldInvalidForCardholderName:"Toto jméno držitele karty není platné.",fieldInvalidForCvv:"Tento bezpečnostní kód není platný.",fieldInvalidForExpirationDate:"Toto datum vypršení platnosti není platné.",fieldInvalidForNumber:"Toto číslo karty není platné.",fieldInvalidForPostalCode:"Toto poštovní směrovací číslo není platné.",genericError:"Došlo k chybě na naší straně.",hostedFieldsTokenizationFailOnDuplicateError:"Tato kreditní karta je již jako způsob platby uložena.",hostedFieldsFailedTokenizationError:"Zkontrolujte zadané informace a zkuste to znovu.",hostedFieldsFieldsInvalidError:"Zkontrolujte zadané informace a zkuste to znovu.",hostedFieldsTokenizationNetworkErrorError:"Došlo k chybě sítě. Zkuste to znovu.",hostedFieldsTokenizationCvvVerificationFailedError:"Ověření kreditní karty se nezdařilo. Zkontrolujte zadané informace a zkuste to znovu.",paypalButtonMustBeUsed:"Chcete-li přejít k platbě, použijte tlačítko PayPal.",paypalAccountTokenizationFailedError:"Při přidávání účtu PayPal došlo k chybě. Zkuste to znovu.",paypalFlowFailedError:"Při připojování ke službě PayPal došlo k chybě. Zkuste to znovu.",paypalTokenizationRequestActiveError:"Autorizace platby přes PayPal již probíhá.",venmoCanceledError:"Došlo k chybě. Zkontrolujte, zda máte v zařízení nainstalovanou nejnovější verzi aplikace Venmo a zda prohlíž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řízení nepodařilo najít.",unsupportedCardTypeError:"Tento typ karty není podporován. Vyzkoušejte jinou kartu.",applePayTokenizationError:"Při zpracování platby přes Apple Pay došlo k chybě sítě. Zkuste to znovu.",applePayActiveCardError:"Přidejte si podporovanou kartu do peněženky Apple Pay.",cardholderNameLabel:"Jméno držitele karty",cardNumberLabel:"Číslo karty",cvvLabel:"Kód CVV",cvvThreeDigitLabelSubheading:"(3 číslice)",cvvFourDigitLabelSubheading:"(4 číslice)",cardholderNamePlaceholder:"Jméno držitele karty",expirationDateLabel:"Datum vypršení platnosti",expirationDateLabelSubheading:"(MM/RR)",expirationDatePlaceholder:"MM/RR",postalCodeLabel:"Poštovní směrovací číslo",saveCardLabel:"Uložit kartu",payWithCard:"Zaplatit kartou",endingIn:"Koncové číslo {{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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],217:[function(e,t,r){"use strict";t.exports={payingWith:"Betaling med {{paymentSource}}",chooseAnotherWayToPay:"Vælg en anden betalingsmetode",chooseAWayToPay:"Vælg, hvordan du vil betale",otherWaysToPay:"Andre måder at betale på",edit:"Rediger",doneEditing:"Udført",editPaymentMethods:"Rediger betalingsmetode",CreditCardDeleteConfirmationMessage:"Vil du slette dit {{secondaryIdentifier}}-kort, der slutter på {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Vil du slette PayPal-kontoen for {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Er du sikker på, at du vil slette Venmo-konto med brugernavnet {{identifier}}?",genericDeleteConfirmationMessage:"Er du sikker på, at du vil slette denne betalingsmetode?",deleteCancelButton:"Annuller",deleteConfirmationButton:"Slet",fieldEmptyForCvv:"Du skal indtaste kontrolcifrene.",fieldEmptyForExpirationDate:"Du skal indtaste en udløbsdato.",fieldEmptyForCardholderName:"Du skal indtaste kortholderens navn.",fieldTooLongForCardholderName:"Kortholders navn skal være mindre end 256 tegn.",fieldEmptyForNumber:"Du skal indtaste et nummer.",fieldEmptyForPostalCode:"Du skal indtaste et postnummer.",fieldInvalidForCardholderName:"Kortindehaverens navn er ugyldigt.",fieldInvalidForCvv:"Denne sikkerhedskode er ugyldig.",fieldInvalidForExpirationDate:"Denne udløbsdato er ugyldig.",fieldInvalidForNumber:"Dette kortnummer er ikke gyldigt.",fieldInvalidForPostalCode:"Dette postnummer er ikke gyldigt.",genericError:"Der opstod en fejl.",hostedFieldsTokenizationFailOnDuplicateError:"Dette betalingskort findes allerede som en gemt betalingsmetode.",hostedFieldsFailedTokenizationError:"Tjek oplysningerne, og prøv igen.",hostedFieldsFieldsInvalidError:"Tjek oplysningerne, og prøv igen.",hostedFieldsTokenizationNetworkErrorError:"Netværksfejl. Prøv igen.",hostedFieldsTokenizationCvvVerificationFailedError:"Bekræftelse af betalingskort mislykkedes. Tjek oplysningerne, og prøv igen.",paypalButtonMustBeUsed:"Brug PayPal-knappen til at fortsætte med din betaling.",paypalAccountTokenizationFailedError:"Der opstod en fejl under tilføjelsen af PayPal-kontoen. Prøv igen.",paypalFlowFailedError:"Det lykkedes ikke at oprette forbindelse til PayPal. Prøv igen.",paypalTokenizationRequestActiveError:"PayPals betalingsautorisation er allerede i gang.",venmoCanceledError:"Der opstod et problem. Sørg for, at den nyeste version af Venmo-appen er installeret på din enhed, og at din browser understøtter skift til Venmo.",vaultManagerPaymentMethodDeletionError:"Betalingsmetoden kunne ikke slettes. Prøv igen.",venmoAppFailedError:"Venmo-appen blev ikke fundet på din enhed.",unsupportedCardTypeError:"Korttypen understøttes ikke. Prøv et andet kort.",applePayTokenizationError:"Der opstod en netværksfejl under behandling af Apple Pay-betalingen. Prøv igen.",applePayActiveCardError:"Føj et understøttet 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øbsdato",expirationDateLabelSubheading:"(MM/ÅÅ)",expirationDatePlaceholder:"MM/ÅÅ",postalCodeLabel:"Postnummer",saveCardLabel:"Gem kort",payWithCard:"Betal med betalingskort",endingIn:"Slutter på {{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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],218:[function(e,t,r){"use strict";t.exports={payingWith:"Zahlen mit {{paymentSource}}",chooseAnotherWayToPay:"Wählen Sie eine andere Zahlungsquelle",chooseAWayToPay:"Wählen Sie eine Zahlungsquelle",otherWaysToPay:"Sonstige Zahlungsquellen",edit:"Ändern",doneEditing:"Fertig",editPaymentMethods:"Zahlungsquellen bearbeiten",CreditCardDeleteConfirmationMessage:"{{secondaryIdentifier}}-Karte mit den Endziffern {{identifier}} löschen?",PayPalAccountDeleteConfirmationMessage:"PayPal-Konto {{identifier}} löschen?",VenmoAccountDeleteConfirmationMessage:"Wollen Sie das Venmo-Konto mit dem Benutzernamen {{identifier}} wirklich löschen?",genericDeleteConfirmationMessage:"Möchten Sie diese Zahlungsquelle wirklich löschen?",deleteCancelButton:"Abbrechen",deleteConfirmationButton:"Löschen",fieldEmptyForCvv:"Geben Sie die Kartenprüfnummer (CVV) ein.",fieldEmptyForExpirationDate:"Geben Sie das Ablaufdatum ein.",fieldEmptyForCardholderName:"Geben Sie den Namen des Karteninhabers ein.",fieldTooLongForCardholderName:"Der Name des Karteninhabers darf nicht länger als 256 Zeichen sein.",fieldEmptyForNumber:"Geben Sie eine Nummer ein.",fieldEmptyForPostalCode:"Geben Sie eine Postleitzahl ein.",fieldInvalidForCardholderName:"Der Name des Karteninhabers ist nicht gültig.",fieldInvalidForCvv:"Diese Kartenprüfnummer ist ungültig.",fieldInvalidForExpirationDate:"Dieses Ablaufdatum ist ungültig.",fieldInvalidForNumber:"Diese Kartennummer ist ungültig.",fieldInvalidForPostalCode:"Diese Postleitzahl ist ungültig.",genericError:"Bei uns ist ein Fehler aufgetreten.",hostedFieldsTokenizationFailOnDuplicateError:"Diese Kreditkarte ist bereits als gespeicherte Zahlungsquelle vorhanden.",hostedFieldsFailedTokenizationError:"Bitte prüfen Sie die Informationen und versuchen Sie es erneut.",hostedFieldsFieldsInvalidError:"Bitte prüfen Sie die Informationen und versuchen Sie es erneut.",hostedFieldsTokenizationNetworkErrorError:"Netzwerkfehler. Versuchen Sie es bitte erneut.",hostedFieldsTokenizationCvvVerificationFailedError:"Die Kreditkartenverifizierung ist fehlgeschlagen. Bitte prüfen Sie die Informationen und versuchen Sie es erneut.",paypalButtonMustBeUsed:"Verwenden Sie den PayPal-Button, um mit der Zahlung fortzufahren.",paypalAccountTokenizationFailedError:"Beim Hinzufügen des PayPal-Kontos ist ein Fehler aufgetreten. Versuchen Sie es bitte erneut.",paypalFlowFailedError:"Bei der Verbindung mit PayPal ist ein Fehler aufgetreten. Versuchen Sie es bitte erneut.",paypalTokenizationRequestActiveError:"Die PayPal-Zahlungsautorisierung wird bereits vorgenommen.",venmoCanceledError:"Etwas ist schief gelaufen. Vergewissern Sie sich, dass Sie die neueste Version der Venmo-App auf Ihrem Gerät installiert haben und Ihr Browser den Wechsel zu Venmo unterstützt.",vaultManagerPaymentMethodDeletionError:"Die Zahlungsquelle konnte nicht gelöscht werden. Versuchen Sie es erneut.",venmoAppFailedError:"Die Venmo-App wurde nicht auf Ihrem Gerät gefunden.",unsupportedCardTypeError:"Dieser Kartentyp wird nicht unterstützt. Versuchen Sie es mit einer anderen Karte.",applePayTokenizationError:"Bei der Verarbeitung der Apple Pay-Zahlung ist ein Netzwerkfehler aufgetreten. Versuchen Sie es bitte erneut.",applePayActiveCardError:"Fügen Sie Ihrem Apple Pay-Wallet eine unterstützte Karte hinzu.",cardholderNameLabel:"Name des Karteninhabers",cardNumberLabel:"Kartennummer",cvvLabel:"Kartenprüfnummer",cvvThreeDigitLabelSubheading:"(3-stellig)",cvvFourDigitLabelSubheading:"(4-stellig)",cardholderNamePlaceholder:"Name des Karteninhabers",expirationDateLabel:"Gültig bis",expirationDateLabelSubheading:"(MM/JJ)",expirationDatePlaceholder:"MM/JJ",postalCodeLabel:"Postleitzahl",saveCardLabel:"Karte speichern",payWithCard:"Mit Karte zahlen",endingIn:"Mit den Endziffern {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Karte",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],219:[function(e,t,r){"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 για να συνεχίσετε με την πληρωμή.",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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],220:[function(e,t,r){"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 enter a CVV.",fieldEmptyForExpirationDate:"Please enter an expiry date.",fieldEmptyForCardholderName:"Please enter a cardholder name.",fieldTooLongForCardholderName:"Cardholder name must be less than 256 characters.",fieldEmptyForNumber:"Please enter a number.",fieldEmptyForPostalCode:"Please enter a postcode.",fieldInvalidForCardholderName:"This cardholder name isn't valid.",fieldInvalidForCvv:"This CVV isn't valid.",fieldInvalidForExpirationDate:"This expiry date isn't valid.",fieldInvalidForNumber:"This card number isn't valid.",fieldInvalidForPostalCode:"This postcode isn't valid.",genericError:"We're sorry, something seems to have gone wrong.",hostedFieldsTokenizationFailOnDuplicateError:"This card already exists as a saved payment method.",hostedFieldsFailedTokenizationError:"Please check your entries and try again.",hostedFieldsFieldsInvalidError:"Please check your entries and try again.",hostedFieldsTokenizationNetworkErrorError:"Network error. Please try again.",hostedFieldsTokenizationCvvVerificationFailedError:"Card verification failed. Please check your entries 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 authorisation is already in progress.",venmoCanceledError:"We're sorry, something seems to have gone wrong. Please make sure you have the most recent version of the Venmo app installed on your device and that 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:"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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],221:[function(e,t,r){"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 Venmo account with username {{identifier}}?",genericDeleteConfirmationMessage:"Are you sure you want to delete this funding source?",deleteCancelButton:"Cancel",deleteConfirmationButton:"Delete",fieldEmptyForCvv:"Please enter a security code.",fieldEmptyForExpirationDate:"Please enter an expiry date.",fieldEmptyForCardholderName:"Please enter a cardholder name.",fieldTooLongForCardholderName:"Cardholder name must be less than 256 characters.",fieldEmptyForNumber:"Please enter a number.",fieldEmptyForPostalCode:"Please enter a postcode.",fieldInvalidForCardholderName:"This cardholder name isn't valid.",fieldInvalidForCvv:"This security code isn't valid.",fieldInvalidForExpirationDate:"This expiry date isn't valid.",fieldInvalidForNumber:"This card number isn't valid.",fieldInvalidForPostalCode:"This postcode isn't valid.",genericError:"Something went wrong on our end.",hostedFieldsTokenizationFailOnDuplicateError:"This credit card already exists as a saved 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 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:"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.",vaultManagerPaymentMethodDeletionError:"We were unable to delete the funding source. 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:"Security code",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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],222:[function(e,t,r){"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 enter a CVV.",fieldEmptyForExpirationDate:"Please enter an expiry date.",fieldEmptyForCardholderName:"Please enter a cardholder name.",fieldTooLongForCardholderName:"Cardholder name must be less than 256 characters.",fieldEmptyForNumber:"Please enter a number.",fieldEmptyForPostalCode:"Please enter a PIN code.",fieldInvalidForCardholderName:"This cardholder name isn't valid.",fieldInvalidForCvv:"This CVV isn't valid.",fieldInvalidForExpirationDate:"This expiry 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 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:"Card verification failed. 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 authorisation is already in progress.",venmoCanceledError:"We're sorry, something seems to have gone wrong. 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 digital 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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],223:[function(e,t,r){"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 supported 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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],224:[function(e,t,r){"use strict";t.exports={payingWith:"Pagar con {{paymentSource}}",chooseAnotherWayToPay:"Seleccionar otra forma de pago",chooseAWayToPay:"Seleccionar forma de pago",otherWaysToPay:"Otras formas de pago",edit:"Editar",doneEditing:"Hecho",editPaymentMethods:"Editar formas de pago",CreditCardDeleteConfirmationMessage:"¿Eliminar la tarjeta {{secondaryIdentifier}} terminada en {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"¿Eliminar la cuenta PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"¿Seguro que deseas eliminar la cuenta de Venmo con el nombre de usuario {{identifier}}?",genericDeleteConfirmationMessage:"¿Seguro que deseas eliminar esta forma de pago?",deleteCancelButton:"Cancelar",deleteConfirmationButton:"Eliminar",fieldEmptyForCvv:"Introduce el CVV.",fieldEmptyForExpirationDate:"Introduce una fecha de vencimiento.",fieldEmptyForCardholderName:"Introduce el nombre del titular de la tarjeta.",fieldTooLongForCardholderName:"El nombre del titular de la tarjeta debe tener menos de 256 caracteres.",fieldEmptyForNumber:"Introduce un número.",fieldEmptyForPostalCode:"Introduce un código postal.",fieldInvalidForCardholderName:"El nombre del titular de la tarjeta no es válido.",fieldInvalidForCvv:"El código de seguridad no es válido.",fieldInvalidForExpirationDate:"La fecha de vencimiento no es válida.",fieldInvalidForNumber:"El número de tarjeta no es válido.",fieldInvalidForPostalCode:"El código postal no es válido.",genericError:"Ha habido un problema.",hostedFieldsTokenizationFailOnDuplicateError:"Esta tarjeta de crédito ya existe como forma de pago guardada.",hostedFieldsFailedTokenizationError:"Comprueba la información e inténtalo de nuevo.",hostedFieldsFieldsInvalidError:"Comprueba la información e inténtalo de nuevo.",hostedFieldsTokenizationNetworkErrorError:"Error de red. Inténtalo de nuevo.",hostedFieldsTokenizationCvvVerificationFailedError:"Error al verificar la tarjeta de crédito. Comprueba la información e inténtalo de nuevo.",paypalButtonMustBeUsed:"Utiliza el botón de PayPal para continuar con el pago.",paypalAccountTokenizationFailedError:"Se ha producido un error al añadir la cuenta PayPal. Inténtalo de nuevo.",paypalFlowFailedError:"Se ha producido un error al conectar con PayPal. Inténtalo de nuevo.",paypalTokenizationRequestActiveError:"La autorización del pago de PayPal ya está en curso.",venmoCanceledError:"Ha habido un error. Asegúrate de tener la versión más reciente de la aplicación de Venmo instalada en el dispositivo y de que el navegador admita el cambio a Venmo.",vaultManagerPaymentMethodDeletionError:"No se puede eliminar la forma de pago. Inténtalo de nuevo.",venmoAppFailedError:"No se ha podido encontrar la aplicación 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 de Apple Pay. Inténtalo de nuevo.",applePayActiveCardError:"Añade una tarjeta compatible a tu cartera de Apple Pay.",cardholderNameLabel:"Nombre del titular de la tarjeta",cardNumberLabel:"Número de tarjeta",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 dígitos)",cvvFourDigitLabelSubheading:"(4 dígitos)",cardholderNamePlaceholder:"Nombre del titular de la tarjeta",expirationDateLabel:"Fecha de vencimiento",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"Código postal",saveCardLabel:"Guardar tarjeta",payWithCard:"Pagar con tarjeta",endingIn:"Terminada 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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],225:[function(e,t,r){"use strict";t.exports={payingWith:"Pagar con {{paymentSource}}",chooseAnotherWayToPay:"Elija otra forma de pago",chooseAWayToPay:"Seleccione una forma de pago",otherWaysToPay:"Otras formas de pago",edit:"Editar",doneEditing:"Listo",editPaymentMethods:"Editar métodos de pago",CreditCardDeleteConfirmationMessage:"¿Eliminar tarjeta {{secondaryIdentifier}} con terminación {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"¿Desea eliminar la cuenta de PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"¿Seguro que desea eliminar la cuenta de Venmo con el nombre de usuario {{identifier}}?",genericDeleteConfirmationMessage:"¿Seguro que desea eliminar esta forma de pago?",deleteCancelButton:"Cancelar",deleteConfirmationButton:"Eliminar",fieldEmptyForCvv:"Ingrese un CVV.",fieldEmptyForExpirationDate:"Ingrese una fecha de vencimiento.",fieldEmptyForCardholderName:"Ingrese un nombre de titular de tarjeta.",fieldTooLongForCardholderName:"El nombre del titular de la tarjeta debe tener menos de 256 caracteres.",fieldEmptyForNumber:"Ingrese un número.",fieldEmptyForPostalCode:"Ingrese un código postal.",fieldInvalidForCardholderName:"El nombre del titular de la tarjeta no es válido.",fieldInvalidForCvv:"Este código de seguridad no es válido.",fieldInvalidForExpirationDate:"Esta fecha de vencimiento no es válida.",fieldInvalidForNumber:"Este número de tarjeta no es válido.",fieldInvalidForPostalCode:"Este código postal no es válido.",genericError:"Se ha producido un error.",hostedFieldsTokenizationFailOnDuplicateError:"Esta tarjeta de crédito ya existe como forma de pago guardada.",hostedFieldsFailedTokenizationError:"Revise la información e inténtelo de nuevo.",hostedFieldsFieldsInvalidError:"Revise la información e inténtelo de nuevo.",hostedFieldsTokenizationNetworkErrorError:"Error de red. Inténtelo de nuevo.",hostedFieldsTokenizationCvvVerificationFailedError:"La verificación de la tarjeta de crédito falló. Revise la información e inténtelo de nuevo.",paypalButtonMustBeUsed:"Utilice el botón de PayPal para continuar con su pago.",paypalAccountTokenizationFailedError:"Se ha producido un error al agregar la cuenta de PayPal. Inténtelo de nuevo.",paypalFlowFailedError:"Se ha producido un error al conectar con PayPal. Inténtelo de nuevo.",paypalTokenizationRequestActiveError:"La autorización de pago de PayPal ya está en curso.",venmoCanceledError:"Se ha producido un error. Asegúrese de que tiene la versión más reciente de la aplicación 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éntelo de nuevo.",venmoAppFailedError:"No se pudo encontrar la aplicación de Venmo en su dispositivo.",unsupportedCardTypeError:"Este tipo de tarjeta no es compatible. Inténtelo con otra tarjeta.",applePayTokenizationError:"Se ha producido un error de red al procesar el pago de Apple Pay. Inténtelo de nuevo.",applePayActiveCardError:"Agregue una tarjeta compatible a su cartera de Apple Pay.",cardholderNameLabel:"Nombre del titular de la tarjeta",cardNumberLabel:"Número de tarjeta",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 dígitos)",cvvFourDigitLabelSubheading:"(4 dígitos)",cardholderNamePlaceholder:"Nombre del titular de la tarjeta",expirationDateLabel:"Fecha de vencimiento",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"Código postal",saveCardLabel:"Guardar tarjeta",payWithCard:"Pagar con tarjeta",endingIn:"Con terminación {{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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],226:[function(e,t,r){"use strict";t.exports={payingWith:"Maksuväline: {{paymentSource}}",chooseAnotherWayToPay:"Valitse toinen maksutapa",chooseAWayToPay:"Valitse maksutapa",otherWaysToPay:"Muita maksutapoja",edit:"Muokkaa",doneEditing:"Valmis",editPaymentMethods:"Muokkaa maksutapoja",CreditCardDeleteConfirmationMessage:"Haluatko poistaa {{secondaryIdentifier}}} -kortin, joka päättyy {{identifier}}}?",PayPalAccountDeleteConfirmationMessage:"Haluatko poistaa PayPal-tilin {{identifier}}}?",VenmoAccountDeleteConfirmationMessage:"Haluatko varmasti poistaa Venmo-tilin, jonka käyttäjätunnus on {{identifier}}}?",genericDeleteConfirmationMessage:"Haluatko varmasti poistaa tämän maksutavan?",deleteCancelButton:"Peruuta",deleteConfirmationButton:"Poista",fieldEmptyForCvv:"Anna turvakoodi.",fieldEmptyForExpirationDate:"Anna voimassaolon päättymispäivämäärä.",fieldEmptyForCardholderName:"Anna kortinhaltijan nimi.",fieldTooLongForCardholderName:"Kortinhaltijan nimen on oltava alle 256 merkkiä.",fieldEmptyForNumber:"Anna numero.",fieldEmptyForPostalCode:"Anna postinumero.",fieldInvalidForCardholderName:"Kortinhaltijan nimi ei ole kelvollinen.",fieldInvalidForCvv:"Turvakoodi ei ole kelvollinen.",fieldInvalidForExpirationDate:"Päättymispäivämäärä ei ole kelvollinen.",fieldInvalidForNumber:"Kortin numero ei ole kelvollinen.",fieldInvalidForPostalCode:"Postinumero ei ole kelvollinen.",genericError:"Jokin meni pieleen tässä päässä.",hostedFieldsTokenizationFailOnDuplicateError:"Tämä luottokortti on jo tallennettu maksutavaksi.",hostedFieldsFailedTokenizationError:"Tarkista tiedot ja yritä uudelleen.",hostedFieldsFieldsInvalidError:"Tarkista tiedot ja yritä uudelleen.",hostedFieldsTokenizationNetworkErrorError:"Verkkovirhe. Yritä uudelleen.",hostedFieldsTokenizationCvvVerificationFailedError:"Luottokortin varmennus epäonnistui. Tarkista tiedot ja yritä uudelleen.",paypalButtonMustBeUsed:"Jatka maksua PayPal-painikkeen avulla.",paypalAccountTokenizationFailedError:"Jotain meni pieleen PayPal-tiliä lisätessä. Yritä uudelleen.",paypalFlowFailedError:"Jotain meni pieleen muodostettaessa yhteyttä PayPaliin. Yritä uudelleen.",paypalTokenizationRequestActiveError:"PayPal-maksun valtuutus on jo meneillään.",venmoCanceledError:"Jokin meni pieleen. Varmista, että laitteeseesi on asennettu Venmo-sovelluksen viimeisin versio, ja että selain tukee vaihtamista Venmoon.",vaultManagerPaymentMethodDeletionError:"Maksutavan poistaminen ei onnistu, yritä uudelleen.",venmoAppFailedError:"Venmo-sovellusta ei löytynyt laitteesta.",unsupportedCardTypeError:"Tätä korttityyppiä ei tueta. Kokeile toista korttia.",applePayTokenizationError:"Tapahtui verkkovirhe Apple Pay -maksun käsittelyssä. Yritä uudelleen.",applePayActiveCardError:"Lisää tuettu kortti Apple Pay -lompakkoon.",cardholderNameLabel:"Kortinhaltijan nimi",cardNumberLabel:"Kortin numero",cvvLabel:"Kortin turvakoodi",cvvThreeDigitLabelSubheading:"(kolme numeroa)",cvvFourDigitLabelSubheading:"(neljä numeroa)",cardholderNamePlaceholder:"Kortinhaltijan nimi",expirationDateLabel:"Päättymispäivämäärä",expirationDateLabelSubheading:"(KK/VV)",expirationDatePlaceholder:"KK/VV",postalCodeLabel:"Postinumero",saveCardLabel:"Tallenna kortti",payWithCard:"Maksa kortilla",endingIn:"Päättyy {{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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],227:[function(e,t,r){"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é",editPaymentMethods:"Modifier les modes de paiement",CreditCardDeleteConfirmationMessage:"Supprimer la carte {{secondaryIdentifier}} se terminant par {{identifier}} ?",PayPalAccountDeleteConfirmationMessage:"Supprimer le compte PayPal {{identifier}} ?",VenmoAccountDeleteConfirmationMessage:"Souhaitez-vous vraiment supprimer le compte Venmo dont le nom d'utilisateur est {{identifier}} ?",genericDeleteConfirmationMessage:"Voulez-vous vraiment supprimer ce mode paiement ?",deleteCancelButton:"Annuler",deleteConfirmationButton:"Supprimer",fieldEmptyForCvv:"Saisissez un CVV.",fieldEmptyForExpirationDate:"Saisissez une date d'expiration.",fieldEmptyForCardholderName:"Saisissez le nom du titulaire de la carte.",fieldTooLongForCardholderName:"Le nom du titulaire de la carte doit contenir moins de 256 caractères.",fieldEmptyForNumber:"Saisissez un numéro.",fieldEmptyForPostalCode:"Saisissez 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éro de carte n'est pas valide.",fieldInvalidForPostalCode:"Ce code postal n'est pas valide.",genericError:"Une erreur s'est produite de notre côté.",hostedFieldsTokenizationFailOnDuplicateError:"Cette carte de crédit est déjà enregistrée en tant que mode de paiement.",hostedFieldsFailedTokenizationError:"Veuillez vérifier vos informations, puis réessayer.",hostedFieldsFieldsInvalidError:"Veuillez vérifier vos informations, puis réessayer.",hostedFieldsTokenizationNetworkErrorError:"Erreur de réseau. Réessayez.",hostedFieldsTokenizationCvvVerificationFailedError:"Échec de vérification de la carte de crédit. Veuillez vérifier vos informations, puis réessayer.",paypalButtonMustBeUsed:"Utilisez le bouton PayPal pour poursuivre votre paiement.",paypalAccountTokenizationFailedError:"Une erreur s'est produite lors de l'ajout du compte PayPal. Veuillez réessayer.",paypalFlowFailedError:"Une erreur s'est produite lors de la connexion à PayPal. Veuillez réessayer.",paypalTokenizationRequestActiveError:"L'autorisation de paiement PayPal est déjà en cours.",venmoCanceledError:"Une erreur s'est produite. Assurez-vous que la version la plus récente de l'application Venmo est installée sur votre appareil et que votre navigateur prend en charge la redirection vers Venmo.",vaultManagerPaymentMethodDeletionError:"Impossible de supprimer le mode de paiement. Réessayez.",venmoAppFailedError:"L'application Venmo n'est pas présente sur votre appareil.",unsupportedCardTypeError:"Ce type de carte n'est pas pris en charge. Veuillez essayer une autre carte.",applePayTokenizationError:"Une erreur de réseau s'est produite lors du traitement du paiement Apple Pay. Veuillez réessayer.",applePayActiveCardError:"Ajoutez une carte prise en charge à votre portefeuille Apple Pay.",cardholderNameLabel:"Nom du titulaire de la carte",cardNumberLabel:"Numéro de carte",cvvLabel:"Cryptogramme visuel",cvvThreeDigitLabelSubheading:"(3 chiffres)",cvvFourDigitLabelSubheading:"(4 chiffres)",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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],228:[function(e,t,r){"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é",editPaymentMethods:"Modifier les modes de paiement",CreditCardDeleteConfirmationMessage:"Supprimer la carte {{secondaryIdentifier}} se terminant par {{identifier}} ?",PayPalAccountDeleteConfirmationMessage:"Supprimer le compte PayPal {{identifier}} ?",VenmoAccountDeleteConfirmationMessage:"Souhaitez-vous vraiment supprimer le compte Venmo associé au nom d'utilisateur {{identifier}} ?",genericDeleteConfirmationMessage:"Souhaitez-vous vraiment supprimer ce mode de paiement ?",deleteCancelButton:"Annuler",deleteConfirmationButton:"Supprimer",fieldEmptyForCvv:"Renseignez un cryptogramme visuel.",fieldEmptyForExpirationDate:"Renseignez une date d'expiration.",fieldEmptyForCardholderName:"Renseignez le nom du titulaire de la carte.",fieldTooLongForCardholderName:"Le nom du titulaire de la carte doit comporter moins de 256 caractères.",fieldEmptyForNumber:"Renseignez un numéro.",fieldEmptyForPostalCode:"Renseignez un code postal.",fieldInvalidForCardholderName:"Le nom de ce titulaire de la carte est incorrect.",fieldInvalidForCvv:"Ce cryptogramme visuel est incorrect.",fieldInvalidForExpirationDate:"Cette date d'expiration est incorrecte.",fieldInvalidForNumber:"Ce numéro de carte est incorrect.",fieldInvalidForPostalCode:"Ce code postal est incorrect.",genericError:"Une erreur est survenue.",hostedFieldsTokenizationFailOnDuplicateError:"Cette carte bancaire existe déjà en tant que mode de paiement enregistré.",hostedFieldsFailedTokenizationError:"Vérifiez vos informations et réessayez.",hostedFieldsFieldsInvalidError:"Vérifiez vos informations et réessayez.",hostedFieldsTokenizationNetworkErrorError:"Erreur réseau. Réessayez.",hostedFieldsTokenizationCvvVerificationFailedError:"Échec de la vérification de carte bancaire. Vérifiez vos informations et réessayez.",paypalButtonMustBeUsed:"Utilisez le bouton PayPal pour poursuivre le paiement.",paypalAccountTokenizationFailedError:"Une erreur est survenue lors de l'ajout du compte PayPal. Réessayez.",paypalFlowFailedError:"Une erreur est survenue lors de la connexion à PayPal. Réessayez.",paypalTokenizationRequestActiveError:"L'autorisation de paiement PayPal est déjà en cours.",venmoCanceledError:"Une erreur est survenue. Vérifiez que la dernière version de l'application Venmo est installée sur votre appareil et que votre navigateur prend en charge la redirection vers Venmo.",vaultManagerPaymentMethodDeletionError:"Impossible de supprimer le mode de paiement, réessayez.",venmoAppFailedError:"Nous n'avons pas trouvé 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éseau est survenue lors du traitement du paiement Apple Pay. Réessayez.",applePayActiveCardError:"Enregistrez une carte prise en charge sur votre portefeuille Apple Pay.",cardholderNameLabel:"Nom du titulaire de la carte",cardNumberLabel:"Numéro de carte",cvvLabel:"Crypto.",cvvThreeDigitLabelSubheading:"(3 chiffres)",cvvFourDigitLabelSubheading:"(4 chiffres)",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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],229:[function(e,t,r){"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é",editPaymentMethods:"Modifier les modes de paiement",CreditCardDeleteConfirmationMessage:"Supprimer la carte {{secondaryIdentifier}}} se terminant par {{identifier}}} ?",PayPalAccountDeleteConfirmationMessage:"Supprimer le compte PayPal {{identifier}}} ?",VenmoAccountDeleteConfirmationMessage:"Souhaitez-vous vraiment supprimer le compte Venmo associé au nom d'utilisateur {{identifier}}} ?",genericDeleteConfirmationMessage:"Souhaitez-vous vraiment supprimer ce mode de paiement ?",deleteCancelButton:"Annuler",deleteConfirmationButton:"Supprimer",fieldEmptyForCvv:"Renseignez un cryptogramme visuel.",fieldEmptyForExpirationDate:"Renseignez une date d'expiration.",fieldEmptyForCardholderName:"Renseignez le nom du titulaire de la carte.",fieldTooLongForCardholderName:"Le nom du titulaire de la carte doit comporter moins de 256 caractères.",fieldEmptyForNumber:"Renseignez un numéro.",fieldEmptyForPostalCode:"Renseignez un code postal.",fieldInvalidForCardholderName:"Le nom de ce titulaire de la carte est incorrect.",fieldInvalidForCvv:"Ce cryptogramme visuel est incorrect.",fieldInvalidForExpirationDate:"Cette date d'expiration est incorrecte.",fieldInvalidForNumber:"Ce numéro de carte est incorrect.",fieldInvalidForPostalCode:"Ce code postal est incorrect.",genericError:"Une erreur est survenue.",hostedFieldsTokenizationFailOnDuplicateError:"Cette carte bancaire existe déjà en tant que mode de paiement enregistré.",hostedFieldsFailedTokenizationError:"Vérifiez vos informations et réessayez.",hostedFieldsFieldsInvalidError:"Vérifiez vos informations et réessayez.",hostedFieldsTokenizationNetworkErrorError:"Erreur réseau. Réessayez.",hostedFieldsTokenizationCvvVerificationFailedError:"Échec de la vérification de carte bancaire. Vérifiez vos informations et réessayez.",paypalButtonMustBeUsed:"Utilisez le bouton PayPal pour poursuivre le paiement.",paypalAccountTokenizationFailedError:"Une erreur est survenue lors de l'ajout du compte PayPal. Réessayez.",paypalFlowFailedError:"Une erreur est survenue lors de la connexion à PayPal. Réessayez.",paypalTokenizationRequestActiveError:"L'autorisation de paiement PayPal est déjà en cours.",venmoCanceledError:"Une erreur est survenue. Vérifiez que la dernière version de l'application Venmo est installée sur votre appareil et que votre navigateur prend en charge la redirection vers Venmo.",vaultManagerPaymentMethodDeletionError:"Impossible de supprimer le mode de paiement, réessayez.",venmoAppFailedError:"Nous n'avons pas trouvé 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éseau est survenue lors du traitement du paiement Apple Pay. Réessayez.",applePayActiveCardError:"Enregistrez une carte prise en charge sur votre portefeuille Apple Pay.",cardholderNameLabel:"Nom du titulaire de la carte",cardNumberLabel:"Numéro de carte",cvvLabel:"Crypto.",cvvThreeDigitLabelSubheading:"(3 chiffres)",cvvFourDigitLabelSubheading:"(4 chiffres)",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 termine le {{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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],230:[function(e,t,r){"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:"(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":"אמריקן אקספרס",Discover:"Discover","Diners Club":"דיינרס קלאב",Elo:"Elo",Hiper:"Hiper",Hipercard:"HiperCard",MasterCard:"מאסטרקארד",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],231:[function(e,t,r){"use strict";t.exports={payingWith:"Fizetés ezzel: {{paymentSource}}",chooseAnotherWayToPay:"Válasszon másik fizetési módot",chooseAWayToPay:"Válasszon fizetési módot",otherWaysToPay:"Egyéb fizetési módok",edit:"Szerkesztés",doneEditing:"Kész",editPaymentMethods:"Fizetési módok szerkesztése",CreditCardDeleteConfirmationMessage:"Törli a(z) {{identifier}}} végű {{secondaryIdentifier}}} kártyát?",PayPalAccountDeleteConfirmationMessage:"Törli a(z) {{identifier}} PayPal-számlát?",VenmoAccountDeleteConfirmationMessage:"Biztosan törli a(z) {{identifier}} felhasználónévhez tartozó Venmo-számlát?",genericDeleteConfirmationMessage:"Biztosan törli ezt a fizetési módot?",deleteCancelButton:"Mégse",deleteConfirmationButton:"Törlés",fieldEmptyForCvv:"Kérjük, töltse ki a CVV-számot.",fieldEmptyForExpirationDate:"Töltse ki a lejárati dátumot.",fieldEmptyForCardholderName:"Töltse ki a kártyabirtokos nevét.",fieldTooLongForCardholderName:"A kártyatulajdonos neve nem lehet hosszabb mint 256 karakter.",fieldEmptyForNumber:"Töltse ki a számot.",fieldEmptyForPostalCode:"Töltse ki az irányítószámot.",fieldInvalidForCardholderName:"Ez a kártyabirtokos neve nem érvényes.",fieldInvalidForCvv:"Ez a biztonsági kód nem érvényes.",fieldInvalidForExpirationDate:"Ez a lejárati dátum érvénytelen.",fieldInvalidForNumber:"Ez a kártyaszám nem érvényes.",fieldInvalidForPostalCode:"Ez az irányítószám nem érvényes.",genericError:"Hiba történt a mi oldalunkon.",hostedFieldsTokenizationFailOnDuplicateError:"Ez a hitelkártya már szerepel mentett fizetési módként.",hostedFieldsFailedTokenizationError:"Ellenőrizze az adatait, majd próbálja újra.",hostedFieldsFieldsInvalidError:"Ellenőrizze az adatait, majd próbálja újra.",hostedFieldsTokenizationNetworkErrorError:"Hálózati hiba. Próbálja újra.",hostedFieldsTokenizationCvvVerificationFailedError:"A hitelkártya hitelesítése sikertelen. Ellenőrizze az adatait, majd próbálja újra.",paypalButtonMustBeUsed:"A fizetés folytatásához használja a PayPal-gombot.",paypalAccountTokenizationFailedError:"Hiba történt a PayPal-számla hozzáadása közben. Próbálja újra.",paypalFlowFailedError:"Hiba történt a PayPalhoz való kapcsolódás közben. Próbálja újra.",paypalTokenizationRequestActiveError:"A PayPal-fizetés engedélyezése már folyamatban van.",venmoCanceledError:"Hiba történt. Ellenőrizze, hogy eszközére a Venmo-alkalmazás legfrissebb verziója van-e telepítve, és hogy a böngészője támogatja-e a Venmo-ra történő átváltást.",vaultManagerPaymentMethodDeletionError:"Nem sikerült törölni a fizetési módot, próbálja újra.",venmoAppFailedError:"A Venmo alkalmazást nem találja a rendszer az eszközön.",unsupportedCardTypeError:"Ez a kártyatípus nem támogatott. Próbáljon meg egy másik kártyát.",applePayTokenizationError:"Hálózati hiba történt az Apple Pay-kifizetés közben. Próbálja újra.",applePayActiveCardError:"Adjon egy támogatott kártyát az Apple Pay pénztárcához.",cardholderNameLabel:"Kártyabirtokos neve",cardNumberLabel:"Kártyaszám",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 számjegy)",cvvFourDigitLabelSubheading:"(4 számjegy)",cardholderNamePlaceholder:"Kártyabirtokos neve",expirationDateLabel:"Lejárati dátum",expirationDateLabelSubheading:"(HH/ÉÉ)",expirationDatePlaceholder:"HH/ÉÉ",postalCodeLabel:"Irányítószám",saveCardLabel:"Kártya mentése",payWithCard:"Fizetés bankkártyával vagy hitelkártyával",endingIn:"{{lastFourCardDigits}}} végű","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kártya",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],232:[function(e,t,r){"use strict";t.exports={payingWith:"Membayar dengan {{paymentSource}}",chooseAnotherWayToPay:"Pilih metode pembayaran lain",chooseAWayToPay:"Pilih cara pembayaran",otherWaysToPay:"Cara lain untuk membayar",edit:"Edit",doneEditing:"Selesai",editPaymentMethods:"Edit metode pembayaran",CreditCardDeleteConfirmationMessage:"Hapus kartu {{secondaryIdentifier}} yang berakhiran dengan {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Hapus rekening PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Yakin ingin menghapus rekening Venmo dengan nama pengguna {{identifier}}?",genericDeleteConfirmationMessage:"Yakin ingin menghapus metode pembayaran ini?",deleteCancelButton:"Batalkan",deleteConfirmationButton:"Hapus",fieldEmptyForCvv:"Mohon mengisi CVV.",fieldEmptyForExpirationDate:"Silakan mengisi tanggal kedaluwarsa.",fieldEmptyForCardholderName:"Silakan mengisi nama pemilik kartu.",fieldTooLongForCardholderName:"Nama pemilik kartu harus kurang dari 256 karakter.",fieldEmptyForNumber:"Mohon mengisi angkanya.",fieldEmptyForPostalCode:"Mohon mengisi kode pos.",fieldInvalidForCardholderName:"Nama pemilik kartu ini tidak valid.",fieldInvalidForCvv:"Kode keamanan ini tidak valid.",fieldInvalidForExpirationDate:"Tanggal kedaluwarsa 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 telah ada sebelumnya sebagai metode pembayaran tersimpan.",hostedFieldsFailedTokenizationError:"Mohon periksa informasi Anda dan coba lagi.",hostedFieldsFieldsInvalidError:"Mohon periksa informasi Anda dan coba lagi.",hostedFieldsTokenizationNetworkErrorError:"Kesalahan jaringan. Mohon coba lagi.",hostedFieldsTokenizationCvvVerificationFailedError:"Verifikasi kartu kredit gagal. Mohon periksa informasi Anda dan coba lagi.",paypalButtonMustBeUsed:"Gunakan tombol PayPal untuk melanjutkan pembayaran.",paypalAccountTokenizationFailedError:"Terjadi kesalahan saat menambahkan rekening PayPal. Mohon coba lagi.",paypalFlowFailedError:"Terjadi kesalahan ketika menghubungkan ke PayPal. Mohon coba lagi.",paypalTokenizationRequestActiveError:"Otorisasi pembayaran PayPal sedang diproses.",venmoCanceledError:"Terjadi kesalahan. Pastikan Anda memiliki aplikasi Venmo versi terbaru di perangkat dan peramban Anda mendukung peralihan ke Venmo.",vaultManagerPaymentMethodDeletionError:"Tidak dapat menghapus metode pembayaran, coba lagi.",venmoAppFailedError:"Aplikasi Venmo tidak dapat ditemukan di perangkat Anda.",unsupportedCardTypeError:"Jenis kartu ini tidak didukung. Mohon coba kartu lainnya.",applePayTokenizationError:"Terjadi kesalahan pada jaringan saat memproses pembayaran Apple Pay. Mohon coba lagi.",applePayActiveCardError:"Tambahkan kartu yang didukung oleh wallet Apple Pay Anda.",cardholderNameLabel:"Nama Pemilik Kartu",cardNumberLabel:"Nomor Kartu",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 angka)",cvvFourDigitLabelSubheading:"(4 angka)",cardholderNamePlaceholder:"Nama Pemilik Kartu",expirationDateLabel:"Tanggal Kedaluwarsa",expirationDateLabelSubheading:"(BB/TT)",expirationDatePlaceholder:"BB/TT",postalCodeLabel:"Kode Pos",saveCardLabel:"Simpan kartu",payWithCard:"Bayar dengan kartu",endingIn:"Berakhiran dengan {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kartu",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Jelajahi","Diners Club":"Diners Club",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],233:[function(e,t,r){"use strict";var i=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:i({},o,n)}},{"../lib/assign":198,"./ar_EG":215,"./cs_CZ":216,"./da_DK":217,"./de_DE":218,"./el_GR":219,"./en_AU":220,"./en_GB":221,"./en_IN":222,"./en_US":223,"./es_ES":224,"./es_XC":225,"./fi_FI":226,"./fr_CA":227,"./fr_FR":228,"./fr_XC":229,"./he_IL":230,"./hu_HU":231,"./id_ID":232,"./it_IT":234,"./ja_JP":235,"./ko_KR":236,"./nl_NL":237,"./no_NO":238,"./pl_PL":239,"./pt_BR":240,"./pt_PT":241,"./ru_RU":242,"./sk_SK":243,"./sv_SE":244,"./th_TH":245,"./zh_CN":246,"./zh_HK":247,"./zh_TW":248,"./zh_XC":249}],234:[function(e,t,r){"use strict";t.exports={payingWith:"Metodo di pagamento: {{paymentSource}}",chooseAnotherWayToPay:"Scegli un altro metodo di pagamento",chooseAWayToPay:"Scegli un metodo di pagamento",otherWaysToPay:"Altri metodi di pagamento",edit:"Modifica",doneEditing:"Fine",editPaymentMethods:"Modifica metodi di pagamento",CreditCardDeleteConfirmationMessage:"Eliminare la carta {{secondaryIdentifier}} le cui ultime cifre sono {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Eliminare il conto PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Vuoi davvero eliminare il conto Venmo con il nome utente {{identifier}}?",genericDeleteConfirmationMessage:"Vuoi davvero eliminare questo metodo di pagamento?",deleteCancelButton:"Annulla",deleteConfirmationButton:"Rimuovi",fieldEmptyForCvv:"Compila un CVV.",fieldEmptyForExpirationDate:"Compila una data di scadenza.",fieldEmptyForCardholderName:"Compila un nome del titolare.",fieldTooLongForCardholderName:"Il nome del titolare della carta non può contenere più di 256 caratteri.",fieldEmptyForNumber:"Compila un numero.",fieldEmptyForPostalCode:"Compila un CAP.",fieldInvalidForCardholderName:"Il nome del titolare non è valido.",fieldInvalidForCvv:"Il codice di sicurezza non è valido.",fieldInvalidForExpirationDate:"La data di scadenza non è valida.",fieldInvalidForNumber:"Il numero di carta non è valido.",fieldInvalidForPostalCode:"Il CAP non è valido.",genericError:"Si è verificato un errore nei nostri sistemi.",hostedFieldsTokenizationFailOnDuplicateError:"Questa carta di credito esiste già come metodo di pagamento salvato.",hostedFieldsFailedTokenizationError:"Controlla i tuoi dati e riprova.",hostedFieldsFieldsInvalidError:"Controlla i tuoi dati e riprova.",hostedFieldsTokenizationNetworkErrorError:"Errore di rete. Riprova.",hostedFieldsTokenizationCvvVerificationFailedError:"Verifica della carta di credito non riuscita. Controlla i tuoi dati e riprova.",paypalButtonMustBeUsed:"Usa il pulsante PayPal per continuare con il pagamento.",paypalAccountTokenizationFailedError:"Si è verificato un errore durante l'aggiunta del conto PayPal. Riprova.",paypalFlowFailedError:"Si è verificato un errore durante la connessione a PayPal. Riprova.",paypalTokenizationRequestActiveError:"Autorizzazione di pagamento PayPal già in corso.",venmoCanceledError:"Si è verificato un errore. Assicurati di avere installato la versione più recente dell'app Venmo sul tuo dispositivo e che il tuo browser supporti il passaggio a Venmo.",vaultManagerPaymentMethodDeletionError:"Impossibile eliminare il metodo di pagamento, riprova.",venmoAppFailedError:"Impossibile trovare l'app Venmo sul tuo dispositivo.",unsupportedCardTypeError:"Questo tipo di carta non è supportato. Prova con un'altra carta.",applePayTokenizationError:"Si è verificato un errore di rete durante l'elaborazione del pagamento Apple Pay. Riprova.",applePayActiveCardError:"Aggiungi una carta supportata al tuo portafoglio Apple Pay.",cardholderNameLabel:"Nome del titolare",cardNumberLabel:"Numero di carta",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 cifre)",cvvFourDigitLabelSubheading:"(4 cifre)",cardholderNamePlaceholder:"Nome del titolare",expirationDateLabel:"Data di scadenza",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"CAP",saveCardLabel:"Salva carta",payWithCard:"Paga con una carta",endingIn:"Le 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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],235:[function(e,t,r){"use strict";t.exports={payingWith:"{{paymentSource}}でのお支払い",chooseAnotherWayToPay:"別の支払方法を選択してください",chooseAWayToPay:"支払方法を選択してください",otherWaysToPay:"その他の支払方法",edit:"編集",doneEditing:"完了",editPaymentMethods:"支払方法の編集",CreditCardDeleteConfirmationMessage:"{{secondaryIdentifier}}カード(末尾番号: {{identifier}})を削除しますか?",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}}","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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"銀聯(UnionPay)"}},{}],236:[function(e,t,r){"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}}","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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],237:[function(e,t,r){"use strict";t.exports={payingWith:"Betalen met {{paymentSource}}",chooseAnotherWayToPay:"Kies een andere betaalmethode",chooseAWayToPay:"Kies een betaalmethode",otherWaysToPay:"Andere betaalmethoden",edit:"Bewerken",doneEditing:"Klaar",editPaymentMethods:"Betaalmethoden bewerken",CreditCardDeleteConfirmationMessage:"{{secondaryIdentifier}}-kaart eindigend op {{identifier}} verwijderen?",PayPalAccountDeleteConfirmationMessage:"PayPal-rekening {{identifier}} verwijderen?",VenmoAccountDeleteConfirmationMessage:"Weet je zeker dat je de Venmo-rekening met gebruikersnaam {{identifier}} wilt verwijderen?",genericDeleteConfirmationMessage:"Weet je zeker dat je deze betaalmethode wilt verwijderen?",deleteCancelButton:"Annuleren",deleteConfirmationButton:"Verwijderen",fieldEmptyForCvv:"Vul een CVV in.",fieldEmptyForExpirationDate:"Vul een vervaldatum in.",fieldEmptyForCardholderName:"Vul de naam van de kaarthouder in.",fieldTooLongForCardholderName:"Naam kaarthouder moet minder dan 256 tekens bevatten.",fieldEmptyForNumber:"Vul een nummer in.",fieldEmptyForPostalCode:"Vul een postcode in.",fieldInvalidForCardholderName:"Naam kaarthouder is ongeldig.",fieldInvalidForCvv:"Deze beveiligingscode is ongeldig.",fieldInvalidForExpirationDate:"Deze vervaldatum is ongeldig.",fieldInvalidForNumber:"Dit kaartnummer is ongeldig.",fieldInvalidForPostalCode:"Deze postcode is ongeldig.",genericError:"Er is aan onze kant iets fout gegaan.",hostedFieldsTokenizationFailOnDuplicateError:"Deze creditcard bestaat al als opgeslagen betaalmethode.",hostedFieldsFailedTokenizationError:"Controleer je gegevens en probeer het opnieuw.",hostedFieldsFieldsInvalidError:"Controleer je gegevens en probeer het opnieuw.",hostedFieldsTokenizationNetworkErrorError:"Netwerkfout. Probeer het opnieuw.",hostedFieldsTokenizationCvvVerificationFailedError:"Verificatie van creditcard is mislukt. Controleer je gegevens en probeer het opnieuw.",paypalButtonMustBeUsed:"Gebruik de PayPal-knop om door te gaan met je betaling.",paypalAccountTokenizationFailedError:"Er is iets fout gegaan bij het toevoegen van de PayPal-rekening. Probeer het opnieuw.",paypalFlowFailedError:"Er is iets fout gegaan bij het verbinden met PayPal. Probeer het opnieuw.",paypalTokenizationRequestActiveError:"PayPal-betaalautorisatie is al in voortgang.",venmoCanceledError:"Er is iets fout gegaan. Zorg ervoor dat je de recentste versie van de Venmo-app op je apparaat geïnstalleerd hebt en dat je browser ondersteuning biedt voor overschakelen naar Venmo.",vaultManagerPaymentMethodDeletionError:"Kan betaalmethode niet verwijderen. Probeer het opnieuw.",venmoAppFailedError:"De Venmo-app is niet gevonden op je apparaat.",unsupportedCardTypeError:"Dit kaarttype wordt niet ondersteund. Gebruik een andere kaart.",applePayTokenizationError:"Er is een netwerkfout opgetreden bij het verwerken van de Apple Pay-betaling. Probeer het opnieuw.",applePayActiveCardError:"Voeg een ondersteunde kaart toe aan je Apple Pay-wallet.",cardholderNameLabel:"Naam kaarthouder",cardNumberLabel:"Kaartnummer",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 cijfers)",cvvFourDigitLabelSubheading:"(4 cijfers)",cardholderNamePlaceholder:"Naam kaarthouder",expirationDateLabel:"Vervaldatum",expirationDateLabelSubheading:"(mm/jj)",expirationDatePlaceholder:"mm/jj",postalCodeLabel:"Postcode",saveCardLabel:"Kaart opslaan",payWithCard:"Betalen met kaart",endingIn:"Eindigend op {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kaart",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],238:[function(e,t,r){"use strict";t.exports={payingWith:"Betaler med {{paymentSource}}",chooseAnotherWayToPay:"Velg en annen betalingsmåte",chooseAWayToPay:"Velg betalingsmåte",otherWaysToPay:"Andre betalingsmåter",edit:"Endre",doneEditing:"Ferdig",editPaymentMethods:"Rediger betalingsmetode",CreditCardDeleteConfirmationMessage:"Vil du slette {{secondaryIdentifier}}-kortet som slutter på {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Vil du slette PayPal-konto {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Er du sikker på at du vil slette Venmo-kontoen med brukernavnet {{identifier}}?",genericDeleteConfirmationMessage:"Er du sikker på at du vil slette denne betalingsmetoden?",deleteCancelButton:"Avbryt",deleteConfirmationButton:"Slett",fieldEmptyForCvv:"Fyll ut sikkerhetskode (CVV).",fieldEmptyForExpirationDate:"Fyll ut utløpsdato.",fieldEmptyForCardholderName:"Fyll ut kortinnehavers navn.",fieldTooLongForCardholderName:"Kortinnehaverens må ha mindre enn 256 tegn.",fieldEmptyForNumber:"Fyll ut nummer.",fieldEmptyForPostalCode:"Fyll ut postnummer.",fieldInvalidForCardholderName:"Denne kortinnehaverens navn er ikke gyldig.",fieldInvalidForCvv:"Denne sikkerhetskoden er ikke gyldig.",fieldInvalidForExpirationDate:"Denne utløpsdatoen er ikke gyldig.",fieldInvalidForNumber:"Dette kortnummeret er ikke gyldig.",fieldInvalidForPostalCode:"Dette postnummeret er ikke gyldig.",genericError:"Noe gikk galt hos oss.",hostedFieldsTokenizationFailOnDuplicateError:"Dette betalingskortet finnes allerede som en lagret betalingsmetode.",hostedFieldsFailedTokenizationError:"Kontroller informasjonen, og prøv på nytt.",hostedFieldsFieldsInvalidError:"Kontroller informasjonen, og prøv på nytt.",hostedFieldsTokenizationNetworkErrorError:"Nettverksfeil. Prøv på nytt.",hostedFieldsTokenizationCvvVerificationFailedError:"Kontroll av betalingskort mislyktes. Kontroller informasjonen, og prøv på nytt.",paypalButtonMustBeUsed:"Bruk PayPal-knappen for å fortsette med betalingen.",paypalAccountTokenizationFailedError:"Kan ikke legge til PayPal-kontoen. Prøv på nytt.",paypalFlowFailedError:"Kan ikke koble til PayPal. Prøv på nytt.",paypalTokenizationRequestActiveError:"PayPals prosess for betalingsgodkjenning har allerede startet.",venmoCanceledError:"Noe gikk galt. Kontroller at den nyeste versjonen av Venmo-appen er installert på enheten din, og at nettleseren din støtter bruk av Venmo.",vaultManagerPaymentMethodDeletionError:"Kan ikke slette betalingsmetoden. Prøv på nytt.",venmoAppFailedError:"Finner ikke Venmo-appen på enheten.",unsupportedCardTypeError:"Denne korttypen støttes ikke. Prøv et annet kort.",applePayTokenizationError:"Nettverksfeil under behandling av Apple Pay-betalingen. Prøv på nytt.",applePayActiveCardError:"Legg til et støttet kort i e-lommeboken for Apple Pay.",cardholderNameLabel:"Kortinnehavers navn",cardNumberLabel:"Kortnummer",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 sifre)",cvvFourDigitLabelSubheading:"(4 sifre)",cardholderNamePlaceholder:"Kortinnehavers navn",expirationDateLabel:"Utløpsdato",expirationDateLabelSubheading:"(MM/ÅÅ)",expirationDatePlaceholder:"MM/ÅÅ",postalCodeLabel:"Postnummer",saveCardLabel:"Lagre kort",payWithCard:"Betal med kort",endingIn:"Slutter på {{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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],239:[function(e,t,r){"use strict";t.exports={payingWith:"Źródło finansowania płatności: {{paymentSource}}",chooseAnotherWayToPay:"Wybierz inny sposób płatności.",chooseAWayToPay:"Wybierz sposób płatności",otherWaysToPay:"Inne sposoby płatności",edit:"Edytuj",doneEditing:"Gotowe",editPaymentMethods:"Edytuj formy płatności",CreditCardDeleteConfirmationMessage:"Usunąć kartę {{secondaryIdentifier}} o numerze zakończonym cyframi {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Usunąć {{identifier}}konta PayPal?",VenmoAccountDeleteConfirmationMessage:"Czy na pewno chcesz usunąć konto Venmo o nazwie użytkownika {{identifier}}?",genericDeleteConfirmationMessage:"Na pewno chcesz usunąć tę formę płatności?",deleteCancelButton:"Anuluj",deleteConfirmationButton:"Usuń",fieldEmptyForCvv:"Wpisz kod CVV.",fieldEmptyForExpirationDate:"Wpisz datę ważności.",fieldEmptyForCardholderName:"Podaj imię i nazwisko posiadacza karty.",fieldTooLongForCardholderName:"Imię i nazwisko posiadacza karty musi mieć mniej niż 256 znaków.",fieldEmptyForNumber:"Podaj numer.",fieldEmptyForPostalCode:"Podaj kod pocztowy.",fieldInvalidForCardholderName:"To imię i nazwisko posiadacza karty jest nieprawidłowe.",fieldInvalidForCvv:"Ten kod bezpieczeństwa jest nieprawidłowy.",fieldInvalidForExpirationDate:"Ta data ważności jest nieprawidłowa.",fieldInvalidForNumber:"Numer karty jest nieprawidłowy.",fieldInvalidForPostalCode:"Kod pocztowy jest nieprawidłowy.",genericError:"Wystąpił błąd po naszej stronie.",hostedFieldsTokenizationFailOnDuplicateError:"Ta karta kredytowa istnieje jako zapisana forma płatności.",hostedFieldsFailedTokenizationError:"Sprawdź swoje informacje i spróbuj ponownie.",hostedFieldsFieldsInvalidError:"Sprawdź swoje informacje i spróbuj ponownie.",hostedFieldsTokenizationNetworkErrorError:"Błąd sieci. Spróbuj ponownie.",hostedFieldsTokenizationCvvVerificationFailedError:"Weryfikacja karty kredytowej nie powiodła się. Sprawdź swoje informacje i spróbuj ponownie.",paypalButtonMustBeUsed:"Aby kontynuować płatność, użyj przycisku PayPal.",paypalAccountTokenizationFailedError:"Coś poszło nie tak przy dodawaniu konta PayPal. Spróbuj ponownie.",paypalFlowFailedError:"Wystąpił problem przy nawiązywaniu połączenia z PayPal. Spróbuj ponownie.",paypalTokenizationRequestActiveError:"Autoryzacja płatności PayPal jest w trakcie realizacji.",venmoCanceledError:"Coś poszło nie tak. Upewnij się, że na Twoim urządzeniu jest zainstalowana najnowsza wersja aplikacji Venmo, a Twoja przeglądarka obsługuje przełączanie na Venmo.",vaultManagerPaymentMethodDeletionError:"Nie można usunąć formy płatności, spróbuj ponownie.",venmoAppFailedError:"Aplikacja Venmo nie została odnaleziona na Twoim urządzeniu.",unsupportedCardTypeError:"Ten typ karty nie jest obsługiwany. Spróbuj użyć innej karty.",applePayTokenizationError:"Wystąpił błąd sieciowy podczas przetwarzania płatności Apple Pay. Spróbuj ponownie.",applePayActiveCardError:"Dodaj obsługiwaną kartę do portfela Apple Pay.",cardholderNameLabel:"Imię i nazwisko posiadacza karty",cardNumberLabel:"Numer karty",cvvLabel:"Kod CVV/CVC2",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:"Numer 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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],240:[function(e,t,r){"use strict";t.exports={payingWith:"Pagando com {{paymentSource}}",chooseAnotherWayToPay:"Escolha outro meio de pagamento",chooseAWayToPay:"Escolha um meio de pagamento",otherWaysToPay:"Outras formas de pagar",edit:"Editar",doneEditing:"Concluído",editPaymentMethods:"Editar meios de pagamento",CreditCardDeleteConfirmationMessage:"Excluir cartão {{secondaryIdentifier}} de final {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Excluir conta do PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Tem certeza de que deseja excluir a conta do Venmo com nome de usuário {{identifier}}?",genericDeleteConfirmationMessage:"Tem certeza que deseja excluir este meio de pagamento?",deleteCancelButton:"Cancelar",deleteConfirmationButton:"Excluir",fieldEmptyForCvv:"Preencha um CVV.",fieldEmptyForExpirationDate:"Preencha uma data de vencimento.",fieldEmptyForCardholderName:"Preencha um nome para o titular do cartão.",fieldTooLongForCardholderName:"O nome do titular do cartão deve ter menos de 256 caracteres.",fieldEmptyForNumber:"Preencha um número.",fieldEmptyForPostalCode:"Preencha um código postal.",fieldInvalidForCardholderName:"O nome do titular do cartão é inválido.",fieldInvalidForCvv:"Este código de segurança é inválido.",fieldInvalidForExpirationDate:"Esta data de vencimento é inválida.",fieldInvalidForNumber:"O número do cartão é inválido.",fieldInvalidForPostalCode:"Este código postal é inválido.",genericError:"Ocorreu um erro.",hostedFieldsTokenizationFailOnDuplicateError:"Este cartão de crédito já existe como um meio de pagamento salvo.",hostedFieldsFailedTokenizationError:"Verifique as informações e tente novamente.",hostedFieldsFieldsInvalidError:"Verifique as informações e tente novamente.",hostedFieldsTokenizationNetworkErrorError:"Erro de rede. Tente novamente.",hostedFieldsTokenizationCvvVerificationFailedError:"Falha na verificação do cartão de crédito. Verifique as informações e tente novamente.",paypalButtonMustBeUsed:"Use o botão do PayPal para prosseguir com o pagamento.",paypalAccountTokenizationFailedError:"Ocorreu um erro ao adicionar a conta do PayPal. Tente novamente.",paypalFlowFailedError:"Ocorreu um erro na conexão com o PayPal. Tente novamente.",paypalTokenizationRequestActiveError:"A autorização de pagamento do PayPal já está em andamento.",venmoCanceledError:"Ocorreu um erro. Certifique-se de que você tenha a versão mais recente do aplicativo Venmo instalada no seu dispositivo, e que seu navegador aceite a mudança para o Venmo.",vaultManagerPaymentMethodDeletionError:"Não é possível excluir o meio de pagamento, tente novamente.",venmoAppFailedError:"O aplicativo Venmo não foi encontrado no seu dispositivo.",unsupportedCardTypeError:"Este tipo de cartão não é aceito. Tente outro cartão.",applePayTokenizationError:"Ocorreu um erro de rede ao processar o pagamento do Apple Pay. Tente novamente.",applePayActiveCardError:"Adicione um cartão compatível à sua carteira Apple Pay.",cardholderNameLabel:"Nome do titular do cartão",cardNumberLabel:"Número do cartão",cvvLabel:"CSC",cvvThreeDigitLabelSubheading:"(3 dígitos)",cvvFourDigitLabelSubheading:"(4 dígitos)",cardholderNamePlaceholder:"Nome do titular do cartão",expirationDateLabel:"Data de vencimento",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"CEP",saveCardLabel:"Salvar cartão",payWithCard:"Pague com seu cartão de crédito",endingIn:"De final {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Cartão",PayPal:"PayPal","PayPal Credit":"Crédito do PayPal","Google Pay":"Google Pay","American Express":"American Express",Discover:"Descobrir","Diners Club":"Diners Club",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],241:[function(e,t,r){"use strict";t.exports={payingWith:"Pagamento com {{paymentSource}}",chooseAnotherWayToPay:"Escolher outra forma de pagamento",chooseAWayToPay:"Escolher forma de pagamento",otherWaysToPay:"Outras formas de pagamento",edit:"Editar",doneEditing:"Concluído",editPaymentMethods:"Editar meios de pagamento",CreditCardDeleteConfirmationMessage:"Eliminar cartão {{secondaryIdentifier}} terminado em {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Eliminar conta PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Quer mesmo eliminar a conta Venmo com o nome de utilizador {{identifier}}?",genericDeleteConfirmationMessage:"Quer mesmo eliminar este meio de pagamento?",deleteCancelButton:"Cancelar",deleteConfirmationButton:"Eliminar",fieldEmptyForCvv:"Introduza um CVV.",fieldEmptyForExpirationDate:"Introduza uma data de validade.",fieldEmptyForCardholderName:"Introduza um nome do titular do cartão.",fieldTooLongForCardholderName:"O Nome do titular do cartão deve ter menos de 256 carateres.",fieldEmptyForNumber:"Introduza um número.",fieldEmptyForPostalCode:"Introduza um código postal.",fieldInvalidForCardholderName:"Este nome do titular do cartão não é válido.",fieldInvalidForCvv:"Este código de segurança não é válido.",fieldInvalidForExpirationDate:"Esta data de validade não é válida.",fieldInvalidForNumber:"Este número de cartão não é válido.",fieldInvalidForPostalCode:"Este código postal não é válido.",genericError:"Tudo indica que houve um problema.",hostedFieldsTokenizationFailOnDuplicateError:"Este cartão de crédito já existe como meio de pagamento guardado.",hostedFieldsFailedTokenizationError:"Verifique as suas informações e tente novamente.",hostedFieldsFieldsInvalidError:"Verifique as suas informações e tente novamente.",hostedFieldsTokenizationNetworkErrorError:"Erro de rede. Tente novamente.",hostedFieldsTokenizationCvvVerificationFailedError:"A verificação do cartão de crédito falhou. Verifique as suas informações e tente novamente.",paypalButtonMustBeUsed:"Use o botão PayPal para continuar o seu pagamento.",paypalAccountTokenizationFailedError:"Ocorreu um erro ao adicionar a conta PayPal. Tente novamente.",paypalFlowFailedError:"Ocorreu um erro ao ligar ao PayPal. Tente novamente.",paypalTokenizationRequestActiveError:"A autorização de pagamento com PayPal já está em curso.",venmoCanceledError:"Ocorreu um erro. Certifique-se de que tem a versão mais recente da aplicação Venmo instalada no seu dispositivo e que o seu navegador suporta a mudança para Venmo.",vaultManagerPaymentMethodDeletionError:"Não é possível eliminar o meio de pagamento; tente novamente.",venmoAppFailedError:"A aplicação Venmo não foi encontrada no seu dispositivo.",unsupportedCardTypeError:"Este tipo de cartão não é suportado. Tente com outro cartão.",applePayTokenizationError:"Ocorreu um erro de rede ao processar o pagamento com Apple Pay. Tente novamente.",applePayActiveCardError:"Adicione um cartão suportado à sua carteira Apple Pay.",cardholderNameLabel:"Nome do titular do cartão",cardNumberLabel:"Número do cartão",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 dígitos)",cvvFourDigitLabelSubheading:"(4 dígitos)",cardholderNamePlaceholder:"Nome do titular do cartão",expirationDateLabel:"Data de validade",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"Código postal",saveCardLabel:"Guardar cartão",payWithCard:"Pagar com cartão",endingIn:"Termina em {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Cartão",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],242:[function(e,t,r){"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:"(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:"Полезное","Diners Club":"Diners Club",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],243:[function(e,t,r){"use strict";t.exports={payingWith:"Spôsob platby: {{paymentSource}}",chooseAnotherWayToPay:"Vyberte iný spôsob platby",chooseAWayToPay:"Zvoľte spôsob platby",otherWaysToPay:"Iné spôsoby platby",edit:"Upraviť",doneEditing:"Hotovo",editPaymentMethods:"Upraviť spôsoby platby",CreditCardDeleteConfirmationMessage:"Chcete odstrániť kartu {{secondaryIdentifier}} končiacu sa na {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Chcete odstrániť {{identifier}}účtu PayPal?",VenmoAccountDeleteConfirmationMessage:"Naozaj chcete odstrániť účet Venmo s menom používateľa {{identifier}}?",genericDeleteConfirmationMessage:"Ste si istí, že chcete tento spôsob platby odstrániť?",deleteCancelButton:"Zrušiť",deleteConfirmationButton:"Odstrániť",fieldEmptyForCvv:"Vyplňte kód CVV.",fieldEmptyForExpirationDate:"Zadajte dátum skončenia platnosti.",fieldEmptyForCardholderName:"Zadajte meno majiteľa karty.",fieldTooLongForCardholderName:"Meno majiteľa karty musí obsahovať menej ako 256 znakov.",fieldEmptyForNumber:"Zadajte číslo.",fieldEmptyForPostalCode:"Zadajte PSČ.",fieldInvalidForCardholderName:"Toto meno majiteľa karty je neplatné.",fieldInvalidForCvv:"Tento bezpečnostný kód je neplatný.",fieldInvalidForExpirationDate:"Tento dátum skončenia platnosti je neplatný.",fieldInvalidForNumber:"Toto číslo karty je neplatné.",fieldInvalidForPostalCode:"Toto PSČ je neplatné.",genericError:"Vyskytla sa chyba na našej strane.",hostedFieldsTokenizationFailOnDuplicateError:"Táto kreditná karta už existuje ako uložený spôsob platby.",hostedFieldsFailedTokenizationError:"Skontrolujte údaje a skúste to znova.",hostedFieldsFieldsInvalidError:"Skontrolujte údaje a skúste to znova.",hostedFieldsTokenizationNetworkErrorError:"Chyba v sieti. Skúste to znova.",hostedFieldsTokenizationCvvVerificationFailedError:"Overenie kreditnej karty nebolo úspešné. Skontrolujte údaje a skúste to znova.",paypalButtonMustBeUsed:"Ak chcete pokračovať v platbe, použite tlačidlo PayPal.",paypalAccountTokenizationFailedError:"Vyskytla sa chyba pri pridávaní účtu PayPal. Skúste to znova.",paypalFlowFailedError:"Vyskytla sa chyba pri pripájaní do účtu PayPal. Skúste to znova.",paypalTokenizationRequestActiveError:"Autorizácia platby PayPal už prebieha.",venmoCanceledError:"Vyskytla sa chyba. Skontrolujte, či máte v zariadení nainštalovanú najnovšiu verziu aplikácie Venmo a či prehliadač podporuje prechod na aplikáciu Venmo.",vaultManagerPaymentMethodDeletionError:"Nebolo možné odstrániť spôsob platby, skúste to znova.",venmoAppFailedError:"Aplikáciu Venmo sa vo vašom zariadení nepodarilo nájsť.",unsupportedCardTypeError:"Tento typ karty nie je podporovaný. Prosím skúste inú kartu.",applePayTokenizationError:"Počas spracúvania platby cez Apple Pay došlo k chybe siete. Skúste to znova.",applePayActiveCardError:"Pridajte si podporovanú kartu do peňaženky Apple Pay.",cardholderNameLabel:"Meno majiteľa karty",cardNumberLabel:"Číslo karty",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 číslice)",cvvFourDigitLabelSubheading:"(4 číslice)",cardholderNamePlaceholder:"Meno majiteľa karty",expirationDateLabel:"Dátum skončenia platnosti",expirationDateLabelSubheading:"(MM/RR)",expirationDatePlaceholder:"MM/RR",postalCodeLabel:"PSČ",saveCardLabel:"Uložiť kartu",payWithCard:"Zaplatiť kartou",endingIn:"Končí {{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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],244:[function(e,t,r){"use strict";t.exports={payingWith:"Betalar med {{paymentSource}}",chooseAnotherWayToPay:"Välj ett annat sätt att betala",chooseAWayToPay:"Välj ett sätt att betala",otherWaysToPay:"Andra sätt att betala",edit:"Ändra",doneEditing:"Klart",editPaymentMethods:"Ändra betalningsmetoder",CreditCardDeleteConfirmationMessage:"Ta bort {{secondaryIdentifier}}-kortet som slutar på {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Ta bort PayPal-konto {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Är du säker på att du vill ta bort Venmo-kontot med användarnamnet {{identifier}}?",genericDeleteConfirmationMessage:"Är du säker på att du vill ta bort den här betalningsmetoden?",deleteCancelButton:"Avbryt",deleteConfirmationButton:"Ta bort",fieldEmptyForCvv:"Fyll i ett CVV.",fieldEmptyForExpirationDate:"Fyll i ett utgångsdatum.",fieldEmptyForCardholderName:"Fyll i kortinnehavarens namn.",fieldTooLongForCardholderName:"Namnet på kortinnehavaren måste vara kortare än 256 tecken.",fieldEmptyForNumber:"Fyll i ett nummer.",fieldEmptyForPostalCode:"Fyll i ett postnummer.",fieldInvalidForCardholderName:"Namnet på kortinnehavaren är ogiltigt.",fieldInvalidForCvv:"Den här säkerhetskoden är inte giltig.",fieldInvalidForExpirationDate:"Utgångsdatumet är ogiltigt.",fieldInvalidForNumber:"Det här kortnumret är ogiltigt.",fieldInvalidForPostalCode:"Postnumret är ogiltigt.",genericError:"Ett fel uppstod.",hostedFieldsTokenizationFailOnDuplicateError:"Det här kreditkortet finns redan som en sparad betalningsmetod.",hostedFieldsFailedTokenizationError:"Kontrollera uppgifterna och försök igen.",hostedFieldsFieldsInvalidError:"Kontrollera uppgifterna och försök igen.",hostedFieldsTokenizationNetworkErrorError:"Nätverksfel. Försök igen.",hostedFieldsTokenizationCvvVerificationFailedError:"Verifiering av kreditkortet misslyckades. Kontrollera uppgifterna och försök igen.",paypalButtonMustBeUsed:"Använd PayPal-knappen för att fortsätta med din betalning.",paypalAccountTokenizationFailedError:"Något gick fel när du lade till PayPal-kontot. Försök igen.",paypalFlowFailedError:"Något gick fel med att ansluta till PayPal. Försök igen.",paypalTokenizationRequestActiveError:"Godkännande av PayPal-betalning pågår redan.",venmoCanceledError:"Något gick fel. Se till att du har den senaste versionen av Venmo-appen installerad på din enhet och att din webbläsare stöder byte till Venmo.",vaultManagerPaymentMethodDeletionError:"Kan inte ta bort betalningsmetoden, försök igen.",venmoAppFailedError:"Det gick inte att hitta Venmo-appen på din enhet.",unsupportedCardTypeError:"Den här korttypen stöds inte. Prova med ett annat kort.",applePayTokenizationError:"Ett nätverksfel uppstod när Apple Pay-betalningen behandlades. Försök igen.",applePayActiveCardError:"Lägg till ett kort som stöds i din Apple Pay e-plånbok.",cardholderNameLabel:"Kortinnehavarens namn",cardNumberLabel:"Kortnummer",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 siffror)",cvvFourDigitLabelSubheading:"(4 siffror)",cardholderNamePlaceholder:"Kortinnehavarens namn",expirationDateLabel:"Utgångsdatum",expirationDateLabelSubheading:"(MM/ÅÅ)",expirationDatePlaceholder:"MM/ÅÅ",postalCodeLabel:"Postnummer",saveCardLabel:"Spara kort",payWithCard:"Betala med kort",endingIn:"Slutar på {{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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],245:[function(e,t,r){"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:"โปรดกรอกชื่อผู้ถือบัตร",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}}","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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],246:[function(e,t,r){"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:"发现","Diners Club":"Diners Club",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"银联"}},{}],247:[function(e,t,r){"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:"請填寫信用卡認證碼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}}","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",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],248:[function(e,t,r){"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:"信用卡驗證碼",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":"美國運通",Discover:"發現卡","Diners Club":"大來卡",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"銀聯"}},{}],249:[function(e,t,r){"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:"(月/年)",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:"发现","Diners Club":"Diners Club",Elo:"Elo",Hiper:"Hiper",Hipercard:"Hipercard",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"银联"}},{}],250:[function(e,t,r){"use strict";var i=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){i(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":192,"../lib/assign":198,"../lib/dropin-error":202,"../lib/promise":209,"@braintree/class-list":40}],251:[function(e,t,r){"use strict";var i=e("./base-view"),n=e("../lib/add-selection-event-handler"),o=e("../constants").paymentMethodTypes;function a(){i.apply(this,arguments),this._initialize()}a.prototype=Object.create(i.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,r,i=this.strings[e.type+"DeleteConfirmationMessage"];if(i){switch(e.type){case o.card:t=e.details.lastFour,r=e.details.cardType,r=this.strings[r]||r;break;case o.paypal:t=e.details.email;break;case o.venmo:t=e.details.username}i=i.replace("{{identifier}}",t),r&&(i=i.replace("{{secondaryIdentifier}}",r))}else i=this.strings.genericDeleteConfirmationMessage;this._messageBox.innerText=i},a.prototype.onSelection=function(){window.requestAnimationFrame(function(){this._yesButton.focus()}.bind(this))},t.exports=a},{"../constants":192,"../lib/add-selection-event-handler":196,"./base-view":250}],252:[function(e,t,r){"use strict";var i=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;this._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 r,i;return-1!==this.model.supportedPaymentOptions.indexOf(t)&&((i=new(r=s[t])({element:this.getElementById(r.ID),mainView:this,model:this.model,client:this.client,strings:this.strings})).initialize(),this.addView(i),e.push(i.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,r=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})),r.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 r;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),r=this.primaryView.getPaymentMethod(),this.model.setPaymentMethodRequestable({isRequestable:Boolean(r&&!this.model.isInEditMode()),type:r&&r.type,selectedPaymentMethod:r}),this.model.clearError()},E.prototype.requestPaymentMethod=function(){return this.getView(this.model.getActivePaymentViewId()).requestPaymentMethod().then(function(e){return i.sendEvent(this.client,"request-payment-method."+n[e.type]),e}.bind(this)).catch(function(e){return i.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,r,i=this.strings.genericError;t=this.strings.hasOwnProperty(e)?this.strings[e]:e&&"string"==typeof e.code?this.strings[(r=e.code,r.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.innerHTML=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:Boolean(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?(i.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":192,"../lib/add-selection-event-handler":196,"../lib/analytics":197,"../lib/promise":209,"../lib/supports-flexbox":211,"../lib/wait":214,"./base-view":250,"./delete-confirmation-view":251,"./payment-methods-view":254,"./payment-options-view":255,"./payment-sheet-views":260,"@braintree/class-list":40}],253:[function(e,t,r){"use strict";var i=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',r=a.paymentMethodCardTypes,i=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 i.applePay:t=t.replace(/@ICON/g,"logoApplePay").replace(/@CLASSNAME/g,"").replace(/@TITLE/g,this.strings["Apple Pay"]).replace(/@SUBTITLE/g,"");break;case i.card:e=this.strings.endingIn.replace("{{lastFourCardDigits}}",this.paymentMethod.details.lastFour),t=t.replace(/@ICON/g,"icon-"+r[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 i.googlePay:t=t.replace(/@ICON/g,"logoGooglePay").replace(/@CLASSNAME/g,"").replace(/@TITLE/g,this.strings["Google Pay"]).replace(/@SUBTITLE/g,"");break;case i.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 i.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&&i.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":192,"../lib/add-selection-event-handler":196,"../lib/analytics":197,"./base-view":250,"@braintree/class-list":40}],254:[function(e,t,r){"use strict";var i=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={CreditCard:"Card",PayPalAccount:"PayPal",ApplePayCard:"Apple Pay",AndroidPayCard:"Google Pay",VenmoAccount:"Venmo"};function p(){i.apply(this,arguments),this._initialize()}p.prototype=Object.create(i.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="&nbsp;",this.views.splice(t,1);break}},p.prototype._changeActivePaymentMethodView=function(e){var t,r=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}r&&r.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":192,"../lib/add-selection-event-handler":196,"../lib/dropin-error":202,"../lib/promise":209,"./base-view":250,"./payment-method-view":253,"@braintree/class-list":40}],255:[function(e,t,r){"use strict";var i=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={},this.model.supportedPaymentOptions.forEach(function(e){this._addPaymentOption(e)}.bind(this))},s.prototype._addPaymentOption=function(e){var t,r=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),i.sendEvent(this.client,"selected."+a[e])}.bind(this);switch(r.className="braintree-option braintree-option__"+e,r.setAttribute("tabindex","0"),r.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,""),r.innerHTML=o,n(r,s),this.container.appendChild(r),this.elements[e]={div:r,clickHandler:s}},s.prototype._generateOptionLabel=function(e){return this.strings.payingWith.replace("{{paymentSource}}",e)},t.exports=s},{"../constants":192,"../lib/add-selection-event-handler":196,"../lib/analytics":197,"./base-view":250}],256:[function(e,t,r){(function(r){(function(){"use strict";var i=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=i({},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,i=this;return this._sessionInProgress||(this._sessionInProgress=!0,e=this.applePayInstance.createPaymentRequest(this.applePayConfiguration.paymentRequest),(t=new r.ApplePaySession(i.applePaySessionVersion,e)).onvalidatemerchant=function(e){i.applePayInstance.performValidation({validationURL:e.validationURL,displayName:i.applePayConfiguration.displayName}).then((function(e){t.completeMerchantValidation(e)})).catch((function(e){i.model.reportError(e),i._sessionInProgress=!1,t.abort()}))},t.onpaymentauthorized=function(e){i.applePayInstance.tokenize({token:e.payment.token}).then((function(n){i._sessionInProgress=!1,t.completePayment(r.ApplePaySession.STATUS_SUCCESS),n.rawPaymentData=e.payment,i.model.addPaymentMethod(n)})).catch((function(e){i.model.reportError(e),i._sessionInProgress=!1,t.completePayment(r.ApplePaySession.STATUS_FAILURE)}))},t.oncancel=function(){i._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&&Boolean(e.merchantConfiguration.applePay),i=e.merchantConfiguration.applePay&&e.merchantConfiguration.applePay.applePaySessionVersion;return i=i||2,t&&r.ApplePaySession&&s.isHTTPS()&&r.ApplePaySession.supportsVersion(i)?l.resolve(Boolean(r.ApplePaySession.canMakePayments())):l.resolve(!1)},t.exports=c}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../constants":192,"../../lib/assign":198,"../../lib/dropin-error":202,"../../lib/is-https":205,"../../lib/promise":209,"../base-view":250,"braintree-web/apple-pay":54}],257:[function(e,t,r){(function(r){(function(){"use strict";var i,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=Boolean(this._isPayPalCredit),i=!1,n=this,a=t?"paypalCredit":"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=Boolean(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(r.paypal.FUNDING).forEach((function(e){"PAYPAL"!==e&&"CREDIT"!==e&&s.funding.disallowed.push(r.paypal.FUNDING[e])})),t?(l='[data-braintree-id="paypal-credit-button"]',s.style.label="credit"):s.funding.disallowed.push(r.paypal.FUNDING.CREDIT),l=c+" "+l,r.paypal.Button.render(s,l).then((function(){n.model.asyncDependencyReady(a),i=!0,clearTimeout(e)}))})).catch(p);function p(t){i?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)):r.paypal&&r.paypal.Button?h.resolve(!0):i||(i=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 i=null,h.resolve(e)}))):h.resolve(!1)},t.exports=y}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../constants":192,"../../lib/analytics":197,"../../lib/assign":198,"../../lib/browser-detection":199,"../../lib/dropin-error":202,"../../lib/promise":209,"../../translations":233,"../base-view":250,"@braintree/asset-loader":1,"braintree-web/paypal-checkout":137}],258:[function(e,t,r){"use strict";var i=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,r,i=this.getElementById("cardholder-name-field-group"),n=this.getElementById("card-view-icons");return this.model.merchantConfiguration.card&&!0!==this.model.merchantConfiguration.card?this.merchantConfiguration=this.model.merchantConfiguration.card:this.merchantConfiguration={},this.merchantConfiguration.vault=this.merchantConfiguration.vault||{},this.hasCardholderName=Boolean(this.merchantConfiguration.cardholderName),this.cardholderNameRequired=this.hasCardholderName&&!0===this.merchantConfiguration.cardholderName.required,r=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">\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\x3c!--Elo, Hiper, and Hipercard currently use the generic icon.\nThe braintree-hidden class should be removed here once we get icons for these cards--\x3e\n<div data-braintree-id="elo-card-icon" class="braintree-sheet__card-icon braintree-hidden">\n <svg width="40" height="24">\n <use xlink:href="#icon-elo"></use>\n </svg>\n</div>\n<div data-braintree-id="hiper-card-icon" class="braintree-sheet__card-icon braintree-hidden">\n <svg width="40" height="24">\n <use xlink:href="#icon-hiper"></use>\n </svg>\n</div>\n<div data-braintree-id="hipercard-card-icon" class="braintree-sheet__card-icon braintree-hidden">\n <svg width="40" height="24">\n <use xlink:href="#icon-hipercard"></use>\n </svg>\n</div>\n\x3c!-- Remove braintree-hidden class when supportedCardType accurately indicates Diners Club support --\x3e\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=r.fields.cvv,this.saveCardInput=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||i.parentNode.removeChild(i),this.hasCVV||(e=this.getElementById("cvv-field-group")).parentNode.removeChild(e),r.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(r).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._validateForm(),type:a.paymentMethodTypes.card})},h.prototype._generateHostedFieldsOptions=function(){var e,t=this.client.getConfiguration().gatewayConfiguration.challenges,r=-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,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,r||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){"cvv"!==e&&"postalCode"!==e||null!==o.fields[e]?a.fields[e]&&i(a.fields[e],o.fields[e],{selector:a.fields[e].selector}):delete a.fields[e]}))),o.styles&&Object.keys(o.styles).forEach((function(e){var t;null!==o.styles[e]?"string"!=typeof o.styles[e]?(t=o.styles[e],Object.keys(t).forEach((function(e){var r=m(e);t[r]=t[e]})),a.styles[e]=a.styles[e]||{},i(a.styles[e],o.styles[e])):a.styles[e]=o.styles[e]:delete a.styles[e]})),a):a},h.prototype._validateForm=function(e){var t,r,i,n=!0,o=this.client.getConfiguration().gatewayConfiguration.creditCards.supportedCardTypes;return!!this.hostedFieldsInstance&&(i=this.hostedFieldsInstance.getState(),Object.keys(i.fields).forEach(function(t){var r=i.fields[t];(e||n)&&(r.isEmpty?this.cardholderNameRequired||"cardholderName"!==t?(n=!1,e&&this.showFieldError(t,this.strings["fieldEmptyFor"+y(t)])):n=!0:r.isValid||(n=!1,e&&this.showFieldError(t,this.strings["fieldInvalidFor"+y(t)])))}.bind(this)),i.fields.number.isValid&&((r=(t=i.cards[0])&&a.configurationCardTypes[t.type])&&-1!==o.indexOf(r)||(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,r=t.hostedFieldsInstance.getState(),i={vault:this._shouldVault()};return this.model.clearError(),this._validateForm(!0)?(!this.cardholderNameRequired&&r.fields.cardholderName&&r.fields.cardholderName.isEmpty&&(i.fieldsToTokenize=Object.keys(r.fields).filter((function(e){return"cardholderName"!==e}))),t._isTokenizing=!0,t.hostedFieldsInstance.tokenize(i).then((function(i){return!1===t.merchantConfiguration.clearFieldsAfterTokenization||Object.keys(r.fields).forEach((function(e){t.hostedFieldsInstance.clear(e)})),t._shouldVault()&&(i.vaulted=!0),new p((function(r){e=function(){setTimeout((function(){t.model.addPaymentMethod(i),r(i),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 r=this.getElementById(m(e)+"-field-group"),i=r.querySelector("input");this.fieldErrors.hasOwnProperty(e)||(this.fieldErrors[e]=this.getElementById(m(e)+"-field-error")),o.add(r,"braintree-form__field-group--has-error"),this.fieldErrors[e].innerHTML=t,i?i.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"),r=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"),r?r.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.saveCardInput.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],r=this.getElementById(m(e.emittedBy)+"-field-group");o.remove(r,"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,r="#iconCardFront",i="#iconCVVBack",n=this.strings.cvvThreeDigitLabelSubheading,a=f(3),s=this.getElementById("number-field-group");1===e.cards.length?(r="#icon-"+(t=e.cards[0].type),"american-express"===t&&(i="#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",r),this.hasCVV&&(this.cvvIconSvg.setAttribute("xlink:href",i),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,r=e.fields[e.emittedBy];t="number"===e.emittedBy&&e.cards[0]?r.isValid&&this._isCardTypeSupported(e.cards[0].type):r.isValid,o.toggle(r.container,"braintree-form__field--valid",t),r.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 r,i=a.configurationCardTypes[t];-1===e.indexOf(i)&&(r=this.getElementById(t+"-card-icon"),o.add(r,"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,r=!1===e.merchantConfiguration.card;return p.resolve(!r&&t.creditCards.supportedCardTypes.length>0)},h.prototype._shouldApplyFieldEmptyError=function(e,t){return!!t.isEmpty&&(!("cardholderName"===e&&!this.cardholderNameRequired)&&(r=document.activeElement&&document.activeElement.id,document.activeElement instanceof HTMLIFrameElement&&-1!==r.indexOf("braintree-hosted-field")));var r},t.exports=h},{"../../constants":192,"../../lib/assign":198,"../../lib/dropin-error":202,"../../lib/is-utf-8":206,"../../lib/promise":209,"../../lib/transition-helper":213,"../base-view":250,"@braintree/class-list":40,"braintree-web/hosted-fields":86}],259:[function(e,t,r){(function(r){(function(){"use strict";var i=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 r.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,r,n=this;return n.googlePayConfiguration=i({},n.model.merchantConfiguration.googlePay),t=n.googlePayConfiguration.googlePayVersion,r=n.googlePayConfiguration.merchantId,e=i({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:r}).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,r=t.googlePayInstance.createPaymentDataRequest(t.googlePayConfiguration);return t.paymentsClient.loadPaymentData(r).then((function(r){return e=r,t.googlePayInstance.parseResponse(r)})).then((function(r){r.rawPaymentData=e,t.model.addPaymentMethod(r)})).catch((function(e){var r=e;if("DEVELOPER_ERROR"===e.statusCode)console.error(e),r="developerError";else{if("CANCELED"===e.statusCode)return void c.sendEvent(t.client,"googlepay.loadPaymentData.canceled");e.statusCode&&c.sendEvent(t.client,"googlepay.loadPaymentData.failed")}t.model.reportError(r)}))},p.prototype.updateConfiguration=function(e,t){this.googlePayConfiguration[e]=t},p.isEnabled=function(e){return e.client.getConfiguration().gatewayConfiguration.androidPay&&Boolean(e.merchantConfiguration.googlePay)?d.resolve().then((function(){return r.google&&r.google.payments&&r.google.payments.api&&r.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 Boolean(e.result)})):d.resolve(!1)},t.exports=p}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../constants":192,"../../lib/analytics":197,"../../lib/assign":198,"../../lib/dropin-error":202,"../../lib/promise":209,"../base-view":250,"@braintree/asset-loader":1,"braintree-web/google-payment":79}],260:[function(e,t,r){"use strict";var i=e("../../constants").paymentOptionIDs,n={};n[i.applePay]=e("./apple-pay-view"),n[i.card]=e("./card-view"),n[i.googlePay]=e("./google-pay-view"),n[i.paypal]=e("./paypal-view"),n[i.paypalCredit]=e("./paypal-credit-view"),n[i.venmo]=e("./venmo-view"),t.exports=n},{"../../constants":192,"./apple-pay-view":256,"./card-view":258,"./google-pay-view":259,"./paypal-credit-view":261,"./paypal-view":262,"./venmo-view":263}],261:[function(e,t,r){"use strict";var i=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(i({viewID:s.ID},e)):n.resolve(!1)},t.exports=s},{"../../constants":192,"../../lib/assign":198,"../../lib/promise":209,"./base-paypal-view":257}],262:[function(e,t,r){"use strict";var i=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(i({viewID:s.ID},e)):n.resolve(!1)},t.exports=s},{"../../constants":192,"../../lib/assign":198,"../../lib/promise":209,"./base-paypal-view":257}],263:[function(e,t,r){"use strict";var i=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=i({},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&&Boolean(e.merchantConfiguration.venmo)?s.resolve(o.isBrowserSupported(e.merchantConfiguration.venmo)):s.resolve(!1)},t.exports=d},{"../../constants":192,"../../lib/assign":198,"../../lib/dropin-error":202,"../../lib/promise":209,"../base-view":250,"braintree-web/venmo":158}]},{},[195])(195)}));