1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3236],{83236:function(e,t,r){r.r(t),r.d(t,{default:function(){return N}});var a=r(74817),i=r(69764),l=r(36497),n=r(71248),s=r(71260),o=r(86271),d=r(46988),c=r(69277),u=r(93978);let m=[{fields:[{name:"firstName",fieldType:"text",label:"First Name",placeholder:"Enter first name",required:!0},{name:"lastName",fieldType:"text",label:"Last Name",placeholder:"Enter last name",required:!0}]},{fields:[{name:"email",fieldType:"text",label:"Email",placeholder:"Enter email",required:!0},{id:"60702",name:"Member ID",fieldType:"text",label:"Curative Member ID",placeholder:"Enter Member ID",required:!0}]},{fields:[{id:"62991",name:"Member Name",fieldType:"text",label:"Member Name",placeholder:"Enter member name",required:!0},{id:"62992",name:"Member Date of Birth",fieldType:"text",label:"Member Date of Birth",placeholder:"MM/DD/YYYY",required:!0}]},{fields:[{id:"62993",name:"Home Address",fieldType:"text",label:"Home Address",placeholder:"Enter home address",required:!0},{id:"62990",name:"Employer Name",fieldType:"text",label:"Employer Name",placeholder:"Enter employer name",required:!0}]},{fields:[{id:"63294",name:"Plan Type",fieldType:"select",label:"Plan Type",placeholder:"Select plan type",required:!0,options:[{label:"EPO",value:"349649"},{label:"EPO Value",value:"349650"},{label:"PPO",value:"349651"},{label:"PPO+",value:"349652"},{label:"PPOX",value:"349653"},{label:"PPO Max",value:"349654"}]},{id:"63464",required:!0,fieldType:"text",name:"Date of Service",label:"Date of Service",placeholder:"MM/DD/YYYY"},{id:"62994",required:!0,fieldType:"number",name:"Total Amount Paid",label:"Total Amount Paid",placeholder:"Enter total amount paid"}]},{fields:[{id:"61961",required:!0,fieldType:"select",name:"Paid for Rendered Service",label:"Did you pay for the service rendered?",options:[{value:"yes",label:"Yes"},{value:"no",label:"No"}]}]},{fields:[{id:"61962",required:!0,fieldType:"select",name:"Baseline Visit Completed",label:"Did you complete your baseline visit?",options:[{value:"yes",label:"Yes"},{value:"no",label:"No"}]}]},{fields:[{id:"61963",required:!0,fieldType:"select",name:"Already Requested Services",label:"Have you already sent in a request for these services?",options:[{value:"yes",label:"Yes"},{value:"no",label:"No"}]}]},{fields:[{id:"61964",required:!0,fieldType:"select",name:"Services Performed Outside of US",label:"Is this a claim for services performed outside of the United States?",options:[{value:"yes",label:"Yes"},{value:"no",label:"No"}]}]},{fields:[{id:"62995",required:!0,fieldType:"select",name:"I certify",label:"I certify that the above information is accurate and that the submitted documents are true and correct. I understand that submission does not guarantee reimbursement.",options:[{value:"yes",label:"Yes"}]}]}];var p=r(19727),h=r(42425),b=r(43970),f=r(50723);let y=b.ZP.div.withConfig({componentId:"sc-b97c1ed5-0"})(["position:fixed;inset:0;background:rgba(0,0,0,0.5);display:flex;align-items:center;justify-content:center;z-index:1000;padding:24px;"]),g=b.ZP.div.withConfig({componentId:"sc-b97c1ed5-1"})(["background:",";border-radius:12px;padding:32px;max-width:480px;width:100%;box-shadow:0 20px 60px rgba(0,0,0,0.15);"],f.ZP.white),x=b.ZP.h3.withConfig({componentId:"sc-b97c1ed5-2"})(["color:",";font-size:1.25rem;font-weight:700;margin-bottom:12px;"],f.ZP.black),v=b.ZP.p.withConfig({componentId:"sc-b97c1ed5-3"})(["color:",";font-size:1rem;line-height:1.5;margin-bottom:16px;"],f.ZP.black),j=b.ZP.div.withConfig({componentId:"sc-b97c1ed5-4"})(["margin-bottom:16px;font-size:0.9375rem;line-height:1.6;a{color:",";text-decoration:underline;}"],f.ZP.clearBlue[700]),P=b.ZP.button.withConfig({componentId:"sc-b97c1ed5-5"})(["display:inline-block;padding:10px 24px;background:",";color:",";border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color 0.2s;&:hover{background:",";}"],f.ZP.clearBlue[700],f.ZP.white,f.ZP.clearBlue[800]);var k=r(9860),w=r(11003);let C="[email protected]",S="855-428-7284",T=()=>(0,a.jsxs)(j,{children:[(0,a.jsxs)("p",{children:["Email us: ",(0,a.jsx)("a",{href:`mailto:${C}`,children:C})]}),(0,a.jsxs)("p",{children:["Call us at: ",(0,a.jsx)("a",{href:`tel:${S}`,children:S})]})]}),E={open:!1,heading:"",body:"",showContact:!1,blocking:!1},q=e=>new Promise((t,r)=>{let a=new FileReader;a.onerror=()=>r(Error("Failed to read file")),a.onload=()=>{let r="string"==typeof a.result?a.result:"",i=r.includes(",")?r.split(",")[1]:r;t({fileName:e.name,mimeType:e.type||"application/pdf",data:i})},a.readAsDataURL(e)});var N=e=>{let{heading:t,redirectUrl:r}=e,b=t?.heading,f=(0,w.Z)(t?.headingElementType),j=t?.subhead,C=(0,l.useRouter)(),{executeRecaptcha:S}=(0,o.xX)(),{control:N,handleSubmit:I,formState:{errors:D},watch:Z}=(0,s.cI)({mode:"onChange",reValidateMode:"onChange"}
1),M=Z(),[R,Y]=(0,n.useState)([]),[z,O]=(0,n.useState)(!1),[A,B]=(0,n.useState)({}),[F,U]=(0,n.useState)([]),[$,_]=(0,n.useState)(""),[H,V]=(0,n.useState)(E),[L,W]=(0,n.useState)(!1),[X,G]=(0,n.useState)(""),J=M["Paid for Rendered Service"],K=M["Baseline Visit Completed"],Q=M["Already Requested Services"],ee=M["Services Performed Outside of US"];(0,n.useEffect)(()=>{"no"===J&&V({open:!0,heading:"Contact Member Services",body:"Since you have not paid for the service rendered, please contact member services for assistance.",showContact:!0,blocking:!0})},[J]),(0,n.useEffect)(()=>{"no"===K&&V({open:!0,heading:"Not Eligible for Reimbursement",body:"You must complete your baseline visit before you are eligible for reimbursement.",showContact:!1,blocking:!0})},[K]),(0,n.useEffect)(()=>{"yes"===Q&&V({open:!0,heading:"Request Already Submitted",body:"We are currently working on your request. If you still have questions, please contact member services.",showContact:!0,blocking:!0})},[Q]),(0,n.useEffect)(()=>{"yes"===ee?W(!0):W(!1),G("")},[ee]),(0,n.useEffect)(()=>{"yes"===X?V({open:!0,heading:"Not Eligible for Reimbursement",body:"Services performed on a cruise ship are not eligible for reimbursement.",showContact:!1,blocking:!0}):"no"===X&&V({open:!0,heading:"International Claim Requirements",body:"All forms and currency must be in English. If not provided in English by the provider, a certified English translation must be submitted.",showContact:!1,blocking:!1})},[X]);let et=()=>V(E),er="no"===J||"no"===K||"yes"===Q||"yes"===X||L&&""===X,ea=e=>"application/pdf"===e.type||e.name.toLowerCase().endsWith(".pdf"),ei=(e,t,r)=>{let a=Array.from(e.target.files||[]);if(a.filter(e=>!ea(e)).length>0){t([]),r("Only PDF files are allowed."),e.target.value="";return}t(a),r("")},el=async(e,t)=>{if(t.preventDefault(),O(!0),_(""),B({}),F.length<3){O(!1),_("Please upload all three required documents: superbill or itemized statement, paid receipt, and transaction statement.");return}let a=[...F];if(a.length>10){O(!1),_("You can upload up to 10 total attachments.");return}let l=a.find(e=>e.size>5242880);if(l){O(!1),_(`"${l.name}" exceeds the ${Math.floor(5)}MB limit.`);return}if(4/3*a.reduce((e,t)=>e+t.size,0)>26214400){O(!1),_("Total attachment size exceeds 25MB. Please remove some files.");return}try{let t;let l=await Promise.all(a.map(q));try{t=S?await S("helpscout_reimbursement"):void 0}catch{O(!1),B({general:"Unable to verify reCAPTCHA. Please refresh the page and try again."});return}let n={...e,cruiseShip:X,attachments:l,captchaToken:t},s=await i.Z.post("/api/forms/helpscout/reimbursement-submit",n),{errors:o}=s?.data;if(o&&Object.keys(o).length>0){O(!1),B(o);return}O(!1),C.push(r||"https://curative.com/thank-you")}
1catch(e){O(!1),e.response?.status===413?_("Files too large. Please reduce file sizes or remove some attachments and try again."):e.response?.data?.error?e.response.data.error.includes("too large")||e.response.data.error.includes("Request too large")?_("Files too large. Please reduce file sizes and try again."):B({general:e.response.data.error}):e.message?.includes("Network Error")||e.message?.includes("Request failed")?B({general:"Network error. Please check your connection and try again."}):B({general:"Failed to submit form. Please try again."})}};return(0,a.jsxs)(c.Z,{backgroundColor:"clearBlue.800",children:[(0,a.jsxs)(p.X2,{children:[(0,a.jsxs)(p.vs,{children:[b&&(0,a.jsx)(p.OT,{as:f,children:b}),j&&(0,a.jsx)(p.tr,{children:(0,k.Z)(j)})]}),(0,a.jsxs)(p.n5,{as:"form",onSubmit:I(el),children:[(0,u.Z)(m,N,D,M,R,Y,!0),L&&(0,a.jsxs)(p.aR,{children:[(0,a.jsxs)(h.bT,{as:"p",style:{marginBottom:"8px"},children:["Were the services performed on a cruise ship? ",(0,a.jsx)("span",{"aria-hidden":"true",children:"*"})]}),(0,a.jsxs)("div",{style:{display:"flex",gap:"16px"},children:[(0,a.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:"6px",cursor:"pointer"},children:[(0,a.jsx)("input",{type:"radio",name:"cruiseShip",value:"yes",checked:"yes"===X,onChange:e=>G(e.target.value)}),"Yes"]}),(0,a.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:"6px",cursor:"pointer"},children:[(0,a.jsx)("input",{type:"radio",name:"cruiseShip",value:"no",checked:"no"===X,onChange:e=>G(e.target.value)}),"No"]})]})]}),(0,a.jsxs)(h.DT,{children:[(0,a.jsxs)(h.bT,{htmlFor:"proof-of-payment",children:["Upload the following three documents (PDF only): ",(0,a.jsx)("span",{"aria-hidden":"true",children:"*"})]}),(0,a.jsxs)("ol",{style:{margin:"4px 0 8px 20px",padding:0,fontSize:"14px",color:"white"},children:[(0,a.jsx)("li",{children:"Superbill or itemized statement (must include the provider's NPI number)"}),(0,a.jsx)("li",{children:"Paid receipt"}),(0,a.jsx)("li",{children:"Transaction statement (e.g., bank or credit card statement showing payment)"})]}),(0,a.jsx)(h.a6,{id:"proof-of-payment",name:"proof-of-payment",type:"file",multiple:!0,accept:"application/pdf,.pdf","aria-required":"true",onChange:e=>ei(e,U,_)}),F.length>0&&(0,a.jsx)("ul",{children:F.map((e,t)=>(0,a.jsx)("li",{children:e.name},`${e.name}-${t}`))}),$&&(0,a.jsx)(p.xv,{children:$})]}),(0,a.jsx)(p.aR,{children:(0,a.jsx)(d.default,{type:"submit",theme:"secondary.fill",label:z?"Submitting...":"Submit",disabled:z||er,isFormButton:!0,onClick:()=>{F.length<3?_("Please upload all three required documents: superbill or itemized statement, paid receipt, and transaction statement."):_("")}})}),A&&Object.keys(A).length>0&&(0,a.jsxs)(p.aR,{children:[(0,a.jsx)(p.xv,{children:"There was an error submitting your form:"}),(0,a.jsx)("ul",{children:Object.keys(A).map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)(p.xv,{children:A[e]})},t))})]})]})]}),H.open&&(0,a.jsx)(y,{onClick:H.blocking?void 0:et,children:(0,a.jsxs)(g,{role:"dialog","aria-modal":"true","aria-labelledby":"reimbursement-modal-heading","aria-describedby":"reimbursement-modal-body",onClick:e=>e.stopPropagation(),children:[(0,a.jsx)(x,{id:"reimbursement-modal-heading",children:H.heading}),(0,a.jsx)(v,{id:"reimbursement-modal-body",children:H.body}),H.showContact&&(0,a.jsx)(T,{}),(0,a.jsx)(P,{type:"button",autoFocus:!0,onClick:et,children:H.blocking?"Close":"Got it"})]})})]})}}}]);
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.