PageSourceSearch

https://app.eventpage.ai/chunk-FKLKQXEP.js

js eventpage.ai collected 2026-10-01 16:18:51 UTC 1,555 bytes, 2 lines download raw bytes

1import{j as d}from"./chunk-JEYBAYD4.js";import{b as s}from"./chunk-Z2MDTFY3.js";import{ka as c,pa as p}from"./chunk-4IVTWYCS.js";var u=function(i){return i.PERSONAL="PERSONAL",i.COMPANY="COMPANY",i}(u||{});var v=(()=>{let e=class e{constructor(t){this.api=t,this.clientId=s.payPalClientId,this.scriptLoaded=!1,this.scriptLoadingPromise=null,this.scriptSrc="",this.scriptElement=null}loadPayPalScript(t,n){let a="";t&&(a+=`&merchant-id=${t}`),n&&(a+=`&currency=${n.toUpperCase()}`);let o=`https://www.paypal.com/sdk/js?components=buttons,card-fields&client-id=${this.clientId}${a}`;return this.scriptLoaded&&this.scriptSrc===o?Promise.resolve():this.scriptLoadingPromise&&this.scriptSrc===o?this.scriptLoadingPromise:(this.scriptElement?.remove(),window.paypal=void 0,this.scriptLoaded=!1,this.scriptSrc=o,this.scriptLoadingPromise=new Promise((l,h)=>{let r=document.createElement("script");r.src=o,r.async=!0,r.onload=()=>{this.scriptLoaded=!0,l()},r.onerror=m=>{this.scriptLoadingPromise=null,h(m)},this.scriptElement=r,document.body.appendChild(r)}),this.scriptLoadingPromise)}initiatePayPalConnect(t){return this.api.post(`${s.api}/paypal/connect/initiate`,{eventId:t})}disconnectPayPal(t){return this.api.post(`${s.api}/paypal/disconnect`,{eventId:t})}refreshAccountStatus(t){return this.api.put(`${s.api}/paypal/refresh-account-status`,{eventId:t})}};e.\u0275fac=function(n){return new(n||e)(p(d))},e.\u0275prov=c({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();export{u as a,v as b};
2//# sourceMappingURL=chunk-FKLKQXEP.js.map

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.