1import{q as s,bd as C,b5 as O,b6 as T,a6 as B,c as L,a as e,em as S,en as f,eo as j,ep as y,eq as b,er as P,es as k,r as o,et as A,eu as D,j as a,aI as I,R as c,F as d,c2 as g}from"./index-CQaiPqwp.js";import{C as F}from"./CardLayoutTitle.component-D5IGGxJO.js";import{O as _}from"./OrderedList.component-zx9Jt78X.js";import{A as X}from"./AppLayout.component-B34jiFc-.js";import{C as G}from"./CardLayout.component-BflI0h-4.js";import{i as H}from"./PassExchangeReplacementDate.actions-B8OELDQH.js";import"./react-select.esm-BTkEaSrm.js";import"./RichTextLink.component-BuB0fEgt.js";import"./PrivateContent.component-CA0ub5Pl.js";const N=s.div``,R=s.div` 2 display: flex; 3 flex-direction: column; 4 padding: 30px; 5 border: solid 1px ${n=>n.theme.grey2}; 6 border-radius: 10px; 7 8 & > * + * { 9 margin-top: 20px; 10 } 11`,v=s.div` 12 padding: 30px; 13 border-radius: 10px; 14 background-color: ${n=>n.theme.grey1}; 15`;function M(){return async n=>(await n(H(C.EXCHANGE)),n(O(T.EXCHANGE)),Promise.resolve())}const U=()=>{const n=B(),t=L(),x=e(S),h=e(f),p=e(j),m=e(y),i=e(b),r=e(P),E=e(k);o.useEffect(()=>{n(M())},[n]);const l=o.useCallback(()=>{t.push({pathname:A,search:t.location.search})},[t]),u=o.useCallback(()=>{t.push({pathname:D,search:t.location.search})},[t]);return x?a.jsx(I,{}):a.jsx(X,{footer:"help",children:a.jsxs(G,{children:[a.jsx(F,{children:h}),a.jsx(N,{"data-cy":"ExchangeInstruction",children:a.jsx(c,{document:p,defaultFontSize:d.TEXT_SMD})}),a.jsxs(R,{"data-cy":"ExchangeSteps",children:[a.jsx(_,{itemList:m}),i&&a.jsx(g,{onClick:l,"data-cy":"TicketExchangeButton",children:i}),r&&a.jsx(g,{onClick:u,"data-cy":"PassExchangeButton",children:r})]}),a.jsx(v,{"data-cy":"ExchangeConditions",children:a.jsx(c,{document:E,defaultFontSize:d.TEXT_SM})})]})})};export{U as ExchangeOnBoardingPresentation};
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.