1import{a as de}from"./chunk-OQ4TCBCQ.js";import{a as Nt}from"./chunk-2477KWTZ.js";import"./chunk-AJAGWQON.js";import{a as Lt}from"./chunk-UW7TFERP.js";import"./chunk-KCXI7NUV.js";import"./chunk-5ZUP7DSK.js";import"./chunk-BW3DBL3K.js";import"./chunk-TL3WXXGW.js";import{a as Vt,b as Rt}from"./chunk-6EHYVYBV.js";import{a as Ft,b as At}from"./chunk-SDD36N7Y.js";import"./chunk-ESH6AJA3.js";import"./chunk-6EWOSUFM.js";import"./chunk-QQVAA6BO.js";import"./chunk-UJPH36YJ.js";import{a as It}from"./chunk-HAULAA4T.js";import{a as Z}from"./chunk-75C5TFIE.js";import{a as kt}from"./chunk-EADZQEFU.js";import{a as Pt}from"./chunk-V3BQDQJC.js";import"./chunk-GYFHGFEJ.js";import{b as Et}from"./chunk-WTUVN6DR.js";import"./chunk-QTXGFRE6.js";import{b as Dt}from"./chunk-4RTDJOEW.js";import{a as Tt}from"./chunk-J3633N5L.js";import"./chunk-EPCX444V.js";import"./chunk-XYCZG6EI.js";import"./chunk-KSPRCCK7.js";import"./chunk-KSQGRLGC.js";import"./chunk-7KRUHQWV.js";import{a as wt}from"./chunk-NYCKQD77.js";import"./chunk-QR3J6KRZ.js";import"./chunk-E7HV55BF.js";import"./chunk-LIO46HME.js";import"./chunk-HGIBWS5A.js";import"./chunk-Y5HDYT73.js";import"./chunk-WDI3YZKM.js";import"./chunk-TRKHOV73.js";import"./chunk-NE7QIBGA.js";import"./chunk-O3DZWUYU.js";import"./chunk-X42GTVFF.js";import"./chunk-JA3TLQKN.js";import"./chunk-GU2FORAA.js";import"./chunk-NSZQHTHC.js";import{c as xt}from"./chunk-XQKDUXSK.js";import"./chunk-KB2L5ZDN.js";import{a as Mt,b as bt}from"./chunk-5M4Y625P.js";import"./chunk-XL5MDTED.js";import"./chunk-DUA22LOF.js";import{a as yt}from"./chunk-OXXAYQVU.js";import"./chunk-7E5C6QEM.js";import"./chunk-QUDN46XZ.js";import"./chunk-MMBANZD3.js";import"./chunk-UTEUPMSH.js";import"./chunk-O7AZBXAP.js";import"./chunk-DI6ZWPYY.js";import"./chunk-TGPJ3R7Z.js";import"./chunk-6JR2UR3Y.js";import"./chunk-QSXKPETD.js";import"./chunk-XQUZO2JR.js";import"./chunk-JDDSOU6U.js";import"./chunk-V3245JVX.js";import"./chunk-L2NZRRA3.js";import"./chunk-XQVWBFSF.js";import"./chunk-VM7YL3JR.js";import{a as Ct}from"./chunk-5JGV2R7G.js";import"./chunk-JJQ3SAF4.js";import"./chunk-MXRO5YKQ.js";import"./chunk-WUXE5G2M.js";import"./chunk-WS5IS3UF.js";import{a as vt}from"./chunk-NREWKZHS.js";import"./chunk-OGPCZA4S.js";import"./chunk-NII3ONC2.js";import"./chunk-IA4BIHPN.js";import"./chunk-HWD6DZMR.js";import"./chunk-KJKDN4Z7.js";import"./chunk-WZOFKC7B.js";import{a as St}from"./chunk-27NJOPWT.js";import{a as ft}from"./chunk-DQD3VLWQ.js";import"./chunk-FGXNUQX4.js";import"./chunk-JVRNJPL7.js";import"./chunk-763WD2A2.js";import{a as tt}from"./chunk-Z2HMW2IQ.js";import"./chunk-4MPIUD7L.js";import"./chunk-7KGU3KC6.js";import"./chunk-3A47ROCO.js";import"./chunk-OMAR6RBO.js";import"./chunk-VOQH6L45.js";import{a as ht}from"./chunk-FXQ5ITI2.js";import"./chunk-GIDJVD54.js";import"./chunk-72DQ4U6K.js";import"./chunk-25YTDFSJ.js";import{a as X,b as nt,c as at}from"./chunk-FEM5WDYS.js";import{k as G,l as it}from"./chunk-4HEIS64P.js";import"./chunk-TQBFZH74.js";import"./chunk-CAFQQJ3Z.js";import"./chunk-NTEZ6HBD.js";import"./chunk-LKHYAKIP.js";import{a as ot,b as rt,c as lt,d as st,e as mt,f as ct,g as pt,h as dt,i as ut,j as _t,l as gt,m as pe}from"./chunk-QCAG6HG6.js";import"./chunk-HZ3WYMWQ.js";import"./chunk-ARZGPVXK.js";import{a as We,b as Ge}from"./chunk-QF27IOQE.js";import{a as Xe}from"./chunk-XRJHSHSG.js";import"./chunk-JE2WTDKI.js";import"./chunk-LO5GPMW5.js";import"./chunk-NKJNLA4H.js";import"./chunk-WL334ETE.js";import{g as je}from"./chunk-WDIOLPZ2.js";import{a as et}from"./chunk-LFVYZXVL.js";import{b as Ze}from"./chunk-JBGTHU2Q.js";import"./chunk-X6WED2AZ.js";import"./chunk-WBTZD3PJ.js";import"./chunk-J6U6M7TF.js";import"./chunk-IR2QGIVV.js";import"./chunk-WU5OWFCN.js";import"./chunk-F5IQZLEF.js";import"./chunk-ARHRSX7S.js";import"./chunk-56U2VUAK.js";import"./chunk-YA3REOTQ.js";import"./chunk-7A2ODJHX.js";import"./chunk-HB4JGH6L.js";import"./chunk-HO7Z6GDI.js";import"./chunk-IHLDGMX5.js";import"./chunk-YFJ6KMKI.js";import"./chunk-BZ5C7JNQ.js";import"./chunk-FPCIQYGC.js";import"./chunk-FHCTE6FP.js";import{e as Ue}from"./chunk-E34OQ4RJ.js";import"./chunk-H4EPMV5Z.js";import{d as Be}from"./chunk-TMOWVKQC.js";import"./chunk-MYI3YS2M.js";import"./chunk-JN6AA4VD.js";import{a as Qe}from"./chunk-ZSHO3KMD.js";import"./chunk-QVGEDMLN.js";import"./chunk-UZY2R5Q5.js";import"./chunk-5GAGQHFR.js";import{h as Ke}from"./chunk-RYT6C367.js";import"./chunk-SNZM6YGS.js";import"./chunk-33XKUF6S.js";import"./chunk-3PGMBZAP.js";import{a as ce}from"./chunk-FQFO62CD.js";import"./chunk-VT7CJSCD.js";import"./chunk-346ISJSG.js";import{a as W}from"./chunk-DLH4J2ZV.js";import"./chunk-A43BTBOJ.js";import"./chunk-67IT4HQ6.js";import"./chunk-2BXTPQTP.js";import"./chunk-JED7GRQQ.js";import"./chunk-ZECF2WJA.js";import"./chunk-G27UVVZT.js";import{a as qe}from"./chunk-PNYSZFNB.js";import"./chunk-Y3MTRBLK.js";import"./chunk-XMBPLYUK.js";import"./chunk-QRMJLQVM.js";import"./chunk-24HYNKH3.js";import{a as Ye}from"./chunk-D4PVEYVW.js";import"./chunk-XQ3OH5B7.js";import{g as Je}from"./chunk-XAMY6DUE.js";import"./chunk-DE65ZGA7.js";import"./chunk-65I45D2I.js";import"./chunk-GZL4NBTB.js";import{a as He}from"./chunk-OMIAKVTT.js";import{B as Re,C as Oe,D as $e,J as ze,k as ye,l as we,m as Te,n as De,o as Ee,p as Pe,q as ke,r as Ie,t as Ne,v as Fe,x as Le,y as Ve,z as Ae}from"./chunk-3XCK7DOC.js";import"./chunk-PJWNDC7A.js";import{M as Y,N as be}from"./chunk-QDFFLVTB.js";import"./chunk-JIVZONLP.js";import"./chunk-S43ITSQ5.js";import{e as se,h as xe,i as Me,k as me}from"./chunk-5FWAKVG3.js";import{i as he,j as fe,k as Se,p as ve,q as Ce,z as J}from"./chunk-KAXBUATZ.js";import{$c as O,A as _e,Cc as p,Cd as q,Dc as a,Dd as B,Ec as r,Ed as k,Fa as L,Fc as T,Fd as U,Jb as m,Jc as S,Jd as b,Kc as v,Kd as A,Lc as re,Oc as M,Od as I,Pd as le,Sa as h,Ta as f,Vc as C,Wb as x,Xc as u,ad as $,bc as Q,bd as z,cc as V,fd as j,gc as d,hd as ge,i as K,jd as
1s,kd as E,ld as _}from"./chunk-XW6AEKHB.js";import{a as oe,l as D}from"./chunk-6G35VSEK.js";function Jt(t,o){if(t&1&&(a(0,"tr")(1,"td"),s(2),r(),a(3,"td",9)(4,"span"),s(5),r()()()),t&2){let e=o.$implicit;m(2),_(" ",e.meeting.title||e.PK," "),m(2),ge("text-danger",!e.success)("text-success",e.success),m(),E(e.message)}}var Ot=(()=>{class t{constructor(e){this.activeModal=e,this.type="private"}static{this.\u0275fac=function(i){return new(i||t)(x(Ie))}}static{this.\u0275cmp=Q({type:t,selectors:[["app-action-log"]],decls:18,vars:3,consts:[[1,"modal-header"],[1,"modal-title"],["type","button","aria-label","Close",1,"btn-close",3,"click"],["aria-hidden","true"],[1,"modal-body","modal-body-logs","p-0"],[1,"table","w-100","m-0"],[4,"ngFor","ngForOf"],[1,"modal-footer"],["type","button",1,"btn","btn-secondary",3,"click"],["width","30%"]],template:function(i,n){i&1&&(a(0,"div",0)(1,"h4",1),s(2),r(),a(3,"button",2),C("click",function(){return n.activeModal.dismiss()}),a(4,"span",3),s(5,"\xD7"),r()()(),a(6,"div",4)(7,"table",5)(8,"thead")(9,"th"),s(10),r(),a(11,"th"),s(12,"Status"),r()(),a(13,"tbody"),d(14,Jt,6,6,"tr",6),r()()(),a(15,"div",7)(16,"button",8),C("click",function(){return n.activeModal.dismiss()}),s(17,"Close"),r()()),i&2&&(m(2),E(n.title||"Result"),m(8),E(n.type==="demo"?"Demo":"Meeting"),m(4),p("ngForOf",n.actionLog))},dependencies:[fe],styles:[".modal-body-logs[_ngcontent-%COMP%]{max-height:500px;overflow:scroll}"]})}}return t})();var $t=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=V({type:t})}static{this.\u0275inj=L({imports:[J,Y,be,It,Ye,W,Dt,ye,Ct,ze,je,Pt]})}}return t})();var Yt=["privateSort"],Wt=["demoSort"],Gt=()=>["matchmaking"],zt=()=>[50,100,150,200,300,500],jt=t=>[t],te=(t,o)=>[t,!1,!0,"MM/DD/yyyy hh:mm A",o],ie=(t,o)=>[t,!1,!0,"MM/DD/yyyy HH:mm",o],ue=(t,o,e)=>({"text-success":t,"text-warning":o,"text-danger":e}),Bt=t=>({cntObj:t});function Xt(t,o){if(t&1&&(a(0,"span"),s(1),r()),t&2){let e=u();m(),_("(",e.selectedMeetingRows.length,")")}}function Zt(t,o){if(t&1){let e=M();S(0),a(1,"button",15),C("click",function(){h(e);let n=u();return f(n.actionDemo("approve"))}),s(2,"Approve"),r(),a(3,"button",15),C("click",function(){h(e);let n=u();return f(n.actionDemo("decline"))}),s(4,"Decline"),r(),v()}}function ei(t,o){t&1&&T(0,"mat-spinner",29)}function ti(t,o){if(t&1){let e=M();a(0,"button",15),C("click",function(){h(e);let n=u();return f(n.export())}),s(1),r()}if(t&2){let e=u();m(),_(" Export ",e.bespoke.isHPDrupa2024?"meetings":""," ")}}function ii(t,o){if(t&1){let e=M();a(0,"button",15),C("click",function(){h(e);let n=u();return f(n.exportDemo())}),s(1," Export demos "),r()}}function ni(t,o){if(t&1){let e=M();a(0,"button",15),C("click",function(){h(e);let n=u();return f(n.sendPending())}),s(1," Send pending for approval email "),r()}}function ai(t,o){if(t&1){let e=M();a(0,"button",15),C("click",function(){h(e);let n=u();return f(n.notifyPending())}),s(1," Notify attendees with pending meetings "),r()}}function oi(t,o){t&1&&(a(0,"button",30),s(1," Matchmaking "),r()),t&2&&p("routerLink",q(1,Gt))}function ri(t,o){if(t&1&&(S(0),a(1,"span"),s(2,"Meeting accepted: "),a(3,"strong"),s(4),r()(),a(5,"span",61),s(6,"Meeting pending: "),a(7,"strong"),s(8),r()(),a(9,"span",61),s(10,"Meetings cancelled: "),a(11,"strong"),s(12),r()(),v()),t&2){let e=u(2);m(4),E(e.privateCnt.accepted),m(4),E(e.privateCnt.pending),m(4),E(e.privateCnt.cancelled)}}function li(t,o){if(t&1){let e=M();a(0,"th",62)(1,"input",63),C("change",function(n){h(e);let c=u(2);return f(c.selectAll(c.dataSourcePrivate,n.target.checked))}),r()()}if(t&2){let e=u(2);m(),p("checked",e.masterSelected)}}function si(t,o){if(t&1){let e=M();a(0,"td",64)(1,"input",65),C("change",function(n){let c=h(e).$implicit,l=u(2);return f(l.selectedRow(l.dataSourcePrivate,n,c))}),r()()}if(t&2){let e=o.$implicit;m(),p("checked",e.checked)}}function mi(t,o){if(t&1&&(a(0,"th",66),s(1),r()),t&2){let e=u(2);m(),_(" ",e.bespoke.isHPDrupa2024?"Company name":"Title"," ")}}function ci(t,o){if(t&1&&(a(0,"td",64)(1,"a",67),s(2),r()()),t&2){let e=o.$implicit;m(),p("routerLink",B(2,jt,e.PK)),m(),_(" ",e.title," ")}}function pi(t,o){t&1&&(a(0,"th",66),s(1,"Host"),r())}
1function di(t,o){if(t&1&&(a(0,"td",64),s(1),r()),t&2){let e=o.$implicit;m(),_(" ",e.hostName," ")}}function ui(t,o){t&1&&(a(0,"th",66),s(1,"Participants"),r())}function _i(t,o){if(t&1&&(a(0,"td",64),s(1),r()),t&2){let e=o.$implicit;m(),_(" ",(e==null?null:e.attendeesName.length)===5?e==null?null:e.attendeesName.join(", ").concat("..."):e==null?null:e.attendeesName.join(", ")," ")}}function gi(t,o){t&1&&(a(0,"th",66),s(1,"Start time"),a(2,"sup"),s(3,"[*]"),r()())}function hi(t,o){if(t&1&&(a(0,"td",64),s(1),b(2,"dateFormat"),b(3,"dateFormat"),r()),t&2){let e=o.$implicit,i=u(2);m(),_(" ",i.agendaTimeFormat==="12-hour"?I(2,1,k(13,te,e.startTime,i.timezoneLabel)):I(3,7,k(16,ie,e.startTime,i.timezoneLabel))," ")}}function fi(t,o){t&1&&(a(0,"th",66),s(1,"End time"),a(2,"sup"),s(3,"[*]"),r()())}function Si(t,o){if(t&1&&(a(0,"td",64),s(1),b(2,"dateFormat"),b(3,"dateFormat"),r()),t&2){let e=o.$implicit,i=u(2);m(),_(" ",i.agendaTimeFormat==="12-hour"?I(2,1,k(13,te,e.endTime,i.timezoneLabel)):I(3,7,k(16,ie,e.endTime,i.timezoneLabel))," ")}}function vi(t,o){t&1&&(a(0,"th",66),s(1,"Location"),r())}function Ci(t,o){if(t&1&&(a(0,"td",64),s(1),r()),t&2){let e=o.$implicit;m(),_(" ",e==null?null:e.locationName," ")}}function xi(t,o){t&1&&(a(0,"th",66),s(1," Meeting type "),a(2,"span",68),T(3,"i",69),r()())}function Mi(t,o){if(t&1&&(a(0,"td",64),s(1),r()),t&2){let e=o.$implicit;m(),_(" ",e==null?null:e.meetingExperience," ")}}function bi(t,o){t&1&&(a(0,"th",66),s(1,"Video meeting"),r())}function yi(t,o){if(t&1&&(a(0,"td",64),s(1),r()),t&2){let e=o.$implicit;m(),_(" ",(e==null?null:e.meetOnCanapii)===!0?"Yes":"No"," ")}}function wi(t,o){t&1&&(a(0,"th",66),s(1,"Status"),r())}function Ti(t,o){if(t&1&&(a(0,"td",70),s(1),r()),t&2){let e=o.$implicit,i=u(2);p("ngClass",U(2,ue,e.newStatus==="Accepted",e.newStatus==="Pending",e.newStatus==="Cancelled"||e.newStatus==="Deleted")),m(),_(" ",i.renameLabel(e.newStatus)," ")}}function Di(t,o){t&1&&(a(0,"th",66),s(1,"Status"),r())}function Ei(t,o){if(t&1&&(a(0,"td",70),s(1),r()),t&2){let e=o.$implicit;p("ngClass",U(2,ue,e.demoStatus==="approved",e.demoStatus==="pending",e.demoStatus==="declined"||e.demoStatus==="deleted")),m(),_(" ",e.demoStatus," ")}}function Pi(t,o){t&1&&(a(0,"th",66),s(1,"Created"),r())}function ki(t,o){if(t&1&&(a(0,"td",64),s(1),b(2,"dateFormat"),r()),t&2){let e=o.$implicit;m(),_(" ",A(2,1,e.dateCreated)," ")}}function Ii(t,o){t&1&&T(0,"tr",71)}function Ni(t,o){t&1&&T(0,"tr",72)}function Fi(t,o){t&1&&T(0,"mat-spinner",73)}function Li(t,o){t&1&&(a(0,"div",74),s(1," No records found. "),r())}function Vi(t,o){if(t&1){let e=M();a(0,"div",31)(1,"div",9),d(2,ri,13,3,"ng-container",32),a(3,"div",11)(4,"button",33),s(5),r(),a(6,"div",34)(7,"app-mat-table-search-column",35),C("filterChange",function(){h(e);let n=u();return f(n.filterChange())})("filterLength",function(n){h(e);let c=u();return f(c.filterLength(n))})("setQueryParams",function(n){h(e);let c=u();return f(c.setQueryParams(n))}),r()()()(),a(8,"div",36)(9,"input",37),C("keyup",function(n){h(e);let c=u();return f(c.filter(n,"private"))}),r()()(),a(10,"div",38)(11,"table",39,3),C("matSortChange",function(n){h(e);let c=u();return f(c.sortChange(n))}),S(13,40),d(14,li,2,1,"th",41)(15,si,2,1,"td",42),v(),S(16,43),d(17,mi,2,1,"th",44)(18,ci,3,4,"td",42),v(),S(19,45),d(20,pi,2,0,"th",44)(21,di,2,1,"td",42),v(),S(22,46),d(23,ui,2,0,"th",44)(24,_i,2,1,"td",42),v(),S(25,47),d(26,gi,4,0,"th",44)(27,hi,4,19,"td",42),v(),S(28,48),d(29,fi,4,0,"th",44)(30,Si,4,19,"td",42),v(),S(31,49),d(32,vi,2,0,"th",44)(33,Ci,2,1,"td",42),v(),S(34,50),d(35,xi,4,0,"th",44)(36,Mi,2,1,"td",42),v(),S(37,51),d(38,bi,2,0,"th",44)(39,yi,2,1,"td",42),v(),S(40,52),d(41,wi,2,0,"th",44)(42,Ti,2,6,"td",53),v(),S(43,54),d(44,Di,2,0,"th",44)(45,Ei,2,6,"td",53),v(),S(46,55),d(47,Pi,2,0,"th",44)(48,ki,3,3,"td",42),v(),d(49,Ii,1,0,"tr",56)(50,Ni,1,0,"tr",57),r(),d(51,Fi,1,0,"mat-spinner",58)(52,Li,2,0,"div",59),a(53,"mat-paginator",60,4),C("page",function(){h(e);let n=u();return f(n.pageClick())}),r()()}if(t&2){let e=u(),i=j(51);m(2),p("ngIf",!e.bespoke.isHPDrupa2024)("ngIfElse",i),m(3),_(" Filter ",e.activeFilterLength?"("+e.activeFilterLength+")":""," "),m(2),p("attributes",e.filterableColumns)("dataSource",e.dataSourcePrivate)("queryParams",e.queryParams)("locationOption",e.locationOptionPrivate),m(4),p("dataSource",e.dataSourcePrivate),m(38),p("matHeaderRowDef",e.bespoke.isHPDrupa2024?e.demoColumnsToDisplay:e.columnsToDisplay),m(),p("matRowDefColumns",e.bespoke.isHPDrupa2024?e.demoColumnsToDisplay:e.columnsToDisplay),m(),p("ngIf",e.isLoading),m(),p("ngIf",!e.isLoading&&!e.dataSourcePrivate.data.length),m(),p("length",e.dataSourcePrivate==null||e.dataSourcePrivate.data==null?null:e.dataSourcePrivate.data.length)("pageSizeOptions",q(14,zt))}}function Ai(t,o){if(t&1){let e=M();a(0,"th",66)(1,"input",81),C("change",function(n){h(e);let c=u(3);return f(c.selectAll(c.dataSourceDemo,n.target.checked))}),r()()}if(t&2){let e=u(3);m(),p("checked",e.masterSelected)}}function Ri(t,o){if(t&1){let e=M();a(0,"td",64)(1,"input",82),C("change",function(n){let c=h(e).$implicit,l=u(3);return f(l.selectedRow(l.dataSourceDemo,n,c))}),r()()}if(t&2){let e=o.$implicit;m(),p("checked",e.checked)}}
1function Oi(t,o){if(t&1&&(a(0,"th",66),s(1),r()),t&2){let e=u(3);m(),_(" ",e.bespoke.isHPDrupa2024?"Company name":"Title"," ")}}function $i(t,o){if(t&1&&(a(0,"td",64)(1,"a",67),s(2),r()()),t&2){let e=o.$implicit;m(),p("routerLink",B(2,jt,e.PK)),m(),_(" ",e.title," ")}}function zi(t,o){t&1&&(a(0,"th",66),s(1,"Host"),r())}function ji(t,o){if(t&1&&(a(0,"td",64),s(1),r()),t&2){let e=o.$implicit;m(),_(" ",e.hostName," ")}}function Bi(t,o){t&1&&(a(0,"th",66),s(1,"Participants"),r())}function Hi(t,o){if(t&1&&(a(0,"td",64),s(1),r()),t&2){let e=o.$implicit;m(),_(" ",(e==null?null:e.attendeesName.length)===5?e==null?null:e.attendeesName.join(", ").concat("..."):e==null?null:e.attendeesName.join(", ")," ")}}function Ki(t,o){t&1&&(a(0,"th",66),s(1,"Start time"),a(2,"sup"),s(3,"[*]"),r()())}function Qi(t,o){if(t&1&&(a(0,"td",64),s(1),b(2,"dateFormat"),b(3,"dateFormat"),r()),t&2){let e=o.$implicit,i=u(3);m(),_(" ",i.agendaTimeFormat==="12-hour"?I(2,1,k(13,te,e.startTime,i.timezoneLabel)):I(3,7,k(16,ie,e.startTime,i.timezoneLabel))," ")}}function qi(t,o){t&1&&(a(0,"th",66),s(1,"End time"),a(2,"sup"),s(3,"[*]"),r()())}function Ui(t,o){if(t&1&&(a(0,"td",64),s(1),b(2,"dateFormat"),b(3,"dateFormat"),r()),t&2){let e=o.$implicit,i=u(3);m(),_(" ",i.agendaTimeFormat==="12-hour"?I(2,1,k(13,te,e.endTime,i.timezoneLabel)):I(3,7,k(16,ie,e.endTime,i.timezoneLabel))," ")}}function Ji(t,o){t&1&&(a(0,"th",66),s(1,"Product"),r())}function Yi(t,o){if(t&1&&(a(0,"td",64),s(1),r()),t&2){let e=o.$implicit;m(),_(" ",e==null?null:e.locationName," ")}}function Wi(t,o){t&1&&(a(0,"th",66),s(1,"Status"),r())}function Gi(t,o){if(t&1&&(a(0,"td",70),s(1),r()),t&2){let e=o.$implicit;p("ngClass",U(2,ue,e.demoStatus==="approved",e.demoStatus==="pending",e.demoStatus==="declined"||e.demoStatus==="deleted")),m(),_(" ",e.demoStatus," ")}}function Xi(t,o){t&1&&(a(0,"th",66),s(1,"Created"),r())}function Zi(t,o){if(t&1&&(a(0,"td",64),s(1),b(2,"dateFormat"),r()),t&2){let e=o.$implicit;m(),_(" ",A(2,1,e.dateCreated)," ")}}function en(t,o){t&1&&T(0,"tr",71)}function tn(t,o){t&1&&T(0,"tr",72)}function nn(t,o){t&1&&T(0,"mat-spinner",73)}function an(t,o){t&1&&(a(0,"div",74),s(1,"No records found."),r())}function on(t,o){if(t&1){let e=M();a(0,"div",31)(1,"div",9),re(2,77),a(3,"div",11)(4,"button",78),s(5),r(),a(6,"div",34)(7,"app-mat-table-search-column",35),C("filterChange",function(){h(e);let n=u(2);return f(n.filterChange())})("filterLength",function(n){h(e);let c=u(2);return f(c.filterLength(n))})("setQueryParams",function(n){h(e);let c=u(2);return f(c.setQueryParams(n))}),r()()()(),a(8,"div",36)(9,"input",37),C("keyup",function(n){h(e);let c=u(2);return f(c.filter(n,"demo"))}),r()()(),a(10,"div",38)(11,"table",79,5),S(13,40),d(14,Ai,2,1,"th",44)(15,Ri,2,1,"td",42),v(),S(16,43),d(17,Oi,2,1,"th",44)(18,$i,3,4,"td",42),v(),S(19,45),d(20,zi,2,0,"th",44)(21,ji,2,1,"td",42),v(),S(22,46),d(23,Bi,2,0,"th",44)(24,Hi,2,1,"td",42),v(),S(25,47),d(26,Ki,4,0,"th",44)(27,Qi,4,19,"td",42),v(),S(28,48),d(29,qi,4,0,"th",44)(30,Ui,4,19,"td",42),v(),S(31,49),d(32,Ji,2,0,"th",44)(33,Yi,2,1,"td",42),v(),S(34,54),d(35,Wi,2,0,"th",44)(36,Gi,2,6,"td",53),v(),S(37,55),d(38,Xi,2,0,"th",44)(39,Zi,3,3,"td",42),v(),d(40,en,1,0,"tr",56)(41,tn,1,0,"tr",57),r(),d(42,nn,1,0,"mat-spinner",58)(43,an,2,0,"div",59),T(44,"mat-paginator",80,6),r()}if(t&2){let e=u(2),i=j(49);m(2),p("ngTemplateOutlet",i)("ngTemplateOutletContext",B(14,Bt,e.demoCnt)),m(3),_(" Filter ",e.activeFilterLength?"("+e.activeFilterLength+")":""," "),m(2),p("attributes",e.demoFilterableColumns)("dataSource",e.dataSourceDemo)("queryParams",e.queryParams)("locationOption",e.locationOptionDemo),m(4),p("dataSource",e.dataSourceDemo),m(29),p("matHeaderRowDef",e.demoColumnsToDisplay),m(),p("matRowDefColumns",e.demoColumnsToDisplay),m(),p("ngIf",e.isLoading),m(),p("ngIf",!e.isLoading&&!e.dataSourceDemo.data.length),m(),p("length",e.dataSourceDemo==null||e.dataSourceDemo.data==null?null:e.dataSourceDemo.data.length)("pageSizeOptions",q(16,zt))}}function rn(t,o){if(t&1){let e=M();S(0,75),a(1,"a",76),C("click",function(){h(e);let n=u();return f(n.resetData("demo"))}),s(2,"Demo"),r(),d(3,on,46,17,"ng-template",26),v()}}function ln(t,o){if(t&1&&(a(0,"span"),s(1,"Approved: "),a(2,"strong"),s(3),r()(),a(4,"span",61),s(5,"Pending approval: "),a(6,"strong"),s(7),r()(),a(8,"span",61),s(9,"Declined: "),a(10,"strong"),s(11),r()()),t&2){let e=o.cntObj;m(3),E(e.accepted),m(4),E(e.pending),m(4),E(e.cancelled)}}function sn(t,o){if(t&1&&re(0,77),t&2){let e=u(),i=j(49);p("ngTemplateOutlet",i)("ngTemplateOutletContext",B(2,Bt,e.privateCnt))}}var ne=(()=>{class t{constructor(e,i,n,c,l,g,y,F,P,N,w,R,H,ae,Kt,Qt,qt){this.modalService=e,this.meetingService=i,this.router=n,this.activatedRoute=c,this.eventService=l,this.csvDownloadService=g,this.utilitiesService=y,this.attendeeService=F,this.auditTrailService=P,this.settingService=N,this.bespoke=w,this.toastService=R,this.settingfieldService=H,this.route=ae,this.bespokeService=Kt,this.apiService=Qt,this.locationsService=qt,this.privateSort=new X,this.demoSort=new X,this.filterableColumns=[{key:"title",name:"Title"},...this.bespoke.isHPDrupa2024?[{key:"demoStatus",name:"Status",type:"select",options:[{name:"Approved",value:"approved"},{name:"Pending",value:"pending"},{name:"Declined",value:"declined"}]}]:[{key:"newStatus",name:"Status",type:"select",options:[{name:"Accepted",value:"Accepted"},{name:"Pending",value:"Pending"},{name:"Cancelled",value:"Cancelled"}]},{key:"meetOnCanapii",name:"Video meeting",type:"select",options:[{value:!0,name:"Yes"},{value:!1,name:"No"}]}],{key:"locationName",name:"Location",type:"multi-select",options:[]}],this.demoFilterableColumns=[{key:"title",name:"Title"},{key:"demoStatus",name:"Status",type:"select",options:[{name:"Approved",value:"approved"},{name:"Pending",value:"pending"},{name:"Declined",value:"declined"}]},{key:"locationName",name:"Product",type:"multi-select",options:[]}],this.columnsToDisplay=["checked","title","hostName","attendeesName","startTime","endTime","locationName","meetingExperience","meetOnCanapii","newStatus","dateCreated"],this.demoColumnsToDisplay=["checked","title","hostName","attendeesName","startTime","endTime","locationName","drupaStatus","dateCreated"],this.dataSourcePrivate=new pe([]),this.dataSourceDemo=new pe([]),this.privateCnt={accepted:0,pending:0,declined:0,cancelled:0},this.demoCnt={accepted:0,pending:0,declined:0,cancelled:0},this.isLoading=!0,this.isSMSNotifLoading=!1,this.isDemoMeetingShow=!1,this.agendaTimeFormat="",this.timezoneLabel="",this.selectedMeetingRows=[],this.masterSelected=!1,this.locationOptionPrivate=[],this.locationOptionDemo=[],this.subscription$=[],this.attendees=[],this.attendees$=ne
1w K([]),this.meetings$=new K([]),this.meetings=[],this.locations=[],this.activeFilterLength=null,this.isVSef$=new K(!1),this.selectedMeetingType="private",this.privateFilter=null,this.demoFilter=null}ngOnInit(){this.getQueryParams(),this.eventFormat=this.eventService.data.eventFormat,this.subscription$.push(this.attendeeService.onAttendeesChanged(e=>{this.attendees$.next(e)})),this.subscription$.push(this.meetingService.onChanged(e=>{this.meetings$.next(e)})),this.subscription$.push(_e([this.attendees$,this.meetings$,this.locationsService.locationsObservable]).subscribe(([e,i,n])=>{let c=i===this.meetings;this.attendees=e,this.meetings=i,this.locations=n,this.loadData(c)})),this.attendeeService.load(),this.settingService.getSetting("other-features").then(e=>{e&&(this.otherFeatures=oe(oe({},this.otherFeatures),e.data),this.isVSef$.next(this.otherFeatures.vsefCompliant))}),this.meetingService.load(!0),this.locationsService.loadData(),this.agendaTimeFormat=this.eventService.data.agendaTimeFormat?this.eventService.data.agendaTimeFormat:"12-hour",this.timezoneLabel=this.eventService.data.timezone?this.eventService.data.timezone:"",this.loadMenu(),this.activatedRoute.fragment.subscribe(e=>{Mt(e)?this.selectedMeetingType=e:this.selectedMeetingType="private"})}afterViewInit(){this.dataSourcePrivate.paginator=this.paginatorPrivate,this.dataSourcePrivate.sort=this.privateSort}loadData(e=!1){if(this.attendees!==null&&this.meetings!==null&&this.attendees.length&&this.meetings.length){let i=[...this.meetings].map(l=>{let g=this.attendees.find(P=>l.host===P.PK);g&&(l.hostName=g.firstName+" "+g.lastName),l.origLocationName=l?.origLocationName||l?.locationName||"";let y=l?.origLocationName,F=this.locations.find(P=>P.PK===l.locationId);if(l.locationName=y,F?.enableTableManagement&&l?.tableNumber){let P=this.locationsService.getTableNames(F)||[],N=l.tableNumber?P[l.tableNumber-1]:"";l.locationName=N?`${y} - ${N}`:y}return l});e||(this.selectedMeetingRows=[],this.masterSelected=!1),this.privateCnt={accepted:0,pending:0,declined:0,cancelled:0},this.demoCnt={accepted:0,pending:0,declined:0,cancelled:0},this.dataSourcePrivate.data=i.filter(l=>l.status!=="deleted"&&!l.microSponsorNoAccess&&l.type!=="demo"),this.dataSourcePrivate.paginator=this.paginatorPrivate,this.dataSourcePrivate.sort=this.privateSort;let n=this.dataSourcePrivate.data.filter(l=>typeof l?.locationName<"u"&&l?.locationName!=="").map(l=>l.locationName);this.locationOptionPrivate=[...new Set(n)],this.dataSourceDemo.data=i.filter(l=>l.type==="demo"&&l.status!=="deleted"),this.dataSourceDemo.paginator=this.paginatorDemo,this.dataSourceDemo.sort=this.demoSort;let c=this.dataSourceDemo.data.filter(l=>typeof l?.locationName<"u"&&l?.locationName!=="").map(l=>l.locationName);this.locationOptionDemo=[...new Set(c)],this.dataSourcePrivate.data.forEach(l=>{this.bespoke.isHPDrupa2024?l.demoStatus==="pending"?this.privateCnt.pending++:l.demoStatus==="approved"?this.privateCnt.accepted++:l.demoStatus==="declined"&&this.privateCnt.cancelled++:l.newStatus==="Pending"?this.privateCnt.pending++:l.newStatus==="Approved"||l.newStatus==="Accepted"?(this.privateCnt.accepted++,l.newStatus="Accepted"):l.newStatus==="Cancelled"&&this.privateCnt.cancelled++,typeof l?.meetOnCanapii>"u"&&(l.meetOnCanapii=!0),String(this.eventFormat).toLowerCase()==="virtual"?l.meetingExperience="Virtual":String(this.eventFormat).toLowerCase()==="hybrid"&&l.meetOnCanapii?l.meetingExperience="Both":l.meetingExperience="Onsite",l.meetingExperience=l.isRoundtable?l.meetingExperience+", Roundtable":l.meetingExperience}),this.dataSourceDemo.data.forEach(l=>{l.demoStatus==="pending"?this.demoCnt.pending++:l.demoStatus==="approved"?this.demoCnt.accepted++:l.demoStatus==="declined"&&this.demoCnt.cancelled++})}this.isLoading=!1}loadMenu(){return D(this,null,function*(){this.isDemoMeetingShow=this.bespoke.isHPDrupa2024})}ngOnDestroy(){this.subscription$.forEach(e=>e.unsubscribe())}filter(e,i){let n=e.target.value;i==="private"?(this.dataSourcePrivate.filter=n.trim().toLowerCase(),this.paginatorPrivate.firstPage()):i==="demo"&&(this.dataSourceDemo.filter=n.trim().toLowerCase(),this.paginatorDemo.firstPage())}create(){let e=this.modalService.open(Z,{backdrop:"static"});e.componentInstance.type=this.selectedMeetingType,e.result.then(i=>{this.router.navigate([i.PK],{relativeTo:this.activatedRoute})}).catch(i=>{})}export(){return D(this,null,function*(){yield this.meetingService.load(!0);let[e,i]=yield Promise.all([this.settingfieldService.load(!0,!1,!0),this.meetingService.export(this.otherFeatures.vsefCompliant)]);if(i.length){let n=this.otherFeatures.vsefCompliant?["Meeting_ID","Meeting_start_time","Meeting_end_time","Sender_participant_ID","Receiver_participant_ID","Time_of_invite","Invitation_status","Time_of_acceptance_rejection","Meeting_outcome","Event_ID","Last_updated_timestamp"]:[...this.bespoke.isHPDrupa2024?[["Company name","Title"]]:["Title"],"Description","Start time","End time","Location","Video meeting","Acceptance status","Date created","Organizer","Organizer email","Attended","Accepted","Pending","Proposed New Time","Declined","Company accepted","Link",...this.bespoke.isHPDrupa2024?["External invites"]:[],...e.map(y=>y?.name),"Meeting ID","Schedule Status"],c=this.eventService.data.url,l=new Date().toISOString(),g=de(i.toString(),e,this.meetings);this.csvDownloadService.fromCsv(`meetings_${c}_${l}
1'.csv`,g,n),yield this.auditTrailService.create(this.auditTrailService.ActionEnum.Export)}})}exportDemo(){return D(this,null,function*(){try{yield this.settingfieldService.load(!0,!1,!0).then(e=>D(this,null,function*(){let i=e.map(c=>c?.name);yield this.meetingService.load(!0);let n=yield this.meetingService.export(!1,!0);if(n.length){let c=[["Company name","Title"],"Description","Start time","End time","Product","Video meeting","Acceptance status","Date created","Organizer","Organizer email","Attended","Accepted","Pending","Proposed New Time","Declined","Company accepted","Link","External invites",...i,"Meeting ID"],l=de(n.toString(),e,this.meetings);this.csvDownloadService.fromCsv("canapii-demo-"+new Date().toISOString()+".csv",l,c),yield this.auditTrailService.create(this.auditTrailService.ActionEnum.Export)}}))}catch(e){e instanceof Error&&e.message?this.toastService.showDanger("Error on generating report.",e.message):this.toastService.showDanger("Error on generating report.","Please try again.")}})}sendPending(){return D(this,null,function*(){let e=this.utilitiesService.confirm({header:"Send pending for approval email",message:"This will send an email to attendees who have pending meetings to approve. They can only receive this email once every 24 hours."});try{yield e.result;let i=yield this.meetingService.sendPending();i.success?this.utilitiesService.alert({header:"Success",message:`Sent ${i.data.length} emails.`}):this.utilitiesService.alert({header:"Failed",message:"Failed to send pending email."})}catch{}})}notifyPending(){return D(this,null,function*(){let e=this.utilitiesService.confirm({header:"Send SMS notification",message:"This will send a SMS notification to attendees who has pending meetings to approve. They can only received this SMS once per day."});try{yield e.result,this.isSMSNotifLoading=!0;let i=yield this.meetingService.notifyAttendeesWithPendingMeetings();i?.success&&(this.utilitiesService.alert({header:"Success",message:`Sent ${i.data.length} sms notifications.`}),this.isSMSNotifLoading=!1)}catch{this.isSMSNotifLoading=!1}})}renameLabel(e){let i;return e==="approved"||e==="Approved"?i="Accepted":e==="rejected"||e==="Rejected"?i="Declined":i=e,i}resetData(e){this.queryParams=null,this.selectedMeetingRows=[],this.masterSelected=!1,this.activeFilterLength=null,e==="private"?(this.dataSourcePrivate.filter="",this.dataSourcePrivate.data.forEach(i=>i.checked=!1),setTimeout(()=>{this.dataSourcePrivate.paginator=this.paginatorPrivate,this.dataSourcePrivate.sort=this.privateSort})):e==="demo"&&(this.dataSourceDemo.filter="",this.dataSourceDemo.data.forEach(i=>i.checked=!1),setTimeout(()=>{this.dataSourceDemo.paginator=this.paginatorDemo,this.dataSourceDemo.sort=this.demoSort})),this.router.navigate([],{replaceUrl:!0,fragment:e}),sessionStorage.removeItem("privateFilter"),sessionStorage.removeItem("demoFilter")}updateLocation(){let e=this.modalService.open(Ft,{backdrop:"static"});e.componentInstance.meetingPKs=this.selectedMeetingRows,e.componentInstance.meetings=this.meetings,e.componentInstance.isDemo=this.selectedMeetingType==="demo",e.result.then(i=>{i&&this.meetingService.load(!0)}).catch(i=>{})}bulkCancel(){return D(this,null,function*(){let e=this.paginatorPrivate.pageIndex,i=this.paginatorPrivate.pageSize,n=this.dataSourcePrivate.filteredData.filter(g=>this.selectedMeetingRows.includes(g.PK)&&g.status!=="cancelled"),c=this.utilitiesService.confirm({header:"Cancel meetings",message:"Are you sure you want to cancel selected meetings?"}),l=n.map(g=>g.PK);try{yield c.result,yield this.apiService.put("/emp/meetings/action",{body:{PKs:l},queryStringParameters:{action:"bulkCancelMeeting"}}),(yield this.meetingService.load(!0))&&(this.paginatorPrivate.pageIndex=e,this.paginatorPrivate.pageSize=i,this.dataSourcePrivate.paginator=this.paginatorPrivate,this.toastService.showSuccess("Success","Selected meetings has been cancelled"))}catch{}})}toTitleCase(e){return e.replace(/\w\S*/g,i=>i.charAt(0).toUpperCase()+i.substr(1).toLowerCase())}selectAll(e,i){let n=this.paginatorPrivate.pageIndex*this.paginatorPrivate.pageSize,c=this.paginatorPrivate.pageSize+n,l=e.filteredData.slice(n,c);i===!0?l.map(g=>(g.checked=!0,this.selectedMeetingRows.includes(g.PK)||this.selectedMeetingRows.push(g.PK),g)):l.map(g=>(g.checked=!1,this.selectedMeetingRows=this.selectedMeetingRows.filter(y=>y!==g.PK),g)),this.isAllSelected()}sortChange(e){this.selectedMeetingRows=[],this.dataSourcePrivate.sortData(this.dataSourcePrivate.filteredData,this.dataSourcePrivate.sort),this.dataSourcePrivate.filteredData=this.dataSourcePrivate.filteredData.map(i=>(i.checked=!1,i)),this.masterSelected=!1,this.isAllSelected()}selectedRow(e,i,n){if(i.target.checked===!0)this.selectedMeetingRows.indexOf(n.PK)&&e.filteredData.map(c=>{if(c.PK===n.PK)return c.checked=!0,this.selectedMeetingRows.includes(c.PK)||this.selectedMeetingRows.push(c.PK),c});else{let c=this.selectedMeetingRows.indexOf(n.PK);c>-1&&(this.selectedMeetingRows.splice(c,1),e.filteredData.map(l=>{if(l.PK===n.PK)return l.checked=!1,l}))}this.isAllSelected()}pageClick(){this.isAllSelected()}isAllSelected(){let e=this.paginatorPrivate.pageIndex*this.paginatorPrivate.pageSize,i=this.paginatorPrivate.pageSize+e,n=this.dataSourcePrivate.filteredData.slice(e,i);this.masterSelected=n.every(c=>c.checked===!0)}filterChange(){this.router.url.includes("#demo")?(this.dataSourceDemo.paginator=this.paginatorDemo,this.paginatorDemo?.firstPage()):(this.dataSourcePrivate.paginator=this.paginatorPrivate,this.paginatorPrivate?.firstPage())}setUrlParams(e){let i={search:e};this.router.navigate([],{queryParams:i,replaceUrl:!0})}setQueryParams(e){let i={},n;this.selectedMeetingType==="private"?n=this.filterableColumns:n=this.demoFilterableColumns,e.value.forEach(l=>{let g=n.find(y=>y.key===l.name);i[g.name]=l.value}),this.router.navigate([],{queryParams:i,replaceUrl:!0,fragment:this.selectedMeetingType}
1),this.route.snapshot.fragment==="demo"?sessionStorage.setItem("demoFilter",JSON.stringify(i)):sessionStorage.setItem("privateFilter",JSON.stringify(i))}getQueryParams(){let e=this.route.snapshot.fragment,i;e==="demo"?i=sessionStorage.getItem("demoFilter"):i=sessionStorage.getItem("privateFilter"),this.queryParams=JSON.parse(i)}filterLength(e){this.activeFilterLength=e}actionDemo(e){return D(this,null,function*(){if(!this.selectedMeetingRows.length)return;let i=e[0].toUpperCase()+e.slice(1),n=this.selectedMeetingType==="demo"?"demo":"meeting";this.utilitiesService.waitingConfirm({header:`${i} ${n}`,confirmButtonClass:"btn btn-primary px-2",message:`Are you sure you want to ${e} ${this.selectedMeetingRows.length} ${n}${this.selectedMeetingRows.length>1?"s":""}?`,confirmMessage:"Yes",callback:()=>D(this,null,function*(){let c=[],l=[],g=[];yield Promise.all(this.selectedMeetingRows.map(w=>D(this,null,function*(){let R=yield this.meetingService.actionMeeting(e==="approve"?"approveDemo":"cancelMeeting",{PK:w}),H=this.meetings.find(ae=>ae.PK===w);R.success?(l.push(w),g.push({PK:w,message:`${i}d.`,success:!0,meeting:H})):(c.push(w),g.push({PK:w,message:R.message||"Failed.",success:!1,meeting:H}))}))),yield this.meetingService.load(!0);let y=l.length>1?"s":"",F=l.length?" and ":"",P=c.length>1?"s":"",N=`${l.length?l.length+""+n+y+e+"d":""}${c.length?F+c.length+" "+n+P+" skipped.":""}`;if(c.length){let w=this.modalService.open(Ot,{backdrop:"static",size:"lg"});w.componentInstance.actionLog=g,w.componentInstance.title=N,w.componentInstance.type=this.selectedMeetingType;try{yield w.result}catch{}}else this.toastService.showSuccess("Action",N)})})})}static{this.\u0275fac=function(i){return new(i||t)(x(Ne),x(bt),x(xe),x(se),x(Qe),x(tt),x(He),x(Xe),x(vt),x(Ue),x(ce),x(qe),x(yt),x(se),x(ce),x(Ke),x(Et))}}static{this.\u0275cmp=Q({type:t,selectors:[["ng-component"]],viewQuery:function(i,n){if(i&1&&(O(G,5),O(G,5),O(Yt,5),O(Wt,5)),i&2){let c;$(c=z())&&(n.paginatorPrivate=c.first),$(c=z())&&(n.paginatorDemo=c.first),$(c=z())&&(n.privateSort=c.first),$(c=z())&&(n.demoSort=c.first)}},decls:52,vars:21,consts:[["nav","ngbNav"],["drupaCount",""],["drupaMeetingCount",""],["privateSort","matSort"],["paginatorPrivate","matPaginator"],["demoSort","matSort"],["paginatorDemo","matPaginator"],[1,"container-fluid","py-3"],[1,"row","my-3"],[1,"col-md","my-auto"],[1,"btn","btn-primary","me-1",3,"click"],["ngbDropdown","",1,"d-inline-block"],["id","actions","ngbDropdownToggle","",1,"btn","btn-primary","me-1",3,"disabled"],[4,"ngIf"],["ngbDropdownMenu","","aria-labelledby","actions"],["ngbDropdownItem","",3,"click"],["id","dropdownBasic1","ngbDropdownToggle","",1,"btn","btn-primary","me-1",3,"disabled"],["class","d-inline-block mx-auto my-auto","diameter","20",4,"ngIf"],["ngbDropdownMenu","","aria-labelledby","dropdownBasic1"],["ngbDropdownItem","",3,"click",4,"ngIf"],["type","button","class","btn btn-primary me-1",3,"routerLink",4,"ngIf"],["routerLink","settings",1,"btn","btn-primary"],[1,"bi","bi-gear"],["ngbNav","",1,"nav-tabs","my-3",3,"activeId"],["ngbNavItem","private"],["ngbNavLink","","routerLink",".","fragment","private",3,"click"],["ngbNavContent",""],["ngbNavItem","demo",4,"ngIf"],[1,"mt-2",3,"ngbNavOutlet"],["diameter","20",1,"d-inline-block","mx-auto","my-auto"],["type","button",1,"btn","btn-primary","me-1",3,"routerLink"],[1,"row","mt-4","mb-2","meeting-analytics"],[4,"ngIf","ngIfElse"],["id","dropdownBasic2","ngbDropdownToggle","",1,"btn","btn-primary","me-1"],["ngbDropdownMenu","","aria-labelledby","dropdownBasic2",1,"filter-container","p-3"],[3,"filterChange","filterLength","setQueryParams","attributes","dataSource","queryParams","locationOption"],[1,"col-md"],["placeholder","Search...",1,"form-control","search-input",3,"keyup"],[1,"card","mb-3"],["mat-table","","matSort","","matSortActive","dateCreated","matSortDirection","desc",1,"w-100",3,"matSortChange","dataSource"],["matColumnDef","checked"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","hostName"],["matColumnDef","attendeesName"],["matColumnDef","startTime"],["matColumnDef","endTime"],["matColumnDef","locationName"],["matColumnDef","meetingExperience"],["matColumnDef","meetOnCanapii"],["matColumnDef","newStatus"],["mat-cell","","class","text-capitalize",3,"ngClass",4,"matCellDef"],["matColumnDef","drupaStatus"],["matColumnDef","dateCreated"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","mx-auto my-5","diameter","40",4,"ngIf"],["class","text-center my-5 o-50",4,"ngIf"],["showFirstLastButtons","",3,"page","length","pageSizeOptions"],[1,"mx-3"],["mat-header-cell",""],["type","checkbox",1,"me-2","form-check-input",3,"change","checked"],["mat-cell",""],["type","checkbox",1,"item-checkbox","form-check-input",3,"change","checked"],["mat-header-cell","","mat-sort-header",""],[3,"routerLink"],["placement","top","ngbTooltip","Both refers to Virtual and On-site","title","Both refers to Virtual and On-site",1,"d-inline-block","mt-1","help-tooltips","top--2"],[1,"bi","bi-info-circle"],["mat-cell","",1,"text-capitalize",3,"ngClass"],["mat-header-row",""],["mat-row",""],["diameter","40",1,"mx-auto","my-5"],[1,"text-center","my-5","o-50"],["ngbNavItem","demo"],["ngbNavLink","","routerLink",".","fragment","demo",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["id","dropdownBasic2","ngbDropdownToggle","",1,"btn","btn-info","me-1"],["mat-table","","matSort","","matSortActive","dateCreated","matSortDirection","desc",1,"w-100",3,"dataSource"],["showFirstLastButtons","",3,"length","pageSizeOptions"],["type","checkbox",1,"me-2",3,"change","checked"],["type","checkbox",1,"item-checkbox",3,"change","checked"]],template:function(i,n){if(i&1){let c=M();a(0,"div",7)(1,"h1"),s(2,"Meetings"),r(),a(3,"p"),s(4,"To enable meetings, add your preferred timeslots by clicking on settings, under the actions button."),r(),a(5,"div",8)(6,"div",9)(7,"div")(8,"button",10),C("click",function(){return h(c),f(n.create())}),s(9,"Create"),r(),a(10,"div",11)(11,"button",12),s(12," Actions "),d(13,Xt,2,1,"span",13),r(),a(14,"div",14),d(15,Zt,5,0,"ng-container",13),a(16,"button",15),C("click",function(){return h(c),f(n.updateLocation())}),s(17),r(),a(18,"button",15),C("click",function(){return h(c),f(n.bulkCancel())}),s(19,"Cancel"),r()()(),a(20,"div",11)(21,"button",16),s(22," Tools "),d(23,ei,1,0,"mat-spinner",17),r(),a(24,"div",18),d(25,ti,2,1,"button",19)(26,ii,2,0,"button",19),b(27,"async"),d(28,ni,2,0,"button",19)(29,ai,2,0,"button",19),r()(),d(30,oi,2,2,"button",20),a(31,"button",21),T(32,"i",22),s(33," Settings "),r()()()(),a(34,"nav",23,0),b(36,"async"),S(37,24),a(38,"a",25),C("click",function(){return h(c),f(n.resetData("private"))}),s(39,"Meetings"),r(),d(40,Vi,55,15,"ng-template",26),v(),d(41,rn,4,0,"ng-container",27),r(),T(42,"div",28),a(43,"small")(44,"sup"),s(45,"[*]"),r(),s(46),b(47,"timezoneAbbrev"),r()(),d(48,ln,12,3,"ng-template",null,1,le)(50,sn,1,4,"ng-template",null,2,le)}if(i&2){let c=j(35);m(11),p("disabled",!n.selectedMeetingRows.length),m(2),p("ngIf",n.selectedMeetingRows.length),m(2),p("ngIf",n.bespoke.isHPDrupa2024),m(2),_(" Update ",n.selectedMeetingType==="demo"?"product":"location"," "),m(4),p("disabled",n.isSMSNotifLoading),m(2),p("ngIf",n.isSMSNotifLoading),m(2),p("ngIf",n.selectedMeetingType!=="demo"),m(),p("ngIf",n.selectedMeetingType==="demo"&&A(27,15,n.isVSef$)===!1),m(2),p("ngIf",!n.bespoke.isHPDrupa2024),m(),p("ngIf",!n.bespoke.isHPDrupa2024),m(),p("ngIf",n.selectedMeetingType!=="demo"),m(4),p("activeId",A(36,17,n.activatedRoute.fragment)||"private"),m(7),p("ngIf",n.isDemoMeetingShow&&n.bespoke.isHPDrupa2024),m(),p("ngbNavOutlet",c),m(4),_(" Displayed as ",A(47,19,n.eventService==null?null:n.eventService.data.timezone)," timezone")}},dependencies:[Pe,Ee,Se,De,Te,we,We,Me,Ve,Le,Re,Ae,Fe,ft,ot,X,st,lt,mt,rt,ct,nt,he,pt,ut,dt,_t,G,ve,Oe,Ce,Ze,Tt],styles:[".meeting-analytics[_ngcontent-%COMP%]{font-size:14px;color:#3a3a3a}"]})}}return t})();var mn=[{path:"",component:ne},{path:"settings",loadChildren:()=>import("./chunk-4VVZUDG6.js").then(t=>t.SettingsModule)},{path:"matchmaking",loadChildren:()=>import("./chunk-3EOLIJU6.js").then(t=>t.MatchmakingModule)},{path:":id",loadChildren:()=>import("./chunk-2BZ6SFQV.js").then(t=>t.ViewModule)}],Ht=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=V({type:t})}static{this.\u0275inj=L({imports:[me.forChild(mn),me]})}}return t})();var Na=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=V({type:t})}static{this.\u0275inj=L({imports:[J,Ht,et,gt,it,at,W,xt,ht,$t,ke,$e,Je,Ge,Be.forChild(),Y,Nt,Lt,Vt,St,wt,Rt,ne,Z,kt,At]})}}return t})();export{Na as MeetingModule};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.