{"version":3,"sources":["webpack:///./src/components/Payment/SquarePayment.vue?8ccc","webpack:///./src/components/Payment/SquarePayment.vue?c225","webpack:///./src/components/Payment/SquareCardOptions.ts","webpack:///./src/components/Payment/SquareCard.ts","webpack:///src/components/Payment/SquarePayment.vue","webpack:///./src/components/Payment/SquarePayment.vue?c67a","webpack:///./src/components/Payment/SquarePayment.vue?e9d3","webpack:///./src/components/Payment/SquarePayment.vue"],"names":["module","exports","push","i","render","_vm","this","_c","_self","staticClass","ref","attrs","apiKey","locale","$culture","name","inputStyles","saveCard","locationId","locationCurrencyCode","paymentSdkUrl","suppressBuyerVerification","on","ready","$event","$emit","cardEvent","handleCardEvent","authenticationComplete","id","click","$refs","card","initializeForm","_withStripped","supportedFontFamilies","fontFamilyTranslation","SquareCardOptions","_classCallCheck","style","getContainerStyles","getContainerErrorStyles","getContainerFocusStyles","getInputStyles","getInputErrorStyles","getPlaceholderStyles","key","value","color","fontFamily","getFontFamily","backgroundColor","fontWeight","fontSize","origFontFamily","indexOf","toLowerCase","fontFamilyMatchIndex","forEach","supportedFont","supportedFontIndex","length","Object","keys","fontKey","translatedFontIndex","console","warn","concat","placeholderColor","_regeneratorRuntime","Op","prototype","hasOwn","hasOwnProperty","defineProperty","obj","desc","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","err","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","fn","arg","type","call","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","method","_invoke","AsyncIterator","PromiseImpl","previousPromise","callInvokeWithMethodAndArg","resolve","reject","invoke","record","result","_typeof","__await","then","unwrapped","error","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","done","methodName","undefined","return","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","displayName","isGeneratorFunction","genFun","ctor","constructor","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","val","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","catch","thrown","delegateYield","instance","Constructor","_defineProperties","target","props","descriptor","input","hint","prim","toPrimitive","res","String","Number","_toPrimitive","_createClass","protoProps","staticProps","asyncGeneratorStep","gen","_next","_throw","_asyncToGenerator","args","arguments","apply","_createForOfIteratorHelper","o","allowArrayLike","it","Array","isArray","minLen","_arrayLikeToArray","n","toString","from","test","_unsupportedIterableToArray","F","s","e","_e","f","normalCompletion","didErr","step","_e2","arr","len","arr2","isSquareErrorWithType","square","squarePaymentSdkPromise","ensureSquarePaymentSdk","_x","_ensureSquarePaymentSdk","_callee","squarePaymentSdkUrl","targetElement","_args","_context","loadScriptWithGlobal","squarePaymentSdk","SquareCallbackResponse","errors","status","token","details","VerifyBuyerResponse","CSquareCard","_dec","Prop","required","_dec2","default","_dec3","Inject","_dec4","_dec5","_dec6","_dec7","_dec8","Boolean","_dec9","Watch","Component","_class2","_Vue","_inherits","_submitPayment","_verifyBuyerCharge","_initializeForm","_getSquarePaymentSdk","_super","_createSuper","_this","_len","_key","_initializerDefineProperty","_descriptor","_assertThisInitialized","_descriptor2","_descriptor3","_descriptor4","_descriptor5","_descriptor6","_descriptor7","_descriptor8","elementStatus","initializeFormPromise","submissionPromise","submissionResult","authenticationResult","paymentsApi","_this2","setTimeout","log","newVal","oldVal","JSON","stringify","h","childNodes","$scopedSlots","_callee2","headElement","_Square","_args2","_context2","$el","Square","t0","_callee4","_this3","_args4","_context4","getSquarePaymentSdk","_ref","_callee3","setLocaleResult","container","options","_context3","payments","applicationId","setLocale","newLocale","previousLocale","message","preventVueObservability","firstChild","innerHTML","useFormTheme","borderColor","borderWidth","borderRadius","attach","proxyCardEvents","_x2","eventTypes","_this4","eventType","addEventListener","orderInfo","billingContact","givenName","addressLines","countryName","Address","Country","city","City","postalCode","PostalCode","State","line","Name","First","familyName","Last","email","Email","phone","Phone","_callee5","customerCardId","verificationDetails","authenticationStatus","_this5","_context5","intent","amount","AmountDue","toFixed","currencyCode","mapBillingFields","customEvent","Deferred","verifyBuyer","FriendlyError","PaymentTokenStatus","AuthenticationFailed","AuthenticationSucceeded","logScaResult","success","forceResubmit","verificationToken","_x3","_x4","_callee6","firstError","_this6","_context6","tokenize","hasErrors","Amount","Type","Token","VerificationToken","DateCreated","Date","Status","IsLive","Card","Brand","brand","Last4","last4","_x5","_x6","response","userChallenged","errorType","_step","_iterator","getScaErrorType","errorMessage","Vue","_applyDecoratedDescriptor","initializer","getOwnPropertyDescriptor","_class","components","inject","paymentRequired","data","resizeObserver","ResizeObserver","recalculateSize","computed","order","Order","paymentToken","Entry","PaymentToken","mounted","observe","beforeDestroy","unobserve","methods","event","focussedElement","cardContainer","classList","add","focusEvent","sender","originalEvent","originalSender","form","remove","blurEvent","createToken","cardRef","submitPayment","authenticate","verifyBuyerCharge","authenticationPaymentToken","update","ClientSecret","clientSecret","paymentError","$resource","locals","component"],"mappings":"mFAAUA,EAAOC,QAAU,EAAQ,IAAR,EAAyH,IAE5IC,KAAK,CAACF,EAAOG,EAAI,2oDAAgpD,M,wCCFzqD,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACRC,EAAKF,EAAIG,MAAMD,GACjB,OAAOA,EACL,MACA,CAAEE,YAAa,sBACf,CACEF,EACE,gBACA,CACEG,IAAK,OACLC,MAAO,CACL,iBAAkBN,EAAIO,OACtBC,OAAQR,EAAIS,SAASC,KACrB,eAAgBV,EAAIW,YACpB,YAAaX,EAAIY,SACjB,cAAeZ,EAAIa,WACnB,yBAA0Bb,EAAIc,qBAC9B,kBAAmBd,EAAIe,cACvB,8BAA+Bf,EAAIgB,2BAErCC,GAAI,CACF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M,EAAAzM,OAAA,oBAEA,iBAAA2N,EAAA4F,aAAApC,KAAA,CAAA1E,EAAAjM,KAAA,QACA,OAAAmN,EAAAjV,MAAA,2BAAA6X,SAAA,IAAA9D,EAAAzM,OAAA,iBAMA,OAAA4U,EAAAjH,EAAA3U,MAAAC,KAAAwT,EAAAjM,KAAA,EACAoU,EAAAG,kBAAApH,EAAA0F,MAAA1F,EAAA4F,aAAAnC,OAAA,wBAAA3E,EAAA7J,UAAAyJ,MAXArH,IAcAnM,uBAAA,SAAAkb,GACA,KAAAiB,2BAAA,KAEAjB,EAAAlM,OAEA,KAAAjH,MAAA4S,MAAAC,aAAAwB,OAAA,CACAzD,OAAAuC,EAAAnM,OACAuJ,KAAA4C,EAAApW,KACAyT,MAAA2C,EAAAlM,MACAqN,aAAAnB,EAAAoB,aACA9D,kBAAA0C,EAAAtD,oBAKAsD,EAAAxD,UACA,KAAA6E,aAAA,KAAAC,UAAA,8BAAAA,UAAA,sCAGA,KAAA3c,MAAA,2BAAA6X,QAAAwD,EAAAxD,QAAAC,cAAAuD,EAAAvD,mB,0CExJI,GAAU,CAAC,WAAa,CAAC,MAAQ,aAErC,OAAiB,OACjB,WAAoB,G,IAEP,KAAI,KAAS,IAIX,KAAQ8E,O,QCJnBC,GAAY,aACd,GACAle,EN4CoB,IM1CpB,EACA,KACA,KACA,MAIa,UAAAke,G","file":"32.341c334bee0688a7fe35.js","sourcesContent":["exports = module.exports = require(\"../../../../../node_modules/.pnpm/css-loader@3.2.0_webpack@4.46.0/node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"html .cog-square-payment .cog-input__placeholder,html .cog-square-payment .sq-card-component,:root:root:root:root:root .cog-square-payment .cog-input__placeholder,:root:root:root:root:root .cog-square-payment .sq-card-component{background:var(--input__background-color);border-width:var(--input__border-width-top, var(--input__border-width)) var(--input__border-width-right, var(--input__border-width)) var(--input__border-width-bottom, var(--input__border-width)) var(--input__border-width-left, var(--input__border-width));border-style:var(--input__border-style);border-color:var(--input__border-color);border-radius:var(--input__border-radius);box-shadow:var(--input__box-shadow)}html .cog-square-payment .sq-card-iframe-container[style*=\\\"height: 97px\\\"] .sq-card-component,:root:root:root:root:root .cog-square-payment .sq-card-iframe-container[style*=\\\"height: 97px\\\"] .sq-card-component{border-bottom-width:var(--input__border-width-top, var(--input__border-width))}html .cog-square-payment .cog-square-card .cog-input__placeholder,:root:root:root:root:root .cog-square-payment .cog-square-card .cog-input__placeholder{height:97px}html .cog-square-payment .sq-card-message,:root:root:root:root:root .cog-square-payment .sq-card-message{display:none}html .cog-square-payment .sq-focus .sq-card-component,:root:root:root:root:root .cog-square-payment .sq-focus .sq-card-component{border-color:var(--highlight);box-shadow:var(--input-focus__box-shadow);transition:border-color .3s,box-shadow .3s}html .cog-square-payment .sq-focus.sq-error .sq-card-component,:root:root:root:root:root .cog-square-payment .sq-focus.sq-error .sq-card-component{border-color:var(--negative)}\", \"\"]);\n","var render = function render() {\n var _vm = this,\n _c = _vm._self._c\n return _c(\n \"div\",\n { staticClass: \"cog-square-payment\" },\n [\n _c(\n \"c-square-card\",\n {\n ref: \"card\",\n attrs: {\n \"application-id\": _vm.apiKey,\n locale: _vm.$culture.name,\n \"input-styles\": _vm.inputStyles,\n \"save-card\": _vm.saveCard,\n \"location-id\": _vm.locationId,\n \"location-currency-code\": _vm.locationCurrencyCode,\n \"payment-sdk-url\": _vm.paymentSdkUrl,\n \"suppress-buyer-verification\": _vm.suppressBuyerVerification\n },\n on: {\n ready: function($event) {\n return _vm.$emit(\"ready\")\n },\n cardEvent: _vm.handleCardEvent,\n \"authentication-complete\": _vm.authenticationComplete\n }\n },\n [\n _c(\n \"div\",\n {\n ref: \"cardContainer\",\n staticClass: \"cog-square-card cog-payment__frame\",\n attrs: { id: \"card-container\" }\n },\n [\n _c(\"div\", {\n staticClass: \"cog-input__placeholder\",\n on: {\n click: function($event) {\n return _vm.$refs.card.initializeForm()\n }\n }\n })\n ]\n )\n ]\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","// eslint-disable-next-line import/no-unresolved\r\nimport type { CardOptions, CardClassSelectors, ComponentPropertyValues, InputPropertyValues, InputTextPropertyValues, ComponentStatePropertyValues } from '@square/web-payments-sdk-types';\r\nimport type { PaymentFormStyle } from './payment-form-style';\r\n\r\n// Alias this type since VS code seems to not find it for some reason, and they are equivalent (just a 'color' property)\r\nexport type InputIconPropertyValues = InputTextPropertyValues;\r\n\r\n// Obtained from the square SDK source code\r\nexport const supportedFontFamilies = ['andale mono', 'arial', 'arial black', 'arial narrow', 'arial rounded mt bold', 'avant garde', 'baskerville', 'big caslon', 'bodoni mt', 'book antiqua', 'brush script mt', 'calibri', 'calisto mt', 'cambria', 'candara', 'century gothic', 'charcoal', 'comic sans ms', 'consolas', 'copperplate', 'copperplate gothic light', 'courier', 'courier new', 'cursive', 'didot', 'fantasy', 'franklin gothic medium', 'futura', 'garamond', 'geneva', 'georgia', 'gill sans', 'goudy old style', 'helvetica', 'helvetica neue', 'hoefler text', 'impact', 'lucida bright', 'lucida console', 'lucida grande', 'lucida sans unicode', 'lucida sans typewriter', 'monaco', 'monospace', 'optima', 'palatino', 'palatino linotype', 'papyrus', 'perpetua', 'rockwell', 'rockwell extra bold', 'sans-serif', 'segoe ui', 'serif', 'square market', 'square sans text', 'tahoma', 'times', 'times new roman', 'trebuchet ms', 'verdana'];\r\n\r\n// Custom translations in order to find a more appropriate font that Square supports\r\n// NOTE: Taken from Checkout.cshtml, but removed any that were redundant with automatic supported font detection (ex: cursive, Helvetica, etc.)\r\nexport const fontFamilyTranslation = {\r\n\t'Limelight': 'Impact',\r\n\t'Lora': 'Georgia',\r\n\t'Montserrat': 'Verdana',\r\n\t'Ubuntu': 'Trebuchet MS'\r\n};\r\n\r\nexport class SquareCardOptions implements CardOptions {\r\n\tconstructor(inputStyles: PaymentFormStyle) {\r\n\t\tconst style: CardClassSelectors = {};\r\n\t\tstyle['.input-container'] = this.getContainerStyles(inputStyles);\r\n\t\tstyle['.input-container.is-error'] = this.getContainerErrorStyles(inputStyles);\r\n\t\tstyle['.input-container.is-focus'] = this.getContainerFocusStyles(inputStyles);\r\n\t\tstyle['input'] = this.getInputStyles(inputStyles);\r\n\t\tstyle['input.is-error'] = this.getInputErrorStyles(inputStyles);\r\n\t\tstyle['input::placeholder'] = this.getPlaceholderStyles(inputStyles);\r\n\t\tthis.style = style;\r\n\t}\r\n\r\n\t/**\r\n\t * Gets Square container styles (i.e. border) based on styles collected from the Cognito form\r\n\t * @param inputStyles The input styles collected from the Cognito form\r\n\t */\r\n\tprivate getContainerStyles(inputStyles: PaymentFormStyle): ComponentPropertyValues {\r\n\t\tconst style: ComponentPropertyValues = {};\r\n\t\t// We don't need to pass styles for the outer container because we can just use old fashioned CSS on the iframe element.\r\n\t\t// To make sure the middle dividing border on a two-row layout is always there, these values are hard coded.\r\n\t\tstyle.borderColor = 'rgba(0,0,0,.15)';\r\n\t\tstyle.borderWidth = '0';\r\n\t\treturn style;\r\n\t}\r\n\r\n\t/**\r\n\t * Gets Square container styles (i.e. border) for error state based on styles collected from the Cognito form\r\n\t * @param inputStyles The input styles collected from the Cognito form\r\n\t */\r\n\tprivate getContainerErrorStyles(inputStyles: PaymentFormStyle): ComponentStatePropertyValues {\r\n\t\tconst style: ComponentStatePropertyValues = {};\r\n\t\tstyle.borderColor = 'transparent';\r\n\t\treturn style;\r\n\t}\r\n\r\n\t/**\r\n\t * Gets Square container styles (i.e. border) for focus state based on styles collected from the Cognito form\r\n\t * @param inputStyles The input styles collected from the Cognito form\r\n\t */\r\n\tprivate getContainerFocusStyles(inputStyles: PaymentFormStyle): ComponentStatePropertyValues {\r\n\t\tconst style: ComponentStatePropertyValues = {};\r\n\t\tstyle.borderColor = 'transparent';\r\n\t\treturn style;\r\n\t}\r\n\r\n\t/**\r\n\t * Gets Square input styles based on styles collected from the Cognito form\r\n\t * @param inputStyles The input styles collected from the Cognito form\r\n\t */\r\n\tprivate getInputStyles(inputStyles: PaymentFormStyle): InputPropertyValues {\r\n\t\tconst style: InputPropertyValues = {};\r\n\t\tstyle.color = inputStyles.color || '#000';\r\n\t\tstyle.fontFamily = this.getFontFamily(inputStyles);\r\n\t\tstyle.backgroundColor = 'transparent';\r\n\t\tstyle.fontWeight = inputStyles.fontWeight || 'normal';\r\n\t\tstyle.fontSize = inputStyles.fontSize || '14px';\r\n\t\treturn style;\r\n\t}\r\n\r\n\t/**\r\n\t * Gets the closest matching font family that is supported by Square\r\n\t * @param inputStyles The input styles collected from the Cognito form\r\n\t */\r\n\tprivate getFontFamily(inputStyles: PaymentFormStyle) {\r\n\t\tlet fontFamily = 'Arial';\r\n\t\tconst origFontFamily = inputStyles.fontFamily || 'Arial';\r\n\t\tif (supportedFontFamilies.indexOf(origFontFamily.toLowerCase()) < 0) {\r\n\t\t\tfontFamily = 'Arial';\r\n\t\t\tlet fontFamilyMatchIndex = -1;\r\n\t\t\t// Search supported fonts for a match\r\n\t\t\tsupportedFontFamilies.forEach(supportedFont => {\r\n\t\t\t\tconst supportedFontIndex = origFontFamily.toLowerCase().indexOf(supportedFont.toLowerCase());\r\n\t\t\t\tif (supportedFontIndex >= 0) {\r\n\t\t\t\t\t// Give priority to a matched font earlier in the original font string\r\n\t\t\t\t\tif (fontFamilyMatchIndex < 0 || supportedFontIndex < fontFamilyMatchIndex || (supportedFontIndex === fontFamilyMatchIndex && fontFamily.length < supportedFont.length)) {\r\n\t\t\t\t\t\tfontFamily = supportedFont;\r\n\t\t\t\t\t\tfontFamilyMatchIndex = supportedFontIndex;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t// Search font translations for a match\r\n\t\t\tObject.keys(fontFamilyTranslation).forEach(function (fontKey) {\r\n\t\t\t\tconst translatedFontIndex = origFontFamily.toLowerCase().indexOf(fontKey.toLowerCase());\r\n\t\t\t\tif (translatedFontIndex >= 0) {\r\n\t\t\t\t\t// Give priority to a matched font earlier in the original font string\r\n\t\t\t\t\tif (fontFamilyMatchIndex < 0 || translatedFontIndex < fontFamilyMatchIndex || (fontFamilyMatchIndex === translatedFontIndex && fontFamily.length < fontFamilyTranslation[fontKey].length)) {\r\n\t\t\t\t\t\tfontFamily = fontFamilyTranslation[fontKey];\r\n\t\t\t\t\t\tfontFamilyMatchIndex = translatedFontIndex;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tif (fontFamilyMatchIndex < 0) {\r\n\t\t\t\tconsole.warn(`Font '${origFontFamily}' is not supported.`);\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tfontFamily = origFontFamily;\r\n\t\t}\r\n\t\treturn fontFamily;\r\n\t}\r\n\r\n\t/**\r\n\t * Gets Square input styles for error state based on styles collected from the Cognito form\r\n\t * @param inputStyles The input styles collected from the Cognito form\r\n\t */\r\n\tprivate getInputErrorStyles(inputStyles: PaymentFormStyle): InputTextPropertyValues {\r\n\t\tconst style: InputTextPropertyValues = {};\r\n\t\tstyle.color = inputStyles.color;\r\n\t\treturn style;\r\n\t}\r\n\r\n\t/**\r\n\t * Gets Square placeholder styles (i.e. color) based on styles collected from the Cognito form\r\n\t * @param inputStyles The input styles collected from the Cognito form\r\n\t */\r\n\tprivate getPlaceholderStyles(inputStyles: PaymentFormStyle): InputTextPropertyValues {\r\n\t\tconst style: InputTextPropertyValues = {};\r\n\t\tstyle.color = inputStyles.placeholderColor || '#CCCCCC';\r\n\t\treturn style;\r\n\t}\r\n\r\n\tstyle?: CardClassSelectors;\r\n}\r\n","import type { VNode, CreateElement } from 'vue';\r\nimport Vue from 'vue';\r\nimport { Component, Prop, Watch, Inject } from 'vue-property-decorator';\r\nimport { loadScriptWithGlobal } from '../../util/script-loader';\r\nimport { Deferred } from 'src/util/deferred';\r\nimport type { PaymentProcessorCardComponent, PaymentTokenInfo, OrderInfo } from 'src/framework/payment/payment-types';\r\nimport { preventVueObservability } from '@cognitoforms/vuemodel';\r\nimport { FriendlyError } from '../../framework/logging/error';\r\nimport type Log from '../../framework/logging/log';\r\nimport { PaymentTokenStatus } from '@cognitoforms/types/server-types/payment/model/payment-token-status';\r\nimport type { PaymentFormStyle } from './payment-form-style';\r\n// eslint-disable-next-line import/no-unresolved\r\nimport type { Square, Card, TokenResult, Payments, ChargeVerifyBuyerDetails, TokenError, TokenStatus, TokenDetails, StoreVerifyBuyerDetails, VerifyBuyerResponseDetails, VerifyBuyerError, SubError, ApplicationError, VerifyBuyerErrorDetails } from '@square/web-payments-sdk-types';\r\nimport { SquareCardOptions } from './SquareCardOptions';\r\n\r\ntype SquareCardEvent = 'focusClassAdded' | 'focusClassRemoved' | 'errorClassAdded' | 'errorClassRemoved' | 'cardBrandChanged' | 'postalCodeChanged' | 'escape' | 'submit';\r\n\r\nfunction isSquareErrorWithType(err: SubError) : err is ApplicationError | VerifyBuyerErrorDetails {\r\n\treturn err.hasOwnProperty('type');\r\n}\r\n\r\nfunction getScaErrorType(err: VerifyBuyerError): string | undefined {\r\n\tif (err.errors && err.errors.length > 0) {\r\n\t\tfor (const error of err.errors) {\r\n\t\t\tif (isSquareErrorWithType(error)) {\r\n\t\t\t\treturn error.type;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n\r\nlet square: Square = null;\r\nlet squarePaymentSdkPromise: Promise = null;\r\n\r\nasync function ensureSquarePaymentSdk(squarePaymentSdkUrl: string, targetElement: Element = null): Promise {\r\n\tif (square)\r\n\t\treturn square;\r\n\tif (!squarePaymentSdkPromise) {\r\n\t\tsquarePaymentSdkPromise = loadScriptWithGlobal(squarePaymentSdkUrl, 'Square', targetElement).then(squarePaymentSdk => {\r\n\t\t\tsquare = squarePaymentSdk;\r\n\t\t\tsquarePaymentSdkPromise = null;\r\n\t\t\treturn square;\r\n\t\t}).catch(error => {\r\n\t\t\t// Null out the promise field so that it could be re-attempted\r\n\t\t\tsquarePaymentSdkPromise = null;\r\n\t\t\t// Re-raise the original error\r\n\t\t\tthrow error;\r\n\t\t});\r\n\t}\r\n\treturn squarePaymentSdkPromise;\r\n}\r\n\r\nexport class SquareCallbackResponse {\r\n\tconstructor(result: TokenResult) {\r\n\t\tthis.errors = result.errors;\r\n\t\tthis.status = result.status;\r\n\t\tthis.token = result.token;\r\n\t\tthis.details = result.details;\r\n\t}\r\n\r\n\terrors: TokenError[];\r\n\tstatus: TokenStatus;\r\n\ttoken: string;\r\n\tdetails: TokenDetails;\r\n\r\n\thasErrors() : boolean {\r\n\t\treturn this.errors && this.errors.length > 0;\r\n\t}\r\n}\r\n\r\nexport class VerifyBuyerResponse {\r\n\tconstructor(error: VerifyBuyerError, result: VerifyBuyerResponseDetails) {\r\n\t\tthis.error = error;\r\n\t\tthis.result = result;\r\n\t}\r\n\r\n\terror: VerifyBuyerError;\r\n\tresult: VerifyBuyerResponseDetails;\r\n\r\n\thasError() : boolean {\r\n\t\treturn this.error != null;\r\n\t}\r\n}\r\n\r\n// Square doesn't export this type for some reason\r\ninterface Contact {\r\n\tgivenName?: string;\r\n\tfamilyName?: string;\r\n\taddressLines?: string[];\r\n\tcity?: string;\r\n\tstate?: string;\r\n\tpostalCode?: string;\r\n\tcountryCode?: string;\r\n\tcountryName?: string;\r\n\temail?: string;\r\n\tphone?: string;\r\n}\r\n\r\n@Component\r\nexport default class CSquareCard extends Vue implements PaymentProcessorCardComponent {\r\n\t@Prop({ type: String, required: true })\r\n\tapplicationId: string;\r\n\r\n\t@Prop({ type: Object, default: () => {} })\r\n\tinputStyles: PaymentFormStyle;\r\n\r\n\t@Inject()\r\n\tlog: Log;\r\n\r\n\t@Prop({ type: String, default: () => {} })\r\n\tlocationId: string;\r\n\r\n\t@Prop({ type: String, default: () => {} })\r\n\tlocationCurrencyCode: string;\r\n\r\n\t@Prop({ type: String, default: () => {} })\r\n\tpaymentSdkUrl: string;\r\n\r\n\t@Prop({ type: String, default: null })\r\n\tlocale: string;\r\n\r\n\t@Prop({ type: Boolean, default: false })\r\n\tsuppressBuyerVerification: boolean;\r\n\r\n\telementStatus: null;\r\n\r\n\tinitializeFormPromise: Promise = null;\r\n\r\n\tcard: Card = null;\r\n\r\n\tsubmissionPromise: Deferred = null;\r\n\r\n\tsubmissionResult: SquareCallbackResponse = null;\r\n\r\n\tauthenticationResult: VerifyBuyerResponse = null;\r\n\r\n\tpaymentsApi: Payments = null;\r\n\r\n\tmounted() {\r\n\t\tsetTimeout(() => {\r\n\t\t\t// Pre-load the Square Web Pay SDK to avoid delay when the payment form is shown\r\n\t\t\tensureSquarePaymentSdk(this.paymentSdkUrl).catch(error => {\r\n\t\t\t\tthis.log.warn('Pre-loading the Square SDK failed.');\r\n\t\t\t\t// Re-throw the original error\r\n\t\t\t\tthrow error;\r\n\t\t\t});\r\n\t\t}, 100);\r\n\r\n\t\t// Initialize the form immediately if already shown\r\n\t\tthis.initializeForm();\r\n\t}\r\n\r\n\t@Watch('inputStyles')\r\n\tonInputStylesChanged(newVal, oldVal) {\r\n\t\tif (this.card && JSON.stringify(newVal) !== JSON.stringify(oldVal)) {\r\n\t\t\tthis.card = null;\r\n\t\t\tthis.initializeForm();\r\n\t\t}\r\n\t}\r\n\r\n\trender(h: CreateElement): VNode {\r\n\t\tlet childNodes: VNode[];\r\n\t\tif (this.$scopedSlots && this.$scopedSlots.default) {\r\n\t\t\t// Render Square payment form with provided slot content\r\n\t\t\tchildNodes = this.$scopedSlots.default({});\r\n\t\t}\r\n\t\telse {\r\n\t\t\t// Render Square payment form with default markup\r\n\t\t\tchildNodes = [\r\n\t\t\t\th('div', { attrs: { id: 'card-container' } })\r\n\t\t\t];\r\n\t\t}\r\n\t\treturn h('div', {\r\n\t\t}, childNodes);\r\n\t}\r\n\r\n\tasync getSquarePaymentSdk(headElement: Element = null): Promise {\r\n\t\ttry {\r\n\t\t\tconst Square = await ensureSquarePaymentSdk(this.paymentSdkUrl, headElement || this.$el);\r\n\t\t\tif (!Square) {\r\n\t\t\t\tthrow new Error('Failed to load Square Payment SDK.');\r\n\t\t\t}\r\n\t\t\treturn Square;\r\n\t\t}\r\n\t\tcatch (error) {\r\n\t\t\tthis.log.warn('Failed to load the Square SDK when initializing the form');\r\n\t\t\tthrow error;\r\n\t\t}\r\n\t}\r\n\r\n\tasync initializeForm(headElement: Element = null): Promise {\r\n\t\tif (this.card) {\r\n\t\t\t// Square payment card element is already initialized\r\n\t\t\treturn this.card;\r\n\t\t}\r\n\r\n\t\t// Form is currently being initialized\r\n\t\tif (this.initializeFormPromise)\r\n\t\t\treturn this.initializeFormPromise;\r\n\r\n\t\tconst initializeFormPromise = new Promise((resolve, reject) => {\r\n\t\t\tthis.getSquarePaymentSdk(headElement).then(async Square => {\r\n\t\t\t\tconst paymentsApi = Square.payments(this.applicationId, this.locationId);\r\n\r\n\t\t\t\t// Specify locale to match form localization settings\r\n\t\t\t\tif (this.locale) {\r\n\t\t\t\t\t// Attempt to set the locale and log a warning if it fails. If the locale is not one of Square's\r\n\t\t\t\t\t// supported locales (i.e. the countries where they support payment), then the locale will not be\r\n\t\t\t\t\t// changed and the result message will indicate that the language and/or region is not supported.\r\n\t\t\t\t\tconst setLocaleResult = await paymentsApi.setLocale(this.locale);\r\n\t\t\t\t\tif (setLocaleResult.newLocale === setLocaleResult.previousLocale && setLocaleResult.newLocale !== this.locale)\r\n\t\t\t\t\t\tthis.log.warn(setLocaleResult.message || 'Unable to set locale for payment form.');\r\n\t\t\t\t}\r\n\r\n\t\t\t\tpreventVueObservability(paymentsApi);\r\n\r\n\t\t\t\tthis.paymentsApi = paymentsApi;\r\n\r\n\t\t\t\tconst container = this.$el.firstChild as HTMLElement;\r\n\r\n\t\t\t\t// Remove any existing child elements, ex: when the card element is re-rendered\r\n\t\t\t\tcontainer.innerHTML = '';\r\n\r\n\t\t\t\tconst options = this.inputStyles.useFormTheme ? new SquareCardOptions(this.inputStyles) : {\r\n\t\t\t\t\tstyle: {\r\n\t\t\t\t\t\t'input': {\r\n\t\t\t\t\t\t\tcolor: '#000',\r\n\t\t\t\t\t\t\tfontFamily: 'Arial',\r\n\t\t\t\t\t\t\tbackgroundColor: 'white',\r\n\t\t\t\t\t\t\tfontSize: '14px'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t'input.is-error': {\r\n\t\t\t\t\t\t\tcolor: '#000'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t'input::placeholder': {\r\n\t\t\t\t\t\t\tcolor: '#cccccc'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t'.input-container': {\r\n\t\t\t\t\t\t\tborderColor: '#d9d9d9',\r\n\t\t\t\t\t\t\tborderWidth: '1px',\r\n\t\t\t\t\t\t\tborderRadius: '0'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t'.input-container.is-error': {\r\n\t\t\t\t\t\t\tborderColor: '#d9d9d9',\r\n\t\t\t\t\t\t\tborderWidth: '1px'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t'.input-container.is-focus': {\r\n\t\t\t\t\t\t\tborderColor: '#d9d9d9',\r\n\t\t\t\t\t\t\tborderWidth: '1px'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\r\n\t\t\t\t// Prevent Vue observability, since otherwise the CC field's iframe may attempt to access properties that were defined in this frame by Vue, resulting in errors\r\n\t\t\t\tpreventVueObservability(options);\r\n\r\n\t\t\t\tconst card = await paymentsApi.card(options);\r\n\r\n\t\t\t\tawait card.attach(container);\r\n\r\n\t\t\t\t// Broadcast focus and blur events so that outside subscribers can know that the CC fields have been interacted with\r\n\t\t\t\tthis.proxyCardEvents(['focusClassAdded', 'focusClassRemoved'], card);\r\n\r\n\t\t\t\tpreventVueObservability(card);\r\n\r\n\t\t\t\tthis.card = card;\r\n\r\n\t\t\t\tthis.initializeFormPromise = null;\r\n\r\n\t\t\t\tthis.$emit('ready');\r\n\r\n\t\t\t\tresolve(card);\r\n\t\t\t}).catch(error => {\r\n\t\t\t\t// Null out the promise so that loading the form can be re-attempted\r\n\t\t\t\tthis.initializeFormPromise = null;\r\n\t\t\t\tthrow error;\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\tpreventVueObservability(initializeFormPromise);\r\n\r\n\t\tthis.initializeFormPromise = initializeFormPromise;\r\n\r\n\t\treturn this.initializeFormPromise;\r\n\t}\r\n\r\n\tprivate proxyCardEvents(eventTypes: SquareCardEvent[], card: Card) {\r\n\t\teventTypes.forEach(eventType => {\r\n\t\t\tcard.addEventListener(eventType, e => this.$emit('cardEvent', e));\r\n\t\t});\r\n\t}\r\n\r\n\tmapBillingFields(orderInfo: OrderInfo): Contact {\r\n\t\tconst billingContact: Contact = {\r\n\t\t\tgivenName: '',\r\n\t\t\taddressLines: []\r\n\t\t};\r\n\r\n\t\tif (orderInfo.hasOwnProperty('Address')) {\r\n\t\t\tbillingContact.countryName = orderInfo.Address.Country;\r\n\t\t\tbillingContact.city = orderInfo.Address.City;\r\n\t\t\tbillingContact.postalCode = orderInfo.Address.PostalCode;\r\n\t\t\tbillingContact.state = orderInfo.Address.State;\r\n\r\n\t\t\t['Line1', 'Line2'].forEach(line =>{\r\n\t\t\t\tif (orderInfo.Address[line])\r\n\t\t\t\t\tbillingContact.addressLines.push(orderInfo.Address[line]);\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tif (orderInfo.hasOwnProperty('BillingName')) {\r\n\t\t\tbillingContact.givenName = orderInfo.Name.First || '';\r\n\t\t\tbillingContact.familyName = orderInfo.Name.Last;\r\n\t\t}\r\n\r\n\t\tbillingContact.email = orderInfo.Email;\r\n\t\tbillingContact.phone = orderInfo.Phone;\r\n\r\n\t\treturn billingContact;\r\n\t}\r\n\r\n\t// This method is only needed to do a 2nd auth call for payment in a \"save and pay\" scenario (see WIs 11281, 19391, and 20147)\r\n\tasync verifyBuyerCharge(orderInfo, customerCardId) {\r\n\t\tconst verificationDetails: ChargeVerifyBuyerDetails = {\r\n\t\t\tintent: 'CHARGE',\r\n\t\t\tamount: orderInfo.AmountDue.toFixed(2).toString(),\r\n\t\t\tcurrencyCode: this.locationCurrencyCode,\r\n\t\t\tbillingContact: this.mapBillingFields(orderInfo)\r\n\t\t};\r\n\r\n\t\t// Log SCA authentication has begun for a saved card\r\n\t\tthis.log.customEvent('Square SCA Verification Started For Second Verification', null);\r\n\r\n\t\ttry {\r\n\t\t\tif (this.submissionPromise === null) {\r\n\t\t\t\tthis.submissionPromise = new Deferred();\r\n\r\n\t\t\t\ttry {\r\n\t\t\t\t\tthis.paymentsApi.verifyBuyer(customerCardId, verificationDetails).then(result => {\r\n\t\t\t\t\t\tthis.authenticationResult = new VerifyBuyerResponse(null, result);\r\n\t\t\t\t\t\tif (this.submissionPromise)\r\n\t\t\t\t\t\t\tthis.submissionPromise.resolve();\r\n\t\t\t\t\t}).catch((err: VerifyBuyerError) => {\r\n\t\t\t\t\t\tthis.authenticationResult = new VerifyBuyerResponse(err, null);\r\n\t\t\t\t\t\tif (this.submissionPromise)\r\n\t\t\t\t\t\t\tthis.submissionPromise.resolve();\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\tcatch (error) {\r\n\t\t\t\t\tthis.log.error(error, { method: 'SquareCard.verifyBuyerCharge' });\r\n\t\t\t\t\tthrow new FriendlyError('An error occurred');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tawait this.submissionPromise;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\tthis.submissionPromise = null;\r\n\t\t}\r\n\r\n\t\tconst authenticationStatus = this.authenticationResult.error ? PaymentTokenStatus.AuthenticationFailed : PaymentTokenStatus.AuthenticationSucceeded;\r\n\r\n\t\t// Log SCA authentication result\r\n\t\tthis.logScaResult('Square SCA For Second Verification ' + authenticationStatus, this.authenticationResult);\r\n\r\n\t\tthis.$emit('authentication-complete', {\r\n\t\t\tsuccess: this.authenticationResult.error == null,\r\n\t\t\tforceResubmit: true, // forceResubmit forces the entry to be re-submitted in a Save & Charge scenario where the Charge authentication fails.\r\n\t\t\ttoken: customerCardId,\r\n\t\t\tstatus: authenticationStatus,\r\n\t\t\ttype: 'CustomerCard',\r\n\t\t\tverificationToken: this.authenticationResult.result ? this.authenticationResult.result.token : null\r\n\t\t});\r\n\t}\r\n\r\n\tasync submitPayment(orderInfo, intent: 'CHARGE' | 'STORE') : Promise {\r\n\t\ttry {\r\n\t\t\tif (this.submissionPromise === null) {\r\n\t\t\t\tthis.submissionPromise = new Deferred();\r\n\t\t\t\tthis.card.tokenize().then(token => {\r\n\t\t\t\t\tthis.submissionResult = new SquareCallbackResponse(token);\r\n\t\t\t\t\tif (this.submissionPromise) {\r\n\t\t\t\t\t\tthis.submissionPromise.resolve();\r\n\t\t\t\t\t}\r\n\t\t\t\t}).catch(error => {\r\n\t\t\t\t\tthis.log.error(error, { method: 'SquareCard.submitPayment' });\r\n\t\t\t\t\tthrow new FriendlyError('An error occurred');\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\tawait this.submissionPromise;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\tthis.submissionPromise = null;\r\n\t\t}\r\n\r\n\t\tlet verificationToken;\r\n\t\tlet authenticationStatus;\r\n\r\n\t\tif (!this.submissionResult || this.submissionResult.hasErrors()) {\r\n\t\t\tconst firstError = this.submissionResult.errors[0];\r\n\t\t\tif (firstError && firstError.message) {\r\n\t\t\t\tthrow new Error(firstError.message);\r\n\t\t\t}\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// If no errors retrieving card nonce, begin SCA\r\n\t\t// We can't perform SCA validation in admin because the card owner isn't \"on session\"\r\n\t\telse if (!this.suppressBuyerVerification) {\r\n\t\t\tconst verificationDetails: ChargeVerifyBuyerDetails | StoreVerifyBuyerDetails = {\r\n\t\t\t\tintent,\r\n\t\t\t\tamount: intent === 'CHARGE' ? orderInfo.Amount.toFixed(2).toString() : null,\r\n\t\t\t\tcurrencyCode: this.locationCurrencyCode,\r\n\t\t\t\tbillingContact: this.mapBillingFields(orderInfo)\r\n\t\t\t};\r\n\r\n\t\t\t// Log SCA authentication has begun\r\n\t\t\tthis.log.customEvent('Square SCA Verfication Started', null);\r\n\r\n\t\t\ttry {\r\n\t\t\t\tif (this.submissionPromise === null) {\r\n\t\t\t\t\tthis.submissionPromise = new Deferred();\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tthis.paymentsApi.verifyBuyer(this.submissionResult.token, verificationDetails).then(result => {\r\n\t\t\t\t\t\t\tthis.authenticationResult = new VerifyBuyerResponse(null, result);\r\n\t\t\t\t\t\t\tif (this.submissionPromise)\r\n\t\t\t\t\t\t\t\tthis.submissionPromise.resolve();\r\n\t\t\t\t\t\t}).catch((err: VerifyBuyerError) => {\r\n\t\t\t\t\t\t\tthis.authenticationResult = new VerifyBuyerResponse(err, null);\r\n\t\t\t\t\t\t\tif (this.submissionPromise)\r\n\t\t\t\t\t\t\t\tthis.submissionPromise.resolve();\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcatch (error) {\r\n\t\t\t\t\t\tthis.log.error(error, { method: 'SquareCard.submitPayment' });\r\n\t\t\t\t\t\tthrow new FriendlyError('An error occurred');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tawait this.submissionPromise;\r\n\t\t\t}\r\n\t\t\tfinally {\r\n\t\t\t\tthis.submissionPromise = null;\r\n\t\t\t}\r\n\r\n\t\t\tauthenticationStatus = this.authenticationResult.error ? PaymentTokenStatus.AuthenticationFailed : PaymentTokenStatus.AuthenticationSucceeded;\r\n\r\n\t\t\t// Log SCA authentication result\r\n\t\t\tthis.logScaResult('Square SCA ' + authenticationStatus, this.authenticationResult);\r\n\r\n\t\t\tverificationToken = this.authenticationResult.result ? this.authenticationResult.result.token : null;\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tType: 'Nonce',\r\n\t\t\tToken: this.submissionResult.token,\r\n\t\t\tVerificationToken: verificationToken,\r\n\t\t\tDateCreated: new Date(),\r\n\t\t\tStatus: authenticationStatus,\r\n\t\t\tIsLive: true,\r\n\t\t\tCard: {\r\n\t\t\t\tBrand: this.submissionResult.details.card.brand,\r\n\t\t\t\tLast4: this.submissionResult.details.card.last4\r\n\t\t\t}\r\n\t\t};\r\n\t}\r\n\r\n\tlogScaResult(message: string, response: VerifyBuyerResponse) {\r\n\t\tconst userChallenged = response.result ? response.result.userChallenged : null;\r\n\t\tconst errorType = response.error ? getScaErrorType(response.error) || null : null;\r\n\t\tconst errorMessage = response.error ? response.error.message : null;\r\n\r\n\t\tthis.log.customEvent(message, {\r\n\t\t\t'UserChallenged': userChallenged,\r\n\t\t\t'ErrorType': errorType,\r\n\t\t\t'ErrorMessage': errorMessage\r\n\t\t});\r\n\t}\r\n}\r\n","\r\n\r\n\r\n\r\n","import mod from \"-!../../../../../node_modules/.pnpm/babel-loader@8.0.5_@babel+core@7.22.6_webpack@4.46.0/node_modules/babel-loader/lib/index.js??ref--3!../../../../../node_modules/.pnpm/vue-loader@15.10.0_css-loader@3.2.0_lodash@4.17.21_vue-template-compiler@2.7.15_webpack@4.46.0/node_modules/vue-loader/lib/index.js??vue-loader-options!./SquarePayment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/.pnpm/babel-loader@8.0.5_@babel+core@7.22.6_webpack@4.46.0/node_modules/babel-loader/lib/index.js??ref--3!../../../../../node_modules/.pnpm/vue-loader@15.10.0_css-loader@3.2.0_lodash@4.17.21_vue-template-compiler@2.7.15_webpack@4.46.0/node_modules/vue-loader/lib/index.js??vue-loader-options!./SquarePayment.vue?vue&type=script&lang=js&\"","import api from \"!../../../../../node_modules/.pnpm/style-loader@2.0.0_webpack@4.46.0/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/.pnpm/css-loader@3.2.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/vue-loader@15.10.0_css-loader@3.2.0_lodash@4.17.21_vue-template-compiler@2.7.15_webpack@4.46.0/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/.pnpm/sass-loader@10.1.1_sass@1.44.0_webpack@4.46.0/node_modules/sass-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-resources-loader@2.0.1/node_modules/sass-resources-loader/lib/loader.js??ref--5-oneOf-1-3!../../../../../node_modules/.pnpm/vue-loader@15.10.0_css-loader@3.2.0_lodash@4.17.21_vue-template-compiler@2.7.15_webpack@4.46.0/node_modules/vue-loader/lib/index.js??vue-loader-options!./SquarePayment.vue?vue&type=style&index=0&id=7efc56db&prod&lang=scss&\";\n\nvar options = {\"attributes\":{\"class\":\"cog-style\"}};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import { render, staticRenderFns } from \"./SquarePayment.vue?vue&type=template&id=7efc56db&\"\nimport script from \"./SquarePayment.vue?vue&type=script&lang=js&\"\nexport * from \"./SquarePayment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SquarePayment.vue?vue&type=style&index=0&id=7efc56db&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/.pnpm/vue-loader@15.10.0_css-loader@3.2.0_lodash@4.17.21_vue-template-compiler@2.7.15_webpack@4.46.0/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}