1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6261],{5761:function(e,n,t){var r=t(7294),o=t(7379),i=t(1664),a=t.n(i),s=t(7569),l=t(4794),d=t(5893),c=o.ZP.div.withConfig({displayName:"ErrorMessage__StyledErrorMessage",componentId:"sc-c6lobc-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;padding-left:20px;padding-right:20px;.message-content{display:flex;justify-content:center;font-family:'RobotoRegular';font-size:18px;line-height:calc(1.42857rem * (18 / 16));color:#C61F0C;text-align:center;",";}.action-block{margin-top:32px;}"],(function(e){return e.showContactUsLink&&(0,o.iv)(["color:",";"],(0,s.E)("#002346",.9))}));n.Z=function(e){var n=e.showContactUsLink,t=e.showOK,o=void 0===t?{text:null,onClick:function(){}}:t,i=e.message,s=void 0===i?"Something went wrong":i,u=e.error,h=(0,r.useMemo)((function(){return u&&u.message.errors?u.message.errors[0]:u&&!u.message.errors&&u.message?u.message:s}),[s,u]),p=(0,r.useCallback)((function(){(null===o||void 0===o?void 0:o.onClick)&&o.onClick()}),[o]);return(0,d.jsxs)(c,{showContactUsLink:n,children:[(0,d.jsx)("div",{className:"message-content",children:h}),n&&(0,d.jsx)("div",{className:"action-block",children:(0,d.jsx)(a(),{href:"/contactus",passHref:!0,children:(0,d.jsx)(l.Z,{children:"Contact Us"})})}),(null===o||void 0===o?void 0:o.text)&&(0,d.jsx)("div",{className:"action-block",children:(0,d.jsx)(l.Z,{onClick:p,children:null===o||void 0===o?void 0:o.text})})]})}},7865:function(e,n,t){var r=t(7294),o=t(7379),i=(t(7297),t(9499)),a=t(4853),s=t(4835),l=t(1608),d=t(1555),c=t(9822),u=t(1852),h=t(4730),p=t(1752),x=t.n(p),m=t(9359),v=t(6968),g=t(3489),f=t(5944),j=t(7569),b=t(3669),y=t(7060),Z=t(926),C=t(5893),N=["id","type","hint","label","loading","placeholder","required","pattern","maxLength","defaultInvalidMessage","validate","isValid","isInvalid","onKeyPress","matchValue","isCorpAddress","value","onChange","onBlur","onKeyDown","onMouseEnter","onMouseLeave","allowSuccessMessage","hideDivider","thirdPartyProps"];function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function E(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?w(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var S=x()().publicRuntimeConfig,O=(0,o.ZP)(s.Z.Group).withConfig({displayName:"TextInput__StyledGroup",componentId:"sc-1x2slwh-0"})(["display:flex;flex-wrap:wrap;position:relative;padding-left:0;padding-right:0;padding-bottom:10px;border-bottom:1px solid #eaeaea;",";"],(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;border-bottom:none;"])})),M=(0,o.ZP)(s.Z.Label).withConfig({displayName:"TextInput__StyledLabel",componentId:"sc-1x2slwh-1"})(["display:flex;align-items:center;width:50%!important;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#0071bc;}}@media ","{width:100%!important;}"],(function(e){return e.theme.devices.tablet})),P=(0,o.ZP)(s.Z.Control).withConfig({displayName:"TextInput__StyledControl",componentId:"sc-1x2slwh-2"})(["width:50%;min-height:34px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'LatoRegular';font-size:14px;line-height:24px;color:#333333;border:1px solid #234e76;border-radius:0;",";",";",";@media ","{width:100%;}"],(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #198754 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(40 167 69 / 25%) !important;"],"url(".concat(S.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(220 53 69 / 25%) !important;"],"url(".concat(S.basePath,"/icons/V2/validation_failure.svg)"))}),(function(e){return e.isLoading&&(0,o.iv)(["border:1px solid "," !important;box-shadow:none !important;background-image:none !important;"],(0,j.E)("#234e76",.1))}),(function(e){return e.theme.devices.tablet})),I=(0,o.ZP)(v.Z).withConfig({displayName:"TextInput__StyledSpinner",componentId:"sc-1x2slwh-3"})(["position:absolute;top:calc((34px - 2rem) / 2);right:16px;&.text-custom{color:",";}"],(0,j.E)("#234e76",.3)),k=(0,o.ZP)(s.Z.Control.Feedback).withConfig({displayName:"TextInput__StyledFeedback",componentId:"sc-1x2slwh-4"}
1)(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{padding:5px;font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#ffffff;}&.processing-feedback{color:",";}&.valid-feedback{background-color:#198754;}&.invalid-feedback{background-color:#d44942;}"],(0,j.E)("#333333",.5));var L=function(e){var n=e.id,t=e.type,o=e.hint,i=e.label,a=e.loading,s=e.placeholder,l=e.required,d=e.pattern,c=e.maxLength,u=e.defaultInvalidMessage,p=void 0===u?"":u,x=e.validate,v=e.isValid,j=e.isInvalid,w=e.onKeyPress,S=e.matchValue,L=e.isCorpAddress,D=e.value,F=void 0===D?"":D,B=e.onChange,_=e.onBlur,X=e.onKeyDown,A=e.onMouseEnter,z=e.onMouseLeave,T=e.allowSuccessMessage,R=e.hideDivider,V=e.thirdPartyProps,q=(0,h.Z)(e,N),$=(0,r.useState)(null),Y=$[0],U=$[1],W=(0,b.D)(F),G=(0,r.useCallback)((function(e){if(!Y&&(0,Z.o)(e)){B&&B({target:{id:"verifying",value:!0}});var n=e;n.indexOf("+")>-1&&n.indexOf("gmail.com")>-1&&(n=n.substring(0,n.indexOf("+"))+n.substring(n.indexOf("@"),n.length)),(0,y.ZP)(n).then((function(e){U(e),B&&B({target:{id:"verifying",value:!1}})}))}}),[B,Y]),Q=(0,r.useCallback)((function(e){U(null),x&&x(e,{required:l,matchValue:S,isCorpAddress:L}),B&&B(e)}),[B,x,l,S]),K=(0,r.useCallback)((function(e){"email"===t&&F&&G(F),_&&_(e)}
1),[_,t,F,G]),H=(0,r.useCallback)((function(e){"email"===t&&F&&"Enter"===e.code&&(!Y&&(0,Z.o)(F)&&B&&B({target:{id:"suspendedSubmit",value:!0}}),G(F)),X&&X(e)}),[X,B,t,F,Y,G]),J=(0,r.useCallback)((function(){A&&A({label:i||s,hint:o})}),[A,i,s,o]),ee=(0,r.useMemo)((function(){return{placement:m.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o}),show:!1}}),[n,o]),ne=i||s,te=null!==Y&&void 0!==Y&&Y.status&&!a?y.lx.includes(null===Y||void 0===Y?void 0:Y.status):v,re=null!==Y&&void 0!==Y&&Y.status&&!a?y.lo.includes(null===Y||void 0===Y?void 0:Y.status):j,oe=y.ry[null===Y||void 0===Y?void 0:Y.reason]||"Verified!",ie=y.ry[null===Y||void 0===Y?void 0:Y.reason]||p,ae=!(te&&!re),se=(0,r.useMemo)((function(){if(V)return w?E(E({},V),{},{onKeyPress:w}):V;var e={type:t||"text",name:n,onChange:Q,onBlur:K,onKeyDown:H};return w&&(e.onKeyPress=w),e}),[V,n,t,w,Q,K]);return(0,r.useEffect)((function(){"email"===t&&void 0===W&&F&&G(F)}),[G,t,W,F]),(0,C.jsx)(f.Z,E(E({},ee),{},{children:(0,C.jsxs)(O,{controlId:n,hideDivider:R,onMouseEnter:J,onMouseLeave:z,children:[(0,C.jsxs)(M,{children:[ne,ne&&l&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(P,E(E(E({},se),q),{},{required:l,isValid:te,isInvalid:re,isLoading:a,pattern:d,maxLength:c,value:F||"","data-hj-allow":!0})),a&&"email"===t&&(0,C.jsx)(k,{type:"processing",children:"Verification..."}),T&&!ae&&!a&&(0,C.jsx)(k,{type:"valid",children:oe}),ae&&ie&&!a&&(0,C.jsx)(k,{type:"invalid",children:ie}),a&&(0,C.jsx)(I,{animation:"border",variant:"custom"})]})}))},D=t(6627),F=t.n(D);function B(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?B(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):B(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var X=x()().publicRuntimeConfig,A=(0,o.ZP)(s.Z.Group).withConfig({displayName:"MaskInput__StyledGroup",componentId:"sc-ztvtlp-0"})(["display:flex;flex-wrap:wrap;position:relative;padding-left:0;padding-right:0;padding-bottom:10px;border-bottom:1px solid #eaeaea;",";"],(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;border-bottom:none;"])})),z=(0,o.ZP)(s.Z.Label).withConfig({displayName:"MaskInput__StyledLabel",componentId:"sc-ztvtlp-1"})(["display:flex;align-items:center;width:50%!important;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#0071bc;}}@media ","{width:100%!important;}"],(function(e){return e.theme.devices.tablet})),T=(0,o.ZP)(s.Z.Control).withConfig({displayName:"MaskInput__StyledControl",componentId:"sc-ztvtlp-2"})(["width:50%;"," min-height:34px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'LatoRegular';font-size:14px;line-height:24px;color:#333333;border:1px solid #234e76;border-radius:0;",";",";&::placeholder{color:",";}@media ","{width:100%;","}"],(function(e){return e.suffix&&(0,o.iv)(["width:40%;"])}),(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #198754 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(40 167 69 / 25%) !important;"],"url(".concat(X.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(220 53 69 / 25%) !important;"],"url(".concat(X.basePath,"/icons/V2/validation_failure.svg)"))}),(0,j.E)("#1B3858",.5),(function(e){return e.theme.devices.tablet}),(function(e){return e.suffix&&(0,o.iv)(["width:90%;"])})),R=(0,o.ZP)(s.Z.Control.Feedback).withConfig({displayName:"MaskInput__StyledFeedback",componentId:"sc-ztvtlp-3"})(["padding:5px;font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#ffffff;
1&.invalid-feedback{background-color:#d44942;}"]),V=o.ZP.div.withConfig({displayName:"MaskInput__StyledSuffixContainer",componentId:"sc-ztvtlp-4"})(["display:flex;justify-content:flex-end;align-items:flex-start;position:absolute;top:0;right:0;height:100%;min-width:34px;width:10%;padding-top:3px;@media ","{padding-top:22px;}"],(function(e){return e.theme.devices.tablet}));var q=function(e){var n=e.id,t=e.hint,o=e.suffix,i=e.label,a=e.hideDivider,s=e.placeholder,l=e.required,d=e.pattern,c=e.mask,u=e.maxLength,h=e.defaultInvalidMessage,p=void 0===h?"":h,x=e.validate,v=e.isValid,j=e.isInvalid,b=e.onKeyPress,y=e.value,Z=void 0===y?"":y,N=e.onChange,w=e.onMouseEnter,E=e.onMouseLeave,S=(0,r.useCallback)((function(e){x&&x(e,{required:l}),N&&N(e)}),[N,x,l]),O=(0,r.useCallback)((function(){w&&w({label:i||s,hint:t})}),[w,i,s,t]),M=(0,r.useMemo)((function(){return{placement:m.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t}),show:!1}}),[n,t]),P=i||s,I=!(v&&!j);return(0,C.jsx)(f.Z,_(_({},M),{},{children:(0,C.jsxs)(A,{controlId:n,hideDivider:a,onMouseEnter:O,onMouseLeave:E,children:[(0,C.jsxs)(z,{children:[P,P&&l&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(F(),{mask:c,maskChar:null,value:Z,onChange:S,children:function(e){return(0,C.jsx)(T,{type:"phone",name:n,required:l,isValid:v,isInvalid:j,pattern:d,placeholder:s,maxLength:u,onKeyPress:b,"data-hj-allow":!0,suffix:o})}}),I&&p&&(0,C.jsx)(R,{type:"invalid",children:p}),o&&(0,C.jsx)(V,{children:o})]})}))};function $(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var U=x()().publicRuntimeConfig,W=(0,o.ZP)(s.Z.Group).withConfig({displayName:"Textarea__StyledGroup",componentId:"sc-aezbl8-0"})(["position:relative;padding-left:0;padding-right:0;",";"],(function(e){return e.withLabel&&(0,o.iv)(["padding-top:24px;"])})),G=(0,o.ZP)(s.Z.Label).withConfig({displayName:"Textarea__StyledLabel",componentId:"sc-aezbl8-1"})(["position:absolute;left:0;top:0;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#0071bc;}}"]),Q=(0,o.ZP)(s.Z.Control).withConfig({displayName:"Textarea__StyledControl",componentId:"sc-aezbl8-2"})(["resize:none;width:100%;min-height:52px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'LatoRegular';font-size:14px;line-height:24px;color:#333333;border:1px solid #234e76;border-radius:0;background-repeat:no-repeat;background-origin:content-box;background-position-x:right;",";",";&:focus{background-color:#FFFFFF;border-color:#80BDFF;outline:0;box-shadow:0 0 0 0.2rem rgb(0 123 255 / 25%);}"],(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #28A745;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(U.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(U.basePath,"/icons/V2/validation_failure.svg)"))})),K=(0,o.ZP)(s.Z.Control.Feedback).withConfig({displayName:"Textarea__StyledFeedback",componentId:"sc-aezbl8-3"})(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{padding:5px;font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#ffffff;}&.processing-feedback{color:",";}&.valid-feedback{background-color:#198754;}&.invalid-feedback{background-color:#d44942;}"],(0,j.E)("#333333",.5));var H=function(e){var n=e.id,t=e.hint,o=e.label,i=e.emptyLabel,a=e.placeholder,s=e.required,l=e.validated,d=e.isInvalid,c=e.pattern,u=e.maxLength,h=e.minLength,p=e.defaultInvalidMessage,x=void 0===p?"":p,v=e.validate,j=e.onKeyPress,b=e.matchValue,y=e.value,Z=void 0===y?""
1:y,N=e.onChange,w=(0,r.useCallback)((function(e){v&&v(e,{required:s,matchValue:b}),N&&N(e)}),[N,v,s,b]),E=(0,r.useMemo)((function(){var e={placement:m.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t&&!m.tq||(e.show=!1),e}),[n,t]),S=!s&&l&&!d||Z&&l&&!d,O=d||s&&!Z&&l;return(0,C.jsx)(f.Z,Y(Y({},E),{},{children:(0,C.jsxs)(W,{controlId:n,withLabel:Boolean(o||i),children:[(0,C.jsxs)(G,{children:[o,!i&&o&&s&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(Q,{as:"textarea",rows:5,name:n,required:s,placeholder:a,pattern:c,maxLength:u,minLength:h,isValid:S,isInvalid:O,value:Z,onKeyPress:j,onChange:w,"data-hj-allow":!0}),(0,C.jsx)(K,{type:"invalid",children:x})]})}))};function J(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ee(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?J(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):J(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ne=(0,o.ZP)(s.Z.Group).withConfig({displayName:"Switch__StyledGroup",componentId:"sc-s6vxuk-0"})(["width:50%;margin-bottom:0!important;padding-left:0;padding-right:0;input:checked + label,input:not(:checked) + label{display:inline-block;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;cursor:pointer;}@media ","{width:100%;}"],(function(e){return e.theme.devices.tablet})),te=(0,o.ZP)(s.Z.Check).withConfig({displayName:"Switch__StyledCheck",componentId:"sc-s6vxuk-1"})(["margin-right:24px;@media ","{margin-top:12px;}"],(function(e){return e.theme.devices.tablet})),re=o.ZP.div.withConfig({displayName:"Switch__StyledWrapper",componentId:"sc-s6vxuk-2"})(["display:flex;align-items:center;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #eaeaea;",";@media ","{flex-direction:column;}"],(function(e){return e.hideDivider&&(0,o.iv)(["border-bottom:none;"])}),(function(e){return e.theme.devices.tablet})),oe=o.ZP.div.withConfig({displayName:"Switch__StyledQuestion",componentId:"sc-s6vxuk-3"})(["width:50%;padding-right:24px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;@media ","{width:100%;}"],(function(e){return e.theme.devices.tablet}));var ie=function(e){var n=e.id,t=e.hideDivider,o=e.hint,i=e.label,a=e.labelOn,s=void 0===a?"Label ON":a,l=e.labelOff,d=void 0===l?"Label OFF":l,c=e.valueOn,u=e.valueOff,h=e.value,p=e.onChange,x=e.onMouseEnter,v=e.onMouseLeave,j=(0,r.useCallback)((function(){x&&x({label:i,hint:o})}),[x,i,o]),b=(0,r.useMemo)((function(){return{placement:m.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o}),show:!1}}),[n,o]);return(0,C.jsx)(f.Z,ee(ee({},b),{},{children:(0,C.jsxs)(re,{hideDivider:t,onMouseEnter:j,onMouseLeave:v,children:[(0,C.jsx)(oe,{children:(0,C.jsx)("span",{children:i})}),(0,C.jsxs)(ne,{controlId:n,children:[(0,C.jsx)(te,{inline:!0,id:"".concat(n,"1"),label:d,name:n,type:"radio",value:u,checked:h===u,onChange:p}),(0,C.jsx)(te,{inline:!0,id:"".concat(n,"2"),label:s,name:n,type:"radio",value:c,checked:h===c,onChange:p})]})]})}))},ae=t(4794),se=t(4155);function le(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function de(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?le(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):le(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ce=(0,o.ZP)(s.Z).withConfig({displayName:"ContactUsForm__StyledContactUsForm",componentId:"sc-10bmv3s-0"})([".contact-block-title{margin-bottom:1rem;padding-top:10px;padding-bottom:10px;font-family:'RobotoRegular';span{font-family:'RobotoBold';}}button{width:100%;margin-top:2rem;margin-bottom:1rem;}@media ","{.contact-block-title{margin-bottom:0;}}"],(function(e){return e.theme.devices.tablet})),ue=r.forwardRef((function(e,n){var t=e.values,o=void 0===t?{}
1:t,i=e.onReCaptcha,s=e.onChange,h=e.onSubmit,p="true"===o[c.xh.questionsOrder],x=se.env.NEXT_PUBLIC_GOOGLE_RECAPTCHA_PUBLIC_KEY,m=(0,r.useCallback)((function(){s&&s({target:{id:"suspendedSubmit",value:!0}})}),[s]);return(0,C.jsxs)(ce,{noValidate:!0,validated:o.validated,onSubmit:h,children:[(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsxs)("div",{className:"contact-block-title ",children:["Use the form below to submit a support request. A business filing expert will be in touch with you as soon as possible.\xa0",(0,C.jsx)("span",{children:"If submitted after office hours, we will respond on the next business day."})]})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,u.X)(c.xh.customerFirstName)),{},{value:o[c.xh.customerFirstName],onChange:s,column:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,u.X)(c.xh.customerLastName)),{},{value:o[c.xh.customerLastName],onChange:s}))})]}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,de(de({},(0,u.X)(c.xh.customerPhone)),{},{value:o[c.xh.customerPhone],onChange:s}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,u.X)(c.xh.customerEmail)),{},{loading:o.verifying,value:o[c.xh.customerEmail],onChange:s}))})]}),(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,de(de({},(0,u.X)(c.xh.questionsOrder)),{},{value:o[c.xh.questionsOrder],onChange:s}))})}),p&&(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,u.X)(c.xh.orderId)),{},{value:o[c.xh.orderId],onChange:s}))})}),(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(H,de(de({},(0,u.X)(c.xh.message)),{},{validated:o.validated,value:o[c.xh.message],onChange:s}))})}),x&&(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(a.Z,{className:"g-recaptcha",ref:n,sitekey:x,onChange:i})})}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"ContactUsSubmitButton",onMouseDown:m,children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]})})),he=t(8021),pe=t(5761),xe=t(7812),me=t(1163),ve=t(9669),ge=t.n(ve),fe=t(4487),je=t(3009);function be(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ye(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?be(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):be(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}x()().publicRuntimeConfig;var Ze=(0,o.ZP)(s.Z.Group).withConfig({displayName:"ProcessingRadioGroup__StyledGroup",componentId:"sc-5560va-0"})(["width:100%;padding-left:0;padding-right:0;input:checked + label,input:not(:checked) + label{display:inline-block;position:relative;font-family:'LatoRegular';font-size:14px;line-height:24px;color:",";cursor:pointer;}.col-md-6{&:nth-child(odd){padding-right:8px;}&:nth-child(even){padding-left:8px;}}.col-12{padding-bottom:8px;}@media ","{.col-md-6{&:nth-child(odd){padding-right:15px;}&:nth-child(even){padding-left:15px;}}}"],(0,j.E)("#1B3858",.5),(function(e){return e.theme.devices.tablet})),Ce=(0,o.ZP)(s.Z.Check).withConfig({displayName:"ProcessingRadioGroup__StyledCheck",componentId:"sc-5560va-1"})(["margin-top:5px;"]),Ne=o.ZP.label.withConfig({displayName:"ProcessingRadioGroup__StyledLabel",componentId:"sc-5560va-2"})(["display:flex;align-items:flex-start;height:calc(100% - 8px);padding:18px;border:1px solid ",";position:relative;cursor:pointer;.title{display:flex;flex-direction:column;flex-grow:1;font-family:'RobotoBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";.description{font-family:'RobotoRegular';font-size:12px;line-height:calc(1.42857rem * (12 / 16));}}.price-badge{position:absolute;top:6px;right:10px;font-family:'RobotoRegular';font-size:16px;line-height:26px;color:",";}",";"],(0,j.E)("#234e76",.5),(0,j.E)("#002346",.5),(0,j.E)("#002346",.5),(function(e){return e.active&&(0,o.iv)(["border:1px solid #234e76;.title{color:",";}.price-badge{color:",";}"],(0,j.E)("#002346",1),(0,j.E)("#002346",1))}));var we=function(e){var n=e.id,t=e.hint,o=e.options,i=void 0===o?[]:o,a=e.value,s=e.onCh
1ange,c=(0,r.useMemo)((function(){var e={placement:m.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t||(e.show=!1),e}),[n,t]);return(0,C.jsx)(f.Z,ye(ye({},c),{},{children:(0,C.jsx)(Ze,{controlId:n,children:(0,C.jsx)(l.Z,{children:i.map((function(e,t){return(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsxs)(Ne,{active:a===e.value,children:[(0,C.jsx)(Ce,{id:"".concat(n).concat(t+1),name:n,inline:!0,type:"radio",label:"",value:e.value,checked:a===e.value,onChange:s}),(0,C.jsxs)("div",{className:"title",children:[(0,C.jsx)("div",{className:"name",children:(0,C.jsx)("span",{children:e.name})}),(0,C.jsx)("div",{className:"description",children:(0,C.jsxs)("span",{children:["(",e.description,")"]})})]}),(0,C.jsx)("div",{className:"price-badge",children:(0,C.jsxs)("span",{children:["$",e.price]})})]})},"".concat(n).concat(t+1))}))})})}))};function Ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Se(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ee(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ee(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Oe=[je.a.leadDiscount,je.a.leadDiscount20,je.a.leadDiscount50];var Me=function(e){var n=e.values,t=void 0===n?{}:n,o=e.onChange,i=(0,me.useRouter)(),a=i.query,s=i.isReady,h=(0,r.useState)([]),p=h[0],x=h[1],m=(0,r.useState)(new Map),v=m[0],g=m[1],f=(0,r.useState)(null),j=f[0],y=f[1],Z=(0,r.useState)(null),N=Z[0],w=Z[1],E=(0,b.D)(t),S=(0,b.D)(v.size),O=(0,r.useMemo)((function(){return p.filter((function(e){var n=e.code;return j?n===j:!Oe.includes(n)})).map((function(e){var n=e.code,t=e.value;return c.jF.has(n)?Se(Se({},c.jF.get(n)),{},{name:N?"EIN Application - ".concat(N.split("_")[1]||N," % Limited Time Discount"):c.jF.get(n).name,price:v.get(n)}):{name:t,value:n,price:v.get(n)}}))}),[p,v,j,N]);return(0,r.useEffect)((function(){(null===E||void 0===E?void 0:E.processingOption)!==t.processingOption&&o&&o({target:{name:"currentPrice",value:v.get(t.processingOption)||0}})}),[o,t,E]),(0,r.useEffect)((function(){S!==v.size&&o&&o({target:{name:"currentPrice",value:v.get(t.processingOption)||0}})}),[o,t,S,v]),(0,r.useEffect)((function(){ge().get("https://innova-labs.net:9080/category/EIN/processing-options?onlyActive=true").then((function(e){var n=new Set;e.data.values.forEach((function(e){n.add(e.code)})),x((0,xe.Z)(e.data.values||[])),!n.has(je.a.rush)&&n.has(je.a.standard)&&o&&o({target:{name:c.xh.processingOption,value:je.a.standard}})})).catch((function(e){var n=window.location.href.split("/"),t=(n[0]+"//"+n[2]).replace(/\/+$/,"");ge().get(t+"/crm/category/EIN/processing-options?onlyActive=true").then((function(e){var n=new Set;e.data.values.forEach((function(e){n.add(e.code)})),x((0,xe.Z)(e.data.values||[])),!n.has(je.a.rush)&&n.has(je.a.standard)&&o&&o({target:{name:c.xh.processingOption,value:je.a.standard}})})).catch((function(e){console.log(e.response)}))}))}),[]),(0,r.useEffect)((function(){a.order&&a.token&&ge().get("https://innova-labs.net:9080/orders/"+a.order,{headers:{Authorization:"Bearer "+a.token}}).then((function(e){o&&o({target:{name:c.xh.processingOption,value:je.a.standard}},{currentOrder:e.data.order,orderId:e.data.order.id,token:a.token,campaignId:a.campaignId||null,sourceValue1:a.sourceValue1||null,sourceValue2:a.sourceValue2||null,sourceValue3:a.sourceValue3||null,sourceValue4:a.sourceValue4||null,sourceValue5:a.sourceValue5||null}),y(je.a.standard),ge().get("https://innova-labs.net:9080/tokens",{headers:{Authorization:"Bearer "+a.token}}).then((function(e){w(e.data.discountCouponType),o&&o({target:{name:"discountCouponType",value:e.data.discountCouponType}})})).catch((function(e){console.log(e)}))})).catch((function(e){if(e.response)o&&o({target:{name:"discountError",value:e}}
1),403!==e.response.status&&fe.Tb(new Error("Token error"),{tags:{section:"products"}});else if(e.request){var n=window.location.href.split("/"),t=(n[0]+"//"+n[2]).replace(/\/+$/,"");ge().get(t+"/crm/orders/"+a.order,{headers:{Authorization:"Bearer "+a.token}}).then((function(e){o&&o({target:{name:c.xh.processingOption,value:je.a.standard}},{currentOrder:e.data.order,orderId:e.data.order.id,token:a.token,campaignId:a.campaignId||null,sourceValue1:a.sourceValue1||null,sourceValue2:a.sourceValue2||null,sourceValue3:a.sourceValue3||null,sourceValue4:a.sourceValue4||null,sourceValue5:a.sourceValue5||null}),y(je.a.standard),ge().get(t+"/tokens",{headers:{Authorization:"Bearer "+a.token}}).then((function(e){w(e.data.discountCouponType),o&&o({target:{name:"discountCouponType",value:e.data.discountCouponType}})})).catch((function(e){console.log(e)}))})).catch((function(e){o&&o({target:{name:"discountError",value:e}}),403!==e.response.status&&fe.Tb(new Error("Token error"),{tags:{section:"products"}}),console.log(e)}))}else o&&o({target:{name:"discountError",value:e}}),fe.Tb(new Error("Token error"),{tags:{section:"products"}});console.log(e)}))}),[a]),(0,r.useEffect)((function(){if(s&&a.token&&N||s&&!a.token){var e={productCodes:"EIN_SoleProp"};N&&(e.discountCouponType=N),ge().get("https://innova-labs.net:9080/category/EIN/products/prices",{params:e,headers:{"Content-Type":"application/json"}}).then((function(e){var n=new Map;e.data.forEach((function(e){n.set(e.option,e.price)})),g(n)})).catch((function(n){var t=window.location.href.split("/"),r=(t[0]+"//"+t[2]).replace(/\/+$/,"");ge().get(r+"/category/EIN/products/prices",{params:e,headers:{"Content-Type":"application/json"}}).then((function(e){var n=new Map;e.data.forEach((function(e){n.set(e.option,e.price)})),g(n)})).catch((function(e){console.log(e)}))}))}}),[N,s,a]),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsxs)("div",{className:"page-title",children:[(0,C.jsx)("span",{children:"\xbb"}),(0,C.jsx)("span",{children:"Submit Your EIN Application"})]})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Processing Option"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(we,Se(Se({},(0,u.X)(c.xh.processingOption)),{},{value:t[c.xh.processingOption],options:O,onChange:o}))})]})},Pe=["id","hint","label","hideDivider","placeholder","required","validated","noBottomSpace","maxLength","defaultInvalidMessage","isInvalid","value","options","onChange","onMouseEnter","onMouseLeave"];function Ie(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ke(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ie(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ie(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Le=x()().publicRuntimeConfig,De=(0,o.ZP)(s.Z.Group).withConfig({displayName:"Select__StyledGroup",componentId:"sc-14nqgwz-0"})(["display:flex;flex-wrap:wrap;position:relative;padding-left:0;padding-right:0;padding-bottom:10px;border-bottom:1px solid #eaeaea;",";",";"],(function(e){return e.noBottomSpace&&(0,o.iv)(["padding-bottom:0px;border-bottom:none;"])}),(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;border-bottom:none;"])})),Fe=(0,o.ZP)(s.Z.Label).withConfig({displayName:"Select__StyledLabel",componentId:"sc-14nqgwz-1"})(["display:flex;align-items:center;width:50%!important;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#0071bc;}}@media ","{width:100%!important;}"],(function(e){return e.theme.devices.tablet})),Be=(0,o.ZP)(s.Z.Control).withConfig({displayName:"Select__StyledControl",componentId:"sc-14nqgwz-2"})(["appearance:unset;width:50%;min-height:34px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:24px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border:1px solid #234e76;border-radius:0;background-image:",";background-repeat:no-repeat;background-origin:content-box;background-position-x:right;background-position-y:center;",";",";",";&:focus-visible{outline:none;}@media ","{width:100%;}"],"url(".concat(Le.basePath,"/icons/V2/V2-federal/caret_down.svg)"),(function(e){return e.isValid&&
1(0,o.iv)(["padding-right:8px;border:1px solid #198754;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(Le.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["padding-right:8px;border:1px solid #DC3545;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(Le.basePath,"/icons/V2/validation_failure.svg)"))}),(function(e){var n=e.isValid,t=e.isInvalid;return!(n||t)&&(0,o.iv)(["background-origin:unset!important;"])}),(function(e){return e.theme.devices.tablet})),_e=(0,o.ZP)(s.Z.Control.Feedback).withConfig({displayName:"Select__StyledFeedback",componentId:"sc-14nqgwz-3"})(["padding:5px;font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#ffffff;&.invalid-feedback{background-color:#d44942;}"]);var Xe=function(e){var n=e.id,t=e.hint,o=e.label,i=e.hideDivider,a=e.placeholder,s=e.required,l=e.validated,d=e.noBottomSpace,c=e.maxLength,u=e.defaultInvalidMessage,p=void 0===u?"":u,x=e.isInvalid,v=e.value,j=void 0===v?"":v,b=e.options,y=void 0===b?[]:b,Z=e.onChange,N=e.onMouseEnter,w=e.onMouseLeave,E=(0,h.Z)(e,Pe),S=(0,r.useCallback)((function(e){Z&&Z(e)}),[Z]),O=(0,r.useCallback)((function(){N&&N({label:o||a,hint:t})}),[N,o,a,t]),M=(0,r.useMemo)((function(){return{placement:m.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t}),show:!1}}),[n,t]),P=(0,r.useMemo)((function(){var e;return null===(e=y.find((function(e){return(null===e||void 0===e?void 0:e.value)===j})))||void 0===e?void 0:e.title}),[j,y]),I=o||a,k=!s&&l&&!x||j&&l&&!x,L=x||s&&!j&&l;return(0,C.jsx)(f.Z,ke(ke({},M),{},{children:(0,C.jsxs)(De,{controlId:n,hideDivider:i,className:L?"custom-control-invalid":"",title:P,onMouseEnter:O,onMouseLeave:w,noBottomSpace:d,children:[(0,C.jsxs)(Fe,{children:[I,I&&s&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsxs)(Be,ke(ke({as:"select",className:"form-select",name:n,required:s,maxLength:c,value:j,onChange:S,isValid:k,isInvalid:L},E),{},{children:[(0,C.jsx)("option",{value:"",selected:!0,children:a}),y.map((function(e){var n=e.title,t=e.value;return(0,C.jsx)("option",{value:t,children:n},t)}))]})),(0,C.jsx)(_e,{type:"invalid",children:p})]})}))};function Ae(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ze(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ae(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ae(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Te=x()().publicRuntimeConfig,Re=function(){var e=(new Date).getFullYear();return Array.from(new Array(20),(function(n,t){return{value:(e+t)%100,title:"".concat(e+t)}}))},Ve=(0,o.ZP)(l.Z).withConfig({displayName:"CreditCardInfoBlock__StyledRow",componentId:"sc-9bn3c3-0"})([".col-12{position:relative;}"]);var qe=function(e){var n,t=e.isCardExpired,o=e.paymentInputs,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=(0,r.useState)(null),h=l[0],p=l[1],x=o||{},m=x.meta,v=x.getCardNumberProps,g=x.getCVCProps,f=m.erroredInputs,j=m.touchedInputs,b="true"===a[c.xh.billingAddress],y=(0,r.useMemo)((function(){return"0000000000000000"!==a.cardNumber&&(j.cardNumber&&f.cardNumber||!a.cardNumber&&0===a.cardNumber.length&&!a.beforeSubmit)}),[a,j.cardNumber,f.cardNumber]),Z=(0,r.useMemo)((function(){return j.cvc&&f.cvc||!a.cvc&&0===a.cvc.length&&!a.beforeSubmit}),[a,j.cvc,f.cvc]);return(0,C.jsxs)(Ve,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,ze(ze({},(0,u.X)(c.xh.firstName)),{},{value:a[c.xh.firstName],isInvalid:!a[c.xh.firstName]&&!a.beforeSubmit,onChange:s}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,ze(ze({},(0,u.X)(c.xh.lastName)),{},{value:a[c.xh.lastName],isInvalid:!a[c.xh.lastName]&&!a.beforeSubmit,onChange:s}))}),(0,C.jsxs)(d.Z,{xs:12,children:[(0,C.jsx)(L,ze(ze(ze({},(0,u.X)(c.xh.cardNumber)),{},{value:a[c.xh.cardNumber],thirdPartyProps:v({onChange:s})},(n=c.xh.cardNumber,n===h?{onKeyPress:function(){}}:{})),{},{onSelect:function(e){var n=e.target,t=n.selectionEnd-n.selectionStart;p(t?n.name:null)},isInvalid:y,defaultInvalidMessage:f.cardNumber,"data-threeds":"pan"})),(0,C.jsxs)("div",{className:"card-providers mobile",children:[(0,C.jsx)("img",{src:"".concat(Te.basePath,"/images/V2/visa-alternative.png"),alt:"VISA"}),(0,C.jsx)("img",{src:"".concat(Te.basePath,"/images/V2/mastercard-alternative.png"),alt:"Mastercard"}),(0,C.jsx)("img",{src:"".concat(Te.basePath,"/images/V2/discover-alternative.png"),alt:"Discover"}),(0,C.jsx)("img",{src:"".concat(Te.basePath,"/images/V2/american-express-alternative.png"),alt:"American Express"})]}),(0,C.jsxs)("div",{className:"card-providers desktop",children:[(0,C.jsx)("img",{src:"".concat(Te.basePath,"/images/V2/visa-alternative.png"),alt:"VISA"}),(0,C.jsx)("img",{src:"".concat(Te.basePath,"/images/V2/mastercard-alternative.png"),alt:"Mastercard"}),(0,C.jsx)("img",{src:"".concat(Te.basePath,"/images/V2/discover-alternative.png"),alt:"Discover"}),(0,C.jsx)("img",{src:"".concat(Te.basePath,"/images/V2/american-express-alternative.png"),alt:"American Express"})]})]}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,ze(ze({},(0,u.X)(c.xh.cardMonth)),{},{value:a[c.xh.cardMonth],isInvalid:t&&!a.beforeSubmit,onChange:s,"data-threeds":"month"}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,ze(ze({},(0,u.X)(c.xh.cardYear)),{},{options:Re(),value:a[c.xh.cardYear],isInvalid:t&&!a.beforeSubmit,onChange:s,"data-threeds":"year"}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,ze(ze({},(0,u.X)(c.xh.cvc)),{},{value:a[c.xh.cvc],thirdPartyProps:g({onChange:s}),isInvalid:Z,defaultInvalidMessage:f.cvc}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,ze(ze({},(0,u.X)(c.xh.billingAddress)),{},{value:a[c.xh.billingAddress],onChange:s,hideDivider:!b}))}),b&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,ze(ze({},(0,u.X)(c.xh.billingAddressAddress1)),{},{pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:a[c.xh.billingAddressAddress1],onChange:s}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,ze(ze({},(0,u.X)(c.xh.billingAddressAddress2)),{},{pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:a[c.xh.billingAddressAddress2],onChange:s}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,ze(ze({},(0,u.X)(c.xh.billingAddressCity)),{},{value:a[c.xh.billingAddressCity],onChange:s}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,ze(ze({},(0,u.X)(c.xh.billingAddressZip)),{},{value:a[c.xh.billingAddressZip],onChange:s}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,ze(ze({},(0,u.X)(c.xh.billingAddressState)),{},{value:a[c.xh.billingAddressState],validated:a.validated,onChange:s,hideDivider:!0}))})]}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})},$e=(t(1805),(0,o.ZP)(s.Z).withConfig({displayName:"PaymentForm__StyledPaymentForm",componentId:"sc-13plm05-0"})([".page-title{margin-bottom:16px;font-family:'RobotoBold';color:#002346;span:first-child{padding-right:7px;font-size:26px;line-height:calc(1.42857rem * (26 / 16));}span:last-child{font-size:18px;line-height:calc(1.42857rem * (18 / 16));text-transform:uppercase;text-decoration:underline;}}.inputs-block-title{margin-bottom:10px;font-family:'RobotoBold';color:#002346;}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}button{width:100%;margin-bottom:1rem;}.card-providers{position:absolute;top:3px;right:calc(50% + 8px);img{max-height:28px !important;margin-top:0 !important;margin-left:2px;margin-right:2px;max-width:calc(25% - 12px / 4);width:auto;}&.mobile{display:none;}}.guarantee-logo{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-bottom:32px;.stamp-container{margin-top:24px;img{height:140px;}}}.guarantee-disclaimer{padding-left:15%;padding-right:15%;font-family:'LatoRegular';font-size:14px;line-height:24px;color:#1B3858;text-align:center;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{.card-providers{img{max-height:34px;margin-top:9px;}}}@media ","{padding-bottom:42px;.card-providers{top:-7px;right:15px;img{max-height:24px !important;&:last-child{margin-right:0;}}&.desktop{display:none;}}.guarantee-logo{padding-left:5%;padding-right:5%;.logo-container{display:flex;flex-wrap:wrap;justify-content:center;width:100%;img{margin-top:8px;margin-bottom:8px;}}}.guarantee-disclaimer{padding-left:0;padding-right:0;}}"],(0,j.E)("#002346",.9),(0,j.E)("#002346",.9),(function(e){return e.theme.devices.laptopL}),(function(e){return e.theme.devices.tablet})));var Ye=function(e){var n,t=e.error,o=e.values,i=void 0===o?{}:o,a=e.onChange,s=e.onSubmit,c=(0,he.un)(),u=(c||{}).meta,h=(0,r.useMemo)((function(){if(null!==i.cardYear&&null!==i.cardMonth){var e=new Date;return e.setFullYear("20"+i.cardYear,i.cardMonth,1),e<new Date}return!0}),[i]),p=(0,r.useCallback)((function(e){var n=!0,t=function(t){var r={threeDSDetails:t};tds.verifyReject=null,tds.verifyResolve=null,tds.verifyListener=null,tds.threeDsTransactionId=null,n&&(n=!1,a&&a({target:{name:"dLoading",value:!1}}),"Y"===t.status||"A"===t.status?(t.protocolVersion.startsWith("2")?(r.cavv=null===t||void 0===t?void 0:t.authenticationValue,r.xid=null===t||void 0===t?void 0:t.dsTransId,r.acsTransId=null===t||void 0===t?void 0:t.acsTransId,r.eci=null===t||void 0===t?void 0:t.eci,r.threeDsStatus=null===t||void 0===t?void 0:t.status):(r.cavv=null===t||void 0===t?void 0:t.cavv,r.xid=null===t||void 0===t?void 0:t.xid,r.eci=null===t||void 0===t?void 0:t.eci),s&&s(e,r)):s&&s(e,r))},r=t,o=t;if(!document.getElementById("konnektivjs3")){var l=document.createElement("script");
1l.id="konnektivjs3",document.body.appendChild(l),l.appendChild(document.createTextNode('var tds = new ThreeDS("kform", "e03c697d935a4c7d818958ffb1384131", null, { autoSubmit: false, verbose: false, timeout: "10"});'))}if(tds.verify(r,o,{amount:i.currentPrice}),tds.errors.length>0){var d=tds.errors[0];console.log("Error: "+d)}}),[i,a,s]),x=(0,r.useCallback)((function(e){if(!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{window.scrollTo(0,0);var t={};if(i.is3DS&&"true"===String("false")){a&&a({target:{name:"dLoading",value:!0}});var r=i.cardNumber.charAt(0);"3"!==r&&"6"!==r&&"0000000000000000"!==i.cardNumber?p(e):(t.threeDSDetails="3,6 or test card",a&&a({target:{name:"dLoading",value:!1}}),s&&s(e,t))}else t.threeDSDetails="3ds off",s&&s(e,t)}a&&a({target:{name:"validated",value:!0}})}),[i,a,s,p]),m=(0,r.useCallback)((function(e){e.preventDefault(),a&&a({target:{name:"beforeSubmit",value:!1}});var n=document.querySelector(".is-invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"}),i.isRefresh?i.isRefresh&&0!==i.lastName.length&&0!==i.firstName.length&&!h&&x(e):"undefined"!==typeof u.erroredInputs.cardNumber&&"0000000000000000"!==i.cardNumber||"undefined"!==typeof u.erroredInputs.cvc||0===i.lastName.length||0===i.firstName.length||h||x(e)}),[a,x,u,h,i]);return(0,C.jsxs)($e,{id:"kform",noValidate:!0,validated:i.validated,onSubmit:m,children:[(0,C.jsx)(Me,{values:i,onChange:a}),(0,C.jsx)(qe,{isCardExpired:h,paymentInputs:c,values:i,onChange:a}),i.is3DS&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("input",{type:"hidden",name:"paayAmount",id:"paayAmount",value:i.currentPrice||"","data-threeds":"amount"}),(0,C.jsx)("input",{type:"hidden",name:"x_transaction_id",value:null===(n=i.currentOrder)||void 0===n?void 0:n.crmOrderId,"data-threeds":"id"})]}),t&&(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(pe.Z,{message:(0,C.jsx)("span",{children:t.message})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Submit Application"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]})},Ue=(0,o.ZP)(s.Z).withConfig({displayName:"OrderStatusRequestForm__StyledOrderStatusRequestForm",componentId:"sc-e0e9yd-0"})(["padding-bottom:62px;.inputs-block-title{margin-bottom:32px;padding-left:24px;padding-right:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;text-transform:capitalize;color:#002346;span{span{color:#C61F0C;}}}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.inputs-block-divider{margin-bottom:46px;}.top-disclaimer{font-family:'RobotoRegular';text-align:center;color:#333333;span{display:block;margin-top:16px;margin-bottom:16px;}}.bottom-disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:calc(1.42857rem * (10 / 16));text-align:center;color:#333333;opacity:0.5;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,j.E)("#333333",.5),(0,j.E)("#333333",.5),(function(e){return e.theme.devices.tablet}));var We=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onSubmit;return(0,C.jsxs)(Ue,{noValidate:!0,validated:t.validated,onSubmit:o,children:[(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Enter order number used in your application"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Please enter your order number to check the status of your application or receive your EIN/Tax ID Number"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,{id:"orderNumber",required:!0,label:"Order Number",placeholder:"Enter Order Number",defaultInvalidMessage:"Please enter order number",value:t.orderNumber,onChange:r})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]})},Ge=t(8153);function Qe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ke(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Qe(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Qe(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var He=(0,o.ZP)(s.Z).withConfig({displayName:"OrderStatusResultForm__StyledOrderStatusResultForm",componentId:"sc-17j9faa-0"})(["padding-bottom:62px;.inputs-block-title{margin-bottom:32px;padding-left:24px;padding-right:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;text-transform:capitalize;color:#002346;span{span{color:#C61F0C;}}}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.inputs-block-divider{margin-bottom:46px;}.top-disclaimer{font-family:'RobotoRegular';text-align:center;color:#333333;span{display:block;margin-top:16px;margin-bottom:16px;}}.bottom-disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:calc(1.42857rem * (10 / 16));text-align:center;color:#333333;opacity:0.5;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,j.E)("#333333",.5),(0,j.E)("#333333",.5),(function(e){return e.theme.devices.tablet}));var Je=function(e){var n,t,o,i,a=e.order,u=e.values,h=void 0===u?{}:u,p=(0,r.useState)(""),x=p[0],m=p[1],v=(0,r.useState)(""),g=v[0],f=v[1],j=(0,r.useState)(null),y=j[0],Z=j[1],N=(0,r.useState)(!1),w=N[0],E=N[1],S=(0,r.useState)(null),O=S[0],M=S[1],P=(0,r.useState)(null),I=P[0],k=P[1],D=(0,r.useState)(""),F=D[0],B=D[1],_=(0,r.useState)(""),X=_[0],A=_[1],z=(0,r.useState)(""),T=z[0],R=z[1],V=(0,r.useState)(""),$=V[0],Y=V[1],U=(0,r.useState)(""),W=U[0],G=U[1],Q=(0,r.useState)(""),K=Q[0],H=Q[1],J=(0,r.useState)(""),ee=J[0],ne=J[1],te=(0,r.useState)(""),re=te[0],oe=te[1],ie=(0,r.useState)(!1),se=ie[0],le=ie[1],de=(0,r.useState)(null),ce=de[0],ue=de[1],he=(0,r.useState)(null),pe=he[0],xe=he[1],me=(0,r.useState)(!1),ve=me[0],fe=me[1],je=(0,r.useState)(!1),be=je[0],ye=je[1],Ze=(0,b.D)(ve),Ce=function(e){var n=e.target,t=n.id,r=n.value;"verifying"===t?fe(r):m(r)},Ne=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!ve){ye(!1);var n=e.currentTarget,t=document.querySelector(".is-invalid");if(null!=t)t.scrollIntoView({behavior:"smooth",block:"start"});else if(!1===n.checkValidity()){e.preventDefault(),e.stopPropagation();var r=document.querySelector(".form-control:invalid");null!=r&&r.scrollIntoView({behavior:"smooth",block:"start"})}else ge().get("https://innova-labs.net:9080/orders/"+a.orderUid+"/PDF",{params:{email:x,last4:g},responseType:"arraybuffer",headers:{"Content-Type":"application/json",Accept:"application/pdf"}}).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),t=document.createElement("a");t.href=n;var r=h.orderNumber+".pdf";t.setAttribute("download",r),document.body.appendChild(t),t.click(),t.parentNode.removeChild(t)})).catch((function(e){e.response&&M(e.response.statusText)}));E(!0)}}),[a,h,x,g,ve]),we=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!ve){ye(!1);var n=e.currentTarget,t=document.querySelector(".is-invalid");if(null!=t)t.scrollIntoView({behavior:"smooth",block:"start"});else if(!1===n.checkValidity()){e.preventDefault(),e.stopPropagation();var r=document.querySelector(".form-control:invalid");null!=r&&r.scrollIntoView({behavior:"smooth",block:"start"}),E(!0)}else E(!0),ge().post("https://innova-labs.net:9080/orders/"+h.orderNumber+"/token",{},{params:{email:x},headers:{Accept:"application/json"}}).then((function(e){Z(e.data.token),E(!1),ge().get("https://innova-labs.net:9080/orders/"+a.orderUid,{headers:{Authorization:"Bearer "+e.data.token}}).then((function(e){if(xe(e.data),e.data.products&&e.data.products.length>=1){var n=e.data.products.length-1;if(e.data.order.productCode)"EIN_LLC"===e.data.order.productCode.code||"EIN_SoleProp"===e.data.order.productCode.code?(H(e.data.products[n].owner.lastName),Y(e.data.products[n].owner.firstName),G(e.data.products[n].owner.middleName),ne(e.data.products[n].owner.suffixName),oe(e.data.products[n].owner.ssn)):"EIN_CCorp"===e.data.order.productC
1ode.code||"EIN_PSC"===e.data.order.productCode.code||"EIN_SCorp"===e.data.order.productCode.code?(H(e.data.products[n].principalOfficer.lastName),Y(e.data.products[n].principalOfficer.firstName),G(e.data.products[n].principalOfficer.middleName),ne(e.data.products[n].principalOfficer.suffixName),oe(e.data.products[n].principalOfficer.ssn)):"EIN_Church"===e.data.order.productCode.code||"EIN_NonProfit"===e.data.order.productCode.code?(H(e.data.products[n].responsibleParty.lastName),Y(e.data.products[n].responsibleParty.firstName),G(e.data.products[n].responsibleParty.middleName),ne(e.data.products[n].responsibleParty.suffixName),oe(e.data.products[n].responsibleParty.ssn)):"EIN_Estate"===e.data.order.productCode.code?(H(e.data.products[n].representative.lastName),Y(e.data.products[n].representative.firstName),G(e.data.products[n].representative.middleName),ne(e.data.products[n].representative.suffixName),oe(e.data.products[n].representative.ssn)):"EIN_Partnership"===e.data.order.productCode.code?(H(e.data.products[n].primaryPartner.lastName),Y(e.data.products[n].primaryPartner.firstName),G(e.data.products[n].primaryPartner.middleName),ne(e.data.products[n].primaryPartner.suffixName),oe(e.data.products[n].primaryPartner.ssn)):"EIN_Trust"===e.data.order.productCode.code&&(H(e.data.products[n].trustee.lastName),Y(e.data.products[n].trustee.firstName),G(e.data.products[n].trustee.middleName),ne(e.data.products[n].trustee.suffixName),oe(e.data.products[n].trustee.ssn));else{var t=e.data.order.productCodes.length-1;"EIN_LLC"===e.data.order.productCodes[t].code||"EIN_SoleProp"===e.data.order.productCodes[t].code?(H(e.data.products[n].owner.lastName),Y(e.data.products[n].owner.firstName),G(e.data.products[n].owner.middleName),ne(e.data.products[n].owner.suffixName),oe(e.data.products[n].owner.ssn)):"EIN_CCorp"===e.data.order.productCodes[t].code||"EIN_PSC"===e.data.order.productCodes[t].code||"EIN_SCorp"===e.data.order.productCodes[t].code?(H(e.data.products[n].principalOfficer.lastName),Y(e.data.products[n].principalOfficer.firstName),G(e.data.products[n].principalOfficer.middleName),ne(e.data.products[n].principalOfficer.suffixName),oe(e.data.products[n].principalOfficer.ssn)):"EIN_Church"===e.data.order.productCodes[t].code||"EIN_NonProfit"===e.data.order.productCodes[t].code?(H(e.data.products[n].responsibleParty.lastName),Y(e.data.products[n].responsibleParty.firstName),G(e.data.products[n].responsibleParty.middleName),ne(e.data.products[n].responsibleParty.suffixName),oe(e.data.products[n].responsibleParty.ssn)):"EIN_Estate"===e.data.order.productCodes[t].code?(H(e.data.products[n].representative.lastName),Y(e.data.products[n].representative.firstName),G(e.data.products[n].representative.middleName),ne(e.data.products[n].representative.suffixName),oe(e.data.products[n].representative.ssn)):"EIN_Partnership"===e.data.order.productCodes[t].code?(H(e.data.products[n].primaryPartner.lastName),Y(e.data.products[n].primaryPartner.firstName),G(e.data.products[n].primaryPartner.middleName),ne(e.data.products[n].primaryPartner.suffixName),oe(e.data.products[n].primaryPartner.ssn)):"EIN_Trust"===e.data.order.productCodes[t].code&&(H(e.data.products[n].trustee.lastName),Y(e.data.products[n].trustee.firstName),G(e.data.products[n].trustee.middleName),ne(e.data.products[n].trustee.suffixName),oe(e.data.products[n].trustee.ssn))}k(e.data.products[n])}})).catch((function(e){console.log(e),M(e.response.statusText)}))})).catch((function(e){M(e.response.statusText)}))}}),[a,h,x,ve]),Ee=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{var t=Ke({},pe);if(t.products&&t.products.length>=1){var r=t.products.length-1;t.products[r].legalName=F,""!==X||""!==T?(t.products[r].alternateLegalNames=[],""!==X&&t.products[r].alternateLegalNames.push(X),""!==T&&t.products[r].alternateLegalNames.push(T)):t.products[r].alternateLegalNames&&delete t.products[r].alternateLegalNames}ge().put("https://innova-labs.net:9080/orders/"+a.orderUid,t,{crossdomain:!0,headers:{"Content-Type":"application/json;charset=UTF-8","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){if(200===e.status)if(ce){var n=new FormData;n.append("file",ce),ge().post("https://innova-labs.net:9080/orders/"+a.orderUid+"/file?fileType=articles_of_incorporation",n,{crossdomain:!0,headers:{"Content-Type":"multipart/form-data","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){200===e.status&&le(!0)})).catch((function(e){M(e.message)}))}else le(!0)})).catch((function(e){console.log(e),M(e.message)}))}E(!0)}),[a,pe,F,X,T,y,ce]),Se=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{var t=Ke({},pe);if(t.products&&t.products.length>=1){var r=t.products.length-1;
1if(t.order.productCode)"EIN_LLC"===t.order.productCode.code||"EIN_SoleProp"===t.order.productCode.code?(t.products[r].owner.lastName=K,t.products[r].owner.firstName=$,t.products[r].owner.middleName=W,t.products[r].owner.suffixName=ee,t.products[r].owner.ssn=re):"EIN_CCorp"===t.order.productCode.code||"EIN_PSC"===t.order.productCode.code||"EIN_SCorp"===t.order.productCode.code?(t.products[r].principalOfficer.lastName=K,t.products[r].principalOfficer.firstName=$,t.products[r].principalOfficer.middleName=W,t.products[r].principalOfficer.suffixName=ee,t.products[r].principalOfficer.ssn=re):"EIN_Church"===t.order.productCode.code||"EIN_NonProfit"===t.order.productCode.code?(t.products[r].responsibleParty.lastName=K,t.products[r].responsibleParty.firstName=$,t.products[r].responsibleParty.middleName=W,t.products[r].responsibleParty.suffixName=ee,t.products[r].responsibleParty.ssn=re):"EIN_Estate"===t.order.productCode.code?(t.products[r].representative.lastName=K,t.products[r].representative.firstName=$,t.products[r].representative.middleName=W,t.products[r].representative.suffixName=ee,t.products[r].representative.ssn=re):"EIN_Partnership"===t.order.productCode.code?(t.products[r].primaryPartner.lastName=K,t.products[r].primaryPartner.firstName=$,t.products[r].primaryPartner.middleName=W,t.products[r].primaryPartner.suffixName=ee,t.products[r].primaryPartner.ssn=re):"EIN_Trust"===t.order.productCode.code&&(t.products[r].trustee.lastName=K,t.products[r].trustee.firstName=$,t.products[r].trustee.middleName=W,t.products[r].trustee.suffixName=ee,t.products[r].trustee.ssn=re);else{var o=t.order.productCodes.length-1;"EIN_LLC"===t.order.productCodes[o].code||"EIN_SoleProp"===t.order.productCodes[o].code?(t.products[r].owner.lastName=K,t.products[r].owner.firstName=$,t.products[r].owner.middleName=W,t.products[r].owner.suffixName=ee,t.products[r].owner.ssn=re):"EIN_CCorp"===t.order.productCodes[o].code||"EIN_PSC"===t.order.productCodes[o].code||"EIN_SCorp"===t.order.productCodes[o].code?(t.products[r].principalOfficer.lastName=K,t.products[r].principalOfficer.firstName=$,t.products[r].principalOfficer.middleName=W,t.products[r].principalOfficer.suffixName=ee,t.products[r].principalOfficer.ssn=re):"EIN_Church"===t.order.productCodes[o].code||"EIN_NonProfit"===t.order.productCodes[o].code?(t.products[r].responsibleParty.lastName=K,t.products[r].responsibleParty.firstName=$,t.products[r].responsibleParty.middleName=W,t.products[r].responsibleParty.suffixName=ee,t.products[r].responsibleParty.ssn=re):"EIN_Estate"===t.order.productCodes[o].code?(t.products[r].representative.lastName=K,t.products[r].representative.firstName=$,t.products[r].representative.middleName=W,t.products[r].representative.suffixName=ee,t.products[r].representative.ssn=re):"EIN_Partnership"===t.order.productCodes[o].code?(t.products[r].primaryPartner.lastName=K,t.products[r].primaryPartner.firstName=$,t.products[r].primaryPartner.middleName=W,t.products[r].primaryPartner.suffixName=ee,t.products[r].primaryPartner.ssn=re):"EIN_Trust"===t.order.productCodes[o].code&&(t.products[r].trustee.lastName=K,t.products[r].trustee.firstName=$,t.products[r].trustee.middleName=W,t.products[r].trustee.suffixName=ee,t.products[r].trustee.ssn=re)}}ge().put("https://innova-labs.net:9080/orders/"+a.orderUid,t,{crossdomain:!0,headers:{"Content-Type":"application/json;charset=UTF-8","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){200===e.status&&le(!0)})).catch((function(e){M(e.message)}))}E(!0)}),[a,pe,y,$,W,K,ee,re]),Oe=(0,r.useCallback)((function(e){return"Completed"===a.processingStatus?Ne(e):("Error"!==a.processingStatus||I||"Error101NameConflict"!==a.processingError)&&("Error"!==a.processingStatus||I||"MismatchError"!==a.processingError||1!==a.productCodes.length)?"Error"===a.processingStatus&&I&&"MismatchError"===a.processingError&&1===a.productCodes.length?Se(e):"Error"===a.processingStatus&&I&&"EIN_LLC"===I.code.code&&"Error101NameConflict"===a.processingError?Ee(e):void 0:we(e)}),[a,Ne,we,Se,Ee]);if((0,r.useEffect)((function(){null!==I&&void 0!==I&&I.legalName&&B((null===I||void 0===I?void 0:I.legalName)||""),null!==I&&void 0!==I&&I.alternateLegalNames&&null!==I&&void 0!==I&&I.alternateLegalNames[0]&&A((null===I||void 0===I?void 0:I.alternateLegalNames[0])||""),null!==I&&void 0!==I&&I.alternateLegalNames&&null!==I&&void 0!==I&&I.alternateLegalNames[1]&&R((null===I||void 0===I?void 0:I.alternateLegalNames[1])||"")}),[I]),(0,r.useEffect)((function(){var e,n,t;Ze&&!ve&&be&&(null===(e=document.getElementById("OrderStatusSubmitButton1"))||void 0===e||e.click(),null===(n=document.getElementById("OrderStatusSubmitButton2"))||void 0===n||n.click(),null===(t=document.getElementById("OrderStatusSubmitButton3"))||void 0===t||t.click())}),[ve,Ze,be]),se)return(0,C.jsx)(He,{children:(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Thank You"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your Order is updated"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})});
1var Me=new Date,Pe=new Date;return Me.setDate(Pe.getDate()+1),(0,C.jsxs)(He,{id:"kform",noValidate:!0,validated:w,onSubmit:Oe,children:[(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:1===a.productCodes.length?a.productCodes[0].customerName:a.productCodes[1].customerName})})})]}),"Completed"===a.processingStatus&&(0,C.jsxs)(C.Fragment,{children:[2===a.productCodes.length&&(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your LLC Inc. was generated and sent to the e-mail address on file."})})})}),2!==a.productCodes.length&&(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your EIN/Tax ID was generated and sent to the e-mail address on file. To download a copy here, please enter your e-mail address and last 4 digits of the Responsible Party's Social Security Number below."})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(d.Z,{xs:12,md:8,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(d.Z,{xs:12,md:4,children:(0,C.jsx)(q,{id:"last4SSN",required:!0,label:"Last 4 of SSN",placeholder:"XXXX",pattern:".{4,}",mask:"9999",defaultInvalidMessage:"Please specify last 4 digits of the Responsible Party's Social Security Number",value:g,onChange:function(e){return f(e.target.value)}})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton1",children:"Download"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]}),"Completed_SS4"===a.processingStatus&&(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order has been completed. We have received your signed SS-4 form and have submitted it directly to the IRS. You can expect to receive your EIN from the IRS by mail shortly."})})})}),"RAaddressAdded"===a.processingStatus&&(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your Resident Agent has been assigned. Your Address to use for official communications with the State is:"})})}),a.productResult&&(0,C.jsxs)(d.Z,{xs:12,children:[(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:2}),(0,C.jsx)(d.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"Address:"})})}),(0,C.jsx)(d.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(n=a.productResult)||void 0===n?void 0:n.address1})})}),(0,C.jsx)(d.Z,{xs:0,md:2})]}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:2}),(0,C.jsx)(d.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"City:"})})}),(0,C.jsx)(d.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(t=a.productResult)||void 0===t?void 0:t.city})})}),(0,C.jsx)(d.Z,{xs:0,md:2})]}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:2}),(0,C.jsx)(d.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"State / Province:"})})}),(0,C.jsx)(d.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:Ge.ib[null===(o=a.productResult)||void 0===o?void 0:o.state]})})}),(0,C.jsx)(d.Z,{xs:0,md:2})]}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:2}),(0,C.jsx)(d.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"ZIP / Postal Code:"})})}),(0,C.jsx)(d.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(i=a.productResult)||void 0===i?void 0:i.zip})})}),(0,C.jsx)(d.Z,{xs:0,md:2})]})]})]}),"Cancelled"===a.processingStatus&&(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order was cancelled at your request. A full refund was processed to the card on file. Please allow 3-5 business days for that refund to appear on your account."})})})}),"Rejected"===a.processingStatus&&(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order was rejected due to the Secretary of State needing an alternative name, you may still refile with the updated name."})})})}),"Abandoned"===a.processingStatus&&(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your filing has been abandoned. For questions please contact customer service."})})})}),"Processing"===a.processingStatus&&(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Your submission is being reviewed by our Specialists and should be completed shortly. You will receive an e-mail with your official EIN/Tax ID documentation when complete.",(0,C.jsx)("br",{}),"Estimated Completion Time:\xa0","STANDARD"===a.processingOption&&(0,C.jsxs)(C.Fragment,{children:["(",Me.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),"\xa0 12:00 PM EST)"]}),"RUSH"===a.processingOption&&(0,C.jsxs)(C.Fragment,{children:["(",Pe.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),"\xa0 8:00 PM EST)"]})]})})})}),"Error"===a.processingStatus&&!I&&"Error101NameConflict"!==a.processingError&&("MismatchError"!==a.processingError||"MismatchError"===a.processingError&&2===a.productC
1odes.length)&&"SS4"!==a.processingError&&(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"Additional details are required for your submission. You will be contacted by e-mail to provide these details. Please keep a close watch for this e-mail."]})})})}),("Error"===a.processingStatus&&!I&&"SS4"===a.processingError||"AttemptedNeedsInfo"===a.processingStatus)&&(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"Your submission requires additional documentation which we will submit to the IRS for you. You will receive a Docusign in your e-mail to authorize this submission. Please keep a close watch for this e-mail."]})})})}),"Error"===a.processingStatus&&!I&&"Error101NameConflict"===a.processingError&&(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton2",children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&!I&&"MismatchError"===a.processingError&&1===a.productCodes.length&&(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton3",children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"MismatchError"===a.processingError&&1===a.productC
1odes.length&&(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"We have encountered an issue verifying the Responsible Party\u2019s identifying information. In your submission you provided:"})})}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"firstName",required:!0,label:"First Name",placeholder:"First Name",pattern:"^[ a-zA-Z&\\\\-]+$",defaultInvalidMessage:"Please provide a valid name",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:$,onChange:function(e){return Y(e.target.value)}})}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"middleName",label:"Middle Name",placeholder:"Middle Name (optional)",pattern:"^[ a-zA-Z&\\\\-]+$",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:W,onChange:function(e){return G(e.target.value)}})}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"lastName",required:!0,label:"Last Name",placeholder:"Last Name",pattern:"^[ a-zA-Z&\\\\-]+$",defaultInvalidMessage:"Please provide last name",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:K,onChange:function(e){return H(e.target.value)}})}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(Xe,{id:"responsiblePartySuffixName",label:"Suffix",placeholder:"Please select",validated:w,options:c.jJ,value:ee,onChange:function(e){return ne(e.target.value)}})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,{id:"SSN",hint:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("strong",{children:"Why do we need this?"}),(0,C.jsx)("br",{}),"Your valid Social Security Number is needed by the IRS to obtain an EIN. Rest assured, all Social Security Numbers are stored in a fully protected fashion."]}),required:!0,label:"Social Security Number",placeholder:"123-45-6789",pattern:".{11,}",mask:"999-99-9999",defaultInvalidMessage:"Please provide a valid Social Security Number Ex: 123-45-6789",value:re,onChange:function(e){return oe(e.target.value)}})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"bottom-disclaimer",children:(0,C.jsx)("span",{children:"Our validation has shown that the provided Name does not match the Social Security Number provided. Please correct the errors in these fields and hit Submit Updated Info. Please note, this must correspond to the Name and Social Security Number on file with the Social Security Administration and IRS. If you recently changed your name due to marriage, separation, or other life event, please only submit the official name on file."})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Update Info"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"Error101NameConflict"===a.processingError&&"EIN_LLC"===I.code.code&&(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["We have encountered an issue with the LLC name provided in your submission. This could mean that another LLC in another state has a similar name. Please verify that the name provided below is accurate, and was the name submitted to the state in which you registered the LLC.",(0,C.jsx)("br",{}),"If you need to make a correction, edit the name below. If the name is correct, we ask that you please provide two alternate names, which could be very slight variations of the provided LLC name."]})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName",required:!0,label:"LLC Name",placeholder:"LLC Name",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:F,onChange:function(e){return B(e.target.value)}})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName2",label:"Alternate LLC Name",placeholder:"Alternate LLC Name",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:X,onChange:function(e){return A(e.target.value)}})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName3",label:"Alternate LLC Name 2",placeholder:"Alternate LLC Name 2",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:T,onChange:function(e){return R(e.target.value)}})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"To aid with this, you may also attach your Articles of Incorporation below:"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(s.Z.File,{id:"formcheck-api-regular",children:(0,C.jsx)(s.Z.File.Input,{className:"articles-input",onChange:function(e){return ue(e.target.files[0])}})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Update Info"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"Error101NameConflict"===a.processingError&&"EIN_LLC"!==I.code.code&&(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})})})]})};var en=function(e){var n=e.order,t=void 0===n?null:n,r=e.values,o=void 0===r?{}
1:r,i=e.onChange,a=e.onSubmit;return t&&t[0]?t.map((function(e){return(0,C.jsx)(Je,{order:e,values:o},e.orderUid)})):(0,C.jsx)(We,{values:o,onChange:i,onSubmit:a})},nn=t(1664),tn=t.n(nn),rn=t(7),on=t(4486),an=t(9100),sn=t(516),ln=new Map([["/products/EINSoleProp","Sole Proprietor / Individual"],["/products/EINPartnership","Partnership"],["/products/EINCCorp","Corporation"],["/products/EINSCorp","S-Corporation"],["/products/EINEstate","Estate of Deceased Individual"],["/products/EINNonProfit","Non-Profit Organization"],["/products/EINLLC","Limited Liability Company"],["/products/EINTrust","Trust"],["/products/EINPSC","Personal Service Corporation"],["/products/EINChurch","Church Organization"]]),dn=o.ZP.div.withConfig({displayName:"ProductDropdown__StyledProductDropdown",componentId:"sc-1oybm2d-0"})(["button{padding:0;border:none !important;box-shadow:none !important;background:#FFFFFF !important;font-family:'RobotoBold';color:#002346 !important;text-transform:uppercase;text-decoration:underline !important;text-align:left;&:before{display:inline-block;padding-right:7px;content:\"\\00BB\";line-height:0px;font-size:26px;border:none;}&:after{display:none;}}.dropdown-menu{padding-top:8px;padding-bottom:8px;background-color:#f3f3f3;.dropdown-item{a{font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#212529;text-transform:uppercase;text-shadow:none;text-decoration:none;}&:hover{background-color:#002346;a{color:#ffffff;}}}}"]);var cn=function(){var e=(0,me.useRouter)(),n=(0,r.useMemo)((function(){return ln.get(null===e||void 0===e?void 0:e.pathname)}),[e]);return(0,C.jsx)(dn,{children:(0,C.jsxs)(rn.Z,{children:[(0,C.jsx)(on.Z,{id:"product-dropdown",children:n}),(0,C.jsx)(an.Z,{children:Array.from(ln.keys()).map((function(e){return(0,C.jsx)(sn.Z,{children:(0,C.jsx)(tn(),{href:"".concat(e),children:(0,C.jsx)("a",{children:ln.get(e)})})},e)}))})]})})};function un(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function hn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?un(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):un(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var pn=function(e){var n,t,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Sole Proprietor Information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,hn(hn({},(0,u.X)(c.xh.dbaname)),{},{placeholder:null===(n=(0,u.X)(c.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:o[c.xh.dbaname],onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})};function xn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function mn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?xn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var vn=x()().publicRuntimeConfig,gn=o.ZP.img.withConfig({displayName:"OwnerInfoBlock__StyledImg",componentId:"sc-1bh1wws-0"})(["height:28px;width:28px;"]);var fn=function(e){var n,t,r,o,i,a,s,h,p,x,m=e.values,v=void 0===m?{}:m,j=e.onChange,b=e.onMouseEnter,y=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Owner Information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,mn(mn({},(0,u.X)(c.xh.ownerTitle)),{},{placeholder:null===(n=(0,u.X)(c.xh.ownerTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:v[c.xh.ownerTitle],validated:v.validated,onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,mn(mn({},(0,u.X)(c.xh.ownerFirstName)),{},{placeholder:null===(r=(0,u.X)(c.xh.ownerFirstName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:v[c.xh.ownerFirstName],onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,mn(mn({},(0,u.X)(c.xh.ownerMiddleName)),{},{placeholder:null===(i=(0,u.X)(c.xh.ownerMiddleName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),value:v[c.xh.ownerMiddleName],onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,mn(mn({},(0,u.X)(c.xh.ownerLastName)),{},{placeholder:null===(s=(0,u.X)(c.xh.ownerLastName))||void 0===s||null===(h=s.placeholder)||void 0===h?void 0:h.replace("*",""),value:v[c.xh.ownerLastName],onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,mn(mn({},(0,u.X)(c.xh.ownerSuffixName)),{},{placeholder:null===(p=(0,u.X)(c.xh.ownerSuffixName))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),value:v[c.xh.ownerSuffixName],validated:v.validated,onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,mn(mn({},(0,u.X)(c.xh.ownerSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(f.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(c.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:"123-45-6789",suffix:(0,C.jsx)(gn,{src:"".concat(vn.basePath,"/images/V2/V2-federal/lock-icon.png"),alt:""}),value:v[c.xh.ownerSSN],onChange:j,onMouseEnter:b,onMouseLeave:y,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})},jn=t(29),bn=t(7794),yn=t.n(bn);function Zn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Cn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Zn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Zn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Nn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){return{value:e.code,title:e.label}}))}function wn(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:4;if(t.labelForDescriptionField)return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:t.labelForDescriptionField})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Cn(Cn({},(0,u.X)(c.xh.productDescription)),{},{placeholder:null===(e=(0,u.X)(c.xh.productDescription))||void 0===e||null===(n=e.placeholder)||void 0===n?void 0:n.replace("*",""),defaultInvalidMessage:t.labelForDescriptionField,value:r[c.xh.productDescription],onChange:a,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))})]});if(t.extraQuestion){var h,p,x,m=Array.from({length:l-s},(function(e,n){return n+s+1})).reduce((function(e,n){return e["".concat(c.xh.productExtraQuestion).concat(n)]="",e}),{productDescription:""}),v=function(e){return a&&a(e,m)},g=null===(h=t.extraQuestionOptions)||void 0===h?void 0:h.find((function(e){return e.code===r["".concat(c.xh.productExtraQuestion).concat(s)]}));return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:t.extraQuestion})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Cn(Cn({},(0,u.X)(c.xh.productExtraQuestion)),{},{placeholder:null===(p=(0,u.X)(c.xh.productExtraQuestion))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),id:"".concat(c.xh.productExtraQuestion).concat(s),options:Nn(t.extraQuestionOptions),value:r["".concat(c.xh.productExtraQuestion).concat(s)],validated:r.validated,onChange:v,onMouseEnter:o,onMouseLeave:i,hideDivider:!(null!==g&&void 0!==g&&g.labelForDescriptionField)}))}),wn(g,r,o,i,a,s+1)]})}return null}var En=function(e){var n,t,o,a,s,h,p,x,m,v,g,f=e.values,j=void 0===f?{}:f,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave,N=(0,r.useState)([]),w=N[0],E=N[1],S="EIN_Trust"===j.code,O="Escrow"===j[c.xh.trustType],M=(0,r.useMemo)((function(){var e="Enter the specific products/services of the business.";return"EIN_Church"===j.code&&(e="Enter the specific products/services of the Church."),"EIN_NonProfit"===j.code&&(e="Enter the specific products/services of the Non Profit."),"".concat(e," ").concat("If you own a computer repair business you could enter \u201ccomputer repair services\u201d.")}),[j]),P=(0,r.useMemo)((function(){return Nn(w)}),[w]),I=(0,r.useMemo)((function(){return w.find((function(e){return e.code===j[c.xh.activityPrimaryActivity]}))}),[j,w]),k=(0,r.useMemo)((function(){return Nn(null===I||void 0===I?void 0:I.specificProducts)}),[I]),D=(0,r.useMemo)((function(){return null===I||void 0===I?void 0:I.specificProducts.find((function(e){return e.code===j[c.xh.activitySpecificProducts]}))}),[I,j]),F=Boolean(null===I||void 0===I?void 0:I.labelForDescriptionField),B=Boolean((null===I||void 0===I||null===(n=I.specificProducts)||void 0===n?void 0:n.length)>0),_=Boolean(null===I||void 0===I?void 0:I.specificProductsLabel),X=(0,r.useCallback)((function(e){var n,t=(n={activitySpecificProducts:""},(0,i.Z)(n,"".concat(c.xh.productExtraQuestion,"1"),""),(0,i.Z)(n,"".concat(c.xh.productExtraQuestion,"2"),""),(0,i.Z)(n,"".concat(c.xh.productExtraQuestion,"3"),""),(0,i.Z)(n,"".concat(c.xh.productExtraQuestion,"4"),""),(0,i.Z)(n,"productDescription",""),n);b&&b(e,t)}),[b]),A=(0,r.useCallback)((function(e){var n,t=(n={},(0,i.Z)(n,"".concat(c.xh.productExtraQuestion,"1"),""),(0,i.Z)(n,"".concat(c.xh.productExtraQuestion,"2"),""),(0,i.Z)(n,"".concat(c.xh.productExtraQuestion,"3"),""),(0,i.Z)(n,"".concat(c.xh.productExtraQuestion,"4"),""),(0,i.Z)(n,"productDescription",""),n);b(e,t)}),[b]);return(0,r.useEffect)((function(){function e(){return(e=(0,jn.Z)(yn().mark((function e(){var n,t,r,o,i;return yn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ge().get("https://innova-labs.net:9080/category/EIN/products/primary-activity");case 3:n=e.sent,E(n.data),e.next=22;break;case 7:return e.prev=7,e.t0=e.catch(0),e.prev=9,t=window.location.href,r=t.split("/"),o=(r[0]+"//"+r[2]).replace(/\/+$/,""),e.next=15,ge().get(o+"/crm/category/EIN/products/primary-activity");case 15:i=e.sent,E(i.data),e.next=22;break;
1case 19:e.prev=19,e.t1=e.catch(9),fe.Tb(new Error("Primary Activity unavailable"),{tags:{section:"products"}});case 22:case"end":return e.stop()}}),e,null,[[0,7],[9,19]])})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]),S?(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Activity"})})}),O&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Cn(Cn({},(0,u.X)(c.xh.activityReasonForApplying)),{},{placeholder:null===(v=(0,u.X)(c.xh.activityReasonForApplying))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:j[c.xh.activityReasonForApplying],validated:j.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})]}):(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Activity"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Cn(Cn({},(0,u.X)(c.xh.activityReasonForApplying)),{},{placeholder:null===(t=(0,u.X)(c.xh.activityReasonForApplying))||void 0===t||null===(o=t.placeholder)||void 0===o?void 0:o.replace("*",""),value:j[c.xh.activityReasonForApplying],validated:j.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Cn(Cn({},(0,u.X)(c.xh.activityPrimaryActivity)),{},{placeholder:null===(a=(0,u.X)(c.xh.activityPrimaryActivity))||void 0===a||null===(s=a.placeholder)||void 0===s?void 0:s.replace("*",""),options:P,value:j[c.xh.activityPrimaryActivity],validated:j.validated,onChange:X,onMouseEnter:y,onMouseLeave:Z,hideDivider:!F&&!B}))}),F&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:I.labelForDescriptionField})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Cn(Cn({},(0,u.X)(c.xh.productDescription)),{},{placeholder:null===(h=(0,u.X)(c.xh.productDescription))||void 0===h||null===(p=h.placeholder)||void 0===p?void 0:p.replace("*",""),defaultInvalidMessage:I.labelForDescriptionField,value:j[c.xh.productDescription],onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!j[c.xh.productDescription]}))})]}),B&&(0,C.jsxs)(C.Fragment,{children:[_&&(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:I.specificProductsLabel})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Cn(Cn({},(0,u.X)(c.xh.activitySpecificProducts)),{},{placeholder:null===(x=(0,u.X)(c.xh.activitySpecificProducts))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),hint:M,options:k,value:j[c.xh.activitySpecificProducts],validated:j.validated,onChange:A,onMouseEnter:y,onMouseLeave:Z,hideDivider:!j[c.xh.activitySpecificProducts]}))})]}),wn(D,j,y,Z,b),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})};function Sn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function On(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Sn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Mn=function(){var e=(new Date).getFullYear()-1900;return Array.from(new Array(e+2),(function(e,n){return{value:1900+n,title:"".concat(1900+n)}}))};var Pn=function(e){var n=e.values,t=void 0===n?{}:n,o=e.onChange,i=e.onMouseEnter,a=e.onMouseLeave,s=["EIN_SoleProp","EIN_LLC","EIN_CCorp","EIN_SCorp"].includes(null===t||void 0===t?void 0:t.code),h="EIN_Trust"!==(null===t||void 0===t?void 0:t.code),p="true"===t[c.xh.questionsAppliedBefore],x="true"===t[c.xh.questionsHire],m="true"===t[c.xh.payLessThan4k],v="EIN_Partnership"!==(null===t||void 0===t?void 0:t.code)||"EIN_PSC"!==(null===t||void 0===t?void 0:t.code),g=(0,r.useMemo)((function(){return t[c.xh.numberOfAgricultureEmployees]+t[c.xh.numberOfHouseholdeEmployees]+t[c.xh.numberOfOtherEmployees]<1}),[t]);return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"General questions"})})}),s&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,On(On({},(0,u.X)(c.xh.acceptCreditCardPayments)),{},{value:t[c.xh.acceptCreditCardPayments],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,On(On({},(0,u.X)(c.xh.payEmployeesViaPayroll)),{},{value:t[c.xh.payEmployeesViaPayroll],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),h&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,On(On({}
1,(0,u.X)(c.xh.questionsHighway)),{},{value:t[c.xh.questionsHighway],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,On(On({},(0,u.X)(c.xh.questionsGambling)),{},{value:t[c.xh.questionsGambling],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,On(On({},(0,u.X)(c.xh.questionsATF)),{},{value:t[c.xh.questionsATF],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,On(On({},(0,u.X)(c.xh.questionsExcise)),{},{value:t[c.xh.questionsExcise],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,On(On({},(0,u.X)(c.xh.questionsAppliedBefore)),{},{value:t[c.xh.questionsAppliedBefore],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),p&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,On(On({},(0,u.X)(c.xh.previousEINNumberFirst2)),{},{value:t[c.xh.previousEINNumberFirst2],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,On(On({},(0,u.X)(c.xh.previousEINNumberLast7)),{},{value:t[c.xh.previousEINNumberLast7],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,On(On({},(0,u.X)(c.xh.questionsHire)),{},{value:t[c.xh.questionsHire],onChange:o,onMouseEnter:i,onMouseLeave:a,hideDivider:!x}))}),x&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,On(On({},(0,u.X)(c.xh.payLessThan4k)),{},{value:t[c.xh.payLessThan4k],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),m&&(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,On(On({},(0,u.X)(c.xh.annualTaxes)),{},{value:t[c.xh.annualTaxes],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,On(On({},(0,u.X)(c.xh.numberOfAgricultureEmployees)),{},{isInvalid:g,value:t[c.xh.numberOfAgricultureEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),v&&(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,On(On({},(0,u.X)(c.xh.numberOfHouseholdeEmployees)),{},{isInvalid:g,value:t[c.xh.numberOfHouseholdeEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,On(On({},(0,u.X)(c.xh.numberOfOtherEmployees)),{},{isInvalid:g,value:t[c.xh.numberOfOtherEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,On(On({},(0,u.X)(c.xh.firstDateWagesMonth)),{},{value:t[c.xh.firstDateWagesMonth],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,On(On({},(0,u.X)(c.xh.firstDateWagesDay)),{},{value:t[c.xh.firstDateWagesDay],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,On(On({},(0,u.X)(c.xh.firstDateWagesYear)),{},{options:Mn(),value:t[c.xh.firstDateWagesYear],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a,hideDivider:!0}))})]}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})};function In(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function kn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?In(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):In(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ln=o.ZP.div.withConfig({displayName:"BusinessAddressBlock__StyledStateDesc",componentId:"sc-u8gkhb-0"})(["font-family:'InterRegular';font-style:italic;font-size:12px;margin-bottom:16px;border-bottom:1px solid #eaeaea;margin-top:-10px;margin-bottom:10px;"]);var Dn=function(e){var n=e.prefix,t=void 0===n?"corp":n,o=e.values,i=void 0===o?{}:o,a=e.onChange,s=e.onMouseEnter,h=e.onMouseLeave,p="true"===i[c.xh.altAddress],x=(0,r.useMemo)((function(){var e="Business Address (PO Boxes are not authorized)";return"EIN_Estate"===i.code&&(e="Executor/Legal Personal Representative Address (PO Boxes are not authorized)"),"EIN_Trust"===i.code&&(e="Trustee Address (PO Boxes are not authorized)"),e}),[i]),m=(0,r.useMemo)((function(){var e="Please enter the physical address of the business/entity.";return"EIN_Estate"===i.code&&(e="Enter the street address of the person that will manage the Estate."),"EIN_Trust"===i.code&&(e="Please enter the physical address of the Trustee."),"EIN_Church"===i.code&&(e="Please enter the physical address of the Church."),"EIN_NonProfit"===i.code&&(e="Please enter the physical address of the Non Profit."),"".concat(e," ").concat("Business AddressNo P.O. Boxes Allowed")}),[i]),v=(0,r.useMemo)((function(){var e="Enter the county of the business/entity.";return"EIN_Estate"===i.code&&(e="Enter the county of the person that will manage the Estate."),"EIN_Trust"===i.code&&(e="Enter the county of the Trustee."),"EIN_Church"===i.code&&(e="Enter the county of the Church."),"EIN_NonProfit"===i.code&&(e="Enter the county of the Non Profit."),"".concat(e," ").concat("Do not confuse \u201ccounty\u201d with \u201ccountry\u201d.")}),[i]);return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:x})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({},(0,u.X)(c.xh.baseAddressAddress1.replace("base",t))),{},{isCorpAddress:!0,hint:m,pattern:"(?!.*(?:[pP][oO] [bB][oO][xX]))^[ a-zA-Z0-9\\\\\\/\\-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /. PO Boxes are not acceptable.",value:i[c.xh.baseAddressAddress1.replace("base",t)],onChange:a,onMouseEnter:s,onMouseLeave:h}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({},(0,u.X)(c.xh.baseAddressAddress2.replace("base",t))),{},{isCorpAddress:!0,pattern:"(?!.*(?:[pP][oO] [bB][oO][xX]))^[ a-zA-Z0-9\\\\\\/\\-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /. PO Boxes are not acceptable.",value:i[c.xh.baseAddressAddress2.replace("base",t)],onChange:a,onMouseEnter:s,onMouseLeave:h}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({},(0,u.X)(c.xh.baseAddressCity.replace("base",t))),{},{value:i[c.xh.baseAddressCity.replace("base",t)],onChange:a,onMouseEnter:s,onMouseLeave:h}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({},(0,u.X)(c.xh.baseAddressZip.replace("base",t))),{},{value:i[c.xh.baseAddressZip.replace("base",t)],onChange:a,onMouseEnter:s,onMouseLeave:h}))}),(0,C.jsx)(d.Z,{xs:12,children:"EIN_LLC"===i.code&&(0,Ge.hj)(null===i||void 0===i?void 0:i.organizedState)?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Xe,kn(kn({},(0,u.X)(c.xh.baseAddressState.replace("base",t))),{},{value:i[c.xh.baseAddressState.replace("base",t)],validated:i.validated,onChange:a,onMouseEnter:s,onMouseLeave:h,disabled:!0,noBottomSpace:!0})),(0,C.jsxs)(Ln,{children:["For ",Ge.ib[null===i||void 0===i?void 0:i.organizedState]||"this
1state"," filings, the physical address must be located within the state."]})]}):(0,C.jsx)(Xe,kn(kn({},(0,u.X)(c.xh.baseAddressState.replace("base",t))),{},{value:i[c.xh.baseAddressState.replace("base",t)],validated:i.validated,onChange:a,onMouseEnter:s,onMouseLeave:h}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({},(0,u.X)(c.xh.baseAddressCounty.replace("base",t))),{},{hint:v,value:i[c.xh.baseAddressCounty.replace("base",t)],onChange:a,onMouseEnter:s,onMouseLeave:h}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,kn(kn({},(0,u.X)(c.xh.altAddress)),{},{value:i[c.xh.altAddress],onChange:a,onMouseEnter:s,onMouseLeave:h,hideDivider:!p}))}),p&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({},(0,u.X)(c.xh.altAddressAddress1)),{},{pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:i[c.xh.altAddressAddress1],onChange:a,onMouseEnter:s,onMouseLeave:h}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({},(0,u.X)(c.xh.altAddressAddress2)),{},{pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:i[c.xh.altAddressAddress2],onChange:a,onMouseEnter:s,onMouseLeave:h}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({},(0,u.X)(c.xh.altAddressCity)),{},{value:i[c.xh.altAddressCity],onChange:a,onMouseEnter:s,onMouseLeave:h}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({},(0,u.X)(c.xh.altAddressZip)),{},{value:i[c.xh.altAddressZip],onChange:a,onMouseEnter:s,onMouseLeave:h}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,kn(kn({},(0,u.X)(c.xh.altAddressState)),{},{value:i[c.xh.altAddressState],validated:i.validated,onChange:a,onMouseEnter:s,onMouseLeave:h}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({},(0,u.X)(c.xh.altAddressCounty)),{},{hint:v,value:i[c.xh.altAddressCounty],onChange:a,onMouseEnter:s,onMouseLeave:h,hideDivider:!0}))})]}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})};function Fn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Bn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Fn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Fn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _n=function(){var e=(new Date).getFullYear()-1900;return Array.from(new Array(e+2),(function(e,n){return{value:1900+n,title:"".concat(1900+n)}}))};var Xn=function(e){var n=e.prefix,t=void 0===n?"startDate":n,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Dates"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Bn(Bn({},(0,u.X)(c.xh.baseDateMonth.replace("baseDate",t))),{},{value:o[c.xh.baseDateMonth.replace("baseDate",t)],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Bn(Bn({},(0,u.X)(c.xh.baseDateDay.replace("baseDate",t))),{},{value:o[c.xh.baseDateDay.replace("baseDate",t)],validated:o.validated,options:(0,u.V)({year:o[c.xh.baseDateYear.replace("baseDate",t)],month:o[c.xh.baseDateMonth.replace("baseDate",t)]}),onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Bn(Bn({},(0,u.X)(c.xh.baseDateYear.replace("baseDate",t))),{},{options:_n(),value:o[c.xh.baseDateYear.replace("baseDate",t)],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Bn(Bn({},(0,u.X)(c.xh.closingMonth)),{},{value:o[c.xh.closingMonth],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})};function An(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function zn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?An(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):An(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Tn=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onMouseEnter,i=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Applicants Contact Information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,zn(zn({},(0,u.X)(c.xh.customerPhone)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Mobile Phone Number\xa0",(0,C.jsx)(f.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(c.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"If any additional information is required to complete your application, we will contact you by phone and/or text message. Text message updates regarding your order and status will be provided."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),value:t[c.xh.customerPhone],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,zn(zn({},(0,u.X)(c.xh.customerEmail)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Email Address\xa0",(0,C.jsx)(f.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(c.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"We will Email you any important updates regarding your application."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),hint:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("strong",{children:"Recipient E-mail"}),(0,C.jsx)("br",{}),(0,C.jsx)("strong",{children:"IMPORTANT:"})," This is the e-mail where we will send the EIN Number, once processed. Make sure it is an e-mail that is checked frequently, and can receive incoming messages."]}),loading:t.verifying,value:t[c.xh.customerEmail],onChange:r,onMouseEnter:o,onMouseLeave:i}))})]})},Rn=(0,o.ZP)(s.Z).withConfig({displayName:"EINSolePropForm__StyledEINSolePropForm",componentId:"sc-501bkq-0"})([".inputs-block-title{margin-bottom:10px;font-family:'RobotoBold';color:#002346;}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'LatoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,j.E)("#002346",.9),(0,j.E)("#002346",.9),(function(e){return e.theme.devices.tablet}));var Vn=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,c=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(pn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(fn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(En,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Dn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Xn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Tn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,a,s,h]);return(0,C.jsxs)(Rn,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(cn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(pn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(fn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(En,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Dn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Xn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Tn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]})]})},qn=t(853);function $n(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Yn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?$n(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$n(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Un=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onMouseEnter,i=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Yn(Yn({},(0,u.X)(c.xh.legalName)),{},{placeholder:"Name of the Partnership",defaultInvalidMessage:"Please enter the name of the partnership",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: Corp, LLC, PLLC, LC, Inc."}),pattern:"(?!.*(?:[ ][lL][cC]$))(?!.*(?:[ ][lL][lL][cC]$))(?!.*(?:[ ][pP][lL][lL][cC]$))(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))(?!.*(?:[ ][iI][nN][cC][oO][rR][pP][oO][rR][aA][tT][eE][dD]$))^[ a-zA-Z0-9&\\\\-]+$",validate:qn.hK,value:t[c.xh.legalName],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Yn(Yn({},(0,u.X)(c.xh.dbaname)),{},{value:t[c.xh.dbaname],onChange:r,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})};function Wn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Gn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Wn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Qn=function(e){var n,t,r,o,i,a,s,h,p,x,m,v,j=e.values,b=void 0===j?{}:j,y=e.onChange,Z=e.onMouseEnter,N=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Primary Partner Information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Gn(Gn({},(0,u.X)(c.xh.primaryPartnerTitle)),{},{placeholder:null===(n=(0,u.X)(c.xh.primaryPartnerTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:b[c.xh.primaryPartnerTitle],validated:b.validated,onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Gn(Gn({},(0,u.X)(c.xh.primaryPartnerFirstName)),{},{placeholder:null===(r=(0,u.X)(c.xh.primaryPartnerFirstName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:b[c.xh.primaryPartnerFirstName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Gn(Gn({},(0,u.X)(c.xh.primaryPartnerMiddleName)),{},{placeholder:null===(i=(0,u.X)(c.xh.primaryPartnerMiddleName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),value:b[c.xh.primaryPartnerMiddleName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Gn(Gn({},(0,u.X)(c.xh.primaryPartnerLastName)),{},{placeholder:null===(s=(0,u.X)(c.xh.primaryPartnerLastName))||void 0===s||null===(h=s.placeholder)||void 0===h?void 0:h.replace("*",""),value:b[c.xh.primaryPartnerLastName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Gn(Gn({},(0,u.X)(c.xh.primaryPartnerSuffixName)),{},{placeholder:null===(p=(0,u.X)(c.xh.primaryPartnerSuffixName))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),value:b[c.xh.primaryPartnerSuffixName],validated:b.validated,onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,Gn(Gn({},(0,u.X)(c.xh.primaryPartnerSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(f.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(c.xh.primaryPartnerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(m=(0,u.X)(c.xh.primaryPartnerSSN))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),value:b[c.xh.primaryPartnerSSN],onChange:y,onMouseEnter:Z,onMouseLeave:N,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})},Kn=(0,o.ZP)(s.Z).withConfig({displayName:"EINPartnershipForm__StyledEINPartnershipForm",componentId:"sc-1agnsvk-0"}
1)([".inputs-block-title{margin-bottom:10px;font-family:'RobotoBold';color:#002346;}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'LatoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,j.E)("#002346",.9),(0,j.E)("#002346",.9),(function(e){return e.theme.devices.tablet}));var Hn=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,c=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Un,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Qn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(En,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Dn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Xn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Tn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,a,s,h]);return(0,C.jsxs)(Kn,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(cn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Un,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Qn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(En,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Dn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Xn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Tn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]})]})};function Jn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function et(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Jn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Jn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var nt=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onMouseEnter,i=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,et(et({},(0,u.X)(c.xh.legalName)),{},{placeholder:"Legal Name of the Corporation",defaultInvalidMessage:"Please provide a valid corporation name",value:t[c.xh.legalName],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,et(et({},(0,u.X)(c.xh.dbaname)),{},{value:t[c.xh.dbaname],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,et(et({},(0,u.X)(c.xh.organizedState)),{},{value:t[c.xh.organizedState],validated:t.validated,onChange:r,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})};function tt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function rt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?tt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ot=function(e){var n,t,r,o,i,a,s,h,p,x,m,v,j=e.values,b=void 0===j?{}:j,y=e.onChange,Z=e.onMouseEnter,N=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Principal Officer Information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,rt(rt({},(0,u.X)(c.xh.principalOfficerTitle)),{},{placeholder:null===(n=(0,u.X)(c.xh.principalOfficerTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:b[c.xh.principalOfficerTitle],validated:b.validated,onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,rt(rt({},(0,u.X)(c.xh.principalOfficerFirstName)),{},{placeholder:null===(r=(0,u.X)(c.xh.principalOfficerFirstName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:b[c.xh.principalOfficerFirstName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,rt(rt({},(0,u.X)(c.xh.principalOfficerMiddleName)),{},{placeholder:null===(i=(0,u.X)(c.xh.principalOfficerMiddleName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),value:b[c.xh.principalOfficerMiddleName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,rt(rt({},(0,u.X)(c.xh.principalOfficerLastName)),{},{placeholder:null===(s=(0,u.X)(c.xh.principalOfficerLastName))||void 0===s||null===(h=s.placeholder)||void 0===h?void 0:h.replace("*",""),value:b[c.xh.principalOfficerLastName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,rt(rt({},(0,u.X)(c.xh.principalOfficerSuffixName)),{},{placeholder:null===(p=(0,u.X)(c.xh.principalOfficerSuffixName))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),value:b[c.xh.principalOfficerSuffixName],validated:b.validated,onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,rt(rt({},(0,u.X)(c.xh.principalOfficerSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(f.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(c.xh.principalOfficerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(m=(0,u.X)(c.xh.principalOfficerSSN))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),value:b[c.xh.principalOfficerSSN],onChange:y,onMouseEnter:Z,onMouseLeave:N,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})},it=(0,o.ZP)(s.Z).withConfig({displayName:"EINCCorpForm__StyledEINCCorpForm",componentId:"sc-amohte-0"}
1)([".inputs-block-title{margin-bottom:10px;font-family:'RobotoBold';color:#002346;}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'LatoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,j.E)("#002346",.9),(0,j.E)("#002346",.9),(function(e){return e.theme.devices.tablet}));var at=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,c=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(ot,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(En,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Dn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Xn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Tn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,a,s,h]);return(0,C.jsxs)(it,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(cn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(ot,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(En,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Dn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Xn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Tn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]})]})};function st(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function lt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?st(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):st(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var dt=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onMouseEnter,i=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,lt(lt({},(0,u.X)(c.xh.legalName)),{},{placeholder:"Legal Name of the S-Corporation",defaultInvalidMessage:"Please provide a valid corporation name",value:t[c.xh.legalName],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,lt(lt({},(0,u.X)(c.xh.dbaname)),{},{value:t[c.xh.dbaname],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,lt(lt({},(0,u.X)(c.xh.organizedState)),{},{value:t[c.xh.organizedState],validated:t.validated,onChange:r,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})},ct=(0,o.ZP)(s.Z).withConfig({displayName:"EINSCorpForm__StyledEINSCorpForm",componentId:"sc-tw0dgd-0"})([".inputs-block-title{margin-bottom:10px;font-family:'RobotoBold';color:#002346;}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'LatoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,j.E)("#002346",.9),(0,j.E)("#002346",.9),(function(e){return e.theme.devices.tablet}));var ut=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,c=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(dt,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(ot,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(En,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Dn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Xn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Tn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,a,s,h]);return(0,C.jsxs)(ct,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(cn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(dt,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(ot,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(En,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Dn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Xn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Tn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]})]})};function ht(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function pt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?ht(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ht(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var xt=function(e){var n,t,r,o,i,a,s,h,p,x,m=e.values,v=void 0===m?{}:m,j=e.onChange,b=e.onMouseEnter,y=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Deceased Individual Information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,pt(pt({},(0,u.X)(c.xh.deceasedFirstName)),{},{placeholder:null===(n=(0,u.X)(c.xh.deceasedFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:v[c.xh.deceasedFirstName],onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,pt(pt({},(0,u.X)(c.xh.deceasedMiddleName)),{},{placeholder:null===(r=(0,u.X)(c.xh.deceasedMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:v[c.xh.deceasedMiddleName],onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,pt(pt({},(0,u.X)(c.xh.deceasedLastName)),{},{placeholder:null===(i=(0,u.X)(c.xh.deceasedLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),value:v[c.xh.deceasedLastName],onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,pt(pt({},(0,u.X)(c.xh.deceasedSuffixName)),{},{placeholder:null===(s=(0,u.X)(c.xh.deceasedSuffixName))||void 0===s||null===(h=s.placeholder)||void 0===h?void 0:h.replace("*",""),value:v[c.xh.deceasedSuffixName],validated:v.validated,onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,pt(pt({},(0,u.X)(c.xh.deceasedSSN)),{},{placeholder:null===(p=(0,u.X)(c.xh.deceasedSSN))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(f.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(c.xh.deceasedSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),value:v[c.xh.deceasedSSN],onChange:j,onMouseEnter:b,onMouseLeave:y,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})};function mt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function vt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?mt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var gt=function(e){var n,t,r,o,i,a,s,h,p,x,m,v,j=e.values,b=void 0===j?{}:j,y=e.onChange,Z=e.onMouseEnter,N=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Representative/Executor Information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,vt(vt({},(0,u.X)(c.xh.representativeTitle)),{},{placeholder:null===(n=(0,u.X)(c.xh.representativeTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:b[c.xh.representativeTitle],validated:b.validated,onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,vt(vt({},(0,u.X)(c.xh.representativeFirstName)),{},{placeholder:null===(r=(0,u.X)(c.xh.representativeFirstName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:b[c.xh.representativeFirstName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,vt(vt({},(0,u.X)(c.xh.representativeMiddleName)),{},{placeholder:null===(i=(0,u.X)(c.xh.representativeMiddleName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),value:b[c.xh.representativeMiddleName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,vt(vt({},(0,u.X)(c.xh.representativeLastName)),{},{placeholder:null===(s=(0,u.X)(c.xh.representativeLastName))||void 0===s||null===(h=s.placeholder)||void 0===h?void 0:h.replace("*",""),value:b[c.xh.representativeLastName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,vt(vt({},(0,u.X)(c.xh.representativeSuffixName)),{},{placeholder:null===(p=(0,u.X)(c.xh.representativeSuffixName))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),value:b[c.xh.representativeSuffixName],validated:b.validated,onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,vt(vt({},(0,u.X)(c.xh.representativeSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(f.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(c.xh.representativeSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(m=(0,u.X)(c.xh.representativeSSN))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),value:b[c.xh.representativeSSN],onChange:y,onMouseEnter:Z,onMouseLeave:N,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})}
1,ft=(0,o.ZP)(s.Z).withConfig({displayName:"EINEstateForm__StyledEINEstateForm",componentId:"sc-1u1jcx5-0"})([".inputs-block-title{margin-bottom:10px;font-family:'RobotoBold';color:#002346;}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'LatoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,j.E)("#002346",.9),(0,j.E)("#002346",.9),(function(e){return e.theme.devices.tablet}));var jt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,c=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(xt,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(gt,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Dn,{prefix:"representative",values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Xn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Tn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,a,s,h]);return(0,C.jsxs)(ft,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(cn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(xt,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(gt,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Dn,{prefix:"representative",values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Xn,{prefix:"dateOfDeath",values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Tn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]})]})};function bt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function yt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?bt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):bt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Zt=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onMouseEnter,i=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Non-
1profit Organization"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,yt(yt({},(0,u.X)(c.xh.legalName)),{},{placeholder:"Legal Name of the Non-profit Organization",defaultInvalidMessage:"Please provide a valid organization name",value:t[c.xh.legalName],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,yt(yt({},(0,u.X)(c.xh.dbaname)),{},{value:t[c.xh.dbaname],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,yt(yt({},(0,u.X)(c.xh.nonProfitType)),{},{value:t[c.xh.nonProfitType],onChange:r,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})};function Ct(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Nt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ct(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ct(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var wt=function(e){var n,t,r,o,i,a,s,h,p,x,m,v,j=e.values,b=void 0===j?{}:j,y=e.onChange,Z=e.onMouseEnter,N=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Responsible Party Information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Nt(Nt({},(0,u.X)(c.xh.responsiblePartyTitle)),{},{placeholder:null===(n=(0,u.X)(c.xh.responsiblePartyTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:b[c.xh.responsiblePartyTitle],validated:b.validated,onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Nt(Nt({},(0,u.X)(c.xh.responsiblePartyFirstName)),{},{placeholder:null===(r=(0,u.X)(c.xh.responsiblePartyFirstName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:b[c.xh.responsiblePartyFirstName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Nt(Nt({},(0,u.X)(c.xh.responsiblePartyMiddleName)),{},{placeholder:null===(i=(0,u.X)(c.xh.responsiblePartyMiddleName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),value:b[c.xh.responsiblePartyMiddleName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Nt(Nt({},(0,u.X)(c.xh.responsiblePartyLastName)),{},{placeholder:null===(s=(0,u.X)(c.xh.responsiblePartyLastName))||void 0===s||null===(h=s.placeholder)||void 0===h?void 0:h.replace("*",""),value:b[c.xh.responsiblePartyLastName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Nt(Nt({},(0,u.X)(c.xh.responsiblePartySuffixName)),{},{placeholder:null===(p=(0,u.X)(c.xh.responsiblePartySuffixName))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),value:b[c.xh.responsiblePartySuffixName],validated:b.validated,onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,Nt(Nt({},(0,u.X)(c.xh.responsiblePartySSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(f.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(c.xh.responsiblePartySSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(m=(0,u.X)(c.xh.responsiblePartySSN))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),value:b[c.xh.responsiblePartySSN],onChange:y,onMouseEnter:Z,onMouseLeave:N,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})},Et=(0,o.ZP)(s.Z).withConfig({displayName:"EINNonProfitForm__StyledEINNonProfitForm",componentId:"sc-12t12mx-0"}
1)([".inputs-block-title{margin-bottom:10px;font-family:'RobotoBold';color:#002346;}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'LatoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,j.E)("#002346",.9),(0,j.E)("#002346",.9),(function(e){return e.theme.devices.tablet}));var St,Ot=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,c=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Zt,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(wt,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(En,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Dn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Xn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Tn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,a,s,h]);return(0,C.jsxs)(Et,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(cn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Zt,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(wt,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(En,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Dn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Xn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Tn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]})]})},Mt=t(1383);function Pt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function It(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Pt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Pt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var kt=(0,o.ZP)(s.Z.Group).withConfig({displayName:"RadioGroup__StyledGroup",componentId:"sc-1kv564m-0"})(["display:flex;flex-direction:column;",";padding-left:0;padding-right:0;input:checked + label,input:not(:checked) + label{display:inline-block;padding-left:8px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;cursor:pointer;}"],(function(e){return e.horizontal&&css(St||(St=(0,Mt.Z)(["\n flex-direction: row;\n "])))})),Lt=(0,o.ZP)(s.Z.Check).withConfig({displayName:"RadioGroup__StyledCheck",componentId:"sc-1kv564m-1"})(["margin-right:24px;margin-top:0.5rem;"]);var Dt=function(e){var n=e.id,t=e.name,o=e.hint,i=e.horizontal,a=e.options,s=void 0===a?[]:a,l=e.value,d=e.onChange,c=(0,r.useMemo)((function(){var e={placement:m.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o})};return o&&!m.tq||(e.show=!1),e}),[n,o]);return(0,C.jsx)(f.Z,It(It({},c),{},{children:(0,C.jsx)(kt,{controlId:n,horizontal:i,children:s.map((function(e,r){return(0,C.jsx)(Lt,{id:"".concat(t||n).concat(r+1),name:t||n,inline:!0,type:"radio",label:e.label,value:e.value,checked:l===e.value,onChange:d},"".concat(t||n).concat(r+1))}))})}))};function Ft(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Bt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ft(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ft(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _t=function(e){var n=e.values,t=void 0===n?{}:n,o=e.onChange,i=e.onMouseEnter,a=e.onMouseLeave,s="2"===t[c.xh.LLCMembers],h="true"===t[c.xh.husbandAndWife],p=(0,b.D)(t);return(0,r.useEffect)((function(){p&&p[c.xh.organizedState]!==t[c.xh.organizedState]&&(0,qn.dg)({target:{id:c.xh.legalName,value:t[c.xh.legalName]||""}},{matchValue:t[c.xh.organizedState]})}),[p,t]),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Bt(Bt({},(0,u.X)(c.xh.legalName)),{},{placeholder:"Legal Name of the LLC",defaultInvalidMessage:"Please provide a valid organization name",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: Corp, Inc, PA."}),pattern:"(?!.*(?:[ ][pP][aA]$))(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))(?!.*(?:[ ][iI][nN][cC][oO][rR][pP][oO][rR][aA][tT][eE][dD]$))^[ a-zA-Z0-9&\\\\-]+$",validate:qn.dg,value:t[c.xh.legalName],matchValue:t[c.xh.organizedState],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Bt(Bt({},(0,u.X)(c.xh.dbaname)),{},{value:t[c.xh.dbaname],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Bt(Bt({},(0,u.X)(c.xh.LLCMembers)),{},{value:t[c.xh.LLCMembers],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),s&&(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(ie,Bt(Bt({},(0,u.X)(c.xh.husbandAndWife)),{},{value:t[c.xh.husbandAndWife],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),h&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:"Please choose one of the following:"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Dt,Bt(Bt({},(0,u.X)(c.xh.multiMember)),{},{value:t[c.xh.multiMember],onChange:o}))})]}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:"Select the Tax classification of the LLC:"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Dt,Bt(Bt({},(0,u.X)(c.xh.taxClassification)),{},{value:t[c.xh.taxClassification],onChange:o}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Bt(Bt({},(0,u.X)(c.xh.organizedState)),{},{value:t[c.xh.organizedState],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})};function Xt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function At(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Xt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Xt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var zt=function(e){var n,t,r,o,i,a,s,h,p,x,m,v,j=e.values,b=void 0===j?{}:j,y=e.onChange,Z=e.onMouseEnter,N=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Managing Member Information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,At(At({},(0,u.X)(c.xh.ownerTitle)),{},{placeholder:null===(n=(0,u.X)(c.xh.ownerTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:b[c.xh.ownerTitle],validated:b.validated,onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,At(At({},(0,u.X)(c.xh.ownerFirstName)),{},{placeholder:null===(r=(0,u.X)(c.xh.ownerFirstName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:b[c.xh.ownerFirstName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,At(At({},(0,u.X)(c.xh.ownerMiddleName)),{},{placeholder:null===(i=(0,u.X)(c.xh.ownerMiddleName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),value:b[c.xh.ownerMiddleName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,At(At({},(0,u.X)(c.xh.ownerLastName)),{},{placeholder:null===(s=(0,u.X)(c.xh.ownerLastName))||void 0===s||null===(h=s.placeholder)||void 0===h?void 0:h.replace("*",""),value:b[c.xh.ownerLastName],onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,At(At({},(0,u.X)(c.xh.ownerSuffixName)),{},{placeholder:null===(p=(0,u.X)(c.xh.ownerSuffixName))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),value:b[c.xh.ownerSuffixName],validated:b.validated,onChange:y,onMouseEnter:Z,onMouseLeave:N}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,At(At({},(0,u.X)(c.xh.ownerSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(f.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(c.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(m=(0,u.X)(c.xh.ownerSSN))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),value:b[c.xh.ownerSSN],onChange:y,onMouseEnter:Z,onMouseLeave:N,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})},Tt=(0,o.ZP)(s.Z).withConfig({displayName:"EINLLCForm__StyledEINLLCForm",componentId:"sc-u1c054-0"})([".inputs-block-title{margin-bottom:10px;font-family:'RobotoBold';color:#002346;}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'LatoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,j.E)("#002346",.9),(0,j.E)("#002346",.9),(function(e){return e.theme.devices.tablet}));var Rt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,c=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_t,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(zt,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(En,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Dn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Xn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Tn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,a,s,h]);return(0,C.jsxs)(Tt,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(cn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_t,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(zt,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(En,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Dn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Xn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Tn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]})]})};function Vt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function qt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Vt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Vt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var $t=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onMouseEnter,i=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,qt(qt({},(0,u.X)(c.xh.legalName)),{},{hint:(0,C.jsxs)(C.Fragment,{children:["Special instructions for entering the legal name of your trust:",(0,C.jsxs)("ol",{children:[(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Omit any names of trustees."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Place the individual's name at the beginning of your trust name."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Do not enter the words 'date' or 'dated'."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Do not enter the alpha month, replace with corresponding numeric character."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Omit the word 'The' from the beginning of your trust name."})]}),"The only punctuation and special characters allowed are hyphen (-) and ampersand (&).",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"The legal name may not contain any of the following endings: Corp, LLC, PLLC, LC, Inc, PA."]}),placeholder:"Legal Name of Trust",defaultInvalidMessage:"Please provide a valid trust name",value:t[c.xh.legalName],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,qt(qt({},(0,u.X)(c.xh.trustType)),{},{value:t[c.xh.trustType],validated:t.validated,onChange:r,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})};function Yt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ut(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Yt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Yt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Wt=function(e){var n,t,r,o,i,a,s,h,p,x,m=e.values,v=void 0===m?{}:m,j=e.onChange,b=e.onMouseEnter,y=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Creator/Grantor Information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Ut(Ut({},(0,u.X)(c.xh.createrFirstName)),{},{placeholder:null===(n=(0,u.X)(c.xh.createrFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:v[c.xh.createrFirstName],onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Ut(Ut({},(0,u.X)(c.xh.createrMiddleName)),{},{placeholder:null===(r=(0,u.X)(c.xh.createrMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:v[c.xh.createrMiddleName],onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Ut(Ut({},(0,u.X)(c.xh.createrLastName)),{},{placeholder:null===(i=(0,u.X)(c.xh.createrLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),value:v[c.xh.createrLastName],onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Ut(Ut({},(0,u.X)(c.xh.createrSuffixName)),{},{placeholder:null===(s=(0,u.X)(c.xh.createrSuffixName))||void 0===s||null===(h=s.placeholder)||void 0===h?void 0:h.replace("*",""),value:v[c.xh.createrSuffixName],validated:v.validated,onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,Ut(Ut({},(0,u.X)(c.xh.createrSSN)),{},{value:v[c.xh.createrSSN],label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(f.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(c.xh.createrSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(p=(0,u.X)(c.xh.createrSSN))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),onChange:j,onMouseEnter:b,onMouseLeave:y,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})};function Gt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Qt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Gt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Kt=function(e){var n,t,r,o,i,a,s,h,p,x,m=e.values,v=void 0===m?{}:m,j=e.onChange,b=e.onMouseEnter,y=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Conservator Information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,Qt(Qt({},(0,u.X)(c.xh.trusteeTitle)),{},{placeholder:null===(n=(0,u.X)(c.xh.trusteeTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:v[c.xh.trusteeTitle],validated:v.validated,onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Qt(Qt({},(0,u.X)(c.xh.trusteeFirstName)),{},{placeholder:null===(r=(0,u.X)(c.xh.trusteeFirstName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:v[c.xh.trusteeFirstName],onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Qt(Qt({},(0,u.X)(c.xh.trusteeMiddleName)),{},{placeholder:null===(i=(0,u.X)(c.xh.trusteeMiddleName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),value:v[c.xh.trusteeMiddleName],onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,Qt(Qt({},(0,u.X)(c.xh.trusteeLastName)),{},{placeholder:null===(s=(0,u.X)(c.xh.trusteeLastName))||void 0===s||null===(h=s.placeholder)||void 0===h?void 0:h.replace("*",""),value:v[c.xh.trusteeLastName],onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(q,Qt(Qt({},(0,u.X)(c.xh.trusteeSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(f.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(g.Z,{id:"tooltip-".concat(c.xh.trusteeSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(p=(0,u.X)(c.xh.trusteeSSN))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),value:v[c.xh.trusteeSSN],onChange:j,onMouseEnter:b,onMouseLeave:y,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})},Ht=(0,o.ZP)(s.Z).withConfig({displayName:"EINTrustForm__StyledEINTrustForm",componentId:"sc-ps2tac-0"})([".inputs-block-title{margin-bottom:10px;font-family:'RobotoBold';color:#002346;}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'LatoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,j.E)("#002346",.9),(0,j.E)("#002346",.9),(function(e){return e.theme.devices.tablet}));var Jt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,c=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($t,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Wt,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Kt,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Dn,{prefix:"trustee",values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Xn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Tn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,a,s,h]);return(0,C.jsxs)(Ht,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(cn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($t,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Wt,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Kt,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Dn,{prefix:"trustee",values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Xn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Tn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]})]})};function er(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function nr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?er(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):er(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var tr=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onMouseEnter,i=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,nr(nr({},(0,u.X)(c.xh.legalName)),{},{placeholder:"Legal Name of the Personal Service Corporation",defaultInvalidMessage:"Please provide a valid corporation name",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: LLC, PLLC, LC."}),pattern:"(?!.*(?:[ ][lL][cC]$))(?!.*(?:[ ][lL][lL][cC]$))(?!.*(?:[ ][pP][lL][lL][cC]$))^[ a-zA-Z0-9&\\\\-]+$",validate:qn.bW,value:t[c.xh.legalName],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,nr(nr({},(0,u.X)(c.xh.dbaname)),{},{value:t[c.xh.dbaname],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,nr(nr({},(0,u.X)(c.xh.organizedState)),{},{value:t[c.xh.organizedState],validated:t.validated,onChange:r,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})},rr=(0,o.ZP)(s.Z).withConfig({displayName:"EINPSCForm__StyledEINPSCForm",componentId:"sc-55coyg-0"})([".inputs-block-title{margin-bottom:10px;font-family:'RobotoBold';color:#002346;}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'LatoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,j.E)("#002346",.9),(0,j.E)("#002346",.9),(function(e){return e.theme.devices.tablet}));var or=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,c=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(tr,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(ot,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(En,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Dn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Xn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Tn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,a,s,h]);return(0,C.jsxs)(rr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(cn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(tr,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(ot,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(En,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Dn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Xn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Tn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]})]})};function ir(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ar(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?ir(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ir(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var sr=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onMouseEnter,i=e.onMouseLeave;return(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})})}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,ar(ar({},(0,u.X)(c.xh.legalName)),{},{placeholder:"Legal Name of the Church",defaultInvalidMessage:"Please provide a valid corporation name",value:t[c.xh.legalName],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(L,ar(ar({},(0,u.X)(c.xh.dbaname)),{},{value:t[c.xh.dbaname],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(Xe,ar(ar({},(0,u.X)(c.xh.organizedState)),{},{value:t[c.xh.organizedState],validated:t.validated,onChange:r,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))}),(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})},lr=(0,o.ZP)(s.Z).withConfig({displayName:"EINChurchForm__StyledEINChurchForm",componentId:"sc-c5cem7-0"})([".inputs-block-title{margin-bottom:10px;font-family:'RobotoBold';color:#002346;}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'LatoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,j.E)("#002346",.9),(0,j.E)("#002346",.9),(function(e){return e.theme.devices.tablet}));var dr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,c=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(sr,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(wt,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(En,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Dn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Xn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Tn,{values:o,onChange:i}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(d.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,a,s,h]);return(0,C.jsxs)(lr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(l.Z,{children:(0,C.jsx)(d.Z,{xs:12,children:(0,C.jsx)(cn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(sr,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(wt,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(En,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Dn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Xn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsx)(Tn,{values:o,onChange:i,onMouseEnter:c,onMouseLeave:u}),(0,C.jsxs)(l.Z,{children:[(0,C.jsx)(d.Z,{xs:0,md:3}),(0,C.jsx)(d.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(d.Z,{xs:0,md:3})]})]})]})},cr=t(8300);cr.v.email,o.ZP.div.withConfig({displayName:"FormSection__StyledFormSection",componentId:"sc-kvpfg3-0"})(["display:flex;flex-direction:column;align-items:center;margin-bottom:2rem;width:100%;.form-section-header{width:980px;margin-top:24px;margin-bottom:8px;padding-left:15px;padding-right:15px;padding-top:4px;padding-bottom:4px;font-family:'RobotoRegular';font-size:20px;line-height:calc(1.42857rem * (20 / 16));text-align:center;span{font-family:'RobotoBold';}}.form-section-container{display:flex;width:980px;padding-left:15px;padding-right:15px;padding-top:16px;padding-bottom:16px;.form-container{flex-grow:1;margin-right:16px;border:1px solid #234e76;padding:16px;.form-group{margin-bottom:10px;}}.hint-container{min-width:300px;width:300px;display:flex;align-items:flex-start;.hint-card{position:sticky;width:100%;top:0;background-color:#f1f1f1;.hint-card-title{padding:15px 15px 0;margin-bottom:0.5rem;font-family:'RobotoBold';font-size:12px;line-height:calc(1.42857rem * (12 / 16));color:#0071BC;}.hint-card-subtitle{padding:0 15px;margin-bottom:1rem;font-family:'RobotoBold';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#424242;}.hint-card-content{padding:0 15px;margin-bottom:1rem;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#424242;
1a{display:none;}ul{list-style:disc;padding-left:32px;li{font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));}}}}.customer-service-card{display:flex;flex-direction:column;width:100%;padding-left:16px;.customer-service-card-title{margin-bottom:1rem;font-family:'RobotoBold';font-size:20px;line-height:calc(1.42857rem * (20 / 16));}.customer-service-card-content{display:flex;flex-direction:column;&,a{font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#424242;}.customer-service-card-item{display:flex;margin-bottom:0.5rem;.customer-service-card-item-label{width:20%;font-family:'RobotoBold';}}}}}}",";@media ","{.form-section-header{width:720px;}.form-section-container{width:720px;.hint-container{display:none;}}}@media ","{.form-section-header{width:100%;}.form-section-container{width:100%;.form-container{margin-right:0;}}}"],(function(e){return!e.showHelpCenter&&(0,o.iv)([".form-section-header{width:720px;}.form-section-container{width:720px;.hint-container{display:none;}}"])}),(function(e){return e.theme.devices.laptopS}),(function(e){return e.theme.devices.tablet})),new Map([["/LLCIncFinalize","llc-inc-finalize"]]),new Map([["/contactus",!0],["/payment",!1],["/LLCInc",!1],["/LLCIncFinalize",!1],["/LLCUpsell",!1],["/status",!1],["/products/EINSoleProp",!0],["/products/EINPartnership",!0],["/products/EINCCorp",!0],["/products/EINSCorp",!0],["/products/EINEstate",!0],["/products/EINNonProfit",!0],["/products/EINLLC",!0],["/products/EINTrust",!0],["/products/EINPSC",!0],["/products/EINChurch",!0]]),new Map([["/contactus",ue],["/payment",Ye],["/status",en],["/products/EINSoleProp",Vn],["/products/EINPartnership",Hn],["/products/EINCCorp",at],["/products/EINSCorp",ut],["/products/EINEstate",jt],["/products/EINNonProfit",Ot],["/products/EINLLC",Rt],["/products/EINTrust",Jt],["/products/EINPSC",or],["/products/EINChurch",dr]])},4794:function(e,n,t){var r=t(7379).ZP.button.withConfig({displayName:"Button",componentId:"sc-1ew5vy6-0"})(["padding:8px 25px;width:100%;margin-right:0;font-family:'RobotoBold';font-size:18px;background-color:#ddd;border:2px solid silver;border-right-color:#6c6c6c;border-bottom-color:#6c6c6c;color:#000000;"]);n.Z=r},3035:function(e,n,t){t(7294);var r=t(7379),o=t(1752),i=t.n(o),a=t(4835),s=t(5893),l=(i()().publicRuntimeConfig,(0,r.ZP)(a.Z.Group).withConfig({displayName:"AgreementCheckbox__StyledGroup",componentId:"sc-xvx2bu-0"})(["padding-left:0;padding-right:0;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #eaeaea;",";input:checked,input:not(:checked){position:absolute;top:2px;left:0;}input:checked + label,input:not(:checked) + label{display:inline-block;position:relative;padding-left:20px;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#717171;cursor:pointer;}"],(function(e){return e.hideDivider&&(0,r.iv)(["border-bottom:none;"])}))),d=(0,r.ZP)(a.Z.Check).withConfig({displayName:"AgreementCheckbox__StyledCheck",componentId:"sc-xvx2bu-1"})(["margin-right:24px;"]);n.Z=function(e){var n=e.id,t=e.label,r=void 0===t?"Label":t,o=e.hideDivider;return(0,s.jsx)(l,{controlId:n,className:"custom-control-invalid",hideDivider:o,children:(0,s.jsx)(d,{inline:!0,required:!0,type:"checkbox",name:n,label:r})})}},1805:function(e,n,t){t(7294);var r=t(1608),o=t(1555),i=t(3035),a=t(5893);n.Z=function(){return(0,a.jsxs)(r.Z,{children:[(0,a.jsx)(o.Z,{xs:12,children:(0,a.jsx)("div",{className:"input-label",children:(0,a.jsxs)("span",{children:["Agreement",(0,a.jsx)("span",{children:"*"})]})})}),(0,a.jsx)(o.Z,{xs:12,children:(0,a.jsx)(i.Z,{id:"formAgreement",label:(0,a.jsx)("span",{children:"I accept the Terms and Conditions"})})})]})}},1106:function(e,n,t){var r=t(7294),o=t(7379),i=t(1664),a=t.n(i),s=t(7569),l=t(1822),d=t(5893),c=o.ZP.div.withConfig({displayName:"ErrorMessage__StyledErrorMessage",componentId:"sc-176hom9-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;padding-left:20px;padding-right:20px;.message-content{display:flex;justify-content:center;font-family:'InterRegular';font-size:18px;line-height:calc(1.42857rem * (18 / 16));color:#C61F0C;text-align:center;",";}.action-block{margin-top:32px;}"],(function(e){return e.showContactUsLink&&(0,o.iv)(["color:",";"],(0,s.E)("#002346",.9))}));n.Z=function(e){var n=e.showContactUsLink,t=e.showOK,o=void 0===t?{text:null,onClick:function(){}}:t,i=e.message,s=void 0===i?"Something went wrong":i,u=e.error,h=(0,r.useMemo)((function(){return u&&u.message.errors?u.message.errors[0]:u&&!u.message.errors&&u.message?u.message:s}),[s,u]),p=(0,r.useCallback)((function(){(null===o||void 0===o?void 0:o.onClick)&&o.onClick()}),[o]);return(0,d.jsxs)(c,{showContactUsLink:n,children:[(0,d.jsx)("div",{className:"message-content",children:h}),n&&(0,d.jsx)("div",{className:"action-block",children:(0,d.jsx)(a(),{href:"/contactus",passHref:!0,children:(0,d.jsx)(l.Z,{children:"Contact Us"})})}),(null===o||void 0===o?void 0:o.text)&&(0,d.jsx)("div",{className:"action-block",children:(0,d.jsx)(l.Z,{onClick:p,children:null===o||void 0===o?void 0:o.text})})]})}},3947:function(e,n,t){var r=t(7294),o=t(7379),i=t(7569),a=(t(5754),t(9499)),s=t(4853),l=t(4835),d=t(1608),c=t(1555),u=t(9822),h=t(1852),p=t(4730),x=t(1752),m=t.n(x),v=t(9359),g=t(6968),f=t(3489),j=t(5944),b=t(3669),y=t(7060),Z=t(926),C=t(5893),N=["id","type","hint","label","loading","placeholder","emptyLabel","required","pattern","maxLength","defaultInvalidMessage","validate","isValid","isInvalid","onKeyPress","matchValue","isCorpAddress","value","onChange","onBlur","onKeyDown","onMouseEnter","onMouseLeave","allowSuccessMessage","hideDivider","thirdPartyProps"];function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function E(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?w(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var S=m()().publicRuntimeConfig,O=(0,o.ZP)(l.Z.Group).withConfig({displayName:"TextInput__StyledGroup",componentId:"sc-117no12-0"})(["display:flex;flex-direction:column;position:relative;padding-left:0;padding-right:0;padding-bottom:16px;",";"],(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;"])})),M=(0,o.ZP)(l.Z.Label).withConfig({displayName:"TextInput__StyledLabel",componentId:"sc-117no12-1"})(["display:flex;align-items:center;width:100% !important;font-family:'InterSemiBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#0a578b;}}",";"],(function(e){return e.emptyLabel&&(0,o.iv)(["padding-top:18.56px;"])})),P=(0,o.ZP)(l.Z.Control).withConfig({displayName:"TextInput__StyledControl",componentId:"sc-117no12-2"})(["min-height:34px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'InterRegular';font-size:14px;line-height:24px;color:#424242;border:1px solid ",";border-radius:0;",";",";",";"],(0,i.E)("#000000",.1),(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #198754 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(40 167 69 / 25%) !important;"],"url(".concat(S.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(220 53 69 / 25%) !important;"],"url(".concat(S.basePath,"/icons/V2/validation_failure.svg)"))}),(function(e){return e.isLoading&&(0,o.iv)(["border:1px solid "," !important;box-shadow:none !important;background-image:none !important;"],(0,i.E)("#234e76",.1))})),I=(0,o.ZP)(g.Z).withConfig({displayName:"TextInput__StyledSpinner",componentId:"sc-117no12-3"})(["position:absolute;top:calc((34px - 2rem) / 2 + 18.52px);right:16px;&.text-custom{color:",";}",";"],(0,i.E)("#424242",.5),(function(e){return e.noLabel&&(0,o.iv)(["top:calc((34px - 2rem) / 2);"])})),k=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"TextInput__StyledFeedback",componentId:"sc-117no12-4"})(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5));var L=function(e){var n=e.id,t=e.type,o=e.hint,i=e.label,a=e.loading,s=e.placeholder,l=e.emptyLabel,d=e.required,c=e.pattern,u=e.maxLength,h=e.defaultInvalidMessage,x=void 0===h?"":h,m=e.validate,g=e.isValid,w=e.isInvalid,S=e.onKeyPress,L=e.matchValue,D=e.isCorpAddress,F=e.value,B=void 0===F?"":F,_=e.onChange,X=e.onBlur,A=e.onKeyDown,z=e.onMouseEnter,T=e.onMouseLeave,R=e.allowSuccessMessage,V=e.hideDivider,q=e.thirdPartyProps,$=(0,p.Z)(e,N),Y=(0,r.useState)(null),U=Y[0],W=Y[1],G=(0,b.D)(B),Q=(0,r.useCallback)((function(e){if(!U&&(0,Z.o)(e)){_&&_({target:{id:"verifying",value:!0}});var n=e;n.indexOf("+")>-1&&n.indexOf("gmail.com")>-1&&(n=n.substring(0,n.indexOf("+"))+n.substring(n.indexOf("@"),n.length)),(0,y.ZP)(n).then((function(e){W(e),_&&_({target:{id:"verifying",value:!1}})}))}}),[_,U]),K=(0,r.useCallback)((function(e){W(null),m&&m(e,{required:d,matchValue:L,isCorpAddress:D}),_&&_(e)}
1),[_,m,d,D,L]),H=(0,r.useCallback)((function(e){"email"===t&&B&&Q(B),X&&X(e)}),[X,t,B,Q]),J=(0,r.useCallback)((function(e){"email"===t&&B&&"Enter"===e.code&&(!U&&(0,Z.o)(B)&&_&&_({target:{id:"suspendedSubmit",value:!0}}),Q(B)),A&&A(e)}),[A,_,t,B,U,Q]),ee=(0,r.useCallback)((function(){z&&z({label:i||s,hint:o})}),[z,i,s,o]),ne=(0,r.useMemo)((function(){return{placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o}),show:!1}}),[n,o]),te=null!==U&&void 0!==U&&U.status&&!a?y.lx.includes(null===U||void 0===U?void 0:U.status):g,re=null!==U&&void 0!==U&&U.status&&!a?y.lo.includes(null===U||void 0===U?void 0:U.status):w,oe=y.ry[null===U||void 0===U?void 0:U.reason]||"Verified!",ie=y.ry[null===U||void 0===U?void 0:U.reason]||x,ae=!(te&&!re),se=(0,r.useMemo)((function(){if(q)return S?E(E({},q),{},{onKeyPress:S}):q;var e={type:t||"text",name:n,onChange:K,onBlur:H,onKeyDown:J};return S&&(e.onKeyPress=S),e}),[q,n,t,S,K,H,J]);return(0,r.useEffect)((function(){"email"===t&&void 0===G&&B&&Q(B)}),[Q,t,G,B]),(0,C.jsx)(j.Z,E(E({},ne),{},{children:(0,C.jsxs)(O,{controlId:n,hideDivider:V,onMouseEnter:ee,onMouseLeave:T,children:[(0,C.jsxs)(M,{emptyLabel:l,children:[i,i&&d&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(P,E(E(E({},se),$),{},{required:d,placeholder:s,isValid:te,isInvalid:re,isLoading:a,pattern:c,maxLength:u,value:B||"","data-hj-allow":!0})),a&&"email"===t&&(0,C.jsx)(k,{type:"processing",children:"Verification..."}),R&&!ae&&!a&&(0,C.jsx)(k,{type:"valid",children:oe}),ae&&ie&&!a&&(0,C.jsx)(k,{type:"invalid",children:ie}),a&&(0,C.jsx)(I,{animation:"border",variant:"custom",noLabel:!(i||l)})]})}))},D=t(6627),F=t.n(D);function B(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?B(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):B(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var X=m()().publicRuntimeConfig,A=(0,o.ZP)(l.Z.Group).withConfig({displayName:"MaskInput__StyledGroup",componentId:"sc-1mj32nl-0"})(["display:flex;flex-direction:column;position:relative;padding-left:0;padding-right:0;padding-bottom:16px;",";"],(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;"])})),z=(0,o.ZP)(l.Z.Label).withConfig({displayName:"MaskInput__StyledLabel",componentId:"sc-1mj32nl-1"})(["display:flex;align-items:center;font-family:'InterSemiBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#0a578b;}}"]),T=(0,o.ZP)(l.Z.Control).withConfig({displayName:"MaskInput__StyledControl",componentId:"sc-1mj32nl-2"})(["min-height:34px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'InterRegular';font-size:14px;line-height:24px;color:#424242;border:1px solid ",";border-radius:0;"," ",";",";&::placeholder{color:",";}@media ","{","}"],(0,i.E)("#000000",.1),(function(e){return e.suffix&&(0,o.iv)(["width:93%;"])}),(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #198754 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(40 167 69 / 25%) !important;"],"url(".concat(X.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(220 53 69 / 25%) !important;"],"url(".concat(X.basePath,"/icons/V2/validation_failure.svg)"))}),(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet}),(function(e){return e.suffix&&(0,o.iv)(["width:90%;"])})),R=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"MaskInput__StyledFeedback",componentId:"sc-1mj32nl-3"}
1)(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5)),V=o.ZP.div.withConfig({displayName:"MaskInput__StyledSuffixContainer",componentId:"sc-1mj32nl-4"})(["display:flex;justify-content:flex-end;align-items:flex-start;position:absolute;top:0;right:0;height:100%;min-width:34px;width:10%;padding-top:22px;"]);var q=function(e){var n=e.id,t=e.hint,o=e.suffix,i=e.label,a=e.hideDivider,s=e.placeholder,l=e.required,d=e.pattern,c=e.mask,u=e.maxLength,h=e.defaultInvalidMessage,p=void 0===h?"":h,x=e.validate,m=e.isValid,g=e.isInvalid,b=e.onKeyPress,y=e.value,Z=void 0===y?"":y,N=e.onChange,w=e.onMouseEnter,E=e.onMouseLeave,S=(0,r.useCallback)((function(e){x&&x(e,{required:l}),N&&N(e)}),[N,x,l]),O=(0,r.useCallback)((function(){w&&w({label:i||s,hint:t})}),[w,i,s,t]),M=(0,r.useMemo)((function(){return{placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t}),show:!1}}),[n,t]),P=!(m&&!g);return(0,C.jsx)(j.Z,_(_({},M),{},{children:(0,C.jsxs)(A,{controlId:n,hideDivider:a,onMouseEnter:O,onMouseLeave:E,children:[(0,C.jsxs)(z,{children:[i,i&&l&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(F(),{mask:c,maskChar:null,value:Z,onChange:S,children:function(e){return(0,C.jsx)(T,{type:"phone",name:n,required:l,isValid:m,isInvalid:g,pattern:d,placeholder:s,maxLength:u,onKeyPress:b,"data-hj-allow":!0,suffix:o})}}),P&&p&&(0,C.jsx)(R,{type:"invalid",children:p}),o&&(0,C.jsx)(V,{children:o})]})}))};function $(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var U=m()().publicRuntimeConfig,W=(0,o.ZP)(l.Z.Group).withConfig({displayName:"Textarea__StyledGroup",componentId:"sc-1p0uure-0"})(["position:relative;padding-left:0;padding-right:0;",";"],(function(e){return e.withLabel&&(0,o.iv)(["padding-top:24px;"])})),G=(0,o.ZP)(l.Z.Label).withConfig({displayName:"Textarea__StyledLabel",componentId:"sc-1p0uure-1"})(["position:absolute;left:0;top:0;font-family:'InterSemiBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#333333;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#0a578b;}}"]),Q=(0,o.ZP)(l.Z.Control).withConfig({displayName:"Textarea__StyledControl",componentId:"sc-1p0uure-2"})(["resize:none;width:100%;min-height:52px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'InterRegular';font-size:14px;line-height:24px;color:#424242;border:1px solid ",";border-radius:0;background-repeat:no-repeat;background-origin:content-box;background-position-x:right;",";",";&:focus{background-color:#FFFFFF;border-color:#80BDFF;outline:0;box-shadow:0 0 0 0.2rem rgb(0 123 255 / 25%);}"],(0,i.E)("#000000",.1),(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #28A745;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(U.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(U.basePath,"/icons/V2/validation_failure.svg)"))})),K=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"Textarea__StyledFeedback",componentId:"sc-1p0uure-3"})(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5));var H=function(e){var n=e.id,t=e.hint,o=e.label,i=e.emptyLabel,a=e.placeholder,s=e.required,l=e.validated,d=e.isInvalid,c=e.pattern,u=e.maxLength,h=e.minLength,p=e.defaultInvalidMessage,x=void 0===p?"":p,m=e.validate,g
1=e.onKeyPress,b=e.matchValue,y=e.value,Z=void 0===y?"":y,N=e.onChange,w=(0,r.useCallback)((function(e){m&&m(e,{required:s,matchValue:b}),N&&N(e)}),[N,m,s,b]),E=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t&&!v.tq||(e.show=!1),e}),[n,t]),S=!s&&l&&!d||Z&&l&&!d,O=d||s&&!Z&&l;return(0,C.jsx)(j.Z,Y(Y({},E),{},{children:(0,C.jsxs)(W,{controlId:n,withLabel:Boolean(o||i),children:[(0,C.jsxs)(G,{children:[o,!i&&o&&s&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(Q,{as:"textarea",rows:5,name:n,required:s,placeholder:a,pattern:c,maxLength:u,minLength:h,isValid:S,isInvalid:O,value:Z,onKeyPress:g,onChange:w,"data-hj-allow":!0}),(0,C.jsx)(K,{type:"invalid",children:x})]})}))};function J(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ee(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?J(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):J(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ne=(0,o.ZP)(l.Z.Group).withConfig({displayName:"Switch__StyledGroup",componentId:"sc-1myuw59-0"})(["width:30%;margin-bottom:0!important;padding-left:0;padding-right:0;input:checked + label,input:not(:checked) + label{display:inline-block;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;cursor:pointer;}@media ","{width:100%;}"],(function(e){return e.theme.devices.tablet})),te=(0,o.ZP)(l.Z.Check).withConfig({displayName:"Switch__StyledCheck",componentId:"sc-1myuw59-1"})(["margin-right:24px;@media ","{margin-top:12px;}"],(function(e){return e.theme.devices.tablet})),re=o.ZP.div.withConfig({displayName:"Switch__StyledWrapper",componentId:"sc-1myuw59-2"})(["display:flex;align-items:center;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid ",";",";@media ","{flex-direction:column;}"],(0,i.E)("#000000",.1),(function(e){return e.hideDivider&&(0,o.iv)(["border-bottom:none;"])}),(function(e){return e.theme.devices.tablet})),oe=o.ZP.div.withConfig({displayName:"Switch__StyledQuestion",componentId:"sc-1myuw59-3"})(["width:70%;padding-right:24px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;@media ","{width:100%;}"],(function(e){return e.theme.devices.tablet}));var ie=function(e){var n=e.id,t=e.hideDivider,o=e.hint,i=e.label,a=e.labelOn,s=void 0===a?"Label ON":a,l=e.labelOff,d=void 0===l?"Label OFF":l,c=e.valueOn,u=e.valueOff,h=e.value,p=e.onChange,x=e.onMouseEnter,m=e.onMouseLeave,g=(0,r.useCallback)((function(){x&&x({label:i,hint:o})}),[x,i,o]),b=(0,r.useMemo)((function(){return{placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o}),show:!1}}),[n,o]);return(0,C.jsx)(j.Z,ee(ee({},b),{},{children:(0,C.jsxs)(re,{hideDivider:t,onMouseEnter:g,onMouseLeave:m,children:[(0,C.jsx)(oe,{children:(0,C.jsx)("span",{children:i})}),(0,C.jsxs)(ne,{controlId:n,children:[(0,C.jsx)(te,{inline:!0,id:"".concat(n,"1"),label:d,name:n,type:"radio",value:u,checked:h===u,onChange:p}),(0,C.jsx)(te,{inline:!0,id:"".concat(n,"2"),label:s,name:n,type:"radio",value:c,checked:h===c,onChange:p})]})]})}))},ae=t(1822),se=t(4155);function le(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function de(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?le(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):le(Object(t)).forEac
1h((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ce=(0,o.ZP)(l.Z).withConfig({displayName:"ContactUsForm__StyledContactUsForm",componentId:"sc-1ntc61e-0"})(["padding:16px;border:1px solid ",";.contact-block-title{margin-bottom:1rem;padding-top:10px;padding-bottom:10px;font-family:'InterRegular';color:#424242;span{font-family:'InterSemiBold';}}button{width:100%;margin-top:2rem;margin-bottom:1rem;}@media ","{.contact-block-title{margin-bottom:0;}}"],(0,i.E)("#000000",.1),(function(e){return e.theme.devices.tablet})),ue=r.forwardRef((function(e,n){var t=e.values,o=void 0===t?{}:t,i=e.onReCaptcha,a=e.onChange,l=e.onSubmit,p="true"===o[u.xh.questionsOrder],x=se.env.NEXT_PUBLIC_GOOGLE_RECAPTCHA_PUBLIC_KEY,m=(0,r.useCallback)((function(){a&&a({target:{id:"suspendedSubmit",value:!0}})}),[a]);return(0,C.jsxs)(ce,{noValidate:!0,validated:o.validated,onSubmit:l,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsxs)("div",{className:"contact-block-title",children:["Use the form below to submit a support request. A business filing expert will be in touch with you as soon as possible.\xa0",(0,C.jsx)("span",{children:"If submitted after office hours, we will respond on the next business day."})]})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.customerFirstName)),{},{value:o[u.xh.customerFirstName],onChange:a,column:!0}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.customerLastName)),{},{value:o[u.xh.customerLastName],onChange:a}))})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,de(de({},(0,h.X)(u.xh.customerPhone)),{},{value:o[u.xh.customerPhone],onChange:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.customerEmail)),{},{loading:o.verifying,value:o[u.xh.customerEmail],onChange:a}))})]}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,de(de({},(0,h.X)(u.xh.questionsOrder)),{},{value:o[u.xh.questionsOrder],onChange:a}))})}),p&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.orderId)),{},{value:o[u.xh.orderId],onChange:a}))})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(H,de(de({},(0,h.X)(u.xh.message)),{},{validated:o.validated,value:o[u.xh.message],onChange:a}))})}),x&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(s.Z,{className:"g-recaptcha",ref:n,sitekey:x,onChange:i})})}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"ContactUsSubmitButton",onMouseDown:m,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})})),he=t(8021),pe=t(1106),xe=t(7812),me=t(1163),ve=t(9669),ge=t.n(ve),fe=t(4487),je=t(3009);function be(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ye(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?be(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):be(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}m()().publicRuntimeConfig;var Ze=(0,o.ZP)(l.Z.Group).withConfig({displayName:"ProcessingRadioGroup__StyledGroup",componentId:"sc-3arj0n-0"})(["width:100%;padding-left:0;padding-right:0;input:checked + label,input:not(:checked) + label{display:inline-block;position:relative;font-family:'InterRegular';font-size:14px;line-height:24px;color:",";cursor:pointer;}.col-md-6{&:nth-child(odd){padding-right:8px;}&:nth-child(even){padding-left:8px;}}.col-12{padding-bottom:8px;}@media ","{.col-md-6{&:nth-child(odd){padding-right:15px;}&:nth-child(even){padding-left:15px;}}}"],(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet})),Ce=(0,o.ZP)(l.Z.Check).withConfig({displayName:"ProcessingRadioGroup__StyledCheck",componentId:"sc-3arj0n-1"})(["margin-top:5px;"]),Ne=o.ZP.label.withConfig({displayName:"ProcessingRadioGroup__StyledLabel",componentId:"sc-3arj0n-2"})(["display:flex;align-items:flex-start;height:calc(100% - 8px);padding:18px;border:1px solid ",";position:relative;cursor:pointer;.title{display:flex;flex-direction:column;flex-grow:1;font-family:'InterSemiBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";.description{font-family:'InterRegular';font-size:12px;line-height:calc(1.42857rem * (12 / 16));}}
1.price-badge{position:absolute;top:6px;right:10px;font-family:'InterRegular';font-size:16px;line-height:26px;color:",";}",";"],(0,i.E)("#000000",.1),(0,i.E)("#424242",.5),(0,i.E)("#424242",.5),(function(e){return e.active&&(0,o.iv)(["border:1px solid ",";.title{color:",";}.price-badge{color:",";}"],(0,i.E)("#000000",.1),(0,i.E)("#424242",1),(0,i.E)("#424242",1))}));var we=function(e){var n=e.id,t=e.hint,o=e.options,i=void 0===o?[]:o,a=e.value,s=e.onChange,l=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t||(e.show=!1),e}),[n,t]);return(0,C.jsx)(j.Z,ye(ye({},l),{},{children:(0,C.jsx)(Ze,{controlId:n,children:(0,C.jsx)(d.Z,{children:i.map((function(e,t){return(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsxs)(Ne,{active:a===e.value,children:[(0,C.jsx)(Ce,{id:"".concat(n).concat(t+1),name:n,inline:!0,type:"radio",label:"",value:e.value,checked:a===e.value,onChange:s}),(0,C.jsxs)("div",{className:"title",children:[(0,C.jsx)("div",{className:"name",children:(0,C.jsx)("span",{children:e.name})}),(0,C.jsx)("div",{className:"description",children:(0,C.jsxs)("span",{children:["(",e.description,")"]})})]}),(0,C.jsx)("div",{className:"price-badge",children:(0,C.jsxs)("span",{children:["$",e.price]})})]})},"".concat(n).concat(t+1))}))})})}))},Ee=t(4669);function Se(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Oe(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Se(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Se(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Me=o.ZP.div.withConfig({displayName:"ProcessingBlock__StyledContainer",componentId:"sc-ylnw05-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Pe=(0,o.ZP)(d.Z).withConfig({displayName:"ProcessingBlock__StyledRow",componentId:"sc-ylnw05-1"})(["padding-top:16px;padding-left:16px;padding-right:16px;"]),Ie=o.ZP.div.withConfig({displayName:"ProcessingBlock__StyledBottomReminder",componentId:"sc-ylnw05-2"})(["padding-left:16px;padding-right:16px;padding-bottom:16px;font-family:'InterRegular';font-size:12px;line-height:calc(1.42857rem * (12 / 16));text-align:center;"]),ke=[je.a.leadDiscount,je.a.leadDiscount20,je.a.leadDiscount50];var Le=function(e){var n=e.values,t=void 0===n?{}:n,o=e.onChange,i=(0,me.useRouter)(),a=i.query,s=i.isReady,l=(0,r.useState)([]),p=l[0],x=l[1],m=(0,r.useState)(new Map),v=m[0],g=m[1],f=(0,r.useState)(null),j=f[0],y=f[1],Z=(0,r.useState)(null),N=Z[0],w=Z[1],E=(0,b.D)(t),S=(0,b.D)(v.size),O=(0,r.useMemo)((function(){return p.filter((function(e){var n=e.code;return j?n===j:!ke.includes(n)})).map((function(e){var n=e.code,t=e.value;return u.jF.has(n)?Oe(Oe({},u.jF.get(n)),{},{name:N?"EIN Application - ".concat(N.split("_")[1]||N," % Limited Time Discount"):u.jF.get(n).name,price:v.get(n)}):{name:t,value:n,price:v.get(n)}}))}),[p,v,j,N]);(0,r.useEffect)((function(){(null===E||void 0===E?void 0:E.processingOption)!==t.processingOption&&o&&o({target:{name:"currentPrice",value:v.get(t.processingOption)||0}})}),[o,t,E,v]),(0,r.useEffect)((function(){S!==v.size&&o&&o({target:{name:"currentPrice",value:v.get(t.processingOption)||0}})}),[o,t,S,v]),(0,r.useEffect)((function(){ge().get("https://innova-labs.net:9080/category/EIN/processing-options?onlyActive=true").then((function(e){var n=new Set;e.data.values.forEach((function(e){n.add(e.code)})),x((0,xe.Z)(e.data.values||[])),!n.has(je.a.rush)&&n.has(je.a.standard)&&o&&o({target:{name:u.xh.processingOption,value:je.a.standard}})})).catch((function(e){var n=window.location.href.split("/"),t=(n[0]+"//"+n[2]).replace(/\/+$/,"");ge().get(t+"/crm/category/EIN/processing-options?onlyActive=true").then((function(e){var n=new Set;
1e.data.values.forEach((function(e){n.add(e.code)})),x((0,xe.Z)(e.data.values||[])),!n.has(je.a.rush)&&n.has(je.a.standard)&&o&&o({target:{name:u.xh.processingOption,value:je.a.standard}})})).catch((function(e){console.log(e.response)}))}))}),[]),(0,r.useEffect)((function(){a.order&&a.token&&ge().get("https://innova-labs.net:9080/orders/"+a.order,{headers:{Authorization:"Bearer "+a.token}}).then((function(e){o&&o({target:{name:u.xh.processingOption,value:je.a.standard}},{currentOrder:e.data.order,orderId:e.data.order.id,token:a.token,campaignId:a.campaignId||null,sourceValue1:a.sourceValue1||null,sourceValue2:a.sourceValue2||null,sourceValue3:a.sourceValue3||null,sourceValue4:a.sourceValue4||null,sourceValue5:a.sourceValue5||null}),y(je.a.standard),ge().get("https://innova-labs.net:9080/tokens",{headers:{Authorization:"Bearer "+a.token}}).then((function(e){w(e.data.discountCouponType),o&&o({target:{name:"discountCouponType",value:e.data.discountCouponType}})})).catch((function(e){console.log(e)}))})).catch((function(e){if(e.response)o&&o({target:{name:"discountError",value:e}}),403!==e.response.status&&fe.Tb(new Error("Token error"),{tags:{section:"products"}});else if(e.request){var n=window.location.href.split("/"),t=(n[0]+"//"+n[2]).replace(/\/+$/,"");ge().get(t+"/crm/orders/"+a.order,{headers:{Authorization:"Bearer "+a.token}}).then((function(e){o&&o({target:{name:u.xh.processingOption,value:je.a.standard}},{currentOrder:e.data.order,orderId:e.data.order.id,token:a.token,campaignId:a.campaignId||null,sourceValue1:a.sourceValue1||null,sourceValue2:a.sourceValue2||null,sourceValue3:a.sourceValue3||null,sourceValue4:a.sourceValue4||null,sourceValue5:a.sourceValue5||null}),y(je.a.standard),ge().get(t+"/tokens",{headers:{Authorization:"Bearer "+a.token}}).then((function(e){w(e.data.discountCouponType),o&&o({target:{name:"discountCouponType",value:e.data.discountCouponType}})})).catch((function(e){console.log(e)}))})).catch((function(e){o&&o({target:{name:"discountError",value:e}}),403!==e.response.status&&fe.Tb(new Error("Token error"),{tags:{section:"products"}}),console.log(e)}))}else o&&o({target:{name:"discountError",value:e}}),fe.Tb(new Error("Token error"),{tags:{section:"products"}});console.log(e)}))}),[a,o]),(0,r.useEffect)((function(){if(s&&a.token&&N||s&&!a.token){var e={productCodes:"EIN_SoleProp"};N&&(e.discountCouponType=N),ge().get("https://innova-labs.net:9080/category/EIN/products/prices",{params:e,headers:{"Content-Type":"application/json"}}).then((function(e){var n=new Map;e.data.forEach((function(e){n.set(e.option,e.price)})),g(n)})).catch((function(n){var t=window.location.href.split("/"),r=(t[0]+"//"+t[2]).replace(/\/+$/,"");ge().get(r+"/category/EIN/products/prices",{params:e,headers:{"Content-Type":"application/json"}}).then((function(e){var n=new Map;e.data.forEach((function(e){n.set(e.option,e.price)})),g(n)})).catch((function(e){console.log(e)}))}))}}),[N,s,a]);var M="",P=(0,Ee.hh)(window.location.hostname?window.location.hostname:"");return P.type===Ee.xj.Listed&&(M=P.domain),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"page-title",children:(0,C.jsx)("span",{children:"Submit Your EIN Application"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsxs)(Me,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Processing Option"})}),(0,C.jsx)(Pe,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(we,Oe(Oe({},(0,h.X)(u.xh.processingOption)),{},{value:t[u.xh.processingOption],options:O,onChange:o}))})}),("apply-us-taxid"===M||"etax-filing"===M)&&(0,C.jsx)(Ie,{children:"Reminder, EIN Application Fees are 100% Tax Deductible"})]})})]})},De=["id","hint","label","emptyLabel","hideDivider","placeholder","required","noBottomSpace","validated","maxLength","defaultInvalidMessage","isInvalid","value","options","onChange","onMouseEnter","onMouseLeave"];function Fe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Be(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Fe(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Fe(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _e=m()().publicRuntimeConfig,Xe=(0,o.ZP)(l.Z.Group).withConfig({displayName:"Select__StyledGroup",componentId:"sc-11jo3lo-0"})(["display:flex;flex-direction:column;position:relative;padding-left:0;padding-right:0;padding-bottom:16px;",";",";"],(function(e){return e.noBottomSpace&&(0,o.iv)(["padding-bottom:0px;"])}),(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;"])})),Ae=(0,o.ZP)(l.Z.Label).withConfig({displayName:"Select__StyledLabel",componentId:"sc-11jo3lo-1"})(["display:flex;align-items:center;font-family:'InterSemiBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#0a578b;}}",";"],(function(e){return e.emptyLabel&&(0,o.iv)(["padding-top:18.56px;"])})),ze=(0,o.ZP)(l.Z.Control).withConfig({displayName:"Select__StyledControl",componentId:"sc-11jo3lo-2"})(["appearance:unset;min-height:34px;width:100%;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:24px;font-family:'InterRegular';font-size:14px;line-height:24px;color:#424242;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border:1px solid ",";border-radius:0;background:",";background-image:",";background-repeat:no-repeat;background-origin:content-box;background-position-x:right;background-position-y:center;",";",";",";&:focus-visible{outline:none;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),"url(".concat(_e.basePath,"/icons/V2/V2-federal/caret_down.svg)"),(function(e){return e.isValid&&(0,o.iv)(["padding-top:4px !important;padding-right:0px !important;border:1px solid #198754;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(_e.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["padding-top:4px !important;padding-right:0px !important;border:1px solid #DC3545;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(_e.basePath,"/icons/V2/validation_failure.svg)"))}),(function(e){var n=e.isValid,t=e.isInvalid;return!(n||t)&&(0,o.iv)(["background-origin:unset!important;"])})),Te=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"Select__StyledFeedback",componentId:"sc-11jo3lo-3"})(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5));var Re=function(e){var n=e.id,t=e.hint,o=e.label,i=e.emptyLabel,a=e.hideDivider,s=e.placeholder,l=e.required,d=e.noBottomSpace,c=e.validated,u=e.maxLength,h=e.defaultInvalidMessage,x=void 0===h?"":h,m=e.isInvalid,g=e.value,b=void 0===g?"":g,y=e.options,Z=void 0===y?[]:y,N=e.onChange,w=e.onMouseEnter,E=e.onMouseLeave,S=(0,p.Z)(e,De),O=(0,r.useCallback)((function(e){N&&N(e)}),[N]),M=(0,r.useCallback)((function(){w&&w({label:o||s,hint:t})}),[w,o,s,t]),P=(0,r.useMemo)((function(){return{placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t}),show:!1}}),[n,t]),I=(0,r.useMemo)((function(){var e;return null===(e=Z.find((function(e){return(null===e||void 0===e?void 0:e.value)===b})))||void 0===e?void 0:e.title}),[b,Z]),k=!l&&c&&!m||b&&c&&!m,L=m||l&&!b&&c;return(0,C.jsx)(j.Z,Be(Be({},P),{},{children:(0,C.jsxs)(Xe,{controlId:n,hideDivider:a,className:L?"custom-control-invalid":"",title:I,onMouseEnter:M,onMouseLeave:E,noBottomSpace:d,children:[(0,C.jsxs)(Ae,{emptyLabel:i,children:[o,o&&l&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsxs)(ze,Be(Be({as:"select",className:"form-control",name:n,required:l,maxLength:u,value:b,onChange:O,isValid:k,isInvalid:L},S),{},{children:[(0,C.jsx)("option",{value:"",selected:!0,children:s}),Z.map((function(e){var n=e.title,t=e.value;return(0,C.jsx)("option",{value:t,children:n},t)}))]})),(0,C.jsx)(Te,{type:"invalid",children:x})]})}))};function Ve(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function qe(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Ve(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ve(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var $e=m()().publicRuntimeConfig,Ye=function(){var e=(new Date).getFullYear();return Array.from(new Array(20),(function(n,t){return{value:(e+t)%100,title:"".concat(e+t)}}))},Ue=o.ZP.div.withConfig({displayName:"CreditCardInfoBlock__StyledContainer",componentId:"sc-1l7sb7w-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),We=(0,o.ZP)(d.Z).withConfig({displayName:"CreditCardInfoBlock__StyledRow",componentId:"sc-1l7sb7w-1"})(["padding:16px;.col-12{position:relative;}"]);var Ge=function(e){var n,t,o,i,a,s,l,d,p,x,m,v,g,f=e.isCardExpired,j=e.paymentInputs,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=(0,r.useState)(null),w=N[0],E=N[1],S=j||{},O=S.meta,M=S.getCardNumberProps,P=S.getCVCProps,I=O.erroredInputs,k=O.touchedInputs,D="true"===y[u.xh.billingAddress],F=(0,r.useMemo)((function(){return"0000000000000000"!==y.cardNumber&&(k.cardNumber&&I.cardNumber||!y.cardNumber&&0===y.cardNumber.length&&!y.beforeSubmit)}),[y,k.cardNumber,I.cardNumber]),B=(0,r.useMemo)((function(){return k.cvc&&I.cvc||!y.cvc&&0===y.cvc.length&&!y.beforeSubmit}),[y,k.cvc,I.cvc]);return(0,C.jsxs)(Ue,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Card Information"})}),(0,C.jsxs)(We,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,qe(qe({},(0,h.X)(u.xh.firstName)),{},{value:y[u.xh.firstName],isInvalid:!y[u.xh.firstName]&&!y.beforeSubmit,onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,qe(qe({},(0,h.X)(u.xh.lastName)),{},{value:y[u.xh.lastName],isInvalid:!y[u.xh.lastName]&&!y.beforeSubmit,onChange:Z}))}),(0,C.jsxs)(c.Z,{xs:12,children:[(0,C.jsx)(L,qe(qe(qe({},(0,h.X)(u.xh.cardNumber)),{},{value:y[u.xh.cardNumber],thirdPartyProps:M({onChange:Z})},(g=u.xh.cardNumber,g===w?{onKeyPress:function(){}}:{})),{},{onSelect:function(e){var n=e.target,t=n.selectionEnd-n.selectionStart;E(t?n.name:null)},isInvalid:F,defaultInvalidMessage:I.cardNumber,"data-threeds":"pan"})),(0,C.jsxs)("div",{className:"card-providers mobile",children:[(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/visa-alternative.png"),alt:"VISA"}),(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/mastercard-alternative.png"),alt:"Mastercard"}),(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/discover-alternative.png"),alt:"Discover"}),(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/american-express-alternative.png"),alt:"American Express"})]}),(0,C.jsxs)("div",{className:"card-providers desktop",children:[(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/visa-alternative.png"),alt:"VISA"}),(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/mastercard-alternative.png"),alt:"Mastercard"}),(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/discover-alternative.png"),alt:"Discover"}),(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/american-express-alternative.png"),alt:"American Express"})]})]}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(Re,qe(qe({},(0,h.X)(u.xh.cardMonth)),{},{value:y[u.xh.cardMonth],label:"Exp. Month",isInvalid:f&&!y.beforeSubmit,onChange:Z,"data-threeds":"month"}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(Re,qe(qe({},(0,h.X)(u.xh.cardYear)),{},{label:"Exp. Year",emptyLabel:!1,options:Ye(),value:y[u.xh.cardYear],isInvalid:f&&!y.beforeSubmit,onChange:Z,"data-threeds":"year"}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,qe(qe({},(0,h.X)(u.xh.cvc)),{},{value:y[u.xh.cvc],thirdPartyProps:P({onChange:Z}),isInvalid:B,defaultInvalidMessage:I.cvc}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,qe(qe({},(0,h.X)(u.xh.billingAddress)),{},{value:y[u.xh.billingAddress],onChange:Z,hideDivider:!D}))}),D&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,qe(qe({},(0,h.X)(u.xh.billingAddressAddress1)),{},{label:null===(n=(0,h.X)(u.xh.billingAddressAddress1))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:y[u.xh.billingAddressAddress1],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,qe(qe({}
1,(0,h.X)(u.xh.billingAddressAddress2)),{},{label:null===(o=(0,h.X)(u.xh.billingAddressAddress2))||void 0===o||null===(i=o.placeholder)||void 0===i?void 0:i.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:y[u.xh.billingAddressAddress2],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,qe(qe({},(0,h.X)(u.xh.billingAddressCity)),{},{label:null===(a=(0,h.X)(u.xh.billingAddressCity))||void 0===a||null===(s=a.placeholder)||void 0===s?void 0:s.replace("*",""),placeholder:void 0,value:y[u.xh.billingAddressCity],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,qe(qe({},(0,h.X)(u.xh.billingAddressZip)),{},{label:null===(l=(0,h.X)(u.xh.billingAddressZip))||void 0===l||null===(d=l.placeholder)||void 0===d?void 0:d.replace("*",""),placeholder:void 0,value:y[u.xh.billingAddressZip],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,qe(qe({},(0,h.X)(u.xh.billingAddressState)),{},{label:null===(p=(0,h.X)(u.xh.billingAddressState))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),placeholder:null===(m=(0,h.X)(u.xh.billingAddressState))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),value:y[u.xh.billingAddressState],validated:y.validated,onChange:Z,hideDivider:!0}))})]})]})]})},Qe=(0,o.ZP)(l.Z).withConfig({displayName:"PaymentForm__StyledPaymentForm",componentId:"sc-7icpst-0"})([".page-title{padding-top:8px;margin-bottom:24px;font-family:'InterSemiBold';font-size:26px;line-height:calc(1.42857rem * (26 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'InterMedium';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}button{width:100%;margin-bottom:1rem;}.card-providers{position:absolute;top:calc(18.56px + 5.5px);right:calc(15px + 4px);img{max-height:24px !important;margin-top:0 !important;margin-left:2px;margin-right:2px;width:auto;}&.mobile{display:none;}}.guarantee-logo{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-bottom:32px;.stamp-container{margin-top:24px;img{height:140px;}}}.guarantee-disclaimer{padding-left:15%;padding-right:15%;font-family:'InterRegular';font-size:14px;line-height:24px;color:#1B3858;text-align:center;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{.card-providers{img{max-height:34px;margin-top:9px;}}}@media ","{padding-bottom:42px;.card-providers{top:-7px;right:15px;img{max-height:24px !important;&:last-child{margin-right:0;}}&.desktop{display:none;}}.guarantee-logo{padding-left:5%;padding-right:5%;.logo-container{display:flex;flex-wrap:wrap;justify-content:center;width:100%;img{margin-top:8px;margin-bottom:8px;}}}.guarantee-disclaimer{padding-left:0;padding-right:0;}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.laptopL}),(function(e){return e.theme.devices.tablet}));var Ke=function(e){var n,t=e.error,o=e.values,i=void 0===o?{}:o,a=e.onChange,s=e.onSubmit,l=(0,he.un)(),u=(l||{}).meta,h=(0,r.useMemo)((function(){if(null!==i.cardYear&&null!==i.cardMonth){var e=new Date;return e.setFullYear("20"+i.cardYear,i.cardMonth,1),e<new Date}return!0}),[i]),p=(0,r.useCallback)((function(e){var n=!0,t=function(t){var r={threeDSDetails:t};tds.verifyReject=null,tds.verifyResolve=null,tds.verifyListener=null,tds.threeDsTransactionId=null,n&&(n=!1,a&&a({target:{name:"dLoading",value:!1}}),"Y"===t.status||"A"===t.status?(t.protocolVersion.startsWith("2")?(r.cavv=null===t||void 0===t?void 0:t.authenticationValue,r.xid=null===t||void 0===t?void 0:t.dsTransId,r.acsTransId=null===t||void 0===t?void 0:t.acsTransId,r.eci=null===t||void 0===t?void 0:t.eci,r.threeDsStatus=null===t||void 0===t?void 0:t.status):(r.cavv=null===t||void 0===t?void 0:t.cavv,r.xid=null===t||void 0===t?void 0:t.xid,r.eci=null===t||void 0===t?void 0:t.eci),s&&s(e,r)):s&&s(e,r))},r=t,o=t;if(!document.getElementById("konnektivjs3")){var l=document.createElement("script");
1l.id="konnektivjs3",document.body.appendChild(l),l.appendChild(document.createTextNode('var tds = new ThreeDS("kform", "e03c697d935a4c7d818958ffb1384131", null, { autoSubmit: false, verbose: false, timeout: "10"});'))}if(tds.verify(r,o,{amount:i.currentPrice}),tds.errors.length>0){var d=tds.errors[0];console.log("Error: "+d)}}),[i,a,s]),x=(0,r.useCallback)((function(e){if(!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{window.scrollTo(0,0);var t={};if(i.is3DS&&"true"===String("false")){a&&a({target:{name:"dLoading",value:!0}});var r=i.cardNumber.charAt(0);"3"!==r&&"6"!==r&&"0000000000000000"!==i.cardNumber?p(e):(t.threeDSDetails="3,6 or test card",a&&a({target:{name:"dLoading",value:!1}}),s&&s(e,t))}else t.threeDSDetails="3ds off",s&&s(e,t)}a&&a({target:{name:"validated",value:!0}})}),[i,a,s,p]),m=(0,r.useCallback)((function(e){e.preventDefault(),a&&a({target:{name:"beforeSubmit",value:!1}});var n=document.querySelector(".is-invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"}),i.isRefresh?i.isRefresh&&0!==i.lastName.length&&0!==i.firstName.length&&!h&&x(e):"undefined"!==typeof u.erroredInputs.cardNumber&&"0000000000000000"!==i.cardNumber||"undefined"!==typeof u.erroredInputs.cvc||0===i.lastName.length||0===i.firstName.length||h||x(e)}),[a,x,u,h,i]);return(0,C.jsxs)(Qe,{id:"kform",noValidate:!0,validated:i.validated,onSubmit:m,children:[(0,C.jsx)(Le,{values:i,onChange:a}),(0,C.jsx)(Ge,{isCardExpired:h,paymentInputs:l,values:i,onChange:a}),i.is3DS&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("input",{type:"hidden",name:"paayAmount",id:"paayAmount",value:i.currentPrice||"","data-threeds":"amount"}),(0,C.jsx)("input",{type:"hidden",name:"x_transaction_id",value:null===(n=i.currentOrder)||void 0===n?void 0:n.crmOrderId,"data-threeds":"id"})]}),t&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pe.Z,{message:(0,C.jsx)("span",{children:t.message})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Submit Application"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})},He=(0,o.ZP)(l.Z).withConfig({displayName:"OrderStatusRequestForm__StyledOrderStatusRequestForm",componentId:"sc-1fv6r2c-0"})(["padding-bottom:62px;.inputs-block-title{margin-bottom:16px;padding-left:24px;padding-right:24px;font-family:'InterSemiBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;text-transform:capitalize;color:#424242;span{span{color:#C61F0C;}}}.input-title{margin-bottom:4px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.inputs-block-divider{margin-bottom:46px;}.top-disclaimer{font-family:'InterRegular';text-align:center;color:#424242;span{display:block;margin-top:16px;margin-bottom:16px;}}.bottom-disclaimer{font-family:'InterRegular';font-size:10px;line-height:calc(1.42857rem * (10 / 16));text-align:center;color:#424242;opacity:0.5;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#424242",.5),(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet}));var Je=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onSubmit;return(0,C.jsxs)(He,{noValidate:!0,validated:t.validated,onSubmit:o,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Enter order number used in your application"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Please enter your order number to check the status of your application or receive your EIN/Tax ID Number"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"orderNumber",required:!0,label:"Order Number",placeholder:"Enter Order Number",defaultInvalidMessage:"Please enter order number",value:t.orderNumber,onChange:r})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})},en=t(8153);function nn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function tn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?nn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var rn=(0,o.ZP)(l.Z).withConfig({displayName:"OrderStatusResultForm__StyledOrderStatusResultForm",componentId:"sc-1r5l5y8-0"})(["padding-bottom:62px;.inputs-block-title{margin-bottom:16px;padding-left:24px;padding-right:24px;font-family:'InterSemiBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;text-transform:capitalize;color:#424242;span{span{color:#C61F0C;}}}.input-title{margin-bottom:4px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.inputs-block-divider{margin-bottom:46px;}.top-disclaimer{font-family:'InterRegular';text-align:center;color:#424242;span{display:block;margin-top:16px;margin-bottom:16px;}}.bottom-disclaimer{font-family:'InterRegular';font-size:10px;line-height:calc(1.42857rem * (10 / 16));text-align:center;color:#424242;opacity:0.5;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#424242",.5),(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet}));var on=function(e){var n,t,o,i,a=e.order,s=e.values,h=void 0===s?{}:s,p=(0,r.useState)(""),x=p[0],m=p[1],v=(0,r.useState)(""),g=v[0],f=v[1],j=(0,r.useState)(null),y=j[0],Z=j[1],N=(0,r.useState)(!1),w=N[0],E=N[1],S=(0,r.useState)(null),O=S[0],M=S[1],P=(0,r.useState)(null),I=P[0],k=P[1],D=(0,r.useState)(""),F=D[0],B=D[1],_=(0,r.useState)(""),X=_[0],A=_[1],z=(0,r.useState)(""),T=z[0],R=z[1],V=(0,r.useState)(""),$=V[0],Y=V[1],U=(0,r.useState)(""),W=U[0],G=U[1],Q=(0,r.useState)(""),K=Q[0],H=Q[1],J=(0,r.useState)(""),ee=J[0],ne=J[1],te=(0,r.useState)(""),re=te[0],oe=te[1],ie=(0,r.useState)(!1),se=ie[0],le=ie[1],de=(0,r.useState)(null),ce=de[0],ue=de[1],he=(0,r.useState)(null),pe=he[0],xe=he[1],me=(0,r.useState)(!1),ve=me[0],fe=me[1],je=(0,r.useState)(!1),be=je[0],ye=je[1],Ze=(0,b.D)(ve),Ce=function(e){var n=e.target,t=n.id,r=n.value;"verifying"===t?fe(r):m(r)},Ne=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!ve){ye(!1);var n=e.currentTarget,t=document.querySelector(".is-invalid");if(null!=t)t.scrollIntoView({behavior:"smooth",block:"start"});else if(!1===n.checkValidity()){e.preventDefault(),e.stopPropagation();var r=document.querySelector(".form-control:invalid");null!=r&&r.scrollIntoView({behavior:"smooth",block:"start"})}else ge().get("https://innova-labs.net:9080/orders/"+a.orderUid+"/PDF",{params:{email:x,last4:g},responseType:"arraybuffer",headers:{"Content-Type":"application/json",Accept:"application/pdf"}}).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),t=document.createElement("a");t.href=n;var r=h.orderNumber+".pdf";t.setAttribute("download",r),document.body.appendChild(t),t.click(),t.parentNode.removeChild(t)})).catch((function(e){e.response&&M(e.response.statusText)}));E(!0)}}),[a,h,x,g,ve]),we=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!ve){ye(!1);var n=e.currentTarget,t=document.querySelector(".is-invalid");if(null!=t)t.scrollIntoView({behavior:"smooth",block:"start"});else if(!1===n.checkValidity()){e.preventDefault(),e.stopPropagation();var r=document.querySelector(".form-control:invalid");null!=r&&r.scrollIntoView({behavior:"smooth",block:"start"}),E(!0)}else E(!0),ge().post("https://innova-labs.net:9080/orders/"+h.orderNumber+"/token",{},{params:{email:x},headers:{Accept:"application/json"}}).then((function(e){Z(e.data.token),E(!1),ge().get("https://innova-labs.net:9080/orders/"+a.orderUid,{headers:{Authorization:"Bearer "+e.data.token}}).then((function(e){if(xe(e.data),e.data.products&&e.data.products.length>=1){var n=e.data.products.length-1;if(e.data.order.productCode)"EIN_LLC"===e.data.order.productCode.code||"EIN_SoleProp"===e.data.order.productCode.code?(H(e.data.products[n].owner.lastName),Y(e.data.products[n].owner.firstName),G(e.data.products[n].owner.middleName),ne(e.data.products[n].owner.suffixName),oe(e.data.products[n].owner.ssn)):"EIN_CCorp"===e.data.order.productC
1ode.code||"EIN_PSC"===e.data.order.productCode.code||"EIN_SCorp"===e.data.order.productCode.code?(H(e.data.products[n].principalOfficer.lastName),Y(e.data.products[n].principalOfficer.firstName),G(e.data.products[n].principalOfficer.middleName),ne(e.data.products[n].principalOfficer.suffixName),oe(e.data.products[n].principalOfficer.ssn)):"EIN_Church"===e.data.order.productCode.code||"EIN_NonProfit"===e.data.order.productCode.code?(H(e.data.products[n].responsibleParty.lastName),Y(e.data.products[n].responsibleParty.firstName),G(e.data.products[n].responsibleParty.middleName),ne(e.data.products[n].responsibleParty.suffixName),oe(e.data.products[n].responsibleParty.ssn)):"EIN_Estate"===e.data.order.productCode.code?(H(e.data.products[n].representative.lastName),Y(e.data.products[n].representative.firstName),G(e.data.products[n].representative.middleName),ne(e.data.products[n].representative.suffixName),oe(e.data.products[n].representative.ssn)):"EIN_Partnership"===e.data.order.productCode.code?(H(e.data.products[n].primaryPartner.lastName),Y(e.data.products[n].primaryPartner.firstName),G(e.data.products[n].primaryPartner.middleName),ne(e.data.products[n].primaryPartner.suffixName),oe(e.data.products[n].primaryPartner.ssn)):"EIN_Trust"===e.data.order.productCode.code&&(H(e.data.products[n].trustee.lastName),Y(e.data.products[n].trustee.firstName),G(e.data.products[n].trustee.middleName),ne(e.data.products[n].trustee.suffixName),oe(e.data.products[n].trustee.ssn));else{var t=e.data.order.productCodes.length-1;"EIN_LLC"===e.data.order.productCodes[t].code||"EIN_SoleProp"===e.data.order.productCodes[t].code?(H(e.data.products[n].owner.lastName),Y(e.data.products[n].owner.firstName),G(e.data.products[n].owner.middleName),ne(e.data.products[n].owner.suffixName),oe(e.data.products[n].owner.ssn)):"EIN_CCorp"===e.data.order.productCodes[t].code||"EIN_PSC"===e.data.order.productCodes[t].code||"EIN_SCorp"===e.data.order.productCodes[t].code?(H(e.data.products[n].principalOfficer.lastName),Y(e.data.products[n].principalOfficer.firstName),G(e.data.products[n].principalOfficer.middleName),ne(e.data.products[n].principalOfficer.suffixName),oe(e.data.products[n].principalOfficer.ssn)):"EIN_Church"===e.data.order.productCodes[t].code||"EIN_NonProfit"===e.data.order.productCodes[t].code?(H(e.data.products[n].responsibleParty.lastName),Y(e.data.products[n].responsibleParty.firstName),G(e.data.products[n].responsibleParty.middleName),ne(e.data.products[n].responsibleParty.suffixName),oe(e.data.products[n].responsibleParty.ssn)):"EIN_Estate"===e.data.order.productCodes[t].code?(H(e.data.products[n].representative.lastName),Y(e.data.products[n].representative.firstName),G(e.data.products[n].representative.middleName),ne(e.data.products[n].representative.suffixName),oe(e.data.products[n].representative.ssn)):"EIN_Partnership"===e.data.order.productCodes[t].code?(H(e.data.products[n].primaryPartner.lastName),Y(e.data.products[n].primaryPartner.firstName),G(e.data.products[n].primaryPartner.middleName),ne(e.data.products[n].primaryPartner.suffixName),oe(e.data.products[n].primaryPartner.ssn)):"EIN_Trust"===e.data.order.productCodes[t].code&&(H(e.data.products[n].trustee.lastName),Y(e.data.products[n].trustee.firstName),G(e.data.products[n].trustee.middleName),ne(e.data.products[n].trustee.suffixName),oe(e.data.products[n].trustee.ssn))}k(e.data.products[n])}})).catch((function(e){console.log(e),M(e.response.statusText)}))})).catch((function(e){M(e.response.statusText)}))}}),[a,h,x,ve]),Ee=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{var t=tn({},pe);if(t.products&&t.products.length>=1){var r=t.products.length-1;t.products[r].legalName=F,""!==X||""!==T?(t.products[r].alternateLegalNames=[],""!==X&&t.products[r].alternateLegalNames.push(X),""!==T&&t.products[r].alternateLegalNames.push(T)):t.products[r].alternateLegalNames&&delete t.products[r].alternateLegalNames}ge().put("https://innova-labs.net:9080/orders/"+a.orderUid,t,{crossdomain:!0,headers:{"Content-Type":"application/json;charset=UTF-8","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){if(200===e.status)if(ce){var n=new FormData;n.append("file",ce),ge().post("https://innova-labs.net:9080/orders/"+a.orderUid+"/file?fileType=articles_of_incorporation",n,{crossdomain:!0,headers:{"Content-Type":"multipart/form-data","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){200===e.status&&le(!0)})).catch((function(e){M(e.message)}))}else le(!0)})).catch((function(e){console.log(e),M(e.message)}))}E(!0)}),[a,pe,F,X,T,y,ce]),Se=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{var t=tn({},pe);if(t.products&&t.products.length>=1){var r=t.products.length-1;
1if(t.order.productCode)"EIN_LLC"===t.order.productCode.code||"EIN_SoleProp"===t.order.productCode.code?(t.products[r].owner.lastName=K,t.products[r].owner.firstName=$,t.products[r].owner.middleName=W,t.products[r].owner.suffixName=ee,t.products[r].owner.ssn=re):"EIN_CCorp"===t.order.productCode.code||"EIN_PSC"===t.order.productCode.code||"EIN_SCorp"===t.order.productCode.code?(t.products[r].principalOfficer.lastName=K,t.products[r].principalOfficer.firstName=$,t.products[r].principalOfficer.middleName=W,t.products[r].principalOfficer.suffixName=ee,t.products[r].principalOfficer.ssn=re):"EIN_Church"===t.order.productCode.code||"EIN_NonProfit"===t.order.productCode.code?(t.products[r].responsibleParty.lastName=K,t.products[r].responsibleParty.firstName=$,t.products[r].responsibleParty.middleName=W,t.products[r].responsibleParty.suffixName=ee,t.products[r].responsibleParty.ssn=re):"EIN_Estate"===t.order.productCode.code?(t.products[r].representative.lastName=K,t.products[r].representative.firstName=$,t.products[r].representative.middleName=W,t.products[r].representative.suffixName=ee,t.products[r].representative.ssn=re):"EIN_Partnership"===t.order.productCode.code?(t.products[r].primaryPartner.lastName=K,t.products[r].primaryPartner.firstName=$,t.products[r].primaryPartner.middleName=W,t.products[r].primaryPartner.suffixName=ee,t.products[r].primaryPartner.ssn=re):"EIN_Trust"===t.order.productCode.code&&(t.products[r].trustee.lastName=K,t.products[r].trustee.firstName=$,t.products[r].trustee.middleName=W,t.products[r].trustee.suffixName=ee,t.products[r].trustee.ssn=re);else{var o=t.order.productCodes.length-1;"EIN_LLC"===t.order.productCodes[o].code||"EIN_SoleProp"===t.order.productCodes[o].code?(t.products[r].owner.lastName=K,t.products[r].owner.firstName=$,t.products[r].owner.middleName=W,t.products[r].owner.suffixName=ee,t.products[r].owner.ssn=re):"EIN_CCorp"===t.order.productCodes[o].code||"EIN_PSC"===t.order.productCodes[o].code||"EIN_SCorp"===t.order.productCodes[o].code?(t.products[r].principalOfficer.lastName=K,t.products[r].principalOfficer.firstName=$,t.products[r].principalOfficer.middleName=W,t.products[r].principalOfficer.suffixName=ee,t.products[r].principalOfficer.ssn=re):"EIN_Church"===t.order.productCodes[o].code||"EIN_NonProfit"===t.order.productCodes[o].code?(t.products[r].responsibleParty.lastName=K,t.products[r].responsibleParty.firstName=$,t.products[r].responsibleParty.middleName=W,t.products[r].responsibleParty.suffixName=ee,t.products[r].responsibleParty.ssn=re):"EIN_Estate"===t.order.productCodes[o].code?(t.products[r].representative.lastName=K,t.products[r].representative.firstName=$,t.products[r].representative.middleName=W,t.products[r].representative.suffixName=ee,t.products[r].representative.ssn=re):"EIN_Partnership"===t.order.productCodes[o].code?(t.products[r].primaryPartner.lastName=K,t.products[r].primaryPartner.firstName=$,t.products[r].primaryPartner.middleName=W,t.products[r].primaryPartner.suffixName=ee,t.products[r].primaryPartner.ssn=re):"EIN_Trust"===t.order.productCodes[o].code&&(t.products[r].trustee.lastName=K,t.products[r].trustee.firstName=$,t.products[r].trustee.middleName=W,t.products[r].trustee.suffixName=ee,t.products[r].trustee.ssn=re)}}ge().put("https://innova-labs.net:9080/orders/"+a.orderUid,t,{crossdomain:!0,headers:{"Content-Type":"application/json;charset=UTF-8","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){200===e.status&&le(!0)})).catch((function(e){M(e.message)}))}E(!0)}),[a,pe,y,$,W,K,ee,re]),Oe=(0,r.useCallback)((function(e){return"Completed"===a.processingStatus?Ne(e):("Error"!==a.processingStatus||I||"Error101NameConflict"!==a.processingError)&&("Error"!==a.processingStatus||I||"MismatchError"!==a.processingError||1!==a.productCodes.length)?"Error"===a.processingStatus&&I&&"MismatchError"===a.processingError&&1===a.productCodes.length?Se(e):"Error"===a.processingStatus&&I&&"EIN_LLC"===I.code.code&&"Error101NameConflict"===a.processingError?Ee(e):void 0:we(e)}),[a,I,Ne,we,Se,Ee]);if((0,r.useEffect)((function(){null!==I&&void 0!==I&&I.legalName&&B((null===I||void 0===I?void 0:I.legalName)||""),null!==I&&void 0!==I&&I.alternateLegalNames&&null!==I&&void 0!==I&&I.alternateLegalNames[0]&&A((null===I||void 0===I?void 0:I.alternateLegalNames[0])||""),null!==I&&void 0!==I&&I.alternateLegalNames&&null!==I&&void 0!==I&&I.alternateLegalNames[1]&&R((null===I||void 0===I?void 0:I.alternateLegalNames[1])||"")}),[I]),(0,r.useEffect)((function(){var e,n,t;Ze&&!ve&&be&&(null===(e=document.getElementById("OrderStatusSubmitButton1"))||void 0===e||e.click(),null===(n=document.getElementById("OrderStatusSubmitButton2"))||void 0===n||n.click(),null===(t=document.getElementById("OrderStatusSubmitButton3"))||void 0===t||t.click())}),[ve,Ze,be]),se)return(0,C.jsx)(rn,{children:(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Thank You"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your Order is updated"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})});
1var Me=new Date,Pe=new Date;return Me.setDate(Pe.getDate()+1),(0,C.jsxs)(rn,{id:"kform",noValidate:!0,validated:w,onSubmit:Oe,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:1===a.productCodes.length?a.productCodes[0].customerName:a.productCodes[1].customerName})})})]}),"Completed"===a.processingStatus&&(0,C.jsxs)(C.Fragment,{children:[2===a.productCodes.length&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your LLC Inc. was generated and sent to the e-mail address on file."})})})}),2!==a.productCodes.length&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your EIN/Tax ID was generated and sent to the e-mail address on file. To download a copy here, please enter your e-mail address and last 4 digits of the Responsible Party's Social Security Number below."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(c.Z,{xs:12,md:8,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,{id:"last4SSN",required:!0,label:"Last 4 of SSN",placeholder:"XXXX",pattern:".{4,}",mask:"9999",defaultInvalidMessage:"Please specify last 4 digits of the Responsible Party's Social Security Number",value:g,onChange:function(e){return f(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton1",children:"Download"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]}),"Completed_SS4"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order has been completed. We have received your signed SS-4 form and have submitted it directly to the IRS. You can expect to receive your EIN from the IRS by mail shortly."})})})}),"RAaddressAdded"===a.processingStatus&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your Resident Agent has been assigned. Your Address to use for official communications with the State is:"})})}),a.productResult&&(0,C.jsxs)(c.Z,{xs:12,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"Address:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(n=a.productResult)||void 0===n?void 0:n.address1})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"City:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(t=a.productResult)||void 0===t?void 0:t.city})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"State / Province:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:en.ib[null===(o=a.productResult)||void 0===o?void 0:o.state]})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"ZIP / Postal Code:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(i=a.productResult)||void 0===i?void 0:i.zip})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]})]})]}),"Rejected"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order was rejected due to the Secretary of State needing an alternative name, you may still refile with the updated name."})})})}),"Abandoned"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your filing has been abandoned. For questions please contact customer service."})})})}),"Cancelled"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order was cancelled at your request. A full refund was processed to the card on file. Please allow 3-5 business days for that refund to appear on your account."})})})}),"Processing"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Your submission is being reviewed by our Specialists and should be completed shortly. You will receive an e-mail with your official EIN/Tax ID documentation when complete.",(0,C.jsx)("br",{}),"Estimated Completion Time:\xa0","STANDARD"===a.processingOption&&(0,C.jsxs)(C.Fragment,{children:["(",Me.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),"\xa0 12:00 PM EST)"]}),"RUSH"===a.processingOption&&(0,C.jsxs)(C.Fragment,{children:["(",Pe.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),"\xa0 8:00 PM EST)"]})]})})})}),"Error"===a.processingStatus&&!I&&"Error101NameConflict"!==a.processingError&&("MismatchError"!==a.processingError||"MismatchError"===a.processingError&&2===a.productC
1odes.length)&&"SS4"!==a.processingError&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"Additional details are required for your submission. You will be contacted by e-mail to provide these details. Please keep a close watch for this e-mail."]})})})}),("Error"===a.processingStatus&&!I&&"SS4"===a.processingError||"AttemptedNeedsInfo"===a.processingStatus)&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"Your submission requires additional documentation which we will submit to the IRS for you. You will receive a Docusign in your e-mail to authorize this submission. Please keep a close watch for this e-mail."]})})})}),"Error"===a.processingStatus&&!I&&"Error101NameConflict"===a.processingError&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton2",children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&!I&&"MismatchError"===a.processingError&&1===a.productCodes.length&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton3",children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"MismatchError"===a.processingError&&1===a.productC
1odes.length&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"We have encountered an issue verifying the Responsible Party\u2019s identifying information. In your submission you provided:"})})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"firstName",required:!0,label:"First Name",placeholder:"First Name",pattern:"^[ a-zA-Z&\\\\-]+$",defaultInvalidMessage:"Please provide a valid name",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:$,onChange:function(e){return Y(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"middleName",label:"Middle Name",placeholder:"Middle Name (optional)",pattern:"^[ a-zA-Z&\\\\-]+$",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:W,onChange:function(e){return G(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"lastName",required:!0,label:"Last Name",placeholder:"Last Name",pattern:"^[ a-zA-Z&\\\\-]+$",defaultInvalidMessage:"Please provide last name",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:K,onChange:function(e){return H(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(Re,{id:"responsiblePartySuffixName",label:"Suffix",placeholder:"Please select",validated:w,options:u.jJ,value:ee,onChange:function(e){return ne(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,{id:"SSN",hint:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("strong",{children:"Why do we need this?"}),(0,C.jsx)("br",{}),"Your valid Social Security Number is needed by the IRS to obtain an EIN. Rest assured, all Social Security Numbers are stored in a fully protected fashion."]}),required:!0,label:"Social Security Number",placeholder:"123-45-6789",pattern:".{11,}",mask:"999-99-9999",defaultInvalidMessage:"Please provide a valid Social Security Number Ex: 123-45-6789",value:re,onChange:function(e){return oe(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"bottom-disclaimer",children:(0,C.jsx)("span",{children:"Our validation has shown that the provided Name does not match the Social Security Number provided. Please correct the errors in these fields and hit Submit Updated Info. Please note, this must correspond to the Name and Social Security Number on file with the Social Security Administration and IRS. If you recently changed your name due to marriage, separation, or other life event, please only submit the official name on file."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Update Info"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"Error101NameConflict"===a.processingError&&"EIN_LLC"===I.code.code&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["We have encountered an issue with the LLC name provided in your submission. This could mean that another LLC in another state has a similar name. Please verify that the name provided below is accurate, and was the name submitted to the state in which you registered the LLC.",(0,C.jsx)("br",{}),"If you need to make a correction, edit the name below. If the name is correct, we ask that you please provide two alternate names, which could be very slight variations of the provided LLC name."]})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName",required:!0,label:"LLC Name",placeholder:"LLC Name",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:F,onChange:function(e){return B(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName2",label:"Alternate LLC Name",placeholder:"Alternate LLC Name",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:X,onChange:function(e){return A(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName3",label:"Alternate LLC Name 2",placeholder:"Alternate LLC Name 2",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:T,onChange:function(e){return R(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"To aid with this, you may also attach your Articles of Incorporation below:"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(l.Z.File,{id:"formcheck-api-regular",children:(0,C.jsx)(l.Z.File.Input,{className:"articles-input",onChange:function(e){return ue(e.target.files[0])}})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Update Info"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"Error101NameConflict"===a.processingError&&"EIN_LLC"!==I.code.code&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})})})]})};var an=function(e){var n=e.order,t=void 0===n?null:n,r=e.values,o=void 0===r?{}
1:r,i=e.onChange,a=e.onSubmit;return t&&t[0]?t.map((function(e){return(0,C.jsx)(on,{order:e,values:o},e.orderUid)})):(0,C.jsx)(Je,{values:o,onChange:i,onSubmit:a})},sn=t(1664),ln=t.n(sn),dn=t(7),cn=t(4486),un=t(9100),hn=t(516),pn=new Map([["/products/EINSoleProp","Sole Proprietor / Individual"],["/products/EINPartnership","Partnership"],["/products/EINCCorp","Corporation"],["/products/EINSCorp","S-Corporation"],["/products/EINEstate","Estate of Deceased Individual"],["/products/EINNonProfit","Non-Profit Organization"],["/products/EINLLC","Limited Liability Company"],["/products/EINTrust","Trust"],["/products/EINPSC","Personal Service Corporation"],["/products/EINChurch","Church Organization"]]),xn=o.ZP.div.withConfig({displayName:"ProductDropdown__StyledProductDropdown",componentId:"sc-10dojy4-0"})(["display:flex;gap:16px;flex-direction:row;font-family:'InterRegular';button{padding:0;border:none !important;box-shadow:none !important;background:#FFFFFF !important;font-family:'InterSemiBold';color:#0a578b !important;text-transform:uppercase;text-decoration:underline !important;text-align:left;margin-bottom:0;&:before{display:inline-block;padding-right:7px;content:\"\\00BB\";line-height:0px;font-size:26px;border:none;}&:after{display:none;}}.dropdown-menu{padding-top:8px;padding-bottom:8px;background-color:#f3f3f3;.dropdown-item{padding:0;a{padding:.25rem 1.5rem;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#212529;text-transform:uppercase;text-shadow:none;text-decoration:none;display:block;}&:hover{background-color:#0a578b;a{color:#ffffff;}}}}@media ","{flex-direction:column;gap:0px;}"],(function(e){return e.theme.devices.tablet}));var mn=function(){var e=(0,me.useRouter)(),n=(0,r.useMemo)((function(){return pn.get(null===e||void 0===e?void 0:e.pathname)}),[e]);return(0,C.jsxs)(xn,{children:["Need to change entity type?",(0,C.jsxs)(dn.Z,{children:[(0,C.jsx)(cn.Z,{id:"product-dropdown",children:n}),(0,C.jsx)(un.Z,{children:Array.from(pn.keys()).map((function(e){return(0,C.jsx)(hn.Z,{children:(0,C.jsx)(ln(),{href:"".concat(e),children:(0,C.jsx)("a",{children:pn.get(e)})})},e)}))})]})]})};function vn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function gn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?vn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var fn=o.ZP.div.withConfig({displayName:"SoleProprietorInfoBlock__StyledContainer",componentId:"sc-1ukr3ta-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),jn=(0,o.ZP)(d.Z).withConfig({displayName:"SoleProprietorInfoBlock__StyledRow",componentId:"sc-1ukr3ta-1"})(["padding:16px;"]);var bn=function(e){var n,t,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(fn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Sole Proprietor Information"})}),(0,C.jsx)(jn,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,gn(gn({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:o[u.xh.dbaname],onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})})]})};function yn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Zn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?yn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yn(Object(t)).forEac
1h((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Cn=m()().publicRuntimeConfig,Nn=o.ZP.div.withConfig({displayName:"OwnerInfoBlock__StyledContainer",componentId:"sc-92la0j-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),wn=(0,o.ZP)(d.Z).withConfig({displayName:"OwnerInfoBlock__StyledRow",componentId:"sc-92la0j-1"})(["padding:16px;"]),En=o.ZP.img.withConfig({displayName:"OwnerInfoBlock__StyledImg",componentId:"sc-92la0j-2"})(["height:28px;width:28px;"]);var Sn=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=e.onMouseEnter,w=e.onMouseLeave;return(0,C.jsxs)(Nn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Owner Information"})}),(0,C.jsxs)(wn,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Zn(Zn({},(0,h.X)(u.xh.ownerTitle)),{},{label:null===(n=(0,h.X)(u.xh.ownerTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.ownerTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:y[u.xh.ownerTitle],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Zn(Zn({},(0,h.X)(u.xh.ownerFirstName)),{},{label:null===(i=(0,h.X)(u.xh.ownerFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:y[u.xh.ownerFirstName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Zn(Zn({},(0,h.X)(u.xh.ownerMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.ownerMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:y[u.xh.ownerMiddleName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Zn(Zn({},(0,h.X)(u.xh.ownerLastName)),{},{label:null===(d=(0,h.X)(u.xh.ownerLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:y[u.xh.ownerLastName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Zn(Zn({},(0,h.X)(u.xh.ownerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.ownerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.ownerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:y[u.xh.ownerSuffixName],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Zn(Zn({},(0,h.X)(u.xh.ownerSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:"123-45-6789",suffix:(0,C.jsx)(En,{src:"".concat(Cn.basePath,"/images/V2/V2-federal/lock-icon.png"),alt:""}),value:y[u.xh.ownerSSN],onChange:Z,onMouseEnter:N,onMouseLeave:w,hideDivider:!0}))})]})]})},On=t(29),Mn=t(7794),Pn=t.n(Mn);function In(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function kn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?In(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):In(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ln=o.ZP.div.withConfig({displayName:"ActivityBlock__StyledContainer",componentId:"sc-1o50izr-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Dn=(0,o.ZP)(d.Z).withConfig({displayName:"ActivityBlock__StyledRow",componentId:"sc-1o50izr-1"})(["padding:16px;"]);function Fn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){return{value:e.code,title:e.label}}))}function Bn(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:4;if(t.labelForDescriptionField)return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:t.labelForDescriptionField})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({}
1,(0,h.X)(u.xh.productDescription)),{},{label:null===(e=(0,h.X)(u.xh.productDescription))||void 0===e||null===(n=e.placeholder)||void 0===n?void 0:n.replace("*",""),defaultInvalidMessage:t.labelForDescriptionField,value:r[u.xh.productDescription],onChange:a,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))})]});if(t.extraQuestion){var d,p,x,m=Array.from({length:l-s},(function(e,n){return n+s+1})).reduce((function(e,n){return e["".concat(u.xh.productExtraQuestion).concat(n)]="",e}),{productDescription:""}),v=function(e){return a&&a(e,m)},g=null===(d=t.extraQuestionOptions)||void 0===d?void 0:d.find((function(e){return e.code===r["".concat(u.xh.productExtraQuestion).concat(s)]}));return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:t.extraQuestion})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,kn(kn({},(0,h.X)(u.xh.productExtraQuestion)),{},{label:null===(p=(0,h.X)(u.xh.productExtraQuestion))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),id:"".concat(u.xh.productExtraQuestion).concat(s),options:Fn(t.extraQuestionOptions),value:r["".concat(u.xh.productExtraQuestion).concat(s)],validated:r.validated,onChange:v,onMouseEnter:o,onMouseLeave:i,hideDivider:!(null!==g&&void 0!==g&&g.labelForDescriptionField)}))}),Bn(g,r,o,i,a,s+1)]})}return null}var _n=function(e){var n,t,o,i,s,l,d,p,x,m,v,g=e.values,f=void 0===g?{}:g,j=e.onChange,b=e.onMouseEnter,y=e.onMouseLeave,Z=(0,r.useState)([]),N=Z[0],w=Z[1],E="EIN_Trust"===f.code,S="Escrow"===f[u.xh.trustType],O=(0,r.useMemo)((function(){var e="Enter the specific products/services of the business.";return"EIN_Church"===f.code&&(e="Enter the specific products/services of the Church."),"EIN_NonProfit"===f.code&&(e="Enter the specific products/services of the Non Profit."),"".concat(e," ").concat("If you own a computer repair business you could enter \u201ccomputer repair services\u201d.")}),[f]),M=(0,r.useMemo)((function(){return Fn(N)}),[N]),P=(0,r.useMemo)((function(){return N.find((function(e){return e.code===f[u.xh.activityPrimaryActivity]}))}),[f,N]),I=(0,r.useMemo)((function(){return Fn(null===P||void 0===P?void 0:P.specificProducts)}),[P]),k=(0,r.useMemo)((function(){return null===P||void 0===P?void 0:P.specificProducts.find((function(e){return e.code===f[u.xh.activitySpecificProducts]}))}),[P,f]),D=Boolean(null===P||void 0===P?void 0:P.labelForDescriptionField),F=Boolean((null===P||void 0===P||null===(n=P.specificProducts)||void 0===n?void 0:n.length)>0),B=Boolean(null===P||void 0===P?void 0:P.specificProductsLabel),_=(0,r.useCallback)((function(e){var n,t=(n={activitySpecificProducts:""},(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"1"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"2"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"3"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"4"),""),(0,a.Z)(n,"productDescription",""),n);j&&j(e,t)}),[j]),X=(0,r.useCallback)((function(e){var n,t=(n={},(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"1"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"2"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"3"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"4"),""),(0,a.Z)(n,"productDescription",""),n);j(e,t)}),[j]);return(0,r.useEffect)((function(){function e(){return(e=(0,On.Z)(Pn().mark((function e(){var n,t,r,o,i;return Pn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ge().get("https://innova-labs.net:9080/category/EIN/products/primary-activity");case 3:n=e.sent,w(n.data),e.next=22;break;case 7:return e.prev=7,e.t0=e.catch(0),e.prev=9,t=window.location.href,r=t.split("/"),o=(r[0]+"//"+r[2]).replace(/\/+$/,""),e.next=15,ge().get(o+"/crm/category/EIN/products/primary-activity");case 15:i=e.sent,w(i.data),e.next=22;break;case 19:e.prev=19,e.t1=e.catch(9),fe.Tb(new Error("Primary Activity unavailable"),{tags:{section:"products"}});case 22:case"end":return e.stop()}}),e,null,[[0,7],[9,19]])})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]),E?(0,C.jsxs)(Ln,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Activity"})}),(0,C.jsx)(Dn,{children:S&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,kn(kn({}
1,(0,h.X)(u.xh.activityReasonForApplying)),{},{label:null===(m=(0,h.X)(u.xh.activityReasonForApplying))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),value:f[u.xh.activityReasonForApplying],validated:f.validated,onChange:j,onMouseEnter:b,onMouseLeave:y,hideDivider:!0}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})})]}):(0,C.jsxs)(Ln,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Activity"})}),(0,C.jsxs)(Dn,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,kn(kn({},(0,h.X)(u.xh.activityReasonForApplying)),{},{label:null===(t=(0,h.X)(u.xh.activityReasonForApplying))||void 0===t||null===(o=t.placeholder)||void 0===o?void 0:o.replace("*",""),value:f[u.xh.activityReasonForApplying],validated:f.validated,onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,kn(kn({},(0,h.X)(u.xh.activityPrimaryActivity)),{},{label:null===(i=(0,h.X)(u.xh.activityPrimaryActivity))||void 0===i||null===(s=i.placeholder)||void 0===s?void 0:s.replace("*",""),options:M,value:f[u.xh.activityPrimaryActivity],validated:f.validated,onChange:_,onMouseEnter:b,onMouseLeave:y,hideDivider:!D&&!F}))}),D&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:P.labelForDescriptionField})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({},(0,h.X)(u.xh.productDescription)),{},{label:null===(l=(0,h.X)(u.xh.productDescription))||void 0===l||null===(d=l.placeholder)||void 0===d?void 0:d.replace("*",""),defaultInvalidMessage:P.labelForDescriptionField,value:f[u.xh.productDescription],onChange:j,onMouseEnter:b,onMouseLeave:y,hideDivider:!f[u.xh.productDescription]}))})]}),F&&(0,C.jsxs)(C.Fragment,{children:[B&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:P.specificProductsLabel})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,kn(kn({},(0,h.X)(u.xh.activitySpecificProducts)),{},{label:null===(p=(0,h.X)(u.xh.activitySpecificProducts))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),hint:O,options:I,value:f[u.xh.activitySpecificProducts],validated:f.validated,onChange:X,onMouseEnter:b,onMouseLeave:y,hideDivider:!f[u.xh.activitySpecificProducts]}))})]}),Bn(k,f,b,y,j)]})]})};function Xn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function An(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Xn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Xn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var zn=function(){var e=(new Date).getFullYear()-1900;return Array.from(new Array(e+2),(function(e,n){return{value:1900+n,title:"".concat(1900+n)}}))},Tn=o.ZP.div.withConfig({displayName:"GeneralQuestionsBlock__StyledContainer",componentId:"sc-1fsjxkn-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Rn=(0,o.ZP)(d.Z).withConfig({displayName:"GeneralQuestionsBlock__StyledRow",componentId:"sc-1fsjxkn-1"})(["padding:16px;"]);var Vn=function(e){var n=e.values,t=void 0===n?{}:n,o=e.onChange,i=e.onMouseEnter,a=e.onMouseLeave,s=["EIN_SoleProp","EIN_LLC","EIN_CCorp","EIN_SCorp"].includes(null===t||void 0===t?void 0:t.code),l="EIN_Trust"!==(null===t||void 0===t?void 0:t.code),d="true"===t[u.xh.questionsAppliedBefore],p="true"===t[u.xh.questionsHire],x="true"===t[u.xh.payLessThan4k],m="EIN_Partnership"!==(null===t||void 0===t?void 0:t.code)||"EIN_PSC"!==(null===t||void 0===t?void 0:t.code),v=(0,r.useMemo)((function(){return t[u.xh.numberOfAgricultureEmployees]+t[u.xh.numberOfHouseholdeEmployees]+t[u.xh.numberOfOtherEmployees]<1}),[t]);return(0,C.jsxs)(Tn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"General questions"})}),(0,C.jsxs)(Rn,{children:[s&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({}
1,(0,h.X)(u.xh.acceptCreditCardPayments)),{},{value:t[u.xh.acceptCreditCardPayments],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.payEmployeesViaPayroll)),{},{value:t[u.xh.payEmployeesViaPayroll],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),l&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.questionsHighway)),{},{value:t[u.xh.questionsHighway],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.questionsGambling)),{},{value:t[u.xh.questionsGambling],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.questionsATF)),{},{value:t[u.xh.questionsATF],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.questionsExcise)),{},{value:t[u.xh.questionsExcise],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.questionsAppliedBefore)),{},{value:t[u.xh.questionsAppliedBefore],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),d&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,An(An({},(0,h.X)(u.xh.previousEINNumberFirst2)),{},{value:t[u.xh.previousEINNumberFirst2],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,An(An({},(0,h.X)(u.xh.previousEINNumberLast7)),{},{value:t[u.xh.previousEINNumberLast7],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.questionsHire)),{},{value:t[u.xh.questionsHire],onChange:o,onMouseEnter:i,onMouseLeave:a,hideDivider:!p}))}),p&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.payLessThan4k)),{},{value:t[u.xh.payLessThan4k],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),x&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.annualTaxes)),{},{value:t[u.xh.annualTaxes],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,An(An({},(0,h.X)(u.xh.numberOfAgricultureEmployees)),{},{isInvalid:v,value:t[u.xh.numberOfAgricultureEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),m&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,An(An({},(0,h.X)(u.xh.numberOfHouseholdeEmployees)),{},{isInvalid:v,value:t[u.xh.numberOfHouseholdeEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,An(An({},(0,h.X)(u.xh.numberOfOtherEmployees)),{},{isInvalid:v,value:t[u.xh.numberOfOtherEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,An(An({},(0,h.X)(u.xh.firstDateWagesMonth)),{},{value:t[u.xh.firstDateWagesMonth],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,An(An({},(0,h.X)(u.xh.firstDateWagesDay)),{},{value:t[u.xh.firstDateWagesDay],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,An(An({},(0,h.X)(u.xh.firstDateWagesYear)),{},{options:zn(),value:t[u.xh.firstDateWagesYear],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a,hideDivider:!0}))})]})]})]})};function qn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function $n(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?qn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):qn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Yn=o.ZP.div.withConfig({displayName:"BusinessAddressBlock__StyledStateDesc",componentId:"sc-log953-0"})(["font-family:'InterRegular';font-style:italic;font-size:12px;margin-bottom:16px;"]),Un=o.ZP.div.withConfig({displayName:"BusinessAddressBlock__StyledContainer",componentId:"sc-log953-1"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Wn=(0,o.ZP)(d.Z).withConfig({displayName:"BusinessAddressBlock__StyledRow",componentId:"sc-log953-2"})(["padding:16px;"]);var Gn=function(e){var n,t,o,i,a,s,l,d,p,x,m,v,g,f,j,b,y,Z,N,w,E,S,O=e.prefix,M=void 0===O?"corp":O,P=e.values,I=void 0===P?{}
1:P,k=e.onChange,D=e.onMouseEnter,F=e.onMouseLeave,B="true"===I[u.xh.altAddress],_=(0,r.useMemo)((function(){var e="Business Address (PO Boxes are not authorized)";return"EIN_Estate"===I.code&&(e="Executor/Legal Personal Representative Address (PO Boxes are not authorized)"),"EIN_Trust"===I.code&&(e="Trustee Address (PO Boxes are not authorized)"),e}),[I]),X=(0,r.useMemo)((function(){var e="Please enter the physical address of the business/entity.";return"EIN_Estate"===I.code&&(e="Enter the street address of the person that will manage the Estate."),"EIN_Trust"===I.code&&(e="Please enter the physical address of the Trustee."),"EIN_Church"===I.code&&(e="Please enter the physical address of the Church."),"EIN_NonProfit"===I.code&&(e="Please enter the physical address of the Non Profit."),"".concat(e," ").concat("Business AddressNo P.O. Boxes Allowed")}),[I]),A=(0,r.useMemo)((function(){var e="Enter the county of the business/entity.";return"EIN_Estate"===I.code&&(e="Enter the county of the person that will manage the Estate."),"EIN_Trust"===I.code&&(e="Enter the county of the Trustee."),"EIN_Church"===I.code&&(e="Enter the county of the Church."),"EIN_NonProfit"===I.code&&(e="Enter the county of the Non Profit."),"".concat(e," ").concat("Do not confuse \u201ccounty\u201d with \u201ccountry\u201d.")}),[I]);return(0,C.jsxs)(Un,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:_})}),(0,C.jsxs)(Wn,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.baseAddressAddress1.replace("base",M))),{},{label:null===(n=(0,h.X)(u.xh.baseAddressAddress1.replace("base",M)))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,isCorpAddress:!0,hint:X,pattern:"(?!.*(?:[pP][oO] [bB][oO][xX]))^[ a-zA-Z0-9\\\\\\/\\-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /. PO Boxes are not acceptable.",value:I[u.xh.baseAddressAddress1.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.baseAddressAddress2.replace("base",M))),{},{label:null===(o=(0,h.X)(u.xh.baseAddressAddress2.replace("base",M)))||void 0===o||null===(i=o.placeholder)||void 0===i?void 0:i.replace("*",""),placeholder:void 0,isCorpAddress:!0,pattern:"(?!.*(?:[pP][oO] [bB][oO][xX]))^[ a-zA-Z0-9/s-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /. PO Boxes are not acceptable.",value:I[u.xh.baseAddressAddress2.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.baseAddressCity.replace("base",M))),{},{label:null===(a=(0,h.X)(u.xh.baseAddressCity.replace("base",M)))||void 0===a||null===(s=a.placeholder)||void 0===s?void 0:s.replace("*",""),placeholder:void 0,value:I[u.xh.baseAddressCity.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.baseAddressZip.replace("base",M))),{},{label:null===(l=(0,h.X)(u.xh.baseAddressZip.replace("base",M)))||void 0===l||null===(d=l.placeholder)||void 0===d?void 0:d.replace("*",""),placeholder:void 0,value:I[u.xh.baseAddressZip.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:"EIN_LLC"===I.code&&(0,en.hj)(null===I||void 0===I?void 0:I.organizedState)?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Re,$n($n({},(0,h.X)(u.xh.baseAddressState.replace("base",M))),{},{label:"State / Province",value:I[u.xh.baseAddressState.replace("base",M)],validated:I.validated,onChange:k,onMouseEnter:D,onMouseLeave:F,disabled:!0,noBottomSpace:!0})),(0,C.jsxs)(Yn,{children:["For ",en.ib[null===I||void 0===I?void 0:I.organizedState]||"this state"," filings, the physical address must be located within the state."]})]}):(0,C.jsx)(Re,$n($n({},(0,h.X)(u.xh.baseAddressState.replace("base",M))),{},{label:"State / Province",value:I[u.xh.baseAddressState.replace("base",M)],validated:I.validated,onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({}
1,(0,h.X)(u.xh.baseAddressCounty.replace("base",M))),{},{label:null===(p=(0,h.X)(u.xh.baseAddressCounty.replace("base",M)))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),placeholder:void 0,hint:A,value:I[u.xh.baseAddressCounty.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,$n($n({},(0,h.X)(u.xh.altAddress)),{},{value:I[u.xh.altAddress],onChange:k,onMouseEnter:D,onMouseLeave:F,hideDivider:!B}))}),B&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.altAddressAddress1)),{},{label:null===(m=(0,h.X)(u.xh.altAddressAddress1))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:I[u.xh.altAddressAddress1],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.altAddressAddress2)),{},{label:null===(g=(0,h.X)(u.xh.altAddressAddress2))||void 0===g||null===(f=g.placeholder)||void 0===f?void 0:f.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:I[u.xh.altAddressAddress2],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.altAddressCity)),{},{label:null===(j=(0,h.X)(u.xh.altAddressCity))||void 0===j||null===(b=j.placeholder)||void 0===b?void 0:b.replace("*",""),placeholder:void 0,value:I[u.xh.altAddressCity],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.altAddressZip)),{},{label:null===(y=(0,h.X)(u.xh.altAddressZip))||void 0===y||null===(Z=y.placeholder)||void 0===Z?void 0:Z.replace("*",""),placeholder:void 0,value:I[u.xh.altAddressZip],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,$n($n({},(0,h.X)(u.xh.altAddressState)),{},{label:null===(N=(0,h.X)(u.xh.altAddressState))||void 0===N||null===(w=N.placeholder)||void 0===w?void 0:w.replace("*",""),value:I[u.xh.altAddressState],validated:I.validated,onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.altAddressCounty)),{},{label:null===(E=(0,h.X)(u.xh.altAddressCounty))||void 0===E||null===(S=E.placeholder)||void 0===S?void 0:S.replace("*",""),placeholder:void 0,hint:A,value:I[u.xh.altAddressCounty],onChange:k,onMouseEnter:D,onMouseLeave:F,hideDivider:!0}))})]})]})]})};function Qn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Kn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Qn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Qn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Hn=function(){var e=(new Date).getFullYear()-1900;return Array.from(new Array(e+2),(function(e,n){return{value:1900+n,title:"".concat(1900+n)}}))},Jn=o.ZP.div.withConfig({displayName:"DatesBlock__StyledContainer",componentId:"sc-hy2m5u-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),et=(0,o.ZP)(d.Z).withConfig({displayName:"DatesBlock__StyledRow",componentId:"sc-hy2m5u-1"})(["padding:16px;"]);var nt=function(e){var n=e.prefix,t=void 0===n?"startDate":n,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(Jn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Dates"})}),(0,C.jsxs)(et,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(Re,Kn(Kn({},(0,h.X)(u.xh.baseDateMonth.replace("baseDate",t))),{},{value:o[u.xh.baseDateMonth.replace("baseDate",t)],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(Re,Kn(Kn({}
1,(0,h.X)(u.xh.baseDateDay.replace("baseDate",t))),{},{value:o[u.xh.baseDateDay.replace("baseDate",t)],validated:o.validated,options:(0,h.V)({year:o[u.xh.baseDateYear.replace("baseDate",t)],month:o[u.xh.baseDateMonth.replace("baseDate",t)]}),onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(Re,Kn(Kn({},(0,h.X)(u.xh.baseDateYear.replace("baseDate",t))),{},{options:Hn(),value:o[u.xh.baseDateYear.replace("baseDate",t)],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Kn(Kn({},(0,h.X)(u.xh.closingMonth)),{},{value:o[u.xh.closingMonth],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})]})]})};function tt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function rt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?tt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ot=o.ZP.div.withConfig({displayName:"CommunicationBlock__StyledContainer",componentId:"sc-1akhe5t-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),it=(0,o.ZP)(d.Z).withConfig({displayName:"CommunicationBlock__StyledRow",componentId:"sc-1akhe5t-1"})(["padding:16px;"]);var at=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onMouseEnter,i=e.onMouseLeave;return(0,C.jsxs)(ot,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Applicants Contact Information"})}),(0,C.jsxs)(it,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(q,rt(rt({},(0,h.X)(u.xh.customerPhone)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Phone Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"If any additional information is required to complete your application, we will contact you by phone and/or text message. Text message updates regarding your order and status will be provided."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),value:t[u.xh.customerPhone],onChange:r,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,rt(rt({},(0,h.X)(u.xh.customerEmail)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Email Address\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"We will Email you any important updates regarding your application."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),hint:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("strong",{children:"Recipient E-mail"}),(0,C.jsx)("br",{}),(0,C.jsx)("strong",{children:"IMPORTANT:"})," This is the e-mail where we will send the EIN Number, once processed. Make sure it is an e-mail that is checked frequently, and can receive incoming messages."]}),loading:t.verifying,value:t[u.xh.customerEmail],onChange:r,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))})]})]})},st=(m()().publicRuntimeConfig,(0,o.ZP)(l.Z.Group).withConfig({displayName:"AgreementCheckbox__StyledGroup",componentId:"sc-dozu55-0"})(["padding-left:0;padding-right:0;margin-bottom:10px;padding-bottom:24px;border-bottom:1px solid #eaeaea;",";input:checked,input:not(:checked){position:absolute;top:2px;left:0;}input:checked + label,input:not(:checked) + label{display:inline-block;position:relative;padding-left:20px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;cursor:pointer;}"],(function(e){return e.hideDivider&&(0,o.iv)(["border-bottom:none;"])}))),lt=(0,o.ZP)(l.Z.Check).withConfig({displayName:"AgreementCheckbox__StyledCheck",componentId:"sc-dozu55-1"})(["margin-right:24px;"]);var dt=function(e){var n=e.id,t=e.label,r=void 0===t?"Label":t,o=e.hideDivider;return(0,C.jsx)(st,{controlId:n,className:"custom-control-invalid",hideDivider:o,children:(0,C.jsx)(lt,{inline:!0,required:!0,type:"checkbox",name:n,label:r})})},ct=(0,o.ZP)(d.Z).withConfig({displayName:"AgreementBlock__StyledRow",componentId:"sc-51z1xy-0"})([".input-label{span{> span{color:#790000;}}}"]);var ut=function(){return(0,C.jsxs)(ct,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-label",children:(0,C.jsxs)("span",{children:["Client Agreement ",(0,C.jsx)("span",{children:"*"})]})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(dt,{id:"formAgreement",hideDivider:!0,label:(0,C.jsx)("span",{children:"By checking this box, I represent and warrant that all of the information provided above is accurate and complete. I authorize EIN Federal Tax ID to act as a \u201cThird Party Designee\u201d as described
1in the instructions to Form SS-4 to apply for and receive the Employer Identification Number from the IRS. I agree to the Privacy Policy and Terms and Conditions of service and to receive text message updates regarding my order."})})})]})},ht=(0,o.ZP)(l.Z).withConfig({displayName:"EINSolePropForm__StyledEINSolePropForm",componentId:"sc-1u4jb5z-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'InterMedium';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'InterMedium';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'InterRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var pt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(bn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Sn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(ht,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(bn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Sn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})}
1,xt=t(853);function mt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function vt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?mt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var gt=o.ZP.div.withConfig({displayName:"PartnershipInfoBlock__StyledContainer",componentId:"sc-1teyrst-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),ft=(0,o.ZP)(d.Z).withConfig({displayName:"PartnershipInfoBlock__StyledRow",componentId:"sc-1teyrst-1"})(["padding:16px;"]);var jt=function(e){var n,t,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(gt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(ft,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,vt(vt({},(0,h.X)(u.xh.legalName)),{},{label:"Name of the Partnership",defaultInvalidMessage:"Please enter the name of the partnership",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: Corp, LLC, PLLC, LC, Inc."}),pattern:"(?!.*(?:[ ][lL][cC]$))(?!.*(?:[ ][lL][lL][cC]$))(?!.*(?:[ ][pP][lL][lL][cC]$))(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))(?!.*(?:[ ][iI][nN][cC][oO][rR][pP][oO][rR][aA][tT][eE][dD]$))^[ a-zA-Z0-9&\\\\-]+$",validate:xt.hK,value:o[u.xh.legalName],onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,vt(vt({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:o[u.xh.dbaname],onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})]})]})};function bt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function yt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?bt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):bt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Zt=o.ZP.div.withConfig({displayName:"PrimaryPartnerInfoBlock__StyledContainer",componentId:"sc-6ezgvc-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Ct=(0,o.ZP)(d.Z).withConfig({displayName:"PrimaryPartnerInfoBlock__StyledRow",componentId:"sc-6ezgvc-1"})(["padding:16px;"]);var Nt=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b,y,Z=e.values,N=void 0===Z?{}:Z,w=e.onChange,E=e.onMouseEnter,S=e.onMouseLeave;return(0,C.jsxs)(Zt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Primary Partner Information"})}),(0,C.jsxs)(Ct,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,yt(yt({},(0,h.X)(u.xh.primaryPartnerTitle)),{},{label:null===(n=(0,h.X)(u.xh.primaryPartnerTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.primaryPartnerTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:N[u.xh.primaryPartnerTitle],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,yt(yt({},(0,h.X)(u.xh.primaryPartnerFirstName)),{},{label:null===(i=(0,h.X)(u.xh.primaryPartnerFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:N[u.xh.primaryPartnerFirstName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,yt(yt({}
1,(0,h.X)(u.xh.primaryPartnerMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.primaryPartnerMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:N[u.xh.primaryPartnerMiddleName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,yt(yt({},(0,h.X)(u.xh.primaryPartnerLastName)),{},{label:null===(d=(0,h.X)(u.xh.primaryPartnerLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:N[u.xh.primaryPartnerLastName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,yt(yt({},(0,h.X)(u.xh.primaryPartnerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.primaryPartnerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.primaryPartnerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:N[u.xh.primaryPartnerSuffixName],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,yt(yt({},(0,h.X)(u.xh.primaryPartnerSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.primaryPartnerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(b=(0,h.X)(u.xh.primaryPartnerSSN))||void 0===b||null===(y=b.placeholder)||void 0===y?void 0:y.replace("*",""),value:N[u.xh.primaryPartnerSSN],onChange:w,onMouseEnter:E,onMouseLeave:S,hideDivider:!0}))})]})]})},wt=(0,o.ZP)(l.Z).withConfig({displayName:"EINPartnershipForm__StyledEINPartnershipForm",componentId:"sc-1t7l2sc-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'InterMedium';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'InterMedium';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'InterRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Et=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(jt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(wt,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(jt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function St(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ot(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?St(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):St(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Mt=o.ZP.div.withConfig({displayName:"CCorpInfoBlock__StyledContainer",componentId:"sc-zcwbmr-0"})(["margin-bottom:24px;border:1px solid ",";label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),Pt=(0,o.ZP)(d.Z).withConfig({displayName:"CCorpInfoBlock__StyledRow",componentId:"sc-zcwbmr-1"})(["padding:16px;"]);var It=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(Mt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Pt,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ot(Ot({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Corporation",defaultInvalidMessage:"Please provide a valid corporation name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ot(Ot({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Ot(Ot({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d,hideDivider:!0}))})]})]})};function kt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Lt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?kt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Dt=o.ZP.div.withConfig({displayName:"PrincipalOfficerInfoBlock__StyledContainer",componentId:"sc-1q14jfi-0"})(["margin-bottom:24px;border:1px solid ",";label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),Ft=(0,o.ZP)(d.Z).withConfig({displayName:"PrincipalOfficerInfoBlock__StyledRow",componentId:"sc-1q14jfi-1"})(["padding:16px;"]);var Bt=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b,y,Z=e.values,N=void 0===Z?{}:Z,w=e.onChange,E=e.onMouseEnter,S=e.onMouseLeave;return(0,C.jsxs)(Dt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Principal Officer Information"})}),(0,C.jsxs)(Ft,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Lt(Lt({},(0,h.X)(u.xh.principalOfficerTitle)),{},{label:null===(n=(0,h.X)(u.xh.principalOfficerTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.principalOfficerTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:N[u.xh.principalOfficerTitle],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Lt(Lt({},(0,h.X)(u.xh.principalOfficerFirstName)),{},{label:null===(i=(0,h.X)(u.xh.principalOfficerFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:N[u.xh.principalOfficerFirstName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Lt(Lt({},(0,h.X)(u.xh.principalOfficerMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.principalOfficerMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:N[u.xh.principalOfficerMiddleName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Lt(Lt({}
1,(0,h.X)(u.xh.principalOfficerLastName)),{},{label:null===(d=(0,h.X)(u.xh.principalOfficerLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:N[u.xh.principalOfficerLastName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Lt(Lt({},(0,h.X)(u.xh.principalOfficerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.principalOfficerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.principalOfficerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:N[u.xh.principalOfficerSuffixName],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Lt(Lt({},(0,h.X)(u.xh.principalOfficerSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.principalOfficerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(b=(0,h.X)(u.xh.principalOfficerSSN))||void 0===b||null===(y=b.placeholder)||void 0===y?void 0:y.replace("*",""),value:N[u.xh.principalOfficerSSN],onChange:w,onMouseEnter:E,onMouseLeave:S,hideDivider:!0}))})]})]})},_t=(0,o.ZP)(l.Z).withConfig({displayName:"EINCCorpForm__StyledEINCCorpForm",componentId:"sc-p3zu7f-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'InterMedium';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'InterMedium';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'InterRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Xt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(It,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(_t,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(It,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function At(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function zt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?At(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):At(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Tt=o.ZP.div.withConfig({displayName:"SCorpInfoBlock__StyledContainer",componentId:"sc-11krqu6-0"})(["margin-bottom:24px;border:1px solid ",";label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),Rt=(0,o.ZP)(d.Z).withConfig({displayName:"SCorpInfoBlock__StyledRow",componentId:"sc-11krqu6-1"})(["padding:16px;"]);var Vt=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(Tt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Rt,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,zt(zt({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the S-Corporation",defaultInvalidMessage:"Please provide a valid corporation name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,zt(zt({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,zt(zt({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d,hideDivider:!0}))})]})]})},qt=(0,o.ZP)(l.Z).withConfig({displayName:"EINSCorpForm__StyledEINSCorpForm",componentId:"sc-13quwpz-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'InterMedium';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'InterMedium';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'InterRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var $t=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(qt,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Yt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ut(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Yt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Yt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Wt=o.ZP.div.withConfig({displayName:"DeceasedIndividualInfoBlock__StyledContainer",componentId:"sc-2kg9t2-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Gt=(0,o.ZP)(d.Z).withConfig({displayName:"DeceasedIndividualInfoBlock__StyledRow",componentId:"sc-2kg9t2-1"})(["padding:16px;"]);var Qt=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v=e.values,g=void 0===v?{}:v,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(Wt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Deceased Individual Information"})}),(0,C.jsxs)(Gt,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ut(Ut({},(0,h.X)(u.xh.deceasedFirstName)),{},{label:null===(n=(0,h.X)(u.xh.deceasedFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:g[u.xh.deceasedFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ut(Ut({},(0,h.X)(u.xh.deceasedMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.deceasedMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:g[u.xh.deceasedMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ut(Ut({},(0,h.X)(u.xh.deceasedLastName)),{},{label:null===(i=(0,h.X)(u.xh.deceasedLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:g[u.xh.deceasedLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Ut(Ut({},(0,h.X)(u.xh.deceasedSuffixName)),{},{label:null===(s=(0,h.X)(u.xh.deceasedSuffixName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.deceasedSuffixName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:g[u.xh.deceasedSuffixName],validated:g.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Ut(Ut({},(0,h.X)(u.xh.deceasedSSN)),{},{placeholder:null===(x=(0,h.X)(u.xh.deceasedSSN))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.deceasedSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),value:g[u.xh.deceasedSSN],onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})};function Kt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ht(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Kt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Kt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Jt=o.ZP.div.withConfig({displayName:"RepresentativeInfoBlock__StyledContainer",componentId:"sc-epuhlr-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),er=(0,o.ZP)(d.Z).withConfig({displayName:"RepresentativeInfoBlock__StyledRow",componentId:"sc-epuhlr-1"})(["padding:16px;"]);var nr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b,y,Z=e.values,N=void 0===Z?{}:Z,w=e.onChange,E=e.onMouseEnter,S=e.onMouseLeave;return(0,C.jsxs)(Jt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Representative/Executor Information"})}),(0,C.jsxs)(er,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Ht(Ht({}
1,(0,h.X)(u.xh.representativeTitle)),{},{label:null===(n=(0,h.X)(u.xh.representativeTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.representativeTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:N[u.xh.representativeTitle],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ht(Ht({},(0,h.X)(u.xh.representativeFirstName)),{},{label:null===(i=(0,h.X)(u.xh.representativeFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:N[u.xh.representativeFirstName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ht(Ht({},(0,h.X)(u.xh.representativeMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.representativeMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:N[u.xh.representativeMiddleName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ht(Ht({},(0,h.X)(u.xh.representativeLastName)),{},{label:null===(d=(0,h.X)(u.xh.representativeLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:N[u.xh.representativeLastName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Ht(Ht({},(0,h.X)(u.xh.representativeSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.representativeSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.representativeSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:N[u.xh.representativeSuffixName],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Ht(Ht({},(0,h.X)(u.xh.representativeSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.representativeSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(b=(0,h.X)(u.xh.representativeSSN))||void 0===b||null===(y=b.placeholder)||void 0===y?void 0:y.replace("*",""),value:N[u.xh.representativeSSN],onChange:w,onMouseEnter:E,onMouseLeave:S,hideDivider:!0}))})]})]})},tr=(0,o.ZP)(l.Z).withConfig({displayName:"EINEstateForm__StyledEINEstateForm",componentId:"sc-3c9pgl-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'InterMedium';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'InterMedium';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'InterRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var rr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Qt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{prefix:"representative",values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(tr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Qt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{prefix:"representative",values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{prefix:"dateOfDeath",values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function or(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ir(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?or(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):or(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ar=o.ZP.div.withConfig({displayName:"NonProfitOrgInfoBlock__StyledContainer",componentId:"sc-1imt20y-0"})(["margin-bottom:24px;border:1px solid ",";label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),sr=(0,o.ZP)(d.Z).withConfig({displayName:"NonProfitOrgInfoBlock__StyledRow",componentId:"sc-1imt20y-1"})(["padding:16px;"]);var lr=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(ar,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Non-profit Organization"})}),(0,C.jsxs)(sr,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,ir(ir({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Non-profit Organization",defaultInvalidMessage:"Please provide a valid organization name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,ir(ir({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,ir(ir({},(0,h.X)(u.xh.nonProfitType)),{},{label:null===(r=(0,h.X)(u.xh.nonProfitType))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:a[u.xh.nonProfitType],onChange:s,onMouseEnter:l,onMouseLeave:d,hideDivider:!0}))})]})]})};function dr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function cr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?dr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ur=o.ZP.div.withConfig({displayName:"ResponsiblePartyInfoBlock__StyledContainer",componentId:"sc-1tf3zs4-0"})(["margin-bottom:24px;border:1px solid ",";label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),hr=(0,o.ZP)(d.Z).withConfig({displayName:"ResponsiblePartyInfoBlock__StyledRow",componentId:"sc-1tf3zs4-1"})(["padding:16px;"]);var pr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b,y,Z=e.values,N=void 0===Z?{}:Z,w=e.onChange,E=e.onMouseEnter,S=e.onMouseLeave;return(0,C.jsxs)(ur,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Responsible Party Information"})}),(0,C.jsxs)(hr,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,cr(cr({},(0,h.X)(u.xh.responsiblePartyTitle)),{},{label:null===(n=(0,h.X)(u.xh.responsiblePartyTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.responsiblePartyTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:N[u.xh.responsiblePartyTitle],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,cr(cr({},(0,h.X)(u.xh.responsiblePartyFirstName)),{},{label:null===(i=(0,h.X)(u.xh.responsiblePartyFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:N[u.xh.responsiblePartyFirstName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,cr(cr({},(0,h.X)(u.xh.responsiblePartyMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.responsiblePartyMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:N[u.xh.responsiblePartyMiddleName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,cr(cr({}
1,(0,h.X)(u.xh.responsiblePartyLastName)),{},{label:null===(d=(0,h.X)(u.xh.responsiblePartyLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:N[u.xh.responsiblePartyLastName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,cr(cr({},(0,h.X)(u.xh.responsiblePartySuffixName)),{},{label:null===(x=(0,h.X)(u.xh.responsiblePartySuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.responsiblePartySuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:N[u.xh.responsiblePartySuffixName],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,cr(cr({},(0,h.X)(u.xh.responsiblePartySSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.responsiblePartySSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(b=(0,h.X)(u.xh.responsiblePartySSN))||void 0===b||null===(y=b.placeholder)||void 0===y?void 0:y.replace("*",""),value:N[u.xh.responsiblePartySSN],onChange:w,onMouseEnter:E,onMouseLeave:S,hideDivider:!0}))})]})]})},xr=(0,o.ZP)(l.Z).withConfig({displayName:"EINNonProfitForm__StyledEINNonProfitForm",componentId:"sc-1bik6nr-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'InterMedium';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'InterMedium';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'InterRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var mr,vr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(lr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(pr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(xr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(lr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(pr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})},gr=t(1383);function fr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function jr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?fr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var br=(0,o.ZP)(l.Z.Group).withConfig({displayName:"RadioGroup__StyledGroup",componentId:"sc-1itfmpk-0"})(["display:flex;flex-direction:column;",";padding-left:0;padding-right:0;margin-bottom:16px !important;input:checked + label,input:not(:checked) + label{display:inline-block;padding-left:8px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;cursor:pointer;}"],(function(e){return e.horizontal&&css(mr||(mr=(0,gr.Z)(["\n flex-direction: row;\n "])))})),yr=(0,o.ZP)(l.Z.Check).withConfig({displayName:"RadioGroup__StyledCheck",componentId:"sc-1itfmpk-1"})(["margin-right:24px;margin-top:0.5rem;"]);var Zr=function(e){var n=e.id,t=e.name,o=e.hint,i=e.horizontal,a=e.options,s=void 0===a?[]:a,l=e.value,d=e.onChange,c=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o})};return o&&!v.tq||(e.show=!1),e}),[n,o]);return(0,C.jsx)(j.Z,jr(jr({},c),{},{children:(0,C.jsx)(br,{controlId:n,horizontal:i,children:s.map((function(e,r){return(0,C.jsx)(yr,{id:"".concat(t||n).concat(r+1),name:t||n,inline:!0,type:"radio",label:e.label,value:e.value,checked:l===e.value,onChange:d},"".concat(t||n).concat(r+1))}))})}))};function Cr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Nr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Cr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Cr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var wr=o.ZP.div.withConfig({displayName:"LLCInfoBlock__StyledContainer",componentId:"sc-1jjm3kq-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Er=(0,o.ZP)(d.Z).withConfig({displayName:"LLCInfoBlock__StyledRow",componentId:"sc-1jjm3kq-1"})(["padding:16px;"]);var Sr=function(e){var n,t,o,i,a=e.values,s=void 0===a?{}:a,l=e.onChange,d=e.onMouseEnter,p=e.onMouseLeave,x="2"===s[u.xh.LLCMembers],m="true"===s[u.xh.husbandAndWife],v=(0,b.D)(s);return(0,r.useEffect)((function(){v&&v[u.xh.organizedState]!==s[u.xh.organizedState]&&(0,xt.dg)({target:{id:u.xh.legalName,value:s[u.xh.legalName]||""}},{matchValue:s[u.xh.organizedState]})}),[v,s]),(0,C.jsxs)(wr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Er,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Nr(Nr({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the LLC",defaultInvalidMessage:"Please provide a valid organization name",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: Corp, Inc, PA."}),pattern:"(?!.*(?:[ ][pP][aA]$))(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))(?!.*(?:[ ][iI][nN][cC][oO][rR][pP][oO][rR][aA][tT][eE][dD]$))^[ a-zA-Z0-9&\\\\-]+$",validate:xt.dg,value:s[u.xh.legalName],matchValue:s[u.xh.organizedState],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Nr(Nr({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:s[u.xh.dbaname],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Nr(Nr({},(0,h.X)(u.xh.LLCMembers)),{},{value:s[u.xh.LLCMembers],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),x&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Nr(Nr({}
1,(0,h.X)(u.xh.husbandAndWife)),{},{value:s[u.xh.husbandAndWife],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),m&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:"Please choose one of the following:"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Zr,Nr(Nr({},(0,h.X)(u.xh.multiMember)),{},{value:s[u.xh.multiMember],onChange:l}))})]}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:"Select the Tax classification of the LLC:"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Zr,Nr(Nr({},(0,h.X)(u.xh.taxClassification)),{},{value:s[u.xh.taxClassification],onChange:l}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Nr(Nr({},(0,h.X)(u.xh.organizedState)),{},{label:null===(o=(0,h.X)(u.xh.organizedState))||void 0===o||null===(i=o.placeholder)||void 0===i?void 0:i.replace("*",""),value:s[u.xh.organizedState],validated:s.validated,onChange:l,onMouseEnter:d,onMouseLeave:p,hideDivider:!0}))})]})]})};function Or(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Mr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Or(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Or(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Pr=o.ZP.div.withConfig({displayName:"ManagingMemberInfoBlock__StyledContainer",componentId:"sc-1atbg2c-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Ir=(0,o.ZP)(d.Z).withConfig({displayName:"ManagingMemberInfoBlock__StyledRow",componentId:"sc-1atbg2c-1"})(["padding:16px;"]);var kr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b,y,Z=e.values,N=void 0===Z?{}:Z,w=e.onChange,E=e.onMouseEnter,S=e.onMouseLeave;return(0,C.jsxs)(Pr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Managing Member Information"})}),(0,C.jsxs)(Ir,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Mr(Mr({},(0,h.X)(u.xh.ownerTitle)),{},{label:null===(n=(0,h.X)(u.xh.ownerTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.ownerTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:N[u.xh.ownerTitle],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Mr(Mr({},(0,h.X)(u.xh.ownerFirstName)),{},{label:null===(i=(0,h.X)(u.xh.ownerFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:N[u.xh.ownerFirstName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Mr(Mr({},(0,h.X)(u.xh.ownerMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.ownerMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:N[u.xh.ownerMiddleName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Mr(Mr({},(0,h.X)(u.xh.ownerLastName)),{},{label:null===(d=(0,h.X)(u.xh.ownerLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:N[u.xh.ownerLastName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Mr(Mr({},(0,h.X)(u.xh.ownerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.ownerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.ownerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:N[u.xh.ownerSuffixName],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Mr(Mr({},(0,h.X)(u.xh.ownerSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}
1),placeholder:null===(b=(0,h.X)(u.xh.ownerSSN))||void 0===b||null===(y=b.placeholder)||void 0===y?void 0:y.replace("*",""),value:N[u.xh.ownerSSN],onChange:w,onMouseEnter:E,onMouseLeave:S,hideDivider:!0}))})]})]})},Lr=(0,o.ZP)(l.Z).withConfig({displayName:"EINLLCForm__StyledEINLLCForm",componentId:"sc-1mn3w56-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'InterMedium';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'InterMedium';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'InterRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Dr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Sr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(kr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(Lr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Sr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(kr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Fr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Br(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Fr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Fr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _r=o.ZP.div.withConfig({displayName:"TrustInfoBlock__StyledContainer",componentId:"sc-i2nzhh-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Xr=(0,o.ZP)(d.Z).withConfig({displayName:"TrustInfoBlock__StyledRow",componentId:"sc-i2nzhh-1"})(["padding:16px;"]);var Ar=function(e){var n,t,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(_r,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Xr,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Br(Br({},(0,h.X)(u.xh.legalName)),{},{hint:(0,C.jsxs)(C.Fragment,{children:["Special instructions for entering the legal name of your trust:",(0,C.jsxs)("ol",{children:[(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Omit any names of trustees."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Place the individual's name at the beginning of your trust name."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Do not enter the words 'date' or 'dated'."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Do not enter the alpha month, replace with corresponding numeric character."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Omit the word 'The' from the beginning of your trust name."})]}),"The only punctuation and special characters allowed are hyphen (-) and ampersand (&).",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"The legal name may not contain any of the following endings: Corp, LLC, PLLC, LC, Inc, PA."]}),label:"Legal Name of Trust",defaultInvalidMessage:"Please provide a valid trust name",value:o[u.xh.legalName],onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Br(Br({},(0,h.X)(u.xh.trustType)),{},{label:null===(n=(0,h.X)(u.xh.trustType))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:o[u.xh.trustType],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})]})]})};function zr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Tr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?zr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):zr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Rr=o.ZP.div.withConfig({displayName:"CreatorInfoBlock__StyledContainer",componentId:"sc-1re0gxc-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Vr=(0,o.ZP)(d.Z).withConfig({displayName:"CreatorInfoBlock__StyledRow",componentId:"sc-1re0gxc-1"})(["padding:16px;"]);var qr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v=e.values,g=void 0===v?{}:v,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(Rr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Creator/Grantor Information"})}),(0,C.jsxs)(Vr,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Tr(Tr({},(0,h.X)(u.xh.createrFirstName)),{},{label:null===(n=(0,h.X)(u.xh.createrFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:g[u.xh.createrFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Tr(Tr({},(0,h.X)(u.xh.createrMiddleName)),{}
1,{label:null===(r=(0,h.X)(u.xh.createrMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:g[u.xh.createrMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Tr(Tr({},(0,h.X)(u.xh.createrLastName)),{},{label:null===(i=(0,h.X)(u.xh.createrLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:g[u.xh.createrLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Tr(Tr({},(0,h.X)(u.xh.createrSuffixName)),{},{label:null===(s=(0,h.X)(u.xh.createrSuffixName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.createrSuffixName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:g[u.xh.createrSuffixName],validated:g.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Tr(Tr({},(0,h.X)(u.xh.createrSSN)),{},{value:g[u.xh.createrSSN],label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.createrSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(x=(0,h.X)(u.xh.createrSSN))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})};function $r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Yr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$r(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$r(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ur=o.ZP.div.withConfig({displayName:"ConservatorInfoBlock__StyledContainer",componentId:"sc-qa674c-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Wr=(0,o.ZP)(d.Z).withConfig({displayName:"ConservatorInfoBlock__StyledRow",componentId:"sc-qa674c-1"})(["padding:16px;"]);var Gr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v=e.values,g=void 0===v?{}:v,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(Ur,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Conservator Information"})}),(0,C.jsxs)(Wr,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Yr(Yr({},(0,h.X)(u.xh.trusteeTitle)),{},{label:null===(n=(0,h.X)(u.xh.trusteeTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.trusteeTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:g[u.xh.trusteeTitle],validated:g.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Yr(Yr({},(0,h.X)(u.xh.trusteeFirstName)),{},{label:null===(i=(0,h.X)(u.xh.trusteeFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:g[u.xh.trusteeFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Yr(Yr({},(0,h.X)(u.xh.trusteeMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.trusteeMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:g[u.xh.trusteeMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Yr(Yr({},(0,h.X)(u.xh.trusteeLastName)),{}
1,{label:null===(d=(0,h.X)(u.xh.trusteeLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:g[u.xh.trusteeLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Yr(Yr({},(0,h.X)(u.xh.trusteeSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.trusteeSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(x=(0,h.X)(u.xh.trusteeSSN))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),value:g[u.xh.trusteeSSN],onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})},Qr=(0,o.ZP)(l.Z).withConfig({displayName:"EINTrustForm__StyledEINTrustForm",componentId:"sc-144cvd7-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'InterMedium';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'InterMedium';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'InterRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Kr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ar,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(qr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{prefix:"trustee",values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(Qr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ar,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(qr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{prefix:"trustee",values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Hr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Jr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Hr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var eo=o.ZP.div.withConfig({displayName:"PSCInfoBlock__StyledContainer",componentId:"sc-1fumzl-0"})(["margin-bottom:24px;border:1px solid ",';label[for="legalName"]{width:100%;}'],(0,i.E)("#000000",.1)),no=(0,o.ZP)(d.Z).withConfig({displayName:"PSCInfoBlock__StyledRow",componentId:"sc-1fumzl-1"})(["padding:16px;"]);var to=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(eo,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(no,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Jr(Jr({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Personal Service Corporation",defaultInvalidMessage:"Please provide a valid corporation name",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: LLC, PLLC, LC."}),pattern:"(?!.*(?:[ ][lL][cC]$))(?!.*(?:[ ][lL][lL][cC]$))(?!.*(?:[ ][pP][lL][lL][cC]$))^[ a-zA-Z0-9&\\\\-]+$",validate:xt.bW,value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Jr(Jr({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Jr(Jr({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d,hideDivider:!0}))})]})]})},ro=(0,o.ZP)(l.Z).withConfig({displayName:"EINPSCForm__StyledEINPSCForm",componentId:"sc-kvjxjz-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'InterMedium';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'InterMedium';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'InterRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var oo=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(to,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(ro,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(to,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function io(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ao(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?io(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):io(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var so=o.ZP.div.withConfig({displayName:"ChurchInfoBlock__StyledContainer",componentId:"sc-1v1vewc-0"})(["margin-bottom:24px;border:1px solid ",";label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),lo=(0,o.ZP)(d.Z).withConfig({displayName:"ChurchInfoBlock__StyledRow",componentId:"sc-1v1vewc-1"})(["padding:16px;"]);var co=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(so,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(lo,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,ao(ao({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Church",defaultInvalidMessage:"Please provide a valid corporation name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,ao(ao({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,ao(ao({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d,hideDivider:!0}))})]})]})},uo=(0,o.ZP)(l.Z).withConfig({displayName:"EINChurchForm__StyledEINChurchForm",componentId:"sc-1u75tdi-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'InterMedium';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'InterMedium';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'InterRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var ho=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(co,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(pr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(uo,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(co,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(pr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})},po=t(8300);po.v.email,o.ZP.div.withConfig({displayName:"FormSection__StyledFormSection",componentId:"sc-k27o25-0"})(['display:flex;flex-direction:column;align-items:center;margin-bottom:2rem;width:100%;.form-section-header{width:980px;margin-top:24px;margin-bottom:8px;padding-left:15px;padding-right:15px;padding-top:4px;padding-bottom:4px;font-family:"InterRegular";font-size:20px;line-height:calc(1.42857rem * (20 / 16));text-align:center;color:#424242;span{font-family:"InterSemiBold";}}.form-section-container{display:flex;width:980px;padding-left:15px;padding-right:15px;padding-top:16px;padding-bottom:16px;.form-container{flex-grow:1;margin-right:16px;.form-group{margin-bottom:0;}}.hint-container{min-width:300px;width:300px;display:flex;align-items:flex-start;.hint-card{position:sticky;width:100%;top:0;border:1px solid ',";background-color:",';.hint-card-title{padding:15px 15px 0;margin-bottom:0.5rem;font-family:"InterSemiBold";font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#0a578b;}.hint-card-subtitle{padding:0 15px;margin-bottom:1rem;font-family:"InterSemiBold";font-size:16px;line-height:calc(1.42857rem * (16 / 16));color:#424242;}.hint-card-content{padding:0 15px;margin-bottom:1rem;font-family:"InterRegular";font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;
1a{display:none;}ul{list-style:disc;padding-left:32px;li{font-family:"InterRegular";font-size:13px;line-height:calc(1.42857rem * (13 / 16));}}}}.customer-service-card{display:flex;flex-direction:column;width:100%;padding-left:16px;.customer-service-card-title{margin-bottom:1rem;font-family:"InterSemiBold";font-size:20px;line-height:calc(1.42857rem * (20 / 16));color:#0a578b;}.customer-service-card-content{display:flex;flex-direction:column;&,a{font-family:"InterRegular";font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#424242;}.customer-service-card-item{display:flex;margin-bottom:0.5rem;.customer-service-card-item-label{width:20%;font-family:"InterSemiBold";}}}}}}',";@media ","{.form-section-header{width:720px;}.form-section-container{width:720px;.hint-container{display:none;}}}@media ","{.form-section-header{width:100%;}.form-section-container{width:100%;.form-container{margin-right:0;}}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(function(e){return!e.showHelpCenter&&(0,o.iv)([".form-section-header{width:720px;}.form-section-container{width:720px;.hint-container{display:none;}}"])}),(function(e){return e.theme.devices.laptopS}),(function(e){return e.theme.devices.tablet})),new Map([["/LLCIncFinalize","llc-inc-finalize"]]),new Map([["/contactus",!0],["/payment",!1],["/LLCInc",!1],["/LLCIncFinalize",!1],["/LLCUpsell",!1],["/status",!1],["/products/EINSoleProp",!0],["/products/EINPartnership",!0],["/products/EINCCorp",!0],["/products/EINSCorp",!0],["/products/EINEstate",!0],["/products/EINNonProfit",!0],["/products/EINLLC",!0],["/products/EINTrust",!0],["/products/EINPSC",!0],["/products/EINChurch",!0]]),new Map([["/products/EINSoleProp","Sole Proprietor Tax ID / SS-4 Form"],["/products/EINPartnership","Partnerships Tax ID / SS-4 Form"],["/products/EINCCorp","Corporations Tax ID / SS-4 Form"],["/products/EINSCorp","S-Corporations Tax ID / SS-4 Form"],["/products/EINEstate","Estate Tax ID / SS-4 Form"],["/products/EINNonProfit","Nonprofit Organization Tax ID / SS-4 Form"],["/products/EINLLC","Limited Liability Company (LLC) Tax ID / SS-4 Form"],["/products/EINTrust","Trusts Tax ID / SS-4 Form"],["/products/EINPSC","Personal Service Corporation Tax ID / SS-4 Form"],["/products/EINChurch","Church Organization Tax ID / SS-4 Form"]]),new Map([["/contactus",ue],["/payment",Ke],["/status",an],["/products/EINSoleProp",pt],["/products/EINPartnership",Et],["/products/EINCCorp",Xt],["/products/EINSCorp",$t],["/products/EINEstate",rr],["/products/EINNonProfit",vr],["/products/EINLLC",Dr],["/products/EINTrust",Kr],["/products/EINPSC",oo],["/products/EINChurch",ho]])},1822:function(e,n,t){var r=t(7379).ZP.button.withConfig({displayName:"Button",componentId:"sc-ar3x5e-0"})(["padding:8px 25px;width:100%;margin-right:0;font-family:'InterSemiBold';font-size:20px;background-color:#0a578b;border:2px solid #0a578b;color:#FFFFFF;"]);n.Z=r},1945:function(e,n,t){var r=t(7294),o=t(7379),i=t(1664),a=t.n(i),s=t(7569),l=t(989),d=t(5893),c=o.ZP.div.withConfig({displayName:"ErrorMessage__StyledErrorMessage",componentId:"sc-st9sji-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;padding-left:20px;padding-right:20px;.message-content{display:flex;justify-content:center;font-family:'MerriweatherLight';font-size:18px;line-height:calc(1.42857rem * (18 / 16));color:#C61F0C;text-align:center;",";}.action-block{margin-top:32px;}"],(function(e){return e.showContactUsLink&&(0,o.iv)(["color:",";"],(0,s.E)("#002346",.9))}));n.Z=function(e){var n=e.showContactUsLink,t=e.showOK,o=void 0===t?{text:null,onClick:function(){}}:t,i=e.message,s=void 0===i?"Something went wrong":i,u=e.error,h=(0,r.useMemo)((function(){return u&&u.message.errors?u.message.errors[0]:u&&!u.message.errors&&u.message?u.message:s}),[s,u]),p=(0,r.useCallback)((function(){(null===o||void 0===o?void 0:o.onClick)&&o.onClick()}),[o]);return(0,d.jsxs)(c,{showContactUsLink:n,children:[(0,d.jsx)("div",{className:"message-content",children:h}),n&&(0,d.jsx)("div",{className:"action-block",children:(0,d.jsx)(a(),{href:"/contactus",passHref:!0,children:(0,d.jsx)(l.Z,{children:"Contact Us"})})}),(null===o||void 0===o?void 0:o.text)&&(0,d.jsx)("div",{className:"action-block",children:(0,d.jsx)(l.Z,{onClick:p,children:null===o||void 0===o?void 0:o.text})})]})}},6717:function(e,n,t){var r=t(7294),o=t(7379),i=t(7569),a=(t(5754),t(9499)),s=t(4853),l=t(4835),d=t(1608),c=t(1555),u=t(9822),h=t(1852),p=t(4730),x=t(1752),m=t.n(x),v=t(9359),g=t(6968),f=t(3489),j=t(5944),b=t(3669),y=t(7060),Z=t(926),C=t(5893),N=["id","type","hint","label","loading","placeholder","emptyLabel","required","pattern","maxLength","defaultInvalidMessage","validate","isValid","isInvalid","onKeyPress","matchValue","isCorpAddress","value","onChange","onBlur","onKeyDown","onMouseEnter","onMouseLeave","allowSuccessMessage","hideDivider","thirdPartyProps"];function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function E(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?w(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var S=m()().publicRuntimeConfig,O=(0,o.ZP)(l.Z.Group).withConfig({displayName:"TextInput__StyledGroup",componentId:"sc-v5q9o2-0"})(["display:flex;flex-direction:column;position:relative;padding-left:0;padding-right:0;padding-bottom:16px;",";"],(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;"])})),M=(0,o.ZP)(l.Z.Label).withConfig({displayName:"TextInput__StyledLabel",componentId:"sc-v5q9o2-1"})(["display:flex;align-items:center;width:100% !important;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#244f74;}}",";"],(function(e){return e.emptyLabel&&(0,o.iv)(["padding-top:18.56px;"])})),P=(0,o.ZP)(l.Z.Control).withConfig({displayName:"TextInput__StyledControl",componentId:"sc-v5q9o2-2"})(["min-height:34px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'MerriweatherLight';font-size:14px;line-height:24px;color:#424242;border:1px solid ",";",";",";",";"],(0,i.E)("#000000",.1),(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #198754 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(40 167 69 / 25%) !important;"],"url(".concat(S.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(220 53 69 / 25%) !important;"],"url(".concat(S.basePath,"/icons/V2/validation_failure.svg)"))}),(function(e){return e.isLoading&&(0,o.iv)(["border:1px solid "," !important;box-shadow:none !important;background-image:none !important;"],(0,i.E)("#234e76",.1))})),I=(0,o.ZP)(g.Z).withConfig({displayName:"TextInput__StyledSpinner",componentId:"sc-v5q9o2-3"})(["position:absolute;top:calc((34px - 2rem) / 2 + 18.52px);right:16px;&.text-custom{color:",";}",";"],(0,i.E)("#424242",.5),(function(e){return e.noLabel&&(0,o.iv)(["top:calc((34px - 2rem) / 2);"])})),k=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"TextInput__StyledFeedback",componentId:"sc-v5q9o2-4"})(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5));var L=function(e){var n=e.id,t=e.type,o=e.hint,i=e.label,a=e.loading,s=e.placeholder,l=e.emptyLabel,d=e.required,c=e.pattern,u=e.maxLength,h=e.defaultInvalidMessage,x=void 0===h?"":h,m=e.validate,g=e.isValid,w=e.isInvalid,S=e.onKeyPress,L=e.matchValue,D=e.isCorpAddress,F=e.value,B=void 0===F?"":F,_=e.onChange,X=e.onBlur,A=e.onKeyDown,z=e.onMouseEnter,T=e.onMouseLeave,R=e.allowSuccessMessage,V=e.hideDivider,q=e.thirdPartyProps,$=(0,p.Z)(e,N),Y=(0,r.useState)(null),U=Y[0],W=Y[1],G=(0,b.D)(B),Q=(0,r.useCallback)((function(e){if(!U&&(0,Z.o)(e)){_&&_({target:{id:"verifying",value:!0}});var n=e;n.indexOf("+")>-1&&n.indexOf("gmail.com")>-1&&(n=n.substring(0,n.indexOf("+"))+n.substring(n.indexOf("@"),n.length)),(0,y.ZP)(n).then((function(e){W(e),_&&_({target:{id:"verifying",value:!1}})}))}}),[_,U]),K=(0,r.useCallback)((function(e){W(null),m&&m(e,{required:d,matchValue:L,isCorpAddress:D}),_&&_(e)}
1),[_,m,d,D,L]),H=(0,r.useCallback)((function(e){"email"===t&&B&&Q(B),X&&X(e)}),[X,t,B,Q]),J=(0,r.useCallback)((function(e){"email"===t&&B&&"Enter"===e.code&&(!U&&(0,Z.o)(B)&&_&&_({target:{id:"suspendedSubmit",value:!0}}),Q(B)),A&&A(e)}),[A,_,t,B,U,Q]),ee=(0,r.useCallback)((function(){z&&z({label:i||s,hint:o})}),[z,i,s,o]),ne=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o})};return o&&!v.tq||(e.show=!1),e}),[n,o]),te=null!==U&&void 0!==U&&U.status&&!a?y.lx.includes(null===U||void 0===U?void 0:U.status):g,re=null!==U&&void 0!==U&&U.status&&!a?y.lo.includes(null===U||void 0===U?void 0:U.status):w,oe=y.ry[null===U||void 0===U?void 0:U.reason]||"Verified!",ie=y.ry[null===U||void 0===U?void 0:U.reason]||x,ae=!(te&&!re),se=(0,r.useMemo)((function(){if(q)return S?E(E({},q),{},{onKeyPress:S}):q;var e={type:t||"text",name:n,onChange:K,onBlur:H,onKeyDown:J};return S&&(e.onKeyPress=S),e}),[q,n,t,S,K,H,J]);return(0,r.useEffect)((function(){"email"===t&&void 0===G&&B&&Q(B)}),[Q,t,G,B]),(0,C.jsx)(j.Z,E(E({},ne),{},{children:(0,C.jsxs)(O,{controlId:n,hideDivider:V,onMouseEnter:ee,onMouseLeave:T,children:[(0,C.jsxs)(M,{emptyLabel:l,children:[i,i&&d&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(P,E(E(E({},se),$),{},{required:d,placeholder:s,isValid:te,isInvalid:re,isLoading:a,pattern:c,maxLength:u,value:B||"","data-hj-allow":!0})),a&&"email"===t&&(0,C.jsx)(k,{type:"processing",children:"Verification..."}),R&&!ae&&!a&&(0,C.jsx)(k,{type:"valid",children:oe}),ae&&ie&&!a&&(0,C.jsx)(k,{type:"invalid",children:ie}),a&&(0,C.jsx)(I,{animation:"border",variant:"custom",noLabel:!(i||l)})]})}))},D=t(6627),F=t.n(D);function B(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?B(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):B(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var X=m()().publicRuntimeConfig,A=(0,o.ZP)(l.Z.Group).withConfig({displayName:"MaskInput__StyledGroup",componentId:"sc-1o9knip-0"})(["display:flex;flex-direction:column;position:relative;padding-left:0;padding-right:0;padding-bottom:16px;",";"],(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;"])})),z=(0,o.ZP)(l.Z.Label).withConfig({displayName:"MaskInput__StyledLabel",componentId:"sc-1o9knip-1"})(["display:flex;align-items:center;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#244f74;}}"]),T=(0,o.ZP)(l.Z.Control).withConfig({displayName:"MaskInput__StyledControl",componentId:"sc-1o9knip-2"})(["min-height:34px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'MerriweatherLight';font-size:14px;line-height:24px;color:#424242;border:1px solid ",";"," ",";",";&::placeholder{color:",";}@media ","{","}"],(0,i.E)("#000000",.1),(function(e){return e.suffix&&(0,o.iv)(["width:93%;"])}),(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #198754 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(40 167 69 / 25%) !important;"],"url(".concat(X.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(220 53 69 / 25%) !important;"],"url(".concat(X.basePath,"/icons/V2/validation_failure.svg)"))}),(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet}),(function(e){return e.suffix&&(0,o.iv)(["width:90%;"])})),R=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"MaskInput__StyledFeedback",componentId:"sc-1o9knip-3"}
1)(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5)),V=o.ZP.div.withConfig({displayName:"MaskInput__StyledSuffixContainer",componentId:"sc-1o9knip-4"})(["display:flex;justify-content:flex-end;align-items:flex-start;position:absolute;top:0;right:0;height:100%;min-width:34px;width:10%;padding-top:22px;"]);var q=function(e){var n=e.id,t=e.hint,o=e.suffix,i=e.label,a=e.hideDivider,s=e.placeholder,l=e.required,d=e.pattern,c=e.mask,u=e.maxLength,h=e.defaultInvalidMessage,p=void 0===h?"":h,x=e.validate,m=e.isValid,g=e.isInvalid,b=e.onKeyPress,y=e.value,Z=void 0===y?"":y,N=e.onChange,w=e.onMouseEnter,E=e.onMouseLeave,S=(0,r.useCallback)((function(e){x&&x(e,{required:l}),N&&N(e)}),[N,x,l]),O=(0,r.useCallback)((function(){w&&w({label:i||s,hint:t})}),[w,i,s,t]),M=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t&&!v.tq||(e.show=!1),e}),[n,t]),P=!(m&&!g);return(0,C.jsx)(j.Z,_(_({},M),{},{children:(0,C.jsxs)(A,{controlId:n,hideDivider:a,onMouseEnter:O,onMouseLeave:E,children:[(0,C.jsxs)(z,{children:[i,i&&l&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(F(),{mask:c,maskChar:null,value:Z,onChange:S,children:function(e){return(0,C.jsx)(T,{type:"phone",name:n,required:l,isValid:m,isInvalid:g,pattern:d,placeholder:s,maxLength:u,onKeyPress:b,"data-hj-allow":!0,suffix:o})}}),P&&p&&(0,C.jsx)(R,{type:"invalid",children:p}),o&&(0,C.jsx)(V,{children:o})]})}))};function $(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var U=m()().publicRuntimeConfig,W=(0,o.ZP)(l.Z.Group).withConfig({displayName:"Textarea__StyledGroup",componentId:"sc-9nxtgm-0"})(["position:relative;padding-left:0;padding-right:0;",";"],(function(e){return e.withLabel&&(0,o.iv)(["padding-top:24px;"])})),G=(0,o.ZP)(l.Z.Label).withConfig({displayName:"Textarea__StyledLabel",componentId:"sc-9nxtgm-1"})(["position:absolute;left:0;top:0;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#333333;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#244f74;}}"]),Q=(0,o.ZP)(l.Z.Control).withConfig({displayName:"Textarea__StyledControl",componentId:"sc-9nxtgm-2"})(["resize:none;width:100%;min-height:52px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'MerriweatherLight';font-size:14px;line-height:24px;color:#424242;border:1px solid ",";background-repeat:no-repeat;background-origin:content-box;background-position-x:right;",";",";&:focus{background-color:#FFFFFF;border-color:#80BDFF;outline:0;box-shadow:0 0 0 0.2rem rgb(0 123 255 / 25%);}"],(0,i.E)("#000000",.1),(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #28A745;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(U.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(U.basePath,"/icons/V2/validation_failure.svg)"))})),K=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"Textarea__StyledFeedback",componentId:"sc-9nxtgm-3"})(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5));var H=function(e){var n=e.id,t=e.hint,o=e.label,i=e.emptyLabel,a=e.placeholder,s=e.required,l=e.validated,d=e.isInvalid,c=e.pattern,u=e.maxLength,h=e.minLength,p=e.defaultInvalidMessage,x=void 0===p?"":p,m=e.validate,g
1=e.onKeyPress,b=e.matchValue,y=e.value,Z=void 0===y?"":y,N=e.onChange,w=(0,r.useCallback)((function(e){m&&m(e,{required:s,matchValue:b}),N&&N(e)}),[N,m,s,b]),E=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t&&!v.tq||(e.show=!1),e}),[n,t]),S=!s&&l&&!d||Z&&l&&!d,O=d||s&&!Z&&l;return(0,C.jsx)(j.Z,Y(Y({},E),{},{children:(0,C.jsxs)(W,{controlId:n,withLabel:Boolean(o||i),children:[(0,C.jsxs)(G,{children:[o,!i&&o&&s&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(Q,{as:"textarea",rows:5,name:n,required:s,placeholder:a,pattern:c,maxLength:u,minLength:h,isValid:S,isInvalid:O,value:Z,onKeyPress:g,onChange:w,"data-hj-allow":!0}),(0,C.jsx)(K,{type:"invalid",children:x})]})}))};function J(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ee(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?J(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):J(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ne=(0,o.ZP)(l.Z.Group).withConfig({displayName:"Switch__StyledGroup",componentId:"sc-rxrmu2-0"})(["width:30%;margin-bottom:0!important;padding-left:0;padding-right:0;input:checked + label,input:not(:checked) + label{display:inline-block;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;cursor:pointer;}@media ","{width:100%;}"],(function(e){return e.theme.devices.tablet})),te=(0,o.ZP)(l.Z.Check).withConfig({displayName:"Switch__StyledCheck",componentId:"sc-rxrmu2-1"})(["margin-right:24px;@media ","{margin-top:12px;}"],(function(e){return e.theme.devices.tablet})),re=o.ZP.div.withConfig({displayName:"Switch__StyledWrapper",componentId:"sc-rxrmu2-2"})(["display:flex;align-items:center;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid ",";",";@media ","{flex-direction:column;}"],(0,i.E)("#000000",.1),(function(e){return e.hideDivider&&(0,o.iv)(["border-bottom:none;"])}),(function(e){return e.theme.devices.tablet})),oe=o.ZP.div.withConfig({displayName:"Switch__StyledQuestion",componentId:"sc-rxrmu2-3"})(["width:70%;padding-right:24px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;@media ","{width:100%;}"],(function(e){return e.theme.devices.tablet}));var ie=function(e){var n=e.id,t=e.hideDivider,o=e.hint,i=e.label,a=e.labelOn,s=void 0===a?"Label ON":a,l=e.labelOff,d=void 0===l?"Label OFF":l,c=e.valueOn,u=e.valueOff,h=e.value,p=e.onChange,x=e.onMouseEnter,m=e.onMouseLeave,g=(0,r.useCallback)((function(){x&&x({label:i,hint:o})}),[x,i,o]),b=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o})};return o&&!v.tq||(e.show=!1),e}),[n,o]);return(0,C.jsx)(j.Z,ee(ee({},b),{},{children:(0,C.jsxs)(re,{hideDivider:t,onMouseEnter:g,onMouseLeave:m,children:[(0,C.jsx)(oe,{children:(0,C.jsx)("span",{children:i})}),(0,C.jsxs)(ne,{controlId:n,children:[(0,C.jsx)(te,{inline:!0,id:"".concat(n,"1"),label:d,name:n,type:"radio",value:u,checked:h===u,onChange:p}),(0,C.jsx)(te,{inline:!0,id:"".concat(n,"2"),label:s,name:n,type:"radio",value:c,checked:h===c,onChange:p})]})]})}))},ae=t(989),se=t(4155);function le(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function de(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?le(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):le(Object(t)).forEac
1h((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ce=(0,o.ZP)(l.Z).withConfig({displayName:"ContactUsForm__StyledContactUsForm",componentId:"sc-1fsx153-0"})(["padding:16px;border:1px solid ",";border-radius:0.25rem;.contact-block-title{margin-bottom:1rem;padding-top:10px;padding-bottom:10px;font-family:'MerriweatherLight';color:#424242;span{font-family:'MerriweatherBold';}}button{width:100%;margin-top:2rem;margin-bottom:1rem;}@media ","{.contact-block-title{margin-bottom:0;}}"],(0,i.E)("#000000",.1),(function(e){return e.theme.devices.tablet})),ue=r.forwardRef((function(e,n){var t=e.values,o=void 0===t?{}:t,i=e.onReCaptcha,a=e.onChange,l=e.onSubmit,p="true"===o[u.xh.questionsOrder],x=se.env.NEXT_PUBLIC_GOOGLE_RECAPTCHA_PUBLIC_KEY,m=(0,r.useCallback)((function(){a&&a({target:{id:"suspendedSubmit",value:!0}})}),[a]);return(0,C.jsxs)(ce,{noValidate:!0,validated:o.validated,onSubmit:l,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsxs)("div",{className:"contact-block-title",children:["Use the form below to submit a support request. A business filing expert will be in touch with you as soon as possible.\xa0",(0,C.jsx)("span",{children:"If submitted after office hours, we will respond on the next business day."})]})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.customerFirstName)),{},{value:o[u.xh.customerFirstName],onChange:a,column:!0}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.customerLastName)),{},{value:o[u.xh.customerLastName],onChange:a}))})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,de(de({},(0,h.X)(u.xh.customerPhone)),{},{value:o[u.xh.customerPhone],onChange:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.customerEmail)),{},{loading:o.verifying,value:o[u.xh.customerEmail],onChange:a}))})]}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,de(de({},(0,h.X)(u.xh.questionsOrder)),{},{value:o[u.xh.questionsOrder],onChange:a}))})}),p&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.orderId)),{},{value:o[u.xh.orderId],onChange:a}))})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(H,de(de({},(0,h.X)(u.xh.message)),{},{validated:o.validated,value:o[u.xh.message],onChange:a}))})}),x&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(s.Z,{className:"g-recaptcha",ref:n,sitekey:x,onChange:i})})}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"ContactUsSubmitButton",onMouseDown:m,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})})),he=t(8021),pe=t(1945),xe=t(7812),me=t(1163),ve=t(9669),ge=t.n(ve),fe=t(4487),je=t(3009);function be(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ye(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?be(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):be(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}m()().publicRuntimeConfig;var Ze=(0,o.ZP)(l.Z.Group).withConfig({displayName:"ProcessingRadioGroup__StyledGroup",componentId:"sc-14xtuik-0"})(["width:100%;padding-left:0;padding-right:0;input:checked + label,input:not(:checked) + label{display:inline-block;position:relative;font-family:'MerriweatherLight';font-size:14px;line-height:24px;color:",";cursor:pointer;}.col-md-6{&:nth-child(odd){padding-right:8px;}&:nth-child(even){padding-left:8px;}}.col-12{padding-bottom:8px;}@media ","{.col-md-6{&:nth-child(odd){padding-right:15px;}&:nth-child(even){padding-left:15px;}}}"],(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet})),Ce=(0,o.ZP)(l.Z.Check).withConfig({displayName:"ProcessingRadioGroup__StyledCheck",componentId:"sc-14xtuik-1"})(["margin-top:5px;"]),Ne=o.ZP.label.withConfig({displayName:"ProcessingRadioGroup__StyledLabel",componentId:"sc-14xtuik-2"})(["display:flex;align-items:flex-start;height:calc(100% - 8px);padding:18px;border:1px solid ",";border-radius:0.25rem;position:relative;cursor:pointer;.title{display:flex;flex-direction:column;flex-grow:1;font-family:'MerriweatherBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";.description{font-family:'MerriweatherLight';font-size:12px;line-height:calc(1.42857rem * (12 / 16));}}
1.price-badge{position:absolute;top:6px;right:10px;font-family:'MerriweatherLight';font-size:16px;line-height:26px;color:",";}",";"],(0,i.E)("#000000",.1),(0,i.E)("#424242",.5),(0,i.E)("#424242",.5),(function(e){return e.active&&(0,o.iv)(["border:1px solid ",";.title{color:",";}.price-badge{color:",";}"],(0,i.E)("#000000",.1),(0,i.E)("#424242",1),(0,i.E)("#424242",1))}));var we=function(e){var n=e.id,t=e.hint,o=e.options,i=void 0===o?[]:o,a=e.value,s=e.onChange,l=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t||(e.show=!1),e}),[n,t]);return(0,C.jsx)(j.Z,ye(ye({},l),{},{children:(0,C.jsx)(Ze,{controlId:n,children:(0,C.jsx)(d.Z,{children:i.map((function(e,t){return(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsxs)(Ne,{active:a===e.value,children:[(0,C.jsx)(Ce,{id:"".concat(n).concat(t+1),name:n,inline:!0,type:"radio",label:"",value:e.value,checked:a===e.value,onChange:s}),(0,C.jsxs)("div",{className:"title",children:[(0,C.jsx)("div",{className:"name",children:(0,C.jsx)("span",{children:e.name})}),(0,C.jsx)("div",{className:"description",children:(0,C.jsxs)("span",{children:["(",e.description,")"]})})]}),(0,C.jsx)("div",{className:"price-badge",children:(0,C.jsxs)("span",{children:["$",e.price]})})]})},"".concat(n).concat(t+1))}))})})}))};function Ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Se(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ee(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ee(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Oe=o.ZP.div.withConfig({displayName:"ProcessingBlock__StyledContainer",componentId:"sc-1r63kz4-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),Me=(0,o.ZP)(d.Z).withConfig({displayName:"ProcessingBlock__StyledRow",componentId:"sc-1r63kz4-1"})(["padding-top:16px;padding-left:16px;padding-right:16px;"]),Pe=[je.a.leadDiscount,je.a.leadDiscount20,je.a.leadDiscount50];var Ie=function(e){var n=e.values,t=void 0===n?{}:n,o=e.onChange,i=(0,me.useRouter)(),a=i.query,s=i.isReady,l=(0,r.useState)([]),p=l[0],x=l[1],m=(0,r.useState)(new Map),v=m[0],g=m[1],f=(0,r.useState)(null),j=f[0],y=f[1],Z=(0,r.useState)(null),N=Z[0],w=Z[1],E=(0,b.D)(t),S=(0,b.D)(v.size),O=(0,r.useMemo)((function(){return p.filter((function(e){var n=e.code;return j?n===j:!Pe.includes(n)})).map((function(e){var n=e.code,t=e.value;return u.jF.has(n)?Se(Se({},u.jF.get(n)),{},{name:N?"EIN Application - ".concat(N.split("_")[1]||N," % Limited Time Discount"):u.jF.get(n).name,price:v.get(n)}):{name:t,value:n,price:v.get(n)}}))}),[p,v,j,N]);return(0,r.useEffect)((function(){(null===E||void 0===E?void 0:E.processingOption)!==t.processingOption&&o&&o({target:{name:"currentPrice",value:v.get(t.processingOption)||0}})}),[o,t,E,v]),(0,r.useEffect)((function(){S!==v.size&&o&&o({target:{name:"currentPrice",value:v.get(t.processingOption)||0}})}),[o,t,S,v]),(0,r.useEffect)((function(){ge().get("https://innova-labs.net:9080/category/EIN/processing-options?onlyActive=true").then((function(e){var n=new Set;e.data.values.forEach((function(e){n.add(e.code)})),x((0,xe.Z)(e.data.values||[])),!n.has(je.a.rush)&&n.has(je.a.standard)&&o&&o({target:{name:u.xh.processingOption,value:je.a.standard}})})).catch((function(e){var n=window.location.href.split("/"),t=(n[0]+"//"+n[2]).replace(/\/+$/,"");ge().get(t+"/crm/category/EIN/processing-options?onlyActive=true").then((function(e){var n=new Set;e.data.values.forEach((function(e){n.add(e.code)})),x((0,xe.Z)(e.data.values||[])),!n.has(je.a.rush)&&n.has(je.a.standard)&&o&&o({target:{name:u.xh.processingOption,value:je.a.standard}})})).catch((function(e){console.log(e.response)}))}))}),[o]),(0,r.useEffect)((function(){a.order&&a.token&&ge().get("https://innova-labs.net:9080/orders/"+a.order,{headers:{Authorization:"Bearer "+a.token}}).then((function(e){o&&o({target:{name:u.xh.processingOption,value:je.a.standard}},{currentOrder:e.data.order,orderId:e.data.order.id,token:a.token,campaignId:a.campaignId||null,sourceValue1:a.sourceValue1||null,sourceValue2:a.sourceValue2||null,sourceValue3:a.sourceValue3||null,sourceValue4:a.sourceValue4||null,sourceValue5:a.sourceValue5||null}),y(je.a.standard),ge().get("https://innova-labs.net:9080/tokens",{headers:{Authorization:"Bearer "+a.token}}).then((function(e){w(e.data.discountCouponType),o&&o({target:{name:"discountCouponType",value:e.data.discountCouponType}})})).catch((function(e){console.log(e)}))})).catch((function(e){if(e.response)o&&o({target:{name:"discountError",value:e}}
1),403!==e.response.status&&fe.Tb(new Error("Token error"),{tags:{section:"products"}});else if(e.request){var n=window.location.href.split("/"),t=(n[0]+"//"+n[2]).replace(/\/+$/,"");ge().get(t+"/crm/orders/"+a.order,{headers:{Authorization:"Bearer "+a.token}}).then((function(e){o&&o({target:{name:u.xh.processingOption,value:je.a.standard}},{currentOrder:e.data.order,orderId:e.data.order.id,token:a.token,campaignId:a.campaignId||null,sourceValue1:a.sourceValue1||null,sourceValue2:a.sourceValue2||null,sourceValue3:a.sourceValue3||null,sourceValue4:a.sourceValue4||null,sourceValue5:a.sourceValue5||null}),y(je.a.standard),ge().get(t+"/tokens",{headers:{Authorization:"Bearer "+a.token}}).then((function(e){w(e.data.discountCouponType),o&&o({target:{name:"discountCouponType",value:e.data.discountCouponType}})})).catch((function(e){console.log(e)}))})).catch((function(e){o&&o({target:{name:"discountError",value:e}}),403!==e.response.status&&fe.Tb(new Error("Token error"),{tags:{section:"products"}}),console.log(e)}))}else o&&o({target:{name:"discountError",value:e}}),fe.Tb(new Error("Token error"),{tags:{section:"products"}});console.log(e)}))}),[a,o]),(0,r.useEffect)((function(){if(s&&a.token&&N||s&&!a.token){var e={productCodes:"EIN_SoleProp"};N&&(e.discountCouponType=N),ge().get("https://innova-labs.net:9080/category/EIN/products/prices",{params:e,headers:{"Content-Type":"application/json"}}).then((function(e){var n=new Map;e.data.forEach((function(e){n.set(e.option,e.price)})),g(n)})).catch((function(n){var t=window.location.href.split("/"),r=(t[0]+"//"+t[2]).replace(/\/+$/,"");ge().get(r+"/category/EIN/products/prices",{params:e,headers:{"Content-Type":"application/json"}}).then((function(e){var n=new Map;e.data.forEach((function(e){n.set(e.option,e.price)})),g(n)})).catch((function(e){console.log(e)}))}))}}),[N,s,a]),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"page-title",children:(0,C.jsx)("span",{children:"Submit Your EIN Application"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsxs)(Oe,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Processing Option"})}),(0,C.jsx)(Me,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(we,Se(Se({},(0,h.X)(u.xh.processingOption)),{},{value:t[u.xh.processingOption],options:O,onChange:o}))})})]})})]})},ke=["id","hint","label","emptyLabel","hideDivider","placeholder","required","validated","noBottomSpace","maxLength","defaultInvalidMessage","isInvalid","value","options","onChange","onMouseEnter","onMouseLeave"];function Le(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function De(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Le(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Le(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Fe=m()().publicRuntimeConfig,Be=(0,o.ZP)(l.Z.Group).withConfig({displayName:"Select__StyledGroup",componentId:"sc-vo0m0g-0"})(["display:flex;flex-direction:column;position:relative;padding-left:0;padding-right:0;padding-bottom:16px;",";",";"],(function(e){return e.noBottomSpace&&(0,o.iv)(["padding-bottom:0px;"])}),(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;"])})),_e=(0,o.ZP)(l.Z.Label).withConfig({displayName:"Select__StyledLabel",componentId:"sc-vo0m0g-1"})(["display:flex;align-items:center;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#244f74;}}",";"],(function(e){return e.emptyLabel&&(0,o.iv)(["padding-top:18.56px;"])})),Xe=(0,o.ZP)(l.Z.Control).withConfig({displayName:"Select__StyledControl",componentId:"sc-vo0m0g-2"})(["appearance:unset;min-height:34px;width:100%;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:24px;font-family:'MerriweatherLight';font-size:14px;line-height:24px;color:#424242;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border:1px solid ",";border-radius:0.25rem;background:",";background-image:",";background-repeat:no-repeat;background-origin:content-box;background-position-x:right;background-position-y:center;",";",";",";&:focus-visible{outline:none;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),"url(".concat(Fe.basePath,"/icons/V2/V2-federal/caret_down.svg)"),(function(e){return e.isValid&&
1(0,o.iv)(["padding-top:4px !important;padding-right:0px !important;border:1px solid #198754;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(Fe.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["padding-top:4px !important;padding-right:0px !important;border:1px solid #DC3545;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(Fe.basePath,"/icons/V2/validation_failure.svg)"))}),(function(e){var n=e.isValid,t=e.isInvalid;return!(n||t)&&(0,o.iv)(["background-origin:unset!important;"])})),Ae=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"Select__StyledFeedback",componentId:"sc-vo0m0g-3"})(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5));var ze=function(e){var n=e.id,t=e.hint,o=e.label,i=e.emptyLabel,a=e.hideDivider,s=e.placeholder,l=e.required,d=e.validated,c=e.noBottomSpace,u=e.maxLength,h=e.defaultInvalidMessage,x=void 0===h?"":h,m=e.isInvalid,g=e.value,b=void 0===g?"":g,y=e.options,Z=void 0===y?[]:y,N=e.onChange,w=e.onMouseEnter,E=e.onMouseLeave,S=(0,p.Z)(e,ke),O=(0,r.useCallback)((function(e){N&&N(e)}),[N]),M=(0,r.useCallback)((function(){w&&w({label:o||s,hint:t})}),[w,o,s,t]),P=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t&&!v.tq||(e.show=!1),e}),[n,t]),I=(0,r.useMemo)((function(){var e;return null===(e=Z.find((function(e){return(null===e||void 0===e?void 0:e.value)===b})))||void 0===e?void 0:e.title}),[b,Z]),k=!l&&d&&!m||b&&d&&!m,L=m||l&&!b&&d;return(0,C.jsx)(j.Z,De(De({},P),{},{children:(0,C.jsxs)(Be,{controlId:n,hideDivider:a,className:L?"custom-control-invalid":"",title:I,onMouseEnter:M,onMouseLeave:E,noBottomSpace:c,children:[(0,C.jsxs)(_e,{emptyLabel:i,children:[o,o&&l&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsxs)(Xe,De(De({as:"select",className:"form-control",name:n,required:l,maxLength:u,value:b,onChange:O,isValid:k,isInvalid:L},S),{},{children:[(0,C.jsx)("option",{value:"",selected:!0,children:s}),Z.map((function(e){var n=e.title,t=e.value;return(0,C.jsx)("option",{value:t,children:n},t)}))]})),(0,C.jsx)(Ae,{type:"invalid",children:x})]})}))};function Te(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Re(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Te(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Te(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ve=m()().publicRuntimeConfig,qe=function(){var e=(new Date).getFullYear();return Array.from(new Array(20),(function(n,t){return{value:(e+t)%100,title:"".concat(e+t)}}))},$e=o.ZP.div.withConfig({displayName:"CreditCardInfoBlock__StyledContainer",componentId:"sc-a1z8gs-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),Ye=(0,o.ZP)(d.Z).withConfig({displayName:"CreditCardInfoBlock__StyledRow",componentId:"sc-a1z8gs-1"})(["padding:16px;.col-12{position:relative;}"]);var Ue=function(e){var n,t,o,i,a,s,l,d,p,x,m,v,g,f=e.isCardExpired,j=e.paymentInputs,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=(0,r.useState)(null),w=N[0],E=N[1],S=j||{},O=S.meta,M=S.getCardNumberProps,P=S.getCVCProps,I=O.erroredInputs,k=O.touchedInputs,D="true"===y[u.xh.billingAddress],F=(0,r.useMemo)((function(){return"0000000000000000"!==y.cardNumber&&(k.cardNumber&&I.cardNumber||!y.cardNumber&&0===y.cardNumber.length&&!y.beforeSubmit)}),[y,k.cardNumber,I.cardNumber]),B=(0,r.useMemo)((function(){return k.cvc&&I.cvc||!y.cvc&&0===y.cvc.length&&!y.beforeSubmit}),[y,k.cvc,I.cvc]);return(0,C.jsxs)($e,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Card Information"})}),(0,C.jsxs)(Ye,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Re(Re({}
1,(0,h.X)(u.xh.firstName)),{},{value:y[u.xh.firstName],isInvalid:!y[u.xh.firstName]&&!y.beforeSubmit,onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Re(Re({},(0,h.X)(u.xh.lastName)),{},{value:y[u.xh.lastName],isInvalid:!y[u.xh.lastName]&&!y.beforeSubmit,onChange:Z}))}),(0,C.jsxs)(c.Z,{xs:12,children:[(0,C.jsx)(L,Re(Re(Re({},(0,h.X)(u.xh.cardNumber)),{},{value:y[u.xh.cardNumber],thirdPartyProps:M({onChange:Z})},(g=u.xh.cardNumber,g===w?{onKeyPress:function(){}}:{})),{},{onSelect:function(e){var n=e.target,t=n.selectionEnd-n.selectionStart;E(t?n.name:null)},isInvalid:F,defaultInvalidMessage:I.cardNumber,"data-threeds":"pan"})),(0,C.jsxs)("div",{className:"card-providers mobile",children:[(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/visa-alternative.png"),alt:"VISA"}),(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/mastercard-alternative.png"),alt:"Mastercard"}),(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/discover-alternative.png"),alt:"Discover"}),(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/american-express-alternative.png"),alt:"American Express"})]}),(0,C.jsxs)("div",{className:"card-providers desktop",children:[(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/visa-alternative.png"),alt:"VISA"}),(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/mastercard-alternative.png"),alt:"Mastercard"}),(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/discover-alternative.png"),alt:"Discover"}),(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/american-express-alternative.png"),alt:"American Express"})]})]}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Re(Re({},(0,h.X)(u.xh.cardMonth)),{},{value:y[u.xh.cardMonth],label:"Exp. Month",isInvalid:f&&!y.beforeSubmit,onChange:Z,"data-threeds":"month"}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Re(Re({},(0,h.X)(u.xh.cardYear)),{},{label:"Exp. Year",emptyLabel:!1,options:qe(),value:y[u.xh.cardYear],isInvalid:f&&!y.beforeSubmit,onChange:Z,"data-threeds":"year"}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Re(Re({},(0,h.X)(u.xh.cvc)),{},{value:y[u.xh.cvc],thirdPartyProps:P({onChange:Z}),isInvalid:B,defaultInvalidMessage:I.cvc}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Re(Re({},(0,h.X)(u.xh.billingAddress)),{},{value:y[u.xh.billingAddress],onChange:Z,hideDivider:!D}))}),D&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Re(Re({},(0,h.X)(u.xh.billingAddressAddress1)),{},{label:null===(n=(0,h.X)(u.xh.billingAddressAddress1))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:y[u.xh.billingAddressAddress1],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Re(Re({},(0,h.X)(u.xh.billingAddressAddress2)),{},{label:null===(o=(0,h.X)(u.xh.billingAddressAddress2))||void 0===o||null===(i=o.placeholder)||void 0===i?void 0:i.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:y[u.xh.billingAddressAddress2],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Re(Re({},(0,h.X)(u.xh.billingAddressCity)),{},{label:null===(a=(0,h.X)(u.xh.billingAddressCity))||void 0===a||null===(s=a.placeholder)||void 0===s?void 0:s.replace("*",""),placeholder:void 0,value:y[u.xh.billingAddressCity],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Re(Re({},(0,h.X)(u.xh.billingAddressZip)),{},{label:null===(l=(0,h.X)(u.xh.billingAddressZip))||void 0===l||null===(d=l.placeholder)||void 0===d?void 0:d.replace("*",""),placeholder:void 0,value:y[u.xh.billingAddressZip],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,Re(Re({},(0,h.X)(u.xh.billingAddressState)),{},{label:null===(p=(0,h.X)(u.xh.billingAddressState))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),placeholder:null===(m=(0,h.X)(u.xh.billingAddressState))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),value:y[u.xh.billingAddressState],validated:y.validated,onChange:Z,hideDivider:!0}))})]})]})]})},We=(0,o.ZP)(l.Z).withConfig({displayName:"PaymentForm__StyledPaymentForm",componentId:"sc-r36ezp-0"})([".page-title{padding-top:8px;margin-bottom:24px;font-family:'MerriweatherBold';font-size:26px;line-height:calc(1.42857rem * (26 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'MerriweatherBold';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}button{width:100%;margin-bottom:1rem;}.card-providers{position:absolute;top:calc(18.56px + 5.5px);right:calc(15px + 4px);img{max-height:24px !important;margin-top:0 !important;margin-left:2px;margin-right:2px;width:auto;}&.mobile{display:none;}}.guarantee-logo{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-bottom:32px;.stamp-container{margin-top:24px;img{height:140px;}}}.guarantee-disclaimer{padding-left:15%;padding-right:15%;font-family:'MerriweatherLight';font-size:14px;line-height:24px;color:#1B3858;text-align:center;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{.card-providers{img{max-height:34px;margin-top:9px;}}}@media ","{padding-bottom:42px;.card-providers{top:-7px;right:15px;img{max-height:24px !important;&:last-child{margin-right:0;}}&.desktop{display:none;}}.guarantee-logo{padding-left:5%;padding-right:5%;.logo-container{display:flex;flex-wrap:wrap;justify-content:center;width:100%;img{margin-top:8px;margin-bottom:8px;}}}.guarantee-disclaimer{padding-left:0;padding-right:0;}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.laptopL}),(function(e){return e.theme.devices.tablet}));var Ge=function(e){var n,t=e.error,o=e.values,i=void 0===o?{}:o,a=e.onChange,s=e.onSubmit,l=(0,he.un)(),u=(l||{}).meta,h=(0,r.useMemo)((function(){if(null!==i.cardYear&&null!==i.cardMonth){var e=new Date;return e.setFullYear("20"+i.cardYear,i.cardMonth,1),e<new Date}return!0}),[i]),p=(0,r.useCallback)((function(e){var n=!0,t=function(t){var r={threeDSDetails:t};tds.verifyReject=null,tds.verifyResolve=null,tds.verifyListener=null,tds.threeDsTransactionId=null,n&&(n=!1,a&&a({target:{name:"dLoading",value:!1}}),"Y"===t.status||"A"===t.status?(t.protocolVersion.startsWith("2")?(r.cavv=null===t||void 0===t?void 0:t.authenticationValue,r.xid=null===t||void 0===t?void 0:t.dsTransId,r.acsTransId=null===t||void 0===t?void 0:t.acsTransId,r.eci=null===t||void 0===t?void 0:t.eci,r.threeDsStatus=null===t||void 0===t?void 0:t.status):(r.cavv=null===t||void 0===t?void 0:t.cavv,r.xid=null===t||void 0===t?void 0:t.xid,r.eci=null===t||void 0===t?void 0:t.eci),s&&s(e,r)):s&&s(e,r))},r=t,o=t;if(!document.getElementById("konnektivjs3")){var l=document.createElement("script");
1l.id="konnektivjs3",document.body.appendChild(l),l.appendChild(document.createTextNode('var tds = new ThreeDS("kform", "e03c697d935a4c7d818958ffb1384131", null, { autoSubmit: false, verbose: false, timeout: "10"});'))}if(tds.verify(r,o,{amount:i.currentPrice}),tds.errors.length>0){var d=tds.errors[0];console.log("Error: "+d)}}),[i,a,s]),x=(0,r.useCallback)((function(e){if(!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{window.scrollTo(0,0);var t={};if(i.is3DS&&"true"===String("false")){a&&a({target:{name:"dLoading",value:!0}});var r=i.cardNumber.charAt(0);"3"!==r&&"6"!==r&&"0000000000000000"!==i.cardNumber?p(e):(t.threeDSDetails="3,6 or test card",a&&a({target:{name:"dLoading",value:!1}}),s&&s(e,t))}else t.threeDSDetails="3ds off",s&&s(e,t)}a&&a({target:{name:"validated",value:!0}})}),[i,a,s,p]),m=(0,r.useCallback)((function(e){e.preventDefault(),a&&a({target:{name:"beforeSubmit",value:!1}});var n=document.querySelector(".is-invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"}),i.isRefresh?i.isRefresh&&0!==i.lastName.length&&0!==i.firstName.length&&!h&&x(e):"undefined"!==typeof u.erroredInputs.cardNumber&&"0000000000000000"!==i.cardNumber||"undefined"!==typeof u.erroredInputs.cvc||0===i.lastName.length||0===i.firstName.length||h||x(e)}),[a,x,u,h,i]);return(0,C.jsxs)(We,{id:"kform",noValidate:!0,validated:i.validated,onSubmit:m,children:[(0,C.jsx)(Ie,{values:i,onChange:a}),(0,C.jsx)(Ue,{isCardExpired:h,paymentInputs:l,values:i,onChange:a}),i.is3DS&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("input",{type:"hidden",name:"paayAmount",id:"paayAmount",value:i.currentPrice||"","data-threeds":"amount"}),(0,C.jsx)("input",{type:"hidden",name:"x_transaction_id",value:null===(n=i.currentOrder)||void 0===n?void 0:n.crmOrderId,"data-threeds":"id"})]}),t&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pe.Z,{message:(0,C.jsx)("span",{children:t.message})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Submit Application"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})},Qe=(0,o.ZP)(l.Z).withConfig({displayName:"OrderStatusRequestForm__StyledOrderStatusRequestForm",componentId:"sc-9lw5wt-0"})(["padding-bottom:62px;.inputs-block-title{margin-bottom:16px;padding-left:24px;padding-right:24px;font-family:'MerriweatherBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;text-transform:capitalize;color:#424242;span{span{color:#C61F0C;}}}.input-title{margin-bottom:4px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.inputs-block-divider{margin-bottom:46px;}.top-disclaimer{font-family:'MerriweatherLight';text-align:center;color:#424242;span{display:block;margin-top:16px;margin-bottom:16px;}}.bottom-disclaimer{font-family:'MerriweatherLight';font-size:10px;line-height:calc(1.42857rem * (10 / 16));text-align:center;color:#424242;opacity:0.5;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#424242",.5),(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet}));var Ke=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onSubmit;return(0,C.jsxs)(Qe,{noValidate:!0,validated:t.validated,onSubmit:o,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Enter order number used in your application"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Please enter your order number to check the status of your application or receive your EIN/Tax ID Number"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"orderNumber",required:!0,label:"Order Number",placeholder:"Enter Order Number",defaultInvalidMessage:"Please enter order number",value:t.orderNumber,onChange:r})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})},He=t(8153);function Je(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function en(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Je(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Je(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var nn=(0,o.ZP)(l.Z).withConfig({displayName:"OrderStatusResultForm__StyledOrderStatusResultForm",componentId:"sc-1u7pi2x-0"})(["padding-bottom:62px;.inputs-block-title{margin-bottom:16px;padding-left:24px;padding-right:24px;font-family:'MerriweatherBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;text-transform:capitalize;color:#424242;span{span{color:#C61F0C;}}}.input-title{margin-bottom:4px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.inputs-block-divider{margin-bottom:46px;}.top-disclaimer{font-family:'MerriweatherLight';text-align:center;color:#424242;span{display:block;margin-top:16px;margin-bottom:16px;}}.bottom-disclaimer{font-family:'MerriweatherLight';font-size:10px;line-height:calc(1.42857rem * (10 / 16));text-align:center;color:#424242;opacity:0.5;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#424242",.5),(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet}));var tn=function(e){var n,t,o,i,a=e.order,s=e.values,h=void 0===s?{}:s,p=(0,r.useState)(""),x=p[0],m=p[1],v=(0,r.useState)(""),g=v[0],f=v[1],j=(0,r.useState)(null),y=j[0],Z=j[1],N=(0,r.useState)(!1),w=N[0],E=N[1],S=(0,r.useState)(null),O=S[0],M=S[1],P=(0,r.useState)(null),I=P[0],k=P[1],D=(0,r.useState)(""),F=D[0],B=D[1],_=(0,r.useState)(""),X=_[0],A=_[1],z=(0,r.useState)(""),T=z[0],R=z[1],V=(0,r.useState)(""),$=V[0],Y=V[1],U=(0,r.useState)(""),W=U[0],G=U[1],Q=(0,r.useState)(""),K=Q[0],H=Q[1],J=(0,r.useState)(""),ee=J[0],ne=J[1],te=(0,r.useState)(""),re=te[0],oe=te[1],ie=(0,r.useState)(!1),se=ie[0],le=ie[1],de=(0,r.useState)(null),ce=de[0],ue=de[1],he=(0,r.useState)(null),pe=he[0],xe=he[1],me=(0,r.useState)(!1),ve=me[0],fe=me[1],je=(0,r.useState)(!1),be=je[0],ye=je[1],Ze=(0,b.D)(ve),Ce=function(e){var n=e.target,t=n.id,r=n.value;"verifying"===t?fe(r):m(r)},Ne=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!ve){ye(!1);var n=e.currentTarget,t=document.querySelector(".is-invalid");if(null!=t)t.scrollIntoView({behavior:"smooth",block:"start"});else if(!1===n.checkValidity()){e.preventDefault(),e.stopPropagation();var r=document.querySelector(".form-control:invalid");null!=r&&r.scrollIntoView({behavior:"smooth",block:"start"})}else ge().get("https://innova-labs.net:9080/orders/"+a.orderUid+"/PDF",{params:{email:x,last4:g},responseType:"arraybuffer",headers:{"Content-Type":"application/json",Accept:"application/pdf"}}).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),t=document.createElement("a");t.href=n;var r=h.orderNumber+".pdf";t.setAttribute("download",r),document.body.appendChild(t),t.click(),t.parentNode.removeChild(t)})).catch((function(e){e.response&&M(e.response.statusText)}));E(!0)}}),[a,h,x,g,ve]),we=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!ve){ye(!1);var n=e.currentTarget,t=document.querySelector(".is-invalid");if(null!=t)t.scrollIntoView({behavior:"smooth",block:"start"});else if(!1===n.checkValidity()){e.preventDefault(),e.stopPropagation();var r=document.querySelector(".form-control:invalid");null!=r&&r.scrollIntoView({behavior:"smooth",block:"start"}),E(!0)}else E(!0),ge().post("https://innova-labs.net:9080/orders/"+h.orderNumber+"/token",{},{params:{email:x},headers:{Accept:"application/json"}}).then((function(e){Z(e.data.token),E(!1),ge().get("https://innova-labs.net:9080/orders/"+a.orderUid,{headers:{Authorization:"Bearer "+e.data.token}}).then((function(e){if(xe(e.data),e.data.products&&e.data.products.length>=1){var n=e.data.products.length-1;if(e.data.order.productCode)"EIN_LLC"===e.data.order.productCode.code||"EIN_SoleProp"===e.data.order.productCode.code?(H(e.data.products[n].owner.lastName),Y(e.data.products[n].owner.firstName),G(e.data.products[n].owner.middleName),ne(e.data.products[n].owner.suffixName),oe(e.data.products[n].owner.ssn)):"EIN_CCorp"===e.data.order.productC
1ode.code||"EIN_PSC"===e.data.order.productCode.code||"EIN_SCorp"===e.data.order.productCode.code?(H(e.data.products[n].principalOfficer.lastName),Y(e.data.products[n].principalOfficer.firstName),G(e.data.products[n].principalOfficer.middleName),ne(e.data.products[n].principalOfficer.suffixName),oe(e.data.products[n].principalOfficer.ssn)):"EIN_Church"===e.data.order.productCode.code||"EIN_NonProfit"===e.data.order.productCode.code?(H(e.data.products[n].responsibleParty.lastName),Y(e.data.products[n].responsibleParty.firstName),G(e.data.products[n].responsibleParty.middleName),ne(e.data.products[n].responsibleParty.suffixName),oe(e.data.products[n].responsibleParty.ssn)):"EIN_Estate"===e.data.order.productCode.code?(H(e.data.products[n].representative.lastName),Y(e.data.products[n].representative.firstName),G(e.data.products[n].representative.middleName),ne(e.data.products[n].representative.suffixName),oe(e.data.products[n].representative.ssn)):"EIN_Partnership"===e.data.order.productCode.code?(H(e.data.products[n].primaryPartner.lastName),Y(e.data.products[n].primaryPartner.firstName),G(e.data.products[n].primaryPartner.middleName),ne(e.data.products[n].primaryPartner.suffixName),oe(e.data.products[n].primaryPartner.ssn)):"EIN_Trust"===e.data.order.productCode.code&&(H(e.data.products[n].trustee.lastName),Y(e.data.products[n].trustee.firstName),G(e.data.products[n].trustee.middleName),ne(e.data.products[n].trustee.suffixName),oe(e.data.products[n].trustee.ssn));else{var t=e.data.order.productCodes.length-1;"EIN_LLC"===e.data.order.productCodes[t].code||"EIN_SoleProp"===e.data.order.productCodes[t].code?(H(e.data.products[n].owner.lastName),Y(e.data.products[n].owner.firstName),G(e.data.products[n].owner.middleName),ne(e.data.products[n].owner.suffixName),oe(e.data.products[n].owner.ssn)):"EIN_CCorp"===e.data.order.productCodes[t].code||"EIN_PSC"===e.data.order.productCodes[t].code||"EIN_SCorp"===e.data.order.productCodes[t].code?(H(e.data.products[n].principalOfficer.lastName),Y(e.data.products[n].principalOfficer.firstName),G(e.data.products[n].principalOfficer.middleName),ne(e.data.products[n].principalOfficer.suffixName),oe(e.data.products[n].principalOfficer.ssn)):"EIN_Church"===e.data.order.productCodes[t].code||"EIN_NonProfit"===e.data.order.productCodes[t].code?(H(e.data.products[n].responsibleParty.lastName),Y(e.data.products[n].responsibleParty.firstName),G(e.data.products[n].responsibleParty.middleName),ne(e.data.products[n].responsibleParty.suffixName),oe(e.data.products[n].responsibleParty.ssn)):"EIN_Estate"===e.data.order.productCodes[t].code?(H(e.data.products[n].representative.lastName),Y(e.data.products[n].representative.firstName),G(e.data.products[n].representative.middleName),ne(e.data.products[n].representative.suffixName),oe(e.data.products[n].representative.ssn)):"EIN_Partnership"===e.data.order.productCodes[t].code?(H(e.data.products[n].primaryPartner.lastName),Y(e.data.products[n].primaryPartner.firstName),G(e.data.products[n].primaryPartner.middleName),ne(e.data.products[n].primaryPartner.suffixName),oe(e.data.products[n].primaryPartner.ssn)):"EIN_Trust"===e.data.order.productCodes[t].code&&(H(e.data.products[n].trustee.lastName),Y(e.data.products[n].trustee.firstName),G(e.data.products[n].trustee.middleName),ne(e.data.products[n].trustee.suffixName),oe(e.data.products[n].trustee.ssn))}k(e.data.products[n])}})).catch((function(e){console.log(e),M(e.response.statusText)}))})).catch((function(e){M(e.response.statusText)}))}}),[a,h,x,ve]),Ee=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{var t=en({},pe);if(t.products&&t.products.length>=1){var r=t.products.length-1;t.products[r].legalName=F,""!==X||""!==T?(t.products[r].alternateLegalNames=[],""!==X&&t.products[r].alternateLegalNames.push(X),""!==T&&t.products[r].alternateLegalNames.push(T)):t.products[r].alternateLegalNames&&delete t.products[r].alternateLegalNames}ge().put("https://innova-labs.net:9080/orders/"+a.orderUid,t,{crossdomain:!0,headers:{"Content-Type":"application/json;charset=UTF-8","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){if(200===e.status)if(ce){var n=new FormData;n.append("file",ce),ge().post("https://innova-labs.net:9080/orders/"+a.orderUid+"/file?fileType=articles_of_incorporation",n,{crossdomain:!0,headers:{"Content-Type":"multipart/form-data","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){200===e.status&&le(!0)})).catch((function(e){M(e.message)}))}else le(!0)})).catch((function(e){console.log(e),M(e.message)}))}E(!0)}),[a,pe,F,X,T,y,ce]),Se=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{var t=en({},pe);if(t.products&&t.products.length>=1){var r=t.products.length-1;
1if(t.order.productCode)"EIN_LLC"===t.order.productCode.code||"EIN_SoleProp"===t.order.productCode.code?(t.products[r].owner.lastName=K,t.products[r].owner.firstName=$,t.products[r].owner.middleName=W,t.products[r].owner.suffixName=ee,t.products[r].owner.ssn=re):"EIN_CCorp"===t.order.productCode.code||"EIN_PSC"===t.order.productCode.code||"EIN_SCorp"===t.order.productCode.code?(t.products[r].principalOfficer.lastName=K,t.products[r].principalOfficer.firstName=$,t.products[r].principalOfficer.middleName=W,t.products[r].principalOfficer.suffixName=ee,t.products[r].principalOfficer.ssn=re):"EIN_Church"===t.order.productCode.code||"EIN_NonProfit"===t.order.productCode.code?(t.products[r].responsibleParty.lastName=K,t.products[r].responsibleParty.firstName=$,t.products[r].responsibleParty.middleName=W,t.products[r].responsibleParty.suffixName=ee,t.products[r].responsibleParty.ssn=re):"EIN_Estate"===t.order.productCode.code?(t.products[r].representative.lastName=K,t.products[r].representative.firstName=$,t.products[r].representative.middleName=W,t.products[r].representative.suffixName=ee,t.products[r].representative.ssn=re):"EIN_Partnership"===t.order.productCode.code?(t.products[r].primaryPartner.lastName=K,t.products[r].primaryPartner.firstName=$,t.products[r].primaryPartner.middleName=W,t.products[r].primaryPartner.suffixName=ee,t.products[r].primaryPartner.ssn=re):"EIN_Trust"===t.order.productCode.code&&(t.products[r].trustee.lastName=K,t.products[r].trustee.firstName=$,t.products[r].trustee.middleName=W,t.products[r].trustee.suffixName=ee,t.products[r].trustee.ssn=re);else{var o=t.order.productCodes.length-1;"EIN_LLC"===t.order.productCodes[o].code||"EIN_SoleProp"===t.order.productCodes[o].code?(t.products[r].owner.lastName=K,t.products[r].owner.firstName=$,t.products[r].owner.middleName=W,t.products[r].owner.suffixName=ee,t.products[r].owner.ssn=re):"EIN_CCorp"===t.order.productCodes[o].code||"EIN_PSC"===t.order.productCodes[o].code||"EIN_SCorp"===t.order.productCodes[o].code?(t.products[r].principalOfficer.lastName=K,t.products[r].principalOfficer.firstName=$,t.products[r].principalOfficer.middleName=W,t.products[r].principalOfficer.suffixName=ee,t.products[r].principalOfficer.ssn=re):"EIN_Church"===t.order.productCodes[o].code||"EIN_NonProfit"===t.order.productCodes[o].code?(t.products[r].responsibleParty.lastName=K,t.products[r].responsibleParty.firstName=$,t.products[r].responsibleParty.middleName=W,t.products[r].responsibleParty.suffixName=ee,t.products[r].responsibleParty.ssn=re):"EIN_Estate"===t.order.productCodes[o].code?(t.products[r].representative.lastName=K,t.products[r].representative.firstName=$,t.products[r].representative.middleName=W,t.products[r].representative.suffixName=ee,t.products[r].representative.ssn=re):"EIN_Partnership"===t.order.productCodes[o].code?(t.products[r].primaryPartner.lastName=K,t.products[r].primaryPartner.firstName=$,t.products[r].primaryPartner.middleName=W,t.products[r].primaryPartner.suffixName=ee,t.products[r].primaryPartner.ssn=re):"EIN_Trust"===t.order.productCodes[o].code&&(t.products[r].trustee.lastName=K,t.products[r].trustee.firstName=$,t.products[r].trustee.middleName=W,t.products[r].trustee.suffixName=ee,t.products[r].trustee.ssn=re)}}ge().put("https://innova-labs.net:9080/orders/"+a.orderUid,t,{crossdomain:!0,headers:{"Content-Type":"application/json;charset=UTF-8","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){200===e.status&&le(!0)})).catch((function(e){M(e.message)}))}E(!0)}),[a,pe,y,$,W,K,ee,re]),Oe=(0,r.useCallback)((function(e){return"Completed"===a.processingStatus?Ne(e):("Error"!==a.processingStatus||I||"Error101NameConflict"!==a.processingError)&&("Error"!==a.processingStatus||I||"MismatchError"!==a.processingError||1!==a.productCodes.length)?"Error"===a.processingStatus&&I&&"MismatchError"===a.processingError&&1===a.productCodes.length?Se(e):"Error"===a.processingStatus&&I&&"EIN_LLC"===I.code.code&&"Error101NameConflict"===a.processingError?Ee(e):void 0:we(e)}),[a,I,Ne,we,Se,Ee]);if((0,r.useEffect)((function(){null!==I&&void 0!==I&&I.legalName&&B((null===I||void 0===I?void 0:I.legalName)||""),null!==I&&void 0!==I&&I.alternateLegalNames&&null!==I&&void 0!==I&&I.alternateLegalNames[0]&&A((null===I||void 0===I?void 0:I.alternateLegalNames[0])||""),null!==I&&void 0!==I&&I.alternateLegalNames&&null!==I&&void 0!==I&&I.alternateLegalNames[1]&&R((null===I||void 0===I?void 0:I.alternateLegalNames[1])||"")}),[I]),(0,r.useEffect)((function(){var e,n,t;Ze&&!ve&&be&&(null===(e=document.getElementById("OrderStatusSubmitButton1"))||void 0===e||e.click(),null===(n=document.getElementById("OrderStatusSubmitButton2"))||void 0===n||n.click(),null===(t=document.getElementById("OrderStatusSubmitButton3"))||void 0===t||t.click())}),[ve,Ze,be]),se)return(0,C.jsx)(nn,{children:(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Thank You"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your Order is updated"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})});
1var Me=new Date,Pe=new Date;return Me.setDate(Pe.getDate()+1),(0,C.jsxs)(nn,{id:"kform",noValidate:!0,validated:w,onSubmit:Oe,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:1===a.productCodes.length?a.productCodes[0].customerName:a.productCodes[1].customerName})})})]}),"Completed"===a.processingStatus&&(0,C.jsxs)(C.Fragment,{children:[2===a.productCodes.length&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your LLC Inc. was generated and sent to the e-mail address on file."})})})}),2!==a.productCodes.length&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your EIN/Tax ID was generated and sent to the e-mail address on file. To download a copy here, please enter your e-mail address and last 4 digits of the Responsible Party's Social Security Number below."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(c.Z,{xs:12,md:8,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,{id:"last4SSN",required:!0,label:"Last 4 of SSN",placeholder:"XXXX",pattern:".{4,}",mask:"9999",defaultInvalidMessage:"Please specify last 4 digits of the Responsible Party's Social Security Number",value:g,onChange:function(e){return f(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton1",children:"Download"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]}),"Completed_SS4"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order has been completed. We have received your signed SS-4 form and have submitted it directly to the IRS. You can expect to receive your EIN from the IRS by mail shortly."})})})}),"RAaddressAdded"===a.processingStatus&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your Resident Agent has been assigned. Your Address to use for official communications with the State is:"})})}),a.productResult&&(0,C.jsxs)(c.Z,{xs:12,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"Address:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(n=a.productResult)||void 0===n?void 0:n.address1})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"City:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(t=a.productResult)||void 0===t?void 0:t.city})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"State / Province:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:He.ib[null===(o=a.productResult)||void 0===o?void 0:o.state]})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"ZIP / Postal Code:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(i=a.productResult)||void 0===i?void 0:i.zip})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]})]})]}),"Rejected"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order was rejected due to the Secretary of State needing an alternative name, you may still refile with the updated name."})})})}),"Abandoned"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your filing has been abandoned. For questions please contact customer service."})})})}),"Cancelled"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order was cancelled at your request. A full refund was processed to the card on file. Please allow 3-5 business days for that refund to appear on your account."})})})}),"Processing"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Your submission is being reviewed by our Specialists and should be completed shortly. You will receive an e-mail with your official EIN/Tax ID documentation when complete.",(0,C.jsx)("br",{}),"Estimated Completion Time:\xa0","STANDARD"===a.processingOption&&(0,C.jsxs)(C.Fragment,{children:["(",Me.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),"\xa0 12:00 PM EST)"]}),"RUSH"===a.processingOption&&(0,C.jsxs)(C.Fragment,{children:["(",Pe.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),"\xa0 8:00 PM EST)"]})]})})})}),"Error"===a.processingStatus&&!I&&"Error101NameConflict"!==a.processingError&&("MismatchError"!==a.processingError||"MismatchError"===a.processingError&&2===a.productC
1odes.length)&&"SS4"!==a.processingError&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"Additional details are required for your submission. You will be contacted by e-mail to provide these details. Please keep a close watch for this e-mail."]})})})}),("Error"===a.processingStatus&&!I&&"SS4"===a.processingError||"AttemptedNeedsInfo"===a.processingStatus)&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"Your submission requires additional documentation which we will submit to the IRS for you. You will receive a Docusign in your e-mail to authorize this submission. Please keep a close watch for this e-mail."]})})})}),"Error"===a.processingStatus&&!I&&"Error101NameConflict"===a.processingError&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton2",children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&!I&&"MismatchError"===a.processingError&&1===a.productCodes.length&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton3",children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"MismatchError"===a.processingError&&1===a.productC
1odes.length&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"We have encountered an issue verifying the Responsible Party\u2019s identifying information. In your submission you provided:"})})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"firstName",required:!0,label:"First Name",placeholder:"First Name",pattern:"^[ a-zA-Z&\\\\-]+$",defaultInvalidMessage:"Please provide a valid name",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:$,onChange:function(e){return Y(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"middleName",label:"Middle Name",placeholder:"Middle Name (optional)",pattern:"^[ a-zA-Z&\\\\-]+$",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:W,onChange:function(e){return G(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"lastName",required:!0,label:"Last Name",placeholder:"Last Name",pattern:"^[ a-zA-Z&\\\\-]+$",defaultInvalidMessage:"Please provide last name",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:K,onChange:function(e){return H(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,{id:"responsiblePartySuffixName",label:"Suffix",placeholder:"Please select",validated:w,options:u.jJ,value:ee,onChange:function(e){return ne(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,{id:"SSN",hint:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("strong",{children:"Why do we need this?"}),(0,C.jsx)("br",{}),"Your valid Social Security Number is needed by the IRS to obtain an EIN. Rest assured, all Social Security Numbers are stored in a fully protected fashion."]}),required:!0,label:"Social Security Number",placeholder:"123-45-6789",pattern:".{11,}",mask:"999-99-9999",defaultInvalidMessage:"Please provide a valid Social Security Number Ex: 123-45-6789",value:re,onChange:function(e){return oe(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"bottom-disclaimer",children:(0,C.jsx)("span",{children:"Our validation has shown that the provided Name does not match the Social Security Number provided. Please correct the errors in these fields and hit Submit Updated Info. Please note, this must correspond to the Name and Social Security Number on file with the Social Security Administration and IRS. If you recently changed your name due to marriage, separation, or other life event, please only submit the official name on file."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Update Info"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"Error101NameConflict"===a.processingError&&"EIN_LLC"===I.code.code&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["We have encountered an issue with the LLC name provided in your submission. This could mean that another LLC in another state has a similar name. Please verify that the name provided below is accurate, and was the name submitted to the state in which you registered the LLC.",(0,C.jsx)("br",{}),"If you need to make a correction, edit the name below. If the name is correct, we ask that you please provide two alternate names, which could be very slight variations of the provided LLC name."]})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName",required:!0,label:"LLC Name",placeholder:"LLC Name",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:F,onChange:function(e){return B(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName2",label:"Alternate LLC Name",placeholder:"Alternate LLC Name",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:X,onChange:function(e){return A(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName3",label:"Alternate LLC Name 2",placeholder:"Alternate LLC Name 2",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:T,onChange:function(e){return R(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"To aid with this, you may also attach your Articles of Incorporation below:"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(l.Z.File,{id:"formcheck-api-regular",children:(0,C.jsx)(l.Z.File.Input,{className:"articles-input",onChange:function(e){return ue(e.target.files[0])}})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Update Info"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"Error101NameConflict"===a.processingError&&"EIN_LLC"!==I.code.code&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})})})]})};var rn=function(e){var n=e.order,t=void 0===n?null:n,r=e.values,o=void 0===r?{}
1:r,i=e.onChange,a=e.onSubmit;return t&&t[0]?t.map((function(e){return(0,C.jsx)(tn,{order:e,values:o},e.orderUid)})):(0,C.jsx)(Ke,{values:o,onChange:i,onSubmit:a})},on=t(1664),an=t.n(on),sn=t(7),ln=t(4486),dn=t(9100),cn=t(516),un=new Map([["/products/EINSoleProp","Sole Proprietor / Individual"],["/products/EINPartnership","Partnership"],["/products/EINCCorp","Corporation"],["/products/EINSCorp","S-Corporation"],["/products/EINEstate","Estate of Deceased Individual"],["/products/EINNonProfit","Non-Profit Organization"],["/products/EINLLC","Limited Liability Company"],["/products/EINTrust","Trust"],["/products/EINPSC","Personal Service Corporation"],["/products/EINChurch","Church Organization"]]),hn=o.ZP.div.withConfig({displayName:"ProductDropdown__StyledProductDropdown",componentId:"sc-1ibn0lk-0"})(["display:flex;gap:16px;flex-direction:row;button{padding:0;border:none !important;box-shadow:none !important;background:#FFFFFF !important;font-family:'MerriweatherBold';color:#244f74 !important;text-transform:uppercase;text-decoration:underline !important;text-align:left;&:before{display:inline-block;padding-right:7px;content:\"\\00BB\";line-height:0px;font-size:26px;border:none;}&:after{display:none;}}.dropdown-menu{padding-top:8px;padding-bottom:8px;background-color:#f3f3f3;.dropdown-item{padding:0;a{padding:.25rem 1.5rem;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#212529;text-transform:uppercase;text-shadow:none;text-decoration:none;display:block;}&:hover{background-color:#244f74;a{color:#ffffff;}}}}@media ","{flex-direction:column;gap:0px;}"],(function(e){return e.theme.devices.tablet}));var pn=function(){var e=(0,me.useRouter)(),n=(0,r.useMemo)((function(){return un.get(null===e||void 0===e?void 0:e.pathname)}),[e]);return(0,C.jsxs)(hn,{children:["Need to change entity type?",(0,C.jsxs)(sn.Z,{children:[(0,C.jsx)(ln.Z,{id:"product-dropdown",children:n}),(0,C.jsx)(dn.Z,{children:Array.from(un.keys()).map((function(e){return(0,C.jsx)(cn.Z,{children:(0,C.jsx)(an(),{href:"".concat(e),children:(0,C.jsx)("a",{children:un.get(e)})})},e)}))})]})]})};function xn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function mn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?xn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var vn=o.ZP.div.withConfig({displayName:"SoleProprietorInfoBlock__StyledContainer",componentId:"sc-ip8cbe-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),gn=(0,o.ZP)(d.Z).withConfig({displayName:"SoleProprietorInfoBlock__StyledRow",componentId:"sc-ip8cbe-1"})(["padding:16px;"]);var fn=function(e){var n,t,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(vn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Sole Proprietor Information"})}),(0,C.jsx)(gn,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,mn(mn({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:o[u.xh.dbaname],onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})})]})};function jn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function bn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?jn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jn(Object(t)).forEac
1h((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var yn=o.ZP.div.withConfig({displayName:"OwnerInfoBlock__StyledContainer",componentId:"sc-1okhpb8-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),Zn=(0,o.ZP)(d.Z).withConfig({displayName:"OwnerInfoBlock__StyledRow",componentId:"sc-1okhpb8-1"})(["padding:16px;"]);var Cn=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,f=e.values,j=void 0===f?{}:f,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(yn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Owner Information"})}),(0,C.jsxs)(Zn,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,bn(bn({},(0,h.X)(u.xh.ownerFirstName)),{},{label:null===(n=(0,h.X)(u.xh.ownerFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:j[u.xh.ownerFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,bn(bn({},(0,h.X)(u.xh.ownerMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.ownerMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:j[u.xh.ownerMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,bn(bn({},(0,h.X)(u.xh.ownerLastName)),{},{label:null===(i=(0,h.X)(u.xh.ownerLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:j[u.xh.ownerLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,bn(bn({},(0,h.X)(u.xh.ownerTitle)),{},{label:null===(s=(0,h.X)(u.xh.ownerTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.ownerTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:j[u.xh.ownerTitle],validated:j.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,bn(bn({},(0,h.X)(u.xh.ownerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.ownerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.ownerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:j[u.xh.ownerSuffixName],validated:j.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,bn(bn({},(0,h.X)(u.xh.ownerSSN)),{},{label:"Social Security Number",placeholder:"123-45-6789",value:j[u.xh.ownerSSN],onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})},Nn=t(29),wn=t(7794),En=t.n(wn);function Sn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function On(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Sn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Mn=o.ZP.div.withConfig({displayName:"ActivityBlock__StyledContainer",componentId:"sc-reb3la-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),Pn=(0,o.ZP)(d.Z).withConfig({displayName:"ActivityBlock__StyledRow",componentId:"sc-reb3la-1"})(["padding:16px;"]);function In(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){return{value:e.code,title:e.label}}))}function kn(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:4;if(t.labelForDescriptionField)return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:t.labelForDescriptionField})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,On(On({}
1,(0,h.X)(u.xh.productDescription)),{},{label:null===(e=(0,h.X)(u.xh.productDescription))||void 0===e||null===(n=e.placeholder)||void 0===n?void 0:n.replace("*",""),defaultInvalidMessage:t.labelForDescriptionField,value:r[u.xh.productDescription],onChange:a,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))})]});if(t.extraQuestion){var d,p,x,m=Array.from({length:l-s},(function(e,n){return n+s+1})).reduce((function(e,n){return e["".concat(u.xh.productExtraQuestion).concat(n)]="",e}),{productDescription:""}),v=function(e){return a&&a(e,m)},g=null===(d=t.extraQuestionOptions)||void 0===d?void 0:d.find((function(e){return e.code===r["".concat(u.xh.productExtraQuestion).concat(s)]}));return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:t.extraQuestion})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,On(On({},(0,h.X)(u.xh.productExtraQuestion)),{},{label:null===(p=(0,h.X)(u.xh.productExtraQuestion))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),id:"".concat(u.xh.productExtraQuestion).concat(s),options:In(t.extraQuestionOptions),value:r["".concat(u.xh.productExtraQuestion).concat(s)],validated:r.validated,onChange:v,onMouseEnter:o,onMouseLeave:i,hideDivider:!(null!==g&&void 0!==g&&g.labelForDescriptionField)}))}),kn(g,r,o,i,a,s+1)]})}return null}var Ln=function(e){var n,t,o,i,s,l,d,p,x,m,v,g=e.values,f=void 0===g?{}:g,j=e.onChange,b=e.onMouseEnter,y=e.onMouseLeave,Z=(0,r.useState)([]),N=Z[0],w=Z[1],E="EIN_Trust"===f.code,S="Escrow"===f[u.xh.trustType],O=(0,r.useMemo)((function(){var e="Enter the specific products/services of the business.";return"EIN_Church"===f.code&&(e="Enter the specific products/services of the Church."),"EIN_NonProfit"===f.code&&(e="Enter the specific products/services of the Non Profit."),"".concat(e," ").concat("If you own a computer repair business you could enter \u201ccomputer repair services\u201d.")}),[f]),M=(0,r.useMemo)((function(){return In(N)}),[N]),P=(0,r.useMemo)((function(){return N.find((function(e){return e.code===f[u.xh.activityPrimaryActivity]}))}),[f,N]),I=(0,r.useMemo)((function(){return In(null===P||void 0===P?void 0:P.specificProducts)}),[P]),k=(0,r.useMemo)((function(){return null===P||void 0===P?void 0:P.specificProducts.find((function(e){return e.code===f[u.xh.activitySpecificProducts]}))}),[P,f]),D=Boolean(null===P||void 0===P?void 0:P.labelForDescriptionField),F=Boolean((null===P||void 0===P||null===(n=P.specificProducts)||void 0===n?void 0:n.length)>0),B=Boolean(null===P||void 0===P?void 0:P.specificProductsLabel),_=(0,r.useCallback)((function(e){var n,t=(n={activitySpecificProducts:""},(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"1"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"2"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"3"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"4"),""),(0,a.Z)(n,"productDescription",""),n);j&&j(e,t)}),[j]),X=(0,r.useCallback)((function(e){var n,t=(n={},(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"1"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"2"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"3"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"4"),""),(0,a.Z)(n,"productDescription",""),n);j(e,t)}),[j]);return(0,r.useEffect)((function(){function e(){return(e=(0,Nn.Z)(En().mark((function e(){var n,t,r,o,i;return En().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ge().get("https://innova-labs.net:9080/category/EIN/products/primary-activity");case 3:n=e.sent,w(n.data),e.next=22;break;case 7:return e.prev=7,e.t0=e.catch(0),e.prev=9,t=window.location.href,r=t.split("/"),o=(r[0]+"//"+r[2]).replace(/\/+$/,""),e.next=15,ge().get(o+"/crm/category/EIN/products/primary-activity");case 15:i=e.sent,w(i.data),e.next=22;break;case 19:e.prev=19,e.t1=e.catch(9),fe.Tb(new Error("Primary Activity unavailable"),{tags:{section:"products"}});case 22:case"end":return e.stop()}}),e,null,[[0,7],[9,19]])})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]),E?(0,C.jsxs)(Mn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Activity"})}),(0,C.jsx)(Pn,{children:S&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,On(On({}
1,(0,h.X)(u.xh.activityReasonForApplying)),{},{label:null===(m=(0,h.X)(u.xh.activityReasonForApplying))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),value:f[u.xh.activityReasonForApplying],validated:f.validated,onChange:j,onMouseEnter:b,onMouseLeave:y,hideDivider:!0}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})})]}):(0,C.jsxs)(Mn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Activity"})}),(0,C.jsxs)(Pn,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,On(On({},(0,h.X)(u.xh.activityReasonForApplying)),{},{label:null===(t=(0,h.X)(u.xh.activityReasonForApplying))||void 0===t||null===(o=t.placeholder)||void 0===o?void 0:o.replace("*",""),value:f[u.xh.activityReasonForApplying],validated:f.validated,onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,On(On({},(0,h.X)(u.xh.activityPrimaryActivity)),{},{label:null===(i=(0,h.X)(u.xh.activityPrimaryActivity))||void 0===i||null===(s=i.placeholder)||void 0===s?void 0:s.replace("*",""),options:M,value:f[u.xh.activityPrimaryActivity],validated:f.validated,onChange:_,onMouseEnter:b,onMouseLeave:y,hideDivider:!D&&!F}))}),D&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:P.labelForDescriptionField})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,On(On({},(0,h.X)(u.xh.productDescription)),{},{label:null===(l=(0,h.X)(u.xh.productDescription))||void 0===l||null===(d=l.placeholder)||void 0===d?void 0:d.replace("*",""),defaultInvalidMessage:P.labelForDescriptionField,value:f[u.xh.productDescription],onChange:j,onMouseEnter:b,onMouseLeave:y,hideDivider:!f[u.xh.productDescription]}))})]}),F&&(0,C.jsxs)(C.Fragment,{children:[B&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:P.specificProductsLabel})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,On(On({},(0,h.X)(u.xh.activitySpecificProducts)),{},{label:null===(p=(0,h.X)(u.xh.activitySpecificProducts))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),hint:O,options:I,value:f[u.xh.activitySpecificProducts],validated:f.validated,onChange:X,onMouseEnter:b,onMouseLeave:y,hideDivider:!f[u.xh.activitySpecificProducts]}))})]}),kn(k,f,b,y,j)]})]})};function Dn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Fn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Dn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Dn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Bn=function(){var e=(new Date).getFullYear()-1900;return Array.from(new Array(e+2),(function(e,n){return{value:1900+n,title:"".concat(1900+n)}}))},_n=o.ZP.div.withConfig({displayName:"GeneralQuestionsBlock__StyledContainer",componentId:"sc-1w36i2u-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),Xn=(0,o.ZP)(d.Z).withConfig({displayName:"GeneralQuestionsBlock__StyledRow",componentId:"sc-1w36i2u-1"})(["padding:16px;"]);var An=function(e){var n=e.values,t=void 0===n?{}:n,o=e.onChange,i=e.onMouseEnter,a=e.onMouseLeave,s=["EIN_SoleProp","EIN_LLC","EIN_CCorp","EIN_SCorp"].includes(null===t||void 0===t?void 0:t.code),l="EIN_Trust"!==(null===t||void 0===t?void 0:t.code),d="true"===t[u.xh.questionsAppliedBefore],p="true"===t[u.xh.questionsHire],x="true"===t[u.xh.payLessThan4k],m="EIN_Partnership"!==(null===t||void 0===t?void 0:t.code)||"EIN_PSC"!==(null===t||void 0===t?void 0:t.code),v=(0,r.useMemo)((function(){return t[u.xh.numberOfAgricultureEmployees]+t[u.xh.numberOfHouseholdeEmployees]+t[u.xh.numberOfOtherEmployees]<1}),[t]);return(0,C.jsxs)(_n,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"General questions"})}),(0,C.jsxs)(Xn,{children:[s&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Fn(Fn({}
1,(0,h.X)(u.xh.acceptCreditCardPayments)),{},{value:t[u.xh.acceptCreditCardPayments],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Fn(Fn({},(0,h.X)(u.xh.payEmployeesViaPayroll)),{},{value:t[u.xh.payEmployeesViaPayroll],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),l&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Fn(Fn({},(0,h.X)(u.xh.questionsHighway)),{},{value:t[u.xh.questionsHighway],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Fn(Fn({},(0,h.X)(u.xh.questionsGambling)),{},{value:t[u.xh.questionsGambling],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Fn(Fn({},(0,h.X)(u.xh.questionsATF)),{},{value:t[u.xh.questionsATF],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Fn(Fn({},(0,h.X)(u.xh.questionsExcise)),{},{value:t[u.xh.questionsExcise],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Fn(Fn({},(0,h.X)(u.xh.questionsAppliedBefore)),{},{value:t[u.xh.questionsAppliedBefore],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),d&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Fn(Fn({},(0,h.X)(u.xh.previousEINNumberFirst2)),{},{value:t[u.xh.previousEINNumberFirst2],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Fn(Fn({},(0,h.X)(u.xh.previousEINNumberLast7)),{},{value:t[u.xh.previousEINNumberLast7],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Fn(Fn({},(0,h.X)(u.xh.questionsHire)),{},{value:t[u.xh.questionsHire],onChange:o,onMouseEnter:i,onMouseLeave:a,hideDivider:!p}))}),p&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Fn(Fn({},(0,h.X)(u.xh.payLessThan4k)),{},{value:t[u.xh.payLessThan4k],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),x&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Fn(Fn({},(0,h.X)(u.xh.annualTaxes)),{},{value:t[u.xh.annualTaxes],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Fn(Fn({},(0,h.X)(u.xh.numberOfAgricultureEmployees)),{},{isInvalid:v,value:t[u.xh.numberOfAgricultureEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),m&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Fn(Fn({},(0,h.X)(u.xh.numberOfHouseholdeEmployees)),{},{isInvalid:v,value:t[u.xh.numberOfHouseholdeEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Fn(Fn({},(0,h.X)(u.xh.numberOfOtherEmployees)),{},{isInvalid:v,value:t[u.xh.numberOfOtherEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,Fn(Fn({},(0,h.X)(u.xh.firstDateWagesMonth)),{},{value:t[u.xh.firstDateWagesMonth],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,Fn(Fn({},(0,h.X)(u.xh.firstDateWagesDay)),{},{value:t[u.xh.firstDateWagesDay],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,Fn(Fn({},(0,h.X)(u.xh.firstDateWagesYear)),{},{options:Bn(),value:t[u.xh.firstDateWagesYear],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a,hideDivider:!0}))})]})]})]})};function zn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Tn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?zn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):zn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Rn=o.ZP.div.withConfig({displayName:"BusinessAddressBlock__StyledContainer",componentId:"sc-1ibvash-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),Vn=o.ZP.div.withConfig({displayName:"BusinessAddressBlock__StyledStateDesc",componentId:"sc-1ibvash-1"})(["font-family:'MerriweatherLight';font-style:italic;font-size:11px;margin-bottom:20px;"]),qn=(0,o.ZP)(d.Z).withConfig({displayName:"BusinessAddressBlock__StyledRow",componentId:"sc-1ibvash-2"})(["padding:16px;"]);var $n=function(e){var n,t,o,i,a,s,l,d,p,x,m,v,g,f,j,b,y,Z,N,w,E,S,O=e.prefix,M=void 0===O?"corp":O,P=e.values,I=void 0===P?{}
1:P,k=e.onChange,D=e.onMouseEnter,F=e.onMouseLeave,B="true"===I[u.xh.altAddress],_=(0,r.useMemo)((function(){var e="Business Address (PO Boxes are not authorized)";return"EIN_Estate"===I.code&&(e="Executor/Legal Personal Representative Address (PO Boxes are not authorized)"),"EIN_Trust"===I.code&&(e="Trustee Address (PO Boxes are not authorized)"),e}),[I]),X=(0,r.useMemo)((function(){var e="Please enter the physical address of the business/entity.";return"EIN_Estate"===I.code&&(e="Enter the street address of the person that will manage the Estate."),"EIN_Trust"===I.code&&(e="Please enter the physical address of the Trustee."),"EIN_Church"===I.code&&(e="Please enter the physical address of the Church."),"EIN_NonProfit"===I.code&&(e="Please enter the physical address of the Non Profit."),"".concat(e," ").concat("Business AddressNo P.O. Boxes Allowed")}),[I]),A=(0,r.useMemo)((function(){var e="Enter the county of the business/entity.";return"EIN_Estate"===I.code&&(e="Enter the county of the person that will manage the Estate."),"EIN_Trust"===I.code&&(e="Enter the county of the Trustee."),"EIN_Church"===I.code&&(e="Enter the county of the Church."),"EIN_NonProfit"===I.code&&(e="Enter the county of the Non Profit."),"".concat(e," ").concat("Do not confuse \u201ccounty\u201d with \u201ccountry\u201d.")}),[I]);return(0,C.jsxs)(Rn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:_})}),(0,C.jsxs)(qn,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Tn(Tn({},(0,h.X)(u.xh.baseAddressAddress1.replace("base",M))),{},{label:null===(n=(0,h.X)(u.xh.baseAddressAddress1.replace("base",M)))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,isCorpAddress:!0,hint:X,pattern:"(?!.*(?:[pP][oO] [bB][oO][xX]))^[ a-zA-Z0-9\\\\\\/\\-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /. PO Boxes are not acceptable.",value:I[u.xh.baseAddressAddress1.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Tn(Tn({},(0,h.X)(u.xh.baseAddressAddress2.replace("base",M))),{},{label:null===(o=(0,h.X)(u.xh.baseAddressAddress2.replace("base",M)))||void 0===o||null===(i=o.placeholder)||void 0===i?void 0:i.replace("*",""),placeholder:void 0,isCorpAddress:!0,pattern:"(?!.*(?:[pP][oO] [bB][oO][xX]))^[ a-zA-Z0-9\\\\\\/\\-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /. PO Boxes are not acceptable.",value:I[u.xh.baseAddressAddress2.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Tn(Tn({},(0,h.X)(u.xh.baseAddressCity.replace("base",M))),{},{label:null===(a=(0,h.X)(u.xh.baseAddressCity.replace("base",M)))||void 0===a||null===(s=a.placeholder)||void 0===s?void 0:s.replace("*",""),placeholder:void 0,value:I[u.xh.baseAddressCity.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Tn(Tn({},(0,h.X)(u.xh.baseAddressZip.replace("base",M))),{},{label:null===(l=(0,h.X)(u.xh.baseAddressZip.replace("base",M)))||void 0===l||null===(d=l.placeholder)||void 0===d?void 0:d.replace("*",""),placeholder:void 0,value:I[u.xh.baseAddressZip.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:"EIN_LLC"===I.code&&(0,He.hj)(null===I||void 0===I?void 0:I.organizedState)?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(ze,Tn(Tn({},(0,h.X)(u.xh.baseAddressState.replace("base",M))),{},{label:"State / Province",value:I[u.xh.baseAddressState.replace("base",M)],validated:I.validated,onChange:k,onMouseEnter:D,onMouseLeave:F,disabled:!0,noBottomSpace:!0})),(0,C.jsxs)(Vn,{children:["For ",He.ib[null===I||void 0===I?void 0:I.organizedState]||"this state"," filings, the physical address must be located within the state."]})]}):(0,C.jsx)(ze,Tn(Tn({},(0,h.X)(u.xh.baseAddressState.replace("base",M))),{},{label:"State / Province",value:I[u.xh.baseAddressState.replace("base",M)],validated:I.validated,onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Tn(Tn({}
1,(0,h.X)(u.xh.baseAddressCounty.replace("base",M))),{},{label:null===(p=(0,h.X)(u.xh.baseAddressCounty.replace("base",M)))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),placeholder:void 0,hint:A,value:I[u.xh.baseAddressCounty.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Tn(Tn({},(0,h.X)(u.xh.altAddress)),{},{value:I[u.xh.altAddress],onChange:k,onMouseEnter:D,onMouseLeave:F,hideDivider:!B}))}),B&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Tn(Tn({},(0,h.X)(u.xh.altAddressAddress1)),{},{label:null===(m=(0,h.X)(u.xh.altAddressAddress1))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:I[u.xh.altAddressAddress1],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Tn(Tn({},(0,h.X)(u.xh.altAddressAddress2)),{},{label:null===(g=(0,h.X)(u.xh.altAddressAddress2))||void 0===g||null===(f=g.placeholder)||void 0===f?void 0:f.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:I[u.xh.altAddressAddress2],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Tn(Tn({},(0,h.X)(u.xh.altAddressCity)),{},{label:null===(j=(0,h.X)(u.xh.altAddressCity))||void 0===j||null===(b=j.placeholder)||void 0===b?void 0:b.replace("*",""),placeholder:void 0,value:I[u.xh.altAddressCity],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Tn(Tn({},(0,h.X)(u.xh.altAddressZip)),{},{label:null===(y=(0,h.X)(u.xh.altAddressZip))||void 0===y||null===(Z=y.placeholder)||void 0===Z?void 0:Z.replace("*",""),placeholder:void 0,value:I[u.xh.altAddressZip],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,Tn(Tn({},(0,h.X)(u.xh.altAddressState)),{},{label:null===(N=(0,h.X)(u.xh.altAddressState))||void 0===N||null===(w=N.placeholder)||void 0===w?void 0:w.replace("*",""),value:I[u.xh.altAddressState],validated:I.validated,onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Tn(Tn({},(0,h.X)(u.xh.altAddressCounty)),{},{label:null===(E=(0,h.X)(u.xh.altAddressCounty))||void 0===E||null===(S=E.placeholder)||void 0===S?void 0:S.replace("*",""),placeholder:void 0,hint:A,value:I[u.xh.altAddressCounty],onChange:k,onMouseEnter:D,onMouseLeave:F,hideDivider:!0}))})]})]})]})};function Yn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Un(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Yn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Yn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Wn=function(){var e=(new Date).getFullYear()-1900;return Array.from(new Array(e+2),(function(e,n){return{value:1900+n,title:"".concat(1900+n)}}))},Gn=o.ZP.div.withConfig({displayName:"DatesBlock__StyledContainer",componentId:"sc-1ov233i-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),Qn=(0,o.ZP)(d.Z).withConfig({displayName:"DatesBlock__StyledRow",componentId:"sc-1ov233i-1"})(["padding:16px;"]);var Kn=function(e){var n=e.prefix,t=void 0===n?"startDate":n,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(Gn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Dates"})}),(0,C.jsxs)(Qn,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Un(Un({},(0,h.X)(u.xh.baseDateMonth.replace("baseDate",t))),{},{value:o[u.xh.baseDateMonth.replace("baseDate",t)],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Un(Un({}
1,(0,h.X)(u.xh.baseDateDay.replace("baseDate",t))),{},{value:o[u.xh.baseDateDay.replace("baseDate",t)],validated:o.validated,options:(0,h.V)({year:o[u.xh.baseDateYear.replace("baseDate",t)],month:o[u.xh.baseDateMonth.replace("baseDate",t)]}),onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Un(Un({},(0,h.X)(u.xh.baseDateYear.replace("baseDate",t))),{},{options:Wn(),value:o[u.xh.baseDateYear.replace("baseDate",t)],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,Un(Un({},(0,h.X)(u.xh.closingMonth)),{},{value:o[u.xh.closingMonth],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})]})]})};function Hn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Jn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Hn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var et=o.ZP.div.withConfig({displayName:"CommunicationBlock__StyledContainer",componentId:"sc-jgntd7-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),nt=(0,o.ZP)(d.Z).withConfig({displayName:"CommunicationBlock__StyledRow",componentId:"sc-jgntd7-1"})(["padding:16px;"]);var tt=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onMouseEnter,i=e.onMouseLeave;return(0,C.jsxs)(et,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Applicants Contact Information"})}),(0,C.jsxs)(nt,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(q,Jn(Jn({},(0,h.X)(u.xh.customerPhone)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Mobile Phone Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"If any additional information is required to complete your application, we will contact you by phone and/or text message. Text message updates regarding your order and status will be provided."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),value:t[u.xh.customerPhone],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Jn(Jn({},(0,h.X)(u.xh.customerEmail)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Email Address\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"We will Email you any important updates regarding your application."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),hint:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("strong",{children:"Recipient E-mail"}),(0,C.jsx)("br",{}),(0,C.jsx)("strong",{children:"IMPORTANT:"})," This is the e-mail where we will send the EIN Number, once processed. Make sure it is an e-mail that is checked frequently, and can receive incoming messages."]}),loading:t.verifying,value:t[u.xh.customerEmail],onChange:r,onMouseEnter:o,onMouseLeave:i}))})]})]})},rt=(m()().publicRuntimeConfig,(0,o.ZP)(l.Z.Group).withConfig({displayName:"AgreementCheckbox__StyledGroup",componentId:"sc-11um3hr-0"})(["padding-left:0;padding-right:0;margin-bottom:10px;padding-bottom:24px;border-bottom:1px solid #eaeaea;",";input:checked,input:not(:checked){position:absolute;top:2px;left:0;}input:checked + label,input:not(:checked) + label{display:inline-block;position:relative;padding-left:20px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;cursor:pointer;}"],(function(e){return e.hideDivider&&(0,o.iv)(["border-bottom:none;"])}))),ot=(0,o.ZP)(l.Z.Check).withConfig({displayName:"AgreementCheckbox__StyledCheck",componentId:"sc-11um3hr-1"})(["margin-right:24px;"]);var it=function(e){var n=e.id,t=e.label,r=void 0===t?"Label":t,o=e.hideDivider;return(0,C.jsx)(rt,{controlId:n,className:"custom-control-invalid",hideDivider:o,children:(0,C.jsx)(ot,{inline:!0,required:!0,type:"checkbox",name:n,label:r})})},at=(0,o.ZP)(d.Z).withConfig({displayName:"AgreementBlock__StyledRow",componentId:"sc-2xk5k2-0"})([".input-label{span{> span{color:#790000;}}}"]);var st=function(){return(0,C.jsxs)(at,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-label",children:(0,C.jsxs)("span",{children:["Client Agreement ",(0,C.jsx)("span",{children:"*"})]})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(it,{id:"formAgreement",hideDivider:!0,label:(0,C.jsx)("span",{children:"By checking this box, I represent and warrant that all of the information provided above is accurate and complete. I authorize EIN Federal Tax ID to act as a \u201cThird Party Designee\u201d as described
1in the instructions to Form SS-4 to apply for and receive the Employer Identification Number from the IRS. I agree to the Privacy Policy and Terms and Conditions of service and to receive text message updates regarding my order."})})})]})},lt=(0,o.ZP)(l.Z).withConfig({displayName:"EINSolePropForm__StyledEINSolePropForm",componentId:"sc-rabk8c-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'MerriweatherBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'MerriweatherBold';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'MerriweatherBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'MerriweatherLight';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var dt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(fn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Cn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ln,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(An,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Kn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(tt,{values:o,onChange:i}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(lt,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,className:"d-flex justify-content-center",children:(0,C.jsx)("div",{className:"form-title",children:"Sole Proprietor Tax ID / SS-4 Form"})})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(fn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Cn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Ln,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(An,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)($n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Kn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(tt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})},ct=t(853);function ut(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ht(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?ut(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ut(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var pt=o.ZP.div.withConfig({displayName:"PartnershipInfoBlock__StyledContainer",componentId:"sc-1m5kalc-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),xt=(0,o.ZP)(d.Z).withConfig({displayName:"PartnershipInfoBlock__StyledRow",componentId:"sc-1m5kalc-1"})(["padding:16px;"]);var mt=function(e){var n,t,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(pt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(xt,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,ht(ht({},(0,h.X)(u.xh.legalName)),{},{label:"Name of the Partnership",defaultInvalidMessage:"Please enter the name of the partnership",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: Corp, LLC, PLLC, LC, Inc."}),pattern:"(?!.*(?:[ ][lL][cC]$))(?!.*(?:[ ][lL][lL][cC]$))(?!.*(?:[ ][pP][lL][lL][cC]$))(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))(?!.*(?:[ ][iI][nN][cC][oO][rR][pP][oO][rR][aA][tT][eE][dD]$))^[ a-zA-Z0-9&\\\\-]+$",validate:ct.hK,value:o[u.xh.legalName],onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,ht(ht({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:o[u.xh.dbaname],onChange:i,onMouseEnter:a,onMouseLeave:s}))})]})]})};function vt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function gt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?vt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ft=o.ZP.div.withConfig({displayName:"PrimaryPartnerInfoBlock__StyledContainer",componentId:"sc-1883kut-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),jt=(0,o.ZP)(d.Z).withConfig({displayName:"PrimaryPartnerInfoBlock__StyledRow",componentId:"sc-1883kut-1"})(["padding:16px;"]);var bt=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,f,j,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=e.onMouseEnter,w=e.onMouseLeave;return(0,C.jsxs)(ft,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Primary Partner Information"})}),(0,C.jsxs)(jt,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,gt(gt({},(0,h.X)(u.xh.primaryPartnerFirstName)),{},{label:null===(n=(0,h.X)(u.xh.primaryPartnerFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:y[u.xh.primaryPartnerFirstName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,gt(gt({},(0,h.X)(u.xh.primaryPartnerMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.primaryPartnerMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:y[u.xh.primaryPartnerMiddleName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,gt(gt({},(0,h.X)(u.xh.primaryPartnerLastName)),{},{label:null===(i=(0,h.X)(u.xh.primaryPartnerLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:y[u.xh.primaryPartnerLastName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,gt(gt({}
1,(0,h.X)(u.xh.primaryPartnerTitle)),{},{label:null===(s=(0,h.X)(u.xh.primaryPartnerTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.primaryPartnerTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:y[u.xh.primaryPartnerTitle],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,gt(gt({},(0,h.X)(u.xh.primaryPartnerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.primaryPartnerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.primaryPartnerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:y[u.xh.primaryPartnerSuffixName],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,gt(gt({},(0,h.X)(u.xh.primaryPartnerSSN)),{},{label:"Social Security Number",placeholder:null===(f=(0,h.X)(u.xh.primaryPartnerSSN))||void 0===f||null===(j=f.placeholder)||void 0===j?void 0:j.replace("*",""),value:y[u.xh.primaryPartnerSSN],onChange:Z,onMouseEnter:N,onMouseLeave:w,hideDivider:!0}))})]})]})},yt=(0,o.ZP)(l.Z).withConfig({displayName:"EINPartnershipForm__StyledEINPartnershipForm",componentId:"sc-aq7flh-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'MerriweatherBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'MerriweatherBold';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'MerriweatherBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'MerriweatherLight';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Zt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(mt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(bt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ln,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(An,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Kn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(tt,{values:o,onChange:i}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(yt,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,className:"d-flex justify-content-center",children:(0,C.jsx)("div",{className:"form-title",children:"Partnerships Tax ID / SS-4 Form"})})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(mt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(bt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Ln,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(An,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)($n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Kn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(tt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Ct(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Nt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Ct(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ct(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var wt=o.ZP.div.withConfig({displayName:"CCorpInfoBlock__StyledContainer",componentId:"sc-1jj23ix-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),Et=(0,o.ZP)(d.Z).withConfig({displayName:"CCorpInfoBlock__StyledRow",componentId:"sc-1jj23ix-1"})(["padding:16px;"]);var St=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(wt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Et,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Nt(Nt({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Corporation",defaultInvalidMessage:"Please provide a valid corporation name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Nt(Nt({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,Nt(Nt({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d}))})]})]})};function Ot(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Mt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ot(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ot(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Pt=o.ZP.div.withConfig({displayName:"PrincipalOfficerInfoBlock__StyledContainer",componentId:"sc-1kta9js-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),It=(0,o.ZP)(d.Z).withConfig({displayName:"PrincipalOfficerInfoBlock__StyledRow",componentId:"sc-1kta9js-1"})(["padding:16px;"]);var kt=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,f,j,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=e.onMouseEnter,w=e.onMouseLeave;return(0,C.jsxs)(Pt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Principal Officer Information"})}),(0,C.jsxs)(It,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Mt(Mt({},(0,h.X)(u.xh.principalOfficerFirstName)),{},{label:null===(n=(0,h.X)(u.xh.principalOfficerFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:y[u.xh.principalOfficerFirstName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Mt(Mt({},(0,h.X)(u.xh.principalOfficerMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.principalOfficerMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:y[u.xh.principalOfficerMiddleName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Mt(Mt({},(0,h.X)(u.xh.principalOfficerLastName)),{},{label:null===(i=(0,h.X)(u.xh.principalOfficerLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:y[u.xh.principalOfficerLastName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Mt(Mt({},(0,h.X)(u.xh.principalOfficerTitle)),{}
1,{label:null===(s=(0,h.X)(u.xh.principalOfficerTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.principalOfficerTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:y[u.xh.principalOfficerTitle],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Mt(Mt({},(0,h.X)(u.xh.principalOfficerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.principalOfficerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.principalOfficerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:y[u.xh.principalOfficerSuffixName],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,Mt(Mt({},(0,h.X)(u.xh.principalOfficerSSN)),{},{label:"Social Security Number",placeholder:null===(f=(0,h.X)(u.xh.principalOfficerSSN))||void 0===f||null===(j=f.placeholder)||void 0===j?void 0:j.replace("*",""),value:y[u.xh.principalOfficerSSN],onChange:Z,onMouseEnter:N,onMouseLeave:w}))})]})]})},Lt=(0,o.ZP)(l.Z).withConfig({displayName:"EINCCorpForm__StyledEINCCorpForm",componentId:"sc-1p4t355-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'MerriweatherBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'MerriweatherBold';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'MerriweatherBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'MerriweatherLight';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Dt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(St,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(kt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ln,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(An,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Kn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(tt,{values:o,onChange:i}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(Lt,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,className:"d-flex justify-content-center",children:(0,C.jsx)("div",{className:"form-title",children:"Corporations Tax ID / SS-4 Form"})})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(St,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(kt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Ln,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(An,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)($n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Kn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(tt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Ft(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Bt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Ft(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ft(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _t=o.ZP.div.withConfig({displayName:"SCorpInfoBlock__StyledContainer",componentId:"sc-312olb-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),Xt=(0,o.ZP)(d.Z).withConfig({displayName:"SCorpInfoBlock__StyledRow",componentId:"sc-312olb-1"})(["padding:16px;"]);var At=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(_t,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Xt,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Bt(Bt({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the S-Corporation",defaultInvalidMessage:"Please provide a valid corporation name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Bt(Bt({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,Bt(Bt({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d}))})]})]})},zt=(0,o.ZP)(l.Z).withConfig({displayName:"EINSCorpForm__StyledEINSCorpForm",componentId:"sc-78nroi-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'MerriweatherBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'MerriweatherBold';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'MerriweatherBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'MerriweatherLight';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Tt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(At,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(kt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ln,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(An,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Kn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(tt,{values:o,onChange:i}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(zt,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,className:"d-flex justify-content-center",children:(0,C.jsx)("div",{className:"form-title",children:"S-Corporations Tax ID / SS-4 Form"})})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(At,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(kt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Ln,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(An,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)($n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Kn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(tt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Rt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Vt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Rt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Rt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var qt=o.ZP.div.withConfig({displayName:"DeceasedIndividualInfoBlock__StyledContainer",componentId:"sc-1r02uig-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),$t=(0,o.ZP)(d.Z).withConfig({displayName:"DeceasedIndividualInfoBlock__StyledRow",componentId:"sc-1r02uig-1"})(["padding:16px;"]);var Yt=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v=e.values,g=void 0===v?{}:v,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(qt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Deceased Individual Information"})}),(0,C.jsxs)($t,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Vt(Vt({},(0,h.X)(u.xh.deceasedFirstName)),{},{label:null===(n=(0,h.X)(u.xh.deceasedFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:g[u.xh.deceasedFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Vt(Vt({},(0,h.X)(u.xh.deceasedMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.deceasedMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:g[u.xh.deceasedMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Vt(Vt({},(0,h.X)(u.xh.deceasedLastName)),{},{label:null===(i=(0,h.X)(u.xh.deceasedLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:g[u.xh.deceasedLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,Vt(Vt({},(0,h.X)(u.xh.deceasedSuffixName)),{},{label:null===(s=(0,h.X)(u.xh.deceasedSuffixName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.deceasedSuffixName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:g[u.xh.deceasedSuffixName],validated:g.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(q,Vt(Vt({},(0,h.X)(u.xh.deceasedSSN)),{},{placeholder:null===(x=(0,h.X)(u.xh.deceasedSSN))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.deceasedSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),value:g[u.xh.deceasedSSN],onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})};function Ut(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Wt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ut(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ut(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Gt=o.ZP.div.withConfig({displayName:"RepresentativeInfoBlock__StyledContainer",componentId:"sc-2lm3z6-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),Qt=(0,o.ZP)(d.Z).withConfig({displayName:"RepresentativeInfoBlock__StyledRow",componentId:"sc-2lm3z6-1"})(["padding:16px;"]);var Kt=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b,y,Z=e.values,N=void 0===Z?{}
1:Z,w=e.onChange,E=e.onMouseEnter,S=e.onMouseLeave;return(0,C.jsxs)(Gt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Representative/Executor Information"})}),(0,C.jsxs)(Qt,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Wt(Wt({},(0,h.X)(u.xh.representativeFirstName)),{},{label:null===(n=(0,h.X)(u.xh.representativeFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:N[u.xh.representativeFirstName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Wt(Wt({},(0,h.X)(u.xh.representativeMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.representativeMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:N[u.xh.representativeMiddleName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Wt(Wt({},(0,h.X)(u.xh.representativeLastName)),{},{label:null===(i=(0,h.X)(u.xh.representativeLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:N[u.xh.representativeLastName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Wt(Wt({},(0,h.X)(u.xh.representativeTitle)),{},{label:null===(s=(0,h.X)(u.xh.representativeTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.representativeTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:N[u.xh.representativeTitle],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Wt(Wt({},(0,h.X)(u.xh.representativeSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.representativeSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.representativeSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:N[u.xh.representativeSuffixName],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,Wt(Wt({},(0,h.X)(u.xh.representativeSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.representativeSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(b=(0,h.X)(u.xh.representativeSSN))||void 0===b||null===(y=b.placeholder)||void 0===y?void 0:y.replace("*",""),value:N[u.xh.representativeSSN],onChange:w,onMouseEnter:E,onMouseLeave:S,hideDivider:!0}))})]})]})},Ht=(0,o.ZP)(l.Z).withConfig({displayName:"EINEstateForm__StyledEINEstateForm",componentId:"sc-16vv6j3-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'MerriweatherBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'MerriweatherBold';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'MerriweatherBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'MerriweatherLight';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}
1"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Jt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Yt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Kt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($n,{prefix:"representative",values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Kn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(tt,{values:o,onChange:i}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(Ht,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,className:"d-flex justify-content-center",children:(0,C.jsx)("div",{className:"form-title",children:"Estate Tax ID / SS-4 Form"})})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Yt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Kt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)($n,{prefix:"representative",values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Kn,{prefix:"dateOfDeath",values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(tt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function er(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function nr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?er(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):er(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var tr=o.ZP.div.withConfig({displayName:"NonProfitOrgInfoBlock__StyledContainer",componentId:"sc-1aeak7v-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),rr=(0,o.ZP)(d.Z).withConfig({displayName:"NonProfitOrgInfoBlock__StyledRow",componentId:"sc-1aeak7v-1"})(["padding:16px;"]);var or=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(tr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Non-
1profit Organization"})}),(0,C.jsxs)(rr,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,nr(nr({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Non-profit Organization",defaultInvalidMessage:"Please provide a valid organization name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,nr(nr({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,nr(nr({},(0,h.X)(u.xh.nonProfitType)),{},{label:null===(r=(0,h.X)(u.xh.nonProfitType))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:a[u.xh.nonProfitType],onChange:s,onMouseEnter:l,onMouseLeave:d}))})]})]})};function ir(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ar(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ir(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ir(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var sr=o.ZP.div.withConfig({displayName:"ResponsiblePartyInfoBlock__StyledContainer",componentId:"sc-1uc2one-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),lr=(0,o.ZP)(d.Z).withConfig({displayName:"ResponsiblePartyInfoBlock__StyledRow",componentId:"sc-1uc2one-1"})(["padding:16px;"]);var dr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,f,j,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=e.onMouseEnter,w=e.onMouseLeave;return(0,C.jsxs)(sr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Responsible Party Information"})}),(0,C.jsxs)(lr,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,ar(ar({},(0,h.X)(u.xh.responsiblePartyFirstName)),{},{label:null===(n=(0,h.X)(u.xh.responsiblePartyFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:y[u.xh.responsiblePartyFirstName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,ar(ar({},(0,h.X)(u.xh.responsiblePartyMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.responsiblePartyMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:y[u.xh.responsiblePartyMiddleName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,ar(ar({},(0,h.X)(u.xh.responsiblePartyLastName)),{},{label:null===(i=(0,h.X)(u.xh.responsiblePartyLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:y[u.xh.responsiblePartyLastName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,ar(ar({},(0,h.X)(u.xh.responsiblePartyTitle)),{},{label:null===(s=(0,h.X)(u.xh.responsiblePartyTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.responsiblePartyTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:y[u.xh.responsiblePartyTitle],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,ar(ar({},(0,h.X)(u.xh.responsiblePartySuffixName)),{},{label:null===(x=(0,h.X)(u.xh.responsiblePartySuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.responsiblePartySuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:y[u.xh.responsiblePartySuffixName],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,ar(ar({}
1,(0,h.X)(u.xh.responsiblePartySSN)),{},{label:"Social Security Number",placeholder:null===(f=(0,h.X)(u.xh.responsiblePartySSN))||void 0===f||null===(j=f.placeholder)||void 0===j?void 0:j.replace("*",""),value:y[u.xh.responsiblePartySSN],onChange:Z,onMouseEnter:N,onMouseLeave:w,hideDivider:!0}))})]})]})},cr=(0,o.ZP)(l.Z).withConfig({displayName:"EINNonProfitForm__StyledEINNonProfitForm",componentId:"sc-ebyxv9-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'MerriweatherBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'MerriweatherBold';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'MerriweatherBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'MerriweatherLight';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var ur,hr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(or,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(dr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ln,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(An,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Kn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(tt,{values:o,onChange:i}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(cr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,className:"d-flex justify-content-center",children:(0,C.jsx)("div",{className:"form-title",children:"Nonprofit Organization Tax ID / SS-4 Form"})})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(or,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(dr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Ln,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(An,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)($n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Kn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(tt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})},pr=t(1383);function xr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function mr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?xr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var vr=(0,o.ZP)(l.Z.Group).withConfig({displayName:"RadioGroup__StyledGroup",componentId:"sc-1cb82zh-0"})(["display:flex;flex-direction:column;",";padding-left:0;padding-right:0;margin-bottom:16px !important;input:checked + label,input:not(:checked) + label{display:inline-block;padding-left:8px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;cursor:pointer;}"],(function(e){return e.horizontal&&css(ur||(ur=(0,pr.Z)(["\n flex-direction: row;\n "])))})),gr=(0,o.ZP)(l.Z.Check).withConfig({displayName:"RadioGroup__StyledCheck",componentId:"sc-1cb82zh-1"})(["margin-right:24px;margin-top:0.5rem;"]);var fr=function(e){var n=e.id,t=e.name,o=e.hint,i=e.horizontal,a=e.options,s=void 0===a?[]:a,l=e.value,d=e.onChange,c=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o})};return o&&!v.tq||(e.show=!1),e}),[n,o]);return(0,C.jsx)(j.Z,mr(mr({},c),{},{children:(0,C.jsx)(vr,{controlId:n,horizontal:i,children:s.map((function(e,r){return(0,C.jsx)(gr,{id:"".concat(t||n).concat(r+1),name:t||n,inline:!0,type:"radio",label:e.label,value:e.value,checked:l===e.value,onChange:d},"".concat(t||n).concat(r+1))}))})}))};function jr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function br(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?jr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var yr=o.ZP.div.withConfig({displayName:"LLCInfoBlock__StyledContainer",componentId:"sc-37p0ew-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),Zr=(0,o.ZP)(d.Z).withConfig({displayName:"LLCInfoBlock__StyledRow",componentId:"sc-37p0ew-1"})(["padding:16px;"]);var Cr=function(e){var n,t,o,i,a=e.values,s=void 0===a?{}:a,l=e.onChange,d=e.onMouseEnter,p=e.onMouseLeave,x="2"===s[u.xh.LLCMembers],m="true"===s[u.xh.husbandAndWife],v=(0,b.D)(s);return(0,r.useEffect)((function(){v&&v[u.xh.organizedState]!==s[u.xh.organizedState]&&(0,ct.dg)({target:{id:u.xh.legalName,value:s[u.xh.legalName]||""}},{matchValue:s[u.xh.organizedState]})}),[v,s]),(0,C.jsxs)(yr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Zr,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,br(br({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the LLC",defaultInvalidMessage:"Please provide a valid organization name",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: Corp, Inc, PA."}),pattern:"(?!.*(?:[ ][pP][aA]$))(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))(?!.*(?:[ ][iI][nN][cC][oO][rR][pP][oO][rR][aA][tT][eE][dD]$))^[ a-zA-Z0-9&\\\\-]+$",validate:ct.dg,value:s[u.xh.legalName],matchValue:s[u.xh.organizedState],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,br(br({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:s[u.xh.dbaname],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,br(br({},(0,h.X)(u.xh.LLCMembers)),{},{value:s[u.xh.LLCMembers],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,br(br({}
1,(0,h.X)(u.xh.organizedState)),{},{label:null===(o=(0,h.X)(u.xh.organizedState))||void 0===o||null===(i=o.placeholder)||void 0===i?void 0:i.replace("*",""),value:s[u.xh.organizedState],validated:s.validated,onChange:l,onMouseEnter:d,onMouseLeave:p}))}),x&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,br(br({},(0,h.X)(u.xh.husbandAndWife)),{},{value:s[u.xh.husbandAndWife],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),m&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:"Please choose one of the following:"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(fr,br(br({},(0,h.X)(u.xh.multiMember)),{},{value:s[u.xh.multiMember],onChange:l}))})]}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:"Select the Tax classification of the LLC:"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(fr,br(br({},(0,h.X)(u.xh.taxClassification)),{},{value:s[u.xh.taxClassification],onChange:l}))})]})]})};function Nr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function wr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Nr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Nr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Er=o.ZP.div.withConfig({displayName:"ManagingMemberInfoBlock__StyledContainer",componentId:"sc-hzlu09-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),Sr=(0,o.ZP)(d.Z).withConfig({displayName:"ManagingMemberInfoBlock__StyledRow",componentId:"sc-hzlu09-1"})(["padding:16px;"]);var Or=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,f,j,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=e.onMouseEnter,w=e.onMouseLeave;return(0,C.jsxs)(Er,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Managing Member Information"})}),(0,C.jsxs)(Sr,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,wr(wr({},(0,h.X)(u.xh.ownerFirstName)),{},{label:null===(n=(0,h.X)(u.xh.ownerFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:y[u.xh.ownerFirstName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,wr(wr({},(0,h.X)(u.xh.ownerMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.ownerMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:y[u.xh.ownerMiddleName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,wr(wr({},(0,h.X)(u.xh.ownerLastName)),{},{label:null===(i=(0,h.X)(u.xh.ownerLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:y[u.xh.ownerLastName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,wr(wr({},(0,h.X)(u.xh.ownerTitle)),{},{label:null===(s=(0,h.X)(u.xh.ownerTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.ownerTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:y[u.xh.ownerTitle],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,wr(wr({},(0,h.X)(u.xh.ownerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.ownerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.ownerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:y[u.xh.ownerSuffixName],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,wr(wr({},(0,h.X)(u.xh.ownerSSN)),{},{label:"Social Security Number",placeholder:null===(f=(0,h.X)(u.x
1h.ownerSSN))||void 0===f||null===(j=f.placeholder)||void 0===j?void 0:j.replace("*",""),value:y[u.xh.ownerSSN],onChange:Z,onMouseEnter:N,onMouseLeave:w,hideDivider:!0}))})]})]})},Mr=(0,o.ZP)(l.Z).withConfig({displayName:"EINLLCForm__StyledEINLLCForm",componentId:"sc-eiztxq-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'MerriweatherBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'MerriweatherBold';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'MerriweatherBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'MerriweatherLight';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Pr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Cr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Or,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ln,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(An,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Kn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(tt,{values:o,onChange:i}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(Mr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,className:"d-flex justify-content-center",children:(0,C.jsx)("div",{className:"form-title",children:"Limited Liability Company (LLC) Tax ID / SS-4 Form"})})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Cr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Or,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Ln,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(An,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)($n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Kn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(tt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Ir(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function kr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Ir(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ir(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Lr=o.ZP.div.withConfig({displayName:"TrustInfoBlock__StyledContainer",componentId:"sc-1yjpmk0-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),Dr=(0,o.ZP)(d.Z).withConfig({displayName:"TrustInfoBlock__StyledRow",componentId:"sc-1yjpmk0-1"})(["padding:16px;"]);var Fr=function(e){var n,t,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(Lr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Dr,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,kr(kr({},(0,h.X)(u.xh.legalName)),{},{hint:(0,C.jsxs)(C.Fragment,{children:["Special instructions for entering the legal name of your trust:",(0,C.jsxs)("ol",{children:[(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Omit any names of trustees."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Place the individual's name at the beginning of your trust name."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Do not enter the words 'date' or 'dated'."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Do not enter the alpha month, replace with corresponding numeric character."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Omit the word 'The' from the beginning of your trust name."})]}),"The only punctuation and special characters allowed are hyphen (-) and ampersand (&).",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"The legal name may not contain any of the following endings: Corp, LLC, PLLC, LC, Inc, PA."]}),label:"Legal Name of Trust",defaultInvalidMessage:"Please provide a valid trust name",value:o[u.xh.legalName],onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,kr(kr({},(0,h.X)(u.xh.trustType)),{},{label:null===(n=(0,h.X)(u.xh.trustType))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:o[u.xh.trustType],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})]})]})};function Br(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _r(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Br(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Br(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Xr=o.ZP.div.withConfig({displayName:"CreatorInfoBlock__StyledContainer",componentId:"sc-16wnt0m-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),Ar=(0,o.ZP)(d.Z).withConfig({displayName:"CreatorInfoBlock__StyledRow",componentId:"sc-16wnt0m-1"})(["padding:16px;"]);var zr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v=e.values,g=void 0===v?{}:v,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(Xr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Creator/Grantor Information"})}),(0,C.jsxs)(Ar,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,_r(_r({},(0,h.X)(u.xh.createrFirstName)),{},{label:null===(n=(0,h.X)(u.xh.createrFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:g[u.xh.createrFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,_r(_r({}
1,(0,h.X)(u.xh.createrMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.createrMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:g[u.xh.createrMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,_r(_r({},(0,h.X)(u.xh.createrLastName)),{},{label:null===(i=(0,h.X)(u.xh.createrLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:g[u.xh.createrLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,_r(_r({},(0,h.X)(u.xh.createrSuffixName)),{},{label:null===(s=(0,h.X)(u.xh.createrSuffixName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.createrSuffixName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:g[u.xh.createrSuffixName],validated:g.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(q,_r(_r({},(0,h.X)(u.xh.createrSSN)),{},{value:g[u.xh.createrSSN],label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.createrSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(x=(0,h.X)(u.xh.createrSSN))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})};function Tr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Rr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Tr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Tr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Vr=o.ZP.div.withConfig({displayName:"ConservatorInfoBlock__StyledContainer",componentId:"sc-1ent9rj-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;"],(0,i.E)("#000000",.1)),qr=(0,o.ZP)(d.Z).withConfig({displayName:"ConservatorInfoBlock__StyledRow",componentId:"sc-1ent9rj-1"})(["padding:16px;"]);var $r=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v=e.values,g=void 0===v?{}:v,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(Vr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Conservator Information"})}),(0,C.jsxs)(qr,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Rr(Rr({},(0,h.X)(u.xh.trusteeFirstName)),{},{label:null===(n=(0,h.X)(u.xh.trusteeFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:g[u.xh.trusteeFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Rr(Rr({},(0,h.X)(u.xh.trusteeMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.trusteeMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:g[u.xh.trusteeMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Rr(Rr({},(0,h.X)(u.xh.trusteeLastName)),{},{label:null===(i=(0,h.X)(u.xh.trusteeLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:g[u.xh.trusteeLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,Rr(Rr({},(0,h.X)(u.xh.trusteeTitle)),{},{label:null===(s=(0,h.X)(u.xh.trusteeTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.x
1h.trusteeTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:g[u.xh.trusteeTitle],validated:g.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(q,Rr(Rr({},(0,h.X)(u.xh.trusteeSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.trusteeSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(x=(0,h.X)(u.xh.trusteeSSN))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),value:g[u.xh.trusteeSSN],onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})},Yr=(0,o.ZP)(l.Z).withConfig({displayName:"EINTrustForm__StyledEINTrustForm",componentId:"sc-1d9q6ai-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'MerriweatherBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'MerriweatherBold';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'MerriweatherBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'MerriweatherLight';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Ur=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Fr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(zr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($r,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(An,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($n,{prefix:"trustee",values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Kn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(tt,{values:o,onChange:i}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(Yr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,className:"d-flex justify-content-center",children:(0,C.jsx)("div",{className:"form-title",children:"Trusts Tax ID / SS-4 Form"})})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Fr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(zr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)($r,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(An,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)($n,{prefix:"trustee",values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Kn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(tt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Wr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Gr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Wr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Qr=o.ZP.div.withConfig({displayName:"PSCInfoBlock__StyledContainer",componentId:"sc-snxpdd-0"})(["margin-bottom:24px;border:1px solid ",';border-radius:0.25rem;label[for="legalName"]{width:100%;}'],(0,i.E)("#000000",.1)),Kr=(0,o.ZP)(d.Z).withConfig({displayName:"PSCInfoBlock__StyledRow",componentId:"sc-snxpdd-1"})(["padding:16px;"]);var Hr=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(Qr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Kr,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Gr(Gr({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Personal Service Corporation",defaultInvalidMessage:"Please provide a valid corporation name",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: LLC, PLLC, LC."}),pattern:"(?!.*(?:[ ][lL][cC]$))(?!.*(?:[ ][lL][lL][cC]$))(?!.*(?:[ ][pP][lL][lL][cC]$))^[ a-zA-Z0-9&\\\\-]+$",validate:ct.bW,value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Gr(Gr({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,Gr(Gr({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d}))})]})]})},Jr=(0,o.ZP)(l.Z).withConfig({displayName:"EINPSCForm__StyledEINPSCForm",componentId:"sc-kx6ckp-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'MerriweatherBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'MerriweatherBold';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'MerriweatherBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'MerriweatherLight';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var eo=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Hr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(kt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ln,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(An,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Kn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(tt,{values:o,onChange:i}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(Jr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,className:"d-flex justify-content-center",children:(0,C.jsx)("div",{className:"form-title",children:"Personal Service Corporation Tax ID / SS-4 Form"})})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Hr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(kt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Ln,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(An,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)($n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Kn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(tt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function no(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function to(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?no(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):no(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ro=o.ZP.div.withConfig({displayName:"ChurchInfoBlock__StyledContainer",componentId:"sc-18tacyo-0"})(["margin-bottom:24px;border:1px solid ",";border-radius:0.25rem;label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),oo=(0,o.ZP)(d.Z).withConfig({displayName:"ChurchInfoBlock__StyledRow",componentId:"sc-18tacyo-1"})(["padding:16px;"]);var io=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(ro,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(oo,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,to(to({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Church",defaultInvalidMessage:"Please provide a valid corporation name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,to(to({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,to(to({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d}))})]})]})},ao=(0,o.ZP)(l.Z).withConfig({displayName:"EINChurchForm__StyledEINChurchForm",componentId:"sc-gowhao-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'MerriweatherBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'MerriweatherBold';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'MerriweatherBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'MerriweatherLight';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'MerriweatherLight';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var so=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(io,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(dr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ln,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(An,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Kn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(tt,{values:o,onChange:i}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(ao,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,className:"d-flex justify-content-center",children:(0,C.jsx)("div",{className:"form-title",children:"Church Organization Tax ID / SS-4 Form"})})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(io,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(dr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Ln,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(An,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)($n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Kn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(tt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(st,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})},lo=t(8300);lo.v.email,o.ZP.div.withConfig({displayName:"FormSection__StyledFormSection",componentId:"sc-3wgyoe-0"})(["display:flex;flex-direction:column;align-items:center;margin-bottom:2rem;width:100%;.form-section-header{width:980px;margin-top:24px;margin-bottom:8px;padding-left:15px;padding-right:15px;padding-top:4px;padding-bottom:4px;font-family:'MerriweatherLight';font-size:20px;line-height:calc(1.42857rem * (20 / 16));text-align:center;color:#424242;span{font-family:'MerriweatherBold';}}.form-section-container{display:flex;width:980px;padding-left:15px;padding-right:15px;padding-top:16px;padding-bottom:16px;.form-container{flex-grow:1;margin-right:16px;.form-group{margin-bottom:0;}}.hint-container{min-width:300px;width:300px;display:flex;align-items:flex-start;.hint-card{position:sticky;width:100%;top:0;border:1px solid ",";background-color:",";.hint-card-title{padding:15px 15px 0;margin-bottom:0.5rem;font-family:'MerriweatherBold';font-size:12px;line-height:calc(1.42857rem * (12 / 16));color:#244f74;}.hint-card-subtitle{padding:0 15px;margin-bottom:1rem;font-family:'MerriweatherBold';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#424242;}.hint-card-content{padding:0 15px;margin-bottom:1rem;font-family:'MerriweatherLight';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#424242;
1a{display:none;}ul{list-style:disc;padding-left:32px;li{font-family:'MerriweatherLight';font-size:13px;line-height:calc(1.42857rem * (13 / 16));}}}}.customer-service-card{display:flex;flex-direction:column;width:100%;padding-left:16px;.customer-service-card-title{margin-bottom:1rem;font-family:'MerriweatherBold';font-size:20px;line-height:calc(1.42857rem * (20 / 16));color:#244f74;}.customer-service-card-content{display:flex;flex-direction:column;&,a{font-family:'MerriweatherLight';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#424242;}.customer-service-card-item{display:flex;margin-bottom:0.5rem;.customer-service-card-item-label{width:20%;font-family:'MerriweatherBold';}}}}}}",";@media ","{.form-section-header{width:980px;}.form-section-container{width:980px;.hint-container{display:none;}}}@media ","{.form-section-header{width:100%;}.form-section-container{width:100%;.form-container{margin-right:0;}}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(function(e){return!e.showHelpCenter&&(0,o.iv)([".form-section-header{width:980px;}.form-section-container{width:980px;.form-container{margin-right:0;}.hint-container{display:none;}}"])}),(function(e){return e.theme.devices.laptopS}),(function(e){return e.theme.devices.tablet})),new Map([["/LLCIncFinalize","llc-inc-finalize"]]),new Map([["/contactus",!0],["/payment",!1],["/LLCInc",!1],["/LLCIncFinalize",!1],["/LLCUpsell",!1],["/status",!1],["/products/EINSoleProp",!1],["/products/EINPartnership",!1],["/products/EINCCorp",!1],["/products/EINSCorp",!1],["/products/EINEstate",!1],["/products/EINNonProfit",!1],["/products/EINLLC",!1],["/products/EINLLC2",!1],["/products/EINTrust",!1],["/products/EINPSC",!1],["/products/EINChurch",!1]]),new Map([["/contactus",ue],["/payment",Ge],["/status",rn],["/products/EINSoleProp",dt],["/products/EINPartnership",Zt],["/products/EINCCorp",Dt],["/products/EINSCorp",Tt],["/products/EINEstate",Jt],["/products/EINNonProfit",hr],["/products/EINLLC",Pr],["/products/EINLLC2",Pr],["/products/EINTrust",Ur],["/products/EINPSC",eo],["/products/EINChurch",so]])},989:function(e,n,t){var r=t(7379).ZP.button.withConfig({displayName:"Button",componentId:"sc-ujy3fn-0"})(["padding:8px 25px;width:100%;margin-right:0;border-radius:0.25rem;font-family:'MerriweatherBold';font-size:18px;background-color:#244f74;border:2px solid #244f74;color:#FFFFFF;"]);n.Z=r},6902:function(e,n,t){var r=t(7294),o=t(7379),i=t(1664),a=t.n(i),s=t(7569),l=t(8557),d=t(5893),c=o.ZP.div.withConfig({displayName:"ErrorMessage__StyledErrorMessage",componentId:"sc-1js8dvb-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;padding-left:20px;padding-right:20px;.message-content{display:flex;justify-content:center;font-family:'RobotoRegular';font-size:18px;line-height:calc(1.42857rem * (18 / 16));color:#C61F0C;text-align:center;",";}.action-block{margin-top:32px;}"],(function(e){return e.showContactUsLink&&(0,o.iv)(["color:",";"],(0,s.E)("#002346",.9))}));n.Z=function(e){var n=e.showContactUsLink,t=e.showOK,o=void 0===t?{text:null,onClick:function(){}}:t,i=e.message,s=void 0===i?"Something went wrong":i,u=e.error,h=(0,r.useMemo)((function(){return u&&u.message.errors?u.message.errors[0]:u&&!u.message.errors&&u.message?u.message:s}),[s,u]),p=(0,r.useCallback)((function(){(null===o||void 0===o?void 0:o.onClick)&&o.onClick()}),[o]);return(0,d.jsxs)(c,{showContactUsLink:n,children:[(0,d.jsx)("div",{className:"message-content",children:h}),n&&(0,d.jsx)("div",{className:"action-block",children:(0,d.jsx)(a(),{href:"/contactus",passHref:!0,children:(0,d.jsx)(l.Z,{children:"Contact Us"})})}),(null===o||void 0===o?void 0:o.text)&&(0,d.jsx)("div",{className:"action-block",children:(0,d.jsx)(l.Z,{onClick:p,children:null===o||void 0===o?void 0:o.text})})]})}},5003:function(e,n,t){var r=t(7294),o=t(7379),i=t(7569),a=(t(6459),t(9499)),s=t(4853),l=t(4835),d=t(1608),c=t(1555),u=t(9822),h=t(1852),p=t(4730),x=t(1752),m=t.n(x),v=t(9359),g=t(6968),f=t(3489),j=t(5944),b=t(3669),y=t(7060),Z=t(926),C=t(5893),N=["id","type","hint","label","loading","placeholder","emptyLabel","required","pattern","maxLength","defaultInvalidMessage","validate","isValid","isInvalid","onKeyPress","matchValue","isCorpAddress","value","onChange","onBlur","onKeyDown","onMouseEnter","onMouseLeave","allowSuccessMessage","hideDivider","thirdPartyProps"];function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function E(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?w(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var S=m()().publicRuntimeConfig,O=(0,o.ZP)(l.Z.Group).withConfig({displayName:"TextInput__StyledGroup",componentId:"sc-y899y5-0"})(["display:flex;flex-direction:column;position:relative;padding-left:0;padding-right:0;padding-bottom:16px;",";"],(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;"])})),M=(0,o.ZP)(l.Z.Label).withConfig({displayName:"TextInput__StyledLabel",componentId:"sc-y899y5-1"})(["display:flex;align-items:center;width:100% !important;font-family:'RobotoBold';font-size:15px;line-height:calc(1.42857rem * (14 / 16));color:#000000;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#244f74;}}",";"],(function(e){return e.emptyLabel&&(0,o.iv)(["padding-top:18.56px;"])})),P=(0,o.ZP)(l.Z.Control).withConfig({displayName:"TextInput__StyledControl",componentId:"sc-y899y5-2"})(["min-height:34px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'RobotoRegular';line-height:24px;color:rgba(0,0,0,.75);font-size:15px;background-color:#fff;border:1px solid #655555;border-radius:4px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:box-shadow .45s,border-color .45s ease-in-out;",";",";",";"],(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #198754 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(40 167 69 / 25%) !important;"],"url(".concat(S.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(220 53 69 / 25%) !important;"],"url(".concat(S.basePath,"/icons/V2/validation_failure.svg)"))}),(function(e){return e.isLoading&&(0,o.iv)(["border:1px solid "," !important;box-shadow:none !important;background-image:none !important;"],(0,i.E)("#234e76",.1))})),I=(0,o.ZP)(g.Z).withConfig({displayName:"TextInput__StyledSpinner",componentId:"sc-y899y5-3"})(["position:absolute;top:calc((34px - 2rem) / 2 + 18.52px);right:16px;&.text-custom{color:",";}",";"],(0,i.E)("#424242",.5),(function(e){return e.noLabel&&(0,o.iv)(["top:calc((34px - 2rem) / 2);"])})),k=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"TextInput__StyledFeedback",componentId:"sc-y899y5-4"})(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5));var L=function(e){var n=e.id,t=e.type,o=e.hint,i=e.label,a=e.loading,s=e.placeholder,l=e.emptyLabel,d=e.required,c=e.pattern,u=e.maxLength,h=e.defaultInvalidMessage,x=void 0===h?"":h,m=e.validate,g=e.isValid,w=e.isInvalid,S=e.onKeyPress,L=e.matchValue,D=e.isCorpAddress,F=e.value,B=void 0===F?"":F,_=e.onChange,X=e.onBlur,A=e.onKeyDown,z=e.onMouseEnter,T=e.onMouseLeave,R=e.allowSuccessMessage,V=e.hideDivider,q=e.thirdPartyProps,$=(0,p.Z)(e,N),Y=(0,r.useState)(null),U=Y[0],W=Y[1],G=(0,b.D)(B),Q=(0,r.useCallback)((function(e){if(!U&&(0,Z.o)(e)){_&&_({target:{id:"verifying",value:!0}});var n=e;n.indexOf("+")>-1&&n.indexOf("gmail.com")>-1&&(n=n.substring(0,n.indexOf("+"))+n.substring(n.indexOf("@"),n.length)),(0,y.ZP)(n).then((function(e){W(e),_&&_({target:{id:"verifying",value:!1}})}))}}),[_,U]),K=(0,r.useCallback)((function(e){W(null),m&&m(e,{required:d,matchValue:L,isCorpAddress:D}),_&&_(e)}
1),[_,m,d,D,L]),H=(0,r.useCallback)((function(e){"email"===t&&B&&Q(B),X&&X(e)}),[X,t,B,Q]),J=(0,r.useCallback)((function(e){"email"===t&&B&&"Enter"===e.code&&(!U&&(0,Z.o)(B)&&_&&_({target:{id:"suspendedSubmit",value:!0}}),Q(B)),A&&A(e)}),[A,_,t,B,U,Q]),ee=(0,r.useCallback)((function(){z&&z({label:i||s,hint:o})}),[z,i,s,o]),ne=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o})};return o&&!v.tq||(e.show=!1),e}),[n,o]),te=null!==U&&void 0!==U&&U.status&&!a?y.lx.includes(null===U||void 0===U?void 0:U.status):g,re=null!==U&&void 0!==U&&U.status&&!a?y.lo.includes(null===U||void 0===U?void 0:U.status):w,oe=y.ry[null===U||void 0===U?void 0:U.reason]||"Verified!",ie=y.ry[null===U||void 0===U?void 0:U.reason]||x,ae=!(te&&!re),se=(0,r.useMemo)((function(){if(q)return S?E(E({},q),{},{onKeyPress:S}):q;var e={type:t||"text",name:n,onChange:K,onBlur:H,onKeyDown:J};return S&&(e.onKeyPress=S),e}),[q,n,t,S,K,H,J]);return(0,r.useEffect)((function(){"email"===t&&void 0===G&&B&&Q(B)}),[Q,t,G,B]),(0,C.jsx)(j.Z,E(E({},ne),{},{children:(0,C.jsxs)(O,{controlId:n,hideDivider:V,onMouseEnter:ee,onMouseLeave:T,children:[(0,C.jsxs)(M,{emptyLabel:l,children:[i,i&&d&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(P,E(E(E({},se),$),{},{required:d,placeholder:s,isValid:te,isInvalid:re,isLoading:a,pattern:c,maxLength:u,value:B||"","data-hj-allow":!0})),a&&"email"===t&&(0,C.jsx)(k,{type:"processing",children:"Verification..."}),R&&!ae&&!a&&(0,C.jsx)(k,{type:"valid",children:oe}),ae&&ie&&!a&&(0,C.jsx)(k,{type:"invalid",children:ie}),a&&(0,C.jsx)(I,{animation:"border",variant:"custom",noLabel:!(i||l)})]})}))},D=t(6627),F=t.n(D);function B(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?B(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):B(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var X=m()().publicRuntimeConfig,A=(0,o.ZP)(l.Z.Group).withConfig({displayName:"MaskInput__StyledGroup",componentId:"sc-14cii7t-0"})(["display:flex;flex-direction:column;position:relative;padding-left:0;padding-right:0;padding-bottom:16px;",";"],(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;"])})),z=(0,o.ZP)(l.Z.Label).withConfig({displayName:"MaskInput__StyledLabel",componentId:"sc-14cii7t-1"})(["display:flex;align-items:center;font-family:'RobotoBold';font-size:15px;line-height:calc(1.42857rem * (14 / 16));color:#000000;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#244f74;}}"]),T=(0,o.ZP)(l.Z.Control).withConfig({displayName:"MaskInput__StyledControl",componentId:"sc-14cii7t-2"})(["min-height:34px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'RobotoRegular';line-height:24px;color:rgba(0,0,0,.75);font-size:15px;background-color:#fff;border:1px solid #655555;border-radius:4px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:box-shadow .45s,border-color .45s ease-in-out;"," ",";",";&::placeholder{color:",";}@media ","{","}"],(function(e){return e.suffix&&(0,o.iv)(["width:93%;"])}),(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #198754 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(40 167 69 / 25%) !important;"],"url(".concat(X.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(220 53 69 / 25%) !important;"],"url(".concat(X.basePath,"/icons/V2/validation_failure.svg)"))}),(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet}),(function(e){return e.suffix&&(0,o.iv)(["width:90%;"])})),R=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"MaskInput__StyledFeedback",componentId:"sc-14cii7t-3"}
1)(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5)),V=o.ZP.div.withConfig({displayName:"MaskInput__StyledSuffixContainer",componentId:"sc-14cii7t-4"})(["display:flex;justify-content:flex-end;align-items:flex-start;position:absolute;top:0;right:0;height:100%;min-width:34px;width:10%;padding-top:22px;"]);var q=function(e){var n=e.id,t=e.hint,o=e.suffix,i=e.label,a=e.hideDivider,s=e.placeholder,l=e.required,d=e.pattern,c=e.mask,u=e.maxLength,h=e.defaultInvalidMessage,p=void 0===h?"":h,x=e.validate,m=e.isValid,g=e.isInvalid,b=e.onKeyPress,y=e.value,Z=void 0===y?"":y,N=e.onChange,w=e.onMouseEnter,E=e.onMouseLeave,S=(0,r.useCallback)((function(e){x&&x(e,{required:l}),N&&N(e)}),[N,x,l]),O=(0,r.useCallback)((function(){w&&w({label:i||s,hint:t})}),[w,i,s,t]),M=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t&&!v.tq||(e.show=!1),e}),[n,t]),P=!(m&&!g);return(0,C.jsx)(j.Z,_(_({},M),{},{children:(0,C.jsxs)(A,{controlId:n,hideDivider:a,onMouseEnter:O,onMouseLeave:E,children:[(0,C.jsxs)(z,{children:[i,i&&l&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(F(),{mask:c,maskChar:null,value:Z,onChange:S,children:function(e){return(0,C.jsx)(T,{type:"phone",name:n,required:l,isValid:m,isInvalid:g,pattern:d,placeholder:s,maxLength:u,onKeyPress:b,"data-hj-allow":!0,suffix:o})}}),P&&p&&(0,C.jsx)(R,{type:"invalid",children:p}),o&&(0,C.jsx)(V,{children:o})]})}))};function $(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var U=m()().publicRuntimeConfig,W=(0,o.ZP)(l.Z.Group).withConfig({displayName:"Textarea__StyledGroup",componentId:"sc-1qefkc5-0"})(["position:relative;padding-left:0;padding-right:0;",";"],(function(e){return e.withLabel&&(0,o.iv)(["padding-top:24px;"])})),G=(0,o.ZP)(l.Z.Label).withConfig({displayName:"Textarea__StyledLabel",componentId:"sc-1qefkc5-1"})(["position:absolute;left:0;top:0;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#333333;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#244f74;}}"]),Q=(0,o.ZP)(l.Z.Control).withConfig({displayName:"Textarea__StyledControl",componentId:"sc-1qefkc5-2"})(["resize:none;width:100%;min-height:52px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'RobotoRegular';font-size:14px;line-height:24px;color:#424242;border:1px solid ",";background-repeat:no-repeat;background-origin:content-box;background-position-x:right;",";",";&:focus{background-color:#FFFFFF;border-color:#80BDFF;outline:0;box-shadow:0 0 0 0.2rem rgb(0 123 255 / 25%);}"],(0,i.E)("#000000",.1),(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #28A745;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(U.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(U.basePath,"/icons/V2/validation_failure.svg)"))})),K=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"Textarea__StyledFeedback",componentId:"sc-1qefkc5-3"})(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5));var H=function(e){var n=e.id,t=e.hint,o=e.label,i=e.emptyLabel,a=e.placeholder,s=e.required,l=e.validated,d=e.isInvalid,c=e.pattern,u=e.maxLength,h=e.minLength,p=e.defaultInvalidMessage,x=void 0===p?"":p,m=e.validate,g
1=e.onKeyPress,b=e.matchValue,y=e.value,Z=void 0===y?"":y,N=e.onChange,w=(0,r.useCallback)((function(e){m&&m(e,{required:s,matchValue:b}),N&&N(e)}),[N,m,s,b]),E=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t&&!v.tq||(e.show=!1),e}),[n,t]),S=!s&&l&&!d||Z&&l&&!d,O=d||s&&!Z&&l;return(0,C.jsx)(j.Z,Y(Y({},E),{},{children:(0,C.jsxs)(W,{controlId:n,withLabel:Boolean(o||i),children:[(0,C.jsxs)(G,{children:[o,!i&&o&&s&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(Q,{as:"textarea",rows:5,name:n,required:s,placeholder:a,pattern:c,maxLength:u,minLength:h,isValid:S,isInvalid:O,value:Z,onKeyPress:g,onChange:w,"data-hj-allow":!0}),(0,C.jsx)(K,{type:"invalid",children:x})]})}))};function J(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ee(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?J(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):J(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ne=(0,o.ZP)(l.Z.Group).withConfig({displayName:"Switch__StyledGroup",componentId:"sc-1s1ehji-0"})(["width:30%;margin-bottom:0!important;padding-left:0;padding-right:0;input:checked + label,input:not(:checked) + label{display:inline-block;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;cursor:pointer;}@media ","{width:100%;}"],(function(e){return e.theme.devices.tablet})),te=(0,o.ZP)(l.Z.Check).withConfig({displayName:"Switch__StyledCheck",componentId:"sc-1s1ehji-1"})(["margin-right:24px;@media ","{margin-top:12px;}"],(function(e){return e.theme.devices.tablet})),re=o.ZP.div.withConfig({displayName:"Switch__StyledWrapper",componentId:"sc-1s1ehji-2"})(["display:flex;align-items:center;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid ",";",";@media ","{flex-direction:column;}"],(0,i.E)("#000000",.1),(function(e){return e.hideDivider&&(0,o.iv)(["border-bottom:none;"])}),(function(e){return e.theme.devices.tablet})),oe=o.ZP.div.withConfig({displayName:"Switch__StyledQuestion",componentId:"sc-1s1ehji-3"})(["width:70%;padding-right:24px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;@media ","{width:100%;}"],(function(e){return e.theme.devices.tablet}));var ie=function(e){var n=e.id,t=e.hideDivider,o=e.hint,i=e.label,a=e.labelOn,s=void 0===a?"Label ON":a,l=e.labelOff,d=void 0===l?"Label OFF":l,c=e.valueOn,u=e.valueOff,h=e.value,p=e.onChange,x=e.onMouseEnter,m=e.onMouseLeave,g=(0,r.useCallback)((function(){x&&x({label:i,hint:o})}),[x,i,o]),b=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o})};return o&&!v.tq||(e.show=!1),e}),[n,o]);return(0,C.jsx)(j.Z,ee(ee({},b),{},{children:(0,C.jsxs)(re,{hideDivider:t,onMouseEnter:g,onMouseLeave:m,children:[(0,C.jsx)(oe,{children:(0,C.jsx)("span",{children:i})}),(0,C.jsxs)(ne,{controlId:n,children:[(0,C.jsx)(te,{inline:!0,id:"".concat(n,"1"),label:d,name:n,type:"radio",value:u,checked:h===u,onChange:p}),(0,C.jsx)(te,{inline:!0,id:"".concat(n,"2"),label:s,name:n,type:"radio",value:c,checked:h===c,onChange:p})]})]})}))},ae=t(8557),se=t(4155);function le(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function de(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?le(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):le(Object(t)).forEac
1h((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ce=(0,o.ZP)(l.Z).withConfig({displayName:"ContactUsForm__StyledContactUsForm",componentId:"sc-ne935o-0"})(["padding:16px;border:1px solid ",";border-radius:0.25rem;font-family:'RobotoRegular';.contact-block-title{margin-bottom:1rem;padding-top:10px;padding-bottom:10px;font-family:'RobotoRegular';color:#424242;span{font-family:'RobotoRegular';}}button{width:100%;margin-top:2rem;margin-bottom:1rem;}@media ","{.contact-block-title{margin-bottom:0;}}"],(0,i.E)("#000000",.1),(function(e){return e.theme.devices.tablet})),ue=r.forwardRef((function(e,n){var t=e.values,o=void 0===t?{}:t,i=e.onReCaptcha,a=e.onChange,l=e.onSubmit,p="true"===o[u.xh.questionsOrder],x=se.env.NEXT_PUBLIC_GOOGLE_RECAPTCHA_PUBLIC_KEY,m=(0,r.useCallback)((function(){a&&a({target:{id:"suspendedSubmit",value:!0}})}),[a]);return(0,C.jsxs)(ce,{noValidate:!0,validated:o.validated,onSubmit:l,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsxs)("div",{className:"contact-block-title",children:["Use the form below to submit a support request. A business filing expert will be in touch with you as soon as possible.\xa0",(0,C.jsx)("span",{children:"If submitted after office hours, we will respond on the next business day."})]})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.customerFirstName)),{},{value:o[u.xh.customerFirstName],onChange:a,column:!0}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.customerLastName)),{},{value:o[u.xh.customerLastName],onChange:a}))})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,de(de({},(0,h.X)(u.xh.customerPhone)),{},{value:o[u.xh.customerPhone],onChange:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.customerEmail)),{},{loading:o.verifying,value:o[u.xh.customerEmail],onChange:a}))})]}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,de(de({},(0,h.X)(u.xh.questionsOrder)),{},{value:o[u.xh.questionsOrder],onChange:a}))})}),p&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.orderId)),{},{value:o[u.xh.orderId],onChange:a}))})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(H,de(de({},(0,h.X)(u.xh.message)),{},{validated:o.validated,value:o[u.xh.message],onChange:a}))})}),x&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(s.Z,{className:"g-recaptcha",ref:n,sitekey:x,onChange:i})})}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"ContactUsSubmitButton",onMouseDown:m,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})})),he=t(8021),pe=t(6902),xe=t(7812),me=t(1163),ve=t(9669),ge=t.n(ve),fe=t(4487),je=t(3009);function be(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ye(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?be(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):be(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}m()().publicRuntimeConfig;var Ze=(0,o.ZP)(l.Z.Group).withConfig({displayName:"ProcessingRadioGroup__StyledGroup",componentId:"sc-5c9pn0-0"})(["width:100%;padding-left:0;padding-right:0;input:checked + label,input:not(:checked) + label{display:inline-block;position:relative;font-family:'RobotoRegular';font-size:14px;line-height:24px;color:",";cursor:pointer;}.col-md-6{&:nth-child(odd){padding-right:8px;}&:nth-child(even){padding-left:8px;}}.col-12{padding-bottom:8px;}@media ","{.col-md-6{&:nth-child(odd){padding-right:15px;}&:nth-child(even){padding-left:15px;}}}"],(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet})),Ce=(0,o.ZP)(l.Z.Check).withConfig({displayName:"ProcessingRadioGroup__StyledCheck",componentId:"sc-5c9pn0-1"})(["margin-top:5px;"]),Ne=o.ZP.label.withConfig({displayName:"ProcessingRadioGroup__StyledLabel",componentId:"sc-5c9pn0-2"})(["display:flex;align-items:flex-start;height:calc(100% - 8px);padding:18px;border:1px solid ",";border-radius:0.25rem;position:relative;cursor:pointer;.title{display:flex;flex-direction:column;flex-grow:1;font-family:'RobotoBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";.description{font-family:'RobotoRegular';font-size:12px;line-height:calc(1.42857rem * (12 / 16));}}
1.price-badge{position:absolute;top:6px;right:10px;font-family:'RobotoRegular';font-size:16px;line-height:26px;color:",";}",";"],(0,i.E)("#000000",.1),(0,i.E)("#424242",.5),(0,i.E)("#424242",.5),(function(e){return e.active&&(0,o.iv)(["border:1px solid ",";.title{color:",";}.price-badge{color:",";}"],(0,i.E)("#000000",.1),(0,i.E)("#424242",1),(0,i.E)("#424242",1))}));var we=function(e){var n=e.id,t=e.hint,o=e.options,i=void 0===o?[]:o,a=e.value,s=e.onChange,l=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t||(e.show=!1),e}),[n,t]);return(0,C.jsx)(j.Z,ye(ye({},l),{},{children:(0,C.jsx)(Ze,{controlId:n,children:(0,C.jsx)(d.Z,{children:i.map((function(e,t){return(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsxs)(Ne,{active:a===e.value,children:[(0,C.jsx)(Ce,{id:"".concat(n).concat(t+1),name:n,inline:!0,type:"radio",label:"",value:e.value,checked:a===e.value,onChange:s}),(0,C.jsxs)("div",{className:"title",children:[(0,C.jsx)("div",{className:"name",children:(0,C.jsx)("span",{children:e.name})}),(0,C.jsx)("div",{className:"description",children:(0,C.jsxs)("span",{children:["(",e.description,")"]})})]}),(0,C.jsx)("div",{className:"price-badge",children:(0,C.jsxs)("span",{children:["$",e.price]})})]})},"".concat(n).concat(t+1))}))})})}))};function Ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Se(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ee(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ee(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Oe=o.ZP.div.withConfig({displayName:"ProcessingBlock__StyledContainer",componentId:"sc-1jadlgp-0"})(["margin-bottom:24px;"]),Me=(0,o.ZP)(d.Z).withConfig({displayName:"ProcessingBlock__StyledRow",componentId:"sc-1jadlgp-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]),Pe=[je.a.leadDiscount,je.a.leadDiscount20,je.a.leadDiscount50];var Ie=function(e){var n=e.values,t=void 0===n?{}:n,o=e.onChange,i=(0,me.useRouter)(),a=i.query,s=i.isReady,l=(0,r.useState)([]),p=l[0],x=l[1],m=(0,r.useState)(new Map),v=m[0],g=m[1],f=(0,r.useState)(null),j=f[0],y=f[1],Z=(0,r.useState)(null),N=Z[0],w=Z[1],E=(0,b.D)(t),S=(0,b.D)(v.size),O=(0,r.useMemo)((function(){return p.filter((function(e){var n=e.code;return j?n===j:!Pe.includes(n)})).map((function(e){var n=e.code,t=e.value;return u.jF.has(n)?Se(Se({},u.jF.get(n)),{},{name:N?"EIN Application - ".concat(N.split("_")[1]||N," % Limited Time Discount"):u.jF.get(n).name,price:v.get(n)}):{name:t,value:n,price:v.get(n)}}))}),[p,v,j,N]);return(0,r.useEffect)((function(){(null===E||void 0===E?void 0:E.processingOption)!==t.processingOption&&o&&o({target:{name:"currentPrice",value:v.get(t.processingOption)||0}})}),[o,t,E,v]),(0,r.useEffect)((function(){S!==v.size&&o&&o({target:{name:"currentPrice",value:v.get(t.processingOption)||0}})}),[o,t,S,v]),(0,r.useEffect)((function(){ge().get("https://innova-labs.net:9080/category/EIN/processing-options?onlyActive=true").then((function(e){var n=new Set;e.data.values.forEach((function(e){n.add(e.code)})),x((0,xe.Z)(e.data.values||[])),!n.has(je.a.rush)&&n.has(je.a.standard)&&o&&o({target:{name:u.xh.processingOption,value:je.a.standard}})})).catch((function(e){var n=window.location.href.split("/"),t=(n[0]+"//"+n[2]).replace(/\/+$/,"");ge().get(t+"/crm/category/EIN/processing-options?onlyActive=true").then((function(e){var n=new Set;e.data.values.forEach((function(e){n.add(e.code)})),x((0,xe.Z)(e.data.values||[])),!n.has(je.a.rush)&&n.has(je.a.standard)&&o&&o({target:{name:u.xh.processingOption,value:je.a.standard}})})).catch((function(e){console.log(e.response)}))}))}),[o]),(0,r.useEffect)((function(){a.order&&a.token&&ge().get("https://innova-labs.net:9080/orders/"+a.order,{headers:{Authorization:"Bearer "+a.token}}).then((function(e){o&&o({target:{name:u.xh.processingOption,value:je.a.standard}},{currentOrder:e.data.order,orderId:e.data.order.id,token:a.token,campaignId:a.campaignId||null,sourceValue1:a.sourceValue1||null,sourceValue2:a.sourceValue2||null,sourceValue3:a.sourceValue3||null,sourceValue4:a.sourceValue4||null,sourceValue5:a.sourceValue5||null}),y(je.a.standard),ge().get("https://innova-labs.net:9080/tokens",{headers:{Authorization:"Bearer "+a.token}}).then((function(e){w(e.data.discountCouponType),o&&o({target:{name:"discountCouponType",value:e.data.discountCouponType}})})).catch((function(e){console.log(e)}))})).catch((function(e){if(e.response)o&&o({target:{name:"discountError",value:e}}
1),403!==e.response.status&&fe.Tb(new Error("Token error"),{tags:{section:"products"}});else if(e.request){var n=window.location.href.split("/"),t=(n[0]+"//"+n[2]).replace(/\/+$/,"");ge().get(t+"/crm/orders/"+a.order,{headers:{Authorization:"Bearer "+a.token}}).then((function(e){o&&o({target:{name:u.xh.processingOption,value:je.a.standard}},{currentOrder:e.data.order,orderId:e.data.order.id,token:a.token,campaignId:a.campaignId||null,sourceValue1:a.sourceValue1||null,sourceValue2:a.sourceValue2||null,sourceValue3:a.sourceValue3||null,sourceValue4:a.sourceValue4||null,sourceValue5:a.sourceValue5||null}),y(je.a.standard),ge().get(t+"/tokens",{headers:{Authorization:"Bearer "+a.token}}).then((function(e){w(e.data.discountCouponType),o&&o({target:{name:"discountCouponType",value:e.data.discountCouponType}})})).catch((function(e){console.log(e)}))})).catch((function(e){o&&o({target:{name:"discountError",value:e}}),403!==e.response.status&&fe.Tb(new Error("Token error"),{tags:{section:"products"}}),console.log(e)}))}else o&&o({target:{name:"discountError",value:e}}),fe.Tb(new Error("Token error"),{tags:{section:"products"}});console.log(e)}))}),[a,o]),(0,r.useEffect)((function(){if(s&&a.token&&N||s&&!a.token){var e={productCodes:"EIN_SoleProp"};N&&(e.discountCouponType=N),ge().get("https://innova-labs.net:9080/category/EIN/products/prices",{params:e,headers:{"Content-Type":"application/json"}}).then((function(e){var n=new Map;e.data.forEach((function(e){n.set(e.option,e.price)})),g(n)})).catch((function(n){var t=window.location.href.split("/"),r=(t[0]+"//"+t[2]).replace(/\/+$/,"");ge().get(r+"/category/EIN/products/prices",{params:e,headers:{"Content-Type":"application/json"}}).then((function(e){var n=new Map;e.data.forEach((function(e){n.set(e.option,e.price)})),g(n)})).catch((function(e){console.log(e)}))}))}}),[N,s,a]),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"page-title",children:(0,C.jsx)("span",{children:"Submit Your EIN Application"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsxs)(Oe,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Processing Option"})}),(0,C.jsx)(Me,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(we,Se(Se({},(0,h.X)(u.xh.processingOption)),{},{value:t[u.xh.processingOption],options:O,onChange:o}))})})]})})]})},ke=["id","hint","label","emptyLabel","hideDivider","placeholder","required","validated","noBottomSpace","maxLength","defaultInvalidMessage","isInvalid","value","options","onChange","onMouseEnter","onMouseLeave"];function Le(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function De(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Le(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Le(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Fe=m()().publicRuntimeConfig,Be=(0,o.ZP)(l.Z.Group).withConfig({displayName:"Select__StyledGroup",componentId:"sc-tysdad-0"})(["display:flex;flex-direction:column;position:relative;padding-left:0;padding-right:0;padding-bottom:16px;",";",";"],(function(e){return e.noBottomSpace&&(0,o.iv)(["padding-bottom:0px;"])}),(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;"])})),_e=(0,o.ZP)(l.Z.Label).withConfig({displayName:"Select__StyledLabel",componentId:"sc-tysdad-1"})(["display:flex;align-items:center;font-family:'RobotoBold';font-size:15px;line-height:calc(1.42857rem * (14 / 16));color:#000000;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#244f74;}}",";"],(function(e){return e.emptyLabel&&(0,o.iv)(["padding-top:18.56px;"])})),Xe=(0,o.ZP)(l.Z.Control).withConfig({displayName:"Select__StyledControl",componentId:"sc-tysdad-2"})(["appearance:unset;min-height:34px;width:100%;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:24px;font-family:'RobotoRegular';font-size:15px;line-height:24px;color:rgba(0,0,0,.75);border:1px solid #ccc;border-radius:0;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);
1transition:box-shadow .45s,border-color .45s ease-in-out;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background-image:",";background-repeat:no-repeat;background-origin:content-box;background-position-x:right;background-position-y:center;",";",";",";&:focus-visible{outline:none;}"],"url(".concat(Fe.basePath,"/icons/V2/V2-federal/caret_down.svg)"),(function(e){return e.isValid&&(0,o.iv)(["padding-top:4px !important;padding-right:0px !important;border:1px solid #198754;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(Fe.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["padding-top:4px !important;padding-right:0px !important;border:1px solid #DC3545;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(Fe.basePath,"/icons/V2/validation_failure.svg)"))}),(function(e){var n=e.isValid,t=e.isInvalid;return!(n||t)&&(0,o.iv)(["background-origin:unset!important;"])})),Ae=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"Select__StyledFeedback",componentId:"sc-tysdad-3"})(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5));var ze=function(e){var n=e.id,t=e.hint,o=e.label,i=e.emptyLabel,a=e.hideDivider,s=e.placeholder,l=e.required,d=e.validated,c=e.noBottomSpace,u=e.maxLength,h=e.defaultInvalidMessage,x=void 0===h?"":h,m=e.isInvalid,g=e.value,b=void 0===g?"":g,y=e.options,Z=void 0===y?[]:y,N=e.onChange,w=e.onMouseEnter,E=e.onMouseLeave,S=(0,p.Z)(e,ke),O=(0,r.useCallback)((function(e){N&&N(e)}),[N]),M=(0,r.useCallback)((function(){w&&w({label:o||s,hint:t})}),[w,o,s,t]),P=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t&&!v.tq||(e.show=!1),e}),[n,t]),I=(0,r.useMemo)((function(){var e;return null===(e=Z.find((function(e){return(null===e||void 0===e?void 0:e.value)===b})))||void 0===e?void 0:e.title}),[b,Z]),k=!l&&d&&!m||b&&d&&!m,L=m||l&&!b&&d;return(0,C.jsx)(j.Z,De(De({},P),{},{children:(0,C.jsxs)(Be,{controlId:n,hideDivider:a,className:L?"custom-control-invalid":"",title:I,onMouseEnter:M,onMouseLeave:E,noBottomSpace:c,children:[(0,C.jsxs)(_e,{emptyLabel:i,children:[o,o&&l&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsxs)(Xe,De(De({as:"select",className:"form-control",name:n,required:l,maxLength:u,value:b,onChange:O,isValid:k,isInvalid:L},S),{},{children:[(0,C.jsx)("option",{value:"",selected:!0,children:s}),Z.map((function(e){var n=e.title,t=e.value;return(0,C.jsx)("option",{value:t,children:n},t)}))]})),(0,C.jsx)(Ae,{type:"invalid",children:x})]})}))};function Te(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Re(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Te(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Te(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ve=m()().publicRuntimeConfig,qe=function(){var e=(new Date).getFullYear();return Array.from(new Array(20),(function(n,t){return{value:(e+t)%100,title:"".concat(e+t)}}))},$e=o.ZP.div.withConfig({displayName:"CreditCardInfoBlock__StyledContainer",componentId:"sc-1awztia-0"})(["margin-bottom:24px;"]),Ye=(0,o.ZP)(d.Z).withConfig({displayName:"CreditCardInfoBlock__StyledRow",componentId:"sc-1awztia-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;.col-12{position:relative;}"]);var Ue=function(e){var n,t,o,i,a,s,l,d,p,x,m,v,g,f=e.isCardExpired,j=e.paymentInputs,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=(0,r.useState)(null),w=N[0],E=N[1],S=j||{},O=S.meta,M=S.getCardNumberProps,P=S.getCVCProps,I=O.erroredInputs,k=O.touchedInputs,D="true"===y[u.xh.billingAddress],F=(0,r.useMemo)((function(){return"0000000000000000"!==y.cardNumber&&(k.cardNumber&&I.cardNumber||!y.cardNumber&&0===y.cardNumber.length&&!y.beforeSubmit)}
1),[y,k.cardNumber,I.cardNumber]),B=(0,r.useMemo)((function(){return k.cvc&&I.cvc||!y.cvc&&0===y.cvc.length&&!y.beforeSubmit}),[y,k.cvc,I.cvc]);return(0,C.jsxs)($e,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Card Information"})}),(0,C.jsxs)(Ye,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Re(Re({},(0,h.X)(u.xh.firstName)),{},{value:y[u.xh.firstName],isInvalid:!y[u.xh.firstName]&&!y.beforeSubmit,onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Re(Re({},(0,h.X)(u.xh.lastName)),{},{value:y[u.xh.lastName],isInvalid:!y[u.xh.lastName]&&!y.beforeSubmit,onChange:Z}))}),(0,C.jsxs)(c.Z,{xs:12,children:[(0,C.jsx)(L,Re(Re(Re({},(0,h.X)(u.xh.cardNumber)),{},{value:y[u.xh.cardNumber],thirdPartyProps:M({onChange:Z})},(g=u.xh.cardNumber,g===w?{onKeyPress:function(){}}:{})),{},{onSelect:function(e){var n=e.target,t=n.selectionEnd-n.selectionStart;E(t?n.name:null)},isInvalid:F,defaultInvalidMessage:I.cardNumber,"data-threeds":"pan"})),(0,C.jsxs)("div",{className:"card-providers mobile",children:[(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/visa-alternative.png"),alt:"VISA"}),(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/mastercard-alternative.png"),alt:"Mastercard"}),(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/discover-alternative.png"),alt:"Discover"}),(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/american-express-alternative.png"),alt:"American Express"})]}),(0,C.jsxs)("div",{className:"card-providers desktop",children:[(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/visa-alternative.png"),alt:"VISA"}),(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/mastercard-alternative.png"),alt:"Mastercard"}),(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/discover-alternative.png"),alt:"Discover"}),(0,C.jsx)("img",{src:"".concat(Ve.basePath,"/images/V2/american-express-alternative.png"),alt:"American Express"})]})]}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Re(Re({},(0,h.X)(u.xh.cardMonth)),{},{value:y[u.xh.cardMonth],label:"Exp. Month",isInvalid:f&&!y.beforeSubmit,onChange:Z,"data-threeds":"month"}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Re(Re({},(0,h.X)(u.xh.cardYear)),{},{label:"Exp. Year",emptyLabel:!1,options:qe(),value:y[u.xh.cardYear],isInvalid:f&&!y.beforeSubmit,onChange:Z,"data-threeds":"year"}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Re(Re({},(0,h.X)(u.xh.cvc)),{},{value:y[u.xh.cvc],thirdPartyProps:P({onChange:Z}),isInvalid:B,defaultInvalidMessage:I.cvc}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Re(Re({},(0,h.X)(u.xh.billingAddress)),{},{value:y[u.xh.billingAddress],onChange:Z,hideDivider:!D}))}),D&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Re(Re({},(0,h.X)(u.xh.billingAddressAddress1)),{},{label:null===(n=(0,h.X)(u.xh.billingAddressAddress1))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:y[u.xh.billingAddressAddress1],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Re(Re({},(0,h.X)(u.xh.billingAddressAddress2)),{},{label:null===(o=(0,h.X)(u.xh.billingAddressAddress2))||void 0===o||null===(i=o.placeholder)||void 0===i?void 0:i.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:y[u.xh.billingAddressAddress2],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Re(Re({},(0,h.X)(u.xh.billingAddressCity)),{},{label:null===(a=(0,h.X)(u.xh.billingAddressCity))||void 0===a||null===(s=a.placeholder)||void 0===s?void 0:s.replace("*",""),placeholder:void 0,value:y[u.xh.billingAddressCity],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Re(Re({},(0,h.X)(u.xh.billingAddressZip)),{},{label:null===(l=(0,h.X)(u.xh.billingAddressZip))||void 0===l||null===(d=l.placeholder)||void 0===d?void 0:d.replace("*",""),placeholder:void 0,value:y[u.xh.billingAddressZip],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,Re(Re({}
1,(0,h.X)(u.xh.billingAddressState)),{},{label:null===(p=(0,h.X)(u.xh.billingAddressState))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),placeholder:null===(m=(0,h.X)(u.xh.billingAddressState))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),value:y[u.xh.billingAddressState],validated:y.validated,onChange:Z,hideDivider:!0}))})]})]})]})},We=(0,o.ZP)(l.Z).withConfig({displayName:"PaymentForm__StyledPaymentForm",componentId:"sc-14eafg8-0"})([".page-title{padding-top:8px;margin-bottom:24px;font-family:'RobotoBold';font-size:26px;line-height:calc(1.42857rem * (26 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;background:#055393;font-family:'RobotoBold';font-size:20px;color:#FFFFFF;}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}button{width:100%;margin-bottom:1rem;}.card-providers{position:absolute;top:calc(18.56px + 5.5px);right:calc(15px + 4px);img{max-height:24px !important;margin-top:0 !important;margin-left:2px;margin-right:2px;width:auto;}&.mobile{display:none;}}.guarantee-logo{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-bottom:32px;.stamp-container{margin-top:24px;img{height:140px;}}}.guarantee-disclaimer{padding-left:15%;padding-right:15%;font-family:'RobotoRegular';font-size:14px;line-height:24px;color:#1B3858;text-align:center;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{.card-providers{img{max-height:34px;margin-top:9px;}}}@media ","{padding-bottom:42px;.card-providers{top:-7px;right:15px;img{max-height:24px !important;&:last-child{margin-right:0;}}&.desktop{display:none;}}.guarantee-logo{padding-left:5%;padding-right:5%;.logo-container{display:flex;flex-wrap:wrap;justify-content:center;width:100%;img{margin-top:8px;margin-bottom:8px;}}}.guarantee-disclaimer{padding-left:0;padding-right:0;}}"],(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.laptopL}),(function(e){return e.theme.devices.tablet}));var Ge=function(e){var n,t=e.error,o=e.values,i=void 0===o?{}:o,a=e.onChange,s=e.onSubmit,l=(0,he.un)(),u=(l||{}).meta,h=(0,r.useMemo)((function(){if(null!==i.cardYear&&null!==i.cardMonth){var e=new Date;return e.setFullYear("20"+i.cardYear,i.cardMonth,1),e<new Date}return!0}),[i]),p=(0,r.useCallback)((function(e){var n=!0,t=function(t){var r={threeDSDetails:t};tds.verifyReject=null,tds.verifyResolve=null,tds.verifyListener=null,tds.threeDsTransactionId=null,n&&(n=!1,a&&a({target:{name:"dLoading",value:!1}}),"Y"===t.status||"A"===t.status?(t.protocolVersion.startsWith("2")?(r.cavv=null===t||void 0===t?void 0:t.authenticationValue,r.xid=null===t||void 0===t?void 0:t.dsTransId,r.acsTransId=null===t||void 0===t?void 0:t.acsTransId,r.eci=null===t||void 0===t?void 0:t.eci,r.threeDsStatus=null===t||void 0===t?void 0:t.status):(r.cavv=null===t||void 0===t?void 0:t.cavv,r.xid=null===t||void 0===t?void 0:t.xid,r.eci=null===t||void 0===t?void 0:t.eci),s&&s(e,r)):s&&s(e,r))},r=t,o=t;if(!document.getElementById("konnektivjs3")){var l=document.createElement("script");l.id="konnektivjs3",document.body.appendChild(l),l.appendChild(document.createTextNode('var tds = new ThreeDS("kform", "e03c697d935a4c7d818958ffb1384131", null, { autoSubmit: false, verbose: false, timeout: "10"});'))}if(tds.verify(r,o,{amount:i.currentPrice}),tds.errors.length>0){var d=tds.errors[0];console.log("Error: "+d)}}),[i,a,s]),x=(0,r.useCallback)((function(e){if(!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{window.scrollTo(0,0);var t={};if(i.is3DS&&"true"===String("false")){a&&a({target:{name:"dLoading",value:!0}});var r=i.cardNumber.charAt(0);"3"!==r&&"6"!==r&&"0000000000000000"!==i.cardNumber?p(e):(t.threeDSDetails="3,6 or test card",a&&a({target:{name:"dLoading",value:!1}}),s&&s(e,t))}else t.threeDSDetails="3ds off",s&&s(e,t)}a&&a({target:{name:"validated",value:!0}})}),[i,a,s,p]),m=(0,r.useCallback)((function(e){e.preventDefault(),a&&a({target:{name:"beforeSubmit",value:!1}});var n=document.querySelector(".is-invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"}),i.isRefresh?i.isRefresh&&0!==i.lastName.length&&0!==i.firstName.length&&!h&&x(e):"undefined"!==typeof u.erroredInputs.cardNumber&&"0000000000000000"!==i.cardNumber||"undefined"!==typeof u.erroredInputs.cvc||0===i.lastName.length||0===i.firstName.length||h||x(e)}),[a,x,u,h,i]);return(0,C.jsxs)(We,{id:"kform",noValidate:!0,validated:i.validated,onSubmit:m,children:[(0,C.jsx)(Ie,{values:i,onChange:a}),(0,C.jsx)(Ue,{isCardExpired:h,paymentInputs:l,values:i,onChange:a}),i.is3DS&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("input",{type:"hidden",name:"paayAmount",id:"paayAmount",value:i.currentPrice||"","data-threeds":"amount"}),(0,C.jsx)("input",{type:"hidden",name:"x_transaction_id",value:null===(n=i.currentOrder)||void 0===n?void 0:n.crmOrderId,"data-threeds":"id"})]}),t&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pe.Z,{message:(0,C.jsx)("span",{children:t.message})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Submit Application"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})},Qe=(0,o.ZP)(l.Z).withConfig({displayName:"OrderStatusRequestForm__StyledOrderStatusRequestForm",componentId:"sc-17yc4ac-0"})(["padding-bottom:62px;
1.inputs-block-title{margin-bottom:16px;padding-left:24px;padding-right:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;text-transform:capitalize;color:#424242;span{span{color:#C61F0C;}}}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.inputs-block-divider{margin-bottom:46px;}.top-disclaimer{font-family:'RobotoRegular';text-align:center;color:#424242;span{display:block;margin-top:16px;margin-bottom:16px;}}.bottom-disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:calc(1.42857rem * (10 / 16));text-align:center;color:#424242;opacity:0.5;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#424242",.5),(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet}));var Ke=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onSubmit;return(0,C.jsxs)(Qe,{noValidate:!0,validated:t.validated,onSubmit:o,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Enter order number used in your application"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Please enter your order number to check the status of your application or receive your EIN/Tax ID Number"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"orderNumber",required:!0,label:"Order Number",placeholder:"Enter Order Number",defaultInvalidMessage:"Please enter order number",value:t.orderNumber,onChange:r})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})},He=t(8153);function Je(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function en(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Je(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Je(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var nn=(0,o.ZP)(l.Z).withConfig({displayName:"OrderStatusResultForm__StyledOrderStatusResultForm",componentId:"sc-r10yzh-0"})(["padding-bottom:62px;.inputs-block-title{margin-bottom:16px;padding-left:24px;padding-right:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;text-transform:capitalize;color:#424242;span{span{color:#C61F0C;}}}.input-title{margin-bottom:4px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.inputs-block-divider{margin-bottom:46px;}.top-disclaimer{font-family:'RobotoRegular';text-align:center;color:#424242;span{display:block;margin-top:16px;margin-bottom:16px;}}.bottom-disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:calc(1.42857rem * (10 / 16));text-align:center;color:#424242;opacity:0.5;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#424242",.5),(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet}));var tn=function(e){var n,t,o,i,a=e.order,s=e.values,h=void 0===s?{}:s,p=(0,r.useState)(""),x=p[0],m=p[1],v=(0,r.useState)(""),g=v[0],f=v[1],j=(0,r.useState)(null),y=j[0],Z=j[1],N=(0,r.useState)(!1),w=N[0],E=N[1],S=(0,r.useState)(null),O=S[0],M=S[1],P=(0,r.useState)(null),I=P[0],k=P[1],D=(0,r.useState)(""),F=D[0],B=D[1],_=(0,r.useState)(""),X=_[0],A=_[1],z=(0,r.useState)(""),T=z[0],R=z[1],V=(0,r.useState)(""),$=V[0],Y=V[1],U=(0,r.useState)(""),W=U[0],G=U[1],Q=(0,r.useState)(""),K=Q[0],H=Q[1],J=(0,r.useState)(""),ee=J[0],ne=J[1],te=(0,r.useState)(""),re=te[0],oe=te[1],ie=(0,r.useState)(!1),se=ie[0],le=ie[1],de=(0,r.useState)(null),ce=de[0],ue=de[1],he=(0,r.useState)(null),pe=he[0],xe=he[1],me=(0,r.useState)(!1),ve=me[0],fe=me[1],je=(0,r.useState)(!1),be=je[0],ye=je[1],Ze=(0,b.D)(ve),Ce=function(e){var n=e.target,t=n.id,r=n.value;"verifying"===t?fe(r):m(r)},Ne=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!ve){ye(!1);var n=e.currentTarget,t=document.querySelector(".is-invalid");if(null!=t)t.scrollIntoView({behavior:"smooth",block:"start"});else if(!1===n.checkValidity()){e.preventDefault(),e.stopPropagation();var r=document.querySelector(".form-control:invalid");null!=r&&r.scrollIntoView({behavior:"smooth",block:"start"})}else ge().get("https://innova-labs.net:9080/orders/"+a.orderUid+"/PDF",{params:{email:x,last4:g},responseType:"arraybuffer",headers:{"Content-Type":"application/json",Accept:"application/pdf"}}).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),t=document.createElement("a");t.href=n;var r=h.orderNumber+".pdf";t.setAttribute("download",r),document.body.appendChild(t),t.click(),t.parentNode.removeChild(t)})).catch((function(e){e.response&&M(e.response.statusText)}));E(!0)}}),[a,h,x,g,ve]),we=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!ve){ye(!1);var n=e.currentTarget,t=document.querySelector(".is-invalid");if(null!=t)t.scrollIntoView({behavior:"smooth",block:"start"});else if(!1===n.checkValidity()){e.preventDefault(),e.stopPropagation();var r=document.querySelector(".form-control:invalid");null!=r&&r.scrollIntoView({behavior:"smooth",block:"start"}),E(!0)}else E(!0),ge().post("https://innova-labs.net:9080/orders/"+h.orderNumber+"/token",{},{params:{email:x},headers:{Accept:"application/json"}}).then((function(e){Z(e.data.token),E(!1),ge().get("https://innova-labs.net:9080/orders/"+a.orderUid,{headers:{Authorization:"Bearer "+e.data.token}}).then((function(e){if(xe(e.data),e.data.products&&e.data.products.length>=1){var n=e.data.products.length-1;
1if(e.data.order.productCode)"EIN_LLC"===e.data.order.productCode.code||"EIN_SoleProp"===e.data.order.productCode.code?(H(e.data.products[n].owner.lastName),Y(e.data.products[n].owner.firstName),G(e.data.products[n].owner.middleName),ne(e.data.products[n].owner.suffixName),oe(e.data.products[n].owner.ssn)):"EIN_CCorp"===e.data.order.productCode.code||"EIN_PSC"===e.data.order.productCode.code||"EIN_SCorp"===e.data.order.productCode.code?(H(e.data.products[n].principalOfficer.lastName),Y(e.data.products[n].principalOfficer.firstName),G(e.data.products[n].principalOfficer.middleName),ne(e.data.products[n].principalOfficer.suffixName),oe(e.data.products[n].principalOfficer.ssn)):"EIN_Church"===e.data.order.productCode.code||"EIN_NonProfit"===e.data.order.productCode.code?(H(e.data.products[n].responsibleParty.lastName),Y(e.data.products[n].responsibleParty.firstName),G(e.data.products[n].responsibleParty.middleName),ne(e.data.products[n].responsibleParty.suffixName),oe(e.data.products[n].responsibleParty.ssn)):"EIN_Estate"===e.data.order.productCode.code?(H(e.data.products[n].representative.lastName),Y(e.data.products[n].representative.firstName),G(e.data.products[n].representative.middleName),ne(e.data.products[n].representative.suffixName),oe(e.data.products[n].representative.ssn)):"EIN_Partnership"===e.data.order.productCode.code?(H(e.data.products[n].primaryPartner.lastName),Y(e.data.products[n].primaryPartner.firstName),G(e.data.products[n].primaryPartner.middleName),ne(e.data.products[n].primaryPartner.suffixName),oe(e.data.products[n].primaryPartner.ssn)):"EIN_Trust"===e.data.order.productCode.code&&(H(e.data.products[n].trustee.lastName),Y(e.data.products[n].trustee.firstName),G(e.data.products[n].trustee.middleName),ne(e.data.products[n].trustee.suffixName),oe(e.data.products[n].trustee.ssn));else{var t=e.data.order.productCodes.length-1;"EIN_LLC"===e.data.order.productCodes[t].code||"EIN_SoleProp"===e.data.order.productCodes[t].code?(H(e.data.products[n].owner.lastName),Y(e.data.products[n].owner.firstName),G(e.data.products[n].owner.middleName),ne(e.data.products[n].owner.suffixName),oe(e.data.products[n].owner.ssn)):"EIN_CCorp"===e.data.order.productCodes[t].code||"EIN_PSC"===e.data.order.productCodes[t].code||"EIN_SCorp"===e.data.order.productCodes[t].code?(H(e.data.products[n].principalOfficer.lastName),Y(e.data.products[n].principalOfficer.firstName),G(e.data.products[n].principalOfficer.middleName),ne(e.data.products[n].principalOfficer.suffixName),oe(e.data.products[n].principalOfficer.ssn)):"EIN_Church"===e.data.order.productCodes[t].code||"EIN_NonProfit"===e.data.order.productCodes[t].code?(H(e.data.products[n].responsibleParty.lastName),Y(e.data.products[n].responsibleParty.firstName),G(e.data.products[n].responsibleParty.middleName),ne(e.data.products[n].responsibleParty.suffixName),oe(e.data.products[n].responsibleParty.ssn)):"EIN_Estate"===e.data.order.productCodes[t].code?(H(e.data.products[n].representative.lastName),Y(e.data.products[n].representative.firstName),G(e.data.products[n].representative.middleName),ne(e.data.products[n].representative.suffixName),oe(e.data.products[n].representative.ssn)):"EIN_Partnership"===e.data.order.productCodes[t].code?(H(e.data.products[n].primaryPartner.lastName),Y(e.data.products[n].primaryPartner.firstName),G(e.data.products[n].primaryPartner.middleName),ne(e.data.products[n].primaryPartner.suffixName),oe(e.data.products[n].primaryPartner.ssn)):"EIN_Trust"===e.data.order.productCodes[t].code&&(H(e.data.products[n].trustee.lastName),Y(e.data.products[n].trustee.firstName),G(e.data.products[n].trustee.middleName),ne(e.data.products[n].trustee.suffixName),oe(e.data.products[n].trustee.ssn))}k(e.data.products[n])}})).catch((function(e){console.log(e),M(e.response.statusText)}))})).catch((function(e){M(e.response.statusText)}))}}),[a,h,x,ve]),Ee=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{var t=en({},pe);if(t.products&&t.products.length>=1){var r=t.products.length-1;t.products[r].legalName=F,""!==X||""!==T?(t.products[r].alternateLegalNames=[],""!==X&&t.products[r].alternateLegalNames.push(X),""!==T&&t.products[r].alternateLegalNames.push(T)):t.products[r].alternateLegalNames&&delete t.products[r].alternateLegalNames}ge().put("https://innova-labs.net:9080/orders/"+a.orderUid,t,{crossdomain:!0,headers:{"Content-Type":"application/json;charset=UTF-8","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){if(200===e.status)if(ce){var n=new FormData;n.append("file",ce),ge().post("https://innova-labs.net:9080/orders/"+a.orderUid+"/file?fileType=articles_of_incorporation",n,{crossdomain:!0,headers:{"Content-Type":"multipart/form-data","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){200===e.status&&le(!0)})).catch((function(e){M(e.message)}))}else le(!0)})).catch((function(e){console.log(e),M(e.message)}))}E(!0)}),[a,pe,F,X,T,y,ce]),Se=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{var t=en({},pe);if(t.products&&t.products.length>=1){var r=t.products.length-1;
1if(t.order.productCode)"EIN_LLC"===t.order.productCode.code||"EIN_SoleProp"===t.order.productCode.code?(t.products[r].owner.lastName=K,t.products[r].owner.firstName=$,t.products[r].owner.middleName=W,t.products[r].owner.suffixName=ee,t.products[r].owner.ssn=re):"EIN_CCorp"===t.order.productCode.code||"EIN_PSC"===t.order.productCode.code||"EIN_SCorp"===t.order.productCode.code?(t.products[r].principalOfficer.lastName=K,t.products[r].principalOfficer.firstName=$,t.products[r].principalOfficer.middleName=W,t.products[r].principalOfficer.suffixName=ee,t.products[r].principalOfficer.ssn=re):"EIN_Church"===t.order.productCode.code||"EIN_NonProfit"===t.order.productCode.code?(t.products[r].responsibleParty.lastName=K,t.products[r].responsibleParty.firstName=$,t.products[r].responsibleParty.middleName=W,t.products[r].responsibleParty.suffixName=ee,t.products[r].responsibleParty.ssn=re):"EIN_Estate"===t.order.productCode.code?(t.products[r].representative.lastName=K,t.products[r].representative.firstName=$,t.products[r].representative.middleName=W,t.products[r].representative.suffixName=ee,t.products[r].representative.ssn=re):"EIN_Partnership"===t.order.productCode.code?(t.products[r].primaryPartner.lastName=K,t.products[r].primaryPartner.firstName=$,t.products[r].primaryPartner.middleName=W,t.products[r].primaryPartner.suffixName=ee,t.products[r].primaryPartner.ssn=re):"EIN_Trust"===t.order.productCode.code&&(t.products[r].trustee.lastName=K,t.products[r].trustee.firstName=$,t.products[r].trustee.middleName=W,t.products[r].trustee.suffixName=ee,t.products[r].trustee.ssn=re);else{var o=t.order.productCodes.length-1;"EIN_LLC"===t.order.productCodes[o].code||"EIN_SoleProp"===t.order.productCodes[o].code?(t.products[r].owner.lastName=K,t.products[r].owner.firstName=$,t.products[r].owner.middleName=W,t.products[r].owner.suffixName=ee,t.products[r].owner.ssn=re):"EIN_CCorp"===t.order.productCodes[o].code||"EIN_PSC"===t.order.productCodes[o].code||"EIN_SCorp"===t.order.productCodes[o].code?(t.products[r].principalOfficer.lastName=K,t.products[r].principalOfficer.firstName=$,t.products[r].principalOfficer.middleName=W,t.products[r].principalOfficer.suffixName=ee,t.products[r].principalOfficer.ssn=re):"EIN_Church"===t.order.productCodes[o].code||"EIN_NonProfit"===t.order.productCodes[o].code?(t.products[r].responsibleParty.lastName=K,t.products[r].responsibleParty.firstName=$,t.products[r].responsibleParty.middleName=W,t.products[r].responsibleParty.suffixName=ee,t.products[r].responsibleParty.ssn=re):"EIN_Estate"===t.order.productCodes[o].code?(t.products[r].representative.lastName=K,t.products[r].representative.firstName=$,t.products[r].representative.middleName=W,t.products[r].representative.suffixName=ee,t.products[r].representative.ssn=re):"EIN_Partnership"===t.order.productCodes[o].code?(t.products[r].primaryPartner.lastName=K,t.products[r].primaryPartner.firstName=$,t.products[r].primaryPartner.middleName=W,t.products[r].primaryPartner.suffixName=ee,t.products[r].primaryPartner.ssn=re):"EIN_Trust"===t.order.productCodes[o].code&&(t.products[r].trustee.lastName=K,t.products[r].trustee.firstName=$,t.products[r].trustee.middleName=W,t.products[r].trustee.suffixName=ee,t.products[r].trustee.ssn=re)}}ge().put("https://innova-labs.net:9080/orders/"+a.orderUid,t,{crossdomain:!0,headers:{"Content-Type":"application/json;charset=UTF-8","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){200===e.status&&le(!0)})).catch((function(e){M(e.message)}))}E(!0)}),[a,pe,y,$,W,K,ee,re]),Oe=(0,r.useCallback)((function(e){return"Completed"===a.processingStatus?Ne(e):("Error"!==a.processingStatus||I||"Error101NameConflict"!==a.processingError)&&("Error"!==a.processingStatus||I||"MismatchError"!==a.processingError||1!==a.productCodes.length)?"Error"===a.processingStatus&&I&&"MismatchError"===a.processingError&&1===a.productCodes.length?Se(e):"Error"===a.processingStatus&&I&&"EIN_LLC"===I.code.code&&"Error101NameConflict"===a.processingError?Ee(e):void 0:we(e)}),[a,I,Ne,we,Se,Ee]);if((0,r.useEffect)((function(){null!==I&&void 0!==I&&I.legalName&&B((null===I||void 0===I?void 0:I.legalName)||""),null!==I&&void 0!==I&&I.alternateLegalNames&&null!==I&&void 0!==I&&I.alternateLegalNames[0]&&A((null===I||void 0===I?void 0:I.alternateLegalNames[0])||""),null!==I&&void 0!==I&&I.alternateLegalNames&&null!==I&&void 0!==I&&I.alternateLegalNames[1]&&R((null===I||void 0===I?void 0:I.alternateLegalNames[1])||"")}),[I]),(0,r.useEffect)((function(){var e,n,t;Ze&&!ve&&be&&(null===(e=document.getElementById("OrderStatusSubmitButton1"))||void 0===e||e.click(),null===(n=document.getElementById("OrderStatusSubmitButton2"))||void 0===n||n.click(),null===(t=document.getElementById("OrderStatusSubmitButton3"))||void 0===t||t.click())}),[ve,Ze,be]),se)return(0,C.jsx)(nn,{children:(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Thank You"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your Order is updated"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})});
1var Me=new Date,Pe=new Date;return Me.setDate(Pe.getDate()+1),(0,C.jsxs)(nn,{id:"kform",noValidate:!0,validated:w,onSubmit:Oe,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:1===a.productCodes.length?a.productCodes[0].customerName:a.productCodes[1].customerName})})})]}),"Completed"===a.processingStatus&&(0,C.jsxs)(C.Fragment,{children:[2===a.productCodes.length&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your LLC Inc. was generated and sent to the e-mail address on file."})})})}),2!==a.productCodes.length&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your EIN/Tax ID was generated and sent to the e-mail address on file. To download a copy here, please enter your e-mail address and last 4 digits of the Responsible Party's Social Security Number below."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(c.Z,{xs:12,md:8,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,{id:"last4SSN",required:!0,label:"Last 4 of SSN",placeholder:"XXXX",pattern:".{4,}",mask:"9999",defaultInvalidMessage:"Please specify last 4 digits of the Responsible Party's Social Security Number",value:g,onChange:function(e){return f(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton1",children:"Download"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]}),"Completed_SS4"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order has been completed. We have received your signed SS-4 form and have submitted it directly to the IRS. You can expect to receive your EIN from the IRS by mail shortly."})})})}),"RAaddressAdded"===a.processingStatus&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your Resident Agent has been assigned. Your Address to use for official communications with the State is:"})})}),a.productResult&&(0,C.jsxs)(c.Z,{xs:12,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"Address:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(n=a.productResult)||void 0===n?void 0:n.address1})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"City:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(t=a.productResult)||void 0===t?void 0:t.city})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"State / Province:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:He.ib[null===(o=a.productResult)||void 0===o?void 0:o.state]})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"ZIP / Postal Code:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(i=a.productResult)||void 0===i?void 0:i.zip})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]})]})]}),"Rejected"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order was rejected due to the Secretary of State needing an alternative name, you may still refile with the updated name."})})})}),"Abandoned"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your filing has been abandoned. For questions please contact customer service."})})})}),"Cancelled"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order was cancelled at your request. A full refund was processed to the card on file. Please allow 3-5 business days for that refund to appear on your account."})})})}),"Processing"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Your submission is being reviewed by our Specialists and should be completed shortly. You will receive an e-mail with your official EIN/Tax ID documentation when complete.",(0,C.jsx)("br",{}),"Estimated Completion Time:\xa0","STANDARD"===a.processingOption&&(0,C.jsxs)(C.Fragment,{children:["(",Me.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),"\xa0 12:00 PM EST)"]}),"RUSH"===a.processingOption&&(0,C.jsxs)(C.Fragment,{children:["(",Pe.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),"\xa0 8:00 PM EST)"]})]})})})}),"Error"===a.processingStatus&&!I&&"Error101NameConflict"!==a.processingError&&("MismatchError"!==a.processingError||"MismatchError"===a.processingError&&2===a.productC
1odes.length)&&"SS4"!==a.processingError&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"Additional details are required for your submission. You will be contacted by e-mail to provide these details. Please keep a close watch for this e-mail."]})})})}),("Error"===a.processingStatus&&!I&&"SS4"===a.processingError||"AttemptedNeedsInfo"===a.processingStatus)&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"Your submission requires additional documentation which we will submit to the IRS for you. You will receive a Docusign in your e-mail to authorize this submission. Please keep a close watch for this e-mail."]})})})}),"Error"===a.processingStatus&&!I&&"Error101NameConflict"===a.processingError&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton2",children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&!I&&"MismatchError"===a.processingError&&1===a.productCodes.length&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton3",children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"MismatchError"===a.processingError&&1===a.productC
1odes.length&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"We have encountered an issue verifying the Responsible Party\u2019s identifying information. In your submission you provided:"})})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"firstName",required:!0,label:"First Name",placeholder:"First Name",pattern:"^[ a-zA-Z&\\\\-]+$",defaultInvalidMessage:"Please provide a valid name",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:$,onChange:function(e){return Y(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"middleName",label:"Middle Name",placeholder:"Middle Name (optional)",pattern:"^[ a-zA-Z&\\\\-]+$",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:W,onChange:function(e){return G(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"lastName",required:!0,label:"Last Name",placeholder:"Last Name",pattern:"^[ a-zA-Z&\\\\-]+$",defaultInvalidMessage:"Please provide last name",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:K,onChange:function(e){return H(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,{id:"responsiblePartySuffixName",label:"Suffix",placeholder:"Please select",validated:w,options:u.jJ,value:ee,onChange:function(e){return ne(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,{id:"SSN",hint:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("strong",{children:"Why do we need this?"}),(0,C.jsx)("br",{}),"Your valid Social Security Number is needed by the IRS to obtain an EIN. Rest assured, all Social Security Numbers are stored in a fully protected fashion."]}),required:!0,label:"Social Security Number",placeholder:"123-45-6789",pattern:".{11,}",mask:"999-99-9999",defaultInvalidMessage:"Please provide a valid Social Security Number Ex: 123-45-6789",value:re,onChange:function(e){return oe(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"bottom-disclaimer",children:(0,C.jsx)("span",{children:"Our validation has shown that the provided Name does not match the Social Security Number provided. Please correct the errors in these fields and hit Submit Updated Info. Please note, this must correspond to the Name and Social Security Number on file with the Social Security Administration and IRS. If you recently changed your name due to marriage, separation, or other life event, please only submit the official name on file."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Update Info"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"Error101NameConflict"===a.processingError&&"EIN_LLC"===I.code.code&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["We have encountered an issue with the LLC name provided in your submission. This could mean that another LLC in another state has a similar name. Please verify that the name provided below is accurate, and was the name submitted to the state in which you registered the LLC.",(0,C.jsx)("br",{}),"If you need to make a correction, edit the name below. If the name is correct, we ask that you please provide two alternate names, which could be very slight variations of the provided LLC name."]})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName",required:!0,label:"LLC Name",placeholder:"LLC Name",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:F,onChange:function(e){return B(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName2",label:"Alternate LLC Name",placeholder:"Alternate LLC Name",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:X,onChange:function(e){return A(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName3",label:"Alternate LLC Name 2",placeholder:"Alternate LLC Name 2",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:T,onChange:function(e){return R(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"To aid with this, you may also attach your Articles of Incorporation below:"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(l.Z.File,{id:"formcheck-api-regular",children:(0,C.jsx)(l.Z.File.Input,{className:"articles-input",onChange:function(e){return ue(e.target.files[0])}})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Update Info"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"Error101NameConflict"===a.processingError&&"EIN_LLC"!==I.code.code&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})})})]})};var rn=function(e){var n=e.order,t=void 0===n?null:n,r=e.values,o=void 0===r?{}
1:r,i=e.onChange,a=e.onSubmit;return t&&t[0]?t.map((function(e){return(0,C.jsx)(tn,{order:e,values:o},e.orderUid)})):(0,C.jsx)(Ke,{values:o,onChange:i,onSubmit:a})};function on(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function an(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?on(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):on(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var sn=o.ZP.div.withConfig({displayName:"SoleProprietorInfoBlock__StyledContainer",componentId:"sc-1tonfl0-0"})(["margin-bottom:24px;"]),ln=(0,o.ZP)(d.Z).withConfig({displayName:"SoleProprietorInfoBlock__StyledRow",componentId:"sc-1tonfl0-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var dn=function(e){var n,t,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(sn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Sole Proprietor Information"})}),(0,C.jsx)(ln,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,an(an({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:o[u.xh.dbaname],onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})})]})};function cn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function un(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?cn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var hn=o.ZP.div.withConfig({displayName:"OwnerInfoBlock__StyledContainer",componentId:"sc-ztxq74-0"})(["margin-bottom:24px;"]),pn=(0,o.ZP)(d.Z).withConfig({displayName:"OwnerInfoBlock__StyledRow",componentId:"sc-ztxq74-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var xn=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,f=e.values,j=void 0===f?{}:f,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(hn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Owner Information"})}),(0,C.jsxs)(pn,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,un(un({},(0,h.X)(u.xh.ownerFirstName)),{},{label:null===(n=(0,h.X)(u.xh.ownerFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:j[u.xh.ownerFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,un(un({},(0,h.X)(u.xh.ownerMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.ownerMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:j[u.xh.ownerMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,un(un({},(0,h.X)(u.xh.ownerLastName)),{},{label:null===(i=(0,h.X)(u.xh.ownerLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:j[u.xh.ownerLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,un(un({},(0,h.X)(u.xh.ownerTitle)),{},{label:null===(s=(0,h.X)(u.xh.ownerTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.ownerTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:j[u.xh.ownerTitle],validated:j.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,un(un({}
1,(0,h.X)(u.xh.ownerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.ownerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.ownerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:j[u.xh.ownerSuffixName],validated:j.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,un(un({},(0,h.X)(u.xh.ownerSSN)),{},{label:"Social Security Number",placeholder:"123-45-6789",value:j[u.xh.ownerSSN],onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})},mn=t(29),vn=t(7794),gn=t.n(vn);function fn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function jn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?fn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var bn=o.ZP.div.withConfig({displayName:"ActivityBlock__StyledContainer",componentId:"sc-eejiev-0"})(["margin-bottom:24px;"]),yn=(0,o.ZP)(d.Z).withConfig({displayName:"ActivityBlock__StyledRow",componentId:"sc-eejiev-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);function Zn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){return{value:e.code,title:e.label}}))}function Cn(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:4;if(t.labelForDescriptionField)return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:t.labelForDescriptionField})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,jn(jn({},(0,h.X)(u.xh.productDescription)),{},{label:null===(e=(0,h.X)(u.xh.productDescription))||void 0===e||null===(n=e.placeholder)||void 0===n?void 0:n.replace("*",""),defaultInvalidMessage:t.labelForDescriptionField,value:r[u.xh.productDescription],onChange:a,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))})]});if(t.extraQuestion){var d,p,x,m=Array.from({length:l-s},(function(e,n){return n+s+1})).reduce((function(e,n){return e["".concat(u.xh.productExtraQuestion).concat(n)]="",e}),{productDescription:""}),v=function(e){return a&&a(e,m)},g=null===(d=t.extraQuestionOptions)||void 0===d?void 0:d.find((function(e){return e.code===r["".concat(u.xh.productExtraQuestion).concat(s)]}));return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:t.extraQuestion})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,jn(jn({},(0,h.X)(u.xh.productExtraQuestion)),{},{label:null===(p=(0,h.X)(u.xh.productExtraQuestion))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),id:"".concat(u.xh.productExtraQuestion).concat(s),options:Zn(t.extraQuestionOptions),value:r["".concat(u.xh.productExtraQuestion).concat(s)],validated:r.validated,onChange:v,onMouseEnter:o,onMouseLeave:i,hideDivider:!(null!==g&&void 0!==g&&g.labelForDescriptionField)}))}),Cn(g,r,o,i,a,s+1)]})}return null}var Nn=function(e){var n,t,o,i,s,l,d,p,x,m,v,g=e.values,f=void 0===g?{}:g,j=e.onChange,b=e.onMouseEnter,y=e.onMouseLeave,Z=(0,r.useState)([]),N=Z[0],w=Z[1],E="EIN_Trust"===f.code,S="Escrow"===f[u.xh.trustType],O=(0,r.useMemo)((function(){var e="Enter the specific products/services of the business.";return"EIN_Church"===f.code&&(e="Enter the specific products/services of the Church."),"EIN_NonProfit"===f.code&&(e="Enter the specific products/services of the Non Profit."),"".concat(e," ").concat("If you own a computer repair business you could enter \u201ccomputer repair services\u201d.")}),[f]),M=(0,r.useMemo)((function(){return Zn(N)}),[N]),P=(0,r.useMemo)((function(){return N.find((function(e){return e.code===f[u.xh.activityPrimaryActivity]}))}),[f,N]),I=(0,r.useMemo)((function(){return Zn(null===P||void 0===P?void 0:P.specificProducts)}),[P]),k=(0,r.useMemo)((function(){return null===P||void 0===P?void 0:P.specificProducts.find((function(e){return e.code===f[u.xh.activitySpecificProducts]}))}),[P,f]),D=Boolean(null===P||void 0===P?void 0:P.labelForDescriptionField),F=Boolean((null===P||void 0===P||null===(n=P.specificProducts)||void 0===n?void 0:n.length)>0),B=Boolean(null===P||void 0===P?void 0:P.specificProductsLabel),_=(0,r.useCallback)((function(e){var n,t=(n={activitySpecificProducts:""},(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"1"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"2"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"3"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"4"),""),(0,a.Z)(n,"productDescription",""),n);j&&j(e,t)}),[j]),X=(0,r.useCallback)((function(e){var n,t=(n={},(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"1"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"2"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"3"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"4"),""),(0,a.Z)(n,"productDescription",""),n);j(e,t)}),[j]);return(0,r.useEffect)((function(){function e(){return(e=(0,mn.Z)(gn().mark((function e(){var n,t,r,o,i;return gn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ge().get("https://innova-labs.net:9080/category/EIN/products/primary-activity");case 3:n=e.sent,w(n.data),e.next=22;break;case 7:return e.prev=7,e.t0=e.catch(0),e.prev=9,t=window.location.href,r=t.split("/"),o=(r[0]+"//"+r[2]).replace(/\/+$/,""),e.next=15,ge().get(o+"/crm/category/EIN/products/primary-activity");case 15:i=e.sent,w(i.data),e.next=22;break;
1case 19:e.prev=19,e.t1=e.catch(9),fe.Tb(new Error("Primary Activity unavailable"),{tags:{section:"products"}});case 22:case"end":return e.stop()}}),e,null,[[0,7],[9,19]])})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]),E?(0,C.jsxs)(bn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Activity"})}),(0,C.jsx)(yn,{children:S&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,jn(jn({},(0,h.X)(u.xh.activityReasonForApplying)),{},{label:null===(m=(0,h.X)(u.xh.activityReasonForApplying))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),value:f[u.xh.activityReasonForApplying],validated:f.validated,onChange:j,onMouseEnter:b,onMouseLeave:y,hideDivider:!0}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})})]}):(0,C.jsxs)(bn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Activity"})}),(0,C.jsxs)(yn,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,jn(jn({},(0,h.X)(u.xh.activityReasonForApplying)),{},{label:null===(t=(0,h.X)(u.xh.activityReasonForApplying))||void 0===t||null===(o=t.placeholder)||void 0===o?void 0:o.replace("*",""),value:f[u.xh.activityReasonForApplying],validated:f.validated,onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,jn(jn({},(0,h.X)(u.xh.activityPrimaryActivity)),{},{label:null===(i=(0,h.X)(u.xh.activityPrimaryActivity))||void 0===i||null===(s=i.placeholder)||void 0===s?void 0:s.replace("*",""),options:M,value:f[u.xh.activityPrimaryActivity],validated:f.validated,onChange:_,onMouseEnter:b,onMouseLeave:y,hideDivider:!D&&!F}))}),D&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:P.labelForDescriptionField})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,jn(jn({},(0,h.X)(u.xh.productDescription)),{},{label:null===(l=(0,h.X)(u.xh.productDescription))||void 0===l||null===(d=l.placeholder)||void 0===d?void 0:d.replace("*",""),defaultInvalidMessage:P.labelForDescriptionField,value:f[u.xh.productDescription],onChange:j,onMouseEnter:b,onMouseLeave:y,hideDivider:!f[u.xh.productDescription]}))})]}),F&&(0,C.jsxs)(C.Fragment,{children:[B&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:P.specificProductsLabel})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,jn(jn({},(0,h.X)(u.xh.activitySpecificProducts)),{},{label:null===(p=(0,h.X)(u.xh.activitySpecificProducts))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),hint:O,options:I,value:f[u.xh.activitySpecificProducts],validated:f.validated,onChange:X,onMouseEnter:b,onMouseLeave:y,hideDivider:!f[u.xh.activitySpecificProducts]}))})]}),Cn(k,f,b,y,j)]})]})};function wn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function En(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?wn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Sn=function(){var e=(new Date).getFullYear()-1900;return Array.from(new Array(e+2),(function(e,n){return{value:1900+n,title:"".concat(1900+n)}}))},On=o.ZP.div.withConfig({displayName:"GeneralQuestionsBlock__StyledContainer",componentId:"sc-ydg5dv-0"})(["margin-bottom:24px;"]),Mn=(0,o.ZP)(d.Z).withConfig({displayName:"GeneralQuestionsBlock__StyledRow",componentId:"sc-ydg5dv-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var Pn=function(e){var n=e.values,t=void 0===n?{}:n,o=e.onChange,i=e.onMouseEnter,a=e.onMouseLeave,s=["EIN_SoleProp","EIN_LLC","EIN_CCorp","EIN_SCorp"].includes(null===t||void 0===t?void 0:t.code),l="EIN_Trust"!==(null===t||void 0===t?void 0:t.code),d="true"===t[u.xh.questionsAppliedBefore],p="true"===t[u.xh.questions
1Hire],x="true"===t[u.xh.payLessThan4k],m="EIN_Partnership"!==(null===t||void 0===t?void 0:t.code)||"EIN_PSC"!==(null===t||void 0===t?void 0:t.code),v=(0,r.useMemo)((function(){return t[u.xh.numberOfAgricultureEmployees]+t[u.xh.numberOfHouseholdeEmployees]+t[u.xh.numberOfOtherEmployees]<1}),[t]);return(0,C.jsxs)(On,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"General questions"})}),(0,C.jsxs)(Mn,{children:[s&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,En(En({},(0,h.X)(u.xh.acceptCreditCardPayments)),{},{value:t[u.xh.acceptCreditCardPayments],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,En(En({},(0,h.X)(u.xh.payEmployeesViaPayroll)),{},{value:t[u.xh.payEmployeesViaPayroll],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),l&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,En(En({},(0,h.X)(u.xh.questionsHighway)),{},{value:t[u.xh.questionsHighway],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,En(En({},(0,h.X)(u.xh.questionsGambling)),{},{value:t[u.xh.questionsGambling],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,En(En({},(0,h.X)(u.xh.questionsATF)),{},{value:t[u.xh.questionsATF],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,En(En({},(0,h.X)(u.xh.questionsExcise)),{},{value:t[u.xh.questionsExcise],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,En(En({},(0,h.X)(u.xh.questionsAppliedBefore)),{},{value:t[u.xh.questionsAppliedBefore],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),d&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,En(En({},(0,h.X)(u.xh.previousEINNumberFirst2)),{},{value:t[u.xh.previousEINNumberFirst2],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,En(En({},(0,h.X)(u.xh.previousEINNumberLast7)),{},{value:t[u.xh.previousEINNumberLast7],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,En(En({},(0,h.X)(u.xh.questionsHire)),{},{value:t[u.xh.questionsHire],onChange:o,onMouseEnter:i,onMouseLeave:a,hideDivider:!p}))}),p&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,En(En({},(0,h.X)(u.xh.payLessThan4k)),{},{value:t[u.xh.payLessThan4k],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),x&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,En(En({},(0,h.X)(u.xh.annualTaxes)),{},{value:t[u.xh.annualTaxes],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,En(En({},(0,h.X)(u.xh.numberOfAgricultureEmployees)),{},{isInvalid:v,value:t[u.xh.numberOfAgricultureEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),m&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,En(En({},(0,h.X)(u.xh.numberOfHouseholdeEmployees)),{},{isInvalid:v,value:t[u.xh.numberOfHouseholdeEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,En(En({},(0,h.X)(u.xh.numberOfOtherEmployees)),{},{isInvalid:v,value:t[u.xh.numberOfOtherEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,En(En({},(0,h.X)(u.xh.firstDateWagesMonth)),{},{value:t[u.xh.firstDateWagesMonth],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,En(En({},(0,h.X)(u.xh.firstDateWagesDay)),{},{value:t[u.xh.firstDateWagesDay],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,En(En({},(0,h.X)(u.xh.firstDateWagesYear)),{},{options:Sn(),value:t[u.xh.firstDateWagesYear],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a,hideDivider:!0}))})]})]})]})};function In(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function kn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?In(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):In(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ln=o.ZP.div.withConfig({displayName:"BusinessAddressBlock__StyledContainer",componentId:"sc-zsg1fv-0"})(["margin-bottom:24px;"]),Dn=o.ZP.div.withConfig({displayName:"BusinessAddressBlock__StyledStateDesc",componentId:"sc-zsg1fv-1"})(["font-family:'Arial';font-style:italic;font-size:12px;margin-bottom:20px;"]),Fn=(0,o.ZP)(d.Z).withConfig({displayName:"BusinessAddressBlock__StyledRow",componentId:"sc-zsg1fv-2"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var Bn=function(e){var n,t,o,i,a,s,l,d,p,x,m,v,g,f,j,b,y,Z,N,w,E,S,O=e.prefix,M=void 0===O?"corp":O,P=e.values,I=void 0===P?{}:P,k=e.onChange,D=e.onMouseEnter,F=e.onMouseLeave,B="true"===I[u.xh.altAddress],_=(0,r.useMemo)((function(){var e="Business Address (PO Boxes are not authorized)";return"EIN_Estate"===I.code&&(e="Executor/Legal Personal Representative Address (PO Boxes are not authorized)"),"EIN_Trust"===I.code&&(e="Trustee Address (PO Boxes are not authorized)"),e}),[I]),X=(0,r.useMemo)((function(){var e="Please enter the physical address of the business/entity.";return"EIN_Estate"===I.code&&(e="Enter the street address of the person that will manage the Estate."),"EIN_Trust"===I.code&&(e="Please enter the physical address of the Trustee."),"EIN_Church"===I.code&&(e="Please enter the physical address of the Church."),"EIN_NonProfit"===I.code&&(e="Please enter the physical address of the Non Profit."),"".concat(e," ").concat("Business AddressNo P.O. Boxes Allowed")}),[I]),A=(0,r.useMemo)((function(){var e="Enter the county of the business/entity.";return"EIN_Estate"===I.code&&(e="Enter the county of the person that will manage the Estate."),"EIN_Trust"===I.code&&(e="Enter the county of the Trustee."),"EIN_Church"===I.code&&(e="Enter the county of the Church."),"EIN_NonProfit"===I.code&&(e="Enter the county of the Non Profit."),"".concat(e," ").concat("Do not confuse \u201ccounty\u201d with \u201ccountry\u201d.")}),[I]);return(0,C.jsxs)(Ln,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:_})}),(0,C.jsxs)(Fn,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,kn(kn({},(0,h.X)(u.xh.baseAddressAddress1.replace("base",M))),{},{label:null===(n=(0,h.X)(u.xh.baseAddressAddress1.replace("base",M)))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,isCorpAddress:!0,hint:X,pattern:"(?!.*(?:[pP][oO] [bB][oO][xX]))^[ a-zA-Z0-9\\\\\\/\\-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /. PO Boxes are not acceptable.",value:I[u.xh.baseAddressAddress1.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,kn(kn({},(0,h.X)(u.xh.baseAddressAddress2.replace("base",M))),{},{label:null===(o=(0,h.X)(u.xh.baseAddressAddress2.replace("base",M)))||void 0===o||null===(i=o.placeholder)||void 0===i?void 0:i.replace("*",""),placeholder:void 0,isCorpAddress:!0,pattern:"(?!.*(?:[pP][oO] [bB][oO][xX]))^[ a-zA-Z0-9\\\\\\/\\-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /. PO Boxes are not acceptable.",value:I[u.xh.baseAddressAddress2.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,kn(kn({},(0,h.X)(u.xh.baseAddressCity.replace("base",M))),{},{label:null===(a=(0,h.X)(u.xh.baseAddressCity.replace("base",M)))||void 0===a||null===(s=a.placeholder)||void 0===s?void 0:s.replace("*",""),placeholder:void 0,value:I[u.xh.baseAddressCity.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,kn(kn({},(0,h.X)(u.xh.baseAddressZip.replace("base",M))),{},{label:null===(l=(0,h.X)(u.xh.baseAddressZip.replace("base",M)))||void 0===l||null===(d=l.placeholder)||void 0===d?void 0:d.replace("*",""),placeholder:void 0,value:I[u.xh.baseAddressZip.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:"EIN_LLC"===I.code&&(0,He.hj)(null===I||void 0===I?void 0:I.organizedState)?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(ze,kn(kn({}
1,(0,h.X)(u.xh.baseAddressState.replace("base",M))),{},{label:"State / Province",value:I[u.xh.baseAddressState.replace("base",M)],validated:I.validated,onChange:k,onMouseEnter:D,onMouseLeave:F,disabled:!0,noBottomSpace:!0})),(0,C.jsxs)(Dn,{children:["For ",He.ib[null===I||void 0===I?void 0:I.organizedState]||"this state"," filings, the physical address must be located within the state."]})]}):(0,C.jsx)(ze,kn(kn({},(0,h.X)(u.xh.baseAddressState.replace("base",M))),{},{label:"State / Province",value:I[u.xh.baseAddressState.replace("base",M)],validated:I.validated,onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,kn(kn({},(0,h.X)(u.xh.baseAddressCounty.replace("base",M))),{},{label:null===(p=(0,h.X)(u.xh.baseAddressCounty.replace("base",M)))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),placeholder:void 0,hint:A,value:I[u.xh.baseAddressCounty.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,kn(kn({},(0,h.X)(u.xh.altAddress)),{},{value:I[u.xh.altAddress],onChange:k,onMouseEnter:D,onMouseLeave:F,hideDivider:!B}))}),B&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,kn(kn({},(0,h.X)(u.xh.altAddressAddress1)),{},{label:null===(m=(0,h.X)(u.xh.altAddressAddress1))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:I[u.xh.altAddressAddress1],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,kn(kn({},(0,h.X)(u.xh.altAddressAddress2)),{},{label:null===(g=(0,h.X)(u.xh.altAddressAddress2))||void 0===g||null===(f=g.placeholder)||void 0===f?void 0:f.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:I[u.xh.altAddressAddress2],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,kn(kn({},(0,h.X)(u.xh.altAddressCity)),{},{label:null===(j=(0,h.X)(u.xh.altAddressCity))||void 0===j||null===(b=j.placeholder)||void 0===b?void 0:b.replace("*",""),placeholder:void 0,value:I[u.xh.altAddressCity],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,kn(kn({},(0,h.X)(u.xh.altAddressZip)),{},{label:null===(y=(0,h.X)(u.xh.altAddressZip))||void 0===y||null===(Z=y.placeholder)||void 0===Z?void 0:Z.replace("*",""),placeholder:void 0,value:I[u.xh.altAddressZip],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,kn(kn({},(0,h.X)(u.xh.altAddressState)),{},{label:null===(N=(0,h.X)(u.xh.altAddressState))||void 0===N||null===(w=N.placeholder)||void 0===w?void 0:w.replace("*",""),value:I[u.xh.altAddressState],validated:I.validated,onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,kn(kn({},(0,h.X)(u.xh.altAddressCounty)),{},{label:null===(E=(0,h.X)(u.xh.altAddressCounty))||void 0===E||null===(S=E.placeholder)||void 0===S?void 0:S.replace("*",""),placeholder:void 0,hint:A,value:I[u.xh.altAddressCounty],onChange:k,onMouseEnter:D,onMouseLeave:F,hideDivider:!0}))})]})]})]})};function _n(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Xn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?_n(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_n(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var An=function(){var e=(new Date).getFullYear()-1900;return Array.from(new Array(e+2),(function(e,n){return{value:1900+n,title:"".concat(1900+n)}}))},zn=o.ZP.div.withConfig({displayName:"DatesBlock__StyledContainer",componentId:"sc-1gk9wt5-0"})(["margin-bottom:24px;"]),Tn=(0,o.ZP)(d.Z).withConfig({displayName:"DatesBlock__StyledRow",componentId:"sc-1gk9wt5-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var Rn=function(e){var n=e.prefix,t=void 0===n?"startDate":n,r=e.values,o=void 0===r?{}
1:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(zn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Dates"})}),(0,C.jsxs)(Tn,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Xn(Xn({},(0,h.X)(u.xh.baseDateMonth.replace("baseDate",t))),{},{value:o[u.xh.baseDateMonth.replace("baseDate",t)],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Xn(Xn({},(0,h.X)(u.xh.baseDateDay.replace("baseDate",t))),{},{value:o[u.xh.baseDateDay.replace("baseDate",t)],validated:o.validated,options:(0,h.V)({year:o[u.xh.baseDateYear.replace("baseDate",t)],month:o[u.xh.baseDateMonth.replace("baseDate",t)]}),onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Xn(Xn({},(0,h.X)(u.xh.baseDateYear.replace("baseDate",t))),{},{options:An(),value:o[u.xh.baseDateYear.replace("baseDate",t)],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,Xn(Xn({},(0,h.X)(u.xh.closingMonth)),{},{value:o[u.xh.closingMonth],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})]})]})};function Vn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function qn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Vn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Vn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var $n=o.ZP.div.withConfig({displayName:"CommunicationBlock__StyledContainer",componentId:"sc-1c2lscr-0"})(["margin-bottom:24px;"]),Yn=(0,o.ZP)(d.Z).withConfig({displayName:"CommunicationBlock__StyledRow",componentId:"sc-1c2lscr-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var Un=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onMouseEnter,i=e.onMouseLeave;return(0,C.jsxs)($n,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Applicants Contact Information"})}),(0,C.jsxs)(Yn,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(q,qn(qn({},(0,h.X)(u.xh.customerPhone)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Mobile Phone Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"If any additional information is required to complete your application, we will contact you by phone and/or text message. Text message updates regarding your order and status will be provided."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),value:t[u.xh.customerPhone],onChange:r,onMouseEnter:o,onMouseLeave:i}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,qn(qn({},(0,h.X)(u.xh.customerEmail)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Email Address\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"We will Email you any important updates regarding your application."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),hint:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("strong",{children:"Recipient E-mail"}),(0,C.jsx)("br",{}),(0,C.jsx)("strong",{children:"IMPORTANT:"})," This is the e-mail where we will send the EIN Number, once processed. Make sure it is an e-mail that is checked frequently, and can receive incoming messages."]}),loading:t.verifying,value:t[u.xh.customerEmail],onChange:r,onMouseEnter:o,onMouseLeave:i}))})]})]})},Wn=(m()().publicRuntimeConfig,(0,o.ZP)(l.Z.Group).withConfig({displayName:"AgreementCheckbox__StyledGroup",componentId:"sc-8rm3p7-0"})(["padding-left:0;padding-right:0;margin-bottom:10px;padding-bottom:24px;border-bottom:1px solid #eaeaea;",";input:checked,input:not(:checked){position:absolute;top:2px;left:0;}input:checked + label,input:not(:checked) + label{display:inline-block;position:relative;padding-left:20px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;cursor:pointer;}"],(function(e){return e.hideDivider&&(0,o.iv)(["border-bottom:none;"])}))),Gn=(0,o.ZP)(l.Z.Check).withConfig({displayName:"AgreementCheckbox__StyledCheck",componentId:"sc-8rm3p7-1"})(["margin-right:24px;"]);var Qn=function(e){var n=e.id,t=e.label,r=void 0===t?"Label":t,o=e.hideDivider;return(0,C.jsx)(Wn,{controlId:n,className:"custom-control-invalid",hideDivider:o,children:(0,C.jsx)(Gn,{inline:!0,required:!0,type:"checkbox",name:n,label:r})})},Kn=(0,o.ZP)(d.Z).withConfig({displayName:"AgreementBlock__StyledRow",componentId:"sc-a1mci9-0"})([".input-label{span{> span{color:#790000;}}}"]);var Hn=function(){return(0,C.jsxs)(Kn,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-label",children:(0,C.jsxs)("span",{children:["Client Agreement ",(0,C.jsx)("span",{children:"*"})]})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Qn,{id:"formAgreement",hideDivider:!0,label:(0,C.jsx)("span",{children:"By checking this box, I represent and warrant that all of the information provided above is accurate and complete. I authorize EIN Docs to act as a \u201cThird Party Designee\u201d as described
1in the instructions to Form SS-4 to apply for and receive the Employer Identification Number from the IRS. I agree to the Privacy Policy and Terms and Conditions of service and to receive text message updates regarding my order."})})})]})},Jn=o.ZP.div.withConfig({displayName:"ProductInfoBlock__StyledContainer",componentId:"sc-1rdri0m-0"})(["margin-bottom:24px;"]),et=(0,o.ZP)(d.Z).withConfig({displayName:"ProductInfoBlock__StyledRow",componentId:"sc-1rdri0m-1"})(["margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:1px solid #ccc;ul{font-family:RobotoRegular;margin-top:0px;list-style:disc;font-size:16px;padding-inline-start:40px;}li{font-size:16px;}"]);var nt=function(e){var n=e.header,t=e.description;return(0,C.jsxs)(Jn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:n})}),(0,C.jsx)(et,{children:(0,C.jsx)("span",{children:t})})]})},tt=(0,o.ZP)(l.Z).withConfig({displayName:"EINSolePropForm__StyledEINSolePropForm",componentId:"sc-1dxmmjg-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;background:#055393;font-family:'RobotoBold';font-size:20px;color:#FFFFFF;}.input-title{margin-bottom:4px;font-family:'RobotoBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:16px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var rt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Sole Proprietor Application",description:(0,C.jsxs)("div",{children:["A sole proprietorship is a unincorporated business owned by one individual, making it the simplest form of business to start and operate. There are over 20 million sole proprietorships operating in the United States and Canada, making it by far the most popular form of business ownership.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"In a sole proprietorship, there is no difference between the individual and business for tax purposes."]})}),(0,C.jsx)(dn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(xn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Nn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Rn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Un,{values:o,onChange:i}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(tt,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Sole Proprietor Application",description:(0,C.jsxs)("div",{children:["A sole proprietorship is a unincorporated business owned by one individual, making it the simplest form of business to start and operate. There are over 20 million sole proprietorships operating in the United States and Canada, making it by far the most popular form of business ownership.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"In a sole proprietorship, there is no difference between the individual and business for tax purposes."]})}),(0,C.jsx)(dn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(xn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Nn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Rn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Un,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})},ot=t(853);function it(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function at(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?it(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):it(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var st=o.ZP.div.withConfig({displayName:"PartnershipInfoBlock__StyledContainer",componentId:"sc-1vuxm8f-0"})(["margin-bottom:24px;"]),lt=(0,o.ZP)(d.Z).withConfig({displayName:"PartnershipInfoBlock__StyledRow",componentId:"sc-1vuxm8f-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var dt=function(e){var n,t,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(st,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(lt,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,at(at({},(0,h.X)(u.xh.legalName)),{},{label:"Name of the Partnership",defaultInvalidMessage:"Please enter the name of the partnership",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: Corp, LLC, PLLC, LC, Inc."}),pattern:"(?!.*(?:[ ][lL][cC]$))(?!.*(?:[ ][lL][lL][cC]$))(?!.*(?:[ ][pP][lL][lL][cC]$))(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))(?!.*(?:[ ][iI][nN][cC][oO][rR][pP][oO][rR][aA][tT][eE][dD]$))^[ a-zA-Z0-9&\\\\-]+$",validate:ot.hK,value:o[u.xh.legalName],onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,at(at({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:o[u.xh.dbaname],onChange:i,onMouseEnter:a,onMouseLeave:s}))})]})]})};function ct(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ut(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ct(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ct(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ht=o.ZP.div.withConfig({displayName:"PrimaryPartnerInfoBlock__StyledContainer",componentId:"sc-1tbbj8p-0"})(["margin-bottom:24px;"]),pt=(0,o.ZP)(d.Z).withConfig({displayName:"PrimaryPartnerInfoBlock__StyledRow",componentId:"sc-1tbbj8p-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var xt=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,f,j,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=e.onMouseEnter,w=e.onMouseLeave;return(0,C.jsxs)(ht,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Primary Partner Information"})}),(0,C.jsxs)(pt,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,ut(ut({},(0,h.X)(u.xh.primaryPartnerFirstName)),{},{label:null===(n=(0,h.X)(u.xh.primaryPartnerFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:y[u.xh.primaryPartnerFirstName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,ut(ut({},(0,h.X)(u.xh.primaryPartnerMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.primaryPartnerMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:y[u.xh.primaryPartnerMiddleName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,ut(ut({},(0,h.X)(u.xh.primaryPartnerLastName)),{},{label:null===(i=(0,h.X)(u.xh.primaryPartnerLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:y[u.xh.primaryPartnerLastName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,ut(ut({}
1,(0,h.X)(u.xh.primaryPartnerTitle)),{},{label:null===(s=(0,h.X)(u.xh.primaryPartnerTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.primaryPartnerTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:y[u.xh.primaryPartnerTitle],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,ut(ut({},(0,h.X)(u.xh.primaryPartnerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.primaryPartnerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.primaryPartnerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:y[u.xh.primaryPartnerSuffixName],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,ut(ut({},(0,h.X)(u.xh.primaryPartnerSSN)),{},{label:"Social Security Number",placeholder:null===(f=(0,h.X)(u.xh.primaryPartnerSSN))||void 0===f||null===(j=f.placeholder)||void 0===j?void 0:j.replace("*",""),value:y[u.xh.primaryPartnerSSN],onChange:Z,onMouseEnter:N,onMouseLeave:w,hideDivider:!0}))})]})]})},mt=(0,o.ZP)(l.Z).withConfig({displayName:"EINPartnershipForm__StyledEINPartnershipForm",componentId:"sc-1f5qpkb-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;background:#055393;font-family:'RobotoBold';font-size:20px;color:#FFFFFF;}.input-title{margin-bottom:4px;font-family:'RobotoBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var vt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Partnership Application",description:"A partnership is a legal form of business operation between two or more individuals who share management and profits. The federal government recognizes several types of partnerships. The two most common are general and limited partnerships."}),(0,C.jsx)(dt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(xt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Nn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Rn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Un,{values:o,onChange:i}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(mt,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Partnership Application",description:"A partnership is a legal form of business operation between two or more individuals who share management and profits. The federal government recognizes several types of partnerships. The two most common are general and limited partnerships."}),(0,C.jsx)(dt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(xt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Nn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Rn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Un,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function gt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ft(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?gt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var jt=o.ZP.div.withConfig({displayName:"CCorpInfoBlock__StyledContainer",componentId:"sc-14wz5pa-0"})(["margin-bottom:24px;label[for='legalName']{width:100%;}"]),bt=(0,o.ZP)(d.Z).withConfig({displayName:"CCorpInfoBlock__StyledRow",componentId:"sc-14wz5pa-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var yt=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(jt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(bt,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,ft(ft({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Corporation",defaultInvalidMessage:"Please provide a valid corporation name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,ft(ft({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,ft(ft({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d}))})]})]})};function Zt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ct(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Zt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Zt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Nt=o.ZP.div.withConfig({displayName:"PrincipalOfficerInfoBlock__StyledContainer",componentId:"sc-1j7j3bq-0"})(["margin-bottom:24px;label[for='legalName']{width:100%;}"]),wt=(0,o.ZP)(d.Z).withConfig({displayName:"PrincipalOfficerInfoBlock__StyledRow",componentId:"sc-1j7j3bq-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var Et=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,f,j,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=e.onMouseEnter,w=e.onMouseLeave;return(0,C.jsxs)(Nt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Principal Officer Information"})}),(0,C.jsxs)(wt,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Ct(Ct({},(0,h.X)(u.xh.principalOfficerFirstName)),{},{label:null===(n=(0,h.X)(u.xh.principalOfficerFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:y[u.xh.principalOfficerFirstName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Ct(Ct({},(0,h.X)(u.xh.principalOfficerMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.principalOfficerMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:y[u.xh.principalOfficerMiddleName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Ct(Ct({},(0,h.X)(u.xh.principalOfficerLastName)),{},{label:null===(i=(0,h.X)(u.xh.principalOfficerLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:y[u.xh.principalOfficerLastName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Ct(Ct({}
1,(0,h.X)(u.xh.principalOfficerTitle)),{},{label:null===(s=(0,h.X)(u.xh.principalOfficerTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.principalOfficerTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:y[u.xh.principalOfficerTitle],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Ct(Ct({},(0,h.X)(u.xh.principalOfficerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.principalOfficerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.principalOfficerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:y[u.xh.principalOfficerSuffixName],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,Ct(Ct({},(0,h.X)(u.xh.principalOfficerSSN)),{},{label:"Social Security Number",placeholder:null===(f=(0,h.X)(u.xh.principalOfficerSSN))||void 0===f||null===(j=f.placeholder)||void 0===j?void 0:j.replace("*",""),value:y[u.xh.principalOfficerSSN],onChange:Z,onMouseEnter:N,onMouseLeave:w}))})]})]})},St=(0,o.ZP)(l.Z).withConfig({displayName:"EINCCorpForm__StyledEINCCorpForm",componentId:"sc-1du3kbb-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;background:#055393;font-family:'RobotoBold';font-size:20px;color:#FFFFFF;}.input-title{margin-bottom:4px;font-family:'RobotoBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Ot=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Corporation Application",description:"A corporation is a company or group of people or an organisation authorized to act as a single entity (legally a person) and recognized as such in law."}),(0,C.jsx)(yt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Et,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Nn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Rn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Un,{values:o,onChange:i}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(St,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Corporation Application",description:"A corporation is a company or group of people or an organisation authorized to act as a single entity (legally a person) and recognized as such in law."}),(0,C.jsx)(yt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Et,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Nn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Rn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Un,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Mt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Pt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Mt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Mt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var It=o.ZP.div.withConfig({displayName:"SCorpInfoBlock__StyledContainer",componentId:"sc-1t47zav-0"})(["margin-bottom:24px;label[for='legalName']{width:100%;}"]),kt=(0,o.ZP)(d.Z).withConfig({displayName:"SCorpInfoBlock__StyledRow",componentId:"sc-1t47zav-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var Lt=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(It,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(kt,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Pt(Pt({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the S-Corporation",defaultInvalidMessage:"Please provide a valid corporation name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Pt(Pt({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,Pt(Pt({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d}))})]})]})},Dt=(0,o.ZP)(l.Z).withConfig({displayName:"EINSCorpForm__StyledEINSCorpForm",componentId:"sc-1qudtil-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;background:#055393;font-family:'RobotoBold';font-size:20px;color:#FFFFFF;}.input-title{margin-bottom:4px;font-family:'RobotoBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Ft=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"S-Corporation Application",description:"An S corporation, for United States federal income tax purposes, is a closely held corporation (or, in some cases, a limited liability company (LLC) or a partnership) that makes a valid election to be taxed under Subchapter S of Chapter 1 of the Internal Revenue Code."}),(0,C.jsx)(Lt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Et,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Nn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Rn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Un,{values:o,onChange:i}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(Dt,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"S-Corporation Application",description:"An S corporation, for United States federal income tax purposes, is a closely held corporation (or, in some cases, a limited liability company (LLC) or a partnership) that makes a valid election to be taxed under Subchapter S of Chapter 1 of the Internal Revenue Code."}),(0,C.jsx)(Lt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Et,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Nn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Rn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Un,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Bt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _t(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Bt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Bt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Xt=o.ZP.div.withConfig({displayName:"DeceasedIndividualInfoBlock__StyledContainer",componentId:"sc-1xg1zzu-0"})(["margin-bottom:24px;"]),At=(0,o.ZP)(d.Z).withConfig({displayName:"DeceasedIndividualInfoBlock__StyledRow",componentId:"sc-1xg1zzu-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var zt=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v=e.values,g=void 0===v?{}:v,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(Xt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Deceased Individual Information"})}),(0,C.jsxs)(At,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,_t(_t({},(0,h.X)(u.xh.deceasedFirstName)),{},{label:null===(n=(0,h.X)(u.xh.deceasedFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:g[u.xh.deceasedFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,_t(_t({},(0,h.X)(u.xh.deceasedMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.deceasedMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:g[u.xh.deceasedMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,_t(_t({},(0,h.X)(u.xh.deceasedLastName)),{},{label:null===(i=(0,h.X)(u.xh.deceasedLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:g[u.xh.deceasedLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,_t(_t({},(0,h.X)(u.xh.deceasedSuffixName)),{},{label:null===(s=(0,h.X)(u.xh.deceasedSuffixName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.deceasedSuffixName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:g[u.xh.deceasedSuffixName],validated:g.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(q,_t(_t({},(0,h.X)(u.xh.deceasedSSN)),{},{placeholder:null===(x=(0,h.X)(u.xh.deceasedSSN))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.deceasedSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),value:g[u.xh.deceasedSSN],onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})};function Tt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Rt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Tt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Tt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Vt=o.ZP.div.withConfig({displayName:"RepresentativeInfoBlock__StyledContainer",componentId:"sc-c13ij4-0"})(["margin-bottom:24px;"]),qt=(0,o.ZP)(d.Z).withConfig({displayName:"RepresentativeInfoBlock__StyledRow",componentId:"sc-c13ij4-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var $t=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b,y,Z=e.values,N=void 0===Z?{}
1:Z,w=e.onChange,E=e.onMouseEnter,S=e.onMouseLeave;return(0,C.jsxs)(Vt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Representative/Executor Information"})}),(0,C.jsxs)(qt,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Rt(Rt({},(0,h.X)(u.xh.representativeFirstName)),{},{label:null===(n=(0,h.X)(u.xh.representativeFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:N[u.xh.representativeFirstName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Rt(Rt({},(0,h.X)(u.xh.representativeMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.representativeMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:N[u.xh.representativeMiddleName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,Rt(Rt({},(0,h.X)(u.xh.representativeLastName)),{},{label:null===(i=(0,h.X)(u.xh.representativeLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:N[u.xh.representativeLastName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Rt(Rt({},(0,h.X)(u.xh.representativeTitle)),{},{label:null===(s=(0,h.X)(u.xh.representativeTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.representativeTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:N[u.xh.representativeTitle],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,Rt(Rt({},(0,h.X)(u.xh.representativeSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.representativeSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.representativeSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:N[u.xh.representativeSuffixName],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,Rt(Rt({},(0,h.X)(u.xh.representativeSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.representativeSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(b=(0,h.X)(u.xh.representativeSSN))||void 0===b||null===(y=b.placeholder)||void 0===y?void 0:y.replace("*",""),value:N[u.xh.representativeSSN],onChange:w,onMouseEnter:E,onMouseLeave:S,hideDivider:!0}))})]})]})},Yt=(0,o.ZP)(l.Z).withConfig({displayName:"EINEstateForm__StyledEINEstateForm",componentId:"sc-12az33f-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;background:#055393;font-family:'RobotoBold';font-size:20px;color:#FFFFFF;}.input-title{margin-bottom:4px;font-family:'RobotoBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Ut=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}
1:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Estate Application",description:"An estate (or decedent estate) or succession is a legal entity created as a result of a person's death. The estate consists of the real estate and/or personal property of the deceased person. The estate pays any debts owed by the decedent, and distributes the balance of the estate's assets to the beneficiaries of the estate"}),(0,C.jsx)(zt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)($t,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bn,{prefix:"representative",values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Rn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Un,{values:o,onChange:i}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(Yt,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Estate Application",description:"An estate (or decedent estate) or succession is a legal entity created as a result of a person's death. The estate consists of the real estate and/or personal property of the deceased person. The estate pays any debts owed by the decedent, and distributes the balance of the estate's assets to the beneficiaries of the estate"}),(0,C.jsx)(zt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)($t,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bn,{prefix:"representative",values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Rn,{prefix:"dateOfDeath",values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Un,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Wt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Gt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Wt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Qt=o.ZP.div.withConfig({displayName:"NonProfitOrgInfoBlock__StyledContainer",componentId:"sc-13d83ca-0"})(["margin-bottom:24px;label[for='legalName']{width:100%;}"]),Kt=(0,o.ZP)(d.Z).withConfig({displayName:"NonProfitOrgInfoBlock__StyledRow",componentId:"sc-13d83ca-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var Ht=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}
1:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(Qt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Non-profit Organization"})}),(0,C.jsxs)(Kt,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Gt(Gt({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Non-profit Organization",defaultInvalidMessage:"Please provide a valid organization name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Gt(Gt({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Gt(Gt({},(0,h.X)(u.xh.nonProfitType)),{},{label:null===(r=(0,h.X)(u.xh.nonProfitType))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:a[u.xh.nonProfitType],onChange:s,onMouseEnter:l,onMouseLeave:d}))})]})]})};function Jt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function er(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Jt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Jt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var nr=o.ZP.div.withConfig({displayName:"ResponsiblePartyInfoBlock__StyledContainer",componentId:"sc-uziapn-0"})(["margin-bottom:24px;label[for='legalName']{width:100%;}"]),tr=(0,o.ZP)(d.Z).withConfig({displayName:"ResponsiblePartyInfoBlock__StyledRow",componentId:"sc-uziapn-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var rr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,f,j,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=e.onMouseEnter,w=e.onMouseLeave;return(0,C.jsxs)(nr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Responsible Party Information"})}),(0,C.jsxs)(tr,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,er(er({},(0,h.X)(u.xh.responsiblePartyFirstName)),{},{label:null===(n=(0,h.X)(u.xh.responsiblePartyFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:y[u.xh.responsiblePartyFirstName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,er(er({},(0,h.X)(u.xh.responsiblePartyMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.responsiblePartyMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:y[u.xh.responsiblePartyMiddleName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,er(er({},(0,h.X)(u.xh.responsiblePartyLastName)),{},{label:null===(i=(0,h.X)(u.xh.responsiblePartyLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:y[u.xh.responsiblePartyLastName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,er(er({},(0,h.X)(u.xh.responsiblePartyTitle)),{},{label:null===(s=(0,h.X)(u.xh.responsiblePartyTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.responsiblePartyTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:y[u.xh.responsiblePartyTitle],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,er(er({},(0,h.X)(u.xh.responsiblePartySuffixName)),{},{label:null===(x=(0,h.X)(u.xh.responsiblePartySuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.x
1h.responsiblePartySuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:y[u.xh.responsiblePartySuffixName],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,er(er({},(0,h.X)(u.xh.responsiblePartySSN)),{},{label:"Social Security Number",placeholder:null===(f=(0,h.X)(u.xh.responsiblePartySSN))||void 0===f||null===(j=f.placeholder)||void 0===j?void 0:j.replace("*",""),value:y[u.xh.responsiblePartySSN],onChange:Z,onMouseEnter:N,onMouseLeave:w,hideDivider:!0}))})]})]})},or=(0,o.ZP)(l.Z).withConfig({displayName:"EINNonProfitForm__StyledEINNonProfitForm",componentId:"sc-1ltlnum-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;background:#055393;font-family:'RobotoBold';font-size:20px;color:#FFFFFF;}.input-title{margin-bottom:4px;font-family:'RobotoBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var ir,ar=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Non-Profit Organization Application",description:'A non-profit organization is a group organized for purposes other than generating profit and in which no part of the organization\'s income is distributed to its members, directors, or officers. Non-profit corporations are often termed "non-stock corporations."'}),(0,C.jsx)(Ht,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(rr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Nn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Rn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Un,{values:o,onChange:i}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(or,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Non-Profit Organization Application",description:'A non-profit organization is a group organized for purposes other than generating profit and in which no part of the organization\'s income is distributed to its members, directors, or officers. Non-profit corporations are often termed "non-stock corporations."'}),(0,C.jsx)(Ht,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(rr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Nn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Rn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Un,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})},sr=t(1383);function lr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function dr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?lr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var cr=(0,o.ZP)(l.Z.Group).withConfig({displayName:"RadioGroup__StyledGroup",componentId:"sc-qcabgh-0"})(["display:flex;flex-direction:column;",";padding-left:0;padding-right:0;margin-bottom:16px !important;input:checked + label,input:not(:checked) + label{display:inline-block;padding-left:8px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;cursor:pointer;}"],(function(e){return e.horizontal&&css(ir||(ir=(0,sr.Z)(["\n flex-direction: row;\n "])))})),ur=(0,o.ZP)(l.Z.Check).withConfig({displayName:"RadioGroup__StyledCheck",componentId:"sc-qcabgh-1"})(["margin-right:24px;margin-top:0.5rem;"]);var hr=function(e){var n=e.id,t=e.name,o=e.hint,i=e.horizontal,a=e.options,s=void 0===a?[]:a,l=e.value,d=e.onChange,c=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o})};return o&&!v.tq||(e.show=!1),e}),[n,o]);return(0,C.jsx)(j.Z,dr(dr({},c),{},{children:(0,C.jsx)(cr,{controlId:n,horizontal:i,children:s.map((function(e,r){return(0,C.jsx)(ur,{id:"".concat(t||n).concat(r+1),name:t||n,inline:!0,type:"radio",label:e.label,value:e.value,checked:l===e.value,onChange:d},"".concat(t||n).concat(r+1))}))})}))};function pr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function xr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?pr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var mr=o.ZP.div.withConfig({displayName:"LLCInfoBlock__StyledContainer",componentId:"sc-1mlruko-0"})(["margin-bottom:24px;"]),vr=(0,o.ZP)(d.Z).withConfig({displayName:"LLCInfoBlock__StyledRow",componentId:"sc-1mlruko-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var gr=function(e){var n,t,o,i,a=e.values,s=void 0===a?{}:a,l=e.onChange,d=e.onMouseEnter,p=e.onMouseLeave,x="2"===s[u.xh.LLCMembers],m="true"===s[u.xh.husbandAndWife],v=(0,b.D)(s);return(0,r.useEffect)((function(){v&&v[u.xh.organizedState]!==s[u.xh.organizedState]&&(0,ot.dg)({target:{id:u.xh.legalName,value:s[u.xh.legalName]||""}},{matchValue:s[u.xh.organizedState]})}),[v,s]),(0,C.jsxs)(mr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(vr,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,xr(xr({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the LLC",defaultInvalidMessage:"Please provide a valid organization name",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: Corp, Inc, PA."}),pattern:"(?!.*(?:[ ][pP][aA]$))(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))(?!.*(?:[ ][iI][nN][cC][oO][rR][pP][oO][rR][aA][tT][eE][dD]$))^[ a-zA-Z0-9&\\\\-]+$",validate:ot.dg,value:s[u.xh.legalName],matchValue:s[u.xh.organizedState],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,xr(xr({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:s[u.xh.dbaname],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,xr(xr({},(0,h.X)(u.xh.LLCMembers)),{},{value:s[u.xh.LLCMembers],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,xr(xr({}
1,(0,h.X)(u.xh.organizedState)),{},{label:null===(o=(0,h.X)(u.xh.organizedState))||void 0===o||null===(i=o.placeholder)||void 0===i?void 0:i.replace("*",""),value:s[u.xh.organizedState],validated:s.validated,onChange:l,onMouseEnter:d,onMouseLeave:p}))}),x&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,xr(xr({},(0,h.X)(u.xh.husbandAndWife)),{},{value:s[u.xh.husbandAndWife],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),m&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:"Please choose one of the following:"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(hr,xr(xr({},(0,h.X)(u.xh.multiMember)),{},{value:s[u.xh.multiMember],onChange:l}))})]}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:"Select the Tax classification of the LLC:"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(hr,xr(xr({},(0,h.X)(u.xh.taxClassification)),{},{value:s[u.xh.taxClassification],onChange:l}))})]})]})};function fr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function jr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?fr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var br=o.ZP.div.withConfig({displayName:"ManagingMemberInfoBlock__StyledContainer",componentId:"sc-1ertvys-0"})(["margin-bottom:24px;"]),yr=(0,o.ZP)(d.Z).withConfig({displayName:"ManagingMemberInfoBlock__StyledRow",componentId:"sc-1ertvys-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var Zr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,f,j,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=e.onMouseEnter,w=e.onMouseLeave;return(0,C.jsxs)(br,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Managing Member Information"})}),(0,C.jsxs)(yr,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,jr(jr({},(0,h.X)(u.xh.ownerFirstName)),{},{label:null===(n=(0,h.X)(u.xh.ownerFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:y[u.xh.ownerFirstName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,jr(jr({},(0,h.X)(u.xh.ownerMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.ownerMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:y[u.xh.ownerMiddleName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,jr(jr({},(0,h.X)(u.xh.ownerLastName)),{},{label:null===(i=(0,h.X)(u.xh.ownerLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:y[u.xh.ownerLastName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,jr(jr({},(0,h.X)(u.xh.ownerTitle)),{},{label:null===(s=(0,h.X)(u.xh.ownerTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.ownerTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:y[u.xh.ownerTitle],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(ze,jr(jr({},(0,h.X)(u.xh.ownerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.ownerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.ownerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:y[u.xh.ownerSuffixName],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,jr(jr({}
1,(0,h.X)(u.xh.ownerSSN)),{},{label:"Social Security Number",placeholder:null===(f=(0,h.X)(u.xh.ownerSSN))||void 0===f||null===(j=f.placeholder)||void 0===j?void 0:j.replace("*",""),value:y[u.xh.ownerSSN],onChange:Z,onMouseEnter:N,onMouseLeave:w,hideDivider:!0}))})]})]})},Cr=(0,o.ZP)(l.Z).withConfig({displayName:"EINLLCForm__StyledEINLLCForm",componentId:"sc-2312rk-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;background:#055393;font-family:'RobotoBold';font-size:20px;color:#FFFFFF;}.input-title{margin-bottom:4px;font-family:'RobotoBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Nr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Limited Liability Company Application",description:"A limited liability company (LLC) is a corporate structure whereby the members of the company cannot be held personally liable for the company's debts or liabilities. Limited liability companies are essentially hybrid entities that combine the characteristics of a corporation and a partnership or sole proprietorship."}),(0,C.jsx)(gr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Zr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Nn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Rn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Un,{values:o,onChange:i}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(Cr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Limited Liability Company Application",description:"A limited liability company (LLC) is a corporate structure whereby the members of the company cannot be held personally liable for the company's debts or liabilities. Limited liability companies are essentially hybrid entities that combine the characteristics of a corporation and a partnership or sole proprietorship."}),(0,C.jsx)(gr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Zr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Nn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Rn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Un,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function wr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Er(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?wr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Sr=o.ZP.div.withConfig({displayName:"TrustInfoBlock__StyledContainer",componentId:"sc-vqkc1s-0"})(["margin-bottom:24px;"]),Or=(0,o.ZP)(d.Z).withConfig({displayName:"TrustInfoBlock__StyledRow",componentId:"sc-vqkc1s-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var Mr=function(e){var n,t,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(Sr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Or,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Er(Er({},(0,h.X)(u.xh.legalName)),{},{hint:(0,C.jsxs)(C.Fragment,{children:["Special instructions for entering the legal name of your trust:",(0,C.jsxs)("ol",{children:[(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Omit any names of trustees."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Place the individual's name at the beginning of your trust name."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Do not enter the words 'date' or 'dated'."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Do not enter the alpha month, replace with corresponding numeric character."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Omit the word 'The' from the beginning of your trust name."})]}),"The only punctuation and special characters allowed are hyphen (-) and ampersand (&).",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"The legal name may not contain any of the following endings: Corp, LLC, PLLC, LC, Inc, PA."]}),label:"Legal Name of Trust",defaultInvalidMessage:"Please provide a valid trust name",value:o[u.xh.legalName],onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,Er(Er({},(0,h.X)(u.xh.trustType)),{},{label:null===(n=(0,h.X)(u.xh.trustType))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:o[u.xh.trustType],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})]})]})};function Pr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ir(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Pr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Pr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var kr=o.ZP.div.withConfig({displayName:"CreatorInfoBlock__StyledContainer",componentId:"sc-1xexolv-0"})(["margin-bottom:24px;"]),Lr=(0,o.ZP)(d.Z).withConfig({displayName:"CreatorInfoBlock__StyledRow",componentId:"sc-1xexolv-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var Dr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v=e.values,g=void 0===v?{}:v,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(kr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Creator/Grantor Information"})}),(0,C.jsxs)(Lr,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ir(Ir({},(0,h.X)(u.xh.createrFirstName)),{},{label:null===(n=(0,h.X)(u.xh.createrFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:g[u.xh.createrFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ir(Ir({}
1,(0,h.X)(u.xh.createrMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.createrMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:g[u.xh.createrMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ir(Ir({},(0,h.X)(u.xh.createrLastName)),{},{label:null===(i=(0,h.X)(u.xh.createrLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:g[u.xh.createrLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,Ir(Ir({},(0,h.X)(u.xh.createrSuffixName)),{},{label:null===(s=(0,h.X)(u.xh.createrSuffixName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.createrSuffixName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:g[u.xh.createrSuffixName],validated:g.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(q,Ir(Ir({},(0,h.X)(u.xh.createrSSN)),{},{value:g[u.xh.createrSSN],label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.createrSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(x=(0,h.X)(u.xh.createrSSN))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})};function Fr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Br(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Fr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Fr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _r=o.ZP.div.withConfig({displayName:"ConservatorInfoBlock__StyledContainer",componentId:"sc-baiiuy-0"})(["margin-bottom:24px;"]),Xr=(0,o.ZP)(d.Z).withConfig({displayName:"ConservatorInfoBlock__StyledRow",componentId:"sc-baiiuy-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var Ar=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v=e.values,g=void 0===v?{}:v,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(_r,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Conservator Information"})}),(0,C.jsxs)(Xr,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Br(Br({},(0,h.X)(u.xh.trusteeFirstName)),{},{label:null===(n=(0,h.X)(u.xh.trusteeFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:g[u.xh.trusteeFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Br(Br({},(0,h.X)(u.xh.trusteeMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.trusteeMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:g[u.xh.trusteeMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Br(Br({},(0,h.X)(u.xh.trusteeLastName)),{},{label:null===(i=(0,h.X)(u.xh.trusteeLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:g[u.xh.trusteeLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ze,Br(Br({},(0,h.X)(u.xh.trusteeTitle)),{}
1,{label:null===(s=(0,h.X)(u.xh.trusteeTitle))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.trusteeTitle))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:g[u.xh.trusteeTitle],validated:g.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(q,Br(Br({},(0,h.X)(u.xh.trusteeSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.trusteeSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(x=(0,h.X)(u.xh.trusteeSSN))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),value:g[u.xh.trusteeSSN],onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})},zr=(0,o.ZP)(l.Z).withConfig({displayName:"EINTrustForm__StyledEINTrustForm",componentId:"sc-imbleu-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;background:#055393;font-family:'RobotoBold';font-size:20px;color:#FFFFFF;}.input-title{margin-bottom:4px;font-family:'RobotoBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Tr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Trust Application",description:"\nA Trust is a legal entity created by a party (the trustor) through which a second party (the trustee) holds the right to manage the trustor's assets or property."}),(0,C.jsx)(Mr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Dr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ar,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bn,{prefix:"trustee",values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Rn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Un,{values:o,onChange:i}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(zr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Trust Application",description:"\nA Trust is a legal entity created by a party (the trustor) through which a second party (the trustee) holds the right to manage the trustor's assets or property."}),(0,C.jsx)(Mr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Dr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Ar,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bn,{prefix:"trustee",values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Rn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Un,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Rr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Vr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Rr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Rr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var qr=o.ZP.div.withConfig({displayName:"PSCInfoBlock__StyledContainer",componentId:"sc-16rt2kw-0"})(['margin-bottom:24px;label[for="legalName"]{width:100%;}']),$r=(0,o.ZP)(d.Z).withConfig({displayName:"PSCInfoBlock__StyledRow",componentId:"sc-16rt2kw-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var Yr=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(qr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)($r,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Vr(Vr({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Personal Service Corporation",defaultInvalidMessage:"Please provide a valid corporation name",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: LLC, PLLC, LC."}),pattern:"(?!.*(?:[ ][lL][cC]$))(?!.*(?:[ ][lL][lL][cC]$))(?!.*(?:[ ][pP][lL][lL][cC]$))^[ a-zA-Z0-9&\\\\-]+$",validate:ot.bW,value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Vr(Vr({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,Vr(Vr({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d}))})]})]})},Ur=(0,o.ZP)(l.Z).withConfig({displayName:"EINPSCForm__StyledEINPSCForm",componentId:"sc-1au1k35-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;background:#055393;font-family:'RobotoBold';font-size:20px;color:#FFFFFF;}.input-title{margin-bottom:4px;font-family:'RobotoBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Wr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Personal Service Corporation Application",description:"A personal service corporation is a corporation that is created for the purpose of providing personal services to individuals or groups. Such services span a wide variety of professional business endeavors as specified by the Internal Revenue Service (IRS)"}),(0,C.jsx)(Yr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Et,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Nn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Rn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Un,{values:o,onChange:i}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(Ur,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Personal Service Corporation Application",description:"A personal service corporation is a corporation that is created for the purpose of providing personal services to individuals or groups. Such services span a wide variety of professional business endeavors as specified by the Internal Revenue Service (IRS)"}),(0,C.jsx)(Yr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Et,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Nn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Rn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Un,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Gr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Qr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Gr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Kr=o.ZP.div.withConfig({displayName:"ChurchInfoBlock__StyledContainer",componentId:"sc-12909cv-0"})(["margin-bottom:24px;label[for='legalName']{width:100%;}"]),Hr=(0,o.ZP)(d.Z).withConfig({displayName:"ChurchInfoBlock__StyledRow",componentId:"sc-12909cv-1"})(["margin-top:1rem;margin-bottom:2rem;margin-right:0;margin-left:0;padding:16px;border:2px solid #797c7f;"]);var Jr=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(Kr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Hr,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Qr(Qr({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Church",defaultInvalidMessage:"Please provide a valid corporation name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,Qr(Qr({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ze,Qr(Qr({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d}))})]})]})},eo=(0,o.ZP)(l.Z).withConfig({displayName:"EINChurchForm__StyledEINChurchForm",componentId:"sc-11p3tpy-0"})(["min-height:calc(100vh - 100px);.form-title{margin-bottom:24px;padding-top:24px;font-family:'RobotoBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;background:#055393;font-family:'RobotoBold';font-size:20px;color:#FFFFFF;}.input-title{margin-bottom:4px;font-family:'RobotoBold';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'RobotoRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'RobotoRegular';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;.form-title{padding-top:12px;font-size:20px;line-height:calc(1.42857rem * (20 / 16));}}"],(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var no=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Church Organization Application",description:(0,C.jsxs)("div",{className:"formDetails__content",children:[(0,C.jsx)("p",{children:"To clarify the federal government&s definitions of a churches and other religious institution, the Internal Revenue Service uses clearly-defined guidelines. Over the years, the IRS has revised this list in response to various court decisions. To define churches and other religious entities, some of the IRS guidelines consider whether or not an institution has:"}),(0,C.jsxs)("ul",{children:[(0,C.jsx)("li",{children:"A distinct legal existence and religious history,"}),(0,C.jsx)("li",{children:"A recognized creed and form of worship,"}),(0,C.jsx)("li",{children:"Established places of worship"}),(0,C.jsx)("li",{children:"A regular congregation and regular religious services, and"}),(0,C.jsx)("li",{children:"an organization of ordained ministers"})]}),(0,C.jsx)("p",{children:"Most mainstream religions such as Catholicism, Judaism, and common Protestant sects f
1it easily within the IRS guidelines. However, churches that are less traditional sometimes face difficulty in meeting the federal government&s definition."})]})}),(0,C.jsx)(Jr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(rr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Nn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Pn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Rn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Un,{values:o,onChange:i}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(eo,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{header:"Church Organization Application",description:(0,C.jsxs)("div",{className:"formDetails__content",children:[(0,C.jsx)("p",{children:"To clarify the federal government&s definitions of a churches and other religious institution, the Internal Revenue Service uses clearly-defined guidelines. Over the years, the IRS has revised this list in response to various court decisions. To define churches and other religious entities, some of the IRS guidelines consider whether or not an institution has:"}),(0,C.jsxs)("ul",{children:[(0,C.jsx)("li",{children:"A distinct legal existence and religious history,"}),(0,C.jsx)("li",{children:"A recognized creed and form of worship,"}),(0,C.jsx)("li",{children:"Established places of worship"}),(0,C.jsx)("li",{children:"A regular congregation and regular religious services, and"}),(0,C.jsx)("li",{children:"an organization of ordained ministers"})]}),(0,C.jsx)("p",{children:"Most mainstream religions such as Catholicism, Judaism, and common Protestant sects fit easily within the IRS guidelines. However, churches that are less traditional sometimes face difficulty in meeting the federal government&s definition."})]})}),(0,C.jsx)(Jr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(rr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Nn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Pn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Rn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Un,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Hn,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})},to=t(8300);to.v.email,o.ZP.div.withConfig({displayName:"FormSection__StyledFormSection",componentId:"sc-1w1cndp-0"})(["display:flex;flex-direction:column;align-items:center;padding-right:15px;padding-left:15px;margin-bottom:2rem;width:100%;.form-section-header{margin-top:24px;margin-bottom:8px;font-family:'RobotoRegular';font-size:20px;line-height:calc(1.42857rem * (20 / 16));text-align:center;color:#424242;span{font-family:'RobotoBold';}}.form-section-container{display:flex;.form-container{flex-grow:1;margin-right:16px;.form-group{margin-bottom:0;}}.hint-container{min-width:300px;width:300px;font-family:'RobotoRegular';display:flex;align-items:flex-start;.hint-card{position:sticky;width:100%;top:0;border:1px solid ",";background-color:",";font-family:'RobotoRegular';.hint-card-title{padding:15px 15px 0;margin-bottom:0.5rem;font-family:'RobotoBold';font-size:12px;line-height:calc(1.42857rem * (12 / 16));color:#244f74;}.hint-card-subtitle{padding:0 15px;margin-bottom:1rem;font-family:'RobotoBold';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#424242;}.hint-card-content{padding:0 15px;margin-bottom:1rem;font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#424242;
1a{display:none;}ul{list-style:disc;padding-left:32px;li{font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));}}}}.customer-service-card{display:flex;flex-direction:column;font-family:'RobotoRegular';width:100%;padding-left:16px;.customer-service-card-title{margin-bottom:1rem;font-family:'RobotoBold';font-size:20px;line-height:calc(1.42857rem * (20 / 16));color:#244f74;}.customer-service-card-content{display:flex;flex-direction:column;&,a{font-family:'RobotoRegular';font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#424242;}.customer-service-card-item{display:flex;margin-bottom:0.5rem;.customer-service-card-item-label{width:20%;font-family:'RobotoBold';}}}}}}",";@media ","{.form-section-container{.hint-container{display:none;}}}@media ","{.form-section-header{width:100%;}.form-section-container{width:100%;.form-container{margin-right:0;}}}@media (min-width:768px){width:750px;}@media (min-width:992px){width:970px;}@media (min-width:1024px){width:990px;}@media (min-width:1200px){width:1170px;}@media (min-width:1280px){padding-left:40px;padding-right:40px;width:1170px;}@media (min-width:1600px){padding-left:115px;padding-right:115px;width:1440px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(function(e){return!e.showHelpCenter&&(0,o.iv)([".form-section-container{.form-container{margin-right:0;}.hint-container{display:none;}}"])}),(function(e){return e.theme.devices.laptopS}),(function(e){return e.theme.devices.tablet})),new Map([["/LLCIncFinalize","llc-inc-finalize"]]),new Map([["/contactus",!0],["/payment",!1],["/LLCInc",!1],["/LLCIncFinalize",!1],["/LLCUpsell",!1],["/status",!1],["/products/EINSoleProp",!1],["/products/EINPartnership",!1],["/products/EINCCorp",!1],["/products/EINSCorp",!1],["/products/EINEstate",!1],["/products/EINNonProfit",!1],["/products/EINLLC",!1],["/products/EINLLC2",!1],["/products/EINTrust",!1],["/products/EINPSC",!1],["/products/EINChurch",!1]]),new Map([["/contactus",ue],["/payment",Ge],["/status",rn],["/products/EINSoleProp",rt],["/products/EINPartnership",vt],["/products/EINCCorp",Ot],["/products/EINSCorp",Ft],["/products/EINEstate",Ut],["/products/EINNonProfit",ar],["/products/EINLLC",Nr],["/products/EINLLC2",Nr],["/products/EINTrust",Tr],["/products/EINPSC",Wr],["/products/EINChurch",no]])},8557:function(e,n,t){var r=t(7379).ZP.button.withConfig({displayName:"Button",componentId:"sc-1fw5urc-0"})(["padding:8px 25px;width:100%;margin-right:0;border-radius:0.25rem;font-family:'RobotoRegular';font-size:18px;background-color:#0097e6;border:none;color:#FFFFFF;"]);n.Z=r},6354:function(e,n,t){var r=t(7294),o=t(7379),i=t(1664),a=t.n(i),s=t(7569),l=t(2828),d=t(5893),c=o.ZP.div.withConfig({displayName:"ErrorMessage__StyledErrorMessage",componentId:"sc-1t97o5w-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;padding-left:20px;padding-right:20px;.message-content{display:flex;justify-content:center;font-family:'Arial';font-size:18px;line-height:calc(1.4rem * (18 / 16));color:#C61F0C;text-align:center;",";}.action-block{margin-top:32px;}"],(function(e){return e.showContactUsLink&&(0,o.iv)(["color:",";"],(0,s.E)("#002346",.9))}));n.Z=function(e){var n=e.showContactUsLink,t=e.showOK,o=void 0===t?{text:null,onClick:function(){}}:t,i=e.message,s=void 0===i?"Something went wrong":i,u=e.error,h=(0,r.useMemo)((function(){return u&&u.message.errors?u.message.errors[0]:u&&!u.message.errors&&u.message?u.message:s}),[s,u]),p=(0,r.useCallback)((function(){(null===o||void 0===o?void 0:o.onClick)&&o.onClick()}),[o]);return(0,d.jsxs)(c,{showContactUsLink:n,children:[(0,d.jsx)("div",{className:"message-content",children:h}),n&&(0,d.jsx)("div",{className:"action-block",children:(0,d.jsx)(a(),{href:"/contactus",passHref:!0,children:(0,d.jsx)(l.Z,{children:"Contact Us"})})}),(null===o||void 0===o?void 0:o.text)&&(0,d.jsx)("div",{className:"action-block",children:(0,d.jsx)(l.Z,{onClick:p,children:null===o||void 0===o?void 0:o.text})})]})}},3485:function(e,n,t){var r=t(7294),o=t(7379),i=t(7569),a=(t(5754),t(9499)),s=t(4853),l=t(4835),d=t(1608),c=t(1555),u=t(9822),h=t(1852),p=t(4730),x=t(1752),m=t.n(x),v=t(9359),g=t(6968),f=t(3489),j=t(5944),b=t(3669),y=t(7060),Z=t(926),C=t(5893),N=["id","type","hint","label","loading","placeholder","emptyLabel","required","pattern","maxLength","defaultInvalidMessage","validate","isValid","isInvalid","onKeyPress","matchValue","isCorpAddress","value","onChange","onBlur","onKeyDown","onMouseEnter","onMouseLeave","allowSuccessMessage","hideDivider","thirdPartyProps"];function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function E(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?w(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var S=m()().publicRuntimeConfig,O=(0,o.ZP)(l.Z.Group).withConfig({displayName:"TextInput__StyledGroup",componentId:"sc-artp45-0"})(["display:flex;flex-direction:column;position:relative;padding-left:0;padding-right:0;padding-bottom:16px;",";"],(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;"])})),M=(0,o.ZP)(l.Z.Label).withConfig({displayName:"TextInput__StyledLabel",componentId:"sc-artp45-1"})(["display:flex;align-items:center;width:100% !important;font-family:'Arial';font-weight:bold;font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#001e5a;}}",";"],(function(e){return e.emptyLabel&&(0,o.iv)(["padding-top:18.56px;"])})),P=(0,o.ZP)(l.Z.Control).withConfig({displayName:"TextInput__StyledControl",componentId:"sc-artp45-2"})(["min-height:34px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'Arial';font-size:14px;line-height:24px;color:#424242;border:1px solid ",";border-radius:0;",";",";",";"],(0,i.E)("#000000",.1),(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #198754 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(40 167 69 / 25%) !important;"],"url(".concat(S.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(220 53 69 / 25%) !important;"],"url(".concat(S.basePath,"/icons/V2/validation_failure.svg)"))}),(function(e){return e.isLoading&&(0,o.iv)(["border:1px solid "," !important;box-shadow:none !important;background-image:none !important;"],(0,i.E)("#234e76",.1))})),I=(0,o.ZP)(g.Z).withConfig({displayName:"TextInput__StyledSpinner",componentId:"sc-artp45-3"})(["position:absolute;top:calc((34px - 2rem) / 2 + 18.52px);right:16px;&.text-custom{color:",";}",";"],(0,i.E)("#424242",.5),(function(e){return e.noLabel&&(0,o.iv)(["top:calc((34px - 2rem) / 2);"])})),k=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"TextInput__StyledFeedback",componentId:"sc-artp45-4"})(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5));var L=function(e){var n=e.id,t=e.type,o=e.hint,i=e.label,a=e.loading,s=e.placeholder,l=e.emptyLabel,d=e.required,c=e.pattern,u=e.maxLength,h=e.defaultInvalidMessage,x=void 0===h?"":h,m=e.validate,g=e.isValid,w=e.isInvalid,S=e.onKeyPress,L=e.matchValue,D=e.isCorpAddress,F=e.value,B=void 0===F?"":F,_=e.onChange,X=e.onBlur,A=e.onKeyDown,z=e.onMouseEnter,T=e.onMouseLeave,R=e.allowSuccessMessage,V=e.hideDivider,q=e.thirdPartyProps,$=(0,p.Z)(e,N),Y=(0,r.useState)(null),U=Y[0],W=Y[1],G=(0,b.D)(B),Q=(0,r.useCallback)((function(e){if(!U&&(0,Z.o)(e)){_&&_({target:{id:"verifying",value:!0}});var n=e;n.indexOf("+")>-1&&n.indexOf("gmail.com")>-1&&(n=n.substring(0,n.indexOf("+"))+n.substring(n.indexOf("@"),n.length)),(0,y.ZP)(n).then((function(e){W(e),_&&_({target:{id:"verifying",value:!1}})}))}}),[_,U]),K=(0,r.useCallback)((function(e){W(null),m&&m(e,{required:d,matchValue:L,isCorpAddress:D}),_&&_(e)}
1),[_,m,d,D,L]),H=(0,r.useCallback)((function(e){"email"===t&&B&&Q(B),X&&X(e)}),[X,t,B,Q]),J=(0,r.useCallback)((function(e){"email"===t&&B&&"Enter"===e.code&&(!U&&(0,Z.o)(B)&&_&&_({target:{id:"suspendedSubmit",value:!0}}),Q(B)),A&&A(e)}),[A,_,t,B,U,Q]),ee=(0,r.useCallback)((function(){z&&z({label:i||s,hint:o})}),[z,i,s,o]),ne=(0,r.useMemo)((function(){return{placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o}),show:!1}}),[n,o]),te=null!==U&&void 0!==U&&U.status&&!a?y.lx.includes(null===U||void 0===U?void 0:U.status):g,re=null!==U&&void 0!==U&&U.status&&!a?y.lo.includes(null===U||void 0===U?void 0:U.status):w,oe=y.ry[null===U||void 0===U?void 0:U.reason]||"Verified!",ie=y.ry[null===U||void 0===U?void 0:U.reason]||x,ae=!(te&&!re),se=(0,r.useMemo)((function(){if(q)return S?E(E({},q),{},{onKeyPress:S}):q;var e={type:t||"text",name:n,onChange:K,onBlur:H,onKeyDown:J};return S&&(e.onKeyPress=S),e}),[q,n,t,S,K,H,J]);return(0,r.useEffect)((function(){"email"===t&&void 0===G&&B&&Q(B)}),[Q,t,G,B]),(0,C.jsx)(j.Z,E(E({},ne),{},{children:(0,C.jsxs)(O,{controlId:n,hideDivider:V,onMouseEnter:ee,onMouseLeave:T,children:[(0,C.jsxs)(M,{emptyLabel:l,children:[i,i&&d&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(P,E(E(E({},se),$),{},{required:d,placeholder:s,isValid:te,isInvalid:re,isLoading:a,pattern:c,maxLength:u,value:B||"","data-hj-allow":!0})),a&&"email"===t&&(0,C.jsx)(k,{type:"processing",children:"Verification..."}),R&&!ae&&!a&&(0,C.jsx)(k,{type:"valid",children:oe}),ae&&ie&&!a&&(0,C.jsx)(k,{type:"invalid",children:ie}),a&&(0,C.jsx)(I,{animation:"border",variant:"custom",noLabel:!(i||l)})]})}))},D=t(6627),F=t.n(D);function B(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?B(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):B(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var X=m()().publicRuntimeConfig,A=(0,o.ZP)(l.Z.Group).withConfig({displayName:"MaskInput__StyledGroup",componentId:"sc-7rg7b8-0"})(["display:flex;flex-direction:column;position:relative;padding-left:0;padding-right:0;padding-bottom:16px;",";"],(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;"])})),z=(0,o.ZP)(l.Z.Label).withConfig({displayName:"MaskInput__StyledLabel",componentId:"sc-7rg7b8-1"})(["display:flex;align-items:center;font-family:'Arial';font-weight:bold;font-size:14px;line-height:calc(1.4rem * (14 / 16));color:#424242;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#001e5a;}}"]),T=(0,o.ZP)(l.Z.Control).withConfig({displayName:"MaskInput__StyledControl",componentId:"sc-7rg7b8-2"})(["min-height:34px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'Arial';font-size:14px;line-height:24px;color:#424242;border:1px solid ",";border-radius:0;"," ",";",";&::placeholder{color:",";}@media ","{","}"],(0,i.E)("#000000",.1),(function(e){return e.suffix&&(0,o.iv)(["width:93%;"])}),(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #198754 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(40 167 69 / 25%) !important;"],"url(".concat(X.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545 !important;background-image:"," !important;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;box-shadow:0 0 0 0.2rem rgb(220 53 69 / 25%) !important;"],"url(".concat(X.basePath,"/icons/V2/validation_failure.svg)"))}),(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet}),(function(e){return e.suffix&&(0,o.iv)(["width:90%;"])})),R=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"MaskInput__StyledFeedback",componentId:"sc-7rg7b8-3"}
1)(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5)),V=o.ZP.div.withConfig({displayName:"MaskInput__StyledSuffixContainer",componentId:"sc-7rg7b8-4"})(["display:flex;justify-content:flex-end;align-items:flex-start;position:absolute;top:0;right:0;height:100%;min-width:34px;width:10%;padding-top:22px;"]);var q=function(e){var n=e.id,t=e.hint,o=e.suffix,i=e.label,a=e.hideDivider,s=e.placeholder,l=e.required,d=e.pattern,c=e.mask,u=e.maxLength,h=e.defaultInvalidMessage,p=void 0===h?"":h,x=e.validate,m=e.isValid,g=e.isInvalid,b=e.onKeyPress,y=e.value,Z=void 0===y?"":y,N=e.onChange,w=e.onMouseEnter,E=e.onMouseLeave,S=(0,r.useCallback)((function(e){x&&x(e,{required:l}),N&&N(e)}),[N,x,l]),O=(0,r.useCallback)((function(){w&&w({label:i||s,hint:t})}),[w,i,s,t]),M=(0,r.useMemo)((function(){return{placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t}),show:!1}}),[n,t]),P=!(m&&!g);return(0,C.jsx)(j.Z,_(_({},M),{},{children:(0,C.jsxs)(A,{controlId:n,hideDivider:a,onMouseEnter:O,onMouseLeave:E,children:[(0,C.jsxs)(z,{children:[i,i&&l&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(F(),{mask:c,maskChar:null,value:Z,onChange:S,children:function(e){return(0,C.jsx)(T,{type:"phone",name:n,required:l,isValid:m,isInvalid:g,pattern:d,placeholder:s,maxLength:u,onKeyPress:b,"data-hj-allow":!0,suffix:o})}}),P&&p&&(0,C.jsx)(R,{type:"invalid",children:p}),o&&(0,C.jsx)(V,{children:o})]})}))};function $(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var U=m()().publicRuntimeConfig,W=(0,o.ZP)(l.Z.Group).withConfig({displayName:"Textarea__StyledGroup",componentId:"sc-p52xql-0"})(["position:relative;padding-left:0;padding-right:0;",";"],(function(e){return e.withLabel&&(0,o.iv)(["padding-top:24px;"])})),G=(0,o.ZP)(l.Z.Label).withConfig({displayName:"Textarea__StyledLabel",componentId:"sc-p52xql-1"})(["position:absolute;left:0;top:0;font-family:'Arial';font-weight:bold;font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#333333;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#001e5a;}}"]),Q=(0,o.ZP)(l.Z.Control).withConfig({displayName:"Textarea__StyledControl",componentId:"sc-p52xql-2"})(["resize:none;width:100%;min-height:52px;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:4px;font-family:'Arial';font-size:14px;line-height:24px;color:#424242;border:1px solid ",";border-radius:0;background-repeat:no-repeat;background-origin:content-box;background-position-x:right;",";",";&:focus{background-color:#FFFFFF;border-color:#80BDFF;outline:0;box-shadow:0 0 0 0.2rem rgb(0 123 255 / 25%);}"],(0,i.E)("#000000",.1),(function(e){return e.isValid&&(0,o.iv)(["border:1px solid #28A745;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(U.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["border:1px solid #DC3545;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(U.basePath,"/icons/V2/validation_failure.svg)"))})),K=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"Textarea__StyledFeedback",componentId:"sc-p52xql-3"})(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5));var H=function(e){var n=e.id,t=e.hint,o=e.label,i=e.emptyLabel,a=e.placeholder,s=e.required,l=e.validated,d=e.isInvalid,c=e.pattern,u=e.maxLength,h=e.minLength,p=e.defaultInvalidMessage,x=void 0===p?"":p,m=e.validate,g
1=e.onKeyPress,b=e.matchValue,y=e.value,Z=void 0===y?"":y,N=e.onChange,w=(0,r.useCallback)((function(e){m&&m(e,{required:s,matchValue:b}),N&&N(e)}),[N,m,s,b]),E=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t&&!v.tq||(e.show=!1),e}),[n,t]),S=!s&&l&&!d||Z&&l&&!d,O=d||s&&!Z&&l;return(0,C.jsx)(j.Z,Y(Y({},E),{},{children:(0,C.jsxs)(W,{controlId:n,withLabel:Boolean(o||i),children:[(0,C.jsxs)(G,{children:[o,!i&&o&&s&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsx)(Q,{as:"textarea",rows:5,name:n,required:s,placeholder:a,pattern:c,maxLength:u,minLength:h,isValid:S,isInvalid:O,value:Z,onKeyPress:g,onChange:w,"data-hj-allow":!0}),(0,C.jsx)(K,{type:"invalid",children:x})]})}))};function J(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ee(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?J(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):J(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ne=(0,o.ZP)(l.Z.Group).withConfig({displayName:"Switch__StyledGroup",componentId:"sc-100xv2k-0"})(["width:30%;margin-bottom:0!important;padding-left:0;padding-right:0;input:checked + label,input:not(:checked) + label{display:inline-block;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;cursor:pointer;}@media ","{width:100%;}"],(function(e){return e.theme.devices.tablet})),te=(0,o.ZP)(l.Z.Check).withConfig({displayName:"Switch__StyledCheck",componentId:"sc-100xv2k-1"})(["margin-right:24px;@media ","{margin-top:12px;}"],(function(e){return e.theme.devices.tablet})),re=o.ZP.div.withConfig({displayName:"Switch__StyledWrapper",componentId:"sc-100xv2k-2"})(["display:flex;align-items:center;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid ",";",";@media ","{flex-direction:column;}"],(0,i.E)("#000000",.1),(function(e){return e.hideDivider&&(0,o.iv)(["border-bottom:none;"])}),(function(e){return e.theme.devices.tablet})),oe=o.ZP.div.withConfig({displayName:"Switch__StyledQuestion",componentId:"sc-100xv2k-3"})(["width:70%;padding-right:24px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;@media ","{width:100%;}"],(function(e){return e.theme.devices.tablet}));var ie=function(e){var n=e.id,t=e.hideDivider,o=e.hint,i=e.label,a=e.labelOn,s=void 0===a?"Label ON":a,l=e.labelOff,d=void 0===l?"Label OFF":l,c=e.valueOn,u=e.valueOff,h=e.value,p=e.onChange,x=e.onMouseEnter,m=e.onMouseLeave,g=(0,r.useCallback)((function(){x&&x({label:i,hint:o})}),[x,i,o]),b=(0,r.useMemo)((function(){return{placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o}),show:!1}}),[n,o]);return(0,C.jsx)(j.Z,ee(ee({},b),{},{children:(0,C.jsxs)(re,{hideDivider:t,onMouseEnter:g,onMouseLeave:m,children:[(0,C.jsx)(oe,{children:(0,C.jsx)("span",{children:i})}),(0,C.jsxs)(ne,{controlId:n,children:[(0,C.jsx)(te,{inline:!0,id:"".concat(n,"1"),label:d,name:n,type:"radio",value:u,checked:h===u,onChange:p}),(0,C.jsx)(te,{inline:!0,id:"".concat(n,"2"),label:s,name:n,type:"radio",value:c,checked:h===c,onChange:p})]})]})}))},ae=t(2828),se=t(4155);function le(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function de(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?le(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):le(Object(t)).forEac
1h((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ce=(0,o.ZP)(l.Z).withConfig({displayName:"ContactUsForm__StyledContactUsForm",componentId:"sc-1u5xl23-0"})(["padding:16px;border:1px solid ",";.contact-block-title{margin-bottom:1rem;padding-top:10px;padding-bottom:10px;font-family:'Arial';color:#424242;span{font-family:'Arial';font-weight:bold;}}button{width:100%;margin-top:2rem;margin-bottom:1rem;}@media ","{.contact-block-title{margin-bottom:0;}}"],(0,i.E)("#000000",.1),(function(e){return e.theme.devices.tablet})),ue=r.forwardRef((function(e,n){var t=e.values,o=void 0===t?{}:t,i=e.onReCaptcha,a=e.onChange,l=e.onSubmit,p="true"===o[u.xh.questionsOrder],x=se.env.NEXT_PUBLIC_GOOGLE_RECAPTCHA_PUBLIC_KEY,m=(0,r.useCallback)((function(){a&&a({target:{id:"suspendedSubmit",value:!0}})}),[a]);return(0,C.jsxs)(ce,{noValidate:!0,validated:o.validated,onSubmit:l,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsxs)("div",{className:"contact-block-title",children:["Use the form below to submit a support request. A business filing expert will be in touch with you as soon as possible.\xa0",(0,C.jsx)("span",{children:"If submitted after office hours, we will respond on the next business day."})]})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.customerFirstName)),{},{value:o[u.xh.customerFirstName],onChange:a,column:!0}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.customerLastName)),{},{value:o[u.xh.customerLastName],onChange:a}))})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,de(de({},(0,h.X)(u.xh.customerPhone)),{},{value:o[u.xh.customerPhone],onChange:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.customerEmail)),{},{loading:o.verifying,value:o[u.xh.customerEmail],onChange:a}))})]}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,de(de({},(0,h.X)(u.xh.questionsOrder)),{},{value:o[u.xh.questionsOrder],onChange:a}))})}),p&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,de(de({},(0,h.X)(u.xh.orderId)),{},{value:o[u.xh.orderId],onChange:a}))})}),(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(H,de(de({},(0,h.X)(u.xh.message)),{},{validated:o.validated,value:o[u.xh.message],onChange:a}))})}),x&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(s.Z,{className:"g-recaptcha",ref:n,sitekey:x,onChange:i})})}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"ContactUsSubmitButton",onMouseDown:m,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})})),he=t(8021),pe=t(6354),xe=t(7812),me=t(1163),ve=t(9669),ge=t.n(ve),fe=t(4487),je=t(3009);function be(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ye(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?be(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):be(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}m()().publicRuntimeConfig;var Ze=(0,o.ZP)(l.Z.Group).withConfig({displayName:"ProcessingRadioGroup__StyledGroup",componentId:"sc-76rbgp-0"})(["width:100%;padding-left:0;padding-right:0;input:checked + label,input:not(:checked) + label{display:inline-block;position:relative;font-family:'Arial';font-size:14px;line-height:24px;color:",";cursor:pointer;}.col-md-6{&:nth-child(odd){padding-right:8px;}&:nth-child(even){padding-left:8px;}}.col-12{padding-bottom:8px;}@media ","{.col-md-6{&:nth-child(odd){padding-right:15px;}&:nth-child(even){padding-left:15px;}}}"],(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet})),Ce=(0,o.ZP)(l.Z.Check).withConfig({displayName:"ProcessingRadioGroup__StyledCheck",componentId:"sc-76rbgp-1"})(["margin-top:5px;"]),Ne=o.ZP.label.withConfig({displayName:"ProcessingRadioGroup__StyledLabel",componentId:"sc-76rbgp-2"})(["display:flex;align-items:flex-start;height:calc(100% - 8px);padding:18px;border:1px solid ",";position:relative;cursor:pointer;.title{display:flex;flex-direction:column;flex-grow:1;font-family:'Arial';font-weight:bold;font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";.description{font-family:'Arial';font-size:12px;line-height:calc(1.42857rem * (12 / 16));}}
1.price-badge{position:absolute;top:6px;right:10px;font-family:'Arial';font-size:16px;line-height:26px;color:",";}",";"],(0,i.E)("#000000",.1),(0,i.E)("#424242",.5),(0,i.E)("#424242",.5),(function(e){return e.active&&(0,o.iv)(["border:1px solid ",";.title{color:",";}.price-badge{color:",";}"],(0,i.E)("#000000",.1),(0,i.E)("#424242",1),(0,i.E)("#424242",1))}));var we=function(e){var n=e.id,t=e.hint,o=e.options,i=void 0===o?[]:o,a=e.value,s=e.onChange,l=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t})};return t||(e.show=!1),e}),[n,t]);return(0,C.jsx)(j.Z,ye(ye({},l),{},{children:(0,C.jsx)(Ze,{controlId:n,children:(0,C.jsx)(d.Z,{children:i.map((function(e,t){return(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsxs)(Ne,{active:a===e.value,children:[(0,C.jsx)(Ce,{id:"".concat(n).concat(t+1),name:n,inline:!0,type:"radio",label:"",value:e.value,checked:a===e.value,onChange:s}),(0,C.jsxs)("div",{className:"title",children:[(0,C.jsx)("div",{className:"name",children:(0,C.jsx)("span",{children:e.name})}),(0,C.jsx)("div",{className:"description",children:(0,C.jsxs)("span",{children:["(",e.description,")"]})})]}),(0,C.jsx)("div",{className:"price-badge",children:(0,C.jsxs)("span",{children:["$",e.price]})})]})},"".concat(n).concat(t+1))}))})})}))},Ee=t(4669);function Se(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Oe(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Se(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Se(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Me=o.ZP.div.withConfig({displayName:"ProcessingBlock__StyledContainer",componentId:"sc-1g7soup-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Pe=(0,o.ZP)(d.Z).withConfig({displayName:"ProcessingBlock__StyledRow",componentId:"sc-1g7soup-1"})(["padding-top:16px;padding-left:16px;padding-right:16px;"]),Ie=o.ZP.div.withConfig({displayName:"ProcessingBlock__StyledBottomReminder",componentId:"sc-1g7soup-2"})(["padding-left:16px;padding-right:16px;padding-bottom:16px;font-family:'Arial';font-size:12px;line-height:calc(1.42857rem * (12 / 16));text-align:center;"]),ke=[je.a.leadDiscount,je.a.leadDiscount20,je.a.leadDiscount50];var Le=function(e){var n=e.values,t=void 0===n?{}:n,o=e.onChange,i=(0,me.useRouter)(),a=i.query,s=i.isReady,l=(0,r.useState)([]),p=l[0],x=l[1],m=(0,r.useState)(new Map),v=m[0],g=m[1],f=(0,r.useState)(null),j=f[0],y=f[1],Z=(0,r.useState)(null),N=Z[0],w=Z[1],E=(0,b.D)(t),S=(0,b.D)(v.size),O=(0,r.useMemo)((function(){return p.filter((function(e){var n=e.code;return j?n===j:!ke.includes(n)})).map((function(e){var n=e.code,t=e.value;return u.jF.has(n)?Oe(Oe({},u.jF.get(n)),{},{name:N?"EIN Application - ".concat(N.split("_")[1]||N," % Limited Time Discount"):u.jF.get(n).name,price:v.get(n)}):{name:t,value:n,price:v.get(n)}}))}),[p,v,j,N]);(0,r.useEffect)((function(){(null===E||void 0===E?void 0:E.processingOption)!==t.processingOption&&o&&o({target:{name:"currentPrice",value:v.get(t.processingOption)||0}})}),[o,t,E,v]),(0,r.useEffect)((function(){S!==v.size&&o&&o({target:{name:"currentPrice",value:v.get(t.processingOption)||0}})}),[o,t,S,v]),(0,r.useEffect)((function(){ge().get("https://innova-labs.net:9080/category/EIN/processing-options?onlyActive=true").then((function(e){var n=new Set;e.data.values.forEach((function(e){n.add(e.code)})),x((0,xe.Z)(e.data.values||[])),!n.has(je.a.rush)&&n.has(je.a.standard)&&o&&o({target:{name:u.xh.processingOption,value:je.a.standard}})})).catch((function(e){var n=window.location.href.split("/"),t=(n[0]+"//"+n[2]).replace(/\/+$/,"");ge().get(t+"/crm/category/EIN/processing-options?onlyActive=true").then((function(e){var n=new Set;
1e.data.values.forEach((function(e){n.add(e.code)})),x((0,xe.Z)(e.data.values||[])),!n.has(je.a.rush)&&n.has(je.a.standard)&&o&&o({target:{name:u.xh.processingOption,value:je.a.standard}})})).catch((function(e){console.log(e.response)}))}))}),[]),(0,r.useEffect)((function(){a.order&&a.token&&ge().get("https://innova-labs.net:9080/orders/"+a.order,{headers:{Authorization:"Bearer "+a.token}}).then((function(e){o&&o({target:{name:u.xh.processingOption,value:je.a.standard}},{currentOrder:e.data.order,orderId:e.data.order.id,token:a.token,campaignId:a.campaignId||null,sourceValue1:a.sourceValue1||null,sourceValue2:a.sourceValue2||null,sourceValue3:a.sourceValue3||null,sourceValue4:a.sourceValue4||null,sourceValue5:a.sourceValue5||null}),y(je.a.standard),ge().get("https://innova-labs.net:9080/tokens",{headers:{Authorization:"Bearer "+a.token}}).then((function(e){w(e.data.discountCouponType),o&&o({target:{name:"discountCouponType",value:e.data.discountCouponType}})})).catch((function(e){console.log(e)}))})).catch((function(e){if(e.response)o&&o({target:{name:"discountError",value:e}}),403!==e.response.status&&fe.Tb(new Error("Token error"),{tags:{section:"products"}});else if(e.request){var n=window.location.href.split("/"),t=(n[0]+"//"+n[2]).replace(/\/+$/,"");ge().get(t+"/crm/orders/"+a.order,{headers:{Authorization:"Bearer "+a.token}}).then((function(e){o&&o({target:{name:u.xh.processingOption,value:je.a.standard}},{currentOrder:e.data.order,orderId:e.data.order.id,token:a.token,campaignId:a.campaignId||null,sourceValue1:a.sourceValue1||null,sourceValue2:a.sourceValue2||null,sourceValue3:a.sourceValue3||null,sourceValue4:a.sourceValue4||null,sourceValue5:a.sourceValue5||null}),y(je.a.standard),ge().get(t+"/tokens",{headers:{Authorization:"Bearer "+a.token}}).then((function(e){w(e.data.discountCouponType),o&&o({target:{name:"discountCouponType",value:e.data.discountCouponType}})})).catch((function(e){console.log(e)}))})).catch((function(e){o&&o({target:{name:"discountError",value:e}}),403!==e.response.status&&fe.Tb(new Error("Token error"),{tags:{section:"products"}}),console.log(e)}))}else o&&o({target:{name:"discountError",value:e}}),fe.Tb(new Error("Token error"),{tags:{section:"products"}});console.log(e)}))}),[a,o]),(0,r.useEffect)((function(){if(s&&a.token&&N||s&&!a.token){var e={productCodes:"EIN_SoleProp"};N&&(e.discountCouponType=N),ge().get("https://innova-labs.net:9080/category/EIN/products/prices",{params:e,headers:{"Content-Type":"application/json"}}).then((function(e){var n=new Map;e.data.forEach((function(e){n.set(e.option,e.price)})),g(n)})).catch((function(n){var t=window.location.href.split("/"),r=(t[0]+"//"+t[2]).replace(/\/+$/,"");ge().get(r+"/category/EIN/products/prices",{params:e,headers:{"Content-Type":"application/json"}}).then((function(e){var n=new Map;e.data.forEach((function(e){n.set(e.option,e.price)})),g(n)})).catch((function(e){console.log(e)}))}))}}),[N,s,a]);var M="",P=(0,Ee.hh)(window.location.hostname?window.location.hostname:"");return P.type===Ee.xj.Listed&&(M=P.domain),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"page-title",children:(0,C.jsx)("span",{children:"Submit Your EIN Application"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsxs)(Me,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Processing Option"})}),(0,C.jsx)(Pe,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(we,Oe(Oe({},(0,h.X)(u.xh.processingOption)),{},{value:t[u.xh.processingOption],options:O,onChange:o}))})}),("apply-us-taxid"===M||"etax-filing"===M)&&(0,C.jsx)(Ie,{children:"Reminder, EIN Application Fees are 100% Tax Deductible"})]})})]})},De=["id","hint","label","emptyLabel","hideDivider","placeholder","noBottomSpace","required","validated","maxLength","defaultInvalidMessage","isInvalid","value","options","onChange","onMouseEnter","onMouseLeave"];function Fe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Be(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Fe(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Fe(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _e=m()().publicRuntimeConfig,Xe=(0,o.ZP)(l.Z.Group).withConfig({displayName:"Select__StyledGroup",componentId:"sc-159l098-0"})(["display:flex;flex-direction:column;position:relative;padding-left:0;padding-right:0;padding-bottom:16px;",";",";"],(function(e){return e.noBottomSpace&&(0,o.iv)(["padding-bottom:0px;"])}),(function(e){return e.hideDivider&&(0,o.iv)(["padding-bottom:0;"])})),Ae=(0,o.ZP)(l.Z.Label).withConfig({displayName:"Select__StyledLabel",componentId:"sc-159l098-1"})(["display:flex;align-items:center;font-family:'Arial';font-weight:bold;font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;span{color:#790000;}a{color:#b1b1b1;text-decoration:underline;cursor:pointer;&:hover{color:#001e5a;}}",";"],(function(e){return e.emptyLabel&&(0,o.iv)(["padding-top:18.56px;"])})),ze=(0,o.ZP)(l.Z.Control).withConfig({displayName:"Select__StyledControl",componentId:"sc-159l098-2"})(["appearance:unset;min-height:34px;width:100%;padding-top:5px;padding-bottom:5px;padding-left:4px;padding-right:24px;font-family:'Arial';font-size:14px;line-height:24px;color:#424242;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border:1px solid ",";border-radius:0;background:",";background-image:",";background-repeat:no-repeat;background-origin:content-box;background-position-x:right;background-position-y:center;",";",";",";&:focus-visible{outline:none;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),"url(".concat(_e.basePath,"/icons/V2/V2-federal/caret_down.svg)"),(function(e){return e.isValid&&(0,o.iv)(["padding-top:4px !important;padding-right:0px !important;border:1px solid #198754;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(_e.basePath,"/icons/V2/validation_success.svg)"))}),(function(e){return e.isInvalid&&(0,o.iv)(["padding-top:4px !important;padding-right:0px !important;border:1px solid #DC3545;background-image:",";background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;"],"url(".concat(_e.basePath,"/icons/V2/validation_failure.svg)"))}),(function(e){var n=e.isValid,t=e.isInvalid;return!(n||t)&&(0,o.iv)(["background-origin:unset!important;"])})),Te=(0,o.ZP)(l.Z.Control.Feedback).withConfig({displayName:"Select__StyledFeedback",componentId:"sc-159l098-3"})(["&.processing-feedback,&.valid-feedback,&.invalid-feedback{font-size:13px;line-height:calc(1.42857rem * (13 / 16));}&.processing-feedback{color:",";}&.valid-feedback{color:#198754;}&.invalid-feedback{color:#DC3545}"],(0,i.E)("#424242",.5));var Re=function(e){var n=e.id,t=e.hint,o=e.label,i=e.emptyLabel,a=e.hideDivider,s=e.placeholder,l=e.noBottomSpace,d=e.required,c=e.validated,u=e.maxLength,h=e.defaultInvalidMessage,x=void 0===h?"":h,m=e.isInvalid,g=e.value,b=void 0===g?"":g,y=e.options,Z=void 0===y?[]:y,N=e.onChange,w=e.onMouseEnter,E=e.onMouseLeave,S=(0,p.Z)(e,De),O=(0,r.useCallback)((function(e){N&&N(e)}),[N]),M=(0,r.useCallback)((function(){w&&w({label:o||s,hint:t})}),[w,o,s,t]),P=(0,r.useMemo)((function(){return{placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:t}),show:!1}}),[n,t]),I=(0,r.useMemo)((function(){var e;return null===(e=Z.find((function(e){return(null===e||void 0===e?void 0:e.value)===b})))||void 0===e?void 0:e.title}),[b,Z]),k=!d&&c&&!m||b&&c&&!m,L=m||d&&!b&&c;return(0,C.jsx)(j.Z,Be(Be({},P),{},{children:(0,C.jsxs)(Xe,{controlId:n,hideDivider:a,className:L?"custom-control-invalid":"",title:I,onMouseEnter:M,onMouseLeave:E,noBottomSpace:l,children:[(0,C.jsxs)(Ae,{emptyLabel:i,children:[o,o&&d&&(0,C.jsx)("span",{children:"\xa0*"})]}),(0,C.jsxs)(ze,Be(Be({as:"select",className:"form-control",name:n,required:d,maxLength:u,value:b,onChange:O,isValid:k,isInvalid:L},S),{},{children:[(0,C.jsx)("option",{value:"",selected:!0,children:s}),Z.map((function(e){var n=e.title,t=e.value;return(0,C.jsx)("option",{value:t,children:n},t)}))]})),(0,C.jsx)(Te,{type:"invalid",children:x})]})}))};function Ve(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function qe(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Ve(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ve(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var $e=m()().publicRuntimeConfig,Ye=function(){var e=(new Date).getFullYear();return Array.from(new Array(20),(function(n,t){return{value:(e+t)%100,title:"".concat(e+t)}}))},Ue=o.ZP.div.withConfig({displayName:"CreditCardInfoBlock__StyledContainer",componentId:"sc-eijp2v-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),We=(0,o.ZP)(d.Z).withConfig({displayName:"CreditCardInfoBlock__StyledRow",componentId:"sc-eijp2v-1"})(["padding:16px;.col-12{position:relative;}"]);var Ge=function(e){var n,t,o,i,a,s,l,d,p,x,m,v,g,f=e.isCardExpired,j=e.paymentInputs,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=(0,r.useState)(null),w=N[0],E=N[1],S=j||{},O=S.meta,M=S.getCardNumberProps,P=S.getCVCProps,I=O.erroredInputs,k=O.touchedInputs,D="true"===y[u.xh.billingAddress],F=(0,r.useMemo)((function(){return"0000000000000000"!==y.cardNumber&&(k.cardNumber&&I.cardNumber||!y.cardNumber&&0===y.cardNumber.length&&!y.beforeSubmit)}),[y,k.cardNumber,I.cardNumber]),B=(0,r.useMemo)((function(){return k.cvc&&I.cvc||!y.cvc&&0===y.cvc.length&&!y.beforeSubmit}),[y,k.cvc,I.cvc]);return(0,C.jsxs)(Ue,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Card Information"})}),(0,C.jsxs)(We,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,qe(qe({},(0,h.X)(u.xh.firstName)),{},{value:y[u.xh.firstName],isInvalid:!y[u.xh.firstName]&&!y.beforeSubmit,onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,qe(qe({},(0,h.X)(u.xh.lastName)),{},{value:y[u.xh.lastName],isInvalid:!y[u.xh.lastName]&&!y.beforeSubmit,onChange:Z}))}),(0,C.jsxs)(c.Z,{xs:12,children:[(0,C.jsx)(L,qe(qe(qe({},(0,h.X)(u.xh.cardNumber)),{},{value:y[u.xh.cardNumber],thirdPartyProps:M({onChange:Z})},(g=u.xh.cardNumber,g===w?{onKeyPress:function(){}}:{})),{},{onSelect:function(e){var n=e.target,t=n.selectionEnd-n.selectionStart;E(t?n.name:null)},isInvalid:F,defaultInvalidMessage:I.cardNumber,"data-threeds":"pan"})),(0,C.jsxs)("div",{className:"card-providers mobile",children:[(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/visa-alternative.png"),alt:"VISA"}),(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/mastercard-alternative.png"),alt:"Mastercard"}),(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/discover-alternative.png"),alt:"Discover"}),(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/american-express-alternative.png"),alt:"American Express"})]}),(0,C.jsxs)("div",{className:"card-providers desktop",children:[(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/visa-alternative.png"),alt:"VISA"}),(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/mastercard-alternative.png"),alt:"Mastercard"}),(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/discover-alternative.png"),alt:"Discover"}),(0,C.jsx)("img",{src:"".concat($e.basePath,"/images/V2/american-express-alternative.png"),alt:"American Express"})]})]}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(Re,qe(qe({},(0,h.X)(u.xh.cardMonth)),{},{value:y[u.xh.cardMonth],label:"Exp. Month",isInvalid:f&&!y.beforeSubmit,onChange:Z,"data-threeds":"month"}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(Re,qe(qe({},(0,h.X)(u.xh.cardYear)),{},{label:"Exp. Year",emptyLabel:!1,options:Ye(),value:y[u.xh.cardYear],isInvalid:f&&!y.beforeSubmit,onChange:Z,"data-threeds":"year"}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(L,qe(qe({},(0,h.X)(u.xh.cvc)),{},{value:y[u.xh.cvc],thirdPartyProps:P({onChange:Z}),isInvalid:B,defaultInvalidMessage:I.cvc}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,qe(qe({},(0,h.X)(u.xh.billingAddress)),{},{value:y[u.xh.billingAddress],onChange:Z,hideDivider:!D}))}),D&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,qe(qe({},(0,h.X)(u.xh.billingAddressAddress1)),{},{label:null===(n=(0,h.X)(u.xh.billingAddressAddress1))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:y[u.xh.billingAddressAddress1],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,qe(qe({}
1,(0,h.X)(u.xh.billingAddressAddress2)),{},{label:null===(o=(0,h.X)(u.xh.billingAddressAddress2))||void 0===o||null===(i=o.placeholder)||void 0===i?void 0:i.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:y[u.xh.billingAddressAddress2],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,qe(qe({},(0,h.X)(u.xh.billingAddressCity)),{},{label:null===(a=(0,h.X)(u.xh.billingAddressCity))||void 0===a||null===(s=a.placeholder)||void 0===s?void 0:s.replace("*",""),placeholder:void 0,value:y[u.xh.billingAddressCity],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,qe(qe({},(0,h.X)(u.xh.billingAddressZip)),{},{label:null===(l=(0,h.X)(u.xh.billingAddressZip))||void 0===l||null===(d=l.placeholder)||void 0===d?void 0:d.replace("*",""),placeholder:void 0,value:y[u.xh.billingAddressZip],onChange:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,qe(qe({},(0,h.X)(u.xh.billingAddressState)),{},{label:null===(p=(0,h.X)(u.xh.billingAddressState))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),placeholder:null===(m=(0,h.X)(u.xh.billingAddressState))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),value:y[u.xh.billingAddressState],validated:y.validated,onChange:Z,hideDivider:!0}))})]})]})]})},Qe=(0,o.ZP)(l.Z).withConfig({displayName:"PaymentForm__StyledPaymentForm",componentId:"sc-oe3m30-0"})([".page-title{padding-top:8px;margin-bottom:24px;font-family:'InterSemiBold';font-size:26px;line-height:calc(1.42857rem * (26 / 16));text-align:center;color:#424242;}.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'InterMedium';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#333333;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}button{width:100%;margin-bottom:1rem;}.card-providers{position:absolute;top:calc(18.56px + 5.5px);right:calc(15px + 4px);img{max-height:24px !important;margin-top:0 !important;margin-left:2px;margin-right:2px;width:auto;}&.mobile{display:none;}}.guarantee-logo{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-bottom:32px;.stamp-container{margin-top:24px;img{height:140px;}}}.guarantee-disclaimer{padding-left:15%;padding-right:15%;font-family:'InterRegular';font-size:14px;line-height:24px;color:#1B3858;text-align:center;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{.card-providers{img{max-height:34px;margin-top:9px;}}}@media ","{padding-bottom:42px;.card-providers{top:-7px;right:15px;img{max-height:24px !important;&:last-child{margin-right:0;}}&.desktop{display:none;}}.guarantee-logo{padding-left:5%;padding-right:5%;.logo-container{display:flex;flex-wrap:wrap;justify-content:center;width:100%;img{margin-top:8px;margin-bottom:8px;}}}.guarantee-disclaimer{padding-left:0;padding-right:0;}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.laptopL}),(function(e){return e.theme.devices.tablet}));var Ke=function(e){var n,t=e.error,o=e.values,i=void 0===o?{}:o,a=e.onChange,s=e.onSubmit,l=(0,he.un)(),u=(l||{}).meta,h=(0,r.useMemo)((function(){if(null!==i.cardYear&&null!==i.cardMonth){var e=new Date;return e.setFullYear("20"+i.cardYear,i.cardMonth,1),e<new Date}return!0}),[i]),p=(0,r.useCallback)((function(e){var n=!0,t=function(t){var r={threeDSDetails:t};tds.verifyReject=null,tds.verifyResolve=null,tds.verifyListener=null,tds.threeDsTransactionId=null,n&&(n=!1,a&&a({target:{name:"dLoading",value:!1}}),"Y"===t.status||"A"===t.status?(t.protocolVersion.startsWith("2")?(r.cavv=null===t||void 0===t?void 0:t.authenticationValue,r.xid=null===t||void 0===t?void 0:t.dsTransId,r.acsTransId=null===t||void 0===t?void 0:t.acsTransId,r.eci=null===t||void 0===t?void 0:t.eci,r.threeDsStatus=null===t||void 0===t?void 0:t.status):(r.cavv=null===t||void 0===t?void 0:t.cavv,r.xid=null===t||void 0===t?void 0:t.xid,r.eci=null===t||void 0===t?void 0:t.eci),s&&s(e,r)):s&&s(e,r))},r=t,o=t;if(!document.getElementById("konnektivjs3")){var l=document.createElement("script");
1l.id="konnektivjs3",document.body.appendChild(l),l.appendChild(document.createTextNode('var tds = new ThreeDS("kform", "e03c697d935a4c7d818958ffb1384131", null, { autoSubmit: false, verbose: false, timeout: "10"});'))}if(tds.verify(r,o,{amount:i.currentPrice}),tds.errors.length>0){var d=tds.errors[0];console.log("Error: "+d)}}),[i,a,s]),x=(0,r.useCallback)((function(e){if(!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{window.scrollTo(0,0);var t={};if(i.is3DS&&"true"===String("false")){a&&a({target:{name:"dLoading",value:!0}});var r=i.cardNumber.charAt(0);"3"!==r&&"6"!==r&&"0000000000000000"!==i.cardNumber?p(e):(t.threeDSDetails="3,6 or test card",a&&a({target:{name:"dLoading",value:!1}}),s&&s(e,t))}else t.threeDSDetails="3ds off",s&&s(e,t)}a&&a({target:{name:"validated",value:!0}})}),[i,a,s,p]),m=(0,r.useCallback)((function(e){e.preventDefault(),a&&a({target:{name:"beforeSubmit",value:!1}});var n=document.querySelector(".is-invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"}),i.isRefresh?i.isRefresh&&0!==i.lastName.length&&0!==i.firstName.length&&!h&&x(e):"undefined"!==typeof u.erroredInputs.cardNumber&&"0000000000000000"!==i.cardNumber||"undefined"!==typeof u.erroredInputs.cvc||0===i.lastName.length||0===i.firstName.length||h||x(e)}),[a,x,u,h,i]);return(0,C.jsxs)(Qe,{id:"kform",noValidate:!0,validated:i.validated,onSubmit:m,children:[(0,C.jsx)(Le,{values:i,onChange:a}),(0,C.jsx)(Ge,{isCardExpired:h,paymentInputs:l,values:i,onChange:a}),i.is3DS&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("input",{type:"hidden",name:"paayAmount",id:"paayAmount",value:i.currentPrice||"","data-threeds":"amount"}),(0,C.jsx)("input",{type:"hidden",name:"x_transaction_id",value:null===(n=i.currentOrder)||void 0===n?void 0:n.crmOrderId,"data-threeds":"id"})]}),t&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(pe.Z,{message:(0,C.jsx)("span",{children:t.message})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Submit Application"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})},He=(0,o.ZP)(l.Z).withConfig({displayName:"OrderStatusRequestForm__StyledOrderStatusRequestForm",componentId:"sc-1q4uai0-0"})(["padding-bottom:62px;.inputs-block-title{margin-bottom:16px;padding-left:24px;padding-right:24px;font-family:'InterSemiBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;text-transform:capitalize;color:#424242;span{span{color:#C61F0C;}}}.input-title{margin-bottom:4px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.inputs-block-divider{margin-bottom:46px;}.top-disclaimer{font-family:'InterRegular';text-align:center;color:#424242;span{display:block;margin-top:16px;margin-bottom:16px;}}.bottom-disclaimer{font-family:'InterRegular';font-size:10px;line-height:calc(1.42857rem * (10 / 16));text-align:center;color:#424242;opacity:0.5;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#424242",.5),(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet}));var Je=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onSubmit;return(0,C.jsxs)(He,{noValidate:!0,validated:t.validated,onSubmit:o,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Enter order number used in your application"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Please enter your order number to check the status of your application or receive your EIN/Tax ID Number"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"orderNumber",required:!0,label:"Order Number",placeholder:"Enter Order Number",defaultInvalidMessage:"Please enter order number",value:t.orderNumber,onChange:r})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})},en=t(8153);function nn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function tn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?nn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var rn=(0,o.ZP)(l.Z).withConfig({displayName:"OrderStatusResultForm__StyledOrderStatusResultForm",componentId:"sc-8po6ef-0"})(["padding-bottom:62px;.inputs-block-title{margin-bottom:16px;padding-left:24px;padding-right:24px;font-family:'InterSemiBold';font-size:24px;line-height:calc(1.42857rem * (24 / 16));text-align:center;text-transform:capitalize;color:#424242;span{span{color:#C61F0C;}}}.input-title{margin-bottom:4px;font-family:'InterRegular';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.inputs-block-divider{margin-bottom:46px;}.top-disclaimer{font-family:'InterRegular';text-align:center;color:#424242;span{display:block;margin-top:16px;margin-bottom:16px;}}.bottom-disclaimer{font-family:'InterRegular';font-size:10px;line-height:calc(1.42857rem * (10 / 16));text-align:center;color:#424242;opacity:0.5;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#424242",.5),(0,i.E)("#424242",.5),(function(e){return e.theme.devices.tablet}));var on=function(e){var n,t,o,i,a=e.order,s=e.values,h=void 0===s?{}:s,p=(0,r.useState)(""),x=p[0],m=p[1],v=(0,r.useState)(""),g=v[0],f=v[1],j=(0,r.useState)(null),y=j[0],Z=j[1],N=(0,r.useState)(!1),w=N[0],E=N[1],S=(0,r.useState)(null),O=S[0],M=S[1],P=(0,r.useState)(null),I=P[0],k=P[1],D=(0,r.useState)(""),F=D[0],B=D[1],_=(0,r.useState)(""),X=_[0],A=_[1],z=(0,r.useState)(""),T=z[0],R=z[1],V=(0,r.useState)(""),$=V[0],Y=V[1],U=(0,r.useState)(""),W=U[0],G=U[1],Q=(0,r.useState)(""),K=Q[0],H=Q[1],J=(0,r.useState)(""),ee=J[0],ne=J[1],te=(0,r.useState)(""),re=te[0],oe=te[1],ie=(0,r.useState)(!1),se=ie[0],le=ie[1],de=(0,r.useState)(null),ce=de[0],ue=de[1],he=(0,r.useState)(null),pe=he[0],xe=he[1],me=(0,r.useState)(!1),ve=me[0],fe=me[1],je=(0,r.useState)(!1),be=je[0],ye=je[1],Ze=(0,b.D)(ve),Ce=function(e){var n=e.target,t=n.id,r=n.value;"verifying"===t?fe(r):m(r)},Ne=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!ve){ye(!1);var n=e.currentTarget,t=document.querySelector(".is-invalid");if(null!=t)t.scrollIntoView({behavior:"smooth",block:"start"});else if(!1===n.checkValidity()){e.preventDefault(),e.stopPropagation();var r=document.querySelector(".form-control:invalid");null!=r&&r.scrollIntoView({behavior:"smooth",block:"start"})}else ge().get("https://innova-labs.net:9080/orders/"+a.orderUid+"/PDF",{params:{email:x,last4:g},responseType:"arraybuffer",headers:{"Content-Type":"application/json",Accept:"application/pdf"}}).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),t=document.createElement("a");t.href=n;var r=h.orderNumber+".pdf";t.setAttribute("download",r),document.body.appendChild(t),t.click(),t.parentNode.removeChild(t)})).catch((function(e){e.response&&M(e.response.statusText)}));E(!0)}}),[a,h,x,g,ve]),we=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!ve){ye(!1);var n=e.currentTarget,t=document.querySelector(".is-invalid");if(null!=t)t.scrollIntoView({behavior:"smooth",block:"start"});else if(!1===n.checkValidity()){e.preventDefault(),e.stopPropagation();var r=document.querySelector(".form-control:invalid");null!=r&&r.scrollIntoView({behavior:"smooth",block:"start"}),E(!0)}else E(!0),ge().post("https://innova-labs.net:9080/orders/"+h.orderNumber+"/token",{},{params:{email:x},headers:{Accept:"application/json"}}).then((function(e){Z(e.data.token),E(!1),ge().get("https://innova-labs.net:9080/orders/"+a.orderUid,{headers:{Authorization:"Bearer "+e.data.token}}).then((function(e){if(xe(e.data),e.data.products&&e.data.products.length>=1){var n=e.data.products.length-1;if(e.data.order.productCode)"EIN_LLC"===e.data.order.productCode.code||"EIN_SoleProp"===e.data.order.productCode.code?(H(e.data.products[n].owner.lastName),Y(e.data.products[n].owner.firstName),G(e.data.products[n].owner.middleName),ne(e.data.products[n].owner.suffixName),oe(e.data.products[n].owner.ssn)):"EIN_CCorp"===e.data.order.productC
1ode.code||"EIN_PSC"===e.data.order.productCode.code||"EIN_SCorp"===e.data.order.productCode.code?(H(e.data.products[n].principalOfficer.lastName),Y(e.data.products[n].principalOfficer.firstName),G(e.data.products[n].principalOfficer.middleName),ne(e.data.products[n].principalOfficer.suffixName),oe(e.data.products[n].principalOfficer.ssn)):"EIN_Church"===e.data.order.productCode.code||"EIN_NonProfit"===e.data.order.productCode.code?(H(e.data.products[n].responsibleParty.lastName),Y(e.data.products[n].responsibleParty.firstName),G(e.data.products[n].responsibleParty.middleName),ne(e.data.products[n].responsibleParty.suffixName),oe(e.data.products[n].responsibleParty.ssn)):"EIN_Estate"===e.data.order.productCode.code?(H(e.data.products[n].representative.lastName),Y(e.data.products[n].representative.firstName),G(e.data.products[n].representative.middleName),ne(e.data.products[n].representative.suffixName),oe(e.data.products[n].representative.ssn)):"EIN_Partnership"===e.data.order.productCode.code?(H(e.data.products[n].primaryPartner.lastName),Y(e.data.products[n].primaryPartner.firstName),G(e.data.products[n].primaryPartner.middleName),ne(e.data.products[n].primaryPartner.suffixName),oe(e.data.products[n].primaryPartner.ssn)):"EIN_Trust"===e.data.order.productCode.code&&(H(e.data.products[n].trustee.lastName),Y(e.data.products[n].trustee.firstName),G(e.data.products[n].trustee.middleName),ne(e.data.products[n].trustee.suffixName),oe(e.data.products[n].trustee.ssn));else{var t=e.data.order.productCodes.length-1;"EIN_LLC"===e.data.order.productCodes[t].code||"EIN_SoleProp"===e.data.order.productCodes[t].code?(H(e.data.products[n].owner.lastName),Y(e.data.products[n].owner.firstName),G(e.data.products[n].owner.middleName),ne(e.data.products[n].owner.suffixName),oe(e.data.products[n].owner.ssn)):"EIN_CCorp"===e.data.order.productCodes[t].code||"EIN_PSC"===e.data.order.productCodes[t].code||"EIN_SCorp"===e.data.order.productCodes[t].code?(H(e.data.products[n].principalOfficer.lastName),Y(e.data.products[n].principalOfficer.firstName),G(e.data.products[n].principalOfficer.middleName),ne(e.data.products[n].principalOfficer.suffixName),oe(e.data.products[n].principalOfficer.ssn)):"EIN_Church"===e.data.order.productCodes[t].code||"EIN_NonProfit"===e.data.order.productCodes[t].code?(H(e.data.products[n].responsibleParty.lastName),Y(e.data.products[n].responsibleParty.firstName),G(e.data.products[n].responsibleParty.middleName),ne(e.data.products[n].responsibleParty.suffixName),oe(e.data.products[n].responsibleParty.ssn)):"EIN_Estate"===e.data.order.productCodes[t].code?(H(e.data.products[n].representative.lastName),Y(e.data.products[n].representative.firstName),G(e.data.products[n].representative.middleName),ne(e.data.products[n].representative.suffixName),oe(e.data.products[n].representative.ssn)):"EIN_Partnership"===e.data.order.productCodes[t].code?(H(e.data.products[n].primaryPartner.lastName),Y(e.data.products[n].primaryPartner.firstName),G(e.data.products[n].primaryPartner.middleName),ne(e.data.products[n].primaryPartner.suffixName),oe(e.data.products[n].primaryPartner.ssn)):"EIN_Trust"===e.data.order.productCodes[t].code&&(H(e.data.products[n].trustee.lastName),Y(e.data.products[n].trustee.firstName),G(e.data.products[n].trustee.middleName),ne(e.data.products[n].trustee.suffixName),oe(e.data.products[n].trustee.ssn))}k(e.data.products[n])}})).catch((function(e){console.log(e),M(e.response.statusText)}))})).catch((function(e){M(e.response.statusText)}))}}),[a,h,x,ve]),Ee=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{var t=tn({},pe);if(t.products&&t.products.length>=1){var r=t.products.length-1;t.products[r].legalName=F,""!==X||""!==T?(t.products[r].alternateLegalNames=[],""!==X&&t.products[r].alternateLegalNames.push(X),""!==T&&t.products[r].alternateLegalNames.push(T)):t.products[r].alternateLegalNames&&delete t.products[r].alternateLegalNames}ge().put("https://innova-labs.net:9080/orders/"+a.orderUid,t,{crossdomain:!0,headers:{"Content-Type":"application/json;charset=UTF-8","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){if(200===e.status)if(ce){var n=new FormData;n.append("file",ce),ge().post("https://innova-labs.net:9080/orders/"+a.orderUid+"/file?fileType=articles_of_incorporation",n,{crossdomain:!0,headers:{"Content-Type":"multipart/form-data","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){200===e.status&&le(!0)})).catch((function(e){M(e.message)}))}else le(!0)})).catch((function(e){console.log(e),M(e.message)}))}E(!0)}),[a,pe,F,X,T,y,ce]),Se=(0,r.useCallback)((function(e){if(M(null),e.preventDefault(),!1===e.currentTarget.checkValidity()){e.preventDefault(),e.stopPropagation();var n=document.querySelector(".form-control:invalid");null!=n&&n.scrollIntoView({behavior:"smooth",block:"start"})}else{var t=tn({},pe);if(t.products&&t.products.length>=1){var r=t.products.length-1;
1if(t.order.productCode)"EIN_LLC"===t.order.productCode.code||"EIN_SoleProp"===t.order.productCode.code?(t.products[r].owner.lastName=K,t.products[r].owner.firstName=$,t.products[r].owner.middleName=W,t.products[r].owner.suffixName=ee,t.products[r].owner.ssn=re):"EIN_CCorp"===t.order.productCode.code||"EIN_PSC"===t.order.productCode.code||"EIN_SCorp"===t.order.productCode.code?(t.products[r].principalOfficer.lastName=K,t.products[r].principalOfficer.firstName=$,t.products[r].principalOfficer.middleName=W,t.products[r].principalOfficer.suffixName=ee,t.products[r].principalOfficer.ssn=re):"EIN_Church"===t.order.productCode.code||"EIN_NonProfit"===t.order.productCode.code?(t.products[r].responsibleParty.lastName=K,t.products[r].responsibleParty.firstName=$,t.products[r].responsibleParty.middleName=W,t.products[r].responsibleParty.suffixName=ee,t.products[r].responsibleParty.ssn=re):"EIN_Estate"===t.order.productCode.code?(t.products[r].representative.lastName=K,t.products[r].representative.firstName=$,t.products[r].representative.middleName=W,t.products[r].representative.suffixName=ee,t.products[r].representative.ssn=re):"EIN_Partnership"===t.order.productCode.code?(t.products[r].primaryPartner.lastName=K,t.products[r].primaryPartner.firstName=$,t.products[r].primaryPartner.middleName=W,t.products[r].primaryPartner.suffixName=ee,t.products[r].primaryPartner.ssn=re):"EIN_Trust"===t.order.productCode.code&&(t.products[r].trustee.lastName=K,t.products[r].trustee.firstName=$,t.products[r].trustee.middleName=W,t.products[r].trustee.suffixName=ee,t.products[r].trustee.ssn=re);else{var o=t.order.productCodes.length-1;"EIN_LLC"===t.order.productCodes[o].code||"EIN_SoleProp"===t.order.productCodes[o].code?(t.products[r].owner.lastName=K,t.products[r].owner.firstName=$,t.products[r].owner.middleName=W,t.products[r].owner.suffixName=ee,t.products[r].owner.ssn=re):"EIN_CCorp"===t.order.productCodes[o].code||"EIN_PSC"===t.order.productCodes[o].code||"EIN_SCorp"===t.order.productCodes[o].code?(t.products[r].principalOfficer.lastName=K,t.products[r].principalOfficer.firstName=$,t.products[r].principalOfficer.middleName=W,t.products[r].principalOfficer.suffixName=ee,t.products[r].principalOfficer.ssn=re):"EIN_Church"===t.order.productCodes[o].code||"EIN_NonProfit"===t.order.productCodes[o].code?(t.products[r].responsibleParty.lastName=K,t.products[r].responsibleParty.firstName=$,t.products[r].responsibleParty.middleName=W,t.products[r].responsibleParty.suffixName=ee,t.products[r].responsibleParty.ssn=re):"EIN_Estate"===t.order.productCodes[o].code?(t.products[r].representative.lastName=K,t.products[r].representative.firstName=$,t.products[r].representative.middleName=W,t.products[r].representative.suffixName=ee,t.products[r].representative.ssn=re):"EIN_Partnership"===t.order.productCodes[o].code?(t.products[r].primaryPartner.lastName=K,t.products[r].primaryPartner.firstName=$,t.products[r].primaryPartner.middleName=W,t.products[r].primaryPartner.suffixName=ee,t.products[r].primaryPartner.ssn=re):"EIN_Trust"===t.order.productCodes[o].code&&(t.products[r].trustee.lastName=K,t.products[r].trustee.firstName=$,t.products[r].trustee.middleName=W,t.products[r].trustee.suffixName=ee,t.products[r].trustee.ssn=re)}}ge().put("https://innova-labs.net:9080/orders/"+a.orderUid,t,{crossdomain:!0,headers:{"Content-Type":"application/json;charset=UTF-8","Cache-Control":"no-cache",Authorization:"Bearer "+y,"Access-Control-Allow-Origin":"*"}}).then((function(e){200===e.status&&le(!0)})).catch((function(e){M(e.message)}))}E(!0)}),[a,pe,y,$,W,K,ee,re]),Oe=(0,r.useCallback)((function(e){return"Completed"===a.processingStatus?Ne(e):("Error"!==a.processingStatus||I||"Error101NameConflict"!==a.processingError)&&("Error"!==a.processingStatus||I||"MismatchError"!==a.processingError||1!==a.productCodes.length)?"Error"===a.processingStatus&&I&&"MismatchError"===a.processingError&&1===a.productCodes.length?Se(e):"Error"===a.processingStatus&&I&&"EIN_LLC"===I.code.code&&"Error101NameConflict"===a.processingError?Ee(e):void 0:we(e)}),[a,I,Ne,we,Se,Ee]);if((0,r.useEffect)((function(){null!==I&&void 0!==I&&I.legalName&&B((null===I||void 0===I?void 0:I.legalName)||""),null!==I&&void 0!==I&&I.alternateLegalNames&&null!==I&&void 0!==I&&I.alternateLegalNames[0]&&A((null===I||void 0===I?void 0:I.alternateLegalNames[0])||""),null!==I&&void 0!==I&&I.alternateLegalNames&&null!==I&&void 0!==I&&I.alternateLegalNames[1]&&R((null===I||void 0===I?void 0:I.alternateLegalNames[1])||"")}),[I]),(0,r.useEffect)((function(){var e,n,t;Ze&&!ve&&be&&(null===(e=document.getElementById("OrderStatusSubmitButton1"))||void 0===e||e.click(),null===(n=document.getElementById("OrderStatusSubmitButton2"))||void 0===n||n.click(),null===(t=document.getElementById("OrderStatusSubmitButton3"))||void 0===t||t.click())}),[ve,Ze,be]),se)return(0,C.jsx)(rn,{children:(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Thank You"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your Order is updated"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})});
1var Me=new Date,Pe=new Date;return Me.setDate(Pe.getDate()+1),(0,C.jsxs)(rn,{id:"kform",noValidate:!0,validated:w,onSubmit:Oe,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:1===a.productCodes.length?a.productCodes[0].customerName:a.productCodes[1].customerName})})})]}),"Completed"===a.processingStatus&&(0,C.jsxs)(C.Fragment,{children:[2===a.productCodes.length&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your LLC Inc. was generated and sent to the e-mail address on file."})})})}),2!==a.productCodes.length&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your EIN/Tax ID was generated and sent to the e-mail address on file. To download a copy here, please enter your e-mail address and last 4 digits of the Responsible Party's Social Security Number below."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(c.Z,{xs:12,md:8,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(q,{id:"last4SSN",required:!0,label:"Last 4 of SSN",placeholder:"XXXX",pattern:".{4,}",mask:"9999",defaultInvalidMessage:"Please specify last 4 digits of the Responsible Party's Social Security Number",value:g,onChange:function(e){return f(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton1",children:"Download"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]}),"Completed_SS4"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order has been completed. We have received your signed SS-4 form and have submitted it directly to the IRS. You can expect to receive your EIN from the IRS by mail shortly."})})})}),"RAaddressAdded"===a.processingStatus&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your Resident Agent has been assigned. Your Address to use for official communications with the State is:"})})}),a.productResult&&(0,C.jsxs)(c.Z,{xs:12,children:[(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"Address:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(n=a.productResult)||void 0===n?void 0:n.address1})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"City:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(t=a.productResult)||void 0===t?void 0:t.city})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"State / Province:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:en.ib[null===(o=a.productResult)||void 0===o?void 0:o.state]})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:2}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("strong",{children:"ZIP / Postal Code:"})})}),(0,C.jsx)(c.Z,{xs:6,md:4,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:null===(i=a.productResult)||void 0===i?void 0:i.zip})})}),(0,C.jsx)(c.Z,{xs:0,md:2})]})]})]}),"Rejected"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order was rejected due to the Secretary of State needing an alternative name, you may still refile with the updated name."})})})}),"Abandoned"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your filing has been abandoned. For questions please contact customer service."})})})}),"Cancelled"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Your order was cancelled at your request. A full refund was processed to the card on file. Please allow 3-5 business days for that refund to appear on your account."})})})}),"Processing"===a.processingStatus&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Your submission is being reviewed by our Specialists and should be completed shortly. You will receive an e-mail with your official EIN/Tax ID documentation when complete.",(0,C.jsx)("br",{}),"Estimated Completion Time:\xa0","STANDARD"===a.processingOption&&(0,C.jsxs)(C.Fragment,{children:["(",Me.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),"\xa0 12:00 PM EST)"]}),"RUSH"===a.processingOption&&(0,C.jsxs)(C.Fragment,{children:["(",Pe.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),"\xa0 8:00 PM EST)"]})]})})})}),"Error"===a.processingStatus&&!I&&"Error101NameConflict"!==a.processingError&&("MismatchError"!==a.processingError||"MismatchError"===a.processingError&&2===a.productC
1odes.length)&&"SS4"!==a.processingError&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"Additional details are required for your submission. You will be contacted by e-mail to provide these details. Please keep a close watch for this e-mail."]})})})}),("Error"===a.processingStatus&&!I&&"SS4"===a.processingError||"AttemptedNeedsInfo"===a.processingStatus)&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you.",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"Your submission requires additional documentation which we will submit to the IRS for you. You will receive a Docusign in your e-mail to authorize this submission. Please keep a close watch for this e-mail."]})})})}),"Error"===a.processingStatus&&!I&&"Error101NameConflict"===a.processingError&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton2",children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&!I&&"MismatchError"===a.processingError&&1===a.productCodes.length&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{readOnly:!0,label:"Order Number",value:h.orderNumber})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"customerEmail",type:"email",required:!0,label:"Email Address",placeholder:"Enter E-mail",defaultInvalidMessage:"You must provide a valid email address",pattern:"^([a-zA-Z0-9_\\-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$",value:x,loading:ve,onChange:Ce,onMouseDown:function(){return ye(!0)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"OrderStatusSubmitButton3",children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"MismatchError"===a.processingError&&1===a.productC
1odes.length&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"We have encountered an issue verifying the Responsible Party\u2019s identifying information. In your submission you provided:"})})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"firstName",required:!0,label:"First Name",placeholder:"First Name",pattern:"^[ a-zA-Z&\\\\-]+$",defaultInvalidMessage:"Please provide a valid name",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:$,onChange:function(e){return Y(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"middleName",label:"Middle Name",placeholder:"Middle Name (optional)",pattern:"^[ a-zA-Z&\\\\-]+$",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:W,onChange:function(e){return G(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,{id:"lastName",required:!0,label:"Last Name",placeholder:"Last Name",pattern:"^[ a-zA-Z&\\\\-]+$",defaultInvalidMessage:"Please provide last name",onKeyPress:function(e){/[ a-zA-Z&\\-]/.test(e.key)||e.preventDefault()},value:K,onChange:function(e){return H(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(Re,{id:"responsiblePartySuffixName",label:"Suffix",placeholder:"Please select",validated:w,options:u.jJ,value:ee,onChange:function(e){return ne(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,{id:"SSN",hint:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("strong",{children:"Why do we need this?"}),(0,C.jsx)("br",{}),"Your valid Social Security Number is needed by the IRS to obtain an EIN. Rest assured, all Social Security Numbers are stored in a fully protected fashion."]}),required:!0,label:"Social Security Number",placeholder:"123-45-6789",pattern:".{11,}",mask:"999-99-9999",defaultInvalidMessage:"Please provide a valid Social Security Number Ex: 123-45-6789",value:re,onChange:function(e){return oe(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"bottom-disclaimer",children:(0,C.jsx)("span",{children:"Our validation has shown that the provided Name does not match the Social Security Number provided. Please correct the errors in these fields and hit Submit Updated Info. Please note, this must correspond to the Name and Social Security Number on file with the Social Security Administration and IRS. If you recently changed your name due to marriage, separation, or other life event, please only submit the official name on file."})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Update Info"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"Error101NameConflict"===a.processingError&&"EIN_LLC"===I.code.code&&(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsxs)("span",{children:["We have encountered an issue with the LLC name provided in your submission. This could mean that another LLC in another state has a similar name. Please verify that the name provided below is accurate, and was the name submitted to the state in which you registered the LLC.",(0,C.jsx)("br",{}),"If you need to make a correction, edit the name below. If the name is correct, we ask that you please provide two alternate names, which could be very slight variations of the provided LLC name."]})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName",required:!0,label:"LLC Name",placeholder:"LLC Name",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:F,onChange:function(e){return B(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName2",label:"Alternate LLC Name",placeholder:"Alternate LLC Name",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:X,onChange:function(e){return A(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,{id:"llcName3",label:"Alternate LLC Name 2",placeholder:"Alternate LLC Name 2",pattern:"(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))^[ a-zA-Z0-9\\\\&-]+$",maxLength:"70",defaultInvalidMessage:"Please provide a valid organization name",value:T,onChange:function(e){return R(e.target.value)}})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"To aid with this, you may also attach your Articles of Incorporation below:"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(l.Z.File,{id:"formcheck-api-regular",children:(0,C.jsx)(l.Z.File.Input,{className:"articles-input",onChange:function(e){return ue(e.target.files[0])}})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"invalid-feedback d-block mt-0 mb-2",children:O})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})}),(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",children:"Update Info"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]}),"Error"===a.processingStatus&&I&&"Error101NameConflict"===a.processingError&&"EIN_LLC"!==I.code.code&&(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"top-disclaimer",children:(0,C.jsx)("span",{children:"Our specialists have identified an issue with your submission that prevents us from completing the order without additional verification. Please reference the verification section below, or check your e-mail for a follow-up request from us. Please note this is Urgent and we will not be able to proceed until we hear from you."})})})})]})};var an=function(e){var n=e.order,t=void 0===n?null:n,r=e.values,o=void 0===r?{}
1:r,i=e.onChange,a=e.onSubmit;return t&&t[0]?t.map((function(e){return(0,C.jsx)(on,{order:e,values:o},e.orderUid)})):(0,C.jsx)(Je,{values:o,onChange:i,onSubmit:a})},sn=t(1664),ln=t.n(sn),dn=t(7),cn=t(4486),un=t(9100),hn=t(516),pn=new Map([["/products/EINSoleProp","Sole Proprietor / Individual"],["/products/EINPartnership","Partnership"],["/products/EINCCorp","Corporation"],["/products/EINSCorp","S-Corporation"],["/products/EINEstate","Estate of Deceased Individual"],["/products/EINNonProfit","Non-Profit Organization"],["/products/EINLLC","Limited Liability Company"],["/products/EINTrust","Trust"],["/products/EINPSC","Personal Service Corporation"],["/products/EINChurch","Church Organization"]]),xn=o.ZP.div.withConfig({displayName:"ProductDropdown__StyledProductDropdown",componentId:"sc-rqi5ym-0"})(["display:flex;gap:16px;flex-direction:row;font-family:'Arial';button{padding:0;border:none !important;box-shadow:none !important;background:#FFFFFF !important;font-family:'Arial';font-weight:bold;color:#001e5a !important;text-transform:uppercase;text-decoration:underline !important;text-align:left;margin-bottom:0;&:before{display:inline-block;padding-right:7px;content:\"\\00BB\";line-height:0px;font-size:26px;border:none;}&:after{display:none;}}.dropdown-menu{padding-top:8px;padding-bottom:8px;background-color:#f3f3f3;.dropdown-item{padding:0;a{padding:.25rem 1.5rem;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#212529;text-transform:uppercase;text-shadow:none;text-decoration:none;display:block;}&:hover{background-color:#001e5a;a{color:#ffffff;}}}}@media ","{flex-direction:column;gap:0px;}"],(function(e){return e.theme.devices.tablet}));var mn=function(){var e=(0,me.useRouter)(),n=(0,r.useMemo)((function(){return pn.get(null===e||void 0===e?void 0:e.pathname)}),[e]);return(0,C.jsxs)(xn,{children:["Need to change entity type?",(0,C.jsxs)(dn.Z,{children:[(0,C.jsx)(cn.Z,{id:"product-dropdown",children:n}),(0,C.jsx)(un.Z,{children:Array.from(pn.keys()).map((function(e){return(0,C.jsx)(hn.Z,{children:(0,C.jsx)(ln(),{href:"".concat(e),children:(0,C.jsx)("a",{children:pn.get(e)})})},e)}))})]})]})};function vn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function gn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?vn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var fn=o.ZP.div.withConfig({displayName:"SoleProprietorInfoBlock__StyledContainer",componentId:"sc-1238ont-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),jn=(0,o.ZP)(d.Z).withConfig({displayName:"SoleProprietorInfoBlock__StyledRow",componentId:"sc-1238ont-1"})(["padding:16px;"]);var bn=function(e){var n,t,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(fn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Sole Proprietor Information"})}),(0,C.jsx)(jn,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,gn(gn({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:o[u.xh.dbaname],onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})})]})};function yn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Zn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?yn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yn(Object(t)).forEac
1h((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Cn=m()().publicRuntimeConfig,Nn=o.ZP.div.withConfig({displayName:"OwnerInfoBlock__StyledContainer",componentId:"sc-lviuag-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),wn=(0,o.ZP)(d.Z).withConfig({displayName:"OwnerInfoBlock__StyledRow",componentId:"sc-lviuag-1"})(["padding:16px;"]),En=o.ZP.img.withConfig({displayName:"OwnerInfoBlock__StyledImg",componentId:"sc-lviuag-2"})(["height:28px;width:28px;"]);var Sn=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b=e.values,y=void 0===b?{}:b,Z=e.onChange,N=e.onMouseEnter,w=e.onMouseLeave;return(0,C.jsxs)(Nn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Owner Information"})}),(0,C.jsxs)(wn,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Zn(Zn({},(0,h.X)(u.xh.ownerTitle)),{},{label:null===(n=(0,h.X)(u.xh.ownerTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.ownerTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:y[u.xh.ownerTitle],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Zn(Zn({},(0,h.X)(u.xh.ownerFirstName)),{},{label:null===(i=(0,h.X)(u.xh.ownerFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:y[u.xh.ownerFirstName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Zn(Zn({},(0,h.X)(u.xh.ownerMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.ownerMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:y[u.xh.ownerMiddleName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Zn(Zn({},(0,h.X)(u.xh.ownerLastName)),{},{label:null===(d=(0,h.X)(u.xh.ownerLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:y[u.xh.ownerLastName],onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Zn(Zn({},(0,h.X)(u.xh.ownerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.ownerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.ownerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:y[u.xh.ownerSuffixName],validated:y.validated,onChange:Z,onMouseEnter:N,onMouseLeave:w}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Zn(Zn({},(0,h.X)(u.xh.ownerSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:"123-45-6789",suffix:(0,C.jsx)(En,{src:"".concat(Cn.basePath,"/images/V2/V2-federal/lock-icon.png"),alt:""}),value:y[u.xh.ownerSSN],onChange:Z,onMouseEnter:N,onMouseLeave:w,hideDivider:!0}))})]})]})},On=t(29),Mn=t(7794),Pn=t.n(Mn);function In(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function kn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?In(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):In(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ln=o.ZP.div.withConfig({displayName:"ActivityBlock__StyledContainer",componentId:"sc-19v0x29-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Dn=(0,o.ZP)(d.Z).withConfig({displayName:"ActivityBlock__StyledRow",componentId:"sc-19v0x29-1"})(["padding:16px;"]);function Fn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){return{value:e.code,title:e.label}}))}function Bn(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:4;if(t.labelForDescriptionField)return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:t.labelForDescriptionField})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({}
1,(0,h.X)(u.xh.productDescription)),{},{label:null===(e=(0,h.X)(u.xh.productDescription))||void 0===e||null===(n=e.placeholder)||void 0===n?void 0:n.replace("*",""),defaultInvalidMessage:t.labelForDescriptionField,value:r[u.xh.productDescription],onChange:a,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))})]});if(t.extraQuestion){var d,p,x,m=Array.from({length:l-s},(function(e,n){return n+s+1})).reduce((function(e,n){return e["".concat(u.xh.productExtraQuestion).concat(n)]="",e}),{productDescription:""}),v=function(e){return a&&a(e,m)},g=null===(d=t.extraQuestionOptions)||void 0===d?void 0:d.find((function(e){return e.code===r["".concat(u.xh.productExtraQuestion).concat(s)]}));return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:t.extraQuestion})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,kn(kn({},(0,h.X)(u.xh.productExtraQuestion)),{},{label:null===(p=(0,h.X)(u.xh.productExtraQuestion))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),id:"".concat(u.xh.productExtraQuestion).concat(s),options:Fn(t.extraQuestionOptions),value:r["".concat(u.xh.productExtraQuestion).concat(s)],validated:r.validated,onChange:v,onMouseEnter:o,onMouseLeave:i,hideDivider:!(null!==g&&void 0!==g&&g.labelForDescriptionField)}))}),Bn(g,r,o,i,a,s+1)]})}return null}var _n=function(e){var n,t,o,i,s,l,d,p,x,m,v,g=e.values,f=void 0===g?{}:g,j=e.onChange,b=e.onMouseEnter,y=e.onMouseLeave,Z=(0,r.useState)([]),N=Z[0],w=Z[1],E="EIN_Trust"===f.code,S="Escrow"===f[u.xh.trustType],O=(0,r.useMemo)((function(){var e="Enter the specific products/services of the business.";return"EIN_Church"===f.code&&(e="Enter the specific products/services of the Church."),"EIN_NonProfit"===f.code&&(e="Enter the specific products/services of the Non Profit."),"".concat(e," ").concat("If you own a computer repair business you could enter \u201ccomputer repair services\u201d.")}),[f]),M=(0,r.useMemo)((function(){return Fn(N)}),[N]),P=(0,r.useMemo)((function(){return N.find((function(e){return e.code===f[u.xh.activityPrimaryActivity]}))}),[f,N]),I=(0,r.useMemo)((function(){return Fn(null===P||void 0===P?void 0:P.specificProducts)}),[P]),k=(0,r.useMemo)((function(){return null===P||void 0===P?void 0:P.specificProducts.find((function(e){return e.code===f[u.xh.activitySpecificProducts]}))}),[P,f]),D=Boolean(null===P||void 0===P?void 0:P.labelForDescriptionField),F=Boolean((null===P||void 0===P||null===(n=P.specificProducts)||void 0===n?void 0:n.length)>0),B=Boolean(null===P||void 0===P?void 0:P.specificProductsLabel),_=(0,r.useCallback)((function(e){var n,t=(n={activitySpecificProducts:""},(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"1"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"2"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"3"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"4"),""),(0,a.Z)(n,"productDescription",""),n);j&&j(e,t)}),[j]),X=(0,r.useCallback)((function(e){var n,t=(n={},(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"1"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"2"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"3"),""),(0,a.Z)(n,"".concat(u.xh.productExtraQuestion,"4"),""),(0,a.Z)(n,"productDescription",""),n);j(e,t)}),[j]);return(0,r.useEffect)((function(){function e(){return(e=(0,On.Z)(Pn().mark((function e(){var n,t,r,o,i;return Pn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ge().get("https://innova-labs.net:9080/category/EIN/products/primary-activity");case 3:n=e.sent,w(n.data),e.next=22;break;case 7:return e.prev=7,e.t0=e.catch(0),e.prev=9,t=window.location.href,r=t.split("/"),o=(r[0]+"//"+r[2]).replace(/\/+$/,""),e.next=15,ge().get(o+"/crm/category/EIN/products/primary-activity");case 15:i=e.sent,w(i.data),e.next=22;break;case 19:e.prev=19,e.t1=e.catch(9),fe.Tb(new Error("Primary Activity unavailable"),{tags:{section:"products"}});case 22:case"end":return e.stop()}}),e,null,[[0,7],[9,19]])})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]),E?(0,C.jsxs)(Ln,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Activity"})}),(0,C.jsx)(Dn,{children:S&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,kn(kn({}
1,(0,h.X)(u.xh.activityReasonForApplying)),{},{label:null===(m=(0,h.X)(u.xh.activityReasonForApplying))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),value:f[u.xh.activityReasonForApplying],validated:f.validated,onChange:j,onMouseEnter:b,onMouseLeave:y,hideDivider:!0}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"inputs-block-divider"})})]})})]}):(0,C.jsxs)(Ln,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Activity"})}),(0,C.jsxs)(Dn,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,kn(kn({},(0,h.X)(u.xh.activityReasonForApplying)),{},{label:null===(t=(0,h.X)(u.xh.activityReasonForApplying))||void 0===t||null===(o=t.placeholder)||void 0===o?void 0:o.replace("*",""),value:f[u.xh.activityReasonForApplying],validated:f.validated,onChange:j,onMouseEnter:b,onMouseLeave:y}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,kn(kn({},(0,h.X)(u.xh.activityPrimaryActivity)),{},{label:null===(i=(0,h.X)(u.xh.activityPrimaryActivity))||void 0===i||null===(s=i.placeholder)||void 0===s?void 0:s.replace("*",""),options:M,value:f[u.xh.activityPrimaryActivity],validated:f.validated,onChange:_,onMouseEnter:b,onMouseLeave:y,hideDivider:!D&&!F}))}),D&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:P.labelForDescriptionField})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,kn(kn({},(0,h.X)(u.xh.productDescription)),{},{label:null===(l=(0,h.X)(u.xh.productDescription))||void 0===l||null===(d=l.placeholder)||void 0===d?void 0:d.replace("*",""),defaultInvalidMessage:P.labelForDescriptionField,value:f[u.xh.productDescription],onChange:j,onMouseEnter:b,onMouseLeave:y,hideDivider:!f[u.xh.productDescription]}))})]}),F&&(0,C.jsxs)(C.Fragment,{children:[B&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:P.specificProductsLabel})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,kn(kn({},(0,h.X)(u.xh.activitySpecificProducts)),{},{label:null===(p=(0,h.X)(u.xh.activitySpecificProducts))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),hint:O,options:I,value:f[u.xh.activitySpecificProducts],validated:f.validated,onChange:X,onMouseEnter:b,onMouseLeave:y,hideDivider:!f[u.xh.activitySpecificProducts]}))})]}),Bn(k,f,b,y,j)]})]})};function Xn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function An(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Xn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Xn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var zn=function(){var e=(new Date).getFullYear()-1900;return Array.from(new Array(e+2),(function(e,n){return{value:1900+n,title:"".concat(1900+n)}}))},Tn=o.ZP.div.withConfig({displayName:"GeneralQuestionsBlock__StyledContainer",componentId:"sc-1j8ntgb-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Rn=(0,o.ZP)(d.Z).withConfig({displayName:"GeneralQuestionsBlock__StyledRow",componentId:"sc-1j8ntgb-1"})(["padding:16px;"]);var Vn=function(e){var n=e.values,t=void 0===n?{}:n,o=e.onChange,i=e.onMouseEnter,a=e.onMouseLeave,s=["EIN_SoleProp","EIN_LLC","EIN_CCorp","EIN_SCorp"].includes(null===t||void 0===t?void 0:t.code),l="EIN_Trust"!==(null===t||void 0===t?void 0:t.code),d="true"===t[u.xh.questionsAppliedBefore],p="true"===t[u.xh.questionsHire],x="true"===t[u.xh.payLessThan4k],m="EIN_Partnership"!==(null===t||void 0===t?void 0:t.code)||"EIN_PSC"!==(null===t||void 0===t?void 0:t.code),v=(0,r.useMemo)((function(){return t[u.xh.numberOfAgricultureEmployees]+t[u.xh.numberOfHouseholdeEmployees]+t[u.xh.numberOfOtherEmployees]<1}),[t]);return(0,C.jsxs)(Tn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"General questions"})}),(0,C.jsxs)(Rn,{children:[s&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({}
1,(0,h.X)(u.xh.acceptCreditCardPayments)),{},{value:t[u.xh.acceptCreditCardPayments],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.payEmployeesViaPayroll)),{},{value:t[u.xh.payEmployeesViaPayroll],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),l&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.questionsHighway)),{},{value:t[u.xh.questionsHighway],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.questionsGambling)),{},{value:t[u.xh.questionsGambling],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.questionsATF)),{},{value:t[u.xh.questionsATF],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.questionsExcise)),{},{value:t[u.xh.questionsExcise],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.questionsAppliedBefore)),{},{value:t[u.xh.questionsAppliedBefore],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),d&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,An(An({},(0,h.X)(u.xh.previousEINNumberFirst2)),{},{value:t[u.xh.previousEINNumberFirst2],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,An(An({},(0,h.X)(u.xh.previousEINNumberLast7)),{},{value:t[u.xh.previousEINNumberLast7],onChange:o,onMouseEnter:i,onMouseLeave:a}))})]}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.questionsHire)),{},{value:t[u.xh.questionsHire],onChange:o,onMouseEnter:i,onMouseLeave:a,hideDivider:!p}))}),p&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.payLessThan4k)),{},{value:t[u.xh.payLessThan4k],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),x&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,An(An({},(0,h.X)(u.xh.annualTaxes)),{},{value:t[u.xh.annualTaxes],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,An(An({},(0,h.X)(u.xh.numberOfAgricultureEmployees)),{},{isInvalid:v,value:t[u.xh.numberOfAgricultureEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),m&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,An(An({},(0,h.X)(u.xh.numberOfHouseholdeEmployees)),{},{isInvalid:v,value:t[u.xh.numberOfHouseholdeEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,An(An({},(0,h.X)(u.xh.numberOfOtherEmployees)),{},{isInvalid:v,value:t[u.xh.numberOfOtherEmployees],onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,An(An({},(0,h.X)(u.xh.firstDateWagesMonth)),{},{value:t[u.xh.firstDateWagesMonth],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,An(An({},(0,h.X)(u.xh.firstDateWagesDay)),{},{value:t[u.xh.firstDateWagesDay],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,An(An({},(0,h.X)(u.xh.firstDateWagesYear)),{},{options:zn(),value:t[u.xh.firstDateWagesYear],validated:t.validated,onChange:o,onMouseEnter:i,onMouseLeave:a,hideDivider:!0}))})]})]})]})};function qn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function $n(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?qn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):qn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Yn=o.ZP.div.withConfig({displayName:"BusinessAddressBlock__StyledContainer",componentId:"sc-1219ddg-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Un=o.ZP.div.withConfig({displayName:"BusinessAddressBlock__StyledStateDesc",componentId:"sc-1219ddg-1"})(["font-family:'Arial';font-style:italic;font-size:12px;margin-bottom:20px;"]),Wn=(0,o.ZP)(d.Z).withConfig({displayName:"BusinessAddressBlock__StyledRow",componentId:"sc-1219ddg-2"})(["padding:16px;"]);var Gn=function(e){var n,t,o,i,a,s,l,d,p,x,m,v,g,f,j,b,y,Z,N,w,E,S,O=e.prefix,M=void 0===O?"corp":O,P=e.values,I=void 0===P?{}
1:P,k=e.onChange,D=e.onMouseEnter,F=e.onMouseLeave,B="true"===I[u.xh.altAddress],_=(0,r.useMemo)((function(){var e="Business Address (PO Boxes are not authorized)";return"EIN_Estate"===I.code&&(e="Executor/Legal Personal Representative Address (PO Boxes are not authorized)"),"EIN_Trust"===I.code&&(e="Trustee Address (PO Boxes are not authorized)"),e}),[I]),X=(0,r.useMemo)((function(){var e="Please enter the physical address of the business/entity.";return"EIN_Estate"===I.code&&(e="Enter the street address of the person that will manage the Estate."),"EIN_Trust"===I.code&&(e="Please enter the physical address of the Trustee."),"EIN_Church"===I.code&&(e="Please enter the physical address of the Church."),"EIN_NonProfit"===I.code&&(e="Please enter the physical address of the Non Profit."),"".concat(e," ").concat("Business AddressNo P.O. Boxes Allowed")}),[I]),A=(0,r.useMemo)((function(){var e="Enter the county of the business/entity.";return"EIN_Estate"===I.code&&(e="Enter the county of the person that will manage the Estate."),"EIN_Trust"===I.code&&(e="Enter the county of the Trustee."),"EIN_Church"===I.code&&(e="Enter the county of the Church."),"EIN_NonProfit"===I.code&&(e="Enter the county of the Non Profit."),"".concat(e," ").concat("Do not confuse \u201ccounty\u201d with \u201ccountry\u201d.")}),[I]);return(0,C.jsxs)(Yn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:_})}),(0,C.jsxs)(Wn,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.baseAddressAddress1.replace("base",M))),{},{label:null===(n=(0,h.X)(u.xh.baseAddressAddress1.replace("base",M)))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,isCorpAddress:!0,hint:X,pattern:"(?!.*(?:[pP][oO] [bB][oO][xX]))^[ a-zA-Z0-9\\\\\\/\\-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /. PO Boxes are not acceptable.",value:I[u.xh.baseAddressAddress1.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.baseAddressAddress2.replace("base",M))),{},{label:null===(o=(0,h.X)(u.xh.baseAddressAddress2.replace("base",M)))||void 0===o||null===(i=o.placeholder)||void 0===i?void 0:i.replace("*",""),placeholder:void 0,isCorpAddress:!0,pattern:"(?!.*(?:[pP][oO] [bB][oO][xX]))^[ a-zA-Z0-9/s-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /. PO Boxes are not acceptable.",value:I[u.xh.baseAddressAddress2.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.baseAddressCity.replace("base",M))),{},{label:null===(a=(0,h.X)(u.xh.baseAddressCity.replace("base",M)))||void 0===a||null===(s=a.placeholder)||void 0===s?void 0:s.replace("*",""),placeholder:void 0,value:I[u.xh.baseAddressCity.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.baseAddressZip.replace("base",M))),{},{label:null===(l=(0,h.X)(u.xh.baseAddressZip.replace("base",M)))||void 0===l||null===(d=l.placeholder)||void 0===d?void 0:d.replace("*",""),placeholder:void 0,value:I[u.xh.baseAddressZip.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:"EIN_LLC"===I.code&&(0,en.hj)(null===I||void 0===I?void 0:I.organizedState)?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Re,$n($n({},(0,h.X)(u.xh.baseAddressState.replace("base",M))),{},{label:"State / Province",value:I[u.xh.baseAddressState.replace("base",M)],validated:I.validated,onChange:k,onMouseEnter:D,onMouseLeave:F,disabled:!0,noBottomSpace:!0})),(0,C.jsxs)(Un,{children:["For ",en.ib[null===I||void 0===I?void 0:I.organizedState]||"this state"," filings, the physical address must be located within the state."]})]}):(0,C.jsx)(Re,$n($n({},(0,h.X)(u.xh.baseAddressState.replace("base",M))),{},{label:"State / Province",value:I[u.xh.baseAddressState.replace("base",M)],validated:I.validated,onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({}
1,(0,h.X)(u.xh.baseAddressCounty.replace("base",M))),{},{label:null===(p=(0,h.X)(u.xh.baseAddressCounty.replace("base",M)))||void 0===p||null===(x=p.placeholder)||void 0===x?void 0:x.replace("*",""),placeholder:void 0,hint:A,value:I[u.xh.baseAddressCounty.replace("base",M)],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,$n($n({},(0,h.X)(u.xh.altAddress)),{},{value:I[u.xh.altAddress],onChange:k,onMouseEnter:D,onMouseLeave:F,hideDivider:!B}))}),B&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.altAddressAddress1)),{},{label:null===(m=(0,h.X)(u.xh.altAddressAddress1))||void 0===m||null===(v=m.placeholder)||void 0===v?void 0:v.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:I[u.xh.altAddressAddress1],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.altAddressAddress2)),{},{label:null===(g=(0,h.X)(u.xh.altAddressAddress2))||void 0===g||null===(f=g.placeholder)||void 0===f?void 0:f.replace("*",""),placeholder:void 0,pattern:"^[ a-zA-Z0-9\\\\/-]+$",defaultInvalidMessage:"The only special characters allowed in the Street field are - and /",value:I[u.xh.altAddressAddress2],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.altAddressCity)),{},{label:null===(j=(0,h.X)(u.xh.altAddressCity))||void 0===j||null===(b=j.placeholder)||void 0===b?void 0:b.replace("*",""),placeholder:void 0,value:I[u.xh.altAddressCity],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.altAddressZip)),{},{label:null===(y=(0,h.X)(u.xh.altAddressZip))||void 0===y||null===(Z=y.placeholder)||void 0===Z?void 0:Z.replace("*",""),placeholder:void 0,value:I[u.xh.altAddressZip],onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,$n($n({},(0,h.X)(u.xh.altAddressState)),{},{label:null===(N=(0,h.X)(u.xh.altAddressState))||void 0===N||null===(w=N.placeholder)||void 0===w?void 0:w.replace("*",""),value:I[u.xh.altAddressState],validated:I.validated,onChange:k,onMouseEnter:D,onMouseLeave:F}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,$n($n({},(0,h.X)(u.xh.altAddressCounty)),{},{label:null===(E=(0,h.X)(u.xh.altAddressCounty))||void 0===E||null===(S=E.placeholder)||void 0===S?void 0:S.replace("*",""),placeholder:void 0,hint:A,value:I[u.xh.altAddressCounty],onChange:k,onMouseEnter:D,onMouseLeave:F,hideDivider:!0}))})]})]})]})};function Qn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Kn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Qn(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Qn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Hn=function(){var e=(new Date).getFullYear()-1900;return Array.from(new Array(e+2),(function(e,n){return{value:1900+n,title:"".concat(1900+n)}}))},Jn=o.ZP.div.withConfig({displayName:"DatesBlock__StyledContainer",componentId:"sc-1ap7sib-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),et=(0,o.ZP)(d.Z).withConfig({displayName:"DatesBlock__StyledRow",componentId:"sc-1ap7sib-1"})(["padding:16px;"]);var nt=function(e){var n=e.prefix,t=void 0===n?"startDate":n,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(Jn,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Dates"})}),(0,C.jsxs)(et,{children:[(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(Re,Kn(Kn({},(0,h.X)(u.xh.baseDateMonth.replace("baseDate",t))),{},{value:o[u.xh.baseDateMonth.replace("baseDate",t)],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(Re,Kn(Kn({}
1,(0,h.X)(u.xh.baseDateDay.replace("baseDate",t))),{},{value:o[u.xh.baseDateDay.replace("baseDate",t)],validated:o.validated,options:(0,h.V)({year:o[u.xh.baseDateYear.replace("baseDate",t)],month:o[u.xh.baseDateMonth.replace("baseDate",t)]}),onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,md:4,children:(0,C.jsx)(Re,Kn(Kn({},(0,h.X)(u.xh.baseDateYear.replace("baseDate",t))),{},{options:Hn(),value:o[u.xh.baseDateYear.replace("baseDate",t)],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Kn(Kn({},(0,h.X)(u.xh.closingMonth)),{},{value:o[u.xh.closingMonth],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})]})]})};function tt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function rt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?tt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ot=o.ZP.div.withConfig({displayName:"CommunicationBlock__StyledContainer",componentId:"sc-1xwdyky-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),it=(0,o.ZP)(d.Z).withConfig({displayName:"CommunicationBlock__StyledRow",componentId:"sc-1xwdyky-1"})(["padding:16px;"]);var at=function(e){var n=e.values,t=void 0===n?{}:n,r=e.onChange,o=e.onMouseEnter,i=e.onMouseLeave;return(0,C.jsxs)(ot,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Applicants Contact Information"})}),(0,C.jsxs)(it,{children:[(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(q,rt(rt({},(0,h.X)(u.xh.customerPhone)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Phone Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"If any additional information is required to complete your application, we will contact you by phone and/or text message. Text message updates regarding your order and status will be provided."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),value:t[u.xh.customerPhone],onChange:r,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(L,rt(rt({},(0,h.X)(u.xh.customerEmail)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Email Address\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"We will Email you any important updates regarding your application."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),hint:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("strong",{children:"Recipient E-mail"}),(0,C.jsx)("br",{}),(0,C.jsx)("strong",{children:"IMPORTANT:"})," This is the e-mail where we will send the EIN Number, once processed. Make sure it is an e-mail that is checked frequently, and can receive incoming messages."]}),loading:t.verifying,value:t[u.xh.customerEmail],onChange:r,onMouseEnter:o,onMouseLeave:i,hideDivider:!0}))})]})]})},st=(m()().publicRuntimeConfig,(0,o.ZP)(l.Z.Group).withConfig({displayName:"AgreementCheckbox__StyledGroup",componentId:"sc-1lq4218-0"})(["padding-left:0;padding-right:0;margin-bottom:10px;padding-bottom:24px;border-bottom:1px solid #eaeaea;",";input:checked,input:not(:checked){position:absolute;top:2px;left:0;}input:checked + label,input:not(:checked) + label{display:inline-block;position:relative;padding-left:20px;font-family:'Arial';font-size:15px;line-height:calc(1.4rem * (14 / 16));color:#424242;cursor:pointer;}"],(function(e){return e.hideDivider&&(0,o.iv)(["border-bottom:none;"])}))),lt=(0,o.ZP)(l.Z.Check).withConfig({displayName:"AgreementCheckbox__StyledCheck",componentId:"sc-1lq4218-1"})(["margin-right:24px;"]);var dt=function(e){var n=e.id,t=e.label,r=void 0===t?"Label":t,o=e.hideDivider;return(0,C.jsx)(st,{controlId:n,className:"custom-control-invalid",hideDivider:o,children:(0,C.jsx)(lt,{inline:!0,required:!0,type:"checkbox",name:n,label:r})})},ct=(0,o.ZP)(d.Z).withConfig({displayName:"AgreementBlock__StyledRow",componentId:"sc-q6zvfg-0"})([".input-label{span{> span{color:#790000;}}}"]);var ut=function(){return(0,C.jsxs)(ct,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-label",children:(0,C.jsxs)("span",{children:["Client Agreement ",(0,C.jsx)("span",{children:"*"})]})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(dt,{id:"formAgreement",hideDivider:!0,label:(0,C.jsx)("span",{children:"By checking this box, I represent and warrant that all of the information provided above is accurate and complete. I authorize EIN Federal Tax ID to act as a \u201cThird Party Designee\u201d as described
1in the instructions to Form SS-4 to apply for and receive the Employer Identification Number from the IRS. I agree to the Privacy Policy and Terms and Conditions of service and to receive text message updates regarding my order."})})})]})},ht=(0,o.ZP)(l.Z).withConfig({displayName:"EINSolePropForm__StyledEINSolePropForm",componentId:"sc-fmcpgm-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'Arial';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'Arial';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var pt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(bn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Sn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(ht,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(bn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Sn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})}
1,xt=t(853);function mt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function vt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?mt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var gt=o.ZP.div.withConfig({displayName:"PartnershipInfoBlock__StyledContainer",componentId:"sc-1m0ubzh-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),ft=(0,o.ZP)(d.Z).withConfig({displayName:"PartnershipInfoBlock__StyledRow",componentId:"sc-1m0ubzh-1"})(["padding:16px;"]);var jt=function(e){var n,t,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(gt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(ft,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,vt(vt({},(0,h.X)(u.xh.legalName)),{},{label:"Name of the Partnership",defaultInvalidMessage:"Please enter the name of the partnership",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: Corp, LLC, PLLC, LC, Inc."}),pattern:"(?!.*(?:[ ][lL][cC]$))(?!.*(?:[ ][lL][lL][cC]$))(?!.*(?:[ ][pP][lL][lL][cC]$))(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))(?!.*(?:[ ][iI][nN][cC][oO][rR][pP][oO][rR][aA][tT][eE][dD]$))^[ a-zA-Z0-9&\\\\-]+$",validate:xt.hK,value:o[u.xh.legalName],onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,vt(vt({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:o[u.xh.dbaname],onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})]})]})};function bt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function yt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?bt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):bt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Zt=o.ZP.div.withConfig({displayName:"PrimaryPartnerInfoBlock__StyledContainer",componentId:"sc-1dlt8i3-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Ct=(0,o.ZP)(d.Z).withConfig({displayName:"PrimaryPartnerInfoBlock__StyledRow",componentId:"sc-1dlt8i3-1"})(["padding:16px;"]);var Nt=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b,y,Z=e.values,N=void 0===Z?{}:Z,w=e.onChange,E=e.onMouseEnter,S=e.onMouseLeave;return(0,C.jsxs)(Zt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Primary Partner Information"})}),(0,C.jsxs)(Ct,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,yt(yt({},(0,h.X)(u.xh.primaryPartnerTitle)),{},{label:null===(n=(0,h.X)(u.xh.primaryPartnerTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.primaryPartnerTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:N[u.xh.primaryPartnerTitle],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,yt(yt({},(0,h.X)(u.xh.primaryPartnerFirstName)),{},{label:null===(i=(0,h.X)(u.xh.primaryPartnerFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:N[u.xh.primaryPartnerFirstName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,yt(yt({}
1,(0,h.X)(u.xh.primaryPartnerMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.primaryPartnerMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:N[u.xh.primaryPartnerMiddleName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,yt(yt({},(0,h.X)(u.xh.primaryPartnerLastName)),{},{label:null===(d=(0,h.X)(u.xh.primaryPartnerLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:N[u.xh.primaryPartnerLastName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,yt(yt({},(0,h.X)(u.xh.primaryPartnerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.primaryPartnerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.primaryPartnerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:N[u.xh.primaryPartnerSuffixName],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,yt(yt({},(0,h.X)(u.xh.primaryPartnerSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.primaryPartnerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(b=(0,h.X)(u.xh.primaryPartnerSSN))||void 0===b||null===(y=b.placeholder)||void 0===y?void 0:y.replace("*",""),value:N[u.xh.primaryPartnerSSN],onChange:w,onMouseEnter:E,onMouseLeave:S,hideDivider:!0}))})]})]})},wt=(0,o.ZP)(l.Z).withConfig({displayName:"EINPartnershipForm__StyledEINPartnershipForm",componentId:"sc-6tolf1-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'Arial';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'Arial';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Et=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(jt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(wt,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(jt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function St(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ot(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?St(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):St(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Mt=o.ZP.div.withConfig({displayName:"CCorpInfoBlock__StyledContainer",componentId:"sc-zg6rbh-0"})(["margin-bottom:24px;border:1px solid ",";label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),Pt=(0,o.ZP)(d.Z).withConfig({displayName:"CCorpInfoBlock__StyledRow",componentId:"sc-zg6rbh-1"})(["padding:16px;"]);var It=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(Mt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Pt,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ot(Ot({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Corporation",defaultInvalidMessage:"Please provide a valid corporation name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ot(Ot({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Ot(Ot({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d,hideDivider:!0}))})]})]})};function kt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Lt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?kt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Dt=o.ZP.div.withConfig({displayName:"PrincipalOfficerInfoBlock__StyledContainer",componentId:"sc-1ab66uj-0"})(["margin-bottom:24px;border:1px solid ",";label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),Ft=(0,o.ZP)(d.Z).withConfig({displayName:"PrincipalOfficerInfoBlock__StyledRow",componentId:"sc-1ab66uj-1"})(["padding:16px;"]);var Bt=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b,y,Z=e.values,N=void 0===Z?{}:Z,w=e.onChange,E=e.onMouseEnter,S=e.onMouseLeave;return(0,C.jsxs)(Dt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Principal Officer Information"})}),(0,C.jsxs)(Ft,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Lt(Lt({},(0,h.X)(u.xh.principalOfficerTitle)),{},{label:null===(n=(0,h.X)(u.xh.principalOfficerTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.principalOfficerTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:N[u.xh.principalOfficerTitle],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Lt(Lt({},(0,h.X)(u.xh.principalOfficerFirstName)),{},{label:null===(i=(0,h.X)(u.xh.principalOfficerFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:N[u.xh.principalOfficerFirstName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Lt(Lt({},(0,h.X)(u.xh.principalOfficerMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.principalOfficerMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:N[u.xh.principalOfficerMiddleName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Lt(Lt({}
1,(0,h.X)(u.xh.principalOfficerLastName)),{},{label:null===(d=(0,h.X)(u.xh.principalOfficerLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:N[u.xh.principalOfficerLastName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Lt(Lt({},(0,h.X)(u.xh.principalOfficerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.principalOfficerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.principalOfficerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:N[u.xh.principalOfficerSuffixName],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Lt(Lt({},(0,h.X)(u.xh.principalOfficerSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.principalOfficerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(b=(0,h.X)(u.xh.principalOfficerSSN))||void 0===b||null===(y=b.placeholder)||void 0===y?void 0:y.replace("*",""),value:N[u.xh.principalOfficerSSN],onChange:w,onMouseEnter:E,onMouseLeave:S,hideDivider:!0}))})]})]})},_t=(0,o.ZP)(l.Z).withConfig({displayName:"EINCCorpForm__StyledEINCCorpForm",componentId:"sc-124wxd9-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'Arial';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'Arial';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Xt=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(It,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(_t,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(It,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function At(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function zt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?At(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):At(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Tt=o.ZP.div.withConfig({displayName:"SCorpInfoBlock__StyledContainer",componentId:"sc-oc5j7h-0"})(["margin-bottom:24px;border:1px solid ",";label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),Rt=(0,o.ZP)(d.Z).withConfig({displayName:"SCorpInfoBlock__StyledRow",componentId:"sc-oc5j7h-1"})(["padding:16px;"]);var Vt=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(Tt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Rt,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,zt(zt({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the S-Corporation",defaultInvalidMessage:"Please provide a valid corporation name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,zt(zt({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,zt(zt({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d,hideDivider:!0}))})]})]})},qt=(0,o.ZP)(l.Z).withConfig({displayName:"EINSCorpForm__StyledEINSCorpForm",componentId:"sc-1981cl8-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'Arial';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'Arial';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var $t=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(qt,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Yt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ut(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Yt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Yt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Wt=o.ZP.div.withConfig({displayName:"DeceasedIndividualInfoBlock__StyledContainer",componentId:"sc-1hlxrol-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Gt=(0,o.ZP)(d.Z).withConfig({displayName:"DeceasedIndividualInfoBlock__StyledRow",componentId:"sc-1hlxrol-1"})(["padding:16px;"]);var Qt=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v=e.values,g=void 0===v?{}:v,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(Wt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Deceased Individual Information"})}),(0,C.jsxs)(Gt,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ut(Ut({},(0,h.X)(u.xh.deceasedFirstName)),{},{label:null===(n=(0,h.X)(u.xh.deceasedFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:g[u.xh.deceasedFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ut(Ut({},(0,h.X)(u.xh.deceasedMiddleName)),{},{label:null===(r=(0,h.X)(u.xh.deceasedMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:g[u.xh.deceasedMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ut(Ut({},(0,h.X)(u.xh.deceasedLastName)),{},{label:null===(i=(0,h.X)(u.xh.deceasedLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:g[u.xh.deceasedLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Ut(Ut({},(0,h.X)(u.xh.deceasedSuffixName)),{},{label:null===(s=(0,h.X)(u.xh.deceasedSuffixName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.deceasedSuffixName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:g[u.xh.deceasedSuffixName],validated:g.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Ut(Ut({},(0,h.X)(u.xh.deceasedSSN)),{},{placeholder:null===(x=(0,h.X)(u.xh.deceasedSSN))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.deceasedSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),value:g[u.xh.deceasedSSN],onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})};function Kt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ht(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Kt(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Kt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Jt=o.ZP.div.withConfig({displayName:"RepresentativeInfoBlock__StyledContainer",componentId:"sc-195y0d2-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),er=(0,o.ZP)(d.Z).withConfig({displayName:"RepresentativeInfoBlock__StyledRow",componentId:"sc-195y0d2-1"})(["padding:16px;"]);var nr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b,y,Z=e.values,N=void 0===Z?{}:Z,w=e.onChange,E=e.onMouseEnter,S=e.onMouseLeave;return(0,C.jsxs)(Jt,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Representative/Executor Information"})}),(0,C.jsxs)(er,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Ht(Ht({}
1,(0,h.X)(u.xh.representativeTitle)),{},{label:null===(n=(0,h.X)(u.xh.representativeTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.representativeTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:N[u.xh.representativeTitle],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ht(Ht({},(0,h.X)(u.xh.representativeFirstName)),{},{label:null===(i=(0,h.X)(u.xh.representativeFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:N[u.xh.representativeFirstName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ht(Ht({},(0,h.X)(u.xh.representativeMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.representativeMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:N[u.xh.representativeMiddleName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Ht(Ht({},(0,h.X)(u.xh.representativeLastName)),{},{label:null===(d=(0,h.X)(u.xh.representativeLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:N[u.xh.representativeLastName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Ht(Ht({},(0,h.X)(u.xh.representativeSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.representativeSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.representativeSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:N[u.xh.representativeSuffixName],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Ht(Ht({},(0,h.X)(u.xh.representativeSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.representativeSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(b=(0,h.X)(u.xh.representativeSSN))||void 0===b||null===(y=b.placeholder)||void 0===y?void 0:y.replace("*",""),value:N[u.xh.representativeSSN],onChange:w,onMouseEnter:E,onMouseLeave:S,hideDivider:!0}))})]})]})},tr=(0,o.ZP)(l.Z).withConfig({displayName:"EINEstateForm__StyledEINEstateForm",componentId:"sc-mu4jh0-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'Arial';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'Arial';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var rr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Qt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{prefix:"representative",values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(tr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Qt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{prefix:"representative",values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{prefix:"dateOfDeath",values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function or(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ir(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?or(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):or(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ar=o.ZP.div.withConfig({displayName:"NonProfitOrgInfoBlock__StyledContainer",componentId:"sc-fhwrw5-0"})(["margin-bottom:24px;border:1px solid ",";label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),sr=(0,o.ZP)(d.Z).withConfig({displayName:"NonProfitOrgInfoBlock__StyledRow",componentId:"sc-fhwrw5-1"})(["padding:16px;"]);var lr=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(ar,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Non-profit Organization"})}),(0,C.jsxs)(sr,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,ir(ir({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Non-profit Organization",defaultInvalidMessage:"Please provide a valid organization name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,ir(ir({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,ir(ir({},(0,h.X)(u.xh.nonProfitType)),{},{label:null===(r=(0,h.X)(u.xh.nonProfitType))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:a[u.xh.nonProfitType],onChange:s,onMouseEnter:l,onMouseLeave:d,hideDivider:!0}))})]})]})};function dr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function cr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?dr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ur=o.ZP.div.withConfig({displayName:"ResponsiblePartyInfoBlock__StyledContainer",componentId:"sc-6s1k46-0"})(["margin-bottom:24px;border:1px solid ",";label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),hr=(0,o.ZP)(d.Z).withConfig({displayName:"ResponsiblePartyInfoBlock__StyledRow",componentId:"sc-6s1k46-1"})(["padding:16px;"]);var pr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b,y,Z=e.values,N=void 0===Z?{}:Z,w=e.onChange,E=e.onMouseEnter,S=e.onMouseLeave;return(0,C.jsxs)(ur,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Responsible Party Information"})}),(0,C.jsxs)(hr,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,cr(cr({},(0,h.X)(u.xh.responsiblePartyTitle)),{},{label:null===(n=(0,h.X)(u.xh.responsiblePartyTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.responsiblePartyTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:N[u.xh.responsiblePartyTitle],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,cr(cr({},(0,h.X)(u.xh.responsiblePartyFirstName)),{},{label:null===(i=(0,h.X)(u.xh.responsiblePartyFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:N[u.xh.responsiblePartyFirstName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,cr(cr({},(0,h.X)(u.xh.responsiblePartyMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.responsiblePartyMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:N[u.xh.responsiblePartyMiddleName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,cr(cr({}
1,(0,h.X)(u.xh.responsiblePartyLastName)),{},{label:null===(d=(0,h.X)(u.xh.responsiblePartyLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:N[u.xh.responsiblePartyLastName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,cr(cr({},(0,h.X)(u.xh.responsiblePartySuffixName)),{},{label:null===(x=(0,h.X)(u.xh.responsiblePartySuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.responsiblePartySuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:N[u.xh.responsiblePartySuffixName],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,cr(cr({},(0,h.X)(u.xh.responsiblePartySSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.responsiblePartySSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(b=(0,h.X)(u.xh.responsiblePartySSN))||void 0===b||null===(y=b.placeholder)||void 0===y?void 0:y.replace("*",""),value:N[u.xh.responsiblePartySSN],onChange:w,onMouseEnter:E,onMouseLeave:S,hideDivider:!0}))})]})]})},xr=(0,o.ZP)(l.Z).withConfig({displayName:"EINNonProfitForm__StyledEINNonProfitForm",componentId:"sc-14gcsin-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'Arial';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'Arial';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var mr,vr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(lr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(pr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(xr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(lr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(pr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})},gr=t(1383);function fr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function jr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?fr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var br=(0,o.ZP)(l.Z.Group).withConfig({displayName:"RadioGroup__StyledGroup",componentId:"sc-1dvzlh9-0"})(["display:flex;flex-direction:column;",";padding-left:0;padding-right:0;margin-bottom:16px !important;input:checked + label,input:not(:checked) + label{display:inline-block;padding-left:8px;font-family:'Arial';font-size:14px;line-height:calc(1.4rem * (14 / 16));color:#424242;cursor:pointer;}"],(function(e){return e.horizontal&&css(mr||(mr=(0,gr.Z)(["\n flex-direction: row;\n "])))})),yr=(0,o.ZP)(l.Z.Check).withConfig({displayName:"RadioGroup__StyledCheck",componentId:"sc-1dvzlh9-1"})(["margin-right:24px;margin-top:0.5rem;"]);var Zr=function(e){var n=e.id,t=e.name,o=e.hint,i=e.horizontal,a=e.options,s=void 0===a?[]:a,l=e.value,d=e.onChange,c=(0,r.useMemo)((function(){var e={placement:v.tq?"top":"right-start",delay:{show:0,hide:0},trigger:["hover","focus"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(n),className:"hintTooltip",children:o})};return o&&!v.tq||(e.show=!1),e}),[n,o]);return(0,C.jsx)(j.Z,jr(jr({},c),{},{children:(0,C.jsx)(br,{controlId:n,horizontal:i,children:s.map((function(e,r){return(0,C.jsx)(yr,{id:"".concat(t||n).concat(r+1),name:t||n,inline:!0,type:"radio",label:e.label,value:e.value,checked:l===e.value,onChange:d},"".concat(t||n).concat(r+1))}))})}))};function Cr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Nr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Cr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Cr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var wr=o.ZP.div.withConfig({displayName:"LLCInfoBlock__StyledContainer",componentId:"sc-190a27o-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Er=(0,o.ZP)(d.Z).withConfig({displayName:"LLCInfoBlock__StyledRow",componentId:"sc-190a27o-1"})(["padding:16px;"]);var Sr=function(e){var n,t,o,i,a=e.values,s=void 0===a?{}:a,l=e.onChange,d=e.onMouseEnter,p=e.onMouseLeave,x="2"===s[u.xh.LLCMembers],m="true"===s[u.xh.husbandAndWife],v=(0,b.D)(s);return(0,r.useEffect)((function(){v&&v[u.xh.organizedState]!==s[u.xh.organizedState]&&(0,xt.dg)({target:{id:u.xh.legalName,value:s[u.xh.legalName]||""}},{matchValue:s[u.xh.organizedState]})}),[v,s]),(0,C.jsxs)(wr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Er,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Nr(Nr({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the LLC",defaultInvalidMessage:"Please provide a valid organization name",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: Corp, Inc, PA."}),pattern:"(?!.*(?:[ ][pP][aA]$))(?!.*(?:[ ][cC][oO][rR][pP]$))(?!.*(?:[ ][iI][nN][cC]$))(?!.*(?:[ ][iI][nN][cC][oO][rR][pP][oO][rR][aA][tT][eE][dD]$))^[ a-zA-Z0-9&\\\\-]+$",validate:xt.dg,value:s[u.xh.legalName],matchValue:s[u.xh.organizedState],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Nr(Nr({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:s[u.xh.dbaname],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Nr(Nr({},(0,h.X)(u.xh.LLCMembers)),{},{value:s[u.xh.LLCMembers],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),x&&(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(ie,Nr(Nr({}
1,(0,h.X)(u.xh.husbandAndWife)),{},{value:s[u.xh.husbandAndWife],onChange:l,onMouseEnter:d,onMouseLeave:p}))}),m&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:"Please choose one of the following:"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Zr,Nr(Nr({},(0,h.X)(u.xh.multiMember)),{},{value:s[u.xh.multiMember],onChange:l}))})]}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)("div",{className:"input-title",children:(0,C.jsx)("span",{children:"Select the Tax classification of the LLC:"})})}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Zr,Nr(Nr({},(0,h.X)(u.xh.taxClassification)),{},{value:s[u.xh.taxClassification],onChange:l}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Nr(Nr({},(0,h.X)(u.xh.organizedState)),{},{label:null===(o=(0,h.X)(u.xh.organizedState))||void 0===o||null===(i=o.placeholder)||void 0===i?void 0:i.replace("*",""),value:s[u.xh.organizedState],validated:s.validated,onChange:l,onMouseEnter:d,onMouseLeave:p,hideDivider:!0}))})]})]})};function Or(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Mr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Or(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Or(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Pr=o.ZP.div.withConfig({displayName:"ManagingMemberInfoBlock__StyledContainer",componentId:"sc-17yfzrh-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Ir=(0,o.ZP)(d.Z).withConfig({displayName:"ManagingMemberInfoBlock__StyledRow",componentId:"sc-17yfzrh-1"})(["padding:16px;"]);var kr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v,g,b,y,Z=e.values,N=void 0===Z?{}:Z,w=e.onChange,E=e.onMouseEnter,S=e.onMouseLeave;return(0,C.jsxs)(Pr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Managing Member Information"})}),(0,C.jsxs)(Ir,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Mr(Mr({},(0,h.X)(u.xh.ownerTitle)),{},{label:null===(n=(0,h.X)(u.xh.ownerTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.ownerTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:N[u.xh.ownerTitle],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Mr(Mr({},(0,h.X)(u.xh.ownerFirstName)),{},{label:null===(i=(0,h.X)(u.xh.ownerFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:N[u.xh.ownerFirstName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Mr(Mr({},(0,h.X)(u.xh.ownerMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.ownerMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:N[u.xh.ownerMiddleName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Mr(Mr({},(0,h.X)(u.xh.ownerLastName)),{},{label:null===(d=(0,h.X)(u.xh.ownerLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:N[u.xh.ownerLastName],onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Mr(Mr({},(0,h.X)(u.xh.ownerSuffixName)),{},{label:null===(x=(0,h.X)(u.xh.ownerSuffixName))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),placeholder:null===(v=(0,h.X)(u.xh.ownerSuffixName))||void 0===v||null===(g=v.placeholder)||void 0===g?void 0:g.replace("*",""),value:N[u.xh.ownerSuffixName],validated:N.validated,onChange:w,onMouseEnter:E,onMouseLeave:S}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Mr(Mr({},(0,h.X)(u.xh.ownerSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.ownerSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}
1),placeholder:null===(b=(0,h.X)(u.xh.ownerSSN))||void 0===b||null===(y=b.placeholder)||void 0===y?void 0:y.replace("*",""),value:N[u.xh.ownerSSN],onChange:w,onMouseEnter:E,onMouseLeave:S,hideDivider:!0}))})]})]})},Lr=(0,o.ZP)(l.Z).withConfig({displayName:"EINLLCForm__StyledEINLLCForm",componentId:"sc-10tjyx6-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'Arial';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'Arial';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Dr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Sr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(kr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(Lr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Sr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(kr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Fr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Br(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Fr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Fr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _r=o.ZP.div.withConfig({displayName:"TrustInfoBlock__StyledContainer",componentId:"sc-8cvawa-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Xr=(0,o.ZP)(d.Z).withConfig({displayName:"TrustInfoBlock__StyledRow",componentId:"sc-8cvawa-1"})(["padding:16px;"]);var Ar=function(e){var n,t,r=e.values,o=void 0===r?{}:r,i=e.onChange,a=e.onMouseEnter,s=e.onMouseLeave;return(0,C.jsxs)(_r,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(Xr,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Br(Br({},(0,h.X)(u.xh.legalName)),{},{hint:(0,C.jsxs)(C.Fragment,{children:["Special instructions for entering the legal name of your trust:",(0,C.jsxs)("ol",{children:[(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Omit any names of trustees."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Place the individual's name at the beginning of your trust name."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Do not enter the words 'date' or 'dated'."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Do not enter the alpha month, replace with corresponding numeric character."}),(0,C.jsx)("li",{style:{fontSize:"16px",fontFamily:"Source Sans Pro",fontWeight:"normal"},children:"Omit the word 'The' from the beginning of your trust name."})]}),"The only punctuation and special characters allowed are hyphen (-) and ampersand (&).",(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),"The legal name may not contain any of the following endings: Corp, LLC, PLLC, LC, Inc, PA."]}),label:"Legal Name of Trust",defaultInvalidMessage:"Please provide a valid trust name",value:o[u.xh.legalName],onChange:i,onMouseEnter:a,onMouseLeave:s}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Br(Br({},(0,h.X)(u.xh.trustType)),{},{label:null===(n=(0,h.X)(u.xh.trustType))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),value:o[u.xh.trustType],validated:o.validated,onChange:i,onMouseEnter:a,onMouseLeave:s,hideDivider:!0}))})]})]})};function zr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Tr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?zr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):zr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Rr=o.ZP.div.withConfig({displayName:"CreatorInfoBlock__StyledContainer",componentId:"sc-1da09f8-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Vr=(0,o.ZP)(d.Z).withConfig({displayName:"CreatorInfoBlock__StyledRow",componentId:"sc-1da09f8-1"})(["padding:16px;"]);var qr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v=e.values,g=void 0===v?{}:v,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(Rr,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Creator/Grantor Information"})}),(0,C.jsxs)(Vr,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Tr(Tr({},(0,h.X)(u.xh.createrFirstName)),{},{label:null===(n=(0,h.X)(u.xh.createrFirstName))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:g[u.xh.createrFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Tr(Tr({},(0,h.X)(u.xh.createrMiddleName)),{}
1,{label:null===(r=(0,h.X)(u.xh.createrMiddleName))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),placeholder:void 0,value:g[u.xh.createrMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Tr(Tr({},(0,h.X)(u.xh.createrLastName)),{},{label:null===(i=(0,h.X)(u.xh.createrLastName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:g[u.xh.createrLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Tr(Tr({},(0,h.X)(u.xh.createrSuffixName)),{},{label:null===(s=(0,h.X)(u.xh.createrSuffixName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:null===(d=(0,h.X)(u.xh.createrSuffixName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),value:g[u.xh.createrSuffixName],validated:g.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Tr(Tr({},(0,h.X)(u.xh.createrSSN)),{},{value:g[u.xh.createrSSN],label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.createrSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(x=(0,h.X)(u.xh.createrSSN))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})};function $r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Yr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$r(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$r(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ur=o.ZP.div.withConfig({displayName:"ConservatorInfoBlock__StyledContainer",componentId:"sc-1g0z0xq-0"})(["margin-bottom:24px;border:1px solid ",";"],(0,i.E)("#000000",.1)),Wr=(0,o.ZP)(d.Z).withConfig({displayName:"ConservatorInfoBlock__StyledRow",componentId:"sc-1g0z0xq-1"})(["padding:16px;"]);var Gr=function(e){var n,t,r,o,i,a,s,l,d,p,x,m,v=e.values,g=void 0===v?{}:v,b=e.onChange,y=e.onMouseEnter,Z=e.onMouseLeave;return(0,C.jsxs)(Ur,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Conservator Information"})}),(0,C.jsxs)(Wr,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Yr(Yr({},(0,h.X)(u.xh.trusteeTitle)),{},{label:null===(n=(0,h.X)(u.xh.trusteeTitle))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:null===(r=(0,h.X)(u.xh.trusteeTitle))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:g[u.xh.trusteeTitle],validated:g.validated,onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Yr(Yr({},(0,h.X)(u.xh.trusteeFirstName)),{},{label:null===(i=(0,h.X)(u.xh.trusteeFirstName))||void 0===i||null===(a=i.placeholder)||void 0===a?void 0:a.replace("*",""),placeholder:void 0,value:g[u.xh.trusteeFirstName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Yr(Yr({},(0,h.X)(u.xh.trusteeMiddleName)),{},{label:null===(s=(0,h.X)(u.xh.trusteeMiddleName))||void 0===s||null===(l=s.placeholder)||void 0===l?void 0:l.replace("*",""),placeholder:void 0,value:g[u.xh.trusteeMiddleName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Yr(Yr({},(0,h.X)(u.xh.trusteeLastName)),{}
1,{label:null===(d=(0,h.X)(u.xh.trusteeLastName))||void 0===d||null===(p=d.placeholder)||void 0===p?void 0:p.replace("*",""),placeholder:void 0,value:g[u.xh.trusteeLastName],onChange:b,onMouseEnter:y,onMouseLeave:Z}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(q,Yr(Yr({},(0,h.X)(u.xh.trusteeSSN)),{},{label:(0,C.jsxs)(C.Fragment,{children:["Social Security Number\xa0",(0,C.jsx)(j.Z,{placement:"top",delay:{show:0,hide:0},trigger:["hover","click"],overlay:(0,C.jsx)(f.Z,{id:"tooltip-".concat(u.xh.trusteeSSN,"-subhint"),className:"subhintTooltipFederal",children:(0,C.jsx)("span",{children:"In order to assign an EIN for an Entity, the IRS requires the Social Security Number of the managing member. This information is secured with SSL encryption."})}),children:(0,C.jsx)("a",{className:"ssn-subhint-title",children:"Why is this needed?"})})]}),placeholder:null===(x=(0,h.X)(u.xh.trusteeSSN))||void 0===x||null===(m=x.placeholder)||void 0===m?void 0:m.replace("*",""),value:g[u.xh.trusteeSSN],onChange:b,onMouseEnter:y,onMouseLeave:Z,hideDivider:!0}))})]})]})},Qr=(0,o.ZP)(l.Z).withConfig({displayName:"EINTrustForm__StyledEINTrustForm",componentId:"sc-1x7xxtp-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'Arial';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'Arial';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var Kr=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ar,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(qr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{prefix:"trustee",values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(Qr,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ar,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(qr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{prefix:"trustee",values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function Hr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Jr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?Hr(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var eo=o.ZP.div.withConfig({displayName:"PSCInfoBlock__StyledContainer",componentId:"sc-1kf3m41-0"})(["margin-bottom:24px;border:1px solid ",';label[for="legalName"]{width:100%;}'],(0,i.E)("#000000",.1)),no=(0,o.ZP)(d.Z).withConfig({displayName:"PSCInfoBlock__StyledRow",componentId:"sc-1kf3m41-1"})(["padding:16px;"]);var to=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(eo,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(no,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Jr(Jr({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Personal Service Corporation",defaultInvalidMessage:"Please provide a valid corporation name",hint:(0,C.jsx)(C.Fragment,{children:"The only punctuation and special characters allowed are hyphen (-) and ampersand (&). The legal name may not contain any of the following endings: LLC, PLLC, LC."}),pattern:"(?!.*(?:[ ][lL][cC]$))(?!.*(?:[ ][lL][lL][cC]$))(?!.*(?:[ ][pP][lL][lL][cC]$))^[ a-zA-Z0-9&\\\\-]+$",validate:xt.bW,value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,Jr(Jr({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,Jr(Jr({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d,hideDivider:!0}))})]})]})},ro=(0,o.ZP)(l.Z).withConfig({displayName:"EINPSCForm__StyledEINPSCForm",componentId:"sc-vcru7w-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'Arial';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'Arial';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var oo=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(to,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Bt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(ro,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(to,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Bt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})};function io(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ao(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?io(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):io(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var so=o.ZP.div.withConfig({displayName:"ChurchInfoBlock__StyledContainer",componentId:"sc-1w07mkh-0"})(["margin-bottom:24px;border:1px solid ",";label[for='legalName']{width:100%;}"],(0,i.E)("#000000",.1)),lo=(0,o.ZP)(d.Z).withConfig({displayName:"ChurchInfoBlock__StyledRow",componentId:"sc-1w07mkh-1"})(["padding:16px;"]);var co=function(e){var n,t,r,o,i=e.values,a=void 0===i?{}:i,s=e.onChange,l=e.onMouseEnter,d=e.onMouseLeave;return(0,C.jsxs)(so,{children:[(0,C.jsx)("div",{className:"inputs-block-title",children:(0,C.jsx)("span",{children:"Legal information"})}),(0,C.jsxs)(lo,{children:[(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,ao(ao({},(0,h.X)(u.xh.legalName)),{},{label:"Legal Name of the Church",defaultInvalidMessage:"Please provide a valid corporation name",value:a[u.xh.legalName],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(L,ao(ao({},(0,h.X)(u.xh.dbaname)),{},{label:null===(n=(0,h.X)(u.xh.dbaname))||void 0===n||null===(t=n.placeholder)||void 0===t?void 0:t.replace("*",""),placeholder:void 0,value:a[u.xh.dbaname],onChange:s,onMouseEnter:l,onMouseLeave:d}))}),(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(Re,ao(ao({},(0,h.X)(u.xh.organizedState)),{},{label:null===(r=(0,h.X)(u.xh.organizedState))||void 0===r||null===(o=r.placeholder)||void 0===o?void 0:o.replace("*",""),value:a[u.xh.organizedState],validated:a.validated,onChange:s,onMouseEnter:l,onMouseLeave:d,hideDivider:!0}))})]})]})},uo=(0,o.ZP)(l.Z).withConfig({displayName:"EINChurchForm__StyledEINChurchForm",componentId:"sc-jj6qa5-0"})(["min-height:calc(100vh - 100px);.inputs-block-title{padding:16px;border-bottom:1px solid ",";background:",";font-family:'Arial';font-size:20px;color:#424242;}.input-title{margin-bottom:4px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:",";caret-color:",";}.input-label{margin-bottom:10px;font-family:'Arial';font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;}.inputs-block-divider{margin-bottom:16px;border-bottom:1px solid #234e76;}.disclaimer{font-family:'Arial';font-size:10px;line-height:22px;text-align:center;color:#1B3858;opacity:0.5;text-shadow:1px 1px 0px #FFFFFF;}button{width:100%;margin-bottom:1rem;}@media ","{padding-bottom:42px;}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(0,i.E)("#424242",.9),(0,i.E)("#424242",.9),(function(e){return e.theme.devices.tablet}));var ho=function(e){var n=e.mobile,t=e.values,o=void 0===t?{}:t,i=e.onChange,a=e.onSubmit,s=e.onBack,l=e.onMouseEnter,u=e.onMouseLeave,h=(0,r.useCallback)((function(){i&&i({target:{id:"suspendedSubmit",value:!0}})}),[i]),p=(0,r.useMemo)((function(){switch(null===o||void 0===o?void 0:o.step){case 1:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(co,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]});case 2:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(pr,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 3:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_n,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 4:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Vn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 5:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Gn,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 6:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(nt,{values:o,onChange:i}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});case 7:return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(at,{values:o,onChange:i}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:4,children:(0,C.jsx)(ae.Z,{onClick:s,children:"Back"})}),(0,C.jsx)(c.Z,{xs:8,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Continue"})})]})]});default:return null}}),[o,i,s,h]);return(0,C.jsxs)(uo,{id:"EINForm",noValidate:!0,validated:o.validated,onSubmit:a,children:[(0,C.jsx)(d.Z,{children:(0,C.jsx)(c.Z,{xs:12,children:(0,C.jsx)(mn,{})})}),n&&p,!n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(co,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(pr,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(_n,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Vn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(Gn,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(nt,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(at,{values:o,onChange:i,onMouseEnter:l,onMouseLeave:u}),(0,C.jsx)(ut,{}),(0,C.jsxs)(d.Z,{children:[(0,C.jsx)(c.Z,{xs:0,md:3}),(0,C.jsx)(c.Z,{xs:12,md:6,children:(0,C.jsx)(ae.Z,{type:"submit",id:"EINSubmitButton",onMouseDown:h,children:"Submit"})}),(0,C.jsx)(c.Z,{xs:0,md:3})]})]})]})},po=t(8300);po.v.email,o.ZP.div.withConfig({displayName:"FormSection__StyledFormSection",componentId:"sc-u96k7z-0"})(["display:flex;flex-direction:column;align-items:center;margin-bottom:2rem;width:100%;.form-section-header{width:980px;margin-top:24px;margin-bottom:8px;padding-left:15px;padding-right:15px;padding-top:4px;padding-bottom:4px;font-family:\"Arial\";font-size:20px;line-height:calc(1.4rem * (20 / 16));text-align:center;color:#424242;span{font-family:'Arial';font-weight:bold;}}.form-section-container{display:flex;width:980px;padding-left:15px;padding-right:15px;padding-top:16px;padding-bottom:16px;.form-container{flex-grow:1;margin-right:16px;.form-group{margin-bottom:0;}}.hint-container{min-width:300px;width:300px;display:flex;align-items:flex-start;.hint-card{position:sticky;width:100%;top:0;border:1px solid ",";background-color:",";.hint-card-title{padding:15px 15px 0;margin-bottom:0.5rem;font-family:'Arial';font-weight:bold;font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#001e5a;}.hint-card-subtitle{padding:0 15px;margin-bottom:1rem;font-family:'Arial';font-weight:bold;font-size:16px;line-height:calc(1.42857rem * (16 / 16));color:#424242;}.hint-card-content{padding:0 15px;margin-bottom:1rem;font-family:\"Arial\";font-size:14px;line-height:calc(1.42857rem * (14 / 16));color:#424242;
1a{display:none;}ul{list-style:disc;padding-left:32px;li{font-family:\"Arial\";font-size:13px;line-height:calc(1.42857rem * (13 / 16));}}}}.customer-service-card{display:flex;flex-direction:column;width:100%;padding-left:16px;.customer-service-card-title{margin-bottom:1rem;font-family:'Arial';font-weight:bold;font-size:20px;line-height:calc(1.42857rem * (20 / 16));color:#001e5a;}.customer-service-card-content{display:flex;flex-direction:column;&,a{font-family:\"Arial\";font-size:13px;line-height:calc(1.42857rem * (13 / 16));color:#424242;}.customer-service-card-item{display:flex;margin-bottom:0.5rem;.customer-service-card-item-label{width:20%;font-family:'Arial';font-weight:bold;}}}}}}",";@media ","{.form-section-header{width:720px;}.form-section-container{width:720px;.hint-container{display:none;}}}@media ","{.form-section-header{width:100%;}.form-section-container{width:100%;.form-container{margin-right:0;}}}"],(0,i.E)("#000000",.1),(0,i.E)("#000000",.03),(function(e){return!e.showHelpCenter&&(0,o.iv)([".form-section-header{width:720px;}.form-section-container{width:720px;.hint-container{display:none;}}"])}),(function(e){return e.theme.devices.laptopS}),(function(e){return e.theme.devices.tablet})),new Map([["/LLCIncFinalize","llc-inc-finalize"]]),new Map([["/contactus",!0],["/payment",!1],["/LLCInc",!1],["/LLCIncFinalize",!1],["/LLCUpsell",!1],["/status",!1],["/products/EINSoleProp",!0],["/products/EINPartnership",!0],["/products/EINCCorp",!0],["/products/EINSCorp",!0],["/products/EINEstate",!0],["/products/EINNonProfit",!0],["/products/EINLLC",!0],["/products/EINTrust",!0],["/products/EINPSC",!0],["/products/EINChurch",!0]]),new Map([["/products/EINSoleProp","Sole Proprietor Tax ID / SS-4 Form"],["/products/EINPartnership","Partnerships Tax ID / SS-4 Form"],["/products/EINCCorp","Corporations Tax ID / SS-4 Form"],["/products/EINSCorp","S-Corporations Tax ID / SS-4 Form"],["/products/EINEstate","Estate Tax ID / SS-4 Form"],["/products/EINNonProfit","Nonprofit Organization Tax ID / SS-4 Form"],["/products/EINLLC","Limited Liability Company (LLC) Tax ID / SS-4 Form"],["/products/EINTrust","Trusts Tax ID / SS-4 Form"],["/products/EINPSC","Personal Service Corporation Tax ID / SS-4 Form"],["/products/EINChurch","Church Organization Tax ID / SS-4 Form"]]),new Map([["/contactus",ue],["/payment",Ke],["/status",an],["/products/EINSoleProp",pt],["/products/EINPartnership",Et],["/products/EINCCorp",Xt],["/products/EINSCorp",$t],["/products/EINEstate",rr],["/products/EINNonProfit",vr],["/products/EINLLC",Dr],["/products/EINTrust",Kr],["/products/EINPSC",oo],["/products/EINChurch",ho]])},2828:function(e,n,t){var r=t(7379).ZP.button.withConfig({displayName:"Button",componentId:"sc-ahesp0-0"})(["padding:8px 25px;width:100%;margin-right:0;font-family:'Arial';font-weight:bold;font-size:20px;background-color:#001e5a;border:2px solid #001e5a;color:#FFFFFF;"]);n.Z=r},6459:function(e,n,t){var r=t(1664),o=t.n(r),i=t(906),a=t(5893);a.Fragment,o(),i.Z,a.Fragment,o(),i.Z,a.Fragment,o(),i.Z,a.Fragment,o(),i.Z,a.Fragment,o(),i.Z,a.Fragment,o(),i.Z,a.Fragment,o(),i.Z,a.Fragment,o(),i.Z,a.Fragment,o(),i.Z,a.Fragment,o(),i.Z}}]); 2//# sourceMappingURL=6261-004fb221786ca437.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.