PageSourceSearch

https://www.accessorize.com/on/demandware.static/Sites-accessorize…/js/checkout/payment/PayPal.js

js accessorize.com collected 2026-10-03 20:31:11 UTC 20,585 bytes, 2 lines download raw bytes

1/*! For license information please see PayPal.js.LICENSE.txt */
2(self.webpackChunkmnsn=self.webpackChunkmnsn||[]).push([[5858],{53303:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var diff_dom__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(92485),squirrelly__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(95153),squirrelly__WEBPACK_IMPORTED_MODULE_1___namespace_object={};function htmlStringToElement(t){var e=document.createElement("template");return e.innerHTML=t.trim(),e.content.firstChild}function getTemplate(t){return document.querySelector("script#".concat(t,'[type="text/x-squirrelly-template"]'))}function update(t,e){if("string"==typeof e&&(e=htmlStringToElement(e)),t instanceof HTMLElement&&e instanceof HTMLElement){var n=new diff_dom__WEBPACK_IMPORTED_MODULE_0__.ad({maxChildCount:!1}),r=n.diff(t,e);r&&r.length&&n.apply(t,r)}}function empty(t){if(t instanceof HTMLElement)for(;t.firstChild;)t.removeChild(t.firstChild)}function append(t,e){"string"==typeof e?t.insertAdjacentHTML("beforeEnd",e):t.append(e)}function prepend(t,e){"string"==typeof e?t.insertAdjacentHTML("afterbegin",e):t.prepend(e)}function escapeQuotes(){return String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/"/g,"&quot;")}function msgfHelper(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.replace(/((?:[^{}]|(?:\{\{)|(?:\}\}))+)|(?:\{([0-9]+)\})/g,function(t,e,r){return e?e.replace(/(?:{{)|(?:}})/g,function(t){return t[0]}):r<n.length?n[r]:""})}function msgfSafeHelper(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return escapeQuotes(msgfHelper.apply(void 0,[t].concat(n)))}function render(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t instanceof HTMLElement&&e){var r=getTemplate(e);r&&(squirrelly__WEBPACK_IMPORTED_MODULE_1__.K3(!1),squirrelly__WEBPACK_IMPORTED_MODULE_1__.A8("msgf",msgfHelper),squirrelly__WEBPACK_IMPORTED_MODULE_1__.A8("msgfSafe",msgfSafeHelper),squirrelly__WEBPACK_IMPORTED_MODULE_1__.YZ("escapeQuotes",escapeQuotes),update(t,squirrelly__WEBPACK_IMPORTED_MODULE_1__.Wx(r.innerHTML)(n,squirrelly__WEBPACK_IMPORTED_MODULE_1___namespace_object)))}}function renderElement(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.createElement("div");return render(n,t,e),n}function processScripts(element){for(var scripts=element.getElementsByTagName("script"),i=0,max=scripts.length;i<max;i++)eval(scripts[i].text)}__webpack_require__.r(squirrelly__WEBPACK_IMPORTED_MODULE_1___namespace_object),__webpack_require__.d(squirrelly__WEBPACK_IMPORTED_MODULE_1___namespace_object,{Compile:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.Wx},F:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.F},H:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.H},P:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.P},Render:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.dw},__express:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.H5},autoEscaping:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.K3},defaultTags:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.nK},defineFilter:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.YZ},defineHelper:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.A8},defineNativeHelper:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.Jc},definePartial:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.xl},load:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.Hh},renderFile:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.VB},setDefaultFilters:function(){return squirrelly__WEBPACK_IMPORTED_MODULE_1__.Jx}}),__webpack_exports__.A={append:append,prepend:prepend,render:render,renderElement:renderElement,update:update,empty:empty,processScripts:processScripts}},39114:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var r="h-loading",o={start:function(t,e){t instanceof HTMLElement&&t.classList.add(e||r)},stop:function(t,e){t instanceof HTMLElement&&(e&&t.classList.contains(e)?t.classList.remove(e):t.classList.contains(r)&&t.classList.remove(r))}}},15903:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return k}});var r=n(3273),o=n(53303),i=n(41536),a=n(39114),u=n(43047);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function c(){var t=h(),e=t.m(c),n=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function r(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===n||"GeneratorFunction"===(e.displayName||e.name))}var o={throw:1,return:2,break:3,continue:3};function i(t){var e,n;return function(r){e||(e={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(t,e){return n(r.a,o[t],e)},delegateYield:function(t,o,i){return e.resultName=o,n(r.d,l(t),i)},finish:function(t){return n(r.f,t)}},n=function(t,n,o){r.p=e.prev,r.n=e.next;try{return t(n,o)}finally{e.next=r.n}}),e.resultName&&(e[e.resultName]=r.v,e.resultName=void 0),e.sent=r.v,e.next=r.n;try{return t.call(this,e)}finally{r.p=e.prev,r.n=e.next}}}return(c=function(){return{wrap:function(e,n,r,o){return t.w(i(e),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:t.m,awrap:function(t,e){return new v(t,e)},AsyncIterator:y,async:function(t,e,n,o,a){return(r(e)?_:f)(i(t),e,n,o,a)},keys:p,values:l}})()}function l(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}throw new TypeError(s(t)+" is not iterable")}function p(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}}function f(t,e,n,r,o){var i=_(t,e,n,r,o);return i.next().then(function(t){return t.done?t.value:i.next()})}function _(t,e,n,r,o){return new y(h().w(t,e,n,r),o||Promise)}function y(t,e){function n(r,o,i,a){try{var u=t[r](o),s=u.value;return s instanceof v?e.resolve(s.v).then(function(t){n("next",t,i,a)},function(t){n("throw",t,i,a)}):e.resolve(s).then(function(t){u.value=t,i(u)},function(t){return n("throw",t,i,a)})}catch(t){a(t)}}var r;this.next||(d(y.prototype),d(y.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),d(this,"_invoke",function(t,o,i){function a(){return new e(function(e,r){n(t,i,e,r)})}return r=r?r.then(a,a):a()},!0)}function h(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var s=r&&r.prototype instanceof u?r:u,c=Object.create(s.prototype);return d(c,"_invoke",function(n,r,o){var i,u,s,c=0,l=o||[],p=!1,f={p:0,n:0,v:t,a:_,f:_.bind(t,4),d:function(e,n){return i=e,u=0,s=t,f.n=n,a}};function _(n,r){for(u=n,s=r,e=0;!p&&c&&!o&&e<l.length;e++){var o,i=l[e],_=f.p,y=i[2];n>3?(o=y===r)&&(s=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=_&&((o=n<2&&_<i[1])?(u=0,f.v=r,f.n=i[1]):_<y&&(o=n<3||i[0]>r||r>y)&&(i[4]=n,i[5]=r,f.n=y,u=0))}if(o||n>1)return a;throw p=!0,r}
2return function(o,l,y){if(c>1)throw TypeError("Generator is already running");for(p&&1===l&&_(l,y),u=l,s=y;(e=u<2?t:s)||!p;){i||(u?u<3?(u>1&&(f.n=-1),_(u,s)):f.n=s:f.v=s);try{if(c=2,i){if(u||(o="next"),e=i[o]){if(!(e=e.call(i,s)))throw TypeError("iterator result is not an object");if(!e.done)return e;s=e.value,u<2&&(u=0)}else 1===u&&(e=i.return)&&e.call(i),u<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((e=(p=f.n<0)?s:n.call(r,f))!==a)break}catch(e){i=t,u=1,s=e}finally{c=1}}return{value:e,done:p}}}(n,o,i),!0),c}var a={};function u(){}function s(){}function c(){}e=Object.getPrototypeOf;var l=[][r]?e(e([][r]())):(d(e={},r,function(){return this}),e),p=c.prototype=u.prototype=Object.create(l);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,d(t,o,"GeneratorFunction")),t.prototype=Object.create(p),t}return s.prototype=c,d(p,"constructor",c),d(c,"constructor",s),s.displayName="GeneratorFunction",d(c,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,function(){return this}),d(p,"toString",function(){return"[object Generator]"}),(h=function(){return{w:i,m:f}})()}function d(t,e,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}d=function(t,e,n,r){function i(e,n){d(t,e,function(t){return this._invoke(e,n,t)})}e?o?o(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(i("next",0),i("throw",1),i("return",2))},d(t,e,n,r)}function v(t,e){this.v=t,this.k=e}function m(t,e,n,r,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void n(t)}u.done?e(s):Promise.resolve(s).then(r,o)}function b(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(t){m(i,r,o,a,u,"next",t)}function u(t){m(i,r,o,a,u,"throw",t)}a(void 0)})}}function E(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,P(r.key),r)}}function P(t){var e=function(t){if("object"!=s(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==s(e)?e:e+""}function g(){return g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=C(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},g.apply(null,arguments)}function O(t,e){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},O(t,e)}function w(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(w=function(){return!!t})()}function C(t){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},C(t)}var k=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&O(t,e)}(f,t);var e,n,i,l,p=function(t){var e=w();return function(){var n,r=C(t);if(e){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"==s(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}(f);function f(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),p.apply(this,arguments)}return e=f,n=[{key:"initCache",value:function(){this.selectors.spinnerEl=this.element.parentNode,this.options.btnSelector?this.selectors.buttonContainer=document.querySelector(this.options.btnSelector):this.selectors.buttonContainer=this.element.querySelector(".js-paypal-button-container")}},{key:"initState",value:function(){window.paypal&&this.selectors.buttonContainer&&(this.state.order=null,this.state.paypal=window.paypal,this.state.billingStepIsReady=!1,this.showElement(this.selectors.buttonContainer),this.state.paypal.Buttons(this.getConfig()).render(this.selectors.buttonContainer),this.selectors.buttonContainer.classList.add(u.PAYPAL_BUTTON_CONTAINER_DECREASE))}}
2,{key:"onUpdated",value:function(){g(C(f.prototype),"onUpdated",this).call(this),this.reInit()}},{key:"createOrder",value:function(){var t=this,e=new URL(this.options.initiateUrl);return this.options.isPaypalCreditApplicable&&e.searchParams.append("isPayPalCredit","true"),this.startSpinner(),(0,r.R)(e.toString(),{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(e){if(t.state.order=e.order,t.state.requestId=e.requestID,!e.redirectUrl)return e.error||e.errors?(t.handlePaymentError(e),!1):e.paypalToken;window.location.href=e.redirectUrl}).catch(function(){return console.error("An exception has been thrown during PayPal Init"),!1}).finally(function(){t.stopSpinner()})}},{key:"onAuthorize",value:function(t){var e=this,n={requestId:this.state.requestId,billingAgreementFlag:!1,paymentID:t.paymentID,payerID:t.payerID,isPayPalCredit:this.options.isPaypalCreditApplicable};this.startSpinner(),(0,r.R)(this.options.callbackUrl,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:n}).then(function(t){t.error||t.errors?e.handlePaymentError(t):t.order&&e.options.submitPaymentUrl&&e.submitPayment()}).catch()}},{key:"submitPayment",value:function(){var t=this;this.startSpinner(),(0,r.R)(this.options.submitPaymentUrl,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:{}}).then(function(e){e.errors&&t.handlePaymentError(e)}).finally(function(){t.stopSpinner()})}},{key:"handlePaymentError",value:function(t){var e=this.options.checkoutUrl;t.errorCodes&&t.errorCodes[0].indexOf("CRT")>-1?e=(e=this.options.cartUrl)+"?errorCodes="+t.errorCodes:t.errorCodes&&(e=e+"?errorCodes="+t.errorCodes),e&&(window.location.href=e),this.stopSpinner()}},{key:"onEngineError",value:function(t){console.error("PayPal flow interrupted with an error ".concat(t.name,": ").concat(t.message.replace(/\n.*/gm,"")))}},{key:"updateShippingData",value:(l=b(c().mark(function t(e){var n;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n={selectedShippingMethodId:e.selected_shipping_option?e.selected_shipping_option.id:"",city:e.shipping_address.city,countryCode:e.shipping_address.country_code,postalCode:e.shipping_address.postal_code,state:e.shipping_address.state},t.abrupt("return",(0,r.R)(this.options.updateShippingDataUrl,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:n}));case 2:case"end":return t.stop()}},t,this)})),function(t){return l.apply(this,arguments)})},{key:"onShippingChange",value:(i=b(c().mark(function t(e,n){var r;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.state.order.isAllEgiftCards){t.next=2;break}return t.abrupt("return",n.resolve());case 2:if(this.options.paypalExpressFlow){t.next=4;break}return t.abrupt("return",n.resolve());case 4:if(e.shipping_address||e.selected_shipping_option){t.next=6;break}return t.abrupt("return",n.resolve());case 6:return t.next=8,this.updateShippingData(e);case 8:if(!(r=t.sent).error){t.next=11;break}return t.abrupt("return",n.reject());case 11:return t.next=13,n.order.patch([{op:"replace",path:"/purchase_units/@reference_id=='default'/amount",value:r.transactionInfo.amount}]);case 13:return t.abrupt("return",n.order.patch([{op:e.selected_shipping_option?"replace":"add",path:"/purchase_units/@reference_id=='default'/shipping/options",value:r.transactionInfo.shipping.options}]));case 14:case"end":return t.stop()}},t,this)})),function(t,e){return i.apply(this,arguments)})},{key:"validate",value:function(t,e){this.state.paypalActions=e,this.options.basketValid?this.state.paypalActions.enable():this.state.paypalActions.disable()}},{key:"onBtnClick",value:function(){console.log("onBtnClick")}},{key:"getConfig",value:function(){var t=this;return{commit:!0,locale:this.options.locale||"",onError:this.onEngineError.bind(this),style:{color:"black",disableMaxWidth:!0,label:"pay",shape:"rect",size:"responsive",tagline:!1},createOrder:function(){return t.createOrder()},onApprove:function(e){return t.onAuthorize(e)},onShippingChange:function(e,n){return t.onShippingChange(e,n)},onClick:function(){return t.onBtnClick()},onInit:function(e,n){return t.validate(e,n)},onCancel:function(e){return t.onCancel(e)}}}},{key:"startSpinner",value:function(){a.u.start(this.selectors.spinnerEl)}},{key:"stopSpinner",value:function(){a.u.stop(this.selectors.spinnerEl)}},{key:"onCancel",value:function(){var t=this;this.options.cancelPaymentUrl?(0,r.R)(this.options.cancelPaymentUrl).finally(function(){t.options.cartUrl&&(window.location.href=t.options.cartUrl)}):this.options.cartUrl&&(window.location.href=this.options.cartUrl)}},{key:"bindEvents",value:function(){g(C(f.prototype),"bindEvents",this).call(this)}},{key:"destroy",value:function(){g(C(f.prototype),"destroy",this).call(this),this.hideElement(this.selectors.buttonContainer),o.A.empty(this.selectors.buttonContainer)}}],n&&E(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),f}(i.A)},41536:function(t,e,n){"use strict";n.d(e,{A:function(){return p}});var r=n(91076),o=n(8207);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,u(r.key),r)}}function u(t){var e=function(t){if("object"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==i(e)?e:e+""}
2function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function c(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(c=function(){return!!t})()}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(u,t);var e,n,r=function(t){var e=c();return function(){var n,r=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"==i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}(u);function u(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),r.apply(this,arguments)}return e=u,(n=[{key:"initState",value:function(){this.state.isPaymentValid=!1}},{key:"afterInit",value:function(){this.initPaymentButton(),o.J.emit("checkout:billing:getstatus")}},{key:"onUpdated",value:function(){this.initPaymentButton()}},{key:"validate",value:function(t){this.state.onlyValidation=t&&t.onlyValidation}},{key:"ready",value:function(t){o.J.emit("checkout:payment:ready",t)}},{key:"initPaymentButton",value:function(){this.selectors.buttonContainer&&(this.options.selectedPaymentId&&this.options.selectedPaymentId!==this.options.paymentId?this.hidePaymentButton():this.showPaymentButton())}},{key:"showPaymentButton",value:function(){this.selectors.buttonContainer&&this.showElement(this.selectors.buttonContainer)}},{key:"hidePaymentButton",value:function(){this.selectors.buttonContainer&&this.hideElement(this.selectors.buttonContainer)}},{key:"validatePayment",value:function(){return o.J.emit("checkout:billing:validation"),o.J.emit("checkout:billing:getstatus"),!!this.state.isPaymentValid&&(o.J.emit("checkout:billing:submit"),o.J.emit("checkout:billing:address:submit"),!0)}},{key:"setBillingStatus",value:function(t){this.state.isPaymentValid=t.valid}},{key:"bindEvents",value:function(){o.J.on("payment:validation",this.validate,this),o.J.on("checkout:billing:status",this.setBillingStatus,this)}},{key:"destroy",value:function(){o.J.off("payment:validation",this.validate),o.J.off("checkout:billing:status",this.setBillingStatus),this.hidePaymentButton()}}])&&a(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),u}(r.A)},85504:function(){}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.