1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="10fcc6fc-50b9-4f68-8db9-d9344272d782",e._sentryDebugIdIdentifier="sentry-dbid-10fcc6fc-50b9-4f68-8db9-d9344272d782")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8319],{21888:(e,t,n)=>{"use strict";n.d(t,{J:()=>c});var r=n(43181),i=n(14232),l=n(54232),a=n(30236),o=i.createElement;let{Column:s}=l.e;function c({children:e,wideView:t=!1}){return o(u,{className:"container-fluid",wideView:!0},o(l.e,{centered:!0},o(s,{tablet:{size:t?12:8},desktop:{size:t?12:6},fullhd:{size:t?8:5}},e)))}let u=(0,r.A)("div",{target:"es1maqa0"})("padding:",e=>e.wideView?"0.75rem 20px 0 20px":"0.75rem 0 0 0",";@media (max-width: ",a.fi.tablet,"){padding-bottom:6rem;}")},32444:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var r=n(14232);let i=(e=!1)=>{let{0:t,1:n}=(0,r.useState)(e);return{value:t,toggle:(0,r.useCallback)(()=>n(e=>!e),[])}}},37078:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(14232),i=n(77328),l=n.n(i),a=n(57628),o=r.createElement;let s=({title:e})=>{let{application_title:t}=(0,a.PB)();return o(l(),null,o("title",null,`${e} | ${t}`))}},44992:e=>{"use strict";e.exports=JSON.parse('{"j2":{"i":"Login"},"An":{"S":"Create Profile"},"So":{"sx":{"g":"Select Appointment Type"},"_o":{"SH":"Create profile","Ek":"Select State","E_":"Select Patient","Ef":"Payment Method","NF":"Insurance Information","Lj":"Schedule Appointment","Ji":"Payment","rh":"Choose Delivery Method","oL":"Delivery Confirmation"},"ub":{"YC":"Who Is This For","Ek":"Select State","z5":"How This Works","Fr":"Survey","wq":"Choose Provider","FQ":"Provider Profile","Lj":"Schedule Appointment","Ji":"Payment","ph":"Appointment Confirmed"},"Rh":{"Ek":"Select State","Te":"Select Doctor","Lj":"Schedule Appointment"},"E6":{"H":"Annual Checkup"},"Fb":{"v":"Privacy Consent"}},"Dl":{"b":{"ju":"General","b6":"History","NA":"Symptoms","AH":"Lifestyle","vs":"Treatment","O9":"Finish"},"z":{"z":"Dashboard","w":"Getting Ready"}},"ME":{"ME":"Profile","K1":"Account Access","Aq":"Payment and Insurance","xU":"Membership","Se":"Pharmacy","hl":"Address","ve":"Privacy Consent","Fr":"Survey"},"T1":{"T":"Family","w":"Invite Family"},"WN":{"b":"Cancel Membership"},"Ey":{"Wt":"Follow-up Confirmed","ZT":"Choose Provider","mp":"Feedback","Zn":"Next Steps","e3":"Provider Details","IL":"Provider Question","xZ":"Additional Feedback"}}')},53971:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>O,default:()=>I});var r=n(14232),i=n(66950),l=n(66284),a=n(5646),o=n(89099),s=n(30236),c=n(13675),u=n(86092),d=n(43559),p=n(69004),f=n(78648),m=n(56298),y=n(94402),b=n(34026),h=n(32444),v=r.createElement;function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){(0,l.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let P=[{label:"Me",value:"myself"},{label:"Add new child (under 18 years)",value:"add-child"}],_=()=>{let{query:e,replace:t}=(0,o.useRouter)(),n=(0,y.v)(e),{goToPrev:i,goToNext:l}=(0,c.ym)(c.do.PrimaryCare),{data:a}=(0,u.P_)(),{child:m}=a.userprofile,{value:g,toggle:_}=(0,h.e)(!1),E=[...P.slice(0,1),...(m??[]).map(e=>({label:`${e.first_name} ${e.last_name}`,value:e.id.toString()})),...P.slice(1)],k=E.find(({value:t})=>t===e.patient)||P[0],{0:A,1:O}=(0,r.useState)(k),I=async()=>{if(!A)return!1;let t={};return Number.isInteger(Number(A.value))&&(t.doctor_type=f.wQ[f.jM.PEDIATRICS]),_(),l(w(w({},e),t))};return v(r.Fragment,null,v(d.A,{isIntentFlow:n,onBackClick:i,sticky:!0}),v(C,{$isIntentFlow:n},v(s.hE,null,"Who is this appointment for?"),v(p.z6,{name:"patient",value:A.value,onChange:n=>{let r=E.find(e=>e.value===n);if(O(r),"myself"===r.value){let n=w({},e);delete n.patient,delete n.doctor_type,t({query:n},void 0,{shallow:!0})}else t({query:w(w({},e),{},{patient:r.value})},void 0,{shallow:!0})}},E.map(({label:e,value:t})=>v(p.a,{key:t,value:t,label:e}))),v("p",null,"If you are booking for another person, please have them create his/her own profile."),v(S,null,v(p.$n,{onClick:I,isLoading:g,style:w({margin:"5px 0"},n?b.lu:{})},"Continue"))))},S=a.Ay.div.withConfig({displayName:"SelectPatient__ButtonsContainer",componentId:"sc-1knbv5s-0"})(["display:flex;flex-direction:column;margin:auto;margin-top:30px;max-width:400px;"]),C=(0,a.Ay)(m.U).withConfig({displayName:"SelectPatient__PatientContainer",componentId:"sc-1knbv5s-1"})(["",""],({$isIntentFlow:e})=>
1e&&b.Nm);var E=n(37078),k=n(44992),A=r.createElement,O=!0;let I=()=>A(i.h,null,A(E.A,{title:k.So._o.E_}),A(_,null))},66950:(e,t,n)=>{"use strict";n.d(t,{h:()=>u});var r=n(14232),i=n(54107),l=n(13675),a=n(37363),o=n(54424),s=n(31158),c=r.createElement;function u({children:e}){return c(d,null,e)}function d({children:e}){let{length:t,currentIndex:n}=(0,l.ym)();return c(a.Pm,{total:t,current:n+1},c(s.A,null,c(i.dG,null),c(o.J,null,e)))}},76900:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/booking/primary-care/select-patient",function(){return n(53971)}])}},e=>{e.O(0,[4049,5587,2262,4232,7479,9516,941,5053,6088,702,2162,636,6593,8792],()=>e(e.s=76900)),_N_E=e.O()}]);
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.