(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{648:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o=(r=n(82))&&r.__esModule?r:{default:r};var c="https://api.itweb.co.za/",l=o.default.create({baseURL:c,timeout:12e4});l.interceptors.request.use((function(t){if((!t.url.startsWith("http")||-1!==t.url.indexOf(c))&&window.localStorage.getItem("itw_access_token")){var e=window.localStorage.getItem("itw_access_token");t.headers.Authorization="Bearer "+e}return t})),l.interceptors.response.use(void 0,(function(t){return localStorage.getItem("itw_access_token")&&t.response&&401===t.response.status?o.default.post(c+"/auth/login",{grant_type:"refresh_token",client_id:2,client_secret:"bz80P5wNt4iEhnsHMANm8MbUxlFqQrvBnYYyFfRv"},{withCredentials:!0}).then((function(e){var n=e.data.access_token;return localStorage.setItem("itw_access_token",n),t.config.headers.Authorization="Bearer "+n,(0,o.default)(t.config)})).catch((function(){return localStorage.removeItem("itw_access_token")})):Promise.reject(t)}));var d=l;e.default=d},705:function(t,e,n){t.exports={}},706:function(t,e,n){t.exports={}},707:function(t,e,n){t.exports={}},757:function(t,e,n){"use strict";var r=n(80),o=n(3),c=(n(13),n(11),n(71),n(40),n(20),n(16),n(17),n(14),n(4),n(66),n(76),n(8),n(55),n(606),n(636)),l=n(143),d=n(152),h=n(259),f=n(262),v=n(256),m=n(257),y=n(153),_=n(10),w=n(12),C=n(0);function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function k(t){for(var e=1;e=this.getMaxZIndex()},hideScroll:function(){this.fullscreen?document.documentElement.classList.add("overflow-y-hidden"):f.a.options.methods.hideScroll.call(this)},show:function(){var t=this;!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.$nextTick((function(){t.$nextTick((function(){var e,n;(null===(e=t.$refs.dialog)||void 0===e?void 0:e.contains(document.activeElement))||(t.previousActiveElement=document.activeElement,null===(n=t.$refs.dialog)||void 0===n||n.focus()),t.bind()}))}))},bind:function(){window.addEventListener("focusin",this.onFocusin)},unbind:function(){window.removeEventListener("focusin",this.onFocusin)},onClickOutside:function(t){this.$emit("click:outside",t),this.persistent?this.noClickAnimation||this.animateClick():this.isActive=!1},onKeydown:function(t){if(t.keyCode===C.s.esc&&!this.getOpenDependents().length)if(this.persistent)this.noClickAnimation||this.animateClick();else{this.isActive=!1;var e=this.getActivator();this.$nextTick((function(){return e&&e.focus()}))}this.$emit("keydown",t)},onFocusin:function(t){if(t&&this.retainFocus){var e=t.target;if(e&&this.$refs.dialog&&![document,this.$refs.dialog].includes(e)&&!this.$refs.dialog.contains(e)&&this.activeZIndex>=this.getMaxZIndex()&&!this.getOpenDependentElements().some((function(t){return t.contains(e)}))){var n=this.$refs.dialog.querySelectorAll('button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])'),o=Object(r.a)(n).find((function(t){return!t.hasAttribute("disabled")&&!t.matches('[tabindex="-1"]')}));o&&o.focus()}}},genContent:function(){var t=this;return this.showLazyContent((function(){return[t.$createElement(c.a,{props:{root:!0,light:t.light,dark:t.dark}},[t.$createElement("div",{class:t.contentClasses,attrs:k({role:"dialog","aria-modal":t.hideOverlay?void 0:"true"},t.getScopeIdAttrs()),on:{keydown:t.onKeydown},style:{zIndex:t.activeZIndex},ref:"content"},[t.genTransition()])])]}))},genTransition:function(){var content=this.genInnerContent();return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,appear:!0}},[content]):content},genInnerContent:function(){var data={class:this.classes,attrs:{tabindex:this.isActive?0:void 0},ref:"dialog",directives:[{name:"click-outside",value:{handler:this.onClickOutside,closeConditional:this.closeConditional,include:this.getOpenDependentElements}},{name:"show",value:this.isActive}],style:{transformOrigin:this.origin}};return this.fullscreen||(data.style=k(k({},data.style),{},{maxWidth:Object(C.g)(this.maxWidth),width:Object(C.g)(this.width)})),this.$createElement("div",data,this.getContentSlot())}},render:function(t){return t("div",{staticClass:"v-dialog__container",class:{"v-dialog__container--attached":""===this.attach||!0===this.attach||"attach"===this.attach}},[this.genActivator(),this.genContent()])}})},758:function(t,e,n){"use strict";n(602);var r=n(0);e.a=Object(r.i)("spacer","div","v-spacer")},802:function(t,e,n){"use strict";n(705)},803:function(t,e,n){"use strict";n(706)},804:function(t,e,n){"use strict";n(707)},878:function(t,e,n){"use strict";var r=n(263),o=n(635),c=n(634),l=n(648),d=n.n(l),h=n(599),f=(n(13),n(72),n(28),n(691)),v=n.n(f),m=n(686),y=n.n(m),_=n(1),w=n.n(_),C={mixins:[y.a],props:{size:{type:String,required:!1,default:"xl"}},data:function(){return{breakpoints:v.a}},computed:{headlineClass:function(){return"md"===this.size?"itw-headline-3-normal-max":"itw-headline-3-large-max"},device:function(){return this.$store.state.device.size}},filters:{date:function(t){return w()(t).format("DD MMM YYYY")}}},x=n(48),k=Object(x.a)(C,(function(){var t=this,e=t._self._c;return e(c.a,{attrs:{justify:"center"}},[e(o.a,{attrs:{cols:"6"}},[e(h.a,{staticClass:"mx-auto elevation-5 px-4 pb-2",staticStyle:{height:"100%"},attrs:{to:{name:"content-id",params:{id:t.item.id}}}},[e(o.a,{attrs:{cols:"12"}},[e("p",{staticClass:"text-left pt-4 overline pb-0 mb-1"},[t._v("\n "+t._s(t._f("date")(t.item.publishAt))+"\n "),t.item.contributors?[t._v("- by "+t._s(t.item.contributors[0].name))]:t._e()],2),t._v(" "),e(c.a,{staticClass:"pt-0 pb-4"},[e(o.a,{attrs:{cols:"12",md:"5"}},[t._t("image",(function(){return[e("itw-image",{staticClass:"elevation-1",attrs:{image:t.image,aspectRatio:16/9,cover:t.shouldCover}},[t.item.wordCount?e("itw-read-time",{staticClass:"border-top-left",attrs:{label:!1,"word-count":t.item.wordCount}}):t._e()],1)]}))],2),t._v(" "),e(o.a,{staticClass:"pl-4 pt-0",attrs:{cols:"12",md:"7"}},[e("h2",{staticClass:"text-left pb-4"},[t._v(t._s(t.item.title))]),t._v(" "),e("p",[t._v(t._s(t.item.description))]),t._v(" "),e("p",[e(r.a,{attrs:{color:"primary",rounded:""}},[t._v("Read full story")])],1)])],1)],1)],1)],1)],1)}),[],!1,null,null,null).exports,O={props:{buttonColor:{type:String,required:!1,default:"primary"}},components:{itwWebinarCard:k},data:function(){return{contents:[]}},created:function(){this.getContent()},methods:{getContent:function(){var t=this;d.a.get("/v3/events/".concat("APero3MZjgMQb6mG","/content?sticky")).then((function(e){return t.contents=e.data}))}}},j=Object(x.a)(O,(function(){var t=this,e=t._self._c;return t.contents.length?e(c.a,{staticClass:"my-2",attrs:{justify:"center","no-gutters":""}},[e(o.a,{staticClass:"text-center",attrs:{cols:"12",align:"center"}},[e("span",{staticClass:"display-2"},[t._t("title",(function(){return[t._v("Latest News")]}))],2)]),t._v(" "),t._l(t.contents,(function(t){return e(o.a,{key:t.id,staticClass:"my-2",attrs:{cols:"12",lg:"12"}},[e("itw-webinar-card",{attrs:{item:t}})],1)})),t._v(" "),e(o.a,{attrs:{cols:"12",lg:"6"}},[e(r.a,{staticClass:"mt-2",attrs:{"x-large":"",color:t.buttonColor,block:"",dark:"",to:{name:"news"}}},[t._v("\n Don’t miss the latest news, visit our newsroom\n ")])],1)],2):t._e()}),[],!1,null,null,null);e.a=j.exports},884:function(t,e,n){"use strict";var r=n(635),o=n(184),c=n(634),l=(n(20),n(49),{props:{slider:{type:Array,default:function(){return[]}},lg:{type:Number,required:!1,default:8}},filters:{fullUrl:function(t){return(t||"").startsWith("http")?t:"https://itweb.co.za/"+t}}}),d=(n(802),n(48)),component=Object(d.a)(l,(function(){var t=this,e=t._self._c;return e(c.a,{staticStyle:{"z-index":"0"},attrs:{justify:"center","no-gutters":""}},[e("div",{staticStyle:{width:"100%","max-width":"100%"}},[e(o.a,{attrs:{src:t._f("fullUrl")(t.slider[0].src),"max-width":"100%"}},[e(c.a,{staticClass:"fill-height",attrs:{justify:"center"}},[e(r.a,{staticClass:"fill-height",attrs:{cols:"12",md:t.lg}},[e(c.a,{staticClass:"flex-column fill-height",class:t.isMobileOrTablet&&"px-4",attrs:{justify:"space-around","no-gutters":""}},[t._t("default")],2)],1)],1)],1)],1)])}),[],!1,null,"2f93c0e0",null);e.a=component.exports},885:function(t,e,n){"use strict";var r=n(599),o=n(598),c=n(635),l=n(184),d=n(634),h=(n(28),n(20),{components:{linkedinIcon:n(664).a},props:{speakers:{type:Array},backgroundColor:{type:String,required:!1,default:"#f5f5f5"},speakerClasses:{type:String,required:!1,default:"title text-center grey--text text--darken-3 font-weight-bold"},speakerCareerClasses:{type:String,required:!1,default:""},cols:{type:[String,Number],required:!1,default:12},sm:{type:[String,Number],required:!1,default:6},lg:{type:[String,Number],required:!1,default:3}},methods:{avatar:function(t){var e=Object.property(t,"avatar.servingUrl");return e||"https://v2.itweb.co.za/images/stories/Events/!speakers/ph200_generic-male.jpg"},designation:function(t){var e=t.career;if(!e)return!1;var output="";return e[0].title&&(output+=e[0].title),e[0].title&&e[0].company&&(output+=", "),e[0].company&&(output+=e[0].company),output}}}),f=(n(803),n(48)),component=Object(f.a)(h,(function(){var t=this,e=t._self._c;return e(d.a,{staticClass:"my-0 px-4",style:"background-color: "+t.backgroundColor,attrs:{justify:"center","no-gutters":"",id:"speaker"}},[e(c.a,{attrs:{cols:"12",lg:2==t.lg?12:8}},[e(d.a,{attrs:{"no-gutters":""}},[e(d.a,{staticClass:"pt-4 mb-15 mt-5",attrs:{id:"presenter",justify:"center","no-gutters":""}},[e(c.a,{staticClass:"text-center my-8",attrs:{cols:"12"}},[e("span",{staticClass:"text-xl-display-2 display-1"},[t._t("title",(function(){return[t._v("Expert presenter")]}))],2)]),t._v(" "),e(d.a,{staticClass:"mt-8",attrs:{justify:"center"}},[t._l(t.speakers,(function(n){return[e(c.a,{class:t.isDesktop&&"px-4",attrs:{cols:t.cols,sm:t.sm,lg:t.lg}},[e(r.a,{staticClass:"mx-auto fill-height",staticStyle:{"border-bottom":"3px solid #414141"},attrs:{to:{name:"speaker-id",params:{id:n.id}},"max-width":"400"}},[e(l.a,{staticClass:"white--text align-end",attrs:{height:"300px",src:t.avatar(n)}},[e("div",{staticStyle:{position:"absolute",bottom:"0",left:"0",width:"100%",height:"25px","border-top-left-radius":"50%","border-top-right-radius":"50%",background:"white"}})]),t._v(" "),e(o.b,{staticClass:"text--primary"},[e("p",{class:t.speakerClasses},[t._v("\n "+t._s(n.name)+"\n ")]),t._v(" "),n.career&&n.career[0]?e("p",{staticClass:"text-center",class:t.speakerCareerClasses},[t._v("\n "+t._s(t.designation(n))+"\n ")]):t._e()])],1)],1)]}))],2)],1)],1)],1)],1)}),[],!1,null,null,null);e.a=component.exports},886:function(t,e,n){"use strict";var r=n(635),o=n(634),c=(n(32),n(55),n(1)),l=n.n(c),d={props:{background:{type:String,required:!1,default:"primary"},color:{type:String,required:!1,default:"#45a4ec"}},data:function(){return{time:{days:0,hours:0,minutes:0,seconds:0},seconds:0,interval:null}},created:function(){this.interval=setInterval(this.getDate,1e3)},methods:{getDate:function(){var a=l()(),time=l()(this.webinar.info.date+" "+this.webinar.info.time).diff(a,"seconds");this.seconds=time;var t=Math.floor(time/86400),e=Math.floor((time-86400*t)/3600),n=Math.floor((time-(86400*t+3600*e))/60),r=time-(86400*t+3600*e+60*n);this.time.days=t<10?"0"+t:t,this.time.hours=e<10?"0"+e:e,this.time.minutes=n<10?"0"+n:n,this.time.seconds=r<10?"0"+r:r}},computed:{webinar:function(){return this.$store.state.webinar}},beforeDestroy:function(){clearInterval(this.interval)}},h=(n(804),n(48)),component=Object(h.a)(d,(function(){var t=this,e=t._self._c;return e(o.a,{class:t.isMobile&&"mobile",attrs:{justify:"center","no-gutters":""}},[e(r.a,{attrs:{cols:"12",lg:"8"}},[t.seconds>0?e(o.a,{staticClass:"display-1 mb-10",attrs:{justify:"center"}},[e(r.a,{staticClass:"px-1",attrs:{cols:"6",lg:"3"}},[e(o.a,{attrs:{justify:"center","no-gutters":""}},[e("div",{staticClass:"mb-0 counter elevation-1",style:"background-color: ".concat(t.background,"; color: ").concat(t.color)},[e("span",[t._v(t._s(t.time.days))]),t._v(" "),e("div",{staticClass:"subtitle-1"},[t._v("Days")])])])],1),t._v(" "),e(r.a,{staticClass:"px-1",attrs:{cols:"6",lg:"3"}},[e(o.a,{attrs:{justify:"center","no-gutters":""}},[e("div",{staticClass:"mb-0 counter elevation-1",style:"background-color: ".concat(t.background,"; color: ").concat(t.color)},[e("span",[t._v(t._s(t.time.hours))]),t._v(" "),e("div",{staticClass:"subtitle-1"},[t._v("Hours")])])])],1),t._v(" "),e(r.a,{staticClass:"px-1",attrs:{cols:"6",lg:"3"}},[e(o.a,{attrs:{justify:"center","no-gutters":""}},[e("div",{staticClass:"mb-0 counter elevation-1",style:"background-color: ".concat(t.background,"; color: ").concat(t.color)},[e("span",[t._v(t._s(t.time.minutes))]),t._v(" "),e("div",{staticClass:"subtitle-1"},[t._v("Minutes")])])])],1),t._v(" "),e(r.a,{staticClass:"px-1",attrs:{cols:"6",lg:"3"}},[e(o.a,{attrs:{justify:"center","no-gutters":""}},[e("div",{staticClass:"mb-0 counter elevation-1",style:"background-color: ".concat(t.background,"; color: ").concat(t.color)},[e("span",[t._v(t._s(t.time.seconds))]),t._v(" "),e("div",{staticClass:"subtitle-1"},[t._v("Seconds")])])])],1)],1):t._e()],1)],1)}),[],!1,null,null,null);e.a=component.exports}}]);