import{r as c,x as g,y as l,ap as h,cc as N,j as a,M as f,d as E,f1 as u,f2 as S,f3 as A,bD as R,f4 as d,bq as J,cj as x,ce as b,bH as K,dt as Q,bt as w}from"./index-CNnTZTc7.js";import{C as F}from"./CreateAccountContent-DZGa2EVX.js";const I="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABHNCSVQICAgIfAhkiAAADm9JREFUeF7tXQl0VEUWvb+7syeyg0jCjuwQjSAj4AEHRUUYz6iogAyLbM5Bg6MQkACCENlEkNXDJiggm6AzMOi4DeiAIShLAmSRLGyBhCzd2Tqdrnk/ScMQ0ulf9X/3D3O6z4FA+r2q9++t5dWrqvcleD+6IiDpWru3cngJ0LkReAnwEqAzAjpX7+0BXgJ0RkDn6r09wEuAzgjoXL23B3gJ0BkBnav39gAvAa4RyLCwrkBZV8akDpBYW8bQQpKklqRZr1I7R2IslUlSGq3tkyVmOFcK65nWwX6nXJeur0St7AFpltIBBGI/Ars3ID1MEAUIwlRE+sfA2E9Msv/QItjnX4LluE2t1hCQarENN0AaQk861G1PSwUzxnYxCftbBps+c2c9SsvWnYB0c9lEGjamk8HNlRqtkVw61RvTPMi4VqPyhIrRjYCMAvY0Y2Xv0hDxkJDlmimx45JknB0WJB3QrEiOgjxOwBUza1Qq2ReRjaM47PSE6GYrK5zWNiTkmicqc9ThUQLSLLYRBhg+YGCNPPmQHHVlkW1TWgSbPuXQUSXqEQJo4pMyCu1rwDCB19ormWZkXDLDamWoU8cXHdrVh4/JyFsMlzzZ+3HzYONEcnUZl6KAsNsJuGhh3e1gG8j/iFBqX9ypTOw8mI0zqcEotvkhxK8QJgNDcakJ+dZ7EFonE33DGSaN7KC0SAE5KY68srGhwdJJAWXFKm4l4GIhe95ut+9SbA0JTnv/DI6nNMKALlkYNrAR+kTce5t6QZENOw6mYdePJbicE4C/PGXD0CFteKrgkjUYDC+EBkq7uZQ4hN1GQJqlLJIKX6bUltSMPExdeh331SvBmmlt0biB67XX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9EidVICxb60F9ci4hKKkwsH2nmdsIkaAh+FmXX6qxFdi3Vc4CjmTq7qF1qAwqp4ReVyH8YkSBvmkh0zkeEAuBY7AV89n0DbhI2bk9Adr4Jm2Pacvv5VbttrbuofXNCLihbqzQrlny9w07k2OgfNgqslZXJKSXp/0SM3U7f0e9kiuz0PZ1DAqPfG+innMTq+8OpWHeAXFSFc4Lc8svBX6AB+JRNixZd3Jm/nI29mvWA8pFFIFmH6KSw7+AFLN1dj0i4UaOLqiX4NO3W7mQdMpgi6WrcRYK24EM+Hla709U4gORN2CRKgKznrCds3BFPw46PJsOOXM9dk7Dp1qTMl7JMLQlHTxWWn6Bu0SwIh08UUII/g2bg33Upy/ToCfJ+755vLOWTbedWNkRNbK/a23Fny3dgpOkkXF0rFklbqaY3aKf7f5C20gGG7B3RRv5a3mxa2oHJWRJlxQoLNEzSMjWZR9xQV49ZuViTU1m6N6OSK0OcfC8nYqKEg29qlQ1LiRluH4KqGlGZXWsh/X6UEgM9KLPZhxmmapEFi8dmjxPgMM6bvr4CCd0IcBBRmXNInxc4MHqBg4pcPzwtvVbMATUZLO8xU5jnT2ozsCgAZSft4X4pml5GQflcIrr3gOqsvfUSH4kuvDGVL/Fh9BIfyfsSH65mUUVYvp3vA98u9CakDhQibUsXIVpQhLQlid18jRW5uqkULE0jsJMpYnoOMJ7mvbWuxkZR3VrZA0Qf5m7U8xKgM2teArwE6IyAztV7e4CXAJ0R0Ll6bw/wEqAzAjpX7+0BXgJ0RkDn6r09wEuAzgjoXP1/AZJZ7qw3jZYnAAAAAElFTkSuQmCC",L="_content_w1d1s_88",D="_contentClassName_w1d1s_104",X="_footerClassName_w1d1s_110",W="_closeIconClassName_w1d1s_118",j="_headerClassName_w1d1s_128",y="_footerButtonClassName_w1d1s_139",M="_skipButton_w1d1s_149",e={content:L,contentClassName:D,footerClassName:X,closeIconClassName:W,headerClassName:j,footerButtonClassName:y,skipButton:M},q=()=>{const i=c.useRef(),s=g(),o=l(t=>t.createAccount.createAccountModal),n=l(t=>t.guidedDetails.isGuidedProcess),r=l(t=>t.planTypeDetail.selectedPlanType),{setPrescriptionModal:m}=c.useContext(h);c.useEffect(()=>{o&&N("modal_appear",A)},[o]);const C=t=>{s(d(!1)),s(J(!1)),s(x())},k=()=>{s(d(!1)),s(r===b?K(!0):Q(!0)),s(w())},p=()=>{C(),m(!1)},B=async t=>{i.current.formSubmit()};return a.jsx("div",{className:e.modalWithHeaderFooter,children:a.jsx(f,{className:e.modal,isOpen:o,children:a.jsxs(E,{backButtonClicked:k,closeIconClassName:e.closeIconClassName,contentClassName:e.contentClassName,footerButtonClassName:e.footerButtonClassName,footerButtonClicked:B,footerButtonDisabled:!1,footerClassName:e.footerClassName,footerLabel:u,headerClassName:e.headerClassName,headerIcon:I,headerText:S,headerTitle:A,isBack:n,isSkip:n,onClose:C,skipButtonClassName:e.skipButton,skipButtonClicked:p,skipButtonLabel:r===R?"Skip to Plans":"Skip to Policies",children:[a.jsx("div",{className:e.content,"data-testid":"your-doctor-modal-content",children:a.jsx(F,{isModal:!0,ref:i})}),n&&!1]})})})};export{q as C}; //# sourceMappingURL=index-CmVzpSYf.js.map