1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6468],{45865:function(t,e,n){"use strict";n.d(e,{Z:function(){return g}});var r=n(28193),i=n(26831),o=n(2784),a=n(6277),s=n(69075),c=n(42575),u=n(48891),l=n(4843),d=n(15672);function p(t){return(0,d.Z)("MuiAlertTitle",t)}(0,n(69222).Z)("MuiAlertTitle",["root"]);var f=n(52322);const h=["className"],m=(0,c.ZP)(l.Z,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(t,e)=>e.root})((({theme:t})=>({fontWeight:t.typography.fontWeightMedium,marginTop:-2})));var g=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiAlertTitle"}),{className:o}=n,c=(0,i.Z)(n,h),l=n,d=(t=>{const{classes:e}=t;return(0,s.Z)({root:["root"]},p,e)})(l);return(0,f.jsx)(m,(0,r.Z)({gutterBottom:!0,component:"div",ownerState:l,ref:e,className:(0,a.Z)(d.root,o)},c))}))},96221:function(t,e,n){"use strict";var r=n(26831),i=n(28193),o=n(2784),a=n(6277),s=n(69075),c=n(47591),u=n(42575),l=n(48891),d=n(34727),p=n(52322);const f=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],h=(0,u.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.absolute&&e.absolute,e[n.variant],n.light&&e.light,"vertical"===n.orientation&&e.vertical,n.flexItem&&e.flexItem,n.children&&e.withChildren,n.children&&"vertical"===n.orientation&&e.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&e.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&e.textAlignLeft]}})((({theme:t,ownerState:e})=>(0,i.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},e.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},e.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:(0,c.Fq)(t.palette.divider,.08)},"inset"===e.variant&&{marginLeft:72},"middle"===e.variant&&"horizontal"===e.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===e.variant&&"vertical"===e.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===e.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},e.flexItem&&{alignSelf:"stretch",height:"auto"})),(({theme:t,ownerState:e})=>(0,i.Z)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}})),(({theme:t,ownerState:e})=>(0,i.Z)({},e.children&&"vertical"===e.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(t.vars||t).palette.divider}`,transform:"translateX(0%)"}})),(({ownerState:t})=>(0,i.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),m=(0,u.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.wrapper,"vertical"===n.orientation&&e.wrapperVertical]}})((({theme:t,ownerState:e})=>(0,i.Z)({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},"vertical"===e.orientation&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`}))),g=o.forwardRef((function(t,e){const n=(0,l.Z)({props:t,name:"MuiDivider"}),{absolute:o=!1,children:c,className:u,component:g=(c?"div":"hr"),flexItem:y=!1,light:x=!1,orientation:v="horizontal",role:b=("hr"!==g?"separator":void 0),textAlign:_="center",variant:Z="fullWidth"}=n,j=(0,r.Z)(n,f),w=(0,i.Z)({},n,{absolute:o,component:g,flexItem:y,light:x,orientation:v,role:b,textAlign:_,variant:Z}),C=(t=>{const{absolute:e,children:n,classes:r,flexItem:i,light:o,orientation:a,textAlign:c,variant:u}=t,l={root:["root",e&&"absolute",u,o&&"light","vertical"===a&&"vertical",i&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===c&&"vertical"!==a&&"textAlignRight","left"===c&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,s.Z)(l,d.V,r)})(w);return(0,p.jsx)(h,(0,i.Z)({as:g,className:(0,a.Z)(C.root,u),role:b,ref:e,ownerState:w},j,{children:c?(0,p.jsx)(m,{className:C.wrapper,ownerState:w,children:c}):null}))}));e.Z=g},7900:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(26831),i=n(28193),o=n(2784),a=n(6277),s=n(69075),c=n(31326),u=n(42575),l=n(48891),d=n(129),p=n(2936),f=n(4843),h=n(15672);function m(t){return(0,h.Z)("MuiLink",t)}var g=(0,n(69222).Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),y=n(2818),x=n(47591);const v={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var b=({theme:t,ownerState:e})=>{const n=(t=>v[t]||t)(e.color),r=(0,y.D)(t,`palette.${n}`,!1)||e.color,i=(0,y.D)(t,`palette.${n}Channel`);return"vars"in t&&i?`rgba(${i} / 0.4)`:(0,x.Fq)(r,.4)},_=n(52322);const Z=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],j=(0,u.ZP)(f.Z,{name:"MuiLink",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`underline${(0,c.Z)(n.underline)}`],"button"===n.component&&e.button]}})((({theme:t,ownerState:e})=>(0,i.Z)({},"none"===e.underline&&{textDecoration:"none"},"hover"===e.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===e.underline&&(0,i.Z)({textDecoration:"underline"},"inherit"!==e.color&&{textDecorationColor:b({theme:t,ownerState:e})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===e.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}
1,[`&.${g.focusVisible}`]:{outline:"auto"}})));var w=o.forwardRef((function(t,e){const n=(0,l.Z)({props:t,name:"MuiLink"}),{className:u,color:f="primary",component:h="a",onBlur:g,onFocus:y,TypographyClasses:x,underline:b="always",variant:w="inherit",sx:C}=n,T=(0,r.Z)(n,Z),{isFocusVisibleRef:A,onBlur:R,onFocus:E,ref:O}=(0,d.Z)(),[N,P]=o.useState(!1),S=(0,p.Z)(e,O),k=(0,i.Z)({},n,{color:f,component:h,focusVisible:N,underline:b,variant:w}),I=(t=>{const{classes:e,component:n,focusVisible:r,underline:i}=t,o={root:["root",`underline${(0,c.Z)(i)}`,"button"===n&&"button",r&&"focusVisible"]};return(0,s.Z)(o,m,e)})(k);return(0,_.jsx)(j,(0,i.Z)({color:f,className:(0,a.Z)(I.root,u),classes:x,component:h,onBlur:t=>{R(t),!1===A.current&&P(!1),g&&g(t)},onFocus:t=>{E(t),!0===A.current&&P(!0),y&&y(t)},ref:S,ownerState:k,variant:w,sx:[...Object.keys(v).includes(f)?[]:[{color:f}],...Array.isArray(C)?C:[C]]},T))}))},99623:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/case/[caseid]/confirm/info",function(){return n(97266)}])},20880:function(t,e,n){"use strict";n.d(e,{g:function(){return c}});var r=n(98788),i=n(5163),o=n(96624),a=n(49857),s=n(24423),c=function(t,e){var n="/api/app/cases/".concat(t,"/confirm?document_id=").concat(e),r=(0,a.ZP)((function(){return t?(0,s.i3)(n):null}),(function(){return(0,s.f7)(n)})),i=r.data,o=r.error;return(null===i||void 0===i?void 0:i.error)||o?{error:(null===i||void 0===i?void 0:i.error)||o}:{data:i}};function u(){return(u=(0,r.Z)((function(t,e){return(0,i.__generator)(this,(function(n){return[2,(0,o.TB)("/api/app/cases/".concat(t,"/courthouse/select"),{courthouse_id:e})]}))}))).apply(this,arguments)}function l(){return(l=(0,r.Z)((function(t,e){return(0,i.__generator)(this,(function(n){return[2,(0,o.TB)("/api/app/cases/".concat(t,"/review/submissions/edit"),{form_id:e})]}))}))).apply(this,arguments)}function d(){return(d=(0,r.Z)((function(t,e){return(0,i.__generator)(this,(function(n){return[2,(0,o.TB)("/api/case/create",{case:t,property_id:e})]}))}))).apply(this,arguments)}function p(){return(p=(0,r.Z)((function(t,e,n,r){return(0,i.__generator)(this,(function(i){return[2,(0,o.TB)("/api/case/create",{case:t,metadata:{name:n||"",amount_of_cases:r||"",entityType:e}})]}))}))).apply(this,arguments)}function f(){return(f=(0,r.Z)((function(t,e,n,r){return(0,i.__generator)(this,(function(i){return[2,(0,o.TB)("/api/app/cases/start",{case:t,metadata:{name:n||"",amount_of_cases:r||"",entityType:e}})]}))}))).apply(this,arguments)}function h(){return(h=(0,r.Z)((function(t){return(0,i.__generator)(this,(function(e){return[2,(0,o.TB)("/api/case/".concat(t,"/close"))]}))}))).apply(this,arguments)}function m(){return(m=(0,r.Z)((function(t,e,n,r,a,s){return(0,i.__generator)(this,(function(i){return[2,(0,o.TB)("/api/app/cases/".concat(t,"/initialization/submit"),{document_display_name:a,document_template_id:r,selected_state:e,document_id:s,form_type:n})]}))}))).apply(this,arguments)}function g(){return(g=(0,r.Z)((function(t,e,n){return(0,i.__generator)(this,(function(r){return[2,(0,o.TB)("/api/app/cases/".concat(t,"/initialization/demand-letter/submit"),{document_template_id:n,dispute_type:e})]}))}))).apply(this,arguments)}function y(){return(y=(0,r.Z)((function(t,e){return(0,i.__generator)(this,(function(n){return[2,(0,o.TB)("/api/app/cases/".concat(t,"/initialization/small-claims/submit"),{document_type:e})]}))}))).apply(this,arguments)}function x(){return(x=(0,r.Z)((function(t,e,n){return(0,i.__generator)(this,(function(r){return[2,(0,o.TB)("/api/app/cases/".concat(t,"/documents/start"),{document_type:e,document_id:n})]}))}))).apply(this,arguments)}function v(){return(v=(0,r.Z)((function(t,e,n,r){return(0,i.__generator)(this,(function(i){return[2,(0,o.Li)("/api/app/cases/".concat(t,"/edit"),{case_type:e,fields:n,dispute_type:r})]}))}))).apply(this,arguments)}function b(){return(b=(0,r.Z)((function(t,e,n,r){return(0,i.__generator)(this,(function(i){return[2,(0,o.TB)("/api/case/".concat(t,"/address/save"),{plaintiff_mailing:e,defendant_mailing:n,document_id:r})]}))}))).apply(this,arguments)}function _(){return(_=(0,r.Z)((function(t,e,n,r,a){return(0,i.__generator)(this,(function(i){return[2,(0,o.TB)("/api/case/".concat(t,"/demand-letter/submit"),{demand_letter:n,document_id:r,summary:a,c
1ase_type:e})]}))}))).apply(this,arguments)}function Z(){return(Z=(0,r.Z)((function(t){return(0,i.__generator)(this,(function(e){return[2,(0,s.YI)("/api/app/cases/".concat(t,"/documents/download"))]}))}))).apply(this,arguments)}function j(){return(j=(0,r.Z)((function(t){return(0,i.__generator)(this,(function(e){switch(e.label){case 0:return[4,(0,a.JG)("/api/case/".concat(t))];case 1:return e.sent(),[2]}}))}))).apply(this,arguments)}e.Z={closeCase:function(t){return h.apply(this,arguments)},createCase:function(t,e,n,r){return p.apply(this,arguments)},createEvictionCase:function(t,e){return d.apply(this,arguments)},editCaseSubmission:function(t,e){return l.apply(this,arguments)},selectCourthouse:function(t,e){return u.apply(this,arguments)},mutateCaseDashboard:function(t){return(0,a.JG)("/api/case/".concat(t,"/dashboard"))},caseInitializeSubmit:function(t,e,n,r,i,o){return m.apply(this,arguments)},caseStartDocument:function(t,e,n){return x.apply(this,arguments)},demandLetterInitializeSubmit:function(t,e,n){return g.apply(this,arguments)},updateCase:function(t,e,n,r){return v.apply(this,arguments)},mutateCase:function(t){return j.apply(this,arguments)},saveValidMailingAddress:function(t,e,n,r){return b.apply(this,arguments)},smallClaimsCaseInitializeSubmit:function(t,e){return y.apply(this,arguments)},startCase:function(t,e,n,r){return f.apply(this,arguments)},submitDemandLetter:function(t,e,n,r,i){return _.apply(this,arguments)},downloadCaseDocuments:function(t){return Z.apply(this,arguments)}}},18186:function(t,e,n){"use strict";n.d(e,{Q:function(){return a}});var r=n(2784),i=n(5632),o=n(13200),a=function(){var t=(0,o.useAuth)(),e=(0,i.useRouter)();return(0,r.useEffect)((function(){null===t.user&&e.push("/")}),[t,e]),t}},39385:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(52322),i=n(26004),o=n(4843),a=n(59452),s=n(96221),c=n(42761),u=n(11613),l=n(7417);function d(t){var e=t.content,n=(0,i.Z)();return e?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.Z,{variant:"h5",component:"p",sx:{mb:1},children:e.header}),(0,r.jsx)(o.Z,{variant:"body1",component:"p",color:n.palette.text.secondary,children:e.description}),(0,r.jsx)(a.Z,{children:e.sections.map((function(t){var e,n;return(0,r.jsxs)(a.Z,{children:[(0,r.jsx)(s.Z,{sx:{my:3}}),(0,r.jsxs)(c.ZP,{container:!0,sx:{justifyContent:"space-between"},children:[t.title&&(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(o.Z,{variant:"h6",sx:{mb:2},children:t.title})}),t.edit_url&&(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(u.F,{underline:"hover",href:t.edit_url,variant:"body1_bolded",children:(null===(e=t.section_items)||void 0===e?void 0:e.length)>0?"Edit":"Add"})})]}),null===t||void 0===t||null===(n=t.section_items)||void 0===n?void 0:n.map((function(t){return(0,r.jsx)(a.Z,{sx:{mb:2},children:(0,r.jsx)(l.Z,{sectionItem:t})})}))]},t.title)}))})]}):null}},7417:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(52322),i=n(26004),o=n(42761),a=n(4843),s=n(11613),c=n(78688);function u(t){var e,n,u=t.sectionItem,l=(0,i.Z)();return(0,r.jsxs)(o.ZP,{container:!0,spacing:2,justifyContent:"space-between",children:[(0,r.jsxs)(o.ZP,{item:!0,xs:10,children:[(0,r.jsx)(a.Z,{variant:"body1_bolded",component:"p",children:u.header}),(null===(e=u.description)||void 0===e?void 0:e.length)>0?(0,r.jsx)(r.Fragment,{children:u.description.map((function(t){return(0,r.jsx)(a.Z,{color:l.palette.text.secondary,children:t},t)}))}):(0,r.jsx)(a.Z,{color:l.palette.text.secondary,children:"Please provide information"})]}),(0,r.jsx)(o.ZP,{item:!0,xs:2,display:"flex",justifyContent:"flex-end",children:u.edit_url&&(0,r.jsx)(s.F,{underline:"always",href:u.edit_url,variant:"body1_bolded",children:(null===(n=u.description)||void 0===n?void 0:n.length)>0?"Edit":"Add"})}),u.warnings&&(0,r.jsx)(o.ZP,{item:!0,xs:12,children:(0,r.jsx)(o.ZP,{container:!0,spacing:1,children:u.warnings.map((function(t){return(0,r.jsx)(o.ZP,{item:!0,xs:12,children:(0,r.jsx)(c.o,{alertType:null===t||void 0===t?void 0:t.alert_type,message:null===t||void 0===t?void 0:t.alert_description})},null===t||void 0===t?void 0:t.alert_title)}))})})]})}},56317:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(52322),i=n(30776),o=n(59452),a=n(71267),s=n(42761),c=n(89103),u=n(13200),l=n(77102);function d(t){var e=t.children;if((0,l.x)())return null;var n=(0,u.useAuth)(),d=(0,c.Yd)(null===n||void 0===n?void 0:n.user);return(0,r.jsx)(o.Z,{sx:{flexGrow:1,mx:3},children:(0,r.jsx)(a.Z,{position:"static",color:"transparent",elevation:0,
1children:(0,r.jsxs)(s.ZP,{container:!0,justifyContent:"space-between",sx:{py:2},children:[(0,r.jsx)(s.ZP,{item:!0,md:2,xs:4,display:"flex",justifyContent:"flex-start",alignItems:"center",sx:{flexGrow:1},children:(0,r.jsx)(i.Z,{href:d?"/dashboard":"/"})}),e&&(0,r.jsx)(s.ZP,{item:!0,display:"flex",justifyContent:"flex-start",alignItems:"center",children:e})]})})})}d.defaultProps={children:null}},3634:function(t,e,n){"use strict";n.d(e,{S:function(){return a}});var r=n(52322),i=n(79486),o=n(49107);function a(t){var e=t.hideMainAppBar,n=t.title,a=t.subtitle;return(0,r.jsxs)(r.Fragment,{children:[!e&&(0,r.jsx)(o.Z,{}),(0,r.jsx)(i.k,{title:n,subtitle:a})]})}a.defaultProps={hideMainAppBar:!1,title:null,subtitle:null}},97266:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return b}});var r=n(98788),i=n(5163),o=n(52322),a=n(1950),s=n(2367),c=n(5632),u=n(59452),l=n(88379),d=n(2784),p=n(18186),f=n(3634),h=n(56317),m=n(20880),g=n(24423);function y(){return(y=(0,r.Z)((function(t){return(0,i.__generator)(this,(function(e){return[2,(0,g.TB)("/api/app/documents/".concat(t,"/parking/intake/start"))]}))}))).apply(this,arguments)}var x={parkingIntakeStart:function(t){return y.apply(this,arguments)}},v=n(39385);function b(){(0,p.Q)();var t=(0,c.useRouter)(),e=t.query.caseid,n=t.query.document_id,g=(0,m.g)(e,n).data,y=(0,d.useState)(null),b=y[0],_=y[1],Z=(0,d.useState)(!1),j=Z[0],w=Z[1],C=function(){var e=(0,r.Z)((function(){var e;return(0,i.__generator)(this,(function(r){switch(r.label){case 0:if(g.case_type!==l.Nq.PARKING)return[3,7];_(null),w(!0),r.label=1;case 1:return r.trys.push([1,4,5,6]),[4,x.parkingIntakeStart(n)];case 2:return r.sent(),[4,t.push(g.redirect_url)];case 3:return r.sent(),[3,6];case 4:return e=r.sent(),console.error(e),_({type:"error",message:"Unknown issue occurred, please try again."}),[3,6];case 5:return w(!1),[7];case 6:return[3,9];case 7:return[4,t.push(g.redirect_url)];case 8:r.sent(),r.label=9;case 9:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}();if(!g)return(0,o.jsx)(f.S,{});var T={primaryButton:{handler:C,text:"Confirm",loading:j,disabled:!g.is_valid_case},secondaryButton:{handler:t.back,text:"Back",loading:!1,disabled:!1}},A=function(t){var e=[];return t.forEach((function(t){e.push({title:t.title,section_items:t.section_items.map((function(t){return{header:t.header,description:(t.description||[]).filter((function(t){return t})),edit_url:t.path,warnings:t.warnings}}))})})),{header:"Confirm case information",description:"Make sure the details about your case are accurate and true to the best of your knowledge.",sections:e}}(g.sections);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(h.Z,{}),(0,o.jsx)(a.F,{viewModel:T,children:(0,o.jsx)(u.Z,{width:"100%",children:(0,o.jsx)(v.Z,{content:A})})}),(0,o.jsx)(s.$,{message:null===b||void 0===b?void 0:b.message,color:null===b||void 0===b?void 0:b.type,open:null!==b})]})}},96624:function(t,e,n){"use strict";n.d(e,{Ky:function(){return R},Li:function(){return T},Md:function(){return w},TB:function(){return Z},bO:function(){return E},f7:function(){return m},i3:function(){return h},l:function(){return y},tQ:function(){return v}});var r=n(98788),i=n(47842),o=n(5163),a=n(49857),s=n(18956),c=n(21805),u=n(56593),l="last_case";function d(){return u.$.getInstance().getFirebaseAuth()}function p(t){return f.apply(this,arguments)}function f(){return(f=(0,r.Z)((function(t){var e,n,r;return(0,o.__generator)(this,(function(i){switch(i.label){case 0:return(n=t.headers.get("content-type"))&&-1!==n.indexOf("application/json")?[4,t.json()]:[3,2];case 1:return e=i.sent(),[3,4];case 2:return[4,t.text()];case 3:r=i.sent(),e={error:r},i.label=4;case 4:return[2,e]}}))}))).apply(this,arguments)}function h(t){var e;return(null===(e=d())||void 0===e?void 0:e.currentUser)?t:null}function m(t){return g.apply(this,arguments)}function g(){return(g=(0,r.Z)((function(t){var e;return(0,o.__generator)(this,(function(n){switch(n.label){case 0:return[4,d().currentUser.getIdToken(!0)];case 1:return e=n.sent(),[4,fetch(t,{method:"GET",headers:(0,i.Z)({"Content-Type":"application/json",Authorization:JSON.stringify({token:e})},s.W,c.Z.get(s.W))})];case 2:return[2,n.sent().json()]}}))}))).apply(this,arguments)}function y(t){return x.apply(this,arguments)}function x(){return(x=(0,r.Z)((function(t){return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return[4,fetch(t,{method:"GET",headers:(0,i.Z)({"Content-Type":"application/json"},s.W,c.Z.get(s.W))})];case 1:return[2,e.sent().json()]}}))}))).apply(this,arguments)}function v(t,e){return(0,a.ZP)((function(){return h(t)}),(function(){return m(t)}),e)}function b(t,e,n){return _.apply(this,arguments)}function _(){return(_=(0,r.Z)((function(t,e,n){var r,a;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:return[4,null===(r=d().currentUser)||void 0===r?void 0:r.getIdToken()];case 1:if(!(a=o.sent()))throw new Error("not_authorized");return[4,fetch(t,{method:e,headers:(0,i.Z)({"Content-Type":"application/json",Authorization:JSON.stringify({token:a})},s.W,c.Z.get(s.W)),body:JSON.stringify(n)})];case 2:return[2,p(o.sent())]}}))}))).apply(this,arguments)}function Z(t,e){return j.apply(this,arguments)}function j(){return(j=(0,r.Z)((function(t,e){return(0,o.__generator)(this,(function(n){return[2,b(t,"POST",e)]}))}))).apply(this,arguments)}function w(t,e){return C.apply(this,arguments)}function C(){return(C=(0,r.Z)((function(t,e){var n;return(0,o.__generator)(this,(function(r){switch(r.label){case 0:return[4,fetch(t,{method:"POST",headers:(0,i.Z)({"Content-Type":"application/json"},s.W,c.Z.get(s.W)),body:JSON.stringify(e)})];case 1:return[4,r.sent().json()];case 2:if((n=r.sent()).error)throw console.error(n.error),n.error;return[2,n]}}))}))).apply(this,arguments)}function T(t,e){return A.apply(this,arguments)}function A(){return(A=(0,r.Z)((function(t,e){return(0,o.__generator)(this,(function(n){return[2,b(t,"PUT",e)]}))}))).apply(this,arguments)}function R(t){return c.Z.get("".concat(l,"_").concat(t))}function E(t,e){e&&c.Z.set("".concat(l,"_").concat(t),e)}},78688:function(t,e,n){"use strict";n.d(e,{o:function(){return c}});var r=n(52322),i=n(45865),o=n(40224),a=n(7900),s=function(){return s=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},s.apply(this,arguments)};function c(t){var e=t.alertType,n=t.title,c=t.titleType,u=t.message,l=t.fontColor,d=t.link,p=t.linkRef;if(!u)return null;return(0,r.jsxs)(o.Z,s({severity:e,sx:{borderLeft:2,borderColor:function(){switch(e){case"error":return"#F44336";case"info":return"#3679E1";case"success":return"#4caf50";default:return"#FFA118"}}(),borderLeftWidth:4,borderRadius:1,color:l}},{children:[n&&("bolded"===c?(0,r.jsx)("b",{children:n}):(0,r.jsx)(i.Z,{children:n}))," ",u,d&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(a.Z,s({sx:{color:"black",textDecorationColor:"black"},target:"_blank",href:p},{children:d}))})]}))}c.defaultProps={alertType:"info",message:null,title:null,titleType:"new-line",fontColor:null,link:null,linkRef:null}},1950:function(t,e,n){"use strict";n.d(e,{F:function(){return d}});var r=n(52322),i=n(26004),o=n(42761),a=n(39645),s=n(74861),c=n(29046),u=n(25836),l=function(){return l=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}
1,l.apply(this,arguments)};function d(t){var e=t.children,n=t.viewModel,d=(0,i.Z)(),p={parentContainer:{minHeight:"100%",height:"auto",backgroundColor:["white","white",d.palette.background_grey.main,d.palette.background_grey.main]},buttonContainer:{sx:{justifyContent:["center","center","right","right"]},spacing:n.primaryButton&&n.secondaryButton?2:0},primary:{gridSize:n.secondaryButton?6:12},secondary:{gridSize:n.primaryButton?6:12}},f=p.buttonContainer,h=p.parentContainer,m=n.primaryButton,g=n.secondaryButton;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.ZP,l({sx:l({},h)},{children:(0,r.jsx)(o.ZP,l({container:!0,justifyContent:"center"},{children:(0,r.jsxs)(o.ZP,l({item:!0,sx:{my:[3,3,5,5],width:["100%","100%",560,560],backgroundColor:"white",py:[0,0,4,4],px:[3,3,4,4],borderRadius:"3px"}},{children:[(0,r.jsx)(o.ZP,l({container:!0,sx:l({pb:[8,8,0,0]},n.sx)},{children:e})),(0,r.jsxs)(o.ZP,l({container:!0,sx:l({mt:5},a.Lf),justifyContent:"flex-end"},{children:[g&&(0,r.jsx)(s.Y,{text:g.text,onClick:g.handler,size:"large",color:"secondary",sx:l({},g.sx&&g.sx),disabled:g.disabled}),m&&(0,r.jsx)(c.U,{type:m.type,text:m.text,onClick:m.handler,loading:m.loading,size:"large",sx:l({ml:2},m.sx&&m.sx),disabled:m.disabled})]}))]}))}))})),(m||g)&&(0,r.jsx)(u.S,l({sx:l({},a.r4)},{children:(0,r.jsxs)(r.Fragment,{children:[n.stickyContainerChildren&&n.stickyContainerChildren,(0,r.jsxs)(o.ZP,l({container:!0,sx:l({px:3},f),spacing:f.spacing},{children:[(0,r.jsx)(o.ZP,l({item:!0,xs:p.secondary.gridSize},{children:g&&(0,r.jsx)(s.Y,{fullWidth:!0,text:g.text,onClick:g.handler,size:"large",color:"secondary",disabled:g.disabled})})),(0,r.jsx)(o.ZP,l({item:!0,xs:p.primary.gridSize},{children:m&&(0,r.jsx)(c.U,{type:m.type,fullWidth:!0,text:m.text,onClick:m.handler,loading:m.loading,size:"large",disabled:m.disabled})}))]}))]})}))]})}},25836:function(t,e,n){"use strict";n.d(e,{S:function(){return a}});var r=n(52322),i=n(42761),o=function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o.apply(this,arguments)};function a(t){var e=t.children,n=t.sx;return(0,r.jsx)(i.ZP,o({container:!0,sx:o({paddingTop:2,paddingBottom:2,width:"100%",borderTop:"1px solid #D0D0D0",borderBottom:"1px solid #D0D0D0",backgroundColor:"white",position:"fixed",bottom:0,zIndex:1},n)},{children:o({},e)}))}a.defaultProps={sx:{}}},2367:function(t,e,n){"use strict";n.d(e,{$:function(){return u}});var r=n(52322),i=n(40224),o=n(4301),a=n(2784),s=function(){return s=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},s.apply(this,arguments)};function c(t){return(0,r.jsx)(i.Z,s({elevation:6,variant:"filled"},t))}function u(t){var e=t.message,n=t.color,i=t.open,u=(0,a.useState)(!1),l=u[0],d=u[1],p=function(t,e){"clickaway"!==e&&d(!1)};return(0,a.useEffect)((function(){d(i)}),[i,e]),(0,r.jsx)(o.Z,s({open:l,autoHideDuration:5e3,onClose:p},{children:(0,r.jsx)("div",{children:(0,r.jsx)(c,s({onClose:p,severity:n},{children:e}))})}))}u.defaultProps={message:"Oops! Something went wrong, please try again.",color:"error"}},11613:function(t,e,n){"use strict";n.d(e,{F:function(){return c}});var r=n(52322),i=n(7900),o=n(39097),a=n.n(o),s=function(){return s=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},s.apply(this,arguments)};function c(t){var e=t.href,n=t.variant,o=t.children,c=t.underline,u=t.color;return(0,r.jsx)(a(),s({href:e,passHref:!0},{children:(0,r.jsx)(i.Z,s({color:u,underline:c,href:e,variant:n},{children:o}))}))}c.defaultProps={underline:"always",color:"primary"}},79486:function(t,e,n){"use strict";n.d(e,{k:function(){return l}});var r=n(52322),i=n(26004),o=n(56042),a=n(59452),s=n(52274),c=n(4843),u=function(){return u=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},u.apply(this,arguments)};function l(t){var e=t.title,n=t.subtitle,l=(0,i.Z)();return(0,r.jsxs)(o.Z,u({maxWidth:"lg",sx:{marginTop:10,textAlign:"center"}},{children:[(0,r.jsx)(a.Z,u({sx:{pb:2}},{children:(0,r.jsx)(s.Z,{})})),e&&(0,r.jsx)(c.Z,u({align:"center",variant:"h5",sx:{pb:1}},{children:e})),n&&(0,r.jsx)(c.Z,u({align:"center",sx:{color:l.palette.text.secondary}},{children:n}))]}))}l.defaultProps={title:null,subtitle:null}},88379:function(t,e,n){"use strict";var r,i;n.d(e,{$A:function(){return c},EK:function(){return s},Nq:function(){return r},bl:function(){return a},vU:function(){return i}}),function(t){t.SMALL_CLAIMS="small_claims",t.EVICTIONS="evictions",t.MECHANICS_LIENS="mechanics_liens",t.ARB
1ITRATION="arbitration",t.DIVORCE="divorce",t.PARKING="parking",t.BANKRUPTCY="bankruptcy"}(r||(r={})),function(t){t.GENERAL="general",t.AIRLINES="airlines",t.GYM="gym",t.HOME_WARRANTY="home_warranty",t.PROPERTY_MANAGER="property_manager",t.ECOMMERCE="ecommerce",t.TRAVEL="travel",t.AUTO="auto",t.RIDE_SHARE="ride_share",t.TELECOM="telecom",t.BANKING="banking"}(i||(i={}));var o,a,s=Object.values(i).filter((function(t){return t!==i.GENERAL&&i.AIRLINES}));function c(t){switch(t){case i.AIRLINES:return"Airline";case i.GYM:return"Gym";case i.HOME_WARRANTY:return"Home Warranty";case i.PROPERTY_MANAGER:return"Property Manager";case i.ECOMMERCE:return"Ecommerce";case i.AUTO:return"Auto";case i.TRAVEL:return"Travel";case i.RIDE_SHARE:return"Ride Share";case i.TELECOM:return"Telecom";case i.BANKING:return"Banking";default:case i.GENERAL:return"General Demand"}}!function(t){t.DEFENDANT_LOCATION="defendant_location",t.PROPERTY_LOCATION="property_location",t.INJURY_LOCATION="injury_location",t.ACCIDENT_LOCATION="accident_location",t.CONTRACT_LOCATION="contract_location",t.NONE="none"}(o||(o={})),function(t){t.TENANT="tenant",t.INJURY="injury",t.CONTRACT="contract",t.PROPERTY="property",t.OTHER="other",t.NO_CASE_TYPE="no_case_type"}(a||(a={}))}},function(t){t.O(0,[4636,1055,7192,5857,3243,5430,8256,6800,5641,2906,2752,6577,391,5837,1239,5899,3200,9
1107,9774,2888,179],(function(){return e=99623,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
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.