webpackJsonp([2],[,,,,,,,,,,,,,,,function(e,t,n){"use strict";var o=n(52);n.n(o);t.a={semiRoundedButtonContainer:{borderRadius:"4px",overflow:"hidden",height:36},semiRoundedButton:{borderRadius:"4px",fontFamily:"Figtree"},semiRoundedButtonLabel:{fontWeight:700,letterSpacing:"0.5px",paddingLeft:8,paddingRight:8},roundedButtonContainer:{borderRadius:"18px",overflow:"hidden",height:36},roundedButton:{borderRadius:"18px",fontFamily:"Figtree",fontWeight:700},roundedButtonLabel:{fontWeight:700,letterSpacing:"0.5px",paddingLeft:8,paddingRight:8},pinkButton:{backgroundColor:o.pink,fontFamily:"Figtree",fontWeight:700},turquoiseButton:{backgroundColor:o.turquoise,fontFamily:"Figtree",fontWeight:700},blueButton:{backgroundColor:o.blue,fontFamily:"Figtree",fontWeight:700,color:o.white},orangeButton:{backgroundColor:o.orange,color:o.white,fontFamily:"Figtree",fontWeight:700},purpleButton:{backgroundColor:o.pink,fontFamily:"Figtree",fontWeight:700},whiteButton:{backgroundColor:o.gray50,fontFamily:"Figtree",fontWeight:700},googleButton:{fontFamily:"Figtree",fontWeight:700,backgroundColor:"#4285F4"},microsoftButton:{fontFamily:"Figtree",fontWeight:700,backgroundColor:"#2f2f2f"},zoomButton:{fontFamily:"Figtree",fontWeight:700,backgroundColor:"#2D8CFF"},grayButton:{fontFamily:"Figtree",fontWeight:700,backgroundColor:o.gray400,color:o.white},ttNoneButton:{textTransform:"none",letterSpacing:"1px"},roundedPaper:{borderRadius:"5px",padding:"24px"},applyButton:{borderRadius:"4px",overflow:"hidden",width:"128px"},colorfulButtonLabel:{color:o.white,paddingLeft:8,paddingRight:8},userAvatar:{verticalAlign:"middle"},groupLogo:{verticalAlign:"middle",borderRadius:"4px"},organisationLogo:{verticalAlign:"middle",borderRadius:"4px"},organisationLogoStyle:{borderRadius:"4px"},logoS:{flex:"0 0 32px",width:"32px",height:"32px",heightForLazyLoad:32,fontSize:16},logoM:{width:"48px",height:"48px",heightForLazyLoad:48},logoL:{width:"64px",height:"64px",heightForLazyLoad:64},logoXL:{width:"96px",height:"96px",fontSize:32},logoXXL:{width:"128px",height:"128px",fontSize:"2rem",heightForLazyLoad:128,flex:"0 0 128px"},logoXXXL:{width:"144px",height:"144px",fontSize:"3rem"},logoXXXXL:{width:"196px",height:"196px",fontSize:"4rem"},logoSGroup:{borderRadius:"3px",verticalAlign:"middle"},logoMGroup:{borderRadius:"4px",verticalAlign:"middle"},logoLGroup:{borderRadius:"6px",verticalAlign:"middle"},logoXLGroup:{borderRadius:"9px",verticalAlign:"middle"},logoXXLGroup:{borderRadius:"12px"},logoXXXXLGroup:{borderRadius:"18px"},skillChip:{margin:"0.1rem"},skillChipLabel:{paddingLeft:"6px",paddingRight:"6px",lineHeight:"24px",fontSize:"10px"},calendarBox:{width:"128px",height:"80px",verticalAlign:"top",boxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"},calendarBoxTall:{height:"100px"},errorBackground:{background:o.error}}},function(e,t,n){"use strict";t.a={build:function(e,t){var n=[];return e.split("|").forEach(function(e){var o=t[e]||e;n.push(o)}),n},externalLink:function(e){return e.startsWith("http://")||e.startsWith("https://")?e:"http://"+e},linkify:function(e){if(!e)return"";var t=void 0;t=e.replace(/\n/g,"<br />");var n=/(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim;t=t.replace(n,'<a href="$1" target="_blank" rel="noopener noreferrer">$1</a>');var o=/(^|[^\/])(www\.[\S]+(\b|$))/gim;t=t.replace(o,'$1<a href="http://$2" target="_blank" rel="noopener noreferrer">$2</a>');var i=/(([a-zA-Z0-9\-\_\.])+@[a-zA-Z\_]+?(\.[a-zA-Z]{2,6})+)/gim;return t=t.replace(i,'<a href="mailto:$1" rel="noopener noreferrer">$1</a>')},linkifyForMarkdown:function(e){if(!e||!e.replace)return"";var t=void 0;t=e.replace(/\n/g,"<br />");var n=/(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim;t=t.replace(n,"[$1]($1)");var o=/(^|[^\/])(www\.[\S]+(\b|$))/gim;t=t.replace(o,"[$2]($1)");var i=/(([a-zA-Z0-9\-\_\.])+@[a-zA-Z\_]+?(\.[a-zA-Z]{2,6})+)/gim;return t=t.replace(i,"[$1](mailto:$1)")},trim:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(0,t)+(e.length>t?"...":"")}}},,,,,function(e,t,n){"use strict";n.d(t,"_42",function(){return o}),n.d(t,"a",function(){return i}),n.d(t,"_17",function(){return r}),n.d(t,"_18",function(){return a}),n.d(t,"g",function(){return s}),n.d(t,"h",function(){return l}),n.d(t,"i",function(){return u}),n.d(t,"j",function(){return c}),n.d(t,"k",function(){return d}),n.d(t,"d",function(){return p}),n.d(t,"e",function(){return f}),n.d(t,"f",function(){return m}),n.d(t,"b",function(){return g}),n.d(t,"c",function(){return h}),n.d(t,"n",function(){return v}),n.d(t,"p",function(){return y}),n.d(t,"o",function(){return _}),n.d(t,"m",function(){return b}),n.d(t,"_41",function(){return w}),n.d(t,"r",function(){return S}),n.d(t,"q",function(){return x}),n.d(t,"s",function(){return A}),n.d(t,"t",function(){return P}),n.d(t,"v",function(){return C}),n.d(t,"w",function(){return k}),n.d(t,"B",function(){return M}),n.d(t,"x",function(){return T}),n.d(t,"z",function(){return O}),n.d(t,"A",function(){return E}),n.d(t,"y",function(){return I}),n.d(t,"C",function(){return N}),n.d(t,"u",function(){return D}),n.d(t,"D",function(){return j}),n.d(t,"E",function(){return R}),n.d(t,"F",function(){return F}),n.d(t,"G",function(){return L}),n.d(t,"_24",function(){return U}),n.d(t,"_25",function(){return B}),n.d(t,"_26",function(){return Z}),n.d(t,"_27",function(){return Y}),n.d(t,"_28",function(){return G}),n.d(t,"_29",function(){return H}),n.d(t,"_30",function(){return W}),n.d(t,"_31",function(){return z}),n.d(t,"_38",function(){return X}),n.d(t,"_32",function(){return V}),n.d(t,"_33",function(){return Q}),n.d(t,"_34",function(){return q}),n.d(t,"_14",function(){return J}),n.d(t,"_35",function(){return K}),n.d(t,"_15",function(){return $}),n.d(t,"_16",function(){return ee}),n.d(t,"_43",function(){return te}),n.d(t,"_44",function(){return ne}),n.d(t,"_45",function(){return oe}),n.d(t,"_19",function(){return ie}),n.d(t,"_20",function(){return re}),n.d(t,"_37",function(){return ae}),n.d(t,"_39",function(){return se}),n.d(t,"_40",function(){return le}),n.d(t,"_36",function(){return ue}),n.d(t,"_5",function(){return ce}),n.d(t,"_6",function(){return de}),n.d(t,"_7",function(){return pe}),n.d(t,"_8",function(){return fe}),n.d(t,"_9",function(){return me}),n.d(t,"_11",function(){return ge}),n.d(t,"_12",function(){return he}),n.d(t,"_13",function(){return ve}),n.d(t,"_10",function(){return ye}),n.d(t,"V",function(){return _e}),n.d(t,"W",function(){return be}),n.d(t,"X",function(){return we}),n.d(t,"Y",function(){return Se}),n.d(t,"_0",function(){return xe}),n.d(t,"_1",function(){return Ae}),n.d(t,"Z",function(){return Pe}),n.d(t,"_2",function(){return Ce}),n.d(t,"_3",function(){return ke}),n.d(t,"_4",function(){return Me}),n.d(t,"_21",function(){return Te}),n.d(t,"_22",function(){return Oe}),n.d(t,"_23",function(){return Ee}),n.d(t,"I",function(){return Ie}),n.d(t,"J",function(){return Ne}),n.d(t,"K",function(){return De}),n.d(t,"H",function(){return je}),n.d(t,"L",function(){return Re}),n.d(t,"M",function(){return Fe}),n.d(t,"O",function(){return Le}),n.d(t,"P",function(){return Ue}),n.d(t,"Q",function(){return Be}),n.d(t,"T",function(){return Ze}),n.d(t,"R",function(){return Ye}),n.d(t,"S",function(){return Ge}),n.d(t,"U",function(){return He}),n.d(t,"l",function(){return We}),n.d(t,"N",function(){return ze});var o="SET_RUNTIME_VARIABLE",i="SET_COMMON_STYLE",r="SHOW_STICKY_MESSAGE",a="HIDE_STICKY_MESSAGE",s="TOGGLE_LEFT_NAV",l="SET_LEFT_NAV_STATE",u="SET_RIGHT_NAV_STATE",c="OPEN_CONVERSATION_FOR_USER",d="OPEN_CONVERSATION_FOR_EVENT",p="SET_VIDEO_CALL_URL",f="SET_CALL_SIZE",m="SET_VIDEO_BROWSER_MESSAGE_STATUS",g="SHOW_DIALOG",h="HIDE_DIALOG",v="STATUS_START",y="STATUS_ERROR",_="STATUS_SUCCESS",b="LOGIN",w="LOGOUT",S="LOGIN_OAUTH",x="CONNECT_OAUTH",A="REGISTER_OAUTH",P="ACCEPT_INVITATION",C="RESET_PASSWORD",k="SET_PASSWORD",M="UPDATE_USER",T="UPDATE_SETTINGS",O="UPDATE_PASSWORD",E="UPDATE_EMAIL",I="UPDATE_MENTORSHIP",N="UPLOAD_AVATAR",D="SET_SELECTED_CONTEXT",j="CREATE_GROUP",R="UPDATE_GROUP",F="UPLOAD_GROUP_IMAGE",L="ADD_GROUP_MEMBER",U="FETCH_MENTORS",B="RESET_MENTORS",Z="FETCH_SELECTION_MENTORS",Y="FETCH_MENTEES",G="RESET_MENTEES",H="FETCH_USER",W="FETCH_USER_METADATA",z="UPDATE_METADATA",X="FETCH_PROFILE",V="SET_MENTOR_TEXT_FILTER",Q="SET_MENTEE_TEXT_FILTER",q="SET_MENTOR_SKILL_FILTER",J="SET_CALENDAR_MENTOR_SKILL_FILTER",K="SET_MENTEE_SKILL_FILTER",$="FETCH_GROUPS",ee="FETCH_GROUP",te="FETCH_SUITES",ne="FETCH_SUITE",oe="UPDATE_SUITE",ie="FETCH_FORMS",re="FETCH_ASSIGNED_FORMS",ae="FETCH_EXPLORE_ORGANISATIONS",se="FETCH_ANNOUNCEMENTS",le="TOGGLE_ANNOUNCEMENT_VISIBILITY",ue="FETCH_FEED",ce="FETCH_CALENDAR_BUNDLE_LIST",de="CHANGE_SELECTED_WEEK",pe="CREATE_AVAILABILITY",fe="DELETE_AVAILABILITY",me="CREATE_EVENT",ge="FETCH_EVENT",he="UPDATE_EVENT",ve="CANCEL_EVENT",ye="RESET_CREATE_EVENT",_e="FETCH_MEETINGS_CHRONOLOGICALLY",be="FETCH_MEETINGS_CHRONOLOGICALLY_FOR_PAGE",we="FETCH_UPCOMING_MEETINGS",Se="FETCH_MEETINGS_IN_MEETING_GOAL",xe="FETCH_PROFILE_EVENT_BUNDLE_LIST",Ae="FETCH_GROUP_EVENT_BUNDLE_LIST",Pe="FETCH_MENTOR_AVAILABILITIES",Ce="CREATE_MEETING_NOTE",ke="UPDATE_MEETING_NOTE",Me="DELETE_MEETING_NOTE",Te="CREATE_FORM_RESPONSE",Oe="UPDATE_FORM_RESPONSE",Ee="RESET_FORM_STATUS",Ie="CREATE_SUBSCRIPTION",Ne="DELETE_SUBSCRIPTION",De="COMPLETE_SUBSCRIPTION",je="FOLLOW_UNFOLLOW_SUBSCRIPTION",Re="ACCEPT_SUBSCRIPTION_REQUEST",Fe="REJECT_SUBSCRIPTION_REQUEST",Le="FETCH_CONVERSATIONS",Ue="CLEAR_CONVERSATIONS_ERROR",Be="FETCH_NEW_MESSAGES",Ze="CREATE_CONVERSATION",Ye="SAVE_NEW_MESSAGES",Ge="FETCH_MESSAGES_OF_CONVERSATION",He="CREATE_MESSAGE",We="SET_ACCOUNT_STATUS",ze="SET_USER_STATUS"},,,,,,,,function(e,t,n){"use strict";function o(e){return function(t){t({type:k.l,payload:{status:e}})}}function i(e,t){return function(n,o){var i=o.api;n({type:k.m,status:k.n,payload:{}}),i.login(e,t,"web-client").then(function(e){M.a.save(M.a.PARAM_USER_ID,e.user._id),M.a.save(M.a.PARAM_SESSION_TOKEN,e._id),M.a.save(M.a.PARAM_ACCESS_TOKEN,e.accessToken),n({type:k.m,status:k.o,payload:{response:e}})},function(e){return n({type:k.m,status:k.p,payload:{error:e}})})}}function r(){return function(e,t){t.api.setSessionStatus(M.a.get(M.a.PARAM_SESSION_TOKEN),"loggedOut"),M.a.clearAll()}}function a(e,t,n){return function(o,i){var r=i.api;o({type:k.q,status:k.n,payload:{}}),r.saveOAuth(e,t,n).then(function(e){o({type:k.q,status:k.o,payload:{response:e}})},function(e){return o({type:k.q,status:k.p,payload:{error:e}})})}}function s(e,t){return function(n,o){var i=o.api;n({type:k.r,status:k.n,payload:{}}),i.loginOAuth(e,t).then(function(e){M.a.save(M.a.PARAM_USER_ID,e.user._id),M.a.save(M.a.PARAM_SESSION_TOKEN,e._id),M.a.save(M.a.PARAM_ACCESS_TOKEN,e.accessToken),n({type:k.r,status:k.o,payload:{response:e}})},function(e){return n({type:k.r,status:k.p,payload:{error:e}})})}}function l(e,t){return function(n,o){var i=o.api;n({type:k.s,status:k.n,payload:{}}),i.registerOAuth(e,t).then(function(e){M.a.save(M.a.PARAM_USER_ID,e.user._id),M.a.save(M.a.PARAM_SESSION_TOKEN,e._id),M.a.save(M.a.PARAM_ACCESS_TOKEN,e.accessToken),n({type:k.s,status:k.o,payload:{response:e}})},function(e){return n({type:k.s,status:k.p,payload:{error:e}})})}}function u(e,t){return function(n){M.a.save(M.a.PARAM_ORGANISATION_ID,e.organisation._id),M.a.save(M.a.PARAM_ROLE,t||e.role),t||n({type:k.u,payload:{context:e}})}}function c(e){return function(t,n){var o=n.api;t({type:k.v,status:k.n,payload:{}}),o.resetPassword(e).then(function(e){t({type:k.v,status:k.o,payload:{response:e}})},function(e){return t({type:k.v,status:k.p,payload:{error:e}})})}}function d(e,t){return function(n,o){var i=o.api;n({type:k.x,status:k.n,payload:{}}),i.updateUserSettings(e,t).then(function(){n({type:k.x,status:k.o,payload:{updatedFields:t}})},function(e){return n({type:k.x,status:k.p,payload:{error:e}})})}}function p(e,t,n){return function(o,i){var r=i.api;o({type:k.y,status:k.n,payload:{id:t}}),r.updateMentorship(t,n).then(function(i){o({type:k.y,status:k.o,payload:{accountId:e,id:t,updatedFields:T({},n,i)}})},function(e){return o({type:k.y,status:k.p,payload:{error:e}})})}}function f(e){return function(t,n){var o=n.api;t({type:k.z,status:k.n,payload:{}}),o.changePassword(e).then(function(){t({type:k.z,status:k.o})},function(e){return t({type:k.z,status:k.p,payload:{error:e}})})}}function m(e){return function(t,n){var o=n.api;t({type:k.A,status:k.n,payload:{}}),o.changeEmail(e).then(function(){t({type:k.A,status:k.o})},function(e){return t({type:k.A,status:k.p,payload:{error:e}})})}}function g(e,t){return function(n,o){var i=o.api;n({type:k.B,status:k.n,payload:{}}),i.updateUser(e,t).then(function(e){n({type:k.B,status:k.o,payload:T({},t,e)})},function(e){return n({type:k.B,status:k.p,payload:{error:e}})})}}function h(e,t){return function(n,o){var i=o.api;n({type:k.C,status:k.n,payload:{}}),i.uploadFile(t).then(function(t){var o={imageUrl:i.getFilesEndpoint()+"/"+t.data._id};i.updateUser(e,o).then(function(e){n({type:k.C,status:k.o,payload:T({},o,e)})},function(e){return n({type:k.C,status:k.p,payload:{error:e}})})},function(e){return n({type:k.C,status:k.p,payload:{error:e}})})}}function v(e,t){return function(n,o){var i=o.api;n({type:k.D,status:k.n,payload:{}});var r=function(e){i.createGroup(e).then(function(t){n({type:k.D,status:k.o,payload:T({},e,t)})},function(e){return n({type:k.D,status:k.p,payload:{error:e}})})};e?i.uploadFile(e).then(function(e){var n=T({},t,{imageUrl:i.getFilesEndpoint()+"/"+e.data._id});r(n)},function(e){return n({type:k.D,status:k.p,payload:{error:e}})}):r(t)}}function y(e,t){return function(n,o){var i=o.api;n({type:k.E,status:k.n,payload:{}}),i.updateGroup(e,t).then(function(o){n({type:k.E,status:k.o,payload:T({_id:e},t,o)})},function(e){return n({type:k.E,status:k.p,payload:{error:e}})})}}function _(e,t){return function(n,o){var i=o.api;n({type:k.F,status:k.n,payload:{}}),i.uploadFile(t).then(function(t){var o={imageUrl:i.getFilesEndpoint()+"/"+t.data._id};i.updateGroup(e,o).then(function(t){n({type:k.F,status:k.o,payload:T({_id:e},o,t)})},function(e){return n({type:k.F,status:k.p,payload:{error:e}})})},function(e){return n({type:k.F,status:k.p,payload:{error:e}})})}}function b(e,t){return function(n,o){var i=o.api;n({type:k.G,status:k.n,payload:{}}),i.addGroupMember(e._id,t._id).then(function(){n({type:k.G,status:k.o,payload:{group:e,newMember:t}})},function(e){return n({type:k.G,status:k.p,payload:{error:e}})})}}function w(e,t){return function(n,o){var i=o.api;n({type:k.H,status:k.n,payload:{}}),i.followUnfollowSubscription(e,t?"follow":"unfollow").then(function(){n({type:k.H,status:k.o,payload:{subscriptionId:e,newStatus:t}})},function(e){return n({type:k.H,status:k.p,payload:{error:e}})})}}function S(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(i,r){var a=r.api;i({type:k.I,status:k.n,payload:{}}),a.createSubscription(e).then(function(r){i({type:k.I,status:k.o,payload:{subscription:T({},e,r,{mentorship:T({},n,{owner:t})}),mentorId:n.owner._id,invalidateMentors:o}})},function(e){return i({type:k.I,status:k.p,payload:{error:e}})})}}function x(e){return function(t,n){var o=n.api;t({type:k.J,status:k.n,payload:{}}),o.deleteSubscription(e).then(function(){t({type:k.J,status:k.o,payload:{id:e,invalidateMentors:!0}})},function(e){return t({type:k.J,status:k.p,payload:{error:e}})})}}function A(e){return function(t,n){var o=n.api;t({type:k.K,status:k.n,payload:{}}),o.completeSubscription(e).then(function(n){t({type:k.K,status:k.o,payload:{id:e,response:n,invalidateMentors:!0}})},function(e){return t({type:k.K,status:k.p,payload:{error:e}})})}}function P(e){return function(t,n){var o=n.api;t({type:k.L,status:k.n,payload:{}}),o.acceptSubscriptionRequest(e).then(function(n){t({type:k.L,status:k.o,payload:{id:e,invalidateMentors:!0,response:n}})},function(e){return t({type:k.L,status:k.p,payload:{error:e}})})}}function C(e){return function(t,n){var o=n.api;t({type:k.M,status:k.n,payload:{}}),o.rejectSubscriptionRequest(e).then(function(n){t({type:k.M,status:k.o,payload:{id:e,invalidateMentors:!0,response:n}})},function(e){return t({type:k.M,status:k.p,payload:{error:e}})})}}var k=n(21),M=n(81);t.b=o,t.t=i,t.c=r,t.w=a,t.v=s,t.x=l,t.a=u,t.u=c,t.j=d,t.n=p,t.s=f,t.r=m,t.p=g,t.o=h,t.m=v,t.k=y,t.l=_,t.q=b,t.g=w,t.e=S,t.f=x,t.d=A,t.h=P,t.i=C;var T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},,,function(e,t,n){"use strict";function o(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return 0===e.button}function l(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var u=n(0),c=n.n(u),d=n(39),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),m=function(e){function t(){var e,n,o,a;i(this,t);for(var u=arguments.length,c=Array(u),p=0;p<u;p++)c[p]=arguments[p];return n=o=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),o.handleClick=function(e){o.props.onClick&&o.props.onClick(e),!l(e)&&s(e)&&!0!==e.defaultPrevented&&(e.preventDefault(),d.a.push(o.props.to))},a=n,r(o,a)}return a(t,e),f(t,[{key:"render",value:function(){var e=this.props,t=e.to,n=e.children,i=e.linkTarget,r=o(e,["to","children","linkTarget"]);return c.a.createElement("a",p({href:t,target:i},r),n)}}]),t}(c.a.Component);m.defaultProps={onClick:null},t.a=m},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t){return e.startDate<t.startDate?-1:e.startDate>t.startDate?1:0}function r(e){for(var t=[],n=e.blockedSlots||[],o=e.endDate-e.startDate,i=60*e.meetingDuration,r=e.meetingBreaks?60*e.meetingBreaks:0,a=o/i,s=0;s<a;s+=1){var l=e.startDate+s*(i+r),u=l+i,c={endDate:u,startDate:l+1,location:e.location,duration:e.meetingDuration,isBlocked:n.indexOf(s)>-1};t.push(c)}return t}var a=n(1494),s=n.n(a),l={timeZone:"Europe/Istanbul",locale:"tr",setLocale:function(e){s.a.locale(e),l.locale=e},setTimeZone:function(e){l.timeZone="Europe/Istanbul"===e?"Europe/Moscow":e},setTimeFormat:function(e){l.timeFormat=e},setDateFormat:function(e){l.dateFormat=e},fixHourDifference:function(e){var t=(new Date).getTimezoneOffset(),n=s.a.tz.zone(l.timeZone).utcOffset(new Date),o=(t-n)/60;return e.setHours(e.getHours()-o),e},format:function(e,t){return"HH:mm"===t&&"12-hour"===l.timeFormat?s()(e).tz(l.timeZone).format("hh:mm A"):s()(e).tz(l.timeZone).format(t)},getStartAndEndDateFromInputs:function(e,t,n){var o=new Date(e.getTime());o.setHours(t.getHours(),t.getMinutes(),0);var i=new Date(e.getTime());return i.setHours(n.getHours(),n.getMinutes(),0),o=l.fixHourDifference(o),i=l.fixHourDifference(i),{startDate:o.getTime()/1e3,endDate:i.getTime()/1e3}},elapsedTime:function(e){return s()(e).tz(l.timeZone).fromNow()},elapsedTimeBetweenDates:function(e,t){return s()(e).from(s()(t))},getMonday:function(){return s()().startOf("isoweek")},getStartEndOfWeek:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=6048e5*e,n=new Date(new Date(l.getMonday()).getTime()+t);n.setHours(0,0,0,0);var o=new Date(n.getTime());return o.setDate(n.getDate()+6),o.setHours(23,59,59,99),{relativeWeekNumber:e,firstDayOfWeek:n,lastDayOfWeek:o}},getCalendarDataWithBundle:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:7,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l.getStartEndOfWeek().firstDayOfWeek,s=[],u=[];e.sort(i),t.sort(i);for(var c=0;c<n;c+=1){var d={dayData:{availabilities:[],isEmpty:!0},eventList:[]},p=new Date(a);p.setDate(p.getDate()+c);for(var f=0,m=0;m<t.length;m+=1){var g=t[m],h=new Date(1e3*g.startDate),v=g.blockedSlots||[],y=g.slots||[],_=[].concat(o(y));0===_.length&&(_=r(g));for(var b=0;b<_.length;b+=1)_[b].isBlocked=v.indexOf(b)>-1;if(p.toDateString()===h.toDateString()){for(var w=g&&e&&e.length>f,S=[];w;){var x=e[f];if(!x)break;g.startDate<=x.startDate&&g.endDate>=x.endDate?(S.push(x),f+=1,w=e.length>f):g.startDate>x.startDate?f+=1:w=!1}var A={timeSlots:_,availability:g,eventList:S};d.dayData.availabilities.push(A),d.dayData.isEmpty=!1}}d.dayData.isEmpty||(u.push(d),s.push({dayNumber:l.format(p,"D"),dayNameShort:l.format(p,"ddd"),dayName:l.format(p,"dddd"),monthName:l.format(p,"MMM")}))}return{headerDayInfo:s,eventAndSlotInfoForWeek:u}},orderEventsAndAvailabilities:function(e,t){var n=[];if(t.sort(i),0===e.length)n=t;else if(0===t.length)n=e;else for(var o=0,r=0,a=0,s=!0;s;){var l=o<e.length?e[o]:null,u=r<t.length?t[r]:null;if(!u&&!l)break;!l&&u?(r+=1,u.startDate>=a&&(n.push(u),a=u.endDate)):!u&&l?(o+=1,l.startDate>=a&&(n.push(l),a=l.endDate)):u.startDate<=l.startDate?(r+=1,u.startDate>=a&&(n.push(u),a=u.endDate)):(o+=1,l.startDate>=a&&(n.push(l),a=l.endDate))}return n},getMeetingGoalTitle:function(e,t){if(e.meetingGoalConfig&&e.meetingGoalConfig.meetingGoals&&e.meetingGoalConfig.meetingGoals.length>0)for(var n=0;n<e.meetingGoalConfig.meetingGoals.length;n+=1){var o=e.meetingGoalConfig.meetingGoals[n];if(o.identifier===t.meetingGoalIdentifier)return o.meetingTitle}},getMeetingGoalOfEvent:function(e,t){if(e.meetingGoalConfig&&e.meetingGoalConfig.meetingGoals&&e.meetingGoalConfig.meetingGoals.length>0)for(var n=0;n<e.meetingGoalConfig.meetingGoals.length;n+=1){var o=e.meetingGoalConfig.meetingGoals[n];if(o.identifier===t.meetingGoalIdentifier)return o}},getRelationsOfUserForMeeting:function(e,t,n){var i=[].concat(o(t.guests)),r=i.splice(0,1)[0],a=i,s=r._id===n._id,l=!1,u=!1;if(n)for(var c=0;c<a.length;c+=1){if(a[c]._id===n._id){u=!0;break}if(e.group&&a[c]._id===e.group._id){l=!0;break}}return{isParticipantAsMentor:s,isParticipantAsMentee:u,isParticipantAsGroupMember:l}},getMeetingGoalForms:function(e,t,n){var o=l.getMeetingGoalOfEvent(e,n);if(!o)return{};var i=void 0;"mentor"===t?i=o.specifications.mentor:"mentee"===t&&(i=o.specifications.mentee);var r=i&&i.preMeetingForm&&i.preMeetingForm.fields&&i.preMeetingForm.fields.length>0,a=i&&i.postMeetingForm&&i.postMeetingForm.fields&&i.postMeetingForm.fields.length>0;return{description:i.description,preMeetingForm:r&&i.preMeetingForm,postMeetingForm:a&&i.postMeetingForm}}};t.a=l},,,,,function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(18),s=n.n(a),l=n(60),u=n.n(l),c=n(47),d=n.n(c),p=n(48),f=n.n(p),m=n(110),g=(n.n(m),n(0)),h=n.n(g),v=n(3),y=n(720),_=n(64),b=n(370),w=n(777),S=n(787),x=n(810),A=n(198),P=n(808),C=n(1317),k=n.n(C),M=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),T=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),O=M(A.a,{}),E=M(S.a,{}),I=M(A.a,{}),N=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isScaledToMobile:!1},n}return r(t,e),T(t,[{key:"componentWillMount",value:function(){this.props.commonStyle||this.props.setCommonStyle(k.a)}},{key:"componentDidMount",value:function(){this.updateWindowDimensions(),window.addEventListener("resize",this.updateWindowDimensions.bind(this))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateWindowDimensions.bind(this))}},{key:"updateWindowDimensions",value:function(){this.setState({isScaledToMobile:window.innerWidth<601})}},{key:"render",value:function(){var e=this,t=this.props,o=t.muiTheme,i=t.isLoggedIn,r=t.children,a=t.isLeftNavOpen,s=t.isRightNavOpen,l=t.dialog,c=t.path,p=t.account,f=t.isMobile,g=t.stickyMessage,h=this.state.isScaledToMobile||f,v=[];if(l.isShown&&l.actions){l.addCancelButton&&v.push(M(d.a,{secondary:!0,style:{color:"#aaa"},onTouchTap:function(){return e.props.hideDialog()},label:this.props.i18n.buttonActions.cancel}));for(var y=0;y<l.actions.length;y+=1){var _=l.actions[y];v.push(M(d.a,{secondary:!0,label:_.label,onTouchTap:_.onActionClick,style:_.style}))}}var S=M(u.a,{actions:v,modal:!l.isDismissable,title:l.title,open:l.isShown,onRequestClose:function(){return e.props.hideDialog()},autoScrollBodyContent:l.isScrollable},void 0,l.message),A=(o.appBar.height,a&&i),C=!h&&A,k={position:"relative",paddingTop:"10px",paddingLeft:C?x.a.leftNavWidth+16+"px":0,paddingRight:s?x.a.rightNavWidth+16+"px":0},T={backgroundColor:n.i(m.darken)(this.props.muiTheme.palette.canvasColor,.05),minHeight:"100vh"};return p||""!==c&&null!==c?p?M("div",{style:T},void 0,M(w.a,{path:c,isMobile:h}),M("div",{style:k},void 0,M(P.a,{account:p}),this.props.children),S,!h&&E,!!g&&I):M("div",{style:T},void 0,M("div",{style:k},void 0,M(b.a,{isLeftNavOpen:A,path:c}),r),S,!!g&&O):M("div",{},void 0,r,S)}}]),t}(h.a.Component);N.defaultProps={path:null,account:null,isLeftNavOpen:!1,isRightNavOpen:!1,stickyMessage:void 0};var D=function(e){return{i18n:e.i18n,dialog:e.dialog,commonStyle:e.commonStyle,account:e.session.account,isLoggedIn:e.session.isLoggedIn,isLeftNavOpen:e.nav.isLeftNavOpen,isRightNavOpen:e.nav.isRightNavOpen,stickyMessage:e.stickyMessage.message,isMobile:e.runtime.isMobile}},j={hideDialog:_.a,setCommonStyle:y.a};t.a=n.i(v.a)(D,j)(s()(k.a)(f()()(N)))},function(e,t,n){"use strict";var o=n(1280),i=n.n(o);t.a=i()()},,,function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i,r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a={Mentors:"Alumni",Mentor:"Alumnus",mentor:"alumnus"},s={Mentors:"Alunno",Mentor:"Alunno",mentor:"Alunno"},l={Mentorlar:"Mezunlar",Mentor:"Mezun",mentor:"mezun"},u={Mentores:"Antiguos alumnos",Mentor:"Alumno",mentor:"alumno"},c={Mentors:"Coaches",Mentor:"Coach",mentor:"coach"},d={Mentors:"Allenatore",Mentor:"Allenatore",mentor:"allenatore"},p={Mentorlar:"Koçlar",Mentor:"Koç",mentor:"koç"},f={Mentores:"Entrenadores",Mentor:"Entrenador",mentor:"entrenador"},m={Mentors:"Consultants",Mentor:"Consultant",mentor:"consultant"},g={Mentores:"Consultores",Mentor:"Consultor",mentor:"consultor"},h={Mentors:"Consulente",Mentor:"Consulente",mentor:"consulente"},v={Mentorlar:"Danışmanlar",Mentor:"Danışman",mentor:"danışman"},y={Mentors:"Partners",Mentor:"Partner",mentor:"partner"},_={Mentores:"Socios",Mentor:"Socio",mentor:"socio"},b={Mentors:"Compagno",Mentor:"Compagno",mentor:"compagno"},w={Mentorlar:"Partnerler",Mentor:"Partner",mentor:"partner"},S={Mentors:"Docente",Mentor:"Docente",mentor:"Docente"},x={Mentors:"Psychologists",Mentor:"Psychologist",mentor:"psychologist"},A={Mentores:"Psicólogos",Mentor:"Psicólogo",mentor:"psicólogo"},P={Mentors:"Psicologi",Mentor:"Psicologo",mentor:"psicologo"},C={Mentors:"Psicólogos",Mentor:"Psicólogo",mentor:"psicólogo"},k={Mentors:"Psikologlar",Mentor:"Psikolog",mentor:"psikolog"},M={Mentors:"Teachers",Mentor:"Teacher",mentor:"teacher"},T={Mentorlar:"Öğretmenler",Mentor:"Öğretmen",mentor:"öğretmen"},O={Mentores:"Profesores",Mentor:"Profesor",mentor:"profesor"},E={Mentors:"Insegnanti",Mentor:"Insegnante",mentor:"insegnante"},I={Mentors:"Professores",Mentor:"Professor",mentor:"professor"},N={Mentors:"Members",Mentor:"Member",mentor:"member"},D={Mentorlar:"Üyeler",Mentor:"Üye",mentor:"üye"},j={Mentores:"Miembros",Mentor:"Miembro",mentor:"miembro"},R={Mentors:"Membri",Mentor:"Membro",mentor:"membro"},F={Mentors:"Membros",Mentor:"Membro",mentor:"membro"},L={Mentors:"Advisors",Mentor:"Advisor",mentor:"advisor"},U={Mentores:"Asesor",Mentor:"Asesor",mentor:"asesor"},B={Mentors:"Consulente",Mentor:"Consulente",mentor:"consulente"},Z={Mentors:"Orientador",Mentor:"Orientador",mentor:"orientador"},Y={Mentorlar:"Yetkililer",Mentor:"Yetkili",mentor:"yetkili"},G={Mentors:"Angels",Mentor:"Angel",mentor:"angel"},H={Mentores:"Ángeles",Mentor:"Ángel",mentor:"ángel"},W={Mentors:"Angelo",Mentor:"Angelo",mentor:"angelo"},z={Mentorlar:"Melekler",Mentor:"Melek",mentor:"melek"},X={Mentors:"Company Reps.",Mentor:"Company Rep.",mentor:"company rep."},V={Mentores:"Representantes de la Empresa",Mentor:"Representante de la Empresa",mentor:"representante de la empresa"},Q={Mentors:"Rappresentante d'azienda",Mentor:"Rappresentante d'azienda",mentor:"rappresentante d'azienda"},q={Mentors:"Experts",Mentor:"Expert",mentor:"expert"},J={Mentores:"Expertos",Mentor:"Experto",mentor:"experto"},K={Mentors:"Esperto",Mentor:"Esperto",mentor:"esperto"},$={Mentorlar:"Uzmanlar",Mentor:"Uzman",mentor:"uzman"},ee={Mentors:"Hosts",Mentor:"Host",mentor:"host"},te={Mentores:"Anfitriones",Mentor:"Anfitrión",mentor:"anfitrión"},ne={Mentors:"Ospite",Mentor:"Ospite",mentor:"ospite"},oe={Mentorlar:"Düzenleyiciler",Mentor:"Düzenleyici",mentor:"düzenleyici"},ie={Mentors:"Peer A users",Mentor:"Peer A",mentor:"peer A"},re={Mentores:"Usuarios de Peer A",Mentor:"Par Igual A",mentor:"Par Igual A"},ae={Mentors:"Pari A",Mentor:"Pari A",mentor:"pari A"},se={Mentorlar:"Katılımcı A-lar",Mentor:"Katılımcı A",mentor:"katılımcı A"},le={Mentors:"ReverseMentees",Mentor:"ReverseMentee",mentor:"reverseMentee"},ue={Mentores:"Mentores Inversos",Mentor:"Mentor Inverso",mentor:"mentor inverso"},ce={Mentors:"Allievo inverso",Mentor:"Allievo inverso",mentor:"allievo inverso"},de={Mentorlar:"TersineMentiler",Mentor:"TersineMenti",mentor:"tersineMenti"},pe={Mentee:"Mentee",Mentees:"Mentees",mentee:"mentee",mentees:"mentees",Mentorado:"Mentee",Mentorados:"Mentee",Mentilerim:"Mentilerim",Mentilere:"Mentilere",mentilerin:"mentilerin",Mentiler:"Mentiler",mentiler:"mentiler",Menti:"Menti",menti:"menti",Partecipante:"Mentee"},fe={Mentee:"Mentee",Mentees:"Mentees",mentee:"mentee",mentees:"mentees"},me={Mentee:"Mentorado",Mentees:"Mentoriados",mentee:"mentorado",mentees:"mentoriados",Mentorado:"Mentorado",Mentorados:"Mentorado"},ge={mentee:"mentorado",Mentee:"Mentorado",Mentees:"Mentorado",mentees:"mentorado"},he={Mentee:"Allievo",Mentees:"Allievo",mentee:"allievo",mentees:"allievo",Partecipante:"Allievo"},ve={Mentilerim:"Mentilerim",Mentilere:"Mentilere",mentilerin:"mentilerin",Mentiler:"Mentiler",mentiler:"mentiler",Menti:"Menti",menti:"menti"},ye={Mentee:"Attendee",Mentees:"Attendees",mentee:"attendee",mentees:"attendees"},_e={Mentee:"Participante",Mentees:"Participantes",mentee:"participante",mentees:"participantes",Mentorado:"Participante",Mentorados:"Participante"},be={mentee:"asistente",Mentee:"Asistente",Mentees:"Asistentes",mentees:"asistentes"},we={Mentee:"Partecipante",Mentees:"Partecipante",mentee:"partecipante",mentees:"partecipante",Partecipante:"Partecipante"},Se={Mentilerim:"Katılımcılarım",Mentilere:"Katılımcılara",mentilerin:"katılımcıların",Mentiler:"Katılımcılar",mentiler:"katılımcılar",Menti:"Katılımcı",menti:"katılımcı"},xe={Mentee:"Candidate",Mentees:"Candidates",mentee:"candidate",mentees:"candidates"},Ae={Mentee:"Candidato",Mentees:"Candidatos",mentee:"candidato",mentees:"candidatos",Mentorado:"Candidato",Mentorados:"Candidato"},Pe={mentees:"Candidato",Mentees:"Candidatos",Mentee:"candidato",mentee:"candidatos"},Ce={Mentee:"Candidato",Partecipante:"Candidato"},ke={Mentilerim:"Adaylarım",Mentilere:"Adaylara",mentilerin:"adaylarım",Mentiler:"Adaylar",mentiler:"adaylar",Menti:"Aday",menti:"aday"},Me={Mentee:"Coachee",Mentees:"Coachees",mentee:"coachee",mentees:"coachees"},Te={Mentee:"Coachee",Mentees:"Coachees",mentee:"coachee",mentees:"coachees",Mentorado:"Coachee",Mentorados:"Coachee"},Oe={Mentee:"Coachee",Mentees:"Coachees",mentee:"coachee",mentees:"coachees"},Ee={Mentee:"Coachee",Partecipante:"Coachee"},Ie={Mentilerim:"Danışanlarım",Mentilere:"Danışanlara",mentilerin:"danışanların",Mentiler:"Danışanlar",mentiler:"danışanlar",Menti:"Danışan",menti:"danışan"},Ne={Mentee:"Consultee",Mentees:"Consultees",mentee:"consultee",mentees:"consultees"},De={Mentee:"Consultado",Mentees:"Consultados",mentee:"consultado",mentees:"consultados",Mentorado:"Consultado",Mentorados:"Consultado"},je={Mentee:"Consultado",Mentees:"Consultados",mentee:"consultado",mentees:"consultados"},Re={Mentee:"Consulto",Partecipante:"Consulto"},Fe={Mentilerim:"Danışanlarım",Mentilere:"Danışanlara",mentilerin:"danışanların",Mentiler:"Danışanlar",mentiler:"danışanlar",Menti:"Danışan",menti:"danışan"},Le={Mentee:"Entrepreneur",Mentees:"Entrepreneurs",mentee:"entrepreneur",mentees:"entrepreneurs"},Ue={Mentee:"Empreendedor",Mentees:"Empreendedores",mentee:"empreendedor",mentees:"empreendedores",Mentorado:"Empreendedor",Mentorados:"Empreendedor"},Be={Mentee:"Emprendedor",Mentees:"Emprendedores",mentee:"emprendedor",mentees:"emprendedores"},Ze={Allievo:"Imprenditore",Allievi:"Imprenditore",allievo:"imprenditore",Partecipante:"Imprenditore",partecipante:"imprenditore",Mentee:"imprenditore"},Ye={Mentilerim:"Girişimcilerin",Mentilere:"Girişimcilere",mentilerin:"girişimcilerin",Mentiler:"Girişimciler",mentiler:"girişimciler",Menti:"Girişimci",mentee:"girişimci"},Ge={Mentee:"Member",Mentees:"Members",mentee:"member",mentees:"members"},He={Mentee:"Membro",Mentees:"Membros",mentee:"membro",mentees:"membros",Mentorado:"Membro",Mentorados:"Membro"},We={Mentee:"Miembro",Mentees:"Miembros",mentee:"miembro",mentees:"miembros"},ze={Mentee:"Membro",Partecipante:"Membro"},Xe={Mentilerim:"Üyelerim",Mentilere:"Üyelere",mentilerin:"üyelerin",Mentiler:"Üyeler",mentiler:"üyeler",Menti:"Üye",menti:"üye"},Ve={Mentee:"Protégé",Mentees:"Protégés",mentee:"protégé",mentees:"protégés"},Qe={Mentee:"Protegido",Mentees:"Protegidos",mentee:"protegido",mentees:"protegidos"},qe={Mentee:"ReverseMentor",Mentees:"ReverseMentors",mentee:"reverseMentor",mentees:"reverseMentors"},Je={Mentee:"Mentor Reverso",Mentees:"Mentores Reversos",mentee:"mentor reverso",mentees:"mentores reversos",Mentorado:"Mentor Reverso",Mentorados:"Mentor Reverso"},Ke={Mentee:"Mentor Inverso",Mentees:"Mentores Inversos",mentee:"mentor inverso",mentees:"mentores inversos"},$e={Mentee:"Mentore inverso",Partecipante:"Mentore inverso"},et={Mentilerim:"TersineMentorlarım",Mentilere:"TersineMentorlara",mentilerin:"tersineMentorların",Mentiler:"TersineMentorlar",mentiler:"tersineMentorlar",Menti:"TersineMentor",menti:"tersineMentor"},tt={Mentees:"Treinador",mentees:"treinador",Mentee:"Treinador",mentee:"treinador",Mentorado:"Treinador",Mentorados:"Treinador"},nt={Mentees:"Eğitmen",mentees:"eğitmen",Mentee:"Eğitmen",mentee:"eğitmen",Partecipante:"Eğitmen",partecipante:"eğitmen"},ot={Mentees:"Entrenador",mentees:"entrenador",Mentee:"Entrenador",mentee:"entrenador",Partecipante:"Entrenador",partecipante:"entrenador"},it={Mentees:"Trainer",mentees:"trainer",Mentee:"Trainer",mentee:"trainer",Partecipante:"Trainer",partecipante:"Trainer"},rt={Mentees:"Trainer",mentees:"trainer",Mentee:"Trainer",mentee:"trainer",Partecipante:"Trainer",partecipante:"Trainer"},at={Mentees:"Mentor",mentees:"mentor",Mentee:"Mentor",mentee:"mentor",Partecipante:"Mentor",partecipante:"Mentor"},st={Mentee:"Peer B",Mentees:"Peer B users",mentee:"peer B",mentees:"peer B users"},lt={Mentee:"Par B",Mentees:"Usuários do Par B",mentee:"par B",mentees:"usuários do par B",Mentorado:"Par B",Mentorados:"Par B"},ut={Mentee:"Par B",Mentees:"Par B",mentee:"par B",mentees:"par B"},ct={Mentee:"Pari B",Partecipante:"Pari B"},dt={Mentilerim:"Katılımcı B-lerim",Mentilere:"Katılımcı B-lere",mentilerin:"katılımcı B-lerin",Mentiler:"Katılımcı B-ler",mentiler:"katılımcı B-ler",Menti:"Katılımcı B",menti:"katılımcı B"},pt={Partecipante:"Assistito",Advisees:"Assistito",advisee:"assistito",Mentee:"Assistito"},ft={Advisee:"Orientando",advisee:"Orientando",Advisees:"Orientando",advisees:"Orientando",mentee:"orientando",Mentee:"orientando",Mentorado:"Orientando",Mentorados:"Orientando"},mt={Mentees:"Advisees",mentees:"advisees",mentee:"advisee",Mentee:"Advisee"},gt={Mentees:"Asesorado",mentees:"Asesorado",mentee:"asesorado",Mentee:"asesorado"},ht={Mentilerim:"Girişim Üyelerim",Mentilere:"Girişim Üyelere",mentilerin:"girişim Üyelerin",Mentiler:"Girişim Üyeler",mentiler:"girişim üyeler",Menti:"Girişim Üyesi",mentee:"Girişim Üyesi"},vt={Mentees:"Startup Members",mentees:"startup member",Mentee:"Startup Member",mentee:"startup Member"},yt={Mentees:"Miembros de la startup",mentees:"miembro de la startup",Mentee:"Miembro de la startup",mentee:"miembro de la startup"},_t={Allievo:"Membro Startup",Allievi:"Membro Startup",allievo:"membro startup",Partecipante:"Membro Startup",partecipante:"membro startup",Mentee:"Membro Startup"},bt=(i={Mentorados:"Membro de Startup",mentorado:"membro de startup",Mentorado:"Membro de Startup"},o(i,"mentorado","membro de startup"),o(i,"Mentorados","Membro de Startup"),i),wt={Mentilerim:"Öğrencilerim",mentilerin:"öğrencilerin",Mentilere:"Öğrencilere",mentiler:"öğrenciler",Mentiler:"Öğrenciler",Menti:"Öğrenci",menti:"öğrenci"},St={Mentee:"Student",Mentees:"Students",mentee:"student",mentees:"students"},xt={Mentee:"Estudante",Mentees:"Estudantes",mentee:"estudante",mentees:"estudantes",Mentorado:"Estudante",Mentorados:"Estudante"},At={Mentee:"Estudiante",Mentees:"Estudiantes",mentee:"estudiante",mentees:"estudiantes"},Pt={Allievi:"Alunno",Allievo:"Alunno",allievo:"alunno",Partecipante:"Alunno",partecipante:"Alunno",Mentee:"Alunno"},Ct={GROUP:"COMPANY",Group:"Company",Groups:"Companies",groups:"companies",group:"company"},kt={"Gruplarım":"Şirketlerim",Grubunuz:"Girişiminiz",Gruplar:"Şirketler",gruplar:"şirketler",Gruptan:"Şirketten",Grup:"Şirket",GRUP:"ŞİRKET",grup:"şirket",gruba:"şirkete",grubu:"şirketi"},Mt={GROUP:"STARTUP",Group:"Startup",Groups:"Startups",groups:"startups",group:"startup"},Tt={"Gruplarım":"Girişimlerim",Grubunuz:"Girişiminiz",Gruplar:"Girişimler",gruplar:"girişimler",Gruptan:"Girişimden",Grup:"Girişim",GRUP:"GİRİŞİM",grup:"girişim",gruba:"girişime",grubu:"girişimi"},Ot={Suites:"Companies",suites:"companies",Suite:"Company",suite:"company"},Et={"Süitler":"Şirketler","süitler":"şirketler","Süit":"Şirket","süit":"şirket"},It=function(e){switch(e){case"tr":return{alumnus:l,angel:z,authority:Y,coach:p,consultant:v,expert:$,host:oe,partner:w,peerA:se,reverseMentee:de,teacher:T,psychologist:k,member:D};case"en":return{alumnus:a,angel:G,authority:X,coach:c,consultant:m,expert:q,host:ee,partner:y,peerA:ie,reverseMentee:le,teacher:M,psychologist:x,advisor:L,member:N};case"es":return{alumnus:u,angel:H,authority:V,coach:f,consultant:g,expert:J,host:te,partner:_,peerA:re,reverseMentee:ue,teacher:O,psychologist:A,advisor:U,member:j};case"pt-br":return{alumnus:r({},l,a),angel:r({},z,G),authority:r({},Y,X),coach:r({},p,c),consultant:r({},v,m),expert:r({},$,q),host:r({},oe,ee),partner:r({},w,y),peerA:r({},se,ie),reverseMentee:r({},de,le),teacher:I,psychologist:C,advisor:Z,member:F};case"it":return{alumnus:r({},l,a,s),angel:r({},z,G,W),authority:r({},Y,X,Q),coach:r({},p,c,d),consultant:r({},v,m,h),expert:r({},$,q,K),host:r({},oe,ee,ne),partner:r({},w,y,b),peerA:r({},se,ie,ae),reverseMentee:r({},de,le,ce),teacher:E,psychologist:P,professor:S,advisor:B,member:R};default:return{alumnus:r({},l,a,s),angel:r({},z,G,W),authority:r({},Y,X,Q),coach:r({},p,c,d),consultant:r({},v,m,h),expert:r({},$,q,K),host:r({},oe,ee,ne),partner:r({},w,y,b),peerA:r({},se,ie,ae),reverseMentee:r({},de,le,ce),teacher:E,psychologist:P,professor:S,advisor:L,member:N}}},Nt=function(e){var t;switch(e){case"tr":return{attendee:Se,candidate:ke,coachee:Ie,consultee:Fe,entrepreneur:Ye,startupMember:ht,member:Xe,student:wt,peerB:dt,reverseMentor:et,trainer:nt,mentee:ve};case"en":return{attendee:ye,candidate:xe,coachee:Me,consultee:Ne,entrepreneur:Le,startupMember:vt,member:Ge,student:St,peerB:st,reverseMentor:qe,"protégé":Ve,advisee:mt,trainer:it,mentee:fe};case"es":return{attendee:be,candidate:Pe,coachee:Oe,consultee:je,entrepreneur:Be,startupMember:yt,member:We,student:At,peerB:ut,reverseMentor:Ke,"protégé":Qe,advisee:gt,trainer:ot,mentee:ge};case"pt-br":return t={startupMember:bt,advisee:ft,attendee:_e,candidate:Ae,coachee:Te,consultee:De,entrepreneur:Ue},o(t,"startupMember",bt),o(t,"member",He),o(t,"student",xt),o(t,"peerB",lt),o(t,"reverseMentor",Je),o(t,"trainer",tt),o(t,"mentee",me),t;case"it":return{attendee:we,candidate:Ce,coachee:Ee,consultee:Re,entrepreneur:Ze,startupMember:_t,member:ze,student:Pt,peerB:ct,reverseMentor:$e,menteee:pe,mentor:at,trainer:rt,advisee:pt,mentee:he};default:return{mentee:pe,attendee:ye,candidate:xe,coachee:Me,consultee:Ne,entrepreneur:Le,startupMember:vt,member:Ge,student:St,peerB:st,reverseMentor:qe,menteee:Le,"protégé":Ve,advisee:mt,trainer:it}}},Dt={company:r({},kt,Ct),startup:r({},Tt,Mt)},jt={company:r({},Et,Ot)};t.a={show:function(e,t,n){var o=t.termReplacements;if(!o)return e;var i={};return o.mentor&&""!==o.mentor&&(i=Object.assign(i,It(n)[o.mentor])),o.mentee&&""!==o.mentee&&(i=Object.assign(i,Nt(n)[o.mentee])),o.group&&""!==o.group&&(i=Object.assign(i,Dt[o.group])),o.suite&&""!==o.suite&&(i=Object.assign(i,jt[o.suite])),Object.keys(i).forEach(function(t){e&&e.indexOf(t)>-1&&(e=e.replace(new RegExp("\\b"+t+"\\b","g"),i[t]))}),e}}},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(17)),r=n.n(i),a=n(15),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u=s("br",{}),c=s("br",{}),d=function(e){var t=l({textAlign:"center",marginBottom:"1rem"},e.style);return s("div",{style:t},void 0,e.message,u,c,e.actionLabel&&s(r.a,{label:e.actionLabel,secondary:!0,onClick:function(){return e.onActionClick()},style:a.a.roundedButtonContainer,buttonStyle:a.a.roundedButton,labelStyle:a.a.roundedButtonLabel}))};d.defaultProps={actionLabel:null,onActionClick:null,style:{}},t.a=d},,,,,,,,,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=(t.brandColor="#B2001B",t.gray50="#FAFAFA",t.gray100="#F5F5F5",t.gray200="#EEEEEE",t.gray300="#E0E0E0",t.gray400="#BDBDBD",t.gray500="#9E9E9E",t.gray600="#757575",t.gray700="#616161",t.gray800="#424242",t.gray900="#212121",t.white="#fff",t.purple="#6A00CE",t.pink="#C10060",t.orange="#FBA014",t.blue="#227CDC",t.turquoise="#00BD9C"),o=t.turquoiseLighter="#B2DFDB";t.wetAsphalt="#34495e",t.wetAsphalt2="#44617b",t.midnightBlue="#2c3e50",t.midnightBlue2="#546b81",t.peterRiver="#3498db",t.belizeHole="#2980b9",t.active="#40E176",t.error="#F23A3A",t.errorColor="#F23A3A",t.primaryColorDark="#8e001d",t.primaryColor="#fff",t.primaryColorLight="#d60024",t.primaryColorLighter="#ff4655",t.primaryColorLightest="#ffacac",t.accent1Color=n,t.accent1ColorLighter=o},,function(e,t,n){"use strict";function o(){return{type:s.g}}function i(e){return{type:s.h,payload:{isOpen:e}}}function r(e,t){return function(n){n({payload:{open:e,rightNavContentType:t},type:s.i}),n({payload:{userHavingConversationWith:void 0},type:s.j}),n({payload:{eventHavingConversationWith:void 0},type:s.k})}}function a(e){return function(t){t({payload:{open:!0,rightNavContentType:"conversations"},type:s.i}),t({payload:{userHavingConversationWith:e},type:s.j})}}var s=n(21);t.b=o,t.a=i,t.c=r,t.d=a},,function(e,t,n){"use strict";t.a={isMentorAtAnyOrganisation:function(e,t){if(!t||0===t.length)return!1;for(var n=!1,o=e._roles,i=0;i<o.length;i+=1){if("mentor"===o[i].split("@")[0]){n=!0;break}}return n},isMemberOfOrganisation:function(e,t){for(var n=!1,o=t._roles,i=0;i<o.length;i+=1){var r=o[i].split("@");if(r.length>0&&r[1]===e){n=!0;break}}return n},isMemberOfGroup:function(e,t){if(!e||!e.members||!t)return!1;for(var n=0;n<e.members.length;n+=1)if(t._id===e.members[n]._id)return!0;return!1},getAuthPlatform:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];return e.find(function(e){return e.domain===t})},getEmailFromAuthPlatform:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=this.getAuthPlatform(e,t);return n?n.email:""},isAuthPlatformConnected:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=this.getAuthPlatform(e,t);return!!n&&"active"===n.status},isAuthPlatformExpired:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=this.getAuthPlatform(e,t);return!!n&&"expired"===n.status}}},,,,,,,,function(e,t,n){"use strict";function o(e,t,n,o,i,r){return{type:s.b,payload:{title:e,message:t,isScrollable:r,isDismissable:!0,addCancelButton:!0,actions:[{isPrimary:!0,label:n,onActionClick:o,style:i}]}}}function i(e,t,n,o,i){return{type:s.b,payload:{title:e,message:t,isScrollable:i,actions:[{isPrimary:!0,label:n,onActionClick:o}],isDismissable:!0,addCancelButton:!1}}}function r(e,t,n,o){return{type:s.b,payload:{title:e,message:t,actions:n,isDismissable:o}}}function a(){return{type:s.c}}var s=n(21);t.d=o,t.b=i,t.c=r,t.a=a},,,function(e,t,n){"use strict";function o(e,t,n){return function(o,i){var r=i.api;o({type:y.X,status:y.n,payload:{}});var a=_.a.getStartEndOfWeek().firstDayOfWeek.getTime()/1e3;r.fetchUpcomingMeetings(e,"mentor"===n?"mentors":"mentees",t,a).then(function(e){o({type:y.X,status:y.o,payload:{userId:t,list:e}})},function(e){return o({type:y.X,status:y.p,payload:{error:e}})})}}function i(e,t){return function(n,o){var i=o.api;n({type:y.X,status:y.n,payload:{}});var r=_.a.getStartEndOfWeek().firstDayOfWeek.getTime()/1e3;i.getMeetingsOfGroup(e,t,r).then(function(e){n({type:y.X,status:y.o,payload:{groupId:t,list:e}})},function(e){return n({type:y.X,status:y.p,payload:{error:e}})})}}function r(e){return function(t,n){var o=n.api;t({type:y.Y,status:y.n,payload:{}});var i=_.a.getStartEndOfWeek().firstDayOfWeek.getTime()/1e3;o.getMeetingsInMeetingGoal(e,!0,i,-1).then(function(e){t({type:y.Y,status:y.o,payload:{list:e}})},function(e){return t({type:y.Y,status:y.p,payload:{error:e}})})}}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_.a.getStartEndOfWeek().firstDayOfWeek.getTime()/1e3;return function(o,i){var r=i.api;o({type:y.Z,status:y.n,payload:{mentorId:t}}),r.getAvailabilities(e,t).then(function(e){o({type:y.Z,status:y.o,payload:{mentorId:t,start:n,list:e}})},function(e){return o({type:y.Z,status:y.p,payload:{mentorId:t,error:e}})})}}function s(e,t,n,o){return function(i,r){var a=r.api;i({type:y._0,status:y.n,payload:{profileId:n}}),a.getMeetingsOfUserOrGroup(e,t,n,o).then(function(e){i({type:y._0,status:y.o,payload:{profileId:n,list:e}})},function(e){return i({type:y._0,status:y.p,payload:{profileId:n,error:e}})})}}function l(e,t,n,o,i){return function(r,a){var s=a.api;r({type:y._2,status:y.n,payload:{profileId:t,groupId:n,eventId:o,note:i}}),s.createMeetingNote(i).then(function(a){r({type:y._2,status:y.o,payload:{account:e,profileId:t,groupId:n,eventId:o,note:b({},i,a)}})},function(e){return r({type:y._2,status:y.p,payload:{profileId:t,groupId:n,eventId:o,error:e}})})}}function u(e,t,n,o,i){return function(r,a){var s=a.api;r({type:y._3,status:y.n,payload:{profileId:e,groupId:t,eventId:n,noteId:o}}),s.updateNote(o,i).then(function(a){r({type:y._3,status:y.o,payload:{profileId:e,groupId:t,eventId:n,noteId:o,note:b({},i,a)}})},function(i){return r({type:y._3,status:y.p,payload:{profileId:e,groupId:t,eventId:n,noteId:o,error:i}})})}}function c(e,t,n,o){return function(i,r){var a=r.api;i({type:y._4,status:y.n,payload:{profileId:e,groupId:t,eventId:n,noteId:o}}),a.deleteNote(o).then(function(){i({type:y._4,status:y.o,payload:{profileId:e,groupId:t,eventId:n,noteId:o}})},function(r){return i({type:y._4,status:y.p,payload:{profileId:e,groupId:t,eventId:n,noteId:o,error:r}})})}}function d(e){return function(t,n){var o=n.api;t({type:y._7,status:y.n,payload:{}}),o.createAvailability(e).then(function(n){t({type:y._7,status:y.o,payload:{availability:b({},e,n)}})},function(e){return t({type:y._7,status:y.p,payload:{error:e}})})}}function p(e){return function(t,n){var o=n.api;t({type:y._8,status:y.n,payload:{availability:e}}),o.cancelAvailability(e._id).then(function(){t({type:y._8,status:y.o,payload:{availability:e}})},function(e){return t({type:y._8,status:y.p,payload:{error:e}})})}}function f(e){return function(t,n){var o=n.api;t({type:y._9,status:y.n,payload:{event:e}}),o.createEvent(e).then(function(n){t({type:y._9,status:y.o,payload:{event:b({},e,n)}})},function(n){return t({type:y._9,status:y.p,payload:{event:e,error:n}})})}}function m(){return function(e){e({type:y._10})}}function g(e,t,n){return function(e,o){var i=o.api;e({type:y._11,status:y.n,payload:{id:t}}),i.getEvent(t,n).then(function(n){i.getNotesOfEvent(t).then(function(o){e({type:y._11,status:y.o,payload:{id:t,item:b({},n,{notes:o})}})},function(n){return e({type:y._11,status:y.p,payload:{id:t,error:n}})})},function(n){return e({type:y._11,status:y.p,payload:{id:t,error:n}})})}}function h(e,t){return function(n,o){var i=o.api;n({type:y._12,status:y.n,payload:{id:e}}),i.updateEvent(e,t).then(function(o){n({type:y._12,status:y.o,payload:{id:e,updatedData:b({},t,o)}})},function(t){return n({type:y._12,status:y.p,payload:{id:e,error:t}})})}}function v(e,t,n,o){return function(i,r){var a=r.api;i({type:y._13,status:y.n,payload:{event:t}});var s={reason:n,isProblematic:o};a.cancelEvent(t._id,s).then(function(n){i({type:y._13,status:y.o,payload:{event:t,updatedData:b({},n,{cancelInfo:b({},s,{canceledBy:e}),status:"canceled"})}})},function(e){return i({type:y._13,status:y.p,payload:{event:t,error:e}})})}}var y=n(21),_=n(33);t.a=o,t.b=i,t.c=r,t.n=a,t.k=s,t.f=l,t.g=u,t.h=c,t.o=d,t.i=p,t.d=f,t.e=m,t.l=g,t.m=h,t.j=v;var b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},,,,,,function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t){for(var n=0;n<e.length;n+=1){var o=e[n];if(t.indexOf(o)<0)return!1}return!0}n.d(t,"b",function(){return a});var r={getUserRoutes:function(e,t){return e.routes[t]?[].concat(o(e.routes[t])):[]},getUserRoleInOrganisation:function(e,t){for(var n=null,o=0;o<e.length;o+=1){var i=e[o].split("@"),r=i[0],a=i[1];a&&a===t&&"admin"!==r&&(n=r)}return n||(n="anonymous"),n},getMeetingDisableReason:function(e,t,n,o){var i=e.config,a=e.role,s=e.group;if("mentor"===a)return!1;var l=t;if("group"===i.menteeType){if(!s)return"groupNeeded";l=s}else l=t;var u=i.mentorMenteeSubscription,c=i.activityRules;return null===o&&"implicit"!==u?"subscriptionNeeded":r.rulesEnableMeetingCreation(l,c)?r.rulesEnableMeetingCreation(l,n&&n.meetingCreationRule)?null:"specificRules":"generalRules"},rulesEnableMeetingCreation:function(e,t){if(!e)return!1;if(!t)return!0;for(var n=t.expectedTags||[],o=t.unexpectedTags||[],r=e.termTags||[],a=0;a<o.length;a+=1){var s=o[a];if(r.indexOf(s)>=0)return!1}if(!t.expectedTags||0===t.expectedTags.length)return!0;for(var l=0;l<n.length;l+=1){if(i(n[l],r))return!0}return!1},getProfileFieldVisibilities:function(e,t){var n={bio:!0,skills:!0,title:!0};return e&&(e.role||t)&&e.config&&e.config.profileFieldVisibilities&&(n=e.config.profileFieldVisibilities[t||e.role]),n}},a=function(e){if(e){var t=e.split("/");return"https://api.mentornity.com/files/"+t[t.length-1]}};t.a=r},,,,,,,function(e,t,n){"use strict";function o(e){var t=e.i18n,n=e.error,o=e.path;console.log(e.error);var i=null,r=null,l=null,u=null,c=null;return e.error==a.a.connection&&(u="Connection Error",c="We had an issue about the connection. Fixing it soon."),n.title&&(u=n.title),n.message&&(c=n.message),401===n.code&&(l="/icons/detective.svg",i=o?"/login?r="+o:null,r=t.pages.error.goToLogin,c=t.pages.error.unauthorized),404===n.code&&(i="/",l="/icons/binoculars.svg",c=t.pages.error.notFound,r=t.pages.error.goToHome),s("div",{style:{padding:"3rem",textAlign:"center",maxWidth:"640px",margin:"0 auto"}},void 0,u&&s("h1",{},void 0,u),l&&s("img",{style:{width:"200px"},src:l,alt:"icon"}),c&&s("p",{},void 0,c),i&&r&&s("b",{},void 0,s("a",{href:i},void 0,r)))}var i=n(0),r=(n.n(i),n(3)),a=n(811),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();o.defaultProps={path:null};var l=function(e){return{i18n:e.i18n}};t.a=n.i(r.a)(l)(o)},function(e,t,n){"use strict";(function(e){var o=n(656),i=n.n(o),r=e&&e.env&&!0,a={path:"/",secure:r},s=7,l={PARAM_USER_ID:"mt_uid",PARAM_ACCESS_TOKEN:"mt_at",PARAM_ORGANISATION_ID:"mt_oid",PARAM_ROLE:"mt_role",PARAM_PRIVACY_SETTINGS_SHOWN:"mt_prv",PARAM_SESSION_TOKEN:"mt_st",PARAM_SESSION_TOKEN_INCREMENTED:"mt_stincr",PARAM_SHOW_MY_PROGRAM_INFO:"mt_smpi",PARAM_CURRENT_TIMEZONE:"mt_ctz",PARAM_LAST_LOGGED_PROGRAM:"mt_llp",get:function(e){return i.a.load(e)},getExpires:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=new Date;return t.setTime(t.getTime()+24*e*60*60*1e3),t},save:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.getExpires();a.expires=n,i.a.save(e,t,a)},remove:function(e){i.a.remove(e,a)},clearAll:function(){l.remove(l.PARAM_USER_ID),l.remove(l.PARAM_ACCESS_TOKEN),l.remove(l.PARAM_ORGANISATION_ID),l.remove(l.PARAM_ROLE),l.remove(l.PARAM_SESSION_TOKEN),l.remove(l.PARAM_SESSION_TOKEN_INCREMENTED)}};t.a=l}).call(t,n(99))},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var o=n(52);n.n(o);t.a={item:{marginBottom:"1.4rem",borderRadius:"5px"},content:{padding:"1rem",background:"#ffffff",borderBottomLeftRadius:"5px",borderBottomRightRadius:"5px",overflow:"hidden"},noteContent:{padding:"0 1rem"},headerContainer:{background:"#f4f4f4",padding:"1rem",borderTopLeftRadius:"5px",borderTopRightRadius:"5px",position:"relative"},headerSentenceContainer:{display:"inline-block",verticalAlign:"top",marginLeft:"3rem"},avatar:{position:"absolute"},link:{color:"inherit",textAlign:"center",marginBottom:"1rem"},sentence:{},elapsedTime:{fontSize:"0.9em",color:"#aaaaaa"},mentorAndMenteeInfoContainer:{marginBottom:0},person:{margin:"0.5rem 1.5rem 0.5rem 0",display:"inline-block",whiteSpace:"nowrap"},nameAndRole:{padding:"0.3rem 0",display:"inline-block",marginLeft:"0.5rem",lineHeight:"1rem",verticalAlign:"middle"},name:{color:"black"},role:{fontSize:"0.8rem",color:"#888888"},time:{color:o.orange},timeCanceled:{color:o.error}}},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(16)),r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?""+e.charAt(0).toUpperCase()+e.slice(1):e.replace(/(?:^|\s|["'([{])+\S/g,function(e){return e.toUpperCase()})};t.a={getErrorMessage:function(e,t,n){var o=void 0;switch(n.response&&n.response.message?o=n.response.message:n.data&&n.data.message&&(o=n.data.message),o){case"conflict-with-mentor-calendar":o="mentor"===t.role?e.components.timeSlot.conflictWithAccountCalendar:e.components.timeSlot.conflictWithMentorCalendar;break;case"conflict-with-mentor-google-calendar":o="mentor"===t.role?e.components.timeSlot.conflictWithAccountGoogleCalendar:e.components.timeSlot.conflictWithMentorAnotherCalendar;break;case"conflict-with-mentor-microsoft-calendar":o="mentor"===t.role?e.components.timeSlot.conflictWithAccountMicrosoftCalendar:e.components.timeSlot.conflictWithMentorAnotherCalendar;break;case"conflict-with-mentee-calendar":o="mentee"===t.role?e.components.timeSlot.conflictWithAccountCalendar:e.components.timeSlot.conflictWithMenteeCalendar;break;case"conflict-with-mentee-google-calendar":o="mentee"===t.role?e.components.timeSlot.conflictWithAccountGoogleCalendar:e.components.timeSlot.conflictWithMenteeAnotherCalendar;break;case"conflict-with-mentee-microsoft-calendar":o="mentee"===t.role?e.components.timeSlot.conflictWithAccountMicrosoftCalendar:e.components.timeSlot.conflictWithMenteeAnotherCalendar;break;case"max-meeting-limit-for-day-reached":"mentee"===t.role&&(o=e.components.timeSlot.maxMeetingLimitForDayReached);break;case"max-meeting-limit-for-week-reached":"mentee"===t.role&&(o=e.components.timeSlot.maxMeetingLimitForWeekReached);break;case"max-meeting-limit-for-week-per-suite-reached":"mentee"===t.role&&(o=e.components.timeSlot.maxMeetingLimitForWeekPerSuiteReached);break;case"participants-already-have-meeting-for-same-goal":o=e.components.timeSlot.alreadyHaveMeetingForSameGoal;break;case"remaining-time-too-short":if("mentee"===t.role){var s=t.config.meetingSettings,l=s.minRemainingTimeForMeetingCreation;o=i.a.build(e.components.timeSlot.remainingTimeTooShort,{hour:r("b",{},void 0,l),organisation:r("b",{},void 0,t.organisation.title)})}break;case"has-conflicting-availabilities":"mentor"===t.role&&(o=e.components.timeSlot.conflictWithMentorAvailabilities);break;case"failed-to-generate-video-call-url-for-zoom":o=e.components.timeSlot.zoomError;break;case"mentor-google-account-auth-not-found":case"mentor-google-account-auth-expired":case"mentor-outlook-account-auth-expired":case"mentor-zoom-account-auth-expired":case"mentor-teams-account-auth-expired":o=i.a.build(e.components.createMeetingForm.mentorAccountAuthExpired,{mentorName:r("b",{},void 0,t.mentorName),locationType:r("b",{},void 0,t.locationType.toUpperCase())});break;default:o=o.includes("googleapi: Error 403: Request had insufficient authentication scopes.")?e.components.createMeetingForm.googlePermissionError:o&&o.includes("-")?a(n.response.message.split("-").join(" ")+".",!1):e.components.createMeetingForm.errorMessage}return o},getLoginErrorMessage:function(e,t){if(t)return 401===t.status||404===t.status?e.pages.login.credentialsError:"Failed to fetch"===t.message?e.pages.login.serverError:"invitation-not-accepted"===t.data.message?e.pages.login.invitationError:e.pages.login.unexpectedError},getOAuthErrorMessage:function(e,t){if(t){var n=t.response||t.data,o=t.statusCode||t.status;if(409===o){if(!n)return e.pages.oauthRegister.accountExistsError;switch(n.message){case"user-exists-with-same-oauth-platform":return e.pages.oauthRegister.platformAccountExistsError;case"active-user-exists-with-same-email":default:return e.pages.oauthRegister.accountExistsError}}if(404===o){if(n)switch(n.message){case"user-doesnt-exist":default:return e.pages.oauthRegister.platformAccountDoesntExistsError}}else if(400===o){if(n)switch(n.message){case"insufficient-permissions-granted-for-google":default:return r(l,{i18n:{unableToConnectGoogleMessage:e.pages.oauthRegister.unableToConnectGoogleMessage,checkPermissionAgainMessage:e.pages.oauthRegister.checkPermissionAgainMessage}})}}else if("Failed to fetch"===t.message)return e.pages.login.serverError;return e.pages.oauthRegister.unexpectedError}}};var s=r("img",{src:"/img/google-calendar-permission.png",height:"700px"}),l=function(e){var t=e.i18n;return r("div",{},void 0,r("p",{},void 0,t.unableToConnectGoogleMessage),r("p",{},void 0,t.checkPermissionAgainMessage),s)}},function(e,t,n){"use strict";function o(e){return!!(e.webAppConfiguration||{}).membershipForm}function i(e){return!!(e.webAppConfiguration||{}).recurringAvailabilities}function r(e){return!!(e.webAppConfiguration||{}).pairOverviewAndDetail}function a(e){if(i(e))return!0;var t=e.webAppConfiguration||{},n=!!t.mentorList;if("undefined"!=typeof window){var o=new URLSearchParams(window.location.search),r=Object.fromEntries(o.entries());return n||!!r.swcui}return n}function s(e){if(i(e))return!0;var t=e.webAppConfiguration||{},n=!!t.menteeList;if("undefined"!=typeof window){var o=new URLSearchParams(window.location.search),r=Object.fromEntries(o.entries());return n||!!r.swcui}return n}t.a=o,t.b=i,t.c=r,t.e=a,t.d=s},,,,,,,,,,,,function(e,t,n){"use strict";function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments[3],i=arguments[4];return function(r,a){var s=a.api;r({type:h._24,status:h.n,payload:{}}),s.getMentors(e,t,n,o,i).then(function(e){r({type:h._24,status:h.o,payload:{skip:o,list:e}})},function(e){return r({type:h._24,status:h.p,payload:{error:e}})})}}function i(){return function(e){e({type:h._25,status:h.n,payload:{}})}}function r(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments[4];return function(r,a){var s=a.api;r({type:h._24,status:h.n,payload:{}}),s.getMentors(e,n,o,i,{suiteId:t,appendAvailabilities:!0,appendSubscription:!0}).then(function(e){r({type:h._24,status:h.o,payload:{skip:i,list:e}})},function(e){return r({type:h._24,status:h.p,payload:{error:e}})})}}function a(e){return function(t,n){var o=n.api;t({type:h._26,status:h.n,payload:{}}),o.getSelectionMentors(e).then(function(e){t({type:h._26,status:h.o,payload:{list:e.results}})},function(e){return t({type:h._26,status:h.p,payload:{error:e}})})}}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments[3],i=arguments[4];return function(r,a){var s=a.api;r({type:h._27,status:h.n,payload:{}}),s.getMentees(e,t,n,o,i).then(function(e){r({type:h._27,status:h.o,payload:{skip:o,list:e}})},function(e){return r({type:h._27,status:h.p,payload:{error:e}})})}}function l(){return function(e){e({type:h._28,status:h.n,payload:{}})}}function u(e){return function(t,n){var o=n.api;t({type:h._29,status:h.n,payload:{id:e}}),o.getUser(e).then(function(n){t({type:h._29,status:h.o,payload:{id:e,item:n}})},function(n){return t({type:h._29,status:h.p,payload:{id:e,error:n}})})}}function c(e,t,n){return function(o,i){var r=i.api;o({type:h._30,status:h.n,payload:{userId:n}}),r.getMetadata(e,t,n).then(function(e){o({type:h._30,status:h.o,payload:{userId:n,item:e}})},function(e){return o({type:h._30,status:h.p,payload:{userId:n,error:e}})})}}function d(e,t,n){return function(o,i){var r=i.api;o({type:h._31,status:h.n,payload:{id:e}}),r.updateMetadata(e,t).then(function(i){o({type:h._31,status:h.o,payload:{id:e,data:v({},n,t,i)}})},function(t){return o({type:h._31,status:h.p,payload:{id:e,error:t}})})}}function p(e){return function(t){t({type:h._32,payload:{searchInput:e}})}}function f(e){return function(t){t({type:h._33,payload:{searchInput:e}})}}function m(e){return function(t){t({type:h._34,status:h.n,payload:{filter:e}})}}function g(e){return function(t){t({type:h._35,status:h.n,payload:{filter:e}})}}var h=n(21);t.c=o,t.h=i,t.g=r,t.f=a,t.a=s,t.b=l,t.k=u,t.l=c,t.m=d,t.i=p,t.d=f,t.j=m,t.e=g;var v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},,,,,,,,function(e,t,n){"use strict";function o(e){return!!(e.responses&&e.responses.length>0)&&("postSubscriptionFeedback"!==e.type||Object.keys(e.responses[0].data).length>1)}function i(e){var t=a(e);if(t)return t.data.relevantReference}function r(e){return"tr"===e?"tr_TR":"en_US"}t.b=o,t.a=i,t.c=r;var a=function(e){return e.responses&&e.responses.length>0?e.responses[0]:void 0}},,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function o(e,t){return function(n,o){var i=o.api;n({type:c.O,payload:{status:c.n}}),i.getConversations(t).then(function(o){return n({type:c.O,payload:{status:c.o,conversations:o,accountId:e,skip:t}})},function(e){return n({type:c.O,payload:{status:c.p,error:e}})})}}function i(){return function(e){e({type:c.P,payload:{status:c.n}})}}function r(e){return function(t,n){var o=n.api;t({type:c.Q,payload:{status:c.n}}),o.getNewMessages(e).then(function(e){return t({type:c.Q,payload:{status:c.o,messages:e}})},function(e){return t({type:c.Q,payload:{status:c.p,error:e}})})}}function a(e){return function(t){t({type:c.R,payload:{messages:e},status:c.o})}}function s(e,t){return function(n,o){var i=o.api;n({type:c.S,payload:{status:c.n,conversationId:e}}),i.getMessagesOfConversation(e,t).then(function(o){return n({type:c.S,payload:{status:c.o,messages:o,conversationId:e,skip:t}})},function(t){return n({type:c.S,payload:{status:c.p,error:t,conversationId:e}})})}}function l(e,t,n,o){return function(i,r){var a=r.api;i({type:c.T,payload:{status:c.n}});var s={organisation:{_type:"reference",_class:"organisations",_id:e},participants:[{_type:"reference",_class:"users",_id:t},{_type:"reference",_class:"users",_id:n}]};a.createConversation(s).then(function(e){a.createMessage(e._id,o).then(function(r){return i({type:c.T,payload:{conversationId:e._id,status:c.o,body:d({content:o,conversation:{_type:"reference",_class:"conversations",_id:e._id},createdBy:{_type:"reference",_class:"users",_id:t},sendTo:{_type:"reference",_class:"users",_id:n}},r)}})},function(e){return i({type:c.T,payload:{status:c.p,error:e}})})},function(e){if(i({type:c.T,payload:{status:c.p,error:e}}),e.response&&409===e.response.code){var n=e.response.message;i({type:c.U,payload:{status:c.n,conversationId:n}}),a.createMessage(n,o).then(function(e){i({type:c.U,payload:{conversationId:n,status:c.o,message:d({content:o,conversation:{_type:"reference",_class:"conversations",_id:n},createdBy:{_type:"reference",_class:"users",_id:t}},e)}}),window.location.reload()},function(e){return i({conversationId:n,type:c.U,payload:{status:c.p,error:e}})})}})}}function u(e,t,n){return function(o,i){var r=i.api;o({type:c.U,payload:{status:c.n,conversationId:t}}),r.createMessage(t,n).then(function(i){o({type:c.U,payload:{conversationId:t,status:c.o,message:d({content:n,conversation:{_type:"reference",_class:"conversations",_id:t},createdBy:{_type:"reference",_class:"users",_id:e}},i)}})},function(e){return o({conversationId:t,type:c.U,payload:{status:c.p,error:e}})})}}var c=n(21);t.a=o,t.g=i,t.b=r,t.c=a,t.f=s,t.d=l,t.e=u;var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},function(e,t,n){"use strict";function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];console.log("RELAY",t)}var i={endpoint:void 0,isConnected:!1,accessToken:void 0,subscribedResources:{},setEndpoint:function(e){this.endpoint=e},setAccessToken:function(e){this.accessToken=e},sendMessage:function(e,t,n,o){if(this.isConnected){var i={event:"send_message",data:{conversationId:e,content:t,messageId:n,createdAt:o}};this.socket.send(JSON.stringify(i))}},connect:function(e,t,n,r,a){return this.accessToken&&this.endpoint?(o("Connecting to chat server."),this.socket=new WebSocket(this.endpoint+"?access_token="+this.accessToken),this.socket.onopen=function(){o("chat server connected"),i.isConnected=!0,e()},this.socket.onclose=function(){o("on close socket"),i.isConnected=!1,r()},this.socket.onmessage=function(e){o("receive message");var i=JSON.parse(e.data);if("conversations"===i.event){if(i.onlineUsers){var r=!0,s=!1,l=void 0;try{for(var u,c=Object.keys(i.onlineUsers)[Symbol.iterator]();!(r=(u=c.next()).done);r=!0){var d=u.value;n("state-change",{accountId:d,status:"online"})}}catch(e){s=!0,l=e}finally{try{!r&&c.return&&c.return()}finally{if(s)throw l}}}}else if("user_status_change"===i.event)o("user status changed"),0===i.status?n("timeout",{accountId:i.userId,state:"offline"}):1===i.status&&n("state-change",{accountId:i.userId,status:"online"});else if("message"===i.event){var p=[{_id:i.id,content:i.content,createdAt:i.createdAt,updatedAt:i.createdAt,conversation:{_id:i.conversationId},createdBy:{_id:i.createdBy}}];t(p)}else"conversations_fetch"===i.event?(o("fetch conversation event "),a("fetch_conversations")):"presence"===i.event&&(o("incoming presence"),a("incoming_presence",i.state))},!0):(o("access token or endpint not found",this.accessToken,this.endpoint),!1)},setPresence:function(e,t){if(this.isConnected){var n={event:"presence",data:{state:t}};this.socket.send(JSON.stringify(n))}},getCurrentPresences:function(e,t){o("getPresence "+e),o("getPresence "+t)},close:function(){o("CLOSING CONNECTION"),this.isConnected=!1},createConversation:function(e){if(this.isConnected){var t={event:"conversation_create",data:{sendToId:e.body.sendTo._id}};this.socket.send(JSON.stringify(t))}},subscribe:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e.filter(function(e){return!t.subscribedResources[e]});if(0!==i.length){i.forEach(function(e){t.subscribedResources[e]=!0});var r=!0,a=!1,s=void 0;try{for(var l,u=e[Symbol.iterator]();!(r=(l=u.next()).done);r=!0){var c=l.value,d={event:"subscribe",data:{channel:c}};this.socket.send(JSON.stringify(d))}}catch(e){a=!0,s=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw s}}o("SUBSCRIBE",n,i)}},unsubscribe:function(e){o("UNSUBSCRIBE",e)},publish:function(e,t){o("PUBLISHING",e,t)}};t.a=i},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(34)),r=n.n(i),a=n(101),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),l=s("br",{}),u=function(e){return s("div",{style:a.a.headerContainer},void 0,s(r.a,{size:32,src:e.imageUrl||null,style:a.a.avatar},void 0,e.imageUrl?null:e.avatarInitials),s("div",{style:a.a.headerSentenceContainer},void 0,e.sentence,l,s("span",{style:a.a.elapsedTime,className:"elapsed-time"},void 0,e.elapsedTime)))};u.defaultProps={imageUrl:null,avatarInitials:""},t.a=u},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(33)),r=n(101),a=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},l=a("br",{}),u=a("br",{}),c=a("br",{}),d=function(e){var t=e.i18n,n=e.context,o=e.event,d=new Date(1e3*o.startDate),p=new Date(1e3*o.endDate),f=i.a.format(d,"DD"),m=i.a.format(d,"YYYY"),g=i.a.format(d,"MMM"),h=i.a.format(d,"dddd"),v=f+" "+g+" "+m+" "+h;"MM/DD/YYYY"===i.a.dateFormat&&(v=g+" "+f+" "+m+" "+h);var y=i.a.format(d,"HH:mm"),_=i.a.format(p,"HH:mm"),b=void 0;o.location&&o.location.address&&(b=o.location.type&&"custom"!==o.location.type?"@"+t.components.meetingSummaryItem.location[o.location.type]:"@"+o.location.address);var w=s({},r.a.time);"canceled"===o.status&&(w=s({},w,r.a.timeCanceled));var S=n&&i.a.getMeetingGoalTitle(n,o);return a("div",{},void 0,S&&a("b",{},void 0,S,l),a("span",{style:w},void 0,a("b",{},void 0,y," - ",_),"canceled"===o.status&&" ("+t.feed.cancelEvent.statusCanceled+")"),u,a("b",{},void 0,v),c,b&&a("span",{},void 0,b))};t.a=d},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(0),l=n.n(s),u=n(3),c=n(48),d=n.n(c),p=n(190),f=n.n(p),m=n(26),g=n.n(m),h=n(34),v=n.n(h),y=n(1587),_=n.n(y),b=n(47),w=n.n(b),S=n(510),x=n.n(S),A=n(56),P=n(29),C=n(54),k=n(39),M=n(15),T=n(73),O=n(16),E=n(395),I=n(197),N=n(32),D=n(375),j=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},F=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),L={card:{marginBottom:"2rem",textAlign:"center",overflow:"hidden",borderRadius:"6px",backgroundColor:"#fff",position:"relative",height:"auto"},content:{display:"flex",alignItems:"center",flexDirection:"column",padding:"1.6rem",height:"100%"},followButtonContainer:{position:"absolute",bottom:0,right:0,left:0,borderBottomLeftRadius:"6px",borderBottomRightRadius:"6px",backgroundColor:"whitesmoke"},name:{fontFamily:"Figtree, sans-serif",marginBottom:"0.2rem",whiteSpace:"nowrap",maxLines:1,textOverflow:"ellipsis",maxWidth:"100%",overflow:"hidden"},title:{fontSize:"0.8em",color:"#aaa"},skillTagContainer:{margin:"0.5rem 0",maxWidth:"100%",position:"relative"},skillTagList:{whiteSpace:"nowrap"},bio:{margin:"0",padding:"0",fontSize:"0.8em",lineHeight:"1.4em"},socialIconsContainer:{marginBottom:"1rem"},socialIcon:{height:"1.4rem",margin:"1rem 0.5rem 0.5rem 0.5rem"}},U=function(e){function t(){return i(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),F(t,[{key:"onSelectClick",value:function(){var e=this.props,t=e.subscription,n=e.subscriptionToCreate,o=e.user,i=this.props.mentorship||o.mentorship;if(t)this.props.deleteSubscription(t._id);else{if(this.props.onSelectMentor)return void this.props.onSelectMentor(o);this.props.createSubscription(n,o,i,!0)}}},{key:"onFollowClick",value:function(){var e=this.props,t=e.subscription,n=e.subscriptionToCreate,o=e.user,i=this.props.mentorship||o.mentorship;t?this.props.followUnfollowSubscription(t._id,!t.isFollowing):this.props.createSubscription(n,o,i,!0)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,i=t.context,r=t.user,a=(t.short,t.trimInfo),s=t.disableLink,l=t.hideBio,u=t.showMetadata,c=t.metadataLabels,d=t.subscription,p=t.shouldShowFollowButton,m=t.shouldShowSendMessageButton,h=t.shouldShowSelectButton,y=t.selectEnabled,b=t.muiTheme,S=t.isMobile,A=t.userType,P=t.processStartType,C=t.openOldInterface,E=T.a.getProfileFieldVisibilities(i,A),F=b.palette.secondaryTextColor,U=b.palette.borderColor,B=30,Z=!!d&&d.isFollowing,Y=d&&"active"===d.status,G=d&&"requested"===d.status,H=null;!r.imageUrl&&r.firstName&&r.lastName&&(H=r.firstName[0]+r.lastName[0]);var W=r.title||"";a&&W.length>B&&(W=W.slice(0,B)+"...");var z=r.bio||"",X=r.skills?[].concat(o(r.skills)).slice(0,5):[],V=r.linkedInUrl||r.twitterUrl||r.facebookUrl||r.webSiteUrl,Q=C?"/profile/"+r._id:i&&"/"+i.organisation.domain+"/pairs/"+i.organisation._id+"?uid="+r._id+"&&usertype="+A,q=R({},L.card);(p||m||h)&&(q.paddingBottom="56px");var J=0;X.forEach(function(e){J+=(n.skills[e]||e).length});var K=j("div",{},void 0,j(f.a,{height:M.a.logoXXL.heightForLazyLoad,offset:100,once:!0},void 0,j(v.a,{src:r.imageUrl||null,style:R({},M.a.logoXXL)},void 0,H)),j("h3",{style:L.name},void 0,r.firstName," ",r.lastName),E.title&&j("span",{style:L.title},void 0,W),E.skills&&j("div",{style:L.skillTagContainer},void 0,X.map(function(e){return j(I.a,{text:n.skills[e]||e,isSmall:X.length>3},e)})),!l&&E.bio&&j("div",{},void 0,!a&&j("p",{style:L.bio},void 0,z),z&&z.length>0&&a&&j("div",{style:L.bio},void 0,j(_.a,{text:z,maxLine:J>36?2:3,ellipsis:"...",trimRight:!0,basedOn:"letters"}))),u&&r.metadata&&r.metadata.data&&c&&j("div",{style:{margin:"1rem 0 0.5rem 0"}},void 0,j(D.a,{context:i,role:A,metadata:r.metadata,clipTitle:!0})));return j(g.a,{zDepth:1,style:q},void 0,j("div",{style:L.content},void 0,s?K:j(N.a,{to:Q,style:{width:"100%"}},void 0,K),V&&j("div",{},void 0,r.linkedInUrl&&j("a",{href:O.a.externalLink(r.linkedInUrl),target:"_blank",rel:"noopener noreferrer"},void 0,j("img",{style:L.socialIcon,src:"/icons/linkedin.svg",alt:"linkedin"})),r.twitterUrl&&j("a",{href:O.a.externalLink(r.twitterUrl),target:"_blank",rel:"noopener noreferrer"},void 0,j("img",{style:L.socialIcon,src:"/icons/twitter.svg",alt:"twitter"})),r.facebookUrl&&j("a",{href:O.a.externalLink(r.facebookUrl),target:"_blank",rel:"noopener noreferrer"},void 0,j("img",{style:L.socialIcon,src:"/icons/facebook.svg",alt:"facebook"})),r.webSiteUrl&&j("a",{href:O.a.externalLink(r.webSiteUrl),target:"_blank",rel:"noopener noreferrer"},void 0,j("img",{style:L.socialIcon,src:"/icons/web.svg",alt:"web"})))),j("div",{style:L.followButtonContainer},void 0,h&&j(w.a,{fullWidth:!0,secondary:Y||G,disabled:!y&&!Y||!y||G||"startOnApproval"===P&&Y,label:"startOnApproval"===P?G?n.buttonActions.requested:Y?n.buttonActions.selected:n.buttonActions.request:Y?n.buttonActions.selected:n.buttonActions.select,onTouchTap:function(){return e.onSelectClick()},style:{padding:"10px 0",height:"56px"}}),p&&!m&&j(w.a,{fullWidth:!0,secondary:Z,label:Z?n.buttonActions.following:n.buttonActions.follow,onTouchTap:function(){return e.onFollowClick()},style:{padding:"10px 0",height:"56px"}}),!p&&m&&j(w.a,{fullWidth:!0,secondary:!0,label:n.buttonActions.sendMessage,onTouchTap:function(){S?k.a.push("/conversations/wu/"+r._id):e.props.openConversation(r)},style:{padding:"10px 0",height:"56px"}}),p&&m&&j("div",{style:{display:"flex"}},void 0,j(w.a,{secondary:Z,label:Z?n.buttonActions.following:n.buttonActions.follow,onTouchTap:function(){return e.onFollowClick()},style:{padding:"10px 0",height:"56px",flexGrow:1}}),j(w.a,{icon:j(x.a,{color:F}),onTouchTap:function(){S?k.a.push("/conversations/wu/"+r._id):e.props.openConversation(r)},style:{height:"56px",minWidth:"56px",borderBottomRightRadius:"5px",borderTopRightRadius:0,borderLeft:"1px solid "+U}}))))}}]),t}(l.a.Component);U.defaultProps={disableLink:!1,hideBio:!1,showMetadata:!1,metadataLabels:null,mentorship:null,subscription:null,onSelectMentor:null,subscriptionToCreate:null,shouldShowFollowButton:!1,shouldShowSelectButton:!1,selectEnabled:!0,shouldShowSendMessageButton:!1,openOldInterface:!1};var B=function(e,t){var n=t.user,o=t.userType,i=t.shouldShowSelectButton,r=t.mentorship||n.mentorship,a=e.session.account,s=e.session.sContext;if(!s)return{};if(!a)return{context:s,shouldShowSendMessageButton:!1,isMobile:e.runtime.isMobile};var l=A.a.isMemberOfOrganisation(s.organisation.domain,n),u=s.config,c=s.group,d=s.organisation,p="group"===u.menteeType,f=n.subscription,m=u.subscriptionConfig.processStartType,g=l&&!i&&E.a.shouldShowFollowButton(s.role,o,u,f,c),h=l&&!i&&E.a.shouldShowSendMessageButton(s.role,o,u,f),v=null;return(i||g)&&!f&&r&&(v={organisation:{_type:"reference",_class:"organisations",_id:d._id},subscribed:{_type:"reference",_class:"users",_id:n._id},subscriber:{_type:"reference",_class:p?"groups":"users",_id:p?c._id:a._id},createdBy:{_type:"reference",_class:"users",_id:a._id},mentorship:{_type:"reference",_class:"mentorships",_id:r._id},status:"active",isFollowing:!0}),{context:s,processStartType:m,subscription:f,subscriptionToCreate:v,shouldShowFollowButton:g,shouldShowSendMessageButton:h&&a._id!==n._id,isMobile:e.runtime.isMobile}},Z={createSubscription:P.e,deleteSubscription:P.f,followUnfollowSubscription:P.g,openConversation:C.d};t.a=n.i(u.a)(B,Z)(d()()(U))},function(e,t,n){"use strict";function o(){return parseInt(((new Date).getTime()/1e3).toFixed(0),10)}function i(e,t){return t?s({},t,{presence:{updatedAt:o()}}):{accountId:e,presence:{updatedAt:o()},call:{res:""},chat:{id:"",state:""}}}function r(e){return e?"idle"===e.stat?"idle":"online":"offline"}function a(e,t){if(e&&e.chat&&e.chat.id)return e.chat.id===t?e.chat.state:void 0}t.a=i,t.c=r,t.b=a;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return i});var o={activities:"activities",announcements:"announcements",availabilities:"availabilities",configs:"configs",conversations:"conversations",events:"events",feedbacks:"feedbacks",forms:"forms",formResponses:"formResponses",groups:"groups",invitations:"invitations",mentorships:"mentorships",messages:"messages",metadatas:"metadatas",notes:"notes",organisations:"organisations",subscriptions:"subscriptions",suites:"suites",sessions:"sessions",users:"users",whiteLabels:"whiteLabels"},i=50},function(e,t,n){"use strict";function o(e){var t=e.title,n=e.html,o=e.content;return n?d("div",{className:c.a.root},void 0,d("div",{className:c.a.container},void 0,d("h1",{},void 0,t),d("div",{dangerouslySetInnerHTML:{__html:n}}))):d("div",{className:c.a.root},void 0,d("div",{className:c.a.container},void 0,d("h1",{},void 0,t),d(l.a,{className:"markdown-content",source:o,escapeHtml:!1})))}var i=n(0),r=(n.n(i),n(18)),a=n.n(r),s=n(63),l=n.n(s),u=n(1324),c=n.n(u),d=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();o.defaultProps={html:null,content:null},t.a=a()(c.a)(o)},,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function o(e,t,n){return function(o,i){var r=i.api;o({type:l._19,status:l.n,payload:{}}),r.getForms(e,t,n).then(function(e){o({type:l._19,status:l.o,payload:{skip:n,list:e}})},function(e){return o({type:l._19,status:l.p,payload:{error:e}})})}}function i(e,t,n){return function(o,i){var r=i.api;o({type:l._20,status:l.n,payload:{}}),r.getAssignedForms(e,t,n).then(function(e){o({type:l._20,status:l.o,payload:{skip:n,list:e}})},function(e){return o({type:l._20,status:l.p,payload:{error:e}})})}}function r(e,t){return function(n,o){var i=o.api;n({type:l._21,status:l.n}),i.createFormResponse(e).then(function(o){n({type:l._21,status:l.o,payload:{formId:t,formResponse:u({},e,o)}})},function(e){return n({type:l._21,status:l.p,payload:{error:e}})})}}function a(e,t,n){return function(o,i){var r=i.api;o({type:l._22,status:l.n,payload:{}}),r.updateFormResponse(t,n).then(function(i){o({type:l._22,status:l.o,payload:{formId:e,formResponse:u({_id:t},n,i)}})},function(e){return o({type:l._22,status:l.p,payload:{error:e}})})}}function s(){return function(e){e({type:l._23})}}var l=n(21);t.b=o,t.a=i,t.c=r,t.d=a,t.e=s;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},function(e,t,n){"use strict";function o(e,t){return function(n,o){var i=o.api;n({type:a._15,status:a.n,payload:{}}),i.getGroups(e,t).then(function(e){n({type:a._15,status:a.o,payload:{skip:t,list:e}})},function(e){return n({type:a._15,status:a.p,payload:{error:e}})})}}function i(e,t){return function(n,o){var i=o.api;n({type:a._16,status:a.n,payload:{id:e}}),i.getGroup(e,t).then(function(t){n({type:a._16,status:a.o,payload:{id:e,item:t}})},function(t){return n({type:a._16,status:a.p,payload:{id:e,error:t}})})}}function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"members";return function(o,i){var r=i.api;o({type:a._16,status:a.n,payload:{id:"groupOf"+e}}),r.getGroupOfUser(e,t,n).then(function(t){o({type:a._16,status:a.o,payload:{id:"groupOf"+e,item:t}})},function(t){return o({type:a._16,status:a.p,payload:{id:"groupOf"+e,error:t}})})}}var a=n(21);t.b=o,t.c=i,t.a=r},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){if(void 0===e.date||void 0===e.startHour||void 0===e.startMinute||void 0===e.endHour||void 0===e.endMinute)return{valid:!1};var t=e.date,n=new Date(t);n.setHours(e.startHour),n.setMinutes(e.startMinute),n.setSeconds(0),n=C.a.fixHourDifference(n);var o=new Date(t);return o.setHours(e.endHour),o.setMinutes(e.endMinute),o.setSeconds(0),o=C.a.fixHourDifference(o),{date:t,startDate:n.getTime()/1e3+1,endDate:o.getTime()/1e3,valid:!0}}var l=n(0),u=n.n(l),c=n(3),d=n(12),p=n.n(d),f=n(60),m=n.n(f),g=n(36),h=n.n(g),v=n(47),y=n.n(v),_=n(184),b=n.n(_),w=n(122),S=n.n(w),x=n(62),A=n.n(x),P=n(16),C=n(33),k=n(67),M=n(32),T=n(792),O=n(42),E=n(102),I=n(363),N=n(739),D=n(56),j=n(39),R=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),F=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),L=function(e){function t(e){i(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={errors:{},location:"",selectedMentees:[],selectedMentor:void 0,locationType:"jitsi"},n}return a(t,e),F(t,[{key:"componentDidUpdate",value:function(){this.props.isMeetingCreated&&this.props.isShown&&!this.state.hiddenAutomatically&&(this.props.resetCreateEvent(),this.props.hideDialog(!0),j.a.push("/events/"+this.props.event._id),this.setState({hiddenAutomatically:!0}))}},{key:"onClickCreate",value:function(){if(this.validateForm()){var e=this.props,t=e.context,n=e.isMenteeCreatingMeeting,o=e.classUser,i=s(this.state),r=i.startDate,a=i.endDate,l=this.props.context.config.menteeType,u="group"===l,c=o||(u?"groups":"users"),d=void 0;if(n){var p=this.props.selectedMentor||this.state.selectedMentor,f={_type:"reference",_class:"users",_id:this.props.account._id};"group"===t.config.menteeType&&t.group&&(f={_type:"reference",_class:"groups",_id:t.group._id}),d=[{_type:"reference",_class:"users",_id:p._id},f]}else{d=[{_type:"reference",_class:"users",_id:this.props.account._id}];for(var m=this.props.selectedMentees||this.state.selectedMentees,g=0;g<m.length;g+=1)d.push({_type:"reference",_class:c,_id:m[g]._id})}var h=this.props.selectedMeetingGoal||this.state.selectedMeetingGoal,v={guests:d,attendees:[],startDate:r,endDate:a,createdBy:{_type:"reference",_class:"users",_id:this.props.account._id},type:"meeting",status:"active",location:{address:this.state.location,type:this.state.locationType},organisation:{_type:"reference",_class:"organisations",_id:this.props.context.organisation._id},meetingGoalIdentifier:h&&h.identifier};this.setState({hiddenAutomatically:!1}),this.props.createEvent(v)}}},{key:"validateForm",value:function(){var e=this.props,t=e.context,n=e.isMenteeCreatingMeeting,o={};if(n&&"group"===t.config.menteeType&&!t.group&&(o.hasNoGroup="this-will-prevent-meeting-creation"),this.state.date||(o.date=this.props.i18n.components.createMeetingForm.dateError),this.state.startHour||0===this.state.startHour||(o.startHour=this.props.i18n.components.createMeetingForm.startHourError),this.state.startMinute||0===this.state.startMinute||(o.startMinute=this.props.i18n.components.createMeetingForm.startMinuteError),this.state.endHour||0===this.state.endHour||(o.endHour=this.props.i18n.components.createMeetingForm.endHourError),this.state.endMinute||0===this.state.endMinute||(o.endMinute=this.props.i18n.components.createMeetingForm.endMinuteError),n){this.props.selectedMentor||this.state.selectedMentor||(o.selectedMentor=this.props.i18n.components.createMeetingForm.mentorError)}else{(this.props.selectedMentees||this.state.selectedMentees).length<1&&(o.selectedMentees=this.props.i18n.components.createMeetingForm.menteeError)}if(this.props.meetingGoals&&this.props.meetingGoals.length>0&&(this.props.selectedMeetingGoal||this.state.selectedMeetingGoal||(o.selectedMeetingGoal=this.props.i18n.components.createMeetingForm.meetingGoalError)),this.state.date){var i=this.state.date,r=new Date(i);r.setHours(this.state.startHour),r.setMinutes(this.state.startMinute),r.setSeconds(0);var a=new Date(i);a.setHours(this.state.endHour),a.setMinutes(this.state.endMinute),a.setSeconds(0),r>a&&(o.endHour=this.props.i18n.components.createMeetingForm.validTimeError)}return this.setState({errors:o}),0===Object.keys(o).length}},{key:"render",value:function(){for(var e=this,t=this.props,n=t.i18n,i=t.context,r=t.hideDialog,a=t.commonStyle,l=t.isMobile,u=t.settings,c=t.language,d=t.minDate,f=t.maxDate,g=t.meetingGoals,v=t.error,_=t.isMenteeCreatingMeeting,w=t.isZoomAuthenticated,x=t.isGoogleAuthenticated,C=t.isMicrosoftBusinessAuthenticated,k=i.config.menteeType,D="group"===k?n.components.createMeetingForm.group:n.components.createMeetingForm.mentee,j=n.components.createMeetingForm.mentor,F=[R(y.a,{label:n.buttonActions.cancel,onTouchTap:function(){return r()},disabled:this.props.isPending}),R(y.a,{secondary:!0,label:n.buttonActions.save,onTouchTap:function(){return e.onClickCreate()},disabled:this.props.isPending})],L=[],U=0;U<24;U+=1)L.push(U);for(var B=[],Z=0;Z<60;Z+=5)B.push(Z);for(var Y=[],G=5;G<91;G+=5)Y.push(G);for(var H=[],W=1;W<21;W+=1)H.push(W);var z="";v&&(z=E.a.getErrorMessage(n,i,v),z=O.a.show(z,i.config,c));var X=[],V=this.props.selectedMentees||this.state.selectedMentees;if(V&&V.length>0)for(var Q=0;Q<V.length;Q+=1)V[Q].firstName&&X.push(V[Q]);var q=this.props.selectedMentor||this.state.selectedMentor;q&&X.push(q);var J=[],K=s(this.state);K.valid&&(J=[{_id:"preview",startDate:K.startDate,endDate:K.endDate}]);var $=n.components.createMeetingForm;return R(m.a,{actions:F,open:this.props.isShown,autoScrollBodyContent:!0,onRequestClose:function(){return e.props.hideDialog()},title:$.title},void 0,!l&&R("div",{className:a.row,style:{margin:"0 -0.75rem"}},void 0,R(I.a,{date:this.state.date,people:[this.props.account].concat(X),previews:J})),R("div",{className:a.row,style:{margin:"0 -0.75rem"}},void 0,g&&R("div",{className:p()(a.col,a.s12)},void 0,R(S.a,{fullWidth:!0,disabled:!(!this.props.isPending&&!this.props.selectedMeetingGoal),floatingLabelText:$.meetingGoal,value:(this.props.selectedMeetingGoal||this.state.selectedMeetingGoal||{}).identifier,errorText:this.state.errors.selectedMeetingGoal,onChange:function(t,n,o){return e.setState({selectedMeetingGoal:o})}},void 0,g.map(function(e){return R(A.a,{value:e.identifier,primaryText:e.meetingTitle},e.identifier)}))),R("div",{className:p()(a.col,a.s12,a.m6)},void 0,R(b.a,{autoOk:!0,fullWidth:!0,minDate:d,maxDate:f,value:this.state.date,disabled:this.props.isPending,errorText:this.state.errors.date,onChange:function(t,n){return e.setState({date:n})},floatingLabelText:$.date})),_?R("div",{className:p()(a.col,a.s12,a.m6)},void 0,R(T.a,{context:i,searchedItemType:"mentor",selectedItem:this.props.selectedMentor||this.state.selectedMentor,placeholder:O.a.show(j,i.config,c),onSelect:function(t){return e.setState({selectedMentor:t})},disabled:this.props.isPending||!!this.props.selectedMentor,error:this.state.errors.selectedMentor})):R("div",{className:p()(a.col,a.s12,a.m6),style:{paddingTop:"1rem"}},void 0,V.map(function(t){return R(N.a,{item:t,onDeleteClick:e.props.selectedMentees?function(t){return e.setState({selectedMentees:e.state.selectedMentees.filter(function(e){return e._id!==t._id})})}:void 0})}),!this.props.selectedMentees&&R("div",{style:{marginTop:"-1rem "}},void 0,R(T.a,{context:i,searchedItemType:"group"===k?"group":"mentee",placeholder:O.a.show(D,i.config,c),onSelect:function(t){return!e.state.selectedMentees.find(function(e){return e._id===t._id})&&e.setState({selectedMentees:[].concat(o(e.state.selectedMentees),[t])})},disabled:this.props.isPending,error:this.state.errors.selectedMentees}))),R("div",{className:p()(a.col,a.s12,a.m6)},void 0,R(S.a,{floatingLabelFixed:!0,style:{width:"50%"},value:this.state.startHour,disabled:this.props.isPending,errorText:this.state.errors.startHour,hintText:$.hourHint,floatingLabelText:$.startHour,onChange:function(t,n,o){return e.setState({startHour:o,startMinute:e.state.errors.startMinute||0,endHour:((e.state.errors.endHour||o)+1)%24,endMinute:e.state.errors.startMinute||0})}},void 0,L.map(function(e){return R(A.a,{value:e,primaryText:("0"+e).slice(-2)},e)})),R(S.a,{floatingLabelFixed:!0,floatingLabelText:" ",style:{width:"50%"},value:this.state.startMinute,disabled:this.props.isPending,errorText:this.state.errors.startMinute,hintText:": "+$.minuteHint,onChange:function(t,n,o){return e.setState({startMinute:o})}},void 0,B.map(function(e){return R(A.a,{value:e,label:": "+("0"+e).slice(-2),primaryText:("0"+e).slice(-2)},e)}))),R("div",{className:p()(a.col,a.s12,a.m6)},void 0,R(S.a,{floatingLabelFixed:!0,style:{width:"50%"},value:this.state.endHour,disabled:this.props.isPending,errorText:this.state.errors.endHour,hintText:$.hourHint,floatingLabelText:$.endHour,onChange:function(t,n,o){return e.setState({endHour:o})}},void 0,L.map(function(e){return R(A.a,{value:e,primaryText:("0"+e).slice(-2)},e)})),R(S.a,{floatingLabelFixed:!0,floatingLabelText:" ",style:{width:"50%"},value:this.state.endMinute,disabled:this.props.isPending,errorText:this.state.errors.endMinute,hintText:": "+$.minuteHint,onChange:function(t,n,o){return e.setState({endMinute:o})}},void 0,B.map(function(e){return R(A.a,{value:e,label:": "+("0"+e).slice(-2),primaryText:("0"+e).slice(-2)},e)}))),R("div",{className:p()(a.col,a.s12,a.m6)},void 0,R(S.a,{floatingLabelFixed:!0,style:{width:"100%"},value:this.state.locationType,disabled:this.props.isPending,errorText:this.state.errors.locationType,floatingLabelText:$.locationType,onChange:function(t,n,o){return e.setState({locationType:o,location:""})}},void 0,R(A.a,{value:"custom",primaryText:$.locationTypeCustom}),R(A.a,{value:"jitsi",primaryText:$.locationTypeJitsi}),R(A.a,{value:"zoom",primaryText:"Zoom "+(w?"":"("+$.accountNotConnected+")"),disabled:!w}),R(A.a,{value:"google",primaryText:"Google Meet "+(x?"":"("+$.accountNotConnected+")"),disabled:!x}),R(A.a,{value:"microsoftbusiness",primaryText:"Microsoft Teams "+(C?"":"("+$.accountNotConnected+")"),disabled:!C}))),R("div",{className:p()(a.col,a.s12,a.m6)},void 0,R(h.a,{id:"location",type:"text",fullWidth:!0,value:"custom"===this.state.locationType?this.state.location:$.locationAutomatic,disabled:this.props.isPending||"custom"!==this.state.locationType,floatingLabelText:$.location,onChange:function(t){return e.setState({location:t.target.value})}})),z&&R("div",{className:p()(a.col,a.s12,a.centerAlign,a.error),style:{paddingTop:"2rem"}},void 0,z),R("div",{className:p()(a.col,a.s12),style:{paddingTop:"2rem",fontSize:"0.8em"}},void 0,R(M.a,{to:"/settings/general"},void 0,"* ",P.a.build($.timeZoneMessage,{timeZone:R("b",{},void 0,u.timeZone)})))))}}]),t}(u.a.Component);L.defaultProps={isPending:!1,isMeetingCreated:!1,isZoomAuthenticated:!1,isGoogleAuthenticated:!1,isMicrosoftBusinessAuthenticated:!1,error:null,minDate:void 0,maxDate:void 0,meetingGoals:void 0,selectedMentees:void 0,selectedMentor:void 0,selectedMeetingGoal:void 0,isMenteeCreatingMeeting:!1};var U=function(e){return{i18n:e.i18n,account:e.session.account,commonStyle:e.commonStyle,context:e.session.sContext,isMobile:e.runtime.isMobile,settings:e.session.settings,language:e.session.language,isZoomAuthenticated:D.a.isAuthPlatformConnected(e.session.authPlatforms,"zoom"),isGoogleAuthenticated:D.a.isAuthPlatformConnected(e.session.authPlatforms,"google"),isMicrosoftBusinessAuthenticated:D.a.isAuthPlatformConnected(e.session.authPlatforms,"microsoftbusiness"),isMeetingCreated:e.calendar.isMeetingCreated,isPending:e.calendar.isCreateMeetingPending,error:e.calendar.createMeetingError,event:e.calendar.event}},B={createEvent:k.d,resetCreateEvent:k.e};t.a=n.i(c.a)(U,B)(L)},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var i=n(0),r=(n.n(i),n(379)),a=n(235),s=n(32),l=n(101),u=n(42),c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),d=c("br",{}),p=c("br",{}),f=function(e){var t=e.i18n,n=e.config,i=e.language,f=e.userList,m=e.hiddenInfo,g=[].concat(o(f)),h=g.splice(0,1)[0],v=[].concat(o(g));return c("div",{style:l.a.mentorAndMenteeInfoContainer},void 0,"mentor"!==m&&c("div",{className:"col s12 m6"},void 0,c(s.a,{to:"/profile/"+h._id+"?rl=mtr&oid="+n.organisation._id},void 0,c("div",{style:l.a.person},void 0,c(r.a,{user:h}),c("div",{style:l.a.nameAndRole},void 0,c("span",{style:l.a.name},void 0,h.firstName," ",h.lastName),d,c("span",{style:l.a.role},void 0,u.a.show(t.feed.peopleInfo.typeMentor,n,i)))))),"mentee"!==m&&c("div",{className:"col s12 m6"},void 0,v.map(function(e){var o=!e.firstName,d=o?e.title:e.firstName+" "+e.lastName,f=o?t.feed.peopleInfo.typeGroup:t.feed.peopleInfo.typeMentee,m=o?"/groups/"+e._id:"/profile/"+e._id+"?rl=mte&oid="+n.organisation._id;return c(s.a,{to:m},e._id,c("div",{style:l.a.person},void 0,!o&&c(r.a,{user:e}),o&&c(a.a,{group:e}),c("div",{style:l.a.nameAndRole},void 0,c("span",{style:l.a.name},void 0,d),p,c("span",{style:l.a.role},void 0,u.a.show(f,n,i)))))})))};f.defaultProps={hiddenInfo:void 0},t.a=f},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),c=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={},n.handleScroll=n.handleScroll.bind(n),n}return r(t,e),u(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.handleScroll),this.props.onEndReach()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.handleScroll)}},{key:"handleScroll",value:function(){var e="innerHeight"in window?window.innerHeight:document.documentElement.offsetHeight,t=document.body,n=document.documentElement,o=Math.max(t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight);e+window.pageYOffset+this.props.offset>=o&&(this.state.isPending||this.state.isEndReached||this.state.error||this.props.onEndReach())}},{key:"render",value:function(){return l("div",{className:this.props.className},void 0,this.props.children)}}]),t}(s.a.Component);c.defaultProps={offset:0,className:""},t.a=c},function(e,t,n){"use strict";function o(e){var t=e.isActive,n=e.isSmall,o=e.onToggle,i=e.text,s=e.skill,l={border:"1px solid",borderColor:"#dadad8",paddingLeft:"0.5rem",paddingRight:"0.5rem",lineHeight:"1.8rem",fontSize:"0.8rem",whiteSpace:"nowrap",display:"inline-block",borderRadius:"1rem",margin:"0.2rem"};return t&&(l.borderColor="#3498db",l.background="#3498db",l.color="#fff"),o&&(l.cursor="pointer"),n&&(l=a({},l,{paddingLeft:"0.3rem",paddingRight:"0.3rem",lineHeight:"1.2rem",fontSize:"0.7rem",borderRadius:"0.6rem"})),r("div",{style:l,onClick:function(){return o&&o(s)}},void 0,i)}var i=n(0),r=(n.n(i),function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}()),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};o.defaultProps={isActive:!1,isSmall:!1,onToggle:null,skill:null},t.a=o},function(e,t,n){"use strict";function o(e){var t=e.muiTheme,n=e.isLeftNavOpen,o=e.message,i=e.closeAction,r=e.closeActionType,a=e.whiteLabel,s=i;if(!s&&r)switch(r){case"setCookiePrivacyMessageShown":s=function(){d.a.save(d.a.PARAM_PRIVACY_SETTINGS_SHOWN,!0,d.a.getExpires(365)),e.hideStickyMessage()}}var l={bottom:0,right:0,zIndex:"100000",fontSize:"0.9em",textAlign:"center",padding:"1rem 3rem",left:n?256:0,color:a?a.theme.navBarTitleColor:t.palette.alternateTextColor,background:a?a.theme.primaryColor:t.palette.accent1Color,position:"fixed"},c={position:"absolute",top:"0.8rem",right:"0.8rem",color:"white",cursor:"pointer"};return p("div",{style:l},void 0,p("div",{dangerouslySetInnerHTML:{__html:o}}),s&&p(u.a,{style:c,onClick:function(){return s()}}))}var i=n(0),r=(n.n(i),n(3)),a=n(48),s=n.n(a),l=n(325),u=n.n(l),c=n(724),d=n(81),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();o.defaultProps={closeAction:null,closeActionType:null,isLeftNavOpen:!1};var f=function(e){return{message:e.stickyMessage.message,closeAction:e.stickyMessage.closeAction,closeActionType:e.stickyMessage.closeActionType,whiteLabel:e.session.whiteLabel}},m={hideStickyMessage:c.a};t.a=n.i(r.a)(f,m)(s()()(o))},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(36),u=n.n(l),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},d=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),f=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={input:e.value},n}return r(t,e),p(t,[{key:"componentWillReceiveProps",value:function(e){""!==e.value&&this.state.input!==e.value&&this.setState({input:e.value})}},{key:"render",value:function(){var e=this;return d("div",{style:c({display:"flex"},this.props.style)},void 0,d(u.a,{id:"searchInput",type:"text",style:{width:300,marginLeft:"10px"},value:this.state.input,hintText:this.props.placeholder||this.props.i18n.components.userFilterForm.inputPlaceholder,onChange:function(t){e.setState({input:t.target.value}),clearTimeout(e.delayTimer),e.delayTimer=setTimeout(function(){e.props.onTextFilterChange(e.state.input)},500)}}))}}]),t}(s.a.Component);f.defaultProps={style:{},value:"",isPending:!1,placeholder:null},t.a=f},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(26)),r=n.n(i),a=n(34),s=n.n(a),l=n(190),u=n.n(l),c=n(32),d=n(15),p=n(16),f=n(73),m=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},h={card:{marginBottom:"1.5rem",overflow:"hidden",borderRadius:"6px",backgroundColor:"#fff",height:340},content:{display:"flex",padding:"1rem"},logoContainer:{flex:"0 0 64px"},infoContainer:{marginLeft:"1rem"},title:{margin:"0 -1rem 0.5rem 0",fontSize:"1.2em",color:"#555",fontWeight:"bold"},description:{margin:"0",padding:"0",fontSize:"0.8em",lineHeight:"1.4em"},socialIconsContainer:{marginBottom:"1rem"},socialIcon:{height:"1.2rem",margin:"1rem 1rem 0.5rem 0"}},v=function(e){var t=e.context,o=e.group,i=e.trimInfo,a=e.disableLink,l=e.tiny,v=null;o.imageUrl||(v=o.title&&o.title.length>0?o.title[0]:"-");var y=o.linkedInUrl||o.twitterUrl||o.facebookUrl,_=g({},h.card);i&&(_.maxHeight="170px"),l&&(_.maxHeight="48px"),a||(_.cursor="pointer");var b=g({},h.content),w=g({},d.a.logoXL,d.a.logoXLGroup),S=g({},h.logoContainer),x=g({},h.infoContainer),A=g({},h.title);l&&(_.marginBottom=0,b.padding="0.5rem",S.flex="0 0 32px",x.marginLeft="0.5rem",w=g({},d.a.logoS,d.a.logoSGroup),A.margin="2px 0 0 0");var P=null;a||(P="mentor"===o.type?"/"+t.organisation.domain+"/suites/"+o._id:"/"+t.organisation.domain+"/pairs/"+t.organisation._id+"?uid="+o._id+"&&usertype=group");var C=n.i(f.b)(o.imageUrl),k=m("div",{style:b},void 0,m("div",{style:S},void 0,m(u.a,{height:d.a.logoL.heightForLazyLoad,offset:100,once:!0},void 0,m(s.a,{src:C||null,style:w},void 0,v))),m("div",{style:x},void 0,!i&&m("h3",{style:A},void 0,o.title),!l&&m("div",{},void 0,i&&m("h3",{style:h.title},void 0,p.a.trim(o.title,20)),!i&&m("p",{style:h.description},void 0,o.description),o.description&&o.description.length>0&&i&&m("div",{style:h.description},void 0,p.a.trim(o.description,50)),y&&m("div",{},void 0,o.linkedInUrl&&m("a",{href:p.a.externalLink(o.linkedInUrl),target:"_blank",rel:"noopener noreferrer"},void 0,m("img",{style:h.socialIcon,src:"/icons/linkedin.svg",alt:"linkedin"})),o.twitterUrl&&m("a",{href:p.a.externalLink(o.twitterUrl),target:"_blank",rel:"noopener noreferrer"},void 0,m("img",{style:h.socialIcon,src:"/icons/twitter.svg",alt:"twitter"})),o.facebookUrl&&m("a",{href:p.a.externalLink(o.facebookUrl),target:"_blank",rel:"noopener noreferrer"},void 0,m("img",{style:h.socialIcon,src:"/icons/facebook.svg",alt:"facebook"})),o.webSiteUrl&&m("a",{href:p.a.externalLink(o.webSiteUrl),target:"_blank",rel:"noopener noreferrer"},void 0,m("img",{style:h.socialIcon,src:"/icons/web.svg",alt:"facebook"}))))));return m(r.a,{zDepth:1,style:_},void 0,P?m(c.a,{to:P},void 0,k):k)};v.defaultProps={disableLink:!1,tiny:!1},t.a=v},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(34)),r=n.n(i),a=n(15),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u=function(e){var t=e.group,n=null;t.imageUrl||(n=t.title&&t.title.length>0?t.title[0]:"-");var o=l({},a.a.groupLogo);return"large"===e.size?o=l({},o,a.a.logoL):"xxlarge"===e.size?o=l({},o,a.a.logoXXL,a.a.logoXXLGroup):"xxxxlarge"===e.size&&(o=l({},o,a.a.logoXXXXL,a.a.logoXXXXLGroup)),s(r.a,{src:t.imageUrl||null,style:o},void 0,n)};u.defaultProps={size:null},t.a=u},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=(n.n(a),n(18)),l=n.n(s),u=n(34),c=n.n(u),d=n(1438),p=n.n(d),f=n(40),m=n.n(f),g=n(756),h=n(15),v=n(1315),y=n.n(v),_=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},w=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),S=_(m.a,{}),x=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={cropperOpen:!1,img:null,croppedImg:e.imageUrl||null},n}return r(t,e),w(t,[{key:"handleFile",value:function(e){var t=this,n=new FileReader,o=e.target.files[0];o&&(n.onload=function(e){t.handleFileChange(e.target.result)},n.readAsDataURL(o))}},{key:"handleFileChange",value:function(e){this.setState({img:e,croppedImg:this.state.croppedImg,cropperOpen:!0})}},{key:"handleCrop",value:function(e){var t=e.substring(e.indexOf(",")+1);this.props.onImageChange(t),this.setState({cropperOpen:!1,img:null,croppedImg:e})}},{key:"handleRequestHide",value:function(){this.setState({cropperOpen:!1})}},{key:"render",value:function(){var e=this,t="undefined"!=typeof window,n={},o=b({},h.a.logoXXXXL);this.props.isGroupLogo?o=b({},o,h.a.logoXXXXLGroup):this.props.isCover&&(o=b({},o,{borderRadius:3,top:0,right:0,bottom:0,left:0,width:"100%",height:"100%"}),n={width:"100%",height:"100%",borderRadius:3,position:"absolute",top:0,right:0,bottom:0,left:0});var i=this.props.imageWidth,r=this.props.imageHeight;return _("div",{className:y.a.imageInputContainer,style:b({},n,{background:this.props.isCover&&!this.state.croppedImg&&"#aaa",opacity:this.props.isUploadingImage?.5:1})},void 0,_("div",{className:y.a.imageContainer},void 0,_("input",{type:"file",accept:"image/*",className:y.a.input,disabled:this.props.isUploadingImage,onChange:function(t){return e.handleFile(t)}}),this.props.isUploadingImage&&_("div",{className:y.a.progressContainer},void 0,S),!this.props.isUploadingImage&&_("div",{className:y.a.iconContainer},void 0,_(p.a,{style:{color:"whitesmoke",width:"48px",height:"48px"}})),this.props.isCover?_("img",{alt:"",src:this.state.croppedImg||null,style:o}):_(c.a,{src:this.state.croppedImg||null,style:o},void 0,this.state.croppedImg?null:this.props.initials)),_("div",{className:y.a.label},void 0,this.props.i18n.buttonActions.uploadImage),t&&_(g.a,{onRequestHide:function(){return e.handleRequestHide()},cropperOpen:this.state.cropperOpen,onCrop:function(t){return e.handleCrop(t)},image:this.state.img,width:i,height:r,closeButtonLabel:this.props.i18n.buttonActions.cancel,cropButtonLabel:this.props.i18n.buttonActions.save}))}}]),t}(a.Component);x.defaultProps={initials:"",imageUrl:null,isUploadingImage:!1,isGroupLogo:!1,isCover:!1},t.a=l()(y.a)(x)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(39),c=n(54),d=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),f={openPairDetail:"dvn.atama-pairs.open-pair-detail",openPairSelection:"dvn.atama-pairs.open-pair-selection-page",sendMessage:"dvn.atama-pairs.send-message"},m=d("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),g=d("link",{href:"https://unicons.iconscout.com/release/v1.0.0/css/unicons.css",rel:"stylesheet"}),h=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.onOpenPairDetail=function(e){var t=e.detail,n=t.pairId,o=t.userId,i=r.props.context,a="mentee"===i.role?"mentor":"group"===i.config.menteeType?"group":"mentee";u.a.push("/"+r.props.context.organisation.domain+"/pairs/"+n+"?uid="+o+"&&usertype="+a)},r.onSendMessageClick=function(e){var t=e.detail.user;r.props.isMobile?u.a.push("/conversations/wu/"+t._id):r.props.openConversation(t)},r.openPairSelection=function(){u.a.push("/"+r.props.context.organisation.domain+"/pairs/select")},a=n,i(r,a)}return r(t,e),p(t,[{key:"componentDidMount",value:function(){window.addEventListener(f.openPairDetail,this.onOpenPairDetail),window.addEventListener(f.openPairSelection,this.openPairSelection),window.addEventListener(f.sendMessage,this.onSendMessageClick)}},{key:"componentWillUnmount",value:function(){window.removeEventListener(f.openPairDetail,this.onOpenPairDetail),window.removeEventListener(f.openPairSelection,this.openPairSelection),window.removeEventListener(f.sendMessage,this.onSendMessageClick)}},{key:"render",value:function(){var e=this.props.contexts,t=void 0,n=!1;if(e[0].availableRoles)e[0].availableRoles.forEach(function(e){"mentee"===e&&(n=!0),"mentor"===e&&(t=!0)});else{var o=e[0].role;"mentee"===o&&(n=!0),"mentor"===o&&(t=!0)}return d("div",{style:{minHeight:"calc(100vh - 64px)",marginTop:"-1rem"}},void 0,m,g,d("mentornity-pairs-overview-wrapper",{language:this.props.language,"time-zone":this.props.timeZone,"is-mobile":this.props.isMobile,"white-label":JSON.stringify(this.props.whiteLabel),"has-mentor-role":t,"has-mentee-role":n}))}}]),t}(s.a.Component);t.a=n.i(l.a)(function(e){return{context:e.session.sContext,isMobile:e.runtime.isMobile,language:e.session.language,timeZone:e.session.timeZone,whiteLabel:e.session.whiteLabel,contexts:e.session.contexts}},{openConversation:c.d})(h)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(54),c=n(56),d=n(39),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),m={openProfilePage:"dvn.mentornity-user-card-list-wrapper.open-profile-page",openMeetingDetail:"dvn.mentornity-user-card-list-wrapper.open-meeting-page",alertMessageClick:"dvn.mentornity-user-card-list-wrapper.alert-message-click",sendMessage:"dvn.mentornity-user-card-list-wrapper.send-message"},g=p("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),h=p("link",{href:"https://unicons.iconscout.com/release/v1.0.0/css/unicons.css",rel:"stylesheet"}),v=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.openProfilePage=function(e){var t=e.detail.user,n="/"+r.props.context.organisation.domain+"/pairs/"+r.props.context.organisation._id+"?uid="+t._id+"&&usertype="+r.props.userType;window.open(n,"_blank").focus()},r.onOpenMeetingDetail=function(e){var t=e.detail.meetingId;d.a.push("/events/"+t)},r.onOpenCreateGroupPage=function(e){r.props.onOpenCreateGroupPageClick()},r.onSendMessageClick=function(e){var t=e.detail.user;r.props.isMobile?d.a.push("/conversations/wu/"+t._id):r.props.openConversation(t)},a=n,i(r,a)}return r(t,e),f(t,[{key:"componentDidMount",value:function(){window.addEventListener(m.openProfilePage,this.openProfilePage),window.addEventListener(m.openMeetingDetail,this.onOpenMeetingDetail),window.addEventListener(m.alertMessageClick,this.onOpenCreateGroupPage),window.addEventListener(m.sendMessage,this.onSendMessageClick)}},{key:"componentWillUnmount",value:function(){window.removeEventListener(m.openProfilePage,this.openProfilePage),window.removeEventListener(m.openMeetingDetail,this.onOpenMeetingDetail),window.removeEventListener(m.alertMessageClick,this.onOpenCreateGroupPage),window.removeEventListener(m.sendMessage,this.onSendMessageClick)}},{key:"render",value:function(){var e=this.props,t=e.context,n=e.language,o=e.timeFormat,i=e.timeZone,r=e.userType,a=e.dateFormat,s=e.showGoProfileAction;return p("div",{style:{height:"calc(100vh - 20px)",margin:"-1rem -0.25rem 0 -0.25rem"}},void 0,g,h,p("mentornity-user-card-list-wrapper",{language:n,"time-format":o,"time-zone":i,"date-format":a,"is-zoom-authenticated":this.props.isZoomAuthenticated,"is-google-authenticated":this.props.isGoogleAuthenticated,"is-microsoft-businesss-authenticated":this.props.isMicrosoftBusinessAuthenticated,"organisation-id":t.organisation._id,"group-id":t.group?t.group._id:void 0,"is-mobile":this.props.isMobile,"viewed-user-role":r,"alert-action-label":this.props.alertActionLabel,"alert-message":this.props.alertMessage,"show-go-profile-action":s}))}}]),t}(s.a.Component);t.a=n.i(l.a)(function(e){return{context:e.session.sContext,isMobile:e.runtime.isMobile,isZoomAuthenticated:c.a.isAuthPlatformConnected(e.session.authPlatforms,"zoom"),isGoogleAuthenticated:c.a.isAuthPlatformConnected(e.session.authPlatforms,"google"),isMicrosoftBusinessAuthenticated:c.a.isAuthPlatformConnected(e.session.authPlatforms,"microsoftbusiness"),language:e.session.language,timeZone:e.session.timeZone,timeFormat:e.session.timeFormat,dateFormat:e.session.dateFormat}},{openConversation:u.d})(v)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){for(var n={},o=0;o<e.length;o+=1){for(var i=e[o],r={},a=0;a<t.length;a+=1)for(var s=t[a],l=s.guests,u=0;u<l.length;u+=1)if(l[u]._id===i._id){r[s.meetingGoalIdentifier]?r[s.meetingGoalIdentifier].push(s):r[s.meetingGoalIdentifier]=[s];break}n[i._id]=r}return n}var s=n(0),l=n.n(s),u=n(12),c=n.n(u),d=n(3),p=n(18),f=n.n(p),m=n(40),g=n.n(m),h=n(1448),v=n.n(h),y=n(1449),_=n.n(y),b=n(61),w=n.n(b),S=n(52),x=(n.n(S),n(42)),A=n(303),P=n.n(A),C=n(194),k=n(43),M=n(770),T=n(771),O=n(54),E=n(67),I=n(115),N=n(64),D=n(29),j=n(39),R=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),F=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),L=R(g.a,{}),U=R(g.a,{}),B=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={shownUIType:"list",pairViewKey:1},r.onCreateMeetingClick=function(e){var t=e.detail,n=t.goal,o=t.user,i=r.props.role;r.setState({isCreateMeetingFormShown:!0,selectedPeriodStartDate:n.periodStartDate&&new Date(1e3*n.periodStartDate),selectedPeriodEndDate:n.periodEndDate&&new Date(1e3*n.periodEndDate),selectedMeetingGoal:n,selectedSubscriber:"mentor"===i?o:void 0,selectedMentor:"mentee"===i?o:void 0})},r.onSendMessageClick=function(e){var t=e.detail.user;r.props.openConversation(t)},r.onViewUserClick=function(e){var t=e.detail.user;j.a.push("/profile/"+t._id+"/info?rl="+("mentor"===r.props.userType?"mtr":"mte"))},a=n,i(r,a)}return r(t,e),F(t,[{key:"componentDidMount",value:function(){this.fetchData()}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.props.isMentorsInvalidated&&!e.isMentorsInvalidated?this.fetchSubscribedUsers():this.fetchData(),e.isPendingSubscriptionAction&&!this.props.isPendingSubscriptionAction){var n=this.props.i18n,o=n.components.meetingGoals.formForwardingDialog,i=this.props.subscriptionActionResponse,r=i.form,a=i.formResponse;r&&a?this.props.showMessageDialog(o.title,o.message,o.fillForm,function(){window.location="/"+t.props.context.organisation.domain+"/forms/"+r._id+"/responses/"+a._id}):this.props.hideDialog()}}},{key:"componentWillUnmount",value:function(){"mentor"!==this.props.userType&&this.props.resetMentees()}},{key:"onEndSubscriptionClick",value:function(e){var t=this,n=this.props.i18n,o=n.components.meetingGoals;this.props.showMessageDialog(o.endSubscriptionDialog.title,o.endSubscriptionDialog.message,o.endSubscriptionDialog.endSubscription,function(){return t.onConfirmEndSubscription(e)})}},{key:"onConfirmEndSubscription",value:function(e){var t=e.subscription;this.props.completeSubscription(t._id)}},{key:"fetchData",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.props,n=t.subscribedUsers,o=t.meetingsInMeetingGoal,i=t.isPending,r=t.error;n||i||r&&!e||this.fetchSubscribedUsers(),n&&n.length>0&&!o&&!i&&!r&&this.fetchMeetings()}},{key:"fetchSubscribedUsers",value:function(){"mentor"===this.props.userType?this.props.fetchMentors(this.props.context.organisation._id,"",[],0,{appendSubscription:!0}):this.props.fetchMentees(this.props.context.organisation._id,"",[],0,{appendSubscription:!0})}},{key:"fetchMeetings",value:function(){var e=this.props.context;this.props.fetchMeetingsInMeetingGoal(e.organisation.domain)}},{key:"renderBody",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.commonStyle,r=t.subscribedUsers,s=t.userType,l=t.role,u=t.meetingsInMeetingGoal,c=t.account,d=u?a(r,u):{};if("table"===this.state.shownUIType)return R(T.a,{i18n:n,context:o,meetingsByUsers:d,onCreateMeetingClick:function(t,n){return e.setState({isCreateMeetingFormShown:!0,selectedPeriodStartDate:t.periodStartDate&&new Date(1e3*t.periodStartDate),selectedPeriodEndDate:t.periodEndDate&&new Date(1e3*t.periodEndDate),selectedMeetingGoal:t,selectedSubscriber:"mentor"===l?n:void 0,selectedMentor:"mentee"===l?n:void 0})},role:l,subscribedUsers:r,account:c});var p=o.config,f=p.subscriptionConfig,m=p.subscriptionConfigEnabled,g=!1;return m&&f&&"mentee"!==l&&(g=f.mentorsCanEndSubscription),R(M.a,{i18n:n,context:o,commonStyle:i,meetingsByUsers:d,onCreateMeetingClick:function(t,n){return e.setState({isCreateMeetingFormShown:!0,selectedPeriodStartDate:t.periodStartDate&&new Date(1e3*t.periodStartDate),selectedPeriodEndDate:t.periodEndDate&&new Date(1e3*t.periodEndDate),selectedMeetingGoal:t,selectedSubscriber:"mentor"===l?n:void 0,selectedMentor:"mentee"===l?n:void 0})},role:l,onEndSubscriptionClick:g?function(t){return e.onEndSubscriptionClick(t)}:void 0,subscribedUsers:r,userType:s,account:c})}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.commonStyle,r=t.subscribedUsers,a=t.role,s=t.classUser,l=t.meetingsInMeetingGoal,u=t.isPending,d=t.error,p=t.language,f=t.subscriptionRequestCount,m=o.meetingGoalConfig,g=this.state,h=g.isCreateMeetingFormShown,y=g.selectedPeriodStartDate,b=g.selectedPeriodEndDate,A=g.selectedMentor,M=g.selectedSubscriber,T=g.selectedMeetingGoal,O=o.config,E=O.subscriptionConfig,I=O.subscriptionConfigEnabled,N=E.processStartType,D=!1;D="startOnApproval"===N?0!==E.menteeSelectionLimit&&f===E.menteeSelectionLimit:0!==E.menteeSubscriptionLimit&&f===E.menteeSubscriptionLimit;var j=n.components.meetingGoals.subscriptionsEmptyMessage;I&&E&&(j="mentee"===a?D?n.components.meetingGoals.waitingForMentorsApproval:n.components.meetingGoals.selectMentorsFromOtherTab:n.components.meetingGoals.beingSelectedByMentees);var F=r&&0===r.length;return r?R("div",{className:P.a.meetingGoals},void 0,F&&R("div",{className:c()(P.a.col,P.a.s12)},void 0,R(k.a,{message:x.a.show(j,O,p)})),u&&!l&&R("div",{className:c()(P.a.col,P.a.s12),style:{textAlign:"center"}},void 0,U),!u&&l&&!F&&R("div",{},void 0,R("div",{className:i.hideOnSmallAndDown,style:{display:"flex",alignItems:"center"}},void 0,R(w.a,{tooltip:n.components.meetingGoals.showAsList,onTouchTap:function(){return e.setState({shownUIType:"list"})}},void 0,R(v.a,{color:"list"===this.state.shownUIType?S.accent1Color:S.gray500})),R("div",{style:{color:S.gray500}},void 0,"|"),R(w.a,{tooltip:n.components.meetingGoals.showAsTable,onTouchTap:function(){return e.setState({shownUIType:"table"})}},void 0,R(_.a,{color:"table"===this.state.shownUIType?S.accent1Color:S.gray500}))),this.renderBody()),d&&!u&&R("div",{className:c()(P.a.col,P.a.s12)},void 0,R(k.a,{message:n.components.meetingGoals.fetchMeetingsError,actionLabel:n.buttonActions.retry,onActionClick:function(){return e.fetchData(!0)}})),R(C.a,{i18n:n,mentorship:o.mentorship,maxDate:b,minDate:y,isShown:h,selectedMentees:M?[M]:[],selectedMentor:A,selectedMeetingGoal:T,isMenteeCreatingMeeting:"mentee"===a,meetingGoals:m.meetingGoals,hideDialog:function(){return e.setState({isCreateMeetingFormShown:!1})},classUser:s})):R("div",{className:c()(P.a.col,P.a.s12,P.a.centerAlign),style:{marginTop:"1rem"}},void 0,L)}}]),t}(l.a.Component);B.defaultProps={error:void 0,isPending:!1,isMentorsInvalidated:!1,meetingsInMeetingGoal:void 0,subscribedUsers:void 0,subscriptionActionResponse:void 0,subscriptionRequestCount:0,users:void 0};var Z=function(e,t){var n="mentor"===t.userType,o=void 0,i=!1,r=0,a=void 0;return n?(o=t.users?t.users:e.users.mentors&&e.users.mentors.map(function(t){return(e.users.usersById||{})[t]}).filter(function(e){return e.subscription&&"requested"===e.subscription.status&&(r+=1),!e.subscription||"active"===e.subscription.status}),i=e.users.isPendingMentors,a=e.users.fetchMentorError):(o=t.users?t.users:e.users.mentees&&e.users.mentees.map(function(t){return(e.users.usersById||{})[t]}).filter(function(e){return e.subscription&&"requested"===e.subscription.status&&(r+=1),!e.subscription||"active"===e.subscription.status}),i=e.users.isPendingMentees,a=e.users.fetchMenteeError),{i18n:e.i18n,commonStyle:e.commonStyle,subscribedUsers:o,role:e.session.sContext.role,isMentorsInvalidated:e.users.isMentorsInvalidated,account:e.session.account,error:e.calendar.meetingsInMeetingGoalError||a,isPending:e.calendar.isMeetingsInMeetingGoalPending||i,meetingsInMeetingGoal:e.calendar.meetingsInMeetingGoal,language:e.session.language,isPendingSubscriptionAction:e.users.isPendingSubscriptionAction,subscriptionActionResponse:e.users.subscriptionActionResponse,subscriptionRequestCount:r,isRightNavOpen:e.nav.isRightNavOpen}},Y={fetchMeetingsInMeetingGoal:E.c,fetchMentees:I.a,resetMentees:I.b,fetchMentors:I.c,showMessageDialog:N.b,completeSubscription:D.d,hideDialog:N.a,openConversation:O.d};t.a=n.i(d.a)(Z,Y)(f()(P.a)(B))},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(3)),r=n(306),a=n.n(r),s=n(33),l=n(32),u=n(241),c=n(365),d=n(772),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},m=function(e,t){for(var n=0;n<t.length;n+=1)if(t[n].firstName){if(t[n]._id===e._id)return!0}else if(t[n].members)for(var o=0;o<t[n].members.length;o+=1)if(t[n].members[o]._id===e._id)return!0;return!1},g=p("br",{}),h=p("br",{}),v=p("br",{}),y=function(e){var t=e.i18n,n=e.context,o=e.account,i=e.event,r=e.profileId,y=e.group,_=e.showNotesTitle,b=e.removeMargins,w=e.removeMarginsCompletely,S=y?y._id:null,x=new Date(1e3*i.startDate),A=new Date(1e3*i.endDate),P=s.a.format(x,"DD"),C=s.a.format(x,"MMM"),k=s.a.format(x,"dddd"),M=s.a.format(x,"HH:mm"),T=s.a.format(A,"HH:mm"),O=m(o,i.guests),E=void 0;i.location&&i.location.address&&(E=i.location.type&&"custom"!==i.location.type?"@"+t.components.meetingSummaryItem.location[i.location.type]:"@"+i.location.address);var I=f({},u.a.dayInfo,u.a.leftInfo);"canceled"===i.status&&(I=f({},I,u.a.dayInfoCanceled));var N=f({},u.a.card);w?N.margin="0rem":b&&(N.margin="0.3rem");var D=s.a.getMeetingGoalTitle(n,i);return p(a.a,{style:N},void 0,!_&&p(l.a,{to:"/events/"+i._id},void 0,p("div",{style:u.a.topInfo},void 0,p("div",{style:I},void 0,p("span",{style:u.a.dayNumber},void 0,P),g,p("span",{},void 0,C)),p("div",{style:u.a.timeInfo},void 0,D&&p("b",{},void 0,D,h),p("span",{style:u.a.dayName},void 0,k," ",M," - ",T),E&&v,E&&p("span",{style:u.a.sessionInfo},void 0,E," ")))),_&&p("div",{style:f({},u.a.topInfo,{flexDirection:"column",alignItems:"flex-start"})},void 0,p("div",{style:f({},u.a.dayInfo,u.a.leftInfo,{paddingBottom:"0.5rem"})},void 0,t.components.meetingSummaryItem.notesTitle),p("div",{style:u.a.noteInfo},void 0,t.components.meetingSummaryItem.notesInfo," ")),(i.notes&&i.notes.length>0||O)&&p("div",{style:u.a.notes},void 0,(i.notes||[]).map(function(e,t){return p(d.a,{note:e,event:i,profileId:r,groupId:S},e._id||t)}),O&&p(c.a,{event:i,profileId:r,groupId:S})))};y.defaultProps={group:null,profileId:null,showNotesTitle:!1,removeMargins:!1,removeMarginsCompletely:!1};var _=function(e){return{i18n:e.i18n,account:e.session.account,context:e.session.sContext}};t.a=n.i(i.a)(_)(y)},function(e,t,n){"use strict";var o=n(52);n.n(o);t.a={card:{borderRadius:"6px",backgroundColor:"#fff",margin:"0 0.5rem 1.5rem 0.5rem"},topInfo:{borderTopLeftRadius:"6px",borderTopRightRadius:"6px",display:"flex"},leftInfo:{textAlign:"center",padding:"1rem",display:"inline-block"},rightInfo:{display:"inline-block"},contentContainer:{marginTop:"-0.8rem"},dayInfo:{display:"inline-block",verticalAlign:"middle",fontWeight:"bold",color:o.accent1Color},dayInfoCanceled:{color:o.error},dayNumber:{fontSize:"1.6em",lineHeight:"1em"},timeInfo:{display:"inline-block",padding:"1rem 1rem 1rem 0rem",verticalAlign:"middle"},dayName:{},sessionInfo:{color:"#aaa"},notes:{backgroundColor:"#f2f2f2",borderBottomLeftRadius:"6px",borderBottomRightRadius:"6px",paddingBottom:"1rem"},note:{padding:"1rem 0 0 0",position:"relative",display:"flex"},notePrivate:{background:"#212121",color:"#F5F5F5"},noteInfo:{padding:"0 1rem 1rem 1rem",verticalAlign:"middle",fontSize:"0.9em"},avatarContainer:{paddingTop:0},editButton:{position:"absolute",top:"1rem",right:"1rem",cursor:"pointer",width:20,height:20},noteInputContainer:{width:"100%",verticalAlign:"top",paddingRight:"1rem"},toggleContainer:{margin:"0.5rem 0 0 0"},privateNoteDescription:{fontSize:"0.8em",margin:"1.5rem 1rem 1rem 0"}}},function(e,t,n){"use strict";var o=n(0),i=n.n(o),r=n(317),a=(n.n(r),n(804)),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),u={fontFamily:"Figtree",fontSize:"1em"},c=function(e){return l(a.a,{isTabsHidden:e.isTabsHidden,value:e.selectedTab,onChange:e.onChange,tabWidth:e.tabWidth,tabItemContainerStyle:{},contentContainerStyle:{paddingTop:"1rem",minHeight:"83vh"}},void 0,e.tabs.map(function(t){var n={isActive:t.value===e.selectedTab},o=i.a.Children.map(t.content,function(e){return i.a.cloneElement(e,n)});return l(r.Tab,{label:t.label,value:t.value,style:s({},u,{width:e.tabWidth+"px"})},t.value,o)}))};c.defaultProps={tabWidth:120,isTabsHidden:!1},t.a=c},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(61),u=n.n(l),c=n(1459),d=n.n(c),p=n(801),f=n(197),m=n(52),g=(n.n(m),n(912)),h=(n.n(g),function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}()),v=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),y=h(d.a,{}),_=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={isShown:!1},a=n,i(r,a)}return r(t,e),v(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.showBadge,i=t.userType,r=t.config,a=t.defaultFilter,s=t.onFilter;return h("div",{style:{display:"flex",alignItems:"center",position:"relative"}},void 0,r.profileFieldVisibilities[i].skills?h(u.a,{tooltip:n.components.userSkillFilterForm.tooltip,onTouchTap:function(){return e.setState({isShown:!0})}},void 0,y):null,o&&a.length>0?h("div",{style:{position:"absolute",minWidth:"1.1rem",height:"1.1rem",background:m.accent1Color,color:"white",top:1,right:5,borderRadius:10,textAlign:"center",fontSize:"0.8em",zIndex:1}},void 0,a.length):h("div",{},void 0,a.map(function(e){return h(f.a,{skill:e,text:n.skills[e]||e},e)})),h(p.a,{i18n:n,onFilter:function(t){s(t),e.setState({isShown:!1})},onCancel:function(){return e.setState({isShown:!1})},defaultFilter:a,isShown:this.state.isShown}))}}]),t}(s.a.Component);_.defaultProps={defaultFilter:[],showBadge:!1},t.a=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=(n.n(o),n(846)),r=n(845),a=n(38),s=n(80),l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),u=l(i.a,{});t.default={default:{path:"/conversations",action:function(e){var t=e.store,n=e.path,o=t.getState(),i=o.i18n,r=o.session.sContext,c=o.session.account;return r&&c?{title:i.pages.conversations.title,component:l(a.a,{path:n},void 0,u)}:{status:401,title:"Unauthorized",component:l(a.a,{},void 0,l(s.a,{error:{code:401,message:"Unauthorized"},path:n}))}}},conversation:{path:"/conversations/:conversationId",action:function(e){var t=e.store,n=e.path,o=e.params,i=t.getState(),u=i.i18n,c=i.session.sContext,d=i.session.account;return c&&d?{title:u.pages.conversations.title,component:l(a.a,{path:n},void 0,l(r.a,{conversationId:o.conversationId}))}:{status:401,title:"Unauthorized",component:l(a.a,{},void 0,l(s.a,{error:{code:401,message:"Unauthorized"},path:n}))}}},conversationWithUser:{path:"/conversations/wu/:otherUserId",action:function(e){var t=e.store,n=e.path,o=e.params,i=t.getState(),u=i.i18n,c=i.session.sContext,d=i.session.account;return c&&d?{title:u.pages.conversations.title,component:l(a.a,{path:n},void 0,l(r.a,{userId:o.otherUserId}))}:{status:401,title:"Unauthorized",component:l(a.a,{},void 0,l(s.a,{error:{code:401,message:"Unauthorized"},path:n}))}}}}},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(877)),a=n(38),s=n(21),l=n(247),u=n(80),c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),d=function(){var e=o(regeneratorRuntime.mark(function e(t){var o,i,d,p,f,m,g,h,v,y,_,b,w,S,x,A;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.api,i=t.next,d=t.params,p=t.store,f=t.path,e.prev=1,m=p.getState(),g=m.session,h=d.domain,v=d.subRoute,y=d.subRouteSection,e.next=9,n.i(l.a)(o,p,g,h);case 9:if(_=e.sent,"welcome"!==v){e.next=16;break}if("anonymous"!==_.role){e.next=13;break}return e.abrupt("return",{redirect:"/"+_.organisation.domain});case 13:p.dispatch({type:s.h,payload:{isOpen:!1}}),e.next=26;break;case 16:if("sso"!==v){e.next=26;break}return e.next=19,o.getOrganisationSAMLConfig(h);case 19:if(b=e.sent,(w=b.samlConfiguration)&&w._id){e.next=23;break}return e.abrupt("return",{component:c(a.a,{path:f},void 0,c(u.a,{error:{code:400,title:"SSO Not configured",message:"There is no SSO setup for this program."},path:"/"+h+"/"+v}))});case 23:return S=w._id,x=m.runtime.kimlikAPIEndpoint,e.abrupt("return",{redirect:x+"/mentornity/saml-configs/"+S+"/login"});case 26:if(g.isLoggedIn||!v||_.config.routes.anonymous.includes(v)&&"mentees"!==v||y){e.next=29;break}return A={code:401},e.abrupt("return",{component:c(a.a,{path:f},void 0,c(u.a,{error:A,path:"/"+h+"/"+v}))});case 29:return e.abrupt("return",{title:_.organisation.title,component:c(a.a,{path:f},void 0,c(r.a,{staticContext:"anonymous"===_.role?_:null,subRoute:v,subRouteSection:y}))});case 32:return e.prev=32,e.t0=e.catch(1),e.abrupt("return",i());case 35:case"end":return e.stop()}},e,this,[[1,32]])}));return function(t){return e.apply(this,arguments)}}();t.default={default:{path:"/:domain",action:d},subRoute:{path:"/:domain/:subRoute",action:d},subRouteSection:{path:"/:domain/:subRoute/:subRouteSection",action:d}}},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(889)),a=n(38),s=n(80),l=n(103),u=n(768),c=n(12),d=n.n(c),p=n(247),f=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),m=function(){var e=o(regeneratorRuntime.mark(function e(t){var o,i,c,m,g,h,v,y,_,b,w=t.params,S=t.store,x=t.path,A=t.query,P=t.api;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o=S.getState(),i=o.session,c=A.oid,m=o.users.usersById&&o.users.usersById[w.id],g=m&&m.firstName+" "+m.lastName,h=w.domain,e.next=9,n.i(p.a)(P,S,i,h,c);case 9:if(v=e.sent,y=v&&v.config&&n.i(l.e)(v.config)&&"mtr"===A.rl,_=v&&v.config&&n.i(l.d)(v.config)&&"mte"===A.rl,!y&&!_){e.next=15;break}return b=o.commonStyle||{},e.abrupt("return",{title:g,component:f(a.a,{path:x},void 0,f("div",{className:d()(b.container)},void 0,f("div",{className:b.row,style:{marginBottom:0}},void 0,f("div",{className:d()(b.col,b.s12,b.m8,b["offset-m2"])},void 0,f(u.a,{userToViewId:w.id,userToViewRole:"mtr"===A.rl?"mentor":"mentee"})))))});case 15:return e.abrupt("return",{title:g,component:f(a.a,{path:x},void 0,f(r.a,{rl:A.rl,lean:"true"===A.lean,profile:m,profileId:w.id,organisationId:c,subRoute:w.subRoute,action:w.action}))});case 18:return e.prev=18,e.t0=e.catch(0),e.abrupt("return",{title:"Error",component:f(a.a,{},void 0,f(s.a,{error:e.t0}))});case 21:case"end":return e.stop()}},e,this,[[0,18]])}));return function(t){return e.apply(this,arguments)}}();t.default={default:{path:"/profile/:id",action:m},subRoute:{path:"/profile/:id/:subRoute",action:m},subRouteWithAction:{path:"/profile/:id/:subRoute/:action",action:m}}},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}function i(e,t,n){t.sContext&&t.sContext.organisation._id===n.organisation._id||e.dispatch({type:r.u,payload:{context:n}})}var r=n(21);n.d(t,"a",function(){return a});var a=function(){var e=o(regeneratorRuntime.mark(function e(t,n,o,r,a){var s,l,u,c;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(null==o.sContext||o.sContext.organisation.domain!==r){e.next=2;break}return e.abrupt("return",o.sContext);case 2:if(null==o.sContext||o.sContext.organisation._id!==a){e.next=4;break}return e.abrupt("return",o.sContext);case 4:if(s=void 0,!a){e.next=11;break}return e.next=8,t.getOrganisation(a);case 8:s=e.sent,e.next=18;break;case 11:if(!r){e.next=17;break}return e.next=14,t.getOrganisationWithDomain(r);case 14:s=e.sent,e.next=18;break;case 17:return e.abrupt("return",void 0);case 18:if(o.account){e.next=25;break}return l={role:"anonymous",organisation:s},e.next=22,t.getOrganisationConfig(l.organisation._id);case 22:return l.config=e.sent,i(n,o,l),e.abrupt("return",l);case 25:return e.prev=25,e.next=28,t.getSessionData(o.whiteLabelDomain,!0,s._id);case 28:return u=e.sent,c=u.contexts[0],i(n,o,c),e.abrupt("return",c);case 34:if(e.prev=34,e.t0=e.catch(25),!s){e.next=38;break}return e.abrupt("return",{role:"anonymous",organisation:s});case 38:case"end":return e.stop()}},e,this,[[25,34]])}));return function(t,n,o,i,r){return e.apply(this,arguments)}}()},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var o=n(1179),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1185),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function o(e){return{type:a.d,payload:{url:e}}}function i(e){return{type:a.e,payload:{minimized:e}}}function r(e){return{type:a.f,payload:{hasReadBrowserMessage:e}}}var a=n(21);t.a=o,t.b=i,t.c=r},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(17),c=n.n(u),d=n(40),p=n.n(d),f=n(39),m=n(42),g=n(73),h=n(67),v=n(43),y=n(358),_=n(737),b=n(194),w=n(15),S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},x=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),A=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),P=A(p.a,{}),C=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isCreateAvailabilityDialogShown:!1,isCreateMeetingDialogShown:!1},n}return r(t,e),x(t,[{key:"componentDidMount",value:function(){this.fetchDataIfNeeded()}},{key:"componentDidUpdate",value:function(){this.fetchDataIfNeeded()}},{key:"onClickCreateGroup",value:function(){f.a.push("/"+this.props.context.organisation.domain+"/groups/create")}},{key:"fetchDataIfNeeded",value:function(){var e=this.props,t=e.context,n=e.isActive,o=e.profile,i=e.availabilities,r=e.isAvailabilitiesInvalidated,a=e.isPendingAvailabilities,s=e.availabilitiesError;n&&(i&&!r||a||s||this.props.fetchAvailabilities(t.organisation._id,o._id))}},{key:"hideAvailabilityDialog",value:function(){this.setState({isCreateAvailabilityDialogShown:!1}),this.props.openAvailabilityForm&&f.a.push("/profile/"+this.props.profile._id+"/availabilities?rl=mtr")}},{key:"hideCreateMeetingDialog",value:function(){this.setState({isCreateMeetingDialogShown:!1}),this.props.openCreateMeetingForm&&f.a.push("/profile/"+this.props.profile._id+"/availabilities?rl=mtr")}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.account,r=t.profile,a=t.mentorship,s=t.subscription,l=t.availabilities,u=t.isPendingMeetings,d=t.isPendingAvailabilities,p=t.openAvailabilityForm,f=t.openCreateMeetingForm,h=t.showCreateAvailabilityButton,x=t.hideEmptyMessage,C=i._id===r._id,k=h&&C&&o.config.meetingSettings.mentorsCanCreateAvailability,M="mentee"===o.role&&g.a.getMeetingDisableReason(o,i,a,s),T=null;switch(M){case"subscriptionNeeded":T=null;break;case"groupNeeded":T=n.pages.calendar.createMeetingNotAllowedBecauseOfNoGroup;break;case"generalRules":T=n.pages.calendar.createMeetingNotAllowedGenerally;break;case"specificRules":T=n.pages.calendar.createMeetingNotAllowedForMentorship;break;default:T=null}null!=T&&(T=m.a.show(T,o.config));var O=!x&&m.a.show(C?n.components.availabilityTable.noAvailabilityOwn:n.components.availabilityTable.noAvailability,o.config),E=p||this.state.isCreateAvailabilityDialogShown,I=f||this.state.isCreateMeetingDialogShown;return T?A("div",{style:{paddingBottom:"1rem"}},void 0,T&&A(v.a,{message:T,onActionClick:function(){return e.onClickCreateGroup()},actionLabel:"groupNeeded"===M?m.a.show(n.pages.calendar.createGroup,o.config):null})):A("div",{style:{paddingBottom:"1rem"}},void 0,T&&A(v.a,{message:T,onActionClick:function(){return e.onClickCreateGroup()},actionLabel:"groupNeeded"===M?m.a.show(n.pages.calendar.createGroup,o.config):null}),(u||d)&&!l&&A("div",{style:{textAlign:"center"}},void 0,P),l&&A(y.a,{i18n:n,account:i,context:o,mentor:r,mentorship:a,emptyMessage:O,availabilities:l,dayLimit:360,subscription:s}),k&&A("div",{style:{margin:"1rem 0",textAlign:"center"}},void 0,A(c.a,{label:n.components.availabilityTable.createAvailability,secondary:!0,onClick:function(){return e.setState({isCreateAvailabilityDialogShown:!0})},style:S({},w.a.roundedButtonContainer,{marginRight:"1rem"}),buttonStyle:w.a.roundedButton})),C&&E&&A(_.a,{isShown:!0,i18n:n,mentorship:a,hideDialog:function(){return e.hideAvailabilityDialog()}}),C&&I&&A(b.a,{isShown:!0,i18n:n,mentorship:a,hideDialog:function(){return e.hideCreateMeetingDialog()}}))}}]),t}(s.a.Component);C.defaultProps={meetings:null,meetingsError:null,availabilities:null,availabilitiesError:null,openAvailabilityForm:!1,openCreateMeetingForm:!1,isAvailabilitiesInvalidated:!1,showCreateAvailabilityButton:!1,hideEmptyMessage:!1,subscription:void 0};var k=function(e,t){var n=t.profile._id,o=e.calendar.availabilitiesByMentors[n]||{};return{i18n:e.i18n,isPendingMeetings:e.calendar.isUpcomingMeetingsPending,availabilities:o.availabilities,availabilitiesError:o.error,isPendingAvailabilities:o.isPending||!1,isAvailabilitiesInvalidated:o.isInvalidated||!1}},M={fetchAvailabilities:h.n};t.a=n.i(l.a)(k,M)(C)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){var t="";return t="@"+e.location.address,"jitsi"===e.location.type?t="@Jitsi Meet":"zoom"===e.location.type?t="@Zoom":"google"===e.location.type?t="@Google Meet":"microsoftbusiness"===e.location.type&&(t="@Microsoft Teams"),t.length>1?t:""}var s=n(0),l=n.n(s),u=n(3),c=n(1441),d=n.n(c),p=n(17),f=n.n(p),m=n(33),g=n(67),h=n(64),v=n(54),y=n(73),_=n(42),b=n(395),w=n(43),S=n(734),x=n(32),A=n(15),P=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),C=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),k=P("br",{}),M=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),C(t,[{key:"onDeleteClick",value:function(e){var t=this,n=this.props.i18n;if(e.eventList&&e.eventList.length>0)return void this.props.showMessageDialog(null,n.components.availabilityTable.eventsNeedToBeCanceledForDelete,n.buttonActions.ok,function(){return t.props.hideDialog()},!1);this.props.showAlertDialog(n.components.availabilityTable.sureToDeleteAvailabilityTitle,n.components.availabilityTable.sureToDeleteAvailability,n.buttonActions.delete,function(){t.props.deleteAvailability(e.availability),t.props.hideDialog()})}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.account,r=t.mentorship,s=(t.dayInfo,t.eventAndSlotInfoForDay),l=t.isDeleteEnabled,u=t.mentor,c=t.isDisabled,p=y.a.getMeetingDisableReason(o,i,r),f=null;switch(p){case"subscriptionNeeded":f=null;break;case"generalRules":f=n.pages.calendar.createMeetingNotAllowedGenerally;break;case"specificRules":f=n.pages.calendar.createMeetingNotAllowedForMentorship;break;default:f=null}null!=f&&(f=_.a.show(f,o.config));var g={day:{},dayInfo:{fontSize:"1.4em",lineHeight:"1.4em",position:"relative",paddingBottom:"0.8rem"},location:{color:"#999",fontSize:"0.8em",lineHeight:"1.2em"},dayRowContainer:{position:"relative",marginBottom:"1.5rem"},deleteButton:{right:0,top:"0",position:"absolute",cursor:"pointer",width:"5rem"}},h=new Date;return P("div",{style:g.day},void 0,f&&P("p",{style:{textAlign:"center"}},void 0,f),s.dayData.availabilities.map(function(t){var n=m.a.format(new Date(1e3*t.availability.startDate),"D MMM ddd");return"MM/DD/YYYY"===m.a.dateFormat&&(n=m.a.format(new Date(1e3*t.availability.startDate),"MMM D ddd")),P("div",{style:g.dayRowContainer},t.availability._id,P("div",{style:g.dayInfo},void 0,P("b",{},void 0,n),k,P("div",{style:g.location},void 0,a(t.availability))),l&&h.getTime()<1e3*t.availability.startDate&&P(d.a,{style:g.deleteButton,onClick:function(){return e.onDeleteClick(t)}}),P(S.a,{account:i,mentor:u,context:o,isDisabled:c,availability:t.availability,mentorship:t.availability.mentorship,availableTimeSlots:t.timeSlots,eventList:t.eventList}))}))}}]),t}(l.a.Component);M.defaultProps={isDisabled:!1};var T=function(e){for(var t=e.i18n,n=e.context,o=e.account,i=e.mentorship,r=e.meetings,a=e.subscription,s=e.availabilities,l=e.dayLimit,u=e.firstDayOfWeek,c=e.emptyMessage,d=e.mentor,p=e.isDisabled,g=e.isPending,h=e.isMobile,v=e.deleteAvailability,y=e.showMessageDialog,_=e.showAlertDialog,S=m.a.getCalendarDataWithBundle(r,s,l,u),C=S.headerDayInfo,k=S.eventAndSlotInfoForWeek,T=!1,O=0;O<k.length;O+=1)if(!k[O].dayData.isEmpty){T=!0;break}var E=0===e.availabilities.length&&!T,I=o._id===d._id,N=!I&&E&&n.config.conversationsEnabled&&b.a.shouldShowSendMessageButton(n.role,"mentor",n.config,a);return P("div",{},void 0,k.map(function(r,a){return P(M,{i18n:t,mentor:d,context:n,account:o,mentorship:i,isDisabled:p||g,dayInfo:C[a],eventAndSlotInfoForDay:r,isDeleteEnabled:I,deleteAvailability:v,showMessageDialog:y,showAlertDialog:_,hideDialog:e.hideDialog},a)}),E&&c&&P(w.a,{message:c}),N&&h&&P("div",{style:{textAlign:"center"}},void 0,P(x.a,{to:"/conversations/wu/"+d._id},void 0,P(f.a,{label:t.components.availabilityTable.sendMessageToMentor,style:A.a.roundedButtonContainer,buttonStyle:A.a.roundedButton,labelStyle:A.a.roundedButtonLabel,secondary:!0}))),N&&!h&&P("div",{style:{textAlign:"center"}},void 0,P(f.a,{label:t.components.availabilityTable.sendMessageToMentor,style:A.a.roundedButtonContainer,buttonStyle:A.a.roundedButton,labelStyle:A.a.roundedButtonLabel,secondary:!0,onTouchTap:function(){return e.openConversation(d)}})))};T.defaultProps={dayLimit:7,emptyMessage:"",isDisabled:!1,isPending:!1,firstDayOfWeek:m.a.getStartEndOfWeek().firstDayOfWeek,subscription:void 0};var O=function(e){return{meetings:e.calendar.upcomingMeetings||[],isPending:e.calendar.isUpcomingMeetingsPending,isMobile:e.runtime.isMobile}},E={deleteAvailability:g.i,showMessageDialog:h.b,openConversation:v.d,showAlertDialog:h.d,hideDialog:h.a};t.a=n.i(u.a)(O,E)(T)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(18),s=n.n(a),l=n(34),u=n.n(l),c=n(0),d=n.n(c),p=n(3),f=n(52),m=(n.n(f),n(146)),g=n(1310),h=n.n(g),v=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),y=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),_=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),y(t,[{key:"componentDidMount",value:function(){var e=this;this.interval||(this.interval=setInterval(function(){return e.setState({lastUpdate:new Date})},1e3))}},{key:"componentWillUnmount",value:function(){this.interval&&clearInterval(this.interval)}},{key:"render",value:function(){var e=this.props,t=e.organisation,o=e.user,i=n.i(m.c)(this.props.userStatus),r=f.white;switch(i){case"online":r=f.active;break;case"idle":r=orange;break;default:r=f.white}return v("div",{className:h.a.avatarContainer},void 0,v("div",{},void 0,v(u.a,{size:40,src:o.imageUrl||null,style:{fontSize:"1em",border:"2px solid "+r,transition:"border 0.3s ease"}},void 0,o.imageUrl?null:o.firstName[0]+o.lastName[0])),t&&t.logoUrl&&v("div",{className:h.a.organisationLogo},void 0,v(u.a,{src:t.logoUrl,icon:"user",size:"small"})))}}]),t}(d.a.Component);_.defaultProps={userStatus:void 0,organisation:void 0};var b=function(e,t){return{i18n:e.i18n,userStatus:e.userStatuses[t.user._id]}},w={};t.a=n.i(p.a)(b,w)(s()(h.a)(_))},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(67),c=n(141),d=n(29),p=n(725),f=n(142),m=n(146),g=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),v=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.onRelayApiConnection=function(){r.clearRelayReconnectInterval(),r.clearFetchNewMessageInterval(),f.a.getCurrentPresences("mentornity",function(e){e.forEach(function(e){e.state&&e.state.accountId&&r.props.setUserStatus(e.state.accountId,e.state)})}),f.a.subscribe(["mentornity"],!0),f.a.setPresence("mentornity",r.props.accountStatus),r.subscribeToConversations()},r.onRelayApiMessageReceive=function(e){r.props.saveNewMessages(e)},r.onPrecenceStatusReceive=function(e,t){t&&t.accountId&&("join"===e||"state-change"===e?r.props.setUserStatus(t.accountId,t):"timeout"===e&&r.props.setUserStatus(t.accountId,void 0))},r.onRelayApiConnectionClose=function(){r.startFetchNewMessageInterval(),r.startRelayReconnectInterval()},r.onActions=function(e,t){var n=r.props.account;"fetch_conversations"===e?r.props.fetchConversations(n._id):"incoming_presence"===e&&t&&t.accountId&&r.props.setUserStatus(t.accountId,t)},a=n,i(r,a)}return r(t,e),h(t,[{key:"componentDidMount",value:function(){this.fetchConversations(),this.fetchUpcomingMeetings(),this.connectToRelayApi(),this.startFetchNewMessageInterval(),this.props.account&&this.props.setAccountStatus(n.i(m.a)(this.props.account._id))}},{key:"componentDidUpdate",value:function(){this.fetchConversations(),this.fetchUpcomingMeetings(),this.subscribeToConversations()}},{key:"componentWillUnmount",value:function(){f.a.close(),this.clearFetchNewMessageInterval(),this.unsubscribeFromConversations()}},{key:"connectToRelayApi",value:function(){this.startFetchNewMessageInterval()}},{key:"startFetchNewMessageInterval",value:function(){var e=this;this.messageFetchInterval||(this.messageFetchInterval=setInterval(function(){return e.fetchNewMessages()},6e4))}},{key:"startRelayReconnectInterval",value:function(){this.relayReconnectInterval||this.connectToRelayApi()}},{key:"subscribeToConversations",value:function(){if(f.a.isConnected){var e=this.props.conversations,t=void 0===e?[]:e,n=[];t.forEach(function(e){n.push(""+e._id)}),f.a.subscribe(n)}}},{key:"unsubscribeFromConversations",value:function(){var e=this.props.conversations,t=void 0===e?[]:e,n=["mentornity"];t.forEach(function(e){n.push("conversations."+e._id+".messages"),e.participants.forEach(function(e){n.push("users."+e._id+".status")})}),f.a.unsubscribe(n)}},{key:"clearRelayReconnectInterval",value:function(){this.relayReconnectInterval&&(clearInterval(this.relayReconnectInterval),this.relayReconnectInterval=void 0)}},{key:"clearFetchNewMessageInterval",value:function(){this.messageFetchInterval&&(clearInterval(this.messageFetchInterval),this.messageFetchInterval=void 0)}},{key:"fetchConversations",value:function(){var e=this.props,t=e.account,n=e.conversations,o=e.fetchConversationsError,i=e.isPendingConversations;t&&(n||i||o||this.props.fetchConversations(t._id))}},{key:"fetchNewMessages",value:function(){var e=this.props,t=e.conversations,n=e.isPendingNewMessages;t&&t[0]&&!n&&this.props.fetchNewMessages(t[0].lastMessage.createdAt||0)}},{key:"fetchUpcomingMeetings",value:function(){var e=this.props,t=e.account,n=e.context,o=e.upcomingMeetings,i=e.isUpcomingMeetingsPending,r=e.isUpcomingMeetingsInvalidated,a=e.upcomingMeetingsError;!(n&&n.organisation&&t)||o&&!r||i||a||("group"===n.config.menteeType&&n.group?this.props.fetchUpcomingMeetingsOfGroup(n.organisation._id,n.group._id):this.props.fetchUpcomingMeetings(n.organisation._id,t._id,n.role))}},{key:"render",value:function(){return g("div",{style:{position:"absolute",widht:0,height:0}})}}]),t}(s.a.Component);v.defaultProps={context:null,accountStatus:void 0,conversations:void 0,isPendingNewMessages:!1,isPendingConversations:!1,fetchConversationsError:void 0,isUpcomingMeetingsInvalidated:!1,isUpcomingMeetingsPending:!1,upcomingMeetingsError:void 0,upcomingMeetings:void 0};var y=function(e){return{account:e.session.account,accountStatus:e.session.accountStatus,context:e.session.sContext,conversations:e.conversations.conversations,isPendingConversations:e.conversations.isPending,fetchConversationsError:e.conversations.error,isPendingNewMessages:e.conversations.isPendingNewMessages,isUpcomingMeetingsPending:e.calendar.isUpcomingMeetingsPending,isUpcomingMeetingsInvalidated:e.calendar.isUpcomingMeetingsInvalidated,upcomingMeetingsError:e.calendar.upcomingMeetingsError,upcomingMeetings:e.calendar.upcomingMeetings}},_={fetchConversations:c.a,fetchNewMessages:c.b,fetchUpcomingMeetings:u.a,fetchUpcomingMeetingsOfGroup:u.b,saveNewMessages:c.c,setAccountStatus:d.b,setUserStatus:p.a};t.a=n.i(l.a)(y,_)(v)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(60),c=n.n(u),d=n(36),p=n.n(d),f=n(47),m=n.n(f),g=n(109),h=n.n(g),v=n(67),y=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),b=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={reason:"",isProblematicChecked:!1},n}return r(t,e),_(t,[{key:"onConfirmCancellation",value:function(){this.props.cancelEvent(this.props.account,this.props.event,this.state.reason,this.state.isProblematicChecked)}},{key:"handleChange",value:function(e){var t=Object.assign({},this.state);t[e.target.id]=e.target.value,this.setState(t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.hideDialog,i=t.error,r=t.showMeetingNotOccurredUI,a=null,s=n.components.confirmEventCancellationForm;i&&i.response&&"cancel-not-possible-for-last-24-hour"===i.response.message&&(a=s.last24hourError);var l=s.title,u=s.cancellationReason,d=s.cancelMeeting;r&&(l=s.notOccurredTitle,u=s.notOccurredReason,d=n.buttonActions.send);var f=[y(m.a,{label:n.buttonActions.cancel,onTouchTap:function(){return o()},disabled:this.props.isPending}),y(m.a,{label:d,onTouchTap:function(){return e.onConfirmCancellation()},style:{color:this.props.isPending?"#FF8489":"#F23A3A"},disabled:this.props.isPending})];return y(c.a,{title:l,actions:f,open:this.props.isShown,onRequestClose:function(){return e.props.hideDialog()}},void 0,y(p.a,{id:"reason",type:"text",fullWidth:!0,value:this.state.reason,hintText:u,disabled:this.props.isPending,onChange:function(t){return e.handleChange(t)}}),y(h.a,{checked:this.state.isProblematicChecked,label:s.problematicCancelMessage,style:{marginTop:"1rem"},onClick:function(){return e.setState({isProblematicChecked:!e.state.isProblematicChecked})}}),a&&y("div",{style:{paddingTop:"2rem",textAlign:"center"}},void 0,a))}}]),t}(s.a.Component);b.defaultProps={error:null,isPending:!1,showMeetingNotOccurredUI:!1};var w=function(e,t){var n=e.calendar.eventsBeingProcessed[t.event._id];return{account:e.session.account,isPending:!!n&&n.isPending,error:n?n.error:null}},S={cancelEvent:v.j};t.a=n.i(l.a)(w,S)(b)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(12),c=n.n(u),d=n(48),p=n.n(d),f=n(122),m=n.n(f),g=n(40),h=n.n(g),v=n(39),y=n(42),_=n(193),b=n(43),w=n(234),S=n(196),x=n(62),A=n.n(x),P=n(199),C=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),k=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),M=C(h.a,{}),T=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={titles:[],textFilter:"",isGroupPending:!1},r.doesMetadataSatisfyTextFilter=function(e,t,n){if(!t)return!1;for(var o=Object.keys(t||{}),i=0;i<o.length;i+=1){var r=o[i],a=t[r];if("string"==typeof a){if(e[r]&&(a=e[r][a]||a),a.toLocaleLowerCase().indexOf(n)>-1)return!0}else if("number"==typeof a){if(e[r]&&(a=e[r][a]||a),a==n)return!0}else if(Array.isArray(a))for(var s=0;s<a.length;s+=1){var l=a[s];if(e[r]&&(l=e[r][l]||l),l.toLocaleLowerCase().indexOf(n)>-1)return!0}}return!1},r.handleChange=function(e,t,n){r.setState({titles:n})},r.doesMetadataSatisfyTextFilter=function(e,t,n){if(!t)return!1;for(var o=Object.keys(t||{}),i=0;i<o.length;i+=1){var r=o[i],a=t[r];if("string"==typeof a){if(e[r]&&(a=e[r][a]||a),a.toLocaleLowerCase().indexOf(n)>-1)return!0}else if("number"==typeof a){if(e[r]&&(a=e[r][a]||a),a==n)return!0}else if(Array.isArray(a))for(var s=0;s<a.length;s+=1){var l=a[s];if(e[r]&&(l=e[r][l]||l),l.toLocaleLowerCase().indexOf(n)>-1)return!0}}return!1},r.handleChange=function(e,t,n){r.setState({titles:n})},a=n,i(r,a)}return r(t,e),k(t,[{key:"onScrollEndReached",value:function(){this.props.error||this.props.isPending||this.props.isEndReached||this.fetchData(this.props.groups?this.props.groups.length:0)}},{key:"onClickCreateGroup",value:function(){v.a.push("/"+this.props.context.organisation.domain+"/groups/create")}},{key:"fetchData",value:function(e){this.props.fetchGroups(this.props.context.organisation._id,e)}},{key:"setGroupTextFilter",value:function(e){this.setState({textFilter:e})}},{key:"getMetadataOptionLabels",value:function(e){var t=e.metadatas||{},n=t.group,o={};if(n)for(var i=function(e){n[e].options&&(o[n[e].id]={},n[e].options.forEach(function(t){o[n[e].id][t.value]=t.label}))},r=0;r<n.length;r+=1)i(r);return o}},{key:"filterGroups",value:function(){var e=this,t=this.props,n=t.groups,o=t.context,i=this.state,r=i.titles,a=i.textFilter,s=this.getMetadataOptionLabels(o.config);if(n){var l=n,u=a.toLocaleLowerCase();return 0!==r.length&&(l=l.filter(function(t){var n=!1;return r.forEach(function(o){n=(t.title||"").toLocaleLowerCase().indexOf(o.toLocaleLowerCase())>-1||e.doesMetadataSatisfyTextFilter(s,t.metadata,o.toLocaleLowerCase())||n}),n})),a&&(l=l.filter(function(t){return(t.title||"").toLocaleLowerCase().indexOf(u)>-1||(t.description||"").toLocaleLowerCase().indexOf(u)>-1||e.doesMetadataSatisfyTextFilter(s,t.metadata,u)})),l}}},{key:"menuItems",value:function(e,t){var n=[];return t.options.forEach(function(e){n.push(e.label)}),n.map(function(t){return C(A.a,{insetChildren:!0,checked:e&&e.indexOf(t)>-1,value:t,primaryText:t},t)})}},{key:"setGroupTextFilter",value:function(e){this.setState({textFilter:e})}},{key:"getMetadataOptionLabels",value:function(e){var t=e.metadatas||{},n=t.group,o={};if(n)for(var i=function(e){n[e].options&&(o[n[e].id]={},n[e].options.forEach(function(t){o[n[e].id][t.value]=t.label}))},r=0;r<n.length;r+=1)i(r);return o}},{key:"filterGroups",value:function(){var e=this,t=this.props,n=t.groups,o=t.context,i=this.state,r=i.titles,a=i.textFilter,s=this.getMetadataOptionLabels(o.config);if(n){var l=n,u=a.toLocaleLowerCase();return 0!==r.length&&(l=(l||[]).filter(function(t){var n=!1;return r.forEach(function(o){n=(t.title||"").toLocaleLowerCase().indexOf(o.toLocaleLowerCase())>-1||e.doesMetadataSatisfyTextFilter(s,t.metadata,o.toLocaleLowerCase())||n}),n})),a&&(l=(l||[]).filter(function(t){return(t.title||"").toLocaleLowerCase().indexOf(u)>-1||(t.description||"").toLocaleLowerCase().indexOf(u)>-1||e.doesMetadataSatisfyTextFilter(s,t.metadata,u)})),l}}},{key:"menuItems",value:function(e,t){var n=[];return t.options.forEach(function(e){n.push(e.label)}),n.map(function(t){return C(A.a,{insetChildren:!0,checked:e&&e.indexOf(t)>-1,value:t,primaryText:t},t)})}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.isPending,i=t.error,r=t.groups,a=t.context,s=t.commonStyle,l=t.disableLink,u=this.state,d=u.titles,p=u.textFilter,f=a.config,g=this.filterGroups(),h=g&&0===g.length&&!o,v=this.props.muiTheme.palette.secondaryTextColor,_="mentee"===a.role&&"group"===a.config.menteeType&&!a.group,w=f.metadatas||{},x=w.group,A={};if(x)for(var k=0;k<x.length;k++)A[x[k].id]=x[k].title;var T=(x||[]).filter(function(e){return"singleChoice"===e.type||"multipleChoice"===e.type});return C(S.a,{offset:50,onEndReach:function(){return e.onScrollEndReached()}},void 0,C("div",{className:c()(s.row)},void 0,_&&C("div",{className:c()(s.col,s.s12)},void 0,C(b.a,{actionLabel:y.a.show(n.buttonActions.createGroup,f),onActionClick:function(){return e.onClickCreateGroup()},message:y.a.show(n.pages.calendar.createMeetingNotAllowedBecauseOfNoGroup,f)})),r&&r.length>0&&C("div",{className:c()(s.col,s.s12)},void 0,C(P.a,{i18n:n,value:p,placeholder:n.components.userFilterForm.search,isPending:this.state.isGroupPending,onTextFilterChange:function(t){return e.setGroupTextFilter(t)}}),T.length>0&&T.map(function(t){return C(m.a,{multiple:!0,value:d,onChange:function(t,n,o){return e.handleChange(t,n,o)},selectionRenderer:function(e){return e.length?e.join(", "):t.title},style:{marginLeft:"10px"}},void 0,e.menuItems(d,t))}),C(O,{s:s,context:a,titleColor:v,list:g,disableLink:l})),C("div",{className:c()(s.col,s.s12,s.centerAlign),style:{minHeight:45}},void 0,o&&M),i&&C("div",{className:c()(s.col,s.s12)},void 0,C(b.a,{message:n.pages.organisation.listFetchErrorMessage,actionLabel:n.buttonActions.retry,onActionClick:function(){return e.fetchData(r?r.length:0)}})),h&&C("div",{className:c()(s.col,s.s12)},void 0,C(b.a,{message:n.pages.organisation.emptyMessageGroups}))))}}]),t}(s.a.Component);T.defaultProps={error:null,groups:null,disableLink:!1};var O=function(e){var t=e.context,n=e.title,o=e.list,i=e.titleColor,r=e.s,a=e.disableLink;return C("div",{className:c()(r.row)},void 0,n&&C("div",{className:c()(r.col,r.s12)},void 0,C("h3",{style:{marginTop:"0",color:i}},void 0,n)),o.map(function(e){return C("div",{className:c()(r.col,r.s12,r.m6,r.l4,r.xl3)},e._id,C(w.a,{context:t,group:e,trimInfo:!0,disableLink:a}))}))};O.defaultProps={title:null,titleColor:null};var E=function(e){return{i18n:e.i18n,groups:e.groups.list,isPending:e.groups.isPendingList,isEndReached:e.groups.isEndReached,error:e.groups.fetchListError}},I={fetchGroups:_.b};t.a=n.i(l.a)(E,I)(p()()(T))},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),c=n(3),d=n(18),p=n.n(d),f=n(12),m=n.n(f),g=n(34),h=n.n(g),v=n(40),y=n.n(v),_=n(1316),b=n.n(_),w=n(15),S=n(757),x=n(33),A=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},C=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),k=function(e){function t(){var e,n,o,i;r(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=o=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.state={calendarEventsForDay:{},pendingCalendars:{}},i=n,a(o,i)}return s(t,e),C(t,[{key:"componentDidMount",value:function(){this.tableContainer&&this.tableContainer.scrollTo&&this.tableContainer.scrollTo(.34*this.tableContainer.scrollWidth,0)}},{key:"componentWillReceiveProps",value:function(e){var t=this;if(e.date&&(!this.props.date||this.props.date.toDateString()!==e.date.toDateString())){var n={};this.props.people.forEach(function(o){n[o._id]=!0,t.fetchAccountCalendarForDay(o,e.date,n,t.props.contexts)})}if(this.props.people.length<e.people.length&&this.props.date){var o=e.people[e.people.length-1];this.fetchAccountCalendarForDay(o,e.date,i({},o._id,!0),this.props.contexts)}}},{key:"fetchAccountCalendarForDay",value:function(e,t,n,o){var r=this,a=new Date(t);a.setHours(0),a.setMinutes(0),a.setSeconds(0),a=x.a.fixHourDifference(a);var s=new Date(t);s.setHours(23),s.setMinutes(59),s.setSeconds(59),s=x.a.fixHourDifference(s),this.setState({pendingCalendars:n}),window.api.getUnavailabilitiesOfUser(e._id,a.getTime()/1e3,s.getTime()/1e3,o[0]).then(function(t){r.setState({calendarEventsForDay:P({},r.state.calendarEventsForDay,i({},e._id,t)),pendingCalendars:P({},r.state.pendingCalendars,i({},e._id,!1))})}).catch(function(){r.setState({pendingCalendars:P({},r.state.pendingCalendars,i({},e._id,!1))})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,i=t.account,r=t.contexts,a=t.date,s=t.people,l=t.previews,c=this.state,d=c.calendarEventsForDay,p=c.pendingCalendars,f=n.components.inlineCalendarDayView,g=[],v=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],_=["12:00"+f.hourAmHint,"01:00"+f.hourAmHint,"02:00"+f.hourAmHint,"03:00"+f.hourAmHint,"04:00"+f.hourAmHint,"05:00"+f.hourAmHint,"06:00"+f.hourAmHint,"07:00"+f.hourAmHint,"08:00"+f.hourAmHint,"09:00"+f.hourAmHint,"10:00"+f.hourAmHint,"11:00"+f.hourAmHint,"12:00"+f.hourPmHint,"01:00"+f.hourPmHint,"02:00"+f.hourPmHint,"03:00"+f.hourPmHint,"04:00"+f.hourPmHint,"05:00"+f.hourPmHint,"06:00"+f.hourPmHint,"07:00"+f.hourPmHint,"08:00"+f.hourPmHint,"09:00"+f.hourPmHint,"10:00"+f.hourPmHint,"11:00"+f.hourPmHint];return v.forEach(function(e,t){g.push(A("div",{className:b.a.hourColumn,style:{left:2.08*e*2+"%"}},e+"b",A("div",{className:b.a.hourColumnLabel},void 0,"  ","12-hour"===x.a.timeFormat?_[t]:(e>9?e:"0"+e)+":00"," "))),g.push(A("div",{className:b.a.hourColumn,style:{left:2.08*(2*e+1)+"%"}},e+"h",A("div",{className:m()(b.a.hourColumnLabel,b.a.hourColumnLabelEmpty)})))}),A("div",{className:b.a.container},void 0,!a&&A("div",{className:b.a.emptyMessage},void 0,f.emptyMessage),A("div",{className:b.a.userInfoContainer},void 0,s.map(function(e,t){var n=null;!e.imageUrl&&e.firstName&&e.lastName&&(n=e.firstName[0]+e.lastName[0]);var o=80/s.length,i=t*o+20;return A("div",{className:m()(b.a.user),style:{height:o-6+"%",top:i+"%"}},"calendar-view-"+e._id,p[e._id]&&A(y.a,{style:{position:"absolute",left:0,top:"50%",transform:"translate(0, -50%)"}}),A(h.a,{src:e.imageUrl||null,style:P({},w.a.logoS,{marginLeft:4})},void 0,n))})),u.a.createElement("div",{ref:function(t){e.tableContainer=t},className:m()(b.a.tableContainer),style:{height:60*s.length+20+"px"}},A("div",{className:b.a.hourTable},void 0,g),s.map(function(e,t){if(!d[e._id])return null;var a=[].concat(o(d[e._id].results||[])),u=d[e._id].availabilities||[];0===t&&a.push.apply(a,o(l.map(function(e){return P({},e,{isPreview:!0})})));var c=80/s.length,p=t*c+20;return A(S.a,{s:b.a,i18n:n,contexts:r,meetings:a,availabilities:u,isPrimary:e._id===i._id,style:{height:c-2+"%",top:p+"%"}},"horizontal-day-view-"+e._id)})))}}]),t}(u.a.Component);k.defaultProps={emptyMessage:"",people:[],previews:[],date:void 0};var M=function(e){return{account:e.session.account,contexts:e.session.contexts,i18n:e.i18n}},T={};t.a=n.i(c.a)(M,T)(p()(b.a)(k))},function(e,t,n){"use strict";function o(){return{userId:u.a.get(u.a.PARAM_USER_ID),accessToken:u.a.get(u.a.PARAM_ACCESS_TOKEN),sessionToken:u.a.get(u.a.PARAM_SESSION_TOKEN)}}function i(e){var t=e.authPlatforms,n=e.sContext,i=e.dateFormat,r=e.language,a=e.timeFormat,s=e.timeZone,l=n.organisation,u=n.role,d=o();return{"access-token":d.accessToken,"session-token":d.sessionToken,"organisation-id":l._id,"organisation-domain":l.domain,role:u,"user-id":d.userId,"group-id":n.group?n.group._id:void 0,language:r,"time-zone":s,"time-format":a||"24-hour","date-format":i||"DD/MM/YYYY","week-start-day":"monday","is-zoom-authenticated":c.a.isAuthPlatformConnected(t,"zoom"),"is-google-authenticated":c.a.isAuthPlatformConnected(t,"google"),"is-microsoft-authenticated":c.a.isAuthPlatformConnected(t,"microsoft"),"is-microsoft-business-authenticated":c.a.isAuthPlatformConnected(t,"microsoftbusiness"),"is-zoom-expired":c.a.isAuthPlatformExpired(t,"zoom"),"is-google-expired":c.a.isAuthPlatformExpired(t,"google"),"is-microsoft-expired":c.a.isAuthPlatformExpired(t,"microsoft"),"is-microsoft-business-expired":c.a.isAuthPlatformExpired(t,"microsoftbusiness"),"zoom-email":c.a.getEmailFromAuthPlatform(t,"zoom"),"google-email":c.a.getEmailFromAuthPlatform(t,"google"),"microsoft-email":c.a.getEmailFromAuthPlatform(t,"microsoft"),"microsoft-business-email":c.a.getEmailFromAuthPlatform(t,"microsoftbusiness")}}function r(e){var t=i(e.session);return p("div",{style:e.style},void 0,f,m,s.a.createElement("mentornity-wc-bridge",d({},t,{component:e.componentTag})))}var a=n(0),s=n.n(a),l=n(3),u=n(81),c=n(56),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=p("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),m=p("link",{href:"https://unicons.iconscout.com/release/v4.0.0/css/line.css",rel:"stylesheet"});r.defaultProps={style:{display:"flex",height:"calc(100vh - 80px)"}},t.a=n.i(l.a)(function(e){return{session:e.session}})(r)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(34),c=n.n(u),d=n(318),p=n.n(d),f=n(36),m=n.n(f),g=n(47),h=n.n(g),v=n(67),y=n(64),_=n(241),b=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},S=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),x=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isSubmitted:!1,noteInput:e.note?e.note.content:"",isPrivacyOn:!!e.note&&"private"===e.note.privacy},n}return r(t,e),S(t,[{key:"componentDidUpdate",value:function(){!this.props.isDisabled&&this.state.isSubmitted&&(this.props.note?this.props.closeForm():this.setState({noteInput:"",isSubmitted:!1}))}},{key:"onDeleteClick",value:function(){var e=this,t=this.props.i18n;this.props.showAlertDialog(null,t.components.createNoteForm.deleteNoteTitle,t.components.createNoteForm.confirmDelete,function(){return e.onDeleteConfirm()},{color:"#F23A3A"})}},{key:"onDeleteConfirm",value:function(){var e=this.props,t=e.event,n=e.profileId,o=e.groupId,i=e.note;this.props.deleteMeetingNote(n,o,t._id,i._id),this.props.hideDialog()}},{key:"onSaveClick",value:function(){this.validateForm()&&(this.props.note?this.updateNote():this.createNote())}},{key:"handleChange",value:function(e){var t=Object.assign({},this.state);t[e.target.id]=e.target.value,this.setState(t)}},{key:"validateForm",value:function(){var e={},t=!1;return this.state.noteInput&&0!==this.state.noteInput.length?e.noteError=null:(e.noteError=this.props.i18n.formErrors.note,t=!0),this.setState(w({},e)),!t}},{key:"createNote",value:function(){var e=this.props,t=e.account,n=e.event,o=e.profileId,i=e.groupId,r={event:{_type:"reference",_class:"events",_id:this.props.event._id},createdBy:{_type:"reference",_class:"users",_id:this.props.account._id},content:this.state.noteInput,privacy:this.state.isPrivacyOn?"private":"public"};this.setState({isSubmitted:!0}),this.props.createMeetingNote(t,o,i,n._id,r)}},{key:"updateNote",value:function(){var e=this.props,t=e.event,n=e.profileId,o=e.groupId,i=e.note,r={content:this.state.noteInput,privacy:this.state.isPrivacyOn?"private":"public"};this.setState({isSubmitted:!0}),this.props.updateMeetingNote(n,o,t._id,i._id,r)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.account,i=o.firstName[0]+o.lastName[0],r=this.state.isPrivacyOn?n.components.createNoteForm.notePrivate:n.components.createNoteForm.notePublic;return b("div",{style:_.a.note},void 0,b("div",{style:w({},_.a.leftInfo,_.a.avatarContainer)},void 0,b(c.a,{size:32,src:o.imageUrl||null},void 0,o.imageUrl?null:i)),b("div",{style:w({},_.a.rightInfo,_.a.noteInputContainer)},void 0,b(m.a,{id:"noteInput",rowsMax:10,multiLine:!0,fullWidth:!0,value:this.state.noteInput,style:{marginTop:"-12px"},hintText:n.formHints.note,errorText:this.state.noteError,disabled:this.props.isDisabled,onChange:function(t){return e.handleChange(t)}}),b("div",{style:{display:"flex",justifyContent:"space-between"}},void 0,b("div",{style:_.a.toggleContainer},void 0,b(p.a,{label:r,labelPosition:"right",disabled:this.props.isDisabled,toggled:!this.state.isPrivacyOn,onClick:function(){return e.setState({isPrivacyOn:!e.state.isPrivacyOn})}})),b("div",{style:{display:"inline-block"}},void 0,this.props.closeForm&&b(h.a,{style:{color:"#F23A3A",minWidth:"20px"},label:n.buttonActions.delete,onClick:function(){return e.onDeleteClick()}}),this.props.closeForm&&b(h.a,{style:{color:"#aaa",minWidth:"20px"},label:n.buttonActions.cancel,onClick:function(){return e.props.closeForm()}}),b(h.a,{secondary:!0,style:{minWidth:"20px"},label:n.buttonActions.save,onClick:function(){return e.onSaveClick()}})))))}}]),t}(s.a.Component);x.defaultProps={note:null,closeForm:null,profileId:null,groupId:null};var A=function(e){return{i18n:e.i18n,account:e.session.account,isDisabled:e.calendar.isPendingNoteCreation}},P={createMeetingNote:v.f,updateMeetingNote:v.g,deleteMeetingNote:v.h,showAlertDialog:y.d,hideDialog:y.a};t.a=n.i(l.a)(A,P)(x)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(40),c=n.n(u),d=n(67),p=n(43),f=n(745),m=n(196),g=n(109),h=n.n(g),v=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),y=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),_=v(c.a,{}),b=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={shouldHideCanceledMeetings:!0},a=n,i(r,a)}return r(t,e),y(t,[{key:"onScrollEndReached",value:function(e){var t=this.props,n=t.isActive,o=t.isPending,i=t.isEndReached,r=t.organisationId,a=t.groupId,s=t.profileId,l=t.error,u=t.meetings,c=t.shownGuestType;!n||l&&!e||o||i||this.props.fetchMeetingsOfUserOrGroup(r,c,s||a,u?u.length:0)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.isActive,i=t.commonStyle,r=t.isPending,a=t.error,s=t.meetings,l=t.context,u=t.language,c=t.shownGuestType,d=t.chronologicalMeetingsEndReached,g=this.state.shouldHideCanceledMeetings,y=[];if(!o)return null;(s||[]).forEach(function(e){g&&"canceled"===e.status||y.push(e)});var b=d&&s&&0===s.length,w=!b&&0===y.length;return v(m.a,{onEndReach:function(){return e.onScrollEndReached()}},void 0,r&&v("div",{style:{textAlign:"center"}},void 0,_),!r&&!a&&s&&0===s.length&&v(p.a,{message:n.components.meetingHistory.emptyMessage}),a&&v(p.a,{message:n.components.meetingHistory.errorMessage,actionLabel:n.buttonActions.retry,onActionClick:function(){return e.onScrollEndReached(!0)}}),v("div",{style:{marginBottom:"1.5rem",marginTop:"1rem"}},void 0,v(h.a,{checked:g,label:n.pages.organisationHome.hideCanceledMeetings,onClick:function(){return e.setState({shouldHideCanceledMeetings:!e.state.shouldHideCanceledMeetings})}})),y&&y.map(function(e){return v(f.a,{i18n:n,commonStyle:i,meeting:e,context:l,language:u,shownGuestType:c,hiddenInfo:"mentors"===c?"mentor":"mentee"},e._id)}),w&&v("div",{style:{marginTop:"1rem"}},void 0,v(p.a,{message:n.components.upcomingMeetings.pastEmptyMessage})))}}]),t}(s.a.Component);b.defaultProps={error:null,profileId:null,groupId:null,meetings:null,alignGuestToTop:!1};var w=function(e,t){var n=e.calendar.meetingsHistoriesByUser[t.profileId||t.groupId]||{};return{i18n:e.i18n,account:e.session.account,commonStyle:e.commonStyle,context:e.session.sContext,chronologicalMeetingsEndReached:e.calendar.chronologicalMeetingsEndReached,error:n.error,language:e.session.language,isPending:n.isPending||!1,isEndReached:n.isEndReached||!1,meetings:n.list}},S={fetchMeetingsOfUserOrGroup:d.k};t.a=n.i(l.a)(w,S)(b)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(0!==e.length){var t=e[0];return e.forEach(function(e){t.startDate>e.startDate&&(t=e)}),t}}var s=n(0),l=n.n(s),u=n(12),c=n.n(u),d=n(3),p=n(40),f=n.n(p),m=n(42),g=n(115),h=n(145),v=n(196),y=n(43),_=n(358),b=n(73),w=n(243),S=n(199),x=n(368),A=n(122),P=n.n(A),C=n(62),k=n.n(C),M=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),T=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),O=function(e,t){return a(e.availabilities).startDate<a(t.availabilities).startDate?-1:a(e.availabilities).startDate>a(t.availabilities).startDate?1:0},E=function(e,t){return e.firstName<t.firstName?-1:e.firstName>t.firstName?1:0},I=M(f.a,{}),N=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={titles:[]},r.handleChange=function(e,t,n){r.setState({titles:n})},a=n,i(r,a)}return r(t,e),T(t,[{key:"componentWillMount",value:function(){this.props.suiteId?this.props.resetMentors():this.props.isMentorsInvalidated&&this.fetchData(0)}},{key:"componentWillReceiveProps",value:function(e){!this.props.isMentorsInvalidated&&e.isMentorsInvalidated?this.fetchData(0):this.props.textFilter!==e.textFilter?this.fetchData(0,e.textFilter):this.props.filteredSkills.length===e.filteredSkills.length&&this.props.filteredSkills.every(function(t,n){return t===e.filteredSkills[n]})||this.fetchData(0,0===e.filteredSkills.length?e.textFilter:"",e.filteredSkills)}},{key:"shouldComponentUpdate",value:function(e){var t=this.props,n=t.isPending,o=t.isMentorsInvalidated,i=t.textFilter,r=t.filteredSkills;return i===e.textFilter||n===e.isPending||o!==e.isMentorsInvalidated||r.length!==e.filteredSkills.length}},{key:"menuItems",value:function(e,t){var n=[];return t.options.forEach(function(e){n.push(e.label)}),n.map(function(t){return M(k.a,{insetChildren:!0,checked:e&&e.indexOf(t)>-1,value:t,primaryText:t},t)})}},{key:"onScrollEndReached",value:function(){var e=this.props,t=e.error,n=e.isPending,o=e.isEndReached,i=e.mentors;t||n||o||this.fetchData(i?i.length:0)}},{key:"fetchData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments[2],o=t.length>2?t:"",i=this.props,r=i.context,a=i.suiteId;a?this.props.fetchMentorsOfSuite(r.organisation._id,a,o,n,e):this.props.fetchMentors(r.organisation._id,o,n,e,{appendAvailabilities:!0,appendSubscription:!0,expandMetadatas:!0})}},{key:"filterUsers",value:function(){var e=this.props,t=e.filteredSkills,o=e.mentors,i=e.context,r=this.state.titles,a=n.i(x.b)(i.config);if(o){var s=o;return t.length>0&&(s=s.filter(function(e){return!!(e.skills||[]).find(function(e){return t.indexOf(e)>-1})})),0!==r.length&&(s=s.filter(function(e){var t=!1;return r.forEach(function(o){t=(e.title||"").toLocaleLowerCase().indexOf(o.toLocaleLowerCase())>-1||n.i(x.c)(a,e.metadata,o.toLocaleLowerCase())||t}),t})),s}}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.account,r=t.language,a=t.isPending,s=t.error,l=t.mentors,u=t.commonStyle,d=t.textFilter,p=t.filteredSkills,g=t.isLoggedIn,x=t.openOldInterface,A=this.state.titles,C=this.filterUsers(),k=n.components.mentorList,T=o.config,N=o.role,D=T.metadatas||{},j=D.mentor,R={};if(j)for(var F=0;F<j.length;F+=1)R[j[F].id]=j[F].title;var L=j.filter(function(e){return"singleChoice"===e.type||"multipleChoice"===e.type}),U=C&&0===C.length&&!a&&!s,B=k.emptyMessage;if("mentee"===N&&0===p.length&&""===d&&"restricted"===T.mentorMenteeSubscription){var Z=T.subscriptionConfig;T.subscriptionConfigEnabled&&Z?"hideAvailableMentors"===Z.mentorVisibilityStatus?B=k.emptyMessageSubscribedWillSelect:"showAvailableMentors"!==Z.mentorVisibilityStatus&&"adminApprovedRequests"!==Z.mentorVisibilityStatus||(B=k.emptyMessageSubscribedCanSelect):B=k.emptyMessageSubscribed}var Y=[],G=[];return(l||[]).forEach(function(e){var t=b.a.getMeetingDisableReason(o,i,e.mentorship,e.subscription);e.availabilities&&e.availabilities.length>0&&!t?Y.push(e):G.push(e)}),C&&!g?C=C.sort(E):Y=Y.sort(O),M(v.a,{offset:50,className:u.container,onEndReach:function(){return e.onScrollEndReached()}},void 0,M("div",{className:c()(u.row),style:{marginBottom:0}},void 0,M("div",{style:{display:"flex",flexWrap:"wrap"}},void 0,M(w.a,{i18n:n,userType:"mentor",config:T,defaultFilter:p,onFilter:function(t){return e.props.setMentorSkillFilter(t)}}),0===p.length&&M(S.a,{i18n:n,value:d,isPending:a,onTextFilterChange:function(t){return e.props.setMentorTextFilter(t)}}),L.length>0&&L.map(function(t){return M(P.a,{multiple:!0,value:A,onChange:function(t,n,o){return e.handleChange(t,n,o)},selectionRenderer:function(e){return e.length?e.join(", "):t.title},style:{marginLeft:"10px"}},void 0,e.menuItems(A,t))}),a&&(l||[]).length>0&&M(f.a,{size:20,thickness:2,style:{margin:"1rem 0 0 1rem"}}))),Y.length>0&&!(d.length||A.length)&&Y.map(function(e){return M("div",{className:c()(u.row),style:{marginBottom:0,paddingTop:"1rem"}},e.mentorship._id,M("div",{className:c()(u.col,u.s12,u.m6,u.l5,u.xl4)},void 0,M(h.a,{i18n:n,user:e,openOldInterface:x,mentorship:e.mentorship,userType:"mentor",showMetadata:!0,metadataLabels:R,trimInfo:!0},e._id)),M("div",{className:c()(u.col,u.s12,u.m6,u.l7,u.xl8)},void 0,M(_.a,{i18n:n,mentor:e,account:i,context:o,meetings:[],dayLimit:90,mentorship:e.mentorship,isDisabled:a,availabilities:e.availabilities,subscription:e.subscription})))}),M("div",{className:c()(u.row),style:{marginBottom:0,paddingTop:"1rem"}},void 0,U&&M("div",{className:c()(u.col,u.s12)},void 0,M(y.a,{message:m.a.show(B,T,r)})),C&&C.map(function(e){return M("div",{className:c()(u.col,u.s12,u.m6,u.l4,u.xl3)},e._id,M(h.a,{i18n:n,user:e,openOldInterface:x,trimInfo:!0,userType:"mentor",metadataLabels:R,showMetadata:!0}))}),s&&M("div",{className:c()(u.col,u.s12)},void 0,M(y.a,{message:m.a.show(k.listFetchErrorMessage,T,r),actionLabel:n.buttonActions.retry,onActionClick:function(){return e.fetchData()}})),M("div",{className:c()(u.col,u.s12,u.centerAlign),style:{minHeight:45}},void 0,a&&I)))}}]),t}(l.a.Component);N.defaultProps={error:void 0,isPending:!1,isMentorsInvalidated:!1,isEndReached:!1,mentors:void 0,suiteId:void 0,openOldInterface:!1};var D=function(e){return{i18n:e.i18n,account:e.session.account,context:e.session.sContext,commonStyle:e.commonStyle,language:e.session.language,mentors:e.users.mentors&&e.users.mentors.map(function(t){return(e.users.usersById||{})[t]}),error:e.users.fetchMentorError,isPending:e.users.isPendingMentors,isMentorsInvalidated:e.users.isMentorsInvalidated,isEndReached:e.users.isEndReachedForMentors,textFilter:e.users.mentorTextFilter,filteredSkills:e.users.mentorSkillFilter,isLoggedIn:e.session.isLoggedIn}},j={fetchMentors:g.c,fetchMentorsOfSuite:g.g,resetMentors:g.h,setMentorTextFilter:g.i,setMentorSkillFilter:g.j};t.a=n.i(d.a)(D,j)(N)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(12),u=n.n(l),c=n(3),d=n(40),p=n.n(d),f=n(43),m=n(145),g=n(16),h=n(42),v=n(29),y=n(115),_=n(64),b=n(243),w=n(199);n.d(t,"b",function(){return A}),n.d(t,"c",function(){return P});var S=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),x=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),A=function(e){var t=e.metadatas||{},n=t.mentor,o={};if(n)for(var i=function(e){n[e].options&&(o[n[e].id]={},n[e].options.forEach(function(t){o[n[e].id][t.value]=t.label}))},r=0;r<n.length;r+=1)i(r);return o},P=function(e,t,n){if(!t)return!1;for(var o=Object.keys(t.data||{}),i=0;i<o.length;i+=1){var r=o[i],a=t.data[r];if("string"==typeof a){if(e[r]&&(a=e[r][a]||a),a.toLocaleLowerCase().indexOf(n)>-1)return!0}else if(Array.isArray(a))for(var s=0;s<a.length;s+=1){var l=a[s];if(e[r]&&(l=e[r][l]||l),l.toLocaleLowerCase().indexOf(n)>-1)return!0}}return!1},C=S(p.a,{}),k=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={filteredSkills:[],metadataOptionLabels:A(e.context.config)},n}return r(t,e),x(t,[{key:"componentDidMount",value:function(){this.fetchDataIfNeeded()}},{key:"componentDidUpdate",value:function(e){this.props.subscriptionActionError&&(location.pathname="/"+this.props.context.organisation.domain+"/mentors/selection");var t=this.props.context.config.subscriptionConfig,n=t.processStartType,o=0,i=this.props.users?this.props.users.filter(function(e){return e.subscription&&"active"===e.subscription.status&&(o+=1),e.subscription&&("requested"===e.subscription.status||"active"===e.subscription.status)}):[],r=0!==t.menteeSubscriptionLimit&&o>=t.menteeSubscriptionLimit,a=0!==t.menteeSelectionLimit&&"startOnApproval"===n&&i.length>=t.menteeSelectionLimit;(r||a)&&(location.pathname="/"+this.props.context.organisation.domain+"/mentors"),e.isPendingSubscriptionAction&&!this.props.isPendingSubscriptionAction&&this.props.hideDialog(),this.fetchDataIfNeeded()}},{key:"onSelectMentorClick",value:function(e){var t=this,n=this.props.i18n,o=n.components.mentorSelectionList;this.props.showAlertDialog(o.selectMentorDialog.title,o.selectMentorDialog.message,o.selectMentorDialog.createSubscription,function(){return t.onConfirmCreateSubscription(e)})}},{key:"onConfirmCreateSubscription",value:function(e){var t=this.props,n=t.account,o=t.context,i=o.organisation,r={mentorship:{_type:"reference",_class:"mentorships",_id:e.mentorship._id},organisation:{_type:"reference",_class:"organisations",_id:i._id},subscribed:{_type:"reference",_class:"users",_id:e._id},subscriber:{_type:"reference",_class:"users",_id:n._id},status:"active"};this.props.createSubscription(r,e,e.mentorship,!0)}},{key:"onSelectMentorClickForApproval",value:function(e){var t=this,n=this.props.i18n,o=n.components.mentorSelectionList;this.props.showAlertDialog(o.selectMentorDialogForApproval.title,o.selectMentorDialogForApproval.message,o.selectMentorDialogForApproval.createSubscription,function(){return t.onConfirmCreateSubscriptionRequest(e)})}},{key:"onConfirmCreateSubscriptionRequest",value:function(e){var t=this.props,n=t.account,o=t.context,i=o.organisation,r={mentorship:{_type:"reference",_class:"mentorships",_id:e.mentorship._id},organisation:{_type:"reference",_class:"organisations",_id:i._id},subscribed:{_type:"reference",_class:"users",_id:e._id},subscriber:{_type:"reference",_class:"users",_id:n._id},status:"requested"};this.props.createSubscription(r,e,e.mentorship,!0)}},{key:"setMentorSkillFilter",value:function(e){this.setState({filteredSkills:e})}},{key:"setMentorTextFilter",value:function(e){this.setState({textFilter:e})}},{key:"filterUsers",value:function(){var e=this.props.users,t=this.state,n=t.filteredSkills,o=t.metadataOptionLabels,i=t.textFilter;if(e){var r=e;if(n.length>0)r=r.filter(function(e){return!!(e.skills||[]).find(function(e){return n.indexOf(e)>-1})});else if(i){var a=i.toLocaleLowerCase();r=r.filter(function(e){return(e.firstName||"").toLocaleLowerCase().indexOf(a)>-1||(e.lastName||"").toLocaleLowerCase().indexOf(a)>-1||(e.title||"").toLocaleLowerCase().indexOf(a)>-1||(e.bio||"").toLocaleLowerCase().indexOf(a)>-1||P(o,e.metadata,a)})}return r}}},{key:"fetchData",value:function(){this.props.fetchSelectionMentors(this.props.context.organisation._id)}},{key:"fetchDataIfNeeded",value:function(){var e=this;setTimeout(function(){e.props.users||e.props.isPending||e.props.error||e.fetchData()},100)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.language,r=t.isPending,a=t.error,s=t.users,l=t.selectEnabled,c=t.commonStyle,d=this.state,p=d.filteredSkills,v=void 0===p?[]:p,y=d.textFilter,_=this.filterUsers(),x=o.config,A=x.subscriptionConfig,P=A.processStartType,k=A.menteeSelectionLimit,M=A.menteeSubscriptionLimit,T=s&&0===s.length,O=o.config.metadatas,E=O.mentor,I={};if(E)for(var N=0;N<E.length;N+=1)I[E[N].id]=E[N].title;var D=void 0;return"startOnApproval"===P?D=function(t){return e.onSelectMentorClickForApproval(t)}:1===M&&(D=function(t){return e.onSelectMentorClick(t)}),S("div",{},void 0,s&&s.length>0&&S("div",{className:u()(c.row)},void 0,S("div",{style:{display:"flex"}},void 0,S(b.a,{i18n:n,userType:"mentor",config:x,defaultFilter:v,onFilter:function(t){return e.setMentorSkillFilter(t)}}),0===v.length&&S(w.a,{i18n:n,value:y,isPending:r,onTextFilterChange:function(t){return e.setMentorTextFilter(t)}}))),S("div",{className:u()(c.row)},void 0,(0!==k||0!==M)&&S("div",{className:u()(c.col,c.s12,c.centerAlign),style:{paddingBottom:"2rem"}},void 0,g.a.build(h.a.show("startOnApproval"===P?n.pages.organisation.mentorSelectionLimitMessageForApprovals:n.pages.organisation.mentorSelectionLimitMessage,o.config,i),{selectionLimit:k,subscriptionLimit:M})),_&&_.map(function(e){return S("div",{className:u()(c.col,c.s12,c.m6,c.l4,c.xl3)},e._id,S(m.a,{i18n:n,user:e,trimInfo:!0,userType:"mentor",shouldShowSelectButton:!0,onSelectMentor:D,selectEnabled:l,metadataLabels:I,showMetadata:"everyone"===x.metadataVisibility.mentee}))}),T&&S("div",{className:u()(c.col,c.s12)},void 0,S(f.a,{message:h.a.show(n.pages.organisation.mentorSelectionListEmpty,x,i)})),r&&S("div",{className:u()(c.col,c.s12,c.centerAlign)},void 0,C),a&&!r&&!s&&S("div",{className:u()(c.col,c.s12)},void 0,S(f.a,{message:h.a.show(n.pages.organisation.mentorSelectionListError,x,i),actionLabel:n.buttonActions.retry,onActionClick:function(){return e.fetchData()}}))))}}]),t}(s.a.Component);k.defaultProps={error:null,users:null,subscriptionActionError:null};var M=function(e,t){var n=t.context.config,o=n.subscriptionConfig.processStartType,i=0;i="startOnApproval"===o?n.subscriptionConfig.menteeSelectionLimit:n.subscriptionConfig.menteeSubscriptionLimit;for(var r=0,a=e.users.mentorsToSelect.list||[],s=0;s<a.length;s+=1){var l=a[s];!l.subscription||"active"!==l.subscription.status&&"requested"!==l.subscription.status||(r+=1)}return{context:e.session.sContext,selectEnabled:!i||0===i||i>r,account:e.session.account,users:e.users.mentorsToSelect.list,error:e.users.mentorsToSelect.error,isPending:e.users.mentorsToSelect.isPending,isPendingSubscriptionAction:e.users.isPendingSubscriptionAction,subscriptionActionError:e.users.subscriptionActionError,language:e.session.language}},T={createSubscription:v.e,fetchSelectionMentors:y.f,showAlertDialog:_.d,hideDialog:_.a};t.a=n.i(c.a)(M,T)(k)},function(e,t,n){"use strict";function o(e){var t={display:"inline-block",margin:"0.1rem 0",listStyle:"none",color:e.muiTheme.palette.secondaryTextColor,cursor:"pointer"},n={color:e.muiTheme.palette.textColor},o="";return e.horizontal&&(o=c.a.liHorizontal),f("ul",{className:c.a.list},void 0,e.items.map(function(i){var r=t;return e.selected!==i.href||i.onClick||(r=p({},r,n)),i.href?f("li",{className:o},void 0,f(d.a,{to:i.href},void 0,f("b",{style:r},void 0,i.label))):i.onClick?f("li",{className:o},void 0,f("b",{onClick:i.onClick,style:r},void 0,i.label)):null}))}var i=n(0),r=(n.n(i),n(48)),a=n.n(r),s=n(18),l=n.n(s),u=n(1318),c=n.n(u),d=n(32),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},f=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();o.defaultProps={horizontal:!1},t.a=l()(c.a)(a()()(o))},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(12),l=n.n(s),u=n(18),c=n.n(u),d=n(469),p=n.n(d),f=n(47),m=n.n(f),g=n(17),h=n.n(g),v=n(48),y=n.n(v),_=n(0),b=n.n(_),w=n(3),S=n(54),x=n(29),A=n(360),P=n(1319),C=n.n(P),k=n(15),M=n(776),T=n(32),O=n(61),E=n.n(O),I=n(513),N=n.n(I),D=n(81),j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},R=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),F=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),L=R("i",{}),U=R(N.a,{}),B=R(A.a,{}),Z=R("img",{src:"/img/new-feature.png",width:150,height:150}),Y=function(e){function t(){var e,n,o,a;i(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=o=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.state={displayTooltip:!1},a=n,r(o,a)}return a(t,e),F(t,[{key:"componentDidMount",value:function(){D.a.get(D.a.PARAM_SHOW_MY_PROGRAM_INFO)||this.setState({displayTooltip:!0})}},{key:"toggleDrawer",value:function(){this.props.toggleLeftNav()}},{key:"hideTooltip",value:function(){D.a.save(D.a.PARAM_SHOW_MY_PROGRAM_INFO,!0),this.setState({displayTooltip:!1})}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.i18n,r=n.account,a=n.isLeftNavOpen,s=n.isRightNavOpen,u=n.isMobile,c=n.whiteLabel,d=n.path,f=void 0===d?"":d,g=n.totalContextCount,v=u?L:R(m.a,{style:{opacity:0},label:i.buttonActions.login}),y="/structured-paired-mentoring/mentors/application"!==this.props.path&&R(h.a,{label:i.buttonActions.login,secondary:!0,href:f?"/login?r="+f:"/login",style:j({marginTop:4},k.a.semiRoundedButtonContainer),buttonStyle:k.a.semiRoundedButton,labelStyle:k.a.semiRoundedButtonLabel}),_="black";c&&c.theme&&c.theme.navBarTitleColor&&""!=c.theme.navBarTitleColor&&(_=c.theme.navBarTitleColor),r&&(v=R(E.a,{iconStyle:{color:_,fill:_}},void 0,U),y=R(M.a,{textColor:this.props.muiTheme.palette.primaryColorDark,primary4Color:this.props.muiTheme.palette.primary4Color,contexts:this.props.contexts,context:this.props.context,account:this.props.account,logout:this.props.logout,i18n:this.props.i18n,whiteLabel:c,isMobile:u}));var b="/img/mentornity-logo.svg";c&&c.appBarLogoUrl&&(b=c.appBarLogoUrl);var w=R("div",{className:C.a.logoContainer,style:{paddingLeft:48}},void 0,R("img",{src:b,className:C.a.logo,alt:"logo"})),S="/";if(c&&(c.appBarLogoUrl||(w=R("span",{style:{color:_}},void 0,c.title)),c.webSiteUrl&&""!==c.webSiteUrl&&(S=c.webSiteUrl)),u&&(w=null),g>1){var x="#fff";c&&(c.theme&&c.theme.primaryColor&&""!=c.theme.primaryColor&&(x=c.theme.primaryColor),c.theme&&c.theme.navBarTitleColor&&""!=c.theme.navBarTitleColor&&(_=c.theme.navBarTitleColor)),w=R(T.a,{to:"/programs"},void 0,R("div",{style:{marginTop:"18px",display:"flex"}},void 0,R("div",{style:{height:"24px",background:x,border:"1px "+_+" solid",backgroundColor:x,borderRadius:"16px",lineHeight:"24px",fontFamily:"Figtree",padding:"0 12px",fontSize:"16px",color:_}},void 0,i.buttonActions.myPrograms+" >")))}var A=this.state.displayTooltip;return R("nav",{className:l()((e={},o(e,C.a.nav,!0),o(e,C.a.leftOpen,a),o(e,C.a.rightOpen,s),e))},void 0,r&&B,R(p.a,{title:w,iconElementRight:y,titleStyle:{cursor:"pointer"},iconElementLeft:v,onTitleTouchTap:function(){return window.location.replace(S)},onLeftIconButtonTouchTap:function(){return t.toggleDrawer()}}),A&&g>1&&R("div",{className:C.a.tooltip,style:{opacity:A?1:0,display:A?"block":"none"}},void 0,R("div",{className:C.a.icon},void 0,Z),R("div",{className:C.a.content},void 0,R("h3",{},void 0," ",i.navBar.newFeature," "),R("p",{},void 0," ",i.navBar.myProgramsMessage," ")),R("div",{className:C.a.footer},void 0,R(h.a,{label:i.buttonActions.close,secondary:!0,style:j({marginTop:4},k.a.semiRoundedButtonContainer),buttonStyle:k.a.semiRoundedButton,labelStyle:k.a.semiRoundedButtonLabel,onClick:function(){return t.hideTooltip()}}))))}}]),t}(b.a.Component);Y.defaultProps={account:null,context:null,contexts:[],whiteLabel:null,isRightNavOpen:!1};var G=function(e){return{i18n:e.i18n,account:e.session.account,contexts:e.session.contexts,totalContextCount:e.session.totalContextCount,context:e.session.sContext,whiteLabel:e.session.whiteLabel,isMobile:e.runtime.isMobile,isRightNavOpen:e.nav.isRightNavOpen}},H={logout:x.c,toggleLeftNav:S.b};t.a=n.i(w.a)(G,H)(c()(C.a)(y()()(Y)))},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){if(t&&e&&0!==!e.length)for(var n=0;n<e.length;n+=1)if(e[n].organisation._id===t.organisation._id)return e[n]}function l(e,t){for(var o=0;o<t.length;o+=1)if(n.i(p.b)(e,t[o]))return t[o]}var u=n(0),c=(n.n(u),n(3)),d=n(193),p=n(394),f=n(807),m=n(142),g=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),v=function(e){function t(){var e,n,o,a;i(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=o=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.state={hasFetchedGroupAlready:!1},a=n,r(o,a)}return a(t,e),h(t,[{key:"render",value:function(){var e=this.props,t=e.i18n,o=e.account,i=e.contexts,r=e.conversation,a=e.groups,u=e.isFetchGroupPending,c=e.userStatuses;if(!r)return null;var d="",h=s(i,r);if(h){if(n.i(p.c)(r)){var v=n.i(p.a)(o,r);if("group"===h.config.menteeType)if(n.i(p.d)(v,h.organisation)){var y=l(v,a);y?d=g("div",{style:{display:"flex"}},void 0,g(f.a,{i18n:t,user:v,userStatuses:c,conversation:r}),g("div",{style:{width:"1rem"}}),y.title):u||this.state.hasFetchedGroupAlready||(this.setState({hasFetchedGroupAlready:!0}),this.props.fetchGroupOfUser(v._id,h.organisation._id))}else d=g(f.a,{i18n:t,user:v,userStatuses:c,conversation:r});else d=g(f.a,{i18n:t,user:v,userStatuses:c,conversation:r})}}else{var _=n.i(p.a)(o,r);d=g(f.a,{i18n:t,user:_,userStatuses:c,conversation:r})}return m.a.isConnected||(d=""),g("div",{style:{fontSize:"0.8em"}},void 0,d)}}]),t}(u.Component);v.defaultProps={conversation:void 0,userHavingConversationWith:void 0,eventHavingConversationWith:void 0,groups:[]};var y=function(e){return{i18n:e.i18n,account:e.session.account,contexts:e.session.contexts,commonStyle:e.commonStyle,userHavingConversationWith:e.conversations.userHavingConversationWith,eventHavingConversationWith:e.conversations.eventHavingConversationWith,groups:[].concat(o(e.groups.detailedList||[]),o(e.groups.list||[])),isFetchGroupPending:Object.keys(e.groups.pendingList).length>0,userStatuses:e.userStatuses}},_={fetchGroupOfUser:d.a};t.a=n.i(c.a)(y,_)(v)},function(e,t,n){"use strict";function o(e){var t=e.i18n,n=e.organisation,o=e.showApplyButton,i=e.isMobile,r=n.coverUrl||"",a=n.applicationUrl;return h(l.a,{className:p.a.organisationCard,style:{borderRadius:5,background:"#f2f2f2"}},void 0,h("div",{className:p.a.cover,style:{backgroundImage:"linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.5) 100%), url("+r+")"}}),h("div",{className:p.a.titleContainer},void 0,h("h2",{className:p.a.title,style:{marginBottom:"2rem",width:"100%"}},void 0,n.title)),h("div",{className:p.a.logoContainer},void 0,h("a",{href:"/"+n.domain},void 0,h(m.a,{organisation:n,size:i?"large":"xxxlarge"}))),h("div",{className:p.a.contentContainer},void 0,h("div",{className:p.a.linkContainer},void 0,n.linkedInUrl&&h("a",{href:g.a.externalLink(n.linkedInUrl),target:"_blank",rel:"noopener noreferrer"},void 0,h("img",{className:p.a.socialIcon,src:"/icons/linkedin.svg",alt:"linkedin"})),n.twitterUrl&&h("a",{href:g.a.externalLink(n.twitterUrl),target:"_blank",rel:"noopener noreferrer"},void 0,h("img",{className:p.a.socialIcon,src:"/icons/twitter.svg",alt:"twitter"})),n.facebookUrl&&h("a",{href:g.a.externalLink(n.facebookUrl),target:"_blank",rel:"noopener noreferrer"},void 0,h("img",{className:p.a.socialIcon,src:"/icons/facebook.svg",alt:"facebook"})),n.webSiteUrl&&h("a",{href:g.a.externalLink(n.webSiteUrl),target:"_blank",rel:"noopener noreferrer"},void 0,h("img",{className:p.a.socialIcon,src:"/icons/web.svg",alt:"website"})),a&&o&&h("a",{href:g.a.externalLink(a),target:"_blank",rel:"noopener noreferrer"},void 0,h(c.a,{label:t.buttonActions.apply,secondary:!0,style:f.a.semiRoundedButtonContainer,buttonStyle:f.a.semiRoundedButton,labelStyle:f.a.semiRoundedButtonLabel})))))}var i=n(0),r=(n.n(i),n(18)),a=n.n(r),s=n(26),l=n.n(s),u=n(17),c=n.n(u),d=n(1323),p=n.n(d),f=n(15),m=n(373),g=n(16),h=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();o.defaultProps={showApplyButton:!1},t.a=a()(p.a)(o)},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(34)),r=n.n(i),a=n(15),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u=function(e){var t=e.organisation,n=l({},a.a.organisationLogo);return"large"===e.size?n=l({},n,a.a.logoL,a.a.logoLGroup):"xlarge"===e.size?n=l({},n,a.a.logoXL,a.a.logoXLGroup):"xxlarge"===e.size?n=l({},n,a.a.logoXXL,a.a.logoXLGroup):"xxxlarge"===e.size&&(n=l({},n,a.a.logoXXXL,a.a.logoXLGroup)),s(r.a,{style:n,src:t.logoUrl||null})};u.defaultProps={size:null},t.a=u},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(63)),r=n.n(i),a=n(16),s=n(1325),l=n.n(s),u=n(18),c=n.n(u),d=n(465),p=(n.n(d),function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}()),f={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",height:"1.3rem"},m=function(e){var t=e.clipTitle,n=e.label,o=e.info,i=e.html,s=e.hasRichContent;return p("div",{className:l.a.infoRow},void 0,p("b",{className:l.a.infoRowTitle,style:t?f:void 0},void 0,n),o&&p("div",{className:l.a.infoRowContent},void 0,s?p(r.a,{className:"markdown-content",source:a.a.linkifyForMarkdown(o),escapeHtml:!1}):o),i&&p("div",{style:{margin:"1rem 0"},dangerouslySetInnerHTML:{__html:i}}))};m.defaultProps={info:null,html:null,clipTitle:!1,hasRichContent:!1},t.a=c()(l.a)(m)},function(e,t,n){"use strict";function o(e){var t=e.context,n=e.clipTitle,o=e.metadata,i=e.role,s=e.displayEmptyFields;if(!o)return null;var l=t.config.metadatas,u=l[i],c={},d=[];if(!u)return null;for(var p=0;p<u.length;p+=1)c[u[p].id]=u[p].title;return u.forEach(function(e){var t="text"===e.type&&e.lines&&e.linesMax&&e.lines!==e.linesMax;if(!s&&o.data[e.id]){var i=o.data[e.id];if("ratingStars"===e.type&&e.starCount)i=""+Math.round(i*e.starCount);else if(i&&"singleChoice"===e.type&&e.options){var l=e.options.find(function(e){return e.value===i});i=l&&l.label?l.label:i}else i&&"multipleChoice"===e.type&&e.options&&(i=i.map(function(t){var n=e.options.find(function(e){return e.value===t});return n&&n.label?n.label:i}).join(", "));d.push(a(r.a,{label:c[e.id],info:i,clipTitle:n,hasRichContent:t},"metadata_"+e.id))}else if(s){var u=o.data[e.id];if(u&&"ratingStars"===e.type&&e.starCount)u=String(u*e.starCount);else if(u&&"singleChoice"===e.type&&e.options){var p=e.options.find(function(e){return e.value===u});u=p&&p.label?p.label:u}else u&&"multipleChoice"===e.type&&e.options&&(u=u.map(function(t){var n=e.options.find(function(e){return e.value===t});return n&&n.label?n.label:u}).join(", "));d.push(a(r.a,{label:c[e.id],info:u||"--",clipTitle:!0,hasRichContent:t},"metadata_"+e.id))}}),a("div",{style:{textAlign:"left"}},void 0,d)}var i=n(0),r=(n.n(i),n(374)),a=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();o.defaultProps={metadata:void 0,displayEmptyFields:!1,clipTitle:!1},t.a=o},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(17),c=n.n(u),d=n(88),p=n.n(d),f=n(29),m=n(809),g=n(15),h=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),v=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),y=h("br",{}),_=h("br",{}),b=h("option",{value:"tr"},void 0,"Türkçe"),w=h("option",{value:"en"},void 0,"English"),S=h("option",{value:"pt-br"},void 0,"Portuguese"),x=h("option",{value:"it"},void 0,"Italian"),A=h("option",{value:"es"},void 0,"Spanish"),P=h("br",{}),C=h("br",{}),k=h("br",{}),M=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=n.props,a=r.context,s=r.settings,l=s.timeZone,u=s.language,c=s.timeFormat||"24-hour",d=s.dateFormat||"DD/MM/YYYY",p=l,f=u;(a&&null===l||""===l)&&(p=a.config.timeZone),(a&&null===u||""===u)&&(f=a.config.language);var m=a&&"mentor"===a.role&&a.config.welcomeStepVisibilities.mentor.mentorshipLimit?a.mentorship.subscriptionLimit:1;return n.state={timeZone:p,language:f,timeFormat:c,dateFormat:d,subscriptionLimit:m},n}return r(t,e),v(t,[{key:"componentDidUpdate",value:function(){this.props.isSettingsUpdated&&(this.props.onSuccess?this.props.onSuccess():window.location.reload())}},{key:"onFieldChange",value:function(e){"timeZoneSelection"===e.target.id?this.setState({timeZone:e.target.value}):"languageSelection"===e.target.id?this.setState({language:e.target.value}):"timeFormat"===e.target.id?this.setState({timeFormat:e.target.value}):"dateFormat"===e.target.id?this.setState({dateFormat:e.target.value}):"subscriptionLimit"===e.target.id&&this.setState({subscriptionLimit:parseInt(e.target.value)})}},{key:"handleSubmit",value:function(e){e.preventDefault();var t=this.state,n=t.timeZone,o=t.language,i=t.timeFormat,r=t.dateFormat,a=t.subscriptionLimit;this.props.updateSettings(this.props.account._id,{timeZone:n,language:o,timeFormat:i,dateFormat:r}),this.props.context&&"mentor"===this.props.context.role&&this.props.context.config.welcomeStepVisibilities.mentor.mentorshipLimit&&this.props.updateMentorship(this.props.account._id,this.props.context.mentorship._id,{subscriptionLimit:parseInt(a)})}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.isPending,i=t.isSettingsUpdated,r=t.error,a=t.saveButtonLabel,s={part:{marginBottom:"1.5rem"},select:{marginTop:"0.5rem"},message:{textAlign:"center",padding:"2rem"}};return h("form",{onSubmit:function(t){return e.handleSubmit(t)},style:{padding:"1rem"}},void 0,h("div",{style:s.part},void 0,h("b",{},void 0,n.pages.settings.timeZone),y,h("select",{id:"timeZoneSelection",onChange:function(t){return e.onFieldChange(t)},disabled:o,defaultValue:this.state.timeZone,style:s.select},void 0,h("option",{value:"",disabled:!0},void 0,n.pages.settings.selectTimeZone),m.a.map(function(e){return h("optgroup",{label:e.group},e.group,e.zones.map(function(e){return h("option",{value:e.value},e.value,e.name)}))}))),h("div",{style:s.part},void 0,h("b",{},void 0,n.pages.settings.language),_,h("select",{id:"languageSelection",onChange:function(t){return e.onFieldChange(t)},defaultValue:this.state.language,disabled:o,style:s.select},void 0,h("option",{value:"",disabled:!0},void 0,n.pages.settings.selectLanguage),b,w,S,x,A)),h("div",{style:s.part},void 0,h("b",{},void 0,n.pages.settings.timeFormat),P,h("select",{id:"timeFormat",onChange:function(t){return e.onFieldChange(t)},defaultValue:this.state.timeFormat,disabled:o,style:s.select},void 0,h("option",{value:"",disabled:!0},void 0,n.pages.settings.selectFormat),h("option",{value:"12-hour"},void 0,n.pages.settings.hour12),h("option",{value:"24-hour"},void 0,n.pages.settings.hour24))),h("div",{style:s.part},void 0,h("b",{},void 0,n.pages.settings.dateFormat),C,h("select",{id:"dateFormat",onChange:function(t){return e.onFieldChange(t)},defaultValue:this.state.dateFormat,disabled:o,style:s.select},void 0,h("option",{value:"",disabled:!0},void 0,n.pages.settings.selectFormat),h("option",{value:"DD/MM/YYYY"},void 0,n.pages.settings.dayMonthYear),h("option",{value:"MM/DD/YYYY"},void 0,n.pages.settings.monthDayYear))),this.props.context&&"mentor"===this.props.context.role&&this.props.context.config.welcomeStepVisibilities.mentor.mentorshipLimit&&this.props.context.config.routes.admin.includes("subscriptions")&&h("div",{style:s.part},void 0,h("b",{},void 0,n.pages.settings.pairLimit),k,h("input",{id:"subscriptionLimit",value:this.state.subscriptionLimit,type:"number",onChange:function(t){return e.onFieldChange(t)}})),h("div",{style:{textAlign:this.props.onSuccess?"end":"start"}},void 0,h(c.a,{type:"submit",label:a||n.buttonActions.save,secondary:!0,style:g.a.roundedButtonContainer,buttonStyle:g.a.roundedButton,labelStyle:g.a.roundedButtonLabel})),h(p.a,{open:i,message:n.pages.settings.generalSettingsUpdated,autoHideDuration:2e3}),h(p.a,{open:null!=r,message:n.pages.settings.generalSettingsUpdateFailed,autoHideDuration:2e3,bodyStyle:g.a.errorBackground}))}}]),t}(s.a.Component),T=function(e){return{i18n:e.i18n,account:e.session.account,context:e.session.sContext,settings:e.session.settings,error:e.session.updateSettingsError,isPending:e.session.isUpdateSettingsPending,isSettingsUpdated:e.session.isSettingsUpdated}},O={updateSettings:f.j,updateMentorship:f.n};t.a=n.i(l.a)(T,O)(M)},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),c=n(3),d=n(12),p=n.n(d),f=n(17),m=n.n(f),g=n(88),h=n.n(g),v=n(36),y=n.n(v),_=n(29),b=n(380),w=n(15),S=n(236),x=n(197),A=n(73),P=n(103),C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},k=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),M=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),T=function(e){function t(e){r(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),o=e.account,i=o.contactInfo||{};return n.state={webSiteUrl:o.webSiteUrl,imageUrl:o.imageUrl,firstName:o.firstName,lastName:o.lastName,title:o.title,bio:o.bio,skills:o.skills||[],twitterUrl:o.twitterUrl,facebookUrl:o.facebookUrl,linkedInUrl:o.linkedInUrl,videoUrl:o.videoUrl,contactEmail:i.email,phone:i.phone,skype:i.skype,errors:{}},n}return s(t,e),M(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.account,o=t.context,i=t.isAccountUpdated,r=t.onSuccess;!e.isAccountUpdated&&i&&(this.setState({isAccountUpdated:!0}),r?r():o&&window.location.replace("/profile/"+n._id+"?rl="+("mentor"===o.role?"mtr":"mte")))}},{key:"onAvatarChanged",value:function(e){this.props.uploadAvatar(this.props.account._id,e),this.setState({avatarData:e})}},{key:"onSkillStateChange",value:function(e){var t=[].concat(i(this.state.skills));t.indexOf(e)>-1?t.splice(t.indexOf(e),1):t.push(e),t.length>5?this.setState({snackBarMessage:this.props.i18n.pages.settings.skillsLimitReached}):this.setState({skills:t})}},{key:"handleChange",value:function(e){this.setState(o({},e.target.id,e.target.value))}},{key:"handleSubmit",value:function(e){if(e.preventDefault(),this.validateForm()){var t={firstName:this.state.firstName,lastName:this.state.lastName,webSiteUrl:this.state.webSiteUrl,title:this.state.title,bio:this.state.bio,skills:this.state.skills,twitterUrl:this.state.twitterUrl,facebookUrl:this.state.facebookUrl,linkedInUrl:this.state.linkedInUrl,videoUrl:this.state.videoUrl,contactInfo:{email:this.state.contactEmail,phone:this.state.phone,skype:this.state.skype}};this.props.updateAccount(this.props.account._id,t)}}},{key:"validateForm",value:function(){var e=this.props.i18n,t={};return(!this.state.firstName||this.state.firstName.length<2)&&(t.firstName=e.formErrors.firstName),(!this.state.lastName||this.state.lastName.length<2)&&(t.lastName=e.formErrors.lastName),this.setState({errors:t}),!Object.keys(t).length>0}},{key:"render",value:function(){var e=this,t=this.props,o=t.i18n,i=t.context,r=t.commonStyle,a=t.isUpdateAccountPending,s=t.updateAccountError,l=t.updateAvatarError,u=t.isUpdateAvatarPending,c=t.isAvatarUpdated,d=t.showSummary,f=t.additionalButton,g=t.saveButtonLabel,v=A.a.getProfileFieldVisibilities(i),_=!!i&&n.i(P.a)(i.config),M="";this.state.firstName&&this.state.firstName.length>0&&(M+=this.state.firstName[0]),this.state.lastName&&this.state.lastName.length>0&&(M+=this.state.lastName[0]);var T={margin:"0 0 0.5rem 0"};return k("form",{onSubmit:function(t){return e.handleSubmit(t)},style:{padding:"1rem"}},void 0,k("div",{className:p()(r.row)},void 0,k("div",{className:p()(r.col,r.s12,r.m12,r.l4)},void 0,k("div",{style:{position:"relative",textAlign:"center"}},void 0,k(S.a,{i18n:o,imageWidth:320,imageHeight:320,initials:M,imageUrl:this.state.imageUrl,isUploadingImage:u,onImageChange:function(t){return e.onAvatarChanged(t)}}))),k("div",{className:p()(r.col,r.s12,r.m12,r.l8)},void 0,k("div",{className:p()(r.row)},void 0,k("div",{className:p()(r.col,r.s12)},void 0,k("h3",{style:T},void 0,o.pages.settings.profileInfo)),k("div",{className:p()(r.col,r.s6)},void 0,k(y.a,{id:"firstName",type:"text",fullWidth:!0,value:this.state.firstName,hintText:o.formHints.firstName,disabled:this.props.isUpdateAccountPending,errorText:this.state.errors.firstName,onChange:function(t){return e.handleChange(t)}})),k("div",{className:p()(r.col,r.s6)},void 0,k(y.a,{id:"lastName",type:"text",fullWidth:!0,value:this.state.lastName,hintText:o.formHints.lastName,disabled:this.props.isUpdateAccountPending,errorText:this.state.errors.lastName,onChange:function(t){return e.handleChange(t)}})),v.title&&!_&&k("div",{className:p()(r.col,r.s12)},void 0,k(y.a,{id:"title",type:"text",fullWidth:!0,value:this.state.title,hintText:o.formHints.title,disabled:this.props.isUpdateAccountPending,errorText:this.state.errors.title,onChange:function(t){return e.handleChange(t)}})),v.bio&&!_&&k("div",{className:p()(r.col,r.s12)},void 0,k(y.a,{id:"bio",type:"text",fullWidth:!0,multiLine:!0,rows:3,value:this.state.bio,hintText:o.formHints.bio,disabled:this.props.isUpdateAccountPending,errorText:this.state.errors.bio,onChange:function(t){return e.handleChange(t)}}))),v.skills&&!_&&k("div",{className:p()(r.row)},void 0,k("div",{className:p()(r.col,r.s12)},void 0,k("h3",{style:T},void 0,o.pages.settings.skillsTitle)),k("div",{className:p()(r.col,r.s12)},void 0,b.a.sort(function(e,t){return(o.skills[e]||e).localeCompare(o.skills[t]||t)}).map(function(t){return k(x.a,{skill:t,text:o.skills[t]||t,isActive:e.state.skills.indexOf(t)>-1,onToggle:function(t){return e.onSkillStateChange(t)}},t)}))),!d&&k("div",{className:p()(r.row)},void 0,k("div",{className:p()(r.col,r.s12)},void 0,k("h3",{style:T},void 0,o.pages.settings.socialInfo)),k("div",{className:p()(r.col,r.s12)},void 0,k(y.a,{id:"webSiteUrl",type:"text",fullWidth:!0,value:this.state.webSiteUrl,hintText:o.formHints.webSiteUrl,disabled:this.props.isUpdateAccountPending,errorText:this.state.errors.webSiteUrl,onChange:function(t){return e.handleChange(t)}})),k("div",{className:p()(r.col,r.s12)},void 0,k(y.a,{id:"twitterUrl",type:"text",fullWidth:!0,value:this.state.twitterUrl,hintText:o.formHints.twitterUrl,disabled:this.props.isUpdateAccountPending,errorText:this.state.errors.twitterUrl,onChange:function(t){return e.handleChange(t)}})),k("div",{className:p()(r.col,r.s12)},void 0,k(y.a,{id:"facebookUrl",type:"text",fullWidth:!0,value:this.state.facebookUrl,hintText:o.formHints.facebookUrl,disabled:this.props.isUpdateAccountPending,errorText:this.state.errors.facebookUrl,onChange:function(t){return e.handleChange(t)}})),k("div",{className:p()(r.col,r.s12)},void 0,k(y.a,{id:"linkedInUrl",type:"text",fullWidth:!0,value:this.state.linkedInUrl,hintText:o.formHints.linkedInUrl,disabled:this.props.isUpdateAccountPending,errorText:this.state.errors.linkedInUrl,onChange:function(t){return e.handleChange(t)}})),k("div",{className:p()(r.col,r.s12)},void 0,k(y.a,{id:"videoUrl",type:"text",fullWidth:!0,value:this.state.videoUrl,hintText:o.formHints.videoUrl,disabled:this.props.isUpdateAccountPending,errorText:this.state.errors.videoUrl,onChange:function(t){return e.handleChange(t)}}))),!d&&k("div",{className:p()(r.row)},void 0,k("div",{className:p()(r.col,r.s12)},void 0,k("h3",{style:T},void 0,o.pages.settings.contactInfo)),k("div",{className:p()(r.col,r.s12)},void 0,k(y.a,{id:"contactEmail",type:"email",fullWidth:!0,value:this.state.contactEmail,hintText:o.formHints.email,disabled:this.props.isUpdateAccountPending,errorText:this.state.errors.contactEmail,onChange:function(t){return e.handleChange(t)}})),k("div",{className:p()(r.col,r.s12)},void 0,k(y.a,{id:"phone",type:"text",fullWidth:!0,value:this.state.phone,hintText:o.formHints.phoneWithCode,disabled:this.props.isUpdateAccountPending,errorText:this.state.errors.phone,onChange:function(t){return e.handleChange(t)}})),k("div",{className:p()(r.col,r.s12)},void 0,k(y.a,{id:"skype",type:"text",fullWidth:!0,value:this.state.skype,hintText:o.formHints.skype,disabled:this.props.isUpdateAccountPending,errorText:this.state.errors.skype,onChange:function(t){return e.handleChange(t)}}))))),k("div",{className:r.rightAlign},void 0,f&&k(m.a,{onClick:function(){return f.onClick()},label:f.label,style:C({},w.a.roundedButtonContainer,{marginRight:"1rem"}),disabled:a,buttonStyle:C({},w.a.roundedButton)}),k(m.a,{type:"submit",label:g||o.buttonActions.save,secondary:!0,style:w.a.roundedButtonContainer,disabled:a,buttonStyle:w.a.roundedButton,labelStyle:w.a.roundedButtonLabel})),k(h.a,{open:this.state.isAccountUpdated,message:o.pages.settings.infoUpdateSuccessMessage,autoHideDuration:2e3}),k(h.a,{open:null!=s,message:o.pages.settings.infoUpdateError,autoHideDuration:2e3,bodyStyle:w.a.errorBackground}),k(h.a,{open:c,message:o.pages.settings.avatarUploadedMessage,autoHideDuration:2e3}),k(h.a,{open:null!=l,message:o.pages.settings.avatarUploadError,autoHideDuration:2e3,bodyStyle:w.a.errorBackground}),k(h.a,{open:null!=this.state.snackBarMessage,message:this.state.snackBarMessage||"",autoHideDuration:2e3,onRequestClose:function(){return e.setState({snackBarMessage:null})}}))}}]),t}(u.a.Component);T.defaultProps={isAvatarUpdated:!1,updateAvatarError:null,isUpdateAvatarPending:!1,isAccountUpdated:!1,updateAccountError:null,isUpdateAccountPending:!1,onSuccess:null,showSummary:!1,additionalButton:null,saveButtonLabel:null};var O=function(e){return{i18n:e.i18n,account:e.session.account,context:e.session.sContext,settings:e.session.settings,commonStyle:e.commonStyle,updateAccountError:e.session.updateAccountError,isUpdateAccountPending:e.session.isUpdateAccountPending,isAccountUpdated:e.session.isAccountUpdated,updateAvatarError:e.session.updateAvatarError,isUpdateAvatarPending:e.session.isUpdateAvatarPending,isAvatarUpdated:e.session.isAvatarUpdated}},E={uploadAvatar:_.o,updateAccount:_.p};t.a=n.i(c.a)(O,E)(T)},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(306)),r=n.n(i),a=n(34),s=n.n(a),l=n(190),u=n.n(l),c=n(47),d=n.n(c),p=n(32),f=n(15),m=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},h={card:{marginBottom:"1.5rem",overflow:"hidden",borderRadius:"6px",backgroundColor:"#fff"},content:{display:"flex",padding:"1rem",alignItems:"center"},logoContainer:{flex:"0 0 48px",height:32},title:{fontSize:"1.2em",color:"#555",fontWeight:"bold",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},bio:{margin:"0",padding:"0",fontSize:"0.8em",lineHeight:"1.4em"},socialIconsContainer:{marginBottom:"1rem"},socialIcon:{height:"1.2rem",margin:"1rem 1rem 0.5rem 0"}},v=function(e){var t=e.i18n,n=e.onAccept,o=e.onReject,i=e.subscriptionId,a=e.subscriptionStatus,l=e.user,c=e.userType,v=t.components.subscriptionRequestList,y=null;!l.imageUrl&&l.firstName&&l.lastName&&(y=l.firstName[0]+l.lastName[0]);var _=g({},h.card),b=g({},h.content),w=g({},f.a.logoS,{marginRight:"0.5rem"}),S=g({},h.logoContainer),x=g({},h.title),A="mentor"===c?"/profile/"+l._id+"?rl=mtr":"/profile/"+l._id+"?rl=mte";return m(r.a,{zDepth:1,style:_},void 0,m("div",{},void 0,m(p.a,{to:A},void 0,m("div",{style:b},void 0,m("div",{style:S},void 0,m(u.a,{height:f.a.logoL.heightForLazyLoad,offset:100,once:!0},void 0,m(s.a,{src:l.imageUrl||null,style:w},void 0,y))),m("b",{style:x},void 0,l.firstName," ",l.lastName))),n&&o&&"requested"===a&&m("div",{},void 0,m("div",{style:{display:"flex",borderTop:"1px solid whitesmoke"}},void 0,o&&m("div",{style:{flex:1}},void 0,m(d.a,{secondary:!0,fullWidth:!0,label:v.reject,onTouchTap:function(){return o(i)}})),n&&m("div",{style:{flex:1}},void 0,m(d.a,{fullWidth:!0,label:v.accept,onTouchTap:function(){return n(i)}})))),("canceled"===a||"rejected"===a)&&m("div",{},void 0,m("div",{style:{display:"flex",borderTop:"1px solid whitesmoke"}},void 0,m(d.a,{disabled:!0,label:v.expired})))))};v.defaultProps={onAccept:void 0,onReject:void 0},t.a=v},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(34)),r=n.n(i),a=n(15),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),u=function(e){var t=e.user,n=null;return!t.imageUrl&&t.firstName&&t.lastName&&(n=t.firstName[0]+t.lastName[0]),l(r.a,{src:t.imageUrl||null,style:s({},a.a.userAvatar)},void 0,n)};t.a=u},function(e,t,n){"use strict";var o=["academic","accounting","activism","ads","advertising","affiliate-marketing","analytics","apis","ar","art","artificial-intelligence","audit","automotive","b2b","b2c","backend","banking","behavior-change","bidding","big-data","biodiversity","biotechnology","blockchain","blogs","branching","brand","broadcasting","buildings","business","business-administration","business-dev","business-model","business-planning","c2c","chemistry","churn-management","circular-economy","cloud-computing","coding","communications","communities","community-management","construction","content-management","content-marketing","contract-administration","crowdfunding","crowd-sourcing","cryptocurrency","customer-relations","customs","data-science","deep-learning","defense-industry","delivery-services","demodays","design","design-thinking","diabetes","diagnostics","digital-marketing","distribution","drip-marketing","drones","dropshipping","earth-observation","e-commerce","edtech","education","e-learning","electric-cars","elevator-pitch","email-marketing","emea","employee-engagement","energy","entrepreneurship","esports","estate","eu","event-management","executive-coaching","finance","fintech","fmcg","food","foreign-trade","franchising","frontend","funding","fundraising-strategy","game-development","gdpr","gov-relations","grants","graphic-design","growth-hacking","hardware","health","human-resources","ico","idea-proof","indiegogo","innovation","insurance","insuretech","international-sales","investor-relations","iot","ipo","it","kickstarter","landing-pages","law","leadership","lead-generation","lean-startup","life-sciences","machine-learning","management-consulting","marketing","marketing-automations","marketplace","market-research","materials","materials-science","medicine","medtech","mena","mindfulness","mobile-development","motivation","nanotechnology","networking","nutrition","online-games","open-source","organic-foods","organizational-development","patent","payment-systems","pitch-decks","pitching","planning","politics","presentation-design","presentation-skills","press","pricing","privacy","procurement","prod","prod-dev","professional-coaching","project-management","psychology","public-relations","publishing","purchasing","quality","recruitment","renewables","reseller-management","resilience","robotics","saas","sales","satellite-navigation","search-engines","sea-technologies","security","sem","service-design","sharing-economy","shipping","silicon-valley","smart-cities","social-entrepreneurship","social-media","soft-skills","software","software-dev","solar-power","space-tech","sports","statistics","storytelling","strategy","supply-chain","sustainability","talent-management","taxes","team-management","tech","telecom","time-management","tourism","transport","travel","ui","unit-economics","ux","ux-design","ux-research","vc","vegan-foods","viral-marketing","virology","vr","waste","water","wind-power","youtube"];t.a=o},function(e,t,n){"use strict";var o=n(816);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case a._15:switch(t.status){case a.n:return l({},e,{isPendingList:!0,fetchListError:null});case a.o:var n=t.payload.list;return n.sort(u),l({},e,{isPendingList:!1,fetchListError:null,list:[].concat(i(e.list||[]),i(n)),isEndReached:n.length<s.a});case a.p:return l({},e,{isPendingList:!1,fetchListError:t.payload.error});default:return e}case a._16:switch(t.status){case a.n:return l({},e,{pendingList:l({},e.pendingList,o({},t.payload.id,!0))});case a.o:var r=t.payload.item,d=e.detailedList?[].concat(i(e.detailedList)):[];if(r){for(var p=!1,f=0;f<d.length;f+=1)if(d[f]._id===r){d[f]=r,p=!0;break}p||d.push(r)}var m=l({},e.pendingList);return delete m[t.payload.id],l({},e,{detailedList:d,pendingList:m});case a.p:var g=l({},e.pendingList);return delete g[t.payload.id],l({},e,{pendingList:g,errorList:l({},e.errorList,o({},t.payload.id,t.payload.error))});default:return e}case a.D:case a.E:case a.u:return l({},c);case a.G:return t.status===a.o?l({},c):l({},e);default:return e}}var a=n(21),s=n(168);n.d(t,"b",function(){return u}),t.a=r;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u=function(e,t){var n=e.title,o=t.title,i="AaBbCcÇçDdEeFfGgĞğHhIıİiJjKkLlMmNnOoÖöPpQqRrSsŞşTtUuÜüVvWwXxYyZz0123456789";if(0===n.length||0===o.length)return n.length-o.length;for(var r=0;r<n.length&&r<o.length;r+=1){var a=i.indexOf(n[r]),s=i.indexOf(o[r]);if(a!==s)return a-s}return 0},c={list:null,detailedList:null,isPendingList:!1,isEndReached:!1,fetchListError:null,pendingList:{},errorList:{}}},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(80)),a=n(851),s=n(38);n.d(t,"specificResponse",function(){return u});var l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();t.default={path:"/:domain/forms/:id/respond",action:function(e){var t=this,n=e.api,i=e.params,u=e.path,c=e.store;return o(regeneratorRuntime.mark(function e(){var o,d,p,f,m,g,h;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=c.getState(),d=o.session.sContext,p=o.session.account,d&&p){e.next=5;break}return e.abrupt("return",{status:401,title:"Unauthorized",component:l(s.a,{},void 0,l(r.a,{error:{code:401,message:"Unauthorized"},path:u}))});case 5:if(f=null,m=i.id,!(g=o.forms.list)){e.next=17;break}h=0;case 10:if(!(h<g.length)){e.next=17;break}if(g[h]._id!==m){e.next=14;break}return f=g[h],e.abrupt("break",17);case 14:h+=1,e.next=10;break;case 17:if(f){e.next=21;break}return e.next=20,n.getForm(m);case 20:f=e.sent;case 21:return e.abrupt("return",{title:"RespondForm",description:"RespondForm",component:l(s.a,{},void 0,l(a.a,{form:f})),status:200});case 22:case"end":return e.stop()}},e,t)}))()}};var u={path:"/:domain/forms/:id/responses/:responseId",action:function(e){var t=this,n=e.api,i=e.params,u=e.path,c=e.store;return o(regeneratorRuntime.mark(function e(){var o,d,p,f,m,g,h,v;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=c.getState(),d=o.session.sContext,p=o.session.account,d&&p){e.next=5;break}return e.abrupt("return",{status:401,title:"Unauthorized",component:l(s.a,{},void 0,l(r.a,{error:{code:401,message:"Unauthorized"},path:u}))});case 5:if(f=null,m=i.id,!(g=o.forms.list)){e.next=17;break}h=0;case 10:if(!(h<g.length)){e.next=17;break}if(g[h]._id!==m){e.next=14;break}return f=g[h],e.abrupt("break",17);case 14:h+=1,e.next=10;break;case 17:if(f){e.next=21;break}return e.next=20,n.getForm(m);case 20:f=e.sent;case 21:return e.next=23,n.getFormResponse(i.responseId);case 23:return v=e.sent,f.responses=[v],e.abrupt("return",{title:"RespondForm",description:"RespondForm",component:l(s.a,{},void 0,l(a.a,{form:f})),status:200});case 26:case"end":return e.stop()}},e,t)}))()}}},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(88),c=n.n(u),d=n(29),p=n(15),f=n(385),m=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},h=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),v=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={},n}return r(t,e),h(t,[{key:"componentDidUpdate",value:function(){this.props.isGroupCreated&&(this.props.onSuccess?this.props.onSuccess():window.location.replace("/groups/"+this.props.context.group._id))}},{key:"onFormSubmit",value:function(e,t){var n={_type:"reference",_class:"users",_id:this.props.account._id},o=g({},t,{organisation:{_type:"reference",_class:"organisations",_id:this.props.context.organisation._id},createdBy:n,members:[n],status:"active",type:"mentee"});this.props.createGroup(e,o)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.isGroupCreated,i=t.isPending,r=t.error,a=t.additionalButton,s=t.saveButtonLabel;return m("div",{},void 0,m(f.a,{isDisabled:i,onFormSubmit:function(t,n){return e.onFormSubmit(t,n)},additionalButton:a,saveButtonLabel:s}),m(c.a,{open:o,autoHideDuration:2e3,message:n.pages.createGroup.success}),m(c.a,{open:null!=r,autoHideDuration:2e3,bodyStyle:p.a.errorBackground,message:n.pages.createGroup.errorCreate}))}}]),t}(s.a.Component);v.defaultProps={isGroupCreated:!1,isPending:!1,error:null,onSuccess:null,additionalButton:null,saveButtonLabel:null};var y=function(e){return{i18n:e.i18n,account:e.session.account,context:e.session.sContext,error:e.session.createGroupError,isGroupCreated:e.session.isGroupCreated,isPending:e.session.isCreateGroupPending}},_={createGroup:d.m};t.a=n.i(l.a)(y,_)(v)},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return{title:e.title,imageUrl:e.imageUrl,coverUrl:e.coverUrl,webSiteUrl:e.webSiteUrl,twitterUrl:e.twitterUrl,facebookUrl:e.facebookUrl,linkedInUrl:e.linkedInUrl,videoUrl:e.videoUrl,description:e.description,errors:{},similarGroups:[]}}var l=n(0),u=n.n(l),c=n(3),d=n(12),p=n.n(d),f=n(36),m=n.n(f),g=n(182),h=(n.n(g),n(17)),v=n.n(h),y=n(15),_=n(42),b=n(123),w=n(236),S=n(852),x=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},P=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),C=function(e){function t(e){i(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.form=void 0,n.state=s(e.group||{}),n}return a(t,e),P(t,[{key:"componentWillReceiveProps",value:function(e){e.group&&this.setState({imageUrl:e.group.imageUrl,coverUrl:e.group.coverUrl})}},{key:"onImageChanged",value:function(e){this.props.onImageChange&&this.props.onImageChange(e),this.setState({imageData:e})}},{key:"onCoverChanged",value:function(e){this.props.onCoverChange&&this.props.onCoverChange(e)}},{key:"handleChange",value:function(e){var t=this;this.setState(o({},e.target.id,e.target.value)),"title"===e.target.id&&(e.target.value.length>4?window.api.getGroups(this.props.context.organisation._id,0,3,e.target.value,!0).then(function(e){t.setState({similarGroups:e})}):this.setState({similarGroups:[]}))}},{key:"handleSubmit",value:function(e){if(e.preventDefault(),this.validateForm()){var t={title:this.state.title,imageUrl:this.state.imageUrl,coverUrl:this.state.coverUrl,webSiteUrl:this.state.webSiteUrl,twitterUrl:this.state.twitterUrl,facebookUrl:this.state.facebookUrl,linkedInUrl:this.state.linkedInUrl,videoUrl:this.state.videoUrl,description:this.state.description,metadata:this.form.state.values};this.props.onFormSubmit(this.state.imageData,t)}}},{key:"validateForm",value:function(){var e=this.props.i18n,t=e.pages.createGroup,n={};return(!this.state.title||this.state.title.length<3)&&(n.title=t.titleError),(!this.state.description||this.state.description.length<10)&&(n.description=t.descriptionError),this.setState({errors:n}),!Object.keys(n).length>0}},{key:"render",value:function(){var e=this,t=this.props,o=t.i18n,i=t.context,r=t.group,a=t.commonStyle,s=t.isDisabled,l=t.additionalButton,c=t.saveButtonLabel,d=i.config,f=d.metadatas.group,h=r&&"mentor"===r.type,P=h?o.components.editSuite:o.pages.createGroup,C={margin:"0 0 0.5rem 0"},k="";this.state.title&&this.state.title.length>0&&(k=this.state.title[0]);var M={fields:[],version:1};return f&&r&&r.metadata?M.fields=(f||[]).map(function(e){return A({},e,{value:r.metadata[e.id]})}):M.fields=(f||[]).map(function(e){return A({},e)}),x("div",{className:p()(a.container)},void 0,x("form",{onSubmit:function(t){return e.handleSubmit(t)},style:{padding:"1rem"}},void 0,x("div",{className:p()(a.row)},void 0,h&&x("div",{className:p()(a.col,a.s12)},void 0,x("div",{style:{width:"100%",paddingTop:"33.6%",position:"relative",textAlign:"center"}},void 0,x(w.a,{isCover:!0,i18n:o,imageWidth:1500,imageHeight:500,initials:k,isUploadingImage:s,imageUrl:this.state.coverUrl,onImageChange:function(t){return e.onCoverChanged(t)}})))),x("div",{className:p()(a.row)},void 0,x("div",{className:p()(a.col,a.s12,a.m12,a.l4)},void 0,x("div",{style:{position:"relative",textAlign:"center"}},void 0,x(w.a,{i18n:o,imageWidth:320,imageHeight:320,isGroupLogo:!0,initials:k,isUploadingImage:s,imageUrl:this.state.imageUrl,onImageChange:function(t){return e.onImageChanged(t)}}))),x("div",{className:p()(a.col,a.s12,a.m12,a.l8)},void 0,x("div",{className:p()(a.row)},void 0,x("div",{className:p()(a.col,a.s12)},void 0,x("h3",{style:C},void 0,_.a.show(P.groupInfo,d))),x("div",{className:p()(a.col,a.s12)},void 0,x(m.a,{id:"title",type:"text",fullWidth:!0,value:this.state.title,hintText:_.a.show(P.title,d),disabled:s||this.props.group,errorText:this.state.errors.title,onChange:function(t){return e.handleChange(t)}})),x("div",{className:p()(a.col,a.s12)},void 0,x(S.a,{i18n:o,config:d,groups:this.state.similarGroups})),x("div",{className:p()(a.col,a.s12)},void 0,x(m.a,{id:"webSiteUrl",type:"text",fullWidth:!0,value:this.state.webSiteUrl,hintText:o.formHints.webSiteUrl,disabled:s,errorText:this.state.errors.webSiteUrl,onChange:function(t){return e.handleChange(t)}})),x("div",{className:p()(a.col,a.s12)},void 0,x(m.a,{id:"description",type:"text",fullWidth:!0,multiLine:!0,rows:10,value:this.state.description,hintText:_.a.show(P.description,d),disabled:s,errorText:this.state.errors.description,onChange:function(t){return e.handleChange(t)}}))),x("div",{className:p()(a.row)},void 0,x("div",{className:p()(a.col,a.s12)},void 0,x("h3",{style:C},void 0,_.a.show(P.socialInfo,d))),x("div",{className:p()(a.col,a.s12)},void 0,x(m.a,{id:"twitterUrl",type:"text",fullWidth:!0,value:this.state.twitterUrl,hintText:o.formHints.twitterUrl,disabled:s,errorText:this.state.errors.twitterUrl,onChange:function(t){return e.handleChange(t)}})),x("div",{className:p()(a.col,a.s12)},void 0,x(m.a,{id:"facebookUrl",type:"text",fullWidth:!0,value:this.state.facebookUrl,hintText:o.formHints.facebookUrl,disabled:s,errorText:this.state.errors.facebookUrl,onChange:function(t){return e.handleChange(t)}})),x("div",{className:p()(a.col,a.s12)},void 0,x(m.a,{id:"linkedInUrl",type:"text",fullWidth:!0,value:this.state.linkedInUrl,hintText:o.formHints.linkedInUrl,disabled:s,errorText:this.state.errors.linkedInUrl,onChange:function(t){return e.handleChange(t)}})),h&&x("div",{className:p()(a.col,a.s12)},void 0,x(m.a,{id:"videoUrl",type:"text",fullWidth:!0,value:this.state.videoUrl,hintText:o.formHints.videoUrl,disabled:s,errorText:this.state.errors.videoUrl,onChange:function(t){return e.handleChange(t)}}))),x("div",{className:p()(a.row)},void 0,M.fields&&M.fields.length>0&&x("div",{className:p()(a.col,a.s12)},void 0,x("h3",{style:C},void 0,_.a.show(P.additionalFields,d))),x("div",{className:p()(a.col,a.s12)},void 0,u.a.createElement(g.Form,{ref:function(t){e.form=t},language:n.i(b.c)(this.props.language),fields:M.fields,loading:this.props.isGroupPending}))),x("div",{className:a.rightAlign},void 0,l&&x(v.a,{onClick:function(){return l.onClick()},label:l.label,style:A({},y.a.roundedButtonContainer,{marginRight:"1rem"}),disabled:s,buttonStyle:A({},y.a.roundedButton)}),x(v.a,{type:"submit",label:c||o.buttonActions.save,secondary:!0,style:y.a.roundedButtonContainer,disabled:s,buttonStyle:y.a.roundedButton,labelStyle:y.a.roundedButtonLabel}))))))}}]),t}(u.a.Component);C.defaultProps={isDisabled:!1,additionalButton:null,saveButtonLabel:null,group:null,onImageChange:null,onCoverChange:null};var k=function(e){return{i18n:e.i18n,commonStyle:e.commonStyle,context:e.session.sContext,language:e.session.language,isGroupPending:e.session.isUpdateGroupPending}};t.a=n.i(c.a)(k)(C)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(88),c=n.n(u),d=n(29),p=n(15),f=n(385),m=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),g=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),h=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={},n}return r(t,e),g(t,[{key:"componentDidUpdate",value:function(){this.props.isGroupUpdated&&(this.props.isWelcomeStepper?this.props.onSuccess():window.location.replace("/groups/"+this.props.group._id))}},{key:"onFormSubmit",value:function(e,t){this.props.updateGroup(this.props.group._id,t)}},{key:"onImageChange",value:function(e){this.props.uploadGroupImage(this.props.group._id,e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.isGroupUpdated,i=t.group,r=t.isPending,a=t.error,s=t.isUpdateGroupImagePending,l=t.updateGroupImageError,u=t.isGroupImageUpdated,d=t.saveButtonLabel;return m("div",{},void 0,m(f.a,{group:i,isDisabled:r||s,onImageChange:function(t){return e.onImageChange(t)},onFormSubmit:function(t,n){return e.onFormSubmit(t,n)},saveButtonLabel:d}),m(c.a,{open:o,autoHideDuration:2e3,message:n.pages.createGroup.successEdit}),m(c.a,{open:null!=a,autoHideDuration:2e3,bodyStyle:p.a.errorBackground,message:n.pages.createGroup.errorEdit}),m(c.a,{open:u,autoHideDuration:2e3,message:n.pages.createGroup.successEditImage}),m(c.a,{open:null!=l,autoHideDuration:2e3,bodyStyle:p.a.errorBackground,message:n.pages.createGroup.errorEditImage}))}}]),t}(s.a.Component);h.defaultProps={isGroupUpdated:!1,isPending:!1,error:null,isGroupImageUpdated:!1,updateGroupImageError:null,isUpdateGroupImagePending:!1,isWelcomeStepper:!1};var v=function(e){return{i18n:e.i18n,group:e.session.sContext.group,updateGroupImageError:e.session.updateGroupImageError,isUpdateGroupImagePending:e.session.isUpdateGroupImagePending,isGroupImageUpdated:e.session.isGroupImageUpdated,error:e.session.updateGroupError,isGroupUpdated:e.session.isGroupUpdated,isPending:e.session.isUpdateGroupPending}},y={updateGroup:d.k,uploadGroupImage:d.l};t.a=n.i(l.a)(v,y)(h)},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(858)),a=n(38),s=n(80),l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),u=function(){var e=o(regeneratorRuntime.mark(function e(t){var n,o=t.params,i=t.store,u=t.path;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=i.getState(),e.abrupt("return",{title:n.i18n.pages.explore.title,component:l(a.a,{path:u},void 0,l(r.a,{subRoute:o.subRoute}))});case 5:return e.prev=5,e.t0=e.catch(0),e.abrupt("return",{title:"Error",component:l(a.a,{},void 0,l(s.a,{error:e.t0}))});case 8:case"end":return e.stop()}},e,this,[[0,5]])}));return function(t){return e.apply(this,arguments)}}();t.default={default:{path:"/explore",action:u},subRoute:{path:"/explore/:subRoute",action:u}}},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(859)),a=n(38),s=n(80),l=n(247),u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),c=function(){var e=o(regeneratorRuntime.mark(function e(t){var o,i,c,d,p,f,m,g=t.api,h=t.next,v=t.params,y=t.store,_=t.path;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,o=y.getState(),i=o.session,c=null,d=v.id,!(p=o.groups.list)){e.next=15;break}f=0;case 8:if(!(f<p.length)){e.next=15;break}if(p[f]._id!==d){e.next=12;break}return c=p[f],e.abrupt("break",15);case 12:f+=1,e.next=8;break;case 15:if(c||(m=o.session.sContext)&&m.group&&m.group._id===d&&(c=m.group),c){e.next=20;break}return e.next=19,g.getGroup(d);case 19:c=e.sent;case 20:return e.next=22,n.i(l.a)(g,y,i,"",c.organisation._id);case 22:return e.abrupt("return",{title:c.title,component:u(a.a,{path:_},void 0,u(r.a,{group:c,subRoute:v.subRoute}))});case 25:if(e.prev=25,e.t0=e.catch(0),404!==e.t0.statusCode){e.next=29;break}return e.abrupt("return",h());case 29:return e.abrupt("return",{title:"Error",component:u(a.a,{},void 0,u(s.a,{error:e.t0}))});case 30:case"end":return e.stop()}},e,this,[[0,25]])}));return function(t){return e.apply(this,arguments)}}();t.default={default:{path:"/groups/:id",action:c},subRoute:{path:"/groups/:id/:subRoute",action:c}}},function(e,t,n){"use strict";function o(e){var t=e.language;return a("div",{},void 0,s,l,u,a("mentornity-login-page-wrapper",{language:t}))}var i=n(0),r=(n.n(i),n(3)),a=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),s=a("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),l=a("link",{href:"https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap",rel:"stylesheet"}),u=a("link",{rel:"stylesheet",href:"https://unicons.iconscout.com/release/v4.0.8/css/line.css"});t.a=n.i(r.a)(function(e){return{language:e.session.language}},{})(o)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(36),c=n.n(u),d=n(17),p=n.n(d),f=n(15),m=n(29),g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},h=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),v=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),y=function(e){return/^([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)$/.test(e)},_=h("br",{}),b=h("br",{}),w=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={email:"",errors:{}},n}return r(t,e),v(t,[{key:"handleChange",value:function(e){var t=Object.assign({},this.state);t[e.target.id]=e.target.value,this.setState(t)}},{key:"handleSubmit",value:function(e){e.preventDefault(),this.validateForm()&&this.props.onSubmit(this.state.email.trim().toLowerCase(),this.state.password)}},{key:"validateForm",value:function(){var e={},t=(this.state.email||"").trim().toLowerCase();t&&y(t)||(e.email=this.props.i18n.pages.login.errors.email);var n=(this.state.password||"").trim();return(!n||n.length<6)&&(e.password=this.props.i18n.pages.login.errors.password),this.setState({errors:e}),0===Object.keys(e).length}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.submitButtonLabel,i=t.disabled;return h("form",{onSubmit:function(t){return e.handleSubmit(t)}},void 0,h(c.a,{id:"email",type:"text",fullWidth:!0,value:this.state.email,hintText:n.formHints.email,disabled:i,errorText:this.state.errors.email,onChange:function(t){return e.handleChange(t)}})," ",_,h(c.a,{id:"password",type:"password",fullWidth:!0,value:this.state.password,disabled:i,hintText:n.formHints.password,errorText:this.state.errors.password,onChange:function(t){return e.handleChange(t)}})," ",b,h(p.a,{type:"submit",fullWidth:!0,secondary:!0,disabled:i,label:o||n.pages.login.submit,style:g({},f.a.semiRoundedButtonContainer,{margin:"12px 0"}),buttonStyle:f.a.semiRoundedButton,labelStyle:f.a.semiRoundedButtonLabel}))}}]),t}(s.a.Component);w.defaultProps={disabled:!1,submitButtonLabel:void 0};var S=function(e){return{i18n:e.i18n,error:e.session.loginError,isLoggedIn:e.session.isLoggedIn,isPending:e.session.isLoginPending,stickyMessage:e.stickyMessage.message}},x={login:m.t};t.a=n.i(l.a)(S,x)(w)},function(e,t,n){"use strict";var o=n(12),i=n.n(o),r=n(18),a=n.n(r),s=n(17),l=n.n(s),u=n(0),c=(n.n(u),n(63)),d=n.n(c),p=n(373),f=n(15),m=n(16),g=n(1334),h=n.n(g),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},y=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),_=y("br",{}),b=function(e){var t=e.i18n,n=e.commonStyle,o=e.trimInfo,r=e.disableSkew,a={coverStyle:{backgroundImage:""},title:{margin:0,marginTop:0},description:{marginTop:"0.9rem",lineHeight:"1.3rem",maxWidth:"720px"},socialIcon:{height:"1.4rem",margin:"2rem 0.5rem 0.5rem 0"},applyButton:{width:"128px"}},s=e.organisation,u=s.coverUrl||" ";a.coverStyle.backgroundImage="url("+u+")",a.coverStyle.height="500px";var c=s.description;o&&c.length>500&&(c=c.slice(0,500)+"...");var g=s.linkedInUrl||s.twitterUrl||s.facebookUrl||s.webSiteUrl,b=s.applicationUrl,w=r?n.coverSection:i()(n.skewedSection,n.skewedSectionNarrow);return y("div",{className:w,style:{paddingBottom:"20px"}},void 0,y("div",{className:(r?n.coverBackground:h.a.headerContainer)+" "+h.a.coverContainer,style:{marginTop:"-1rem"}},void 0,y("div",{className:r?n.coverImage:h.a.headerBackground,style:a.coverStyle})),y("div",{className:n.container,style:{marginTop:"2rem"}},void 0,y("div",{className:i()(n.row,h.a.infoTable)},void 0,y("div",{className:i()(n.col,n.s12)},void 0,y("h1",{style:a.title},void 0,s.title),y(d.a,{className:"markdown-content",source:c,escapeHtml:!1})),y("div",{className:i()(h.a.avatarContainer,n.col)},void 0,y(p.a,{organisation:s,size:"xxlarge"}),g&&y("div",{},void 0,s.linkedInUrl&&y("a",{href:m.a.externalLink(s.linkedInUrl),target:"_blank",rel:"noopener noreferrer"},void 0,y("img",{style:a.socialIcon,src:"/icons/linkedin.svg",alt:"linkedin"})),s.twitterUrl&&y("a",{href:m.a.externalLink(s.twitterUrl),target:"_blank",rel:"noopener noreferrer"},void 0,y("img",{style:a.socialIcon,src:"/icons/twitter.svg",alt:"twitter"})),s.facebookUrl&&y("a",{href:m.a.externalLink(s.facebookUrl),target:"_blank",rel:"noopener noreferrer"},void 0,y("img",{style:a.socialIcon,src:"/icons/facebook.svg",alt:"facebook"})),s.webSiteUrl&&y("a",{href:m.a.externalLink(s.webSiteUrl),target:"_blank",rel:"noopener noreferrer"},void 0,y("img",{style:a.socialIcon,src:"/icons/web.svg",alt:"facebook"})),_,e.showApplyButton&&b&&y(l.a,{label:t.buttonActions.apply,secondary:!0,href:b,style:v({},f.a.applyButton,{marginTop:"1rem"}),buttonStyle:f.a.semiRoundedButton}))))))};b.defaultProps={trimInfo:!1,disableSkew:!1,showApplyButton:!1},t.a=a()(h.a)(b)},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(896)),a=n(38),s=(n(80),function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}()),l=function(){var e=o(regeneratorRuntime.mark(function e(t){var n,o,i,l=t.params,u=t.store;t.path;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=u.getState(),o=n.session.sContext,i=n.session.account,e.abrupt("return",{title:"Settings",component:s(a.a,{},void 0,s(r.a,{subRoute:l.subRoute}))});case 4:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}();t.default={default:{path:"/settings",action:l},subRoute:{path:"/settings/:subRoute",action:l}}},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n.n(i),a=n(38),s=n(169),l=n(80),u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),c=function(){var e=o(regeneratorRuntime.mark(function e(t){var o,i,c,d=t.params,p=(t.store,t.path),f=(t.query,t.api);return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,"/terms"!==p){e.next=6;break}return e.next=4,n.e(0).then(function(e){return n(1711)}.bind(null,n)).catch(n.oe);case 4:return o=e.sent,e.abrupt("return",{title:o.title,chunk:"terms",component:u(a.a,{path:"/terms"},void 0,r.a.createElement(s.a,o))});case 6:return e.next=8,f.getOrganisationConfig(d.organisationId);case 8:return i=e.sent,c={component:"ContentPage",content:i.terms},e.abrupt("return",{title:"Organisation Terms",component:u(a.a,{path:p},void 0,r.a.createElement(s.a,c))});case 13:return e.prev=13,e.t0=e.catch(0),e.abrupt("return",{title:"Error",component:u(a.a,{},void 0,u(l.a,{error:e.t0.data}))});case 16:case"end":return e.stop()}},e,this,[[0,13]])}));return function(t){return e.apply(this,arguments)}}();t.default={default:{path:"/terms",action:c},subRoute:{path:"/terms/:organisationId/organisation",action:c}}},function(e,t,n){"use strict";function o(e){return e&&e.participants&&2===e.participants.length}function i(e,t){if(o(t))return e._id===t.participants[0]._id?t.participants[1]:t.participants[0]}function r(e,t){if(!e||!t)return!1;for(var n=t.domain,o=e._roles,i=0;i<o.length;i+=1){var r=o[i].split("@");if(r.length>0&&"mentee"===r[0]&&r[1]===n)return!0}return!1}function a(e,t){if(!e||!t||!t.members)return!1;for(var n=0;n<t.members.length;n+=1)if(t.members[n]._id===e._id)return!0;return!1}t.c=o,t.a=i,t.d=r,t.b=a},function(e,t,n){"use strict";t.a={shouldShowFollowButton:function(e,t,n,o,i){var r="group"===n.menteeType,a=!r||i,s="implicit"===n.mentorMenteeSubscription,l=o||s;return"mentee"===e&&"mentor"===t&&!!l&&!!a},shouldShowSendMessageButton:function(e,t,n,o){var i=n.conversationPermissions;return!!i&&(!!n.conversationsEnabled&&("none"!==i[e]&&("everyone"===i[e]||(!("subscribedOnly"!==i[e]||!o)||("mentor"===t&&"allMentors"===i[e]||"mentee"===t&&"allMentees"===i[e])))))}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var o=n(1194),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1201),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1204),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(41)),a=n.n(r),s=n(1609),l=n.n(s),u=n(1697),c=n.n(u),d=n(1503),p=n.n(d),f=n(300),m=(n.n(f),n(656)),g=n.n(m),h=n(1510),v=n.n(h),y=n(142),_=n(39),b=n(733),w=n(897),S=n(813),x=n(814),A=(n.n(x),n(33)),P=n(81),C=n(728),k=n(731),M=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},O=function(){var e=o(regeneratorRuntime.mark(function e(t,n){var o,i,r,s,l,u,d,f,m;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return N[U.key]={scrollX:window.pageXOffset,scrollY:window.pageYOffset},"PUSH"===n&&delete N[t.key],U=t,I.store&&I.store.getState()&&(o=I.store.getState(),(i=o.runtime?o.runtime.ravenUrl:null)&&v.a.config(i).install()),e.prev=4,r=null,I.store&&I.store.getState()&&(s=I.store.getState(),(l=s.session)&&(r=l.whiteLabel,A.a.setLocale(l.language),A.a.setTimeZone(l.timeZone),A.a.setTimeFormat(l.timeFormat),A.a.setDateFormat(l.dateFormat),u=s.runtime?s.runtime.relayEndpoint:void 0,y.a.setEndpoint(u),v.a&&v.a.setUserContext&&s.session&&s.session.account&&v.a.setUserContext({user:{id:s.session.account._id,email:s.session.account.email}}))),d=t.search,f=t.pathname.indexOf("?"),!d&&f>0&&(d=t.pathname.substring(f,t.pathname.length)),e.next=12,c.a.resolve(B,T({},I,{path:t.pathname,query:p.a.parse(d)}));case 12:if(m=e.sent,U.key===t.key){e.next=15;break}return e.abrupt("return");case 15:if(!m.redirect){e.next=18;break}return _.a.replace(m.redirect),e.abrupt("return");case 18:L=a.a.render(M(b.a,{context:I,whiteLabel:r},void 0,m.component),F,function(){return R(m,t)}),e.next=31;break;case 21:e.prev=21,e.t0=e.catch(4),e.next=28;break;case 28:v.a&&v.a.captureException(e.t0),console.error(e.t0),n&&U.key===t.key&&window.location.reload();case 31:case"end":return e.stop()}},e,this,[[4,21]])}));return function(t,n){return e.apply(this,arguments)}}(),E=n.i(C.a)(window.APP_STATE.runtime.endpoint,{accessToken:g.a.load([P.a.PARAM_ACCESS_TOKEN]),sessionToken:g.a.load([P.a.PARAM_SESSION_TOKEN])});n.i(k.a)(E);var I={insertCss:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map(function(e){return e._insertCss()});return function(){o.forEach(function(e){return e()})}},store:n.i(w.a)(window.APP_STATE,{api:E,history:_.a,cookie:g.a}),api:E},N={};window.history&&"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var D=function(e){g.a&&g.a.load&&g.a.load(P.a.PARAM_SESSION_TOKEN)},j=function(){if(g.a&&g.a.load&&g.a.load(P.a.PARAM_SESSION_TOKEN)){g.a.load(P.a.PARAM_SESSION_TOKEN_INCREMENTED)||P.a.save(P.a.PARAM_SESSION_TOKEN_INCREMENTED,!0,null)}},R=function(e,t){var o=document.getElementById("css");o&&o.parentNode.removeChild(o),j(),D(n.i(f.createPath)(t)),R=function(e,t){document.title=e.title,n.i(S.a)("description",e.description);var o=0,i=0,r=N[t.key];if(r)o=r.scrollX,i=r.scrollY;else{var a=t.hash.substr(1);if(a){var s=document.getElementById(a);s&&(i=window.pageYOffset+s.getBoundingClientRect().top)}}window.scrollTo(o,i),window.ga&&window.ga("send","pageview",n.i(f.createPath)(t)),D(n.i(f.createPath)(t))}};l()();var F=document.getElementById("app"),L=void 0,U=_.a.location,B=n(867).default;_.a.listen(O),O(U)},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function o(e){return{type:i.a,payload:{style:e}}}var i=n(21);t.a=o},function(e,t,n){"use strict";function o(){return function(e,t){var n=t.api;e({type:i._37,status:i.n,payload:{}}),n.getExploreOrganisations().then(function(t){e({type:i._37,status:i.o,payload:{list:t}})},function(t){return e({type:i._37,status:i.p,payload:{error:t}})})}}var i=n(21);t.a=o},function(e,t,n){"use strict";function o(e,t,n){return function(o,r){var a=r.api;o({type:i._36,status:i.n,payload:{id:e}}),a.getFeed(e,t,n).then(function(t){o({type:i._36,status:i.o,payload:{id:e,list:t}})},function(e){return o({type:i._36,status:i.p,payload:{error:e}})})}}var i=n(21);t.a=o},function(e,t,n){"use strict";function o(e,t,n){return function(o,r){var a=r.api;o({type:i._38,status:i.n,payload:{id:n}}),a.getProfileWithOrganisation(e,t,n).then(function(e){o({type:i._38,status:i.o,payload:{id:n,item:e}})},function(e){return o({type:i._38,status:i.p,payload:{id:n,error:e}})})}}var i=n(21);t.a=o},function(e,t,n){"use strict";function o(){return{type:i._18}}var i=n(21);t.a=o},function(e,t,n){"use strict";function o(e,t){return function(n){n({type:i.N,payload:{userId:e,status:t}})}}var i=n(21);t.a=o},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=n(727),r=n(730),a=n(168);n.d(t,"a",function(){return u});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),u=function(){function e(t){var l=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.base=new i.a,this.headers={},this.uploadFile=function(e){return l.base.uploadFile(e)},this.setHeader=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.base=new i.a(l.endpoint,s({},l.headers,e))},this.getAppConfig=function(){return l.base.get("appconfig")},this.login=function(e,t,n){return l.base.post("login",{email:e,password:t,client:n})},this.getSessionData=function(e,t,n){return l.base.get("sessionData",{domain:e,contextId:n,pickFirst:t})},this.getPrograms=function(e){return l.base.get("programs",{domain:e})},this.setSessionStatus=function(e,t){return l.base.put(a.b.sessions+"/"+e,{status:t})},this.incrementSessionCount=function(e){return l.base.post("sessions/"+e+"/incrementSessionCount",{})},this.resetPassword=function(e){return l.base.post("password/reset",{email:e})},this.setPassword=function(e,t){return l.base.post("password/set",{newPassword:e,resetPasswordToken:t})},this.validateAccess=function(e){return l.base.post("password/validate-access",{resetPasswordToken:e})},this.updateUserSettings=function(e,t){return l.base.post("users/"+e+"/settings/update",t)},this.setWelcomeStatus=function(e,t){return l.base.post("memberships/"+e+"/welcomeStatus",{isWelcomeCompleted:t})},this.changePassword=function(e){return l.base.post("password/change",e)},this.changeEmail=function(e){return l.base.post("email/change",e)},this.getGoogleOAuthURL=function(){return l.base.get("googleAuthUrl")},this.getMicrosoftOAuthURL=function(){return l.base.get("microsoftAuthUrl")},this.getMicrosoftBusinessOAuthURL=function(){return l.base.get("microsoftBusinessAuthUrl")},this.getZoomOAuthURL=function(){return l.base.get("zoomAuthUrl")},this.saveOAuth=function(e,t,n){return l.base.put("users/"+e+"/auth/"+n,t)},this.registerOAuth=function(e,t){return l.base.post("register/"+t,e)},this.loginOAuth=function(e,t){return l.base.post("login/"+t,e)},this.removeOAuth=function(e,t){return l.base.delete("users/"+e+"/auth/"+t)},this.getPasswordAuthOfUser=function(e){return l.base.get("users/"+e+"/passwordauth")},this.getConsentPendingPolicies=function(e){return l.base.get("users/"+e+"/cpp")},this.saveConsentForPolicy=function(e,t,n){return l.base.post("users/"+e+"/consents",{policyId:t,page:n})},this.getPrivacyPolicy=function(e){return l.base.get("policies/privacy-policy",{language:e})},this.getCookiePolicy=function(e){return l.base.get("policies/cookie-policy",{language:e})},this.getInvitation=function(e){return l.base.get(a.b.invitations+"/"+e,{expand:"organisation,invitee"})},this.acceptInvitation=function(e,t){return l.base.post("invitations/"+e+"/accept",{password:t})},this.getUser=function(e){return l.base.get(a.b.users+"/"+e)},this.updateUser=function(e,t){return l.base.put(a.b.users+"/"+e,t)},this.getProfileWithOrganisation=function(e,t,n){return l.base.get(a.b.organisations+"/"+e+"/"+t+"/"+n)},this.getMentors=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:a.a;return n.i(r.a)(l.base.get(a.b.organisations+"/"+e+"/mentors",s({skip:i,limit:c,search:t,skills:o},u)))},this.getSelectionMentors=function(e){return l.base.get(a.b.organisations+"/"+e+"/mentors/selection")},this.getMentees=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:a.a;return n.i(r.a)(l.base.get(a.b.organisations+"/"+e+"/mentees",s({skip:i,limit:c,search:t,skills:o},u)))},this.getMetadata=function(e,t,n){return l.base.get(a.b.organisations+"/"+e+"/"+t+"/"+n+"/metadata")},this.updateMetadata=function(e,t){return l.base.put(a.b.metadatas+"/"+e,t)},this.getOrganisation=function(e){return l.base.get(a.b.organisations+"/"+e)},this.getExploreOrganisations=function(){return n.i(r.a)(l.base.get("explore/organisations"))},this.getOrganisationWithDomain=function(e){return l.base.get(a.b.organisations+"/domain/"+e)},this.getOrganisationConfig=function(e){return l.base.get("organisations/"+e+"/config")},this.getOrganisationSAMLConfig=function(e){return l.base.get("organisations/"+e+"/saml-config")},this.getOrganisationWhiteLabel=function(e){return l.base.get("organisations/"+e+"/whitelabel")},this.getUnavailabilitiesOfUser=function(e,t,n,o){var i=o.role,r=o.userId,a=o.groupId,s="group"===o.config.menteeType,u="mentor"===i&&e===r,c="mentor"===i&&e!==r,d="mentee"===i&&e===r,p="mentee"===i&&e!==r,f="mentors";u||p?f="mentors":(d||c)&&(f=s?"groups":"mentees");var m=e;return d&&s&&(m=a),l.base.get("organisations/"+o.organisation._id+"/"+f+"/"+m+"/unavailabilities",{_startTime:t,_endTime:n})},this.updateMentorship=function(e,t){return l.base.put(a.b.mentorships+"/"+e,t)},this.createAvailability=function(e){return l.base.post(a.b.availabilities,e)},this.cancelAvailability=function(e){return l.base.post(a.b.availabilities+"/"+e+"/cancel")},this.getAvailabilities=function(e,t){return n.i(r.a)(l.base.get(a.b.organisations+"/"+e+"/mentors/"+t+"/availabilities",{skip:0,limit:1e4}))},this.createSubscription=function(e){return l.base.post(a.b.subscriptions,e)},this.deleteSubscription=function(e){return l.base.delete(a.b.subscriptions+"/"+e)},this.completeSubscription=function(e){return l.base.post("subscriptions/"+e+"/complete")},this.acceptSubscriptionRequest=function(e){return l.base.post("subscriptions/"+e+"/accept")},this.rejectSubscriptionRequest=function(e){return l.base.post("subscriptions/"+e+"/reject")},this.followUnfollowSubscription=function(e,t){return l.base.post("subscriptions/"+e+"/"+t)},this.getFeed=function(e,t,o){return n.i(r.a)(l.base.get(a.b.organisations+"/"+e+"/activities",{limit:t,skip:o}))},this.createEvent=function(e){return l.base.post(a.b.events,e)},this.getEvent=function(e,t){return l.base.get(a.b.events+"/"+e,{expand:t||""})},this.updateEvent=function(e,t){return l.base.put(a.b.events+"/"+e,t)},this.cancelEvent=function(e,t){return l.base.post("events/"+e+"/cancel",t)},this.getUsersMeetingsChronologically=function(e,t,o){return n.i(r.a)(l.base.get(a.b.users+"/"+e+"/events",{organisationId:t,skip:o,limit:2*a.a,appendFeedbacks:!0}))},this.getGroupsMeetingsChronologically=function(e,t){return n.i(r.a)(l.base.get(a.b.groups+"/"+e+"/events",{skip:t,limit:a.a,appendFeedbacks:!0}))},this.getSuitesMeetingsChronologically=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return n.i(r.a)(l.base.get(a.b.organisations+"/"+e+"/suites/"+t+"/meetings",{skip:o,limit:a.a}))},this.fetchUpcomingMeetings=function(e,t,o,i){return n.i(r.a)(l.base.get(a.b.organisations+"/"+e+"/"+t+"/"+o+"/meetings",{startDate:i,status:"active"}))},this.getMeetingsOfUserOrGroup=function(e,t,o){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return n.i(r.a)(l.base.get(a.b.organisations+"/"+e+"/"+t+"/"+o+"/meetings",{skip:i,limit:a.a,sort:"-startDate"}))},this.getMeetingsOfGroup=function(e,t,o){return n.i(r.a)(l.base.get(a.b.organisations+"/"+e+"/groups/"+t+"/meetings",{startDate:o,status:"active"}))},this.getMeetingsInMeetingGoal=function(e){return n.i(r.a)(l.base.get("organisations/"+e+"/meetingsInMeetingGoal"))},this.getGroupEventBundleList=function(e,t){return n.i(r.a)(l.base.get("groups/"+t+"/eventBundleList","",{organisationId:e,groupId:t}))},this.getOrganisationCalendar=function(e,t,o){return n.i(r.a)(l.base.get("organisations/"+e+"/calendar",{startDate:parseInt(t,10),endDate:parseInt(o,10)}))},this.getNotesOfEvent=function(e){return n.i(r.a)(l.base.get("events/"+e+"/notes"))},this.createMeetingNote=function(e){return l.base.post(a.b.notes,e)},this.updateNote=function(e,t){return l.base.put(a.b.notes+"/"+e,t)},this.deleteNote=function(e){return l.base.delete(a.b.notes+"/"+e)},this.createGroup=function(e){return l.base.post(a.b.groups,e)},this.getGroup=function(e){return l.base.get(a.b.groups+"/"+e)},this.updateGroup=function(e,t){return l.base.put(a.b.groups+"/"+e,t)},this.getGroups=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return n.i(r.a)(l.base.get(a.b.organisations+"/"+e+"/groups",{skip:t,limit:o,title:i,expandCreatedBy:s}))},this.getSuites=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return n.i(r.a)(l.base.get(a.b.organisations+"/"+e+"/suites",{skip:t,limit:o,title:i,expandCreatedBy:s}))},this.addGroupMember=function(e,t){return l.base.post("groups/"+e+"/members/append",{items:[{_type:"reference",_class:"users",_id:t}]})},this.getGroupOfUser=function(e,t,o){return n.i(r.b)(l.base.get(a.b.groups,{expand:o||"",where:JSON.stringify({$and:[{members:{$elemMatch:{_id:e}}},{"organisation._id":{$eq:t}}]})}))},this.getAnnouncements=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.a;return n.i(r.a)(l.base.get(a.b.organisations+"/"+e+"/announcements",{skip:o,limit:i,role:t}))},this.getForms=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.a;return n.i(r.a)(l.base.get(a.b.organisations+"/"+e+"/"+a.b.forms,{skip:o,limit:i,role:t}))},this.getAssignedForms=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.a;return n.i(r.a)(l.base.get(a.b.organisations+"/"+e+"/"+a.b.forms+"/assigned",{skip:o,limit:i,role:t}))},this.getForm=function(e){return l.base.get(a.b.forms+"/"+e)},this.getFormResponse=function(e){return l.base.get(a.b.formResponses+"/"+e,{expand:"data(relevantReference)"})},this.createFormResponse=function(e){return l.base.post(a.b.formResponses,e)},this.updateFormResponse=function(e,t){return l.base.put(a.b.formResponses+"/"+e,t)},this.getPrePostMeetingFormResponses=function(e,t,o){return n.i(r.b)(l.base.get(a.b.events+"/"+t+"/formResponses/"+o,{createdBy:e}))},this.createConversation=function(e){return l.base.post(a.b.conversations,e)},this.getConversations=function(){return n.i(r.a)(l.base.get(a.b.conversations))},this.createMessage=function(e,t){return l.base.post("conversations/"+e+"/messages",{content:t})},this.conversationMarkAsRead=function(e){return l.base.post("messages/"+e+"/markRead")},this.getMessagesOfConversation=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n.i(r.a)(l.base.get("conversations/"+e+"/messages",{skip:t,limit:20,sort:"-createdAt"}))},this.getNewMessages=function(e){return n.i(r.a)(l.base.get(a.b.messages,{lastMessageCreatedAt:e}))},this.endpoint=t,this.headers=u,this.base=new i.a(t,u)}return l(e,[{key:"getFilesEndpoint",value:function(){return this.base.getFilesEndpoint()}}]),e}()},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=n(702),r=n.n(i),a=n(729);n.d(t,"a",function(){return c});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),u={Accept:"application/json","Content-Type":"application/json"},c=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.headers={},this.filesEndpoint=t+"/files",this.axios=r.a.create({baseURL:t,headers:s({},u,n)})}return l(e,[{key:"getFileAckEndpoint",value:function(){return this.filesEndpoint+"/xlsx"}},{key:"getFilesEndpoint",value:function(){return this.filesEndpoint}},{key:"post",value:function(e,t){return this.send("post","/"+e,t)}},{key:"put",value:function(e,t){return this.send("put","/"+e,t)}},{key:"delete",value:function(e){return this.send("delete","/"+e)}},{key:"get",value:function(e,t){return this.send("get","/"+e,t)}},{key:"send",value:function(e,t,n){var o="get"===e?n:null;return o&&Object.keys(o).forEach(function(e){o[e]instanceof Array&&(o[e]=o[e].join(","))}),this.axios.request({data:"get"!==e?n:null,headers:this.headers,method:e,params:"get"===e?n:null,url:t}).then(function(e){return e.data}).catch(function(e){throw e.response?a.a.decode(e.response):e.request?new a.a(!0):new a.a(!1,!0)})}},{key:"uploadFile",value:function(e,t){return this.axios.request({data:e,headers:s({},this.headers,{"Content-Type":"application/x-www-form-urlencoded"}),method:"post",onUploadProgress:function(e){t&&t(e.loaded/e.total)},url:this.filesEndpoint})}}]),e}()},function(e,t,n){"use strict";function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.accessToken,o=t.sessionToken;return n?new i.a(e,{Authorization:"Bearer "+n,Client:"d2ViLWNsaWVu","Session-Token":o}):new i.a(e,{Client:"d2ViLWNsaWVu","Session-Token":"NTdiMzY3NjBlNjNiY2UxZWViMDAwMDA0"})}var i=n(726);t.a=o},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return r});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];o(this,e),this.isNetworkError=t,this.isClientError=n}return i(e,null,[{key:"decode",value:function(t){return Object.assign(Object.create(e.prototype),t)}}]),e}()},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return i});var o=function(e){return new Promise(function(t,n){e.then(function(e){return t(e.results[0]||null)},function(e){return n(e)})})},i=function(e){return new Promise(function(t,n){e.then(function(e){return t(e.results)},function(e){return n(e)})})}},function(e,t,n){"use strict";function o(e){"undefined"!=typeof window&&(window.api=e)}var i=n(0);n.n(i);t.a=o},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(12),c=n.n(u),d=n(60),p=n.n(d),f=n(62),m=n.n(f),g=n(47),h=n.n(g),v=n(305),y=n.n(v),_=n(34),b=n.n(_),w=n(29),S=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),x=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),A=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={errors:{},results:[],selectedUser:null},n}return r(t,e),x(t,[{key:"componentDidUpdate",value:function(){this.props.isMemberAdded&&this.props.isShown&&!this.state.hiddenAutomatically&&(this.props.hideDialog(),this.setState({hiddenAutomatically:!0}))}},{key:"onAddClick",value:function(){this.validateForm()&&(this.setState({hiddenAutomatically:!1}),this.props.addGroupMember(this.props.group,this.state.selectedUser))}},{key:"onInputChange",value:function(e){var t=this;window.api.getMentees(this.props.context.organisation._id,e).then(function(e){t.setState({results:e})})}},{key:"validateForm",value:function(){var e={};return this.state.selectedUser||(e.selectedUser=this.props.i18n.components.addGroupMemberDialog.userNotSelected),this.setState({errors:e}),0===Object.keys(e).length}},{key:"render",value:function(){for(var e=this,t=this.props,n=t.i18n,o=t.hideDialog,i=t.commonStyle,r=[S(h.a,{label:n.buttonActions.cancel,onTouchTap:function(){return o()},disabled:this.props.isPending}),S(h.a,{secondary:!0,label:n.buttonActions.save,onTouchTap:function(){return e.onAddClick()},disabled:this.props.isPending})],a=[],s=5;s<91;s+=5)a.push(s);for(var l=[],u=1;u<21;u+=1)l.push(u);var d=[];this.state.results.forEach(function(e){var t=e.firstName+" "+e.lastName;d.push({text:t,value:S(m.a,{primaryText:t,leftIcon:S(b.a,{src:e.imageUrl})}),data:e})});var f=null;if(this.props.error)switch(this.props.error.response.code){case 409:f=n.components.addGroupMemberDialog.errorGroupAlreadyMemberOfAnother;break;default:f=n.components.addGroupMemberDialog.errorMessage}return S(p.a,{actions:r,title:n.components.addGroupMemberDialog.title,open:this.props.isShown,onRequestClose:function(){return e.props.hideDialog()}},void 0,S("div",{className:i.row,style:{margin:"0 -0.75rem"}},void 0,S("div",{className:c()(i.col,i.s12,i.m6)},void 0,S(y.a,{onUpdateInput:function(t){return e.onInputChange(t)},onNewRequest:function(t){return e.setState({selectedUser:t.data})},hintText:n.components.addGroupMemberDialog.hint,filter:y.a.noFilter,dataSource:d})),f&&S("div",{className:c()(i.col,i.s12,i.centerAlign),style:{paddingTop:"2rem"}},void 0,f)))}}]),t}(s.a.Component);A.defaultProps={isMemberAdded:!1,isPending:!1,error:null};var P=function(e){return{i18n:e.i18n,account:e.session.account,commonStyle:e.commonStyle,context:e.session.sContext,isMemberAdded:e.session.isMemberAdded,isPending:e.session.isAddGroupMemberPending,error:e.session.addGroupMemberError}},C={addGroupMember:w.q};t.a=n.i(l.a)(P,C)(A)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(508),u=n.n(l),c=n(507),d=n.n(c),p=n(324),f=n.n(p),m=n(52),g=(n.n(m),function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}()),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},y={insertCss:a.PropTypes.func.isRequired,store:a.PropTypes.shape({subscribe:a.PropTypes.func.isRequired,dispatch:a.PropTypes.func.isRequired,getState:a.PropTypes.func.isRequired}).isRequired,api:a.PropTypes.any.isRequired},_={primary1Color:m.primaryColor,primary2Color:m.primaryColorDark,primary4Color:m.primaryColorLighter,accent1Color:m.accent1Color,textColor:m.midnightBlue,secondaryTextColor:m.midnightBlue2,alternateTextColor:m.gray50,canvasColor:m.gray50,disabledColor:"#808e9b"},b=u.a,w=v({},b,{palette:v({},b.palette,_),fontFamily:"Figtree, sans-serif",tabs:{backgroundColor:"transparent",textColor:_.secondaryTextColor,selectedTextColor:_.textColor,fontFamily:"Figtree"},avatar:{backgroundColor:m.gray500},toggle:{thumbOnColor:m.accent1Color,thumbRequiredColor:m.accent1Color,trackOnColor:m.accent1ColorLighter,trackRequiredColor:m.accent1ColorLighter},raisedButton:{secondaryColor:"#5FA3EC",secondaryTextColor:"#fff"}}),S=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),h(t,[{key:"getChildContext",value:function(){return this.props.context}},{key:"render",value:function(){var e=JSON.parse(JSON.stringify(w)),t=this.props.whiteLabel;return t&&(t.theme.primaryColor&&(e.palette.primary1Color=t.theme.primaryColor),t.theme.primaryColor&&(e.palette.primaryColorDark=t.theme.primaryColorDark),t.theme.accentColor&&(e.palette.accent1Color=t.theme.accentColor)),g(d.a,{muiTheme:f()(e)},void 0,a.Children.only(this.props.children))}}]),t}(s.a.PureComponent);S.defaultProps={whiteLabel:null},S.childContextTypes=y,t.a=S},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(736)),r=n(735),a=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),s=function(e){for(var t=e.context,n=e.mentorship,o=e.availableTimeSlots,s=e.eventList,l=e.mentor,u=e.isDisabled,c=e.availability,d={},p=0;p<s.length;p+=1)d[s[p]._id]=s[p];return a("div",{},void 0,o.map(function(e,o){return e.event&&d[e.event._id]?a(r.a,{meeting:d[e.event._id],context:t,isDisabled:u},d[e.event._id]._id):a(i.a,{mentor:l,timeSlot:e,context:t,mentorship:n,isDisabled:u,availability:c},o)}))};s.defaultProps={isDisabled:!1},t.a=s},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(1458),c=n.n(u),d=n(15),p=n(33),f=n(32),m=n(361),g=n(16),h=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},y=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),_={container:{padding:"0.2rem 0.2rem",position:"relative",borderRadius:"3px",textAlign:"center",color:"white",display:"inline-flex",margin:"0.2rem",flexDirection:"column",justifyContent:"center",background:"#bbb"},containerColored:{background:"#40E176"},containerColorless:{background:"none",color:"#666",border:"1px solid #666"},containerDisabled:{cursor:"inherit",opacity:.8},deleteButton:{position:"absolute",top:"0.2rem",right:"0.2rem",cursor:"pointer",width:"20px",height:"20px"},time:{fontSize:"0.8em"},name:{fontSize:"1em"}},b=h("br",{}),w=h("br",{}),S=h("br",{}),x=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isCancelDialogShown:!1},n}return r(t,e),y(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.account,r=t.meeting,a=t.isDisabled,s=t.isColorless,l=t.showOtherPerson,u=t.showDate,y=o.group,x=r.guests,A=x[0],P=x[1],C=A._id===i._id,k="users"===P._class||P.firstName,M="groups"===P._class||!P.firstName,T=k&&!!x.find(function(e){return e._id===i._id}),O=M&&y&&!!x.find(function(e){return e._id===y._id}),E=p.a.format(new Date(1e3*r.startDate),"HH:mm"),I=p.a.format(new Date(1e3*r.endDate),"HH:mm"),N=(new Date).getTime()>1e3*r.startDate,D="";i&&C?k?D=P.firstName+" "+P.lastName:M&&(D=P.title):i&&(T||O)&&(l?D=A.firstName+" "+A.lastName:T?D=i.firstName+" "+i.lastName:O&&(D=y.title));var j="";if(u){var R=p.a.format(1e3*r.startDate,"DD"),F=p.a.format(1e3*r.startDate,"MMMM"),L=p.a.format(1e3*r.startDate,"ddd");j=R+" "+F+" "+L,"MM/DD/YYYY"===p.a.dateFormat&&(j=F+" "+R+" "+L)}var U=C||T||O,B=!N&&U&&!a,Z="/events/"+r._id,Y=v({},_.container,d.a.calendarBox);return U&&(Y=v({},Y,_.containerColored)),a&&(Y=v({},Y,_.containerDisabled)),s&&(Y=v({},Y,_.containerColorless)),u&&(Y=v({},Y,d.a.calendarBoxTall)),U?h("div",{style:Y},void 0,B&&h(c.a,{style:v({},_.deleteButton,{color:Y.color}),onClick:function(){return e.setState({isCancelDialogShown:!0})}}),h(m.a,{i18n:n,event:r,isShown:this.state.isCancelDialogShown,hideDialog:function(){return e.setState({isCancelDialogShown:!1})}}),h(f.a,{to:Z,style:{color:Y.color}},void 0,h("div",{},void 0,j&&h("span",{style:_.time},void 0,j," ",b),h("span",{style:_.time},void 0,E," - ",I," ",w),h("span",{style:_.name},void 0,g.a.trim(D,20))))):h("div",{style:v({},_.container,d.a.calendarBox)},void 0,h("div",{},void 0,h("span",{style:_.time},void 0,E," - ",I," ",S),h("span",{style:_.time},void 0,n.components.timeSlot.takenSlot)))}}]),t}(s.a.Component);x.defaultProps={isDisabled:!1,isColorless:!1,showOtherPerson:!1,showDate:!1};var A=function(e){return{i18n:e.i18n,account:e.session.account}};t.a=n.i(l.a)(A)(x)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(67),c=n(64),d=n(15),p=n(33),f=n(42),m=n(102),g=n(73),h=n(16),v=n(738),y=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},b=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),w={container:{cursor:"pointer",padding:"0.2rem 0.2rem",position:"relative",borderRadius:"3px",textAlign:"center",display:"inline-flex",margin:"0.2rem",flexDirection:"column",justifyContent:"center"},containerDisabled:{cursor:"inherit",opacity:.8},containerBlocked:{color:"white",cursor:"inherit",background:"#bbb",border:"1px solid #bbb"},time:{fontSize:"0.8em"},name:{fontSize:"1em"}},S=y("br",{}),x=y("br",{}),A=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isSubmitted:!1,showCreateEventWithGoalFromSlotDialog:!1},n}return r(t,e),b(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.context,o=t.createMeetingError,i=t.mentor,r=t.availability,a=n.meetingGoalConfig&&n.meetingGoalConfig.meetingGoals?n.meetingGoalConfig.meetingGoals:[],s=a.length>0;if(this.state.isSubmitted&&o&&!s){var l=this.props,u=l.i18n,c=l.createMeetingError,d=l.language,p="";if(c){var g=_({},n,{mentorName:i.firstName+" "+i.lastName,locationType:r.location.type});p=m.a.getErrorMessage(u,g,c),p=f.a.show(p,n.config,d)}var h=setInterval(function(t){e.props.showMessageDialog(u.components.timeSlot.createMeetingFailedTitle,p,u.buttonActions.ok,function(){return e.props.hideDialog()},!1),clearInterval(h)},500);this.setState({isSubmitted:!1})}}},{key:"onCreateConfirm",value:function(e){var t=this.props,n=t.context,o=t.account,i=t.mentor,r=t.mentorship,a=t.timeSlot,s=t.availability,l=a.startDate||a.startdate,u=a.endDate||a.enddate,c="group"===n.config.menteeType,d=c?"groups":"users",p=c?n.group:o,f=[{_type:"reference",_class:"users",_id:i._id},{_type:"reference",_class:d,_id:p._id}],m={guests:f,attendees:[],startDate:l,endDate:u,createdBy:{_type:"reference",_class:"users",_id:o._id},type:"meeting",location:s.location,status:"active",mentorship:{_type:"reference",_class:"mentorships",_id:r._id},organisation:{_type:"reference",_class:"organisations",_id:n.organisation._id},availability:{_type:"reference",_class:"availabilities",_id:s._id},meetingGoalIdentifier:e};this.setState({isSubmitted:!0}),this.props.createEvent(m),this.props.hideDialog()}},{key:"onAvailabilityClick",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.mentor,r=i.firstName+" "+i.lastName,a=this.getDateInfo();if((o.meetingGoalConfig&&o.meetingGoalConfig.meetingGoals?o.meetingGoalConfig.meetingGoals:[]).length>0)this.setState({showCreateEventWithGoalFromSlotDialog:!0});else{var s=h.a.build(n.components.timeSlot.confirmationDialogContent,{mentor:y("b",{},void 0,r),date:y("b",{},void 0,a)});this.props.showAlertDialog(n.components.timeSlot.confirmationDialogTitle,s,n.components.timeSlot.createMeeting,function(){return e.onCreateConfirm()})}}},{key:"getDateInfo",value:function(){var e=this.props.timeSlot.startDate||this.props.timeSlot.startdate,t=this.props.timeSlot.endDate||this.props.timeSlot.enddate,n=new Date(1e3*e),o=new Date(1e3*t),i=p.a.format(n,"DD"),r=p.a.format(n,"YYYY"),a=p.a.format(n,"MMM"),s=p.a.format(n,"dddd");return i+" "+a+" "+r+" ("+p.a.format(n,"HH:mm")+"-"+p.a.format(o,"HH:mm")+") "+s}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.createMeetingError,r=t.account,a=t.timeSlot,s=t.mentorship,l=t.isCreateMeetingPending,u=t.isDisabled,c=this.state.showCreateEventWithGoalFromSlotDialog,f="#999",m=a.startDate||a.startdate,h=a.endDate||a.enddate,b=(new Date).getTime()>1e3*m,A=p.a.format(new Date(1e3*m),"HH:mm"),P=p.a.format(new Date(1e3*h),"HH:mm"),C=!1;if("mentee"===o.role){var k=g.a.getMeetingDisableReason(o,r,s);C=!b&&null===k}var M=_({},w.container,d.a.calendarBox,{color:f,border:"1px dashed "+f});if(C||(M=_({},M,w.containerDisabled)),l&&(M=_({},M,w.containerDisabled)),u&&(M=_({},M,w.containerDisabled)),a.isBlocked||a.event&&a.event._id)return C=!1,M=_({},M,w.containerBlocked),y("div",{style:M},void 0,y("div",{},void 0,y("span",{style:w.time},void 0,A," - ",P," ",S),y("span",{style:w.time},void 0,n.components.timeSlot.takenSlot)));var T=null;return!C||l||u||(T=function(){return e.onAvailabilityClick()}),y("div",{style:M,onClick:T},void 0,y("div",{},void 0,y("span",{style:w.time},void 0,A," - ",P," ",x),C&&y("span",{style:w.name},void 0,"+")),c&&y(v.a,{i18n:n,context:o,dateInfo:this.getDateInfo(),error:i,isPending:l,mentorName:this.props.mentor.firstName+" "+this.props.mentor.lastName,onDismiss:function(){return e.setState({showCreateEventWithGoalFromSlotDialog:!1})},onSubmit:function(t){return e.onCreateConfirm(t)}}))}}]),t}(s.a.Component);A.defaultProps={isDisabled:!1,isCreateMeetingPending:!1,createMeetingError:null};var P=function(e){return{i18n:e.i18n,account:e.session.account,language:e.session.language,isCreateMeetingPending:e.calendar.isCreateMeetingPending,createMeetingError:e.calendar.createMeetingError}},C={createEvent:u.d,showMessageDialog:c.b,showAlertDialog:c.d,hideDialog:c.a};t.a=n.i(l.a)(P,C)(A)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){if(void 0!==t.date&&void 0!==t.hour&&void 0!==t.minute&&void 0!==t.duration&&void 0!==t.count){var n=void 0,o=void 0;"12-hour"===C.a.timeFormat&&(n="tr"===e.settings.language?"ÖÖ"===t.hourZoneValue?"AM":"PM":t.hourZoneValue,o=D(t.hour+":"+t.minute+" "+n));var i=new Date(t.date.getTime());i.setHours("12-hour"===C.a.timeFormat?o[0]:t.hour),i.setMinutes("12-hour"===C.a.timeFormat?o[1]:t.minute),i.setSeconds(0),i=C.a.fixHourDifference(i);var r=t.count,a=60*(t.break||0)*1e3,s=60*t.duration*1e3,l=s*r+a*(r-1),u=new Date(i.getTime()+l);return{status:"active",slotCount:t.count,endDate:u.getTime()/1e3,startDate:i.getTime()/1e3,meetingDuration:t.duration,meetingBreaks:t.break||0,location:{address:t.location,type:t.locationType},mentorship:{_type:"reference",_class:"mentorships",_id:e.mentorship._id},owner:{_type:"reference",_class:"users",_id:e.account._id},organisation:{_type:"reference",_class:"organisations",_id:e.mentorship.organisation._id}}}}function s(e){for(var t=60*e.meetingDuration,n=60*e.meetingBreaks,o=[],i=0;i<e.slotCount;i+=1){var r=e.startDate+i*(t+n),a=r+t,s={_id:"slot:"+i,startDate:r+1,endDate:a};o.push(s)}return o}var l=n(0),u=n.n(l),c=n(3),d=n(12),p=n.n(d),f=n(60),m=n.n(f),g=n(36),h=n.n(g),v=n(47),y=n.n(v),_=n(184),b=n.n(_),w=n(122),S=n.n(w),x=n(62),A=n.n(x),P=n(67),C=n(33),k=n(16),M=n(102),T=n(32),O=n(363),E=n(56),I=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),N=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),D=function(e){var t=e,n=t.match(/\s(.*)$/)[1],o=Number(t.match(/^(\d+)/)[1]),i=Number(t.match(/:(\d+)/)[1]);"PM"==n&&o<12&&(o+=12),"AM"==n&&12==o&&(o-=12);var r=o.toString(),a=i.toString();return o<10&&(r="0"+r),i<10&&(a="0"+a),[r,a]},j=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={errors:{},location:"",accountCalendarEventsForDay:[],locationType:"jitsi",hourZoneValue:e.i18n.components.createAvailabilityForm.hourAmHint},n}return r(t,e),N(t,[{key:"componentWillReceiveProps",value:function(e){!this.props.isPending||e.isPending||e.error||(this.props.hideDialog(),this.setState({date:void 0}))}},{key:"onClickCreate",value:function(){if(this.validateForm()){var e=void 0;if("12-hour"===C.a.timeFormat){e="tr"===this.props.settings.language?"ÖÖ"===this.state.hourZoneValue?"AM":"PM":this.state.hourZoneValue;var t=D(this.state.hour+":"+this.state.minute+" "+e);this.state.hour=t[0],this.state.minute=t[1]}var n=a(this.props,this.state);this.props.createAvailability(n)}}},{key:"validateForm",value:function(){var e={};return this.state.date||(e.date=this.props.i18n.components.createAvailabilityForm.dateError),this.state.hour||0===this.state.hour||(e.hour=this.props.i18n.components.createAvailabilityForm.hourError),this.state.minute||0===this.state.minute||(e.minute=this.props.i18n.components.createAvailabilityForm.minuteError),this.state.duration||(e.duration=this.props.i18n.components.createAvailabilityForm.durationError),(!this.state.count||this.state.count<1)&&(e.count=this.props.i18n.components.createAvailabilityForm.countError),""===this.state.location&&"custom"===this.state.locationType&&(e.location=this.props.i18n.components.createAvailabilityForm.locationError),this.setState({errors:e}),0===Object.keys(e).length}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.hideDialog,r=t.commonStyle,l=t.isMobile,u=t.settings,c=t.error,d=t.isZoomAuthenticated,f=t.isGoogleAuthenticated,g=t.isMicrosoftBusinessAuthenticated,v=n.components.createAvailabilityForm,_=[I(y.a,{label:n.buttonActions.cancel,onTouchTap:function(){return i()},disabled:this.props.isPending}),I(y.a,{secondary:!0,label:n.buttonActions.save,onTouchTap:function(){return e.onClickCreate()},disabled:this.props.isPending})],w=[];if("12-hour"===C.a.timeFormat)for(var x=1;x<13;x++)w.push(x);else for(var P=0;P<24;P++)w.push(P);for(var E=[],N=0;N<60;N+=5)E.push(N);for(var D=[n.components.createAvailabilityForm.hourAmHint,n.components.createAvailabilityForm.hourPmHint],j=[],R=5;R<121;R+=5)j.push(R);for(var F=[],L=1;L<21;L+=1)F.push(L);var U=void 0;c&&(U=M.a.getErrorMessage(n,o,c));var B=[],Z=a(this.props,this.state);return Z&&(B=s(Z)),I(m.a,{actions:_,open:this.props.isShown,autoScrollBodyContent:!0,onRequestClose:function(){e.setState({date:void 0}),e.props.hideDialog()},title:n.components.createAvailabilityForm.title},void 0,!l&&I("div",{className:r.row,style:{margin:"0 -0.75rem"}},void 0,I(O.a,{date:this.state.date,people:[this.props.account],previews:B})),I("div",{className:r.row,style:{margin:"0 -0.75rem"}},void 0,I("div",{className:p()(r.col,r.s12,r.m6)},void 0,I(b.a,{autoOk:!0,fullWidth:!0,minDate:new Date,value:this.state.date,disabled:this.props.isPending,errorText:this.state.errors.date,onChange:function(t,n){return e.setState({date:n})},floatingLabelText:n.components.createAvailabilityForm.date})),I("div",{className:p()(r.col,r.s12,r.m6)},void 0,I(S.a,{floatingLabelFixed:!0,style:{width:"12-hour"===C.a.timeFormat?"40%":"50%"},value:this.state.hour,disabled:this.props.isPending,errorText:this.state.errors.hour,hintText:n.components.createAvailabilityForm.hourHint,floatingLabelText:n.components.createAvailabilityForm.hour,onChange:function(t,n,o){return e.setState({hour:o,minute:e.state.minute||0})}},void 0,w.map(function(e){return I(A.a,{value:e,primaryText:("0"+e).slice(-2)},e)})),I(S.a,{floatingLabelFixed:!0,style:{width:"12-hour"===C.a.timeFormat?"30%":"50%"},value:this.state.minute,disabled:this.props.isPending,errorText:this.state.errors.minute,hintText:": "+n.components.createAvailabilityForm.minuteHint,floatingLabelText:" ",onChange:function(t,n,o){return e.setState({minute:o})}},void 0,E.map(function(e){return I(A.a,{value:e,label:": "+("0"+e).slice(-2),primaryText:("0"+e).slice(-2)},e)})),"12-hour"===C.a.timeFormat&&I(S.a,{floatingLabelFixed:!0,style:{width:"30%"},value:this.state.hourZoneValue,disabled:this.props.isPending,hintText:""+n.components.createAvailabilityForm.hourAmHint,floatingLabelText:" ",onChange:function(t,n,o){return e.setState({hourZoneValue:o})}},void 0,D.map(function(e){return I(A.a,{value:e,label:e,primaryText:e},e)}))),I("div",{className:p()(r.col,r.s12,r.m6)},void 0,I(S.a,{fullWidth:!0,value:this.state.duration,disabled:this.props.isPending,errorText:this.state.errors.duration,floatingLabelText:n.components.createAvailabilityForm.duration,onChange:function(t,n,o){return e.setState({duration:o})}},void 0,j.map(function(e){return I(A.a,{value:e,primaryText:e},e)}))),I("div",{className:p()(r.col,r.s12,r.m6)},void 0,I(S.a,{fullWidth:!0,value:this.state.count,disabled:this.props.isPending,errorText:this.state.errors.count,floatingLabelText:n.components.createAvailabilityForm.count,onChange:function(t,n,o){return e.setState({count:o})}},void 0,F.map(function(e){return I(A.a,{value:e,primaryText:e},e)}))),I("div",{className:p()(r.col,r.s12,r.m6)},void 0,I(S.a,{fullWidth:!0,value:this.state.break,disabled:this.props.isPending,errorText:this.state.errors.break,floatingLabelText:n.components.createAvailabilityForm.break,onChange:function(t,n,o){return e.setState({break:o})}},void 0,j.map(function(e){return I(A.a,{value:e,primaryText:e},e)}))),I("div",{className:p()(r.col,r.s12,r.m6)},void 0,I(S.a,{floatingLabelFixed:!0,style:{width:"100%"},value:this.state.locationType,disabled:this.props.isPending,errorText:this.state.errors.locationType,floatingLabelText:v.locationType,onChange:function(t,n,o){return e.setState({locationType:o,location:""})}},void 0,I(A.a,{value:"custom",primaryText:v.locationTypeCustom}),I(A.a,{value:"jitsi",primaryText:v.locationTypeJitsi}),I(A.a,{value:"zoom",primaryText:"Zoom "+(d?"":"("+v.accountNotConnected+")"),disabled:!d}),I(A.a,{value:"google",primaryText:"Google Meet "+(f?"":"("+v.accountNotConnected+")"),disabled:!f}),I(A.a,{value:"microsoftbusiness",primaryText:"Microsoft Teams "+(g?"":"("+v.accountNotConnected+")"),disabled:!g}))),I("div",{className:p()(r.col,r.s12,r.m6)},void 0,I(h.a,{id:"location",type:"text",fullWidth:!0,value:"custom"===this.state.locationType?this.state.location:v.locationAutomatic,disabled:this.props.isPending||"custom"!==this.state.locationType,errorText:this.state.errors.location,floatingLabelText:n.components.createAvailabilityForm.location,onChange:function(t){return e.setState({location:t.target.value})}})),I("div",{className:p()(r.col,r.s12),style:{paddingTop:"2rem",fontSize:"0.8em"}},void 0,I(T.a,{to:"/settings/general"},void 0,"* ",k.a.build(n.components.createAvailabilityForm.timeZoneMessage,{timeZone:I("b",{},void 0,u.timeZone)}))),U&&I("div",{className:p()(r.col,r.s12,r.centerAlign,r.error),style:{paddingTop:"2rem"}},void 0,U)))}}]),t}(u.a.Component);j.defaultProps={isPending:!1,isZoomAuthenticated:!1,isGoogleAuthenticated:!1,isMicrosoftBusinessAuthenticated:!1,error:null};var R=function(e){return{i18n:e.i18n,context:e.session.sContext,account:e.session.account,commonStyle:e.commonStyle,isMobile:e.runtime.isMobile,settings:e.session.settings,error:e.calendar.createAvailabilityError,isPending:e.calendar.isCreateAvailabilityPending,isZoomAuthenticated:E.a.isAuthPlatformConnected(e.session.authPlatforms,"zoom"),isGoogleAuthenticated:E.a.isAuthPlatformConnected(e.session.authPlatforms,"google"),isMicrosoftBusinessAuthenticated:E.a.isAuthPlatformConnected(e.session.authPlatforms,"microsoftbusiness")}},F={createAvailability:P.o};t.a=n.i(c.a)(R,F)(j)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(60),u=n.n(l),c=n(47),d=n.n(c),p=n(62),f=n.n(p),m=n(122),g=n.n(m),h=n(16),v=n(102),y=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),b=y("br",{}),w=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={goal:void 0},n}return r(t,e),_(t,[{key:"onSubmit",value:function(){if(!this.state.goal)return void this.setState({error:"goalNotSelected"});this.setState({error:void 0}),this.props.onSubmit(this.state.goal)}},{key:"handleChange",value:function(e){var t=Object.assign({},this.state);t[e.target.id]=e.target.value,this.setState(t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.dateInfo,r=t.error,a=t.onDismiss,s=t.mentorName,l=this.state.error,c=n.components.confirmEventCreationWithGoalForm,p=o.meetingGoalConfig&&o.meetingGoalConfig.meetingGoals?o.meetingGoalConfig.meetingGoals:[],m=[y(d.a,{label:n.buttonActions.cancel,onTouchTap:function(){return a()},disabled:this.props.isPending}),y(d.a,{secondary:!0,label:c.createMeeting,onTouchTap:function(){return e.onSubmit()},disabled:this.props.isPending})],_=h.a.build(c.content,{mentor:y("b",{},void 0,s),date:y("b",{},void 0,i)});return y(u.a,{open:!0,title:c.title,actions:m,onRequestClose:function(){return e.props.onDismiss()}},void 0,_,b,y(g.a,{floatingLabelFixed:!0,floatingLabelText:" ",value:this.state.goal,disabled:!1,errorText:l&&c.errors[l],hintText:c.placeholder,onChange:function(t,n,o){return e.setState({goal:o})}},void 0,p.map(function(e){return y(f.a,{value:e.identifier,label:e.meetingTitle,primaryText:e.meetingTitle},e.identifier)})),r&&y("div",{style:{paddingTop:"2rem",textAlign:"center"}},void 0,v.a.getErrorMessage(n,o,r)))}}]),t}(s.a.Component);w.defaultProps={error:null,isPending:!1},t.a=w},function(e,t,n){"use strict";function o(e){var t=e.item,n=e.onDeleteClick,o=void 0;return o=t.firstName?t.firstName+" "+t.lastName:t.title,s("div",{style:{position:"relative",display:"flex",alignItems:"center",minHeight:56}},void 0,s("div",{style:{flex:1}},void 0,o),n&&s("div",{style:{cursor:"pointer"},onClick:function(){return n(t)}},void 0,l),s("hr",{style:{borderTop:"none",borderLeft:"none",borderRight:"none",borderBottom:"1px solid rgb(224, 224, 224)",bottom:8,boxSizing:"content-box",margin:0,position:"absolute",width:"100%"}}))}var i=n(0),r=(n.n(i),n(325)),a=n.n(r),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),l=s(a.a,{});t.a=o},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(56),c=n(54),d=n(39),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),m={openProfilePage:"dvn.mentornity-meeting-details-wrapper.open-profile-page",sendMessage:"dvn.mentornity-meeting-details-wrapper.send-message"},g=p("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),h=p("link",{href:"https://unicons.iconscout.com/release/v1.0.0/css/unicons.css",rel:"stylesheet"}),v=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.openProfilePage=function(e){var t=e.detail,n=t.user,o=t.role,i="/"+r.props.context.organisation.domain+"/pairs/"+r.props.context.organisation._id+"?uid="+n._id+"&&usertype="+o;window.open(i,"_blank").focus()},r.onSendMessageClick=function(e){var t=e.detail.user;r.props.isMobile?d.a.push("/conversations/wu/"+t._id):r.props.openConversation(t)},a=n,i(r,a)}return r(t,e),f(t,[{key:"componentDidMount",value:function(){window.addEventListener(m.openProfilePage,this.openProfilePage),window.addEventListener(m.sendMessage,this.onSendMessageClick)}},{key:"componentWillUnmount",value:function(){window.removeEventListener(m.openProfilePage,this.openProfilePage),window.removeEventListener(m.sendMessage,this.onSendMessageClick)}},{key:"render",value:function(){var e=this.props.commonStyle;return p("div",{className:e.container},void 0,p("div",{className:e.row,style:{marginTop:"1rem",marginBottom:"0"}},void 0,p("div",{style:{margin:"-1rem -0.25rem 0 -0.25rem",marginBottom:"85px"}},void 0,g,h,p("mentornity-meeting-details-wrapper",{"event-id":this.props.eventId,"user-type":this.props.context.role,"mentee-type":this.props.context.config.menteeType,language:this.props.language,"time-format":this.props.timeFormat,"date-format":this.props.dateFormat,"time-zone":this.props.timeZone,"is-mobile":this.props.isMobile,"group-id":this.props.context.group?this.props.context.group._id:void 0,"is-zoom-authenticated":this.props.isZoomAuthenticated,"is-google-authenticated":this.props.isGoogleAuthenticated,"is-microsoft-businesss-authenticated":this.props.isMicrosoftBusinessAuthenticated,"is-google-expired":this.props.isGoogleExpired,"is-zoom-expired":this.props.isZoomExpired,"is-microsoft-expired":this.props.isMicrosoftExpired,"is-microsoft-business-expired":this.props.isMicrosoftBusinessExpired}))))}}]),t}(s.a.Component);t.a=n.i(l.a)(function(e){return{context:e.session.sContext,session:e.session,isMobile:e.runtime.isMobile,language:e.session.language,timeZone:e.session.timeZone,timeFormat:e.session.timeFormat,dateFormat:e.session.dateFormat,isZoomAuthenticated:u.a.isAuthPlatformConnected(e.session.authPlatforms,"zoom"),isGoogleAuthenticated:u.a.isAuthPlatformConnected(e.session.authPlatforms,"google"),isMicrosoftBusinessAuthenticated:u.a.isAuthPlatformConnected(e.session.authPlatforms,"microsoftbusiness"),isZoomExpired:u.a.isAuthPlatformExpired(e.session.authPlatforms,"zoom"),isGoogleExpired:u.a.isAuthPlatformExpired(e.session.authPlatforms,"google"),isMicrosoftExpired:u.a.isAuthPlatformExpired(e.session.authPlatforms,"microsoft"),isMicrosoftBusinessExpired:u.a.isAuthPlatformExpired(e.session.authPlatforms,"microsoftbusiness"),commonStyle:e.commonStyle}},{openConversation:c.d})(v)},function(e,t,n){"use strict";function o(e){return s("div",{},void 0,s("mentornity-integration-settings-wrapper",{language:e.language,"user-id":e.account._id,"is-google-authenticated":e.isGoogleAuthenticated,"is-zoom-authenticated":e.isZoomAuthenticated,"is-microsoft-authenticated":e.isMicrosoftAuthenticated,"is-microsoft-business-authenticated":e.isMicrosoftBusinessAuthenticated,"is-google-expired":e.isGoogleExpired,"is-zoom-expired":e.isZoomExpired,"is-microsoft-expired":e.isMicrosoftExpired,"is-microsoft-business-expired":e.isMicrosoftBusinessExpired,"zoom-email":e.zoomEmail,"google-email":e.googleEmail,"microsoft-email":e.microsoftEmail,"microsoft-business-email":e.microsoftBusinessEmail}))}var i=n(0),r=(n.n(i),n(3)),a=n(56),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),l=function(e){return{language:e.session.language,account:e.session.account,isZoomAuthenticated:a.a.isAuthPlatformConnected(e.session.authPlatforms,"zoom"),isGoogleAuthenticated:a.a.isAuthPlatformConnected(e.session.authPlatforms,"google"),isMicrosoftBusinessAuthenticated:a.a.isAuthPlatformConnected(e.session.authPlatforms,"microsoftbusiness"),isMicrosoftAuthenticated:a.a.isAuthPlatformConnected(e.session.authPlatforms,"microsoft"),isZoomExpired:a.a.isAuthPlatformExpired(e.session.authPlatforms,"zoom"),isGoogleExpired:a.a.isAuthPlatformExpired(e.session.authPlatforms,"google"),isMicrosoftExpired:a.a.isAuthPlatformExpired(e.session.authPlatforms,"microsoft"),isMicrosoftBusinessExpired:a.a.isAuthPlatformExpired(e.session.authPlatforms,"microsoftbusiness"),zoomEmail:a.a.getEmailFromAuthPlatform(e.session.authPlatforms,"zoom"),googleEmail:a.a.getEmailFromAuthPlatform(e.session.authPlatforms,"google"),microsoftEmail:a.a.getEmailFromAuthPlatform(e.session.authPlatforms,"microsoft"),microsoftBusinessEmail:a.a.getEmailFromAuthPlatform(e.session.authPlatforms,"microsoftbusiness")}};t.a=n.i(r.a)(l)(o)},function(e,t,n){"use strict";function o(e){return a("div",{style:{height:"100%"}},void 0,s,l,a("mentornity-client-sidebar-wrapper",{language:e.language,"params-id":e.paramsId,"is-logged-in":e.isLoggedIn,"has-mentor-role":hasMentorRole,"has-mentee-role":hasMenteeRole}))}var i=n(0),r=(n.n(i),n(3)),a=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),s=a("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),l=a("link",{href:"https://unicons.iconscout.com/release/v1.0.0/css/unicons.css",rel:"stylesheet"}),u=function(e){return{language:e.session.language,isLoggedIn:e.session.isLoggedIn,context:e.session.sContext,contexts:e.session.contexts}};n.i(r.a)(u)(o)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(12),s=n.n(a),l=n(182),u=(n.n(l),n(60)),c=n.n(u),d=n(47),p=n.n(d),f=n(0),m=n.n(f),g=n(3),h=n(115),v=n(102),y=n(123),_=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},w=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),S=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={errors:{}},r.form=void 0,a=n,i(r,a)}return r(t,e),w(t,[{key:"componentWillReceiveProps",value:function(e){!this.props.isPending||e.isPending||e.error||this.props.hideDialog()}},{key:"onSubmit",value:function(e){var t={data:b({},this.props.metadata.data,e)};this.props.updateMetadata(this.props.metadata._id,t,this.props.metadata)}},{key:"render",value:function(){var e=this,t=this.props,o=t.i18n,i=t.context,r=t.metadata,a=t.metadataFields,u=t.isPending,d=t.hideDialog,f=t.commonStyle,g=t.error,h=[_(p.a,{label:o.buttonActions.cancel,onTouchTap:function(){return d()},disabled:this.props.isPending}),_(p.a,{secondary:!0,label:o.buttonActions.update,onTouchTap:function(){return e.form.onFormSubmit({preventDefault:function(){}})},disabled:this.props.isPending})],w="";g&&(w=v.a.getErrorMessage(o,i,g));var S={fields:[],version:1};return r.data&&r.data&&(S.fields=a.map(function(e){return b({},e,{value:r.data[e.id]})})),_(c.a,{autoScrollBodyContent:!0,actions:h,open:this.props.isShown,onRequestClose:function(){return e.props.hideDialog()},title:o.components.editMetadataDialog.title},void 0,m.a.createElement(l.Form,{ref:function(t){e.form=t},language:n.i(y.c)(this.props.language),fields:S.fields,loading:u,onSubmit:function(t){return e.onSubmit(t)}}),w&&_("div",{className:s()(f.col,f.s12,f.centerAlign,f.error),style:{paddingTop:"2rem"}},void 0,w))}}]),t}(m.a.Component);S.defaultProps={isPending:!1,error:null};var x=function(e){return{i18n:e.i18n,commonStyle:e.commonStyle,context:e.session.sContext,language:e.session.language,isPending:e.users.isPendingEditMetadata,error:e.users.editMetadataError}},A={updateMetadata:h.m};t.a=n.i(g.a)(x,A)(S)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),d={openProfilePage:"dvn.mentornity-user-metadata-form.go-next-step"},p=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.goNextStep=function(){r.props.onSuccess()},a=n,i(r,a)}return r(t,e),c(t,[{key:"componentDidMount",value:function(){window.addEventListener(d.openProfilePage,this.goNextStep)}},{key:"componentWillUnmount",value:function(){window.removeEventListener(d.openProfilePage,this.goNextStep)}},{key:"render",value:function(){var e=this.props,t=e.language,n=e.context;return u("div",{style:{padding:"25px"}},void 0,u("mentornity-user-metadata-form",{language:t,"user-type":n.role}))}}]),t}(s.a.Component),f=function(e){return{context:e.session.sContext,language:e.session.language}};t.a=n.i(l.a)(f)(p)},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(12)),r=n.n(i),a=n(26),s=n.n(a),l=n(17),u=n.n(l),c=n(18),d=n.n(c),p=n(1311),f=n.n(p),m=n(32),g=n(144),h=n(15),v=n(195),y=n(759),_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},b=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),w={item:{marginBottom:"1.4rem",borderRadius:"5px"},content:{padding:"1rem",background:"#ffffff",borderRadius:"5px",overflow:"hidden"},link:{color:"inherit",textAlign:"center"}},S=function(e){var t=e.commonStyle,n=e.i18n,o=e.context,i=e.language,a=e.feedbackConfig,l=e.meeting,c=e.hiddenInfo;return b("div",{},l._id,b(s.a,{style:w.item},void 0,b("div",{style:_({},w.content,{minHeight:c&&0}),className:f.a.timeInfoContainer},void 0,b("div",{style:w.link,className:r()(t.col,t.s12,t.m6)},void 0,b(m.a,{to:"/events/"+l._id},void 0,b(g.a,{i18n:n,event:l,context:o}),!c&&b(u.a,{secondary:!0,label:n.buttonActions.goToMeeting,style:_({},h.a.roundedButtonContainer,{marginTop:"1rem"}),buttonStyle:_({},h.a.roundedButton,h.a.orangeButton)}))),b("div",{className:r()(t.col,t.s12,t.m6)},void 0,b(v.a,{i18n:n,config:o.config,userList:l.guests,language:i,hiddenInfo:c}))),a&&a.fields&&a.fields.length>0&&(new Date).getTime()>1e3*l.startDate&&!l.meetingGoalIdentifier&&b("div",{style:{margin:"0 1rem 1rem 1rem",padding:"1rem",borderTop:"1px solid #ddd"}},void 0,b(y.a,{meeting:l,feedbackConfig:a}))))};S.defaultProps={hiddenInfo:void 0},t.a=d()(f.a)(S)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(18),u=n.n(l),c=n(3),d=n(12),p=n.n(d),f=n(40),m=n.n(f),g=n(722),h=n(1312),v=n.n(h),y=n(747),_=n(43),b=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),w=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),S=b(m.a,{}),x=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleScroll=n.handleScroll.bind(n),n}return r(t,e),w(t,[{key:"componentDidMount",value:function(){this.fetchDataIfNeeded(),window.addEventListener("scroll",this.handleScroll)}},{key:"componentDidUpdate",value:function(){this.fetchDataIfNeeded()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.handleScroll)}},{key:"handleScroll",value:function(){var e=this.props,t="innerHeight"in window?window.innerHeight:document.documentElement.offsetHeight,n=document.body,o=document.documentElement,i=Math.max(n.scrollHeight,n.offsetHeight,o.clientHeight,o.scrollHeight,o.offsetHeight);t+window.pageYOffset>=i&&(!e.feed||e.isPending||e.endReached||e.error||this.fetchFeed())}},{key:"fetchDataIfNeeded",value:function(){this.props.feed||this.props.isPending||this.props.error||this.fetchFeed(0)}},{key:"fetchFeed",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.feed.length,t=this.props.context;this.props.fetchFeed(t.organisation._id,10,e)}},{key:"render",value:function(){var e=this,t=this.props.i18n,n=this.props.feed&&0===this.props.feed.length&&!this.props.isPending&&!this.props.error;return b("div",{className:p()(v.a.row)},void 0,n&&b("div",{className:p()(v.a.col,v.a.s12)},void 0,b(_.a,{message:t.pages.feed.emptyMessage})),this.props.feed&&b("div",{className:p()(v.a.col,v.a.s12,v.a.m8,v.a["offset-m2"])},void 0,this.props.feed.map(function(t){return b(y.a,{i18n:e.props.i18n,activity:t,context:e.props.context,commonStyle:e.props.commonStyle},t._id)})),!this.props.endReached&&!this.props.error&&b("div",{className:p()(v.a.col,v.a.s12,v.a.centerAlign)},void 0,S),this.props.error&&b("div",{className:p()(v.a.col,v.a.s12)},void 0,b(_.a,{message:t.pages.feed.errorMessage,actionLabel:t.buttonActions.retry,onActionClick:function(){return e.fetchFeed()}})))}}]),t}(s.a.Component);x.defaultProps={feed:null,error:null,isPending:!1,endReached:!1};var A=function(e){var t=e.feed.feedsByOrganisation[e.session.sContext.organisation._id]||{};return{i18n:e.i18n,context:e.session.sContext,commonStyle:e.commonStyle,feed:t.feed,error:t.error,isPending:t.isPending,endReached:t.endReached}},P={fetchFeed:g.a};t.a=n.i(c.a)(A,P)(u()(v.a)(x))},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(751)),r=n(753),a=n(749),s=n(750),l=n(748),u=n(752),c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),d=c("div",{}),p=function(e){var t=e.i18n,n=e.activity,o=e.commonStyle,p=e.context;return"createEvent"===n.verb?c(i.a,{i18n:t,context:p,activity:n,commonStyle:o}):"updateEvent"===n.verb?c(r.a,{i18n:t,context:p,activity:n,commonStyle:o}):"cancelEvent"===n.verb?c(a.a,{i18n:t,context:p,activity:n,commonStyle:o}):"setEventNotOccurred"===n.verb?c(a.a,{i18n:t,context:p,activity:n,commonStyle:o,typeEventNotOccurred:!0}):"addEventNote"===n.verb?c(u.a,{i18n:t,activity:n,commonStyle:o}):"createAvailability"===n.verb?c(s.a,{i18n:t,activity:n,commonStyle:o}):"cancelAvailability"===n.verb?c(l.a,{i18n:t,activity:n,commonStyle:o}):d};t.a=p},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(26)),r=n.n(i),a=n(33),s=n(16),l=n(101),u=n(32),c=n(143),d=n(144),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=function(e){var t=e.i18n,n=e.activity,o=e.commonStyle,i=n.subject,f=n.on,m=a.a.elapsedTime(new Date(1e3*n.createdAt)),g=i.firstName+" "+i.lastName,h=i.firstName[0]+i.lastName[0],v=f.firstName+" "+f.lastName,y="";return y=i._id!==f._id?s.a.build(t.feed.cancelAvailability.sentenceForAdmin,{actor:p(u.a,{to:"/profile/"+i._id},void 0,p("b",{},void 0,g)),mentor:p(u.a,{to:"/profile/"+f._id+"?rl=mtr"},void 0,p("b",{},void 0,v))}):s.a.build(t.feed.cancelAvailability.sentence,{actor:p(u.a,{to:"/profile/"+i._id+"?rl=mtr"},void 0,p("b",{},void 0,g))}),p("div",{className:o.row,style:{marginBottom:0}},void 0,p(r.a,{style:l.a.item},void 0,p(c.a,{avatarInitials:h,imageUrl:n.subject.imageUrl,sentence:y,profileId:i._id,elapsedTime:m}),p("div",{style:l.a.content},void 0,p(d.a,{i18n:t,event:n.object}))))};t.a=f},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(18)),r=n.n(i),a=n(12),s=n.n(a),l=n(26),u=n.n(l),c=n(17),d=n.n(c),p=n(302),f=n.n(p),m=n(33),g=n(16),h=n(101),v=n(15),y=n(32),_=n(143),b=n(144),w=n(195),S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},x=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),A=x("br",{}),P=function(e){var t=e.i18n,n=e.activity,o=e.commonStyle,i=e.context,r=e.typeEventNotOccurred,a=n.subject,l=m.a.elapsedTime(new Date(1e3*n.createdAt)),c=a.firstName+" "+a.lastName,p=a.firstName[0]+a.lastName[0],P=r?t.feed.cancelEvent.sentenceNotOccurred:t.feed.cancelEvent.sentence,C="/profile/"+a._id;n.object&&n.object.guests&&n.object.guests.length>0&&n.object.guests[0]._id===a._id&&(C+="?rl=mtr");var k=g.a.build(P,{actor:x(y.a,{to:C},void 0,x("b",{},void 0,c))});return x("div",{className:o.row,style:{marginBottom:0}},void 0,x(u.a,{style:h.a.item},void 0,x(_.a,{avatarInitials:p,imageUrl:n.subject.imageUrl,sentence:k,profileId:a._id,elapsedTime:l}),x("div",{style:h.a.content,className:f.a.timeInfoContainer},void 0,x(y.a,{to:"/events/"+n.object._id,style:h.a.link,className:s()(o.col,o.s12,o.m6)},void 0,x(b.a,{i18n:t,event:n.object,context:i}),n.object.cancelInfo&&n.object.cancelInfo.reason&&x("p",{},void 0,x("b",{},void 0,t.feed.cancelEvent.reason,":"),A," ",n.object.cancelInfo.reason),x(d.a,{secondary:!0,label:t.buttonActions.goToMeeting,style:S({},v.a.roundedButtonContainer,{marginTop:"1rem"}),buttonStyle:S({},v.a.roundedButton,v.a.orangeButton)})),x("div",{className:s()(o.col,o.s12,o.m6)},void 0,x(w.a,{i18n:t,userList:n.object.guests,config:i.config})))))};P.defaultProps={typeEventNotOccurred:!1},t.a=r()(f.a)(P)},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(26)),r=n.n(i),a=n(12),s=n.n(a),l=n(17),u=n.n(l),c=n(15),d=n(33),p=n(16),f=n(101),m=n(32),g=n(143),h=n(144),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},y=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),_=function(e){var t=e.i18n,n=e.activity,o=e.commonStyle,i=n.subject,a=n.on,l=d.a.elapsedTime(new Date(1e3*n.createdAt)),_=i.firstName+" "+i.lastName,b=i.firstName[0]+i.lastName[0],w=a.firstName+" "+a.lastName,S="";return S=i._id!==a._id?p.a.build(t.feed.createAvailability.sentenceForAdmin,{actor:y(m.a,{to:"/profile/"+i._id},void 0,y("b",{},void 0,_)),mentor:y(m.a,{to:"/profile/"+a._id+"?rl=mtr"},void 0,y("b",{},void 0,w))}):p.a.build(t.feed.createAvailability.sentence,{actor:y(m.a,{to:"/profile/"+i._id+"?rl?=mtr"},void 0,y("b",{},void 0,_))}),y("div",{className:o.row,style:{marginBottom:0}},void 0,y(r.a,{style:f.a.item},void 0,y(g.a,{avatarInitials:b,imageUrl:n.subject.imageUrl,sentence:S,profileId:i._id,elapsedTime:l}),y("div",{style:v({},f.a.content,{display:"flex",alignItems:"center"})},void 0,y("div",{className:s()(o.col,o.s12,o.m7)},void 0,y(h.a,{i18n:t,event:n.object})),y(m.a,{to:"/profile/"+i._id+"/availabilities?rl=mtr",className:s()(o.col,o.s12,o.m5),style:v({},f.a.link,{marginBottom:0})},void 0,y(u.a,{secondary:!0,label:t.profileRoutes.availabilities,style:v({},c.a.roundedButtonContainer,{marginTop:"0.5rem",marginLeft:"1rem"}),buttonStyle:v({},c.a.roundedButton,c.a.orangeButton)})))))};t.a=_},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(18)),r=n.n(i),a=n(12),s=n.n(a),l=n(26),u=n.n(l),c=n(17),d=n.n(c),p=n(33),f=n(16),m=n(15),g=n(101),h=n(302),v=n.n(h),y=n(32),_=n(143),b=n(144),w=n(195),S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},x=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),A=function(e){var t=e.i18n,n=e.activity,o=e.commonStyle,i=e.context,r=n.subject,a=p.a.elapsedTime(new Date(1e3*n.createdAt)),l=r.firstName+" "+r.lastName,c=r.firstName[0]+r.lastName[0],h="/profile/"+r._id;n.object&&n.object.guests&&n.object.guests.length>0&&n.object.guests[0]._id===r._id&&(h+="?rl=mtr");var A=f.a.build(t.feed.createEvent.sentence,{actor:x(y.a,{to:h},void 0,x("b",{},void 0,l))});return x("div",{className:o.row,style:{marginBottom:0}},void 0,x(u.a,{style:g.a.item},void 0,x(_.a,{avatarInitials:c,imageUrl:n.subject.imageUrl,sentence:A,profileId:r._id,elapsedTime:a}),x("div",{style:g.a.content,className:v.a.timeInfoContainer},void 0,x(y.a,{to:"/events/"+n.object._id,style:g.a.link,className:s()(o.col,o.s12,o.m6)},void 0,x(b.a,{i18n:t,event:n.object,context:i}),x(d.a,{secondary:!0,label:t.buttonActions.goToMeeting,style:S({},m.a.roundedButtonContainer,{marginTop:"1rem"}),buttonStyle:S({},m.a.roundedButton,m.a.orangeButton)})),x("div",{className:s()(o.col,o.s12,o.m6)},void 0,x(w.a,{i18n:t,userList:n.object.guests,config:i.config})))))};t.a=r()(v.a)(A)},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(26)),r=n.n(i),a=n(63),s=n.n(a),l=n(33),u=n(16),c=n(101),d=n(32),p=n(143),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},m=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),g=function(e){var t=e.i18n,n=e.activity,o=e.commonStyle,i=n.subject,a=l.a.elapsedTime(new Date(1e3*n.createdAt)),g=i.firstName+" "+i.lastName,h=i.firstName[0]+i.lastName[0],v=n.on,y=new Date(1e3*v.startDate),_=new Date(1e3*v.endDate),b=l.a.format(y,"DD"),w=l.a.format(y,"YYYY"),S=l.a.format(y,"MMM"),x=l.a.format(y,"dddd"),A=l.a.format(y,"HH:mm"),P=l.a.format(_,"HH:mm"),C=b+" "+S+" "+w+" ("+A+"-"+P+") "+x,k=v.guests[0],M=v.guests[1],T=!M.firstName,O=k.firstName+" "+k.lastName,E=T?M.title:M.firstName+" "+M.lastName,I=O+" & "+E,N="/profile/"+i._id;v.guests&&v.guests.length>0&&v.guests[0]._id===i._id&&(N+="?rl=mtr");var D=u.a.build(t.feed.addEventNote.sentence,{actor:m(d.a,{to:N},void 0,m("b",{},void 0,g)),date:C,event:m(d.a,{to:"/events/"+v._id},void 0,m("b",{},void 0,I))});return m("div",{className:o.row,style:{marginBottom:0}},void 0,m(r.a,{style:c.a.item},void 0,m(p.a,{avatarInitials:h,imageUrl:n.subject.imageUrl,sentence:D,profileId:i._id,elapsedTime:a}),m("div",{style:f({},c.a.content,c.a.noteContent)},void 0,m(s.a,{className:"markdown-content",source:n.object.content,escapeHtml:!1}))))};t.a=g},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(18)),r=n.n(i),a=n(12),s=n.n(a),l=n(26),u=n.n(l),c=n(17),d=n.n(c),p=n(33),f=n(16),m=n(15),g=n(101),h=n(302),v=n.n(h),y=n(32),_=n(143),b=n(144),w=n(195),S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},x=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),A=function(e){var t=e.i18n,n=e.activity,o=e.commonStyle,i=e.context,r=n.subject,a=p.a.elapsedTime(new Date(1e3*n.createdAt)),l=r.firstName+" "+r.lastName,c=r.firstName[0]+r.lastName[0],h="/profile/"+r._id;n.object&&n.object.guests&&n.object.guests.length>0&&n.object.guests[0]._id===r._id&&(h+="?rl=mtr");var A=f.a.build(t.feed.updateEvent.sentence,{actor:x(y.a,{to:h},void 0,x("b",{},void 0,l))});return x("div",{className:o.row,style:{marginBottom:0}},void 0,x(u.a,{style:g.a.item},void 0,x(_.a,{avatarInitials:c,imageUrl:n.subject.imageUrl,sentence:A,profileId:r._id,elapsedTime:a}),x("div",{style:g.a.content,className:v.a.timeInfoContainer},void 0,x(y.a,{to:"/events/"+n.object._id,style:g.a.link,className:s()(o.col,o.s12,o.m6)},void 0,x(b.a,{i18n:t,event:n.object,context:i}),x(d.a,{secondary:!0,label:t.buttonActions.goToMeeting,style:S({},m.a.roundedButtonContainer,{marginTop:"1rem"}),buttonStyle:S({},m.a.roundedButton,m.a.orangeButton)})),x("div",{className:s()(o.col,o.s12,o.m6)},void 0,x(w.a,{i18n:t,userList:n.object.guests,config:i.config})))))};t.a=r()(v.a)(A)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(182),s=(n.n(a),n(0)),l=n.n(s),u=n(123),c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),f=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={},a=n,i(r,a)}return r(t,e),p(t,[{key:"render",value:function(){var e=this,t=this.props,o=t.i18n,i=t.form,r=t.disabled,s=t.response,l=d({},i.form);return s&&s.data&&(l.fields=l.fields.map(function(e){return"singleChoice"!==e.type&&"multipleChoice"!==e.type||e.options.forEach(function(e){e.value||(e.value=e.label)}),s&&s.data?d({},e,{value:s.data[e.id]}):d({},e)})),c("div",{style:{marginBottom:"3rem"}},void 0,c(a.Form,{language:n.i(u.c)(this.props.language),fields:l.fields,loading:r,submitButtonLabel:o.buttonActions.send,onSubmit:function(t){return e.props.onSubmit(t,s)}}))}}]),t}(l.a.Component);f.defaultProps={response:void 0},t.a=f},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(18),u=n.n(l),c=n(3),d=n(12),p=n.n(d),f=n(40),m=n.n(f),g=n(17),h=n.n(g),v=n(1313),y=n.n(v),_=n(42),b=n(15),w=n(193),S=n(43),x=n(145),A=n(239),P=n(732),C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},k=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),M=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),T=k(m.a,{}),O=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isAddGroupMemberDialogShown:!1},n}return r(t,e),M(t,[{key:"componentDidMount",value:function(){this.fetchDataIfNeeded()}},{key:"componentDidUpdate",value:function(){this.fetchDataIfNeeded()}},{key:"fetchDataIfNeeded",value:function(){var e=this.props,t=e.isActive,n=e.isPending,o=e.error,i=e.group;!t||n||o||i||this.props.fetchGroup(this.props.id)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.group,r=t.isPending,a=i?i.members||[]:null,s=i&&o&&o.group&&o.group._id===i._id,l=o.meetingGoalConfig&&o.meetingGoalConfig.meetingGoals&&o.meetingGoalConfig.meetingGoals.length>0,u=o.config,c=u.metadatas||{},d=c.mentee,f={};if(d)for(var m=0;m<d.length;m+=1)f[d[m].id]=d[m].title;return k("div",{className:p()(y.a.row)},void 0,s&&k("div",{style:{textAlign:"center"}},void 0,k(h.a,{secondary:!0,buttonStyle:b.a.roundedButton,label:n.components.groupMemberList.addMember,onTouchTap:function(){return e.setState({isAddGroupMemberDialogShown:!0})},style:C({},b.a.roundedButtonContainer,{margin:"0 0 12px 0"}),labelStyle:b.a.roundedButtonLabel}),k(P.a,{i18n:n,group:i,isShown:this.state.isAddGroupMemberDialogShown,hideDialog:function(){return e.setState({isAddGroupMemberDialogShown:!1})}})),r&&k("div",{style:{textAlign:"center"}},void 0,T),!r&&a&&0===a.length&&k("div",{className:p()(y.a.col,y.a.s12)},void 0,k(S.a,{message:_.a.show(n.components.groupMemberList.emptyMessage,o.config)})),!r&&a&&a.length>0&&k("div",{},void 0,l?k("div",{className:p()(y.a.col,y.a.s12,y.a.m12)},void 0,k(A.a,{context:o,userType:"mentee",classUser:"users",users:a})):a.map(function(e){return k("div",{className:p()(y.a.col,y.a.s12,y.a.m6,y.a.l4,y.a.xl3)},void 0,k(x.a,{i18n:n,user:e,trimInfo:!0,userType:"mentee",metadataLabels:f,showMetadata:!0},e._id))})))}}]),t}(s.a.Component);O.defaultProps={group:null,isPending:!1,error:null};var E=function(e,t){for(var n=null,o=e.groups.detailedList||[],i=0;i<o.length;i+=1)if(o[i]._id===t.id){n=o[i];break}return{i18n:e.i18n,context:e.session.sContext,error:e.groups.errorList[t.id],isPending:e.groups.pendingList[t.id],group:n}},I={fetchGroup:w.c};t.a=n.i(c.a)(E,I)(u()(y.a)(O))},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return!!e.match(a.regex)}var s=n(0),l=n.n(s),u=n(41),c=n.n(u),d=n(60),p=n.n(d),f=n(47),m=n.n(f),g=n(484),h=n.n(g),v=n(1314),y=(n.n(v),function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}()),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();a.regex=/^\s*data:([a-z]+\/[a-z]+(;[a-z\-]+\=[a-z\-]+)?)?(;base64)?,[a-z0-9\!\$\&\'\,\(\)\*\+\,\;\=\-\.\_\~\:\@\/\?\%\s]*\s*$/i;var b=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.state={dragging:!1,image:{},mouse:{x:null,y:null},preview:null,zoom:1},e.listeners=[],e}return r(t,e),_(t,[{key:"preventSelection",value:function(e){if(this.state.dragging)return e.preventDefault(),!1}},{key:"mouseUpListener",value:function(e){this.setState({dragging:!1,preview:this.toDataURL()})}},{key:"mouseMoveListener",value:function(e){if(this.state.dragging){var t=e.clientX,n=e.clientY,o=this.state.image.x,i=this.state.image.y,r=this.state.image;if(this.state.mouse.x&&this.state.mouse.y){var a=this.state.mouse.x-t,s=this.state.mouse.y-n,l=this.boundedCoords(o,i,a,s);r.x=l.x,r.y=l.y}this.setState({image:this.state.image,mouse:{x:t,y:n}})}}},{key:"boundedCoords",value:function(e,t,n,o){var i=e-n,r=t-o,a=this.state.image.width*this.state.zoom,s=(a-this.state.image.width)/2,l=(this.state.image.x,this.props.width);e=i-s>0?s:i<-a+l?l-a:i;var u=this.state.image.height*this.state.zoom,c=(u-this.state.image.height)/2,d=(this.state.image.y,this.props.height);return t=r-c>0?c:r<-u+d?d-u:r,{x:e,y:t}}},{key:"componentDidMount",value:function(){var e=this,t=c.a.findDOMNode(this.refs.canvas);t.getContext("2d");this.prepareImage(this.props.image),this.listeners={mousemove:function(t){return e.mouseMoveListener(t)},mouseup:function(t){return e.mouseUpListener(t)},mousedown:function(t){return e.mouseDownListener(t)}},window.addEventListener("mousemove",this.listeners.mousemove,!1),window.addEventListener("mouseup",this.listeners.mouseup,!1),t.addEventListener("mousedown",this.listeners.mousedown,!1),document.onselectstart=function(t){return e.preventSelection(t)}}},{key:"componentWillUnmount",value:function(){var e=c.a.findDOMNode(this.refs.canvas);window.removeEventListener("mousemove",this.listeners.mousemove),window.removeEventListener("mouseup",this.listeners.mouseup),e.removeEventListener("mousedown",this.listeners.mousedown)}},{key:"mouseDownListener",value:function(){this.setState({image:this.state.image,dragging:!0,mouse:{x:null,y:null}})}},{key:"prepareImage",value:function(e){var t=this,n=new Image;a(e)||(n.crossOrigin="anonymous"),n.onload=function(){var e=t.fitImageToCanvas(n.width,n.height);e.resource=n,e.x=0,e.y=0,t.setState({dragging:!1,image:e,preview:t.toDataURL()})},n.src=e}},{key:"fitImageToCanvas",value:function(e,t){var n=void 0,o=void 0;this.props.height/this.props.width>t/e?(n=this.props.height,o=e*(n/t)):(o=this.props.width,n=t*(o/e));return{width:o,height:n}}},{key:"componentDidUpdate",value:function(){var e=c.a.findDOMNode(this.refs.canvas).getContext("2d");e.clearRect(0,0,this.props.width,this.props.height),this.addImageToCanvas(e,this.state.image)}},{key:"addImageToCanvas",value:function(e,t){if(t.resource){e.save(),e.globalCompositeOperation="destination-over";var n=this.state.image.width*this.state.zoom,o=this.state.image.height*this.state.zoom,i=t.x-(n-this.state.image.width)/2,r=t.y-(o-this.state.image.height)/2;i=Math.min(i,0),r=Math.min(r,0),r=o+r>=this.props.height?r:r+(this.props.height-(o+r)),i=n+i>=this.props.width?i:i+(this.props.width-(n+i)),e.drawImage(t.resource,i,r,t.width*this.state.zoom,t.height*this.state.zoom),e.restore()}}},{key:"toDataURL",value:function(){var e=document.createElement("canvas"),t=e.getContext("2d");return e.width=this.props.width,e.height=this.props.height,this.addImageToCanvas(t,{resource:this.state.image.resource,x:this.state.image.x,y:this.state.image.y,height:this.state.image.height,width:this.state.image.width}),e.toDataURL()}},{key:"handleCrop",value:function(){var e=this.toDataURL();this.props.onCrop(e)}},{key:"handleZoomUpdate",value:function(){var e=this.state;e.zoom=c.a.findDOMNode(this.refs.zoom).value,this.setState({newstate:e})}},{key:"render",value:function(){var e=this,t=[y(m.a,{style:{color:"#aaa"},label:this.props.closeButtonLabel,onTouchTap:this.props.onRequestHide}),y(m.a,{style:{color:"#2A81DD"},label:this.props.cropButtonLabel,secondary:!0,onTouchTap:this.handleCrop.bind(this)})];return y(p.a,{actions:t,modal:!0,open:!0},void 0,y("div",{},void 0,y("div",{style:{textAlign:"center"}},void 0,l.a.createElement("canvas",{ref:"canvas",width:this.props.width,height:this.props.height})),y("div",{width:"400px"},void 0,y(h.a,{min:1,max:3,step:.01,defaultValue:1,value:this.state.zoom,sliderStyle:{margin:"1rem 0 0 0"},onChange:function(t,n){return e.setState({zoom:n})}}))))}}]),t}(l.a.Component);b.defaultProps={width:400,height:400,zoom:1};var w=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this))}return r(t,e),_(t,[{key:"handleZoomUpdate",value:function(){var e=c.a.findDOMNode(this.refs.zoom).value;this.setState({zoom:e})}},{key:"render",value:function(){return y("div",{},void 0,this.props.cropperOpen&&y(b,{image:this.props.image,width:this.props.width,height:this.props.height,onCrop:this.props.onCrop,onRequestHide:this.props.onRequestHide,closeButtonLabel:this.props.closeButtonLabel,cropButtonLabel:this.props.cropButtonLabel}))}}]),t}(l.a.Component);w.defaultProps={width:400,height:400,closeButtonLabel:"Close",cropButtonLabel:"Crop and Save"},t.a=w},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){var t=e.i18n,r=e.contexts,a=e.availabilities,s=e.isPrimary,c=e.s,d=e.style,m=t.components.inlineCalendarDayView,g=[].concat(o(e.meetings),o(a)),v={};a.forEach(function(e){e.slots.forEach(function(e){v[e.id]=!0,v[e.microsoftEventId]=!0})}),e.meetings.forEach(function(e){v[e.gcID]=!0,(e.mcIDs||[]).forEach(function(e){v[e]=!0})});for(var y=n.i(u.a)(g),_={},b=0;b<g.length;b+=1){var w=g[b];_[w._id]||(_[w._id]=[]);for(var S=b+1;S<g.length;S+=1){var x=g[S];_[x._id]||(_[x._id]=[]),n.i(u.b)(w,x)&&(_[w._id]=[].concat(o(_[w._id]),[x._id]),_[x._id]=[].concat(o(_[x._id]),[w._id]))}}var A={};g.forEach(function(e){A[e._id]=n.i(u.c)(_,e._id)});var P={};r.forEach(function(e){P[e.organisation._id]=e.organisation});var C=[];return y.forEach(function(e){e.rows.forEach(function(t,n){t.events.forEach(function(t){C.push(h(c,m,t,e.rows.length,n,s))})})}),f("div",{className:l()(c.cellTable,i({},c.secondary,!s)),style:p({},d)},void 0,C)}var a=n(0),s=(n.n(a),n(12)),l=n.n(s),u=n(758),c=n(33),d=n(16),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},f=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),m=function(e){var t=void 0,n=e.slice(e.length-2,e.length);t="ÖÖ"==n?e.slice(0,4)+" AM":"ÖS"==n?e.slice(0,4)+" PM":e;var o=t,i=o.match(/\s(.*)$/)[1],r=Number(o.match(/^(\d+)/)[1]),a=Number(o.match(/:(\d+)/)[1]);"PM"==i&&r<12&&(r+=12),"AM"==i&&12==r&&(r-=12);var s=r.toString(),l=a.toString();return r<10&&(s="0"+s),a<10&&(l="0"+l),s+":"+l},g=f("br",{}),h=function(e,t,n,o,r,a){var s,u="string"==typeof n.startDate?n.startDate:1e3*n.startDate,p="string"==typeof n.endDate?n.endDate:1e3*n.endDate,h=0===n.startDate?"00:00":"12-hour"===c.a.timeFormat?m(c.a.format(new Date(u),"HH:mm")):c.a.format(new Date(u),"HH:mm"),v=0===n.endDate?"24:00":"12-hour"===c.a.timeFormat?m(c.a.format(new Date(p),"HH:mm")):c.a.format(new Date(p),"HH:mm"),y=4.16*(parseInt(h.split(":")[0],0)+parseInt(h.split(":")[1],0)/60),_=4.16*(parseInt(v.split(":")[0],0)+parseInt(v.split(":")[1],0)/60),b="",w="";a&&(n.reason?"google-calendar"===n.reason.source?(w="Google",b=e.google):"outlook-calendar"===n.reason.source?(w="Microsoft",b=e.microsoft):w=n.reason.organisation||"Mentornity":w="Mentornity");var S="";return n.reason&&(S=n.reason.name),n.slots?(S=d.a.build(t.availabilitySlot,{organisation:n.reason?f("b",{},void 0,n.reason.organisation):""}),w=""):n.isPreview&&(S=t.preview,w=""),w&&(w="("+w+")"),f("div",{className:l()(e.cellColumn,b,(s={},i(s,e.free,a&&"free"===n.showAs),i(s,e.preview,n.isPreview),s)),style:{left:y+"%",right:100-_+"%",height:100/o-2+"%",top:r*(100/o)+"%",cursor:!a&&"inherit"}},n._id,a&&o<4&&f("div",{className:e.truncate},void 0,S),a&&f("div",{className:e.tooltipText},void 0,S,g,w))};r.defaultProps={availabilities:[],meetings:[],isPrimary:!1,style:{}},t.a=r},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}n.d(t,"b",function(){return i}),n.d(t,"c",function(){return r}),n.d(t,"a",function(){return a});var i=function(e,t){return 0===e.startDate||0===t.startDate||(e.startDate<=t.startDate&&e.endDate>=t.endDate||(e.startDate>=t.startDate&&e.endDate<=t.endDate||(e.startDate<=t.startDate&&e.endDate>=t.startDate||e.startDate<=t.endDate&&e.endDate>=t.endDate)))},r=function e(t,n){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=t[n].length,a=t[n],s=0;s<a.length;s+=1)if(-1===i.indexOf(a[s])){var l=e(t,a[s],[].concat(o(i),[n]));r=Math.max(r,l)}return r},a=function(e){for(var t=[],n=0;n<e.length;n+=1){var o=e[n],r=t.length>0?t[t.length-1]:void 0;if(r&&i(o,r)){for(var a=!1,s=0;s<r.rows.length;s+=1){var l=r.rows[s];i(o,l)||(t[t.length-1].rows[s].events.push(o),t[t.length-1].rows[s].endDate=o.endDate,o.endDate>t[t.length-1].endDate&&(t[t.length-1].endDate=o.endDate),a=!0)}a||(t[t.length-1].rows.push({events:[o],endDate:o.endDate,startDate:o.startDate}),o.endDate>t[t.length-1].endDate&&(t[t.length-1].endDate=o.endDate))}else t.push({endDate:o.endDate,startDate:o.startDate,rows:[{events:[o],endDate:o.endDate,startDate:o.startDate}]})}return t}},function(e,t,n){"use strict";function o(e){var t=e.meeting.feedback,n=e.feedbackConfig;if(t){for(var o=[],i=0;i<n.fields.length;i+=1)t.data[n.fields[i].id]&&o.push(l({},n.fields[i],{value:t.data[n.fields[i].id]}));return s(a.a,{fields:o})}return s(r.a,{meeting:e.meeting,feedbackConfig:n})}var i=n(0),r=(n.n(i),n(760)),a=n(381),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};o.defaultProps={},t.a=o},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(182),s=(n.n(a),n(0)),l=n.n(s),u=n(3),c=n(192),d=n(123),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),g=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={},n}return r(t,e),m(t,[{key:"onFormSubmit",value:function(e){var t=this.props,n=t.organisation,o=t.group,i=t.meeting;if(0!==Object.keys(e).length){var r={data:f({},e),event:{_type:"reference",_class:"events",_id:i._id},organisation:{_type:"reference",_class:"organisations",_id:n._id},type:"feedback"};o&&(r.group={_type:"reference",_class:"groups",_id:o._id}),this.props.createFormResponse(r)}}},{key:"render",value:function(){var e=this;return p("div",{},void 0,p(a.Form,{language:n.i(d.c)(this.props.language),fields:this.props.feedbackConfig.fields,loading:this.props.isDisabled,submitButtonLabel:this.props.i18n.buttonActions.save,onSubmit:function(t){return e.onFormSubmit(t)}}),p("i",{style:{fontSize:"0.8em",display:"block",textAlign:"center"}},void 0,this.props.i18n.components.feedbackForm.privacyDescription))}}]),t}(l.a.Component);g.defaultProps={isDisabled:!1,group:void 0};var h=function(e){return{i18n:e.i18n,language:e.session.language,group:e.session.sContext.group,organisation:e.session.sContext.organisation,isDisabled:e.forms.isSendFormResponsePending}},v={createFormResponse:c.c};t.a=n.i(u.a)(h,v)(g)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(364),u=n(39),c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p={openMeetingDetail:"dvn.mentornity-user-card-list-wrapper.open-meeting-page"},f=c(l.a,{componentTag:"mentornity-availability-settings-wrapper"}),m=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.onOpenMeetingDetail=function(e){var t=e.detail.meetingId;u.a.push("/events/"+t)},a=n,i(r,a)}return r(t,e),d(t,[{key:"componentDidMount",value:function(){window.addEventListener(p.openMeetingDetail,this.onOpenMeetingDetail)}},{key:"componentWillUnmount",value:function(){window.removeEventListener(p.openMeetingDetail,this.onOpenMeetingDetail)}},{key:"render",value:function(){return f}}]),t}(s.a.Component);t.a=m},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(54),c=n(56),d=n(39),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),m={openProfilePage:"dvn.mentornity-member-home-widgets-wrapper.open-profile-page",openMeetingDetail:"dvn.mentornity-member-home-widgets-wrapper.open-meeting-page",openMenteesPage:"dvn.mentornity-member-home-widgets-wrapper.open-mentees-page",openMentorsPage:"dvn.mentornity-member-home-widgets-wrapper.open-mentors-page",openUserPairPage:"dvn.mentornity-member-home-widgets-wrapper.open-user-pair-page",openMentorSelectionPage:"dvn.mentornity-member-home-widgets-wrapper.open-mentor-selection-page"},g=p("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),h=p("link",{href:"https://unicons.iconscout.com/release/v1.0.0/css/unicons.css",rel:"stylesheet"}),v=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.openProfilePage=function(e){var t=e.detail.user,n=new URLSearchParams({rl:"mentor"===r.props.userType?"mtr":"mte",oid:r.props.context.organisation._id,swcui:!0}),o="/profile/"+t._id+"?"+n.toString();window.open(o,"_blank").focus()},r.onOpenMeetingDetail=function(e){var t=e.detail.meetingId;d.a.push("/events/"+t)},r.openMenteesPage=function(e){var t=r.props.context;d.a.push("/"+t.organisation.domain+"/mentees")},r.openMentorsPage=function(e){var t=r.props.context;d.a.push("/"+t.organisation.domain+"/mentors")},r.openUserPairPage=function(e){var t=e.detail,n=t.userId,o=t.subId,i=r.props.context,a="mentee"===i.role?"mentor":"group"===i.config.menteeType?"group":"mentee";d.a.push("/"+r.props.context.organisation.domain+"/pairs/"+o+"?uid="+n+"&&usertype="+a)},r.openMentorSelectionPage=function(e){d.a.push("/"+r.props.context.organisation.domain+"/pairs/select")},a=n,i(r,a)}return r(t,e),f(t,[{key:"componentDidMount",value:function(){window.addEventListener(m.openProfilePage,this.openProfilePage),window.addEventListener(m.openMeetingDetail,this.onOpenMeetingDetail),window.addEventListener(m.openMenteesPage,this.openMenteesPage),window.addEventListener(m.openMentorsPage,this.openMentorsPage),window.addEventListener(m.openUserPairPage,this.openUserPairPage),window.addEventListener(m.openMentorSelectionPage,this.openMentorSelectionPage)}},{key:"componentWillUnmount",value:function(){window.removeEventListener(m.openProfilePage,this.openProfilePage),window.removeEventListener(m.openMeetingDetail,this.onOpenMeetingDetail),window.removeEventListener(m.openMenteesPage,this.openMenteesPage),window.removeEventListener(m.openMentorsPage,this.openMentorsPage),window.removeEventListener(m.openUserPairPage,this.openUserPairPage),window.removeEventListener(m.openMentorSelectionPage,this.openMentorSelectionPage)}},{key:"render",value:function(){var e=this.props,t=e.context,n=e.language,o=e.timeFormat,i=e.timeZone,r=e.contexts,a=e.isMobile,s=e.whiteLabel,l=void 0,u=!1;if(r[0].availableRoles)r[0].availableRoles.forEach(function(e){"mentee"===e&&(u=!0),"mentor"===e&&(l=!0)});else{var c=r[0].role;"mentee"===c&&(u=!0),"mentor"===c&&(l=!0)}return p("div",{style:{margin:"-1rem -0.25rem 0 -0.25rem"}},void 0,g,h,p("mentornity-member-home-widgets-wrapper",{"user-type":t.role,"mentee-type":t.config.menteeType,language:n,"time-format":o,"time-zone":i,"mentor-mentee-subscription":t.config.mentorMenteeSubscription,"has-mentor-role":l,"has-mentee-role":u,"is-mobile":a,"organisation-id":t.organisation._id,"group-id":t.group?t.group._id:void 0,"white-label":JSON.stringify(s),"is-google-expired":this.props.isGoogleExpired,"is-zoom-expired":this.props.isZoomExpired,"is-microsoft-expired":this.props.isMicrosoftExpired,"is-microsoft-business-expired":this.props.isMicrosoftBusinessExpired}))}}]),t}(s.a.Component);t.a=n.i(l.a)(function(e){return{context:e.session.sContext,isZoomAuthenticated:!!c.a.getAuthPlatform(e.session.authPlatforms,"zoom"),isGoogleAuthenticated:!!c.a.getAuthPlatform(e.session.authPlatforms,"google"),language:e.session.language,timeZone:e.session.timeZone,timeFormat:e.session.timeFormat,contexts:e.session.contexts,whiteLabel:e.session.whiteLabel,isMobile:e.runtime.isMobile,isZoomExpired:c.a.isAuthPlatformExpired(e.session.authPlatforms,"zoom"),isGoogleExpired:c.a.isAuthPlatformExpired(e.session.authPlatforms,"google"),isMicrosoftExpired:c.a.isAuthPlatformExpired(e.session.authPlatforms,"microsoft"),isMicrosoftBusinessExpired:c.a.isAuthPlatformExpired(e.session.authPlatforms,"microsoftbusiness")}},{openConversation:u.d})(v)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(364),u=n(39),c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p={openMeetingDetail:"dvn.mentornity-my-meetings-wrapper.open-meeting-detail"},f=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.onOpenMeetingDetail=function(e){var t=e.detail.meetingId;u.a.push("/events/"+t)},a=n,i(r,a)}return r(t,e),d(t,[{key:"componentDidMount",value:function(){window.addEventListener(p.openMeetingDetail,this.onOpenMeetingDetail)}},{key:"componentWillUnmount",value:function(){window.removeEventListener(p.openMeetingDetail,this.onOpenMeetingDetail)}},{key:"render",value:function(){return c(l.a,{style:{height:"100%"},componentTag:"mentornity-my-meetings-wrapper"})}}]),t}(s.a.Component);t.a=f},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),d=u("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),p=u("link",{href:"https://unicons.iconscout.com/release/v1.0.0/css/unicons.css",rel:"stylesheet"}),f=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isPending:!0,organisationId:""},n}return r(t,e),c(t,[{key:"componentDidMount",value:function(){this.fetchOrganisationId()}},{key:"fetchOrganisationId",value:function(){var e=this,t=window.location.pathname.split("/")[1];window.api.getOrganisationWithDomain(t).then(function(t){e.setState({organisationId:t._id,isPending:!1})})}},{key:"render",value:function(){var e=this.state,t=e.organisationId,n=e.isPending;return u("div",{style:{minHeight:"calc(100vh - 64px)"}},void 0,d,p,!n&&u("mentornity-membership-application-wrapper",{"form-target":"mentors"===this.props.subRoute?"mentor":"mentee",language:this.props.language,"time-zone":this.props.timeZone,"organisation-id":t}))}}]),t}(s.a.Component);f.defaultProps={},t.a=n.i(l.a)(function(e){return{context:e.session.sContext,i18n:e.i18n,account:e.session.account,language:e.session.language,timeZone:e.session.timeZone}},{})(f)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(54),c=n(194),d=n(39),p=n(56),f=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),m=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),g={createMeeting:"dvn.atama-pairs.create-meeting",sendMessage:"dvn.user-pair-detail.send-message",viewAvailabilities:"dvn.atama-pairs.view-availabilities",openMeetingDetail:"dvn.atama-pairs.open-meeting-detail",openPairOverviewPage:"dvn.atama-pairs.open-pair-overview-page",openPairDetail:"dvn.atama-pairs.open-pair-detail",openProfilePage:"dvn.mentornity-user-pair-detail-wrapper.open-profile-page"},h=f("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),v=f("link",{href:"https://unicons.iconscout.com/release/v1.0.0/css/unicons.css",rel:"stylesheet"}),y=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={pairViewKey:1},r.onOpenPairDetail=function(e){var t=e.detail,n=t.pairId,o=t.userId,i=r.props.context,a="mentee"===i.role?"mentor":"group"===i.config.menteeType?"group":"mentee";d.a.push("/"+r.props.context.organisation.domain+"/pairs/"+n+"?uid="+o+"&&usertype="+a)},r.openProfilePage=function(e){var t=e.detail,n=t.user,o=t.role,i="group"===o?"/groups/"+n._id:"/"+r.props.context.organisation.domain+"/pairs/"+r.props.context.organisation._id+"?uid="+n._id+"&&usertype="+o;window.open(i,"_blank").focus()},r.onOpenMeetingDetail=function(e){var t=e.detail.meetingId;d.a.push("/events/"+t)},r.onCreateMeetingClick=function(e){var t=e.detail,n=t.goal.identifier,o=t.user,i=r.props.role,a=r.props.context.meetingGoalConfig.meetingGoals.find(function(e){return e.identifier===n});r.setState({isCreateMeetingFormShown:!0,selectedPeriodStartDate:a.periodStartDate&&new Date(1e3*a.periodStartDate),selectedPeriodEndDate:a.periodEndDate&&new Date(1e3*a.periodEndDate),selectedMeetingGoal:a,selectedSubscriber:"mentor"===i?o:void 0,selectedMentor:"mentee"===i?o:void 0})},r.onSendMessageClick=function(e){var t=e.detail.user;r.props.isMobile?d.a.push("/conversations/wu/"+t._id):r.props.openConversation(t)},r.openPairOverviewPage=function(){"mentor"===r.props.role?d.a.push("/"+r.props.context.organisation.domain+"/mentees"):d.a.push("/"+r.props.context.organisation.domain+"/mentors")},r.viewAvailabilities=function(e){var t=e.detail.user;d.a.push("/profile/"+t._id+"/availabilities?rl=mtr&lean=true")},a=n,i(r,a)}return r(t,e),m(t,[{key:"componentDidMount",value:function(){window.addEventListener(g.openProfilePage,this.openProfilePage),window.addEventListener(g.openPairDetail,this.onOpenPairDetail),window.addEventListener(g.createMeeting,this.onCreateMeetingClick),window.addEventListener(g.sendMessage,this.onSendMessageClick),window.addEventListener(g.openMeetingDetail,this.onOpenMeetingDetail),window.addEventListener(g.openPairOverviewPage,this.openPairOverviewPage),window.addEventListener(g.viewAvailabilities,this.viewAvailabilities)}},{key:"componentWillUnmount",value:function(){window.removeEventListener(g.openProfilePage,this.openProfilePage),window.removeEventListener(g.openPairDetail,this.onOpenPairDetail),window.removeEventListener(g.createMeeting,this.onCreateMeetingClick),window.removeEventListener(g.sendMessage,this.onSendMessageClick),window.removeEventListener(g.openMeetingDetail,this.onOpenMeetingDetail),window.removeEventListener(g.openPairOverviewPage,this.openPairOverviewPage),window.removeEventListener(g.viewAvailabilities,this.viewAvailabilities)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.language,r=t.role,a=t.timeFormat,s=t.dateFormat,l=t.timeZone,u=o.meetingGoalConfig;if(!u)return null;var d=this.state,p=d.isCreateMeetingFormShown,m=d.selectedPeriodStartDate,g=d.selectedPeriodEndDate,y=d.selectedMentor,_=d.selectedSubscriber,b=d.selectedMeetingGoal;return f("div",{style:{minHeight:"calc(100vh - 64px)",marginTop:"3rem"}},void 0,h,v,f("mentornity-user-pair-detail-wrapper",{language:i,"time-format":a,"date-format":s,"time-zone":l,"is-zoom-authenticated":this.props.isZoomAuthenticated,"is-google-authenticated":this.props.isGoogleAuthenticated,"is-microsoft-business-authenticated":this.props.isMicrosoftBusinessAuthenticated,"organisation-id":o.organisation._id,"group-id":o.group?o.group._id:void 0,"user-type":r},this.state.pairViewKey),f(c.a,{i18n:n,mentorship:o.mentorship,maxDate:g,minDate:m,isShown:p,selectedMentees:_?[_]:[],selectedMentor:y,selectedMeetingGoal:b,isMenteeCreatingMeeting:"mentee"===r,meetingGoals:u.meetingGoals,hideDialog:function(t){e.setState({isCreateMeetingFormShown:!1,pairViewKey:t?e.state.pairViewKey+1:e.state.pairViewKey})}}))}}]),t}(s.a.Component);y.defaultProps={isZoomAuthenticated:!1,isGoogleAuthenticated:!1},t.a=n.i(l.a)(function(e){return{i18n:e.i18n,context:e.session.sContext,isMobile:e.runtime.isMobile,isZoomAuthenticated:p.a.isAuthPlatformConnected(e.session.authPlatforms,"zoom"),isGoogleAuthenticated:p.a.isAuthPlatformConnected(e.session.authPlatforms,"google"),isMicrosoftBusinessAuthenticated:p.a.isAuthPlatformConnected(e.session.authPlatforms,"microsoftbusiness"),language:e.session.language,timeZone:e.session.timeZone,timeFormat:e.session.timeFormat,dateFormat:e.session.dateFormat,role:e.session.sContext.role}},{openConversation:u.d})(y)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(54),c=n(39),d=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),f={openPairDetail:"dvn.atama-pairs.open-pair-detail",openPairSelection:"dvn.atama-pairs.open-pair-selection-page",sendMessage:"dvn.atama-pairs.send-message"},m=d("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),g=d("link",{href:"https://unicons.iconscout.com/release/v1.0.0/css/unicons.css",rel:"stylesheet"}),h=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.onSendMessageClick=function(e){var t=e.detail.user;r.props.isMobile?c.a.push("/conversations/wu/"+t._id):r.props.openConversation(t)},r.onOpenPairDetail=function(e){var t=e.detail,n=t.pairId,o=t.userId,i=r.props.context,a="mentee"===i.role?"mentor":"group"===i.config.menteeType?"group":"mentee";c.a.push("/"+r.props.context.organisation.domain+"/pairs/"+n+"?uid="+o+"&&usertype="+a)},r.openPairSelection=function(){c.a.push("/"+r.props.context.organisation.domain+"/pairs/select")},a=n,i(r,a)}return r(t,e),p(t,[{key:"componentDidMount",value:function(){window.addEventListener(f.openPairDetail,this.onOpenPairDetail),window.addEventListener(f.openPairSelection,this.openPairSelection),window.addEventListener(f.sendMessage,this.onSendMessageClick)}},{key:"componentWillUnmount",value:function(){window.removeEventListener(f.openPairDetail,this.onOpenPairDetail),window.removeEventListener(f.openPairSelection,this.openPairSelection),window.removeEventListener(f.sendMessage,this.onSendMessageClick)}},{key:"render",value:function(){return d("div",{style:{minHeight:"calc(100vh - 64px)",marginTop:"-1rem"}},void 0,m,g,d("mentornity-pair-selection-wrapper",{language:this.props.language,"time-zone":this.props.timeZone}))}}]),t}(s.a.Component);h.defaultProps={},t.a=n.i(l.a)(function(e){return{context:e.session.sContext,isMobile:e.runtime.isMobile,language:e.session.language,timeZone:e.session.timeZone}},{openConversation:u.d})(h)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(54),c=n(236),d=n(29),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),m=p("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),g=p("link",{href:"https://unicons.iconscout.com/release/v1.0.0/css/unicons.css",rel:"stylesheet"}),h=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=e.account;return n.state={imageUrl:r?r.imageUrl:""},n}return r(t,e),f(t,[{key:"onAvatarChanged",value:function(e){this.props.uploadAvatar(this.props.account._id,e)}},{key:"render",value:function(){var e=this,t=this.props.isUpdateAvatarPending;return p("div",{style:{minHeight:"calc(100vh - 64px)"}},void 0,m,g,p("div",{},void 0,p("div",{style:{position:"relative",textAlign:"center"}},void 0,p(c.a,{i18n:this.props.i18n,imageWidth:320,imageHeight:320,initials:"",imageUrl:this.state.imageUrl,isUploadingImage:t,onImageChange:function(t){return e.onAvatarChanged(t)}}))),p("mentornity-membership-settings-wrapper",{language:this.props.language,"time-zone":this.props.timeZone}))}}]),t}(s.a.Component);h.defaultProps={isAvatarUpdated:!1,updateAvatarError:null,isUpdateAvatarPending:!1},t.a=n.i(l.a)(function(e){return{context:e.session.sContext,i18n:e.i18n,role:e.session.sContext.role,account:e.session.account,language:e.session.language,timeZone:e.session.timeZone,updateAvatarError:e.session.updateAvatarError,isUpdateAvatarPending:e.session.isUpdateAvatarPending,isAvatarUpdated:e.session.isAvatarUpdated}},{openConversation:u.d,uploadAvatar:d.o})(h)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(39),c=n(54),d=n(56),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),m={sendMessage:"dvn.mentornity-user-detail-wrapper.send-message",openMeetingDetail:"dvn.mentornity-user-detail-wrapper.open-meeting-detail"},g=p("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),h=p("link",{href:"https://unicons.iconscout.com/release/v1.0.0/css/unicons.css",rel:"stylesheet"}),v=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.onSendMessageClick=function(e){var t=e.detail.user;r.props.isMobile?u.a.push("/conversations/wu/"+t._id):r.props.openConversation(t)},r.onOpenMeetingDetail=function(e){var t=e.detail.meetingId;u.a.push("/events/"+t)},a=n,i(r,a)}return r(t,e),f(t,[{key:"componentDidMount",value:function(){window.addEventListener(m.sendMessage,this.onSendMessageClick),window.addEventListener(m.openMeetingDetail,this.onOpenMeetingDetail)}},{key:"componentWillUnmount",value:function(){window.removeEventListener(m.sendMessage,this.onSendMessageClick),window.removeEventListener(m.openMeetingDetail,this.onOpenMeetingDetail)}},{key:"render",value:function(){var e=this.props,t=e.context,n=e.language,o=e.timeZone,i=e.timeFormat,r=e.dateFormat,a=e.userToViewId;return p("div",{style:{minHeight:"calc(100vh - 64px)",paddingTop:"1rem"}},void 0,g,h,p("mentornity-user-detail-wrapper",{language:n,"time-format":i,"date-format":r,"time-zone":o,"is-zoom-authenticated":this.props.isZoomAuthenticated,"is-google-authenticated":this.props.isGoogleAuthenticated,"is-microsoft-businesss-authenticated":this.props.isMicrosoftBusinessAuthenticated,"organisation-id":t.organisation._id,"group-id":t.group?t.group._id:void 0,"viewed-user-id":a,"viewed-user-role":this.props.userToViewRole}))}}]),t}(s.a.Component);t.a=n.i(l.a)(function(e){return{context:e.session.sContext,isMobile:e.runtime.isMobile,isZoomAuthenticated:d.a.isAuthPlatformConnected(e.session.authPlatforms,"zoom"),isGoogleAuthenticated:d.a.isAuthPlatformConnected(e.session.authPlatforms,"google"),isMicrosoftBusinessAuthenticated:d.a.isAuthPlatformConnected(e.session.authPlatforms,"microsoftbusiness"),language:e.session.language,timeZone:e.session.timeZone,timeFormat:e.session.timeFormat,dateFormat:e.session.dateFormat}},{openConversation:c.d})(v)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(63),u=n.n(l),c=n(17),d=n.n(c),p=n(489),f=(n.n(p),n(15)),m=n(33),g=n(16),h=n(240),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},y=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),b=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={stepIndex:-1},a=n,i(r,a)}return r(t,e),_(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.config,i=t.meetingGoalConfig,r=t.role,a=t.meetingsByGoalIdentifier,s=this.state.stepIndex,l=i.meetingGoals||[],c={fontSize:"0.9em"},_="mentor"===r&&o.meetingSettings.mentorsCanCreateMeeting||"mentee"===r&&o.meetingSettings.menteesCanCreateMeeting;return y("div",{},void 0,y(p.Stepper,{activeStep:s,linear:!1,orientation:"vertical"},void 0,l.map(function(t,o){var i=a[t.identifier]||[],s=_&&0===i.length;return y(p.Step,{},t.identifier,y(p.StepButton,{onClick:function(){return e.setState({stepIndex:o})}},void 0,y("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"}},void 0,y("b",{},void 0,t.meetingTitle),y("div",{style:{display:"flex",flexDirection:"row"}},void 0,t.periodStartDate&&!t.periodEndDate&&y("div",{style:v({},c,{marginRight:"0.5rem"})},void 0,n.components.meetingGoalStatus.periodStartDate," :"),t.periodStartDate&&y("div",{style:c},void 0,m.a.format(1e3*t.periodStartDate,"DD MMMM YYYY")),t.periodStartDate&&t.periodEndDate&&y("div",{style:v({},c,{margin:"0 0.5rem"})},void 0,"-"),!t.periodStartDate&&t.periodEndDate&&y("div",{style:v({},c,{marginRight:"0.5rem"})},void 0,n.components.meetingGoalStatus.periodEndDate," :"),t.periodEndDate&&y("div",{style:c},void 0,m.a.format(1e3*t.periodEndDate,"DD MMMM YYYY"))))),y(p.StepContent,{},void 0,y(u.a,{className:"markdown-content",source:g.a.linkifyForMarkdown("mentor"===r?t.specifications.mentor.description||"<p/>":t.specifications.mentee.description||"<p/>"),escapeHtml:!1}),s&&y("div",{},void 0,y(d.a,{secondary:!0,label:n.components.organisationMenu.createMeeting,onTouchTap:function(){return e.props.onCreateMeetingClick(t)},style:v({},f.a.semiRoundedButtonContainer),buttonStyle:f.a.semiRoundedButton,labelStyle:f.a.semiRoundedButtonLabel},"createMeeting")),y("div",{style:{marginTop:"1rem"}},void 0,i.map(function(e){return y(h.a,{event:e,removeMargins:!0},e._id)}))))})))}}]),t}(s.a.Component);b.defaultProps={},t.a=b},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(12),u=n.n(l),c=n(34),d=n.n(c),p=n(18),f=n.n(p),m=n(17),g=n.n(m),h=n(145),v=n(769),y=n(303),_=n.n(y),b=n(15),w=n(32),S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},x=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),A=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),P=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={},a=n,i(r,a)}return r(t,e),A(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.commonStyle,r=t.meetingsByUsers,a=t.role,s=t.subscribedUsers,l=t.userType,c=t.account,p=o.meetingGoalConfig;return x("div",{className:u()(_.a.row),style:{marginTop:"-1rem"}},void 0,s.map(function(t){return x("div",{className:_.a.row,style:{borderBottom:"1px solid rgba(0, 0, 0, 0.1)",padding:"2rem 0 1rem 0"}},t._id,x("div",{className:u()(_.a.col,_.a.s12,_.a.m5,i.hideOnSmallAndDown)},void 0,x(h.a,{i18n:n,user:t,trimInfo:!0,userType:l})),x("div",{className:u()(_.a.col,_.a.s12,i.hideOnMediumAndUp)},void 0,x("div",{style:{display:"flex",alignItems:"center",borderBottom:"1px solid #e2e2e2"}},void 0,x(w.a,{to:"/profile/"+t._id,style:{display:"flex",alignItems:"center"}},void 0,x(d.a,{size:40,src:t.imageUrl||null,style:{margin:"4px 1rem 4px 0",flex:"0 0 40px"}},void 0,t.imageUrl?null:t.firstName[0]+t.lastName[0]),x("div",{},void 0,t.firstName," ",t.lastName)))),x("div",{className:u()(_.a.col,_.a.s12,_.a.m7)},void 0,t._id!==c._id&&x(v.a,{i18n:n,role:a,otherUser:t,config:o.config,meetingGoalConfig:p,meetingsByGoalIdentifier:r[t._id],onCreateMeetingClick:function(n){return e.props.onCreateMeetingClick(n,t)}}),e.props.onEndSubscriptionClick&&x(g.a,{secondary:!0,label:n.components.meetingGoals.endSubscription,onTouchTap:function(){return e.props.onEndSubscriptionClick(t)},style:S({},b.a.semiRoundedButtonContainer,{marginTop:"1rem"}),buttonStyle:S({},b.a.semiRoundedButton,b.a.orangeButton),labelStyle:b.a.semiRoundedButtonLabel})))}))}}]),t}(s.a.Component);P.defaultProps={},t.a=f()(_.a)(P)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(18),u=n.n(l),c=n(190),d=n.n(c),p=n(34),f=n.n(p),m=n(17),g=n.n(m),h=n(303),v=n.n(h),y=n(15),_=n(33),b=n(240),w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},S=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),x=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),A=S("td",{}),P=S("div",{}),C=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={},a=n,i(r,a)}return r(t,e),x(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.meetingsByUsers,r=t.role,a=t.subscribedUsers,s=t.account,l=o.meetingGoalConfig,u=o.config,c=l.meetingGoals||[],p="mentor"===r&&u.meetingSettings.mentorsCanCreateMeeting||"mentee"===r&&u.meetingSettings.menteesCanCreateMeeting,m={minWidth:260};return S("div",{className:v.a.meetingGoalsTableContainer},void 0,S("table",{className:v.a.meetingGoalsTable},void 0,S("thead",{},void 0,S("tr",{},void 0,A,c.map(function(e){return S("td",{style:m},void 0,S(k,{i18n:n,goal:e}))}))),S("tbody",{},void 0,a.map(function(t){var o=null;!t.imageUrl&&t.firstName&&t.lastName&&(o=t.firstName[0]+t.lastName[0]);var r=t._id===s._id;return S("tr",{className:v.a.row,style:{borderBottom:"1px solid rgba(0, 0, 0, 0.1)",padding:"2rem 0 1rem 0"}},t._id,S("td",{style:{display:"flex",alignItems:"center",minHeight:"2.65rem"}},void 0,S(d.a,{height:y.a.logoS.heightForLazyLoad,offset:100,once:!0},void 0,S(f.a,{src:t.imageUrl||null,style:w({},y.a.logoS)},void 0,o)),S("div",{style:{marginLeft:"0.5rem"}},void 0,t.firstName," ",t.lastName)),c.map(function(o){var a=i[t._id],s=a[o.identifier]||[];return S("td",{},void 0,s.length>0?S(M,{meetings:s}):S("div",{},void 0,!r&&p?S("div",{className:v.a.createMeetingButtonContainer},void 0,S(g.a,{secondary:!0,className:v.a.createMeetingButton,label:n.components.organisationMenu.createMeeting,onTouchTap:function(){return e.props.onCreateMeetingClick(o,t)},style:w({},y.a.semiRoundedButtonContainer),buttonStyle:y.a.semiRoundedButton,labelStyle:y.a.semiRoundedButtonLabel},"createMeeting")):P))}))}))))}}]),t}(s.a.Component);C.defaultProps={};var k=function(e){var t=e.i18n,n=e.goal,o={fontSize:"0.9em"};return S("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"}},void 0,S("b",{},void 0,n.meetingTitle),S("div",{style:{display:"flex",flexDirection:"row"}},void 0,n.periodStartDate&&!n.periodEndDate&&S("div",{style:w({},o,{marginRight:"0.5rem"})},void 0,t.components.meetingGoalStatus.periodStartDate," :"),n.periodStartDate&&S("div",{style:o},void 0,_.a.format(1e3*n.periodStartDate,"DD MMMM YYYY")),n.periodStartDate&&n.periodEndDate&&S("div",{style:w({},o,{margin:"0 0.5rem"})},void 0,"-"),!n.periodStartDate&&n.periodEndDate&&S("div",{style:w({},o,{marginRight:"0.5rem"})},void 0,t.components.meetingGoalStatus.periodEndDate," :"),n.periodEndDate&&S("div",{style:o},void 0,_.a.format(1e3*n.periodEndDate,"DD MMMM YYYY"))))},M=function(e){var t=e.meetings;return S("div",{},void 0,t.map(function(e){return S(b.a,{event:e,removeMargins:!0},e._id)}))};t.a=u()(v.a)(C)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(34),c=n.n(u),d=n(511),p=n.n(d),f=n(63),m=n.n(f),g=n(241),h=n(365),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},y=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),b=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isEditing:!1},n}return r(t,e),_(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.account,i=t.note,r=t.event,a=t.profileId,s=t.groupId;return this.state.isEditing?y(h.a,{event:r,note:i,profileId:a,groupId:s,closeForm:function(){return e.setState({isEditing:!1})}}):y(w,{i18n:n,note:i,isEditable:i.createdBy._id===o._id,onEdit:function(){return e.setState({isEditing:!0})}})}}]),t}(s.a.Component);b.defaultProps={groupId:null,profileId:null};var w=function(e){var t=e.note,n=e.isEditable,o=e.i18n,i=t.createdBy,r=i.firstName[0]+i.lastName[0],a=v({},g.a.note);return"private"===t.privacy&&(a=v({},a,g.a.notePrivate)),y("div",{style:a},void 0,y("div",{style:v({},g.a.leftInfo,g.a.avatarContainer)},void 0,y(c.a,{size:32,src:i.imageUrl||null},void 0,i.imageUrl?null:r)),y("div",{style:g.a.rightInfo},void 0,y("div",{style:{marginBottom:"0.2rem"}},void 0,y("b",{},void 0,i.firstName," ",i.lastName)),y("div",{style:g.a.contentContainer},void 0,y(m.a,{className:"markdown-content",source:t.content,escapeHtml:!1})),"private"===t.privacy&&y("div",{style:g.a.privateNoteDescription},void 0,"* ",o.components.noteRow.privateNoteDescription)),n&&y(p.a,{style:g.a.editButton,onClick:function(){return e.onEdit()}}))},S=function(e){return{i18n:e.i18n,account:e.session.account}},x={};t.a=n.i(l.a)(S,x)(b)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(12),u=n.n(l),c=n(3),d=n(40),p=n.n(d),f=n(42),m=n(115),g=n(145),h=n(196),v=n(43),y=n(243),_=n(199),b=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),w=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),S=b(p.a,{}),x=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),w(t,[{key:"componentWillReceiveProps",value:function(e){e.isPending||e.error||(this.props.textFilter!==e.textFilter?this.fetchData(0,e.textFilter):this.props.filteredSkills.length===e.filteredSkills.length&&this.props.filteredSkills.every(function(t,n){return t===e.filteredSkills[n]})||this.fetchData(0,0===e.filteredSkills.length?e.textFilter:"",e.filteredSkills))}},{key:"onScrollEndReached",value:function(){var e=this.props,t=e.error,n=e.isPending,o=e.isEndReached,i=e.mentees;t||n||o||this.fetchData(i?i.length:0)}},{key:"fetchData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments[2],o=t.length>2?t:"",i=this.props.context;this.props.fetchMentees(i.organisation._id,o,n,e,{expandMetadatas:!0})}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.language,r=t.isPending,a=t.error,s=t.mentees,l=t.commonStyle,c=t.textFilter,d=t.filteredSkills,m=t.openOldInterface,w=n.components.menteeList,x=o.config,A=o.role,P=x.metadatas||{},C=P.mentee,k={};if(C)for(var M=0;M<C.length;M+=1)k[C[M].id]=C[M].title;var T=s&&0===s.length&&!r&&!a,O=w.emptyMessage;return"mentor"===A&&0===d.length&&""===c&&"restricted"===x.mentorMenteeSubscription&&"group"!==x.menteeType&&(O=w.emptyMessageSubscribed),b(h.a,{offset:50,className:l.container,onEndReach:function(){return e.onScrollEndReached()}},void 0,b("div",{className:u()(l.row),style:{marginBottom:0}},void 0,b("div",{style:{display:"flex"}},void 0,b(y.a,{i18n:n,userType:"mentee",config:x,defaultFilter:d,onFilter:function(t){return e.props.setMenteeSkillFilter(t)}}),0===d.length&&b(_.a,{i18n:n,value:c,isPending:r,onTextFilterChange:function(t){return e.props.setMenteeTextFilter(t)}}),r&&(s||[]).length>0&&b(p.a,{size:20,thickness:2,style:{margin:"1rem 0 0 1rem"}}))),b("div",{className:u()(l.row),style:{marginBottom:0,paddingTop:"1rem"}},void 0,T&&b("div",{className:u()(l.col,l.s12)},void 0,b(v.a,{message:f.a.show(O,x,i)})),s&&s.length>0&&s.map(function(e){return b("div",{className:u()(l.col,l.s12,l.m6,l.l4,l.xl3)},e._id,b(g.a,{i18n:n,user:e,trimInfo:!0,openOldInterface:m,userType:"mentee",metadataLabels:k,showMetadata:!0}))}),a&&b("div",{className:u()(l.col,l.s12)},void 0,b(v.a,{message:f.a.show(w.listFetchErrorMessage,x,i),actionLabel:n.buttonActions.retry,onActionClick:function(){return e.fetchData()}})),b("div",{className:u()(l.col,l.s12,l.centerAlign),style:{minHeight:45}},void 0,r&&S)))}}]),t}(s.a.Component);x.defaultProps={error:void 0,isPending:!1,isEndReached:!1,mentees:void 0,openOldInterface:!1};var A=function(e){return{i18n:e.i18n,account:e.session.account,context:e.session.sContext,commonStyle:e.commonStyle,language:e.session.language,mentees:e.users.mentees&&e.users.mentees.map(function(t){return(e.users.usersById||{})[t]}),error:e.users.fetchMenteeError,isPending:e.users.isPendingMentees,isEndReached:e.users.isEndReachedForMentees,textFilter:e.users.menteeTextFilter,filteredSkills:e.users.menteeSkillFilter}},P={fetchMentees:m.a,setMenteeTextFilter:m.d,setMenteeSkillFilter:m.e};t.a=n.i(c.a)(A,P)(x)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(61),c=n.n(u),d=n(510),p=n.n(d),f=n(32),m=n(54),g=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),v=g(p.a,{}),y=g(p.a,{}),_=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={},a=n,i(r,a)}return r(t,e),h(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.account,o=t.conversations,i=t.accentColor,r=t.isRightNavOpen,a=t.isMobile,s={width:"8px",height:"8px",borderRadius:"4px",background:i,position:"absolute",right:7,top:14,zIndex:1},l=!1;if(o)for(var u=0;u<o.length;u+=1){var d=o[u].lastMessage;if(d._id&&d.createdBy._id!==n._id&&!(d.readBy||{})[n._id]){l=!0;break}}var p={position:"relative",display:"inline-block",verticalAlign:"top",width:48,height:48};return a?g(f.a,{to:"/conversations"},void 0,g("div",{style:p},void 0,g(c.a,{iconStyle:{color:this.props.textColor}},void 0,v),l&&g("div",{style:s}))):g("div",{style:p,onClick:function(){return e.props.setRightNavState(!r,"conversations")}},void 0,g(c.a,{iconStyle:{color:this.props.textColor}},void 0,y),l&&g("div",{style:s}))}}]),t}(s.a.Component);_.defaultProps={conversations:void 0,isRightNavOpen:!1};var b=function(e){return{account:e.session.account,conversations:e.conversations.conversations,isRightNavOpen:e.nav.isRightNavOpen,isMobile:e.runtime.isMobile}},w={setRightNavState:m.c};t.a=n.i(l.a)(b,w)(_)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(63),c=n.n(u),d=n(60),p=n.n(d),f=n(47),m=n.n(f),g=n(109),h=n.n(g),v=n(64),y=n(16),_=(n(81),function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}()),b=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),w=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={isChecked:!1},a=n,i(r,a)}return r(t,e),b(t,[{key:"componentDidMount",value:function(){var e=this;window.api.getConsentPendingPolicies(this.props.account._id).then(function(t){t.results&&t.results.length>0&&e.setState({policy:t.results&&t.results[0]})})}},{key:"acceptPolicy",value:function(e){var t=this;this.setState({isPending:!0}),window.api.saveConsentForPolicy(this.props.account._id,e._id,"home").then(function(){t.setState({policy:null})},function(){t.setState({policy:null})})}},{key:"render",value:function(){var e=this,t=this.props.i18n,n=this.state,o=n.policy,i=n.isPending,r=n.isChecked;return _("div",{},void 0,o&&_(p.a,{open:!0,modal:!0,title:o.title,autoScrollBodyContent:!0,actions:[_("table",{style:{}},void 0,_("tbody",{},void 0,_("tr",{},void 0,_("td",{},void 0,_("div",{},void 0,_(h.a,{label:y.a.build(t.pages.home.agreeThePolicy,{policyTitle:o.title}),labelStyle:{textAlign:"left"},checked:this.state.isChecked,onClick:function(){return e.setState({isChecked:!e.state.isChecked})}}))),_("td",{},void 0,_(m.a,{disabled:i||!r,label:t.buttonActions.agree,onTouchTap:function(){return e.acceptPolicy(o)},style:{float:"right"}})))))]},void 0,_("div",{style:{color:"#333"}},void 0,_(c.a,{className:"markdown-content",source:o.content,escapeHtml:!1}))))}}]),t}(s.a.Component),S=function(e){return{i18n:e.i18n}},x={showDialog:v.c};t.a=n.i(l.a)(S,x)(w)},function(e,t,n){"use strict";function o(e){var t=e.i18n,n=e.account,o=e.logout,i=e.contexts,r=e.context,a=e.textColor,s=e.primary4Color,l=e.whiteLabel,u=e.isMobile,c=function(){var e=r.organisation.domain,t="https://guides.mentornity.com/";null!=r.organisation.model&&(r.role==P.mentee?r.organisation.model==M.startupPaired||r.organisation.model==M.startupPool?t+=k.entrepreneur+C+r.organisation.model:r.organisation.model==T.structuredSelectiveCoaching||r.organisation.model==T.structuredPairedCoaching?t+=k.coachee+C+r.organisation.model:t+=P.mentee+C+r.organisation.model:r.role==P.mentor&&(r.organisation.model==T.structuredSelectiveCoaching||r.organisation.model==T.structuredPairedCoaching?t+=k.coach+C+r.organisation.model:t+=P.mentor+C+r.organisation.model)),t+="?ref="+e,window.open(t,"_blank")},d=a;return l&&l.theme&&l.theme.navBarTitleColor&&""!=l.theme.navBarTitleColor&&(d=l.theme.navBarTitleColor),S("div",{style:{paddingRight:"0.5rem"}},void 0,!u&&!l&&S(f.a,{label:t.navBar.helpButton.support,secondary:!0,onClick:function(){return c()},style:w({},m.a.roundedButtonContainer,{marginTop:"0.4rem"}),buttonStyle:m.a.roundedButton}),S(y.a,{textColor:d,accentColor:s}),S(O,{i18n:t,logout:o,account:n,style:x,context:r,contexts:i,textColor:a,onLinkClick:function(e){return g.a.push(e)}}),S(_.a,{account:n}))}var i=n(34),r=n.n(i),a=n(222),s=n.n(a),l=n(62),u=n.n(l),c=n(0),d=n.n(c),p=n(17),f=n.n(p),m=n(15),g=n(39),h=n(56),v=n(42),y=n(774),_=n(775),b=n(103),w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},S=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),x={verticalAlign:"top",color:"white"},A={marginTop:"8px",marginLeft:"10px"},P={mentor:"mentor",mentee:"mentee"},C="-guidebook-",k={coachee:"coachee",entrepreneur:"entrepreneur",coach:"coach"},M={startupPaired:"startup-paired",startupPool:"startup-pool"},T={structuredSelectiveCoaching:"structured-selective-coaching",structuredPairedCoaching:"structured-paired-coaching"},O=function(e){var t=e.i18n,o=e.account,i=e.context,a=o.firstName[0]+o.lastName[0],l=t.navBar.userMenu,c="/profile/"+o._id;i&&(c+="?rl="+("mentor"===i.role?"mtr":"mte"));var p=!!i&&n.i(b.a)(i.config);return d.a.createElement(s.a,w({},e,{iconButtonElement:S(r.a,{size:32,src:o.imageUrl||null,style:w({},A,{cursor:"pointer"})},void 0,o.imageUrl?null:a),targetOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"top"}}),!p&&S(u.a,{primaryText:l.viewProfile,onClick:function(){return e.onLinkClick(c)}}),!p&&S(u.a,{primaryText:l.profileSettings,onClick:function(){return e.onLinkClick("/settings/profile")}}),!p&&h.a.isMentorAtAnyOrganisation(e.account,e.contexts)&&S(u.a,{primaryText:v.a.show(l.mentorshipSettings,e.context.config),onClick:function(){return e.onLinkClick("/settings/mentorship")}}),S(u.a,{primaryText:l.accountSettings,onClick:function(){return e.onLinkClick("/settings/account")}}),S(u.a,{primaryText:l.integrationSettings,onClick:function(){return e.onLinkClick("/settings/integration")}}),S(u.a,{primaryText:l.notificationSettings,onClick:function(){return e.onLinkClick("/settings/notification")}}),S(u.a,{primaryText:l.generalSettings,onClick:function(){return e.onLinkClick("/settings/general")}}),S(u.a,{primaryText:l.logout,onClick:function(){e.logout(),window.location.replace("/")}}))};O.muiName="IconMenu",O.defaultProps={context:null,contexts:[]},o.defaultProps={context:null,contexts:[],whiteLabel:null},t.a=o},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(48),c=n.n(u),d=n(18),p=n.n(d),f=n(308),m=n.n(f),g=n(312),h=(n.n(g),n(1442)),v=(n.n(h),n(39)),y=n(29),_=n(54),b=n(16),w=n(1320),S=n.n(w),x=n(52),A=(n.n(x),n(778),n(32),n(742),n(360)),P=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),C=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),k={goToRoute:"dvn.mentornity-client-sidebar-wrapper.go-to-route",openSettingsDialog:"dvn.mentornity-sidebar-settings-dialog.open-settings-dialog",closeSettingsDialog:"dvn.mentornity-sidebar-settings-dialog.close-settings-dialog",changeUserRole:"dvn.mentornity-client-sidebar-wrapper.change-user-role"},M=P("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),T=P("link",{href:"https://unicons.iconscout.com/release/v1.0.0/css/unicons.css",rel:"stylesheet"}),O=P(A.a,{}),E=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={isSettingsDialogOpen:!1},r.goToRoute=function(e){var t=e.detail,n=t.path,o=t.target;return"__blank"===o?window.open(n):"__self"===o?v.a.push(n):void v.a.push("/"+r.props.sContext.organisation.domain+"/"+n)},r.openSettingsDialog=function(){r.setState({isSettingsDialogOpen:!0})},r.closeSettingsDialog=function(){r.setState({isSettingsDialogOpen:!1})},r.changeUserRole=function(e){var t=e.detail.role;r.onOrganisationLinkClick(r.props.sContext,t)},a=n,i(r,a)}return r(t,e),C(t,[{key:"componentDidMount",value:function(){window.addEventListener(k.goToRoute,this.goToRoute),window.addEventListener(k.openSettingsDialog,this.openSettingsDialog),window.addEventListener(k.closeSettingsDialog,this.closeSettingsDialog),window.addEventListener(k.changeUserRole,this.changeUserRole)}},{key:"componentWillUnmount",value:function(){window.removeEventListener(k.goToRoute,this.goToRoute),window.removeEventListener(k.openSettingsDialog,this.openSettingsDialog),window.removeEventListener(k.closeSettingsDialog,this.closeSettingsDialog),window.removeEventListener(k.changeUserRole,this.changeUserRole)}},{key:"onOrganisationLinkClick",value:function(e,t){this.props.setSelectedContext(e,t),t&&window?window.location.replace("/"+e.organisation.domain):v.a.push("/"+e.organisation.domain),this.props.isMobile&&this.props.setLeftNavState(!1)}},{key:"onOrganisationSubRouteClick",value:function(e,t){v.a.push("/"+e.domain+"/"+t),this.props.isMobile&&this.props.setLeftNavState(!1)}},{key:"onRouteClick",value:function(e){v.a.push(e),this.props.isMobile&&this.props.setLeftNavState(!1)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.account,i=t.sContext,r=t.contexts,a=t.path,s=t.isMobile,l=t.isAdminOfAnyOrganisation,u=t.whiteLabel,c=(t.language,t.totalOrganisationCount),d=t.conversations,p=(this.props.muiTheme.palette.textColor,this.props.muiTheme.palette.alternateTextColor);this.props.muiTheme.palette.secondaryTextColor;l&&b.a.build(n.pages.home.forwardAdminsMessage,{adminPanelUrl:P("a",{href:"http://admin.mentornity.com/login",style:{color:p,textDecoration:"underline"},target:"_blank",rel:"noopener noreferrer"},void 0,"admin.mentornity.com")});var f=(u&&u.linkedInUrl,u&&u.facebookUrl,u&&u.twitterUrl,u?u.webSiteUrl:n.pages.landing.footer.blogLink,u&&u.termsUrl&&u.termsUrl,u&&u.privacyUrl&&u.privacyUrl,void 0),g=!1;if(r[0].availableRoles)r[0].availableRoles.forEach(function(e){"mentee"===e&&(g=!0),"mentor"===e&&(f=!0)});else{var h=r[0].role;"mentee"===h&&(g=!0),"mentor"===h&&(f=!0)}return P("div",{},void 0,M,T,o&&O,s?P("div",{},void 0,!(a==="/"+i.organisation.domain+"/welcome")&&P("mentornity-bottom-nav-mobile",{"has-mentor-role":f,"has-mentee-role":g,"group-id":i.group?i.group._id:void 0,language:this.props.language,"white-label":JSON.stringify(u),"has-programs":c>1,"logged-full-name":o.firstName+" "+o.lastName,"account-email":o.email,conversations:JSON.stringify(d)})):P("div",{},void 0,P(m.a,{zDepth:0,open:this.props.isLeftNavOpen,onRequestChange:function(t){return e.props.setLeftNavState(t)},containerStyle:{backgroundColor:"#fff",marginTop:0,display:"flex",flexDirection:"column",justifyContent:"space-between",width:"290px",transform:this.props.isLeftNavOpen?"initial":"translate(-290px, 0)"},docked:!s},void 0,P("mentornity-client-sidebar-wrapper",{language:this.props.language,"is-logged-in":this.props.isLoggedIn,"has-mentor-role":f,"has-mentee-role":g,"group-id":i.group?i.group._id:void 0,"white-label":JSON.stringify(u),"has-programs":c>1,conversations:JSON.stringify(d)})),P("mentornity-sidebar-settings-dialog",{"is-Dialog-open":this.state.isSettingsDialogOpen,"group-id":i.group?i.group._id:void 0,language:this.props.language,"white-label":JSON.stringify(u),"account-email":o.email})))}}]),t}(s.a.Component);E.defaultProps={path:void 0,whiteLabel:null};var I=function(e){return{i18n:e.i18n,account:e.session.account,sContext:e.session.sContext,contexts:e.session.contexts,isLoggedIn:e.session.isLoggedIn,whiteLabel:e.session.whiteLabel,totalOrganisationCount:e.session.totalOrganisationCount,language:e.session.language,isLeftNavOpen:e.nav.isLeftNavOpen,isAdminOfAnyOrganisation:e.runtime.isAdminOfAnyOrganisation,conversations:e.conversations.conversations}},N={setSelectedContext:y.a,setLeftNavState:_.a};t.a=n.i(l.a)(I,N)(p()(S.a)(c()()(E)))},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(0),r=n.n(i),a=n(34),s=n.n(a),l=n(312),u=(n.n(l),n(17)),c=n.n(u),d=n(1444),p=n.n(d),f=n(1450),m=n.n(f),g=n(1478),h=n.n(g),v=n(1437),y=n.n(v),_=n(1443),b=n.n(_),w=n(1440),S=n.n(w),x=n(1446),A=n.n(x),P=n(1436),C=n.n(P),k=n(1477),M=n.n(k),T=n(1476),O=n.n(T),E=n(1461),I=n.n(E),N=n(73),D=n(15),j=n(42),R=n(103),F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},L=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),U=(r.a.PropTypes,L("div",{})),B=function(e){var t=e.i18n,i=e.context,r=e.account,a=e.onSubRouteSelect,u=e.onRouteSelect,d=e.path,f=e.language,g=i.config,v=i.organisation,_=i.role,w=i.group,x=function(e,t,n){var o=e[t];e[t]=e[n],e[n]=o},P=N.a.getUserRoutes(g,_);P.splice(0,0,"home");var k=P.indexOf("suites")>-1;"mentee"!==_||-1!==P.indexOf("mentors")||k||P.splice(1,0,"mentors"),"mentor"===_&&-1===P.indexOf("mentees")&&-1===P.indexOf("suites")&&"group"!==g.menteeType&&P.splice(2,0,"mentees"),"mentor"===_&&-1===P.indexOf("groups")&&"group"===g.menteeType&&P.splice(3,0,"groups");var T="/profile/"+r._id;i&&(T+="?rl="+("mentor"===i.role?"mtr":"mte")),n.i(R.a)(g)&&n.i(R.b)(g)?(P.push("membership-info"),P.push("meetings"),"mentor"===_&&P.push("availabilities")):n.i(R.a)(g)?(P.push("membership-info"),P.push(T)):n.i(R.b)(g)&&(P.push("meetings"),"mentor"===_&&P.push("availabilities"));var E=[],B={color:e.textColor,opacity:e.isSelected?1:.5},Z={backgroundColor:e.isSelected?"rgba(0, 0, 0, 0.1)":"transparent"},Y={opacity:"0.7"},G=e.textColor;i.meetingGoalConfig&&i.meetingGoalConfig.meetingGoals&&i.meetingGoalConfig.meetingGoals.length;if("mentor"===_)g.meetingSettings.mentorsCanCreateAvailability&&!n.i(R.b)(g)&&E.push(L("div",{style:{textAlign:"center",padding:"0 2rem"}},void 0,L(c.a,{secondary:!0,fullWidth:!0,label:t.components.organisationMenu.addAvailability,onTouchTap:function(){return u("/profile/"+r._id+"/availabilities/create?rl=mtr")},style:F({},D.a.semiRoundedButtonContainer),buttonStyle:D.a.semiRoundedButton,labelStyle:D.a.semiRoundedButtonLabel},"createAvailability")));else if("mentee"===_&&"group"===g.menteeType&&null!=w){var H=L(s.a,{src:w.imageUrl,style:D.a.logoLGroup}),W=F({},B);"/groups/"+w._id===d&&(W=F({},W,Z)),E.push(L(l.ListItem,{style:W,primaryText:w.title,leftAvatar:H,onClick:function(){return u("/"+v.domain+"/pairs/"+v._id+"?uid="+w._id+"&&usertype=group")}},"group"))}6!==P.length?(x(P,4,6),x(P,5,6),"mentee"===_&&x(P,2,3)):(x(P,4,5),x(P,2,4),x(P,2,3));var z=o({home:L(p.a,{color:G,style:Y}),feed:L(m.a,{color:G,style:Y}),mentors:L(h.a,{color:G,style:Y}),mentees:L(y.a,{color:G,style:Y}),groups:L(b.a,{color:G,style:Y}),suites:L(b.a,{color:G,style:Y}),calendar:L(S.a,{color:G,style:Y}),info:L(A.a,{color:G,style:Y}),forms:L(C.a,{color:G,style:Y}),"membership-info":L(M.a,{color:G,style:Y}),availabilities:L(O.a,{color:G,style:Y}),meetings:L(I.a,{color:G,style:Y})},T,L(O.a,{color:G,style:Y}));P.forEach(function(e){var n=t.organisationRoutes[e],o=function(){return a(e)};if(!n){if(e!==T)return;n=t.organisationRoutes.profile,o=function(){return u(e)}}if("calendar"!==e){var i=F({},B);"/"+v.domain+"/"+e===d&&(i=F({},i,Z)),E.push(L(l.ListItem,{style:i,leftIcon:z[e],onClick:o,primaryText:j.a.show(n,g,f)},e))}});var X={backgroundColor:e.isSelected?"rgba(0, 0, 0, 0.1)":"transparent"},V=t.components.organisationMenu.roles,Q="mentee"===_?V.mentee:V.mentor,q=n.i(N.b)(v.logoUrl),J=L(s.a,{src:q,style:D.a.organisationLogoStyle}),K=F({},D.a.orangeButton),$={border:"1px white solid",backgroundColor:"#000"},ee=K;e.isSelected||(ee=$);var te=v.title,ne=L(c.a,{label:j.a.show(Q,g,f),secondary:!0,style:F({},D.a.roundedButtonContainer,{marginTop:"0.4rem",height:"24px",background:"#000"}),buttonStyle:F({},D.a.roundedButton,ee,{height:"24px",width:"auto"}),labelStyle:{fontSize:"12px"}});return i.availableRoles&&(te=L("div",{},void 0,v.title),ne=L("div",{style:{height:"100%",display:"contents"}},void 0,i.availableRoles.map(function(t,n){return L(c.a,{secondary:!0,label:j.a.show("mentee"===t?V.mentee:V.mentor,g,f),style:F({},D.a.roundedButtonContainer,{marginTop:"0.8rem",padding:"0px",height:"24px",background:"#000"}),buttonStyle:F({},D.a.roundedButton,{height:"24px",marginTop:"2px",width:"auto"},t===i.role&&e.isSelected?K:$),labelStyle:{fontSize:"12px",margin:"5px"},onClick:function(){return e.onOrganisationSelect(t)}})}))),L(l.ListItem,{open:e.isSelected,primaryText:te,leftAvatar:J,secondaryText:ne,rightIconButton:U,onClick:e.isSelected?function(){}:function(){return e.onOrganisationSelect()},style:F({},X,B),nestedItems:E})};B.defaultProps={path:null}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(61),l=n.n(s),u=n(1460),c=n.n(u),d=n(36),p=n.n(d),f=n(0),m=n.n(f),g=n(52),h=(n.n(g),function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}()),v=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),y=function(e){function t(){var e,n,a,s;i(this,t);for(var l=arguments.length,u=Array(l),c=0;c<l;c++)u[c]=arguments[c];return n=a=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),a.state={message:""},a.onInputChange=function(e){var t=e.target.value;a.setState(o({},e.target.id,t)),a.props.onAccountStatusChange(t.length>0?"typing":void 0)},a.onSubmit=function(){a.props.onSubmit(a.state.message),a.props.onAccountStatusChange(void 0)},s=n,r(a,s)}return a(t,e),v(t,[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){e.input.focus()},1)}},{key:"componentWillReceiveProps",value:function(e){var t=this;(this.props.isCreatePending&&!e.isCreatePending||!this.props.conversation&&e.conversation)&&(this.setState({message:""}),setTimeout(function(){t.input.focus()},100))}},{key:"componentWillUnmount",value:function(){this.props.onAccountStatusChange()}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.isCreatePending,i=this.state.message;return m.a.createElement("div",{style:{display:"flex",paddingLeft:"16px",paddingTop:"16px"},ref:function(t){e.inputContainer=t}},h("div",{style:{flexGrow:1}},void 0,m.a.createElement(p.a,{id:"message",type:"text",fullWidth:!0,multiLine:!0,rows:1,rowsMax:5,onKeyPress:function(t){"Enter"!==t.key||t.shiftKey||e.onSubmit()},underlineShow:!1,value:this.state.message,hintText:n.formHints.message,disabled:o,style:{transition:"none"},onChange:this.onInputChange,ref:function(t){e.input=t}})),h("div",{},void 0,h(l.a,{disabled:o||i.length<1||i.length>1e3,onClick:this.onSubmit},void 0,h(c.a,{color:g.blue,style:{color:g.blue}}))))}}]),t}(m.a.Component);y.defaultProps={conversation:null},t.a=y},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){var n=t.user,o=e.session.account,i=e.conversations,r=e.session.contexts,a=t.conversation;!a&&n&&i.conversationsByUser&&i.conversationsByUser[n._id]&&(a=i.conversationsByUser[n._id]);var s=a&&i.messagesByConversations[a._id]||{};return{i18n:e.i18n,account:o,contexts:r,conversation:a,conversations:e.conversations.conversations,createNewMessageStatus:e.conversations.createNewMessageStatus,organisation:e.session.sContext.organisation,accountStatus:e.session.accountStatus,messages:s.messages,isEndReached:s.isEndReached,error:i.error||s.error,isCreatePending:s.isCreatePending,isFetchPending:s.isPending||i.isPending,commonStyle:e.commonStyle}}var s=n(0),l=n.n(s),u=n(3),c=n(141),d=n(29),p=n(142),f=n(146),m=n(779),g=n(783),h=n(786),v=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),y=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),_=function(e){function t(){var e,r,a,s;o(this,t);for(var l=arguments.length,u=Array(l),c=0;c<l;c++)u[c]=arguments[c];return r=a=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),a.onAccountStatusChange=function(e){var t=a.props,o=t.account,i=t.conversation;if(i){var r=n.i(f.a)(o._id,a.props.accountStatus);r.chat={id:i._id,state:e},a.props.accountStatus&&a.props.accountStatus.chat&&a.props.accountStatus.chat.state===r.chat.state||(p.a.setPresence("mentornity",r),a.props.setAccountStatus(r))}},s=r,i(a,s)}return r(t,e),y(t,[{key:"componentDidMount",value:function(){this.fetchMessages()}},{key:"componentDidUpdate",value:function(){this.fetchMessages()}},{key:"onFetchMoreClick",value:function(){if(!this.props.isFetchPending){var e=(this.props.messages||[]).length;this.props.fetchMessagesOfConversation(this.props.conversation._id,e)}}},{key:"onSubmitNewMessage",value:function(e){var t=this.props,n=t.account,o=t.conversation,i=t.organisation,r=t.user;o?this.props.createMessage(n._id,o._id,e):r&&this.props.createConversationAndSendMessage(i._id,n._id,r._id,e)}},{key:"fetchMessages",value:function(){var e=this.props,t=e.conversations,n=e.conversation,o=e.messages,i=e.isFetchPending;if(n&&t&&!o&&!i){var r=(o||[]).length;this.props.fetchMessagesOfConversation(n._id,{expand:"createdBy"},r,void 0,25)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.account,i=t.contexts,r=t.conversation,a=t.conversations,s=t.messages,l=t.user,u=t.commonStyle,c=t.isEndReached,d=t.isCreatePending,p=t.isFetchPending,f=!(!a||r||!l),y=!1,_="";if(!f){var b=!1,w=!1,S=!1,x=!1,A=i.find(function(e){return e.organisation._id===r.organisation._id});S=void 0===A||r.organisation._id!==A.organisation._id,x=!S,b=void 0!==A&&"mentor"===A.role&&"none"===A.config.conversationPermissions.mentor,w=void 0!==A&&"mentee"===A.role&&"none"===A.config.conversationPermissions.mentee,(b||w)&&(S=!1,x=!1),y=S||x||b||w,S?_=n.components.conversationSubTitle.conversationDisabledThis:x?_=n.components.conversationSubTitle.conversationDisabledOther:(b||w)&&(_=n.components.conversationSubTitle.conversationDisabled),!r||b||w||(y=!1)}return v("div",{style:{height:"100%",overflow:"hidden",display:"flex",flexDirection:"column-reverse"}},void 0,!y&&v(m.a,{i18n:n,account:o,conversation:r,isCreatePending:d,onSubmit:function(t){return e.onSubmitNewMessage(t)},onAccountStatusChange:this.onAccountStatusChange}),y&&v("div",{style:{display:"flex",textAlign:"center"}},void 0,v("span",{},void 0,_)),v("div",{style:{flex:1,overflow:"auto"}},void 0,f?v(h.a,{i18n:n,cs:u,otherUser:l}):v(g.a,{i18n:n,account:o,conversation:r,isPending:p,isCreatePending:d,isEndReached:c,messages:s,onScrollEndReached:function(){return e.onFetchMoreClick()}})))}}]),t}(l.a.Component);_.defaultProps={accountStatus:void 0,conversation:void 0,conversations:void 0,isCreatePending:!1,isFetchPending:!1,isEndReached:!1,messages:void 0,error:null,user:null};var b={createConversationAndSendMessage:c.d,createMessage:c.e,fetchMessagesOfConversation:c.f,setAccountStatus:d.b};t.a=n.i(u.a)(a,b)(_)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(12),s=n.n(a),l=n(40),u=n.n(l),c=n(48),d=n.n(c),p=n(0),f=n.n(p),m=n(3),g=n(43),h=n(782),v=n(141),y=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),b=y(u.a,{}),w=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={isEditing:!1},a=n,i(r,a)}return r(t,e),_(t,[{key:"componentDidMount",value:function(){this.props.conversationError&&this.props.clearConversationsError()}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.account,i=t.isPending,r=t.conversations,a=void 0===r?[]:r,l=t.conversationError,u=t.contexts,c=t.muiTheme,d=t.commonStyle,p=t.userStatuses,f={};return u.forEach(function(e){f[e.organisation._id]=e.organisation}),y("div",{},void 0,i&&y("div",{className:s()(d.col,d.s12,d.m10,d["offset-m1"],d.centerAlign),style:{padding:"1rem"}},void 0,b),!i&&!l&&a&&0===a.length&&y("div",{style:{padding:"2rem"}},void 0,y(g.a,{message:n.pages.conversations.emptyMessage})),l&&y("div",{style:{padding:"2rem"}},void 0,y(g.a,{message:n.pages.conversations.errorMessage,actionLabel:n.buttonActions.retry,onActionClick:function(){return e.props.clearConversationsError()}})),a&&a.length>0&&y("div",{className:s()(d.col,d.s12,d.m10,d["offset-m1"])},void 0,a.map(function(t){return y(h.a,{i18n:n,onClick:function(t){return e.props.onConversationClick(t)},accentColor:c.palette.accent1Color,account:o,conversation:t,organisation:f[t.organisation._id],userStatuses:p},t._id)})))}}]),t}(f.a.Component);w.defaultProps={error:null,conversations:void 0,conversationError:void 0};var S=function(e){return{i18n:e.i18n,account:e.session.account,isPending:e.conversations.isPending,conversations:e.conversations.conversations,conversationError:e.conversations.error,contexts:e.session.contexts,commonStyle:e.commonStyle,userStatuses:e.userStatuses}},x={clearConversationsError:v.g};t.a=n.i(m.a)(S,x)(d()()(w))},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){var t=e.i18n,i=e.account,r=e.conversation,s=e.organisation,l=e.userStatuses,u=r.participants,g=r.lastMessage,y=u[0]._id===i._id?u[1]:u[0],_=g._id&&g.createdBy._id!==i._id&&!(g.readBy||{})[i._id],b=new Date(1e3*g.createdAt),w=c.a.format(b,"DD"),S=c.a.format(b,"YYYY"),x=c.a.format(b,"MMM"),A=c.a.format(b,"HH:mm"),P=w+" "+x+" "+S+", "+A,C=P,k=g.content.length<200?g.content:g.content.slice(0,200)+"...",M=n.i(d.a)(i,r);return"typing"===n.i(p.b)(l[M._id],r._id)&&(C=t.components.conversationSubTitle.userStatus.typing),v("div",{className:a()(h.a.conversationRow,o({},h.a.highlighted,_)),onClick:function(){return e.onClick(r)}},void 0,v(m.a,{user:y,organisation:s}),v("div",{className:h.a.rightContent},void 0,v("div",{},void 0,v("div",{className:h.a.name},void 0,y.firstName+" "+y.lastName),v("div",{className:h.a.time},void 0,C)),v("div",{className:h.a.content,dangerouslySetInnerHTML:{__html:f.a.trim(k,100)}}),_&&v("div",{className:h.a.badge})))}var r=n(12),a=n.n(r),s=n(18),l=n.n(s),u=n(0),c=(n.n(u),n(33)),d=n(394),p=n(146),f=n(16),m=n(359),g=n(1321),h=n.n(g),v=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();t.a=l()(h.a)(i)},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(0),l=n.n(s),u=n(40),c=n.n(u),d=n(17),p=n.n(d),f=n(3),m=n(141),g=n(784),h=n(15),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},y=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),b=y(c.a,{}),w=function(e){function t(){var e,n,o,a;i(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=o=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.state={scrollDirection:-1},a=n,r(o,a)}return a(t,e),_(t,[{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=o(regeneratorRuntime.mark(function e(){var t,n,o,i=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.list&&0===this.list.scrollTop&&this.list.scrollHeight>0&&-1===this.state.scrollDirection&&setTimeout(function(){i.list.scrollTop=i.list.scrollHeight},50),t=this.props,n=t.conversation,o=t.account,!n||!n.lastMessage){e.next=8;break}if(Object.keys(n.lastMessage.readBy||{})[0]===o._id){e.next=8;break}return e.next=6,window.api.conversationMarkAsRead(n.lastMessage._id);case 6:return e.next=8,this.props.fetchConversations();case 8:case"end":return e.stop()}},e,this)}));return e}()},{key:"componentWillReceiveProps",value:function(e){e.isCreatePending&&this.setState({scrollDirection:0}),this.props.isCreatePending&&!e.isCreatePending&&this.setState({scrollDirection:-1}),null===this.props.messages&&null!==e.messages?this.setState({scrollDirection:-1}):(this.props.isPending||e.isPending)&&this.setState({scrollDirection:1})}},{key:"shouldComponentUpdate",value:function(e){return!(this.props.isCreatePending===e.isCreatePending&&this.props.isPending===e.isPending&&this.props.messages&&e.messages&&this.props.messages.length===e.messages.length)}},{key:"componentDidUpdate",value:function(){this.list&&(this.props.isPending?this.list.scrollTop=1:-1===this.state.scrollDirection&&(this.list.scrollTop=this.list.scrollHeight))}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.account,i=t.conversation,r=t.messages,a=t.isPending,s=t.isEndReached;return y("div",{style:{height:"100%",boxSizing:"flex-box"}},void 0,l.a.createElement("div",{style:{height:"100%",overflow:"auto",boxSizing:"flex-box"},ref:function(t){e.list=t}},y("div",{style:{display:"flex",flexDirection:"column-reverse",width:"100%",minHeight:"100%"}},void 0,r&&r.map(function(e){return y(g.a,{account:o,conversation:i,message:e},e._id)}),y("div",{style:{margin:"1.5rem 1rem 1rem 1rem",textAlign:"center"}},void 0,a&&y("div",{style:{height:"55px",marginTop:"1px",paddingTop:"9px"}},void 0,b),!a&&r&&!s&&y(p.a,{type:"submit",disabled:a,label:n.buttonActions.seeOlderMessages,style:v({},h.a.roundedButtonContainer,{margin:"12px 0"}),buttonStyle:h.a.roundedButton,onClick:function(){e.props.onScrollEndReached()}})))))}}]),t}(l.a.Component);w.defaultProps={messages:null,isPending:!1,conversation:null,isEndReached:!1};var S={fetchConversations:m.a};t.a=n.i(f.a)(null,S)(w)},function(e,t,n){"use strict";function o(e){var t=e.account,n=e.conversation,o=e.message,i=n.participants,r={padding:"1rem"},s=o.createdBy._id===t._id,p=new Date(1e3*o.createdAt),f=l.a.format(p,"DD"),m=l.a.format(p,"YYYY"),g=l.a.format(p,"MMM"),h=l.a.format(p,"HH:mm"),v=f+" "+g+" "+m+", "+h,y=d({},r,{border:"1px solid #ccc",borderRadius:15,padding:"0.6rem 1rem",marginTop:"1rem",fontSize:"0.9em",maxWidth:178,overflow:"hidden"});s?(y.borderTopRightRadius=5,y.marginLeft=36):(y.borderTopLeftRadius=5,y.marginRight=36);var _={margin:"1rem 0 0 0",fontSize:"0.9em",color:"#888"};if(s)return c("div",{style:{display:"flex"}},void 0,c("div",{style:{flexGrow:1,textAlign:"right"}},void 0,c("div",{style:d({},y,{display:"inline-block",textAlign:"left"})},void 0,c("div",{dangerouslySetInnerHTML:{__html:u.a.linkify(o.content)}}),c("div",{style:_},void 0,v))),c("div",{style:d({},r)},void 0,c(a.a,{size:40,src:t.imageUrl||null},void 0,t.imageUrl?null:t.firstName[0]+t.lastName[0])));var b=i[0]._id===t._id?i[1]:i[0];return c("div",{style:{display:"flex"}},void 0,c("div",{style:d({},r)},void 0,c(a.a,{size:40,src:b.imageUrl||null,style:{fontSize:"1em"}},void 0,b.imageUrl?null:b.firstName[0]+b.lastName[0])),c("div",{},void 0,c("div",{style:d({},y)},void 0,c("div",{dangerouslySetInnerHTML:{__html:u.a.linkify(o.content)}}),c("div",{style:_},void 0,v))))}var i=n(0),r=(n.n(i),n(34)),a=n.n(r),s=n(3),l=n(33),u=n(16),c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};o.defaultProps={isMessageBeingUpdated:!1};var p=function(e,t){var n=t.message;return{isMessageBeingUpdated:!!e.conversations.messagesBeingUpdated[n._id],account:e.session.account}},f={};t.a=n.i(s.a)(p,f)(o)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){var n=[],o=!0,i=!1,r=void 0;try{for(var a,s=t.participants[Symbol.iterator]();!(o=(a=s.next()).done);o=!0){var l=a.value;e._id!==l._id&&n.push(l.firstName+" "+l.lastName)}}catch(e){i=!0,r=e}finally{try{!o&&s.return&&s.return()}finally{if(i)throw r}}return n.join(",")}function s(e,t,n,o,i){return o?o.firstName+" "+o.lastName:i?b.a.format(i.startDate,"DD MMM"):n?a(t,n):e.components.navRightContentChat.title}var l=n(61),u=n.n(l),c=n(48),d=n.n(c),p=n(1447),f=n.n(p),m=n(325),g=n.n(m),h=n(0),v=n.n(h),y=n(3),_=n(54),b=n(33),w=n(32),S=n(780),x=n(781),A=n(371),P=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),C=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),k=P(f.a,{}),M=P(g.a,{}),T=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={selectedConversation:void 0},a=n,i(r,a)}return r(t,e),C(t,[{key:"componentWillReceiveProps",value:function(e){!this.props.userHavingConversationWith&&e.userHavingConversationWith&&this.setState({selectedConversation:void 0}),!this.props.eventHavingConversationWith&&e.eventHavingConversationWith&&this.setState({selectedConversation:void 0})}},{key:"onCloseClick",value:function(){var e=this.props,t=e.userHavingConversationWith,n=e.eventHavingConversationWith,o=this.state.selectedConversation;t?this.props.setRightNavState(!0,"conversations"):n?this.props.setRightNavState(!0,"conversations"):o?this.setState({selectedConversation:void 0}):this.props.setRightNavState(!1)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.account,i=t.userHavingConversationWith,r=t.eventHavingConversationWith,a=t.navRightContentStyle,l=this.state.selectedConversation;return P("div",{className:a.navRightContentContainer},void 0,P("div",{className:a.topBar},void 0,P("div",{className:a.title},void 0,s(n,o,l,i,r),l&&P(A.a,{conversation:l})),P("div",{className:a.closeButton},void 0,P(w.a,{to:"/conversations",onClick:function(){return e.onCloseClick()}},void 0,k),P(u.a,{onClick:function(){return e.onCloseClick()}},void 0,M))),P("div",{className:a.content},void 0,!l&&!i&&!r&&P(x.a,{onConversationClick:function(t){return e.setState({selectedConversation:t})}}),l&&!i&&!r&&P(S.a,{conversation:l}),i&&P(S.a,{user:i}),r&&P(S.a,{event:r})))}}]),t}(v.a.Component);T.defaultProps={userHavingConversationWith:void 0,eventHavingConversationWith:void 0};var O=function(e){return{i18n:e.i18n,account:e.session.account,isPending:e.conversations.isPending,conversations:e.conversations.conversations,contexts:e.session.contexts,commonStyle:e.commonStyle,userHavingConversationWith:e.conversations.userHavingConversationWith,eventHavingConversationWith:e.conversations.eventHavingConversationWith}},E={setRightNavState:_.c};t.a=n.i(y.a)(O,E)(d()()(T))},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(34)),r=n.n(i),a=n(12),s=n.n(a),l=n(16),u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),c=function(e){var t=e.i18n,n=e.cs,o=e.otherUser;if(!o)return u("div",{className:s()(n.col,n.s12,n.m10,n["offset-m1"]),style:{height:"100%"}},void 0,u("div",{style:{display:"flex",padding:"1rem",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"100%"}},void 0,u(r.a,{size:80,src:null,style:{margin:"1rem"}}),u("div",{style:{fontSize:"1em"}},void 0," ")));var i=l.a.build(t.pages.conversations.newConversationMessage,{fullName:u("b",{},void 0,o.firstName," ",o.lastName)});return u("div",{className:s()(n.col,n.s12,n.m10,n["offset-m1"]),style:{height:"100%"}},void 0,u("div",{style:{display:"flex",padding:"1rem",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"100%"}},void 0,u(r.a,{size:80,src:o.imageUrl||null,style:{margin:"1rem"}},void 0,o.imageUrl?null:o.firstName[0]+o.lastName[0]),u("div",{style:{fontSize:"1em",textAlign:"center",paddingBottom:"2rem"}},void 0,i)))};t.a=c},function(e,t,n){"use strict";function o(e){var t=e.isRightNavOpen,n={display:"flex",flexDirection:"column",justifyContent:"space-between"};return t&&(n.transform="none"),d(u.a,{zDepth:5,openSecondary:!0,open:!!t,containerStyle:n,width:320,docked:!0},void 0,p)}var i=n(0),r=(n.n(i),n(3)),a=n(48),s=n.n(a),l=n(308),u=n.n(l),c=n(788),d=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),p=d(c.a,{});o.defaultProps={isRightNavOpen:!1};var f=function(e){return{isRightNavOpen:e.nav.isRightNavOpen}},m={};t.a=n.i(r.a)(f,m)(s()()(o))},function(e,t,n){"use strict";function o(e){var t=e.rightNavContentType;return p("div",{className:d.a.navRightContent},void 0,"conversations"===t&&f)}function i(e){return{rightNavContentType:e.nav.rightNavContentType}}var r=n(0),a=(n.n(r),n(3)),s=n(18),l=n.n(s),u=n(785),c=n(1322),d=n.n(c),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=p(u.a,{navRightContentStyle:d.a});o.defaultProps={rightNavContentType:void 0},t.a=n.i(a.a)(i)(l()(d.a)(o))},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(48),c=n.n(u),d=n(29),p=n(762),f=n(60),m=n.n(f),g=n(882),h=n(81),v=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),y=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),_=v(p.a,{}),b=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={showTimeZoneConverterDialog:!1},n}return r(t,e),y(t,[{key:"componentDidMount",value:function(){var e=this.props.settings.timeZone!==Intl.DateTimeFormat().resolvedOptions().timeZone;this.setState({showTimeZoneConverterDialog:e})}},{key:"componentDidUpdate",value:function(){this.props.isSettingsUpdated&&window.location.reload()}},{key:"updateTimeZone",value:function(e){this.props.updateSettings(this.props.account._id,{timeZone:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.muiTheme,i=t.settings,r=Intl.DateTimeFormat().resolvedOptions().timeZone,a=h.a.get(h.a.PARAM_CURRENT_TIMEZONE)!==r;return v("div",{style:{marginBottom:"85px"}},void 0,_,v("div",{className:"row",style:{color:o.palette.textColor}},void 0,v(m.a,{open:this.state.showTimeZoneConverterDialog&&a,contentStyle:{maxWidth:"450px"},bodyStyle:{overflow:"auto"}},void 0,v(g.a,{currentTimeZone:r,oldTimeZone:i.timeZone,updateTimeZone:function(){return e.updateTimeZone(r)},closeModal:function(){h.a.save(h.a.PARAM_CURRENT_TIMEZONE,r),e.setState({showTimeZoneConverterDialog:!1})},i18n:n}))))}}]),t}(s.a.Component);b.defaultProps={isSettingsUpdated:!1};var w=function(e){return{i18n:e.i18n,settings:e.session.settings,account:e.session.account,isSettingsUpdated:e.session.isSettingsUpdated}},S={updateSettings:d.j};t.a=n.i(l.a)(w,S)(c()()(b))},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(182),s=(n.n(a),n(26)),l=n.n(s),u=n(0),c=n.n(u),d=n(3),p=n(192),f=n(379),m=n(52),g=(n.n(m),n(381)),h=n(123),v=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},_=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),b=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.defaultProps={form:void 0,isDisabled:!1,isPending:!1,title:null,legend:null,error:null},r.state={showEditPreForm:!1},a=n,i(r,a)}return r(t,e),_(t,[{key:"componentDidUpdate",value:function(e){var t=this;!e.isPending||this.props.isPending||this.props.error||(this.props.onFormCreate&&this.props.onFormCreate(),setTimeout(function(){return t.props.resetFormStatus()},100))}},{key:"onEditClick",value:function(){this.setState({showEditPreForm:!0})}},{key:"onFormSubmit",value:function(e){var t=this.props,n=t.account,o=t.event,i=t.form;i?this.props.updateFormResponse("",i._id,{data:e}):this.props.createFormResponse({data:e,type:this.props.type,event:{_type:"reference",_class:"events",_id:o._id},createdBy:{_type:"reference",_class:"users",_id:n._id}})}},{key:"render",value:function(){var e=this,t=this.props,o=t.i18n,i=t.isDisabled,r=t.isPending,s=t.title,u=t.legend,c=t.devingenForm,d=t.form,p=t.createdBy,_=[];if(d)for(var b=0;b<c.fields.length;b+=1){var w=c.fields[b];d.data[w.id]&&_.push(y({},w,{value:d.data[w.id]}))}var S=_.length>0&&!this.state.showEditPreForm,x=!!this.props.onFormCreate,A=JSON.parse(JSON.stringify(c));if(d)for(var P=0;P<A.fields.length;P+=1){var C=A.fields[P];A.fields[P].value=d.data[C.id]}return v(l.a,{style:{borderRadius:"6px",background:"#f2f2f2"}},void 0,s&&v("div",{style:{fontWeight:"bold",background:"white",color:m.accent1Color,padding:"1rem 1rem",borderTopLeftRadius:"6px",borderTopRightRadius:"6px"}},void 0,v("div",{style:{display:"flex"}},void 0,v("div",{style:{flex:1}},void 0,s),S&&x&&v("a",{onClick:function(){return e.onEditClick()},style:{cursor:"pointer"}},void 0,o.buttonActions.edit)),v("legend",{style:{fontSize:"0.8em",fontWeight:"300",color:m.gray600}},void 0,u)),v("div",{style:{padding:S?"1rem":"1rem 1rem 1px 1rem"}},void 0,S?v(g.a,{fields:_}):v(a.Form,{language:n.i(h.c)(this.props.language),fields:A.fields,loading:i||r,submitButtonLabel:o.buttonActions.save,onSubmit:function(t){return e.onFormSubmit(t)},extraButtons:[{label:o.buttonActions.cancel,onClick:function(){return e.setState({showEditPreForm:!1})}}]}),S&&p&&v("div",{style:{display:"flex"}},void 0,v(f.a,{user:p}),v("div",{style:{marginLeft:"1rem",display:"flex",alignItems:"center"}},void 0,v("b",{},void 0,p.firstName," ",p.lastName)))))}}]),t}(c.a.Component),w=function(e){return{i18n:e.i18n,account:e.session.account,isPending:e.forms.isSendFormResponsePending,error:e.forms.sendFormError,language:e.session.language}},S={createFormResponse:p.c,resetFormStatus:p.e,updateFormResponse:p.d};t.a=n.i(d.a)(w,S)(b)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(18),u=n.n(l),c=n(3),d=n(1262),p=n.n(d),f=n(511),m=n.n(f),g=n(40),h=n.n(g),v=n(115),y=n(73),_=n(43),b=n(16),w=n(42),S=n(52),x=(n.n(S),n(374)),A=n(743),P=n(465),C=n.n(P),k=n(375),M=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),T=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),O=function(e){var t=null;if(e)try{var n=e;-1===n.indexOf("http")&&(n="http://"+e),t=T("div",{style:{width:"100%",paddingTop:"50%",position:"relative"},dangerouslySetInnerHTML:{__html:p()(n,{attr:{style:"position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;"}})}})}catch(e){t=null}return t},E=T(h.a,{}),I=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={editMetadataDialogShown:!1},a=n,i(r,a)}return r(t,e),M(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,n=e.context,o=e.profile,i=e.metadata,r=e.isPendingMetadata,a=e.metadataError,s=e.showMetadata,l=e.allowMetadataEdit,u=e.role;t&&(!s&&!l||i||r||a||!n||!n.organisation||this.props.fetchMetadata(n.organisation._id,"mentor"===u?"mentors":"mentees",o._id))}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.profile,r=t.showMentorship,a=t.showMetadata,s=t.showContactInfo,l=t.allowMetadataEdit,u=t.metadata,c=t.isPendingMetadata,d=t.role,p=y.a.getProfileFieldVisibilities(o,d),f=[];if(i.videoUrl&&f.push(T("div",{style:{marginBottom:"1rem"}},void 0,O(i.videoUrl))),p.bio&&i.bio&&f.push(T("div",{style:{display:"flex",marginBottom:"-1rem"}},void 0,T(x.a,{label:n.pages.profile.mentorshipInfo.bio,html:b.a.linkify(i.bio),hasRichContent:!0},"bio"))),r&&i.mentorship){var g=i.mentorship;g.description&&f.push(T(x.a,{label:w.a.show(n.pages.profile.mentorshipInfo.about,o.config),info:g.description,hasRichContent:!0},"about")),g.audience&&f.push(T(x.a,{label:w.a.show(n.pages.profile.mentorshipInfo.audience,o.config),info:g.audience,hasRichContent:!0},"audience"))}s&&i.contactInfo&&Object.keys(i.contactInfo).forEach(function(e){i.contactInfo[e]&&""!==i.contactInfo[e]&&f.push(T(x.a,{label:n.formHints[e],info:i.contactInfo[e]},"contact_"+e))});var h=[],v=[];if((a||l)&&u&&u.data){h=o.config.metadatas[d],v=T(k.a,{context:o,role:d,displayEmptyFields:l,metadata:u})}var P=0===f.length&&0===v.length&&!((a||l)&&(!u||c));return T("div",{style:{paddingBottom:"1rem"}},void 0,f,v,l&&u&&T("a",{href:"#",style:{color:S.blue},onClick:function(){return e.setState({editMetadataDialogShown:!0})}},void 0,T(m.a,{style:{color:S.blue,height:20,width:20,verticalAlign:"top",marginRight:"0.5rem"}}),n.components.profileInfo.editMetadata),this.state.editMetadataDialogShown&&T(A.a,{isShown:!0,metadata:u,metadataFields:h,hideDialog:function(){return e.setState({editMetadataDialogShown:!1})}}),P&&T(_.a,{message:n.components.profileInfo.emptyMessage}),c&&T("div",{style:{textAlign:"center"}},void 0,E))}}]),t}(s.a.Component);I.defaultProps={metadata:null,isPendingMetadata:null,metadataError:null};var N=function(e,t){var n=t.showMetadata,o=t.profile;return n?{metadata:o.metadata||e.users.metadatasByUserId[o._id],metadataError:e.users.metadataErrorList[o._id],isPendingMetadata:e.users.metadataPendingList[o._id]}:{}},D={fetchMetadata:v.l};t.a=n.i(c.a)(N,D)(u()(C.a)(I))},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(305),c=n.n(u),d=n(62),p=n.n(d),f=n(34),m=n.n(f),g=n(67),h=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),v=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),y=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={input:"",results:[]},a=n,i(r,a)}return r(t,e),v(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.context.organisation._id;"mentee"===this.props.searchedItemType?window.api.getMentees(t).then(function(t){e.setState({results:t})}):"mentor"===this.props.searchedItemType?window.api.getMentors(t,"",[],0,{appendSubscription:!0}).then(function(t){e.setState({results:t})}):"group"===this.props.searchedItemType&&window.api.getGroups(t,0,50).then(function(t){e.setState({results:t})})}},{key:"onInputChange",value:function(e){var t=this;this.setState({input:e});var n=this.props.context.organisation._id;"mentee"===this.props.searchedItemType?window.api.getMentees(n,e).then(function(e){t.setState({results:e})}):"mentor"===this.props.searchedItemType?window.api.getMentors(n,e,[],0,{appendSubscription:!0}).then(function(e){t.setState({results:e})}):"group"===this.props.searchedItemType&&window.api.getGroups(n,0,50,e).then(function(e){t.setState({results:e})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.disabled,o=t.error,i=t.placeholder,r=t.selectedItem,a=t.searchedItemType,s=[];this.state.results.forEach(function(e){var t=void 0;"mentor"===a||"mentee"===a?t=e.firstName+" "+e.lastName:"group"===a&&(t=e.title),s.push({text:t,value:h(p.a,{primaryText:t,leftIcon:h(m.a,{src:e.imageUrl})}),data:e})});var l=this.state.input;return r&&("mentor"===a||"mentee"===a?l=r.firstName+" "+r.lastName:"group"===a&&(l=r.title)),h(c.a,{fullWidth:!0,value:l,disabled:n,floatingLabelText:i,filter:c.a.noFilter,dataSource:s,onUpdateInput:function(t){return e.onInputChange(t)},openOnFocus:!0,onNewRequest:function(t){e.props.onSelect(t.data),e.setState({input:""}),e.onInputChange("")},errorText:o})}}]),t}(s.a.Component);y.defaultProps={selectedItem:void 0,error:void 0,disabled:!1};var _=function(e){return{i18n:e.i18n,account:e.session.account}},b={createEvent:g.d};t.a=n.i(l.a)(_,b)(y)},function(e,t,n){"use strict";function o(e){var t=e.i18n,n=e.mentorsPendingApproval,o=e.commonStyle,i=t.components.sentSubscriptionRequestList;return n&&0!==n.length?p("div",{},void 0,p("h3",{},void 0,c.a.build(i.pendingRequestsTitle,{requestCount:n.length})),n.map(function(e){return p("div",{className:r()(o.col,o.s12,o.m6,o.l4,o.xl3)},e._id,p(d.a,{i18n:t,user:e,userType:"mentor"}))})):null}var i=n(12),r=n.n(i),a=n(0),s=(n.n(a),n(3)),l=n(64),u=n(29),c=n(16),d=n(378),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();o.defaultProps={error:void 0,isPending:!1,isEndReached:!1,mentorsPendingApproval:void 0};var f=function(e){return{i18n:e.i18n,account:e.session.account,commonStyle:e.commonStyle,language:e.session.language,mentorsPendingApproval:e.users.mentors&&e.users.mentors.map(function(t){return(e.users.usersById||{})[t]}).filter(function(e){return e.subscription&&"requested"===e.subscription.status}),error:e.users.subscriptionActionError,isPending:e.users.isPendingSubscriptionAction,isEndReached:e.users.isEndReachedForMentees}},m={acceptSubscriptionRequest:u.h,rejectSubscriptionRequest:u.i,hideDialog:l.a,showMessageDialog:l.b,showAlertDialog:l.d};t.a=n.i(s.a)(f,m)(o)},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){if(t)switch(t.statusCode){case 401:return e.pages.settings.errorExistingPasswordNotCorrect;case 409:return e.pages.settings.errorEmailConflict;default:return e.pages.settings.emailUpdateFailed}}var l=n(0),u=n.n(l),c=n(3),d=n(12),p=n.n(d),f=n(17),m=n.n(f),g=n(36),h=n.n(g),v=n(88),y=n.n(v),_=n(29),b=n(15),w=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),S=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),x=function(e){function t(e){i(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={email:"",existingPassword:"",errors:{}},n}return a(t,e),S(t,[{key:"componentDidUpdate",value:function(){this.props.isEmailUpdated&&window.location.reload()}},{key:"handleChange",value:function(e){this.setState(o({},e.target.id,e.target.value))}},{key:"handleSubmit",value:function(e){e.preventDefault(),this.validateForm()&&this.props.updateEmail({password:this.state.existingPassword.trim(),email:this.state.email.trim().toLowerCase()})}},{key:"validateForm",value:function(){var e=this.props.i18n,t={},n=!1;return this.state.email||(t.email=e.formErrors.email,n=!0),(!this.state.existingPassword||this.state.existingPassword.length<6)&&(t.existingPassword=e.formErrors.existingPasswordNotValid,n=!0),this.setState({errors:t}),!n}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.commonStyle,i=t.isPending,r=t.isEmailUpdated,a=t.error;return w("form",{onSubmit:function(t){return e.handleSubmit(t)},style:{padding:"1rem"},autoComplete:"off"},void 0,w("div",{className:p()(o.row)},void 0,w("div",{className:p()(o.col,o.s12),style:{}},void 0,w("h3",{},void 0,n.pages.settings.emailSettings)),w("div",{className:p()(o.col,o.s12,o.m6,o.valignWrapper),style:{minHeight:"48px"}},void 0,n.pages.settings.emailInfo),w("div",{className:p()(o.col,o.s12,o.m6)},void 0,w(h.a,{fullWidth:!0,id:"email",type:"email",autoComplete:"off",disabled:i,value:this.state.email,hintText:n.formHints.email,errorText:this.state.errors.email,onChange:function(t){return e.handleChange(t)}}))),w("div",{className:p()(o.row)},void 0,w("div",{className:p()(o.col,o.s12,o.m6,o.valignWrapper),style:{minHeight:"48px"}},void 0,n.pages.settings.existingPasswordInfo),w("div",{className:p()(o.col,o.s12,o.m6)},void 0,w(h.a,{fullWidth:!0,type:"password",autocomplete:"off",id:"existingPassword",disabled:i,value:this.state.existingPassword,hintText:n.pages.settings.existingPassword,errorText:this.state.errors.existingPassword,onChange:function(t){return e.handleChange(t)}}))),w("div",{className:p()(o.row,o.rightAlign)},void 0,w(m.a,{type:"submit",label:n.pages.settings.changeEmail,secondary:!0,style:b.a.roundedButtonContainer,buttonStyle:b.a.roundedButton,labelStyle:b.a.roundedButtonLabel})),w(y.a,{open:r,message:n.pages.settings.emailUpdated,autoHideDuration:2e3}),w(y.a,{open:null!=a,message:s(n,a),autoHideDuration:2e3,bodyStyle:b.a.errorBackground}))}}]),t}(u.a.Component),A=function(e){return{i18n:e.i18n,commonStyle:e.commonStyle,error:e.session.updateEmailError,isPending:e.session.isUpdateEmailPending,isEmailUpdated:e.session.isEmailUpdated}},P={updateEmail:_.r};t.a=n.i(c.a)(A,P)(x)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(796),c=n(794),d=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),f=d("div",{},void 0,d(u.a,{}),d(c.a,{})),m=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={newPasswordFirst:"",newPasswordSecond:"",existingPassword:"",errors:{}},n}return r(t,e),p(t,[{key:"render",value:function(){return f}}]),t}(s.a.Component),g=function(e){return{i18n:e.i18n,commonStyle:e.commonStyle,error:e.session.updatePasswordError,isPending:e.session.isUpdatePasswordPending,isPasswordUpdated:e.session.isPasswordUpdated}},h={SettingsPassword:u.a};t.a=n.i(l.a)(g,h)(m)},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(0),l=n.n(s),u=n(3),c=n(12),d=n.n(c),p=n(17),f=n.n(p),m=n(36),g=n.n(m),h=n(88),v=n.n(h),y=n(29),_=n(15),b=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),w=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),S=function(e){function t(e){i(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={newPasswordFirst:"",newPasswordSecond:"",existingPassword:"",errors:{}},n}return a(t,e),w(t,[{key:"handleChange",value:function(e){this.setState(o({},e.target.id,e.target.value))}},{key:"handleSubmit",value:function(e){e.preventDefault(),this.validateForm()&&this.props.updatePassword({password:this.state.existingPassword,newPassword:this.state.newPasswordFirst})}},{key:"validateForm",value:function(){var e=this.props.i18n,t={},n=!1;return(!this.state.newPasswordFirst||this.state.newPasswordFirst.length<6)&&(t.newPasswordFirst=e.formErrors.password,n=!0),this.state.newPasswordSecond!==this.state.newPasswordFirst&&(t.newPasswordSecond=e.formErrors.passwordsNotMatching,n=!0),(!this.state.existingPassword||this.state.existingPassword.length<6)&&(t.existingPassword=e.formErrors.existingPasswordNotValid,n=!0),this.setState({errors:t}),!n}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.commonStyle,i=t.isPending,r=t.isPasswordUpdated,a=t.error;return b("form",{onSubmit:function(t){return e.handleSubmit(t)},style:{padding:"1rem"}},void 0,b("div",{className:d()(o.row),style:{marginBottom:0}},void 0,b("div",{className:d()(o.col,o.s12)},void 0,b("h3",{},void 0,n.pages.settings.passwordSettings)),b("div",{className:d()(o.col,o.s12,o.m6,o.valignWrapper),style:{minHeight:"48px"}},void 0,n.pages.settings.existingPasswordInfo),b("div",{className:d()(o.col,o.s12,o.m6)},void 0,b(g.a,{id:"existingPassword",type:"password",fullWidth:!0,value:this.state.existingPassword,hintText:n.pages.settings.existingPassword,disabled:i,errorText:this.state.errors.existingPassword,onChange:function(t){return e.handleChange(t)}}))),b("div",{className:d()(o.row)},void 0,b("div",{className:d()(o.col,o.s12,o.m6,o.valignWrapper),style:{minHeight:"48px"}},void 0,n.pages.settings.newPasswordFirstInfo),b("div",{className:d()(o.col,o.s12,o.m6)},void 0,b(g.a,{id:"newPasswordFirst",type:"password",fullWidth:!0,value:this.state.newPasswordFirst,hintText:n.pages.settings.newPasswordFirst,disabled:i,errorText:this.state.errors.newPasswordFirst,onChange:function(t){return e.handleChange(t)}}))),b("div",{className:d()(o.row)},void 0,b("div",{className:d()(o.col,o.s12,o.m6,o.valignWrapper),style:{minHeight:"48px"}},void 0,n.pages.settings.newPasswordSecondInfo),b("div",{className:d()(o.col,o.s12,o.m6)},void 0,b(g.a,{id:"newPasswordSecond",type:"password",fullWidth:!0,value:this.state.newPasswordSecond,hintText:n.pages.settings.newPasswordSecond,disabled:i,errorText:this.state.errors.newPasswordSecond,onChange:function(t){return e.handleChange(t)}}))),b("div",{className:d()(o.row,o.rightAlign),style:{marginBottom:0}},void 0,b(f.a,{type:"submit",label:n.pages.settings.changePassword,secondary:!0,style:_.a.roundedButtonContainer,buttonStyle:_.a.roundedButton,labelStyle:_.a.roundedButtonLabel})),b(v.a,{open:r,message:n.pages.settings.passwordUpdated,autoHideDuration:2e3}),b(v.a,{open:null!=a,message:null!=a&&(401===a.statusCode?n.pages.settings.errorExistingPasswordNotCorrect:n.pages.settings.passwordUpdateFailed),autoHideDuration:2e3,bodyStyle:_.a.errorBackground}))}}]),t}(l.a.Component),x=function(e){return{i18n:e.i18n,commonStyle:e.commonStyle,error:e.session.updatePasswordError,isPending:e.session.isUpdatePasswordPending,isPasswordUpdated:e.session.isPasswordUpdated}},A={updatePassword:y.s};t.a=n.i(u.a)(x,A)(S)},function(e,t,n){"use strict";function o(e,t,n){var o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),i=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+n+"$2"):e+i+t+"="+n}t.a=o},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(0),l=n.n(s),u=n(3),c=n(12),d=n.n(c),p=n(17),f=n.n(p),m=n(88),g=n.n(m),h=n(36),v=n.n(h),y=n(42),_=n(357),b=n(29),w=n(15),S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},x=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),A=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),P=function(e){function t(e){i(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={description:e.context.mentorship.description,audience:e.context.mentorship.audience,errors:{},isSubmitted:!1,subscriptionLimit:e.context.mentorship.subscriptionLimit||0},n}return a(t,e),A(t,[{key:"componentDidUpdate",value:function(e){e.isUpdateMentorshipPending&&!this.props.isUpdateMentorshipPending&&this.props.onSuccess&&this.props.onSuccess()}},{key:"handleChange",value:function(e){this.setState(o({},e.target.id,e.target.value))}},{key:"handleSubmit",value:function(e){e.preventDefault();var t={description:this.state.description,audience:this.state.audience,subscriptionLimit:this.state.subscriptionLimit||0};t.subscriptionLimit&&(t.subscriptionLimit=parseInt(t.subscriptionLimit,10)),this.props.updateMentorship(this.props.account._id,this.props.context.mentorship._id,t),this.setState({isSubmitted:!0})}},{key:"render",value:function(){for(var e=this,t=this.props,n=t.i18n,o=t.commonStyle,i=t.account,r=t.context,a=t.hideTitle,s=t.isUpdateMentorshipPending,l=t.isMentorshipUpdated,u=t.updateMentorshipError,c=t.additionalButton,p=t.saveButtonLabel,m=r.config.welcomeStepVisibilities,h=r.config.mentorMenteeSubscription,b="restricted"===h,A=[],P=1;P<=100;P+=1)A.push(P);var C={margin:"0 0 0.5rem 0"},k=n.components.mentorshipForm;return x("form",{onSubmit:function(t){return e.handleSubmit(t)},style:{padding:"1px 0"}},void 0,x("div",{className:d()(o.row)},void 0,!a&&x("div",{className:d()(o.col,o.s12)},void 0,x("h3",{style:C},void 0,r.organisation.title)),m.mentor.mentorship&&x("div",{className:d()(o.col,o.s12)},void 0,x(v.a,{id:"description",type:"text",fullWidth:!0,multiLine:!0,rows:2,value:this.state.description,hintText:y.a.show(n.components.mentorshipForm.descriptionHint,r.config),disabled:this.props.isUpdateMentorshipPending,errorText:this.state.errors.description,onChange:function(t){return e.handleChange(t)}})),m.mentor.mentorship&&x("div",{className:d()(o.col,o.s12)},void 0,x(v.a,{id:"audience",type:"text",fullWidth:!0,multiLine:!0,rows:2,value:this.state.audience,hintText:y.a.show(n.components.mentorshipForm.audienceHint,r.config),disabled:this.props.isUpdateMentorshipPending,errorText:this.state.errors.audience,onChange:function(t){return e.handleChange(t)}})),m.mentor.mentorshipLimit&&b&&x("div",{className:d()(o.col,o.s12)},void 0,x("div",{},void 0,x("h3",{},void 0,y.a.show(n.components.mentorshipForm.menteeLimit,r.config)),x("p",{},void 0,y.a.show(n.components.mentorshipForm.menteeCount,r.config)),x("select",{id:"subscriptionLimit",onChange:function(t){return e.handleChange(t)},defaultValue:this.state.subscriptionLimit,style:o.select},void 0,x("option",{value:"0"},void 0,n.components.mentorshipForm.limitless),A.map(function(e){return x("option",{label:e,value:e},e)})))),m.mentor.availability&&x("div",{className:d()(o.col,o.s12)},void 0,x("h4",{},void 0,k.mentorshipTitle),x("p",{},void 0,k.mentorshipDescription),x(_.a,{i18n:n,isActive:!0,account:i,profile:i,context:r,mentorship:r.mentorship,commonStyle:o,showCreateAvailabilityButton:!0,hideEmptyMessage:!0}))),x("div",{className:d()(o.row,o.rightAlign)},void 0,c&&x(f.a,{onClick:function(){return c.onClick()},label:c.label,style:S({},w.a.roundedButtonContainer,{marginRight:"1rem"}),disabled:s,buttonStyle:S({},w.a.roundedButton)}),x(f.a,{type:"submit",label:p||n.buttonActions.save,secondary:!0,style:w.a.roundedButtonContainer,disabled:s,buttonStyle:w.a.roundedButton,labelStyle:w.a.roundedButtonLabel})),x(g.a,{open:l&&this.state.isSubmitted,message:n.pages.settings.infoUpdateSuccessMessage,autoHideDuration:2e3}),x(g.a,{open:null!=u&&this.state.isSubmitted,message:n.pages.settings.infoUpdateError,autoHideDuration:2e3,bodyStyle:w.a.errorBackground}))}}]),t}(l.a.Component);P.defaultProps={additionalButton:null,saveButtonLabel:null,onSuccess:null,hideTitle:!1,isMentorshipUpdated:!1,updateMentorshipError:null,isUpdateMentorshipPending:!1};var C=function(e){return{i18n:e.i18n,account:e.session.account,commonStyle:e.commonStyle,updateMentorshipError:e.session.updateMentorshipError,isUpdateMentorshipPending:e.session.isUpdateMentorshipPending,isMentorshipUpdated:e.session.isMentorshipUpdated}},k={updateMentorship:b.n};t.a=n.i(u.a)(C,k)(P)},function(e,t,n){"use strict";function o(e){var t=e.contexts;return s("div",{},void 0,t.map(function(e){return"mentor"===e.role?s(a.a,{context:e}):null}))}var i=n(0),r=(n.n(i),n(3)),a=n(798),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),l=function(e){return{contexts:e.session.contexts}};t.a=n.i(r.a)(l)(o)},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(0),l=n.n(s),u=n(3),c=n(12),d=n.n(c),p=n(17),f=n.n(p),m=n(88),g=n.n(m),h=n(318),v=n.n(h),y=n(29),_=n(15),b=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},S=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),x=function(e){function t(e){i(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),o={emailOnMeetingCreation:!0,emailOnMeetingCancellation:!0,emailOnMeetingNoteCreation:!0,emailOnAvailabilityCreation:!1,emailOnNewMessage:!0,emailOnReminder:!0};return n.state={notificationSettings:w({},o,e.settings.notification)},n}return a(t,e),S(t,[{key:"componentDidUpdate",value:function(){this.props.isSettingsUpdated&&window.location.reload()}},{key:"handleSubmit",value:function(e){e.preventDefault(),this.props.updateSettings(this.props.account._id,{notification:this.state.notificationSettings})}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,i=t.commonStyle,r=t.isPending,a=t.isSettingsUpdated,s=t.error;return b("form",{onSubmit:function(t){return e.handleSubmit(t)},style:{padding:"1rem"}},void 0,b("div",{className:d()(i.row)},void 0,b("div",{className:d()(i.col,i.s12)},void 0,b("table",{className:i.highlight},void 0,b("thead",{},void 0,b("tr",{},void 0,b("th",{},void 0,n.pages.settings.emailSettingsTitle))),b("tbody",{},void 0,Object.keys(this.state.notificationSettings).map(function(t){return b("tr",{},t,b("td",{},void 0,n.pages.settings[t]),b("td",{},void 0,b(v.a,{disabled:r,toggled:e.state.notificationSettings[t],onClick:function(){return e.setState({notificationSettings:w({},e.state.notificationSettings,o({},t,!e.state.notificationSettings[t]))})}})))}))))),b("div",{},void 0,b(f.a,{type:"submit",label:n.buttonActions.save,secondary:!0,style:_.a.roundedButtonContainer,disabled:r,buttonStyle:_.a.roundedButton,labelStyle:_.a.roundedButtonLabel})),b(g.a,{open:a,message:n.pages.settings.notificationSettingsUpdated,autoHideDuration:2e3}),b(g.a,{open:null!=s,message:n.pages.settings.notificationSettingsUpdateFailed,autoHideDuration:2e3,bodyStyle:_.a.errorBackground}))}}]),t}(l.a.Component);x.defaultProps={error:null,isPending:!1,isSettingsUpdated:!1};var A=function(e){return{i18n:e.i18n,account:e.session.account,context:e.session.sContext,settings:e.session.settings,commonStyle:e.commonStyle,error:e.session.updateSettingsError,isPending:e.session.isUpdateSettingsPending,isSettingsUpdated:e.session.isSettingsUpdated}},P={updateSettings:y.j};t.a=n.i(u.a)(A,P)(x)},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(0),l=n.n(s),u=n(60),c=n.n(u),d=n(47),p=n.n(d),f=n(380),m=n(197),g=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),v=function(e){function t(e){i(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={filter:e.defaultFilter},n}return a(t,e),h(t,[{key:"componentWillReceiveProps",value:function(e){this.props.defaultFilter.length===e.defaultFilter.length&&this.props.defaultFilter.every(function(t,n){return t===e.defaultFilter[n]})&&this.setState({filter:e.defaultFilter})}},{key:"onSkillClick",value:function(e){var t=[].concat(o(this.state.filter));t.indexOf(e)>-1?t.splice(t.indexOf(e),1):t.push(e),this.setState({filter:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.isShown,i=t.onFilter,r=t.onCancel,a=this.state.filter,s=[g(p.a,{label:n.components.userSkillFilterDialog.actionClear,onTouchTap:function(){return i([])}}),g(p.a,{secondary:!0,label:n.components.userSkillFilterDialog.actionFilter,onTouchTap:function(){return i(a)}})];return g("div",{},void 0,g(c.a,{open:o,autoScrollBodyContent:!0,actions:s,onRequestClose:function(){return r()},title:n.components.userSkillFilterDialog.title},void 0,g("div",{style:{paddingTop:"1rem"}},void 0,f.a.map(function(t){return g(m.a,{skill:t,text:n.skills[t]||t,isActive:a.indexOf(t)>-1,onToggle:function(t){return e.onSkillClick(t)}},t)}))))}}]),t}(l.a.Component);v.defaultProps={defaultFilter:[],isShown:!1},t.a=v},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(12),s=n.n(a),l=n(0),u=n.n(l),c=n(3),d=n(64),p=n(29),f=n(16),m=n(378),g=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),v=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.onAcceptRequest=function(e){var t=r.props.i18n,n=t.components.subscriptionRequestList;r.props.showAlertDialog(n.acceptDialog.title,n.acceptDialog.message,n.accept,function(){return r.props.acceptSubscriptionRequest(e)})},r.onRejectRequest=function(e){var t=r.props.i18n,n=t.components.subscriptionRequestList;r.props.showAlertDialog(n.rejectDialog.title,n.rejectDialog.message,n.reject,function(){return r.props.rejectSubscriptionRequest(e)})},a=n,i(r,a)}return r(t,e),h(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;!this.props.error&&e.error?this.props.showMessageDialog(this.props.i18n.components.subscriptionRequestList.unexpectedError,"",this.props.i18n.buttonActions.ok,function(){return t.props.hideDialog()},!1):this.props.isPending&&!e.isPending&&e.error}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.menteesPendingApproval,i=t.outdatedRequests,r=t.commonStyle,a=n.components.subscriptionRequestList;return o&&i?g("div",{className:s()(r.row),style:{marginBottom:0,paddingTop:"1rem"}},void 0,g("h3",{},void 0,f.a.build(a.pendingRequestsTitle,{requestCount:""+o.length})),o.map(function(t){return g("div",{className:s()(r.col,r.s12,r.m6,r.l4,r.xl3)},t.subscription._id,g(m.a,{i18n:n,user:t,userType:"mentee",subscriptionId:t.subscription._id,subscriptionStatus:t.subscription.status,onAccept:e.onAcceptRequest,onReject:e.onRejectRequest}))}),i.map(function(e){return g("div",{className:s()(r.col,r.s12,r.m6,r.l4,r.xl3)},e.subscription._id,g(m.a,{i18n:n,user:e,userType:"mentee",subscriptionId:e.subscription._id,subscriptionStatus:e.subscription.status}))})):null}}]),t}(u.a.Component);v.defaultProps={error:void 0,isPending:!1,isEndReached:!1,menteesPendingApproval:void 0};var y=function(e){return{i18n:e.i18n,account:e.session.account,context:e.session.sContext,commonStyle:e.commonStyle,language:e.session.language,menteesPendingApproval:e.users.mentees&&e.users.mentees.map(function(t){return(e.users.usersById||{})[t]}).filter(function(e){return e.subscription&&"requested"===e.subscription.status}),outdatedRequests:e.users.mentees&&e.users.mentees.map(function(t){return(e.users.usersById||{})[t]}).filter(function(e){return e.subscription&&("canceled"===e.subscription.status||"rejected"===e.subscription.status)}),error:e.users.subscriptionActionError,isPending:e.users.isPendingSubscriptionAction,isEndReached:e.users.isEndReachedForMentees}},_={acceptSubscriptionRequest:p.h,rejectSubscriptionRequest:p.i,hideDialog:d.a,showMessageDialog:d.b,showAlertDialog:d.d};t.a=n.i(c.a)(y,_)(v)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){var n=t.muiTheme.inkBar;return{root:{left:e.left,width:e.width,bottom:0,display:"block",backgroundColor:e.color||n.backgroundColor,height:2,marginTop:-2,position:"relative",transition:c.easeOut("1s","left")}}}var s=n(0),l=(n.n(s),function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}()),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),c={easeOutFunction:"cubic-bezier(0.23, 1, 0.32, 1)",easeInOutFunction:"cubic-bezier(0.445, 0.05, 0.55, 0.95)",easeOut:function(e,t,n,o){if(o=o||this.easeOutFunction,t&&"[object Array]"===Object.prototype.toString.call(t)){for(var i="",r=0;r<t.length;r++)i&&(i+=","),i+=this.create(e,t[r],n,o);return i}return this.create(e,t,n,o)},create:function(e,t,n,o){return e=e||"450ms",t=t||"all",n=n||"0ms",o=o||"linear",t+" "+e+" "+o+" "+n}},d=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),u(t,[{key:"render",value:function(){var e=this.props.style,t=this.context.muiTheme.prepareStyles,n=a(this.props,this.context);return l("div",{style:t(Object.assign(n.root,e))})}}]),t}(s.Component);d.contextTypes={muiTheme:s.PropTypes.object.isRequired},t.a=d},function(e,t,n){"use strict";function o(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){return{tabItemContainer:{width:"100%",backgroundColor:t.muiTheme.tabs.backgroundColor,whiteSpace:"nowrap",textAlign:"right"}}}var l=n(0),u=n.n(l),c=n(805),d=n(803),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},f=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),m=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),g=function(){},h=function(e){function t(){var e,n,o,a;i(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=o=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.state={selectedIndex:0},o.handleTabTouchTap=function(e,t,n){var i=o.getValueLink(o.props),r=n.props.index;(i.value&&i.value!==e||o.state.selectedIndex!==r)&&i.requestChange(e,t,n),o.setState({selectedIndex:r}),n.props.onActive&&n.props.onActive(n)},a=n,r(o,a)}return a(t,e),m(t,[{key:"componentWillMount",value:function(){var e=this.getValueLink(this.props),t=this.props.initialSelectedIndex;this.setState({selectedIndex:void 0!==e.value?this.getSelectedIndex(this.props):t<this.getTabCount()?t:0})}},{key:"componentWillReceiveProps",value:function(e,t){var n=this.getValueLink(e),o={muiTheme:t.muiTheme||this.context.muiTheme};void 0!==n.value&&(o.selectedIndex=this.getSelectedIndex(e)),this.setState(o)}},{key:"getTabs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=[];return l.Children.forEach(e.children,function(e){n.i(l.isValidElement)(e)&&t.push(e)}),t}},{key:"getTabCount",value:function(){return this.getTabs().length}},{key:"getValueLink",value:function(e){return e.valueLink||{value:e.value,requestChange:e.onChange}}},{key:"getSelectedIndex",value:function(e){var t=this.getValueLink(e),n=-1;return this.getTabs(e).forEach(function(e,o){t.value===e.props.value&&(n=o)}),n}},{key:"getSelected",value:function(e,t){var n=this.getValueLink(this.props);return n.value?n.value===e.props.value:this.state.selectedIndex===t}},{key:"render",value:function(){var e=this,t=this.props,i=t.contentContainerClassName,r=t.contentContainerStyle,a=(t.initialSelectedIndex,t.inkBarStyle),m=(t.onChange,t.style),h=t.tabItemContainerStyle,v=t.tabTemplate,y=t.tabTemplateStyle,_=o(t,["contentContainerClassName","contentContainerStyle","initialSelectedIndex","inkBarStyle","onChange","style","tabItemContainerStyle","tabTemplate","tabTemplateStyle"]),b=this.context.muiTheme.prepareStyles,w=s(this.props,this.context),S=this.getValueLink(this.props),x=S.value,A=[],P=this.props.tabWidth||120,C=P*this.getTabCount(),k=this.getTabs().map(function(t,o){return g(t.type&&"Tab"===t.type.muiName,"Material-UI: Tabs only accepts Tab Components as children.\n        Found "+(t.type.muiName||t.type)+" as child number "+(o+1)+" of Tabs"),g(!x||void 0!==t.props.value,"Material-UI: Tabs value prop has been passed, but Tab "+o+"\n        does not have a value prop. Needs value if Tabs is going\n        to be a controlled component."),A.push(t.props.children?n.i(l.createElement)(v||c.a,{key:o,selected:e.getSelected(t,o),style:y},t.props.children):void 0),n.i(l.cloneElement)(t,{key:o,index:o,selected:e.getSelected(t,o),width:P+"px",onTouchTap:e.handleTabTouchTap})}),M=(this.getTabCount()-this.state.selectedIndex-1)*P,T=(this.state.selectedIndex,-1!==this.state.selectedIndex?f(d.a,{width:P+"px",style:p({},a,{float:"right",right:M+"px",transition:"right 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0ms"})}):null);return h.width=C,h.display="inline-block",u.a.createElement("div",p({style:b(Object.assign({},m))},_),f("div",{style:{overflow:"auto",textAlign:"center",margin:"0 -1rem"}},void 0,!this.props.isTabsHidden&&f("div",{style:b(Object.assign(w.tabItemContainer,h))},void 0,k,T)),f("div",{style:b(Object.assign({},r)),className:i},void 0,A))}}]),t}(l.Component);h.defaultProps={initialSelectedIndex:0,isTabsHidden:!1,onChange:function(){}},h.contextTypes={muiTheme:l.PropTypes.object.isRequired},t.a=h},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}()),r={width:"100%",position:"relative",textAlign:"initial"},a=function(e){var t=e.children,n=e.selected,o=e.style,a=Object.assign({},r,o);return n||(a.height=0,a.overflow="hidden"),i("div",{style:a},void 0,t)};t.a=a},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(12),c=n.n(u),d=n(60),p=n.n(d),f=n(36),m=n.n(f),g=n(47),h=n.n(g),v=n(184),y=n.n(v),_=n(122),b=n.n(_),w=n(62),S=n.n(w),x=n(16),A=n(33),P=n(67),C=n(32),k=n(102),M=n(56),T=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),O=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),E=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.convert12HourTo24Hour=function(e){var t=e,n=t.match(/\s(.*)$/)[1],o=Number(t.match(/^(\d+)/)[1]),i=Number(t.match(/:(\d+)/)[1]);"PM"==n&&o<12&&(o+=12),"AM"==n&&12==o&&(o-=12);var r=o.toString(),a=i.toString();return o<10&&(r="0"+r),i<10&&(a="0"+a),[r,a]};var r=new Date(1e3*n.props.event.startDate),a=new Date(1e3*n.props.event.endDate),s=A.a.format(r,"HH:mm"),l=A.a.format(a,"HH:mm");return n.state={errors:{},date:r,startHour:"12-hour"===A.a.timeFormat?s.slice(0,2):r.getHours(),startMinute:"12-hour"===A.a.timeFormat?s.slice(3,5):r.getMinutes(),endHour:"12-hour"===A.a.timeFormat?l.slice(0,2):a.getHours(),endMinute:"12-hour"===A.a.timeFormat?l.slice(3,5):a.getMinutes(),location:e.event.location.address,locationType:e.event.location.type,startHourZoneValue:s.slice(6,8),endHourZoneValue:l.slice(6,8)},n}return r(t,e),O(t,[{key:"componentWillReceiveProps",value:function(e){!this.props.isPending||e.isPending||e.error||(this.props.hideDialog(),this.props.event.location.type!==this.state.locationType&&"custom"!==this.state.locationType&&location.reload())}},{key:"onClickUpdate",value:function(){if(this.validateForm()){var e=void 0,t=void 0,n=void 0,o=void 0;"12-hour"===A.a.timeFormat&&("tr"===this.props.settings.language?(e="ÖÖ"===this.state.startHourZoneValue?"AM":"PM",t="ÖÖ"===this.state.endHourZoneValue?"AM":"PM"):(e=this.state.startHourZoneValue,t=this.state.endHourZoneValue),n=this.convert12HourTo24Hour(this.state.startHour+":"+this.state.startMinute+" "+e),o=this.convert12HourTo24Hour(this.state.endHour+":"+this.state.endMinute+" "+t));var i=this.state.date,r=new Date(i);r.setHours("12-hour"===A.a.timeFormat?n[0]:this.state.startHour),r.setMinutes("12-hour"===A.a.timeFormat?n[1]:this.state.startMinute),r.setSeconds(0),r=A.a.fixHourDifference(r);var a=new Date(i);a.setHours("12-hour"===A.a.timeFormat?o[0]:this.state.endHour),a.setMinutes("12-hour"===A.a.timeFormat?o[1]:this.state.endMinute),a.setSeconds(0),a=A.a.fixHourDifference(a);var s={startDate:r.getTime()/1e3+1,endDate:a.getTime()/1e3,location:{address:this.state.location,type:this.state.locationType}};this.props.updateEvent(this.props.event._id,s)}}},{key:"validateForm",value:function(){var e={};if(this.state.date||(e.date=this.props.i18n.components.createMeetingForm.dateError),this.state.startHour||0===this.state.startHour||(e.startHour=this.props.i18n.components.createMeetingForm.startHourError),this.state.startMinute||0===this.state.startMinute||(e.startMinute=this.props.i18n.components.createMeetingForm.startMinuteError),this.state.endHour||0===this.state.endHour||(e.endHour=this.props.i18n.components.createMeetingForm.endHourError),this.state.endMinute||0===this.state.endMinute||(e.endMinute=this.props.i18n.components.createMeetingForm.endMinuteError),"custom"!==this.state.locationType||this.state.location||(e.customLocation=this.props.i18n.components.createMeetingForm.fillThisField),this.state.date){var t=this.state.date,n=new Date(t);n.setHours(this.state.startHour),n.setMinutes(this.state.startMinute),n.setSeconds(0);var o=new Date(t);o.setHours(this.state.endHour),o.setMinutes(this.state.endMinute),o.setSeconds(0),n>o&&(e.endHour=this.props.i18n.components.createMeetingForm.validTimeError)}return this.setState({errors:e}),0===Object.keys(e).length}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.hideDialog,r=t.commonStyle,a=t.isMobile,s=t.settings,l=t.minDate,u=t.maxDate,d=t.error,f=t.isZoomAuthenticated,g=t.isGoogleAuthenticated,v=t.isMicrosoftBusinessAuthenticated,_=n.components.createMeetingForm,w=[T(h.a,{label:n.buttonActions.cancel,onTouchTap:function(){return i()},disabled:this.props.isPending}),T(h.a,{secondary:!0,label:n.buttonActions.update,onTouchTap:function(){return e.onClickUpdate()},disabled:this.props.isPending})],P=[];if("12-hour"===A.a.timeFormat)for(var M=1;M<13;M++)P.push(M);else for(var O=0;O<24;O++)P.push(O);for(var E=[],I=0;I<60;I+=5)E.push(I);for(var N=[_.hourAmHint,_.hourPmHint],D=[],j=5;j<91;j+=5)D.push(j);for(var R=[],F=1;F<21;F+=1)R.push(F);var L="";return d&&(L=k.a.getErrorMessage(n,o,d)),T(p.a,{actions:w,open:this.props.isShown,autoScrollBodyContent:a,onRequestClose:function(){return e.props.hideDialog()},title:n.components.updateMeetingForm.title},void 0,T("div",{className:r.row,style:{margin:"0 -0.75rem"}},void 0,T("div",{className:c()(r.col,r.s12,r.centerAlign)},void 0,n.components.updateMeetingForm.description),T("div",{className:c()(r.col,r.s12,r.m6)},void 0,T(y.a,{autoOk:!0,fullWidth:!0,minDate:l,maxDate:u,value:this.state.date,disabled:this.props.isPending,errorText:this.state.errors.date,onChange:function(t,n){return e.setState({date:n})},floatingLabelText:_.date})),T("div",{className:c()(r.col,r.s12,r.m6)},void 0,T(b.a,{floatingLabelFixed:!0,style:{width:"12-hour"===A.a.timeFormat?"40%":"50%"},value:this.state.startHour,disabled:this.props.isPending,errorText:this.state.errors.startHour,hintText:_.hourHint,floatingLabelText:_.startHour,onChange:function(t,n,o){return e.setState({startHour:o})}},void 0,P.map(function(e){var t="12-hour"===A.a.timeFormat?("0"+e).slice(-2):e;return T(S.a,{value:t,primaryText:("0"+e).slice(-2)},t)})),T(b.a,{floatingLabelFixed:!0,floatingLabelText:" ",style:{width:"12-hour"===A.a.timeFormat?"30%":"50%"},value:this.state.startMinute,disabled:this.props.isPending,errorText:this.state.errors.startMinute,hintText:": "+_.minuteHint,onChange:function(t,n,o){return e.setState({startMinute:o})}},void 0,E.map(function(e){var t="12-hour"===A.a.timeFormat?("0"+e).slice(-2):e;return T(S.a,{value:t,label:": "+("0"+e).slice(-2),primaryText:("0"+e).slice(-2)},t)})),"12-hour"===A.a.timeFormat&&T(b.a,{floatingLabelFixed:!0,style:{width:"30%"},value:this.state.startHourZoneValue,disabled:this.props.isPending,hintText:""+n.components.createAvailabilityForm.hourAmHint,floatingLabelText:" ",onChange:function(t,n,o){return e.setState({startHourZoneValue:o})}},void 0,N.map(function(e){return T(S.a,{value:e,label:e,primaryText:e},e)}))),T("div",{className:c()(r.col,r.s12,r.m6)},void 0,T(b.a,{floatingLabelFixed:!0,style:{width:"12-hour"===A.a.timeFormat?"40%":"50%"},value:this.state.endHour,disabled:this.props.isPending,errorText:this.state.errors.endHour,hintText:_.hourHint,floatingLabelText:_.endHour,onChange:function(t,n,o){return e.setState({endHour:o})}},void 0,P.map(function(e){var t="12-hour"===A.a.timeFormat?("0"+e).slice(-2):e;return T(S.a,{value:t,primaryText:("0"+e).slice(-2)},t)})),T(b.a,{floatingLabelFixed:!0,floatingLabelText:" ",style:{width:"12-hour"===A.a.timeFormat?"30%":"50%"},value:this.state.endMinute,disabled:this.props.isPending,errorText:this.state.errors.endMinute,hintText:": "+_.minuteHint,onChange:function(t,n,o){return e.setState({endMinute:o})}},void 0,E.map(function(e){var t="12-hour"===A.a.timeFormat?("0"+e).slice(-2):e;return T(S.a,{value:t,label:": "+("0"+e).slice(-2),primaryText:("0"+e).slice(-2)},t)})),"12-hour"===A.a.timeFormat&&T(b.a,{floatingLabelFixed:!0,style:{width:"30%"},value:this.state.endHourZoneValue,disabled:this.props.isPending,hintText:""+n.components.createAvailabilityForm.hourAmHint,floatingLabelText:" ",onChange:function(t,n,o){return e.setState({endHourZoneValue:o})}},void 0,N.map(function(e){return T(S.a,{value:e,label:e,primaryText:e},e)}))),T("div",{className:c()(r.col,r.s12,r.m6)},void 0,T(b.a,{floatingLabelFixed:!0,style:{width:"100%"},value:this.state.locationType,disabled:this.props.isPending,errorText:this.state.errors.locationType,floatingLabelText:_.locationType,onChange:function(t,n,o){return e.setState({locationType:o,location:""})}},void 0,T(S.a,{value:"custom",primaryText:_.locationTypeCustom}),T(S.a,{value:"jitsi",primaryText:_.locationTypeJitsi}),T(S.a,{value:"zoom",primaryText:"Zoom "+(f?"":"("+_.accountNotConnected+")"),disabled:!f}),T(S.a,{value:"google",primaryText:"Google Meet "+(g?"":"("+_.accountNotConnected+")"),disabled:!g}),T(S.a,{value:"microsoftbusiness",primaryText:"Microsoft Teams "+(v?"":"("+_.accountNotConnected+")"),disabled:!v}))),T("div",{className:c()(r.col,r.s12,r.m6)},void 0,T(m.a,{id:"location",type:"text",fullWidth:!0,errorText:this.state.errors.customLocation,value:"custom"===this.state.locationType?this.state.location:_.locationAutomatic,disabled:this.props.isPending||"custom"!==this.state.locationType,floatingLabelText:_.location,onChange:function(t){return e.setState({location:t.target.value})}})),T("div",{className:c()(r.col,r.s12),style:{paddingTop:"2rem",fontSize:"0.8em"}},void 0,T(C.a,{to:"/settings/general"},void 0,"*",x.a.build(_.timeZoneMessage,{timeZone:T("b",{},void 0,s.timeZone)}))),L&&T("div",{className:c()(r.col,r.s12,r.centerAlign,r.error),style:{paddingTop:"2rem"}},void 0,L)))}}]),t}(s.a.Component);E.defaultProps={isPending:!1,isMeetingUpdated:!1,error:null,isZoomAuthenticated:!1,isGoogleAuthenticated:!1,isMicrosoftBusinessAuthenticated:!1,minDate:void 0,maxDate:void 0,meetingGoals:void 0,selectedMentees:void 0,selectedMeetingGoal:void 0};var I=function(e,t){var n=e.calendar.eventsBeingProcessed[t.event._id]||{isPending:!1,error:null};return{i18n:e.i18n,account:e.session.account,commonStyle:e.commonStyle,context:e.session.sContext,isMobile:e.runtime.isMobile,settings:e.session.settings,isZoomAuthenticated:M.a.isAuthPlatformConnected(e.session.authPlatforms,"zoom"),isGoogleAuthenticated:M.a.isAuthPlatformConnected(e.session.authPlatforms,"google"),isMicrosoftBusinessAuthenticated:M.a.isAuthPlatformConnected(e.session.authPlatforms,"microsoftbusiness"),isPending:n.isPending,error:n.error}},N={updateEvent:P.m};t.a=n.i(l.a)(I,N)(E)},function(e,t,n){"use strict";function o(e){var t=e.i18n,o=e.userStatuses,i=e.user,r=e.conversation,l=t.components.conversationSubTitle;switch(n.i(a.c)(o[i._id])){case"online":switch(r?n.i(a.b)(o[i._id],r._id):void 0){case"typing":return s("div",{style:d},void 0,p,l.userStatus.typing);default:return s("div",{style:d},void 0,f,l.userStatus.online)}default:return s("div",{style:d},void 0,m,l.userStatus.offline)}}var i=n(0),r=(n.n(i),n(52)),a=(n.n(r),n(146)),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u={width:"8px",height:"8px",borderRadius:"4px",marginRight:"4px",background:r.active,display:"inline-block",zIndex:1},c=l({},u,{background:r.gray500}),d={display:"flex",alignItems:"center"},p=s("div",{style:u}),f=s("div",{style:u}),m=s("div",{style:c});o.defaultProps={conversation:void 0},t.a=o},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(12),l=n.n(s),u=n(18),c=n.n(u),d=n(61),p=n.n(d),f=n(17),m=n.n(f),g=n(1452),h=n.n(g),v=n(1451),y=n.n(v),_=n(509),b=n.n(_),w=n(1453),S=n.n(w),x=n(1454),A=n.n(x),P=n(1456),C=n.n(P),k=n(1457),M=n.n(k),T=n(1462),O=n.n(T),E=n(1473),I=n.n(E),N=n(1472),D=n.n(N),j=n(1474),R=n.n(j),F=n(1475),L=n.n(F),U=n(0),B=n.n(U),Z=n(3),Y=n(64),G=n(356),H=n(15),W=n(16),z=n(1326),X=n.n(z),V=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),Q=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),q=V(L.a,{}),J=V(R.a,{}),K=V(D.a,{}),$=V(I.a,{}),ee=V(h.a,{}),te=V(y.a,{}),ne=V(b.a,{}),oe=V(S.a,{}),ie=V(C.a,{}),re=V(M.a,{}),ae=V(O.a,{}),se=V(A.a,{}),le=function(e){function t(){var e,n,o,a;i(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=o=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.state={isFullScreenOn:!1,isMicOn:!0,isScreenShareOn:!0,isVideoOn:!0},o.api=void 0,o.videoContainer=void 0,a=n,r(o,a)}return a(t,e),Q(t,[{key:"onHangUpClick",value:function(){this.props.setVideoUrl(),this.api&&(this.api.executeCommand("hangup"),this.api.dispose(),this.api=void 0),this.setState({isFullScreenOn:!1,isMicOn:!0,isScreenShareOn:!0,isVideoOn:!0})}},{key:"onToggleVideo",value:function(e){this.setState({isVideoOn:e}),this.api.executeCommand("toggleVideo")}},{key:"onToggleMic",value:function(e){this.setState({isMicOn:e}),this.api.executeCommand("toggleAudio")}},{key:"onToggleScreenShare",value:function(e){this.setState({isScreenShareOn:e}),this.api.executeCommand("toggleShareScreen")}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,i=t.account,r=t.videoCallUrl,a=t.minimized,s=t.isRightNavOpen,u=t.hasReadBrowserMessage,c=this.state,d=c.isFullScreenOn,f=c.isMicOn,g=c.isScreenShareOn,h=c.isVideoOn,v=n.components.videoCall;if(!u)return B.a.createElement("div",{className:l()(X.a.container,o({},X.a.onScreen,!!r),o({},X.a.pushedFromRight,s)),ref:function(t){e.videoContainer=t}},V("div",{className:X.a.messageContainer},void 0,V("div",{className:X.a.message},void 0,v.description.message),V(m.a,{label:v.description.start,secondary:!0,style:H.a.semiRoundedButtonContainer,buttonStyle:H.a.semiRoundedButton,labelStyle:H.a.semiRoundedButtonLabel,onClick:function(){return e.props.setHasReadBrowserMessageStatus(!0)}})));try{r&&!this.api&&this.videoContainer&&JitsiMeetExternalAPI&&(this.api=new JitsiMeetExternalAPI("meet.jit.si",{roomName:r,parentNode:this.videoContainer,configOverwrite:{getroomnode:function(){return r}},interfaceConfigOverwrite:{DEFAULT_REMOTE_DISPLAY_NAME:i.firstName+" "+i.lastName,DEFAULT_LOCAL_DISPLAY_NAME:i.firstName+" "+i.lastName,SHOW_JITSI_WATERMARK:!1,SHOW_WATERMARK_FOR_GUESTS:!1,TOOLBAR_BUTTONS:[],APP_NAME:"Mentornity",filmStripOnly:!1}}),this.api.executeCommand("displayName",i.firstName+" "+i.lastName),i.imageUrl&&this.api.executeCommand("avatarUrl",i.imageUrl))}catch(e){console.log(e)}return B.a.createElement("div",{className:l()(X.a.container,o({},X.a.onScreen,!!r),o({},X.a.minimized,a),o({},X.a.fullScreen,d),o({},X.a.pushedFromRight,s)),ref:function(t){e.videoContainer=t}},V("div",{className:l()(X.a.controls)},void 0,V("div",{},void 0,!d&&V(p.a,{tooltipPosition:"top-right",tooltip:!a&&n.components.videoCall.tooltips.minimize,onClick:function(){return e.props.setCallSize(!a)},iconStyle:{color:"white"}},void 0,a?q:J),!a&&V(p.a,{tooltipPosition:"top-right",tooltip:!a&&n.components.videoCall.tooltips.fullScreen,onClick:function(){return e.setState({isFullScreenOn:!d})},iconStyle:{color:"white"}},void 0,d?K:$)),V("div",{},void 0,V(p.a,{tooltipPosition:"top-center",tooltip:!a&&n.components.videoCall.tooltips.mic,onClick:function(){return e.onToggleMic(!f)},iconStyle:{color:"white"}},void 0,f?ee:te),V(p.a,{tooltipPosition:"top-center",tooltip:!a&&n.components.videoCall.tooltips.video,onClick:function(){return e.onToggleVideo(!h)},iconStyle:{color:"white"}},void 0,h?ne:oe),V(p.a,{tooltipPosition:"top-center",tooltip:!a&&n.components.videoCall.tooltips.screenShare,onClick:function(){return e.onToggleScreenShare(!g)},iconStyle:{color:"white"}},void 0,g?ie:re)),V("div",{},void 0,!a&&!d&&V(p.a,{tooltipPosition:"top-left",tooltip:!a&&n.components.videoCall.tooltips.link,iconStyle:{color:"white"},onClick:function(){return e.props.showMessageDialog(n.components.videoCall.copyLinkDialog.title,V("div",{style:{color:"#333"},dangerouslySetInnerHTML:{__html:W.a.build(n.components.videoCall.copyLinkDialog.description,{url:"https://meet.jit.si/"+r}).join("")}}),n.buttonActions.ok,function(){return e.props.hideDialog()})}},void 0,ae),V(p.a,{tooltipPosition:"top-left",tooltip:!a&&n.components.videoCall.tooltips.hangup,onClick:function(){return e.onHangUpClick()},style:{background:"red",borderRadius:"50%"},iconStyle:{color:"white"}},void 0,se))))}}]),t}(B.a.Component);le.defaultProps={isRightNavOpen:void 0,videoCallUrl:void 0};var ue=function(e){return{i18n:e.i18n,account:e.session.account,videoCallUrl:e.videoCall.videoCallUrl,minimized:e.videoCall.minimized,hasReadBrowserMessage:e.videoCall.hasReadBrowserMessage,isMobile:e.runtime.isMobile,isRightNavOpen:e.nav.isRightNavOpen}},ce={setVideoUrl:G.a,setCallSize:G.b,hideDialog:Y.a,showMessageDialog:Y.b,setHasReadBrowserMessageStatus:G.c};t.a=n.i(Z.a)(ue,ce)(c()(X.a)(le))},function(e,t,n){"use strict";t.a=[{group:"US (Common)",zones:[{value:"America/Puerto_Rico",name:"Puerto Rico (Atlantic)"},{value:"America/New_York",name:"New York (Eastern)"},{value:"America/Chicago",name:"Chicago (Central)"},{value:"America/Denver",name:"Denver (Mountain)"},{value:"America/Phoenix",name:"Phoenix (MST)"},{value:"America/Los_Angeles",name:"Los Angeles (Pacific)"},{value:"America/Anchorage",name:"Anchorage (Alaska)"},{value:"Pacific/Honolulu",name:"Honolulu (Hawaii)"}]},{group:"America",zones:[{value:"America/Adak",name:"Adak"},{value:"America/Anchorage",name:"Anchorage"},{value:"America/Anguilla",name:"Anguilla"},{value:"America/Antigua",name:"Antigua"},{value:"America/Araguaina",name:"Araguaina"},{value:"America/Argentina/Buenos_Aires",name:"Argentina - Buenos Aires"},{value:"America/Argentina/Catamarca",name:"Argentina - Catamarca"},{value:"America/Argentina/ComodRivadavia",name:"Argentina - ComodRivadavia"},{value:"America/Argentina/Cordoba",name:"Argentina - Cordoba"},{value:"America/Argentina/Jujuy",name:"Argentina - Jujuy"},{value:"America/Argentina/La_Rioja",name:"Argentina - La Rioja"},{value:"America/Argentina/Mendoza",name:"Argentina - Mendoza"},{value:"America/Argentina/Rio_Gallegos",name:"Argentina - Rio Gallegos"},{value:"America/Argentina/Salta",name:"Argentina - Salta"},{value:"America/Argentina/San_Juan",name:"Argentina - San Juan"},{value:"America/Argentina/San_Luis",name:"Argentina - San Luis"},{value:"America/Argentina/Tucuman",name:"Argentina - Tucuman"},{value:"America/Argentina/Ushuaia",name:"Argentina - Ushuaia"},{value:"America/Aruba",name:"Aruba"},{value:"America/Asuncion",name:"Asuncion"},{value:"America/Atikokan",name:"Atikokan"},{value:"America/Atka",name:"Atka"},{value:"America/Bahia",name:"Bahia"},{value:"America/Barbados",name:"Barbados"},{value:"America/Belem",name:"Belem"},{value:"America/Belize",name:"Belize"},{value:"America/Blanc-Sablon",name:"Blanc-Sablon"},{value:"America/Boa_Vista",name:"Boa Vista"},{value:"America/Bogota",name:"Bogota"},{value:"America/Boise",name:"Boise"},{value:"America/Buenos_Aires",name:"Buenos Aires"},{value:"America/Cambridge_Bay",name:"Cambridge Bay"},{value:"America/Campo_Grande",name:"Campo Grande"},{value:"America/Cancun",name:"Cancun"},{value:"America/Caracas",name:"Caracas"},{value:"America/Catamarca",name:"Catamarca"},{value:"America/Cayenne",name:"Cayenne"},{value:"America/Cayman",name:"Cayman"},{value:"America/Chicago",name:"Chicago"},{value:"America/Chihuahua",name:"Chihuahua"},{value:"America/Coral_Harbour",name:"Coral Harbour"},{value:"America/Cordoba",name:"Cordoba"},{value:"America/Costa_Rica",name:"Costa Rica"},{value:"America/Cuiaba",name:"Cuiaba"},{value:"America/Curacao",name:"Curacao"},{value:"America/Danmarkshavn",name:"Danmarkshavn"},{value:"America/Dawson",name:"Dawson"},{value:"America/Dawson_Creek",name:"Dawson Creek"},{value:"America/Denver",name:"Denver"},{value:"America/Detroit",name:"Detroit"},{value:"America/Dominica",name:"Dominica"},{value:"America/Edmonton",name:"Edmonton"},{value:"America/Eirunepe",name:"Eirunepe"},{value:"America/El_Salvador",name:"El Salvador"},{value:"America/Ensenada",name:"Ensenada"},{value:"America/Fortaleza",name:"Fortaleza"},{value:"America/Fort_Wayne",name:"Fort Wayne"},{value:"America/Glace_Bay",name:"Glace Bay"},{value:"America/Godthab",name:"Godthab"},{value:"America/Goose_Bay",name:"Goose Bay"},{value:"America/Grand_Turk",name:"Grand Turk"},{value:"America/Grenada",name:"Grenada"},{value:"America/Guadeloupe",name:"Guadeloupe"},{value:"America/Guatemala",name:"Guatemala"},{value:"America/Guayaquil",name:"Guayaquil"},{value:"America/Guyana",name:"Guyana"},{value:"America/Halifax",name:"Halifax"},{value:"America/Havana",name:"Havana"},{value:"America/Hermosillo",name:"Hermosillo"},{value:"America/Indiana/Indianapolis",name:"Indiana - Indianapolis"},{value:"America/Indiana/Knox",name:"Indiana - Knox"},{value:"America/Indiana/Marengo",name:"Indiana - Marengo"},{value:"America/Indiana/Petersburg",name:"Indiana - Petersburg"},{value:"America/Indiana/Tell_City",name:"Indiana - Tell City"},{value:"America/Indiana/Vevay",name:"Indiana - Vevay"},{value:"America/Indiana/Vincennes",name:"Indiana - Vincennes"},{value:"America/Indiana/Winamac",name:"Indiana - Winamac"},{value:"America/Indianapolis",name:"Indianapolis"},{value:"America/Inuvik",name:"Inuvik"},{value:"America/Iqaluit",name:"Iqaluit"},{value:"America/Jamaica",name:"Jamaica"},{value:"America/Jujuy",name:"Jujuy"},{value:"America/Juneau",name:"Juneau"},{value:"America/Kentucky/Louisville",name:"Kentucky - Louisville"},{value:"America/Kentucky/Monticello",name:"Kentucky - Monticello"},{value:"America/Knox_IN",name:"Knox IN"},{value:"America/La_Paz",name:"La Paz"},{value:"America/Lima",name:"Lima"},{value:"America/Los_Angeles",name:"Los Angeles"},{value:"America/Louisville",name:"Louisville"},{value:"America/Maceio",name:"Maceio"},{value:"America/Managua",name:"Managua"},{value:"America/Manaus",name:"Manaus"},{value:"America/Marigot",name:"Marigot"},{value:"America/Martinique",name:"Martinique"},{value:"America/Matamoros",name:"Matamoros"},{value:"America/Mazatlan",name:"Mazatlan"},{value:"America/Mendoza",name:"Mendoza"},{value:"America/Menominee",name:"Menominee"},{value:"America/Merida",name:"Merida"},{value:"America/Mexico_City",name:"Mexico City"},{value:"America/Miquelon",name:"Miquelon"},{value:"America/Moncton",name:"Moncton"},{value:"America/Monterrey",name:"Monterrey"},{value:"America/Montevideo",name:"Montevideo"},{value:"America/Montreal",name:"Montreal"},{value:"America/Montserrat",name:"Montserrat"},{value:"America/Nassau",name:"Nassau"},{value:"America/New_York",name:"New York"},{value:"America/Nipigon",name:"Nipigon"},{value:"America/Nome",name:"Nome"},{value:"America/Noronha",name:"Noronha"},{value:"America/North_Dakota/Center",name:"North Dakota - Center"},{value:"America/North_Dakota/New_Salem",name:"North Dakota - New Salem"},{value:"America/Ojinaga",name:"Ojinaga"},{value:"America/Panama",name:"Panama"},{value:"America/Pangnirtung",name:"Pangnirtung"},{value:"America/Paramaribo",name:"Paramaribo"},{value:"America/Phoenix",name:"Phoenix"},{value:"America/Port-au-Prince",name:"Port-au-Prince"},{value:"America/Porto_Acre",name:"Porto Acre"},{value:"America/Port_of_Spain",name:"Port of Spain"},{value:"America/Porto_Velho",name:"Porto Velho"},{value:"America/Puerto_Rico",name:"Puerto Rico"},{value:"America/Rainy_River",name:"Rainy River"},{value:"America/Rankin_Inlet",name:"Rankin Inlet"},{value:"America/Recife",name:"Recife"},{value:"America/Regina",name:"Regina"},{value:"America/Resolute",name:"Resolute"},{value:"America/Rio_Branco",name:"Rio Branco"},{value:"America/Rosario",name:"Rosario"},{value:"America/Santa_Isabel",name:"Santa Isabel"},{value:"America/Santarem",name:"Santarem"},{value:"America/Santiago",name:"Santiago"},{value:"America/Santo_Domingo",name:"Santo Domingo"},{value:"America/Sao_Paulo",name:"Sao Paulo"},{value:"America/Scoresbysund",name:"Scoresbysund"},{value:"America/Shiprock",name:"Shiprock"},{value:"America/St_Barthelemy",name:"St Barthelemy"},{value:"America/St_Johns",name:"St Johns"},{value:"America/St_Kitts",name:"St Kitts"},{value:"America/St_Lucia",name:"St Lucia"},{value:"America/St_Thomas",name:"St Thomas"},{value:"America/St_Vincent",name:"St Vincent"},{value:"America/Swift_Current",name:"Swift Current"},{value:"America/Tegucigalpa",name:"Tegucigalpa"},{value:"America/Thule",name:"Thule"},{value:"America/Thunder_Bay",name:"Thunder Bay"},{value:"America/Tijuana",name:"Tijuana"},{value:"America/Toronto",name:"Toronto"},{value:"America/Tortola",name:"Tortola"},{value:"America/Vancouver",name:"Vancouver"},{value:"America/Virgin",name:"Virgin"},{value:"America/Whitehorse",name:"Whitehorse"},{value:"America/Winnipeg",name:"Winnipeg"},{value:"America/Yakutat",name:"Yakutat"},{value:"America/Yellowknife",name:"Yellowknife"}]},{group:"Europe",zones:[{value:"Europe/Amsterdam",name:"Amsterdam"},{value:"Europe/Andorra",name:"Andorra"},{value:"Europe/Athens",name:"Athens"},{value:"Europe/Belfast",name:"Belfast"},{value:"Europe/Belgrade",name:"Belgrade"},{value:"Europe/Berlin",name:"Berlin"},{value:"Europe/Bratislava",name:"Bratislava"},{value:"Europe/Brussels",name:"Brussels"},{value:"Europe/Bucharest",name:"Bucharest"},{value:"Europe/Budapest",name:"Budapest"},{value:"Europe/Chisinau",name:"Chisinau"},{value:"Europe/Copenhagen",name:"Copenhagen"},{value:"Europe/Dublin",name:"Dublin"},{value:"Europe/Gibraltar",name:"Gibraltar"},{value:"Europe/Guernsey",name:"Guernsey"},{value:"Europe/Helsinki",name:"Helsinki"},{value:"Europe/Isle_of_Man",name:"Isle of Man"},{value:"Europe/Istanbul",name:"Istanbul"},{value:"Europe/Jersey",name:"Jersey"},{value:"Europe/Kaliningrad",name:"Kaliningrad"},{value:"Europe/Kiev",name:"Kiev"},{value:"Europe/Lisbon",name:"Lisbon"},{value:"Europe/Ljubljana",name:"Ljubljana"},{value:"Europe/London",name:"London"},{value:"Europe/Luxembourg",name:"Luxembourg"},{value:"Europe/Madrid",name:"Madrid"},{value:"Europe/Malta",name:"Malta"},{value:"Europe/Mariehamn",name:"Mariehamn"},{value:"Europe/Minsk",name:"Minsk"},{value:"Europe/Monaco",name:"Monaco"},{value:"Europe/Moscow",name:"Moscow"},{value:"Europe/Nicosia",name:"Nicosia"},{value:"Europe/Oslo",name:"Oslo"},{value:"Europe/Paris",name:"Paris"},{value:"Europe/Podgorica",name:"Podgorica"},{value:"Europe/Prague",name:"Prague"},{value:"Europe/Riga",name:"Riga"},{value:"Europe/Rome",name:"Rome"},{value:"Europe/Samara",name:"Samara"},{value:"Europe/San_Marino",name:"San Marino"},{value:"Europe/Sarajevo",name:"Sarajevo"},{value:"Europe/Simferopol",name:"Simferopol"},{value:"Europe/Skopje",name:"Skopje"},{value:"Europe/Sofia",name:"Sofia"},{value:"Europe/Stockholm",name:"Stockholm"},{value:"Europe/Tallinn",name:"Tallinn"},{value:"Europe/Tirane",name:"Tirane"},{value:"Europe/Tiraspol",name:"Tiraspol"},{value:"Europe/Uzhgorod",name:"Uzhgorod"},{value:"Europe/Vaduz",name:"Vaduz"},{value:"Europe/Vatican",name:"Vatican"},{value:"Europe/Vienna",name:"Vienna"},{value:"Europe/Vilnius",name:"Vilnius"},{value:"Europe/Volgograd",name:"Volgograd"},{value:"Europe/Warsaw",name:"Warsaw"},{value:"Europe/Zagreb",name:"Zagreb"},{value:"Europe/Zaporozhye",name:"Zaporozhye"},{value:"Europe/Zurich",name:"Zurich"}]},{group:"Asia",zones:[{value:"Asia/Aden",name:"Aden"},{value:"Asia/Almaty",name:"Almaty"},{value:"Asia/Amman",name:"Amman"},{value:"Asia/Anadyr",name:"Anadyr"},{value:"Asia/Aqtau",name:"Aqtau"},{value:"Asia/Aqtobe",name:"Aqtobe"},{value:"Asia/Ashgabat",name:"Ashgabat"},{value:"Asia/Ashkhabad",name:"Ashkhabad"},{value:"Asia/Baghdad",name:"Baghdad"},{value:"Asia/Bahrain",name:"Bahrain"},{value:"Asia/Baku",name:"Baku"},{value:"Asia/Bangkok",name:"Bangkok"},{value:"Asia/Beirut",name:"Beirut"},{value:"Asia/Bishkek",name:"Bishkek"},{value:"Asia/Brunei",name:"Brunei"},{value:"Asia/Calcutta",name:"Calcutta"},{value:"Asia/Choibalsan",name:"Choibalsan"},{value:"Asia/Chongqing",name:"Chongqing"},{value:"Asia/Chungking",name:"Chungking"},{value:"Asia/Colombo",name:"Colombo"},{value:"Asia/Dacca",name:"Dacca"},{value:"Asia/Damascus",name:"Damascus"},{value:"Asia/Dhaka",name:"Dhaka"},{value:"Asia/Dili",name:"Dili"},{value:"Asia/Dubai",name:"Dubai"},{value:"Asia/Dushanbe",name:"Dushanbe"},{value:"Asia/Gaza",name:"Gaza"},{value:"Asia/Harbin",name:"Harbin"},{value:"Asia/Ho_Chi_Minh",name:"Ho Chi Minh"},{value:"Asia/Hong_Kong",name:"Hong Kong"},{value:"Asia/Hovd",name:"Hovd"},{value:"Asia/Irkutsk",name:"Irkutsk"},{value:"Asia/Istanbul",name:"Istanbul"},{value:"Asia/Jakarta",name:"Jakarta"},{value:"Asia/Jayapura",name:"Jayapura"},{value:"Asia/Jerusalem",name:"Jerusalem"},{value:"Asia/Kabul",name:"Kabul"},{value:"Asia/Kamchatka",name:"Kamchatka"},{value:"Asia/Karachi",name:"Karachi"},{value:"Asia/Kashgar",name:"Kashgar"},{value:"Asia/Kathmandu",name:"Kathmandu"},{value:"Asia/Katmandu",name:"Katmandu"},{value:"Asia/Kolkata",name:"Kolkata"},{value:"Asia/Krasnoyarsk",name:"Krasnoyarsk"},{value:"Asia/Kuala_Lumpur",name:"Kuala Lumpur"},{value:"Asia/Kuching",name:"Kuching"},{value:"Asia/Kuwait",name:"Kuwait"},{value:"Asia/Macao",name:"Macao"},{value:"Asia/Macau",name:"Macau"},{value:"Asia/Magadan",name:"Magadan"},{value:"Asia/Makassar",name:"Makassar"},{value:"Asia/Manila",name:"Manila"},{value:"Asia/Muscat",name:"Muscat"},{value:"Asia/Nicosia",name:"Nicosia"},{value:"Asia/Novokuznetsk",name:"Novokuznetsk"},{value:"Asia/Novosibirsk",name:"Novosibirsk"},{value:"Asia/Omsk",name:"Omsk"},{value:"Asia/Oral",name:"Oral"},{value:"Asia/Phnom_Penh",name:"Phnom Penh"},{value:"Asia/Pontianak",name:"Pontianak"},{value:"Asia/Pyongyang",name:"Pyongyang"},{value:"Asia/Qatar",name:"Qatar"},{value:"Asia/Qyzylorda",name:"Qyzylorda"},{value:"Asia/Rangoon",name:"Rangoon"},{value:"Asia/Riyadh",name:"Riyadh"},{value:"Asia/Saigon",name:"Saigon"},{value:"Asia/Sakhalin",name:"Sakhalin"},{value:"Asia/Samarkand",name:"Samarkand"},{value:"Asia/Seoul",name:"Seoul"},{value:"Asia/Shanghai",name:"Shanghai"},{value:"Asia/Singapore",name:"Singapore"},{value:"Asia/Taipei",name:"Taipei"},{value:"Asia/Tashkent",name:"Tashkent"},{value:"Asia/Tbilisi",name:"Tbilisi"},{value:"Asia/Tehran",name:"Tehran"},{value:"Asia/Tel_Aviv",name:"Tel Aviv"},{value:"Asia/Thimbu",name:"Thimbu"},{value:"Asia/Thimphu",name:"Thimphu"},{value:"Asia/Tokyo",name:"Tokyo"},{value:"Asia/Ujung_Pandang",name:"Ujung Pandang"},{value:"Asia/Ulaanbaatar",name:"Ulaanbaatar"},{value:"Asia/Ulan_Bator",name:"Ulan Bator"},{value:"Asia/Urumqi",name:"Urumqi"},{value:"Asia/Vientiane",name:"Vientiane"},{value:"Asia/Vladivostok",name:"Vladivostok"},{value:"Asia/Yakutsk",name:"Yakutsk"},{value:"Asia/Yekaterinburg",name:"Yekaterinburg"},{value:"Asia/Yerevan",name:"Yerevan"}]},{group:"Africa",zones:[{value:"Africa/Abidjan",name:"Abidjan"},{value:"Africa/Accra",name:"Accra"},{value:"Africa/Addis_Ababa",name:"Addis Ababa"},{value:"Africa/Algiers",name:"Algiers"},{value:"Africa/Asmara",name:"Asmara"},{value:"Africa/Asmera",name:"Asmera"},{value:"Africa/Bamako",name:"Bamako"},{value:"Africa/Bangui",name:"Bangui"},{value:"Africa/Banjul",name:"Banjul"},{value:"Africa/Bissau",name:"Bissau"},{value:"Africa/Blantyre",name:"Blantyre"},{value:"Africa/Brazzaville",name:"Brazzaville"},{value:"Africa/Bujumbura",name:"Bujumbura"},{value:"Africa/Cairo",name:"Cairo"},{value:"Africa/Casablanca",name:"Casablanca"},{value:"Africa/Ceuta",name:"Ceuta"},{value:"Africa/Conakry",name:"Conakry"},{value:"Africa/Dakar",name:"Dakar"},{value:"Africa/Dar_es_Salaam",name:"Dar es Salaam"},{value:"Africa/Djibouti",name:"Djibouti"},{value:"Africa/Douala",name:"Douala"},{value:"Africa/El_Aaiun",name:"El Aaiun"},{value:"Africa/Freetown",name:"Freetown"},{value:"Africa/Gaborone",name:"Gaborone"},{value:"Africa/Harare",name:"Harare"},{value:"Africa/Johannesburg",name:"Johannesburg"},{value:"Africa/Kampala",name:"Kampala"},{value:"Africa/Khartoum",name:"Khartoum"},{value:"Africa/Kigali",name:"Kigali - Central Africa Time"},{value:"Africa/Kinshasa",name:"Kinshasa"},{value:"Africa/Lagos",name:"Lagos"},{value:"Africa/Libreville",name:"Libreville"},{value:"Africa/Lome",name:"Lome"},{value:"Africa/Luanda",name:"Luanda"},{value:"Africa/Lubumbashi",name:"Lubumbashi"},{value:"Africa/Lusaka",name:"Lusaka"},{value:"Africa/Malabo",name:"Malabo"},{value:"Africa/Maputo",name:"Maputo"},{value:"Africa/Maseru",name:"Maseru"},{value:"Africa/Mbabane",name:"Mbabane"},{value:"Africa/Mogadishu",name:"Mogadishu"},{value:"Africa/Monrovia",name:"Monrovia"},{value:"Africa/Nairobi",name:"Nairobi - Eastern Africa Time"},{value:"Africa/Ndjamena",name:"Ndjamena"},{value:"Africa/Niamey",name:"Niamey"},{value:"Africa/Nouakchott",name:"Nouakchott"},{value:"Africa/Ouagadougou",name:"Ouagadougou"},{value:"Africa/Porto-Novo",name:"Porto-Novo"},{value:"Africa/Sao_Tome",name:"Sao Tome"},{value:"Africa/Timbuktu",name:"Timbuktu"},{value:"Africa/Tripoli",name:"Tripoli"},{value:"Africa/Tunis",name:"Tunis"},{value:"Africa/Windhoek",name:"Windhoek"}]},{group:"Australia",zones:[{value:"Australia/ACT",name:"ACT"},{value:"Australia/Adelaide",name:"Adelaide"},{value:"Australia/Brisbane",name:"Brisbane"},{value:"Australia/Broken_Hill",name:"Broken Hill"},{value:"Australia/Canberra",name:"Canberra"},{value:"Australia/Currie",name:"Currie"},{value:"Australia/Darwin",name:"Darwin"},{value:"Australia/Eucla",name:"Eucla"},{value:"Australia/Hobart",name:"Hobart"},{value:"Australia/LHI",name:"LHI"},{value:"Australia/Lindeman",name:"Lindeman"},{value:"Australia/Lord_Howe",name:"Lord Howe"},{value:"Australia/Melbourne",name:"Melbourne"},{value:"Australia/North",name:"North"},{value:"Australia/NSW",name:"NSW"},{value:"Australia/Perth",name:"Perth"},{value:"Australia/Queensland",name:"Queensland"},{value:"Australia/South",name:"South"},{value:"Australia/Sydney",name:"Sydney"},{value:"Australia/Tasmania",name:"Tasmania"},{value:"Australia/Victoria",name:"Victoria"},{value:"Australia/West",name:"West"},{value:"Australia/Yancowinna",name:"Yancowinna"}]},{group:"Indian",zones:[{value:"Indian/Antananarivo",name:"Antananarivo"},{value:"Indian/Chagos",name:"Chagos"},{value:"Indian/Christmas",name:"Christmas"},{value:"Indian/Cocos",name:"Cocos"},{value:"Indian/Comoro",name:"Comoro"},{value:"Indian/Kerguelen",name:"Kerguelen"},{value:"Indian/Mahe",name:"Mahe"},{value:"Indian/Maldives",name:"Maldives"},{value:"Indian/Mauritius",name:"Mauritius"},{value:"Indian/Mayotte",name:"Mayotte"},{value:"Indian/Reunion",name:"Reunion"}]},{group:"Atlantic",zones:[{value:"Atlantic/Azores",name:"Azores"},{value:"Atlantic/Bermuda",name:"Bermuda"},{value:"Atlantic/Canary",name:"Canary"},{value:"Atlantic/Cape_Verde",name:"Cape Verde"},{value:"Atlantic/Faeroe",name:"Faeroe"},{value:"Atlantic/Faroe",name:"Faroe"},{value:"Atlantic/Jan_Mayen",name:"Jan Mayen"},{value:"Atlantic/Madeira",name:"Madeira"},{value:"Atlantic/Reykjavik",name:"Reykjavik"},{value:"Atlantic/South_Georgia",name:"South Georgia"},{value:"Atlantic/Stanley",name:"Stanley"},{value:"Atlantic/St_Helena",name:"St Helena"}]},{group:"Pacific",zones:[{value:"Pacific/Apia",name:"Apia"},{value:"Pacific/Auckland",name:"Auckland"},{value:"Pacific/Chatham",name:"Chatham"},{value:"Pacific/Easter",name:"Easter"},{value:"Pacific/Efate",name:"Efate"},{value:"Pacific/Enderbury",name:"Enderbury"},{value:"Pacific/Fakaofo",name:"Fakaofo"},{value:"Pacific/Fiji",name:"Fiji"},{value:"Pacific/Funafuti",name:"Funafuti"},{value:"Pacific/Galapagos",name:"Galapagos"},{value:"Pacific/Gambier",name:"Gambier"},{value:"Pacific/Guadalcanal",name:"Guadalcanal"},{value:"Pacific/Guam",name:"Guam"},{value:"Pacific/Honolulu",name:"Honolulu"},{value:"Pacific/Johnston",name:"Johnston"},{value:"Pacific/Kiritimati",name:"Kiritimati"},{value:"Pacific/Kosrae",name:"Kosrae"},{value:"Pacific/Kwajalein",name:"Kwajalein"},{value:"Pacific/Majuro",name:"Majuro"},{value:"Pacific/Marquesas",name:"Marquesas"},{value:"Pacific/Midway",name:"Midway"},{value:"Pacific/Nauru",name:"Nauru"},{value:"Pacific/Niue",name:"Niue"},{value:"Pacific/Norfolk",name:"Norfolk"},{value:"Pacific/Noumea",name:"Noumea"},{value:"Pacific/Pago_Pago",name:"Pago Pago"},{value:"Pacific/Palau",name:"Palau"},{value:"Pacific/Pitcairn",name:"Pitcairn"},{value:"Pacific/Ponape",name:"Ponape"},{value:"Pacific/Port_Moresby",name:"Port Moresby"},{value:"Pacific/Rarotonga",name:"Rarotonga"},{value:"Pacific/Saipan",name:"Saipan"},{value:"Pacific/Samoa",name:"Samoa"},{value:"Pacific/Tahiti",name:"Tahiti"},{value:"Pacific/Tarawa",name:"Tarawa"},{value:"Pacific/Tongatapu",name:"Tongatapu"},{value:"Pacific/Truk",name:"Truk"},{value:"Pacific/Wake",name:"Wake"},{value:"Pacific/Wallis",name:"Wallis"},{value:"Pacific/Yap",name:"Yap"}]},{group:"Antarctica",zones:[{value:"Antarctica/Casey",name:"Casey"},{value:"Antarctica/Davis",name:"Davis"},{value:"Antarctica/DumontDUrville",name:"DumontDUrville"},{value:"Antarctica/Macquarie",name:"Macquarie"},{value:"Antarctica/Mawson",name:"Mawson"},{value:"Antarctica/McMurdo",name:"McMurdo"},{value:"Antarctica/Palmer",name:"Palmer"},{value:"Antarctica/Rothera",name:"Rothera"},{value:"Antarctica/South_Pole",name:"South Pole"},{value:"Antarctica/Syowa",name:"Syowa"},{value:"Antarctica/Vostok",name:"Vostok"}]},{group:"Arctic",zones:[{value:"Arctic/Longyearbyen",name:"Longyearbyen"}]}]},function(e,t,n){"use strict";var o={leftNavWidth:290,rightNavWidth:320};t.a=o},function(e,t,n){"use strict";t.a={connection:"TypeError: Failed to fetch"}},function(e,t,n){"use strict";t.a={ituSeedLogoUrl:"",buttonActions:{myPrograms:"My Programs",login:"LOGIN",retry:"TRY AGAIN",save:"SAVE",cancel:"CANCEL",uploadImage:"Upload Image",ok:"OK",delete:"DELETE",createGroup:"CREATE GROUP",skip:"SKIP",next:"NEXT",saveAndNext:"SAVE AND CONTINUE",finish:"FINISH",apply:"APPLY",goToMeeting:"MEETING PAGE >",follow:"FOLLOW",following:"FOLLOWING",howItWorks:"HOW IT WORKS >",references:"CASE STUDIES",explorePrograms:"EXPLORE PROGRAMS",demo:"REQUEST A DEMO",allRecommendations:"SHOW ALL",send:"SEND",sendMessage:"SEND MESSAGE",seeOlderMessages:"SEE OLDER MESSAGES",select:"SELECT",selected:"SELECTED",request:"SEND REQUEST",requested:"REQUEST SENT",agree:"AGREE",update:"UPDATE",edit:"EDIT",close:"CLOSE"},formHints:{email:"Email",password:"Password",note:"Add note",fullName:"Full Name",firstName:"First Name",lastName:"Last Name",bio:"Bio",webSiteUrl:"Your Website",title:"Your Title",twitterUrl:"Twitter Link",facebookUrl:"Facebook Link",linkedInUrl:"LinkedIn Link",videoUrl:"Paste A Youtube Video Link To Play On Your Profile.",phone:"Phone",phoneWithCode:"Phone (With country code: Ex: +1888 ...)",skype:"Skype",message:"Your message..."},formErrors:{email:"Email is not a valid email",password:"Password must contain at least six letters",passwordsNotMatching:"New passwords doesn't match",existingPasswordNotValid:"Current password is not valid",firstName:"Name is not valid",lastName:"Surname is not valid",role:"Select user role",note:"Note is not valid",unexpectedError:"Unexpected error occured."},components:{welcomeStepper:{welcomeTitle:"Welcome!",defaultWelcomeMessageMenteeIndividual:"Hello! Welcome to |organisation|. \n\nWe are so excited to make your processes easy and enjoyable. Please complete your profile to use the platform effective.",defaultWelcomeMessageMenteeGrouped:"Hello! Welcome to |organisation|. \n\nWe are so excited to make your processes easy and enjoyable. Please complete your profile to use the platform effective.",defaultWelcomeMessageMentor:"Hello! Welcome to |organisation|. \n\nWe are so excited to make your processes easy and enjoyable. Please complete your mentee profile to use the platform effective.",profileInfoTitle:"Profile Info",metadataInfoTitle:"Additional Info (Required by |organisation|)",mentorshipInfoTitle:"Mentorship Info",availabilityInfoTitle:"Time Slots",groupInfoTitle:"Group Info",groupSkipNote:"If other team members are creating the Startup and will add you, skip this step.",generalSettings:"General Settings",finishTitle:"Thanks!",finishMessage:"Congratulations! You have completed the onboarding steps.\n\nPlease contact your program administrators about next steps and these platform features : * Scheduling A Meeting, * Direct Messages, * Meeting Notes, * Matching, * Searching \n\nYou may connect your Google or Outlook calendar to sync your meetings. (Right menu > Account Settings) \n\nPlease set your time zone for your location. (Right menu > General Settings) \n\nGood Luck!"},organisationInfo:{welcomeTitle:" Welcome to |organisation|!",agreementTitle:"|organisation| Terms"},organisationMenu:{roles:{mentee:"Mentee",mentor:"Mentor"},addAvailability:"ADD TIME SLOTS",createMeeting:"CREATE MEETING"},profileInfo:{emptyMessage:"No additional info found.",editMetadata:"Edit your additional info required by the organization"},myPrograms:{loginAs:"Login as |role|"},timeZoneDialog:{timeZoneChanged:"Your time zone has changed since the last time you logged in.",changeTimeZone:"Would you like to switch your time zone from |oldTimeZone| to |newTimeZone| ?",yesSwitch:"YES, SWITCH TO |newTimeZone|",noKeep:"NO, KEEP ON |oldTimeZone|"},availabilityTable:{noAvailability:"Mentor has not added a time slot yet.",noAvailabilityOwn:"You have no available time slots.",createAvailability:"ADD TIME SLOTS",createMeeting:"CREATE MEETING",sureToDeleteAvailabilityTitle:"Deleting availability",sureToDeleteAvailability:"Are you sure to delete these time slots?",eventsNeedToBeCanceledForDelete:"All meetings in the time slots must be canceled in order to delete the whole time slot group.",sendMessageToMentor:"Send message to mentor"},timeSlot:{confirmationDialogTitle:"Creating meeting",confirmationDialogContent:"Are you sure to create meeting with |mentor| on |date|?",createMeeting:"Create meeting",createMeetingFailedTitle:"Meeting couldn't be created",creatingMeetingFailed:"Unexpected error occurred.",conflictWithMentorCalendar:"Mentor has another meeting at selected time.",conflictWithMentorAnotherCalendar:"Mentor has another meeting at selected time on an another calendar on connected social accounts.",conflictWithMenteeCalendar:"Mentee has another meeting at selected time.",conflictWithMenteeAnotherCalendar:"Mentee has another meeting at selected time on an another calendar on connected social accounts.",conflictWithAccountCalendar:"You have another meeting at selected time.",conflictingAvailabiltityWithAccountCalendar:"You have another availability at selected time.",conflictWithAccountGoogleCalendar:"You have another meeting at selected time on your Google calendar.",conflictWithAccountMicrosoftCalendar:"You have another meeting at selected time on your Microsoft calendar.",maxMeetingLimitForDayReached:"You can get maximum one meeting from the same mentor in one day.",maxMeetingLimitForWeekReached:"You have reached to your weekly meeting limit.",maxMeetingLimitForWeekPerSuiteReached:"You have reached to your weekly meeting limit with the same suite.",alreadyHaveMeetingForSameGoal:"Another meeting for this goal is already scheduled.",remainingTimeTooShort:"Meeting cannot be created because the remaining time is less than |hour| hours. Please contact to |organisation| administration.",takenSlot:"(Taken)",conflictWithMentorAvailabilities:"There is a conflict between selected time and your time slots.",zoomError:"Failed to generate Zoom video call."},meetingHistory:{emptyMessage:"Did you find any chance to meet? We could not find any record in your meeting history.",errorMessage:"Meeting list could not be fetched"},createNoteForm:{notePrivate:"NOT VISIBLE TO OTHER PARTICIPANTS",notePublic:"VISIBLE TO PARTICIPANTS OF THIS MEETING",deleteNoteTitle:"Are you sure to delete the note?",confirmDelete:"DELETE NOTE"},organisationCalendar:{weekEmpty:"No available time found in selected time period.",weekError:"An error occured while getting meeting and time slot info."},groupMemberList:{addMember:"Add Member",emptyMessage:"Group has no member yet."},confirmEventCancellationForm:{title:"Are you sure to cancel the meeting?",notOccurredTitle:"Meeting did not occur notification",cancellationReason:"Type the cancellation reason (visible to other guests)",notOccurredReason:"Type the reason why the meeting did not occur (visible to other guests)",cancelMeeting:"Cancel The Meeting",problematicCancelMessage:"The meeting is canceled due to a reason. (Notifies the program team.)",last24hourError:"Meeting cannot be canceled because the remaining time is less than 24 hours. Please contact the organization administration."},confirmEventCreationWithGoalForm:{content:"Select a session to schedule a meeting for |mentor| on |date|.",placeholder:"Session",createMeeting:"Create Meeting",errors:{goalNotSelected:"Please select the session"},title:"Create meeting"},createMeetingForm:{title:"Create Meeting",date:"Date",hourHint:"HH",minuteHint:"MM",hourAmHint:"AM",hourPmHint:"PM",dateError:"Select a date.",locationType:"Video Call or Custom Location",locationTypeCustom:"Custom",locationTypeJitsi:"Jitsi Meet (Video Call)",accountNotConnected:"account not connected",startHour:"Start hour",startHourError:"Select start hour",startMinuteError:"Select start minute",endHour:"End hour",endHourError:"Select end hour",endMinuteError:"Select end minute",validTimeError:"End time cannot be before than start time.",location:"Location",locationAutomatic:"Will be generated",mentee:"Mentee",mentor:"Mentor",menteeError:"Select attendees",mentorError:"Select mentor",meetingGoalError:"Select a session",group:"Group",meetingGoal:"Session",errorMessage:"Error occurred while creating meeting.",mentorAccountAuthExpired:"|mentorName| needs to reconnect a |locationType| account before we can create this meeting. Please contact him/her.",fillThisField:"Please fill this field",timeZoneMessage:"The meeting time will be created based on |timeZone| time zone that is set in your settings. You can click here to go to your time zone settings.",googlePermissionError:"Access permission error: In order for us to proceed, your mentor needs to reconnect their Google account and grant full access, or they need to cancel the Google connection. Please get in touch with your mentor."},updateMeetingForm:{title:"Update Meeting",description:"With this form, you can update the date, start-end hours and location of the meeting. Please be sure the guests are available at the specified date."},editMetadataDialog:{title:"Update My Info"},addGroupMemberDialog:{title:"Add group member",userNotSelected:"Select a user to add",hint:"Search user",errorMessage:"Adding member to group failed",errorGroupAlreadyMemberOfAnother:"User is already member of another group"},createAvailabilityForm:{title:"Add Time Slots",date:"Date",dateError:"Select date",hour:"Start hour",hourHint:"HH",minuteHint:"MM",hourAmHint:"AM",hourPmHint:"PM",break:"Breaks between meetings",startTimeError:"Select a start time.",location:"Location",locationType:"Video Call or Custom Location",locationTypeCustom:"Custom",locationTypeJitsi:"Jitsi Meet (Video Call)",accountNotConnected:"account not connected",locationAutomatic:"Will be generated",duration:"Meeting duration (minutes)",durationError:"Select duration.",hourError:"Select hour.",minuteError:"Select minute.",count:"Time slot quantity",countError:"Select quantity.",locationError:"Location cannot be empty.",errorMessage:"Error occurred while creating meeting.",errorMessageGoogleConflict:"There is a conflicting event in your Google calendar, availability could not be created.",errorMessageMicrosoftConflict:"There is a conflicting event in your Microsoft calendar, availability could not be created.",conflictWithAccountCalendar:"You have another meeting at selected time.",conflictingAvailabiltityWithAccountCalendar:"You have another availability at selected time.",timeZoneMessage:"The available time will be created based on |timeZone| time zone that is set in your settings. You can click here to go to your time zone settings."},feedbackForm:{privacyDescription:"You may write detailed. Feedback responses are not visible to attendees of the meeting."},meetingSummaryItem:{notesTitle:"Meeting Notes",notesInfo:"You may use this area to take notes about your meeting or contact the attendees of this meeting. We hide your note if you save your note as NOT VISIBLE TO OTHER PARTICIPANTS. We send your note to attendees by email if you save it as VISIBLE TO PARTICIPANTS OF THIS MEETING.",location:{jitsi:"Jitsi Meet",zoom:"Zoom"}},organisationAnnouncements:{title:"Announcements"},upcomingMeetings:{title:"Upcoming Meetings",emptyMessage:"You will see your upcoming and past meetings here, currently you don't have any meeting scheduled on the platform.",pastEmptyMessage:"You don't have past meetings."},mentorshipForm:{descriptionHint:"How can you help potentially interested mentees? (Think about your experience, abilities and style of communication.)",audienceHint:"What sort of mentee would best from your level of experience?",limitless:"No limit",menteeLimit:"Mentee Limit",menteeCount:"Please choose the maximum number of mentees you would like to support through this program. Otherwise, you may be matched with an unlimited number of mentees if you fail to specify a number",mentorshipTitle:"Available Times",mentorshipDescription:"You can add available time slots to book meetings. We will send an email notification to your mentees."},meetingGoals:{subscriptionsEmptyMessage:"There is no user that matched with you for now. Please contact your program administrator about the matching process.",selectMentorsFromOtherTab:"You have not been matched yet. You may choose potential mentors from the 'Select Mentors' tab.",waitingForMentorsApproval:"You will see your mentors here when they approve your request.",beingSelectedByMentees:"Mentor selection process is still on. When the mentees select you, you will see them here.",fetchMeetingsError:"Error occurred while getting the meetings.",showAsList:"Show as list",showAsTable:"Show as table",endSubscription:"FINISH THIS PROCESS",endSubscriptionDialog:{endSubscription:"FINISH THE PROCESS",message:"This action removes your mentee from your account. You will not be able to schedule meetings with this person.",title:"Are you sure to end the process?"},formForwardingDialog:{fillForm:"COMPLETE THE FORM",message:"There is a form you need to fill about the completed process.",title:"Process End Form"}},meetingGoalStatus:{periodStartDate:"Start date",periodEndDate:"End date"},userFilterForm:{inputPlaceholder:"Search Name, Title, Bio ...",search:"Search"},userSkillFilterDialog:{title:"Skill Filter",actionFilter:"FILTER",actionClear:"CLEAR"},userSkillFilterForm:{tooltip:"Filter by skills"},noteRow:{privateNoteDescription:"This is a private note that IS NOT visible to the other participants of this meeting."},inlineCalendarDayView:{emptyMessage:"Calendar info will be loaded here when you select the date.",availabilitySlot:"Available Time Slot for |organisation|",preview:"Preview",hourAmHint:"AM",hourPmHint:"PM"},navRightContentChat:{firstConversationMessage:"This is going to be your first conversation with <b>|otherUserName|</b>.",seeOlderMessages:"See Older Messages",title:"Conversations"},videoCall:{description:{message:"Video call is made with a secure peer to peer connection. It requires a fast network connection and a modern browser like Chrome, Firefox or Opera. If the connection is not good, you may try to change the browser or the network connection.",start:"START VIDEO CALL"},tooltips:{fullScreen:"Open / close full screen",minimize:"Minimize / maximize the view",mic:"Enable / disable microphone",video:"Enable / disable camera",screenShare:"Share / stop screen",link:"Copy the video room link",hangup:"Stop the call"},copyLinkDialog:{title:"Invite to video call",description:"You can share the video call link to let other participants join to the meeting.<br/><br/><b>|url|</b>"}},menteeList:{emptyMessage:"No mentee found",emptyMessageSubscribed:"There is no mentee matched with you.",listFetchErrorMessage:"Mentee list could not be fetched."},mentorList:{emptyMessage:"No mentor found",emptyMessageSubscribed:"There is no mentor matched with you.",emptyMessageSubscribedWillSelect:"There is no one matched with you for now. Mentors will be matched with you or you will be able to select them. Please contact your program administrator for the matching process.",emptyMessageSubscribedCanSelect:"Could you please select your mentor from 'Select Mentors' tab ?",listFetchErrorMessage:"Mentor list could not be fetched."},suitePage:{fetchErrorMessage:"Suite info could not be fetched.",tabs:{meetings:"Meetings",members:"Mentors"}},suitesPage:{emptyMessage:"No suite found.",listFetchErrorMessage:"Suite list could not be fetched.",viewNotAllowedMessage:"You are not allowed to view this page."},editSuite:{pageTitle:"Create suite",editPageTitle:"Edit suite info",groupInfo:"Suite info",socialInfo:"Suite social account links",title:"Suite name",description:"Give info about the suite.",titleError:"Suite name must contain at least 3 letters.",descriptionError:"Suite description must contain at least 10 letters.",successEdit:"Suite is updated successfully.",successEditImage:"Suite image is updated successfully.",errorEdit:"Error occurred while updating suite.",errorEditImage:"Error occurred while updating suite image.",titleEditDisabledMessage:"Contact administration to change the suite title."},mentorSelectionList:{alreadySelectedMentors:"You have already selected a mentor based on your program limit. You may select a mentor after you have completed the current mentoring process.",selectMentorDialog:{createSubscription:"START THE PROCESS",message:"The mentoring process will start right now. We will send a notification to the mentor. Please contact your program administrator if you want to cancel the matching.",title:"Are you sure to match with this mentor ?"},selectMentorDialogForApproval:{createSubscription:"SEND REQUEST",message:"The mentoring process will start after the mentor approves your request. We will send a notification to the mentor. Please contact your program administrator if you want to cancel your request.",title:"Are you sure to send this request?"}},sentSubscriptionRequestList:{pendingRequestsTitle:"You have |requestCount| pending requests"},subscriptionRequestList:{accept:"ACCEPT",expired:"REQUEST EXPIRED",reject:"REJECT",acceptDialog:{message:"When you accept this request, you will be matched with this person and the process will start.",title:"Are you sure to accept?"},rejectDialog:{message:"The person will be informed when you reject this request.",title:"Are you sure to reject?"},pendingRequestsTitle:"You have |requestCount| pending requests",unexpectedError:"Unexpected error occurred."},conversationSubTitle:{userStatus:{offline:"Offline",online:"Online",typing:"Typing..."},conversationDisabledThis:"Chat is not active because the you are not a member anymore.",conversationDisabledOther:"Chat is not active because the user is not a member anymore.",conversationDisabled:"Chat is not active because of the administrational settings."}},pages:{error:{notFound:"The page you are looking cannot be found. The page may have been removed or you may have clicked a dead link.",unauthorized:"You must login to access this page.",goToLogin:"Go to login page",goToHome:"Go to home page"},home:{forwardAdminsMessage:"This is mentor/mentee portal. Please go to this page to log in as administrator : |adminPanelUrl|",memberOfNoOrganisationMessage:"We could not find a mentoring program that connected to your email address. Please check your email address. You may be removed from your program. Please contact your organization.",agreeThePolicy:"I have read and accepted the |policyTitle|."},help:{title:"Help"},contact:{title:"Contact Us",message:"Please write your message here",submit:"SEND MESSAGE",messageMissing:"Please add content",successMessage:"Thank you! We received your form. We will call back as soon as possible. ",errorMessage:"Error occurred while sending the form."},explore:{title:"Explore",fetchError:"An error occurred while getting the explore list.",header:"EXPLORE THE MENTORING AND COACHING PROGRAMS RUNNING BY ORGANIZATIONS ON MENTORNITY.",sentence:"Each program has its terms and application method. Please contact your organization to join the platform.",blog:"https://en.mentornity.com/customers"},acceptInvitation:{title:"Invitation",agreementTitle:"|title| Terms",userAgreementTitle:"Terms of Use",acceptAgreement:"Accept the Invitation",acceptInvitationMessage:"I agree to the terms and privacy policy.",password:"Define a Password",passwordError:"Password must be longer than 6 characters.",errorMessage:"Invitation couldn't be accepted due to an unexpected error.",headerInfo:"This invitation is sent to |email| by |organisation|. Please scroll down, set a password and accept the invitation to proceed.",headerInfoWithoutPassword:"This invitation is sent to |email| by |organisation|. Please scroll down and accept the invitation to proceed.",errorTitle:"Invitation Error",accountMatchErrorMessage:"You are logged in as |fullName| but the invitation is sent for |issuedFor|. Please logout to accept the invitation.",alreadyAcceptedErrorMessage:"You have already accepted this invitation.",alreadyAcceptedAnonymousErrorMessage:"This invitation is accepted already. You can login if you have created an account via this invitation.",loginRequiredMessage:"This invitation is issued for |issuedFor|. You need to login to accept the invitation.",registrationRequiredMessage:"This is your first time using this platform. Please accept the agreements to proceed."},login:{credentialsError:"Email or password is not valid. Please check again.",userDoesntExistError:"User with the given details does not exist.",serverError:"Server cannot be reached. Please check your connectivity.",invitationError:"You cannot login because you have not accepted the user invitation yet. Please accept the user invitation and define a password first.",unexpectedError:"Unexpected error occured.",submit:"LOGIN",forgotPassword:"Reset my password",errors:{email:"Email is not valid.",password:"Password must be at least 6 characters."},help:"Help",description:"You have to be added or invited in order to login."},oauth:{message:"Completing authorization and redirecting...",error:"Completing authorization failed. Please try again later."},oauthRegister:{loginMessage:"Login with your |platformTitle| account.",loginWith:"SIGN IN WITH |platformTitle|",connectAccountMessage:"You can connect your |platformTitle| account if you already have an account.",registerMessage:"You can create a new account with your |platformTitle| account if you don't have one.",loggedInMessage:"You're logged in as |fullName| and you're about to login with account from |platformTitle|. Do you want to connect your |platformTitle| account to your current account or create a new account?",unexpectedError:"Account info cannot be retrieved.",error:"Connecting account failed.",accountExistsError:"There is already a user with the same email.",platformAccountExistsError:"There is already a user logged in with this platform.",platformAccountDoesntExistsError:"You have attempted to log in with a |platformTitle| account that has not been connected to this platform before. To log in directly with |platformTitle|, please first log in with the email address registered on the platform and link your account in the integration settings section.",createNewAccount:"CREATE NEW ACCOUNT",connectCurrentAccount:"CONNECT CURRENT ACCOUNT",connectExistingAccount:"CONNECT EXISTING ACCOUNT",unableToConnectGoogleMessage:"We were unable to link your Google account to Mentornity because you did not check all the permissions of Google during linking.",checkPermissionAgainMessage:"To solve that please make sure to check this permission as shown in the photo below"},organisation:{listFetchErrorMessage:"Error occured while fetching the list.",emptyMessageMentees:"There is no mentee found.",emptyMessageMentors:"There is no mentor found.",emptyMessageGroups:"There is no group found.",pairedMentorListEmptyMessage:"You are not matched with any mentor or there is no mentor you had meeting with.",pairedMenteeListEmptyMessage:"You are not matched with any mentee or there is no mentee you had meeting with.",listLoadingMessage:"List is loading.",subscribedMentors:"My Mentors",mentorSelection:"Select Mentors",allMentors:"My Mentors",availableMentors:"Set a meeting",subscribedMentees:"My Mentees",allMentees:"All Mentees",subscribedGroups:"My Groups",allGroups:"All Groups",mentorSelectionLimitMessage:"You can select at most |subscriptionLimit| people.",mentorSelectionLimitMessageForApprovals:"You can select at most |selectionLimit| people but only |subscriptionLimit| of them may accept your request.",selectMentorsFromOtherTab:"You have no match yet, you can choose people from 'Select Mentors' tab.",adminsWillPairMentors:"You have no match yet. The users will be matched with you by the organization admins or admins will let you select your matches. Please contact to organization admins for more info.",adminsWillPairYou:"You have no match yet. You will be matched by the organization admins or admins will let users select their matches. Please contact to organization admins for more info.",mentorSelectionListEmpty:"There are currently no mentors available for you to select. Please contact the program administration in order to be manually connected with a mentor.",mentorSelectionListError:"Getting mentor selection list failed.",terms:"Program Terms And Conditions",onboardingSteps:"Go to Onboarding steps again."},profile:{mentorshipInfo:{bio:"Bio",about:"How can you help potentially interested mentees?",audience:"What sort of mentee would best from your level of experience?"},ownProfileMessage:"You are viewing your profile based on the organization |organisationTitle| .",errorMessage:"Couldn't fetch profile info"},programs:{title:"Programs"},event:{mentor:"Mentor",mentee:"Mentee",group:"Group",errorMessage:"Error occured while getting the meeting info.",createdBy:"Created by |createdBy|",canceledBy:"Canceled by |canceledBy|",cancelReason:"Cause of cancellation",remainingTimeTooLessMessage:"Meeting cannot be cancelled because the remaining time is less than |minRemainingTime| hour. Please contact to the organization administration.",cancelMeeting:"Cancel the meeting",updateMeeting:"Update the meeting",meetingDidNotOccur:"Notify that meeting didn't occur",videoChatLinkDescription:"You can join to the online meeting with the link below without installation or registration. You can share your screen and close your camera and microphone.",openVideoChat:"Open Video Call",openWhatsApp:"Open WhatsApp",sendDirectMessage:"Send Direct Message",location:{jitsi:"GO TO JITSI CALL",zoom:"GO TO ZOOM CALL",google:"GO TO GOOGLE MEET CALL",microsoftbusiness:"GO TO MICROSOFT TEAMS CALL"},preMeetingQuestions:"BEFORE THE MEETING",postMeetingQuestions:"AFTER THE MEETING",preMeetingFormTimeMessage:"You can fill pre meeting form only before the meeting.",postMeetingFormTimeMessage:"You can fill the post meeting form only after the meeting."},group:{editGroup:"Edit group info"},forgotPassword:{submit:"SEND ME RESET PASSWORD INSTRUCTIONS",success:"We received your request. You'll receive an email shortly.",error:"Error occurred while resetting the password. Are you sure this is the correct email?",invitationError:"You cannot reset the password because you have not accepted the user invitation yet. Please accept the user invitation and define a password first."},setPassword:{submit:"CHANGE PASSWORD",success:"Your password is updated successfully, you are being redirected to the home page.",error:"Hello, This link expired. Please request a new link below. !!",resetPassword:"Reset Password"},organisationHome:{errorMessage:"Error occurred while getting the main page data.",hide:"Hide",seeAll:"See All",upcomingMeetings:"Upcoming Meetings",todaysMeetings:"Today's Meetings",allMeetings:"All Meetings",hideCanceledMeetings:"Hide canceled meetings"},feed:{errorMessage:"Error occurred while getting the feed.",emptyMessage:"Your feed will be shown here. Currently, there is no activity in your feed."},settings:{profileInfo:"Profile Info",socialInfo:"Social network info",contactInfo:"Contact info",infoUpdateSuccessMessage:"Info updated successfully.",infoUpdateError:"Error occurred while updating info.",avatarUploadedMessage:"Profile image is uploaded successfully.",avatarUploadError:"Error occurred while uploading profile image.",skillsTitle:"Your Professional Expertise",skillsLimitReached:"You can select at most 5 expertises",pairLimit:"Match limit",timeZone:"Time Zone",selectTimeZone:"Time zone not selected",language:"Language",selectLanguage:"Language not selected",timeFormat:"Time Format",hour12:"12 Hours Format",hour24:"24 Hours Format",dateFormat:"Date Format",selectFormat:"Format not selected",dayMonthYear:"DD/MM/YYYY",monthDayYear:"MM/DD/YYYY",generalSettingsUpdated:"General settings are updated. Page will refresh automatically.",generalSettingsUpdateFailed:"Updating general settings failed",newPasswordFirst:"New password",newPasswordSecond:"New password (again)",existingPassword:"Current password",passwordUpdated:"Your password is changed successfully. Page will reload automatically.",passwordUpdateFailed:"Password couldn't be updated.",errorExistingPasswordNotCorrect:"Provided current password is not correct.",errorEmailConflict:"Email is used by another account.",emailSettings:"Login Email ID",emailInfo:"Type the new email ID and existing password then press save.",emailUpdateFailed:"Email couldn't be updated.",emailUpdated:"Your email is changed successfully. Page will reload automatically.",changeEmail:"CHANGE EMAIL",newEmailFirstInfo:"Enter new email address.",newEmailSecondInfo:"Enter new email address again.",synchronizationStopped:"Sync is interrupted. Please reconnect your account.",synchronizeWithGoogle:"Connect Google Calendar",synchronizeWithGoogleDescription:"Connect your Google account to automatically synchronize your meetings with Google calendar.",synchronizeWithGoogleDoneDescription:"Your meetings are synchronized with your Google calendar.",connectWithGoogle:"CONNECT WITH GOOGLE",disconnectGoogle:"DISCONNECT GOOGLE",synchronizeWithMicrosoft:"Connect Outlook Calendar",synchronizeWithMicrosoftDescription:"Connect your Microsoft account to sync your meetings with Microsoft Outlook calendar.",synchronizeWithMicrosoftDoneDescription:"Your meetings are synchronized with your Microsoft Outlook calendar.",connectWithMicrosoft:"CONNECT WITH MICROSOFT",disconnectMicrosoft:"DISCONNECT MICROSOFT",synchronizeWithZoom:"Connect Zoom",synchronizeWithZoomDescription:"Connect your Zoom account to create Zoom links for your meetings.",synchronizeWithZoomDoneDescription:"The meetings you create will contain a Zoom link if the location is selected as Zoom.",connectWithZoom:"CONNECT WITH ZOOM",disconnectZoom:"DISCONNECT ZOOM",error:"Connecting to auth server failed",passwordSettings:"Password settings",existingPasswordInfo:"Enter existing password.",newPasswordFirstInfo:"Enter new password (least 6 characters)",newPasswordSecondInfo:"Enter new password again.",changePassword:"CHANGE PASSWORD",emailSettingsTitle:"Email me when...",emailOnMeetingCreation:"New meeting is created.",emailOnMeetingCancellation:"A meeting is cancelled.",emailOnMeetingNoteCreation:"New meeting note is added.",emailOnGroupMemberJoin:"New member joins to my group.",emailOnGroupMemberLeave:"A member leaves my group.",emailOnAvailabilityCreation:"Available time is added or removed for a subscribed mentor.",emailOnNewMessage:"I receive a new message.",emailOnReminder:"I want to receive reminder emails.",notificationSettingsUpdated:"Notification settings are updated. Page will reload automatically.",notificationSettingsUpdateFailed:"Error occurred while updating notification settings"},forms:{archived:"This form is no longer available.",emptyMessage:"There is no form pending for your response.",respondForm:"FILL THE FORM",fillTheForm:"Fill this form for |user|",viewResponse:"VIEW OR EDIT",updated:"Form response is sent."},createGroup:{additionalFields:"Group Additional Fields",pageTitle:"Create group",editPageTitle:"Edit group info",groupInfo:"Group info",socialInfo:"Group social account links",title:"Group name",description:"Give info about the group and your expectations from the people you will have meeting with.",titleError:"Group name must contain at least 3 letters.",descriptionError:"Group description must contain at least 10 letters.",success:"Group is created successfully.",errorCreate:"Error occurred while creating group.",successEdit:"Group is updated successfully.",successEditImage:"Group image is updated successfully.",errorEdit:"Error occurred while updating group.",errorEditImage:"Error occurred while updating group image.",conflictErrorMessage:"You cannot create multiple groups.",titleEditDisabledMessage:"Contact to the administration for changing group title.",similarGroupsMessage:"Your colleagues may have created the group already. If the group is created, please ask your colleague to add you to the group instead of creating a new group. Similar groups:"},conversations:{title:"Conversations",newConversationMessage:"This is going to be your first conversation with |fullName|.",emptyMessage:"You have no conversations yet. You can create conversations from user info cards or user pages.",errorMessage:"Fetching conversations failed."},landing:{allAdvice:{title:"All Recommendations",recommendationsDesc:"What did mentors, coaches and adviser in the most prestigious institutions say about Mentornity ? "},cookiePrivacyMessage:'We use cookies to provide better user experience to you. You can find more detailed information on <a href="/terms">Terms of Use</a> page.',customersImage:"https://en.mentornity.com/assets/img/mentornity-customers-mobile.png",customersImageWide:"https://en.mentornity.com/assets/img/mentornity-customers.png",navBar:{rightActions:[{label:"Customers",link:"https://en.mentornity.com/customers"},{label:"Pricing",link:"https://en.mentornity.com/mentoring-coaching-software-pricing"},{label:"1 (888) 725-7292",link:"#",type:"bold"},{label:"Try For Free",link:"https://en.mentornity.com/mentoring-coaching-software-free-trial",type:"button"}]},description:{title:"Proven MENTORING SOFTWARE and operation services that work smoothly!",description:"Make Your Mentoring Program Effective and Successful With The Best Mentor Mentee Matching, Mentorship Tracking, Feedback and Scheduling Tools.\n\nTrusted By Top Organizations And Award-Winning Programs Around The World.",links:[{label:"Entrepreneur Mentoring Software",link:"https://en.mentornity.com/mentoring-software-for-accelerators-and-incubators",color:"pink"},{label:"Employee Mentoring Software",link:"https://en.mentornity.com/corporate-mentoring-software",color:"orange"},{label:"Alumni-Student Mentoring Software",link:"https://en.mentornity.com/alumni-network-mentoring-software",color:"blue"},{label:"Corporate Coaching Software",link:"https://en.mentornity.com/corporate-coaching-software",color:"turquoise"}]},runProgramInMentornity:"EASY AND EFFECTIVE WAY TO RUN A MENTORING PROGRAM!",runProgramInMentornityDesc:"Mentornity is a powerful communication and managing system for mentoring and coaching programs.\n\nMentornity makes experince sharing very efficient in Companies, Incubators, Accelerators, Alumni networks, Universities and Organizations.\n\nSTART A FREE TRIAL IN YOUR ORGANIZATION!",getMentorship:"Mentornity provides all solutions tools and integrations to make your mentoring program successful.",getMentorshipDesc:"Forms, Surveys, Zoom, Google Calendar and Outlook Integration, AUTOMATIC OR MANUALLY Matching, Meeting Goals, Direct Messages, Video Calls, White Labeling, Scheduling, Custom Mentoring Program Design, Feedback, Meeting Notes, Tracking, Analytics and More!",exploreLink:"https://en.mentornity.com/customers/",getMentorshipIconDesc1:"IMPLEMENT YOUR DREAM MENTORING PROGRAM EFFORTLESSLY!",getMentorshipIconDesc2:"THE BEST MENTORING SOFTWARE FOR ENGAGEMENT, SUSTAINABILITY AND HIGH IMPACT",giveMentorship:"MANAGE A MENTORING PROGRAM WITHOUT HARD WORKING",giveMentorshipDesc:"Make Your Mentorship Program Effective and Enjoyable. Our User Friendly Interface Is Easy As A Social Network",giveMentorshipIconDesc1:"Mentornity Mentoring Software Is Ready for All Type Of Entrepreneurship and Innovation Programs.",giveMentorshipIconDesc2:"This Is A Trusted Solution For Company Culture, Corporate Development and Talent Management.",usagesTitle:"Mentornity Use Cases by Organization Types:",howItWorksLink:"https://en.mentornity.com/",referencesLink:"https://en.mentornity.com/customers",usageLabel1:"Accelerator & Incubation Centers",usageLabel2:"Corporate Mentoring",usageLabel3:"Co-working spaces",usageLabel4:"Graduate Networks",usageLabel5:"Chambers",usageLabel6:"Universities",usageLabel7:"Consultancy Agencies",usageLabel8:"Mentorship Events",usageLabel9:"Mentoring Services",usageLabel10:"Mentor Groups",usageLabel11:"Angel Investment Networks",usageLink1:"https://medium.com/how-mentornity-works/girisimcilik-3321e73ebce1",usageLink2:"https://medium.com/how-mentornity-works/sirketler-98a99ebca838",usageLink3:"https://medium.com/mentornity-blog/-a3a5e2b169c1",usageLink4:"https://medium.com/mentornity-blog/-f999187fe704",usageLink5:"https://medium.com/how-mentornity-works/tr/home",usageLink6:"https://medium.com/how-mentornity-works/tr/home",usageLink7:"https://medium.com/how-mentornity-works/tr/home",usageLink8:"https://medium.com/how-mentornity-works/tr/home",usageLink9:"https://medium.com/how-mentornity-works/tr/home",usageLink10:"https://medium.com/how-mentornity-works/tr/home",usageLink11:"https://medium.com/how-mentornity-works/tr/home",recommendations:[{name:"Mertol Altınay",organisation:"ANADOLU ISUZU",title:"Business Development Specialist",quote:"Mentornity, is great for time management, I can plan my interview at what time and with who."},{name:"Kazım Yalçınoğlu",organisation:"SMARTS UNITED",title:"Founder & CEO",quote:"I think that Mentornity is a very useful and effective product"},{name:"H. Basri Akırmak",organisation:"AMAZON AWS",title:"Client Services & Solutions Senior Advisor",quote:"I have made interviews with over fifty startups since 2016. In a time where Big Data Analysis, Digitalization; IT is directing the world Mentornity platform provides “collective intelligence” to every partner in the incubator center. In this complicated ecosystem where created by entrepreneur, mentor and the technopark, Mentornity platform manages it institutionally "},{name:"Tunç Berkman",organisation:"VESTEL",title:"Chief Marketing Officer",quote:"Mentornity provides efficiency where I can know the mentees before."},{name:"Görkem Gökçe",organisation:"G.Y. ATTORNEY PARTNERSHIP",title:"Partner",quote:"Mentornity, gives the basic information about startups and also organize the interviews very fast this way we used time efficiently."},{name:"Savaş Ünsal",organisation:"CROWDFUNDING ASSOCIATION",title:"Founder",quote:"Mentornity is a platform that enterprises and mentors can communicate with each other fast and more efficiently. The video conference feature is great for enterprises who are outside of my city."},{name:"Naci Adalılar",organisation:"FMV ISIK UNIVERSITY",title:"Academician",quote:" Mentornity's live conference feature allowed me to communicate online with enterprises. I didn’t need any place, connection, configuration, membership. This way I spent more time with startups/mentees."},{name:"Mehmet Buldurgan",organisation:"S.O. BUSINESS ANGEL NETWORK",title:"Founder",quote:" Mentornity is a new serving product. It provides efficiency with great communication between mentor and mentee. I think every incubator needs it."},{name:"Harika Yalaza",organisation:"DENİZBANK INTERTECH",title:"IT Security and Risk Management",quote:" Mentornity is very useful for time planning in ITUSEED incubator and forsee whom we are going to interview. "},{name:"Dr. Özgür Zan",organisation:"DONE LABS",title:"Managing Director",quote:" I used Mentornity platform both as a mentor in ITUSEED incubator and as a mentee in ITU GATE. It was very easy when you work with more than one mentor or mentee to organize the interviews, to take notes and prepare for the next interview. I think Mentornity closing an important deficit and I think they are going to be successful. "},{name:"Ömürden Sezgin",organisation:"N11.com",title:"Brand Marketing Manager",quote:" With Mentornity I can organize my meetings and plan my calendar more detailed in ITUSEED incubator. It is a very necessary application for an organization to process more efficiently and to follow. Thank you. "},{name:"Nuri Murat Avcı",organisation:"T.U.G.I.M",title:"President",quote:" As a president of an Entrepreneur Business Mentoring Association, I recommend this online software to every association in the ecosystem. It is for interviews and communication and provides a modern service method so it will help to vitality for the ecosystem. Mentornity team works hard for developing the system and takes into account our recommendations.  "},{name:"Bülent Yılmaz",organisation:"Liberro",title:"Founder CEO, Startup Mentor",quote:" With Mentornity I start to organize my mentor interviews and this improved my productivity.  "},{name:"Onur Kutlu Gago",organisation:"Tale Company",title:"Founder CEO",quote:" I use Mentornity for mentoring in I.T.U incubator and I am very glad. I recommend every formation who gives mentoring service. It makes easier the process.  "},{name:"Emre Kurttepeli",organisation:"GALATA BUSINESS ANGELS",title:"President",quote:"It was the first time we used Mentornity for GBA Mentor Clinic it was more efficient according to other organizations that we did. Everyone could see their calendar before. Mentors and mentees prepared before the interview they even communicate after the interviews via Mentornity. Before Mentornity for this organization, we need 10 people but now we just used Mentornity it is a very useful service."},{name:"Cavit Yantaç",organisation:"MICROSOFT",title:"Developer Experience and Evangelism Lead",quote:"I used Mentornity in GBA Mentor Clinic a lot. The biggest advantage for me is that it reduces the chaos and make the process a lot easier. It is a life-saving tool that for Mentor-mentee meetings, mentors can know mentees before and you can take notes about mentoring. "},{name:"Deniz Gürkan",organisation:"TÜRKİYE İŞ BANKASI",title:"Assistant Manager/Commercial Banking Marketing Division",quote:" I use Mentornity in my every mentoring program and I am very happy from it. User-friendly design and easy to use so it is great for my work. I can manage my upcoming interviews, see my previous meetings and take notes about my interviews."},{name:"Gaye Or",organisation:"PayU",title:"Marketing Manager",quote:" We work with Mentornity for a long time. Mentornity has an important contribution to mentoring awareness within the company. It creates big value for our company by providing interviews with other institutions."}],footer:{home:"Home",blog:"Blog",blogLink:"https://medium.com/mentornity-blog/en",facebook:"Facebook",twitter:"Twitter",contact:"Contact",help:"Help",terms:"Terms",privacy:"Privacy",secondaryLinkGroups:[[{label:"Terms of Use",link:"https://mentornity.com/terms"},{label:"Privacy Policy",link:"https://mentornity.com/privacy-policy"},{label:"Delivery and Return Contract",link:"https://en.mentornity.com/delivery-contract"},{label:"Incubator Accelerator Mentoring",link:"https://en.mentornity.com/mentoring-software-for-accelerators-and-incubators"},{label:"Corporate Mentoring",link:"https://en.mentornity.com/corporate-mentoring-software"},{label:"Employee Mentoring",link:"https://en.mentornity.com/employee-mentoring-software"},{label:"Alumni Network Mentoring",link:"https://en.mentornity.com/alumni-network-mentoring-software"},{label:"Corporate Coaching",link:"https://en.mentornity.com/corporate-coaching-software"},{label:"Mentor Mentee Program Management",link:"https://en.mentornity.com/mentor-mentee-program-management"},{label:"Reverse Mentoring Program Management",link:"https://en.mentornity.com/reverse-mentoring-program-management"},{label:"The Difference Between Coaching and Mentoring",link:"https://blog.mentornity.com/the-difference-between-coaching-and-mentoring/"},{label:"Successful Mentoring in the Workplace?",link:"https://blog.mentornity.com/successful-mentoring-in-the-workplace/"},{label:"What is Mentoring ?",link:"https://blog.mentornity.com/what-is-mentoring/"},{label:"What Does Mentor Mean ?",link:"https://blog.mentornity.com/what-does-mentor-mean/"}],[{label:"How to manage a mentoring program ?",link:"https://blog.mentornity.com/how-to-manage-a-mentoring-program/"},{label:"Mentoring SaaS",link:"https://en.mentornity.com/mentoring-saas"}],[{label:"How to start a mentorship program?",link:"https://en.mentornity.com"}]]}},calendar:{infoMessage:"{0} people added {1} available times for the selected period.",emptyMessage:"There is no availability for the selected week. Enable notifications from settings to be notified when the people you want to get meeting adds available time.",createMeetingNotAllowedBecauseOfNoGroup:"You need to be a member of a group for joining meetings in this organization. Ask the group admin to add you to the group if your group is created. Create a group if you are the group admin.",createMeetingNotAllowedForMentorship:"You cannot take a meeting from this mentor because of the administration settings.",createMeetingNotAllowedGenerally:"You cannot take a meeting because of the administration settings. You can consult to the organization admins.",multipleMeetingInSameAvailabilityNotAllowed:"You cannot create multiple meetings in one day.",createGroup:"Create Group"}},feed:{createEvent:{sentence:"|actor| created a meeting."},updateEvent:{sentence:"|actor| updated the meeting."},cancelEvent:{sentence:"|actor| canceled the meeting.",sentenceNotOccurred:"|actor| stated that the meeting was not held.",statusCanceled:"Canceled",reason:"Cause of cancellation"},addEventNote:{sentence:"|actor| added a note for |date| - |event| meeting."},createAvailability:{sentenceForAdmin:"|actor| added an available time for |mentor|.",sentence:"|actor| added an available time."},cancelAvailability:{sentenceForAdmin:"|actor| canceled the available time of |mentor|.",sentence:"|actor| canceled the available time."},peopleInfo:{typeMentor:"Mentor",typeMentee:"Mentee",typeGroup:"Group"}},navBar:{userMenu:{viewProfile:"View profile",profileSettings:"Profile settings",mentorshipSettings:"My service settings",accountSettings:"Account settings",notificationSettings:"Notification settings",generalSettings:"General settings",integrationSettings:"Integration settings",logout:"Logout"},helpButton:{support:"Support"},addAvailability:"ADD TIME SLOTS",viewAvailabilitiesOnProfilePage:"You can see you available times in your profile page",newFeature:"New Feature",myProgramsMessage:'You can use the "My Programs" button to switch between programs.'},organisationRoutes:{home:"Home",feed:"Feed",mentors:"Mentors",mentees:"Mentees",groups:"Groups",suites:"Suites",calendar:"Calendar",info:"Program Info",forms:"Forms","membership-info":"My Info",profile:"My Time Slots and Meetings",availabilities:"My Availabilities",meetings:"My Meetings"},profileRoutes:{info:"ABOUT",meetings:"MEETINGS",availability:"MY TIME SLOTS",availabilities:"GET MEETING"},groupRoutes:{members:"MEMBERS",meetings:"MEETINGS"},skills:{analytics:"Analytics",business:"Business",chemistry:"Chemistry","data-science":"Data Science","design-thinking":"Design Thinking",diabetes:"Diabetes",diagnostics:"Diagnostics","graphic-design":"Graphic Design","life-sciences":"Life sciences",medicine:"Medicine",medtech:"Medtech",pitching:"Pitching","presentation-design":"Presentation Design","service-design":"Service Design","ux-design":"UX design","ux-research":"UX research",virology:"Virology",academic:"Academic",accounting:"Accounting",activism:"Activism",ads:"Ads",advertising:"Advertising","affiliate-marketing":"Affiliate Marketing",apis:"APIs",ar:"AR Augmented Reality",art:"Art","artificial-intelligence":"Ai Artificial Intelligence",audit:"Audit",automotive:"Automotive",b2b:"B2B",b2c:"B2C",backend:"Backend",banking:"Banking","behavior-change":"Behavior Change",bidding:"Bidding","big-data":"Big Data",biodiversity:"Biodiversity",biotechnology:"Biotechnology",blockchain:"Blockchain",blogs:"Blogs",branching:"Branching",brand:"Brand",broadcasting:"Broadcasting",buildings:"Buildings","business-administration":"Business Administration","business-dev":"Business Development","business-model":"Business Model","business-planning":"Business Planning",c2c:"C2C","churn-management":"Churn Management","circular-economy":"Circular Economy","cloud-computing":"Cloud Computing",coding:"Coding",communications:"Communications",communities:"Communities","community-management":"Community Management",construction:"Construction","content-management":"Content Management","content-marketing":"Content Marketing","contract-administration":"Contract Administration",crowdfunding:"CrowdFunding","crowd-sourcing":"Crowd Sourcing",cryptocurrency:"CryptoCurrency","customer-relations":"Customer Relations",customs:"Customs","deep-learning":"Deep Learning","defense-industry":"Defense Industry","delivery-services":"Delivery Services",demodays:"Demodays",design:"Design","digital-marketing":"Digital Marketing",distribution:"Distribution","drip-marketing":"Drip Marketing",drones:"Drones",dropshipping:"Dropshipping","earth-observation":"Earth Observation","e-commerce":"E-Commerce",edtech:"EdTech",education:"Education","e-learning":"E-Learning","electric-cars":"Electric Cars","elevator-pitch":"Elevator Pitch","email-marketing":"Email Marketing",emea:"EMEA Region","employee-engagement":"Employee Engagement",energy:"Energy",entrepreneurship:"Entrepreneurship",esports:"ESports",estate:"Estate",eu:"EU European Union","event-management":"Event Management","executive-coaching":"Executive Coaching",finance:"Finance",fintech:"FinTech",fmcg:"FMCG",food:"Food","foreign-trade":"Foreign Trade",franchising:"Franchising",frontend:"Frontend",funding:"Funding","fundraising-strategy":"Fundraising Strategy","game-development":"Game Development",gdpr:"GDPR","gov-relations":"Government Relations",grants:"Grants","growth-hacking":"Growth Hacking",hardware:"Hardware",health:"Health","human-resources":"HR Human Resources",ico:"ICO","idea-proof":"Idea Proof",indiegogo:"Indiegogo",innovation:"Innovation",insurance:"Insurance",insuretech:"InsureTech","international-sales":"International Sales","investor-relations":"Investor Relations",iot:"IoT",ipo:"IPO",it:"IT",kickstarter:"Kickstarter","landing-pages":"Landing Pages",law:"Law",leadership:"Leadership","lead-generation":"Lead Generation","lean-startup":"Lean Startup","machine-learning":"Machine Learning","management-consulting":"Management Consulting",marketing:"Marketing","marketing-automations":"Marketing Automations",marketplace:"Marketplace","market-research":"Market Research",materials:"Materials","materials-science":"Materials Science",mena:"MENA Region",mindfulness:"Mindfulness","mobile-development":"Mobile Development",motivation:"Motivation",nanotechnology:"Nanotechnology",networking:"Networking",nutrition:"Nutrition","online-games":"Online Games","open-source":"Open Source","organic-foods":"Organic Foods","organizational-development":"Organizational Development",patent:"Patent","payment-systems":"Payment Systems","pitch-decks":"Pitch Decks",planning:"Planning",politics:"Politics","presentation-skills":"Presentation Skills",press:"Press",pricing:"Pricing",privacy:"Privacy",procurement:"Procurement",prod:"Product","prod-dev":"Product Development","professional-coaching":"Professional Coaching","project-management":"Project Management",psychology:"Psychology","public-relations":"PR Public Relations",publishing:"Publishing",purchasing:"Purchasing ",quality:"Quality",recruitment:"Recruitment",renewables:"Renewables","reseller-management":"Reseller Management",resilience:"Resilience",robotics:"Robotics",saas:"SaaS",sales:"Sales","satellite-navigation":"Satellite Navigation","search-engines":"Search Engines","sea-technologies":"Sea Technologies",security:"Security",sem:"SEM Serch Engine Marketing","sharing-economy":"Sharing Economy",shipping:"Shipping","silicon-valley":"Silicon Valley","smart-cities":"Smart Cities","social-entrepreneurship":"Social Entrepreneurship","social-media":"Social media","soft-skills":"Soft Skills",software:"Software","software-dev":"Software Development","solar-power":"Solar Power","space-tech":"Space Tech",sports:"Sports",statistics:"Statistics",storytelling:"Storytelling",strategy:"Strategy","supply-chain":"Supply Chain",sustainability:"Sustainability","talent-management":"Talent Management",taxes:"Taxes","team-management":"Team Management",tech:"Tech",telecom:"Telecom","time-management":"Time Management",tourism:"Tourism",transport:"Transport",travel:"Travel",ui:"UI","unit-economics":"Unit Economics",ux:"UX",vc:"VC Venture Capitals","vegan-foods":"Vegan foods","viral-marketing":"Viral Marketing",vr:"VR Virtual Reality",waste:"Waste",water:"Water","wind-power":"Wind Power",youtube:"Youtube"},mentornityTerms:'\nAll persons who benefit from "MENTORNITY" services, who have access to "MENTORNITY" and who serve in "MENTORING, COACHING and ADVISING PROGRAM" with any of them in "MENTORNITY" are deemed to have accepted the user agreement.\n\nA) Definitions\n\n * MENTORNITY : Mentornity, mobile, desktop applications or mentornity.com website.\n\n * ORGANIZATION : MENTORING, COACHING, ADVISING or any program owner on "MENTORNITY"\n\n * USER : All mentors, consultants, experts, coaches, instructors, mentees, teacher or "ADMINISTRATORS" on "MENTORNITY"\n\n * ADMINISTRATOR : The "USER" who authorized to manage a "MENTORING, COACHING, CONSULTANCY PROGRAM" of "ORGANIZATION".\n\n* PROGRAM :  Communication, planning, scheduling and sharing platform has consultants, experts, coaches, trainers, mentees, mentors, students and/or group members, students under the responsibility of "ORGANIZATION" on "MENTORNITY".\n\nB) Terms of Use\n\n * "MENTORNITY" can change these rules or add new rules. The announcement of update can be sent via e-mail, blog and "MENTORNITY" social networks.\n\n * "ORGANIZATION" has the responsibility of sending invitations via MENTORNITY or via third-party tools to add USERS to the PROGRAM.\n\n * "USER" has the responsibility of its content (image, video, audio, comment, text, rating, feedback, information) on "MENTORNITY".\n\n * It is prohibited to share illegal content on "MENTORNITY" and to use humiliating expressions of individuals and institutions, to make religious or political propaganda, insulting others, smearing and using "MENTORNITY" for illegal activities.\n\n * "MENTORNITY" has no responsibility for perfection or expertise of mentors, consultants, coaches, teachers or instructors on "MENTORNITY".\n\n * "MENTORNITY" will not sell your personal information which is an e-mail address, phone number or any contact information.\n\n\n * MENTORNITY has Google Analytics, Google Adsense, Zopim or any third party service cookies (cookies) or "MENTORNITY" cookies for tracking, analyzing, measuring and evaluating "USER" behaviors on "MENTORNITY".\n\n * "MENTORNITY" can communicate with "USER"s via e-mail, phone or any channel about "MENTORNITY" services, other "MENTORING, COACHING, ADVISING PROGRAMS", third-parties, institutions, products.\n\n * "MENTORNITY" is not responsible for any disruptions or damages arising out of circumstances such as delays, broken connections, data loss, cyber-attacks that occur in the cloud or special servers that are rented, serviced and / or owned.\n\n * The team "MENTORNITY" strives to keep "MENTORNITY" up-to-date and operational. However, "MENTORNITY" can not be held responsible for delays, interruptions or damages caused by faults or faults found in "MENTORNITY" software.\n\n * "USER"s must protect their passwords and not share with others.\n\n* "USER"s should not login "MENTORNITY" with any other "USER" password.\n\n * "MENTORNITY" may display advertisements, promotions, campaigns and explanations about "MENTORNITY" or third-parties anywhere on the website or mobile application.\n\n * "MENTORNITY" can stop, interrupt or change services that provide.\n\n C) Privacy Policy\n\n * Please visit https://mentornity.com/privacy-policy to read our latest policy.\n\n * If you accept these terms of use you agree our privacy policy too.\n\n\n'}},function(e,t,n){"use strict";function o(e,t,n,o,i){var r=document.head.querySelector(e+"["+t+'="'+n+'"]');if((!r||r.getAttribute(o)!==i)&&(r&&r.parentNode.removeChild(r),"string"==typeof i)){var a=document.createElement(e);a.setAttribute(t,n),a.setAttribute(o,i),document.head.appendChild(a)}}function i(e,t){o("meta","name",e,"content",t)}t.a=i},function(e,t,n){},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i});var o={dark:"#34495e",darker:"#2c3e50",error:"#f5222d",grey:"#ecf0f1",greyDark:"#bdc3c7"},i={verticalSpaceBetweenInputs:"1.35rem"}},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(817),u=n(16);n.d(t,"a",function(){return p});var c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={},n}return r(t,e),d(t,[{key:"generateFieldDisplay",value:function(e){var t=this.state[e.id]||e.value;switch(e.type){case"multipleChoice":var n=[];return(e.options||[]).forEach(function(t){t.value===e.value&&n.push(t.label)}),c("div",{style:{marginBottom:"1.8rem"}},e.id,c("div",{style:{marginBottom:"0.5rem"}},void 0,e.title),c("p",{style:{fontSize:"0.9em",margin:0}},void 0,n.join(", ")));case"singleChoice":var o="";return(e.options||[]).forEach(function(t){t.value===e.value&&(o=t.label)}),c("div",{style:{marginBottom:"1.8rem"}},e.id,c("div",{style:{marginBottom:"0.5rem"}},void 0,e.title),c("p",{style:{fontSize:"0.9em",margin:0}},void 0,o));case"ratingStars":return c("div",{style:{marginBottom:"0.45rem"}},e.id,c("div",{style:{marginBottom:"0.5rem"}},void 0,e.title),c(l.a,{disabled:!0,field:e,onChange:function(){},onBlur:function(){},value:t},e.id));case"text":return c("div",{style:{marginBottom:"1.8rem"}},e.id,c("div",{style:{marginBottom:"0.5rem"}},void 0,e.title),c("p",{style:{fontSize:"0.9em",margin:0},dangerouslySetInnerHTML:{__html:'"'+u.a.linkify(e.value)+'"'}}));default:return null}}},{key:"render",value:function(){var e=this,t=this.props.fields,n=[];return t.forEach(function(t){n.push(e.generateFieldDisplay(t))}),c("div",{},void 0,n)}}]),t}(s.a.Component);p.defaultProps={}},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=(n.n(a),n(1483)),l=n.n(s),u=n(515),c=n.n(u),d=n(815),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),m={cursor:"pointer",color:"#555",height:"2rem",width:"2rem"},g={cursor:"inherit",color:"#aaa",height:"2rem",width:"2rem"},h=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={value:e.value},n}return r(t,e),f(t,[{key:"render",value:function(){for(var e=this.props,t=e.disabled,n=e.field,o=e.errors,i=e.onChange,r=e.value,a=o&&o.length>0,s=a?o[0]:void 0,u=n.starCount,f=[],h=function(e){e<r*u?t?f.push(p(c.a,{style:g},e)):f.push(p(c.a,{style:m,onClick:function(){return i((e+1)/u)}},e)):t?f.push(p(l.a,{style:g},e)):f.push(p(l.a,{style:m,onClick:function(){return i((e+1)/u)}},e))},v=0;v<u;v+=1)h(v);return p("div",{style:{}},void 0,f,p("div",{style:{color:d.a.error,minHeight:d.b.verticalSpaceBetweenInputs}},void 0,s))}}]),t}(a.Component);h.defaultProps={errors:[],value:void 0},t.a=h},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case r._39:switch(t.status){case r.n:return a({},e,{isPendingList:!0,fetchListError:null});case r.o:for(var n=t.payload.list,i={},l=0;l<n.length;l+=1)i[n[l]._id]=!1;return a({},e,{list:n,announcementVisibilities:i,isPendingList:!1,fetchListError:null});case r.p:return a({},e,{list:null,isPendingList:!1,fetchListError:t.payload.error});default:return e}case r._40:return a({},e,{announcementVisibilities:a({},e.announcementVisibilities,o({},t.payload.id,!e.announcementVisibilities[t.payload.id]))});case r.u:return a({},s);default:return e}}var r=n(21);t.a=i;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s={list:null,isPendingList:!1,fetchListError:null,announcementVisibilities:{}}},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){var t={},n=e.selectedCalendarWeek;if(n){var o=d({},e.calendarBundlesByWeek[n.relativeWeekNumber]);o&&(o.isInvalidated=!0,t[n.relativeWeekNumber]=o)}return t}function a(e,t){return d({},e.availabilitiesByMentors,i({},t,d({},e.availabilitiesByMentors[t]||{},{isInvalidated:!0})))}function s(e,t){if(!e.detailedEvents[t.payload.eventId])return e.detailedEvents;var n=d({},e.detailedEvents[t.payload.eventId].event);if(t.type===u._2){var r=d({},t.payload.note,{createdBy:t.payload.account});n.notes?n.notes=[].concat(o(n.notes),[r]):n.notes=[r]}else if(t.type===u._3){for(var a=[],s=0;s<n.notes.length;s+=1)n.notes[s]._id===t.payload.noteId?a.push(d({},n.notes[s],t.payload.note)):a.push(n.notes[s]);n.notes=a}else if(t.type===u._4){for(var l=[],c=0;c<n.notes.length;c+=1)n.notes[c]._id!==t.payload.noteId&&l.push(n.notes[c]);n.notes=l}return d({},e.detailedEvents,i({},t.payload.eventId,{event:n,isPending:!1,error:null}))}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=arguments[1];switch(t.type){case u.V:switch(t.status){case u.n:return d({},e,{chronologicalMeetingsError:null,isChronologicalMeetingsPending:!0});case u.o:var n=e.chronologicalMeetings||[];return d({},e,{chronologicalMeetingsError:null,isChronologicalMeetingsPending:!1,chronologicalMeetings:[].concat(o(n),o(t.payload.list)),chronologicalMeetingsEndReached:t.payload.list.length<5});case u.p:return d({},e,{isChronologicalMeetingsPending:!1,chronologicalMeetingsError:t.payload.error});default:return e}case u.X:switch(t.status){case u.n:return d({},e,{upcomingMeetingsError:null,isUpcomingMeetingsPending:!0});case u.o:return d({},e,{upcomingMeetingsError:null,isUpcomingMeetingsPending:!1,isUpcomingMeetingsInvalidated:!1,upcomingMeetings:t.payload.list});case u.p:return d({},e,{isUpcomingMeetingsPending:!1,upcomingMeetingsError:t.payload.error});default:return e}case u.Y:switch(t.status){case u.n:return d({},e,{meetingsInMeetingGoalError:null,isMeetingsInMeetingGoalPending:!0});case u.o:return d({},e,{meetingsInMeetingGoalError:null,isMeetingsInMeetingGoalPending:!1,meetingsInMeetingGoal:t.payload.list});case u.p:return d({},e,{isMeetingsInMeetingGoalPending:!1,meetingsInMeetingGoalError:t.payload.error});default:return e}case u._6:return d({},e,{selectedCalendarWeek:t.payload.week});case u._5:switch(t.status){case u.n:return d({},e,{calendarBundlesByWeek:d({},e.calendarBundlesByWeek,i({},t.payload.week.relativeWeekNumber,d({},e.calendarBundlesByWeek[t.payload.week.relativeWeekNumber],{isPending:!0})))});case u.o:return d({},e,{calendarBundlesByWeek:d({},e.calendarBundlesByWeek,i({},t.payload.week.relativeWeekNumber,d({},e.calendarBundlesByWeek[t.payload.week.relativeWeekNumber],{calendarBundleList:t.payload.calendarBundleList.sort(function(e,t){return e.availabilities[0].startDate<t.availabilities[0].startDate?-1:e.availabilities[0].startDate>t.availabilities[0].startDate?1:0}),isInvalidated:!1,isPending:!1})))});case u.p:return d({},e,{calendarBundlesByWeek:d({},e.calendarBundlesByWeek,i({},t.payload.week.relativeWeekNumber,{error:t.payload.error,isPending:!1}))});default:return e}case u._0:switch(t.status){case u.n:return d({},e,{meetingsHistoriesByUser:d({},e.meetingsHistoriesByUser,i({},t.payload.profileId,{isPending:!0}))});case u.o:var l=t.payload.profileId,f=e.meetingsHistoriesByUser[l]||[];return d({},e,{meetingsHistoriesByUser:d({},e.meetingsHistoriesByUser,i({},t.payload.profileId,{isPending:!1,list:[].concat(o(f),o(t.payload.list)),isEndReached:t.payload.list.length<c.a}))});case u.p:return d({},e,{meetingsHistoriesByUser:d({},e.meetingsHistoriesByUser,i({},t.payload.profileId,{isPending:!1,error:t.payload.error}))});default:return e}case u._1:switch(t.status){case u.n:return d({},e,{meetingsHistoriesByGroup:d({},e.meetingsHistoriesByGroup,i({},t.payload.groupId,{isPending:!0}))});case u.o:return d({},e,{meetingsHistoriesByGroup:d({},e.meetingsHistoriesByGroup,i({},t.payload.groupId,{isPending:!1,meetingBundleList:t.payload.list||{}}))});case u.p:return d({},e,{meetingsHistoriesByGroup:d({},e.meetingsHistoriesByGroup,i({},t.payload.groupId,{isPending:!1,error:t.payload.error}))});default:return e}case u.Z:switch(t.status){case u.n:var m=e.availabilitiesByMentors[t.payload.mentorId]||{};return d({},e,{availabilitiesByMentors:d({},e.availabilitiesByMentors,i({},t.payload.mentorId,d({},m,{isPending:!0})))});case u.o:return d({},e,{availabilitiesByMentors:d({},e.availabilitiesByMentors,i({},t.payload.mentorId,{isPending:!1,isInvalidated:!1,availabilities:t.payload.list,start:t.payload.start}))});case u.p:return d({},e,{availabilitiesByMentors:d({},e.availabilitiesByMentors,i({},t.payload.mentorId,{isPending:!1,error:t.payload.error}))});default:return e}case u.W:switch(t.status){case u.n:var g=e.availabilitiesByMentors[t.payload.mentorId]||{};return d({},e,{chronologicalMeetingsBySuite:d({},e.chronologicalMeetingsBySuite,i({},t.payload.suiteId,d({},g,{isPending:!0})))});case u.o:return d({},e,{chronologicalMeetingsBySuite:d({},e.chronologicalMeetingsBySuite,i({},t.payload.suiteId,{isPending:!1,isInvalidated:!1,list:t.payload.list,isEndReached:t.payload.list.length<c.a}))});case u.p:return d({},e,{chronologicalMeetingsBySuite:d({},e.chronologicalMeetingsBySuite,i({},t.payload.suiteId,{isPending:!1,error:t.payload.error}))});default:return e}case u._7:switch(t.status){case u.n:return d({},e,{isAvailabilityCreated:!1,createAvailabilityError:null,isCreateAvailabilityPending:!0});case u.o:var h=t.payload.availability.owner._id,v=e.availabilitiesByMentors[h].availabilities,y=e.availabilitiesByMentors[h].start;return d({},e,{availabilitiesByMentors:d({},e.availabilitiesByMentors,i({},h,{isPending:!1,isInvalidated:!0,availabilities:[].concat(o(v)),start:y})),isAvailabilityCreated:!0,createAvailabilityError:null,isCreateAvailabilityPending:!1});case u.p:return d({},e,{isAvailabilityCreated:!1,createAvailabilityError:t.payload.error,isCreateAvailabilityPending:!1});default:return e}case u._8:switch(t.status){case u.n:return d({},e,{isAvailabilityDeleted:!1,deleteAvailabilityError:null,isDeleteAvailabilityPending:!0});case u.o:for(var _=t.payload.availability.owner._id,b=JSON.parse(JSON.stringify(e.availabilitiesByMentors[_].availabilities)),w=e.availabilitiesByMentors[_].start,S=0;S<b.length;S+=1)if(b[S]._id===t.payload.availability._id){b.splice(S,1);break}return d({},e,{availabilitiesByMentors:d({},e.availabilitiesByMentors,i({},_,{isPending:!1,availabilities:b,start:w})),isAvailabilityDeleted:!0,deleteAvailabilityError:null,isDeleteAvailabilityPending:!1});case u.p:return d({},e,{isAvailabilityDeleted:!1,deleteAvailabilityError:t.payload.error,isDeleteAvailabilityPending:!1});default:return e}case u._10:return d({},e,{isMeetingCreated:!1,createMeetingError:null,isCreateMeetingPending:!1});case u._9:switch(t.status){case u.n:return d({},e,{isMeetingCreated:!1,createMeetingError:null,isCreateMeetingPending:!0});case u.o:var x=r(e),A=e.availabilitiesByMentors,P=t.payload.event;return P&&P.guests&&P.guests.length>0&&(A=a(e,P.guests[0]._id)),d({},p,{event:P,upcomingMeetings:e.upcomingMeetings,isMeetingCreated:!0,isUpcomingMeetingsInvalidated:!0,availabilitiesByMentors:A,calendarBundlesByWeek:x});case u.p:return d({},e,{isMeetingCreated:!1,createMeetingError:t.payload.error,isCreateMeetingPending:!1});default:return e}case u._11:switch(t.status){case u.n:return d({},e,{detailedEvents:d({},e.detailedEvents,i({},t.payload.id,{isPending:!0,error:null}))});case u.o:return d({},e,{detailedEvents:d({},e.detailedEvents,i({},t.payload.id,{isPending:!1,event:t.payload.item,error:null}))});case u.p:return d({},e,{detailedEvents:d({},e.detailedEvents,i({},t.payload.id,{isPending:!1,error:t.payload.error}))});default:return e}case u._12:var C=t.payload,k=C.id;switch(t.status){case u.n:return d({},e,{eventsBeingProcessed:d({},e.eventsBeingProcessed,i({},k,{isPending:!0}))});case u.o:var M=d({},e.detailedEvents);return e.detailedEvents&&e.detailedEvents[k]&&(M=d({},e.detailedEvents,i({},k,{isPending:!1,event:d({},e.detailedEvents[k].event,t.payload.updatedData),error:null}))),d({},p,{detailedEvents:M,availabilitiesByMentors:e.availabilitiesByMentors,eventsBeingProcessed:d({},e.eventsBeingProcessed,i({},k,{isPending:!1,error:null})),upcomingMeetings:e.upcomingMeetings,isUpcomingMeetingsInvalidated:!0});case u.p:return d({},e,{eventsBeingProcessed:d({},e.eventsBeingProcessed,i({},k,{isPending:!1,error:t.payload.error}))});default:return e}case u._13:switch(t.status){case u.n:return d({},e,{eventsBeingProcessed:d({},e.eventsBeingProcessed,i({},t.payload.event._id,{isPending:!0}))});case u.o:var T=t.payload.event,O=T._id,E=d({},e.detailedEvents);e.detailedEvents&&e.detailedEvents[O]&&(E=d({},e.detailedEvents,i({},O,{isPending:!1,event:d({},e.detailedEvents[O].event,t.payload.updatedData),error:null})));var I=r(e),N=e.availabilitiesByMentors;return T&&T.guests&&T.guests.length>0&&(N=a(e,T.guests[0]._id)),d({},p,{availabilitiesByMentors:N,calendarBundlesByWeek:I,detailedEvents:E,eventsBeingProcessed:d({},e.eventsBeingProcessed,i({},O,{isPending:!1,error:t.payload.error})),upcomingMeetings:e.upcomingMeetings,isUpcomingMeetingsInvalidated:!0});case u.p:return d({},e,{eventsBeingProcessed:d({},e.eventsBeingProcessed,i({},t.payload.event._id,{isPending:!1,error:t.payload.error}))});default:return e}case u._2:case u._3:case u._4:switch(t.status){case u.n:return d({},e,{meetingsHistoriesByUser:d({},e.meetingsHistoriesByUser),isPendingNoteCreation:!0});case u.o:var D={};if(!t.payload.profileId&&!t.payload.groupId){var j=s(e,t);return d({},p,{detailedEvents:j})}t.payload.profileId&&e.meetingsHistoriesByUser[t.payload.profileId]?D=JSON.parse(JSON.stringify(e.meetingsHistoriesByUser[t.payload.profileId])):t.payload.groupId&&e.meetingsHistoriesByGroup[t.payload.groupId]&&(D=JSON.parse(JSON.stringify(e.meetingsHistoriesByGroup[t.payload.groupId])));for(var R in D.meetingBundleList){var F=D.meetingBundleList[R].events;if(t.type===u._2)for(var L=d({},t.payload.note,{createdBy:t.payload.account}),U=0;U<F.length;U+=1)F[U]._id===t.payload.eventId&&(F[U].notes?F[U].notes=[].concat(o(F[U].notes),[L]):F[U].notes=[L]);else if(t.type===u._3){for(var B=0;B<F.length;B+=1)if(F[B]._id===t.payload.eventId){for(var Z=[],Y=0;Y<F[B].notes.length;Y+=1)F[B].notes[Y]._id===t.payload.noteId?Z.push(d({},F[B].notes[Y],t.payload.note)):Z.push(F[B].notes[Y]);F[B].notes=Z;break}}else if(t.type===u._4)for(var G=0;G<F.length;G+=1)if(F[G]._id===t.payload.eventId){for(var H=[],W=0;W<F[G].notes.length;W+=1)F[G].notes[W]._id!==t.payload.noteId&&H.push(F[G].notes[W]);F[G].notes=H;break}}var z=s(e,t);return t.payload.profileId?d({},e,{detailedEvents:z,meetingsHistoriesByUser:d({},e.meetingsHistoriesByUser,i({},t.payload.profileId,D)),isPendingNoteCreation:!1}):d({},e,{detailedEvents:z,meetingsHistoriesByGroup:d({},e.meetingsHistoriesByGroup,i({},t.payload.groupId,D)),isPendingNoteCreation:!1});case u.p:return d({},e,{isPendingNoteCreation:!1});default:return e}case u._21:switch(t.status){case u.o:var X=t.payload.formResponse;if(!X||"feedback"!==X.type)return e;for(var V=e.chronologicalMeetings?[].concat(o(e.chronologicalMeetings)):[],Q=0;Q<V.length;Q+=1){var q=V[Q];if(X.event._id===q._id){q.feedback=X;break}}return d({},e,{chronologicalMeetings:V});default:return e}case u.I:case u.J:case u.K:case u.H:switch(t.status){case u.o:var J=r(e);return d({},e,{calendarBundlesByWeek:J});default:return e}case u.u:return d({},p);case u._14:return d({},e,{mentorSkillFilter:t.payload.filter});default:return e}}var u=n(21),c=n(168);t.a=l;var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},p={upcomingMeetingsError:void 0,isUpcomingMeetingsPending:!1,isUpcomingMeetingsInvalidated:!1,upcomingMeetings:void 0,detailedEvents:{},availabilitiesByMentors:{},event:void 0,calendarBundlesByWeek:{},selectedCalendarWeek:null,mentorSkillFilter:[],eventsBeingProcessed:{},meetingsHistoriesByUser:{},meetingsHistoriesByGroup:{},isPendingNoteCreation:!1,chronologicalMeetingsBySuite:{},isPendingChronologicalMeetings:!1,isMeetingCreated:!1,createMeetingError:null,isCreateMeetingPending:!1,isAvailabilityCreated:!1,createAvailabilityError:null,isCreateAvailabilityPending:!1,isAvailabilityDeleted:!1,deleteAvailabilityError:null,isDeleteAvailabilityPending:!1,chronologicalMeetingsError:null,isChronologicalMeetingsPending:!1,chronologicalMeetings:null,chronologicalMeetingsEndReached:!1,meetingsInMeetingGoal:null,meetingsInMeetingGoalError:null,isMeetingsInMeetingGoalPending:!1}},function(e,t,n){"use strict";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments[1];switch(t.type){case i.a:return t.payload.style;default:return e}}var i=n(21);t.a=o},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.payload;switch(t.type){case a.T:switch(n.status){case a.n:return l({},e,{error:null,isPending:!0});case a.o:return s.a.createConversation(n),l({},c,{userHavingConversationWith:e.userHavingConversationWith,eventHavingConversationWith:e.eventHavingConversationWith});case a.p:return l({},e,{isPending:!1,error:n.error});default:return e}case a.U:switch(n.status){case a.n:var r=e.messagesByConversations[n.conversationId]||{};return l({},e,{messagesByConversations:l({},e.messagesByConversations,o({},n.conversationId,l({},r,{isCreatePending:!0,error:null})))});case a.o:var m=d(e.conversations)||[];m=f(m,n.message),m.sort(function(e,t){return t.lastMessage.createdAt-e.lastMessage.createdAt});var g=d(e.messagesByConversations);return g=p(g,n.message,!0),l({},e,{conversations:m,messagesByConversations:g});case a.p:var h=e.messagesByConversations[n.conversationId]||{};return l({},e,{messagesByConversations:l({},e.messagesByConversations,o({},n.conversationId,l({},h,{isCreatePending:!1,error:n.error})))});default:return e}case a.P:return l({},e,{isPending:!1,error:void 0});case a.O:switch(n.status){case a.n:return l({},e,{error:null,isPending:!0,isEndReached:!1});case a.o:var v={},y={},_=n.accountId,b=n.skip?[].concat(i(e.conversations),i(n.conversations)):n.conversations;return b.sort(function(e,t){return t.lastMessage.createdAt-e.lastMessage.createdAt}),b.forEach(function(e){var t=e.participants[0]._id===_?e.participants[1]:e.participants[0];v[t._id]=e,y[e._id]=e}),l({},e,{error:null,isPending:!1,conversations:b,conversationsById:y,conversationsByUser:v,isEndReached:!1});case a.p:return l({},e,{isPending:!1,error:n.error});default:return e}case a.Q:switch(n.status){case a.n:return l({},e,{fetchNewMessagesError:null,isPendingNewMessages:!0});case a.o:if(!n.messages)return e;for(var w=JSON.parse(JSON.stringify(e.messagesByConversations)),S=e.conversations?JSON.parse(JSON.stringify(e.conversations)):[],x=0;x<n.messages.length;x+=1){var A=n.messages[x];w=p(w,A),S=f(S,A)}return S.sort(function(e,t){return t.lastMessage.createdAt-e.lastMessage.createdAt}),l({},e,{conversations:S,messagesByConversations:w,isPendingNewMessages:!1,fetchNewMessagesError:null});case a.p:return l({},e,{isPendingNewMessages:!1,fetchNewMessagesError:n.error});default:return e}case a.R:switch(t.status){case a.o:if(!n.messages)return e;for(var P=JSON.parse(JSON.stringify(e.messagesByConversations)),C=e.conversations?JSON.parse(JSON.stringify(e.conversations)):[],k=0;k<n.messages.length;k+=1){var M=n.messages[k];P=p(P,M),C=f(C,M)}return C.sort(function(e,t){return t.lastMessage.createdAt-e.lastMessage.createdAt}),l({},e,{conversations:C,messagesByConversations:P,isPendingNewMessages:!1,fetchNewMessagesError:null});default:return e}case a.S:switch(n.status){case a.n:var T=n.conversationId,O=e.messagesByConversations[T]||{};return l({},e,{messagesByConversations:l({},e.messagesByConversations,o({},T,l({},O,{isPending:!0,error:null})))});case a.o:var E=n.conversationId,I=e.messagesByConversations[E]||{};return l({},e,{error:null,isPending:!1,messagesByConversations:l({},e.messagesByConversations,o({},E,l({},I,{messages:[].concat(i(I.messages||[]),i(n.messages)),isEndReached:n.messages.length<u,isPending:!1,error:null})))});case a.p:var N=n.conversationId,D=e.messagesByConversations[N]||{};return l({},e,{messagesByConversations:l({},e.messagesByConversations,o({},N,l({},D,{isPending:!1,error:n.error})))});default:return e}case a.j:return l({},e,{eventHavingConversationWith:void 0,userHavingConversationWith:n.userHavingConversationWith});case a.k:return l({},e,{userHavingConversationWith:void 0,eventHavingConversationWith:n.eventHavingConversationWith});default:return e}}var a=n(21),s=n(142);t.a=r;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u=10,c={conversations:void 0,error:null,isPending:!1,isEndReached:!1,conversationsById:{},conversationsByUser:{},messagesByConversations:{},messagesBeingUpdated:{},userHavingConversationWith:void 0,eventHavingConversationWith:void 0},d=function(e){return e?JSON.parse(JSON.stringify(e)):null},p=function(e,t,n){var r=t.conversation._id,a=e[r];if(!a)return e;n&&(a.error=null,a.isCreatePending=!1);for(var s=a.messages||[],u=0;u<s.length;u+=1)if(s[u]._id===t._id)return e;var c=[t].concat(i(d(a.messages||[])));return c.sort(function(e,t){return t.createdAt-e.createdAt}),l({},e,o({},r,l({},a,{messages:c})))},f=function(e,t){for(var n=0;n<e.length;n+=1)if(t.conversation._id===e[n]._id&&t.createdAt>e[n].lastMessage.createdAt)return e[n].lastMessage=t,e;return e}},function(e,t,n){"use strict";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isShown:!1,title:null,actions:null,message:null,isDismissable:!0},t=arguments[1];switch(t.type){case i.b:return r({},t.payload,{isShown:!0});case i.c:return{isShown:!1};default:return e}}var i=n(21);t.a=o;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},function(e,t,n){"use strict";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i._37:switch(t.status){case i.n:return r({},e,{isPendingOrganisations:!0,fetchOrganisationsError:null});case i.o:return r({},e,{organisations:t.payload.list,isPendingOrganisations:!1,fetchOrganisationsError:null});case i.p:return r({},e,{isPendingOrganisations:!1,fetchOrganisationsError:t.payload.error});default:return e}default:return e}}var i=n(21);t.a=o;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a={organisations:null,isPendingOrganisations:!1,fetchOrganisationsError:null}},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{feedsByOrganisation:{}},t=arguments[1];switch(t.type){case a._36:switch(t.status){case a.n:var n=e.feedsByOrganisation[t.payload.id];return s({},e,{feedsByOrganisation:s({},e.feedsByOrganisation,i({},t.payload.id,{feed:n?n.feed:null,endReached:!!n&&n.endReached,isPending:!0,error:null}))});case a.o:var r=e.feedsByOrganisation[t.payload.id],l=r&&r.feed?r.feed:[];return s({},e,{feedsByOrganisation:s({},e.feedsByOrganisation,i({},t.payload.id,{feed:[].concat(o(l),o(t.payload.list)),endReached:t.payload.list.length<10,isPending:!1,error:null}))});case a.p:var u=e.feedsByOrganisation[t.payload.id];return s({},e,{feedsByOrganisation:s({},e.feedsByOrganisation,i({},t.payload.id,{feed:u?u.feed:null,endReached:!!u&&u.endReached,isPending:!1,error:t.payload.error}))});default:return e}case a.u:case a._9:case a._13:case a._2:case a._3:case a._4:return{feedsByOrganisation:{}};default:return e}}var a=n(21);t.a=r;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case r._23:return s;case r._19:switch(t.status){case r.n:return a({},e,{isPendingList:!0,fetchListError:null});case r.o:return a({},e,{isPendingList:!1,fetchListError:null,list:t.payload.list,isEndReached:!0});case r.p:return a({},e,{isPendingList:!1,fetchListError:t.payload.error});default:return e}case r._20:switch(t.status){case r.n:return a({},e,{isPendingList:!0,fetchListError:null});case r.o:return a({},e,{isPendingList:!1,fetchListError:null,assignedList:t.payload.list,isEndReached:!0});case r.p:return a({},e,{isPendingList:!1,fetchListError:t.payload.error});default:return e}case r._21:switch(t.status){case r.n:return a({},e,{sendFormError:null,isSendFormResponsePending:!0});case r.o:var n=t.payload,i=void 0;return e.list&&(i=[].concat(o(e.list)).map(function(e){return e._id===n.formId?a({},e,{responses:[].concat(o(e.responses||[]),[n.formResponse])}):e})),a({},e,{list:i,sendFormError:null,isSendFormResponsePending:!1});case r.p:return a({},e,{sendFormError:t.payload.error,isSendFormResponsePending:!1});default:return e}case r._22:switch(t.status){case r.n:return a({},e,{sendFormError:null,isSendFormResponsePending:!0});case r.o:var l=t.payload,u=void 0;return e.list&&(u=[].concat(o(e.list)).map(function(e){return e._id===l.formId?a({},e,{responses:(e.responses||[]).map(function(e){return e._id===l.formResponse._id?a({},e,l.formResponse):e})}):e})),a({},e,{list:u,sendFormError:null,isSendFormResponsePending:!1});case r.p:return a({},e,{sendFormError:t.payload.error,isSendFormResponsePending:!1});default:return e}case r.u:return a({},s);default:return e}}var r=n(21);t.a=i;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s={list:null,assignedList:null,detailedList:null,isPendingList:!1,isEndReached:!1,fetchListError:null,isSendFormResponsePending:!1,sendFormError:null}},function(e,t,n){"use strict";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.a;return arguments[1].type,e}var i=n(812);t.a=o,String.prototype.format||(String.prototype.format=function(){var e=arguments;return this.replace(/{(\d+)}/g,function(t,n){return void 0!==e[n]?e[n]:t})})},function(e,t,n){"use strict";var o=n(345),i=n(828),r=n(826),a=n(824),s=n(825),l=n(834),u=n(822),c=n(382),d=n(832),p=n(830),f=n(829),m=n(823),g=n(819),h=n(835),v=n(820),y=n(818),_=n(821),b=n(831),w=n(833);t.a=n.i(o.d)({nav:i.a,i18n:r.a,feed:a.a,users:l.a,forms:s.a,groups:c.a,suites:d.a,dialog:u.a,explore:m.a,runtime:f.a,session:p.a,calendar:g.a,videoCall:h.a,commonStyle:v.a,announcements:y.a,conversations:_.a,stickyMessage:b.a,userStatuses:w.a})},function(e,t,n){"use strict";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i.g:return r({},e,{isLeftNavOpen:!e.isLeftNavOpen});case i.h:return r({},e,{isLeftNavOpen:t.payload.isOpen});case i.i:return r({},e,{isRightNavOpen:t.payload.open,rightNavContentType:t.payload.rightNavContentType});default:return e}}var i=n(21);t.a=o;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a={isLeftNavOpen:!0,isRightNavOpen:!0,rightNavContentType:"conversations"}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case r._42:return a({},e,o({},t.payload.name,t.payload.value));default:return e}}var r=n(21);t.a=i;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{account:null,accountId:null,settings:null,isLoggedIn:!1,accountStatus:void 0,contexts:null,sContext:null,loginError:null,isLoginPending:!1,oAuthError:null,isOAuthPending:!1,isLoginOAuthPending:!1,isInvitationAccepted:!1,acceptInvitationError:null,isAcceptInvitationPending:!1,isPasswordReset:!1,resetPasswordError:null,isResetPasswordPending:!1,isPasswordSet:!1,setPasswordError:null,isSetPasswordPending:!1,isSettingsUpdated:!1,updateSettingsError:null,isUpdateSettingsPending:!1,isAccountUpdated:!1,updateAccountError:null,isUpdateAccountPending:!1,isAvatarUpdated:!1,updateAvatarError:null,isUpdateAvatarPending:!1,isGroupCreated:!1,createGroupError:null,isCreateGroupPending:!1,isGroupUpdated:!1,updateGroupError:null,isUpdateGroupPending:!1,isGroupImageUpdated:!1,updateGroupImageError:null,isUpdateGroupImagePending:!1,isMemberAdded:!1,addGroupMemberError:null,isAddGroupMemberPending:!1,isMentorshipUpdated:!1,updateMentorshipError:null,isUpdateMentorshipPending:!1},t=arguments[1];switch(t.type){case r.m:switch(t.status){case r.n:return a({},e,{account:null,accountId:null,loginError:null,isLoggedIn:!1,isLoginPending:!0});case r.o:return a({},e,{accountId:t.payload.response.user._id,isLoggedIn:!0,loginError:null,isLoginPending:!1,accessToken:t.payload.response.accessToken});case r.p:return a({},e,{account:null,accountId:null,isLoggedIn:!1,isLoginPending:!1,loginError:t.payload.error});default:return e}case r.r:switch(t.status){case r.n:return a({},e,{isLoginOAuthPending:!0,oAuthError:null});case r.o:return a({},e,{isLoginOAuthPending:!1,oAuthError:null,isLoggedIn:!0});case r.p:return a({},e,{isLoginOAuthPending:!1,oAuthError:t.payload.error});default:return e}case r.q:case r.s:switch(t.status){case r.n:return a({},e,{isOAuthPending:!0,oAuthError:null});case r.o:return a({},e,{isOAuthPending:!1,oAuthError:null});case r.p:return a({},e,{isOAuthPending:!1,oAuthError:t.payload.error});default:return e}case r._41:return a({},e,{isPending:!1,account:null,accessToken:null,isLoggedIn:!1,error:null});case r.l:return a({},e,{accountStatus:t.payload.status});case r.t:switch(t.status){case r.n:return a({},e,{isInvitationAccepted:!1,acceptInvitationError:null,isAcceptInvitationPending:!0});case r.o:return a({},e,{isInvitationAccepted:!0,acceptInvitationError:null,isAcceptInvitationPending:!1});case r.p:return a({},e,{isInvitationAccepted:!1,acceptInvitationError:t.payload.error,isAcceptInvitationPending:!1});default:return e}case r.v:switch(t.status){case r.n:return a({},e,{isPasswordReset:!1,resetPasswordError:null,isResetPasswordPending:!0});case r.o:return a({},e,{isPasswordReset:!0,resetPasswordError:null,isResetPasswordPending:!1});case r.p:return a({},e,{isPasswordReset:!1,resetPasswordError:t.payload.error,isResetPasswordPending:!1});default:return e}case r.w:switch(t.status){case r.n:return a({},e,{isPasswordSet:!1,setPasswordError:null,isSetPasswordPending:!0});case r.o:return a({},e,{isPasswordSet:!0,setPasswordError:null,isSetPasswordPending:!1});case r.p:return a({},e,{isPasswordSet:!1,setPasswordError:t.payload.error,isSetPasswordPending:!1});default:return e}case r.y:switch(t.status){case r.n:return a({},e,{isMentorshipUpdated:!1,updateMentorshipError:null,isUpdateMentorshipPending:!0});case r.o:for(var n=e.sContext,i=JSON.parse(JSON.stringify(e.contexts)),s=0;s<i.length;s+=1){var l=i[s];if("mentor"===l.role&&l.mentorship&&l.mentorship._id===t.payload.id){l.mentorship=a({},l.mentorship,t.payload.updatedFields),l.mentorship.organisation._id===n.organisation._id&&(n=l);break}}return a({},e,{sContext:n,contexts:i,isMentorshipUpdated:!0,updateMentorshipError:null,isUpdateMentorshipPending:!1});case r.p:return a({},e,{isMentorshipUpdated:!1,isUpdateMentorshipPending:!1,updateMentorshipError:t.payload.error});default:return e}case r.x:switch(t.status){case r.n:return a({},e,{isSettingsUpdated:!1,updateSettingsError:null,isUpdateSettingsPending:!0});case r.o:return a({},e,{settings:a({},e.settings,t.payload.updatedFields),isSettingsUpdated:!0,updateSettingsError:null,isUpdateSettingsPending:!1});case r.p:return a({},e,{isSettingsUpdated:!1,updateSettingsError:t.payload.error,isUpdateSettingsPending:!1});default:return e}case r.z:switch(t.status){case r.n:return a({},e,{isPasswordUpdated:!1,updatePasswordError:null,isUpdatePasswordPending:!0});case r.o:return a({},e,{isPasswordUpdated:!0,updatePasswordError:null,isUpdatePasswordPending:!1});case r.p:return a({},e,{isPasswordUpdated:!1,updatePasswordError:t.payload.error,isUpdatePasswordPending:!1});default:return e}case r.A:switch(t.status){case r.n:return a({},e,{isEmailUpdated:!1,updateEmailError:null,isUpdateEmailPending:!0});case r.o:return a({},e,{isEmailUpdated:!0,updateEmailError:null,isUpdateEmailPending:!1});case r.p:return a({},e,{isEmailUpdated:!1,updateEmailError:t.payload.error,isUpdateEmailPending:!1});default:return e}case r.B:switch(t.status){case r.n:return a({},e,{isAccountUpdated:!1,updateAccountError:null,isUpdateAccountPending:!0});case r.o:return a({},e,{account:a({},e.account,t.payload),isAccountUpdated:!0,updateAccountError:null,isUpdateAccountPending:!1});case r.p:return a({},e,{isAccountUpdated:!1,updateAccountError:t.payload.error,isUpdateAccountPending:!1});default:return e}case r.C:switch(t.status){case r.n:return a({},e,{isAvatarUpdated:!1,updateAvatarError:null,isUpdateAvatarPending:!0});case r.o:return a({},e,{account:a({},e.account,t.payload),isAvatarUpdated:!0,updateAvatarError:null,isUpdateAvatarPending:!1});case r.p:return a({},e,{isAvatarUpdated:!1,updateAvatarError:t.payload.error,isUpdateAvatarPending:!1});default:return e}case r._31:switch(t.status){case r.o:for(var u=t.payload.data,c=e.sContext,d=JSON.parse(JSON.stringify(e.contexts)),p=0;p<d.length;p+=1){var f=d[p];if(f.metadata&&f.metadata._id===u._id){f.metadata=a({},f.metadata,u),f.metadata.organisation._id===c.organisation._id&&(c=f);break}}return a({},e,{sContext:c,contexts:d,isMentorshipUpdated:!0,updateMentorshipError:null,isUpdateMentorshipPending:!1});default:return e}case r.D:switch(t.status){case r.n:return a({},e,{isGroupCreated:!1,createGroupError:null,isCreateGroupPending:!0});case r.o:for(var m=t.payload,g=m.organisation._id,h=JSON.parse(JSON.stringify(e.contexts)),v=null,y=0;y<h.length;y+=1){var _=h[y];if(_.organisation._id===g){_.group=a({},_.group||{},m),v=_;break}}return a({},e,{sContext:v,contexts:h,isGroupCreated:!0,createGroupError:null,isCreateGroupPending:!1});case r.p:return a({},e,{isGroupCreated:!1,createGroupError:t.payload.error,isCreateGroupPending:!1});default:return e}case r.E:switch(t.status){case r.n:return a({},e,{isGroupUpdated:!1,updateGroupError:null,isUpdateGroupPending:!0});case r.o:for(var b=t.payload,w=JSON.parse(JSON.stringify(e.contexts)),S=null,x=0;x<w.length;x+=1){var A=w[x];if(A.group&&A.group._id===b._id){A.group=a({},A.group,b),S=A;break}}return a({},e,{sContext:S,contexts:w,isGroupUpdated:!0,updateGroupError:null,isUpdateGroupPending:!1});case r.p:return a({},e,{isGroupUpdated:!1,updateGroupError:t.payload.error,isUpdateGroupPending:!1});default:return e}case r.F:switch(t.status){case r.n:return a({},e,{isGroupImageUpdated:!1,updateGroupImageError:null,isUpdateGroupImagePending:!0});case r.o:for(var P=t.payload,C=JSON.parse(JSON.stringify(e.contexts)),k=null,M=0;M<C.length;M+=1){var T=C[M];if(T.group&&T.group._id===P._id){T.group=a({},T.group,P),k=T;break}}return a({},e,{sContext:k,contexts:C,isGroupImageUpdated:!0,updateGroupImageError:null,isUpdateGroupImagePending:!1});case r.p:return a({},e,{isGroupImageUpdated:!1,updateGroupImageError:t.payload.error,isUpdateGroupImagePending:!1});default:return e}case r.G:switch(t.status){case r.n:return a({},e,{isMemberAdded:!1,addGroupMemberError:null,isAddGroupMemberPending:!0});case r.o:for(var O=t.payload.group,E=t.payload.newMember,I=JSON.parse(JSON.stringify(e.contexts)),N=null,D=0;D<I.length;D+=1){var j=I[D];if(j.group&&j.group._id===O._id){j.group=a({},j.group,{members:[].concat(o(O.members),[E])}),N=j;break}}return a({},e,{sContext:N,contexts:I,isMemberAdded:!0,addGroupMemberError:null,isAddGroupMemberPending:!1});case r.p:return a({},e,{isMemberAdded:!1,addGroupMemberError:t.payload.error,isAddGroupMemberPending:!1});default:return e}case r.u:return a({},e,{sContext:t.payload.context,contexts:[t.payload.context]});default:return e}}var r=n(21);t.a=i;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},function(e,t,n){"use strict";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{message:void 0,closeAction:void 0},t=arguments[1];switch(t.type){case i._17:return{message:t.payload.message,closeAction:t.payload.closeAction,closeActionType:t.payload.closeActionType};case i._18:return{message:void 0,closeAction:void 0,closeActionType:void 0};default:return e}}var i=n(21);t.a=o},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case a._43:switch(t.status){case a.n:return u({},e,{isPendingList:!0,fetchListError:null});case a.o:var n=t.payload.list;return n.sort(s.b),u({},e,{isPendingList:!1,fetchListError:null,list:[].concat(i(e.list||[]),i(n)),detailedList:[].concat(i(e.detailedList||[]),i(n)),isEndReached:n.length<l.a});case a.p:return u({},e,{isPendingList:!1,fetchListError:t.payload.error});default:return e}case a._44:switch(t.status){case a.n:return u({},e,{pendingList:u({},e.pendingList,o({},t.payload.id,!0)),errorList:u({},e.errorList,o({},t.payload.id,void 0))});case a.o:var r=t.payload.item,d=e.detailedList?[].concat(i(e.detailedList)):[];if(r){for(var p=!1,f=0;f<d.length;f+=1)if(d[f]._id===r){d[f]=r,p=!0;break}p||d.push(r)}return u({},e,{detailedList:d,pendingList:u({},e.pendingList,o({},t.payload.id,!1)),errorList:u({},e.errorList,o({},t.payload.id,void 0))});case a.p:return delete u({},e.pendingList)[t.payload.id],u({},e,{pendingList:u({},e.pendingList,o({},t.payload.id,!1)),errorList:u({},e.errorList,o({},t.payload.id,t.payload.error))});default:return e}case a._45:switch(t.status){case a.n:return u({},e,{updateList:u({},e.updateList,o({},t.payload.id,!0)),errorList:u({},e.errorList,o({},t.payload.id,void 0))});case a.o:for(var m=t.payload.item,g=e.detailedList?[].concat(i(e.detailedList)):[],h=0;h<g.length;h+=1)if(g[h]._id===m._id){g[h]=u({},g[h],m);break}return u({},e,{detailedList:g,updateList:u({},e.updateList,o({},m._id,!1)),errorList:u({},e.errorList,o({},m._id,void 0))});case a.p:return u({},e,{updateList:u({},e.updateList,o({},t.payload.id,!1)),errorList:u({},e.errorList,o({},t.payload.id,t.payload.error))});default:return e}case a.u:return u({},c);default:return e}}var a=n(21),s=n(382),l=n(168);t.a=r;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},c={list:null,detailedList:null,isPendingList:!1,isEndReached:!1,fetchListError:null,pendingList:{},errorList:{},updateList:{}}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1],n=t.payload;switch(t.type){case r.N:return a({},e,o({},n.userId,n.status));default:return e}}var r=n(21);t.a=i;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s={statusesByUsers:{}}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case a.y:switch(t.status){case a.o:for(var n=t.payload.accountId,r=JSON.parse(JSON.stringify(e.usersById)),d=Object.keys(r),p=0;p<d.length;p+=1){var f=d[p];if(n===f&&r[f].mentorship){r[f].mentorship=l({},r[f].mentorship,t.payload.updatedFields);break}}return l({},e,{usersById:r});default:return e}case a._26:switch(t.status){case a.n:return l({},e,{mentorsToSelect:{isPending:!0,error:null,list:null}});case a.o:return l({},e,{mentorsToSelect:{isPending:!1,error:null,list:t.payload.list}});case a.p:return l({},e,{mentorsToSelect:{list:null,isPending:!1,error:t.payload.error}});default:return e}case a._25:return l({},e,{isPendingMentors:!1,fetchMentorError:!1,isEndReachedForMentors:!1,mentors:void 0,isMentorsInvalidated:!0});case a.I:switch(t.status){case a.n:return l({},e,{isPendingSubscriptionAction:!0,subscriptionActionError:void 0});case a.o:var m=t.payload,g=m.subscription,h=m.mentorId,v=[].concat(i(e.mentorsToSelect.list||[])).map(function(e){return e._id===h?l({},e,{subscription:g}):e}),y=[].concat(i(e.mentors||[])).map(function(e){return e._id===h?l({},e,{subscription:g}):e});return l({},e,{mentors:y,mentorsToSelect:l({},e.mentorsToSelect,{list:v}),isMentorsInvalidated:t.payload.invalidateMentors,isPendingSubscriptionAction:!1});case a.p:return l({},e,{isPendingSubscriptionAction:!1,subscriptionActionError:t.payload.error});default:return e}case a.J:case a.L:case a.M:case a.K:switch(t.status){case a.n:return l({},e,{isPendingSubscriptionAction:!0,subscriptionActionError:void 0});case a.o:var _=t.payload,b=_.id,w=_.response,S=[].concat(i(e.mentorsToSelect.list||[])).map(function(e){return e.subscription&&e.subscription._id===b?l({},e,{subscription:void 0}):e}),x=[].concat(i(e.mentors||[])).map(function(e){return e.subscription&&e.subscription._id===b?l({},e,{subscription:void 0}):e});return l({},e,{mentors:x,mentorsToSelect:l({},e.mentorsToSelect,{list:S}),isMentorsInvalidated:t.payload.invalidateMentors,isPendingSubscriptionAction:!1,subscriptionActionResponse:w});case a.p:return l({},e,{isPendingSubscriptionAction:!1,subscriptionActionError:t.payload.error});default:return e}case a.H:switch(t.status){case a.o:for(var A=t.payload,P=A.subscriptionId,C=A.newStatus,k=[].concat(i(e.mentorsToSelect.list||[])).map(function(e){return e.subscription&&e.subscription._id===P?l({},e,{subscription:l({},e.subscription,{isFollowing:C})}):e}),M=JSON.parse(JSON.stringify(e.usersById)),T=Object.keys(M),O=0;O<T.length;O+=1)if(M[T[O]].subscription&&M[T[O]].subscription._id===P){M[T[O]].subscription.isFollowing=C;break}return l({},e,{usersById:M,mentorsToSelect:l({},e.mentorsToSelect,{list:k}),isMentorsInvalidated:!0});default:return e}case a._13:case a._9:switch(t.status){case a.o:return l({},e,{isMentorsInvalidated:!0});default:return e}case a._24:switch(t.status){case a.n:return l({},e,{isPendingMentors:!0,fetchMentorError:null,isMentorsInvalidated:!1});case a.o:var E=t.payload.skip,I=E>0?e.mentors||[]:[],N=t.payload.list,D=l({},e.usersById);N.sort(u);for(var j=0;j<N.length;j+=1)D[N[j]._id]=N[j],I.push(N[j]._id);return l({},e,{mentors:I,isPendingMentors:!1,fetchMentorError:null,usersById:D,isEndReachedForMentors:N.length<s.a});case a.p:return l({},e,{isPendingMentors:!1,fetchMentorError:t.payload.error});default:return e}case a._27:switch(t.status){case a.n:return l({},e,{isPendingMentees:!0,fetchMenteeError:null});case a.o:var R=t.payload.skip,F=R>0?e.mentees||[]:[],L=t.payload.list,U=l({},e.usersById);L.sort(u);for(var B=0;B<L.length;B+=1)U[L[B]._id]=L[B],F.push(L[B]._id);return l({},e,{mentees:F,isPendingMentees:!1,fetchMenteeError:null,usersById:U,isEndReachedForMentees:L.length<s.a});case a.p:return l({},e,{isPendingMentees:!1,fetchMenteeError:t.payload.error});default:return e}case a._28:return l({},e,{mentees:null,isPendingMentees:!1,isEndReachedForMentees:!1,fetchMenteeError:null});case a._38:case a._29:switch(t.status){case a.n:var Z=l({},e.errorList);return delete Z[t.payload.id],l({},e,{errorList:Z,pendingList:l({},e.pendingList,o({},t.payload.id,!0))});case a.o:var Y=t.payload.item,G=l({},e.usersById,o({},Y._id,Y)),H=l({},e.pendingList);delete H[Y._id];var W=l({},e.errorList);return delete W[Y._id],l({},e,{errorList:W,usersById:G,pendingList:H});case a.p:var z=l({},e.pendingList);return delete z[t.payload.id],l({},e,{pendingList:z,errorList:l({},e.errorList,o({},t.payload.id,t.payload.error))});default:return e}case a._30:switch(t.status){case a.n:return l({},e,{metadataPendingList:l({},e.metadataPendingList,o({},t.payload.userId,!0))});case a.o:var X=t.payload.item,V=l({},e.metadatasByUserId,o({},t.payload.userId,X)),Q=l({},e.metadataPendingList);return delete Q[t.payload.userId],l({},e,{metadatasByUserId:V,metadataPendingList:Q});case a.p:var q=l({},e.metadataPendingList);return delete q[t.payload.userId],l({},e,{metadataPendingList:q,metadataErrorList:l({},e.metadataErrorList,o({},t.payload.userId,t.payload.error))});default:return e}case a._31:switch(t.status){case a.n:return l({},e,{isPendingEditMetadata:!0,editMetadataError:null});case a.o:for(var J=t.payload.data,K=J.boundTo._id,$=l({},e.metadatasByUserId,o({},K,J)),ee=JSON.parse(JSON.stringify(e.usersById)),te=Object.keys(ee),ne=0;ne<te.length;ne+=1){var oe=te[ne];if(K===oe&&ee[oe].metadata){ee[oe].metadata=l({},ee[oe].metadata,J);break}}return l({},e,{usersById:ee,metadatasByUserId:$,isPendingEditMetadata:!1,editMetadataError:null});case a.p:return l({},e,{isPendingEditMetadata:!1,editMetadataError:t.payload.error});default:return e}case a._32:return l({},e,{mentorTextFilter:t.payload.searchInput});case a._33:return l({},e,{menteeTextFilter:t.payload.searchInput});case a._34:return l({},e,{mentorSkillFilter:t.payload.filter});case a._35:return l({},e,{menteeSkillFilter:t.payload.filter});case a.u:return l({},c);default:return e}}var a=n(21),s=n(168);t.a=r;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u=function(e,t){var n=e.firstName,o=t.firstName,i="AaBbCcÇçDdEeFfGgĞğHhIıİiJjKkLlMmNnOoÖöPpQqRrSsŞşTtUuÜüVvWwXxYyZz0123456789";if(0===n.length||0===o.length)return n.length-o.length;for(var r=0;r<n.length&&r<o.length;r+=1){var a=i.indexOf(n[r]),s=i.indexOf(o[r]);if(a!==s)return a-s}return 0},c={mentors:null,mentees:null,mentorsToSelect:{isPending:!1,error:null,list:null},mentorTextFilter:"",menteeTextFilter:"",mentorSkillFilter:[],menteeSkillFilter:[],usersById:{},isPendingMentors:!1,isPendingMentees:!1,isEndReachedForMentors:!1,isEndReachedForMentees:!1,fetchMentorError:null,fetchMenteeError:null,pendingList:{},errorList:{},metadatasByUserId:{},metadataPendingList:{},metadataErrorList:{},isPendingEditMetadata:!1,editMetadataError:null,isPendingSubscriptionAction:!1,subscriptionActionError:void 0,subscriptionActionResponse:void 0}},function(e,t,n){"use strict";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i.d:return t.payload.url?r({},e,{videoCallUrl:t.payload.url}):r({},a);case i.e:return r({},e,{minimized:t.payload.minimized});case i.f:return r({},e,{hasReadBrowserMessage:t.payload.hasReadBrowserMessage});default:return e}}var i=n(21);t.a=o;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a={videoCallUrl:void 0,minimized:!1,hasReadBrowserMessage:!1}},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(3)),r=n(12),a=n.n(r),s=n(16),l=n(43),u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),c=function(e){var t=e.i18n,n=e.commonStyle,o=e.account,i=e.issuedFor,r=o.firstName+" "+o.lastName,c=s.a.build(t.pages.acceptInvitation.accountMatchErrorMessage,{fullName:u("b",{},void 0,r),issuedFor:u("b",{},void 0,i)});return u("div",{className:a()(n.container),style:{padding:"2rem"}},void 0,u("div",{className:a()(n.row)},void 0,u("div",{className:a()(n.col,n.s6,n["offset-s3"])},void 0,u(l.a,{message:c}))))},d=function(e){return{commonStyle:e.commonStyle}};t.a=n.i(i.a)(d)(c)},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(3)),r=n(12),a=n.n(r),s=n(43),l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),u=function(e){var t=e.i18n,n=e.commonStyle,o=e.account,i=o?t.pages.acceptInvitation.alreadyAcceptedErrorMessage:t.pages.acceptInvitation.alreadyAcceptedAnonymousErrorMessage;return l("div",{className:a()(n.container),style:{padding:"2rem"}},void 0,l("div",{className:a()(n.row)},void 0,l("div",{className:a()(n.col,n.s6,n["offset-s3"])},void 0,l(s.a,{message:i,actionLabel:o?null:t.buttonActions.login,onActionClick:function(){window.location="/login"}}))))};u.defaultProps={account:null};var c=function(e){return{commonStyle:e.commonStyle}};t.a=n.i(i.a)(c)(u)},function(e,t,n){"use strict";function o(e){return a("mentornity-accept-invitation-wrapper",{language:e.language,"params-id":e.paramsId,"is-logged-in":e.isLoggedIn})}var i=n(0),r=(n.n(i),n(3)),a=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),s=function(e){return{language:e.session.language,isLoggedIn:e.session.isLoggedIn}};t.a=n.i(r.a)(s)(o)},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(12),l=n.n(s),u=n(18),c=n.n(u),d=n(109),p=n.n(d),f=n(26),m=n.n(f),g=n(17),h=n.n(g),v=n(48),y=n.n(v),_=n(512),b=n.n(_),w=n(36),S=n.n(w),x=n(0),A=n.n(x),P=n(63),C=n.n(P),k=n(3),M=n(64),T=n(29),O=n(15),E=n(81),I=n(16),N=n(836),D=n(837),j=n(840),R=n(391),F=n(1327),L=n.n(F),U=n(838),B=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),Z=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),Y=B(b.a,{}),G=B(b.a,{}),H=B(b.a,{}),W=B("br",{}),z=B("div",{}),X=function(e){function t(e){i(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.AcceptInvitation=function(){var e=n.props,t=e.i18n,o=e.commonStyle,i=e.account,r=e.language,a=n.state,s=a.invitation,u=a.privacyPolicy,c=a.isPending,d=a.apiError,f="tr"!=r,g=i?t.pages.acceptInvitation.headerInfoWithoutPassword:t.pages.acceptInvitation.headerInfo,v=I.a.build(g,{email:B("b",{},void 0,s.issuedFor),organisation:B("b",{},void 0,s.organisation.title)});return B("div",{className:L.a.pageContainer},void 0,B("div",{className:L.a.header},void 0,B("div",{className:l()(o.container)},void 0,v)),B(R.a,{i18n:t,organisation:s.organisation,commonStyle:o}),B("form",{onSubmit:function(e){return n.handleSubmit(e)}},void 0,B("div",{className:l()(o.container)},void 0,B("div",{className:l()(o.row)},void 0,B("div",{className:l()(o.col,o.s12,o.m6,o["offset-m3"])},void 0,B(m.a,{zDepth:1,className:L.a.card},void 0,B("div",{className:L.a.cardHeader,onClick:function(){return n.openAgreement("organisation")}},void 0,I.a.build(t.pages.acceptInvitation.agreementTitle,{title:s.organisation.title}).join(" "),Y)),B(m.a,{zDepth:1,className:L.a.card},void 0,B("div",{className:L.a.cardHeader,onClick:function(){return n.openAgreement("mentornity")}},void 0,t.pages.acceptInvitation.userAgreementTitle,G)),f&&B(m.a,{zDepth:1,className:L.a.card},void 0,B("div",{className:L.a.cardHeader,onClick:function(){return n.openAgreement("privacyPolicy")}},void 0,u.title,H)))),B("div",{className:l()(o.row)},void 0,B("div",{className:l()(o.col,o.s12,o.m6,o["offset-m3"])},void 0,B(p.a,{checked:n.state.isAgreementsAccepted,label:t.pages.acceptInvitation.acceptInvitationMessage,onClick:function(){return n.setState({isAgreementsAccepted:!n.state.isAgreementsAccepted})}}))),!i&&B("div",{className:l()(o.row)},void 0,B("div",{className:l()(o.col,o.s12,o.m6,o["offset-m3"],o.centerAlign)},void 0,B(S.a,{id:"password",type:"password",value:n.state.password,disabled:c||!n.state.isAgreementsAccepted,hintText:t.pages.acceptInvitation.password,errorText:n.state.errors.password,onChange:function(e){return n.handleChange(e)}})," ",W)),d&&B("div",{className:l()(o.row)},void 0,B("div",{className:l()(o.col,o.s12,o.m6,o["offset-m3"],o.centerAlign)},void 0,B("p",{className:l()(o.error,o.centerAlign)},void 0,t.pages.acceptInvitation.errorMessage))),B("div",{className:l()(o.row)},void 0,B("div",{className:l()(o.col,o.s12,o.m6,o["offset-m3"],o.centerAlign)},void 0,B(h.a,{secondary:!0,type:"submit",disabled:c||!n.state.isAgreementsAccepted,label:t.pages.acceptInvitation.acceptAgreement,style:O.a.roundedButtonContainer,buttonStyle:O.a.roundedButton}))))))},n.handleSubmit=function(e){e.preventDefault(),n.validateForm()&&(n.setState({isPending:!0}),n.acceptInvitation())},n.state={errors:{},isAgreementsAccepted:!1,isInvitationAccepted:!1,invitation:null,passwordAuth:null,config:null,privacyPolicy:null,userAgreementTR:null,isFetching:!0,isPending:!1,apiError:null},n}return a(t,e),Z(t,[{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=o(regeneratorRuntime.mark(function e(){var t,o,i,r,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,api.getInvitation(this.props.paramsId);case 2:return t=e.sent,e.next=5,api.getPasswordAuthOfUser(t.invitee._id);case 5:return o=e.sent,e.next=8,api.getOrganisationConfig(t.organisation._id);case 8:return i=e.sent,e.next=11,api.getPrivacyPolicy(this.props.language||"en");case 11:return r=e.sent,e.next=14,n.e(1).then(function(e){return n(701)}.bind(null,n)).catch(n.oe);case 14:a=e.sent,this.setState({invitation:t,config:i,privacyPolicy:r,userAgreementTR:a,isFetching:!1,passwordAuth:o});case 16:case"end":return e.stop()}},e,this)}));return e}()},{key:"saveConsentForPolicy",value:function(){function e(){return t.apply(this,arguments)}var t=o(regeneratorRuntime.mark(function e(){var t,n,o,i,r,a,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.state,n=t.invitation,o=t.privacyPolicy,i=n.organisation,r="/"+i.domain+"/welcome",a=E.a.get("mt_at"),s=E.a.get("mt_st"),window.api.setHeader({Authorization:"Bearer "+a,"Session-Token":s}),e.prev=6,e.next=9,window.api.saveConsentForPolicy(n.invitee._id,o._id,"invitation");case 9:window.location=r,this.setState({apiError:null,isInvitationAccepted:!1}),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(6),this.setState({apiError:e.t0,isPending:!1});case 16:case"end":return e.stop()}},e,this,[[6,13]])}));return e}()},{key:"login",value:function(){function e(e,n){return t.apply(this,arguments)}var t=o(regeneratorRuntime.mark(function e(t,n){var o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.api.login(t,n);case 3:o=e.sent,E.a.save(E.a.PARAM_USER_ID,o.user._id),E.a.save(E.a.PARAM_SESSION_TOKEN,o._id),E.a.save(E.a.PARAM_ACCESS_TOKEN,o.accessToken),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),this.setState({apiError:e.t0,isPending:!1});case 12:case"end":return e.stop()}},e,this,[[0,9]])}));return e}()},{key:"handleChange",value:function(e){var t=Object.assign({},this.state);t[e.target.id]=e.target.value,this.setState(t)}},{key:"acceptInvitation",value:function(){var e=this,t=this.state,n=t.invitation,i=t.password;window.api.acceptInvitation(n._id,i).then(o(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.props.isLoggedIn){t.next=3;break}return t.next=3,e.login(n.issuedFor,i);case 3:e.saveConsentForPolicy();case 4:case"end":return t.stop()}},t,e)}))).catch(function(t){e.setState({apiError:t})})}},{key:"validateForm",value:function(){var e={};if(!this.props.account){var t=this.state.password;(!t||t.length<6)&&(e.password=this.props.i18n.pages.acceptInvitation.passwordError)}return this.setState({errors:e}),0===Object.keys(e).length}},{key:"openAgreement",value:function(e){var t=this,n=this.props,o=n.i18n,i=n.language,r=this.state,a=r.config,s=r.invitation,l=r.privacyPolicy,u=r.userAgreementTR,c=void 0,d=void 0;"organisation"===e?(c=I.a.build(o.pages.acceptInvitation.agreementTitle,{title:s.organisation.title}).join(" "),d=a.terms):"mentornity"===e?(c=o.pages.acceptInvitation.userAgreementTitle,d="tr"===i?u.html:o.mentornityTerms):"privacyPolicy"===e&&(c=l.title,d=l.content),this.props.showMessageDialog(c,B("div",{style:{color:"#333"}},void 0,B(C.a,{className:"markdown-content",source:d,escapeHtml:!1})),o.buttonActions.ok,function(){return t.props.hideDialog()},!0)}},{key:"renderInvitationComponent",value:function(){var e=this.props,t=e.account,n=e.i18n,o=e.commonStyle,i=e.paramsId,r=this.state,a=r.invitation,s=r.passwordAuth;this.AcceptInvitation();return null!==t&&a.invitee&&t._id!==a.invitee._id?B(N.a,{i18n:n,account:t,commonStyle:o,issuedFor:a.issuedFor}):"accepted"===a.status?B(D.a,{i18n:n,account:t,commonStyle:o}):!t&&s.result?B(j.a,{i18n:n,invitation:a}):B(U.a,{paramsId:i})}},{key:"render",value:function(){return this.state.isFetching?z:this.renderInvitationComponent()}}]),t}(A.a.Component);X.defaultProps={account:null};var V=function(e){return{i18n:e.i18n,commonStyle:e.commonStyle,account:e.session.account,isLoggedIn:e.session.isLoggedIn,language:e.session.language}},Q={showMessageDialog:M.b,hideDialog:M.a,login:T.t};t.a=n.i(k.a)(V,Q)(y()()(c()(L.a)(X)))},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(3)),r=n(12),a=n.n(r),s=n(16),l=n(43),u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),c=function(e){var t=e.i18n,n=e.commonStyle,o=e.invitation,i=s.a.build(t.pages.acceptInvitation.loginRequiredMessage,{issuedFor:u("b",{},void 0,o.issuedFor)}),r="/acceptInvitation/"+o._id;return u("div",{className:a()(n.container),style:{padding:"2rem"}},void 0,u("div",{className:a()(n.row)},void 0,u("div",{className:a()(n.col,n.s6,n["offset-s3"])},void 0,u(l.a,{message:i,actionLabel:t.buttonActions.login,onActionClick:function(){window.location="/login?r="+r}}))))},d=function(e){return{commonStyle:e.commonStyle}};t.a=n.i(i.a)(d)(c)},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(839)),a=n(38),s=n(21),l=this,u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();t.default={path:"/acceptInvitation/:id",action:function(){var e=o(regeneratorRuntime.mark(function e(t){var n,o,i,c,d,p,f=(t.api,t.params),m=t.store;t.next;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=m.getState(),o=n.i18n,i=n.commonStyle,c=n.session.account,d=o.pages.acceptInvitation.errorTitle,p=null,d=o.pages.acceptInvitation.title,p=u(r.a,{i18n:o,account:c,commonStyle:i,paramsId:f.id}),m.dispatch({type:s.h,payload:{isOpen:!1}}),e.abrupt("return",{title:d,component:u(a.a,{},void 0,p)});case 10:case"end":return e.stop()}},e,l)}));return function(t){return e.apply(this,arguments)}}()}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(0),l=n.n(s),u=n(48),c=n.n(u),d=n(3),p=n(12),f=n.n(p),m=n(26),g=n.n(m),h=n(36),v=n.n(h),y=n(17),_=n.n(y),b=n(15),w=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},x=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),A=function(e){return/^([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)$/.test(e)},P={paper:{marginTop:"2rem",padding:"1rem",background:"white"},logo:{width:"100px",height:"100px",marginTop:"2rem"}},C=w("br",{}),k=w("br",{}),M=w("br",{}),T=w("br",{}),O=function(e){function t(e){i(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={errors:{}},n}return a(t,e),x(t,[{key:"handleChange",value:function(e){this.setState(S({},this.state,o({},e.target.id,e.target.value)))}},{key:"handleSubmit",value:function(e){var t=this;e.preventDefault(),this.validateForm()&&(this.setState({isPending:!0}),window.api.createFormResponse({data:{email:this.state.email||"-",fullName:this.state.fullName||"-",message:this.state.message||"-",phone:this.state.phone||"-"},type:"contact"}).then(function(){t.setState({isFormSent:!0})},function(e){t.setState({error:e,isPending:!1})}))}},{key:"validateForm",value:function(){var e=this.props.i18n,t={},n=(this.state.email||"").toLowerCase();n&&A(n)||(t.email=e.formErrors.email);var o=this.state.fullName;(!o||o.length<2)&&(t.fullName=e.formErrors.firstName);var i=this.state.message;return(!i||i.length<1)&&(t.message=e.pages.contact.messageMissing),this.setState({errors:t}),0===Object.keys(t).length}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.commonStyle;return w("div",{className:f()(o.container)},void 0,w("div",{className:o.row},void 0,w("div",{className:f()(o.col,o.s12,o.m8,o["offset-m2"])},void 0,w(g.a,{style:P.paper},void 0,w("h2",{},void 0,n.pages.contact.title),w("form",{className:o.form,onSubmit:function(t){return e.handleSubmit(t)}},void 0,w(v.a,{id:"fullName",type:"text",fullWidth:!0,value:this.state.fullName,hintText:n.formHints.fullName,disabled:this.state.isPending||this.state.isFormSent,errorText:this.state.errors.fullName,onChange:function(t){return e.handleChange(t)}})," ",C,w(v.a,{id:"email",type:"text",fullWidth:!0,value:this.state.email,hintText:n.formHints.email,disabled:this.state.isPending||this.state.isFormSent,errorText:this.state.errors.email,onChange:function(t){return e.handleChange(t)}})," ",k,w(v.a,{id:"phone",type:"tel",fullWidth:!0,value:this.state.phone,hintText:n.formHints.phoneWithCode,disabled:this.state.isPending||this.state.isFormSent,errorText:this.state.errors.phone,onChange:function(t){return e.handleChange(t)}})," ",M,w(v.a,{id:"message",type:"text",fullWidth:!0,multiLine:!0,rows:3,value:this.state.message,hintText:n.pages.contact.message,disabled:this.state.isPending||this.state.isFormSent,errorText:this.state.errors.message,onChange:function(t){return e.handleChange(t)}})," ",T,w(_.a,{type:"submit",fullWidth:!0,secondary:!0,disabled:this.state.isPending||this.state.isFormSent,label:n.pages.contact.submit,style:S({},b.a.semiRoundedButtonContainer,{margin:"12px 0"}),buttonStyle:b.a.semiRoundedButton,labelStyle:b.a.semiRoundedButtonLabel}),this.state.isFormSent&&w("p",{className:o.centerAlign},void 0,n.pages.contact.successMessage),w("div",{className:f()(o.centerAlign,o.coverSection)},void 0,w("a",{href:"/"},void 0,n.pages.landing.footer.home)," . ",w("a",{href:"https://twitter.com/mentornity"},void 0,n.pages.landing.footer.twitter)," . ",w("a",{href:"https://medium.com/mentornity-blog"},void 0,n.pages.landing.footer.blog)),this.state.error&&w("p",{className:o.centerAlign},void 0,n.pages.contact.errorMessage)))),w("div",{className:f()(o.col,o.s12,o.m8,o["offset-m2"],o.centerAlign)},void 0,w("img",{src:"/img/logo-mail-footer.png",alt:"logo",style:P.logo}))))}}]),t}(l.a.Component);O.defaultProps={};var E=function(e){return{i18n:e.i18n,commonStyle:e.commonStyle}},I={};t.a=n.i(d.a)(E,I)(c()()(O))},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(38)),a=n(842),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),l=s(r.a,{path:"contact"},void 0,s(a.a,{}));t.default={path:"/contact",action:function(e){var t=this,n=e.store;return o(regeneratorRuntime.mark(function e(){var o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.getState(),e.abrupt("return",{title:o.i18n.pages.contact.title,chunk:"about",component:l});case 2:case"end":return e.stop()}},e,t)}))()}}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(0),l=n.n(s),u=n(17),c=n.n(u),d=n(36),p=n.n(d),f=n(15),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},g=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),v=function(e){function t(){var e,n,a,s;i(this,t);for(var l=arguments.length,u=Array(l),c=0;c<l;c++)u[c]=arguments[c];return n=a=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),a.state={message:""},a.onInputChange=function(e){var t=e.target.value;a.setState(o({},e.target.id,t)),a.props.onAccountStatusChange(t.length>0?"typing":void 0)},a.onSubmit=function(){a.props.onSubmit(a.state.message),a.props.onAccountStatusChange(void 0)},s=n,r(a,s)}return a(t,e),h(t,[{key:"componentWillReceiveProps",value:function(e){(this.props.isCreatePending&&!e.isCreatePending||!this.props.conversation&&e.conversation)&&this.setState({message:""})}},{key:"componentWillUnmount",value:function(){this.props.onAccountStatusChange()}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.isCreatePending,i=this.state.message;return g("div",{style:{display:"flex",marginTop:"0rem"}},void 0,g("div",{style:{flexGrow:1,marginTop:8}},void 0,g(p.a,{id:"message",type:"text",fullWidth:!0,multiLine:!0,rows:1,rowsMax:5,onKeyPress:function(t){"Enter"!==t.key||t.shiftKey||e.onSubmit()},value:this.state.message,hintText:n.formHints.message,disabled:o,style:{margin:"0 !important"},onChange:this.onInputChange})),g("div",{style:{padding:"1rem 0 1rem 1rem"}},void 0,g(c.a,{type:"submit",secondary:!0,disabled:o||i.length<1||i.length>1e3,label:n.buttonActions.send,style:m({},f.a.semiRoundedButtonContainer,{margin:"12px 0"}),buttonStyle:f.a.semiRoundedButton,onClick:this.onSubmit})))}}]),t}(l.a.Component);v.defaultProps={conversation:null},t.a=v},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(12),s=n.n(a),l=n(34),u=n.n(l),c=n(0),d=n.n(c),p=n(3),f=n(141),m=n(193),g=n(115),h=n(16),v=n(844),y=n(847),_=n(849),b=n(146),w=n(142),S=n(29),x=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),A=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),P=function(e){var t=e.i18n,n=e.cs,o=e.otherUser;if(!o)return A("div",{className:s()(n.col,n.s12,n.m10,n["offset-m1"])},void 0,A("div",{style:{display:"flex",padding:"1rem",flexDirection:"column",alignItems:"center"}},void 0,A(u.a,{size:80,src:null,style:{margin:"1rem"}}),A("div",{style:{fontSize:"1em"}},void 0," ")));var i=h.a.build(t.pages.conversations.newConversationMessage,{fullName:A("b",{},void 0,o.firstName," ",o.lastName)});return A("div",{className:s()(n.col,n.s12,n.m10,n["offset-m1"])},void 0,A("div",{style:{display:"flex",padding:"1rem",flexDirection:"column",alignItems:"center"}},void 0,A(u.a,{size:80,src:o.imageUrl||null,style:{margin:"1rem"}},void 0,o.imageUrl?null:o.firstName[0]+o.lastName[0]),A("div",{style:{fontSize:"1em"}},void 0,i)))},C=function(e){function t(){var e,r,a,s;o(this,t);for(var l=arguments.length,u=Array(l),c=0;c<l;c++)u[c]=arguments[c];return r=a=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),a.state={},a.onAccountStatusChange=function(e){var t=a.props,o=t.account,i=t.conversation;if(i){var r=n.i(b.a)(o._id,a.props.accountStatus);r.chat={id:i._id,state:e},a.props.accountStatus&&a.props.accountStatus.chat&&a.props.accountStatus.chat.state===r.chat.state||(w.a.setPresence("mentornity",r),a.props.setAccountStatus(r))}},s=r,i(a,s)}return r(t,e),x(t,[{key:"componentDidMount",value:function(){this.fetchMessages(),this.fetchUser()}},{key:"componentDidUpdate",value:function(){this.fetchMessages(),this.fetchGroup()}},{key:"onFetchMoreClick",value:function(){if(!this.props.isFetchPending){var e=(this.props.messages||[]).length;this.props.fetchMessagesOfConversation(this.props.conversation._id,e)}}},{key:"onSubmit",value:function(e){var t=this.props,n=t.organisation,o=t.account,i=t.conversation,r=t.userId;i?this.props.createMessage(o._id,i._id,e):this.props.createConversationAndSendMessage(n._id,o._id,r,e)}},{key:"fetchMessages",value:function(){var e=this.props,t=e.conversations,n=e.conversation,o=e.messages,i=e.isFetchPending;if(n&&t&&!o&&!i){var r=(o||[]).length;this.props.fetchMessagesOfConversation(n._id,r)}}},{key:"fetchUser",value:function(){!this.props.otherUser&&this.props.userId&&this.props.fetchUser(this.props.userId)}},{key:"fetchGroup",value:function(){if(!this.state.isGroupFetchStarted){var e=this.props,t=e.context,n=e.otherUser,o=e.group,i=e.isGroupPending;t&&t.config&&"group"===t.config.menteeType&&n&&!o&&!i&&(this.props.fetchGroupOfUser(n._id,this.props.organisation._id),this.setState({isGroupFetchStarted:!0}))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.account,i=t.otherUser,r=t.group,a=t.isFetchPending,l=t.isCreatePending,u=t.conversations,c=t.conversation,d=t.messages,p=t.isEndReached,f=t.commonStyle,m=t.userStatuses,g=t.context,h=u&&!c;return A("div",{className:f.container,style:{marginBottom:0}},void 0,A("div",{className:f.row,style:{marginBottom:0}},void 0,i&&!h&&A(_.a,{cs:f,i18n:n,group:r,user:i,conversation:c,userStatuses:m,context:g,account:o}),h?A("div",{className:s()(f.col,f.s12,f.m10,f["offset-m1"])},void 0,A("div",{style:{height:"75vh",display:"flex",alignItems:"center",textAlign:"center"}},void 0,A(P,{i18n:n,cs:f,otherUser:i}))):A("div",{className:s()(f.col,f.s12,f.m10,f["offset-m1"])},void 0,A(y.a,{i18n:n,account:o,messages:d,isPending:a,isEndReached:p,conversation:c,isCreatePending:l,onScrollEndReached:function(){return e.onFetchMoreClick()}}))),A("div",{className:f.row,style:{marginBottom:0}},void 0,A("div",{className:s()(f.col,f.s12,f.m10,f["offset-m1"])},void 0,A(v.a,{i18n:n,account:o,conversation:c,isCreatePending:l,onSubmit:function(t){return e.onSubmit(t)},onAccountStatusChange:this.onAccountStatusChange}))))}}]),t}(d.a.Component);C.defaultProps={accountStatus:void 0,error:null,userId:null,conversationId:null,isCreatePending:!1,isFetchPending:!1,isEndReached:!1,otherUser:null,conversation:null,conversations:void 0,messages:void 0,group:void 0,isGroupPending:!1};var k=function(e,t){var n=e.session.account,o=e.session.sContext,i=e.conversations,r=e.users,a=t.userId,s=t.conversationId,l=null;a&&i.conversationsByUser&&i.conversationsByUser[a]?l=i.conversationsByUser[a]:s&&i.conversationsById&&i.conversationsById[s]&&(l=i.conversationsById[s]);var u=null;if(a&&(u=r.usersById[a]),!u&&l){var c=l,d=c.participants;u=d[0]._id===e.session.account._id?d[1]:d[0]}var p=l&&i.messagesByConversations[l._id]||{},f=a;!f&&l&&l.participants&&2===l.participants.length&&(f=n._id===l.participants[0]._id?l.participants[1]._id:l.participants[0]._id);var m=null,g=e.groups.detailedList,h=Object.keys(e.groups.pendingList).length>0;if(o&&o.config&&"group"===o.config.menteeType&&g)for(var v=0;v<g.length;v+=1)if(g[v]&&g[v].members)for(var y=0;y<g[v].members.length;y+=1)if(g[v].members[y]._id===f){m=g[v];break}return{conversation:l,otherUser:u,messages:p.messages,isEndReached:p.isEndReached,error:i.error||p.error,isCreatePending:p.isCreatePending,isFetchPending:p.isPending||i.isPending,accountStatus:e.session.accountStatus,group:m,isGroupPending:h,account:n,context:o,conversations:i.conversations,organisation:e.session.sContext.organisation,i18n:e.i18n,commonStyle:e.commonStyle,userStatuses:e.userStatuses}},M={createConversationAndSendMessage:f.d,fetchMessagesOfConversation:f.f,createMessage:f.e,fetchUser:g.k,fetchGroupOfUser:m.a,setAccountStatus:S.b};t.a=n.i(p.a)(k,M)(C)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}var s=n(0),l=n.n(s),u=n(3),c=n(48),d=n.n(c),p=n(12),f=n.n(p),m=n(34),g=n.n(m),h=n(40),v=n.n(h),y=(n(32),n(16)),_=n(33),b=n(43),w=n(141),S=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},A=this,P=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),C=function(e){var t=e.account,n=e.conversation,o=e.organisation,i=e.accentColor,r=n.participants,s=n.lastMessage,l=r[0]._id===t._id?r[1]:r[0],u={padding:"16px",color:"#555"},c={flex:"0 0 8px",height:"8px",borderRadius:"4px",background:i,margin:"1rem",marginLeft:"auto"},d=s._id&&s.createdBy._id!==t._id&&!(s.readBy||{})[t._id],p={borderBottom:"1px solid #ddd",display:"flex",background:d?"whitesmoke":"white",fontSize:"0.9em",cursor:"pointer"},f={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:"0 0 130px",boxSizing:"border-box"},m={margin:"0.2rem 0 0 0",fontSize:"0.9em",color:"#888"},h={border:"1px solid whitesmoke",position:"absolute",right:12,bottom:12,width:20,height:20,boxSizing:"border-box"},v=new Date(1e3*s.createdAt),b=_.a.format(v,"DD"),w=_.a.format(v,"YYYY"),S=_.a.format(v,"MMM"),C=_.a.format(v,"HH:mm"),k=b+" "+S+" "+w+", "+C,M=s.content.length<200?s.content:s.content.slice(0,200)+"...";return P("div",{style:p,onClick:function(){var e=a(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.api.conversationMarkAsRead(n.lastMessage._id);case 2:window.location.replace("/conversations/"+n._id);case 3:case"end":return e.stop()}},e,A)}));return function(){return e.apply(this,arguments)}}()},void 0,P("div",{style:x({},u,{position:"relative",height:"72px",boxSizing:"border-box"})},void 0,P(g.a,{size:40,src:l.imageUrl||null,style:{fontSize:"1em"}},void 0,l.imageUrl?null:l.firstName[0]+l.lastName[0]),o&&o.logoUrl&&P(g.a,{src:o.logoUrl,icon:"user",size:"small",style:h})),P("div",{style:x({},u,f)},void 0,l.firstName+" "+l.lastName,P("div",{style:m},void 0,k)),P("div",{style:x({},u),dangerouslySetInnerHTML:{__html:y.a.linkify(M)}}),d&&P("div",{style:c}))};C.defaultProps={organisation:null};var k=P(v.a,{}),M=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={isEditing:!1},a=n,i(r,a)}return r(t,e),S(t,[{key:"componentDidMount",value:function(){this.props.conversationError&&this.props.clearConversationsError()}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.account,i=t.conversationError,r=t.isPending,a=t.conversations,s=void 0===a?[]:a,l=t.contexts,u=t.muiTheme,c=t.commonStyle,d={};return l.forEach(function(e){d[e.organisation._id]=e.organisation}),P("div",{className:c.container},void 0,P("div",{className:c.row},void 0,r&&P("div",{className:f()(c.col,c.s12,c.m10,c["offset-m1"],c.centerAlign),style:{padding:"1rem"}},void 0,k),!r&&!i&&s&&0===s.length&&P("div",{style:{padding:"2rem"}},void 0,P(b.a,{message:n.pages.conversations.emptyMessage})),i&&P("div",{style:{padding:"2rem"}},void 0,P(b.a,{message:n.pages.conversations.errorMessage,actionLabel:n.buttonActions.retry,onActionClick:function(){return e.props.clearConversationsError()}})),s&&s.length>0&&P("div",{className:f()(c.col,c.s12,c.m10,c["offset-m1"])},void 0,P("div",{style:{border:"1px solid #ddd",borderBottom:"none",margin:"1rem 0"}},void 0,s.map(function(e){return P(C,{accentColor:u.palette.accent1Color,account:o,conversation:e,organisation:d[e.organisation._id]},e._id)})))))}}]),t}(l.a.Component);M.defaultProps={error:null,conversations:void 0,conversationError:void 0};var T=function(e){return{i18n:e.i18n,account:e.session.account,isPending:e.conversations.isPending,conversations:e.conversations.conversations,conversationError:e.conversations.error,contexts:e.session.contexts,commonStyle:e.commonStyle}},O={clearConversationsError:w.g};t.a=n.i(u.a)(T,O)(d()()(M))},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(40),u=n.n(l),c=n(17),d=n.n(c),p=n(848),f=n(15),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},g=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),v=g(u.a,{}),y=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={scrollDirection:-1},a=n,i(r,a)}return r(t,e),h(t,[{key:"componentDidMount",value:function(){this.list&&0===this.list.scrollTop&&this.list.scrollHeight>0&&-1===this.state.scrollDirection&&(this.list.scrollTop=this.list.scrollHeight)}},{key:"componentWillReceiveProps",value:function(e){e.isCreatePending&&this.setState({scrollDirection:0}),this.props.isCreatePending&&!e.isCreatePending&&this.setState({scrollDirection:-1}),null===this.props.messages&&null!==e.messages?this.setState({scrollDirection:-1}):(this.props.isPending||e.isPending)&&this.setState({scrollDirection:1})}},{key:"shouldComponentUpdate",value:function(e){return!(this.props.isCreatePending===e.isCreatePending&&this.props.isPending===e.isPending&&this.props.messages&&e.messages&&this.props.messages.length===e.messages.length)}},{key:"componentDidUpdate",value:function(){this.list&&(this.props.isPending?this.list.scrollTop=1:-1===this.state.scrollDirection&&(this.list.scrollTop=this.list.scrollHeight))}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.account,i=t.conversation,r=t.messages,a=t.isPending,l=t.isEndReached;return g("div",{style:{height:"65vh",boxSizing:"flex-box"}},void 0,s.a.createElement("div",{style:{height:"65vh",overflow:"auto",boxSizing:"flex-box"},ref:function(t){e.list=t}},g("div",{style:{display:"flex",flexDirection:"column-reverse",width:"100%",minHeight:"60vh"}},void 0,r&&r.map(function(e){return g(p.a,{account:o,conversation:i,message:e},e._id)}),g("div",{style:{margin:"1.5rem 1rem 1rem 1rem",textAlign:"center"}},void 0,a&&g("div",{style:{height:"55px",marginTop:"1px",paddingTop:"9px"}},void 0,v),!a&&r&&!l&&g(d.a,{type:"submit",disabled:a,label:n.buttonActions.seeOlderMessages,style:m({},f.a.roundedButtonContainer,{margin:"12px 0"}),buttonStyle:f.a.roundedButton,onClick:function(){e.props.onScrollEndReached()}})))))}}]),t}(s.a.Component);y.defaultProps={messages:null,isPending:!1,conversation:null,isEndReached:!1},t.a=y},function(e,t,n){"use strict";function o(e){var t=e.account,n=e.conversation,o=e.message,i=e.isMobile,r=n.participants,s={padding:"1rem"},p=o.createdBy._id===t._id,f=new Date(1e3*o.createdAt),m=l.a.format(f,"DD"),g=l.a.format(f,"YYYY"),h=l.a.format(f,"MMM"),v=l.a.format(f,"HH:mm"),y=m+" "+h+" "+g+", "+v,_=d({},s,{border:"1px solid #ccc",borderRadius:15,padding:"0.6rem 1rem",marginTop:"1rem",fontSize:"0.9em",maxWidth:i?178:340,overflow:"hidden"});p?(_.borderTopRightRadius=5,_.marginLeft=36):(_.borderTopLeftRadius=5,_.marginRight=36);var b={margin:"1rem 0 0 0",fontSize:"0.9em",color:"#888"};if(p)return c("div",{style:{display:"flex"}},void 0,c("div",{style:{flexGrow:1,textAlign:"right"}},void 0,c("div",{style:d({},_,{display:"inline-block",textAlign:"left"})},void 0,c("div",{dangerouslySetInnerHTML:{__html:u.a.linkify(o.content)}}),c("div",{style:b},void 0,y))),c("div",{style:d({},s)},void 0,c(a.a,{size:40,src:t.imageUrl||null},void 0,t.imageUrl?null:t.firstName[0]+t.lastName[0])));var w=r[0]._id===t._id?r[1]:r[0];return c("div",{style:{display:"flex"}},void 0,c("div",{style:d({},s)},void 0,c(a.a,{size:40,src:w.imageUrl||null,style:{fontSize:"1em"}},void 0,w.imageUrl?null:w.firstName[0]+w.lastName[0])),c("div",{},void 0,c("div",{style:d({},_)},void 0,c("div",{dangerouslySetInnerHTML:{__html:u.a.linkify(o.content)}}),c("div",{style:b},void 0,y))))}var i=n(0),r=(n.n(i),n(34)),a=n.n(r),s=n(3),l=n(33),u=n(16),c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};o.defaultProps={isMessageBeingUpdated:!1};var p=function(e,t){var n=t.message;return{isMessageBeingUpdated:!!e.conversations.messagesBeingUpdated[n._id],account:e.session.account,isMobile:e.runtime.isMobile}},f={};t.a=n.i(s.a)(p,f)(o)},function(e,t,n){"use strict";var o=n(12),i=n.n(o),r=n(34),a=n.n(r),s=n(0),l=(n.n(s),n(234)),u=n(371),c=n(32),d=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),p=function(e){var t=e.i18n,n=e.cs,o=e.conversation,r=e.user,s=e.group,p=e.userStatuses,f=e.context,m=e.account,g="mentor"===f.role?"mentee":"mentor";return d("div",{className:i()(n.col,n.s12,n.m10,n["offset-m1"])},void 0,d("div",{style:{display:"flex",alignItems:"center",padding:"1rem",borderBottom:"1px solid #e2e2e2"}},void 0,d(c.a,{to:"/"+f.organisation.domain+"/pairs/"+m._id+"?uid="+r._id+"&&usertype="+g,style:{display:"flex",alignItems:"center"}},void 0,d(a.a,{size:40,src:r.imageUrl||null,style:{margin:"4px 1rem 4px 0",flex:"0 0 40px"}},void 0,r.imageUrl?null:r.firstName[0]+r.lastName[0]),d("div",{},void 0,r.firstName," ",r.lastName,d(u.a,{i18n:t,user:r,userStatuses:p,conversation:o}))),d("div",{style:{width:"2rem"}}),s&&d(l.a,{context:f,group:s,tiny:!0})))};p.defaultProps={conversation:void 0,group:void 0},t.a=p},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(38)),a=n(169),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();t.default={path:"/cookie-policy",action:function(e){var t=this,n=e.api,i=e.store;return o(regeneratorRuntime.mark(function e(){var o,l,u,c;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=i.getState(),l=o.session,u=l.language||"en",e.next=5,n.getCookiePolicy(u);case 5:return c=e.sent,e.abrupt("return",{title:c.title,chunk:"cookie-policy",component:s(r.a,{path:"/cookie-policy"},void 0,s(a.a,{title:c.title,content:c.content}))});case 7:case"end":return e.stop()}},e,t)}))()}}},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(12),c=n.n(u),d=n(88),p=n.n(d),f=n(18),m=n.n(f),g=n(63),h=n.n(g),v=n(192),y=n(754),_=n(39),b=n(15),w=n(467),S=n.n(w),x=n(123),A=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},C=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),k=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={message:void 0},a=n,i(r,a)}return r(t,e),C(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;this.props.isPending&&!e.isPending&&(e.error?this.setState({message:this.props.i18n.formErrors.unexpectedError}):(this.setState({message:this.props.i18n.pages.forms.sent}),setTimeout(function(){return _.a.push("/"+t.props.context.organisation.domain+"/forms")},2e3)))}},{key:"onFormSubmit",value:function(e,t){var n=this.props.form;if(t){var o=P({},e),i=t.data.relevantReference;i&&(o.relevantReference={_type:"reference",_class:"users",_id:i._id}),this.props.updateFormResponse(n._id,t._id,{data:o})}else{var r={data:e,form:{_type:"reference",_class:"forms",_id:this.props.form._id}};this.props.createFormResponse(r,n._id)}}},{key:"render",value:function(){var e=this,t=this.props,o=t.i18n,i=t.isPending,r=t.error,a=t.form,s=t.commonStyle,l=a.responses&&a.responses.length>0&&a.responses[0];return l&&"archived"===l.status?A("div",{className:c()(s.container)},void 0,A("div",{className:c()(s.row)},void 0,A("div",{className:c()(s.col,s.s12,s.centerAlign),style:{marginTop:"1rem"}},void 0,A("b",{},void 0,o.pages.forms.archived)))):A("div",{className:c()(s.container)},void 0,A("div",{className:c()(s.row)},void 0,A("div",{className:c()(s.col,s.s12,s.m12,s.l8,s["offset-l2"],s.xl6,s["offset-xl3"])},void 0,A("h1",{},void 0,a.title),a.description&&A(h.a,{source:a.description,escapeHtml:!1}),n.i(x.a)(a)&&A("p",{},void 0,n.i(x.a)(a).firstName," ",n.i(x.a)(a).lastName))),A("div",{className:c()(s.row),style:{marginBottom:0,paddingBottom:"1rem"}},void 0,A("div",{className:c()(s.col,s.s12,s.m12,s.l8,s["offset-l2"],s.xl6,s["offset-xl3"])},void 0,A(y.a,{i18n:o,form:a,language:this.props.language,disabled:i,response:l,onSubmit:function(t,n){return e.onFormSubmit(t,n)}}),A(p.a,{open:!!this.state.message,autoHideDuration:2e3,message:this.state.message,bodyStyle:r?b.a.errorBackground:void 0,onRequestClose:function(){return e.setState({message:void 0})}}))))}}]),t}(s.a.Component);k.defaultProps={isPending:!1,error:null};var M=function(e){return{i18n:e.i18n,account:e.session.account,context:e.session.sContext,commonStyle:e.commonStyle,language:e.session.language,error:e.forms.sendFormError,isPending:e.forms.isSendFormResponsePending}},T={createFormResponse:v.c,updateFormResponse:v.d};t.a=n.i(l.a)(M,T)(m()(S.a)(k))},function(e,t,n){"use strict";function o(e){var t=e.i18n,n=e.groups,o=e.config;return 0===n.length?null:u("div",{style:{fontSize:"0.9em",display:"flex",marginBottom:"1rem"}},void 0,u("div",{style:{paddingRight:"0.5rem"}},void 0,c),u("div",{},void 0,u("div",{style:{marginBottom:5}},void 0,l.a.show(t.pages.createGroup.similarGroupsMessage,o)),n.map(function(e){return u("div",{},void 0,u("b",{},void 0,e.title)," (",e.createdBy.firstName+" "+e.createdBy.lastName,")")})))}var i=n(0),r=(n.n(i),n(1445)),a=n.n(r),s=n(52),l=(n.n(s),n(42)),u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),c=u(a.a,{color:s.error});t.a=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=(n.n(o),n(384)),r=n(38),a=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),s=a(r.a,{},void 0,a(i.a,{}));t.default={path:"/:domain/groups/create",action:function(){return{title:"CreateGroup",description:"CreateGroup",component:s,status:200}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=(n.n(o),n(386)),r=n(38),a=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),s=a(r.a,{},void 0,a(i.a,{}));t.default={path:"/groups/:id/edit",action:function(){return{title:"EditGroup",description:"EditGroup",component:s,status:200}}}},function(e,t,n){"use strict";function o(e){if(e&&e.replace){var t=e.replace(/[^\d]/g,"").replace(/^0+/,"");return e?"https://wa.me/"+t:void 0}}function i(e){var t=e.i18n,n=e.context,i=e.event,r=e.isMobile,a=e.openConversation,s=e.otherUser,u=e.setVideoUrl,d=n.config,f=d.contactInfoVisibility[n.role]||"none",h=("everyone"===f||"subscribedOnly"===f&&null!=s.subscription)&&"none"!==f,v=s.contactInfo||{},y=h&&v.phone,_=o(y);return g("div",{className:m.a.communicationActionsContainer},void 0,!i.location.type&&g("div",{onClick:function(){r?window.open("https://meet.jit.si/mte-"+i._id,"_blank"):u("mte-"+i._id)},className:m.a.actionButton},void 0,g(l.a,{style:{marginRight:"0.5rem"}}),g("div",{},void 0,t.pages.event.openVideoChat)),i.guests&&2===i.guests.length&&s&&s.firstName&&g("div",{onClick:function(){r?p.a.push("/conversations/wu/"+s._id):a(s)},className:m.a.actionButton},void 0,g(c.a,{style:{marginRight:"0.5rem"}}),g("div",{},void 0,t.pages.event.sendDirectMessage)),_&&g("a",{href:_,target:"_blank",rel:"noopener noreferrer",style:{color:"inherit"}},void 0,g("div",{className:m.a.actionButton},void 0,g("img",{className:m.a.whatsAppLogo,src:"/icons/whatsapp.png",alt:"whatsapp"}),g("div",{},void 0,t.pages.event.openWhatsApp))))}var r=n(18),a=n.n(r),s=n(509),l=n.n(s),u=n(1455),c=n.n(u),d=n(0),p=(n.n(d),n(39)),f=n(1328),m=n.n(f),g=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();i.defaultProps={isPending:!1,error:null,preMeetingFormResult:null,postMeetingFormResult:null,othersPreMeetingFormResult:null,othersPostMeetingFormResult:null},t.a=a()(m.a)(i)},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(12),l=n.n(s),u=n(18),c=n.n(u),d=n(40),p=n.n(d),f=n(307),m=n.n(f),g=n(61),h=n.n(g),v=n(222),y=n.n(v),_=n(62),b=n.n(_),w=n(48),S=n.n(w),x=n(514),A=n.n(x),P=n(0),C=n.n(P),k=n(63),M=n.n(k),T=n(3),O=n(67),E=n(64),I=n(54),N=n(356),D=n(359),j=n(361),R=n(235),F=n(32),L=n(240),U=n(369),B=n(43),Z=n(790),Y=n(806),G=n(52),H=(n.n(G),n(33)),W=n(42),z=n(16),X=n(855),V=n(1329),Q=n.n(V),q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},J=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),K=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),$={link:{color:"inherit"},rightInfo:{marginTop:"1rem"},title:{fontSize:"1.2em",marginBottom:"1rem"},person:{alignItems:"center",display:"flex",whiteSpace:"nowrap"},nameRoleContainer:{display:"inline-block",marginLeft:"12px",verticalAlign:"middle"},role:{fontWeight:"lighter",fontSize:"0.9em"}},ee=J(p.a,{}),te=J("br",{}),ne=J("br",{}),oe=J("br",{}),ie=J("br",{}),re=function(e){function t(e){i(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isCancelDialogShown:!1,isUpdateMeetingFormShown:!1,preMeetingFormResult:void 0,postMeetingFormResult:void 0},n}return a(t,e),K(t,[{key:"componentDidMount",value:function(){this.fetchDataIfNeeded()}},{key:"componentDidUpdate",value:function(){this.fetchDataIfNeeded()}},{key:"onCancelEventClick",value:function(){var e=this,t=this.props,n=t.i18n,o=t.account,i=t.context,r=t.event,a=(new Date).getTime()>1e3*r.startDate,s=i.config.meetingSettings,l=s.minRemainingTimeForMeetingCancellation,u=60*l*60,c=(new Date).getTime()/1e3,d=r.startDate-c<u,p=r.guests[0]._id===o._id;if(a)this.setState({showMeetingNotOccurredUI:!0,isCancelDialogShown:!0});else if(!d||p)this.setState({isCancelDialogShown:!0});else{var f=z.a.build(n.pages.event.remainingTimeTooLessMessage,{minRemainingTime:l});this.props.showMessageDialog(null,f,n.buttonActions.ok,function(){return e.props.hideDialog()},!1)}}},{key:"fetchDataIfNeeded",value:function(){var e=this.props,t=e.isPending,n=e.error,o=e.event;t||n||o.createdBy.firstName||this.fetchData()}},{key:"fetchData",value:function(){this.props.fetchEvent(this.props.account._id,this.props.id,"guests,cancelInfo(canceledBy),createdBy")}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,i=t.context,r=t.account,a=t.event,s=t.isPending,u=t.error,c=t.language,d=t.preMeetingFormResult,p=t.postMeetingFormResult,f=t.othersPreMeetingFormResult,g=t.othersPostMeetingFormResult,h=(new Date).getTime()>1e3*a.startDate,v=[].concat(o(a.guests)),y=v.splice(0,1)[0],_=v,b=y._id===r._id,w=b?"mentor":"mentee",S=!1,x=!1,A=!1;if(r){for(var P=0;P<_.length;P+=1){if(_[P]._id===r._id){x=!0;break}if(i.group&&_[P]._id===i.group._id){S=!0;break}}A=b||x||S}var C=void 0,k=void 0,T=void 0,O="canceled"===a.status;O&&(T=a.cancelInfo?a.cancelInfo.reason:null,(C=a.cancelInfo?a.cancelInfo.canceledBy:null)&&(k=C.firstName+" "+C.lastName));var E=a.createdBy,I=E.firstName+" "+E.lastName,N=null;E&&(N=z.a.build(n.pages.event.createdBy,{createdBy:J(F.a,{to:"/profile/"+E._id+"?rl="+("mentor"===w?"mtr":"mte")+"&&oid="+this.props.event.organisation._id,style:{color:G.accent1Color}},void 0,J("b",{},void 0,I))}));var V=null;if(O&&C&&(V=z.a.build(n.pages.event.canceledBy,{canceledBy:J(F.a,{to:"/profile/"+C._id+"?rl="+("mentor"===w?"mtr":"mte"),style:{color:G.errorColor}},void 0,J("b",{},void 0,k))})),s||u)return J("div",{className:l()(Q.a.container)},void 0,J("div",{className:Q.a.row,style:{margin:"1rem 0"}},void 0,s&&J("div",{style:{textAlign:"center"}},void 0,ee),u&&J("div",{className:l()(Q.a.col,Q.a.s12)},void 0,J(B.a,{message:n.pages.event.errorMessage,actionLabel:n.buttonActions.retry,onActionClick:function(){return e.fetchData()}}))));var q=new Date(1e3*a.startDate),K=new Date(1e3*a.endDate),re=H.a.format(q,"DD"),ae=H.a.format(q,"MMMM"),se=H.a.format(q,"dddd"),le=re+" "+ae+" "+se;H.a.dateFormat&&"MM/DD/YYYY"===H.a.dateFormat&&(le=ae+" "+re+" "+se);var ue=H.a.format(q,"HH:mm"),ce=H.a.format(K,"HH:mm"),de="";if(a.location)if(!a.location.address||a.location.type&&"custom"!==a.location.type){var pe="",fe=a.location.address;"jitsi"===a.location.type?pe=n.pages.event.location.jitsi:"zoom"===a.location.type&&a.location.address?pe=n.pages.event.location.zoom:"google"===a.location.type&&a.location.address?pe=n.pages.event.location.google:"microsoftbusiness"===a.location.type&&a.location.address&&(pe=n.pages.event.location.microsoftbusiness),fe&&(de=J("a",{style:{color:"#227CDC",textDecoration:"underline"},target:"_blank",href:fe},void 0,pe))}else de="@"+a.location.address;var me=null;x&&1===_.length?me=y._id:b&&1===_.length&&(me=_[0]._id);var ge=S?i.group:null,he=H.a.getMeetingGoalOfEvent(i,a),ve=void 0,ye=void 0;he&&(ve=he.periodStartDate&&new Date(1e3*he.periodStartDate),ye=he.periodEndDate&&new Date(1e3*he.periodEndDate));var _e=H.a.getMeetingGoalForms(i,w,a),be=_e.description,we=_e.preMeetingForm,Se=_e.postMeetingForm,xe=we&&we.fields.length>0,Ae=Se&&Se.fields.length>0,Pe=x?"mentor":"mentee",Ce=x?a.guests[0]:a.guests[1],ke=H.a.getMeetingGoalForms(i,Pe,a),Me=ke.preMeetingForm,Te=ke.postMeetingForm,Oe=Me&&Me.fields.length>0&&f,Ee=Te&&Te.fields.length>0&&g,Ie=[];return a.availability&&a.availability._id||!b||O||Ie.push({label:n.pages.event.updateMeeting,onClick:function(){return e.setState({isUpdateMeetingFormShown:!0})}}),!O&&A&&(h?Ie.push({label:n.pages.event.meetingDidNotOccur,onClick:function(){return e.onCancelEventClick()}}):Ie.push({label:n.pages.event.cancelMeeting,onClick:function(){return e.onCancelEventClick()}})),J("div",{},void 0,J(j.a,{i18n:n,event:a,isShown:this.state.isCancelDialogShown&&!O,hideDialog:function(){return e.setState({isCancelDialogShown:!1})},showMeetingNotOccurredUI:this.state.showMeetingNotOccurredUI}),this.state.isUpdateMeetingFormShown&&J(Y.a,{i18n:n,event:a,maxDate:ye,minDate:ve,isShown:this.state.isUpdateMeetingFormShown,hideDialog:function(){return e.setState({isUpdateMeetingFormShown:!1})}}),J("div",{className:l()(Q.a.container)},void 0,J("div",{className:Q.a.row,style:{marginBottom:0,position:"relative"}},void 0,J(X.a,{i18n:n,event:a,context:i,otherUser:Ce,isMobile:this.props.isMobile,setVideoUrl:this.props.setVideoUrl,openConversation:this.props.openConversation}),J("div",{className:l()(Q.a.col,Q.a.s12,Q.a.m4)},void 0,J("div",{style:{padding:"1rem 0rem"}},void 0,J("div",{style:$.title},void 0,le,te,ue," - ",ce,ne,de),N&&J("div",{style:{color:G.accent1Color}},void 0,N),O&&V&&J("div",{style:{color:G.errorColor}},void 0,V),T&&J("div",{style:{color:"black"}},void 0,J("b",{},void 0,n.pages.event.cancelReason,":")," ",T),J("div",{style:$.rightInfo},void 0,J(F.a,{to:"/profile/"+y._id+"?rl=mtr&oid="+i.organisation._id,style:$.link},void 0,J("div",{style:$.person},void 0,J(D.a,{user:y}),J("div",{style:$.nameRoleContainer},void 0,J("b",{},void 0,y.firstName," ",y.lastName),oe,J("span",{style:$.role},void 0,W.a.show(n.pages.event.mentor,i.config,c)))))),J("div",{style:$.rightInfo},void 0,_.map(function(e){var t=e.firstName,o=t?e.firstName+" "+e.lastName:e.title,r=t?n.pages.event.mentee:n.pages.event.group,a=t?"/profile/"+e._id+"?rl=mte&oid="+i.organisation._id:"/groups/"+e._id;return J(F.a,{to:a,style:$.link},e._id,J("div",{style:$.person},void 0,t&&J(D.a,{user:e}),!t&&J(R.a,{group:e}),J("div",{style:$.nameRoleContainer},void 0,J("b",{},void 0,o),ie,J("span",{style:$.role},void 0,W.a.show(r,i.config,c)))))})),Ie.length>0&&J(m.a,{style:{marginTop:"1.1rem"}}),J("div",{},void 0,J(U.a,{items:Ie})))),J("div",{className:l()(Q.a.col,Q.a.s12,Q.a.m8),style:{padding:"1rem 0rem"}},void 0,he&&J("div",{className:Q.a.row,style:{marginBottom:0,position:"relative"}},void 0,J("div",{className:l()(Q.a.col,Q.a.s12),style:{marginBottom:"1rem"}},void 0,J("b",{},void 0,he.meetingTitle),J(M.a,{className:"markdown-content",source:be,escapeHtml:!1})),xe&&J("div",{className:l()(Q.a.col,Q.a.s12),style:{margin:"0 0 1rem 0"}},void 0,J(Z.a,{event:a,isDisabled:!1,type:"preMeetingForm",i18n:this.props.i18n,form:d||this.state.preMeetingForm,title:n.pages.event.preMeetingQuestions,onFormCreate:function(){return window.location.reload()},devingenForm:we,createdBy:d&&r})),Oe&&J("div",{className:l()(Q.a.col,Q.a.s12),style:{margin:"0 0 1rem 0"}},void 0,J(Z.a,{isDisabled:!0,event:a,type:"preMeetingForm",i18n:this.props.i18n,form:f,title:n.pages.event.preMeetingQuestions+" ("+Ce.firstName+" "+Ce.lastName+")",devingenForm:Me,createdBy:Ce})),J("div",{className:l()(Q.a.col,Q.a.s12),style:{margin:"0 0 1rem 0"}},void 0,J(L.a,{group:ge,profileId:me,event:a,removeMarginsCompletely:!0,showNotesTitle:!0})),Ae&&J("div",{className:l()(Q.a.col,Q.a.s12),style:{margin:"0 0 1rem 0"}},void 0,J(Z.a,{event:a,isDisabled:!1,type:"postMeetingForm",i18n:this.props.i18n,form:p||this.state.postMeetingForm,title:n.pages.event.postMeetingQuestions,onFormCreate:function(){return window.location.reload()},devingenForm:Se,createdBy:p&&r})),Ee&&J("div",{className:l()(Q.a.col,Q.a.s12),style:{margin:"0 0 1rem 0"}},void 0,J(Z.a,{isDisabled:!0,event:a,type:"postMeetingForm",i18n:this.props.i18n,form:g,title:n.pages.event.postMeetingQuestions+" ("+Ce.firstName+" "+Ce.lastName+")",devingenForm:Te,createdBy:Ce}))),!he&&J("div",{style:{margin:"0.5rem -0.5rem"}},void 0,J(L.a,{group:ge,profileId:me,event:a,showNotesTitle:!0}))))))}}]),t}(C.a.Component);re.defaultProps={isPending:!1,error:null,preMeetingFormResult:null,postMeetingFormResult:null,othersPreMeetingFormResult:null,othersPostMeetingFormResult:null};var ae=J(h.a,{},void 0,J(A.a,{}));(function(e){return C.a.createElement(y.a,q({},e,{iconButtonElement:ae,targetOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"top"}}),J(b.a,{primaryText:e.i18n.pages.event.cancelMeeting,onClick:function(){return e.onCancelClick()}}))}).muiName="IconMenu";var se=function(e,t){var n=t.event,o=null,i=!1,r=e.calendar.detailedEvents[t.id];return r&&(r.event&&(n=r.event),i=r.isPending,o=r.error),{i18n:e.i18n,account:e.session.account,context:e.session.sContext,language:e.session.language,isPending:i,event:n,error:o,isMobile:e.runtime.isMobile}},le={fetchEvent:O.l,hideDialog:E.a,setVideoUrl:N.a,showMessageDialog:E.b,openConversation:I.d};n.i(T.a)(se,le)(c()(Q.a)(S()()(re)))},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(21)),a=(n(856),n(38)),s=n(80),l=n(33),u=n(740),c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),d=function(){var e=o(regeneratorRuntime.mark(function e(t){var n,o,i,d,p,f,m,g,h,v,y,_,b,w,S,x,A,P,C,k,M,T,O,E,I,N,D,j,R,F,L,U,B,Z,Y,G,H,W,z=t.api,X=t.params,V=t.store,Q=t.path;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n=V.getState(),o=n.session.sContext,i=n.session.account,o&&i){e.next=6;break}return e.abrupt("return",{status:401,title:"Unauthorized",component:c(a.a,{},void 0,c(s.a,{error:{code:401,message:"Unauthorized"},path:Q}))});case 6:if(d=null,p=X.id,f=n.calendar.detailedEvents[p],f&&(d=f.event),d){e.next=31;break}e.t0=regeneratorRuntime.keys(n.calendar.meetingsHistoriesByUser);case 12:if((e.t1=e.t0()).done){e.next=31;break}m=e.t1.value,g=n.calendar.meetingsHistoriesByUser[m],e.t2=regeneratorRuntime.keys(g.meetingBundleList);case 16:if((e.t3=e.t2()).done){e.next=29;break}h=e.t3.value,v=g.meetingBundleList[h].events,y=0;case 20:if(!(y<v.length)){e.next=27;break}if(v[y]._id!==p){e.next=24;break}return d=v[y],e.abrupt("break",27);case 24:y+=1,e.next=20;break;case 27:e.next=16;break;case 29:e.next=12;break;case 31:if(d){e.next=52;break}e.t4=regeneratorRuntime.keys(n.calendar.meetingsHistoriesByGroup);case 33:if((e.t5=e.t4()).done){e.next=52;break}_=e.t5.value,b=n.calendar.meetingsHistoriesByGroup[_],e.t6=regeneratorRuntime.keys(b.meetingBundleList);case 37:if((e.t7=e.t6()).done){e.next=50;break}w=e.t7.value,S=b.meetingBundleList[w].events,x=0;case 41:if(!(x<S.length)){e.next=48;break}if(S[x]._id!==p){e.next=45;break}return d=S[x],e.abrupt("break",48);case 45:x+=1,e.next=41;break;case 48:e.next=37;break;case 50:e.next=33;break;case 52:if(d){e.next=60;break}return e.next=55,z.getEvent(p,"guests,cancelInfo(canceledBy),createdBy");case 55:return d=e.sent,e.next=58,z.getNotesOfEvent(p);case 58:d.notes=e.sent,V.dispatch({type:r._11,status:r.o,payload:{id:p,item:d}});case 60:if(A="mentor"===o.role,P=!1,i&&(C=function(e,t){for(var n=0;n<t.length;n+=1)if(t[n].firstName){if(t[n]._id===e._id)return!0}else if(t[n].members)for(var o=0;o<t[n].members.length;o+=1)if(t[n].members[o]._id===e._id)return!0;return!1},P=A||C(i,d.guests)),P){e.next=65;break}return e.abrupt("return",{status:401,title:"Unauthorized",component:c(a.a,{},void 0,c(s.a,{error:{code:401,message:"Unauthorized"}}))});case 65:if(k=o.meetingGoalConfig&&o.meetingGoalConfig.meetingGoals&&o.meetingGoalConfig.meetingGoals.length>0,M=void 0,T=void 0,O=void 0,E=void 0,I=l.a.getRelationsOfUserForMeeting(o,d,i),N=I.isParticipantAsMentor,D=I.isParticipantAsMentee,j=I.isParticipantAsGroupMember,R=N||D||j,!k||!R){e.next=94;break}if(F=N?"mentor":"mentee",L=l.a.getMeetingGoalForms(o,F,d),U=L.preMeetingForm,B=L.postMeetingForm,!U){e.next=79;break}return e.next=78,z.getPrePostMeetingFormResponses(i._id,p,"preMeetingForm");case 78:M=e.sent;case 79:if(!B){e.next=83;break}return e.next=82,z.getPrePostMeetingFormResponses(i._id,p,"postMeetingForm");case 82:T=e.sent;case 83:if(Z=D?"mentor":"mentee",Y=l.a.getMeetingGoalForms(o,Z,d),G=Y.preMeetingForm,H=Y.postMeetingForm,W=D?d.guests[0]:d.guests[1],!G||!G.showResultsToAllGuests){e.next=90;break}return e.next=89,z.getPrePostMeetingFormResponses(W._id,p,"preMeetingForm");case 89:E=e.sent;case 90:if(!H||!H.showResultsToAllGuests){e.next=94;break}return e.next=93,z.getPrePostMeetingFormResponses(W._id,p,"postMeetingForm");case 93:O=e.sent;case 94:return e.abrupt("return",{title:"Meeting",component:c(a.a,{},void 0,c(u.a,{eventId:p}))});case 97:return e.prev=97,e.t8=e.catch(0),e.abrupt("return",{title:"Error",component:c(a.a,{},void 0,c(s.a,{error:e.t8}))});case 100:case"end":return e.stop()}},e,this,[[0,97]])}));return function(t){return e.apply(this,arguments)}}();t.default={default:{path:"/events/:id",action:d}}},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(12),c=n.n(u),d=n(18),p=n.n(d),f=n(40),m=n.n(f),g=n(17),h=n.n(g),v=n(15),y=n(1330),_=n.n(y),b=n(721),w=n(43),S=n(52),x=(n.n(S),n(372)),A=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),P=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},k={style:C({},v.a.roundedButtonContainer,{margin:"5px"}),labelStyle:C({},v.a.ttNoneButton,{color:S.white}),buttonStyle:C({},v.a.roundedButton,v.a.orangeButton)},M=A(m.a,{}),T=A(m.a,{}),O=A("br",{}),E=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),P(t,[{key:"componentDidMount",value:function(){this.fetchDataIfNeeded()}},{key:"componentDidUpdate",value:function(){this.fetchDataIfNeeded()}},{key:"fetchDataIfNeeded",value:function(){var e=this.props,t=e.organisations,n=e.isPending,o=e.error,i=e.subRoute,r=e.whiteLabel,a=i||"organisations";t||n||o||"organisations"!==a||r||this.fetchOrganisations()}},{key:"fetchOrganisations",value:function(){this.props.fetchOrganisations()}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.subRoute,i=t.contexts,r=t.organisations,a=t.isPending,l=t.error,u=t.whiteLabel,d=t.isMobile,p=o||"organisations",f={};return i.forEach(function(e){f[e.organisation._id]=!0}),u&&u.organisations?A("div",{className:c()(_.a.col,_.a.s12,_.a.m10,_.a["offset-m1"])},void 0,A("div",{className:c()(_.a.container)},void 0,l&&A("div",{className:c()(_.a.col,_.a.s12)},void 0,A(w.a,{message:n.pages.explore.fetchError,onActionClick:function(){return e.fetchOrganisations()},actionLabel:n.buttonActions.retry})),a&&A("div",{className:c()(_.a.col,_.a.s12,_.a.centerAlign,_.a.container),style:{marginTop:"1rem"}},void 0,M)),"organisations"===p&&u&&u.organisations&&A("div",{},void 0,A("section",{className:c()(_.a.container)},void 0,A("div",{className:_.a.row,style:{marginBottom:0}},void 0,A("div",{className:c()(_.a.col,_.a.s12,_.a.centerAlign)},void 0,u.organisations.map(function(e){return A("div",{},e._id,A(x.a,{i18n:n,organisation:e,showApplyButton:!f[e._id],isMobile:d},e._id))})))))):A("div",{},void 0,A("div",{className:c()(_.a.container)},void 0,l&&A("div",{className:c()(_.a.col,_.a.s12,_.a.m10,_.a["offset-m1"])},void 0,A(w.a,{message:n.pages.explore.fetchError,onActionClick:function(){return e.fetchOrganisations()},actionLabel:n.buttonActions.retry})),a&&A("div",{className:c()(_.a.col,_.a.s12,_.a.m10,_.a["offset-m1"],_.a.centerAlign,_.a.container),style:{marginTop:"1rem"}},void 0,T)),"organisations"===p&&r&&A("div",{},void 0,A("div",{className:_.a.section},void 0,A("div",{className:_.a.container},void 0,A("section",{className:_.a.row,style:{marginBottom:0}},void 0,A("div",{className:c()(_.a.col,_.a.s12,_.a.m10,_.a["offset-m1"],_.a.centerAlign)},void 0,A("h2",{},void 0,n.pages.explore.header),A("p",{},void 0,n.pages.explore.sentence))))),A("section",{className:c()(_.a.container)},void 0,A("div",{className:_.a.row,style:{marginBottom:0}},void 0,A("div",{className:c()(_.a.col,_.a.s12,_.a.m10,_.a["offset-m1"],_.a.centerAlign)},void 0,r.map(function(e){return A(x.a,{i18n:n,organisation:e,showApplyButton:!f[e._id]},e._id)})))),A("section",{className:_.a.section},void 0,A("div",{className:_.a.container},void 0,A("div",{className:_.a.row,style:{marginBottom:0}},void 0,A("div",{className:c()(_.a.col,_.a.s12,_.a.m10,_.a["offset-m1"],_.a.m3)}),A("div",{className:c()(_.a.col,_.a.s12,_.a.m10,_.a["offset-m1"],_.a.m6,_.a.centerAlign)},void 0,A("h2",{},void 0,n.pages.landing.runProgramInMentornity),A("p",{},void 0," ",n.pages.landing.runProgramInMentornityDesc),A("div",{className:_.a.centerAlign},void 0,s.a.createElement(h.a,C({secondary:!0,href:"https://mentornity.com/contact",label:n.buttonActions.demo},k,{buttonStyle:v.a.pinkButton})),s.a.createElement(h.a,C({secondary:!0,href:n.pages.explore.blog,label:n.buttonActions.howItWorks},k))))))),A("footer",{className:_.a.footer},void 0,A("section",{className:_.a.section,style:{background:"#0b5dc4",padding:0}},void 0,A("div",{className:c()(_.a.container,_.a.footerLinksContainer)},void 0,A("div",{className:_.a.row,style:{color:S.white,marginBottom:0}},void 0,A("div",{className:c()(_.a.col,_.a.s12,_.a.m10,_.a["offset-m1"],_.a.m9)},void 0,A("a",{href:n.pages.landing.footer.blogLink},void 0,A("h2",{className:_.a.footerPrimaryLink},void 0,n.pages.landing.footer.blog)),A("a",{href:"http://facebook.com"},void 0,A("h2",{className:_.a.footerPrimaryLink},void 0,n.pages.landing.footer.facebook)),A("a",{href:"http://twitter.com"},void 0,A("h2",{className:_.a.footerPrimaryLink},void 0,n.pages.landing.footer.twitter)),A("a",{href:"/contact"},void 0,A("h2",{className:_.a.footerPrimaryLink},void 0,n.pages.landing.footer.contact)),A("a",{href:"/help"},void 0,A("h2",{className:_.a.footerPrimaryLink},void 0,n.pages.landing.footer.help)),n.pages.landing.footer.secondaryLinkGroups.map(function(e,t){return A("div",{},t,e.map(function(e){return A("a",{href:e.link,className:_.a.footerSecondaryLink,style:{fontWeight:t%2==0?"inherit":"bold"}},e.label,e.label)}))}),A("div",{className:_.a.copyRight},void 0,"2018 © Mentornity")),A("div",{className:c()(_.a.col,_.a.s12,_.a.m10,_.a["offset-m1"],_.a.m3,_.a.centerAlign)},void 0,A("img",{src:"/circle-logo-and-name.png",alt:"logo",className:_.a.circleLogo}))))))),O)}}]),t}(s.a.Component);E.defaultProps={subRoute:null,organisations:null,isPending:!1,error:null,whiteLabel:null};var I=function(e){return{i18n:e.i18n,contexts:e.session.contexts,whiteLabel:e.session.whiteLabel,organisations:e.explore.organisations,error:e.explore.fetchOrganisationsError,isPending:e.explore.isPendingOrganisations,isMobile:e.runtime.isMobile}},N={fetchOrganisations:b.a};t.a=n.i(l.a)(I,N)(p()(_.a)(E))},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(48),u=n.n(l),c=n(3),d=n(12),p=n.n(d),f=n(73),m=n(39),g=n(242),h=n(366),v=n(755),y=n(860),_=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),b=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),w=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),b(t,[{key:"onTabChange",value:function(e){m.a.push("/groups/"+this.props.group._id+"/"+e)}},{key:"onEditClick",value:function(){m.a.push("/groups/"+this.props.group._id+"/edit")}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.context,i=t.group,r=t.subRoute,a=t.commonStyle,s=o.group&&o.group._id===i._id,l=[],u=f.a.getUserRoutes(o.config,o.role),c=!!i.subscription||u.indexOf("groups")>-1;(s||c&&"anonymous"!==o.role)&&l.push("members"),(o.group&&o.group._id===i._id||"mentor"===o.role&&c)&&l.push("meetings");var d=[];l.forEach(function(e){var t={label:n.groupRoutes[e],value:e};"members"===e?t.content=_(v.a,{i18n:n,id:i._id}):"meetings"===e&&(t.content=_(h.a,{groupId:i._id,shownGuestType:"groups",organisationId:o.organisation._id})),d.push(t)});var m=null;return d.length>0&&(m=r||d[0].value),_("div",{className:p()(a.container)},void 0,_("div",{className:a.row,style:{marginBottom:0}},void 0,_("div",{className:p()(a.col,a.s12)},void 0,_(y.a,{i18n:n,group:i,onEditClick:function(){return e.onEditClick()},editEnabled:s,metadatas:o.config.metadatas.group,context:o})),_("div",{className:p()(a.col,a.s12)},void 0,_("div",{className:p()(a.row)},void 0,_(g.a,{tabs:d,selectedTab:m,onChange:function(t){return e.onTabChange(t)}})))))}}]),t}(s.a.Component);w.defaultProps={subRoute:null};var S=function(e){return{i18n:e.i18n,commonStyle:e.commonStyle,context:e.session.sContext}};t.a=n.i(c.a)(S)(u()()(w))},function(e,t,n){"use strict";function o(e){var t=e.i18n,n=e.group,o=e.editEnabled,i=e.metadatas,r=e.context,a=n.linkedInUrl||n.twitterUrl||n.facebookUrl||n.webSiteUrl,s={fields:[],version:1};return i&&n.metadata&&(s.fields=(i||[]).map(function(e){return A({},e,{value:n.metadata[e.id]})})),P("div",{className:S.a.content},void 0,P("div",{className:S.a.logoContainer},void 0,P(x.a,{group:n,size:"xxxxlarge"})),P("div",{className:S.a.infoContainer},void 0,P("h2",{className:S.a.title,style:{color:e.muiTheme.palette.textColor}},void 0,n.title),P("div",{className:S.a.description,style:{color:e.muiTheme.palette.textColor}},void 0,P(_.a,{className:"markdown-content",source:n.description,escapeHtml:!1})),s.fields.map(function(e){if(void 0!==e.value&&e.value.length||"number"==typeof e.value){var t=null;if("singleChoice"===e.type){(r.config.metadatas.group||[]).filter(function(t){return t.id===e.id})[0].options.forEach(function(n){n.value===e.value&&(t=n.label)})}return P("div",{},void 0,P("h4",{},void 0," ",e.title," "),"multipleChoice"===e.type?P("span",{},void 0," ",e.value.join(", ")," "):"ratingStars"===e.type?P("p",{},void 0," ",Math.trunc(5*e.value),"/5 "):"singleChoice"===e.type?P("p",{},void 0," ",t," "):P("p",{},void 0," ",e.value," "))}}),a&&P("div",{},void 0,n.linkedInUrl&&P("a",{href:b.a.externalLink(n.linkedInUrl),target:"_blank",rel:"noopener noreferrer"},void 0,P("img",{className:S.a.socialIcon,src:"/icons/linkedin.svg",alt:"linkedin"})),n.twitterUrl&&P("a",{href:b.a.externalLink(n.twitterUrl),target:"_blank",rel:"noopener noreferrer"},void 0,P("img",{className:S.a.socialIcon,src:"/icons/twitter.svg",alt:"twitter"})),n.facebookUrl&&P("a",{href:b.a.externalLink(n.facebookUrl),target:"_blank",rel:"noopener noreferrer"},void 0,P("img",{className:S.a.socialIcon,src:"/icons/facebook.svg",alt:"facebook"})),n.webSiteUrl&&P("a",{href:b.a.externalLink(n.webSiteUrl),target:"_blank",rel:"noopener noreferrer"},void 0,P("img",{className:S.a.socialIcon,src:"/icons/web.svg",alt:"facebook"})))),o&&P(k,{i18n:t,style:{position:"absolute",right:0,top:"1.5rem"},onEditClick:function(){return e.onEditClick()}}))}var i=n(0),r=n.n(i),a=n(18),s=n.n(a),l=n(48),u=n.n(l),c=n(222),d=n.n(c),p=n(62),f=n.n(p),m=n(61),g=n.n(m),h=n(514),v=n.n(h),y=n(63),_=n.n(y),b=n(16),w=n(1331),S=n.n(w),x=n(235),A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},P=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),C=P(g.a,{},void 0,P(v.a,{})),k=function(e){return r.a.createElement(d.a,A({},e,{iconButtonElement:C,targetOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"top"}}),P(f.a,{primaryText:e.i18n.pages.group.editGroup,onClick:function(){return e.onEditClick()}}))};k.muiName="IconMenu",t.a=s()(S.a)(u()()(o))},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(12),l=n.n(s),u=n(26),c=n.n(u),d=n(17),p=n.n(d),f=n(48),m=n.n(f),g=n(36),h=n.n(g),v=n(0),y=n.n(v),_=n(3),b=n(52),w=(n.n(b),n(15)),S=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},A=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),P={paper:{marginTop:"2rem",padding:"1rem",background:"white"},logo:{width:"100px",height:"100px",marginTop:"2rem"}},C=S("br",{}),k=S("br",{}),M=function(e){function t(e){i(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={errors:{}},n}return a(t,e),A(t,[{key:"handleChange",value:function(e){this.setState(x({},this.state,o({},e.target.id,e.target.value)))}},{key:"handleSubmit",value:function(e){var t=this;if(e.preventDefault(),this.validateForm()){var n=this.props,o=n.account,i=n.context,r=o.email,a=o.firstName,s=o.lastName,l=i&&i.organisation&&i.organisation.title,u=i&&i.role;this.setState({isPending:!0}),window.api.createFormResponse({data:{email:r||"-",id:o._id||"-",fullName:a+" "+s,message:this.state.message||"-",phone:this.state.phone||"-",organisation:l||"-",role:u||"-"},type:"help"}).then(function(){t.setState({isFormSent:!0})},function(e){t.setState({error:e,isPending:!1})})}}},{key:"validateForm",value:function(){var e=this.props.i18n,t={},n=this.state.message;return(!n||n.length<1)&&(t.message=e.pages.contact.messageMissing),this.setState({errors:t}),0===Object.keys(t).length}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.commonStyle;return S("div",{className:l()(o.container)},void 0,S("div",{className:o.row,style:{marginBottom:0}},void 0,S("div",{className:l()(o.col,o.s12,o.m8,o["offset-m2"])},void 0,S(c.a,{style:P.paper},void 0,S("h2",{},void 0,n.pages.help.title),S("form",{className:o.form,onSubmit:function(t){return e.handleSubmit(t)}},void 0,S(h.a,{id:"phone",type:"tel",fullWidth:!0,value:this.state.phone,hintText:n.formHints.phoneWithCode,disabled:this.state.isPending||this.state.isFormSent,errorText:this.state.errors.phone,onChange:function(t){return e.handleChange(t)}})," ",C,S(h.a,{id:"message",type:"text",fullWidth:!0,multiLine:!0,rows:3,value:this.state.message,hintText:n.pages.contact.message,disabled:this.state.isPending||this.state.isFormSent,errorText:this.state.errors.message,onChange:function(t){return e.handleChange(t)}})," ",k,S(p.a,{type:"submit",fullWidth:!0,secondary:!0,disabled:this.state.isPending||this.state.isFormSent,label:n.pages.contact.submit,style:x({},w.a.semiRoundedButtonContainer,{margin:"12px 0"}),buttonStyle:w.a.semiRoundedButton,labelStyle:w.a.semiRoundedButtonLabel}),this.state.isFormSent&&S("p",{className:o.centerAlign,style:{color:b.turquoise}},void 0,n.pages.contact.successMessage),S("div",{className:l()(o.centerAlign,o.coverSection)},void 0,S("a",{href:"/"},void 0,n.pages.landing.footer.home)," . ",S("a",{href:"https://twitter.com/mentornity"},void 0,n.pages.landing.footer.twitter)," . ",S("a",{href:"https://medium.com/mentornity-blog"},void 0,n.pages.landing.footer.blog)),this.state.error&&S("p",{className:o.centerAlign},void 0,n.pages.contact.errorMessage)))),S("div",{className:l()(o.col,o.s12,o.m8,o["offset-m2"],o.centerAlign)},void 0,S("img",{src:"/img/logo-mail-footer.png",alt:"logo",style:P.logo}))))}}]),t}(y.a.Component);M.defaultProps={};var T=function(e){return{i18n:e.i18n,account:e.session.account,context:e.session.sContext,commonStyle:e.commonStyle}},O={};t.a=n.i(_.a)(T,O)(m()()(M))},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(38)),a=n(80),s=n(861),l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),u=l(r.a,{path:"help"},void 0,l(s.a,{}));t.default={path:"/help",action:function(e){var t=this,n=e.store;return o(regeneratorRuntime.mark(function e(){var o,i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=n.getState(),i=o.session.sContext,s=o.session.account,i&&s){e.next=5;break}return e.abrupt("return",{status:401,title:"Unauthorized",component:l(r.a,{},void 0,l(a.a,{error:{code:401,message:"Unauthorized"},path:"help"}))});case 5:return e.abrupt("return",{title:o.i18n.pages.help.title,chunk:"about",component:u});case 6:case"end":return e.stop()}},e,t)}))()}}},function(e,t,n){"use strict";function o(e){var t=e.i18n,n=e.commonStyle;return l("div",{},void 0,l("div",{className:n.container},void 0,l("div",{className:n.row},void 0,l("div",{className:s()(n.col,n.s12)},void 0,l("p",{className:n.centerAlign},void 0,t.pages.home.memberOfNoOrganisationMessage)))))}var i=n(0),r=(n.n(i),n(3)),a=n(12),s=n.n(a),l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),u=function(e){return{i18n:e.i18n,account:e.session.account,commonStyle:e.commonStyle}};n.i(r.a)(u)(o)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(12),u=n.n(l),c=n(18),d=n.n(c),p=n(3),f=n(17),m=n.n(f),g=n(16),h=n(15),v=n(466),y=n.n(v),_=n(52),b=(n.n(_),n(198)),w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},S=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),x=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),A=S(b.a,{}),P=S("br",{}),C=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={},n}return r(t,e),x(t,[{key:"render",value:function(){var e=this.props,t=e.i18n,n=e.commonStyle,o=e.language,i=e.stickyMessage,r=t.pages.landing,a="https://tr.mentornity.com/kulucka-ve-hizlandirici-mentorluk-sistemi/mentornity-animation.html?hl="+o+"&abg=true";return S("div",{className:y.a.landingPage},void 0,i&&A,S("nav",{className:y.a.topBar},void 0,S("div",{className:y.a.container},void 0,S("div",{className:y.a.row,style:{margin:0}},void 0,S("div",{className:u()(y.a.col,y.a.s12)},void 0,S("div",{className:y.a.topBarContent},void 0,S("div",{className:y.a.logoContainer},void 0,S("img",{className:y.a.logo,src:"/img/mentornity-logo-red-tbg.png",alt:"logo"})),S("div",{className:u()(y.a.actionsContainer,n.hideOnMediumAndDown)},void 0,r.navBar.rightActions.map(function(e){switch(e.type){case"bold":return S("a",{href:e.link},e.link,S("b",{},void 0,e.label));case"button":return S("a",{href:e.link,style:{height:36}},e.link,S(m.a,{label:e.label,href:e.login,style:h.a.semiRoundedButtonContainer,buttonStyle:w({},h.a.semiRoundedButton,h.a.blueButton),labelStyle:w({},h.a.semiRoundedButtonLabel,h.a.colorfulButtonLabel)}));default:return S("a",{href:e.link},e.link,e.label)}}),S(m.a,{label:t.buttonActions.login,secondary:!0,href:"/login",className:y.a.right,style:h.a.semiRoundedButtonContainer,buttonStyle:h.a.semiRoundedButton,labelStyle:h.a.semiRoundedButtonLabel})),S("div",{className:u()(y.a.mobileLoginButton,n.showOnMediumAndDown)},void 0,S(m.a,{label:t.buttonActions.login,secondary:!0,href:"/login",className:y.a.right,style:h.a.semiRoundedButtonContainer,buttonStyle:h.a.semiRoundedButton,labelStyle:h.a.semiRoundedButtonLabel}))))))),S("section",{className:y.a.container},void 0,S("div",{className:y.a.row,style:{paddingTop:"1rem"}},void 0,S("div",{className:u()(y.a.col,y.a.s12,y.a.m6)},void 0,S("h2",{className:y.a.descriptionContent},void 0,r.description.title),S("p",{className:y.a.descriptionContent,dangerouslySetInnerHTML:{__html:g.a.linkify(r.description.description)}}),S("div",{className:y.a.linkListContainer},void 0,r.description.links.map(function(e){var t=h.a.grayButton;if(e.color)switch(e.color){case"blue":t=h.a.blueButton;break;case"orange":t=h.a.orangeButton;break;case"pink":t=h.a.pinkButton;break;case"turquoise":t=h.a.turquoiseButton;break;default:t=h.a.grayButton}return S("div",{},e.link,S(m.a,{label:S("span",{className:y.a.descriptionLink},void 0,e.label,"   ",S("span",{className:y.a.arrowIcon},void 0,"›")),href:e.link,style:w({},h.a.semiRoundedButtonContainer,{display:"table",marginBottom:"0.5rem"}),buttonStyle:w({},h.a.semiRoundedButton,t),labelStyle:w({},h.a.semiRoundedButtonLabel,h.a.colorfulButtonLabel)}))}))),S("div",{className:u()(y.a.col,y.a.s12,y.a.m6)},void 0,S("div",{className:y.a.animationContainer},void 0,S("iframe",{id:"animation-frame",src:a,className:y.a.animationFrame}))))),S("section",{className:y.a.referencesContainer},void 0,S("div",{className:y.a.container},void 0,S("div",{className:y.a.row},void 0,S("div",{className:u()(y.a.col,y.a.s12,n.hideOnMediumAndUp)},void 0,S("img",{src:t.pages.landing.customersImage,alt:"references",className:y.a.referencesImg})),S("div",{className:u()(y.a.col,y.a.s12,n.hideOnMediumAndDown)},void 0,S("img",{src:t.pages.landing.customersImageWide,alt:"references",className:y.a.referencesImg}))))),S("section",{className:y.a.section},void 0,S("div",{className:y.a.container},void 0,S("div",{className:y.a.row,style:{color:_.white,margin:0}},void 0,S("div",{className:u()(y.a.col,y.a.s12,y.a.m6)},void 0,S("div",{className:y.a.row},void 0,S("div",{className:u()(y.a.col,y.a.s6,y.a.desc)},void 0,S("div",{className:u()(y.a.descContent)},void 0,t.pages.landing.getMentorshipIconDesc1),S("img",{src:"/landing-desc-1.png",alt:"references",className:y.a.descIcons})),S("div",{className:u()(y.a.col,y.a.s6,y.a.desc)},void 0,S("img",{src:"/landing-desc-2.png",alt:"references",className:y.a.descIcons}),S("div",{className:u()(y.a.descContent)},void 0,t.pages.landing.getMentorshipIconDesc2)))),S("div",{className:u()(y.a.col,y.a.s12,y.a.m6)},void 0,S("h2",{},void 0,t.pages.landing.getMentorship),S("p",{},void 0,t.pages.landing.getMentorshipDesc),S(m.a,{label:t.buttonActions.explorePrograms,href:t.pages.landing.exploreLink,buttonStyle:w({},h.a.roundedButton,h.a.whiteButton),style:h.a.roundedButtonContainer})))),S("div",{className:y.a.skewBackground,style:{backgroundColor:_.purple}})),S("section",{className:y.a.section},void 0,S("div",{className:y.a.container},void 0,S("div",{className:y.a.row,style:{margin:0}},void 0,S("div",{className:u()(y.a.col,y.a.s12,y.a.m6)},void 0,S("h2",{},void 0,t.pages.landing.giveMentorship),S("p",{},void 0,t.pages.landing.giveMentorshipDesc),S(m.a,{label:t.buttonActions.howItWorks,secondary:!0,href:t.pages.landing.howItWorksLink,className:y.a.center,style:h.a.roundedButtonContainer,buttonStyle:w({},h.a.roundedButton,h.a.purpleButton)})),S("div",{className:u()(y.a.col,y.a.s12,y.a.m6)},void 0,S("div",{className:y.a.row},void 0,S("div",{className:u()(y.a.col,y.a.s6,y.a.desc)},void 0,S("div",{className:u()(y.a.descContent)},void 0,t.pages.landing.giveMentorshipIconDesc1),S("img",{src:"/landing-desc-3.png",alt:"references",className:y.a.descIcons})),S("div",{className:u()(y.a.col,y.a.s6,y.a.desc)},void 0,S("img",{src:"/landing-desc-4.png",alt:"references",className:y.a.descIcons}),S("div",{className:u()(y.a.descContent)},void 0,t.pages.landing.giveMentorshipIconDesc2)))))),S("div",{className:y.a.skewBackground})),S("footer",{className:y.a.footer},void 0,S("section",{className:y.a.section},void 0,S("div",{className:u()(y.a.container,y.a.footerLinksContainer)},void 0,S("div",{className:y.a.row,style:{color:_.white}},void 0,S("div",{className:u()(y.a.col,y.a.s12,y.a.m9)},void 0,S("a",{href:t.pages.landing.footer.blogLink},void 0,S("h2",{className:y.a.footerPrimaryLink},void 0,t.pages.landing.footer.blog)),S("a",{href:"http://facebook.com/mentornity"},void 0,S("h2",{className:y.a.footerPrimaryLink},void 0,t.pages.landing.footer.facebook)),S("a",{href:"http://twitter.com/mentornity"},void 0,S("h2",{className:y.a.footerPrimaryLink},void 0,t.pages.landing.footer.twitter)),S("a",{href:"/contact"},void 0,S("h2",{className:y.a.footerPrimaryLink},void 0,t.pages.landing.footer.contact)),S("a",{href:"/contact"},void 0,S("h2",{className:y.a.footerPrimaryLink},void 0,t.pages.landing.footer.help)),t.pages.landing.footer.secondaryLinkGroups.map(function(e,t){return S("div",{},t,e.map(function(e){return S("a",{href:e.link,className:y.a.footerSecondaryLink,style:{fontWeight:t%2==0?"inherit":"bold"}},e.label,e.label)}))}),S("div",{className:y.a.copyRight},void 0,"2018 © Mentornity")),S("div",{className:u()(y.a.col,y.a.s12,y.a.m3,y.a.centerAlign)},void 0,S("img",{src:"/circle-logo-and-name.png",alt:"logo",className:y.a.circleLogo}),P,S("img",{src:"/img/payment-visa-white.png",alt:"visa",className:y.a.paymentLogo}),S("img",{src:"/img/payment-mastercard-white.png",alt:"visa",className:y.a.paymentLogo,style:{marginLeft:"1rem"}})))),S("div",{className:u()(y.a.skewBackground)},void 0,S("div",{className:u()(y.a.skewImage,y.a.footerBackground)})))))}}]),t}(s.a.Component);C.defaultProps={stickyMessage:void 0};var k=function(e){return{i18n:e.i18n,commonStyle:e.commonStyle,language:e.session.language,stickyMessage:e.stickyMessage.message}};t.a=n.i(p.a)(k)(d()(y.a)(C))},function(e,t,n){"use strict";function o(e){var t=(e.i18n,e.contexts),n=e.whiteLabel,o=(e.isMobile,{});t.forEach(function(e){o[e.organisation._id]=!0});n.organisations&&n.organisations[0],n.linkedInUrl||n.twitterUrl||n.facebookUrl||n.webSiteUrl;return f}var i=n(0),r=(n.n(i),n(3)),a=n(12),s=(n.n(a),n(18)),l=n.n(s),u=n(466),c=n.n(u),d=(n(372),n(370),n(869),n(389)),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=p("div",{},void 0,p(d.a,{})),m=function(e){return{i18n:e.i18n,contexts:e.session.contexts,isMobile:e.runtime.isMobile}};t.a=n.i(r.a)(m)(l()(c.a)(o))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=(n.n(o),n(863),n(864)),r=n(38),a=n(865),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),l=s(r.a,{},void 0,s(i.a,{}));t.default={path:"/",action:function(e){var t=e.store,n=t.getState();if(n.session.isLoggedIn)return n.session.sContext&&n.session.sContext.organisation?n.session.sContext.pendingInvitation&&"pending"===n.session.sContext.pendingInvitation.status?{redirect:"/acceptInvitation/"+n.session.sContext.pendingInvitation._id}:{redirect:"/"+n.session.sContext.organisation.domain}:{redirect:"/programs"};var o=n.session.whiteLabel;return o?o.landingPageUrl?o.landingPageUrl.startsWith("http")?{redirect:o.landingPageUrl}:{redirect:"http://"+o.landingPageUrl}:{title:o.title,component:s(r.a,{},void 0,s(a.a,{whiteLabel:o}))}:{title:"Mentornity",component:l}}}},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default={path:"/",children:[n(866).default,n(871).default,n(875).default,n(895).default,n(393).default.default,n(393).default.subRoute,n(868).default,n(843).default,n(862).default,n(888).default,n(850).default,n(885).default,n(887).default,n(841).default,n(392).default.default,n(392).default.subRoute,n(246).default.default,n(246).default.subRoute,n(246).default.subRouteWithAction,n(892).default,n(854).default,n(853).default,n(857).default.default,n(388).default.default,n(388).default.subRoute,n(383).default,n(383).specificResponse,n(387).default.default,n(387).default.subRoute,n(244).default.default,n(244).default.conversation,n(244).default.conversationWithUser,n(894).default,n(245).default.default,n(245).default.subRoute,n(245).default.subRouteSection,n(872).default],action:function(e){var t=this,n=e.next;return o(regeneratorRuntime.mark(function e(){var o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n();case 2:return o=e.sent,o.title=o.title||"Mentornity",o.description=o.description||"",e.abrupt("return",o);case 6:case"end":return e.stop()}},e,t)}))()}}},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n.n(i),a=n(38),s=n(169),l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();t.default={path:"/kullanici-sozlesmesi",action:function(){var e=this;return o(regeneratorRuntime.mark(function t(){var o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.e(0).then(function(e){return n(701)}.bind(null,n)).catch(n.oe);case 2:return o=e.sent,e.abrupt("return",{title:o.title,chunk:"kullanici-sozlesmesi",component:l(a.a,{path:"kullanici-sozlesmesi"},void 0,r.a.createElement(s.a,o))});case 4:case"end":return e.stop()}},t,e)}))()}}},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(12),s=n.n(a),l=n(18),u=n.n(l),c=n(26),d=n.n(c),p=n(0),f=n.n(p),m=n(3),g=n(29),h=n(198),v=n(15),y=n(102),_=n(1332),b=n.n(_),w=n(390),S=n(870),x=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),A=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),P=x(h.a,{}),C=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={errors:{}},n}return r(t,e),A(t,[{key:"componentDidUpdate",value:function(){this.props.isLoggedIn&&window.location.replace(this.props.redirect||"/")}},{key:"handleChange",value:function(e){var t=Object.assign({},this.state);t[e.target.id]=e.target.value,this.setState(t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.isPending,i=t.isLoggedIn,r=t.error,a=t.oAuthError,l=t.stickyMessage,u=t.whiteLabel,c=y.a.getLoginErrorMessage(n,r||a);return x("div",{className:b.a.loginPage,style:{background:"#EEEEEE",backgroundSize:"320.2px 407px"}},void 0,l&&P,x("div",{className:b.a.container},void 0,x("div",{className:b.a.row},void 0,x("div",{className:s()(b.a.col,b.a.s12,b.a.m6,b.a["offset-m3"])},void 0,x("div",{className:b.a.centerAlign},void 0,x("a",{href:"/"},void 0,u&&u.title?x("h1",{style:{color:"#212121",marginTop:"85px"}},void 0,u.title):x("img",{className:b.a.logo,src:"/img/mentornity-logo-red-tbg.png",alt:"logo"}))),x(d.a,{zDepth:4,style:v.a.roundedPaper},void 0,x(w.a,{disabled:o||i,onSubmit:function(t,n){return e.props.login(t,n)}}),x("div",{className:b.a.socialLoginContainer},void 0,x(S.a,{i18n:n,platformTitle:"Microsoft",platformDomain:"microsoft"}),x(S.a,{i18n:n,platformTitle:"Google",platformDomain:"google"})),x("div",{className:b.a.centerAlign},void 0,c&&x("p",{className:b.a.error},void 0,c),x("a",{href:"/password/forgot"},void 0,n.pages.login.forgotPassword)," . ",x("a",{href:"https://guides.mentornity.com"},void 0,n.pages.login.help)),x("p",{className:b.a.centerAlign,style:{color:"#aaa"}},void 0,n.pages.login.description))))))}}]),t}(f.a.Component);C.defaultProps={error:null,oAuthError:null,redirect:null,isPending:!1,stickyMessage:void 0,whiteLabel:void 0};var k=function(e){return{i18n:e.i18n,error:e.session.loginError,oAuthError:e.session.oAuthError,isLoggedIn:e.session.isLoggedIn,isPending:e.session.isLoginPending,stickyMessage:e.stickyMessage.message,whiteLabel:e.session.whiteLabel}},M={login:g.t};n.i(m.a)(k,M)(u()(b.a)(C))},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){switch(e){case"google":return S("img",{style:{verticalAlign:"top",margin:"0 8px 0 -8px",width:"36px"},src:"/icons/btn_google_dark_normal_ios.svg",alt:"icon"});case"microsoft":return S("img",{style:{verticalAlign:"top",margin:"0 8px 0 -8px",padding:"3px",width:"30px"},src:"/icons/ms-symbollockup_mssymbol_19.svg",alt:"icon"});default:return null}}function s(e){switch(e){case"google":return v.a.googleButton;case"microsoft":return v.a.microsoftButton;default:return{}}}function l(e,t){switch(t){case"google":return e.getGoogleOAuthURL;case"microsoft":return e.getMicrosoftOAuthURL;default:return function(){}}}function u(e,t){switch(e){case"google":return t.googleAuthUrl;case"microsoft":return t.microsoftAuthUrl;default:return""}}var c=n(17),d=n.n(c),p=n(0),f=n.n(p),m=n(3),g=n(64),h=n(29),v=n(15),y=n(16),_=n(797),b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},w=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),S=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),x=function(e){function t(){var e,r,a,s;o(this,t);for(var c=arguments.length,d=Array(c),p=0;p<c;p++)d[p]=arguments[p];return r=a=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(d))),a.onButtonClick=function(){l(window.api,a.props.platformDomain)().then(function(e){var t=u(a.props.platformDomain,e),o=n.i(_.a)(t,"state",location.host);window.open(o,"_self")},function(e){return a.setState({error:e})})},s=r,i(a,s)}return r(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.i18n,n=e.platformDomain,o=e.platformTitle,i=e.isLoginOAuthPending,r=a(n),l=S("span",{style:{paddingRight:"4px"}},void 0,r,y.a.build(t.pages.oauthRegister.loginWith,{platformTitle:S("b",{},void 0,o.toLocaleUpperCase())}));return S(d.a,{secondary:!0,disabled:i,label:l,style:b({},v.a.semiRoundedButtonContainer,{margin:"0 0.5rem"}),buttonStyle:s(n),onClick:this.onButtonClick,labelStyle:v.a.semiRoundedButtonLabel})}}]),t}(f.a.Component);x.defaultProps={isLoginOAuthPending:!1};var A=function(e){return{i18n:e.i18n,commonStyle:e.commonStyle,isLoginOAuthPending:e.session.isLoginOAuthPending}},P={loginOAuth:h.v,showMessageDialog:g.b,hideDialog:g.a};t.a=n.i(m.a)(A,P)(x)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=(n.n(o),n(389)),r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),a=r(i.a,{});t.default={path:"/login",action:function(e){e.query;return e.store.getState().session.isLoggedIn?{redirect:"/"}:{title:"Login",description:"Login",component:a,status:200}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=(n.n(o),n(38)),r=n(80),a=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();t.default={path:"*",action:function(){return{title:"Page Not Found",component:a(i.a,{},void 0,a(r.a,{error:{code:404}})),status:404}}}},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(0),l=n.n(s),u=n(18),c=n.n(u),d=n(3),p=n(29),f=n(1333),m=n.n(f),g=n(102),h=n(16),v=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),y=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),_=v("br",{}),b=v("br",{}),w=function(e){function t(){var e,n,o,a;i(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=o=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.state={},o.platformTitle={google:"Google",microsoft:"Microsoft"},a=n,r(o,a)}return a(t,e),y(t,[{key:"componentDidMount",value:function(){var e=new URLSearchParams(location.search),t=e.get("code"),n=e.get("state"),o=e.get("token");if("state-token"===n){if(window){var i=window.self;i.opener=window.self,i.close()}}else if(n===location.host){var r=location.pathname.split("/").pop();this.props.isLoggedIn?this.props.connectOAuth(this.props.account._id,{code:t},r):this.props.loginOAuth({code:t,token:o},r)}else window.open(location.protocol+"//"+n+location.pathname+location.search,"_self")}},{key:"componentWillReceiveProps",value:function(){function e(e){return t.apply(this,arguments)}var t=o(regeneratorRuntime.mark(function e(t){var n,o,i,r,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return!this.props.isLoggedIn&&t.isLoggedIn&&window.open(location.protocol+"//"+location.host,"_self"),!this.props.isOAuthPending||t.isOAuthPending||t.oAuthError||window.open(location.protocol+"//"+location.host+"/settings/integration","_self"),e.next=4,t;case 4:n=e.sent,o=n.i18n,i=n.oAuthError,r=location.pathname.split("/").pop(),a=h.a.build(g.a.getOAuthErrorMessage(o,i),{platformTitle:v("b",{},void 0,this.platformTitle[r])}),a&&this.setState({error:a});case 10:case"end":return e.stop()}},e,this)}));return e}()},{key:"render",value:function(){return v("div",{style:{padding:"1rem",textAlign:"center"}},void 0,this.state.error?v("p",{},void 0,this.state.error,_,b,v("a",{href:this.props.isLoggedIn?"/settings/integration":"/login"},void 0,this.props.i18n.buttonActions.retry)):v("p",{},void 0,this.props.i18n.pages.oauth.message))}}]),t}(l.a.Component);w.defaultProps={account:null,isLoggedIn:!1};var S=function(e){return{i18n:e.i18n,isLoggedIn:e.session.isLoggedIn,account:e.session.account,isOAuthPending:e.session.isOAuthPending,oAuthError:e.session.oAuthError}},x={connectOAuth:p.w,loginOAuth:p.v};t.a=n.i(d.a)(S,x)(c()(m.a)(w))},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(3),u=n(12),c=n.n(u),d=n(17),p=n.n(d),f=n(47),m=n.n(f),g=n(88),h=n.n(g),v=n(26),y=n.n(v),_=n(109),b=n.n(_),w=n(40),S=n.n(w),x=n(512),A=n.n(x),P=n(63),C=n.n(P),k=n(29),M=n(64),T=n(81),O=n(16),E=n(15),I=n(390),N=n(102),D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},j=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),R=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),F={arcelik:"Arçelik",grovation:"Grovation",koophub:"KoopHub"},L={marginTop:"1rem",borderRadius:"6px",backgroundColor:"#fff",padding:"1rem"},U={display:"flex",cursor:"pointer",justifyContent:"space-between"},B=j("div",{}),Z=j(S.a,{}),Y=j(A.a,{}),G=j(A.a,{}),H=j(A.a,{}),W=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return e.account?n.state={errorMessage:null}:n.state={isAutoLogining:!0,errorMessage:null},n}return r(t,e),R(t,[{key:"componentDidMount",value:function(){var e=this.props.whiteLabel;if(e&&e.domain&&e.domain!==window.location.host){var t=window.location.href.replace(window.location.host,e.domain);return void window.location.replace(t)}if(this.props.account)return T.a.clearAll(),void window.location.reload();this.state.isAutoLogining&&this.loginWithOAuth()}},{key:"componentWillReceiveProps",value:function(e){if(!this.props.isLoggedIn&&e.isLoggedIn&&this.props.isLoginPending&&!e.isLoginPending)this.connectCurrentAccount(e.accountId);else if(!this.props.isOAuthPending||e.isOAuthPending||e.oAuthError){if(this.props.isLoginOAuthPending&&!e.isLoginOAuthPending&&!e.oAuthError){var t=this.props.queryParams;t&&t.domain?window.location.replace("/"+t.domain):window.location.replace("/")}}else window.location.replace("/"+this.props.organisation.domain+"/welcome");var n=e.i18n,o=e.oAuthError,i=e.platformDomain;if(this.state.isAutoLogining&&o&&404===o.status&&this.showCreateNewAccountUI(),!this.state.isAutoLogining){var r=F[i];this.setState({errorMessage:O.a.build(N.a.getOAuthErrorMessage(n,o),{platformTitle:j("b",{},void 0,r)})})}}},{key:"connectCurrentAccount",value:function(e){var t=this.props,n=t.queryParams,o=t.platformDomain;this.props.connectOAuth(e,n,o)}},{key:"createNewAccount",value:function(){var e=this.props,t=e.queryParams,n=e.platformDomain;this.props.registerOAuth(t,n)}},{key:"loginWithOAuth",value:function(){var e=this.props,t=e.queryParams,n=e.platformDomain;this.props.loginOAuth(t,n)}},{key:"showCreateNewAccountUI",value:function(){this.setState({shouldShowCreateNewAccountUI:!0})}},{key:"openAgreement",value:function(e){var t=this,n=this.props,o=n.i18n,i=n.config,r=n.organisation,a=n.privacyPolicy,s=void 0,l=void 0;"organisation"===e?(s=O.a.build(o.pages.acceptInvitation.agreementTitle,{title:r.title}).join(" "),l=i.terms):"mentornity"===e?(l=o.mentornityTerms,s=O.a.build(o.pages.acceptInvitation.agreementTitle,{title:"Mentornity"}).join(" ")):"privacyPolicy"===e&&(s=a.title,l=a.content),this.props.showMessageDialog(s,j("div",{style:{color:"#333"}},void 0,j(C.a,{className:"markdown-content",source:l,escapeHtml:!1})),o.buttonActions.ok,function(){return t.props.hideDialog()},!0)}},{key:"render",value:function(){var e=this;if(this.props.account)return B;if(this.state.isAutoLogining&&!this.state.shouldShowCreateNewAccountUI)return j("div",{style:{display:"flex",justifyContent:"center",padding:"1rem"}},void 0,Z);var t=this.props,n=t.i18n,o=t.privacyPolicy,i=t.account,r=t.commonStyle,a=t.platformDomain,s=t.organisation,l=t.isLoggedIn,u=t.isLoginPending,d=t.isOAuthPending,f=t.isLoginOAuthPending,g=t.oAuthError,v=F[a],_=l&&!g||u||d||f;return"google"===a||"microsoft"===a?j("div",{style:{padding:"1rem",textAlign:"center"}},void 0,this.state.error?j("p",{},void 0,this.state.error):j("p",{},void 0,this.props.i18n.pages.oauth.message)):this.state.shouldShowCreateNewAccountUI?j("div",{className:c()(r.container)},void 0,j("div",{className:r.row},void 0,j("div",{className:c()(r.col,r.s12,r.m6,r["offset-m3"]),style:{padding:"3rem 0"}},void 0,j("p",{},void 0,n.pages.acceptInvitation.registrationRequiredMessage),j(y.a,{zDepth:1,style:L},void 0,j("div",{style:U,onClick:function(){return e.openAgreement("organisation")}},void 0,O.a.build(n.pages.acceptInvitation.agreementTitle,{title:s.title}).join(" "),Y)),j(y.a,{zDepth:1,style:L},void 0,j("div",{style:U,onClick:function(){return e.openAgreement("mentornity")}},void 0,O.a.build(n.pages.acceptInvitation.agreementTitle,{title:"Mentornity"}).join(" "),G)),j(y.a,{zDepth:1,style:L},void 0,j("div",{style:U,onClick:function(){return e.openAgreement("privacyPolicy")}},void 0,o.title,H)))),j("div",{className:c()(r.row)},void 0,j("div",{className:c()(r.col,r.s12,r.m6,r["offset-m3"])},void 0,j(b.a,{checked:this.state.isAgreementsAccepted,label:n.pages.acceptInvitation.acceptInvitationMessage,onClick:function(){return e.setState({isAgreementsAccepted:!e.state.isAgreementsAccepted})}}))),j("div",{className:c()(r.row)},void 0,j("div",{className:c()(r.col,r.s12,r.m6,r["offset-m3"])},void 0,j(p.a,{fullWidth:!0,secondary:!0,disabled:_||!this.state.isAgreementsAccepted,label:n.pages.oauthRegister.createNewAccount,style:D({},E.a.semiRoundedButtonContainer,{margin:"12px 0"}),buttonStyle:E.a.semiRoundedButton,onClick:function(){return e.createNewAccount()},labelStyle:E.a.semiRoundedButtonLabel}))),j(h.a,{open:!!this.state.errorMessage,message:this.state.errorMessage,onRequestClose:function(){return e.setState({errorMessage:null})},bodyStyle:E.a.errorBackground})):i?j("div",{className:c()(r.container)},void 0,j("div",{className:r.row},void 0,j("div",{className:c()(r.col,r.s12,r.m6,r["offset-m3"]),style:{padding:"3rem 0"}},void 0,O.a.build(n.pages.oauthRegister.loggedInMessage,{fullName:j("b",{},void 0,i.firstName+" "+i.lastName),platformTitle:j("b",{},void 0,v)}),j(p.a,{type:"submit",fullWidth:!0,secondary:!0,disabled:d,label:n.pages.oauthRegister.connectCurrentAccount,style:D({},E.a.semiRoundedButtonContainer,{margin:"1.5rem 0 0.5rem 0"}),buttonStyle:E.a.semiRoundedButton,onClick:function(){return e.connectCurrentAccount(e.props.account._id)},labelStyle:E.a.semiRoundedButtonLabel}),j(m.a,{fullWidth:!0,disabled:d,label:n.pages.oauthRegister.createNewAccount,onClick:function(){return e.showCreateNewAccountUI()}}),j(h.a,{open:!!this.state.errorMessage,message:this.state.errorMessage,onRequestClose:function(){return e.setState({errorMessage:null})},bodyStyle:E.a.errorBackground})))):j("div",{className:c()(r.container)},void 0,j("div",{className:r.row},void 0,j("div",{className:c()(r.col,r.s12,r.m6,r["offset-m3"])},void 0,j("div",{style:{margin:"1rem 0 2rem 0"}},void 0,O.a.build(n.pages.oauthRegister.loginMessage,{platformTitle:j("b",{},void 0,v)}),j(p.a,{fullWidth:!0,secondary:!0,disabled:_,label:O.a.build(n.pages.oauthRegister.loginWith,{platformTitle:j("b",{},void 0,v)}),style:D({},E.a.semiRoundedButtonContainer,{margin:"12px 0"}),buttonStyle:E.a.semiRoundedButton,onClick:function(){return e.loginWithOAuth()},labelStyle:E.a.semiRoundedButtonLabel})),j("div",{style:{margin:"0 0 2rem 0"}},void 0,O.a.build(n.pages.oauthRegister.registerMessage,{platformTitle:j("b",{},void 0,v)}),j(p.a,{fullWidth:!0,secondary:!0,disabled:_,label:n.pages.oauthRegister.createNewAccount,style:D({},E.a.semiRoundedButtonContainer,{margin:"12px 0"}),buttonStyle:E.a.semiRoundedButton,onClick:function(){return e.showCreateNewAccountUI()},labelStyle:E.a.semiRoundedButtonLabel})),j("div",{},void 0,j("div",{style:{margin:"0 0 1rem 0"}},void 0,O.a.build(n.pages.oauthRegister.connectAccountMessage,{platformTitle:j("b",{},void 0,v)})),j(I.a,{disabled:_,onSubmit:function(t,n){return e.props.login(t,n)},submitButtonLabel:n.pages.oauthRegister.connectExistingAccount})),j(h.a,{open:!!this.state.errorMessage,message:this.state.errorMessage,onRequestClose:function(){return e.setState({errorMessage:null})},bodyStyle:E.a.errorBackground}))))}}]),t}(s.a.Component);W.defaultProps={account:null,accountId:null,loginError:null,oAuthError:null,isOAuthPending:!1,isLoginPending:!1,isLoginOAuthPending:!1,whiteLabel:void 0};var z=function(e){return{i18n:e.i18n,account:e.session.account,accountId:e.session.accountId,commonStyle:e.commonStyle,isLoggedIn:e.session.isLoggedIn,isLoginPending:e.session.isLoginPending,loginError:e.session.loginError,isOAuthPending:e.session.isOAuthPending,isLoginOAuthPending:e.session.isLoginOAuthPending,oAuthError:e.session.oAuthError}},X={login:k.t,loginOAuth:k.v,connectOAuth:k.w,registerOAuth:k.x,showMessageDialog:M.b,hideDialog:M.a};t.a=n.i(l.a)(z,X)(W)},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(38)),a=n(873),s=n(874),l=n(21),u=n(56),c=this,d=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();t.default={path:"/oauth/redirect/:platformDomain",action:function(){var e=o(regeneratorRuntime.mark(function e(t){var n,o,i,p,f,m,g,h,v=t.api,y=t.path,_=t.query,b=t.params,w=t.store;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=w.getState(),!n.session.isLoggedIn){e.next=5;break}if(!(o=u.a.isAuthPlatformConnected(n.session.authPlatforms,b.platformDomain))){e.next=5;break}return e.abrupt("return",{redirect:"/"});case 5:if(w.dispatch({type:l.h,payload:{isOpen:!1}}),i=_.domain||b.platformDomain,console.log(i),!["google","microsoft","zoom","microsoftbusiness"].includes(i)){e.next=10;break}return e.abrupt("return",{title:"Redirecting",description:"Redirecting...",component:d(a.a,{queryParams:_}),status:200});case 10:return e.next=12,v.getOrganisationWithDomain(i);case 12:return p=e.sent,e.next=15,v.getOrganisationConfig(p._id);case 15:return f=e.sent,e.next=18,v.getOrganisationWhiteLabel(p._id);case 18:return m=e.sent,g=n.session.language,e.next=22,v.getPrivacyPolicy(g);case 22:return h=e.sent,e.abrupt("return",{title:"OAuth",description:"OAuth registration.",component:d(r.a,{path:y},void 0,d(s.a,{config:f,organisation:p,privacyPolicy:h,queryParams:_,platformDomain:b.platformDomain,whiteLabel:m})),status:200});case 24:case"end":return e.stop()}},e,c)}));return function(t){return e.apply(this,arguments)}}()}},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return e.responses&&e.responses.length>0?e.responses[0]._id:e._id}var l=n(0),u=n.n(l),c=n(48),d=n.n(c),p=n(17),f=n.n(p),m=n(3),g=n(12),h=n.n(g),v=n(40),y=n.n(v),_=n(32),b=n(63),w=n.n(b),S=n(18),x=n.n(S),A=n(192),P=n(43),C=n(15),k=n(16),M=n(467),T=n.n(M),O=n(123),E=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),I=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),N=function(e){var t=e.i18n,o=e.organisation,i=e.form;return I("div",{style:{padding:"1rem",background:"white",borderRadius:"3px",marginBottom:"1rem"}},void 0,I("h3",{style:{marginTop:0}},void 0,i.title),I(w.a,{source:i.description,escapeHtml:!1}),n.i(O.a)(i)&&I("p",{},void 0,k.a.build(t.pages.forms.fillTheForm,{user:n.i(O.a)(i).firstName+" "+n.i(O.a)(i).lastName})),I("div",{className:"metrics"},void 0,I(_.a,{to:i.responses&&i.responses.length>0?"/"+o.domain+"/forms/"+i._id+"/responses/"+i.responses[0]._id:"/"+o.domain+"/forms/"+i._id+"/respond"},void 0,I(f.a,{type:"submit",label:n.i(O.b)(i)?t.pages.forms.viewResponse:t.pages.forms.respondForm,secondary:!0,style:C.a.semiRoundedButtonContainer,buttonStyle:C.a.semiRoundedButton,labelStyle:C.a.semiRoundedButtonLabel}))))},D=I(y.a,{}),j=function(e){function t(){var e,n,o,a;i(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=o=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.viewTargetedAssignedForms=function(e){var t=o.props.context;return(e||[]).filter(function(e){if(e.target===t.role)return e})},a=n,r(o,a)}return a(t,e),E(t,[{key:"componentDidMount",value:function(){this.fetchData()}},{key:"fetchData",value:function(){var e=this.props.context;this.props.fetchForms(e.organisation._id,e.role,0),this.props.fetchAssignedForms(e.organisation._id,e.role,0)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,i=t.context,r=t.error,a=t.forms,l=t.assignedForms,u=t.isPending,c=t.commonStyle,d=this.viewTargetedAssignedForms(l),p=void 0;return a&&d&&(p=[].concat(o(a),o(d)).sort(function(e,t){return e.createdAt-t.createdAt})),I("div",{className:h()(c.container),style:{marginTop:"1rem"}},void 0,I("div",{className:c.row,style:{marginBottom:0}},void 0,I("div",{className:h()(c.col,c.s12),style:{marginBottom:"85px"}},void 0,l&&d&&(p||[]).filter(function(e){return"published"===e.status}).map(function(e){return I(N,{i18n:n,form:e,organisation:i.organisation},s(e))}),p&&0===p.length&&!u&&!r&&I("div",{className:h()(c.col,c.s12)},void 0,I(P.a,{message:n.pages.forms.emptyMessage})),r&&!u&&I("div",{className:h()(c.col,c.s12)},void 0,I(P.a,{message:n.pages.organisation.listFetchErrorMessage,actionLabel:n.buttonActions.retry,onActionClick:function(){return e.fetchData()}})),I("div",{className:h()(c.col,c.s12,c.centerAlign),style:{minHeight:45}},void 0,u&&D))))}}]),t}(u.a.Component);j.defaultProps={error:void 0,assignedForms:void 0,forms:void 0};var R=function(e){return{i18n:e.i18n,commonStyle:e.commonStyle,account:e.session.account,context:e.session.sContext,forms:e.forms.list,assignedForms:e.forms.assignedList,error:e.forms.fetchListError,isPending:e.forms.isPendingList}},F={fetchAssignedForms:A.a,fetchForms:A.b};t.a=n.i(m.a)(R,F)(x()(T.a)(d()()(j)))},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(0),l=n.n(s),u=n(3),c=n(391),d=n(881),p=n(880),f=n(879),m=n(746),g=n(878),h=n(876),v=n(789),y=n(883),_=n(765),b=n(766),w=n(238),S=n(767),x=n(764),A=n(32),P=n(502),C=n(761),k=n(763),M=(n(367),n(362)),T=n(317),O=n.n(T),E=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),I=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),N=E("div",{className:"col-12"},void 0,E(w.a,{userType:"mentor",showGoProfileAction:!1})),D=E(m.a,{}),j=E(b.a,{}),R=E(_.a,{}),F=E(S.a,{}),L=E(C.a,{}),U=E(k.a,{}),B=E("div",{}),Z=function(e){function t(){var e,n,o,a;i(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=o=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.state={modalIsOpen:!1,currentTab:o.props.context.config.routes.anonymous[0]},o.toggleModalHandler=function(){o.setState({modalIsOpen:!o.state.modalIsOpen})},a=n,r(o,a)}return a(t,e),I(t,[{key:"componentDidMount",value:function(){var e=this,t="",n=!1;this.props.context&&this.props.context.pendingInvitations&&this.props.context.config&&this.props.context.config.redirectUserToInvitationPage&&"invitation"!=this.props.subRoute&&(this.props.context.pendingInvitations||[]).forEach(function(n){n.accountType===e.props.context.role&&"pending"===n.status&&"invitation"!=e.props.subRoute&&(t=n._id)}),this.props.context&&this.props.context.availableMemberships&&"welcome"!=this.props.subRoute&&(this.props.context.availableMemberships||[]).forEach(function(t){t.role===e.props.context.role&&(n=!1===t.isWelcomeCompleted&&"welcome"!=e.props.subRoute)}),""!=t?window.location="/acceptInvitation/"+t:n&&(window.location="/"+this.props.context.organisation.domain+"/welcome")}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,i=(t.language,t.context),r=t.account,a=t.commonStyle,s=t.subRoute,l=t.subRouteSection,u=t.staticContext;if("application"===l)return E(x.a,{subRoute:s});var m=u||i,_=m.organisation,b=m.role,w=m.group;if("anonymous"===b){var S=i.config.routes.anonymous,C=S.length>0;return E("div",{className:r?a.hideOnSmallOnly:""},void 0,E(c.a,{i18n:n,commonStyle:a,showApplyButton:"anonymous"===b,organisation:_}),C&&E("div",{},void 0,E("div",{className:a.container,style:{marginTop:"2rem"}},void 0,E("div",{className:"row"},void 0,E("div",{className:"col-12"},void 0,E(O.a,{style:{marginBottom:"30px"},value:this.state.currentTab,indicatorColor:"primary",textColor:"primary",onChange:function(t){return e.setState({currentTab:t})}},void 0,S.map(function(e){return E(T.Tab,{label:n.organisationRoutes[e],value:e})})),S.includes(this.state.currentTab)&&"groups"===this.state.currentTab&&E(M.a,{commonStyle:a,context:i,disableLink:!0})),S.includes(this.state.currentTab)&&"mentors"===this.state.currentTab&&N))))}if("welcome"===s)return E("div",{className:a.container},void 0,E("div",{className:a.row,style:{margin:"0"}},void 0,E(y.a,{i18n:n,account:r,context:i,commonStyle:a,onFinish:function(){var t=o(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:(e.props.context.availableMemberships||[]).forEach(function(){var t=o(regeneratorRuntime.mark(function t(n){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n.role!==e.props.context.role){t.next=4;break}return t.next=3,window.api.setWelcomeStatus(n._id,!0);case 3:window.location="/"+e.props.context.organisation.domain+"/";case 4:case"end":return t.stop()}},t,e)}));return function(e){return t.apply(this,arguments)}}());case 1:case"end":return t.stop()}},t,e)}));return function(){return t.apply(this,arguments)}}()})));var k=E(v.a,{group:w,organisation:_}),I=E(c.a,{i18n:n,commonStyle:a,organisation:_}),Z=E(d.a,{section:l}),Y=E(p.a,{section:l}),G=E(g.a,{i18n:n,commonStyle:a,context:i,section:l}),H=E(h.a,{i18n:n,account:r,commonStyle:a,context:i}),W=function(e){switch(e){case"home":return k;case"info":return E("div",{style:{marginTop:"-1rem"}},void 0,I);case"feed":return D;case"mentors":return Z;case"mentees":return Y;case"groups":return G;case"forms":return H;case"pairs":return"select"===l?j:R;case"membership-info":return F;case"availabilities":return L;case"meetings":return U;default:return B}},z=s||"home",X="m-3";return"info"===z&&(X=""),"pairs"!==z&&"mentors"!==z||(X="m-3"),E("div",{},void 0,E("div",{className:X},void 0,E("div",{className:a.row,style:{marginTop:"1rem",marginBottom:"85px"}},void 0,E("div",{style:{marginBottom:this.props.isMobile?"85px":"0px"}},void 0,W(z)))),"info"===z&&E("div",{className:a.container,style:{paddingBottom:"15px"}},void 0,E("div",{className:a.row,style:{margin:"0",display:"flex",textDecoration:"underline"}},void 0,E(A.a,{style:{marginRight:"7px"},to:"/"+_.domain+"/welcome"},void 0,n.pages.organisation.onboardingSteps),E("p",{style:{cursor:"pointer",margin:"0",color:"#555"},onClick:this.toggleModalHandler},void 0,n.pages.organisation.terms),E(P.a,{open:this.state.modalIsOpen,onRequestClose:this.toggleModalHandler,bodyStyle:{overflow:"auto"}},void 0,E(f.a,{i18n:n,organisation:_,commonStyle:a,showWelcomeMessage:!1})))))}}]),t}(l.a.Component);Z.defaultProps={subRoute:null,subRouteSection:null};var Y=function(e){return{i18n:e.i18n,account:e.session.account,language:e.session.language,commonStyle:e.commonStyle,context:e.session.sContext,isMobile:e.runtime.isMobile}};t.a=n.i(u.a)(Y,null)(Z)},function(e,t,n){"use strict";function o(e){var t=e.context,o=e.commonStyle;return n.i(l.c)(t.config)?d:c("div",{className:a()(o.container)},void 0,c("div",{className:o.row,style:{marginBottom:0}},void 0,c("div",{className:a()(o.col,o.s12),style:{paddingTop:"1rem"}},void 0,c(s.a,{commonStyle:o,context:t}))))}var i=n(0),r=(n.n(i),n(12)),a=n.n(r),s=n(362),l=n(103),u=n(237),c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),d=c("div",{},void 0,c(u.a,{}));o.defaultProps={section:null},t.a=o},function(e,t,n){"use strict";function o(e){var t=e.i18n,n=e.context,o=e.showWelcomeMessage,i=e.commonStyle,r=n.config,a=r.terms,l="";"mentor"===n.role?l=r.welcomeMessages&&r.welcomeMessages.mentor&&""!==r.welcomeMessages.mentor?r.welcomeMessages.mentor:c.a.build(t.components.welcomeStepper.defaultWelcomeMessageMentor,{organisation:n.organisation.title}).join(""):"mentee"===n.role&&(r.welcomeMessages&&r.welcomeMessages.mentee&&""!==r.welcomeMessages.mentee?l=r.welcomeMessages.mentee:(l="group"===n.config.menteeType?t.components.welcomeStepper.defaultWelcomeMessageMenteeGrouped:t.components.welcomeStepper.defaultWelcomeMessageMenteeIndividual,l=c.a.build(l,{organisation:n.organisation.title}).join("")));var h=c.a.build(t.components.organisationInfo.welcomeTitle,{organisation:n.organisation.title}).join(""),v=c.a.build(t.components.organisationInfo.agreementTitle,{organisation:n.organisation.title}).join("");return d("div",{className:i.container},void 0,o&&d(u.a,{style:{marginTop:"-4rem"}},void 0,d("div",{},void 0,d("h3",{style:p.headerContainer},void 0," ",h),d("div",{style:p.organisationRulesContainer},void 0,d(s.a,{className:"markdown-content",source:l,escapeHtml:!1})),f)),d(u.a,{},void 0,d("div",{},void 0,d("h3",{style:p.headerContainer},void 0,v),d("div",{style:p.organisationRulesContainer},void 0,d(s.a,{className:"markdown-content",source:a,escapeHtml:!1})),m)),g)}var i=n(0),r=(n.n(i),n(3)),a=n(63),s=n.n(a),l=n(26),u=n.n(l),c=n(16),d=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),p={headerContainer:{background:"#f4f4f4",padding:"1rem",position:"relative"},organisationRulesContainer:{margin:"0rem 1rem 0rem 1rem"}},f=d("br",{}),m=d("br",{}),g=d("br",{});o.defaultProps={showWelcomeMessage:!0};var h=function(e){return{i18n:e.i18n,context:e.session.sContext,commonStyle:e.commonStyle}};t.a=n.i(r.a)(h)(o)},function(e,t,n){"use strict";function o(e){var t=e.context,o=t.config,i=o.subscriptionConfig,r=o.subscriptionConfigEnabled,s=r&&"showAvailableMentors"===i.mentorVisibilityStatus,l=t.meetingGoalConfig&&t.meetingGoalConfig.meetingGoals&&t.meetingGoalConfig.meetingGoals.length>0,u=l&&"mentor"===t.role;return n.i(c.c)(t.config)?f:p("div",{},void 0,s&&m,u?p(a.a,{context:t,userType:"mentee"}):n.i(c.d)(t.config)?g:h)}var i=n(0),r=(n.n(i),n(3)),a=n(239),s=n(773),l=n(802),u=n(237),c=n(103),d=n(238),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=p("div",{},void 0,p(u.a,{})),m=p(l.a,{}),g=p(d.a,{userType:"mentee"}),h=p(s.a,{});o.defaultProps={section:"",isPendingMentees:!1};var v=function(e){return{i18n:e.i18n,context:e.session.sContext,language:e.session.language,isPendingMentees:e.users.isPendingMentees}};t.a=n.i(r.a)(v)(o)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(12),s=n.n(a),l=n(0),u=n.n(l),c=n(3),d=n(239),p=n(367),f=n(368),m=n(43),g=n(793),h=n(39),v=n(42),y=n(242),_=n(237),b=n(103),w=n(238),S=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),x=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),A=S(p.a,{}),P=S(_.a,{}),C=S(g.a,{}),k=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),x(t,[{key:"onClickCreateGroup",value:function(){h.a.push("/"+this.props.context.organisation.domain+"/groups/create")}},{key:"onTabChange",value:function(e){h.a.push("/"+this.props.context.organisation.domain+"/mentors/"+e)}},{key:"render",value:function(){var e=this,t=this.props,o=t.i18n,i=t.context,r=t.language,a=t.mentors,l=t.commonStyle,u=t.section,c=i.config,p=i.role,g=u,h=c.subscriptionConfig,_=c.subscriptionConfigEnabled,x=i.meetingGoalConfig&&i.meetingGoalConfig.meetingGoals&&i.meetingGoalConfig.meetingGoals.length>0,k=x&&"mentee"===i.role,M="mentee"===i.role&&"group"===i.config.menteeType&&!i.group,T=n.i(b.e)(i.config),O=k?S(d.a,{context:i,userType:"mentor"}):T?S(w.a,{userType:"mentor",alertActionLabel:M?v.a.show(o.buttonActions.createGroup,c):void 0,alertMessage:M?v.a.show(o.pages.calendar.createMeetingNotAllowedBecauseOfNoGroup,c):void 0,onOpenCreateGroupPageClick:function(){return e.onClickCreateGroup()}}):A;n.i(b.c)(i.config)&&(O=P);var E=[{content:O,label:v.a.show(o.pages.organisation.allMentors,c,r),value:"all"}];if("mentee"===p&&_&&h&&("showAvailableMentors"===h.mentorVisibilityStatus||"adminApprovedRequests"===h.mentorVisibilityStatus)){var I=0,N=a?a.filter(function(e){return e.subscription&&"active"===e.subscription.status&&(I+=1),e.subscription&&("requested"===e.subscription.status||"active"===e.subscription.status)}):[],D=h.processStartType,j=0!==h.menteeSubscriptionLimit&&I>=h.menteeSubscriptionLimit,R=0!==h.menteeSelectionLimit&&"startOnApproval"===D&&N.length>=h.menteeSelectionLimit,F=j||R;(a||"selection"===g)&&!F&&E.push({content:S(f.a,{i18n:o,commonStyle:l,context:i}),label:v.a.show(o.pages.organisation.mentorSelection,c,r),value:"selection"})}return g||(g="all"),S("div",{style:{marginBottom:0}},void 0,S("div",{className:s()(l.col,l.s12)},void 0,C),M&&!T&&S("div",{className:s()(l.col,l.s12),style:{marginBottom:"1rem"}},void 0,S(m.a,{actionLabel:v.a.show(o.buttonActions.createGroup,c),onActionClick:function(){return e.onClickCreateGroup()},message:v.a.show(o.pages.calendar.createMeetingNotAllowedBecauseOfNoGroup,c)})),S("div",{className:s()(l.col,l.s12)},void 0,E.length>1?S(y.a,{tabs:E,selectedTab:g,onChange:function(t){return e.onTabChange(t)},tabWidth:150}):O))}}]),t}(u.a.Component);k.defaultProps={section:"",isPendingMentors:!1,mentors:void 0};var M=function(e){return{i18n:e.i18n,commonStyle:e.commonStyle,context:e.session.sContext,isPendingMentors:e.users.isPendingMentors,mentorTextFilter:e.users.mentorTextFilter,mentorSkillFilter:e.users.mentorSkillFilter,language:e.session.language,mentors:e.users.mentors&&e.users.mentors.map(function(t){return(e.users.usersById||{})[t]})}},T={};t.a=n.i(c.a)(M,T)(k)},function(e,t,n){"use strict";var o=n(0),i=(n.n(o),n(16)),r=n(18),a=n.n(r),s=n(1335),l=n.n(s),u=n(17),c=n.n(u),d=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),p=function(e,t){return e.split(t)[1]},f=function(e){var t=e.i18n.components.timeZoneDialog;return d("div",{},void 0,d("div",{className:l.a.wrapper},void 0,d("img",{className:l.a.image,src:"/img/Time-Zone-Alert.svg",alt:"timezone"})),d("div",{className:l.a.info},void 0,d("p",{},void 0," ",e.i18n.components.timeZoneDialog.timeZoneChanged," "),d("p",{style:{marginTop:0}},void 0,i.a.build(t.changeTimeZone,{oldTimeZone:p(e.oldTimeZone,"/"),newTimeZone:p(e.currentTimeZone,"/")}))),d("div",{className:l.a.wrapper},void 0,d(c.a,{onClick:function(){return e.updateTimeZone()},label:i.a.build(t.yesSwitch,{newTimeZone:p(e.currentTimeZone,"/")}),secondary:!0,buttonStyle:{backgroundColor:"#227CDC"},style:{width:"90%",marginBottom:"10px"}}),d(c.a,{onClick:function(){return e.closeModal()},label:i.a.build(t.noKeep,{oldTimeZone:p(e.oldTimeZone,"/")}),secondary:!0,buttonStyle:{backgroundColor:"#fff"},style:{width:"90%"},labelStyle:{color:"black"}})))};t.a=a()(l.a)(f)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(18),u=n.n(l),c=n(12),d=n.n(c),p=n(489),f=(n.n(p),n(26)),m=n.n(f),g=n(17),h=n.n(g),v=n(63),y=n.n(v),_=n(16),b=n(42),w=n(15),S=n(1336),x=n.n(S),A=n(377),P=n(384),C=n(386),k=n(744),M=n(376),T=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),O=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),E=function(e){var t=e.style,n=e.customStyle,o=e.content,i=e.buttonLabel;return O("div",{className:t.container},void 0,O("div",{className:t.row},void 0,O("div",{className:d()(t.col,t.s12),style:{padding:"0 1rem 1rem 1rem"}},void 0,O(y.a,{className:"markdown-content",source:o,escapeHtml:!1}),O("div",{className:t.rightAlign},void 0,O(h.a,{label:i,secondary:!0,style:n.roundedButtonContainer,buttonStyle:n.roundedButton,onClick:function(){return e.onNextClick()}})))))},I=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={stepIndex:0},n}return r(t,e),T(t,[{key:"onStepComplete",value:function(){var e=this.getSteps();this.state.stepIndex+1<e.length?this.setState({stepIndex:this.state.stepIndex+1}):this.props.onFinish()}},{key:"getSteps",value:function(){var e=this,t=this.props,n=t.i18n,o=(t.account,t.context),i=t.commonStyle,r=o.config,a=r.welcomeStepVisibilities,s=[],l=!1;if("mentee"===o.role?l=!!o.config.metadatas.menteesCanEditMetadata:"mentor"===o.role&&(l=!!o.config.metadatas.mentorsCanEditMetadata),"mentor"===o.role){if(a.mentor.welcomeMessage){var u="";u=r.welcomeMessages&&r.welcomeMessages.mentor?r.welcomeMessages.mentor:_.a.build(n.components.welcomeStepper.defaultWelcomeMessageMentor,{organisation:o.organisation.title}).join(""),s.push({title:n.components.welcomeStepper.welcomeTitle,component:O(E,{style:i,customStyle:w.a,buttonLabel:n.buttonActions.next,onNextClick:function(){return e.onStepComplete()},content:b.a.show(u,o.config)})})}if(a.mentor.profile&&s.push({title:n.components.welcomeStepper.profileInfoTitle,component:O("div",{className:i.container},void 0,O(A.a,{showSummary:!0,saveButtonLabel:n.buttonActions.saveAndNext,onSuccess:function(){return e.onStepComplete()}}))}),a.mentor.metadata&&l&&s.push({title:_.a.build(n.components.welcomeStepper.metadataInfoTitle,{organisation:o.organisation.title}).join(""),component:O("div",{className:i.container},void 0,O(k.a,{onSuccess:function(){return e.onStepComplete()}}))}),s.push({title:n.components.welcomeStepper.generalSettings,component:O("div",{className:i.container},void 0,O(M.a,{onSuccess:function(){return e.onStepComplete()},saveButtonLabel:n.buttonActions.saveAndNext}))}),a.mentor.finishMessage){var c="";c=r.finishMessages&&r.finishMessages.mentor?r.finishMessages.mentor:_.a.build(n.components.welcomeStepper.finishMessage,{organisation:o.organisation.title}).join(""),s.push({title:n.components.welcomeStepper.finishTitle,component:O(E,{style:i,customStyle:w.a,buttonLabel:n.buttonActions.finish,onNextClick:function(){return e.onStepComplete()},content:b.a.show(c,r)})})}}else if("mentee"===o.role){if(a.mentee.welcomeMessage){var p="";r.welcomeMessages&&r.welcomeMessages.mentee?p=r.welcomeMessages.mentee:(p="group"===o.config.menteeType?n.components.welcomeStepper.defaultWelcomeMessageMenteeGrouped:n.components.welcomeStepper.defaultWelcomeMessageMenteeIndividual,p=_.a.build(p,{organisation:o.organisation.title}).join("")),s.push({title:n.components.welcomeStepper.welcomeTitle,component:O(E,{style:i,customStyle:w.a,buttonLabel:n.buttonActions.next,onNextClick:function(){return e.onStepComplete()},content:b.a.show(p,o.config)})})}if(a.mentee.profile&&s.push({title:n.components.welcomeStepper.profileInfoTitle,component:O("div",{className:i.container},void 0,O(A.a,{showSummary:!0,saveButtonLabel:n.buttonActions.saveAndNext,onSuccess:function(){return e.onStepComplete()}}))}),a.mentee.metadata&&l&&s.push({title:_.a.build(n.components.welcomeStepper.metadataInfoTitle,{organisation:o.organisation.title}).join(""),component:O("div",{className:i.container},void 0,O(k.a,{onSuccess:function(){return e.onStepComplete()}}))}),a.mentee.group&&"group"===o.config.menteeType&&(o.group?s.push({title:b.a.show(n.components.welcomeStepper.groupInfoTitle,r),component:O(C.a,{saveButtonLabel:n.buttonActions.saveAndNext,onSuccess:function(){return e.onStepComplete()},isWelcomeStepper:!0})}):s.push({title:b.a.show(n.components.welcomeStepper.groupInfoTitle,r),component:O("div",{},void 0,O("div",{className:d()(i.container)},void 0,O("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},void 0,O("p",{},void 0,n.components.welcomeStepper.groupSkipNote),O(h.a,{label:n.buttonActions.skip,secondary:!0,onClick:function(){return e.onStepComplete()}}))),O(P.a,{saveButtonLabel:n.buttonActions.saveAndNext,onSuccess:function(){return e.onStepComplete()}}))})),s.push({title:n.components.welcomeStepper.generalSettings,component:O("div",{className:i.container},void 0,O(M.a,{onSuccess:function(){return e.onStepComplete()},saveButtonLabel:n.buttonActions.saveAndNext}))}),a.mentee.finishMessage){var f="";f=r.finishMessages&&r.finishMessages.mentee?r.finishMessages.mentee:_.a.build(n.components.welcomeStepper.finishMessage,{organisation:o.organisation.title}).join(""),s.push({title:n.components.welcomeStepper.finishTitle,component:O(E,{style:i,customStyle:w.a,buttonLabel:n.buttonActions.finish,onNextClick:function(){return e.onStepComplete()},content:b.a.show(f,r)})})}}return s}},{key:"render",value:function(){var e=this,t=this.state.stepIndex,n=this.getSteps(),o=n[t];return O(m.a,{style:{borderRadius:"6px"}},void 0,O("div",{className:x.a.stepperContainer},void 0,O("div",{className:x.a.stepsContainer},void 0,O(p.Stepper,{linear:!1,activeStep:t},void 0,n.map(function(n,o){return O(p.Step,{},n.title,O(p.StepButton,{onClick:function(){o<=t&&e.setState({stepIndex:o})}},void 0,n.title))}))),O("div",{},void 0,o.component)))}}]),t}(s.a.Component);I.defaultProps={},t.a=u()(x.a)(I)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(18),u=n.n(l),c=n(12),d=n.n(c),p=n(3),f=n(36),m=n.n(f),g=n(17),h=n.n(g),v=n(26),y=n.n(v),_=n(15),b=n(1337),w=n.n(b),S=n(29),x=n(198),A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},P=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),C=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),k=function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},M=P(x.a,{}),T=P("br",{}),O=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={email:"",errors:{}},n}return r(t,e),C(t,[{key:"handleChange",value:function(e){var t=Object.assign({},this.state);t[e.target.id]=e.target.value,this.setState(t)}},{key:"handleSubmit",value:function(e){e.preventDefault(),this.validateForm()&&this.props.resetPassword(this.state.email.trim().toLowerCase())}},{key:"validateForm",value:function(){var e={},t=this.state.email.trim().toLowerCase();return t&&k(t)||(e.email="Email is not valid."),this.setState({errors:e}),0===Object.keys(e).length}},{key:"evaluateError",value:function(e){var t=this.props.i18n;return e&&"invitation-not-accepted"===e.data.message?t.pages.forgotPassword.invitationError:t.pages.forgotPassword.error}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,o=t.stickyMessage,i=t.whiteLabel,r=n.pages.forgotPassword;return P("div",{className:w.a.resetPasswordPage,style:{background:"#EEEEEE",backgroundSize:"320.2px 407px"}},void 0,o&&M,P("div",{className:w.a.container},void 0,P("div",{className:w.a.row},void 0,P("div",{className:d()(w.a.col,w.a.s12,w.a.m6,w.a["offset-m3"])},void 0,P("div",{className:w.a.centerAlign},void 0,P("a",{href:"/"},void 0,i&&i.title?P("h1",{style:{color:"#212121"}},void 0,i.title):P("img",{className:w.a.logo,src:"/img/mentornity-logo-red-tbg.png",alt:"logo"}))),P(y.a,{zDepth:4,style:_.a.roundedPaper},void 0,P("form",{onSubmit:function(t){return e.handleSubmit(t)}},void 0,P(m.a,{id:"email",type:"text",fullWidth:!0,value:this.state.email,hintText:n.formHints.email,disabled:this.props.isPending||this.props.isPasswordReset,errorText:this.state.errors.email,onChange:function(t){return e.handleChange(t)}}),T,P(h.a,{type:"submit",fullWidth:!0,disabled:this.props.isPending,label:r.submit,style:A({},_.a.semiRoundedButtonContainer,{margin:"12px 0"}),buttonStyle:_.a.semiRoundedButton,labelStyle:_.a.semiRoundedButtonLabel})),P("div",{className:w.a.centerAlign},void 0,this.props.isPasswordReset&&P("p",{},void 0,r.success),this.props.error&&P("p",{className:w.a.error},void 0,this.evaluateError(this.props.error))))))))}}]),t}(s.a.Component);O.defaultProps={isPending:!1,error:null,stickyMessage:void 0,whiteLabel:void 0};var E=function(e){return{i18n:e.i18n,error:e.session.resetPasswordError,isPasswordReset:e.session.isPasswordReset,isPending:e.session.isResetPasswordPending,stickyMessage:e.stickyMessage.message,whiteLabel:e.session.whiteLabel}},I={resetPassword:S.u};t.a=n.i(p.a)(E,I)(u()(w.a)(O))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=(n.n(o),n(884)),r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),a=r(i.a,{});t.default={path:"/password/forgot",action:function(e){return e.store.getState().session.isLoggedIn?{redirect:"/"}:{title:"Forgot Password",description:"Forgot Password",component:a,status:200}}}},function(e,t,n){"use strict";function o(e){return a("div",{},void 0,s,l,u,a("mentornity-reset-password-wrapper",{email:e.email,token:e.token,language:e.language}))}var i=n(0),r=(n.n(i),n(3)),a=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),s=a("link",{href:"https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap&subset=latin-ext",rel:"stylesheet"}),l=a("link",{rel:"stylesheet",href:"https://unicons.iconscout.com/release/v4.0.8/css/line.css"}),u=a("link",{href:"https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap",rel:"stylesheet"});t.a=n.i(r.a)(function(e){return{language:e.session.language}},{})(o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=(n.n(o),n(886)),r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();t.default={path:"/password/set",action:function(e){var t=e.store,n=e.query;return t.getState().session.isLoggedIn?{redirect:"/"}:{title:"Set Password",description:"Set Password",component:r(i.a,{email:n.e,token:n.t}),status:200}}}},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(38)),a=n(169),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();t.default={path:"/privacy-policy",action:function(e){var t=this,n=e.api,i=e.store;return o(regeneratorRuntime.mark(function e(){var o,l,u,c;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=i.getState(),l=o.session,u=l.language||"en",e.next=5,n.getPrivacyPolicy(u);case 5:return c=e.sent,e.abrupt("return",{title:c.title,chunk:"privacy-policy",component:s(r.a,{path:"/privacy-policy"},void 0,s(a.a,{title:c.title,content:c.content}))});case 7:case"end":return e.stop()}},e,t)}))()}}},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(18),u=n.n(l),c=n(48),d=n.n(c),p=n(3),f=n(12),m=n.n(f),g=n(40),h=n.n(g),v=n(1338),y=n.n(v),_=n(39),b=n(16),w=n(145),S=n(357),x=n(194),A=n(366),P=n(791),C=n(43),k=n(242),M=n(234),T=n(723),O=n(115),E=n(890),I=n(103),N=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),D=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),j=N(h.a,{}),R=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),D(t,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.context,o=e.profile,i=e.profileId;t&&n.i(I.c)(t.config)&&o&&o.subscription&&window.location.replace("/"+t.organisation.domain+"/pairs/"+o.subscription._id+"?uid="+i)}},{key:"componentDidMount",value:function(){this.fetchData()}},{key:"onTabChange",value:function(e){_.a.push("/profile/"+this.props.profile._id+"/"+e+"?rl="+(this.props.rl||"mte"))}},{key:"fetchData",value:function(){var e=this.props,t=e.rl,n=e.context,o=e.profile,i=e.profileId;o||(n&&n.organisation?this.props.fetchProfile(n.organisation._id,"mtr"===t?"mentors":"mentees",i):this.props.fetchUser(i))}},{key:"hideCreateMeetingDialog",value:function(){_.a.push("/profile/"+this.props.profile._id+"/meetings?rl="+this.props.rl)}},{key:"render",value:function(){var e=this,t=this.props,o=t.i18n,i=t.context,r=t.account,a=t.profile,s=t.subRoute,l=t.action,u=t.commonStyle,c=t.error,d=t.rl,p=t.lean,f=(i&&n.i(I.a)(i.config),s&&n.i(E.a)(s)),g=l&&n.i(E.a)(l);if(!a)return c?N("div",{style:{padding:"2rem",textAlign:"center"}},void 0,N(C.a,{message:o.pages.profile.errorMessage,actionLabel:o.buttonActions.retry,onActionClick:function(){return e.fetchData()}})):N("div",{style:{padding:"2rem",textAlign:"center"}},void 0,j);var h=["info"],v=n.i(E.b)(i,r,a);if(v.showAvailabilities&&"availabilities"===f&&p)return N("div",{style:{margin:"1rem"}},void 0,N(S.a,{i18n:o,account:r,profile:a,context:i,subscription:a.subscription,mentorship:v.isViewingOwnProfile?i.mentorship:a.mentorship,openAvailabilityForm:"availabilities"===f&&"create"===g,openCreateMeetingForm:"availabilities"===f&&"createMeeting"===g,isActive:!0}));v.showAvailabilities&&h.push("availabilities"),v.showMeetingHistory&&h.push("meetings");var _=!!(i&&i.meetingGoalConfig&&i.meetingGoalConfig.meetingGoals&&i.meetingGoalConfig.meetingGoals.length>0),T=!_&&i&&i.config.meetingSettings.menteesCanCreateMeeting&&"meetings"===f&&"create"===g,O=[];h.forEach(function(e){var t={key:e,value:e,label:o.profileRoutes[e]};if("info"===e){var n=!1;v.isViewingOwnProfile&&(i&&"mentee"===i.role?n=!!i.config.metadatas.menteesCanEditMetadata:i&&"mentor"===i.role&&(n=!!i.config.metadatas.mentorsCanEditMetadata)),t.content=N(P.a,{i18n:o,context:i,profile:a,role:"mtr"===d?"mentor":"mentee",showMetadata:!0,allowMetadataEdit:n,showMentorship:v.showMentorhsip,showContactInfo:v.showContactInfo})}else"availabilities"===e?(t.content=N(S.a,{i18n:o,account:r,profile:a,context:i,subscription:a.subscription,mentorship:v.isViewingOwnProfile?i.mentorship:a.mentorship,openAvailabilityForm:"availabilities"===f&&"create"===g,openCreateMeetingForm:"availabilities"===f&&"createMeeting"===g}),t.label=v.isViewingOwnProfile?o.profileRoutes.availability:o.profileRoutes.availabilities):"meetings"===e&&(t.content=N(A.a,{profileId:a._id,shownGuestType:"mtr"===d?"mentors":"mentees",organisationId:i.organisation._id}));O.push(t)});var D=null,R=m()(y.a.cardContainer,u.col,u.s12,u.m6,u.l4),F=m()(u.col,u.s12,u.m6,u.l8);return 0===O.length?(R=m()(y.a.cardContainer,u.col,u.s12,u.m6,u["push-m3"]),F=u.hidden):(D=f||O[0].value,R=m()(R,y.a.cardContainerPushed)),N("div",{className:m()(u.container)},void 0,v.isViewingOwnProfile&&N("div",{className:u.row,style:{padding:"3rem 1rem 1rem 1rem",textAlign:"center"}},void 0,b.a.build(o.pages.profile.ownProfileMessage,{organisationTitle:N("b",{},void 0,i.organisation.title)})),N("div",{className:u.row,style:{marginBottom:0}},void 0,N("div",{className:m()(R,y.a.cardContainer)},void 0,N(w.a,{user:a,hideBio:!0,userType:v.showMentorhsip?"mentor":"mentee",trimInfo:!1,i18n:o,disableLink:!0}),a.group&&N(M.a,{trimInfo:!0,i18n:o,group:a.group})),N("div",{className:F},void 0,N(k.a,{tabs:O,selectedTab:D,onChange:function(t){return e.onTabChange(t)}}))),T&&N(x.a,{isShown:!0,i18n:o,isMenteeCreatingMeeting:"mentee"===i.role,hideDialog:function(){return e.hideCreateMeetingDialog()}}))}}]),t}(s.a.Component);R.defaultProps={action:null,subRoute:null,profile:void 0,error:void 0,lean:!1};var F=function(e,t){return{i18n:e.i18n,commonStyle:e.commonStyle,account:e.session.account,context:e.session.sContext,profile:e.users.usersById&&e.users.usersById[t.profileId],error:e.users.errorList[t.profileId]||void 0}},L={fetchProfile:T.a,fetchUser:O.k};t.a=n.i(p.a)(F,L)(u()(y.a)(d()()(R)))},function(e,t,n){"use strict";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.indexOf("?");return t<0?e:e.substring(0,t)}function i(e,t,n){if(!(t&&e&&e.organisation&&r.a.isMemberOfOrganisation(e.organisation.domain,n)))return{showMetadata:!1,showMentorhsip:!1,showContactInfo:!1,showAvailabilities:!1,showMeetingHistory:!1,isViewingOwnProfile:!1};var o=!1,i=!1,a=!1,s=!1,l=!1,u=e.config,c=e.role,d=u.metadataVisibility,p=u.contactInfoVisibility,f=d?d[c]:"none",m=p?p[c]:"none",g=u.mentorMenteeSubscription,h=u.menteeType,v=t._id===n._id,y="mentee"===c&&n.mentorship,_="mentor"===c&&!n.mentorship,b="mentor"===c&&n.mentorship,w="mentee"===c&&!n.mentorship,S=null;return v?(i=!0,a=!0,s="mentor"===c,o="none"!==f,l="group"!==h||"mentor"===c):y?(S=n.subscription,i="implicit"===g||null!=S,o="everyone"===f||"subscribedOnly"===f&&null!=S,a="everyone"===m||"subscribedOnly"===m&&null!=S,s=i,l=i):_?(l="group"!==h,o="everyone"===f||"subscribedOnly"===f&&S,a="everyone"===m||"subscribedOnly"===m&&S):b?(i=!0,s=!0,o="everyone"===f,a="everyone"===m):w&&(o="everyone"===f,a="everyone"===m),!v||"group"===h&&"mentor"!==c||(l=!0),{showMetadata:o,showMentorhsip:i,showContactInfo:a,showAvailabilities:s,showMeetingHistory:l,isViewingOwnProfile:v}}var r=n(56);t.a=o,t.b=i},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(40),u=n.n(l),c=n(502),d=n(1339),p=n.n(d),f=n(18),m=n.n(f),g=n(16),h=n(15),v=n(29),y=n(3),_=n(34),b=n.n(_),w=n(42),S=n(81),x=n(73),A=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),P=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),C=A(u.a,{}),k=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={contexts:[],isPending:!0},r.getProgramRoles=function(e,t,n,o){var i=w.a.show(t.components.organisationMenu.roles[e],n,o);return g.a.build(t.components.myPrograms.loginAs,{role:i})},a=n,i(r,a)}return r(t,e),P(t,[{key:"componentDidMount",value:function(){var e=this;window.api.getPrograms(window.location.hostname).then(function(t){var n=t.results;if(1===e.props.totalOrganisationCount){var o=n[0];return e.props.setSelectedContext(o,o.roles[0]||"mentor"),void window.location.replace("/"+o.organisation.domain)}e.setState({isPending:!1,contexts:n})})}},{key:"render",value:function(){var e=this,t=this.props,o=t.i18n,i=t.language,r=t.isMobile,a=this.state,s=a.isPending,l=a.contexts;return A("div",{className:p.a.pageContainer},void 0,s&&A("div",{style:{textAlign:"center"}},void 0,C),l.length>0&&A("div",{style:{marginBottom:"85px"}},void 0,A("h2",{},void 0," ",o.buttonActions.myPrograms," "),A(c.b,{},void 0,l.sort(function(e,t){return e.organisation.title.localeCompare(t.organisation.title)}).map(function(t){var a=n.i(x.b)(t.organisation.logoUrl);return A("div",{className:p.a.cover},void 0,A("div",{className:p.a.listItem},void 0,A("div",{className:p.a.buttonsContainer},void 0,!r&&A(b.a,{src:a,style:h.a.organisationLogoStyle}),A("div",{className:p.a.title,style:{marginLeft:r?0:void 0}},void 0,t.organisation.title))),A("div",{className:p.a.buttonsContainer},void 0,t.roles.map(function(n,a){return A(M,{label:r?w.a.show(o.components.organisationMenu.roles[n],t.config,i):e.getProgramRoles(n,o,t.config,i),className:p.a.customButton,onClick:function(){S.a.save(S.a.PARAM_LAST_LOGGED_PROGRAM,t.organisation._id),e.props.setSelectedContext(t,n),t.invitationStatus&&t.invitationStatus[a].isPending&&t.config.redirectUserToInvitationPage?window.location.replace("/acceptInvitation/"+t.invitationStatus[a].invitation._id):window.location.replace("/"+t.organisation.domain)}})})))}))))}}]),t}(s.a.Component),M=function(e){var t=e.label,n=e.className,o=e.onClick;return A("button",{className:n,onClick:o},void 0,t)},T=function(e){return{i18n:e.i18n,language:e.session.language,isMobile:e.runtime.isMobile,totalOrganisationCount:e.session.totalOrganisationCount}},O={setSelectedContext:v.a};t.a=n.i(y.a)(T,O)(m()(p.a)(k))},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(38)),a=n(891),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),l=s(a.a,{});t.default={path:"/programs",action:function(e){var t=this,n=e.store,i=e.path,a=s(r.a,{path:i},void 0,l);return o(regeneratorRuntime.mark(function e(){var o,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.getState(),i=o.i18n,e.abrupt("return",{title:i.pages.programs.title,component:a});case 3:case"end":return e.stop()}},e,t)}))()}}},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),s=n.n(a),l=n(12),u=n.n(l),c=n(18),d=n.n(c),p=n(3),f=n(26),m=n.n(f),g=n(17),h=n.n(g),v=n(15),y=n(1340),_=n.n(y),b=n(52),w=(n.n(b),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}),S=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),x=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),A={paper:{marginTop:"2rem",marginLeft:"1rem",borderRadius:"6px",backgroundColor:"#fff",padding:"1rem",height:"350px",weight:"300px"}},P=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={},n}return r(t,e),x(t,[{key:"render",value:function(){var e=this.props.i18n;return S("div",{},void 0,S("header",{className:_.a.header},void 0,S("div",{className:_.a.section},void 0,S("div",{className:_.a.container},void 0,S("div",{className:_.a.row},void 0,S("div",{className:_.a.centerAlign},void 0,S("h2",{},void 0,S("img",{className:_.a.referencesImg,src:"/references-large.png",alt:"references"}))))),S("div",{className:_.a.headerBackground,style:{backgroundColor:b.white}}))),S("section",{},void 0,S("div",{className:_.a.section},void 0,S("div",{className:_.a.container},void 0,S("div",{className:_.a.row},void 0,S("div",{className:u()(_.a.col,_.a.s12,_.a.desc)},void 0,S("div",{className:_.a.desc},void 0,S("h1",{},void 0,e.pages.landing.allAdvice.recommendationsDesc)),e.pages.landing.recommendations.map(function(e){return S("div",{className:u()(_.a.col,_.a.s12,_.a.m6,_.a.l6)},void 0,S(m.a,{style:A.paper},void 0,S("div",{},e.name,S("div",{className:_.a.recommendationColumn},void 0,S("h2",{style:{margin:0}},void 0,e.name),S("h3",{style:{margin:0,color:b.orange}},void 0,e.organisation),S("span",{},void 0,e.title),S("p",{},void 0,S("i",{},void 0,'"',e.quote,'"'))))))})))))),S("section",{},void 0,S("div",{className:_.a.section},void 0,S("div",{className:_.a.container},void 0,S("div",{className:_.a.row},void 0,S("div",{className:u()(_.a.col,_.a.s12,_.a.m3)}),S("div",{className:u()(_.a.col,_.a.s12,_.a.m6,_.a.desc)},void 0,S("h2",{},void 0,e.pages.landing.runProgramInMentornity),S("p",{},void 0,e.pages.landing.runProgramInMentornityDesc),S("div",{className:_.a.centerAlign},void 0,S(h.a,{label:e.buttonActions.demo,secondary:!0,href:"/contact",style:w({},v.a.roundedButtonContainer,{marginRight:"2rem"}),buttonStyle:w({},v.a.roundedButton,v.a.purpleButton),className:_.a.left}),S(h.a,{label:e.buttonActions.howItWorks,secondary:!0,href:e.pages.landing.howItWorksLink,style:w({},v.a.roundedButtonContainer,{marginLeft:"1rem"}),buttonStyle:w({},v.a.roundedButton,v.a.orangeButton)})))))),S("footer",{className:_.a.footer},void 0,S("section",{className:_.a.section},void 0,S("div",{className:u()(_.a.container,_.a.footerLinksContainer)},void 0,S("div",{className:_.a.row,style:{color:b.white}},void 0,S("div",{className:u()(_.a.col,_.a.s12,_.a.m9)},void 0,S("a",{href:e.pages.landing.footer.blogLink},void 0,S("h2",{className:_.a.footerPrimaryLink},void 0,e.pages.landing.footer.blog)),S("a",{href:"http://facebook.com"},void 0,S("h2",{className:_.a.footerPrimaryLink},void 0,e.pages.landing.footer.facebook)),S("a",{href:"http://twitter.com"},void 0,S("h2",{className:_.a.footerPrimaryLink},void 0,e.pages.landing.footer.twitter)),S("a",{href:"/contact"},void 0,S("h2",{className:_.a.footerPrimaryLink},void 0,e.pages.landing.footer.contact)),S("a",{href:"/help"},void 0,S("h2",{className:_.a.footerPrimaryLink},void 0,e.pages.landing.footer.help)),e.pages.landing.footer.secondaryLinkGroups.map(function(e,t){return S("div",{},t,e.map(function(e){return S("a",{href:e.link,className:_.a.footerSecondaryLink,style:{fontWeight:t%2==0?"inherit":"bold"}},e.label,e.label)}))}),S("div",{className:_.a.copyRight},void 0,"2018 © Mentornity")),S("div",{className:u()(_.a.col,_.a.s12,_.a.m3,_.a.centerAlign)},void 0,S("img",{src:"/circle-logo-and-name.png",alt:"logo",className:_.a.circleLogo})))),S("div",{className:u()(_.a.skewBackground,_.a.footerSkewBackground)},void 0,S("div",{className:u()(_.a.skewImage,_.a.footerBackground)}))))))}}]),t}(s.a.Component),C=function(e){return{i18n:e.i18n}};t.a=n.i(p.a)(C)(d()(_.a)(P))},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=(n.n(i),n(38)),a=n(893),s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),l=s(r.a,{path:"recommendations"},void 0,s(a.a,{}));t.default={path:"/recommendations",action:function(e){var t=this,n=e.store;return o(regeneratorRuntime.mark(function e(){var o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.getState(),e.abrupt("return",{title:o.i18n.pages.landing.allAdvice.title,chunk:"Recommendations",component:l});case 2:case"end":return e.stop()}},e,t)}))()}}},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(i,r){try{var a=t[i](r),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){o("next",e)},function(e){o("throw",e)});e(s)}return o("next")})}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n.n(i),a=n(38),s=n(169),l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();t.default={path:"/security",action:function(e){var t=this;return o(regeneratorRuntime.mark(function o(){var i,u,c,d,p;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=e.store,u=i.getState(),c=u.session,d=c.language||"en",t.next=6,n.e(0).then(function(e){return n(1710)("./security-"+d+".md")}.bind(null,n)).catch(n.oe);case 6:return p=t.sent,t.abrupt("return",{title:p.title,chunk:"terms",component:l(a.a,{path:"/security"},void 0,r.a.createElement(s.a,p))});case 8:case"end":return t.stop()}},o,t)}))()}}},function(e,t,n){"use strict";function o(e){var t=e.i18n,o=e.context,i=e.contexts,r=e.account,a=e.subRoute,s=e.commonStyle,l=[{label:t.navBar.userMenu.profileSettings,href:"/settings/profile"},{label:t.navBar.userMenu.accountSettings,href:"/settings/account"},{label:t.navBar.userMenu.integrationSettings,href:"/settings/integration"},{label:t.navBar.userMenu.notificationSettings,href:"/settings/notification"},{label:t.navBar.userMenu.generalSettings,href:"/settings/general"}];if(o){var d=n.i(v.a)(o.config);!d&&c.a.isMentorAtAnyOrganisation(r,i)&&l.splice(1,0,{label:h.a.show(t.navBar.userMenu.mentorshipSettings,o.config),href:"/settings/mentorship"}),d&&l.splice(0,1)}return _("div",{className:u()(s.container),style:{marginTop:"1rem"}},void 0,_("div",{className:s.row,style:{marginBottom:0}},void 0,_("div",{className:u()(s.col,s.s12,s.m9),style:{paddingTop:"1rem",marginBottom:"85px"}},void 0,"profile"===a&&b,"mentorship"===a&&w,"general"===a&&S,"account"===a&&x,"integration"===a&&A,"notification"===a&&P)))}var i=n(0),r=(n.n(i),n(48)),a=n.n(r),s=n(3),l=n(12),u=n.n(l),c=n(56),d=(n(369),n(377)),p=n(376),f=n(795),m=n(799),g=n(800),h=n(42),v=n(103),y=n(741),_=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,i){var r=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===a)n.children=i;else if(a>1){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),b=_(d.a,{}),w=_(m.a,{}),S=_(p.a,{}),x=_(f.a,{}),A=_(y.a,{}),P=_(g.a,{});o.defaultProps={subRoute:null};var C=function(e){return{i18n:e.i18n,commonStyle:e.commonStyle,account:e.session.account,context:e.session.sContext,contexts:e.session.contexts}};t.a=n.i(s.a)(C)(a()()(o))},function(e,t,n){"use strict";function o(e,t){var o=[n.i(s.a)(t)],l=void 0;l=i.b.apply(void 0,o);var u=n.i(i.c)(r.a,e,l);if(e.session&&e.session&&e.session.sContext){var c=e.session.sContext;a.a.save(a.a.PARAM_ORGANISATION_ID,c.organisation._id),a.a.save(a.a.PARAM_ROLE,c.role)}return u}var i=n(345),r=n(827),a=(n(899),n(81)),s=n(898);t.a=o},function(e,t,n){"use strict";function o(e){return function(t){var n=t.dispatch,o=t.getState;return function(t){return function(i){return"function"==typeof i?i(n,e,o):t(i)}}}}t.a=o},function(e,t,n){"use strict";var o=n(1635);n.n(o)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._3sJei{position:relative;height:48px}._1B3f0{position:absolute;right:2px;bottom:2px}._1B3f0 img{border:1px solid #f5f5f5;position:absolute;right:-9px;bottom:-2px;width:20px;height:20px;box-sizing:border-box}",""]),t.locals={avatarContainer:"_3sJei",organisationLogo:"_1B3f0"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@media only screen and (min-width:601px){._3V8c7{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:125px}}",""]),t.locals={timeInfoContainer:"_3V8c7"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Nunito:400,400i,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);",""]),t.push([e.i,'@font-face{font-family:Figtree}html{font-size:1em;font-weight:300}h1,h2,h3,h4,h5,h6,html{font-family:Figtree,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:.5px}a{text-decoration:none;color:#555}a:hover{color:#777}._1O88V{color:#e74c3c}._1dkja{padding:16px 0;padding:1rem 0}._1dkja,._1RRoo{position:relative}._1RRoo{padding-top:16px;padding-top:1rem;padding-bottom:16px;padding-bottom:1rem}@media screen and (max-width:601px){._1RRoo{padding-bottom:1rem}}._1mTUs{padding-bottom:64px;padding-bottom:4rem}.ZE98x{top:0;z-index:-1;overflow:hidden;position:absolute;-ms-transform-origin:0;transform-origin:0}.skVtR,.ZE98x{width:100%;height:100%}.skVtR{background-size:cover}._1SuGL,._3m4tC{top:0;z-index:-1;width:100%;height:100%;overflow:hidden;position:absolute}._1SuGL{-ms-transform-origin:0;transform-origin:0;//transform:skewY(-6deg)}.ezUiZ{height:140%;//transform:skewY(6deg)}._3hJD1,.ezUiZ{width:100%;background-size:cover}._3hJD1{height:100%}.kpkEB{float:right}._3Thsr{text-align:center}._1gful{text-align:right}._2KrKZ{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}table{width:100%;display:table}table._1uMnX>tbody>tr,table._1uMnX>thead>tr{border-bottom:1px solid #d0d0d0}table._3ulMr>tbody>tr:nth-child(odd){background-color:#f2f2f2}table._3ulMr>tbody>tr>td{border-radius:0}table.lZHl4>tbody>tr{transition:background-color .25s ease}table.lZHl4>tbody>tr:hover{background-color:#f2f2f2}table._2vVgk tbody tr td,table._2vVgk thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}.N185L{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){.N185L{width:94%}}@media only screen and (min-width:993px){.N185L{width:86%}}.N185L ._2d5sY{margin-left:-12px;margin-left:-.75rem;margin-right:-12px;margin-right:-.75rem}._2thTk{position:relative;padding-top:48px;padding-top:3rem;padding-bottom:48px;padding-bottom:3rem}._2thTk._2nLwQ{padding:0}._2thTk._1cJYC{padding-bottom:0}._2thTk._1Ms53{padding-top:0}._2d5sY{margin-left:auto;margin-right:auto;margin-bottom:20px}._2d5sY:after{content:"";display:table;clear:both}._2d5sY ._2-_-o{float:left;box-sizing:border-box;padding:0 12px;padding:0 .75rem}._2d5sY ._2-_-o[class*=pull-],._2d5sY ._2-_-o[class*=push-]{position:relative}._2d5sY ._2-_-o._27OjF{width:8.33333%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o.kTE_7{width:16.66667%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._1bTrL{width:25%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._2iDUS{width:33.33333%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._3G1Q3{width:41.66667%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._2tRqS{width:50%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._3XYD5{width:58.33333%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o.BDdjZ{width:66.66667%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._3P3C8{width:75%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._2HZWT{width:83.33333%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o.VWkNo{width:91.66667%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o.m2v3q{width:100%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._1lovP{margin-left:8.33333%}._2d5sY ._2-_-o._2H1Jr{right:8.33333%}._2d5sY ._2-_-o._1yRu6{left:8.33333%}._2d5sY ._2-_-o._2fqk7{margin-left:16.66667%}._2d5sY ._2-_-o.o8tXT{right:16.66667%}._2d5sY ._2-_-o._2phB5{left:16.66667%}._2d5sY ._2-_-o._765Zy{margin-left:25%}._2d5sY ._2-_-o._1N1X0{right:25%}._2d5sY ._2-_-o._17QO7{left:25%}._2d5sY ._2-_-o.XdKAt{margin-left:33.33333%}._2d5sY ._2-_-o._1D05e{right:33.33333%}._2d5sY ._2-_-o._17H3f{left:33.33333%}._2d5sY ._2-_-o._2Pief{margin-left:41.66667%}._2d5sY ._2-_-o._1yYLE{right:41.66667%}._2d5sY ._2-_-o._3DF1D{left:41.66667%}._2d5sY ._2-_-o._1BnzU{margin-left:50%}._2d5sY ._2-_-o.oQ1-r{right:50%}._2d5sY ._2-_-o._1vzMG{left:50%}._2d5sY ._2-_-o._3TtDR{margin-left:58.33333%}._2d5sY ._2-_-o._3JNv8{right:58.33333%}._2d5sY ._2-_-o._3s203{left:58.33333%}._2d5sY ._2-_-o.coWWR{margin-left:66.66667%}._2d5sY ._2-_-o._3lFzD{right:66.66667%}._2d5sY ._2-_-o._2WLj2{left:66.66667%}._2d5sY ._2-_-o._2GsGy{margin-left:75%}._2d5sY ._2-_-o._1tzv9{right:75%}._2d5sY ._2-_-o._uHFV{left:75%}._2d5sY ._2-_-o._3MlPG{margin-left:83.33333%}._2d5sY ._2-_-o._3xPv3{right:83.33333%}._2d5sY ._2-_-o._2Hru5{left:83.33333%}._2d5sY ._2-_-o._2RIGW{margin-left:91.66667%}._2d5sY ._2-_-o.k0Ept{right:91.66667%}._2d5sY ._2-_-o._2YP-b{left:91.66667%}._2d5sY ._2-_-o._2XD82{margin-left:100%}._2d5sY ._2-_-o._34ado{right:100%}._2d5sY ._2-_-o.jIoMa{left:100%}@media only screen and (min-width:601px){._2d5sY ._2-_-o._3q24d{width:8.33333%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._2Ds3w{width:16.66667%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o.N1fGU{width:25%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._4qT7I{width:33.33333%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._3p-bn{width:41.66667%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._341X1{width:50%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._1GfSl{width:58.33333%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._1LaQU{width:66.66667%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._2nCYh{width:75%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._123FN{width:83.33333%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._1e5si{width:91.66667%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._2X-D0{width:100%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._3GGqk{margin-left:8.33333%}._2d5sY ._2-_-o._6eR4S{right:8.33333%}._2d5sY ._2-_-o._1CBej{left:8.33333%}._2d5sY ._2-_-o.eRxtS{margin-left:16.66667%}._2d5sY ._2-_-o.GeRxE{right:16.66667%}._2d5sY ._2-_-o._2z9wc{left:16.66667%}._2d5sY ._2-_-o.kmfRH{margin-left:25%}._2d5sY ._2-_-o._1ISLx{right:25%}._2d5sY ._2-_-o.t9NOd{left:25%}._2d5sY ._2-_-o._14cja{margin-left:33.33333%}._2d5sY ._2-_-o._2DDSI{right:33.33333%}._2d5sY ._2-_-o._73sre{left:33.33333%}._2d5sY ._2-_-o.GRssK{margin-left:41.66667%}._2d5sY ._2-_-o.C4Bm6{right:41.66667%}._2d5sY ._2-_-o.dEzci{left:41.66667%}._2d5sY ._2-_-o._11j-A{margin-left:50%}._2d5sY ._2-_-o._2cDvL{right:50%}._2d5sY ._2-_-o._3EhFt{left:50%}._2d5sY ._2-_-o._1E9rS{margin-left:58.33333%}._2d5sY ._2-_-o._2VEUA{right:58.33333%}._2d5sY ._2-_-o._5pM3X{left:58.33333%}._2d5sY ._2-_-o._38I-O{margin-left:66.66667%}._2d5sY ._2-_-o.W2mHl{right:66.66667%}._2d5sY ._2-_-o._3kYC8{left:66.66667%}._2d5sY ._2-_-o._2rN4d{margin-left:75%}._2d5sY ._2-_-o._3UQc6{right:75%}._2d5sY ._2-_-o._36tBq{left:75%}._2d5sY ._2-_-o._16MTC{margin-left:83.33333%}._2d5sY ._2-_-o.o1Wu9{right:83.33333%}._2d5sY ._2-_-o._1QQih{left:83.33333%}._2d5sY ._2-_-o.NXwj5{margin-left:91.66667%}._2d5sY ._2-_-o._3x8qi{right:91.66667%}._2d5sY ._2-_-o.doiXD{left:91.66667%}._2d5sY ._2-_-o._1sqxY{margin-left:100%}._2d5sY ._2-_-o._3oOxg{right:100%}._2d5sY ._2-_-o._3Idva{left:100%}}@media only screen and (min-width:993px){._2d5sY ._2-_-o._2i0Vz{width:8.33333%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._2v60m{width:16.66667%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._36QF7{width:25%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._3cslq{width:33.33333%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._1IKDl{width:41.66667%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._1KJHR{width:50%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o.ijs7P{width:58.33333%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._3UYlq{width:66.66667%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o.mm566{width:75%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._3xxbb{width:83.33333%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._18cJz{width:91.66667%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._2uJ_4{width:100%;margin-left:auto;left:auto;right:auto}._2d5sY ._2-_-o._2iuAg{margin-left:8.33333%}._2d5sY ._2-_-o.iLhoO{right:8.33333%}._2d5sY ._2-_-o._3TyTK{left:8.33333%}._2d5sY ._2-_-o._28PT3{margin-left:16.66667%}._2d5sY ._2-_-o._3-LRJ{right:16.66667%}._2d5sY ._2-_-o._3Iuys{left:16.66667%}._2d5sY ._2-_-o.yDPnd{margin-left:25%}._2d5sY ._2-_-o.FAtIz{right:25%}._2d5sY ._2-_-o._11Fm5{left:25%}._2d5sY ._2-_-o._1ElAZ{margin-left:33.33333%}._2d5sY ._2-_-o._3ggyU{right:33.33333%}._2d5sY ._2-_-o._1u8Of{left:33.33333%}._2d5sY ._2-_-o._1EPjW{margin-left:41.66667%}._2d5sY ._2-_-o._1RLhe{right:41.66667%}._2d5sY ._2-_-o._1ZNh0{left:41.66667%}._2d5sY ._2-_-o._3rkgE{margin-left:50%}._2d5sY ._2-_-o._3zeay{right:50%}._2d5sY ._2-_-o.QpS7H{left:50%}._2d5sY ._2-_-o.sOuTw{margin-left:58.33333%}._2d5sY ._2-_-o._24tyd{right:58.33333%}._2d5sY ._2-_-o._2GRBq{left:58.33333%}._2d5sY ._2-_-o._6VKYo{margin-left:66.66667%}._2d5sY ._2-_-o._2QiOi{right:66.66667%}._2d5sY ._2-_-o._3RToU{left:66.66667%}._2d5sY ._2-_-o._2fzQg{margin-left:75%}._2d5sY ._2-_-o._3JCW-{right:75%}._2d5sY ._2-_-o._2Qxvi{left:75%}._2d5sY ._2-_-o._2KI_X{margin-left:83.33333%}._2d5sY ._2-_-o._23tUA{right:83.33333%}._2d5sY ._2-_-o._2S6uM{left:83.33333%}._2d5sY ._2-_-o._1xDyZ{margin-left:91.66667%}._2d5sY ._2-_-o.RjyfN{right:91.66667%}._2d5sY ._2-_-o._2_ZS8{left:91.66667%}._2d5sY ._2-_-o._3AAWR{margin-left:100%}._2d5sY ._2-_-o._3-4aC{right:100%}._2d5sY ._2-_-o._2ToLC{left:100%}}',""]),t.locals={error:"_1O88V",coverSection:"_1dkja",skewedSection:"_1RRoo",skewedSectionNarrow:"_1mTUs",sectionBackground:"ZE98x",sectionBackgroundImage:"skVtR",coverBackground:"_3m4tC",skewBackground:"_1SuGL",skewImage:"ezUiZ",coverImage:"_3hJD1",right:"kpkEB",centerAlign:"_3Thsr",rightAlign:"_1gful",valignWrapper:"_2KrKZ",bordered:"_1uMnX",striped:"_3ulMr",highlight:"lZHl4",centered:"_2vVgk",container:"N185L",row:"_2d5sY",section:"_2thTk","no-pad":"_2nLwQ","no-pad-bot":"_1cJYC","no-pad-top":"_1Ms53",col:"_2-_-o",s1:"_27OjF",s2:"kTE_7",s3:"_1bTrL",s4:"_2iDUS",s5:"_3G1Q3",s6:"_2tRqS",s7:"_3XYD5",s8:"BDdjZ",s9:"_3P3C8",s10:"_2HZWT",s11:"VWkNo",s12:"m2v3q","offset-s1":"_1lovP","pull-s1":"_2H1Jr","push-s1":"_1yRu6","offset-s2":"_2fqk7","pull-s2":"o8tXT","push-s2":"_2phB5","offset-s3":"_765Zy","pull-s3":"_1N1X0","push-s3":"_17QO7","offset-s4":"XdKAt","pull-s4":"_1D05e","push-s4":"_17H3f","offset-s5":"_2Pief","pull-s5":"_1yYLE","push-s5":"_3DF1D","offset-s6":"_1BnzU","pull-s6":"oQ1-r","push-s6":"_1vzMG","offset-s7":"_3TtDR","pull-s7":"_3JNv8","push-s7":"_3s203","offset-s8":"coWWR","pull-s8":"_3lFzD","push-s8":"_2WLj2","offset-s9":"_2GsGy","pull-s9":"_1tzv9","push-s9":"_uHFV","offset-s10":"_3MlPG","pull-s10":"_3xPv3","push-s10":"_2Hru5","offset-s11":"_2RIGW","pull-s11":"k0Ept","push-s11":"_2YP-b","offset-s12":"_2XD82","pull-s12":"_34ado","push-s12":"jIoMa",m1:"_3q24d",m2:"_2Ds3w",m3:"N1fGU",m4:"_4qT7I",m5:"_3p-bn",m6:"_341X1",m7:"_1GfSl",m8:"_1LaQU",m9:"_2nCYh",m10:"_123FN",m11:"_1e5si",m12:"_2X-D0","offset-m1":"_3GGqk","pull-m1":"_6eR4S","push-m1":"_1CBej","offset-m2":"eRxtS","pull-m2":"GeRxE","push-m2":"_2z9wc","offset-m3":"kmfRH","pull-m3":"_1ISLx","push-m3":"t9NOd","offset-m4":"_14cja","pull-m4":"_2DDSI","push-m4":"_73sre","offset-m5":"GRssK","pull-m5":"C4Bm6","push-m5":"dEzci","offset-m6":"_11j-A","pull-m6":"_2cDvL","push-m6":"_3EhFt","offset-m7":"_1E9rS","pull-m7":"_2VEUA","push-m7":"_5pM3X","offset-m8":"_38I-O","pull-m8":"W2mHl","push-m8":"_3kYC8","offset-m9":"_2rN4d","pull-m9":"_3UQc6","push-m9":"_36tBq","offset-m10":"_16MTC","pull-m10":"o1Wu9","push-m10":"_1QQih","offset-m11":"NXwj5","pull-m11":"_3x8qi","push-m11":"doiXD","offset-m12":"_1sqxY","pull-m12":"_3oOxg","push-m12":"_3Idva",l1:"_2i0Vz",l2:"_2v60m",l3:"_36QF7",l4:"_3cslq",l5:"_1IKDl",l6:"_1KJHR",l7:"ijs7P",l8:"_3UYlq",l9:"mm566",l10:"_3xxbb",l11:"_18cJz",l12:"_2uJ_4","offset-l1":"_2iuAg","pull-l1":"iLhoO","push-l1":"_3TyTK","offset-l2":"_28PT3","pull-l2":"_3-LRJ","push-l2":"_3Iuys","offset-l3":"yDPnd","pull-l3":"FAtIz","push-l3":"_11Fm5","offset-l4":"_1ElAZ","pull-l4":"_3ggyU","push-l4":"_1u8Of","offset-l5":"_1EPjW","pull-l5":"_1RLhe","push-l5":"_1ZNh0","offset-l6":"_3rkgE","pull-l6":"_3zeay","push-l6":"QpS7H","offset-l7":"sOuTw","pull-l7":"_24tyd","push-l7":"_2GRBq","offset-l8":"_6VKYo","pull-l8":"_2QiOi","push-l8":"_3RToU","offset-l9":"_2fzQg","pull-l9":"_3JCW-","push-l9":"_2Qxvi","offset-l10":"_2KI_X","pull-l10":"_23tUA","push-l10":"_2S6uM","offset-l11":"_1xDyZ","pull-l11":"RjyfN","push-l11":"_2_ZS8","offset-l12":"_3AAWR","pull-l12":"_3-4aC","push-l12":"_2ToLC"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@media only screen and (min-width:601px){.cthFf{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:125px}}",""]),t.locals={timeInfoContainer:"cthFf"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Nunito:400,400i,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);",""]),t.push([e.i,'@font-face{font-family:Figtree}html{font-size:1em;font-weight:300}h1,h2,h3,h4,h5,h6,html{font-family:Figtree,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:.5px}a{text-decoration:none;color:#555}a:hover{color:#777}._21cZe{color:#e74c3c}._1mze4{padding:16px 0;padding:1rem 0}._1mze4,.QSmeC{position:relative}.QSmeC{padding-top:16px;padding-top:1rem;padding-bottom:16px;padding-bottom:1rem}@media screen and (max-width:601px){.QSmeC{padding-bottom:1rem}}._8Wfm_{padding-bottom:64px;padding-bottom:4rem}._37Lpc{top:0;z-index:-1;overflow:hidden;position:absolute;-ms-transform-origin:0;transform-origin:0}._1yGUc,._37Lpc{width:100%;height:100%}._1yGUc{background-size:cover}._3LCpz,._a93k{top:0;z-index:-1;width:100%;height:100%;overflow:hidden;position:absolute}._a93k{-ms-transform-origin:0;transform-origin:0;//transform:skewY(-6deg)}._3hRx-{height:140%;//transform:skewY(6deg)}._3hRx-,.gygXC{width:100%;background-size:cover}.gygXC{height:100%}._29jgi{float:right}._3M_Xx{text-align:center}._2Jhb9{text-align:right}._2dbdL{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}table{width:100%;display:table}table.-Gbhg>tbody>tr,table.-Gbhg>thead>tr{border-bottom:1px solid #d0d0d0}table._1224h>tbody>tr:nth-child(odd){background-color:#f2f2f2}table._1224h>tbody>tr>td{border-radius:0}table._1FGFO>tbody>tr{transition:background-color .25s ease}table._1FGFO>tbody>tr:hover{background-color:#f2f2f2}table.bY6PB tbody tr td,table.bY6PB thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}._1xDDA{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){._1xDDA{width:94%}}@media only screen and (min-width:993px){._1xDDA{width:86%}}._1xDDA ._1hRZm{margin-left:-12px;margin-left:-.75rem;margin-right:-12px;margin-right:-.75rem}.vkSoV{position:relative;padding-top:48px;padding-top:3rem;padding-bottom:48px;padding-bottom:3rem}.vkSoV.XlQ7F{padding:0}.vkSoV._1PWXD{padding-bottom:0}.vkSoV._2TLyH{padding-top:0}._1hRZm{margin-left:auto;margin-right:auto;margin-bottom:20px}._1hRZm:after{content:"";display:table;clear:both}._1hRZm ._1lAvs{float:left;box-sizing:border-box;padding:0 12px;padding:0 .75rem}._1hRZm ._1lAvs[class*=pull-],._1hRZm ._1lAvs[class*=push-]{position:relative}._1hRZm ._1lAvs.yqR0G{width:8.33333%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._3a3wG{width:16.66667%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._3-K7e{width:25%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._3-RmC{width:33.33333%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs.PqlMB{width:41.66667%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs.X3jdQ{width:50%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._1K4bB{width:58.33333%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs.WvJ7_{width:66.66667%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs.KYnav{width:75%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._2haWo{width:83.33333%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs.QZt_o{width:91.66667%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._3ElTV{width:100%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._2-sF9{margin-left:8.33333%}._1hRZm ._1lAvs._3g-jp{right:8.33333%}._1hRZm ._1lAvs._22USf{left:8.33333%}._1hRZm ._1lAvs._2hLcm{margin-left:16.66667%}._1hRZm ._1lAvs.P5lrk{right:16.66667%}._1hRZm ._1lAvs._1M_Mx{left:16.66667%}._1hRZm ._1lAvs._2aqvW{margin-left:25%}._1hRZm ._1lAvs._24bOj{right:25%}._1hRZm ._1lAvs._3zwqH{left:25%}._1hRZm ._1lAvs._1UZmz{margin-left:33.33333%}._1hRZm ._1lAvs._3MDPF{right:33.33333%}._1hRZm ._1lAvs.xZcEg{left:33.33333%}._1hRZm ._1lAvs._1HQBI{margin-left:41.66667%}._1hRZm ._1lAvs._30sIq{right:41.66667%}._1hRZm ._1lAvs._2UjYb{left:41.66667%}._1hRZm ._1lAvs._5-KIZ{margin-left:50%}._1hRZm ._1lAvs._2Gkle{right:50%}._1hRZm ._1lAvs._1JzYE{left:50%}._1hRZm ._1lAvs._2hXd7{margin-left:58.33333%}._1hRZm ._1lAvs._23aI_{right:58.33333%}._1hRZm ._1lAvs._3mzdO{left:58.33333%}._1hRZm ._1lAvs._3NN5l{margin-left:66.66667%}._1hRZm ._1lAvs._3i-4e{right:66.66667%}._1hRZm ._1lAvs.n-1fx{left:66.66667%}._1hRZm ._1lAvs._1YWou{margin-left:75%}._1hRZm ._1lAvs.OSLlo{right:75%}._1hRZm ._1lAvs._2zye_{left:75%}._1hRZm ._1lAvs._2Popf{margin-left:83.33333%}._1hRZm ._1lAvs._1k3YY{right:83.33333%}._1hRZm ._1lAvs._3iqKk{left:83.33333%}._1hRZm ._1lAvs._18W4w{margin-left:91.66667%}._1hRZm ._1lAvs._1mahS{right:91.66667%}._1hRZm ._1lAvs._1walt{left:91.66667%}._1hRZm ._1lAvs._1jt10{margin-left:100%}._1hRZm ._1lAvs._2J0re{right:100%}._1hRZm ._1lAvs._2WVaP{left:100%}@media only screen and (min-width:601px){._1hRZm ._1lAvs._3rn38{width:8.33333%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._229S2{width:16.66667%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._3wuua{width:25%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._1f4_W{width:33.33333%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._27BRK{width:41.66667%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._3W-ZF{width:50%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._1LKNT{width:58.33333%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs.DFrvs{width:66.66667%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._3xTfV{width:75%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._2edMZ{width:83.33333%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._3ULwT{width:91.66667%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._3Wxrb{width:100%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._2K9iu{margin-left:8.33333%}._1hRZm ._1lAvs._3hr07{right:8.33333%}._1hRZm ._1lAvs._1G8_B{left:8.33333%}._1hRZm ._1lAvs._9x97p{margin-left:16.66667%}._1hRZm ._1lAvs.rdgIV{right:16.66667%}._1hRZm ._1lAvs._15Omi{left:16.66667%}._1hRZm ._1lAvs._1JUha{margin-left:25%}._1hRZm ._1lAvs._1LKrO{right:25%}._1hRZm ._1lAvs._3opli{left:25%}._1hRZm ._1lAvs._3EwBT{margin-left:33.33333%}._1hRZm ._1lAvs._1bZ0A{right:33.33333%}._1hRZm ._1lAvs._35S1j{left:33.33333%}._1hRZm ._1lAvs._3pRwI{margin-left:41.66667%}._1hRZm ._1lAvs.TcLOe{right:41.66667%}._1hRZm ._1lAvs._1BSGD{left:41.66667%}._1hRZm ._1lAvs._1f-VD{margin-left:50%}._1hRZm ._1lAvs.YlFzY{right:50%}._1hRZm ._1lAvs._3PefT{left:50%}._1hRZm ._1lAvs._1KYZF{margin-left:58.33333%}._1hRZm ._1lAvs.SCrW5{right:58.33333%}._1hRZm ._1lAvs._3-Dj8{left:58.33333%}._1hRZm ._1lAvs._1lBFd{margin-left:66.66667%}._1hRZm ._1lAvs._3pr6J{right:66.66667%}._1hRZm ._1lAvs._19Vin{left:66.66667%}._1hRZm ._1lAvs._227Sz{margin-left:75%}._1hRZm ._1lAvs._1ddiu{right:75%}._1hRZm ._1lAvs.lt3kM{left:75%}._1hRZm ._1lAvs._16gUM{margin-left:83.33333%}._1hRZm ._1lAvs._2kj3F{right:83.33333%}._1hRZm ._1lAvs._2n5J3{left:83.33333%}._1hRZm ._1lAvs._1Jukw{margin-left:91.66667%}._1hRZm ._1lAvs.bls6Q{right:91.66667%}._1hRZm ._1lAvs._1njDO{left:91.66667%}._1hRZm ._1lAvs._2qMPK{margin-left:100%}._1hRZm ._1lAvs._1Ll67{right:100%}._1hRZm ._1lAvs._3q_FJ{left:100%}}@media only screen and (min-width:993px){._1hRZm ._1lAvs._3fS2w{width:8.33333%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._1X72f{width:16.66667%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._1p8fO{width:25%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs.fjpps{width:33.33333%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._17LRZ{width:41.66667%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._3WX8-{width:50%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._3h4sE{width:58.33333%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._3NSHn{width:66.66667%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs.Bdizx{width:75%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._1mqzs{width:83.33333%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._A_-9{width:91.66667%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._1U4NT{width:100%;margin-left:auto;left:auto;right:auto}._1hRZm ._1lAvs._2ttIB{margin-left:8.33333%}._1hRZm ._1lAvs._1jUbN{right:8.33333%}._1hRZm ._1lAvs.VW9Gt{left:8.33333%}._1hRZm ._1lAvs._2uSVs{margin-left:16.66667%}._1hRZm ._1lAvs._2KY1D{right:16.66667%}._1hRZm ._1lAvs._3we_N{left:16.66667%}._1hRZm ._1lAvs.M4Z0m{margin-left:25%}._1hRZm ._1lAvs._23xLZ{right:25%}._1hRZm ._1lAvs.J2LoA{left:25%}._1hRZm ._1lAvs._4rm25{margin-left:33.33333%}._1hRZm ._1lAvs._4MgK2{right:33.33333%}._1hRZm ._1lAvs.Kj9k6{left:33.33333%}._1hRZm ._1lAvs._2Wgvp{margin-left:41.66667%}._1hRZm ._1lAvs.kfLuX{right:41.66667%}._1hRZm ._1lAvs._2XUJv{left:41.66667%}._1hRZm ._1lAvs.mKuF_{margin-left:50%}._1hRZm ._1lAvs._2gNrF{right:50%}._1hRZm ._1lAvs._3lWcW{left:50%}._1hRZm ._1lAvs._1qpJy{margin-left:58.33333%}._1hRZm ._1lAvs._3mq4_{right:58.33333%}._1hRZm ._1lAvs._1afW7{left:58.33333%}._1hRZm ._1lAvs.LQQ4G{margin-left:66.66667%}._1hRZm ._1lAvs._3paVI{right:66.66667%}._1hRZm ._1lAvs._2x8LX{left:66.66667%}._1hRZm ._1lAvs._10ciD{margin-left:75%}._1hRZm ._1lAvs._3UkRC{right:75%}._1hRZm ._1lAvs._2tPXT{left:75%}._1hRZm ._1lAvs._3oETT{margin-left:83.33333%}._1hRZm ._1lAvs._3LUFi{right:83.33333%}._1hRZm ._1lAvs.yp8lh{left:83.33333%}._1hRZm ._1lAvs._1PYa_{margin-left:91.66667%}._1hRZm ._1lAvs.bMau5{right:91.66667%}._1hRZm ._1lAvs._3WK1f{left:91.66667%}._1hRZm ._1lAvs._2Z6kd{margin-left:100%}._1hRZm ._1lAvs._1WRcQ{right:100%}._1hRZm ._1lAvs.BcSmq{left:100%}}',""]),t.locals={error:"_21cZe",coverSection:"_1mze4",skewedSection:"QSmeC",skewedSectionNarrow:"_8Wfm_",sectionBackground:"_37Lpc",sectionBackgroundImage:"_1yGUc",coverBackground:"_3LCpz",skewBackground:"_a93k",skewImage:"_3hRx-",coverImage:"gygXC",right:"_29jgi",centerAlign:"_3M_Xx",rightAlign:"_2Jhb9",valignWrapper:"_2dbdL",bordered:"-Gbhg",striped:"_1224h",highlight:"_1FGFO",centered:"bY6PB",container:"_1xDDA",row:"_1hRZm",section:"vkSoV","no-pad":"XlQ7F","no-pad-bot":"_1PWXD","no-pad-top":"_2TLyH",col:"_1lAvs",s1:"yqR0G",s2:"_3a3wG",s3:"_3-K7e",s4:"_3-RmC",s5:"PqlMB",s6:"X3jdQ",s7:"_1K4bB",s8:"WvJ7_",s9:"KYnav",s10:"_2haWo",s11:"QZt_o",s12:"_3ElTV","offset-s1":"_2-sF9","pull-s1":"_3g-jp","push-s1":"_22USf","offset-s2":"_2hLcm","pull-s2":"P5lrk","push-s2":"_1M_Mx","offset-s3":"_2aqvW","pull-s3":"_24bOj","push-s3":"_3zwqH","offset-s4":"_1UZmz","pull-s4":"_3MDPF","push-s4":"xZcEg","offset-s5":"_1HQBI","pull-s5":"_30sIq","push-s5":"_2UjYb","offset-s6":"_5-KIZ","pull-s6":"_2Gkle","push-s6":"_1JzYE","offset-s7":"_2hXd7","pull-s7":"_23aI_","push-s7":"_3mzdO","offset-s8":"_3NN5l","pull-s8":"_3i-4e","push-s8":"n-1fx","offset-s9":"_1YWou","pull-s9":"OSLlo","push-s9":"_2zye_","offset-s10":"_2Popf","pull-s10":"_1k3YY","push-s10":"_3iqKk","offset-s11":"_18W4w","pull-s11":"_1mahS","push-s11":"_1walt","offset-s12":"_1jt10","pull-s12":"_2J0re","push-s12":"_2WVaP",m1:"_3rn38",m2:"_229S2",m3:"_3wuua",m4:"_1f4_W",m5:"_27BRK",m6:"_3W-ZF",m7:"_1LKNT",m8:"DFrvs",m9:"_3xTfV",m10:"_2edMZ",m11:"_3ULwT",m12:"_3Wxrb","offset-m1":"_2K9iu","pull-m1":"_3hr07","push-m1":"_1G8_B","offset-m2":"_9x97p","pull-m2":"rdgIV","push-m2":"_15Omi","offset-m3":"_1JUha","pull-m3":"_1LKrO","push-m3":"_3opli","offset-m4":"_3EwBT","pull-m4":"_1bZ0A","push-m4":"_35S1j","offset-m5":"_3pRwI","pull-m5":"TcLOe","push-m5":"_1BSGD","offset-m6":"_1f-VD","pull-m6":"YlFzY","push-m6":"_3PefT","offset-m7":"_1KYZF","pull-m7":"SCrW5","push-m7":"_3-Dj8","offset-m8":"_1lBFd","pull-m8":"_3pr6J","push-m8":"_19Vin","offset-m9":"_227Sz","pull-m9":"_1ddiu","push-m9":"lt3kM","offset-m10":"_16gUM","pull-m10":"_2kj3F","push-m10":"_2n5J3","offset-m11":"_1Jukw","pull-m11":"bls6Q","push-m11":"_1njDO","offset-m12":"_2qMPK","pull-m12":"_1Ll67","push-m12":"_3q_FJ",l1:"_3fS2w",l2:"_1X72f",l3:"_1p8fO",l4:"fjpps",l5:"_17LRZ",l6:"_3WX8-",l7:"_3h4sE",l8:"_3NSHn",l9:"Bdizx",l10:"_1mqzs",l11:"_A_-9",l12:"_1U4NT","offset-l1":"_2ttIB","pull-l1":"_1jUbN","push-l1":"VW9Gt","offset-l2":"_2uSVs","pull-l2":"_2KY1D","push-l2":"_3we_N","offset-l3":"M4Z0m","pull-l3":"_23xLZ","push-l3":"J2LoA","offset-l4":"_4rm25","pull-l4":"_4MgK2","push-l4":"Kj9k6","offset-l5":"_2Wgvp","pull-l5":"kfLuX","push-l5":"_2XUJv","offset-l6":"mKuF_","pull-l6":"_2gNrF","push-l6":"_3lWcW","offset-l7":"_1qpJy","pull-l7":"_3mq4_","push-l7":"_1afW7","offset-l8":"LQQ4G","pull-l8":"_3paVI","push-l8":"_2x8LX","offset-l9":"_10ciD","pull-l9":"_3UkRC","push-l9":"_2tPXT","offset-l10":"_3oETT","pull-l10":"_3LUFi","push-l10":"yp8lh","offset-l11":"_1PYa_","pull-l11":"bMau5","push-l11":"_3WK1f","offset-l12":"_2Z6kd","pull-l12":"_1WRcQ","push-l12":"BcSmq"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._1Zk1s{width:100%;height:100%;position:relative;display:inline-block}._15pwx{top:0;bottom:0;left:0;right:0;cursor:pointer;-moz-opacity:0;filter:alpha(opacity:0);z-index:9}._1XLI4,._15pwx{position:absolute;width:100%;height:100%;opacity:0}._1XLI4{transition:opacity .3s ease}._1XLI4,._3LMHj{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}._3LMHj{width:100%;height:100%;position:absolute}._1Zk1s ._32lDz:hover ._1XLI4{opacity:.8}",""]),t.locals={imageInputContainer:"_1Zk1s",input:"_15pwx",iconContainer:"_1XLI4",progressContainer:"_3LMHj",imageContainer:"_32lDz"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,".hF-Vk{width:100%;height:100%;position:relative;display:inline-block}._2UcLM{top:0;bottom:0;left:0;right:0;cursor:pointer;-moz-opacity:0;filter:alpha(opacity:0);z-index:9}._2IrY-,._2UcLM{position:absolute;width:100%;height:100%;opacity:0}._2IrY-{transition:opacity .3s ease;padding-bottom:30px}._2F53X,._2IrY-{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}._2F53X{width:100%;height:100%;position:absolute}.hF-Vk ._3ub5e:hover ._2IrY-{opacity:.8}._36oml{height:30px;line-height:30px}",""]),t.locals={imageInputContainer:"hF-Vk",input:"_2UcLM",iconContainer:"_2IrY-",progressContainer:"_2F53X",imageContainer:"_3ub5e",label:"_36oml"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,'._3bzw-{position:relative}._3BxjC{position:absolute;top:0;left:0;bottom:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding:16px;padding:1rem;z-index:1;background:hsla(0,0%,100%,.5)}._1WaAF{height:80px;border:1px solid #f5f5f5;transition:height .3s ease;position:relative;overflow-x:scroll;background-color:#fff;padding-left:50px;overflow-y:hidden;-ms-overflow-style:none;overflow:-moz-scrollbars-none}._3bzw-::-webkit-scrollbar{display:none}._1WaAF.QzL7G{height:140px}._1Wgni{height:0;border:none}.BAV-L{left:0;z-index:10;height:100%;box-sizing:border-box;padding-top:20px;padding-left:5px;padding-bottom:5px}._3WTDp,.BAV-L{position:absolute}._3WTDp{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}._3WTDp._2oKjt{opacity:0}._1h3XJ{position:absolute;height:100%;width:260%}._2k-3r{bottom:2px;border-right:1px dashed #ddd;color:#aaa}._2k-3r,.uEpEA{position:absolute;top:0}.uEpEA{width:24px;height:15px;right:-10px;text-align:center;background:#fff;font-size:.7em}._2AzXz{height:6px;z-index:0}._2uVV7{top:20%;width:260%;height:70%;position:absolute}._1WaAF.QzL7G ._2uVV7{height:50%}._2uVV7._3tU9-{top:48%}._3Bh3l{color:#555;position:absolute;border-radius:3px;border-left:4px solid #00bd9c;background:#aeffec;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;font-size:.8em;padding:0 8px;padding:0 .5rem;cursor:pointer}._3Bh3l._375-j{background:repeating-linear-gradient(-45deg,#aeffec,#aeffec 5px,#cffff1 0,#cffff1 10px)}._3Bh3l._3_KTx{color:#e8453c;background:#ffd2ca;border-left:4px solid #e8453c}._3Bh3l._3_KTx._375-j{background:repeating-linear-gradient(-45deg,#ffd2ca,#ffd2ca 5px,#ffebe8 0,#ffebe8 10px)}._3Bh3l._3tm7m{color:#00a4ef;background:#bde9ff;border-left:4px solid #00a4ef}._3Bh3l._3tm7m._375-j{background:repeating-linear-gradient(-45deg,#bde9ff,#bde9ff 5px,#daefff 0,#daefff 10px)}.AeM8a{border:1px dashed #aaa;background:#f8f8f8}.nxCZO{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._1pWEj{visibility:hidden;width:120px;background-color:#555;color:#fff;text-align:center;border-radius:6px;padding:5px 0;z-index:1;margin-left:-60px;opacity:0;transition:opacity .3s;font-size:.8em}._1pWEj,._1pWEj:after{position:absolute;left:50%}._1pWEj:after{display:none;content:"";bottom:100%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555}._3Bh3l:hover ._1pWEj{visibility:visible;opacity:1}',""]),t.locals={container:"_3bzw-",emptyMessage:"_3BxjC",tableContainer:"_1WaAF",double:"QzL7G",hidden:"_1Wgni",userInfoContainer:"BAV-L",user:"_3WTDp",hiddenUser:"_2oKjt",hourTable:"_1h3XJ",hourColumn:"_2k-3r",hourColumnLabel:"uEpEA",hourColumnLabelEmpty:"_2AzXz",cellTable:"_2uVV7",secondary:"_3tU9-",cellColumn:"_3Bh3l",free:"_375-j",google:"_3_KTx",microsoft:"_3tm7m",preview:"AeM8a",truncate:"nxCZO",tooltipText:"_1pWEj"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Nunito:400,400i,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);",""]),t.push([e.i,'html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}._1pk24{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){._1pk24{width:94%}}@media only screen and (min-width:993px){._1pk24{width:86%}}._1pk24 ._2Q8y-{margin-left:-12px;margin-left:-.75rem;margin-right:-12px;margin-right:-.75rem}._2PhVa{position:relative;padding-top:48px;padding-top:3rem;padding-bottom:48px;padding-bottom:3rem}._2PhVa._3kSm8{padding:0}._2PhVa._2JHiL{padding-bottom:0}._2PhVa._2wG6E{padding-top:0}._2Q8y-{margin-left:auto;margin-right:auto;margin-bottom:20px}._2Q8y-:after{content:"";display:table;clear:both}._2Q8y- ._3Ajqd{float:left;box-sizing:border-box;padding:0 12px;padding:0 .75rem}._2Q8y- ._3Ajqd[class*=pull-],._2Q8y- ._3Ajqd[class*=push-]{position:relative}._2Q8y- ._3Ajqd._3vNh0{width:8.33333%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd.Walp8{width:16.66667%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._3q5yA{width:25%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._3ZJqS{width:33.33333%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._2a3bT{width:41.66667%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._258c1{width:50%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd.gNj-W{width:58.33333%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._3sph0{width:66.66667%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd.lD7rZ{width:75%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._3av9j{width:83.33333%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._3asCP{width:91.66667%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._1Gv6T{width:100%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._3iZit{margin-left:8.33333%}._2Q8y- ._3Ajqd._3Liz8{right:8.33333%}._2Q8y- ._3Ajqd._3743f{left:8.33333%}._2Q8y- ._3Ajqd._31LY9{margin-left:16.66667%}._2Q8y- ._3Ajqd._2pcT_{right:16.66667%}._2Q8y- ._3Ajqd._1IPV6{left:16.66667%}._2Q8y- ._3Ajqd.N82E4{margin-left:25%}._2Q8y- ._3Ajqd._3irA-{right:25%}._2Q8y- ._3Ajqd._4dlKU{left:25%}._2Q8y- ._3Ajqd.BAKs9{margin-left:33.33333%}._2Q8y- ._3Ajqd._1M697{right:33.33333%}._2Q8y- ._3Ajqd._36LND{left:33.33333%}._2Q8y- ._3Ajqd._3Xc7H{margin-left:41.66667%}._2Q8y- ._3Ajqd._1C80G{right:41.66667%}._2Q8y- ._3Ajqd._2OyoJ{left:41.66667%}._2Q8y- ._3Ajqd.EfmZm{margin-left:50%}._2Q8y- ._3Ajqd._3Mccc{right:50%}._2Q8y- ._3Ajqd._2Je0T{left:50%}._2Q8y- ._3Ajqd.-SCWf{margin-left:58.33333%}._2Q8y- ._3Ajqd._3Bwj3{right:58.33333%}._2Q8y- ._3Ajqd._2mFUm{left:58.33333%}._2Q8y- ._3Ajqd._3h2og{margin-left:66.66667%}._2Q8y- ._3Ajqd._3JNMQ{right:66.66667%}._2Q8y- ._3Ajqd.udlgl{left:66.66667%}._2Q8y- ._3Ajqd._1Fs4C{margin-left:75%}._2Q8y- ._3Ajqd._okEb{right:75%}._2Q8y- ._3Ajqd._1nDma{left:75%}._2Q8y- ._3Ajqd.GBpQN{margin-left:83.33333%}._2Q8y- ._3Ajqd.QQvQd{right:83.33333%}._2Q8y- ._3Ajqd._19d5f{left:83.33333%}._2Q8y- ._3Ajqd._2-a2e{margin-left:91.66667%}._2Q8y- ._3Ajqd._1hm8g{right:91.66667%}._2Q8y- ._3Ajqd._3iQAS{left:91.66667%}._2Q8y- ._3Ajqd._8eF6B{margin-left:100%}._2Q8y- ._3Ajqd._3jx6X{right:100%}._2Q8y- ._3Ajqd.PIDim{left:100%}@media only screen and (min-width:601px){._2Q8y- ._3Ajqd._1WFPt{width:8.33333%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._27GfZ{width:16.66667%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._3DEHV{width:25%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._1OSiQ{width:33.33333%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._23xiU{width:41.66667%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._3qQdc{width:50%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._14Yds{width:58.33333%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._3OYYK{width:66.66667%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd.jm718{width:75%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd.ty1FH{width:83.33333%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd.kjWtb{width:91.66667%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._4xYlx{width:100%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd.TGhh1{margin-left:8.33333%}._2Q8y- ._3Ajqd._1-8tB{right:8.33333%}._2Q8y- ._3Ajqd._24EKr{left:8.33333%}._2Q8y- ._3Ajqd._2qPE2{margin-left:16.66667%}._2Q8y- ._3Ajqd.LM1Dn{right:16.66667%}._2Q8y- ._3Ajqd.SFAOo{left:16.66667%}._2Q8y- ._3Ajqd._3vjMe{margin-left:25%}._2Q8y- ._3Ajqd.RTgaF{right:25%}._2Q8y- ._3Ajqd._1Qlbm{left:25%}._2Q8y- ._3Ajqd.aOLbT{margin-left:33.33333%}._2Q8y- ._3Ajqd._1LacN{right:33.33333%}._2Q8y- ._3Ajqd.wOCvV{left:33.33333%}._2Q8y- ._3Ajqd._3Jvi9{margin-left:41.66667%}._2Q8y- ._3Ajqd._2vK1d{right:41.66667%}._2Q8y- ._3Ajqd._39dgn{left:41.66667%}._2Q8y- ._3Ajqd._13fN3{margin-left:50%}._2Q8y- ._3Ajqd.NzIdc{right:50%}._2Q8y- ._3Ajqd._3xcJa{left:50%}._2Q8y- ._3Ajqd._2aHy-{margin-left:58.33333%}._2Q8y- ._3Ajqd._3T05O{right:58.33333%}._2Q8y- ._3Ajqd._29vGU{left:58.33333%}._2Q8y- ._3Ajqd.zGp4j{margin-left:66.66667%}._2Q8y- ._3Ajqd._1p1k7{right:66.66667%}._2Q8y- ._3Ajqd._2Ue1e{left:66.66667%}._2Q8y- ._3Ajqd._3M-9T{margin-left:75%}._2Q8y- ._3Ajqd._3-5yv{right:75%}._2Q8y- ._3Ajqd._3CRnl{left:75%}._2Q8y- ._3Ajqd._161q-{margin-left:83.33333%}._2Q8y- ._3Ajqd._3tQ-o{right:83.33333%}._2Q8y- ._3Ajqd._199f_{left:83.33333%}._2Q8y- ._3Ajqd._25K-I{margin-left:91.66667%}._2Q8y- ._3Ajqd._2GL8L{right:91.66667%}._2Q8y- ._3Ajqd._3N-3y{left:91.66667%}._2Q8y- ._3Ajqd._3B7yX{margin-left:100%}._2Q8y- ._3Ajqd.y41P3{right:100%}._2Q8y- ._3Ajqd._1tV2d{left:100%}}@media only screen and (min-width:993px){._2Q8y- ._3Ajqd._8hJsB{width:8.33333%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd.QkglP{width:16.66667%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._1QMoG{width:25%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._1NkU2{width:33.33333%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._2APfp{width:41.66667%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._2TvJ6{width:50%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._1uEIX{width:58.33333%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._35s21{width:66.66667%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._30jFc{width:75%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._3I7_n{width:83.33333%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._2ddYI{width:91.66667%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._2I9pq{width:100%;margin-left:auto;left:auto;right:auto}._2Q8y- ._3Ajqd._3msDo{margin-left:8.33333%}._2Q8y- ._3Ajqd.QZcJl{right:8.33333%}._2Q8y- ._3Ajqd._3pxJs{left:8.33333%}._2Q8y- ._3Ajqd._2ciV3{margin-left:16.66667%}._2Q8y- ._3Ajqd._2-iz6{right:16.66667%}._2Q8y- ._3Ajqd._1_SZx{left:16.66667%}._2Q8y- ._3Ajqd._1jJiI{margin-left:25%}._2Q8y- ._3Ajqd._2To4h{right:25%}._2Q8y- ._3Ajqd._23qAy{left:25%}._2Q8y- ._3Ajqd._3pjA5{margin-left:33.33333%}._2Q8y- ._3Ajqd.cd3SU{right:33.33333%}._2Q8y- ._3Ajqd._1ukU_{left:33.33333%}._2Q8y- ._3Ajqd._2YAue{margin-left:41.66667%}._2Q8y- ._3Ajqd._2gyW1{right:41.66667%}._2Q8y- ._3Ajqd._2UQi3{left:41.66667%}._2Q8y- ._3Ajqd._2rAVx{margin-left:50%}._2Q8y- ._3Ajqd._1Q9jB{right:50%}._2Q8y- ._3Ajqd._3nRJr{left:50%}._2Q8y- ._3Ajqd._37RdL{margin-left:58.33333%}._2Q8y- ._3Ajqd._2IsPM{right:58.33333%}._2Q8y- ._3Ajqd._1NSas{left:58.33333%}._2Q8y- ._3Ajqd._41nUR{margin-left:66.66667%}._2Q8y- ._3Ajqd._1SKFe{right:66.66667%}._2Q8y- ._3Ajqd.GAuLn{left:66.66667%}._2Q8y- ._3Ajqd.fLEgX{margin-left:75%}._2Q8y- ._3Ajqd._2mzAy{right:75%}._2Q8y- ._3Ajqd._351AZ{left:75%}._2Q8y- ._3Ajqd.xlKxA{margin-left:83.33333%}._2Q8y- ._3Ajqd._3KLRP{right:83.33333%}._2Q8y- ._3Ajqd._1fv0M{left:83.33333%}._2Q8y- ._3Ajqd._2cqCP{margin-left:91.66667%}._2Q8y- ._3Ajqd._3hUYy{right:91.66667%}._2Q8y- ._3Ajqd._1VESM{left:91.66667%}._2Q8y- ._3Ajqd._3_ZSv{margin-left:100%}._2Q8y- ._3Ajqd._2VOYC{right:100%}._2Q8y- ._3Ajqd._3W35L{left:100%}}@font-face{font-family:Figtree}html{font-size:1em;font-weight:300}h1,h2,h3,h4,h5,h6,html{font-family:Figtree,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:.5px}a{text-decoration:none;color:#555}a:hover{color:#777}._2Yzve{color:#e74c3c}._31Ksi{padding:16px 0;padding:1rem 0}._3-KfZ,._31Ksi{position:relative}._3-KfZ{padding-top:16px;padding-top:1rem;padding-bottom:16px;padding-bottom:1rem}@media screen and (max-width:601px){._3-KfZ{padding-bottom:1rem}}.aSd4H{padding-bottom:64px;padding-bottom:4rem}._1hJ27{top:0;z-index:-1;overflow:hidden;position:absolute;-ms-transform-origin:0;transform-origin:0}._1hJ27,.vU2wm{width:100%;height:100%}.vU2wm{background-size:cover}._3QVJ4,._29Vnr{top:0;z-index:-1;width:100%;height:100%;overflow:hidden;position:absolute}._3QVJ4{-ms-transform-origin:0;transform-origin:0;//transform:skewY(-6deg)}._3E6KA{height:140%;//transform:skewY(6deg)}._3E6KA,.vYXrE{width:100%;background-size:cover}.vYXrE{height:100%}.n8VTT{float:right}._2QNjT{text-align:center}._2mc-i{text-align:right}._3H45E{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}table{width:100%;display:table}table._1wIqg>tbody>tr,table._1wIqg>thead>tr{border-bottom:1px solid #d0d0d0}table._346Eg>tbody>tr:nth-child(odd){background-color:#f2f2f2}table._346Eg>tbody>tr>td{border-radius:0}table._1dCno>tbody>tr{transition:background-color .25s ease}table._1dCno>tbody>tr:hover{background-color:#f2f2f2}table._1erU9 tbody tr td,table._1erU9 thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}@media only screen and (max-width:600px){._2-0CU,._3qsek{display:none!important}}@media only screen and (max-width:992px){.CVC4K{display:none!important}}@media only screen and (min-width:601px){._2m5Yn{display:none!important}}@media only screen and (min-width:600px) and (max-width:992px){.uqYxf{display:none!important}}@media only screen and (min-width:993px){._3LsOc{display:none!important}}@media only screen and (min-width:993px){._2mySb{display:block!important}}@media only screen and (min-width:600px) and (max-width:992px){._1OUgW{display:block!important}}@media only screen and (max-width:600px){._2Dm_G{display:block!important}}@media only screen and (min-width:601px){._1_Vyy{display:block!important}}@media only screen and (max-width:992px){._2psjR{display:block!important}}@media only screen and (max-width:600px){._3wzix{text-align:center}}',""]),t.locals={container:"_1pk24",row:"_2Q8y-",section:"_2PhVa","no-pad":"_3kSm8","no-pad-bot":"_2JHiL","no-pad-top":"_2wG6E",col:"_3Ajqd",s1:"_3vNh0",s2:"Walp8",s3:"_3q5yA",s4:"_3ZJqS",s5:"_2a3bT",s6:"_258c1",s7:"gNj-W",s8:"_3sph0",s9:"lD7rZ",s10:"_3av9j",s11:"_3asCP",s12:"_1Gv6T","offset-s1":"_3iZit","pull-s1":"_3Liz8","push-s1":"_3743f","offset-s2":"_31LY9","pull-s2":"_2pcT_","push-s2":"_1IPV6","offset-s3":"N82E4","pull-s3":"_3irA-","push-s3":"_4dlKU","offset-s4":"BAKs9","pull-s4":"_1M697","push-s4":"_36LND","offset-s5":"_3Xc7H","pull-s5":"_1C80G","push-s5":"_2OyoJ","offset-s6":"EfmZm","pull-s6":"_3Mccc","push-s6":"_2Je0T","offset-s7":"-SCWf","pull-s7":"_3Bwj3","push-s7":"_2mFUm","offset-s8":"_3h2og","pull-s8":"_3JNMQ","push-s8":"udlgl","offset-s9":"_1Fs4C","pull-s9":"_okEb","push-s9":"_1nDma","offset-s10":"GBpQN","pull-s10":"QQvQd","push-s10":"_19d5f","offset-s11":"_2-a2e","pull-s11":"_1hm8g","push-s11":"_3iQAS","offset-s12":"_8eF6B","pull-s12":"_3jx6X","push-s12":"PIDim",m1:"_1WFPt",m2:"_27GfZ",m3:"_3DEHV",m4:"_1OSiQ",m5:"_23xiU",m6:"_3qQdc",m7:"_14Yds",m8:"_3OYYK",m9:"jm718",m10:"ty1FH",m11:"kjWtb",m12:"_4xYlx","offset-m1":"TGhh1","pull-m1":"_1-8tB","push-m1":"_24EKr","offset-m2":"_2qPE2","pull-m2":"LM1Dn","push-m2":"SFAOo","offset-m3":"_3vjMe","pull-m3":"RTgaF","push-m3":"_1Qlbm","offset-m4":"aOLbT","pull-m4":"_1LacN","push-m4":"wOCvV","offset-m5":"_3Jvi9","pull-m5":"_2vK1d","push-m5":"_39dgn","offset-m6":"_13fN3","pull-m6":"NzIdc","push-m6":"_3xcJa","offset-m7":"_2aHy-","pull-m7":"_3T05O","push-m7":"_29vGU","offset-m8":"zGp4j","pull-m8":"_1p1k7","push-m8":"_2Ue1e","offset-m9":"_3M-9T","pull-m9":"_3-5yv","push-m9":"_3CRnl","offset-m10":"_161q-","pull-m10":"_3tQ-o","push-m10":"_199f_","offset-m11":"_25K-I","pull-m11":"_2GL8L","push-m11":"_3N-3y","offset-m12":"_3B7yX","pull-m12":"y41P3","push-m12":"_1tV2d",l1:"_8hJsB",l2:"QkglP",l3:"_1QMoG",l4:"_1NkU2",l5:"_2APfp",l6:"_2TvJ6",l7:"_1uEIX",l8:"_35s21",l9:"_30jFc",l10:"_3I7_n",l11:"_2ddYI",l12:"_2I9pq","offset-l1":"_3msDo","pull-l1":"QZcJl","push-l1":"_3pxJs","offset-l2":"_2ciV3","pull-l2":"_2-iz6","push-l2":"_1_SZx","offset-l3":"_1jJiI","pull-l3":"_2To4h","push-l3":"_23qAy","offset-l4":"_3pjA5","pull-l4":"cd3SU","push-l4":"_1ukU_","offset-l5":"_2YAue","pull-l5":"_2gyW1","push-l5":"_2UQi3","offset-l6":"_2rAVx","pull-l6":"_1Q9jB","push-l6":"_3nRJr","offset-l7":"_37RdL","pull-l7":"_2IsPM","push-l7":"_1NSas","offset-l8":"_41nUR","pull-l8":"_1SKFe","push-l8":"GAuLn","offset-l9":"fLEgX","pull-l9":"_2mzAy","push-l9":"_351AZ","offset-l10":"xlKxA","pull-l10":"_3KLRP","push-l10":"_1fv0M","offset-l11":"_2cqCP","pull-l11":"_3hUYy","push-l11":"_1VESM","offset-l12":"_3_ZSv","pull-l12":"_2VOYC","push-l12":"_3W35L",error:"_2Yzve",coverSection:"_31Ksi",skewedSection:"_3-KfZ",skewedSectionNarrow:"aSd4H",sectionBackground:"_1hJ27",sectionBackgroundImage:"vU2wm",coverBackground:"_29Vnr",skewBackground:"_3QVJ4",skewImage:"_3E6KA",coverImage:"vYXrE",right:"n8VTT",centerAlign:"_2QNjT",rightAlign:"_2mc-i",valignWrapper:"_3H45E",bordered:"_1wIqg",striped:"_346Eg",highlight:"_1dCno",centered:"_1erU9",hideOnSmallOnly:"_3qsek",hideOnSmallAndDown:"_2-0CU",hideOnMediumAndDown:"CVC4K",hideOnMediumAndUp:"_2m5Yn",hideOnMediumOnly:"uqYxf",hideOnLargeOnly:"_3LsOc",showOnLarge:"_2mySb",showOnMedium:"_1OUgW",showOnSmall:"_2Dm_G",showOnMediumAndUp:"_1_Vyy",showOnMediumAndDown:"_2psjR",centerOnSmallOnly:"_3wzix"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Nunito:400,400i,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);",""]),t.push([e.i,'@font-face{font-family:Figtree}html{font-size:1em;font-weight:300}h1,h2,h3,h4,h5,h6,html{font-family:Figtree,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:.5px}a{text-decoration:none;color:#555}a:hover{color:#777}._3Mzcz{color:#e74c3c}.zVNsG{padding:16px 0;padding:1rem 0}._3SNxC,.zVNsG{position:relative}._3SNxC{padding-top:16px;padding-top:1rem;padding-bottom:16px;padding-bottom:1rem}@media screen and (max-width:601px){._3SNxC{padding-bottom:1rem}}._3_KYH{padding-bottom:64px;padding-bottom:4rem}.ZaWQK{top:0;z-index:-1;overflow:hidden;position:absolute;-ms-transform-origin:0;transform-origin:0}._3LE0T,.ZaWQK{width:100%;height:100%}._3LE0T{background-size:cover}._3tcxv,.avnZM{top:0;z-index:-1;width:100%;height:100%;overflow:hidden;position:absolute}.avnZM{-ms-transform-origin:0;transform-origin:0;//transform:skewY(-6deg)}._1ssZM{height:140%;//transform:skewY(6deg)}._1ssZM,._3Jm6O{width:100%;background-size:cover}._3Jm6O{height:100%}._2A5An{float:right}.JxWsx{text-align:center}._3FzrC{text-align:right}._35KJG{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}table{width:100%;display:table}table.L7WSj>tbody>tr,table.L7WSj>thead>tr{border-bottom:1px solid #d0d0d0}table._2EaPr>tbody>tr:nth-child(odd){background-color:#f2f2f2}table._2EaPr>tbody>tr>td{border-radius:0}table.iNH4y>tbody>tr{transition:background-color .25s ease}table.iNH4y>tbody>tr:hover{background-color:#f2f2f2}table._3a7YG tbody tr td,table._3a7YG thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}._1VXHa{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){._1VXHa{width:94%}}@media only screen and (min-width:993px){._1VXHa{width:86%}}._1VXHa .NZZLH{margin-left:-12px;margin-left:-.75rem;margin-right:-12px;margin-right:-.75rem}.vlbyd{position:relative;padding-top:48px;padding-top:3rem;padding-bottom:48px;padding-bottom:3rem}.vlbyd._2dR_K{padding:0}.vlbyd._3r-Rj{padding-bottom:0}.vlbyd._3kbRd{padding-top:0}.NZZLH{margin-left:auto;margin-right:auto;margin-bottom:20px}.NZZLH:after{content:"";display:table;clear:both}.NZZLH ._37Iod{float:left;box-sizing:border-box;padding:0 12px;padding:0 .75rem}.NZZLH ._37Iod[class*=pull-],.NZZLH ._37Iod[class*=push-]{position:relative}.NZZLH ._37Iod._32fYg{width:8.33333%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._70z6W{width:16.66667%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._1L_QL{width:25%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._2IAm3{width:33.33333%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._82MjH{width:41.66667%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod.QhvT_{width:50%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod.x8B93{width:58.33333%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._1vnaJ{width:66.66667%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._1l_VL{width:75%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._2W4R-{width:83.33333%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod.AhZmL{width:91.66667%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._1k_zJ{width:100%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod.M7iy8{margin-left:8.33333%}.NZZLH ._37Iod._1g0Qe{right:8.33333%}.NZZLH ._37Iod._1FR6U{left:8.33333%}.NZZLH ._37Iod._3mEAJ{margin-left:16.66667%}.NZZLH ._37Iod.Mt6z7{right:16.66667%}.NZZLH ._37Iod._2z09B{left:16.66667%}.NZZLH ._37Iod._3B2az{margin-left:25%}.NZZLH ._37Iod._2vjvE{right:25%}.NZZLH ._37Iod._1UI1Q{left:25%}.NZZLH ._37Iod._2dJpd{margin-left:33.33333%}.NZZLH ._37Iod._174Qq{right:33.33333%}.NZZLH ._37Iod.EoJn3{left:33.33333%}.NZZLH ._37Iod._2MKj4{margin-left:41.66667%}.NZZLH ._37Iod._1xJmU{right:41.66667%}.NZZLH ._37Iod.RQnZF{left:41.66667%}.NZZLH ._37Iod.Vnf76{margin-left:50%}.NZZLH ._37Iod._1awSF{right:50%}.NZZLH ._37Iod._34SCD{left:50%}.NZZLH ._37Iod._3j2gg{margin-left:58.33333%}.NZZLH ._37Iod._3ZbcM{right:58.33333%}.NZZLH ._37Iod._3H-23{left:58.33333%}.NZZLH ._37Iod.Cyfg2{margin-left:66.66667%}.NZZLH ._37Iod._33tSA{right:66.66667%}.NZZLH ._37Iod._2Scfm{left:66.66667%}.NZZLH ._37Iod._3yp9E{margin-left:75%}.NZZLH ._37Iod._3rcig{right:75%}.NZZLH ._37Iod._2iEH0{left:75%}.NZZLH ._37Iod._1T6jP{margin-left:83.33333%}.NZZLH ._37Iod._2q-dB{right:83.33333%}.NZZLH ._37Iod._25jZO{left:83.33333%}.NZZLH ._37Iod.JRGyN{margin-left:91.66667%}.NZZLH ._37Iod._2yP5I{right:91.66667%}.NZZLH ._37Iod._1661e{left:91.66667%}.NZZLH ._37Iod._2-h4J{margin-left:100%}.NZZLH ._37Iod.RhkAA{right:100%}.NZZLH ._37Iod.PDHnY{left:100%}@media only screen and (min-width:601px){.NZZLH ._37Iod._3JqFA{width:8.33333%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod.ehXvF{width:16.66667%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._2pgt8{width:25%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._3w0bH{width:33.33333%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod.Rxwfb{width:41.66667%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._33__b{width:50%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod.s71NO{width:58.33333%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._3g3BZ{width:66.66667%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._3vGRJ{width:75%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._1Ojgs{width:83.33333%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._2x8ex{width:91.66667%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._1A0qZ{width:100%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._1WBc5{margin-left:8.33333%}.NZZLH ._37Iod.qJ-qO{right:8.33333%}.NZZLH ._37Iod._2Fk3o{left:8.33333%}.NZZLH ._37Iod._2VPeQ{margin-left:16.66667%}.NZZLH ._37Iod._10tjs{right:16.66667%}.NZZLH ._37Iod._2JO1S{left:16.66667%}.NZZLH ._37Iod.VTAsA{margin-left:25%}.NZZLH ._37Iod.nDmca{right:25%}.NZZLH ._37Iod._1W3DY{left:25%}.NZZLH ._37Iod._1e1sw{margin-left:33.33333%}.NZZLH ._37Iod._3-iFZ{right:33.33333%}.NZZLH ._37Iod._1A2ie{left:33.33333%}.NZZLH ._37Iod._2dfsB{margin-left:41.66667%}.NZZLH ._37Iod._15Hpu{right:41.66667%}.NZZLH ._37Iod._38zMm{left:41.66667%}.NZZLH ._37Iod.hXg_v{margin-left:50%}.NZZLH ._37Iod.xZEJR{right:50%}.NZZLH ._37Iod._303og{left:50%}.NZZLH ._37Iod._3jhIQ{margin-left:58.33333%}.NZZLH ._37Iod._34gJ4{right:58.33333%}.NZZLH ._37Iod._1-2Pa{left:58.33333%}.NZZLH ._37Iod.LZDcQ{margin-left:66.66667%}.NZZLH ._37Iod.ZZU50{right:66.66667%}.NZZLH ._37Iod._2fa3b{left:66.66667%}.NZZLH ._37Iod.tsKFd{margin-left:75%}.NZZLH ._37Iod.ttj9Q{right:75%}.NZZLH ._37Iod.RPED0{left:75%}.NZZLH ._37Iod.xf1LQ{margin-left:83.33333%}.NZZLH ._37Iod._1r8jX{right:83.33333%}.NZZLH ._37Iod._3g2Am{left:83.33333%}.NZZLH ._37Iod._2LCj6{margin-left:91.66667%}.NZZLH ._37Iod._1COsK{right:91.66667%}.NZZLH ._37Iod._1rXB_{left:91.66667%}.NZZLH ._37Iod._2PIkr{margin-left:100%}.NZZLH ._37Iod._2xoCK{right:100%}.NZZLH ._37Iod.jb1b-{left:100%}}@media only screen and (min-width:993px){.NZZLH ._37Iod._3qXEt{width:8.33333%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod.XGFx_{width:16.66667%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._1cwgp{width:25%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._3r1Te{width:33.33333%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._36Bmc{width:41.66667%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._2tm7r{width:50%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._1TzDa{width:58.33333%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod.gKn0E{width:66.66667%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._1hwS2{width:75%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._16xIZ{width:83.33333%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod.V6rzI{width:91.66667%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._3qOoF{width:100%;margin-left:auto;left:auto;right:auto}.NZZLH ._37Iod._2CZbj{margin-left:8.33333%}.NZZLH ._37Iod._2audE{right:8.33333%}.NZZLH ._37Iod._2XW11{left:8.33333%}.NZZLH ._37Iod._1c7O_{margin-left:16.66667%}.NZZLH ._37Iod._3A9a0{right:16.66667%}.NZZLH ._37Iod._2klSk{left:16.66667%}.NZZLH ._37Iod._1SKVU{margin-left:25%}.NZZLH ._37Iod._1yCeB{right:25%}.NZZLH ._37Iod.Z_Bzg{left:25%}.NZZLH ._37Iod.yJ_CB{margin-left:33.33333%}.NZZLH ._37Iod._22WHV{right:33.33333%}.NZZLH ._37Iod._3OjpZ{left:33.33333%}.NZZLH ._37Iod._1QqEB{margin-left:41.66667%}.NZZLH ._37Iod.dQmGE{right:41.66667%}.NZZLH ._37Iod.qPozf{left:41.66667%}.NZZLH ._37Iod._5rx8D{margin-left:50%}.NZZLH ._37Iod._2KsJA{right:50%}.NZZLH ._37Iod._1TqMF{left:50%}.NZZLH ._37Iod._3fRJ7{margin-left:58.33333%}.NZZLH ._37Iod._2gmUm{right:58.33333%}.NZZLH ._37Iod._2_5Tr{left:58.33333%}.NZZLH ._37Iod._2wqI5{margin-left:66.66667%}.NZZLH ._37Iod._3aWPU{right:66.66667%}.NZZLH ._37Iod._1UYus{left:66.66667%}.NZZLH ._37Iod._1jcoB{margin-left:75%}.NZZLH ._37Iod._10g5x{right:75%}.NZZLH ._37Iod.t3zad{left:75%}.NZZLH ._37Iod._3tBu_{margin-left:83.33333%}.NZZLH ._37Iod.AsFl0{right:83.33333%}.NZZLH ._37Iod._2b_4M{left:83.33333%}.NZZLH ._37Iod.FbDbn{margin-left:91.66667%}.NZZLH ._37Iod._1nfhW{right:91.66667%}.NZZLH ._37Iod.ar7e9{left:91.66667%}.NZZLH ._37Iod.Lpqwk{margin-left:100%}.NZZLH ._37Iod.LHSpy{right:100%}.NZZLH ._37Iod._1QdGu{left:100%}}._1j3v4 .IvnM8{max-width:100%;overflow:auto;max-height:75vh}._1j3v4 .IvnM8 ._3c8W5 ._1CZR-{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:42.4px;min-height:2.65rem}._1j3v4 .IvnM8 ._3c8W5 ._1CZR- .xaWSs{display:none!important;margin:0}._1j3v4 .IvnM8 ._3c8W5 ._1CZR-:hover .xaWSs{display:inline-block!important}',""]),t.locals={error:"_3Mzcz",coverSection:"zVNsG",skewedSection:"_3SNxC",skewedSectionNarrow:"_3_KYH",sectionBackground:"ZaWQK",sectionBackgroundImage:"_3LE0T",coverBackground:"_3tcxv",skewBackground:"avnZM",skewImage:"_1ssZM",coverImage:"_3Jm6O",right:"_2A5An",centerAlign:"JxWsx",rightAlign:"_3FzrC",valignWrapper:"_35KJG",bordered:"L7WSj",striped:"_2EaPr",highlight:"iNH4y",centered:"_3a7YG",container:"_1VXHa",row:"NZZLH",section:"vlbyd","no-pad":"_2dR_K","no-pad-bot":"_3r-Rj","no-pad-top":"_3kbRd",col:"_37Iod",s1:"_32fYg",s2:"_70z6W",s3:"_1L_QL",s4:"_2IAm3",s5:"_82MjH",s6:"QhvT_",s7:"x8B93",s8:"_1vnaJ",s9:"_1l_VL",s10:"_2W4R-",s11:"AhZmL",s12:"_1k_zJ","offset-s1":"M7iy8","pull-s1":"_1g0Qe","push-s1":"_1FR6U","offset-s2":"_3mEAJ","pull-s2":"Mt6z7","push-s2":"_2z09B","offset-s3":"_3B2az","pull-s3":"_2vjvE","push-s3":"_1UI1Q","offset-s4":"_2dJpd","pull-s4":"_174Qq","push-s4":"EoJn3","offset-s5":"_2MKj4","pull-s5":"_1xJmU","push-s5":"RQnZF","offset-s6":"Vnf76","pull-s6":"_1awSF","push-s6":"_34SCD","offset-s7":"_3j2gg","pull-s7":"_3ZbcM","push-s7":"_3H-23","offset-s8":"Cyfg2","pull-s8":"_33tSA","push-s8":"_2Scfm","offset-s9":"_3yp9E","pull-s9":"_3rcig","push-s9":"_2iEH0","offset-s10":"_1T6jP","pull-s10":"_2q-dB","push-s10":"_25jZO","offset-s11":"JRGyN","pull-s11":"_2yP5I","push-s11":"_1661e","offset-s12":"_2-h4J","pull-s12":"RhkAA","push-s12":"PDHnY",m1:"_3JqFA",m2:"ehXvF",m3:"_2pgt8",m4:"_3w0bH",m5:"Rxwfb",m6:"_33__b",m7:"s71NO",m8:"_3g3BZ",m9:"_3vGRJ",m10:"_1Ojgs",m11:"_2x8ex",m12:"_1A0qZ","offset-m1":"_1WBc5","pull-m1":"qJ-qO","push-m1":"_2Fk3o","offset-m2":"_2VPeQ","pull-m2":"_10tjs","push-m2":"_2JO1S","offset-m3":"VTAsA","pull-m3":"nDmca","push-m3":"_1W3DY","offset-m4":"_1e1sw","pull-m4":"_3-iFZ","push-m4":"_1A2ie","offset-m5":"_2dfsB","pull-m5":"_15Hpu","push-m5":"_38zMm","offset-m6":"hXg_v","pull-m6":"xZEJR","push-m6":"_303og","offset-m7":"_3jhIQ","pull-m7":"_34gJ4","push-m7":"_1-2Pa","offset-m8":"LZDcQ","pull-m8":"ZZU50","push-m8":"_2fa3b","offset-m9":"tsKFd","pull-m9":"ttj9Q","push-m9":"RPED0","offset-m10":"xf1LQ","pull-m10":"_1r8jX","push-m10":"_3g2Am","offset-m11":"_2LCj6","pull-m11":"_1COsK","push-m11":"_1rXB_","offset-m12":"_2PIkr","pull-m12":"_2xoCK","push-m12":"jb1b-",l1:"_3qXEt",l2:"XGFx_",l3:"_1cwgp",l4:"_3r1Te",l5:"_36Bmc",l6:"_2tm7r",l7:"_1TzDa",l8:"gKn0E",l9:"_1hwS2",l10:"_16xIZ",l11:"V6rzI",l12:"_3qOoF","offset-l1":"_2CZbj","pull-l1":"_2audE","push-l1":"_2XW11","offset-l2":"_1c7O_","pull-l2":"_3A9a0","push-l2":"_2klSk","offset-l3":"_1SKVU","pull-l3":"_1yCeB","push-l3":"Z_Bzg","offset-l4":"yJ_CB","pull-l4":"_22WHV","push-l4":"_3OjpZ","offset-l5":"_1QqEB","pull-l5":"dQmGE","push-l5":"qPozf","offset-l6":"_5rx8D","pull-l6":"_2KsJA","push-l6":"_1TqMF","offset-l7":"_3fRJ7","pull-l7":"_2gmUm","push-l7":"_2_5Tr","offset-l8":"_2wqI5","pull-l8":"_3aWPU","push-l8":"_1UYus","offset-l9":"_1jcoB","pull-l9":"_10g5x","push-l9":"t3zad","offset-l10":"_3tBu_","pull-l10":"AsFl0","push-l10":"_2b_4M","offset-l11":"FbDbn","pull-l11":"_1nfhW","push-l11":"ar7e9","offset-l12":"Lpqwk","pull-l12":"LHSpy","push-l12":"_1QdGu",meetingGoals:"_1j3v4",meetingGoalsTableContainer:"IvnM8",meetingGoalsTable:"_3c8W5",createMeetingButtonContainer:"_1CZR-",createMeetingButton:"xaWSs"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._2HQhz{list-style-type:none;padding-left:0}._3ltI6{display:inherit}@media only screen and (min-width:601px){._2HQhz{list-style-type:none}._3ltI6{display:inline;margin-right:1rem}}",""]),t.locals={list:"_2HQhz",liHorizontal:"_3ltI6"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,'.AlXS7{top:0;left:0;right:0;z-index:100;position:fixed}.XIu7d{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:64px;margin-left:-48px;margin-left:-3rem}.MVODy{height:18px}@media only screen and (min-width:601px){._29eB5{left:256px}._3rk64{right:320px}.XIu7d{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:64px}.MVODy{height:36px}}@media only screen and (max-width:600px){.MVODy{display:none}}._2UbDh,._2UUyU{text-align:center}._2gC_r{text-align:end}._3u-i1{position:absolute;bottom:-405px;left:55px;width:300px;background-color:#fff;padding:20px;box-sizing:border-box;border-radius:4px;box-shadow:5px 10px 18px #888;transition:.5s;-ms-transform:translateX(-15%) translateY(0);transform:translateX(-15%) translateY(0);animation-name:_2CDvO;animation-duration:.5s}@keyframes _2CDvO{0%{transform:translateX(-15%) translateY(-50px);opacity:0}to{transform:translateX(-15%) translateY(0);opacity:1}}._3u-i1:before{content:"";position:absolute;width:30px;height:30px;left:100px;top:-5px;background-color:#fff;bottom:0;-ms-transform:rotate(45deg);transform:rotate(45deg)}',""]),t.locals={nav:"AlXS7",logoContainer:"XIu7d",logo:"MVODy",leftOpen:"_29eB5",rightOpen:"_3rk64",icon:"_2UUyU",content:"_2UbDh",footer:"_2gC_r",tooltip:"_3u-i1",fadeDown:"_2CDvO"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._1r4IL{opacity:.6;font-size:.8em;text-align:center;padding:16px 0;padding:1rem 0}._1n2UP{width:14.4px;width:.9rem;height:14.4px;height:.9rem;margin:3.2px;margin:.2rem}",""]),t.locals={copyRight:"_1r4IL",icon:"_1n2UP"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._3P63T{border-bottom:1px solid #eee;display:-ms-flexbox;display:flex;background:#fff;position:relative;transition:all .3s ease;padding:12px 0 0 12px}._3P63T._2CfhB{background:#f5f5f5}._3P63T:hover{cursor:pointer;background:#eee}._24lTu{padding:0 12px 12px}.Qe_Gu{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:250px;font-weight:700}._1z8vF{font-size:.8em;color:#9e9e9e}._1JCh7{padding-top:12px;font-size:.9em}._1W5ct{height:12px;width:12px;border-radius:6px;background:#44cd67;position:absolute;right:12px;top:12px}",""]),t.locals={conversationRow:"_3P63T",highlighted:"_2CfhB",rightContent:"_24lTu",name:"Qe_Gu",time:"_1z8vF",content:"_1JCh7",badge:"_1W5ct"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,'._2gvhY{position:fixed;top:0;right:0;bottom:0;width:320px;background:#fff;filter:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur in="SourceAlpha" stdDeviation="3" /><feOffset dx="1" dy="1" result="offsetblur" /><feFlood flood-color="rgba(158,158,158,1)" /><feComposite in2="offsetblur" operator="in" /><feMerge><feMergeNode /><feMergeNode in="SourceGraphic" /></feMerge></filter></svg>#filter\');filter:drop-shadow(0 0 3px #9e9e9e);z-index:11}._3WcNz{height:100vh;overflow-y:auto}._3WcNz,.CV4MY{display:-ms-flexbox;display:flex}.CV4MY{height:64px;padding-left:16px;border-bottom:1px solid #e0e0e0;-ms-flex-align:center;align-items:center;position:fixed;top:0;right:0;width:320px;background:#fff;z-index:10;box-sizing:border-box}._24Pxc{-ms-flex:1 1 0%;flex:1 1 0%;margin-top:64px}.eONBM{font-size:1.2em;font-weight:700}._16ONM{position:absolute;right:8px;top:8px;border:none!important;background:transparent}._16ONM&:hover{background:#fafafa;color:inherit}',""]),t.locals={navRightContent:"_2gvhY",navRightContentContainer:"_3WcNz",topBar:"CV4MY",content:"_24Pxc",title:"eONBM",closeButton:"_16ONM"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._1YMjO{min-height:320px;margin-top:16px;margin-top:1rem;margin-bottom:32px;margin-bottom:2rem;position:relative;border-radius:5px;padding:0!important}._2OqUx{background-size:cover;background-repeat:no-repeat;background-position:50%;border-top-right-radius:5px;border-top-left-radius:5px;left:0}._1fzi9,._2OqUx{height:140px;position:absolute;top:0;right:0}._1fzi9{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;z-index:10;left:192px;color:#fff;padding:16px;padding:1rem;text-align:left}._1T2Qt{height:144px;width:144px;z-index:10;position:absolute;top:68px;left:32px;left:2rem}._1cC2Q{padding:164px 24px 24px 208px}._1cC2Q,.x3q75{text-align:left}.x3q75{margin-top:8px;margin-top:.5rem}._2X6tO{height:22.4px;height:1.4rem;margin:16px 16px 8px 0;margin:1rem 1rem .5rem 0}@media only screen and (max-width:601px){._1YMjO{min-height:0}._2OqUx{height:260px}._1T2Qt{height:40px;width:50%;top:16px;left:25%}._1fzi9{height:100px;top:160px;padding:1rem;left:0;text-align:center}.mcwDl{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-height:2rem;max-height:4rem}._1cC2Q{padding:280px 24px 24px;text-align:left}}",""]),t.locals={organisationCard:"_1YMjO",cover:"_2OqUx",titleContainer:"_1fzi9",logoContainer:"_1T2Qt",contentContainer:"_1cC2Q",linkContainer:"x3q75",socialIcon:"_2X6tO",title:"mcwDl"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._446UN{padding-left:20px;padding-right:20px}._1cey9{margin:0 auto;padding:0 0 40px;max-width:920px}",""]),t.locals={root:"_446UN",container:"_1cey9"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._3y-ow{padding-bottom:16px;padding-bottom:1rem}._2ctfr{display:block}._1Rk0Y>div>p:first-child{margin-top:0!important}._1Rk0Y>div>p:last-child{margin-bottom:0!important}",""]),t.locals={infoRow:"_3y-ow",infoRowTitle:"_2ctfr",infoRowContent:"_1Rk0Y"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Nunito:400,400i,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);",""]),t.push([e.i,'@font-face{font-family:Figtree}html{font-size:1em;font-weight:300}h1,h2,h3,h4,h5,h6,html{font-family:Figtree,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:.5px}a{text-decoration:none;color:#555}a:hover{color:#777}._3AafE{color:#e74c3c}.LGO-m{padding:16px 0;padding:1rem 0}._2rFP3,.LGO-m{position:relative}._2rFP3{padding-top:16px;padding-top:1rem;padding-bottom:16px;padding-bottom:1rem}@media screen and (max-width:601px){._2rFP3{padding-bottom:1rem}}._3FNSM{padding-bottom:64px;padding-bottom:4rem}._2gWVN{top:0;z-index:-1;overflow:hidden;position:absolute;-ms-transform-origin:0;transform-origin:0}._2gWVN,._3HQDh{width:100%;height:100%}._3HQDh{background-size:cover}._1riXX,.MwNqr{top:0;z-index:-1;width:100%;height:100%;overflow:hidden;position:absolute}._1riXX{-ms-transform-origin:0;transform-origin:0;//transform:skewY(-6deg)}._2w2sY{height:140%;//transform:skewY(6deg)}._2w2sY,._26GUj{width:100%;background-size:cover}._26GUj{height:100%}._3QJqT{float:right}._3fyTV{text-align:center}._2GBz4{text-align:right}._2_Lel{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}table{width:100%;display:table}table._1ZkTj>tbody>tr,table._1ZkTj>thead>tr{border-bottom:1px solid #d0d0d0}table._3g-6D>tbody>tr:nth-child(odd){background-color:#f2f2f2}table._3g-6D>tbody>tr>td{border-radius:0}table._1fOMV>tbody>tr{transition:background-color .25s ease}table._1fOMV>tbody>tr:hover{background-color:#f2f2f2}table._2Q_3w tbody tr td,table._2Q_3w thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}._1hWXV{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){._1hWXV{width:94%}}@media only screen and (min-width:993px){._1hWXV{width:86%}}._1hWXV ._2IViy{margin-left:-12px;margin-left:-.75rem;margin-right:-12px;margin-right:-.75rem}._3P4ta{position:relative;padding-top:48px;padding-top:3rem;padding-bottom:48px;padding-bottom:3rem}._3P4ta._1fITU{padding:0}._3P4ta.YpBaj{padding-bottom:0}._3P4ta._3rhoP{padding-top:0}._2IViy{margin-left:auto;margin-right:auto;margin-bottom:20px}._2IViy:after{content:"";display:table;clear:both}._2IViy ._3Acvd{float:left;box-sizing:border-box;padding:0 12px;padding:0 .75rem}._2IViy ._3Acvd[class*=pull-],._2IViy ._3Acvd[class*=push-]{position:relative}._2IViy ._3Acvd._1_xKY{width:8.33333%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._1Wmn4{width:16.66667%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd.rYKmJ{width:25%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._3oVAF{width:33.33333%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._1jvT1{width:41.66667%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._26ulE{width:50%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._2DifV{width:58.33333%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._3fl9W{width:66.66667%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._2ATpv{width:75%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._1LcFM{width:83.33333%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._2e0sw{width:91.66667%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._14UQP{width:100%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._3phaq{margin-left:8.33333%}._2IViy ._3Acvd._1SHZJ{right:8.33333%}._2IViy ._3Acvd._3BlAH{left:8.33333%}._2IViy ._3Acvd._2T7nX{margin-left:16.66667%}._2IViy ._3Acvd.Xq1fh{right:16.66667%}._2IViy ._3Acvd._1crRN{left:16.66667%}._2IViy ._3Acvd._1Ki5b{margin-left:25%}._2IViy ._3Acvd._3A85b{right:25%}._2IViy ._3Acvd._3Z61I{left:25%}._2IViy ._3Acvd.kQ1Fg{margin-left:33.33333%}._2IViy ._3Acvd._1G2KX{right:33.33333%}._2IViy ._3Acvd._2iuhh{left:33.33333%}._2IViy ._3Acvd.XbGot{margin-left:41.66667%}._2IViy ._3Acvd._1dYUg{right:41.66667%}._2IViy ._3Acvd._22EAy{left:41.66667%}._2IViy ._3Acvd.kVCYL{margin-left:50%}._2IViy ._3Acvd._3fvaJ{right:50%}._2IViy ._3Acvd.mKKhv{left:50%}._2IViy ._3Acvd._2q4_D{margin-left:58.33333%}._2IViy ._3Acvd._3kX3H{right:58.33333%}._2IViy ._3Acvd._1eSXi{left:58.33333%}._2IViy ._3Acvd.xAM4o{margin-left:66.66667%}._2IViy ._3Acvd.EHJ6y{right:66.66667%}._2IViy ._3Acvd._2aXdx{left:66.66667%}._2IViy ._3Acvd.nDKpd{margin-left:75%}._2IViy ._3Acvd._3UsLa{right:75%}._2IViy ._3Acvd._1k6tl{left:75%}._2IViy ._3Acvd._37Ukm{margin-left:83.33333%}._2IViy ._3Acvd._1_Mty{right:83.33333%}._2IViy ._3Acvd._3b0Ma{left:83.33333%}._2IViy ._3Acvd._1rdDw{margin-left:91.66667%}._2IViy ._3Acvd._3J-z7{right:91.66667%}._2IViy ._3Acvd.zpns5{left:91.66667%}._2IViy ._3Acvd._3ioqY{margin-left:100%}._2IViy ._3Acvd._2wRUs{right:100%}._2IViy ._3Acvd._1QfaI{left:100%}@media only screen and (min-width:601px){._2IViy ._3Acvd._4Y4mu{width:8.33333%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._1LdMT{width:16.66667%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._2k_ZD{width:25%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._2Qsyv{width:33.33333%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd.oQozn{width:41.66667%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._33NV-{width:50%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._13NWU{width:58.33333%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._1hO8i{width:66.66667%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._3K9hW{width:75%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd.LiytZ{width:83.33333%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._1efu0{width:91.66667%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd.Dc2Pb{width:100%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._1pYdl{margin-left:8.33333%}._2IViy ._3Acvd._1Bw3Y{right:8.33333%}._2IViy ._3Acvd._1gDxg{left:8.33333%}._2IViy ._3Acvd._36tYC{margin-left:16.66667%}._2IViy ._3Acvd.zQUDX{right:16.66667%}._2IViy ._3Acvd._2T0mB{left:16.66667%}._2IViy ._3Acvd._2zgpI{margin-left:25%}._2IViy ._3Acvd._3LRDP{right:25%}._2IViy ._3Acvd.a5BOj{left:25%}._2IViy ._3Acvd._2S22C{margin-left:33.33333%}._2IViy ._3Acvd.nUySS{right:33.33333%}._2IViy ._3Acvd.No62t{left:33.33333%}._2IViy ._3Acvd.uBhX6{margin-left:41.66667%}._2IViy ._3Acvd._36Vyg{right:41.66667%}._2IViy ._3Acvd._2w1xF{left:41.66667%}._2IViy ._3Acvd._3I0FQ{margin-left:50%}._2IViy ._3Acvd._242-k{right:50%}._2IViy ._3Acvd.iIs7E{left:50%}._2IViy ._3Acvd._2M3YU{margin-left:58.33333%}._2IViy ._3Acvd._2bBWl{right:58.33333%}._2IViy ._3Acvd._1bYNv{left:58.33333%}._2IViy ._3Acvd._36qcn{margin-left:66.66667%}._2IViy ._3Acvd.Agku6{right:66.66667%}._2IViy ._3Acvd._1ELVi{left:66.66667%}._2IViy ._3Acvd._3b-2E{margin-left:75%}._2IViy ._3Acvd._3Yq3J{right:75%}._2IViy ._3Acvd.dhsML{left:75%}._2IViy ._3Acvd._1BCJA{margin-left:83.33333%}._2IViy ._3Acvd.J2u31{right:83.33333%}._2IViy ._3Acvd._3P6sA{left:83.33333%}._2IViy ._3Acvd._1theK{margin-left:91.66667%}._2IViy ._3Acvd._1AtZM{right:91.66667%}._2IViy ._3Acvd._3wSJb{left:91.66667%}._2IViy ._3Acvd._1oPIn{margin-left:100%}._2IViy ._3Acvd.c2nWf{right:100%}._2IViy ._3Acvd._2FI7f{left:100%}}@media only screen and (min-width:993px){._2IViy ._3Acvd._2juKd{width:8.33333%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd.CtCG9{width:16.66667%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._37I_m{width:25%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._2LMHF{width:33.33333%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd.JxtLt{width:41.66667%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._32utE{width:50%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._1SiKR{width:58.33333%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd.QqeW1{width:66.66667%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._3kP74{width:75%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._2qeMp{width:83.33333%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._2YLk6{width:91.66667%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd._1EK6-{width:100%;margin-left:auto;left:auto;right:auto}._2IViy ._3Acvd.Kn5sr{margin-left:8.33333%}._2IViy ._3Acvd.fFkSX{right:8.33333%}._2IViy ._3Acvd._6laod{left:8.33333%}._2IViy ._3Acvd._1pANa{margin-left:16.66667%}._2IViy ._3Acvd._2Ma0M{right:16.66667%}._2IViy ._3Acvd._2qx5U{left:16.66667%}._2IViy ._3Acvd._2guHv{margin-left:25%}._2IViy ._3Acvd._381wL{right:25%}._2IViy ._3Acvd._1NIZA{left:25%}._2IViy ._3Acvd._3uVwj{margin-left:33.33333%}._2IViy ._3Acvd._3Ao1F{right:33.33333%}._2IViy ._3Acvd._2TEwn{left:33.33333%}._2IViy ._3Acvd._1PsLT{margin-left:41.66667%}._2IViy ._3Acvd._3O46s{right:41.66667%}._2IViy ._3Acvd._1BkLL{left:41.66667%}._2IViy ._3Acvd._3wyds{margin-left:50%}._2IViy ._3Acvd.Y69RJ{right:50%}._2IViy ._3Acvd._3Zae2{left:50%}._2IViy ._3Acvd._2-_lv{margin-left:58.33333%}._2IViy ._3Acvd._3Sm06{right:58.33333%}._2IViy ._3Acvd._2kp8E{left:58.33333%}._2IViy ._3Acvd._3tXOt{margin-left:66.66667%}._2IViy ._3Acvd._3VjXp{right:66.66667%}._2IViy ._3Acvd._2Z90r{left:66.66667%}._2IViy ._3Acvd._2XfV4{margin-left:75%}._2IViy ._3Acvd._1t7XO{right:75%}._2IViy ._3Acvd._2uOKU{left:75%}._2IViy ._3Acvd._170H4{margin-left:83.33333%}._2IViy ._3Acvd.PjN1s{right:83.33333%}._2IViy ._3Acvd._1e1yr{left:83.33333%}._2IViy ._3Acvd.fI8Qh{margin-left:91.66667%}._2IViy ._3Acvd.Itwzb{right:91.66667%}._2IViy ._3Acvd._1qj0H{left:91.66667%}._2IViy ._3Acvd.i_MSb{margin-left:100%}._2IViy ._3Acvd._2gXW7{right:100%}._2IViy ._3Acvd.j30tt{left:100%}}',""]),t.locals={error:"_3AafE",coverSection:"LGO-m",skewedSection:"_2rFP3",skewedSectionNarrow:"_3FNSM",sectionBackground:"_2gWVN",sectionBackgroundImage:"_3HQDh",coverBackground:"MwNqr",skewBackground:"_1riXX",skewImage:"_2w2sY",coverImage:"_26GUj",right:"_3QJqT",centerAlign:"_3fyTV",rightAlign:"_2GBz4",valignWrapper:"_2_Lel",bordered:"_1ZkTj",striped:"_3g-6D",highlight:"_1fOMV",centered:"_2Q_3w",container:"_1hWXV",row:"_2IViy",section:"_3P4ta","no-pad":"_1fITU","no-pad-bot":"YpBaj","no-pad-top":"_3rhoP",col:"_3Acvd",s1:"_1_xKY",s2:"_1Wmn4",s3:"rYKmJ",s4:"_3oVAF",s5:"_1jvT1",s6:"_26ulE",s7:"_2DifV",s8:"_3fl9W",s9:"_2ATpv",s10:"_1LcFM",s11:"_2e0sw",s12:"_14UQP","offset-s1":"_3phaq","pull-s1":"_1SHZJ","push-s1":"_3BlAH","offset-s2":"_2T7nX","pull-s2":"Xq1fh","push-s2":"_1crRN","offset-s3":"_1Ki5b","pull-s3":"_3A85b","push-s3":"_3Z61I","offset-s4":"kQ1Fg","pull-s4":"_1G2KX","push-s4":"_2iuhh","offset-s5":"XbGot","pull-s5":"_1dYUg","push-s5":"_22EAy","offset-s6":"kVCYL","pull-s6":"_3fvaJ","push-s6":"mKKhv","offset-s7":"_2q4_D","pull-s7":"_3kX3H","push-s7":"_1eSXi","offset-s8":"xAM4o","pull-s8":"EHJ6y","push-s8":"_2aXdx","offset-s9":"nDKpd","pull-s9":"_3UsLa","push-s9":"_1k6tl","offset-s10":"_37Ukm","pull-s10":"_1_Mty","push-s10":"_3b0Ma","offset-s11":"_1rdDw","pull-s11":"_3J-z7","push-s11":"zpns5","offset-s12":"_3ioqY","pull-s12":"_2wRUs","push-s12":"_1QfaI",m1:"_4Y4mu",m2:"_1LdMT",m3:"_2k_ZD",m4:"_2Qsyv",m5:"oQozn",m6:"_33NV-",m7:"_13NWU",m8:"_1hO8i",m9:"_3K9hW",m10:"LiytZ",m11:"_1efu0",m12:"Dc2Pb","offset-m1":"_1pYdl","pull-m1":"_1Bw3Y","push-m1":"_1gDxg","offset-m2":"_36tYC","pull-m2":"zQUDX","push-m2":"_2T0mB","offset-m3":"_2zgpI","pull-m3":"_3LRDP","push-m3":"a5BOj","offset-m4":"_2S22C","pull-m4":"nUySS","push-m4":"No62t","offset-m5":"uBhX6","pull-m5":"_36Vyg","push-m5":"_2w1xF","offset-m6":"_3I0FQ","pull-m6":"_242-k","push-m6":"iIs7E","offset-m7":"_2M3YU","pull-m7":"_2bBWl","push-m7":"_1bYNv","offset-m8":"_36qcn","pull-m8":"Agku6","push-m8":"_1ELVi","offset-m9":"_3b-2E","pull-m9":"_3Yq3J","push-m9":"dhsML","offset-m10":"_1BCJA","pull-m10":"J2u31","push-m10":"_3P6sA","offset-m11":"_1theK","pull-m11":"_1AtZM","push-m11":"_3wSJb","offset-m12":"_1oPIn","pull-m12":"c2nWf","push-m12":"_2FI7f",l1:"_2juKd",l2:"CtCG9",l3:"_37I_m",l4:"_2LMHF",l5:"JxtLt",l6:"_32utE",l7:"_1SiKR",l8:"QqeW1",l9:"_3kP74",l10:"_2qeMp",l11:"_2YLk6",l12:"_1EK6-","offset-l1":"Kn5sr","pull-l1":"fFkSX","push-l1":"_6laod","offset-l2":"_1pANa","pull-l2":"_2Ma0M","push-l2":"_2qx5U","offset-l3":"_2guHv","pull-l3":"_381wL","push-l3":"_1NIZA","offset-l4":"_3uVwj","pull-l4":"_3Ao1F","push-l4":"_2TEwn","offset-l5":"_1PsLT","pull-l5":"_3O46s","push-l5":"_1BkLL","offset-l6":"_3wyds","pull-l6":"Y69RJ","push-l6":"_3Zae2","offset-l7":"_2-_lv","pull-l7":"_3Sm06","push-l7":"_2kp8E","offset-l8":"_3tXOt","pull-l8":"_3VjXp","push-l8":"_2Z90r","offset-l9":"_2XfV4","pull-l9":"_1t7XO","push-l9":"_2uOKU","offset-l10":"_170H4","pull-l10":"PjN1s","push-l10":"_1e1yr","offset-l11":"fI8Qh","pull-l11":"Itwzb","push-l11":"_1qj0H","offset-l12":"i_MSb","pull-l12":"_2gXW7","push-l12":"j30tt"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._3KF_G{position:fixed;z-index:10;background:#000;width:0;height:0;overflow:hidden}.h6_LX{background:#212121;color:#e0e0e0;text-align:center;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding:16px;padding:1rem;-ms-flex-direction:column;flex-direction:column}.TQ97w{margin-bottom:32px;margin-bottom:2rem}._1hA5Q{top:80px;right:16px;border-radius:5px;width:480px;height:360px}._1hA5Q._3eCtD{right:336px}._2CUNu{height:64px;width:320px;bottom:16px;top:auto}.NpO7m{top:0;right:0;left:0;bottom:0;width:100vw;height:100vh;border-radius:0;z-index:100000000}._2CUNu ._2DeiU{background:#000}._2DeiU{position:absolute;bottom:0;left:0;right:0;background:rgba(0,0,0,.6);text-align:center;padding:8px;padding:.5rem;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}",""]),t.locals={container:"_3KF_G",messageContainer:"h6_LX",message:"TQ97w",onScreen:"_1hA5Q",pushedFromRight:"_3eCtD",minimized:"_2CUNu",fullScreen:"NpO7m",controls:"_2DeiU"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._1XBAM{padding-bottom:32px;padding-bottom:2rem}._3n2TT{z-index:1;color:#fff;padding:32px;padding:2rem;position:relative;background:#3188c0;font-weight:lighter}._2OgTt{margin-top:16px;margin-top:1rem;border-radius:6px;background-color:#fff;padding:16px;padding:1rem}._2OCZ7{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-pack:justify;justify-content:space-between}",""]),t.locals={pageContainer:"_1XBAM",header:"_3n2TT",card:"_2OgTt",cardHeader:"_2OCZ7"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._3K8-Q{background:#fff;padding:16px;padding:1rem}._3K8-Q,._3YQMf{display:-ms-flexbox;display:flex}._3YQMf{-ms-flex-align:center;align-items:center;cursor:pointer;padding-right:32px;padding-right:2rem}._3YQMf:last-child{padding-right:0}.j3cfi{height:24px;width:24px;margin-right:8px;margin-right:.5rem}@media screen and (max-width:599px){._3K8-Q{padding:.5rem;-ms-flex-pack:justify;justify-content:space-between}._3YQMf{-ms-flex-direction:column;flex-direction:column;font-size:.8em;text-align:center;padding-right:.5rem}}",""]),t.locals={communicationActionsContainer:"_3K8-Q",actionButton:"_3YQMf",whatsAppLogo:"j3cfi"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Nunito:400,400i,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);",""]),t.push([e.i,'@font-face{font-family:Figtree}html{font-size:1em;font-weight:300}h1,h2,h3,h4,h5,h6,html{font-family:Figtree,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:.5px}a{text-decoration:none;color:#555}a:hover{color:#777}._1Hsx9{color:#e74c3c}._2_JOd{padding:16px 0;padding:1rem 0}._2_JOd,._2M9jj{position:relative}._2M9jj{padding-top:16px;padding-top:1rem;padding-bottom:16px;padding-bottom:1rem}@media screen and (max-width:601px){._2M9jj{padding-bottom:1rem}}._1Vfr7{padding-bottom:64px;padding-bottom:4rem}._2TWfd{top:0;z-index:-1;overflow:hidden;position:absolute;-ms-transform-origin:0;transform-origin:0}._2Qo0j,._2TWfd{width:100%;height:100%}._2Qo0j{background-size:cover}._1v4nz,.SIKKj{top:0;z-index:-1;width:100%;height:100%;overflow:hidden;position:absolute}.SIKKj{-ms-transform-origin:0;transform-origin:0;//transform:skewY(-6deg)}._6rF1u{height:140%;//transform:skewY(6deg)}._5SvK5,._6rF1u{width:100%;background-size:cover}._5SvK5{height:100%}._3Bq9F{float:right}.HHlF4{text-align:center}.ZOYlD{text-align:right}.Ln8cU{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}table{width:100%;display:table}table.ZVs4O>tbody>tr,table.ZVs4O>thead>tr{border-bottom:1px solid #d0d0d0}table.HEU1k>tbody>tr:nth-child(odd){background-color:#f2f2f2}table.HEU1k>tbody>tr>td{border-radius:0}table._2SzRY>tbody>tr{transition:background-color .25s ease}table._2SzRY>tbody>tr:hover{background-color:#f2f2f2}table._2cOzE tbody tr td,table._2cOzE thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}._3vSy4{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){._3vSy4{width:94%}}@media only screen and (min-width:993px){._3vSy4{width:86%}}._3vSy4 .sCFdP{margin-left:-12px;margin-left:-.75rem;margin-right:-12px;margin-right:-.75rem}._3-DLh{position:relative;padding-top:48px;padding-top:3rem;padding-bottom:48px;padding-bottom:3rem}._3-DLh._3OsAc{padding:0}._3-DLh.cLaEv{padding-bottom:0}._3-DLh._3SmkP{padding-top:0}.sCFdP{margin-left:auto;margin-right:auto;margin-bottom:20px}.sCFdP:after{content:"";display:table;clear:both}.sCFdP ._3QFfA{float:left;box-sizing:border-box;padding:0 12px;padding:0 .75rem}.sCFdP ._3QFfA[class*=pull-],.sCFdP ._3QFfA[class*=push-]{position:relative}.sCFdP ._3QFfA._30XIh{width:8.33333%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA.ew3gx{width:16.66667%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._2jaCi{width:25%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._1d864{width:33.33333%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._2UoZy{width:41.66667%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._37ioC{width:50%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA.y5vJ0{width:58.33333%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._1FmFv{width:66.66667%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._2quqm{width:75%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._3i53f{width:83.33333%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._2ahN5{width:91.66667%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._3h2AU{width:100%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._1cAMy{margin-left:8.33333%}.sCFdP ._3QFfA._3IUEC{right:8.33333%}.sCFdP ._3QFfA._2Fm96{left:8.33333%}.sCFdP ._3QFfA.BX74s{margin-left:16.66667%}.sCFdP ._3QFfA._1887S{right:16.66667%}.sCFdP ._3QFfA.WcVPp{left:16.66667%}.sCFdP ._3QFfA._1g8bH{margin-left:25%}.sCFdP ._3QFfA._3sWh8{right:25%}.sCFdP ._3QFfA._1Wf3F{left:25%}.sCFdP ._3QFfA._39uQu{margin-left:33.33333%}.sCFdP ._3QFfA.g_900{right:33.33333%}.sCFdP ._3QFfA._2pNEQ{left:33.33333%}.sCFdP ._3QFfA._1Ne92{margin-left:41.66667%}.sCFdP ._3QFfA.X3sB8{right:41.66667%}.sCFdP ._3QFfA._3dcrl{left:41.66667%}.sCFdP ._3QFfA._1Kt2A{margin-left:50%}.sCFdP ._3QFfA._3MOQ6{right:50%}.sCFdP ._3QFfA._3fSiA{left:50%}.sCFdP ._3QFfA._3lPFx{margin-left:58.33333%}.sCFdP ._3QFfA.FmnyS{right:58.33333%}.sCFdP ._3QFfA._2Pm7z{left:58.33333%}.sCFdP ._3QFfA._10bfM{margin-left:66.66667%}.sCFdP ._3QFfA._1PtNi{right:66.66667%}.sCFdP ._3QFfA._1fk23{left:66.66667%}.sCFdP ._3QFfA._2TQ2r{margin-left:75%}.sCFdP ._3QFfA._1EAe7{right:75%}.sCFdP ._3QFfA.-Itz5{left:75%}.sCFdP ._3QFfA._1YNC1{margin-left:83.33333%}.sCFdP ._3QFfA._1XgC8{right:83.33333%}.sCFdP ._3QFfA._2Tqs_{left:83.33333%}.sCFdP ._3QFfA._2--Ru{margin-left:91.66667%}.sCFdP ._3QFfA.SRAGw{right:91.66667%}.sCFdP ._3QFfA._39lHk{left:91.66667%}.sCFdP ._3QFfA._170q3{margin-left:100%}.sCFdP ._3QFfA._27yNT{right:100%}.sCFdP ._3QFfA._1WAj1{left:100%}@media only screen and (min-width:601px){.sCFdP ._3QFfA._1spkM{width:8.33333%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._1239c{width:16.66667%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._2TbI0{width:25%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._2UZYE{width:33.33333%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA.hZ6Ut{width:41.66667%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._3at-s{width:50%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._2mAgp{width:58.33333%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._2cGVu{width:66.66667%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._2GK_E{width:75%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._3aavf{width:83.33333%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA.U1QbS{width:91.66667%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA.A9n32{width:100%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._28j9Z{margin-left:8.33333%}.sCFdP ._3QFfA.w6Kc_{right:8.33333%}.sCFdP ._3QFfA._1cBag{left:8.33333%}.sCFdP ._3QFfA._3DYGP{margin-left:16.66667%}.sCFdP ._3QFfA._2_PqT{right:16.66667%}.sCFdP ._3QFfA._2EhR4{left:16.66667%}.sCFdP ._3QFfA._3YMdM{margin-left:25%}.sCFdP ._3QFfA._4r8SL{right:25%}.sCFdP ._3QFfA._38qe4{left:25%}.sCFdP ._3QFfA._3_e8c{margin-left:33.33333%}.sCFdP ._3QFfA.R8y3J{right:33.33333%}.sCFdP ._3QFfA.xBFst{left:33.33333%}.sCFdP ._3QFfA._1jbVG{margin-left:41.66667%}.sCFdP ._3QFfA._27JvU{right:41.66667%}.sCFdP ._3QFfA._2ncRW{left:41.66667%}.sCFdP ._3QFfA._2vF4d{margin-left:50%}.sCFdP ._3QFfA._1sNfN{right:50%}.sCFdP ._3QFfA._3RunW{left:50%}.sCFdP ._3QFfA._3-c8z{margin-left:58.33333%}.sCFdP ._3QFfA._2rDga{right:58.33333%}.sCFdP ._3QFfA._1LAOj{left:58.33333%}.sCFdP ._3QFfA._2LLU7{margin-left:66.66667%}.sCFdP ._3QFfA._15foQ{right:66.66667%}.sCFdP ._3QFfA.-pO1I{left:66.66667%}.sCFdP ._3QFfA._2RWOT{margin-left:75%}.sCFdP ._3QFfA.lAhuE{right:75%}.sCFdP ._3QFfA.lvz3E{left:75%}.sCFdP ._3QFfA.fiTAo{margin-left:83.33333%}.sCFdP ._3QFfA._1_cqh{right:83.33333%}.sCFdP ._3QFfA.PNw1u{left:83.33333%}.sCFdP ._3QFfA._2E9dn{margin-left:91.66667%}.sCFdP ._3QFfA._10Ae2{right:91.66667%}.sCFdP ._3QFfA.m699n{left:91.66667%}.sCFdP ._3QFfA.v63tR{margin-left:100%}.sCFdP ._3QFfA._1vLaB{right:100%}.sCFdP ._3QFfA._1OhgY{left:100%}}@media only screen and (min-width:993px){.sCFdP ._3QFfA._2mgb5{width:8.33333%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._1RIRe{width:16.66667%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA.CHRSs{width:25%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._3xsdH{width:33.33333%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._3wR3S{width:41.66667%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA.pZ2p2{width:50%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._2_sd-{width:58.33333%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA.ReUw0{width:66.66667%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._1AHnv{width:75%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._29JaY{width:83.33333%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._2Uyod{width:91.66667%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._3PJSd{width:100%;margin-left:auto;left:auto;right:auto}.sCFdP ._3QFfA._3G3OV{margin-left:8.33333%}.sCFdP ._3QFfA._1n-Ht{right:8.33333%}.sCFdP ._3QFfA._1oC_1{left:8.33333%}.sCFdP ._3QFfA._2J60i{margin-left:16.66667%}.sCFdP ._3QFfA._1W2AE{right:16.66667%}.sCFdP ._3QFfA.tenWs{left:16.66667%}.sCFdP ._3QFfA._3YgfS{margin-left:25%}.sCFdP ._3QFfA._14yyq{right:25%}.sCFdP ._3QFfA._2HF0Z{left:25%}.sCFdP ._3QFfA._2d0tE{margin-left:33.33333%}.sCFdP ._3QFfA._1zQO9{right:33.33333%}.sCFdP ._3QFfA._1Nfu9{left:33.33333%}.sCFdP ._3QFfA._3_m2Z{margin-left:41.66667%}.sCFdP ._3QFfA._2gr-a{right:41.66667%}.sCFdP ._3QFfA._3tI9u{left:41.66667%}.sCFdP ._3QFfA._3caYA{margin-left:50%}.sCFdP ._3QFfA._2b16C{right:50%}.sCFdP ._3QFfA._17NAb{left:50%}.sCFdP ._3QFfA._3clTf{margin-left:58.33333%}.sCFdP ._3QFfA._3lEn9{right:58.33333%}.sCFdP ._3QFfA._3civb{left:58.33333%}.sCFdP ._3QFfA._23WII{margin-left:66.66667%}.sCFdP ._3QFfA._3k7KG{right:66.66667%}.sCFdP ._3QFfA._3Zru7{left:66.66667%}.sCFdP ._3QFfA.IirNx{margin-left:75%}.sCFdP ._3QFfA._3lbG8{right:75%}.sCFdP ._3QFfA._1tVgc{left:75%}.sCFdP ._3QFfA.TzZU_{margin-left:83.33333%}.sCFdP ._3QFfA._2aQfH{right:83.33333%}.sCFdP ._3QFfA._1z27O{left:83.33333%}.sCFdP ._3QFfA._25XP0{margin-left:91.66667%}.sCFdP ._3QFfA._2AvCO{right:91.66667%}.sCFdP ._3QFfA._3O2Mb{left:91.66667%}.sCFdP ._3QFfA.WflGx{margin-left:100%}.sCFdP ._3QFfA.Vgs4F{right:100%}.sCFdP ._3QFfA.BIZIW{left:100%}}iframe,img{max-width:100%}',""]),t.locals={error:"_1Hsx9",coverSection:"_2_JOd",skewedSection:"_2M9jj",skewedSectionNarrow:"_1Vfr7",sectionBackground:"_2TWfd",sectionBackgroundImage:"_2Qo0j",coverBackground:"_1v4nz",skewBackground:"SIKKj",skewImage:"_6rF1u",coverImage:"_5SvK5",right:"_3Bq9F",centerAlign:"HHlF4",rightAlign:"ZOYlD",valignWrapper:"Ln8cU",bordered:"ZVs4O",striped:"HEU1k",highlight:"_2SzRY",centered:"_2cOzE",container:"_3vSy4",row:"sCFdP",section:"_3-DLh","no-pad":"_3OsAc","no-pad-bot":"cLaEv","no-pad-top":"_3SmkP",col:"_3QFfA",s1:"_30XIh",s2:"ew3gx",s3:"_2jaCi",s4:"_1d864",s5:"_2UoZy",s6:"_37ioC",s7:"y5vJ0",s8:"_1FmFv",s9:"_2quqm",s10:"_3i53f",s11:"_2ahN5",s12:"_3h2AU","offset-s1":"_1cAMy","pull-s1":"_3IUEC","push-s1":"_2Fm96","offset-s2":"BX74s","pull-s2":"_1887S","push-s2":"WcVPp","offset-s3":"_1g8bH","pull-s3":"_3sWh8","push-s3":"_1Wf3F","offset-s4":"_39uQu","pull-s4":"g_900","push-s4":"_2pNEQ","offset-s5":"_1Ne92","pull-s5":"X3sB8","push-s5":"_3dcrl","offset-s6":"_1Kt2A","pull-s6":"_3MOQ6","push-s6":"_3fSiA","offset-s7":"_3lPFx","pull-s7":"FmnyS","push-s7":"_2Pm7z","offset-s8":"_10bfM","pull-s8":"_1PtNi","push-s8":"_1fk23","offset-s9":"_2TQ2r","pull-s9":"_1EAe7","push-s9":"-Itz5","offset-s10":"_1YNC1","pull-s10":"_1XgC8","push-s10":"_2Tqs_","offset-s11":"_2--Ru","pull-s11":"SRAGw","push-s11":"_39lHk","offset-s12":"_170q3","pull-s12":"_27yNT","push-s12":"_1WAj1",m1:"_1spkM",m2:"_1239c",m3:"_2TbI0",m4:"_2UZYE",m5:"hZ6Ut",m6:"_3at-s",m7:"_2mAgp",m8:"_2cGVu",m9:"_2GK_E",m10:"_3aavf",m11:"U1QbS",m12:"A9n32","offset-m1":"_28j9Z","pull-m1":"w6Kc_","push-m1":"_1cBag","offset-m2":"_3DYGP","pull-m2":"_2_PqT","push-m2":"_2EhR4","offset-m3":"_3YMdM","pull-m3":"_4r8SL","push-m3":"_38qe4","offset-m4":"_3_e8c","pull-m4":"R8y3J","push-m4":"xBFst","offset-m5":"_1jbVG","pull-m5":"_27JvU","push-m5":"_2ncRW","offset-m6":"_2vF4d","pull-m6":"_1sNfN","push-m6":"_3RunW","offset-m7":"_3-c8z","pull-m7":"_2rDga","push-m7":"_1LAOj","offset-m8":"_2LLU7","pull-m8":"_15foQ","push-m8":"-pO1I","offset-m9":"_2RWOT","pull-m9":"lAhuE","push-m9":"lvz3E","offset-m10":"fiTAo","pull-m10":"_1_cqh","push-m10":"PNw1u","offset-m11":"_2E9dn","pull-m11":"_10Ae2","push-m11":"m699n","offset-m12":"v63tR","pull-m12":"_1vLaB","push-m12":"_1OhgY",l1:"_2mgb5",l2:"_1RIRe",l3:"CHRSs",l4:"_3xsdH",l5:"_3wR3S",l6:"pZ2p2",l7:"_2_sd-",l8:"ReUw0",l9:"_1AHnv",l10:"_29JaY",l11:"_2Uyod",l12:"_3PJSd","offset-l1":"_3G3OV","pull-l1":"_1n-Ht","push-l1":"_1oC_1","offset-l2":"_2J60i","pull-l2":"_1W2AE","push-l2":"tenWs","offset-l3":"_3YgfS","pull-l3":"_14yyq","push-l3":"_2HF0Z","offset-l4":"_2d0tE","pull-l4":"_1zQO9","push-l4":"_1Nfu9","offset-l5":"_3_m2Z","pull-l5":"_2gr-a","push-l5":"_3tI9u","offset-l6":"_3caYA","pull-l6":"_2b16C","push-l6":"_17NAb","offset-l7":"_3clTf","pull-l7":"_3lEn9","push-l7":"_3civb","offset-l8":"_23WII","pull-l8":"_3k7KG","push-l8":"_3Zru7","offset-l9":"IirNx","pull-l9":"_3lbG8","push-l9":"_1tVgc","offset-l10":"TzZU_","pull-l10":"_2aQfH","push-l10":"_1z27O","offset-l11":"_25XP0","pull-l11":"_2AvCO","push-l11":"_3O2Mb","offset-l12":"WflGx","pull-l12":"Vgs4F","push-l12":"BIZIW"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Nunito:400,400i,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);",""]),t.push([e.i,'@font-face{font-family:Figtree}html{font-size:1em;font-weight:300}h1,h2,h3,h4,h5,h6,html{font-family:Figtree,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:.5px}a{text-decoration:none;color:#555}a:hover{color:#777}._2FU-P{color:#e74c3c}._1uIlo{padding:16px 0;padding:1rem 0}._1uIlo,._34cHT{position:relative}._34cHT{padding-top:16px;padding-top:1rem;padding-bottom:16px;padding-bottom:1rem}@media screen and (max-width:601px){._34cHT{padding-bottom:1rem}}._1z-NZ{padding-bottom:64px;padding-bottom:4rem}.oZI2W{top:0;z-index:-1;overflow:hidden;position:absolute;-ms-transform-origin:0;transform-origin:0}._3idlL,.oZI2W{width:100%;height:100%}._3idlL{background-size:cover}._2o_tQ,._302tL{top:0;z-index:-1;width:100%;height:100%;overflow:hidden;position:absolute}._302tL{-ms-transform-origin:0;transform-origin:0;//transform:skewY(-6deg)}._157GT{height:140%;//transform:skewY(6deg)}._11MEX,._157GT{width:100%;background-size:cover}._11MEX{height:100%}.s2FAN{float:right}._1X-uO{text-align:center}._3HiTQ{text-align:right}._3w-Hq{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}table{width:100%;display:table}table.dFkMr>tbody>tr,table.dFkMr>thead>tr{border-bottom:1px solid #d0d0d0}table._1AF4O>tbody>tr:nth-child(odd){background-color:#f2f2f2}table._1AF4O>tbody>tr>td{border-radius:0}table.AbnFp>tbody>tr{transition:background-color .25s ease}table.AbnFp>tbody>tr:hover{background-color:#f2f2f2}table._1kVe7 tbody tr td,table._1kVe7 thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}._1Mw2Y{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){._1Mw2Y{width:94%}}@media only screen and (min-width:993px){._1Mw2Y{width:86%}}._1Mw2Y ._1IcyW{margin-left:-12px;margin-left:-.75rem;margin-right:-12px;margin-right:-.75rem}._1zIY1{position:relative;padding-top:48px;padding-top:3rem;padding-bottom:48px;padding-bottom:3rem}._1zIY1.GJ979{padding:0}._1zIY1._31Yqt{padding-bottom:0}._1zIY1._3ByUg{padding-top:0}._1IcyW{margin-left:auto;margin-right:auto;margin-bottom:20px}._1IcyW:after{content:"";display:table;clear:both}._1IcyW ._3PV0e{float:left;box-sizing:border-box;padding:0 12px;padding:0 .75rem}._1IcyW ._3PV0e[class*=pull-],._1IcyW ._3PV0e[class*=push-]{position:relative}._1IcyW ._3PV0e._2Qv5F{width:8.33333%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._3ca9j{width:16.66667%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._3ktrl{width:25%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._2Fnqt{width:33.33333%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._3RfHB{width:41.66667%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._3b27o{width:50%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._15Ak9{width:58.33333%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e.zgK-y{width:66.66667%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e.UwRJ6{width:75%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e.L-Nkr{width:83.33333%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e.DXPgq{width:91.66667%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._3frsg{width:100%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._2iMoi{margin-left:8.33333%}._1IcyW ._3PV0e._1as_t{right:8.33333%}._1IcyW ._3PV0e._1iQxC{left:8.33333%}._1IcyW ._3PV0e.pdFzu{margin-left:16.66667%}._1IcyW ._3PV0e.uS-33{right:16.66667%}._1IcyW ._3PV0e.Tkp-z{left:16.66667%}._1IcyW ._3PV0e._2H1mm{margin-left:25%}._1IcyW ._3PV0e._2REw0{right:25%}._1IcyW ._3PV0e.dGeSY{left:25%}._1IcyW ._3PV0e._3W3hO{margin-left:33.33333%}._1IcyW ._3PV0e.NTjGH{right:33.33333%}._1IcyW ._3PV0e._2Tk6C{left:33.33333%}._1IcyW ._3PV0e._1CeJP{margin-left:41.66667%}._1IcyW ._3PV0e._2De5q{right:41.66667%}._1IcyW ._3PV0e._16ys2{left:41.66667%}._1IcyW ._3PV0e._1kkBZ{margin-left:50%}._1IcyW ._3PV0e._1CK0q{right:50%}._1IcyW ._3PV0e._3Xy7s{left:50%}._1IcyW ._3PV0e.fiIOk{margin-left:58.33333%}._1IcyW ._3PV0e._17aZ0{right:58.33333%}._1IcyW ._3PV0e.o2aQH{left:58.33333%}._1IcyW ._3PV0e._3jeUk{margin-left:66.66667%}._1IcyW ._3PV0e._18vnL{right:66.66667%}._1IcyW ._3PV0e.UM6C4{left:66.66667%}._1IcyW ._3PV0e._99XKG{margin-left:75%}._1IcyW ._3PV0e._2PrNg{right:75%}._1IcyW ._3PV0e.Bs5zd{left:75%}._1IcyW ._3PV0e._1JJwE{margin-left:83.33333%}._1IcyW ._3PV0e._13V4Q{right:83.33333%}._1IcyW ._3PV0e._3TVe3{left:83.33333%}._1IcyW ._3PV0e._3FX2T{margin-left:91.66667%}._1IcyW ._3PV0e._2Mlz5{right:91.66667%}._1IcyW ._3PV0e._1wVxX{left:91.66667%}._1IcyW ._3PV0e._1xx39{margin-left:100%}._1IcyW ._3PV0e._3TEPH{right:100%}._1IcyW ._3PV0e._398SQ{left:100%}@media only screen and (min-width:601px){._1IcyW ._3PV0e._1GypW{width:8.33333%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._1tDMj{width:16.66667%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._3TQHZ{width:25%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._4REFG{width:33.33333%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._2qifb{width:41.66667%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._3vZbO{width:50%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._3QiKl{width:58.33333%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._2PuAc{width:66.66667%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._2j-fx{width:75%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._3q0Mw{width:83.33333%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._1O7j0{width:91.66667%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._2HK0q{width:100%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e.ZqtoP{margin-left:8.33333%}._1IcyW ._3PV0e._1gHpU{right:8.33333%}._1IcyW ._3PV0e._1amMy{left:8.33333%}._1IcyW ._3PV0e._1i9GX{margin-left:16.66667%}._1IcyW ._3PV0e._1QZ3J{right:16.66667%}._1IcyW ._3PV0e._2rpRp{left:16.66667%}._1IcyW ._3PV0e.NQmCN{margin-left:25%}._1IcyW ._3PV0e.e0X7I{right:25%}._1IcyW ._3PV0e._34bpw{left:25%}._1IcyW ._3PV0e._1IhOO{margin-left:33.33333%}._1IcyW ._3PV0e._3vWlQ{right:33.33333%}._1IcyW ._3PV0e._1m2b4{left:33.33333%}._1IcyW ._3PV0e._3pwu3{margin-left:41.66667%}._1IcyW ._3PV0e._362g_{right:41.66667%}._1IcyW ._3PV0e._2t8wq{left:41.66667%}._1IcyW ._3PV0e.V3iiB{margin-left:50%}._1IcyW ._3PV0e._2KLKz{right:50%}._1IcyW ._3PV0e._3O_e2{left:50%}._1IcyW ._3PV0e._2ywqn{margin-left:58.33333%}._1IcyW ._3PV0e._15SEv{right:58.33333%}._1IcyW ._3PV0e._2WjMX{left:58.33333%}._1IcyW ._3PV0e._2LjdL{margin-left:66.66667%}._1IcyW ._3PV0e._2N15W{right:66.66667%}._1IcyW ._3PV0e._32D4a{left:66.66667%}._1IcyW ._3PV0e._3mo_t{margin-left:75%}._1IcyW ._3PV0e._1JHfh{right:75%}._1IcyW ._3PV0e._2Tj7f{left:75%}._1IcyW ._3PV0e.Ojc8W{margin-left:83.33333%}._1IcyW ._3PV0e._3Tc2R{right:83.33333%}._1IcyW ._3PV0e._35AWr{left:83.33333%}._1IcyW ._3PV0e._2P7JL{margin-left:91.66667%}._1IcyW ._3PV0e._1uVmu{right:91.66667%}._1IcyW ._3PV0e._1f0uQ{left:91.66667%}._1IcyW ._3PV0e._3eEfc{margin-left:100%}._1IcyW ._3PV0e.bXlYY{right:100%}._1IcyW ._3PV0e._21jY8{left:100%}}@media only screen and (min-width:993px){._1IcyW ._3PV0e._1WfDO{width:8.33333%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._3PVAi{width:16.66667%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._3HK2k{width:25%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._1kiP1{width:33.33333%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._1LiZn{width:41.66667%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._3wKdj{width:50%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e.QB35R{width:58.33333%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e.pNxYM{width:66.66667%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._2SMV2{width:75%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._2x4Pf{width:83.33333%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e.K-n2F{width:91.66667%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._2ecuX{width:100%;margin-left:auto;left:auto;right:auto}._1IcyW ._3PV0e._1UgpF{margin-left:8.33333%}._1IcyW ._3PV0e._3A3Px{right:8.33333%}._1IcyW ._3PV0e.NMaJd{left:8.33333%}._1IcyW ._3PV0e._3qhNy{margin-left:16.66667%}._1IcyW ._3PV0e._291a5{right:16.66667%}._1IcyW ._3PV0e._10YMR{left:16.66667%}._1IcyW ._3PV0e.lurn2{margin-left:25%}._1IcyW ._3PV0e._2j8_G{right:25%}._1IcyW ._3PV0e._2VjxS{left:25%}._1IcyW ._3PV0e._3ABSs{margin-left:33.33333%}._1IcyW ._3PV0e._2kd_-{right:33.33333%}._1IcyW ._3PV0e._1Syhc{left:33.33333%}._1IcyW ._3PV0e._2Po0T{margin-left:41.66667%}._1IcyW ._3PV0e._31q-v{right:41.66667%}._1IcyW ._3PV0e._1JfWV{left:41.66667%}._1IcyW ._3PV0e._1M7a0{margin-left:50%}._1IcyW ._3PV0e._3icSb{right:50%}._1IcyW ._3PV0e._1RqvL{left:50%}._1IcyW ._3PV0e._2Pi4u{margin-left:58.33333%}._1IcyW ._3PV0e._1Airn{right:58.33333%}._1IcyW ._3PV0e._3BEsb{left:58.33333%}._1IcyW ._3PV0e._2tG5u{margin-left:66.66667%}._1IcyW ._3PV0e._3YDV6{right:66.66667%}._1IcyW ._3PV0e._2TSDS{left:66.66667%}._1IcyW ._3PV0e.NRz0o{margin-left:75%}._1IcyW ._3PV0e._2SLlB{right:75%}._1IcyW ._3PV0e._2fBsa{left:75%}._1IcyW ._3PV0e._2k8jl{margin-left:83.33333%}._1IcyW ._3PV0e._1uMCS{right:83.33333%}._1IcyW ._3PV0e._2seNx{left:83.33333%}._1IcyW ._3PV0e._67o3N{margin-left:91.66667%}._1IcyW ._3PV0e._3CHbX{right:91.66667%}._1IcyW ._3PV0e.ALCou{left:91.66667%}._1IcyW ._3PV0e._3fWxF{margin-left:100%}._1IcyW ._3PV0e.tdkAA{right:100%}._1IcyW ._3PV0e._10CNd{left:100%}}._3_Kca{position:relative;overflow:hidden;z-index:1}._3uisg{display:inline-block;margin:0 32px 32px 0;margin:0 2rem 2rem 0;color:#fff}._3uisg:hover{color:#777}.WNFMA{margin:16px 32px 0 0;margin:1rem 2rem 0 0;color:#fff;display:inline-block}._2DqF1{padding-top:128px;padding-top:8rem}._3Arav{width:160px}._3yK83{margin-top:32px;margin-top:2rem}',""]),t.locals={error:"_2FU-P",coverSection:"_1uIlo",skewedSection:"_34cHT",skewedSectionNarrow:"_1z-NZ",sectionBackground:"oZI2W",sectionBackgroundImage:"_3idlL",coverBackground:"_2o_tQ",skewBackground:"_302tL",skewImage:"_157GT",coverImage:"_11MEX",right:"s2FAN",centerAlign:"_1X-uO",rightAlign:"_3HiTQ",valignWrapper:"_3w-Hq",bordered:"dFkMr",striped:"_1AF4O",highlight:"AbnFp",centered:"_1kVe7",container:"_1Mw2Y",row:"_1IcyW",section:"_1zIY1","no-pad":"GJ979","no-pad-bot":"_31Yqt","no-pad-top":"_3ByUg",col:"_3PV0e",s1:"_2Qv5F",s2:"_3ca9j",s3:"_3ktrl",s4:"_2Fnqt",s5:"_3RfHB",s6:"_3b27o",s7:"_15Ak9",s8:"zgK-y",s9:"UwRJ6",s10:"L-Nkr",s11:"DXPgq",s12:"_3frsg","offset-s1":"_2iMoi","pull-s1":"_1as_t","push-s1":"_1iQxC","offset-s2":"pdFzu","pull-s2":"uS-33","push-s2":"Tkp-z","offset-s3":"_2H1mm","pull-s3":"_2REw0","push-s3":"dGeSY","offset-s4":"_3W3hO","pull-s4":"NTjGH","push-s4":"_2Tk6C","offset-s5":"_1CeJP","pull-s5":"_2De5q","push-s5":"_16ys2","offset-s6":"_1kkBZ","pull-s6":"_1CK0q","push-s6":"_3Xy7s","offset-s7":"fiIOk","pull-s7":"_17aZ0","push-s7":"o2aQH","offset-s8":"_3jeUk","pull-s8":"_18vnL","push-s8":"UM6C4","offset-s9":"_99XKG","pull-s9":"_2PrNg","push-s9":"Bs5zd","offset-s10":"_1JJwE","pull-s10":"_13V4Q","push-s10":"_3TVe3","offset-s11":"_3FX2T","pull-s11":"_2Mlz5","push-s11":"_1wVxX","offset-s12":"_1xx39","pull-s12":"_3TEPH","push-s12":"_398SQ",m1:"_1GypW",m2:"_1tDMj",m3:"_3TQHZ",m4:"_4REFG",m5:"_2qifb",m6:"_3vZbO",m7:"_3QiKl",m8:"_2PuAc",m9:"_2j-fx",m10:"_3q0Mw",m11:"_1O7j0",m12:"_2HK0q","offset-m1":"ZqtoP","pull-m1":"_1gHpU","push-m1":"_1amMy","offset-m2":"_1i9GX","pull-m2":"_1QZ3J","push-m2":"_2rpRp","offset-m3":"NQmCN","pull-m3":"e0X7I","push-m3":"_34bpw","offset-m4":"_1IhOO","pull-m4":"_3vWlQ","push-m4":"_1m2b4","offset-m5":"_3pwu3","pull-m5":"_362g_","push-m5":"_2t8wq","offset-m6":"V3iiB","pull-m6":"_2KLKz","push-m6":"_3O_e2","offset-m7":"_2ywqn","pull-m7":"_15SEv","push-m7":"_2WjMX","offset-m8":"_2LjdL","pull-m8":"_2N15W","push-m8":"_32D4a","offset-m9":"_3mo_t","pull-m9":"_1JHfh","push-m9":"_2Tj7f","offset-m10":"Ojc8W","pull-m10":"_3Tc2R","push-m10":"_35AWr","offset-m11":"_2P7JL","pull-m11":"_1uVmu","push-m11":"_1f0uQ","offset-m12":"_3eEfc","pull-m12":"bXlYY","push-m12":"_21jY8",l1:"_1WfDO",l2:"_3PVAi",l3:"_3HK2k",l4:"_1kiP1",l5:"_1LiZn",l6:"_3wKdj",l7:"QB35R",l8:"pNxYM",l9:"_2SMV2",l10:"_2x4Pf",l11:"K-n2F",l12:"_2ecuX","offset-l1":"_1UgpF","pull-l1":"_3A3Px","push-l1":"NMaJd","offset-l2":"_3qhNy","pull-l2":"_291a5","push-l2":"_10YMR","offset-l3":"lurn2","pull-l3":"_2j8_G","push-l3":"_2VjxS","offset-l4":"_3ABSs","pull-l4":"_2kd_-","push-l4":"_1Syhc","offset-l5":"_2Po0T","pull-l5":"_31q-v","push-l5":"_1JfWV","offset-l6":"_1M7a0","pull-l6":"_3icSb","push-l6":"_1RqvL","offset-l7":"_2Pi4u","pull-l7":"_1Airn","push-l7":"_3BEsb","offset-l8":"_2tG5u","pull-l8":"_3YDV6","push-l8":"_2TSDS","offset-l9":"NRz0o","pull-l9":"_2SLlB","push-l9":"_2fBsa","offset-l10":"_2k8jl","pull-l10":"_1uMCS","push-l10":"_2seNx","offset-l11":"_67o3N","pull-l11":"_3CHbX","push-l11":"ALCou","offset-l12":"_3fWxF","pull-l12":"tdkAA","push-l12":"_10CNd",footer:"_3_Kca",footerPrimaryLink:"_3uisg",footerSecondaryLink:"WNFMA",footerLinksContainer:"_2DqF1",circleLogo:"_3Arav",copyRight:"_3yK83"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,".piYtJ{margin:0 0 8px;margin:0 0 .5rem;font-weight:700}._1jNBp{margin:0;padding:0;font-size:1.1em;line-height:1.4em}._1jNBp a{color:#3498db}._1jNBp a:hover{color:#2980b9}._29S0O{height:19.2px;height:1.2rem;margin:16px 8px 8px;margin:1rem .5rem .5rem}._1dG_L{padding:24px 0;padding:1.5rem 0;position:relative}._1Lb8h,._3nhq4{text-align:center}._1Lb8h{margin-bottom:16px;margin-bottom:1rem}@media only screen and (min-width:601px){._1dG_L{display:-ms-flexbox;display:flex;padding:1.5rem}._3nhq4{margin-left:1.5rem;text-align:left}}",""]),t.locals={title:"piYtJ",description:"_1jNBp",socialIcon:"_29S0O",content:"_1dG_L",infoContainer:"_3nhq4",logoContainer:"_1Lb8h"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Nunito:400,400i,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);",""]),t.push([e.i,'@font-face{font-family:Figtree}html{font-size:1em;font-weight:300}h1,h2,h3,h4,h5,h6,html{font-family:Figtree,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:.5px}a{text-decoration:none;color:#555}a:hover{color:#777}._3j29j{color:#e74c3c}._3fksT{padding:16px 0;padding:1rem 0}._3fksT,._3KOyc{position:relative}._3KOyc{padding-top:16px;padding-top:1rem;padding-bottom:16px;padding-bottom:1rem}@media screen and (max-width:601px){._3KOyc{padding-bottom:1rem}}.G_F1t{padding-bottom:64px;padding-bottom:4rem}.H9cJC{top:0;z-index:-1;overflow:hidden;position:absolute;-ms-transform-origin:0;transform-origin:0}._4yQpw,.H9cJC{width:100%;height:100%}._4yQpw{background-size:cover}._2_bJ5,._2uZt4{top:0;z-index:-1;width:100%;height:100%;overflow:hidden;position:absolute}._2_bJ5{-ms-transform-origin:0;transform-origin:0;//transform:skewY(-6deg)}.iiQ6D{height:140%;//transform:skewY(6deg)}._2bKP6,.iiQ6D{width:100%;background-size:cover}._2bKP6{height:100%}._1fWUg{float:right}._3SFYr{text-align:center}._3n246{text-align:right}._2yKFR{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}table{width:100%;display:table}table._2KcUo>tbody>tr,table._2KcUo>thead>tr{border-bottom:1px solid #d0d0d0}table._3HpMx>tbody>tr:nth-child(odd){background-color:#f2f2f2}table._3HpMx>tbody>tr>td{border-radius:0}table.eZfFk>tbody>tr{transition:background-color .25s ease}table.eZfFk>tbody>tr:hover{background-color:#f2f2f2}table._8Xi-q tbody tr td,table._8Xi-q thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}._2oSYx{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){._2oSYx{width:94%}}@media only screen and (min-width:993px){._2oSYx{width:86%}}._2oSYx .T2oX7{margin-left:-12px;margin-left:-.75rem;margin-right:-12px;margin-right:-.75rem}._11Wii{position:relative;padding-top:48px;padding-top:3rem;padding-bottom:48px;padding-bottom:3rem}._11Wii._1CzNG{padding:0}._11Wii._3cfoq{padding-bottom:0}._11Wii.NyZpW{padding-top:0}.T2oX7{margin-left:auto;margin-right:auto;margin-bottom:20px}.T2oX7:after{content:"";display:table;clear:both}.T2oX7 ._2Y48D{float:left;box-sizing:border-box;padding:0 12px;padding:0 .75rem}.T2oX7 ._2Y48D[class*=pull-],.T2oX7 ._2Y48D[class*=push-]{position:relative}.T2oX7 ._2Y48D._3RHXy{width:8.33333%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._2ST-0{width:16.66667%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D.rAAYP{width:25%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D.npS4i{width:33.33333%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._1AeMI{width:41.66667%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D.wNP2Q{width:50%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._2ULN8{width:58.33333%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._2Lpql{width:66.66667%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._253L_{width:75%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._1CpHJ{width:83.33333%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D.KKiCM{width:91.66667%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D.M3AW-{width:100%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D.Nak41{margin-left:8.33333%}.T2oX7 ._2Y48D._26gMW{right:8.33333%}.T2oX7 ._2Y48D.iTgls{left:8.33333%}.T2oX7 ._2Y48D._27KMf{margin-left:16.66667%}.T2oX7 ._2Y48D._2UqQA{right:16.66667%}.T2oX7 ._2Y48D.eW8WL{left:16.66667%}.T2oX7 ._2Y48D._3uhgs{margin-left:25%}.T2oX7 ._2Y48D._1F0WG{right:25%}.T2oX7 ._2Y48D._1jrX9{left:25%}.T2oX7 ._2Y48D._1LNWl{margin-left:33.33333%}.T2oX7 ._2Y48D._2Vflo{right:33.33333%}.T2oX7 ._2Y48D._3UgQR{left:33.33333%}.T2oX7 ._2Y48D._3Zf4a{margin-left:41.66667%}.T2oX7 ._2Y48D.KgP0p{right:41.66667%}.T2oX7 ._2Y48D._3Stc0{left:41.66667%}.T2oX7 ._2Y48D._2HHKR{margin-left:50%}.T2oX7 ._2Y48D._2sebH{right:50%}.T2oX7 ._2Y48D._2wN42{left:50%}.T2oX7 ._2Y48D._2gIXX{margin-left:58.33333%}.T2oX7 ._2Y48D.nxWKP{right:58.33333%}.T2oX7 ._2Y48D._2q4x5{left:58.33333%}.T2oX7 ._2Y48D._16U2e{margin-left:66.66667%}.T2oX7 ._2Y48D._2jm5J{right:66.66667%}.T2oX7 ._2Y48D.lJPxd{left:66.66667%}.T2oX7 ._2Y48D._3YTMm{margin-left:75%}.T2oX7 ._2Y48D._1736h{right:75%}.T2oX7 ._2Y48D._27lwt{left:75%}.T2oX7 ._2Y48D._1ef3X{margin-left:83.33333%}.T2oX7 ._2Y48D._2peIg{right:83.33333%}.T2oX7 ._2Y48D.OrhIJ{left:83.33333%}.T2oX7 ._2Y48D._2HXwB{margin-left:91.66667%}.T2oX7 ._2Y48D._1UzAN{right:91.66667%}.T2oX7 ._2Y48D._318Xj{left:91.66667%}.T2oX7 ._2Y48D._2wsDG{margin-left:100%}.T2oX7 ._2Y48D._2afTl{right:100%}.T2oX7 ._2Y48D._1LYlL{left:100%}@media only screen and (min-width:601px){.T2oX7 ._2Y48D._1Ph60{width:8.33333%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._1zg3-{width:16.66667%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D.F_DfF{width:25%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._3ftjc{width:33.33333%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D.zKOb6{width:41.66667%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._37zpM{width:50%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._3ZkoP{width:58.33333%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._1_jKh{width:66.66667%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._35B7P{width:75%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._1LP1P{width:83.33333%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._3vGYv{width:91.66667%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D.QjI8x{width:100%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._2vk0I{margin-left:8.33333%}.T2oX7 ._2Y48D._1ekPZ{right:8.33333%}.T2oX7 ._2Y48D._243IW{left:8.33333%}.T2oX7 ._2Y48D._2TLZ9{margin-left:16.66667%}.T2oX7 ._2Y48D._2h28X{right:16.66667%}.T2oX7 ._2Y48D.XyurG{left:16.66667%}.T2oX7 ._2Y48D._1Ki3m{margin-left:25%}.T2oX7 ._2Y48D._3q6Qg{right:25%}.T2oX7 ._2Y48D._2J56f{left:25%}.T2oX7 ._2Y48D.IreY4{margin-left:33.33333%}.T2oX7 ._2Y48D._3Fz0n{right:33.33333%}.T2oX7 ._2Y48D._2ibul{left:33.33333%}.T2oX7 ._2Y48D._17CKg{margin-left:41.66667%}.T2oX7 ._2Y48D.Nqy6m{right:41.66667%}.T2oX7 ._2Y48D._1oDyH{left:41.66667%}.T2oX7 ._2Y48D._3Zyya{margin-left:50%}.T2oX7 ._2Y48D._3uFDH{right:50%}.T2oX7 ._2Y48D.iX9df{left:50%}.T2oX7 ._2Y48D._3c9Zs{margin-left:58.33333%}.T2oX7 ._2Y48D._2DgdL{right:58.33333%}.T2oX7 ._2Y48D._1CAFe{left:58.33333%}.T2oX7 ._2Y48D._1m0Oz{margin-left:66.66667%}.T2oX7 ._2Y48D.J1ACy{right:66.66667%}.T2oX7 ._2Y48D._2GvNu{left:66.66667%}.T2oX7 ._2Y48D._1qol8{margin-left:75%}.T2oX7 ._2Y48D.OOhRq{right:75%}.T2oX7 ._2Y48D._1DlNd{left:75%}.T2oX7 ._2Y48D._2V-3F{margin-left:83.33333%}.T2oX7 ._2Y48D._1gepO{right:83.33333%}.T2oX7 ._2Y48D._1D-qq{left:83.33333%}.T2oX7 ._2Y48D._2Buww{margin-left:91.66667%}.T2oX7 ._2Y48D.Q225m{right:91.66667%}.T2oX7 ._2Y48D._1f_6F{left:91.66667%}.T2oX7 ._2Y48D.J22X9{margin-left:100%}.T2oX7 ._2Y48D._3rKCa{right:100%}.T2oX7 ._2Y48D._3GqsF{left:100%}}@media only screen and (min-width:993px){.T2oX7 ._2Y48D._22r0c{width:8.33333%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D.tXNig{width:16.66667%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D.ly-jn{width:25%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._2YOS5{width:33.33333%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._1hYkK{width:41.66667%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._2JU5e{width:50%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._1tENE{width:58.33333%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._2KImj{width:66.66667%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D.xs5us{width:75%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._1MB8d{width:83.33333%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D.TknTQ{width:91.66667%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._2jfPZ{width:100%;margin-left:auto;left:auto;right:auto}.T2oX7 ._2Y48D._2AL8B{margin-left:8.33333%}.T2oX7 ._2Y48D.nW-Tj{right:8.33333%}.T2oX7 ._2Y48D._2bGlP{left:8.33333%}.T2oX7 ._2Y48D._1ENPG{margin-left:16.66667%}.T2oX7 ._2Y48D._23tjl{right:16.66667%}.T2oX7 ._2Y48D._1GbWx{left:16.66667%}.T2oX7 ._2Y48D._3bewt{margin-left:25%}.T2oX7 ._2Y48D._3fSFJ{right:25%}.T2oX7 ._2Y48D._3USeP{left:25%}.T2oX7 ._2Y48D._2WoN9{margin-left:33.33333%}.T2oX7 ._2Y48D.jrk_Y{right:33.33333%}.T2oX7 ._2Y48D._2B4fW{left:33.33333%}.T2oX7 ._2Y48D._1ykN-{margin-left:41.66667%}.T2oX7 ._2Y48D._2xqh_{right:41.66667%}.T2oX7 ._2Y48D._2krg1{left:41.66667%}.T2oX7 ._2Y48D.aExJ_{margin-left:50%}.T2oX7 ._2Y48D._3WukE{right:50%}.T2oX7 ._2Y48D.gMnDI{left:50%}.T2oX7 ._2Y48D._3Jxlf{margin-left:58.33333%}.T2oX7 ._2Y48D._2fq6N{right:58.33333%}.T2oX7 ._2Y48D._1q5fR{left:58.33333%}.T2oX7 ._2Y48D._1ZXHu{margin-left:66.66667%}.T2oX7 ._2Y48D._3Of4X{right:66.66667%}.T2oX7 ._2Y48D._3T98z{left:66.66667%}.T2oX7 ._2Y48D._2stVN{margin-left:75%}.T2oX7 ._2Y48D._1_SHp{right:75%}.T2oX7 ._2Y48D._32Wgn{left:75%}.T2oX7 ._2Y48D._26iBx{margin-left:83.33333%}.T2oX7 ._2Y48D._2K9ns{right:83.33333%}.T2oX7 ._2Y48D.YjFef{left:83.33333%}.T2oX7 ._2Y48D.sxJ1p{margin-left:91.66667%}.T2oX7 ._2Y48D.R8z4K{right:91.66667%}.T2oX7 ._2Y48D.bHiJv{left:91.66667%}.T2oX7 ._2Y48D._2zw16{margin-left:100%}.T2oX7 ._2Y48D._2KuME{right:100%}.T2oX7 ._2Y48D._3Agzs{left:100%}}._1SNh6{padding-top:68px;padding-top:4.25rem}._29WER{position:fixed;top:0;left:0;right:0;z-index:10;background:hsla(0,0%,100%,.75)}._139dY{-ms-flex-pack:justify;justify-content:space-between;padding:16px;padding:1rem}._33H0t,._139dY{display:-ms-flexbox;display:flex}._33H0t{-ms-flex-align:center;align-items:center}._3wws1{max-height:36px;max-width:180px;margin:0}._2RvWM{display:none;margin-right:-16px;margin-right:-1rem}._1qY_i{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}._1qY_i>*{margin:0 16px;margin:0 1rem}._1qY_i>:last-child{margin-right:0}.vN3MY{padding:0 32px;padding:0 2rem}.CzIEG{padding:8px 32px;padding:.5rem 2rem}._9MPPc{vertical-align:middle;font-family:Nunito}.NH-xn{font-size:2.5em;vertical-align:top;display:inline-block;margin-top:-2px}._2400t{text-align:center;margin:0 auto;padding:24px 0 0;padding:1.5rem 0 0}._2400t,.gVcLS{overflow:hidden;width:480px;height:270px}.gVcLS{border:none}._1xvRH{text-align:center;margin:32px 0;margin:2rem 0}._3etkP{max-width:100%;max-height:100%}._1-2aN{position:relative}._2vIec{display:inline-block;margin:0 32px 32px 0;margin:0 2rem 2rem 0;color:#fff}._2vIec:hover{color:#777}._2bPTY{margin:16px 32px 0 0;margin:1rem 2rem 0 0;color:#fff;display:inline-block}._2nN_s{padding-top:16px;padding-top:1rem}._1EU1P{background-image:linear-gradient(0deg,rgba(41,0,17,.75) 45%,rgba(41,0,17,.75)),url(/footer.jpeg);background-size:cover;background-repeat:no-repeat;background-position:50%}._1_NTH{width:160px}._2KV6t{max-height:30px}._39-vB{margin-top:32px;margin-top:2rem}._3BQn1{padding:32px;padding:2rem;text-align:center}.rAmLa{padding:24px 32px;padding:1.5rem 2rem}.v3QEL{max-width:100%;margin:8px 0;margin:.5rem 0}@media screen and (max-width:599px){._2400t{width:336px;height:190px;padding:0}.gVcLS{-ms-transform:scale(.7);transform:scale(.7);-ms-transform-origin:0 0;transform-origin:0 0;width:142%;height:142%}}@media screen and (max-width:374px){._2400t{width:286px;height:162px;padding:0}.gVcLS{-ms-transform:scale(.6);transform:scale(.6);-ms-transform-origin:0 0;transform-origin:0 0;width:170%;height:170%}}@media screen and (max-width:319px){._2400t{width:240px;height:135px;padding:0}.gVcLS{-ms-transform:scale(.5);transform:scale(.5);-ms-transform-origin:0 0;transform-origin:0 0;width:200%;height:200%}}@media screen and (max-width:601px){._1SNh6{padding-top:3.2rem}._29WER{background:#fff}._139dY{padding:.5rem 0}._3wws1{margin-left:-1rem;height:28px}.CzIEG,.vN3MY{padding:0}}',""]),t.locals={error:"_3j29j",coverSection:"_3fksT",skewedSection:"_3KOyc",skewedSectionNarrow:"G_F1t",sectionBackground:"H9cJC",sectionBackgroundImage:"_4yQpw",coverBackground:"_2uZt4",skewBackground:"_2_bJ5",skewImage:"iiQ6D",coverImage:"_2bKP6",right:"_1fWUg",centerAlign:"_3SFYr",rightAlign:"_3n246",valignWrapper:"_2yKFR",bordered:"_2KcUo",striped:"_3HpMx",highlight:"eZfFk",centered:"_8Xi-q",container:"_2oSYx",row:"T2oX7",section:"_11Wii","no-pad":"_1CzNG","no-pad-bot":"_3cfoq","no-pad-top":"NyZpW",col:"_2Y48D",s1:"_3RHXy",s2:"_2ST-0",s3:"rAAYP",s4:"npS4i",s5:"_1AeMI",s6:"wNP2Q",s7:"_2ULN8",s8:"_2Lpql",s9:"_253L_",s10:"_1CpHJ",s11:"KKiCM",s12:"M3AW-","offset-s1":"Nak41","pull-s1":"_26gMW","push-s1":"iTgls","offset-s2":"_27KMf","pull-s2":"_2UqQA","push-s2":"eW8WL","offset-s3":"_3uhgs","pull-s3":"_1F0WG","push-s3":"_1jrX9","offset-s4":"_1LNWl","pull-s4":"_2Vflo","push-s4":"_3UgQR","offset-s5":"_3Zf4a","pull-s5":"KgP0p","push-s5":"_3Stc0","offset-s6":"_2HHKR","pull-s6":"_2sebH","push-s6":"_2wN42","offset-s7":"_2gIXX","pull-s7":"nxWKP","push-s7":"_2q4x5","offset-s8":"_16U2e","pull-s8":"_2jm5J","push-s8":"lJPxd","offset-s9":"_3YTMm","pull-s9":"_1736h","push-s9":"_27lwt","offset-s10":"_1ef3X","pull-s10":"_2peIg","push-s10":"OrhIJ","offset-s11":"_2HXwB","pull-s11":"_1UzAN","push-s11":"_318Xj","offset-s12":"_2wsDG","pull-s12":"_2afTl","push-s12":"_1LYlL",m1:"_1Ph60",m2:"_1zg3-",m3:"F_DfF",m4:"_3ftjc",m5:"zKOb6",m6:"_37zpM",m7:"_3ZkoP",m8:"_1_jKh",m9:"_35B7P",m10:"_1LP1P",m11:"_3vGYv",m12:"QjI8x","offset-m1":"_2vk0I","pull-m1":"_1ekPZ","push-m1":"_243IW","offset-m2":"_2TLZ9","pull-m2":"_2h28X","push-m2":"XyurG","offset-m3":"_1Ki3m","pull-m3":"_3q6Qg","push-m3":"_2J56f","offset-m4":"IreY4","pull-m4":"_3Fz0n","push-m4":"_2ibul","offset-m5":"_17CKg","pull-m5":"Nqy6m","push-m5":"_1oDyH","offset-m6":"_3Zyya","pull-m6":"_3uFDH","push-m6":"iX9df","offset-m7":"_3c9Zs","pull-m7":"_2DgdL","push-m7":"_1CAFe","offset-m8":"_1m0Oz","pull-m8":"J1ACy","push-m8":"_2GvNu","offset-m9":"_1qol8","pull-m9":"OOhRq","push-m9":"_1DlNd","offset-m10":"_2V-3F","pull-m10":"_1gepO","push-m10":"_1D-qq","offset-m11":"_2Buww","pull-m11":"Q225m","push-m11":"_1f_6F","offset-m12":"J22X9","pull-m12":"_3rKCa","push-m12":"_3GqsF",l1:"_22r0c",l2:"tXNig",l3:"ly-jn",l4:"_2YOS5",l5:"_1hYkK",l6:"_2JU5e",l7:"_1tENE",l8:"_2KImj",l9:"xs5us",l10:"_1MB8d",l11:"TknTQ",l12:"_2jfPZ","offset-l1":"_2AL8B","pull-l1":"nW-Tj","push-l1":"_2bGlP","offset-l2":"_1ENPG","pull-l2":"_23tjl","push-l2":"_1GbWx","offset-l3":"_3bewt","pull-l3":"_3fSFJ","push-l3":"_3USeP","offset-l4":"_2WoN9","pull-l4":"jrk_Y","push-l4":"_2B4fW","offset-l5":"_1ykN-","pull-l5":"_2xqh_","push-l5":"_2krg1","offset-l6":"aExJ_","pull-l6":"_3WukE","push-l6":"gMnDI","offset-l7":"_3Jxlf","pull-l7":"_2fq6N","push-l7":"_1q5fR","offset-l8":"_1ZXHu","pull-l8":"_3Of4X","push-l8":"_3T98z","offset-l9":"_2stVN","pull-l9":"_1_SHp","push-l9":"_32Wgn","offset-l10":"_26iBx","pull-l10":"_2K9ns","push-l10":"YjFef","offset-l11":"sxJ1p","pull-l11":"R8z4K","push-l11":"bHiJv","offset-l12":"_2zw16","pull-l12":"_2KuME","push-l12":"_3Agzs",landingPage:"_1SNh6",topBar:"_29WER",topBarContent:"_139dY",logoContainer:"_33H0t",logo:"_3wws1",mobileLoginButton:"_2RvWM",actionsContainer:"_1qY_i",descriptionContent:"vN3MY",linkListContainer:"CzIEG",descriptionLink:"_9MPPc",arrowIcon:"NH-xn",animationContainer:"_2400t",animationFrame:"gVcLS",referencesContainer:"_1xvRH",referencesImg:"_3etkP",footer:"_1-2aN",footerPrimaryLink:"_2vIec",footerSecondaryLink:"_2bPTY",footerLinksContainer:"_2nN_s",footerBackground:"_1EU1P",circleLogo:"_1_NTH",paymentLogo:"_2KV6t",copyRight:"_39-vB",desc:"_3BQn1",descContent:"rAmLa",descIcons:"v3QEL"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Nunito:400,400i,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);",""]),t.push([e.i,'html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{font-size:1em;font-weight:300}h1,h2,h3,h4,h5,h6,html{font-family:Figtree,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:.5px}a{text-decoration:none;color:#555}a:hover{color:#777}.t2wIi{color:#e74c3c}.GY-Hr{padding:16px 0;padding:1rem 0}.GY-Hr,.JZ-6y{position:relative}.JZ-6y{padding-top:16px;padding-top:1rem;padding-bottom:16px;padding-bottom:1rem}@media screen and (max-width:601px){.JZ-6y{padding-bottom:1rem}}._12OVi{padding-bottom:64px;padding-bottom:4rem}.PHYqX{top:0;z-index:-1;overflow:hidden;position:absolute;-ms-transform-origin:0;transform-origin:0}._15JQi,.PHYqX{width:100%;height:100%}._15JQi{background-size:cover}._1cx8G,._1WLHW{top:0;z-index:-1;width:100%;height:100%;overflow:hidden;position:absolute}._1WLHW{-ms-transform-origin:0;transform-origin:0;//transform:skewY(-6deg)}._1j_1V{height:140%;//transform:skewY(6deg)}._1j_1V,._3Cqjx{width:100%;background-size:cover}._3Cqjx{height:100%}._3OCmR{float:right}._1Okso{text-align:center}._1ZzNs{text-align:right}._1wGJX{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}table{width:100%;display:table}table._2JL77>tbody>tr,table._2JL77>thead>tr{border-bottom:1px solid #d0d0d0}table.ABaXX>tbody>tr:nth-child(odd){background-color:#f2f2f2}table.ABaXX>tbody>tr>td{border-radius:0}table._3Y14v>tbody>tr{transition:background-color .25s ease}table._3Y14v>tbody>tr:hover{background-color:#f2f2f2}table.FyWa6 tbody tr td,table.FyWa6 thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}._2BVuU{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){._2BVuU{width:94%}}@media only screen and (min-width:993px){._2BVuU{width:86%}}._2BVuU ._1ZSTU{margin-left:-12px;margin-left:-.75rem;margin-right:-12px;margin-right:-.75rem}._1Pv75{position:relative;padding-top:48px;padding-top:3rem;padding-bottom:48px;padding-bottom:3rem}._1Pv75._15Q0d{padding:0}._1Pv75._2TtDl{padding-bottom:0}._1Pv75._1iEin{padding-top:0}._1ZSTU{margin-left:auto;margin-right:auto;margin-bottom:20px}._1ZSTU:after{content:"";display:table;clear:both}._1ZSTU ._37xyU{float:left;box-sizing:border-box;padding:0 12px;padding:0 .75rem}._1ZSTU ._37xyU[class*=pull-],._1ZSTU ._37xyU[class*=push-]{position:relative}._1ZSTU ._37xyU._1xW_x{width:8.33333%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU.gaTP3{width:16.66667%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._1J7VB{width:25%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU.-IHM2{width:33.33333%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._1plzM{width:41.66667%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._2Gm6C{width:50%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._2ZP2X{width:58.33333%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._1c_VU{width:66.66667%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._1tZDD{width:75%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU.N9cLW{width:83.33333%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU.AS1jv{width:91.66667%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._3QQC4{width:100%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU.YXS9O{margin-left:8.33333%}._1ZSTU ._37xyU._1BkiP{right:8.33333%}._1ZSTU ._37xyU.ny_4g{left:8.33333%}._1ZSTU ._37xyU._28lLo{margin-left:16.66667%}._1ZSTU ._37xyU._2gNNH{right:16.66667%}._1ZSTU ._37xyU._17st7{left:16.66667%}._1ZSTU ._37xyU._2gROS{margin-left:25%}._1ZSTU ._37xyU._291Fp{right:25%}._1ZSTU ._37xyU.A3B59{left:25%}._1ZSTU ._37xyU.zboUS{margin-left:33.33333%}._1ZSTU ._37xyU._7Wooz{right:33.33333%}._1ZSTU ._37xyU._3z0-A{left:33.33333%}._1ZSTU ._37xyU._2uphB{margin-left:41.66667%}._1ZSTU ._37xyU._3RBhV{right:41.66667%}._1ZSTU ._37xyU._1YkC5{left:41.66667%}._1ZSTU ._37xyU.ipz-a{margin-left:50%}._1ZSTU ._37xyU._3E7xA{right:50%}._1ZSTU ._37xyU._1jSuV{left:50%}._1ZSTU ._37xyU._2uuc-{margin-left:58.33333%}._1ZSTU ._37xyU._3jW6_{right:58.33333%}._1ZSTU ._37xyU.rntY-{left:58.33333%}._1ZSTU ._37xyU._2KLgD{margin-left:66.66667%}._1ZSTU ._37xyU._3IS5Y{right:66.66667%}._1ZSTU ._37xyU._3mOvT{left:66.66667%}._1ZSTU ._37xyU._1K0jo{margin-left:75%}._1ZSTU ._37xyU._2nfnM{right:75%}._1ZSTU ._37xyU._1vz5S{left:75%}._1ZSTU ._37xyU.Q6TqB{margin-left:83.33333%}._1ZSTU ._37xyU._119v1{right:83.33333%}._1ZSTU ._37xyU._2Yet7{left:83.33333%}._1ZSTU ._37xyU._1lFRE{margin-left:91.66667%}._1ZSTU ._37xyU._24wTt{right:91.66667%}._1ZSTU ._37xyU._1dXhe{left:91.66667%}._1ZSTU ._37xyU.YhIIP{margin-left:100%}._1ZSTU ._37xyU.vP8gs{right:100%}._1ZSTU ._37xyU._2DaFs{left:100%}@media only screen and (min-width:601px){._1ZSTU ._37xyU._23yoo{width:8.33333%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._6bulF{width:16.66667%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._3xlYR{width:25%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._1Yt1v{width:33.33333%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU.qvuHN{width:41.66667%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU.cs-r4{width:50%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._3s59S{width:58.33333%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU.lOai-{width:66.66667%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._39MZy{width:75%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._30Few{width:83.33333%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._3FZcS{width:91.66667%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU.Up4Wo{width:100%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._1uSar{margin-left:8.33333%}._1ZSTU ._37xyU._3vcam{right:8.33333%}._1ZSTU ._37xyU._4sQMz{left:8.33333%}._1ZSTU ._37xyU._2vhLW{margin-left:16.66667%}._1ZSTU ._37xyU._1ZZxn{right:16.66667%}._1ZSTU ._37xyU._2zP2Z{left:16.66667%}._1ZSTU ._37xyU._3xmQO{margin-left:25%}._1ZSTU ._37xyU._4kSPF{right:25%}._1ZSTU ._37xyU._1QYlw{left:25%}._1ZSTU ._37xyU._2fXa6{margin-left:33.33333%}._1ZSTU ._37xyU.jjRC5{right:33.33333%}._1ZSTU ._37xyU._3Ly5m{left:33.33333%}._1ZSTU ._37xyU._3vtuN{margin-left:41.66667%}._1ZSTU ._37xyU._1vn6w{right:41.66667%}._1ZSTU ._37xyU._3mplk{left:41.66667%}._1ZSTU ._37xyU._35LEZ{margin-left:50%}._1ZSTU ._37xyU._164bz{right:50%}._1ZSTU ._37xyU._3bn2T{left:50%}._1ZSTU ._37xyU._39cvn{margin-left:58.33333%}._1ZSTU ._37xyU._1CYnI{right:58.33333%}._1ZSTU ._37xyU.HvJv1{left:58.33333%}._1ZSTU ._37xyU._1TgY7{margin-left:66.66667%}._1ZSTU ._37xyU._3XrYq{right:66.66667%}._1ZSTU ._37xyU._2dLvf{left:66.66667%}._1ZSTU ._37xyU._3AOQ6{margin-left:75%}._1ZSTU ._37xyU.TkDGR{right:75%}._1ZSTU ._37xyU._1L3jY{left:75%}._1ZSTU ._37xyU._3DZYx{margin-left:83.33333%}._1ZSTU ._37xyU._1BbhV{right:83.33333%}._1ZSTU ._37xyU._187_X{left:83.33333%}._1ZSTU ._37xyU._1zdOj{margin-left:91.66667%}._1ZSTU ._37xyU._26ZDG{right:91.66667%}._1ZSTU ._37xyU._2a-v3{left:91.66667%}._1ZSTU ._37xyU._1QR8N{margin-left:100%}._1ZSTU ._37xyU._4wWSS{right:100%}._1ZSTU ._37xyU.vynLi{left:100%}}@media only screen and (min-width:993px){._1ZSTU ._37xyU._16Qc3{width:8.33333%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU.W9OCT{width:16.66667%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._3gYBW{width:25%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._1PJ8w{width:33.33333%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._3STR9{width:41.66667%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU.T3hSI{width:50%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._3RqWw{width:58.33333%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._1w48a{width:66.66667%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._1Hs-m{width:75%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._9yTCX{width:83.33333%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._1bGjD{width:91.66667%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._1Tknx{width:100%;margin-left:auto;left:auto;right:auto}._1ZSTU ._37xyU._2bM7C{margin-left:8.33333%}._1ZSTU ._37xyU._3eWG_{right:8.33333%}._1ZSTU ._37xyU._2qvx3{left:8.33333%}._1ZSTU ._37xyU.h0s7W{margin-left:16.66667%}._1ZSTU ._37xyU._1-wfv{right:16.66667%}._1ZSTU ._37xyU._1aQEC{left:16.66667%}._1ZSTU ._37xyU._14q_5{margin-left:25%}._1ZSTU ._37xyU._268sj{right:25%}._1ZSTU ._37xyU._3I8K_{left:25%}._1ZSTU ._37xyU.rC7e1{margin-left:33.33333%}._1ZSTU ._37xyU._3Z0Tu{right:33.33333%}._1ZSTU ._37xyU._1fbvj{left:33.33333%}._1ZSTU ._37xyU._2EWVU{margin-left:41.66667%}._1ZSTU ._37xyU._2EXt-{right:41.66667%}._1ZSTU ._37xyU._2eL4W{left:41.66667%}._1ZSTU ._37xyU.TkzkI{margin-left:50%}._1ZSTU ._37xyU.c_oIv{right:50%}._1ZSTU ._37xyU._2pwep{left:50%}._1ZSTU ._37xyU._1Dyzy{margin-left:58.33333%}._1ZSTU ._37xyU._3wF1X{right:58.33333%}._1ZSTU ._37xyU._1-BvI{left:58.33333%}._1ZSTU ._37xyU.LCp2Q{margin-left:66.66667%}._1ZSTU ._37xyU.Menhr{right:66.66667%}._1ZSTU ._37xyU._27i6v{left:66.66667%}._1ZSTU ._37xyU.WiQ4o{margin-left:75%}._1ZSTU ._37xyU._30vbI{right:75%}._1ZSTU ._37xyU._2giuH{left:75%}._1ZSTU ._37xyU._3OGBT{margin-left:83.33333%}._1ZSTU ._37xyU.TkfVP{right:83.33333%}._1ZSTU ._37xyU._2YnVm{left:83.33333%}._1ZSTU ._37xyU.jlYPH{margin-left:91.66667%}._1ZSTU ._37xyU.oNbpA{right:91.66667%}._1ZSTU ._37xyU._3jZYN{left:91.66667%}._1ZSTU ._37xyU._1wqyT{margin-left:100%}._1ZSTU ._37xyU.lL3Sk{right:100%}._1ZSTU ._37xyU._3Xaos{left:100%}}@font-face{font-family:Figtree}._3CmbG{min-height:100vh}._5lOa4{top:0;width:100%;height:30vh;position:absolute;z-index:-1}._1T1x1{height:32px;height:2rem;margin:32px 0;margin:2rem 0}._1PcJt{padding:0 0 16px;padding:0 0 1rem;text-align:center}',""]),t.locals={error:"t2wIi",coverSection:"GY-Hr",skewedSection:"JZ-6y",skewedSectionNarrow:"_12OVi",sectionBackground:"PHYqX",sectionBackgroundImage:"_15JQi",coverBackground:"_1cx8G",skewBackground:"_1WLHW",skewImage:"_1j_1V",coverImage:"_3Cqjx",right:"_3OCmR",centerAlign:"_1Okso",rightAlign:"_1ZzNs",valignWrapper:"_1wGJX",bordered:"_2JL77",striped:"ABaXX",highlight:"_3Y14v",centered:"FyWa6",container:"_2BVuU",row:"_1ZSTU",section:"_1Pv75","no-pad":"_15Q0d","no-pad-bot":"_2TtDl","no-pad-top":"_1iEin",col:"_37xyU",s1:"_1xW_x",s2:"gaTP3",s3:"_1J7VB",s4:"-IHM2",s5:"_1plzM",s6:"_2Gm6C",s7:"_2ZP2X",s8:"_1c_VU",s9:"_1tZDD",s10:"N9cLW",s11:"AS1jv",s12:"_3QQC4","offset-s1":"YXS9O","pull-s1":"_1BkiP","push-s1":"ny_4g","offset-s2":"_28lLo","pull-s2":"_2gNNH","push-s2":"_17st7","offset-s3":"_2gROS","pull-s3":"_291Fp","push-s3":"A3B59","offset-s4":"zboUS","pull-s4":"_7Wooz","push-s4":"_3z0-A","offset-s5":"_2uphB","pull-s5":"_3RBhV","push-s5":"_1YkC5","offset-s6":"ipz-a","pull-s6":"_3E7xA","push-s6":"_1jSuV","offset-s7":"_2uuc-","pull-s7":"_3jW6_","push-s7":"rntY-","offset-s8":"_2KLgD","pull-s8":"_3IS5Y","push-s8":"_3mOvT","offset-s9":"_1K0jo","pull-s9":"_2nfnM","push-s9":"_1vz5S","offset-s10":"Q6TqB","pull-s10":"_119v1","push-s10":"_2Yet7","offset-s11":"_1lFRE","pull-s11":"_24wTt","push-s11":"_1dXhe","offset-s12":"YhIIP","pull-s12":"vP8gs","push-s12":"_2DaFs",m1:"_23yoo",m2:"_6bulF",m3:"_3xlYR",m4:"_1Yt1v",m5:"qvuHN",m6:"cs-r4",m7:"_3s59S",m8:"lOai-",m9:"_39MZy",m10:"_30Few",m11:"_3FZcS",m12:"Up4Wo","offset-m1":"_1uSar","pull-m1":"_3vcam","push-m1":"_4sQMz","offset-m2":"_2vhLW","pull-m2":"_1ZZxn","push-m2":"_2zP2Z","offset-m3":"_3xmQO","pull-m3":"_4kSPF","push-m3":"_1QYlw","offset-m4":"_2fXa6","pull-m4":"jjRC5","push-m4":"_3Ly5m","offset-m5":"_3vtuN","pull-m5":"_1vn6w","push-m5":"_3mplk","offset-m6":"_35LEZ","pull-m6":"_164bz","push-m6":"_3bn2T","offset-m7":"_39cvn","pull-m7":"_1CYnI","push-m7":"HvJv1","offset-m8":"_1TgY7","pull-m8":"_3XrYq","push-m8":"_2dLvf","offset-m9":"_3AOQ6","pull-m9":"TkDGR","push-m9":"_1L3jY","offset-m10":"_3DZYx","pull-m10":"_1BbhV","push-m10":"_187_X","offset-m11":"_1zdOj","pull-m11":"_26ZDG","push-m11":"_2a-v3","offset-m12":"_1QR8N","pull-m12":"_4wWSS","push-m12":"vynLi",l1:"_16Qc3",l2:"W9OCT",l3:"_3gYBW",l4:"_1PJ8w",l5:"_3STR9",l6:"T3hSI",l7:"_3RqWw",l8:"_1w48a",l9:"_1Hs-m",l10:"_9yTCX",l11:"_1bGjD",l12:"_1Tknx","offset-l1":"_2bM7C","pull-l1":"_3eWG_","push-l1":"_2qvx3","offset-l2":"h0s7W","pull-l2":"_1-wfv","push-l2":"_1aQEC","offset-l3":"_14q_5","pull-l3":"_268sj","push-l3":"_3I8K_","offset-l4":"rC7e1","pull-l4":"_3Z0Tu","push-l4":"_1fbvj","offset-l5":"_2EWVU","pull-l5":"_2EXt-","push-l5":"_2eL4W","offset-l6":"TkzkI","pull-l6":"c_oIv","push-l6":"_2pwep","offset-l7":"_1Dyzy","pull-l7":"_3wF1X","push-l7":"_1-BvI","offset-l8":"LCp2Q","pull-l8":"Menhr","push-l8":"_27i6v","offset-l9":"WiQ4o","pull-l9":"_30vbI","push-l9":"_2giuH","offset-l10":"_3OGBT","pull-l10":"TkfVP","push-l10":"_2YnVm","offset-l11":"jlYPH","pull-l11":"oNbpA","push-l11":"_3jZYN","offset-l12":"_1wqyT","pull-l12":"lL3Sk","push-l12":"_3Xaos",loginPage:"_3CmbG",background:"_5lOa4",logo:"_1T1x1",socialLoginContainer:"_1PcJt"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Nunito:400,400i,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);",""]),t.push([e.i,'html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{font-size:1em;font-weight:300}h1,h2,h3,h4,h5,h6,html{font-family:Figtree,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:.5px}a{text-decoration:none;color:#555}a:hover{color:#777}._3r0A4{color:#e74c3c}._3fQvN{padding:16px 0;padding:1rem 0}._3fQvN,._14K3Z{position:relative}._14K3Z{padding-top:16px;padding-top:1rem;padding-bottom:16px;padding-bottom:1rem}@media screen and (max-width:601px){._14K3Z{padding-bottom:1rem}}._35fFP{padding-bottom:64px;padding-bottom:4rem}.Wr_-_{top:0;z-index:-1;overflow:hidden;position:absolute;-ms-transform-origin:0;transform-origin:0}._3-2an,.Wr_-_{width:100%;height:100%}._3-2an{background-size:cover}._1R8JV,._1v0kn{top:0;z-index:-1;width:100%;height:100%;overflow:hidden;position:absolute}._1v0kn{-ms-transform-origin:0;transform-origin:0;//transform:skewY(-6deg)}._1vasU{height:140%;//transform:skewY(6deg)}._1vasU,._22ZZY{width:100%;background-size:cover}._22ZZY{height:100%}._2l3J4{float:right}._1lEEC{text-align:center}._8qQS5{text-align:right}._1mZ1-{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}table{width:100%;display:table}table._2Iqsw>tbody>tr,table._2Iqsw>thead>tr{border-bottom:1px solid #d0d0d0}table.erv60>tbody>tr:nth-child(odd){background-color:#f2f2f2}table.erv60>tbody>tr>td{border-radius:0}table._1xJd4>tbody>tr{transition:background-color .25s ease}table._1xJd4>tbody>tr:hover{background-color:#f2f2f2}table._3vlPC tbody tr td,table._3vlPC thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}._3sDeC{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){._3sDeC{width:94%}}@media only screen and (min-width:993px){._3sDeC{width:86%}}._3sDeC ._1DX0g{margin-left:-12px;margin-left:-.75rem;margin-right:-12px;margin-right:-.75rem}._2JIbq{position:relative;padding-top:48px;padding-top:3rem;padding-bottom:48px;padding-bottom:3rem}._2JIbq.ygzm_{padding:0}._2JIbq._2nyfd{padding-bottom:0}._2JIbq._2rCyL{padding-top:0}._1DX0g{margin-left:auto;margin-right:auto;margin-bottom:20px}._1DX0g:after{content:"";display:table;clear:both}._1DX0g .fXd8P{float:left;box-sizing:border-box;padding:0 12px;padding:0 .75rem}._1DX0g .fXd8P[class*=pull-],._1DX0g .fXd8P[class*=push-]{position:relative}._1DX0g .fXd8P._3JGg9{width:8.33333%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2yEfs{width:16.66667%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2t_1I{width:25%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._3UjXv{width:33.33333%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2sWn_{width:41.66667%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._1UWMf{width:50%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._1TYWG{width:58.33333%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._1iUik{width:66.66667%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._3eFPB{width:75%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._3W-C7{width:83.33333%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._10lNy{width:91.66667%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2YOFS{width:100%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2CFjc{margin-left:8.33333%}._1DX0g .fXd8P._1quig{right:8.33333%}._1DX0g .fXd8P._2htTG{left:8.33333%}._1DX0g .fXd8P.ycmxL{margin-left:16.66667%}._1DX0g .fXd8P._2_yan{right:16.66667%}._1DX0g .fXd8P._2lEs-{left:16.66667%}._1DX0g .fXd8P._1d7_t{margin-left:25%}._1DX0g .fXd8P._1hD2-{right:25%}._1DX0g .fXd8P._2Hb_r{left:25%}._1DX0g .fXd8P._1DVBv{margin-left:33.33333%}._1DX0g .fXd8P._1kldE{right:33.33333%}._1DX0g .fXd8P._1fOpy{left:33.33333%}._1DX0g .fXd8P._3RwsY{margin-left:41.66667%}._1DX0g .fXd8P._25GRZ{right:41.66667%}._1DX0g .fXd8P._30Jkr{left:41.66667%}._1DX0g .fXd8P._1le8n{margin-left:50%}._1DX0g .fXd8P._2L0YB{right:50%}._1DX0g .fXd8P._1qaJ2{left:50%}._1DX0g .fXd8P._2OwMQ{margin-left:58.33333%}._1DX0g .fXd8P._1cskj{right:58.33333%}._1DX0g .fXd8P._23CD4{left:58.33333%}._1DX0g .fXd8P.XYjoq{margin-left:66.66667%}._1DX0g .fXd8P._1E8IA{right:66.66667%}._1DX0g .fXd8P._37o59{left:66.66667%}._1DX0g .fXd8P._2_F4X{margin-left:75%}._1DX0g .fXd8P._3cHu-{right:75%}._1DX0g .fXd8P.njlox{left:75%}._1DX0g .fXd8P._34mjK{margin-left:83.33333%}._1DX0g .fXd8P._2qyHC{right:83.33333%}._1DX0g .fXd8P.gkOSn{left:83.33333%}._1DX0g .fXd8P._2Qd-j{margin-left:91.66667%}._1DX0g .fXd8P._1F0YH{right:91.66667%}._1DX0g .fXd8P._2YKc8{left:91.66667%}._1DX0g .fXd8P.RkuAv{margin-left:100%}._1DX0g .fXd8P._1G7c{right:100%}._1DX0g .fXd8P._2NQ0U{left:100%}@media only screen and (min-width:601px){._1DX0g .fXd8P._3SNBt{width:8.33333%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._25rOk{width:16.66667%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P.p4TmV{width:25%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._1KLhD{width:33.33333%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._3zHcs{width:41.66667%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2lye1{width:50%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2kj31{width:58.33333%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P.ZYiMb{width:66.66667%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2fICO{width:75%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._14FkW{width:83.33333%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2Ydjr{width:91.66667%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P.JLt9i{width:100%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2e5td{margin-left:8.33333%}._1DX0g .fXd8P._2qQZI{right:8.33333%}._1DX0g .fXd8P._2diV6{left:8.33333%}._1DX0g .fXd8P._3C4uR{margin-left:16.66667%}._1DX0g .fXd8P._2lOij{right:16.66667%}._1DX0g .fXd8P.tivZ9{left:16.66667%}._1DX0g .fXd8P.dxF_U{margin-left:25%}._1DX0g .fXd8P._63n-0{right:25%}._1DX0g .fXd8P.Hl6Es{left:25%}._1DX0g .fXd8P._2Log8{margin-left:33.33333%}._1DX0g .fXd8P.abfB1{right:33.33333%}._1DX0g .fXd8P._1k7NX{left:33.33333%}._1DX0g .fXd8P._3TJel{margin-left:41.66667%}._1DX0g .fXd8P._1rhyB{right:41.66667%}._1DX0g .fXd8P._3dn8N{left:41.66667%}._1DX0g .fXd8P._3eeZs{margin-left:50%}._1DX0g .fXd8P._2c0y8{right:50%}._1DX0g .fXd8P._25P3j{left:50%}._1DX0g .fXd8P._2bn_J{margin-left:58.33333%}._1DX0g .fXd8P._3GJ2n{right:58.33333%}._1DX0g .fXd8P._3vMiR{left:58.33333%}._1DX0g .fXd8P._1htpY{margin-left:66.66667%}._1DX0g .fXd8P._26R09{right:66.66667%}._1DX0g .fXd8P._1ZiLq{left:66.66667%}._1DX0g .fXd8P._2BDQB{margin-left:75%}._1DX0g .fXd8P._3vQIk{right:75%}._1DX0g .fXd8P._1_twY{left:75%}._1DX0g .fXd8P.w5Jap{margin-left:83.33333%}._1DX0g .fXd8P._2h0NK{right:83.33333%}._1DX0g .fXd8P._2C-uM{left:83.33333%}._1DX0g .fXd8P.qnKoJ{margin-left:91.66667%}._1DX0g .fXd8P._39QA_{right:91.66667%}._1DX0g .fXd8P._3IivS{left:91.66667%}._1DX0g .fXd8P._3lYu5{margin-left:100%}._1DX0g .fXd8P._3i02X{right:100%}._1DX0g .fXd8P._10N0o{left:100%}}@media only screen and (min-width:993px){._1DX0g .fXd8P._2_66u{width:8.33333%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._3fKBJ{width:16.66667%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2Hfcn{width:25%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2A1n2{width:33.33333%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._3MqpJ{width:41.66667%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._1C8UP{width:50%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2f_Bj{width:58.33333%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._3WB5H{width:66.66667%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2cq-K{width:75%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P.cYY77{width:83.33333%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P.g83ZH{width:91.66667%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2na5Y{width:100%;margin-left:auto;left:auto;right:auto}._1DX0g .fXd8P._2y9ZD{margin-left:8.33333%}._1DX0g .fXd8P._3TT6R{right:8.33333%}._1DX0g .fXd8P._28by0{left:8.33333%}._1DX0g .fXd8P._2UkHx{margin-left:16.66667%}._1DX0g .fXd8P._2VE9v{right:16.66667%}._1DX0g .fXd8P._1Y0ol{left:16.66667%}._1DX0g .fXd8P._2lgvd{margin-left:25%}._1DX0g .fXd8P._2jAIU{right:25%}._1DX0g .fXd8P._1h1An{left:25%}._1DX0g .fXd8P._2D8BE{margin-left:33.33333%}._1DX0g .fXd8P._3G-tx{right:33.33333%}._1DX0g .fXd8P.PElHl{left:33.33333%}._1DX0g .fXd8P._1lD4l{margin-left:41.66667%}._1DX0g .fXd8P.ctC8N{right:41.66667%}._1DX0g .fXd8P._28-MO{left:41.66667%}._1DX0g .fXd8P.oDHaf{margin-left:50%}._1DX0g .fXd8P._1hC9b{right:50%}._1DX0g .fXd8P._3Eoon{left:50%}._1DX0g .fXd8P._2KL5R{margin-left:58.33333%}._1DX0g .fXd8P._3pgRB{right:58.33333%}._1DX0g .fXd8P.Y-QiZ{left:58.33333%}._1DX0g .fXd8P._2_e20{margin-left:66.66667%}._1DX0g .fXd8P._2tNPw{right:66.66667%}._1DX0g .fXd8P._2o4re{left:66.66667%}._1DX0g .fXd8P.QQ-Pq{margin-left:75%}._1DX0g .fXd8P._1j3Ls{right:75%}._1DX0g .fXd8P._3oXZA{left:75%}._1DX0g .fXd8P._1f7Ys{margin-left:83.33333%}._1DX0g .fXd8P._3TOZa{right:83.33333%}._1DX0g .fXd8P._12oqm{left:83.33333%}._1DX0g .fXd8P._1tbzw{margin-left:91.66667%}._1DX0g .fXd8P._3XjxI{right:91.66667%}._1DX0g .fXd8P._3fAPk{left:91.66667%}._1DX0g .fXd8P._3eNa0{margin-left:100%}._1DX0g .fXd8P._1PdPU{right:100%}._1DX0g .fXd8P._3wAD1{left:100%}}@font-face{font-family:Figtree}',""]),t.locals={error:"_3r0A4",coverSection:"_3fQvN",skewedSection:"_14K3Z",skewedSectionNarrow:"_35fFP",sectionBackground:"Wr_-_",sectionBackgroundImage:"_3-2an",coverBackground:"_1R8JV",skewBackground:"_1v0kn",skewImage:"_1vasU",coverImage:"_22ZZY",right:"_2l3J4",centerAlign:"_1lEEC",rightAlign:"_8qQS5",valignWrapper:"_1mZ1-",bordered:"_2Iqsw",striped:"erv60",highlight:"_1xJd4",centered:"_3vlPC",container:"_3sDeC",row:"_1DX0g",section:"_2JIbq","no-pad":"ygzm_","no-pad-bot":"_2nyfd","no-pad-top":"_2rCyL",col:"fXd8P",s1:"_3JGg9",s2:"_2yEfs",s3:"_2t_1I",s4:"_3UjXv",s5:"_2sWn_",s6:"_1UWMf",s7:"_1TYWG",s8:"_1iUik",s9:"_3eFPB",s10:"_3W-C7",s11:"_10lNy",s12:"_2YOFS","offset-s1":"_2CFjc","pull-s1":"_1quig","push-s1":"_2htTG","offset-s2":"ycmxL","pull-s2":"_2_yan","push-s2":"_2lEs-","offset-s3":"_1d7_t","pull-s3":"_1hD2-","push-s3":"_2Hb_r","offset-s4":"_1DVBv","pull-s4":"_1kldE","push-s4":"_1fOpy","offset-s5":"_3RwsY","pull-s5":"_25GRZ","push-s5":"_30Jkr","offset-s6":"_1le8n","pull-s6":"_2L0YB","push-s6":"_1qaJ2","offset-s7":"_2OwMQ","pull-s7":"_1cskj","push-s7":"_23CD4","offset-s8":"XYjoq","pull-s8":"_1E8IA","push-s8":"_37o59","offset-s9":"_2_F4X","pull-s9":"_3cHu-","push-s9":"njlox","offset-s10":"_34mjK","pull-s10":"_2qyHC","push-s10":"gkOSn","offset-s11":"_2Qd-j","pull-s11":"_1F0YH","push-s11":"_2YKc8","offset-s12":"RkuAv","pull-s12":"_1G7c","push-s12":"_2NQ0U",m1:"_3SNBt",m2:"_25rOk",m3:"p4TmV",m4:"_1KLhD",m5:"_3zHcs",m6:"_2lye1",m7:"_2kj31",m8:"ZYiMb",m9:"_2fICO",m10:"_14FkW",m11:"_2Ydjr",m12:"JLt9i","offset-m1":"_2e5td","pull-m1":"_2qQZI","push-m1":"_2diV6","offset-m2":"_3C4uR","pull-m2":"_2lOij","push-m2":"tivZ9","offset-m3":"dxF_U","pull-m3":"_63n-0","push-m3":"Hl6Es","offset-m4":"_2Log8","pull-m4":"abfB1","push-m4":"_1k7NX","offset-m5":"_3TJel","pull-m5":"_1rhyB","push-m5":"_3dn8N","offset-m6":"_3eeZs","pull-m6":"_2c0y8","push-m6":"_25P3j","offset-m7":"_2bn_J","pull-m7":"_3GJ2n","push-m7":"_3vMiR","offset-m8":"_1htpY","pull-m8":"_26R09","push-m8":"_1ZiLq","offset-m9":"_2BDQB","pull-m9":"_3vQIk","push-m9":"_1_twY","offset-m10":"w5Jap","pull-m10":"_2h0NK","push-m10":"_2C-uM","offset-m11":"qnKoJ","pull-m11":"_39QA_","push-m11":"_3IivS","offset-m12":"_3lYu5","pull-m12":"_3i02X","push-m12":"_10N0o",l1:"_2_66u",l2:"_3fKBJ",l3:"_2Hfcn",l4:"_2A1n2",l5:"_3MqpJ",l6:"_1C8UP",l7:"_2f_Bj",l8:"_3WB5H",l9:"_2cq-K",l10:"cYY77",l11:"g83ZH",l12:"_2na5Y","offset-l1":"_2y9ZD","pull-l1":"_3TT6R","push-l1":"_28by0","offset-l2":"_2UkHx","pull-l2":"_2VE9v","push-l2":"_1Y0ol","offset-l3":"_2lgvd","pull-l3":"_2jAIU","push-l3":"_1h1An","offset-l4":"_2D8BE","pull-l4":"_3G-tx","push-l4":"PElHl","offset-l5":"_1lD4l","pull-l5":"ctC8N","push-l5":"_28-MO","offset-l6":"oDHaf","pull-l6":"_1hC9b","push-l6":"_3Eoon","offset-l7":"_2KL5R","pull-l7":"_3pgRB","push-l7":"Y-QiZ","offset-l8":"_2_e20","pull-l8":"_2tNPw","push-l8":"_2o4re","offset-l9":"QQ-Pq","pull-l9":"_1j3Ls","push-l9":"_3oXZA","offset-l10":"_1f7Ys","pull-l10":"_3TOZa","push-l10":"_12oqm","offset-l11":"_1tbzw","pull-l11":"_3XjxI","push-l11":"_3fAPk","offset-l12":"_3eNa0","pull-l12":"_1PdPU","push-l12":"_3wAD1"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"iframe,img{max-width:100%}",""])},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._1R31X{margin:0 64px 0 24px;margin:0 4rem 0 1.5rem}._1R31X iframe{max-width:100%!important}._3d_Q6{height:140%;background-size:cover;background-repeat:no-repeat;background-position:50%}._3bzjU{height:320px;overflow:hidden}._1JyAm{text-align:center;margin:0 0 0 48px;margin:0 0 0 3rem;position:relative}._3yCjZ{height:500px}@media (max-width:1350px){._3d_Q6{height:100%!important;background-size:contain;background-position:inherit}}@media (max-width:1070px){._3d_Q6{background-size:contain;background-position:inherit}._3yCjZ{height:400px}}@media (max-width:700px){._3d_Q6{background-size:contain;background-position:inherit}._3yCjZ{height:250px}}@media (max-width:400px){._3d_Q6{background-size:contain;background-position:inherit}._3yCjZ{height:150px}}@media only screen and (min-width:601px){._1R31X{display:-ms-flexbox;display:flex}._1JyAm{margin-bottom:0}}@media screen and (max-width:601px){._1R31X{text-align:center;margin:0 1.5rem}._1JyAm{margin-left:0;width:100%}}",""]),t.locals={infoTable:"_1R31X",headerBackground:"_3d_Q6",headerContainer:"_3bzjU",avatarContainer:"_1JyAm",coverContainer:"_3yCjZ"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._1ujhQ{-ms-flex-pack:center;-ms-flex-line-pack:center;-ms-flex-wrap:wrap;flex-wrap:wrap}._1ujhQ,.TX4eq{display:-ms-flexbox;display:flex;justify-content:center;align-content:center}.TX4eq{-ms-flex-pack:center;-ms-flex-line-pack:center}._31U-f{width:55%}._2b6RV{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;width:90%;margin:auto;font-size:17.6px;font-size:1.1rem}",""]),t.locals={wrapper:"_1ujhQ",imageWrapper:"TX4eq",image:"_31U-f",info:"_2b6RV"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,".b5vSZ{margin-top:16px;margin-top:1rem;padding-top:1.6px;padding-top:.1rem}._2DrvY{display:none}@media only screen and (min-width:601px){.b5vSZ{padding-top:0;margin-bottom:1rem}._2DrvY{display:inherit}}",""]),t.locals={stepperContainer:"b5vSZ",stepsContainer:"_2DrvY"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Nunito:400,400i,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);",""]),t.push([e.i,'html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}@font-face{font-family:Figtree}html{font-size:1em;font-weight:300}h1,h2,h3,h4,h5,h6,html{font-family:Figtree,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:.5px}a{text-decoration:none;color:#555}a:hover{color:#777}._102ge{color:#e74c3c}.AevRZ{padding:16px 0;padding:1rem 0}._1vF8g,.AevRZ{position:relative}._1vF8g{padding-top:16px;padding-top:1rem;padding-bottom:16px;padding-bottom:1rem}@media screen and (max-width:601px){._1vF8g{padding-bottom:1rem}}._2YXYU{padding-bottom:64px;padding-bottom:4rem}._1LKJc{top:0;z-index:-1;overflow:hidden;position:absolute;-ms-transform-origin:0;transform-origin:0}._1LKJc,._3o4pE{width:100%;height:100%}._3o4pE{background-size:cover}._1tQrA,._3KQQI{top:0;z-index:-1;width:100%;height:100%;overflow:hidden;position:absolute}._3KQQI{-ms-transform-origin:0;transform-origin:0;//transform:skewY(-6deg)}.Ypunv{height:140%;//transform:skewY(6deg)}._1pSJe,.Ypunv{width:100%;background-size:cover}._1pSJe{height:100%}.aUWYn{float:right}.HzrNT{text-align:center}._3dyfP{text-align:right}._39NXE{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}table{width:100%;display:table}table.ZHc2g>tbody>tr,table.ZHc2g>thead>tr{border-bottom:1px solid #d0d0d0}table._2iEpn>tbody>tr:nth-child(odd){background-color:#f2f2f2}table._2iEpn>tbody>tr>td{border-radius:0}table.W5wYp>tbody>tr{transition:background-color .25s ease}table.W5wYp>tbody>tr:hover{background-color:#f2f2f2}table._3CAM1 tbody tr td,table._3CAM1 thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}._3QCjT{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){._3QCjT{width:94%}}@media only screen and (min-width:993px){._3QCjT{width:86%}}._3QCjT ._20SCv{margin-left:-12px;margin-left:-.75rem;margin-right:-12px;margin-right:-.75rem}._1_3gt{position:relative;padding-top:48px;padding-top:3rem;padding-bottom:48px;padding-bottom:3rem}._1_3gt._9atZG{padding:0}._1_3gt._2eLS2{padding-bottom:0}._1_3gt._3JOl_{padding-top:0}._20SCv{margin-left:auto;margin-right:auto;margin-bottom:20px}._20SCv:after{content:"";display:table;clear:both}._20SCv .e8BYe{float:left;box-sizing:border-box;padding:0 12px;padding:0 .75rem}._20SCv .e8BYe[class*=pull-],._20SCv .e8BYe[class*=push-]{position:relative}._20SCv .e8BYe._1sUVD{width:8.33333%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._3Kv_g{width:16.66667%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._3srjA{width:25%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe.oJo-u{width:33.33333%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._3N8_v{width:41.66667%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._1n7kf{width:50%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._2OmgW{width:58.33333%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe.VFIkQ{width:66.66667%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe.gNPG6{width:75%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._245OF{width:83.33333%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._3t3LU{width:91.66667%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe.ExII4{width:100%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._3E1Hn{margin-left:8.33333%}._20SCv .e8BYe._3mUw5{right:8.33333%}._20SCv .e8BYe._35bQs{left:8.33333%}._20SCv .e8BYe.sc0kc{margin-left:16.66667%}._20SCv .e8BYe._6xlQI{right:16.66667%}._20SCv .e8BYe._179ZF{left:16.66667%}._20SCv .e8BYe._2GNn1{margin-left:25%}._20SCv .e8BYe.U_-ZH{right:25%}._20SCv .e8BYe._2munz{left:25%}._20SCv .e8BYe._2TCPa{margin-left:33.33333%}._20SCv .e8BYe.WQPzm{right:33.33333%}._20SCv .e8BYe._1yhBW{left:33.33333%}._20SCv .e8BYe._3oint{margin-left:41.66667%}._20SCv .e8BYe._1vPGQ{right:41.66667%}._20SCv .e8BYe._3NSaM{left:41.66667%}._20SCv .e8BYe._3hOci{margin-left:50%}._20SCv .e8BYe.qPQvZ{right:50%}._20SCv .e8BYe._2-3Jh{left:50%}._20SCv .e8BYe._3FgwG{margin-left:58.33333%}._20SCv .e8BYe._25WiX{right:58.33333%}._20SCv .e8BYe._25tHF{left:58.33333%}._20SCv .e8BYe._3rBqX{margin-left:66.66667%}._20SCv .e8BYe._6sFAh{right:66.66667%}._20SCv .e8BYe._2JJ0G{left:66.66667%}._20SCv .e8BYe.-o32l{margin-left:75%}._20SCv .e8BYe._2nA86{right:75%}._20SCv .e8BYe._3Q_z4{left:75%}._20SCv .e8BYe.C3agZ{margin-left:83.33333%}._20SCv .e8BYe._2M7-4{right:83.33333%}._20SCv .e8BYe.cihPH{left:83.33333%}._20SCv .e8BYe._NmAX{margin-left:91.66667%}._20SCv .e8BYe.C7O_x{right:91.66667%}._20SCv .e8BYe.IRJzp{left:91.66667%}._20SCv .e8BYe._8sFUt{margin-left:100%}._20SCv .e8BYe.uvHHa{right:100%}._20SCv .e8BYe.ty0dZ{left:100%}@media only screen and (min-width:601px){._20SCv .e8BYe._3kocX{width:8.33333%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._2aVMk{width:16.66667%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._3PnTi{width:25%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._1LUd7{width:33.33333%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._1T-mX{width:41.66667%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._3Tmmq{width:50%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._1yonF{width:58.33333%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe.Gbhh8{width:66.66667%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe.WTGxD{width:75%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._2-ksD{width:83.33333%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe.vqomq{width:91.66667%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._2-rb3{width:100%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._1PTeF{margin-left:8.33333%}._20SCv .e8BYe._3Fibs{right:8.33333%}._20SCv .e8BYe.X9w2J{left:8.33333%}._20SCv .e8BYe._2s-TJ{margin-left:16.66667%}._20SCv .e8BYe.ddNTA{right:16.66667%}._20SCv .e8BYe.Mr_xm{left:16.66667%}._20SCv .e8BYe._35FdU{margin-left:25%}._20SCv .e8BYe._26aSn{right:25%}._20SCv .e8BYe._2zhSK{left:25%}._20SCv .e8BYe._1e5Wt{margin-left:33.33333%}._20SCv .e8BYe._3bytP{right:33.33333%}._20SCv .e8BYe.BpkHf{left:33.33333%}._20SCv .e8BYe._2aczc{margin-left:41.66667%}._20SCv .e8BYe.hOt3u{right:41.66667%}._20SCv .e8BYe._2YRG2{left:41.66667%}._20SCv .e8BYe._2HA80{margin-left:50%}._20SCv .e8BYe._8vxtE{right:50%}._20SCv .e8BYe._3z1BB{left:50%}._20SCv .e8BYe._1sEfq{margin-left:58.33333%}._20SCv .e8BYe._1nAig{right:58.33333%}._20SCv .e8BYe._1YQ73{left:58.33333%}._20SCv .e8BYe._2Me-2{margin-left:66.66667%}._20SCv .e8BYe._26zyR{right:66.66667%}._20SCv .e8BYe._3-TAR{left:66.66667%}._20SCv .e8BYe._3AW3m{margin-left:75%}._20SCv .e8BYe._1xiT-{right:75%}._20SCv .e8BYe._3jBon{left:75%}._20SCv .e8BYe._1qqe6{margin-left:83.33333%}._20SCv .e8BYe._3BVjK{right:83.33333%}._20SCv .e8BYe.osMEL{left:83.33333%}._20SCv .e8BYe._29Ocd{margin-left:91.66667%}._20SCv .e8BYe._17KoS{right:91.66667%}._20SCv .e8BYe._38nnd{left:91.66667%}._20SCv .e8BYe.lvMCS{margin-left:100%}._20SCv .e8BYe._1MFEw{right:100%}._20SCv .e8BYe.Ju55-{left:100%}}@media only screen and (min-width:993px){._20SCv .e8BYe._1EDNM{width:8.33333%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._3GsrZ{width:16.66667%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._2cVO9{width:25%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._36xVI{width:33.33333%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._14YNj{width:41.66667%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._2ucvT{width:50%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._3-wA0{width:58.33333%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._39l1S{width:66.66667%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._1haDl{width:75%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._2vm-X{width:83.33333%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._3lWcP{width:91.66667%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._2ShpA{width:100%;margin-left:auto;left:auto;right:auto}._20SCv .e8BYe._2VtfG{margin-left:8.33333%}._20SCv .e8BYe._2Fyz4{right:8.33333%}._20SCv .e8BYe.FqiL_{left:8.33333%}._20SCv .e8BYe._19GGK{margin-left:16.66667%}._20SCv .e8BYe.D2Ovl{right:16.66667%}._20SCv .e8BYe._2Mprd{left:16.66667%}._20SCv .e8BYe._1OVIB{margin-left:25%}._20SCv .e8BYe._1Lgok{right:25%}._20SCv .e8BYe._2V5Hg{left:25%}._20SCv .e8BYe._3Ce-f{margin-left:33.33333%}._20SCv .e8BYe._1rqd8{right:33.33333%}._20SCv .e8BYe._3NlK6{left:33.33333%}._20SCv .e8BYe._3AeYo{margin-left:41.66667%}._20SCv .e8BYe.G_9ZY{right:41.66667%}._20SCv .e8BYe._2QDIu{left:41.66667%}._20SCv .e8BYe.qbHt0{margin-left:50%}._20SCv .e8BYe._3JjD_{right:50%}._20SCv .e8BYe._1yESE{left:50%}._20SCv .e8BYe.Pomlc{margin-left:58.33333%}._20SCv .e8BYe._3UpjA{right:58.33333%}._20SCv .e8BYe.nSkKI{left:58.33333%}._20SCv .e8BYe.YCquS{margin-left:66.66667%}._20SCv .e8BYe._31uZV{right:66.66667%}._20SCv .e8BYe._2aq5T{left:66.66667%}._20SCv .e8BYe._1BWqM{margin-left:75%}._20SCv .e8BYe.fP2Mh{right:75%}._20SCv .e8BYe._38BDk{left:75%}._20SCv .e8BYe.OPKLW{margin-left:83.33333%}._20SCv .e8BYe._3IX5L{right:83.33333%}._20SCv .e8BYe._1Kbb4{left:83.33333%}._20SCv .e8BYe._23I8P{margin-left:91.66667%}._20SCv .e8BYe._3Y3LJ{right:91.66667%}._20SCv .e8BYe._3fDE1{left:91.66667%}._20SCv .e8BYe._3Gpx3{margin-left:100%}._20SCv .e8BYe.zQiZS{right:100%}._20SCv .e8BYe._2_fDy{left:100%}}._2FlGz{min-height:100vh}._21ARS{height:32px;height:2rem;margin:32px 0;margin:2rem 0}',""]),t.locals={error:"_102ge",coverSection:"AevRZ",skewedSection:"_1vF8g",skewedSectionNarrow:"_2YXYU",sectionBackground:"_1LKJc",sectionBackgroundImage:"_3o4pE",coverBackground:"_1tQrA",skewBackground:"_3KQQI",skewImage:"Ypunv",coverImage:"_1pSJe",right:"aUWYn",centerAlign:"HzrNT",rightAlign:"_3dyfP",valignWrapper:"_39NXE",bordered:"ZHc2g",striped:"_2iEpn",highlight:"W5wYp",centered:"_3CAM1",container:"_3QCjT",row:"_20SCv",section:"_1_3gt","no-pad":"_9atZG","no-pad-bot":"_2eLS2","no-pad-top":"_3JOl_",col:"e8BYe",s1:"_1sUVD",s2:"_3Kv_g",s3:"_3srjA",s4:"oJo-u",s5:"_3N8_v",s6:"_1n7kf",s7:"_2OmgW",s8:"VFIkQ",s9:"gNPG6",s10:"_245OF",s11:"_3t3LU",s12:"ExII4","offset-s1":"_3E1Hn","pull-s1":"_3mUw5","push-s1":"_35bQs","offset-s2":"sc0kc","pull-s2":"_6xlQI","push-s2":"_179ZF","offset-s3":"_2GNn1","pull-s3":"U_-ZH","push-s3":"_2munz","offset-s4":"_2TCPa","pull-s4":"WQPzm","push-s4":"_1yhBW","offset-s5":"_3oint","pull-s5":"_1vPGQ","push-s5":"_3NSaM","offset-s6":"_3hOci","pull-s6":"qPQvZ","push-s6":"_2-3Jh","offset-s7":"_3FgwG","pull-s7":"_25WiX","push-s7":"_25tHF","offset-s8":"_3rBqX","pull-s8":"_6sFAh","push-s8":"_2JJ0G","offset-s9":"-o32l","pull-s9":"_2nA86","push-s9":"_3Q_z4","offset-s10":"C3agZ","pull-s10":"_2M7-4","push-s10":"cihPH","offset-s11":"_NmAX","pull-s11":"C7O_x","push-s11":"IRJzp","offset-s12":"_8sFUt","pull-s12":"uvHHa","push-s12":"ty0dZ",m1:"_3kocX",m2:"_2aVMk",m3:"_3PnTi",m4:"_1LUd7",m5:"_1T-mX",m6:"_3Tmmq",m7:"_1yonF",m8:"Gbhh8",m9:"WTGxD",m10:"_2-ksD",m11:"vqomq",m12:"_2-rb3","offset-m1":"_1PTeF","pull-m1":"_3Fibs","push-m1":"X9w2J","offset-m2":"_2s-TJ","pull-m2":"ddNTA","push-m2":"Mr_xm","offset-m3":"_35FdU","pull-m3":"_26aSn","push-m3":"_2zhSK","offset-m4":"_1e5Wt","pull-m4":"_3bytP","push-m4":"BpkHf","offset-m5":"_2aczc","pull-m5":"hOt3u","push-m5":"_2YRG2","offset-m6":"_2HA80","pull-m6":"_8vxtE","push-m6":"_3z1BB","offset-m7":"_1sEfq","pull-m7":"_1nAig","push-m7":"_1YQ73","offset-m8":"_2Me-2","pull-m8":"_26zyR","push-m8":"_3-TAR","offset-m9":"_3AW3m","pull-m9":"_1xiT-","push-m9":"_3jBon","offset-m10":"_1qqe6","pull-m10":"_3BVjK","push-m10":"osMEL","offset-m11":"_29Ocd","pull-m11":"_17KoS","push-m11":"_38nnd","offset-m12":"lvMCS","pull-m12":"_1MFEw","push-m12":"Ju55-",l1:"_1EDNM",l2:"_3GsrZ",l3:"_2cVO9",l4:"_36xVI",l5:"_14YNj",l6:"_2ucvT",l7:"_3-wA0",l8:"_39l1S",l9:"_1haDl",l10:"_2vm-X",l11:"_3lWcP",l12:"_2ShpA","offset-l1":"_2VtfG","pull-l1":"_2Fyz4","push-l1":"FqiL_","offset-l2":"_19GGK","pull-l2":"D2Ovl","push-l2":"_2Mprd","offset-l3":"_1OVIB","pull-l3":"_1Lgok","push-l3":"_2V5Hg","offset-l4":"_3Ce-f","pull-l4":"_1rqd8","push-l4":"_3NlK6","offset-l5":"_3AeYo","pull-l5":"G_9ZY","push-l5":"_2QDIu","offset-l6":"qbHt0","pull-l6":"_3JjD_","push-l6":"_1yESE","offset-l7":"Pomlc","pull-l7":"_3UpjA","push-l7":"nSkKI","offset-l8":"YCquS","pull-l8":"_31uZV","push-l8":"_2aq5T","offset-l9":"_1BWqM","pull-l9":"fP2Mh","push-l9":"_38BDk","offset-l10":"OPKLW","pull-l10":"_3IX5L","push-l10":"_1Kbb4","offset-l11":"_23I8P","pull-l11":"_3Y3LJ","push-l11":"_3fDE1","offset-l12":"_3Gpx3","pull-l12":"zQiZS","push-l12":"_2_fDy",resetPasswordPage:"_2FlGz",logo:"_21ARS"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._3NoAN{margin-top:16px;margin-top:1rem}@media only screen and (min-width:601px){._36pkt{padding-top:3rem!important}}",""]),t.locals={cardContainer:"_3NoAN",cardContainerPushed:"_36pkt"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"._20FgX{max-width:640px;margin:0 auto;padding:16px;padding:1rem}._13Q5J{padding-bottom:16px;padding-bottom:1rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}._12GJ2{border-bottom:1px solid #eee;padding:16px;padding:1rem;transition:background-color .3s ease-in-out}._12GJ2:hover{background-color:#eee}._1fc1n{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end}._1fc1n ._2CakG{margin-left:16px;margin-left:1rem}._26G7r{color:#000;background-color:#fff;border-radius:20px;padding:5px 20px;border-style:solid;border-color:#f0f0f0;cursor:pointer;font-size:15px;font-weight:700;margin-left:5px}",""]),t.locals={pageContainer:"_20FgX",listItem:"_13Q5J",cover:"_12GJ2",buttonsContainer:"_1fc1n",title:"_2CakG",customButton:"_26G7r"}},function(e,t,n){t=e.exports=n(23)(),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Nunito:400,400i,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&subset=latin-ext);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);",""]),t.push([e.i,'@font-face{font-family:Figtree}html{font-size:1em;font-weight:300}h1,h2,h3,h4,h5,h6,html{font-family:Figtree,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:.5px}a{text-decoration:none;color:#555}a:hover{color:#777}._393DT{color:#e74c3c}._3uJTL{padding:16px 0;padding:1rem 0}._3uJTL,.w-rNl{position:relative}.w-rNl{padding-top:16px;padding-top:1rem;padding-bottom:16px;padding-bottom:1rem}@media screen and (max-width:601px){.w-rNl{padding-bottom:1rem}}.Qy5h9{padding-bottom:64px;padding-bottom:4rem}._2STjv{top:0;z-index:-1;overflow:hidden;position:absolute;-ms-transform-origin:0;transform-origin:0}._2STjv,.C1GWy{width:100%;height:100%}.C1GWy{background-size:cover}._1EwYu,._2R-zu{top:0;z-index:-1;width:100%;height:100%;overflow:hidden;position:absolute}._1EwYu{-ms-transform-origin:0;transform-origin:0;//transform:skewY(-6deg)}._22Lc9{height:140%;//transform:skewY(6deg)}._22Lc9,._1897c{width:100%;background-size:cover}._1897c{height:100%}._1EA1a{float:right}._1D4tb{text-align:center}._9_hdH{text-align:right}._1ZSII{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}table{width:100%;display:table}table.cAtjz>tbody>tr,table.cAtjz>thead>tr{border-bottom:1px solid #d0d0d0}table._2-19M>tbody>tr:nth-child(odd){background-color:#f2f2f2}table._2-19M>tbody>tr>td{border-radius:0}table._39dpw>tbody>tr{transition:background-color .25s ease}table._39dpw>tbody>tr:hover{background-color:#f2f2f2}table._23j5I tbody tr td,table._23j5I thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}._1dX08{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){._1dX08{width:94%}}@media only screen and (min-width:993px){._1dX08{width:86%}}._1dX08 ._1x4sJ{margin-left:-12px;margin-left:-.75rem;margin-right:-12px;margin-right:-.75rem}._3ZNOE{position:relative;padding-top:48px;padding-top:3rem;padding-bottom:48px;padding-bottom:3rem}._3ZNOE.qIZ5x{padding:0}._3ZNOE.OfYUg{padding-bottom:0}._3ZNOE.Cg_Cm{padding-top:0}._1x4sJ{margin-left:auto;margin-right:auto;margin-bottom:20px}._1x4sJ:after{content:"";display:table;clear:both}._1x4sJ ._1e_F6{float:left;box-sizing:border-box;padding:0 12px;padding:0 .75rem}._1x4sJ ._1e_F6[class*=pull-],._1x4sJ ._1e_F6[class*=push-]{position:relative}._1x4sJ ._1e_F6.ukFze{width:8.33333%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._2E5Rl{width:16.66667%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._3UC66{width:25%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6.sOg7g{width:33.33333%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._26vfr{width:41.66667%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6.mQ7HS{width:50%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._1vQ0M{width:58.33333%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6.U1mxB{width:66.66667%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._263JC{width:75%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._1LJ7K{width:83.33333%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._1joUU{width:91.66667%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._1xoMB{width:100%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6.yma8_{margin-left:8.33333%}._1x4sJ ._1e_F6._3w7CW{right:8.33333%}._1x4sJ ._1e_F6._254yz{left:8.33333%}._1x4sJ ._1e_F6._24pZk{margin-left:16.66667%}._1x4sJ ._1e_F6._2uypl{right:16.66667%}._1x4sJ ._1e_F6._3cHV2{left:16.66667%}._1x4sJ ._1e_F6.Qu8JL{margin-left:25%}._1x4sJ ._1e_F6._2Lt11{right:25%}._1x4sJ ._1e_F6._2v6hp{left:25%}._1x4sJ ._1e_F6._1g67M{margin-left:33.33333%}._1x4sJ ._1e_F6._24d_0{right:33.33333%}._1x4sJ ._1e_F6._3ZczW{left:33.33333%}._1x4sJ ._1e_F6._1ubAh{margin-left:41.66667%}._1x4sJ ._1e_F6._3Vpjc{right:41.66667%}._1x4sJ ._1e_F6._3PazN{left:41.66667%}._1x4sJ ._1e_F6.A0y6d{margin-left:50%}._1x4sJ ._1e_F6._1cOGc{right:50%}._1x4sJ ._1e_F6.vgwM8{left:50%}._1x4sJ ._1e_F6._3Cnas{margin-left:58.33333%}._1x4sJ ._1e_F6._24-se{right:58.33333%}._1x4sJ ._1e_F6._3TAQR{left:58.33333%}._1x4sJ ._1e_F6._3Pzjk{margin-left:66.66667%}._1x4sJ ._1e_F6._2pD-J{right:66.66667%}._1x4sJ ._1e_F6._18ADq{left:66.66667%}._1x4sJ ._1e_F6._2hBu8{margin-left:75%}._1x4sJ ._1e_F6._3OMRF{right:75%}._1x4sJ ._1e_F6._3eJXg{left:75%}._1x4sJ ._1e_F6._2mogx{margin-left:83.33333%}._1x4sJ ._1e_F6.KsPmV{right:83.33333%}._1x4sJ ._1e_F6.-Hqm4{left:83.33333%}._1x4sJ ._1e_F6._3efU3{margin-left:91.66667%}._1x4sJ ._1e_F6._1-k2Q{right:91.66667%}._1x4sJ ._1e_F6._2VkdI{left:91.66667%}._1x4sJ ._1e_F6._3j5L7{margin-left:100%}._1x4sJ ._1e_F6._1jzwW{right:100%}._1x4sJ ._1e_F6._1QEtm{left:100%}@media only screen and (min-width:601px){._1x4sJ ._1e_F6._14F-R{width:8.33333%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6.u7ldM{width:16.66667%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._24e2J{width:25%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6.AgbiY{width:33.33333%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._3RcEF{width:41.66667%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._3n-vN{width:50%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._3O6Rn{width:58.33333%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._8gRK-{width:66.66667%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._3DcyO{width:75%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6.VoRMQ{width:83.33333%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6.ukocb{width:91.66667%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6.d6dQy{width:100%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6.bX2Hv{margin-left:8.33333%}._1x4sJ ._1e_F6._1T-Xe{right:8.33333%}._1x4sJ ._1e_F6._3GL4W{left:8.33333%}._1x4sJ ._1e_F6._9XolN{margin-left:16.66667%}._1x4sJ ._1e_F6.sof55{right:16.66667%}._1x4sJ ._1e_F6._2dHeI{left:16.66667%}._1x4sJ ._1e_F6.GKBw9{margin-left:25%}._1x4sJ ._1e_F6._2ovnD{right:25%}._1x4sJ ._1e_F6.ZlONG{left:25%}._1x4sJ ._1e_F6._3s80S{margin-left:33.33333%}._1x4sJ ._1e_F6._1Gbvt{right:33.33333%}._1x4sJ ._1e_F6._1fX5g{left:33.33333%}._1x4sJ ._1e_F6._1b78L{margin-left:41.66667%}._1x4sJ ._1e_F6._1IZl4{right:41.66667%}._1x4sJ ._1e_F6._34RQR{left:41.66667%}._1x4sJ ._1e_F6._2XOl6{margin-left:50%}._1x4sJ ._1e_F6._17ZFm{right:50%}._1x4sJ ._1e_F6.KtDZI{left:50%}._1x4sJ ._1e_F6.aKQ8Y{margin-left:58.33333%}._1x4sJ ._1e_F6._3Z6n6{right:58.33333%}._1x4sJ ._1e_F6._3g-R5{left:58.33333%}._1x4sJ ._1e_F6._2HJMx{margin-left:66.66667%}._1x4sJ ._1e_F6.tr6E2{right:66.66667%}._1x4sJ ._1e_F6._1q3Pt{left:66.66667%}._1x4sJ ._1e_F6.IwavF{margin-left:75%}._1x4sJ ._1e_F6._2tIst{right:75%}._1x4sJ ._1e_F6.rE1uy{left:75%}._1x4sJ ._1e_F6._165XE{margin-left:83.33333%}._1x4sJ ._1e_F6._2x39o{right:83.33333%}._1x4sJ ._1e_F6._1Xcs0{left:83.33333%}._1x4sJ ._1e_F6._3sSxn{margin-left:91.66667%}._1x4sJ ._1e_F6._1BUmI{right:91.66667%}._1x4sJ ._1e_F6._1rRtR{left:91.66667%}._1x4sJ ._1e_F6._2Mt_Q{margin-left:100%}._1x4sJ ._1e_F6._3WPYg{right:100%}._1x4sJ ._1e_F6.d6tWs{left:100%}}@media only screen and (min-width:993px){._1x4sJ ._1e_F6._2xi2D{width:8.33333%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._1qq0m{width:16.66667%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._2BZ2k{width:25%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._1Kpd0{width:33.33333%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._1DwAc{width:41.66667%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._1bjUo{width:50%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._3vtP8{width:58.33333%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._1NZ4u{width:66.66667%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._1dJ3v{width:75%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._38GDt{width:83.33333%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._1WOe8{width:91.66667%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6.d2Hsc{width:100%;margin-left:auto;left:auto;right:auto}._1x4sJ ._1e_F6._1luO4{margin-left:8.33333%}._1x4sJ ._1e_F6.W25cr{right:8.33333%}._1x4sJ ._1e_F6._3WAOX{left:8.33333%}._1x4sJ ._1e_F6._3FFTr{margin-left:16.66667%}._1x4sJ ._1e_F6._3N_Kw{right:16.66667%}._1x4sJ ._1e_F6._3ZfvG{left:16.66667%}._1x4sJ ._1e_F6._1kVUE{margin-left:25%}._1x4sJ ._1e_F6._28efr{right:25%}._1x4sJ ._1e_F6._3iOTd{left:25%}._1x4sJ ._1e_F6._2xW8p{margin-left:33.33333%}._1x4sJ ._1e_F6._1sDwB{right:33.33333%}._1x4sJ ._1e_F6._2Oirp{left:33.33333%}._1x4sJ ._1e_F6._3ohOG{margin-left:41.66667%}._1x4sJ ._1e_F6._2XhF1{right:41.66667%}._1x4sJ ._1e_F6._1hUZh{left:41.66667%}._1x4sJ ._1e_F6._1Ywz7{margin-left:50%}._1x4sJ ._1e_F6._3hsVD{right:50%}._1x4sJ ._1e_F6._3lsN_{left:50%}._1x4sJ ._1e_F6._2XscK{margin-left:58.33333%}._1x4sJ ._1e_F6.kJ9ns{right:58.33333%}._1x4sJ ._1e_F6._2Srkw{left:58.33333%}._1x4sJ ._1e_F6._1VYI3{margin-left:66.66667%}._1x4sJ ._1e_F6.F7CiP{right:66.66667%}._1x4sJ ._1e_F6._3x5Li{left:66.66667%}._1x4sJ ._1e_F6._1ZCAV{margin-left:75%}._1x4sJ ._1e_F6._3Ab70{right:75%}._1x4sJ ._1e_F6._3P-oU{left:75%}._1x4sJ ._1e_F6._2iC-x{margin-left:83.33333%}._1x4sJ ._1e_F6._2zm8z{right:83.33333%}._1x4sJ ._1e_F6.EL-U7{left:83.33333%}._1x4sJ ._1e_F6._8knmY{margin-left:91.66667%}._1x4sJ ._1e_F6._1_Yl7{right:91.66667%}._1x4sJ ._1e_F6._1f7LT{left:91.66667%}._1x4sJ ._1e_F6._2mD9T{margin-left:100%}._1x4sJ ._1e_F6.rrhsq{right:100%}._1x4sJ ._1e_F6._6RXtl{left:100%}}._3NO5x{position:relative;padding-bottom:80px;padding-bottom:5rem;z-index:0}._2VzLH{top:0;z-index:-1;width:100%;height:100%;position:absolute;-ms-transform-origin:0;transform-origin:0;-ms-transform:skewY(-5deg);transform:skewY(-5deg)}._2eVIm{max-width:100%}._3njL-{min-height:80vh;position:relative;padding-top:128px;padding-top:8rem;margin-bottom:-48px;margin-bottom:-3rem;overflow:hidden;z-index:1}._2Osez{display:inline-block;margin:0 32px 32px 0;margin:0 2rem 2rem 0;color:#fff}._2Osez:hover{color:#777}._3Xnzz{margin:16px 32px 0 0;margin:1rem 2rem 0 0;color:#fff;display:inline-block}._2769X{padding-top:128px;padding-top:8rem}._1MaZd{top:inherit;bottom:-160px;bottom:-10rem;height:100vh}._3a4jf{background-color:#0b5dc4;background-size:cover;background-repeat:no-repeat;background-position:50%;margin-top:-20%}._35DiJ{width:160px}._2BNJx{margin-top:32px;margin-top:2rem}._2eVIm{padding:16px;padding:1rem;max-width:90%;max-height:100%}._3Phit{text-align:center}@media screen and (max-width:801px){._1MaZd{height:120vh}}@media screen and (max-width:601px){._1MaZd{height:220vh}}',""]),t.locals={error:"_393DT",coverSection:"_3uJTL",skewedSection:"w-rNl",skewedSectionNarrow:"Qy5h9",sectionBackground:"_2STjv",sectionBackgroundImage:"C1GWy",coverBackground:"_2R-zu",skewBackground:"_1EwYu",skewImage:"_22Lc9",coverImage:"_1897c",right:"_1EA1a",centerAlign:"_1D4tb",rightAlign:"_9_hdH",valignWrapper:"_1ZSII",bordered:"cAtjz",striped:"_2-19M",highlight:"_39dpw",centered:"_23j5I",container:"_1dX08",row:"_1x4sJ",section:"_3ZNOE","no-pad":"qIZ5x","no-pad-bot":"OfYUg","no-pad-top":"Cg_Cm",col:"_1e_F6",s1:"ukFze",s2:"_2E5Rl",s3:"_3UC66",s4:"sOg7g",s5:"_26vfr",s6:"mQ7HS",s7:"_1vQ0M",s8:"U1mxB",s9:"_263JC",s10:"_1LJ7K",s11:"_1joUU",s12:"_1xoMB","offset-s1":"yma8_","pull-s1":"_3w7CW","push-s1":"_254yz","offset-s2":"_24pZk","pull-s2":"_2uypl","push-s2":"_3cHV2","offset-s3":"Qu8JL","pull-s3":"_2Lt11","push-s3":"_2v6hp","offset-s4":"_1g67M","pull-s4":"_24d_0","push-s4":"_3ZczW","offset-s5":"_1ubAh","pull-s5":"_3Vpjc","push-s5":"_3PazN","offset-s6":"A0y6d","pull-s6":"_1cOGc","push-s6":"vgwM8","offset-s7":"_3Cnas","pull-s7":"_24-se","push-s7":"_3TAQR","offset-s8":"_3Pzjk","pull-s8":"_2pD-J","push-s8":"_18ADq","offset-s9":"_2hBu8","pull-s9":"_3OMRF","push-s9":"_3eJXg","offset-s10":"_2mogx","pull-s10":"KsPmV","push-s10":"-Hqm4","offset-s11":"_3efU3","pull-s11":"_1-k2Q","push-s11":"_2VkdI","offset-s12":"_3j5L7","pull-s12":"_1jzwW","push-s12":"_1QEtm",m1:"_14F-R",m2:"u7ldM",m3:"_24e2J",m4:"AgbiY",m5:"_3RcEF",m6:"_3n-vN",m7:"_3O6Rn",m8:"_8gRK-",m9:"_3DcyO",m10:"VoRMQ",m11:"ukocb",m12:"d6dQy","offset-m1":"bX2Hv","pull-m1":"_1T-Xe","push-m1":"_3GL4W","offset-m2":"_9XolN","pull-m2":"sof55","push-m2":"_2dHeI","offset-m3":"GKBw9","pull-m3":"_2ovnD","push-m3":"ZlONG","offset-m4":"_3s80S","pull-m4":"_1Gbvt","push-m4":"_1fX5g","offset-m5":"_1b78L","pull-m5":"_1IZl4","push-m5":"_34RQR","offset-m6":"_2XOl6","pull-m6":"_17ZFm","push-m6":"KtDZI","offset-m7":"aKQ8Y","pull-m7":"_3Z6n6","push-m7":"_3g-R5","offset-m8":"_2HJMx","pull-m8":"tr6E2","push-m8":"_1q3Pt","offset-m9":"IwavF","pull-m9":"_2tIst","push-m9":"rE1uy","offset-m10":"_165XE","pull-m10":"_2x39o","push-m10":"_1Xcs0","offset-m11":"_3sSxn","pull-m11":"_1BUmI","push-m11":"_1rRtR","offset-m12":"_2Mt_Q","pull-m12":"_3WPYg","push-m12":"d6tWs",l1:"_2xi2D",l2:"_1qq0m",l3:"_2BZ2k",l4:"_1Kpd0",l5:"_1DwAc",l6:"_1bjUo",l7:"_3vtP8",l8:"_1NZ4u",l9:"_1dJ3v",l10:"_38GDt",l11:"_1WOe8",l12:"d2Hsc","offset-l1":"_1luO4","pull-l1":"W25cr","push-l1":"_3WAOX","offset-l2":"_3FFTr","pull-l2":"_3N_Kw","push-l2":"_3ZfvG","offset-l3":"_1kVUE","pull-l3":"_28efr","push-l3":"_3iOTd","offset-l4":"_2xW8p","pull-l4":"_1sDwB","push-l4":"_2Oirp","offset-l5":"_3ohOG","pull-l5":"_2XhF1","push-l5":"_1hUZh","offset-l6":"_1Ywz7","pull-l6":"_3hsVD","push-l6":"_3lsN_","offset-l7":"_2XscK","pull-l7":"kJ9ns","push-l7":"_2Srkw","offset-l8":"_1VYI3","pull-l8":"F7CiP","push-l8":"_3x5Li","offset-l9":"_1ZCAV","pull-l9":"_3Ab70","push-l9":"_3P-oU","offset-l10":"_2iC-x","pull-l10":"_2zm8z","push-l10":"EL-U7","offset-l11":"_8knmY","pull-l11":"_1_Yl7","push-l11":"_1f7LT","offset-l12":"_2mD9T","pull-l12":"rrhsq","push-l12":"_6RXtl",header:"_3NO5x",headerBackground:"_2VzLH",referencesImg:"_2eVIm",footer:"_3njL-",footerPrimaryLink:"_2Osez",footerSecondaryLink:"_3Xnzz",footerLinksContainer:"_2769X",footerSkewBackground:"_1MaZd",footerBackground:"_3a4jf",circleLogo:"_35DiJ",copyRight:"_2BNJx",desc:"_3Phit"}},,,,,,,,,,,,,function(e,t,n){function o(e){return n(i(e))}function i(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./en_US":298,"./en_US.d.ts":1225,"./en_US.js":298,"./en_US.js.map":1226,"./tr_TR":455,"./tr_TR.d.ts":1227,"./tr_TR.js":455,"./tr_TR.js.map":1228};o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=1224},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var o=n(1176),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1177),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1178),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1180),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1181),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1182),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1183),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1184),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1186),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1187),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1188),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1189),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1190),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1191),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1192),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1193),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1195),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1196),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1197),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1198),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1199),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1200),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1202),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1203),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1205),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1206),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1207),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1208),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1209),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1210),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},function(e,t,n){var o=n(1211),i=n(24);"string"==typeof o&&(o=[[e.i,o,""]]),e.exports=o.locals||{},e.exports._getContent=function(){return o},e.exports._getCss=function(){return o.toString()},e.exports._insertCss=function(e){return i(o,e)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){function o(e){return n(i(e))}function i(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./af":517,"./af.js":517,"./ar":524,"./ar-dz":518,"./ar-dz.js":518,"./ar-kw":519,"./ar-kw.js":519,"./ar-ly":520,"./ar-ly.js":520,"./ar-ma":521,"./ar-ma.js":521,"./ar-sa":522,"./ar-sa.js":522,"./ar-tn":523,"./ar-tn.js":523,"./ar.js":524,"./az":525,"./az.js":525,"./be":526,"./be.js":526,"./bg":527,"./bg.js":527,"./bm":528,"./bm.js":528,"./bn":530,"./bn-bd":529,"./bn-bd.js":529,"./bn.js":530,"./bo":531,"./bo.js":531,"./br":532,"./br.js":532,"./bs":533,"./bs.js":533,"./ca":534,"./ca.js":534,"./cs":535,"./cs.js":535,"./cv":536,"./cv.js":536,"./cy":537,"./cy.js":537,"./da":538,"./da.js":538,"./de":541,"./de-at":539,"./de-at.js":539,"./de-ch":540,"./de-ch.js":540,"./de.js":541,"./dv":542,"./dv.js":542,"./el":543,"./el.js":543,"./en-au":544,"./en-au.js":544,"./en-ca":545,"./en-ca.js":545,"./en-gb":546,"./en-gb.js":546,"./en-ie":547,"./en-ie.js":547,"./en-il":548,"./en-il.js":548,"./en-in":549,"./en-in.js":549,"./en-nz":550,"./en-nz.js":550,"./en-sg":551,"./en-sg.js":551,"./eo":552,"./eo.js":552,"./es":556,"./es-do":553,"./es-do.js":553,"./es-mx":554,"./es-mx.js":554,"./es-us":555,"./es-us.js":555,"./es.js":556,"./et":557,"./et.js":557,"./eu":558,"./eu.js":558,"./fa":559,"./fa.js":559,"./fi":560,"./fi.js":560,"./fil":561,"./fil.js":561,"./fo":562,"./fo.js":562,"./fr":565,"./fr-ca":563,"./fr-ca.js":563,"./fr-ch":564,"./fr-ch.js":564,"./fr.js":565,"./fy":566,"./fy.js":566,"./ga":567,"./ga.js":567,"./gd":568,"./gd.js":568,"./gl":569,"./gl.js":569,"./gom-deva":570,"./gom-deva.js":570,"./gom-latn":571,"./gom-latn.js":571,"./gu":572,"./gu.js":572,"./he":573,"./he.js":573,"./hi":574,"./hi.js":574,"./hr":575,"./hr.js":575,"./hu":576,"./hu.js":576,"./hy-am":577,"./hy-am.js":577,"./id":578,"./id.js":578,"./is":579,"./is.js":579,"./it":581,"./it-ch":580,"./it-ch.js":580,"./it.js":581,"./ja":582,"./ja.js":582,"./jv":583,"./jv.js":583,"./ka":584,"./ka.js":584,"./kk":585,"./kk.js":585,"./km":586,"./km.js":586,"./kn":587,"./kn.js":587,"./ko":588,"./ko.js":588,"./ku":589,"./ku.js":589,"./ky":590,"./ky.js":590,"./lb":591,"./lb.js":591,"./lo":592,"./lo.js":592,"./lt":593,"./lt.js":593,"./lv":594,"./lv.js":594,"./me":595,"./me.js":595,"./mi":596,"./mi.js":596,"./mk":597,"./mk.js":597,"./ml":598,"./ml.js":598,"./mn":599,"./mn.js":599,"./mr":600,"./mr.js":600,"./ms":602,"./ms-my":601,"./ms-my.js":601,"./ms.js":602,"./mt":603,"./mt.js":603,"./my":604,"./my.js":604,"./nb":605,"./nb.js":605,"./ne":606,"./ne.js":606,"./nl":608,"./nl-be":607,"./nl-be.js":607,"./nl.js":608,"./nn":609,"./nn.js":609,"./oc-lnc":610,"./oc-lnc.js":610,"./pa-in":611,"./pa-in.js":611,"./pl":612,"./pl.js":612,"./pt":614,"./pt-br":613,"./pt-br.js":613,"./pt.js":614,"./ro":615,"./ro.js":615,"./ru":616,"./ru.js":616,"./sd":617,"./sd.js":617,"./se":618,"./se.js":618,"./si":619,"./si.js":619,"./sk":620,"./sk.js":620,"./sl":621,"./sl.js":621,"./sq":622,"./sq.js":622,"./sr":624,"./sr-cyrl":623,"./sr-cyrl.js":623,"./sr.js":624,"./ss":625,"./ss.js":625,"./sv":626,"./sv.js":626,"./sw":627,"./sw.js":627,"./ta":628,"./ta.js":628,"./te":629,"./te.js":629,"./tet":630,"./tet.js":630,"./tg":631,"./tg.js":631,"./th":632,"./th.js":632,"./tk":633,"./tk.js":633,"./tl-ph":634,"./tl-ph.js":634,"./tlh":635,"./tlh.js":635,"./tr":636,"./tr.js":636,"./tzl":637,"./tzl.js":637,"./tzm":639,"./tzm-latn":638,"./tzm-latn.js":638,"./tzm.js":639,"./ug-cn":640,"./ug-cn.js":640,"./uk":641,"./uk.js":641,"./ur":642,"./ur.js":642,"./uz":644,"./uz-latn":643,"./uz-latn.js":643,"./uz.js":644,"./vi":645,"./vi.js":645,"./x-pseudo":646,"./x-pseudo.js":646,"./yo":647,"./yo.js":647,"./zh-cn":648,"./zh-cn.js":648,"./zh-hk":649,"./zh-hk.js":649,"./zh-mo":650,"./zh-mo.js":650,"./zh-tw":651,"./zh-tw.js":651};o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=1496},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){n(700),e.exports=n(699)}],[1709]);