1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,347413,e=>{e.v({className:"denimtext_b80da5ce-module__U2990a__className",variable:"denimtext_b80da5ce-module__U2990a__variable"})},237047,e=>{e.v({className:"denimtextitalic_88fed84-module__vHcyda__className",variable:"denimtextitalic_88fed84-module__vHcyda__variable"})},942261,e=>{e.v({className:"denimdisplay_a3f6ed64-module__s9zVaa__className",variable:"denimdisplay_a3f6ed64-module__s9zVaa__variable"})},453370,e=>{e.v({className:"responsemono_f65a3a90-module__cjZDAG__className",variable:"responsemono_f65a3a90-module__cjZDAG__variable"})},736276,e=>{"use strict";var t=e.i(350461),n=e.i(391398),r=e.i(145246),i=e.i(197328);function s(){return(0,i.useMaskPIISync)(),null}var a=e.i(707125),o=e.i(34260),l=e.i(347413);let u={className:l.default.className,style:{fontFamily:"'denimText', 'denimText Fallback'"}};null!=l.default.variable&&(u.variable=l.default.variable);var c=e.i(237047);let d={className:c.default.className,style:{fontFamily:"'denimTextItalic', 'denimTextItalic Fallback'"}};null!=c.default.variable&&(d.variable=c.default.variable);var m=e.i(942261);let f={className:m.default.className,style:{fontFamily:"'denimDisplay', 'denimDisplay Fallback'"}};null!=m.default.variable&&(f.variable=m.default.variable);var p=e.i(453370);let h={className:p.default.className,style:{fontFamily:"'responseMono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"}};null!=p.default.variable&&(h.variable=p.default.variable);var y=e.i(303100),g=e.i(191788),v=e.i(412814),S=e.i(168489),b=e.i(194182),_=e.i(342544),w=e.i(884762),F=e.i(870334),C=e.i(148888);let x=!1;function j(){x||((0,w.c)("[nuqs] Aborting queues"),F.t.abortAll(),F.n.abort().forEach(e=>F.t.queuedQuerySync.emit(e)))}let T=(0,w.n)(function(){let e=(0,C.useRouter)();return(0,g.useEffect)(()=>(e?.events.on("routeChangeStart",j),e?.events.on("beforeHistoryChange",j),()=>{e?.events.off("routeChangeStart",j),e?.events.off("beforeHistoryChange",j)}),[]),{searchParams:(0,g.useMemo)(()=>{let t=new URLSearchParams;if(null===e)return t;for(let[n,r]of Object.entries(e.query))if("string"==typeof r)t.set(n,r);else if(Array.isArray(r))for(let e of r)t.append(n,e);return t},[JSON.stringify(e?.query)]),updateUrl:(0,g.useCallback)((e,t)=>{let n=window.next?.router,r=function(e,t){let n,r=new Set,i=/\[([^\]]+)\]/g;for(;null!==(n=i.exec(e));){let e=n[1];e&&r.add(e)}let s=Object.fromEntries(Object.entries(t).filter(([e])=>r.has(e))),a=/\[\.{3}([^\]]+)\]$/.exec(e);if(a&&a[1]){let e=a[1];s[e]=t[e]??[]}let o=/\[\[\.{3}([^\]]+)\]\]$/.exec(e);if(o&&o[1]){let e=o[1];s[e]=t[e]??[]}return s}(n.pathname,n.query),i=n.asPath.replace(/#.*$/,"").replace(/\?.*$/,"")+(0,w.o)(e)+location.hash;
1(0,w.c)("[nuqs next/pages] Updating url: %s",i);let s="push"===t.history?n.push:n.replace;x=!0,s.call(n,{pathname:n.pathname,query:{...function(e){let t={};for(let n of e.keys()){let r=e.getAll(n);1===r.length?t[n]=r[0]:r.length>1&&(t[n]=r)}return t}(e),...r}},i,{scroll:t.scroll,shallow:t.shallow}).finally(()=>{x=!1})},[]),autoResetQueueOnUpdate:!1}}),R=["pointerdown","pointermove","scroll","keydown","touchstart"],O=[{id:"gtag",scriptId:"gtag-loader",src:"https://www.googletagmanager.com/gtag/js?id=G-7X978YSLK1"},{id:"fbq",scriptId:"fbq-loader",src:"https://connect.facebook.net/en_US/fbevents.js"},{id:"rdt",scriptId:"rdt-loader",src:"https://www.redditstatic.com/ads/pixel.js?pixel_id=a2_ipulvl8il697"},{id:"oaiq",scriptId:"oaiq-loader",src:"https://bzrcdn.openai.com/sdk/oaiq.min.js"}],E=!1,k="true"===t.default.env.NEXT_PUBLIC_FORCE_MARKETING_PIXELS_FOR_TESTS||!0;var I=e.i(337199),P=e.i(641566),N=e.i(242102),A=e.i(130255),$=e.i(14765),q=e.i(30027),z=e.i(790796),M=e.i(285700),L=e.i(395195),U=["light","dark"],D="(prefers-color-scheme: dark)",B="u"<typeof window,H=g.createContext(void 0),Q=e=>g.useContext(H)?e.children:g.createElement(K,{...e}),G=["light","dark"],K=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:i="theme",themes:s=G,defaultTheme:a=n?"system":"light",attribute:o="data-theme",value:l,children:u,nonce:c})=>{let[d,m]=g.useState(()=>V(i,a)),[f,p]=g.useState(()=>V(i)),h=l?Object.values(l):s,y=g.useCallback(e=>{let i=e;if(!i)return;"system"===e&&n&&(i=X());let s=l?l[i]:i,u=t?J():null,c=document.documentElement;if("class"===o?(c.classList.remove(...h),s&&c.classList.add(s)):s?c.setAttribute(o,s):c.removeAttribute(o),r){let e=U.includes(a)?a:null,t=U.includes(i)?i:e;c.style.colorScheme=t}null==u||u()},[]),v=g.useCallback(e=>{let t="function"==typeof e?e(e):e;m(t);try{localStorage.setItem(i,t)}catch(e){}},[e]),S=g.useCallback(t=>{p(X(t)),"system"===d&&n&&!e&&y("system")},[d,e]);g.useEffect(()=>{let e=window.matchMedia(D);return e.addListener(S),S(e),()=>e.removeListener(S)},[S]),g.useEffect(()=>{let e=e=>{e.key!==i||v(e.newValue||a)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[v]),g.useEffect(()=>{y(null!=e?e:d)},[e,d]);let b=g.useMemo(()=>({theme:d,setTheme:v,forcedTheme:e,resolvedTheme:"system"===d?f:d,themes:n?[...s,"system"]:s,systemTheme:n?f:void 0}),[d,v,e,f,n,s]);return g.createElement(H.Provider,{value:b},g.createElement(W,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:r,storageKey:i,themes:s,defaultTheme:a,attribute:o,value:l,children:u,attrs:h,nonce:c}),u)},W=g.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:a,attrs:o,nonce:l})=>{let u="system"===s,c="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${o.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?(U.includes(s)?s:null)?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(e,t=!1,r=!0)=>{let s=a?a[e]:e,o=t?e+"|| ''":`'${s}'`,l="";return i&&r&&!t&&U.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===n?t||s?l+=`c.add(${o})`:l+="null":s&&(l+=`d[s](n,${o})`),l},f=e?`!function(){${c}${m(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${D}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${m(a?"x[e]":"e",!0)}}${u?"":"else{"+m(s,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${m(a?"x[e]":"e",!0)}}else{${m(s,!1,!1)};}${d}}catch(t){}}();`;return g.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:f}})}),V=(e,t)=>{let n;if(!B){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},J=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},X=e=>
1(e||(e=window.matchMedia(D)),e.matches?"dark":"light"),Y=e.i(958678),Z=e.i(203828),ee=e.i(543869);{let e=(0,I.getAvailableQueryCacheStorage)();e&&(0,I.migrateLegacySensitiveBrowserCaches)(e)}(0,$.shouldInitializePosthogClient)()&&(0,A.loadPosthog)({app:"doccy",featureFlagPersonProperties:{deploymentTier:(0,P.resolveOriginTier)()},initOptions:{evaluation_contexts:(0,$.resolvePosthogEvaluationContexts)()},maskCapturedNetworkRequestFn:e=>e.name?.includes("universityFormTemplates.")?null:(0,N.maskPosthogNetworkRequest)(e)}),k&&function(){if(E)return;E=!0;let e=!1,t=()=>{if(!e)for(let t of(e=!0,r(),O))try{!function({scriptId:e,src:t}){if(document.getElementById(e))return;let n=document.createElement("script");n.id=e,n.src=t,n.async=!0,document.head.appendChild(n)}(t)}catch{}},n=()=>t(),r=()=>{for(let e of R)window.removeEventListener(e,n);i&&clearTimeout(i)};for(let e of R)window.addEventListener(e,n,{once:!0,passive:!0});let i=setTimeout(t,12e3)}();let et=(0,S.default)(()=>e.A(6245),{loadableGenerated:{modules:[514391]},ssr:!1}),en=(0,S.default)(()=>e.A(66771).then(e=>({default:e.OutageBanner})),{loadableGenerated:{modules:[775920]},ssr:!1});function er(e){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.SonnerToaster,{...o.DEFAULT_TOASTER_PROPS}),e]})}(0,S.default)(()=>e.A(711261).then(e=>({default:e.VercelToolbar})),{loadableGenerated:{modules:[506011]},ssr:!1});let ei=v.api.withTRPC(function({Component:t,pageProps:i}){let o=(0,M.useQueryClient)(),l=(0,Z.useRouter)();(0,g.useEffect)(()=>{},[]);let[c,m]=(0,g.useState)(!0),{isTransitioning:p,onTransitionStart:v}=function(){let[e,t]=(0,g.useState)(!1),n=(0,g.useRef)(null);return{isTransitioning:e,onTransitionStart:(0,g.useCallback)(()=>{n.current&&clearTimeout(n.current),t(!0),n.current=setTimeout(()=>{n.current=null,t(!1)},0)},[])}}();(0,g.useEffect)(()=>{let t,n=(0,q.createClient)(),r=(0,y.createAuthMemoryCoordinator)({queryClient:o,onTransitionStart:v,subscribeAuthSubject:e=>{let t=n.auth.onAuthStateChange((t,n)=>{switch(t){case"INITIAL_SESSION":case"SIGNED_IN":case"TOKEN_REFRESHED":case"SIGNED_OUT":case"USER_UPDATED":e(n?.user.id??null)}});return()=>t.data.subscription.unsubscribe()}}),i=r.start(),s=!1;return e.A(691522).then(({createQueryPersistenceCoordinator:e})=>{if(s)return;let i=e({queryClient:o,storage:(0,I.getAvailableQueryCacheStorage)(),resolveInitialAuthSubject:async()=>{let e=await n.auth.getSession();if(e.error)throw e.error;return e.data.session?.user.id??null},subscribeAuthSubject:r.subscribe,onRestoringChange:m}),a=e=>{e.key===I.QUERY_CACHE_OWNER_KEY&&i.handleStorageOwnerChange(e.newValue)},l=i.start();window.addEventListener("storage",a),t=()=>{window.removeEventListener("storage",a),l()}}).catch(()=>{s||m(!1)}),()=>{s=!0,t?.(),i()}},[v,o]);let S=(0,g.useRef)(null);(0,g.useEffect)(()=>{if(!l.isReady)return;let e=l.query.code,t="string"==typeof e?e:Array.isArray(e)?e[0]:void 0;t&&S.current!==t&&(S.current=t,(async()=>{let e=(0,q.createClient)(),{error:n}=await e.auth.exchangeCodeForSession(t);n||(await o.invalidateQueries({queryKey:["get-session"]}),await o.invalidateQueries({queryKey:["get-user"]}));let{code:r,...i}=l.query,s=l.pathname;await l.replace({pathname:s,query:i},void 0,{shallow:!0})})())},[l.isReady,l.query,l.pathname,o,l]),(0,g.useEffect)(()=>{let t=t=>{e.A(466270).then(({capturePosthog:e})=>{e("$pageview")}),k&&window.gtag?.("event","page_view",{page_path:t}),e.A(876060).then(({captureGoogleClickIds:e})=>{e()}),e.A(675683).then(({captureOpenAiIdentifiers:e})=>{e()})};return e.A(876060).then(({captureGoogleClickIds:e})=>{e()}),e.A(675683).then(({captureOpenAiIdentifiers:e})=>{e()}),l.events.on("routeChangeComplete",t),()=>{l.events.off("routeChangeComplete",t)}},[l.events]);let w=t.getLayout??er;return p?null:(0,n.jsx)(z.IsRestoringProvider,{value:c,children:(0,n.jsxs)(T,{children:[(0,n.jsxs)(L.default,{revenue:!0,trackOutboundLinks:!0,domain:"doccy.com.au",children:[(0,n.jsxs)(Y.default,{children:[(0,n.jsx)("title",{className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]]),children:"Doccy - Online Telehealth & Medical Certificates"}),(0,n.jsx)("meta",{name:"description",content:"Get Medical Certificates and Scripts Online. Fast, convenient, and secure telehealth services. Connect with licensed doctors from the comfort of your home.",className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])},"description"),(0,n.jsx)("meta",{name:"robots",content:"index, follow",className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])},"robots"),(0,n.jsx)("meta",{property:"og:url",content:`https://doccy.com.au${l.asPath.split("?")[0]}`,className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])},"og:url"),(0,n.jsx)("meta",{property:"og:title",content:"Doccy - Online Telehealth & Medical Certificates",className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])},"og:title"),(0,n.jsx)("meta",{property:"og:description",content:"Get Medical Certificates and Scripts Online. Fast, convenient, and secure telehealth services.",className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])},"og:description"),(0,n.jsx)("meta",{property:"og:image",content:"https://doccy.com.au/meta.jpg",className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])},"og:image"),(0,n.jsx)("meta",{property:"og:image:width",content:"12
100",className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])},"og:image:width"),(0,n.jsx)("meta",{property:"og:image:height",content:"630",className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])},"og:image:height"),(0,n.jsx)("meta",{property:"og:image:alt",content:"Doccy - Online Telehealth",className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])},"og:image:alt"),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image",className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])},"twitter:card"),(0,n.jsx)("meta",{name:"twitter:image",content:"https://doccy.com.au/meta.jpg",className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])},"twitter:image"),(0,n.jsx)("meta",{name:"twitter:title",content:"Doccy - Online Telehealth & Medical Certificates",className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])},"twitter:title"),(0,n.jsx)("meta",{name:"twitter:description",content:"Get Medical Certificates and Scripts Online. Fast, convenient, and secure telehealth services.",className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])},"twitter:description")]}),(0,n.jsx)(r.default,{id:"436744f4472b7ac2",dynamic:[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily],children:`:root{--font-denim-text:${u.style.fontFamily};--font-denim-text-italic:${d.style.fontFamily};--font-denim-display:${f.style.fontFamily};--font-response:${h.style.fontFamily}}`}),(0,n.jsx)(Q,{attribute:"class",defaultTheme:"light",enableSystem:!0,disableTransitionOnChange:!0,children:(0,n.jsxs)(ee.TooltipProvider,{delayDuration:0,children:[(0,n.jsx)(s,{}),(0,n.jsx)(en,{}),(0,n.jsx)(_.PagesTopLoader,{color:"black",showSpinner:!1}),(0,n.jsx)(a.AppErrorBoundary,{children:w((0,n.jsx)(t,{...i,className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])+" "+(i&&null!=i.className&&i.className||"")}))}),(0,n.jsx)(et,{})]})}),k&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b.default,{id:"gtag-stub",strategy:"beforeInteractive",children:"window.dataLayer=window.dataLayer||[];window.gtag=window.gtag||function(){window.dataLayer.push(arguments)};gtag('consent','default',{ad_storage:'denied',ad_user_data:'denied',ad_personalization:'denied',analytics_storage:'denied',functionality_storage:'granted',security_storage:'granted',wait_for_update:500});gtag('js',new Date());gtag('config','G-7X978YSLK1');"}),(0,n.jsx)(b.default,{id:"fbq-stub",strategy:"beforeInteractive",children:"!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[]}(window,document,'script');fbq('init','926920369886435');fbq('track','PageView');"}),(0,n.jsx)("noscript",{className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]]),children:(0,n.jsx)("img",{height:"1",width:"1",style:{display:"none"},src:"https://www.facebook.com/tr?id=926920369886435&ev=PageView&noscript=1",alt:"",className:r.default.dynamic([["436744f4472b7ac2",[u.style.fontFamily,d.style.fontFamily,f.style.fontFamily,h.style.fontFamily]]])})}),(0,n.jsx)(b.default,{id:"rdt-stub",strategy:"beforeInteractive",children:"!function(w,d){if(!w.rdt){var p=w.rdt=function(){p.sendEvent?p.sendEvent.apply(p,arguments):p.callQueue.push(arguments)};p.callQueue=[]}}(window,document);rdt('init','a2_ipulvl8il697');rdt('track','PageVisit');"}),(0,n.jsx)(b.default,{id:"oaiq-stub",strategy:"beforeInteractive",children:'!function(w,d){if(w.oaiq)return;var q=function(){q.q.push(arguments)};q.q=[];w.oaiq=q}(window,document);oaiq("init",{pixelId:"PJk8wF5yPB9YQH1ckbJfae"});'})]})]}),!1]})})});e.s(["default",0,ei],736276)},926835,(e,t,n)=>{let r="/_app";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>e.r(736276)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([r])})},303100,e=>{"use strict";var t=e.i(573125),n=e.i(58969),r=e.i(217648),i=e.i(629032),s=e.i(337199);let a=new WeakMap;function o(){for(let e of[n.useMedCertFormStore,r.usePrescriptionConsultFormStore,i.useSpecialistReferralFormStore])try{e.getState().setPendingConsultId(null)}catch{}}function l({authSubject:e,queryClient:s,pendingCheckout:u="clear"}){if("stage-restore"===u)a.set(s,{authSubject:e,medicalCertificateId:n.useMedCertFormStore.getState().pendingConsultId,prescriptionId:r.usePrescriptionConsultFormStore.getState().pendingConsultId,specialistReferralId:i.useSpecialistReferralFormStore.getState().pendingConsultId});else a.delete(s);for(let e of(o(),s.getQueryCache().getAll()))e.cancel({silent:!0}),e.setState({data:void 0,dataUpdatedAt:0,fetchStatus:"idle",status:"pending"});s.clear(),(0,t.resetPersonalDetails)(),r.usePrescriptionConsultFormStore.getState().syncAuthIdentity(e),i.use
1SpecialistReferralFormStore.getState().syncAuthIdentity(e)}e.s(["clearAccountScopedMemory",0,l,"createAuthMemoryCoordinator",0,function({queryClient:e,subscribeAuthSubject:t,onTransitionStart:n}){let i,s,a=new Set,o=t=>{if(t===i)return;let s=void 0!==i||null===t||r.usePrescriptionConsultFormStore.getState()._authSubject!==t;for(let e of(s&&n?.(),a))try{e(t)}catch{}s&&l({authSubject:t,queryClient:e,pendingCheckout:void 0===i&&null!==t?"stage-restore":"clear"}),i=t};return{start:()=>{s??=t(o);let e=!1;return()=>{e||(e=!0,s?.(),s=void 0,a.clear())}},subscribe:e=>(a.add(e),void 0!==i&&e(i),()=>a.delete(e))}},"syncAccountScopedAuthState",0,function({authSubject:e,ownerScope:t,queryClient:u,storage:c}){let d=r.usePrescriptionConsultFormStore.getState();c&&(0,s.migrateLegacySensitiveBrowserCaches)(c);let m=c?(0,s.getStoredQueryCacheOwner)(c):void 0,f=d._authSubject!==e,p=m===t;f&&l({authSubject:e,queryClient:u,pendingCheckout:p?"stage-restore":"clear"});let h=a.get(u);return a.delete(u),p&&h?.authSubject===e&&(n.useMedCertFormStore.getState().setPendingConsultId(h.medicalCertificateId),r.usePrescriptionConsultFormStore.getState().setPendingConsultId(h.prescriptionId),i.useSpecialistReferralFormStore.getState().setPendingConsultId(h.specialistReferralId)),p||o(),c&&(0,s.setStoredQueryCacheOwner)(c,t)&&void 0!==m&&m!==t&&(0,s.removeScopedQueryCache)(c,m),d.syncAuthIdentity(e),f}])},724660,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useRouter",{enumerable:!0,get:function(){return s}});let r=e.r(191788),i=e.r(425479);function s(){return(0,r.useContext)(i.RouterContext)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},148888,(e,t,n)=>{t.exports=e.r(724660)},217358,(e,t,n)=>{},342544,(e,t,n)=>{var r=Object.create,i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t)=>i(e,"name",{value:t,configurable:!0}),c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of a(t))l.call(e,o)||o===n||i(e,o,{get:()=>t[o],enumerable:!(r=s(t,o))||r.enumerable});return e},d=(e,t,n)=>(n=null!=e?r(o(e)):{},c(!t&&e&&e.__esModule?n:i(n,"default",{value:e,enumerable:!0}),e)),m={},f={PagesTopLoader:()=>S};for(var p in f)i(m,p,{get:f[p],enumerable:!0});t.exports=c(i({},"__esModule",{value:!0}),m);var h=d(e.r(691567)),y=d(e.r(191788)),g=d(e.r(58822)),v=d(e.r(203828)),S=u(({color:e,height:t,showSpinner:n,crawl:r,crawlSpeed:i,initialPosition:s,easing:a,speed:o,shadow:l,template:c,zIndex:d=1600,showAtBottom:m=!1,nonce:f})=>{let p=null!=e?e:"#29d",h=l||void 0===l?l?`box-shadow:${l}`:`box-shadow:0 0 10px ${p},0 0 5px ${p}`:"",S=y.createElement("style",{nonce:f},`#nprogress{pointer-events:none}#nprogress .bar{background:${p};position:fixed;z-index:${d};${m?"bottom: 0;":"top: 0;"}left:0;width:100%;height:${null!=t?t:3}px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;${h};opacity:1;-webkit-transform:rotate(3deg) translate(0px,-4px);-ms-transform:rotate(3deg) translate(0px,-4px);transform:rotate(3deg) translate(0px,-4px)}#nprogress .spinner{display:block;position:fixed;z-index:${d};${m?"bottom: 15px;":"top: 15px;"}right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:${p};border-left-color:${p};border-radius:50%;-webkit-animation:nprogress-spinner 400ms linear infinite;animation:nprogress-spinner 400ms linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);return y.useEffect(()=>{g.configure({showSpinner:null==n||n,trickle:null==r||r,trickleSpeed:null!=i?i:200,minimum:null!=s?s:.08,easing:null!=a?a:"ease",speed:null!=o?o:200,template:null!=c?c:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'});let e=u(()=>g.start(),"progressStarted"),t=u(()=>g.done(!0),"progressComplete");return v.default.events.on("routeChangeStart",e),v.default.events.on("routeChangeComplete",t),v.default.events.on("routeChangeError",t),()=>{v.default.events.off("routeChangeStart",e),v.default.events.off("routeChangeComplete",t),v.default.events.off("routeChangeError",t)}},[]),S},"PagesTopLoader");S.propTypes={color:h.string,height:h.number,showSpinner:h.bool,crawl:h.bool,crawlSpeed:h.number,initialPosition:h.number,easing:h.string,
1speed:h.number,template:h.string,shadow:h.oneOfType([h.string,h.bool]),zIndex:h.number,showAtBottom:h.bool}},58822,(e,t,n)=>{!function(r,i){if("function"==typeof define&&define.amd){let r;void 0!==(r=i(e.r,n,t))&&e.v(r)}else t.exports=i()}(e.e,function(){var e,t,n,r={};r.version="0.2.0";var i=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function s(e,t,n){return e<t?t:e>n?n:e}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(i[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();r.status=1===(e=s(e,i.minimum,1))?null:e;var n=r.render(!t),l=n.querySelector(i.barSelector),u=i.speed,c=i.easing;return n.offsetWidth,a(function(t){var s,a,d,m;""===i.positionUsing&&(i.positionUsing=r.getPositioningCSS()),o(l,(s=e,a=u,d=c,(m="translate3d"===i.positionUsing?{transform:"translate3d("+(-1+s)*100+"%,0,0)"}:"translate"===i.positionUsing?{transform:"translate("+(-1+s)*100+"%,0)"}:{"margin-left":(-1+s)*100+"%"}).transition="all "+a+"ms "+d,m)),1===e?(o(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){o(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},i.trickleSpeed)};return i.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*s(Math.random()*t,.1,.95)),t=s(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*i.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()&&(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)})),this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=i.template;var n,s=t.querySelector(i.barSelector),a=e?"-100":(-1+(r.status||0))*100,l=document.querySelector(i.parent);return o(s,{transition:"all 0 linear",transform:"translate3d("+a+"%,0,0)"}),!i.showSpinner&&(n=t.querySelector(i.spinnerSelector))&&m(n),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(t),t},r.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(i.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&m(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var a=(n=[],function(e){n.push(e),1==n.length&&function e(){var t=n.shift();t&&t(e)}()}),o=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,i){var s;r=t[s=(s=r).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[s]=function(t){var n=document.body.style;if(t in n)return t;for(var r,i=e.length,s=t.charAt(0).toUpperCase()+t.slice(1);i--;)if((r=e[i]+s)in n)return r;return t}(s)),n.style[r]=i}return function(e,t){var r,i,s=arguments;if(2==s.length)for(r in t)void 0!==(i=t[r])&&t.hasOwnProperty(r)&&n(e,r,i);else n(e,s[1],s[2])}}();function l(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=d(e),r=n+t;l(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=d(e);l(e,t)&&(e.className=(n=r.replace(" "+t+" "," ")).substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function m(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r})},317176,(e,t,n)=>{"use strict";
1t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},209265,(e,t,n)=>{"use strict";var r=e.r(317176);function i(){}function s(){}s.resetWarningCache=i,t.exports=function(){function e(e,t,n,i,s,a){if(a!==r){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:i};return n.PropTypes=n,n}},691567,(e,t,n)=>{e.i(350461),t.exports=e.r(209265)()},492237,(e,t,n)=>{var r=e.i(350461);e.r(217358);var i=e.r(191788),s=i&&"object"==typeof i&&"default"in i?i:{default:i},a=void 0!==r.default&&r.default.env&&!0,o=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,s=void 0===i?a:i;u(o(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",u("boolean"==typeof s,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=s,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t,n=e.prototype;return n.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},n.isOptimizeForSpeed=function(){return this._optimizeForSpeed},n.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},n.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},n.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},n.insertRule=function(e,t){if(u(o(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},n.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var n="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];u(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},n.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},n.flush=function(){this._injected=!1,this._rulesCount=0,"u">
1typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},n.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},n.makeStyleTag=function(e,t,n){t&&u(o(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(r,n):i.appendChild(r),r},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},d={};function m(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return d[r]||(d[r]="jsx-"+c(e+"-"+n)),d[r]}function f(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var n=e+t;return d[n]||(d[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[n]}var p=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,s=void 0!==i&&i;this._sheet=r||new l({name:"styled-jsx",optimizeForSpeed:s}),this._sheet.inject(),r&&"boolean"==typeof s&&(this._sheet.setOptimizeForSpeed(s),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var s=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=s,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return s.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=m(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return f(i,e)}):[f(i,t)]}}return{styleId:m(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),h=i.createContext(null);function y(){return new p}function g(){return i.useContext(h)}h.displayName="StyleSheetContext";var v=s.default.useInsertionEffect||s.default.useLayoutEffect,S="u">typeof window?y():void 0;function b(e){var t=S||g();return t&&("u"<typeof window?t.add(e):v(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}b.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},n.StyleRegistry=function(e){var t=e.registry,n=e.children,r=i.useContext(h),a=i.useState(function(){return r||t||y()})[0];return s.default.createElement(h.Provider,{value:a},n)},n.createStyleRegistry=y,n.style=b,n.useStyleRegistry=g},145246,(e,t,n)=>{t.exports=e.r(492237).style},158652,e=>{"use strict";function t(e,t){let n;try{n=e()}catch(e){return}return{getItem:e=>{var r;let i=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),s=null!=(r=n.getItem(e))?r:null;return s instanceof Promise?s.then(i):i(s)},setItem:(e,r)=>n.setItem(e,JSON.stringify(r,null==t?void 0:t.replacer)),removeItem:e=>n.removeItem(e)}}let n=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>n(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>n(t)(e)}}};e.s(["createJSONStorage",0,t,"persist",0,(e,r)=>(i,s,a)=>
1{let o,l={storage:t(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...r},u=!1,c=0,d=new Set,m=new Set,f=l.storage;if(!f)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),i(...e)},s,a);let p=()=>{let e=l.partialize({...s()});return f.setItem(l.name,{state:e,version:l.version})},h=a.setState;a.setState=(e,t)=>(h(e,t),p());let y=e((...e)=>(i(...e),p()),s,a);a.getInitialState=()=>y;let g=()=>{var e,t;if(!f)return;let r=++c;u=!1,d.forEach(e=>{var t;return e(null!=(t=s())?t:y)});let a=(null==(t=l.onRehydrateStorage)?void 0:t.call(l,null!=(e=s())?e:y))||void 0;return n(f.getItem.bind(f))(l.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===l.version)return[!1,e.state];else{if(l.migrate){let t=l.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;if(r!==c)return;let[n,a]=e;if(i(o=l.merge(a,null!=(t=s())?t:y),!0),n)return p()}).then(()=>{r===c&&(null==a||a(s(),void 0),o=s(),u=!0,m.forEach(e=>e(o)))}).catch(e=>{r===c&&(null==a||a(void 0,e))})};return a.persist={setOptions:e=>{l={...l,...e},e.storage&&(f=e.storage)},clearStorage:()=>{null==f||f.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>g(),hasHydrated:()=>u,onHydrate:e=>(d.add(e),()=>{d.delete(e)}),onFinishHydration:e=>(m.add(e),()=>{m.delete(e)})},l.skipHydration||g(),o||y}])}]);
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.