-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path7469.b6c6a6eae0587c137259.js
1 lines (1 loc) · 454 KB
/
7469.b6c6a6eae0587c137259.js
1
"use strict";(self.webpackChunkchekt_web_wcs=self.webpackChunkchekt_web_wcs||[]).push([[7469],{37469:(Wt,G,h)=>{h.r(G),h.d(G,{CustomerAutomationRulesModule:()=>fc});var P=h(93324),T=h(16274),ct=h(29535),X=h(61855),t=h(42741),lt=h(90714),L=h(72898),st=h(25229),ht=h(7611),Ct=h(54414),Kt=h(55893),bt=h(56880),Gt=h(47588),Mt=h(21929),Xt=h(29026);class dt{constructor(){this.type="none"}}class xt{constructor(r){this.type="camera",this.name="Camera Triggered",this.isAllCamera=1,this.update(r)}update(r){this.cameras=r.cameras}}class Ot{constructor(r){this.type="time_triggered",this.name="Time Triggered",this.update(r)}update(r){this.TTdaysOfWeek=r.TTdaysOfWeek}}class te{constructor(r){this.type="relay",this.name="Relay",this.update(r)}update(r){this.relay=r.relay,this.triggerState=r.triggerState}}class V{constructor(r){this.type="arming",this.name="System State Change",this.isStatus=0,this.isAllBridge=1,this.bridges=[],this.update(r)}update(r){this.armingState=r.armingState,this.device=r.device,this.deviceId=r.deviceId,this.isStatus=r.isStatus,this.bridges=r.bridges}}class ${constructor(r){this.type="armed_status",this.name="System Status",this.isStatus=0,this.isAllBridge=1,this.bridges=[],this.update(r)}update(r){this.armingState=r.armingState,this.device=r.device,this.deviceId=r.deviceId,this.isStatus=r.isStatus,this.bridges=r.bridges}}class Pt{constructor(r){this.type="monitoring_portal",this.name="Monitoring Portal",this.isStatus=0,this.update(r)}update(r){this.state=r.state,this.isStatus=r.isStatus}}class tt{constructor(){this.type="none",this.isShowMenu=!1}}class vt{constructor(r){this.type="time",this.name="Time",this.startHour="00",this.startMinute="00",this.endHour="12",this.endMinute="00",this.isShowMenu=!1,this.update(r)}update(r){this.daysOfWeek=r.daysOfWeek,this.TCdaysOfWeek=r.TCdaysOfWeek,this.startTime=r.startTime,this.endTime=r.endTime,r.startHour&&(this.startHour=r.startHour),r.startMinute&&(this.startMinute=r.startMinute),r.endHour&&(this.endHour=r.endHour),r.endMinute&&(this.endMinute=r.endMinute)}}class j{constructor(r){this.type="arming",this.name="Arming",this.isShowMenu=!1,this.aiOperator=null,this.update(r)}update(r){this.armingState=r.armingState,this.aiOperator=r.aiOperator}}class yt{constructor(){this.type="none",this.isShowMenu=!1}}class wt{constructor(r){this.type="talkdown",this.name="Talkdown",this.isAllSpeaker=1,this.isShowMenu=!1,this.isShowSpeakerMenu=!1,this.update(r)}update(r){this.tts=r.tts,this.ttsId=r.talkdownId,this.repeat=r.repeat,this.interval=r.interval,this.audios=r.audios}}class At{constructor(r){this.type="relay",this.name="Relay",this.momentaryDuration=60,this.minuteDuration=1,this.secondDuration=0,this.isShowMenu=!1,this.isShowRelaySelect=!1,this.isShowRelayStatusSelect=!1,this.update(r)}update(r){this.relay=r.relay,this.relayId=r.relayId,this.relayNormalState=r.relayNormalState,this.relayEnergizeState=r.relayEnergizeState,this.relayState=r.relayState,this.relayStateIcon=r.relayStateIcon,this.relayTriggerState=r.relayTriggerState,this.mode=r.mode,this.momentaryDuration=r.momentaryDuration,this.minuteDuration=parseInt(this.momentaryDuration/60+""),this.secondDuration=this.momentaryDuration%60}}class Tt{constructor(r){this.type="record-video",this.name="Record Video",this.isPlayback=0,this.isShowMenu=!1,this.update(r)}update(r){this.cameras=r.cameras,this.cameraIds=r.cameraIds,this.isPlayback=r.isPlayback}}class kt{constructor(r){this.type="playback",this.name="Record 2 Minutes Playback",this.isPlayback=1,this.isShowMenu=!1,this.update(r)}update(r){this.cameras=r.cameras,this.cameraIds=r.cameraIds,this.isPlayback=r.isPlayback}}class Zt{constructor(r){this.type="http-request",this.name="HTTP Request ",this.headers={},this.headersCustom=[],this.authType=1,this.isShowMenu=!1,this.isShowAdvanced=!1,this.isShowHeaderAuth=!1,this.isValidHttpUrl=!1,this.isShowPassword=!1,this.isBodyMaxBytes=!1,this.isHeaderMaxBytes=!1,this.update(r)}update(r){this.method=r.method,this.url=r.url,this.body=r.body,this.contentType=r.contentType,this.contentTypeCustom=r.contentTypeCustom,this.authType=r.authType,this.testResponse=r.testResponse,this.isTestFailed=r.isTestFailed,this.apiAddTo=r.apiAddTo,this.username=r.username,this.password=r.password,this.isShowPassword=r.isShowPassword,this.headers=r.headers,this.headersCustom=r.headersCustom,this.authKey=r.authKey,this.authVal=r.authVal,this.apiKey=r.apiKey,this.apiVal=r.apiVal,this.headerAuthKey=r.headerAuthKey,this.headerAuthVal=r.headerAuthVal,this.isShowHeaderAuth=r.isShowHeaderAuth,this.authHeaderKey=r.authHeaderKey,this.bearerToken=r.bearerToken,this.isValidHttpUrl=r.isValidHttpUrl,this.isBodyMaxBytes=r.isBodyMaxBytes,this.isHeaderMaxBytes=r.isHeaderMaxBytes,this.bodyBytes=r.bodyBytes,this.headerBytes=r.headerBytes}}class gt extends class{constructor(){this.initData()}initData(){this.trigger=new dt;const r=new tt;this.conditions=[r];const e=new tt;this.actions=[e]}}{constructor(r){super(),super.initData(),this.curStep=0,this.stepStatus=[],this.lastUpdated=new Date,this.tmpId=this.name+this.lastUpdated.getTime(),this.isEnableCreate=!1,this.initStep(r),this.initData()}initStep(r){Object.keys(r).forEach(n=>{this.stepStatus[n]=0})}initData(){this.name="",this.enabled=!0}updateStepStatus(r,e){this.stepStatus[r]=e,this.checkStepStatus()}checkStepStatus(){this.isEnableCreate=2===this.stepStatus[0]&&2===this.stepStatus[2]}updateCurStep(r){this.curStep=r}}var et=h(63543),nt=h(88561),H=h(46243),ne=h(27787),oe=h(78806),ie=h(93220),ae=h(91486),re=h(15053),U=h(84699);function ce(o,r){if(1&o&&(t.TgZ(0,"option",20),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function le(o,r){if(1&o&&(t.TgZ(0,"option",20),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}let se=(()=>{class o{constructor(){this.result=new t.vpe,this.hours=Array.from({length:24},(e,n)=>n<10?"0"+n:n+""),this.minutes=Array.from({length:60},(e,n)=>n<10?"0"+n:n+""),this.selHour=this.hours[0],this.selMinutes=this.minutes[0],this.isEditMode=!1,this.dayIndex=null,this.activeTimeIndex=null,this.isEnabledAddAllDays=!1}ngOnInit(){}ngOnChanges(e){this.isEditMode=this.modal.data.isEditMode,this.dayIndex=this.modal.data.dayIndex,this.activeTimeIndex=this.modal.data.activeTimeIndex,this.selHour=this.modal.data.selHour?this.modal.data.selHour:this.hours[0],this.selMinutes=this.modal.data.selMinutes?this.modal.data.selMinutes:this.minutes[0],this.isEnabledAddAllDays=!1}updateTime(){this.isEditMode?this.editTime():this.addTime()}addTime(){this.result&&this.result.next({setHour:this.selHour,setMinutes:this.selMinutes,dayIndex:this.dayIndex,mode:"add",isEnabledAddAllDays:this.isEnabledAddAllDays}),this.closeModal()}editTime(){this.result&&this.result.next({setHour:this.selHour,setMinutes:this.selMinutes,dayIndex:this.dayIndex,activeTimeIndex:this.activeTimeIndex,mode:"edit"}),this.closeModal()}closeModal(){this.modal.close()}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["dealer-automation-rule-time-trigger"]],inputs:{modal:"modal",active:"active"},outputs:{result:"result"},features:[t.TTD],decls:29,vars:12,consts:[[1,"disable-full-screen"],[1,"background",3,"click"],[1,"container-center"],[1,"modal"],[1,"modal-header"],[1,"modal-header-txt"],[2,"position","relative"],[1,"title-close"],[1,"material-icons",3,"click"],[1,"item"],[1,"flex","align-center"],[1,"set-time",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"ml-10","mr-10"],[1,"checkbox"],[3,"labelPosition","ngModel","ngModelChange"],[1,"tail-btn-area"],[1,"button","button-primary",3,"click"],[1,"btn-inner"],[1,"button",3,"click"],[3,"value"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.NdJ("click",function(){return n.closeModal()}),t.qZA(),t.TgZ(2,"div",2),t.TgZ(3,"div",3),t.TgZ(4,"div",4),t.TgZ(5,"div",5),t._uU(6),t.qZA(),t.TgZ(7,"div",6),t.TgZ(8,"div",7),t.TgZ(9,"i",8),t.NdJ("click",function(){return n.closeModal()}),t._uU(10,"close"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,"div",9),t.TgZ(12,"div",10),t.TgZ(13,"select",11),t.NdJ("ngModelChange",function(a){return n.selHour=a}),t.YNc(14,ce,2,2,"option",12),t.qZA(),t.TgZ(15,"span",13),t._uU(16,":"),t.qZA(),t.TgZ(17,"select",11),t.NdJ("ngModelChange",function(a){return n.selMinutes=a}),t.YNc(18,le,2,2,"option",12),t.qZA(),t.qZA(),t.TgZ(19,"div",14),t.TgZ(20,"mat-checkbox",15),t.NdJ("ngModelChange",function(a){return n.isEnabledAddAllDays=a}),t._uU(21," Add to all days "),t.qZA(),t.qZA(),t.qZA(),t.TgZ(22,"div",16),t.TgZ(23,"div",17),t.NdJ("click",function(){return n.updateTime()}),t.TgZ(24,"div",18),t._uU(25),t.qZA(),t.qZA(),t.TgZ(26,"div",19),t.NdJ("click",function(){return n.closeModal()}),t.TgZ(27,"div",18),t._uU(28,"Cancel"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Udp("opacity",n.modal.is_active?100:0)("visibility",n.modal.is_active?"visible":"hidden"),t.xp6(6),t.hij("",n.isEditMode?"Edit":"Add"," Time"),t.xp6(7),t.Q6J("ngModel",n.selHour),t.xp6(1),t.Q6J("ngForOf",n.hours),t.xp6(3),t.Q6J("ngModel",n.selMinutes),t.xp6(1),t.Q6J("ngForOf",n.minutes),t.xp6(2),t.Q6J("labelPosition","after")("ngModel",n.isEnabledAddAllDays),t.xp6(5),t.Oqu(n.isEditMode?"Edit":"Add"))},directives:[P.EJ,P.JJ,P.On,T.sg,U.oG,P.YN,P.Kr],styles:['.disable-full-screen[_ngcontent-%COMP%]{top:0;left:0;width:100%;height:100%;position:fixed;visibility:hidden;opacity:0;transition:.2s;z-index:101}.disable-full-screen[_ngcontent-%COMP%] > .background[_ngcontent-%COMP%]{position:absolute;background-color:#00000080;top:0;left:0;width:100%;height:100%;z-index:1}.overlay[_ngcontent-%COMP%]{position:fixed;top:0;bottom:0;left:0;right:0;background-color:#0000004d;z-index:1}.container-center[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;height:48px;padding:0 16px}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:inline-block;font-size:20px;color:#fff;text-transform:uppercase}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-size:12px;color:#fffc;padding:8px 0 32px;line-height:.8}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .space[_ngcontent-%COMP%]{flex:1}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{float:right;margin-left:8px;color:#fffc;transition:.1s}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#fff;cursor:pointer}.body[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:14px;color:#777;margin-top:28px}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:14px;flex:1 1 auto;box-sizing:border-box;padding:6px 0 4px;border:0;border-bottom:2px solid #ddd;background:rgba(0,0,0,0);transition:.2s}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 3px #1f8fff61;outline:none}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%] .err[_ngcontent-%COMP%]{outline:none;border-bottom:2px solid #D25074}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%] .err[_ngcontent-%COMP%]:focus{outline:none;border-bottom:2px solid #D25074}.body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{font:400 14px Arial;resize:none;flex:1 1 auto;box-sizing:border-box;padding:6px 0 4px;border:0;border-bottom:2px solid #ddd;background:rgba(0,0,0,0);transition:.2s}.body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 3px #1f8fff61;outline:none}.body[_ngcontent-%COMP%] .hidden-input[_ngcontent-%COMP%]{border-bottom:2px solid #fff;background:rgba(0,0,0,0) #b87272}.body[_ngcontent-%COMP%] .hidden-input[_ngcontent-%COMP%]:hover{border-bottom:2px solid #777}.body[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:100%;min-height:24px;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}.body[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{width:100%;min-height:24px;font-size:14px;color:#333;margin-top:12px;padding:4px 0;display:flex;align-items:center}.body[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{margin-right:8px}.body[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]{color:#777;transition:.2s;cursor:pointer}.body[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]:hover{color:#333}.body[_ngcontent-%COMP%] .contents-selectable[_ngcontent-%COMP%]{cursor:pointer}.body[_ngcontent-%COMP%] .contents-selectable[_ngcontent-%COMP%]:hover{background:#f0f0f0}.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%] > .warning[_ngcontent-%COMP%]{color:#f55}.modal[_ngcontent-%COMP%]{width:100%;max-width:600px;background:white;box-shadow:0 4px 8px #777;z-index:2;border-radius:5px}.modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{display:flex;height:50px;justify-content:space-between;border-bottom:.5px solid rgba(0,0,0,.1)}.modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-header-txt[_ngcontent-%COMP%]{display:flex;align-items:center;padding-left:16px}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%]{display:flex;height:50px;justify-content:space-between;background-color:#f7fafc;border-radius:5px 5px 0 0}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:inline-block;font-size:20px;color:#fff;text-transform:uppercase}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-size:12px;color:#fffc;padding:8px 0 32px;line-height:.8}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .space[_ngcontent-%COMP%]{flex:1}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{float:right;margin-left:8px;color:#fffc;transition:.1s}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#fff;cursor:pointer}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%]{flex:1;display:block;overflow-y:overlay;padding:30px 20px 20px;border-bottom:.5px solid rgba(0,0,0,.1);background-color:#f8fafc;display:flex;flex-direction:column;font-size:14px}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{color:#0009;font-size:12px}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:8px;background-color:#fff;border:1px solid #eeeeee;font-size:14px;transition:.2s;text-indent:0px;font-weight:400;resize:none}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{font-size:14px}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus{outline:none;border:1px solid #2383e2}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{padding-bottom:20px}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:7px 10px;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}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 3px #1f8fff61;outline:none}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.err[_ngcontent-%COMP%]{outline:none;background-color:#fbd0d6;box-shadow:0 0 0 2px #d25074}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.err[_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 0 2px #d25074}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]{background-color:#f5f5f5}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:focus{background-color:#fff}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.disabled[_ngcontent-%COMP%]{background-color:#eee;opacity:1}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.err[_ngcontent-%COMP%]{outline:none;border:1px solid #D25074!important;background-color:#fff!important}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.correct[_ngcontent-%COMP%]{border:solid 1px #e0e0e0;background-color:#e5f2ff}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:#0000004d}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.input-err[_ngcontent-%COMP%]{outline:none;background-color:#fbd0d6;box-shadow:0 0 0 2px #f1556c}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.input-err[_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 0 2px #f1556c}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .site-search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-bottom:0;border:none;outline:none;background-color:transparent}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item.pb-0[_ngcontent-%COMP%]{padding-bottom:0}.modal[_ngcontent-%COMP%] > .body[_ngcontent-%COMP%]{padding:16px 32px;display:flex;flex-direction:column;max-height:800px;overflow-y:overlay}.modal[_ngcontent-%COMP%] > .body-center[_ngcontent-%COMP%]{padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;max-height:800px;overflow-y:overlay}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:center;padding:0 32px 30px}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .space[_ngcontent-%COMP%]{flex:1}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{padding:7px 14px;color:#888;font-size:14px;font-weight:500;transition:.2s;text-transform:capitalize;border-radius:5px}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#000;cursor:pointer}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]{background:#2383e2;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]:hover{background:#2ea0ff;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-warning[_ngcontent-%COMP%]{background:orange;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-warning[_ngcontent-%COMP%]:hover{background:#ffb938;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-disable[_ngcontent-%COMP%]{background:#ddd;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-disable[_ngcontent-%COMP%]:hover{background:#ddd;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-danger[_ngcontent-%COMP%]{background:#f1556d;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-danger[_ngcontent-%COMP%]:hover{background:#f47185;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-normal[_ngcontent-%COMP%]{background:#d1d2d2;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-normal[_ngcontent-%COMP%]:hover{background:#b2b3b3;color:#fff}.dropdown[_ngcontent-%COMP%]{font-size:14px;position:relative;flex:1}.dropdown[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;background:rgba(0,0,0,0)}.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}.face[_ngcontent-%COMP%]{border-radius:50%;width:32px;height:32px;margin-right:8px}.no-face[_ngcontent-%COMP%]{border-radius:50%;width:32px;height:32px;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%}.dropdown-background[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1}.disabled[_ngcontent-%COMP%]{opacity:.6;cursor:default;pointer-events:none}.inactive[_ngcontent-%COMP%]{pointer-events:none;filter:grayscale(.3);opacity:.8}.loader[_ngcontent-%COMP%]{position:relative;margin:0 auto;width:50px}.loader.absolute[_ngcontent-%COMP%]{margin:auto;position:absolute;top:calc(50% - 25px);left:calc(50% - 25px)}.loader[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.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}.title-close[_ngcontent-%COMP%]{position:absolute;display:flex;top:3px;right:6px;width:45px;height:45px;align-items:center;justify-content:center;font-size:14px;color:#0009;cursor:pointer;transition:.2s}.title-close[_ngcontent-%COMP%]:hover{background-color:#f7f7f7;border-radius:22px}.tail-btn-area[_ngcontent-%COMP%]{border-radius:5px;padding:12px 20px}.row[_ngcontent-%COMP%]{display:flex}.row.between[_ngcontent-%COMP%]{justify-content:space-between}table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.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.table-header[_ngcontent-%COMP%]:after{border-collapse:separate}table[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%]{width:100%;flex:1;overflow-y:overlay;overflow-x:hidden}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{position:relative;padding:10px 7px;color:#000000de;text-transform:capitalize;text-align:left;font-size:12px;font-weight:normal;-webkit-user-select:none;user-select:none}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding:10px 7px 10px 20px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding:10px 20px 10px 7px}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:14px;color:#0009;border-bottom:1px rgba(0,0,0,.1) solid;padding:14px}.selectable[_ngcontent-%COMP%]{cursor:pointer}.selectable[_ngcontent-%COMP%]:hover{background:#f0f0f0}',".modal[_ngcontent-%COMP%]{max-width:200px}.item[_ngcontent-%COMP%]{align-items:center;min-height:18px;padding:20px;border-bottom:solid 1px rgba(0,0,0,.1)}.item[_ngcontent-%COMP%] .item-title[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:14px;color:#000000de;margin-bottom:10px}.item[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{color:#000000de;font-size:14px;margin-top:14px}select[_ngcontent-%COMP%]{width:100%;min-height:24px;background:white;box-sizing:border-box;padding:7px 10px;border:1px solid rgba(0,0,0,.2);border-radius:5px;transition:.2s}select[_ngcontent-%COMP%]:focus{outline:none;border:1px solid rgba(0,0,0,.3)}select.set-time[_ngcontent-%COMP%]{width:64px}"]}),o})();function de(o,r){if(1&o&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function ge(o,r){if(1&o&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function _e(o,r){if(1&o&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function pe(o,r){if(1&o&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function me(o,r){if(1&o&&(t.TgZ(0,"div",26),t._uU(1),t.qZA()),2&o){const e=t.oxw();t.xp6(1),t.hij(" ",e.errorMsg," ")}}function ue(o,r){if(1&o&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&o){const e=t.oxw();t.xp6(1),t.hij(" ",e.warningMsg," ")}}function fe(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",27),t.TgZ(1,"mat-checkbox",28),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw().isEnabledAddAllDays=i}),t._uU(2," Add to all days "),t.qZA(),t.qZA()}if(2&o){const e=t.oxw();t.xp6(1),t.Q6J("labelPosition","after")("ngModel",e.isEnabledAddAllDays)}}function he(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",29),t.NdJ("click",function(){return t.CHM(e),t.oxw().removeTime()}),t.TgZ(1,"div",21),t._uU(2,"Delete"),t.qZA(),t.qZA()}}let Ce=(()=>{class o{constructor(){this.tcresult=new t.vpe,this.shours=Array.from({length:25},(e,n)=>n<10?"0"+n:n+""),this.sminutes=Array.from({length:60},(e,n)=>n<10?"0"+n:n+""),this.ehours=Array.from({length:25},(e,n)=>n<10?"0"+n:n+""),this.eminutes=Array.from({length:60},(e,n)=>n<10?"0"+n:n+""),this.selStartHour=this.shours[0],this.selStartMinutes=this.sminutes[0],this.selEndHour=this.ehours[0],this.selEndMinutes=this.eminutes[0],this.isEditMode=!1,this.dayIndex=null,this.conditionIndex=null,this.activeTimeIndex=null,this.isEnabledAddAllDays=!1,this.isError=!1,this.isWarning=!1,this.errorMsg="",this.allowAdd=!1}ngOnInit(){}ngOnChanges(e){var n,i,a,c,l,s,d,g;this.shours=Array.from({length:25},(p,_)=>_<10?"0"+_:_+""),this.sminutes=Array.from({length:60},(p,_)=>_<10?"0"+_:_+""),this.ehours=Array.from({length:25},(p,_)=>_<10?"0"+_:_+""),this.eminutes=Array.from({length:60},(p,_)=>_<10?"0"+_:_+""),this.isEditMode=this.modal.data.isEditMode,this.dayIndex=this.modal.data.dayIndex,this.conditionIndex=this.modal.data.conditionIndex,this.activeTimeIndex=this.modal.data.activeTimeIndex,this.selStartHour=null!==(i=null===(n=this.modal.data.time)||void 0===n?void 0:n.selStartHour)&&void 0!==i?i:this.shours[0],this.selStartMinutes=null!==(c=null===(a=this.modal.data.time)||void 0===a?void 0:a.selStartMinutes)&&void 0!==c?c:this.sminutes[0],this.selEndHour=null!==(s=null===(l=this.modal.data.time)||void 0===l?void 0:l.selEndHour)&&void 0!==s?s:this.ehours[0],this.selEndMinutes=null!==(g=null===(d=this.modal.data.time)||void 0===d?void 0:d.selEndMinutes)&&void 0!==g?g:this.eminutes[0],this.isError=!1,this.isWarning=!1,this.errorMsg="",this.allowAdd=!1,this.isEnabledAddAllDays=!1}checkTimeRule(){this.allowAdd=!0;const e=parseInt(this.selStartHour),n=parseInt(this.selStartMinutes),i=parseInt(this.selEndHour),a=parseInt(this.selEndMinutes);return 24===i?(this.eminutes=["00"],this.selEndMinutes="00"):this.eminutes=Array.from({length:60},(c,l)=>l<10?"0"+l:l+""),24===e?(this.sminutes=["00"],this.selStartMinutes="00"):this.sminutes=Array.from({length:60},(c,l)=>l<10?"0"+l:l+""),0===i&&0===a?(this.isError=!0,this.errorMsg="You cannot set end time to 00:00",void(this.allowAdd=!1)):24===e&&0===n?(this.isError=!0,this.errorMsg="You cannot set start time to 24:00",void(this.allowAdd=!1)):(this.isError=!1,this.errorMsg="",void(this.allowAdd=!0))}updateTime(){this.isEditMode?this.editTime():this.addTime()}addTime(){this.tcresult&&this.tcresult.next({selStartHour:this.selStartHour,selStartMinutes:this.selStartMinutes,selEndHour:this.selEndHour,selEndMinutes:this.selEndMinutes,dayIndex:this.dayIndex,conditionIndex:this.conditionIndex,mode:"add",isEnabledAddAllDays:this.isEnabledAddAllDays}),this.closeModal()}editTime(){this.tcresult&&this.tcresult.next({selStartHour:this.selStartHour,selStartMinutes:this.selStartMinutes,selEndHour:this.selEndHour,selEndMinutes:this.selEndMinutes,dayIndex:this.dayIndex,conditionIndex:this.conditionIndex,activeTimeIndex:this.activeTimeIndex,mode:"edit"}),this.closeModal()}removeTime(){this.tcresult&&this.tcresult.next({selStartHour:this.selStartHour,selStartMinutes:this.selStartMinutes,selEndHour:this.selEndHour,selEndMinutes:this.selEndMinutes,dayIndex:this.dayIndex,conditionIndex:this.conditionIndex,activeTimeIndex:this.activeTimeIndex,mode:"remove"}),this.closeModal()}closeModal(){this.modal.close()}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["dealer-automation-rule-time-condition"]],inputs:{modal:"modal",active:"active"},outputs:{tcresult:"tcresult"},features:[t.TTD],decls:45,vars:20,consts:[[1,"disable-full-screen"],[1,"background",3,"click"],[1,"container-center"],[1,"modal"],[1,"modal-header"],[1,"modal-header-txt"],[2,"position","relative"],[1,"title-close"],[1,"material-icons",3,"click"],[1,"item"],[1,"times"],[1,"sub-title"],[1,"flex","align-center"],[1,"set-time",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"ml-10","mr-10"],["class","error-msg",4,"ngIf"],[4,"ngIf"],["class","checkbox",4,"ngIf"],[1,"tail-btn-area"],[1,"button","button-primary",3,"click"],[1,"btn-inner"],[1,"button",3,"click"],[1,"flex","align-center","f-1"],["class","button button-danger","style","margin-left:0px;",3,"click",4,"ngIf"],[3,"value"],[1,"error-msg"],[1,"checkbox"],[3,"labelPosition","ngModel","ngModelChange"],[1,"button","button-danger",2,"margin-left","0px",3,"click"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.NdJ("click",function(){return n.closeModal()}),t.qZA(),t.TgZ(2,"div",2),t.TgZ(3,"div",3),t.TgZ(4,"div",4),t.TgZ(5,"div",5),t._uU(6),t.qZA(),t.TgZ(7,"div",6),t.TgZ(8,"div",7),t.TgZ(9,"i",8),t.NdJ("click",function(){return n.closeModal()}),t._uU(10,"close"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,"div",9),t.TgZ(12,"div",10),t.TgZ(13,"div"),t.TgZ(14,"div",11),t._uU(15,"START TIME"),t.qZA(),t.TgZ(16,"div",12),t.TgZ(17,"select",13),t.NdJ("ngModelChange",function(a){return n.selStartHour=a})("ngModelChange",function(){return n.checkTimeRule()}),t.YNc(18,de,2,2,"option",14),t.qZA(),t.TgZ(19,"span",15),t._uU(20,":"),t.qZA(),t.TgZ(21,"select",13),t.NdJ("ngModelChange",function(a){return n.selStartMinutes=a})("ngModelChange",function(){return n.checkTimeRule()}),t.YNc(22,ge,2,2,"option",14),t.qZA(),t.qZA(),t.qZA(),t.TgZ(23,"div"),t.TgZ(24,"div",11),t._uU(25,"END TIME"),t.qZA(),t.TgZ(26,"div",12),t.TgZ(27,"select",13),t.NdJ("ngModelChange",function(a){return n.selEndHour=a})("ngModelChange",function(){return n.checkTimeRule()}),t.YNc(28,_e,2,2,"option",14),t.qZA(),t.TgZ(29,"span",15),t._uU(30,":"),t.qZA(),t.TgZ(31,"select",13),t.NdJ("ngModelChange",function(a){return n.selEndMinutes=a})("ngModelChange",function(){return n.checkTimeRule()}),t.YNc(32,pe,2,2,"option",14),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.YNc(33,me,2,1,"div",16),t.YNc(34,ue,2,1,"div",17),t.YNc(35,fe,3,2,"div",18),t.qZA(),t.TgZ(36,"div",19),t.TgZ(37,"div",20),t.NdJ("click",function(){return n.updateTime()}),t.TgZ(38,"div",21),t._uU(39),t.qZA(),t.qZA(),t.TgZ(40,"div",22),t.NdJ("click",function(){return n.closeModal()}),t.TgZ(41,"div",21),t._uU(42,"Cancel"),t.qZA(),t.qZA(),t.TgZ(43,"div",23),t.YNc(44,he,3,0,"div",24),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Udp("opacity",n.modal.is_active?100:0)("visibility",n.modal.is_active?"visible":"hidden"),t.xp6(6),t.hij("",n.isEditMode?"Edit":"Add"," Time Range"),t.xp6(11),t.Q6J("ngModel",n.selStartHour),t.xp6(1),t.Q6J("ngForOf",n.shours),t.xp6(3),t.Q6J("ngModel",n.selStartMinutes),t.xp6(1),t.Q6J("ngForOf",n.sminutes),t.xp6(5),t.Q6J("ngModel",n.selEndHour),t.xp6(1),t.Q6J("ngForOf",n.ehours),t.xp6(3),t.Q6J("ngModel",n.selEndMinutes),t.xp6(1),t.Q6J("ngForOf",n.eminutes),t.xp6(1),t.Q6J("ngIf",n.isError),t.xp6(1),t.Q6J("ngIf",n.isWarning),t.xp6(1),t.Q6J("ngIf",!n.isEditMode),t.xp6(2),t.ekj("disabled",!n.allowAdd),t.xp6(2),t.Oqu(n.isEditMode?"Edit":"Add"),t.xp6(5),t.Q6J("ngIf",n.isEditMode))},directives:[P.EJ,P.JJ,P.On,T.sg,T.O5,P.YN,P.Kr,U.oG],styles:['.disable-full-screen[_ngcontent-%COMP%]{top:0;left:0;width:100%;height:100%;position:fixed;visibility:hidden;opacity:0;transition:.2s;z-index:101}.disable-full-screen[_ngcontent-%COMP%] > .background[_ngcontent-%COMP%]{position:absolute;background-color:#00000080;top:0;left:0;width:100%;height:100%;z-index:1}.overlay[_ngcontent-%COMP%]{position:fixed;top:0;bottom:0;left:0;right:0;background-color:#0000004d;z-index:1}.container-center[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;height:48px;padding:0 16px}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:inline-block;font-size:20px;color:#fff;text-transform:uppercase}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-size:12px;color:#fffc;padding:8px 0 32px;line-height:.8}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .space[_ngcontent-%COMP%]{flex:1}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{float:right;margin-left:8px;color:#fffc;transition:.1s}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#fff;cursor:pointer}.body[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:14px;color:#777;margin-top:28px}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:14px;flex:1 1 auto;box-sizing:border-box;padding:6px 0 4px;border:0;border-bottom:2px solid #ddd;background:rgba(0,0,0,0);transition:.2s}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 3px #1f8fff61;outline:none}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%] .err[_ngcontent-%COMP%]{outline:none;border-bottom:2px solid #D25074}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%] .err[_ngcontent-%COMP%]:focus{outline:none;border-bottom:2px solid #D25074}.body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{font:400 14px Arial;resize:none;flex:1 1 auto;box-sizing:border-box;padding:6px 0 4px;border:0;border-bottom:2px solid #ddd;background:rgba(0,0,0,0);transition:.2s}.body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 3px #1f8fff61;outline:none}.body[_ngcontent-%COMP%] .hidden-input[_ngcontent-%COMP%]{border-bottom:2px solid #fff;background:rgba(0,0,0,0) #b87272}.body[_ngcontent-%COMP%] .hidden-input[_ngcontent-%COMP%]:hover{border-bottom:2px solid #777}.body[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:100%;min-height:24px;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}.body[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{width:100%;min-height:24px;font-size:14px;color:#333;margin-top:12px;padding:4px 0;display:flex;align-items:center}.body[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{margin-right:8px}.body[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]{color:#777;transition:.2s;cursor:pointer}.body[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]:hover{color:#333}.body[_ngcontent-%COMP%] .contents-selectable[_ngcontent-%COMP%]{cursor:pointer}.body[_ngcontent-%COMP%] .contents-selectable[_ngcontent-%COMP%]:hover{background:#f0f0f0}.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%] > .warning[_ngcontent-%COMP%]{color:#f55}.modal[_ngcontent-%COMP%]{width:100%;max-width:600px;background:white;box-shadow:0 4px 8px #777;z-index:2;border-radius:5px}.modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{display:flex;height:50px;justify-content:space-between;border-bottom:.5px solid rgba(0,0,0,.1)}.modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-header-txt[_ngcontent-%COMP%]{display:flex;align-items:center;padding-left:16px}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%]{display:flex;height:50px;justify-content:space-between;background-color:#f7fafc;border-radius:5px 5px 0 0}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:inline-block;font-size:20px;color:#fff;text-transform:uppercase}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-size:12px;color:#fffc;padding:8px 0 32px;line-height:.8}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .space[_ngcontent-%COMP%]{flex:1}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{float:right;margin-left:8px;color:#fffc;transition:.1s}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#fff;cursor:pointer}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%]{flex:1;display:block;overflow-y:overlay;padding:30px 20px 20px;border-bottom:.5px solid rgba(0,0,0,.1);background-color:#f8fafc;display:flex;flex-direction:column;font-size:14px}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{color:#0009;font-size:12px}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:8px;background-color:#fff;border:1px solid #eeeeee;font-size:14px;transition:.2s;text-indent:0px;font-weight:400;resize:none}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{font-size:14px}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus{outline:none;border:1px solid #2383e2}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{padding-bottom:20px}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:7px 10px;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}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 3px #1f8fff61;outline:none}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.err[_ngcontent-%COMP%]{outline:none;background-color:#fbd0d6;box-shadow:0 0 0 2px #d25074}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.err[_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 0 2px #d25074}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]{background-color:#f5f5f5}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:focus{background-color:#fff}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.disabled[_ngcontent-%COMP%]{background-color:#eee;opacity:1}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.err[_ngcontent-%COMP%]{outline:none;border:1px solid #D25074!important;background-color:#fff!important}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.correct[_ngcontent-%COMP%]{border:solid 1px #e0e0e0;background-color:#e5f2ff}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:#0000004d}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.input-err[_ngcontent-%COMP%]{outline:none;background-color:#fbd0d6;box-shadow:0 0 0 2px #f1556c}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.input-err[_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 0 2px #f1556c}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .site-search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-bottom:0;border:none;outline:none;background-color:transparent}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item.pb-0[_ngcontent-%COMP%]{padding-bottom:0}.modal[_ngcontent-%COMP%] > .body[_ngcontent-%COMP%]{padding:16px 32px;display:flex;flex-direction:column;max-height:800px;overflow-y:overlay}.modal[_ngcontent-%COMP%] > .body-center[_ngcontent-%COMP%]{padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;max-height:800px;overflow-y:overlay}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:center;padding:0 32px 30px}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .space[_ngcontent-%COMP%]{flex:1}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{padding:7px 14px;color:#888;font-size:14px;font-weight:500;transition:.2s;text-transform:capitalize;border-radius:5px}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#000;cursor:pointer}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]{background:#2383e2;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]:hover{background:#2ea0ff;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-warning[_ngcontent-%COMP%]{background:orange;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-warning[_ngcontent-%COMP%]:hover{background:#ffb938;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-disable[_ngcontent-%COMP%]{background:#ddd;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-disable[_ngcontent-%COMP%]:hover{background:#ddd;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-danger[_ngcontent-%COMP%]{background:#f1556d;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-danger[_ngcontent-%COMP%]:hover{background:#f47185;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-normal[_ngcontent-%COMP%]{background:#d1d2d2;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-normal[_ngcontent-%COMP%]:hover{background:#b2b3b3;color:#fff}.dropdown[_ngcontent-%COMP%]{font-size:14px;position:relative;flex:1}.dropdown[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;background:rgba(0,0,0,0)}.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}.face[_ngcontent-%COMP%]{border-radius:50%;width:32px;height:32px;margin-right:8px}.no-face[_ngcontent-%COMP%]{border-radius:50%;width:32px;height:32px;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%}.dropdown-background[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1}.disabled[_ngcontent-%COMP%]{opacity:.6;cursor:default;pointer-events:none}.inactive[_ngcontent-%COMP%]{pointer-events:none;filter:grayscale(.3);opacity:.8}.loader[_ngcontent-%COMP%]{position:relative;margin:0 auto;width:50px}.loader.absolute[_ngcontent-%COMP%]{margin:auto;position:absolute;top:calc(50% - 25px);left:calc(50% - 25px)}.loader[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.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}.title-close[_ngcontent-%COMP%]{position:absolute;display:flex;top:3px;right:6px;width:45px;height:45px;align-items:center;justify-content:center;font-size:14px;color:#0009;cursor:pointer;transition:.2s}.title-close[_ngcontent-%COMP%]:hover{background-color:#f7f7f7;border-radius:22px}.tail-btn-area[_ngcontent-%COMP%]{border-radius:5px;padding:12px 20px}.row[_ngcontent-%COMP%]{display:flex}.row.between[_ngcontent-%COMP%]{justify-content:space-between}table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.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.table-header[_ngcontent-%COMP%]:after{border-collapse:separate}table[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%]{width:100%;flex:1;overflow-y:overlay;overflow-x:hidden}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{position:relative;padding:10px 7px;color:#000000de;text-transform:capitalize;text-align:left;font-size:12px;font-weight:normal;-webkit-user-select:none;user-select:none}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding:10px 7px 10px 20px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding:10px 20px 10px 7px}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:14px;color:#0009;border-bottom:1px rgba(0,0,0,.1) solid;padding:14px}.selectable[_ngcontent-%COMP%]{cursor:pointer}.selectable[_ngcontent-%COMP%]:hover{background:#f0f0f0}',".modal[_ngcontent-%COMP%]{max-width:600px;width:auto}.item[_ngcontent-%COMP%]{align-items:center;min-height:18px;padding:20px;border-bottom:solid 1px rgba(0,0,0,.1)}.item[_ngcontent-%COMP%] .item-title[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:14px;color:#000000de;margin-bottom:10px}.item[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{color:#000000de;font-size:14px;margin-top:14px}.times[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;grid-gap:30px;gap:30px}select[_ngcontent-%COMP%]{width:100%;min-height:24px;background:white;box-sizing:border-box;padding:7px 10px;border:1px solid rgba(0,0,0,.2);border-radius:5px;transition:.2s}select[_ngcontent-%COMP%]:focus{outline:none;border:1px solid rgba(0,0,0,.3)}select.set-time[_ngcontent-%COMP%]{width:64px}.sub-title[_ngcontent-%COMP%]{font-size:12px;font-weight:500;color:#8792a2;margin-top:16px;margin-bottom:5px;max-width:420px}.error-msg[_ngcontent-%COMP%]{margin-top:10px;font-size:12px;font-weight:500;color:#cd3d64;max-width:420px}"]}),o})();var Rt=h(95974),St=h(50319),_t=h(70846);const be=["zoneInput"],Me=["triggerCameraSelect"],xe=["triggerBridgeSelect"],Oe=["zoneSelect"],Pe=["relayTriggerSelect"],ve=["daySelect"],ye=["daySelects"],we=["conditionBridgeSelects"],Ae=["cameraSelects"],Te=["talkdownActionSelects"],ke=["talkdownActionSpeakerSelects"],Ze=["relayActionSelects"],Re=["relayActionStateSelects"];function Se(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",31),t.NdJ("click",function(){const i=t.CHM(e),a=i.index,c=i.$implicit,l=t.oxw();return(4!==a||l.isDone)&&l.validPassStep(c)?l.goToStep(c,!0):null}),t.TgZ(1,"div",16),t._uU(2),t.qZA(),t.TgZ(3,"div",17),t._uU(4),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=r.index,i=t.oxw();t.ekj("active",i.curStep.idx===e.idx&&!i.isDone)("pass-step",i.curStep.idx===e.idx||2===i.newAutomationRule.stepStatus[e.idx]||i.isEdit),t.xp6(1),t.ekj("pass",i.curStep.idx===e.idx||2===i.newAutomationRule.stepStatus[e.idx]),t.xp6(1),t.Oqu(n+1),t.xp6(2),t.Oqu(e.name)}}function qe(o,r){if(1&o&&(t.TgZ(0,"option",40),t._uU(1),t.qZA()),2&o){const e=t.oxw().$implicit;t.Q6J("ngValue",e.type),t.xp6(1),t.Oqu(e.name)}}function Ie(o,r){if(1&o&&(t.YNc(0,qe,2,2,"option",39),t._uU(1,"> ")),2&o){const e=r.$implicit,n=t.oxw(3);t.Q6J("ngIf",n.validateTriggers(e.type))}}function ze(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",35),t._uU(2,"Event"),t.qZA(),t.TgZ(3,"select",36),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(2).newAutomationRule.trigger.type=i})("change",function(){return t.CHM(e),t.oxw(2).selectTrigger()}),t.TgZ(4,"option",37),t._uU(5,"Select Event"),t.qZA(),t.YNc(6,Ie,2,1,"ng-template",38),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2);t.xp6(3),t.ekj("disabled",e.isLoading),t.Q6J("ngModel",e.newAutomationRule.trigger.type),t.xp6(1),t.Q6J("ngValue","none"),t.xp6(2),t.Q6J("ngForOf",e.triggers)}}function Ee(o,r){if(1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",41),t._uU(2),t.qZA(),t.qZA()),2&o){const e=t.oxw(2);t.xp6(2),t.hij(" ",e.newAutomationRule.trigger.name," ")}}function Ne(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",49),t.TgZ(1,"div"),t._uU(2),t.qZA(),t.TgZ(3,"div"),t.TgZ(4,"i",50),t.NdJ("click",function(i){const c=t.CHM(e).$implicit,l=t.oxw(3);return i.stopPropagation(),l.removeTriggerCamera(c)}),t._uU(5,"close"),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit;t.xp6(2),t.AsE("",e.name," ",e.shortLabel,"")}}function Je(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",52),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw(4).selectTriggerCamera(a)}),t.TgZ(1,"div",54),t.TgZ(2,"div",55),t._uU(3),t.qZA(),t.TgZ(4,"div",56),t.TgZ(5,"span"),t._uU(6),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(4);t.ekj("selected",n.newAutomationRule.trigger.cameras&&-1!==n.newAutomationRule.trigger.cameras.indexOf(e)),t.xp6(2),t.ekj("no-info",!e.name),t.xp6(1),t.Oqu(e.name||"No Name"),t.xp6(3),t.Oqu(e.label)}}function De(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",51),t.TgZ(1,"div",52),t.NdJ("click",function(){t.CHM(e);const i=t.oxw(3);return i.selectTriggerCamera(i.allCamera)}),t._uU(2,"All Cameras"),t.qZA(),t.YNc(3,Je,7,6,"div",53),t.qZA()}if(2&o){const e=t.oxw(3);t.xp6(1),t.ekj("selected",e.newAutomationRule.trigger.cameras&&-1!==e.newAutomationRule.trigger.cameras.indexOf(e.allCamera)),t.xp6(2),t.Q6J("ngForOf",e.siteCameras)}}function He(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",42),t.TgZ(1,"div",43,44),t.TgZ(3,"div",45),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).toggleTriggerCameraSelect()}),t.TgZ(4,"div",46),t.YNc(5,Ne,6,2,"div",47),t.qZA(),t.qZA(),t.YNc(6,De,4,3,"div",48),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",e.newAutomationRule.trigger.cameras),t.xp6(1),t.Q6J("ngIf",e.components.showCameraSelect)}}function Ue(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",67),t.TgZ(1,"div",68),t.NdJ("click",function(){const i=t.CHM(e),a=i.$implicit,c=i.index,l=t.oxw(2).$implicit;return t.oxw(3).openTimeTriggerEditModal(a,c,l)}),t._uU(2),t.qZA(),t.TgZ(3,"i",50),t.NdJ("click",function(i){const a=t.CHM(e),c=a.$implicit,l=a.index,s=t.oxw(2).$implicit,d=t.oxw(3);return i.stopPropagation(),d.removeTimeTriggerTime(c,l,s)}),t._uU(4,"close"),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit;t.xp6(2),t.Oqu(e)}}function Qe(o,r){if(1&o&&(t.TgZ(0,"div",65),t.YNc(1,Ue,5,1,"div",66),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("ngForOf",e.times)}}function Be(o,r){1&o&&(t.TgZ(0,"div",69),t.TgZ(1,"i",70),t._uU(2,"add"),t.qZA(),t.TgZ(3,"div"),t._uU(4,"Add"),t.qZA(),t.qZA())}function Ye(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",59),t.TgZ(1,"div",60),t._uU(2),t.qZA(),t.TgZ(3,"div",61),t.TgZ(4,"div",62),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw(3).openTimeTriggerAddModal(a)}),t.YNc(5,Qe,2,1,"div",63),t.YNc(6,Be,5,0,"div",64),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit;t.xp6(2),t.Oqu(e.label),t.xp6(3),t.Q6J("ngIf",e.times.length>0),t.xp6(1),t.Q6J("ngIf",e.times.length<1)}}function Fe(o,r){if(1&o&&(t.TgZ(0,"div",42),t.TgZ(1,"div",43,44),t.TgZ(3,"div",57),t.YNc(4,Ye,7,3,"div",58),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw(2);t.xp6(4),t.Q6J("ngForOf",e.newAutomationRule.trigger.TTdaysOfWeek)}}function Le(o,r){if(1&o&&(t.TgZ(0,"option",75),t._uU(1,"When Site Entry Delay Begins"),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("ngValue","enter")("disabled",!e.data.isAllfwSupportExitEntrySystemAiOperator)}}function Ve(o,r){if(1&o&&(t.TgZ(0,"option",75),t._uU(1,"When Site Exit Delay Begins"),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("ngValue","exit")("disabled",!e.data.isAllfwSupportExitEntrySystemAiOperator)}}function $e(o,r){if(1&o&&(t.TgZ(0,"option",75),t._uU(1,"When Site System Alarm Begins"),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("ngValue","alert")("disabled",!e.data.isAllfwSupportExitEntrySystemAiOperator)}}function je(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"select",73),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(3).newAutomationRule.trigger.armingState=i}),t.TgZ(1,"option",40),t._uU(2),t.qZA(),t.TgZ(3,"option",40),t._uU(4),t.qZA(),t.YNc(5,Le,2,2,"option",74),t.YNc(6,Ve,2,2,"option",74),t.YNc(7,$e,2,2,"option",74),t.qZA()}if(2&o){const e=t.oxw(3);t.ekj("disabled",e.isLoading),t.Q6J("ngModel",e.newAutomationRule.trigger.armingState),t.xp6(1),t.Q6J("ngValue","armed"),t.xp6(1),t.hij("When ",2===e.site.arming_source?"Bridge":"Site"," is Armed"),t.xp6(1),t.Q6J("ngValue","disarmed"),t.xp6(1),t.hij("When ",2===e.site.arming_source?"Bridge":"Site"," is Disarmed"),t.xp6(1),t.Q6J("ngIf",2!==e.newAutomationRule.armingSource),t.xp6(1),t.Q6J("ngIf",2!==e.newAutomationRule.armingSource),t.xp6(1),t.Q6J("ngIf",2!==e.newAutomationRule.armingSource)}}function We(o,r){if(1&o&&(t.TgZ(0,"option",75),t._uU(1,"During Site System Entry"),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("ngValue","enter")("disabled",!e.data.isAllfwSupportExitEntrySystemAiOperator)}}function Ke(o,r){if(1&o&&(t.TgZ(0,"option",75),t._uU(1,"During Site System Exit"),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("ngValue","exit")("disabled",!e.data.isAllfwSupportExitEntrySystemAiOperator)}}function Ge(o,r){if(1&o&&(t.TgZ(0,"option",75),t._uU(1,"While Site In Alarm (Bell Duration)"),t.qZA()),2&o){const e=t.oxw(4);t.Q6J("ngValue","alert")("disabled",!e.data.isAllfwSupportExitEntrySystemAiOperator)}}function Xe(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"select",73),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(3).newAutomationRule.trigger.armingState=i}),t.TgZ(1,"option",40),t._uU(2),t.qZA(),t.TgZ(3,"option",40),t._uU(4),t.qZA(),t.YNc(5,We,2,2,"option",74),t.YNc(6,Ke,2,2,"option",74),t.YNc(7,Ge,2,2,"option",74),t.qZA()}if(2&o){const e=t.oxw(3);t.ekj("disabled",e.isLoading),t.Q6J("ngModel",e.newAutomationRule.trigger.armingState),t.xp6(1),t.Q6J("ngValue","armed"),t.xp6(1),t.hij("While ",2===e.site.arming_source?"Bridge":"Site"," is Armed"),t.xp6(1),t.Q6J("ngValue","disarmed"),t.xp6(1),t.hij("While ",2===e.site.arming_source?"Bridge":"Site"," is Disarmed"),t.xp6(1),t.Q6J("ngIf",2!==e.newAutomationRule.armingSource),t.xp6(1),t.Q6J("ngIf",2!==e.newAutomationRule.armingSource),t.xp6(1),t.Q6J("ngIf",2!==e.newAutomationRule.armingSource)}}function tn(o,r){1&o&&(t.TgZ(0,"div",76),t._uU(1,"Please use value of the status selected."),t.qZA())}function en(o,r){1&o&&(t.TgZ(0,"div",76),t._uU(1,"*The entry, exit, system alarm feature is available when the bridge firmware is version 4.4.0.32 or higher. All sites must have all bridges at version 4.4.0.32 or above."),t.qZA())}function nn(o,r){if(1&o&&(t.TgZ(0,"div",32),t.TgZ(1,"div"),t.YNc(2,je,8,10,"select",71),t.YNc(3,Xe,8,10,"select",71),t.YNc(4,tn,2,0,"div",72),t.YNc(5,en,2,0,"div",72),t.qZA(),t.qZA()),2&o){const e=t.oxw(2);t.xp6(2),t.Q6J("ngIf",0===e.newAutomationRule.trigger.isStatus),t.xp6(1),t.Q6J("ngIf",1===e.newAutomationRule.trigger.isStatus),t.xp6(1),t.Q6J("ngIf","armed_status"===e.newAutomationRule.trigger.type),t.xp6(1),t.Q6J("ngIf",!e.data.isAllfwSupportExitEntrySystemAiOperator)}}function on(o,r){1&o&&(t.TgZ(0,"div"),t._uU(1,"Any Bridge"),t.qZA())}function an(o,r){if(1&o&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.AsE("",e.name," (",e.virtual_zone,")")}}function rn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",49),t.YNc(1,on,2,0,"div",20),t.YNc(2,an,2,2,"div",20),t.TgZ(3,"div"),t.TgZ(4,"i",50),t.NdJ("click",function(i){const c=t.CHM(e).$implicit,l=t.oxw(3);return i.stopPropagation(),l.removeTriggerBridge(c)}),t._uU(5,"close"),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(3);t.xp6(1),t.Q6J("ngIf",-1!==e.newAutomationRule.trigger.bridges.indexOf(e.allBridge)),t.xp6(1),t.Q6J("ngIf",-1===e.newAutomationRule.trigger.bridges.indexOf(e.allBridge))}}function cn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",52),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw(4).selectTriggerBridge(a)}),t.TgZ(1,"div",54),t.TgZ(2,"div",55),t._uU(3),t.qZA(),t.TgZ(4,"div",56),t.TgZ(5,"span"),t._uU(6),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(4);t.ekj("selected",n.newAutomationRule.trigger.bridges&&-1!==n.newAutomationRule.trigger.bridges.indexOf(e)),t.xp6(2),t.ekj("no-info",!e.name),t.xp6(1),t.Oqu(e.name||"No Name"),t.xp6(3),t.Oqu(e.virtual_zone)}}function ln(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",51),t.TgZ(1,"div",52),t.NdJ("click",function(){t.CHM(e);const i=t.oxw(3);return i.selectTriggerBridge(i.allBridge)}),t._uU(2,"Any Bridge"),t.qZA(),t.YNc(3,cn,7,6,"div",53),t.qZA()}if(2&o){const e=t.oxw(3);t.xp6(1),t.ekj("selected",e.newAutomationRule.trigger.bridges&&-1!==e.newAutomationRule.trigger.bridges.indexOf(e.allBridge)),t.xp6(2),t.Q6J("ngForOf",e.siteBridges)}}function sn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",42),t.TgZ(1,"div"),t.TgZ(2,"div",43,77),t.TgZ(4,"div",45),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).toggleTriggerBridgeSelect()}),t.TgZ(5,"div",46),t.YNc(6,rn,6,2,"div",47),t.qZA(),t.qZA(),t.YNc(7,ln,4,3,"div",48),t.qZA(),t.TgZ(8,"div",78),t._uU(9,"Occurs when even one of the selected bridges is satisfied."),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2);t.xp6(6),t.Q6J("ngForOf",e.newAutomationRule.trigger.bridges),t.xp6(1),t.Q6J("ngIf",e.components.showBridgeSelect)}}function dn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"select",36),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(3).newAutomationRule.trigger.state=i})("change",function(i){return t.CHM(e),t.oxw(3).selectMonitoringPortalState(i)}),t.TgZ(2,"option",40),t._uU(3,"Opened"),t.qZA(),t.TgZ(4,"option",40),t._uU(5,"While Open"),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(3);t.xp6(1),t.ekj("disabled",e.isLoading),t.Q6J("ngModel",e.newAutomationRule.trigger.state),t.xp6(1),t.Q6J("ngValue","opened"),t.xp6(2),t.Q6J("ngValue","while_open")}}function gn(o,r){1&o&&(t.TgZ(0,"div"),t._uU(1,"Opened"),t.qZA())}function _n(o,r){1&o&&(t.TgZ(0,"div"),t._uU(1,"While Open"),t.qZA())}function pn(o,r){if(1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",41),t.YNc(2,gn,2,0,"div",20),t.YNc(3,_n,2,0,"div",20),t.qZA(),t.qZA()),2&o){const e=t.oxw(3);t.xp6(2),t.Q6J("ngIf","opened"===e.newAutomationRule.trigger.state),t.xp6(1),t.Q6J("ngIf","while_open"===e.newAutomationRule.trigger.state)}}function mn(o,r){if(1&o&&(t.TgZ(0,"div",32),t.YNc(1,dn,6,5,"div",20),t.YNc(2,pn,4,2,"div",20),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!e.isEdit),t.xp6(1),t.Q6J("ngIf",e.isEdit)}}function un(o,r){if(1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",32),t.YNc(2,ze,7,5,"div",20),t.YNc(3,Ee,3,1,"div",20),t.qZA(),t.YNc(4,He,7,2,"div",33),t.YNc(5,Fe,5,1,"div",33),t.YNc(6,nn,6,4,"div",34),t.YNc(7,sn,10,2,"div",33),t.YNc(8,mn,3,2,"div",34),t.qZA()),2&o){const e=t.oxw();t.xp6(2),t.Q6J("ngIf",!e.isEdit),t.xp6(1),t.Q6J("ngIf",e.isEdit),t.xp6(1),t.Q6J("ngIf","camera"===e.newAutomationRule.trigger.type),t.xp6(1),t.Q6J("ngIf","time_triggered"===e.newAutomationRule.trigger.type),t.xp6(1),t.Q6J("ngIf","arming"===e.newAutomationRule.trigger.type||"armed_status"===e.newAutomationRule.trigger.type),t.xp6(1),t.Q6J("ngIf",("arming"===e.newAutomationRule.trigger.type||"armed_status"===e.newAutomationRule.trigger.type)&&2===e.newAutomationRule.armingSource),t.xp6(1),t.Q6J("ngIf","monitoring_portal"===e.newAutomationRule.trigger.type)}}function fn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",90),t.NdJ("click",function(){t.CHM(e);const i=t.oxw().index;return t.oxw(2).deleteAction(i)}),t.TgZ(1,"div",91),t._uU(2,"Delete"),t.qZA(),t.qZA()}}function hn(o,r){if(1&o&&(t.TgZ(0,"option",40),t._uU(1),t.qZA()),2&o){const e=t.oxw().$implicit;t.Q6J("ngValue",e.type),t.xp6(1),t.Oqu(e.name)}}function Cn(o,r){if(1&o&&t.YNc(0,hn,2,2,"option",39),2&o){const e=r.$implicit,n=t.oxw().index,i=t.oxw(2);t.Q6J("ngIf",i.validateActions(e.type,n))}}function bn(o,r){1&o&&(t.TgZ(0,"span"),t._uU(1,"Audio File"),t.qZA())}function Mn(o,r){1&o&&(t.TgZ(0,"span"),t._uU(1,"Google TTS"),t.qZA())}function xn(o,r){1&o&&(t.TgZ(0,"span"),t._uU(1,"Audio File"),t.qZA())}function On(o,r){1&o&&(t.TgZ(0,"span"),t._uU(1,"Google TTS"),t.qZA())}function Pn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",110),t.NdJ("click",function(i){const c=t.CHM(e).$implicit,l=t.oxw(3).$implicit,s=t.oxw(2);return i.stopPropagation(),s.selectActionTTS(l,c)}),t.TgZ(1,"div",54),t.TgZ(2,"div",55),t._uU(3),t.qZA(),t.TgZ(4,"div",56),t.YNc(5,xn,2,0,"span",20),t.YNc(6,On,2,0,"span",20),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(3).$implicit;t.ekj("selected",n.tts.id===e.id),t.xp6(2),t.ekj("no-info",!e.text),t.xp6(1),t.Oqu(e.text||"No Info"),t.xp6(2),t.Q6J("ngIf",1===e.type),t.xp6(1),t.Q6J("ngIf",2===e.type)}}function vn(o,r){1&o&&(t.TgZ(0,"div",110),t.NdJ("click",function(n){return n.stopPropagation()}),t.TgZ(1,"div",54),t.TgZ(2,"div",55),t._uU(3,"No Info - No Preloaded"),t.qZA(),t.qZA(),t.qZA())}function yn(o,r){if(1&o&&(t.O4$(),t.kcU(),t.TgZ(0,"div",106,107),t.YNc(2,Pn,7,7,"div",108),t.YNc(3,vn,4,0,"div",109),t.qZA()),2&o){const e=t.oxw(2).index,n=t.oxw(2);t.Q6J("id","action-talkdown-"+e),t.xp6(2),t.Q6J("ngForOf",n.siteData.ttsList),t.xp6(1),t.Q6J("ngIf",0===n.siteData.ttsList.length)}}function wn(o,r){1&o&&(t.TgZ(0,"div",111),t._uU(1,"Select Speaker"),t.qZA())}function An(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",49),t.TgZ(1,"div"),t._uU(2),t.qZA(),t.TgZ(3,"div"),t.TgZ(4,"i",50),t.NdJ("click",function(i){const c=t.CHM(e).$implicit,l=t.oxw(2).index,s=t.oxw(2);return i.stopPropagation(),s.removeSpeaker(l,c)}),t._uU(5,"close"),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit;t.xp6(2),t.Oqu(e.name)}}function Tn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",52),t.NdJ("click",function(){const a=t.CHM(e).$implicit,c=t.oxw(3).index;return t.oxw(2).selectSpeaker(c,a)}),t._uU(1),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(3).$implicit;t.ekj("selected",n.audios&&-1!==n.audios.indexOf(e)),t.xp6(1),t.hij("",e.name," (Bridge Speaker)")}}function kn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",52),t.NdJ("click",function(){const a=t.CHM(e).$implicit,c=t.oxw(3).index;return t.oxw(2).selectSpeaker(c,a)}),t._uU(1),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(3).$implicit;t.ekj("selected",n.audios&&-1!==n.audios.indexOf(e)),t.xp6(1),t.Oqu(e.name)}}function Zn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",112),t.TgZ(1,"div",52),t.NdJ("click",function(){t.CHM(e);const i=t.oxw(2).index,a=t.oxw(2);return a.selectSpeaker(i,a.allSpeakers)}),t._uU(2,"All Speakers"),t.qZA(),t.YNc(3,Tn,2,3,"div",53),t.YNc(4,kn,2,3,"div",53),t.qZA()}if(2&o){const e=t.oxw(2).$implicit,n=t.oxw(2);t.xp6(1),t.ekj("selected",e.audios&&-1!==e.audios.indexOf(n.allSpeakers)),t.xp6(2),t.Q6J("ngForOf",n.siteBridges),t.xp6(1),t.Q6J("ngForOf",n.siteAudios)}}function Rn(o,r){if(1&o&&(t.TgZ(0,"option",40),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.Q6J("ngValue",e),t.xp6(1),t.hij("",e," Times")}}function Sn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",84),t.TgZ(1,"div",92),t.TgZ(2,"div",93),t.NdJ("click",function(){t.CHM(e);const i=t.oxw().$implicit;return i.isShowMenu=!i.isShowMenu}),t.TgZ(3,"div",94),t.TgZ(4,"div",55),t._uU(5),t.qZA(),t.TgZ(6,"div",56),t.YNc(7,bn,2,0,"span",20),t.YNc(8,Mn,2,0,"span",20),t.qZA(),t.qZA(),t.TgZ(9,"div",95),t.O4$(),t.TgZ(10,"svg",96),t._UZ(11,"path",97),t._UZ(12,"path",98),t.qZA(),t.qZA(),t.qZA(),t.YNc(13,yn,4,3,"div",99),t.qZA(),t.qZA(),t.kcU(),t.TgZ(14,"div",100),t.TgZ(15,"div",101,102),t.TgZ(17,"div",45),t.NdJ("click",function(){t.CHM(e);const i=t.oxw().index;return t.oxw(2).toggleSpeakerSelect(i)}),t.YNc(18,wn,2,0,"div",103),t.TgZ(19,"div",46),t.YNc(20,An,6,1,"div",47),t.qZA(),t.qZA(),t.YNc(21,Zn,5,4,"div",104),t.qZA(),t.qZA(),t.TgZ(22,"div",32),t.TgZ(23,"select",73),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw().$implicit.repeat=i}),t.YNc(24,Rn,2,2,"option",105),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(),n=e.$implicit,i=e.index,a=t.oxw(2);t.xp6(2),t.Q6J("title",null==n||null==n.tts?null:n.tts.text),t.xp6(2),t.ekj("no-info",!(null!=n&&null!=n.tts&&n.tts.text)),t.xp6(1),t.Oqu((null==n||null==n.tts?null:n.tts.text)||"No Info - No Preloaded"),t.xp6(2),t.Q6J("ngIf",1===(null==n||null==n.tts?null:n.tts.type)),t.xp6(1),t.Q6J("ngIf",2===(null==n||null==n.tts?null:n.tts.type)),t.xp6(5),t.Q6J("ngIf",n.isShowMenu),t.xp6(2),t.Q6J("id","action-speaker-"+i),t.xp6(3),t.Q6J("ngIf",0===n.audios.length),t.xp6(2),t.Q6J("ngForOf",n.audios),t.xp6(1),t.Q6J("ngIf",n.isShowSpeakerMenu),t.xp6(2),t.ekj("disabled",a.isLoading),t.Q6J("ngModel",n.repeat),t.xp6(1),t.Q6J("ngForOf",a.repeats)}}function qn(o,r){1&o&&(t.TgZ(0,"div",111),t._uU(1,"Select Camera"),t.qZA())}function In(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",49),t.TgZ(1,"div"),t._uU(2),t.qZA(),t.TgZ(3,"div"),t.TgZ(4,"i",50),t.NdJ("click",function(i){const c=t.CHM(e).$implicit,l=t.oxw(2).index,s=t.oxw(2);return i.stopPropagation(),s.removeCamera(l,c)}),t._uU(5,"close"),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit;t.xp6(2),t.AsE("",e.name," ",e.shortLabel,"")}}function zn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",52),t.NdJ("click",function(){const a=t.CHM(e).$implicit,c=t.oxw(3).index;return t.oxw(2).selectCamera(c,a)}),t.TgZ(1,"div",54),t.TgZ(2,"div",55),t._uU(3),t.qZA(),t.TgZ(4,"div",56),t.TgZ(5,"span"),t._uU(6),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(3).$implicit;t.ekj("selected",n.cameras&&-1!==n.cameras.indexOf(e)),t.xp6(2),t.ekj("no-info",!e.name),t.xp6(1),t.Oqu(e.name||"No Name"),t.xp6(3),t.Oqu(e.label)}}function En(o,r){if(1&o&&(t.TgZ(0,"div",51),t.YNc(1,zn,7,6,"div",53),t.qZA()),2&o){const e=t.oxw(4);t.xp6(1),t.Q6J("ngForOf",e.siteCameras)}}function Nn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",42),t.TgZ(1,"div",101,113),t.TgZ(3,"div",45),t.NdJ("click",function(){t.CHM(e);const i=t.oxw().index;return t.oxw(2).toggleCameraSelect(i)}),t.YNc(4,qn,2,0,"div",103),t.TgZ(5,"div",46),t.YNc(6,In,6,2,"div",47),t.qZA(),t.qZA(),t.YNc(7,En,2,1,"div",48),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(),n=e.index,i=e.$implicit;t.xp6(1),t.Q6J("id","action-"+n),t.xp6(3),t.Q6J("ngIf",0===i.cameras.length),t.xp6(2),t.Q6J("ngForOf",i.cameras),t.xp6(1),t.Q6J("ngIf",i.isShowMenu)}}function Jn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",110),t.NdJ("click",function(i){t.CHM(e);const a=t.oxw().$implicit,c=t.oxw(3).$implicit,l=t.oxw(2);return i.stopPropagation(),l.selectActionRelay(c,a)}),t.TgZ(1,"div",54),t.TgZ(2,"div"),t._uU(3),t.qZA(),t.TgZ(4,"div"),t._uU(5),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw().$implicit,n=t.oxw(3).$implicit;t.ekj("selected",n.relay.id===e.id),t.xp6(2),t.ekj("no-info",!e.name),t.xp6(1),t.Oqu(e.name||"No Name"),t.xp6(1),t.ekj("enable-tag",e.enabled)("disable-tag",!e.enabled),t.xp6(1),t.Oqu(e.enabled?"Enabled":"Disabled")}}function Dn(o,r){if(1&o&&t.YNc(0,Jn,6,10,"div",120),2&o){const e=r.$implicit,n=t.oxw(3).index,i=t.oxw(2);t.Q6J("ngIf",i.validateRelays(n,e))}}function Hn(o,r){if(1&o&&(t.O4$(),t.kcU(),t.TgZ(0,"div",119),t.YNc(1,Dn,1,1,"ng-template",38),t.qZA()),2&o){const e=t.oxw(4);t.xp6(1),t.Q6J("ngForOf",e.siteRelays)}}function Un(o,r){1&o&&(t.O4$(),t.kcU(),t.TgZ(0,"div",121),t._uU(1,"This relay is disabled. Rule will not occur untill the relay is enabled."),t.qZA())}function Qn(o,r){1&o&&(t.O4$(),t.kcU(),t.TgZ(0,"div",121),t._uU(1,"Relay does not exist on this site."),t.qZA())}function Bn(o,r){1&o&&(t.TgZ(0,"option",40),t._uU(1,"Latch"),t.qZA()),2&o&&t.Q6J("ngValue","latch")}function Yn(o,r){1&o&&(t.TgZ(0,"option",40),t._uU(1,"Momentary"),t.qZA()),2&o&&t.Q6J("ngValue","momentary")}function Fn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",122),t.TgZ(2,"div",123),t.TgZ(3,"input",124),t.NdJ("input",function(){t.CHM(e);const i=t.oxw(2).$implicit;return t.oxw(2).changeMomentaryDuration(i)})("ngModelChange",function(i){return t.CHM(e),t.oxw(2).$implicit.minuteDuration=i}),t.qZA(),t.TgZ(4,"span"),t._uU(5,"minutes"),t.qZA(),t.qZA(),t.TgZ(6,"div",125),t.TgZ(7,"input",126),t.NdJ("input",function(){t.CHM(e);const i=t.oxw(2).$implicit;return t.oxw(2).changeMomentaryDuration(i)})("ngModelChange",function(i){return t.CHM(e),t.oxw(2).$implicit.secondDuration=i}),t.qZA(),t.TgZ(8,"span"),t._uU(9,"seconds"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,"div",78),t._uU(11,"The min time on momentary should be 1 second."),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2).$implicit;t.xp6(3),t.Q6J("ngModel",e.minuteDuration),t.xp6(4),t.Q6J("ngModel",e.secondDuration)}}function Ln(o,r){1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",78),t._uU(2,"When an automation rule latches a relay, the relay will remain latch as long as the conditions of this rule are true. The relay will normalize when the conditions are not meet."),t.qZA(),t.qZA())}function Vn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",32),t.TgZ(1,"div",114,115),t.TgZ(3,"div",116),t.NdJ("click",function(){t.CHM(e);const i=t.oxw().$implicit;return i.isShowRelaySelect=!i.isShowRelaySelect}),t.TgZ(4,"span"),t._uU(5),t.qZA(),t.O4$(),t.TgZ(6,"svg",96),t._UZ(7,"path",97),t._UZ(8,"path",98),t.qZA(),t.qZA(),t.YNc(9,Hn,2,1,"div",117),t.qZA(),t.YNc(10,Un,2,0,"div",118),t.YNc(11,Qn,2,0,"div",118),t.kcU(),t.TgZ(12,"select",73),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw().$implicit.mode=i}),t.YNc(13,Bn,2,1,"option",39),t.YNc(14,Yn,2,1,"option",39),t.qZA(),t.YNc(15,Fn,12,2,"div",20),t.YNc(16,Ln,3,0,"div",20),t.qZA()}if(2&o){const e=t.oxw(),n=e.index,i=e.$implicit,a=t.oxw(2);t.xp6(1),t.Q6J("id","action-relay-"+n),t.xp6(3),t.ekj("no-info",!i.relay.name),t.xp6(1),t.Oqu(i.relay.name||(i.relayId?"No Name":"-")),t.xp6(4),t.Q6J("ngIf",i.isShowRelaySelect),t.xp6(1),t.Q6J("ngIf",0===i.relay.enabled),t.xp6(1),t.Q6J("ngIf",null===i.relayId),t.xp6(1),t.ekj("disabled",a.isLoading),t.Q6J("ngModel",i.mode),t.xp6(1),t.Q6J("ngIf",("armed_status"===a.newAutomationRule.trigger.type||"monitoring_portal"===a.newAutomationRule.trigger.type)&&1===a.newAutomationRule.trigger.isStatus),t.xp6(1),t.Q6J("ngIf",1!==a.newAutomationRule.trigger.isStatus),t.xp6(1),t.Q6J("ngIf","momentary"===i.mode),t.xp6(1),t.Q6J("ngIf","latch"===i.mode)}}function $n(o,r){1&o&&(t.TgZ(0,"div",121),t._uU(1," Invalid url format. please re-enter "),t.qZA())}function jn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",144),t.TgZ(1,"ngx-codemirror",145,146),t.NdJ("keyup",function(){t.CHM(e);const i=t.oxw(2).$implicit;return t.oxw(2).httpDataChanged(i,"body")})("ngModelChange",function(i){return t.CHM(e),t.oxw(2).$implicit.body=i}),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2).$implicit,n=t.oxw(2);t.xp6(1),t.ekj("err",e.isBodyMaxBytes),t.Q6J("options",n.codeMirrorOptions)("ngModel",e.body)}}function Wn(o,r){if(1&o&&(t.TgZ(0,"div",147),t._uU(1),t.qZA()),2&o){const e=t.oxw(2).$implicit;t.ekj("err",e.isBodyMaxBytes),t.xp6(1),t.hij("",e.bodyBytes||"0","/4000 bytes")}}function Kn(o,r){if(1&o&&(t.TgZ(0,"div",148),t._uU(1),t.qZA()),2&o){const e=t.oxw(4);t.xp6(1),t.Oqu(e.httpBobyCaption)}}function Gn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"input",149),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(2).$implicit.username=i})("ngModelChange",function(){t.CHM(e);const i=t.oxw(2).$implicit;return t.oxw(2).httpDataChanged(i,"auth")}),t.qZA()}if(2&o){const e=t.oxw(2).$implicit;t.Q6J("ngModel",e.username)}}function Xn(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",150),t.TgZ(1,"input",151),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(2).$implicit.password=i})("ngModelChange",function(){t.CHM(e);const i=t.oxw(2).$implicit;return t.oxw(2).httpDataChanged(i,"auth")}),t.qZA(),t.TgZ(2,"div",152),t.TgZ(3,"i",153),t.NdJ("click",function(){t.CHM(e);const i=t.oxw(2).$implicit;return i.isShowPassword=!i.isShowPassword}),t._uU(4),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2).$implicit;t.xp6(1),t.Q6J("type",e.isShowPassword?"text":"password")("ngModel",e.password),t.xp6(3),t.Oqu(e.isShowPassword?"visibility_off":"visibility")}}function to(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"input",154),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(2).$implicit.apiKey=i})("ngModelChange",function(){t.CHM(e);const i=t.oxw(2).$implicit;return t.oxw(2).httpDataChanged(i,"auth")}),t.qZA()}if(2&o){const e=t.oxw(2).$implicit;t.Q6J("ngModel",e.apiKey)}}function eo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"input",155),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(2).$implicit.apiVal=i})("ngModelChange",function(){t.CHM(e);const i=t.oxw(2).$implicit;return t.oxw(2).httpDataChanged(i,"auth")}),t.qZA()}if(2&o){const e=t.oxw(2).$implicit;t.Q6J("ngModel",e.apiVal)}}function no(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"select",73),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(2).$implicit.apiAddTo=i})("ngModelChange",function(){t.CHM(e);const i=t.oxw(2).$implicit;return t.oxw(2).httpDataChanged(i,"auth")}),t.TgZ(1,"option",40),t._uU(2,"Add to Header"),t.qZA(),t.TgZ(3,"option",40),t._uU(4,"Add to Query Params"),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2).$implicit;t.Q6J("ngModel",e.apiAddTo),t.xp6(1),t.Q6J("ngValue","header"),t.xp6(2),t.Q6J("ngValue","query")}}function oo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"textarea",156),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(2).$implicit.bearerToken=i})("ngModelChange",function(){t.CHM(e);const i=t.oxw(2).$implicit;return t.oxw(2).httpDataChanged(i,"auth")}),t.qZA()}if(2&o){const e=t.oxw(2).$implicit;t.Q6J("ngModel",e.bearerToken)}}function io(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"input",157),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(2).$implicit.contentTypeCustom=i})("ngModelChange",function(){t.CHM(e);const i=t.oxw(2).$implicit;return t.oxw(2).httpDataChanged(i,"content")}),t.qZA()}if(2&o){const e=t.oxw(2).$implicit;t.Q6J("ngModel",e.contentTypeCustom)}}function ao(o,r){1&o&&(t.TgZ(0,"i",158),t._uU(1),t.qZA()),2&o&&(t.xp6(1),t.Oqu("warning"))}function ro(o,r){1&o&&(t.TgZ(0,"div",127),t._uU(1,"QUERY PARAMS"),t.qZA())}function co(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",166),t.TgZ(1,"div",167),t.TgZ(2,"input",168),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(3).$implicit.apiKey=i}),t.qZA(),t.TgZ(3,"input",168),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(3).$implicit.apiVal=i}),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(3).$implicit;t.xp6(2),t.Q6J("ngModel",e.apiKey),t.xp6(1),t.Q6J("ngModel",e.apiVal)}}function lo(o,r){if(1&o){const e=t.EpF();t.ynx(0),t.TgZ(1,"div",167),t.TgZ(2,"input",169),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(3).$implicit.headerAuthKey=i}),t.qZA(),t.TgZ(3,"input",169),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(3).$implicit.headerAuthVal=i}),t.qZA(),t.qZA(),t.BQk()}if(2&o){const e=t.oxw(3).$implicit;t.xp6(2),t.ekj("disabled",!e.isHeaderMaxBytes),t.Q6J("ngModel",e.headerAuthKey),t.xp6(1),t.ekj("disabled",!e.isHeaderMaxBytes),t.Q6J("ngModel",e.headerAuthVal)}}function so(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"input",172),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(4).$implicit.contentType=i}),t.qZA()}if(2&o){const e=t.oxw(4).$implicit;t.ekj("disabled",!e.isHeaderMaxBytes),t.Q6J("ngModel",e.contentType)}}function go(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"input",172),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(4).$implicit.contentTypeCustom=i}),t.qZA()}if(2&o){const e=t.oxw(4).$implicit;t.ekj("disabled",!e.isHeaderMaxBytes),t.Q6J("ngModel",e.contentTypeCustom)}}function _o(o,r){if(1&o&&(t.ynx(0),t.TgZ(1,"div",167),t._UZ(2,"input",170),t.YNc(3,so,1,3,"input",171),t.YNc(4,go,1,3,"input",171),t.qZA(),t.BQk()),2&o){const e=t.oxw(3).$implicit;t.xp6(2),t.ekj("disabled",!e.isHeaderMaxBytes),t.xp6(1),t.Q6J("ngIf","custom"!==e.contentType),t.xp6(1),t.Q6J("ngIf","custom"===e.contentType)}}function po(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",167),t.TgZ(2,"input",154),t.NdJ("ngModelChange",function(i){return t.CHM(e).$implicit.key=i})("ngModelChange",function(){t.CHM(e);const i=t.oxw(3).$implicit;return t.oxw(2).httpDataChanged(i,"headers")}),t.qZA(),t.TgZ(3,"input",155),t.NdJ("ngModelChange",function(i){return t.CHM(e).$implicit.value=i})("ngModelChange",function(){t.CHM(e);const i=t.oxw(3).$implicit;return t.oxw(2).httpDataChanged(i,"headers")}),t.qZA(),t.TgZ(4,"comp-icon",173),t.NdJ("click",function(){const a=t.CHM(e).index,c=t.oxw(3).index;return t.oxw(2).removeHttpRequestHeader(c,a)}),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit;t.xp6(2),t.Q6J("ngModel",e.key),t.xp6(1),t.Q6J("ngModel",e.value),t.xp6(1),t.Q6J("icon","close")("color","#8792A2")("size",18)}}function mo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div"),t.YNc(1,ro,2,0,"div",159),t.YNc(2,co,4,2,"div",160),t.TgZ(3,"div",161),t._uU(4," HEADERS "),t.TgZ(5,"div",148),t._uU(6),t.qZA(),t.qZA(),t.TgZ(7,"div",162),t.YNc(8,lo,4,6,"ng-container",20),t.YNc(9,_o,5,4,"ng-container",20),t.ynx(10),t.YNc(11,po,5,5,"div",163),t.BQk(),t.qZA(),t.TgZ(12,"div",164),t.NdJ("click",function(){t.CHM(e);const i=t.oxw(2).index;return t.oxw(2).addHttpRequestHeader(i)}),t._UZ(13,"comp-icon",165),t.TgZ(14,"div"),t._uU(15,"Add list"),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngIf","query"===e.apiAddTo&&3===e.authType),t.xp6(1),t.Q6J("ngIf","query"===e.apiAddTo&&3===e.authType),t.xp6(3),t.ekj("err",e.isHeaderMaxBytes),t.xp6(1),t.hij("",e.headerBytes||"0","/2000 bytes"),t.xp6(1),t.ekj("err",e.isHeaderMaxBytes),t.xp6(1),t.Q6J("ngIf",e.isShowHeaderAuth),t.xp6(1),t.Q6J("ngIf",e.contentType),t.xp6(2),t.Q6J("ngForOf",e.headersCustom),t.xp6(2),t.Q6J("icon","add")("color","#8792A2")("size",18)}}function uo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",32),t.TgZ(1,"div"),t.TgZ(2,"div",127),t._uU(3,"METHOD & URL"),t.qZA(),t.TgZ(4,"select",128),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw().$implicit.method=i}),t.TgZ(5,"option",40),t._uU(6,"GET"),t.qZA(),t.TgZ(7,"option",40),t._uU(8,"PUT"),t.qZA(),t.TgZ(9,"option",40),t._uU(10,"PATCH"),t.qZA(),t.TgZ(11,"option",40),t._uU(12,"POST"),t.qZA(),t.TgZ(13,"option",40),t._uU(14,"DELETE"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(15,"input",129),t.NdJ("input",function(){t.CHM(e);const i=t.oxw().$implicit;return t.oxw(2).httpDataChanged(i,"url")})("ngModelChange",function(i){return t.CHM(e),t.oxw().$implicit.url=i}),t.qZA(),t.YNc(16,$n,2,0,"div",118),t.YNc(17,jn,3,4,"div",130),t.YNc(18,Wn,2,3,"div",131),t.YNc(19,Kn,2,1,"div",132),t.TgZ(20,"div"),t.TgZ(21,"div",127),t._uU(22,"AUTHENTICATION"),t.qZA(),t.TgZ(23,"select",73),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw().$implicit.authType=i})("ngModelChange",function(){t.CHM(e);const i=t.oxw().$implicit;return t.oxw(2).httpDataChanged(i,"auth")}),t.TgZ(24,"option",40),t._uU(25,"No Auth"),t.qZA(),t.TgZ(26,"option",40),t._uU(27,"Basic Auth"),t.qZA(),t.TgZ(28,"option",40),t._uU(29,"Digest Auth"),t.qZA(),t.TgZ(30,"option",40),t._uU(31,"API Key"),t.qZA(),t.TgZ(32,"option",40),t._uU(33,"Bearer Token"),t.qZA(),t.qZA(),t.qZA(),t.YNc(34,Gn,1,1,"input",133),t.YNc(35,Xn,5,3,"div",134),t.YNc(36,to,1,1,"input",135),t.YNc(37,eo,1,1,"input",136),t.YNc(38,no,5,3,"select",137),t.YNc(39,oo,1,1,"textarea",138),t.TgZ(40,"div"),t.TgZ(41,"div",127),t._uU(42,"CONTENT TYPE"),t.qZA(),t.TgZ(43,"select",73),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw().$implicit.contentType=i})("ngModelChange",function(){t.CHM(e);const i=t.oxw().$implicit;return t.oxw(2).httpDataChanged(i,"content")}),t.TgZ(44,"option",40),t._uU(45,"application/json"),t.qZA(),t.TgZ(46,"option",40),t._uU(47,"text/plain"),t.qZA(),t.TgZ(48,"option",40),t._uU(49,"custom"),t.qZA(),t.qZA(),t.YNc(50,io,1,1,"input",139),t.qZA(),t.TgZ(51,"div",140),t.NdJ("click",function(){t.CHM(e);const i=t.oxw().index;return t.oxw(2).httpRequestAdvancedToggle(i)}),t._UZ(52,"comp-icon",141),t.TgZ(53,"div",142),t._uU(54,"ADVANCED"),t.YNc(55,ao,2,1,"i",143),t.qZA(),t.qZA(),t.YNc(56,mo,16,13,"div",20),t.qZA()}if(2&o){const e=t.oxw().$implicit;t.xp6(4),t.Tol(e.method),t.Q6J("ngModel",e.method),t.xp6(1),t.Q6J("ngValue","GET"),t.xp6(2),t.Q6J("ngValue","PUT"),t.xp6(2),t.Q6J("ngValue","PATCH"),t.xp6(2),t.Q6J("ngValue","POST"),t.xp6(2),t.Q6J("ngValue","DELETE"),t.xp6(2),t.ekj("err",!e.isValidHttpUrl),t.Q6J("ngModel",e.url),t.xp6(1),t.Q6J("ngIf",!e.isValidHttpUrl),t.xp6(1),t.Q6J("ngIf","GET"!==e.method),t.xp6(1),t.Q6J("ngIf","GET"!==e.method),t.xp6(1),t.Q6J("ngIf","GET"!==e.method),t.xp6(4),t.Q6J("ngModel",e.authType),t.xp6(1),t.Q6J("ngValue",0),t.xp6(2),t.Q6J("ngValue",1),t.xp6(2),t.Q6J("ngValue",2),t.xp6(2),t.Q6J("ngValue",3),t.xp6(2),t.Q6J("ngValue",4),t.xp6(2),t.Q6J("ngIf",1===e.authType||2===e.authType),t.xp6(1),t.Q6J("ngIf",1===e.authType||2===e.authType),t.xp6(1),t.Q6J("ngIf",3===e.authType),t.xp6(1),t.Q6J("ngIf",3===e.authType),t.xp6(1),t.Q6J("ngIf",3===e.authType),t.xp6(1),t.Q6J("ngIf",4===e.authType),t.xp6(4),t.Q6J("ngModel",e.contentType),t.xp6(1),t.Q6J("ngValue","application/json"),t.xp6(2),t.Q6J("ngValue","text/plain"),t.xp6(2),t.Q6J("ngValue","custom"),t.xp6(2),t.Q6J("ngIf","custom"===e.contentType),t.xp6(2),t.ekj("show",e.isShowAdvanced),t.Q6J("icon","play_arrow")("color","#55647B")("size",14),t.xp6(3),t.Q6J("ngIf",e.isHeaderMaxBytes),t.xp6(1),t.Q6J("ngIf",e.isShowAdvanced)}}function fo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",83),t.TgZ(1,"div",84),t.TgZ(2,"div",85),t.TgZ(3,"div"),t._uU(4,"Action"),t.qZA(),t.TgZ(5,"div",86),t.YNc(6,fn,3,0,"div",24),t.qZA(),t.qZA(),t.TgZ(7,"select",36),t.NdJ("ngModelChange",function(i){return t.CHM(e).$implicit.type=i})("change",function(){const a=t.CHM(e).index;return t.oxw(2).selectAction(a)}),t.TgZ(8,"option",37),t._uU(9,"Select Action Type"),t.qZA(),t.YNc(10,Cn,1,1,"ng-template",38),t.qZA(),t.qZA(),t.YNc(11,Sn,25,15,"ng-template",87),t.YNc(12,Nn,8,4,"ng-template",87),t.YNc(13,Vn,17,14,"ng-template",87),t.YNc(14,uo,57,39,"ng-template",87),t.TgZ(15,"div",88),t._UZ(16,"div",89),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=r.index,i=t.oxw(2);t.xp6(6),t.Q6J("ngIf",0!==n),t.xp6(1),t.ekj("disabled",i.isLoading),t.Q6J("ngModel",e.type),t.xp6(1),t.Q6J("ngValue","none"),t.xp6(2),t.Q6J("ngForOf",i.actions),t.xp6(1),t.Q6J("ngIf","talkdown"===e.type),t.xp6(1),t.Q6J("ngIf","record-video"===e.type||"playback"===e.type),t.xp6(1),t.Q6J("ngIf","relay"===e.type),t.xp6(1),t.Q6J("ngIf","http-request"===e.type)}}function ho(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",174),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).addAction()}),t._UZ(1,"comp-icon",175),t.TgZ(2,"span"),t._uU(3,"Add Another Action"),t.qZA(),t.qZA()}2&o&&(t.xp6(1),t.Q6J("icon","add")("color","#2383e2")("size",14))}function Co(o,r){1&o&&(t.TgZ(0,"div",176),t.TgZ(1,"span"),t._uU(2,"Max 5 Actions."),t.qZA(),t.qZA())}function bo(o,r){if(1&o&&(t.TgZ(0,"div",79),t.YNc(1,fo,17,10,"div",80),t.YNc(2,ho,4,3,"div",81),t.YNc(3,Co,3,0,"div",82),t.qZA()),2&o){const e=t.oxw();t.xp6(1),t.Q6J("ngForOf",e.newAutomationRule.actions),t.xp6(1),t.Q6J("ngIf",e.newAutomationRule.actions.length<5),t.xp6(1),t.Q6J("ngIf",e.newAutomationRule.actions.length>=5)}}function Mo(o,r){if(1&o&&(t.TgZ(0,"option",75),t._uU(1),t.qZA()),2&o){const e=r.$implicit,n=t.oxw().$implicit,i=t.oxw(2);t.Q6J("ngValue",e.type)("disabled",!i.validateArmingCondition(n,e)),t.xp6(1),t.AsE("",e.name," ",i.validateArmingCondition(n,e)?"":"(Disabled)","")}}function xo(o,r){if(1&o&&(t.TgZ(0,"div",188),t.TgZ(1,"div",189),t._uU(2),t.qZA(),t.TgZ(3,"div",190),t._uU(4),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Oqu(e.startTime),t.xp6(2),t.Oqu(e.endTime)}}function Oo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",185),t.NdJ("click",function(){const i=t.CHM(e),a=i.$implicit,c=i.index,l=t.oxw(2).$implicit,s=t.oxw(2).index;return t.oxw(2).openTimeConditionEditModal(a,c,l,s)})("mouseenter",function(i){return t.CHM(e),t.oxw(6).commonService.setTooltipPosition(i,"top-center")}),t.YNc(1,xo,5,2,"div",186),t.TgZ(2,"div",187),t.TgZ(3,"div"),t._uU(4),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit;t.Udp("left",e.left)("width",e.width),t.xp6(1),t.Q6J("ngIf",e.widthNum>37),t.xp6(3),t.AsE("",e.startTime," - ",e.endTime,"")}}function Po(o,r){if(1&o&&(t.TgZ(0,"div",65),t.YNc(1,Oo,5,7,"div",184),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("ngForOf",e.times)}}function vo(o,r){1&o&&(t.TgZ(0,"div",69),t.TgZ(1,"i",70),t._uU(2,"add"),t.qZA(),t.TgZ(3,"div"),t._uU(4,"Add"),t.qZA(),t.qZA())}function yo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",191),t.NdJ("click",function(){t.CHM(e);const i=t.oxw().index,a=t.oxw(2).index;return t.oxw(2).removeTCTimes(a,i)}),t._UZ(1,"comp-icon",165),t.qZA()}2&o&&(t.xp6(1),t.Q6J("icon","delete")("color","#CD3D64")("size",24))}function wo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",180),t.TgZ(1,"div",181),t._uU(2),t.qZA(),t.TgZ(3,"div",182),t.TgZ(4,"div",62),t.NdJ("click",function(){const a=t.CHM(e).$implicit,c=t.oxw(2).index;return t.oxw(2).openTimeConditionAddModal(a,c)}),t.YNc(5,Po,2,1,"div",63),t.YNc(6,vo,5,0,"div",64),t.qZA(),t.qZA(),t.YNc(7,yo,2,3,"div",183),t.qZA()}if(2&o){const e=r.$implicit;t.xp6(2),t.Oqu(e.label),t.xp6(3),t.Q6J("ngIf",e.times.length>0),t.xp6(1),t.Q6J("ngIf",e.times.length<1),t.xp6(1),t.Q6J("ngIf",e.times.length>0)}}function Ao(o,r){if(1&o&&(t.TgZ(0,"div",42),t.TgZ(1,"div"),t.TgZ(2,"div",177),t.YNc(3,wo,8,4,"div",178),t.qZA(),t.TgZ(4,"div",179),t._uU(5," The desired automated action for this rule will only happen if the event occurs during the set time. "),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(3),t.Q6J("ngForOf",e.TCdaysOfWeek)}}function To(o,r){if(1&o&&t._uU(0),2&o){const e=t.oxw(3).$implicit;t.hij(" The desired automated action for this rule will only happen if the event is on a ",e.armingState," channel/zone. ")}}function ko(o,r){1&o&&t._uU(0," The desired automated action for this rule will only happen if the event is on a entry delay. ")}function Zo(o,r){1&o&&t._uU(0," The desired automated action for this rule will only happen if the event is on a exit delay. ")}function Ro(o,r){1&o&&t._uU(0," The desired automated action for this rule will only happen if the event is on a system alarm. ")}function So(o,r){if(1&o&&(t.TgZ(0,"div",78),t.YNc(1,To,1,1,"ng-template",87),t.YNc(2,ko,1,0,"ng-template",87),t.YNc(3,Zo,1,0,"ng-template",87),t.YNc(4,Ro,1,0,"ng-template",87),t.qZA()),2&o){const e=t.oxw(2).$implicit,n=t.oxw(2);t.xp6(1),t.Q6J("ngIf","armed"===e.armingState||"disarmed"===e.armingState),t.xp6(1),t.Q6J("ngIf","enter"===e.armingState&&n.data.isAllfwSupportExitEntrySystemAiOperator),t.xp6(1),t.Q6J("ngIf","exit"===e.armingState&&n.data.isAllfwSupportExitEntrySystemAiOperator),t.xp6(1),t.Q6J("ngIf","alert"===e.armingState&&n.data.isAllfwSupportExitEntrySystemAiOperator)}}function qo(o,r){1&o&&(t.TgZ(0,"div",199),t._uU(1,"\u26a0\ufe0f The Cloud AI feature is currently disabled on the site or dealer level. Please enable the Cloud AI feature to use the AI Operator rule."),t.qZA())}function Io(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",194),t.TgZ(1,"mat-checkbox",195),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(2).$implicit.aiOperator=i}),t.qZA(),t.TgZ(2,"div"),t.TgZ(3,"div",196),t._uU(4,"Use AI Operator"),t.qZA(),t.TgZ(5,"div",197),t._uU(6,"Enabling the AI operator feature will execute automation actions only when the AI video event is true."),t.qZA(),t.YNc(7,qo,2,0,"div",198),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2).$implicit,n=t.oxw(2);t.xp6(1),t.Q6J("ngModel",e.aiOperator),t.xp6(6),t.Q6J("ngIf",!n.data.isAiOperatorEnabledSiteDealer)}}function zo(o,r){if(1&o&&(t.TgZ(0,"div",78),t._uU(1),t.qZA()),2&o){const e=t.oxw(3).$implicit;t.xp6(1),t.hij(" The automated action for this rule will only happen if the site is ",e.armingState,". ")}}function Eo(o,r){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,zo,2,1,"div",192),t.qZA()),2&o){const e=t.oxw(4);t.xp6(1),t.Q6J("ngIf","opened"===e.newAutomationRule.trigger.state)}}function No(o,r){1&o&&(t.TgZ(0,"div",76),t._uU(1,"*The entry, exit, system alarm feature is available when the bridge firmware is version 4.4.0.32 or higher. All sites must have all bridges at version 4.4.0.32 or above."),t.qZA())}function Jo(o,r){1&o&&(t.TgZ(0,"div"),t._uU(1,"Any Bridge"),t.qZA())}function Do(o,r){if(1&o&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.AsE("",e.name," (",e.virtual_zone,")")}}function Ho(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",49),t.YNc(1,Jo,2,0,"div",20),t.YNc(2,Do,2,2,"div",20),t.TgZ(3,"div"),t.TgZ(4,"i",50),t.NdJ("click",function(i){const c=t.CHM(e).$implicit,l=t.oxw(3).index,s=t.oxw(2);return i.stopPropagation(),s.removeConditionBridge(l,c)}),t._uU(5,"close"),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(3).$implicit,n=t.oxw(2);t.xp6(1),t.Q6J("ngIf",-1!==e.bridges.indexOf(n.allBridge)),t.xp6(1),t.Q6J("ngIf",-1===e.bridges.indexOf(n.allBridge))}}function Uo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",52),t.NdJ("click",function(){const a=t.CHM(e).$implicit,c=t.oxw(4).index;return t.oxw(2).selectConditionBridge(c,a)}),t.TgZ(1,"div",54),t.TgZ(2,"div",55),t._uU(3),t.qZA(),t.TgZ(4,"div",56),t.TgZ(5,"span"),t._uU(6),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(4).$implicit;t.ekj("selected",n.bridges&&-1!==n.bridges.indexOf(e)),t.xp6(2),t.ekj("no-info",!e.name),t.xp6(1),t.Oqu(e.name||"No Name"),t.xp6(3),t.Oqu(e.virtual_zone)}}function Qo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",51),t.TgZ(1,"div",52),t.NdJ("click",function(){t.CHM(e);const i=t.oxw(3).index,a=t.oxw(2);return a.selectConditionBridge(i,a.allBridge)}),t._uU(2,"Any Bridge"),t.qZA(),t.YNc(3,Uo,7,6,"div",53),t.qZA()}if(2&o){const e=t.oxw(3).$implicit,n=t.oxw(2);t.xp6(1),t.ekj("selected",e.bridges&&-1!==e.bridges.indexOf(n.allBridge)),t.xp6(2),t.Q6J("ngForOf",n.siteBridges)}}function Bo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",32),t.TgZ(1,"div",101,200),t.TgZ(3,"div",45),t.NdJ("click",function(){t.CHM(e);const i=t.oxw(2).index;return t.oxw(2).toggleConditionBridgeSelect(i)}),t.TgZ(4,"div",46),t.YNc(5,Ho,6,2,"div",47),t.qZA(),t.qZA(),t.YNc(6,Qo,4,3,"div",48),t.qZA(),t.TgZ(7,"div",78),t._uU(8),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2),n=e.index,i=e.$implicit;t.xp6(1),t.Q6J("id","condition-"+n),t.xp6(4),t.Q6J("ngForOf",i.bridges),t.xp6(1),t.Q6J("ngIf",i.isShowMenu),t.xp6(2),t.hij(" The automated action for this rule will only happen when selected bridge(s) is ",i.armingState," ")}}function Yo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",32),t.TgZ(1,"select",36),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw().$implicit.armingState=i})("change",function(){t.CHM(e);const i=t.oxw().$implicit;return t.oxw(2).changeConditionArmingState(i)}),t.TgZ(2,"option",40),t._uU(3),t.qZA(),t.TgZ(4,"option",40),t._uU(5),t.qZA(),t.TgZ(6,"option",75),t._uU(7),t.qZA(),t.TgZ(8,"option",75),t._uU(9),t.qZA(),t.TgZ(10,"option",75),t._uU(11),t.qZA(),t.qZA(),t.YNc(12,So,5,4,"div",192),t.YNc(13,Io,8,2,"div",193),t.YNc(14,Eo,2,1,"div",20),t.YNc(15,No,2,0,"div",72),t.qZA(),t.YNc(16,Bo,9,4,"div",34)}if(2&o){const e=t.oxw().$implicit,n=t.oxw(2);t.xp6(1),t.ekj("disabled",n.isLoading),t.Q6J("ngModel",e.armingState),t.xp6(1),t.Q6J("ngValue","armed"),t.xp6(1),t.hij("While ",2===n.newAutomationRule.armingSource?"Bridge":""," Armed"),t.xp6(1),t.Q6J("ngValue","disarmed"),t.xp6(1),t.hij("While ",2===n.newAutomationRule.armingSource?"Bridge":""," Disarmed"),t.xp6(1),t.Q6J("ngValue","enter")("disabled",!n.data.isAllfwSupportExitEntrySystemAiOperator),t.xp6(1),t.hij("During ",2===n.newAutomationRule.armingSource?"Bridge":""," System Entry"),t.xp6(1),t.Q6J("ngValue","exit")("disabled",!n.data.isAllfwSupportExitEntrySystemAiOperator),t.xp6(1),t.hij("During ",2===n.newAutomationRule.armingSource?"Bridge":""," System Exit"),t.xp6(1),t.Q6J("ngValue","alert")("disabled",!n.data.isAllfwSupportExitEntrySystemAiOperator),t.xp6(1),t.hij("While ",2===n.newAutomationRule.armingSource?"Bridge":""," In Alarm (Bell Duration)"),t.xp6(1),t.Q6J("ngIf","monitoring_portal"!==n.newAutomationRule.trigger.type),t.xp6(1),t.Q6J("ngIf","camera"===n.newAutomationRule.trigger.type&&n.data.isAllfwSupportExitEntrySystemAiOperator&&"exit"!==e.armingState&&"disarmed"!==e.armingState),t.xp6(1),t.Q6J("ngIf","monitoring_portal"===n.newAutomationRule.trigger.type),t.xp6(1),t.Q6J("ngIf",!n.data.isAllfwSupportExitEntrySystemAiOperator),t.xp6(1),t.Q6J("ngIf","monitorin g_portal"===n.newAutomationRule.trigger.type&&"while_open"===n.newAutomationRule.trigger.state)}}function Fo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",83),t.TgZ(1,"div",32),t.TgZ(2,"div",85),t.TgZ(3,"div"),t._uU(4,"Condition"),t.qZA(),t.TgZ(5,"div",86),t.TgZ(6,"div",90),t.NdJ("click",function(){const a=t.CHM(e).index;return t.oxw(2).deleteCondition(a)}),t.TgZ(7,"div",91),t._uU(8,"Delete"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(9,"select",36),t.NdJ("ngModelChange",function(i){return t.CHM(e).$implicit.type=i})("change",function(){const a=t.CHM(e).index;return t.oxw(2).selectCondition(a)}),t.TgZ(10,"option",37),t._uU(11,"Select Condition Type"),t.qZA(),t.YNc(12,Mo,2,4,"ng-template",38),t.qZA(),t.qZA(),t.YNc(13,Ao,6,1,"ng-template",87),t.YNc(14,Yo,17,21,"ng-template",87),t.TgZ(15,"div",88),t._UZ(16,"div",89),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(2);t.xp6(9),t.ekj("disabled",n.isLoading),t.Q6J("ngModel",e.type),t.xp6(1),t.Q6J("ngValue","none"),t.xp6(2),t.Q6J("ngForOf",n.conditions),t.xp6(1),t.Q6J("ngIf","time"===e.type),t.xp6(1),t.Q6J("ngIf","arming"===e.type||"enter"===e.type||"exit"===e.type||"alert"===e.type)}}function Lo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",174),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).addCondition()}),t._UZ(1,"comp-icon",175),t.TgZ(2,"span"),t._uU(3,"Add Another Condition"),t.qZA(),t.qZA()}2&o&&(t.xp6(1),t.Q6J("icon","add")("color","#2383e2")("size",14))}function Vo(o,r){1&o&&(t.TgZ(0,"div",176),t.TgZ(1,"span"),t._uU(2,"Max 2 Conditions."),t.qZA(),t.qZA())}function $o(o,r){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,Fo,17,7,"div",80),t.YNc(2,Lo,4,3,"div",81),t.YNc(3,Vo,3,0,"div",82),t.qZA()),2&o){const e=t.oxw();t.xp6(1),t.Q6J("ngForOf",e.newAutomationRule.conditions),t.xp6(1),t.Q6J("ngIf",e.newAutomationRule.conditions.length<2),t.xp6(1),t.Q6J("ngIf",e.newAutomationRule.conditions.length>=2)}}function jo(o,r){1&o&&(t.TgZ(0,"div",207),t.TgZ(1,"div",208),t.O4$(),t.TgZ(2,"svg",209),t._UZ(3,"circle",210),t.qZA(),t.qZA(),t.qZA())}function Wo(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",201),t.YNc(1,jo,4,0,"div",202),t.TgZ(2,"div",32),t.TgZ(3,"mat-slide-toggle",203),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw().newAutomationRule.enabled=i}),t._uU(4,"Automation Rule Enabled"),t.qZA(),t.qZA(),t.TgZ(5,"div",32),t.TgZ(6,"div"),t._uU(7,"Rule Name"),t.qZA(),t.TgZ(8,"input",204),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw().newAutomationRule.name=i}),t.qZA(),t.qZA(),t.TgZ(9,"div",32),t.TgZ(10,"div"),t._uU(11,"Rule Note"),t.qZA(),t.TgZ(12,"textarea",205),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw().newAutomationRule.note=i})("input",function(){return t.CHM(e),t.oxw().checkNote()}),t._uU(13," "),t.qZA(),t.TgZ(14,"div",206),t._uU(15),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",e.isLoading||e.isEditLoading),t.xp6(2),t.Q6J("ngModel",e.newAutomationRule.enabled)("disabled",e.isLoading),t.xp6(5),t.ekj("correct",e.newAutomationRule.name.length>0),t.Q6J("ngModel",e.newAutomationRule.name),t.xp6(4),t.Q6J("ngModel",e.newAutomationRule.note),t.xp6(3),t.hij("",(e.newAutomationRule.note||"").length," / 500")}}function Ko(o,r){1&o&&(t.TgZ(0,"span"),t._uU(1,"Enabled"),t.qZA())}function Go(o,r){1&o&&(t.TgZ(0,"span",224),t._uU(1,"Disabled"),t.qZA())}function Xo(o,r){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Oqu(e.newAutomationRule.name)}}function ti(o,r){1&o&&(t.TgZ(0,"span",224),t._uU(1,"No Name"),t.qZA())}function ei(o,r){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Oqu(e.newAutomationRule.note)}}function ni(o,r){1&o&&(t.TgZ(0,"span",224),t._uU(1,"No Note"),t.qZA())}function oi(o,r){if(1&o&&(t.TgZ(0,"div",227),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.xp6(1),t.Oqu(e.label)}}function ii(o,r){if(1&o&&(t.TgZ(0,"div",216),t.TgZ(1,"div",212),t._uU(2,"Camera Triggered"),t.qZA(),t.TgZ(3,"div",225),t.YNc(4,oi,2,1,"div",226),t.qZA(),t.qZA()),2&o){const e=t.oxw(2);t.xp6(4),t.Q6J("ngForOf",e.newAutomationRule.trigger.cameras)}}function ai(o,r){if(1&o&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.xp6(1),t.Oqu(e)}}function ri(o,r){if(1&o&&(t.TgZ(0,"ng-templete",230),t._uU(1),t.YNc(2,ai,2,1,"div",163),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.name,""),t.xp6(1),t.Q6J("ngForOf",e.times)}}function ci(o,r){if(1&o&&(t.TgZ(0,"div",122),t.YNc(1,ri,3,2,"ng-templete",229),t.qZA()),2&o){const e=r.$implicit;t.xp6(1),t.Q6J("ngIf",e.times.length>0)}}function li(o,r){if(1&o&&(t.TgZ(0,"div",216),t.TgZ(1,"div",212),t._uU(2,"Time Triggered"),t.qZA(),t.TgZ(3,"div",225),t.YNc(4,ci,2,1,"div",228),t.qZA(),t.qZA()),2&o){const e=t.oxw(2);t.xp6(4),t.Q6J("ngForOf",e.newAutomationRule.trigger.TTdaysOfWeek)}}function si(o,r){if(1&o&&(t.TgZ(0,"div",216),t.TgZ(1,"div",216),t.TgZ(2,"div",212),t._uU(3,"Relay"),t.qZA(),t.TgZ(4,"div",217),t._uU(5),t.qZA(),t.qZA(),t.TgZ(6,"div",216),t.TgZ(7,"div",212),t._uU(8,"Relay State"),t.qZA(),t.TgZ(9,"div",217),t._uU(10),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw(2);t.xp6(5),t.Oqu(e.newAutomationRule.trigger.relay),t.xp6(5),t.Oqu(e.newAutomationRule.trigger.triggerState)}}function di(o,r){if(1&o&&(t.TgZ(0,"div",216),t.TgZ(1,"div",216),t.TgZ(2,"div",212),t._uU(3,"Arming State"),t.qZA(),t.TgZ(4,"div",217),t._uU(5),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw(2);t.xp6(5),t.Oqu(e.newAutomationRule.trigger.armingState)}}function gi(o,r){if(1&o&&(t.TgZ(0,"div",219),t.TgZ(1,"div",216),t.TgZ(2,"div",212),t._uU(3,"Opening State"),t.qZA(),t.TgZ(4,"div",217),t._uU(5),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw(2);t.xp6(5),t.Oqu(e.stateToLabel(e.newAutomationRule.trigger.state))}}function _i(o,r){if(1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",216),t.TgZ(2,"div",212),t._uU(3,"Message"),t.qZA(),t.TgZ(4,"div",217),t._uU(5),t.qZA(),t.qZA(),t.TgZ(6,"div",216),t.TgZ(7,"div",212),t._uU(8,"Repeat"),t.qZA(),t.TgZ(9,"div",217),t._uU(10),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(5),t.Oqu(e.tts.text),t.xp6(5),t.hij("",e.repeat," times")}}function pi(o,r){if(1&o&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2).$implicit;t.xp6(1),t.hij("\xa0",e.momentaryDuration," second(s)")}}function mi(o,r){if(1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",216),t.TgZ(2,"div",212),t._uU(3,"Relay Name"),t.qZA(),t.TgZ(4,"div",217),t._uU(5),t.qZA(),t.qZA(),t.TgZ(6,"div",216),t.TgZ(7,"div",212),t._uU(8,"Relay State"),t.qZA(),t.TgZ(9,"div",225),t.TgZ(10,"div",232),t._UZ(11,"comp-icon",175),t.qZA(),t.TgZ(12,"div"),t._uU(13),t.qZA(),t.qZA(),t.qZA(),t.TgZ(14,"div",216),t.TgZ(15,"div",212),t._uU(16,"Relay Mode"),t.qZA(),t.TgZ(17,"div",225),t.TgZ(18,"div"),t._uU(19),t.qZA(),t.YNc(20,pi,2,1,"div",20),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(5),t.Oqu(e.relay.name),t.xp6(6),t.Q6J("icon",e.relayStateIcon)("color","hsla(0,0%,0%)")("size",15),t.xp6(2),t.Oqu(e.relayState),t.xp6(6),t.Oqu(e.mode),t.xp6(1),t.Q6J("ngIf","momentary"===e.mode)}}function ui(o,r){if(1&o&&(t.TgZ(0,"div",227),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.xp6(1),t.AsE("",e.name,"(",e.alarm_zone,"")}}function fi(o,r){if(1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",216),t.TgZ(2,"div",212),t._uU(3,"Record Camera"),t.qZA(),t.TgZ(4,"div",225),t.YNc(5,ui,2,2,"div",226),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(5),t.Q6J("ngForOf",e.cameras)}}function hi(o,r){if(1&o&&(t.TgZ(0,"div",227),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.xp6(1),t.AsE("",e.name,"(",e.alarm_zone,"")}}function Ci(o,r){if(1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",216),t.TgZ(2,"div",212),t._uU(3,"2 Minute Pre-Recording"),t.qZA(),t.TgZ(4,"div",225),t.YNc(5,hi,2,2,"div",226),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(5),t.Q6J("ngForOf",e.cameras)}}function bi(o,r){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2).$implicit;t.xp6(1),t.hij("(",e.contentTypeCustom,")")}}function Mi(o,r){1&o&&(t.TgZ(0,"div",217),t._uU(1,"No Auth"),t.qZA())}function xi(o,r){1&o&&(t.TgZ(0,"div",217),t._uU(1,"Basic"),t.qZA())}function Oi(o,r){1&o&&(t.TgZ(0,"div",217),t._uU(1,"Digest"),t.qZA())}function Pi(o,r){1&o&&(t.TgZ(0,"div",217),t._uU(1,"API Key"),t.qZA())}function vi(o,r){1&o&&(t.TgZ(0,"div",217),t._uU(1,"Bearer Token"),t.qZA())}const yi=function(){return{readOnly:!0}};function wi(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",216),t.TgZ(1,"div",212),t._uU(2,"Body"),t.qZA(),t.TgZ(3,"div",217),t.TgZ(4,"ngx-codemirror",234,146),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(2).$implicit.body=i}),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2).$implicit;t.xp6(4),t.Q6J("options",t.DdM(2,yi))("ngModel",e.body)}}function Ai(o,r){if(1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",216),t.TgZ(2,"div",212),t._uU(3,"Method"),t.qZA(),t.TgZ(4,"div",217),t._uU(5),t.qZA(),t.qZA(),t.TgZ(6,"div",216),t.TgZ(7,"div",212),t._uU(8,"URL"),t.qZA(),t.TgZ(9,"div",217),t._uU(10),t.qZA(),t.qZA(),t.TgZ(11,"div",216),t.TgZ(12,"div",212),t._uU(13,"Content Type"),t.qZA(),t.TgZ(14,"div",217),t._uU(15),t.YNc(16,bi,2,1,"span",20),t.qZA(),t.qZA(),t.TgZ(17,"div",216),t.TgZ(18,"div",212),t._uU(19,"Auth Type"),t.qZA(),t.YNc(20,Mi,2,0,"div",233),t.YNc(21,xi,2,0,"div",233),t.YNc(22,Oi,2,0,"div",233),t.YNc(23,Pi,2,0,"div",233),t.YNc(24,vi,2,0,"div",233),t.qZA(),t.YNc(25,wi,6,3,"div",220),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(5),t.Oqu(e.method),t.xp6(5),t.Oqu(e.url),t.xp6(5),t.hij("",e.contentType," "),t.xp6(1),t.Q6J("ngIf","custom"===e.contentType),t.xp6(4),t.Q6J("ngIf",0===e.authType),t.xp6(1),t.Q6J("ngIf",1===e.authType),t.xp6(1),t.Q6J("ngIf",2===e.authType),t.xp6(1),t.Q6J("ngIf",3===e.authType),t.xp6(1),t.Q6J("ngIf",4===e.authType),t.xp6(1),t.Q6J("ngIf","GET"!==e.method)}}function Ti(o,r){if(1&o&&(t.TgZ(0,"div",231),t.TgZ(1,"div",216),t.TgZ(2,"div",212),t._uU(3,"Action Type"),t.qZA(),t.TgZ(4,"div",217),t._uU(5),t.qZA(),t.qZA(),t.YNc(6,_i,11,2,"div",20),t.YNc(7,mi,21,7,"div",20),t.YNc(8,fi,6,1,"div",20),t.YNc(9,Ci,6,1,"div",20),t.YNc(10,Ai,26,10,"div",20),t.qZA()),2&o){const e=r.$implicit;t.xp6(5),t.Oqu(e.name),t.xp6(1),t.Q6J("ngIf","talkdown"===e.type),t.xp6(1),t.Q6J("ngIf","relay"===e.type),t.xp6(1),t.Q6J("ngIf","record-video"===e.type),t.xp6(1),t.Q6J("ngIf","playback"===e.type),t.xp6(1),t.Q6J("ngIf","http-request"===e.type)}}function ki(o,r){if(1&o&&(t.TgZ(0,"div",227),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.xp6(1),t.Oqu(e)}}function Zi(o,r){if(1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",216),t.TgZ(2,"div",212),t._uU(3,"Days Of Week"),t.qZA(),t.TgZ(4,"div",225),t.YNc(5,ki,2,1,"div",226),t.qZA(),t.qZA(),t.TgZ(6,"div",216),t.TgZ(7,"div",212),t._uU(8,"Time"),t.qZA(),t.TgZ(9,"div",217),t._uU(10),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(5),t.Q6J("ngForOf",e.daysOfWeek),t.xp6(5),t.HOy("",e.startHour,":",e.startMinute," - ",e.endHour,":",e.endMinute,"")}}function Ri(o,r){if(1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",216),t.TgZ(2,"div",212),t._uU(3,"Arming Status"),t.qZA(),t.TgZ(4,"div",217),t._uU(5),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(5),t.Oqu(e.armingState)}}function Si(o,r){if(1&o&&(t.TgZ(0,"div",231),t.TgZ(1,"div",216),t.TgZ(2,"div",212),t._uU(3,"Condition Type"),t.qZA(),t.TgZ(4,"div",217),t._uU(5),t.qZA(),t.qZA(),t.YNc(6,Zi,11,5,"div",20),t.YNc(7,Ri,6,1,"div",20),t.qZA()),2&o){const e=r.$implicit;t.xp6(5),t.Oqu(e.name),t.xp6(1),t.Q6J("ngIf","time"===e.type),t.xp6(1),t.Q6J("ngIf","arming"===e.type)}}function qi(o,r){1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",235),t._uU(2,"No Condition"),t.qZA(),t.qZA())}function Ii(o,r){if(1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",19),t.TgZ(2,"div",32),t.TgZ(3,"div",211),t._UZ(4,"comp-icon",175),t.TgZ(5,"div",212),t._uU(6,"Automation rule setup completed successfully."),t.qZA(),t.qZA(),t.qZA(),t.TgZ(7,"div",32),t.TgZ(8,"div",213),t.TgZ(9,"div",214),t.TgZ(10,"div",215),t._uU(11,"1. Information"),t.qZA(),t.TgZ(12,"div",216),t.TgZ(13,"div",212),t._uU(14,"Eanble Automation Rule"),t.qZA(),t.TgZ(15,"div",217),t.YNc(16,Ko,2,0,"span",20),t.YNc(17,Go,2,0,"span",218),t.qZA(),t.qZA(),t.TgZ(18,"div",216),t.TgZ(19,"div",212),t._uU(20,"Rule Name"),t.qZA(),t.TgZ(21,"div",217),t.YNc(22,Xo,2,1,"span",20),t.YNc(23,ti,2,0,"span",218),t.qZA(),t.qZA(),t.TgZ(24,"div",219),t.TgZ(25,"div",212),t._uU(26,"Rule Note"),t.qZA(),t.TgZ(27,"div",217),t.YNc(28,ei,2,1,"span",20),t.YNc(29,ni,2,0,"span",218),t.qZA(),t.qZA(),t.TgZ(30,"div",215),t._uU(31,"2. Trigger"),t.qZA(),t.TgZ(32,"div",216),t.TgZ(33,"div",212),t._uU(34,"Trigger"),t.qZA(),t.TgZ(35,"div",217),t._uU(36),t.qZA(),t.qZA(),t.YNc(37,ii,5,1,"div",220),t.YNc(38,li,5,1,"div",220),t.YNc(39,si,11,2,"div",220),t.YNc(40,di,6,1,"div",220),t.YNc(41,gi,6,1,"div",221),t.TgZ(42,"div",215),t._uU(43,"3. Action"),t.qZA(),t.YNc(44,Ti,11,6,"div",222),t.TgZ(45,"div",223),t.TgZ(46,"div",215),t._uU(47,"4. Condition"),t.qZA(),t.YNc(48,Si,8,3,"div",222),t.YNc(49,qi,3,0,"div",20),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw();t.xp6(4),t.Q6J("icon","task_alt")("color","#1EA675")("size",48),t.xp6(12),t.Q6J("ngIf",e.newAutomationRule.enabled),t.xp6(1),t.Q6J("ngIf",!e.newAutomationRule.enabled),t.xp6(5),t.Q6J("ngIf",e.newAutomationRule.name),t.xp6(1),t.Q6J("ngIf",!e.newAutomationRule.name),t.xp6(5),t.Q6J("ngIf",e.newAutomationRule.note),t.xp6(1),t.Q6J("ngIf",!e.newAutomationRule.note),t.xp6(7),t.Oqu(e.newAutomationRule.trigger.name),t.xp6(1),t.Q6J("ngIf","camera"===e.newAutomationRule.trigger.type),t.xp6(1),t.Q6J("ngIf","time_triggered"===e.newAutomationRule.trigger.type),t.xp6(1),t.Q6J("ngIf","relay"===e.newAutomationRule.trigger.type),t.xp6(1),t.Q6J("ngIf","arming"===e.newAutomationRule.trigger.type),t.xp6(1),t.Q6J("ngIf","monitoring_portal"===e.newAutomationRule.trigger.type),t.xp6(3),t.Q6J("ngForOf",e.newAutomationRule.actions),t.xp6(4),t.Q6J("ngForOf",e.newAutomationRule.conditions),t.xp6(1),t.Q6J("ngIf",0===e.newAutomationRule.conditions.length)}}function zi(o,r){1&o&&t._UZ(0,"div")}function Ei(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",90),t.NdJ("click",function(){return t.CHM(e),t.oxw().goToPrevStep()}),t.TgZ(1,"div",236),t._UZ(2,"comp-icon",165),t.TgZ(3,"span",237),t._uU(4,"Back"),t.qZA(),t.qZA(),t.qZA()}2&o&&(t.xp6(2),t.Q6J("icon","arrow_back")("color","hsla(0,0%,0%,.86)")("size",18))}function Ni(o,r){1&o&&t._UZ(0,"div",201)}function Ji(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",201),t.TgZ(1,"div",238),t.NdJ("click",function(){return t.CHM(e),t.oxw().updateRule()}),t.TgZ(2,"div",239),t.TgZ(3,"span"),t._uU(4,"Update"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw();t.xp6(1),t.ekj("disabled",!e.validateUpdate())}}function Di(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",240),t.NdJ("click",function(){return t.CHM(e),t.oxw().checkStep()}),t.TgZ(1,"div",241),t.TgZ(2,"span",242),t._uU(3,"Next"),t.qZA(),t._UZ(4,"comp-icon",165),t.qZA(),t.qZA()}if(2&o){const e=t.oxw();t.ekj("disabled",!e.validateTriggerInfo()),t.xp6(4),t.Q6J("icon","arrow_forward_n")("color","#fff")("size",18)}}function Hi(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",240),t.NdJ("click",function(){return t.CHM(e),t.oxw().checkStep()}),t.TgZ(1,"div",241),t.TgZ(2,"span",242),t._uU(3,"Next"),t.qZA(),t._UZ(4,"comp-icon",165),t.qZA(),t.qZA()}if(2&o){const e=t.oxw();t.ekj("disabled",!e.validateActionInfo()),t.xp6(4),t.Q6J("icon","arrow_forward_n")("color","#fff")("size",18)}}function Ui(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",240),t.NdJ("click",function(){return t.CHM(e),t.oxw().checkStep()}),t.TgZ(1,"div",241),t.TgZ(2,"span",242),t._uU(3,"Next"),t.qZA(),t._UZ(4,"comp-icon",165),t.qZA(),t.qZA()}if(2&o){const e=t.oxw();t.ekj("disabled",!e.validateConditionInfo()),t.xp6(4),t.Q6J("icon","arrow_forward_n")("color","#fff")("size",18)}}function Qi(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",240),t.NdJ("click",function(){return t.CHM(e),t.oxw().checkStep()}),t.TgZ(1,"div",241),t.TgZ(2,"span",242),t._uU(3,"Next"),t.qZA(),t._UZ(4,"comp-icon",165),t.qZA(),t.qZA()}if(2&o){const e=t.oxw();t.ekj("disabled",!e.validateAutomationRuleInfo()),t.xp6(4),t.Q6J("icon","arrow_forward_n")("color","#fff")("size",18)}}function Bi(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",90),t.NdJ("click",function(){return t.CHM(e),t.oxw().closeModal()}),t.TgZ(1,"div",243),t._uU(2,"Cancel"),t.qZA(),t.qZA()}}function Yi(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",240),t.NdJ("click",function(){return t.CHM(e),t.oxw().closeModal(!0)}),t.TgZ(1,"div",243),t._uU(2,"Done"),t.qZA(),t.qZA()}}let Fi=(()=>{class o{constructor(e,n,i,a,c,l,s,d){this.usersService=e,this.sitesService=n,this.commonService=i,this.dealerService=a,this.devicesService=c,this._DomSanitizer=l,this.integrationService=s,this.audioService=d,this.onClose=new t.vpe,this.onUpdate=new t.vpe,this.event=new t.vpe,this.codeMirrorOptions={theme:"default",mode:"javascript",indentWithTabs:!0,statementIndent:4,smartIndent:!0,lineNumbers:!0,lineWrapping:!1,extraKeys:{"Ctrl-Space":"autocomplete"},foldGutter:!0,gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter","CodeMirror-lint-markers"],autoCloseBrackets:!0,matchBrackets:!0,lint:!0,placeholder:'{\n "Site_ID": "{{siteID}}"\n "bridge_Channel": "{{bridgeChannel}}"\n "zone_Number": "{{zoneNumber}}"\n}'},this.codeMirrorResponseSuccessOptions={theme:"default",mode:"javascript",indentWithTabs:!0,statementIndent:4,smartIndent:!0,lineNumbers:!0,lineWrapping:!1,foldGutter:!0,gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter","CodeMirror-lint-markers"],autoCloseBrackets:!0,matchBrackets:!0,lint:!0,readOnly:!0},this.codeMirrorResponseFailedOptions={theme:"default",mode:"text",indentWithTabs:!0,statementIndent:4,smartIndent:!0,lineNumbers:!0,lineWrapping:!0,foldGutter:!0,gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter","CodeMirror-lint-markers"],autoCloseBrackets:!0,matchBrackets:!0,lint:!0,readOnly:!0},this.site_id=null,this.deviceId=null,this.m_warning=new L.u,this.m_automation_rule_time_trigger=new L.u,this.m_automation_rule_time_condition=new L.u,this.isLoading=!1,this.isEditLoading=!1,this.isWCSModal=!1,this.isEdit=!1,this.isDone=!1,this.target="",this.siteDevices=[],this.siteBridges=[],this.siteCameras=[],this.siteZones=[],this.siteAudios=[],this.siteRelays=[],this.useRelays=[],this.totalRegisteredBridges=0,this.bridge=new Object,this.permissions={hasUpdatePerm:!1,hasTimeTriggerAndHttpRequestPer:!1},this.modalData={instruction:{}},this.siteData={ttsList:[],isLoading:!1,defaultTts:{}},this.err={name:"",username:"",password:"",auth:"",ip:"",port:"",url:"",test:""},this.steps=[{name:"Source Event",idx:0,description:"Select a situation as the source for your automated action."},{name:"Action",idx:1,description:"What action would you like to take?"},{name:"Optional Condition(s)",idx:2,description:"What conditions should be meet for the action to occur?"},{name:"Information",idx:3,description:""},{name:"Complete",idx:4,description:""}],this.curStep=this.steps[0],this.components={showTriggerRelay:!1,showCameraSelect:!1,showBridgeSelect:!1,showDaySelect:!1},this.triggers=[{type:"camera",name:"Camera Triggered"},{type:"time_triggered",name:"Time Triggered"},{type:"arming",name:" System State Changes"},{type:"armed_status",name:" System Status"},{type:"monitoring_portal",name:"Monitoring Portal"}],this.conditions=[{type:"time",name:"Time"},{type:"arming",name:"System Status"}],this.actions=[{type:"talkdown",name:"Talkdown"},{type:"record-video",name:"Record Video (20s)"},{type:"playback",name:"2 Minute Pre-Recording"},{type:"relay",name:"Relay"},{type:"http-request",name:"HTTP Request"}],this.tmpConditionList=[],this.tmpActionList=[],this.zoneCtrl=new P.NI(""),this.allCamera={name:"All Cameras",label:"All Cameras",device_id:-1},this.allBridge={name:"Any Bridge",label:"Any Bridge",device_id:-1},this.allZones=[],this.daysOfWeek=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],this.hours=Array.from({length:24},(g,p)=>p<10?"0"+p:p+""),this.minutes=Array.from({length:60},(g,p)=>p<10?"0"+p:p+""),this.AMPM=["AM","PM"],this.repeats=[1,2,3,4,5],this.allSpeakers={name:"All Speakers",id:-1},this.addMenuData={isShow:!1},this.TTdaysOfWeek=[{name:"Sunday",label:"S",index:0,times:[]},{name:"Monday",label:"M",index:1,times:[]},{name:"Tuesday",label:"T",index:2,times:[]},{name:"Wednesday",label:"W",index:3,times:[]},{name:"Thursday",label:"T",index:4,times:[]},{name:"Friday",label:"F",index:5,times:[]},{name:"Saturday",label:"S",index:6,times:[]}],this.TTtimeActiveIndex=null,this.httpBobyCaption="Zone number, Site ID and Bridge Channel can be dynamically added and sent with URL query, body and header.\n You can use mustache parentheses to contain variables.\n e.g) {{zoneNumber}} {{siteID}} {{bridgeChannel}}",this.TCdaysOfWeek=[{name:"Sunday",label:"S",index:0,times:[],data:{startHourArr:[],startMinutesArr:[],endHourArr:[],endMinutesArr:[],overlapLength:[]}},{name:"Monday",label:"M",index:1,times:[],data:{startHourArr:[],startMinutesArr:[],endHourArr:[],endMinutesArr:[],overlapLength:[]}},{name:"Tuesday",label:"T",index:2,times:[],data:{startHourArr:[],startMinutesArr:[],endHourArr:[],endMinutesArr:[],overlapLength:[]}},{name:"Wednesday",label:"W",index:3,times:[],data:{startHourArr:[],startMinutesArr:[],endHourArr:[],endMinutesArr:[],overlapLength:[]}},{name:"Thursday",label:"T",index:4,times:[],data:{startHourArr:[],startMinutesArr:[],endHourArr:[],endMinutesArr:[],overlapLength:[]}},{name:"Friday",label:"F",index:5,times:[],data:{startHourArr:[],startMinutesArr:[],endHourArr:[],endMinutesArr:[],overlapLength:[]}},{name:"Saturday",label:"S",index:6,times:[],data:{startHourArr:[],startMinutesArr:[],endHourArr:[],endMinutesArr:[],overlapLength:[]}}],this.newAutomationRule=new gt(this.steps),this.filteredZones=this.zoneCtrl.valueChanges.pipe((0,et.O)(null),(0,nt.U)(g=>g?this._filter(g):this.allZones.slice()))}ngOnInit(){this.usersService.getMe().subscribe(e=>{this.me=e})}ngOnChanges(e){e.active&&this.active&&(this.initData(),this.modal.data.automationRule?(this.isEditLoading=!0,this.isEdit=!0,this.steps=[{name:"Source Event",idx:0,description:"Select a situation as the source for your automated action."},{name:"Action",idx:1,description:"What action would you like to take?"},{name:"Optional Condition(s)",idx:2,description:"Are there any conditions for the action to occur?"},{name:"Information",idx:3,description:""}]):(this.newAutomationRule=new gt(this.steps),this.newAutomationRule.armingSource=this.site.arming_source))}onGlobalClick(e){this.triggerCameraSelect&&(this.triggerCameraSelect.nativeElement.contains(e.target)||(this.components.showCameraSelect=!1)),this.triggerBridgeSelect&&(this.triggerBridgeSelect.nativeElement.contains(e.target)||(this.components.showBridgeSelect=!1)),this.relayTriggerSelect&&(this.relayTriggerSelect.nativeElement.contains(e.target)||(this.components.showTriggerRelay=!1)),this.daySelects&&this.daySelects.toArray().forEach(i=>{this.newAutomationRule.conditions.forEach((a,c)=>{"condition-"+c==i.nativeElement.id+""&&(i.nativeElement.contains(e.target)||(a.isShowMenu=!1))})}),this.conditionBridgeSelects&&this.daySelects.toArray().forEach(i=>{this.newAutomationRule.conditions.forEach((a,c)=>{"condition-"+c==i.nativeElement.id+""&&(i.nativeElement.contains(e.target)||(a.isShowMenu=!1))})}),this.cameraSelects&&this.cameraSelects.toArray().forEach(i=>{this.newAutomationRule.actions.forEach((a,c)=>{"action-"+c==i.nativeElement.id+""&&(i.nativeElement.contains(e.target)||(a.isShowMenu=!1))})}),this.talkdownActionSelects&&this.talkdownActionSelects.toArray().forEach(i=>{this.newAutomationRule.actions.forEach((a,c)=>{"action-talkdown-"+c==i.nativeElement.id+""&&(i.nativeElement.contains(e.target)||(a.isShowRelayStateSelect=!1))})}),this.talkdownActionSpeakerSelects&&this.talkdownActionSpeakerSelects.toArray().forEach(i=>{this.newAutomationRule.actions.forEach((a,c)=>{"action-speaker-"+c==i.nativeElement.id+""&&(i.nativeElement.contains(e.target)||(a.isShowSpeakerMenu=!1))})}),this.relayActionSelects&&this.relayActionSelects.toArray().forEach(i=>{this.newAutomationRule.actions.forEach((a,c)=>{"action-relay-"+c==i.nativeElement.id+""&&(i.nativeElement.contains(e.target)||(a.isShowRelaySelect=!1))})}),this.relayActionStateSelects&&this.relayActionStateSelects.toArray().forEach(i=>{this.newAutomationRule.actions.forEach((a,c)=>{"action-relay-state-"+c==i.nativeElement.id+""&&(i.nativeElement.contains(e.target)||(a.isShowRelayStateSelect=!1))})})}closeModal(e){setTimeout(()=>{this.onClose.next(!(!this.isEdit&&!this.isDone)||e)},300),this.modal.close()}initData(){this.initModalData(),this.initAutomationRuleData(),this.initSiteData(),this.fetchSiteDevices(!0)}initErr(){this.err={name:"",username:"",password:"",auth:"",ip:"",port:"",url:"",test:""}}initModalData(){var e,n,i;this.deviceId=null,this.setMyDealer(),this.initErr(),this.site_id=this.site.site_id,this.curStep=this.steps[0],this.isLoading=!1,this.isWCSModal=2===this.me.type,this.modalData={instruction:{password:!0,mount:!0}},this.isEdit=!1,this.isDone=!1,this.steps=[{name:"Source Event",idx:0,description:"The following event will trigger an automated action."},{name:"Action",idx:1,description:"What action would you like to take?"},{name:"Optional Condition(s)",idx:2,description:"What conditions should be meet for the action to occur?"},{name:"Information",idx:3,description:""},{name:"Complete",idx:4,description:""}],this.permissions.hasTimeTriggerAndHttpRequestPer=null===(i=null===(n=null===(e=this.modal)||void 0===e?void 0:e.data)||void 0===n?void 0:n.permissions)||void 0===i?void 0:i.hasTimeTriggerAndHttpRequestPer}initAutomationRuleData(){this.newAutomationRule=new gt(this.steps),this.newAutomationRule.armingSource=this.site.arming_source,this.checkUpdatePermission()}initSiteData(){this.siteDevices=[],this.siteBridges=[],this.siteCameras=[],this.siteZones=[],this.siteAudios=[],this.siteRelays=[],this.useRelays=[],this.siteData={ttsList:[],isLoading:!1,defaultTts:{}},this.totalRegisteredBridges=0,this._automationRule={}}logAllData(){}setData(e){const n=e.automationRule,i=e.target,a=this.newAutomationRule;if(console.log(n),a.name=n.name||"",a.note=n.note||"",a.enabled=n.enabled,a.armingSource=n.arming_source,this.setTrigger(n.trigger),this.setCondition(n.condition),this.setAction(n.action),this._automationRule=H.cloneDeep(this.newAutomationRule),this.target=i,!i)return;console.log("target",i);let c=0;"trigger"===i&&(c=0),"action"===i&&(c=1),"condition"===i&&(c=2),"info"===i&&(c=3);const l=this.steps.find(s=>s.idx===c);l&&(this.goToStep(l),this.isEditLoading=!1)}_filter(e){const n=e.toLowerCase();return this.allZones.filter(i=>i.toLowerCase().includes(n))}checkUpdatePermission(){let l=!1;this.me.dealer_id===this.site.dealer_id&&(l=!0),2===this.me.type&&3===this.site.dealer_type&&(l=!0),this.permissions.hasUpdatePerm=l}setMyDealer(){this.myDealer={external_dealer_id_with_company_name:this.me.company_name,company_name:this.me.company_name,dealer_id:this.me.dealer_id,isMyDealer:!0}}toggleAddMenu(){this.addMenuData.isShow=!this.addMenuData.isShow}toggleMenu(e){e.isShowMenu=!e.isShowMenu}initAddMenu(){this.addMenuData={isShow:!1}}setTTSMorePosition(e,n){const i=document.documentElement;let a=document.getElementById("tts-"+n.id),c=document.getElementById("tts-more-"+n.id),l=a.getBoundingClientRect(),s=c.getBoundingClientRect();const g=l.top-s.height-12;c.style.right=i.clientWidth-l.right-10+"px",c.style.top=g+"px"}closeInstruction(e){}validPassStep(e){return this.curStep.idx===e.idx||2===this.newAutomationRule.stepStatus[e.idx]||this.isEdit}goToStep(e){this.curStep.idx===e.idx&&!this.isDone||(this.curStep=e,this.newAutomationRule.updateCurStep(e.idx))}goToNextStep(){const e=this.curStep;this.newAutomationRule.updateStepStatus(e.idx,2);const n=this.steps.filter(i=>i.idx===e.idx+1)[0];n&&this.goToStep(n)}checkStep(){3===this.curStep.idx?this.isEdit||this.createAutomationRule():this.goToNextStep()}skipConditionStep(){3===this.curStep.idx?this.isEdit||this.createAutomationRule():this.goToNextStep()}goToPrevStep(){const e=this.curStep,n=this.steps.filter(i=>i.idx===e.idx-1)[0];n&&this.goToStep(n)}fetchSiteDevices(e){const n=this.me.dealer_id,i=this.site.site_id;this.isLoading=!0,this.sitesService.getSiteDevices(n,i).subscribe(a=>{if(!a)return void(this.isLoading=!1);this.siteDevices=a,this.siteBridges=a.filter(s=>11===s.type),this.siteCameras=a.filter(s=>12===s.type);const c=[];this.siteCameras.forEach(s=>{var d,g;(null!==(g=null===(d=s.alarm_zone)||void 0===d?void 0:d.split(","))&&void 0!==g?g:[]).forEach(b=>c.push(b));const _=this.siteBridges.find(b=>b.device_id===s.group_id),m=`(${_.virtual_zone}-CH${s.group_channel+1})`,C=`${_.name} (${_.virtual_zone})`;s.label=`${_.name||"No Name"} (${_.virtual_zone} - CH${s.group_channel+1})`,s.shortLabel=m,s.bridgeLabel=C});const l=[];this.siteBridges.forEach(s=>{s.relays.forEach(d=>{l.push(d)})}),this.siteZones=c,this.allZones=c,this.siteRelays=l,this.totalRegisteredBridges=this.siteBridges.length,this.sitesService.getTTSList(n,i).subscribe(s=>{this.siteData.ttsList=s,this.sitesService.getAllAudioDevices(n,i).subscribe(d=>{d.forEach(g=>{g.isAudioDevice=1}),this.siteAudios=d,this.modal.data.automationRule&&this.setData(this.modal.data)})},s=>{}),this.isLoading=!1},a=>this.isLoading=!1)}fetchSiteTTSList(){this.sitesService.getTTSList(this.me.dealer_id,this.site.site_id).subscribe(a=>{this.siteData.ttsList=a},a=>{})}fetchSiteAudios(){this.sitesService.getAllAudioDevices(this.me.dealer_id,this.site.site_id).subscribe(a=>{a.forEach(c=>{c.isAudioDevice=1}),this.siteAudios=a})}validateTriggerInfo(){let e=!0;const n=this.newAutomationRule.trigger;if("none"===n.type&&(e=!1),"camera"===n.type&&(n.cameras.length||(e=!1)),"time_triggered"===n.type){const i=n.TTdaysOfWeek;for(let a=0;a<i.length;a++){if(i[a].times.length){e=!0;break}e=!1}}return e}validateActionInfo(){let e=!0;return this.newAutomationRule.actions.forEach(i=>{"none"===i.type&&(e=!1),"talkdown"===i.type&&(i.tts||(e=!1),i.audios.length||(e=!1)),"relay"===i.type&&(i.relayId||(e=!1)),"record-video"===i.type&&(i.cameras.length||(e=!1)),"playback"===i.type&&(i.cameras.length||(e=!1)),"http-request"===i.type&&(i.url||(e=!1),i.isValidHttpUrl||(e=!1),1!==i.authType&&2!==i.authType||i.username&&i.password||(e=!1),3===i.authType&&(!i.apiKey||!i.apiVal)&&(e=!1),4===i.authType&&(i.bearerToken||(e=!1)),i.isBodyMaxBytes&&(e=!1),i.isHeaderMaxBytes&&(e=!1))}),e}validateAutomationRuleInfo(){let e=!0;return 1===this.curStep.idx&&(e=this.validateTriggerInfo()),2===this.curStep.idx&&(e=this.validateActionInfo()),e}checkNameValidate(){let e=!!this.newAutomationRule.name;return this.err.name="",e||(this.err.name="name is required."),!!this.newAutomationRule.name}checkNote(){let e=this.newAutomationRule.note||"";e.length>500&&(e=e.slice(0,500)),this.newAutomationRule.note=e}setTrigger(e){const i=Object.keys(e).find(l=>null!==e[l]),a=e[i];let c=new dt;if("camera"===i){let s=Array.from(a.camera_ids||[],d=>this.siteCameras.find(g=>g.device_id===d));a.is_all_camera&&(s=[this.allCamera]),c=new xt({cameras:s})}if("arming"===i||"enter"===i||"exit"===i||"alert"===i){let s=Array.from(a.bridge_ids||[],d=>this.siteBridges.find(g=>g.device_id===d));a.is_all_bridge&&(s=[this.allBridge]),"arming"===i?c=0===a.is_status?new V({armingState:a.state?"armed":"disarmed",bridges:s,isStatus:a.is_status}):new $({armingState:a.state?"armed":"disarmed",bridges:s,isStatus:a.is_status}):"enter"===i?c=0===a.is_while?new V({armingState:"enter",bridges:s,isStatus:a.is_while}):new $({armingState:"enter",bridges:s,isStatus:a.is_while}):"exit"===i?c=0===a.is_while?new V({armingState:"exit",bridges:s,isStatus:a.is_while}):new $({armingState:"exit",bridges:s,isStatus:a.is_while}):"alert"===i&&(c=0===a.is_while?new V({armingState:"alert",bridges:s,isStatus:a.is_while}):new $({armingState:"alert",bridges:s,isStatus:a.is_while}))}if("monitoring_portal"===i){let l="";l=0===a.is_status?"opened":"while_open",c=new Pt({state:l,isStatus:a.is_status})}if("times"===i){let l=null==a?void 0:a.daysOfWeek,s=H.cloneDeep(this.TTdaysOfWeek);for(let d=0;d<l.length;d++){const g=l[d];s[g.index].times=null==g?void 0:g.times}c=new Ot({TTdaysOfWeek:s})}this.newAutomationRule.trigger=c}selectTrigger(e){const n=e||this.newAutomationRule.trigger.type,i=this.newAutomationRule.armingSource;let a=new dt;if("camera"===n&&(a=new xt({cameras:[this.allCamera]})),"time_triggered"===n){let c=H.cloneDeep(this.TTdaysOfWeek);a=new Ot({TTdaysOfWeek:c})}if("arming"===n){const c=this.siteBridges[0];let l=[];1===i?l=[c]:2===i&&(l=[this.allBridge]),console.log("bridges",l),a=new V({armingState:"armed",bridges:l,isStatus:0})}if("armed_status"===n){const c=this.siteBridges[0];let l=[];1===i?l=[c]:2===i&&(l=[this.allBridge]),a=new $({armingState:"armed",bridges:l,isStatus:1})}if("monitoring_portal"===n&&(a=new Pt({state:"opened",isStatus:0})),"relay"===n&&(a=new te({relay:this.siteRelays[0],triggerState:"latch"})),this.newAutomationRule.trigger=a,console.log("trigger",a),this.newAutomationRule.actions.forEach(c=>{"relay"===c.type&&(c.mode="armed_status"===n?"latch":"momentary")}),"arming"===a.type||"armed_status"===a.type||"monitoring_portal"===a.type&&1===a.isStatus||"monitoring_portal"===a.type&&0===a.isStatus&&2===this.newAutomationRule.armingSource){const c=this.newAutomationRule.conditions,l=c.findIndex(s=>"arming"===s.type);-1!==l&&c.splice(l,1)}}validateTriggers(e){let n=!0;return this.permissions.hasTimeTriggerAndHttpRequestPer||"time_triggered"===e&&(n=!1),n}toggleTriggerCameraSelect(){this.components.showCameraSelect=!this.components.showCameraSelect}selectTriggerCamera(e){const n=this.newAutomationRule.trigger,i=n.cameras.indexOf(e),a=n.cameras.indexOf(this.allCamera);"All Cameras"===e.label&&-1===e.device_id?-1!==i?this.removeTriggerCamera(e):(n.cameras=[this.allCamera],n.isAllCamera=1):(-1!==a&&n.cameras.splice(a,1),-1!==i?this.removeTriggerCamera(e):n.cameras.push(e)),n.cameras.filter(l=>this.siteCameras.includes(l)).length===this.siteCameras.length||-1===e.device_id?(n.cameras=[this.allCamera],n.isAllCamera=1):n.isAllCamera=0}removeTriggerCamera(e){var n;const i=this.newAutomationRule.trigger,a=null===(n=null==i?void 0:i.cameras)||void 0===n?void 0:n.indexOf(e);a>=0&&i.cameras.splice(a,1)}toggleTriggerBridgeSelect(){this.components.showBridgeSelect=!this.components.showBridgeSelect}selectTriggerBridge(e){const n=this.newAutomationRule.trigger,i=n.bridges.indexOf(e),a=n.bridges.indexOf(this.allBridge);"Any Bridge"===e.label&&-1===e.device_id?(console.log("bridgeIdx",i),-1!==i?this.removeTriggerBridge(e):(console.log("set all bridge"),n.bridges=[this.allBridge],n.isAllBridge=1)):(-1!==a&&n.bridges.splice(a,1),-1!==i?this.removeTriggerBridge(e):n.bridges.push(e)),n.bridges.filter(l=>this.siteBridges.includes(l)).length===this.siteBridges.length||-1===e.device_id?(n.bridges=[this.allBridge],n.isAllBridge=1):n.isAllBridge=0}removeTriggerBridge(e){const n=this.newAutomationRule.trigger,i=n.bridges.indexOf(e);i>=0&&n.bridges.splice(i,1)}selectTriggerRelay(e){this.newAutomationRule.trigger.relay=e,this.components.showTriggerRelay=!1}selectMonitoringPortalState(e){console.log("selectMonitoringPortalState");const n=this.newAutomationRule.trigger.state;let i=0;if("opened"===n&&(i=0),"while_open"===n&&(i=1),this.newAutomationRule.trigger.isStatus=i,console.log(i),this.newAutomationRule.actions.forEach(a=>{"relay"===a.type&&(0===i&&(a.mode="momentary"),1===i&&(a.mode="latch"))}),1===i){const a=this.newAutomationRule.conditions,c=a.findIndex(l=>"arming"===l.type);a.splice(c,1)}}stateToLabel(e){let n="";return"opened"===e&&(n="Opened"),"while_open"===e&&(n="While Open"),n}openTimeTriggerAddModal(e){this.m_automation_rule_time_trigger.data.dayIndex=e.index,this.m_automation_rule_time_trigger.open()}openTimeTriggerEditModal(e,n,i){var a,c,l;const s=null!==(a=null==e?void 0:e.split(":"))&&void 0!==a?a:[];this.m_automation_rule_time_trigger.data.isEditMode=!0,this.m_automation_rule_time_trigger.data.dayIndex=i.index,this.m_automation_rule_time_trigger.data.activeTimeIndex=n,this.m_automation_rule_time_trigger.data.selHour=null!==(c=s[0])&&void 0!==c?c:"00",this.m_automation_rule_time_trigger.data.selMinutes=null!==(l=s[1])&&void 0!==l?l:"00"}removeTimeTriggerTime(e,n,i){var a,c;const l=this.newAutomationRule.trigger;null===(c=null===(a=null==l?void 0:l.TTdaysOfWeek[i.index])||void 0===a?void 0:a.times)||void 0===c||c.splice(n,1)}emitTimeTriggerTime(e){const n=this.newAutomationRule.trigger,i=(null==e?void 0:e.setHour)+":"+(null==e?void 0:e.setMinutes);if("edit"===e.mode)n.TTdaysOfWeek[e.dayIndex].times[e.activeTimeIndex]=i;else if(e.isEnabledAddAllDays)for(let a=0;a<n.TTdaysOfWeek.length;a++){const c=n.TTdaysOfWeek[a];c.times.indexOf(i)<0&&c.times.push(i)}else n.TTdaysOfWeek[e.dayIndex].times.indexOf(i)<0&&n.TTdaysOfWeek[e.dayIndex].times.push(i);null==n||n.TTdaysOfWeek[e.dayIndex].times.sort()}validateArmingCondition(e,n){let i=!0;const a=this.newAutomationRule.armingSource,c=this.newAutomationRule.trigger;return"arming"===n.type?(("arming"===c.type||"armed_status"===c.type)&&(i=!1),"monitoring_portal"===c.type&&1===c.isStatus&&2!==a&&(i=!1),"monitoring_portal"===c.type&&1===c.isStatus&&(i=!1),"monitoring_portal"===c.type&&2===a&&(i=!1),this.newAutomationRule.conditions.find(l=>"arming"===l.type)&&"arming"!==e.type&&(i=!1)):"time"===n.type&&("time_triggered"===c.type&&(i=!1),this.newAutomationRule.conditions.find(l=>"time"===l.type)&&"time"!==e.type&&(i=!1)),i}setCondition(e){const n=[];if(e.arming){const a=new j({armingState:e.arming.state?"armed":"disarmed",aiOperator:e.ai_operator});n.push(a)}if(e.enter){const i=new j({armingState:"enter",aiOperator:e.ai_operator});n.push(i)}if(e.exit){const i=new j({armingState:"exit",aiOperator:e.ai_operator});n.push(i)}if(e.alert){const i=new j({armingState:"alert",aiOperator:e.ai_operator});n.push(i)}if(e.times){const i=e.times,a=new vt({TCdaysOfWeek:H.cloneDeep(this.TCdaysOfWeek)}),c=400,l=a.TCdaysOfWeek;for(let s=0;s<i.length;s++){const d=i[s];if(!d.days_of_week||!d.startTime||!d.endTime)continue;const g=d.days_of_week.split(",");let p=d.startTime.split(":"),_=d.endTime.split(":");if(!(p[0]&&p[1]&&_[0]&&_[1]))continue;let f=parseInt(p[0]),m=parseInt(p[1]),C=parseInt(_[0]),b=parseInt(_[1]);if(l)for(let O=0;O<l.length;O++){const u=l[O],x=u.index+1+"";for(let M=0;M<g.length;M++){const k=g[M];if("0"===k||k===x){let Z=c*((3600*f+60*m)/86400),z=c*((3600*C+60*b)/86400);Z||(Z=0),z||(z=0);let J=z-Z;u.times.push({startTime:d.startTime,endTime:d.endTime,selStartHour:f<10?"0"+f:f+"",selStartMinutes:m<10?"0"+m:m+"",selEndHour:C<10?"0"+C:C+"",selEndMinutes:b<10?"0"+b:b+"",left:Z+"px",width:J+"px",widthNum:J})}}}}n.push(a)}this.newAutomationRule.conditions=n}selectCondition(e){var n,i,a,c,l,s;let g=this.newAutomationRule.trigger;const p=this.newAutomationRule.conditions[e].type;let _=new tt;if("time"===p&&(_=new vt({TCdaysOfWeek:H.cloneDeep(this.TCdaysOfWeek)})),"arming"===p){let f=!1;const m=null===(a=null===(i=null===(n=this.modal)||void 0===n?void 0:n.data)||void 0===i?void 0:i.configs)||void 0===a?void 0:a.isAiOperatorEnabledSiteDealer,C=null===(s=null===(l=null===(c=this.modal)||void 0===c?void 0:c.data)||void 0===l?void 0:l.configs)||void 0===s?void 0:s.isAllfwSupportExitEntrySystemAiOperator,b="camera"===g.type;m&&C&&b&&(f=!0),_=new j({armingState:"armed",aiOperator:f})}this.newAutomationRule.conditions[e]=_}addCondition(){const e=new tt;this.newAutomationRule.conditions.push(e)}deleteCondition(e){this.newAutomationRule.conditions.splice(e,1)}changeConditionArmingState(e){e.aiOperator="exit"!==e.armingState&&"disarmed"!==e.armingState}toggleConditionBridgeSelect(e){let n=this.newAutomationRule.conditions[e];n.isShowMenu=!n.isShowMenu}selectConditionBridge(e,n){let i=this.newAutomationRule.conditions[e];const a=i.bridges.indexOf(n),c=i.bridges.indexOf(this.allBridge);n===this.allBridge?-1!==a?this.removeConditionBridge(e,n):(i.bridges=[this.allBridge],i.isAllBridge=1):(-1!==c&&i.bridges.splice(c,1),-1!==c?this.removeConditionBridge(e,n):i.bridges.push(n)),i.bridges.filter(s=>this.siteBridges.includes(s)).length===this.siteBridges.length||-1===n.device_id?(i.bridges=[this.allBridge],i.isAllBridge=1):i.isAllBridge=0}removeConditionBridge(e,n){let i=this.newAutomationRule.conditions[e];const a=i.bridges.indexOf(n);a>=0&&i.bridges.splice(a,1)}openTimeConditionAddModal(e,n){this.m_automation_rule_time_condition.data.dayIndex=e.index,this.m_automation_rule_time_condition.data.conditionIndex=n,this.m_automation_rule_time_condition.open()}openTimeConditionEditModal(e,n,i,a){this.m_automation_rule_time_condition.data.conditionIndex=a,this.m_automation_rule_time_condition.data.dayIndex=i.index,this.m_automation_rule_time_condition.data.activeTimeIndex=n,this.m_automation_rule_time_condition.data.isEditMode=!0,this.m_automation_rule_time_condition.data.time=e}emitTimeConditionTime(e){if("remove"===e.mode)return this.removeTCTime(e);const n=this.newAutomationRule.conditions[e.conditionIndex];if(!n)return;const i=400;let a=n.TCdaysOfWeek[e.dayIndex].times,c=n.TCdaysOfWeek[e.dayIndex].data;const l=parseInt(e.selStartHour+e.selStartMinutes),s=parseInt(e.selEndHour+e.selEndMinutes);let d=e.selEndHour,g=e.selEndMinutes,p=e.selStartHour,_=e.selStartMinutes;if(e.isEnabledAddAllDays){let f=n.TCdaysOfWeek;for(let m=0;m<f.length;m++)if(l>=s){if(0===m&&(e.selStartHour="00",e.selStartMinutes="00",e.selEndHour=d,e.selEndMinutes=g,a=f[m].times,c=f[m].data,this.addTimeInDayBar(e,c,a,i)),e.selStartHour=p,e.selStartMinutes=_,e.selEndHour="24",e.selEndMinutes="00",a=f[m].times,c=f[m].data,this.addTimeInDayBar(e,c,a,i),m===f.length-1)continue;e.selStartHour="00",e.selStartMinutes="00",e.selEndHour=d,e.selEndMinutes=g,a=f[m+1].times,c=f[m+1].data,this.addTimeInDayBar(e,c,a,i)}else a=f[m].times,c=f[m].data,this.addTimeInDayBar(e,c,a,i)}else l>=s?(e.selStartHour=p,e.selStartMinutes=_,e.selEndHour="24",e.selEndMinutes="00",this.addTimeInDayBar(e,c,a,i),e.selStartHour="00",e.selStartMinutes="00",e.selEndHour=d,e.selEndMinutes=g,a=n.TCdaysOfWeek[e.dayIndex+1].times,c=n.TCdaysOfWeek[e.dayIndex+1].data,this.addTimeInDayBar(e,c,a,i)):this.addTimeInDayBar(e,c,a,i)}addTimeInDayBar(e,n,i,a){if("edit"===e.mode)for(let u=0;u<i.length;u++)if(e.activeTimeIndex===u){i.splice(u,1);break}for(let u=0;u<i.length;u++){const x=i[u];let M=parseInt(x.selStartHour+x.selStartMinutes),k=parseInt(x.selEndHour+x.selEndMinutes),A=parseInt(e.selStartHour+e.selStartMinutes),y=parseInt(e.selEndHour+e.selEndMinutes);(M>A?M:A)<=(k<y?k:y)&&(n.startHourArr.push(parseInt(x.selStartHour)),n.startMinutesArr.push(parseInt(x.selStartMinutes)),n.endHourArr.push(parseInt(x.selEndHour)),n.endMinutesArr.push(parseInt(x.selEndMinutes)),n.overlapLength.push(u))}if(n.overlapLength)for(let u=0;u<n.overlapLength.length;u++)i.splice(n.overlapLength[u]);n.startHourArr.push(parseInt(e.selStartHour)),n.startMinutesArr.push(parseInt(e.selStartMinutes)),n.endHourArr.push(parseInt(e.selEndHour)),n.endMinutesArr.push(parseInt(e.selEndMinutes));let c=Math.min(...n.startHourArr),l=Math.min(...n.startMinutesArr),s=Math.max(...n.endHourArr),d=Math.max(...n.endMinutesArr),m=a*((3600*c+60*l)/86400),C=a*((3600*s+60*d)/86400);m||(m=0),C||(C=0);let b=C-m;i.push({startTime:`${c<10?"0"+c:c}:${l<10?"0"+l:l}`,endTime:`${s<10?"0"+s:s}:${d<10?"0"+d:d}`,selStartHour:c<10?"0"+c:c+"",selStartMinutes:l<10?"0"+l:l+"",selEndHour:s<10?"0"+s:s+"",selEndMinutes:d<10?"0"+d:d+"",left:m+"px",width:b+"px",widthNum:b}),n.startHourArr.splice(0),n.startMinutesArr.splice(0),n.endHourArr.splice(0),n.endMinutesArr.splice(0),n.overlapLength.splice(0)}removeTCTime(e){const n=this.newAutomationRule.conditions[e.conditionIndex];if(!n)return;const i=n.TCdaysOfWeek[e.dayIndex].times;!i||i.splice(e.activeTimeIndex,1)}removeTCTimes(e,n){const i=this.newAutomationRule.conditions[e];if(!i)return;const a=i.TCdaysOfWeek[n].times;!a||a.splice(0)}validateConditionInfo(){let e=!1,n=[],i=!1;const a=this.newAutomationRule.conditions;if(a)return a.forEach(c=>{if("arming"===c.type&&n.push(!0),"time"===c.type){const l=c.TCdaysOfWeek;if(!l)return;for(let s=0;s<l.length;s++)if(l[s].times.length>0){i=!0;break}n.push(i)}}),e=!n.includes(!1),e}setAction(e){let n=[];e.records&&e.records.forEach(a=>{const c=a.camera_ids||[],l=this.siteCameras||[];let s=[];c.forEach(g=>{const p=l.find(_=>_.device_id===g);p&&s.push(p)});let d=new Tt({cameras:s,cameraIds:c,isPlayback:0});1===a.is_playback&&(d=new kt({cameras:s,cameraIds:c,isPlayback:1})),n.push(d)}),e.relays&&e.relays.forEach(a=>{let c=this.siteRelays.find(d=>d.id===a.device_do_id);const s=new At({relay:c,relayId:(null==c?void 0:c.id)||null,relayNormalState:c.manual_normal_label||c.default_normal_label,relayEnergizeState:c.manual_energized_label||c.default_normal_label,relayState:c.manual_normal_label||c.default_normal_label,relayStateIcon:c.normal_icon,relayTriggerState:"normal",momentaryDuration:a.duration,mode:a.operation_mode?"momentary":"latch"});console.log(s),n.push(s)}),e.talkdowns&&e.talkdowns.forEach(a=>{const c=a.speaker_ids||[],s=this.siteBridges||[];let d=[];(a.bridge_speaker_ids||[]).forEach(m=>{const C=s.find(b=>b.device_id===m);C&&d.push(C)});let g=Array.from(c,m=>this.siteAudios.find(C=>C.id===m));g=d.concat(g),console.log(g),a.is_all_speaker&&(g=[this.allSpeakers]);const p=this.siteData.ttsList.find(m=>m.id===a.tts_id),f=new wt({tts:p,ttsId:(null==p?void 0:p.id)||null,audios:g,repeat:a.playback_loop_count,interval:a.playback_loop_sleep});n.push(f)}),e.https&&e.https.forEach(a=>{var c,l,s,d,g;let p=null,_="",f=[],m=!1,C=null,b=JSON.parse(a.headers);if(Object.entries(b).forEach(([A,y])=>{var Z,z,J,E;if("Content-Type"===A&&(p=y),A===a.auth_header_key){if(1===a.auth_type){m=!0,y||(y="");let hc=y.split(" ")[1]+"",jt=null!==(Z=atob(hc).split(":"))&&void 0!==Z?Z:[];a.username=null!==(z=jt[0])&&void 0!==z?z:"",a.password=null!==(J=jt[1])&&void 0!==J?J:"",a.headerAuthKey=A,a.headerAuthVal=y}if(3===a.auth_type&&(m=!0,A===a.auth_header_key&&(C="header"),a.apiKey=A,a.apiVal=y,a.headerAuthKey=A,a.headerAuthVal=y),4===a.auth_type){m=!0,a.authKey=A,a.authVal=y,a.headerAuthKey=A,a.headerAuthVal=y,y||(y="");let F=y.split(" ");a.bearerToken=null!==(E=F[1])&&void 0!==E?E:""}}"Content-Type"===A&&"application/json"!==y&&"text/plain"!==y&&(p="custom",_=y),"Content-Type"!==A&&A!==a.auth_header_key&&f.push({key:A,value:y})}),3===a.auth_type&&!C){C="query",m=!1,a.auth_header_key||(a.auth_header_key="");let y=null!==(c=a.auth_header_key.split(" ")[1])&&void 0!==c?c:"";a.url||(a.url=""),a.url=a.url.replace(y,""),y=y.replace("?",""),y=y.replace("&","");let Z=y.split("=");a.apiKey=null!==(l=Z[0])&&void 0!==l?l:"",a.apiVal=null!==(s=Z[1])&&void 0!==s?s:""}let u=/https?:\/\//g.test(a.url);a.isValidHttpUrl=u,a.bodyBytes=a.body?new Blob([a.body]).size:0,a.isBodyMaxBytes=a.bodyBytes>=4e3,a.headerBytes=new Blob([a.headers]).size,a.isHeaderMaxBytes=a.headerBytes>=2e3;const k=new Zt({authType:null!==(d=a.auth_type)&&void 0!==d?d:1,url:a.url,contentType:p,contentTypeCustom:_,body:a.body,headers:b,headersCustom:f,method:null!==(g=a.method)&&void 0!==g?g:"GET",username:a.username,password:a.password,apiKey:a.apiKey,apiVal:a.apiVal,apiAddTo:null!=C?C:"header",bearerToken:a.bearerToken,authHeaderKey:a.auth_header_key,authKey:a.authKey,authVal:a.authVal,headerAuthKey:a.headerAuthKey,headerAuthVal:a.headerAuthVal,isShowHeaderAuth:m,isValidHttpUrl:a.isValidHttpUrl,isBodyMaxBytes:a.isBodyMaxBytes,isHeaderMaxBytes:a.isHeaderMaxBytes,bodyBytes:a.bodyBytes,headerBytes:a.headerBytes});n.push(k)}),this.newAutomationRule.actions=n}selectAction(e){const i=this.newAutomationRule.actions[e].type;let a=new yt;if("talkdown"===i){let c=this.siteAudios[0];const l=this.siteAudios,s=this.newAutomationRule.actions.filter(p=>"Talkdown"===p.name);c=s.length?l.filter(_=>!s.find(f=>-1!==f.audios.indexOf(_)))[0]:this.allSpeakers;const d=this.siteData.ttsList[0];a=new wt({tts:d,ttsId:(null==d?void 0:d.id)||null,audios:[c],repeat:1,interval:0})}if("relay"===i){let c=this.siteRelays[0]||{};const l=H.cloneDeep(this.siteRelays)||[],s=this.newAutomationRule.actions.filter(_=>"Relay"===_.name);s.length&&(c=l.filter(f=>!s.find(m=>m.relay.id===f.id))[0]||{});let g="momentary";const p=this.newAutomationRule.trigger;("armed_status"===p.type||"monitoring_portal"===p.type)&&(g=1===p.isStatus?"latch":"momentary"),a=new At({relay:c,relayId:(null==c?void 0:c.id)||null,relayNormalState:c.manual_normal_label||c.default_normal_label,relayEnergizeState:c.manual_energized_label||c.default_normal_label,relayState:c.manual_normal_label||c.default_normal_label,relayStateIcon:c.normal_icon,relayTriggerState:"normal",mode:g,momentaryDuration:60})}"record-video"===i&&(a=new Tt({cameras:[],cameraIds:[],isPlayback:0})),"playback"===i&&(a=new kt({cameras:[],cameraIds:[],isPlayback:1})),"http-request"===i&&(a=new Zt({method:"GET",contentType:"application/json",authType:1,apiAddTo:"header",headersCustom:[],headerAuthKey:"Authorization",headerAuthVal:"Basic",isShowHeaderAuth:!0})),this.newAutomationRule.actions[e]=a}addAction(){const e=new yt;this.newAutomationRule.actions.push(e)}deleteAction(e){this.newAutomationRule.actions.splice(e,1)}validateActions(e,n){let i=!0;const a=this.newAutomationRule.trigger,c=this.newAutomationRule.actions[n],l=this.newAutomationRule.actions.filter((s,d)=>d!==n&&s.type===e);if(l.length&&("record-video"===e&&"record-video"!==c.type&&l.find(s=>"record-video"===s.type)&&(i=!1),"playback"===e&&"playback"!==c.type&&l.find(s=>"playback"===s.type)&&(i=!1),"talkdown"===e&&"talkdown"!==c.type)){let s=0;l.forEach(d=>{s+=d.audios.length}),this.siteAudios.length===s&&(i=!1),l.find(d=>d.isAllSpeaker)&&(i=!1)}return"armed_status"===a.type&&"relay"!==e&&(i=!1),"monitoring_portal"===a.type&&a.isStatus&&"relay"!==e&&(i=!1),this.permissions.hasTimeTriggerAndHttpRequestPer||"http-request"===e&&(i=!1),i}validateRelays(e,n){let i=!0;return i=!this.newAutomationRule.actions.filter((l,s)=>s!==e&&"relay"===l.type).find((l,s)=>l.relay===n),i}toggleCameraSelect(e){let n=this.newAutomationRule.actions[e];n.isShowMenu=!n.isShowMenu}selectCamera(e,n){let i=this.newAutomationRule.actions[e];-1!==i.cameras.findIndex(c=>c.device_id===n.device_id)?this.removeCamera(e,n):(i.cameras.push(n),i.cameraIds.push(n.device_id))}removeCamera(e,n){let i=this.newAutomationRule.actions[e];const a=i.cameras.findIndex(c=>c.device_id===n.device_id);a>=0&&(i.cameras.splice(a,1),i.cameraIds.splice(a,1))}selectActionRelay(e,n){e.relay=n,e.relayNormalState=n.manual_normal_label||n.default_normal_label,e.relayEnergizeState=n.manual_energized_label||n.default_energized_label,e.relayState=n.manual_normal_label||n.default_normal_label,e.relayStateIcon=n.normal_icon,e.relayTriggerState="normal",e.relayId=n.id,this.selectActionRelayState(e,e.relayTriggerState),e.isShowRelaySelect=!1}selectActionRelayState(e,n){e.triggerState=n,"normal"===n&&(e.relayState=e.relay.manual_normal_label||e.relay.default_normal_label,e.relayStateIcon=e.relay.normal_icon),"energize"===n&&(e.relayState=e.relay.manual_energized_label||e.relay.default_energized_label,e.relayStateIcon=e.relay.energized_icon),e.isShowRelayStateSelect=!1}changeMomentaryDuration(e){let n=e.minuteDuration,i=e.secondDuration;n<0?n=0:n>=60&&(n=60),i<0?i=0:i>=59&&(i=59);let a=60*n+i;a<1?(a=1,n=0,i=1):a>=3600&&(a=3600,n=60,i=0),setTimeout(()=>{e.minuteDuration=n,e.secondDuration=i}),e.momentaryDuration=a}selectActionTTS(e,n){e.tts=n,e.ttsId=n.id,e.isShowMenu=!1}toggleSpeakerSelect(e){let n=this.newAutomationRule.actions[e];n.isShowSpeakerMenu=!n.isShowSpeakerMenu}selectSpeaker(e,n){let i=this.newAutomationRule.actions[e];const a=i.audios.indexOf(n),c=this.allSpeakers;if(n===c)-1!==a?this.removeSpeaker(e,n):(i.audios=[c],i.isAllSpeaker=1);else{const l=i.audios.indexOf(c);-1!==l&&i.audios.splice(l,1),-1!==a?this.removeSpeaker(e,n):i.audios.push(n)}i.audios.length===this.siteAudios.length+this.siteBridges.length||-1===n.id?(i.audios=[c],i.isAllSpeaker=1):i.isAllSpeaker=0}removeSpeaker(e,n){let i=this.newAutomationRule.actions[e];const a=i.audios.indexOf(n);a>=0&&i.audios.splice(a,1)}httpRequestAdvancedToggle(e){let n=this.newAutomationRule.actions[e];n.isShowAdvanced=!n.isShowAdvanced}addHttpRequestHeader(e){let n=this.newAutomationRule.actions[e];n.headersCustom||(n.headersCustom=[]),n.headersCustom.push({key:"",value:""})}removeHttpRequestHeader(e,n){let i=this.newAutomationRule.actions[e];i.headersCustom||(i.headersCustom=[]),i.headersCustom.splice(n,1)}removeInvalidChar(e){let n="";for(let i=0;i<e.length;i++){const a=e.charCodeAt(i);a>=0&&a<=31||127===a||a>=128&&a<=159||(n+=e.charAt(i))}return n}httpDataChanged(e,n){var i,a,c;if("url"===n){e.url=e.url.trim();let s=/https?:\/\//g.test(e.url);e.url=this.removeInvalidChar(e.url),e.isValidHttpUrl=s}if("auth"===n)if(0===e.authType)e.isShowHeaderAuth=!1;else if(1===e.authType){e.isShowHeaderAuth=!0;let s=btoa(`${null!==(i=e.username)&&void 0!==i?i:""}:${null!==(a=e.password)&&void 0!==a?a:""}`);e.headerAuthKey="Authorization",e.headerAuthVal=`Basic ${s}`}else 2===e.authType?e.isShowHeaderAuth=!1:3===e.authType?"header"===e.apiAddTo?(e.isShowHeaderAuth=!0,e.headerAuthKey=null==e?void 0:e.apiKey,e.headerAuthVal=null==e?void 0:e.apiVal):"query"===e.apiAddTo&&(e.isShowHeaderAuth=!1):4===e.authType&&(e.isShowHeaderAuth=!0,e.headerAuthKey="Authorization",e.headerAuthVal=`Bearer ${null!==(c=e.bearerToken)&&void 0!==c?c:""}`);if("body"===n){const s=4e3;e.bodyBytes=e.body?new Blob([e.body]).size:0,e.isBodyMaxBytes=e.bodyBytes>=s}if("headers"===n||"auth"===n||"content"===n){let s={};const d=2e3;1===e.authType?e.headerAuthKey&&(s[e.headerAuthKey]=null==e?void 0:e.headerAuthVal):3===e.authType?"header"===e.apiAddTo&&e.headerAuthKey&&(s[e.headerAuthKey]=null==e?void 0:e.headerAuthVal):4===e.authType&&e.headerAuthKey&&(s[e.headerAuthKey]=null==e?void 0:e.headerAuthVal),s["Content-Type"]="custom"===e.contentType?null==e?void 0:e.contentTypeCustom:null==e?void 0:e.contentType;for(let p=0;p<e.headersCustom.length;p++){const _=e.headersCustom[p];s[_.key]=_.value}let g=JSON.stringify(s);e.headerBytes=new Blob([g]).size,e.isHeaderMaxBytes=e.headerBytes>=d}}createAutomationRule(){const e=this.buildServerData(),n=this.me.dealer_id,i=this.site.site_id;this.isLoading=!0,this.sitesService.createSiteAutomationRule(n,i,e).subscribe(a=>{a.id&&this.commonService.showSuccessToast("Create Automation Rule","Success"),this.isLoading=!1,this.isDone=!0,this.goToNextStep()},a=>{this.commonService.showErrorToast("Create Automation Rule","Failed"),this.isLoading=!1})}updateRule(){const e=this.curStep.idx,n=this.newAutomationRule,i=this._automationRule;0===e&&this.updateRuleTrigger(i,n),1===e&&this.updateRuleAction(i,n),2===e&&this.updateRuleCondition(i,n),3===e&&this.updateRuleInfo(i,n)}validateUpdate(){let e=!0;return this.validateTriggerInfo()||(e=!1),this.validateActionInfo()||(e=!1),this.validateTriggerInfo()||(e=!1),e}parseInfoDiff(e,n){let i={};return e.name!==n.name&&(i.name=n.name),e.enabled!==n.enabled&&(i.enabled=n.enabled?1:0),e.note!==n.note&&(i.note=n.note),0===Object.keys(i).length&&(i=null),i}updateRuleInfo(e,n){const i=this.me.dealer_id,a=this.site.site_id,c=this.modal.data.automationRule.id;let l=this.parseInfoDiff(e,n);!l||(this.isLoading=!0,this.sitesService.updateSiteAutomationRule(i,a,c,l).subscribe(s=>{this.commonService.showSuccessToast("Update Automation Rule Info","Success"),this.isLoading=!1,this.isDone=!0,this.goToNextStep()},s=>{this.commonService.showErrorToast("Update Automation Rule Info","Failed"),this.isLoading=!1}))}parseTriggerDiff(e,n){let i={isChanged:null,isDelete:null,trigger:null,triggerId:null};const a=this.modal.data.automationRule.trigger;console.log("originTrigger",a);const c=e.trigger,l=this.buildTriggerData(e.trigger),s=Object.keys(l).find(f=>null!==c[f]),d=n.trigger,g=this.buildTriggerData(n.trigger),p=Object.keys(g).find(f=>null!==d[f]),_=a[s].id;if(i.triggerId=_,s!==p)i.isDelete=!0,i.isChanged=!0,i.trigger=g;else{i.isDelete=!1;let f={},m=!1;f[p]={},console.log("_triggerData",g[p]),Object.keys(l[s]).forEach(C=>{console.log(C,l[s][C],g[s][C]),l[s][C]!==g[s][C]&&(m=!0)}),i.trigger=g,console.log("data",f),m?g[p].id=_:i=null}return i}createRuleTrigger(e){this.sitesService.createSiteAutomationRuleTrigger(this.me.dealer_id,this.site.site_id,this.modal.data.automationRule.id,e).subscribe(c=>{this.commonService.showSuccessToast("Create Automation Rule Trigger","Success"),this.isLoading=!1,this.isDone=!0,this.goToNextStep()},c=>{this.commonService.showErrorToast("Create Automation Rule Trigger","Failed"),this.isLoading=!1})}updateRuleTrigger(e,n){const i=this.me.dealer_id,a=this.site.site_id,c=this.modal.data.automationRule.id,l=n.trigger,s=this.buildTriggerData(l);s.is_recreate=1,this.isLoading=!0,this.sitesService.createSiteAutomationRuleTrigger(i,a,c,s).subscribe(d=>{if(console.log("triggerData",l),this.commonService.showSuccessToast("Update Automation Rule Trigger","Success"),"arming"===l.type||"armed_status"===l.type){const g=this.newAutomationRule.conditions,p=g.findIndex(_=>"arming"===_.type);g.splice(p,1),this.updateRuleCondition(e,n)}this.isLoading=!1},d=>{this.commonService.showErrorToast("Update Automation Rule Trigger","Failed"),this.isLoading=!1})}deleteRuleTrigger(){return this.sitesService.deleteSiteAutomationRuleTrigger(this.me.dealer_id,this.site.site_id,this.modal.data.automationRule.id).toPromise()}updateRuleCondition(e,n){const i=this.me.dealer_id,a=this.site.site_id,c=this.modal.data.automationRule.id,s=this.buildConditionsData(n.conditions);s.is_recreate=1,this.isLoading=!0,this.sitesService.createSiteAutomationRuleCondition(i,a,c,s).subscribe(d=>{this.commonService.showSuccessToast("Update Automation Rule Condition","Success"),this.isLoading=!1},d=>{this.commonService.showErrorToast("Update Automation Rule Condition","Failed"),this.isLoading=!1})}deleteConditionArmingRule(e){this.sitesService.deleteSiteAutomationRuleConditionArming(this.me.dealer_id,this.site.site_id,this.modal.data.automationRule.id,e).subscribe(c=>{})}updateRuleAction(e,n){const i=this.me.dealer_id,a=this.site.site_id,c=this.modal.data.automationRule.id,s=this.buildActionsData(n.actions);s.is_recreate=1,this.isLoading=!0,this.sitesService.createSiteAutomationRuleAction(i,a,c,s).subscribe(d=>{this.commonService.showSuccessToast("Update Automation Rule Action","Success"),this.isLoading=!1},d=>{this.commonService.showErrorToast("Update Automation Rule Action","Failed"),this.isLoading=!1})}buildServerData(){const e=this.newAutomationRule,n={enabled:e.enabled?1:0,name:e.name,note:e.note,arming_source:e.armingSource,trigger:{},condition:{},action:{}};return console.log("trigger"),n.trigger=this.buildTriggerData(e.trigger),console.log("condition"),n.condition=this.buildConditionsData(e.conditions),console.log("action"),n.action=this.buildActionsData(e.actions),console.log(n),console.log(this.newAutomationRule),n}buildTriggerData(e){var n,i,a;let c={zone:null,arming:null,monitoring_portal:null,times:null};if("camera"===e.type){const l=Array.from(e.cameras,d=>d.device_id);c={camera:{camera_ids:e.isAllCamera?this.siteCameras.join(","):l,is_all_camera:e.isAllCamera?1:0}}}if("arming"===e.type||"armed_status"===e.type){let l={};const s=Array.from(e.bridges,d=>d.device_id);l="enter"===e.armingState?{enter:{is_while:e.isStatus,bridge_ids:e.isAllBridge?[]:s,is_all_bridge:e.isAllBridge}}:"exit"===e.armingState?{exit:{is_while:e.isStatus,bridge_ids:e.isAllBridge?[]:s,is_all_bridge:e.isAllBridge}}:"alert"===e.armingState?{alert:{is_while:e.isStatus,bridge_ids:e.isAllBridge?[]:s,is_all_bridge:e.isAllBridge}}:{arming:{state:"armed"===e.armingState?1:0,is_status:e.isStatus,bridge_ids:e.isAllBridge?[]:s,is_all_bridge:e.isAllBridge}},c=l}if("monitoring_portal"===e.type&&(c={monitoring_portal:{state:0,is_status:"while_open"===e.state?1:0}}),"time_triggered"===e.type){const l=null!==(n=e.TTdaysOfWeek)&&void 0!==n?n:[],s=[],d={},g=[];for(let _=0;_<l.length;_++){const f=l[_];s[_]=null==f?void 0:f.times}for(let _=0;_<s.length;_++){let f=null!==(i=s[_])&&void 0!==i?i:[];for(let m=0;m<f.length;m++){let C=f[m];(null===(a=Object.keys(d))||void 0===a?void 0:a.includes(C))?d[C].push(_+1):d[C]=[_+1]}}for(let _ in d)g.push({days_of_week:d[_]+"",time:_+":00"});c={times:g}}return c}buildConditionsData(e){console.log("buildConditionsData");let n={};const i=[];return e=e.filter(a=>"none"!==a.type),this.newAutomationRule.conditions=e,e.forEach(a=>{const[c,l]=this.setConditionData(a);if(console.log(c,l),"arming"===l&&(n=Object.assign({},c)),"time"===l)if(c instanceof Array)for(let s=0;s<c.length;s++)i.push(c[s]);else i.push(c)}),i.length&&(n.times=i),console.log(n),n}setConditionData(e){let n={};if("time"===e.type){let i=e.TCdaysOfWeek,a=[];for(let c=0;c<i.length;c++){const l=i[c];if(l)for(let s=0;s<l.times.length;s++){const d=l.times[s];d&&a.push({days_of_week:l.index+1+"",start_time:`${d.selStartHour}:${d.selStartMinutes}:00`,end_time:`${d.selEndHour}:${d.selEndMinutes}:00`})}}n=a}return"arming"===e.type&&(n="enter"===e.armingState?{enter:{}}:"exit"===e.armingState?{exit:{}}:"alert"===e.armingState?{alert:{}}:{arming:{state:"armed"===e.armingState?1:0}},e.aiOperator&&(n.ai_operator={})),[n,e.type]}buildActionsData(e){let n={};const i=[],a=[],c=[],l=[];return e.forEach(s=>{const[d,g]=this.setActionData(s);"talkdown"===g&&a.push(d),"relay"===g&&c.push(d),("record-video"===g||"playback"===g)&&i.push(d),"http-request"===g&&l.push(d)}),i.length&&(n.records=i),a.length&&(n.talkdowns=a),c.length&&(n.relays=c),l.length&&(n.https=l),n}setActionData(e){let n={};if(console.log("action",e),"talkdown"===e.type){console.log(e.audios),this.siteAudios.map(s=>s.id);const a=e.audios.filter(s=>s.isAudioDevice).map(s=>s.id),c=e.audios.filter(s=>!s.isAudioDevice).map(s=>s.device_id);n={tts_id:e.tts.id,speaker_ids:e.isAllSpeaker?null:a,bridge_speaker_ids:e.isAllSpeaker?null:c,is_all_speaker:e.isAllSpeaker,playback_loop_count:e.repeat,playback_loop_sleep:e.interval}}if("relay"===e.type&&(n={device_do_id:e.relayId,operation_mode:"latch"===e.mode?0:1,duration:e.momentaryDuration}),("record-video"===e.type||"playback"===e.type)&&(n={camera_ids:e.cameraIds,pre_seconds:10,post_seconds:10,is_playback:e.isPlayback}),"http-request"===e.type){let i=null,a={};a["Content-Type"]="custom"===e.contentType?null==e?void 0:e.contentTypeCustom:null==e?void 0:e.contentType;for(let l=0;l<e.headersCustom.length;l++){const s=e.headersCustom[l];a[s.key]=s.value}if(0===e.authType)i={auth_type:e.authType,url:e.url,method:e.method,headers:JSON.stringify(a)},"GET"!==e.method&&(i.body=e.body);else if(1===e.authType)e.headerAuthKey&&(a[e.headerAuthKey]=null==e?void 0:e.headerAuthVal),i={auth_type:e.authType,url:e.url,method:e.method,username:e.username,password:e.password,headers:JSON.stringify(a),auth_header_key:"Authorization"},"GET"!==e.method&&(i.body=e.body);else if(2===e.authType)i={auth_type:e.authType,url:e.url,method:e.method,username:e.username,password:e.password,headers:JSON.stringify(a)},"GET"!==e.method&&(i.body=e.body);else if(3===e.authType){let l="",s="";if("query"===e.apiAddTo){let d="";e.url||(e.url=""),d=e.url.includes("?")?"&":"?";let g=d+e.apiKey+"="+e.apiVal;l=e.url+g,s="query "+g}else"header"===e.apiAddTo&&(l=e.url,e.headerAuthKey&&(s=e.headerAuthKey,a[e.headerAuthKey]=null==e?void 0:e.headerAuthVal));i={auth_type:e.authType,url:l,method:e.method,headers:JSON.stringify(a),auth_header_key:s},"GET"!==e.method&&(i.body=e.body)}else 4===e.authType&&(e.headerAuthKey&&(a[e.headerAuthKey]=null==e?void 0:e.headerAuthVal),i={auth_type:e.authType,url:e.url,method:e.method,headers:JSON.stringify(a),auth_header_key:"Authorization"},"GET"!==e.method&&(i.body=e.body));n=i}return[n,e.type]}goToArticle(){window.open("https://support.chekt.com/portal/en/kb/articles/wiring-the-arming-input-for-alarm-panel-following-ckb304-v2-hardware","_blank")}isEmpty(e){return 0===Object.keys(e).length}createProxyBody(e,n,i,a){const c=this.makeid(),l={headers:{method:n,path:i,mqttResponseTopic:`devices/${e.mac}/0/ckbapiv2/res/${c}`}};return"get"!==n&&(l.body=a),l}makeid(){let e="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let i=0;i<5;i++)e+=n.charAt(Math.floor(Math.random()*n.length));return e}skipDialog(){this.m_warning.data={header:"There is a condition set.<br>Do you really want to skip it?",contents:"\n <p> </p>\n ",submit_btn:"OK",submit_class:["button-primary"],icon:"done",isConfirm:!1,color:"#CD3D64"},this.m_warning.data.submit_func=()=>{this.skipConditionStep()},this.m_warning.open()}confirmDialog(e="",n="",i="done",a="green"){this.m_warning.data={header:e,contents:`\n <p>${n}</b></p>\n `,submit_btn:"OK",submit_class:["button-primary"],icon:i,isConfirm:!0,color:a},this.m_warning.data.submit_func=()=>{},this.m_warning.open()}errorDialog(e,n){let i="failed.";e.error&&e.error.message&&(i=e.error.message),e._body&&(i=JSON.parse(e._body).message),setTimeout(()=>{this.confirmDialog(n,i,"warning","orange")},200)}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(ht.f),t.Y36(Ct.f),t.Y36(bt.v),t.Y36(ne.X),t.Y36(oe.I),t.Y36(ie.H7),t.Y36(ae.V),t.Y36(re.Q))},o.\u0275cmp=t.Xpm({type:o,selectors:[["dealer-automation-rule-modal"]],viewQuery:function(e,n){if(1&e&&(t.Gf(be,5),t.Gf(Me,5),t.Gf(xe,5),t.Gf(Oe,5),t.Gf(Pe,5),t.Gf(ve,5),t.Gf(ye,5,t.SBq),t.Gf(we,5,t.SBq),t.Gf(Ae,5,t.SBq),t.Gf(Te,5,t.SBq),t.Gf(ke,5,t.SBq),t.Gf(Ze,5,t.SBq),t.Gf(Re,5,t.SBq)),2&e){let i;t.iGM(i=t.CRH())&&(n.zoneInput=i.first),t.iGM(i=t.CRH())&&(n.triggerCameraSelect=i.first),t.iGM(i=t.CRH())&&(n.triggerBridgeSelect=i.first),t.iGM(i=t.CRH())&&(n.zoneSelect=i.first),t.iGM(i=t.CRH())&&(n.relayTriggerSelect=i.first),t.iGM(i=t.CRH())&&(n.daySelect=i.first),t.iGM(i=t.CRH())&&(n.daySelects=i),t.iGM(i=t.CRH())&&(n.conditionBridgeSelects=i),t.iGM(i=t.CRH())&&(n.cameraSelects=i),t.iGM(i=t.CRH())&&(n.talkdownActionSelects=i),t.iGM(i=t.CRH())&&(n.talkdownActionSpeakerSelects=i),t.iGM(i=t.CRH())&&(n.relayActionSelects=i),t.iGM(i=t.CRH())&&(n.relayActionStateSelects=i)}},hostBindings:function(e,n){1&e&&t.NdJ("mousedown",function(a){return n.onGlobalClick(a)},!1,t.evT)},inputs:{active:"active",modal:"modal",site:"site",data:"data"},outputs:{onClose:"onClose",onUpdate:"onUpdate",event:"event"},features:[t.TTD],decls:49,vars:31,consts:[[1,"disable-full-screen"],[1,"background"],[1,"container-center"],[1,"modal"],[1,"modal-header"],[1,"modal-header-txt"],[2,"position","relative"],[1,"title-close",3,"click"],[1,"material-icons"],[1,"step-items-area"],[1,"step-container"],["class","step-item",3,"active","pass-step","click",4,"ngFor","ngForOf"],[1,"step-form"],[1,"setting-widget"],[1,"setting-widget-header","between"],[1,"row"],[1,"step-number"],[1,"step-label"],[1,"step-description"],[1,"setting-widget-area"],[4,"ngIf"],["class","full-area",4,"ngIf"],["class","relative",4,"ngIf"],[1,"step-form-footer","btn-area"],["class","button button-white",3,"click",4,"ngIf"],["class","button button-primary",3,"disabled","click",4,"ngIf"],[1,"tail-btn-area"],["class","button button-primary",3,"click",4,"ngIf"],[3,"modal"],[3,"active","modal","result"],[3,"active","modal","tcresult"],[1,"step-item",3,"click"],[1,"setting-item"],["class","setting-item","style","position: relative;",4,"ngIf"],["class","setting-item",4,"ngIf"],[2,"margin-bottom","10px"],[1,"inner-selectbox",3,"ngModel","ngModelChange","change"],["selected","","disabled","","hidden","",3,"ngValue"],["ngFor","",3,"ngForOf"],[3,"ngValue",4,"ngIf"],[3,"ngValue"],[1,"time-picker"],[1,"setting-item",2,"position","relative"],[2,"width","420px"],["triggerCameraSelect",""],[1,"chip-container",3,"click"],[1,"chip-objects"],["class","chip",4,"ngFor","ngForOf"],["class","chip-select",4,"ngIf"],[1,"chip"],[1,"material-icons","close-icon",3,"click"],[1,"chip-select"],[1,"chip-select-option",3,"click"],["class","chip-select-option",3,"selected","click",4,"ngFor","ngForOf"],[1,"flex","between",2,"width","100%"],[1,"ellipsis"],[1,"type-label"],[1,"tt-week"],["class","tt-day",4,"ngFor","ngForOf"],[1,"tt-day"],[1,"tt-title"],[1,"tt-times"],[2,"height","100%","overflow","overlay",3,"click"],["class","times",4,"ngIf"],["class","no-time",4,"ngIf"],[1,"times"],["class","time",4,"ngFor","ngForOf"],[1,"time"],[1,"time-text",3,"click"],[1,"no-time"],[1,"material-icons","add-icon"],["class","inner-selectbox",3,"ngModel","disabled","ngModelChange",4,"ngIf"],["class","item-desc","style","margin-top:10px;",4,"ngIf"],[1,"inner-selectbox",3,"ngModel","ngModelChange"],[3,"ngValue","disabled",4,"ngIf"],[3,"ngValue","disabled"],[1,"item-desc",2,"margin-top","10px"],["triggerBridgeSelect",""],[1,"item-desc"],[1,"full-area"],["class","item-container",4,"ngFor","ngForOf"],["class","link-txt flex p-10 pl-20",3,"click",4,"ngIf"],["class","link-txt flex p-10 pl-20 mb-30",4,"ngIf"],[1,"item-container"],[1,"setting-item","pb-10"],[1,"flex","between"],[1,"btn-area"],[3,"ngIf"],[1,"item-footer"],[1,"bottom-line"],[1,"button","button-white",3,"click"],[1,"btn-inner","txt-danger",2,"margin","7px 10px"],[2,"width","420px","position","relative"],[1,"selectbox","label",3,"title","click"],[1,"flex","between",2,"max-width","calc(100% - 16px)","width","100%"],[2,"width","18px"],["xmlns","http://www.w3.org/2000/svg","height","18px","width","18px","viewBox","0 0 24 24","fill","#000000"],["d","M12 4L16.58 8.59L15.17 10L12 6.83L8.83 10L7.41 8.59L12 4Z"],["d","M12 17.17L15.17 14 L16.59 15.41L12 20L7.42 15.41L8.83 14L12 17.17Z"],["class","select-list",3,"id",4,"ngIf"],[1,"setting-item","pb-10",2,"position","relative"],[2,"width","420px",3,"id"],["talkdownActionSpeakerSelects",""],["style","width:100%",4,"ngIf"],["class","chip-select","style","max-height: 165px;",4,"ngIf"],[3,"ngValue",4,"ngFor","ngForOf"],[1,"select-list",3,"id"],["talkdownActionSelects",""],["class","select-result has-child selectitem",3,"selected","click",4,"ngFor","ngForOf"],["class","select-result has-child selectitem",3,"click",4,"ngIf"],[1,"select-result","has-child","selectitem",3,"click"],[2,"width","100%"],[1,"chip-select",2,"max-height","165px"],["cameraSelects",""],[2,"width","420px","position","relative",3,"id"],["relayActionSelects",""],[1,"selectbox","label",3,"click"],["class","select-list",4,"ngIf"],["class","item-desc warning",4,"ngIf"],[1,"select-list"],["class","select-result has-child selectitem",3,"selected","click",4,"ngIf"],[1,"item-desc","warning"],[1,"flex"],[1,"flex","align-center"],["autocomplete","off","type","number","autocomplete","off","min","0","max","60",1,"transparent","width-64","mr-10",2,"padding","6px 9px",3,"ngModel","input","ngModelChange"],[1,"flex","align-center","ml-20"],["autocomplete","off","type","number","autocomplete","off","min","0","max","59",1,"transparent","width-64","mr-10",3,"ngModel","input","ngModelChange"],[1,"sub-title"],[1,"inner-selectbox","http-request-method-select",3,"ngModel","ngModelChange"],["autocomplete","off","type","text","placeholder","HTTP URL",3,"ngModel","input","ngModelChange"],["class","codemirror-wrapper",4,"ngIf"],["class","caption","style","text-align:end;",3,"err",4,"ngIf"],["class","caption",4,"ngIf"],["autocomplete","off","type","text","placeholder","Username",3,"ngModel","ngModelChange",4,"ngIf"],["style","position:relative;max-width:420px;",4,"ngIf"],["autocomplete","off","type","text","placeholder","Key",3,"ngModel","ngModelChange",4,"ngIf"],["autocomplete","off","type","text","placeholder","Value",3,"ngModel","ngModelChange",4,"ngIf"],["class","inner-selectbox",3,"ngModel","ngModelChange",4,"ngIf"],["autocomplete","off","type","text","autocomplete","off","placeholder","Token","rows","5",3,"ngModel","ngModelChange",4,"ngIf"],["style","margin-top:10px;","autocomplete","off","type","text","placeholder","Type your content type...",3,"ngModel","ngModelChange",4,"ngIf"],[1,"advanced",3,"click"],[1,"advanced-icon",3,"icon","color","size"],[1,"advanced-text"],["class","material-icons","style","font-size:14px;color:#f1556c;",4,"ngIf"],[1,"codemirror-wrapper"],[1,"ngx-codemirror",3,"options","ngModel","keyup","ngModelChange"],["codemirror",""],[1,"caption",2,"text-align","end"],[1,"caption"],["autocomplete","off","type","text","placeholder","Username",3,"ngModel","ngModelChange"],[2,"position","relative","max-width","420px"],["autocomplete","new-password","placeholder","Password",3,"type","ngModel","ngModelChange"],[1,"input-info","http-password"],[1,"material-icons","eyeball",2,"font-size","18px",3,"click"],["autocomplete","off","type","text","placeholder","Key",3,"ngModel","ngModelChange"],["autocomplete","off","type","text","placeholder","Value",3,"ngModel","ngModelChange"],["autocomplete","off","type","text","autocomplete","off","placeholder","Token","rows","5",3,"ngModel","ngModelChange"],["autocomplete","off","type","text","placeholder","Type your content type...",2,"margin-top","10px",3,"ngModel","ngModelChange"],[1,"material-icons",2,"font-size","14px","color","#f1556c"],["class","sub-title",4,"ngIf"],["style","display:flex;flex-direction:column;gap: 10px;",4,"ngIf"],[1,"sub-title","headers"],[1,"headers-inputs"],[4,"ngFor","ngForOf"],[1,"addlist",3,"click"],[3,"icon","color","size"],[2,"display","flex","flex-direction","column","gap","10px"],[1,"input-row"],["autocomplete","off","type","text","disabled","",1,"disabled",3,"ngModel","ngModelChange"],["autocomplete","off","type","text","disabled","",3,"ngModel","ngModelChange"],["disabled","","autocomplete","off","type","text","value","Content-Type","disabled",""],["disabled","","autocomplete","off","type","text",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["disabled","","autocomplete","off","type","text",3,"ngModel","ngModelChange"],[2,"cursor","pointer",3,"icon","color","size","click"],[1,"link-txt","flex","p-10","pl-20",3,"click"],[1,"result-icon",3,"icon","color","size"],[1,"link-txt","flex","p-10","pl-20","mb-30"],[1,"tc-week"],["class","tc-day",4,"ngFor","ngForOf"],[1,"item-desc",2,"margin-top","10px","width","420px"],[1,"tc-day"],[1,"tc-title"],[1,"tc-times"],["class","tc-option",3,"click",4,"ngIf"],["class","time --g-tooltip-content",3,"left","width","click","mouseenter",4,"ngFor","ngForOf"],[1,"time","--g-tooltip-content",3,"click","mouseenter"],["class","time-wrapper",4,"ngIf"],[1,"--g-tooltip"],[1,"time-wrapper"],[1,"time-text",2,"text-align","left"],[1,"time-text",2,"text-align","right"],[1,"tc-option",3,"click"],["class","item-desc",4,"ngIf"],["class","ai-operator",4,"ngIf"],[1,"ai-operator"],[3,"ngModel","ngModelChange"],[1,"ai-operator-title"],[1,"ai-operator-desc","item-desc"],["class","ai-operator-desc item-desc warning","style","margin-top: 10px;",4,"ngIf"],[1,"ai-operator-desc","item-desc","warning",2,"margin-top","10px"],["conditionBridgeSelects",""],[1,"relative"],["class","page-loader",4,"ngIf"],[3,"ngModel","disabled","ngModelChange"],["autocomplete","off","type","text","autocomplete","off","placeholder","No Name",3,"ngModel","ngModelChange"],["autocomplete","off","type","text","autocomplete","off","placeholder","Add note...","rows","6",3,"ngModel","ngModelChange","input"],[2,"width","420px","display","flex","justify-content","flex-end","color","#55647B","font-size","12px"],[1,"page-loader"],[1,"loader",2,"margin","48px auto","margin-bottom","12px","width","35px"],["viewBox","25 25 50 50",1,"circular"],["cx","50","cy","50","r","20","fill","none","stroke-width","5","stroke-miterlimit","10",1,"path"],[1,"result-top"],[1,"result-label"],[1,"result"],[1,"result-item"],[1,"result-title"],[1,"result-row"],[1,"result-value"],["class","disabled",4,"ngIf"],[1,"result-row","pb-20"],["class","result-row",4,"ngIf"],["class","result-row pb-20",4,"ngIf"],["class","result-inner-wrap",4,"ngFor","ngForOf"],[1,"pb-20"],[1,"disabled"],[1,"result-value","flex"],["class","result-tag",4,"ngFor","ngForOf"],[1,"result-tag"],["class","flex",4,"ngFor","ngForOf"],["class","result-tag flex","style","gap:5px",4,"ngIf"],[1,"result-tag","flex",2,"gap","5px"],[1,"result-inner-wrap"],[1,"pr-10"],["class","result-value",4,"ngIf"],[3,"options","ngModel","ngModelChange"],[1,"no-info"],[1,"btn-inner",2,"margin","7px 10px 7px 7px"],[2,"margin-left","8px"],[1,"button","button-primary","mr-10",3,"click"],[1,"btn-inner",2,"margin","7px 10px 8px 10px"],[1,"button","button-primary",3,"click"],[1,"btn-inner",2,"margin","7px 7px 7px 10px"],[2,"margin-right","8px"],[1,"btn-inner"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"div",1),t.TgZ(2,"div",2),t.TgZ(3,"div",3),t.TgZ(4,"div",4),t.TgZ(5,"div",5),t._uU(6),t.qZA(),t.TgZ(7,"div",6),t.TgZ(8,"div",7),t.NdJ("click",function(){return n.closeModal()}),t.TgZ(9,"i",8),t._uU(10,"close"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,"div",9),t.TgZ(12,"div",10),t.YNc(13,Se,5,8,"div",11),t.qZA(),t.TgZ(14,"div",12),t.TgZ(15,"div",13),t.TgZ(16,"div",14),t.TgZ(17,"div",15),t.TgZ(18,"div",16),t._uU(19),t.qZA(),t.TgZ(20,"div",17),t._uU(21),t.qZA(),t.qZA(),t.TgZ(22,"div",15),t.TgZ(23,"div",18),t._uU(24),t.qZA(),t.qZA(),t.qZA(),t.TgZ(25,"div",19),t.YNc(26,un,9,7,"div",20),t.YNc(27,bo,4,3,"div",21),t.YNc(28,$o,4,3,"div",20),t.YNc(29,Wo,16,8,"div",22),t.YNc(30,Ii,50,18,"div",20),t.qZA(),t.qZA(),t.TgZ(31,"div",23),t.TgZ(32,"div",15),t.YNc(33,zi,1,0,"div",20),t.YNc(34,Ei,5,3,"div",24),t.qZA(),t.TgZ(35,"div",15),t.YNc(36,Ni,1,0,"div",22),t.YNc(37,Ji,5,2,"div",22),t.TgZ(38,"div"),t.YNc(39,Di,5,5,"div",25),t.YNc(40,Hi,5,5,"div",25),t.YNc(41,Ui,5,5,"div",25),t.YNc(42,Qi,5,5,"div",25),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(43,"div",26),t.YNc(44,Bi,3,0,"div",24),t.YNc(45,Yi,3,0,"div",27),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t._UZ(46,"dealer-warning",28),t.TgZ(47,"dealer-automation-rule-time-trigger",29),t.NdJ("result",function(a){return n.emitTimeTriggerTime(a)}),t.qZA(),t.TgZ(48,"dealer-automation-rule-time-condition",30),t.NdJ("tcresult",function(a){return n.emitTimeConditionTime(a)}),t.qZA()),2&e&&(t.Udp("opacity",n.modal.is_active?100:0)("visibility",n.modal.is_active?"visible":"hidden"),t.xp6(6),t.hij("",n.isEdit?"Edit":"Add"," a Automation Rule"),t.xp6(7),t.Q6J("ngForOf",n.steps),t.xp6(6),t.Oqu(n.curStep.idx+1),t.xp6(2),t.Oqu(n.curStep.name),t.xp6(3),t.Oqu(n.curStep.description),t.xp6(2),t.Q6J("ngIf",0===n.curStep.idx),t.xp6(1),t.Q6J("ngIf",1===n.curStep.idx),t.xp6(1),t.Q6J("ngIf",2===n.curStep.idx),t.xp6(1),t.Q6J("ngIf",3===n.curStep.idx),t.xp6(1),t.Q6J("ngIf",4===n.curStep.idx),t.xp6(1),t.ekj("disabled",n.isLoading),t.xp6(2),t.Q6J("ngIf",0===n.curStep.idx),t.xp6(1),t.Q6J("ngIf",0!==n.curStep.idx&&4!==n.curStep.idx),t.xp6(2),t.Q6J("ngIf",3===n.curStep.idx&&!n.isEdit),t.xp6(1),t.Q6J("ngIf",n.isEdit),t.xp6(2),t.Q6J("ngIf",0===n.curStep.idx),t.xp6(1),t.Q6J("ngIf",1===n.curStep.idx),t.xp6(1),t.Q6J("ngIf",2===n.curStep.idx),t.xp6(1),t.Q6J("ngIf",!n.isEdit&&3===n.curStep.idx),t.xp6(2),t.Q6J("ngIf",4!==n.curStep.idx),t.xp6(1),t.Q6J("ngIf",4===n.curStep.idx),t.xp6(1),t.Q6J("modal",n.m_warning),t.xp6(1),t.Q6J("active",n.m_automation_rule_time_trigger.is_active)("modal",n.m_automation_rule_time_trigger),t.xp6(1),t.Q6J("active",n.m_automation_rule_time_condition.is_active)("modal",n.m_automation_rule_time_condition))},directives:[T.sg,T.O5,Mt.a,se,Ce,P.EJ,P.JJ,P.On,P.YN,P.Kr,P.qQ,P.Fd,P.wV,P.Fj,Rt.U,St.C,U.oG,_t.Rr],styles:['.disable-full-screen[_ngcontent-%COMP%]{top:0;left:0;width:100%;height:100%;position:fixed;visibility:hidden;opacity:0;transition:.2s;z-index:101}.disable-full-screen[_ngcontent-%COMP%] > .background[_ngcontent-%COMP%]{position:absolute;background-color:#00000080;top:0;left:0;width:100%;height:100%;z-index:1}.overlay[_ngcontent-%COMP%]{position:fixed;top:0;bottom:0;left:0;right:0;background-color:#0000004d;z-index:1}.container-center[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;height:48px;padding:0 16px}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:inline-block;font-size:20px;color:#fff;text-transform:uppercase}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-size:12px;color:#fffc;padding:8px 0 32px;line-height:.8}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .space[_ngcontent-%COMP%]{flex:1}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{float:right;margin-left:8px;color:#fffc;transition:.1s}.body[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#fff;cursor:pointer}.body[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:14px;color:#777;margin-top:28px}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:14px;flex:1 1 auto;box-sizing:border-box;padding:6px 0 4px;border:0;border-bottom:2px solid #ddd;background:rgba(0,0,0,0);transition:.2s}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 3px #1f8fff61;outline:none}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%] .err[_ngcontent-%COMP%]{outline:none;border-bottom:2px solid #D25074}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%] .err[_ngcontent-%COMP%]:focus{outline:none;border-bottom:2px solid #D25074}.body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{font:400 14px Arial;resize:none;flex:1 1 auto;box-sizing:border-box;padding:6px 0 4px;border:0;border-bottom:2px solid #ddd;background:rgba(0,0,0,0);transition:.2s}.body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 3px #1f8fff61;outline:none}.body[_ngcontent-%COMP%] .hidden-input[_ngcontent-%COMP%]{border-bottom:2px solid #fff;background:rgba(0,0,0,0) #b87272}.body[_ngcontent-%COMP%] .hidden-input[_ngcontent-%COMP%]:hover{border-bottom:2px solid #777}.body[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:100%;min-height:24px;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}.body[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{width:100%;min-height:24px;font-size:14px;color:#333;margin-top:12px;padding:4px 0;display:flex;align-items:center}.body[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{margin-right:8px}.body[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]{color:#777;transition:.2s;cursor:pointer}.body[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]:hover{color:#333}.body[_ngcontent-%COMP%] .contents-selectable[_ngcontent-%COMP%]{cursor:pointer}.body[_ngcontent-%COMP%] .contents-selectable[_ngcontent-%COMP%]:hover{background:#f0f0f0}.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%] > .warning[_ngcontent-%COMP%]{color:#f55}.modal[_ngcontent-%COMP%]{width:100%;max-width:600px;background:white;box-shadow:0 4px 8px #777;z-index:2;border-radius:5px}.modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{display:flex;height:50px;justify-content:space-between;border-bottom:.5px solid rgba(0,0,0,.1)}.modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-header-txt[_ngcontent-%COMP%]{display:flex;align-items:center;padding-left:16px}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%]{display:flex;height:50px;justify-content:space-between;background-color:#f7fafc;border-radius:5px 5px 0 0}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:inline-block;font-size:20px;color:#fff;text-transform:uppercase}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-size:12px;color:#fffc;padding:8px 0 32px;line-height:.8}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .space[_ngcontent-%COMP%]{flex:1}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{float:right;margin-left:8px;color:#fffc;transition:.1s}.modal[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#fff;cursor:pointer}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%]{flex:1;display:block;overflow-y:overlay;padding:30px 20px 20px;border-bottom:.5px solid rgba(0,0,0,.1);background-color:#f8fafc;display:flex;flex-direction:column;font-size:14px}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{color:#0009;font-size:12px}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:8px;background-color:#fff;border:1px solid #eeeeee;font-size:14px;transition:.2s;text-indent:0px;font-weight:400;resize:none}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{font-size:14px}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus{outline:none;border:1px solid #2383e2}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{padding-bottom:20px}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:7px 10px;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}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 3px #1f8fff61;outline:none}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.err[_ngcontent-%COMP%]{outline:none;background-color:#fbd0d6;box-shadow:0 0 0 2px #d25074}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.err[_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 0 2px #d25074}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]{background-color:#f5f5f5}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.dark[_ngcontent-%COMP%]:focus{background-color:#fff}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.disabled[_ngcontent-%COMP%]{background-color:#eee;opacity:1}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.err[_ngcontent-%COMP%]{outline:none;border:1px solid #D25074!important;background-color:#fff!important}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.correct[_ngcontent-%COMP%]{border:solid 1px #e0e0e0;background-color:#e5f2ff}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:#0000004d}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.input-err[_ngcontent-%COMP%]{outline:none;background-color:#fbd0d6;box-shadow:0 0 0 2px #f1556c}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] input.input-err[_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 0 2px #f1556c}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .site-search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-bottom:0;border:none;outline:none;background-color:transparent}.modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .item.pb-0[_ngcontent-%COMP%]{padding-bottom:0}.modal[_ngcontent-%COMP%] > .body[_ngcontent-%COMP%]{padding:16px 32px;display:flex;flex-direction:column;max-height:800px;overflow-y:overlay}.modal[_ngcontent-%COMP%] > .body-center[_ngcontent-%COMP%]{padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;max-height:800px;overflow-y:overlay}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;justify-content:center;padding:0 32px 30px}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .space[_ngcontent-%COMP%]{flex:1}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{padding:7px 14px;color:#888;font-size:14px;font-weight:500;transition:.2s;text-transform:capitalize;border-radius:5px}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#000;cursor:pointer}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]{background:#2383e2;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]:hover{background:#2ea0ff;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-warning[_ngcontent-%COMP%]{background:orange;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-warning[_ngcontent-%COMP%]:hover{background:#ffb938;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-disable[_ngcontent-%COMP%]{background:#ddd;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-disable[_ngcontent-%COMP%]:hover{background:#ddd;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-danger[_ngcontent-%COMP%]{background:#f1556d;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-danger[_ngcontent-%COMP%]:hover{background:#f47185;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-normal[_ngcontent-%COMP%]{background:#d1d2d2;color:#fff}.modal[_ngcontent-%COMP%] > .tail[_ngcontent-%COMP%] .button-normal[_ngcontent-%COMP%]:hover{background:#b2b3b3;color:#fff}.dropdown[_ngcontent-%COMP%]{font-size:14px;position:relative;flex:1}.dropdown[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;background:rgba(0,0,0,0)}.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}.face[_ngcontent-%COMP%]{border-radius:50%;width:32px;height:32px;margin-right:8px}.no-face[_ngcontent-%COMP%]{border-radius:50%;width:32px;height:32px;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%}.dropdown-background[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1}.disabled[_ngcontent-%COMP%]{opacity:.6;cursor:default;pointer-events:none}.inactive[_ngcontent-%COMP%]{pointer-events:none;filter:grayscale(.3);opacity:.8}.loader[_ngcontent-%COMP%]{position:relative;margin:0 auto;width:50px}.loader.absolute[_ngcontent-%COMP%]{margin:auto;position:absolute;top:calc(50% - 25px);left:calc(50% - 25px)}.loader[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.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}.title-close[_ngcontent-%COMP%]{position:absolute;display:flex;top:3px;right:6px;width:45px;height:45px;align-items:center;justify-content:center;font-size:14px;color:#0009;cursor:pointer;transition:.2s}.title-close[_ngcontent-%COMP%]:hover{background-color:#f7f7f7;border-radius:22px}.tail-btn-area[_ngcontent-%COMP%]{border-radius:5px;padding:12px 20px}.row[_ngcontent-%COMP%]{display:flex}.row.between[_ngcontent-%COMP%]{justify-content:space-between}table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.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.table-header[_ngcontent-%COMP%]:after{border-collapse:separate}table[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%]{width:100%;flex:1;overflow-y:overlay;overflow-x:hidden}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{position:relative;padding:10px 7px;color:#000000de;text-transform:capitalize;text-align:left;font-size:12px;font-weight:normal;-webkit-user-select:none;user-select:none}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding:10px 7px 10px 20px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding:10px 20px 10px 7px}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:14px;color:#0009;border-bottom:1px rgba(0,0,0,.1) solid;padding:14px}.selectable[_ngcontent-%COMP%]{cursor:pointer}.selectable[_ngcontent-%COMP%]:hover{background:#f0f0f0}','.ngx-codemirror.err[_ngcontent-%COMP%]{background-color:#ffe4ec}.modal[_ngcontent-%COMP%]{max-width:1000px!important}@media only screen and (max-width: 1055px){.modal[_ngcontent-%COMP%]{scale:.9}}.list-search-input[_ngcontent-%COMP%]{width:100%;outline:none;border:0;border-bottom:1px solid rgba(0,0,0,.1);padding:10px;border-radius:0}.headers-inputs[_ngcontent-%COMP%]{display:flex;flex-direction:column;grid-gap:10px;gap:10px}.headers-inputs.err[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{background-color:#ffe4ec!important}.input-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;max-width:420px;grid-gap:5px;gap:5px}.addlist[_ngcontent-%COMP%]{display:inline-flex;flex-direction:row;justify-content:flex-start;align-items:center;color:#8792a2;grid-gap:2px;gap:2px;cursor:pointer;padding:5px 10px 5px 5px;border-radius:5px;margin-top:10px}.addlist[_ngcontent-%COMP%]:hover{background-color:#0000000d}.caption[_ngcontent-%COMP%]{max-width:420px;font-size:12px;color:#8792a2}.caption.err[_ngcontent-%COMP%]{color:#f1556c}.step-items-area[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex:1;height:550px;box-sizing:border-box;padding:20px;border-bottom:.5px solid rgba(0,0,0,.1);background-color:#f7fafc;font-size:14px}.step-items-area[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .step-items-area[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%], .step-items-area[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{width:100%;max-width:420px;box-sizing:border-box;padding:7px 10px;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}.step-items-area[_ngcontent-%COMP%] input[type=text].err-input[_ngcontent-%COMP%], .step-items-area[_ngcontent-%COMP%] input[type=number].err-input[_ngcontent-%COMP%], .step-items-area[_ngcontent-%COMP%] input[type=password].err-input[_ngcontent-%COMP%]{border:solid 1px #f1556c;outline-color:#f1556c}.step-items-area[_ngcontent-%COMP%] input[type=text].list-search-input[_ngcontent-%COMP%], .step-items-area[_ngcontent-%COMP%] input[type=number].list-search-input[_ngcontent-%COMP%], .step-items-area[_ngcontent-%COMP%] input[type=password].list-search-input[_ngcontent-%COMP%]{width:100%;max-width:100%;outline:none;border:0;border-bottom:1px solid rgba(0,0,0,.1);padding:10px;border-radius:0}.step-items-area[_ngcontent-%COMP%] input[type=text].disabled[_ngcontent-%COMP%], .step-items-area[_ngcontent-%COMP%] input[type=number].disabled[_ngcontent-%COMP%], .step-items-area[_ngcontent-%COMP%] input[type=password].disabled[_ngcontent-%COMP%]{background-color:#f7fafc!important;opacity:1}.step-items-area[_ngcontent-%COMP%] input[type=text].err[_ngcontent-%COMP%], .step-items-area[_ngcontent-%COMP%] input[type=number].err[_ngcontent-%COMP%], .step-items-area[_ngcontent-%COMP%] input[type=password].err[_ngcontent-%COMP%]{outline:none;border:1px solid #f1556c!important;background-color:#fff!important}.step-items-area[_ngcontent-%COMP%] input[type=text].correct[_ngcontent-%COMP%], .step-items-area[_ngcontent-%COMP%] input[type=number].correct[_ngcontent-%COMP%], .step-items-area[_ngcontent-%COMP%] input[type=password].correct[_ngcontent-%COMP%]{border:solid 1px #e0e0e0;background-color:#e5f2ff}.step-items-area[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]::placeholder, .step-items-area[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]::placeholder, .step-items-area[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]::placeholder{color:#0000004d}.step-container[_ngcontent-%COMP%]{width:220px;padding-right:20px;box-sizing:border-box}.step-container[_ngcontent-%COMP%] .step-item[_ngcontent-%COMP%]{display:flex;align-items:center;padding:10px;height:44px;color:#0009;background-color:#fff;border:1px solid rgba(0,0,0,.1);border-radius:5px;box-sizing:border-box;margin-bottom:10px;-webkit-user-select:none;user-select:none}.step-container[_ngcontent-%COMP%] .step-item[_ngcontent-%COMP%] .step-number[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:10px;color:#fff;background-color:#00000061;border-radius:12px}.step-container[_ngcontent-%COMP%] .step-item[_ngcontent-%COMP%] .step-number.pass[_ngcontent-%COMP%]{background-color:#1e88e5}.step-container[_ngcontent-%COMP%] .step-item[_ngcontent-%COMP%] .step-label[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:14px}.step-container[_ngcontent-%COMP%] .step-item.active[_ngcontent-%COMP%]{color:#000000de;border:1px solid #1E88E5}.step-container[_ngcontent-%COMP%] .step-item.pass-step[_ngcontent-%COMP%]{cursor:pointer}.step-container[_ngcontent-%COMP%] .step-item[_ngcontent-%COMP%]:last-child{margin-bottom:0}.step-form[_ngcontent-%COMP%]{flex:1;height:100%;display:flex;flex-direction:column}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%]{display:flex;flex-direction:column;overflow:auto;overflow-y:overlay;box-sizing:border-box;flex:1;height:100%;background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:5px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-header[_ngcontent-%COMP%]{padding:20px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-header[_ngcontent-%COMP%] .step-number[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:10px;color:#fff;background-color:#1e88e5;border-radius:12px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-header[_ngcontent-%COMP%] .step-label[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:14px;color:#000000de}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-header[_ngcontent-%COMP%] .step-description[_ngcontent-%COMP%]{margin-top:14px;font-weight:400;font-size:14px;line-height:16px;letter-spacing:-.103529px;color:#0009}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;padding-bottom:30px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .setting-item[_ngcontent-%COMP%]{padding:0 20px 20px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .setting-item[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-top:10px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .setting-item[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{margin-top:0}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .setting-item[_ngcontent-%COMP%]:last-child{padding-bottom:0}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .setting-item.pb-10[_ngcontent-%COMP%]{padding-bottom:10px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .setting-item[_ngcontent-%COMP%] .item-row[_ngcontent-%COMP%]{display:flex;max-width:420px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .setting-item[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{cursor:pointer;color:#2383e2}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .setting-item[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{font-size:12px;font-weight:500;color:#8792a2;margin-top:16px;margin-bottom:5px;max-width:420px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .setting-item[_ngcontent-%COMP%] .sub-title.headers[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .setting-item[_ngcontent-%COMP%] .advanced[_ngcontent-%COMP%]{display:inline-flex;flex-direction:row;align-items:center;grid-gap:5px;gap:5px;margin-top:20px;cursor:pointer}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .setting-item[_ngcontent-%COMP%] .advanced-text[_ngcontent-%COMP%]{font-size:13px;font-weight:500;color:#55647b;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;grid-gap:5px;gap:5px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .setting-item[_ngcontent-%COMP%] .advanced-icon.show[_ngcontent-%COMP%]{transform:rotate(90deg)}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .setting-desc[_ngcontent-%COMP%]{font-size:13px;color:#55647b}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .err-label[_ngcontent-%COMP%]{color:#cd3d64;font-size:12px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result[_ngcontent-%COMP%]{padding:24px 20px 20px;background:#F2F6F9;border:1px solid rgba(0,0,0,.1);border-radius:5px;box-sizing:border-box;height:auto}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] .result-item[_ngcontent-%COMP%]{margin-bottom:20px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] .result-item[_ngcontent-%COMP%]:last-child{margin-bottom:0}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] .result-item[_ngcontent-%COMP%] .result-title[_ngcontent-%COMP%]{font-size:13px;color:#55647b;font-weight:500;margin-bottom:10px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] .result-item[_ngcontent-%COMP%] .result-row[_ngcontent-%COMP%]{display:flex;width:100%;margin-bottom:10px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] .result-item[_ngcontent-%COMP%] .result-row[_ngcontent-%COMP%] .result-label[_ngcontent-%COMP%]{min-width:175px;font-size:13px;color:#55647b;font-weight:400}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] .result-item[_ngcontent-%COMP%] .result-row[_ngcontent-%COMP%] .result-value[_ngcontent-%COMP%]{flex-wrap:wrap;font-size:13px;color:#000000de;font-weight:400}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] .result-item[_ngcontent-%COMP%] .result-row[_ngcontent-%COMP%] .result-value[_ngcontent-%COMP%] .disable-info[_ngcontent-%COMP%]{color:#00000061}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] .result-item[_ngcontent-%COMP%] .result-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] .result-tag[_ngcontent-%COMP%]{display:flex;padding:3px 7px;background:#E3E8EE;margin-right:5px;margin-bottom:5px;border:1px solid rgba(0,0,0,.1);border-radius:3px;font-weight:500;font-size:12px;line-height:14px;letter-spacing:-.0905881px;color:#55647b}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result[_ngcontent-%COMP%] .result-inner-wrap[_ngcontent-%COMP%]{padding:14px;border:1px solid rgba(0,0,0,.1);border-radius:5px;margin-bottom:10px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result-top[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result-top[_ngcontent-%COMP%] .result-icon[_ngcontent-%COMP%]{margin-bottom:14px}.step-form[_ngcontent-%COMP%] .setting-widget[_ngcontent-%COMP%] .setting-widget-area[_ngcontent-%COMP%] .result-top[_ngcontent-%COMP%] .result-label[_ngcontent-%COMP%]{font-size:14px;color:#55647b}.step-form[_ngcontent-%COMP%] .step-form-footer[_ngcontent-%COMP%]{min-height:44px;justify-content:space-between;padding:10px 0 0;box-sizing:border-box}.button[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.text-btn[_ngcontent-%COMP%]{font-size:13px;color:#1f89e5;cursor:pointer}.ipaddress[_ngcontent-%COMP%]{flex:1;margin-right:10px}.port[_ngcontent-%COMP%]{width:80px}.input-info[_ngcontent-%COMP%]{position:absolute;display:flex;flex-direction:row;align-items:center;right:5px;top:5px}.input-info[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-right:10px}.input-info[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-right:0}.input-info.http-password[_ngcontent-%COMP%]{right:10px;top:7px}.eyeball[_ngcontent-%COMP%]{color:#00000080;cursor:pointer;-webkit-user-select:none;user-select:none}.eyeball[_ngcontent-%COMP%]:hover{color:#000000b3}.item-desc[_ngcontent-%COMP%]{font-size:12px;color:#55647b}.item-desc.warning[_ngcontent-%COMP%]{color:#cd3d64}select[_ngcontent-%COMP%]{max-width:420px}.w-420[_ngcontent-%COMP%]{max-width:420px}.sub-desc[_ngcontent-%COMP%]{width:420px;margin-top:5px;color:#8691a2;font-size:12px}.sub-desc.count[_ngcontent-%COMP%]{width:40px}.zone-container[_ngcontent-%COMP%]{display:flex;max-width:420px;min-height:38px;background-color:#fff;border:solid 1px #e0e0e0;border-radius:5px;padding:5px 10px 0;box-sizing:border-box}.zone-container[_ngcontent-%COMP%] .zone-objects[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;width:100%}.zone-container[_ngcontent-%COMP%] .zone-objects[_ngcontent-%COMP%] .zone[_ngcontent-%COMP%]{display:flex;padding:5px 8px 5px 10px;border-radius:20px;background-color:#e3e8ee;color:#56657b;margin-right:5px;margin-bottom:5px;align-items:center;font-size:14px;font-family:"Roboto";box-sizing:border-box}.zone-container[_ngcontent-%COMP%] .zone-objects[_ngcontent-%COMP%] .zone[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{font-size:14px;border-radius:12px;cursor:pointer;margin-left:6px;height:16px;color:#55647b;padding:2px}.zone-container[_ngcontent-%COMP%] .zone-objects[_ngcontent-%COMP%] .zone[_ngcontent-%COMP%]:last-child{margin-right:0}.zone-container[_ngcontent-%COMP%] .zone-input[_ngcontent-%COMP%]{flex:1;border:none!important;padding:0;margin:0 0 0 2px;padding:0!important;min-width:36px;height:28px}.disable-txt[_ngcontent-%COMP%]{color:#00000061;font-size:12px}.send-url[_ngcontent-%COMP%]{margin-left:5px;background-color:#fff;border:1px solid #8792A2;border-radius:10px;color:#56657b;padding:2px 10px}.status-line[_ngcontent-%COMP%]{background:#FFFFFF;border:1px solid #E3E8EE;box-sizing:border-box;border-radius:5px;margin:7px 0;padding:12px 0;position:relative;cursor:pointer;font-size:14px;color:#8691a2}.status-line[_ngcontent-%COMP%] .duration-time[_ngcontent-%COMP%]{margin-left:7px;color:#8691a2}.status-line.done[_ngcontent-%COMP%]{background:rgba(30,166,117,.1);border:1px solid #1EA675;box-sizing:border-box;border-radius:5px}.status-line.done[_ngcontent-%COMP%] .status-title[_ngcontent-%COMP%]{color:#1ea473}.status-line.done[_ngcontent-%COMP%] .duration-time[_ngcontent-%COMP%]{color:#1ea473}.status-line.done[_ngcontent-%COMP%]:hover{background-color:#e6f7ca}.status-line.progress[_ngcontent-%COMP%]{background:rgba(30,136,229,.1);border:1px solid #1E88E5;box-sizing:border-box;border-radius:5px}.status-line.progress[_ngcontent-%COMP%] .status-title[_ngcontent-%COMP%]{color:#1f89e5}.status-line.progress[_ngcontent-%COMP%] .duration-time[_ngcontent-%COMP%]{color:#1f89e5}.status-line.progress[_ngcontent-%COMP%]:hover{background-color:#f6f9fe}.status-line.warning[_ngcontent-%COMP%]{background:rgba(205,61,100,.1);border:1px solid #CD3D64;box-sizing:border-box;border-radius:5px}.status-line.warning[_ngcontent-%COMP%] .status-title[_ngcontent-%COMP%]{color:#cd3c63}.status-line.warning[_ngcontent-%COMP%] .duration-time[_ngcontent-%COMP%]{color:#cd3c63}.status-line.warning[_ngcontent-%COMP%]:hover{background-color:#fcdecf}.status-line.none[_ngcontent-%COMP%]{background-color:#e5e5e5;border:solid 1px #dbdbdb}.status-line.none[_ngcontent-%COMP%] .status-title[_ngcontent-%COMP%]{color:#0009}.status-line.none[_ngcontent-%COMP%] .duration-time[_ngcontent-%COMP%]{color:#0000004d}.status-line.none[_ngcontent-%COMP%]:hover{background-color:#f2f2f2}.status-line[_ngcontent-%COMP%] .mr-30[_ngcontent-%COMP%]{margin-right:30px}.status-line[_ngcontent-%COMP%] .status-title[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;border-top-left-radius:5px;border-top-right-radius:5px;padding:0 14px}.status-line[_ngcontent-%COMP%] .status-title[_ngcontent-%COMP%]:hover .tooltiptext[_ngcontent-%COMP%]{visibility:visible}.status-line[_ngcontent-%COMP%] .status-title[_ngcontent-%COMP%] .tooltiptext[_ngcontent-%COMP%]{visibility:hidden;font-size:14px;background-color:#000;color:#fff;text-align:center;padding:5px 2px;border-radius:6px;position:absolute;z-index:1}.status-line[_ngcontent-%COMP%] .status-content[_ngcontent-%COMP%]{margin:12px 12px 0;padding:20px;font-size:14px;background-color:#fff;border-bottom-left-radius:5px;border-bottom-right-radius:5px;cursor:initial}.status-line[_ngcontent-%COMP%] .status-content[_ngcontent-%COMP%] .status-item[_ngcontent-%COMP%]{color:#000000de;margin-bottom:14px}.status-line[_ngcontent-%COMP%] .status-content[_ngcontent-%COMP%] .status-row[_ngcontent-%COMP%]{display:flex}.status-line[_ngcontent-%COMP%] .status-content[_ngcontent-%COMP%] .status-label[_ngcontent-%COMP%]{color:#0009}.sub-info-line[_ngcontent-%COMP%]{padding-bottom:16px}.sub-info-line[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:10px;color:#777;padding-left:4px;text-overflow:ellipsis;word-wrap:break-word}.finish-page[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.finish-page[_ngcontent-%COMP%] .mount-finish-label[_ngcontent-%COMP%]{font-size:14px;color:#56657bdb}.tooltip-content[_ngcontent-%COMP%]{position:relative}.tooltip-content[_ngcontent-%COMP%] .tooltip-icon[_ngcontent-%COMP%]{cursor:pointer;margin-left:7px;font-size:18px;color:#0009}.tooltip-content[_ngcontent-%COMP%]:hover #tooltip[_ngcontent-%COMP%]{visibility:visible;opacity:1}.tooltip-content[_ngcontent-%COMP%] #tooltip[_ngcontent-%COMP%]{position:fixed;max-width:400px;height:-moz-fit-content;height:fit-content;visibility:hidden;background-color:#fff;padding:10px;box-sizing:border-box;border-radius:5px;font-size:14px;box-shadow:#0f0f0f0d 0 0 0 1px,#0f0f0f1a 0 3px 6px,#0f0f0f1a 0 9px 24px;z-index:100;margin-bottom:81px;opacity:0;transition:opacity .3s;color:#000000de;word-spacing:1px}.tooltip-content[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{padding-left:5px;cursor:pointer}.select-comp[_ngcontent-%COMP%]{position:relative;max-width:420px;width:100%}.align-middle[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center}.warning-status-title[_ngcontent-%COMP%]{margin-bottom:10px;color:#cd3d64;font-size:14px}.mt-40[_ngcontent-%COMP%]{margin-top:40px}.tag[_ngcontent-%COMP%]{display:flex;align-items:center;padding:2px 10px;border-radius:10px;font-size:12px;color:#56657b;background-color:#56657b1a}.tag.alarm[_ngcontent-%COMP%]{color:#1f89e5;background-color:#1f89e51a}.tag.restore[_ngcontent-%COMP%]{color:#56657b;background-color:#56657b1a}.tag.disable-tag[_ngcontent-%COMP%]{color:#00000061;background-color:#56657b1a}.tag[_ngcontent-%COMP%]:not(:first-child){margin-left:5px}.tag.arming[_ngcontent-%COMP%]{font-size:14px;background-color:#e3e8ee;color:#55647b;-webkit-user-select:none;user-select:none}.tag.arming.voltage[_ngcontent-%COMP%]{background-color:#1e88e5;color:#fff}.tag.arming.armed[_ngcontent-%COMP%]{background-color:#cd3d64;color:#fff}.tag.arming.disarmed[_ngcontent-%COMP%]{background-color:#1ea675;color:#fff}.tag.alarm-tag[_ngcontent-%COMP%]{background-color:#cd3d64;color:#fff}.select-item-box[_ngcontent-%COMP%]{font-size:14px;color:#8792a2;cursor:pointer}.select-item-box[_ngcontent-%COMP%] .check-box[_ngcontent-%COMP%]{width:20px}.select-item-box[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%]{color:#000000de}.select-item-box[_ngcontent-%COMP%]:not(:first-child){margin-left:10px}.arm-txt[_ngcontent-%COMP%]{font-size:13px;color:#ff7f16}.disarm-txt[_ngcontent-%COMP%]{font-size:13px;color:#1ea675}.go-to-guide[_ngcontent-%COMP%]{color:#00000061;text-decoration:underline;cursor:pointer}.instruction-content[_ngcontent-%COMP%]{position:relative;color:#fff}.instruction-content[_ngcontent-%COMP%] .instruction[_ngcontent-%COMP%]{position:absolute;bottom:46px;left:calc(-50% + 22px);min-width:250px;max-width:250px;height:-moz-fit-content;height:fit-content;background-color:#292929;padding:20px;box-sizing:border-box;border-radius:5px;font-size:14px;box-shadow:0 0 10px #0000004d;z-index:100;transition:opacity .3s;color:#fff;word-spacing:1px}.instruction-content[_ngcontent-%COMP%] .instruction[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:-24px;left:calc(50% - 12px);border-width:12px;border-style:solid;border-color:#292929 transparent transparent transparent;cursor:pointer}.instruction-content[_ngcontent-%COMP%] .instruction.under[_ngcontent-%COMP%]{bottom:initial;top:30px}.instruction-content[_ngcontent-%COMP%] .instruction.under[_ngcontent-%COMP%]:after{bottom:initial;top:-24px;border-color:transparent transparent #292929 transparent}.instruction-content[_ngcontent-%COMP%] .instruction.w-320[_ngcontent-%COMP%]{width:320px;min-width:320px;max-width:320px}.instruction-content[_ngcontent-%COMP%] .instruction[_ngcontent-%COMP%] .close-btn[_ngcontent-%COMP%]{position:absolute;display:flex;align-items:center;justify-content:center;right:-10px;top:-10px;width:32px;height:32px;border-radius:16px;background:#292929;border:1px solid rgba(255,255,255,.1);box-sizing:border-box;box-shadow:0 0 3px #0000001a;cursor:pointer}.instruction-content[_ngcontent-%COMP%] .instruction[_ngcontent-%COMP%] .instruction-item[_ngcontent-%COMP%]{color:#fff}.instruction-content[_ngcontent-%COMP%] .instruction[_ngcontent-%COMP%] .instruction-item[_ngcontent-%COMP%] .instruction-title[_ngcontent-%COMP%]{margin-bottom:5px;color:#fff}.instruction-content[_ngcontent-%COMP%] .instruction[_ngcontent-%COMP%] .instruction-item[_ngcontent-%COMP%] .instruction-info[_ngcontent-%COMP%]{color:#fff9}.instruction-content[_ngcontent-%COMP%] .instruction[_ngcontent-%COMP%] .instruction-item[_ngcontent-%COMP%] .instruction-icon[_ngcontent-%COMP%]{cursor:pointer;margin-right:5px;font-size:14px;color:#fff}.instruction-content[_ngcontent-%COMP%] .instruction[_ngcontent-%COMP%] .instruction-item[_ngcontent-%COMP%] .button-desc[_ngcontent-%COMP%]{align-items:center;justify-content:center;width:-moz-fit-content;width:fit-content;padding:4px 7px;color:#fff;background:#1E88E5;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;box-shadow:0 0 5px #0000001a;border-radius:3px;-webkit-user-select:none;user-select:none}.instruction-content[_ngcontent-%COMP%] .instruction[_ngcontent-%COMP%] .instruction-item[_ngcontent-%COMP%] .lh-22[_ngcontent-%COMP%]{line-height:22px}.instruction-content[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.full-area[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}.m-10[_ngcontent-%COMP%]{margin:10px}.more-content[_ngcontent-%COMP%]{position:relative;justify-content:flex-end}.more-content[_ngcontent-%COMP%] .more-icon[_ngcontent-%COMP%]{cursor:pointer;padding:0 4px;border-radius:4px;margin-right:10px;font-size:18px;color:#0009;background-color:#fff;-webkit-user-select:none;user-select:none}.more-content[_ngcontent-%COMP%] .more-icon[_ngcontent-%COMP%]:hover, .more-content[_ngcontent-%COMP%] .more-icon.show[_ngcontent-%COMP%]{box-shadow:0 0 4px gray}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{width:100%;background-color:#fff;color:#000000de;box-sizing:border-box;border-radius:6px;font-size:14px;box-shadow:0 0 10px #0000001a;border:1px solid rgba(0,0,0,.1);position:absolute;z-index:100;top:40px;right:0px;transition:opacity .3s}.more-content[_ngcontent-%COMP%] .more.tts-more[_ngcontent-%COMP%]{visibility:hidden;opacity:0;position:fixed;width:80px;bottom:initial;top:21px;right:initial}.more-content[_ngcontent-%COMP%] .more.tts-more[_ngcontent-%COMP%] .more-item[_ngcontent-%COMP%]{padding:7px}.more-content[_ngcontent-%COMP%] .more.visible[_ngcontent-%COMP%], .more-content[_ngcontent-%COMP%] .more.test[_ngcontent-%COMP%]{visibility:visible;opacity:1}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-title[_ngcontent-%COMP%]{color:#000000de;margin-bottom:5px;font-weight:500}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-content[_ngcontent-%COMP%]{padding:5px 0;color:#0009;margin-bottom:14px}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-content[_ngcontent-%COMP%]:last-child{margin-bottom:0}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-item[_ngcontent-%COMP%]{padding:7px 14PX;box-sizing:border-box;font-size:14px;font-weight:400;color:#000000de}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-item[_ngcontent-%COMP%]:hover{background-color:#f7fafc}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-item[_ngcontent-%COMP%] .danger[_ngcontent-%COMP%]{color:#f1556d}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .item-icon[_ngcontent-%COMP%]{color:#8792a2;margin-right:8px}.transition[_ngcontent-%COMP%]{transition:.2s}.transition.rotate-reverse[_ngcontent-%COMP%]{transform:rotate(180deg)}.success[_ngcontent-%COMP%]{background-color:#1ea675;box-shadow:0 0 5px #0000001a;border-radius:5px;color:#fff}.failed[_ngcontent-%COMP%]{background-color:#cd3d64;box-shadow:0 0 5px #0000001a;border-radius:5px;color:#fff}.page-loader[_ngcontent-%COMP%]{margin:12px auto;position:absolute;top:calc(50% - 50px);left:calc(50% - 50px);width:100px}.page-loader[_ngcontent-%COMP%] .inner-loader[_ngcontent-%COMP%]{position:relative;width:30px!important;height:30px}.chip-container[_ngcontent-%COMP%]{display:flex;max-width:420px;min-height:32px;background-color:#fff;border:1px solid rgba(0,0,0,.1);border-radius:5px;padding:5px 10px 0;box-sizing:border-box;cursor:pointer}.chip-container.no-edit[_ngcontent-%COMP%]{cursor:initial}.chip-container[_ngcontent-%COMP%] .chip-objects[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;width:100%}.chip-container[_ngcontent-%COMP%] .chip-objects[_ngcontent-%COMP%] .chip[_ngcontent-%COMP%]{display:flex;height:20px;padding:3px 5px;border-radius:3px;background-color:#e3e8ee;color:#55647b;margin-right:5px;margin-bottom:5px;align-items:center;font-size:12px;font-family:"Roboto";box-sizing:border-box}.chip-container[_ngcontent-%COMP%] .chip-objects[_ngcontent-%COMP%] .chip[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:12px;border-radius:12px;cursor:pointer;margin-left:6px;height:16px;color:#55647b;padding:2px}.chip-container[_ngcontent-%COMP%] .chip-objects[_ngcontent-%COMP%] .chip[_ngcontent-%COMP%]:last-child{margin-right:0}.chip-container[_ngcontent-%COMP%] .zone-input[_ngcontent-%COMP%]{flex:1;border:none!important;padding:0;margin:0 0 0 2px;padding:0!important;min-width:36px;height:28px}.chip-select[_ngcontent-%COMP%]{position:absolute;max-width:420px;width:100%;max-height:200px;margin-top:0!important;overflow:overlay;font-size:14px;color:#000000de;box-shadow:0 2px 5px #0000004d;background:#fff;z-index:1}.chip-select[_ngcontent-%COMP%] .chip-select-option[_ngcontent-%COMP%]{width:100%;padding:10px;box-sizing:border-box;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.chip-select[_ngcontent-%COMP%] .chip-select-option.selected[_ngcontent-%COMP%]{color:#2383e2}.chip-select[_ngcontent-%COMP%] .chip-select-option[_ngcontent-%COMP%]:hover{background-color:#0000001a}.time-picker[_ngcontent-%COMP%]{display:flex;max-width:420px;height:32px;background-color:#fff;border:1px solid rgba(0,0,0,.1);border-radius:5px;padding:5px 10px;box-sizing:border-box}.time-picker[_ngcontent-%COMP%] select.transparent[_ngcontent-%COMP%]{border:none!important;width:20px!important;padding:0!important;box-shadow:none;height:auto;font-size:14px;background-image:none!important}.time-picker[_ngcontent-%COMP%] select.transparent.width-25[_ngcontent-%COMP%]{width:25px!important}.time-picker[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{border:none!important;width:20px!important;padding:0!important}.time-picker[_ngcontent-%COMP%] .transparent.width-25[_ngcontent-%COMP%]{width:25px!important}.input-container[_ngcontent-%COMP%]{display:flex;max-width:180px;height:32px;background-color:#fff;border:1px solid rgba(0,0,0,.1);border-radius:5px;padding:5px 10px;box-sizing:border-box}.input-container[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{border:none!important;width:20px!important;padding:0!important}.input-container[_ngcontent-%COMP%] .transparent.width-50[_ngcontent-%COMP%]{width:50px!important}.item-container[_ngcontent-%COMP%]:not(:first-child){padding-top:30px}.item-footer[_ngcontent-%COMP%]{padding:0 20px;height:10px}.item-footer[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{height:100%;border-bottom:1px solid rgba(0,0,0,.1)}.item-desc[_ngcontent-%COMP%]{font-weight:400;font-size:12px;line-height:14px;color:#55647b}.selectitem[_ngcontent-%COMP%]{cursor:pointer}.selectitem[_ngcontent-%COMP%]:hover{background:#F7FAFC}.no-info[_ngcontent-%COMP%]{color:#00000061}.enable-tag[_ngcontent-%COMP%]{font-size:12px;color:#1e88e5}.disable-tag[_ngcontent-%COMP%]{font-size:12px;color:#55647b}.type-label[_ngcontent-%COMP%]{color:#55647b;min-width:-moz-fit-content;min-width:fit-content;display:flex;align-items:center;font-size:12px}.ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.txt-danger[_ngcontent-%COMP%]{color:#cd3d64}.width-64[_ngcontent-%COMP%]{width:64px!important}textarea[_ngcontent-%COMP%]{resize:none;width:100%;max-width:420px;box-sizing:border-box;padding:7px 10px;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}textarea[_ngcontent-%COMP%]::placeholder{color:#0000004d}.tt-week[_ngcontent-%COMP%]{display:flex;flex-direction:column;grid-gap:10px;gap:10px}.tt-day[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;grid-gap:10px;gap:10px}.tt-day[_ngcontent-%COMP%] .tt-title[_ngcontent-%COMP%]{font-size:12px;color:#0009;width:24px;display:flex;justify-content:center;align-items:center}.tt-day[_ngcontent-%COMP%] .tt-times[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.2);border-radius:5px;width:400px;height:30px;cursor:pointer}.tt-day[_ngcontent-%COMP%] .times[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;grid-gap:5px;gap:5px;margin:0 10px}.tt-day[_ngcontent-%COMP%] .time[_ngcontent-%COMP%]{background-color:#e3e8ee;border-radius:3px;padding:2px 5px;font-size:13px;font-weight:500;display:flex;flex-direction:row;justify-content:center;align-items:center;grid-gap:5px;gap:5px}.tt-day[_ngcontent-%COMP%] .time-text[_ngcontent-%COMP%]{color:#55647b}.tt-day[_ngcontent-%COMP%] .time-text[_ngcontent-%COMP%]:hover{color:#1e88e5}.tt-day[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{font-size:16px;color:#55647b}.tt-day[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]:hover{color:#1e88e5}.tt-day[_ngcontent-%COMP%] .add-icon[_ngcontent-%COMP%]{font-size:18px;color:#00000061}.tt-day[_ngcontent-%COMP%] .no-time[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;grid-gap:3px;gap:3px;height:100%;color:#00000061}.http-request-method-select[_ngcontent-%COMP%]{font-weight:600}.http-request-method-select.GET[_ngcontent-%COMP%]{color:#1ea675}.http-request-method-select.POST[_ngcontent-%COMP%]{color:#f5925e}.http-request-method-select.PUT[_ngcontent-%COMP%]{color:#1e88e5}.http-request-method-select.DELETE[_ngcontent-%COMP%]{color:#cd3d64}.http-request-method-select.PATCH[_ngcontent-%COMP%]{color:#fb5c07}.codemirror-wrapper[_ngcontent-%COMP%]{width:420px;height:200px;border:solid 1px rgba(0,0,0,.1)}.http-request-failed-label[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:#cd3d64;display:flex;flex-direction:row;grid-gap:10px;gap:10px;width:420px;margin-bottom:5px;justify-content:flex-end}.tc-week[_ngcontent-%COMP%]{display:flex;flex-direction:column;grid-gap:10px;gap:10px}.tc-day[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;grid-gap:10px;gap:10px;position:relative}.tc-day[_ngcontent-%COMP%] .tc-title[_ngcontent-%COMP%]{font-size:12px;color:#0009;width:24px;display:flex;justify-content:center;align-items:center}.tc-day[_ngcontent-%COMP%] .tc-times[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.2);min-width:400px;width:400px;max-width:400px;height:36px;cursor:pointer}.tc-day[_ngcontent-%COMP%] .tc-option[_ngcontent-%COMP%]{cursor:pointer}.tc-day[_ngcontent-%COMP%] .times[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;grid-gap:5px;gap:5px;position:relative}.tc-day[_ngcontent-%COMP%] .time[_ngcontent-%COMP%]{height:100%;background-color:#bcdbf7;position:absolute;box-shadow:inset 1.5px 0 #1e88e5,inset -1.5px 0 #1e88e5;display:flex}.tc-day[_ngcontent-%COMP%] .time[_ngcontent-%COMP%]:hover{background-color:#b3d2f1}.tc-day[_ngcontent-%COMP%] .time-wrapper[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;justify-content:center;align-items:center;grid-gap:5px;gap:5px;padding:0 3px;flex-wrap:wrap}.tc-day[_ngcontent-%COMP%] .time-text[_ngcontent-%COMP%]{color:#1e88e5;font-size:12px;font-weight:500}.tc-day[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{font-size:16px;color:#55647b}.tc-day[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]:hover{color:#1e88e5}.tc-day[_ngcontent-%COMP%] .add-icon[_ngcontent-%COMP%]{font-size:18px;color:#00000061}.tc-day[_ngcontent-%COMP%] .no-time[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;grid-gap:3px;gap:3px;height:100%;color:#00000061}.ai-operator[_ngcontent-%COMP%]{margin-top:20px!important;display:flex;flex-direction:row;align-items:flex-start;grid-gap:10px;gap:10px}.ai-operator-right[_ngcontent-%COMP%]{display:flex;flex-direction:column;grid-gap:5px;gap:5px}'],data:{animation:[Xt.OP]}}),o})();const Li=["actionMenus"];function Vi(o,r){1&o&&t._UZ(0,"div",7)}function $i(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",18),t.NdJ("click",function(){return t.CHM(e),t.oxw(3).openAutomationModal()}),t.TgZ(1,"div",19),t._uU(2,"Add Rule"),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(3);t.ekj("disabled",e.isLoading)}}function ji(o,r){if(1&o&&(t.TgZ(0,"div",15),t._UZ(1,"div",16),t.YNc(2,$i,3,2,"div",17),t.qZA()),2&o){const e=t.oxw(2);t.xp6(2),t.Q6J("ngIf",e.autoRuleCreatePermission)}}function Wi(o,r){if(1&o&&(t.TgZ(0,"div",29),t._UZ(1,"comp-icon",42),t.TgZ(2,"div",31),t.TgZ(3,"div",32),t.TgZ(4,"div",33),t._uU(5),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("icon","info")("size","20")("color","#CD3D64"),t.xp6(4),t.hij("This rule can only be used when the arming source is ",e.armingSourceLabel,". Please change the arming source or create a new rule.")}}function Ki(o,r){1&o&&(t.TgZ(0,"div",29),t._UZ(1,"comp-icon",42),t.TgZ(2,"div",31),t.TgZ(3,"div",32),t.TgZ(4,"div",33),t._uU(5,"This rule is no longer valid. It is possible that the device involved has been deleted. Please change the rule settings or delete the rule."),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function Gi(o,r){1&o&&(t.TgZ(0,"div",29),t._UZ(1,"comp-icon",42),t.TgZ(2,"div",31),t.TgZ(3,"div",32),t.TgZ(4,"div",33),t._uU(5,"The AI operator for this rule will not function for all cameras. The CHeKT AI filtering engine is not enabled for some or all of the cameras."),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function Xi(o,r){1&o&&(t.TgZ(0,"div",29),t._UZ(1,"comp-icon",42),t.TgZ(2,"div",31),t.TgZ(3,"div",32),t.TgZ(4,"div",33),t._uU(5,"Time trigger or HTTP request features are not available in the current bridge version. Please edit, delete this rule or update to FW version 3.7 or higher."),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function ta(o,r){if(1&o&&(t.TgZ(0,"div",29),t._UZ(1,"comp-icon",42),t.TgZ(2,"div",31),t.TgZ(3,"div",32),t.TgZ(4,"div",33),t._uU(5),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("icon","note")("size","20")("color","#1E88E5"),t.xp6(4),t.Oqu(e.note)}}function ea(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",50),t.NdJ("click",function(i){t.CHM(e);const a=t.oxw(2).$implicit,c=t.oxw(3);return i.stopPropagation(),c.editRule(a,"info")}),t._uU(1,"Edit"),t.qZA()}}function na(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",50),t.NdJ("click",function(i){t.CHM(e);const a=t.oxw(2).$implicit,c=t.oxw(3);return i.stopPropagation(),c.toggleRuleEnabled(i,a)}),t._uU(1),t.qZA()}if(2&o){const e=t.oxw(2).$implicit;t.xp6(1),t.hij("",e.enabled?"Disable":"Enable"," Rule")}}function oa(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",51),t.NdJ("click",function(i){t.CHM(e);const a=t.oxw(2).$implicit,c=t.oxw(3);return i.stopPropagation(),c.deleteRuleDialog(a)}),t._uU(1,"Delete"),t.qZA()}}function ia(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",43,44),t.NdJ("mouseenter",function(){t.CHM(e);const i=t.oxw().$implicit;return t.oxw(3).setRuleMorePosition("rule",i)}),t.TgZ(2,"i",45),t.NdJ("click",function(i){t.CHM(e);const a=t.oxw().$implicit,c=t.oxw(3);return i.stopPropagation(),c.toggleMenu(a)}),t._uU(3,"more_horiz"),t.qZA(),t.TgZ(4,"div",46,47),t.YNc(6,ea,2,0,"div",48),t.YNc(7,na,2,1,"div",48),t.YNc(8,oa,2,0,"div",49),t.qZA(),t.qZA()}if(2&o){const e=t.oxw().$implicit,n=t.oxw(3);t.Q6J("id","rule-"+e.id),t.xp6(2),t.ekj("show",e.isShowMenu),t.xp6(2),t.ekj("visible",e.isShowMenu),t.Q6J("id","rule-more-"+e.id),t.xp6(2),t.Q6J("ngIf",n.autoRuleUpdatePermission),t.xp6(1),t.Q6J("ngIf",n.autoRuleUpdatePermission),t.xp6(1),t.Q6J("ngIf",n.autoRuleDeletePermission)}}function aa(o,r){1&o&&(t.TgZ(0,"div",58),t._UZ(1,"comp-icon",42),t.TgZ(2,"div",31),t.TgZ(3,"div",32),t.TgZ(4,"div",33),t._uU(5,"This source event contains deleted camera(s). Rules may not work as expected. Please remove the deleted camera from the rule."),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function ra(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4,"Camera Triggered"),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.TgZ(6,"div",55),t.TgZ(7,"div",56),t._uU(8),t.qZA(),t.qZA(),t.qZA(),t.YNc(9,aa,6,3,"div",57),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Q6J("icon","zone_trigger")("size","20")("color","#000"),t.xp6(6),t.Oqu(e.trigger.camera.is_all_camera?"All Cameras":e.trigger.camera.cameras),t.xp6(1),t.Q6J("ngIf",!e.trigger.isValid)}}function ca(o,r){if(1&o&&(t.TgZ(0,"div",55),t._uU(1),t.qZA()),2&o){const e=t.oxw(2).$implicit;t.ekj("armed",e.trigger.arming.state)("disarmed",!e.trigger.arming.state),t.xp6(1),t.Oqu(e.trigger.arming.state?"When Site is Armed":"When Site is Disarmed")}}function la(o,r){if(1&o&&(t.TgZ(0,"div",55),t._uU(1),t.qZA()),2&o){const e=t.oxw(2).$implicit;t.ekj("armed",e.trigger.arming.state)("disarmed",!e.trigger.arming.state),t.xp6(1),t.Oqu(e.trigger.arming.state?"While Armed":"While Disarmed")}}function sa(o,r){if(1&o&&(t.TgZ(0,"div",55),t.TgZ(1,"div",56),t._uU(2),t.qZA(),t.qZA()),2&o){const e=t.oxw(2).$implicit;t.xp6(2),t.Oqu(e.trigger.arming.is_all_bridge?"Any Bridge":e.trigger.arming.bridges)}}function da(o,r){1&o&&(t.TgZ(0,"div",58),t._UZ(1,"comp-icon",42),t.TgZ(2,"div",31),t.TgZ(3,"div",32),t.TgZ(4,"div",33),t._uU(5,"This source event contains deleted camera(s). Rules may not work as expected. Please remove the deleted camera from the rule."),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function ga(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.YNc(6,ca,2,5,"div",59),t.YNc(7,la,2,5,"div",59),t.YNc(8,sa,3,1,"div",60),t.qZA(),t.YNc(9,da,6,3,"div",57),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Q6J("icon","arming_change")("size","20")("color","#000"),t.xp6(2),t.Oqu(e.trigger.arming.is_status?"System Status":"System State Change"),t.xp6(2),t.Q6J("ngIf",0===e.trigger.arming.is_status),t.xp6(1),t.Q6J("ngIf",1===e.trigger.arming.is_status),t.xp6(1),t.Q6J("ngIf",2===e.arming_source),t.xp6(1),t.Q6J("ngIf",!e.trigger.isValid)}}function _a(o,r){1&o&&(t.TgZ(0,"div",55),t._uU(1,"When System Entry Begins"),t.qZA())}function pa(o,r){1&o&&(t.TgZ(0,"div",55),t._uU(1,"During System Entry"),t.qZA())}function ma(o,r){if(1&o&&(t.TgZ(0,"div",55),t.TgZ(1,"div",56),t._uU(2),t.qZA(),t.qZA()),2&o){const e=t.oxw(2).$implicit;t.xp6(2),t.Oqu(e.trigger.enter.is_all_bridge?"Any Bridge":e.trigger.enter.bridges)}}function ua(o,r){1&o&&(t.TgZ(0,"div",58),t._UZ(1,"comp-icon",42),t.TgZ(2,"div",31),t.TgZ(3,"div",32),t.TgZ(4,"div",33),t._uU(5,"This source event contains deleted camera(s). Rules may not work as expected. Please remove the deleted camera from the rule."),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function fa(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.YNc(6,_a,2,0,"div",60),t.YNc(7,pa,2,0,"div",60),t.YNc(8,ma,3,1,"div",60),t.qZA(),t.YNc(9,ua,6,3,"div",57),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Q6J("icon","arming_change")("size","20")("color","#000"),t.xp6(2),t.Oqu(e.trigger.enter.is_while?"System Status":"System State Change"),t.xp6(2),t.Q6J("ngIf",0===e.trigger.enter.is_while),t.xp6(1),t.Q6J("ngIf",1===e.trigger.enter.is_while),t.xp6(1),t.Q6J("ngIf",2===e.arming_source),t.xp6(1),t.Q6J("ngIf",!e.trigger.isValid)}}function ha(o,r){1&o&&(t.TgZ(0,"div",55),t._uU(1,"When System Exit Begins"),t.qZA())}function Ca(o,r){1&o&&(t.TgZ(0,"div",55),t._uU(1,"During System Exit"),t.qZA())}function ba(o,r){if(1&o&&(t.TgZ(0,"div",55),t.TgZ(1,"div",56),t._uU(2),t.qZA(),t.qZA()),2&o){const e=t.oxw(2).$implicit;t.xp6(2),t.Oqu(e.trigger.exit.is_all_bridge?"Any Bridge":e.trigger.exit.bridges)}}function Ma(o,r){1&o&&(t.TgZ(0,"div",58),t._UZ(1,"comp-icon",42),t.TgZ(2,"div",31),t.TgZ(3,"div",32),t.TgZ(4,"div",33),t._uU(5,"This source event contains deleted camera(s). Rules may not work as expected. Please remove the deleted camera from the rule."),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function xa(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.YNc(6,ha,2,0,"div",60),t.YNc(7,Ca,2,0,"div",60),t.YNc(8,ba,3,1,"div",60),t.qZA(),t.YNc(9,Ma,6,3,"div",57),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Q6J("icon","arming_change")("size","20")("color","#000"),t.xp6(2),t.Oqu(e.trigger.exit.is_while?"System Status":"System State Change"),t.xp6(2),t.Q6J("ngIf",0===e.trigger.exit.is_while),t.xp6(1),t.Q6J("ngIf",1===e.trigger.exit.is_while),t.xp6(1),t.Q6J("ngIf",2===e.arming_source),t.xp6(1),t.Q6J("ngIf",!e.trigger.isValid)}}function Oa(o,r){1&o&&(t.TgZ(0,"div",55),t._uU(1,"When System Alarm Begins"),t.qZA())}function Pa(o,r){1&o&&(t.TgZ(0,"div",55),t._uU(1,"While In Alarm (Bell Duration)"),t.qZA())}function va(o,r){if(1&o&&(t.TgZ(0,"div",55),t.TgZ(1,"div",56),t._uU(2),t.qZA(),t.qZA()),2&o){const e=t.oxw(2).$implicit;t.xp6(2),t.Oqu(e.trigger.alert.is_all_bridge?"Any Bridge":e.trigger.alert.bridges)}}function ya(o,r){1&o&&(t.TgZ(0,"div",58),t._UZ(1,"comp-icon",42),t.TgZ(2,"div",31),t.TgZ(3,"div",32),t.TgZ(4,"div",33),t._uU(5,"This source event contains deleted camera(s). Rules may not work as expected. Please remove the deleted camera from the rule."),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function wa(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.YNc(6,Oa,2,0,"div",60),t.YNc(7,Pa,2,0,"div",60),t.YNc(8,va,3,1,"div",60),t.qZA(),t.YNc(9,ya,6,3,"div",57),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Q6J("icon","arming_change")("size","20")("color","#000"),t.xp6(2),t.Oqu(e.trigger.alert.is_while?"System Status":"System State Change"),t.xp6(2),t.Q6J("ngIf",0===e.trigger.alert.is_while),t.xp6(1),t.Q6J("ngIf",1===e.trigger.alert.is_while),t.xp6(1),t.Q6J("ngIf",2===e.arming_source),t.xp6(1),t.Q6J("ngIf",!e.trigger.isValid)}}function Aa(o,r){1&o&&(t.TgZ(0,"div",62),t._UZ(1,"comp-icon",42),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function Ta(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4,"Monitoring Portal"),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.TgZ(6,"div",55),t._uU(7),t.qZA(),t.qZA(),t.YNc(8,Aa,2,3,"div",61),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Q6J("icon","monitoring_portal")("size","20")("color","#000"),t.xp6(4),t.ekj("armed",e.trigger.monitoring_portal.is_status)("disarmed",!e.trigger.monitoring_portal.is_status),t.xp6(1),t.Oqu(e.trigger.monitoring_portal.is_status?"While Open":"Opened"),t.xp6(1),t.Q6J("ngIf",!e.trigger.isValid)}}function ka(o,r){if(1&o&&(t.TgZ(0,"div",55),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.xp6(1),t.AsE(" ",e.name||"No Data"," ",e.timesText||"No Data"," ")}}function Za(o,r){if(1&o&&(t.TgZ(0,"ng-templete"),t.TgZ(1,"div",52),t.TgZ(2,"div",11),t._UZ(3,"comp-icon",42),t.TgZ(4,"div",53),t._uU(5,"Time Trigger"),t.qZA(),t.qZA(),t.TgZ(6,"div",54),t.YNc(7,ka,2,2,"div",63),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(3),t.Q6J("icon","alarm_on")("size","20")("color","#000"),t.xp6(4),t.Q6J("ngForOf",e.trigger.times.daysOfWeek)}}function Ra(o,r){1&o&&(t.TgZ(0,"div",62),t._UZ(1,"comp-icon",42),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function Sa(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.TgZ(6,"div",55),t.TgZ(7,"div",56),t._uU(8),t.qZA(),t.qZA(),t.YNc(9,Ra,2,3,"div",61),t.qZA(),t.qZA()),2&o){const e=r.$implicit;t.xp6(2),t.Q6J("icon","record_action")("size","20")("color","#000"),t.xp6(2),t.Oqu(e.is_playback?"2 Minute Pre-Recording":"Record Video (20s)"),t.xp6(4),t.Oqu(e.camerasLabel||"No Data"),t.xp6(1),t.Q6J("ngIf",!e.isValid)}}function qa(o,r){if(1&o&&t.YNc(0,Sa,10,6,"div",64),2&o){const e=t.oxw().$implicit;t.Q6J("ngForOf",e.action.records)}}function Ia(o,r){1&o&&(t.TgZ(0,"div",62),t._UZ(1,"comp-icon",42),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function za(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4,"Talk Down"),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.TgZ(6,"div",55),t.TgZ(7,"div",56),t._uU(8),t.qZA(),t.qZA(),t.TgZ(9,"div",55),t.TgZ(10,"div",56),t._uU(11),t.qZA(),t.qZA(),t.TgZ(12,"div",55),t._uU(13),t.qZA(),t.qZA(),t.YNc(14,Ia,2,3,"div",61),t.qZA()),2&o){const e=r.$implicit;t.xp6(2),t.Q6J("icon","talkdown_action")("size","20")("color","#000"),t.xp6(6),t.Oqu(e.tts.text),t.xp6(3),t.Oqu(e.speakersLabel),t.xp6(2),t.hij("",e.playback_loop_count," time(s)"),t.xp6(1),t.Q6J("ngIf",!e.isValid)}}function Ea(o,r){if(1&o&&t.YNc(0,za,15,7,"div",64),2&o){const e=t.oxw().$implicit;t.Q6J("ngForOf",e.action.talkdowns)}}function Na(o,r){1&o&&(t.TgZ(0,"div",66),t._UZ(1,"comp-icon",42),t.TgZ(2,"div",31),t.TgZ(3,"div",32),t.TgZ(4,"div",33),t._uU(5,"The relay has been disabled."),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function Ja(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.qZA(),t.TgZ(3,"div",53),t._uU(4,"Relay"),t.qZA(),t.TgZ(5,"div",54),t.TgZ(6,"div",55),t._uU(7),t.qZA(),t.TgZ(8,"div",55),t._uU(9),t.qZA(),t.qZA(),t.YNc(10,Na,6,3,"div",65),t.qZA()),2&o){const e=r.$implicit;t.xp6(2),t.Q6J("icon",(null==e.relay?null:e.relay.energized_icon)||"wb_incandescent")("size","20")("color","#000"),t.xp6(4),t.ekj("no-data",!e.relay.name),t.xp6(1),t.Oqu(e.relay.name||"No Name"),t.xp6(2),t.Oqu(e.operationLabel||"No Data"),t.xp6(1),t.Q6J("ngIf",!e.isValid)}}function Da(o,r){if(1&o&&t.YNc(0,Ja,11,8,"div",64),2&o){const e=t.oxw().$implicit;t.Q6J("ngForOf",e.action.relays)}}function Ha(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4,"Http Request"),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.TgZ(6,"div",55),t._uU(7),t.qZA(),t.TgZ(8,"div",55),t.TgZ(9,"div",56),t._uU(10),t.qZA(),t.qZA(),t.TgZ(11,"div",55),t._uU(12),t.qZA(),t.qZA(),t.qZA()),2&o){const e=r.$implicit;t.xp6(2),t.Q6J("icon","http")("size","20")("color","#000"),t.xp6(4),t.Tol(e.method),t.ekj("no-data",!e.method),t.xp6(1),t.Oqu(e.method||"No Data"),t.xp6(3),t.Oqu(e.url||"No Data"),t.xp6(2),t.Oqu(e.authType||"No Data")}}function Ua(o,r){if(1&o&&t.YNc(0,Ha,13,10,"div",64),2&o){const e=t.oxw().$implicit;t.Q6J("ngForOf",e.action.https)}}function Qa(o,r){if(1&o&&(t.TgZ(0,"div",70),t._uU(1),t.qZA()),2&o){const e=r.$implicit;t.xp6(1),t.AsE("",e.startTime," - ",e.endTime,"")}}function Ba(o,r){if(1&o&&(t.TgZ(0,"div"),t.TgZ(1,"div",68),t.TgZ(2,"div"),t._uU(3),t.qZA(),t.YNc(4,Qa,2,2,"div",69),t.qZA(),t.qZA()),2&o){const e=r.$implicit;t.xp6(3),t.Oqu(e.title),t.xp6(1),t.Q6J("ngForOf",e.times)}}function Ya(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4,"Time"),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.YNc(6,Ba,5,2,"div",67),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Q6J("icon","time_condition")("size","20")("color","#000"),t.xp6(4),t.Q6J("ngForOf",e.condition.week)}}function Fa(o,r){1&o&&(t.TgZ(0,"div",73),t._uU(1,"Use AI Operator"),t.qZA())}function La(o,r){1&o&&(t.TgZ(0,"div",62),t._UZ(1,"comp-icon",42),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function Va(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4,"System Status"),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.TgZ(6,"div",71),t._uU(7),t.qZA(),t.YNc(8,Fa,2,0,"div",72),t.qZA(),t.YNc(9,La,2,3,"div",61),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Q6J("icon","arming_condition")("size","20")("color","#000"),t.xp6(4),t.Q6J("ngClass",e.condition.arming.state?"armed":"disarmed"),t.xp6(1),t.Oqu(e.condition.arming.state?"While Armed":"While Disarmed"),t.xp6(1),t.Q6J("ngIf",e.condition.ai_operator),t.xp6(1),t.Q6J("ngIf",!e.condition.arming.isValid)}}function $a(o,r){1&o&&(t.TgZ(0,"div",73),t._uU(1,"Use AI Operator"),t.qZA())}function ja(o,r){1&o&&(t.TgZ(0,"div",62),t._UZ(1,"comp-icon",42),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function Wa(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4,"System Status"),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.TgZ(6,"div",55),t._uU(7,"During System Entry"),t.qZA(),t.YNc(8,$a,2,0,"div",72),t.qZA(),t.YNc(9,ja,2,3,"div",61),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Q6J("icon","arming_condition")("size","20")("color","#000"),t.xp6(6),t.Q6J("ngIf",e.condition.ai_operator),t.xp6(1),t.Q6J("ngIf",!e.condition.enter.isValid)}}function Ka(o,r){1&o&&(t.TgZ(0,"div",73),t._uU(1,"Use AI Operator"),t.qZA())}function Ga(o,r){1&o&&(t.TgZ(0,"div",62),t._UZ(1,"comp-icon",42),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function Xa(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4,"System Status"),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.TgZ(6,"div",55),t._uU(7,"During System Exit"),t.qZA(),t.YNc(8,Ka,2,0,"div",72),t.qZA(),t.YNc(9,Ga,2,3,"div",61),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Q6J("icon","arming_condition")("size","20")("color","#000"),t.xp6(6),t.Q6J("ngIf",e.condition.ai_operator),t.xp6(1),t.Q6J("ngIf",!e.condition.exit.isValid)}}function tr(o,r){1&o&&(t.TgZ(0,"div",73),t._uU(1,"Use AI Operator"),t.qZA())}function er(o,r){1&o&&(t.TgZ(0,"div",62),t._UZ(1,"comp-icon",42),t.qZA()),2&o&&(t.xp6(1),t.Q6J("icon","warning")("size","20")("color","#CD3D64"))}function nr(o,r){if(1&o&&(t.TgZ(0,"div",52),t.TgZ(1,"div",11),t._UZ(2,"comp-icon",42),t.TgZ(3,"div",53),t._uU(4,"System Status"),t.qZA(),t.qZA(),t.TgZ(5,"div",54),t.TgZ(6,"div",55),t._uU(7,"While In Alarm (Bell Duration)"),t.qZA(),t.YNc(8,tr,2,0,"div",72),t.qZA(),t.YNc(9,er,2,3,"div",61),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Q6J("icon","arming_condition")("size","20")("color","#000"),t.xp6(6),t.Q6J("ngIf",e.condition.ai_operator),t.xp6(1),t.Q6J("ngIf",!e.condition.alert.isValid)}}function or(o,r){1&o&&(t.TgZ(0,"div",74),t._uU(1,"No Condition"),t.qZA())}function ir(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",21),t.TgZ(1,"div",22),t.TgZ(2,"div",23),t.TgZ(3,"comp-icon",24),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw(3).toggleShowRule(a)}),t.qZA(),t.TgZ(4,"div",25),t._uU(5),t.qZA(),t.TgZ(6,"div",26),t._uU(7),t.qZA(),t.qZA(),t.TgZ(8,"div",27),t.YNc(9,Wi,6,4,"div",28),t.YNc(10,Ki,6,3,"div",28),t.YNc(11,Gi,6,3,"div",28),t.YNc(12,Xi,6,3,"div",28),t.YNc(13,ta,6,4,"div",28),t.TgZ(14,"div",29),t._UZ(15,"comp-icon",30),t.TgZ(16,"div",31),t.TgZ(17,"div",32),t.TgZ(18,"div",33),t._uU(19,"The minimum interval for this rule is 10 seconds. The rule cannot occur more than once within a 10 second period."),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.YNc(20,ia,9,9,"div",34),t.qZA(),t.qZA(),t.TgZ(21,"div",35),t.TgZ(22,"div",36),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw(3).editRule(a,"trigger")}),t.TgZ(23,"div",37),t._uU(24,"Source Event"),t.qZA(),t.TgZ(25,"div",38),t.YNc(26,ra,10,5,"div",39),t.YNc(27,ga,10,8,"div",39),t.YNc(28,fa,10,8,"div",39),t.YNc(29,xa,10,8,"div",39),t.YNc(30,wa,10,8,"div",39),t.YNc(31,Ta,9,9,"div",39),t.YNc(32,Za,8,4,"ng-templete",3),t.qZA(),t.qZA(),t.TgZ(33,"div",36),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw(3).editRule(a,"action")}),t.TgZ(34,"div",37),t._uU(35,"Action"),t.qZA(),t.TgZ(36,"div",38),t.YNc(37,qa,1,1,"ng-template",40),t.YNc(38,Ea,1,1,"ng-template",40),t.YNc(39,Da,1,1,"ng-template",40),t.YNc(40,Ua,1,1,"ng-template",40),t.qZA(),t.qZA(),t.TgZ(41,"div",36),t.NdJ("click",function(){const a=t.CHM(e).$implicit;return t.oxw(3).editRule(a,"condition")}),t.TgZ(42,"div",37),t._uU(43,"Condition"),t.qZA(),t.TgZ(44,"div",38),t.YNc(45,Ya,7,4,"ng-template",40),t.YNc(46,Va,10,7,"div",39),t.YNc(47,Wa,10,5,"div",39),t.YNc(48,Xa,10,5,"div",39),t.YNc(49,nr,10,5,"div",39),t.YNc(50,or,2,0,"div",41),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(3);t.xp6(3),t.ekj("reverse",!e.isHide),t.Q6J("icon","expend_more")("size","20")("color","#000"),t.xp6(1),t.Q6J("ngClass",e.enabled?"enabled":"disabled"),t.xp6(1),t.Oqu(e.enabled?"Enabled":"Disabled"),t.xp6(1),t.ekj("no-data",!e.name),t.xp6(1),t.Oqu(e.name||"No Rule Name"),t.xp6(2),t.Q6J("ngIf",!e.isArmingValid),t.xp6(1),t.Q6J("ngIf",!e.isValid),t.xp6(1),t.Q6J("ngIf",!e.isAiOperatorValid),t.xp6(1),t.Q6J("ngIf",e.trigger.times&&!n.hasTimeTriggerAndHttpRequestPer||e.action.https&&!n.hasTimeTriggerAndHttpRequestPer),t.xp6(1),t.Q6J("ngIf",e.note),t.xp6(2),t.Q6J("icon","replay_10")("size",18)("color","#f1556c"),t.xp6(5),t.Q6J("ngIf",n.autoRuleUpdatePermission||n.autoRuleDeletePermission),t.xp6(1),t.ekj("hide",e.isHide),t.xp6(4),t.ekj("disabled-item",!e.enabled),t.xp6(1),t.Q6J("ngIf",e.trigger.camera),t.xp6(1),t.Q6J("ngIf",e.trigger.arming),t.xp6(1),t.Q6J("ngIf",e.trigger.enter),t.xp6(1),t.Q6J("ngIf",e.trigger.exit),t.xp6(1),t.Q6J("ngIf",e.trigger.alert),t.xp6(1),t.Q6J("ngIf",e.trigger.monitoring_portal),t.xp6(1),t.Q6J("ngIf",e.trigger.times),t.xp6(4),t.ekj("disabled-item",!e.enabled),t.xp6(1),t.Q6J("ngIf",e.action.records),t.xp6(1),t.Q6J("ngIf",e.action.talkdowns),t.xp6(1),t.Q6J("ngIf",e.action.relays),t.xp6(1),t.Q6J("ngIf",e.action.https),t.xp6(4),t.ekj("disabled-item",!e.enabled),t.xp6(1),t.Q6J("ngIf",e.condition.week),t.xp6(1),t.Q6J("ngIf",e.condition.arming),t.xp6(1),t.Q6J("ngIf",e.condition.enter),t.xp6(1),t.Q6J("ngIf",e.condition.exit),t.xp6(1),t.Q6J("ngIf",e.condition.alert),t.xp6(1),t.Q6J("ngIf",!e.condition.hasCondition)}}function ar(o,r){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,ir,51,44,"div",20),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.autoRuleList)}}function rr(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",15),t.TgZ(1,"div",18),t.NdJ("click",function(){return t.CHM(e),t.oxw(3).openAutomationModal()}),t.TgZ(2,"div",19),t._uU(3,"Set up your first automation rule"),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(3);t.xp6(1),t.ekj("disabled",e.isLoading)}}function cr(o,r){if(1&o&&(t.TgZ(0,"div",75),t.TgZ(1,"div",76),t._UZ(2,"comp-icon",42),t.qZA(),t.YNc(3,rr,4,2,"div",12),t.qZA()),2&o){const e=t.oxw(2);t.xp6(2),t.Q6J("icon","autopay")("size","45")("color","#8792A2"),t.xp6(1),t.Q6J("ngIf",e.me.dealer_id===e.site.dealer_id||2===e.me.type&&3===e.site.dealer_type)}}function lr(o,r){1&o&&(t.TgZ(0,"div",75),t.TgZ(1,"div",77),t._UZ(2,"comp-icon",42),t.qZA(),t.TgZ(3,"div",78),t.TgZ(4,"div"),t._uU(5,"To support an automation rule,"),t.qZA(),t.TgZ(6,"div"),t._uU(7,"your Bridge requires a firmware update."),t.qZA(),t.qZA(),t.qZA()),2&o&&(t.xp6(2),t.Q6J("icon","autopay")("size","45")("color","#8792A2"))}function sr(o,r){if(1&o&&(t.TgZ(0,"div",8),t.TgZ(1,"div",9),t.TgZ(2,"div",10),t.TgZ(3,"div",11),t._uU(4,"Automation Rules"),t.qZA(),t.qZA(),t._UZ(5,"div"),t.YNc(6,ji,3,1,"div",12),t.qZA(),t.TgZ(7,"div",13),t.YNc(8,ar,2,1,"div",3),t.YNc(9,cr,4,4,"div",14),t.YNc(10,lr,8,3,"div",14),t.qZA(),t.qZA()),2&o){const e=t.oxw();t.xp6(6),t.Q6J("ngIf",(e.me.dealer_id===e.site.dealer_id||2===e.me.type&&3===e.site.dealer_type)&&e.bridgePerm),t.xp6(2),t.Q6J("ngIf",e.bridgePerm),t.xp6(1),t.Q6J("ngIf",0===e.autoRuleList.length&&!e.isLoading&&e.bridgePerm),t.xp6(1),t.Q6J("ngIf",!1===e.bridgePerm)}}function dr(o,r){1&o&&(t.ynx(0),t.TgZ(1,"div",79),t.TgZ(2,"div",9),t.TgZ(3,"div",80),t._uU(4,"Automation Rules"),t.qZA(),t.qZA(),t.TgZ(5,"div",81),t.TgZ(6,"div",82),t.TgZ(7,"div",83),t._uU(8," You do not have permission to read Automation Rule settings. "),t.qZA(),t.TgZ(9,"div",84),t._uU(10," Please request permission from the administrator. "),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.BQk())}function gr(o,r){1&o&&(t.TgZ(0,"div",85),t.O4$(),t.TgZ(1,"svg",86),t._UZ(2,"circle",87),t.qZA(),t.qZA())}const pr=ct.Bz.forChild([{path:"",component:(()=>{class o{constructor(e,n,i,a,c){this.usersService=e,this.sitesService=n,this.permissionsService=i,this.commonService=a,this.videoAIService=c,this.site={},this.autoRuleCreatePermission=!1,this.autoRuleReadPermission=!1,this.autoRuleUpdatePermission=!1,this.autoRuleDeletePermission=!1,this.siteDevices=[],this.siteBridges=[],this.siteZones=[],this.siteCameras=[],this.siteRelays=[],this.siteAudios=[],this.siteTtss=[],this.data={isAllfwSupportExitEntrySystemAiOperator:!1,isAiOperatorValid:!1,isAiOperatorEnabledSiteDealer:!1},this.dealerVideoAiInfo=null,this.m_warning=new L.u,this.m_automation_rule=new L.u,this.isLoading=!1,this.isScrolling=!1,this.isDestroy=!1,this.changeSite=null,this.daysOfWeek=["All Days","Sun","Mon","Tue","Wed","Thu","Fri","Sat"],this.autoRuleList=[],this.bridgePerm=null,this.hasTimeTriggerAndHttpRequestPer=!1}ngOnInit(){this.changeSite=this.sitesService.site.subscribe(e=>{this.initData()}),this.initData()}ngAfterViewInit(){this.commonService.emitPageLoading(!1),this.isDestroy=!1}ngOnDestroy(){this.isDestroy=!0,this.changeSite.unsubscribe()}onGlobalClick(e){this.actionMenus&&this.actionMenus.toArray().forEach(i=>{this.autoRuleList.forEach(a=>{"rule-"+a.id===i.nativeElement.id&&(i.nativeElement.contains(e.target)||(a.isShowMenu=!1))})})}onScroll(e){this.isScrolling||(this.isScrolling=!1)}innerScroll(e){}initData(){return(0,X.mG)(this,void 0,void 0,function*(){const e=window.location.href,n=this.commonService.getQueryParams(e.split("?")[1]);let i=null;n.dealer_id&&(i=n.dealer_id);try{this.initDataInfo();const a=yield this.usersService.getMe(i).toPromise();this.me=a,this.dealerVideoAiInfo=yield this.videoAIService.getSiteCloudAIConfig(this.me.dealer_id,this.sitesService.selSite.site_id,"device").toPromise(),yield this.checkAutoRulePermission(),this.autoRuleReadPermission&&this.fetchDatas()}catch(a){this.isLoading=!1,console.debug("initData :>",a)}})}initDataInfo(){this.site=this.sitesService.selSite,this.siteDevices=[],this.siteBridges=[],this.siteZones=[],this.siteCameras=[],this.siteRelays=[],this.siteTtss=[],this.bridgePerm=null}fetchDatas(){const e=this.me.dealer_id,n=this.site.site_id;this.isLoading=!0;const i=[];i.push(this.sitesService.getSiteDevices(e,n)),i.push(this.sitesService.getTTSList(e,n)),i.push(this.sitesService.getAllAudioDevices(e,n)),(0,lt.D)(i).subscribe(a=>{const[c,l,s]=a;this.parseSiteDevices(c),this.parseSiteTtsList(l),this.parseAudioDevices(s),this.fetchAutomationRules()},a=>{if(console.log(a),this.isLoading=!1,403==a.status)return this.autoRuleReadPermission=!1;this.commonService.showErrorToast("Get Site Info",a)})}checkAutoRulePermission(){return(0,X.mG)(this,void 0,void 0,function*(){const e=this.me.dealerId;try{const n=yield this.permissionsService.getPermissions(e).toPromise(),i=n.find(d=>"all"===(null==d?void 0:d.resource)),a=n.find(d=>"dealer_automation_rule_create"===(null==d?void 0:d.resource)),c=n.find(d=>"dealer_automation_rule_read"===(null==d?void 0:d.resource)),l=n.find(d=>"dealer_automation_rule_update"===(null==d?void 0:d.resource)),s=n.find(d=>"dealer_automation_rule_delete"===(null==d?void 0:d.resource));i?(this.autoRuleCreatePermission=!0,this.autoRuleReadPermission=!0,this.autoRuleUpdatePermission=!0,this.autoRuleDeletePermission=!0):(a&&(this.autoRuleCreatePermission=!0),c&&(this.autoRuleReadPermission=!0),l&&(this.autoRuleUpdatePermission=!0),s&&(this.autoRuleDeletePermission=!0))}catch(n){this.isLoading=!1,console.debug("checkVideoAIPermission",n)}})}fetchSiteDevices(){this.sitesService.getSiteDevices(this.me.dealer_id,this.site.site_id).subscribe(i=>{this.parseSiteDevices(i)},i=>{this.commonService.showErrorToast(i,"Get Site Devices")})}parseSiteDevices(e){const n=e||[];this.siteDevices=n,this.siteBridges=n.filter(l=>11===l.type),this.siteCameras=n.filter(l=>12===l.type);const i=[];let a=!0,c=!0;this.siteBridges.forEach(l=>{l.relays.forEach(d=>{i.push(d)}),!l.is_registered||(st.Z.tool.firmware_version_greater_than_or_equal_to(l,"3.6.0.0")||(a=!1),st.Z.tool.firmware_version_greater_than_or_equal_to(l,"3.7.0.0")||(c=!1))});for(let l=0;l<this.siteBridges.length;l++){if(!st.Z.tool.firmware_version_greater_than_or_equal_to(this.siteBridges[l],"4.4.0.32")){this.data.isAllfwSupportExitEntrySystemAiOperator=!1;break}this.data.isAllfwSupportExitEntrySystemAiOperator=!0}this.bridgePerm=a,this.hasTimeTriggerAndHttpRequestPer=c,this.siteRelays=i}fetchTTS(){this.sitesService.getTTSList(this.me.dealer_id,this.site.site_id).subscribe(i=>{this.parseSiteTtsList(i)},i=>{this.commonService.showErrorToast(i,"Get Site TTS List")})}parseSiteTtsList(e){this.siteTtss=e}fetchAudioDevices(){this.sitesService.getAllAudioDevices(this.me.dealer_id,this.site.site_id).subscribe(i=>{this.parseAudioDevices(i)},i=>{this.commonService.showErrorToast(i,"Get Site Speakers")})}parseAudioDevices(e){this.siteAudios=e}fetchAutomationRules(){const e=this.me.dealer_id,n=this.site.site_id;this.isLoading=!0,this.sitesService.getAllSiteAutomationRule(e,n).subscribe(i=>{let a=i;a=this.parseRules(a),console.log("rules"),console.log(a),this.autoRuleList=a,this.isLoading=!1},i=>{this.isLoading=!1})}parseRules(e){return e.forEach(n=>{n.isValid=!0,n.isArmingValid=!0;let i="";1===n.arming_source?i="Primary Bridge Arming":2===n.arming_source?i="Indivisual Bridge Arming":3===n.arming_source&&(i="CHeKT video security system"),n.armingSourceLabel=i,this.parseRuleTrigger(n),this.parseRuleCondition(n),this.parseRuleAction(n)}),e}parseRuleTrigger(e){var n,i,a,c,l,s;e.trigger.isValid=!0;const d=e.trigger.camera;if(d){d.cameras="";let _=[];const f=(null==d?void 0:d.camera_ids)||[];f.forEach(C=>{const b=this.siteCameras.find(O=>O.device_id===C);if(b){const O=this.siteBridges.find(M=>M.device_id===b.group_id),x=`(${O.virtual_zone})-CH${b.group_channel+1}`;b.label=`${b.name||"No Name"} (${O.virtual_zone}-CH${b.group_channel+1})`,b.shortLabel=x,_.push(b)}else _.push({label:"Unknown (Removed)"}),e.isValid=!1,e.trigger.isValid=!1}),!f.length&&!d.is_all_camera&&(_.push({label:"No camera"}),e.isValid=!1,e.trigger.isValid=!1);let m=Array.from(_,C=>C.label).join(",");d.is_all_camera&&(m="All Cameras"),d.cameras=m}const g=e.trigger.arming||e.trigger.enter||e.trigger.exit||e.trigger.alert;if(g){g.bridges="";let _=[];(g.bridge_ids||[]).forEach(C=>{const b=this.siteBridges.find(O=>O.device_id===C);b?(b.label=`${b.name||"No Name"} (${b.virtual_zone})`,_.push(b)):(_.push({label:"No Data (Removed)"}),e.isValid=!1,e.trigger.isValid=!1)});let m=Array.from(_,C=>C.label).join(",");g.is_all_bridge&&(m="Any Bridge"),g.bridges=m,e.arming_source!==this.site.arming_source&&(e.isArmingValid=!1)}const p=e.trigger.times;if(p){const _={},f={},m=[];let C="",b="";for(let O=0;O<p.length;O++){const u=p[O],x=null!==(i=null===(n=null==u?void 0:u.days_of_week)||void 0===n?void 0:n.split(","))&&void 0!==i?i:[],M=null!==(c=null===(a=null==u?void 0:u.time)||void 0===a?void 0:a.substr(0,5))&&void 0!==c?c:"No Data";C||(C=null==u?void 0:u.created_at),b||(b=null==u?void 0:u.updated_at),_[M]=x}for(const O in _){let u=_[O];for(let x=0;x<u.length;x++){let M=u[x];(null===(l=Object.keys(f))||void 0===l?void 0:l.includes(M))?f[M].push(O):f[M]=[O]}}for(const O in f){let u=null!==(s=f[O])&&void 0!==s?s:[];"1"===O?m.push({name:"Sun",index:0,timesText:null==u?void 0:u.join(", "),times:u}):"2"===O?m.push({name:"Mon",index:1,timesText:null==u?void 0:u.join(", "),times:u}):"3"===O?m.push({name:"Tue",index:2,timesText:null==u?void 0:u.join(", "),times:u}):"4"===O?m.push({name:"Wed",index:3,timesText:null==u?void 0:u.join(", "),times:u}):"5"===O?m.push({name:"Thu",index:4,timesText:null==u?void 0:u.join(", "),times:u}):"6"===O?m.push({name:"Fri",index:5,timesText:null==u?void 0:u.join(", "),times:u}):"7"===O&&m.push({name:"Sat",index:6,timesText:null==u?void 0:u.join(", "),times:u})}p.daysOfWeek=m,p.createdAt=C,p.updatedAt=b}}parseRuleCondition(e){var n,i,a,c,l,s,d,g;let p=!1;e.isAiOperatorValid=!0,this.site.videoai_enabled&&this.dealerVideoAiInfo.enabled&&(this.data.isAiOperatorEnabledSiteDealer=!0);const _=e.condition.times,f=e.condition.arming,m=e.condition.enter,C=e.condition.exit,b=e.condition.alert,O=e.condition.ai_operator;if(_){const u=[],x=[{title:"Every Sun",times:[],isValid:!0},{title:"Every Mon",times:[],isValid:!0},{title:"Every Tue",times:[],isValid:!0},{title:"Every Wed",times:[],isValid:!0},{title:"Every Thu",times:[],isValid:!0},{title:"Every Fri",times:[],isValid:!0},{title:"Every Sat",times:[],isValid:!0}];for(let M=0;M<_.length;M++){const k=_[M];if(!k)continue;let A=this.parse24HoursToAmPm(k.start_time),y=this.parse24HoursToAmPm(k.end_time),Z=k.days_of_week.split(",");if(Z)for(let z=0;z<Z.length;z++){const J=Z[z];if("0"===J)for(let E=0;E<x.length;E++)x[E].times.push({startTime:A,endTime:y});else x[parseInt(J)-1].times.push({startTime:A,endTime:y})}}for(let M=0;M<x.length;M++){const k=x[M];k.times.length>0&&u.push(k)}_.forEach(M=>{M.isValid=!0;let k="Every ";const A=M.days_of_week.split(",");A.forEach((y,Z)=>{k+=this.daysOfWeek[parseInt(y)],Z!==A.length-1&&(k+=", ")}),"0"===M.days_of_week&&(k="All Days"),M.daysOfWeek=k,M.startTime=M.start_time?this.parse24HoursToAmPm(M.start_time):"unknown",M.endTime=M.start_time?this.parse24HoursToAmPm(M.end_time):"unknown"}),e.condition.week=u,p=!0}if(f&&(f.isValid=!0,p=!0,0===this.siteBridges.length&&(e.isValid=!1)),m&&(m.isValid=!0,p=!0,0===this.siteBridges.length&&(e.isValid=!1)),C&&(C.isValid=!0,p=!0,0===this.siteBridges.length&&(e.isValid=!1)),b&&(b.isValid=!0,p=!0,0===this.siteBridges.length&&(e.isValid=!1)),O){if(this.site.videoai_enabled&&this.dealerVideoAiInfo.enabled){let u=null===(i=null===(n=null==e?void 0:e.trigger)||void 0===n?void 0:n.camera)||void 0===i?void 0:i.camera_ids;if(null==u?void 0:u.length)for(let x=0;x<(null==u?void 0:u.length);x++){const M=u[x];if(null===(a=this.dealerVideoAiInfo)||void 0===a?void 0:a.device_videoai_configs.some(A=>A.device_id===M&&!A.videoai_enabled)){e.isAiOperatorValid=!1;break}e.isAiOperatorValid=!0}else(null===(l=null===(c=null==e?void 0:e.trigger)||void 0===c?void 0:c.camera)||void 0===l?void 0:l.is_all_camera)&&(null===(s=this.dealerVideoAiInfo)||void 0===s?void 0:s.device_videoai_configs.some(M=>!(null==M?void 0:M.videoai_enabled)))&&(e.isAiOperatorValid=!1)}(!(null===(d=this.site)||void 0===d?void 0:d.videoai_enabled)||!(null===(g=this.dealerVideoAiInfo)||void 0===g?void 0:g.enabled))&&(e.isAiOperatorValid=!1)}this.data.isAiOperatorValid=e.isAiOperatorValid,e.condition.hasCondition=p}parseRuleAction(e){const n=e.action.records,i=e.action.relays,a=e.action.talkdowns,c=e.action.https,l=(n||[]).length+(i||[]).length+(a||[]).length+(c||[]).length;let s=0;n&&n.forEach(d=>{d.isValid=!0;const g=(null==d?void 0:d.camera_ids)||[];let p="";g.forEach((_,f)=>{const m=this.siteCameras.find(C=>C.device_id===_);if(m){const C=this.siteBridges.find(b=>b.device_id===m.group_id);p+=`${m.name||"No Name"} (${C.virtual_zone}-CH${m.group_channel+1})`}else p+="No Data (Removed)",e.isValid=!1,n.isValid=!1;f!==g.length-1&&(p+=", ")}),d.camerasLabel=p}),i&&i.forEach(d=>{d.isValid=!0;const g=d.device_do_id,p=this.siteRelays.find(m=>m.id===g);let f=0===d.operation_mode?"Latch":"Momentary";1===d.operation_mode&&(f+=` ${d.duration}s`),p.enabled||(d.isValid=!1),d.relay=p,d.operationLabel=f}),a&&a.forEach(d=>{d.isValid=!0,console.log(d);const g=d.speaker_ids||[],p=d.bridge_speaker_ids||[];let _=this.siteTtss.find(m=>m.id===d.tts_id);_||(_={text:"No Data (Removed)"},e.isValid=!1,d.isValid=!1);let f="";p.forEach((m,C)=>{const b=this.siteBridges.find(O=>O.device_id===m);b?f+=`${b.name}`:(f+="No Data (Removed)",e.isValid=!1,d.isValid=!1),(C!==p.length-1||g.length)&&(f+=", ")}),g.forEach((m,C)=>{const b=this.siteAudios.find(O=>O.id===m);b?f+=`${b.name}`:(f+="No Data (Removed)",e.isValid=!1,d.isValid=!1),C!==g.length-1&&(f+=", ")}),d.is_all_speaker&&(f="All Speakers"),d.tts=_,d.speakersLabel=f}),c&&c.forEach(d=>{if(d.isValid=!0,0===d.auth_type?d.authType="No Auth":1===d.auth_type?d.authType="Basic Auth":2===d.auth_type?d.authType="Digest Auth":3===d.auth_type?d.authType="API Key":4===d.auth_type&&(d.authType="Bearer Token"),3===d.auth_type){d.auth_header_key||(d.auth_header_key="");let g=d.auth_header_key.split(" ");if(g.length<2)return;d.url=d.url.replace(g[1],"")}}),s+=(n||[]).filter(d=>!1===d.isValid).length,s+=(a||[]).filter(d=>!1===d.isValid).length,s+=(i||[]).filter(d=>!1===d.isValid).length,s+=(c||[]).filter(d=>!1===d.isValid).length,l===s&&(e.isValid=!1)}parse24HoursToAmPm(e){const n=e.split(":"),i=n[0],a=n[1];let c=parseInt(i);return c=c%12||12,`${i}:${a}`}toggleRuleEnabled(e,n){console.log("toggleRuleEnabled"),console.log(e),console.log(n);const i=this.me.dealer_id,a=this.site.site_id,c=n.id,l=n.enabled?0:1,d=(l?"Enabled":"Disabled")+" Automation Rule ",g={enabled:l};this.isLoading=!0,this.sitesService.updateSiteAutomationRule(i,a,c,g).subscribe(p=>{this.commonService.showSuccessToast(d,"Success"),n.enabled=!!l,this.isLoading=!1},p=>{n.enabled=l?0:1,this.commonService.showErrorToast(p,d),this.isLoading=!1})}openAutomationModal(e){this.m_automation_rule.data.automationRule=e,this.m_automation_rule.data.permissions={hasTimeTriggerAndHttpRequestPer:this.hasTimeTriggerAndHttpRequestPer},this.m_automation_rule.data.configs=this.data,this.m_automation_rule.open()}editRule(e,n){this.m_automation_rule.data.automationRule=e,this.m_automation_rule.data.permissions={hasTimeTriggerAndHttpRequestPer:this.hasTimeTriggerAndHttpRequestPer},this.m_automation_rule.data.target=n,this.m_automation_rule.data.configs=this.data,this.m_automation_rule.open()}deleteRuleDialog(e){this.m_warning.data={header:"Are you sure want to delete?",contents:"",submit_btn:"Delete",color:"#f1556c",submit_class:["button-primary"]},this.m_warning.data.submit_func=()=>{this.deleteRule(e)},this.m_warning.open()}deleteRule(e){const n=this.me.dealer_id,i=this.site.site_id,a=e.id,c="Delete Site Automation Rule";this.isLoading=!0,this.sitesService.deleteSiteAutomationRule(n,i,a).subscribe(l=>{this.commonService.showSuccessToast(c,"Success."),setTimeout(()=>{this.isLoading=!1,this.fetchDatas()},500)},l=>{this.isLoading=!1,console.log(l),this.commonService.showErrorToast(l,c,"Failed")})}setRuleMorePosition(e,n){if(this.me.dealer_id!==this.site.dealer_id&&3!==this.site.dealer_type)return;document;let a=document.getElementById(e+"-"+n.id),c=document.getElementById(e+"-more-"+n.id),l=a.getBoundingClientRect(),s=c.getBoundingClientRect();console.log(a,l),console.log(c,s);const g=l.bottom+10;c.style.left=l.right-s.width+"px",c.style.top=g+"px"}toggleShowRule(e){e.isHide=!e.isHide,console.log("toggleShowRule",e.isHide)}toggleMenu(e){e.isShowMenu=!e.isShowMenu}onCloseAutomationModal(e){console.log("onCloseAutomationModal",e),e&&this.fetchDatas()}confirmDialog(e="",n="",i="done",a="green"){this.m_warning.data={header:e,contents:`\n <p>${n}</b></p>\n `,submit_btn:"OK",submit_class:["button-primary"],icon:i,isConfirm:!0,color:a},this.m_warning.data.submit_func=()=>{this.fetchDatas()},this.m_warning.open()}numToStr(e){let n="";return n=e>=10?e+"":"0"+e,n}createProxyBody(e,n,i,a){const c=this.makeid(),l={headers:{method:n,path:i,mqttResponseTopic:`devices/${e.mac}/0/ckbapiv2/res/${c}`}};return"get"!==n&&(l.body=a),l}makeid(){let e="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let i=0;i<5;i++)e+=n.charAt(Math.floor(Math.random()*n.length));return e}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(ht.f),t.Y36(Ct.f),t.Y36(Kt.q),t.Y36(bt.v),t.Y36(Gt.e))},o.\u0275cmp=t.Xpm({type:o,selectors:[["dealer-customer-automation-rules"]],viewQuery:function(e,n){if(1&e&&t.Gf(Li,5,t.SBq),2&e){let i;t.iGM(i=t.CRH())&&(n.actionMenus=i)}},hostBindings:function(e,n){1&e&&t.NdJ("mousedown",function(a){return n.onGlobalClick(a)},!1,t.evT)("scroll",function(a){return n.onScroll(a)})},inputs:{sub_site:"sub_site"},decls:7,vars:11,consts:[[1,"customer-widget-area",2,"justify-content","center","height","100%","overflow","overlay","position","initial",3,"scroll"],["style","height: 43px;width: 100%;",4,"ngIf"],["id","30081","class","widget widget-item","style","height: fit-content;max-height: fit-content",4,"ngIf"],[4,"ngIf"],["class","loader absolute",4,"ngIf"],[3,"modal"],[3,"modal","data","active","site","onClose"],[2,"height","43px","width","100%"],["id","30081",1,"widget","widget-item",2,"height","fit-content","max-height","fit-content"],[1,"header"],[1,"title","flex"],[1,"flex","align-center"],["class","btn-area",4,"ngIf"],[1,"widget-body"],["class","flex-column mb-30 align-center",4,"ngIf"],[1,"btn-area"],[1,"space"],["class","button button-white",3,"disabled","click",4,"ngIf"],[1,"button","button-white",3,"click"],[1,"btn-inner"],["class","autorule-item",4,"ngFor","ngForOf"],[1,"autorule-item"],[1,"autorule-item-title","between"],[1,"autorule-item-label","flex"],[1,"expand-icon",3,"icon","size","color","click"],[1,"tag","ml-15",3,"ngClass"],[1,"ml-5","fs-14"],[1,"flex"],["class","tooltip-content v-center mr-10",4,"ngIf"],[1,"tooltip-content","v-center","mr-10"],[1,"pointer",3,"icon","size","color"],[1,"tooltip","left"],[1,"tooltip-item"],[1,"tooltip-row"],["class","more-content v-center",3,"id","mouseenter",4,"ngIf"],[1,"auto-rule-item-body"],[1,"autorule-item-row",3,"click"],[1,"autorule-item-label"],[1,"flex","flex-wrap"],["class","autorule-item-box",4,"ngIf"],[3,"ngIf"],["class","no-data",4,"ngIf"],[3,"icon","size","color"],[1,"more-content","v-center",3,"id","mouseenter"],["actionMenus",""],[1,"material-icons-outlined","more-icon",3,"click"],[1,"more","rule-more",3,"id"],["menuSelect",""],["class","more-item",3,"click",4,"ngIf"],["class","more-item danger",3,"click",4,"ngIf"],[1,"more-item",3,"click"],[1,"more-item","danger",3,"click"],[1,"autorule-item-box"],[1,"autorule-item-box-name"],[1,"autorule-item-box-tag-wrapper"],[1,"autorule-item-box-tag"],[1,"ellipsis"],["class","tooltip-content v-center ml-10",4,"ngIf"],[1,"tooltip-content","v-center","ml-10"],["class","autorule-item-box-tag",3,"armed","disarmed",4,"ngIf"],["class","autorule-item-box-tag",4,"ngIf"],["class","ml-10",4,"ngIf"],[1,"ml-10"],["class","autorule-item-box-tag",4,"ngFor","ngForOf"],["class","autorule-item-box",4,"ngFor","ngForOf"],["class","tooltip-content v-center ml-10 test",4,"ngIf"],[1,"tooltip-content","v-center","ml-10","test"],[4,"ngFor","ngForOf"],[1,"autorule-item-box-tag",2,"display","flex","gap","5px"],["class","condition-time-range",4,"ngFor","ngForOf"],[1,"condition-time-range"],[1,"autorule-item-box-tag",3,"ngClass"],["class","autorule-item-box-tag ai-operator",4,"ngIf"],[1,"autorule-item-box-tag","ai-operator"],[1,"no-data"],[1,"flex-column","mb-30","align-center"],[1,"mt-40","mb-20"],[1,"mt-40","mb-12"],[1,"mb-20",2,"color","#55647B","font-size","16px","display","flex","justify-content","center","align-items","center","flex-direction","column"],[1,"widget","widget-item"],[1,"title"],[1,"widget-body",2,"justify-content","center"],[1,"flex-column","v-center","mb-30"],[1,"mt-40",2,"font-size","16px","color","#55647B","text-align","center"],[2,"font-size","16px","color","#55647B","margin-top","4px","text-align","center"],[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"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0),t.NdJ("scroll",function(a){return n.onScroll(a)}),t.YNc(1,Vi,1,0,"div",1),t.YNc(2,sr,11,4,"div",2),t.YNc(3,dr,11,0,"ng-container",3),t.YNc(4,gr,3,0,"div",4),t.qZA(),t._UZ(5,"dealer-warning",5),t.TgZ(6,"dealer-automation-rule-modal",6),t.NdJ("onClose",function(a){return n.onCloseAutomationModal(a)}),t.qZA()),2&e&&(t.ekj("deactivated",n.site&&!(null!=n.site&&n.site.is_activated)),t.xp6(1),t.Q6J("ngIf",n.site&&!(null!=n.site&&n.site.is_activated)),t.xp6(1),t.Q6J("ngIf",n.autoRuleReadPermission),t.xp6(1),t.Q6J("ngIf",!n.autoRuleReadPermission),t.xp6(1),t.Q6J("ngIf",n.isLoading),t.xp6(1),t.Q6J("modal",n.m_warning),t.xp6(1),t.Q6J("modal",n.m_automation_rule)("data",n.data)("active",n.m_automation_rule.is_active)("site",n.site))},directives:[T.O5,Mt.a,Fi,T.sg,Rt.U,T.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)}','.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#448aff}.mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#448aff}.mat-autocomplete-panel[_ngcontent-%COMP%]{background:white;color:#000000de}.mat-autocomplete-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover){background:white}.mat-autocomplete-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.mat-badge-content[_ngcontent-%COMP%]{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%], .mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}.mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#2196f3}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#448aff;color:#fff}.mat-badge-warn[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#fff;background:#f44336}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#b9b9b9;color:#00000061}.mat-bottom-sheet-container[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#448aff}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#448aff}.mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%]{color:#fff}.mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%]{background-color:#448aff}.mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ffffff1a}.mat-button-toggle-standalone[_ngcontent-%COMP%], .mat-button-toggle-group[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%]{box-shadow:none}.mat-button-toggle[_ngcontent-%COMP%]{color:#00000061}.mat-button-toggle[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#0000001f}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#000000de;background:white}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-focus-overlay[_ngcontent-%COMP%]{background-color:#000}.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:solid 1px rgba(0,0,0,.12)}[dir=rtl][_ngcontent-%COMP%] .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] + .mat-button-toggle[_ngcontent-%COMP%]{border-left:none;border-right:none;border-top:solid 1px rgba(0,0,0,.12)}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{color:#000000de}.mat-button-toggle-disabled[_ngcontent-%COMP%]{color:#00000042;background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background:white}.mat-button-toggle-disabled.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#bdbdbd}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard[_ngcontent-%COMP%], .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%]{border:solid 1px rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard[_ngcontent-%COMP%] .mat-button-toggle-label-content[_ngcontent-%COMP%]{line-height:48px}.mat-card[_ngcontent-%COMP%]{background:white;color:#000000de}.mat-card[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-card.mat-card-flat[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-card-subtitle[_ngcontent-%COMP%]{color:#0000008a}.mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#448aff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#448aff}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{background-color:#e0e0e0;color:#000000de}.mat-chip.mat-standard-chip[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#000000de;opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:not(.mat-chip-disabled) .mat-chip-remove[_ngcontent-%COMP%]:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled[_ngcontent-%COMP%]{opacity:.4}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:after{background:black}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%]{background-color:#2196f3;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%]{background-color:#f44336;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%]{background-color:#448aff;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-chip-remove[_ngcontent-%COMP%]{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ffffff1a}.mat-table[_ngcontent-%COMP%]{background:white}.mat-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], [mat-header-row][_ngcontent-%COMP%], [mat-row][_ngcontent-%COMP%], [mat-footer-row][_ngcontent-%COMP%], .mat-table-sticky[_ngcontent-%COMP%]{background:inherit}mat-row[_ngcontent-%COMP%], mat-header-row[_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{border-bottom-color:#0000001f}.mat-header-cell[_ngcontent-%COMP%]{color:#0000008a}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{color:#000000de}.mat-calendar-arrow[_ngcontent-%COMP%]{border-top-color:#0000008a}.mat-datepicker-toggle[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-next-button[_ngcontent-%COMP%], .mat-datepicker-content[_ngcontent-%COMP%] .mat-calendar-previous-button[_ngcontent-%COMP%]{color:#0000008a}.mat-calendar-table-header-divider[_ngcontent-%COMP%]:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header[_ngcontent-%COMP%], .mat-calendar-body-label[_ngcontent-%COMP%]{color:#0000008a}.mat-calendar-body-cell-content[_ngcontent-%COMP%], .mat-date-range-input-separator[_ngcontent-%COMP%]{color:#000000de;border-color:transparent}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled[_ngcontent-%COMP%] .mat-date-range-input-separator[_ngcontent-%COMP%]{color:#00000061}.mat-calendar-body-in-preview[_ngcontent-%COMP%]{color:#0000003d}.mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-today[_ngcontent-%COMP%]:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range[_ngcontent-%COMP%]:before{background:rgba(33,150,243,.2)}.mat-calendar-body-comparison-identical[_ngcontent-%COMP%], .mat-calendar-body-in-comparison-range[_ngcontent-%COMP%]:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start[_ngcontent-%COMP%]:before, [dir=rtl][_ngcontent-%COMP%] .mat-calendar-body-comparison-bridge-end[_ngcontent-%COMP%]:before{background:linear-gradient(to right,rgba(33,150,243,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end[_ngcontent-%COMP%]:before, [dir=rtl][_ngcontent-%COMP%] .mat-calendar-body-comparison-bridge-start[_ngcontent-%COMP%]:before{background:linear-gradient(to left,rgba(33,150,243,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range[_ngcontent-%COMP%] > .mat-calendar-body-comparison-identical[_ngcontent-%COMP%], .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range[_ngcontent-%COMP%]:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected[_ngcontent-%COMP%], .mat-calendar-body-in-comparison-range[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background:#46a35e}.mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#2196f3;color:#fff}.mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#2196f366}.mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical), .cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical), .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#2196f34d}.mat-datepicker-content[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-in-range[_ngcontent-%COMP%]:before{background:rgba(68,138,255,.2)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-comparison-identical[_ngcontent-%COMP%], .mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-in-comparison-range[_ngcontent-%COMP%]:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-comparison-bridge-start[_ngcontent-%COMP%]:before, .mat-datepicker-content.mat-accent[_ngcontent-%COMP%] [dir=rtl][_ngcontent-%COMP%] .mat-calendar-body-comparison-bridge-end[_ngcontent-%COMP%]:before{background:linear-gradient(to right,rgba(68,138,255,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-comparison-bridge-end[_ngcontent-%COMP%]:before, .mat-datepicker-content.mat-accent[_ngcontent-%COMP%] [dir=rtl][_ngcontent-%COMP%] .mat-calendar-body-comparison-bridge-start[_ngcontent-%COMP%]:before{background:linear-gradient(to left,rgba(68,138,255,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-in-range[_ngcontent-%COMP%] > .mat-calendar-body-comparison-identical[_ngcontent-%COMP%], .mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range[_ngcontent-%COMP%]:after{background:#a8dab5}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-comparison-identical.mat-calendar-body-selected[_ngcontent-%COMP%], .mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-in-comparison-range[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background:#46a35e}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#448aff;color:#fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#448aff66}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical), .mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical), .mat-datepicker-content.mat-accent[_ngcontent-%COMP%] .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#448aff4d}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-in-range[_ngcontent-%COMP%]:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-comparison-identical[_ngcontent-%COMP%], .mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-in-comparison-range[_ngcontent-%COMP%]:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-comparison-bridge-start[_ngcontent-%COMP%]:before, .mat-datepicker-content.mat-warn[_ngcontent-%COMP%] [dir=rtl][_ngcontent-%COMP%] .mat-calendar-body-comparison-bridge-end[_ngcontent-%COMP%]:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-comparison-bridge-end[_ngcontent-%COMP%]:before, .mat-datepicker-content.mat-warn[_ngcontent-%COMP%] [dir=rtl][_ngcontent-%COMP%] .mat-calendar-body-comparison-bridge-start[_ngcontent-%COMP%]:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-in-range[_ngcontent-%COMP%] > .mat-calendar-body-comparison-identical[_ngcontent-%COMP%], .mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range[_ngcontent-%COMP%]:after{background:#a8dab5}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-comparison-identical.mat-calendar-body-selected[_ngcontent-%COMP%], .mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-in-comparison-range[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background:#46a35e}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-disabled[_ngcontent-%COMP%] > .mat-calendar-body-selected[_ngcontent-%COMP%]{background-color:#f4433666}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-today.mat-calendar-body-selected[_ngcontent-%COMP%]{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .mat-calendar-body-cell[_ngcontent-%COMP%]:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical), .mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .cdk-keyboard-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical), .mat-datepicker-content.mat-warn[_ngcontent-%COMP%] .cdk-program-focused[_ngcontent-%COMP%] .mat-calendar-body-active[_ngcontent-%COMP%] > .mat-calendar-body-cell-content[_ngcontent-%COMP%]:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}.mat-datepicker-content-touch[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active[_ngcontent-%COMP%]{color:#2196f3}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{color:#448aff}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{color:#f44336}.mat-date-range-input-inner[disabled][_ngcontent-%COMP%]{color:#00000061}.mat-dialog-container[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#000000de}.mat-divider[_ngcontent-%COMP%]{border-top-color:#0000001f}.mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:#0000001f}.mat-expansion-panel[_ngcontent-%COMP%]{background:white;color:#000000de}.mat-expansion-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-action-row[_ngcontent-%COMP%]{border-top-color:#0000001f}.mat-expansion-panel[_ngcontent-%COMP%] .mat-expansion-panel-header.cdk-keyboard-focused[_ngcontent-%COMP%]:not([aria-disabled=true]), .mat-expansion-panel[_ngcontent-%COMP%] .mat-expansion-panel-header.cdk-program-focused[_ngcontent-%COMP%]:not([aria-disabled=true]), .mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel[_ngcontent-%COMP%]:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:white}}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#000000de}.mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-indicator[_ngcontent-%COMP%]:after{color:#0000008a}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:#00000042}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%], .mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{color:inherit}.mat-expansion-panel-header[_ngcontent-%COMP%]{height:48px}.mat-expansion-panel-header.mat-expanded[_ngcontent-%COMP%]{height:64px}.mat-form-field-label[_ngcontent-%COMP%]{color:#0009}.mat-hint[_ngcontent-%COMP%]{color:#0009}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#2196f3}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%]{color:#448aff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-label.mat-warn[_ngcontent-%COMP%]{color:#f44336}.mat-focused[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#448aff}.mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#000000de}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:#2196f3}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#448aff}.mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple.mat-warn[_ngcontent-%COMP%]{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid) .mat-form-field-infix[_ngcontent-%COMP%]:after{color:#2196f3}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix[_ngcontent-%COMP%]:after{color:#448aff}.mat-form-field-type-mat-native-select.mat-focused[_ngcontent-%COMP%]:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix[_ngcontent-%COMP%]:after{color:#f44336}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#f44336}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label.mat-accent[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%] .mat-form-field-required-marker[_ngcontent-%COMP%]{color:#f44336}.mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-form-field.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-ripple.mat-accent[_ngcontent-%COMP%]{background-color:#f44336}.mat-error[_ngcontent-%COMP%]{color:#f44336}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#0000008a}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-hint[_ngcontent-%COMP%]{color:#0000008a}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:#0000006b}.mat-form-field-appearance-legacy.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-color:#0000006b}.mat-form-field-appearance-standard.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:#0000000a}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex[_ngcontent-%COMP%]{background-color:#00000005}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]:before{background-color:#0000006b}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#00000061}.mat-form-field-appearance-fill.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]:before{background-color:transparent}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:#0000001f}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#000000de}.mat-form-field-appearance-outline.mat-focused[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#2196f3}.mat-form-field-appearance-outline.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#448aff}.mat-form-field-appearance-outline.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-outline-thick[_ngcontent-%COMP%]{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{color:#00000061}.mat-form-field-appearance-outline.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-outline[_ngcontent-%COMP%]{color:#0000000f}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#2196f3}.mat-icon.mat-accent[_ngcontent-%COMP%]{color:#448aff}.mat-icon.mat-warn[_ngcontent-%COMP%]{color:#f44336}.mat-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]:after{color:#0000008a}.mat-input-element[_ngcontent-%COMP%]:disabled, .mat-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]:after{color:#00000061}.mat-input-element[_ngcontent-%COMP%]{caret-color:#2196f3}.mat-input-element[_ngcontent-%COMP%]::placeholder{color:#0000006b}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder{color:#0000006b}.mat-input-element[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#0000006b}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{color:#0000006b}.mat-form-field.mat-accent[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#448aff}.mat-form-field.mat-warn[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%], .mat-form-field-invalid[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]:after{color:#f44336}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{color:#000000de}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{color:#000000de}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{color:#0000008a}.mat-list-item-disabled[_ngcontent-%COMP%]{background-color:#eee}.mat-list-option[_ngcontent-%COMP%]:hover, .mat-list-option[_ngcontent-%COMP%]:focus, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-nav-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover, .mat-action-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:focus{background:rgba(0,0,0,.04)}.mat-list-single-selected-option[_ngcontent-%COMP%], .mat-list-single-selected-option[_ngcontent-%COMP%]:hover, .mat-list-single-selected-option[_ngcontent-%COMP%]:focus{background:rgba(0,0,0,.12)}.mat-menu-panel[_ngcontent-%COMP%]{background:white}.mat-menu-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-menu-item[_ngcontent-%COMP%]{background:transparent;color:#000000de}.mat-menu-item[disabled][_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%] .mat-menu-submenu-icon[_ngcontent-%COMP%], .mat-menu-item[disabled][_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%]{color:#00000061}.mat-menu-item[_ngcontent-%COMP%] .mat-icon-no-color[_ngcontent-%COMP%], .mat-menu-submenu-icon[_ngcontent-%COMP%]{color:#0000008a}.mat-menu-item[_ngcontent-%COMP%]:hover:not([disabled]), .mat-menu-item.cdk-program-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item.cdk-keyboard-focused[_ngcontent-%COMP%]:not([disabled]), .mat-menu-item-highlighted[_ngcontent-%COMP%]:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator[_ngcontent-%COMP%]{background:white}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{color:#0000008a}.mat-paginator-decrement[_ngcontent-%COMP%], .mat-paginator-increment[_ngcontent-%COMP%]{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first[_ngcontent-%COMP%], .mat-paginator-last[_ngcontent-%COMP%]{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-decrement[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-increment[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-first[_ngcontent-%COMP%], .mat-icon-button[disabled][_ngcontent-%COMP%] .mat-paginator-last[_ngcontent-%COMP%]{border-color:#00000061}.mat-paginator-container[_ngcontent-%COMP%]{min-height:56px}.mat-progress-bar-background[_ngcontent-%COMP%]{fill:#c4e1f8}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#c4e1f8}.mat-progress-bar-fill[_ngcontent-%COMP%]:after{background-color:#2196f3}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#cddefb}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#cddefb}.mat-progress-bar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]:after{background-color:#448aff}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-background[_ngcontent-%COMP%]{fill:#f9ccc9}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:#f9ccc9}.mat-progress-bar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill[_ngcontent-%COMP%]:after{background-color:#f44336}.mat-progress-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#2196f3}.mat-progress-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-accent[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#448aff}.mat-progress-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], .mat-spinner.mat-warn[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#f44336}.mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#0000008a}.mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#2196f3}.mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-primary.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-primary[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#2196f3}.mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#448aff}.mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-accent.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-accent[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#448aff}.mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#f44336}.mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]:not(.mat-radio-persistent-ripple), .mat-radio-button.mat-warn.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-persistent-ripple[_ngcontent-%COMP%], .mat-radio-button.mat-warn[_ngcontent-%COMP%]:active .mat-radio-persistent-ripple[_ngcontent-%COMP%]{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-outer-circle[_ngcontent-%COMP%]{border-color:#00000061}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-ripple[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-inner-circle[_ngcontent-%COMP%]{background-color:#00000061}.mat-radio-button.mat-radio-disabled[_ngcontent-%COMP%] .mat-radio-label-content[_ngcontent-%COMP%]{color:#00000061}.mat-radio-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#000}.mat-select-value[_ngcontent-%COMP%]{color:#000000de}.mat-select-placeholder[_ngcontent-%COMP%]{color:#0000006b}.mat-select-disabled[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{color:#00000061}.mat-select-arrow[_ngcontent-%COMP%]{color:#0000008a}.mat-select-panel[_ngcontent-%COMP%]{background:white}.mat-select-panel[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-select-panel[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#2196f3}.mat-form-field.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#448aff}.mat-form-field.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#f44336}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-invalid[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#f44336}.mat-form-field[_ngcontent-%COMP%] .mat-select.mat-select-disabled[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:#00000061}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#fafafa;color:#000000de}.mat-drawer[_ngcontent-%COMP%]{background-color:#fff;color:#000000de}.mat-drawer.mat-drawer-push[_ngcontent-%COMP%]{background-color:#fff}.mat-drawer[_ngcontent-%COMP%]:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-drawer-side[_ngcontent-%COMP%]{border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side[_ngcontent-%COMP%]{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl][_ngcontent-%COMP%] .mat-drawer-side.mat-drawer-end[_ngcontent-%COMP%]{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown[_ngcontent-%COMP%]{background-color:#0009}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#448aff}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:#448aff8a}.mat-slide-toggle.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#448aff}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#2196f3}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:#2196f38a}.mat-slide-toggle.mat-primary.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#2196f3}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-thumb[_ngcontent-%COMP%]{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:#f443368a}.mat-slide-toggle.mat-warn.mat-checked[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#f44336}.mat-slide-toggle[_ngcontent-%COMP%]:not(.mat-checked) .mat-ripple-element[_ngcontent-%COMP%]{background-color:#000}.mat-slide-toggle-thumb[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.mat-slide-toggle-bar[_ngcontent-%COMP%]{background-color:#00000061}.mat-slider-track-background[_ngcontent-%COMP%]{background-color:#00000042}.mat-primary[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#2196f3}.mat-primary[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-primary[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:#2196f333}.mat-accent[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#448aff}.mat-accent[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-accent[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:#448aff33}.mat-warn[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#f44336}.mat-warn[_ngcontent-%COMP%] .mat-slider-thumb-label-text[_ngcontent-%COMP%]{color:#fff}.mat-warn[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:#f4433633}.mat-slider[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider.cdk-focused[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%]{background-color:#00000061}.mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-background[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-track-fill[_ngcontent-%COMP%], .mat-slider-disabled[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%]{background-color:#00000042}.mat-slider-disabled[_ngcontent-%COMP%]:hover .mat-slider-track-background[_ngcontent-%COMP%]{background-color:#00000042}.mat-slider-min-value[_ngcontent-%COMP%] .mat-slider-focus-ring[_ngcontent-%COMP%]{background-color:#0000001f}.mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#000000de}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused[_ngcontent-%COMP%] .mat-slider-thumb-label[_ngcontent-%COMP%]{background-color:#00000042}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing) .mat-slider-thumb[_ngcontent-%COMP%]{border-color:#00000042;background-color:transparent}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb[_ngcontent-%COMP%]{border-color:#00000061}.mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%], .mat-slider-min-value[_ngcontent-%COMP%]:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb[_ngcontent-%COMP%]{border-color:#00000042}.mat-slider-has-ticks[_ngcontent-%COMP%] .mat-slider-wrapper[_ngcontent-%COMP%]:after{border-color:#000000b3}.mat-slider-horizontal[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical[_ngcontent-%COMP%] .mat-slider-ticks[_ngcontent-%COMP%]{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused[_ngcontent-%COMP%], .mat-step-header.cdk-program-focused[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%]:hover:not([aria-disabled]), .mat-step-header[_ngcontent-%COMP%]:hover[aria-disabled=false]{background-color:#0000000a}.mat-step-header[_ngcontent-%COMP%]:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header[_ngcontent-%COMP%]:hover{background:none}}.mat-step-header[_ngcontent-%COMP%] .mat-step-label[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-optional[_ngcontent-%COMP%]{color:#0000008a}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{background-color:#0000008a;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#2196f3;color:#fff}.mat-step-header.mat-accent[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{color:#fff}.mat-step-header.mat-accent[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header.mat-accent[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header.mat-accent[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#448aff;color:#fff}.mat-step-header.mat-warn[_ngcontent-%COMP%] .mat-step-icon[_ngcontent-%COMP%]{color:#fff}.mat-step-header.mat-warn[_ngcontent-%COMP%] .mat-step-icon-selected[_ngcontent-%COMP%], .mat-step-header.mat-warn[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%], .mat-step-header.mat-warn[_ngcontent-%COMP%] .mat-step-icon-state-edit[_ngcontent-%COMP%]{background-color:#f44336;color:#fff}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-error[_ngcontent-%COMP%]{background-color:transparent;color:#f44336}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#000000de}.mat-step-header[_ngcontent-%COMP%] .mat-step-label.mat-step-label-error[_ngcontent-%COMP%]{color:#f44336}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{background-color:#fff}.mat-stepper-vertical-line[_ngcontent-%COMP%]:before{border-left-color:#0000001f}.mat-horizontal-stepper-header[_ngcontent-%COMP%]:before, .mat-horizontal-stepper-header[_ngcontent-%COMP%]:after, .mat-stepper-horizontal-line[_ngcontent-%COMP%]{border-top-color:#0000001f}.mat-horizontal-stepper-header[_ngcontent-%COMP%]{height:72px}.mat-stepper-label-position-bottom[_ngcontent-%COMP%] .mat-horizontal-stepper-header[_ngcontent-%COMP%], .mat-vertical-stepper-header[_ngcontent-%COMP%]{padding:24px}.mat-stepper-vertical-line[_ngcontent-%COMP%]:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom[_ngcontent-%COMP%] .mat-horizontal-stepper-header[_ngcontent-%COMP%]:after, .mat-stepper-label-position-bottom[_ngcontent-%COMP%] .mat-horizontal-stepper-header[_ngcontent-%COMP%]:before{top:36px}.mat-stepper-label-position-bottom[_ngcontent-%COMP%] .mat-stepper-horizontal-line[_ngcontent-%COMP%]{top:36px}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#757575}.mat-tab-nav-bar[_ngcontent-%COMP%], .mat-tab-header[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-nav-bar[_ngcontent-%COMP%], .mat-tab-group-inverted-header[_ngcontent-%COMP%] .mat-tab-header[_ngcontent-%COMP%]{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{color:#000000de}.mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:#00000061}.mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#000000de}.mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#00000061}.mat-tab-group[class*=mat-background-][_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar[class*=mat-background-][_ngcontent-%COMP%]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:#bbdefb4d}.mat-tab-group.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#2196f3}.mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-group.mat-primary.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-primary.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:#82b1ff4d}.mat-tab-group.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#448aff}.mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-group.mat-accent.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-accent.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-group.mat-warn.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-warn.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-ink-bar[_ngcontent-%COMP%]{background-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:#bbdefb4d}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%]{background-color:#2196f3}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:#fff6}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-focus-indicator[_ngcontent-%COMP%]:before, .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-focus-indicator[_ngcontent-%COMP%]:before, .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-focus-indicator[_ngcontent-%COMP%]:before, .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-focus-indicator[_ngcontent-%COMP%]:before{border-color:#fff}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-group.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:#82b1ff4d}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%]{background-color:#448aff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:#fff6}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-focus-indicator[_ngcontent-%COMP%]:before, .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-focus-indicator[_ngcontent-%COMP%]:before, .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-focus-indicator[_ngcontent-%COMP%]:before, .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-focus-indicator[_ngcontent-%COMP%]:before{border-color:#fff}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-group.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-label.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-keyboard-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled), .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] .mat-tab-link.cdk-program-focused[_ngcontent-%COMP%]:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%]{background-color:#f44336}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-label[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-label.mat-tab-disabled[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-tab-link.mat-tab-disabled[_ngcontent-%COMP%]{color:#fff6}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-focus-indicator[_ngcontent-%COMP%]:before, .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-focus-indicator[_ngcontent-%COMP%]:before, .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-focus-indicator[_ngcontent-%COMP%]:before, .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-focus-indicator[_ngcontent-%COMP%]:before{border-color:#fff}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header-pagination-disabled[_ngcontent-%COMP%] .mat-tab-header-pagination-chevron[_ngcontent-%COMP%]{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-group.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-link-container[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%] > .mat-tab-header-pagination[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#fff;opacity:.12}.mat-toolbar[_ngcontent-%COMP%]{background:whitesmoke;color:#000000de}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:#2196f3;color:#fff}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{background:#448aff;color:#fff}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{background:#f44336;color:#fff}.mat-toolbar[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-ripple[_ngcontent-%COMP%]{background-color:currentColor}.mat-toolbar[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-focused[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] .mat-form-field.mat-focused[_ngcontent-%COMP%] .mat-select-arrow[_ngcontent-%COMP%]{color:inherit}.mat-toolbar[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{caret-color:currentColor}.mat-toolbar-multiple-rows[_ngcontent-%COMP%]{min-height:64px}.mat-toolbar-row[_ngcontent-%COMP%], .mat-toolbar-single-row[_ngcontent-%COMP%]{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows[_ngcontent-%COMP%]{min-height:56px}.mat-toolbar-row[_ngcontent-%COMP%], .mat-toolbar-single-row[_ngcontent-%COMP%]{height:56px}}.mat-tooltip[_ngcontent-%COMP%]{background:rgba(97,97,97,.9)}.mat-tree[_ngcontent-%COMP%]{background:white}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{color:#000000de}.mat-tree-node[_ngcontent-%COMP%]{min-height:48px}.mat-snack-bar-container[_ngcontent-%COMP%]{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-simple-snackbar-action[_ngcontent-%COMP%]{color:#448aff}.sub-nav[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{line-height:normal}.site-el[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:row;width:100%;align-items:center;min-height:43px}.site-el.has-division[_ngcontent-%COMP%]{padding:14px 0}.site-el.no-division[_ngcontent-%COMP%]{padding:8px 0}.device-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;transition:.1s;cursor:pointer;background:#fff}.device-list[_ngcontent-%COMP%]:hover{background:#fafafa}.device-list[_ngcontent-%COMP%] .basic[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.device-list[_ngcontent-%COMP%] .basic[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{padding:16px 8px}.device-list[_ngcontent-%COMP%] .basic[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{font-size:14px;padding:6px 12px;flex-grow:1;width:calc(100% - 160px)}.device-list[_ngcontent-%COMP%] .basic[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] .content-device-title[_ngcontent-%COMP%]{overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:break-word;width:100%;max-width:100%}.device-list[_ngcontent-%COMP%] .basic[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] .content-title[_ngcontent-%COMP%]{color:#0009}.device-list[_ngcontent-%COMP%] .basic[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%]{margin-left:7px;color:#000000de}.device-list[_ngcontent-%COMP%] .basic[_ngcontent-%COMP%] .stat-contents[_ngcontent-%COMP%]{font-size:12px;padding:16px 8px;color:#aaa;text-align:right;min-width:80px}.device-list[_ngcontent-%COMP%] .basic[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{color:#f67474}.device-list[_ngcontent-%COMP%] .basic[_ngcontent-%COMP%] .normal[_ngcontent-%COMP%]{color:#1e90ff}.device-list[_ngcontent-%COMP%] .detail[_ngcontent-%COMP%]{display:flex;flex-direction:row;padding:4px 0 8px}.device-list[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{padding:7px 14px;background:#2383e2;color:#fff;border-radius:5px;font-size:13px;font-weight:500;margin-right:8px;text-transform:uppercase;box-shadow:0 0 2px #888;cursor:pointer}.device-list[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{background:#2ea0ff;box-shadow:0 0 6px #888}.button-disabled[_ngcontent-%COMP%]{color:#555;cursor:default;pointer-events:none}.button-warning[_ngcontent-%COMP%]{color:#fff;background-color:#dc143c}.button-warning[_ngcontent-%COMP%]:hover{background-color:#fc3f65}.device-list[_ngcontent-%COMP%] .space[_ngcontent-%COMP%]{flex-grow:1}.selected-device[_ngcontent-%COMP%]{margin-bottom:8px;box-shadow:0 2px 8px -1px #888;background-color:#e6f2ff}.selected-device[_ngcontent-%COMP%]:hover{background:#fff;background-color:#e6f2ff}.head[_ngcontent-%COMP%]{font-weight:bold}.content-list[_ngcontent-%COMP%]{position:relative;max-height:500px;overflow-y:overlay}.list-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;min-height:43px;padding:0;margin:2px 6px;border-radius:5px}.list-header[_ngcontent-%COMP%]{margin-bottom:8px;color:#888;font-weight:700;text-transform:uppercase}.has-child[_ngcontent-%COMP%]{cursor:pointer}.has-child[_ngcontent-%COMP%]:hover{background:#f0f0f0}.site-item[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:row;align-items:center;min-height:43px;padding:11px 0}.list-item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{display:table-cell;padding:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;font-size:14px;position:relative}.list-itme[_ngcontent-%COMP%] .w-1[_ngcontent-%COMP%]{width:10%}.list-item[_ngcontent-%COMP%] .w-2[_ngcontent-%COMP%]{width:20%}.list-item[_ngcontent-%COMP%] .w-3[_ngcontent-%COMP%]{width:30%}.list-item[_ngcontent-%COMP%] .w-4[_ngcontent-%COMP%]{width:40%}.list-item[_ngcontent-%COMP%] .w-5[_ngcontent-%COMP%]{width:50%}.list-item[_ngcontent-%COMP%] .fs-12[_ngcontent-%COMP%]{font-size:12px}.list-item[_ngcontent-%COMP%] .right-align[_ngcontent-%COMP%]{text-align:right}.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}.selected-id[_ngcontent-%COMP%]{color:#1e90ff!important}.select-id[_ngcontent-%COMP%]{background-color:#1e90ff!important}.status-box[_ngcontent-%COMP%]{height:30px;margin:0 16px;padding:8px;width:200px;box-sizing:border-box;border:1px solid #ccc;border-radius:4px;font-size:12px;color:#777;text-align:center;transition:.3s;cursor:pointer;display:flex;flex-direction:row;justify-content:space-between}.status-box[_ngcontent-%COMP%]:hover{background-color:#eee}.status-box[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{display:flex}.status-list[_ngcontent-%COMP%]{position:absolute;background:white;width:200px;font-size:12px;border:1px solid #bbb;box-shadow:0 0 6px #888;white-space:nowrap;text-align:left;z-index:500}.link-txt[_ngcontent-%COMP%]{padding:8px 16px;color:#4387f4;cursor:pointer;font-weight:300;font-style:italic}.link-txt.span[_ngcontent-%COMP%]{padding:0 3px}.link-txt[_ngcontent-%COMP%]:hover{color:#9fc1f9}.link-txt[_ngcontent-%COMP%]:focus{outline:none;border-bottom:1px solid #2383e2}.selectbox.short[_ngcontent-%COMP%]{width:150px}.share-site[_ngcontent-%COMP%]{color:#1f8fff}.disable-list[_ngcontent-%COMP%]{color:#aaa!important}.primary-button[_ngcontent-%COMP%]{background-color:#2383e2;padding:4px 16px;cursor:pointer;color:#fff}.primary-button[_ngcontent-%COMP%]:hover{background-color:#66b3ff}.danger[_ngcontent-%COMP%]{color:red}.text-button[_ngcontent-%COMP%]{padding-left:4px;color:#2383e2;cursor:pointer}.text-button[_ngcontent-%COMP%]:hover{color:#54aaff}.transition[_ngcontent-%COMP%]{transition:.3s}.transition.rotate-reverse[_ngcontent-%COMP%]{transform:rotate(180deg)}.add-log-btn[_ngcontent-%COMP%]{text-align:center;font-weight:bold;background:#f0f7ff}.add-log-btn[_ngcontent-%COMP%]:hover{background:#e6f2ff!important}mat-radio-group[_ngcontent-%COMP%] mat-radio-button[_ngcontent-%COMP%]{margin-right:8px}.site-text[_ngcontent-%COMP%]{width:200px;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:#000000bf;padding-bottom:5px}.site-text.deactivated[_ngcontent-%COMP%]{color:#00000061}.plan-widget[_ngcontent-%COMP%]{align-content:center;flex-direction:row;display:flex;min-height:calc(100% - 20px);flex:1;overflow-y:overlay;flex-wrap:wrap;padding:10px 0}.plan-widget[_ngcontent-%COMP%] .plan-title-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:10px 0;margin:0 6px 0 16px}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%]{flex:1;padding:30px 32px 32px;overflow-y:overlay;font-family:Roboto;font-size:16px;font-weight:400;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:-.1px;color:#252525}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .flex-1[_ngcontent-%COMP%]{flex:1}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .flex-1-2[_ngcontent-%COMP%]{flex:1.2}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .flex-1-5[_ngcontent-%COMP%]{flex:1.5}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .flex-2[_ngcontent-%COMP%]{flex:2}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .flex-3[_ngcontent-%COMP%]{flex:3}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .flex-4[_ngcontent-%COMP%]{flex:4}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .flex-5[_ngcontent-%COMP%]{flex:5}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .txt-right[_ngcontent-%COMP%]{text-align:right}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:flex;font-weight:400}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%]{border:.5px solid #ececed}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-title[_ngcontent-%COMP%]{padding:20px;display:flex;justify-content:space-between}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-title[_ngcontent-%COMP%] .plan-service-title-label[_ngcontent-%COMP%]{font-size:22px;color:#2383e2;font-weight:400}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-sep[_ngcontent-%COMP%]{padding:0 10px;background:#ececed;height:1px}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-items[_ngcontent-%COMP%]{height:50px}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-items[_ngcontent-%COMP%] .plan-service-item[_ngcontent-%COMP%]{padding:15px 20px;display:flex;align-items:center;justify-content:space-between}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-items[_ngcontent-%COMP%] .plan-service-item[_ngcontent-%COMP%] .service-disable[_ngcontent-%COMP%]{color:#d1d2d2!important}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-items[_ngcontent-%COMP%] .plan-service-item[_ngcontent-%COMP%] .plan-service-item-left[_ngcontent-%COMP%]{display:flex;align-items:center}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-items[_ngcontent-%COMP%] .plan-service-item[_ngcontent-%COMP%] .plan-service-item-left[_ngcontent-%COMP%] .service-status[_ngcontent-%COMP%]{margin-right:20px;width:61px;height:20px;text-align:center;justify-content:center;display:flex;align-items:center;border-radius:5px;font-size:13px;font-weight:400;color:#fff}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-items[_ngcontent-%COMP%] .plan-service-item[_ngcontent-%COMP%] .plan-service-item-left[_ngcontent-%COMP%] .service-status.plan-enable[_ngcontent-%COMP%]{background-color:#2383e2}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-items[_ngcontent-%COMP%] .plan-service-item[_ngcontent-%COMP%] .plan-service-item-left[_ngcontent-%COMP%] .service-status.plan-disable[_ngcontent-%COMP%]{background-color:#d1d2d2}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-items[_ngcontent-%COMP%] .plan-service-item[_ngcontent-%COMP%] .plan-service-item-left[_ngcontent-%COMP%] .plan-service-label[_ngcontent-%COMP%]{font-size:15px;color:#494949;font-weight:500}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-items[_ngcontent-%COMP%] .plan-service-item[_ngcontent-%COMP%] .plan-service-item-right[_ngcontent-%COMP%]{display:flex}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-items[_ngcontent-%COMP%] .plan-service-item[_ngcontent-%COMP%] .plan-service-item-right[_ngcontent-%COMP%] .currency[_ngcontent-%COMP%]{display:flex;align-items:flex-end;font-size:15px;color:#3f3e3e}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-items[_ngcontent-%COMP%] .plan-service-item[_ngcontent-%COMP%] .plan-service-item-right[_ngcontent-%COMP%] .fee[_ngcontent-%COMP%]{display:flex;align-items:flex-end;font-size:18px;color:#3f3e3e}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-service-box[_ngcontent-%COMP%] .plan-service-items[_ngcontent-%COMP%] .plan-service-item[_ngcontent-%COMP%] .plan-service-item-right[_ngcontent-%COMP%] .per[_ngcontent-%COMP%]{display:flex;align-items:flex-end;font-size:16px;color:#979797}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-header[_ngcontent-%COMP%]{margin-bottom:16px;color:#000000de}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-header[_ngcontent-%COMP%] .plan-month[_ngcontent-%COMP%]{font-size:20px;color:#000000de}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-header[_ngcontent-%COMP%] .plan-charge-txt[_ngcontent-%COMP%]{font-size:34px;color:#000000de}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{display:flex;position:relative;justify-content:center;text-align:center;margin-left:14px;overflow:hidden;border:none;font-size:14px;font-weight:500;color:#2383e2;text-decoration:none;cursor:pointer;outline:none;border-radius:5px;transition-duration:.2s}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button.small[_ngcontent-%COMP%]{font-size:14px}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button.small[_ngcontent-%COMP%] .btn-inner[_ngcontent-%COMP%]{margin:7px 14px}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button[_ngcontent-%COMP%] .btn-inner[_ngcontent-%COMP%]{display:flex;align-items:center;margin:7px 14px}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button[_ngcontent-%COMP%] .btn-inner[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{padding-right:3px}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button[_ngcontent-%COMP%] .btn-inner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button[_ngcontent-%COMP%] .btn-inner.small-btn[_ngcontent-%COMP%]{margin:7px 14px;font-size:14px}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]{background-color:#2383e2;color:#fff}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]:hover{background-color:#66b3ff}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button-danger[_ngcontent-%COMP%]{background-color:#f1556c;color:#fff;border-radius:4px}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button-danger[_ngcontent-%COMP%]:hover{background-color:#f0425c}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button-normal[_ngcontent-%COMP%]{border-style:solid;border-width:1px;border-image-source:linear-gradient(to bottom,#dfdfdf,#bcbcbc);border-image-slice:1;background-image:linear-gradient(to bottom,#f7f7f7,#ececed),linear-gradient(to bottom,#dfdfdf,#bcbcbc);background-origin:border-box;background-clip:content-box,border-box;color:#0009}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button-normal[_ngcontent-%COMP%]:hover{border-image-source:linear-gradient(to bottom,#c3c3c3,#9f9f9f);border-image-slice:1;background-image:linear-gradient(to bottom,#e4e4e4,#d9d9d9),linear-gradient(to bottom,#c3c3c3,#9f9f9f)}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .button-normal[_ngcontent-%COMP%]:active{box-shadow:inset 0 2px 3px #00000080}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-detail-btn[_ngcontent-%COMP%] .space[_ngcontent-%COMP%]{flex:1}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-inner-btn[_ngcontent-%COMP%]{height:25px;border-radius:5px;border:solid 1px rgba(30,144,255,.3);background-color:#1e90ff1a;color:#1f8fff;padding:0 12px;margin-left:8px;text-align:center;cursor:pointer}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-inner-btn[_ngcontent-%COMP%]:hover{background-color:#0080ff4d}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-inner-btn[_ngcontent-%COMP%] .plan-detail-btn-txt[_ngcontent-%COMP%]{font-size:12px;line-height:27px}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%]{width:100%}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-title[_ngcontent-%COMP%]{display:flex;height:45px;justify-content:space-between;background-color:#f7f7f7;border-bottom:solid 1px #dbdbdb}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-title[_ngcontent-%COMP%] .plan-table-title-txt[_ngcontent-%COMP%]{padding:16px 16px 13px;font-size:14px}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%]{display:flex;height:45px;justify-content:space-between;border-bottom:solid 1px #dbdbdb;font-size:14px;font-weight:400;color:#737373}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items.total[_ngcontent-%COMP%]{border-bottom:none}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%] .plan-table-item[_ngcontent-%COMP%]{flex:4;padding:14px 16px;overflow:hidden;text-overflow:ellipsis}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%] .plan-table-item[_ngcontent-%COMP%] .plan-table-opts[_ngcontent-%COMP%]{display:flex;align-items:center}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%] .plan-table-item[_ngcontent-%COMP%] .plan-table-opts[_ngcontent-%COMP%] .event-bar[_ngcontent-%COMP%]{margin-right:10px;width:110px;height:12px;background:#eaeaea;position:relative;border-radius:6px;overflow:hidden}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%] .plan-table-item[_ngcontent-%COMP%] .plan-table-opts[_ngcontent-%COMP%] .event-bar[_ngcontent-%COMP%] .event-progress[_ngcontent-%COMP%]{width:0px;height:12px;background:#2383e2;position:absolute;transition:.2s}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%] .plan-table-item.flex-1[_ngcontent-%COMP%]{flex:1}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%] .plan-table-item.flex-1-2[_ngcontent-%COMP%]{flex:1.2}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%] .plan-table-item.flex-1-5[_ngcontent-%COMP%]{flex:1.5}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%] .plan-table-item.flex-2[_ngcontent-%COMP%]{flex:2}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%] .plan-table-item.flex-3[_ngcontent-%COMP%]{flex:3}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%] .plan-table-item.flex-4[_ngcontent-%COMP%]{flex:4}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%] .plan-table-item.flex-5[_ngcontent-%COMP%]{flex:5}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%] .plan-table-item.align-right[_ngcontent-%COMP%]{text-align:right}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-table-items[_ngcontent-%COMP%] .plan-table-item[_ngcontent-%COMP%] .beta[_ngcontent-%COMP%]{font-weight:normal;color:#2383e2;font-size:14px;font-style:italic}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-detail-title[_ngcontent-%COMP%]{font-size:18px}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .plan-detail-price[_ngcontent-%COMP%]{font-size:16px}.plan-widget[_ngcontent-%COMP%] .plan-body[_ngcontent-%COMP%] .plan-table[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}.plan-widget.deactivated[_ngcontent-%COMP%]{padding:0 0 10px}.activation-widget[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:840px;position:relative;height:110px;padding:20px 30px;background-color:#1e90ff;transition:.2s;color:#fff;overflow:auto;border-radius:5px}.activation-widget[_ngcontent-%COMP%] .activation-label[_ngcontent-%COMP%]{font-size:24px;font-weight:300}.activation-widget[_ngcontent-%COMP%] .activate-date-box[_ngcontent-%COMP%]{margin-top:26px;display:flex}.activation-widget[_ngcontent-%COMP%] .activate-date-box[_ngcontent-%COMP%] .activate-date-label[_ngcontent-%COMP%]{color:#ffffffde}.activation-widget[_ngcontent-%COMP%] .activate-date-box[_ngcontent-%COMP%] .activate-progress-container[_ngcontent-%COMP%]{position:relative;margin:0 7px}.activation-widget[_ngcontent-%COMP%] .activate-date-box[_ngcontent-%COMP%] .activate-progress-container[_ngcontent-%COMP%] .activate-progress-box[_ngcontent-%COMP%]{width:240px;height:20px;background-color:#fff;border-radius:17px;overflow:auto}.activation-widget[_ngcontent-%COMP%] .activate-date-box[_ngcontent-%COMP%] .activate-progress-container[_ngcontent-%COMP%] .activate-progress-box[_ngcontent-%COMP%] .activate-progress[_ngcontent-%COMP%]{width:0px;height:20px;background-image:linear-gradient(to left,#46dabd,#b8e986);overflow:auto}.activation-widget[_ngcontent-%COMP%] .activate-date-box[_ngcontent-%COMP%] .activate-progress-container[_ngcontent-%COMP%] .activate-progress-box[_ngcontent-%COMP%] .activate-float-label[_ngcontent-%COMP%]{position:absolute;top:-20px;left:calc(0% - 10px);font-size:12px;color:#ffffffde}.activation-widget[_ngcontent-%COMP%] .activate-desc[_ngcontent-%COMP%]{letter-spacing:-.09px;font-size:13px}.plan-btn[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;margin:0 0 0 6px;padding:6px 15px;border-radius:5px;background-color:#1f8fff;cursor:pointer}.plan-btn[_ngcontent-%COMP%]:hover{background-color:#66b3ff}.plan-btn[_ngcontent-%COMP%] .plan-btn-txt[_ngcontent-%COMP%]{font-family:Roboto;font-size:15px;font-weight:500;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:-.1px;color:#fff}.icon-btn[_ngcontent-%COMP%]{display:flex;align-items:center;color:#878787;cursor:pointer;margin:0 8px;transition:.2s}.icon-btn[_ngcontent-%COMP%]:hover{color:#4d4d4d}.icon-btn.warning[_ngcontent-%COMP%]{color:#db143c}.icon-btn.warning[_ngcontent-%COMP%]:hover{color:#e46}.print-btn[_ngcontent-%COMP%]{width:73px;height:30px;margin-right:10px;display:flex;align-items:center;border-radius:5px;border-style:solid;border-width:1px;border-image-source:linear-gradient(to bottom,#dfdfdf,#bcbcbc);border-image-slice:1;background-image:linear-gradient(to bottom,#f7f7f7,#ececed),linear-gradient(to bottom,#dfdfdf,#bcbcbc);background-origin:border-box;background-clip:content-box,border-box;color:#888;font-weight:500;cursor:pointer}.print-btn[_ngcontent-%COMP%]:hover{border-image-source:linear-gradient(to bottom,#c3c3c3,#9f9f9f);border-image-slice:1;background-image:linear-gradient(to bottom,#e4e4e4,#d9d9d9),linear-gradient(to bottom,#c3c3c3,#9f9f9f)}.print-btn[_ngcontent-%COMP%]:active{box-shadow:inset 0 2px 3px #00000080}.print-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#888;font-size:20px;padding:5px 5px 5px 10px}.print-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:13px;color:#888;padding:5px 10px 5px 0}.isp-info-line[_ngcontent-%COMP%]{display:flex;font-size:13px;color:#000000de}.isp-info-line[_ngcontent-%COMP%] .isp-info-title[_ngcontent-%COMP%]{flex:1;font-weight:400}.isp-info-line[_ngcontent-%COMP%] .isp-info-label[_ngcontent-%COMP%]{margin-left:14px}.pagination[_ngcontent-%COMP%]{display:flex;font-size:12px;align-items:center}.pagination[_ngcontent-%COMP%] .page-btn[_ngcontent-%COMP%]{cursor:pointer}.pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{opacity:.3}.mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px / 28px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px / 24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83) / 20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67) / 20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-strong[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%]{font:500 14px / 24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-small[_ngcontent-%COMP%], .mat-caption[_ngcontent-%COMP%]{font:400 12px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px / 112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px / 56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px / 48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px / 40px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-subtitle[_ngcontent-%COMP%], .mat-card-content[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);-ms-transform:translateY(-1.28119em) scale(.75);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);-ms-transform:translateY(-1.28118em) scale(.75);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);-ms-transform:translateY(-1.28117em) scale(.75);width:133.3334133333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-grid-tile-header[_ngcontent-%COMP%], .mat-grid-tile-footer[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-vertical[_ngcontent-%COMP%], .mat-stepper-horizontal[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:normal}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px / 24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-ripple-element[_ngcontent-%COMP%]{background-color:#0000001a}.mat-option[_ngcontent-%COMP%]{color:#000000de}.mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled), .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active[_ngcontent-%COMP%]{background:rgba(0,0,0,.04);color:#000000de}.mat-option.mat-option-disabled[_ngcontent-%COMP%]{color:#00000061}.mat-primary[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#2196f3}.mat-accent[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#40c4ff}.mat-warn[_ngcontent-%COMP%] .mat-option.mat-selected[_ngcontent-%COMP%]:not(.mat-option-disabled){color:#f44336}.mat-optgroup-label[_ngcontent-%COMP%]{color:#0000008a}.mat-optgroup-disabled[_ngcontent-%COMP%] .mat-optgroup-label[_ngcontent-%COMP%]{color:#00000061}.mat-pseudo-checkbox[_ngcontent-%COMP%]{color:#0000008a}.mat-pseudo-checkbox[_ngcontent-%COMP%]:after{color:#fafafa}.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#b0b0b0}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#2196f3}.mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#40c4ff}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background:#f44336}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{background:#b0b0b0}.mat-app-background[_ngcontent-%COMP%]{background-color:#fafafa;color:#000000de}.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}.mat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{color:inherit;background:transparent}.mat-button.mat-primary[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%]{color:#2196f3}.mat-button.mat-accent[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%]{color:#40c4ff}.mat-button.mat-warn[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%]{color:#f44336}.mat-button.mat-primary.mat-button-disabled[_ngcontent-%COMP%], .mat-button.mat-accent.mat-button-disabled[_ngcontent-%COMP%], .mat-button.mat-warn.mat-button-disabled[_ngcontent-%COMP%], .mat-button.mat-button-disabled.mat-button-disabled[_ngcontent-%COMP%], .mat-icon-button.mat-primary.mat-button-disabled[_ngcontent-%COMP%], .mat-icon-button.mat-accent.mat-button-disabled[_ngcontent-%COMP%], .mat-icon-button.mat-warn.mat-button-disabled[_ngcontent-%COMP%], .mat-icon-button.mat-button-disabled.mat-button-disabled[_ngcontent-%COMP%], .mat-stroked-button.mat-primary.mat-button-disabled[_ngcontent-%COMP%], .mat-stroked-button.mat-accent.mat-button-disabled[_ngcontent-%COMP%], .mat-stroked-button.mat-warn.mat-button-disabled[_ngcontent-%COMP%], .mat-stroked-button.mat-button-disabled.mat-button-disabled[_ngcontent-%COMP%]{color:#00000042}.mat-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-primary[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#2196f3}.mat-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-accent[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#40c4ff}.mat-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-warn[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:#f44336}.mat-button.mat-button-disabled[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-icon-button.mat-button-disabled[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%], .mat-stroked-button.mat-button-disabled[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background-color:transparent}.mat-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{opacity:.1;background-color:currentColor}.mat-button-focus-overlay[_ngcontent-%COMP%]{background:black}.mat-stroked-button[_ngcontent-%COMP%]:not(.mat-button-disabled){border-color:#0000001f}.mat-flat-button[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%]{color:#000000de;background-color:#fff}.mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%]{color:#fff}.mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%]{color:#000000de}.mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%]{color:#fff}.mat-flat-button.mat-primary.mat-button-disabled[_ngcontent-%COMP%], .mat-flat-button.mat-accent.mat-button-disabled[_ngcontent-%COMP%], .mat-flat-button.mat-warn.mat-button-disabled[_ngcontent-%COMP%], .mat-flat-button.mat-button-disabled.mat-button-disabled[_ngcontent-%COMP%], .mat-raised-button.mat-primary.mat-button-disabled[_ngcontent-%COMP%], .mat-raised-button.mat-accent.mat-button-disabled[_ngcontent-%COMP%], .mat-raised-button.mat-warn.mat-button-disabled[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-button-disabled[_ngcontent-%COMP%], .mat-fab.mat-primary.mat-button-disabled[_ngcontent-%COMP%], .mat-fab.mat-accent.mat-button-disabled[_ngcontent-%COMP%], .mat-fab.mat-warn.mat-button-disabled[_ngcontent-%COMP%], .mat-fab.mat-button-disabled.mat-button-disabled[_ngcontent-%COMP%], .mat-mini-fab.mat-primary.mat-button-disabled[_ngcontent-%COMP%], .mat-mini-fab.mat-accent.mat-button-disabled[_ngcontent-%COMP%], .mat-mini-fab.mat-warn.mat-button-disabled[_ngcontent-%COMP%], .mat-mini-fab.mat-button-disabled.mat-button-disabled[_ngcontent-%COMP%]{color:#00000042}.mat-flat-button.mat-primary[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%]{background-color:#2196f3}.mat-flat-button.mat-accent[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%], .mat-fab.mat-accent[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%]{background-color:#40c4ff}.mat-flat-button.mat-warn[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%]{background-color:#f44336}.mat-flat-button.mat-primary.mat-button-disabled[_ngcontent-%COMP%], .mat-flat-button.mat-accent.mat-button-disabled[_ngcontent-%COMP%], .mat-flat-button.mat-warn.mat-button-disabled[_ngcontent-%COMP%], .mat-flat-button.mat-button-disabled.mat-button-disabled[_ngcontent-%COMP%], .mat-raised-button.mat-primary.mat-button-disabled[_ngcontent-%COMP%], .mat-raised-button.mat-accent.mat-button-disabled[_ngcontent-%COMP%], .mat-raised-button.mat-warn.mat-button-disabled[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-button-disabled[_ngcontent-%COMP%], .mat-fab.mat-primary.mat-button-disabled[_ngcontent-%COMP%], .mat-fab.mat-accent.mat-button-disabled[_ngcontent-%COMP%], .mat-fab.mat-warn.mat-button-disabled[_ngcontent-%COMP%], .mat-fab.mat-button-disabled.mat-button-disabled[_ngcontent-%COMP%], .mat-mini-fab.mat-primary.mat-button-disabled[_ngcontent-%COMP%], .mat-mini-fab.mat-accent.mat-button-disabled[_ngcontent-%COMP%], .mat-mini-fab.mat-warn.mat-button-disabled[_ngcontent-%COMP%], .mat-mini-fab.mat-button-disabled.mat-button-disabled[_ngcontent-%COMP%]{background-color:#0000001f}.mat-flat-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ffffff1a}.mat-flat-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-accent[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#0000001a}.mat-flat-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-raised-button.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mini-fab.mat-warn[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#ffffff1a}.mat-stroked-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-flat-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-raised-button[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-raised-button[_ngcontent-%COMP%]:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-raised-button.mat-button-disabled[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-fab[_ngcontent-%COMP%]:not(.mat-button-disabled):active:not([class*=mat-elevation-z]), .mat-mini-fab[_ngcontent-%COMP%]:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-fab.mat-button-disabled[_ngcontent-%COMP%]:not([class*=mat-elevation-z]), .mat-mini-fab.mat-button-disabled[_ngcontent-%COMP%]:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#0000008a}.mat-checkbox-checkmark[_ngcontent-%COMP%]{fill:#fafafa}.mat-checkbox-checkmark-path[_ngcontent-%COMP%]{stroke:#fafafa!important}.mat-checkbox-mixedmark[_ngcontent-%COMP%]{background-color:#fafafa}.mat-checkbox-indeterminate.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-checked.mat-primary[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#2196f3}.mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#40c4ff}.mat-checkbox-indeterminate.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-checked.mat-warn[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#f44336}.mat-checkbox-disabled.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-disabled.mat-checkbox-indeterminate[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:#b0b0b0}.mat-checkbox-disabled[_ngcontent-%COMP%]:not(.mat-checkbox-checked) .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#b0b0b0}.mat-checkbox-disabled[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{color:#0000008a}.mat-checkbox[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{background-color:#000}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element[_ngcontent-%COMP%]{background:#2196f3}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element[_ngcontent-%COMP%]{background:#40c4ff}.mat-checkbox-checked[_ngcontent-%COMP%]:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%], .mat-checkbox[_ngcontent-%COMP%]:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element[_ngcontent-%COMP%]{background:#f44336}.site-icon[_ngcontent-%COMP%]{transition:all .2s ease 0s;flex:1 1 0%;margin:0 10px;background:#aaaab0}.site-icon.sel-site[_ngcontent-%COMP%]{box-shadow:0 0 0 3px #fff}.site-icon.shared-site[_ngcontent-%COMP%]{background:#2383e2}.site-icon.deactivated[_ngcontent-%COMP%]{opacity:.35}.monitoring-btn-container[_ngcontent-%COMP%]{height:50px;align-items:center;display:flex;padding-left:20px}.monitoring-btn-box[_ngcontent-%COMP%]{display:flex;height:30px;margin-right:20px;border-radius:5px;border-style:solid;border-width:1px;border-image-source:linear-gradient(to bottom,#dfdfdf,#bcbcbc);border-image-slice:1;background-image:linear-gradient(to bottom,#f7f7f7,#ececed),linear-gradient(to bottom,#dfdfdf,#bcbcbc);background-origin:border-box;background-clip:content-box,border-box;font-family:Roboto;font-size:14px;font-weight:400;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:-.09px;color:#0009}.monitoring-btn-box[_ngcontent-%COMP%] .monitoring-btn[_ngcontent-%COMP%]{cursor:pointer;display:flex;padding:8px 15px;justify-content:center;align-items:center}.monitoring-btn-box[_ngcontent-%COMP%] .monitoring-btn[_ngcontent-%COMP%]:hover{border-image-source:linear-gradient(to bottom,#c3c3c3,#9f9f9f);border-image-slice:1;background-image:linear-gradient(to bottom,#e4e4e4,#d9d9d9),linear-gradient(to bottom,#c3c3c3,#9f9f9f)}.monitoring-btn-box[_ngcontent-%COMP%] .monitoring-btn[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:20px;margin-right:6px}.monitoring-btn-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{height:29px;border-style:solid;border-width:1px;border-image-source:linear-gradient(to bottom,#dfdfdf,#bcbcbc);border-image-slice:1}.text[_ngcontent-%COMP%]{font-size:14px}.text-btn[_ngcontent-%COMP%]{margin-left:6px;cursor:pointer;font-size:14px;letter-spacing:-.09px;color:#1e90ff}.text-btn[_ngcontent-%COMP%]:hover{font-weight:500;color:#0073e6}.new-badge[_ngcontent-%COMP%]{font-size:10px;padding:1px 3px;color:#fff;background-color:#2383e2;position:absolute;right:12px;top:8px;border-radius:5px;letter-spacing:-.06px}.newbie[_ngcontent-%COMP%]{position:relative;width:100%}.newbie-box[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:center;width:100%;text-align:center}.newbie-box.bottom[_ngcontent-%COMP%]{top:calc(50% + 25px)}.newbie-box.right[_ngcontent-%COMP%]{top:10px;right:15px;width:auto}.newbie-box.bottom-right[_ngcontent-%COMP%]{top:20px;right:-50px;width:410px}.balloon[_ngcontent-%COMP%]{display:flex;position:relative;background:#3395f4;border-radius:5px;padding:20px;width:max-content;justify-content:center;align-items:center;color:#fff;font-size:18px;box-shadow:0 0 8px #00000080}.balloon[_ngcontent-%COMP%] .balloon-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-content:center;font-weight:400}.balloon[_ngcontent-%COMP%] .balloon-desc[_ngcontent-%COMP%]{margin-top:14px;font-size:14px;text-align:left}.balloon[_ngcontent-%COMP%] .balloon-link[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:14px;font-size:14px;font-weight:400;color:#f8e71c;text-align:right;justify-content:flex-end;cursor:pointer}.balloon[_ngcontent-%COMP%] .balloon-icon[_ngcontent-%COMP%]{cursor:pointer;margin-left:30px;font-size:22px}.balloon.top[_ngcontent-%COMP%] [_ngcontent-%COMP%]:after{content:"";position:absolute;border-right:15px solid transparent;border-left:15px solid transparent;border-bottom:30px solid #3395f4;top:-18px;left:calc(50% - 15px)}.balloon.top-right[_ngcontent-%COMP%] [_ngcontent-%COMP%]:after{content:"";position:absolute;border-right:15px solid transparent;border-left:15px solid transparent;border-bottom:30px solid #3395f4;top:-18px;left:calc(76% - 15px)}.no-tts[_ngcontent-%COMP%]{padding-top:36px;align-items:center;text-align:center}.alarm-tab[_ngcontent-%COMP%]{height:40px;color:#888;background:#fff;display:flex;align-items:center;z-index:1}.alarm-tab[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;position:relative}.alarm-tab[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:hover{color:#2383e2;cursor:pointer}.alarm-tab[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#2383e2}.alarm-tab[_ngcontent-%COMP%] .icn-button[_ngcontent-%COMP%]{padding:0 16px}.alarm-tab[_ngcontent-%COMP%] .icn-button-active[_ngcontent-%COMP%]{color:#000}.alarm-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:0 32px;text-transform:capitalize;font-size:14px}.alarm-tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;bottom:-2px;width:100%;height:4px;background:#2383e2}.inactivate[_ngcontent-%COMP%]{filter:grayscale(100%);opacity:.5;pointer-events:none}th[_ngcontent-%COMP%]{position:relative;padding:5px 7px;color:#000000de;text-transform:capitalize;text-align:left;font-size:12px;font-weight:normal;-webkit-user-select:none;user-select:none}th[_ngcontent-%COMP%]:first-child{padding-left:10px}th.status[_ngcontent-%COMP%]:before{content:"";position:absolute;left:-1px;bottom:15%;height:70%;border-left:1px solid #bcbcbc;border-left:1px solid var(th-divider);box-sizing:border-box}th[_ngcontent-%COMP%] .th-divider[_ngcontent-%COMP%]{bottom:0;cursor:col-resize;position:absolute;right:-10px;top:0;width:20px;z-index:10}tr.warning[_ngcontent-%COMP%]{background-color:#ffe6e6}td[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap;max-width:1vw}td.text-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap;max-width:1vw}.table-container.p-7[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:7px}.table-container.p-7[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px}.sub-nav[_ngcontent-%COMP%]{left:0px}.sub-nav.hide[_ngcontent-%COMP%]{left:-290px;pointer-events:none;overflow:hidden}.component-body[_ngcontent-%COMP%]{width:calc(100% - 300px);left:300px}.component-body.hide[_ngcontent-%COMP%]{width:calc(100% - 10px);left:10px}.component-body-no-data[_ngcontent-%COMP%]{width:calc(100% - 300px);left:300px}.component-body-no-data.hide[_ngcontent-%COMP%]{width:calc(100% - 10px);left:10px}.tts-type[_ngcontent-%COMP%]{background-color:#e3e8ee;border-radius:11px;align-items:center;justify-content:center;display:flex;padding:2px 10px;margin-right:4px;cursor:pointer}.tts-type[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:16px}.tts-type.failed[_ngcontent-%COMP%]{background-color:#cd3d6426;color:#cd3d64}@media screen and (max-width: 910px){.icon-btn-txt[_ngcontent-%COMP%]{display:none}}.enable-date[_ngcontent-%COMP%]{color:#2f96fb}.disable-date[_ngcontent-%COMP%]{opacity:0}.enable-xml[_ngcontent-%COMP%]{color:#359dff;cursor:pointer}.disable-xml[_ngcontent-%COMP%]{color:#0000004d}.no-drag[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.selectbox-label[_ngcontent-%COMP%]{width:200px;white-space:nowrap;text-overflow:ellipsis;overflow-x:hidden}select[_ngcontent-%COMP%]::-ms-expand{display:none}.selectitem[_ngcontent-%COMP%]{color:#777;transition:.2s;cursor:pointer;display:flex;flex-direction:row;font-size:14px}.selectitem[_ngcontent-%COMP%]:hover{background-color:#ebebeb}.selectitem.selected[_ngcontent-%COMP%]{background-color:#e0e0e0}.selectitem.label[_ngcontent-%COMP%]{margin:2px 0;max-width:420px;font-size:14px;padding:8px 10px;justify-content:space-between}.select-list[_ngcontent-%COMP%]{position:fixed;width:100%;background:#fff;font-size:14px;border-style:solid;border-width:1px;border-radius:5px;border-color:#dfdfdf;overflow-x:hidden;white-space:nowrap;z-index:500;font-weight:500}.select-list[_ngcontent-%COMP%] .search-result-input[_ngcontent-%COMP%]{font-size:14px;color:#000000de}.select-list[_ngcontent-%COMP%] .search-result-input[_ngcontent-%COMP%] .list-search-input[_ngcontent-%COMP%]{width:100%;outline:none;border:0;border-bottom:1px solid rgba(0,0,0,.1);height:30px;text-indent:16px}.select-list[_ngcontent-%COMP%] .search-result-input[_ngcontent-%COMP%] .list-search-input[_ngcontent-%COMP%]::placeholder{color:#0000004d}.select-list[_ngcontent-%COMP%] .select-result[_ngcontent-%COMP%]{display:flex}.select-list[_ngcontent-%COMP%] .select-result[_ngcontent-%COMP%] .check-area[_ngcontent-%COMP%]{display:flex;margin-right:5px;justify-content:center;color:#0000004d}.select-list[_ngcontent-%COMP%] .select-result[_ngcontent-%COMP%] .check-area[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{font-size:18px}.select-list[_ngcontent-%COMP%] .select-result[_ngcontent-%COMP%] .check-area[_ngcontent-%COMP%] .check-icon.checked[_ngcontent-%COMP%]{color:#1f8fff}.select-list[_ngcontent-%COMP%] .btn-area[_ngcontent-%COMP%]{margin:14px}[sortable-column][_ngcontent-%COMP%]{cursor:pointer}.arming-status-icon[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;margin:0 10px;border-radius:50%;width:38px;height:38px;min-width:38px;min-height:38px;box-sizing:border-box;align-items:center;justify-content:center;color:#000000de;font-weight:500;transition:all .3s}.arming-status-icon[_ngcontent-%COMP%] .armed[_ngcontent-%COMP%]{background-color:#ffdbbd;border-radius:50%}.arming-status-icon[_ngcontent-%COMP%] .disarmed[_ngcontent-%COMP%]{background-color:#bef3e0;border-radius:50%}.arming-status-icon[_ngcontent-%COMP%] .partially-armed[_ngcontent-%COMP%]{width:24px;height:24px;display:flex;align-items:center;justify-content:center;transition:all .3s}.arming-status-icon[_ngcontent-%COMP%] .partially-armed.armed[_ngcontent-%COMP%]{position:absolute;top:2px;left:2px}.arming-status-icon[_ngcontent-%COMP%] .partially-armed.disarmed[_ngcontent-%COMP%]{position:absolute;bottom:2px;right:2px;z-index:1;box-shadow:0 0 0 1px #fff}.arming-status-icon[_ngcontent-%COMP%] .partially-armed.sel-site[_ngcontent-%COMP%]{box-shadow:0 0 0 1px #fff}.arming-status-icon[_ngcontent-%COMP%] .armed-user[_ngcontent-%COMP%]{background-color:#ff7f1640;border-radius:50%}.arming-status-icon[_ngcontent-%COMP%] .loading[_ngcontent-%COMP%]{background-color:#0000001a;border-radius:50%}.arming-status-icon[_ngcontent-%COMP%] .arming-content[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;transition:all .3s}.arming-status-icon[_ngcontent-%COMP%] .arming-content.sel-site[_ngcontent-%COMP%]{box-shadow:0 0 0 3px #fff}.arming-status-icon[_ngcontent-%COMP%] .lock[_ngcontent-%COMP%]{color:#ff7f16}.arming-status-icon[_ngcontent-%COMP%] .unlock[_ngcontent-%COMP%]{color:#1ea675}.arming-status-icon[_ngcontent-%COMP%] .partially-lock[_ngcontent-%COMP%]{color:#f5a623}.arming-status-icon.deactivated[_ngcontent-%COMP%]{opacity:.35} .md-drppicker .btn{padding:7px 14px!important;font-size:14px!important;line-height:14px!important;background-color:#2383e2!important;margin:0 20px 7px 0!important;box-shadow:none!important;text-transform:capitalize!important} .md-drppicker td.active{background-color:#2383e2!important} .md-drppicker .ranges ul li button.active{background-color:#2383e2!important} .md-drppicker .calendar-table td{color:#000000de} .md-drppicker .calendar-table td.off{color:#eee!important}@keyframes pulse{0%{opacity:.25}20%{opacity:.8}40%{opacity:.25}60%{opacity:.8}80%{opacity:.25}to{opacity:.25}}.audio-waves[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{animation-duration:1.7s;animation-iteration-count:infinite;animation-name:pulse;opacity:.25}.audio-waves[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]:nth-child(2){animation-delay:.125s}.audio-waves[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]:nth-child(3){animation-delay:.25s}.audio-playing[_ngcontent-%COMP%]{background-color:#1e88e5;color:#fff}.btn-loader[_ngcontent-%COMP%]{position:relative;margin:0 auto;width:16px}.btn-loader.absolute[_ngcontent-%COMP%]{margin:auto;position:absolute;top:calc(50% - 10px);left:calc(50% - 10px)}.btn-loader[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.btn-loader[_ngcontent-%COMP%] .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}.btn-loader[_ngcontent-%COMP%] .circular[_ngcontent-%COMP%] .path[_ngcontent-%COMP%]{stroke-dasharray:1,200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke:#fff;stroke-linecap:round}.item[_ngcontent-%COMP%]{box-sizing:border-box}.item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%]{margin-bottom:5px;font-size:14px;color:#000000de}.item[_ngcontent-%COMP%] .item-header[_ngcontent-%COMP%] .item-title[_ngcontent-%COMP%]{margin-bottom:5px;font-size:14px;color:#000000de}.item[_ngcontent-%COMP%] .item-desc[_ngcontent-%COMP%]{margin-bottom:5px;font-size:14px;color:#0009}.item[_ngcontent-%COMP%] .item-warning[_ngcontent-%COMP%]{margin-bottom:10px;font-size:14px;color:#cd3d64}.warning-txt[_ngcontent-%COMP%]{color:#cd3d64}.link[_ngcontent-%COMP%]{color:#2383e2;cursor:pointer}.link[_ngcontent-%COMP%]:hover{text-decoration:underline}.icon[_ngcontent-%COMP%]{cursor:pointer}.deactivate-tooltip-content[_ngcontent-%COMP%]{position:relative}.deactivate-tooltip-content[_ngcontent-%COMP%] .tooltip-icon[_ngcontent-%COMP%]{cursor:pointer;margin-left:7px;font-size:18px;color:#0009}.deactivate-tooltip-content[_ngcontent-%COMP%] .fs-12[_ngcontent-%COMP%]{font-size:12px}.deactivate-tooltip-content[_ngcontent-%COMP%]:hover > .tooltip[_ngcontent-%COMP%]{visibility:visible;opacity:1}.deactivate-tooltip-content[_ngcontent-%COMP%] comp-icon.deactivate-tooltip[_ngcontent-%COMP%]{padding-left:5px}.deactivate-tooltip-content[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%]{width:300px;visibility:hidden;background-color:#fff;padding:20px;box-sizing:border-box;border-radius:6px;font-size:14px;box-shadow:0 0 30px #0000004d;position:absolute;z-index:100;top:-30px;left:75px;margin-left:-38px;opacity:0;transition:opacity .3s;color:#0009;word-spacing:1px}.deactivate-tooltip-content[_ngcontent-%COMP%] .tooltip.test[_ngcontent-%COMP%]{visibility:visible;opacity:1}.deactivate-tooltip-content[_ngcontent-%COMP%] .tooltip.deactivate-tooltip[_ngcontent-%COMP%]{width:361px;top:32px;left:-122px}.deactivate-tooltip-content[_ngcontent-%COMP%] .tooltip.deactivate-tooltip[_ngcontent-%COMP%]:after{top:-24px;left:182px;border-color:transparent transparent #fff transparent}.deactivate-tooltip-content[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%] .tooltip-box[_ngcontent-%COMP%]{padding:20px;margin-bottom:20px;background:#fff;border-radius:6px;font-size:14px;box-shadow:0 0 30px #0000004d}.deactivate-tooltip-content[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%]:after{content:"";position:absolute;margin-left:-19px;border-width:12px;border-style:solid;border-color:transparent #fff transparent transparent}.deactivate-tooltip-content[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%] .font-10[_ngcontent-%COMP%]{font-size:10px}.deactivate-tooltip-content[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%] .font-12[_ngcontent-%COMP%]{font-size:12px}.deactivate-tooltip-content[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.tooltip[_ngcontent-%COMP%] .tooltip-item[_ngcontent-%COMP%] .tts-tooltip-img[_ngcontent-%COMP%]{height:161px}.site-filter-btn[_ngcontent-%COMP%]{color:#0009}.site-filter-btn[_ngcontent-%COMP%] .filter-icon[_ngcontent-%COMP%]{margin-right:5px}.site-filter-btn[_ngcontent-%COMP%] .exist-filter[_ngcontent-%COMP%]{font-size:14px;color:#1e88e5;border-left:solid 1px rgba(0,0,0,.1);margin-left:10px;padding-left:10px}.site-filter-box[_ngcontent-%COMP%]{position:absolute;visibility:hidden;opacity:0;display:flex;flex-direction:column;width:calc(100% - 20px);top:48px;transition:all .3s;z-index:2;background:#fff;border-radius:5px;border:1px solid rgba(0,0,0,.1);box-shadow:0 0 10px #0000001a}.site-filter-box.show-filter[_ngcontent-%COMP%]{visibility:visible;opacity:1}.site-filter-box-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;width:100%;padding:7px 10px;box-sizing:border-box;justify-content:space-between;background-color:#f7fafc;border-bottom:1px solid rgba(0,0,0,.1)}.site-filter-box-header-title[_ngcontent-%COMP%]{font-size:16px;color:#000000de}.site-filter-box-header[_ngcontent-%COMP%] .filter-btn[_ngcontent-%COMP%]{margin:6px 12px}.site-filter-box-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;min-height:72px;box-sizing:border-box;transition:all .2s}.site-filter-box-footer[_ngcontent-%COMP%]{display:flex;width:100%;padding:7px 10px;box-sizing:border-box;background-color:#f7fafc}.site-filter-box-category[_ngcontent-%COMP%]{min-height:44px;padding:12px;display:flex;align-items:center;box-sizing:border-box;border-bottom:1px solid rgba(0,0,0,.1)}.site-filter-box-items[_ngcontent-%COMP%]{visibility:hidden;display:block;line-height:0;height:0;opacity:0;overflow:hidden;padding:0 24px;background:#F7FAFC;transition:all .2s}.site-filter-box-items-item[_ngcontent-%COMP%]{margin-bottom:16px}.site-filter-box-items-item[_ngcontent-%COMP%] .filter-item[_ngcontent-%COMP%]{font-size:13px;color:#55647b}.site-filter-box-items-item[_ngcontent-%COMP%]:last-child{margin-bottom:0}.site-filter-box-items.expend[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content;line-height:normal;padding:16px 24px;opacity:1;overflow:initial}.site-filter-box-items.expend.show[_ngcontent-%COMP%]{visibility:visible}.site-deactivated[_ngcontent-%COMP%]{display:flex;width:900px;height:68px;max-height:68px;padding:14px 30px;align-items:center;justify-content:center;background-color:#cd3c6326;box-sizing:border-box;flex-wrap:wrap;font-size:14px;font-weight:normal;color:#000000de}.site-deactivated[_ngcontent-%COMP%] .icon-area[_ngcontent-%COMP%]{height:100%;margin-top:3px}.site-deactivate-txt[_ngcontent-%COMP%]{font-size:14px;color:#cd3d64}.deactivated-area[_ngcontent-%COMP%]{opacity:.4}.division-tag[_ngcontent-%COMP%]{padding:2px 4px;background:#e3e8ee;border-radius:4px;color:#55647b}.shared-sub-dealer-tag[_ngcontent-%COMP%]{padding:2px 4px;border:1px solid #1E88E5;border-radius:4px;color:#1e88e5}.sort-order[_ngcontent-%COMP%]{background-color:#e3e8ee}','.widget-body[_ngcontent-%COMP%]{padding:20px 30px}.widget[_ngcontent-%COMP%]{width:100%}.more-content[_ngcontent-%COMP%]{position:relative;justify-content:flex-end}.more-content[_ngcontent-%COMP%] .more-icon[_ngcontent-%COMP%]{cursor:pointer;padding:0 4px;border-radius:4px;font-size:18px;color:#0009;-webkit-user-select:none;user-select:none}.more-content[_ngcontent-%COMP%] .more-icon[_ngcontent-%COMP%]:hover, .more-content[_ngcontent-%COMP%] .more-icon.show[_ngcontent-%COMP%]{box-shadow:0 0 4px gray}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{visibility:hidden;background-color:#fff;color:#000000de;box-sizing:border-box;border-radius:6px;font-size:14px;box-shadow:#0f0f0f0d 0 0 0 1px,#0f0f0f1a 0 3px 6px,#0f0f0f1a 0 9px 24px;cursor:pointer;position:fixed;z-index:100;padding:10px 0;margin-top:-5px;min-width:100px;opacity:0;transition:opacity .3s}.more-content[_ngcontent-%COMP%] .more.show[_ngcontent-%COMP%], .more-content[_ngcontent-%COMP%] .more.visible[_ngcontent-%COMP%]{visibility:visible;opacity:1}.more-content[_ngcontent-%COMP%] .more.schedule[_ngcontent-%COMP%]:after{display:none}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .item-button[_ngcontent-%COMP%]{padding:5px 10px;font-size:14px;color:#000000de;border-radius:5px;cursor:pointer}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .item-button.danger[_ngcontent-%COMP%]{color:#cd3d64}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .item-button[_ngcontent-%COMP%]:hover{background-color:#f7fafc}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-item[_ngcontent-%COMP%]{display:flex;align-items:center;padding:5px 10px;color:#000;font-size:14px}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-item.danger[_ngcontent-%COMP%]{color:#cd3d64}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-item[_ngcontent-%COMP%]:hover{background-color:#f7fafc}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-title[_ngcontent-%COMP%]{color:#000000de;margin-bottom:5px;font-weight:500}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-content[_ngcontent-%COMP%]{color:#0009;margin-bottom:14px;line-height:20px}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-content[_ngcontent-%COMP%]:last-child{margin-bottom:0}.more-content[_ngcontent-%COMP%] .more.test[_ngcontent-%COMP%]{visibility:visible;opacity:1}.tooltip-content[_ngcontent-%COMP%]{position:relative}.tooltip-content[_ngcontent-%COMP%] .tooltip-icon[_ngcontent-%COMP%]{cursor:pointer;margin-left:7px;font-size:18px;color:#0009}.tooltip-content[_ngcontent-%COMP%]:hover .tooltip[_ngcontent-%COMP%]{visibility:visible;opacity:1}.tooltip-content[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%]{position:absolute;min-width:100px;max-width:320px;width:max-content;height:-moz-fit-content;height:fit-content;visibility:hidden;background-color:#fff;padding:16px;box-sizing:border-box;border-radius:5px;font-size:14px;box-shadow:#0f0f0f0d 0 0 0 1px,#0f0f0f1a 0 3px 6px,#0f0f0f1a 0 9px 24px;z-index:100;opacity:0;transition:opacity .3s;color:#000000de;word-spacing:1px}.tooltip-content[_ngcontent-%COMP%] .tooltip.left[_ngcontent-%COMP%]{right:25px}.tooltip-content[_ngcontent-%COMP%] .tooltip.left[_ngcontent-%COMP%]:after{bottom:initial;left:inherit;right:-24px;top:calc(50% - 12px);border-color:transparent transparent transparent #fff}.tooltip-content[_ngcontent-%COMP%] .tooltip.w-400[_ngcontent-%COMP%]{width:400px}.tooltip-content[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%] .font-10[_ngcontent-%COMP%]{font-size:10px}.tooltip-content[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%] .font-12[_ngcontent-%COMP%]{font-size:12px}.tooltip-content[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%] .tooltip-item[_ngcontent-%COMP%] .tooltip-title[_ngcontent-%COMP%]{margin-bottom:5px}.tooltip-content[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%] .tooltip-item[_ngcontent-%COMP%] .tooltip-info[_ngcontent-%COMP%]{color:#0009}.tooltip-content[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%] .tooltip-item[_ngcontent-%COMP%] .tooltip-item-title[_ngcontent-%COMP%]{margin-bottom:5px;color:#000000de;font-size:14px;font-weight:400}.tooltip-content[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%] .tooltip-item[_ngcontent-%COMP%] .tooltip-item-info[_ngcontent-%COMP%]{margin-bottom:5px;color:#0009;font-size:14px;font-weight:400}.tooltip-content[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%] .tooltip-link[_ngcontent-%COMP%]{color:#2383e2}.tooltip-content[_ngcontent-%COMP%] .tooltip.test[_ngcontent-%COMP%]{visibility:visible;opacity:1}.tooltip-content[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{padding-left:5px;cursor:pointer}.autorule-item[_ngcontent-%COMP%]{margin-bottom:10px;border:1px solid rgba(0,0,0,.1);border-radius:5px;box-sizing:border-box}.autorule-item[_ngcontent-%COMP%] .autorule-item-title[_ngcontent-%COMP%]{display:flex;height:50px;width:100%;align-items:center;font-size:14px;padding:12px 20px;box-sizing:border-box}.autorule-item[_ngcontent-%COMP%] .auto-rule-item-body[_ngcontent-%COMP%]{max-height:1000px;overflow:hidden;overflow:initial;transition:max-height .2s}.autorule-item[_ngcontent-%COMP%] .auto-rule-item-body.hide[_ngcontent-%COMP%]{max-height:0px;overflow:hidden}.autorule-item[_ngcontent-%COMP%] .autorule-item-row[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:58px;width:100%;padding:10px 30px 5px;border-top:1px solid rgba(0,0,0,.1);box-sizing:border-box;cursor:pointer}.autorule-item[_ngcontent-%COMP%] .autorule-item-row[_ngcontent-%COMP%]:hover{background-color:#f5faff}.autorule-item[_ngcontent-%COMP%] .autorule-item-label[_ngcontent-%COMP%]{min-width:150px;font-size:16px;box-sizing:border-box}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%]{display:flex;grid-gap:10px;gap:10px;min-height:38px;padding:9px 20px;background:#F2F6F9;border:1px solid rgba(0,0,0,.1);border-radius:5px;font-size:14px;box-sizing:border-box;margin-right:10px;margin-bottom:5px;cursor:pointer}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%]:last-child{margin-right:0}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%] .autorule-item-box-name[_ngcontent-%COMP%]{margin-left:10px;font-size:14px;white-space:nowrap}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%] .autorule-item-box-tag-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;grid-gap:5px;gap:5px}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%] .autorule-item-box-tag[_ngcontent-%COMP%]{display:grid;align-items:center;max-width:300px;background:#E3E8EE;padding:3px 7px;border:1px solid rgba(0,0,0,.1);border-radius:5px;font-size:12px;box-sizing:border-box}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%] .autorule-item-box-tag.disarmed[_ngcontent-%COMP%]{background:transparent;border:1px solid #1EA675;color:#1ea675}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%] .autorule-item-box-tag.armed[_ngcontent-%COMP%]{background:transparent;border:1px solid #FF9900;color:#f90}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%] .autorule-item-box-tag.energized[_ngcontent-%COMP%]{background:transparent;border:1px solid #FF9900;color:#f90}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%] .autorule-item-box-tag.normal[_ngcontent-%COMP%]{background:transparent;border:1px solid rgba(0,0,0,.38);color:#00000061}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%] .autorule-item-box-tag.GET[_ngcontent-%COMP%]{background:transparent;border:1px solid #1EA675;color:#1ea675}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%] .autorule-item-box-tag.POST[_ngcontent-%COMP%]{background:transparent;border:1px solid #F5925E;color:#f5925e}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%] .autorule-item-box-tag.PUT[_ngcontent-%COMP%]{background:transparent;border:1px solid #1E88E5;color:#1e88e5}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%] .autorule-item-box-tag.DELETE[_ngcontent-%COMP%]{background:transparent;border:1px solid #CD3D64;color:#cd3d64}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%] .autorule-item-box-tag.PATCH[_ngcontent-%COMP%]{border:1px solid #fb5c07;background:transparent;color:#fb5c07}.autorule-item[_ngcontent-%COMP%] .autorule-item-box[_ngcontent-%COMP%] .autorule-item-box-tag.ai-operator[_ngcontent-%COMP%]{background:#f5ebff;border:1px solid #ead3ff;color:#9c32ff}.ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.flex-wrap[_ngcontent-%COMP%]{flex-wrap:wrap}.flex-row[_ngcontent-%COMP%]{flex-direction:row}.pointer[_ngcontent-%COMP%]{cursor:pointer}.no-data[_ngcontent-%COMP%]{color:#0009}.disabled-item[_ngcontent-%COMP%]{opacity:.3}.expand-icon[_ngcontent-%COMP%]{transition:all .2s;cursor:pointer}.expand-icon.reverse[_ngcontent-%COMP%]{transform:rotate(180deg)}.tag[_ngcontent-%COMP%]{display:flex;align-items:center;padding:2px 10px;border-radius:10px;font-size:12px;background:rgba(86,101,123,.1)}.tag.enabled[_ngcontent-%COMP%]{background:rgba(31,137,229,.1);color:#1e88e5}.tag.disabled[_ngcontent-%COMP%]{background:rgba(86,101,123,.1);color:#55647b}.condition-time-range[_ngcontent-%COMP%]:after{content:", "}.condition-time-range[_ngcontent-%COMP%]:last-child:after{content:none}']}),o})()}]);var qt=h(56447),It=h(688),Q=h(10823),N=h(1331),v=h(40688),ot=h(12280),w=(h(72882),h(99957),h(98950),h(15911));h(6006),h(59765),h(30636),h(32812),h(59917),h(63305),h(57689),h(27194),h(88638),h(12281);const Tr={provide:new t.OlP("mat-select-scroll-strategy"),deps:[N.aV],useFactory:function(o){return()=>o.scrollStrategies.reposition()}};let Sr=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({providers:[Tr],imports:[[T.ez,N.U8,v.Ng,v.BQ],ot.ZD,Q.lN,v.Ng,v.BQ]}),o})();h(81728),h(66899);const Ft=new t.OlP("mat-chips-default-options"),Lr={separatorKeyCodes:[w.K5]};let Vr=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({providers:[v.rD,{provide:Ft,useValue:Lr}],imports:[[v.BQ]]}),o})();h(88984),h(267),h(54958),h(62718),h(14089),h(37115);const lc={provide:new t.OlP("mat-autocomplete-scroll-strategy"),deps:[N.aV],useFactory:function(o){return()=>o.scrollStrategies.reposition()}};let _c=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({providers:[lc],imports:[[N.U8,v.Ng,v.BQ,T.ez],ot.ZD,v.Ng,v.BQ]}),o})(),pc=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[T.ez,P.u5,U.p9]]}),o})(),mc=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[T.ez,P.u5,U.p9]]}),o})(),uc=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[T.ez,P.u5,qt.q,It.m,U.p9,_t.rP,Sr,Q.lN,Vr,_c,pc,mc,St.k]]}),o})(),fc=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[T.ez,P.u5,P.UX,pr,qt.q,_t.rP,It.m,uc]]}),o})()},25229:(Wt,G,h)=>{h.d(G,{Z:()=>lt});var P=h(46243),ct=h(76052),X=h.n(ct),t=h(49951);const lt={_:P,moment:X(),tool:t.Z}}}]);