PageSourceSearch

https://www.starbucks.ca/app-assets/paypal-insterstitial.25e21522b62cf4796949.chunk.js

js starbucks.ca collected 2026-10-02 03:42:08 UTC 2,053 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunkcore||=[]).push([[6254],{49431(a,e,l){l.r(e),l.d(e,{default:()=>j});var t=l(74848),n=l(96540),s=l(38401),i=l(14671),p=l(57413),d=l(21204),o=l(88573),r=l(31354),c=l(71468),y=l(93045),h=l(90857),u=l(79461),g=l(30742),b=l(20951),x=l(94058);const m=()=>{const a=(0,c.wA)(),e=(0,c.d4)(h.Jw),l=(0,c.d4)(u.Pb),s=(0,c.d4)(g.x),i=e??"/account/payment-method";return(0,n.useEffect)(()=>{l&&(()=>{let e=null;paypal.Buttons({createBillingAgreement:()=>a((0,b.Yg)()).then(l=>(a((0,b.Jo)(b.g3)),e=l.transactionId,l.billingToken)),onApprove:l=>{a((0,b.mR)(l.billingToken,e)).then(()=>{a((0,b.Jo)(b.QM)),a((0,b.CH)()).then(()=>{i&&a((0,y.VC)(i))})}).catch(()=>{a((0,b.Jo)(b.QM))})},onCancel:()=>{a((0,b.Jo)(b.QM))},style:{layout:"vertical",color:"white",shape:"rect",label:"paypal",tagline:!1,height:40}}).render("#paypal-button-container")})(),l||a((0,u.k0)(s))},[l,a,s]),l?(0,t.jsx)(p.yU,{animation:"fade",children:(0,t.jsx)("div",{className:"paypalContainer___WAHlz","data-e2e":"paypalButtonContainer",id:"paypal-button-container"})}):(0,t.jsx)(x.A,{})},P=(0,s.YK)({paypalEnableLabel:{id:"addPaymentMethod.paypalEnableLabel",defaultMessage:"Enable PayPal"},paypalPageTitle:{id:"addPaymentMethod.paypalPageTitle",defaultMessage:"PayPal"},paypalInstruction:{id:"addPaymentMethod.paypalInstruction",defaultMessage:"Link your PayPal account to preload and pay or pay directly."}}),j=()=>{const{formatMessage:a}=(0,s.tz)();return(0,d.A)(),(0,t.jsx)(r.A,{children:(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)(i.A,{children:a(P.paypalPageTitle)}),(0,t.jsx)(p.Mx,{className:"py5 lg-py9",size:"lg",children:(0,t.jsxs)("div",{children:[(0,t.jsx)(o.A,{className:"text-md text-bold",size:"lg",children:(0,t.jsx)(s.sA,{...P.paypalPageTitle})}),(0,t.jsx)("div",{className:"pt3 pb5 text-sm",children:(0,t.jsx)(s.sA,{...P.paypalInstruction})}),(0,t.jsx)("div",{"aria-label":a(P.paypalEnableLabel),"data-e2e":"enablePaypalButton",children:(0,t.jsx)(m,{})})]})})]})})}}}]);
2//# sourceMappingURL=paypal-insterstitial.25e21522b62cf4796949.chunk.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.