PageSourceSearch

https://looke.com.br/content/paypal-bundle.js?20260629

js looke.com.br collected 2026-09-24 09:31:52 UTC 1,343 bytes, 1 lines download raw bytes

1let paypalHelper={init:(n,t,i,r,u,f)=>{r==="vault"?setVault(n,t,i,u,f):r==="checkout"?setCheckout(n,t,i,u,f):alert("config vault")}},setCheckout=(n,t,i,r,u)=>{braintree.client.create({authorization:n},function(n,f){if(n){console.error("Error creating client:",n);return}braintree.paypalCheckout.create({client:f},function(n,f){if(n){console.error("Error creating PayPal Checkout:",n);return}paypal.Button.render({env:"sandbox",commit:!0,payment:function(){return f.createPayment({flow:"checkout",amount:i,currency:"BRL"})},onAuthorize:function(n){return f.tokenizePayment(n,function(n,t){r(t)})},onCancel:function(n){console.log("checkout.js payment cancelled",JSON.stringify(n,0,2))},onError:function(n){u(n)}},t)})})},setVault=(n,t,i,r)=>{braintree.client.create({authorization:n}).then(function(n){return braintree.paypalCheckout.create({client:n})}).then(function(n){return paypal.Button.render({env:"sandbox",payment:function(){return n.createPayment({flow:"vault",amount:i,billingAgreementDescription:"Your agreement description"})},onAuthorize:function(t){return n.tokenizePayment(t).then(function(n){r(n)})},onCancel:function(n){console.log("checkout.js payment cancelled",JSON.stringify(n,0,2))},onError:function(n){console.error("checkout.js error",n)}},t)}).then(function(){console.log("ready")}).catch(function(n){console.log(n)})}

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.