(this["webpackJsonpgonzo-test-client"]=this["webpackJsonpgonzo-test-client"]||[]).push([[46],{XY2a:function(e,t,n){(function(t){e.exports=function e(t,n,i){function r(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var d=n[a]={exports:{}};t[a][0].call(d.exports,(function(e){return r(t[a][1][e]||e)}),d,d.exports,e,t,n,i)}return n[a].exports}for(var o=!1,a=0;a0},i.createChild=function(e){e.prototype=Object.create(i.prototype,{constructor:e})},t.exports=i},{}],22:[function(e,n,i){(function(e){"use strict";function t(e){var n=this;return"function"===typeof e?new t.Promise(e):(this._promise=new t.Promise((function(e,t){n._resolveFunction=e,n._rejectFunction=t})),e=e||{},this._onResolve=e.onResolve||t.defaultOnResolve,this._onReject=e.onReject||t.defaultOnReject,function(e){return e.hasOwnProperty("suppressUnhandledPromiseMessage")?Boolean(e.suppressUnhandledPromiseMessage):Boolean(t.suppressUnhandledPromiseMessage)}(e)&&this._promise.catch((function(){})),this._resetState(),this._promise.resolve=this.resolve.bind(this),this._promise.reject=this.reject.bind(this),this._promise)}["all","allSettled","race","reject","resolve"].forEach((function(e){t[e]=function(){var n=Array.prototype.slice.call(arguments);return t.Promise[e].apply(t.Promise,n)}})),t.setPromise=function(e){t.Promise=e},t.setPromise(e.Promise),t.defaultOnResolve=function(e){return t.Promise.resolve(e)},t.defaultOnReject=function(e){return t.Promise.reject(e)},t.prototype.resolve=function(e){var n=this;return this._promise.isFulfilled||(this._setResolved(),t.Promise.resolve().then((function(){return n._onResolve(e)})).then(this._resolveFunction).catch((function(e){n._resetState(),n._promise.reject(e)}))),this._promise},t.prototype.reject=function(e){var n=this;return this._promise.isFulfilled||(this._setRejected(),t.Promise.resolve().then((function(){return n._onReject(e)})).then((function(e){n._setResolved(),n._resolveFunction(e)})).catch(this._rejectFunction)),this._promise},t.prototype._resetState=function(){this._promise.isFulfilled=!1,this._promise.isResolved=!1,this._promise.isRejected=!1},t.prototype._setResolved=function(){this._promise.isFulfilled=!0,this._promise.isResolved=!0,this._promise.isRejected=!1},t.prototype._setRejected=function(){this._promise.isFulfilled=!0,this._promise.isResolved=!1,this._promise.isRejected=!0},n.exports=t}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],23:[function(e,t,n){"use strict";var i=e("./lib/set-attributes"),r=e("./lib/default-attributes"),o=e("./lib/assign");t.exports=function(e){var t=document.createElement("iframe"),n=o({},r,e);return n.style&&"string"!==typeof n.style&&(o(t.style,n.style),delete n.style),i(t,n),t.getAttribute("id")||(t.id=t.name),t}},{"./lib/assign":24,"./lib/default-attributes":25,"./lib/set-attributes":26}],24:[function(e,t,n){"use strict";t.exports=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){"object"===typeof t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}},{}],25:[function(e,t,n){"use strict";t.exports={src:"about:blank",frameBorder:0,allowtransparency:!0,scrolling:"no"}},{}],26:[function(e,t,n){"use strict";t.exports=function(e,t){var n;for(var i in t)t.hasOwnProperty(i)&&(null==(n=t[i])?e.removeAttribute(i):e.setAttribute(i,n))}},{}],27:[function(e,t,n){"use strict";t.exports=function(e){return function(){var t=arguments;setTimeout((function(){try{e.apply(null,t)}catch(n){console.log("Error in callback function"),console.log(n)}}),1)}}},{}],28:[function(e,t,n){"use strict";t.exports=function(e){var t=!1;return function(){t||(t=!0,e.apply(null,arguments))}}},{}],29:[function(e,t,n){"use strict";t.exports=function(e,t){if(!t)return e;e.then((function(e){t(null,e)})).catch((function(e){t(e)}))}},{}],30:[function(e,t,n){"use strict";var i=e("./lib/deferred"),r=e("./lib/once"),o=e("./lib/promise-or-callback");function a(e){return function(){var t,n=Array.prototype.slice.call(arguments),a=n[n.length-1];return"function"===typeof a&&(t=n.pop(),t=r(i(t))),o(e.apply(this,n),t)}}a.wrapPrototype=function(e,t){var n,i;return n=(t=t||{}).ignoreMethods||[],i=!0===t.transformPrivateMethods,Object.getOwnPropertyNames(e.prototype).filter((function(t){var r,o="constructor"!==t&&"function"===typeof e.prototype[t],a=-1===n.indexOf(t);return r=!!i||"_"!==t.charAt(0),o&&r&&a})).forEach((function(t){var n=e.prototype[t];e.prototype[t]=a(n)})),e},t.exports=a},{"./lib/deferred":27,"./lib/once":28,"./lib/promise-or-callback":29}],31:[function(e,n,i){(function(t){"use strict";var i=e("../lib/braintree-error"),r=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._client=e.client,Object.defineProperty(this,"merchantIdentifier",{value:this._client.getConfiguration().gatewayConfiguration.applePayWeb.merchantIdentifier,configurable:!1,writable:!1})}c.prototype.createPaymentRequest=function(e){var t=this._client.getConfiguration().gatewayConfiguration.applePayWeb,n={countryCode:t.countryCode,currencyCode:t.currencyCode,merchantCapabilities:t.merchantCapabilities||["supports3DS"],supportedNetworks:t.supportedNetworks.map((function(e){return"mastercard"===e?"masterCard":e}))};return Object.assign({},n,e)},c.prototype.performValidation=function(e){var n,s=this;return e&&e.validationURL?(n={validationUrl:e.validationURL,domainName:e.domainName||t.location.hostname,merchantIdentifier:e.merchantIdentifier||this.merchantIdentifier},null!=e.displayName&&(n.displayName=e.displayName),this._client.request({method:"post",endpoint:"apple_pay_web/sessions",data:{_meta:{source:"apple-pay"},applePayWebSession:n}}).then((function(e){return r.sendEvent(s._client,"applepay.performValidation.succeeded"),a.resolve(e)})).catch((function(e){return r.sendEvent(s._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._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 r.sendEvent(t._client,"applepay.tokenize.succeeded"),a.resolve(e.applePayCards[0])})).catch((function(e){return r.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()},n.exports=d.wrapPrototype(c)}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"../lib/analytics":73,"../lib/braintree-error":78,"../lib/convert-methods-to-error":83,"../lib/methods":98,"../lib/promise":100,"./errors":32,"@braintree/wrap-promise":30}],32:[function(e,t,n){"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":78}],33:[function(e,t,n){"use strict";var i=e("../lib/braintree-error"),r=e("./apple-pay"),o=e("../lib/analytics"),a=e("../lib/basic-component-verification"),s=e("../lib/create-deferred-client"),l=e("../lib/create-assets-url"),d=e("./errors"),c=e("../lib/promise"),p=e("@braintree/wrap-promise");t.exports={create:p((function(e){return a.verify({name:"Apple Pay",client:e.client,authorization:e.authorization}).then((function(){return s.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:l.create(e.authorization),name:"Apple Pay"})})).then((function(t){return e.client=t,e.client.getConfiguration().gatewayConfiguration.applePayWeb?(o.sendEvent(e.client,"applepay.initialized"),new r(e)):c.reject(new i(d.APPLE_PAY_NOT_ENABLED))}))})),VERSION:"3.58.0"}},{"../lib/analytics":73,"../lib/basic-component-verification":76,"../lib/braintree-error":78,"../lib/create-assets-url":85,"../lib/create-deferred-client":87,"../lib/promise":100,"./apple-pay":31,"./errors":32,"@braintree/wrap-promise":30}],34:[function(e,t,n){"use strict";var i=e("@braintree/browser-detection/is-ie"),r=e("@braintree/browser-detection/is-ie9");t.exports={isIe:i,isIe9:r}},{"@braintree/browser-detection/is-ie":10,"@braintree/browser-detection/is-ie9":13}],35:[function(e,t,n){"use strict";var i=e("./constants").BRAINTREE_VERSION,r=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,g=e("../lib/analytics"),v=e("./errors"),E=e("../lib/constants").VERSION,b=e("../lib/constants").GRAPHQL_URLS,_=e("../lib/methods"),C=e("../lib/convert-methods-to-error"),P=e("../lib/assets"),T=e("../lib/constants").FRAUDNET_FNCLS,A=e("../lib/constants").FRAUDNET_SOURCE,I=e("../lib/constants").FRAUDNET_URL,D={};function w(e){var t,n;if(e=e||{},t=JSON.stringify(e),!(n=e.gatewayConfiguration))throw new s(v.CLIENT_MISSING_GATEWAY_CONFIGURATION);["assetsUrl","clientApiUrl","configUrl"].forEach((function(e){if(e in n&&!a(n[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=n.clientApiUrl+"/v1/",n.graphQL&&(this._graphQL=new r({graphQL:n.graphQL}))}w.initialize=function(e){var t,n,i=D[e.authorization];if(i)return g.sendEvent(i,"custom.client.load.cached"),i;try{n=c(e.authorization)}catch(r){return u.reject(new s(v.CLIENT_INVALID_AUTHORIZATION))}return i=d(n).then((function(n){return e.debug&&(n.isDebug=!0),n.authorization=e.authorization,t=new w(n)})),D[e.authorization]=i,g.sendEvent(i,"custom.client.load.initialized"),i.then((function(e){return g.sendEvent(t,"custom.client.load.succeeded"),e})).catch((function(t){return delete D[e.authorization],u.reject(t)}))},w.clearCache=function(){D={}},w.prototype._findOrCreateFraudnetJSON=function(e){var t,n,i,r,o=document.querySelector('script[fncls="'+T+'"]');o||((o=document.body.appendChild(document.createElement("script"))).type="application/json",o.setAttribute("fncls",T)),t=this.getConfiguration(),n={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&&(n.cid=t[1])})),r={f:e.substr(0,32),fp:n,bu:!1,s:A},o.text=JSON.stringify(r)},w.prototype.request=function(e,t){var n=this,r=new u((function(t,r){var o,a,d,c,u,h=Boolean("payment_methods/credit_cards"===e.endpoint&&n.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:n._graphQL,timeout:e.timeout,metadata:n._configuration.analyticsMetadata},"clientApi"===a)d=n._clientApiBaseUrl,c.data=p(n._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=b[n._configuration.gatewayConfiguration.environment],e.endpoint="",c.method="post",c.data=f({clientSdkMetadata:{source:n._configuration.analyticsMetadata.source,integration:n._configuration.analyticsMetadata.integration,sessionId:n._configuration.analyticsMetadata.sessionId}},e.data),c.headers={Authorization:"Bearer "+((u=n._configuration).authorizationFingerprint||u.authorization),"Braintree-Version":i}}c.url=d+e.endpoint,c.sendAnalyticsEvent=function(e){g.sendEvent(n,e)},n._request(c,(function(e,i,o){var d,c;(c=function(e,t){var n;if(-1===e?n=new s(v.CLIENT_REQUEST_TIMEOUT):403===e?n=new s(v.CLIENT_AUTHORIZATION_INSUFFICIENT):429===e?n=new s(v.CLIENT_RATE_LIMITED):e>=500?n=new s(v.CLIENT_GATEWAY_NETWORK):(e<200||e>=400)&&(n=l(t,{type:v.CLIENT_REQUEST_ERROR.type,code:v.CLIENT_REQUEST_ERROR.code,message:v.CLIENT_REQUEST_ERROR.message})),n)return n.details=n.details||{},n.details.httpStatus=e,n}(o,e))?r(c):"graphQLApi"===a&&i.errors?r(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&&(n._findOrCreateFraudnetJSON(d.creditCards[0].nonce),P.loadScript({src:I,forceScriptReload:!0})),t(d))}))}));return"function"===typeof t?(t=m(y(t)),void r.then((function(e){t(null,e,e._httpStatus)})).catch((function(e){var n=e&&e.details&&e.details.httpStatus;t(e,null,n)}))):r},w.prototype.toJSON=function(){return this.getConfiguration()},w.prototype.getVersion=function(){return E},w.prototype.teardown=h((function(){return delete D[this.getConfiguration().authorization],C(this,_(w.prototype)),u.resolve()})),t.exports=w},{"../lib/add-metadata":72,"../lib/analytics":73,"../lib/assets":74,"../lib/assign":75,"../lib/braintree-error":78,"../lib/constants":82,"../lib/convert-methods-to-error":83,"../lib/convert-to-braintree-error":84,"../lib/create-authorization-data":86,"../lib/deferred":88,"../lib/is-verified-domain":96,"../lib/methods":98,"../lib/once":99,"../lib/promise":100,"./constants":36,"./errors":37,"./get-configuration":38,"./request":50,"./request/graphql":48,"@braintree/wrap-promise":30}],36:[function(e,t,n){"use strict";t.exports={BRAINTREE_VERSION:"2018-05-10"}},{}],37:[function(e,t,n){"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."}}},{"../lib/braintree-error":78}],38:[function(e,n,i){(function(t){"use strict";var i=e("../lib/braintree-error"),r=e("../lib/promise"),o=e("@braintree/wrap-promise"),a=e("./request"),s=e("../lib/vendor/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;n.exports={getConfiguration:o((function(e){return new r((function(n,r){var o,m,y,f,g=s(),v={merchantAppId:t.location.host,platform:l.PLATFORM,sdkVersion:l.VERSION,source:l.SOURCE,integration:l.INTEGRATION,integrationType:l.INTEGRATION,sessionId:g};m=e.attrs,y=e.configUrl,m._meta=v,m.braintreeLibraryVersion=l.BRAINTREE_LIBRARY_VERSION,m.configVersion="3",f={url:y,method:"GET",data:m},m.authorizationFingerprint&&e.graphQL?(u(e.graphQL.date,h)&&(f.graphQL=new c({graphQL:{url:e.graphQL.url,features:["configuration"]}})),f.metadata=v):m.tokenizationKey&&(f.graphQL=new c({graphQL:{url:p[e.environment],features:["configuration"]}}),f.metadata=v),a(f,(function(e,t,a){var s;if(e)return s=403===a?d.CLIENT_AUTHORIZATION_INSUFFICIENT:d.CLIENT_GATEWAY_NETWORK,void r(new i({type:s.type,code:s.code,message:s.message,details:{originalError:e}}));o={authorizationType:m.tokenizationKey?"TOKENIZATION_KEY":"CLIENT_TOKEN",authorizationFingerprint:m.authorizationFingerprint,analyticsMetadata:v,gatewayConfiguration:t},n(o)}))}))}))}}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"../lib/braintree-error":78,"../lib/constants":82,"../lib/is-date-string-before-or-on":94,"../lib/promise":100,"../lib/vendor/uuid":104,"./constants":36,"./errors":37,"./request":50,"./request/graphql":48,"@braintree/wrap-promise":30}],39:[function(e,t,n){"use strict";var i=e("../lib/braintree-error"),r=e("./client"),o=e("../lib/promise"),a=e("@braintree/wrap-promise"),s=e("../lib/errors");t.exports={create:a((function(e){return e.authorization?r.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.58.0"}},{"../lib/braintree-error":78,"../lib/errors":91,"../lib/promise":100,"./client":35,"@braintree/wrap-promise":30}],40:[function(e,t,n){"use strict";var i=e("../../lib/querystring"),r=e("../../lib/assign").assign,o=e("./prep-body"),a=e("./parse-body"),s=e("./xhr"),l=s.isAvailable,d=e("./graphql/request"),c=e("./default-request");t.exports={request:function(e,t){!function e(t,n,p){var u,h,m,y,f,g,v,E=t.url,b=t.graphQL,_=t.timeout,C=s.getRequestObject(),P=p,T=Boolean(b&&b.isGraphQLRequest(E,t.data));t.headers=r({"Content-Type":"application/json"},t.headers),E=(m=T?new d(t):new c(t)).getUrl(),y=m.getBody(),f=m.getMethod(),g=m.getHeaders(),"GET"===f&&(E=i.queryify(E,y),y=null),l?C.onreadystatechange=function(){if(4===C.readyState){if(0===C.status&&T)return delete t.graphQL,void e(t,n,p);if(v=a(C.responseText),h=m.adaptResponseBody(v),(u=m.determineStatus(C.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 t.graphQL,void e(t,n,p);if(n<1&&function(e){return!e||408===e}(u))return n++,void e(t,n,p);P(h||"error",null,u||500)}else P(null,h,u)}}:(t.headers&&(E=i.queryify(E,g)),C.onload=function(){P(null,a(C.responseText),C.status)},C.onerror=function(){P("error",null,500)},C.onprogress=function(){},C.ontimeout=function(){P("timeout",null,-1)});try{C.open(f,E,!0)}catch(A){if(!T)throw A;return delete t.graphQL,void e(t,n,p)}C.timeout=_,l&&Object.keys(g).forEach((function(e){C.setRequestHeader(e,g[e])}));try{C.send(o(f,y))}catch(I){}}(e,0,t)}}},{"../../lib/assign":75,"../../lib/querystring":101,"./default-request":41,"./graphql/request":49,"./parse-body":53,"./prep-body":54,"./xhr":55}],41:[function(e,t,n){"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},{}],42:[function(e,n,i){(function(e){"use strict";n.exports=function(){return e.navigator.userAgent}}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],43:[function(e,t,n){"use strict";var i=e("./error"),r=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"},a={VISA:"visa",MASTERCARD:"mastercard",DISCOVER:"discover",AMERICAN_EXPRESS:"amex"},s={VISA:"Visa",MASTERCARD:"MasterCard",DISCOVER:"Discover",AMERICAN_EXPRESS:"American Express"},l={VISA:"visa",MASTERCARD:"mastercard",DISCOVER:"discover",AMERICAN_EXPRESS:"amex"},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,n){return t.hasOwnProperty(n)?e.concat(t[n]):e}),[])}t.exports=function(e,t){return e.data&&!e.errors?function(e,t){var n,i=e.data.clientConfiguration;return n={environment:i.environment.toLowerCase(),clientApiUrl:i.clientApiUrl,assetsUrl:i.assetsUrl,analytics:{url:i.analyticsUrl},merchantId:i.merchantId,venmo:"off"},i.supportedFeatures&&(n.graphQL={url:t._graphQL._config.url,features:i.supportedFeatures.map((function(e){return e.toLowerCase()}))}),i.braintreeApi&&(n.braintreeApi=i.braintreeApi),i.applePayWeb&&(n.applePayWeb=i.applePayWeb,n.applePayWeb.supportedNetworks=c(i.applePayWeb.supportedCardBrands,a),delete n.applePayWeb.supportedCardBrands),i.ideal&&(n.ideal=i.ideal),i.kount&&(n.kount={kountMerchantId:i.kount.merchantId}),i.creditCard?(n.challenges=i.creditCard.challenges.map((function(e){return e.toLowerCase()})),n.creditCards={supportedCardTypes:c(i.creditCard.supportedCardBrands,o)},n.threeDSecureEnabled=i.creditCard.threeDSecureEnabled,n.threeDSecure=i.creditCard.threeDSecure):(n.challenges=[],n.creditCards={supportedCardTypes:[]},n.threeDSecureEnabled=!1),i.googlePay&&(n.androidPay={displayName:i.googlePay.displayName,enabled:!0,environment:i.googlePay.environment.toLowerCase(),googleAuthorizationFingerprint:i.googlePay.googleAuthorization,supportedNetworks:c(i.googlePay.supportedCardBrands,l)}),i.venmo&&(n.payWithVenmo={merchantId:i.venmo.merchantId,accessToken:i.venmo.accessToken,environment:i.venmo.environment.toLowerCase()}),i.paypal?(n.paypalEnabled=!0,n.paypal=r({},i.paypal),n.paypal.currencyIsoCode=n.paypal.currencyCode,n.paypal.environment=n.paypal.environment.toLowerCase(),delete n.paypal.currencyCode):n.paypalEnabled=!1,i.unionPay&&(n.unionPay={enabled:!0,merchantAccountId:i.unionPay.merchantAccountId}),i.visaCheckout&&(n.visaCheckout={apikey:i.visaCheckout.apiKey,externalClientId:i.visaCheckout.externalClientId,supportedCardTypes:c(i.visaCheckout.supportedCardBrands,s)}),i.masterpass&&(n.masterpass={merchantCheckoutId:i.masterpass.merchantCheckoutId,supportedNetworks:c(i.masterpass.supportedCardBrands,d)}),i.usBankAccount&&(n.usBankAccount={routeId:i.usBankAccount.routeId,plaid:{publicKey:i.usBankAccount.plaidPublicKey}}),n}(e,t):i(e)}},{"../../../../lib/assign":75,"./error":45}],44:[function(e,t,n){"use strict";var i=e("./error"),r={AMERICAN_EXPRESS:"American Express",DINERS:"Discover",DISCOVER:"Discover",INTERNATIONAL_MAESTRO:"Maestro",JCB:"JCB",MASTERCARD:"MasterCard",UK_MAESTRO:"Maestro",UNION_PAY:"Union Pay",VISA:"Visa"},o={YES:"Yes",NO:"No",UNKNOWN:"Unknown"},a={PSDTWO:"psd2"};t.exports=function(e){return e.data&&!e.errors?function(e){var t,n,i=e.data.tokenizeCreditCard,s=i.creditCard,l=s.last4?s.last4.substr(2,4):"",d=s.binData;return 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:{expirationMonth:s.expirationMonth,expirationYear:s.expirationYear,bin:s.bin||"",cardType:r[s.brandCode]||"Unknown",lastFour:s.last4||"",lastTwo:l},type:"CreditCard",threeDSecureInfo:null}]},i.authenticationInsight&&(n=i.authenticationInsight.customerAuthenticationRegulationEnvironment,t.creditCards[0].authenticationInsight={regulationEnvironment:a[n]||n.toLowerCase()}),t}(e):i(e)}},{"./error":45}],45:[function(e,t,n){"use strict";t.exports=function(e){var t=e.errors&&e.errors[0]&&e.errors[0].extensions&&e.errors[0].extensions.errorClass;return"VALIDATION"===t?function(e){var t,n=function(e){var t=[];return e.forEach((function(e){e.extensions&&e.extensions.inputPath&&function e(t,n,i){var r,o=n.extensions.legacyCode,a=t[0];1!==t.length?(i.forEach((function(e){e.field===a&&(r=e)})),r||(r={field:a,fieldErrors:[]},i.push(r)),e(t.slice(1),n,r.fieldErrors)):i.push({code:o,field:a,message:n.message})}(e.extensions.inputPath.slice(1),e,t)})),t}(e.errors);return 0===n.length?{error:{message:e.errors[0].message}}:{error:{message:(t=n,{creditCard:"Credit card is invalid"}[t[0].field])},fieldErrors:n}}(e):t?function(e){return{error:{message:e.errors[0].message},fieldErrors:[]}}(e):{error:{message:"There was a problem serving your request"},fieldErrors:[]}}},{}],46:[function(e,t,n){"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 } 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"}}},{}],47:[function(e,t,n){"use strict";var i=e("../../../../lib/assign").assign;function r(e){var t=e.hasAuthenticationInsight,n="mutation TokenizeCreditCard($input: TokenizeCreditCardInput!";return t&&(n+=", $authenticationInsightInput: AuthenticationInsightInput!"),n+=") { tokenizeCreditCard(input: $input) { token creditCard { bin brandCode last4 expirationMonth expirationYear binData { prepaid healthcare debit durbinRegulated commercial payroll issuingBank countryOfIssuance productId } } ",t&&(n+=" authenticationInsight(input: $authenticationInsightInput) { customerAuthenticationRegulationEnvironment }"),n+=" } }"}function o(e,t){var n=e.creditCard,r=n&&n.billingAddress,o=n&&n.expirationDate,a=n&&(n.expirationMonth||o&&o.split("/")[0].trim()),s=n&&(n.expirationYear||o&&o.split("/")[1].trim()),l={input:{creditCard:{number:n&&n.number,expirationMonth:a,expirationYear:s,cvv:n&&n.cvv,cardholderName:n&&n.cardholderName},options:{}}};return t.hasAuthenticationInsight&&(l.authenticationInsightInput={merchantAccountId:e.merchantAccountId}),r&&(l.input.creditCard.billingAddress=r),l.input=function(e,t){var n;return e.creditCard&&e.creditCard.options&&"boolean"===typeof e.creditCard.options.validate?n=e.creditCard.options.validate:e.authorizationFingerprint&&e.tokenizationKey||e.authorizationFingerprint?n=!0:e.tokenizationKey&&(n=!1),"boolean"===typeof n&&(t.options=i({validate:n},t.options)),t}(e,l.input),l}t.exports=function(e){var t={hasAuthenticationInsight:Boolean(e.authenticationInsight&&e.merchantAccountId)};return{query:r(t),variables:o(e,t),operationName:"TokenizeCreditCard"}}},{"../../../../lib/assign":75}],48:[function(e,t,n){"use strict";var i=e("../../browser-detection"),r={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 n,a=this.getClientApiPath(e);return!(!this._isGraphQLEnabled()||!a||i.isIe9())&&(n=this._config.features.some((function(e){return r[e]===a})),!function(e){return o.some((function(t){return void 0!==t.split(".").reduce((function(e,t){return e&&e[t]}),e)}))}(t)&&n)},a.prototype.getClientApiPath=function(e){var t,n=e.split("/client_api/v1/");return n.length>1&&(t=n[1].split("?")[0]),t},a.prototype._isGraphQLEnabled=function(){return Boolean(this._config)},t.exports=a},{"../../browser-detection":34}],49:[function(e,t,n){"use strict";var i=e("../../constants").BRAINTREE_VERSION,r=e("../../../lib/assign").assign,o=e("./generators/credit-card-tokenization"),a=e("./adapters/credit-card-tokenization"),s=e("./generators/configuration"),l=e("./adapters/configuration"),d={"payment_methods/credit_cards":o,configuration:s},c={"payment_methods/credit_cards":a,configuration:l};function p(e){var t=e.graphQL.getClientApiPath(e.url);this._graphQL=e.graphQL,this._data=e.data,this._method=e.method,this._headers=e.headers,this._clientSdkMetadata={source:e.metadata.source,integration:e.metadata.integration,sessionId:e.metadata.sessionId},this._sendAnalyticsEvent=e.sendAnalyticsEvent||Function.prototype,this._generator=d[t],this._adapter=c[t],this._sendAnalyticsEvent("graphql.init")}p.prototype.getUrl=function(){return this._graphQL.getGraphQLEndpoint()},p.prototype.getBody=function(){var e=function e(t){var n={};return Object.keys(t).forEach((function(i){var r,o=-1===(r=i).indexOf("_")?r:r.toLowerCase().replace(/(\_\w)/g,(function(e){return e[1].toUpperCase()}));"object"===typeof t[i]?n[o]=e(t[i]):"number"===typeof t[i]?n[o]=String(t[i]):n[o]=t[i]})),n}(this._data),t=this._generator(e),n=r({clientSdkMetadata:this._clientSdkMetadata},t);return JSON.stringify(n)},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},r({},this._headers,t)},p.prototype.adaptResponseBody=function(e){return this._adapter(e,this)},p.prototype.determineStatus=function(e,t){var n,i;return 200===e?(i=t.errors&&t.errors[0]&&t.errors[0].extensions&&t.errors[0].extensions.errorClass,n=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):n=e||500,this._sendAnalyticsEvent("graphql.status."+e),this._sendAnalyticsEvent("graphql.determinedStatus."+n),n},t.exports=p},{"../../../lib/assign":75,"../../constants":36,"./adapters/configuration":43,"./adapters/credit-card-tokenization":44,"./generators/configuration":46,"./generators/credit-card-tokenization":47}],50:[function(e,t,n){"use strict";var i,r=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=r(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":99,"./ajax-driver":40,"./get-user-agent":42,"./is-http":51,"./jsonp-driver":52}],51:[function(e,n,i){(function(e){"use strict";n.exports=function(){return"http:"===e.location.protocol}}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],52:[function(e,n,i){(function(t){"use strict";var i,r=e("../../lib/vendor/uuid"),o=e("../../lib/querystring"),a={};function s(e){try{delete t[e]}catch(n){t[e]=null}}n.exports={request:function(e,n){var l,d="callback_json_"+r().replace(/-/g,""),c=e.url,p=e.data,u=e.method,h=e.timeout;c=o.queryify(c,p),function(e,n,i){t[i]=function(t){var r=t.status||500,o=null,l=null;delete t.status,r>=400||r<200?o=t:l=t,s(i),function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}(e),clearTimeout(a[i]),n(o,l,r)}}(l=function(e,n){var i=document.createElement("script"),r=!1;return i.src=e,i.async=!0,i.onerror=function(){t[n]({message:"error",status:500})},i.onload=i.onreadystatechange=function(){r||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(r=!0,i.onload=i.onreadystatechange=null)},i}(c=o.queryify(c,{_method:u,callback:d}),d),n,d),function(e,n){a[n]=setTimeout((function(){a[n]=null,t[n]({error:"timeout",status:-1}),t[n]=function(){s(n)}}),e)}(h,d),i||(i=document.getElementsByTagName("head")[0]),i.appendChild(l)}}}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"../../lib/querystring":101,"../../lib/vendor/uuid":104}],53:[function(e,t,n){"use strict";t.exports=function(e){try{e=JSON.parse(e)}catch(t){}return e}},{}],54:[function(e,t,n){"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}},{}],55:[function(e,n,i){(function(e){"use strict";var t=e.XMLHttpRequest&&"withCredentials"in new e.XMLHttpRequest;n.exports={isAvailable:t,getRequestObject:function(){return t?new e.XMLHttpRequest:new e.XDomainRequest}}}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],56:[function(e,t,n){"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":78}],57:[function(e,t,n){"use strict";var i=e("../lib/analytics"),r=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){this._client=e.client,this._googlePayVersion=e.googlePayVersion||1,this._googleMerchantId=e.googleMerchantId}m.prototype._initialize=function(){return this._isUnsupportedGooglePayAPIVersion()?p.reject(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})):p.resolve(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(),n=e.cardRequirements&&e.cardRequirements.allowedCardNetworks,i=t.cardRequirements.allowedCardNetworks,o=n||i;return(e=r({},t,e)).cardRequirements.allowedCardNetworks=o,e},m.prototype._createV2PaymentDataRequest=function(e){var t=this._getDefaultConfig();return e.allowedPaymentMethods&&e.allowedPaymentMethods.forEach((function(e){var n=a(t.allowedPaymentMethods,"type",e.type);n&&function(e,t){Object.keys(t).forEach((function(n){"object"===typeof t[n]?e[n]=r({},t[n],e[n]):e[n]=e[n]||t[n]}))}(e,n)})),e=r({},t,e)},m.prototype.createPaymentDataRequest=function(e){var t=r({},e),n=this._googlePayVersion,o=h[n];return i.sendEvent(this._client,"google-payment.v"+n+".createPaymentDataRequest"),this[o](t)},m.prototype.parseResponse=function(e){var t=this._client;return p.resolve().then((function(){var n,r=2===e.apiVersion?e.paymentMethodData.tokenizationData.token:e.paymentMethodToken.token,o=JSON.parse(r),a=o.error;return a?p.reject(a):(i.sendEvent(t,"google-payment.parseResponse.succeeded"),o.paypalAccounts?(n=o.paypalAccounts[0],i.sendEvent(t,"google-payment.parseResponse.succeeded.paypal"),p.resolve({nonce:n.nonce,type:n.type,description:n.description})):(n=o.androidPayCards[0],i.sendEvent(t,"google-payment.parseResponse.succeeded.google-payment"),p.resolve({nonce:n.nonce,type:n.type,description:n.description,details:{cardType:n.details.cardType,lastFour:n.details.lastFour,lastTwo:n.details.lastTwo,isNetworkTokenized:n.details.isNetworkTokenized},binData:n.binData})))})).catch((function(e){return i.sendEvent(t,"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":73,"../lib/assign":75,"../lib/braintree-error":78,"../lib/convert-methods-to-error":83,"../lib/find":92,"../lib/generate-google-pay-configuration":93,"../lib/methods":98,"../lib/promise":100,"./errors":56,"@braintree/wrap-promise":30}],58:[function(e,t,n){"use strict";var i=e("../lib/basic-component-verification"),r=e("../lib/braintree-error"),o=e("./errors"),a=e("./google-payment"),s=e("../lib/create-deferred-client"),l=e("../lib/create-assets-url"),d=e("../lib/promise"),c=e("@braintree/wrap-promise");t.exports={create:c((function(e){return i.verify({name:"Google Pay",client:e.client,authorization:e.authorization}).then((function(){return s.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:l.create(e.authorization),name:"Google Pay"})})).then((function(t){return e.client=t,e.client.getConfiguration().gatewayConfiguration.androidPay?new a(e)._initialize():d.reject(new r(o.GOOGLE_PAYMENT_NOT_ENABLED))}))})),VERSION:"3.58.0"}},{"../lib/basic-component-verification":76,"../lib/braintree-error":78,"../lib/create-assets-url":85,"../lib/create-deferred-client":87,"../lib/promise":100,"./errors":56,"./google-payment":57,"@braintree/wrap-promise":30}],59:[function(e,t,n){"use strict";var i=e("../../lib/braintree-error"),r=e("../shared/errors"),o=e("../shared/constants").allowedAttributes;t.exports=function(e,t){var n;return o.hasOwnProperty(e)?null==t||function(e,t){return"string"===o[e]?"string"===typeof t||"number"===typeof t:"boolean"===o[e]&&("true"===String(t)||"false"===String(t))}(e,t)||(n=new i({type:r.HOSTED_FIELDS_ATTRIBUTE_VALUE_NOT_ALLOWED.type,code:r.HOSTED_FIELDS_ATTRIBUTE_VALUE_NOT_ALLOWED.code,message:'Value "'+t+'" is not allowed for "'+e+'" attribute.'})):n=new i({type:r.HOSTED_FIELDS_ATTRIBUTE_NOT_SUPPORTED.type,code:r.HOSTED_FIELDS_ATTRIBUTE_NOT_SUPPORTED.code,message:'The "'+e+'" attribute is not supported in Hosted Fields.'}),n}},{"../../lib/braintree-error":78,"../shared/constants":67,"../shared/errors":68}],60:[function(e,t,n){"use strict";var i=e("../shared/constants"),r=e("../../lib/use-min");t.exports=function(e,t,n){return e+"/web/"+i.VERSION+"/html/hosted-fields-frame"+r(n)+".html#"+t}},{"../../lib/use-min":102,"../shared/constants":67}],61:[function(e,t,n){"use strict";var i=e("../shared/constants").navigationDirections,r=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 r.hasSoftwareKeyboard()?s.indexOf(e.tagName)>-1&&l.indexOf(e.type)<0:"hidden"!==e.type}function c(e){var t,n;for(t=0;tt-1},indexChange:1}}return{}}(n,l.length);do{if(r+=c.indexChange,c.checkIndexBounds(r))return;s=l[r]}while(!d(s));o.matchFocusElement(s.getAttribute("id"))?e.onTriggerInputFocus(s.getAttribute("data-braintree-type")):s.focus()}}}}},{"../shared/browser-detection":66,"../shared/constants":67,"../shared/find-parent-tags":69,"../shared/focus-intercept":70}],62:[function(e,t,n){"use strict";var i=e("../shared/constants").allowedStyles;t.exports=function(e){var t,n=document.createElement("input"),r={};return"."===e[0]&&(e=e.substring(1)),n.className=e,n.style.display="none !important",n.style.position="fixed !important",n.style.left="-99999px !important",n.style.top="-99999px !important",document.body.appendChild(n),t=window.getComputedStyle(n),i.forEach((function(e){var n=t[e];n&&(r[e]=n)})),document.body.removeChild(n),r}},{"../shared/constants":67}],63:[function(e,n,i){(function(t){"use strict";var i=e("../../lib/assign").assign,r=e("../../lib/create-assets-url"),o=e("../../lib/destructor"),a=e("@braintree/class-list"),s=e("@braintree/iframer"),l=e("../../lib/bus"),d=e("../../lib/create-deferred-client"),c=e("../../lib/braintree-error"),p=e("./compose-url"),u=e("./get-styles-from-class"),h=e("../shared/constants"),m=e("../shared/errors"),y=e("../../lib/constants").INTEGRATION_TIMEOUT_MS,f=e("../../lib/vendor/uuid"),g=e("../shared/find-parent-tags"),v=e("../shared/browser-detection"),E=h.events,b=e("@braintree/event-emitter"),_=e("./inject-frame"),C=e("../../lib/analytics"),P=h.allowedFields,T=e("../../lib/methods"),A=e("../../lib/convert-methods-to-error"),I=e("../../lib/errors"),D=e("../shared/get-card-types"),w=e("./attribute-validation-error"),N=e("../../lib/promise"),L=e("@braintree/wrap-promise"),S=e("./focus-change"),M=e("../shared/focus-intercept").destroy;function F(e){return function(t){var n,i=t.merchantPayload,r=i.emittedBy,o=e[r].containerElement;Object.keys(i.fields).forEach((function(t){i.fields[t].container=e[t].containerElement})),n=i.fields[r],"blur"===t.type&&function(e){var t;v.isIos()&&document.activeElement===document.body&&((t=e.querySelector("input"))||((t=document.createElement("input")).type="button",t.style.height="0px",t.style.width="0px",t.style.opacity="0",t.style.padding="0",t.style.position="absolute",t.style.left="-200%",t.style.top="0px",e.insertBefore(t,e.firstChild)),t.focus(),t.blur())}(o),a.toggle(o,h.externalClasses.FOCUSED,n.isFocused),a.toggle(o,h.externalClasses.VALID,n.isValid),a.toggle(o,h.externalClasses.INVALID,!n.isPotentiallyValid),this._state={cards:i.cards,fields:i.fields},this._emit(t.type,i)}}function O(e){var n,g,P,w,L,R=this,k={},V={},x=[],z=f();if(this._merchantConfigurationOptions=i({},e),e.client?(P=(g=e.client.getConfiguration()).gatewayConfiguration.assetsUrl,w=g.isDebug):(P=r.create(e.authorization),w=Boolean(e.isDebug)),this._clientPromise=d.create({client:e.client,authorization:e.authorization,debug:w,assetsUrl:P,name:"Hosted Fields"}),L=p(P,z,w),!e.fields||0===Object.keys(e.fields).length)throw new c({type:I.INSTANTIATION_OPTION_REQUIRED.type,code:I.INSTANTIATION_OPTION_REQUIRED.code,message:"options.fields is required when instantiating Hosted Fields."});b.call(this),this._injectedNodes=[],this._destructor=new o,this._fields=k,this._state={fields:{},cards:D("")},this._bus=new l({channel:z,merchantUrl:location.href}),this._destructor.registerFunctionForTeardown((function(){R._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 n,i,r,o;if(!h.allowedFields.hasOwnProperty(t))throw new c({type:m.HOSTED_FIELDS_INVALID_FIELD_KEY.type,code:m.HOSTED_FIELDS_INVALID_FIELD_KEY.code,message:'"'+t+'" is not a valid field.'});if("string"===typeof(i=(n=e.fields[t]).container||n.selector)&&(i=document.querySelector(i)),!i||1!==i.nodeType)throw new c({type:m.HOSTED_FIELDS_INVALID_FIELD_SELECTOR.type,code:m.HOSTED_FIELDS_INVALID_FIELD_SELECTOR.code,message:m.HOSTED_FIELDS_INVALID_FIELD_SELECTOR.message,details:{fieldSelector:n.selector,fieldContainer:n.container,fieldKey:t}});if(i.querySelector('iframe[name^="braintree-"]'))throw new c({type:m.HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME.type,code:m.HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME.code,message:m.HOSTED_FIELDS_FIELD_DUPLICATE_IFRAME.message,details:{fieldSelector:n.selector,fieldContainer:n.container,fieldKey:t}});if(n.maxlength&&"number"!==typeof n.maxlength)throw new c({type:m.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.type,code:m.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.code,message:"The value for maxlength must be a number.",details:{fieldKey:t}});if(n.minlength&&"number"!==typeof n.minlength)throw new c({type:m.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.type,code:m.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.code,message:"The value for minlength must be a number.",details:{fieldKey:t}});r=s({type:t,name:"braintree-hosted-field-"+t,style:h.defaultIFrameStyle,title:"Secure Credit Card Frame - "+h.allowedFields[t].label}),this._injectedNodes.push.apply(this._injectedNodes,_(r,i,(function(){R._bus.emit(E.TRIGGER_INPUT_FOCUS,t)}))),this._setupLabelFocus(t,i),k[t]={frameElement:r,containerElement:i},o=new N((function(e){V[t]=e})),x.push(o),this._state.fields[t]={isEmpty:!0,isValid:!1,isPotentiallyValid:!0,isFocused:!1,container:i},setTimeout((function(){v.isIE()||v.isEdge()?(r.src="about:blank",setTimeout((function(){r.src=L}),0)):r.src=L}),0)}.bind(this)),this._merchantConfigurationOptions.styles&&Object.keys(this._merchantConfigurationOptions.styles).forEach((function(e){var t=R._merchantConfigurationOptions.styles[e];"string"===typeof t&&(R._merchantConfigurationOptions.styles[e]=u(t))})),this._bus.on(E.REMOVE_FOCUS_INTERCEPTS,M),this._bus.on(E.TRIGGER_FOCUS_CHANGE,S.createFocusChangeHandler({onRemoveFocusIntercepts:function(e){R._bus.emit(E.REMOVE_FOCUS_INTERCEPTS,e)},onTriggerInputFocus:function(e){R._bus.emit(E.TRIGGER_INPUT_FOCUS,e)}})),this._bus.on(E.READY_FOR_CLIENT,(function(e){R._clientPromise.then((function(t){e(t)}))})),this._bus.on(E.CARD_FORM_ENTRY_HAS_BEGUN,(function(){C.sendEvent(R._clientPromise,"hosted-fields.input.started")})),this._bus.on(E.BIN_AVAILABLE,(function(e){R._emit("binAvailable",{bin:e})})),n=setTimeout((function(){C.sendEvent(R._clientPromise,"custom.hosted-fields.load.timed-out"),R._emit("timeout")}),y),N.all(x).then((function(e){var t=e[0];clearTimeout(n),t(function(e){var t=i({},e);return t.fields=i({},t.fields),Object.keys(t.fields).forEach((function(e){t.fields[e]=i({},t.fields[e]),delete t.fields[e].container})),t}(R._merchantConfigurationOptions)),R._cleanUpFocusIntercepts(),R._emit("ready")})),this._bus.on(E.FRAME_READY,(function(e,t){V[e.field](t)})),this._bus.on(E.INPUT_EVENT,F(k).bind(this)),v.isIos()&&this._bus.on(E.TRIGGER_INPUT_FOCUS,(function(e){var n=k[e].containerElement;setTimeout((function(){(function(e){var n=e.getBoundingClientRect(),i=Math.floor(n.height/2),r=Math.floor(n.width/2);return n.top<(t.innerHeight-i||document.documentElement.clientHeight-i)&&n.right>r&&n.bottom>i&&n.left<(t.innerWidth-r||document.documentElement.clientWidth-r)})(n)||n.scrollIntoView()}),5)})),this._destructor.registerFunctionForTeardown((function(){var e,t,n;for(e=0;e0&&(e.details.invalidFields={},e.details.invalidFieldKeys.forEach(function(t){e.details.invalidFields[t]=this._fields[t].containerElement}.bind(this)))},O.prototype.teardown=function(){var e=this;return new N((function(t,n){e._destructor.teardown((function(i){C.sendEvent(e._clientPromise,"custom.hosted-fields.teardown-completed"),i?n(i):t()}))}))},O.prototype.tokenize=function(e){var t=this;return e||(e={}),new N((function(n,i){t._bus.emit(E.TOKENIZATION_REQUEST,e,(function(e){var r=e[0],o=e[1];r?(t._attachInvalidFieldContainersToError(r),i(new c(r))):n(o)}))}))},O.prototype.addClass=function(e,t){var n;return P.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?this._bus.emit(E.ADD_CLASS,e,t):n=new c({type:m.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:m.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot add class to "'+e+'" field because it is not part of the current Hosted Fields options.'}):n=new c({type:m.HOSTED_FIELDS_FIELD_INVALID.type,code:m.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e+'" is not a valid field. You must use a valid field option when adding a class.'}),n?N.reject(n):N.resolve()},O.prototype.removeClass=function(e,t){var n;return P.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?this._bus.emit(E.REMOVE_CLASS,e,t):n=new c({type:m.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:m.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot remove class from "'+e+'" field because it is not part of the current Hosted Fields options.'}):n=new c({type:m.HOSTED_FIELDS_FIELD_INVALID.type,code:m.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e+'" is not a valid field. You must use a valid field option when removing a class.'}),n?N.reject(n):N.resolve()},O.prototype.setAttribute=function(e){var t,n;return P.hasOwnProperty(e.field)?this._fields.hasOwnProperty(e.field)?(t=w(e.attribute,e.value))?n=t:this._bus.emit(E.SET_ATTRIBUTE,e.field,e.attribute,e.value):n=new c({type:m.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:m.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.'}):n=new c({type:m.HOSTED_FIELDS_FIELD_INVALID.type,code:m.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e.field+'" is not a valid field. You must use a valid field option when setting an attribute.'}),n?N.reject(n):N.resolve()},O.prototype.setMonthOptions=function(e){var t,n=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?N.reject(new c({type:m.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.type,code:m.HOSTED_FIELDS_FIELD_PROPERTY_INVALID.code,message:t})):new N((function(t){n._bus.emit(E.SET_MONTH_OPTIONS,e,t)}))},O.prototype.setMessage=function(e){this._bus.emit(E.SET_MESSAGE,e.field,e.message)},O.prototype.removeAttribute=function(e){var t,n;return P.hasOwnProperty(e.field)?this._fields.hasOwnProperty(e.field)?(t=w(e.attribute))?n=t:this._bus.emit(E.REMOVE_ATTRIBUTE,e.field,e.attribute):n=new c({type:m.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:m.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.'}):n=new c({type:m.HOSTED_FIELDS_FIELD_INVALID.type,code:m.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e.field+'" is not a valid field. You must use a valid field option when removing an attribute.'}),n?N.reject(n):N.resolve()},O.prototype.setPlaceholder=function(e,t){return this.setAttribute({field:e,attribute:"placeholder",value:t})},O.prototype.clear=function(e){var t;return P.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?this._bus.emit(E.CLEAR_FIELD,e):t=new c({type:m.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:m.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot clear "'+e+'" field because it is not part of the current Hosted Fields options.'}):t=new c({type:m.HOSTED_FIELDS_FIELD_INVALID.type,code:m.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e+'" is not a valid field. You must use a valid field option when clearing a field.'}),t?N.reject(t):N.resolve()},O.prototype.focus=function(e){var t;return P.hasOwnProperty(e)?this._fields.hasOwnProperty(e)?this._bus.emit(E.TRIGGER_INPUT_FOCUS,e):t=new c({type:m.HOSTED_FIELDS_FIELD_NOT_PRESENT.type,code:m.HOSTED_FIELDS_FIELD_NOT_PRESENT.code,message:'Cannot focus "'+e+'" field because it is not part of the current Hosted Fields options.'}):t=new c({type:m.HOSTED_FIELDS_FIELD_INVALID.type,code:m.HOSTED_FIELDS_FIELD_INVALID.code,message:'"'+e+'" is not a valid field. You must use a valid field option when focusing a field.'}),t?N.reject(t):N.resolve()},O.prototype.getState=function(){return this._state},n.exports=L.wrapPrototype(O)}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"../../lib/analytics":73,"../../lib/assign":75,"../../lib/braintree-error":78,"../../lib/bus":81,"../../lib/constants":82,"../../lib/convert-methods-to-error":83,"../../lib/create-assets-url":85,"../../lib/create-deferred-client":87,"../../lib/destructor":89,"../../lib/errors":91,"../../lib/methods":98,"../../lib/promise":100,"../../lib/vendor/uuid":104,"../shared/browser-detection":66,"../shared/constants":67,"../shared/errors":68,"../shared/find-parent-tags":69,"../shared/focus-intercept":70,"../shared/get-card-types":71,"./attribute-validation-error":59,"./compose-url":60,"./focus-change":61,"./get-styles-from-class":62,"./inject-frame":64,"@braintree/class-list":20,"@braintree/event-emitter":21,"@braintree/iframer":23,"@braintree/wrap-promise":30}],64:[function(e,t,n){"use strict";var i=e("../shared/focus-intercept"),r=e("../shared/constants").navigationDirections;t.exports=function(e,t,n){var o=e.getAttribute("type"),a=document.createElement("div"),s=document.createDocumentFragment(),l=i.generate(o,r.BACK,n),d=i.generate(o,r.FORWARD,n);return a.style.clear="both",s.appendChild(l),s.appendChild(e),s.appendChild(d),s.appendChild(a),t.appendChild(s),[e,a]}},{"../shared/constants":67,"../shared/focus-intercept":70}],65:[function(e,t,n){"use strict";var i=e("./external/hosted-fields"),r=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 r.verify({name:"Hosted Fields",authorization:e.authorization,client:e.client}).then((function(){var t=new i(e);return new d((function(e,n){t.on("ready",(function(){e(t)})),t.on("timeout",(function(){n(new l(o.HOSTED_FIELDS_TIMEOUT))}))}))}))})),VERSION:"3.58.0"}},{"../lib/basic-component-verification":76,"../lib/braintree-error":78,"../lib/promise":100,"./external/hosted-fields":63,"./shared/errors":68,"@braintree/wrap-promise":30,"restricted-input/supports-input-formatting":141}],66:[function(e,t,n){"use strict";var i=e("@braintree/browser-detection/is-android"),r=e("@braintree/browser-detection/is-chrome-os"),o=e("@braintree/browser-detection/is-ios");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:r,isFirefox:e("@braintree/browser-detection/is-firefox"),isIos:o,isIosWebview:e("@braintree/browser-detection/is-ios-webview"),hasSoftwareKeyboard:function(){return i()||r()||o()}}},{"@braintree/browser-detection/is-android":5,"@braintree/browser-detection/is-chrome-os":6,"@braintree/browser-detection/is-edge":8,"@braintree/browser-detection/is-firefox":9,"@braintree/browser-detection/is-ie":10,"@braintree/browser-detection/is-ie10":11,"@braintree/browser-detection/is-ie9":13,"@braintree/browser-detection/is-ios":17,"@braintree/browser-detection/is-ios-webview":16}],67:[function(e,t,n){"use strict";var i=e("../../lib/enumerate"),r=e("./errors"),o={VERSION:"3.58.0",maxExpirationYearAge:19,externalEvents:{FOCUS:"focus",BLUR:"blur",EMPTY:"empty",NOT_EMPTY:"notEmpty",VALIDITY_CHANGE:"validityChange",CARD_TYPE_CHANGE:"cardTypeChange"},defaultMaxLengths:{number:19,postalCode:8,expirationDate:7,expirationMonth:2,expirationYear:4,cvv:3},externalClasses:{FOCUSED:"braintree-hosted-fields-focused",INVALID:"braintree-hosted-fields-invalid",VALID:"braintree-hosted-fields-valid"},navigationDirections:{BACK:"before",FORWARD:"after"},defaultIFrameStyle:{border:"none",width:"100%",height:"100%",float:"left"},tokenizationErrorCodes:{81724:r.HOSTED_FIELDS_TOKENIZATION_FAIL_ON_DUPLICATE,81736:r.HOSTED_FIELDS_TOKENIZATION_CVV_VERIFICATION_FAILED},allowedStyles:["-moz-appearance","-moz-osx-font-smoothing","-moz-tap-highlight-color","-moz-transition","-webkit-appearance","-webkit-font-smoothing","-webkit-tap-highlight-color","-webkit-transition","appearance","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","opacity","outline","padding","text-shadow","transition"],allowedFields:{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:{"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_EXPIRATION_DATE","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":90,"./errors":68}],68:[function(e,t,n){"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":78}],69:[function(e,t,n){"use strict";t.exports=function(e,t){for(var n=e.parentNode,i=[];null!=n;)null!=n.tagName&&n.tagName.toLowerCase()===t&&i.push(n),n=n.parentNode;return i}},{}],70:[function(e,t,n){"use strict";var i=e("./browser-detection"),r=e("@braintree/class-list"),o=e("./constants"),a=Object.keys(o.allowedFields),s=o.navigationDirections,l={generate:function(e,t,n){var o=document.createElement("input");return i.hasSoftwareKeyboard()||i.isFirefox()||i.isIE()?(o.setAttribute("aria-hidden","true"),o.setAttribute("autocomplete","off"),o.setAttribute("data-braintree-direction",t),o.setAttribute("data-braintree-type",e),o.setAttribute("id","bt-"+e+"-"+t),o.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,";")),r.add(o,"focus-intercept"),o.addEventListener("focus",(function(e){n(e),i.hasSoftwareKeyboard()||o.blur()})),o):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,n,i,r;return!!e&&3===(t=e.split("-")).length&&(n="bt"===t[0],i=a.indexOf(t[1])>-1,r=t[2]===s.BACK||t[2]===s.FORWARD,Boolean(n&&i&&r))}};t.exports=l},{"./browser-detection":66,"./constants":67,"@braintree/class-list":20}],71:[function(e,t,n){"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":130}],72:[function(e,t,n){"use strict";var i=e("./create-authorization-data"),r=e("./json-clone"),o=e("./constants");t.exports=function(e,t){var n,a=t?r(t):{},s=i(e.authorization).attrs,l=r(e.analyticsMetadata);for(n in a.braintreeLibraryVersion=o.BRAINTREE_LIBRARY_VERSION,a._meta)a._meta.hasOwnProperty(n)&&(l[n]=a._meta[n]);return a._meta=l,s.tokenizationKey?a.tokenizationKey=s.tokenizationKey:a.authorizationFingerprint=s.authorizationFingerprint,a}},{"./constants":82,"./create-authorization-data":86,"./json-clone":97}],73:[function(e,t,n){"use strict";var i=e("./promise"),r=e("./constants"),o=e("./add-metadata");t.exports={sendEvent:function(e,t,n){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:r.ANALYTICS_PREFIX+t,isAsync:Math.floor(i/1e3)!==Math.floor(a/1e3),timestamp:a}]};l({url:d,method:"post",data:o(s,c),timeout:r.ANALYTICS_REQUEST_TIMEOUT_MS},n)}))}}},{"./add-metadata":72,"./constants":82,"./promise":100}],74:[function(e,t,n){"use strict";var i=e("@braintree/asset-loader/load-script");t.exports={loadScript:i}},{"@braintree/asset-loader/load-script":3}],75:[function(e,t,n){"use strict";var i="function"===typeof Object.assign?Object.assign:r;function r(e){var t,n,i;for(t=1;t>4&3,n=(15&r)<<4|(o=s.indexOf(e.charAt(a++)))>>2&15,i=(3&o)<<6|63&s.indexOf(e.charAt(a++)),l+=String.fromCharCode(t)+(n?String.fromCharCode(n):"")+(i?String.fromCharCode(i):"")}while(a\xd7
',n||(t.querySelector("[data-braintree-v1-fallback-close-button]").style.display="none"),t.querySelector("[data-braintree-v1-fallback-iframe-container]").appendChild(e),t},t.exports=r},{"./songbird":115}],112:[function(e,t,n){"use strict";var i=e("./legacy"),r=e("./cardinal-modal"),o=e("./bootstrap3-modal"),a=e("./inline-iframe");t.exports={legacy:i,"cardinal-modal":r,"bootstrap3-modal":o,"inline-iframe":a}},{"./bootstrap3-modal":110,"./cardinal-modal":111,"./inline-iframe":113,"./legacy":114}],113:[function(e,t,n){"use strict";var i=e("./songbird"),r=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,n){e("authentication-iframe-available",t,n)}))},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,n,i){var a,l;e&&t?("CCA"!==t.paymentType||"suppress"!==t.data.mode&&"static"!==t.data.mode)&&(l=!0):l=!0,l?i(new r(o.THREEDS_INLINE_IFRAME_DETAILS_INCORRECT)):((a=document.createElement("div")).innerHTML=e,"suppress"===t.data.mode?(a.style.display="none",document.body.appendChild(a),n()):"static"===t.data.mode&&this._emit(s.events.AUTHENTICATION_IFRAME_AVAILABLE,{element:a},(function(){n()})))},t.exports=s},{"../../../lib/braintree-error":78,"../../../lib/enumerate":90,"../../shared/errors":119,"./songbird":115}],114:[function(e,t,n){"use strict";var i=e("./base"),r=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(n){t._handleAuthResponse(n,e)}}),this._v1Iframe},o.prototype._handleAuthResponse=function(e,t){this._v1Bus.teardown(),t.removeFrame(),r(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=r(e.addFrame),t.removeFrame=r(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(n){return e.customer&&e.customer.billingAddress&&(n.customer=t.transformV1CustomerBillingAddress(e.customer)),n}))},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":88,"./base":109}],115:[function(e,n,i){(function(t){"use strict";var i=e("./base"),r=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;function g(e){i.call(this,e),this._useV1Fallback=!1,this._clientMetadata={requestedThreeDSecureVersion:"2",sdkVersion:f+"/3.58.0"},this._getDfReferenceIdPromisePlus=new m,this.setupSongbird(e),this._cardinalEvents=[]}function v(e,t,n){t[n+"Line1"]=e.streetAddress,t[n+"Line2"]=e.extendedAddress,t[n+"Line3"]=e.line3,t[n+"City"]=e.locality,t[n+"State"]=e.region,t[n+"PostalCode"]=e.postalCode,t[n+"CountryCode"]=e.countryCodeAlpha2}g.prototype=Object.create(i.prototype,{constructor:g}),g.events=p(["ON_LOOKUP_COMPLETE"],"songbird-framework:"),g.prototype.setUpEventListeners=function(e){this.on(g.events.ON_LOOKUP_COMPLETE,(function(t,n){e("lookup-complete",t,n)}))},g.prototype.prepareLookup=function(e){var t=r({},e),n=this;return this.getDfReferenceId().then((function(e){t.dfReferenceId=e})).then((function(){return n._triggerCardinalBinProcess(e.bin)})).catch((function(){})).then((function(){return t.clientMetadata=n._clientMetadata,t.authorizationFingerprint=n._client.getConfiguration().authorizationFingerprint,t.braintreeLibraryVersion="braintree/web/3.58.0",t}))},g.prototype.initializeChallengeWithLookupResponse=function(e,t){return this.setupSongbird().then(function(){return i.prototype.initializeChallengeWithLookupResponse.call(this,e,t)}.bind(this))},g.prototype._initiateV1Fallback=function(e){this._useV1Fallback=!0,l.sendEvent(this._client,"three-d-secure.v1-fallback."+e),this._songbirdPromise.resolve()},g.prototype._triggerCardinalBinProcess=function(e){var n=this,i=Date.now();return e?t.Cardinal.trigger("bin.process",e).then((function(e){n._clientMetadata.issuerDeviceDataCollectionTimeElapsed=Date.now()-i,n._clientMetadata.issuerDeviceDataCollectionResult=e&&e.Status})):h.resolve()},g.prototype.transformBillingAddress=function(e,t){return t&&(v(t,e,"billing"),e.billingPhoneNumber=t.phoneNumber,e.billingGivenName=t.givenName,e.billingSurname=t.surname),e},g.prototype.transformShippingAddress=function(e){var t=e.shippingAddress;return t&&(v(t,e,"shipping"),delete e.shippingAddress),e},g.prototype._createV1IframeModalElement=function(e){var t=document.createElement("div");return t.innerHTML='
',t.querySelector('[data-braintree-v1-fallback-iframe-container="true"]').appendChild(e),t},g.prototype._createV1IframeModal=function(e){var t=this._createV1IframeModalElement(e),n=t.querySelector("[data-braintree-v1-fallback-close-button]"),i=t.querySelector("[data-braintree-v1-fallback-backdrop]"),r=this;function o(){t.parentNode.removeChild(t),r.cancelVerifyCard(c.THREEDS_CARDINAL_SDK_CANCELED),document.removeEventListener("keyup",r._onV1Keyup),r._onV1Keyup=null}return this._onV1Keyup=function(e){"Escape"===e.key&&t.parentNode&&o()},n&&n.addEventListener("click",o),i&&i.addEventListener("click",o),document.addEventListener("keyup",this._onV1Keyup),t},g.prototype._addV1IframeToPage=function(){document.body.appendChild(this._v1Modal)},g.prototype._handleAuthResponseFromV1Fallback=function(e){this._teardownV1Elements(),this._v1Modal.parentNode.removeChild(this._v1Modal),this._handleV1AuthResponse(e)},g.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()},g.prototype.setupSongbird=function(e){var n=this,i=Date.now();return this._songbirdPromise||(e=e||{},this._songbirdPromise=new m,this._v2SetupFailureReason="reason-unknown",n._loadCardinalScript(e).then((function(){return t.Cardinal?n._configureCardinalSdk({setupOptions:e,setupStartTime:i}):(n._v2SetupFailureReason="cardinal-global-unavailable",h.reject(new a(c.THREEDS_CARDINAL_SDK_SETUP_FAILED)))})).catch((function(e){var i=s(e,{type:c.THREEDS_CARDINAL_SDK_SETUP_FAILED.type,code:c.THREEDS_CARDINAL_SDK_SETUP_FAILED.code,message:c.THREEDS_CARDINAL_SDK_SETUP_FAILED.message});n._getDfReferenceIdPromisePlus.reject(i),t.clearTimeout(n._songbirdSetupTimeoutReference),l.sendEvent(n._client,"three-d-secure.cardinal-sdk.init.setup-failed"),n._initiateV1Fallback("cardinal-sdk-setup-failed."+n._v2SetupFailureReason)}))),this._songbirdPromise},g.prototype._configureCardinalSdk=function(e){var n=this;return h.resolve().then((function(){var i=n._client.getConfiguration().gatewayConfiguration.threeDSecure.cardinalAuthenticationJWT,r=e.setupOptions,o=e.setupStartTime,a=n._createCardinalConfigurationOptions(r);n.setCardinalListener("payments.setupComplete",n._createPaymentsSetupCompleteCallback()),n._setupFrameworkSpecificListeners(),t.Cardinal.configure(a),t.Cardinal.setup("init",{jwt:i}),n._clientMetadata.cardinalDeviceDataCollectionTimeElapsed=Date.now()-o,n.setCardinalListener("payments.validated",n._createPaymentsValidatedCallback())})).catch((function(e){return n._v2SetupFailureReason="cardinal-configuration-threw-error",h.reject(e)}))},g.prototype.setCardinalListener=function(e,n){this._cardinalEvents.push(e),t.Cardinal.on(e,n)},g.prototype._setupFrameworkSpecificListeners=function(){},g.prototype._createCardinalConfigurationOptions=function(e){var t=e.cardinalSDKConfig||{},n=t.payment||{};return!t.logging&&e.loggingEnabled&&(t.logging={level:"verbose"}),t.payment={},n.hasOwnProperty("displayLoading")&&(t.payment.displayLoading=n.displayLoading),n.hasOwnProperty("displayExitButton")&&(t.payment.displayExitButton=n.displayExitButton),t},g.prototype._loadCardinalScript=function(e){var n=this,i=u.CARDINAL_SCRIPT_SOURCE.sandbox,r="production"===this._client.getConfiguration().gatewayConfiguration.environment;return this._songbirdSetupTimeoutReference=t.setTimeout((function(){l.sendEvent(n._client,"three-d-secure.cardinal-sdk.init.setup-timeout"),n._initiateV1Fallback("cardinal-sdk-setup-timeout")}),e.timeout||y),r&&(i=u.CARDINAL_SCRIPT_SOURCE.production),d.loadScript({src:i}).catch((function(e){return n._v2SetupFailureReason="songbird-js-failed-to-load",h.reject(s(e,c.THREEDS_CARDINAL_SDK_SCRIPT_LOAD_FAILED))}))},g.prototype._createPaymentsSetupCompleteCallback=function(){var e=this;return function(n){e._getDfReferenceIdPromisePlus.resolve(n.sessionId),t.clearTimeout(e._songbirdSetupTimeoutReference),l.sendEvent(e._client,"three-d-secure.cardinal-sdk.init.setup-completed"),e._songbirdPromise.resolve()}},g.prototype.getDfReferenceId=function(){return this._getDfReferenceIdPromisePlus},g.prototype._performJWTValidation=function(e){var t=this._lookupPaymentMethod.nonce,n="payment_methods/"+t+"/three_d_secure/authenticate_from_jwt",i=this;return l.sendEvent(i._client,"three-d-secure.verification-flow.upgrade-payment-method.started"),this._client.request({method:"post",endpoint:n,data:{jwt:e,paymentMethodNonce:t}}).then((function(e){var t=e.paymentMethod||i._lookupPaymentMethod,n=i._formatAuthResponse(t,e.threeDSecureInfo);return l.sendEvent(i._client,"three-d-secure.verification-flow.upgrade-payment-method.succeeded"),h.resolve(n)})).catch((function(e){var t=new a({type:c.THREEDS_JWT_AUTHENTICATION_FAILED.type,code:c.THREEDS_JWT_AUTHENTICATION_FAILED.code,message:c.THREEDS_JWT_AUTHENTICATION_FAILED.message,details:{originalError:e}});return l.sendEvent(i._client,"three-d-secure.verification-flow.upgrade-payment-method.errored"),h.reject(t)}))},g.prototype._createPaymentsValidatedCallback=function(){var e=this;return function(t,n){var i;if(l.sendEvent(e._client,"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(n).then((function(t){e._verifyCardPromisePlus.resolve(t)})).catch((function(t){e._verifyCardPromisePlus.reject(t)}));break;case"ERROR":switch(l.sendEvent(e._client,"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._client,"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)}},g.prototype._checkForVerifyCardError=function(e,t){return i.prototype._checkForVerifyCardError.call(this,e,t)},g.prototype._checkForFrameworkSpecificVerifyCardErrors=function(e,t){var n;return"function"===typeof e.onLookupComplete||t.ignoreOnLookupCompleteRequirement||(n="an onLookupComplete function"),n},g.prototype._formatVerifyCardOptions=function(e){var t=i.prototype._formatVerifyCardOptions.call(this,e),n=t.additionalInformation||{};return n=this.transformBillingAddress(n,e.billingAddress),n=this.transformShippingAddress(n),e.onLookupComplete&&(t.onLookupComplete=o(e.onLookupComplete)),e.email&&(n.email=e.email),e.mobilePhoneNumber&&(n.mobilePhoneNumber=e.mobilePhoneNumber),t.additionalInformation=n,t},g.prototype._onLookupComplete=function(e,t){var n=this;return i.prototype._onLookupComplete.call(this,e).then((function(e){return new h((function(i,r){function o(){i(e)}e.requiresUserAuthentication=Boolean(e.lookup&&e.lookup.acsUrl),n._verifyCardPromisePlus.catch(r),t.onLookupComplete?t.onLookupComplete(e,o):n._emit(g.events.ON_LOOKUP_COMPLETE,e,o)}))}))},g.prototype._presentChallenge=function(e){this._useV1Fallback?this._presentChallengeWithV1Fallback(e.lookup):t.Cardinal.continue("cca",{AcsUrl:e.lookup.acsUrl,Payload:e.lookup.pareq},{OrderDetails:{TransactionId:e.lookup.transactionId}})},g.prototype._formatLookupData=function(e){var t=this;return i.prototype._formatLookupData.call(this,e).then((function(n){return n.additionalInfo=e.additionalInformation,e.challengeRequested&&(n.challengeRequested=e.challengeRequested),e.exemptionRequested&&(n.exemptionRequested=e.exemptionRequested),e.bin&&(n.bin=e.bin),t.prepareLookup(n)}))},g.prototype.cancelVerifyCard=function(e){var t=this;return i.prototype.cancelVerifyCard.call(this).then((function(n){return t._verifyCardPromisePlus&&(e=e||new a(c.THREEDS_VERIFY_CARD_CANCELED_BY_MERCHANT),t._verifyCardPromisePlus.reject(e)),n}))},g.prototype.teardown=function(){return t.Cardinal&&this._cardinalEvents.forEach((function(e){t.Cardinal.off(e)})),i.prototype.teardown.call(this)},n.exports=g}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"../../../lib/analytics":73,"../../../lib/assets":74,"../../../lib/assign":75,"../../../lib/braintree-error":78,"../../../lib/constants":82,"../../../lib/convert-to-braintree-error":84,"../../../lib/deferred":88,"../../../lib/enumerate":90,"../../../lib/promise":100,"../../shared/constants":118,"../../shared/errors":119,"./base":109,"@braintree/extended-promise":22}],116:[function(e,t,n){"use strict";var i=e("@braintree/wrap-promise"),r=e("../../lib/methods"),o=e("../../lib/convert-methods-to-error"),a=e("@braintree/event-emitter"),s=e("./frameworks");function l(e){var t=this,n=s[e.framework];a.call(this),this._framework=new n(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=r(l.prototype).concat(r(a.prototype));return o(this,e),this._framework.teardown()},t.exports=i.wrapPrototype(l)},{"../../lib/convert-methods-to-error":83,"../../lib/methods":98,"./frameworks":112,"@braintree/event-emitter":21,"@braintree/wrap-promise":30}],117:[function(e,t,n){"use strict";var i=e("./external/three-d-secure"),r=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){return o.verify({name:"3D Secure",client:e.client,authorization:e.authorization}).then((function(){return a.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:s.create(e.authorization),name:"3D Secure"})})).then((function(t){var n,o=t.getConfiguration(),a=o.gatewayConfiguration,s=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);return e.client=t,a.threeDSecureEnabled||(n=c.THREEDS_NOT_ENABLED),"TOKENIZATION_KEY"===o.authorizationType&&(n=c.THREEDS_CAN_NOT_USE_TOKENIZATION_KEY),"production"===a.environment&&!r()&&(n=c.THREEDS_HTTPS_REQUIRED),"legacy"===s||a.threeDSecure&&a.threeDSecure.cardinalAuthenticationJWT||(d.sendEvent(e.client,"three-d-secure.initialization.failed.missing-cardinalAuthenticationJWT"),n=c.THREEDS_NOT_ENABLED_FOR_V2),n?p.reject(new l(n)):(d.sendEvent(e.client,"three-d-secure.initialized"),new i({client:e.client,loggingEnabled:e.loggingEnabled,cardinalSDKConfig:e.cardinalSDKConfig,framework:s}))}))})),VERSION:"3.58.0"}},{"../lib/analytics":73,"../lib/basic-component-verification":76,"../lib/braintree-error":78,"../lib/create-assets-url":85,"../lib/create-deferred-client":87,"../lib/is-https":95,"../lib/promise":100,"./external/three-d-secure":116,"./shared/errors":119,"@braintree/wrap-promise":30}],118:[function(e,t,n){"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"}}},{}],119:[function(e,t,n){"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":78}],120:[function(e,t,n){"use strict";var i=e("../../lib/enumerate");t.exports=i(["AUTHENTICATION_COMPLETE"],"threedsecure:")},{"../../lib/enumerate":90}],121:[function(e,t,n){"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":78}],122:[function(e,t,n){"use strict";var i=e("../lib/basic-component-verification"),r=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 r.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:o.create(e.authorization),name:t})})).then((function(t){return e.client=t,new a(e)}))})),VERSION:"3.58.0"}},{"../lib/basic-component-verification":76,"../lib/create-assets-url":85,"../lib/create-deferred-client":87,"./vault-manager":123,"@braintree/wrap-promise":30}],123:[function(e,t,n){"use strict";var i=e("../lib/analytics"),r=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._client=e.client}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._client.request({endpoint:"payment_methods",method:"get",data:{defaultFirst:t}}).then(function(e){return i.sendEvent(this._client,"vault-manager.fetch-payment-methods.succeeded"),e.paymentMethods.map(p)}.bind(this))},c.prototype.deletePaymentMethod=function(e){var t=this._client;return"CLIENT_TOKEN"===this._client.getConfiguration().authorizationType?this._client.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(n){var a,s=n.details.originalError;return i.sendEvent(t,"vault-manager.delete-payment-method.failed"),s[0]&&"NOT_FOUND"===s[0].extensions.errorClass&&(a=new r({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 r({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 r(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":73,"../lib/braintree-error":78,"../lib/convert-methods-to-error":83,"../lib/methods":98,"../lib/promise":100,"./errors":121,"@braintree/wrap-promise":30}],124:[function(e,t,n){"use strict";var i=e("../lib/analytics"),r=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){return r.verify({name:"Venmo",client:e.client,authorization:e.authorization}).then((function(){return o.create({authorization:e.authorization,client:e.client,debug:e.debug,assetsUrl:a.create(e.authorization),name:"Venmo"})})).then((function(t){var n,r=t.getConfiguration();return e.client=t,r.gatewayConfiguration.payWithVenmo?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)):(n=new c(e),i.sendEvent(e.client,"venmo.initialized"),n._initialize()):p.reject(new d(s.VENMO_NOT_ENABLED))}))})),isBrowserSupported:function(e){return u.isBrowserSupported(e)},VERSION:"3.58.0"}},{"../lib/analytics":73,"../lib/basic-component-verification":76,"../lib/braintree-error":78,"../lib/create-assets-url":85,"../lib/create-deferred-client":87,"../lib/promise":100,"./shared/errors":127,"./shared/supports-venmo":128,"./venmo":129,"@braintree/wrap-promise":30}],125:[function(e,t,n){"use strict";var i=e("@braintree/browser-detection/is-android"),r=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-samsung"),l=e("@braintree/browser-detection/is-mobile-firefox");t.exports={isAndroid:i,isChrome:r,isIos:o,isIosSafari:a,isSamsungBrowser:s,isMobileFirefox:l}},{"@braintree/browser-detection/is-android":5,"@braintree/browser-detection/is-chrome":7,"@braintree/browser-detection/is-ios":17,"@braintree/browser-detection/is-ios-safari":15,"@braintree/browser-detection/is-mobile-firefox":18,"@braintree/browser-detection/is-samsung":19}],126:[function(e,t,n){"use strict";t.exports={DOCUMENT_VISIBILITY_CHANGE_EVENT_DELAY:500,DEFAULT_PROCESS_RESULTS_DELAY:1e3,VENMO_OPEN_URL:"https://venmo.com/braintree/checkout"}},{}],127:[function(e,t,n){"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_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_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":78}],128:[function(e,t,n){"use strict";var i=e("./browser-detection");t.exports={isBrowserSupported:function(e){var t=i.isAndroid()&&i.isChrome(),n=i.isIos()&&i.isChrome(),r=i.isIosSafari()||t,o=n||i.isSamsungBrowser()||i.isMobileFirefox();return e=e||{allowNewBrowserTab:!0},r||e.allowNewBrowserTab&&o}}},{"./browser-detection":125}],129:[function(e,n,i){(function(t){"use strict";var i=e("../lib/analytics"),r=e("./shared/supports-venmo"),o=e("./shared/constants"),a=e("./shared/errors"),s=e("../lib/querystring"),l=e("../lib/methods"),d=e("../lib/convert-methods-to-error"),c=e("@braintree/wrap-promise"),p=e("../lib/braintree-error"),u=e("../lib/promise");function h(e){var t;this._client=e.client,t=this._client.getConfiguration(),this._isDebug=t.isDebug,this._assetsUrl=t.gatewayConfiguration.assetsUrl+"/web/3.58.0",this._allowNewBrowserTab=!1!==e.allowNewBrowserTab,this._profileId=e.profileId,this._deepLinkReturnUrl=e.deepLinkReturnUrl}function m(){return t.location.hash.substring(1).split("&").reduce((function(e,t){var n=t.split("="),i=decodeURIComponent(n[0]).replace(/\W/g,""),r=decodeURIComponent(n[1]);return e[i]=r,e}),{})}function y(){var e;return"undefined"!==typeof t.document.hidden?e="visibilitychange":"undefined"!==typeof t.document.msHidden?e="msvisibilitychange":"undefined"!==typeof t.document.webkitHidden&&(e="webkitvisibilitychange"),e}h.prototype._initialize=function(){var e={},n=this._deepLinkReturnUrl||t.location.href.replace(t.location.hash,""),i=this._client.getConfiguration().gatewayConfiguration.payWithVenmo,r=this._client.getConfiguration().analyticsMetadata,a={_meta:{version:r.sdkVersion,integration:r.integration,platform:r.platform,sessionId:r.sessionId}};return e["x-success"]=n+"#venmoSuccess=1",e["x-cancel"]=n+"#venmoCancel=1",e["x-error"]=n+"#venmoError=1",e.ua=t.navigator.userAgent,e.braintree_merchant_id=this._profileId||i.merchantId,e.braintree_access_token=i.accessToken,e.braintree_environment=i.environment,e.braintree_sdk_data=btoa(JSON.stringify(a)),this._url=o.VENMO_OPEN_URL+"?"+s.stringify(e),u.resolve(this)},h.prototype.isBrowserSupported=function(){return r.isBrowserSupported({allowNewBrowserTab:this._allowNewBrowserTab})},h.prototype.hasTokenizationResult=function(){var e=m();return"undefined"!==typeof(e.venmoSuccess||e.venmoError||e.venmoCancel)},h.prototype.tokenize=function(e){var n=this;return e=e||{},!0===this._tokenizationInProgress?u.reject(new p(a.VENMO_TOKENIZATION_REQUEST_ACTIVE)):this.hasTokenizationResult()?this._processResults():new u((function(i,r){n._tokenizationInProgress=!0,n._previousHash=t.location.hash,n._deepLinkReturnUrl?t.location=n._url:t.open(n._url),n._visibilityChangeListener=function(){t.document.hidden||(n._tokenizationInProgress=!1,setTimeout((function(){n._processResults().then(i).catch(r).then((function(){t.location.hash=n._previousHash,n._removeVisibilityEventListener(),delete n._visibilityChangeListener}))}),e.processResultsDelay||o.DEFAULT_PROCESS_RESULTS_DELAY))},setTimeout((function(){t.document.addEventListener(y(),n._visibilityChangeListener)}),o.DOCUMENT_VISIBILITY_CHANGE_EVENT_DELAY)}))},h.prototype.teardown=function(){return this._removeVisibilityEventListener(),d(this,l(h.prototype)),u.resolve()},h.prototype._removeVisibilityEventListener=function(){t.document.removeEventListener(y(),this._visibilityChangeListener)},h.prototype._processResults=function(){var e=this,n=m();return new u((function(r,o){var s;n.venmoSuccess?(i.sendEvent(e._client,"venmo.appswitch.handle.success"),r({nonce:(s=n).paymentMethodNonce,type:"VenmoAccount",details:{username:s.username}})):n.venmoError?(i.sendEvent(e._client,"venmo.appswitch.handle.error"),o(new p({type:a.VENMO_APP_FAILED.type,code:a.VENMO_APP_FAILED.code,message:a.VENMO_APP_FAILED.message,details:{originalError:{message:decodeURIComponent(n.errorMessage),code:n.errorCode}}}))):n.venmoCancel?(i.sendEvent(e._client,"venmo.appswitch.handle.cancel"),o(new p(a.VENMO_APP_CANCELED))):(i.sendEvent(e._client,"venmo.appswitch.cancel-or-unavailable"),o(new p(a.VENMO_CANCELED))),"function"===typeof t.history.replaceState&&t.location.hash&&history.pushState({},"",t.location.href.slice(0,t.location.href.indexOf("#")))}))},n.exports=c.wrapPrototype(h)}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"../lib/analytics":73,"../lib/braintree-error":78,"../lib/convert-methods-to-error":83,"../lib/methods":98,"../lib/promise":100,"../lib/querystring":101,"./shared/constants":126,"./shared/errors":127,"./shared/supports-venmo":128,"@braintree/wrap-promise":30}],130:[function(e,t,n){"use strict";var i,r=e("./lib/card-types"),o=e("./lib/clone"),a=e("./lib/find-best-match"),s=e("./lib/is-valid-input-type"),l=e("./lib/add-matching-cards-to-results"),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];function u(e){return d[e]||r[e]}function h(e,t){var n=i.indexOf(e);if(!t&&-1===n)throw new Error('"'+e+'" is not a supported card type.');return n}function m(e){var t,n=[];return s(e)?0===e.length?i.map((function(e){return o(u(e))})):(i.forEach((function(t){var i=u(t);l(e,i,n)})),(t=a(n))?[t]:n):[]}i=o(p),m.getTypeInfo=function(e){return o(u(e))},m.removeCard=function(e){var t=h(e);i.splice(t,1)},m.addCard=function(e){var t=h(e.type,!0);d[e.type]=e,-1===t&&i.push(e.type)},m.updateCard=function(e,t){var n,i=d[e]||r[e];if(!i)throw new Error('"'+e+'" is not a recognized type. Use `addCard` instead.');if(t.type&&i.type!==t.type)throw new Error("Cannot overwrite type parameter.");n=o(i,!0),Object.keys(n).forEach((function(e){t[e]&&(n[e]=t[e])})),d[n.type]=n},m.changeOrder=function(e,t){var n=h(e);i.splice(n,1),i.splice(t,0,e)},m.resetModifications=function(){i=o(p),d={}},m.types=c,t.exports=m},{"./lib/add-matching-cards-to-results":131,"./lib/card-types":132,"./lib/clone":133,"./lib/find-best-match":134,"./lib/is-valid-input-type":135}],131:[function(e,t,n){"use strict";var i=e("./clone"),r=e("./matches");t.exports=function(e,t,n){var o,a,s,l;for(o=0;o=s&&(l.matchStrength=s),n.push(l);break}}},{"./clone":133,"./matches":136}],132:[function(e,t,n){"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,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,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}}}},{}],133:[function(e,t,n){"use strict";t.exports=function(e){return e?JSON.parse(JSON.stringify(e)):null}},{}],134:[function(e,t,n){"use strict";t.exports=function(e){if(function(e){var t=e.filter((function(e){return e.matchStrength})).length;return t>0&&t===e.length}(e))return e.reduce((function(e,t){return e?e.matchStrength=t&&o<=n}(e,t[0],t[1]):function(e,t){return(t=String(t)).substring(0,e.length)===e.substring(0,t.length)}(e,t)}},{}],137:[function(e,n,i){(function(e){"use strict";var t,i,r=[],o={},a="/*framebus*/";function s(e){var n,i=c(this);return!p(e)&&!p(i)&&!1!==(n=u(e,Array.prototype.slice.call(arguments,1),i))&&(v(t.top||t.self,n,i),!0)}function l(e,t){var n=c(this);return!b(e,t,n)&&(o[n]=o[n]||{},o[n][e]=o[n][e]||[],o[n][e].push(t),!0)}function d(e,t){var n,i,r=c(this);if(b(e,t,r))return!1;if(!(i=o[r]&&o[r][e]))return!1;for(n=0;n=0;i--)!0===(o=r[i]).closed?r=r.slice(i,1):n!==o&&v(o.top,e,t)}(e.data,t.origin,e.source))}function g(e,t,n,i){var r;if(o[e]&&o[e][t])for(r=0;r1)for(var n=1;n-1}(e)}}}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@braintree/browser-detection/is-android":5,"@braintree/browser-detection/is-chrome":7,"@braintree/browser-detection/is-chrome-os":6,"@braintree/browser-detection/is-ie9":13,"@braintree/browser-detection/is-ios":17}],141:[function(e,t,n){"use strict";var i=e("./lib/device");t.exports=function(){return!i.isSamsungBrowser()}},{"./lib/device":140}],142:[function(e,t,n){(function(t,i){var r=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}n.setTimeout=function(){return new d(o.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new d(o.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},d.prototype.unref=d.prototype.ref=function(){},d.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n.setImmediate="function"===typeof t?t:function(e){var t=l++,i=!(arguments.length<2)&&a.call(arguments,1);return s[t]=!0,r((function(){s[t]&&(i?e.apply(null,i):e.call(null),n.clearImmediate(t))})),t},n.clearImmediate="function"===typeof i?i:function(e){delete s[e]}}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":138,timers:142}],143:[function(e,t,n){"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"},configurationCardTypes:{visa:"Visa","master-card":"MasterCard","american-express":"American Express","diners-club":"Discover",discover:"Discover",jcb:"JCB",unionpay:"UnionPay",maestro:"Maestro"},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"}},{}],144:[function(e,t,n){"use strict";var i=e("./lib/analytics"),r=e("./lib/dropin-error"),o=e("@braintree/event-emitter"),a=e("./constants"),s=a.paymentMethodTypes,l=a.paymentOptionIDs,d=e("./lib/is-guest-checkout"),c=e("./lib/promise"),p=e("./views/payment-sheet-views"),u=e("braintree-web/vault-manager"),h=[s.applePay,s.googlePay,s.venmo],m=[l.card,l.paypal,l.paypalCredit,l.venmo,l.applePay,l.googlePay];function y(e){this.componentID=e.componentID,this.merchantConfiguration=e.merchantConfiguration,this.isGuestCheckout=d(e.client),this.dependenciesInitializing=0,this.dependencySuccessCount=0,this.failedDependencies={},this._options=e,this._setupComplete=!1,o.call(this)}o.createChild(y),y.prototype.initialize=function(){var e=this;return u.create({client:e._options.client}).then((function(t){return e._vaultManager=t,function(e){var t,n=e.merchantConfiguration.paymentOptionPriority||m;if(!(n instanceof Array))throw new r("paymentOptionPriority must be an array.");return n=n.filter((function(e,t){return n.indexOf(e)===t})),t=n.map((function(t){return function(e,t){return function(e,t){var n=p[l[e]];return n?n.isEnabled({client:t.client,merchantConfiguration:t.merchantConfiguration}).catch((function(e){return console.error(n.ID+" view errored when checking if it was supported."),console.error(e),c.resolve(!1)})):c.reject(new r("paymentOptionPriority: Invalid payment option specified."))}(e,t).then((function(t){return{success:t,id:l[e]}}))}(t,e)})),c.all(t).then((function(e){return 0===(e=e.filter((function(e){return e.success}))).length?c.reject(new r("No valid payment options available.")):e.map((function(e){return e.id}))}))}(e._options)})).then((function(t){return e.supportedPaymentOptions=t,e.getVaultedPaymentMethods()})).then((function(t){e._paymentMethods=t,e._paymentMethodIsRequestable=e._paymentMethods.length>0}))},y.prototype.confirmDropinReady=function(){this._setupComplete=!0},y.prototype.isPaymentMethodRequestable=function(){return Boolean(this._paymentMethodIsRequestable)},y.prototype.addPaymentMethod=function(e){this._paymentMethods.push(e),this._emit("addPaymentMethod",e),this.changeActivePaymentMethod(e)},y.prototype.removePaymentMethod=function(e){var t=this._paymentMethods.indexOf(e);-1!==t&&(this._paymentMethods.splice(t,1),this._emit("removePaymentMethod",e))},y.prototype.refreshPaymentMethods=function(){var e=this;return e.getVaultedPaymentMethods().then((function(t){e._paymentMethods=t,e._emit("refreshPaymentMethods")}))},y.prototype.changeActivePaymentMethod=function(e){this._activePaymentMethod=e,this._emit("changeActivePaymentMethod",e)},y.prototype.changeActivePaymentView=function(e){this._activePaymentView=e,this._emit("changeActivePaymentView",e)},y.prototype.removeActivePaymentMethod=function(){this._activePaymentMethod=null,this._emit("removeActivePaymentMethod"),this.setPaymentMethodRequestable({isRequestable:!1})},y.prototype.selectPaymentOption=function(e){this._emit("paymentOptionSelected",{paymentOption:e})},y.prototype.enableEditMode=function(){i.sendEvent(this._options.client,"manager.appeared"),this._isInEditMode=!0,this._emit("enableEditMode")},y.prototype.disableEditMode=function(){this._isInEditMode=!1,this._emit("disableEditMode")},y.prototype.isInEditMode=function(){return Boolean(this._isInEditMode)},y.prototype.confirmPaymentMethodDeletion=function(e){this._paymentMethodWaitingToBeDeleted=e,this._emit("confirmPaymentMethodDeletion",e)},y.prototype._shouldEmitRequestableEvent=function(e){var t=this.isPaymentMethodRequestable()===e.isRequestable,n=(e.selectedPaymentMethod&&e.selectedPaymentMethod.nonce)===this._paymentMethodRequestableNonce;return!!this._setupComplete&&!(t&&(!e.isRequestable||n))},y.prototype.setPaymentMethodRequestable=function(e){var t=this._shouldEmitRequestableEvent(e),n={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",n):this._emit("noPaymentMethodRequestable"))},y.prototype.getPaymentMethods=function(){return this._paymentMethods.slice()},y.prototype.getActivePaymentMethod=function(){return this._activePaymentMethod},y.prototype.getActivePaymentView=function(){return this._activePaymentView},y.prototype.reportAppSwitchPayload=function(e){this.appSwitchPayload=e},y.prototype.reportAppSwitchError=function(e,t){this.appSwitchError={id:e,error:t}},y.prototype.asyncDependencyStarting=function(){this.dependenciesInitializing++},y.prototype.asyncDependencyReady=function(){this.dependencySuccessCount++,this.dependenciesInitializing--,this._checkAsyncDependencyFinished()},y.prototype.asyncDependencyFailed=function(e){this.failedDependencies.hasOwnProperty(e.view)||(this.failedDependencies[e.view]=e.error,this.dependenciesInitializing--,this._checkAsyncDependencyFinished())},y.prototype._checkAsyncDependencyFinished=function(){0===this.dependenciesInitializing&&this._emit("asyncDependenciesReady")},y.prototype.cancelInitialization=function(e){this._emit("cancelInitialization",e)},y.prototype.reportError=function(e){this._emit("errorOccurred",e)},y.prototype.clearError=function(){this._emit("errorCleared")},y.prototype.preventUserAction=function(){this._emit("preventUserAction")},y.prototype.allowUserAction=function(){this._emit("allowUserAction")},y.prototype.deleteVaultedPaymentMethod=function(){var e,t=this,n=c.resolve();return this._emit("startVaultedPaymentMethodDeletion"),t.isGuestCheckout||(n=this._vaultManager.deletePaymentMethod(this._paymentMethodWaitingToBeDeleted.nonce).catch((function(t){e=t}))),n.then((function(){return delete t._paymentMethodWaitingToBeDeleted,t.refreshPaymentMethods()})).then((function(){t.disableEditMode(),t._emit("finishVaultedPaymentMethodDeletion",e)}))},y.prototype.cancelDeleteVaultedPaymentMethod=function(){this._emit("cancelVaultedPaymentMethodDeletion"),delete this._paymentMethodWaitingToBeDeleted},y.prototype.getVaultedPaymentMethods=function(){var e=this;return e.isGuestCheckout?c.resolve([]):e._vaultManager.fetchPaymentMethods({defaultFirst:!0}).then((function(t){return e._getSupportedPaymentMethods(t).map((function(e){return e.vaulted=!0,e}))})).catch((function(){return c.resolve([])}))},y.prototype._getSupportedPaymentMethods=function(e){var t=this.supportedPaymentOptions.reduce((function(e,t){var n=s[t];return function(e){return e&&-1===h.indexOf(e)}(n)&&e.push(n),e}),[]);return e.filter((function(e){return t.indexOf(e.type)>-1}))},t.exports=y},{"./constants":143,"./lib/analytics":148,"./lib/dropin-error":153,"./lib/is-guest-checkout":155,"./lib/promise":160,"./views/payment-sheet-views":200,"@braintree/event-emitter":21,"braintree-web/vault-manager":122}],145:[function(e,t,n){"use strict";var i=e("./lib/assign").assign,r=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=e("./views/payment-options-view").ID,m=a.paymentOptionIDs,y=e("./translations").translations,f=e("./lib/is-utf-8"),g=e("./lib/uuid"),v=e("./lib/promise"),E=e("./lib/sanitize-html"),b=e("./lib/data-collector"),_=e("./lib/three-d-secure"),C=e("@braintree/wrap-promise").wrapPrototype,P=[m.paypal,m.paypalCredit,m.applePay,m.googlePay,"threeDSecure"],T=[m.paypal,m.paypalCredit,m.applePay,m.googlePay],A={};function I(e){this._client=e.client,this._componentID=g(),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,n,o=this,a=o._merchantConfiguration.container||o._merchantConfiguration.selector;return o._injectStylesheet(),a?o._merchantConfiguration.container&&o._merchantConfiguration.selector?(r.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()?(r.sendEvent(o._client,"configuration-error"),void e(new s("options.selector or options.container must reference an empty DOM node."))):(o._strings=i({},y.en),o._merchantConfiguration.locale&&(t=y[o._merchantConfiguration.locale]||y[o._merchantConfiguration.locale.split("_")[0]],o._strings=i(o._strings,t)),f()||(o._strings.endingIn=o._strings.endingIn.replace(/\u2022/g,"*")),o._merchantConfiguration.translations&&Object.keys(o._merchantConfiguration.translations).forEach((function(e){o._strings[e]=E(o._merchantConfiguration.translations[e])})),n=Object.keys(o._strings).reduce((function(e,t){var n=o._strings[t];return e.replace(RegExp("{{"+t+"}}","g"),n)}),'
\n
 
\n
{{edit}}
\n
{{chooseAWayToPay}}
\n
 
\n\n
\n
\n
\n \n \n \n
\n
\n\n
\n
\n
\n
{{deleteCancelButton}}
\n
{{deleteConfirmationButton}}
\n
\n
\n\n
\n
\n
\n\n
\n
\n
\n\n
\n
\n
\n
\n
\n \n \n \n
\n
{{PayPal}}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n
\n
{{PayPal Credit}}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n
\n
{{Apple Pay}}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n
\n
{{Google Pay}}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n
\n
{{Venmo}}
\n
\n
\n
\n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n
\n
{{payWithCard}}
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n\n
\n \n
\n
\n\n
\n \n
\n
\n
\n\n
\n \n
\n
\n
\n\n
\n
\n \n \n \n
\n
\n
\n
\n
\n\n
\n
{{otherWaysToPay}}
\n
\n\n
\n {{chooseAnotherWayToPay}}\n
\n
\n
\n'),o._dropinWrapper.innerHTML='\n \n \n Visa\n \n \n \n \n\n \n MasterCard\n \n \n \n \n \n \n\n \n Union Pay\n \n \n \n \n \n \n \n \n \n \n\n \n American Express\n \n \n \n \n\n \n JCB\n \n \n \n \n \n\n \n Discover\n \n \n \n \n \n\n \n Diners Club\n \n \n \n \n \n\n \n Maestro\n \n \n \n \n \n \n\n \n PayPal Logo\n \n \n \n \n \n \n\n \n PayPal Credit Logo\n \n \n \n \n \n \n \n \n\n \n Generic Card\n \n \n \n \n \n \n \n\n \n CVV Back\n \n \n \n \n \n \n \n\n \n CVV Front\n \n \n \n \n \n \n \n \n\n \n Check\n \n \n\n \n X\n \n \n\n \n Lock Loader\n \n \n\n \n \n \n \n\n \n Apple Pay Logo\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n GooglePay_mark_800_gray\n \n \n \n \n \n \n \n \n \n \n\n \n Venmo\n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n\n'+n,a.appendChild(o._dropinWrapper),o._model=new l({client:o._client,componentID:o._componentID,merchantConfiguration:o._merchantConfiguration}),void o._model.initialize().then((function(){return o._model.on("cancelInitialization",(function(t){o._dropinWrapper.innerHTML="",r.sendEvent(o._client,"load-error"),e(t)})),o._model.on("asyncDependenciesReady",(function(){o._model.dependencySuccessCount>=1?(r.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."))})),o._model.on("paymentMethodRequestable",(function(e){o._emit("paymentMethodRequestable",e)})),o._model.on("noPaymentMethodRequestable",(function(){o._emit("noPaymentMethodRequestable")})),o._model.on("paymentOptionSelected",(function(e){o._emit("paymentOptionSelected",e)})),o._setUpDependenciesAndViews()})).catch((function(t){o.teardown().then((function(){e(t)}))}))):(r.sendEvent(o._client,"configuration-error"),void e(new s("options.selector or options.container must reference a valid DOM node.")))):(r.sendEvent(o._client,"configuration-error"),void e(new s("options.container is required.")))},I.prototype.updateConfiguration=function(e,t,n){var i;-1!==P.indexOf(e)&&("threeDSecure"!==e?(i=this._mainView.getView(e))&&(i.updateConfiguration(t,n),-1!==T.indexOf(e)&&(this._removeUnvaultedPaymentMethods((function(t){return t.type===a.paymentMethodTypes[e]})),this._navigateToInitialView())):this._threeDSecure&&this._threeDSecure.updateConfiguration(t,n))},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._model.asyncDependencyStarting(),this._dataCollector=new b(t),this._dataCollector.initialize().then((function(){e._model.asyncDependencyReady()})).catch((function(t){e._model.cancelInitialization(new s({message:"Data Collector failed to set up.",braintreeWebError:t}))}))},I.prototype._setUpThreeDSecure=function(){var e=this,t=i({},this._merchantConfiguration.threeDSecure);this._model.asyncDependencyStarting(),this._threeDSecure=new _(this._client,t),this._threeDSecure.initialize().then((function(){e._model.asyncDependencyReady()})).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&&0===this._model.getPaymentMethods().length&&(1===this._model.supportedPaymentOptions.length?this._mainView.setPrimaryView(this._model.supportedPaymentOptions[0]):this._mainView.setPrimaryView(h))},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 n=e[t],i=n.div,r=n.clickHandler,s=this._model.failedDependencies[t],l=i.querySelector(".braintree-option__disabled-message");o.add(i,"braintree-disabled"),i.removeEventListener("click",r),l.innerHTML=a.errors.DEVELOPER_MISCONFIGURATION_MESSAGE,console.error(s)}.bind(this)))},I.prototype._sendVaultedPaymentMethodAppearAnalyticsEvents=function(){var e,t,n={},i=this._model._paymentMethods;for(e=0;e>4&3,n=(15&r)<<4|(o=s.indexOf(e.charAt(a++)))>>2&15,i=(3&o)<<6|63&s.indexOf(e.charAt(a++)),l+=String.fromCharCode(t)+(n?String.fromCharCode(n):"")+(i?String.fromCharCode(i):"")}while(a/g,">")}},{}],162:[function(e,t,n){"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)}},{}],163:[function(e,t,n){"use strict";var i=e("./assign").assign,r=e("braintree-web/three-d-secure");function o(e,t){this._client=e,this._config=t}o.prototype.initialize=function(){var e=this;return r.create({client:this._client,version:2}).then((function(t){e._instance=t}))},o.prototype.verify=function(e,t){var n=i({amount:this._config.amount},t,{nonce:e.nonce,bin:e.details.bin,onLookupComplete:function(e,t){t()}});return n.additionalInformation=n.additionalInformation||{},n.additionalInformation.acsWindowSize=n.additionalInformation.acsWindowSize||"03",this._instance.verifyCard(n)},o.prototype.updateConfiguration=function(e,t){this._config[e]=t},o.prototype.teardown=function(){return this._instance.teardown()},t.exports=o},{"./assign":149,"braintree-web/three-d-secure":117}],164:[function(e,t,n){"use strict";var i=e("./browser-detection");t.exports={onTransitionEnd:function(e,t,n){i.isIe9()||function e(t){return!!t&&("none"===t.style.display||e(t.parentNode))}(e)?n():e.addEventListener("transitionend",(function i(r){r.propertyName===t&&(e.removeEventListener("transitionend",i),n())}))}}},{"./browser-detection":150}],165:[function(e,t,n){"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)}))}},{}],166:[function(e,t,n){"use strict";t.exports={payingWith:"Betaler med {{paymentSource}}",chooseAnotherWayToPay:"V\xe6lg en anden betalingsmetode",chooseAWayToPay:"V\xe6lg, hvordan du vil betale",otherWaysToPay:"Andre betalingsmetoder",edit:"Rediger",doneEditing:"Udf\xf8rt",editPaymentMethods:"Rediger betalingsmetoder",CreditCardDeleteConfirmationMessage:"Vil du slette {{secondaryIdentifier}}-kortet, der slutter p\xe5 {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Vil du slette PayPal-kontoen {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Er du sikker p\xe5, at du vil slette Venmo-kontoen med brugernavnet {{identifier}}?",genericDeleteConfirmationMessage:"Er du sikker p\xe5, at du vil slette denne betalingsmetode?",deleteCancelButton:"Annuller",deleteConfirmationButton:"Slet",fieldEmptyForCvv:"Du skal angive kontrolcifrene.",fieldEmptyForExpirationDate:"Du skal angive udl\xf8bsdatoen.",fieldEmptyForCardholderName:"Du skal angive kortindehaverens navn.",fieldTooLongForCardholderName:"Kortejerens navn skal v\xe6re mindre end 256 tegn.",fieldEmptyForNumber:"Du skal angive et nummer.",fieldEmptyForPostalCode:"Du skal angive et postnummer.",fieldInvalidForCvv:"Sikkerhedskoden er ugyldig.",fieldInvalidForExpirationDate:"Udl\xf8bsdatoen er ugyldig.",fieldInvalidForNumber:"Kortnummeret er ugyldigt.",fieldInvalidForPostalCode:"Postnummeret er ugyldigt.",genericError:"Der opstod en fejl.",hostedFieldsTokenizationFailOnDuplicateError:"Dette betalingskort er allerede en gemt betalingsmetode.",hostedFieldsFailedTokenizationError:"Tjek oplysningerne, og pr\xf8v igen.",hostedFieldsFieldsInvalidError:"Tjek oplysningerne, og pr\xf8v igen.",hostedFieldsTokenizationNetworkErrorError:"Netv\xe6rksfejl. Pr\xf8v igen.",hostedFieldsTokenizationCvvVerificationFailedError:"Betalingskortet blev ikke bekr\xe6ftet. Tjek oplysningerne, og pr\xf8v igen.",paypalButtonMustBeUsed:"Brug PayPal-knappen for at forts\xe6tte med din betaling.",paypalAccountTokenizationFailedError:"PayPal-kontoen blev ikke tilf\xf8jet. Pr\xf8v igen.",paypalFlowFailedError:"Der kunne ikke oprettes forbindelse til PayPal. Pr\xf8v igen.",paypalTokenizationRequestActiveError:"PayPal-betalingen er i gang med at blive autoriseret.",venmoCanceledError:"Der opstod en fejl. S\xf8rg for, at du har den seneste version af Venmo-appen installeret p\xe5 din enhed, og at din browser underst\xf8tter skift til Venmo.",vaultManagerPaymentMethodDeletionError:"Vi kunne ikke slette betalingsmetoden. Pr\xf8v igen.",venmoAppFailedError:"Venmo-appen blev ikke fundet p\xe5 din enhed.",unsupportedCardTypeError:"Korttypen underst\xf8ttes ikke. Pr\xf8v et andet kort.",applePayTokenizationError:"Der opstod en netv\xe6rksfejl under behandlingen af betalingen med Apple Pay. Pr\xf8v igen.",applePayActiveCardError:"Knyt et underst\xf8ttet kort til din Apple Pay-e-pung.",cardholderNameLabel:"Kortindehaverens navn",cardNumberLabel:"Kortnummer",cvvLabel:"Kontrolcifre",cvvThreeDigitLabelSubheading:"(3 cifre)",cvvFourDigitLabelSubheading:"(4 cifre)",cardholderNamePlaceholder:"Kortindehaverens navn",expirationDateLabel:"Udl\xf8bsdato",expirationDateLabelSubheading:"(MM/\xc5\xc5)",expirationDatePlaceholder:"MM/\xc5\xc5",postalCodeLabel:"Postnummer",saveCardLabel:"Gem kort",payWithCard:"Betal med kort",endingIn:"Der slutter p\xe5 {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kort",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],167:[function(e,t,n){"use strict";t.exports={payingWith:"Zahlen mit {{paymentSource}}",chooseAnotherWayToPay:"Andere Zahlungsmethode w\xe4hlen",chooseAWayToPay:"Wie m\xf6chten Sie bezahlen?",otherWaysToPay:"Andere Zahlungsmethoden",edit:"Bearbeiten",doneEditing:"Fertig",editPaymentMethods:"Zahlungsquellen bearbeiten",CreditCardDeleteConfirmationMessage:"{{secondaryIdentifier}} Karte mit den Endziffern {{identifier}} l\xf6schen?",PayPalAccountDeleteConfirmationMessage:"PayPal-Konto {{identifier}} l\xf6schen?",VenmoAccountDeleteConfirmationMessage:"Wollen Sie das Venmo-Konto mit dem Benutzernamen {{identifier}} wirklich l\xf6schen?",genericDeleteConfirmationMessage:"Wollen Sie diese Zahlungsquelle wirklich l\xf6schen?",deleteCancelButton:"Abbrechen",deleteConfirmationButton:"L\xf6schen",fieldEmptyForCvv:"Geben Sie die Kartenpr\xfcfnummer ein.",fieldEmptyForExpirationDate:"Geben Sie das Ablaufdatum ein.",fieldEmptyForCardholderName:"Geben Sie den Namen des Karteninhabers ein.",fieldTooLongForCardholderName:"Der Name des Karteninhabers darf 255 Zeichen nicht \xfcbersteigen.",fieldEmptyForNumber:"Geben Sie die Nummer ein.",fieldEmptyForPostalCode:"Geben Sie die PLZ ein.",fieldInvalidForCvv:"Die Kartenpr\xfcfnummer ist ung\xfcltig.",fieldInvalidForExpirationDate:"Das Ablaufdatum ist ung\xfcltig.",fieldInvalidForNumber:"Die Kreditkartennummer ist ung\xfcltig.",fieldInvalidForPostalCode:"Die PLZ ist ung\xfcltig.",genericError:"Bei uns ist ein Problem aufgetreten.",hostedFieldsTokenizationFailOnDuplicateError:"Diese Kreditkarte ist bereits als gespeicherte Zahlungsmethode vorhanden.",hostedFieldsFailedTokenizationError:"\xdcberpr\xfcfen Sie Ihre Eingabe und versuchen Sie es erneut.",hostedFieldsFieldsInvalidError:"\xdcberpr\xfcfen Sie Ihre Eingabe und versuchen Sie es erneut.",hostedFieldsTokenizationNetworkErrorError:"Netzwerkfehler. Versuchen Sie es erneut.",hostedFieldsTokenizationCvvVerificationFailedError:"\xdcberpr\xfcfung der Karte fehlgeschlagen. \xdcberpr\xfcfen Sie Ihre Eingabe und versuchen Sie es erneut.",paypalButtonMustBeUsed:"Verwenden Sie den PayPal-Button, um mit der Zahlung fortfahren.",paypalAccountTokenizationFailedError:"Beim Hinzuf\xfcgen des PayPal-Kontos ist ein Problem aufgetreten. Versuchen Sie es erneut.",paypalFlowFailedError:"Beim Verbinden mit PayPal ist ein Problem aufgetreten. Versuchen Sie es erneut.",paypalTokenizationRequestActiveError:"Die PayPal-Zahlung wird bereits autorisiert.",venmoCanceledError:"Etwas ist schief gelaufen. Vergewissern Sie sich, dass Sie die neueste Version der Venmo-App auf Ihrem Ger\xe4t installiert haben und Ihr Browser den Wechsel zu Venmo unterst\xfctzt.",vaultManagerPaymentMethodDeletionError:"Die Zahlungsquelle konnte nicht gel\xf6scht werden. Versuchen Sie es erneut.",venmoAppFailedError:"Die Venmo-App wurde auf Ihrem Ger\xe4t nicht gefunden.",unsupportedCardTypeError:"Dieser Kreditkartentyp wird nicht unterst\xfctzt. Versuchen Sie es mit einer anderen Karte.",applePayTokenizationError:"Netzwerkfehler bei der Zahlungsabwicklung mit Apple Pay. Versuchen Sie es erneut.",applePayActiveCardError:"F\xfcgen Sie der Apple-Pay-B\xf6rse eine unterst\xfctzte Kreditkarte hinzu.",cardholderNameLabel:"Name des Karteninhabers",cardNumberLabel:"Kartennummer",cvvLabel:"Pr\xfcfnr.",cvvThreeDigitLabelSubheading:"(3-stellig)",cvvFourDigitLabelSubheading:"(4-stellig)",cardholderNamePlaceholder:"Name des Karteninhabers",expirationDateLabel:"G\xfcltig bis",expirationDateLabelSubheading:"(MM/JJ)",expirationDatePlaceholder:"MM/JJ",postalCodeLabel:"PLZ",saveCardLabel:"Karte speichern",payWithCard:"Mit Kreditkarte zahlen",endingIn:"Mit den Endziffern {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kreditkarte",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],168:[function(e,t,n){"use strict";t.exports={payingWith:"Paying with {{paymentSource}}",chooseAnotherWayToPay:"Choose another way to pay",chooseAWayToPay:"Choose a way to pay",otherWaysToPay:"Other ways to pay",edit:"Edit",doneEditing:"Done",editPaymentMethods:"Edit payment methods",CreditCardDeleteConfirmationMessage:"Delete {{secondaryIdentifier}} card ending in {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Delete PayPal account {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Are you sure you want to delete the Venmo account with username {{identifier}}?",genericDeleteConfirmationMessage:"Are you sure you want to delete this payment method?",deleteCancelButton:"Cancel",deleteConfirmationButton:"Delete",fieldEmptyForCvv:"Please fill out a CVV.",fieldEmptyForExpirationDate:"Please fill out an expiry date.",fieldEmptyForCardholderName:"Please fill out a cardholder name.",fieldTooLongForCardholderName:"Cardholder name must be less than 256 characters.",fieldEmptyForNumber:"Please fill out a number.",fieldEmptyForPostalCode:"Please fill out a postcode.",fieldInvalidForCvv:"This security code is not valid.",fieldInvalidForExpirationDate:"This expiry date is not valid.",fieldInvalidForNumber:"This card number is not valid.",fieldInvalidForPostalCode:"This postcode is not valid.",genericError:"Something went wrong on our end.",hostedFieldsTokenizationFailOnDuplicateError:"This credit card already exists as a saved payment method.",hostedFieldsFailedTokenizationError:"Check your entries and try again.",hostedFieldsFieldsInvalidError:"Check your entries and try again.",hostedFieldsTokenizationNetworkErrorError:"Network error. Please try again.",hostedFieldsTokenizationCvvVerificationFailedError:"Credit card verification failed. Check your entries and try again.",paypalButtonMustBeUsed:"Use the PayPal button to continue with your payment.",paypalAccountTokenizationFailedError:"Something went wrong while adding the PayPal account. Please try again.",paypalFlowFailedError:"Something went wrong while connecting to PayPal. Please try again.",paypalTokenizationRequestActiveError:"PayPal payment authorisation is already in progress.",venmoCanceledError:"We're sorry, something seems to have gone wrong. Please ensure you have the most recent version of the Venmo app installed on your device and your browser supports switching to Venmo.",vaultManagerPaymentMethodDeletionError:"We're sorry. We couldn't delete that payment method. Please try again.",venmoAppFailedError:"The Venmo app wasn't found on your device.",unsupportedCardTypeError:"This card type is not supported. Please try another card.",applePayTokenizationError:"A network error occurred while processing the Apple Pay payment. Please try again.",applePayActiveCardError:"Link a supported card to your Apple Pay Wallet.",cardholderNameLabel:"Cardholder Name",cardNumberLabel:"Card Number",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 digits)",cvvFourDigitLabelSubheading:"(4 digits)",cardholderNamePlaceholder:"Cardholder Name",expirationDateLabel:"Expiry date",expirationDateLabelSubheading:"(MM/YY)",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"Postcode",saveCardLabel:"Save card",payWithCard:"Pay with credit or debit card",endingIn:"Ending in {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Card",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],169:[function(e,t,n){"use strict";t.exports={payingWith:"Paying with {{paymentSource}}",chooseAnotherWayToPay:"Choose another way to pay",chooseAWayToPay:"Choose a way to pay",otherWaysToPay:"Other ways to pay",edit:"Edit",doneEditing:"Done",editPaymentMethods:"Edit funding sources",CreditCardDeleteConfirmationMessage:"Delete {{secondaryIdentifier}} card ending in {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Delete PayPal account {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Are you sure you want to delete the Venmo account with username {{identifier}}?",genericDeleteConfirmationMessage:"Are you sure you want to delete this funding source?",deleteCancelButton:"Cancel",deleteConfirmationButton:"Delete",fieldEmptyForCvv:"Please fill in a CSC.",fieldEmptyForExpirationDate:"Please fill in an expiry date.",fieldEmptyForCardholderName:"Please fill in a cardholder name.",fieldTooLongForCardholderName:"Cardholder name must be less than 256 characters.",fieldEmptyForNumber:"Please fill in a number.",fieldEmptyForPostalCode:"Please fill in a postcode.",fieldInvalidForCvv:"This security code is not valid.",fieldInvalidForExpirationDate:"This expiry date is not valid.",fieldInvalidForNumber:"This card number is not valid.",fieldInvalidForPostalCode:"This postcode is not valid.",genericError:"Something went wrong on our end.",hostedFieldsTokenizationFailOnDuplicateError:"This credit card has already been added to your account as a funding source.",hostedFieldsFailedTokenizationError:"Please check your information and try again.",hostedFieldsFieldsInvalidError:"Please check your information and try again.",hostedFieldsTokenizationNetworkErrorError:"Network error. Please try again.",hostedFieldsTokenizationCvvVerificationFailedError:"Credit card verification failed. Please check your information and try again.",paypalButtonMustBeUsed:"Use the PayPal button to continue with your payment.",paypalAccountTokenizationFailedError:"Something went wrong while adding the PayPal account. Please try again.",paypalFlowFailedError:"Something went wrong while connecting to PayPal. Please try again.",paypalTokenizationRequestActiveError:"PayPal payment authorisation is already in progress.",venmoCanceledError:"We're sorry, something seems to have gone wrong. Make sure you have the most recent version of the Venmo app installed on your device and your browser supports the switch to Venmo.",vaultManagerPaymentMethodDeletionError:"Unable to delete funding source, try again.",venmoAppFailedError:"The Venmo app isn't on your device.",unsupportedCardTypeError:"This card type is not supported. Please try another card.",applePayTokenizationError:"A network error occurred while processing the Apple Pay payment. Please try again.",applePayActiveCardError:"Add a supported card to your Apple Pay wallet.",cardholderNameLabel:"Cardholder name",cardNumberLabel:"Card number",cvvLabel:"CSC",cvvThreeDigitLabelSubheading:"(3 digits)",cvvFourDigitLabelSubheading:"(4 digits)",cardholderNamePlaceholder:"Cardholder name",expirationDateLabel:"Expiry date",expirationDateLabelSubheading:"(MM/YY)",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"Postcode",saveCardLabel:"Save card",payWithCard:"Pay with card",endingIn:"Ending in {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Card",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],170:[function(e,t,n){"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.",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",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],171:[function(e,t,n){"use strict";t.exports={payingWith:"Pago con {{paymentSource}}",chooseAnotherWayToPay:"Selecciona otra forma de pago.",chooseAWayToPay:"Selecciona una forma de pago.",otherWaysToPay:"Otras formas de pago",edit:"Modificar",doneEditing:"Hecho",editPaymentMethods:"Editar formas de pago",CreditCardDeleteConfirmationMessage:"\xbfQuieres eliminar la tarjeta {{secondaryIdentifier}} que termina en {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"\xbfQuieres eliminar la cuenta PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"\xbfSeguro de que deseas eliminar la cuenta de Venmo con nombre de usuario {{identifier}}?",genericDeleteConfirmationMessage:"\xbfSeguro que deseas eliminar esta forma de pago?",deleteCancelButton:"Cancelar",deleteConfirmationButton:"Eliminar",fieldEmptyForCvv:"Escribe el c\xf3digo CVV.",fieldEmptyForExpirationDate:"Escribe la fecha de vencimiento.",fieldEmptyForCardholderName:"Escribe el nombre de un titular de la tarjeta.",fieldTooLongForCardholderName:"El nombre del titular de la tarjeta debe tener menos de 256\xa0caracteres.",fieldEmptyForNumber:"Escribe un n\xfamero.",fieldEmptyForPostalCode:"Escribe el c\xf3digo postal.",fieldInvalidForCvv:"Este c\xf3digo de seguridad no es v\xe1lido.",fieldInvalidForExpirationDate:"Esta fecha de vencimiento no es v\xe1lida.",fieldInvalidForNumber:"Este n\xfamero de tarjeta no es v\xe1lido.",fieldInvalidForPostalCode:"Este c\xf3digo postal no es v\xe1lido.",genericError:"Hemos tenido alg\xfan problema.",hostedFieldsTokenizationFailOnDuplicateError:"Esta tarjeta de cr\xe9dito ya existe como forma de pago guardada.",hostedFieldsFailedTokenizationError:"Comprueba la informaci\xf3n e int\xe9ntalo de nuevo.",hostedFieldsFieldsInvalidError:"Comprueba la informaci\xf3n e int\xe9ntalo de nuevo.",hostedFieldsTokenizationNetworkErrorError:"Error de red. Int\xe9ntalo de nuevo.",hostedFieldsTokenizationCvvVerificationFailedError:"Error de verificaci\xf3n de la tarjeta de cr\xe9dito. Comprueba la informaci\xf3n e int\xe9ntalo de nuevo.",paypalButtonMustBeUsed:"Utiliza el bot\xf3n de PayPal para continuar con el pago.",paypalAccountTokenizationFailedError:"Se ha producido un error al vincular la cuenta PayPal. Int\xe9ntalo de nuevo.",paypalFlowFailedError:"Se ha producido un error al conectarse a PayPal. Int\xe9ntalo de nuevo.",paypalTokenizationRequestActiveError:"Ya hay una autorizaci\xf3n de pago de PayPal en curso.",venmoCanceledError:"Ha habido un problema. Aseg\xfarate de que tienes la versi\xf3n m\xe1s reciente de la aplicaci\xf3n de Venmo instalada en tu dispositivo y de que tu navegador es compatible con cambiar a Venmo.",vaultManagerPaymentMethodDeletionError:"No se ha podido eliminar la forma de pago. Int\xe9ntalo de nuevo.",venmoAppFailedError:"No se ha encontrado la aplicaci\xf3n de Venmo en tu dispositivo.",unsupportedCardTypeError:"No se admite este tipo de tarjeta. Prueba con otra tarjeta.",applePayTokenizationError:"Se ha producido un error de red al procesar el pago con Apple Pay. Int\xe9ntalo de nuevo.",applePayActiveCardError:"A\xf1ade una tarjeta admitida a tu Wallet de Apple Pay.",cardholderNameLabel:"Nombre del titular de la tarjeta",cardNumberLabel:"N\xfamero de tarjeta",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3\xa0d\xedgitos)",cvvFourDigitLabelSubheading:"(4\xa0d\xedgitos)",cardholderNamePlaceholder:"Nombre del titular de la tarjeta",expirationDateLabel:"Fecha de vencimiento",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"C\xf3digo postal",saveCardLabel:"Guardar tarjeta",payWithCard:"Pagar con tarjeta",endingIn:"Terminada en {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Tarjeta",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],172:[function(e,t,n){"use strict";t.exports={payingWith:"Payer avec {{paymentSource}}",chooseAnotherWayToPay:"Choisir un autre mode de paiement",chooseAWayToPay:"Choisir le mode de paiement",otherWaysToPay:"Autres modes de paiement",edit:"Modifier",doneEditing:"Termin\xe9",editPaymentMethods:"Modifier les modes de paiement",CreditCardDeleteConfirmationMessage:"Supprimer la carte {{secondaryIdentifier}} se terminant par {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Supprimer le compte PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Souhaitez-vous vraiment supprimer le compte Venmo avec le nom d\u2019utilisateur {{identifier}}?",genericDeleteConfirmationMessage:"Voulez-vous vraiment supprimer ce mode de paiement?",deleteCancelButton:"Annuler",deleteConfirmationButton:"Supprimer",fieldEmptyForCvv:"Veuillez saisir un cryptogramme visuel.",fieldEmptyForExpirationDate:"Veuillez saisir une date d'expiration.",fieldEmptyForCardholderName:"Veuillez saisir un nom de titulaire de la carte.",fieldTooLongForCardholderName:"Le nom du titulaire de la carte doit contenir moins de 256\xa0caract\xe8res.",fieldEmptyForNumber:"Veuillez saisir un num\xe9ro.",fieldEmptyForPostalCode:"Veuillez saisir un code postal.",fieldInvalidForCvv:"Ce cryptogramme visuel n'est pas valide.",fieldInvalidForExpirationDate:"Cette date d'expiration n'est pas valide.",fieldInvalidForNumber:"Ce num\xe9ro de carte n'est pas valide.",fieldInvalidForPostalCode:"Ce code postal n'est pas valide.",genericError:"Une erreur s'est produite de notre c\xf4t\xe9.",hostedFieldsTokenizationFailOnDuplicateError:"Cette carte de cr\xe9dit existe d\xe9j\xe0 comme mode de paiement enregistr\xe9.",hostedFieldsFailedTokenizationError:"V\xe9rifiez vos informations, puis r\xe9essayez.",hostedFieldsFieldsInvalidError:"V\xe9rifiez vos informations, puis r\xe9essayez.",hostedFieldsTokenizationNetworkErrorError:"Erreur r\xe9seau. Veuillez r\xe9essayer.",hostedFieldsTokenizationCvvVerificationFailedError:"La v\xe9rification de la carte de cr\xe9dit a \xe9chou\xe9. V\xe9rifiez vos informations, puis r\xe9essayez.",paypalButtonMustBeUsed:"Utilisez le bouton PayPal pour poursuivre votre paiement.",paypalAccountTokenizationFailedError:"Une erreur s'est produite lors de l'enregistrement du compte PayPal. Veuillez r\xe9essayer.",paypalFlowFailedError:"Une erreur s'est produite au cours de la connexion \xe0 PayPal. Veuillez r\xe9essayer.",paypalTokenizationRequestActiveError:"L'autorisation de paiement PayPal est d\xe9j\xe0 en cours.",venmoCanceledError:"Une erreur s'est produite. Assurez-vous que la version la plus r\xe9cente de l'application Venmo est install\xe9e sur votre appareil et que votre navigateur prend Venmo en charge.",vaultManagerPaymentMethodDeletionError:"Impossible de supprimer le mode de paiement, essayez de nouveau.",venmoAppFailedError:"L'application Venmo est introuvable sur votre appareil.",unsupportedCardTypeError:"Ce type de carte n'est pas pris en charge. Veuillez essayer une autre carte.",applePayTokenizationError:"Une erreur de r\xe9seau s'est produite lors du traitement du paiement avec Apple Pay. Veuillez r\xe9essayer.",applePayActiveCardError:"Ajoutez une carte prise en charge \xe0 Apple Pay.",cardholderNameLabel:"Nom du titulaire de la carte",cardNumberLabel:"Num\xe9ro de carte",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 chiffres)",cvvFourDigitLabelSubheading:"(4\xa0chiffres)",cardholderNamePlaceholder:"Nom du titulaire de la carte",expirationDateLabel:"Date d'expiration",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"Code postal",saveCardLabel:"Enregistrer la carte",payWithCard:"Payer par carte",endingIn:"Se terminant par {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Carte",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],173:[function(e,t,n){"use strict";t.exports={payingWith:"Payer avec {{paymentSource}}",chooseAnotherWayToPay:"Choisissez une autre fa\xe7on de payer.",chooseAWayToPay:"Choisissez comment payer.",otherWaysToPay:"Autres fa\xe7ons de payer",edit:"Modifier",doneEditing:"Termin\xe9",editPaymentMethods:"Modifier les sources d'approvisionnement",CreditCardDeleteConfirmationMessage:"Supprimer la carte {{secondaryIdentifier}} se terminant par {{identifier}}\xa0?",PayPalAccountDeleteConfirmationMessage:"Supprimer le compte PayPal {{identifier}}\xa0?",VenmoAccountDeleteConfirmationMessage:"\xcates-vous s\xfbr de vouloir supprimer le compte Venmo avec le nom d'utilisateur {{identifier}}\xa0?",genericDeleteConfirmationMessage:"\xcates-vous s\xfbr de vouloir supprimer cette source d'approvisionnement\xa0?",deleteCancelButton:"Annuler",deleteConfirmationButton:"Supprimer",fieldEmptyForCvv:"Entrez un cryptogramme visuel.",fieldEmptyForExpirationDate:"Entrez une date d'expiration.",fieldEmptyForCardholderName:"Entrez un nom du titulaire de la carte.",fieldTooLongForCardholderName:"Le nom du titulaire de la carte doit contenir moins de 256\xa0caract\xe8res.",fieldEmptyForNumber:"Entrez un num\xe9ro.",fieldEmptyForPostalCode:"Entrez un code postal.",fieldInvalidForCvv:"Ce cryptogramme visuel n'est pas valide.",fieldInvalidForExpirationDate:"Cette date d'expiration n'est pas valide.",fieldInvalidForNumber:"Ce num\xe9ro de carte n'est pas valide.",fieldInvalidForPostalCode:"Ce code postal n'est pas valide.",genericError:"Une erreur est survenue.",hostedFieldsTokenizationFailOnDuplicateError:"Cette carte bancaire existe d\xe9j\xe0 comme mode de paiement enregistr\xe9.",hostedFieldsFailedTokenizationError:"V\xe9rifiez vos informations et r\xe9essayez.",hostedFieldsFieldsInvalidError:"V\xe9rifiez vos informations et r\xe9essayez.",hostedFieldsTokenizationNetworkErrorError:"Erreur r\xe9seau. R\xe9essayez.",hostedFieldsTokenizationCvvVerificationFailedError:"\xc9chec de v\xe9rification de la carte bancaire. V\xe9rifiez vos informations et r\xe9essayez.",paypalButtonMustBeUsed:"Utilisez le bouton PayPal pour poursuivre votre paiement.",paypalAccountTokenizationFailedError:"Une erreur est survenue lors de l'ajout du compte PayPal. R\xe9essayez.",paypalFlowFailedError:"Une erreur est survenue lors de la connexion \xe0 PayPal. R\xe9essayez.",paypalTokenizationRequestActiveError:"L'autorisation de paiement PayPal est d\xe9j\xe0 en cours.",venmoCanceledError:"Une erreur est survenue. V\xe9rifiez que vous disposez de la derni\xe8re version de l'application Venmo sur votre appareil et que votre navigateur prend en charge la redirection vers Venmo.",vaultManagerPaymentMethodDeletionError:"Impossible de supprimer la source d'approvisionnement. R\xe9essayez.",venmoAppFailedError:"L'application Venmo est introuvable sur votre appareil.",unsupportedCardTypeError:"Ce type de carte n'est pas pris en charge. Essayez une autre carte.",applePayTokenizationError:"Une erreur r\xe9seau s'est produite lors du traitement du paiement Apple Pay. R\xe9essayez.",applePayActiveCardError:"Enregistrez une carte prise en charge sur Apple Pay.",cardholderNameLabel:"Nom du titulaire de la carte",cardNumberLabel:"N\xba de carte",cvvLabel:"Cryptogramme visuel",cvvThreeDigitLabelSubheading:"(3\xa0chiffres)",cvvFourDigitLabelSubheading:"(4\xa0chiffres)",cardholderNamePlaceholder:"Nom du titulaire de la carte",expirationDateLabel:"Date d'expiration",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"Code postal",saveCardLabel:"Enregistrer une carte",payWithCard:"Payer par carte",endingIn:"Se terminant par {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Carte",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],174:[function(e,t,n){"use strict";t.exports={payingWith:"Membayar dengan {{paymentSource}}",chooseAnotherWayToPay:"Pilih metode pembayaran lain",chooseAWayToPay:"Pilih metode pembayaran",otherWaysToPay:"Metode pembayaran lain",edit:"Edit",doneEditing:"Selesai",editPaymentMethods:"Edit metode pembayaran",CreditCardDeleteConfirmationMessage:"Hapus kartu {{secondaryIdentifier}} yang berakhiran {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Hapus {{identifier}} rekening PayPal?",VenmoAccountDeleteConfirmationMessage:"Yakin akan menghapus rekening Venmo dengan nama pengguna {{identifier}}?",genericDeleteConfirmationMessage:"Yakin akan menghapus metode pembayaran ini?",deleteCancelButton:"Batalkan",deleteConfirmationButton:"Hapus",fieldEmptyForCvv:"Masukkan CVV.",fieldEmptyForExpirationDate:"Masukkan tanggal akhir berlaku.",fieldEmptyForCardholderName:"Masukkan nama pemegang kartu.",fieldTooLongForCardholderName:"Nama pemegang kartu harus kurang dari 256 karakter.",fieldEmptyForNumber:"Masukkan nomor.",fieldEmptyForPostalCode:"Masukkan kode pos.",fieldInvalidForCvv:"Kode keamanan ini tidak valid.",fieldInvalidForExpirationDate:"Tanggal akhir berlaku ini tidak valid.",fieldInvalidForNumber:"Nomor kartu ini tidak valid.",fieldInvalidForPostalCode:"Kode pos ini tidak valid.",genericError:"Ada yang salah pada sistem kami.",hostedFieldsTokenizationFailOnDuplicateError:"Kartu kredit ini sudah dimasukkan sebagai metode pembayaran tersimpan.",hostedFieldsFailedTokenizationError:"Periksa informasi Anda dan coba lagi.",hostedFieldsFieldsInvalidError:"Periksa informasi Anda dan coba lagi.",hostedFieldsTokenizationNetworkErrorError:"Masalah jaringan. Coba lagi.",hostedFieldsTokenizationCvvVerificationFailedError:"Verifikasi kartu kredit gagal. Periksa informasi Anda dan coba lagi.",paypalButtonMustBeUsed:"Gunakan tombol PayPal untuk melanjutkan pembayaran Anda.",paypalAccountTokenizationFailedError:"Terjadi kesalahan saat menambahkan rekening PayPal. Coba lagi.",paypalFlowFailedError:"Terjadi kesalahan saat menyambung ke PayPal. Coba lagi.",paypalTokenizationRequestActiveError:"Otorisasi pembayaran PayPal sedang diproses.",venmoCanceledError:"Terdapat kesalahan. Pastikan Anda telah menginstal aplikasi Venmo versi terbaru pada perangkat dan peramban Anda mendukung untuk beralih ke Venmo.",vaultManagerPaymentMethodDeletionError:"Tidak dapat menghapus metode pembayaran, coba lagi.",venmoAppFailedError:"Aplikasi Venmo tidak dapat ditemukan pada perangkat Anda.",unsupportedCardTypeError:"Jenis kartu ini tidak didukung. Coba kartu lainnya.",applePayTokenizationError:"Terjadi kesalahan jaringan sewaktu memproses pembayaran melalui Apple Pay. Coba lagi.",applePayActiveCardError:"Tambahkan kartu yang didukung ke wallet Apple Pay.",cardholderNameLabel:"Nama Pemegang Kartu",cardNumberLabel:"Nomor Kartu",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 angka)",cvvFourDigitLabelSubheading:"(4 angka)",cardholderNamePlaceholder:"Nama Pemegang Kartu",expirationDateLabel:"Tanggal Kedaluwarsa",expirationDateLabelSubheading:"(BB/TT)",expirationDatePlaceholder:"BB/TT",postalCodeLabel:"Kode Pos",saveCardLabel:"Simpan kartu",payWithCard:"Bayar dengan kartu",endingIn:"Berakhiran {{lastTwoCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kartu",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],175:[function(e,t,n){"use strict";var i=e("../lib/assign").assign,r={da_DK:e("./da_DK"),de_DE:e("./de_DE"),en_US:e("./en_US"),en_AU:e("./en_AU"),en_GB:e("./en_GB"),es_ES:e("./es_ES"),fr_CA:e("./fr_CA"),fr_FR:e("./fr_FR"),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"),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")},o={da:r.da_DK,de:r.de_DE,en:r.en_US,es:r.es_ES,fr:r.fr_FR,id:r.id_ID,it:r.it_IT,ja:r.ja_JP,ko:r.ko_KR,nl:r.nl_NL,no:r.no_NO,pl:r.pl_PL,pt:r.pt_PT,ru:r.ru_RU,sv:r.sv_SE,th:r.th_TH,zh:r.zh_CN};t.exports={twoCharacterLocaleAliases:o,fiveCharacterLocales:r,translations:i({},o,r)}},{"../lib/assign":149,"./da_DK":166,"./de_DE":167,"./en_AU":168,"./en_GB":169,"./en_US":170,"./es_ES":171,"./fr_CA":172,"./fr_FR":173,"./id_ID":174,"./it_IT":176,"./ja_JP":177,"./ko_KR":178,"./nl_NL":179,"./no_NO":180,"./pl_PL":181,"./pt_BR":182,"./pt_PT":183,"./ru_RU":184,"./sv_SE":185,"./th_TH":186,"./zh_CN":187,"./zh_HK":188,"./zh_TW":189}],176:[function(e,t,n){"use strict";t.exports={payingWith:"Pagamento con {{paymentSource}}",chooseAnotherWayToPay:"Scegli di pagare in un altro modo",chooseAWayToPay:"Scegli come pagare",otherWaysToPay:"Altri modi di pagare",edit:"Modifica",doneEditing:"Fine",editPaymentMethods:"Modifica i metodi di pagamento",CreditCardDeleteConfirmationMessage:"Eliminare la carta {{secondaryIdentifier}} le cui ultime cifre sono {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Eliminare il conto PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Vuoi eliminare il conto Venmo con nome utente {{identifier}}?",genericDeleteConfirmationMessage:"Vuoi eliminare questo metodo di pagamento?",deleteCancelButton:"Annulla",deleteConfirmationButton:"Rimuovi",fieldEmptyForCvv:"Immetti il codice di sicurezza (CVV).",fieldEmptyForExpirationDate:"Immetti la data di scadenza.",fieldEmptyForCardholderName:"Immetti il nome del titolare della carta.",fieldTooLongForCardholderName:"Il nome del titolare della carta deve avere meno di 256 caratteri.",fieldEmptyForNumber:"Immetti il numero di carta.",fieldEmptyForPostalCode:"Immetti il CAP.",fieldInvalidForCvv:"Il codice di sicurezza non \xe8 valido.",fieldInvalidForExpirationDate:"La data di scadenza non \xe8 valida.",fieldInvalidForNumber:"Il numero di carta non \xe8 valido.",fieldInvalidForPostalCode:"Il CAP non \xe8 valido.",genericError:"Si \xe8 verificato un errore nei nostri sistemi.",hostedFieldsTokenizationFailOnDuplicateError:"Questa carta di credito \xe8 gi\xe0 registrata come metodo di pagamento salvato.",hostedFieldsFailedTokenizationError:"Controlla e riprova.",hostedFieldsFieldsInvalidError:"Controlla e riprova.",hostedFieldsTokenizationNetworkErrorError:"Errore di rete. Riprova.",hostedFieldsTokenizationCvvVerificationFailedError:"La verifica della carta di credito non \xe8 andata a buon fine. Controlla i dati e riprova.",paypalButtonMustBeUsed:"Usa il pulsante PayPal per procedere al pagamento.",paypalAccountTokenizationFailedError:"Si \xe8 verificato un errore nel collegamento del conto PayPal. Riprova.",paypalFlowFailedError:"Si \xe8 verificato un errore di connessione a PayPal. Riprova.",paypalTokenizationRequestActiveError:"L'autorizzazione di pagamento PayPal \xe8 gi\xe0 in corso.",venmoCanceledError:"Si \xe8 verificato un errore. Assicurati di avere la versione pi\xf9 recente dell'app Venmo installata sul tuo dispositivo e che il browser supporti l'uso di Venmo.",vaultManagerPaymentMethodDeletionError:"Impossibile eliminare il metodo di pagamento; riprova.",venmoAppFailedError:"Impossibile trovare l'app Venmo sul dispositivo in uso.",unsupportedCardTypeError:"Questo tipo di carta non \xe8 supportato. Prova con un'altra carta.",applePayTokenizationError:"Si \xe8 verificato un errore di rete durante l'elaborazione del pagamento con Apple Pay. Riprova.",applePayActiveCardError:"Collega una carta supportata al tuo Apple Pay Wallet.",cardholderNameLabel:"Titolare della carta",cardNumberLabel:"Numero di carta",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 cifre)",cvvFourDigitLabelSubheading:"(4 cifre)",cardholderNamePlaceholder:"Titolare della carta",expirationDateLabel:"Data di scadenza",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"CAP",saveCardLabel:"Salva carta",payWithCard:"Paga con una carta",endingIn:"Le cui ultime cifre sono {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Carta",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],177:[function(e,t,n){"use strict";t.exports={payingWith:"{{paymentSource}}\u3067\u652f\u6255\u3046",chooseAnotherWayToPay:"\u5225\u306e\u652f\u6255\u65b9\u6cd5\u3092\u9078\u629e\u3059\u308b",chooseAWayToPay:"\u652f\u6255\u65b9\u6cd5\u3092\u9078\u629e\u3059\u308b",otherWaysToPay:"\u305d\u306e\u4ed6\u306e\u652f\u6255\u65b9\u6cd5",edit:"\u7de8\u96c6",doneEditing:"\u5b8c\u4e86",editPaymentMethods:"\u652f\u6255\u65b9\u6cd5\u306e\u7de8\u96c6",CreditCardDeleteConfirmationMessage:"\u672b\u5c3e\u304c{{identifier}}\u306e{{secondaryIdentifier}}\u30ab\u30fc\u30c9\u3092\u524a\u9664\u3057\u307e\u3059\u304b?",PayPalAccountDeleteConfirmationMessage:"PayPal\u30a2\u30ab\u30a6\u30f3\u30c8{{identifier}}\u3092\u524a\u9664\u3057\u307e\u3059\u304b?",VenmoAccountDeleteConfirmationMessage:"\u30e6\u30fc\u30b6\u30fc\u540d{{identifier}}\u306eVenmo\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u524a\u9664\u3057\u3066\u3088\u308d\u3057\u3044\u3067\u3059\u304b?",genericDeleteConfirmationMessage:"\u3053\u306e\u652f\u6255\u3044\u65b9\u6cd5\u3092\u524a\u9664\u3057\u3066\u3088\u308d\u3057\u3044\u3067\u3059\u304b?",deleteCancelButton:"\u30ad\u30e3\u30f3\u30bb\u30eb",deleteConfirmationButton:"\u524a\u9664",fieldEmptyForCvv:"\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002",fieldEmptyForExpirationDate:"\u6709\u52b9\u671f\u9650\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002",fieldEmptyForCardholderName:"\u30ab\u30fc\u30c9\u4fdd\u6709\u8005\u306e\u540d\u524d\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002",fieldTooLongForCardholderName:"\u30ab\u30fc\u30c9\u4fdd\u6709\u8005\u306e\u540d\u524d\u306f256\u6587\u5b57\u672a\u6e80\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002",fieldEmptyForNumber:"\u756a\u53f7\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002",fieldEmptyForPostalCode:"\u90f5\u4fbf\u756a\u53f7\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002",fieldInvalidForCvv:"\u3053\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b3\u30fc\u30c9\u306f\u7121\u52b9\u3067\u3059\u3002",fieldInvalidForExpirationDate:"\u3053\u306e\u6709\u52b9\u671f\u9650\u306f\u7121\u52b9\u3067\u3059\u3002",fieldInvalidForNumber:"\u3053\u306e\u30ab\u30fc\u30c9\u756a\u53f7\u306f\u7121\u52b9\u3067\u3059\u3002",fieldInvalidForPostalCode:"\u3053\u306e\u90f5\u4fbf\u756a\u53f7\u306f\u7121\u52b9\u3067\u3059\u3002",genericError:"\u5f0a\u793e\u5074\u3067\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002",hostedFieldsTokenizationFailOnDuplicateError:"\u3053\u306e\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u306f\u3001\u4fdd\u5b58\u6e08\u307f\u306e\u652f\u6255\u65b9\u6cd5\u3068\u3057\u3066\u3059\u3067\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u307e\u3059\u3002",hostedFieldsFailedTokenizationError:"\u60c5\u5831\u3092\u78ba\u8a8d\u3057\u3066\u3082\u3046\u4e00\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002",hostedFieldsFieldsInvalidError:"\u60c5\u5831\u3092\u78ba\u8a8d\u3057\u3066\u3082\u3046\u4e00\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002",hostedFieldsTokenizationNetworkErrorError:"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30e9\u30fc\u3067\u3059\u3002\u3082\u3046\u4e00\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002",hostedFieldsTokenizationCvvVerificationFailedError:"\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u306e\u8a8d\u8a3c\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u60c5\u5831\u3092\u78ba\u8a8d\u3057\u3066\u3082\u3046\u4e00\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002",paypalButtonMustBeUsed:"\u304a\u5ba2\u3055\u307e\u306e\u652f\u6255\u3044\u3092\u7d9a\u884c\u3059\u308b\u306b\u306f\u3001PayPal\u30dc\u30bf\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002",paypalAccountTokenizationFailedError:"PayPal\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u8ffd\u52a0\u3067\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\u3082\u3046\u4e00\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002",paypalFlowFailedError:"PayPal\u3078\u306e\u63a5\u7d9a\u306b\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\u3082\u3046\u4e00\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002",paypalTokenizationRequestActiveError:"PayPal\u652f\u6255\u3044\u306e\u627f\u8a8d\u306f\u3059\u3067\u306b\u51e6\u7406\u4e2d\u3067\u3059\u3002",venmoCanceledError:"\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\u304a\u5ba2\u3055\u307e\u306e\u7aef\u672b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308bVenmo\u30a2\u30d7\u30ea\u304c\u6700\u65b0\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3042\u308b\u3053\u3068\u3001\u304a\u4f7f\u3044\u306e\u30d6\u30e9\u30a6\u30b6\u304cVenmo\u3078\u306e\u5207\u308a\u66ff\u3048\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002",vaultManagerPaymentMethodDeletionError:"\u652f\u6255\u65b9\u6cd5\u3092\u524a\u9664\u3067\u304d\u307e\u305b\u3093\u3002\u3082\u3046\u4e00\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002",venmoAppFailedError:"\u304a\u5ba2\u3055\u307e\u306e\u7aef\u672b\u3067Venmo\u30a2\u30d7\u30ea\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002",unsupportedCardTypeError:"\u3053\u306e\u30ab\u30fc\u30c9\u30bf\u30a4\u30d7\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u5225\u306e\u30ab\u30fc\u30c9\u3092\u3054\u4f7f\u7528\u304f\u3060\u3055\u3044\u3002",applePayTokenizationError:"Apple Pay\u306e\u652f\u6255\u3044\u3092\u51e6\u7406\u3059\u308b\u969b\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\u3082\u3046\u4e00\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002",applePayActiveCardError:"Apple Pay\u30a6\u30a9\u30ec\u30c3\u30c8\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u30ab\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002",cardholderNameLabel:"\u30ab\u30fc\u30c9\u4fdd\u6709\u8005\u306e\u540d\u524d",cardNumberLabel:"\u30ab\u30fc\u30c9\u756a\u53f7",cvvLabel:"\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b3\u30fc\u30c9",cvvThreeDigitLabelSubheading:"(3\u6841)",cvvFourDigitLabelSubheading:"(4\u6841)",cardholderNamePlaceholder:"\u30ab\u30fc\u30c9\u4fdd\u6709\u8005\u306e\u540d\u524d",expirationDateLabel:"\u6709\u52b9\u671f\u9650",expirationDateLabelSubheading:"(MM/YY)",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"\u90f5\u4fbf\u756a\u53f7",saveCardLabel:"\u30ab\u30fc\u30c9\u3092\u4fdd\u5b58",payWithCard:"\u30ab\u30fc\u30c9\u3067\u652f\u6255\u3046",endingIn:"\u672b\u5c3e\u304c{{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"\u30ab\u30fc\u30c9",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"\u9280\u806f(UnionPay)"}},{}],178:[function(e,t,n){"use strict";t.exports={payingWith:"{{paymentSource}}(\uc73c)\ub85c \uacb0\uc81c",chooseAnotherWayToPay:"\ub2e4\ub978 \uacb0\uc81c\uc218\ub2e8 \uc120\ud0dd",chooseAWayToPay:"\uacb0\uc81c\uc218\ub2e8 \uc120\ud0dd",otherWaysToPay:"\ub2e4\ub978 \ubc29\ubc95\uc73c\ub85c \uacb0\uc81c",edit:"\ud3b8\uc9d1",doneEditing:"\uc644\ub8cc",editPaymentMethods:"\uacb0\uc81c\uc218\ub2e8 \ud3b8\uc9d1",CreditCardDeleteConfirmationMessage:"\ub05d\ubc88\ud638\uac00 {{identifier}}\uc778 {{secondaryIdentifier}} \uce74\ub4dc\ub97c \uc0ad\uc81c\ud558\uc2dc\uaca0\uc5b4\uc694?",PayPalAccountDeleteConfirmationMessage:"PayPal \uacc4\uc815 {{identifier}}\uc744(\ub97c) \uc0ad\uc81c\ud558\uc2dc\uaca0\uc5b4\uc694?",VenmoAccountDeleteConfirmationMessage:"\uc0ac\uc6a9\uc790 \uc774\ub984\uc774 {{identifier}}\uc778 Venmo \uacc4\uc815\uc744 \uc0ad\uc81c\ud558\uc2dc\uaca0\uc5b4\uc694?",genericDeleteConfirmationMessage:"\uc774 \uacb0\uc81c\uc218\ub2e8\uc744 \uc0ad\uc81c\ud558\uc2dc\uaca0\uc5b4\uc694?",deleteCancelButton:"\ucde8\uc18c",deleteConfirmationButton:"\uc0ad\uc81c",fieldEmptyForCvv:"CVV\ub97c \uc785\ub825\ud558\uc138\uc694.",fieldEmptyForExpirationDate:"\ub9cc\ub8cc\uc77c\uc744 \uc785\ub825\ud558\uc138\uc694.",fieldEmptyForCardholderName:"\uce74\ub4dc \uc18c\uc720\uc790 \uc774\ub984\uc744 \uc785\ub825\ud558\uc138\uc694.",fieldTooLongForCardholderName:"\uce74\ub4dc \uc18c\uc720\uc790 \uc774\ub984\uc740 256\uc790 \ubbf8\ub9cc\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.",fieldEmptyForNumber:"\ubc88\ud638\ub97c \uc785\ub825\ud558\uc138\uc694.",fieldEmptyForPostalCode:"\uc6b0\ud3b8\ubc88\ud638\ub97c \uc785\ub825\ud558\uc138\uc694.",fieldInvalidForCvv:"\uc774 \ubcf4\uc548 \ucf54\ub4dc\uac00 \uc62c\ubc14\ub974\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.",fieldInvalidForExpirationDate:"\uc774 \ub9cc\ub8cc\uc77c\uc774 \uc62c\ubc14\ub974\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.",fieldInvalidForNumber:"\uc774 \uce74\ub4dc \ubc88\ud638\uac00 \uc62c\ubc14\ub974\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.",fieldInvalidForPostalCode:"\uc774 \uc6b0\ud3b8\ubc88\ud638\uac00 \uc62c\ubc14\ub974\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.",genericError:"\uc800\ud76c \ucabd\uc5d0 \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.",hostedFieldsTokenizationFailOnDuplicateError:"\uc800\uc7a5\ub41c \uacb0\uc81c\uc218\ub2e8\uc5d0 \uc774\ubbf8 \uc774 \uc2e0\uc6a9\uce74\ub4dc\uac00 \uc874\uc7ac\ud569\ub2c8\ub2e4.",hostedFieldsFailedTokenizationError:"\uc815\ubcf4\ub97c \ud655\uc778\ud558\uace0 \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694.",hostedFieldsFieldsInvalidError:"\uc815\ubcf4\ub97c \ud655\uc778\ud558\uace0 \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694.",hostedFieldsTokenizationNetworkErrorError:"\ub124\ud2b8\uc6cc\ud06c \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694.",hostedFieldsTokenizationCvvVerificationFailedError:"\uc2e0\uc6a9\uce74\ub4dc \uc778\uc99d\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4. \uc815\ubcf4\ub97c \ud655\uc778\ud558\uace0 \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694.",paypalButtonMustBeUsed:"\uacb0\uc81c\ub97c \uacc4\uc18d\ud558\ub824\uba74 PayPal \ubc84\ud2bc\uc744 \uc0ac\uc6a9\ud558\uc138\uc694.",paypalAccountTokenizationFailedError:"PayPal \uacc4\uc815\uc744 \ucd94\uac00\ud558\ub294 \ub3d9\uc548 \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694.",paypalFlowFailedError:"PayPal \uacc4\uc815\uc744 \uc5f0\uacb0\ud558\ub294 \ub3d9\uc548 \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694.",paypalTokenizationRequestActiveError:"PayPal \uacb0\uc81c \uc2b9\uc778\uc774 \uc774\ubbf8 \uc9c4\ud589 \uc911\uc785\ub2c8\ub2e4.",venmoCanceledError:"\uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \uae30\uae30\uc5d0 \ucd5c\uc2e0 \ubc84\uc804\uc758 Venmo \uc571\uc774 \uc124\uce58\ub418\uc5b4 \uc788\uc73c\uba70 \ube0c\ub77c\uc6b0\uc800\uac00 Venmo\ub85c \uc804\ud658 \uae30\ub2a5\uc744 \uc9c0\uc6d0\ud558\ub294\uc9c0 \ud655\uc778\ud558\uc138\uc694.",vaultManagerPaymentMethodDeletionError:"\uacb0\uc81c\uc218\ub2e8\uc744 \uc0ad\uc81c\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694.",venmoAppFailedError:"\uae30\uae30\uc5d0\uc11c Venmo \uc571\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.",unsupportedCardTypeError:"\uc774 \uce74\ub4dc \ud615\uc2dd\uc740 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \ub2e4\ub978 \uce74\ub4dc\ub85c \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694.",applePayTokenizationError:"Apple Pay \uacb0\uc81c\ub97c \ucc98\ub9ac\ud558\ub294 \ub3d9\uc548 \ub124\ud2b8\uc6cc\ud06c \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694.",applePayActiveCardError:"Apple Pay \uc804\uc790\uc9c0\uac11\uc5d0 \uc9c0\uc6d0\ub418\ub294 \uce74\ub4dc\ub97c \ucd94\uac00\ud558\uc138\uc694.",cardholderNameLabel:"\uce74\ub4dc \uc18c\uc720\uc790 \uc774\ub984",cardNumberLabel:"\uce74\ub4dc \ubc88\ud638",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3\uc790\ub9ac)",cvvFourDigitLabelSubheading:"(4\uc790\ub9ac)",cardholderNamePlaceholder:"\uce74\ub4dc \uc18c\uc720\uc790 \uc774\ub984",expirationDateLabel:"\ub9cc\ub8cc\uc77c",expirationDateLabelSubheading:"(MM/YY)",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"\uc6b0\ud3b8\ubc88\ud638",saveCardLabel:"\uce74\ub4dc \uc800\uc7a5",payWithCard:"\uce74\ub4dc\ub85c \uacb0\uc81c",endingIn:"\ub05d\ubc88\ud638: {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"\uce74\ub4dc",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],179:[function(e,t,n){"use strict";t.exports={payingWith:"Betalen met {{paymentSource}}",chooseAnotherWayToPay:"Kies een andere betaalmethode",chooseAWayToPay:"Kies een betaalwijze",otherWaysToPay:"Andere manieren om te betalen",edit:"Bewerk",doneEditing:"Klaar",editPaymentMethods:"Betaalmethoden aanpassen",CreditCardDeleteConfirmationMessage:"{{secondaryIdentifier}}-kaart eindigend op {{identifier}} verwijderen?",PayPalAccountDeleteConfirmationMessage:"PayPal-rekening {{identifier}} verwijderen?",VenmoAccountDeleteConfirmationMessage:"Weet u zeker dat u Venmo-rekening met gebruikersnaam {{identifier}} wilt verwijderen?",genericDeleteConfirmationMessage:"Weet u zeker dat u deze betaalmethode wilt verwijderen?",deleteCancelButton:"Annuleren",deleteConfirmationButton:"Verwijderen",fieldEmptyForCvv:"Vul een CSC in.",fieldEmptyForExpirationDate:"Vul een vervaldatum in.",fieldEmptyForCardholderName:"Vul een naam voor de kaarthouder in.",fieldTooLongForCardholderName:"De naam van de kaarthouder moet korter zijn dan 256 tekens.",fieldEmptyForNumber:"Vul een nummer in.",fieldEmptyForPostalCode:"Vul een postcode in.",fieldInvalidForCvv:"Deze CSC is ongeldig.",fieldInvalidForExpirationDate:"Deze vervaldatum is ongeldig.",fieldInvalidForNumber:"Dit creditcardnummer is ongeldig.",fieldInvalidForPostalCode:"Deze postcode is ongeldig.",genericError:"Er is iets fout gegaan.",hostedFieldsTokenizationFailOnDuplicateError:"Deze creditcard staat al geregistreerd als een opgeslagen betaalmethode.",hostedFieldsFailedTokenizationError:"Controleer uw gegevens en probeer het opnieuw.",hostedFieldsFieldsInvalidError:"Controleer uw gegevens en probeer het opnieuw.",hostedFieldsTokenizationNetworkErrorError:"Netwerkfout. Probeer het opnieuw.",hostedFieldsTokenizationCvvVerificationFailedError:"De controle van de creditcard is mislukt. Controleer uw gegevens en probeer het opnieuw.",paypalButtonMustBeUsed:"Gebruik de PayPal-knop om door te gaan met uw betaling.",paypalAccountTokenizationFailedError:"Er is iets misgegaan bij het toevoegen van de PayPal-rekening. Probeer het opnieuw.",paypalFlowFailedError:"Er is iets misgegaan bij de verbinding met PayPal. Probeer het opnieuw.",paypalTokenizationRequestActiveError:"De autorisatie van de PayPal-betaling is al in behandeling.",venmoCanceledError:"Er ging iets fout. Controleer of de meest recente versie van de Venmo-app op je apparaat is ge\xefnstalleerd en dat je browser overschakelen naar Venmo ondersteunt.",vaultManagerPaymentMethodDeletionError:"Kan de betaalmethode niet verwijderen, probeer het opnieuw.",venmoAppFailedError:"De Venmo-app is niet aangetroffen op je apparaat.",unsupportedCardTypeError:"Dit type creditcard wordt niet ondersteund. Gebruik een andere creditcard.",applePayTokenizationError:"Er is een netwerkfout opgetreden bij het verwerken van de Apple Pay-betaling. Probeer het opnieuw.",applePayActiveCardError:"Voeg een ondersteunde creditcard toe aan je Apple Pay-wallet.",cardholderNameLabel:"Naam kaarthouder",cardNumberLabel:"Creditcardnummer",cvvLabel:"CSC",cvvThreeDigitLabelSubheading:"(3 cijfers)",cvvFourDigitLabelSubheading:"(4 cijfers)",cardholderNamePlaceholder:"Naam kaarthouder",expirationDateLabel:"Vervaldatum",expirationDateLabelSubheading:"(MM/JJ)",expirationDatePlaceholder:"MM/JJ",postalCodeLabel:"Postcode",saveCardLabel:"Creditcard opslaan",payWithCard:"Betalen met creditcard",endingIn:"Eindigend op {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Creditcard",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],180:[function(e,t,n){"use strict";t.exports={payingWith:"Betaling med {{paymentSource}}",chooseAnotherWayToPay:"Velg en annen m\xe5te \xe5 betale p\xe5",chooseAWayToPay:"Velg betalingsm\xe5te",otherWaysToPay:"Andre m\xe5ter \xe5 betale p\xe5",edit:"Rediger",doneEditing:"Fullf\xf8rt",editPaymentMethods:"Endre betalingsmetodene dine",CreditCardDeleteConfirmationMessage:"Vil du slette {{secondaryIdentifier}}-kortet som slutter p\xe5 {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Vil du slette PayPal-kontoen {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Er du sikker p\xe5 at du vil slette Venmo-kontoen med brukernavnet {{identifier}}?",genericDeleteConfirmationMessage:"Er du sikker p\xe5 at du vil slette denne betalingsmetoden?",deleteCancelButton:"Avbryt",deleteConfirmationButton:"Slett",fieldEmptyForCvv:"Oppgi en kortsikkerhetskode (CVV).",fieldEmptyForExpirationDate:"Oppgi en utl\xf8psdato.",fieldEmptyForCardholderName:"Oppgi et navn for kortinnehaveren.",fieldTooLongForCardholderName:"Makslengden for kortinnehaverens navn er 256 tegn.",fieldEmptyForNumber:"Oppgi et nummer.",fieldEmptyForPostalCode:"Oppgi et postnummer.",fieldInvalidForCvv:"Denne sikkerhetskoden er ikke gyldig.",fieldInvalidForExpirationDate:"Denne utl\xf8psdatoen er ikke gyldig.",fieldInvalidForNumber:"Dette kortnummeret er ikke gyldig.",fieldInvalidForPostalCode:"Dette postnummeret er ikke gyldig.",genericError:"Noe gikk galt hos oss.",hostedFieldsTokenizationFailOnDuplicateError:"Dette betalingskortet eksisterer allerede som en lagret betalingsmetode.",hostedFieldsFailedTokenizationError:"Kontroller informasjonen og pr\xf8v p\xe5 nytt.",hostedFieldsFieldsInvalidError:"Kontroller informasjonen og pr\xf8v p\xe5 nytt.",hostedFieldsTokenizationNetworkErrorError:"Nettverksfeil. Pr\xf8v p\xe5 nytt.",hostedFieldsTokenizationCvvVerificationFailedError:"Bekreftelsen av betalingskortet mislyktes. Kontroller informasjonen og pr\xf8v p\xe5 nytt.",paypalButtonMustBeUsed:"Bruk PayPal-knappen for \xe5 fortsette med betalingen.",paypalAccountTokenizationFailedError:"Noe gikk galt da PayPal-kontoen ble lagt til. Pr\xf8v p\xe5 nytt.",paypalFlowFailedError:"Det oppsto et problem med tilkoblingen til PayPal. Pr\xf8v p\xe5 nytt.",paypalTokenizationRequestActiveError:"Godkjenning av PayPal-betalingen p\xe5g\xe5r allerede",venmoCanceledError:"Noe gikk galt. Kontroller at du har installert den nyeste versjonen av Venmo-appen p\xe5 enheten og at nettleseren din st\xf8tter bytte til Venmo.",vaultManagerPaymentMethodDeletionError:"Kunne ikke slette betalingsmetoden. Pr\xf8v p\xe5 nytt.",venmoAppFailedError:"Finner ikke Venmo-appen p\xe5 enheten.",unsupportedCardTypeError:"Denne korttypen st\xf8ttes ikke. Pr\xf8v med et annet kort.",applePayTokenizationError:"Det oppsto en nettverksfeil under behandlingen av Apple Pay-betalingen. Pr\xf8v p\xe5 nytt.",applePayActiveCardError:"Legg til et kort som st\xf8ttes i Apple Pay-lommeboken din.",cardholderNameLabel:"Kortinnehaverens navn",cardNumberLabel:"Kortnummer",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 siffer)",cvvFourDigitLabelSubheading:"(4 siffer)",cardholderNamePlaceholder:"Kortinnehaverens navn",expirationDateLabel:"Utl\xf8psdato",expirationDateLabelSubheading:"(MM/\xc5\xc5)",expirationDatePlaceholder:"MM/\xc5\xc5",postalCodeLabel:"Postnummer",saveCardLabel:"Lagre kort",payWithCard:"Betal med kort",endingIn:"Slutter p\xe5 {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kort",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],181:[function(e,t,n){"use strict";t.exports={payingWith:"\u0179r\xf3d\u0142o finansowania p\u0142atno\u015bci: {{paymentSource}}",chooseAnotherWayToPay:"Wybierz inne \u017ar\xf3d\u0142o finansowania p\u0142atno\u015bci",chooseAWayToPay:"Wybierz \u017ar\xf3d\u0142o finansowania p\u0142atno\u015bci",otherWaysToPay:"Inne \u017ar\xf3d\u0142a finansowania p\u0142atno\u015bci",edit:"Edytuj",doneEditing:"Gotowe",editPaymentMethods:"Edytuj \u017ar\xf3d\u0142a finansowania p\u0142atno\u015bci",CreditCardDeleteConfirmationMessage:"Usun\u0105\u0107 kart\u0119 {{secondaryIdentifier}} o numerze zako\u0144czonym cyframi {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Usun\u0105\u0107 konto PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Czy na pewno chcesz usun\u0105\u0107 konto Venmo z nazw\u0105 u\u017cytkownika {{identifier}}?",genericDeleteConfirmationMessage:"Czy na pewno chcesz usun\u0105\u0107 to \u017ar\xf3d\u0142o finansowania p\u0142atno\u015bci?",deleteCancelButton:"Anuluj",deleteConfirmationButton:"Usu\u0144",fieldEmptyForCvv:"Podaj kod bezpiecze\u0144stwa.",fieldEmptyForExpirationDate:"Podaj dat\u0119 wa\u017cno\u015bci.",fieldEmptyForCardholderName:"Podaj imi\u0119 i nazwisko posiadacza karty.",fieldTooLongForCardholderName:"Imi\u0119 i nazwisko posiadacza karty musi mie\u0107 mniej ni\u017c 256 znak\xf3w.",fieldEmptyForNumber:"Podaj numer.",fieldEmptyForPostalCode:"Podaj kod pocztowy.",fieldInvalidForCvv:"Podany kod bezpiecze\u0144stwa jest nieprawid\u0142owy.",fieldInvalidForExpirationDate:"Podana data wa\u017cno\u015bci jest nieprawid\u0142owa.",fieldInvalidForNumber:"Podany numer karty jest nieprawid\u0142owy.",fieldInvalidForPostalCode:"Podany kod pocztowy jest nieprawid\u0142owy.",genericError:"Wyst\u0105pi\u0142 b\u0142\u0105d po naszej stronie.",hostedFieldsTokenizationFailOnDuplicateError:"Ta karta kredytowa jest ju\u017c zapisana jako \u017ar\xf3d\u0142o finansowania p\u0142atno\u015bci.",hostedFieldsFailedTokenizationError:"Sprawd\u017a swoje informacje i spr\xf3buj ponownie.",hostedFieldsFieldsInvalidError:"Sprawd\u017a swoje informacje i spr\xf3buj ponownie.",hostedFieldsTokenizationNetworkErrorError:"B\u0142\u0105d sieci. Spr\xf3buj ponownie.",hostedFieldsTokenizationCvvVerificationFailedError:"Weryfikacja karty kredytowej nie powiod\u0142a si\u0119. Sprawd\u017a swoje informacje i spr\xf3buj ponownie.",paypalButtonMustBeUsed:"U\u017cyj przycisku PayPal, aby kontynuowa\u0107 p\u0142atno\u015b\u0107.",paypalAccountTokenizationFailedError:"Co\u015b posz\u0142o nie tak podczas dodawania konta PayPal. Spr\xf3buj ponownie.",paypalFlowFailedError:"Co\u015b posz\u0142o nie tak podczas \u0142\u0105czenia z systemem PayPal. Spr\xf3buj ponownie.",paypalTokenizationRequestActiveError:"Autoryzacja p\u0142atno\u015bci PayPal jest ju\u017c w trakcie realizacji.",venmoCanceledError:"Wyst\u0105pi\u0142 problem. Upewnij si\u0119, czy na swoim urz\u0105dzeniu masz zainstalowan\u0105 najnowsz\u0105 wersj\u0119 aplikacji Venmo i Twoja przegl\u0105darka j\u0105 obs\u0142uguje.",vaultManagerPaymentMethodDeletionError:"Nie mo\u017cna usun\u0105\u0107 \u017ar\xf3d\u0142a finansowania p\u0142atno\u015bci. Spr\xf3buj ponownie.",venmoAppFailedError:"Nie mo\u017cna odnale\u017a\u0107 aplikacji Venmo na urz\u0105dzeniu.",unsupportedCardTypeError:"Ten typ karty nie jest obs\u0142ugiwany. Spr\xf3buj u\u017cy\u0107 innej karty.",applePayTokenizationError:"Wyst\u0105pi\u0142 b\u0142\u0105d sieci podczas przetwarzania p\u0142atno\u015bci Apple Pay. Spr\xf3buj ponownie.",applePayActiveCardError:"Dodaj obs\u0142ugiwan\u0105 kart\u0119 do portfela Apple Pay.",cardholderNameLabel:"Imi\u0119 i nazwisko posiadacza karty",cardNumberLabel:"Numer karty",cvvLabel:"Kod CVC",cvvThreeDigitLabelSubheading:"(3 cyfry)",cvvFourDigitLabelSubheading:"(4 cyfry)",cardholderNamePlaceholder:"Imi\u0119 i nazwisko posiadacza karty",expirationDateLabel:"Data wa\u017cno\u015bci",expirationDateLabelSubheading:"(MM/RR)",expirationDatePlaceholder:"MM/RR",postalCodeLabel:"Kod pocztowy",saveCardLabel:"Zapisz kart\u0119",payWithCard:"Zap\u0142a\u0107 kart\u0105",endingIn:"O numerze zako\u0144czonym cyframi {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Karta",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],182:[function(e,t,n){"use strict";t.exports={payingWith:"Pagando com {{paymentSource}}",chooseAnotherWayToPay:"Escolher outro meio de pagamento",chooseAWayToPay:"Escolher um meio de pagamento",otherWaysToPay:"Outro meio de pagamento",edit:"Editar",doneEditing:"Conclu\xeddo",editPaymentMethods:"Editar meios de pagamento",CreditCardDeleteConfirmationMessage:"Excluir cart\xe3o com {{secondaryIdentifier}} com final {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Excluir conta do PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"Tem certeza de que deseja excluir a conta do Venmo com o nome de usu\xe1rio {{identifier}}?",genericDeleteConfirmationMessage:"Tem certeza de que deseja excluir este meio de pagamento?",deleteCancelButton:"Cancelar",deleteConfirmationButton:"Excluir",fieldEmptyForCvv:"Informe o C\xf3digo de Seguran\xe7a.",fieldEmptyForExpirationDate:"Informe a data de vencimento.",fieldEmptyForCardholderName:"Informe o nome do titular do cart\xe3o.",fieldTooLongForCardholderName:"O nome do titular do cart\xe3o deve ter menos de 256 caracteres.",fieldEmptyForNumber:"Informe um n\xfamero.",fieldEmptyForPostalCode:"Informe um CEP.",fieldInvalidForCvv:"Este c\xf3digo de seguran\xe7a n\xe3o \xe9 v\xe1lido.",fieldInvalidForExpirationDate:"Esta data de vencimento n\xe3o \xe9 v\xe1lida.",fieldInvalidForNumber:"O n\xfamero do cart\xe3o n\xe3o \xe9 v\xe1lido.",fieldInvalidForPostalCode:"Este CEP n\xe3o \xe9 v\xe1lido.",genericError:"Ocorreu um erro.",hostedFieldsTokenizationFailOnDuplicateError:"Este cart\xe3o de cr\xe9dito j\xe1 est\xe1 salvo em seus meios de pagamento.",hostedFieldsFailedTokenizationError:"Verifique as informa\xe7\xf5es e tente novamente.",hostedFieldsFieldsInvalidError:"Verifique as informa\xe7\xf5es e tente novamente.",hostedFieldsTokenizationNetworkErrorError:"Erro de rede. Tente novamente.",hostedFieldsTokenizationCvvVerificationFailedError:"Falha ao verificar o cart\xe3o de cr\xe9dito. Verifique as informa\xe7\xf5es e tente novamente.",paypalButtonMustBeUsed:"Use o bot\xe3o do PayPal para prosseguir com o seu pagamento.",paypalAccountTokenizationFailedError:"Ocorreu um erro ao adicionar a conta do PayPal. Tente novamente.",paypalFlowFailedError:"Ocorreu um erro de conex\xe3o com o PayPal. Tente novamente.",paypalTokenizationRequestActiveError:"A autoriza\xe7\xe3o de pagamento do PayPal j\xe1 est\xe1 em andamento.",venmoCanceledError:"Ocorreu um erro. Certifique-se de ter a vers\xe3o mais recente do aplicativo Venmo instalado no seu dispositivo e que o seu navegador suporte a mudan\xe7a para o Venmo.",vaultManagerPaymentMethodDeletionError:"N\xe3o \xe9 poss\xedvel excluir o meio de pagamento, tente novamente.",venmoAppFailedError:"N\xe3o foi poss\xedvel encontrar o aplicativo Venmo no seu dispositivo.",unsupportedCardTypeError:"Este tipo de cart\xe3o n\xe3o \xe9 aceito. Experimente outro cart\xe3o.",applePayTokenizationError:"Ocorreu um erro de rede ao processar o pagamento com Apple Pay. Tente novamente.",applePayActiveCardError:"Adicione cart\xe3o suportado \xe0 sua carteira do Apple Pay.",cardholderNameLabel:"Nome do titular do cart\xe3o",cardNumberLabel:"N\xfamero do cart\xe3o",cvvLabel:"CSC",cvvThreeDigitLabelSubheading:"(3 d\xedgitos)",cvvFourDigitLabelSubheading:"(4 d\xedgitos)",cardholderNamePlaceholder:"Nome do titular do cart\xe3o",expirationDateLabel:"Data de vencimento",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"CEP",saveCardLabel:"Salvar cart\xe3o",payWithCard:"Pague com seu cart\xe3o",endingIn:"Com final {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Cart\xe3o",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],183:[function(e,t,n){"use strict";t.exports={payingWith:"Pagar com {{paymentSource}}",chooseAnotherWayToPay:"Escolher outra forma de pagamento",chooseAWayToPay:"Escolha um meio de pagamento",otherWaysToPay:"Outras formas de pagamento",edit:"Editar",doneEditing:"Conclu\xeddo",editPaymentMethods:"Editar meios de pagamento",CreditCardDeleteConfirmationMessage:"Eliminar o cart\xe3o {{secondaryIdentifier}} terminado em {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Eliminar {{identifier}} da conta PayPal?",VenmoAccountDeleteConfirmationMessage:"Tem a certeza de que pretende eliminar a conta Venmo com o nome de utilizador {{identifier}}?",genericDeleteConfirmationMessage:"Tem certeza de que pretende eliminar este meio de pagamento?",deleteCancelButton:"Cancelar",deleteConfirmationButton:"Eliminar",fieldEmptyForCvv:"Introduza o c\xf3digo CVV.",fieldEmptyForExpirationDate:"Introduza a data de validade.",fieldEmptyForCardholderName:"Introduza um nome do titular do cart\xe3o.",fieldTooLongForCardholderName:"O nome do titular do cart\xe3o tem de ter menos de 256 carateres.",fieldEmptyForNumber:"Introduza um n\xfamero.",fieldEmptyForPostalCode:"Introduza o c\xf3digo postal.",fieldInvalidForCvv:"Este c\xf3digo de seguran\xe7a n\xe3o \xe9 v\xe1lido.",fieldInvalidForExpirationDate:"Esta data de validade n\xe3o \xe9 correta.",fieldInvalidForNumber:"Este n\xfamero de cart\xe3o n\xe3o \xe9 v\xe1lido.",fieldInvalidForPostalCode:"Este c\xf3digo postal n\xe3o \xe9 v\xe1lido.",genericError:"Tudo indica que houve um problema.",hostedFieldsTokenizationFailOnDuplicateError:"Este cart\xe3o de cr\xe9dito j\xe1 est\xe1 registado como um meio de pagamento guardado.",hostedFieldsFailedTokenizationError:"Verifique os dados e tente novamente.",hostedFieldsFieldsInvalidError:"Verifique os dados e tente novamente.",hostedFieldsTokenizationNetworkErrorError:"Erro de rede. Tente novamente.",hostedFieldsTokenizationCvvVerificationFailedError:"A verifica\xe7\xe3o do cart\xe3o de cr\xe9dito falhou. Verifique os dados e tente novamente.",paypalButtonMustBeUsed:"Use o bot\xe3o PayPal para continuar com o seu pagamento.",paypalAccountTokenizationFailedError:"Ocorreu um erro ao associar a conta PayPal. Tente novamente.",paypalFlowFailedError:"Ocorreu um erro na liga\xe7\xe3o com PayPal. Tente novamente.",paypalTokenizationRequestActiveError:"J\xe1 h\xe1 uma autoriza\xe7\xe3o de pagamento PayPal em curso.",venmoCanceledError:"Ocorreu um erro. Certifique-se de que tem a vers\xe3o mais recente da aplica\xe7\xe3o Venmo instalada no seu dispositivo e que o navegador suporta a mudan\xe7a para o Venmo.",vaultManagerPaymentMethodDeletionError:"N\xe3o \xe9 poss\xedvel eliminar o meio de pagamento, tente novamente.",venmoAppFailedError:"N\xe3o foi poss\xedvel encontrar a aplica\xe7\xe3o Venmo no dispositivo.",unsupportedCardTypeError:"Este tipo de cart\xe3o n\xe3o \xe9 suportado. Tente usar outro cart\xe3o.",applePayTokenizationError:"Ocorreu um erro de rede ao processar o pagamento com Apple Pay. Tente novamente.",applePayActiveCardError:"Adicione um cart\xe3o suportado \xe0 sua carteira Apple Pay.",cardholderNameLabel:"Nome do titular do cart\xe3o",cardNumberLabel:"N\xfamero do cart\xe3o",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 d\xedgitos)",cvvFourDigitLabelSubheading:"(4 d\xedgitos)",cardholderNamePlaceholder:"Nome do titular do cart\xe3o",expirationDateLabel:"Data de validade",expirationDateLabelSubheading:"(MM/AA)",expirationDatePlaceholder:"MM/AA",postalCodeLabel:"C\xf3digo postal",saveCardLabel:"Guardar cart\xe3o",payWithCard:"Pagar com cart\xe3o",endingIn:"Terminado em {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Cart\xe3o",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],184:[function(e,t,n){"use strict";t.exports={payingWith:"\u0421\u043f\u043e\u0441\u043e\u0431\u044b \u043e\u043f\u043b\u0430\u0442\u044b: {{paymentSource}}",chooseAnotherWayToPay:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u043f\u043b\u0430\u0442\u044b",chooseAWayToPay:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u043f\u043b\u0430\u0442\u044b",otherWaysToPay:"\u0414\u0440\u0443\u0433\u0438\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043e\u043f\u043b\u0430\u0442\u044b",edit:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c",doneEditing:"\u0413\u043e\u0442\u043e\u0432\u043e",editPaymentMethods:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043e\u043f\u043b\u0430\u0442\u044b",CreditCardDeleteConfirmationMessage:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u043a\u0430\u0440\u0442\u0443 {{secondaryIdentifier}}, \u043e\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044e\u0449\u0443\u044e\u0441\u044f \u043d\u0430 {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0447\u0435\u0442 PayPal {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"\u0412\u044b \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0447\u0435\u0442 Venmo \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f {{identifier}}?",genericDeleteConfirmationMessage:"\u0412\u044b \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u043f\u043b\u0430\u0442\u044b?",deleteCancelButton:"\u041e\u0442\u043c\u0435\u043d\u0430",deleteConfirmationButton:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c",fieldEmptyForCvv:"\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043a\u043e\u0434 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438.",fieldEmptyForExpirationDate:"\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0441\u0440\u043e\u043a\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f.",fieldEmptyForCardholderName:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0438\u043c\u044f \u0438 \u0444\u0430\u043c\u0438\u043b\u0438\u044e \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u043a\u0430\u0440\u0442\u044b.",fieldTooLongForCardholderName:"\u0418\u043c\u044f \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u043a\u0430\u0440\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 256 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432.",fieldEmptyForNumber:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u043e\u043c\u0435\u0440.",fieldEmptyForPostalCode:"\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441.",fieldInvalidForCvv:"\u042d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u043d\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u0435\u043d.",fieldInvalidForExpirationDate:"\u042d\u0442\u0430 \u0434\u0430\u0442\u0430 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0441\u0440\u043e\u043a\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043d\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u0430.",fieldInvalidForNumber:"\u042d\u0442\u043e\u0442 \u043d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b \u043d\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u0435\u043d.",fieldInvalidForPostalCode:"\u042d\u0442\u043e\u0442 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441 \u043d\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u0435\u043d.",genericError:"\u0412\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441 \u043d\u0430\u0448\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b.",hostedFieldsTokenizationFailOnDuplicateError:"\u042d\u0442\u0430 \u043a\u0440\u0435\u0434\u0438\u0442\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u0443\u0436\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u043a\u0430\u043a \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0439 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0441\u0440\u0435\u0434\u0441\u0442\u0432.",hostedFieldsFailedTokenizationError:"\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443.",hostedFieldsFieldsInvalidError:"\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443.",hostedFieldsTokenizationNetworkErrorError:"\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0442\u0438. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443.",hostedFieldsTokenizationCvvVerificationFailedError:"\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u043a\u0430\u0440\u0442\u044b \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0430. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443.",paypalButtonMustBeUsed:"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043d\u043e\u043f\u043a\u0443 PayPal, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043e\u043f\u043b\u0430\u0442\u044b.",paypalAccountTokenizationFailedError:"\u0427\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a \u2014 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0443\u0447\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c PayPal. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443.",paypalFlowFailedError:"\u0427\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a \u2014 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0441\u0438\u0441\u0442\u0435\u043c\u0435 PayPal. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443.",paypalTokenizationRequestActiveError:"\u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043b\u0430\u0442\u0435\u0436\u0430 PayPal.",venmoCanceledError:"\u0412\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430. \u041f\u0440\u043e\u0441\u0438\u043c \u0432\u0430\u0441 \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u043d\u043e\u0432\u0435\u0439\u0448\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f Venmo \u0438 \u0432\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a Venmo.",vaultManagerPaymentMethodDeletionError:"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u043f\u043b\u0430\u0442\u044b. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443.",venmoAppFailedError:"\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Venmo \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435.",unsupportedCardTypeError:"\u042d\u0442\u043e\u0442 \u0442\u0438\u043f \u043a\u0430\u0440\u0442\u044b \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u0430\u0440\u0442\u043e\u0439.",applePayTokenizationError:"\u041f\u0440\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043f\u043b\u0430\u0442\u0435\u0436\u0430 \u0447\u0435\u0440\u0435\u0437 Apple Pay \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u0441\u0435\u0442\u0435\u0432\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443.",applePayActiveCardError:"\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u0443\u044e \u043a\u0430\u0440\u0442\u0443 \u043a \u0441\u0432\u043e\u0435\u043c\u0443 \u0441\u0447\u0435\u0442\u0443 Apple Pay.",cardholderNameLabel:"\u0418\u043c\u044f \u0438 \u0444\u0430\u043c\u0438\u043b\u0438\u044f \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430",cardNumberLabel:"\u041d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b",cvvLabel:"\u041a\u043e\u0434 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438",cvvThreeDigitLabelSubheading:"(3 \u0446\u0438\u0444\u0440\u044b)",cvvFourDigitLabelSubheading:"(4 \u0446\u0438\u0444\u0440\u044b)",cardholderNamePlaceholder:"\u0418\u043c\u044f \u0438 \u0444\u0430\u043c\u0438\u043b\u0438\u044f \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430",expirationDateLabel:"\u0421\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f",expirationDateLabelSubheading:"(\u041c\u041c/\u0413\u0413)",expirationDatePlaceholder:"\u041c\u041c/\u0413\u0413",postalCodeLabel:"\u0418\u043d\u0434\u0435\u043a\u0441",saveCardLabel:"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043a\u0430\u0440\u0442\u0443",payWithCard:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u043a\u0430\u0440\u0442\u043e\u0439",endingIn:"\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0447\u0435\u0442\u044b\u0440\u0435 \u0446\u0438\u0444\u0440\u044b \u043d\u043e\u043c\u0435\u0440\u0430 \u043a\u0430\u0440\u0442\u044b: {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"\u041a\u0430\u0440\u0442\u0430",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],185:[function(e,t,n){"use strict";t.exports={payingWith:"Betalas med {{paymentSource}}",chooseAnotherWayToPay:"V\xe4lj ett annat s\xe4tt att betala",chooseAWayToPay:"V\xe4lj hur du vill betala",otherWaysToPay:"Andra s\xe4tt att betala",edit:"\xc4ndra",doneEditing:"Klart",editPaymentMethods:"Redigera betalningsmetoder",CreditCardDeleteConfirmationMessage:"Ta bort {{secondaryIdentifier}}-kort som slutar p\xe5 {{identifier}}?",PayPalAccountDeleteConfirmationMessage:"Ta bort PayPal-konto {{identifier}}?",VenmoAccountDeleteConfirmationMessage:"\xc4r du s\xe4ker p\xe5 att du vill ta bort Venmo-konto med anv\xe4ndarnamn {{identifier}}?",genericDeleteConfirmationMessage:"\xc4r du s\xe4ker p\xe5 att du vill ta bort den h\xe4r betalningsmetoden?",deleteCancelButton:"Avbryt",deleteConfirmationButton:"Ta bort",fieldEmptyForCvv:"Fyll i en CVV-kod.",fieldEmptyForExpirationDate:"Fyll i ett utg\xe5ngsdatum.",fieldEmptyForCardholderName:"Fyll i kortinnehavarens namn.",fieldTooLongForCardholderName:"Kortinnehavarens namn m\xe5ste vara kortare \xe4n 256 tecken.",fieldEmptyForNumber:"Fyll i ett nummer.",fieldEmptyForPostalCode:"Fyll i ett postnummer.",fieldInvalidForCvv:"Den h\xe4r s\xe4kerhetskoden \xe4r inte giltig.",fieldInvalidForExpirationDate:"Det h\xe4r utg\xe5ngsdatumet \xe4r inte giltigt.",fieldInvalidForNumber:"Det h\xe4r kortnumret \xe4r inte giltigt.",fieldInvalidForPostalCode:"Det h\xe4r postnumret \xe4r inte giltigt.",genericError:"Ett fel uppstod.",hostedFieldsTokenizationFailOnDuplicateError:"Det h\xe4r betalkortet finns redan som en sparad betalningsmetod.",hostedFieldsFailedTokenizationError:"Kontrollera uppgifterna och f\xf6rs\xf6k igen.",hostedFieldsFieldsInvalidError:"Kontrollera uppgifterna och f\xf6rs\xf6k igen.",hostedFieldsTokenizationNetworkErrorError:"N\xe4tverksfel. F\xf6rs\xf6k igen.",hostedFieldsTokenizationCvvVerificationFailedError:"Verifieringen av betalkort misslyckades. Kontrollera uppgifterna och f\xf6rs\xf6k igen.",paypalButtonMustBeUsed:"Anv\xe4nd PayPal-knappen f\xf6r att forts\xe4tta med din betalning.",paypalAccountTokenizationFailedError:"Ett fel uppstod n\xe4r PayPal-kontot skulle l\xe4ggas till. F\xf6rs\xf6k igen.",paypalFlowFailedError:"Ett fel uppstod n\xe4r anslutningen till PayPal skulle uppr\xe4ttas. F\xf6rs\xf6k igen.",paypalTokenizationRequestActiveError:"Betalningsgodk\xe4nnandet f\xf6r PayPal behandlas redan.",venmoCanceledError:"N\xe5got gick fel. Se till att du har den senaste versionen av Venmo-appen installerad p\xe5 din enhet och att webbl\xe4saren st\xf6der att g\xe5 \xf6ver till Venmo.",vaultManagerPaymentMethodDeletionError:"Det gick inte att ta bort betalningsmetoden. F\xf6rs\xf6k igen.",venmoAppFailedError:"Venmo-appen kunde inte hittas p\xe5 din enhet.",unsupportedCardTypeError:"Den h\xe4r korttypen st\xf6ds inte. Pr\xf6va med ett annat kort.",applePayTokenizationError:"Ett n\xe4tverksfel intr\xe4ffade n\xe4r Apple Pay-betalningen skulle behandlas. F\xf6rs\xf6k igen.",applePayActiveCardError:"L\xe4gg till ett kort som st\xf6ds i Apple Pay-e-pl\xe5nboken.",cardholderNameLabel:"Kortinnehavarens namn",cardNumberLabel:"Kortnummer",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 siffror)",cvvFourDigitLabelSubheading:"(4 siffror)",cardholderNamePlaceholder:"Kortinnehavarens namn",expirationDateLabel:"Utg\xe5ngsdatum",expirationDateLabelSubheading:"(MM/\xc5\xc5)",expirationDatePlaceholder:"MM/\xc5\xc5",postalCodeLabel:"Postnummer",saveCardLabel:"Spara kort",payWithCard:"Betala med kort",endingIn:"Slutar p\xe5 {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"Kort",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],186:[function(e,t,n){"use strict";t.exports={payingWith:"\u0e01\u0e32\u0e23\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 {{paymentSource}}",chooseAnotherWayToPay:"\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e27\u0e34\u0e18\u0e35\u0e2d\u0e37\u0e48\u0e19\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19",chooseAWayToPay:"\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e27\u0e34\u0e18\u0e35\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19",otherWaysToPay:"\u0e27\u0e34\u0e18\u0e35\u0e2d\u0e37\u0e48\u0e19\u0e46 \u0e43\u0e19\u0e01\u0e32\u0e23\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19",edit:"\u0e41\u0e01\u0e49\u0e44\u0e02",doneEditing:"\u0e40\u0e2a\u0e23\u0e47\u0e08\u0e41\u0e25\u0e49\u0e27",editPaymentMethods:"\u0e41\u0e01\u0e49\u0e44\u0e02\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19",CreditCardDeleteConfirmationMessage:"\u0e25\u0e1a\u0e1a\u0e31\u0e15\u0e23 {{secondaryIdentifier }} \u0e17\u0e35\u0e48\u0e25\u0e07\u0e17\u0e49\u0e32\u0e22\u0e14\u0e49\u0e27\u0e22 {{identifier}} \u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48",PayPalAccountDeleteConfirmationMessage:"\u0e25\u0e1a {{identifier}} \u0e1a\u0e31\u0e0d\u0e0a\u0e35 PayPal \u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48",VenmoAccountDeleteConfirmationMessage:"\u0e04\u0e38\u0e13\u0e21\u0e31\u0e48\u0e19\u0e43\u0e08\u0e27\u0e48\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e25\u0e1a\u0e1a\u0e31\u0e0d\u0e0a\u0e35 Venmo \u0e17\u0e35\u0e48\u0e21\u0e35\u0e0a\u0e37\u0e48\u0e2d\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49 {{identifier}} \u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48",genericDeleteConfirmationMessage:"\u0e04\u0e38\u0e13\u0e21\u0e31\u0e48\u0e19\u0e43\u0e08\u0e27\u0e48\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e25\u0e1a\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e19\u0e35\u0e49\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48",deleteCancelButton:"\u0e22\u0e01\u0e40\u0e25\u0e34\u0e01",deleteConfirmationButton:"\u0e25\u0e1a",fieldEmptyForCvv:"\u0e42\u0e1b\u0e23\u0e14\u0e01\u0e23\u0e2d\u0e01 CVV (\u0e23\u0e2b\u0e31\u0e2a\u0e01\u0e32\u0e23\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e22\u0e37\u0e19\u0e22\u0e31\u0e19\u0e1a\u0e31\u0e15\u0e23)",fieldEmptyForExpirationDate:"\u0e42\u0e1b\u0e23\u0e14\u0e01\u0e23\u0e2d\u0e01\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48\u0e2b\u0e21\u0e14\u0e2d\u0e32\u0e22\u0e38",fieldEmptyForCardholderName:"\u0e42\u0e1b\u0e23\u0e14\u0e01\u0e23\u0e2d\u0e01\u0e0a\u0e37\u0e48\u0e2d\u0e40\u0e08\u0e49\u0e32\u0e02\u0e2d\u0e07\u0e1a\u0e31\u0e15\u0e23",fieldTooLongForCardholderName:"\u0e0a\u0e37\u0e48\u0e2d\u0e1c\u0e39\u0e49\u0e16\u0e37\u0e2d\u0e1a\u0e31\u0e15\u0e23\u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e44\u0e21\u0e48\u0e40\u0e01\u0e34\u0e19 256 \u0e2d\u0e31\u0e01\u0e02\u0e23\u0e30",fieldEmptyForNumber:"\u0e42\u0e1b\u0e23\u0e14\u0e01\u0e23\u0e2d\u0e01\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02",fieldEmptyForPostalCode:"\u0e42\u0e1b\u0e23\u0e14\u0e01\u0e23\u0e2d\u0e01\u0e23\u0e2b\u0e31\u0e2a\u0e44\u0e1b\u0e23\u0e29\u0e13\u0e35\u0e22\u0e4c",fieldInvalidForCvv:"\u0e23\u0e2b\u0e31\u0e2a\u0e04\u0e27\u0e32\u0e21\u0e1b\u0e25\u0e2d\u0e14\u0e20\u0e31\u0e22\u0e19\u0e35\u0e49\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07",fieldInvalidForExpirationDate:"\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48\u0e2b\u0e21\u0e14\u0e2d\u0e32\u0e22\u0e38\u0e19\u0e35\u0e49\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07",fieldInvalidForNumber:"\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e1a\u0e31\u0e15\u0e23\u0e19\u0e35\u0e49\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07",fieldInvalidForPostalCode:"\u0e23\u0e2b\u0e31\u0e2a\u0e44\u0e1b\u0e23\u0e29\u0e13\u0e35\u0e22\u0e4c\u0e19\u0e35\u0e49\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07",genericError:"\u0e40\u0e01\u0e34\u0e14\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e02\u0e36\u0e49\u0e19\u0e43\u0e19\u0e23\u0e30\u0e1a\u0e1a\u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32",hostedFieldsTokenizationFailOnDuplicateError:"\u0e1a\u0e31\u0e15\u0e23\u0e40\u0e04\u0e23\u0e14\u0e34\u0e15\u0e19\u0e35\u0e49\u0e16\u0e39\u0e01\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e44\u0e27\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19",hostedFieldsFailedTokenizationError:"\u0e42\u0e1b\u0e23\u0e14\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13 \u0e41\u0e25\u0e49\u0e27\u0e25\u0e2d\u0e07\u0e43\u0e2b\u0e21\u0e48\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07",hostedFieldsFieldsInvalidError:"\u0e42\u0e1b\u0e23\u0e14\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13 \u0e41\u0e25\u0e49\u0e27\u0e25\u0e2d\u0e07\u0e43\u0e2b\u0e21\u0e48\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07",hostedFieldsTokenizationNetworkErrorError:"\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e14\u0e49\u0e32\u0e19\u0e40\u0e04\u0e23\u0e37\u0e2d\u0e02\u0e48\u0e32\u0e22 \u0e42\u0e1b\u0e23\u0e14\u0e25\u0e2d\u0e07\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07",hostedFieldsTokenizationCvvVerificationFailedError:"\u0e01\u0e32\u0e23\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e22\u0e37\u0e19\u0e22\u0e31\u0e19\u0e1a\u0e31\u0e15\u0e23\u0e40\u0e04\u0e23\u0e14\u0e34\u0e15\u0e25\u0e49\u0e21\u0e40\u0e2b\u0e25\u0e27 \u0e42\u0e1b\u0e23\u0e14\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13 \u0e41\u0e25\u0e49\u0e27\u0e25\u0e2d\u0e07\u0e43\u0e2b\u0e21\u0e48\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07",paypalButtonMustBeUsed:"\u0e43\u0e0a\u0e49\u0e1b\u0e38\u0e48\u0e21 PayPal \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e15\u0e48\u0e2d",paypalAccountTokenizationFailedError:"\u0e40\u0e01\u0e34\u0e14\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e43\u0e19\u0e01\u0e32\u0e23\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e1a\u0e31\u0e0d\u0e0a\u0e35 PayPal \u0e42\u0e1b\u0e23\u0e14\u0e25\u0e2d\u0e07\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07",paypalFlowFailedError:"\u0e40\u0e01\u0e34\u0e14\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e43\u0e19\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a PayPal \u0e42\u0e1b\u0e23\u0e14\u0e25\u0e2d\u0e07\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07",paypalTokenizationRequestActiveError:"\u0e01\u0e32\u0e23\u0e2d\u0e19\u0e38\u0e0d\u0e32\u0e15\u0e01\u0e32\u0e23\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e02\u0e2d\u0e07 PayPal \u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19\u0e23\u0e30\u0e2b\u0e27\u0e48\u0e32\u0e07\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23",venmoCanceledError:"\u0e40\u0e01\u0e34\u0e14\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e1a\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e01\u0e32\u0e23 \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e04\u0e38\u0e13\u0e21\u0e35\u0e41\u0e2d\u0e1b Venmo \u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e19\u0e25\u0e48\u0e32\u0e2a\u0e38\u0e14\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e43\u0e19\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13 \u0e41\u0e25\u0e30\u0e21\u0e35\u0e40\u0e1a\u0e23\u0e32\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e17\u0e35\u0e48\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a Venmo",vaultManagerPaymentMethodDeletionError:"\u0e44\u0e21\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e25\u0e1a\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e44\u0e14\u0e49 \u0e25\u0e2d\u0e07\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07",venmoAppFailedError:"\u0e44\u0e21\u0e48\u0e1e\u0e1a\u0e41\u0e2d\u0e1b Venmo \u0e1a\u0e19\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13",unsupportedCardTypeError:"\u0e44\u0e21\u0e48\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e1a\u0e31\u0e15\u0e23\u0e1b\u0e23\u0e30\u0e40\u0e20\u0e17\u0e19\u0e35\u0e49 \u0e42\u0e1b\u0e23\u0e14\u0e25\u0e2d\u0e07\u0e43\u0e0a\u0e49\u0e1a\u0e31\u0e15\u0e23\u0e43\u0e1a\u0e2d\u0e37\u0e48\u0e19",applePayTokenizationError:"\u0e40\u0e01\u0e34\u0e14\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e14\u0e49\u0e32\u0e19\u0e40\u0e04\u0e23\u0e37\u0e2d\u0e02\u0e48\u0e32\u0e22\u0e02\u0e36\u0e49\u0e19\u0e02\u0e13\u0e30\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 Apple Pay \u0e42\u0e1b\u0e23\u0e14\u0e25\u0e2d\u0e07\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07",applePayActiveCardError:"\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e1a\u0e31\u0e15\u0e23\u0e17\u0e35\u0e48\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e43\u0e19\u0e01\u0e23\u0e30\u0e40\u0e1b\u0e4b\u0e32\u0e2a\u0e15\u0e32\u0e07\u0e04\u0e4c Apple Pay \u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13",cardholderNameLabel:"\u0e0a\u0e37\u0e48\u0e2d\u0e40\u0e08\u0e49\u0e32\u0e02\u0e2d\u0e07\u0e1a\u0e31\u0e15\u0e23",cardNumberLabel:"\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e1a\u0e31\u0e15\u0e23",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"(3 \u0e2b\u0e25\u0e31\u0e01)",cvvFourDigitLabelSubheading:"(4 \u0e2b\u0e25\u0e31\u0e01)",cardholderNamePlaceholder:"\u0e0a\u0e37\u0e48\u0e2d\u0e40\u0e08\u0e49\u0e32\u0e02\u0e2d\u0e07\u0e1a\u0e31\u0e15\u0e23",expirationDateLabel:"\u0e27\u0e31\u0e19\u0e2b\u0e21\u0e14\u0e2d\u0e32\u0e22\u0e38",expirationDateLabelSubheading:"(\u0e14\u0e14/\u0e1b\u0e1b)",expirationDatePlaceholder:"\u0e14\u0e14/\u0e1b\u0e1b",postalCodeLabel:"\u0e23\u0e2b\u0e31\u0e2a\u0e44\u0e1b\u0e23\u0e29\u0e13\u0e35\u0e22\u0e4c",saveCardLabel:"\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e1a\u0e31\u0e15\u0e23",payWithCard:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22\u0e1a\u0e31\u0e15\u0e23",endingIn:"\u0e25\u0e07\u0e17\u0e49\u0e32\u0e22\u0e14\u0e49\u0e27\u0e22 {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"\u0e1a\u0e31\u0e15\u0e23",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],187:[function(e,t,n){"use strict";t.exports={payingWith:"\u6b63\u5728\u4f7f\u7528{{paymentSource}}\u4ed8\u6b3e",chooseAnotherWayToPay:"\u9009\u62e9\u5176\u4ed6\u4ed8\u6b3e\u65b9\u5f0f",chooseAWayToPay:"\u9009\u62e9\u4ed8\u6b3e\u65b9\u5f0f",otherWaysToPay:"\u5176\u4ed6\u4ed8\u6b3e\u65b9\u5f0f",edit:"\u7f16\u8f91",doneEditing:"\u5b8c\u6210",editPaymentMethods:"\u7f16\u8f91\u4ed8\u6b3e\u65b9\u5f0f",CreditCardDeleteConfirmationMessage:"\u5220\u9664\u5c3e\u53f7\u4e3a{{identifier}}\u7684{{secondaryIdentifier}}\u5361\uff1f",PayPalAccountDeleteConfirmationMessage:"\u5220\u9664PayPal\u8d26\u6237{{identifier}}\uff1f",VenmoAccountDeleteConfirmationMessage:"\u786e\u5b9a\u8981\u5220\u9664\u7528\u6237\u540d\u4e3a{{identifier}}\u7684Venmo\u8d26\u6237\u5417\uff1f",genericDeleteConfirmationMessage:"\u786e\u5b9a\u8981\u5220\u9664\u8be5\u4ed8\u6b3e\u65b9\u5f0f\u5417\uff1f",deleteCancelButton:"\u53d6\u6d88",deleteConfirmationButton:"\u5220\u9664",fieldEmptyForCvv:"\u8bf7\u586b\u5199CVV\u3002",fieldEmptyForExpirationDate:"\u8bf7\u586b\u5199\u6709\u6548\u671f\u9650\u3002",fieldEmptyForCardholderName:"\u8bf7\u586b\u5199\u6301\u5361\u4eba\u7684\u59d3\u540d\u3002",fieldTooLongForCardholderName:"\u6301\u5361\u4eba\u59d3\u540d\u5fc5\u987b\u5c11\u4e8e256\u4e2a\u5b57\u7b26\u3002",fieldEmptyForNumber:"\u8bf7\u586b\u5199\u4e00\u4e2a\u53f7\u7801\u3002",fieldEmptyForPostalCode:"\u8bf7\u586b\u5199\u90ae\u653f\u7f16\u7801\u3002",fieldInvalidForCvv:"\u6b64\u5b89\u5168\u4ee3\u7801\u65e0\u6548\u3002",fieldInvalidForExpirationDate:"\u6b64\u6709\u6548\u671f\u9650\u65e0\u6548\u3002",fieldInvalidForNumber:"\u6b64\u5361\u53f7\u65e0\u6548\u3002",fieldInvalidForPostalCode:"\u6b64\u90ae\u653f\u7f16\u7801\u65e0\u6548\u3002",genericError:"\u6211\u4eec\u9047\u5230\u4e86\u4e00\u4e9b\u95ee\u9898",hostedFieldsTokenizationFailOnDuplicateError:"\u6b64\u4fe1\u7528\u5361\u5df2\u4f5c\u4e3a\u4fdd\u5b58\u540e\u7684\u4ed8\u6b3e\u65b9\u5f0f\u5b58\u5728\u3002",hostedFieldsFailedTokenizationError:"\u8bf7\u68c0\u67e5\u60a8\u7684\u4fe1\u606f\uff0c\u7136\u540e\u91cd\u8bd5\u3002",hostedFieldsFieldsInvalidError:"\u8bf7\u68c0\u67e5\u60a8\u7684\u4fe1\u606f\uff0c\u7136\u540e\u91cd\u8bd5\u3002",hostedFieldsTokenizationNetworkErrorError:"\u7f51\u7edc\u9519\u8bef\u3002\u8bf7\u91cd\u8bd5\u3002",hostedFieldsTokenizationCvvVerificationFailedError:"\u4fe1\u7528\u5361\u9a8c\u8bc1\u5931\u8d25\u3002\u8bf7\u68c0\u67e5\u60a8\u7684\u4fe1\u606f\uff0c\u7136\u540e\u91cd\u8bd5\u3002",paypalButtonMustBeUsed:"\u4f7f\u7528PayPal\u6309\u94ae\u7ee7\u7eed\u8fdb\u884c\u4ed8\u6b3e\u3002",paypalAccountTokenizationFailedError:"\u6dfb\u52a0PayPal\u8d26\u6237\u65f6\u51fa\u9519\u3002\u8bf7\u91cd\u8bd5\u3002",paypalFlowFailedError:"\u8fde\u63a5\u5230PayPal\u65f6\u51fa\u9519\u3002\u8bf7\u91cd\u8bd5\u3002",paypalTokenizationRequestActiveError:"PayPal\u4ed8\u6b3e\u6388\u6743\u5df2\u5728\u8fdb\u884c\u4e2d\u3002",venmoCanceledError:"\u6211\u4eec\u9047\u5230\u4e86\u95ee\u9898\u3002\u8bf7\u786e\u4fdd\u60a8\u7684\u8bbe\u5907\u4e0a\u5df2\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684Venmo\u5e94\u7528\uff0c\u5e76\u4e14\u60a8\u7684\u6d4f\u89c8\u5668\u652f\u6301\u5207\u6362\u5230Venmo\u3002",vaultManagerPaymentMethodDeletionError:"\u65e0\u6cd5\u5220\u9664\u4ed8\u6b3e\u65b9\u5f0f\uff0c\u8bf7\u91cd\u8bd5\u3002",venmoAppFailedError:"\u5728\u60a8\u7684\u8bbe\u5907\u4e0a\u627e\u4e0d\u5230Venmo\u5e94\u7528\u3002",unsupportedCardTypeError:"\u4e0d\u652f\u6301\u8be5\u5361\u7c7b\u578b\u3002\u8bf7\u5c1d\u8bd5\u5176\u4ed6\u5361\u3002",applePayTokenizationError:"\u5904\u7406Apple Pay\u4ed8\u6b3e\u65f6\u51fa\u73b0\u7f51\u7edc\u9519\u8bef\u3002\u8bf7\u91cd\u8bd5\u3002",applePayActiveCardError:"\u8bf7\u6dfb\u52a0\u53d7\u652f\u6301\u7684\u5361\u5230\u60a8\u7684Apple Pay\u94b1\u5305\u3002",cardholderNameLabel:"\u6301\u5361\u4eba\u59d3\u540d",cardNumberLabel:"\u5361\u53f7",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"\uff083\u4f4d\u6570\uff09",cvvFourDigitLabelSubheading:"\uff084\u4f4d\u6570\uff09",cardholderNamePlaceholder:"\u6301\u5361\u4eba\u59d3\u540d",expirationDateLabel:"\u6709\u6548\u671f\u9650",expirationDateLabelSubheading:"\uff08MM/YY\uff09",expirationDatePlaceholder:"MM/YY",postalCodeLabel:"\u90ae\u653f\u7f16\u7801",saveCardLabel:"\u4fdd\u5b58\u5361",payWithCard:"\u7528\u5361\u4ed8\u6b3e",endingIn:"\u5c3e\u53f7\u4e3a{{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"\u5361",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"\u94f6\u8054"}},{}],188:[function(e,t,n){"use strict";t.exports={payingWith:"\u4ed8\u6b3e\u65b9\u5f0f\u70ba {{paymentSource}}",chooseAnotherWayToPay:"\u9078\u64c7\u5176\u4ed6\u4ed8\u6b3e\u65b9\u5f0f",chooseAWayToPay:"\u9078\u64c7\u4ed8\u6b3e\u65b9\u5f0f",otherWaysToPay:"\u5176\u4ed6\u4ed8\u6b3e\u65b9\u5f0f",edit:"\u7de8\u8f2f",doneEditing:"\u5b8c\u6210",editPaymentMethods:"\u7de8\u8f2f\u4ed8\u6b3e\u65b9\u5f0f",CreditCardDeleteConfirmationMessage:"\u8981\u522a\u9664\u672b\u78bc\u70ba {{identifier}} \u7684 {{secondaryIdentifier}} \u5361\u55ce\uff1f",PayPalAccountDeleteConfirmationMessage:"\u8981\u522a\u9664 PayPal \u5e33\u6236 {{identifier}} \u55ce\uff1f",VenmoAccountDeleteConfirmationMessage:"\u78ba\u5b9a\u8981\u522a\u9664\u4f7f\u7528\u8005\u540d\u7a31\u70ba {{identifier}} \u7684 Venmo \u5e33\u6236\u55ce\uff1f",genericDeleteConfirmationMessage:"\u78ba\u5b9a\u8981\u522a\u9664\u6b64\u4ed8\u6b3e\u65b9\u5f0f\u55ce\uff1f",deleteCancelButton:"\u53d6\u6d88",deleteConfirmationButton:"\u522a\u9664",fieldEmptyForCvv:"\u8acb\u586b\u5beb\u4fe1\u7528\u5361\u8a8d\u8b49\u78bc\u3002",fieldEmptyForExpirationDate:"\u8acb\u586b\u5beb\u5230\u671f\u65e5\u3002",fieldEmptyForCardholderName:"\u8acb\u586b\u5beb\u6301\u5361\u4eba\u7684\u540d\u5b57\u3002",fieldTooLongForCardholderName:"\u6301\u5361\u4eba\u59d3\u540d\u5fc5\u9808\u5c11\u65bc 256 \u500b\u5b57\u5143\u3002",fieldEmptyForNumber:"\u8acb\u586b\u5beb\u865f\u78bc\u3002",fieldEmptyForPostalCode:"\u8acb\u586b\u5beb\u90f5\u905e\u5340\u865f\u3002",fieldInvalidForCvv:"\u6b64\u5b89\u5168\u4ee3\u78bc\u7121\u6548\u3002",fieldInvalidForExpirationDate:"\u6b64\u5230\u671f\u65e5\u7121\u6548\u3002",fieldInvalidForNumber:"\u6b64\u5361\u865f\u7121\u6548\u3002",fieldInvalidForPostalCode:"\u6b64\u90f5\u905e\u5340\u865f\u7121\u6548\u3002",genericError:"\u7cfb\u7d71\u767c\u751f\u932f\u8aa4\u3002",hostedFieldsTokenizationFailOnDuplicateError:"\u6b64\u4fe1\u7528\u5361\u5df2\u5b58\u5728\uff0c\u70ba\u5df2\u5132\u5b58\u7684\u4ed8\u6b3e\u65b9\u5f0f\u3002",hostedFieldsFailedTokenizationError:"\u8acb\u6aa2\u67e5\u4f60\u7684\u8cc7\u6599\u4e26\u518d\u8a66\u4e00\u6b21\u3002",hostedFieldsFieldsInvalidError:"\u8acb\u6aa2\u67e5\u4f60\u7684\u8cc7\u6599\u4e26\u518d\u8a66\u4e00\u6b21\u3002",hostedFieldsTokenizationNetworkErrorError:"\u7db2\u7d61\u932f\u8aa4\u3002\u518d\u8a66\u4e00\u6b21\u3002",hostedFieldsTokenizationCvvVerificationFailedError:"\u4fe1\u7528\u5361\u8a8d\u8b49\u5931\u6557\u3002\u8acb\u6aa2\u67e5\u4f60\u7684\u8cc7\u6599\u4e26\u518d\u8a66\u4e00\u6b21\u3002",paypalButtonMustBeUsed:"\u4f7f\u7528 PayPal \u6309\u9215\u4ee5\u7e7c\u7e8c\u4ed8\u6b3e\u3002",paypalAccountTokenizationFailedError:"\u52a0\u5165 PayPal \u5e33\u6236\u6642\u767c\u751f\u932f\u8aa4\u3002\u518d\u8a66\u4e00\u6b21\u3002",paypalFlowFailedError:"\u9023\u63a5 PayPal \u6642\u767c\u751f\u932f\u8aa4\u3002\u518d\u8a66\u4e00\u6b21\u3002",paypalTokenizationRequestActiveError:"PayPal \u4ed8\u6b3e\u6388\u6b0a\u5df2\u5728\u8655\u7406\u4e2d\u3002",venmoCanceledError:"\u7cfb\u7d71\u767c\u751f\u932f\u8aa4\uff0c\u8acb\u78ba\u4fdd\u4f60\u5df2\u5728\u88dd\u7f6e\u4e0a\u5b89\u88dd\u6700\u65b0\u7248\u672c\u7684 Venmo \u61c9\u7528\u7a0b\u5f0f\uff0c\u800c\u4e14\u4f60\u7684\u700f\u89bd\u5668\u652f\u63f4\u5207\u63db\u81f3 Venmo\u3002",vaultManagerPaymentMethodDeletionError:"\u7121\u6cd5\u522a\u9664\u4ed8\u6b3e\u65b9\u5f0f\uff0c\u8acb\u518d\u8a66\u4e00\u6b21\u3002",venmoAppFailedError:"\u5728\u4f60\u7684\u88dd\u7f6e\u4e0a\u627e\u4e0d\u5230 Venmo \u61c9\u7528\u7a0b\u5f0f\u3002",unsupportedCardTypeError:"\u4e0d\u53ef\u4f7f\u7528\u6b64\u4fe1\u7528\u5361\u985e\u578b\u3002\u8acb\u6539\u7528\u5176\u4ed6\u4fe1\u7528\u5361\u3002",applePayTokenizationError:"\u8655\u7406 Apple Pay \u4ed8\u6b3e\u6642\u767c\u751f\u7db2\u7d61\u932f\u8aa4\u3002\u518d\u8a66\u4e00\u6b21\u3002",applePayActiveCardError:"\u5728 Apple Pay \u9322\u5305\u4e2d\u52a0\u5165\u652f\u63f4\u7684\u4fe1\u7528\u5361\u3002",cardholderNameLabel:"\u6301\u5361\u4eba\u540d\u5b57",cardNumberLabel:"\u5361\u865f",cvvLabel:"\u4fe1\u7528\u5361\u8a8d\u8b49\u78bc",cvvThreeDigitLabelSubheading:"\uff083 \u4f4d\u6578\uff09",cvvFourDigitLabelSubheading:"\uff084 \u4f4d\u6578\uff09",cardholderNamePlaceholder:"\u6301\u5361\u4eba\u540d\u5b57",expirationDateLabel:"\u5230\u671f\u65e5",expirationDateLabelSubheading:"(MM/YY)",expirationDatePlaceholder:"\u6708 / \u5e74",postalCodeLabel:"\u90f5\u905e\u5340\u865f",saveCardLabel:"\u5132\u5b58\u4fe1\u7528\u5361",payWithCard:"\u4f7f\u7528\u4fe1\u7528\u5361\u4ed8\u6b3e",endingIn:"\u672b\u78bc\u70ba {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"\u4fe1\u7528\u5361",PayPal:"PayPal","PayPal Credit":"PayPal Credit","Google Pay":"Google Pay","American Express":"American Express",Discover:"Discover","Diners Club":"Diners Club",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],189:[function(e,t,n){"use strict";t.exports={payingWith:"\u4ee5 {{paymentSource}} \u4ed8\u6b3e",chooseAnotherWayToPay:"\u9078\u64c7\u4ed8\u6b3e\u7684\u4ee5\u5176\u4ed6\u65b9\u5f0f\u4ed8\u6b3e",chooseAWayToPay:"\u9078\u64c7\u4ed8\u6b3e\u65b9\u5f0f",otherWaysToPay:"\u5176\u4ed6\u4ed8\u6b3e\u65b9\u5f0f",edit:"\u7de8\u8f2f",doneEditing:"\u5b8c\u6210",editPaymentMethods:"\u7de8\u8f2f\u4ed8\u6b3e\u65b9\u5f0f",CreditCardDeleteConfirmationMessage:"\u78ba\u5b9a\u8981\u522a\u9664\u672b\u78bc\u70ba {{identifier}} \u7684 {{secondaryIdentifier}} \u5361\u7247\u55ce\uff1f",PayPalAccountDeleteConfirmationMessage:"\u78ba\u5b9a\u8981\u522a\u9664 {{identifier}} PayPal \u5e33\u6236\u55ce\uff1f",VenmoAccountDeleteConfirmationMessage:"\u78ba\u5b9a\u8981\u522a\u9664\u7528\u6236\u540d\u7a31\u70ba {{identifier}} \u7684 Venmo \u5e33\u6236\u55ce\uff1f",genericDeleteConfirmationMessage:"\u78ba\u5b9a\u8981\u522a\u9664\u6b64\u4ed8\u6b3e\u65b9\u5f0f\uff1f",deleteCancelButton:"\u53d6\u6d88",deleteConfirmationButton:"\u522a\u9664",fieldEmptyForCvv:"\u8acb\u586b\u59a5\u4fe1\u7528\u5361\u9a57\u8b49\u78bc\u3002",fieldEmptyForExpirationDate:"\u8acb\u586b\u59a5\u5230\u671f\u65e5\u3002",fieldEmptyForCardholderName:"\u8acb\u586b\u59a5\u6301\u5361\u4eba\u59d3\u540d\u3002",fieldTooLongForCardholderName:"\u6301\u5361\u4eba\u59d3\u540d\u4e0d\u80fd\u8d85\u904e 256 \u500b\u5b57\u5143\u3002",fieldEmptyForNumber:"\u8acb\u586b\u59a5\u865f\u78bc\u3002",fieldEmptyForPostalCode:"\u8acb\u586b\u5beb\u90f5\u905e\u5340\u865f\u3002",fieldInvalidForCvv:"\u9019\u7d44\u5b89\u5168\u4ee3\u78bc\u7121\u6548\u3002",fieldInvalidForExpirationDate:"\u6b64\u5230\u671f\u65e5\u7121\u6548\u3002",fieldInvalidForNumber:"\u6b64\u5361\u865f\u7121\u6548\u3002",fieldInvalidForPostalCode:"\u6b64\u90f5\u905e\u5340\u865f\u7121\u6548\u3002",genericError:"\u6211\u5011\u7684\u7cfb\u7d71\u767c\u751f\u554f\u984c\u3002",hostedFieldsTokenizationFailOnDuplicateError:"\u6b64\u4fe1\u7528\u5361\u5df2\u5b58\u5728\uff0c\u70ba\u5df2\u5132\u5b58\u7684\u4ed8\u6b3e\u65b9\u5f0f\u3002",hostedFieldsFailedTokenizationError:"\u8acb\u6aa2\u67e5\u4f60\u7684\u8cc7\u6599\u4e26\u91cd\u8a66\u3002",hostedFieldsFieldsInvalidError:"\u8acb\u6aa2\u67e5\u4f60\u7684\u8cc7\u6599\u4e26\u91cd\u8a66\u3002",hostedFieldsTokenizationNetworkErrorError:"\u7db2\u8def\u932f\u8aa4\u3002\u8acb\u91cd\u8a66\u3002",hostedFieldsTokenizationCvvVerificationFailedError:"\u4fe1\u7528\u5361\u8a8d\u8b49\u5931\u6557\u3002\u8acb\u6aa2\u67e5\u4f60\u7684\u8cc7\u6599\u4e26\u91cd\u8a66\u3002",paypalButtonMustBeUsed:"\u4f7f\u7528 PayPal \u6309\u9215\u4ee5\u7e7c\u7e8c\u4ed8\u6b3e\u3002",paypalAccountTokenizationFailedError:"\u65b0\u589e PayPal \u5e33\u6236\u6642\uff0c\u7cfb\u7d71\u767c\u751f\u932f\u8aa4\u3002\u8acb\u91cd\u8a66\u3002",paypalFlowFailedError:"\u9023\u7d50\u81f3 PayPal \u6642\uff0c\u7cfb\u7d71\u767c\u751f\u932f\u8aa4\u3002\u8acb\u91cd\u8a66\u3002",paypalTokenizationRequestActiveError:"PayPal \u652f\u4ed8\u6b3e\u9805\u7684\u6388\u6b0a\u5df2\u5728\u8655\u7406\u4e2d\u3002",venmoCanceledError:"\u7cfb\u7d71\u767c\u751f\u932f\u8aa4\u3002\u78ba\u8a8d\u4f60\u7684\u88dd\u7f6e\u4e0a\u88dd\u6709\u6700\u65b0\u7248\u672c\u7684 Venmo \u61c9\u7528\u7a0b\u5f0f\uff0c\u800c\u4e14\u700f\u89bd\u5668\u652f\u63f4\u5207\u63db\u81f3 Venmo\u3002",vaultManagerPaymentMethodDeletionError:"\u7121\u6cd5\u522a\u9664\u4ed8\u6b3e\u65b9\u5f0f\uff0c\u8acb\u518d\u8a66\u4e00\u6b21\u3002",venmoAppFailedError:"\u4f60\u7684\u88dd\u7f6e\u4e0a\u627e\u4e0d\u5230 Venmo \u61c9\u7528\u7a0b\u5f0f\u3002",unsupportedCardTypeError:"\u4e0d\u652f\u63f4\u6b64\u5361\u7247\u985e\u578b\u3002\u8acb\u6539\u7528\u5176\u4ed6\u5361\u7247\u3002",applePayTokenizationError:"\u5728\u8655\u7406 Apple Pay \u4ed8\u6b3e\u6642\u767c\u751f\u7db2\u8def\u932f\u8aa4\u3002\u8acb\u91cd\u8a66\u3002",applePayActiveCardError:"\u65b0\u589e\u652f\u63f4\u7684\u5361\u7247\u81f3\u4f60\u7684 Apple Pay \u9322\u5305\u3002",cardholderNameLabel:"\u6301\u5361\u4eba\u59d3\u540d",cardNumberLabel:"\u5361\u865f",cvvLabel:"CVV",cvvThreeDigitLabelSubheading:"\uff083 \u4f4d\u6578\uff09",cvvFourDigitLabelSubheading:"\uff084 \u4f4d\u6578\uff09",cardholderNamePlaceholder:"\u6301\u5361\u4eba\u59d3\u540d",expirationDateLabel:"\u5230\u671f\u65e5",expirationDateLabelSubheading:"\uff08\u6708 / \u5e74\uff09",expirationDatePlaceholder:"\u6708 / \u5e74",postalCodeLabel:"\u90f5\u905e\u5340\u865f",saveCardLabel:"\u5132\u5b58\u5361\u7247",payWithCard:"\u4f7f\u7528\u4fe1\u7528\u5361 / \u6263\u5e33\u5361\u4ed8\u6b3e",endingIn:"\u672b\u78bc\u70ba {{lastFourCardDigits}}","Apple Pay":"Apple Pay",Venmo:"Venmo",Card:"\u4fe1\u7528\u5361\u6216\u6263\u5e33\u5361",PayPal:"PayPal","PayPal Credit":"PayPal \u4fe1\u8cb8","Google Pay":"Google Pay","American Express":"\u7f8e\u570b\u904b\u901a (American Express)",Discover:"Discover","Diners Club":"\u5927\u4f86\u570b\u969b (Diners Club)",MasterCard:"Mastercard",Visa:"Visa",JCB:"JCB",Maestro:"Maestro",UnionPay:"UnionPay"}},{}],190:[function(e,t,n){"use strict";var i=e("../lib/assign").assign,r=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&&r.add(this.element,"braintree-sheet--loading"),this.model.preventUserAction()},l.prototype.allowUserAction=function(){this.element&&r.remove(this.element,"braintree-sheet--loading"),this.model.allowUserAction()},t.exports=l},{"../constants":143,"../lib/assign":149,"../lib/dropin-error":153,"../lib/promise":160,"@braintree/class-list":20}],191:[function(e,t,n){"use strict";var i=e("./base-view"),r=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"),r(this._yesButton,function(){this.model.deleteVaultedPaymentMethod()}.bind(this)),r(this._noButton,function(){this.model.cancelDeleteVaultedPaymentMethod()}.bind(this))},a.prototype.applyPaymentMethod=function(e){var t,n,i=this.strings[e.type+"DeleteConfirmationMessage"];if(i){switch(e.type){case o.card:t=e.details.lastFour,n=e.details.cardType,n=this.strings[n]||n;break;case o.paypal:t=e.details.email;break;case o.venmo:t=e.details.username}i=i.replace("{{identifier}}",t),n&&(i=i.replace("{{secondaryIdentifier}}",n))}else i=this.strings.genericDeleteConfirmationMessage;this._messageBox.innerText=i},t.exports=a},{"../constants":143,"../lib/add-selection-event-handler":147,"./base-view":190}],192:[function(e,t,n){"use strict";var i=e("../lib/analytics"),r=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/supports-flexbox"),m=e("../constants").CHANGE_ACTIVE_PAYMENT_METHOD_TIMEOUT,y=e("../constants").errors.DEVELOPER_MISCONFIGURATION_MESSAGE;function f(){o.apply(this,arguments),this.dependenciesInitializing=0,this._initialize()}function g(e){return"braintree-show-"+e}f.prototype=Object.create(o.prototype),f.prototype.constructor=f,f.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=h(),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 n,i;return-1!==this.model.supportedPaymentOptions.indexOf(t)&&((i=new(n=s[t])({element:this.getElementById(n.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(){setTimeout(function(){this.setPrimaryView(l.ID)}.bind(this),m)}.bind(this)),this.model.on("changeActivePaymentView",this._onChangeActivePaymentMethodView.bind(this)),this.model.on("removeActivePaymentMethod",function(){var e=this.getView(this.model.getActivePaymentView());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()},f.prototype._onChangeActivePaymentMethodView=function(e){var t=this.getView(e);e===l.ID?(a.add(this.paymentMethodsViews.container,"braintree-methods--active"),a.remove(this.sheetContainer,"braintree-sheet--active")):(setTimeout(function(){a.add(this.sheetContainer,"braintree-sheet--active")}.bind(this),0),a.remove(this.paymentMethodsViews.container,"braintree-methods--active"),this.getView(e).getPaymentMethod()||this.model.setPaymentMethodRequestable({isRequestable:!1})),t.onSelection()},f.prototype.addView=function(e){this._views[e.ID]=e},f.prototype.getView=function(e){return this._views[e]},f.prototype.setPrimaryView=function(e,t){var n;setTimeout(function(){this.element.className=g(e),t&&a.add(this.element,g(t))}.bind(this),0),this.primaryView=this.getView(e),this.model.changeActivePaymentView(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),n=this.primaryView.getPaymentMethod(),this.model.setPaymentMethodRequestable({isRequestable:Boolean(n&&!this.model.isInEditMode()),type:n&&n.type,selectedPaymentMethod:n}),this.model.clearError()},f.prototype.requestPaymentMethod=function(){return this.getView(this.model.getActivePaymentView()).requestPaymentMethod().then(function(e){return i.sendEvent(this.client,"request-payment-method."+r[e.type]),e}.bind(this)).catch(function(e){return i.sendEvent(this.client,"request-payment-method.error"),u.reject(e)}.bind(this))},f.prototype.hideLoadingIndicator=function(){a.remove(this.dropinContainer,"braintree-loading"),a.add(this.dropinContainer,"braintree-loaded"),a.add(this.loadingContainer,"braintree-hidden")},f.prototype.showLoadingIndicator=function(){a.add(this.dropinContainer,"braintree-loading"),a.remove(this.dropinContainer,"braintree-loaded"),a.remove(this.loadingContainer,"braintree-hidden")},f.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,g(d.ID)):(e=this.paymentSheetViewIDs[0],a.add(this.element,g(e)),this.model.changeActivePaymentView(e))},f.prototype.showToggle=function(){this.model.isInEditMode()||(a.remove(this.toggle,"braintree-hidden"),a.add(this.lowerContainer,"braintree-hidden"))},f.prototype.hideToggle=function(){a.add(this.toggle,"braintree-hidden"),a.remove(this.lowerContainer,"braintree-hidden")},f.prototype.showSheetError=function(e){var t,n,i=this.strings.genericError;t=this.strings.hasOwnProperty(e)?this.strings[e]:e&&"string"===typeof e.code?this.strings[(n=e.code,n.toLowerCase().replace(/(\_\w)/g,(function(e){return e[1].toUpperCase()}))+"Error")]||i:"developerError"===e?y:i,a.add(this.dropinContainer,"braintree-sheet--has-error"),this.sheetErrorText.innerHTML=t},f.prototype.hideSheetError=function(){a.remove(this.dropinContainer,"braintree-sheet--has-error")},f.prototype.getOptionsElements=function(){return this._views.options.elements},f.prototype.preventUserAction=function(){a.remove(this.disableWrapper,"braintree-hidden")},f.prototype.allowUserAction=function(){a.add(this.disableWrapper,"braintree-hidden")},f.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()}))},f.prototype.enableEditMode=function(){this.setPrimaryView(this.paymentMethodsViews.ID),this.paymentMethodsViews.enableEditMode(),this.hideToggle(),this.model.setPaymentMethodRequestable({isRequestable:!1})},f.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})},f.prototype.openConfirmPaymentMethodDeletionDialog=function(e){this.deleteConfirmationView.applyPaymentMethod(e),this.setPrimaryView(this.deleteConfirmationView.ID)},f.prototype.cancelVaultedPaymentMethodDeletion=function(){this.setPrimaryView(this.paymentMethodsViews.ID)},f.prototype.startVaultedPaymentMethodDeletion=function(){this.element.className="",this.showLoadingIndicator()},f.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){setTimeout((function(){t.hideLoadingIndicator(),e()}),500)}))},f.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=f},{"../constants":143,"../lib/add-selection-event-handler":147,"../lib/analytics":148,"../lib/promise":160,"../lib/supports-flexbox":162,"./base-view":190,"./delete-confirmation-view":191,"./payment-methods-view":194,"./payment-options-view":195,"./payment-sheet-views":200,"@braintree/class-list":20}],193:[function(e,t,n){"use strict";var i=e("../lib/analytics"),r=e("./base-view"),o=e("@braintree/class-list"),a=e("../constants"),s=e("../lib/add-selection-event-handler");function l(){r.apply(this,arguments),this._initialize()}l.prototype=Object.create(r.prototype),l.prototype.constructor=l,l.prototype._initialize=function(){var e,t='
\n
\n \n \n \n
\n
\n\n\n\n
@TITLE
@SUBTITLE
\n\n
\n
\n \n \n \n
\n
\n',n=a.paymentMethodCardTypes,i=a.paymentMethodTypes;switch(this.element=document.createElement("div"),this.element.className="braintree-method",this.element.setAttribute("tabindex","0"),s(this.element,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-"+n[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"),s(this.element.querySelector(".braintree-method__delete-container"),this._selectDelete.bind(this))},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._choosePaymentMethod=function(){this.model.isInEditMode()||(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":143,"../lib/add-selection-event-handler":147,"../lib/analytics":148,"./base-view":190,"@braintree/class-list":20}],194:[function(e,t,n){"use strict";var i=e("./base-view"),r=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 r({model:this.model,paymentMethod:e,client:this.client,strings:this.strings});this.model.isGuestCheckout&&this.container.firstChild&&(this.container.removeChild(this.container.firstChild),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=0;e--)this._addPaymentMethod(t[e])},t.exports=p},{"../constants":143,"../lib/add-selection-event-handler":147,"../lib/dropin-error":153,"../lib/promise":160,"./base-view":190,"./payment-method-view":193,"@braintree/class-list":20}],195:[function(e,t,n){"use strict";var i=e("../lib/analytics"),r=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,n=document.createElement("div"),o='\n\n
\n @OPTION_TITLE\n
\n
\n',s=function(){this.mainView.setPrimaryView(e),this.model.selectPaymentOption(e),i.sendEvent(this.client,"selected."+a[e])}.bind(this);switch(n.className="braintree-option braintree-option__"+e,n.setAttribute("tabindex","0"),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,""),n.innerHTML=o,r(n,s),this.container.appendChild(n),this.elements[e]={div:n,clickHandler:s}},s.prototype._generateOptionLabel=function(e){return this.strings.payingWith.replace("{{paymentSource}}",e)},t.exports=s},{"../constants":143,"../lib/add-selection-event-handler":147,"../lib/analytics":148,"./base-view":190}],196:[function(e,n,i){(function(t){"use strict";var i=e("../../lib/assign").assign,r=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(){r.apply(this,arguments)}c.prototype=Object.create(r.prototype),c.prototype.constructor=c,c.ID=c.prototype.ID=d.applePay,c.prototype.initialize=function(){var e=this,n="production"===e.client.getConfiguration().gatewayConfiguration.environment;return e.applePayConfiguration=i({},e.model.merchantConfiguration.applePay),e.applePaySessionVersion=e.applePayConfiguration.applePaySessionVersion||2,delete e.applePayConfiguration.applePaySessionVersion,e.model.asyncDependencyStarting(),o.create({client:this.client}).then((function(i){var r=e.getElementById("apple-pay-button");e.applePayInstance=i,e.model.on("changeActivePaymentView",(function(i){i===e.ID&&t.ApplePaySession.canMakePaymentsWithActiveCard(e.applePayInstance.merchantIdentifier).then((function(t){t||(n?e.model.reportError("applePayActiveCardError"):(console.error("Could not find an active card. This may be because you're using a production iCloud account in a sandbox Apple Pay Session. Log in to a Sandbox iCloud account to test this flow, and add a card to your wallet. For additional assistance, visit https://help.braintreepayments.com"),e.model.reportError("developerError")))}))})),r.onclick=e._showPaymentSheet.bind(e),r.style["-apple-pay-button-style"]=e.model.merchantConfiguration.applePay.buttonStyle||"black",e.model.asyncDependencyReady()})).catch((function(t){e.model.asyncDependencyFailed({view:e.ID,error:new a(t)})}))},c.prototype._showPaymentSheet=function(){var e=this,n=e.applePayInstance.createPaymentRequest(this.applePayConfiguration.paymentRequest),i=new t.ApplePaySession(e.applePaySessionVersion,n);return i.onvalidatemerchant=function(t){e.applePayInstance.performValidation({validationURL:t.validationURL,displayName:e.applePayConfiguration.displayName}).then((function(e){i.completeMerchantValidation(e)})).catch((function(t){e.model.reportError(t),i.abort()}))},i.onpaymentauthorized=function(n){e.applePayInstance.tokenize({token:n.payment.token}).then((function(r){i.completePayment(t.ApplePaySession.STATUS_SUCCESS),r.rawPaymentData=n.payment,e.model.addPaymentMethod(r)})).catch((function(n){e.model.reportError(n),i.completePayment(t.ApplePaySession.STATUS_FAILURE)}))},i.begin(),!1},c.prototype.updateConfiguration=function(e,t){this.applePayConfiguration[e]=t},c.isEnabled=function(e){var n=e.client.getConfiguration().gatewayConfiguration.applePayWeb&&Boolean(e.merchantConfiguration.applePay),i=e.merchantConfiguration.applePay&&e.merchantConfiguration.applePay.applePaySessionVersion;return i=i||2,n&&t.ApplePaySession&&s.isHTTPS()&&t.ApplePaySession.supportsVersion(i)?l.resolve(Boolean(t.ApplePaySession.canMakePayments())):l.resolve(!1)},n.exports=c}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"../../constants":143,"../../lib/assign":149,"../../lib/dropin-error":153,"../../lib/is-https":156,"../../lib/promise":160,"../base-view":190,"braintree-web/apple-pay":33}],197:[function(e,n,i){(function(t){"use strict";var i,r=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,n=Boolean(this._isPayPalCredit),i=!1,r=this,a=n?"paypalCredit":"paypal",s=this.model.merchantConfiguration[a];return this.paypalConfiguration=o({},s),this.model.asyncDependencyStarting(),e=setTimeout((function(){r.model.asyncDependencyFailed({view:r.ID,error:new d("There was an error connecting to PayPal.")})}),3e4),l.create({client:this.client}).then((function(o){var a,s='[data-braintree-id="paypal-button"]',l="production"===r.client.getConfiguration().gatewayConfiguration.environment?"production":"sandbox",d=r.model.merchantConfiguration.locale;return r.paypalInstance=o,r.paypalConfiguration.offerCredit=Boolean(n),a={env:l,style:r.paypalConfiguration.buttonStyle||{},commit:r.paypalConfiguration.commit,payment:function(){return o.createPayment(r.paypalConfiguration).catch(c)},onAuthorize:function(e){return o.tokenizePayment(e).then((function(e){"vault"!==r.paypalConfiguration.flow||r.model.isGuestCheckout||(e.vaulted=!0),r.model.addPaymentMethod(e)})).catch(c)},onError:c},d&&d in u&&(r.paypalConfiguration.locale=d,a.locale=d),a.funding={disallowed:[]},Object.keys(t.paypal.FUNDING).forEach((function(e){"PAYPAL"!==e&&"CREDIT"!==e&&a.funding.disallowed.push(t.paypal.FUNDING[e])})),n?(s='[data-braintree-id="paypal-credit-button"]',a.style.label="credit"):a.funding.disallowed.push(t.paypal.FUNDING.CREDIT),t.paypal.Button.render(a,s).then((function(){r.model.asyncDependencyReady(),i=!0,clearTimeout(e)}))})).catch(c);function c(t){i?r.model.reportError(t):(r.model.asyncDependencyFailed({view:r.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 n=e.client.getConfiguration().gatewayConfiguration,o=e.merchantConfiguration.paypal||e.merchantConfiguration.paypalCredit;return n.paypalEnabled?a.isIe9()||a.isIe10()?(r.sendEvent(e.client,e.viewID+".checkout.js-browser-not-supported"),h.resolve(!1)):t.paypal&&t.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)},n.exports=y}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"../../constants":143,"../../lib/analytics":148,"../../lib/assign":149,"../../lib/browser-detection":150,"../../lib/dropin-error":153,"../../lib/promise":160,"../../translations":175,"../base-view":190,"@braintree/asset-loader":1,"braintree-web/paypal-checkout":106}],198:[function(e,t,n){"use strict";var i=e("../../lib/assign").assign,r=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");function u(){r.apply(this,arguments)}function h(e){return-1!==e.id.indexOf("braintree__card-view-input")}function m(e){return e.isEmpty&&y()}function y(){var e=document.activeElement&&document.activeElement.id;return document.activeElement instanceof HTMLIFrameElement&&-1!==e.indexOf("braintree-hosted-field")||h(document.activeElement)}function f(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function g(e){return e[0].toUpperCase()+e.substr(1)}function v(e){var t=d()?"\u2022":"*";return Array(e+1).join(t)}function E(){var e=v(4);return[e,e,e,e].join(" ")}u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.ID=u.prototype.ID=a.paymentOptionIDs.card,u.prototype.initialize=function(){var e,t,n,i=this.getElementById("cardholder-name-field-group"),r=this.getElementById("card-view-icons");return this.merchantConfiguration=this.model.merchantConfiguration.card||{},this.merchantConfiguration.vault=this.merchantConfiguration.vault||{},n=this._generateHostedFieldsOptions(),r.innerHTML='
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n\x3c!-- Remove braintree-hidden class when supportedCardType accurately indicates Diners Club support --\x3e\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n',this._hideUnsupportedCardIcons(),this.hasCVV=n.fields.cvv,this.hasCardholderName=Boolean(this.merchantConfiguration.cardholderName),this.cardholderNameInput=i.querySelector("input"),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.extraInputs=[{fieldName:"cardholderName",enabled:this.hasCardholderName,required:this.hasCardholderName&&this.merchantConfiguration.cardholderName.required,requiredError:this.strings.fieldEmptyForCardholderName,validations:[{isValid:function(e){return e.length<256},error:this.strings.fieldTooLongForCardholderName}]}],this.hasCVV||(e=this.getElementById("cvv-field-group")).parentNode.removeChild(e),n.fields.postalCode||(t=this.getElementById("postal-code-field-group")).parentNode.removeChild(t),this.extraInputs.forEach(function(e){e.enabled?this._setupExtraInput(e):this._removeExtraInput(e)}.bind(this)),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),this.model.asyncDependencyStarting(),l.create(n).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)),this.model.asyncDependencyReady()}.bind(this)).catch(function(e){this.model.asyncDependencyFailed({view:this.ID,error:e})}.bind(this))},u.prototype._setupExtraInput=function(e){var t=this,n=f(e.fieldName),i=this.getElementById(n+"-field-group"),r=i.querySelector("input"),a=i.querySelector(".braintree-form__hosted-field");r.addEventListener("keyup",(function(){var n=t._validateExtraInput(e,!0);o.toggle(a,"braintree-form__field--valid",n),n&&t.hideFieldError(e.fieldName),t._sendRequestableEvent()}),!1),e.required&&r.addEventListener("blur",(function(){setTimeout((function(){y()&&t._validateExtraInput(e,!0)}),0)}),!1)},u.prototype._removeExtraInput=function(e){var t=this.getElementById(f(e.fieldName)+"-field-group");t.parentNode.removeChild(t)},u.prototype._sendRequestableEvent=function(){this._isTokenizing||this.model.setPaymentMethodRequestable({isRequestable:this._validateForm(),type:a.paymentMethodTypes.card})},u.prototype._generateHostedFieldsOptions=function(){var e=this.client.getConfiguration().gatewayConfiguration.challenges,t=-1!==e.indexOf("cvv"),n=-1!==e.indexOf("postal_code"),r=this.merchantConfiguration.overrides,o={client:this.client,fields:{number:{selector:this._generateFieldSelector("number"),placeholder:E()},expirationDate:{selector:this._generateFieldSelector("expiration"),placeholder:this.strings.expirationDatePlaceholder},cvv:{selector:this._generateFieldSelector("cvv"),placeholder:v(3)},postalCode:{selector:this._generateFieldSelector("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 t||delete o.fields.cvv,n||delete o.fields.postalCode,r?(r.fields&&(r.fields.cvv&&"undefined"!==typeof r.fields.cvv.placeholder&&(this._hasCustomCVVPlaceholder=!0),Object.keys(r.fields).forEach((function(e){"cvv"!==e&&"postalCode"!==e||null!==r.fields[e]?o.fields[e]&&i(o.fields[e],r.fields[e],{selector:o.fields[e].selector}):delete o.fields[e]}))),r.styles&&Object.keys(r.styles).forEach((function(e){var t;null!==r.styles[e]?"string"!==typeof r.styles[e]?(t=r.styles[e],Object.keys(t).forEach((function(e){var n=f(e);t[n]=t[e]})),o.styles[e]=o.styles[e]||{},i(o.styles[e],r.styles[e])):o.styles[e]=r.styles[e]:delete o.styles[e]})),o):o},u.prototype._validateForm=function(e){var t,n,i,r=!0,o=this.client.getConfiguration().gatewayConfiguration.creditCards.supportedCardTypes;return!!this.hostedFieldsInstance&&(i=this.hostedFieldsInstance.getState(),Object.keys(i.fields).forEach(function(t){var n=i.fields[t];(e||r)&&(n.isEmpty?(r=!1,e&&this.showFieldError(t,this.strings["fieldEmptyFor"+g(t)])):n.isValid||(r=!1,e&&this.showFieldError(t,this.strings["fieldInvalidFor"+g(t)])))}.bind(this)),i.fields.number.isValid&&((n=(t=i.cards[0])&&a.configurationCardTypes[t.type])&&-1!==o.indexOf(n)||(r=!1,e&&this.showFieldError("number",this.strings.unsupportedCardTypeError))),this.extraInputs&&this.extraInputs.forEach(function(t){var n;t.enabled&&(n=this._validateExtraInput(t,e),r=r&&n)}.bind(this)),r)},u.prototype._validateExtraInput=function(e,t){var n=f(e.fieldName),i=this.getElementById(n+"-field-group").querySelector("input"),r=!0;return e.required&&!(r=i.value.length>0)&&t&&this.showFieldError(e.fieldName,e.requiredError),e.validations.forEach(function(n){var o=n.isValid(i.value);!o&&t&&this.showFieldError(e.fieldName,n.error),r=r&&o}.bind(this)),r},u.prototype.getPaymentMethod=function(){if(this._validateForm())return{type:a.paymentMethodTypes.card}},u.prototype.tokenize=function(){var e,t=this,n=t.hostedFieldsInstance.getState(),i={vault:this._shouldVault()};return this.model.clearError(),this._validateForm(!0)?(this.hasCardholderName&&(i.cardholderName=this.cardholderNameInput.value),t._isTokenizing=!0,t.hostedFieldsInstance.tokenize(i).then((function(i){return!1===t.merchantConfiguration.clearFieldsAfterTokenization||(Object.keys(n.fields).forEach((function(e){t.hostedFieldsInstance.clear(e)})),t.hasCardholderName&&(t.cardholderNameInput.value="")),t._shouldVault()&&(i.vaulted=!0),new p((function(n){e=function(){setTimeout((function(){t.model.addPaymentMethod(i),n(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)))},u.prototype.showFieldError=function(e,t){var n=this.getElementById(f(e)+"-field-group"),i=n.querySelector("input");this.fieldErrors.hasOwnProperty(e)||(this.fieldErrors[e]=this.getElementById(f(e)+"-field-error")),o.add(n,"braintree-form__field-group--has-error"),this.fieldErrors[e].innerHTML=t,i&&h(i)?i.setAttribute("aria-invalid",!0):(this.hostedFieldsInstance.setAttribute({field:e,attribute:"aria-invalid",value:!0}),this.hostedFieldsInstance.setMessage({field:e,message:t}))},u.prototype.hideFieldError=function(e){var t=this.getElementById(f(e)+"-field-group"),n=t.querySelector("input");this.fieldErrors.hasOwnProperty(e)||(this.fieldErrors[e]=this.getElementById(f(e)+"-field-error")),o.remove(t,"braintree-form__field-group--has-error"),n&&h(n)?n.removeAttribute("aria-invalid"):(this.hostedFieldsInstance.removeAttribute({field:e,attribute:"aria-invalid"}),this.hostedFieldsInstance.setMessage({field:e,message:""}))},u.prototype.teardown=function(){return this.hostedFieldsInstance.teardown()},u.prototype._shouldVault=function(){return!this.model.isGuestCheckout&&this.saveCardInput.checked},u.prototype._generateFieldSelector=function(e){return"#braintree--dropin__"+this.model.componentID+" .braintree-form-"+e},u.prototype._onBlurEvent=function(e){var t=e.fields[e.emittedBy],n=this.getElementById(f(e.emittedBy)+"-field-group");o.remove(n,"braintree-form__field-group--is-focused"),m(t)?this.showFieldError(e.emittedBy,this.strings["fieldEmptyFor"+g(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"+g(e.emittedBy)]),setTimeout(function(){m(t)&&this.showFieldError(e.emittedBy,this.strings["fieldEmptyFor"+g(e.emittedBy)])}.bind(this),150)},u.prototype._onCardTypeChangeEvent=function(e){var t,n="#iconCardFront",i="#iconCVVBack",r=this.strings.cvvThreeDigitLabelSubheading,a=v(3),s=this.getElementById("number-field-group");1===e.cards.length?(n="#icon-"+(t=e.cards[0].type),"american-express"===t&&(i="#iconCVVFront",r=this.strings.cvvFourDigitLabelSubheading,a=v(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",n),this.hasCVV&&(this.cvvIconSvg.setAttribute("xlink:href",i),this.cvvLabelDescriptor.innerHTML=r,this._hasCustomCVVPlaceholder||this.hostedFieldsInstance.setAttribute({field:"cvv",attribute:"placeholder",value:a}))},u.prototype._onFocusEvent=function(e){var t=this.getElementById(f(e.emittedBy)+"-field-group");o.add(t,"braintree-form__field-group--is-focused")},u.prototype._onNotEmptyEvent=function(e){this.hideFieldError(e.emittedBy)},u.prototype._onValidityChangeEvent=function(e){var t,n=e.fields[e.emittedBy];t="number"===e.emittedBy&&e.cards[0]?n.isValid&&this._isCardTypeSupported(e.cards[0].type):n.isValid,o.toggle(n.container,"braintree-form__field--valid",t),n.isPotentiallyValid&&this.hideFieldError(e.emittedBy),this._sendRequestableEvent()},u.prototype.requestPaymentMethod=function(){return this.preventUserAction(),this.tokenize()},u.prototype.onSelection=function(){this.hostedFieldsInstance&&(this.hasCardholderName?setTimeout(function(){this.cardholderNameInput.focus()}.bind(this),1):this.hostedFieldsInstance.focus("number"))},u.prototype._hideUnsupportedCardIcons=function(){var e=this.client.getConfiguration().gatewayConfiguration.creditCards.supportedCardTypes;Object.keys(a.configurationCardTypes).forEach(function(t){var n,i=a.configurationCardTypes[t];-1===e.indexOf(i)&&(n=this.getElementById(t+"-card-icon"),o.add(n,"braintree-hidden"))}.bind(this))},u.prototype._isCardTypeSupported=function(e){var t=a.configurationCardTypes[e];return-1!==this.client.getConfiguration().gatewayConfiguration.creditCards.supportedCardTypes.indexOf(t)},u.isEnabled=function(e){var t=e.client.getConfiguration().gatewayConfiguration,n=!1===e.merchantConfiguration.card;return p.resolve(!n&&t.creditCards.supportedCardTypes.length>0)},t.exports=u},{"../../constants":143,"../../lib/assign":149,"../../lib/dropin-error":153,"../../lib/is-utf-8":157,"../../lib/promise":160,"../../lib/transition-helper":164,"../base-view":190,"@braintree/class-list":20,"braintree-web/hosted-fields":65}],199:[function(e,n,i){(function(t){"use strict";var i=e("../../lib/assign").assign,r=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(){r.apply(this,arguments)}function u(e){return new t.google.payments.api.PaymentsClient({environment:"production"===e.getConfiguration().gatewayConfiguration.environment?"PRODUCTION":"TEST"})}p.prototype=Object.create(r.prototype),p.prototype.constructor=p,p.ID=p.prototype.ID=s.paymentOptionIDs.googlePay,p.prototype.initialize=function(){var e,t,n,r=this;return r.googlePayConfiguration=i({},r.model.merchantConfiguration.googlePay),t=r.googlePayConfiguration.googlePayVersion,n=r.googlePayConfiguration.merchantId,delete r.googlePayConfiguration.googlePayVersion,delete r.googlePayConfiguration.merchantId,e=i({buttonType:"short"},r.googlePayConfiguration.button,{onClick:function(e){e.preventDefault(),r.preventUserAction(),r.tokenize().then((function(){r.allowUserAction()}))}}),r.model.asyncDependencyStarting(),o.create({client:r.client,googlePayVersion:t,googleMerchantId:n}).then((function(e){r.googlePayInstance=e,r.paymentsClient=u(r.client)})).then((function(){r.getElementById("google-pay-button").appendChild(r.paymentsClient.createButton(e)),r.model.asyncDependencyReady()})).catch((function(e){r.model.asyncDependencyFailed({view:r.ID,error:new a(e)})}))},p.prototype.tokenize=function(){var e,t=this,n=t.googlePayInstance.createPaymentDataRequest(t.googlePayConfiguration);return t.paymentsClient.loadPaymentData(n).then((function(n){return e=n,t.googlePayInstance.parseResponse(n)})).then((function(n){n.rawPaymentData=e,t.model.addPaymentMethod(n)})).catch((function(e){var n=e;if("DEVELOPER_ERROR"===e.statusCode)console.error(e),n="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(n)}))},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 t.google&&t.google.payments&&t.google.payments.api&&t.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)},n.exports=p}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"../../constants":143,"../../lib/analytics":148,"../../lib/assign":149,"../../lib/dropin-error":153,"../../lib/promise":160,"../base-view":190,"@braintree/asset-loader":1,"braintree-web/google-payment":58}],200:[function(e,t,n){"use strict";var i=e("../../constants").paymentOptionIDs,r={};r[i.applePay]=e("./apple-pay-view"),r[i.card]=e("./card-view"),r[i.googlePay]=e("./google-pay-view"),r[i.paypal]=e("./paypal-view"),r[i.paypalCredit]=e("./paypal-credit-view"),r[i.venmo]=e("./venmo-view"),t.exports=r},{"../../constants":143,"./apple-pay-view":196,"./card-view":198,"./google-pay-view":199,"./paypal-credit-view":201,"./paypal-view":202,"./venmo-view":203}],201:[function(e,t,n){"use strict";var i=e("../../lib/assign").assign,r=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)):r.resolve(!1)},t.exports=s},{"../../constants":143,"../../lib/assign":149,"../../lib/promise":160,"./base-paypal-view":197}],202:[function(e,t,n){"use strict";var i=e("../../lib/assign").assign,r=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)):r.resolve(!1)},t.exports=s},{"../../constants":143,"../../lib/assign":149,"../../lib/promise":160,"./base-paypal-view":197}],203:[function(e,t,n){"use strict";var i=e("../../lib/assign").assign,r=e("../base-view"),o=e("braintree-web/venmo"),a=e("../../lib/dropin-error"),s=e("../../lib/promise"),l=e("../../constants").paymentOptionIDs;function d(){r.apply(this,arguments)}d.prototype=Object.create(r.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 e.model.asyncDependencyStarting(),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()})).catch((function(t){e.model.asyncDependencyFailed({view:e.ID,error:new a(t)})}))},d.prototype._isIgnorableError=function(e){return"VENMO_APP_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":143,"../../lib/assign":149,"../../lib/dropin-error":153,"../../lib/promise":160,"../base-view":190,"braintree-web/venmo":124}]},{},[146])(146)}).call(this,n("yLpj"))}}]); //# sourceMappingURL=main~798cb668.7527af4a.chunk.js.map