1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[81529],{156:t=>{var e=function(t){var e;return!!t&&"object"==typeof t&&"[object RegExp]"!==(e=Object.prototype.toString.call(t))&&"[object Date]"!==e&&t.$$typeof!==r},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(t,e){return!1!==e.clone&&e.isMergeableObject(t)?a(Array.isArray(t)?[]:{},t,e):t}function n(t,e,r){return t.concat(e).map(function(t){return i(t,r)})}function o(t){return Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[])}function s(t,e){try{return e in t}catch(t){return!1}}function a(t,r,l){(l=l||{}).arrayMerge=l.arrayMerge||n,l.isMergeableObject=l.isMergeableObject||e,l.cloneUnlessOtherwiseSpecified=i;var c,d,u=Array.isArray(r);return u!==Array.isArray(t)?i(r,l):u?l.arrayMerge(t,r,l):(d={},(c=l).isMergeableObject(t)&&o(t).forEach(function(e){d[e]=i(t[e],c)}),o(r).forEach(function(e){(!s(t,e)||Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))&&(s(t,e)&&c.isMergeableObject(r[e])?d[e]=(function(t,e){if(!e.customMerge)return a;var r=e.customMerge(t);return"function"==typeof r?r:a})(e,c)(t[e],r[e],c):d[e]=i(r[e],c))}),d)}a.all=function(t,e){if(!Array.isArray(t))throw Error("first argument should be an array");return t.reduce(function(t,r){return a(t,r,e)},{})},t.exports=a},795:(t,e,r)=>{r.d(e,{A:()=>n});var i=r(707);class n{static isNode(t){return"object"==typeof t&&null!==t&&(t===document||t===window||t instanceof Node)}static hasAttribute(t,e){if(!n.isNode(t))throw Error("The element must be a valid HTML Node!");return"function"==typeof t.hasAttribute&&t.hasAttribute(e)}static getAttribute(t,e){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(r&&!1===n.hasAttribute(t,e))throw Error(`The required property "${e}" does not exist!`);if("function"!=typeof t.getAttribute){if(r)throw Error("This node doesn't support the getAttribute function!");return}return t.getAttribute(e)}static getDataAttribute(t,e){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=e.replace(/^data(|-)/,""),s=i.A.toLowerCamelCase(o,"-");if(!n.isNode(t)){if(r)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===t.dataset){if(r)throw Error("This node doesn't support the dataset attribute!");return}let a=t.dataset[s];if(void 0===a){if(r)throw Error(`The required data attribute "${e}" does not exist on ${t}!`);return a}return i.A.parsePrimitive(a)}static querySelector(t,e){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(r&&!n.isNode(t))throw Error("The parent node is not a valid HTML Node!");let i=t.querySelector(e)||!1;if(r&&!1===i)throw Error(`The required element "${e}" does not exist in parent node!`);return i}static querySelectorAll(t,e){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(r&&!n.isNode(t))throw Error("The parent node is not a valid HTML Node!");let i=t.querySelectorAll(e);if(0===i.length&&(i=!1),r&&!1===i)throw Error(`At least one item of "${e}" must exist in parent node!`);return i}static getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body,e=` 2 input:not([tabindex^="-"]):not([disabled]):not([type="hidden"]), 3 select:not([tabindex^="-"]):not([disabled]), 4 textarea:not([tabindex^="-"]):not([disabled]), 5 button:not([tabindex^="-"]):not([disabled]), 6 a[href]:not([tabindex^="-"]):not([disabled]), 7 [tabindex]:not([tabindex^="-"]):not([disabled]) 8 `;return t.querySelectorAll(e)}static getFirstFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return this.getFocusableElements(t)[0]}static getLastFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=this.getFocusableElements(t);return e[e.length-1]}}},707:(t,e,r)=>{r.d(e,{A:()=>i});class i{static ucFirst(t){return t.charAt(0).toUpperCase()+t.slice(1)}static lcFirst(t){return t.charAt(0).toLowerCase()+t.slice(1)}static toDashCase(t){return t.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(t,e){let r=i.toUpperCamelCase(t,e);return i.lcFirst(r)}static toUpperCamelCase(t,e){return e?t.split(e).map(t=>i.ucFirst(t.toLowerCase())).join(""):i.ucFirst(t.toLowerCase())}static parsePrimitive(t){try{return/^\d+(.|,)\d+$/.test(t)&&(t=t.replace(",",".")),JSON.parse(t)}catch(e){return t.toString()}}}},737:(t,e,r)=>{r.d(e,{A:()=>a});var i=r(156),n=r.n(i),o=r(707);class s{constructor(t=document){this._el=t,t.$emitter=this,this._listeners=[]}publish(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new CustomEvent(t,{detail:e,cancelable:r});return this.el.dispatchEvent(i),i}subscribe(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this,n=t.split("."),o=r.scope?e.bind(r.scope):e;if(r.once&&!0===r.once){let e=o;o=function(r){i.unsubscribe(t),e(r)}}return this.el.addEventListener(n[0],o),this.listeners.push({splitEventName:n,opts:r,cb:o}),!0}unsubscribe(t){let e=t.split(".");return this.listeners=this.listeners.reduce((t,r)=>([...r.splitEventName].sort().toString()===e.sort().toString()?this.el.removeEventListener(r.splitEventName[0],r.cb):t.push(r),t),[]),!0}
8reset(){return this.listeners.forEach(t=>{this.el.removeEventListener(t.splitEventName[0],t.cb)}),this.listeners=[],!0}get el(){return this._el}set el(t){this._el=t}get listeners(){return this._listeners}set listeners(t){this._listeners=t}}class a{constructor(t,e={},r=!1){if(!(t instanceof Node))throw Error("There is no valid element given.");this.el=t,this.$emitter=new s(this.el),this._pluginName=this._getPluginName(r),this.options=this._mergeOptions(e),this._initialized=!1,this._registerInstance(),this._init()}init(){throw Error(`The "init" method for the plugin "${this._pluginName}" is not defined.`)}update(){}_init(){this._initialized||(this.init(),this._initialized=!0)}_update(){this._initialized&&this.update()}_mergeOptions(t){let e=[this.constructor.options,this.options,t];return e.push(this._getConfigFromDataAttribute()),e.push(this._getOptionsFromDataAttribute()),n().all(e.filter(t=>t instanceof Object&&!(t instanceof Array)).map(t=>t||{}))}_getConfigFromDataAttribute(){let t={};if("function"!=typeof this.el.getAttribute)return t;let e=o.A.toDashCase(this._pluginName),r=this.el.getAttribute(`data-${e}-config`);return r?window.PluginConfigManager.get(this._pluginName,r):t}_getOptionsFromDataAttribute(){let t={};if("function"!=typeof this.el.getAttribute)return t;let e=o.A.toDashCase(this._pluginName),r=this.el.getAttribute(`data-${e}-options`);if(r)try{return JSON.parse(r)}catch(t){console.error(`The data attribute "data-${e}-options" could not be parsed to json: ${t.message}`)}return t}_registerInstance(){window.PluginManager.getPluginInstancesFromElement(this.el).set(this._pluginName,this),window.PluginManager.getPlugin(this._pluginName,!1).get("instances").push(this)}_getPluginName(t){return t||(t=this.constructor.name),t}}},68:(t,e,r)=>{r.d(e,{A:()=>i});class i{constructor(){this._request=null,this._errorHandlingInternal=!1}get(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json",i=this._createPreparedRequest("GET",t,r);return this._sendRequest(i,null,e)}post(t,e,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";i=this._getContentType(e,i);let n=this._createPreparedRequest("POST",t,i);return this._sendRequest(n,e,r)}delete(t,e,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";i=this._getContentType(e,i);let n=this._createPreparedRequest("DELETE",t,i);return this._sendRequest(n,e,r)}patch(t,e,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";i=this._getContentType(e,i);let n=this._createPreparedRequest("PATCH",t,i);return this._sendRequest(n,e,r)}
8abort(){if(this._request)return this._request.abort()}setErrorHandlingInternal(t){this._errorHandlingInternal=t}_registerOnLoaded(t,e){e&&(!0===this._errorHandlingInternal?(t.addEventListener("load",()=>{e(t.responseText,t)}),t.addEventListener("abort",()=>{console.warn(`the request to ${t.responseURL} was aborted`)}),t.addEventListener("error",()=>{console.warn(`the request to ${t.responseURL} failed with status ${t.status}`)}),t.addEventListener("timeout",()=>{console.warn(`the request to ${t.responseURL} timed out`)})):t.addEventListener("loadend",()=>{e(t.responseText,t)}))}_sendRequest(t,e,r){return this._registerOnLoaded(t,r),t.send(e),t}_getContentType(t,e){return t instanceof FormData&&(e=!1),e}_createPreparedRequest(t,e,r){return this._request=new XMLHttpRequest,this._request.open(t,e),this._request.setRequestHeader("X-Requested-With","XMLHttpRequest"),r&&this._request.setRequestHeader("Content-type",r),this._request}}},724:(t,e,r)=>{r.d(e,{A:()=>o});var i=r(683);let n="element-loader-backdrop";class o extends i.A{static create(t){t.classList.add("has-element-loader"),o.exists(t)||(o.appendLoader(t),setTimeout(()=>{let e=t.querySelector(`.${n}`);e&&e.classList.add("element-loader-backdrop-open")},1))}static remove(t){t.classList.remove("has-element-loader");let e=t.querySelector(`.${n}`);e&&e.remove()}static exists(t){return t.querySelectorAll(`.${n}`).length>0}static getTemplate(){return` 9 <div class="${n}"> 10 <div class="loader" role="status"> 11 <span class="visually-hidden">Loading...</span> 12 </div> 13 </div> 14 `}static appendLoader(t){t.insertAdjacentHTML("beforeend",o.getTemplate())}}},683:(t,e,r)=>{r.d(e,{A:()=>o});let i="loader",n={BEFORE:"before",INNER:"inner"};class o{constructor(t,e=n.BEFORE){this.parent=t instanceof Element?t:document.body.querySelector(t),this.position=e}create(){if(!this.exists()){if(this.position===n.INNER){this.parent.innerHTML=o.getTemplate();return}this.parent.insertAdjacentHTML(this._getPosition(),o.getTemplate())}}remove(){this.parent.querySelectorAll(`.${i}`).forEach(t=>t.remove())}exists(){return this.parent.querySelectorAll(`.${i}`).length>0}_getPosition(){return this.position===n.BEFORE?"afterbegin":"beforeend"}static getTemplate(){return`<div class="${i}" role="status"> 15 <span class="visually-hidden">Loading...</span> 16 </div>`}static SELECTOR_CLASS(){return i}}},529:(t,e,r)=>{r.r(e),r.d(e,{default:()=>a});var i=r(68),n=r(795),o=r(724),s=r(198);class a extends s.A{static #t=this.options={...super.options,buttonColor:"gold",disabledClass:"is-disabled",buyButtonSelector:".btn-buy",tagline:!1,addProductToCart:!1,contextSwitchUrl:"",payPalPaymentMethodId:"",deleteCartUrl:"",prepareCheckoutUrl:"",checkoutConfirmUrl:"",cancelRedirectUrl:"",fundingSources:[],useAlternativePaymentMethods:!0,commit:!1,scriptAwaitVisibility:!0,partOfDomContentLoading:!1,isCheckout:!0};init(){this._client=new i.A,this.createButton()}createButton(){this.createScript(t=>{try{this.renderButton(t)}catch(t){this.handleError(this.SCRIPT_ERROR,!0,t)}})}renderButton(t){this.options.fundingSources.forEach(e=>{try{let r=t.Buttons(this.getButtonConfig(e));r.isEligible()&&r.render(this.el)}catch(t){this.handleError(this.SCRIPT_ERROR,!0,`Error while rendering express button for "${e}": ${t}`)}})}getBuyButtonState(){if(!this.options.addProductToCart)return{element:null,disabled:!1};let t=n.A.querySelector(this.el.closest("form"),this.options.buyButtonSelector);return{element:t,disabled:t.disabled}}observeBuyButton(t,e,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{attributes:!0},n=new MutationObserver(t=>{t.forEach(t=>{if("disabled"===t.attributeName){let{disabled:t}=this.getBuyButtonState();if(t){r();return}e()}})});return n.observe(t,i),n}getButtonConfig(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"paypal",e=this.el,{element:r,disabled:i}=this.getBuyButtonState();return{fundingSource:t,onInit:(t,n)=>{if(!this.options.addProductToCart)return;let o=()=>{n.enable(),e.classList.remove(this.options.disabledClass)},s=()=>{n.disable(),e.classList.add(this.options.disabledClass)};if(this.observeBuyButton(r,o,s),i){s();return}o()},style:{size:this.options.buttonSize,shape:this.options.buttonShape,color:"venmo"===t&&"gold"===this.options.buttonColor?"blue":this.options.buttonColor,tagline:this.options.tagline,layout:"vertical",label:"checkout",height:40},createOrder:this.createOrder.bind(this),onApprove:this.onApprove.bind(this),onCancel:this.onCancel.bind(this),onError:this.onError.bind(this)}}createOrder(){let t={paymentMethodId:this.options.payPalPaymentMethodId,deleteC
16art:this.options.addProductToCart};return new Promise((e,r)=>{this._client.post(this.options.contextSwitchUrl,JSON.stringify(t),(t,i)=>(i.status>=400&&r(t),Promise.resolve().then(()=>this.options.addProductToCart?this.addProductToCart():Promise.resolve()).then(()=>this._createOrder()).then(t=>{e(t)}).catch(t=>{r(t)})))})}_createOrder(){return new Promise((t,e)=>{this._client.post(this.options.createOrderUrl,new FormData,(r,i)=>{i.status>=400&&e(r);try{let e=JSON.parse(r);t(e.token)}catch(t){e(t)}})})}addProductToCart(){let t=this.el.closest("form"),e=n.A.querySelector(t,this.options.buyButtonSelector),r=window.PluginManager.getPluginInstanceFromElement(t,"AddToCart");return new Promise(t=>{r.$emitter.subscribe("openOffCanvasCart",()=>{t()}),e.click()})}onApprove(t,e){let r={token:t.orderID};o.A.create(document.body),this._client.post(this.options.prepareCheckoutUrl,JSON.stringify(r),(t,r)=>r.status<400?e.redirect(this.options.checkoutConfirmUrl):this.onError())}onErrorHandled(t){t===this.USER_CANCELLED&&(window.scrollTo(0,0),window.location=this.options.cancelRedirectUrl)}constructor(...t){super(...t),this.GENERIC_ERROR="SWAG_PAYPAL__EXPRESS_GENERIC_ERROR",this.USER_CANCELLED="SWAG_PAYPAL__EXPRESS_USER_CANCELLED"}}},198:(t,e,r)=>{r.d(e,{A:()=>n});var i=r(310);class n extends i.A{static #t=this.options={...super.options,buttonColor:null,buttonShape:"sharp",buttonSize:"small",createOrderUrl:"",handleErrorUrl:""};handleError(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;r instanceof Error&&(r=String(r)),r&&"string"!=typeof r&&(r=JSON.stringify(r));let i=this._extractErrorCode(r);if(i&&(t=i),!this.options.handleErrorUrl){console.error(`PayPal ${e?"fatal ":""}error occurred: ${t} - ${String(r??"")}`);return}let n=!!this.options.isCheckout;this._client.post(this.options.handleErrorUrl,JSON.stringify({code:t,error:r,fatal:e,isCheckout:n}),()=>{this.onErrorHandled(t,e,r,n)})}onErrorHandled(t,e,r){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];i&&(window.scrollTo(0,0),window.location.reload())}onFatalError(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.handleError(this.GENERIC_ERROR,!0,t)}onError(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.handleError(this.GENERIC_ERROR,!1,t)}onCancel(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.handleError(this.USER_CANCELLED,!1,t)}_extractErrorCode(t){try{let e=JSON.parse(t)?.errors;if(!Array.isArray(e))return null;for(let t of e)if("object"==typeof t&&"string"==typeof t.code)return t.code}catch{}return null}constructor(...t){super(...t),this.GENERIC_ERROR="SWAG_PAYPAL__GENERIC_ERROR",this.NOT_ELIGIBLE="SWAG_PAYPAL__NOT_ELIGIBLE",this.USER_CANCELLED="SWAG_PAYPAL__USER_CANCELLED",this.BROWSER_UNSUPPORTED="SWAG_PAYPAL__BROWSER_UNSUPPORTED",this.SCRIPT_ERROR="SWAG_PAYPAL__SCRIPT_ERROR",this.SCRIPT_NOT_LOADED="SWAG_PAYPAL__SCRIPT_NOT_LOADED"}}},310:(t,e,r)=>{r.d(e,{A:()=>a});var i=r(737);function n(t,e){void 0===e&&(e={});var r=document.createElement("script");return r.src=t,Object.keys(e).forEach(function(t){r.setAttribute(t,e[t]),"data-csp-nonce"===t&&r.setAttribute("nonce",e["data-csp-nonce"])}),r}function o(t,e){if("object"!=typeof t||null===t)throw Error("Expected an options object.");var r=t.environment;if(r&&"production"!==r&&"sandbox"!==r)throw Error('The `environment` option must be either "production" or "sandbox".');if(void 0!==e&&"function"!=typeof e)throw Error("Expected PromisePonyfill to be a function.")}"function"==typeof SuppressedError&&SuppressedError;let s=["card","bancontact","blik","eps","giropay","ideal","mybank","p24","sepa","sofort","venmo"];class a extends i.A{static #t=this.options={clientId:"",clientToken:"",merchantPayerId:"",partnerAttributionId:"",currency:"EUR",intent:"capture",commit:!0,languageIso:"en_GB",showPayLater:!0,useAlternativePaymentMethods:!0,disabledAlternativePaymentMethods:[],userIdToken:null,scriptAwaitVisibility:!1,partOfDomContentLoading:!0};static #e=this.scriptPromises={};static #r=this.paypal={};_init(){this.options.partOfDomContentLoading||"complete"===document.readyState?super._init():window.addEventListener("load",()=>{super._init()})}get scriptOptionsHash(){return JSON.stringify(this.getScriptOptions())}async createScript(t){a.scriptPromises[this.scriptOptionsHash]??=this._loadScript();let e=async()=>{t(await a.scriptPromises[this.scriptOptionsHash])};this.options.scriptAwaitVisibility?await this._awaitVisibility(e):await e()}async _awaitVisibility(t){let e=new IntersectionObserver(r=>{let[i]=r;i.isIntersecting&&(e.disconnect(),t())},{rootMargin:"200px"});e.observe(this.el)}async _loadScript(){return a.paypal[this.scriptOptionsHash]=await function(t,e){if(void 0===e&&(e=Promise),o(t,e),"undefined"==typeof document)return e.resolve(null);var r,i,s,a,l,c,d,u,h=(i=t.sdkBaseUrl,s=t.environment,a=/*! 17 * paypal-js v9.3.0 (2026-02-20T21:23:36.751Z) 18 * Copyright 2020-present, PayPal, Inc. All rights reserved. 19 * 20 * Licensed under the Apache License, Version 2.0 (the "License");
21 * you may not use this file except in compliance with the License. 22 * You may obtain a copy of the License at 23 * 24 * http://www.apache.org/licenses/LICENSE-2.0 25 * 26 * Unless required by applicable law or agreed to in writing, software 27 * distributed under the License is distributed on an "AS IS" BASIS, 28 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 29 * See the License for the specific language governing permissions and 30 * limitations under the License. 31 */function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>e.indexOf(i)&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(t);n<i.length;n++)0>e.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(r[i[n]]=t[i[n]]);return r}(t,["sdkBaseUrl","environment"]),l=i||("sandbox"===s?"https://www.sandbox.paypal.com/sdk/js":"https://www.paypal.com/sdk/js"),d=(c=Object.keys(a).filter(function(t){return void 0!==a[t]&&null!==a[t]&&""!==a[t]}).reduce(function(t,e){var r=a[e].toString();return"data"===(e=e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,function(t,e){return(e?"-":"")+t.toLowerCase()})).substring(0,4)||"crossorigin"===e?t.attributes[e]=r:t.queryParams[e]=r,t},{queryParams:{},attributes:{}})).queryParams,u=c.attributes,d["merchant-id"]&&-1!==d["merchant-id"].indexOf(",")&&(u["data-merchant-id"]=d["merchant-id"],d["merchant-id"]="*"),{url:"".concat(l,"?").concat((r="",Object.keys(d).forEach(function(t){0!==r.length&&(r+="&"),r+=t+"="+d[t]}),r)),attributes:u}),p=h.url,b=h.attributes,g=b["data-namespace"]||"paypal",f=window[g];return(b["data-js-sdk-library"]||(b["data-js-sdk-library"]="paypal-js"),function(t,e){var r=document.querySelector('script[src="'.concat(t,'"]'));if(null===r)return null;var i=n(t,e),o=r.cloneNode();if(delete o.dataset.uidAuto,Object.keys(o.dataset).length!==Object.keys(i.dataset).length)return null;var s=!0;return Object.keys(o.dataset).forEach(function(t){o.dataset[t]!==i.dataset[t]&&(s=!1)}),s?r:null}(p,b)&&f)?e.resolve(f):(function(t,e){void 0===e&&(e=Promise),o(t,e);var r=t.url,i=t.attributes;if("string"!=typeof r||0===r.length)throw Error("Invalid url.");if(void 0!==i&&"object"!=typeof i)throw Error("Expected attributes to be an object.");return new e(function(t,e){var o,s,a,l,c,d;if("undefined"==typeof document)return t();s=(o={url:r,attributes:i,onSuccess:function(){return t()},onError:function(){return e(Error('The script "'.concat(r,'" failed to load. Check the HTTP status code and response body in DevTools to learn more.')))}}).url,a=o.attributes,l=o.onSuccess,c=o.onError,(d=n(s,a)).onerror=c,d.onload=l,document.head.insertBefore(d,document.head.firstElementChild)})})({url:p,attributes:b},e).then(function(){var t=window[g];if(t)return t;throw Error("The window.".concat(g," global variable is not available."))})}(this.getScriptOptions()),delete window.paypal,a.paypal[this.scriptOptionsHash]}getScriptOptions(){let t={components:"buttons,messages,card-fields,funding-eligibility,applepay,googlepay","client-id":this.options.clientId,commit:!!this.options.commit,locale:this.options.languageIso,currency:this.options.currency,intent:this.options.intent,"enable-funding":"paylater,venmo"};return(this.options.disablePayLater||!1===this.options.showPayLater)&&(t["enable-funding"]="venmo"),!1===this.options.useAlternativePaymentMethods?t["disable-funding"]=s.join(","):this.options.disabledAlternativePaymentMethods.length>0&&(t["disable-funding"]=this.options.disabledAlternativePaymentMethods.join(",")),this.options.merchantPayerId&&(t["merchant-id"]=this.options.merchantPayerId),this.options.clientToken&&(t["data-client-token"]=this.options.clientToken),this.options.userIdToken&&(t["data-user-id-token"]=this.options.userIdToken),this.options.partnerAttributionId&&(t["data-partner-attribution-id"]=this.options.partnerAttributionId),t}}}}]);
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.