-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path7178.3a01c4cd09b336068829.js
1 lines (1 loc) · 48.7 KB
/
7178.3a01c4cd09b336068829.js
1
"use strict";(self.webpackChunkchekt_web_wcs=self.webpackChunkchekt_web_wcs||[]).push([[7178],{39014:(P,x,a)=>{a.d(x,{a:()=>T});var n=a(42741),h=a(98753),C=a(16274);const _=["sortable-column",""];function m(s,d){1&s&&(n.O4$(),n.TgZ(0,"svg",2),n.TgZ(1,"g",3),n.TgZ(2,"g",4),n._UZ(3,"polygon",5),n.qZA(),n.qZA(),n.qZA())}function b(s,d){1&s&&(n.O4$(),n.TgZ(0,"svg",2),n.TgZ(1,"g"),n.TgZ(2,"g",6),n._UZ(3,"polygon",7),n.qZA(),n.TgZ(4,"g",6),n._UZ(5,"polygon",5),n.qZA(),n.qZA(),n.qZA())}function O(s,d){1&s&&(n.O4$(),n.TgZ(0,"svg",2),n.TgZ(1,"g",3),n.TgZ(2,"g",4),n._UZ(3,"polygon",7),n.qZA(),n.qZA(),n.qZA())}function t(s,d){if(1&s&&(n.YNc(0,m,4,0,"svg",1),n.YNc(1,b,6,0,"svg",1),n.YNc(2,O,4,0,"svg",1)),2&s){const l=n.oxw();n.Q6J("ngIf","asc"===l.sortDirection),n.xp6(1),n.Q6J("ngIf",""===l.sortDirection),n.xp6(1),n.Q6J("ngIf","desc"===l.sortDirection)}}function M(s,d){1&s&&(n.O4$(),n.TgZ(0,"svg",2),n.TgZ(1,"g",3),n.TgZ(2,"g",4),n._UZ(3,"polygon",5),n.qZA(),n.qZA(),n.qZA())}function v(s,d){1&s&&(n.O4$(),n.TgZ(0,"svg",2),n.TgZ(1,"g"),n.TgZ(2,"g",6),n._UZ(3,"polygon",7),n.qZA(),n.TgZ(4,"g",6),n._UZ(5,"polygon",5),n.qZA(),n.qZA(),n.qZA())}function y(s,d){1&s&&(n.O4$(),n.TgZ(0,"svg",2),n.TgZ(1,"g",3),n.TgZ(2,"g",4),n._UZ(3,"polygon",7),n.qZA(),n.qZA(),n.qZA())}function w(s,d){if(1&s&&(n.YNc(0,M,4,0,"svg",1),n.YNc(1,v,6,0,"svg",1),n.YNc(2,y,4,0,"svg",1)),2&s){const l=n.oxw();n.Q6J("ngIf","asc"===l.sortDirection),n.xp6(1),n.Q6J("ngIf",""===l.sortDirection),n.xp6(1),n.Q6J("ngIf","desc"===l.sortDirection)}}const Z=["*"];let T=(()=>{class s{constructor(l){this.sortService=l,this.sortDirection="",this.iconPosition="right"}sort(){this.sortDirection="asc"===this.sortDirection?"desc":"asc",this.sortService.columnSorted({sortColumn:this.columnName,sortDirection:this.sortDirection})}ngOnInit(){this.columnSortedSubscription=this.sortService.columnSorted$.subscribe(l=>{this.columnName!=l.sortColumn&&(this.sortDirection="")})}ngOnDestroy(){this.columnSortedSubscription.unsubscribe()}}return s.\u0275fac=function(l){return new(l||s)(n.Y36(h.K))},s.\u0275cmp=n.Xpm({type:s,selectors:[["","sortable-column",""]],hostBindings:function(l,f){1&l&&n.NdJ("click",function(){return f.sort()})},inputs:{columnName:["sortable-column","columnName"],sortDirection:["sort-direction","sortDirection"],iconPosition:["sort-icon","iconPosition"]},attrs:_,ngContentSelectors:Z,decls:3,vars:2,consts:[[3,"ngIf"],["width","12","height","8px","viewBox","0 0 200 200",4,"ngIf"],["width","12","height","8px","viewBox","0 0 200 200"],["fill","#5A6574"],["id","arrow-drop-down"],["points","0,120 100,200 200,120"],["id","arrow-drop-down","fill","#5A6574"],["points","0,80 100,0 200,80"]],template:function(l,f){1&l&&(n.F$t(),n.YNc(0,t,3,3,"ng-template",0),n.Hsn(1),n.YNc(2,w,3,3,"ng-template",0)),2&l&&(n.Q6J("ngIf","left"===f.iconPosition&&f.columnName),n.xp6(2),n.Q6J("ngIf","right"===f.iconPosition&&f.columnName))},directives:[C.O5],encapsulation:2}),s})()},28522:(P,x,a)=>{a.d(x,{Q:()=>C});var n=a(42741),h=a(98753);let C=(()=>{class _{constructor(b){this.sortService=b,this.sorted=new n.vpe}ngOnInit(){this.columnSortedSubscription=this.sortService.columnSorted$.subscribe(b=>{this.sorted.emit(b)})}ngOnDestroy(){this.columnSortedSubscription.unsubscribe()}}return _.\u0275fac=function(b){return new(b||_)(n.Y36(h.K))},_.\u0275dir=n.lG2({type:_,selectors:[["","sortable-table",""]],outputs:{sorted:"sorted"}}),_})()},11822:(P,x,a)=>{a.d(x,{cN:()=>h,ku:()=>_,OP:()=>b});var n=a(88638);const h=(0,n.X$)("page",[(0,n.SB)("*",(0,n.oB)({opacity:1,transform:"translateX(0)"})),(0,n.eR)(":leave",[(0,n.jt)("0.1s 0.1s",(0,n.oB)({opacity:0}))]),(0,n.eR)(":enter",[(0,n.oB)({opacity:0,display:"none",position:"absolute",top:0,left:0,width:"100%"}),(0,n.jt)("0.1s 100ms",(0,n.oB)({position:"absolute",opacity:1,transform:"translateX(0)"}))])]),_=((0,n.X$)("dialog",[(0,n.SB)("*",(0,n.oB)({transform:"translateX(0)"})),(0,n.eR)(":enter",[(0,n.oB)({transform:"translateY(+50%)",opacity:.5}),(0,n.jt)("0.2s ease-in")]),(0,n.eR)(":leave",[(0,n.jt)("0.2s ease-out",(0,n.oB)({transform:"translateY(+50%)",opacity:.5}))])]),(0,n.X$)("background",[(0,n.SB)("*",(0,n.oB)({opacity:1})),(0,n.eR)(":enter",[(0,n.oB)({opacity:0}),(0,n.jt)("0.1s ease-in")]),(0,n.eR)(":leave",[(0,n.jt)("0.1s ease-out",(0,n.oB)({opacity:0}))])])),b=((0,n.X$)("subModal",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(+100%)"}),(0,n.jt)("0.2s ease-in")]),(0,n.eR)(":leave",[(0,n.jt)("0.2s ease-in",(0,n.oB)({transform:"translateX(-100%)"}))])]),(0,n.X$)("imgShow",[(0,n.SB)("*",(0,n.oB)({opacity:1})),(0,n.eR)(":enter",[(0,n.oB)({opacity:0}),(0,n.jt)("0.2s ease-in")]),(0,n.eR)(":leave",[(0,n.jt)("0.2s ease-out",(0,n.oB)({opacity:0}))])]))},57178:(P,x,a)=>{a.r(x),a.d(x,{WcsAlarmLibModule:()=>W});var n=a(16274),h=a(93324),C=a(29535),_=a(11822),m=a(72898),b=a(27813),O=a(46243),t=a(42741),M=a(7611),v=a(91486),y=a(86842),w=a(35460),Z=a(28522),T=a(39014),s=a(21929),d=a(59103);function l(i,g){1&i&&t._UZ(0,"div",27)}const f=function(i){return{"button-selected":i}};function A(i,g){if(1&i){const e=t.EpF();t.TgZ(0,"div",24),t.NdJ("click",function(){const c=t.CHM(e).$implicit;return t.oxw().moveToTab(c)}),t.TgZ(1,"div",25),t._uU(2),t.qZA(),t.YNc(3,l,1,0,"div",26),t.qZA()}if(2&i){const e=g.$implicit,o=t.oxw();t.Q6J("ngClass",t.VKq(3,f,o.tab==e)),t.xp6(2),t.Oqu(e),t.xp6(1),t.Q6J("ngIf",o.tab==e)}}function E(i,g){1&i&&(t.TgZ(0,"div",28),t.O4$(),t.TgZ(1,"svg",29),t._UZ(2,"circle",30),t.qZA(),t.qZA())}function z(i,g){1&i&&(t.TgZ(0,"tr",33),t.TgZ(1,"td"),t._uU(2,"No Data"),t.qZA(),t.qZA())}function D(i,g){1&i&&(t.TgZ(0,"i",38),t._uU(1,"done"),t.qZA())}function S(i,g){if(1&i){const e=t.EpF();t.TgZ(0,"tr",34),t.NdJ("click",function(){const c=t.CHM(e).$implicit;return t.oxw(2).openEventCode(c)}),t.TgZ(1,"td"),t._uU(2),t.qZA(),t.TgZ(3,"td",35),t.YNc(4,D,2,0,"i",36),t.qZA(),t.TgZ(5,"td"),t._uU(6),t.qZA(),t.TgZ(7,"td"),t._uU(8),t.qZA(),t.TgZ(9,"td",37),t._uU(10),t.qZA(),t.qZA()}if(2&i){const e=g.$implicit;t.ekj("disabled",e.is_read_only),t.xp6(1),t.ekj("disable",!e.enable),t.xp6(1),t.Oqu(e.name),t.xp6(1),t.ekj("disable",!e.enable),t.xp6(1),t.Q6J("ngIf",e.enable),t.xp6(1),t.ekj("disable",!e.enable),t.xp6(1),t.Oqu(e.event_code),t.xp6(1),t.ekj("disable",!e.enable),t.xp6(1),t.Oqu(e.restore_code),t.xp6(2),t.Oqu(e.note)}}function I(i,g){if(1&i&&(t.TgZ(0,"table"),t.TgZ(1,"colgroup"),t._UZ(2,"col",13),t._UZ(3,"col",14),t._UZ(4,"col",14),t._UZ(5,"col",14),t._UZ(6,"col",15),t.qZA(),t.TgZ(7,"tbody"),t.YNc(8,z,3,0,"tr",31),t.YNc(9,S,11,15,"tr",32),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(8),t.Q6J("ngIf",0===e.eventTypeEditList.length),t.xp6(1),t.Q6J("ngForOf",e.eventTypeEditList)}}function L(i,g){1&i&&(t.TgZ(0,"tr",33),t.TgZ(1,"td"),t._uU(2,"No Data"),t.qZA(),t.qZA())}function U(i,g){if(1&i&&(t.TgZ(0,"span",41),t._uU(1),t.qZA()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij("(Send hold time: ",e.send_hold_time/60," Mins)")}}function q(i,g){if(1&i&&(t.TgZ(0,"span",41),t._UZ(1,"br"),t._uU(2),t.qZA()),2&i){const e=t.oxw(3);t.xp6(2),t.hij("(Customer Response Timeout: ",e.partner.verification_duration/60," Mins)")}}function F(i,g){1&i&&(t.TgZ(0,"i",38),t._uU(1,"done"),t.qZA())}function N(i,g){if(1&i){const e=t.EpF();t.TgZ(0,"tr",34),t.NdJ("click",function(){const c=t.CHM(e).$implicit;return t.oxw(2).openEventCode(c)}),t.TgZ(1,"td"),t._uU(2),t.YNc(3,U,2,1,"span",39),t.YNc(4,q,3,1,"span",39),t.qZA(),t.TgZ(5,"td",35),t.YNc(6,F,2,0,"i",36),t.qZA(),t.TgZ(7,"td"),t._uU(8),t.qZA(),t.TgZ(9,"td"),t._uU(10),t.qZA(),t.TgZ(11,"td",40),t._uU(12),t.qZA(),t.qZA()}if(2&i){const e=g.$implicit;t.ekj("disabled",e.is_read_only),t.xp6(1),t.ekj("disable",!e.enable),t.xp6(1),t.Oqu(e.name),t.xp6(1),t.Q6J("ngIf",e.event_type.search("netloss")>=0),t.xp6(1),t.Q6J("ngIf",e.event_type.search("verification_timeout")>=0),t.xp6(1),t.ekj("disable",!e.enable),t.xp6(1),t.Q6J("ngIf",e.enable),t.xp6(1),t.ekj("disable",!e.enable),t.xp6(1),t.Oqu(e.event_code),t.xp6(1),t.ekj("disable",!e.enable),t.xp6(1),t.Oqu(e.restore_code),t.xp6(2),t.Oqu(e.note)}}function B(i,g){if(1&i&&(t.TgZ(0,"table"),t.TgZ(1,"colgroup"),t._UZ(2,"col",13),t._UZ(3,"col",14),t._UZ(4,"col",14),t._UZ(5,"col",14),t._UZ(6,"col",15),t.qZA(),t.TgZ(7,"tbody"),t.YNc(8,L,3,0,"tr",31),t.YNc(9,N,13,17,"tr",32),t.qZA(),t.qZA()),2&i){const e=t.oxw();t.xp6(8),t.Q6J("ngIf",0===e.eventTypeAnEditList.length),t.xp6(1),t.Q6J("ngForOf",e.eventTypeAnEditList)}}let k=(()=>{class i{constructor(e,o,r,c,p){this.usersService=e,this.integrationService=o,this.partnerService=r,this.helper=c,this.route=p,this.page="none",this.parentPath="/wcs-sub-dealers",this.updateList=[],this.partner={},this.isLoading=!1,this.isStatusLoading=!1,this.m_warning=new m.u,this.m_code=new m.u,this.session=new Object,this.isStatusFold=!0,this.isDealerCodeFold=!1,this.isChektCodeFold=!0,this.isErr=!1,this.eventFormats=[],this.statusTxt="",this.eventCodeList=[],this.eventCode=new Object,this.eventCIDList=[],this.eventTypeEditList=[],this.eventTypeAnEditList=[],this.eventCID=this.eventCIDList[0],this.eventTypeData=new Object,this.eventQualifiers=["E","R","P"],this.eventTypeList=["select event type","di","do","arm","verification","netloss"],this.eventType=this.eventTypeList[0],this.eventStatusList=["select event status","active","inactive","online","offline","crime","disregard"],this.eventStatus=this.eventStatusList[0],this.triggerList=["select trigger type","nc","no"],this.trigger=this.triggerList[0],this.adapters=[],this.tab_list=["Bridge Alarm Input Codes","CHeKT Defined Alarm Codes"],this.tab=this.tab_list[0],this.curSort={},this.sort={sortColumn:"",sortDirection:""}}ngOnInit(){this.isLoading=!0,this.route.queryParams.subscribe(e=>{this.params=e,this.initData(),this.paramProcess();this.partnerService.selRetailDealer?(this.selDealer=this.partnerService.selRetailDealer,this.retailDealerId=this.selDealer.dealer_id):this.gotoParent(),this.usersService.getMe().subscribe(r=>{this.me=r,this.fetch()})})}gotoParent(){this.helper.router.navigate_to(`${this.parentPath}`)}fetch(){this.getAllCIDCodes(),this.partner=this.partnerService.selRetailDealer}initData(){this.eventFormats=[],this.eventFormatId=null}getAllAdapters(){this.integrationService.getTypes(this.me.dealer_id).subscribe(e=>{e.pop(),this.integrationService.getSharedReceivers(this.me.dealer_id,this.retailDealerId).subscribe(o=>{this.adapters=o,o.forEach(r=>{e.forEach(c=>{r.brand==c.type&&(r.brand_name=c.name)})}),this.isLoading=!1})})}getAllCIDCodes(){this.integrationService.getEventFormats(this.me.dealer_id,this.retailDealerId).pipe((0,b.x)(()=>{this.isLoading=!1})).subscribe(e=>{e.forEach(o=>{o.typeTxt=this.eventCodeList[o.type]}),this.eventFormats=e,0!==e.length&&(this.eventFormatId=this.eventFormats[0].id,this.fetchEventCode(),this.fetchCids())})}fetchEventCode(){this.integrationService.getEventFormatCode(this.me.dealer_id,this.eventFormatId).subscribe(e=>{this.eventCIDList=e,this.eventTypeEditList=e.filter(o=>o.is_editable).sort(function(o,r){return o.zone_type>r.zone_type?1:o.zone_type<r.zone_type?-1:0}),this.eventTypeAnEditList=e.filter(o=>!o.is_editable),this.makeNoteForList(),this.generateDispatchDisregardRowsHardCoded(),this.eventTypeAnEditList.sort(function(o,r){return o.event_code>r.event_code?1:o.event_code<r.event_code?-1:0}),this.isLoading=!1})}makeNoteForList(){this.eventTypeEditList.forEach(e=>{e.note="",(null==e?void 0:e.is_editable)||(e.note="Alarm code cannot be changed"),21===e.zone_type&&(e.note="When selected, any events from this zone type will send a remote intercom notification to the customer and, if enabled, a signal to the monitoring station. As an Armed Zone, events are only sent when the system is armed. If the central station signal is enabled, the signal is sent concurrently with the notification to the customer."),22===e.zone_type&&(e.note="When selected, any events from this zone type will send a remote intercom notification to the customer and, if enabled, a signal to the monitoring station. As a 24-hour zone, events are sent when the system is armed and disarmed. If the central station signal is enabled, the signal is sent concurrently with the notification to the customer."),100===e.zone_type&&(e.note="This zone type is used for cameras that should not create any events. When selected, all alarm triggers from sensors, analytics, and APIs alarms will be ignored.")}),this.eventTypeAnEditList.forEach(e=>{e.note="",(null==e?void 0:e.is_editable)||(e.note="Alarm code cannot be changed")})}generateDispatchDisregardRowsHardCoded(){const e=this.eventTypeAnEditList.findIndex(p=>"Dispatch/Disregard"===p.name),o=this.eventTypeAnEditList[e],r=O.cloneDeep(o),c=O.cloneDeep(o);r.name="Dispatch",r.restore_code="",c.name="Disregard",c.event_code="E756",c.restore_code="",c.enable=c.enable_restore,this.eventTypeAnEditList.splice(e,1,r,c)}fetchCids(){this.integrationService.getCids(this.me.dealer_id).subscribe(e=>{this.eventCodeList=e,this.eventCode=e[0],this.isLoading=!1})}paramProcess(){this.params.id&&(this.eventFormatId=this.params.id)}gotoList(){this.helper.router.navigate_to("/wcs-sub-dealers/alarm-library")}setChange(e,o,r){new Object,this.updateList[r].isChange=1,this.updateList[r][e]=o}openEventCode(e){e.is_read_only||(this.m_code.data.eventType=e,this.m_code.data.eventCodeList=this.eventCodeList,this.m_code.data.eventFormatId=this.eventFormatId,this.m_code.data.partner=this.partner,this.m_code.open())}closeEventCode(e){let r="Event code update succeeded.";e.res&&(r="Event code update succeeded.",this.confirmDialog("Event Code Update",r))}moveToDetail(e){this.helper.router.navigate_to("/wcs-sub-dealers/alarm-library/"+e.id,{retailDealerId:this.retailDealerId})}siteSet(){this.createDialog("Update a sites","Do you want to apply the dealer default alarm library on<br> the default alarm library of all existing sites?","settings")}moveToTab(e){this.tab=e}onSorted(e){this.onSortedBridgeEvent(e),this.onSortedCHeKTEvent(e)}onSortedBridgeEvent(e){let o=this.eventTypeEditList;if(!e.sortColumn||""===e.sortDirection)return void(this.eventTypeEditList=o);this.sort.sortColumn=e.sortColumn,this.sort.sortDirection=e.sortDirection;const r=o.sort((c,p)=>{const u="asc"===e.sortDirection;switch(e.sortColumn){case"name":return this.compare(c.name,p.name,u);case"event_code":return this.compare(c.event_code,p.event_code,u);default:return 0}});this.eventTypeEditList=r}onSortedCHeKTEvent(e){let o=this.eventTypeAnEditList;if(!e.sortColumn||""===e.sortDirection)return void(this.eventTypeAnEditList=o);this.sort.sortColumn=e.sortColumn,this.sort.sortDirection=e.sortDirection;const r=o.sort((c,p)=>{const u="asc"===e.sortDirection;switch(e.sortColumn){case"name":return this.compare(c.name,p.name,u);case"event_code":return this.compare(c.event_code,p.event_code,u);default:return 0}});this.eventTypeAnEditList=r}compare(e,o,r){return(e<o?-1:1)*(r?1:-1)}doSiteSet(){this.isLoading=!0,this.integrationService.syncEventFormatCode(this.me.dealer_id,this.eventFormatId).subscribe(r=>{this.isLoading=!1,setTimeout(()=>{this.confirmDialog("Update a sites","Sync Success.")},300)},r=>{this.errorDialog(r,"Update a sites")})}createDialog(e="",o="",r="note_add",c="#2383e2"){this.m_warning.data={header:e,contents:`\n <p><b>${o}</b></p>\n `,submit_btn:"update",submit_class:["button-primary"],icon:r,isConfirm:!1,color:c},this.m_warning.data.submit_func=()=>{this.doSiteSet()},this.m_warning.open()}confirmDialog(e="",o="",r="done",c="green"){this.m_warning.data={header:e,contents:`\n <p>${o}</b></p>\n `,submit_btn:"OK",submit_class:["button-primary"],icon:r,isConfirm:!0,color:c},this.m_warning.data.submit_func=()=>{this.isLoading=!0,setTimeout(()=>{this.fetchEventCode()},200)},this.m_warning.open()}errorDialog(e,o){let r="failed.";e.error&&e.error.message&&(r=e.error.message),e._body&&(r=JSON.parse(e._body).message),setTimeout(()=>{this.confirmDialog(o,r,"warning","orange")},200),this.isLoading=!1}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(M.f),t.Y36(v.V),t.Y36(y.b),t.Y36(w.W),t.Y36(C.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-event-format"]],decls:40,vars:8,consts:[[1,"screen",2,"height","100%"],[1,"wcs-widget-area",2,"flex-direction","column"],[1,"widget",2,"width","98%"],[1,"header"],[1,"title",2,"font-size","16px","font-weight","bold"],[1,"btn-area"],[1,"button","button-primary",3,"click"],[1,"btn-inner"],[1,"widget-body"],[1,"tab"],["class","btn",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"table-container"],["sortable-table","",1,"table-header",3,"sorted"],["width","30%"],["width","10%"],["width","40%"],["sortable-column","name"],[2,"text-align","center"],["sortable-column","event_code"],[2,"overflow-y","overlay"],["class","loader absolute",4,"ngIf"],[4,"ngIf"],[3,"modal"],[3,"modal","active","onClose"],[1,"btn",3,"ngClass","click"],[1,"tab-title"],["class","tab-selected-bar",4,"ngIf"],[1,"tab-selected-bar"],[1,"loader","absolute"],["viewBox","25 25 50 50",1,"circular"],["cx","50","cy","50","r","20","fill","none","stroke-width","4","stroke-miterlimit","10",1,"path"],["style","text-align: center; color: #999;",4,"ngIf"],["class","has-child",3,"disabled","click",4,"ngFor","ngForOf"],[2,"text-align","center","color","#999"],[1,"has-child",3,"click"],[2,"text-align","center","padding","0px 8px"],["class","material-icons","style","color:green;",4,"ngIf"],[2,"white-space","normal","color","#555","font-size","12px"],[1,"material-icons",2,"color","green"],["style","font-weight: bold",4,"ngIf"],[2,"text-align","center","color","#555","font-size","12px"],[2,"font-weight","bold"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.TgZ(3,"div",3),t.TgZ(4,"div",4),t._uU(5,"Set the default alarm library of all existing site as the dealer default alarm library"),t.qZA(),t.TgZ(6,"div",5),t.TgZ(7,"div",6),t.NdJ("click",function(){return o.siteSet()}),t.TgZ(8,"div",7),t._uU(9,"UPDATE"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,"div",8),t.TgZ(11,"div"),t.TgZ(12,"div",9),t.YNc(13,A,4,5,"div",10),t.qZA(),t.TgZ(14,"div",11),t.TgZ(15,"table",12),t.NdJ("sorted",function(c){return o.onSorted(c)}),t.TgZ(16,"colgroup"),t._UZ(17,"col",13),t._UZ(18,"col",14),t._UZ(19,"col",14),t._UZ(20,"col",14),t._UZ(21,"col",15),t.qZA(),t.TgZ(22,"thead"),t.TgZ(23,"tr"),t.TgZ(24,"th",16),t._uU(25,"Event Type"),t.qZA(),t.TgZ(26,"th",17),t._uU(27,"Enable"),t.qZA(),t.TgZ(28,"th",18),t._uU(29,"Alarm"),t.qZA(),t.TgZ(30,"th"),t._uU(31,"Restoral"),t.qZA(),t.TgZ(32,"th",17),t._uU(33),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(34,"div",19),t.YNc(35,E,3,0,"div",20),t.YNc(36,I,10,2,"table",21),t.YNc(37,B,10,2,"table",21),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t._UZ(38,"dealer-warning",22),t.TgZ(39,"app-event-code",23),t.NdJ("onClose",function(c){return o.closeEventCode(c)}),t.qZA()),2&e&&(t.xp6(13),t.Q6J("ngForOf",o.tab_list),t.xp6(20),t.Oqu(o.tab===o.tab_list[0]?"Description":"Note"),t.xp6(2),t.Q6J("ngIf",o.isLoading),t.xp6(1),t.Q6J("ngIf",o.tab===o.tab_list[0]),t.xp6(1),t.Q6J("ngIf",o.tab===o.tab_list[1]),t.xp6(1),t.Q6J("modal",o.m_warning),t.xp6(1),t.Q6J("modal",o.m_code)("active",o.m_code.is_active))},directives:[n.sg,Z.Q,T.a,n.O5,s.a,d.C,n.mk],styles:['.scroll-screen[_ngcontent-%COMP%]{flex:1;flex-direction:column;overflow-y:overlay;height:100%;position:relative;padding:7px;-webkit-user-select:none;user-select:none;display:flex;align-items:center}.row[_ngcontent-%COMP%]{flex-direction:row;display:flex;height:100%;overflow-y:overlay;transition:.5s}.col[_ngcontent-%COMP%]{flex-direction:column;display:flex;flex:1;height:100%}.customer-widget-area[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{min-width:300px}.customer-widget-area[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]:only-child{min-width:600px}.customer-widget-area.deactivated[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{height:calc(100% - 43px)}.col[_ngcontent-%COMP%] .widget[_ngcontent-%COMP%]{min-width:300px}.sub-nav[_ngcontent-%COMP%]{position:relative;left:0px;transition:all ease-in-out .3s;min-width:250px;max-width:250px;flex:1;background:#fff;border-right:.5px solid #d7d7d7;display:flex;flex-direction:column;overflow-y:overlay;z-index:3}.sub-nav[_ngcontent-%COMP%]:focus{outline:none}.sub-nav[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{height:initial;flex:initial;align-items:center}.sub-nav[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{overflow-y:overlay}.sub-nav[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{padding:6px 12px 6px 0;box-sizing:border-box;border:0;background-color:transparent;background-size:24px;background-position:4px 8px;background-repeat:no-repeat;flex:1}.sub-nav[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{margin-right:8px;color:#777;transition:.2s}.sub-nav[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{cursor:pointer;color:#000}.sub-nav[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{background-color:red;color:#fff;width:8px;height:14px;margin-left:8px;padding:2px 4px 2px 5px;border-radius:4px;font-size:12px}.sub-nav[_ngcontent-%COMP%] .plan-badge[_ngcontent-%COMP%]{background-color:red;width:6px;height:6px;margin-left:4px;border-radius:10px}.sub-nav[_ngcontent-%COMP%] .list-category[_ngcontent-%COMP%]{padding:24px 0 7px 20px;color:#2f96fb;font-size:14px;text-transform:uppercase}.sub-nav[_ngcontent-%COMP%] .list-category[_ngcontent-%COMP%]:first-child{padding:30px 0 7px 20px;color:#2f96fb;font-size:14px}.sub-nav[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]{display:flex;align-items:center;color:#0009;cursor:pointer}.sub-nav[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.05)}.sub-nav[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:hover.settings{background:transparent}.sub-nav[_ngcontent-%COMP%] .list-item-selected[_ngcontent-%COMP%]{background:#dcf0fd!important;color:#000000de}.sub-nav[_ngcontent-%COMP%] .list-item-selected[_ngcontent-%COMP%]:after{background-color:#2f96fb}.sub-nav[_ngcontent-%COMP%] .list-item-selected.settings[_ngcontent-%COMP%]{background:transparent!important;color:#000000de;font-weight:500;color:#2f96fb}.sub-nav[_ngcontent-%COMP%] .menu-label[_ngcontent-%COMP%]{display:flex;font-size:14px;padding:7px 0 7px 15px}.sub-nav[_ngcontent-%COMP%] .menu-label.settings[_ngcontent-%COMP%]{padding-left:16px;width:100%;margin:0 4px;border-radius:4px}.sub-nav[_ngcontent-%COMP%] .menu-label.settings[_ngcontent-%COMP%]:hover{padding:8px 16px;background:#e8eaed}.sub-nav[_ngcontent-%COMP%] .menu-label.settings.selected-label[_ngcontent-%COMP%]{width:100%;margin:0 4px;padding:8px 12px;border-radius:4px;font-weight:500;color:#2f96fb}.sub-nav[_ngcontent-%COMP%] .menu-label.settings.selected-label[_ngcontent-%COMP%]:hover{padding:8px 12px;background:#dcf0fd}.sub-nav[_ngcontent-%COMP%] .select-mark[_ngcontent-%COMP%]{background-color:#2f96fb}.sub-nav[_ngcontent-%COMP%] .select-mark.settings[_ngcontent-%COMP%]{background-color:#2383e2;width:4px;min-height:30px;height:30px;border-radius:4px}.component-body[_ngcontent-%COMP%]{position:relative;flex:5;height:100%;flex-direction:column;display:flex;transition:all ease-in-out .3s}.component-body-no-data[_ngcontent-%COMP%]{flex:5;height:100%;flex-direction:column;align-items:center;justify-content:center;display:flex}.tab[_ngcontent-%COMP%]{height:60px;color:#888;background:#f7f7fc;box-shadow:0 4px 2px -2px #888;display:flex;align-items:center;z-index:1}.tab[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;position:relative}.tab[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#2383e2;cursor:pointer}.tab[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#2383e2}.tab[_ngcontent-%COMP%] .icn-button[_ngcontent-%COMP%]{padding:0 16px}.tab[_ngcontent-%COMP%] .icn-button-active[_ngcontent-%COMP%]{color:#000}.tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:0 32px;text-transform:capitalize;font-size:14px}.tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;bottom:-2px;width:100%;height:4px;background:#2383e2}.plan-upgrade-badge[_ngcontent-%COMP%]{background:linear-gradient(90deg,#2A517E 17.88%,#1E88E5 69.03%);border-radius:10px;padding:2px 6px;margin-left:-8px;color:#fff;font-size:12px;font-weight:400;cursor:pointer}.customer-tab[_ngcontent-%COMP%]{color:#7a7a7a;background:#fff;border-bottom:1px solid rgba(0,0,0,.1);display:flex;align-items:center;z-index:1;font-weight:500;font-size:14px;flex-flow:wrap}.customer-tab[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{display:flex;align-items:center;height:50px;position:relative;cursor:pointer}.customer-tab[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#1e88e5;font-weight:500}.customer-tab[_ngcontent-%COMP%] .icn-button[_ngcontent-%COMP%]{padding:0 16px}.customer-tab[_ngcontent-%COMP%] .icn-button-active[_ngcontent-%COMP%]{color:#000}.customer-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:8px 20px;text-transform:capitalize;font-size:14px;font-weight:400}.customer-tab[_ngcontent-%COMP%] .tab-title.selected[_ngcontent-%COMP%]{font-weight:500}.customer-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]:hover{background:#e8eaed;border-radius:7px}.customer-tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;bottom:-2px;width:100%;height:3px;background:#2383e2}.setting-tab[_ngcontent-%COMP%]{height:41px;box-sizing:border-box;color:#7a7a7a;background:#fff;display:flex;flex-direction:row;align-items:center;z-index:1;font-size:14px;font-weight:500;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.1);background-color:#fbfbfa}.setting-tab[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;position:relative;cursor:pointer}.setting-tab[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#000}.setting-tab[_ngcontent-%COMP%] .button-selected-red[_ngcontent-%COMP%]{color:#f67474}.setting-tab[_ngcontent-%COMP%] .icn-button[_ngcontent-%COMP%]{padding:0 16px}.setting-tab[_ngcontent-%COMP%] .icn-button-active[_ngcontent-%COMP%]{color:#000}.setting-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:5px 20px;text-transform:capitalize;font-size:13px;font-weight:400;margin:0 1px}.setting-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]:hover{background:#e8eaed;border-radius:5px}.setting-tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:0;height:4px;background:#2383e2;border-radius:4px}.setting-tab[_ngcontent-%COMP%] .tab-selected-bar-red[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:0;height:5px;background:#f67474}.btn-icon[_ngcontent-%COMP%]{color:#7c7c7c;background-color:#f1f1f1;cursor:pointer}.btn-icon[_ngcontent-%COMP%]:hover{color:#7c7c7c;background-color:#efeff6}.space[_ngcontent-%COMP%]{flex:1}.sub-component[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;width:100%;height:100%}.widget-area[_ngcontent-%COMP%]{flex-direction:row;display:flex;height:100%;flex:1;overflow-y:overlay;padding:20px 30px;flex-wrap:wrap;justify-content:center;box-sizing:border-box}.customer-widget-area[_ngcontent-%COMP%]{position:absolute;height:auto;bottom:0;top:0;left:0;right:0;flex-direction:row;display:flex;flex:1;overflow:initial;padding:14px;box-sizing:border-box;flex-wrap:wrap;justify-content:center}.customer-widget-area.deactivated[_ngcontent-%COMP%]{padding:0 7px 7px}.wcs-widget-area[_ngcontent-%COMP%]{position:absolute;height:auto;bottom:0;top:0;left:0;right:0;flex-direction:row;display:flex;flex:1;overflow-y:overlay;padding:12px;flex-wrap:wrap;align-items:center;grid-gap:12px;gap:12px}.wcs-widget-area[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{align-items:center}.setting-widget[_ngcontent-%COMP%]{height:calc(100% - 44px)}.setting-router[_ngcontent-%COMP%]{width:100%;flex:1;position:relative;overflow:auto;overflow-y:overlay}.container[_ngcontent-%COMP%]{width:calc(100% - 14px);height:100%;display:flex;flex-direction:column;align-items:center;padding:7px}.widget[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;max-width:1400px;min-width:300px;max-height:calc(100% - 15px);background:white;transition:.5s;border-radius:3px;border:1px solid rgba(0,0,0,.1);margin:0 5px 10px}.widget[_ngcontent-%COMP%]:last-child{margin:0 5px}.widget[_ngcontent-%COMP%]:only-child{min-width:600px}.widget[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;border-bottom:solid 1px rgba(0,0,0,.1)}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:calc(100% - 108px);padding:20px}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{padding-bottom:14px}.widget-item[_ngcontent-%COMP%]{flex:none;font-size:14px;color:#000000de}.widget-item[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%]{padding:14px 30px}.widget[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-size:14px;color:#0009;margin-bottom:7px}.widget[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{width:200px;font-size:14px;color:#0009}.widget[_ngcontent-%COMP%] .item-row[_ngcontent-%COMP%]{display:flex;padding:7px 0}.widget[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{border-bottom:solid 1px rgba(0,0,0,.1)}.scroll-widget[_ngcontent-%COMP%]{max-height:initial}.item[_ngcontent-%COMP%] .w-1[_ngcontent-%COMP%]{width:10%}.item[_ngcontent-%COMP%] .w-2[_ngcontent-%COMP%]{width:20%}.item[_ngcontent-%COMP%] .w-3[_ngcontent-%COMP%]{width:30%}.item[_ngcontent-%COMP%] .w-4[_ngcontent-%COMP%]{width:40%}.item[_ngcontent-%COMP%] .w-5[_ngcontent-%COMP%]{width:50%}.item[_ngcontent-%COMP%] .fs-12[_ngcontent-%COMP%]{font-size:12px}.item[_ngcontent-%COMP%] .right-align[_ngcontent-%COMP%]{text-align:right}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{display:flex;padding:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;font-size:14px}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:80%;box-sizing:border-box;padding:8px;font-size:14px;background-color:#f0f0f0;border:none;border-bottom:2px solid #f0f0f0;-webkit-appearance:none;-moz-appearance:none;transition:.2s}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:focus{outline:none;border-bottom:2px solid #2383e2}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{position:absolute;left:12px;top:12px;color:#00000080}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%]{width:100%;padding-left:32px}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{cursor:pointer}.cell[_ngcontent-%COMP%]{padding-bottom:14px}.widget[_ngcontent-%COMP%] .widget-bottom[_ngcontent-%COMP%]{display:flex;padding-top:6px}.table-area[_ngcontent-%COMP%]{height:100%;overflow:overlay}.table-container[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column;overflow-y:hidden}table.table-header[_ngcontent-%COMP%]:after{border-collapse:separate}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%]{min-height:31px;background-color:#f7fafc;border-bottom:solid 1px rgba(0,0,0,.1);border-top:solid 1px rgba(0,0,0,.1);box-sizing:border-box}.table-container[_ngcontent-%COMP%] .table-header.no-top-border[_ngcontent-%COMP%]{border-top:0}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding:10px 7px 10px 20px}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding:10px 20px 10px 7px}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding:7px 7px 7px 20px}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:7px 20px 7px 7px}.table-container[_ngcontent-%COMP%] .table-header-v2[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px}.table-container[_ngcontent-%COMP%] .table-header-v2[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding:10px 7px 10px 20px}.table-container[_ngcontent-%COMP%] .table-header-v2[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding:10px 20px 10px 7px}.table-container[_ngcontent-%COMP%] .table-body-v2[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px}.table-container[_ngcontent-%COMP%] .table-body-v2[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding:7px 7px 7px 20px}.table-container[_ngcontent-%COMP%] .table-body-v2[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:7px 20px 7px 7px}table.table-header-v2[_ngcontent-%COMP%]:after{border-collapse:separate}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%]{width:100%;max-height:calc(100% - 30px);flex:1;overflow-y:overlay}.table-container[_ngcontent-%COMP%] .no-record[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:7px 0}.header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{flex:1;font-size:16px;padding:12px 20px;color:#000000de}.header[_ngcontent-%COMP%] .btn-area[_ngcontent-%COMP%]{padding:7px 16px}.header[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#000}.header[_ngcontent-%COMP%] .button-disable[_ngcontent-%COMP%]:hover{color:#aaa;cursor:default;pointer-events:none}.header[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]{color:#1e90ff}.header[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]:hover{color:#30b0ff}.widget[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{flex:1;padding:14px 16px;overflow-y:overlay}.body-center[_ngcontent-%COMP%]{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.body-center[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{text-align:center}.body-center[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:30px;color:#2383e2}.body-center[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-bottom:14px;font-size:14px;color:#0009;text-align:center;line-height:1.5}.body-center[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-bottom:8px;font-size:18px;color:#000000de}.body[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:14px;color:#777}.body[_ngcontent-%COMP%] > .contents[_ngcontent-%COMP%]{font-size:15px;color:#333;margin-top:4px;padding:4px 0;display:flex;min-height:24px;align-items:center}.body[_ngcontent-%COMP%] .editable[_ngcontent-%COMP%]{border-bottom:1px solid #fff;transition:.5s}.body[_ngcontent-%COMP%] .editable[_ngcontent-%COMP%]:hover{cursor:text;border-bottom:1px solid #ccc}.body[_ngcontent-%COMP%] .selectbox[_ngcontent-%COMP%]{color:#777;padding:16px;box-shadow:0 0 2px #888;transition:.2s;cursor:pointer;display:flex;flex-direction:row}.body[_ngcontent-%COMP%] .selectbox[_ngcontent-%COMP%]:hover{color:#333;box-shadow:0 0 6px #888}.widget[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{margin:12px;padding:12px 12px 12px 36px;box-sizing:border-box;border:0;border-bottom:2px solid #ddd;background-color:transparent;background-image:url(/assets/icons/ic_search_72pt.png);background-size:24px;background-position:4px 8px;background-repeat:no-repeat;flex:1;transition:.3s}.widget[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]:focus{outline:none;border-bottom:2px solid #777}.widget[_ngcontent-%COMP%] .filter-area[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center;flex-direction:row-reverse}.tab[_ngcontent-%COMP%] .combo-box[_ngcontent-%COMP%]{display:flex}.filter-area[_ngcontent-%COMP%] .combo-box[_ngcontent-%COMP%]{color:#777;font-size:14px;padding:0 8px 0 0;text-align:right;position:relative;cursor:pointer}.header[_ngcontent-%COMP%] .combo-box[_ngcontent-%COMP%]{color:#777;font-size:14px;text-align:right;position:relative;cursor:pointer}.combo-box[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]{transition:.2s}.combo-box[_ngcontent-%COMP%] > .button-active[_ngcontent-%COMP%]{color:#000}.combo-box[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{vertical-align:middle}.combo-box-contents[_ngcontent-%COMP%]{position:absolute;right:16px;z-index:101;text-align:left;box-sizing:border-box;background-color:#fff;transition:.2s;box-shadow:0 2px 4px #00000080;border:solid 1px #d9d9d9;border-radius:5px}.combo-box-contents[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]{cursor:pointer;padding:8px;color:#333;font-size:12px}.combo-box-contents[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]:hover{background:#eee}.list[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;border-bottom:1px solid rgba(0,0,0,.1);min-height:28px;transition:.1s;padding:10px 20px}.list.locked-list[_ngcontent-%COMP%]{background-color:#f7fafc}.list-group[_ngcontent-%COMP%]:hover{background-color:#fafcff}.list-bottom-clear[_ngcontent-%COMP%]{border-bottom:none}.list-bottom-line[_ngcontent-%COMP%]{border-bottom:1px solid #aaa}.widget[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]:hover{background:#f5f5f5;cursor:pointer}.widget[_ngcontent-%COMP%] .list.locked-list[_ngcontent-%COMP%]:hover{background:#F7FAFC;cursor:initial}.list[_ngcontent-%COMP%] > .contents[_ngcontent-%COMP%]{padding:12px 0;font-size:14px;color:#333;flex:1}.list[_ngcontent-%COMP%] > .stat-contents[_ngcontent-%COMP%]{padding:12px 0;float:right;font-size:13px;color:#aaa}.list[_ngcontent-%COMP%] > .button-contents[_ngcontent-%COMP%]{padding:12px 0;float:right;font-size:13px}.list[_ngcontent-%COMP%] > .button-contents[_ngcontent-%COMP%]:hover{opacity:.8}.list[_ngcontent-%COMP%] > .icon[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 10px 0 6px;height:40px}.list[_ngcontent-%COMP%] .status-bar[_ngcontent-%COMP%]{width:8px;background:#aaa}.contents[_ngcontent-%COMP%] > .contents-small[_ngcontent-%COMP%]{margin-left:4px;font-size:11px;color:#555}.contents[_ngcontent-%COMP%] .sub-contents[_ngcontent-%COMP%]{font-size:12px;color:#0009;margin-top:6px}.widget[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{height:initial;align-items:center}.widget[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.widget[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px;color:#56657bde;text-transform:uppercase;text-align:left;font-size:13px;font-weight:normal}.widget[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px rgba(0,0,0,.1) solid}.widget[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child{border-bottom:none}.widget[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:14px;color:#000000de;padding:7px}td[_ngcontent-%COMP%] .sub-contents[_ngcontent-%COMP%]{font-size:11px;color:#888;margin-top:4px}td[_ngcontent-%COMP%] .edit-btn[_ngcontent-%COMP%]{cursor:pointer;color:#1e90ff}td[_ngcontent-%COMP%] .delete-btn[_ngcontent-%COMP%]{cursor:pointer;color:#f1556c}table[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{float:right;color:#bbb;transition:.2s;cursor:pointer}table[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#333}table[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:50%;width:35px;height:35px}.div-table-header[_ngcontent-%COMP%]{display:flex;height:30px;border-style:solid;border-width:1px;border-image-source:linear-gradient(to bottom,#dfdfdf,#bcbcbc);border-image-slice:1;border-collapse:separate;background-image:linear-gradient(to bottom,#f7f7f7,#ececed);font-size:14px;align-items:center}.div-table-header[_ngcontent-%COMP%] .div-table-head[_ngcontent-%COMP%]{padding:7px 16px}.face[_ngcontent-%COMP%]{border-radius:50%;width:28px;height:28px;display:inline-block;margin-right:8px;vertical-align:middle}.folding-list[_ngcontent-%COMP%]{cursor:pointer}.folding-list[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:8px}.folding-list[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{color:#555;font-size:16px;padding:12px 0;border-bottom:1px solid #aaa;transition:.1s;height:54px}.folding-list[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]:hover{background:#f5f5f5}.folding-list[_ngcontent-%COMP%] .sub-list-title[_ngcontent-%COMP%]{margin-left:16px;padding:12px 0 4px;color:#777;font-size:12px;font-weight:bold;border-bottom:1px solid #ccc;display:flex}.folding-list[_ngcontent-%COMP%] .sub-list[_ngcontent-%COMP%]{margin-left:16px;padding:8px 0;color:#333;font-size:14px;border-bottom:1px solid #ccc;transition:.1s;display:flex}.folding-list[_ngcontent-%COMP%] .sub-list[_ngcontent-%COMP%]:hover{background:#f5f5f5}.folding-list[_ngcontent-%COMP%] .sub-list-selected[_ngcontent-%COMP%]{background:#f5f5f5}.empty-contents[_ngcontent-%COMP%]{font-size:16px;color:#bbb;font-weight:bold;text-transform:uppercase}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex:1;box-sizing:border-box;padding:4px;border:0;border-bottom:1px solid #ccc;background:rgba(0,0,0,0);transition:.2s}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none;border-bottom:1px solid #777}.body[_ngcontent-%COMP%] .hidden-input[_ngcontent-%COMP%]{padding:4px 0;border-bottom:1px solid #fff;background:rgba(0,0,0,0)}.body[_ngcontent-%COMP%] .hidden-input[_ngcontent-%COMP%]:hover{border-bottom:1px solid #777}.dropdown[_ngcontent-%COMP%]{font-size:14px;position:relative;flex:1}.dropdown-contents[_ngcontent-%COMP%]{position:absolute;width:100%;margin-top:8px;left:0px;z-index:100;text-align:left;box-sizing:border-box;background-color:#fff;box-shadow:0 1px 13px 1px #0003;transition:.2s}.dropdown-contents[_ngcontent-%COMP%] > .list-item[_ngcontent-%COMP%]{cursor:pointer;padding:8px;color:#333;font-size:14px;display:flex;align-items:center}.dropdown-contents[_ngcontent-%COMP%] > .list-item[_ngcontent-%COMP%]:hover{background:#eee}.dropdown[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;background:rgba(0,0,0,0)}.face[_ngcontent-%COMP%]{border-radius:50%;width:32px;height:32px;margin-right:8px}.no-face[_ngcontent-%COMP%]{border-radius:50%;width:38x;height:38px;min-width:38px;min-height:38px;background-color:#ccc;display:inline-block;margin-right:8px;vertical-align:middle;color:#fff;text-align:center;text-transform:uppercase}.calendar[_ngcontent-%COMP%]{width:100%}.contents[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]{color:#777;transition:.2s;cursor:pointer}.contents[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]:hover{color:#333}.list[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]{display:flex;width:32px;height:32px;justify-content:center;align-items:center;padding:5px;color:#777;transition:.2s;cursor:pointer;border-radius:21px}.list[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]:hover{color:#333;background:rgba(0,0,0,.05)}.btn-danger[_ngcontent-%COMP%]{color:#f1556d}.btn-danger[_ngcontent-%COMP%]:hover{color:#f47185}.svg-icon[_ngcontent-%COMP%]{font-size:24px;color:#000;width:1em;height:1em;position:relative}.svg-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:currentColor;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.png-icon[_ngcontent-%COMP%]{width:36px;height:36px;position:relative}.png-icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;max-height:100%}.child-item[_ngcontent-%COMP%]{padding-left:24px}.title[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px}.widget[_ngcontent-%COMP%] .has-child[_ngcontent-%COMP%]:hover{background:#f5f5f5;cursor:pointer}.body[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{flex:1;background:white;box-sizing:border-box;margin-top:8px;padding:4px 0;border:0;border-bottom:1px solid #ccc;transition:.2s}.body[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:focus{outline:none;border-bottom:1px solid #777}.loader[_ngcontent-%COMP%]{position:relative;margin:0 auto;width:50px}.loader[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.absolute[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 25px);left:calc(50% - 25px);z-index:10}.circular[_ngcontent-%COMP%]{animation:rotate 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto}.path[_ngcontent-%COMP%]{stroke-dasharray:1,200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke:#0057e7;stroke-linecap:round}.path.white[_ngcontent-%COMP%]{stroke:#fff}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.list-item[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{position:relative;background-color:#2383e2;border:none;font-size:14px;color:#fff;padding:8px 16px;margin-left:8px;text-align:center;transition-duration:.4s;text-decoration:none;overflow:hidden;cursor:pointer;outline:none}.list-item[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#fff}.content-list[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{position:relative;background-color:#2383e2;border:none;font-size:14px;color:#fff;padding:8px 16px;margin-left:8px;text-align:center;transition-duration:.4s;text-decoration:none;overflow:hidden;cursor:pointer;outline:none}.title-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-top:28px}.title-row[_ngcontent-%COMP%] .list-title[_ngcontent-%COMP%]{flex:1;color:#777;padding-top:12px;justify-content:center}.title-row[_ngcontent-%COMP%] .tail[_ngcontent-%COMP%]{flex:1;text-align:right}.disabled[_ngcontent-%COMP%]{cursor:default;filter:contrast(60%) brightness(1.2);opacity:1;pointer-events:none;-webkit-user-select:none;user-select:none}.input-err[_ngcontent-%COMP%]{outline:none;background-color:#fbd0d6;box-shadow:0 0 0 2px #f1556c}.page-item[_ngcontent-%COMP%]{padding-bottom:14px!important}.unselectable[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.pager[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:14px;color:#0009}.pager[_ngcontent-%COMP%] .page-info[_ngcontent-%COMP%]{display:flex;align-items:center;min-width:80px;padding-left:16px}.pager[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%]{display:flex;align-items:center;padding:0 0 0 28px}.pager[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%] .page-btn[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;color:#0009}.pager[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%] .page-btn[_ngcontent-%COMP%]:hover{color:#000000de}.pager[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%] .page-btn.mover-disabled[_ngcontent-%COMP%]{cursor:initial;color:#0000004d}.pager[_ngcontent-%COMP%] .page-all[_ngcontent-%COMP%]{display:flex;align-items:center;padding-right:15px}.inner-input[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:6px 8px;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:5px;font-size:14px;transition:.2s;text-indent:0px;font-weight:400}.top-noti[_ngcontent-%COMP%]{width:100%;min-height:36px;display:flex;flex-direction:row;justify-content:center;align-items:center;margin-bottom:7px;background-color:#fcf9e9;font-size:14px;color:#000000de;border-bottom:rgba(0,0,0,.1)}',".list-button[_ngcontent-%COMP%]{position:relative;background-color:#2383e2;border:none;height:32px;font-size:14px;color:#fff;padding:8px 16px;margin-left:8px;text-align:center;transition-duration:.4s;text-decoration:none;overflow:hidden;cursor:pointer;outline:none}.tail-right[_ngcontent-%COMP%]{padding:0!important;text-align:right;width:78px}.invisible[_ngcontent-%COMP%]{display:none}.warning[_ngcontent-%COMP%]{color:#dc143c}.material-button[_ngcontent-%COMP%]{color:#2383e2;cursor:pointer}.material-button[_ngcontent-%COMP%]:hover{color:#54aaff}.clear-button[_ngcontent-%COMP%]{color:#dc143c;cursor:pointer}.clear-button[_ngcontent-%COMP%]:hover{color:#fa5274}.text-button[_ngcontent-%COMP%]{padding-left:4px;color:#2383e2;cursor:pointer}.text-button[_ngcontent-%COMP%]:hover{color:#54aaff}.status-box-head[_ngcontent-%COMP%]{padding:8px 0 8px 8px;width:calc(100% - 8px);background-color:#e6f2ff;border-radius:4px 4px 0 0}.status-box-head[_ngcontent-%COMP%]:hover{background-color:#cce6ff}.selectbox[_ngcontent-%COMP%]{padding:6px;margin:0 8px 0 0;border-radius:4px;cursor:pointer;width:98%}.selectbox[_ngcontent-%COMP%]:hover{background:#eee}.selectbox.short[_ngcontent-%COMP%]{width:150px}.test-box[_ngcontent-%COMP%]{display:flex;width:99%;margin:0 0 8px}.transition[_ngcontent-%COMP%]{transition:.3s}.transition.rotate-reverse[_ngcontent-%COMP%]{transform:rotate(180deg)}.fa-spin[_ngcontent-%COMP%]{animation:fa-spin 2s infinite linear}@keyframes fa-spin{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.tab[_ngcontent-%COMP%]{height:40px;color:#888;background:#fff;box-shadow:0 4px 2px -2px #888;display:flex;align-items:center;z-index:1}.tab[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;position:relative}.tab[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:hover{color:#2383e2;cursor:pointer}.tab[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#2383e2}.tab[_ngcontent-%COMP%] .icn-button[_ngcontent-%COMP%]{padding:0 16px}.tab[_ngcontent-%COMP%] .icn-button-active[_ngcontent-%COMP%]{color:#000}.tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:0 32px;text-transform:capitalize;font-size:14px}.tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;bottom:-2px;width:100%;height:4px;background:#2383e2}[sortable-column][_ngcontent-%COMP%]{cursor:pointer}"],data:{animation:[_.cN]}}),i})();const J=C.Bz.forChild([{path:"",component:k},{path:":id",component:k}]);var Y=a(56447),Q=a(985),R=a(44304),$=a(688);let W=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[[n.ez,h.u5,J,Y.q,R.S,Q.Y,$.m]]}),i})()}}]);