1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9710],{18619:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pet-sitter/reservations/new-request",function(){return i(98905)}])},22017:function(e,t,i){"use strict";i.d(t,{_:function(){return c}});var n=i(52322);i(2784);var r=i(96577),s=i.n(r),l=i(59888),a=i(95423),o=i(63104),d=i(88848);let c=()=>{let e=(0,o.$G)("petsitter").t;return(0,n.jsxs)(l.Z,{sx:{backgroundColor:"#F9F9F9",borderRadius:"16px",padding:"18px",border:"1px solid #E8E8EA",position:"relative"},children:[(0,n.jsx)(a.J2,{variant:"body2",color:"#77757F",fontWeight:"700",sx:{maxWidth:"80%"},children:e("reservations.newRequests.infoBox.veterinary.title")}),(0,n.jsxs)(l.Z,{sx:{maxWidth:"50%"},children:[(0,n.jsxs)(l.Z,{sx:{margin:"6px 0"},children:[(0,n.jsx)(a.J2,{variant:"body1",fontWeight:"700",lineHeight:"1.1",children:e("reservations.newRequests.infoBox.veterinary.text1")}),(0,n.jsx)(a.J2,{variant:"body1",color:"red.main",fontWeight:"800",fontSize:"18px",lineHeight:"1.1",children:e("reservations.newRequests.infoBox.veterinary.text2")})]}),(0,n.jsx)(a.J2,{variant:"caption",color:"#77757F",fontWeight:"600",lineHeight:"1.2",children:e("reservations.newRequests.infoBox.veterinary.description")})]}),(0,n.jsx)(s(),{src:d.Z.VetCedric,alt:"Veterinary",width:160,style:{position:"absolute",bottom:0,right:0,borderRadius:"0 0 16px 0"}})]})};t.Z=()=>{let e=(0,o.$G)("petsitter").t;return(0,n.jsxs)(l.Z,{sx:{display:"flex",flexDirection:"column",gap:"15px",backgroundColor:"#fff",borderRadius:"18px",padding:"20px 15px"},children:[(0,n.jsx)(a.J2,{variant:"body1",fontWeight:"700",fontSize:"18px",children:e("reservations.newRequests.infoBox.title")}),(0,n.jsx)(a.J2,{variant:"body2",color:"#4A4754",children:e("reservations.newRequests.infoBox.description")}),(0,n.jsx)(a.J2,{variant:"body2",color:"#4A4754",fontWeight:"700",children:e("reservations.newRequests.infoBox.text")}),(0,n.jsx)(c,{}),(0,n.jsxs)(l.Z,{sx:{display:"flex",gap:"5px",flexGrow:1},children:[(0,n.jsxs)(l.Z,{sx:{backgroundColor:"#E8F8F4",borderRadius:"100vmax",padding:"3px 3px",display:"flex",alignItems:"center",gap:"3px",flexGrow:1},children:[(0,n.jsx)(a.BW,{className:"emt-tick-circle-1",sx:{fontSize:"12px",color:"#18BA92"}}),(0,n.jsx)(a.J2,{variant:"body2",color:"#18BA92",fontWeight:"600",fontSize:"10px",lineHeight:"1",children:e("reservations.newRequests.infoBox.chip1")})]}),(0,n.jsxs)(l.Z,{sx:{backgroundColor:"#E8F8F4",borderRadius:"100vmax",padding:"3px 3px",display:"flex",alignItems:"center",gap:"3px",flexGrow:1},children:[(0,n.jsx)(a.BW,{className:"emt-tick-circle-1",sx:{fontSize:"12px",color:"#18BA92"}}),(0,n.jsx)(a.J2,{variant:"body2",color:"#18BA92",fontWeight:"600",fontSize:"10px",lineHeight:"1",children:e("reservations.newRequests.infoBox.chip2")})]})]})]})}},98905:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return D},default:function(){return _}});var n=i(52322),r=i(2784),s=i(63104),l=i(5632),a=i(59888),o=i(89894),d=i(95423),c=i(38377),u=i(66284),x=i(27990),p=i(2838),f=i(60218),v=i(96577),h=i.n(v),m=i(15450),g=i(91120),j=i(64245),y=i(48676),b=i(94676),S=i(29839),w=i(57916),R=i(93117),C=i(24130),Z=i(59738),I=i(78570),k=i(22017),T=i(37493),z=i(75085),B=i(88848),W=i(84435);let E=()=>{let[e,t]=(0,r.useState)(null);return(0,r.useEffect)(()=>{try{let e=localStorage.getItem("petSitter_filters");e&&t(JSON.parse(e))}catch(e){console.error("Error reading filters from localStorage:",e)}},[]),e},N="CallRequest";function P(e){try{localStorage.setItem(N,JSON.stringify(e))}catch(e){}}function q(){try{let e=localStorage.getItem(N);if(!e)return null;return JSON.parse(e)}catch(e){return null}}let A={description:"",animals:[],dateTimeInstances:[]},J=()=>{let e=(0,s.$G)("petsitter").t,[t,i]=(0,m.jG)(),[o,c]=(0,r.useState)(!1),u=(0,r.useRef)(null),x=(0,m.xR)(),v=(0,l.useRouter)(),{currentUser:N,settings:J}=(0,y.Z)(),[V,G]=(0,r.useState)({}),[F,D]=(0,r.useState)(!1),_=(0,r.useRef)(null),[O,M]=(0,r.useState)(!1),[H,L]=(0,r.useState)(""),[K,$]=(0,r.useState)([]),[X,Y]=(0,r.useState)(()=>{let e=q();return(null==e?void 0:e.address)||(null==J?void 0:J.address)||null}),[Q,U]=(0,r.useState)(()=>{var e,t,i,n;let r=q();return{min:null!==(i=null==r?void 0:null===(e=r.filters)||void 0===e?void 0:e.distanceMin)&&void 0!==i?i:0,max:null!==(n=null==r?void 0:null===(t=r.filters)||void 0===t?void 0:t.distanceMax)&&void 0!==n?n:20}}),[ee,et]=(0,r.useState)(()=>{let e=q();return(null==e?void 0:e.additionalInformations)||{walkBehaviors:[],indoorBehaviors:[],indoorCleanliness:void 0,timeAlone:void 0,housing:void 0,summary:""}}),ei=(0,r.useRef)({}),{checkField:en}=(0,b.R)(),er=E(),[es,el]=(0,r.useState)(!1),ea=e=>{(0,Z.Y)()&&el(e)},eo=e=>{let t=T.Dp[e].initialValues;if(!(null==er?void 0:er.period))return t;let{start:i,end:n}=er.period,r=null==i?void 0:i.split("T")[0],s=null==n?void 0:n.split("T")[0];switch(e){case"promenade":case"visite":return{...t,date:r};case"garde-chez-vous":case"garde-chez-eux":return{...t,dateStart:r,dateEnd:s};default:return t}},ed=(null==er?void 0:er.services)?T.ci[er.services]||er.services:null,[ec,eu]=(0,r.useState)(ed),[ex,ep]=(0,r.useState)(ec&&(0,T.sp)(ec)?eo((0,T.sp)(ec)):null);(0,r.useEffect)(()=>{ec&&(0,T.sp)(ec)&&ep(eo((0,T.sp)(ec)))},[ec]);let[ef,ev]=(0,r.useState)({promenade:{...A},"garde-chez-vous":{...A},"garde-chez-eux":{...A},visite:{...A}}),[eh,em]=(0,r.useState)(()=>({promenade:[(0,T.VG)("promenade",null)],"garde-chez-vous":[(0,T.VG)("garde-chez-vous",null)],"garde-chez-eux":[(0,T.VG)("garde-chez-eux",null)],visite:[(0,T.VG)("visite",null)]})),eg=ec&&(0,T.sp)(ec)?(0,T.sp)(ec):null,ej=eg&&ef[eg]||A,ey=e=>{eg&&ev(t=>{let i=t[eg]||A;return{...t,[eg]:{...i,...e}}})};(0,r.useEffect)(()=>{let e={promenade:[],"garde-chez-vous":[],"garde-chez-eux":[],visite:[]},t=e=>"promenade"===e||"visite"===e;
1Object.keys(T.Dp).forEach(i=>{var n;let r=(null===(n=ef[i])||void 0===n?void 0:n.dateTimeInstances)||[];t(i)?e[i]=[(0,T.VG)(i,null)]:e[i]=r.length?r.map(e=>({id:(0,T.hQ)(),type:i,data:e})):[(0,T.VG)(i,null)]}),em(e)},[]),(0,r.useEffect)(()=>{let e=q();if(!e||!e.services||0===e.services.length)return;let t=e.services[0].service,i={promenade:{...A},"garde-chez-vous":{...A},"garde-chez-eux":{...A},visite:{...A}};e.services.forEach(t=>{let{service:n,dateTimeInstances:r}=t;i[n]={...i[n],animals:e.animals||[],description:e.message||"",dateTimeInstances:r||[]}}),ev(i);let n={promenade:[],"garde-chez-vous":[],"garde-chez-eux":[],visite:[]};if(Object.keys(i).forEach(e=>{let t=i[e].dateTimeInstances||[];n[e]=t.length>0?t.map(t=>({id:(0,T.hQ)(),type:e,data:t})):[(0,T.VG)(e,null)]}),em(n),eu(t),eC(e.message||""),e.filters){var r,s;U({min:null!==(r=e.filters.distanceMin)&&void 0!==r?r:0,max:null!==(s=e.filters.distanceMax)&&void 0!==s?s:20})}e.animals&&e.animals.length>0&&$(e.animals)},[]);let eb=(null==N?void 0:N.animals)?Object.values(N.animals).map(e=>
1({id:e.id,avatar:e.mainPictureThumbnailUrl,displayName:e.displayName,breedSlug:e.breedSlug,icon:"emt-".concat(e.speciesSlug),selectedRadio:e.speciesSlug})):[],eS=(0,r.useRef)(!1);(0,r.useEffect)(()=>{!eS.current&&eb.length&&($(e=>e.length>0?e:eb.map(e=>e.id)),eS.current=!0)},[eb]);let ew=eb.some(e=>"dog"===e.selectedRadio&&K.includes(e.id)),[eR,eC]=(0,r.useState)(""),eZ=function(e,t){let[i,n]=(0,r.useState)(e);return(0,r.useEffect)(()=>{let t=setTimeout(()=>n(e),500);return()=>clearTimeout(t)},[e,500]),i}(eR,500),[eI,ek]=(0,r.useState)(!1),eT=()=>!(0,R.gX)(eR)||(L(eR),M(!0),!1);(0,r.useEffect)(()=>{var e;eg&&eZ!==((null===(e=ef[eg])||void 0===e?void 0:e.description)||"")&&(ey({description:eZ}),ek(!1))},[eZ]),(0,r.useEffect)(()=>{if(eg){var e;eC((null===(e=ef[eg])||void 0===e?void 0:e.description)||"")}else eC("")},[eg]);let ez=()=>{let e=!0;Object.entries(ej||A).forEach(t=>{let[i,n]=t;if(["dateTimeInstances"].includes(i)){let t=en(i,n);t&&(e=!1,G(e=>({...e,[i]:t})))}});let t=en("animals",K);return t&&(e=!1,G(e=>({...e,animals:t}))),e},eB=e=>{let t=K.includes(e)?K.filter(t=>t!==e):[...K,e];$(t),t.length>0&&G(e=>({...e,animals:""}))};(0,r.useEffect)(()=>{if(!eg)return;let e=(eh[eg]||[]).map(e=>e.data).filter(Boolean);ev(t=>({...t,[eg]:{...t[eg],dateTimeInstances:e}}))},[eh,eg]);let eW=()=>{var e,t,i,n,r,s,l,a,o,d;return{latitude:null!==(r=null!==(n=null!==(i=null==X?void 0:X.latitude)&&void 0!==i?i:null==X?void 0:X.lat)&&void 0!==n?n:null==N?void 0:null===(e=N.address)||void 0===e?void 0:e.latitude)&&void 0!==r?r:null==N?void 0:N.latitude,longitude:null!==(a=null!==(l=null!==(s=null==X?void 0:X.longitude)&&void 0!==s?s:null==X?void 0:X.lng)&&void 0!==l?l:null==N?void 0:null===(t=N.address)||void 0===t?void 0:t.longitude)&&void 0!==a?a:null==N?void 0:N.longitude,city:(null==X?void 0:X.city)||void 0,zipCode:(null==X?void 0:X.zipCode)||void 0,distanceMin:null!==(o=null==Q?void 0:Q.min)&&void 0!==o?o:0,distanceMax:null!==(d=null==Q?void 0:Q.max)&&void 0!==d?d:20,syringeDrugAdministration:!1,oralDrugAdministration:!1}},eE=e=>{let t=eg&&ef[eg]||A,i=(eR||"").trim(),n=e||t.dateTimeInstances||[],r=eg?[{service:eg,dateTimeInstances:n}]:[],s=eW();return{animals:K||[],message:i,additionalInformations:ee,services:r,address:X,...s?{filters:s}:{}}};(0,r.useEffect)(()=>{P(eE())},[ec,ef,X,Q,eR,K]);let eN=e=>{var t;let i=ei.current[e];(null==i?void 0:null===(t=i.container)||void 0===t?void 0:t.current)&&i.container.current.scrollIntoView({behavior:"smooth",block:"center"})},eP=async()=>{if(!eg){G(e=>({...e,selectedService:"Veuillez s\xe9lectionner un service."})),_.current&&_.current.scrollIntoView({behavior:"smooth",block:"center"});return}let e=!0,t=null;for(let i of eh[eg]){let n=ei.current[i.id];(null==n?void 0:n.validateOnly)&&!n.validateOnly()&&(e=!1,t||(t=i.id))}if(!e&&t){eN(t);return}if(!ez()||u.current&&!u.current.validate()||!eT())return;let i="promenade"===eg||"visite"===eg,n=[];for(let e of eh[eg]){let t=ei.current[e.id];if(null==t?void 0:t.expandInstances){let e=t.expandInstances(i?eg:"garde");n.push(...e)}else e.data&&n.push(e.data)}let r=eE(n);P(eE()),D(!0);try{let e=await (0,I.Tj)(r);v.push({pathname:W.Z5.PetSitter.Reservations.PaymentCall,query:{tenders:e.uuid}})}catch(e){D(!1)}finally{D(!1)}},eq={percentToValue:{0:0,10:1,20:2,30:3,40:4,50:5,60:10,70:15,80:20,90:30,100:50},valueToPercent:{0:0,1:10,2:20,3:30,4:40,5:50,10:60,15:70,20:80,30:90,50:100}},[eA,eJ]=(0,r.useState)([eq.valueToPercent[Q.min],eq.valueToPercent[Q.max]]),eV=e=>{if(Array.isArray(e)){eJ(e);let[t,i]=e;U({min:eq.percentToValue[t],max:eq.percentToValue[i]})}},eG=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;return(0,n.jsxs)(p.Z,{sx:{paddingTop:t?"25px":"30px",paddingBottom:t?"270px":0,display:"flex",flexDirection:"column",rowGap:"30px",borderRadius:t?"18px 18px 0 0":"0",marginTop:t?"-18px":"0",position:"relative",backgroundColor:t?"#fff":"#F6F6F6",minHeight:t?"100vh":"auto"},maxWidth:"lg",children:[(0,n.jsx)(a.Z,{sx:{marginTop:t?"0":"-200px!important",backgroundColor:"#F6F6F6",borderRadius:"18px",padding:t?"0":"20px 15px"},children:(0,n.jsxs)(d.tb,{columnSpacing:{xs:"25px",lg:"25px"},sx:{display:"flex",alignItems:"stretch"}
1,children:[(0,n.jsx)(f.ZP,{item:!0,md:8,xs:12,sx:{display:"flex",flexDirection:"column",rowGap:t?"30px":"40px"},children:(0,n.jsxs)(a.Z,{sx:{display:"flex",flexDirection:"column",gap:t?"15px":"30px",padding:t?"0":"20px 15px",backgroundColor:"#fff",borderRadius:"18px"},children:[(0,n.jsx)(a.Z,{sx:{display:"flex",alignItems:"center",gap:"16px",backgroundColor:"#f9f9f9",borderRadius:"16px",padding:"16px"},children:(0,n.jsx)(d.J2,{variant:"body2",sx:{whiteSpace:"pre-line"},children:(0,n.jsx)(s.cC,{t:e,i18nKey:"search.testInfoBoxTextNewRequest",components:{IconSkill:(0,n.jsx)(d.BW,{sx:{display:"inline",color:"#0030cc"},className:"emt-knowledge"}),IconPsychological:(0,n.jsx)(d.BW,{sx:{display:"inline",color:"#C80068"},className:"emt-psychology"}),strong:(0,n.jsx)("strong",{}),BlueInseparables:(0,n.jsx)("span",{style:{whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",color:"#0030cc",fontWeight:"700",lineHeight:"0",height:"0px",transform:"translateY(2px)"}}),PinkInseparables:(0,n.jsx)("span",{style:{whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",color:"#C80068",fontWeight:"700",lineHeight:"0",height:"0px",transform:"translateY(2px)"}})}})})}),(0,n.jsxs)(a.Z,{sx:{display:"flex",flexDirection:"column",gap:t?"15px":"30px"},children:[!t&&(0,n.jsx)(d.J2,{variant:"body1",fontWeight:"700",sx:{marginBottom:"-14px"},children:e("reservations.newRequests.labels.serviceNeed")}),(0,n.jsxs)(a.Z,{sx:{display:"flex",flexDirection:"column",gap:t?"20px":"30px"},children:[(0,n.jsxs)(a.Z,{ref:_,children:[(0,n.jsx)(z.c,{isMobile:t,selectedService:ec,errors:V,formSlotsByService:eh,formRefs:ei,localStorageInitialValues:ex,onServiceChange:e=>{eu(e),G(e=>{if(e.selectedService){let{selectedService:t,...i}=e;return i}return e});let t=(0,T.sp)(e);if(!t)return;let i="promenade"===t||"visite"===t;em(e=>{var n;return i||0===(null!==(n=e[t])&&void 0!==n?n:[]).length?{...e,[t]:[(0,T.VG)(t,null)]}:e})},onAddNewSlot:()=>{eg&&em(e=>({...e,[eg]:[...e[eg],(0,T.VG)(eg,null)]}))},onSaveSlot:(e,t)=>{eg&&(em(i=>({...i,[eg]:i[eg].map(i=>i.id===e?{...i,data:t}:i)})),G(e=>({...e,dateTimeInstances:""})))},onRemoveSlot:e=>{eg&&em(t=>{let i=t[eg].filter(t=>t.id!==e);return{...t,[eg]:i.length?i:[(0,T.VG)(eg,null)]}})}}),V.selectedService&&(0,n.jsx)(d.J2,{variant:"body2",fontSize:"0.75rem",color:"error",letterSpacing:"0.03333em",children:V.selectedService}),V.dateTimeInstances&&(0,n.jsx)(d.J2,{variant:"body2",fontSize:"0.75rem",color:"error",letterSpacing:"0.03333em",children:V.dateTimeInstances})]}),(0,n.jsxs)(a.Z,{sx:{width:"500px",maxWidth:"100%"},children:[(0,n.jsx)(d.J2,{variant:"body1",fontWeight:"700",sx:{marginBottom:"16px"},children:e("reservations.newRequests.labels.location.".concat("garde-chez-eux"===ec?"nearWhatAddress":"whatAddress"))}),(0,n.jsx)(C.Z,{label:"Adresse",address:X,onAddressChange:e=>{Y(e)},addressError:V.address,onFocus:()=>ea(!0),onBlur:()=>ea(!1),onAddressError:()=>{X||G(e=>({...e,address:""}))},strict:!0})]}),"garde-chez-eux"===ec&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.J2,{variant:"body1",fontWeight:"700",sx:{marginBottom:"16px"},children:e("reservations.newRequests.labels.distanceRange")}),(0,n.jsx)(a.Z,{sx:{width:"500px",maxWidth:"calc(100% - 44px)",marginLeft:"22px"},children:(0,n.jsx)(d.S5,{color:"purple",min:0,max:100,minDistanceBetweenThumbs:10,value:eA,onChange:(e,t)=>
1{eG&&(null==t?void 0:t.type)==="mousedown"||eV(e)},marks:[{value:0,label:x(0)},{value:10},{value:20},{value:30},{value:40},{value:50},{value:60},{value:70},{value:80},{value:100,label:x(50)}],valueLabelFormat:e=>x(eq.percentToValue[e]||eq.valueToPercent[e],"",1),step:10})})]}),(0,n.jsxs)(a.Z,{children:[(0,n.jsx)(d.J2,{variant:"body1",fontWeight:"700",sx:{marginBottom:"16px"},children:e("reservations.newRequests.labels.animalsSectionReservation")}),(0,n.jsx)(a.Z,{sx:{display:"grid",gridTemplateColumns:t?"1fr":"repeat(".concat(Math.min(eb.length||0,3),", 1fr)"),gap:"10px"},children:eb.map((e,t)=>(0,n.jsx)(j.Z,{data:e,isSelected:K.includes(e.id),onClick:()=>eB(e.id),checkbox:!0},"animal-".concat(t)))}),V.animals&&(0,n.jsx)(d.J2,{variant:"body2",fontSize:"0.75rem",color:"error",paddingTop:"5px",letterSpacing:"0.03333em",children:V.animals}),(0,n.jsx)(g.Z,{open:o,close:()=>c(!1),defaultImages:!0,defaultDescription:!0}),(0,n.jsxs)(a.Z,{onClick:()=>c(!0),sx:{display:"flex",alignItems:"center",gap:"10px",cursor:"pointer",marginTop:"20px"},children:[(0,n.jsx)(a.Z,{sx:{backgroundColor:"#AE59C6",borderRadius:"50%",width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,n.jsx)(d.BW,{className:"emt-add-small",sx:{fontSize:"17px",color:"#fff"}})}),(0,n.jsx)(d.J2,{variant:"body2",fontWeight:700,color:"#AE59C6",sx:{textDecoration:"underline"},children:e("reservations.newRequests.labels.addAnimalButton")})]})]}),(0,n.jsx)(S.Z,{ref:u,values:ee,setValues:et,service:ec||"",hasSelectedDog:ew,onChange:e=>{if(!eg)return;let t=e.summary;void 0!==t&&ev(e=>{var i;let n=e[eg]||A;return{...e,[eg]:{...n,additionalInfoSummary:null!==(i=null!=t?t:n.additionalInfoSummary)&&void 0!==i?i:""}}})}}),(0,n.jsxs)(a.Z,{children:[(0,n.jsxs)(d.J2,{variant:"body1",fontWeight:"400",children:[(0,n.jsx)("b",{children:"Souhaitez-vous ajouter dâautres informations \xe0 propos de vos animaux (besoins sp\xe9cifiques, pr\xe9cautions particuli\xe8res, etc.) ou concernant le service dont vous avez besoin ?"})," ","(Optionnel)"]}),(0,n.jsx)(d.J2,{variant:"body2",fontWeight:"400",sx:{marginBottom:"10px"},children:"Ceci nous aidera \xe0 trouver le pet sitter parfait."}),(0,n.jsx)(d.nc,{hideLabelOnClick:!0,maxLength:1e3,sx:{height:"110px",paddingRight:"70px"},label:"Ajoutez ici vos pr\xe9cisions.",value:eR,onChange:e=>{eC(e),ek(!0)},error:!!V.description,helperText:V.description})]}),(0,n.jsx)(a.Z,{sx:{position:t?"fixed":"initial",bottom:"144px",left:0,zIndex:t?999:"initial",width:"100%",paddingLeft:t?"15px":"0",paddingRight:t?"15px":"0",display:es&&t?"none":"flex"},className:"EmtReactNativeWebViewPaddingBottom",children:(0,n.jsx)(d.eV,{fullWidth:!0,loader:F,size:"medium",color:"purple",onClick:eP,disabled:eI,children:"Continuer"})})]})]})]})}),!t&&(0,n.jsxs)(f.ZP,{item:!0,md:4,xs:12,sx:{display:"flex",flexDirection:"column",rowGap:"20px",position:"relative"},children:[(0,n.jsx)(k.Z,{}),(0,n.jsxs)(a.Z,{sx:{display:"flex",flexDirection:"column",gap:"5px",backgroundColor:"#fff",borderRadius:"18px",padding:"20px 15px"},children:[(0,n.jsx)(d.J2,{variant:"body1",fontWeight:"700",children:e("reservations.newRequests.infoBox.reviews.title")}),(0,n.jsx)(h(),{src:B.Z.ReviewsNewCallRequest,alt:"Pet sitter reviews"})]})]})]})}),(0,n.jsx)(w.Z,{open:O,onClose:()=>M(!1),pro:!1,pendingMessage:H,onModifyMessage:e=>eC(e)})]})};J.displayName="NewCallStandalone";var V=i(34674),G=i(50202),F=i(13465),D=!0,_=(0,o.hj)()(e=>{let{url:t,title:i}=e,r=(0,s.$G)("petsitter").t,[p]=(0,m.jG)(),f=(0,l.useRouter)(),{tendersEnabled:v}=(0,y.Z)(),{isPetsittingMode:h}=(0,G.s)(),g=(0,F.Z)({defaultProfileKind:F.N.PetSitting});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.HJ,{url:t,subtitle:i}),(!p||v)&&(0,n.jsx)(c.W,{shouldTransform:!1}),!p&&!h&&(0,n.jsx)(u.Z,{}),(0,n.jsx)(d.as,{padding:p?"30px 0 50px!important":"33px 0 200px!important",backgroundColor:"#762D8A",background:W.rU.Header.Pattern,children:(0,n.jsxs)(a.Z,{sx:{display:"flex",gap:"17px",alignItems:"center"},children:[!v&&(0,n.jsx)(a.Z,{onClick:()=>{if("true"===String(Array.isArray(f.query["from-search"])?f.query["from-search"][0]:f.query["from-search"]).toLowerCase()){f.push({pathname:W.Z5.PetSitter.Search,query:{skipNewSearch:"true"}});return}f.back()}
1,sx:{position:"relative",width:48,height:48,borderRadius:"18px",display:"flex",justifyContent:"center",alignItems:"center",background:"#fff",cursor:"pointer",boxShadow:"0px 8px 12px 0px #00000014"},children:(0,n.jsx)(d.BW,{className:"emt-arrow-left",sx:{color:e=>e.palette.purple.dark,fontSize:"20px"}})}),(0,n.jsx)(d.J2,{variant:"h3",color:"white",fontWeight:"800",fontSize:p?"24px":"34px",children:r(v?"reservations.findPetSitter":"reservations.newRequest")})]})}),v?(0,n.jsx)(J,{}):(0,n.jsx)(x.Z,{handleOpenProfile:g.handleOpenProfile}),(0,n.jsx)(V.Z,{isMobile:g.isMobile,open:g.profileIsOpen,customerId:g.customerId,profileKind:g.profileKind,onClose:g.handleCloseProfile})]})})}},function(e){e.O(0,[8375,3467,2763,1323,9894,1120,8377,6267,4245,2689,5678,8912,337,6155,2858,7010,5610,395,5561,7377,2888,9774,179],function(){return e(e.s=18619)}),_N_E=e.O()}]); 2//# sourceMappingURL=new-request-d7fce24d1b285de9.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.