1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[994],{85623:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/document/[documentid]/checkout",function(){return t(10942)}])},73233:function(e,n){"use strict";n.Z={src:"/_next/static/media/faq.3734c517.png",height:620,width:463,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAAIVBMVEUAAABMaXEIAAIDAAEIAAAGAQKOITCqKDuGIC6+LUAKAgSlhtCLAAAAC3RSTlMsABY5CUhEcJTcQqdc4QYAAAAJcEhZcwAALEsAACxLAaU9lqkAAAAqSURBVHicFcGJEQAwCMMwm0Cf/RfuVaIYFKwocw8tsxeRafmS2NgWoko9DNgAamJBlgQAAAAASUVORK5CYII=",blurWidth:6,blurHeight:8}},58315:function(e,n,t){"use strict";t.d(n,{e4:function(){return d}});var r=t(98788),i=t(5163),o=t(96624),a=t(37469),s=t(41927),c=t(24423),u=t(65114),l=t(49857),d=function(e){var n="/api/app/documents/".concat(e,"/details"),t=(0,l.ZP)((function(){return e?(0,c.i3)(n):null}),(function(){return(0,o.f7)(n)})),r=t.data,i=t.error;return(null===r||void 0===r?void 0:r.error)||i?{error:(null===r||void 0===r?void 0:r.error)||i}:{data:r}};function p(){return(p=(0,r.Z)((function(e,n){return(0,i.__generator)(this,(function(t){return u.d.track(a.P.DOCUMENT,{type:n,status:"create",case_id:e}),[2,(0,o.TB)("/api/document/create",{case_id:e,type:n})]}))}))).apply(this,arguments)}function f(){return(f=(0,r.Z)((function(e){return(0,i.__generator)(this,(function(n){return[2,(0,o.f7)("/api/document/".concat(e))]}))}))).apply(this,arguments)}function h(){return(h=(0,r.Z)((function(e,n){return(0,i.__generator)(this,(function(t){return[2,(0,o.TB)("/api/document/get-or-create",{case_id:e,document_type:n})]}))}))).apply(this,arguments)}function x(){return(x=(0,r.Z)((function(e){return(0,i.__generator)(this,(function(n){return[2,(0,o.TB)("/api/document/".concat(e,"/edit"))]}))}))).apply(this,arguments)}function b(){return(b=(0,r.Z)((function(e){return(0,i.__generator)(this,(function(n){return[2,(0,o.TB)("/api/document/".concat(e,"/submit"))]}))}))).apply(this,arguments)}function v(){return(v=(0,r.Z)((function(e){return(0,i.__generator)(this,(function(n){return[2,(0,o.TB)("/api/document/".concat(e,"/approve"))]}))}))).apply(this,arguments)}function g(){return(g=(0,r.Z)((function(e){return(0,i.__generator)(this,(function(n){return[2,(0,o.TB)("/api/app/documents/".concat(e,"/complete"))]}))}))).apply(this,arguments)}function m(){return(m=(0,r.Z)((function(e,n){return(0,i.__generator)(this,(function(t){return[2,(0,o.TB)("/api/document/".concat(e,"/revision/request"),{revision_text:n})]}))}))).apply(this,arguments)}function y(){return y=(0,r.Z)((function(e){var n,t=arguments;return(0,i.__generator)(this,(function(r){return n=t.length>1&&void 0!==t[1]&&t[1],[2,(0,o.TB)("/api/document/".concat(e,"/prepare/review/submit"),{is_embedded:n})]}))})),y.apply(this,arguments)}function j(){return(j=(0,r.Z)((function(e){return(0,i.__generator)(this,(function(n){return[2,(0,o.TB)("/api/document/".concat(e,"/reset"))]}))}))).apply(this,arguments)}function _(){return(_=(0,r.Z)((function(e,n,t,r){return(0,i.__generator)(this,(function(i){return[2,(0,o.TB)("/api/app/documents/combine",{reference_id:e,reference_type:n,document_name:r,files:t,document_type:s.n_.USER_UPLOADED,file_suffix:"_user_uploaded"})]}))}))).apply(this,arguments)}function Z(){return(Z=(0,r.Z)((function(e,n,t,r){return(0,i.__generator)(this,(function(i){return[2,(0,o.TB)("/api/app/documents/combine",{reference_id:e,reference_type:n,document_name:r,files:t,document_type:s.n_.OTHER,file_suffix:"_combined_packet"})]}))}))).apply(this,arguments)}function w(){return(w=(0,r.Z)((function(e,n,t,r,a,s){return(0,i.__generator)(this,(function(i){return[2,(0,o.TB)("/api/app/documents/".concat(e,"/lawyer"),{skip:n,firstName:t,lastName:r,email:a,phone:s})]}))}))).apply(this,arguments)}function O(){return(O=(0,r.Z)((function(e){return(0,i.__generator)(this,(function(n){return[2,(0,o.TB)("/api/app/documents/".concat(e,"/email-apm"))]}))}))).apply(this,arguments)}n.ZP={getCheckoutInfo:function(e){var n="/api/app/documents/".concat(e,"/checkout"),t=(0,l.ZP)((function(){return e?(0,c.i3)(n):null}),(function(){return(0,o.f7)(n)})),r=t.data,i=t.error;return(null===r||void 0===r?void 0:r.error)||i?{error:(null===r||void 0===r?void 0:r.error)||i}:{data:r}},create:function(e,n){return p.apply(this,arguments)},combineFiles:function(e,n,t,r){return Z.apply(this,arguments)},complete:function(e){return g.apply(this,arguments)},getOrCreate:function(e,n){return h.apply(this,arguments)},requestRevision:function(e,n){return m.apply(this,arguments)},edit:function(e){return x.apply(this,arguments)},submit:function(e){return b.apply(this,arguments)},approve:function(e){return v.apply(this,arguments)},get:function(e){return f.apply(this,arguments)},uploadFiles:function(e,n,t,r){return _.apply(this,arguments)},submitDocumentPrepareReview:function(e){return y.apply(this,arguments)},reset:function(e){return j.apply(this,arguments)},requestLawyer:function(e,n,t,r,i,o){return w.apply(this,arguments)},emailApm:function(e){return O.apply(this,arguments)}}},18186:function(e,n,t){"use strict";t.d(n,{Q:function(){return a}});var r=t(2784),i=t(5632),o=t(13200),a=function(){var e=(0,o.useAuth)(),n=(0,i.useRouter)();return(0,r.useEffect)((function(){null===e.user&&n.push("/")}),[e,n]),e}},56317:function(e,n,t){"use strict";t.d(n,{Z:function(){return d}});var r=t(52322),i=t(30776),o=t(59452),a=t(71267),s=t(42761),c=t(89103),u=t
1(13200),l=t(77102);function d(e){var n=e.children;if((0,l.x)())return null;var t=(0,u.useAuth)(),d=(0,c.Yd)(null===t||void 0===t?void 0:t.user);return(0,r.jsx)(o.Z,{sx:{flexGrow:1,mx:3},children:(0,r.jsx)(a.Z,{position:"static",color:"transparent",elevation:0,children:(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":"/"})}),n&&(0,r.jsx)(s.ZP,{item:!0,display:"flex",justifyContent:"flex-start",alignItems:"center",children:n})]})})})}d.defaultProps={children:null}},11261:function(e,n,t){"use strict";t.d(n,{S:function(){return c}});var r=t(52322),i=t(56042),o=t(42761),a=t(40224),s=t(49107);function c(e){var n=e.description,t=e.hideMainAppBar;return(0,r.jsxs)(r.Fragment,{children:[!t&&(0,r.jsx)(s.Z,{}),(0,r.jsx)(i.Z,{maxWidth:"md",sx:{flexGrow:1,mb:2},children:(0,r.jsx)(o.ZP,{container:!0,justifyContent:"center",sx:{mt:4},children:(0,r.jsx)(o.ZP,{item:!0,xs:12,children:(0,r.jsx)(a.Z,{severity:"error",children:n})})})})]})}c.defaultProps={description:"Oops, something went wrong. Please reach out to live chat.",hideMainAppBar:!1}},3634:function(e,n,t){"use strict";t.d(n,{S:function(){return a}});var r=t(52322),i=t(79486),o=t(49107);function a(e){var n=e.hideMainAppBar,t=e.title,a=e.subtitle;return(0,r.jsxs)(r.Fragment,{children:[!n&&(0,r.jsx)(o.Z,{}),(0,r.jsx)(i.k,{title:t,subtitle:a})]})}a.defaultProps={hideMainAppBar:!1,title:null,subtitle:null}},10942:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return C}});var r=t(98788),i=t(70865),o=t(96670),a=t(5163),s=t(52322),c=t(26004),u=t(42761),l=t(56042),d=t(59452),p=t(39645),f=t(2367),h=t(5632),x=t(2784),b=t(35120),v=t(58315),g=t(4155),m=t(83951),y=t(56317),j=t(18186),_=t(32937),Z=t(11261),w=t(3634),O=t(7894),P=t(73233);function A(e){var n=e.header,t=e.questions,r=e.hideMobileHeader,i=e.hideDesktopHeader;return(0,s.jsx)(O.v,{header:n,questions:t,image:P.Z,hideMobileHeader:r,hideDesktopHeader:i})}A.defaultProps={header:"Questions? We have answers",questions:[{title:"How much does Dispute cost?",answer:[{text:"Pricing depends on the type of case you want to start and if you need an attorney or not. Our lowest options start at $19 and go up to $599."}]},{title:"What if I\u2019m not satisfied? What\u2019s the refund policy.",answer:[{text:"We strive for customer satisfaction, but if you need a refund, we have a detailed and fair refund policy. Check it out "},{text:"here",href:"/terms"},{text:"."}]},{title:"Can you advise me on my case?",answer:[{text:"Only an attorney can give legal advice and Dispute is not an attorney or law firm. However, for many case types, we do have a network of attorneys who can help. For supported cases, we\u2019ll show you this option and the cost after you enter some basic information about your case."}]},{title:"What makes Dispute different?",answer:[{text:"We\u2019re the only legal services company that works nationwide, is connected to the court system directly, and can handle so many different cases accurately. Our company and employees are based in the US and we don\u2019t hide behind vague words. Give us a try - we know you\u2019ll be happy you did."}]}],hideMobileHeader:!1,hideDesktopHeader:!1};var E=function(e){return"/document/".concat(e,"/checkout")};function C(){(0,j.Q)();var e=(0,c.Z)(),n=(0,_.Z)(),t=(0,h.useRouter)(),O=(0,x.useState)(null),P=O[0],C=O[1],S=(0,x.useState)(!0),R=S[0],k=S[1],I=t.query.documentid,T=v.ZP.getCheckoutInfo(I),D=T.data;if(T.error)return(0,s.jsx)(Z.S,{});if(!D)return(0,s.jsx)(w.S,{});var N=D.case_id,L=D.checkout,F=D.document_file_url,M=function(){var e=(0,r.Z)((function(e,r){var i,o,s,c;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:C(null),a.label=1;case 1:if(a.trys.push([1,5,,6]),!(i=L.pricing.find((function(n){return n.pricing_option.subscription===e}))))throw new b.x("Please select a pricing option");if(!(o=i.products.find((function(e){return JSON.stringify(r)===JSON.stringify(e.product_ids)}))))throw new b.x("Please choose an additional option");return[4,n.checkoutV2(I,N,o.product_ids,o.checkout_success_url,E(I),void 0,e)];case 2:return(s=a.sent()).redirect_url?[4,t.push(s.redirect_url)]:[3,4];case 3:return a.sent(),[2];case 4:if(s.error)throw new Error(s.error||"no error and no redirect_url returned");return[3,6];
1case 5:return c=a.sent(),C({type:"error",message:c.mesage||"Unknown issue occurred, please try again."}),[3,6];case 6:return[2]}}))}));return function(n,t){return e.apply(this,arguments)}}();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(y.Z,{}),(0,s.jsx)(u.ZP,{container:!0,sx:{backgroundColor:e.palette.background_grey.main,pt:[0,0,5,5],pb:[1,1,5,5]},children:(0,s.jsx)(l.Z,{maxWidth:"xl",sx:{px:[0,0,0,3]},children:(0,s.jsxs)(u.ZP,{container:!0,spacing:6,justifyContent:"center",children:[(0,s.jsx)(u.ZP,{item:!0,xs:12,md:6,lg:7,sx:(0,o.Z)((0,i.Z)({},p.$H),{mb:2,visibility:R?"hidden":"visible"}),children:(0,s.jsx)(g.G,{fileUrl:F,fileName:L.document_name,handleOnRender:function(){k(!1)},draftOverlaySize:600,pdfSize:1010,expanded:!0})}),(0,s.jsx)(u.ZP,{item:!0,xs:12,md:6,lg:5,children:(0,s.jsx)(m.O,{checkout:L,handlePurchase:M})})]})})}),(0,s.jsx)(d.Z,{sx:{backgroundColor:"white",pt:[2,2,5,5],pb:[15,15,5,5]},children:(0,s.jsx)(l.Z,{maxWidth:"xl",sx:{px:3},children:(0,s.jsx)(A,{header:"FAQs",hideMobileHeader:!0})})}),(0,s.jsx)(f.$,{message:null===P||void 0===P?void 0:P.message,color:null===P||void 0===P?void 0:P.type,open:null!==P})]})}},71396:function(e,n,t){"use strict";t.d(n,{t:function(){return O}});var r=t(52322),i=t(8415),o=t(40224),a=t(39432),s=t(7900),c=t(4843),u=function(){return u=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},u.apply(this,arguments)};function l(e){var n=e.banner;return(0,r.jsxs)(r.Fragment,{children:[n.title&&(0,r.jsxs)(c.Z,u({variant:"bolded"===n.title_type?"body2_bolded":"body1_bolded",component:"bolded"===n.title_type?"span":"p"},{children:[n.title," "]})),(0,r.jsx)(c.Z,u({variant:"body2",component:"span"},{children:n.message})),n.link&&(0,r.jsx)("a",u({href:n.link.url,target:n.link.target||"_self",rel:"noreferrer"},{children:(0,r.jsx)(s.Z,u({variant:"inherit",color:"inherit",underline:"always"},{children:(0,r.jsx)(c.Z,u({variant:"body2",component:"span"},{children:n.link.text}))}))}))]})}var d=function(){return d=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},d.apply(this,arguments)};function p(e){var n=e.banner;return(0,r.jsx)(o.Z,d({icon:(0,r.jsx)(a.Z,{fontSize:"small",sx:{color:"#5988FF"}}),severity:"info",sx:{borderLeft:2,border:"1px solid",borderLeftColor:"#5988FF",borderLeftWidth:4,borderRadius:1,color:"black",backgroundColor:"white",borderColor:"#5988FF"}},{children:(0,r.jsx)(l,{banner:n})}))}var f=t(89025),h=function(){return h=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},h.apply(this,arguments)};function x(e){var n=e.banner;return(0,r.jsx)(o.Z,h({icon:(0,r.jsx)(f.Z,{fontSize:"small",sx:{color:"#5988FF"}}),severity:"info",sx:{borderLeft:2,border:"1px solid",borderTop:"none",borderBottom:"none",borderRight:"none",borderLeftColor:"#5988FF",borderLeftWidth:4,borderRadius:1,color:"black",backgroundColor:"rgba(89, 136, 255, 0.1)",width:"100%"}},{children:(0,r.jsx)(l,{banner:n})}))}var b=function(){return b=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},b.apply(this,arguments)};function v(e){var n=e.banner;return(0,r.jsx)(o.Z,b({icon:(0,r.jsx)(f.Z,{fontSize:"small",sx:{color:"#F44336"}}),severity:"error",sx:{borderLeft:2,border:"1px solid",borderTop:"none",borderBottom:"none",borderRight:"none",borderLeftColor:"#F44336",borderLeftWidth:4,borderRadius:1,color:"black"}},{children:(0,r.jsx)(l,{banner:n})}))}var g=t(26004),m=t(28402),y=function(){return y=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},y.apply(this,arguments)};function j(e){var n=e.banner,t=(0,g.Z)();return(0,r.jsx)(o.Z,y({icon:(0,r.jsx)(m.Z,{fontSize:"small",sx:{color:t.palette.warning.main}}),severity:"warning",sx:{borderLeft:2,border:"1px solid",borderTop:"none",borderBottom:"none",borderRight:"none",borderLeftColor:t.palette.warning.main,borderLeftWidth:4,borderRadius:1,color:"black",width:"100%"}},{children:(0,r.jsx)(l,{banner:n})}))}var _=t(66453),Z=function(){return Z=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},Z.apply(this,arguments)};function w(e){var n=e.banner;return(0,r.jsx)(o.Z,Z({icon:(0,r.jsx)(_.Z,{fontSize:"small",sx:{color:"#009688"}}),severity:"success",sx:{borderLeft:2,border:"1px solid",borderTop:"none",borderBottom:"none",borderRight:"none",borderLeftColor:"#009688",borderLeftWidth:4,borderRadius:1,color:"black",width:"100%",backgroundColor:"rgba(0, 150, 136, 0.2)"}},{children:(0,r.jsx)(l,{banner:n})}))}function O(e){var n=e.banner;switch(n.type){case i.$.HELP:return(0,r.jsx)(p,{banner:n});case i.$.INFO:return(0,r.jsx)(x,{banner:n});case i.$.SUCCESS:return(0,r.jsx)(w,{banner:n});case i.$.WARNING:return(0,r.jsx)(j,{banner:n});case i.$.ERROR:return(0,r.jsx)(v,{banner:n});default:return null}}},43189:function(e,n,t){"use strict";t.d(n,{t:function(){return d}});var r=t(52322),i=t(26004),o=t(71237),a=t(41087),s=t(59452),c=t(8242),u=function(){return u=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},u.apply(this,arguments)},l=function(e){return"end"===e?{}:{px:1.5}};function d(e){var n=e.key,t=e.value,c=e.label,d=e.labelPlacement,p=e.onChange,f
1=e.selected,h=e.disabled,x=e.checkedIcon,b=e.sx,v=(0,i.Z)();return(0,r.jsx)(o.Z,{labelPlacement:d,sx:u({margin:0,bgcolor:"white",border:"1px solid",borderRadius:"3px",width:"100%",borderColor:f?v.palette.primary.main:"#D0D0D0",pr:2,py:.5,minWidth:184},b),disabled:h,value:t,control:(0,r.jsx)(a.Z,{size:"small",checkedIcon:x,checked:f},t),label:(0,r.jsx)(s.Z,u({sx:u({},l(d||"end"))},{children:c})),onChange:p},n)}d.defaultProps={selected:!1,disabled:!1,sx:{},checkedIcon:(0,r.jsx)(c.Z,{}),labelPlacement:"end"}},25836:function(e,n,t){"use strict";t.d(n,{S:function(){return a}});var r=t(52322),i=t(42761),o=function(){return o=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},o.apply(this,arguments)};function a(e){var n=e.children,t=e.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},t)},{children:o({},n)}))}a.defaultProps={sx:{}}},2332:function(e,n,t){"use strict";t.d(n,{H:function(){return y}});var r=t(52322),i=t(26004),o=t(60490),a=t(42761),s=t(71237),c=t(41087),u=t(18177),l=t(59452),d=t(4843),p=t(4866),f=t(16405),h=t(72053),x=t(96221),b=t(93553),v=t(2784),g=t(12804),m=function(){return m=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},m.apply(this,arguments)};function y(e){var n,t=e.pricingAddons,y=e.defaultPricingOption,j=e.handleSelectedProducts,_=e.handleBannerMessage,Z=(0,v.useState)(),w=Z[0],O=Z[1],P=(0,v.useState)(),A=P[0],E=P[1],C=(0,i.Z)();(0,v.useEffect)((function(){var e=t.find((function(e){return e.pricingOption===y}));e&&(E(e),O(e.addonItems[0].productIds))}),[y]),(0,v.useEffect)((function(){w&&j(w)}),[w]);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(o.Z,m({value:w,onChange:function(e){O(e.target.value.split(","))}},{children:(0,r.jsx)(a.ZP,m({container:!0,justifyContent:"space-between"},{children:null===(n=null===A||void 0===A?void 0:A.addonItems)||void 0===n?void 0:n.map((function(e,n){var t,i;return(0,r.jsxs)(a.ZP,m({item:!0,xs:12},{children:[(0,r.jsx)(s.Z,{labelPlacement:"start",value:e.productIds,onChange:function(){_((null===e||void 0===e?void 0:e.bannerMessage)||"")},control:(0,r.jsx)(c.Z,{size:"small",checked:JSON.stringify(w)===JSON.stringify(e.productIds)},e.productTitle),sx:{p:0,m:0,width:"100%",".MuiTypography-root":{width:"100%"}},label:(0,r.jsxs)(u.Z,m({direction:"row",justifyContent:"space-between",alignItems:"center"},{children:[(0,r.jsxs)(l.Z,m({sx:{width:"100%"}},{children:[(0,r.jsx)(d.Z,m({variant:"body2"},{children:e.productTitle})),(0,r.jsx)(p.Z,m({disablePadding:!0,sx:{width:"100%"}},{children:null===(t=e.features)||void 0===t?void 0:t.map((function(n,t){return(0,r.jsxs)(f.ZP,m({disableGutters:!0,disablePadding:!0,sx:{pb:t<e.features.length-1?1:0}},{children:[(0,r.jsx)(h.Z,m({sx:{color:C.palette.text.secondary,minWidth:0,pr:1}},{children:(0,r.jsx)(b.Z,{fontSize:"inherit"})})),(0,r.jsx)(g.Z,{primary:n,primaryTypographyProps:{variant:"body2"},sx:{color:C.palette.text.secondary}})]}),n)}))}))]})),e.price&&(0,r.jsx)(l.Z,m({justifyContent:"center",flexDirection:"column",display:"flex",sx:{width:"100%"}},{children:(0,r.jsx)(d.Z,m({align:"right",variant:"body2_bolded",component:"p"},{children:e.price}))}))]}))},e.productTitle),n<(null===(i=null===A||void 0===A?void 0:A.addonItems)||void 0===i?void 0:i.length)-1&&(0,r.jsx)(x.Z,{sx:{width:"100%",mt:1,mb:1.5}})]}))}))}))}))})}},83951:function(e,n,t){"use strict";t.d(n,{O:function(){return g}});var r=t(52322),i=t(59452),o=t(42761),a=t(4843),s=t(39645),c=t(71396),u=t(29046),l=t(25836),d=t(8415),p=t(2784),f=t(2332),h=t(44445),x=function(){return x=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},x.apply(this,arguments)},b=function(e,n,t,r){return new(t||(t=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(n){o(n)}}function s(e){try{c(r.throw(e))}catch(n){o(n)}}function c(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(a,s)}c((r=r.apply(e,n||[])).next())}))},v=function(e,n){var t,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
1function s(o){return function(s){return function(o){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=n.call(e,a)}catch(s){o=[6,s],r=0}finally{t=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};function g(e){var n=this,t=e.checkout,g=e.handlePurchase,m=e.defaultSubscription,y=function(e){var n,t,r,i=(null===(n=e.pricing)||void 0===n?void 0:n.map((function(e){return{id:e.pricing_option.subscription,value:e.pricing_option.subscription,title:e.pricing_option.option.name,subtitle:[e.pricing_option.option.price]}})))||[],o=(null===(t=e.pricing)||void 0===t?void 0:t.map((function(e){return{value:e.pricing_option.subscription,pricing:{strikeThroughPrice:e.pricing_option.pricing.comparison_price,price:e.pricing_option.pricing.price,savings:e.pricing_option.pricing.savings},features:e.pricing_option.features}})))||[],a=(null===(r=e.pricing)||void 0===r?void 0:r.map((function(e){var n;return{pricingOption:e.pricing_option.subscription,addonItems:null===(n=e.products)||void 0===n?void 0:n.map((function(e){return{productTitle:e.product_name,price:e.price,features:e.features,productIds:e.product_ids,bannerMessage:e.banner_message}}))}})))||[];return{comparisonOptions:i,pricingItems:o,addons:a}}(t),j=(0,p.useState)(m||y.comparisonOptions[0].value),_=j[0],Z=j[1],w=(0,p.useState)(),O=w[0],P=w[1],A=(0,p.useState)(!1),E=A[0],C=A[1],S=(0,p.useState)(""),R=S[0],k=S[1],I=function(){return b(n,void 0,void 0,(function(){var e;return v(this,(function(n){switch(n.label){case 0:C(!0),n.label=1;case 1:return n.trys.push([1,3,4,5]),[4,g(_,O||[])];case 2:return n.sent(),[3,5];case 3:return e=n.sent(),console.error(e),[3,5];case 4:return C(!1),[7];case 5:return[2]}}
1))}))};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z,x({sx:{backgroundColor:"white",justifyContent:"center",p:3,borderRadius:[0,0,1,1]}},{children:(0,r.jsx)(h.A,{pricingItems:y.pricingItems,comparisonOptions:y.comparisonOptions,defaultPricingOption:_,handlePricingOptionChange:function(e){Z(e)}})})),(0,r.jsxs)(i.Z,x({sx:{backgroundColor:"white",justifyContent:"center",px:3,pb:[2,2,3,3],pt:[2,2,0,0],borderRadius:[0,0,1,1],mt:[1,1,0,0]}},{children:[(0,r.jsx)(o.ZP,x({container:!0,sx:x({},s.Lf)},{children:(0,r.jsx)(a.Z,x({variant:"body1_bolded",component:"p"},{children:"Select additional options"}))})),(0,r.jsx)(f.H,{pricingAddons:y.addons,defaultPricingOption:_,handleSelectedProducts:function(e){P(e)},handleBannerMessage:function(e){k(e)}}),(0,r.jsxs)(o.ZP,x({container:!0,sx:x(x({mt:5},s.Lf),{width:"100%"})},{children:[R&&(0,r.jsx)(i.Z,x({sx:{mb:2,width:"100%"}},{children:(0,r.jsx)(c.t,{banner:{type:d.$.INFO,message:R}})})),(0,r.jsx)(u.U,{fullWidth:!0,text:"Continue",onClick:I,size:"large",disabled:!1,loading:E})]}))]})),(0,r.jsx)(l.S,x({sx:x({},s.r4)},{children:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(o.ZP,x({container:!0,sx:{px:3,width:"100%"}},{children:[(0,r.jsx)(i.Z,x({sx:{mb:2,width:"100%"}},{children:R&&(0,r.jsx)(c.t,{banner:{type:d.$.INFO,message:R}})})),(0,r.jsx)(u.U,{fullWidth:!0,text:"Continue",onClick:I,size:"large",disabled:!1,loading:E})]}))})}))]})}g.defaultProps={defaultSubscription:null}},44445:function(e,n,t){"use strict";t.d(n,{A:function(){return g}});var r=t(52322),i=t(2784),o=t(26004),a=t(42761),s=t(4866),c=t(16405),u=t(72053),l=t(12804),d=t(42713),p=t(40458),f=t(4843),h=t(59452),x=function(){return x=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},x.apply(this,arguments)};function b(e){var n=e.pricing,t=(0,o.Z)();return(0,r.jsxs)(a.ZP,x({container:!0,columnSpacing:1},{children:[(0,r.jsx)(a.ZP,x({item:!0,hidden:!n.strikeThroughPrice},{children:(0,r.jsx)(f.Z,x({component:"p",sx:{textDecoration:"line-through",color:t.palette.secondary.main}},{children:n.strikeThroughPrice}))})),(0,r.jsx)(a.ZP,x({item:!0},{children:(0,r.jsx)(f.Z,x({variant:"body1_bolded",component:"p"},{children:n.price}))})),(0,r.jsx)(a.ZP,x({item:!0,hidden:!n.savings,sx:{justifyContent:"center",display:"flex",flexDirection:"column"}},{children:(0,r.jsx)(h.Z,x({sx:{backgroundColor:"black",px:1,borderRadius:1}},{children:(0,r.jsx)(f.Z,x({component:"p",color:"white",variant:"body2"},{children:n.savings}))}))}))]}))}var v=function(){return v=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},v.apply(this,arguments)};function g(e){var n=e.comparisonOptions,t=e.pricingItems,f=e.defaultPricingOption,h=e.handlePricingOptionChange,x=(0,o.Z)(),g=(0,i.useState)(),m=g[0],y=g[1];return(0,i.useEffect)((function(){var e=t.find((function(e){return e.value===f}));e&&y(e)}),[f]),(0,r.jsxs)(a.ZP,v({container:!0,rowSpacing:1},{children:[(null===n||void 0===n?void 0:n.length)>1&&(0,r.jsx)(a.ZP,v({item:!0,xs:12},{children:(0,r.jsx)(p.i,{defaultValue:null===m||void 0===m?void 0:m.value,setValue:h,radioItems:n,direction:"row",labelPlacement:"end"})})),(0,r.jsx)(a.ZP,v({item:!0,xs:12},{children:(0,r.jsx)(b,{pricing:(null===m||void 0===m?void 0:m.pricing)||t[0].pricing})})),(0,r.jsx)(a.ZP,v({item:!0,xs:12},{children:(0,r.jsx)(s.Z,v({disablePadding:!0,sx:{width:"100%"}},{children:null===m||void 0===m?void 0:m.features.map((function(e,n){return(0,r.jsxs)(c.ZP,v({disableGutters:!0,disablePadding:!0,sx:{pb:n<m.features.length-1?1:0}},{children:[(0,r.jsx)(u.Z,v({sx:{color:x.palette.text.secondary,minWidth:0,pr:1}},{children:(0,r.jsx)(d.Z,{fontSize:"inherit"})})),(0,r.jsx)(l.Z,{primary:e,primaryTypographyProps:{variant:"body2"},sx:{color:x.palette.text.secondary}})]}),e)}))}))}))]}))}},7894:function(e,n,t){"use strict";t.d(n,{v:function(){return y}});var r=t(52322),i=t(34109),o=t(48936),a=t(39831),s=t(63655),c=t(18177),u=t(4843),l=t(42761),d=t(59452),p=t(39645),f=t(96577),h=t.n(f),x=t(26004),b=t(2784),v=function(){return v=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},v.apply(this,arguments)};function g(e){var n=e.answer,t=(0,x.Z)();return(0,r.jsx)(r.Fragment,{children:n.map((function(e){return(0,r.jsx)(b.Fragment,{children:void 0!==e.href?(0,r.jsx)("a",v({href:e.href,target:"_blank",rel:"noreferrer"},{children:(0,r.jsx)(u.Z,v({variant:"body2",component:"span",sx:{color:t.palette.secondary.main,textDecoration:"underline"}},{children:e.text}))})):(0,r.jsx)(u.Z,v({variant:"body2",component:"span",sx:{color:t.palette.secondary.main}},{children:e.text}))},e.text)}))})}var m=function(){return m=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},m.apply(this,arguments)};function y(e){var n=e.header,t=e.questions,f=e.image,x=e.hideMobileHeader,b=e.hideDesktopHeader;return(0,r.jsxs)(l.ZP,m({container:!0,justifyContent:"space-between",id:"faq-content"},{children:[(0,r.jsx)(l.ZP,m({item:!0,xs:4,sx:m({},p.Lf)},{children:(0,r.jsxs)(c.Z,{children:[!b&&(0,r.jsx)(u.Z,m({variant:"h4",component:"h1",sx:{textAlign:"start",mb:5}},{children:n})),(0,r.jsx)(d.Z,m({sx:{backgroundColor:"inherit",color:"inherit"}},{children:(0,r.jsx)(h(),{src:f,height:154,width:115})}))]})})),(0,r.jsxs)(l.ZP,m({item:!0,xs:12,md:8},{children:[!x&&(0,r.jsx)(l.ZP,m({container:!0,sx:m({},p.r4)},{children:(0,r.jsx)(u.Z,m({variant:"h4",component:"h1",sx:{textAlign:"center"}},{children:n}))})),t.map((function(e,n){return(0,r.jsxs)("div",{children:[(0,r.jsx)(l.ZP,m({item:!0,xs:12},{children:(0,r.jsxs)(i.Z,m({disableGutters:!0,sx:{backgroundColor:"inherit",".MuiAccordion-root:before":{backgroundColor:"grey"},boxShadow:"none"}},{children:[(0,r.jsx)(o.Z,m({expandIcon:(0,r.jsx)(s.Z,{}),"aria-controls":"panel1a-content",id:"panel1a-header",sx:{p:0,py:1}}
1,{children:(0,r.jsx)(d.Z,m({sx:{display:"flex",alignItems:"center"}},{children:(0,r.jsx)(u.Z,m({variant:"body1_bolded",component:"p"},{children:e.title}))}))})),(0,r.jsx)(a.Z,m({sx:{p:0,pb:2}},{children:(0,r.jsx)(g,{answer:e.answer})}))]}))}),e.title),n<t.length-1&&(0,r.jsx)(l.ZP,m({container:!0},{children:(0,r.jsx)(l.ZP,{item:!0,xs:12,sx:{borderBottom:"1px solid #D0D0D0"}})}))]},e.title)}))]}))]}))}y.defaultProps={hideMobileHeader:!1,hideDesktopHeader:!1}},40458:function(e,n,t){"use strict";t.d(n,{i:function(){return x}});var r=t(52322),i=t(43189),o=t(26004),a=t(43400),s=t(60490),c=t(42761),u=t(96625),l=t(18177),d=t(59452),p=t(4843),f=t(43589),h=function(){return h=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},h.apply(this,arguments)};function x(e){var n=e.radioItems,t=e.setValue,x=e.defaultValue,b=e.direction,v=e.labelPlacement,g=(0,o.Z)(),m="row"===b,y=(0,a.Z)(g.breakpoints.down("md"));return(0,r.jsx)(s.Z,h({row:m,value:x,onChange:function(e){return t(e.target.value)}},{children:(0,r.jsx)(c.ZP,h({container:!0,justifyContent:"space-between",rowSpacing:2,columnSpacing:1},{children:n.map((function(e){var t,o;return(0,r.jsxs)(c.ZP,h({item:!0,xs:m?12/n.length:12},{children:[e.highlight&&(0,r.jsx)(u.Z,{label:e.highlight,color:"primary",size:"small",sx:{position:"relative",zIndex:1,top:12,left:16}}),(0,r.jsx)(i.t,{checkedIcon:(0,r.jsx)(f.Z,{}),value:e.value,labelPlacement:v,label:(0,r.jsxs)(l.Z,h({justifyContent:"space-between",direction:m?"column":"row"},{children:[(0,r.jsxs)(d.Z,{children:[(0,r.jsx)(p.Z,h({variant:y&&m?"body2":m?"body1":"body1_bolded",component:"p"},{children:e.title})),null===(t=e.description)||void 0===t?void 0:t.map((function(e){return(0,r.jsx)(p.Z,h({color:g.palette.text.secondary,variant:"body2"},{children:e}),e)}))]}),(0,r.jsx)(d.Z,{children:null===(o=e.subtitle)||void 0===o?void 0:o.map((function(e){return(0,r.jsx)(p.Z,h({variant:m?"body2_bolded":"body1_bolded",component:"p"},{children:e}),e)}))})]})),onChange:function(){},sx:{minWidth:0,pr:m?0:2,py:m?1:2,".MuiTypography-root":{width:"100%"}},selected:e.value===x},e.id)]}),e.id)}))}))}))}x.defaultProps={direction:"column",labelPlacement:"end"}},33033:function(e,n,t){"use strict";t.d(n,{i:function(){return c}});var r=t(52322),i=t(40249),o=t(59452),a=t(2784),s=function(){return s=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},s.apply(this,arguments)};function c(e){var n=e.fileUrl,t=e.handleOnRender,c=e.draftOverlaySize,u=e.pdfSize,l=(0,a.useState)(1),d=l[0],p=l[1];return(0,a.useEffect)((function(){i.v0.GlobalWorkerOptions.workerSrc="//cdnjs.cloudflare.com/ajax/libs/pdf.js/".concat(i.v0.version,"/pdf.worker.js")}),[]),(0,r.jsx)(i.BB,s({file:n,onLoadSuccess:function(e){return function(e){var n=e.numPages;p(n),t()}(e)},onContextMenu:function(e){return e.preventDefault()}},{children:Array.from(Array(d)).map((function(e,n){return(0,r.jsx)(o.Z,s({sx:{mb:2}},{children:(0,r.jsx)(i.T3,s({sx:{zIndex:0},pageNumber:n+1,height:u},{children:(0,r.jsx)(o.Z,s({sx:{zIndex:1,position:"absolute",left:"50%",transform:"translateX(-50%)",top:"10%"}},{children:(0,r.jsx)("img",{src:"/draft.png",width:c,alt:"draft"})}))}))}))}))}))}},4155:function(e,n,t){"use strict";t.d(n,{G:function(){return x}});var r=t(52322),i=t(26004),o=t(59452),a=t(34109),s=t(48936),c=t(42761),u=t(4843),l=t(39831),d=t(63655),p=t(9128),f=t(33033),h=function(){return h=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},h.apply(this,arguments)};function x(e){var n=e.fileUrl,t=e.fileName,x=e.draftOverlaySize,b=e.pdfSize,v=e.handleOnRender,g=e.expanded,m=(0,i.Z)();return(0,r.jsx)(o.Z,h({sx:{borderRadius:1,width:"100%",maxWidth:b}},{children:(0,r.jsxs)(a.Z,h({disableGutters:!0,expanded:g,sx:{boxShadow:"0",border:"1px solid",borderColor:m.palette.divider}},{children:[(0,r.jsx)(s.Z,h({expandIcon:(0,r.jsx)(d.Z,{}),"aria-controls":"panel1a-content",sx:{px:[.5,2],".MuiGrid-root":{borderBottom:"none"}}},{children:(0,r.jsxs)(c.ZP,h({container:!0,sx:{backgroundColor:"white",borderBottom:"1.38424px s
1olid #D0D0D0"}},{children:[(0,r.jsx)(p.Z,{sx:{color:m.palette.secondary.main}}),(0,r.jsx)(u.Z,h({sx:{ml:1}},{children:t}))]}))})),(0,r.jsx)(l.Z,h({sx:{borderTop:"1px solid",borderColor:m.palette.divider,height:b,overflow:"scroll",overflowY:"scroll",overflowX:"hidden",display:"flex",justifyContent:"center"}},{children:(0,r.jsx)(f.i,{fileUrl:n,handleOnRender:v,draftOverlaySize:x,pdfSize:b})}))]}))}))}},79486:function(e,n,t){"use strict";t.d(n,{k:function(){return l}});var r=t(52322),i=t(26004),o=t(56042),a=t(59452),s=t(52274),c=t(4843),u=function(){return u=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},u.apply(this,arguments)};function l(e){var n=e.title,t=e.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,{})})),n&&(0,r.jsx)(c.Z,u({align:"center",variant:"h5",sx:{pb:1}},{children:n})),t&&(0,r.jsx)(c.Z,u({align:"center",sx:{color:l.palette.text.secondary}},{children:t}))]}))}l.defaultProps={title:null,subtitle:null}},8415:function(e,n,t){"use strict";var r;t.d(n,{$:function(){return r}}),function(e){e.WARNING="warning",e.INFO="info",e.HELP="help",e.SUCCESS="success",e.ERROR="error"}(r||(r={}))},41927:function(e,n,t){"use strict";var r,i;t.d(n,{Uo:function(){return r},n_:function(){return o}}),function(e){e.FIREBASE="firebase",e.DOCSPRING="docspring"}(r||(r={})),function(e){e.DRAFTING="drafting",e.DRAFTING_COMPLETE="drafting_complete",e.RENDERING="rendering",e.RENDERING_COMPLETE="rendering_complete",e.OWNER_APPROVED="owner_approved",e.COMPLETED="completed",e.READY="ready",e.AGENT_APPROVED="agent_approved",e.SENDING="sending",e.SENT="sent",e.DELIVERED="delivered",e.IN_PROGRESS="in_progress",e.NOT_STARTED="not_started",e.PURCHASED="purchased"}(i||(i={}));var o;i.AGENT_APPROVED,i.SENDING,i.SENT,i.DELIVERED,i.SENT,i.SENDING,i.DELIVERED,i.COMPLETED;!function(e){e.DEMAND_LETTER="demand_letter",e.FILE_SMALL_CLAIMS="file_small_claims",e.FILE_SMALL_CLAIMS_COURT_APPROVED="file_small_claims_court_approved",e.DEFENDANT_SERVICE_PROOF_OF_SERVICE="defendant_service_proof_of_service",e.DEFENDANT_PROOF_OF_MILITARY_STATUS="defendant_proof_of_military_status",e.INCORPORATION_FORMATION="incorporation_formation",e.INCORPORATION_FORMATION_CANCEL="incorporation_formation_cancel",e.COURT_APPROVED_PAPERWORK_USER_UPLOAD="court_approved_paperwork_user_upload",e.PDF_GENERATION="pdf_generation",e.USER_UPLOADED="user_uploaded",e.OTHER="other"}(o||(o={}))},35120:function(e,n,t){"use strict";t.d(n,{x:function(){return o}});var r=t(5567),i=function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},e(n,t)};return function(n,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),o=function(e){function n(t,i){var o=e.call(this,t)||this;return o.apiErrorType=i||r.e.UNKNOWN,Object.setPrototypeOf(o,n.prototype),o}return i(n,e),n.prototype.getApiErrorType=function(){return this.apiErrorType},n}(Error)},44505:function(){},64160:function(){},66115:function(){},90922:function(){},89728:function(){}},function(e){e.O(0,[4636,1055,7192,1859,5857,3243,5430,8256,6800,5641,2906,2752,6577,391,5837,1239,5899,1074,544,2874,9613,6680,3200,9107,4632,9774,2888,179],(function(){return n=85623,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.