"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8969,7859],{18969:function(e,t,n){n.r(t),n.d(t,{default:function(){return ef}});var o=n(85893),i=n(37871),r=n(67294),a=n(17228),s=n(97375),l=n(19101),c=n(68070),d=n(26902),h=n(26527),p=n(3921),f=n(61200),u=n(89977),x=n(43717),g=n(2492),m=n(82963),v=n(73397),w=n(56276),b=n(7859),k=n(68901),_=n(87167),j=n(82729),y=n(35480),C=n(46009);function M(){let e=(0,j._)(["\n min-height: 200px;\n width: 70% !important;\n "]);return M=function(){return e},e}function S(){let e=(0,j._)(["\n min-height: 160px;\n width: 100% !important;\n "]);return S=function(){return e},e}function D(){let e=(0,j._)(["\n min-height: 300px !important;\n "]);return D=function(){return e},e}function F(){let e=(0,j._)(["\n min-height: 275px !important;\n "]);return F=function(){return e},e}function I(){let e=(0,j._)(["\n min-height: 160px !important;\n "]);return I=function(){return e},e}function P(){let e=(0,j._)(["\n min-height: 106px !important;\n "]);return P=function(){return e},e}function N(){let e=(0,j._)(["\n width: 30px;\n height: 30px;\n "]);return N=function(){return e},e}let Z=y.ZP.div.withConfig({componentId:"sc-1a30c6b-0"})(["position:relative;width:50% !important;height:100%;min-height:260px;outline:2px dashed var(--secondaryColor);border-radius:15px;padding:20px;margin:0 auto;display:flex;justify-content:center;align-items:center;background-color:var(--affiliateBgColor) !important;"," "," "," "," "," input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:1;appearance:none;-webkit-appearance:none;-moz-appearance:none;opacity:0;overflow:hidden;display:block !important;cursor:pointer;font-size:0;}"],(0,C.w)("md")(M()),(0,C.w)("sm")(S()),e=>e.isCustomStyle&&(0,y.iv)([""," "," ",""],(0,C.w)("xxl")(D()),(0,C.w)("xl")(F()),(0,C.w)("sm")(I())),e=>e.isCustomHeight&&(0,y.iv)(["min-height:175px !important;",""],(0,C.w)("sm")(P())),e=>e.isFeetDonate&&(0,y.iv)(["outline:2px dashed #ff2ecf;background-color:#f9f6fe !important;"])),z=y.ZP.div.withConfig({componentId:"sc-1a30c6b-1"})(["svg{width:38px;height:38px;line{stroke:var(--secondaryColor);","}","}"],e=>e.isFeetDonate&&(0,y.iv)(["stroke:#ff2ecf !important;"]),(0,C.w)("sm")(N())),T=y.ZP.div.withConfig({componentId:"sc-1a30c6b-2"})(["position:absolute;left:0;right:0;top:0;bottom:0;text-align:center;display:flex;justify-content:center;align-items:center;width:50%;margin:0 auto;"]),W=y.ZP.div.withConfig({componentId:"sc-1a30c6b-3"})(["position:relative;height:100%;display:block;margin:15px 0;"]),U={display:"flex",flexDirection:"row",alignItems:"center",padding:"20px",width:"100%",height:"100%",borderRadius:"15px",backgroundColor:"transparent",color:"#bdbdbd",transition:"border .3s ease-in-out"},R={borderColor:"#2196f3"},E={borderWidth:2,borderColor:"#00e676"},L={borderWidth:2,borderColor:"#ff1744"};var A=e=>{let t=(0,r.useRef)(null),n=(0,r.useCallback)(n=>{e.onContentDrop(n.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)}))),e.isInputClear&&t.current&&(t.current.value="")},[e.onContentDrop,e.isInputClear,t]),i=(0,r.useCallback)(e=>{var t,n,o;e&&(null==e?void 0:e.length)>0&&(null==e?void 0:null===(o=e[0])||void 0===o?void 0:null===(n=o.errors)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.code)==="file-invalid-type"&&(0,f.sD)(m.errorMessages.imageExtMessageAlert)},[t]),{getRootProps:a,getInputProps:s,isDragActive:l,isDragAccept:c,isDragReject:d}=(0,k.uI)({onDrop:n,onDropRejected:i,name:"content",accept:(null==e?void 0:e.customAcceptFiles)?e.customAcceptFiles:"image/*, video/* ,.heic"}),h=(0,r.useMemo)(()=>({...U,...l?R:{},...c?E:{},...d?L:{}}),[l,d,c]);return(0,o.jsxs)(W,{children:[(0,o.jsx)(Z,{...a({style:h}),isCustomStyle:e.isCustomStyle||!1,isCustomHeight:e.isSellerOfferUploadModal,isFeetDonate:e.isFeetDonate,className:"tax-verification",children:(0,o.jsx)("input",{...s(),ref:t})}),(0,o.jsx)(T,{children:(0,o.jsx)(z,{isFeetDonate:e.isFeetDonate,children:(0,o.jsx)("i",{dangerouslySetInnerHTML:{__html:_.Pv}})})})]})};function H(){let e=(0,j._)(["\n padding: 30px 0;\n "]);return H=function(){return e},e}function B(){let e=(0,j._)(["\n font-size: 36px;\n margin-bottom: 15px;\n line-height: 52px;\n "]);return B=function(){return e},e}function O(){let e=(0,j._)(["\n font-size: 24px;\n line-height: 38px;\n "]);return O=function(){return e},e}function q(){let e=(0,j._)(["\n font-size: 14px;\n line-height: 26px;\n "]);return q=function(){return e},e}function $(){let e=(0,j._)(["\n min-height: 124px !important;\n "]);return $=function(){return e},e}function G(){let e=(0,j._)(["\n margin-bottom: 15px;\n "]);return G=function(){return e},e}function V(){let e=(0,j._)(["\n font-size: 14px;\n padding: 16px 60px;\n "]);return V=function(){return e},e}function Y(){let e=(0,j._)(["\n padding: 5px 0 0;\n "]);return Y=function(){return e},e}function K(){let e=(0,j._)(["\n top: -24px;\n "]);return K=function(){return e},e}let J=y.ZP.section.withConfig({componentId:"sc-2cf25c23-0"})(["padding:60px 0;",""],(0,C.w)("md")(H())),Q=y.ZP.div.withConfig({componentId:"sc-2cf25c23-1"})(["margin-bottom:30px;h2{text-align:center;font-size:40px;line-height:57px;letter-spacing:0.02em;text-transform:uppercase;color:var(--textTitleColor);font-weight:bold;margin-bottom:30px;"," ","}p{text-align:center;font-style:normal;font-weight:400;font-size:18px;line-height:30px;max-width:554px;width:100%;margin:0 auto;max-width:754px;width:100%;margin:0 auto;color:var(--textSubTitleColor);","}"],(0,C.w)("xl")(B()),(0,C.w)("sm")(O()),(0,C.w)("sm")(q())),X=y.ZP.div.withConfig({componentId:"sc-2cf25c23-2"})(["position:relative;height:auto;display:block;"]),ee=y.ZP.div.withConfig({componentId:"sc-2cf25c23-3"})(["position:relative;width:100%;height:100%;max-width:188px;min-height:143px;border-radius:15px;margin:0;display:flex;justify-content:center;align-items:center;overflow:hidden;"," label{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:#ffffff;border-radius:15px;.ff_close{position:absolute;top:12px;right:14px;width:24px;height:24px;font-weight:600;background-color:transparent;border:2px solid var(--redColor);border-radius:50px;z-index:9;display:flex;justify-content:center;align-items:center;i{cursor:pointer;font-size:18px;color:var(--redColor);transition:all ease-in-out 0.2s;&:hover{background:transparent;}}}}img{object-fit:cover;width:100%;height:100%;border-radius:10px;}"],(0,C.w)("sm")($())),et=y.ZP.div.withConfig({componentId:"sc-2cf25c23-4"})(["display:flex;justify-content:center;flex-wrap:wrap;margin-bottom:20px;",""],(0,C.w)("sm")(G())),en=y.ZP.div.withConfig({componentId:"sc-2cf25c23-5"})(["width:100%;text-align:center;button{border-radius:100px;font-size:20px;font-weight:500;background:var(--FirstColor);color:var(--whiteTextColor);transition:unset;text-transform:uppercase;padding:19px 80px;text-align:center;display:block;max-width:max-content;margin:0 auto;border:none !important;cursor:pointer;"," &:hover{color:var(--whiteTextColor) !important;background:#8c8080 !important;}&.ff-hover{&:hover{background:var(--headerMenuHoverColor) !important;}}&:focus{outline:none !important;}}",""],(0,C.w)("sm")(V()),e=>e.isFeetDonate&&(0,y.iv)(["button{background:#7f45e3;color:#fff;&:hover{color:#fff !important;background:#ff2ecf !important;}&.ff-hover{&:hover{background:#ff2ecf !important;}}}"])),eo=y.ZP.div.withConfig({componentId:"sc-2cf25c23-6"})(["margin:5px 0;width:100%;display:flex;align-items:center;"]),ei=y.ZP.div.withConfig({componentId:"sc-2cf25c23-7"})(["display:block;width:100%;padding:15px 0px 0;"," input{margin:10px 0px;background:var(--affiliateBgColor) !important;border:1.2px solid var(--textFieldText) !important;border-radius:100px;padding:15px 146px 15px 15px;width:100%;font-style:normal;font-weight:400;font-size:14px;line-height:21px;color:var(--primaryColor);text-align:left;&::placeholder,&::-webkit-input-placeholder{font-size:14px;color:var(--textDarkGreyColor);}&:focus{border:none;}}"],(0,C.w)("sm")(Y())),er=y.ZP.div.withConfig({componentId:"sc-2cf25c23-8"})(["position:relative;.ff_btn_wrapper{margin:0px;position:absolute;top:-19px;right:135px;width:100%;"," .button_block{display:flex;border-radius:100px;font-style:normal;font-weight:600;font-size:14px;line-height:24px;width:fit-content;background:var(--secondaryColor);border:none;color:var(--whiteTextColor);-webkit-transition:unset;transition:unset;padding:14.5px 50px;text-align:center;&:focus{outline:none;}}}"],(0,C.w)("sm")(K())),ea=y.ZP.div.withConfig({componentId:"sc-2cf25c23-9"})(["h2{font-style:normal;font-weight:700;font-size:20px;line-height:30px;color:var(--textTitleColor);}p{font-style:normal;font-weight:400 !important;font-size:16px !important;line-height:30px !important;text-align:center !important;color:var(--textSubTitleColor) !important;margin:15px 0 25px !important;}h3{font-style:normal;font-weight:600;font-size:18px;line-height:26px;text-align:center;color:var(--textTitleColor);}"]),es=y.ZP.div.withConfig({componentId:"sc-2cf25c23-10"})(["display:flex;align-items:center;"]),el=y.ZP.div.withConfig({componentId:"sc-2cf25c23-11"})(['margin:-32px 0 0;.checkbox.style-c{display:inline-block;position:relative;padding-left:30px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0;}.checkbox.style-c input{position:absolute;opacity:0;cursor:pointer;height:0;width:0;}.checkbox.style-c input:checked ~ .checkbox__checkmark{background-color:var(--primaryColor);}.checkbox.style-c input:checked ~ .checkbox__checkmark:after{opacity:1;}.checkbox.style-c:hover input ~ .checkbox__checkmark{background-color:var(--textFieldText);}.checkbox.style-c:hover input:checked ~ .checkbox__checkmark{background-color:var(--primaryColor);}.checkbox.style-c .checkbox__checkmark{position:absolute;top:2px;left:0;height:20px;width:20px;background-color:var(--textDarkGreyColor);transition:background-color 0.25s ease;border-radius:4px;}.checkbox.style-c .checkbox__checkmark:after{content:"";position:absolute;left:8px;top:4px;width:5px;height:10px;border:solid var(--whiteTextColor);border-width:0 2px 2px 0;transform:rotate(45deg);opacity:0;transition:opacity 0.25s ease;}']),ec=y.ZP.div.withConfig({componentId:"sc-2cf25c23-12"})(["text-align:left;font-style:normal;font-weight:400;font-size:14px;line-height:28px;color:var(--textSubTitleColor);"]),ed=y.ZP.div.withConfig({componentId:"sc-2cf25c23-13"})(["background-image:url(",");background-position:center center;background-repeat:no-repeat;background-size:contain;min-height:492px;height:100%;width:100%;display:flex;align-items:center;justify-content:center;"],x.staticSvgUrl.feetWorthModelBgSvg),eh=y.ZP.div.withConfig({componentId:"sc-2cf25c23-14"})(["padding:0 20px;h2{font-style:normal;font-weight:700;font-size:20px;line-height:30px;color:var(--whiteTextColor);}p{font-style:normal;font-weight:400 !important;font-size:16px !important;line-height:30px !important;text-align:center !important;color:var(--whiteTextColor) !important;margin:15px 0 25px !important;}.ff_amount_box_wrapper{position:relative;display:flex;align-items:center;justify-content:center;margin:35px 0;.ff_pink_box{background:#ff2ecf;border-radius:5px;transform:rotate(-7.37deg);width:100%;max-width:248px;min-height:200px;position:absolute;}.ff_white_box{background:#fdf8fe;border-radius:5px;width:100%;max-width:235px;min-height:189px;z-index:1;display:flex;align-items:center;flex-direction:column;justify-content:center;.ff_image_worth_amount{font-style:normal;font-weight:900;font-size:64px;line-height:76px;text-align:center;color:#7f45e3;}.ff_image_per_photo{font-style:normal;font-weight:600;font-size:30px;line-height:30px;text-align:center;color:#7f45e3;}}}"]);y.ZP.div.withConfig({componentId:"sc-2cf25c23-15"})(["margin-bottom:30px;h3{font-style:normal;font-weight:800;font-size:21px;line-height:42px;text-align:center;text-transform:uppercase;color:var(--textSubTitleColor);}.feet-pic-worth-social-block{display:flex;align-items:center;justify-content:space-evenly;.feet-pic-worth-social-element{overflow:hidden;display:block;a{cursor:pointer;svg{width:54px;height:54px;}}}}"]);let ep=y.ZP.div.withConfig({componentId:"sc-2cf25c23-16"})(["background-image:url(",");background-repeat:no-repeat;background-size:cover;height:198px;width:100%;background-position:center center;overflow:hidden;padding:55px 20px;.donate-modal-first-part-content{font-style:normal;font-weight:800;font-size:20px;line-height:29px;text-align:center;color:#545454;}.donate-modal-human{font-style:normal;font-weight:500;font-size:16px;line-height:26px;text-align:center;color:#545454;margin:10px 0;}"],x.staticImagesUrl.dawgsForDogsDonateThankYouBG);var ef=e=>{let{isHoverChange:t,isFeetDonate:n=!1,sectionHeading:k,description:_,ctaLabel:j,handleAddNewDawags:y=()=>{}}=e,{t:C}=(0,i.$G)("home"),[M,S]=(0,r.useState)(""),[D,F]=(0,r.useState)(!1),[I,P]=(0,r.useState)(null),[N,Z]=(0,r.useState)(null),[z,T]=(0,r.useState)(!1),[W,U]=(0,r.useState)(!1),[R,E]=(0,r.useState)(!1),[L,H]=(0,r.useState)(""),[B,O]=(0,r.useState)(!1),q=(0,r.useMemo)(()=>{var e;return Math.round(null!==(e=null==N?void 0:N.rate)&&void 0!==e?e:Math.floor(301*Math.random())+200)},[N]),$=e=>{var t,n;return(null==e?void 0:null===(t=e.type)||void 0===t?void 0:t.includes("image/jpeg"))||(null==e?void 0:null===(n=e.type)||void 0===n?void 0:n.includes("image/png"))||"image/heic"===e.type.toLowerCase()||e.name.toLowerCase().includes(".heic")?!(e.size>2e7)||((0,f.sD)(m.errorMessages.imageMaxSizeError("20MB")),!1):((0,f.sD)(m.errorMessages.imageExtMessageAlert),!1)},G=async e=>{if((null==e?void 0:e.length)>0){if((null==e?void 0:e.length)>1){(0,f._o)(m.infoMessages.onlyOneFile,"","OK");return}let t=null==e?void 0:e[0];$(t)&&(("image/heic"===t.type.toLowerCase()||t.name.toLowerCase().includes(".heic"))&&(t=await (0,g.S9)(t,!0)),Object.assign(t,{preview:URL.createObjectURL(t)}),P(t))}},V=async e=>{let t=await fetch(h.Z.getIpInfoUrl),n=await t.json(),o=localStorage.getItem(x.localStorageKeys.storedIPForDawgsForDogs);if(o&&o==(null==n?void 0:n.ip)){(0,f.sD)(m.errorMessages.imageUploadError);return}O(!0);let i=new FormData;i.append("file",e),i.append("fileName",(0,g.UO)(e)),fetch("".concat(h.Z.GET_FEET_VALUATION_API_URL(u.NW)),{method:"POST",body:i}).then(e=>e.json()).then(e=>{if(O(!1),S(""),H(""),e&&e.status&&200==e.status){if((null==e?void 0:e.prediction)=="NO"){P(null),(0,f.sD)(m.errorMessages.notFeetPhoto);return}Z({...e,ip:null==n?void 0:n.ip}),T(!0),U(!1)}else(0,f.sD)(m.errorMessages.uploadImageError)}).catch(e=>{O(!1),(0,f.sD)(m.errorMessages.commonError+" : "+e)})},Y=async e=>{let t={url:e.s3_url,predictedPrice:e.rate,ip:e.ip};p.W.PostRequest(u.$W,t,!0).then(async t=>{t&&t.isSuccess&&t.data&&(localStorage.setItem(x.localStorageKeys.storedIPForDawgsForDogs,e.ip),T(!1),E(!0),y(t.data))}).catch(()=>{(0,f.sD)(m.errorMessages.commonError)})},K=async e=>{e.preventDefault(),P(null)},ef=async()=>{if(!I){(0,f.sD)("Upload at least one image");return}await V(I)},eu=e=>0==e.length?(H(m.errorMessages.emailRequired),!1):!!(0,g.vV)(e)||(H(m.errorMessages.validEmail),!1),ex=async()=>{eu(M.trim())&&(H(""),O(!0),p.W.PostRequest(u._3,{email:M,trackerCode:"7mv7qw6xy4mltu2q4x6rac64c",siteurl:"feetvaluation"},!0).then(async e=>{O(!1),e&&e.status&&200==e.status?((0,f.Cq)(e.message),n?Y(N):(localStorage.setItem(x.localStorageKeys.storedIPForDawgsForDogs,N.ip),T(!1),U(!0))):(0,f.sD)(m.errorMessages.commonError)}).catch(()=>{O(!1),(0,f.sD)(m.errorMessages.commonError)}))},eg=e=>{let{name:t,value:n}=e.target;switch(t){case"email":S(n);break;case"isAgreeToReceiveMarketingEmail":F(e=>!e)}},em=e=>{switch(e){case"showNonRegisterUserModal":T(!1);break;case"showFeetPicsWorthModal":U(!1);break;case"showFeetPicsDonateModal":E(!1)}S(""),H(""),P(null)};return(0,o.jsxs)(J,{className:"bg_white",children:[(0,o.jsx)(s.Z,{children:(0,o.jsx)(l.Z,{children:(0,o.jsxs)(c.Z,{lg:12,children:[(0,o.jsxs)(Q,{children:[(0,o.jsx)("h2",{children:k}),(0,o.jsx)("p",{children:_})]}),I?(0,o.jsx)(et,{children:I&&(0,o.jsx)(ee,{children:(0,o.jsxs)("label",{htmlFor:"img",children:[(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(w.Z,{url:(null==I?void 0:I.preview)||""})}),(0,o.jsx)("span",{onClick:e=>K(e),className:"ff_close",children:(0,o.jsx)("i",{className:"fas fa-times"})})]})})}):(0,o.jsx)(X,{children:(0,o.jsx)(A,{customAcceptFiles:"image/jpeg,image/jpg,image/png,.heic",isCustomStyle:!0,onContentDrop:e=>G(e),isInputClear:!0,isFeetDonate:n})}),(0,o.jsx)(en,{isFeetDonate:n,children:(0,o.jsx)("button",{className:"".concat(t?"ff-hover":""),disabled:B,onClick:ef,children:j})})]})})}),z&&(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(v.Z,{show:z,onHide:()=>T(!1),children:[(0,o.jsx)(a.Z.Header,{children:(0,o.jsx)("div",{className:"closeButton",onClick:()=>em("showNonRegisterUserModal"),children:(0,o.jsx)("i",{dangerouslySetInnerHTML:{__html:d.Rb}})})}),(0,o.jsxs)(a.Z.Body,{children:[(0,o.jsxs)(ea,{children:[(0,o.jsx)("h2",{children:C("feetWorthContentSection.nonRegisterUserModal.title")}),(0,o.jsx)("p",{children:C("feetWorthContentSection.nonRegisterUserModal.content")}),(0,o.jsx)("h3",{children:C("feetWorthContentSection.nonRegisterUserModal.subText")})]}),(0,o.jsxs)(eo,{children:[(0,o.jsx)(ei,{children:(0,o.jsx)("input",{type:"text",name:"email",placeholder:"Email Address",value:M,onChange:e=>eg(e),shrink:M})}),(0,o.jsx)(er,{children:(0,o.jsx)("div",{className:"ff_btn_wrapper",children:(0,o.jsx)("button",{type:"button",className:"button_block",onClick:()=>ex(),children:C("common.send")})})})]}),(0,o.jsx)(es,{children:L&&(0,o.jsx)("div",{className:"ff_alert_danger",style:{width:"100%"},children:L})}),(0,o.jsxs)(es,{children:[(0,o.jsx)(el,{children:(0,o.jsx)("div",{className:"checkboxes__item",children:(0,o.jsxs)("label",{className:"checkbox style-c",children:[(0,o.jsx)("input",{type:"checkbox"}),(0,o.jsx)("input",{type:"checkbox",name:"isAgreeToReceiveMarketingEmail",id:"isAgreeToReceiveMarketingEmail",checked:D,onChange:e=>eg(e)}),(0,o.jsx)("div",{className:"checkbox__checkmark"})]})})}),(0,o.jsx)(ec,{children:C("feetWorthContentSection.nonRegisterUserModal.agreeAndReceiveMarketingEmails")})]})]})]})}),W&&(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(v.Z,{show:W,onHide:()=>U(!1),className:"FeetWorthModel",children:[(0,o.jsx)(a.Z.Header,{children:(0,o.jsx)("div",{className:"closeButton",onClick:()=>em("showFeetPicsWorthModal"),children:(0,o.jsx)("i",{dangerouslySetInnerHTML:{__html:d.Rb}})})}),(0,o.jsx)(a.Z.Body,{children:(0,o.jsx)(ed,{children:(0,o.jsxs)(eh,{children:[(0,o.jsx)("h2",{children:C("feetWorthContentSection.feetPicsWorthModal.title")}),(0,o.jsxs)("div",{className:"ff_amount_box_wrapper",children:[(0,o.jsx)("div",{className:"ff_pink_box"}),(0,o.jsxs)("div",{className:"ff_white_box",children:[(0,o.jsx)("div",{className:"ff_image_worth_amount",children:"$".concat(q)}),(0,o.jsx)("div",{className:"ff_image_per_photo",children:C("common.perPhoto")})]})]}),(0,o.jsx)("p",{children:"".concat(C("feetWorthContentSection.feetPicsWorthModal.content1")," $").concat(q," ").concat(C("feetWorthContentSection.feetPicsWorthModal.content2"))})]})})})]})}),R&&(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(v.Z,{show:R,onHide:()=>E(!1),className:"FeetDonateModel",children:[(0,o.jsx)(a.Z.Header,{children:(0,o.jsx)("div",{className:"closeButton",onClick:()=>em("showFeetPicsDonateModal"),children:(0,o.jsx)("i",{dangerouslySetInnerHTML:{__html:d.Rb}})})}),(0,o.jsxs)(a.Z.Body,{children:[(0,o.jsxs)(ep,{children:[(0,o.jsx)("div",{className:"donate-modal-first-part-content",children:C("feetWorthContentSection.thankYouForDonation.thankYouForDonation")}),(0,o.jsx)("div",{className:"donate-modal-human",children:C("feetWorthContentSection.thankYouForDonation.content")}),(0,o.jsx)("div",{className:"donate-modal-first-part-content",children:C("feetWorthContentSection.thankYouForDonation.dawgsForDogs")})]}),(0,o.jsx)(ed,{children:(0,o.jsxs)(eh,{children:[(0,o.jsx)("h2",{children:C("feetWorthContentSection.feetPicsWorthModal.title")}),(0,o.jsxs)("div",{className:"ff_amount_box_wrapper",children:[(0,o.jsx)("div",{className:"ff_pink_box"}),(0,o.jsxs)("div",{className:"ff_white_box",children:[(0,o.jsx)("div",{className:"ff_image_worth_amount",children:"$".concat(q)}),(0,o.jsx)("div",{className:"ff_image_per_photo",children:C("common.perPhoto")})]})]}),(0,o.jsx)("p",{children:"".concat(C("feetWorthContentSection.feetPicsWorthModal.content1")," $").concat(q," ").concat(C("feetWorthContentSection.feetPicsWorthModal.content2"))})]})})]})]})}),(0,o.jsx)(b.Z,{isLoading:B})]})}},56276:function(e,t,n){var o=n(85893),i=n(67294),r=n(43717);t.Z=e=>{let[t,n]=(0,i.useState)(e.url||r.staticImagesUrl.ff_Logo_white),[a,s]=(0,i.useState)(!e.url);(0,i.useEffect)(()=>{var t;(null==e?void 0:null===(t=e.url)||void 0===t?void 0:t.trim().length)>0?l(e.url):(s(!1),c(e.url))},[]),(0,i.useEffect)(()=>{var n;(null==e?void 0:null===(n=e.url)||void 0===n?void 0:n.trim().length)>0&&e.url!==t&&(l(e.url),s(!1))},[e]);let l=async e=>{if(e&&(null==e?void 0:e.length)>0){let t=new Image;n(e),t.onload=function(){t=null},t.onerror=function(){c(e),t=null},t.src=e}else c(e)},c=t=>{e.isOriginalCheck&&t.includes("/thumb/")?n(t.replace("/thumb/","/original/")):d()},d=()=>{let{altUrlType:t}=e;t===r.AltUrlType.user?(s(!0),n(r.staticImagesUrl.ff_Logo_white)):t===r.AltUrlType.userNewLogo?(s(!0),n(r.staticImagesUrl.FFLogo)):t===r.AltUrlType.ffLogo&&(s(!0),n(r.staticImagesUrl.ff_logo_small))};return(0,o.jsx)("img",{alt:"",src:t,className:" ".concat(a?"ff_no_profile_img":""," ").concat((null==e?void 0:e.isSellerProfile)?"seller-profile-pic":""),onContextMenu:e=>e.preventDefault(),onMouseDown:e=>e.preventDefault()})}},7859:function(e,t,n){var o=n(85893);n(67294);var i=n(12440);t.Z=e=>{let{isLoading:t,isSingleComponent:n=!1}=e;return t?(0,o.jsx)("div",{className:n?"ff_fullView position-absolute":"ff_fullView",children:(0,o.jsx)(i.p2,{wrapperClass:"ff_circleView",height:60,width:60,visible:!0,color:"#00BFFF",ariaLabel:"circles-loading"})}):(0,o.jsx)("div",{})}}}]);