PageSourceSearch

https://cdn.lyft.com/lyftcomfe/_next/static/chunks/pages/setup-paypal/[...index]-befeb7e362c81349.js

js lyft.com collected 2026-09-24 08:25:57 UTC 7,393 bytes, 6 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1118],{6071:(t,e,r)=>{"use strict";r.d(e,{kw:()=>p,J6:()=>l,Ay:()=>h});var i=r(37876);r(14232);var n=r(61850),o=r(87856);let s=o.I4.div.withConfig({componentId:"sc-a6eb88a4-0"})(["display:grid;width:100%;box-sizing:border-box;grid-template-columns:0fr 12fr 0fr;gap:",";padding-left:0;padding-right:0;@media screen and (min-width:","px){grid-template-columns:",";gap:",";padding-left:0;padding-right:0;}"],({$widthType:t})=>"maxWidth"!==t?"16px":0,n.GL.m,({$widthType:t})=>"compact"===t?"1fr 10fr 1fr":"0fr 12fr 0fr",({$widthType:t})=>"maxWidth"!==t?"24px":0),d=o.I4.div.withConfig({componentId:"sc-a6eb88a4-1"})(["display:block;@media screen and (min-width:","px){display:block;}"],n.GL.m),a=o.I4.div.withConfig({componentId:"sc-a6eb88a4-2"})(["max-width:100vw;"]),l=({children:t,widthType:e="standard",dataTestId:r})=>(0,i.jsxs)(s,{$widthType:e,"data-testid":r,children:[(0,i.jsx)(d,{"aria-hidden":!0}),(0,i.jsx)(a,{children:t}),(0,i.jsx)(d,{"aria-hidden":!0})]}),p=1,c=(0,o.I4)(n.en).withConfig({componentId:"sc-1e16dd42-0"})(["",";"],({noMargin:t})=>t?`
2    // Remove margin for the last div of this type if noMargin is true
3    & > div:last-of-type {
4        padding-right: 0;
5    }
6    `:""),h=({children:t,removeOffset:e,noMargins:r,offsetColsM:o=p,colsM:s=10,dataTestId:d})=>(0,i.jsxs)(c,{maxWidth:"compact",noMargins:r,"data-testid":d,children:[(0,i.jsx)(n.J2,{cols:0,colsM:e?0:o}),(0,i.jsx)(n.J2,{cols:4,colsM:e?12:s,children:t})]})},6935:(t,e,r)=>{"use strict";r.d(e,{M:()=>i});let i=r(14232).createContext({})},17367:(t,e,r)=>{"use strict";r.d(e,{m:()=>v});var i=r(37876),n=r(15702),o=r(14232),s=r(89099),d=r(14e3),a=r(87856),l=r(61850),p=r(62738),c=r(6071),h=r(60566),u=r(23715),m=r(31047);let g={rider:{androidAppUrl:"https://play.google.com/store/apps/details?id=me.lyft.android",iosAppUrl:"https://apps.apple.com/us/app/lyft/id529379082"},driver:{androidAppUrl:"https://play.google.com/store/apps/details?id=com.lyft.android.driver",iosAppUrl:"https://apps.apple.com/us/app/lyft-driver/id1203077485"}};var x=r(85940);let y={title:x._t("1l21ekf",""),description:x._t("1dhidwg",""),button:x._t("k64fi9","")},f={title:x._t("9ua0e6",""),button:{ios:x._t("1jkuz9k",""),android:x._t("1tg5zey","")}},w=a.Ay.div.withConfig({componentId:"sc-2d4bea75-0"})(["border-radius:8px;background-color:",";display:flex;flex-direction:column;padding:","px;padding-bottom:","px;@media (max-width:","px){padding:","px;padding-bottom:","px;}"],l.ml.cyan5.color,l.l$.three,l.l$.two,l.GL.m-1,l.l$.two,l.l$.one),v=({appType:t,...e})=>{let r,a=(0,s.useRouter)(),x=(0,d.useSearchParams)(),v=Array.isArray(a.query.index)?a.query.index.join("/"):a.query.index||"",b=(()=>{let{devicePlatform:t}=(0,h.bp)();return(0,u.k)(window.navigator.userAgent)})(),j="Android"===b?f.button.android.t():f.button.ios.t(),_=(r=g[t],"Android"===b?r.androidAppUrl:r.iosAppUrl),A=(0,o.useMemo)(()=>[...x.entries()].reduce((t,[e,r])=>(t[e]=r,t),{}),[x]),k=(0,m.xJ)({paypalId:v,appType:t,queryParams:{...A,from_web:"true"}});return(0,i.jsx)(p.A,{...e,baseUrl:"https://www.lyft.com",interactiveColor:"brandInteractive",noIndex:!0,children:(0,i.jsxs)(c.Ay,{children:[(0,i.jsx)(l.Yx,{unit:"three",vertical:!0}),(0,i.jsxs)(w,{children:[(0,i.jsx)(l.pT,{textStyle:"headlineW2",as:"h2",children:y.title.t()}),(0,i.jsx)(l.Yx,{unit:"one",vertical:!0}),(0,i.jsx)(l.pT,{textStyle:"bodyW2",children:y.description.t()}),(0,i.jsx)(l.fu,{href:k,buttonStyle:"secondary",icon:n.hIg,iconPosition:"end",children:y.button.t()})]}),(0,i.jsx)(l.Yx,{unit:"two"}),(0,i.jsxs)(w,{children:[(0,i.jsx)(l.pT,{textStyle:"headlineW2",as:"h2",children:f.title.t()}),(0,i.jsx)(l.fu,{href:_,buttonStyle:"secondary",icon:n.hIg,iconPosition:"end",children:j})]})]})})}},31047:(t,e,r)=>{"use strict";r.d(e,{D4:()=>o,HW:()=>n,xJ:()=>s});var i,n=((i={}).RiderApp="lyft://",i.DriverApp="lyftdriver://",i.RiderPromoPage="lyft://promos",i);let o=t=>`lyft://promos?code=${t}`,s=({appType:t,paypalId:e,queryParams:r})=>{let i=`lyft://setup-paypal/${e}`;if("driver"===t&&(i=`lyftdriver://setup-paypal/${e}`),r){let t=new URLSearchParams("");Object.entries(r).forEach(([e,r])=>{t.append(e,r)}),i=`${i}?${t.toString()}`}return i}},54740:(t,e,r)=>{"use strict";r.d(e,{l:()=>i});let i=t=>{try{let e=new URL(/^\/\/[^/]+\.[^/]/.test(t)?`https:${t}`:t);return e.pathname=e.pathname.replace(/\/+/g,"/"),e.toString()}catch{return t.replace(/(?<!:)\/+/g,"/")}}},57170:(t,e,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/setup-paypal/[...index]",function(){return r(74932)}])},62738:(t,e,r)=>{"use strict";r.d(e,{A:()=>m});var i=r(37876),n=r(14232),o=r(77328),s=r.n(o),d=r(61850),a=r(1317),l=r(6935),p=r(92426),c=r(54740),h=r(80549);class u extends n.Component{componentDidMount(){let{path:t=""}=this.props.data||{},e=t.replace(/[^a-zA-Z0-9-]/g,"_");e="_"===e?"homepage":e,a.f.incr(`${e}.page.loaded`);let{hash:r}=window.location||{};r&&(window.scrollTo(0,0),this.setAnchorScroll(window.location.hash.slice(1))),window.addEventListener("hashchange",this.hashHandler)}componentWillUnmount(){window.removeEventListener("hashchange",this.hashHandler)}render(){let{children:t,componentCookies:e,data:r,query:o,interactiveColor:a,backgroundColor:c,defaultData:u={},noIndex:m}=this.props,{seoConfiguration:g}
6=r,x=r.title||u.title,y=r.description||u.description,f=r.sharingImage||u.sharingImage,w=this.getPageFullUrl(),v=[(0,h.T)(w)],b=(0,h.X)({title:x,description:y,sharingImage:f,url:w,noIndex:m||g?.includes("noindex"),noFollow:g?.includes("nofollow")});return(0,i.jsxs)(d.yo,{interactiveColor:a||"brandInteractive",backgroundColor:c,textColor:"textPrimary",linkHoverColor:"textPrimary",children:[(0,i.jsxs)(s(),{children:[(0,i.jsx)("title",{children:x}),b.map(t=>(0,i.jsx)("meta",{...t,"data-testid":"meta-tag"},JSON.stringify(t))),v.map(t=>(0,n.createElement)("link",{...t,key:t.key||JSON.stringify(t),"data-testid":"canonical-link"}))]}),(0,i.jsx)(p.$l.Provider,{value:o,children:(0,i.jsx)(l.M.Provider,{value:e,children:t})})]})}constructor(...t){super(...t),this.hashHandler=()=>this.setAnchorScroll(window.location.hash.slice(1)),this.setAnchorScroll=t=>{let e=document.getElementById(t),{headerHeight:r=0}=this.props;if(e){let t=e.getBoundingClientRect(),i=window.pageYOffset+t.top-r;setTimeout(()=>window.scrollTo(window.pageXOffset,i),0)}},this.getPageFullUrl=()=>{let{baseUrl:t,canonicalPath:e,data:r}=this.props;return(0,c.l)(`${t}/${e??r.path}`)}}}let m=u},74932:(t,e,r)=>{"use strict";r.r(e),r.d(e,{__N_SSP:()=>n,default:()=>o});var i=r(17367),n=!0;let o=i.m},80549:(t,e,r)=>{"use strict";r.d(e,{T:()=>i,X:()=>n});let i=t=>({rel:"canonical",href:t,key:"canonical"});function n({title:t,description:e,url:r,sharingImage:i,noIndex:o,noFollow:s}){let d=[];if(t&&(d.push({property:"og:title",content:t}),d.push({property:"twitter:title",content:t})),e&&(d.push({name:"description",content:e}),d.push({property:"og:description",content:e}),d.push({property:"twitter:description",content:e})),r&&d.push({property:"og:url",content:r}),i?.src){let t=i.src.startsWith("//")?`https:${i.src}`:i.src;d.push({property:"og:image",content:t}),d.push({property:"twitter:card",content:"summary_large_image"}),d.push({property:"twitter:image",content:t})}let a=[];return o&&a.push("noindex"),s&&a.push("nofollow"),a.length>0&&d.push({name:"robots",content:a.join(", ")}),d}}},t=>{t.O(0,[636,6593,8792],()=>t(t.s=57170)),_N_E=t.O()}]);

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.