1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[541],{20237:(e,t,r)=>{r.d(t,{l:()=>n});let n=(e,t)=>"tenant-".concat(e,"-").concat(t)},25670:(e,t,r)=>{r.d(t,{A:()=>X});var n=r(6029),a=r(10504),i=r(80069),s=r(92096),o=r(62644),l=r(28222),d=r.n(l),c=r(50270),u=r.n(c),x=r(45194),h=r(6138),p=r(28129),m=r(24656),j=r(97575),b=r(58569),g=r(14774),f=r(81801),y=r(78027),v=r(27027),w=r.n(v),A=r(86839),k=r.n(A),C=r(54072),I=r(31626),S=r(52025),D=r(83962),E=r(67549),M=r(93125),N=r(81278),U=r(1368),R=r(45757),T=r(95850),B=r(74423),P=r(63324),F=r(1524),G=r(30293),_=r(89539),O=r(47141),Z=r(32902);let z=(0,S.default)("button")(()=>({background:"none",border:"none",height:"16px",width:"16px"})),L=(0,S.default)(m.A)(e=>{let{theme:{meadow:t}}=e;return{color:t.purpose.primary.main,cursor:"pointer"}}),W=(0,S.default)(k())(e=>{let{theme:{spacing:t}}=e;return{flexGrow:1,paddingLeft:t(2)}}),H=(0,S.default)(a.A)(e=>{let{theme:t}=e;return{"&.Mui-expanded":{marginBottom:0},backgroundColor:t.meadow.purpose.background.extraEmphasis,boxShadow:"none"}}),J=(0,S.default)(i.A)(()=>({"&.Mui-expanded":{minHeight:"unset"},padding:0})),K=e=>{let{children:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(k(),{gap:2,children:t}),(0,n.jsx)(u(),{})]})},Y=e=>{let{children:t,disabled:r}=e;return(0,n.jsx)(R.A,{sx:e=>({alignItems:"center",color:r?e.meadow.purpose.text.disabled:void 0,display:"flex",justifyContent:"space-between"}),variant:"h3",children:t})},q=e=>{let{children:t,disabled:r,title:a,totalCost:i}=e,l=(0,I.useTheme)(),d=(0,o.A)(l.breakpoints.down("sm")),c=(0,G.Z)();return d?(0,n.jsxs)(H,{children:[(0,n.jsx)(J,{"aria-controls":"confirm-details-content",expandIcon:(0,n.jsx)(p.default,{color:"currentColor"}),id:"confirm-details-header",children:(0,n.jsxs)(k(),{alignItems:"baseline",direction:"row",justifyContent:"space-between",mr:2,width:"100%",children:[(0,n.jsx)(Y,{disabled:r,children:a}),!r&&(0,n.jsx)(D.default,{color:"inherit",variant:"body1",children:c(i)})]})}),(0,n.jsx)(s.A,{sx:{mb:2,p:0},children:t})]}):(0,n.jsxs)(k(),{gap:2,p:3,children:[(0,n.jsx)(Y,{disabled:r,children:a}),t]})},Q=e=>{let{icon:t}=e;switch(t){case"tag-16":return(0,n.jsx)(g.A,{color:"currentColor"});case"calendar-16":return(0,n.jsx)(x.A,{color:"currentColor"});case"time-16":return(0,n.jsx)(f.A,{color:"currentColor"});case"location-16":return(0,n.jsx)(j.A,{color:"currentColor"});case"user-16":return(0,n.jsx)(y.A,{color:"currentColor"});case"cart-16":return(0,n.jsx)(h.A,{color:"currentColor"})}},V=e=>{let{dataTestID:t,editBtnAriaLabel:r,children:a,icon:i,onEdit:s}=e;return(0,n.jsxs)(k(),{alignItems:"baseline","data-testid":t,direction:"row",paddingRight:1,children:[(0,n.jsx)(Q,{icon:i}),(0,n.jsx)(W,{alignItems:"start",direction:"column",children:a}),s&&(0,n.jsx)(z,{"aria-label":r,onClick:s,children:(0,n.jsx)(L,{color:"currentColor"})})]})},X=e=>{let{disabled:t,location:r,orderMinPrice:a,orderName:i,scheduleDate:s,serviceItems:o,showPaymentNote:l,onChangeItem:c,onEditAddress:x,onEditTime:h,onRemoveItem:p,onAddMoreServices:m,title:j}=e,g=(0,B.A)(),f=(0,T.A)(),y=(0,N.useRouter)(),v=(0,E.md)(F.A),A=(0,_.wl)(y),{country:I}=(0,_.wA)(A),S=o.length?o[0].currency:void 0,R=(0,G.Z)(),z=s?f.parseShortISO(new Date(s.shortDate).toISOString()):null,L=z?f.formatByString(z,"cccc, MMMM d"):null,W=null==s?void 0:s.timeLabel,H=(0,P.Ap)(o),J=(0,P.sD)(o),Y=H>0&&H<a,Q=a-H,X=Y?a:H;return(0,n.jsx)(q,{currencyCode:S,disabled:t,title:j,totalCost:X,children:(0,n.jsxs)(k(),{"data-testid":"partner-products",gap:2,sx:e=>({color:t?e.meadow.purpose.text.disabled:e.meadow.purpose.text.main}),children:[i&&(0,n.jsx)(K,{children:(0,n.jsx)(V,{icon:"tag-16",children:(0,n.jsx)(D.default,{color:"inherit",variant:"body2",children:i})})}),s&&(0,n.jsxs)(K,{children:[(0,n.jsx)(V,{dataTestID:"schedule-date-section",icon:"calendar-16",onEdit:h,children:(0,n.jsx)(D.default,{color:"inherit",variant:"body2",children:L})}),W&&(0,n.jsx)(V,{icon:"time-16",children:(0,n.jsxs)(D.default,{color:"inherit",variant:"body2",children:[W,s.timezoneAbbreviation&&" (".concat(s.timezoneAbbreviation,")")]})})]}),r&&(0,n.jsx)(K,{children:(0,n.jsxs)(V,{dataTestID:"address-detail
1s-section",editBtnAriaLabel:g.formatMessage({id:"partner.confirm.taskDetails.editAddress"}),icon:"location-16",onEdit:x,children:[(0,n.jsx)(D.default,{color:"inherit",variant:"body2",children:r.line1}),(0,n.jsx)(D.default,{color:"inherit",variant:"body2",children:r.line2}),r.unit&&(0,n.jsx)(D.default,{color:"inherit",variant:"body2",children:r.unit})]})}),(v.email||v.phoneNumber)&&(0,n.jsx)(K,{children:(0,n.jsxs)(V,{icon:"user-16",children:[v.email&&(0,n.jsx)(D.default,{color:"inherit",sx:{overflowWrap:"anywhere"},variant:"body2",children:v.email}),v.phoneNumber&&(0,n.jsx)(D.default,{color:"inherit",variant:"body2",children:(0,M.L)(v.phoneNumber,I).formatNational()})]})}),(0,n.jsx)(V,{icon:"cart-16",children:(0,n.jsxs)(D.default,{color:"inherit",display:"flex",gap:1,variant:"body2",children:[(0,n.jsx)(U.s,{id:"partner.confirm.taskDetails.taskCart"}),"\xa0(",J,"):"]})}),(0,n.jsxs)(k(),{sx:{gap:3,pl:4},children:[(0,n.jsx)(w(),{sx:{display:"flex",flexDirection:"column",gap:3,p:0},children:o.map(e=>(0,n.jsx)(Z.A,{item:e,onChange:c,onRemove:p},e.id))}),m&&(0,n.jsx)(C.default,{iconLeft:(0,n.jsx)(b.A,{color:"currentColor"}),onClick:m,sx:{alignSelf:"flex-start"},children:(0,n.jsx)(U.s,{id:"partner.confirm.taskDetails.addMoreServices"})}),(0,n.jsx)(u(),{}),Y&&(0,n.jsxs)(k(),{gap:1,children:[(0,n.jsxs)(k(),{"data-testid":"confirm-details-total-cart",direction:"row",justifyContent:"space-between",children:[(0,n.jsx)(D.default,{color:"inherit",variant:"body1",children:(0,n.jsx)(U.s,{id:"partner.landing.cart.total"})}),(0,n.jsx)(D.default,{color:"inherit",variant:"body1",children:R(H)})]}),(0,n.jsxs)(k(),{"data-testid":"confirm-details-min-order-charge",direction:"row",justifyContent:"space-between",children:[(0,n.jsx)(D.default,{variant:"body1",children:(0,n.jsx)(U.s,{id:"partner.landing.cart.minOrderCharge"})}),(0,n.jsx)(D.default,{variant:"body1",children:R(Q)})]}),(0,n.jsx)(D.default,{color:"text.secondary",variant:"body3",children:(0,n.jsx)(U.s,{id:"partner.landing.cart.minOrderInfo",values:{MIN_PRICE:R(a)}})})]}),(0,n.jsxs)(d(),{"data-testid":"confirm-details-total-task",children:[(0,n.jsxs)(k(),{direction:"row",justifyContent:"space-between",children:[(0,n.jsx)(D.default,{color:"inherit",variant:"subtitle2",children:(0,n.jsx)(U.s,{id:"partner.landing.cart.taskTotal"})}),(0,n.jsx)(D.default,{color:"inherit",variant:"subtitle3",children:R(X)})]}),(0,n.jsx)(D.default,{color:"inherit",display:{sm:"block"},mt:1,variant:"body2",children:(0,n.jsx)(U.s,{id:O.WA.includes(I)?"partner.checkout.cart.taxesNotIncludedNote":"partner.checkout.cart.taxesIncludedNote"})}),l&&(0,n.jsx)(D.default,{color:"text.secondary",mt:1,variant:"body3",children:(0,n.jsx)(U.s,{id:"partner.landing.cart.finalStepPaymentNote",values:{cancellationFeeAmount:R(a)}})})]})]})]})})}},30293:(e,t,r)=>{r.d(t,{M:()=>o,Z:()=>l});var n=r(81278),a=r(55729),i=r(89539);let s={CA:"CAD",DE:"EUR",ES:"EUR",FR:"EUR",GB:"GBP",IT:"EUR",PT:"EUR",US:"USD"},o=function(e){let{noCentsIfWhole:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{country:r="US"}=(0,i.wA)(e),n=s[r],a=new Intl.NumberFormat(e,{currency:n,maximumFractionDigits:2,minimumFractionDigits:2,style:"currency",useGrouping:!1});if(!t)return a.format;let o=new Intl.NumberFormat(e,{currency:n,maximumFractionDigits:0,minimumFractionDigits:0,style:"currency",useGrouping:!1});return e=>Math.round(100*e)%100==0?o.format(e):a.format(e)},l=function(){let{noCentsIfWhole:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,n.useRouter)(),r=(0,i.wl)(t);return(0,a.useMemo)(()=>o(r,{noCentsIfWhole:e}),[r,e])}},32902:(e,t,r)=>{r.d(t,{A:()=>j});var n=r(6029),a=r(28222),i=r.n(a),s=r(85362),o=r(42828),l=r.n(o),d=r(54072),c=r(52025),u=r(83962),x=r(90248),h=r(30293),p=r(47141);let m=(0,c.default)(s.Ay)(e=>{let{theme:{spacing:t,meadow:{purpose:{outline:{emphasis:r}}}}}=e;return{"& select.MuiInputBase-input.MuiInput-input":{border:"1px solid ".concat(r),margin:t(1,0),minHeight:"2em",padding:t(0,2),width:"2.25em"}}}),j=e=>{let{item:t,onChange:r,onRemove:a}=e,s=(0,h.Z)()(t.cost*t.count);return(0,n.jsx)(l(),{sx:{display:"block",p:0},children:(0,n.jsxs)(i(),{"data-testid":"partner-product",sx:{dis
1play:"flex",justifyContent:"space-between"},children:[(0,n.jsxs)(i(),{sx:{mr:2},children:[(0,n.jsx)(u.default,{color:"inherit",variant:"body1",children:t.name}),(0,n.jsxs)(i(),{sx:{display:"flex"},children:[r&&(0,n.jsx)(m,{onChange:e=>{let n=Number(e.target.value);r&&r(t,{count:n})},value:t.count,children:[...Array(p.GZ)].map((e,t)=>(0,n.jsx)("option",{value:t+1,children:t+1},t+1))}),a&&(0,n.jsx)(d.default,{onClick:()=>{a&&a(t)},sx:{pl:2},children:(0,n.jsx)(x.A,{id:"partner.landing.cart.removeButton"})})]})]}),(0,n.jsx)(u.default,{color:"inherit",variant:"body1",children:s})]})})}},45757:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(52025),a=r(83962);let i=(0,n.default)(a.default)(e=>{let{theme:{meadow:{purpose:t}}}=e;return{color:t.impact.main}})},47141:(e,t,r)=>{r.d(t,{Bx:()=>l,CM:()=>o,GZ:()=>i,Or:()=>a,Sp:()=>n,WA:()=>s});let n=["alexa","aavoiceactivated"],a=15,i=15,s=["US","CA"],o=15,l=["Your Tasker will bring the tools needed to complete your task.","Prep the work area! Bring any items your Tasker will work on into that space ahead of time.","Taskers will not be responsible for disposing of any excess materials from the task.","Once matched, you can chat with your Tasker at any time."]},50542:(e,t,r)=>{r.d(t,{Ay:()=>h});var n=r(6029),a=r(28222),i=r.n(a),s=r(50270),o=r.n(s),l=r(56431),d=r.n(l),c=r(52025);let u=(0,c.default)(i())(e=>{let{theme:{breakpoints:t,spacing:r,meadow:{purpose:n}}}=e;return{backgroundColor:n.background.extraEmphasis,padding:r(3),width:"100%",[t.down("sm")]:{backgroundColor:"initial",padding:r(0)},[t.up("lg")]:{padding:r(5,19)}}}),x=(0,c.default)(i())(e=>{let{theme:{breakpoints:t,meadow:{purpose:r},spacing:n}}=e;return{[t.up("sm")]:{backgroundColor:r.background.main,border:"1px solid ".concat(r.outline.subtle),borderRadius:r.borderRadius.floating}}}),h=e=>{let{slots:t,sx:r}=e;return(0,n.jsx)(u,{sx:r,children:(0,n.jsxs)(d(),{columnSpacing:4,container:!0,children:[(0,n.jsxs)(d(),{display:{sm:"none",xs:"block"},size:{xs:12},sx:e=>({backgroundColor:e.meadow.purpose.background.extraEmphasis,borderTop:"1px solid ".concat(e.meadow.purpose.outline.extraSubtle)}),children:[(0,n.jsx)(x,{px:2,children:t.sidebar}),(0,n.jsx)(o(),{})]}),(0,n.jsx)(d(),{size:{md:8,sm:6,xs:12},children:(0,n.jsx)(x,{mt:{sm:0,xs:1},p:{sm:3,xs:2},children:t.main})}),(0,n.jsx)(d(),{display:{sm:"block",xs:"none"},size:{md:4,sm:6},children:(0,n.jsx)(x,{children:t.sidebar})})]})})}},63324:(e,t,r)=>{r.d(t,{Ap:()=>u,Ay:()=>j,J:()=>d,PP:()=>p,fD:()=>h,gO:()=>x,n:()=>m,sD:()=>c});var n=r(70921),a=r(83595),i=r(44304),s=r(137),o=r(20237);let l=(0,i.I)(e=>(0,a.tG)((0,o.l)(e,"service-items"),[],(0,a.KU)(()=>sessionStorage))),d=(0,n.eU)(e=>{let t=e(s.A).name;return e(l(t))},(e,t,r)=>{t(l(e(s.A).name),r)}),c=e=>e.reduce((e,t)=>e+t.count,0),u=e=>e.reduce((e,t)=>e+t.count*t.cost,0),x=e=>e.length>0?e[0].supply_category_uuid:null,h=(0,n.eU)(e=>c(e(d))),p=(0,n.eU)(e=>u(e(d))),m=(0,n.eU)(!1),j=d},82777:(e,t,r)=>{r.d(t,{A:()=>n});let n={src:"https://assets.taskrabbit.com/_next/static/media/happiness-pledge.edbed0aa.svg",height:47,width:55,blurWidth:0,blurHeight:0}},88968:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(28222),a=r.n(n);let i=(0,r(52025).default)(a())(e=>{let{theme:{breakpoints:t,spacing:r}}=e;return{[t.up("lg")]:{paddingBlock:r(2),paddingInline:r(11)},[t.up("sm")]:{boxShadow:"0px 0px 4px 0px #0707071A, 0px 0px 8px 0px #042E2924"},backgroundColor:"white",paddingBlock:r(1),paddingInline:r(2),position:"relative"}})},92412:(e,t,r)=>{r.d(t,{A:()=>p});var n=r(6029),a=r(28222),i=r.n(a),s=r(62040),o=r.n(s),l=r(83962),d=r(8588),c=r.n(d),u=r(947),x=r(90248),h=r(82777);let p=()=>{let e=(0,u.A)();return(0,n.jsxs)(o(),{disableGutters:!0,sx:{p:3},children:[(0,n.jsxs)(i(),{sx:{alignItems:"center",display:"flex",justifyContent:"space-between",pb:1},children:[(0,n.jsx)(l.default,{sx:{color:"impact.main"},variant:"h4",children:(0,n.jsx)(x.A,{id:"partner.checkout.cart.happinessPledge.header"})}),(0,n.jsx)(i(),{sx:{ml:1},children:(0,n.jsx)(c(),{alt:e.formatMessage({id:"partner.checkout.cart.happinessPledge.iconAltText"}),height:46,src:h.A,width:54})})]}),(0,n.jsx)(i(),{children:(0,n.jsx)(l.default,{sx:{color:"text.secondary"},variant:"body3",children:(0,n.jsx)(x.A,{id:"partner.checkout.cart.happinessPledgeNote"})})})]})}},95850:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(19573),a=r(55729);let i=()=>(0,a.useContext)(n.default)}}]); 2//# sourceMappingURL=541-50909802f3256004.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.