(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[105],{2637:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/videos/[videotitle]",function(){return a(3804)}])},9155:function(e,t,a){"use strict";a.d(t,{Z:function(){return l}});var s=a(5893);function l(e){let{contentType:t}=e;return(0,s.jsxs)("div",{className:"space-y-5",children:["article"===t&&(0,s.jsx)("div",{className:"font-bold",children:"*Not Financial Advice⁣⁣⁣"}),(0,s.jsxs)("div",{className:"text-sm italic",children:[(0,s.jsx)("span",{className:"font-bold",children:"Disclaimer: "}),"All content on this channel is for education purposes only and does not constitute an investment recommendation or individual financial advice. For that, you should speak to a regulated, independent professional. The value of investments and the income from them can go down as well as up, so you may get back less than you invest. The views expressed on this channel may no longer be current. The information provided is not a personal recommendation for any particular investment. Tax treatment depends on individual circumstances and all tax rules may change in the future. If you are unsure about the suitability of an investment, you should speak to a regulated, independent professional."]})]})}},3593:function(e,t,a){"use strict";a.d(t,{KI:function(){return x},Pz:function(){return p},am:function(){return h},d$:function(){return f},lr:function(){return m}});var s=a(5893),l=a(7294),r=a(9382),n=a(5875),i=a(1593),o=a(3917),c=a(2417);let u=l.createContext(null);function d(){let e=l.useContext(u);if(!e)throw Error("useCarousel must be used within a ");return e}let m=l.forwardRef((e,t)=>{let{orientation:a="horizontal",opts:n,setApi:i,plugins:c,className:d,children:m,...x}=e,[f,h]=(0,r.Z)({...n,axis:"horizontal"===a?"x":"y"},c),[p,b]=l.useState(!1),[v,N]=l.useState(!1),j=l.useCallback(e=>{e&&(b(e.canScrollPrev()),N(e.canScrollNext()))},[]),y=l.useCallback(()=>{null==h||h.scrollPrev()},[h]),w=l.useCallback(()=>{null==h||h.scrollNext()},[h]),g=l.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),y()):"ArrowRight"===e.key&&(e.preventDefault(),w())},[y,w]);return l.useEffect(()=>{h&&i&&i(h)},[h,i]),l.useEffect(()=>{if(h)return j(h),h.on("reInit",j),h.on("select",j),()=>{null==h||h.off("select",j)}},[h,j]),(0,s.jsx)(u.Provider,{value:{carouselRef:f,api:h,opts:n,orientation:a||((null==n?void 0:n.axis)==="y"?"vertical":"horizontal"),scrollPrev:y,scrollNext:w,canScrollPrev:p,canScrollNext:v},children:(0,s.jsx)("div",{ref:t,onKeyDownCapture:g,className:(0,o.cn)("relative",d),role:"region","aria-roledescription":"carousel",...x,children:m})})});m.displayName="Carousel";let x=l.forwardRef((e,t)=>{let{className:a,...l}=e,{carouselRef:r,orientation:n}=d();return(0,s.jsx)("div",{ref:r,className:"overflow-hidden",children:(0,s.jsx)("div",{ref:t,className:(0,o.cn)("flex","horizontal"===n?"-ml-4":"-mt-4 flex-col",a),...l})})});x.displayName="CarouselContent";let f=l.forwardRef((e,t)=>{let{className:a,...l}=e,{orientation:r}=d();return(0,s.jsx)("div",{ref:t,role:"group","aria-roledescription":"slide",className:(0,o.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",a),...l})});f.displayName="CarouselItem";let h=l.forwardRef((e,t)=>{let{className:a,variant:l="outline",size:r="icon",...i}=e,{orientation:u,scrollPrev:m,canScrollPrev:x}=d();return(0,s.jsxs)(c.z,{ref:t,variant:l,size:r,className:(0,o.cn)("absolute h-10 w-10 rounded-full","horizontal"===u?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!x,onClick:m,...i,children:[(0,s.jsx)(n.Z,{className:"h-6 w-6"}),(0,s.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});h.displayName="CarouselPrevious";let p=l.forwardRef((e,t)=>{let{className:a,variant:l="outline",size:r="icon",...n}=e,{orientation:u,scrollNext:m,canScrollNext:x}=d();return(0,s.jsxs)(c.z,{ref:t,variant:l,size:r,className:(0,o.cn)("absolute h-10 w-10 rounded-full","horizontal"===u?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!x,onClick:m,...n,children:[(0,s.jsx)(i.Z,{className:"h-6 w-6"}),(0,s.jsx)("span",{className:"sr-only",children:"Next slide"})]})});p.displayName="CarouselNext",l.forwardRef((e,t)=>{let{api:a}=d(),[r,n]=l.useState(!1),i=l.useCallback(()=>n(e=>!e),[]);l.useEffect(()=>{if(a)return a.on("select",i),a.on("reInit",i),()=>{a.off("select",i),a.off("reInit",i)}},[a,i]);let o=(null==a?void 0:a.scrollSnapList().length)||0,c=(null==a?void 0:a.selectedScrollSnap())||0;return o>1?(0,s.jsx)("div",{ref:t,className:"flex justify-center ".concat(e.className),children:Array.from({length:o},(e,t)=>(0,s.jsx)("span",{className:"mx-1 h-1.5 w-1.5 rounded-full transition-all duration-700 ease-in-out transform ".concat(t===c?"bg-blue-primary w-4":"bg-blue-secondary")},t))}):(0,s.jsx)(s.Fragment,{})}).displayName="CarouselDots"},3804:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return f},default:function(){return h}});var s=a(5893);a(7294);var l=a(9008),r=a.n(l),n=a(2233),i=a(5675),o=a.n(i),c=a(3593),u=a(9155),d=a(1664),m=a.n(d),x=a(4435),f=!0;function h(e){let{pageData:t,otherVideos:a}=e,l=t.attributes.uri.replace("/videos/",""),i=!!t.attributes.cpd_course.data;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r(),{children:[(0,s.jsx)("title",{children:t.attributes.name}),(0,s.jsx)("meta",{name:"description",content:t.attributes.description})]}),(0,s.jsxs)("div",{className:"mx-4 my-2 max-w-[1140px] items-center md:mx-[50px] lg:mx-auto xl:pt-8",children:[(0,s.jsxs)("div",{className:"flex flex-col justify-center bg-gray-100",children:[(0,s.jsx)("div",{className:"aspect-video",children:(0,s.jsx)("iframe",{src:"https://player.vimeo.com/video/".concat(l),width:"1920",height:"1080",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,className:"left-0 top-0 size-full p-2.5"})}),i&&(0,s.jsx)(m(),{href:"/cpd/".concat(t.attributes.cpd_course.data.id,"/aims"),className:"place-self-center",children:(0,s.jsx)("button",{className:"m-2 rounded-md bg-orange-600 px-6 py-3 text-white transition duration-200 ease-in-out hover:scale-105",children:"TAKE THE CPD/CE QUIZ"})}),(0,s.jsx)("h2",{className:"mx-6 mt-6 text-xl font-bold text-blue-primary md:text-3xl",children:t.attributes.name}),(0,s.jsx)("div",{className:"m-5 mb-7 md:text-lg xl:text-xl",children:(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:t.attributes.description}})})]}),t.attributes.horizontal_banner.data&&(0,s.jsx)("div",{className:"my-5",children:(0,s.jsx)(m(),{href:t.attributes.horizontal_banner.data.attributes.navigation_url,children:(0,s.jsx)(o(),{src:t.attributes.horizontal_banner.data.attributes.cover_image.data.attributes.url,alt:t.attributes.horizontal_banner.data.attributes.title,width:1200,height:400,layout:"responsive",className:"h-auto"})})}),(0,s.jsx)("div",{className:"my-8 xl:mb-16",children:(0,s.jsx)(u.Z,{})})]}),(0,s.jsxs)("div",{className:"mt-5 flex flex-col items-center justify-center bg-gray-100 ",children:[(0,s.jsx)("p",{className:"m-4 mb-1 pb-2 pt-4 text-center text-3xl font-bold text-blue-primary",children:"Watch More"}),(0,s.jsx)("p",{className:"flex w-1/2 self-center border-t-[3px] border-solid border-blue-secondary"}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)(c.lr,{id:"carousel",className:"max-w-[375px] items-center md:max-w-[740px] lg:max-w-[1000px] xl:max-w-[1340px]",children:[(0,s.jsx)(c.KI,{className:"-ml-4 mb-12",id:"carouselcontent",children:a.map(e=>{let t=(0,n.createSlug)(e.attributes.name);return(0,s.jsx)(c.d$,{className:"flex justify-center md:basis-1/2 xl:basis-1/3 ",id:"carouselitem",children:(0,s.jsx)(x.Z,{page:e,contentType:"video",slug:t})},e.id)})}),(0,s.jsxs)("div",{className:"absolute inset-x-0 bottom-2 flex justify-center space-x-2 ",children:[(0,s.jsx)(c.am,{className:"relative !-left-0"}),(0,s.jsx)(c.Pz,{className:"relative !-right-0"})]})]})})]})]})}}},function(e){e.O(0,[945,786,52,934,888,774,179],function(){return e(e.s=2637)}),_N_E=e.O()}]);