1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="8b441a8d-2176-b3d0-0b2b-f41aae8e210a")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,583592,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["ACTION_ERROR",0,{SESSION_EXPIRED:"SESSION_EXPIRED",INVALID_CREDENTIALS:"INVALID_CREDENTIALS",NOT_ENTITLED:"NOT_ENTITLED",UNEXPECTED:"UNEXPECTED"}])},348643,e=>{"use strict";var t=e.i(181391);let a=(0,t.createServerReference)("40e28d4b1c18f199392390aa487224e375f5949bc0",t.callServer,void 0,t.findSourceMapURL,"completeRacgpModule");e.s(["completeRacgpModule",0,a])},451646,e=>{"use strict";var t=e.i(860185),a=e.i(335095),r=e.i(243888);try{var n=window;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[new n.Error().stack]=Object.assign({},n._sentryModuleMetadata[new n.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,e=>{let n,s,o=(0,t.c)(5),{onChange:l}=e,d=(0,a.useSearchParams)(),i=(0,r.useEffectEvent)(l);return o[0]!==i||o[1]!==d?(n=()=>{i(d)},o[0]=i,o[1]=d,o[2]=n):n=o[2],o[3]!==d?(s=[d],o[3]=d,o[4]=s):s=o[4],(0,r.useLayoutEffect)(n,s),null}])},584518,e=>{"use strict";var t=e.i(774051),a=e.i(860185),r=e.i(608449),n=e.i(910019);try{var s=window;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[new s.Error().stack]=Object.assign({},s._sentryModuleMetadata[new s.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,e=>{let s,o,l,d,i=(0,a.c)(6);i[0]!==e?({breakpoint:o,showOnBreakpoint:l,...s}=e,i[0]=e,i[1]=s,i[2]=o,i[3]=l):(s=i[1],o=i[2],l=i[3]);let u=void 0===o?"xl":o,c=void 0===l?"always":l,y=(0,r.default)(u);return"always"===c||y&&"above"===c||!y&&"below"===c?(i[4]!==s?(d=(0,t.jsx)(n.default,{...s}),i[4]=s,i[5]=d):d=i[5],d):null}])},910019,e=>{"use strict";var t=e.i(774051),a=e.i(860185),r=e.i(7284),n=e.i(243888),s=e.i(608449),o=e.i(149296),l=e.i(567200),d=e.i(946157),i=e.i(390040),u=e.i(758055);try{var c=window;c._sentryModuleMetadata=c._sentryModuleMetadata||{},c._sentryModuleMetadata[new c.Error().stack]=Object.assign({},c._sentryModuleMetadata[new c.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}function y(e){return e.version}try{var M=window;M._sentryModuleMetadata=M._sentryModuleMetadata||{},M._sentryModuleMetadata[new M.Error().stack]=Object.assign({},M._sentryModuleMetadata[new M.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,e=>{let c,M,p,g,_=(0,a.c)(14),{id:w,restrictionClassName:f,className:m,isWide:h,clinicalChapter:E,pagePostYear:v}=e;if(_[0]!==E||_[1]!==w||_[2]!==v?(c={id:w,clinicalChapter:E,pagePostYear:v},_[0]=E,_[1]=w,_[2]=v,_[3]=c):c=_[3],(e=>{let t,r,c,M,p,g,_,w,f,m,h,E=(0,a.c)(26),{id:v,clinicalChapter:b,pagePostYear:k}=e,x=(0,n.useRef)(null),P=(0,s.default)("md");E[0]===Symbol.for("react.memo_cache_sentinel")?(t={initializeWithCurrentValue:!0},E[0]=t):t=E[0];let j=(0,o.default)(P,t),A=(0,d.default)(y);E[1]!==v||E[2]!==A?(r=()=>{v&&0!==A&&(0,i.refreshSlot)(v)},c=[v,A],E[1]=v,E[2]=A,E[3]=r,E[4]=c):(r=E[3],c=E[4]),(0,n.useEffect)(r,c),E[5]!==v||E[6]!==P||E[7]!==j?(M=()=>{v&&j!==P&&(0,i.refreshSlot)(v)},p=[v,P,j],E[5]=v,E[6]=P,E[7]=j,E[8]=M,E[9]=p):(M=E[8],p=E[9]),(0,n.useEffect)(M,p),E[10]!==b||E[11]!==v||E[12]!==k?(g=e=>{if(v!==e.slot.getSlotElementId())return;let{advertiserId:t,campaignId:a,lineItemId:r,creativeId:n,slot:s}=e,{getSlotElementId:o}=s,d={advertiserId:t?.toString()||"",campaignId:a?.toString()||"",lineItemId:r?.toString()||"",creativeId:n?.toString()||"",clinicalChapter:b||"",pagePostYear:k||""};x.current={advertiser:d.advertiserId,campaign:d.campaignId,lineItem:d.lineItemId,creativeId:d.creativeId};try{localStorage.setItem((0,l.makeAdRedirectPagePayloadStorageKey)(o()),JSON.stringify(d))}catch{}},E[10]=b,E[11]=v,E[12]=k,E[13]=g):g=E[13];let S=(0,n.useEffectEvent)(g);E[14]!==S?(_=()=>{let e=e=>{S(e)};return(0,i.getGoogleTag)().cmd.push(()=>{(0,i.getGoogleTag)().pubads().addEventListener("slotRenderEnded",e)}),()=>{(0,i.getGoogleTag)().cmd.push(()=>{(0,i.getGoogleTag)().pubads().removeEventListener("slotRenderEnded",e)})}},E[14]=S,E[15]=_):_=E[15],E[16]!==v?(w=[v],E[16]=v,E[17]=w):w=E[17],(0,n.useEffect)(_,w),E[18]!==b||E[19]!==v||E[20]!==k?(f=e=>{if(e.slot.getSlotElementId()!==v)return;let t=x.current;t&&(0,u.pushGTMEvent)("banner_view",{advertiser:t.advertiser?.toString()||void 0,campaign:t.campaign?.toString()||void 0,line_item:t.lineItem?.toString()||void 0,creative_id:t.creativeId?.toString()||void 0,clinical_chapter:b||void 0,page_post_year:k||void 0})},E[18]=b,E[19]=v,E[20]=k,E[21]=f):f=E[21];let O=(0,n.useEffectEvent)(f);E[22]!==O?(m=()=>{let e=e=>{O(e)};return(0,i.getGoogleTag)().cmd.push(()=>{(0,i.getGoogleTag)().pubads().addEventListener("impressionViewable",e)}),()=>{(0,i.getGoogleTag)().cmd.push(()=>{(0,i.getGoogleTag)().pubads().removeEventListener("impressionViewable",e)})}},E[22]=O,E[23]=m):m=E[23],E[24]!==v?(h=[v],E[24]=v,E[25]=h):h=E[25],(0,n.useEffect)(m,h)})(c),!w)return null;_[4]!==w?(M={id:w},_[4]=w,_[5]=M):M=_[5];let b=!h;return _[6]!==m||_[7]!==h||_[8]!==f||_[9]!==b?(p=(0,r.default)("overflow-hidden",f,m,{"aspect-[20/3.125] h-12.5 md:aspect-[45.5/5.625] md:h-22.5 ":h,"aspect-[18.75/15.625] h-62.5 md:aspect-[18.75/15.625] md:h-62.5 xl:w-[calc(18.75rem+4rem
2+2rem)] xl:pl-32 xl:pr-64":b}),_[6]=m,_[7]=h,_[8]=f,_[9]=b,_[10]=p):p=_[10],_[11]!==M||_[12]!==p?(g=(0,t.jsx)("div",{...M,className:p}),_[11]=M,_[12]=p,_[13]=g):g=_[13],g}],910019)},673494,e=>{"use strict";var t=e.i(774051),a=e.i(860185),r=e.i(7284),n=e.i(970785),s=e.i(904688),o=e.i(128764);try{var l=window;l._sentryModuleMetadata=l._sentryModuleMetadata||{},l._sentryModuleMetadata[new l.Error().stack]=Object.assign({},l._sentryModuleMetadata[new l.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,e=>{let l,d,i,u,c,y,M,p,g,_,w,f,m,h,E,v,b,k=(0,a.c)(39);k[0]!==e?({href:d,interpolationId:u,interpolationValue:c,message:y,mode:p,iconColor:i,contentClassName:l,textAlign:g,...M}=e,k[0]=e,k[1]=l,k[2]=d,k[3]=i,k[4]=u,k[5]=c,k[6]=y,k[7]=M,k[8]=p,k[9]=g):(l=k[1],d=k[2],i=k[3],u=k[4],c=k[5],y=k[6],M=k[7],p=k[8],g=k[9]);let x=void 0===p?"secondary":p,P=void 0===g?"center":g;k[10]!==d||k[11]!==i?(_=d?(0,t.jsx)("span",{className:"material-icons-outlined text-[1.5rem]","data-icon":"chevron_right","aria-hidden":!0,...i?{style:{color:i}}:{}}):void 0,k[10]=d,k[11]=i,k[12]=_):_=k[12],k[13]!==d||k[14]!==x||k[15]!==M?(w={href:d,mode:x,...M},k[13]=d,k[14]=x,k[15]=M,k[16]=w):w=k[16],k[17]!==l||k[18]!==y?(f="string"==typeof y&&(0,t.jsx)("span",{className:l,children:y}),k[17]=l,k[18]=y,k[19]=f):f=k[19];let j="left"===P,A="center"===P,S="right"===P;return k[20]!==l||k[21]!==j||k[22]!==A||k[23]!==S?(m=(0,r.default)(l,{"text-left":j,"text-center":A,"text-right":S}),k[20]=l,k[21]=j,k[22]=A,k[23]=S,k[24]=m):m=k[24],k[25]!==y?(h=(0,s.getBlockData)(y),k[25]=y,k[26]=h):h=k[26],k[27]!==u||k[28]!==c?(E=u&&c?[{id:u,value:c}]:void 0,k[27]=u,k[28]=c,k[29]=E):E=k[29],k[30]!==h||k[31]!==E||k[32]!==m?(v=(0,t.jsx)(o.default,{className:m,data:h,interpolationValues:E}),k[30]=h,k[31]=E,k[32]=m,k[33]=v):v=k[33],k[34]!==v||k[35]!==_||k[36]!==w||k[37]!==f?(b=(0,t.jsxs)(n.default,{suffix:_,hasRoundedEdges:!0,...w,children:[f,v]}),k[34]=v,k[35]=_,k[36]=w,k[37]=f,k[38]=b):b=k[38],b}])},825308,e=>{"use strict";var t=e.i(774051),a=e.i(860185),r=e.i(440048);try{var n=window;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let s={notStarted:"#6B7280",inProgress:"#D9822B",completed:"#1B8C6C"};var o=e.i(916145);try{var l=window;l._sentryModuleMetadata=l._sentryModuleMetadata||{},l._sentryModuleMetadata[new l.Error().stack]=Object.assign({},l._sentryModuleMetadata[new l.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}try{var d=window;d._sentryModuleMetadata=d._sentryModuleMetadata||{},d._sentryModuleMetadata[new d.Error().stack]=Object.assign({},d._sentryModuleMetadata[new d.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,e=>{let n,l,d,i,u,c,y,M,p=(0,a.c)(6),{status:g,size:_}=e,w=void 0===_?"small":_,f=(y=(0,a.c)(10),M=(0,o.useTranslations)("cpd"),y[0]!==M?(d=M("xTTP0x"),y[0]=M,y[1]=d):d=y[1],y[2]!==M?(i=M("q1WWIr"),y[2]=M,y[3]=i):i=y[3],y[4]!==M?(u=M("95stPq"),y[4]=M,y[5]=u):u=y[5],y[6]!==d||y[7]!==i||y[8]!==u?(c={notStarted:d,inProgress:i,completed:u},y[6]=d,y[7]=i,y[8]=u,y[9]=c):c=y[9],c),m=s[g];p[0]!==w?(n={size:w},p[0]=w,p[1]=n):n=p[1];let h=f[g];return p[2]!==m||p[3]!==n||p[4]!==h?(l=(0,t.jsx)(r.default,{inline:!0,accentColor:m,...n,children:h}),p[2]=m,p[3]=n,p[4]=h,p[5]=l):l=p[5],l}],825308)},431304,e=>{"use strict";var t,a=e.i(774051),r=e.i(825308),n=e.i(860185),s=e.i(7284),o=e.i(916145),l=e.i(243888),d=e.i(440048),i=e.i(174527),u=e.i(256174);try{var c=window;c._sentryModuleMetadata=c._sentryModuleMetadata||{},c._sentryModuleMetadata[(new c.Error).stack]=Object.assign({},c._sentryModuleMetadata[(new c.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var y=((t={}).EducationalActivities="EA",t.ReviewingPerformance="RP",t.MeasuringOutcomes="MO",t);try{var M=window;M._sentryModuleMetadata=M._sentryModuleMetadata||{},M._sentryModuleMetadata[(new M.Error).stack]=Object.assign({},M._sentryModuleMetadata[(new M.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var p=Object.values({EducationalActivities:{title:"Educational Activities",value:y.EducationalActivities},ReviewingPerformance:{title:"Reviewing Performance",value:y.ReviewingPerformance},MeasuringOutcomes:{title:"Measuring Outcomes",value:y.MeasuringOutcomes}});try{var g=window;g._sentryModuleMetadata=g._sentryModuleMetadata||{},g._sentryModuleMetadata[(new g.Error).stack]=Object.assign({},g._sentryModuleMetadata[(new g.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}try{var _=window;_._sentryModuleMetadata=_._sentryModuleMetadata||{},_._sentryModuleMetadata[new _.Error().stack]=Object.assign({},_._sentryModuleMetadata[new _.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let w=e=>{let t,r,l,c=(0,n.c)(15),{activityTypes:y,statusBadge:M,contrastFill:p}=e,g=(0,o.useTranslations)("cpd");c[0]!==g?(t=g("bNgWHn"),c[0]=g,c[1]=t):t=c[1];let _=t;c[2]!==g?(r=g("MJ2jZQ"),c[2]=g,c[3]=r):r=c[3];let w=r;
2if(c[4]!==y||c[5]!==_||c[6]!==p||c[7]!==M||c[8]!==w){let e,t,r,n,{allocations:o,total:g}=(n=Math.round(100*(r=y.filter(e=>!!e.activityType&&"number"==typeof e.hours&&e.hours>0)).reduce((e,t)=>e+t.hours,0))/100,{allocations:r,total:n});c[10]!==_?(e=(0,a.jsx)(d.default,{inline:!0,size:"small",accentColor:u.ACTIVITY_TYPE_COLOR[i.ActivityType.RACGPModule],children:_}),c[10]=_,c[11]=e):e=c[11],c[12]!==M||c[13]!==e?(t=(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-8",children:[e,M]}),c[12]=M,c[13]=e,c[14]=t):t=c[14],l=(0,a.jsxs)("div",{className:"flex flex-col gap-8",children:[t,o.length>0&&(0,a.jsxs)("div",{className:"flex flex-wrap gap-4 text-xs",children:[(0,a.jsx)("div",{className:(0,s.default)("inline-flex items-center gap-8 rounded-lg px-8 py-4",p?"bg-neutrals-white":"bg-secondary-off-white"),children:o.map(f)}),(0,a.jsxs)("div",{className:"inline-flex items-center gap-4 whitespace-nowrap rounded-lg bg-states-alert-background px-8 py-4",children:[(0,a.jsx)("span",{className:"font-bold text-secondary-oxford-blue",children:w}),(0,a.jsx)("span",{className:"font-bold text-primary-tv tabular-nums",children:g})]})]})]}),c[4]=y,c[5]=_,c[6]=p,c[7]=M,c[8]=w,c[9]=l}else l=c[9];return l};function f(e,t){let r;return(0,a.jsxs)(l.default.Fragment,{children:[t>0&&(0,a.jsx)("span",{className:"w-px self-stretch bg-neutrals-100","aria-hidden":"true"}),(0,a.jsxs)("span",{className:"whitespace-nowrap",title:(r=e.activityType,p.find(e=>e.value===r)?.title||r),children:[(0,a.jsx)("span",{className:"font-bold text-secondary-oxford-blue",children:e.activityType})," ",(0,a.jsx)("span",{className:"font-bold text-primary-tv tabular-nums",children:e.hours})]})]},e.activityType)}try{var m=window;m._sentryModuleMetadata=m._sentryModuleMetadata||{},m._sentryModuleMetadata[(new m.Error).stack]=Object.assign({},m._sentryModuleMetadata[(new m.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["buildRacgpTeaserMeta",0,({racgpAccredited:e,activityTypes:t,status:n,contrastFill:s})=>{if(!e)return;let o=n&&"notStarted"!==n?(0,a.jsx)(r.default,{status:n}):void 0;return(0,a.jsx)(w,{activityTypes:t,statusBadge:o,contrastFill:s})}],431304)},652731,e=>{"use strict";var t=e.i(774051),a=e.i(860185);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[new r.Error().stack]=Object.assign({},r._sentryModuleMetadata[new r.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,e=>{let r,n,s=(0,a.c)(5),{color:o,children:l}=e;return s[0]!==o?(r={"--color-page-accent":o},s[0]=o,s[1]=r):r=s[1],s[2]!==l||s[3]!==r?(n=(0,t.jsx)("div",{style:r,children:l}),s[2]=l,s[3]=r,s[4]=n):n=s[4],n}])},465015,e=>{"use strict";var t=e.i(774051),a=e.i(860185),r=e.i(243888);try{var n=window;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[new n.Error().stack]=Object.assign({},n._sentryModuleMetadata[new n.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let s=(0,r.createContext)(null);e.s(["default",0,e=>{let n,o,l,d=(0,a.c)(7),{open:i,children:u}=e,[c,y]=(0,r.useState)(!1),[M,p]=(0,r.useState)(!1);i&&!c&&y(!0),d[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{p(!0)},d[0]=n):n=d[0];let g=n,_=!!(i&&M);return d[1]!==u||d[2]!==_||d[3]!==c?(o=c&&u(_),d[1]=u,d[2]=_,d[3]=c,d[4]=o):o=d[4],d[5]!==o?(l=(0,t.jsx)(s.Provider,{value:g,children:o}),d[5]=o,d[6]=l):l=d[6],l},"useLazyModalReady",0,()=>{let e,t,n=(0,a.c)(3),o=(0,r.use)(s);n[0]!==o?(e=()=>{o?.()},t=[o],n[0]=o,n[1]=e,n[2]=t):(e=n[1],t=n[2]),(0,r.useLayoutEffect)(e,t)}])},957992,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["AD_TARGET_URL_QUERY_PARAM_NAME",0,"targetUrl","SLOT_ELEMENT_ID_QUERY_PARAM_NAME",0,"slotElementId"])},567200,e=>{"use strict";var t=e.i(957992);try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let r=e=>/^https?:\/\//iu.test(e);e.s(["getTargetUrl",0,e=>{let a=`${t.AD_TARGET_URL_QUERY_PARAM_NAME}=`,n=(e.startsWith("?")?e.slice(1):e).split("&"),s=n.findIndex(e=>e.startsWith(a));if(-1===s)return"";let o=n.slice(s).join("&").slice(a.length),[l,...d]=o.split("&");return r(o)?o:[(e=>{try{return decodeURIComponent(e)}catch{return e}})(l),...d].join("&")},"isAbsoluteHttpUrl",0,r,"makeAdRedirectPagePayloadStorageKey",0,e=>`ad-payload-${e}`])},751532,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["RECENTLY_VIEWED_CLINICAL_PAGES_STORAGE_KEY",0,"recently-viewed-clinical-pages"])},524638,e=>{"use strict";
2var t=e.i(667431);try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let r=Math.round(100*t.RACGP_MODULE_COMPLETION_THRESHOLD);e.s(["RACGP_MODULE_WATCH_THRESHOLD_PERCENTAGE",0,r,"REFLECTION_FIELD_NAME",0,"reflection","REFLECTION_MAX_LENGTH",0,1e4,"SUBJECT_FIELD_NAME",0,"subject"])},572709,29129,e=>{"use strict";var t=e.i(860185),a=e.i(610268),r=e.i(737),n=e.i(350841),s=e.i(916145),o=e.i(243888),l=e.i(348643),d=e.i(768609),i=e.i(119364),u=e.i(722821),c=e.i(156313),y=e.i(524638);try{var M=window;M._sentryModuleMetadata=M._sentryModuleMetadata||{},M._sentryModuleMetadata[new M.Error().stack]=Object.assign({},M._sentryModuleMetadata[new M.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["useCompleteModuleForm",0,e=>{let t=(0,s.useTranslations)("errors"),a=(0,d.default)(),r=(0,u.default)(e=>e.synonymId),[i,M]=(0,o.useState)();return{onSubmit:async s=>{let{[y.REFLECTION_FIELD_NAME]:o,[y.SUBJECT_FIELD_NAME]:d,...i}=s;try{let s=await (0,l.completeRacgpModule)({id:e,language:a,userAnswers:i,reflection:o,subject:d,synonymId:r});if(!s.success)return{[n.FORM_ERROR]:t("JqiqNj")};M(s.data),(0,c.revalidateTrackingRecords)();return}catch{return{[n.FORM_ERROR]:t("JqiqNj")}}},result:i,reset:()=>M(void 0)}},"useModuleFormValidation",0,(e,n,o)=>{let l,d=(0,t.c)(5),i=(0,s.useTranslations)("validation");if(d[0]!==e||d[1]!==n||d[2]!==o||d[3]!==i){let t=i("Seanpx"),s=i("1ewE+C");l=(0,r.createFinalFormValidation)({field:{...e.reduce((e,{key:r})=>({...e,[r]:[{validator:a.Validators.required,message:t}]}),{}),...n&&{[y.REFLECTION_FIELD_NAME]:[{validator:a.Validators.required,message:t}]},...o&&{[y.SUBJECT_FIELD_NAME]:[{validator:a.Validators.required,message:s}]}}}),d[0]=e,d[1]=n,d[2]=o,d[3]=i,d[4]=l}else l=d[4];return l},"useModuleWatchProgress",0,e=>{let a,r,n=(0,t.c)(5);n[0]!==e?(a=[e],n[0]=e,n[1]=a):a=n[1];let{statusByPageId:s}=(0,i.useRacgpModuleStatuses)(a),o=s[e],l=o?.watchedSeconds,d=o?.status==="completed";return n[2]!==l||n[3]!==d?(r={watchedSeconds:l,completed:d},n[2]=l,n[3]=d,n[4]=r):r=n[4],r},"useStickyBarStuck",0,()=>{let e,a,r,n=(0,t.c)(4),s=(0,o.useRef)(null),[l,d]=(0,o.useState)(!1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=s.current;if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;d(!t.isIntersecting)});return t.observe(e),()=>t.disconnect()},a=[],n[0]=e,n[1]=a):(e=n[0],a=n[1]),(0,o.useEffect)(e,a),n[2]!==l?(r={sentinelRef:s,isStuck:l},n[2]=l,n[3]=r):r=n[3],r}],572709);var p=e.i(774051),g=e.i(128764),_=e.i(711478);try{var w=window;w._sentryModuleMetadata=w._sentryModuleMetadata||{},w._sentryModuleMetadata[(new w.Error).stack]=Object.assign({},w._sentryModuleMetadata[(new w.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["formatQuizFailNotice",0,(e,t)=>(0,_.getTemplateExecutor)(e)(t),"getMappedModuleQuestions",0,e=>e.map(({key:e,title:t,question:a,answers:r})=>({key:e,title:t,question:(0,p.jsx)(g.default,{data:a}),answers:r.map(({key:e,text:t})=>({key:e,text:(0,p.jsx)(g.default,{data:t}),correct:!1}))})),"getMappedModuleResults",0,(e,t)=>e&&t.map(({key:t,question:a,...r})=>({...r,key:t,question:a||"",hasAnsweredCorrectly:!!e.find(e=>e.questionKey===t)?.correct})),"resolveCompletionCopy",0,e=>{let t;return{cta:e?.cta??"",watchThresholdNotice:(t=e?.watchThresholdNotice??"",(0,_.getTemplateExecutor)(t)({percentage:y.RACGP_MODULE_WATCH_THRESHOLD_PERCENTAGE})),successMessage:e?.successMessage??"",retryLabel:e?.retryLabel??"",quizFailNotice:e?.quizFailNotice??""}}],29129)},256174,174527,e=>{"use strict";try{var t,a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var r=((t={}).Article="Article",t.Tv="TV",t.Podcast="Podcast",t.StudyGroup="StudyGroup",t.MCQ="MCQ",t.AIOverview="AIOverview",t.RACGPModule="RACGPModule",t);e.s(["ActivityType",()=>r],174527);try{var n=window;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let s={[r.Article]:"#0073CF",[r.Tv]:"#D94625",[r.Podcast]:"#1B8C6C",[r.StudyGroup]:"#653AAC",[r.MCQ]:"#653AAC",[r.AIOverview]:"#005497",[r.RACGPModule]:"#D94625"};e.s(["ACTIVITY_TYPE_COLOR",0,s],256174)},866128,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["FIVE_MINUTES_IN_DAYS",0,5/1440,"RACGP_PROMO_CODE_COOKIE_NAME",0,"gpn_racgp_promo"])},667431,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["RACGP_MEMBERSHIP_NUMBER_REGEX",0,/^\d+$/u,"RACGP_MODULE_COMPLETION_THRESHOLD",0,.8])},912942,e=>{"use strict";var t=e.i(243888),a=e.i(77372);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[new r.Error().stack]=Object.assign({},r._sentryModuleMetadata[new r.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,()=>(0,t.useContext)(a.RestrictionModalContext)])},429461,e=>{"use strict";var t=e.i(774051),a=e.i(860185),r=e.i(243888);try{var n=window;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[new n.Error().stack]=Object.assign({},n._sentryModuleMetadata[new n.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let s=(0,r.createContext)({trackingRecordId:void 0});e.s(["default",0,e=>{let r,n,o,l,d=(0,a.c)(8);return d[0]!==e?({children:r,...n}=e,d[0]=e,d[1]=r,d[2]=n):(r=d[1],n=d[2]),d[3]!==n?(o={value:n},d[3]=n,d[4]=o):o=d[4],d[5]!==r||d[6]!==o?(l=(0,t.jsx)(s.Provider,{...o,children:r}),d[5]=r,d[6]=o,d[7]=l):l=d[7],l},"useTrackingContext",0,()=>(0,r.useContext)(s)])},221246,e=>{"use strict";var t=e.i(243888),a=e.i(113632);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[new r.Error().stack]=Object.assign({},r._sentryModuleMetadata[new r.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,()=>
2(0,t.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getServerSnapshot)])},981478,945357,e=>{"use strict";var t=e.i(860185),a=e.i(243888);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var n={Custom:"custom",Latest:"latest"};e.s(["LIST_SOURCE_TYPE",0,n],945357);var s=e.i(768609),o=e.i(990484),l=e.i(968037);try{var d=window;d._sentryModuleMetadata=d._sentryModuleMetadata||{},d._sentryModuleMetadata[new d.Error().stack]=Object.assign({},d._sentryModuleMetadata[new d.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["useLatestItems",0,(e,r)=>{let d,i,u,c,y,M=(0,t.c)(17),{limit:p,source:g,customItems:_,shouldFetch:w,type:f,id:m}=r;M[0]!==_?(d=void 0===_?[]:_,M[0]=_,M[1]=d):d=M[1];let h=d,E=void 0===w||w,v=(0,s.default)();M[2]!==p?(i=()=>(0,l.makeLatestItemsFallbackData)(p),M[2]=p,M[3]=i):i=M[3];let[b]=(0,a.useState)(i);M[4]!==m||M[5]!==p||M[6]!==v||M[7]!==e||M[8]!==E||M[9]!==g||M[10]!==f?(u=E&&g===n.Latest?[(0,l.getLatestResourceEndpoint)(e),{searchParams:{lang:v,limit:p,type:f,id:m}}]:null,M[4]=m,M[5]=p,M[6]=v,M[7]=e,M[8]=E,M[9]=g,M[10]=f,M[11]=u):u=M[11];let k=g===n.Custom?h:b;M[12]!==k?(c={fallbackData:{items:k}},M[12]=k,M[13]=c):c=M[13];let{data:x}=(0,o.default)(u,null,c);if(!x){let e;return M[14]===Symbol.for("react.memo_cache_sentinel")?(e=[],M[14]=e):e=M[14],e}return x.items===b?b:(M[15]!==x.items?(y=(0,l.mapMediaItems)(x.items),M[15]=x.items,M[16]=y):y=M[16],y)}],981478)},968037,e=>{"use strict";var t=e.i(774051),a=e.i(959108),r=e.i(128764),n=e.i(227087);try{var s=window;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[(new s.Error).stack]=Object.assign({},s._sentryModuleMetadata[(new s.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["getLatestResourceEndpoint",0,e=>{switch(e){case a.PAGE_TYPE.Tv:return n.default.tv.latest;case a.PAGE_TYPE.Podcast:return n.default.podcast.latest;case a.PAGE_TYPE.ShortcutClinicalReference:return n.default.shortcut.latest;default:return null}},"isArrayOfEvents",0,e=>{let t=e[0];return!!t&&"groupName"in t},"makeLatestItemsFallbackData",0,e=>Array.from({length:e},(e,t)=>({key:t.toString(),title:"",date:"",linkProps:{},withSkeleton:!0,thumbnailProps:{aspectRatio:170/304}})),"mapMediaItems",0,e=>e.map(e=>{let{contentStatement:a,prescribingInformation:n,clientJobCodeAndPreparationDate:s}=e.sponsorship||{};return{...e,description:e.description?(0,t.jsx)(r.default,{data:e.description}):void 0,sponsorship:e.sponsorship?{contentStatement:a?(0,t.jsx)(r.default,{data:a}):"",prescribingInformation:n?(0,t.jsx)(r.default,{data:n}):void 0,clientJobCodeAndPreparationDate:s?(0,t.jsx)(r.default,{data:s}):void 0}:void 0}})])},119364,e=>{"use strict";var t=e.i(860185),a=e.i(559407),r=e.i(990484),n=e.i(227087);try{var s=window;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[new s.Error().stack]=Object.assign({},s._sentryModuleMetadata[new s.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}function o(e,t){return e[t.pageId]=t,e}e.s(["useRacgpModuleStatuses",0,e=>{let s,l,d,i,u=(0,t.c)(10),{user:c}=(0,a.default)(),y=c?.userMeta?.isAnyPro;u[0]!==e?(s=[...e].sort().join(","),u[0]=e,u[1]=s):s=u[1];let M=s;u[2]!==y||u[3]!==M?(l=y&&M.length>0?[n.default.tracking.racgpStatuses,{searchParams:{pageIds:M}}]:null,u[2]=y,u[3]=M,u[4]=l):l=u[4];let{data:p}=(0,r.default)(l);u[5]!==p?(d=(p??[]).reduce(o,{}),u[5]=p,u[6]=d):d=u[6];let g=d,_=void 0!==p;return u[7]!==g||u[8]!==_?(i={statusByPageId:g,isSettled:_},u[7]=g,u[8]=_,u[9]=i):i=u[9],i}])},355562,e=>{"use strict";var t=e.i(860185),a=e.i(335095),r=e.i(583592),n=e.i(917265),s=e.i(768609),o=e.i(227087),l=e.i(157717),d=e.i(813043),i=e.i(929770),u=e.i(376461);try{var c=window;c._sentryModuleMetadata=c._sentryModuleMetadata||{},c._sentryModuleMetadata[(new c.Error).stack]=Object.assign({},c._sentryModuleMetadata[(new c.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let y=e=>!e.success&&e.error===r.ACTION_ERROR.SESSION_EXPIRED;try{var M=window;M._sentryModuleMetadata=M._sentryModuleMetadata||{},M._sentryModuleMetadata[new M.Error().stack]=Object.assign({},M._sentryModuleMetadata[new M.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}function p(e){setTimeout(e,d.AUTH_RETRY_DELAY_MS)}e.s(["default",0,e=>{let d,c,M=(0,t.c)(9),g=(0,a.useRouter)(),_=(0,a.usePathname)(),w=(0,s.default)(),f=n.default[w]?.signInPage;M[0]!==w||M[1]!==_||M[2]!==g||M[3]!==f?(d=()=>{g.push((0,i.default)((0,u.default)(f,_),w))},M[0]=w,M[1]=_,M[2]=g,M[3]=f,M[4]=d):d=M[4];let m=d;return M[5]!==e||M[6]!==m||M[7]!==w?(c={execute:async(...t)=>{try{let a=await e(...t);if(!y(a))return a;await new Promise(p);let r=await e(...t);if(!y(r))return r;try{await (0,l.fetcher)(o.default.user.currentUser,w)}catch{m()}return r}catch(e){throw e instanceof Error&&e.message===r.ACTION_ERROR.SESSION_EXPIRED&&m(),e}}},M[5]=e,M[6]=m,M[7]=w,M[8]=c):c=M[8],c}],355562)},307111,71300,e=>{"use strict";var t=e.i(860185),a=e.i(680766),r=e.i(559407),n=e.i(243888),s=e.i(312616);try{var o=window;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[new o.Error().stack]=Object.assign({},o._sentryModuleMetadata[new o.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let l=()=>(0,n.useContext)(s.DraftModeContext);var d=e.i(221246),i=e.i(592504),u=e.i(768609),c=e.i(213514);try{var y=window;y._sentryModuleMetadata=y._sentryModuleMetadata||{},y._sentryModuleMetadata[(new y.Error).stack]=Object.assign({},y._sentryModuleMetadata[(new y.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var M=e.i(513168),p=e.i(301042),g=e.i(980830),_=e.i(741202);try{var w=window;w._sentryModuleMetadata=w._sentryModuleMetadata||{},w._sentryModuleMetadata[new w.Error().stack]=Object.assign({},w._sentryModuleMetadata[new w.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let f=(e,a,n)=>{let s,o,d,y,w,f,m=(0,t.c)(28),h=(0,u.default)(),{user:E}=(0,r.default)(),v=l();m[0]!==n?(s=n||{},m[0]=n,m[1]=s):s=m[1];let{globalPageViewsLimit:b,perPagePageViewsLimit:k,counterType:x}=s;m[2]!==h?(o=()=>(0,_.normalizeVisitedPages)((0,p.parseJson)((0,c.getLocalStorageValue)((0,M.getRestrictedContentCounterLocalStorageKey)(h)))),m[2]=h,m[3]=o):o=m[3];let P=o;m[4]!==P||m[5]!==a||m[6]!==e?(d=()=>!!e&&P()[e].findIndex(e=>{let{id:t}=e;return t===a})>=0,m[4]=P,m[5]=a,m[6]=e,m[7]=d):d=m[7];let j=d;m[8]!==x||m[9]!==P||m[10]!==b||m[11]!==v||m[12]!==h||m[13]!==j||m[14]!==a||m[15]!==k||m[16]!==e||m[17]!==E?(y=t=>{let r=e&&x===i.PAGE_COUNTER_TYPE.PerPageType.value&&!k?.[e],n=x===i.PAGE_COUNTER_TYPE.Global.value&&!b;if(v||j()||t||!e||E||r||n)return;let s=P(),o={...s,[e]:((e,t,a)=>{if(1===a)return[e];let r=t.slice(-a+1);return r.push(e),r})({id:a},s[e],M.VISITED_PAGES_MAX_SIZE)};(0,c.setLocalStorageValue)((0,M.getRestrictedContentCounterLocalStorageKey)(h),o)},m[8]=x,m[9]=P,m[10]=b,m[11]=v,m[12]=h,m[13]=j,m[14]=a,m[15]=k,m[16]=e,m[17]=E,m[18]=y):y=m[18];let A=y;m[19]!==x||m[20]!==P||m[21]!==b||m[22]!==k?(w=()=>{let e=P();return(0,g.objectEntries)(e).reduce((e,t)=>
2{let[a,r]=t,n=k?.[a],s=!!n&&r.length>=(n||5),o=!!b&&r.length>=(b||5);return{...e,[a]:x===i.PAGE_COUNTER_TYPE.Global.value?o:s}},{clinical:!1,tv:!1,podcast:!1})},m[19]=x,m[20]=P,m[21]=b,m[22]=k,m[23]=w):w=m[23];let S=w;return m[24]!==A||m[25]!==S||m[26]!==P?(f={addPageToLocalStorage:A,checkIfShouldShowRestrictionModal:S,getVisitedPagesStorageValue:P},m[24]=A,m[25]=S,m[26]=P,m[27]=f):f=m[27],f};e.s(["usePageRestrictedContentCount",0,f],71300);var m=e.i(738370),h=e.i(557441);try{var E=window;E._sentryModuleMetadata=E._sentryModuleMetadata||{},E._sentryModuleMetadata[new E.Error().stack]=Object.assign({},E._sentryModuleMetadata[new E.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["useUserRestrictions",0,(e,n,s)=>{let o,i,u=(0,t.c)(8);u[0]!==n?(o=(0,h.replaceTypenameWithPageType)(n),u[0]=n,u[1]=o):o=u[1];let c=o,{checkIfShouldShowRestrictionModal:y}=f(c,void 0,s),{user:M}=(0,r.default)(),{userMeta:p}=M||{},{isAnyPro:g}=p||{},_=(0,d.default)(),w=l();e:{let t;if(w){let e;u[2]===Symbol.for("react.memo_cache_sentinel")?(e={shouldShowModal:!1},u[2]=e):e=u[2],i=e;break e}let r=!1===_;if(r&&e===a.ContentType.SignedOut&&(!c||y()[c])){let e;u[3]===Symbol.for("react.memo_cache_sentinel")?(e={shouldShowModal:!0,modalType:m.ModalType.Login},u[3]=e):e=u[3],i=e;break e}if(r&&e===a.ContentType.SignedIn){let e;u[4]===Symbol.for("react.memo_cache_sentinel")?(e={shouldShowModal:!0,modalType:m.ModalType.Login},u[4]=e):e=u[4],i=e;break e}if(r&&e===a.ContentType.Pro){let e;u[5]===Symbol.for("react.memo_cache_sentinel")?(e={shouldShowModal:!0,modalType:m.ModalType.LoginPro},u[5]=e):e=u[5],i=e;break e}if(M&&!g&&e===a.ContentType.Pro){let e;u[6]===Symbol.for("react.memo_cache_sentinel")?(e={shouldShowModal:!0,modalType:m.ModalType.Pro},u[6]=e):e=u[6],i=e;break e}u[7]===Symbol.for("react.memo_cache_sentinel")?(t={shouldShowModal:!1},u[7]=t):t=u[7],i=t}return i}],307111)},946157,e=>{"use strict";var t=e.i(855830);try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let r=(0,t.create)(e=>({version:0,markReady:()=>e(e=>({version:e.version+1})),reset:()=>e({version:0})}));e.s(["default",0,r])},5623,236581,e=>{"use strict";var t=e.i(243888);try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let r=(0,t.createContext)(null);e.s(["default",0,r],5623);var n=e.i(931963);try{var s=window;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[(new s.Error).stack]=Object.assign({},s._sentryModuleMetadata[(new s.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["createPageClientStore",0,()=>(0,n.createStore)(e=>({pageId:null,trackingRecordId:void 0,setTrackingRecordId:(t,a)=>e({pageId:t,trackingRecordId:a})})),"default",0,e=>(0,n.createStore)(()=>({...e}))],236581)},722821,e=>{"use strict";var t=e.i(860185),a=e.i(243888),r=e.i(931963),n=e.i(855830),s=e.i(5623),o=e.i(236581);try{var l=window;l._sentryModuleMetadata=l._sentryModuleMetadata||{},l._sentryModuleMetadata[new l.Error().stack]=Object.assign({},l._sentryModuleMetadata[new l.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let d=(0,r.createStore)(()=>({routeData:null,synonymId:null,isProEnabled:!1})),i=(0,o.createPageClientStore)();function u(e){return e.setTrackingRecordId}e.s(["default",0,function(e,t){let r=(0,a.use)(s.default);if(!r&&!t)throw Error("usePageStore must be used within PageStoreProvider");let o=(0,n.useStore)(r?.store??d,e);return r?o:void 0},"useSetTrackingRecordId",0,()=>{let e=(0,a.use)(s.default);return(0,n.useStore)(e?.clientStore??i,u)},"useTrackingRecordId",0,e=>{let r,o=(0,t.c)(2),l=(0,a.use)(s.default);return o[0]!==e?(r=t=>t.pageId&&t.pageId===e?t.trackingRecordId:void 0,o[0]=e,o[1]=r):r=o[1],(0,n.useStore)(l?.clientStore??i,r)}])},904688,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["getBlockData",0,e=>Array.isArray(e)?e:[]])},513168,741202,557441,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["VISITED_PAGES_MAX_SIZE",0,100,"getRestrictedContentCounterLocalStorageKey",0,e=>`${e}-visited-pages`],513168);try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let r=e=>Array.isArray(e)?e:[];e.s(["normalizeVisitedPages",0,e=>({tv:r(e?.tv),podcast:r(e?.podcast),clinical:r(e?.clinical)})],741202);var n=e.i(959108);try{var s=window;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[(new s.Error).stack]=Object.assign({},s._sentryModuleMetadata[(new s.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["replaceTypenameWithPageType",0,e=>{switch(e){case n.PAGE_TYPE.Tv:return"tv";case n.PAGE_TYPE.Podcast:return"podcast";case n.PAGE_TYPE.StandardClinicalReference:case n.PAGE_TYPE.ShortcutClinicalReference:case n.PAGE_TYPE.GemClinicalReference:return"clinical";default:return}}],557441)},918313,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["RETURN_ROUTE_QUERY_PARAM_NAME",0,"from"])},376461,e=>{"use strict";var t=e.i(10193),a=e.i(918313);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,(e,r)=>{if(!r||t.ROUTES_WITHOUT_REDIRECT_FROM_SIGN_IN_PAGE.some(e=>r.startsWith(e)))return e;let n=new URLSearchParams;return n.set(a.RETURN_ROUTE_QUERY_PARAM_NAME,r),`${e}?${n.toString()}`}])},980830,e=>{"use strict";e.i(284022);try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["isKeyOfObject",0,(e,t)=>!!e&&!!t&&e in t,"isValueInObject",0,(e,t)=>!!t&&Object.values(t).includes(e),"objectEntries",0,e=>Object.entries(e)])},49558,e=>{"use strict";var t=e.i(592504),a=e.i(557441);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["getPageViewLimit",0,(e,r)=>{let{globalPageViewsLimit:n,perPagePageViewsLimit:s,counterType:o}=e||{},l=(0,a.replaceTypenameWithPageType)(r);if(o===t.PAGE_COUNTER_TYPE.PerPageType.value&&s&&l){let e=s[l];return e===1/0?void 0:e}return n===1/0?void 0:n}])},156313,e=>{"use strict";e.i(238559);var t=e.i(523663),a=e.i(227087);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["revalidateTrackingRecords",0,()=>(0,t.mutate)(e=>Array.isArray(e)?e[0]===a.default.tracking.user||e[0]===a.default.tracking.total||e[0]===a.default.tracking.racgpStatuses:"string"==typeof e&&(e===a.default.tracking.user||e===a.default.tracking.total||e===a.default.tracking.racgpStatuses))])},478742,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["getRouteHash",0,e=>{if("string"!=typeof e)return e.hash.replace("#","");let{hash:t}=new URL(e,window.location.origin);return t.replace("#","")},"replaceUrlWithoutNavigation",0,e=>{window.history.replaceState(null,"",e)}])},397425,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["isUserEligibleForTracking",0,e=>{if(!e)return!1;let{isAnyPro:t,isAnyExpiredPro:a}=e||{};return t||!a}])},351853,(e,t,a)=>{try{var r="u">typeof window?window:e.g;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var n=0/0,s=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,d=/^0o[0-7]+$/i,i=parseInt,u=e.g&&e.g.Object===Object&&e.g,c="object"==typeof self&&self&&self.Object===Object&&self,y=u||c||Function("return this")(),M=Object.prototype.toString,p=Math.max,g=Math.min,_=function(){return y.Date.now()};function w(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function f(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==M.call(t))return n;if(w(e)){var t,a="function"==typeof e.valueOf?e.valueOf():e;e=w(a)?a+"":a}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var r=l.test(e);return r||d.test(e)?i(e.slice(2),r?2:8):o.test(e)?n:+e}
2t.exports=function(e,t,a){var r,n,s,o,l,d,i=0,u=!1,c=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function M(t){var a=r,s=n;return r=n=void 0,i=t,o=e.apply(s,a)}function m(e){var a=e-d,r=e-i;return void 0===d||a>=t||a<0||c&&r>=s}function h(){var e,a,r,n=_();if(m(n))return E(n);l=setTimeout(h,(e=n-d,a=n-i,r=t-e,c?g(r,s-a):r))}function E(e){return(l=void 0,y&&r)?M(e):(r=n=void 0,o)}function v(){var e,a=_(),s=m(a);if(r=arguments,n=this,d=a,s){if(void 0===l)return i=e=d,l=setTimeout(h,t),u?M(e):o;if(c)return l=setTimeout(h,t),M(d)}return void 0===l&&(l=setTimeout(h,t)),o}return t=f(t)||0,w(a)&&(u=!!a.leading,s=(c="maxWait"in a)?p(f(a.maxWait)||0,t):s,y="trailing"in a?!!a.trailing:y),v.cancel=function(){void 0!==l&&clearTimeout(l),i=0,r=d=n=l=void 0},v.flush=function(){return void 0===l?o:E(_())},v}},582856,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var a=e=>{let t=parseFloat(e);return Number.isNaN(t)?0:t};try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var n=(e,t=getComputedStyle(document.documentElement))=>a(e.replace("rem",""))*a(t.fontSize.replace("px","")),s=e.i(874547),o=e.i(351853);try{var l=window;l._sentryModuleMetadata=l._sentryModuleMetadata||{},l._sentryModuleMetadata[(new l.Error).stack]=Object.assign({},l._sentryModuleMetadata[(new l.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["scrollToElement",0,(e,t)=>{if(!(e instanceof Element))return;let{behavior:r="smooth",to:l="center",onScrolled:d,scrollMargin:i=0}=t||{};s.default.measure(()=>{let t=a(document.documentElement.style.getPropertyValue("--search-bar-height")),s=n(getComputedStyle(document.documentElement).getPropertyValue("--header-height")),u=n(getComputedStyle(document.documentElement).getPropertyValue("--top-leaderboard-height")),{height:c,top:y}=e.getBoundingClientRect(),M="function"==typeof l?l(e):l,p=(()=>{switch(M){case"top":return window.scrollY+y-t-s-u-i;case"center":{let e=(window.innerHeight-t-s-u-c)/2;return window.scrollY+y-e-t-s-u-i}case"bottom":return window.scrollY+y+c-t-s-u-i;default:return 0}})(),g=(0,o.default)(()=>{window.removeEventListener("scroll",g),d?.()},50);window.addEventListener("scroll",g),window.scrollTo({top:p,behavior:r})})}],582856)},855830,e=>{"use strict";var t=e.i(243888),a=e.i(931963);try{var r="u">typeof window?window:e.g;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let n=e=>e;function s(e,a=n){let r=t.default.useSyncExternalStore(e.subscribe,t.default.useCallback(()=>a(e.getState()),[e,a]),t.default.useCallback(()=>a(e.getInitialState()),[e,a]));return t.default.useDebugValue(r),r}let o=e=>{let t=(0,a.createStore)(e),r=e=>s(t,e);return Object.assign(r,t),r};e.s(["create",0,e=>e?o(e):o,"useStore",0,s])},66711,e=>{"use strict";var t=e.i(243888);try{var a="u">typeof window?window:e.g;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let r=(e,t)=>{let a=e instanceof Map?e:new Map(e.entries()),r=t instanceof Map?t:new Map(t.entries());if(a.size!==r.size)return!1;for(let[e,t]of a)if(!r.has(e)||!Object.is(t,r.get(e)))return!1;return!0};try{var n="u">typeof window?window:e.g;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["useShallow",0,function(e){let a=t.default.useRef(void 0);return t=>{let n=e(t);return!function(e,t){if(Object.is(e,t))return!0;
2if("object"!=typeof e||null===e||"object"!=typeof t||null===t||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;if(Symbol.iterator in e&&Symbol.iterator in t){if("entries"in e&&"entries"in t)return r(e,t);let a=e[Symbol.iterator](),n=t[Symbol.iterator](),s=a.next(),o=n.next();for(;!s.done&&!o.done;){if(!Object.is(s.value,o.value))return!1;s=a.next(),o=n.next()}return!!s.done&&!!o.done}return r({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)})}(a.current,n)?a.current=n:a.current}}],66711)},931963,e=>{"use strict";try{var t="u">typeof window?window:e.g;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}let a=e=>{let t,a=new Set,r=(e,r)=>{let n="function"==typeof e?e(t):e;if(!Object.is(n,t)){let e=t;t=(null!=r?r:"object"!=typeof n||null===n)?n:Object.assign({},t,n),a.forEach(a=>a(t,e))}},n=()=>t,s={setState:r,getState:n,getInitialState:()=>o,subscribe:e=>(a.add(e),()=>a.delete(e))},o=t=e(r,n,s);return s};e.s(["createStore",0,e=>e?a(e):a])},148412,e=>{"use strict";var t=e.i(680766);try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var r={SignedOut:{title:"Signed Out",value:t.ContentType.SignedOut},SignedIn:{title:"Signed In",value:t.ContentType.SignedIn},Pro:{title:"Pro",value:t.ContentType.Pro}};e.s(["CONTENT_TYPES",0,r])},592504,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["PAGE_COUNTER_TYPE",0,{Global:{title:"Global",value:"global"},PerPageType:{title:"Per page type (separate counter set for TV, Podcasts and Clinical Reference pages)",value:"perPageType"}}])},959108,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var a={Page:"page",Tv:"tv",Podcast:"podcast",StandardClinicalReference:"standardClinicalReference",ShortcutClinicalReference:"shortcutClinicalReference",GemClinicalReference:"gemClinicalReference",Quiz:"quiz"},r=[a.StandardClinicalReference,a.ShortcutClinicalReference,a.GemClinicalReference];e.s(["CLINICAL_REFERENCE_PAGE_TYPES",0,r,"EVENT_PAGE_TYPE",0,"event","PAGE_TYPE",0,a])},680766,e=>{"use strict";try{var t,a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var r=((t={}).Pro="pro",t.SignedOut="signedOut",t.SignedIn="signedIn",t);e.s(["ContentType",0,r])},782824,e=>{"use strict";try{var t,a,r,n=window;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var s=((t={}).Pro="pro",t.Trial="trial",t),o=((a={}).Pro="pro-restricted",a.NonPro="non-pro-restricted",a.ExpiredPro="pro-expired-restricted",a.ExpiredProTrial="pro-expired-trial-restricted",a.NotLogged="not-logged-restricted",a.LoggedIn="logged-in-restricted",a.Student="student-restricted",a.NeverPro="never-pro-restricted",a),l=((r={}).EditorInChief="editor-in-chief",r.Editor="editor",r);e.s(["SubscriptionType",0,s,"UserRestrictionClasses",0,o,"UserRole",0,l])},440048,e=>{"use strict";try{var t,a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var r=((t={}).Primary="primary",t.Secondary="secondary",t.Light="light",t.Dark="dark",t.Pro="pro",t);e.i(243888);var n=e.i(774051),s=e.i(7284);try{var o=window;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[(new o.Error).stack]=Object.assign({},o._sentryModuleMetadata[(new o.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,({className:e,variant:t="default",onClose:a,number:o,ariaLabel:l,closeButtonClassName:d,inline:i,size:u,accentColor:c,children:y})=>(0,n.jsxs)("p",{style:c?{backgroundColor:c}:void 0,className:(0,s.default)("items-center px-8 py-4 rounded-lg whitespace-nowrap",e,{flex:!i,"inline-flex":i,"bg-neutrals-50 text-neutrals-black":t===r.Primary&&!c,"bg-neutrals-white text-neutrals-black":t===r.Light&&!c,"bg-neutrals-black text-neutrals-white":t===r.Dark&&!c,"bg-primary-beau-blue/20 text-neutrals-white":t===r.Secondary&&!c,"bg-linear-to-r from-primary-beau-blue to-secondary-dusk text-neutrals-black":t===r.Pro&&!c,"font-bold text-neutrals-white":!!c,"text-s":"medium"===u||!u&&a,"text-xs":"small"===u||!u&&!a}),children:[y,o&&(0,n.jsx)("strong",{className:(0,s.default)("px-4 py-[.0938rem] rounded-md ml-8 text-neutrals-black font-normal text-xxs",{"bg-neutrals-white":"light"!==t,"bg-neutrals-50":"light"===t}),children:o}),a&&(0,n.jsx)("button",{type:"button",onClick:a,className:(0,s.default)("p-4 ml-8 text-[.5rem] transition flex items-center",d,{"text-neutrals-400 lg:hover:text-neutrals-black":"dark"!==t,"text-neutrals-white":"dark"===t}),"aria-label":`Remove ${l} tag`,children:(0,n.jsx)("span",{className:"material-icons-outlined text-current text-base","data-icon":"close"})})]})],440048)},950417,e=>{"use strict";e.i(243888);var t=e.i(774051),a=e.i(7284);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,({iconClassName:e,wrapperClassName:r,isPlaying:n=!1})=>(0,t.jsx)("span",{className:(0,a.default)(r,"flex items-center justify-center"),children:(0,t.jsx)("span",{className:(0,a.default)(e,"material-icons-outlined text-neutrals-white rounded-full relative after:h-4/5 after:w-4/5 after:absolute after:top-1/2 after:left-1/2 after:-translate-x-1/2 after:-translate-y-1/2 after:bg-neutrals-white/40 after:rounded-full"),"data-icon":n?"pause_circle_outline":"play_circle_outline"})})])},534682,e=>{"use strict";var t=e.i(131831);e.i(243888);var a=e.i(774051);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,({children:e,...r})=>(0,a.jsx)(t.default,{...r,onClick:()=>{"function"==typeof window.print&&window.print()},children:e})])},680281,e=>{"use strict";var t=e.i(860185),a=e.i(131831);e.i(243888);var r=e.i(774051),n=e.i(7284);try{var s=window;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[new s.Error().stack]=Object.assign({},s._sentryModuleMetadata[new s.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,e=>{let s,o=(0,t.c)(15),{totalPages:l,currentPage:d,onItemClick:i,inline:u,displayedPageNumbersChunk:c}=e,y=void 0===c?7:c,M=Math.min(Math.ceil((d+1)/y)*y,l-1);if(o[0]!==d||o[1]!==M||o[2]!==u||o[3]!==i||o[4]!==l){let e,t,c;o[6]!==d||o[7]!==i?(e=()=>i?.(d-1),o[6]=d,o[7]=i,o[8]=e):e=o[8],o[9]!==d||o[10]!==i?(t=(e,t)=>
2{let s=t+1,o=s===d;return(0,r.jsx)("li",{children:(0,r.jsx)(a.default,{mode:"link","aria-label":o?"Current page":`"Go to page ${s}"`,"aria-current":o?"true":void 0,onClick:()=>i?.(s),disabled:o,className:(0,n.default)("flex justify-center items-center h-32 w-32 rounded-lg",{"bg-secondary-oxford-blue text-neutrals-white!":o}),children:s})},t)},o[9]=d,o[10]=i,o[11]=t):t=o[11],o[12]!==d||o[13]!==i?(c=()=>i?.(d+1),o[12]=d,o[13]=i,o[14]=c):c=o[14],s=(0,r.jsxs)("div",{className:(0,n.default)("flex items-center text-neutrals-400",{flex:!u,"inline-flex":u}),children:[(0,r.jsx)(a.default,{mode:"link","aria-label":"Go to previous page",onClick:e,disabled:1===d,className:(0,n.default)("material-icons-outlined flex justify-center items-center h-32 w-32",{"text-neutrals-200 pointer-events-none":1===d,"text-secondary-oxford-blue":1!==d}),"data-icon":"chevron_left"}),(0,r.jsx)("nav",{"aria-label":"Pagination navigation",children:(0,r.jsxs)("ul",{className:"flex flex-wrap items-center justify-center mx-8",children:[Array.from({length:Math.min(l,M)},t),M<l&&(0,r.jsxs)(r.Fragment,{children:[M+1<l&&(0,r.jsx)("li",{className:"py-4 px-12",children:(0,r.jsx)("p",{children:"..."})}),(0,r.jsx)("li",{children:(0,r.jsx)(a.default,{mode:"link",onClick:()=>i?.(l),className:(0,n.default)("flex justify-center items-center h-32 w-32 rounded-lg",{"bg-secondary-oxford-blue text-neutrals-white!":d===l}),children:l})})]})]})}),(0,r.jsx)(a.default,{mode:"link","aria-label":"Go to next page",disabled:d===l,onClick:c,className:(0,n.default)("material-icons-outlined flex justify-center items-center h-32 w-32",{"text-neutrals-200 pointer-events-none":l===d,"text-secondary-oxford-blue":l!==d}),"data-icon":"chevron_right"})]}),o[0]=d,o[1]=M,o[2]=u,o[3]=i,o[4]=l,o[5]=s}else s=o[5];return s}])},291589,e=>{"use strict";var t=e.i(35325),a=e.i(440048),r=e.i(579679),n=e.i(950417);e.i(243888);var s=e.i(774051),o=e.i(7284);try{var l=window;l._sentryModuleMetadata=l._sentryModuleMetadata||{},l._sentryModuleMetadata[(new l.Error).stack]=Object.assign({},l._sentryModuleMetadata[(new l.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var d=({wrapperClassName:e,imageClassName:t,src:a,duration:l,withPlayIcon:d,isBig:i,hideDurationOnMobile:u,aspectRatioClassName:c="aspect-304/170",height:y,width:M,...p})=>a?(0,s.jsxs)("div",{className:(0,o.default)(e,c,"relative h-full w-full overflow-hidden bg-neutrals-100"),children:[(0,s.jsx)(r.default,{className:(0,o.default)(t,"h-full w-full"),src:a,...p,height:y||170,width:M||304,objectFit:"cover",objectPosition:"center"}),(0,s.jsx)("div",{className:"absolute top-0 w-full h-full",children:(0,s.jsxs)("div",{className:"w-full h-full relative flex items-center justify-center after:absolute after:bottom-0 after:right-0 after:left-0 after:h-[27%] after:bg-linear-to-t after:from-neutrals-black/40",children:[d&&(0,s.jsx)("div",{className:"rounded-full w-[5rem] h-[5rem] flex justify-center items-center bg-radial-grey",children:(0,s.jsx)(n.default,{iconClassName:"text-[3rem]"})}),l&&(0,s.jsxs)("p",{className:(0,o.default)("z-2 absolute bottom-8 right-8 text-s items-center",{"lg:bottom-28 lg:right-32":i,"max-lg:hidden lg:flex":u,flex:!u}),children:[(0,s.jsx)("span",{className:"material-icons-outlined text-neutrals-white text-[1.25rem] mr-8","data-icon":"timer"}),(0,s.jsx)("time",{className:"inline-block mt-0.5 text-neutrals-white/90",children:l})]})]})})]}):null;try{var i=window;i._sentryModuleMetadata=i._sentryModuleMetadata||{},i._sentryModuleMetadata[(new i.Error).stack]=Object.assign({},i._sentryModuleMetadata[(new i.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,({thumbnailProps:e,linkProps:r,labelProps:n,title:l,date:i,sponsorship:u,wrapperClassName:c,mediaWrapperClassName:y="w-full",contentWrapperClassName:M="p-16",dateContainerClassName:p,borderColorClassName:g="border-neutrals-100",titleClassName:_,descriptionClassName:w,titleElement:f="h2",isHorizontal:m,withBorder:h,isRounded:E,isBig:v,withSkeleton:b,icon:k,description:x,metaSlot:P,disableThumbnailSkeleton:j,dateIconClassName:A="text-primary-bright-blue",children:S})=>{let{contentStatement:O,prescribingInformation:T,clientJobCodeAndPreparationDate:R}=u||{},N=(0,o.default)("text-xs text-neutrals-500",{"mb-4 lg:mb-8":!v,"mb-8":v,skeleton:b}),C=(0,o.default)("mt-4 text-neutrals-500/90 text-xs",{skeleton:b}),I=(0,o.default)("flex items-center justify-between",{"mt-32 lg:mt-16":!v,"mt-64":v});return(0,s.jsxs)("div",{className:(0,o.default)("group/teaser flex flex-col w-full h-full relative",g,{"lg:flex-row":m,"rounded-[.3125rem] overflow-hidden":E,"border border-neutrals-100 lg:hover:border-current lg:transition":h},c),children:[(0,s.jsx)(t.default,{className:"absolute inset-0 z-3","aria-label":l,...r}),(b&&!j||e?.src)&&(0,s.jsxs)("div",{className:(0,o.default)(y,{skeleton:b,"shrink-0":m}),children:[b&&e&&e.height&&e.width&&(0,s.jsx)("div",{style:{paddingTop:`${e.height/e.width*100}%`},className:(0,o.default)(e.aspectRatioClassName,"w-full")}),!b&&e&&(0,s.jsx)(d,{isBig:v,...e})]}
2),k&&(0,s.jsx)("div",{className:"hidden items-center shrink-0 md:flex",children:k}),(0,s.jsxs)("div",{className:(0,o.default)("flex flex-col justify-between [&_a]:relative [&_a]:z-4 grow",M),children:[(0,s.jsxs)("div",{className:"w-full",children:[u&&O&&"string"==typeof O&&(0,s.jsx)("p",{className:N,children:O}),u&&O&&"string"!=typeof O&&(0,s.jsx)("div",{className:N,children:O}),(0,s.jsxs)("div",{className:(0,o.default)({"flex items-center":k}),children:[(0,s.jsx)(f,{className:(0,o.default)("font-bold text-neutrals-black/90 lg:group-hover/teaser:text-current lg:transition",_,{"text-base":!v,"text-xl lg:text-4xl":v,skeleton:b}),children:b?"title":l}),k&&(0,s.jsx)("div",{className:"flex items-center shrink-0 md:hidden",children:k})]}),(u&&T||S||R||x)&&(0,s.jsxs)("div",{className:(0,o.default)("text-s text-neutrals-black/90 wrap-break-word",{"mt-8":!v,"mt-16 lg:mt-24":v}),children:[!!T&&"string"!=typeof T&&(0,s.jsx)("div",{className:(0,o.default)("text-s",{skeleton:b}),children:T}),x&&"string"==typeof x&&(0,s.jsx)("p",{className:w,children:x}),!!x&&"string"!=typeof x&&(0,s.jsx)("div",{className:w,children:x}),u&&R&&"string"==typeof R&&(0,s.jsx)("p",{className:C,children:R}),u&&R&&"string"!=typeof R&&(0,s.jsx)("div",{className:C,children:R}),S]}),!b&&P&&(0,s.jsx)("div",{className:"mt-8",children:P})]}),(0,s.jsxs)("div",{className:p||I,children:[(b||i)&&(0,s.jsxs)("p",{className:(0,o.default)("flex items-center text-s text-secondary-charleston/90",{skeleton:b}),children:[(0,s.jsx)("span",{className:(0,o.default)("material-icons-outlined mr-8 shrink-0 text-[1.25rem]",A),"data-icon":"calendar_today"}),(0,s.jsx)("time",{className:"inline-block mt-0.5",children:b?"date":i})]}),(b||n)&&(0,s.jsxs)("div",{className:(0,o.default)("pl-16",{skeleton:b}),children:[!b&&n&&(0,s.jsx)(a.default,{...n,children:n.text}),b&&"label"]})]})]})]})}],291589)},650986,e=>{"use strict";var t=e.i(860185),a=e.i(35325),r=e.i(440048),n=e.i(243888),s=e.i(774051);try{var o=window;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[new o.Error().stack]=Object.assign({},o._sentryModuleMetadata[new o.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var l=n.default.lazy(()=>e.A(2903));e.s(["default",0,e=>{let o,d=(0,t.c)(14),{sponsorshipAnnotation:i,showSponsoredContent:u,title:c,withShare:y,shareButtonLabel:M,shareLinks:p,shareModalTitle:g,postedOnLabel:_,authors:w,label:f,shareLinksProps:m,children:h}
2=e,[E,v]=(0,n.useState)(!1);if(d[0]!==w||d[1]!==h||d[2]!==E||d[3]!==f||d[4]!==_||d[5]!==M||d[6]!==p||d[7]!==m||d[8]!==g||d[9]!==u||d[10]!==i||d[11]!==c||d[12]!==y){let{pageUrl:e,copySuccessMessage:t,copyFailMessage:b,copyLinkLabel:k}=m||{};o=(0,s.jsxs)("div",{children:["string"==typeof i&&u&&(0,s.jsx)("p",{className:"heading-5 text-neutrals-300 mb-8",children:i}),!!i&&"string"!=typeof i&&u&&(0,s.jsx)("div",{className:"heading-5 text-neutrals-300 mb-8",children:i}),(0,s.jsx)("h1",{className:"heading-2 md:heading-3 text-secondary-charleston",children:c}),(y||f)&&(0,s.jsxs)("ul",{className:"flex mt-16",children:[f?.text&&(0,s.jsx)("li",{children:(0,s.jsx)(r.default,{...f,children:f?.text})}),y&&(0,s.jsx)("li",{className:"not-first:ml-16",children:(0,s.jsx)("button",{type:"button",onClick:()=>v(!0),className:"transition rounded-lg focus:shadow-sm lg:enabled:hover:shadow-sm",children:(0,s.jsxs)("span",{className:"flex items-center px-8 py-4 rounded-lg whitespace-nowrap bg-neutrals-50 text-neutrals-black text-xs",children:[(0,s.jsx)("span",{className:"material-icons text-current text-lg leading-none w-[1em] h-[1em] mr-4","aria-hidden":"true","data-icon":"share"}),M]})})})]}),h&&(0,s.jsx)("div",{className:"mt-32",children:h}),_&&(0,s.jsx)("p",{className:"text-xs text-neutrals-400 mt-32",children:_}),!!w?.length&&(0,s.jsx)("p",{className:"flex flex-wrap text-xs text-neutrals-400",children:w.map((e,t)=>{let{key:r,href:n,name:o}=e;return(0,s.jsxs)("span",{children:[0!==t&&t<w.length&&", ",n?(0,s.jsx)(a.default,{href:n,className:"transition underline lg:hover:text-primary-bright-blue",children:o}):o]},r)})}),E&&(0,s.jsx)(n.Suspense,{children:(0,s.jsx)(l,{title:g||"",open:E,onClose:()=>v(!1),shareListProps:{title:c,items:p||[],pageUrl:e||"",copySuccessMessage:t||"",copyFailMessage:b||"",copyLinkLabel:k||""}})})]}),d[0]=w,d[1]=h,d[2]=E,d[3]=f,d[4]=_,d[5]=M,d[6]=p,d[7]=m,d[8]=g,d[9]=u,d[10]=i,d[11]=c,d[12]=y,d[13]=o}else o=d[13];return o}])},608449,e=>{"use strict";var t=e.i(860185),a=e.i(243888);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[new r.Error().stack]=Object.assign({},r._sentryModuleMetadata[new r.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var n=new Map,s=e=>{let t=n.get(e);if(t)return t;let a=getComputedStyle(document.documentElement).getPropertyValue(`--breakpoint-${e}`).trim(),r=window.matchMedia(`(min-width: ${a})`);return n.set(e,r),r};function o(){return!1}e.s(["default",0,e=>{let r,n,l=(0,t.c)(3);return l[0]!==e?(r=t=>{let a=s(e);return a.addEventListener("change",t),()=>a.removeEventListener("change",t)},n=()=>s(e).matches,l[0]=e,l[1]=r,l[2]=n):(r=l[1],n=l[2]),(0,a.useSyncExternalStore)(r,n,o)}])},75124,e=>{"use strict";var t=e.i(860185),a=e.i(243888);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[new r.Error().stack]=Object.assign({},r._sentryModuleMetadata[new r.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}function n(){return!1}e.s(["default",0,e=>{let r,s,o=(0,t.c)(3);return o[0]!==e?(r=t=>{let a=window.matchMedia(e);return a.addEventListener("change",t),()=>a.removeEventListener("change",t)},s=()=>window.matchMedia(e).matches,o[0]=e,o[1]=r,o[2]=s):(r=o[1],s=o[2]),(0,a.useSyncExternalStore)(r,s,n)}])},963788,e=>{"use strict";var t=e.i(860185),a=e.i(243888);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[new r.Error().stack]=Object.assign({},r._sentryModuleMetadata[new r.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["useMediaPlayedTimeTracking",0,(e,r)=>{let n,s,o,l=(0,t.c)(6),d=void 0===r?"elapsed":r,i=(0,a.useRef)(void 0),u=(0,a.useRef)(0),c=(0,a.useRef)(0),y=(0,a.useRef)(0);l[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{u.current=0,c.current=0,y.current=0,i.current=void 0},l[0]=n):n=l[0];let M=n;l[1]!==d||l[2]!==e?(s=t=>{if(t&&(c.current=t.playedSeconds),"position"===d){if(c.current<y.current+60)return;y.current=c.current,e?.(c.current);return}if(!i.current)return;let a=Date.now();u.current=u.current+(a-i.current),i.current=a,u.current<6e4||(u.current=0,e?.(c.current))},l[1]=d,l[2]=e,l[3]=s):s=l[3];let p=s;return l[4]!==p?(o={handleTracking:p,lastHandlerCallTimestampRef:i,resetPlayTime:M},l[4]=p,l[5]=o):o=l[5],o}])},149296,e=>{"use strict";var t=e.i(860185),a=e.i(243888);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[new r.Error().stack]=Object.assign({},r._sentryModuleMetadata[new r.Error().stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["default",0,function(e,r){let n,s,o=(0,t.c)(5);o[0]!==r?(n=void 0===r?{initializeWithCurrentValue:!1}:r,o[0]=r,o[1]=n):n=o[1];let l=n,[d,i]=(0,a.useState)(e);o[2]!==l.initializeWithCurrentValue||o[3]!==e?(s=()=>l.initializeWithCurrentValue?e:null,o[2]=l.initializeWithCurrentValue,o[3]=e,o[4]=s):s=o[4];let[u,c]=(0,a.useState)(s);return e!==d&&(c(d),i(e)),u}])},73514,e=>{"use strict";try{var t=window;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}var a=()=>navigator.userAgent.toLowerCase().includes("firefox"),r=e.i(874547),n=e.i(699018);try{var s=window;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[(new s.Error).stack]=Object.assign({},s._sentryModuleMetadata[(new s.Error).stack],{"_sentryBundlerPluginAppKey:gpnotebook":!0})}catch(e){}e.s(["disableScrollOnBody",0,()=>{if(a())return;let e=document.body.querySelectorAll(".overflow-auto");r.default.measure(()=>{let t=`${window.scrollY}px`,{body:a}=document,s=(()=>{let{body:{clientWidth:e}}=document,{innerWidth:t}=window;return t>e})(),o=`${(0,n.getScrollbarWidth)()||0}px`;r.default.mutate(()=>
2{a.style.position="fixed",a.style.width="100%",e.forEach(e=>{e.classList.remove("overflow-auto"),e.setAttribute("data-overflow-auto","true")}),"0px"!==t&&(a.style.top=`-${t}`),s&&(document.documentElement.style.setProperty("--fake-scrollbar-width",o),a.style.paddingRight=o)})})},"enableScrollOnBody",0,(e=!0)=>{if(a())return;let{body:t}=document,n=document.body.querySelectorAll("[data-overflow-auto=true]");r.default.measure(()=>{let a=parseInt(t.style.top,10);r.default.mutate(()=>{t.style.position="",t.style.width="",t.style.top="",t.style.paddingRight="",n.forEach(e=>{e.classList.add("overflow-auto"),e.removeAttribute("data-overflow-auto")}),document.documentElement.style.setProperty("--fake-scrollbar-width","0px"),e&&window.scrollTo(0,Number.isNaN(a)?0:-1*a)})})}],73514)}]); 3 4//# debugId=8b441a8d-2176-b3d0-0b2b-f41aae8e210a
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.