PageSourceSearch

https://petsapp.com/_next/static/chunks/pages/download-9a14326be209e2eaf1b9.js

js petsapp.com collected 2026-10-02 14:33:12 UTC 8,625 bytes, 2 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[34],{"4chd":function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/download",function(){return n("ndSh")}])},"8n9Z":function(e,t,n){"use strict";var r=n("nKUr"),o=n("wx14"),i=n("Ff2n"),c=n("q1tI"),a=n("IEok"),s=n("q996"),d=n("aNv/"),l=function(e,t){var n=e.leftIcon,c=e.rightIcon,l=e.label,p=e.register,u=e.errors,b=Object(i.a)(e,["leftIcon","rightIcon","label","register","errors"]),h=p||{},j=h.name,f=void 0===j?"":j,x=Object(i.a)(h,["name"]),g=f||l;return Object(r.jsxs)(a.a,{gap:"8px",children:[Object(r.jsxs)(a.c,{error:!!u,id:"InputComponent_Wrapper",children:[n,Object(r.jsx)(a.b,Object(o.a)({},b,{name:g},x,{ref:t})),c]}),u&&Object(r.jsx)(s.d,{textColor:d.a.redDark,children:u.message})]})};t.a=Object(c.memo)(Object(c.forwardRef)(l))},EwCL:function(e,t,n){"use strict";var r=n("wgrO");n.o(r,"Input")&&n.d(t,"Input",(function(){return r.Input})),n.o(r,"InputWrapper")&&n.d(t,"InputWrapper",(function(){return r.InputWrapper}));var o=n("IEok");n.d(t,"Input",(function(){return o.b})),n.d(t,"InputWrapper",(function(){return o.c}));var i=n("8n9Z");n.d(t,"default",(function(){return i.a}))},IEok:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return d}));var r=n("vOnD"),o=n("aNv/"),i=n("q996"),c=n("PK1m"),a=r.c.div.withConfig({displayName:"inputstyles__InputWrapper",componentId:"sc-12bcwmv-0"})(["font-family:",";padding:8px 12px;border:",";box-sizing:border-box;border-radius:8px;display:flex;align-items:center;"],o.c.fontFamily,(function(e){return e.error?"1px solid "+o.a.red:"1px solid "+o.a.greyLight})),s=Object(r.c)(c.b).withConfig({displayName:"inputstyles__Container",componentId:"sc-12bcwmv-1"})([""]),d=r.c.input.withConfig({displayName:"inputstyles__Input",componentId:"sc-12bcwmv-2"})(["background-color:transparent;border-radius:8px;border:none;box-sizing:border-box;outline:none;width:100%;font-family:",";font-size:",";font-weight:",";line-height:",";color:",";"],i.m,Object(i.o)(20),i.n,Object(i.o)(28),o.a.greyDark)},Pcw7:function(e,t,n){"use strict";var r=n("wx14"),o=n("nKUr"),i=n("Ff2n"),c=n("q1tI"),a=n("Aiso"),s=n.n(a),d=n("EwCL"),l=n("824Q"),p=n("20a2"),u=n("P5VN"),b=n("TTMU"),h=n("q996"),j=n("aNv/"),f=n("PK1m"),x=function(e,t){var n,a=e.errors,x=e.setCode,g=e.defaultValue,m=e.styles,O=Object(i.a)(e,["errors","setCode","defaultValue","styles"]),w=Object(c.useRef)(),v=Object(p.useRouter)(),y=Object(u.a)(v.locale,"locale"),C=l.a.filter((function(e){return e.code===(null==g?void 0:g.code)}))[0],_=v.query.country;if(_){var I=l.a.find((function(e){return e.countryCode===_}));I&&(n=I)}var N=Object(c.useState)(!1),k=N[0],E=N[1],S=Object(c.useState)(null),T=S[0],P=S[1];Object(c.useEffect)((function(){if(null!=g&&g.code&&null!=g&&g.phone)P(C),x(C.countryCode);else if(n)P(n),x(n.countryCode);else{var e=l.a.filter((function(e){return e.name===y.name}))[0];x(e.countryCode),P(e)}}),[n]);var A=function(e){var t,n;null!=(t=w.current)&&t.contains(e.target)||(n=e,E(!1),n&&n.stopPropagation())};Object(c.useEffect)((function(){return k&&document.addEventListener("mousedown",A),function(){document.removeEventListener("mousedown",A)}}),[k]);return T?Object(o.jsx)(b.c,{children:Object(o.jsxs)(b.g,{filled:a,style:m,children:[Object(o.jsxs)(b.b,{onClick:function(){return E(!k)},children:[Object(o.jsx)(b.e,{children:Object(o.jsx)(s.a,{width:24,height:24,src:null==T?void 0:T.flag})}),Object(o.jsx)(h.b,{textColor:j.a.greyDark,style:{width:"100%"},children:null==T?void 0:T.code}),Object(o.jsx)(b.a,{children:Object(o.jsx)(s.a,{width:12,height:7,src:"/illustrations/arrow-down.svg"})})]}),k&&Object(o.jsx)(f.a,{ref:w,children:l.a.map((function(e){return Object(o.jsxs)(b.d,{onClick:function(){return function(e){x(e.countryCode),P(e),E(!1)}(e)},children:[Object(o.jsx)(b.e,{children:Object(o.jsx)(s.a,{width:24,height:24,src:e.flag})}),Object(o.jsx)(h.b,{textColor:j.a.greyDark,children:null==e?void 0:e.name}),Object(o.jsx)(h.b,{children:null==e?void 0:e.code})]},e.id)}))}),Object(o.jsx)(b.f,{children:Object(o.jsx)(d.default,Object(r.a)({ref:t,type:"tel",style:{height:"30px"},defaultValue:null==g?void 0:g.phone},O))})]})}):null};t.a=Object(c.memo)(Object(c.forwardRef)(x))},ndSh:function(e,t,n){"use strict";n.r(t),n.d(t,"__N_SSG",(function(){return q})),n.d(t,"default",(function(){return W}));
1var r=n("nKUr"),o=(n("q1tI"),n("vOnD")),i=n("/z51"),c=n("8yLC"),a=n("wx14"),s=n("Aiso"),d=n.n(s),l=n("NKCw"),p=n("vDqi"),u=n.n(p).a.create({baseURL:"https://api.petsapp.com",headers:{"Content-Type":"application/json"}}),b=n("qFEm"),h=n("Pcw7"),j=n("wlBm"),f=n("kyvr"),x=n("eZYV"),g=n("2ptK"),m=n("4t3k"),O=n("So48"),w=o.c.main.withConfig({displayName:"getTheAppstyles__Wrapper",componentId:"sc-1rdssw4-0"})(["position:relative;"]),v=o.c.div.withConfig({displayName:"getTheAppstyles__Waves",componentId:"sc-1rdssw4-1"})(['position:absolute;width:100%;height:888px;top:280px;background-image:url("/background/WavesUp.svg");background-repeat:no-repeat;background-size:cover;background-position:center;']),y=o.c.div.withConfig({displayName:"getTheAppstyles__MainContainer",componentId:"sc-1rdssw4-2"})(["position:relative;display:flex;flex-direction:column;@media ","{flex-direction:row;padding:0 0 0 56px;}@media ","{padding:0 0 0 249px;}@media ","{max-width:1096px;padding:0;margin:0 auto;}"],O.a.laptop,O.a.laptopS,O.a.laptopL),C=o.c.div.withConfig({displayName:"getTheAppstyles__ImageContainer",componentId:"sc-1rdssw4-3"})(["width:100%;margin-bottom:66px;@media ","{width:645px;height:664px;margin:54px 0 190px 24px;}"],O.a.laptop),_=o.c.div.withConfig({displayName:"getTheAppstyles__Content",componentId:"sc-1rdssw4-4"})(["display:flex;flex-direction:column;gap:48px;padding:24px;width:100%;@media ","{padding:0;max-width:460px;}@media ","{padding-top:80px;}"],O.a.laptop,O.a.tabletS),I=o.c.div.withConfig({displayName:"getTheAppstyles__StoreButtonsContainer",componentId:"sc-1rdssw4-5"})(["display:flex;gap:12px;place-content:center;@media ","{place-content:start;}"],O.a.mobileL),N=o.c.div.withConfig({displayName:"getTheAppstyles__PhoneNumberInputContainer",componentId:"sc-1rdssw4-6"})(["display:flex;flex-direction:column;gap:8px;"]),k=o.c.form.withConfig({displayName:"getTheAppstyles__FormContainer",componentId:"sc-1rdssw4-7"})(["display:flex;flex-direction:column;gap:24px;"]),E=n("q996"),S=n("aNv/"),T=n("Ml0E"),P=function(){var e=Object(x.b)(Object(m.g)(g.GET_THE_APP_BLOCK)),t=Object(x.b)(Object(m.g)(g.CORE)),n=Object(l.c)(),o=n.control,i=n.handleSubmit,c=n.setValue;return Object(r.jsxs)(w,{children:[Object(r.jsx)(v,{}),Object(r.jsxs)(y,{children:[Object(r.jsxs)(_,{children:[Object(r.jsxs)(E.j,{children:[Object(r.jsx)(E.g,{textColor:S.a.white,children:null==e?void 0:e.title}),Object(r.jsx)(E.c,{textColor:S.a.mainLight,children:null==e?void 0:e.text})]}),Object(r.jsxs)(k,{onSubmit:i((function(e){var t={phoneNumber:e.phoneNumber,phoneNumberCountryCode:e.phoneCode};Object(T.a)(Object(T.b)("download","form","submit")),u.post(f.a.POST.download,t).catch((function(e){return console.error(e)}))})),children:[Object(r.jsxs)(N,{children:[Object(r.jsx)(E.f,{textColor:S.a.white,children:"Send a link to your phone"}),Object(r.jsx)(l.a,{name:"phoneNumber",control:o,rules:{required:!0,minLength:8,maxLength:15},render:function(e){var t=e.field,n=e.fieldState.error;return Object(r.jsx)(r.Fragment,{children:Object(r.jsx)(h.a,Object(a.a)({errors:n},t,{setCode:function(e){return c("phoneCode",e)}}))})}})]}),Object(r.jsx)(b.default,{type:"submit",variant:j.a.SECONDARY,children:"Send"})]}),Object(r.jsxs)(I,{children:[Object(r.jsx)("a",{href:null==t?void 0:t.google_url,target:"_blank",rel:"noreferrer",children:Object(r.jsx)(d.a,{width:134,height:40,src:"/illustrations/google-play-store.png",alt:"Get it on Google Play"})}),Object(r.jsx)("a",{href:null==t?void 0:t.apple_url,target:"_blank",rel:"noreferrer",children:Object(r.jsx)(d.a,{width:118,height:40,src:"/illustrations/apple-app-store.png",alt:"Download on the App Store"})})]})]}),Object(r.jsx)(C,{children:Object(r.jsx)(d.a,{width:645,height:664,layout:"responsive",src:"/illustrations/iOS-Chat.png"})})]})]})},A=n("whQS"),L=o.c.div.withConfig({displayName:"download__Wrapper",componentId:"sc-10wv2ki-0"})(["background-color:",";overflow:hidden;"],A.a.main),q=!0;function W(){return Object(r.jsxs)(r.Fragment,{children:[Object(r.jsx)(i.a,{}),Object(r.jsx)(L,{children:Object(r.jsx)(c.default,{headerProps:{styles:{width:"1096px"}},children:Object(r.jsx)(P,{})})})]})}},wgrO:function(e,t){}},[["4chd",1,2,3,0,4,5]]]);
2//# sourceMappingURL=download-9a14326be209e2eaf1b9.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.