1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4834,8738],{11658:(e,t,n)=>{n.d(t,{A:()=>l});var i=n(64930),a=n(53131),o=n(71032);let r=a.Ay.div.withConfig({componentId:"sc-431a109f-0"})(["min-height:100vh;display:flex;align-items:center;"]),l=()=>(0,i.jsx)(r,{children:(0,i.jsx)(o.Ay,{})})},28738:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});var i=n(64930),a=n(36366),o=n(7666),r=n(88612),l=n(59721),s=n(1040),c=n(47301),d=n(84725),u=n(25715),v=n(39264),p=n(45102),m=n(95865),g=n(14105),_=n(12142),h=n(15417);let b={width:"50%",align:_.zI.center,justify:_.sx.center},f=e=>{let{gtmTrackingDisabled:t=!1,marketTag:n}=e,{t:f}=(0,d.A)(),y=(0,a.usePathname)(),{marketTag:x}=(0,s.Ay)(),w=(e=>{switch(e.includes(h.f.MYFA)?h.f.MYFA:e){case h.f.MYFA:case h.f.ATAKSJA:case h.f.JUNTOSFA:return l.xM;case h.f.FUERMICH:case h.f.CHFUERMICH:return l.n3;case h.f.TISMAEU:case h.f.TISMAGULF:return l.I$;default:return l.be}})(n||x);return(0,c.A)({disabled:t,contentId:"not-found",contentType:"NotFound",title:"Not Found",url:y,errorStatus:"404"}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.F,{}),(0,i.jsx)(m.Ay,{children:(0,i.jsxs)(g.A,{direction:_.HO.row,height:"65vh",width:"100%",children:[(0,i.jsxs)(g.A,{direction:_.HO.column,pad:{horizontal:_.or.Small},...b,children:[(0,i.jsx)(p.A,{level:1,children:f("notFoundContainer_title")}),(0,i.jsx)(g.A,{margin:{vertical:_.or.Large},fontSize:_.Z4.Large,children:(0,i.jsx)(o.A,{content:f("notFoundContainer_notFoundMessage")})}),(0,i.jsx)(u.A,{ariaLabel:f("notFoundContainer_back_button_label"),label:f("notFoundContainer_back_button_label"),variant:_.Ak.Primary,href:"/"})]}),(0,i.jsx)(g.A,{...b,children:(0,i.jsx)(v.A,{alt:"404 image",src:w,height:"70%",objectFit:"contain",priority:!0})})]})})]})}},41766:(e,t,n)=>{n.d(t,{P1:()=>f,Wr:()=>w,cw:()=>C,g$:()=>x,mO:()=>b,rO:()=>y});var i=n(72281),a=n(53131),o=n(24951),r=n(39264),l=n(14105),s=n(14130),c=n(79675),d=n(8990),u=n(12142);function v(){let e=(0,i._)(["\n background: linear-gradient(90deg, "," 0%, "," 71.62%);\n "]);return v=function(){return e},e}function p(){let e=(0,i._)(["\n padding: ",";\n height: ",";\n "]);return p=function(){return e},e}function m(){let e=(0,i._)(["\n flex-direction: row;\n column-gap: ",";\n "]);return m=function(){return e},e}function g(){let e=(0,i._)(["\n margin-bottom: ",";\n "]);return g=function(){return e},e}function _(){let e=(0,i._)(["\n max-width: ",";\n "]);return _=function(){return e},e}let h=(0,a.AH)(["position:relative;z-index:1;&:after{z-index:-1;position:absolute;content:'';top:0;bottom:0;right:0;left:0;background:linear-gradient(90deg,"," 0%,"," 246.06%);","}"],(0,o.oU)(u.P1.gradiant7),(0,o.oU)(u.P1.gradiant3),c.$_.sm(v(),(0,o.oU)(u.P1.gradiant7),(0,o.oU)(u.P1.gradiant3))),b=(0,a.Ay)(l.A).withConfig({componentId:"sc-c4be72c2-0"})(["background-color:",";height:",";min-height:",";padding:",";border-radius:",";overflow:hidden;",";",""],(0,o.oU)(u._I.backgroundImageDark),e=>{let{$showDescription:t}=e;return t?"auto":(0,s.a)(400)},(0,s.a)(330),d.py.medium,d.Vq.medium,h,c.$_.sm(p(),d.py.large,e=>{let{$showDescription:t}=e;return t?"auto":(0,s.a)(330)})),f=(0,a.Ay)(l.A).withConfig({componentId:"sc-c4be72c2-1"})(["row-gap:",";column-gap:",";"],d.py.xxsmall,d.py.xsmall),y=(0,a.Ay)(l.A).withConfig({componentId:"sc-c4be72c2-2"})(["row-gap:",";display:flex;flex-direction:column;",""],d.py.small,c.$_.sm(m(),d.py.small)),x=(0,a.Ay)(l.A).withConfig({componentId:"sc-c4be72c2-3"})(["margin-bottom:",";",""],d.py.xxxsmall,c.$_.sm(g(),d.py.xxsmall)),w=(0,a.Ay)(l.A).withConfig({componentId:"sc-c4be72c2-4"})(["",""],c.$_.sm(_(),(0,s.a)(560))),C=(0,a.Ay)(r.A).withConfig({componentId:"sc-c4be72c2-5"})(["z-index:-1;top:0;left:0;"])},66161:e=>{e.exports=JSON.parse('[{"values":[4,0],"sectionDiagram":{"row":2,"column":0,"top":91,"left":50},"dotPlot":{"row":4,"column":0,"top":50,"left":50,"percentValue":0.01,"wholeValue":1}},{"values":[4,1],"sectionDiagram":{"row":2,"column":1,"top":91,"left":50},"dotPlot":{"row":4,"column":1,"top":50,"left":50,"percentValue":0.01,"wholeValue":1}},{"values":[4,2],"sectionDiagram":{"row":2,"column":2,"top":91,"left":50}
1,"dotPlot":{"row":4,"column":2,"top":50,"left":50,"percentValue":0.01,"wholeValue":1}},{"values":[4,3],"sectionDiagram":{"row":2,"column":3,"top":91,"left":50},"dotPlot":{"row":4,"column":3,"top":50,"left":50,"percentValue":0.01,"wholeValue":1}},{"values":[4,4],"sectionDiagram":{"row":2,"column":4,"top":91,"left":50},"dotPlot":{"row":4,"column":4,"top":50,"left":50,"percentValue":0.01,"wholeValue":1}},{"values":[4,5],"sectionDiagram":{"row":2,"column":5,"top":91,"left":50},"dotPlot":{"row":4,"column":5,"top":50,"left":50,"percentValue":0.01,"wholeValue":1}},{"values":[3,0],"sectionDiagram":{"row":2,"column":0,"top":91,"left":50},"dotPlot":{"row":4,"column":0,"top":50,"left":50,"percentValue":0.01,"wholeValue":1}},{"values":[3,1],"sectionDiagram":{"row":2,"column":1,"top":91,"left":50},"dotPlot":{"row":4,"column":1,"top":50,"left":50,"percentValue":0.01,"wholeValue":1}},{"values":[3,2],"sectionDiagram":{"row":2,"column":2,"top":75,"left":50},"dotPlot":{"row":4,"column":2,"top":47,"left":50,"percentValue":0.02,"wholeValue":2}},{"values":[3,3],"sectionDiagram":{"row":2,"column":3,"top":40,"left":50},"dotPlot":{"row":4,"column":3,"top":35,"left":50,"percentValue":0.04,"wholeValue":4}},{"values":[3,4],"sectionDiagram":{"row":2,"column":4,"top":20,"left":50},"dotPlot":{"row":4,"column":4,"top":30,"left":50,"percentValue":0.05,"wholeValue":5}},{"values":[3,5],"sectionDiagram":{"row":2,"column":5,"top":8,"left":50},"dotPlot":{"row":4,"column":5,"top":30,"left":50,"percentValue":0.06,"wholeValue":6}},{"values":[2,0],"sectionDiagram":{"row":2,"column":0,"top":90,"left":50},"dotPlot":{"row":4,"column":0,"top":50,"left":50,"percentValue":0.01,"wholeValue":1}},{"values":[2,1],"sectionDiagram":{"row":2,"column":1,"top":60,"left":50},"dotPlot":{"row":4,"column":1,"top":42,"left":50,"percentValue":0.03,"wholeValue":3}},{"values":[2,2],"sectionDiagram":{"row":1,"column":2,"top":50,"left":50},"dotPlot":{"row":4,"column":2,"top":25,"left":50,"percentValue":0.08,"wholeValue":8}},{"values":[2,3],"sectionDiagram":{"row":0,"column":3,"top":80,"left":50},"dotPlot":{"row":3,"column":3,"top":75,"left":50,"percentValue":0.2,"wholeValue":20}},{"values":[2,4],"sectionDiagram":{"row":0,"column":4,"top":80,"left":50},"dotPlot":{"row":3,"column":4,"top":75,"left":50,"percentValue":0.2,"wholeValue":20}},{"values":[2,5],"sectionDiagram":{"row":0,"column":5,"top":70,"left":50},"dotPlot":{"row":3,"column":5,"top":28,"left":50,"percentValue":0.3,"wholeValue":30}},{"values":[1,0],"sectionDiagram":{"row":2,"column":0,"top":70,"left":50},"dotPlot":{"row":4,"column":0,"top":48,"left":50,"percentValue":0.02,"wholeValue":2}},{"values":[1,1],"sectionDiagram":{"row":1,"column":1,"top":30,"left":50},"dotPlot":{"row":4,"column":1,"top":20,"left":50,"percentValue":0.09,"wholeValue":9}},{"values":[1,2],"sectionDiagram":{"row":0,"column":2,"top":70,"left":50},"dotPlot":{"row":3,"column":2,"top":28,"left":50,"percentValue":0.3,"wholeValue":30}},{"values":[1,3],"sectionDiagram":{"row":0,"column":3,"top":30,"left":50},"dotPlot":{"row":1,"column":3,"top":65,"left":50,"percentValue":0.7,"wholeValue":70}},{"values":[1,4],"sectionDiagram":{"row":0,"column":4,"top":25,"left":50},"dotPlot":{"row":1,"column":4,"top":25,"left":50,"percentValue":0.8,"wholeValue":80}},{"values":[1,5],"sectionDiagram":{"row":0,"column":5,"top":7,"left":50},"dotPlot":{"row":0,"column":5,"top":50,"left":50,"percentValue":1,"wholeValue":100}},{"values":[0,0],"sectionDiagram":{"row":2,"column":0,"top":60,"left":50},"dotPlot":{"row":4,"column":0,"top":42,"left":50,"percentValue":0.03,"wholeValue":3}},{"values":[0,1],"sectionDiagram":{"row":2,"column":1,"top":40,"left":50},"dotPlot":{"row":4,"column":1,"top":36,"left":50,"percentValue":0.04,"wholeValue":4}},{"values":[0,2],"sectionDiagram":{"row":0,"column":2,"top":65,"left":50},"dotPlot":{"row":2,"column":2,"top":87,"left":50,"percentValue":0.4,"wholeValue":40}},{"values":[0,3],"sectionDiagram":{"row":0,"column":3,"top":25,"left":50},"dotPlot":{"row":1,"column":3,"top":20,"left":50,"percentValue":0.8,"wholeValue":80}},{"values":[0,4],"sectionDiagram":{"row":0,"column":4,"top":25,"left"
1:50},"dotPlot":{"row":1,"column":4,"top":25,"left":50,"percentValue":0.8,"wholeValue":80}},{"values":[0,5],"sectionDiagram":{"row":0,"column":5,"top":45,"left":50},"dotPlot":{"row":2,"column":5,"top":5,"left":50,"percentValue":0.6,"wholeValue":60}}]')},68e3:(e,t,n)=>{n.d(t,{A:()=>v});var i=n(64930),a=n(60572),o=n(7666),r=n(76748),l=n(41766),s=n(84725),c=n(60921),d=n(14105),u=n(12142);let v=e=>{let{t}=(0,s.A)(),{tags:n,withReleaseYear:v}=e,p="",m=c.B.Series;"seasons"in e?p=t("video_season_count",{count:e.seasons.length}):"episodes"in e?p=t("video_episode_count",{count:e.episodes.length}):"duration"in e&&(p="".concat(e.duration," ").concat(t("course_card_durationLabel")),m=c.B.Time);let g="";if("releaseDate"in e){var _;g=(null==(_=e.releaseDate)?void 0:_.getFullYear().toString())||""}let h=n&&n.slice(0,2);return(0,i.jsxs)(l.P1,{align:u.zI.center,wrap:!0,children:[h?(0,i.jsx)(r.A,{variant:u.Sx.dark,tags:h,columnGap:u.or.Xxxsmall,rowGap:u.or.Xxxsmall}):null,(0,i.jsxs)(d.A,{align:u.zI.center,children:[(0,i.jsx)(a.Ay,{icon:m,label:p,variant:u.Ht.Dark}),g&&v?(0,i.jsx)(d.A,{margin:{left:u.or.Xsmall},children:(0,i.jsx)(o.A,{weight:u.BO.Regular,size:u.Z4.Xsmall,content:g,color:u.U4.textPrimaryReverse})}):null]})]})}},84834:(e,t,n)=>{n.r(t),n.d(t,{Mapper:()=>uE,default:()=>uB});var i=n(64930),a=n(21171),o=n(89789),r=n.n(o),l=n(98026),s=n(72281),c=n(53131),d=n(59721),u=n(24951),v=n(70304),p=n(14105),m=n(14130),g=n(79675),_=n(8990),h=n(12142),b=n(519);function f(){let e=(0,s._)(["\n flex-direction: row;\n "]);return f=function(){return e},e}function y(){let e=(0,s._)(["\n margin-bottom: ",";\n "]);return y=function(){return e},e}function x(){let e=(0,s._)(["\n margin-top: 0;\n margin-left: 1rem;\n "]);return x=function(){return e},e}let w=c.Ay.input.withConfig({componentId:"sc-af7fdfd1-0"})(["position:absolute;margin:0;padding:0;inset:0;opacity:0;width:100%;height:100%;z-index:10;"]),C=(0,c.Ay)(p.A).withConfig({componentId:"sc-af7fdfd1-1"})(["flex-direction:column;"," h3{margin-bottom:",";","}"],g.$_.sm(f()),(0,m.a)(24),g.$_.sm(y(),(0,m.a)(8))),A=(0,c.Ay)(p.A).withConfig({componentId:"sc-af7fdfd1-2"})(["text-align:left;margin-left:0;margin-top:1rem;",""],g.$_.sm(x())),R=(0,c.Ay)(p.A).withConfig({componentId:"sc-af7fdfd1-3"})(["word-break:break-word;word-wrap:break-word;overflow-wrap:break-word;"]),k=c.Ay.label.withConfig({componentId:"sc-af7fdfd1-4"})([""," display:flex;flex-flow:row nowrap;align-items:flex-start;justify-content:space-between;color:",";font-weight:",";cursor:pointer;position:relative;z-index:2;width:100%;padding:0;"],(0,b.ny)(h.Z4.Small),e=>{let{theme:t}=e;return t===h.Sx.dark?(0,u.oU)(h.U4.textPrimaryReverse):(0,u.oU)(h.U4.textPrimary)},h.BO.Regular),j=(0,c.Ay)(v.A).withConfig({componentId:"sc-af7fdfd1-5"})(["margin-left:",";transition:transform .2s ",";transform:rotate(","deg);"],_.py.small,e=>{let{$isCollapse:t}=e;return t?"ease-in":"ease-out"},e=>{let{$isCollapse:t}=e;return t?"180":"0"}),W=c.Ay.p.withConfig({componentId:"sc-af7fdfd1-6"})(["margin-bottom:1rem;"]),I=c.Ay.span.withConfig({componentId:"sc-af7fdfd1-7"})(["font-weight:",";"],h.BO.SemiBold),S=(0,c.Ay)(p.A).withConfig({componentId:"sc-af7fdfd1-8"})(["margin-top:1rem;> h4{font-weight:",";display:inline-block;margin-right:",";}> a{text-decoration:none;color:",";font-weight:",";&::after{content:'';font-weight:",";display:inline-block;width:",";height:",";background-color:",";margin-left:",";mask-image:url(",");mask-size:contain;mask-repeat:no-repeat;mask-position:center;}}> ul{list-style:disc;margin-left:",";margin-top:",";margin-bottom:",";padding-left:",";}"],h.BO.SemiBold,(0,m.a)(10),(0,u.oU)(h.U4.primary),h.BO.Medium,h.BO.Medium,(0,m.a)(12),(0,m.a)(12),(0,u.oU)(h.U4.primary),(0,m.a)(8),"".concat(d.nE,"/icons/arrow-down.svg"),(0,m.a)(10),(0,m.a)(8),(0,m.a)(24),(0,m.a)(10));var T=n(93026),P=n(84725),M=n(60921),U=n(39264),D=n(87476),V=n(45102),E=n(55072),B=n(52289),F=n(5981),z=n(8186);let $=e=>{let{icon:t,urlLabel:n,url:a,titleSummary:o,shortSummary:r,detailedSummary:s,copyButtonLabel:c}=e,[d,u]=(0,l.useState)(!1),[v,g]=(0,l.useState)(!1),_=(0,z.A)(),{t:b}=(0,P.A)(),f=(0,l.useRef)(null),y=e=>{let t=e.indexOf("/:");return -1===t?e:e.slice(0,t+1)},x=async()=>{try{let e="".concat(o,"\n").concat(r,"\n").concat(s,"\n").concat(n,": ").concat(y(a)).replace(/<a[\s\S]*?<\/a>/gi,"").replace(/<li>(.*?)<\/li>/gi,(e,t)=>"\n- ".concat(t.trim())).replace(/<[^>]+>/g,"").replace(/\n{2,}/g,"\n").trim();await navigator.clipboard.writeText(e||""),g(!0),setTimeout(()=>{g(!1)},1500)}catch(e){(0,T.o)({header:"Error",description:"Copy error",alertType:F._1.error})}};return(0,l.useEffect)(()=>
1{_&&f.current&&f.current.querySelectorAll("a").forEach(e=>{e.innerHTML=""})},[_]),(0,i.jsxs)(p.A,{width:"100%",border:{side:"bottom",width:h.V6.Medium,color:h.U4.textSecondaryReverse},radius:h.Z6.Medium,shadow:h.yb.Medium,pad:h.or.Large,children:[(0,i.jsxs)(C,{align:h.zI.start,position:h.Hy.relative,children:[t&&(0,i.jsx)(U.A,{src:t.url,alt:t.title,width:_?(0,m.a)(72):(0,m.a)(90),height:_?(0,m.a)(72):(0,m.a)(90)}),(0,i.jsx)(w,{name:"tab",type:"checkbox",checked:d,onChange:()=>{u(e=>!e)}}),(0,i.jsx)(A,{justify:h.sx.start,direction:h.HO.row,align:h.zI.start,flex:"2",children:(0,i.jsxs)(k,{children:[(0,i.jsxs)(p.A,{direction:h.HO.column,children:[(0,i.jsx)(V.A,{level:3,children:o}),(0,i.jsx)(E.A,{text:r||""})]}),(0,i.jsx)(j,{$isCollapse:d,size:h.or.Small,icon:M.B.ChevronDown})]})})]}),(0,i.jsx)(B.A,{isOpen:d,children:(0,i.jsx)(R,{pad:{bottom:h.or.Medium},children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(S,{ref:f,children:(0,i.jsx)(E.A,{text:s||""})}),(0,i.jsxs)(W,{children:[(0,i.jsx)(I,{children:"".concat(n,": ")}),y(a)]}),(0,i.jsx)(D.A,{type:h.VQ.button,variant:h.b4.Primary,onClick:x,withIcon:M.B.CopyIcon,iconPosition:M.c.Right,size:h.pM.Large,label:v?b("copiedButton_label"):c,lowercase:!0,ariaLabel:"Copy icon"})]})})})]})};var L=n(80498),O=n.n(L),N=n(95865),H=n(79364);let q={desktop:N.h3.large-32,mobile:N.h3.small-32},X=c.Ay.iframe.withConfig({componentId:"sc-72c35f01-0"})(["width:",";height:",";overflow:",""],e=>{let{width:t}=e;return t},e=>{let{height:t}=e;return t},e=>{let{$isScrollable:t}=e;return t?"scroll":"hidden"}),Z=e=>{let{title:t,width:n,height:a,mobileWidth:o,mobileHeight:r,isScrollable:s,src:c,mobileSrc:d,script:u,attributes:v}=e,g=(0,z.A)(),_=(0,l.useRef)(null),{width:b}=(0,H.A)(_),f=(0,l.useMemo)(()=>s?"yes":"no",[s]),y=(0,l.useMemo)(()=>g&&r||a,[r,a,g]),x=(0,l.useMemo)(()=>g?Math.min(o||b,q.mobile):Math.min(n||b,q.desktop),[g,o,b,n]),w=(0,l.useMemo)(()=>Math.max(x,b),[b,x]);return(0,i.jsxs)(i.Fragment,{children:[u&&(0,i.jsx)(O(),{children:(0,i.jsx)("script",{src:u,async:!0})}),(0,i.jsx)(p.A,{ref:_,width:"auto",position:h.Hy.relative,children:(0,i.jsx)(p.A,{display:h.nl.Flex,justify:h.sx.center,width:(0,m.a)(w),children:(0,i.jsx)(X,{width:(0,m.a)(x),height:(0,m.a)(y),title:t,$isScrollable:s,scrolling:f,src:g?d:c,allowFullScreen:!0,...v})})})]})};var K=n(1040),J=n(10767);let Q=function(){let{internalRef:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{internalRef:!1},[t,n]=(0,l.useState)(1100),i=(0,l.useRef)(null),{marketTag:a}=(0,K.Ay)(),o=(0,J.A)(a),r=(0,l.useCallback)(()=>{var e,t;if(null==(t=i.current)||null==(e=t.contentWindow)?void 0:e.document){let{document:e}=i.current.contentWindow;(e=>{let{body:t,documentElement:i}=e;return n(Math.max(t.clientHeight,t.offsetHeight,t.scrollHeight,i.offsetHeight)+52)})(e)}},[i]),s=(0,l.useCallback)(()=>{var e,t;if(null==(t=i.current)||null==(e=t.contentWindow)?void 0:e.document){let{document:{head:e}}=i.current.contentWindow,t=document.createElement("style"),n=document.createElement("link");t.innerHTML="* { font-family: ".concat(o.style.fontFamily," !important; }"),n.rel="preconnect preload stylesheet",n.href="https://fonts.googleapis.com/css2?family=".concat(o.style.fontFamily.replace(" ","+"),":wght@300;400;500;600&display=swap"),e.appendChild(t),e.appendChild(n)}},[i,o]);return{handleLoad:(0,l.useCallback)(()=>{var n,a,o,l;if(null==(a=i.current)||null==(n=a.contentWindow)||n.addEventListener("resize",r),e){let n=null==(l=i.current)||null==(o=l.contentWindow)?void 0:o.document.body.querySelector("boolean"!=typeof e||e?e:"iframe");if(n){let e=setInterval(()=>{var t,n;(null==(n=i.current)||null==(t=n.contentWindow)?void 0:t.document.readyState)==="complete"&&(clearInterval(e),r(),s())},100);n.height=String(t)}}},[r,s,t,e]),handleResize:r,container:i,height:t}};var Y=n(69812);let G=/^https:\/\/app\.shopsettings\.com\/script\.js\?(\d[^&]*).*$/,ee={Cvent:e=>{let{title:t,src:n}=e,{handleLoad:a,height:o,container:r}=Q({internalRef:"iframe.cvt-embed"});return n?(0,i.jsx)("iframe",{onLoad:a,title:t,height:o,width:"100%",ref:r,scrolling:"no",srcDoc:"\n <div data-cvt-embed>\n <script async src=".concat(n,"><\/script>\n </div>\n ")}):null},EShop:e=>{let{title:t,src:n}=e,{handleLoad:o,handleResize:r,height:s,container:c}=Q(),[d,u]=(0,l.useState)(!1),{updateExtraFields:v}=(()=>{let{eshopExtraFieldsTemp130824:e}=(0,a.D0)(),[t,n]=(0,l.useState)([]),{marketTag:i}=(0,K.Ay)(),{currentUser:o}=(0,Y.yj)();return{updateExtraFields:(0,l.useCallback)(async a=>{let r=async()=>{let e=await fetch("/api/ecwid-extra-fields/?shopId=".concat(a,"&marketTag=").concat(i),{});e.ok&&n((await e.json()).items)},l=document.getElementById("ShopIframe-".concat(a));if(!l||!e)return;let s=l.contentDocument;s&&(await r(),new MutationObserver(()=>{var e,n,i,a;let r=t.reduce((e,t)=>
1(e[t.key]=s.querySelector('input[name="'.concat(t.key,'"]')),e),{}),{name:l,lastName:c,email:d,mdmId:u}=o||{},v={[null==(e=t[0])?void 0:e.key]:l,[null==(n=t[1])?void 0:n.key]:c,[null==(i=t[2])?void 0:i.key]:d,[null==(a=t[3])?void 0:a.key]:u};Object.keys(r).forEach(e=>{let t=r[e];t&&void 0!==v[e]&&(t.value=v[e],t.dispatchEvent(new Event("input")))})}).observe(s.body,{childList:!0,subtree:!0}))},[e,t,o,i])}})(),p=(0,l.useCallback)(e=>{var t,n,i;if(e.origin!==window.origin||(null==(t=e.data)?void 0:t.source)!=="e-shop")return;let a=null==(n=e.data)?void 0:n.shopId;if(a&&d){let e=document.getElementById("ShopIframe-".concat(a));e&&e.scrollIntoView({behavior:"smooth"})}let o=null==(i=e.data)?void 0:i.activeScroll;o&&u(o),v(a),r(),setTimeout(()=>{r()},1e3)},[r,d,u,v]);(0,l.useEffect)(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p,!1)}),[p]);let m=(0,l.useMemo)(()=>{let e=G.exec(n);return e&&e[1]?e[1]:null},[n]);return m?(0,i.jsx)("iframe",{id:"ShopIframe-".concat(m),title:t,src:"/scripts/e
1-shop/e-shop.html?shopId=".concat(encodeURIComponent(m),"&src=").concat(encodeURIComponent(n)),onLoad:o,ref:c,height:s,width:"100%"}):null}},et=e=>{let{type:t}=e,n=ee[t];return n?(0,i.jsx)(n,{...e}):null};var en=function(e){return e.Liter="liter",e.Microliter="microliter",e}({}),ei=function(e){return e.Leukocyte="leukcocyte",e.Lymphocyte="lymphocyte",e}({});let ea={leukcocyte:e=>{let t=Number(e);return!Number.isNaN(t)&&!(e.length>4)&&t<=9999},lymphocyte:e=>{let t=Number(e);return!Number.isNaN(t)&&!(e.length>3)&&t>=0&&t<=100}},eo=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return parseFloat(e.toFixed(t)).toString()},er=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{key:i}=e;t.length>=n-1&&"."===i&&e.preventDefault()};var el=n(47484);function es(){let e=(0,s._)(["\n flex-direction: row;\n border-radius: "," 0 0 ",";\n "]);return es=function(){return e},e}function ec(){let e=(0,s._)(["\n min-width: ",";\n min-height: ",";\n border-radius: 0 "," "," 0;\n "]);return ec=function(){return e},e}function ed(){let e=(0,s._)(["\n margin-top: ",";\n margin-left: ",";\n "]);return ed=function(){return e},e}function eu(){let e=(0,s._)(["\n order: -1;\n flex-grow: 1;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: "," "," "," ",";\n "]);return eu=function(){return e},e}function ev(){let e=(0,s._)(["\n flex-direction: row;\n align-items:flex-end;\n "]);return ev=function(){return e},e}function ep(){let e=(0,s._)(["\n display block;\n "]);return ep=function(){return e},e}function em(){let e=(0,s._)(["\n margin-top: ",";\n "]);return em=function(){return e},e}let eg=(0,c.Ay)(p.A).withConfig({componentId:"sc-468d919e-0"})(["display:flex;flex-direction:column;border-radius:0 0 "," ",";box-shadow:",";",";"],_.Vq.medium,_.Vq.medium,_.MS.medium,g.$_.md(es(),_.Vq.medium,_.Vq.medium)),e_=(0,c.Ay)(p.A).withConfig({componentId:"sc-468d919e-1"})(["border-radius:"," "," 0 0;",";"],_.Vq.medium,_.Vq.medium,g.$_.md(ec(),(0,m.a)(416),(0,m.a)(202),_.Vq.medium,_.Vq.medium)),eh=(0,c.Ay)(el.A).withConfig({componentId:"sc-468d919e-2"})(["position:absolute;top:",";left:",";"],_.py.xxsmall,_.py.xxsmall),eb=(0,c.Ay)(p.A).withConfig({componentId:"sc-468d919e-3"})(["flex-grow:1;margin:"," "," "," ",";text-align:right;",";p{font-size:",";line-height:1.4;}"],(0,m.a)(56),e=>{let{$noPaddingRight:t}=e;return t?0:_.py.medium},_.py.medium,_.py.medium,g.$_.md(ed(),(0,m.a)(80),e=>{let{$noPaddingRight:t}=e;return t?0:_.py.medium}),(0,m.a)(40)),ef=(0,c.Ay)(p.A).withConfig({componentId:"sc-468d919e-4"})(["order:1;padding:",";",";"],_.py.medium,g.$_.md(eu(),_.py.xlarge,_.py.xlarge,(0,m.a)(72),_.py.large)),ey=(0,c.Ay)(p.A).withConfig({componentId:"sc-468d919e-5"})(["display:flex;flex-direction:column;row-gap:",";column-gap:",";flex-grow:1;>div{flex-grow:1;}",";"],_.py.large,_.py.xlarge,g.$_.md(ev())),ex=c.Ay.span.withConfig({componentId:"sc-468d919e-6"})(["display:none;padding:"," 0;font-size:",";font-weight:",";",";"],_.py.xxxsmall,(0,m.a)(28),h.BO.Medium,g.$_.md(ep())),ew=(0,c.Ay)(p.A).withConfig({componentId:"sc-468d919e-7"})(["position:relative;margin-top:",";margin-right:",";margin-left:",";color:white;",";span{font-size:",";font-weight:",";line-height:1.35;}sup{position:absolute;top:",";font-size:",";}"],(0,m.a)(56),_.py.large,_.py.xxsmall,g.$_.md(em(),(0,m.a)(80)),(0,m.a)(40),h.BO.Medium,_.AY.xxxsmall,(0,m.a)(24)),eC=(0,c.Ay)(p.A).withConfig({componentId:"sc-468d919e-8"})([" display:flex;flex-wrap:wrap;row-gap:",";column-gap:",";"],_.py.small,_.py.medium);var eA=n(7666),eR=n(9972),ek=n(5901),ej=n(14905),eW=n(50570),eI=n(91008);let eS=(0,c.AH)(["color:",";"],(0,u.oU)(h.U4.textPrimaryReverse)),eT=(0,c.AH)(["",";"],e=>{let{$disabled:t}=e;return t&&"color: ".concat((0,u.oU)(h.U4.textPrimary))}),eP=(0,c.AH)(["border-color:",";background-color:",";opacity:",";"],(0,u.oU)(h.kd.white30),(0,u.oU)(h.kd.transparent),_.e4.small),eM=(0,c.AH)(["border-color:",";background-color:",";opacity:",";"],(0,u.oU)(h.kd.grey2),(0,u.oU)(h.kd.transparent),_.e4.small),eU=(0,c.AH)(["border-style:dashed;border-color:",";"],(0,u.oU)(h.kd.white)),eD=(0,c.AH)(["border-color:",";",";",";&:hover{background-color:",";}"],(0,u.oU)(h.kd.white30),e=>{let{$disabled:t}=e;return t&&eP},e=>{let{isFocusVisible:t,$disabled:n}=e;return t&&!n&&eU},e=>{let{$disabled:t}=e;return t?(0,u.oU)(h.kd.transparent):(0,u.oU)(h.kd.white10)}),eV=(0,c.AH)(["border-color:",";",";",";&:hover{background-color:",";}"],(0,u.oU)(h.kd.white),e=>{let{$disabled:t}=e;return t&&eM},e=>{let{isFocusVisible:t,$disabled:n}=e;return t&&!n&&eU},e=>{let{$disabled:t}=e;return t?(0,u.oU)(h.kd.transparent):(0,u.oU)(h.kd.white10)}),eE=(0,c.AH)(["",";"],e=>{let{$checked:t}=e;return t?eV:eD}),eB=(0,c.AH)(["color:",";"],e=>{let{$disabled:t}=e;return t?(0,u.oU)(h.v_.content):(0,u.oU)(h.U4.textPrimary)}),eF=(0,c.AH)(["",";"],e=>{let{$disabled:t}=e;return t&&"color: ".concat((0,u.oU)(h.U4.textPrimaryReverse))}),ez=(0,c.AH)(["border-color:",";background-color:",";"],(0,u.oU)(h.v_.borderLight),(0,u.oU)(h.kd.transparent)),e$=(0,c.AH)(["border-style:dashed;border-color:",";"],(0,u.oU)(h.U4.primary)),eL=(0,c.AH)(["border-color:",";",";",";&:hover{background-color:",";}"],(0,u.oU)(h.kd.grey3),e=>{let{$disabled:t}=e;return t&&ez},e=>{let{isFocusVisible:t,$disabled:n}=e;return t&&!n&&e$},e=>{let{$disabled:t}=e;return t?(0,u.oU)(h.kd.transparent):(0,u.oU)(h.kd.grey2)}),eO=(0,c.AH)(["border-color:",";",";",";&:hover{background-color:",";}"],(0,u.oU)(h.U4.primary),e=>{let{$disabled:t}=e;return t&&ez},e=>{let{isFocusVisible:t,$disabled:n}=e;return t&&!n&&e$},e=>{let{$disabled:t}=e;return t?(0,u.oU)(h.kd.transparent):(0,u.oU)(h.U4.primaryLightest)}),eN=(0,c.AH)(["",";"],e=>{let{$checked:t}=e;return t?eO:eL});var eH=n(19074);
1let eq=(0,c.AH)(["",";border-color:",";"],e=>{let{$type:t,$reverse:n}=e;return t===eI.q.checkbox&&"\n background-color: ".concat(n?(0,u.oU)(h.kd.grey4):(0,u.oU)(h.v_.borderDark),";\n ")},e=>{let{$reverse:t}=e;return t?(0,u.oU)(h.kd.grey4):(0,u.oU)(h.v_.borderDark)}),eX=(0,c.AH)(["border-color:",";"],e=>{let{$reverse:t}=e;return t?(0,u.oU)(h.kd.grey4):(0,u.oU)(h.v_.borderDark)}),eZ=(0,c.AH)(["background-color:",";"],(0,u.oU)(h.kd.grey4)),eK=(0,c.AH)(["background-color:",";"],e=>{let{$disabled:t}=e;return t?(0,u.oU)(h.v_.borderDark):(0,u.oU)(h.U4.primary)}),eJ=(0,c.Ay)(eW.A).withConfig({componentId:"sc-e2f74302-0"})(["width:",";;min-width:",";padding:",";border-radius:",";border:"," solid;transition:all .2s ease-out;display:inline-flex;position:relative;margin-bottom:0;cursor:",";"," ","{",";",";}"],e=>{let{$noSelector:t}=e;return t?"auto":"100%"},e=>{let{$noSelector:t}=e;return t?(0,m.a)(45):"auto"},e=>{let{$noSelector:t}=e;return t?"".concat(_.py.xsmall," ").concat(_.py.xxsmall):_.py.xsmall},_.Vq.small,_.$X.large,e=>{let{$disabled:t}=e;return t?"not-allowed":"pointer"},e=>{let{$reverse:t}=e;return t?eE:eN},eH.sQ,e=>{let{$type:t}=e;return t===eI.q.radio&&"background-color: ".concat((0,u.oU)(h.kd.transparent))},e=>{let{$checked:t,$disabled:n}=e;return n&&(t?eq:eX)}),eQ=(0,c.Ay)(eH.iA).withConfig({componentId:"sc-e2f74302-1"})(["height:100%;"]),eY=(0,c.Ay)(p.A).withConfig({componentId:"sc-e2f74302-2"})(["",";"],e=>{let{$reverse:t}=e;return t?eS:eB}),eG=c.Ay.span.withConfig({componentId:"sc-e2f74302-3"})([""," margin-bottom:0;font-weight:",";margin-right:",";",";"],(0,b.ny)(h.Z4.Xsmall),h.BO.Medium,e=>{let{$noSelector:t}=e;return t?0:_.py.xsmall},e=>{let{$reverse:t}=e;return t?eS:eB}),e0=(0,c.Ay)(eH.hh).withConfig({componentId:"sc-e2f74302-4"})(["",";"],e=>{let{$reverse:t}=e;return t?eT:eF}),e1=(0,c.Ay)(p.A).withConfig({componentId:"sc-e2f74302-5"})(["border-radius:",";",";"],_.Vq.round,e=>{let{$reverse:t}=e;return t?eZ:eK}),e2=e=>{let{noSelector:t,type:n,checked:a,id:o,label:r,onChange:l,disabled:s=!1,name:c,reverse:d=!1,icon:u,...g}=e,{isFocusVisible:_,focusProps:b}=(0,ej.og)();return(0,i.jsxs)(eJ,{isFocusVisible:_,htmlFor:o,$disabled:s,$checked:a,$reverse:d,$noSelector:t,$type:n,children:[u&&(0,i.jsx)(eY,{$disabled:s,$reverse:d,children:(0,i.jsx)(v.A,{icon:u,size:h.or.Small,color:h.kd.currentColor,margin:{right:h.or.Xxsmall}})}),(0,i.jsxs)(p.A,{direction:h.HO.row,align:h.zI.center,justify:t?h.sx.center:h.sx.between,width:"100%",children:[(0,i.jsx)(eG,{$disabled:s,$reverse:d,$noSelector:t,children:r}),(0,i.jsxs)(p.A,{direction:h.HO.row,children:[(0,i.jsx)(eQ,{...b,onChange:async e=>l?l(e):null,id:o,disabled:s,checked:a,name:c,type:n,...g}),!t&&(0,i.jsx)(eH.sQ,{width:(0,m.a)(24),height:(0,m.a)(24),align:h.zI.center,justify:h.sx.center,$checked:a,$disabled:s,$reverse:d,$type:n,children:(0,i.jsx)(e0,{$disabled:s,$reverse:d,align:h.zI.center,justify:h.sx.center,height:"100%",children:n===eI.q.checkbox?(0,i.jsx)(v.A,{icon:M.B.Check,size:h.or.Xsmall,color:h.kd.currentColor}):(0,i.jsx)(e1,{$disabled:s,$reverse:d,width:(0,m.a)(12),height:(0,m.a)(12)})})})]})]})]})};var e4=n(7046);let e5=e=>{let{imageModal:t,customColors:n}=e,{t:a}=(0,P.A)(),{enums:{fields:{Leukocyte:o,Lymphocyte:r},units:{Liter:s,Microliter:c}},onChange:d,onResetFields:u,result:v,resultUnit:m,setResultUnit:g,showSup:_,value:{leukocyte:b,lymphocyte:f}}=(()=>{let{Microliter:e,Liter:t}=en,{Leukocyte:n,Lymphocyte:i}=ei,[a,o]=(0,l.useState)(""),[r,s]=(0,l.useState)(""),[c,d]=(0,l.useState)(e),u=1e3*Number(a)*(Number(r)/100)*(c===e?1:1e6),v=c===t?eo(u/1e9,3):eo(u);return{enums:{fields:ei,units:en},onChange:(e,t)=>
1{ea[t](e)&&(t===n?o(e):t===i&&s(e.split(".")[0]))},onResetFields:()=>{o(""),s("")},result:v,resultUnit:c,setResultUnit:d,showSup:c===t&&"0"!==v,value:{leukocyte:a,lymphocyte:r}}})(),[y,x]=(0,l.useState)(!1),w={open:y,title:a("lymphocytes_modal_title"),handleClose:()=>x(!1),overlay:!0,closeIcon:!0,size:h.rI.Xsmall};return(0,i.jsxs)(p.A,{style:{...n},children:[(0,i.jsxs)(eg,{children:[(0,i.jsx)(ef,{children:(0,i.jsxs)(ey,{children:[(0,i.jsx)(e4.A,{id:"lymphocytes_count",label:a("lymphocytes_widget_input_1"),onChange:async e=>d(e.target.value,o),onKeyPress:e=>er(e,b,4),type:"number",value:b}),(0,i.jsx)(e4.A,{id:"lymphocyte_percentage",label:a("lymphocytes_widget_input_2"),onChange:async e=>d(e.target.value,r),onKeyPress:e=>er(e,f),type:"number",value:f}),(0,i.jsx)(ex,{children:"="})]})}),(0,i.jsxs)(e_,{backgroundColor:h.kd.grey9,display:h.nl.Flex,position:h.Hy.relative,children:[(0,i.jsx)(eh,{ariaLabel:a("lymphocytes_widget_reset_button"),icon:M.B.Reset,onClick:u,reverse:!0,size:h.f3.Medium,variant:h.hi.Secondary}),(0,i.jsx)(eb,{$noPaddingRight:_,children:(0,i.jsx)(eA.A,{color:h.kd.white,content:v,weight:h.BO.Medium})}),_&&(0,i.jsx)(ew,{children:(0,i.jsxs)(p.A,{children:[(0,i.jsx)("span",{children:"x10"}),(0,i.jsx)("sup",{children:"9"})]})}),(0,i.jsxs)(p.A,{direction:h.HO.column,justify:h.sx.center,margin:{top:h.or.Large,right:h.or.Medium,bottom:h.or.Medium},children:[(0,i.jsx)(p.A,{margin:{bottom:h.or.Xxsmall},children:(0,i.jsx)(e2,{checked:m===c,id:"cta_microliter",label:"\xb5l",name:"lymphocyte_calculator_unit",onChange:async()=>g(c),reverse:!0,type:eI.q.radio,noSelector:!0})}),(0,i.jsx)(e2,{checked:m===s,id:"cta_liter",label:"l",name:"lymphocyte_calculator_unit",onChange:async()=>g(s),reverse:!0,type:eI.q.radio,noSelector:!0})]})]})]}),(0,i.jsx)(eC,{margin:{top:h.or.Medium},children:(0,i.jsx)(D.A,{type:h.VQ.button,variant:h.b4.Primary,ariaLabel:a("lymphocytes_widget_find_value"),label:a("lymphocytes_widget_find_value"),onClick:()=>x(!0),withIcon:M.B.QuestionCircle,iconPosition:M.c.Left,size:h.pM.Large,lowercase:!0})}),(0,i.jsx)(ek.A,{...w,children:(0,i.jsx)(eR.A,{src:t.url,alt:t.description,width:"100%"})})]})};function e3(){let e=(0,s._)(["\n padding-top: ",";\n "]);return e3=function(){return e},e}let e6=(0,c.Ay)(p.A).withConfig({componentId:"sc-b3efcc82-0"})(["display:flex;flex-direction:column;max-width:",";margin:"," auto;padding-top:",";box-shadow:",";"," &>ul{max-height:100%;}"],(0,m.a)(688),(0,m.a)(0),(0,m.a)(0),_.MS.large,g.$_.sm(e3(),(0,m.a)(18))),e8=(0,c.Ay)(p.A).withConfig({componentId:"sc-b3efcc82-1"})(["display:flex;justify-content:center;padding:"," ",";&>button{color:",";font-size:",";}"],(0,m.a)(8),(0,m.a)(0),(0,u.oU)(h.U4.primary),(0,m.a)(14)),e9=(0,c.Ay)(p.A).withConfig({componentId:"sc-b3efcc82-2"})(["display:flex;justify-content:end;padding:"," ",";&>button{color:",";font-size:",";}"],(0,m.a)(8),(0,m.a)(0),(0,u.oU)(h.MM.darkDestructive),(0,m.a)(14));var e7=n(51985),te=n(93374),tt=n(89344),tn=n(10932),ti=n(25715);let ta=e=>{let{button:t}=e,{t:n}=(0,P.A)(),{handleLoadMore:a,handleDeleteNotifications:o,isDisabledLoadMore:r,isEmpty:s}=(0,tn.M)(),c=(0,l.useRef)(null);return(0,i.jsxs)(e6,{ref:c,width:"100%",children:[(0,i.jsx)(tt.A,{}),s?(0,i.jsx)(e7.A,{}):(0,i.jsx)(te.A,{}),!r&&!s&&(0,i.jsx)(e8,{children:(0,i.jsx)(ti.A,{withIcon:M.B.ChevronDown,onClick:a,variant:h.Ak.Secondary,type:h.VQ.button,ariaLabel:t,label:t,fullWidth:!1,size:h.Mp.Small,disabled:r})}),!s&&(0,i.jsx)(e9,{children:(0,i.jsx)(ti.A,{onClick:o,variant:h.Ak.Secondary,type:h.VQ.button,ariaLabel:n("notificationWidget_deleteAll_title"),label:n("notificationWidget_deleteAll_title"),fullWidth:!1,size:h.Mp.Small})})]})};var to=n(66422),tr=n.n(to),tl=n(54655),ts=n.n(tl),tc=n(90835),td=n.n(tc),tu=n(47454),tv=n(36835);function tp(){let e=(0,s._)(["\n mutation SetOnetrustPurposes($collectionPointId: String!, $purpose: OnetrustPurposeInput!, $legacyEndpoint: Boolean!) {\n setOnetrustPurposes(collectionPointId: $collectionPointId, purpose: $purpose, legacyEndpoint: $legacyEndpoint)\n }\n"]);return tp=function(){return e},e}let tm=(0,tu.J1)(tp());var tg=n(31003),t_=n(62509),th=n(77161);let tb="click on preference center";var tf=n(71032),ty=n(3511),tx=n(73687),tw=n(55337),tC=n(15424),tA=n(81990),tR=n(4811
17);function tk(){let e=(0,s._)(["\n padding: ",";\n "]);return tk=function(){return e},e}function tj(){let e=(0,s._)(["\n flex-flow: row nowrap;\n "]);return tj=function(){return e},e}function tW(){let e=(0,s._)(["\n padding: "," 0 0;\n "]);return tW=function(){return e},e}function tI(){let e=(0,s._)(["\n padding: "," 0;\n grid-template-columns: 1fr 1fr;\n gap: "," ","; \n "]);return tI=function(){return e},e}function tS(){let e=(0,s._)(["\n padding: "," 0 0;\n "]);return tS=function(){return e},e}function tT(){let e=(0,s._)(["\n padding: "," 0 0;\n "]);return tT=function(){return e},e}function tP(){let e=(0,s._)(["\n grid-template-columns: 1fr 1fr 1fr;\n grid-gap: ",";\n "]);return tP=function(){return e},e}function tM(){let e=(0,s._)(["\n margin-bottom: 0;\n margin-right: ",";\n "]);return tM=function(){return e},e}function tU(){let e=(0,s._)(["\n padding-right: calc("," + ",")\n "]);return tU=function(){return e},e}function tD(){let e=(0,s._)(["\n width: auto;\n margin-right: ",";\n "," {\n width: auto;\n }\n "]);return tD=function(){return e},e}function tV(){let e=(0,s._)(["\n padding: calc("," - ",") 0 0;\n "]);return tV=function(){return e},e}let tE=(0,c.Ay)(p.A).withConfig({componentId:"sc-eb568ceb-0"})(["background-color:",";border-radius:",";box-shadow:",";margin:0;padding:",";",""],(0,u.oU)(h._I.main),_.Vq.medium,_.MS.medium,_.py.medium,g.$_.sm(tk(),_.py.xlarge)),tB=c.Ay.div.withConfig({componentId:"sc-eb568ceb-1"})(["",";",";padding:",";position:absolute;right:",";top:",";"],tx.eG,tC.MU,tx.ct,_.AY.xxsmall,_.AY.xxsmall),tF=(0,c.Ay)(v.A).withConfig({componentId:"sc-eb568ceb-2"})(["transition:transform .2s ",";transform:rotate(","deg);"],e=>{let{$isOpen:t}=e;return t?"ease-in":"ease-out"},e=>{let{$isOpen:t}=e;return t?"180":"0"}),tz=c.Ay.button.withConfig({componentId:"sc-eb568ceb-3"})(["",";display:flex;flex-flow:column nowrap;align-items:start;position:relative;&:focus-visible{outline:none;","{",";",";}}&:hover{","{",";}}",""],ty.p,tB,tw.lJ,tC.HC,tB,tC.DN,g.$_.sm(tj()));(0,c.Ay)(p.A).withConfig({componentId:"sc-eb568ceb-4"})(["padding:"," 0 0;",""],_.py.large,g.$_.sm(tW(),_.py.xlarge));let t$=(0,c.Ay)(p.A).withConfig({componentId:"sc-eb568ceb-5"})(["padding:"," 0;border-bottom:"," solid ",";display:grid;grid-gap:",";",""],_.py.large,_.$X.medium,(0,u.oU)(h.kd.grey3),_.py.medium,g.$_.sm(tI(),_.py.xlarge,_.py.medium,_.py.large));(0,c.Ay)(p.A).withConfig({componentId:"sc-eb568ceb-6"})(["padding:"," 0 0;",""],_.py.large,g.$_.sm(tS(),_.py.xlarge));let tL=(0,c.Ay)(p.A).withConfig({componentId:"sc-eb568ceb-7"})(["padding:"," 0 0;",""],_.py.large,g.$_.sm(tT(),_.py.xlarge)),tO=(0,c.Ay)(p.A).withConfig({componentId:"sc-eb568ceb-8"})(["display:grid;grid-gap:",";",""],_.py.xxsmall,g.$_.sm(tP(),_.py.small)),tN=(0,c.Ay)(U.A).withConfig({componentId:"sc-eb568ceb-9"})(["margin-bottom:",";",""],_.py.small,g.$_.sm(tM(),_.py.medium)),tH=(0,c.Ay)(p.A).withConfig({componentId:"sc-eb568ceb-10"})(["",""],g.$_.sm(tU(),_.py.medium,_.py.small)),tq=(0,c.Ay)(tA.A).withConfig({componentId:"sc-eb568ceb-11"})(["margin-right:0;margin-bottom:",";width:100%;","{width:100%;}"," ",""],_.py.small,tR.eb,e=>{let{$disabled:t}=e;return t?"\n pointer-events: none;\n opacity: .3;\n ":""},g.$_.xs(tD(),_.py.small,tR.eb)),tX=(0,c.Ay)(p.A).withConfig({componentId:"sc-eb568ceb-12"})(["padding:calc("," - ",") 0 0;",""],_.py.large,_.py.small,g.$_.sm(tV(),_.py.xlarge,_.py.small)),tZ=e=>{let{title:t,options:n,values:a,disabled:o,handlePreferenceChange:r}=e;return(0,i.jsxs)(tX,{children:[(0,i.jsx)(V.A,{level:5,margin:{bottom:h.or.Small},children:t}),(0,i.jsx)(p.A,{direction:h.HO.row,wrap:!0,children:n.map(e=>(0,i.jsx)(tq,{label:e.label||"Option not translated",checked:a.includes(e.id),onChange:t=>r(e.id,t,e.label),id:e.id,name:"name",$disabled:o},e.id))})]})};var tK=n(75417);let tJ=e=>{let{collapsible:t=!0,toggleCollapse:n,isOpen:a,title:o,subtitle:r,image:l}=e,{t:s}=(0,P.A)(),c=a?(0,tK.sC)("preferenceWidget_header_open",s):(0,tK.sC)("preferenceWidget_header_closed",s),u="string"==typeof l?l:null==l?void 0:l.url;return(0,i.jsxs)(tz,{onClick:n,"aria-label":c,children:[(0,i.jsx)(tN,{src:u||d.z9,alt:o,maxWidth:(0,m.a)(72),height:(0,m.a)(72)}
1),(0,i.jsxs)(tH,{textAlign:h.nO.Left,width:"100%",children:[(0,i.jsx)(V.A,{level:3,children:o}),r&&(0,i.jsx)(eA.A,{color:h.U4.textSecondary,content:r,weight:h.BO.Regular,size:h.Z4.Small})]}),t&&(0,i.jsx)(tB,{children:(0,i.jsx)(tF,{$isOpen:a,size:h.or.Small,icon:M.B.ChevronDown})})]})};var tQ=n(39280),tY=n.n(tQ);function tG(){let e=(0,s._)(["\n padding: calc("," - ",") 0 0;\n "]);return tG=function(){return e},e}let t0=(0,c.Ay)(p.A).withConfig({componentId:"sc-d5ceded8-0"})(["padding:calc("," - ",") 0 0;",""],_.py.large,_.py.small,g.$_.sm(tG(),_.py.xlarge,_.py.small)),t1=e=>{let{consentLinker:t,title:n,description:o,disclaimerMessage:r,image:s,collapsible:c,optionGroups:d,collectionPointId:u,purposeId:m,customColors:g}=e,{t:_}=(0,P.A)(),b=(0,z.A)(),{preferenceCenterConfig:f,onetrustUserProfile:y,loading:x,loadingCommit:w,handlePreferenceChange:C,handlePreferencesCommit:A,dirtyForm:R,hasGCSPrefCenterEvolution:k,trackOngoingChange:j}=((e,t)=>{let{config:n,loading:i}=(0,tg._1)(t),{onetrustProfile:o,loading:r}=(0,tg.Ty)(t),{onetrustPreferenceCenterGcsEndpointAndFormBehaviorTemp030624:s}=(0,a.D0)(),{t:c}=(0,P.A)(),d=(()=>{let e=(0,t_.A)();return{commitChanges:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=t.filter(e=>e.value),i=t.filter(e=>!e.value);if(n.length){let t=n.map(e=>e.label).filter(Boolean);e({category:th.$0.PreferenceCenter,action:"enable",label:tb,labels:t.sort((e,t)=>e<t?-1:1)})}if(i.length){let t=i.map(e=>e.label).filter(Boolean);e({category:th.$0.PreferenceCenter,action:"disable",label:tb,labels:t.sort((e,t)=>e<t?-1:1)})}}}})(),{trackOngoingChange:u,resetOngoingChanges:v,setOngoingChanges:p}=(()=>{let[e,t]=(0,l.useState)([]);return{ongoingChanges:e,trackOngoingChange:(n,i,a)=>{let o=e.findIndex(e=>e.optionId===n);if(-1===o)t(e=>[...e,{label:a,optionId:n,value:i}]);else{let n=[...e];n[o].value=i,t(n)}},resetOngoingChanges:(0,l.useCallback)(()=>{t([])},[]),setOngoingChanges:t}})(),m=(0,l.useRef)(void 0),[g,_]=(0,l.useState)(!1),h=(0,l.useRef)(null),[b,f]=(0,l.useState)(),[y,{loading:x}]=((e,t,n)=>{let{t:i}=(0,P.A)(),[a,o]=(0,tv.n)(tm,{onError:t,onCompleted:()=>{(0,T.o)({header:i("onetrustApiPreferenceCenterWidget_preferenceUpdate_success"),description:i("onetrustApiPreferenceCenterWidget_preferenceUpdate_success_description"),alertType:F._1.success})}}),r=(0,l.useCallback)(async t=>{var i;let o={collectionPointId:e,purpose:{id:t.purpose.id,customPreferences:null==(i=t.purpose.customPreferences)?void 0:i.map(e=>{var t;return{id:e.id,options:null==(t=e.options)?void 0:t.map(e=>({id:e.id}))}})},legacyEndpoint:n};await a({variables:o})},[e,a,n]);return(0,l.useMemo)(()=>[r,o],[r,o])})(e,(0,l.useCallback)(()=>{h.current&&(f(h.current),h.current=null,(0,T.o)({header:c("onetrustApiPreferenceCenterWidget_preferenceUpdate_error"),description:c("onetrustApiPreferenceCenterWidget_preferenceUpdate_error_description"),alertType:F._1.error}))},[c]),!s),w=(0,l.useMemo)(()=>{let e={};return null==n||n.purpose.customPreferences.forEach(t=>{t.customPreferenceOptions.forEach(n=>{e[n.id]=t.id})}),e},[n]);(0,l.useEffect)(()=>{o&&f(o)},[o]),(0,l.useEffect)(()=>()=>{clearTimeout(m.current)},[]);let C=async e=>{clearTimeout(m.current),e&&(p(e=>(d.commitChanges(e),e)),v(),_(!1),await y(e))},A=(0,l.useCallback)(td()(y,500),[]),R=async(e,t)=>{f(i=>{if(!n||!(null==i?void 0:i.purpose))return i;h.current||(h.current=i);let a=ts()(i),o=w[e],r=a.purpose.customPreferences.findIndex(e=>e.id===o);-1===r&&(a.purpose.customPreferences.push({id:o,options:[]}),r=a.purpose.customPreferences.length-1),t?a.purpose.customPreferences[r].options.push({id:e}):a.purpose.customPreferences[r].options=a.purpose.customPreferences[r].options.filter(t=>t.id!==e);let l={purpose:a.purpose};return s?(_(!0),m.current&&clearTimeout(m.current),m.current=setTimeout(()=>C(l),2e4)):A(l),l})};return{onetrustUserProfile:b,preferenceCenterConfig:n,loading:r||i,loadingCommit:x,handlePreferenceChange:R,handlePreferencesCommit:C,dirtyForm:g,hasGCSPrefCenterEvolution:s,trackOngoingChange:u}})(u,m),{loading:W,currentUser:I}=(0,Y.yj)(),{lastUpdate:S,shouldUpdate:U}=t,D=(0,l.useMemo)(()=>new Date,[]),[V,E]=(0,l.useState)(!1);(0,l.useEffect)(()=>{!V&&U(D)&&E(!0)},[U,V,S,D]);let $=(0,t_.A)(),[L,O]=(0,l.useState)(!0);if(x||W)return(0,i.jsx)(tf.Ay,{});if(!f||!I)return null;let N=V||I.marketingConsent,H=!N||void 0===y||!y.purpose;return(0,i.jsxs)(tE,{style:{...g},children:[(0,i.jsx)(tJ,{title:n,subtitle:o,toggleCollapse:()=>{O(!L)},isOpen:L,image:s,collapsible:c}),(0,i.jsxs)(B.A,{isOpen:L,children:[N?null:(0,i.jsxs)(t0,{direction:h.HO.row,wrap:!0,children:[(0,i.jsx)(v.A,{icon:M.B.Info,size:h.or.Large,margin:{right:h.or.Xxsmall},color:h.U4.textPrimary}),(0,i.jsx)(eA.A,{content:null!=r?r:"",weight:h.BO.SemiBold,color:h.U4.textPrimary,size:h.Z4.Small})]}),d.map(e=>(0,i.jsx)(tZ,{title:e.title,options:e.options,values:((e,t)=>{let n=[];if(e){var i;
1null==(i=e.purpose.customPreferences)||i.forEach(e=>{e.options&&(n=[...n,...tY()(t,e.options,"id").map(e=>e.id)])})}return n})(y,e.options),handlePreferenceChange:(e,t,n)=>((e,t,n)=>{n&&(k?j(e,t,n):$({category:th.$0.PreferenceCenter,action:t?"enable":"disable",label:n})),C(e,t)})(e,t,n),disabled:H},tr()())),k&&(0,i.jsx)(p.A,{margin:{top:b?h.or.Small:h.or.Large},children:(0,i.jsx)(ti.A,{ariaLabel:_("onetrustApiPreferenceCenterWidget_submitButton_label"),disabled:!R,fullWidth:b,label:_("onetrustApiPreferenceCenterWidget_submitButton_label"),loading:w,onClick:()=>A(y)})})]})]})};var t2=n(83027),t4=n(67483);let t5=e=>{let{title:t,children:n}=e;return(0,i.jsx)(t2.A,{columns:"1",title:t,size:t4.s.Small,gap:1.5,children:n})};var t3=n(69823);let t6=e=>{let{description:t}=e,{t:n}=(0,P.A)();return t?(0,i.jsx)(t5,{title:n("eventDetails_descriptionSection_title"),children:(0,i.jsx)(t3.A,{content:t})}):null};function t8(){let e=(0,s._)(["\n flex-flow: row nowrap;\n margin-top: ",";\n "]);return t8=function(){return e},e}function t9(){let e=(0,s._)(["\n grid-row-gap: ",";\n row-gap: ",";\n "]);return t9=function(){return e},e}let{global:{edgeSize:t7}}=n(52093).Qb,ne=(0,c.Ay)(p.A).withConfig({componentId:"sc-f5884d30-0"})(["margin-top:",";flex-flow:column-reverse nowrap;",""],t7.xlarge,g.$_.sm(t8(),t7.xxxlarge)),nt=(0,c.Ay)(p.A).withConfig({componentId:"sc-f5884d30-1"})(["display:grid;grid-row-gap:",";row-gap:",";flex:0 0 100%;max-width:100%;",""],t7.xlarge,t7.xlarge,g.$_.sm(t9(),t7.xxlarge,t7.xxlarge));(0,c.Ay)(p.A).withConfig({componentId:"sc-f5884d30-2"})(["&:last-child{margin-bottom:0;}"]),(0,c.Ay)(p.A).withConfig({componentId:"sc-f5884d30-3"})(["aspect-ratio:16/9;"]);var nn=n(13812),ni=n(14044),na=n(24092);let no=e=>{let{isOpen:t,participant:n,loading:a,error:o,confirmLoading:r,confirmSuccess:l,onConfirm:s,onClose:c}=e,{t:d}=(0,P.A)();if(!t)return null;let u=(null==n?void 0:n.currentStatus)==="checkedIn";return(0,i.jsxs)(ek.A,{closeIcon:!0,lockScroll:!0,overlay:!0,open:t,handleClose:c,title:d(l?"qrRegistration_title_success":u?"qrRegistration_title_alreadyRegistered":o?"qrRegistration_title_error":"qrRegistration_title_default"),children:[a?(0,i.jsx)(p.A,{display:h.nl.Flex,justify:h.sx.center,children:(0,i.jsx)(tf.Ay,{minHeight:0,size:1})}):o?(0,i.jsx)(eA.A,{size:h.Z4.Small,color:h.kd.grey8,content:d("qrRegistration_error_message")}):l?(0,i.jsx)(eA.A,{size:h.Z4.Small,color:h.kd.grey8,content:d("qrRegistration_success_message")}):u?(0,i.jsx)(eA.A,{size:h.Z4.Small,color:h.kd.grey8,content:d("qrRegistration_alreadyRegistered_message")}):n?(0,i.jsxs)(p.A,{children:[(0,i.jsx)(eA.A,{size:h.Z4.Medium,content:d("qrRegistration_welcome_label",{name:"".concat(n.firstName," ").concat(n.lastName)})}),(0,i.jsx)(eA.A,{size:h.Z4.Xsmall,color:h.kd.grey6,content:n.email}),(0,i.jsx)(p.A,{margin:{top:h.or.Medium},children:(0,i.jsx)(eA.A,{size:h.Z4.Xsmall,color:h.kd.grey6,content:d("qrRegistration_disclaimer")})})]}):null,a?null:o||l||u?(0,i.jsx)(na.EM,{justify:h.sx.center,align:h.zI.center,children:(0,i.jsx)(ni.A,{ariaLabel:d("qrRegistration_close_button"),label:d("qrRegistration_close_button"),onClick:c,type:h.VQ.button,variant:h.Ak.Primary})}):n?(0,i.jsxs)(na.EM,{justify:h.sx.center,align:h.zI.center,children:[(0,i.jsx)(ni.A,{ariaLabel:d("qrRegistration_cancel_button"),label:d("qrRegistration_cancel_button"),onClick:c,type:h.VQ.button,variant:h.Ak.Secondary}),(0,i.jsx)(ni.A,{ariaLabel:d("qrRegistration_confirm_button"),label:d("qrRegistration_confirm_button"),loading:r,onClick:s,type:h.VQ.button,variant:h.Ak.Primary})]}):null]})};var nr=n(36366),nl=n(78056);function ns(){let e=(0,s._)(["\n mutation QrCheckin($eventId: String!, $token: String!) {\n qrCheckin(eventId: $eventId, token: $token) {\n firstName\n lastName\n email\n registrationStatusHistory {\n invited\n accepted\n checkedIn\n }\n }\n }\n"]);return ns=function(){return e},e}let nc=(0,tu.J1)(ns());var nd=n(74755);function nu(){let e=(0,s._)(["\n query GetParticipantByQrToken($eventId: String!, $token: String!) {\n getParticipantByQrToken(eventId: $eventId, token: $token) {\n firstName\n lastName\n email\n eventTitle\n currentStatus\n }\n }\n"]);return nu=function(){return e},e}let nv=(0,tu.J1)(nu());var np=n(33661),nm=n(54631);
1let ng=(0,c.Ay)(p.A).withConfig({componentId:"sc-580202fc-0"})(["grid-template-columns:1fr;transition:margin-bottom .25s;"]),n_=e=>{let{children:t,...n}=e;return(0,i.jsx)(ng,{rowGap:h.or.Medium,display:h.nl.Grid,margin:{bottom:h.or.Medium},width:"100%",...n,children:t})};var nh=n(40468);let nb=(0,c.Ay)(p.A).withConfig({componentId:"sc-a5f7c8fc-0"})(["justify-items:center;"]),nf=e=>{let{speakers:t}=e,{isEmpty:n,title:a}=(e=>{let{speakers:t}=e,{t:n}=(0,P.A)();return{isEmpty:0===t.length,title:n("eventDetails_speakersSection_title")}})({speakers:t});return n?null:(0,i.jsx)(t5,{title:a,children:(0,i.jsx)(nb,{width:"100%",align:h.zI.center,direction:h.HO.column,children:(0,i.jsx)(n_,{children:t.map(e=>{let{id:t,...n}=e;return(0,i.jsx)(nh.A,{...n},t)})})})})};var ny=n(85203),nx=n(28130),nw=n(11514),nC=n(63824),nA=n(96684),nR=n(33982),nk=n(4763),nj=n(8168);let nW=e=>{let{agendaEntries:t,agendaFile:n}=e,{agendaEntriesPerDay:a,handleAgendaFileClick:o}=((e,t)=>{let{lang:n}=(0,P.A)(),i=(0,t_.A)(),{pdfDocument:a}=(0,nA.G)(null==t?void 0:t.url),o=(0,nC.kA)({blob:a,name:(null==t?void 0:t.fileName)||""});return{agendaEntriesPerDay:(0,l.useMemo)(()=>{let t=ts()(e);t.sort((e,t)=>new Date(e.session.startDate).getTime()-new Date(t.session.startDate).getTime());let i=new Map;return t.forEach(e=>{let t=new Date(e.session.startDate),a=new Date(e.session.endDate),o=(0,nw.DC)(t.toString(),nw.Sc.shortDate,n);i.set(o,[...i.get(o)||[],{...e,session:{...e.session,startDate:(0,nw.AN)(t,"HH:mm",n),endDate:(0,nw.AN)(a,"HH:mm",n)}}])}),Array.from(i)},[e,n]),handleAgendaFileClick:()=>{o(),i({category:th.$0.Download,action:"click to download pdf",label:(null==t?void 0:t.fileName)||""})}}})(t,n),{t:r}=(0,P.A)();return(0,i.jsxs)(i.Fragment,{children:[a.length>0?(0,i.jsx)(t5,{title:r("eventDetails_agendaSection_title"),children:a.map(e=>{let[t,n]=e;return(0,i.jsx)(nR.A,{expandCard:!0,title:t,headingLevel:4,children:n.map(e=>(0,i.jsxs)(p.A,{children:[(0,i.jsx)(V.A,{level:5,children:"".concat(e.session.startDate," - ").concat(e.session.endDate)}),(0,i.jsx)(V.A,{level:5,children:e.title}),(null==e?void 0:e.description)?(0,i.jsx)(eA.A,{content:null==e?void 0:e.description,size:h.Z4.Small}):null]},e.title))},t)})}):null,n&&n.url&&(0,i.jsx)(nk.A,{image:{url:(0,nj.Nf)(M.B.OfficeFilePdf)},title:n.title||"",subtitle:n.description||"",action:{label:n.fileName||"",onClick:o}})]})};var nI=n(76732),nS=n(78154),nT=n(56122);let nP=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{setShowNavItems:n,setShowNavActions:i}=(0,l.useContext)(nT.A),{setShowFooterColumns:a}=(0,l.useContext)(nS.j);(0,l.useEffect)(()=>{!t&&e&&(n(!!e.showNavigationBarElements),i(!!e.showNavigationBarActions),a(!!e.showFooterNavItems))},[t,e,i,n,a])};var nM=n(8434),nU=n(20303),nD=n(5783),nV=n(47301),nE=n(96845),nB=n(25315),nF=n(28738),nz=n(4832),n$=n(8113);let nL=e=>{let{text:t,icon:n,marginBottom:a=h.or.Xxxsmall}=e;return t?(0,i.jsxs)(p.A,{display:h.nl.Flex,direction:h.HO.row,align:h.zI.center,margin:{bottom:a},children:[(0,i.jsx)(v.A,{icon:n,size:h.or.Small,color:h.U4.textSecondary,margin:{right:h.or.Xxsmall}}),(0,i.jsx)(eA.A,{content:t,color:h.U4.textSecondary,size:h.Z4.Xsmall,weight:h.BO.Regular})]}):null};var nO=n(39969);function nN(){let e=(0,s._)(["\n margin-bottom: ","\n "]);return nN=function(){return e},e}function nH(){let e=(0,s._)(["\n margin-bottom: ",";\n "]);return nH=function(){return e},e}let nq=(0,c.Ay)(V.A).withConfig({componentId:"sc-378efe4d-0"})(["margin-bottom:",";",""],_.py.medium,g.$_.sm(nN(),_.py.xlarge)),nX=(0,c.Ay)(eA.A).withConfig({componentId:"sc-378efe4d-1"})(["margin-bottom:",";",""],_.py.small,g.$_.sm(nH(),_.py.medium)),nZ=e=>{let{title:t,eventName:n,type:a,schedule:o,duration:r,location:l,presenceType:s}=e,c=(0,z.A)(),{t:d}=(0,P.A)();return(0,i.jsxs)(p.A,{children:[(0,i.jsx)(nq,{level:2,children:t}),a&&(0,i.jsx)(nX,{content:d(a),color:h.U4.primary,weight:h.BO.Medium,size:h.Z4.Xsmall,uppercase:!0}),n&&(0,i.jsx)(V.A,{level:5,margin:{bottom:h.or.Xxxsmall},children:n}),(0,i.jsx)(nL,{icon:M.B.Calendar,text:o}),(0,i.jsx)(nL,{icon:M.B.Clock,text:r,marginBottom:c?h.or.Small:h.or.Medium}),(0,i.jsx)(nL,{icon:s===nO.A.ONLINE?M.B.Video:M.B.Pin,text:l,marginBottom:h.or.Xxlarge})]})};var nK=n(87611),nJ=n(50963),nQ=n(28895),nY=n(67464);function nG(){let e=(0,s._)(["\n query getRsvpEvent($veevaEventId: String!) {\n getRsvpEvent(veevaEventId: $veevaEventId) {\n ","\n data {\n ... on OnlineEvent {\n ","\n biogenLincConfig {\n isPublic\n }\n }\n ... on PhysicalEvent {\n ","\n biogenLincConfig {\n isPublic\n }\n }\n ... on HybridEvent {\n ","\n biogenLincConfig {\n isPublic\n }\n }\n }\n isRsvpType\n }\n }\n"]);return nG=function(){return e},e}let n0=(0,tu.J1)(nG(),nQ.Z$,nQ.og,nQ.qO,nQ.nf);var n1=n(10655),n2=n(99677);let n4=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"navbar",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"footer",{lang:n}=(0,P.A)(),i=(0,nr.useSearchParams)(),{setCustomNavBarV2:a}=(0,l.useContext)(nJ.lp),{setCustomFooterV3:o}=(0,l.useContext)(nK.sU),[r,s]=(0,l.useState)(!1),[c,d]=(0,l.useState)(!1),u=i.get(e),v=i.get(t);return(0,l.useEffect)(()=>{let e=async e=>{s(!0);let t=await n2.Ay.customNavbar(e,n);s(!1),t&&a(t)};u&&e(u)},[u,a,n]),(0,l.useEffect)(()=>{let e=async e=>{d(!0);let t=await n2.Ay.customFooter(e,n);d(!1),t&&o(t)};v&&e(v)},[v,o,n]),{loading:r||c}};function n5(){let e=(0,s._)(["\n grid-template-columns: 1fr 3fr;\n "]);return n5=function(){return e},e}function n3(){let e=(0,s._)(["\n padding: "," 0;\n "]);return n3=function(){return e},e}let n6=(0,c.Ay)(p.A).withConfig({componentId:"sc-c8c7ec02-0"})(["display:grid;grid-template-columns:1fr;column-gap:",";",""],_.py.xlarge,g.$_.sm(n5())),n8=(0,c.Ay)(p.A).withConfig({componentId:"sc-c8c7ec02-1"})(["padding:"," 0;",""],_.py.large,g.$_.sm(n3(),_.py.xlarge));var n9=n(22718),n7=n(61772);let ie=e=>{let{backLink:t,breadCrumbs:n}=e;return(0,z.A)()?t?(0,i.jsx)(n9.A,{withIcon:M.B.ChevronLeftGray,iconPosition:M.c.Left,...t}):null:n&&0!==n.length?(0,i.jsx)(p.A,{margin:{bottom:h.or.Xlarge},children:(0,i.jsx)(n7.A,{breadcrumbs:n})}):null};var it=n(638),ii=n(80018),ia=n(92793),io=function(e){return e.PRESCRIBER="Prescriber",e.NONPRESCRIBER="Non-Prescriber",e.OTHER="Other",e}({}),ir=function(e){return e.PHYSICIAN="Arzt/\xc4rztin",e.PHARMACIST="Apotheker*in",e.MIDWIFE="Hebamme",e.MEDICAL_ASSISTANT="Medizinische*r Fachangestellte*r",e.PHARMACEUTICAL_ASSISTANT="Pharmazeutisch-technische*r Assistent*in",e}({}),il=function(e){return e.AL="AL",e.AU="AU",e.AT="AT",e.BH="BH",e.BE="BE",e.BA="BA",e.BR="BR",e.BG="BG",e.CA="CA",e.CN="CN",e.CR="CR",e.HR="HR",e.CY="CY",e.CZ="CZ",e.DK="DK",e.DO="DO",e.EC="EC",e.EG="EG",e.EE="EE",e.FI="FI",e.FR="FR",e.DE="DE",e.GR="GR",e.GT="GT",e.HU="HU",e.IS="IS",e.IQ="IQ",e.IE="IE",e.IL="IL",e.IT="IT",e.JP="JP",e.KZ="KZ",e.XK="XK",e.KW="KW",e.LV="LV",e.LT="LT",e.LU="LU",e.MK="MK",e.MY="MY",e.MT="MT",e.MX="MX",e.ME="ME",e.NL="NL",e.NO="NO",e.NZ="NZ",e.OM="OM",e.PL="PL",e.PT="PT",e.QA="QA",e.RO="RO",e.SA="SA",e.RS="RS",e.SK="SK",e.SI="SI",e.ES="ES",e.SE="SE",e.CH="CH",e.TR="TR",e.AE="AE",e.GB="GB",e}({}),is=function(e){return e.BH="BH",e.KW="KW",e.OM="OM",e.QA="QA",e.SA="SA",e.AE="AE",e}({}),ic=function(e){return e.DK="DK",e.FI="FI",e.IS="IS",e.NO="NO",e.SE="SE",e}({}),id=function(e){return e.AR="AR",e.CL="CL",e.UY="UY",e}({});let iu=[{value:il.AL,label:"Albania"},{value:il.AU,label:"Australia"},{value:id.AR,label:"Argentina"},{value:il.AT,label:"Austria"},{value:il.BH,label:"Bahrain"},{value:il.BE,label:"Belgium"},{value:il.BA,label:"Bosnia and Herzegovina"},{value:il.BR,label:"Brazil"},{value:il.BG,label:"Bulgaria"},{value:il.CA,label:"Canada"},{value:id.CL,label:"Chile"},{value:il.CN,label:"China"},{value:il.CR,label:"Costa Rica"},{value:il.HR,label:"Croatia"},{value:il.CY,label:"Cyprus"},{value:il.CZ,label:"Czech Republic"},{value:il.DK,label:"Denmark"},{value:il.DO,label:"Dominican Republic"},{value:il.EC,label:"Ecuador"},{value:il.EG,label:"Egypt"},{value:il.EE,label:"Estonia"},{value:il.FI,label:"Finland"},{value:il.FR,label:"France"},{value:il.DE,label:"Germany"},{value:il.GR,label:"Greece"},{value:il.GT,label:"Guatemala"},{value:il.HU,label:"Hungary"},{value:il.IS,label:"Iceland"},{value:il.IQ,label:"Iraq"},{value:il.IE,label:"Ireland"},{value:il.IL,label:"Israel"},{value:il.IT,label:"Italy"},{value:il.JP,label:"Japan"},{value:il.KZ,label:"Kazakhstan"},{value:il.XK,label:"Kosovo"},{value:il.KW,label:"Kuwait"},{value:il.LV,label:"Latvia"},{value:il.LT,label:"Lithuania"},{value:il.LU,label:"Luxembourg"},{value:il.MK,label:"Macedonia"},{value:il.MY,label:"Malaysia"},{value:il.MT,label:"Malta"},{value:il.MX,label:"Mexico"},{value:il.ME,label:"Montenegro"},{value:il.NL,label:"Netherlands"},{value:il.NO,label:"Norway"},{value:il.NZ,label:"New Zealand"},{value:il.OM,label:"Oman"},{value:il.PL,label:"Poland"},{value:il.PT,label:"Portugal"},{value:il.QA,label:"Qatar"},{value:il.RO,label:"Romania"},{value:il.SA,label:"Saudi Arabia"},{value:il.RS,label:"Serbia"},{value:il.SK,label:"Slovakia"},{value:il.SI,label:"Slovenia"},{value:il.ES,label:"Spain"},{value:il.SE,label:"Sweden"},{value:il.CH,label:"Switzerland"},{value:il.TR,label:"Turkey"},{value:il.AE,label:"UAE"},{value:il.GB,label:"United Kingdom"},{value:id.UY,label:"Uruguay"}];var iv=n(88020),ip=n(15417);let im=e=>{try{return{value:e,label:new Intl.DisplayNames(["en"],{type:"region"}).of(e)}}catch(t){return iu.find(t=>t.value===e)||null}};var ig=n(13117),i_=n(57082),ih=n(73781),ib=n(20054),iy=n(15315),ix=n(57481),iw=n(98529),iC=n(77878);function iA(){let e=(0,s._)(["\n query getUserDataByEmailAndName($email: String!, $firstName: String!, $lastName: String!) {\n getUserDataByEmailAndName(email: $email, firstName: $firstName, lastName: $lastName) {\n mdmId\n name\n lastName\n email\n countryCode\n }\n }\n"]);return iA=function(){return e},e}let iR=(0,tu.J1)(iA());var ik=n(45919),ij=n(97382),iW=n(5532);let iI=e=>{let{signature:t,onOpenModal:n}=e,{t:a}=(0,P.A)();return(0,i.jsxs)(p.A,{children:[(0,i.jsx)(eW.A,{htmlFor:"signature",children:"".concat(a("eventRegistrationForm_signature_label"),"*")}),(0,i.jsxs)(iW.Ik,{children:[(0,i.jsxs)(p.A,{display:h.nl.Flex,direction:h.HO.row,style:{alignItems:"center",gap:"12px"},children:[(0,i.jsx)(v.A,{icon:t?M.B.Check:M.B.Pencil,size:h.or.Medium}),(0,i.jsx)("span",{children:a(t?"eventRegistrationForm_signature_signed":"eventRegistrationForm_signature_notSigned")})]}),(0,i.jsx)(ni.A,{label:a(t?"eventRegistrationForm_signature_resignButton":"eventRegistrationForm_signature_sign
1Button"),size:h.Mp.Small,variant:h.Ak.Primary,onClick:n,type:h.VQ.button})]})]})};var iS=n(45054),iT=n(31825),iP=n(72261);let iM=e=>{let{checkConsent:t,checkGuestTextMessageConsent:n,backLinkUrl:o,event:r,joiningChannel:s}=e,[c,d]=(0,l.useState)(!1),[u,v]=(0,l.useState)(null),m=(0,nI.js)(null!=r?r:null),g=(0,nI.VZ)(null!=r?r:null),_=s===nU.WJ.physical||(null==r?void 0:r.presenceType)===nO.A.PHYSICAL,{methods:b,handleSubmit:f,title:y,cancelButtonLabel:x,submitButtonLabel:w,consentChecked:C,textMessageConsentChecked:A,onSelectConsentCheckbox:R,onSelectTextMessageConsentCheckbox:k,t:j,loading:W,enableCountryListField:I,fullFormEnabled:S,isSACountrySelected:M,isCollectParticipantPhoneNumberEnabled:U,isCollectParticipantPhoneNumberMandatoryEnabled:D}=(e=>{let{event:t,backLinkUrl:n,checkGuestTextMessageConsent:i,joiningChannel:o,signature:r}=e,{t:s}=(0,P.A)(),{marketTag:c}=(0,K.Ay)(),[d,u]=(0,ik.M)(ih.O),[v]=(0,ix.K)(),{push:p}=(0,nr.useRouter)(),{called:m,loading:g,data:_,getUserDataByEmailAndName:h}=(()=>{let[e,{called:t,data:n,loading:i}]=(0,iC._)(iR,{fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-first"});return{getUserDataByEmailAndName:(t,n,a)=>{i||e({variables:{email:t,firstName:n,lastName:a}})},called:t,data:n?null==n?void 0:n.getUserDataByEmailAndName:null,loading:i}})(),[b,f]=(0,l.useState)(),[y,x]=(0,iw.hu)(),[w,C]=(0,l.useState)(!0),A=(0,l.useRef)(!1),R=[ip.f.COM,ip.f.NORDICS,ip.f.GULF,ip.f.AR].includes(c)&&!!(null==t?void 0:t.enableGuestRegistrationCountryDropdown),k=!!(null==t?void 0:t.fullForm),j=null==t?void 0:t.collectParticipantPhoneNumber,W=null==t?void 0:t.collectPhoneNumberMandatory,I=j&&!W,[S,M]=(0,l.useState)(!I&&i),{eventRegistrationFormCity080425:U,eventRegistrationFormAddress080425:D,eventRegistrationFormZip080425:V,eventRegistrationFormWalkInType080425:E,eventRegistrationFormInstitution080425:B,eventRegistrationFormSpeciality080425:z,eventRegistrationFormProfessionalId080425:$,eventRegistrationFormNationalId080425:L,eventsCweb1249EnableShouldVeevaNetworkMasterSelection:O,eventRegistrationFormCityMandating250826:N,eventRegistrationFormAddressMandating250826:H,eventRegistrationFormZipMandating250826:q,eventRegistrationFormWalkInTypeMandating250826:X,eventRegistrationFormInstitutionMandating250826:Z,eventRegistrationFormSpecialityMandating250826:J,eventRegistrationFormProfessionalIdMandating250826:Q,eventRegistrationFormNationalIdMandating250826:Y}=(0,a.D0)(),G=async()=>{C(e=>!e)},ee=(0,i_.Ik)().shape({firstName:(0,i_.Yj)().required(s("eventRegistrationForm_firstName_requiredError")),lastName:(0,i_.Yj)().required(s("eventRegistrationForm_lastName_requiredError")),email:(0,i_.Yj)().email().required(s("eventRegistrationForm_email_requiredError")),country:R?(0,i_.Yj)().required(s("eventRegistrationForm_country_requiredError")):(0,i_.Yj)(),phone:(0,i_.Yj)().transform((e,t)=>t?e:void 0).when("$isPhoneRequired",{is:!0,then:e=>e.test({name:"isRequired",message:s("eventRegistrationForm_phone_requiredError"),test:e=>!!(e&&!ib.T.isEmptyCallingCode(e))}).test({name:"isValidPhoneNumber",message:s("eventRegistrationForm_phoneNumber_invalidError"),test:e=>!e||ib.T.isEmptyCallingCode(e)||ib.T.isValidPhoneNumber(e)}),otherwise:e=>e.test({name:"isValidPhoneNumber",message:s("eventRegistrationForm_phoneNumber_invalidError"),test:e=>!e||ib.T.isEmptyCallingCode(e)||ib.T.isValidPhoneNumber(e)})}),institution:k&&B&&Z?(0,i_.Yj)().required(s("eventRegistrationForm_institution_requiredError")):(0,i_.Yj)(),specialty:k&&z&&J?(0,i_.Yj)().required(s("eventRegistrationForm_specialty_requiredError")):(0,i_.Yj)(),address:k&&D&&H?(0,i_.Yj)().required(s("eventRegistrationForm_address_requiredError")):(0,i_.Yj)(),city:k&&U&&N?(0,i_.Yj)().required(s("eventRegistrationForm_city_requiredError")):(0,i_.Yj)(),zip:k&&V&&q?(0,i_.Yj)().required(s("eventRegistrationForm_zip_requiredError")):(0,i_.Yj)(),walkInType:k&&E&&X?(0,i_.Yj)().required(s("eventRegistrationForm_walkInType_requiredError")):(0,i_.Yj)(),professionalId:(0,i_.Yj)().when("country",{is:is.SA,then:e=>$&&Q?e.required(s("eventRegistrationForm_professionalId_requiredError")):e,otherwise:e=>k&&$&&Q?e.required(s("eventRegistrationForm_professionalId_requiredError")):e}),nationalId:(0,i_.Yj)().when("country",{is:is.SA,then:e=>L&&Y?e.required(s("eventRegistrationForm_nationalId_requiredError")):e})}),et=(0,ii.mN)({resolver:(0,ig.t)(ee),context:{isPhoneRequired:j&&W||S}}),en=et.watch("country")===is.SA,ei=et.watch("phone");(0,l.useEffect)(()=>{ei&&!ib.T.isEmptyCallingCode(ei)&&(I&&M(!0),et.trigger("phone"))},[ei,I,et]);let ea=async()=>{M(e=>{let t=!e;return t?setTimeout(()=>et.trigger("phone"),0):I&&et.clearErrors("phone"),t})},eo=s("eventRegistration_personalDetails_title"),er=s("eventRegistration_cancelButton_label"),el=s("eventRegistration_submitButton_label"),es=async(e,t)=>{try{let n=!!e.shouldVeevaNetworkMaster&&!!O&&e.shouldVeevaNetworkMaster;e.checkConsent&&await v({event:e,participant:t,consentType:ij.n.email,shouldVeevaNetworkMaster:n}),(e.collectTextMessageUserConsent||e.checkGuestTextMessageConsent)&&await v({event:e,participant:t,consentType:ij.n.sms,shouldVeevaNetworkMaster:n})}catch(e){e instanceof Error&&(0,T.o)({header:e.message,alertType:F._1.error}),p(n||"")}};(0,l.useEffect)(()=>
1{if(m&&!g)if(!_&&(null==t?void 0:t.id)&&b)(0,iy.dQ)(b),u(null==t?void 0:t.id),A.current||(A.current=!0,es(t,b)),p(n||"");else if(_&&(null==t?void 0:t.id)&&!x.called){let e=((e,t,n,i,a)=>({eventId:t,mdmId:e.mdmId,firstName:e.name,lastName:e.lastName,email:e.email,telephone:a||"",consentCollection:n,textMessageConsentCollection:i}))(_,null==t?void 0:t.id,w,S,(null==b?void 0:b.telephone)||(null==b?void 0:b.collectedPhoneNumber)||void 0);y(e),A.current||(A.current=!0,es(t,e)),p(n||"")}else p(n||"")},[_,g,m,x,b,f]);let ec=(0,l.useCallback)(e=>{h(e.email,e.firstName,e.lastName)},[h]),ed=et.handleSubmit(async e=>{if(sessionStorage.removeItem("eventRegistartionParticipant"),!(null==t?void 0:t.id))throw Error("Invalid event id");let n=((e,t,n,i,a,o)=>({mdmId:"",eventId:t,firstName:e.firstName,lastName:e.lastName,guestCountryCode:e.country,email:e.email,telephone:"".concat(e.phone)||"",institution:e.institution||"",specialty:e.specialty||"",consentCollection:n,textMessageConsentCollection:i,address:e.address||"",city:e.city||"",zip:e.zip||"",walkInType:e.walkInType||"",professionalId:e.professionalId||"",nationalId:e.nationalId||"",joiningChannel:a,signature:o||void 0}))(e,null==t?void 0:t.id,w,S,o,r);f(n);try{ec(n)}catch(e){e instanceof Error&&(0,T.o)({header:e.message,alertType:F._1.error})}});return{methods:et,handleSubmit:ed,title:eo,cancelButtonLabel:er,submitButtonLabel:el,consentChecked:w,textMessageConsentChecked:S,onSelectConsentCheckbox:G,onSelectTextMessageConsentCheckbox:ea,t:s,loading:x.loading,enableCountryListField:R,fullFormEnabled:k,isSACountrySelected:en,isCollectParticipantPhoneNumberEnabled:j,isCollectParticipantPhoneNumberMandatoryEnabled:W}})({event:r,backLinkUrl:o,checkGuestTextMessageConsent:n||!1,joiningChannel:s,signature:u}),E=(e=>{let{t}=e,n={size:h.Z4.Xsmall,weight:h.BO.Light},{dePublicEventRegistrationPageTemplateTmp110123:i}=(0,a.D0)(),{marketTag:o}=(0,K.Ay)(),r=(0,l.useMemo)(()=>{let e,n={value:"",label:t("eventRegistrationForm_country_empty_option_label")};switch(o){case ip.f.COM:e=Object.values(il);break;case ip.f.NORDICS:e=Object.values(ic);break;case ip.f.AR:e=Object.values(id);break;case ip.f.GULF:e=Object.values(is);break;default:e=[]}return[n,...Object.values(e).map(im).filter(Boolean)]},[t,o]);return{firstName:{name:"firstName",label:t("eventRegistrationForm_firstName_label"),placeholder:t("eventRegistrationForm_firstName_label"),required:!0,labelStyles:n},lastName:{name:"lastName",label:t("eventRegistrationForm_lastName_label"),placeholder:t("eventRegistrationForm_lastName_label"),required:!0,labelStyles:n},email:{name:"email",label:t("eventRegistrationForm_email_label"),placeholder:t("eventRegistrationForm_email_label"),required:!0,type:"email",labelStyles:n,defaultValue:(0,iv.oo)(sessionStorage.getItem("eventRegistartionParticipant")||"")},country:{name:"country",label:t("eventRegistrationForm_country_label"),placeholder:t("eventRegistrationForm_country_label"),required:!0,options:r,labelStyles:n},address:{name:"address",label:t("eventRegistrationForm_address_label"),placeholder:t("eventRegistrationForm_address_label"),labelStyles:n},city:{name:"city",label:t("eventRegistrationForm_city_label"),placeholder:t("eventRegistrationForm_city_label"),labelStyles:n},zip:{name:"zip",label:t("eventRegistrationForm_zip_label"),placeholder:t("eventRegistrationForm_zip_label"),labelStyles:n},phone:{name:"phone",label:t("eventRegistrationForm_phone_label"),placeholder:t("eventRegistrationForm_phone_label"),labelStyles:n},institution:{name:"institution",label:t("eventRegistrationForm_institution_label"),placeholder:t("eventRegistrationForm_institution_label"),required:!i,labelStyles:n},specialty:{name:"specialty",label:t("eventRegistrationForm_specialty_label"),placeholder:t("eventRegistrationForm_specialty_label"),required:!i,labelStyles:n},walkInType:{name:"walkInType",label:t("eventRegistrationForm_walk_in_type_label"),options:[{value:io.PRESCRIBER,label:t("eventRegistrationForm_walk_in_prescriber_label")},{value:io.NONPRESCRIBER,label:t("eventRegistrationForm_walk_in_non_prescriber_label")},{value:io.OTHER,label:t("eventRegistrationForm_walk_in_other_label")}],labelStyles:n},professionalId:{name:"professionalId",label:t("eventRegistrationForm_professional_id_label"),placeholder:t("eventRegistrationForm_professional_id_label"),labelStyles:n},professionalIdSelect:{name:"professionalId",label:t("eventRegistrationForm_professional_id_label"),placeholder:t("eventRegistrationForm_professional_id_label"),options:[{value:"",label:t("eventRegistrationForm_professional_id_label"),disabledOption:!0,selectedOption:!0,hiddenOption:!0},...Object.values(ir).map(e=>({value:e,label:e}))],labelStyles:n},nationalId:{name:"nationalId",label:t("eventRegistrationForm_national_id_label"),placeholder:t("eventRegistrationForm_national_id_label"),labelStyles:n}}})({t:j,methods:b}),{eventRegistrationGuestConsentCollectionCheckboxVisible:B,eventRegistrationFormCity080425:z,eventRegistrationFormAddress080425:$,eventRegistrationFormZip080425:L,eventRegistrationFormWalkInType080425:O,eventRegistrationFormInstitution080425:N,eventRegistrationFormSpeciality080425:H,eventRegistrationFormProfessionalId080425:q,eventRegistrationFormNationalId080425:X,eventSignatureCollection250902:Z,eventRegistrationFormCityMandating250826:J,eventRegistrationFormAddressMandating250826:Q,eventRegistrationFormZipMandating250826:Y,eventRegistrationFormWalkInTypeMandating250826:G,eventRegistrationFormInstitutionMandating250826:ee,eventRegistrationFormSpecialityMandating250826:et,eventRegistrationFormProfessionalIdMandating250826:en,eventRegistrationFormNationalIdMandating250826:ei}=(0,a.D0)(),{marketTag:ea}=(0,K.Ay)(),eo=ea===ip.f.DE,er=!!Z&&_&&(m||g)&&!!(null==r?void 0:r.signatureCollection),el=S||M;return(0,i.jsx)(p.A,{children:(0,i.jsxs)(ii.Op,{...b,children:[(0,i.jsxs)(iW.ee,{children:[(0,i.jsx)(iW.Lc,{children:(0,i.jsx)(V.A,{level:4,children:y})}
1),(0,i.jsx)(iW.Wu,{width:"100%",border:{side:"top",color:h.kd.grey2,width:h.V6.Large},children:(0,i.jsxs)(iW.fI,{display:h.nl.Flex,direction:h.HO.column,children:[(0,i.jsxs)(iW.af,{display:h.nl.Flex,columnGap:h.or.Xlarge,children:[(0,i.jsx)(iP.A,{...E.firstName}),(0,i.jsx)(iP.A,{...E.lastName})]}),I?(0,i.jsxs)(iW.af,{display:h.nl.Flex,columnGap:h.or.Xlarge,children:[(0,i.jsx)(iP.A,{...E.email}),(0,i.jsx)(iW.CT,{...E.country})]}):(0,i.jsx)(iP.A,{...E.email}),er&&(0,i.jsx)(iI,{signature:u,onOpenModal:()=>d(!0)}),el&&q&&(eo?(0,i.jsx)(iT.A,{...E.professionalIdSelect,required:!!en}):(0,i.jsx)(iP.A,{...E.professionalId,required:!!en})),S&&N&&(0,i.jsx)(iP.A,{...E.institution,required:!!ee}),U?(0,i.jsx)(it.default,{defaultCountry:null==r?void 0:r.market,label:E.phone.label,name:E.phone.name,placeholder:E.phone.placeholder,required:D,shouldUnregister:!0}):null,S&&(0,i.jsxs)(i.Fragment,{children:[$&&(0,i.jsx)(iP.A,{...E.address,required:!!Q}),(0,i.jsxs)(iW.af,{display:h.nl.Flex,columnGap:h.or.Xlarge,children:[z&&(0,i.jsx)(iP.A,{...E.city,required:!!J}),L&&(0,i.jsx)(iP.A,{...E.zip,required:!!Y})]}),O&&(0,i.jsx)(iT.A,{...E.walkInType,required:!!G}),H&&(0,i.jsx)(iP.A,{...E.specialty,required:!!et}),X&&M&&(0,i.jsx)(iP.A,{...E.nationalId,required:!!ei})]}),(0,i.jsx)(p.A,{hidden:!t&&!n,children:j("event_registration_consent_collection_text")}),B?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(ia.A,{checkboxLabel:j("eventRegistrationConsentCollection_checkboxDescription"),textWithoutCheckbox:j("eventRegistrationConsentCollection_text"),withCheckbox:t||!1,analyticsTitle:"Event registration consents",checked:C,onSelectCheckbox:R}),(0,i.jsx)(ia.A,{checkboxLabel:j("eventRegistrationSMSConsentCollection_checkboxDescription"),textWithoutCheckbox:j("eventRegistrationSMSConsentCollection_text"),withCheckbox:n||!1,analyticsTitle:"Event registration SMS consents",fieldId:"EventRegistrationTextMessageConsentCollectionCheckbox",checked:A,onSelectCheckbox:k})]}):null]})})]}),(0,i.jsxs)(iW.bj,{children:[(0,i.jsx)(ni.A,{label:x,variant:h.Ak.Secondary,onClick:()=>{sessionStorage.removeItem("eventRegistartionParticipant"),o&&(window.location.href=o)}}),(0,i.jsx)(ni.A,{loading:W,label:w,type:h.VQ.submit,onClick:f,disabled:er&&!u})]}),er&&(0,i.jsx)(iS.A,{open:c,handleClose:()=>d(!1),onSubmit:v})]})})};var iU=n(782),iD=n.n(iU),iV=n(41925);function iE(){let e=(0,s._)(["\n query getEvents($filter: EventsFilterInput!) {\n getEvents(filter: $filter) {\n ","\n data {\n ... on OnlineEvent {\n ","\n }\n ... on PhysicalEvent {\n ","\n }\n ... on HybridEvent {\n ","\n }\n }\n }\n }\n"]);return iE=function(){return e},e}let iB=(0,tu.J1)(iE(),nQ.Z$,nQ.og,nQ.qO,nQ.nf);var iF=n(65522),iz=n(26983),i$=n(81014),iL=n(3524);let iO=(0,c.Ay)(p.A).withConfig({componentId:"sc-8e7d2ad6-0"})(["margin-bottom:calc(-"," * 2);"],_.py.xxlarge);var iN=n(3812),iH=n(94327),iq=n(38320),iX=n(86714),iZ=n(55962),iK=n(92602),iJ=n(11658),iQ=n(38579),iY=n(52615);let iG=e=>t=>{let{accessControl:n}=t,{loading:a,userStatus:o}=(0,iQ.A)(n),r=(0,n$._)();return((0,l.useEffect)(()=>{a||o||r()},[r,a,o]),a||!o)?(0,i.jsx)(iJ.A,{}):o===iY.L0.Pending?(0,i.jsx)(iX.A,{}):o===iY.L0.Rejected?(0,i.jsx)(iZ.A,{}):o===iY.L0.Unauthorized?(0,i.jsx)(iK.A,{}):(0,i.jsx)(e,{...t})};var i0=n(78273),i1=n(19473);let i2=i1.lF.Neuroflix,i4=i1.oQ.VideoData,i5=iG(e=>{let{theme:t}=e,{bookmarkCtaNeuroflixMulti300123:n}=(0,a.D0)(),{episode:o,episodeContentId:r}=(0,iz.U)(),{bookmarked:s,loading:c,queried:d,onBookmarkToggle:u}=(0,i0.AH)(i4,i2,r,"","EpisodeDetail"),{t:v}=(0,P.A)(),m={path:void 0,label:v("teaserIntro_backLink")},{neuroflixSlug:g}=(0,l.useContext)(iq.M),_=(0,iN.g)({level2Title:null==o?void 0:o.title,neuroflixSlug:g});return o?(0,i.jsx)(iH.I,{"data-testid":"page-content",children:(0,i.jsxs)(p.A,{negativeMargin:{horizontal:h.dP.Small},children:[n&&(0,i.jsx)(iL.A,{backLink:m,bookmarked:s,bookmarkLoading:c,bookmarkQueried:d,breadcrumbs:_,onBookmarkToggle:u,theme:t}),(0,i.jsx)(iO,{children:(0,i.jsx)(i$.A,{data:o,backLink:n?void 0:m})})]})}):(0,i.jsx)(tf.Ay,{})});var i3=n(89411);function i6(){let e=(0,s._)(["\n margin-bottom: ",";\n "]);return i6=function(){return e},e}let i8=(0,c.Ay)(p.A).withConfig({componentId:"sc-eb9fd217-0"})(["margin-bottom:",";",";"],i3.IY,g.$_.sm(i6(),i3.WC)),i9=(0,c.Ay)(nz.D).withConfig({componentId:"sc-eb9fd217-1"})(["margin:0;"]);var i7=n(17681),ae=n.n(i7),at=n(35572),an=n(71785),ai=n(46879),aa=n(38029),ao=n.n(aa),ar=n(59583),al=n(59474),as=n(81192);h.Sx.light,(0,u.oU)(h.kd.white),h.Sx.dark,(0,u.oU)(h._I.dark),h.Sx.light,h.U4.textPrimary,h.Sx.dark,h.kd.white;let ac={[as.DZ.Movie]:M.B.Meeting,[as.DZ.Episode]:M.B.Meeting},ad={[as.DZ.Movie]:"bookmark_type_movie",[as.DZ.Episode]:"neuroflix_episodePage_episode_label"};var au=n(57652);let av=e=>{let{item:t,theme:n=h.Sx.light}=e,{neuroflixSlug:a}=(0,l.useContext)(iq.M),o=((e,t)=>{let{t:n}=(0,P.A)(),i=null==e?void 0:e.contentData,{watchLink:a}=(0,iN.e)({item:i,seriesSlug:i.seriesSlug,neuroflixSlug:t}),o=ac[e.relatedContentType]?ac[e.relatedContentType]:M.B.CommonFileText;return(0,l.useMemo)(()=>
1{if((null==e?void 0:e.contentType)===as.mR.VideoData){let t=e.relatedContentType===as.DZ.Movie?n(ad.movie):n(ad.episode);return{href:a,tagIcon:o,title:e.contentData.title||"",tagLabel:t,type:e.relatedContentType}}return null},[a,e,n,o])})(t,a);return(null==o?void 0:o.title)&&(null==o?void 0:o.href)&&(null==o?void 0:o.tagLabel)?(0,i.jsx)(au.A,{theme:n,title:o.title,tagIcon:o.tagIcon,tagLabel:o.tagLabel,contentLink:o.href,hoverShadow:!0}):null};var ap=n(78092);let am=e=>{let{contentfulTypes:t,contentTypes:n,excludedContentfulIds:a,sectionTheme:o,speakers:r,theme:s,therapeuticAreas:c,title:d,topics:u}=e,v=(0,ap.H)(),p=s||o||v,{columns:m,slides:g}=(e=>{let{contentTypes:t,therapeuticAreas:n,contentfulTypes:i,excludedContentfulIds:a,speakers:o,topics:r}=e,s=(0,ar.m)(),{relatedContents:c,loading:d}=(0,al.y)({contentTypes:t,therapeuticAreas:n,contentfulTypes:i,excludedContentfulIds:a,speakers:o,topics:r,limit:4}),u=(0,l.useMemo)(()=>c&&s?ao()(c,s):[],[c,s]);return{columns:s,loading:d,slides:u}})({contentTypes:n,therapeuticAreas:c,contentfulTypes:t,excludedContentfulIds:a,speakers:r,topics:u});return ae()(g)||!m?null:(0,i.jsx)(an.A,{title:d,theme:p,children:g.map(e=>(0,i.jsx)(ai.T,{columns:m.toString(),children:e.map(e=>(0,i.jsx)(av,{item:e,theme:p},(0,at.A)()))},(0,at.A)()))})};var ag=n(79352);let a_=e=>(null==e?void 0:e.length)?e.map(e=>e.fields.key):null,ah=()=>{var e,t,n,a;let{t:o}=(0,P.A)(),r=(0,ap.H)(),{episode:l,episodeContentId:s=""}=(0,iz.U)(!0),c=null==l?void 0:l.metaDataV2,d={contentId:s,contentType:i1.pI.VideoData};return(0,i.jsxs)(i8,{children:[(0,i.jsx)(ag.D,{contentId:s,contentType:i1.oQ.VideoData,videoTitle:null==l?void 0:l.title,children:(0,i.jsx)(i9,{customEpisode:l||void 0,customConsumption:d,theme:r||h.Sx.light})}),c&&(0,i.jsx)(am,{title:o("neuroflix_episodePlayer_relatedContent_title"),contentTypes:a_(null==(e=c.fields.contentType)?void 0:e.fields.resources)||[],therapeuticAreas:a_(null==(t=c.fields.therapeuticArea)?void 0:t.fields.resources)||[],contentfulTypes:[as.mR.VideoData],excludedContentfulIds:[s],speakers:a_(null==(n=c.fields.speaker)?void 0:n.fields.resources),topics:a_(null==(a=c.fields.topic)?void 0:a.fields.resources),theme:r})]})};iG(ah);var ab=n(70698),af=n(18044),ay=n(84409);let ax=(0,c.AH)(["color:",";"],(0,u.oU)(h.U4.textPrimaryReverse)),aw=(0,c.AH)(["",";"],e=>{let{$disabled:t}=e;return t&&"color: ".concat((0,u.oU)(h.U4.textPrimary))}),aC=(0,c.AH)(["border-color:",";background-color:",";opacity:",";"],(0,u.oU)(h.kd.white30),(0,u.oU)(h.kd.transparent),_.e4.small),aA=(0,c.AH)(["border-color:",";background-color:",";opacity:",";"],(0,u.oU)(h.kd.grey7),(0,u.oU)(h.kd.transparent),_.e4.small),aR=(0,c.AH)(["border-style:dashed;border-color:",";"],(0,u.oU)(h.U4.primary)),ak=(0,c.AH)(["border-color:",";",";",";&:hover{background-color:",";}"],(0,u.oU)(h.kd.grey8),e=>{let{$disabled:t}=e;return t&&aC},e=>{let{isFocusVisible:t,$disabled:n}=e;return t&&!n&&aR},e=>{let{$disabled:t}=e;return t?(0,u.oU)(h.kd.transparent):(0,u.oU)(h.kd.grey7)}),aj=(0,c.AH)(["border-color:",";background-color:",";",";",";&:hover{background-color:",";border-color:",";}"],(0,u.oU)(h.U4.primary),(0,u.oU)(h.U4.primary),e=>{let{$disabled:t}=e;return t&&aA},e=>{let{isFocusVisible:t,$disabled:n}=e;return t&&!n&&aR},e=>{let{$disabled:t}=e;return t?(0,u.oU)(h.kd.transparent):(0,u.oU)(h.kd.grey7)},(0,u.oU)(h.kd.grey8)),aW=(0,c.AH)(["",";"],e=>{let{$checked:t}=e;return t?aj:ak}),aI=(0,c.AH)(["color:",";}"],e=>{let{$disabled:t,$checked:n}=e;return t?(0,u.oU)(h.v_.content):n?(0,u.oU)(h.U4.textPrimaryReverse):(0,u.oU)(h.U4.textPrimary)}),aS=(0,c.AH)(["",";"],e=>{let{$disabled:t}=e;return t&&"color: ".concat((0,u.oU)(h.U4.textPrimaryReverse))}),aT=(0,c.AH)(["border-color:",";background-color:",";"],(0,u.oU)(h.v_.borderLight),(0,u.oU)(h.kd.transparent)),aP=(0,c.AH)(["border-style:dashed;border-color:",";color:",";"],(0,u.oU)(h.U4.primary),(0,u.oU)(h.U4.textPrimary)),aM=(0,c.AH)(["border-color:",";",";",";&:hover{background-color:",";color:",";}"],(0,u.oU)(h.U4.primaryLighter),e=>{let{$disabled:t}=e;return t&&aT},e=>{let{isFocusVisible:t,$disabled:n}=e;return t&&!n&&aP},e=>{let{$disabled:t}=e;return t?(0,u.oU)(h.kd.transparent):(0,u.oU)(h.U4.primaryLightest)},(0,u.oU)(h.U4.textPrimary)),aU=(0,c.AH)(["border-color:",";background-color:",";",";&:focus{",";}&:hover{background-color:",";border-color:",";color:",";}"],(0,u.oU)(h.U4.primary),(0,u.oU)(h.U4.primary),e=>{let{$disabled:t}=e;return t&&aT},e=>{let{isFocusVisible:t,$disabled:n}=e;return t&&!n&&aP},e=>{let{$disabled:t}=e;return t?(0,u.oU)(h.kd.transparent):(0,u.oU)(h.U4.primaryLightest)},(0,u.oU)(h.U4.primaryLighter),(0,u.oU)(h.U4.textPrimary)),aD=(0,c.AH)(["",";"],e=>{let{$checked:t}=e;return t?aU:aM}),aV=(0,c.AH)(["border-color:",";"],e=>{let{$reverse:t}=e;return t?(0,u.oU)(h.kd.grey4):(0,u.oU)(h.v_.borderDark)}),aE=(0,c.AH)(["border-color:",";"],e=>{let{$reverse:t}=e;return t?(0,u.oU)(h.kd.grey4):(0,u.oU)(h.v_.borderDark)}),aB=(0,c.AH)(["background-color:",";"],(0,u.oU)(h.kd.grey4)),aF=(0,c.AH)(["background-color:",";"],e=>{let{$disabled:t}=e;return t?(0,u.oU)(h.v_.borderDark):(0,u.oU)(h.U4.primary)}),az=(0,c.Ay)(eW.A).withConfig({componentId:"sc-3e521926-0"})(["width:auto;min-width:",";height:",";padding:"," ",";border-radius:50%;border:"," solid;transition:all .2s ease-out;display:inline-flex;position:relative;margin-bottom:0;cursor:",";",";"," ","{",";}"],(0,m.a)(48),(0,m.a)(48),_.py.xsmall,_.py.xxsmall,_.$X.large,e=>{let{$disabled:t}=e;return t?"not-allowed":"pointer"},e=>{let{$reverse:t}=e;return t?ax:aI},e=>{let{$reverse:t}=e;return t?aW:aD},eH.sQ,e=>{let{$checked:t,$disabled:n}=e;return n&&(t?aV:aE)}),a$=(0,c.Ay)(eH.iA).withConfig({componentId:"sc-3e521926-1"}
1)(["height:100%;"]);(0,c.Ay)(p.A).withConfig({componentId:"sc-3e521926-2"})(["",";"],e=>{let{$reverse:t}=e;return t?ax:aI});let aL=c.Ay.span.withConfig({componentId:"sc-3e521926-3"})([""," margin-bottom:0;font-weight:",";"],(0,b.ny)(h.Z4.Xsmall),h.BO.Medium);(0,c.Ay)(eH.hh).withConfig({componentId:"sc-3e521926-4"})(["",";"],e=>{let{$reverse:t}=e;return t?aw:aS}),(0,c.Ay)(p.A).withConfig({componentId:"sc-3e521926-5"})(["border-radius:",";",";"],_.Vq.round,e=>{let{$reverse:t}=e;return t?aB:aF});let aO=e=>{let{checked:t,disabled:n=!1,id:a,label:o,name:r,onChange:l,reverse:s=!1,...c}=e,{isFocusVisible:d,focusProps:u}=(0,ej.og)();return(0,i.jsx)(az,{isFocusVisible:d,htmlFor:a,$disabled:n,$checked:t,$reverse:s,children:(0,i.jsxs)(p.A,{align:h.zI.center,direction:h.HO.row,justify:h.sx.center,width:"100%",children:[(0,i.jsx)(aL,{$disabled:n,$reverse:s,$checked:t,children:o}),(0,i.jsx)(p.A,{direction:h.HO.row,children:(0,i.jsx)(a$,{...u,onChange:e=>l?l(e.target.checked):null,id:a,checked:t,disabled:n,name:r,type:"checkbox",...c})})]})})};function aN(){let e=(0,s._)(["\n display: flex;\n align-items: center;\n "]);return aN=function(){return e},e}function aH(){let e=(0,s._)(["\n margin: 0 "," 0 0;\n "]);return aH=function(){return e},e}let aq=(0,c.Ay)(p.A).withConfig({componentId:"sc-31e766d4-0"})(["row-gap:",";column-gap:",";"],_.py.xsmall,_.py.small),aX=(0,c.Ay)(p.A).withConfig({componentId:"sc-31e766d4-1"})(["",""],g.$_.sm(aN())),aZ=(0,c.Ay)(p.A).withConfig({componentId:"sc-31e766d4-2"})(["margin-bottom:",";",""],_.py.large,g.$_.sm(aH(),_.py.large)),aK=e=>{let{seasons:t,setSeason:n,seasonIndex:a,theme:o=h.Sx.light}=e,{t:r}=(0,P.A)();return(0,i.jsxs)(aX,{margin:{bottom:h.or.Xlarge},theme:o,children:[(0,i.jsx)(aZ,{children:(0,i.jsx)(V.A,{level:4,size:_.u.Small,color:o===h.Sx.light?h.U4.textPrimary:h.U4.primaryLightest,children:r("video_season_simple_label")})}),(0,i.jsx)(aq,{wrap:!0,children:t.map((e,t)=>{let r="".concat(e.title,"_").concat(t);return(0,i.jsx)(p.A,{flex:"0",children:(0,i.jsx)(aO,{label:"".concat(t+1),onChange:()=>n(t),id:r,name:"season-selector-button-list",checked:t===a,reverse:o===h.Sx.dark})},r)})})]})};var aJ=n(48294),aQ=n(30713);let aY=(e,t)=>{if(void 0!==e&&void 0!==t){let n=(e+1).toString().padStart(2,"0"),i=(t+1).toString().padStart(2,"0");return"S".concat(n," E").concat(i)}return""},aG=i1.lF.Neuroflix,a0=i1.oQ.VideoSeriesData,a1=e=>{let{episodeConsumptions:t,series:n,seriesContentId:o,seasonIndex:r,setSeason:s,theme:c,showReleaseDate:d}=e,{bookmarkCtaNeuroflixMulti300123:u}=(0,a.D0)(),{neuroflixSlug:v}=(0,l.useContext)(iq.M),{t:m}=(0,P.A)(),g=(0,nr.useRouter)(),{bookmarked:_,queried:b,loading:f,onBookmarkToggle:y}=(0,i0.AH)(a0,aG,o,"","VideoSeriesContent"),{seasons:x=[]}=n,{episodes:w=[]}=x[r],C={path:void 0,label:m("teaserIntro_backLink")},A=c||n.theme,R=(0,l.useMemo)(()=>{let e=w.map((e,n)=>{let a="".concat(e.title,"-").concat(n),o=t.find(t=>t.contentId===e.contentId),l=(0,aQ.YT)(e.slug,v);return(0,i.jsx)(aJ.A,{brightcoveVideoId:e.brightcoveId,currentProgression:null==o?void 0:o.watchedTimestamp,description:e.description,docType:m("neuroflix_episodePage_episode_label").toUpperCase(),duration:e.duration,durationLabel:m("general_minutes_short"),href:l,image:e.images.card,onClickPlay:()=>g.push(l),seriesInformation:aY(r,n),tags:e.tags,theme:c,title:e.title,totalProgression:null==o?void 0:o.contentDuration},a)});return(0,i.jsx)(ai.T,{columns:"3",children:e},r)},[w,t,g,r,m,c,v]),{seriesSlug:k,...j}=n,W=(0,iN.g)({level2Title:n.title,neuroflixSlug:v});return(0,i.jsxs)(iH.I,{children:[(0,i.jsxs)(p.A,{negativeMargin:{horizontal:h.dP.Small},"data-testid":"page-content",children:[u&&(0,i.jsx)(iL.A,{backLink:C,bookmarked:_,bookmarkLoading:f,bookmarkQueried:b,breadcrumbs:W,onBookmarkToggle:y,theme:A}),(0,i.jsx)(i$.A,{data:j,backLink:u?void 0:C,showReleaseDate:d})]}),(0,i.jsx)(aK,{seasons:n.seasons,setSeason:s,seasonIndex:r,theme:A}),R]})},a2={"Video Series Detail":iG(e=>{let{theme:t=h.Sx.light}=e,{episodeConsumptions:n,series:a,seriesContentId:o,seasonIndex:r,setSeason:l,playing:s,showReleaseDate:c}=(()=>{var e,t;let n=(0,nr.useRouter)(),i=(0,nr.useSearchParams)(),a=(0,nr.usePathname)(),{path:o=[]}
1=(0,nr.useParams)(),[r]=(0,ab.eB)("videoSeriesData",{"fields.slug":o[o.length-1]}),l=i.get("playing"),s=(e,t)=>{let o=(e+1).toString();if(!t){let e=new URLSearchParams(i);e.set("season",o),n.push("".concat(a,"?").concat(e.toString()),{scroll:!1})}return e},c=(null==r?void 0:r.fields)?null==(e=r.fields)?void 0:e.seasons.map(e=>{var t;return null==(t=e.fields)?void 0:t.episodes.map(e=>null==e?void 0:e.sys.id)}).flat():[],d=null==r||null==(t=r.fields)?void 0:t.showReleaseDate,{consumptions:u}=(0,af.I5)(c);return{episodeConsumptions:u,series:r&&(0,ay.eu)(r),seriesContentId:null==r?void 0:r.sys.id,seasonIndex:(()=>{let e=Number(i.get("season"));return e?e-1:s(0,!0)})(),setSeason:s,playing:Number(l)||0,showReleaseDate:d}})();return a?(0,i.jsx)(a1,{episodeConsumptions:n,series:a,seriesContentId:o,seasonIndex:r,setSeason:l,theme:t,playing:s,showReleaseDate:c}):(0,i.jsx)(tf.Ay,{})}),"Video Episode Detail":i5,"Video Episode Player":ah,"Events List":()=>{let{loading:e,transformedEventProps:t}=(()=>{let{params:e,path:t}=(0,nm.sq)(),n=e.get("ids"),i=null==n?void 0:n.split(","),{events:a,loading:o}=(e=>{let{lang:t}=(0,P.A)(),{marketTag:n}=(0,K.Ay)(),i={...e,market:n},{data:a,error:o,loading:r}=(0,nd.IT)(iB,{variables:{filter:i},fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-first",context:{clientName:nl.g.events}});return o&&nY.V.logError(o,"useEvents",{filter:i}),{events:(null==a?void 0:a.getEvents)?(0,np.il)(a.getEvents,t):[],loading:r,error:o}})(n?{ids:i}:iV.LN),{t:r}=(0,P.A)(),s=(0,l.useCallback)(e=>{let n=e.slug?{label:r("eventCard_event_details_btn"),path:"".concat((0,nm.EU)(t)).concat(e.slug,"/")}:void 0,i=e.description?iD()(e.description,{length:iV.LU}):void 0;return{key:e.id,...e,description:i,primaryAction:n}},[t,r]);return{transformedEventProps:a.map(s),loading:o}})();return e?(0,i.jsx)(tf.Ay,{}):(0,i.jsx)(t2.A,{columns:"3",sectionId:"events-list",children:t.map(e=>{let{key:t,...n}=e;return(0,i.jsx)(iF.A,{...n},t)})})},"Event Details":()=>{var e;let{eventIntroV1BBoTemp:t}=(0,a.D0)(),{event:n,eventError:o,loading:r,locationContent:s,tagLabel:c,tagColor:d}=(()=>{let{t:e,lang:t}=(0,P.A)(),n=(0,nr.usePathname)(),i=(0,nm.b5)(n),a=(0,np.cT)(i||""),{loading:o,event:r,error:s}=(0,nD.G)(a),c=(0,nI.EN)(r),{changeLanguage:d}=(0,nE.p)();(0,l.useEffect)(()=>{(null==r?void 0:r.market)===nU.DX.com&&(null==r?void 0:r.locale)==="fr-DZ"&&(null==r?void 0:r.locale)!==t&&d(r.locale,{persist:!1})},[d,null==r?void 0:r.locale,null==r?void 0:r.market,t]),nP(r,o),(0,nV.A)(r?{contentId:"BO-event-page",contentType:"Congress/Events",title:r.title,url:n,metaData:r.metadata}:void 0);let u=(0,l.useMemo)(()=>{var t;if(!r)return;let n=r.location?e("event_location_".concat(null==(t=r.location)?void 0:t.toLowerCase().replace(" ","_"),"_label")):null;if(c)return{markdown:n||""};let i=r.url||n;return i&&(0,nM.gU)(i)?{url:i,label:e("eventIntro_joinEventLink_label"),markdown:"[".concat(e("eventIntro_joinEventLink_label"),"](").concat(i,")")}:{markdown:n||""}},[r,c,e]),{label:v,color:p}=(0,np.AT)(e,null==r?void 0:r.status);return{event:r,eventError:s,loading:o,locationContent:u,tagColor:p,tagLabel:v}})(),u=(()=>{let e=(0,nr.usePathname)(),t=(0,nr.useSearchParams)().get("token"),n=(0,nm.b5)(e),i=(0,np.cT)(n||""),[a,o]=(0,l.useState)(!1),[r,s]=(0,l.useState)(!1),{participant:c,loading:d,error:u}=((e,t)=>{let{data:n,loading:i,error:a}=(0,nd.IT)(nv,{variables:{eventId:e,token:t},skip:!t||!e,fetchPolicy:"network-only",context:{clientName:nl.g.events}});return{participant:(null==n?void 0:n.getParticipantByQrToken)||null,loading:i,error:a}})(i,t),{execute:v,loading:p}=(()=>{let[e,{loading:t,error:n,data:i}]=(0,tv.n)(nc);return{execute:async(t,n)=>{var i;return null==(i=(await e({variables:{eventId:t,token:n},context:{clientName:nl.g.events}})).data)?void 0:i.qrCheckin},loading:t,error:n,data:null==i?void 0:i.qrCheckin}})();return(0,l.useEffect)(()=>{t&&o(!0)},[t]),{isOpen:a,participant:c,loading:d,error:!!u,confirmLoading:p,confirmSuccess:r,onConfirm:(0,l.useCallback)(async()=>{if(t&&i)try{await v(i,t),s(!0)}catch(e){}},[i,t,v]),onClose:(0,l.useCallback)(()=>{o(!1);let e=new URL(window.location.href);e.searchParams.delete("token"),window.history.replaceState({},"",e.toString())},[])}})(),v=(0,n$._)(),m={title:null==n?void 0:n.title,brightcoveId:(null==n?void 0:n.brightcoveId)||""},[g,_]=(0,l.useState)(!1),b=e=>{_(e)};(0,l.useEffect)(()=>{let e=new URLSearchParams(window.location.search);n&&(null==n?void 0:n.dates)&&n.dates.length>0&&e.has("brightcove")&&"true"===e.get("brightcove")&&b(!0)});let{loading:f,currentUser:y}=(0,Y.yj)();return r||f?(0,i.jsx)(tf.Ay,{}):o||n||y?n?(0,i.jsxs)(p.A,{children:[(0,i.jsx)(no,{...u}),t?(0,i.jsx)(nB.A,{event:n,handleLivestream:b}):(0,i.jsx)(nn.A,{event:n,location:s,color:d,label:c}),g?(0,i.jsx)(nz.D,{showBackLink:!1,customEpisode:m,overlay:!1}):null,(0,i.jsx)(ny.A,{event:n}),(0,i.jsx)(ne,{wrap:!0,children:(0,i.jsxs)(nt,{children:[(0,i.jsx)(t6,{description:n.isRestrictedAccess&&!n.participantIsRestricted&&n.restrictedDescription?n.restrictedDescription:n.description}),(null==(e=n.cventConfig)?void 0:e.sourceUrl)&&(0,i.jsx)(et,{type:"Cvent",title:n.cventConfig.title||"",src:n.cventConfig.sourceUrl}),(0,i.jsx)(nf,{speakers:n.speakers}),(0,i.jsx)(nW,{agendaEntries:n.agenda,agendaFile:n.agendaFileInfo})]})}),(null==n?void 0:n.footerDisclaimerText)?(0,i.jsx)(p.A,{margin:{top:h.or.Xxxlarge},children:(0,i.jsx)(eA.A,{size:h.Z4.Xsmall,weight:h.BO.Light,content:null==n?void 0:n.footerDisclaimerText})}):null,(0,i.jsx)(nx.A,{prcCode:n.prcCodeEventDetails})]}):(0,i.jsx)(nF.default,{}):(v(),(0,i.jsx)(tf.Ay,{}))},"Event Registration":()=>{let{breadCrumbs:e,backLink:t,loading:n,eventInfoProps:a,checkConsent:o,checkGuestTextMessageConsent:r,event:l,joiningChannel:s}=(()=>{let e=(0,nr.usePathname)(),t=(0,nr.useSearchParams)(),n=t.get("isRsvp"),i=t.get("joiningChannel"),a=t.get("from"),o=(0,nm.vh)(e),r=(0,nm.M5)(o),l=r.length>0?r.slice(-1)[0]:"",s=n?l:(0,np.cT)(l),{event:c,loading:d}=((e,t)=>{let{lang:n}=(0,P.A)(),{marketTag:i}=(0,K.Ay)(),a=t?n0:nD.I,o={market:i,status:n1.KV?[nU.fb.published]:[nU.fb.published,nU.fb.ready]},{data:r,loading:l,error:s}=(0,nd.IT)(a,{variables:t?{veevaEventId:e}:{filter:o,eventId:e},fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-first",context:{clientName:nl.g.events}});s&&nY.V.logError(s,"useGetGuestRegistrationEvent",{eventId:e,country:i});let c=t?null==r?void 0:r.getRsvpEvent:null==r?void 0:r.getEventById;return{event:c?(0,np.fH)(c,n):null,loading:l,error:s}})(s,!!n),{loading:u}=n4(),{t:v}=(0,P.A)();nP(c,d||u);let p=(0,np.__)({depth:3,labels:[v("eventsList_breadcrumbs_title"),
1(null==c?void 0:c.title)||"",v("eventRegistration_breadcrumbs_title")],pathname:e}),m={label:v("eventRegistration_backLink_label"),path:a||(0,nm.vh)(e)},g={backLink:m,...c,title:v("eventRegistration_eventInfo_title"),eventName:(null==c?void 0:c.title)||""},_=null==c?void 0:c.checkConsent,h=null==c?void 0:c.checkGuestTextMessageConsent;return{event:c,checkConsent:_,checkGuestTextMessageConsent:h,loading:d,breadCrumbs:a?[]:p,backLink:m,eventInfoProps:g,eventId:n?null==c?void 0:c.id:s,joiningChannel:i}})();return n?(0,i.jsx)(tf.Ay,{}):(0,i.jsxs)(n8,{children:[(0,i.jsx)(ie,{breadCrumbs:e,backLink:t}),(0,i.jsxs)(n6,{children:[(0,i.jsx)(nZ,{...a}),(0,i.jsx)(iM,{checkConsent:o,checkGuestTextMessageConsent:r,backLinkUrl:t.path,event:l,joiningChannel:s})]})]})},"RSVP Event":()=>{let{event:e,eventError:t,loading:n}=(()=>{let e=(0,nr.usePathname)(),{loading:t,event:n,error:i}=(e=>{let{lang:t}=(0,P.A)(),{marketTag:n}=(0,K.Ay)(),{data:i,loading:a,error:o}=(0,nd.IT)(n0,{variables:{veevaEventId:e},fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-first",context:{clientName:nl.g.events}});return o&&nY.V.logError(o,"useGetRsvpEventQuery",{veevaEventId:e,country:n}),{event:(null==i?void 0:i.getRsvpEvent)?(0,np.fH)(i.getRsvpEvent,t):null,loading:a,error:o}})((0,nm.b5)(e)||"");return nP(n,t),{event:n,eventError:i,loading:t}})(),a=(0,n$._)();return n?(0,i.jsx)(tf.Ay,{}):t||e?e?(0,i.jsxs)(p.A,{children:[(0,i.jsx)(nB.A,{event:e}),(0,i.jsx)(nx.A,{prcCode:e.prcCodeEventDetails})]}):(0,i.jsx)(nF.default,{}):(a(),(0,i.jsx)(tf.Ay,{}))}},a4=e=>{let{type:t,sectionTheme:n}=e,a=a2[t];return a?(0,i.jsx)(a,{theme:n}):null};var a5=n(60911);let a3=e=>{let{redirectCallback:t}=e,n=(0,l.useRef)(0),[i,a]=(0,l.useState)(!1),o=(0,l.useRef)(void 0),r=(0,l.useCallback)(()=>{clearInterval(o.current),o.current=void 0},[]),s=(0,l.useCallback)(()=>{if(!i){if(n.current+=1,o.current&&n.current>10){r(),t();return}(n1.IX||window.ga&&window.pa)&&a(!0)}},[t,i,a,r]),c=(0,l.useCallback)(()=>{o.current||(o.current=setInterval(s,150))},[s]);return(0,l.useEffect)(()=>{i&&(r(),t())},[i,t,r]),(0,a5.A)(()=>(c(),r)),null};var a6=n(40020),a8=n(75007),a9=n(77551);let a7=e=>{let{type:t}=e,{lang:n}=(0,P.A)(),{replace:a}=(0,nr.useRouter)(),{loading:o,currentUser:r}=(0,Y.yj)(),{login:l,janrainSignup:s}=(0,a6.Ay)(),c=(0,n$._)(),{marketTag:d}=(0,K.Ay)(),{getAuthLink:u}=(0,a8.A)(d),v=e=>{let t=u(e,n);t?window.location.href=t:c()};if(o)return null;switch(t){case"LoginRedirect":return(0,i.jsx)(a3,{redirectCallback:r?()=>a("/"):l});case"RegisterRedirect":return(0,i.jsx)(a3,{redirectCallback:s});case"MarketingConsentRedirect":return(0,i.jsx)(a3,{redirectCallback:()=>v(a9.J.MarketingConsent)});case"EditProfileRedirect":return(0,i.jsx)(a3,{redirectCallback:()=>v(a9.J.EditProfile)});case"ManagePasswordRedirect":return(0,i.jsx)(a3,{redirectCallback:()=>v(a9.J.ManagePassword)});default:throw Error('RedirectWidgetMapper: Missing widget type "'.concat(t,'"'))}},oe=e=>(0,i.jsx)(a7,{...e}),ot=()=>{let{handleLoad:e,height:t,container:n}=Q(),{origin:a}=window.location,o="".concat(a,"/scripts/riskCalculator/").concat("risk-calculator-component.html");return(0,i.jsx)(p.A,{radius:h.Z6.Medium,shadow:h.yb.Medium,pad:h.or.Medium,children:(0,i.jsx)("iframe",{title:"risk-calculator",onLoad:e,src:o,ref:n,height:t,width:"100%",scrolling:"no"})})},on=(0,c.Ay)(p.A).withConfig({componentId:"sc-a704f693-0"})(["margin-top:",";margin-left:auto;margin-right:auto;margin-bottom:",";width:",";"],e=>{let{$isMobile:t}=e;return t?_.py.medium:_.py.large},e=>{let{$isScrollbarVisible:t}=e;return t&&(0,m.a)(39)},(0,m.a)(868)),oi=c.Ay.table.withConfig({componentId:"sc-a704f693-1"})(["table-layout:fixed;border-collapse:separate;border-spacing:",";"],_.$X.large),oa=c.Ay.th.withConfig({componentId:"sc-a704f693-2"})([""," text-align:",";vertical-align:middle;color:",";"],(0,b.ny)(h.Z4.Xsmall),h.nO.Left,(0,u.oU)(h.kd.grey9)),oo=(0,c.Ay)(oa).withConfig({componentId:"sc-a704f693-3"})(["left:0;z-index:1;padding-right:",";background-color:",";font-weight:",";text-align:",";white-space:pre-line;@media (max-width:925px){position:sticky;};"],e=>{let{$isMobile:t}=e;return t?_.py.small:_.py.large},(0,u.oU)(h._I.main),h.BO.Regular,h.nO.Left),or=(0,c.Ay)(oa).withConfig({componentId:"sc-a704f693-4"})(["padding-right:",";font-weight:",";text-align:",";"],e=>{let{$isMobile:t}=e;return t?(0,m.a)(4):_.py.large},h.BO.SemiBold,h.nO.Left),ol=(0,c.Ay)(or).withConfig({componentId:"sc-a704f693-5"})(["left:0;z-index:1;padding-bottom:",";background-color:",";@media (max-width:925px){position:sticky;};"],_.py.xxsmall,(0,u.oU)(h._I.main)),os=(0,c.Ay)(or).withConfig({componentId:"sc-a704f693-6"})(["left:0;z-index:1;width:",";padding-top:",";background-color:",";@media (max-width:925px){position:sticky;};"],e=>{let{$isMobile:t}=e;return t?(0,m.a)(50):"auto"},e=>{let{$isMobile:t}=e;return t?_.py.xxsmall:_.py.small},(0,u.oU)(h._I.main)),oc=(0,c.Ay)(oa).withConfig({componentId:"sc-a704f693-7"})(["padding-top:",";text-align:",";"],e=>{let{$isMobile:t}=e;return t?_.py.xxsmall:_.py.small},h.nO.Center),od=(0,c.Ay)(p.A).withConfig({componentId:"sc-a704f693-8"})(["width:",";height:",";border:"," solid ",";border-radius:50%;position:absolute;top:","%;left:","%;transform:translate(-50%,-50%);background-color:",";"],(0,m.a)(22),(0,m.a)(22),_.$X.large,(0,u.oU)(h.kd.grey9),e=>{let{$cordinates:t}=e;return t.top},e=>{let{$cordinates:t}=e;return t.left},(0,u.oU)(h._I.main)),ou=c.Ay.td.withConfig({componentId:"sc-7372e986-0"})(["width:",";height:",";position:relative;background-clip:padding-box;"],(0,m.a)(130),(0,m.a)(127)),ov=(0,c.Ay)(ou).withConfig({componentId:"sc-7372e986-1"}
1)(["height:",";background:linear-gradient(to bottom,"," 90%,"," 100%);"],(0,m.a)(214),e=>{let{$backgroundColors:t}=e;return t[0]},e=>{let{$backgroundColors:t}=e;return t[1]}),op=(0,c.Ay)(ou).withConfig({componentId:"sc-7372e986-2"})(["height:",";background-color:",";"],(0,m.a)(83),e=>{let{$backgroundColors:t}=e;return t[1]}),om=(0,c.Ay)(ou).withConfig({componentId:"sc-7372e986-3"})(["height:",";background:linear-gradient(to bottom,"," 0%,"," 20%);"],(0,m.a)(127),e=>{let{$backgroundColors:t}=e;return t[1]},e=>{let{$backgroundColors:t}=e;return t[2]}),og=(e,t)=>{var n,i,a,o,r,l;let s,c,d,u=null==(n=e.current)?void 0:n.id;if("rkTableResult"===u?(s=e.current,d=40):"rkDiagramResult"===u?(s=null==(a=e.current)?void 0:a.parentElement,d=14.5):"rkDotPlotResult"===u&&(s=null==(r=e.current)||null==(o=r.parentElement)?void 0:o.parentElement,d=13.5),s&&d&&(c=s.offsetLeft-window.innerWidth/2+s.offsetWidth/2+d),null==(i=t.current)?void 0:i.children[0]){let e=null==(l=t.current)?void 0:l.children[0].querySelector(".simplebar-content-wrapper");e&&s&&e.scrollTo({left:c,behavior:"smooth"})}},o_=[[3,4,40,80,80,60],[2,9,30,70,80,100],[1,3,8,20,20,30],[1,1,2,4,5,6],[1,1,1,1,1,1]],oh=n(66161),ob=e=>{let{colors:t,selectedValues:n,componentsContainerRef:a,isMobileView:o,isScrollbarVisible:r}=e,{t:s}=(0,P.A)(),c=(0,l.useRef)(null),d=s("riskCalculatorV2_section_diagram_row_description"),u=[s("riskCalculatorV2_section_diagram_row_1"),s("riskCalculatorV2_section_diagram_row_2"),s("riskCalculatorV2_section_diagram_row_3")],v=s("riskCalculatorV2_section_diagram_column_description"),p=[s("riskCalculatorV2_second_select_content_2"),s("riskCalculatorV2_second_select_content_3"),s("riskCalculatorV2_second_select_content_4"),s("riskCalculatorV2_second_select_content_5"),s("riskCalculatorV2_second_select_content_6"),s("riskCalculatorV2_second_select_content_7")];(0,l.useEffect)(()=>{og(c,a)},[n,a]);let m=oh.find(e=>e.values[0]===n.row&&e.values[1]===n.column);return(0,i.jsx)(on,{$isMobile:o,$isScrollbarVisible:r,children:(0,i.jsxs)(oi,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)(ol,{$isMobile:o,children:d}),Array(6).fill(0).map(e=>(0,i.jsx)(oa,{$isMobile:o},(0,at.A)()))]})}),(0,i.jsx)("tbody",{children:u.map((e,a)=>(0,i.jsxs)("tr",{children:[(0,i.jsx)(oo,{$isMobile:o,children:e}),Array(6).fill(0).map((e,o)=>{let r=(0,at.A)(),{row:s,column:d,top:u,left:v}=(null==m?void 0:m.sectionDiagram)||{},p=-1!==n.row&&-1!==n.column&&s===a&&d===o,g=[(0,i.jsx)(ov,{$backgroundColors:t}),(0,i.jsx)(op,{$backgroundColors:t}),(0,i.jsx)(om,{$backgroundColors:t})];return l.cloneElement(g[a],{key:r},p&&(0,i.jsx)(od,{id:"rkDiagramResult",ref:c,$cordinates:{top:u,left:v}}))})]},(0,at.A)()))}),(0,i.jsx)("tfoot",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)(os,{$isMobile:o,children:v}),p.map(e=>(0,i.jsx)(oc,{$isMobile:o,children:e},(0,at.A)()))]})})]})})},of=c.Ay.table.withConfig({componentId:"sc-94169654-0"})(["border-collapse:collapse;"]),oy=c.Ay.td.withConfig({componentId:"sc-94169654-1"})(["width:",";height:",";border:"," solid ",";position:relative;"],(0,m.a)(131),(0,m.a)(92),_.$X.medium,(0,u.oU)(h.kd.grey4)),ox=(0,c.Ay)(p.A).withConfig({componentId:"sc-94169654-2"})(["height:",";"],(0,m.a)(46)),ow=(0,c.Ay)(ox).withConfig({componentId:"sc-94169654-3"})(["border-top:"," solid ",";"],_.$X.medium,(0,u.oU)(h.kd.grey4)),oC=(0,c.Ay)(od).withConfig({componentId:"sc-94169654-4"})(["border:0;background-color:",";"],(0,u.oU)(h.kd.grey9)),oA=c.Ay.span.withConfig({componentId:"sc-94169654-5"})([""," position:relative;top:-130%;left:50%;display:inline-block;transform:translate(-50%,-50%);min-width:",";min-height:",";border-radius:",";padding:"," ",";background-color:",";text-align:",";white-space:nowrap;color:",';&::after{content:"";position:absolute;top:100%;left:50%;margin-left:-',";border-width:",";border-style:solid;border-color:"," "," "," ",";}"],(0,b.ny)(h.Z4.Xxsmall),(0,m.a)(121),(0,m.a)(34),_.Vq.xsmall,_.py.xxsmall,_.py.xsmall,(0,u.oU)(h.kd.grey9),h.nO.Center,(0,u.oU)(h.kd.white),(0,m.a)(6),(0,m.a)(6),(0,u.oU)(h.kd.grey9),(0,u.oU)(h.kd.transparent),(0,u.oU)(h.kd.transparent),(0,u.oU)(h.kd.transparent));var oR=n(87414);let ok=n(66161),oj=e=>{var t;let{selectedValues:n,componentsContainerRef:a,isMobileView:o,isScrollbarVisible:r}=e,{t:s,lang:c}=(0,P.A)(),d=(0,l.useRef)(null),u=(null==(t=oR.pz[c])?void 0:t.uiLocale)||"en-US",v=s("riskCalculatorV2_dot_diagram_rows_description"),m=[s("riskCalculatorV2_dot_diagram_row_1"),s("riskCalculatorV2_dot_diagram_row_2"),s("riskCalculatorV2_dot_diagram_row_3"),s("riskCalculatorV2_dot_diagram_row_4"),s("riskCalculatorV2_dot_diagram_row_5")],g=s("riskCalculatorV2_dot_diagram_columns_description"),_=[s("riskCalculatorV2_second_select_content_2"),s("riskCalculatorV2_second_select_content_3"),s("riskCalculatorV2_second_select_content_4"),s("riskCalculatorV2_second_select_content_5"),s("riskCalculatorV2_second_select_content_6"),s("riskCalculatorV2_second_select_content_7")],h=ok.find(e=>e.values[0]===n.row&&e.values[1]===n.column);return(0,l.useEffect)(()=>{og(d,a)},[n,a]),(0,i.jsx)(on,{$isMobile:o,$isScrollbarVisible:r,children:(0,i.jsxs)(of,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)(ol,{$isMobile:o,children:v}),Array(6).fill(0).map(e=>(0,i.jsx)("th",{"aria-label":"column"},(0,at.A)()))]})}),(0,i.jsx)("tbody",{children:m.map((e,t)=>(0,i.jsxs)("tr",{children:[(0,i.jsx)(oo,{$isMobile:o,children:e}),Array(6).fill(0).map((e,a)=>
1{let{row:o,column:r,top:l,left:c,percentValue:v,wholeValue:m}=(null==h?void 0:h.dotPlot)||{},g=-1!==n.row&&-1!==n.column&&o===t&&r===a;return(0,i.jsx)(oy,{children:(0,i.jsxs)(p.A,{children:[(0,i.jsx)(ox,{}),(0,i.jsx)(ow,{}),g&&(0,i.jsx)(oC,{ref:d,id:"rkDotPlotResult",$cordinates:{top:l,left:c},children:(0,i.jsx)(oA,{children:s("riskCalculatorV2_in",{count:"".concat(v.toLocaleString(u)," % ").concat(m.toLocaleString(u))})})},(0,at.A)())]})},(0,at.A)())})]},(0,at.A)()))}),(0,i.jsx)("tfoot",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)(os,{$isMobile:o,children:g}),_.map(e=>(0,i.jsx)(oc,{$isMobile:o,children:e},(0,at.A)()))]})})]})})};function oW(){let e=(0,s._)(["\n font-size: ",";\n "]);return oW=function(){return e},e}function oI(){let e=(0,s._)(["\n font-size: ",";\n "]);return oI=function(){return e},e}let oS=(0,c.Ay)(p.A).withConfig({componentId:"sc-e6297b38-0"})(["width:",";margin-left:auto;margin-right:auto;margin-bottom:",";color:",";"],(0,m.a)(958),e=>{let{$isScrollbarVisible:t}=e;return t?(0,m.a)(70):(0,m.a)(45)},(0,u.oU)(h.U4.textPrimaryReverse)),oT=(0,c.Ay)(V.A).withConfig({componentId:"sc-e6297b38-1"})(["font-size:",";line-height:150%;font-weight:",";",";"],(0,m.a)(12),h.BO.SemiBold,g.$_.sm(oW(),(0,m.a)(14))),oP=(0,c.Ay)(p.A).withConfig({componentId:"sc-e6297b38-2"})(["position:absolute;font-size:",";line-height:150%;",";color:",";"],(0,m.a)(12),g.$_.sm(oI(),(0,m.a)(14)),(0,u.oU)(h.U4.textPrimary)),oM=(0,c.Ay)(p.A).withConfig({componentId:"sc-e6297b38-3"})(["width:",";padding:",";background-color:",";font-weight:400;font-size:",";text-align:center;"],(0,m.a)(274),e=>{let{$isMobile:t}=e;return t?"".concat((0,m.a)(11)," ").concat((0,m.a)(3)):"".concat((0,m.a)(9.5)," ").concat((0,m.a)(4))},e=>{let{$bgcolor:t}=e;return t},e=>{let{$isMobile:t}=e;return t?"".concat((0,m.a)(12)):"".concat((0,m.a)(14))}),oU=(0,c.AH)(["box-sizing:border-box;border:"," solid ",";color:",";"],_.$X.large,(0,u.oU)(h.kd.grey9),(0,u.oU)(h.U4.textPrimary)),oD=(0,c.Ay)(p.A).withConfig({componentId:"sc-e6297b38-4"})(["width:",";",";background-color:",";font-size:",";font-weight:400;text-align:center;"],(0,m.a)(114),e=>{let{$border:t}=e;return t&&oU},e=>{let{$bgcolor:t}=e;return t},e=>{let{$isMobile:t}=e;return t?"".concat((0,m.a)(12)):"".concat((0,m.a)(14))}),oV=(0,c.Ay)(oD).withConfig({componentId:"sc-e6297b38-5"})(["padding:",";color:",";"],e=>{let{$isMobile:t}=e;return t?"".concat((0,m.a)(11)," 0"):"".concat((0,m.a)(9.5)," 0")},(0,u.oU)(h.U4.textPrimary)),oE=(0,c.AH)(["padding:",";"],e=>{let{$border:t}=e;return t?"".concat((0,m.a)(9)," 0"):"".concat((0,m.a)(11)," 0")}),oB=(0,c.AH)(["padding:",";"],e=>{let{$border:t}=e;return t?"".concat((0,m.a)(7.5)," 0"):"".concat((0,m.a)(9.5)," 0")}),oF=(0,c.Ay)(p.A).withConfig({componentId:"sc-e6297b38-6"})(["display:flex;justify-content:center;align-items:center;height:100%;background:",";",";"],e=>{let{$opacityValue:t}=e;return"rgba(0, 0, 0, ".concat(t,")")},e=>{let{$isMobile:t}=e;return t?oE:oB}),oz=["0.3","0.15","0.15","0.15","0.15"],o$=e=>{let{selectedValues:t,componentsContainerRef:n,colors:a,isMobileView:o,isScrollbarVisible:r}=e,{t:s}=(0,P.A)(),c=(0,l.useRef)(null),d=[s("riskCalculatorV2_second_select_content_2"),s("riskCalculatorV2_second_select_content_3"),s("riskCalculatorV2_second_select_content_4"),s("riskCalculatorV2_second_select_content_5"),s("riskCalculatorV2_second_select_content_6"),s("riskCalculatorV2_second_select_content_7")],v=[s("riskCalculatorV2_first_select_content_6"),s("riskCalculatorV2_first_select_content_5"),s("riskCalculatorV2_first_select_content_4"),s("riskCalculatorV2_first_select_content_3"),s("riskCalculatorV2_first_select_content_2")];return(0,l.useEffect)(()=>{og(c,n)},[t,n]),(0,i.jsxs)(oS,{$isScrollbarVisible:r,width:"100%",margin:o?{top:h.or.Large}:{top:h.or.Xlarge},children:[(0,i.jsxs)(p.A,{width:"100%",margin:{bottom:h.or.Small},display:h.nl.Flex,children:[(0,i.jsx)(p.A,{align:h.zI.center,justify:h.sx.center,width:(0,m.a)(274),children:(0,i.jsx)(oT,{level:4,children:s("riskCalculatorV2_table_header_1")})}),(0,i.jsx)(p.A,{align:h.zI.center,justify:h.sx.center,width:(0,m.a)(684),children:(0,i.jsx)(oT,{level:4,children:s("riskCalculatorV2_table_header_2")})})]}),(0,i.jsx)(p.A,{display:h.nl.Flex,justify:h.sx.end,children:d.map(e=>(0,i.jsx)(oV,{$isMobile:o,margin:{top:h.or.Medium},children:e},(0,at.A)()))}),(0,i.jsx)(p.A,{display:h.nl.Flex,direction:h.HO.column,children:v.map((e,n)=>(0,i.jsxs)(p.A,{display:h.nl.Flex,flex:"1",margin:{top:h.or.Medium},children:[(0,i.jsx)(oM,{$isMobile:o,$bgcolor:a[n],children:e}),o_[n].map((e,r)=>{let l=t.row===n&&t.column===r,d=(0,at.A)(),v=l?(0,u.oU)(h.kd.white):a[n],p=r%2!=0||l?"0":oz[n];return(0,i.jsx)(oD,{$isMobile:o,$bgcolor:v,$border:l,id:l?"rkTableResult":void 0,ref:l?c:void 0,children:(0,i.jsx)(oF,{$border:l,$isMobile:o,$opacityValue:p,children:s("riskCalculatorV2_in",{count:e})})},d)})]},(0,at.A)()))}),(0,i.jsx)(oP,{margin:{top:h.or.Medium,bottom:h.or.Medium},children:s("riskCalculatorV2_table_bodytext")})]})};var oL=n(30966);n(98633);
1let oO=(0,c.Ay)(V.A).withConfig({componentId:"sc-792f2f30-0"})(["font-size:",";line-height:150%;"],e=>{let{$isMobile:t}=e;return t?(0,m.a)(16):(0,m.a)(20)}),oN=(0,c.Ay)(V.A).withConfig({componentId:"sc-792f2f30-1"})(["font-size:",";line-height:150%;"],e=>{let{$isMobile:t}=e;return t?(0,m.a)(20):(0,m.a)(24)}),oH="\n .select__single-value{\n @media (max-width: 425px) {\n width: ".concat((0,m.a)(250),";\n }\n @media (max-width: 380px) {\n width: ").concat((0,m.a)(210),";\n }\n @media (max-width: 350px) {\n width: ").concat((0,m.a)(180),";\n }\n @media (max-width: 320px) {\n width: ").concat((0,m.a)(150),";\n }\n }\n"),oq=(0,c.Ay)(oL.A).withConfig({componentId:"sc-792f2f30-2"})(["margin:",";width:",";text-overflow:ellipsis;",";.select__value-container .select__single-value{pointer-events:none;}"],e=>{let{$isMobile:t}=e;return t?"".concat((0,m.a)(16)," 0 0 0"):"".concat((0,m.a)(32)," ").concat((0,m.a)(32)," ").concat((0,m.a)(32)," 0")},e=>{let{$isMobile:t}=e;return t?"100%":"50%"},oH),oX=(0,c.Ay)(ti.A).withConfig({componentId:"sc-792f2f30-3"})(["height:",";display:flex;align-self:center;margin-top:",";margin-bottom:",";width:",";"],(0,m.a)(48),e=>{let{$isMobile:t}=e;return t?(0,m.a)(24):(0,m.a)(29)},e=>{let{$isMobile:t}=e;return t?(0,m.a)(24):0},e=>{let{$isMobile:t}=e;return t?"100%":(0,m.a)(127)});var oZ=n(58167);function oK(){let e=(0,s._)(["\n margin-bottom: ",";\n "]);return oK=function(){return e},e}let oJ=(0,c.Ay)(p.A).withConfig({componentId:"sc-88936060-0"})(["flex-wrap:nowrap;overflow:hidden;margin-bottom:",";max-width:calc(100vw - 5rem);",";"],(0,m.a)(19),g.$_.sm(oK(),(0,m.a)(0))),oQ=(0,c.AH)(["border-bottom:"," "," solid;"],_.$X.large,(0,u.oU)(h.U4.primary)),oY=c.Ay.button.withConfig({componentId:"sc-88936060-1"})(["margin:0;width:100%;border:none;border-bottom:"," "," solid;",";padding-bottom:",";background-color:",";font-weight:",";font-size:",";line-height:150%;text-align:center;&:hover{cursor:pointer;}"],_.$X.large,(0,u.oU)(h.kd.grey4),e=>{let{$active:t}=e;return t&&oQ},(0,m.a)(18),(0,u.oU)(h._I.main),h.BO.Medium,(0,m.a)(16)),oG=(0,c.Ay)(p.A).withConfig({componentId:"sc-88936060-2"})(["width:",";"],e=>{let{$width:t}=e;return t}),o0=(0,c.Ay)(oL.A).withConfig({componentId:"sc-88936060-3"})(["width:100%;border-bottom:"," "," solid;.select__placeholder{border-right:"," "," solid;padding-left:15%;padding-top:",";padding-bottom:",";font-size:",";font-weight:500;color:",";}.select__control{border:none;border-radius:",";border-right:"," gray black;line-height:",";font-weight:",";&.select__control--is-disabled{border:none;}&.select__control--is-focused,&:hover{box-shadow:",";}}"],_.$X.large,(0,u.oU)(h.U4.primary),(0,m.a)(2),(0,u.oU)(h.kd.grey3),(0,m.a)(5.5),(0,m.a)(5.5),(0,m.a)(14),(0,u.oU)(h.U4.textPrimary),_.Vq.none,(0,m.a)(1),(0,m.a)(21),h.BO.Medium,_.MS.none),o1=(0,c.Ay)(oZ.A).withConfig({componentId:"sc-88936060-4"})([".simplebar-scrollbar.simplebar-visible{top:0;height:100%;}.simplebar-scrollbar.simplebar-visible{background-color:",";opacity:1;border-radius:",";}.simplebar-scrollbar:before{opacity:0;}.simplebar-track{background-color:",";border-radius:",";height:",";}"],(0,u.oU)(h.U4.primary),_.Vq[h.Z6.Small],(0,u.oU)(h.kd.grey3),_.Vq[h.Z6.Large],(0,m.a)(8));var o2=n(18336);let o4=e=>{let{tabsData:t,componentsContainerRef:n}=e,[a,o]=(0,l.useState)(0),[r,s]=(0,l.useState)(t),c=(0,o2.Ay)(o2.Pi.medium),d=(0,t_.A)();(0,l.useEffect)(()=>{s(t)},[t]);let u=e=>{o(e),d({category:th.$0.RiskCalculator,action:"Click to change visualization",label:t[e].label})},v="".concat(100/r.length,"%"),m=r.map((e,t)=>(0,i.jsx)(oG,{display:h.nl.Flex,$width:v,children:(0,i.jsx)(oY,{$active:a===e.id,onClick:()=>u(t),children:r[t].label})},(0,at.A)())),g=(0,i.jsx)(o0,{id:"tabsSelectOption",selectedValue:r[a].label,onChange:e=>{u(e.id)},placeholder:r[a].label,options:r});return(0,i.jsxs)(p.A,{margin:c?{top:h.or.Large}:{top:h.or.Medium},children:[(0,i.jsx)(p.A,{display:h.nl.Flex,children:c?g:m}),(0,i.jsx)(oJ,{ref:n,children:(0,i.jsx)(o1,{autoHide:!1,children:r[a].component})})]})},o5=e=>{var t,n,a,o,r,s,c,d;let{rowColors:u,tableColors:m,customColors:g}=e,{t:_}=(0,P.A)(),b=_("riskCalculatorV2_widget_title"),f=[{value:_("riskCalculatorV2_first_select_content_1"),label:_("riskCalculatorV2_first_select_content_1"),key:-1},{value:_("riskCalculatorV2_first_select_content_2"),label:_("riskCalculatorV2_first_select_content_2"),key:4},{value:_("riskCalculatorV2_first_select_content_3"),label:_("riskCalculatorV2_first_select_content_3"),key:3},{value:_("riskCalculatorV2_first_select_content_4"),label:_("riskCalculatorV2_first_select_content_4"),key:2},{value:_("riskCalculatorV2_first_select_content_5"),label:_("riskCalculatorV2_first_select_content_5"),key:1},{value:_("riskCalculatorV2_first_select_content_6"),label:_("riskCalculatorV2_first_select_content_6"),key:0}],y=[{value:_("riskCalculatorV2_second_select_content_1"),label:_("riskCalculatorV2_second_select_content_1"),key:-1},{value:_("riskCalculatorV2_second_select_content_2"),label:_("riskCalculatorV2_second_select_content_2"),key:0},{value:_("riskCalculatorV2_second_select_content_3"),label:_("riskCalculatorV2_second_select_content_3"),key:1},{value:_("riskCalculatorV2_second_select_content_4"),label:_("riskCalculatorV2_second_select_content_4"),key:2},{value:_("riskCalculatorV2_second_select_content_5"),label:_("riskCalculatorV2_second_select_content_5"),key:3},{value:_("riskCalculatorV2_second_select_content_6"),label:_("riskCalculatorV2_second_select_content_6"),key:4},{value:_("riskCalculatorV2_second_select_content_7"),label:_("riskCalculatorV2_second_select_content_7"),key:5}],x=(0,l.useRef)(null),[w,C]=(0,l.useState)(!1),[A,R]=(0,l.useState)(!1),k=()=>{x.current&&(C(x.current.offsetWidth<960),R(x.current.offsetWidth<1038))};(0,l.useEffect)(()=>{k()},[]),(0,l.useEffect)(()=>(window.addEventListener("resize",k),()=>{window.removeEventListener("resize",k)}),[x]);let[j,W]=(0,l.useState)(f[0]),[I,S]=(0,l.useState)(y[0]),[T,U]=(0,l.useState)(!1),D=(0,l.useRef)(null),[V,E]=(0,l.useState)({row:j.key,column:I.key}),[B,F]=(0,l.useState)(40),z=(0,t_.A)(),$=[null!=(t=u[0])?t:"#EB9A64",null!=(n=u[1])?n:"#E8C761",null!=(a=u[2])?a:"#90C1B7"],L=[null!=(o=m[0])?o:"#51514F",null!=(r=m[1])?r:"#EB9A64",null!=(s=m[2])?s:"#E8C761",null!=(c=m[3])?c:"#CDC377",null!=(d=m[4])?d:"#90C1B7"],O=[{id:0,label:_("riskCalculatorV2_first_tab_label"),component:(0,i.jsx)(o$,{selectedValues:V,componentsContainerRef:D,colors:L,isMobileView:w,isScrollbarVisible:A})},{id:1,label:_("riskCalculatorV2_second_tab_label"),component:(0,i.jsx)(ob,{colors:$,selectedValues:V,componentsContainerRef:D,isMobileView:w,isScrollbarVisible:A})},{id:2,label:_("riskCalculatorV2_third_tab_label"),component:(0,i.jsx)(oj,{selectedValues:V,componentsContainerRef:D,isMobileView:w,isScrollbarVisible:A})}];return(0,i.jsxs)(p.A,{radius:h.Z6.Medium,shadow:h.yb.Medium,ref:x,pad:{top:h.or.Medium,bottom:h.or.Xlarge,left:h.or.Medium,right:h.or.Medium},style:{...g},children:[(0,i.jsxs)(p.A,{display:h.nl.Flex,justify:h.sx.between,margin:w?{bottom:h.or.Xxsmall}:void 0,children:[(0,i.jsx)(oO,{$isMobile:w,level:3,children:b}),(0,i.jsx)(v.A,{icon:M.B.Graph,size:h.or.Large,color:h.U4.textPrimary})]}),(0,i.jsxs)(p.A,{display:w?h.nl.Block:h.nl.Flex,justify:h.sx.start,children:[(0,i.jsxs)(p.A,{display:w?h.nl.Block:h.nl.Flex,width:"100%",children:[(0,i.jsx)(oq,{$isMobile:w,id:"firstRiskSelect".concat((0,at.A)()),label:_("riskCalculatorV2_first_select_label"),options:f,onChange:e=>{W(e)},selectedValue:j,placeholder:f[0].value}),(0,i.jsx)(oq,{$isMobile:w,id:"secondRiskSelect".concat((0,at.A)()),label:_("riskCalculatorV2_second_select_label"),options:y,onChange:e=>{S(e)},selectedValue:I,placeholder:y[0].value})]}),(0,i.jsx)(oX,{$isMobile:w,"aria-label":_("riskCalculatorV2_calculate_button"),variant:h.Ak.Primary,label:_("riskCalculatorV2_calculate_button"),type:h.VQ.button,onClick:()=>{j.value!==f[0].value&&I.value!==y[0].value?(F(o_[j.key][I.key]),U(!0)):U(!1),E({row:j.key,column:I.key}),z({category:th.$0.RiskCalculator,action:"Calculate",label:"".concat(j.label," | ").concat(I.label)})}})]}),T&&(0,i.jsx)(p.A,{children:(0,i.jsx)(oN,{$isMobile:w,level:4,children:_("riskCalculatorV2_probability_message",{count:B})})}),(0,i.jsx)(o4,{componentsContainerRef:D,tabsData:O})]})};var o3=n(74926),o6=n(67512),o8=n.n(o6);
1let o9={alternateRowStyles:{fillColor:h.kd.white},bodyStyles:{textColor:_.I6.textPrimary,lineColor:_.I6.grey3,lineWidth:.2},headStyles:{fillColor:_.I6.grey2,textColor:_.I6.textPrimary,lineColor:_.I6.grey3,lineWidth:.2},footStyles:{textColor:_.I6.textPrimary},styles:{fillColor:h.kd.white,valign:"middle",lineColor:_.I6.grey3,lineWidth:.2},showFoot:"lastPage"},o7={headStyles:{fillColor:h.kd.white,textColor:_.I6.textPrimary,valign:"middle",fontSize:14}},re=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o8()(e,{...t,...n})},rt=(e,t,n)=>{let i=new o3.jsPDF(n.landscape?"l":"p");if(n.summaryHeader&&re(i,{head:[[n.summaryHeader]]},o7),e.length>0){let[t,...n]=e;re(i,{head:[t],body:n},o9)}if(n.detailsHeader&&re(i,{head:[[n.detailsHeader]]},o7),t.length>0){let[e,...n]=t;re(i,{head:[e],body:n},o9)}return i},rn=()=>{let e=new Date,t=e.getDate().toString().padStart(2,"0"),n=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getFullYear();return"".concat("BL-TR-CC-").concat(t,"-").concat(n,"-").concat(i)};var ri=n(68296),ra=n(85039);function ro(){let e=(0,s._)(["\n thead tr:first-child th {\n position: static;\n }\n \n thead tr:first-child th::after {\n border-bottom-width: 1px;\n border-top: none;\n border-left: none;\n border-right: none;\n }\n "]);return ro=function(){return e},e}function rr(){let e=(0,s._)(["\n ",";\n "]);return rr=function(){return e},e}function rl(){let e=(0,s._)(["\n border-bottom: "," "," solid;\n "]);return rl=function(){return e},e}let rs=(0,c.AH)(["box-shadow:none;border-top:none !important;border-bottom:none !important;"]),rc=(0,c.AH)(["width:100%;thead > tr > td{background-color:",";font-weight:",";}th{"," color:",";}td{"," color:",";font-weight:",";}th,td{white-space:normal;word-break:keep-all;overflow-wrap:break-word;hyphens:none;}",";"],(0,u.oU)(h.kd.grey2),h.BO.SemiBold,(0,b.ny)(h.Z4.Xxsmall),(0,u.oU)(h.U4.textSecondary),(0,b.ny)(h.Z4.Xsmall),(0,u.oU)(h.U4.textPrimary),h.BO.Regular,g.$_.sm(ro())),rd=(0,c.Ay)(ri.A).withConfig({componentId:"sc-175210d1-0"})(["",";table,td,th{",";}tr{border-bottom:"," "," solid;}th,td{padding:",";border-right:"," "," solid;}table tr th:first-child::after,table tr th:first-child::before{content:none;}"],rc,rs,_.$X.medium,(0,u.oU)(h.kd.grey3),_.py.xxsmall,_.$X.medium,(0,u.oU)(h.kd.grey3)),ru=(0,c.Ay)(ri.A).withConfig({componentId:"sc-175210d1-1"})(["",";table{margin-left:0;border-radius:",";table-layout:auto;}table,th,td{",";}th,td{padding:",";border-right:"," "," solid;}tr:not(:last-child){border-bottom:"," "," solid;}tr:last-child{",";}th:first-child::after{border-right-width:1px;}"],rc,_.Vq.small,g.$_.sm(rr(),rs),_.py.xxsmall,_.$X.medium,(0,u.oU)(h.kd.grey3),_.$X.medium,(0,u.oU)(h.kd.grey3),g.$_.sm(rl(),_.$X.medium,(0,u.oU)(h.kd.grey3))),rv=(0,c.Ay)(ti.A).withConfig({componentId:"sc-175210d1-2"})(["","{order:-1;margin-left:0;margin-right:",";};"],ra.h,_.py.xxsmall);var rp=n(94648);let rm=e=>{let{reportData:t,customMarketTag:n}=e,a=(0,z.A)(),{lang:o,t:r}=(0,P.A)(),s=(0,rp.W)().includes("transfer-of-value-IE"),c=Intl.NumberFormat(o,{minimumFractionDigits:t.monetaryMultiplier.toString().length-1}),d=Intl.DateTimeFormat(o,{dateStyle:"long"}),u=(0,l.useCallback)(e=>c.format(e/t.monetaryMultiplier).toString(),[c,t]),v=t.lines.map(e=>Object.fromEntries(e.map(e=>null!==e.monetaryValue&&void 0!==e.monetaryValue?[e.key,e.monetaryValue]:[e.key,e.textValue])));v.sort((e,t)=>e.dateOfEvent.localeCompare(t.dateOfEvent));let m=(e=>{let t={};return e.forEach(e=>{var n,i,a,o,r,l,s,c,d,u,v;let p="".concat(e.hcpFullName,"-").concat(e.practiceAddress,"-").concat(e.publicationType,"-").concat(e.mdmId,"-").concat(e.disclosureCurrency);p in t||(t[p]={hcpFullName:null!=(l=null==(n=e.hcpFullName)?void 0:n.toString())?l:"",practiceAddress:null!=(s=null==(i=e.practiceAddress)?void 0:i.toString())?s:"",publicationType:null!=(c=null==(a=e.publicationType)?void 0:a.toString())?c:"",mdmId:null!=(d=null==(o=e.mdmId)?void 0:o.toString())?d:"",currency:null!=(u=null==(r=e.disclosureCurrency)?void 0:r.toString())?u:"",total:0}),t[p].total+=null!=(v=e.disclosureAmount)?v:0}),Object.values(t)})(v),g=(0,l.useMemo)(()=>[[r("transparencyReport_unified_hcpName"),r("transparencyReport_unified_practiceAddress"),r("transparencyReport_unified_publicationType"),r("transparencyReport_unified_mdmId"),r("transparencyReport_unified_totalAmount"),r("transparencyReport_unified_totalCurrency")],...m.map(e=>[e.hcpFullName,e.practiceAddress,e.publicationType,e.mdmId,u(e.total),e.currency])],[u,m,r]),_="dk"===n,b=(0,l.useMemo)(()=>_?[[r("transparencyReport_unified_hcpName"),r("transparencyReport_unified_eventName"),r("transparencyReport_unified_email"),r("transparencyReport_unified_hostCountry"),r("transparencyReport_unified_typeOfService"),r("transparencyReport_unified_transactionReferenceNumber"),r("transparencyReport_unified_paymentAmount")],...v.map(e=>[e.hcpFullName||"-",e.publicationType||"-",e.hcpEmailAddress||"-",e.practiceAddress||"-",e.parentTransactionId||"-",e.dateOfEventStart?d.format(new Date(e.dateOfEventStart)):"-",e.hostCountry?d.format(new Date(e.hostCountry)):"-"])]:s?[[r("transparencyReport_unified_paymentDate"),r("transparencyReport_unified_eventName"),r("transparencyReport_unified_typeOfService"),r("transparencyReport_unified_transactionReferenceNumber"),r("transparencyReport_unified_paymentAmount"),r("transparencyReport_unified_paymentCurrency"),r("transparencyReport_unified_disclosureAmount"),r("transparencyReport_unified_disclosureCurrency")],...v.map(e=>[e.dateOfEvent?d.format(new Date(e.dateOfEvent)):"-",e.eventName||"-",e.typeOfService||"-",e.parentTransactionId||"-",u(e.paymentAmount||0),e.paymentCurrency||"-",u(e.disclosureAmount||0),e.disclosureCurrency||"-"])]:[[r("transparencyReport_unified_dateOfEvent"),r("transparencyReport_unified_eventName"),r("transparencyReport_unified_eventStartDate"),r("transparencyReport_unified_hostCountry"),r("transparencyReport_unified_typeOfService"),r("transparencyReport_unified_transactionReferenceNumber"),r("transparencyReport_unified_paymentAmount"),r("transparencyReport_unified_paymentCurrency"),r("transparencyReport_unified_disclosureAmount"),r("transparencyReport_unified_disclosureCurrency")],...v.map(e=>[e.dateOfEvent?d.format(new Date(e.dateOfEvent)):"-",e.eventName||"-",e.dateOfEventStart?d.format(new Date(e.dateOfEventStart)):"-",e.hostCountry||"-",e.typeOfService||"-",e.parentTransactionId||"-",u(e.paymentAmount||0),e.paymentCurrency||"-",u(e.disclosureAmount||0),e.disclosureCurrency||"-"])],[d,u,v,r,s,_]),f=(0,l.useCallback)(()=>{rt(_?[]:g,b,{summaryHeader:_?void 0:r("transparencyReport_unified_summary_title"),detailsHeader:r("transparencyReport_unified_details_title"),landscape:!0}).save(rn())},[b,_,g,r]);return(0,i.jsxs)(p.A,{children:[!_&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(p.A,{align:h.zI.center,justify:h.sx.between,margin:{bottom:h.or.Medium}
1,children:[(0,i.jsx)(eA.A,{color:h.kd.black,content:r("transparencyReport_unified_summary_title"),weight:h.BO.Medium}),(0,i.jsx)(rv,{ariaLabel:r("transparencyReport_unified_exportPdfButton_label"),type:h.VQ.button,label:r("transparencyReport_unified_exportPdfButton_label"),onClick:f,withIcon:M.B.DownloadBlue})]}),(0,i.jsx)(rd,{tableData:g})]}),(0,i.jsxs)(p.A,{align:h.zI.center,justify:h.sx.between,margin:{bottom:h.or.Medium,top:h.or.Medium},children:[(0,i.jsx)(eA.A,{content:r("transparencyReport_unified_details_title"),color:h.kd.black,weight:h.BO.Medium}),_&&(0,i.jsx)(rv,{ariaLabel:r("transparencyReport_unified_exportPdfButton_label"),type:h.VQ.button,label:r("transparencyReport_unified_exportPdfButton_label"),onClick:f,withIcon:M.B.DownloadBlue})]}),(0,i.jsx)(ru,{headerSticky:!0,isExpandable:!0,useRowHeader:a,tableData:b})]})};var rg=function(e){return e.HcpFullName="hcpFullName",e.PracticeAddress="practiceAddress",e.EventName="eventName",e.Recipient="recipient",e.RegistrationFee="registrationFee",e.Travel="travel",e.FeeOfService="feeOfService",e.Total="total",e.GrandTotal="grandTotal",e}({}),r_=function(e){return e.HcpFullName="hcpFullName",e.PracticeAddress="practiceAddress",e.EventName="eventName",e.Recipient="recipient",e.RegistrationFee="registrationFee",e.Travel="travel",e.FeeOfService="feeOfService",e.Total="total",e.GrandTotal="grandTotal",e}(r_||{});let{HcpFullName:rh,PracticeAddress:rb,GrandTotal:rf,EventName:ry,Recipient:rx,FeeOfService:rw,Travel:rC,RegistrationFee:rA,Total:rR}=r_,rk=[rh,rb,rf],rj=[ry,rx,rw,rC,rA,rR],{HcpFullName:rW,PracticeAddress:rI,EventName:rS,Recipient:rT,RegistrationFee:rP,Travel:rM,FeeOfService:rU,Total:rD}=rg;class rV{}rV.addTableToPDF=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o8()(e,{...t,...n})},rV.computeFooterDetails=e=>e.entries.reduce((e,t)=>({[rU]:e[rU]+(t[rU]||0),[rM]:e[rM]+(t[rM]||0),[rP]:e[rP]+(t[rP]||0)}),{[rU]:0,[rM]:0,[rP]:0}),rV.computeTableLayout=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;let{thead:n,tbody:i,tfooter:a}=e;if(t){let e=Array(n.length).fill(null).map((e,t)=>[n[t]]);return i.forEach(t=>{t.forEach((t,n)=>{e[n].push(t)})}),null==a||a.forEach((t,n)=>{e[n].push(t)}),e}return a?[n,...i,a]:[n,...i]},rV.reportDataTransformer=e=>{var t;if(!e||!Array.isArray(null==e||null==(t=e.lines)?void 0:t[0]))return null;let n=(e=>{var t,n;return{[rW]:(null==(t=e.find(e=>{let{key:t}=e;return t===rW}))?void 0:t.textValue)||"",[rI]:(null==(n=e.find(e=>{let{key:t}=e;return t===rI}))?void 0:n.textValue)||""}})(e.lines[0]),i=e.lines.map(e=>{var t,n,i,a,o;return{[rS]:(null==(t=e.find(e=>{let{key:t}=e;return t===rS}))?void 0:t.textValue)||"",[rT]:(null==(n=e.find(e=>{let{key:t}=e;return t===rT}))?void 0:n.textValue)||"",[rU]:(null==(i=e.find(e=>{let{key:t}=e;return t===rU}))?void 0:i.monetaryValue)||0,[rM]:(null==(a=e.find(e=>{let{key:t}=e;return t===rM}))?void 0:a.monetaryValue)||0,[rP]:(null==(o=e.find(e=>{let{key:t}=e;return t===rP}))?void 0:o.monetaryValue)||0,[rD]:e.reduce((e,t)=>e+(t.monetaryValue||0),0)}});return{...n,entries:i}};var rE=n(5559);let{HcpFullName:rB,PracticeAddress:rF,GrandTotal:rz,Total:r$}=rg,rL=e=>{let{internalTitle:t,currency:n,reportData:a}=e,{tableSummary:o,tableDetails:r,handleOnClick:s}=((e,t,n)=>{let{t:i}=(0,P.A)(),{lang:a}=(0,P.A)(),o=(0,z.A)(),r=(0,rp.W)(),s=(0,t_.A)(),c=(0,l.useMemo)(()=>n?rV.reportDataTransformer(n):null,[n]),d=(0,l.useMemo)(()=>{var e;return(null==n||null==(e=n.lines)?void 0:e.reduce((e,t)=>e+t.reduce((e,t)=>e+(t.monetaryValue||0),0),0))||0},[n]),u=(0,l.useCallback)(e=>n?(0,rE.G3)(a,t,e/(null==n?void 0:n.monetaryMultiplier)):"",[t,a,n]),v=(0,l.useMemo)(()=>c?{thead:rk.map(e=>i("transparencyReport_".concat(e))),tbody:[[c.hcpFullName,c.practiceAddress,u(d)]]}:null,[u,d,i,c]),p=(0,l.useMemo)(()=>{if(c){let e=rj.map(e=>i("transparencyReport_".concat(e))),t=c.entries.map(e=>[e.eventName,e.recipient,u(e.feeOfService),u(e.travel),u(e.registrationFee),u(e.total)]),n=rV.computeFooterDetails(c);
1return{thead:e,tbody:t,tfooter:[i("transparencyReport_".concat(r$)),"",u(n.feeOfService),u(n.travel),u(n.registrationFee),u(d)]}}return null},[u,d,i,c]),m=(0,l.useCallback)(async()=>{if(!c||!p)return;let{thead:e=[],tbody:t=[],tfooter:n=[]}=p;rt([[i("transparencyReport_".concat(rB)),i("transparencyReport_".concat(rF)),i("transparencyReport_".concat(rz))],[c.hcpFullName,c.practiceAddress,u(d)]],[e,...t,n],{summaryHeader:i("transparencyReport_summary_title"),detailsHeader:i("transparencyReport_details_title")}).save(rn())},[u,d,i,c,p]),g=(0,l.useCallback)(()=>{s({category:th.$0.Download,action:r,label:e})},[r,e,s]);return{tableSummary:rV.computeTableLayout(v,o),tableDetails:rV.computeTableLayout(p,o),handleOnClick:()=>{m(),g()}}})(t,n,a),c=(0,z.A)(),{t:d}=(0,P.A)();return n&&(o||r)?(0,i.jsxs)(p.A,{children:[o&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(p.A,{align:h.zI.center,justify:h.sx.between,margin:{bottom:h.or.Medium},children:[(0,i.jsx)(eA.A,{color:h.kd.black,content:d("transparencyReport_summary_title"),weight:h.BO.Medium}),(0,i.jsx)(rv,{ariaLabel:d("transparencyReport_exportPdfButton_label"),type:h.VQ.button,label:d("transparencyReport_exportPdfButton_label"),onClick:s,withIcon:M.B.DownloadBlue})]}),(0,i.jsx)(rd,{headerSticky:!0,isExpandable:!1,useColumnHeader:!c,useRowHeader:c,tableData:o})]}),r&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p.A,{margin:{bottom:h.or.Medium,top:h.or.Medium},children:(0,i.jsx)(eA.A,{content:d("transparencyReport_details_title"),color:h.kd.black,weight:h.BO.Medium})}),(0,i.jsx)(ru,{headerSticky:!0,isExpandable:!1,useColumnHeader:!c,useRowHeader:c,tableData:r})]})]}):null};function rO(){let e=(0,s._)(["\n query getReport($market: String) {\n getReport(market: $market) {\n reportVersion\n columns {\n key\n isMonetary\n offset\n }\n lines {\n key\n monetaryValue\n textValue\n }\n monetaryMultiplier\n }\n }\n"]);return rO=function(){return e},e}let rN=(0,tu.J1)(rO()),rH=e=>{let{internalTitle:t,currency:n}=e,a=(()=>{let{marketTag:e}=(0,K.Ay)(),{lang:t}=(0,P.A)();switch(e){case ip.f.NORDICS:return t.substring(3).toLowerCase();case ip.f.COM:return"US";default:return}})(),{reportData:o,loading:r}=(e=>{let{data:t,loading:n}=(0,nd.IT)(rN,{fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-first",variables:{market:e}});return{reportData:(null==t?void 0:t.getReport)?t.getReport:null,loading:n}})(a);if(r||!o)return null;switch(o.reportVersion){case"1":return(0,i.jsx)(rL,{internalTitle:t,currency:n,reportData:o});case"unified":return(0,i.jsx)(rm,{reportData:o,customMarketTag:a});default:return null}};var rq=n(83073);let rX=e=>{let{...t}=e,n=(0,l.useRef)(null),{isVisible:a}=(0,rq.B)(n),[o,r]=(0,l.useState)(!1),s=(0,rp.W)(),c=(0,t_.A)();return(0,l.useEffect)(()=>{a&&!o&&(c({category:th.$0.TransparencyReport,action:"Impression",label:s}),r(!0))},[a,o,c,s]),(0,i.jsx)(p.A,{ref:n,"data-testid":"lazy-transparency-report",style:{...t.customColors},children:a&&(0,i.jsx)(rH,{...t})})};var rZ=n(33162);function rK(){let e=(0,s._)(["\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n "]);return rK=function(){return e},e}function rJ(){let e=(0,s._)(["\n display: flex;\n "]);return rJ=function(){return e},e}function rQ(){let e=(0,s._)(["\n &::before {\n content: '|';\n padding: 0 ","\n }\n "]);return rQ=function(){return e},e}let rY=(0,c.Ay)(p.A).withConfig({componentId:"sc-9eb43634-0"})(["display:flex;flex-direction:column;",""],g.$_.sm(rK())),rG=(0,c.Ay)(p.A).withConfig({componentId:"sc-9eb43634-1"})(["",""],g.$_.xs(rJ())),r0=(0,c.Ay)(p.A).withConfig({componentId:"sc-9eb43634-2"})(["",""],g.$_.xs(rQ(),_.py.medium)),r1=(0,c.Ay)(v.A).attrs({icon:M.B.Clock,size:h.or.Medium}).withConfig({componentId:"sc-9eb43634-3"})(["margin:0 ",";"],_.py.xxsmall),r2=(0,c.Ay)(p.A).withConfig({componentId:"sc-9eb43634-4"})(["display:flex;"]);var r4=n(40889);function r5(){let e=(0,s._)(["\n margin-top: 0;\n "]);return r5=function(){return e},e}function r3(){let e=(0,s._)(["\n margin-bottom: ",";\n "]);return r3=function(){return e},e}function r6(){let e=(0,s._)(["\n margin-bottom: ",";\n "]);return r6=function(){return e},e}
1let r8=(0,c.Ay)(p.A).withConfig({componentId:"sc-8364b2b3-0"})(["margin-top:",";",""],_.py.medium,g.$_.sm(r5()));(0,c.Ay)(r4.A).withConfig({componentId:"sc-8364b2b3-1"})(["margin-top:-",";margin-bottom:",";",""],_.py.xxsmall,_.py.small,g.$_.sm(r3(),_.py.small));let r9=(0,c.Ay)(p.A).withConfig({componentId:"sc-8364b2b3-2"})(["",""],g.$_.sm(r6(),_.py.small));function r7(){let e=(0,s._)(["\n mutation shareLMSCourseMutation($courseUrl: String!, $recipientEmail: String!, $language: String!, $sendCopy: Boolean, \n $marketTag: MarketTag!) {\n shareCourse(courseUrl: $courseUrl, recipientEmail: $recipientEmail, language: $language, sendCopy: $sendCopy, marketTag: $marketTag)\n }\n"]);return r7=function(){return e},e}let le=(0,tu.J1)(r7());var lt=n(27006);function ln(){let e=(0,s._)(["\n margin: "," 0;\n "]);return ln=function(){return e},e}let li=(0,c.Ay)(iP.A).withConfig({componentId:"sc-76a1ba1f-0"})(["margin:"," 0;"," div{margin-top:",";}"],_.py[h.or.Small],g.$_.sm(ln(),_.py[h.or.Medium]),_.py[h.or.Small]),la=e=>{let{name:t,program:n,knowledgeTargetlevels:a}=e,{t:o}=(0,P.A)(),r=(0,t_.A)(),[s]=(()=>{let[e,t]=(0,tv.n)(le),{lang:n}=(0,P.A)(),{marketTag:i}=(0,K.Ay)();return[async t=>{let{courseUrl:a,recipientEmail:o,sendCopy:r}=t;await e({variables:{courseUrl:a,recipientEmail:o,language:n,sendCopy:r,marketTag:i.toUpperCase()}})},t]})(),[c,d]=(0,l.useState)(!1),[u,v]=(0,l.useState)(!1),{marketTag:m}=(0,K.Ay)(),g=(0,ii.mN)({mode:"onChange",resolver:(0,ig.t)((0,i_.Ik)().shape({email:(0,i_.Yj)().email(o("shareModal_validations_email")).required()}))}),{formState:_}=g,b=async e=>{try{await s({recipientEmail:e.email,courseUrl:window.location.href,sendCopy:u}),r({category:n||th.$0.Empty,action:"Content shared",label:(0,rZ.$d)(t,a)}),(0,T.o)({header:o("shareModal_success",{program:n}),description:o("shareModal_success_description"),alertType:F._1.success})}catch(e){(0,T.o)({header:o("shareModal_error"),description:o("shareModal_error_description"),alertType:F._1.error})}finally{g.reset(),d(!1)}},f={open:c,title:o("shareModal_headline"),handleClose:()=>d(!1),overlay:!0,closeIcon:!0,size:h.rI.Xsmall},y=o(_.isSubmitting?"shareModal_input_sending":"shareModal_input_send");return(0,i.jsxs)(p.A,{position:h.Hy.relative,children:[(0,i.jsx)(r8,{children:(0,i.jsx)(el.A,{withLabel:o("shareModal_button_label"),icon:M.B.Share,onClick:()=>d(!0),ariaLabel:o("shareModal_button_label"),type:h.VQ.button,variant:h.hi.Primary})}),(0,i.jsx)(ek.A,{...f,children:(0,i.jsxs)(ii.Op,{...g,children:[(0,i.jsx)(li,{name:"email",placeholder:o("shareModal_input_placeholder"),type:"email"}),m!==ip.f.FR?(0,i.jsx)(r9,{margin:{bottom:h.or.Medium},children:(0,i.jsx)(lt.A,{checked:u,label:o("shareModal_input_checkboxLabel"),id:"sendCopy",onChange:async e=>{v(e.target.checked)}})}):null,(0,i.jsx)(p.A,{justify:h.sx.center,children:(0,i.jsx)(ni.A,{ariaLabel:y,type:h.VQ.button,label:y,variant:h.Ak.Primary,onClick:g.handleSubmit(b),disabled:!_.isValid||_.isSubmitting})})]})})]})},lo=e=>{let{durationInMinute:t,isUser:n,hideShare:a,name:o,program:r,knowledgeTargetlevels:l}=e,{t:s}=(0,P.A)();return(0,i.jsxs)(rY,{color:h.U4.textSecondary,fontSize:h.Z4.Small,children:[(0,i.jsx)(rG,{children:t?(0,i.jsxs)(r0,{direction:h.HO.row,align:h.zI.center,children:[(0,i.jsx)(eA.A,{size:h.Z4.Small,color:h.U4.textSecondary,content:"".concat(s("courseDetail_timeToLearn_label"),":")}),(0,i.jsx)(r1,{}),(0,i.jsx)(eA.A,{size:h.Z4.Small,color:h.U4.textSecondary,content:"".concat(t," ").concat(s("course_card_durationLabel"))})]}):null}),n&&!a&&(0,i.jsx)(la,{name:o,program:r,knowledgeTargetlevels:l})]})};var lr=n(65370);function ll(){let e=(0,s._)(["\n margin-bottom: ",";\n "]);return ll=function(){return e},e}function ls(){let e=(0,s._)(["\n margin-right: ",";\n "]);return ls=function(){return e},e}let lc=c.Ay.li.withConfig({componentId:"sc-8fde1ed9-0"})(["display:flex;align-items:center;margin-bottom:",";list-style:none;",""],_.py.small,g.$_.md(ll(),_.py.medium)),ld=c.Ay.div.withConfig({componentId:"sc-8fde1ed9-1"})([""," display:flex;justify-content:center;align-items:center;flex-grow:0;flex-shrink:0;width:",";height:",";margin-right:",";font-weight:",";color:",";border-radius:",";border:"," solid ",";",""],(0,b.ny)(h.Z4.Large),(0,m.a)(52),(0,m.a)(52),_.py.medium,h.BO.Medium,(0,u.oU)(h.U4.primary),_.Vq.round,_.$X.medium,(0,u.oU)(h.U4.primary),g.$_.md(ls(),_.py.large)),lu=e=>{let{title:t,list:n}=e;return(0,i.jsxs)(i.Fragment,{children:[t?(0,i.jsx)(V.A,{level:3,margin:{bottom:h.or.Large},children:t}):null,(0,i.jsx)("ul",{children:n.map((e,t)=>(0,i.jsxs)(lc,{children:[(0,i.jsx)(ld,{children:t+1}),(0,i.jsx)(lr.A,{size:h.Z4.Small,content:e})]},e))})]})},lv=e=>{let{objectives:t}=e,{t:n}=(0,P.A)();return t&&0!==t.length?(0,i.jsx)(p.A,{margin:{top:h.or.Xlarge},children:(0,i.jsx)(lu,{title:"".concat(n("courseDetail_objectives_title"),":"),list:t.map(e=>{let{title:t}=e;return t})})}):null},lp=e=>{let{isUser:t,startUrl:n,sendGtmEvent:a}=e,{t:o}=(0,P.A)();return t&&n?(0,i.jsx)(r2,{margin:{vertical:h.or.Large},children:(0,i.jsx)(ni.A,{ariaLabel:o("courseDetail_startButton_label"),variant:h.Ak.Primary,href:n,label:o("courseDetail_startButton_label"),onClick:a})}):null},lm="".concat(d.nE,"/images/image-empty-state.png"),lg="".concat(d.nE,"/images/course-detail-unauthorized-image.png");var l_=n(37903);function lh(){let e=(0,s._)(["\n flex-direction: row;\n width: auto;\n justify-content: flex-start;\n margin-top: ",";\n\n > button {\n &:first-child {\n margin-bottom: 0;\n margin-right: ",";\n }\n }\n "]);return lh=function(){return e},e}function lb(){let e=(0,s._)(["\n max-height: inherit;\n max-width: 14.75rem;\n "]);return lb=function(){return e},e}function lf(){let e=(0,s._)(["\n margin-left: ",";\n "]);return lf=function(){return e},e}function ly(){let e=(0,s._)(["\n max-width: 35rem;\n margin-left: ",";\n margin-top: 0;\n "]);return ly=function(){return e},e}function lx(){let e=(0,s._)(["\n flex-direction: row;\n "]);return lx=function(){return e},e}let lw=(0,c.Ay)(p.A).withConfig({componentId:"sc-629d277f-0"})(["display:flex;flex-direction:column;margin-top:",";width:100%;justify-content:center;> button{&:first-child{margin-bottom:",";}}",""],_.py.medium,_.py.medium,g.$_.xs(lh(),_.py.large,_.py.medium)),lC=c.Ay.img.withConfig({componentId:"sc-629d277f-1"})(["max-height:10rem;max-width:inherit;",""],g.$_.sm(lb())),lA=(0,c.Ay)(p.A).withConfig({componentId:"sc-629d277f-2"})([""," ",""],g.$_.xs(lf(),_.py.xlarge),g.$_.sm(ly(),_.py.xxlarge)),lR=(0,c.Ay)(p.A).withConfig({componentId:"sc-629d277f-3"})(["flex-direction:column;",""],g.$_.xs(lx())),lk=e=>{let{program:t}=e,{signup:n,login:a}=(0,a6.Ay)(),{t:o}=(0,P.A)(),[r,s]=(0,l.useState)(!0),c={overlay:!0,open:r,handleClose:()=>s(!1)};return(0,i.jsx)(ek.A,{size:h.rI.Large,position:h.x_.Bottom,...c,children:(0,i.jsxs)(lR,{align:h.zI.center,children:[(0,i.jsx)(p.A,{children:(0,i.jsx)(lC,{src:lg,alt:""})}),(0,i.jsxs)(lA,{margin:{top:h.or.Large},children:[(0,i.jsx)(l_.A,{title:o("courseDetail_unauthorizedModal_title",{program:t}),handleClose:c.handleClose}),(0,i.jsx)(p.A,{fontSize:h.Z4.Small,children:o("courseDetail_unauthorizedModal_description")}),(0,i.jsxs)(lw,{children:[(0,i.jsx)(ni.A,{ariaLabel:o("courseDetail_unauthorizedModal_registerButton"),type:h.VQ.button,label:o("courseDetail_unauthorizedModal_registerButton"),onClick:n,variant:h.Ak.Neutral}),(0,i.jsx)(ni.A,{type:h.VQ.button,ariaLabel:o("courseDetail_unauthorizedModal_loginButton"),label:o("courseDetail_unauthorizedModal_loginButton"),onClick:()=>a(),variant:h.Ak.Primary})]})]})]})})},lj=e=>{let{hideShare:t,customColors:n}=e,{t:a}=(0,P.A)(),{loading:o,course:r,program:l,backLinkPath:s,durationInMinute:c,name:d,description:u,startUrl:v,sendGtmEvent:m,objectives:g}=(0,rZ.gp)(),{isUser:_,isPermitted:b,redirectToLogin:f}=(0,rZ.qQ)(l);return o?(0,i.jsx)(tf.Ay,{}):r?b?(0,i.jsxs)(p.A,{style:{...n},children:[(0,i.jsxs)(N.Ay,{margin:{top:h.or.Xlarge},children:[_?(0,i.jsx)(n9.A,{withIcon:M.B.ChevronLeftGray,iconPosition:M.c.Left,path:s,label:a("courseDetail_backLink_label")}
1):null,(0,i.jsx)(lo,{durationInMinute:c,isUser:_,hideShare:t,name:d,program:l,knowledgeTargetlevels:r.knowledgeTargetlevels}),(0,i.jsx)(V.A,{level:1,margin:{vertical:h.or.Medium},children:d}),(0,i.jsx)(eA.A,{size:h.Z4.Small,content:u}),(0,i.jsx)(lp,{isUser:_,startUrl:v,sendGtmEvent:m}),(0,i.jsx)(lv,{objectives:g})]}),(0,i.jsx)(nx.A,{prcCode:r.jobCode}),_?null:(0,i.jsx)(lk,{program:l})]}):_?(0,i.jsx)(iK.A,{}):(f(),(0,i.jsx)(tf.Ay,{})):(0,i.jsx)(nF.default,{})},lW=e=>{let{hideShare:t,customColors:n}=e;return(0,i.jsx)(lj,{hideShare:t,customColors:n})};var lI=n(98471),lS=function(e){return e.KnowledgeTargetlevelFilter="knowledgeTargetlevels",e.TherapeuticAreaFilter="therapeuticAreas",e.CourseProgramFilter="program",e}({}),lT=n(50624),lP=n(27944),lM=n(5722);let lU=e=>{let{trainingPlanKeys:t,selectedTab:n,setSelectedTab:a}=e,{t:o}=(0,P.A)();return(0,i.jsx)(lP.j7,{children:t.map((e,t)=>{let i="".concat(e,"_").concat(t);return(0,l.createElement)(lT.A,{...{id:t,selectedTab:n,setSelectedTab:a},key:i,label:o("coursesDashboardIntro_tab_".concat(e)),type:lM.n.TabLayoutSection})})})},lD=e=>{let{text:t}=e;return(0,i.jsxs)(p.A,{pad:h.or.Medium,backgroundColor:h.kd.white,direction:h.HO.row,justify:h.sx.start,align:h.zI.center,radius:h.Z6.Medium,border:{color:h.kd.grey2,width:h.V6.Large},children:[(0,i.jsx)(p.A,{margin:{right:h.or.Large},align:h.zI.center,justify:h.sx.center,children:(0,i.jsx)(U.A,{alt:t,height:(0,m.a)(40),src:lm,width:(0,m.a)(70)})}),(0,i.jsx)(eA.A,{weight:h.BO.Regular,size:h.Z4.Small,color:h.U4.textSecondary,content:t})]})};var lV=n(10081),lE=n(26471);let lB=c.Ay.span.withConfig({componentId:"sc-318164d8-0"})(["margin-left:",";white-space:pre;"],_.py.xxxsmall),lF=(0,c.Ay)(p.A).withConfig({componentId:"sc-318164d8-1"})(["display:flex;flex-direction:column;box-shadow:",";overflow:",";border-radius:",";background-color:",";min-height:28rem;"],_.MS[h.yb.Medium],h.Oq.hidden,_.Vq[h.Z6.Medium],(0,u.oU)(h.kd.grey2)),lz=(0,c.Ay)(p.A).withConfig({componentId:"sc-318164d8-2"})(["height:",";"],(0,m.a)(150)),l$=(0,c.Ay)(lE.A).withConfig({componentId:"sc-318164d8-3"})(["display:block;flex:1;margin-top:-",";z-index:1;"],_.py.medium),lL=(0,c.Ay)(p.A).withConfig({componentId:"sc-318164d8-4"})(["display:flex;flex-direction:column;justify-content:space-between;height:100%;word-break:break-word;"]),lO=(0,c.Ay)(p.A).withConfig({componentId:"sc-318164d8-5"})([""," display:flex;justify-content:space-between;color:",";"],(0,b.ny)(h.Z4.Small),(0,u.oU)(h.U4.textSecondary)),lN=e=>{let{title:t,description:n,linkLabel:a,linkTo:o,duration:r,image:l,metaTitle:s}=e,{t:c}=(0,P.A)();return(0,i.jsxs)(lF,{width:"100%",height:"100%",children:[(0,i.jsx)(lz,{children:(0,i.jsx)(U.A,{src:l.url,alt:l.title,objectFit:"cover"})}),(0,i.jsx)(l$,{children:(0,i.jsxs)(lL,{children:[(0,i.jsxs)(p.A,{children:[(0,i.jsxs)(lO,{margin:{bottom:h.or.Small},width:"100%",children:[(0,i.jsx)(eA.A,{content:s.toUpperCase(),color:h.U4.textSecondary,size:h.Z4.Xsmall,weight:h.BO.Medium}),r?(0,i.jsx)(lB,{children:"".concat(r).concat(c("course_card_durationLabel"))}):null]}),(0,i.jsx)(V.A,{level:5,margin:{bottom:h.or.Xxsmall},children:iD()(t,{length:50})}),(0,i.jsx)(eA.A,{size:h.Z4.Small,content:iD()(n,{length:250})})]}),a?(0,i.jsx)(p.A,{margin:{top:h.or.Large},children:(0,i.jsx)(lV.A,{ariaLabel:a,href:o,label:a})}):null]})})]})};var lH=n(85153);let lq=e=>{let{courses:t,itemsPerPage:n=10}=e,[a,o]=(0,l.useState)(n),r=t.slice(0,a),{t:s}=(0,P.A)(),{path:c}=(0,nr.useParams)();return(0,i.jsxs)(p.A,{margin:{vertical:h.or.Medium},children:[(0,i.jsx)(ai.T,{gap:3,columns:"3",children:r.map(e=>{let{id:t,name:n,number:a,imagePath:o,description:r,durationInMinute:l,shortTitle:d}=e;return(0,i.jsx)(lN,{title:n,duration:l,description:r,metaTitle:d||"",image:{url:o,title:n},linkLabel:s("courses_list_item_actionLabel"),linkTo:"/".concat(c,"/courses/").concat(a)},t)})}),a<t.length?(0,i.jsx)(p.A,{justify:h.sx.center,margin:{top:h.or.Xlarge},children:(0,i.jsx)(lH.Ay,{toggle:()=>{o(e=>e+n)},expandLabel:s("courses_list_loadMore"),collapseLabel:s("tableItem_collapse_label"),variant:h.b4.Secondary})}):null]})};var lX=function(e){return e[e.SetLevel=0]="SetLevel",e[e.SetBaseCourses=1]="SetBaseCourses",e[e.Initialize=2]="Initialize",e}({}
1),lZ=n(59632),lK=n.n(lZ);let lJ=Object.values(lS),lQ=(e,t)=>t.filter(t=>Object.keys(e).every(n=>Object.values(e[n]).every(e=>!1===e)||((e,t,n)=>{var i;return null==(i=t[e])?void 0:i.some(t=>!0===n[e][t])})(n,t,e))),lY=(0,c.Ay)(U.A).withConfig({componentId:"sc-7a431365-0"})(["margin-bottom:",";margin-left:auto;margin-right:auto;"],_.py.large),lG=()=>{let{t:e}=(0,P.A)();return(0,i.jsxs)(p.A,{margin:{bottom:h.or.Xxlarge},pad:h.or.Large,radius:h.Z6.Medium,textAlign:h.nO.Center,border:{color:h.kd.grey2,width:h.V6.Large},children:[(0,i.jsx)(lY,{src:lm,alt:e("learning_course_not_found_image_alt"),width:(0,m.a)(140),height:(0,m.a)(80)}),(0,i.jsx)(eA.A,{weight:h.BO.Regular,size:h.Z4.Small,color:h.U4.textSecondary,content:e("learning_course_not_found_message")})]})};var l0=n(45334);let l1=(0,c.Ay)(l0.A).withConfig({componentId:"sc-a5b626c4-0"})([""," ",""],(0,b.ny)(h.Z4.Xsmall),e=>{let{$isActive:t}=e;return t?"":"background-color: ".concat((0,u.oU)(h.kd.grey2),";")}),l2=e=>{let{currentFilter:t={},onClick:n,filterType:a}=e,{t:o}=(0,P.A)(),r=Object.keys(t);return 0===r.length?null:(0,i.jsxs)(p.A,{margin:{vertical:h.or.Large},children:[(0,i.jsx)(p.A,{margin:{bottom:h.or.Medium},children:(0,i.jsx)(eA.A,{size:h.Z4.Small,weight:h.BO.Regular,content:"".concat(o("courses_list_".concat(a,"_text")),":")})}),(0,i.jsx)(p.A,{direction:h.HO.row,gap:h.or.Small,align:h.zI.center,wrap:!0,children:r.map(e=>(0,i.jsx)(l1,{label:o("courses_list_".concat(a,"_").concat(e)),variant:t[e]?h.Ak.Primary:h.Ak.Secondary,onClick:()=>n(e),$isActive:t[e]},e))})]})},l4=e=>{let{title:t,description:n,itemsPerPage:a,trainingPlanCourseIds:o,filters:r=[]}=e,{loading:s,courses:c,handleFilterChange:d,activeFilters:u,baseCourses:v}=(e=>{let{trainingPlanCourseIds:t}=e,{courses:n,loading:i}=(0,lI.A8)(),a=(0,nr.useRouter)(),o=(0,nr.usePathname)(),r=(0,nr.useSearchParams)(),[s,c]=(0,l.useReducer)(((e,t,n,i)=>(a,o)=>{let r,l,s;if(null===i)return a;switch(o.type){case lX.Initialize:return l=lQ(r=((e,t)=>{let n={};return lJ.forEach(i=>{let a=e.reduce((e,t)=>{let n=t[i];if(!n)return e;let a=(Array.isArray(n)?n:[n]).reduce((e,t)=>({...e,[t]:!1}),{});return{...e,...a}},{});Object.keys(a).forEach(t=>{e.every(e=>(e[i]||[]).includes(t))&&delete a[t]}),Object.keys(a).length>0&&(n={...n,[i]:a});let o=t.get("filter"),r=null==o?void 0:o.split(",");null==r||r.forEach(e=>{n[i]&&e&&e in n[i]&&(n[i][e]=!0)})}),n})(s=((e,t)=>t?e.filter(e=>{let{id:n}=e;return!t.includes(n)}):e)(o.payload,i),t),s),{...a,baseCourses:s,filteredCourses:l,activeFilters:r,loading:!1};case lX.SetLevel:return((e,t,n,i)=>{let a=new URLSearchParams;lJ.forEach(t=>{let n=Object.keys(e[t]||[]).filter(n=>!0===e[t][n]).join(",");n&&a.set(t,n)}),lK()(n.toString(),a.toString())||i.push("".concat(t,"?").concat(a.toString()))})(r={...a.activeFilters,[o.payload.filter]:{...a.activeFilters[o.payload.filter],[o.payload.value]:!a.activeFilters[o.payload.filter][o.payload.value]}},e,t,n),l=a.baseCourses?lQ(r,a.baseCourses):[],{...a,activeFilters:r,filteredCourses:l};default:return a}})(o,r,a,t),{filteredCourses:[],activeFilters:{},loading:!0});return(0,l.useEffect)(()=>{i||s.baseCourses||c({type:lX.Initialize,payload:n})},[i,n,s.baseCourses]),{loading:s.loading,handleFilterChange:e=>t=>{c({type:lX.SetLevel,payload:{filter:e,value:t}})},courses:s.filteredCourses,activeFilters:s.activeFilters,baseCourses:s.baseCourses}})({trainingPlanCourseIds:o,filters:r}),m=r.map(e=>(0,i.jsx)(l2,{currentFilter:u[e],onClick:d(e),filterType:e},e));if(s)return(0,i.jsx)(tf.Ay,{});if(!v)return null;let g=c&&c.length>0;return(0,i.jsxs)(p.A,{children:[(0,i.jsx)(t4.A,{title:t,description:n}),m,g?(0,i.jsx)(lq,{courses:c,itemsPerPage:a}):(0,i.jsx)(lG,{})]})},l5=iG(()=>{let{t:e,courses:t,coursesEmptyText:n,loading:a,trainingPlanKeys:o,trainingPlanCourseIds:r,selectedTab:s,setSelectedTab:c}=(()=>{let{t:e}=(0,P.A)(),{loading:t,trainingPlan:n}=(0,lI.ZS)(),i=(0,l.useMemo)(()=>Object.keys(n),[n]),[a,o]=(0,l.useState)(0),{marketTag:r}=(0,K.Ay)(),s=n[i[a]],c=(0,l.useMemo)(()=>{var e,i;return t?null:[...(null==(e=n.completed)?void 0:e.map(e=>{let{id:t}=e;return t}))||[],...(null==(i=n.inProgress)?void 0:i.map(e=>{let{id:t}=e;return t}))||[]]},[n,t]),d=(0,l.useMemo)(()=>r===ip.f.DE&&"completed"===i[a]?e("coursesDashboardIntro_ctaCard_text_completed"):e("coursesDashboardIntro_ctaCard_text"),[i,a,r]);return{t:e,courses:s,coursesEmptyText:d,loading:t,trainingPlan:n,trainingPlanKeys:i,trainingPlanCourseIds:c,selectedTab:a,setSelectedTab:o}})(),d=(()=>{let{marketFeatures:e}=(0,K.Ay)();return((null==e?void 0:e.lmsFilters)||[]).map(e=>lS[e])})();return(0,i.jsxs)(p.A,{children:[(0,i.jsxs)(lP.MD,{width:"100%",children:[(0,i.jsx)(lU,{trainingPlanKeys:o,selectedTab:s,setSelectedTab:c}),a?(0,i.jsx)(tf.Ay,{}):(0,i.jsx)(lP.HD,{"data-testid":"page-content",children:t&&t.length?(0,i.jsx)(lq,{courses:t}):(0,i.jsx)(p.A,{align:h.zI.start,children:(0,i.jsx)(lD,{text:n})})})]}),(0,i.jsx)(l4,{title:e("coursesDashboardPage_title"),trainingPlanCourseIds:r,filters:d})]})}),l3=()=>(0,i.jsx)(l5,{});var l6=n(12869),l8=function(e){return e.InteractiveContent="format.interactivecontent",e.ELearning="format.elearning",e.Podcast="format.podcast",e.EBook="format.ebook",e.Symposia="format.symposia",e.SlideDeck="format.slidedeck",e.Publications="format.publications",e.PrintableResources="format.printableresources",e.Poster="format.poster",e.Faq="format.faq",e.Brochure="format.brochure",e.WebinarWebcast="format.webinarwebcast",e.SelfDetailing="format.selfdetailing",e.MedicalMaterial="format.medicalmaterial",e.Interview="format.interview",e}({});h.Sx.light,(0,u.oU)(h._I.main),h.Sx.dark,(0,u.oU)(h._I.dark),h.Sx.light,h.U4.textPrimary,h.Sx.dark,h.kd.white;let l9={[i1.xQ.Content]:M.B.CommonFileText,[i1.xQ.Movie]:M.B.Meeting,[i1.xQ.Serie]:M.B.LayersBack,[i1.xQ.Video]:M.B.Meeting},l7={[l8.InteractiveContent]:M.B.SchoolInteractiveWhiteboard,[l8.ELearning]:M.B.ELearning,[l8.Podcast]:M.B.Podcast,[l8.EBook]:M.B.EBook,[l8.Symposia]:M.B.Symposia,[l8.SlideDeck]:M.B.SlideDeck,[l8.Publications]:M.B.Publication,[l8.PrintableResources]:M.B.PrintableResources,[l8.Poster]:M.B.Poster,[l8.Faq]:M.B.Faq,[l8.Brochure]:M.B.Brochure,[l8.WebinarWebcast]:M.B.WebinarWebcast,[l8.SelfDetailing]:M.B.SelfDetailing,[l8.MedicalMaterial]:M.B.MedicalMaterial,[l8.Interview]:M.B.Interview};var se=n(65987);let st={[i1.xQ.Content]:"bookmark_type_content",[i1.xQ.Movie]:"bookmark_type_movie",[i1.xQ.Serie]:"bookmark_type_serie",[i1.xQ.Video]:"bookmark_type_video"},sn={[i1.zX.Content]:"bookmark_link_type_content",[i1.zX.Metadata]:"bookmark_link_type_metadata",[
1i1.zX.Video]:"bookmark_link_type_video"},si=e=>{let{item:t,theme:n=h.Sx.light}=e,{neuroflixSlug:a}=(0,l.useContext)(iq.M),o=((e,t)=>{let{params:n}=(0,nm.sq)(),i=Object.fromEntries(n.entries()),{t:a}=(0,P.A)(),o=null==e?void 0:e.contentData,{episodeLink:r,seriesLink:s}=(0,iN.e)({item:o,seriesSlug:o.seriesSlug,neuroflixSlug:t}),c=l9[e.bookmarkType]?l9[e.bookmarkType]:M.B.CommonFileText;return(0,l.useMemo)(()=>{var t,n,o,l,d,u;let v,{contentId:p}=e;switch(null==e?void 0:e.contentType){case i1.oQ.MediaCardItem:return v=e.contentData,{id:p,href:(0,se.VM)(i,e.bookmarkData.link,e.contentId),tagIcon:c,tagLabel:a(st.video),title:v.displayedTitle||v.title||"",type:e.bookmarkType,linkTitle:a(sn.video)};case i1.oQ.MediaCardItemV2:if((v=e.contentData).brightcoveVideoId)return{id:p,href:(0,se.VM)(i,e.bookmarkData.link,e.contentId),tagIcon:c,tagLabel:a(st.video),title:v.title||"",type:e.bookmarkType,linkTitle:a(sn.video)};return{id:p,href:e.bookmarkData.link,tagIcon:M.B.CommonFileText,tagLabel:a(st.content),title:v.title||"",type:i1.xQ.Content,linkTitle:a(sn.content)};case i1.oQ.Page:{let{metaDataV2:i}=(v=e.contentData).fields,o=null==i||null==(t=i.fields.format)?void 0:t.fields.resources,r={id:p,href:e.bookmarkData.link,title:v.fields.displayedTitle||(null==(n=v.fields.template.fields)?void 0:n.title)||"",type:e.bookmarkType,contentName:"Page"};return Array.isArray(o)&&1===o.length?(r.tagIcon=l7[o[0].fields.key]||c,r.tagLabel=o[0].fields.value,r.linkTitle=a(sn.metadata)):(r.tagIcon=c,r.tagLabel=a(st.content),r.linkTitle=a(sn.content)),r}case i1.oQ.VideoBannerItem:return v=e.contentData,{id:p,href:(0,se.VM)(i,e.bookmarkData.link,e.contentId),tagIcon:c,tagLabel:a(st.video),title:v.displayedTitle||v.title||"",type:e.bookmarkType,contentName:"VideoBannerItem",linkTitle:a(sn.video)};case i1.oQ.VideoPlayerItem:return v=e.contentData,{id:p,href:(0,se.VM)(i,e.bookmarkData.link,e.contentId),tagIcon:c,tagLabel:a(st.video),title:(null==(o=v.videoData)?void 0:o.displayedTitle)||(null==(l=v.videoData)?void 0:l.title)||"",type:e.bookmarkType,contentName:"VideoPlayerItem",linkTitle:a(sn.video)};case i1.oQ.VideoData:return v=e.contentData,{id:p,href:e.bookmarkData.scopes[0]===i1.lF.Global?e.bookmarkData.link:r,tagIcon:c,tagLabel:a(st.movie),title:v.displayedTitle||v.title||"",type:e.bookmarkType,contentName:"VideoData",linkTitle:a(sn.video)};case i1.oQ.VideoSeriesData:return v=e.contentData,{id:p,href:s,tagIcon:c,tagLabel:a(st.serie),title:v.displayedTitle||v.title||"",type:e.bookmarkType,contentName:"VideoSeriesData",linkTitle:a(sn.video)};case i1.oQ.VideoThumbnailItem:return v=e.contentData,{id:p,href:(0,se.VM)(i,e.bookmarkData.link,e.contentId),tagIcon:c,tagLabel:a(st.video),title:(null==(d=v.videoData)?void 0:d.displayedTitle)||(null==(u=v.videoData)?void 0:u.title)||"",type:e.bookmarkType,contentName:"VideoThumbnailItem",linkTitle:a(sn.video)};default:return}},[r,e,i,s,a,c])})(t,a),r=(0,t_.A)(),s=(0,l.useCallback)(()=>{o&&r({category:th.$0.Bookmark,action:"click_section",label:"".concat(o.type,"|").concat(o.contentName,"|").concat(o.id)})},[o,r]);if(!(null==o?void 0:o.title)||!(null==o?void 0:o.href))return null;let c=(0,i.jsx)(l6.b,{color:lE.F[n],content:o.title,weight:h.BO.SemiBold});return(0,i.jsx)(au.A,{theme:n,markdownTitle:c,tagIcon:o.tagIcon,tagLabel:o.tagLabel||"",contentLink:o.href,hoverShadow:!0,onClick:s,linkTitle:o.linkTitle,borderRadius:h.Z6.Small})};var sa=n(9016),so=n(64668),sr=n(98861),sl=n(7274),ss=n(50559);let sc=e=>{let{contentTypes:t,icon:n,scope:o,sectionTheme:r,theme:s,title:c,noBookmarksTitle:d,noBookmarksItem:u,customColors:v}=e,{bookmarkWidgetNeuroflixMulti300123:m,bookmarkWidgetGlobalMulti300123:g}=(0,a.D0)(),{currentUser:b}=(0,Y.yj)(),{openModal:f}=(0,so.y)(),y=(0,ap.H)(),x=s||r||y,w=x===h.Sx.light?h.U4.textPrimary:h.U4.textPrimaryReverse,{columns:C,isLoading:A,slides:R}=((e,t)=>{(0,z.A)();let n=(0,ar.m)(),{bookmarks:i,isLoading:a}=(0,i0.Ay)(e,t,50),o=(0,l.useMemo)(()=>Array.isArray(i)&&n?ao()(i,n):[],[i,n]);return{columns:n,isLoading:a,slides:o}})(t,o),{sectionInstances:k}=(0,l.useContext)(iq.M),j=o===i1.lF.Neuroflix?m:g;(0,l.useEffect)(()=>
1{if(j){var e;null==(e=k.current)||e.forEach(e=>(0,se.ny)(e,t,o,se.W5.Bookmark))}},[t,j,o,k,R]);let W=[(0,i.jsx)(ai.T,{columns:"4",children:(0,i.jsx)(sl.U,{theme:x,cardVariant:sr.N.SkeletonCard})},(0,at.A)())];if(!j||!b)return null;if(A)return(0,i.jsx)(an.A,{count:0,icon:n,iconColor:w,title:c,theme:x,titleSize:_.u.Small,customColors:v,children:W});if(!(null==R?void 0:R.length)||!C)return d||u?(0,i.jsxs)(p.A,{style:{...v},margin:{bottom:h.or.Xxlarge},children:[d&&(0,i.jsx)(V.A,{margin:{bottom:h.or.Large},level:3,children:d}),u&&(0,i.jsx)(sa.A,{...(0,ss.xF)(u,{openModal:f})})]}):null;let I=R.flat().length;return(0,i.jsx)(an.A,{count:I,icon:n,iconColor:w,title:c,theme:x,titleSize:_.u.Small,customColors:v,children:R.map(e=>(0,i.jsx)(ai.T,{columns:C.toString(),children:e.map(e=>(0,i.jsx)(si,{item:e,theme:x},(0,at.A)()))},(0,at.A)()))})};var sd=n(69959),su=n.n(sd),sv=n(38051);let sp=(e,t)=>window.getComputedStyle(e).getPropertyValue("--".concat(t)).replace(/^#/,""),sm=e=>{let{calendlyLink:t,embedOptions:n,customColors:a}=e,o=(0,l.useRef)(null);return((e,t,n)=>{let[i,a]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let o=setInterval(()=>{var r;let l=null==(r=window)?void 0:r.Calendly;e.current&&!i&&(e=>!!e&&"object"==typeof e&&"initInlineWidget"in e)(l)&&(a(!0),l.initInlineWidget({url:((e,t,n)=>{let i=new URL(e);return(null==t?void 0:t.hideCookieBanner)&&i.searchParams.set("hide_gdpr_banner","1"),(null==t?void 0:t.hideEventDetails)&&(i.searchParams.set("hide_landing_page_details","1"),i.searchParams.set("hide_event_type_details","1")),n&&(i.searchParams.set("text_color",sp(n,h.U4.textPrimary)),i.searchParams.set("background_color",sp(n,h._I.main)),i.searchParams.set("primary_color",sp(n,h.U4.primary))),i.toString()})(t,n,e.current),parentElement:e.current,resize:!0}),clearInterval(o))},1e3);return()=>clearInterval(o)},[t,n,i,e])})(o,t,n),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{ref:o,style:a}),(0,sv.createPortal)((0,i.jsx)(su(),{async:!0,src:"https://assets.calendly.com/assets/external/widget.js"}),window.document.documentElement,"calendly-widget")]})};function sg(){let e=(0,s._)(["\n margin-top: ",";\n padding: "," ;\n "]);return sg=function(){return e},e}function s_(){let e=(0,s._)(["\n flex-direction: row;\n "]);return s_=function(){return e},e}function sh(){let e=(0,s._)(["\n margin-bottom: 0;\n margin-right: ",";\n "]);return sh=function(){return e},e}let sb=(0,c.Ay)(lE.A).withConfig({componentId:"sc-87b04b90-0"})(["padding:",";margin-top:",";height:unset;",";"],_.py.medium,_.py.large,g.$_.sm(sg(),_.py.large,_.py.large)),sf=(0,c.Ay)(p.A).withConfig({componentId:"sc-87b04b90-1"})(["display:flex;flex-direction:column;width:100%;",";"],g.$_.sm(s_())),sy=(0,c.Ay)(U.A).withConfig({componentId:"sc-87b04b90-2"})(["flex-shrink:0;height:",";width:",";margin-right:",";",";"],(0,m.a)(64),(0,m.a)(64),_.py.small,g.$_.sm(sh(),_.py.medium));var sx=n(44551);let sw=(0,c.AH)(["padding:",";border-radius:",";border:"," solid ",";"],_.py.small,(0,m.a)(8),_.$X.medium,(0,u.oU)(h.kd.grey4)),sC=(0,c.Ay)(lt.A).withConfig({componentId:"sc-44ecb267-0"})(["",";","{> div{margin-top:0;}};"," p{","};"],e=>{let{$withTeaser:t}=e;return!t&&sw},eH.$P,eH._e,(0,b.ny)(h.Z4.Small)),sA=(0,c.Ay)(V.A).withConfig({componentId:"sc-44ecb267-1"})(["align-self:center;"]),sR=e=>{let{checked:t,description:n,onChange:a,title:o,analyticsTitle:r,image:l,withTeaser:s=!0}=e,c=(0,o2.Ay)(o2.Pi.small),d=(0,t_.A)();return(0,i.jsxs)(p.A,{display:h.nl.Flex,direction:h.HO.column,children:[(0,i.jsxs)(p.A,{direction:h.HO.row,margin:s?void 0:{bottom:h.or.Medium},children:[l&&!s&&(0,i.jsx)(sy,{src:l.url,alt:l.description,objectFit:"contain"}),(0,i.jsx)(sA,{color:h.U4.textPrimary,level:2,margin:s?{bottom:c?h.or.Xsmall:h.or.Small}:void 0,size:_.u.Small,children:o})]}),(0,i.jsx)(sC,{checked:t,description:n,id:(0,at.A)(),onChange:async e=>{var n;return n=!t,void(a&&a(n),d({event:th.XN.Custom,category:th.$0.BLComunications,label:r,action:"Click Optin"}))},$withTeaser:s})]})},sk=e=>{let{displayOnlyForNonConsentedUser:t,onetrustLinker:n,title:a,description:o,onChange:r,analyticsTitle:l,image:s,withTeaser:c=!0}=e,{isChecked:d,updateConsent:u}=(0,sx.A)(t),v=async e=>{await u(e),r&&r(e),n.update()};return(0,i.jsx)(sR,{checked:d,description:o,onChange:v,title:a,analyticsTitle:l,image:s,withTeaser:c})},sj=e=>{let{displayOnlyForNonConsentedUser:t,customColors:n}=e,{currentUser:a}=(0,Y.yj)();return!a||(null==a?void 0:a.marketingConsent)&&t?null:(0,i.jsx)(sb,{customColors:n,children:(0,i.jsx)(sf,{children:(0,i.jsx)(sk,{...e,analyticsTitle:"Without Preferences Teaser",withTeaser:!1})})})};function sW(){let e=(0,s._)(["\n padding-top: ",";\n "]);return sW=function(){return e},e}function sI(){let e=(0,s._)(["\n padding: ",";\n margin-top: ",";\n "]);return sI=function(){return e},e}function sS(){let e=(0,s._)(["\n top: -",";\n right: -",";\n width: ",";\n "]);return sS=function(){return e},e}function sT(){let e=(0,s._)(["\n object-position: bottom;\n top: unset;\n right: -",";\n bottom: -",";\n width: calc(100% - 60%);\n height: ",";\n "]);return sT=function(){return e},e}function sP(){let e=(0,s._)(["\n bottom: -",";\n "]);return sP=function(){return e},e}let sM=(0,c.Ay)(lE.A).withConfig({componentId:"sc-9c6d47eb-0"})(["position:relative;overflow:hidden;padding:"," "," "," ",";margin-top:",";",";",";"],(0,m.a)(120),_.py.medium,_.py.large,_.py.medium,_.py.large,g.$_.xs(sW(),(0,m.a)(150)),g.$_.sm(sI(),_.py.large,_.py.xlarge)),sU=(0,c.Ay)(U.A).withConfig({componentId:"sc-9c6d47eb-1"})(["position:absolute;overflow:hidden;object-position:top;top:-",";right:-",";width:",";height:",";",";",";",";"],(0,m.a)(55),(0,m.a)(15),(0,m.a)(205),(0,m.a)(200),g.$_.xs(sS(),(0,m.a)(45),(0,m.a)(20),(0,m.a)(250)),g.$_.sm(sT(),(0,m.a)(45),(0,m.a)(65),(0,m.a)(310)),g.$_.md(sP(),(0,m.a)(53)));function sD(){let e=(0,s._)(["\n max-width: 60%;\n min-height: ",";\n "]);return sD=function(){return e},e}function sV(){let e=(0,s._)(["\n margin-bottom: ",";\n "]);return sV=function(){return e},e}let sE=(0,c.Ay)(p.A).withConfig({componentId:"sc-3529a165-0"})(["width:100%;",";"],g.$_.sm(sD(),(0,m.a)(200))),sB=(0,c.Ay)(V.A).withConfig({componentId:"sc-3529a165-1"})(["",";"],e=>{let{$isChecked:t}=e;return!t&&"opacity: ".concat(_.e4.small)}),sF=(0,c.Ay)(p.A).withConfig({componentId:"sc-3529a165-2"})(["display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;column-gap:",";row-gap:",";margin-bottom:",";",";",";"],_.py.xxsmall,_.py.xxsmall,_.py.medium,e=>{let{$isChecked:t}=e;return!t&&"opacity: ".concat(_.e4.small)},g.$_.sm(sV(),_.py.large));
1var sz=n(93425),s$=n(46194);let sL=e=>{let{action:t,checked:n,tags:a,title:o}=e,r=(0,o2.Ay)(o2.Pi.small),l=(0,nr.useRouter)(),s=(0,t_.A)(),c=async()=>{s({event:th.XN.Custom,category:th.$0.Navigation,label:"".concat(t.link),action:"Widget Optin"}),t.link&&l.push(t.link)};return(0,i.jsxs)(sE,{margin:{top:h.or.Medium},children:[o&&(0,i.jsx)(sB,{$isChecked:n,color:h.U4.textPrimary,level:3,margin:{bottom:h.or.Small},size:_.u.Xsmall,children:o}),a&&0!==a.length&&(0,i.jsx)(sF,{$isChecked:n,children:a.map(e=>(0,i.jsx)(sz.A,{label:e,outline:!0,size:r?s$.Q.Small:s$.Q.Medium,variant:s$.q.Neutral},(0,at.A)()))}),(0,i.jsx)(ni.A,{ariaLabel:t.label,disabled:!n,fullWidth:r,label:t.label,onClick:c,localeToRedirect:t.localeToRedirect})]})},sO=e=>{let{action:t,image:n,teaserTags:a,teaserTitle:o,customColors:r}=e,[s,c]=(0,l.useState)(!1),{currentUser:d}=(0,Y.yj)();return!d||(null==d?void 0:d.marketingConsent)?null:(0,i.jsxs)(sM,{customColors:r,children:[(0,i.jsxs)(p.A,{display:h.nl.Flex,direction:h.HO.column,children:[(0,i.jsx)(sk,{...e,displayOnlyForNonConsentedUser:!0,onChange:e=>c(e),analyticsTitle:"With Preferences Teaser"}),(0,i.jsx)(sL,{action:t,checked:s,tags:a,title:o})]}),n&&(0,i.jsx)(sU,{src:n.url,alt:n.description,position:h.Hy.absolute,objectFit:"contain",width:"100%"})]})};var sN=n(55482);let sH=(0,c.Ay)(p.A).withConfig({componentId:"sc-9ecde9c8-0"})(["display:flex;border:"," solid ",";border-radius:",";width:100%;height:",";padding:"," ",";background-color:",";"],_.$X.medium,e=>{let{$theme:t}=e;return t===h.Sx.light?(0,u.oU)(h.kd.grey4):(0,u.oU)(h.kd.grey7)},_.Vq.medium,(0,m.a)(406),_.py.xlarge,_.py.large,e=>{let{$theme:t}=e;return t===h.Sx.light?(0,u.oU)(h._I.main):(0,u.oU)(h._I.night)}),sq=e=>{let{theme:t=h.Sx.light}=e,n=(0,z.A)(),{t:a}=(0,sN.A)(),o=t===h.Sx.light?h.U4.textPrimary:h.U4.textPrimaryReverse;return(0,i.jsxs)(sH,{display:h.nl.Flex,direction:n?h.HO.column:h.HO.row,$isMobile:n,$theme:t,align:n?h.zI.start:h.zI.center,justify:n?h.sx.center:void 0,children:[(0,i.jsx)(U.A,{src:d.G,alt:a("consumption_widget_empty_state_image_alt")||"Keep watching image",objectFit:"contain",width:(0,m.a)(96),height:(0,m.a)(64)}),(0,i.jsxs)(p.A,{margin:n?{top:h.or.Medium,bottom:h.or.Small}:{left:h.or.Medium},children:[(0,i.jsx)(V.A,{level:4,size:_.u.Xsmall,margin:{bottom:h.or.Xxsmall},color:o,children:a("consumption_widget_empty_state_heading")}),(0,i.jsx)(eA.A,{size:h.Z4.Small,weight:h.BO.Regular,color:o,content:a("consumption_widget_empty_state_description")})]})]})},sX={getVideoDataEpisodeItems:e=>{let t=[];for(let n=0;n<e.length;n+=1){let i=e[n],a=null==i?void 0:i.contentData;"videoData"===i.contentType&&(null==a?void 0:a.type)==="episode"&&t.push(a)}return t},hydrateItem:(e,t,n,i)=>{let{Neuroflix:a,Global:o}=i1.ym,{contentData:r,contentId:l,contentType:s,consumptionData:c}=e||{};switch(t){case a:{if(!c||!(null==r?void 0:r.slug))return null;let e=(0,aQ.cK)(r),t=e?n(e).toUpperCase():void 0,a=(e=>({...e,brightcoveVideoId:e.brightcoveId,image:e.images.card}))(r),o="episode"===r.type?(0,aQ.YT)(r.slug,i):(0,aQ.e8)(r.slug,i);return{...a,currentProgression:c.watchedTimestamp,docType:t,href:o,totalProgression:c.contentDuration}}case o:{if(!(null==c?void 0:c.link)||!e.contentId)return null;let t=((e,t)=>{var n,i,a,o,r,l,s;switch(e){case i1.pI.MediaCardItem:case i1.pI.MediaCardItemV2:return{...t,title:t.title||t.displayedTitle||""};case i1.pI.VideoBannerItem:return{...t,title:t.title||t.displayedTitle||"",brightcoveVideoId:null==t?void 0:t.brightcoveId,description:null==t?void 0:t.subtitle};case i1.pI.VideoPlayerItem:if(null==t?void 0:t.videoData)return{...null==t?void 0:t.videoData,title:(null==t||null==(n=t.videoData)?void 0:n.title)||(null==t||null==(i=t.videoData)?void 0:i.displayedTitle)||"",brightcoveVideoId:null==t||null==(a=t.videoData)?void 0:a.brightcoveId,image:null==t||null==(o=t.videoData)?void 0:o.images.card};return null;case i1.pI.VideoThumbnailItem:if(null==t?void 0:t.videoData)return{...null==t?void 0:t.videoData,title:(null==t||null==(r=t.videoData)?void 0:r.title)||(null==t?void 0:t.videoData.displayedTitle)||"",brightcoveVideoId:null==t||null==(l=t.videoData)?void 0:l.brightcoveId,image:null==t||null==(s=t.videoData)?void 0:s.images.card};return null;default:return null}})(s,r),n=(0,se.VM)({},c.link,l);if(!t||!n)return null;return{...t,currentProgression:c.watchedTimestamp,href:n,totalProgression:c.contentDuration}}default:return null}},findMatchingSerieInfo:(e,t)=>e.find(e=>(null==e?void 0:e.seriesSlug)===(null==t?void 0:t.seriesSlug)&&(null==e?void 0:e.slug)===(null==t?void 0:t.slug))};var sZ=n(53133);let sK=async(e,t)=>{let n=e.map(e=>
1e.seriesSlug).filter(Boolean),i=(await (0,n2.Fm)({content_type:"videoSeriesData","fields.slug[in]":n.join(","),include:4,locale:t})).items.map(e=>(0,ay.eu)(e)),a=[];for(let t=0;t<e.length;t+=1){let n={},o=e[t];if(o.slug||o.seriesSlug){let e=i.find(e=>e.seriesSlug===o.seriesSlug);null==e||e.seasons.forEach((e,t)=>{let i=e.episodes.findIndex(e=>e.slug===o.slug);if(-1!==i){let a=e.episodes[i],o=aY(t,i);n={seriesSlug:null==a?void 0:a.seriesSlug,slug:null==a?void 0:a.slug,text:o}}})}n.seriesSlug&&n.slug&&a.push(n)}return a},sJ=e=>{let{lang:t}=(0,P.A)(),[n,i]=(0,l.useState)([]);return(0,l.useEffect)(()=>{let n=async e=>{let n=await sK(e,t);n&&i(n)};e.length&&n(e)},[e,t]),n},sQ=e=>{let{contentTypes:t,scope:n,sectionTheme:a,theme:o,title:r,customColors:s}=e,c=(0,ap.H)(),d=(0,z.A)(),{neuroflixSlug:u}=(0,l.useContext)(iq.M),{columns:v,router:m,findSerieInfo:g,slides:b,t:f,handleClick:y,renderEvent:x,isLoading:w}=((e,t,n)=>{let{t:i}=(0,P.A)(),a=(0,nr.useRouter)(),o=(0,z.A)(),r=(0,ar.m)({lg:3}),s=(0,t_.A)(),{consumptions:c,isLoading:d}=(0,sZ.Ay)(e,t,o?6:16),u=sJ((0,l.useMemo)(()=>sX.getVideoDataEpisodeItems(c),[c])),v=(0,l.useCallback)(e=>sX.hydrateItem(e,t,i,n),[t,i,n]),p=(0,l.useCallback)(e=>sX.findMatchingSerieInfo(u,e),[u]),m=(0,l.useMemo)(()=>{let e=c.map(v).filter(Boolean);return Array.isArray(e)&&r?ao()(e,r):[]},[c,r,v]);return{columns:r,findSerieInfo:p,isLoading:d,router:a,slides:m,t:i,handleClick:(0,l.useCallback)((e,t,n)=>{s({category:th.$0.KeepWatching,action:"click",label:"".concat(e,"|").concat(t,"|").concat(n)})},[s]),renderEvent:(0,l.useCallback)(()=>{s({category:th.$0.KeepWatching,action:"Impression",label:"/"})},[s])}})(t,n,u),{currentUser:C}=(0,Y.yj)(),A=o||a||c;if(!C)return null;let R=[(0,i.jsx)(ai.T,{columns:"3",children:(0,i.jsx)(sl.A,{theme:A,cardVariant:sr.N.SkeletonImageCard})},(0,at.A)())];return w?(0,i.jsx)(an.A,{title:r,theme:A||h.Sx.light,titleSize:_.u.Small,customColors:s,children:R}):(null==b?void 0:b.length)&&v?(0,i.jsx)(an.A,{title:r,theme:A,onEventAnalytic:x,titleSize:_.u.Small,customColors:s,children:b.map((e,t)=>(0,i.jsx)(ai.T,{columns:v.toString(),children:e.map(e=>{var t;return(0,i.jsx)(aJ.A,{brightcoveVideoId:e.brightcoveVideoId,currentProgression:null==e?void 0:e.currentProgression,description:e.description,docType:e.docType,duration:e.duration,durationLabel:f("general_minutes_short"),href:e.href,image:e.image,onClickPlay:()=>e.href&&m.push(e.href),seriesInformation:null==(t=g(e))?void 0:t.text,tags:e.tags,title:e.title,theme:A,totalProgression:e.totalProgression,onClick:()=>y(null==e?void 0:e.docType,null==e?void 0:e.title,null==e?void 0:e.brightcoveVideoId)},e.contentId)})},"consumptionSlider-".concat(t)))}):(0,i.jsxs)(p.A,{style:{...s},children:[(0,i.jsx)(V.A,{color:A===h.Sx.light?h.U4.textPrimary:h.U4.textPrimaryReverse,level:4,size:_.u.Small,margin:d?{bottom:h.or.Large}:{bottom:h.or.Xlarge},children:r}),(0,i.jsx)(sq,{theme:A})]})};var sY=n(24335);function sG(){let e=(0,s._)(["\n padding: ",";\n "]);return sG=function(){return e},e}function s0(){let e=(0,s._)(["\n margin-bottom: ",";\n "]);return s0=function(){return e},e}function s1(){let e=(0,s._)(["\n padding: "," ",";\n "]);return s1=function(){return e},e}function s2(){let e=(0,s._)(["\n margin: 0 0 "," 0;\n "]);return s2=function(){return e},e}function s4(){let e=(0,s._)(["\n margin: 0 0 "," 0;\n "]);return s4=function(){return e},e}function s5(){let e=(0,s._)(["\n margin-bottom: ",";\n "]);return s5=function(){return e},e}function s3(){let e=(0,s._)(["\n margin: 0 0 "," 0;\n "]);return s3=function(){return e},e}function s6(){let e=(0,s._)(["\n grid-template-columns: repeat( 2,minmax(auto,1fr) );\n grid-gap: ",";\n "]);return s6=function(){return e},e}function s8(){let e=(0,s._)(["\n grid-template-columns: repeat( 2,minmax(auto,1fr) );\n "]);return s8=function(){return e},e}let s9=(0,c.Ay)(p.A).withConfig({componentId:"sc-6fe87d9a-0"})(["padding:",";",""],_.py.medium,g.$_.md(sG(),_.py.large)),s7=(0,c.Ay)(p.A).withConfig({componentId:"sc-6fe87d9a-1"})(["display:flex;align-items:center;margin-bottom:",";",""],_.py.medium,g.$_.md(s0(),_.py.large)),ce=c.Ay.a.withConfig({componentId:"sc-6fe87d9a-2"})(["cursor:pointer;padding:"," ",";",";"],_.py.small,_.py.xxsmall,g.$_.md(s1(),_.py.small,_.py.xxsmall)),ct=c.Ay.form.withConfig({componentId:"sc-6fe87d9a-3"})(["display:block;margin-bottom:",";",";"],_.py.large,g.$_.md(s2(),_.py.xlarge)),cn=(0,c.Ay)(p.A).withConfig({componentId:"sc-6fe87d9a-4"})(["margin:0 0 "," 0;",";"],_.py.large,g.$_.md(s4(),_.py.xlarge)),ci=(0,c.Ay)(p.A).withConfig({componentId:"sc-6fe87d9a-5"})(["margin:0 0 "," 0;",";"],_.py.large,g.$_.md(s5(),_.py.xlarge)),ca=(0,c.Ay)(eA.A).withConfig({componentId:"sc-6fe87d9a-6"})(["margin:0 0 "," 0;"],_.py.small),co=(0,c.Ay)(V.A).withConfig({componentId:"sc-6fe87d9a-7"})(["margin:0 0 "," 0;",""],_.py.small,g.$_.md(s3(),_.py.medium)),cr=(0,c.Ay)(p.A).withConfig({componentId:"sc-6fe87d9a-8"})(["display:grid;margin-bottom:",";padding-bottom:",";grid-gap:",";border-bottom:"," solid ",";",""],_.py.small,_.py.medium,_.py.small,_.$X.medium,(0,u.oU)(h.kd.grey4),g.$_.md(s6(),_.py.large)),cl=(0,c.Ay)(p.A).withConfig({componentId:"sc-6fe87d9a-9"})(["display:-webkit-flex;-webkit-align-items:flex-end;flex-direction:column;"]),cs=(0,c.Ay)(p.A).withConfig({componentId:"sc-6fe87d9a-10"})(["display:flex;flex-direction:column;",""],g.$_.md(s8())),cc=(0,c.Ay)(p.A).withConfig({componentId:"sc-6fe87d9a-11"})(["&:not(:last-child){margin-bottom:",";}"],_.py.small);var cd=n(36210),cu=n.n(cd);n(15343);let cv="".concat(d.nE,"/icons/chevron-right-gray.svg"),cp="".concat(d.nE,"/icons/chevron-left-gray.svg"),cm=(0,c.Ay)(p.A).withConfig({componentId:"sc-cd5fcda4-0"})([""," border:"," solid ",";border-radius:",";padding:"," calc(("," * 2) + ",") "," ",";font-weight:",";transition:border-color 300ms ease;background-color:",";color:",";font-family:inherit;outline:none;"," "," &:hover{box-shadow:",";}"],(0,b.ny)(h.Z4.Small),_.$X.medium,(0,u.oU)(h.kd.grey7),_.Vq.small,_.py.xsmall,_.py.xsmall,_.py.small,_.py.xsmall,_.py.xsmall,h.BO.Regular,(0,u.oU)(h._I.main),(0,u.oU)(h.U4.textPrimary),e=>{let{$disabled:t}=e;return t&&"\n color: ".concat((0,u.oU)(h.v_.content),";\n background-color: ").concat((0,u.oU)(h.v_.background),";\n border-color: ").concat((0,u.oU)(h.v_.borderLight),";
1\n cursor: not-allowed;\n ")},e=>{let{$open:t}=e;return t&&"\n border-color: ".concat((0,u.oU)(h.U4.primary),";\n ")},e=>{let{$disabled:t}=e;return t?_.MS.none:_.MS.small}),cg=(0,c.Ay)(p.A).withConfig({componentId:"sc-cd5fcda4-1"})([".react-datepicker-popper{z-index:1019;margin-top:",";}.react-datepicker__navigation{top:",";padding:",";border:none;background-color:#7f7f7f;background-size:contain;&:focus{outline:none;border-radius:",";border:"," solid ",";}&.react-datepicker__navigation--next{right:",";background:url(",") no-repeat center center;}.react-datepicker__navigation-icon--next,.react-datepicker__navigation-icon--previous{&::before{display:none;}}&.react-datepicker__navigation--previous{left:",";background:url(",") no-repeat center center;&:before{display:none;}}}.react-datepicker{border:none;box-shadow:",";}.react-datepicker__triangle{display:none;}.react-datepicker__header{background-color:",";border:none;padding:"," "," 0;}.react-datepicker__current-month{"," font-family:inherit;font-weight:",";color:",";margin-bottom:",";}.react-datepicker__day-names{display:flex;flex-flow:row nowrap;justify-content:space-between;> div{margin:0 ",";&:first-of-type{margin-left:0;}&:last-of-type{margin-right:0;}}}.react-datepicker__day-name{"," font-family:inherit;font-weight:",";color:",";width:",";height:",";margin:0;}.react-datepicker__month{margin:0;padding:"," "," ",";}.react-datepicker__week{display:flex;flex-flow:row nowrap;justify-content:space-between;margin-bottom:",";&:last-of-type{margin-bottom:0;}> div{margin:0 ",";&:first-of-type{margin-left:0;}&:last-of-type{margin-right:0;}}}.react-datepicker__day{"," font-family:inherit;font-weight:",";color:",";line-height:calc("," - 2px);width:",";height:",";margin:0;border-radius:",";border:"," solid transparent;transition:all .2s ease;&:hover{border-radius:",";background-color:",";border:"," solid ",";}&:focus{outline:none;border-radius:",";border:"," solid ",";}}.react-datepicker__day--selected{color:",";border-radius:",";background-color:",";border:"," solid ",";&:hover{color:",";background-color:",";border:"," solid ",";}}.react-datepicker__day--keyboard-selected{border:"," solid ",";background-color:transparent;}.react-datepicker__day--today{color:",";&.react-datepicker__day--selected{color:",";}}.react-datepicker__day--outside-month{color:",";}"],_.py.xxxsmall,(0,m.a)(10),_.py.small,_.Vq.round,_.$X.medium,(0,u.oU)(h.U4.primaryDarker),_.py.xxsmall,cv,_.py.xxsmall,cp,_.MS.medium,(0,u.oU)(h._I.main),_.py.small,_.py.small,(0,b.ny)(h.Z4.Xsmall),h.BO.Medium,(0,u.oU)(h.U4.textSecondary),_.py.xsmall,(0,m.a)(3),(0,b.ny)(h.Z4.Xsmall),h.BO.Regular,(0,u.oU)(h.U4.textSecondaryReverse),(0,m.a)(24),(0,m.a)(24),_.py.xsmall,_.py.small,_.py.small,_.py.xxsmall,(0,m.a)(3),(0,b.ny)(h.Z4.Xsmall),h.BO.Regular,(0,u.oU)(h.U4.textSecondary),(0,m.a)(24),(0,m.a)(24),(0,m.a)(24),_.Vq.round,_.$X.medium,_.Vq.round,(0,u.oU)(h.kd.grey2),_.$X.medium,(0,u.oU)(h.kd.grey2),_.Vq.round,_.$X.medium,(0,u.oU)(h.U4.primaryDarker),(0,u.oU)(h.kd.white),_.Vq.round,(0,u.oU)(h.U4.primary),_.$X.medium,(0,u.oU)(h.U4.primary),(0,u.oU)(h.kd.white),(0,u.oU)(h.U4.primary),_.$X.medium,(0,u.oU)(h.U4.primary),_.$X.medium,(0,u.oU)(h.U4.primaryDarker),(0,u.oU)(h.U4.textPrimary),(0,u.oU)(h.U4.textPrimaryReverse),(0,u.oU)(h.kd.grey3)),c_=(0,c.Ay)(v.A).withConfig({componentId:"sc-cd5fcda4-2"})(["position:absolute;top:50%;right:",";transition:all .2s ",";transform:translateY(-50%) rotate(",");pointer-events:none;"],_.py.xsmall,e=>{let{$isOpen:t}=e;return t?"ease-in":"ease-out"},e=>{let{$isOpen:t}=e;return t?"180deg":"0"});Object.values(oR.IB).forEach(e=>{(0,cd.registerLocale)(e.language,e.datefns)});let ch=e=>{let{selectedDate:t,onChange:n,label:a,id:o,disabled:r=!1,dateFormat:s}=e,[c,d]=(0,l.useState)(!1),{register:u,setValue:v}=(0,ii.xW)()||{},{lang:p}=(0,P.A)();return(0,l.useEffect)(()=>{v&&v(o,{value:t.toDateString()})},[o,v,t]),(0,i.jsxs)(cg,{direction:h.HO.column,children:[a&&(0,i.jsx)(eW.A,{htmlFor:o,disabled:r,children:a}),(0,i.jsx)(cu(),{customInput:(0,i.jsx)(e=>{let{ref:t,value:n,onClick:a}=e;return(0,i.jsxs)(cm,{$disabled:r,$open:c,onClick:a,width:"100%",...u?u(o):t,children:[n,(0,i.jsx)(c_,{$isOpen:c,color:h.k
1d.grey9,icon:M.B.ChevronDown,size:h.or.Small})]})},{}),disabled:r,dateFormat:s,id:o,locale:p,onChange:e=>{v&&v(o,{value:e.toDateString()}),n&&n(e)},onCalendarOpen:()=>{d(!0)},onCalendarClose:()=>{d(!1)},selected:t})]})},cb=(0,l.memo)(e=>{let{id:t,options:n,selectedValue:a,remove:o,dateFormat:r}=e,[s,c]=(0,l.useState)(new Date),[d,u]=(0,l.useState)(a),{t:v,lang:m}=(0,P.A)(),{unregister:g}=(0,ii.xW)();(0,l.useEffect)(()=>()=>{g("appointment_date_".concat(t)),g("appointment_time_".concat(t))},[t,g]);let _=0===t;return(0,i.jsxs)(i.Fragment,{children:[_?null:(0,i.jsx)(cl,{margin:{bottom:h.or.Xxsmall},children:(0,i.jsx)(p.A,{margin:{right:h.or.Xxsmall},children:(0,i.jsx)(D.A,{type:h.VQ.button,variant:h.b4.Secondary,onClick:e=>o(e,t),ariaLabel:v("contact_form_appointment_delete_button_label"),withIcon:M.B.Close,iconPosition:M.c.Left,label:v("contact_form_appointment_delete_button_label"),lowercase:!0})})}),(0,i.jsxs)(cr,{children:[(0,i.jsx)(ch,{label:v("contact_form_date_label"),id:"appointment_date_".concat(t),onChange:e=>{c(e)},selectedDate:s,dateFormat:r||("en-US"===m?"MM/dd/yyyy":"dd/MM/yyyy")}),(0,i.jsx)(oL.A,{label:v("contact_form_hour_label"),id:"appointment_time_".concat(t),options:n,placeholder:"",onChange:e=>{u(e)},selectedValue:d})]})]})}),cf=e=>{let{availableFrom:t,availableTo:n,dateFormat:a}=e,o=((e,t)=>{let n=e?Number(e.slice(0,2)):8,i=t?Number(t.slice(0,2)):17,a=e?Number(e.slice(3,5)):0,o=t?Number(t.slice(3,5)):45,r=[],l=["00","15","30","45"];for(let e=n;e<i+1;e+=1)e===n?l.forEach(t=>{if(Number(t)>=a){let n="".concat(e<10?"0":"").concat(e,":").concat(t);r.push({label:n,value:n})}}):e===i?l.forEach(t=>{if(Number(t)<=o){let n="".concat(e<10?"0":"").concat(e,":").concat(t);r.push({label:n,value:n})}}):l.forEach(t=>{let n="".concat(e<10?"0":"").concat(e,":").concat(t);r.push({label:n,value:n})});return r})(t,n),[r,s]=(0,l.useState)([{id:0,options:o}]),{t:c}=(0,P.A)(),d=(e,t)=>{let n;if(e.preventDefault(),t||0===t)n=r.filter(e=>e.id!==t);else{let e=Math.max(...r.map(e=>e.id))+1;n=[...r,{id:e,options:o}]}s(n)};return(0,i.jsxs)(ci,{children:[(0,i.jsx)(V.A,{level:6,margin:{bottom:h.or.Xxsmall},children:c("contact_form_appointment_select_title")}),(0,i.jsx)(ca,{size:h.Z4.Xsmall,content:c("contact_form_appointment_select_description")}),(0,i.jsx)(p.A,{children:r.map(e=>{let{id:t,options:n}=e;return(0,i.jsx)(cb,{id:t,options:n,selectedValue:n[0],remove:d,dateFormat:a},t)})}),(0,i.jsx)(cl,{margin:{bottom:h.or.Xxsmall},children:(0,i.jsx)(p.A,{margin:{right:h.or.Xxsmall},children:(0,i.jsx)(D.A,{type:h.VQ.button,variant:h.b4.Secondary,onClick:d,ariaLabel:c("contact_form_appointment_add_button_label"),withIcon:M.B.Add,iconPosition:M.c.Left,label:c("contact_form_appointment_add_button_label"),lowercase:!0})})})]})};var cy=function(e){return e.COMMERCIALS="commercial_referent",e.DOCTORS="medical_referent",e.VIRTUALDOCTORS="virtual_medical_referent",e.VIRTUALCOMMERCIALS="virtual_commercials_referent",e}({}),cx=function(e){return e.COMMERCIALS="commercial_referent_contact_form_title_dropdown",e.DOCTORS="medical_referent_contact_form_title_dropdown",e.VIRTUALCOMMERCIALS="virtual_commercial_referent_contact_form_title_dropdown",e.VIRTUALDOCTORS="virtual_doctors_referent_contact_form_title_dropdown",e}({}),cw=function(e){return e.phone="phone",e.videoconferencing="videoconferencing",e.physical_appointment="physical_appointment",e}({});let cC=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>({label:e.computedName,value:e}))},cA=e=>{let{contacts:t,label:n,id:a,subjects:o}=e,{contactOptions:r,defaultContact:s,t:c}=(e=>{let t=cC(e),{t:n}=(0,P.A)();return{contactOptions:t,defaultContact:t[0],t:n}})(t),[d,u]=(0,l.useState)(s),[v,m]=(0,l.useState)(o[0]),g=c(n),_=c("contact_form_subject_label");return(0,i.jsxs)(cn,{children:[(0,i.jsx)(p.A,{margin:{bottom:h.or.Medium},children:(0,i.jsx)(oL.A,{id:"contact_".concat(a),label:c(n),options:r,onChange:e=>{u(e)},placeholder:g,selectedValue:d})}),(0,i.jsx)(p.A,{margin:{bottom:h.or.Medium},children:(0,i.jsx)(oL.A,{id:"theme_".concat(a),label:_,options:o,onChange:e=>{m(e)},placeholder:_,selectedValue:v})})]})},cR=(0,c.Ay)(p.A).withConfig({componentId:"sc-6b110f6a-0"})(["right:50%;"]),ck=e=>{let{content:t,children:n}=e,[a,o]=(0,l.useState)(!1);return(0,i.jsxs)(p.A,{onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:[n,(0,i.jsx)(p.A,{position:h.Hy.absolute,children:(0,i.jsx)(cR,{backgroundColor:h.k
1d.white,shadow:h.yb.Medium,position:h.Hy.relative,pad:h.or.Medium,margin:{top:h.or.Small},width:"385px",radius:h.Z6.Small,display:a?h.nl.Block:h.nl.None,zIndex:999,children:(0,i.jsx)(lr.A,{weight:h.BO.Regular,size:h.Z4.Small,content:t})})})]})},cj=e=>{let{title:t,tooltip:n}=e,{t:a}=(0,P.A)();return(0,i.jsxs)(s7,{direction:h.HO.row,align:h.zI.center,children:[(0,i.jsx)(V.A,{level:4,children:a(t)}),(0,i.jsx)(ce,{children:(0,i.jsx)(ck,{content:n,children:(0,i.jsx)(v.A,{icon:M.B.Info,size:h.or.Medium})})})]})},cW=e=>{let{formInstanceId:t,contactType:n,contactOptions:a}=e,{newContactOptions:o}={newContactOptions:Object.fromEntries((a||[]).map(e=>[e.toLowerCase().replace(/ /g,"_"),!1]))},{t:r}=(0,P.A)(),{setValue:s}=(0,ii.xW)(),[c,d]=(0,l.useState)(o);return 0===Object.keys(c).length?null:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(co,{level:6,children:r("contact_form_medium_select_title")}),(0,i.jsx)(cs,{children:Object.entries(c).map((e,a)=>{let[o,l]=e;return(0,i.jsx)(cc,{children:(0,i.jsx)(lt.A,{label:r("contact_form_option_".concat(o)),id:"medium_checkbox_".concat(t,"_").concat(n,"_").concat(o,"_").concat(a),checked:l,name:o,onChange:async e=>{((e,t)=>{d({...c,[e]:t}),s(e,t)})(o,!!e.target.checked)}})},o)})})]})};var cI=n(54397);function cS(){let e=(0,s._)(["\n mutation sendContactAppointmentFormMutation($contactAppointmentFormData: ContactAppointmentFormInput!) {\n sendContactAppointmentForm(contactAppointmentFormData: $contactAppointmentFormData)\n }\n"]);return cS=function(){return e},e}let cT=(0,tu.J1)(cS()),cP=(e,t)=>{let n=Object.keys(e).find(e=>e.match(t));return n?e[n].value:{}};var cM=function(e){return e.Doctors="Doctors",e.Commercials="Commercials",e.VirtualDoctors="Virtual Doctors",e.VirtualCommercials="Virtual Commercials",e.All="All",e.AllVirtual="All Virtual",e}({});let cU=e=>{let{contacts:t,contactType:n,subjects:a,bccRecipient:o,availableFrom:r,availableTo:s,dateFormat:c,showDate:d,contactOptions:u}=e,v=(0,l.useId)(),{t:m}=(0,P.A)(),[g]=(e=>{let{dateFormat:t,showDate:n}=e,{t:i,lang:a}=(0,P.A)(),[o,r]=(0,tv.n)(cT);return[async(e,r)=>{let l={email:cP(e,"contact").email,locale:"fr-FR",channels:[cw.phone,cw.videoconferencing,cw.physical_appointment].filter(t=>e[t]).map(e=>i("contact_form_option_".concat(e))),subject:[cP(e,"theme")],times:!1!==n?((e,t,n)=>{let i=[],a=[];return Object.entries(e).forEach(e=>{let[o,{value:r}]=e,{key:l,index:s}=(e=>{let[t,n,i]=e.match(/appointment_(date|time)_(\d*)/)||[];return t?{key:n,index:Number(i)}:{}})(o);if(void 0===s)return;i[s]||(i[s]={});let c=i[s];c["date"===l?"date":"time"]=r,c.date&&c.time&&(a[s]=(0,cI.A)(new Date("".concat(c.date," ").concat(c.time)),"".concat(n||("en-US"===t?"MM/dd/yyyy":"dd/MM/yyyy")," hh:mm")))}),a})(e,a,t):[],translations:["contactAppointmentFormEmail_title","contactAppointmentFormEmail_firstName","contactAppointmentFormEmail_lastName","contactAppointmentFormEmail_email","contactAppointmentFormEmail_channels","contactAppointmentFormEmail_times","contactAppointmentFormEmail_subject","contactAppointmentFormEmail_description","contactAppointmentFormEmail_titleForm","contactAppointmentFormEmail_disclaimerText","noReply_footer_privacy","noReply_footer_contact","noReply_footer_address","noReply_approval_number","noReply_date_of_prep"].map(e=>({key:e,value:i(e)})),bccRecipient:r||""};await o({variables:{contactAppointmentFormData:l}})},r]})({dateFormat:c,showDate:d}),_=(0,ii.mN)(),b=(0,t_.A)(),f=((e,t)=>{switch(e){case cM.Doctors:return{title:cy.DOCTORS,title_dropdown:cx.DOCTORS,tooltip:t("contact_form_medical_tooltip")};case cM.VirtualDoctors:return{title:cy.VIRTUALDOCTORS,title_dropdown:cx.VIRTUALDOCTORS,tooltip:t("contact_form_virtual_medical_tooltip")};case cM.VirtualCommercials:return{title:cy.VIRTUALCOMMERCIALS,title_dropdown:cx.VIRTUALCOMMERCIALS,tooltip:t("contact_form_virtual_commercial_tooltip")};case cM.Commercials:default:return{title:cy.COMMERCIALS,title_dropdown:cx.COMMERCIALS,tooltip:t("contact_form_commercial_tooltip")}}})(n,m),y=async e=>{var t;let n=Object.values(cw).filter(t=>!0===e[t]).join("|");b({event:th.XN.Custom,category:th.$0.AppointmentRequest,action:n,label:null==e||null==(t=e.theme_Doctors)?void 0:t.value});try{g(e,o),(0,T.o)({header:m("contactAppointmentForm_success"),description:m("contactAppointmentForm_success_description"),alertType:F._1.success})}catch(e){(0,T.o)({header:m("contactAppointmentForm_error"),description:m("contactAppointmentForm_error_description"),alertType:F._1.error})}};
1return(0,i.jsxs)(s9,{backgroundColor:h.kd.white,radius:h.Z6.Medium,shadow:h.yb.Medium,fontSize:h.Z4.Small,children:[(0,i.jsx)(cj,{...f}),(0,i.jsxs)(ii.Op,{..._,children:[(0,i.jsxs)(ct,{children:[(0,i.jsx)(cA,{contacts:t,label:f.title_dropdown,id:n,subjects:a}),d&&(0,i.jsx)(cf,{availableFrom:r,availableTo:s,dateFormat:c}),(0,i.jsx)(cW,{formInstanceId:v,contactType:n,contactOptions:u})]}),(0,i.jsx)(p.A,{width:"100%",justify:h.sx.center,children:(0,i.jsx)(ni.A,{ariaLabel:m("calendarModal_cancel_button"),type:h.VQ.button,label:m("contactAppointmentForm_send"),variant:h.Ak.Primary,onClick:_.handleSubmit(y)})})]})]})};function cD(){let e=(0,s._)(["\n query MyContacts($mdmId: String!) {\n getCommercialContacts(mdmId: $mdmId) {\n ","\n }\n }\n"]);return cD=function(){return e},e}var cV=function(e){return e.Commercials="ABM",e.Doctors="MSL",e.VirtualCommercials="Virtual ABM",e.VirtualDoctors="Virtual MSL",e}({});let cE=(0,tu.J1)(cD(),"\n firstName\n lastName\n email\n bu\n territoryTeam\n territoryName\n professionTitle\n homePhone\n mobilePhone\n positionStatus\n product\n territoryFlag\n title\n biibAbmName\n"),cB=e=>{let{type:t,contacts:n,subjects:a,bccRecipient:o,availableFrom:r,availableTo:l,dateFormat:s,showDate:c,contactOptionsMsl:d,contactOptionsAbm:u}=e,v=n.filter(e=>e.email),p=v.filter(e=>e.professionTitle===cV.Commercials),m=v.filter(e=>e.professionTitle===cV.Doctors),g=v.filter(e=>e.professionTitle===cV.VirtualCommercials),_=v.filter(e=>e.professionTitle===cV.VirtualDoctors),h=m.length>0,b=p.length>0,f=_.length>0,y=g.length>0;switch(t){case cM.Doctors:return h?(0,i.jsx)(cU,{contacts:m,contactType:t,subjects:a,bccRecipient:o,dateFormat:s,showDate:c,availableFrom:r,availableTo:l,contactOptions:d}):null;case cM.Commercials:return b?(0,i.jsx)(cU,{contacts:p,contactType:t,subjects:a,bccRecipient:o,dateFormat:s,showDate:c,availableFrom:r,availableTo:l,contactOptions:u}):null;case cM.All:return(0,i.jsxs)(i.Fragment,{children:[h?(0,i.jsx)(cU,{contacts:m,contactType:cM.Doctors,subjects:a,bccRecipient:o,dateFormat:s,showDate:c,availableFrom:r,availableTo:l,contactOptions:d}):null,b?(0,i.jsx)(cU,{contacts:p,contactType:cM.Commercials,subjects:a,bccRecipient:o,dateFormat:s,showDate:c,availableFrom:r,availableTo:l,contactOptions:u}):null]});case cM.VirtualDoctors:return f?(0,i.jsx)(cU,{contacts:_,contactType:t,subjects:a,bccRecipient:o,dateFormat:s,showDate:c,availableFrom:r,availableTo:l,contactOptions:d}):null;case cM.VirtualCommercials:return y?(0,i.jsx)(cU,{contacts:g,contactType:t,subjects:a,bccRecipient:o,dateFormat:s,showDate:c,availableFrom:r,availableTo:l,contactOptions:u}):null;case cM.AllVirtual:return(0,i.jsxs)(i.Fragment,{children:[f?(0,i.jsx)(cU,{contacts:_,contactType:cM.VirtualDoctors,subjects:a,bccRecipient:o,dateFormat:s,showDate:c,availableFrom:r,availableTo:l,contactOptions:d}):null,y?(0,i.jsx)(cU,{contacts:g,contactType:cM.VirtualCommercials,subjects:a,bccRecipient:o,dateFormat:s,showDate:c,availableFrom:r,availableTo:l,contactOptions:u}):null]});default:return null}},cF={"Senior Medical Science Liaison":"my_contacts_profession_senior_medical_science_liaison","Clinical Country Lead":"my_contacts_profession_clinical_country_lead","MSL Lead":"my_contacts_profession_msl_lead","Administrative Assistant":"my_contacts_profession_administrative_assistant","Principal Medical Science Liaison":"my_contacts_profession_principal_medical_science_liaison",Trainee:"my_contacts_profession_trainee",MLM:"my_contacts_profession_mlm",ABM:"my_contacts_profession_abm",KAM:"my_contacts_profession_kam",MSL:"my_contacts_profession_msl","Virtual MSL":"my_contacts_profession_virtual_msl","Virtual ABM":"my_contacts_profession_virtual_abm"},cz=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e===cM.Commercials?null==t?void 0:t.filter(e=>e.professionTitle===cV.Commercials):e===cM.Doctors?null==t?void 0:t.filter(e=>e.professionTitle===cV.Doctors):e===cM.All?null==t?void 0:t.filter(e=>e.professionTitle===cV.Doctors||e.professionTitle===cV.Commercials):e===cM.VirtualCommercials?null==t?void 0:t.filter(e=>e.professionTitle===cV.VirtualCommercials):e===cM.VirtualDoctors?null==t?void 0:t.filter(e=>e.professionTitle===cV.VirtualDoctors):e===cM.AllVirtual?null==t?void 0:t.filter(e=>e.professionTitle===cV.VirtualDoctors||e.professionTitle===cV.VirtualCommercials):[]};var c$=n(58909);let cL=(0,c.Ay)(p.A).withConfig({componentId:"sc-f71ddbdc-0"})(["padding-top:",";"],_.py.xlarge),cO=e=>{let{type:t,virtualType:n,title:a,description:o,columns:r,showForm:l,bccRecipient:s,formTitle:c,showIllustration:u=!1,showPhone:v,showTitle:m=!0,showTags:g=!0,showDate:_=!0,dateFormat:b,myContactsFormSubjects:f,reverseOrderOfName:y=!1,availableFrom
1:x,availableTo:w,phoneNumbersDisplay:C,contactNameSource:A,contactOptionsAbm:R,contactOptionsMsl:k,contactOptionsVirtualMsl:j,contactOptionsVirtualAbm:W,customColors:I}=e,{loading:S,filteredData:T,hasEmail:M,hasContacts:U,t:D}=((e,t,n,i)=>{let{t:a}=(0,P.A)(),{activeContacts:o,loading:r}=(()=>{let{currentUser:e}=(0,Y.yj)(),t=n1.IX?d.WE:null==e?void 0:e.mdmId,{data:n,loading:i}=(0,nd.IT)(cE,{variables:{mdmId:t},fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-first",skip:!t,context:{clientName:nl.g.veeva}});return{data:null==n?void 0:n.getCommercialContacts,activeContacts:null==n?void 0:n.getCommercialContacts.filter(e=>"Active"===e.positionStatus),loading:i}})(),l=[];if(o){let a=cz(e,o);l=(l=(l=[...cz(t,o),...a]).map(e=>({...e,lokaliseProfessionTitleKey:cF[e.professionTitle]||e.professionTitle}))).map(e=>({...e,computedName:(0,sY.QL)("",e.firstName,e.lastName,e.biibAbmName,n,i)}))}let s=l.filter(e=>e.email).length>0,c=l.length>0;return{t:a,filteredData:l,hasEmail:s,hasContacts:c,loading:r}})(t,n,y,A);return S?(0,i.jsx)(tf.Ay,{}):T&&U?(0,i.jsxs)(p.A,{style:{...I},children:[(0,i.jsx)(V.A,{level:3,margin:{vertical:h.or.Medium},children:a}),o?(0,i.jsx)(V.A,{level:4,margin:{bottom:h.or.Medium},children:o}):null,(0,i.jsx)(ai.T,{columns:r,children:T.map(e=>{let t=(0,sY.vS)(e.email,void 0,e.mobilePhone,e.homePhone,C),n=(0,sY.vS)(e.email,void 0,void 0,void 0,void 0),a=g?(0,sY.Hv)(e.bu,D):void 0,o=(0,sY.QL)(e.title,e.firstName,e.lastName,e.biibAbmName,y,A),l=e.professionTitle===cV.Commercials,s=e.professionTitle===cV.Doctors;return(0,i.jsx)(c$.A,{title:m?o:e.computedName,subtitle:D(e.lokaliseProfessionTitleKey),contactPoints:!1!==v?t:n,tags:a,showIllustration:u,isCommercial:l,isDoctor:s,columns:r},"".concat(e.firstName," ").concat(e.lastName))})}),l&&M&&f&&f.length>0?(0,i.jsxs)(cL,{children:[(0,i.jsx)(V.A,{level:3,margin:{vertical:h.or.Medium},children:c}),(0,i.jsxs)(ai.T,{columns:r,children:[(0,i.jsx)(cB,{bccRecipient:s,type:t,contacts:T,subjects:f,dateFormat:b,showDate:_,availableFrom:x,availableTo:w,contactOptionsMsl:k,contactOptionsAbm:R}),(0,i.jsx)(cB,{bccRecipient:s,type:n,contacts:T,subjects:f,dateFormat:b,showDate:_,availableFrom:x,availableTo:w,contactOptionsMsl:j,contactOptionsAbm:W})]})]}):null]}):null};function cN(){let e=(0,s._)(["\n width: ",";\n "]);return cN=function(){return e},e}let cH=_.py.small,cq=(0,c.Ay)(p.A).withConfig({componentId:"sc-9f59367e-0"})(["display:flex;flex-wrap:wrap;column-gap:",";"],cH),cX=(0,c.Ay)(p.A).withConfig({componentId:"sc-9f59367e-1"})(["width:100%;margin-bottom:",";display:flex;align-items:flex-end;> div{flex-grow:1;}",";"],_.py.small,g.$_.md(cN(),e=>{let{$layout:t}=e;return"half"===t?"calc(50% - ".concat(cH," / 2)"):"100%"})),cZ=e=>{let{formFields:t,onSuccess:n,loading:a,submitLabel:o}=e,{formState:r,handleSubmit:l}=(0,ii.xW)(),{isSubmitted:s,isValid:c,errors:d}=r,{t:u}=(0,P.A)(),v=(0,z.A)(),m=o||u("patientCard_buttonSubmit_label");return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(cq,{children:t.map(e=>{var t;return(0,i.jsx)(cX,{$layout:e.layout,children:(0,i.jsx)(iP.A,{invalid:!!d[e.id],label:e.label,name:e.id,placeholder:e.placeholder,required:[void 0,!0].includes(null==(t=e.validations)?void 0:t.required),showErrorMessage:!1,type:e.type})},"input-".concat(e.id))})}),(0,i.jsx)(p.A,{margin:{top:h.or.Medium},justify:h.sx.end,children:(0,i.jsx)(ti.A,{ariaLabel:m,disabled:s&&!c||!!Object.keys(d).length,fullWidth:v,label:m,loading:a,onClick:l(n)})})]})},cK=e=>{let{image:t,subtitle:n,title:a}=e;return(0,i.jsxs)(i.Fragment,{children:[(null==t?void 0:t.url)&&(0,i.jsx)(p.A,{margin:{bottom:h.or.Medium},children:(0,i.jsx)(U.A,{alt:t.title,height:(0,m.a)(96),src:t.url,width:(0,m.a)(96)})}),a&&(0,i.jsx)(p.A,{margin:{bottom:h.or.Xsmall},children:(0,i.jsx)(V.A,{level:3,size:_.u.Small,children:a})}),n&&(0,i.jsx)(eA.A,{content:n,size:h.Z4.Small})]})};var cJ=n(52954);function cQ(){let e=(0,s._)(["\n query patientCard (\n $contentId: String!,\n $formData: JSON!,\n $locale: String!,\n ) {\n patientCard(\n contentId: $contentId,\n formData: $formData,\n locale: $locale,\n )\n }\n"]);return cQ=function(){return e},e}let cY=(0,tu.J1)(cQ());var cG=function(e){return e.Type="type",e.Required="required",e.Match="match",e}({});let c0=/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])/i,c1=(e,t)=>
1{let[n,i]=t;switch(n){case cG.Required:if(void 0!==i){if(!0===i)return e.required();if(!1===i)return e.notRequired()}return e;case cG.Type:if("email"===i)return e.matches(new RegExp(c0));return e;case cG.Match:if(i)return e.oneOf([i_.KR(i)]);return e;default:return e}},c2=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"validations",n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=e.reduce((e,i)=>(null==i?void 0:i.id)?{...e,[i.id]:((e,t)=>{let n=i_.Yj(),i=t?n.required():n;return e.reduce(c1,i)})(Object.entries((null==i?void 0:i[t])||{}),n)}:e,{});return i_.Ik().shape(i)},c4=e=>!!(null==e?void 0:e.id)&&!!e.label,c5=(e,t)=>{var n;return(null==(n=t.validations)?void 0:n.match)&&e[t.id]};function c3(){let e=(0,s._)(["\n display: flex;\n column-gap: ",";\n "]);return c3=function(){return e},e}function c6(){let e=(0,s._)(["\n width: 50%;\n margin-bottom: 0;\n "]);return c6=function(){return e},e}function c8(){let e=(0,s._)(["\n width: 50%;\n "]);return c8=function(){return e},e}let c9=(0,c.Ay)(p.A).withConfig({componentId:"sc-cddec192-0"})(["display:block;",""],g.$_.sm(c3(),_.py.medium)),c7=(0,c.Ay)(p.A).withConfig({componentId:"sc-cddec192-1"})(["width:100%;flex-direction:column;margin-bottom:",";padding:",";border-radius:",";background-color:",";",""],_.py.medium,_.py.large,_.Vq.medium,(0,u.oU)(h._I.main),g.$_.md(c6())),de=(0,c.Ay)(p.A).withConfig({componentId:"sc-cddec192-2"})(["width:100%;flex-grow:1;margin-bottom:auto;border-radius:",";padding:",";background-color:",";",""],_.Vq.medium,_.py.medium,(0,u.oU)(h._I.main),g.$_.md(c8())),dt=e=>{let{cardImage:t,cardSubtitle:n,cardTitle:a,contentId:o,formConfig:r,title:s,customColors:c}=e,{formFields:d,formMethods:u,loading:v,onSuccess:m}=((e,t)=>{let{formFields:n=[],language:i}=e||{},{t:a}=(0,P.A)(),o=n.filter(c4),r=(0,ii.mN)({mode:"onChange",resolver:(0,cJ.t)(c2(o))}),{called:s,data:c,loading:d,runLazyQuery:u}=(e=>{let{contentId:t,language:n=""}=e,[i,{called:a,data:o,loading:r}]=(0,iC._)(cY,{fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-first"});return{called:a,data:o?null==o?void 0:o.patientCard:null,loading:r,runLazyQuery:e=>{r||i({variables:{contentId:t,formData:JSON.stringify(e),locale:n}})}}})({contentId:t,language:i}),v=(0,l.useCallback)(e=>{u(((e,t)=>{let n={};for(let i of t)c5(e,i)||(n[i.id]=e[i.id]);return n})(e,o))},[o,u]);return(0,l.useEffect)(()=>{s&&!d&&(c?(0,T.o)({header:a("patientCard_generationSuccess_title"),description:a("patientCard_generationSuccess_description"),alertType:F._1.success}):(0,T.o)({header:a("patientCard_generationError_title"),description:a("patientCard_generationError_description"),alertType:F._1.error}))},[s,d,c]),{formFields:o,formMethods:r,loading:d,onSuccess:v}})(r,o),g=(0,o2.Ay)(o2.zB.medium);if(!(null==d?void 0:d.length))return null;let b=s&&(0,i.jsx)(p.A,{margin:{bottom:h.or.Medium},children:(0,i.jsx)(V.A,{level:3,size:_.u.Small,children:s})});return(0,i.jsxs)(p.A,{style:{...c},children:[g&&b,(0,i.jsxs)(c9,{children:[(0,i.jsxs)(c7,{shadow:h.yb.Large,children:[!g&&b,(0,i.jsx)(ii.Op,{...u,children:(0,i.jsx)(cZ,{formFields:d,loading:v,onSuccess:m,submitLabel:null==r?void 0:r.submitLabel})})]}),((null==t?void 0:t.url)||a||n)&&(0,i.jsx)(de,{shadow:h.yb.Large,children:(0,i.jsx)(cK,{image:t,subtitle:n,title:a})})]})]})};function dn(){let e=(0,s._)(["\n query MyPreferencesQuery {\n myPreferences { "," }\n }\n"]);return dn=function(){return e},e}function di(){let e=(0,s._)(["\n mutation MyPreferencesMutation($preferences: ContentPreferencesInput!) {\n sendMyPreferences(preferences: $preferences) { "," }\n }\n"]);return di=function(){return e},e}let da="\nfrequency\ncontentFormat\ncontactChannels\ncontentTopics\ncontentUpdateFrequency\nprogram\ntimePreferences \n",dr=(0,tu.J1)(dn(),da),dl=(0,tu.J1)(di(),da),ds=e=>{let{values:t,preferenceKey:n}=e,{myPreferences:i,sendMyPreferences:a}=(()=>{let{currentUser:e,loading:t}=(0,Y.yj)(),{data:n,refetch:i,error:a}=(0,nd.IT)(dr,{fetchPolicy:"network-only"}),[o]=(0,tv.n)(dl);return(0,l.useEffect)(()=>{!t&&e&&a&&i()},[t,e,a,i]),{myPreferences:null==n?void 0:n.myPreferences,sendMyPreferences:o}})(),o=JSON.parse(i&&i[n]||"[]"),r=t.map((e,t)=>({key:e,index:t})),[s,c]=(0,l.useState)(r),d=s.find(e=>void 0!==e.selected);i&&!d&&c(t.map((e,t)=>{let n=o.includes(e);return{key:e,index:t,selected:n}}));let u=async(e,t)=>{s[e.index]={...e,selected:t},c([...s]),a({variables:{preferences:{[n]:JSON.stringify(s.filter(e=>e.selected).map(e=>e.key))}}})};return[s,u]},dc=e=>{let{title:t,subtitle:n,list:a,type:o=eI.q.checkbox,category:r,preferenceKey:l}=e,{t:s}=(0,P.A)(),[c,d]=ds({values:Object.values(a),preferenceKey:l});return(0,i.jsxs)(tL,{children:[(0,i.jsxs)(p.A,{margin:{bottom:h.or.Small},children:[(0,i.jsx)(V.A,{level:5,children:t}),n&&(0,i.jsx)(eA.A,{content:n,color:h.U4.textSecondary,weight:h.BO.Regular,size:h.Z4.Small})]}),(0,i.jsx)(tO,{children:c.map((e,t)=>(0,i.jsx)(e2,{type:o,label:s("preference_".concat(r,"_").concat(e.key)),checked:e.selected,onChange:async t=>((e,t)=>
1{o===eI.q.radio?(c.forEach(e=>{c[e.index].selected=!1}),d(e,!0)):d(e,t)})(e,t.target.value),id:"".concat(e.key,"_").concat(t),name:o},"".concat(e.key,"_").concat(t)))})]})};var dd=function(e){return e.notification="notification",e.email="email",e.fax="fax",e.sms="sms",e.post="post",e}({}),du=function(e){return e.weekly="weekly",e.fortnightly="fortnightly",e.monthly="monthly",e}({});let dv=[{list:function(e){return e.multipleSclerosis="multiple_sclerosis",e.spinalMuscularAtrophy="spinal_muscular_atrophy",e.newsleamyotrophicLateralSclerosistter="amyotrophic_lateral_sclerosis",e.alzheimer="alzheimer",e.rheumatology="rheumatology",e.dermatology="dermatology",e.gastroenterology="gastroenterology",e.ophthalmology="ophthalmology",e.other="other",e}({}),category:"personal_interests",title:"preference_personal_interests",preferenceKey:"contentTopics"},{list:function(e){return e.congressUpdate="congress_update",e.medicalAdvancedTraining="medical_advanced_training",e.medicalEvents="medical_events",e.currentStudies="current_studies",e.medicalResearch="medical_research",e.patientCases="patient_cases",e.solutions="solutions",e.patientServices="patient_services",e.patientManagement="patient_management",e.biogenProductInformation="biogen_product_information",e.biogenPipelineInformation="biogen_pipeline_information",e.clinicalPictures="clinical_pictures",e.diagnosis="diagnosis",e.practiceManagement="practice_management",e}({}),category:"personal_contents",title:"preference_personal_contents",preferenceKey:"program"},{list:function(e){return e.podcasts="podcasts",e.equizz="equizz",e.poster="poster",e.webinars="webinars",e.peerToPeerExchange="peer_to_peer_exchange",e.publications="publications",e.videos="videos",e.printDocuments="print_documents",e.virtualMeetings="virtual_meetings",e.newsletter="newsletter",e.regionalEvents="regional_events",e.nationalEvents="national_events",e.virtualEvents="virtual_events",e}({}),category:"personal_formats",title:"preference_personal_formats",preferenceKey:"contentFormat"}];var dp=function(e){return e.oneHour="one_hour",e.twoThreeHours="two_three_hours",e.moreThanFiveHours="more_than_five_hours",e}({}),dm=function(e){return e.morning="morning",e.duringDay="during_day",e.evening="evening",e.weekdays="weekdays",e.weekend="weekend",e.differently="differently",e}({});let dg=[{list:dp,category:"educationTime_time",type:eI.q.radio,title:"preference_educationTime_time",preferenceKey:"frequency"},{list:dm,category:"educationTime_timesOfDay",type:eI.q.checkbox,title:"preference_educationTime_timesOfDay",subtitle:"preference_educationTime_timesOfDay_subtitle",preferenceKey:"timePreferences"}],d_=e=>{let{t}=(0,P.A)(),[n,a]=(0,l.useState)(!0);return(0,i.jsxs)(tE,{style:{...e.customColors},children:[(0,i.jsx)(tJ,{title:t("preference_educationTime_title"),subtitle:t("preference_educationTime_subtitle"),toggleCollapse:()=>{a(!n)},isOpen:n,image:d.L1}),(0,i.jsx)(B.A,{isOpen:n,children:dg.map(e=>(0,i.jsx)(dc,{title:t(e.title),subtitle:e.subtitle?t(e.subtitle):void 0,list:e.list,category:e.category,type:e.type,preferenceKey:e.preferenceKey},e.category))})]})},dh="0.4s",db=(0,c.AH)(["background-color:",";cursor:not-allowed;"],(0,u.oU)(h.v_.content)),df=(0,c.AH)(["background-color:",";&:hover{background-color:",";}"],(0,u.oU)(h.U4.primary),(0,u.oU)(h.U4.primaryDarker)),dy=(0,c.Ay)(v.A).withConfig({componentId:"sc-5ab5d9b8-0"})(["",";transition:",";position:relative;top:-0.7px;"],e=>{let{$disabled:t}=e;return t?db:df},dh),dx=(0,c.AH)(["transform:translateX(","px);"],20),dw=(0,c.AH)(["background-color:",";&:hover{background-color:",";}&:hover ","{background-color:",";}"],(0,u.oU)(h.U4.primary),(0,u.oU)(h.U4.primaryDarker),dy,(0,u.oU)(h.U4.primaryDarker)),dC=(0,c.AH)(["background-color:",";&:hover{background-color:",";}"],(0,u.oU)(h.kd.grey7),(0,u.oU)(h.kd.grey8)),dA=(0,c.AH)(["background-color:",";cursor:not-allowed;"],e=>{let{$checked:t}=e;return t?(0,u.oU)(h.v_.content):(0,u.oU)(h.v_.borderDark)}),dR=(0,c.AH)(["",";"],e=>{let{$checked:t}=e;return t?dw:dC}),dk=c.Ay.button.withConfig({componentId:"sc-5ab5d9b8-1"})(["cursor:pointer;position:relative;width:",";height:",";transition:",";border-radius:",";border:none;padding:",";",";"],(0,m.a)(44),(0,m.a)(24),dh,_.Vq.xlarge,(0,m.a)(2),e=>{let{$disabled:t}=e;return t?dA:dR}),dj=(0,c.Ay)(p.A).withConfig({componentId:"sc-5ab5d9b8-2"})(["width:",";height:",";transition:",";",";"],(0,m.a)(20),(0,m.a)(20),dh,e=>{let{$checked:t}=e;return t?dx:""}),dW=c.Ay.input.withConfig({componentId:"sc-5ab5d9b8-3"})(["opacity:0;width:",";height:",";position:absolute;top:0;left:0;border-radius:",";border:none;margin:0;z-index:1;cursor:",";",";"],(0,m.a)(44),(0,m.a)(24),_.Vq.xlarge,e=>{let{$disabled:t}=e;return t?"not-allowed":"pointer"},e=>{let{$disabled:t}=e;return t&&"pointer-events: none"}),dI=e=>{let{checked:t=!1,disabled:n=!1,icon:a}=e;return(0,i.jsx)(dj,{$checked:t,align:h.zI.center,backgroundColor:h.k
1d.white,display:h.nl.Flex,justify:h.sx.center,radius:h.Z6.Xlarge,children:t&&(0,i.jsx)(dy,{$disabled:n,icon:a,size:h.or.Small})})},dS=e=>{let{checked:t=!1,disabled:n=!1,icon:a=M.B.Check2,onChange:o}=e;return(0,i.jsxs)(dk,{$checked:t,$disabled:n,children:[(0,i.jsx)(dW,{$disabled:n,onChange:e=>{var t;return o(null==e||null==(t=e.target)?void 0:t.checked)},type:"checkbox"}),(0,i.jsx)(dI,{checked:t,disabled:n,icon:a})]})},dT=e=>{let{t}=(0,P.A)(),[n,a]=(0,l.useState)(!0),[o,r]=ds({values:Object.values(dd),preferenceKey:"contactChannels"});return(0,i.jsxs)(tE,{style:{...e.customColors},children:[(0,i.jsx)(tJ,{title:t("preference_news_title"),subtitle:t("preference_news_subtitle"),toggleCollapse:()=>{a(!n)},isOpen:n,image:d.uN}),(0,i.jsxs)(B.A,{isOpen:n,children:[(0,i.jsx)(t$,{children:o.map(e=>(0,i.jsxs)(p.A,{direction:h.HO.row,align:h.zI.start,children:[(0,i.jsx)(dS,{checked:e.selected,onChange:t=>r(e,t)}),(0,i.jsx)(p.A,{margin:{left:h.or.Xxsmall},children:(0,i.jsx)(eA.A,{color:h.U4.textPrimary,size:h.Z4.Small,weight:h.BO.Regular,content:t("preference_news_type_".concat(e.key))})})]},e.key))}),(0,i.jsx)(dc,{title:t("preference_news_periodical"),list:du,category:"news_periodical",type:eI.q.radio,preferenceKey:"contentUpdateFrequency"})]})]})},dP=e=>{let{title:t,list:n,category:a,preferenceKey:o}=e,{t:r}=(0,P.A)(),[l,s]=ds({values:Object.values(n),preferenceKey:o});return(0,i.jsxs)(tX,{children:[(0,i.jsx)(V.A,{level:5,margin:{bottom:h.or.Small},children:t}),(0,i.jsx)(p.A,{direction:h.HO.row,wrap:!0,children:l.map((e,t)=>(0,i.jsx)(tq,{label:r("preference_".concat(a,"_").concat(e.key)),checked:e.selected,onChange:t=>s(e,t),id:"".concat(e.key,"_").concat(t),name:a},"".concat(e.key,"_").concat(t)))})]})},dM=e=>{let{t}=(0,P.A)(),[n,a]=(0,l.useState)(!0);return(0,i.jsxs)(tE,{style:{...e.customColors},children:[(0,i.jsx)(tJ,{title:t("preference_personal_title"),subtitle:t("preference_personal_subtitle"),toggleCollapse:()=>{a(!n)},isOpen:n}),(0,i.jsx)(B.A,{isOpen:n,children:dv.map(e=>(0,i.jsx)(dP,{title:t(e.title),list:e.list,category:e.category,preferenceKey:e.preferenceKey},e.category))})]})},dU=e=>{let{widgetType:t,customColors:n}=e;switch(t){case"News":return(0,i.jsx)(dT,{customColors:n});case"Personal":return(0,i.jsx)(dM,{customColors:n});case"Education time":return(0,i.jsx)(d_,{customColors:n});default:throw Error("missing")}},dD=e=>(0,i.jsx)(dU,{...e});function dV(){let e=(0,s._)(["\n margin-bottom: ",";\n "]);return dV=function(){return e},e}function dE(){let e=(0,s._)(["\n margin: 0 auto ",";\n "]);return dE=function(){return e},e}function dB(){let e=(0,s._)(["\n margin-top: ",";\n "]);return dB=function(){return e},e}function dF(){let e=(0,s._)(["\n min-width: ",";\n "]);return dF=function(){return e},e}let dz=(0,c.Ay)(p.A).withConfig({componentId:"sc-40f52e67-0"})(["margin-bottom:",";text-align:center;",""],_.py.large,g.$_.sm(dV(),_.py.xlarge)),d$=(0,c.Ay)(p.A).withConfig({componentId:"sc-40f52e67-1"})(["margin-bottom:",";",""],(0,m.a)(128),g.$_.sm(dE(),(0,m.a)(128))),dL=(0,c.Ay)(na.bj).withConfig({componentId:"sc-40f52e67-2"})(["display:flex;margin-top:",";button{flex:1;}",""],_.py.large,g.$_.sm(dB(),_.py.xlarge)),dO=(0,c.Ay)(p.A).withConfig({componentId:"sc-40f52e67-3"})(["",""],g.$_.sm(dF(),(0,m.a)(352)));var dN=n(27978),dH=n(60347);let dq="".concat(d.nE,"/images/veevaRsvpWidget-calendar.png"),dX=e=>{let{title:t,displayCard:n,translations:a,date:o,timeString:r,attendeeUpdateLoading:s,onConfirmInvitation:c,onRejectInvitation:d}=e,u=(0,l.useRef)(null);return(0,dN.g)(u),(0,i.jsxs)(d$,{children:[(0,i.jsx)(dz,{children:(0,i.jsx)(V.A,{level:3,children:t||a.veevaRsvpWidget_heading})}),n&&(0,i.jsx)(dO,{children:(0,i.jsx)(dH.A,{title:o,subtitle:r,image:{url:dq,title:a.veevaRsvpWidget_image_title}})}),(0,i.jsxs)(dL,{children:[(0,i.jsx)(ni.A,{ref:u,label:a.veevaRsvpWidget_yesButton_label,size:h.Mp.Medium,onClick:c,ariaLabel:a.veevaRsvpWidget_yesButton_label,type:h.VQ.button,variant:h.Ak.Primary,disabled:s}),(0,i.jsx)(ni.A,{label:a.veevaRsvpWidget_noButton_label,size:h.Mp.Medium,variant:h.Ak.Neutral,onClick:d,ariaLabel:a.veevaRsvpWidget_noButton_label,type:h.VQ.button,disabled:s})]})]})},dZ=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+";return"(UTC".concat(t).concat(e.padStart(2,"0"),":00)")},dK={default:{veevaRsvpWidget_heading:"Ù٠ستتÙ
ÙÙ Ù
٠اÙÙ
Ø´Ø§Ø±ÙØ©Ø",veevaRsvpWidget_image_title:"جدÙ٠اÙÙ
ÙØ§Ø¹Ùد",veevaRsvpWidget_yesButton_label:"ÙØ¹Ù
",veevaRsvpWidget_noButton_label:"ÙØ§",veevaRsvpWidget_confirmed_label:"ÙÙØ¯ ÙØ¨Ùت.",veevaRsvpWidget_declined_label:"ÙÙØ¯ Ø±ÙØ¶Øª.",veevaRsvpWidget_ToC_label:"Terms & Conditions",veevaRsvpWidget_ToC_url:"https://www.bi
1ogen-gulf.com/ar_AE/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Privacy Policy",veevaRsvpWidget_Privacy_url:"https://www.biogen-gulf.com/ar_AE/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen-gulf.com/ar_AE/cookies.html",veevaRsvpWidget_Contact_label:"Contact",veevaRsvpWidget_Contact_url:"https://www.biogen-gulf.com/ar_AE/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("3")}},dJ={default:{default:{veevaRsvpWidget_heading:"Will you be able to join us?",veevaRsvpWidget_image_title:"Calendar",veevaRsvpWidget_yesButton_label:"Yes",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"You have accepted",veevaRsvpWidget_declined_label:"You have declined",veevaRsvpWidget_ToC_label:"Terms and Conditions",veevaRsvpWidget_ToC_url:"https://www.biogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Privacy",veevaRsvpWidget_Privacy_url:"https://www.biogen.com/en_us/privacy-international.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.mybiogen.link/en/home/cookies.html",veevaRsvpWidget_Contact_label:"Contact Us",veevaRsvpWidget_Contact_url:"https://www.biogen.com/en_us/contact.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("0")}},com:{default:{veevaRsvpWidget_heading:"Will you be able to join us?",veevaRsvpWidget_image_title:"Calendar",veevaRsvpWidget_yesButton_label:"Yes",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"You have accepted",veevaRsvpWidget_declined_label:"You have declined",veevaRsvpWidget_ToC_label:"Terms and Conditions",veevaRsvpWidget_ToC_url:"https://www.biogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Privacy",veevaRsvpWidget_Privacy_url:"https://www.biogen.com/en_us/privacy-international.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.mybiogen.link/en/home/cookies.html",veevaRsvpWidget_Contact_label:"Contact Us",veevaRsvpWidget_Contact_url:"https://www.biogen.com/en_us/contact.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("0")}},as:{default:{veevaRsvpWidget_heading:"Will you be able to join us?",veevaRsvpWidget_image_title:"Calendar",veevaRsvpWidget_yesButton_label:"Yes",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"You have accepted",veevaRsvpWidget_declined_label:"You have declined",veevaRsvpWidget_ToC_label:"Terms and Conditions",veevaRsvpWidget_ToC_url:"https://www.biogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Privacy",veevaRsvpWidget_Privacy_url:"https://www.biogen.com/en_us/privacy-international.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.mybiogen.link/en/home/cookies.html",veevaRsvpWidget_Contact_label:"Contact Us",veevaRsvpWidget_Contact_url:"https://www.biogen.com/en_us/contact.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("0")}},ar:{default:{veevaRsvpWidget_heading:"\xbfPodr\xe1s participar?",veevaRsvpWidget_image_title:"Calendario",veevaRsvpWidget_yesButton_label:"S\xed",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"Confirmamos su aceptaci\xf3n",veevaRsvpWidget_declined_label:"Confirmamos su denegacion",veevaRsvpWidget_ToC_label:"T\xe9rminos y Condiciones",veevaRsvpWidget_ToC_url:"https://ar.biogen.com/es_AR/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Pol\xedtica de Privacidad",veevaRsvpWidget_Privacy_url:"https://ar.biogen.com/es_AR/privacy-policy.html",veevaRsvpWidget_Cookies_label:"",veevaRsvpWidget_Cookies_url:"",veevaRsvpWidget_Contact_label:"Contacto",veevaRsvpWidget_Contact_url:"https://ar.biogen.com/es_AR/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("3","-")}},au:{default:{veevaRsvpWidget_heading:"Will you be able to join us?",veevaRsvpWidget_image_title:"Calendar",veevaRsvpWidget_yesButton_label:"Yes",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"You have accepted",veevaRsvpWidget_declined_label:"You have declined",veevaRsvpWidget_ToC_label:"Terms and Conditions",veevaRsvpWidget_ToC_url:"https://www.bi
1ogen.com.au/en_AU/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Privacy Policy",veevaRsvpWidget_Privacy_url:"https://www.biogen.com.au/en_AU/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"",veevaRsvpWidget_Contact_label:"Contact Us",veevaRsvpWidget_Contact_url:"https://www.biogen.com.au/en_AU/contactus.html",veevaRsvpWidget_JobID:"Biogen-132402",veevaRsvpWidget_Timezone:dZ("11")}},at:{default:{veevaRsvpWidget_heading:"Werden Sie teilnehmen?",veevaRsvpWidget_image_title:"Kalender",veevaRsvpWidget_yesButton_label:"Ja",veevaRsvpWidget_noButton_label:"Nein",veevaRsvpWidget_confirmed_label:"Sie haben akzeptiert",veevaRsvpWidget_declined_label:"Sie haben abgelehnt",veevaRsvpWidget_ToC_label:"Nutzungsbedingungen",veevaRsvpWidget_ToC_url:"https://www.biogen.at/de_AT/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Datenschutzrichtlinien",veevaRsvpWidget_Privacy_url:"https://www.biogen.at/de_AT/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.at/de_AT/cookies.html",veevaRsvpWidget_Contact_label:"Kontakt",veevaRsvpWidget_Contact_url:"https://www.biogen.at/de_AT/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},be:{default:{veevaRsvpWidget_heading:"Zal u kunnen deelnemen?",veevaRsvpWidget_image_title:"Kalender",veevaRsvpWidget_yesButton_label:"Ja",veevaRsvpWidget_noButton_label:"Nee",veevaRsvpWidget_confirmed_label:"U heeft geaccepteerd",veevaRsvpWidget_declined_label:"U heeft geweigerd",veevaRsvpWidget_ToC_label:"Voorwaarden",veevaRsvpWidget_ToC_url:"https://www.biogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Privacybeleid",veevaRsvpWidget_Privacy_url:"https://www.biogen.be/nl_BE/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.be/nl_BE/cookies.html",veevaRsvpWidget_Contact_label:"Contact opnemen",veevaRsvpWidget_Contact_url:"https://www.biogen.be/nl_BE/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")},fr:{veevaRsvpWidget_heading:"Pourrez-vous nous rejoindre ?",veevaRsvpWidget_image_title:"Calendrier",veevaRsvpWidget_yesButton_label:"Oui",veevaRsvpWidget_noButton_label:"Non",veevaRsvpWidget_confirmed_label:"Vous avez accept\xe9",veevaRsvpWidget_declined_label:"Vous avez refus\xe9",veevaRsvpWidget_ToC_label:"Conditions G\xe9n\xe9rales",veevaRsvpWidget_ToC_url:"https://www.biogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Politique de Confidentialit\xe9",veevaRsvpWidget_Privacy_url:"https://www.biogen.be/fr_BE/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.be/fr_BE/cookies.html",veevaRsvpWidget_Contact_label:"Nous contacter",veevaRsvpWidget_Contact_url:"https://www.biogen.be/fr_BE/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},br:{default:{veevaRsvpWidget_heading:"Voc\xea poder\xe1 participar?",veevaRsvpWidget_image_title:"Calend\xe1rio",veevaRsvpWidget_yesButton_label:"Sim",veevaRsvpWidget_noButton_label:"N\xe3o",veevaRsvpWidget_confirmed_label:"Voc\xea aceitou",veevaRsvpWidget_declined_label:"Voc\xea recusou",veevaRsvpWidget_ToC_label:"Termos e condi\xe7\xf5es",veevaRsvpWidget_ToC_url:"https://br.biogen.com/pt_BR/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Pol\xedtica de privacidade",veevaRsvpWidget_Privacy_url:"https://br.biogen.com/pt_BR/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://br.biogen.com/pt_BR/cookies.html",veevaRsvpWidget_Contact_label:"Contato",veevaRsvpWidget_Contact_url:"https://br.biogen.com/pt_BR/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("3","-")}},ca:{default:{veevaRsvpWidget_heading:"Will you be able to join us?",veevaRsvpWidget_image_title:"Calendar",veevaRsvpWidget_yesButton_label:"Yes",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"You have accepted",veevaRsvpWidget_declined_label:"You have declined",veevaRsvpWidget_ToC_label:"Terms and Conditions",veevaRsvpWidget_ToC_url:"https://www.bi
1ogen.ca/en_CA/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Privacy Policy",veevaRsvpWidget_Privacy_url:"https://www.biogen.ca/en_CA/privacy-policy.html",veevaRsvpWidget_Cookies_label:"",veevaRsvpWidget_Cookies_url:"",veevaRsvpWidget_Contact_label:"Contact Us",veevaRsvpWidget_Contact_url:"https://www.biogen.ca/en_CA/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("5","-")},fr:{veevaRsvpWidget_heading:"Pourrez-vous nous rejoindre ?",veevaRsvpWidget_image_title:"Calendrier",veevaRsvpWidget_yesButton_label:"Oui",veevaRsvpWidget_noButton_label:"Non",veevaRsvpWidget_confirmed_label:"Vous avez accept\xe9",veevaRsvpWidget_declined_label:"Vous avez refus\xe9",veevaRsvpWidget_ToC_label:"Modalit\xe9s g\xe9n\xe9rales",veevaRsvpWidget_ToC_url:"https://www.biogen.ca/fr_CA/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Politique de confidentialit\xe9",veevaRsvpWidget_Privacy_url:"https://www.biogen.ca/fr_CA/privacy-policy.html",veevaRsvpWidget_Cookies_label:"",veevaRsvpWidget_Cookies_url:"",veevaRsvpWidget_Contact_label:"Contactez-nous",veevaRsvpWidget_Contact_url:"https://www.biogen.ca/fr_CA/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("5","-")}},cl:{default:{veevaRsvpWidget_heading:"\xbfPodr\xe1s participar?",veevaRsvpWidget_image_title:"Calendario",veevaRsvpWidget_yesButton_label:"S\xed",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"Confirmamos su aceptaci\xf3n",veevaRsvpWidget_declined_label:"Confirmamos su denegacion",veevaRsvpWidget_ToC_label:"T\xe9rminos y Condiciones",veevaRsvpWidget_ToC_url:"https://www.biogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Pol\xedtica de Privacidad",veevaRsvpWidget_Privacy_url:"https://www.biogen.com/en_us/privacy-international.html",veevaRsvpWidget_Cookies_label:"",veevaRsvpWidget_Cookies_url:"",veevaRsvpWidget_Contact_label:"Contacto",veevaRsvpWidget_Contact_url:"https://www.biogen.com/en_us/contact.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("5","-")}},cn:{default:{veevaRsvpWidget_heading:"ä½ è½åå åï¼",veevaRsvpWidget_image_title:"æ¥æ",veevaRsvpWidget_yesButton_label:"æ¯ç",veevaRsvpWidget_noButton_label:"ä¸",veevaRsvpWidget_confirmed_label:"ä½ å·²ç¶æ¥å",veevaRsvpWidget_declined_label:"ä½ æçµäº",veevaRsvpWidget_ToC_label:"Terms and Conditions",veevaRsvpWidget_ToC_url:"https://www.biogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Privacy",veevaRsvpWidget_Privacy_url:"https://www.biogen.com/en_us/privacy-international.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.mybiogen.link/en/home/cookies.html",veevaRsvpWidget_Contact_label:"Contact Us",veevaRsvpWidget_Contact_url:"https://www.biogen.com/en_us/contact.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("8")}},co:{default:{veevaRsvpWidget_heading:"\xbfPodr\xe1s participar?",veevaRsvpWidget_image_title:"Calendario",veevaRsvpWidget_yesButton_label:"S\xed",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"Confirmamos su aceptaci\xf3n",veevaRsvpWidget_declined_label:"Confirmamos su denegacion",veevaRsvpWidget_ToC_label:"T\xe9rminos y condiciones",veevaRsvpWidget_ToC_url:"https://www.biibcolombia.co/co_CO/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Pol\xedtica de privacidad",veevaRsvpWidget_Privacy_url:"https://www.biibcolombia.co/co_CO/privacy-policy.html",veevaRsvpWidget_Cookies_label:"",veevaRsvpWidget_Cookies_url:"",veevaRsvpWidget_Contact_label:"Contacto",veevaRsvpWidget_Contact_url:"https://www.biibcolombia.co/co_CO/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("5","-")}},hr:{default:{veevaRsvpWidget_heading:"HoÄete li moÄi sudjelovati?",veevaRsvpWidget_image_title:"Kalendar",veevaRsvpWidget_yesButton_label:"Da",veevaRsvpWidget_noButton_label:"Ne",veevaRsvpWidget_confirmed_label:"PrihvaÄen",veevaRsvpWidget_declined_label:"Odbijen",veevaRsvpWidget_ToC_label:"Uvjeti koriÅ¡tenja",veevaRsvpWidget_ToC_url:"https://www.biogen.hr/hr_HR/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Politika zaÅ¡tite osobnih pod
1ataka",veevaRsvpWidget_Privacy_url:"https://www.biogen.hr/hr_HR/privacy-policy.html",veevaRsvpWidget_Cookies_label:"KolaÄiÄi",veevaRsvpWidget_Cookies_url:"https://www.biogen.hr/hr_HR/cookies.html",veevaRsvpWidget_Contact_label:"Kontakt",veevaRsvpWidget_Contact_url:"https://www.biogen.hr/hr_HR/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},cz:{default:{veevaRsvpWidget_heading:"Budete se moci z\xfaÄastnit?",veevaRsvpWidget_image_title:"Kalend\xe1Å",veevaRsvpWidget_yesButton_label:"Ano",veevaRsvpWidget_noButton_label:"Ne",veevaRsvpWidget_confirmed_label:"PÅijato",veevaRsvpWidget_declined_label:"Zam\xedtnuto",veevaRsvpWidget_ToC_label:"VÅ¡eobecn\xe9 podm\xednky",veevaRsvpWidget_ToC_url:"https://www.biogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Z\xe1sady ochrany osobn\xedch \xfadajů",veevaRsvpWidget_Privacy_url:"https://www.biogen.com.cz/cs_CZ/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.com.cz/cs_CZ/cookie
1s.html",veevaRsvpWidget_Contact_label:"Kontakt",veevaRsvpWidget_Contact_url:"https://www.biogen.com.cz/cs_CZ/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},dk:{default:{veevaRsvpWidget_heading:"\xd8nsker du at deltage?",veevaRsvpWidget_image_title:"Kalender",veevaRsvpWidget_yesButton_label:"Ja",veevaRsvpWidget_noButton_label:"Nej",veevaRsvpWidget_confirmed_label:"Du har accepteret",veevaRsvpWidget_declined_label:"Du har afvist",veevaRsvpWidget_ToC_label:"Terms and Conditions",veevaRsvpWidget_ToC_url:"https://www.biogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Privacy",veevaRsvpWidget_Privacy_url:"https://www.biogen.dk/da_DK/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.dk/da_DK/cookies.html",veevaRsvpWidget_Contact_label:"Kontakt",veevaRsvpWidget_Contact_url:"https://www.biogen.dk/da_DK/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},fi:{default:{veevaRsvpWidget_heading:"Osallistutko tapahtumaan?",veevaRsvpWidget_image_title:"Kalenteri",veevaRsvpWidget_yesButton_label:"Kyll\xe4",veevaRsvpWidget_noButton_label:"En",veevaRsvpWidget_confirmed_label:"Olet vahvistanut",veevaRsvpWidget_declined_label:"Olet kielt\xe4ytynyt",veevaRsvpWidget_ToC_label:"K\xe4ytt\xf6ehdot",veevaRsvpWidget_ToC_url:"https://www.biogen.fi/fi_FI/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Tietosuoja",veevaRsvpWidget_Privacy_url:"https://www.biogen.fi/fi_FI/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Ev\xe4steet",veevaRsvpWidget_Cookies_url:"https://www.biogen.fi/fi_FI/cookies.html",veevaRsvpWidget_Contact_label:"Ota yhteytt\xe4",veevaRsvpWidget_Contact_url:"https://www.biogen.fi/fi_FI/contactus.html",veevaRsvpWidget_JobID:"Biogen-143998 | 11/2021 // \xa92021 Biogen Finland Oy",veevaRsvpWidget_Timezone:dZ("2")}},fr:{default:{veevaRsvpWidget_heading:"Pourrez-vous nous rejoindre ?",veevaRsvpWidget_image_title:"Calendrier",veevaRsvpWidget_yesButton_label:"Oui",veevaRsvpWidget_noButton_label:"Non",veevaRsvpWidget_confirmed_label:"Accept\xe9",veevaRsvpWidget_declined_label:"Rejet\xe9",veevaRsvpWidget_ToC_label:"Conditions G\xe9n\xe9rales Dâutilisation",veevaRsvpWidget_ToC_url:"https://www.biogen.fr/fr_FR/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Politique de Confidentialit\xe9",veevaRsvpWidget_Privacy_url:"https://www.biogen.fr/fr_FR/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.fr/fr_FR/cookies.html",veevaRsvpWidget_Contact_label:"Nous Contacter",veevaRsvpWidget_Contact_url:"https://www.biogen.fr/fr_FR/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},de:{default:{veevaRsvpWidget_heading:"Werden Sie teilnehmen?",veevaRsvpWidget_image_title:"Kalender",veevaRsvpWidget_yesButton_label:"Ja",veevaRsvpWidget_noButton_label:"Nein",veevaRsvpWidget_confirmed_label:"Sie haben akzeptiert",veevaRsvpWidget_declined_label:"Sie haben abgelehnt",veevaRsvpWidget_ToC_label:"Nutzungsbedingungen",veevaRsvpWidget_ToC_url:"https://www.biogen.de/de_DE/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Datenschutzrichtlinien",veevaRsvpWidget_Privacy_url:"https://www.biogen.de/de_DE/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.de/de_DE/cookies.html",veevaRsvpWidget_Contact_label:"Kontakt",veevaRsvpWidget_Contact_url:"https://www.biogen.de/de_DE/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},ae:dK,qa:dK,bh:dK,om:dK,kw:dK,hk:{default:{veevaRsvpWidget_heading:"Will you be able to join us?",veevaRsvpWidget_image_title:"Calendar",veevaRsvpWidget_yesButton_label:"Yes",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"You have accepted",veevaRsvpWidget_declined_label:"You have declined",veevaRsvpWidget_ToC_label:"Terms and Conditions",veevaRsvpWidget_ToC_url:"https://www.biogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Privacy Policy",veevaRsvpWidget_Privacy_url:"https://www.bi
1ogen.com/en_us/privacy-international.html",veevaRsvpWidget_Cookies_label:"Unsubscribe",veevaRsvpWidget_Cookies_url:"https://www.mybiogen.link/en/home/cookies.html",veevaRsvpWidget_Contact_label:"Contact Us",veevaRsvpWidget_Contact_url:"https://www.biogen.com/en_us/contact.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("8")}},hu:{default:{veevaRsvpWidget_heading:"R\xe9szt tud venni a rendezv\xe9nyen?",veevaRsvpWidget_image_title:"Napt\xe1r",veevaRsvpWidget_yesButton_label:"Igen",veevaRsvpWidget_noButton_label:"Nem",veevaRsvpWidget_confirmed_label:"\xd6n elfogadta",veevaRsvpWidget_declined_label:"\xd6n elutas\xedtotta",veevaRsvpWidget_ToC_label:"Felhaszn\xe1l\xe1si felt\xe9telek",veevaRsvpWidget_ToC_url:"https://www.biogen.hu/hu_HU/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Adatv\xe9delmi ir\xe1nyelv",veevaRsvpWidget_Privacy_url:"https://www.biogen.hu/hu_HU/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.hu/hu_HU/cookies.html",veevaRsvpWidget_Contact_label:"Kapcsolat",veevaRsvpWidget_Contact_url:"https://www.biogen.hu/hu_HU/contactus.html",veevaRsvpWidget_JobID:"Biogen-143465",veevaRsvpWidget_Timezone:dZ("1")}},it:{default:{veevaRsvpWidget_heading:"Riuscirai a partecipare?",veevaRsvpWidget_image_title:"Calendario",veevaRsvpWidget_yesButton_label:"S\xed",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"Ha accettato",veevaRsvpWidget_declined_label:"Ha rifiutato",veevaRsvpWidget_ToC_label:"Termini e condizioni",veevaRsvpWidget_ToC_url:"https://www.biogenitalia.it/it_IT/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Informativa sulla privacy",veevaRsvpWidget_Privacy_url:"https://www.biogenitalia.it/it_IT/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogenitalia.it/it_IT/cookies.html",veevaRsvpWidget_Contact_label:"Contatti",veevaRsvpWidget_Contact_url:"https://www.biogenitalia.it/it_IT/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},jp:{default:{veevaRsvpWidget_heading:"åå ã§ãã¾ããï¼",veevaRsvpWidget_image_title:"ã«ã¬ã³ãã¼",veevaRsvpWidget_yesButton_label:"ã¯ã",veevaRsvpWidget_noButton_label:"çªå·",veevaRsvpWidget_confirmed_label:"ããªãã¯åãå
¥ãã¾ãã",veevaRsvpWidget_declined_label:"ããªãã¯æã£ã",veevaRsvpWidget_ToC_label:"ã¦ã§ããµã¤ããå©ç¨ä¸ã®æ³¨æ",veevaRsvpWidget_ToC_url:"https://www.biogen.co.jp/ja_JP/terms-conditions.html",veevaRsvpWidget_Privacy_label:"å人æ
å ±ã®ä¿è·ã«ã¤ãã¦",veevaRsvpWidget_Privacy_url:"https://www.biogen.co.jp/ja_JP/privacy-policy.html",veevaRsvpWidget_Cookies_label:"",veevaRsvpWidget_Cookies_url:"",veevaRsvpWidget_Contact_label:"ãåãåã",veevaRsvpWidget_Contact_url:"https://www.biogen.co.jp/ja_JP/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("9")}},ja:{default:{veevaRsvpWidget_heading:"åå ã§ãã¾ããï¼",veevaRsvpWidget_image_title:"ã«ã¬ã³ãã¼",veevaRsvpWidget_yesButton_label:"ã¯ã",veevaRsvpWidget_noButton_label:"çªå·",veevaRsvpWidget_confirmed_label:"ããªãã¯åãå
¥ãã¾ãã",veevaRsvpWidget_declined_label:"ããªãã¯æã£ã",veevaRsvpWidget_ToC_label:"ã¦ã§ããµã¤ããå©ç¨ä¸ã®æ³¨æ",veevaRsvpWidget_ToC_url:"https://www.biogen.co.jp/ja_JP/terms-conditions.html",veevaRsvpWidget_Privacy_label:"å人æ
å ±ã®ä¿è·ã«ã¤ãã¦",veevaRsvpWidget_Privacy_url:"https://www.biogen.co.jp/ja_JP/privacy-policy.html",veevaRsvpWidget_Cookies_label:"",veevaRsvpWidget_Cookies_url:"",veevaRsvpWidget_Contact_label:"ãåãåã",veevaRsvpWidget_Contact_url:"https://www.biogen.co.jp/ja_JP/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("9")}},mx:{default:{veevaRsvpWidget_heading:"\xbfPodr\xe1s participar?",veevaRsvpWidget_image_title:"Calendario",veevaRsvpWidget_yesButton_label:"S\xed",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"Confirmamos su aceptaci\xf3n",veevaRsvpWidget_declined_label:"Confirmamos su denegacion",veevaRsvpWidget_ToC_label:"T\xe9rminos y condiciones",veevaRsvpWidget_ToC_url:"https://www.bi
1ogen.com.mx/es_MX/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Pol\xedtica de privacidad",veevaRsvpWidget_Privacy_url:"https://www.biogen.com.mx/es_MX/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Farmacovigilancia",veevaRsvpWidget_Cookies_url:"https://www.biogen.com.mx/es_MX/farmacovigilancia.html",veevaRsvpWidget_Contact_label:"Contacto",veevaRsvpWidget_Contact_url:"https://www.biogen.com.mx/es_MX/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("6","-")}},nl:{default:{veevaRsvpWidget_heading:"Kunt u deelnemen?",veevaRsvpWidget_image_title:"Kalender",veevaRsvpWidget_yesButton_label:"Ja",veevaRsvpWidget_noButton_label:"Nee",veevaRsvpWidget_confirmed_label:"U heeft geaccepteerd",veevaRsvpWidget_declined_label:"U heeft geweigerd",veevaRsvpWidget_ToC_label:"Algemene voorwaarden",veevaRsvpWidget_ToC_url:"https://www.biogen.nl/nl_NL/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Privacybeleid",veevaRsvpWidget_Privacy_url:"https://www.biogen.nl/nl_NL/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.nl/nl_NL/cookies.html",veevaRsvpWidget_Contact_label:"Contact",veevaRsvpWidget_Contact_url:"https://www.biogen.nl/nl_NL/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},no:{default:{veevaRsvpWidget_heading:"\xd8nsker du \xe5 delta?",veevaRsvpWidget_image_title:"Legg til i kalenderen",veevaRsvpWidget_yesButton_label:"Ja",veevaRsvpWidget_noButton_label:"Nei",veevaRsvpWidget_confirmed_label:"Du har godtatt",veevaRsvpWidget_declined_label:"Du har avsl\xe5tt",veevaRsvpWidget_ToC_label:"Brukervilk\xe5r",veevaRsvpWidget_ToC_url:"https://www.biogen.no/nb_NO/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Personvern",veevaRsvpWidget_Privacy_url:"https://www.biogen.no/nb_NO/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.no/nb_NO/cookies.html",veevaRsvpWidget_Contact_label:"Kontakt oss",veevaRsvpWidget_Contact_url:"https://www.biogen.no/nb_NO/contactus.html",veevaRsvpWidget_JobID:"Denne nettsiden er beregnet pa helsepersonell i Norge \n Biogen-129866-April 2022 // \xa92022 Biogen Norway AS",veevaRsvpWidget_Timezone:dZ("1")}},pl:{default:{veevaRsvpWidget_heading:"Prosimy o potwierdzenie lub odrzucenie zaproszenia.",veevaRsvpWidget_image_title:"Kalendarz",veevaRsvpWidget_yesButton_label:"Tak",veevaRsvpWidget_noButton_label:"Nie",veevaRsvpWidget_confirmed_label:"WezmÄ udziaÅ",veevaRsvpWidget_declined_label:"Nistety, nie wezmÄ udziaÅu.",veevaRsvpWidget_ToC_label:"Warunki użytkowania",veevaRsvpWidget_ToC_url:"https://www.biogen-poland.pl/pl_PL/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Polityka prywatnoÅci",veevaRsvpWidget_Privacy_url:"https://www.biogen-poland.pl/pl_PL/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen-poland.pl/pl_PL/cookies.html",veevaRsvpWidget_Contact_label:"Kontakt",veevaRsvpWidget_Contact_url:"https://www.biogen-poland.pl/pl_PL/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},pt:{default:{veevaRsvpWidget_heading:"Voc\xea poder\xe1 participar?",veevaRsvpWidget_image_title:"Calend\xe1rio",veevaRsvpWidget_yesButton_label:"Sim",veevaRsvpWidget_noButton_label:"N\xe3o",veevaRsvpWidget_confirmed_label:"Aceitou",veevaRsvpWidget_declined_label:"Recusou",veevaRsvpWidget_ToC_label:"Termos e Condi\xe7\xf5es",veevaRsvpWidget_ToC_url:"https://www.biogen.pt/pt_PT/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Pol\xedtica de Privacidade",veevaRsvpWidget_Privacy_url:"https://www.biogen.pt/pt_PT/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.pt/pt_PT/cookies.html",veevaRsvpWidget_Contact_label:"Contactos",veevaRsvpWidget_Contact_url:"https://www.biogen.pt/pt_PT/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("0")}},sk:{default:{veevaRsvpWidget_heading:"Budete sa m\xf4cÅ¥ z\xfaÄastniÅ¥?",veevaRsvpWidget_image_title:"Kalend\xe1r",veevaRsvpWidget_yesButton_label:"\xc1no",veevaRsvpWidget_noButton_label:"Nie",veevaRsvpWidget_confirmed_label:"Prijato",veevaRsvpWidget_declined_label:"Zamietnut\xe9",veevaRsvpWidget_ToC_label:"Podmienky už\xedvania",veevaRsvpWidget_ToC_url:"https://www.bi
1ogen.sk/sk_SK/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Ochrana osobn\xfdch \xfadajov",veevaRsvpWidget_Privacy_url:"https://www.biogen.sk/sk_SK/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.sk/sk_SK/cookies.html",veevaRsvpWidget_Contact_label:"Kontaktn\xe9 \xfadaje",veevaRsvpWidget_Contact_url:"https://www.biogen.sk/sk_SK/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},si:{default:{veevaRsvpWidget_heading:"Se nam boste lahko pridružili?",veevaRsvpWidget_image_title:"Koledar",veevaRsvpWidget_yesButton_label:"Da",veevaRsvpWidget_noButton_label:"Ne",veevaRsvpWidget_confirmed_label:"Sprejeto",veevaRsvpWidget_declined_label:"Zavrnjeno",veevaRsvpWidget_ToC_label:"Pagoji uporabe",veevaRsvpWidget_ToC_url:"https://www.biogen-pharma.si/sl_SI/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Politika varstva zasebnosti",veevaRsvpWidget_Privacy_url:"https://www.biogen-pharma.si/sl_SI/privacy-policy.html",veevaRsvpWidget_Cookies_label:"PiÅ¡kotki",veevaRsvpWidget_Cookies_url:"https://www.biogen-pharma.si/sl_SI/cookies.html",veevaRsvpWidget_Contact_label:"Kontakt",veevaRsvpWidget_Contact_url:"https://www.biogen-pharma.si/sl_SI/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},kr:{default:{veevaRsvpWidget_heading:"ì°¸ì¬í ì ììµëê¹?",veevaRsvpWidget_image_title:"ë¬ë ¥",veevaRsvpWidget_yesButton_label:"ì",veevaRsvpWidget_noButton_label:"ìëì",veevaRsvpWidget_confirmed_label:"ë¹ì ì ìë½",veevaRsvpWidget_declined_label:"ë¹ì ì ê±°ì íë¤",veevaRsvpWidget_ToC_label:"ê±°ëì½ê´",veevaRsvpWidget_ToC_url:"https://kr.biogen.com/kr_KR/terms-conditions.html",veevaRsvpWidget_Privacy_label:"ê°ì¸ì ë³´ë³´í¸ì ì±
",veevaRsvpWidget_Privacy_url:"https://kr.biogen.com/kr_KR/privacy-policy.html",veevaRsvpWidget_Cookies_label:"",veevaRsvpWidget_Cookies_url:"",veevaRsvpWidget_Contact_label:"ì°ë½ì²",veevaRsvpWidget_Contact_url:"https://kr.biogen.com/kr_KR/contact.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("9")}},es:{default:{veevaRsvpWidget_heading:"\xbfPodr\xe1s participar?",veevaRsvpWidget_image_title:"Calendario",veevaRsvpWidget_yesButton_label:"S\xed",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"Has aceptado",veevaRsvpWidget_declined_label:"Has rechazado",veevaRsvpWidget_ToC_label:"T\xe9rminos y Condiciones",veevaRsvpWidget_ToC_url:"https://www.biogen.com.es/es_ES/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Pol\xedtica de Privacidad",veevaRsvpWidget_Privacy_url:"https://www.biogen.com.es/es_ES/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.com.es/es_ES/cookies.html",veevaRsvpWidget_Contact_label:"Contacto",veevaRsvpWidget_Contact_url:"https://www.biogen.com.es/es_ES/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},se:{default:{veevaRsvpWidget_heading:"Kommer du att kunna delta?",veevaRsvpWidget_image_title:"Kalender",veevaRsvpWidget_yesButton_label:"Ja",veevaRsvpWidget_noButton_label:"Nej",veevaRsvpWidget_confirmed_label:"Du har accepterat",veevaRsvpWidget_declined_label:"Du har avb\xf6jt",veevaRsvpWidget_ToC_label:"Terms and Conditions",veevaRsvpWidget_ToC_url:"https://www.biogen.se/sv_SE/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Privacy Policy",veevaRsvpWidget_Privacy_url:"https://www.biogen.se/sv_SE/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.se/sv_SE/cookies.html",veevaRsvpWidget_Contact_label:"Kontakt",veevaRsvpWidget_Contact_url:"https://www.biogen.se/sv_SE/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},ch:{default:{veevaRsvpWidget_heading:"Werden Sie teilnehmen?",veevaRsvpWidget_image_title:"Kalender",veevaRsvpWidget_yesButton_label:"Ja",veevaRsvpWidget_noButton_label:"Nein",veevaRsvpWidget_confirmed_label:"Weiter",veevaRsvpWidget_declined_label:"Abbrechen",veevaRsvpWidget_ToC_label:"Nutzungsbedingungen",veevaRsvpWidget_ToC_url:"https://www.bi
1ogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Datenschutzrichtlinien",veevaRsvpWidget_Privacy_url:"https://www.biogen.ch/de_CH/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.ch/de_CH/cookies.html",veevaRsvpWidget_Contact_label:"Kontakt",veevaRsvpWidget_Contact_url:"https://www.biogen.ch/de_CH/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")},fr:{veevaRsvpWidget_heading:"Pourrez-vous nous rejoindre ?",veevaRsvpWidget_image_title:"Calendrier",veevaRsvpWidget_yesButton_label:"Oui",veevaRsvpWidget_noButton_label:"Non",veevaRsvpWidget_confirmed_label:"Annuler",veevaRsvpWidget_declined_label:"Poursuivre",veevaRsvpWidget_ToC_label:"Conditions G\xe9n\xe9rales",veevaRsvpWidget_ToC_url:"https://www.biogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Informativa sulla privacy",veevaRsvpWidget_Privacy_url:"https://www.biogen.ch/fr_CH/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.ch/fr_CH/cookies.html",veevaRsvpWidget_Contact_label:"Nous contacter",veevaRsvpWidget_Contact_url:"https://www.biogen.ch/fr_CH/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")},it:{veevaRsvpWidget_heading:"Riuscirai a partecipare?",veevaRsvpWidget_image_title:"Calendario",veevaRsvpWidget_yesButton_label:"S\xed",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"Hai accettato",veevaRsvpWidget_declined_label:"Hai rifiutato",veevaRsvpWidget_ToC_label:"Termini e condizioni",veevaRsvpWidget_ToC_url:"https://www.biogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Informativa sulla privacy",veevaRsvpWidget_Privacy_url:"https://www.biogen.ch/fr_CH/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogen.ch/de_CH/cookies.html",veevaRsvpWidget_Contact_label:"Contatti",veevaRsvpWidget_Contact_url:"https://www.biogen.ch/de_CH/contactus.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("1")}},tw:{default:{veevaRsvpWidget_heading:"ä½ è½åå åï¼",veevaRsvpWidget_image_title:"æ¥æ",veevaRsvpWidget_yesButton_label:"æ¯ç",veevaRsvpWidget_noButton_label:"ä¸",veevaRsvpWidget_confirmed_label:"ä½ å·²ç¶æ¥å",veevaRsvpWidget_declined_label:"ä½ æçµäº",veevaRsvpWidget_ToC_label:"Terms and Conditions",veevaRsvpWidget_ToC_url:"https://www.biogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Privacy",veevaRsvpWidget_Privacy_url:"https://www.biogen.com/en_us/privacy-international.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.mybiogen.link/en/home/cookies.html",veevaRsvpWidget_Contact_label:"Contact Us",veevaRsvpWidget_Contact_url:"https://www.biogen.com/en_us/contact.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("8")}},gb:{default:{veevaRsvpWidget_heading:"Will you be able to join us?",veevaRsvpWidget_image_title:"Calendar",veevaRsvpWidget_yesButton_label:"Yes",veevaRsvpWidget_noButton_label:"No",veevaRsvpWidget_confirmed_label:"You have accepted",veevaRsvpWidget_declined_label:"You have declined",veevaRsvpWidget_ToC_label:"Terms and Conditions",veevaRsvpWidget_ToC_url:"https://www.biogen.uk.com/en_GB/terms-conditions.html",veevaRsvpWidget_Privacy_label:"Privacy",veevaRsvpWidget_Privacy_url:"https://www.biogen.uk.com/en_GB/privacy-policy.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.biogenmc.co.uk/en_gb/home/cookies.html",veevaRsvpWidget_Contact_label:"Contact Us",veevaRsvpWidget_Contact_url:"https://www.biogen.com/en_us/contact.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("0")}},tr:{default:{veevaRsvpWidget_heading:"Katılabilecek misin?",veevaRsvpWidget_image_title:"Takvim",veevaRsvpWidget_yesButton_label:"Evet",veevaRsvpWidget_noButton_label:"Numara",veevaRsvpWidget_confirmed_label:"Kabul ettin",veevaRsvpWidget_declined_label:"Reddettin",veevaRsvpWidget_ToC_label:"Terms and Conditions",veevaRsvpWidget_ToC_url:"https://www.bi
1ogen.com/en_us/terms-conditions-international.html",veevaRsvpWidget_Privacy_label:"Privacy",veevaRsvpWidget_Privacy_url:"https://www.biogen.com/en_us/privacy-international.html",veevaRsvpWidget_Cookies_label:"Cookies",veevaRsvpWidget_Cookies_url:"https://www.mybiogen.link/en/home/cookies.html",veevaRsvpWidget_Contact_label:"Contact Us",veevaRsvpWidget_Contact_url:"https://www.biogen.com/en_us/contact.html",veevaRsvpWidget_JobID:"",veevaRsvpWidget_Timezone:dZ("3")}}},dQ=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=dJ.default.default,i=e.toLowerCase(),a=t.toLowerCase();return dJ[i]&&(n=dJ[i][a]||dJ[i].default),n};function dY(){let e=(0,s._)(["\n mutation UpdateVeevaEventAttendeeById ($attendeeId: String!, $status: SFMCVeevaEventAttendeeStatus!) {\n updateVeevaEventAttendeeById(attendeeId: $attendeeId, status: $status) {\n eventId,\n rsvpStatus,\n statusUpdated\n }\n }\n"]);return dY=function(){return e},e}let dG=(0,tu.J1)(dY());function d0(){let e=(0,s._)(["\n query GetVeevaEventById ($eventId:String!) {\n getByEventId(eventId: $eventId) {\n id\n biogenEventId\n biogenEventSubtype\n countryCode\n country\n description\n eventDisplayName\n eventType\n invitedAttendees\n location\n name\n virtualMeetingPlatform\n eventChannelBiogen\n startTime\n endTime\n }\n }\n"]);return d0=function(){return e},e}let d1=(0,tu.J1)(d0());function d2(){let e=(0,s._)(["\n flex-direction: column;\n display: flex;\n "]);return d2=function(){return e},e}let d4=(0,c.Ay)(p.A).withConfig({componentId:"sc-a2c512a-0"})(["",""],g.$_.sm(d2()));var d5=n(40990),d3=n(10829);let d6=(0,c.Ay)(p.A).withConfig({componentId:"sc-35d5fd8f-0"})(["column-gap:",";row-gap:",";"],_.py.large,_.py.small),d8=e=>{let{translations:t}=e;return(0,i.jsxs)(p.A,{children:[(0,i.jsxs)(d6,{align:h.zI.center,justify:h.sx.center,margin:{bottom:h.or.Xlarge},wrap:!0,children:[(0,i.jsx)(D.A,{href:t.veevaRsvpWidget_ToC_url,allowReferrer:(0,d3.q)(t.veevaRsvpWidget_ToC_url||""),ariaLabel:t.veevaRsvpWidget_ToC_label,label:t.veevaRsvpWidget_ToC_label,size:h.pM.Large,lowercase:!0,weight:h.BO.Light}),(0,i.jsx)(D.A,{href:t.veevaRsvpWidget_Privacy_url,allowReferrer:(0,d3.q)(t.veevaRsvpWidget_Privacy_url||""),ariaLabel:t.veevaRsvpWidget_Privacy_label,label:t.veevaRsvpWidget_Privacy_label,size:h.pM.Large,lowercase:!0,weight:h.BO.Light}),(0,i.jsx)(D.A,{href:t.veevaRsvpWidget_Cookies_url,allowReferrer:(0,d3.q)(t.veevaRsvpWidget_Cookies_url||""),ariaLabel:t.veevaRsvpWidget_Cookies_label,label:t.veevaRsvpWidget_Cookies_label,size:h.pM.Large,lowercase:!0,weight:h.BO.Light}),(0,i.jsx)(D.A,{href:t.veevaRsvpWidget_Contact_url,allowReferrer:(0,d3.q)(t.veevaRsvpWidget_Contact_url||""),ariaLabel:t.veevaRsvpWidget_Contact_label,label:t.veevaRsvpWidget_Contact_label,size:h.pM.Large,lowercase:!0,weight:h.BO.Light})]}),(0,i.jsx)(p.A,{margin:{bottom:h.or.Xlarge},align:h.zI.center,justify:h.sx.center,children:(0,i.jsx)(eA.A,{color:h.U4.textSecondaryReverse,weight:h.BO.Regular,size:h.Z4.Medium,content:t.veevaRsvpWidget_JobID})})]})},d9=e=>{let{title:t,intro:n,displayFooter:a,displayCard:o,cardDate:r,cardTime:s,customColors:c}
1=e,{event:d,date:u,timeString:v,eventId:p,loading:m,attendeeId:g,attendeeUpdateLoading:_,onConfirmInvitation:h,onRejectInvitation:b,translations:f}=(()=>{let{lang:e}=(0,P.A)(),t=(0,nr.useSearchParams)(),n=t.get("eventId"),i=t.get("attendeeId"),a=t.get("country"),o=t.get("language"),r=t.get("Country"),s=t.get("Language"),{getVeevaEventById:c,data:d,loading:u}=(()=>{let[e,{called:t,loading:n,data:i}]=(0,iC._)(d1,{fetchPolicy:"cache-first"});return{getVeevaEventById:t=>e({variables:{eventId:t}}),loading:!t||n,data:i?i.getByEventId:null}})(),{updateVeevaEventAttendeeById:v,data:p,loading:m}=(()=>{let[e,{loading:t,data:n}]=(0,tv.n)(dG);return{updateVeevaEventAttendeeById:(t,n)=>e({variables:{attendeeId:t,status:n}}),loading:t,data:n?n.updateVeevaEventAttendeeById:null}})(),g=null==e?void 0:e.substring(0,null==e?void 0:e.indexOf("-")),_=null==e?void 0:e.substring(null==e?void 0:e.indexOf("-"),0),h=a||r||_||e||"",b=o||s||g||e||"",f=dQ(h,b);(0,l.useEffect)(()=>{n&&c(n)},[n]);let{date:y,timeString:x,startTime:w,endTime:C}=(0,l.useMemo)(()=>{if(!d)return{date:"",startTime:"",endTime:"",timeString:""};let e=d.startTime?new Date(d.startTime).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):"",t=d.endTime?new Date(d.endTime).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):"",n="".concat(e).concat(t?" - ".concat(t):""," ").concat(f.veevaRsvpWidget_Timezone);return{date:d.startTime?new Date(d.startTime).toLocaleDateString(b||void 0,{dateStyle:"full"}):"",startTime:e,endTime:t,timeString:n}},[d,f.veevaRsvpWidget_Timezone,b]),A=async(e,t)=>{try{let n=t===nO.hg.Accepted?f.veevaRsvpWidget_confirmed_label:f.veevaRsvpWidget_declined_label;await v(e,t),(0,T.o)({header:n,alertType:F._1.success})}catch(e){e instanceof Error?(0,T.o)({header:e.message,alertType:F._1.error}):(0,T.o)({header:"Unexpected error, please contact our support team for more details.",alertType:F._1.error})}},R=async()=>{A(i,nO.hg.Accepted)},k=async()=>{A(i,nO.hg.Declined)};return{eventId:n,attendeeId:i,event:d,loading:u,date:y,startTime:w,endTime:C,timeString:x,attendee:p,attendeeUpdateLoading:m,onConfirmInvitation:R,onRejectInvitation:k,translations:f}})();return m&&p&&g?(0,i.jsx)(tf.Ay,{}):p&&g&&d?(0,i.jsxs)(d4,{style:{...c},children:[n&&(0,i.jsx)(d5.A,{...n,title:d.eventDisplayName||d.name||" "}),(0,i.jsx)(dX,{title:t,displayCard:o,translations:f,date:r||u,timeString:s||v,attendeeUpdateLoading:_,onConfirmInvitation:h,onRejectInvitation:b}),a&&(0,i.jsx)(d8,{translations:f})]}):(0,i.jsx)(nF.default,{})},d7=e=>{let{widgetType:t,intro:n,...a}=e;if("Veeva RSVP"===t)return(0,i.jsx)(d9,{intro:n,...a});throw Error('RSVPWidgetsMapper: Missing widget type "'.concat(t,'"'))},ue=e=>(0,i.jsx)(d7,{...e}),ut=(0,c.Ay)(p.A).withConfig({componentId:"sc-5af67da7-0"})(["padding:0;background-color:",";"],e=>{let{$theme:t}=e;return t===h.Sx.dark?(0,u.oU)(h._I.night):(0,u.oU)(h._I.main)}),un=(0,c.Ay)(p.A).withConfig({componentId:"sc-5af67da7-1"})(["position:relative;align-items:center;width:100%;padding:",";box-shadow:",";border-radius:",";background-color:",";"],e=>{let{$isMobile:t}=e;return t?"".concat(_.py.small):"".concat(_.py.medium," ").concat(_.py.large)},e=>{let{$theme:t}=e;return t===h.Sx.dark?"0px 1px 30px 6px rgba(0, 0, 0, 0.2)":_.MS.medium},_.Vq.medium,e=>{let{$theme:t}=e;return t===h.Sx.dark?(0,u.oU)(h.kd.grey9):(0,u.oU)(h._I.main)}),ui=(0,c.Ay)(p.A).withConfig({componentId:"sc-5af67da7-2"})([""]),ua=(0,c.AH)(["font-size:",";"],e=>{let{$isMobile:t}=e;return t?_.xP[_.$C.Small].responsive.default.size:_.xP[_.$C.Large].responsive.default.size}),uo=c.Ay.h1.withConfig({componentId:"sc-5af67da7-3"})(["font-weight:",";",";line-height:",";color:",";"],h.BO.SemiBold,e=>{let{$isTablet:t}=e;return t?ua:"font-size: ".concat((0,m.a)(32))},e=>{let{$isMobile:t}=e;return t?_.xP[_.$C.Small].responsive.default.height:1.25},e=>{let{$theme:t}=e;return t===h.Sx.dark?(0,u.oU)(h.kd.grey6):(0,u.oU)(h.kd.grey9)}),ur=c.Ay.span.withConfig({componentId:"sc-5af67da7-4"})(["display:inline-block;color:",";line-height:",";"],e=>{let{$theme:t}=e;return t===h.Sx.dark?(0,u.oU)(h.kd.white):(0,u.oU)(h.U4.primary)},e=>{let{$isMobile:t}=e;return t?_.xP[_.$C.Small].responsive.default.height:1.25}),ul=c.Ay.span.withConfig({componentId:"sc-5af67da7-5"})(['word-break:break-word;display:block;transition:max-height 0s,opacity 0.4s ease-out;opacity:0;height:0;max-height:0;&[data-display="true"]{display:block;opacity:1;max-height:5rem;}']),us=(0,c.Ay)(p.A).withConfig({componentId:"sc-5af67da7-6"})(["align-items:center;margin-left:",";padding:",";width:",";height:",";border-radius:",";background:",";"],_.py.small,_.py.small,(0,m.a)(48),(0,m.a)(48),(0,m.a)(40),(0,u.oU)(h.U4.primary)),uc=(0,c.Ay)(v.A).withConfig({componentId:"sc-5af67da7-7"})(["background-color:",";"],(0,u.oU)(h._I.main)),ud=c.Ay.a.withConfig({componentId:"sc-5af67da7-8"})(["position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;cursor:pointer;"]),uu=e=>
1{let{id:t,description:n,animatedText:a,theme:o,customColors:r}=e,[s,c]=(0,l.useState)(0),[d,u]=(0,l.useState)(s),v=(0,z.A)(),p=(0,o2.Ay)(o2.Pi.medium),m=(0,nr.useRouter)(),g=(0,nr.useSearchParams)(),_=(0,l.useRef)(null);return(0,l.useEffect)(()=>(a&&(_.current=setInterval(()=>{c(e=>(e+1)%a.length)},2e3)),()=>{_.current&&clearInterval(_.current)}),[null==a?void 0:a.length,a]),(0,l.useEffect)(()=>{let e=setTimeout(()=>{u(s)},500);return()=>{clearTimeout(e)}},[s]),(0,i.jsx)(ut,{display:h.nl.Flex,justify:h.sx.center,$theme:o,style:{...r},children:(0,i.jsxs)(un,{display:h.nl.Flex,justify:h.sx.between,$isMobile:v,$theme:o,children:[(0,i.jsx)(ui,{children:(0,i.jsxs)(uo,{$isMobile:v,$isTablet:p,$theme:o,children:[n,a&&(v?(0,i.jsx)("br",{}):"\xa0"),a&&(0,i.jsx)(ur,{$isMobile:v,$theme:o,children:a.map((e,t)=>(0,i.jsx)(ul,{"data-display":d===t,children:e},e))})]})}),(0,i.jsx)(us,{display:h.nl.Flex,justify:h.sx.center,children:(0,i.jsx)(uc,{icon:M.B.Search,size:h.or.Medium})}),(0,i.jsx)(ud,{onClick:()=>{let e=new URLSearchParams(g);e.set("searchWidget",t);let n="".concat("/search","?").concat(e.toString());m.push(n)}})]})})};function uv(){let e=(0,s._)(["\n ",";\n height: ",";\n "]);return uv=function(){return e},e}let up=e=>!0===e?"true":void 0,um=c.Ay.div.withConfig({componentId:"sc-1d061c54-0"})(["margin:0 auto;width:",";height:",";",""],e=>{let{$mobileSize:t}=e;return(null==t?void 0:t.width)?(0,m.a)(t.width):"100%"},e=>{let{$size:t,$mobileSize:n}=e;return(0,m.a)((null==n?void 0:n.height)||t.height)},g.$_.md(uv(),e=>{let{$size:t}=e;return(null==t?void 0:t.width)&&"width: ".concat((0,m.a)(t.width))},e=>{let{$size:t}=e;return(0,m.a)(t.height)})),ug=e=>{let{storyUrl:t,preserveAspectRatio:n,hideUntilLoaded:a,size:o,mobileSize:r}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(um,{$size:o,$mobileSize:r,children:(0,i.jsx)("storysoft-player",{"preserve-ratio":up(n),"hide-until-loaded":up(a),source:t})}),(0,sv.createPortal)((0,i.jsx)(su(),{type:"module",src:"https://public.storysoft.io/static/@storysoft/storysoft-player/latest/storysoftPlayer.es.js"}),window.document.documentElement,"storysoft-widget")]})};var u_=n(97611);function uh(){let e=(0,s._)(["\n height: ",";\n "]);return uh=function(){return e},e}let ub=(0,c.Ay)(p.A).withConfig({componentId:"sc-843a1d1d-0"})(['&:before{position:absolute;content:"";left:',";right:",";height:",";z-index:-1;top:",";;background:linear-gradient(180deg,"," 0%,"," 11.98%,"," 31.25%);}"],_.AY.medium,_.AY.medium,(0,m.a)(370),_.AY.medium,(0,u.oU)(h.kd.transparent),(0,u.oU)(h.P1.gradiant3),(0,u.oU)(h.P1.gradiant7)),uf=(0,c.Ay)(p.A).withConfig({componentId:"sc-843a1d1d-1"})(["height:",";background:no-repeat center url(",");background-size:cover;z-index:2;",';&:after{position:absolute;content:"";left:0;right:0;height:100%;z-index:-1;top:0;background:linear-gradient(180deg,'," 7.26%,"," 18.1%);}"],(0,m.a)(500),e=>e.url,g.$_.sm(uh(),e=>{let{$bigCard:t}=e;return t?(0,m.a)(360):(0,m.a)(500)}),(0,u.oU)(h.P1.gradiant7),(0,u.oU)(h.kd.transparent));var uy=n(27637),ux=n(1248);let uw=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],[t,n]=(0,l.useState)(e);return[t,(0,l.useCallback)(()=>n(e=>!e),[])]},uC=e=>{let{t}=(0,P.A)(),{title:n,description:a,type:o}=e,[r,l]=uw(!1),s={[uy.N.Series]:"video_series_simple_label",[uy.N.Season]:"video_season_simple_label",[uy.N.Episode]:"neuroflix_episodePage_episode_label",[uy.N.Movie]:"video_movie_simple_label"}[o];return(0,i.jsxs)(ub,{margin:{bottom:h.or.Large},position:h.Hy.relative,children:[(0,i.jsx)(eA.A,{color:h.U4.textPrimaryReverse,size:h.Z4.Xxsmall,content:t(s),uppercase:!0,weight:h.BO.Regular}),(0,i.jsxs)(p.A,{justify:h.sx.between,children:[(0,i.jsx)(p.A,{children:(0,i.jsx)(V.A,{color:h.U4.textPrimaryReverse,level:6,size:_.u.Xsmall,children:n})}),a?(0,i.jsx)(ux._,{$isCollapse:r,negativeMargin:{right:h.dP.Xxsmall,bottom:h.dP.Xxsmall},margin:{left:h.or.Xxsmall},children:(0,i.jsx)(el.A,{icon:M.B.ChevronDown,type:h.VQ.button,ariaLabel:t(r?"preferenceWidget_header_closed":"preferenceWidget_header_open"),onClick:l,variant:h.hi.NoBackground,reverse:!0})}):null]}),(0,i.jsx)(B.A,{isOpen:r,children:a?(0,i.jsx)(p.A,{pad:{top:h.or.Small},children:(0,i.jsx)(eA.A,{color:h.U4.textPrimaryReverse,size:h.Z4.Xsmall,content:a,weight:h.BO.Regular})}):null})]})};var uA=n(68e3);let uR=e=>{let{t}=(0,P.A)(),{images:n,type:a,seriesSlug:o,bigCard:r=!1}=e,{neuroflixSlug:s}=(0,l.useContext)(iq.M),{seriesLink:c,episodeLink:d}=(0,iN.e)({item:e,seriesSlug:o,neuroflixSlug:s}),u={[uy.N.Episode]:{label:"neuroflix_video_card_button_label",link:d},[uy.N.Movie]:{label:"neuroflix_video_card_button_label",link:d},[uy.N.Season]:{label:"teaserCard_button_see_all_episodes",link:c},[uy.N.Series]:{label:"teaserCard_button_see_all_episodes",link:c}}[a];return(0,i.jsx)(uf,{width:"100%",radius:h.Z6.Medium,overflow:h.Oq.hidden,url:(null==n?void 0:n.card.url)||"",$bigCard:r,position:h.Hy.relative,children:(0,i.jsxs)(p.A,{size:"100%",pad:h.or.Small,direction:h.HO.column,justify:h.sx.between,children:[(0,i.jsx)(uA.A,{...e}),(0,i.jsxs)(p.A,{children:[(0,i.jsx)(uC,{...e}),(0,i.jsx)(ni.A,{fullWidth:!r,type:h.VQ.button,label:t(u.label),ariaLabel:t(u.label),variant:h.Ak.Neutral,reverse:!0,href:u.link})]})]})})},uk=(e,t,n)=>{let i=((e,t)=>(null==e?void 0:e.seriesSlug)&&("seasons"in e||"episodes"in e)?(0,aQ.wZ)(e.seriesSlug,t):e&&"slug"in e?"episode"===e.type?(0,a
1Q.YT)(e.slug,t):(0,aQ.e8)(e.slug,t):"")(e,n);if(!i)return null;let a=null==t?void 0:t.find(t=>t.contentId===e.contentId),o=(0,aQ.cK)(e);return{...e,currentProgression:null==a?void 0:a.watchedTimestamp,docType:o,href:i,totalProgression:null==a?void 0:a.contentDuration}};var uj=n(85700);function uW(){let e=(0,s._)(["\n margin-bottom: ",";\n "]);return uW=function(){return e},e}let uI=(0,c.Ay)(p.A).withConfig({componentId:"sc-7cbe30f8-0"})(["margin-bottom:",";",";"],_.py.large,g.$_.sm(uW(),_.py.xlarge)),uS=(0,c.Ay)(p.A).withConfig({componentId:"sc-7cbe30f8-1"})([""," > div{height:100%;}"],uj.dN);var uT=n(90923);let uP=e=>{let{title:t,description:n,categories:o,columns:r,customList:s,sectionTheme:c,theme:d,customColors:u}=e,{videolistwidgetMediacarditemv2Temp051022:v}=(0,a.D0)(),m=(0,nr.useRouter)(),{t:g}=(0,P.A)(),{neuroflixSlug:b}=(0,l.useContext)(iq.M),f=(0,ap.H)(),y=d||c||f,{col:x,serieInformations:w,videoListData:C}=((e,t,n)=>{let{categories:i=[],customList:a=[],columns:o}=e,{col:r}=(e=>{let t=(0,o2.Ay)(o2.zB.small,!1),n=(0,o2.Ay)(o2.zB.medium,!1),i=(0,o2.Ay)(o2.zB.large,!1);return{col:(0,l.useMemo)(()=>i?e:n?3===e||4===e?3:e:t?3===e||4===e?2:e:1,[e,i,n,t])}})(o),s=(0,l.useMemo)(()=>(e=>{let t=[];for(let n=0;n<e.length;n+=1){let i=e[n];("episode"===i.type||"movie"===i.type)&&t.push(i)}return t})(a),[a]),c=sJ(s),d=s.map(e=>e.contentId).filter(Boolean),{consumptions:u}=(0,af.I5)(d),v=!!a.length,[p]=(0,ab.EH)({contentType:"categoryData",query:{"fields.title[in]":i.map(e=>e.title).join(",")},skipRequest:v}),m=p.map(e=>e.sys.id).join(","),g=e=>({contentType:e,query:{"fields.categories.sys.id[in]":m},skipRequest:v||!m}),[_]=(0,ab.EH)(g("videoSeriesData")),[h]=(0,ab.EH)(g("videoSeasonData")),[b]=(0,ab.EH)(g("videoData"));if(v)return{col:r,serieInformations:c,videoListData:t?null==a?void 0:a.map(e=>uk(e,u,n)):a};let f=Object.values([..._,...h,...b].reduce((e,t)=>({...e,[t.sys.id]:t}),{})).map(ay.QO).sort((e,t)=>e.releaseDate>t.releaseDate?1:-1);return{col:r,serieInformations:c,videoListData:t?null==f?void 0:f.map(e=>uk(e,u,n)):f}})({categories:o,customList:s,columns:r},v,b),A=(0,l.useMemo)(()=>{let e=[...C];return v?ao()(e,x).map((e,t)=>{let n=e.map((e,t)=>{let n=null==w?void 0:w.find(t=>t&&t.seriesSlug===e.seriesSlug&&t.slug===e.slug),a="".concat(e.title,"-").concat(t),o=e.docType?g(e.docType).toUpperCase():void 0;return(0,i.jsx)(aJ.A,{brightcoveVideoId:e.brightcoveId,currentProgression:e.currentProgression,description:e.description,docType:o,durationLabel:g("general_minutes_short"),href:e.href,image:e.images.card,onClickPlay:()=>m.push(e.href),seriesInformation:(null==n?void 0:n.text)||"",tags:e.tags,title:e.title,theme:y,totalProgression:e.totalProgression},a)});return(0,i.jsx)(ai.T,{columns:r.toString(),children:n},"grid-row-".concat(t))}):ao()(e,x).map((e,t)=>(0,i.jsx)(ai.T,{columns:r.toString(),children:e.map(e=>e&&(0,i.jsx)(uR,{...e,bigCard:2===r},e.title))},"grid-row-".concat(t)))},[x,r,v,m,w,g,y,C]);return 0===A.length?null:(0,i.jsxs)(uS,{style:{...u},children:[(0,i.jsx)(uI,{align:h.zI.center,children:(0,i.jsx)(V.A,{level:3,color:y===h.Sx.dark?h.U4.textPrimaryReverse:h.U4.textPrimary,size:_.u.Medium,children:t})}),n&&(0,i.jsx)(p.A,{margin:{bottom:h.or.Large},children:(0,i.jsx)(eA.A,{content:n,size:h.Z4.Small,color:y===h.Sx.dark?h.U4.textPrimaryReverse:h.U4.textPrimary})}),(0,i.jsx)(uT.A,{hasChildrenOverflow:y===h.Sx.light,pagination:!0,buttons:!0,fade:!0,theme:y,children:A})]})};var uM=n(63894);let uU=r()(()=>Promise.all([n.e(5066),n.e(2267)]).then(n.bind(n,95066)),{loadableGenerated:{webpack:()=>[95066]},ssr:!1}),uD=r()(()=>n.e(150).then(n.bind(n,30150)),{loadableGenerated:{webpack:()=>[30150]},ssr:!1}),uV=r()(()=>n.e(1676).then(n.bind(n,91676)),{loadableGenerated:{webpack:()=>[91676]},ssr:!1}),uE=e=>{let{widget:t,sectionTheme:n,widgetLinkers:o}=e,{webAppBookmarkWidgetTemp080722:r,consumptionWidgetTemp220722:l,interactivePosterWidgetV2Temp011222:s,suggestedWidgetMulti170223:c,transparencyReportMulti170323:d}=(0,a.D0)();switch(t.sys.contentType.sys.id){case"aiSummaryWidget":return(0,i.jsx)($,{...(0,uM.oz)(t)});case"notificationWidget":return(0,i.jsx)(ta,{...(0,uM.Nu)(t)});case"lmsWidget":return(0,i.jsx)(l3,{});
1case"courseDetailWidget":return(0,i.jsx)(lW,{...(0,uM.Yt)(t)});case"iframeWidget":return(0,i.jsx)(Z,{...(0,uM.I3)(t)});case"myContactsWidget":return(0,i.jsx)(cO,{...(0,uM.nP)(t)});case"onetrustApiPreferenceCenterWidget":return(0,i.jsx)(t1,{consentLinker:o.onetrust,...(0,uM.OE)(t)});case"preferenceWidget":return(0,i.jsx)(dD,{...(0,uM.Vd)(t)});case"rsvpWidget":return(0,i.jsx)(ue,{...(0,uM.B1)(t)});case"videoListWidget":return(0,i.jsx)(uP,{...(0,uM.tX)(t),sectionTheme:n});case"pageWidget":return(0,i.jsx)(a4,{...(0,uM.R2)(t),sectionTheme:n});case"riskCalculatorWidget":return(0,i.jsx)(ot,{});case"riskCalculatorWidgetV2":return(0,i.jsx)(o5,{...(0,uM.Rm)(t)});case"lymphocytesCalculatorWidget":return(0,i.jsx)(e5,{...(0,uM.dw)(t)});case"inlineIframeWidget":return(0,i.jsx)(et,{...(0,uM.fQ)(t)});case"interactivePosterData":return(0,i.jsx)(uU,{...(0,uM.jF)(t)});case"bookmarkWidget":if(r)return(0,i.jsx)(sc,{...(0,uM.Mf)(t),sectionTheme:n});return null;case"consumptionWidget":if(l)return(0,i.jsx)(sQ,{...(0,uM.VN)(t),sectionTheme:n});return null;case"redirectWidget":return(0,i.jsx)(oe,{...(0,uM.Gc)(t)});case"consentCollectionWidget":return(0,i.jsx)(sj,{...(0,uM.CS)(t,o.onetrust)});case"consentCollectionWidgetWithPreferenceTeaser":return(0,i.jsx)(sO,{...(0,uM.dL)(t,o.onetrust)});case"interactivePosterWidgetV2":if(s)return(0,i.jsx)(uD,{...(0,uM.Dd)(t)});return null;case"searchWidget":return(0,i.jsx)(uu,{...(0,uM.Se)(t)});case"suggestedContentWidget":if(c)return(0,i.jsx)(u_.A,{...(0,uM.OY)(t),sectionTheme:n});return null;case"transparencyReportWidget":if(d)return(0,i.jsx)(rX,{...(0,uM.AF)(t)});return null;case"patientCardWidget":return(0,i.jsx)(dt,{...(0,uM.fk)(t)});case"calendlyWidget":return(0,i.jsx)(sm,{...(0,uM.GN)(t)});case"storysoftWidget":return(0,i.jsx)(ug,{...(0,uM.nR)(t)});case"clinicalFormWidget":return(0,i.jsx)(uV,{...(0,uM.l_)(t)});default:throw Error("missing")}},uB=uE},96684:(e,t,n)=>{n.d(t,{G:()=>o});var i=n(98026),a=n(67891);let o=e=>{let[t,n]=(0,i.useState)(!0),[o,r]=(0,i.useState)(0),[l,s]=(0,i.useState)(null);return(0,i.useEffect)(()=>{(async()=>{if(e){let t=await a.A.getDocument(e).promise;s(new Blob([new Uint8Array(await t.getData())])),r(t.numPages),n(!1)}})()},[e]),{loading:t,numPages:o,pdfDocument:l}}}}]);
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.