PageSourceSearch

https://app.aarpdriversafety.org/assets/index-CBGJNzhj.js

js aarpdriversafety.org collected 2026-10-02 06:01:21 UTC 2,455 bytes, 2 lines download raw bytes

1import{z as n,gr as y,gd as b,gs as g,bG as x,bC as w,g3 as I,x as v,D as E,as as R,gt as N,G as s,T as C,U as k,ar as S,J as j,g7 as _,ao as D,bU as T}from"./index-CL22zKs4.js";import{u as L}from"./useComponentLog-B5pYe_aL.js";import{O as f}from"./index-CXd5Xlz4.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"[email protected]"};var a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="376e4e94-cc3b-4cab-9f36-998dfc54add2",t._sentryDebugIdIdentifier="sentry-dbid-376e4e94-cc3b-4cab-9f36-998dfc54add2")}catch{}})();const U=()=>{L("PurchaseConfirmation");const t=n(y),a=n(b),r=n(g),i=n(x),p=n(w),c=n(I),o=v(),l=t,{transferProgressId:m}=c.milestoneData,d=l.find(e=>e.type==="RENEWAL"),h=e=>{if(e.preventDefault(),o({type:D}),c&&m){o({type:T,payload:{userId:i._id,progressId:m}});return}window.location.href=r},u=e=>{o(_(e))};return E.useEffect(()=>{if(d?.type==="RENEWAL"){const e=JSON.stringify({price:d.price,key:d.key});o(R("Component Shown",{to:"completeOrder.view",additional_info:e}))}return()=>{o(N())}},[]),s.jsx("div",{className:"grit screen",id:"purchase-confirmation",children:s.jsxs("main",{className:"flex flex-col w-full tablet:flex-row",children:[s.jsxs("section",{className:"flex flex-col w-full p-10 min-[1440px]:p-[4.5rem] tablet:max-w-[65%]",children:[s.jsxs("div",{children:[s.jsxs(C,{as:"h1",size:"xxlarge",className:"mb-2",id:"purchase-confirmation-heading",children:["Thanks ",p,"!"]}),s.jsx(k,{className:"mb-10",id:"purchase-confirmation-body",children:S(c,"blockingActionList.length",0)?`We've sent an order confirmation to ${i.username??"your email"}. But we still need some information to complete your order. Please continue to avoid delays in processing.`:`Your order is complete. We've sent an order confirmation to ${i.username??"your email"}.`})]}),s.jsx(f,{className:"inline",items:l,total:a,showRemoveLink:!1,onRemoveItem:e=>{u(e)}}),s.jsx("a",{href:r,className:"ml-auto",children:s.jsx(j,{onClick:e=>{h(e)},color:"primary",id:"purchase-confirmation-continue",children:"Continue"})})]}),s.jsx("aside",{className:"hidden p-10 min-[1440px]:p-[4.5rem] tablet:block tablet:w-[35%] tablet:bg-background-secondary",children:s.jsx(f,{className:"vertical",items:l,total:a,showRemoveLink:!1,onRemoveItem:e=>{u(e)}})})]})})};export{U as default};
2//# sourceMappingURL=index-CBGJNzhj.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.