PageSourceSearch

https://www.lawinsider.com/static/assets/auth-view-TrialConfirmedDialogView.e83f0442c7.js

js lawinsider.com collected 2026-10-01 08:42:55 UTC 10,540 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunklawinsidercontracts||=[]).push([[5358],{9594(e,i,a){a.d(i,{A:()=>s});var r=a(6942),n=a.n(r),l=a(9698);function s({children:e,className:i,size:a="sm"}){return(0,l.Y)("div",{className:n()({[`view view--${a}`]:a,[i]:i}),children:e})}},2583(e,i,a){a.d(i,{Qt:()=>y,eF:()=>I,Ay:()=>C,ju:()=>v});var r=a(6942),n=a.n(r),l=a(9869),s=a(2109),c=a(4918),t="ZOPDrfuPtb",d="_s1C6D9Ebl",o="jWmkt359mc",h="ZfT5HAB5x2",m="MlG2xkUn4e",u="Ztcd780i88",p=a(8028),D=a(5391),N=a(9028),g=a(9698);const F={month:"mo",year:"yr"},f={day:"numeric",month:"short"};function Y(e){const i=new Date;return i.setDate(i.getDate()+e),i.toLocaleDateString(void 0,f)}function y(){return(0,g.Y)("span",{"aria-hidden":"true",className:"fnN0unzFTK",children:"∞"})}const A={description:"Install the Law Insider Word Add-in, powered by SimpleAI, and go unlimited across all three products",logo:"/images/common/simple-ai-logo.svg",logoAlt:"SimpleAI",name:"Pro",products:[{description:"Unlimited chats: draft, review, and research in your browser",highlighted:!0,mobileDescription:"Draft, review & redline",name:"AI Assistant"},{description:"Unlimited searches and downloads across 5M+ contracts",logo:"/images/common/logo.svg",mobileDescription:"Database search • 200M+ clauses",name:"Law Insider"},{description:"Unlimited MS Word Add-in: redline, risk review, playbooks",logo:"/images/common/simple-ai-logo.svg",mobileDescription:"MS Word Add-in",name:"SimpleAI"}],stripTitle:"Unlimited access to all three"};function v(e=s.fs){var i;const{currency:a,discountRawPrices:r,products:n,rawPrices:t,shouldShowIntroductoryPrice:d,trialPeriods:o,trialPrices:h}=(0,l.useContext)(p.A),m=n[e];if(!m)return null;const u=d(e),D=u?o[e]:0,N=u?h[e]:null,g=Math.max(null!=(i=r?.[e])?i:t[e],0);return{firstChargeDate:Y(D),interval:m.interval,intervalShort:F[m.interval]||m.interval,price:(0,c.vv)(g,a),trialDays:D,trialFree:u&&0===N,trialPrice:u?(0,c.vv)(N,a):null}}function w({checked:e,highlighted:i,logo:a,name:r}){return e?(0,g.Y)("i",{className:"check green"}):i?(0,g.Y)("span",{className:"jDPPqWNOth text-nowrap",children:(0,g.Y)(N.A,{showIcon:!0,children:r})}):(0,g.Y)("img",{alt:r,className:"uj4qDcHG_m",src:a})}function k({checkout:e,products:i,title:a}){return(0,g.FD)("div",{className:n()("DZGjeaOa_T",{[d]:i.every(({checked:e})=>e)}),children:[e&&(0,g.Y)("b",{className:"sdPW22EnVS",children:a}),(0,g.Y)("dl",{className:"no-margin",children:i.map(({checked:e,description:i,highlighted:a,logo:r,mobileDescription:n,name:l})=>(0,g.FD)("div",{children:[(0,g.Y)("dt",{className:"no-margin",children:(0,g.Y)(w,{checked:e,highlighted:a,logo:r,name:l})}),(0,g.FD)("dd",{className:"no-margin",children:[(0,g.Y)("span",{className:"iVMAzBPbCs",children:i}),(0,g.Y)("span",{className:"AfaCeWLlAP",children:n})]})]},l))})]})}function b({checkout:e,offer:i,priceInfo:a}){const r=(0,g.FD)(g.FK,{children:[e&&(0,g.Y)("span",{className:"GQTkoEqPJ_",children:"Due today"}),(0,g.Y)("span",{className:"K7Y6wqDvTx",children:(0,g.Y)("b",{children:i.dueToday||i.trialPrice||i.price})})]});return i.trialDays?(0,g.FD)("div",{className:"b4e2LJ4tdx",children:[(0,g.FD)("p",{className:u,children:[r,(0,g.FD)("span",{className:o,children:["today",a]}),(0,g.Y)("span",{className:`${o} ${h}`,children:"·"}),(0,g.FD)("span",{className:o,children:["then ",i.price," per ",i.interval]})]}),e&&(0,g.FD)("p",{className:"wYOo91JINg",children:["Card required · first payment ",i.price," on ",i.firstChargeDate," ","· cancel any time before"]})]}):(0,g.FD)("p",{className:u,children:[r,(0,g.FD)("span",{children:["/",i.intervalShort]}),e&&(0,g.FD)(g.FK,{children:[(0,g.Y)("span",{className:`${o} ${h}`,children:"·"}),(0,g.FD)("span",{className:o,children:["due today",a]})]})]})}function P({offer:e,planName:i}){return(0,g.FD)("span",{className:"hH58LM1CuK text-nowrap",children:[i,e.trialDays>0&&(0,g.FD)(g.FK,{children:[(0,g.FD)("span",{children:[" ","· ",e.trialFree&&"FREE ",e.trialDays,"-DAY TRIAL"]}),(0,g.FD)("span",{className:"EeoP493VCh",children:[(0,g.Y)("span",{"aria-hidden":"true",children:"·"}),e.trialFree&&(0,g.Y)("span",{className:"BsnAeru5Nu",children:"FREE"}),(0,g.FD)("span",{children:[e.trialDays," DAYS"]})]})]})]})}function I({children:e,termsLabel:i="see terms"}){return(0,g.FD)("details",{className:"uwjK3zPe5B",children:[(0,g.FD)("summary",{children:[null!=e?e:(0,g.FD)(g.FK,{children:[(0,g.FD)("b",{children:[30,"-day money-back guarantee"]})," ·"," "]}),(0,g.Y)("span",{className:"CfiyHNGHnA",children:i})]}
1),(0,g.FD)("p",{children:["Not right for you? Contact"," ",(0,g.Y)("a",{href:s.A.CONTACT_SUPPORT,...s.Js,children:"support"})," ","within ",30," days of your first payment for a full refund."]})]})}function C({action:e,checkout:i=!1,className:a,consent:r,moneyBackGuarantee:l=!0,offer:s,onAction:c,options:d,plan:o=A,priceAction:h,priceInfo:u,security:p}){const N=v(),F=s||N,{description:f,logo:Y,logoAlt:w,mobileDescription:C,name:T,products:E,stripTitle:_}=o,S=Boolean(F.trialDays);let M=`Upgrade to ${T}`;S&&(M=F.trialFree?"Start free trial":"Start trial");let R=C;return R||(R=F.trialFree?`Unlimited AI Assistant, database and the Word Add-in. Card required, nothing charged for ${F.trialDays} days.`:"Unlimited AI Assistant, database search and the Word Add-in."),(0,g.FD)("section",{className:n()("ANb_3sUxCi","text-left",a,{[t]:i}),children:[(0,g.FD)("div",{className:"iYCe9Xom8V",children:[(0,g.Y)("img",{alt:w,className:m,src:Y}),(0,g.Y)(P,{offer:F,planName:T})]}),(0,g.Y)("div",{className:"Wdgr4TCn37",children:S?(0,g.FD)(g.FK,{children:[(0,g.Y)("span",{className:"highlight-price",children:F.trialFree?"FREE":F.trialPrice}),(0,g.FD)("span",{children:[F.trialDays,"-day trial · card required"]})]}):(0,g.Y)("img",{alt:w,className:m,src:Y})}),(0,g.Y)("p",{className:"O8MtmyZfi4",children:f}),(0,g.FD)("div",{className:"vM_9DryNG2",children:[(0,g.Y)("p",{className:"W_GiY6t_jP no-margin",children:R}),(0,g.Y)(k,{checkout:i,products:E,title:_}),d&&(0,g.Y)("div",{className:"Mzo4Zn9lif",children:d}),(0,g.FD)("div",{className:"bUpmE0KdMJ",children:[(0,g.Y)(b,{checkout:i,offer:F,priceInfo:u}),h&&(0,g.Y)("div",{className:"NpHrGNjlR7",children:h})]}),p,r&&(0,g.Y)("div",{className:"ixsYHQ3Ptm",children:r}),(0,g.Y)("div",{className:"HVZXPnlIVR",children:e||(0,g.FD)(D.A,{fullwidth:!0,raised:!0,className:"gz3y2W0PJn",size:"lg",onClick:c,children:[M,S&&(0,g.Y)(y,{})]})})]}),(F.trialFree||l)&&(0,g.FD)("div",{className:"_9uHWXNV657 text-center",children:[F.trialFree&&(0,g.FD)("div",{children:[(0,g.Y)("i",{className:"check green"})," Nothing charged for"," ",F.trialDays," days"]}),l&&(0,g.FD)("div",{children:[(0,g.Y)("i",{className:"check green"})," ",(0,g.Y)(I,{})]})]})]})}},3139(e,i,a){a.r(i),a.d(i,{default:()=>y});var r=a(4843),n=a(9869),l=a(2109),s=a(7071),c=a(5809),t=a(9594),d=a(7563),o=a(2583),h="i3tPIt9hIW",m=a(1873),u=a(3843),p=a(1897),D=a(5391),N=a(9028),g=a(6660),F=a(4681),f=a(9698);function Y(){return(0,f.FD)("div",{className:"i219kXYla1",children:[(0,f.Y)("span",{className:"a98gIijEnI",children:(0,f.Y)(N.A,{showIcon:!0,children:"AI Assistant"})}),(0,f.Y)("img",{alt:"Law Insider",src:"/images/common/logo.svg"}),(0,f.Y)("img",{alt:"SimpleAI",src:"/images/common/simple-ai-logo.svg"}),(0,f.Y)("span",{children:"now unlimited"})]})}function y({completeActiveForcedView:e,details:i={},initialPlanType:a}){const{isMobileWidth:N}=(0,n.useContext)(c.A),[y]=(0,r.fp)(F.p9),[A,v]=(0,n.useState)(!1),[w,k]=(0,n.useState)(!1),[b,P]=(0,n.useState)(!1),[I,C]=(0,n.useState)(!1),T=(0,o.ju)(a),E=()=>{i.returnToUsageExhausted?e():(0,d.Dh)({forced:!0,view:u.al.REGISTRATION_COMPLETE})};let _="Download the Word Add-in";N&&(_="Email me the Word Add-in link"),A&&(_=N?"Continue":"I've done this");let S=`${T.trialPrice} charged today for your ${T.trialDays}-day trial`;return T.trialFree&&(S=`${N?T.trialPrice:"FREE"} — nothing charged for ${T.trialDays} days`),(0,f.FD)(t.A,{className:"MlEy2hVOgM",size:"lg",children:[(0,f.FD)("span",{className:"g48aGhPIUM",children:[T.trialFree?"FREE":T.trialPrice," ",T.trialDays,"-DAY TRIAL STARTED"]}),(0,f.Y)(p.A,{className:"dwxp6d4X_p",children:"You're in — check your email"}),(0,f.Y)("p",{className:"YHu4ZRDsQO",children:N?(0,f.FD)(f.FK,{children:["Your receipt and a sign-in link were sent to ",(0,f.Y)("b",{children:y.email}),"."]}):(0,f.FD)(f.FK,{children:["We sent a confirmation link to ",(0,f.Y)("b",{children:y.email}),"."]})}),(0,f.FD)("section",{className:"YINRvkEKq0",children:[(0,f.FD)("dl",{children:[(0,f.FD)("div",{children:[(0,f.Y)("dt",{children:"Today"}),(0,f.Y)("dd",{children:S})]}),(0,f.FD)("div",{children:[(0,f.Y)("dt",{children:T.firstChargeDate}),(0,f.FD)("dd",{children:["Then ",(0,f.Y)("b",{children:T.price}),"/",T.interval,", cancel any time"]})]})]}),(0,f.Y)("div",{className:"zMw5N2LhJ5",children:(0,f.FD)(o.eF,{termsLabel:"See terms.",children:["Covered by our"," ",(0,f.FD)("b",{children:[30,"-day money-back guarantee"]})," from the first charge",N?". ":" — ",!N&&(0,f.FD)(f.FK,{children:["if Pro isn't for you, tell us within"," ",30," days and we refund it in full."," "]})]})})]}),!N&&(0,f.Y)(Y,{}),(0,f.FD)(D.A,{fullwidth:!0,raised:!0,className:"XnVh0RTzlZ",disabled:b,size:"lg",onClick:async()=>
1{if(A)E();else if((0,g.s)("get_word_add_in_click",{...N?{method:"email"}:{},source:u.al.TRIAL_CONFIRMED}),N){k(!1),P(!0);try{await(0,s.RD)("/api/user/word-add-in-link",{method:"POST"}),v(!0)}catch{k(!0)}finally{P(!1)}}else window.open(l.A.WORD_ADD_IN,"_blank","noopener,noreferrer"),v(!0)},children:[!A&&(0,f.Y)("img",{alt:"",className:"mdc-button__icon",src:"/images/common/icon-logo-msword.svg"}),_]}),w&&(0,f.Y)("p",{className:"color-red font-sm",role:"alert",children:"Couldn't send the link. Please try again."}),N&&A&&(0,f.FD)("p",{className:h,children:["Link sent to ",(0,f.Y)("b",{children:y.email})]}),!A&&(0,f.Y)("p",{className:h,children:N?"Installs on desktop Word · Mac & Windows":"Mac & Windows Compatible · 2 minutes to set up"}),(0,f.Y)(D.A,{className:"PtlnxkrQ8_",onClick:()=>{(0,d.$7)("skip","word_add_in"),E()},children:"I'll do this later — back to what I was doing →"}),!N&&(0,f.FD)("p",{className:"adMFLTFNjM",children:["Didn't get it?"," ",(0,f.Y)(D.A,{className:"btn-link",disabled:I,onClick:async()=>{C(!0);try{await(0,m.gE)(void 0,`Confirmation email has been resent to your email address ${y.email}`)}finally{C(!1)}},children:"Resend link"})," ","·"," ",(0,f.Y)("a",{href:l.A.CONTACT_SUPPORT,...l.Js,children:"Contact support"})]})]})}}}]);
2//# sourceMappingURL=auth-view-TrialConfirmedDialogView.e83f0442c7.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.