-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path5207.a5e9effa3b1f364d070a.js
1 lines (1 loc) · 190 KB
/
5207.a5e9effa3b1f364d070a.js
1
"use strict";(self.webpackChunkchekt_web_wcs=self.webpackChunkchekt_web_wcs||[]).push([[5207],{65207:(ve,N,d)=>{d.r(N),d.d(N,{CloudAIModule:()=>Oe});var O=d(16274),w=d(93324),k=d(688),S=d(29535),l=d(61855),t=d(42741),z=d(85481),T=d(7611),D=d(56880),q=d(47588),v=d(72898),Q=d(27787),E=d(21929),Y=d(17743),L=d(25343),H=d(86311);const G=["initBackground"];function B(o,r){1&o&&(t.TgZ(0,"div",8),t.O4$(),t.TgZ(1,"svg",9),t._UZ(2,"circle",10),t.qZA(),t.qZA())}function R(o,r){1&o&&t._UZ(0,"img",23)}function $(o,r){1&o&&(t.TgZ(0,"div",24),t._uU(1,"Video of the Cloud AI"),t.qZA())}function W(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"iframe",25),t.NdJ("load",function(){return t.CHM(e),t.oxw(2).videoUploadDone()}),t.ALo(1,"safe"),t.qZA()}if(2&o){const e=t.oxw(2);t.Q6J("src",t.lcZ(1,1,e.descriptionVideo[e.videoRegion]),t.uOi)}}function K(o,r){if(1&o){const e=t.EpF();t.ynx(0),t.TgZ(1,"div",11,12),t.TgZ(3,"div",13),t.TgZ(4,"div",14),t._uU(5,"CHeKT cloud AI video filtering"),t.qZA(),t.TgZ(6,"div",15),t._uU(7,"Reduce the number of false alarms"),t.qZA(),t.TgZ(8,"div",16),t.TgZ(9,"div",17),t.NdJ("click",function(){return t.CHM(e),t.oxw().openDialog()}),t.TgZ(10,"div",18),t._uU(11,"Get started"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.YNc(12,R,1,0,"img",19),t.qZA(),t.TgZ(13,"div",20),t.YNc(14,$,2,0,"div",21),t.YNc(15,W,2,3,"ng-template",null,22,t.W1O),t.qZA(),t.BQk()}if(2&o){const e=t.MAs(16),n=t.oxw();t.xp6(9),t.ekj("disabled",n.isLoading),t.xp6(3),t.Q6J("ngIf",!n.isHideDescriptionIMG),t.xp6(2),t.Q6J("ngIf",!n.videoRegion||n.isLoadingVideo)("ngIfElse",e)}}function X(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"dealer-plan-modal",26),t.NdJ("onClose",function(i){return t.CHM(e),t.oxw().onCloseDealerPlanModal(i)}),t.qZA()}if(2&o){const e=t.oxw();t.Q6J("modal",e.m_dealer_plan_modal)}}function tt(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"app-notice",27),t.NdJ("event",function(i){return t.CHM(e),t.oxw().closedAgreementDialog(i)}),t.qZA()}if(2&o){const e=t.oxw();t.Q6J("modal",e.m_notice)("tos",e.tos)}}let et=(()=>{class o{constructor(e,n,i,c,a){this.usersService=e,this.dealerService=n,this.commonService=i,this.dealerPlanService=c,this.route=a,this.onUpdate=new t.vpe,this.m_warning=new v.u,this.m_dealer_plan_modal=new v.u,this.m_notice=new v.u,this.isLoading=!1,this.isChange=!1,this.hasServicePricingPerm=!1,this.isLoadingVideo=!1,this.videoRegion=null,this.descriptionVideo={},this.isHideDescriptionIMG=!1}onResize(){this.initBackground&&(this.isHideDescriptionIMG=this.initBackground.nativeElement.clientWidth<=990)}ngOnInit(){this.isLoading=!0,this.isLoadingVideo=!0,this.route.queryParams.subscribe(e=>{this.params=e,this.usersService.getMe().subscribe(n=>{var i,c;this.me=n,this.adminPermission=null!==(c=null===(i=null==n?void 0:n.permissions)||void 0===i?void 0:i.has_admin_permission)&&void 0!==c&&c,this.fetchDescriptionVideo(),this.checkRegion(),this.fetchDealerPlan(),this.isLoading=!1},n=>{this.isLoading=!1,this.commonService.showErrorToast(n,"Failed to get dealer information","Failed")})}),window.onload=()=>{console.debug("load :>>",this.initBackground.nativeElement.clientWidth),this.isHideDescriptionIMG=this.initBackground.nativeElement.clientWidth<=990}}fetchDescriptionVideo(){this.descriptionVideo={english:"https://www.youtube.com/embed/T6hsk8ypido?rel=0",french:"https://www.youtube.com/embed/biMtAGHXaYY?rel=0",british:"https://www.youtube.com/embed/Og0DOCd-D-E?rel=0"},this.isLoadingVideo=!1}checkRegion(){this.dealerService.getDealerInfo(this.me.dealer_id).subscribe(e=>{var n;switch(null===(n=e[0])||void 0===n?void 0:n.region_id){case 4:this.videoRegion="british";break;case 8:this.videoRegion="french";break;default:this.videoRegion="english"}})}videoUploadDone(){this.isLoadingVideo=!1}fetchDealerPlan(){return(0,l.mG)(this,void 0,void 0,function*(){const e=yield this.dealerPlanService.getDealerPlan(this.me.dealer_id).toPromise();this.hasServicePricingPerm=1!==(null==e?void 0:e.current_month_service_plan_type)})}openDialog(){var e,n;return this.hasServicePricingPerm?this.adminPermission&&!(null===(e=this.tos)||void 0===e?void 0:e.is_accepted)?(this.m_notice.data.title="AI SOFTWARE ADDENDUM",this.m_notice.tos=this.tos,void this.m_notice.open()):void((null===(n=this.tos)||void 0===n?void 0:n.is_accepted)?this.onUpdate.next():this.warningPermission()):(this.m_dealer_plan_modal.is_active=!0,this.m_dealer_plan_modal.data.feature="cloud-ai",void this.m_dealer_plan_modal.open())}warningPermission(){this.m_warning.data={header:"Activation Requires Administrative Permissions",contents:"",submit_btn:"OK",submit_class:["button-primary"],icon:"warning",isConfirm:!0,color:"orange"},this.m_warning.open()}onCloseDealerPlanModal(){return(0,l.mG)(this,void 0,void 0,function*(){yield this.fetchDealerPlan()})}closedAgreementDialog(e){e&&this.onUpdate.next()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(T.f),t.Y36(Q.X),t.Y36(D.v),t.Y36(z._),t.Y36(S.gz))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-cloud-ai-init"]],viewQuery:function(e,n){if(1&e&&t.Gf(G,5),2&e){let i;t.iGM(i=t.CRH())&&(n.initBackground=i.first)}},hostBindings:function(e,n){1&e&&t.NdJ("resize",function(){return n.onResize()},!1,t.Jf7)},inputs:{tos:"tos"},outputs:{onUpdate:"onUpdate"},decls:8,vars:5,consts:[[1,"sub-component"],[1,"widget-area",2,"overflow-x","hidden"],[1,"widget",2,"position","relative","max-height","none"],["class","inner-loader info-line",4,"ngIf"],[4,"ngIf"],[3,"modal"],[3,"modal","onClose",4,"ngIf"],[3,"modal","tos","event",4,"ngIf"],[1,"inner-loader","info-line"],["viewBox","25 25 50 50",1,"circular"],["cx","50","cy","50","r","5","fill","none","stroke-width","1","stroke-miterlimit","10",1,"path"],[1,"init-background"],["initBackground",""],[1,"text-area"],[1,"title"],[1,"sub-title"],[1,"btn-area"],[1,"button","button-white",3,"click"],[1,"btn-inner"],["src","/assets/imgs/cloud_ai_description.png","style","position: absolute; right: 80px; top: 80px",4,"ngIf"],[1,"init-body"],["style","background-color: black; padding: 110px 130px; color: white",4,"ngIf","ngIfElse"],["video",""],["src","/assets/imgs/cloud_ai_description.png",2,"position","absolute","right","80px","top","80px"],[2,"background-color","black","padding","110px 130px","color","white"],["width","500","height","276","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen","",3,"src","load"],[3,"modal","onClose"],[3,"modal","tos","event"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.YNc(3,B,3,0,"div",3),t.YNc(4,K,17,5,"ng-container",4),t.qZA(),t.qZA(),t.qZA(),t._UZ(5,"dealer-warning",5),t.YNc(6,X,1,1,"dealer-plan-modal",6),t.YNc(7,tt,1,2,"app-notice",7)),2&e&&(t.xp6(3),t.Q6J("ngIf",n.isLoading),t.xp6(1),t.Q6J("ngIf",!n.isLoading),t.xp6(1),t.Q6J("modal",n.m_warning),t.xp6(1),t.Q6J("ngIf",n.m_dealer_plan_modal.is_active),t.xp6(1),t.Q6J("ngIf",n.m_notice.is_active))},directives:[O.O5,E.a,Y.L,L.j],pipes:[H.y],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)}','.container[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:column}.container-center[_ngcontent-%COMP%]{display:flex;flex-direction:row;overflow-y:overlay;height:100%;position:relative;-webkit-user-select:none;user-select:none}.column[_ngcontent-%COMP%]{flex-direction:column}.column-reverse[_ngcontent-%COMP%]{flex-direction:column-reverse}.margin-left[_ngcontent-%COMP%]{margin-left:20px}.widget[_ngcontent-%COMP%]{margin:14px;width:100%}.widget[_ngcontent-%COMP%] .row-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;margin-right:8px;height:30px}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%]{padding:20px;font-size:14px}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%] .row-item[_ngcontent-%COMP%]{display:flex;flex-direction:row}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%] .row-item[_ngcontent-%COMP%]:not(:first-child){margin-top:14px}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{color:#0009}.widget[_ngcontent-%COMP%] .notice-area[_ngcontent-%COMP%]{background-color:#fcf9e9;padding:10px 20px;font-size:14px;color:#000000de;border-bottom:solid 1px rgba(0,0,0,.1)}.widget[_ngcontent-%COMP%] .notice-area[_ngcontent-%COMP%] .row-item[_ngcontent-%COMP%]{display:flex;flex-direction:row}.loader[_ngcontent-%COMP%]{position:relative;margin:0 auto;width:50px}.loader.absolute[_ngcontent-%COMP%]{margin:48px auto;position:absolute;top:calc(50% - 25px);left:calc(50% - 25px)}.loader[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.loading[_ngcontent-%COMP%]{background-color:#eee}.enable-text[_ngcontent-%COMP%]{color:#cd3d64}.disable-text[_ngcontent-%COMP%]{color:#55647b}.link[_ngcontent-%COMP%]{color:#2383e2!important;font-size:18px;transition:.3s;cursor:pointer}.link[_ngcontent-%COMP%]:hover{color:#025ab3!important}.disabled[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.disable[_ngcontent-%COMP%]{opacity:.6}.logo[_ngcontent-%COMP%]{height:30px}@keyframes pulse{0%{opacity:.25}20%{opacity:.8}40%{opacity:.25}60%{opacity:.8}80%{opacity:.25}to{opacity:.25}}.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}.init-background[_ngcontent-%COMP%]{position:relative;background-image:url(/assets/imgs/cloud_ai_init_background_v2.png);width:100%;height:400px}.init-background[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{position:absolute;left:180px;top:80px}.init-background[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-family:"Roboto";font-weight:500;font-size:24px;color:#fff;margin-bottom:14px}.init-background[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{font-family:"Roboto";font-weight:400;font-size:16px;letter-spacing:.4px;color:#fff;margin-bottom:34px}.init-body[_ngcontent-%COMP%]{position:relative;top:-40px;height:calc(100% - 625px);display:flex;flex-wrap:wrap;justify-content:center;grid-gap:49px;gap:49px}.init-body[_ngcontent-%COMP%] .body-left[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{background:#FFFFFF;box-shadow:0 2px 5px #40445214,0 1px 1px #0000001f,0 0 0 1px #40445229;border-radius:10px;padding:35px}.init-body[_ngcontent-%COMP%] .body-left[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card-icon[_ngcontent-%COMP%]{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:3px solid #B2BBEE;text-align:center;margin-right:16px}.init-body[_ngcontent-%COMP%] .body-left[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;grid-gap:8px;gap:8px}.init-body[_ngcontent-%COMP%] .body-left[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card-text[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:19px}.init-body[_ngcontent-%COMP%] .body-left[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card-text[_ngcontent-%COMP%] .card-subtitle[_ngcontent-%COMP%]{font-weight:400;font-size:14px;line-height:17px;color:#8792a2}.tag[_ngcontent-%COMP%]{align-items:center;line-height:16px;padding:2px 10px;margin-right:8px;border-radius:5px;border:1px solid #55647B;color:#55647b;font-size:13px}']}),o})();var nt=d(86842),ot=d(35460),I=d(29026),Z=d(70846),J=d(95974);const it=["providerOptionSelect"],ct=["detectingObjectOfPersonOptionSelect"],rt=["detectingObjectOfVehicleOptionSelect"];function at(o,r){if(1&o&&(t.TgZ(0,"div",33),t._UZ(1,"img",47),t.TgZ(2,"div",48),t._uU(3),t.qZA(),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("src",e.selectedDefaultProvider.icon_url,t.LSH),t.xp6(2),t.Oqu(e.selectedDefaultProvider.name)}}function lt(o,r){1&o&&t._uU(0,"Select Provider")}function st(o,r){if(1&o&&(t.TgZ(0,"div",33),t._UZ(1,"img",47),t.TgZ(2,"div",48),t._uU(3),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("src",e.icon_url,t.LSH),t.xp6(2),t.Oqu(e.name)}}function dt(o,r){1&o&&(t.TgZ(0,"div",55),t._uU(1,"Disable"),t.qZA())}function gt(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",51),t.NdJ("click",function(){const c=t.CHM(e).$implicit;return t.oxw(3).selectProvider(c)}),t.TgZ(1,"div",52),t.YNc(2,st,4,2,"div",53),t.YNc(3,dt,2,0,"div",54),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(3);t.ekj("selected",n.selectedDefaultProvider===e),t.xp6(2),t.Q6J("ngIf",e.icon_url),t.xp6(1),t.Q6J("ngIf",!e.icon_url)}}function pt(o,r){if(1&o&&(t.O4$(),t.kcU(),t.TgZ(0,"div",49),t.YNc(1,gt,4,4,"div",50),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.defaultProviderOptions)}}function _t(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",51),t.NdJ("click",function(){const c=t.CHM(e).$implicit;return t.oxw(3).selectDetectObjectPerson(c)}),t.TgZ(1,"div",52),t._uU(2),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(3);t.ekj("selected",n.selectedDetectingObjectOfPerson===e),t.xp6(2),t.Oqu(e.name)}}function ft(o,r){if(1&o&&(t.O4$(),t.kcU(),t.TgZ(0,"div",49),t.YNc(1,_t,3,3,"div",50),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.detectingObjectOfPersonOptions)}}function ut(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",51),t.NdJ("click",function(){const c=t.CHM(e).$implicit;return t.oxw(3).selectDetectObjectVehicle(c)}),t.TgZ(1,"div",52),t._uU(2),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(3);t.ekj("selected",n.selectedDetectingObjectOfVehicle===e),t.xp6(2),t.Oqu(e.name)}}function bt(o,r){if(1&o&&(t.O4$(),t.kcU(),t.TgZ(0,"div",49),t.YNc(1,ut,3,3,"div",50),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.detectingObjectOfVehicleOptions)}}function xt(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",2),t.TgZ(1,"div",3),t.NdJ("click",function(){return t.CHM(e),t.oxw().closeModal()}),t.qZA(),t.TgZ(2,"div",4),t.TgZ(3,"div",5),t.TgZ(4,"div",6),t.TgZ(5,"div",7),t._uU(6,"Default Settings for Cloud AI"),t.qZA(),t.TgZ(7,"div",8),t.TgZ(8,"div",9),t.TgZ(9,"i",10),t.NdJ("click",function(){return t.CHM(e),t.oxw().closeModal()}),t._uU(10,"close"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,"div",11),t.TgZ(12,"div",12),t._uU(13,"Settings to be applied by default for new site."),t._UZ(14,"br"),t._uU(15,"This is the initial setup and can be customized at any time."),t.qZA(),t.TgZ(16,"div",13),t.TgZ(17,"div",14),t._uU(18,"Default Provider AI"),t.qZA(),t.TgZ(19,"div",15),t.TgZ(20,"div",16,17),t.TgZ(22,"div",18),t.NdJ("click",function(){t.CHM(e);const i=t.oxw();return i.isShowDefaultProviderOptions=!i.isShowDefaultProviderOptions}),t.YNc(23,at,4,2,"div",19),t.YNc(24,lt,1,0,"ng-template",null,20,t.W1O),t.O4$(),t.TgZ(26,"svg",21),t._UZ(27,"path",22),t._UZ(28,"path",23),t._UZ(29,"path",24),t.qZA(),t.qZA(),t.YNc(30,pt,2,1,"div",25),t.qZA(),t.qZA(),t.qZA(),t.kcU(),t.TgZ(31,"div",13),t.TgZ(32,"div",26),t._uU(33,"Object Detection"),t.TgZ(34,"div",27),t._uU(35,"Trigger video alarm only when the following object is tracked."),t.qZA(),t.qZA(),t.TgZ(36,"div",28),t.TgZ(37,"div",16,29),t.TgZ(39,"div",30),t.NdJ("click",function(){t.CHM(e);const i=t.oxw();return i.isShowDetectingObjectOfPersonOptions=!i.isShowDetectingObjectOfPersonOptions}),t.TgZ(40,"div"),t._uU(41),t.qZA(),t.O4$(),t.TgZ(42,"svg",21),t._UZ(43,"path",22),t._UZ(44,"path",23),t._UZ(45,"path",24),t.qZA(),t.qZA(),t.YNc(46,ft,2,1,"div",25),t.qZA(),t.kcU(),t.TgZ(47,"div",16,31),t.TgZ(49,"div",30),t.NdJ("click",function(){t.CHM(e);const i=t.oxw();return i.isShowDetectingObjectOfVehicleOptions=!i.isShowDetectingObjectOfVehicleOptions}),t.TgZ(50,"div"),t._uU(51),t.qZA(),t.O4$(),t.TgZ(52,"svg",21),t._UZ(53,"path",22),t._UZ(54,"path",23),t._UZ(55,"path",24),t.qZA(),t.qZA(),t.YNc(56,bt,2,1,"div",25),t.qZA(),t.qZA(),t.qZA(),t.kcU(),t.TgZ(57,"div",13),t.TgZ(58,"div",14),t._uU(59,"Suppress Signals / App Notification"),t.qZA(),t.TgZ(60,"div",32),t.TgZ(61,"div",33),t.TgZ(62,"mat-slide-toggle",34),t.NdJ("change",function(i){return t.CHM(e),t.oxw().changeStatusSuppressingAlarmSignals(i)}),t.qZA(),t.TgZ(63,"div",35),t._uU(64,"Suppress Alarm Signals to Monitoring Center"),t.TgZ(65,"div",36),t.NdJ("mouseenter",function(i){return t.CHM(e),t.oxw().commonService.setTooltipPosition(i,"right-center")}),t._UZ(66,"comp-icon",37),t.TgZ(67,"div",38),t.TgZ(68,"div",39),t._uU(69,"Suppress Alarm Signals to Monitoring Center"),t.qZA(),t.TgZ(70,"div",40),t._UZ(71,"img",41),t.qZA(),t.TgZ(72,"div"),t._uU(73,"When enabled, alarm signals are not sent to the monitoring station when the object to be detected is not found in the video event. This will reduce alarm signal traffic and operational costs."),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(74,"div",33),t.TgZ(75,"mat-slide-toggle",34),t.NdJ("change",function(i){return t.CHM(e),t.oxw().changeStatusSuppressingNotification(i)}),t.qZA(),t.TgZ(76,"div",35),t._uU(77,"Suppress Notification to Customer Mobile App"),t.TgZ(78,"div",36),t.NdJ("mouseenter",function(i){return t.CHM(e),t.oxw().commonService.setTooltipPosition(i,"right-center")}),t._UZ(79,"comp-icon",37),t.TgZ(80,"div",38),t.TgZ(81,"div",39),t._uU(82,"Suppress Notification to Customer Mobile App"),t.qZA(),t.TgZ(83,"div",40),t._UZ(84,"img",42),t.qZA(),t.TgZ(85,"div"),t._uU(86,"When enabled, mobile app push notifications are not sent to customers when the object to be detected is not found. Only video events with the object to be detected are delivered to the mobile app."),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(87,"div",13),t.TgZ(88,"div",14),t._uU(89,"Disarmed Event \\w Cloud"),t.qZA(),t.TgZ(90,"div",32),t.TgZ(91,"div",33),t.TgZ(92,"mat-slide-toggle",34),t.NdJ("change",function(i){return t.CHM(e),t.oxw().changeStatusDisarmedEventAnalysis(i)}),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(93,"div",43),t.TgZ(94,"div",44),t.NdJ("click",function(){return t.CHM(e),t.oxw().saveDefaultConfig()}),t.TgZ(95,"div",45),t._uU(96,"Save & Start"),t.qZA(),t.qZA(),t.TgZ(97,"div",46),t.NdJ("click",function(){return t.CHM(e),t.oxw().closeModal()}),t.TgZ(98,"div",45),t._uU(99,"Cancel"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.MAs(25),n=t.oxw();t.Udp("opacity",n.modal.is_active?100:0)("visibility",n.modal.is_active?"visible":"hidden"),t.xp6(1),t.Q6J("@background",void 0),t.xp6(2),t.Q6J("@dialog",void 0),t.xp6(17),t.ekj("disabled",n.isLoading),t.xp6(3),t.Q6J("ngIf",n.selectedDefaultProvider.icon_url)("ngIfElse",e),t.xp6(7),t.Q6J("ngIf",n.isShowDefaultProviderOptions),t.xp6(7),t.ekj("disabled",n.isLoading),t.xp6(4),t.Oqu(null!=n.selectedDetectingObjectOfPerson&&n.selectedDetectingObjectOfPerson.name?null==n.selectedDetectingObjectOfPerson?null:n.selectedDetectingObjectOfPerson.name:"Person Detection Off"),t.xp6(5),t.Q6J("ngIf",n.isShowDetectingObjectOfPersonOptions),t.xp6(1),t.ekj("disabled",n.isLoading),t.xp6(4),t.Oqu(null!=n.selectedDetectingObjectOfVehicle&&n.selectedDetectingObjectOfVehicle.name?null==n.selectedDetectingObjectOfVehicle?null:n.selectedDetectingObjectOfVehicle.name:"Vehicle Detection Off"),t.xp6(5),t.Q6J("ngIf",n.isShowDetectingObjectOfVehicleOptions),t.xp6(6),t.Q6J("checked",n.isEnabledSuppressAlarmSignals),t.xp6(4),t.Q6J("icon","info")("size",16)("color","#4f566b"),t.xp6(9),t.Q6J("checked",n.isEnabledSuppressNotification),t.xp6(4),t.Q6J("icon","info")("size",16)("color","#4f566b"),t.xp6(13),t.Q6J("checked",n.isEnabledDisarmedEventAnalysis),t.xp6(2),t.ekj("disabled",!(null!=n.selectedDefaultProvider&&n.selectedDefaultProvider.id))}}let Ct=(()=>{class o{constructor(e,n,i){this.usersService=e,this.commonService=n,this.videoAIService=i,this.onUpdate=new t.vpe,this.m_warning=new v.u,this.isWarning=!1,this.isLoading=!1,this.isShowDefaultProviderOptions=!1,this.defaultProviderOptions=[{id:null,name:"",icon_url:""}],this.selectedDefaultProvider={id:null,name:"",icon_url:""},this.isShowDetectingObjectOfPersonOptions=!1,this.detectingObjectOfPersonOptions=[{id:null,name:"Person Detection Off",value:null}],this.selectedDetectingObjectOfPerson={id:null,name:"Person Detection Off",value:null},this.isShowDetectingObjectOfVehicleOptions=!1,this.detectingObjectOfVehicleOptions=[{id:null,name:"Vehicle Detection Off",value:null}],this.selectedDetectingObjectOfVehicle={id:null,name:"Vehicle Detection Off",value:null},this.isEnabledSuppressAlarmSignals=!0,this.isEnabledSuppressNotification=!0,this.isEnabledDisarmedEventAnalysis=!0}ngOnInit(){return(0,l.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.usersService.getMe().subscribe(e=>{this.me=e,this.init()}),this.isLoading=!1})}onGlobalClick(e){this.providerOptionSelect&&(this.providerOptionSelect.nativeElement.contains(e.target)||(this.isShowDefaultProviderOptions=!1)),this.detectingObjectOfPersonOptionSelect&&(this.detectingObjectOfPersonOptionSelect.nativeElement.contains(e.target)||(this.isShowDetectingObjectOfPersonOptions=!1)),this.detectingObjectOfVehicleOptionSelect&&(this.detectingObjectOfVehicleOptionSelect.nativeElement.contains(e.target)||(this.isShowDetectingObjectOfVehicleOptions=!1))}closeModal(){this.modal.is_active=!1,this.active=!1,this.modal.close()}init(){this.isShowDefaultProviderOptions=!1,this.isShowDetectingObjectOfPersonOptions=!1,this.selectedDetectingObjectOfPerson={id:null,name:"Person Detection Off",value:null},this.detectingObjectOfPersonOptions=[{id:null,name:"Person Detection Off",value:null}],this.isShowDetectingObjectOfVehicleOptions=!1,this.selectedDetectingObjectOfVehicle={id:null,name:"Vehicle Detection Off",value:null},this.detectingObjectOfVehicleOptions=[{id:null,name:"Vehicle Detection Off",value:null}],this.isEnabledSuppressAlarmSignals=!0,this.isEnabledSuppressNotification=!0,this.isEnabledDisarmedEventAnalysis=!0,this.fetchData()}fetchData(){return(0,l.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.getAllProvider(),yield this.getAllFilter(),this.isLoading=!1})}getAllProvider(){return(0,l.mG)(this,void 0,void 0,function*(){const e=this.me.dealer_id;try{const n=yield this.videoAIService.getAllProvider(e).toPromise();this.defaultProviderOptions=n.filter(i=>1===i.enabled),this.defaultProviderOptions.forEach(i=>i.name=this.capitalizeFirstLetter(i.name)),this.defaultProviderOptions.sort((i,c)=>this.compare(i.name,c.name))}catch(n){this.isLoading=!1,this.commonService.showErrorToast(n,"Faild Get All Provider","Faild")}})}capitalizeFirstLetter(e){let n=e.charAt(0),i=e.slice(1);return n.toUpperCase()+i}compare(e,n){return e<n?-1:e>n?1:0}getAllFilter(){return(0,l.mG)(this,void 0,void 0,function*(){const e=this.me.dealer_id;try{const n=yield this.videoAIService.getAllFilter(e).toPromise();this.detectingObjectOfPersonOptions=n.person,this.detectingObjectOfVehicleOptions=n.vehicle,this.detectingObjectOfPersonOptions.push({id:null,name:"Person Detection Off",value:null}),this.detectingObjectOfVehicleOptions.push({id:null,name:"Vehicle Detection Off",value:null}),this.selectedDetectingObjectOfPerson=n.person[0],this.selectedDetectingObjectOfVehicle=n.vehicle[0]}catch(n){this.isLoading=!1,this.commonService.showErrorToast(n,"Get Filter List","Failed")}})}selectProvider(e){!e||(this.selectedDefaultProvider=e,this.isShowDefaultProviderOptions=!1)}selectDetectObjectPerson(e){!e||(this.selectedDetectingObjectOfPerson=e,this.isShowDetectingObjectOfPersonOptions=!1)}selectDetectObjectVehicle(e){!e||(this.selectedDetectingObjectOfVehicle=e,this.isShowDetectingObjectOfVehicleOptions=!1)}changeStatusSuppressingAlarmSignals(e){this.isEnabledSuppressAlarmSignals=!this.isEnabledSuppressAlarmSignals}changeStatusSuppressingNotification(e){this.isEnabledSuppressNotification=!this.isEnabledSuppressNotification}changeStatusDisarmedEventAnalysis(e){this.isEnabledDisarmedEventAnalysis=!this.isEnabledDisarmedEventAnalysis}saveDefaultConfig(){this.confirmDialog("Do you want to enable CHeKT cloud AI video filtering?","")}confirmDialog(e="",n="",i="done",c="green"){this.m_warning.data={header:e,contents:`\n <p>${n}</b></p>\n `,submit_btn:"Save",submit_class:["button-primary"],icon:i,isConfirm:!1,color:c},this.m_warning.data.submit_func=()=>(0,l.mG)(this,void 0,void 0,function*(){this.isLoading=!0;const a={selectedDefaultProvider:this.selectedDefaultProvider,isEnabledSuppressAlarmSignals:this.isEnabledSuppressAlarmSignals,isEnabledSuppressNotification:this.isEnabledSuppressNotification,isEnabledDisarmedEventAnalysis:this.isEnabledDisarmedEventAnalysis,selectedDetectingObjectOfPerson:this.selectedDetectingObjectOfPerson,selectedDetectingObjectOfVehicle:this.selectedDetectingObjectOfVehicle};this.isLoading=!1,this.onUpdate.next(a),this.modal.is_active=!1,this.active=!1,this.modal.close()}),this.m_warning.open()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(T.f),t.Y36(D.v),t.Y36(q.e))},o.\u0275cmp=t.Xpm({type:o,selectors:[["dealer-cloud-ai-default-settings"]],viewQuery:function(e,n){if(1&e&&(t.Gf(it,5),t.Gf(ct,5),t.Gf(rt,5)),2&e){let i;t.iGM(i=t.CRH())&&(n.providerOptionSelect=i.first),t.iGM(i=t.CRH())&&(n.detectingObjectOfPersonOptionSelect=i.first),t.iGM(i=t.CRH())&&(n.detectingObjectOfVehicleOptionSelect=i.first)}},hostBindings:function(e,n){1&e&&t.NdJ("mousedown",function(c){return n.onGlobalClick(c)},!1,t.evT)},inputs:{modal:"modal",active:"active"},outputs:{onUpdate:"onUpdate"},decls:2,vars:3,consts:[["class","disable-full-screen",3,"opacity","visibility",4,"ngIf"],[3,"modal","doCancel"],[1,"disable-full-screen"],[1,"background",3,"click"],[1,"container-center"],[1,"modal","sub-modal",2,"max-width","500px"],[1,"modal-header"],[1,"modal-header-txt"],[2,"position","relative"],[1,"title-close"],[1,"material-icons",3,"click"],[1,"items-area",2,"overflow-y","initial"],[2,"color","#55647B","font-size","14px","margin-bottom","16px"],[1,"item"],[1,"v-center","item-label"],[1,"flex",2,"gap","8px"],[1,"select-comp"],["providerOptionSelect",""],[1,"selectbox","label",2,"width","200px",3,"click"],["class","flex v-center",4,"ngIf","ngIfElse"],["placeholder",""],["xmlns","http://www.w3.org/2000/svg","height","16px","width","14px","viewBox","0 0 18 20"],["d","M0 0h24v24H0V0z","fill","none"],["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","style","width: 200px",4,"ngIf"],[1,"item-label"],[2,"color","#55647B","font-size","14px","margin","4px 0"],[1,"flex",2,"gap","4px"],["detectingObjectOfPersonOptionSelect",""],[1,"selectbox","label",3,"click"],["detectingObjectOfVehicleOptionSelect",""],[1,"flex-column",2,"gap","4px"],[1,"flex","v-center"],[3,"checked","change"],[1,"flex","v-center",2,"margin-left","18px"],[1,"--g-tooltip-content",3,"mouseenter"],[1,"--g-tooltip-icon",3,"icon","size","color"],[1,"--g-tooltip"],[2,"font-size","16px"],[1,"flex",2,"margin","24px 0","justify-content","center"],["src","/assets/imgs/cloud_AI_filter_CS_alarm_monitoring_signal.png",2,"width","250px"],["src","/assets/imgs/cloud_AI_push_notification.png",2,"width","250px"],[1,"tail-btn-area"],[1,"button","button-primary",3,"click"],[1,"btn-inner"],[1,"button",3,"click"],[1,"logo",3,"src"],[2,"margin-left","8px"],[1,"select-list",2,"width","200px"],["class","select-result has-child trigger-item",3,"selected","click",4,"ngFor","ngForOf"],[1,"select-result","has-child","trigger-item",3,"click"],[1,"selectitem"],["class","flex v-center",4,"ngIf"],["style","height: 29px; font-size: 16px; display: flex; align-items: center;",4,"ngIf"],[2,"height","29px","font-size","16px","display","flex","align-items","center"]],template:function(e,n){1&e&&(t.YNc(0,xt,100,30,"div",0),t._UZ(1,"dealer-warning",1)),2&e&&(t.Q6J("ngIf",!n.isLoading),t.xp6(1),t.Q6J("modal",n.m_warning)("doCancel",n.m_warning.data.doCancel))},directives:[O.O5,E.a,Z.Rr,J.U,O.sg],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%] .sub-modal[_ngcontent-%COMP%]{max-width:450px;display:flex;flex-direction:column;z-index:3}.modal[_ngcontent-%COMP%] .sub-modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%]{padding:20px 30px 30px;box-sizing:border-box}.modal[_ngcontent-%COMP%] .sub-modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%]{padding:20px;background:#FFFFFF;margin-bottom:10px;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;border-radius:5px;font-size:14px;cursor:pointer;-webkit-user-select:none;user-select:none}.modal[_ngcontent-%COMP%] .sub-modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .content-box-focus[_ngcontent-%COMP%]{border:1px solid #1e88e5}.modal[_ngcontent-%COMP%] .sub-modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .content-box-title[_ngcontent-%COMP%]{display:flex;margin-bottom:10px;font-weight:500;color:#000000de}.modal[_ngcontent-%COMP%] .sub-modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .content-box-title-description[_ngcontent-%COMP%]{color:#0009}.modal[_ngcontent-%COMP%] .sub-modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .content-box-txt-danger[_ngcontent-%COMP%]{color:#cd3d64}.modal[_ngcontent-%COMP%] .sub-modal[_ngcontent-%COMP%] .items-area[_ngcontent-%COMP%] .content-box-sub-label[_ngcontent-%COMP%]{font-size:12px;color:#55647b}.spbubble-text[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;grid-gap:5px}.spbubble-text[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > .bubbleicon[_ngcontent-%COMP%]{cursor:pointer;color:var(--chekt-blue-gray-high)}.spbubble-text[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover{color:var(--chekt-gray-high)}.chekt-spbubble[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;position:fixed;opacity:0;visibility:hidden;transform:scale(.8);transition:opacity .3s cubic-bezier(.075,.82,.165,1),transform .3s cubic-bezier(.075,.82,.165,1)}.chekt-spbubble.active[_ngcontent-%COMP%]{opacity:1;transform:scale(1);visibility:visible;transition:opacity .3s cubic-bezier(.075,.82,.165,1),transform .3s cubic-bezier(.075,.82,.165,1)}.chekt-spbubble.right[_ngcontent-%COMP%]{flex-direction:row-reverse}.right[_ngcontent-%COMP%]{text-align:left!important}.chekt-spbubble.right[_ngcontent-%COMP%] > .chekt-spbubble-arrow[_ngcontent-%COMP%]{transform:rotate(-90deg);width:20px;height:20px}.chekt-spbubble-text[_ngcontent-%COMP%]{display:flex;padding:20px;background-color:#fff;color:#3c4257;font-size:14px;border-radius:5px;line-height:22px;width:300px;box-shadow:0 0 0 1px #8898aa1a,0 15px 35px #31315d1a,0 5px 15px #00000014}.chekt-spbubble-arrow[_ngcontent-%COMP%]{background:url(/assets/icons/bubble-arrow.svg);background-repeat:no-repeat;background-position:center bottom;transform:rotate(180deg);z-index:1;width:20px;height:15px}.logo[_ngcontent-%COMP%]{height:20px}.selectitem[_ngcontent-%COMP%]{cursor:pointer}.item[_ngcontent-%COMP%]{padding-bottom:24px}"],data:{animation:[I.ge,I.ku,I.$r,I.OP]}}),o})();var ht=d(94036);const Ot=["providerOptionSelect"],mt=["detectingObjectOfPersonOptionSelect"],Pt=["detectingObjectOfVehicleOptionSelect"],Mt=["monthSelectDropdown"];function vt(o,r){1&o&&(t.TgZ(0,"div",8),t.O4$(),t.TgZ(1,"svg",9),t._UZ(2,"circle",10),t.qZA(),t.qZA())}function wt(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",28),t.NdJ("click",function(){return t.CHM(e),t.oxw(3).onClickGlobalDealerCloudAISettings()}),t.TgZ(1,"div",29),t._uU(2,"Disable Cloud AI"),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(3);t.ekj("disabled",e.isLoading)}}function yt(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",30),t.NdJ("click",function(){return t.CHM(e),t.oxw(3).onClickGlobalDealerCloudAISettings()}),t.TgZ(1,"div",29),t._uU(2,"Enable Cloud AI"),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(3);t.ekj("disabled",e.isLoading)}}function At(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",12),t.TgZ(1,"div",13),t.TgZ(2,"div",21),t._uU(3,"Global AI Settings"),t.qZA(),t.qZA(),t.TgZ(4,"div",22),t.TgZ(5,"div",23),t.TgZ(6,"b"),t._uU(7,"This setting applies to all sites and sub-dealer accounts."),t.qZA(),t._UZ(8,"br"),t._uU(9,"When enabled, any sites owned by the monitoring center can use CHeKT's AI services. To allow sub-dealers to use CHeKT's AI Services, this is enabled per dealer in the sub-dealer management section. "),t.TgZ(10,"span",24),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).goToSubDealerSettings()}),t._uU(11,"(link)"),t.qZA(),t.qZA(),t.TgZ(12,"div",25),t.YNc(13,wt,3,2,"div",26),t.YNc(14,yt,3,2,"div",27),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2);t.xp6(13),t.Q6J("ngIf",e.isEnabledDealerLevelCloudAI),t.xp6(1),t.Q6J("ngIf",!e.isEnabledDealerLevelCloudAI)}}function Zt(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",28),t.NdJ("click",function(){return t.CHM(e),t.oxw(3).onClickGlobalDealerCloudAISettings()}),t.TgZ(1,"div",29),t._uU(2,"Disable Cloud AI"),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(3);t.ekj("disabled",e.isLoading)}}function kt(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",30),t.NdJ("click",function(){return t.CHM(e),t.oxw(3).onClickGlobalDealerCloudAISettings()}),t.TgZ(1,"div",29),t._uU(2,"Enable Cloud AI"),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(3);t.ekj("disabled",e.isLoading)}}function St(o,r){if(1&o&&(t.TgZ(0,"div",12),t.TgZ(1,"div",13),t.TgZ(2,"div",21),t._uU(3,"Global AI Settings"),t.qZA(),t.qZA(),t.TgZ(4,"div",22),t.TgZ(5,"div",23),t.TgZ(6,"b"),t._uU(7,"This setting applies to all sites."),t.qZA(),t._UZ(8,"br"),t._uU(9,"When enabled, any sites owned by the monitoring center can use CHeKT's AI services."),t.qZA(),t.TgZ(10,"div",25),t.YNc(11,Zt,3,2,"div",26),t.YNc(12,kt,3,2,"div",27),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw(2);t.xp6(11),t.Q6J("ngIf",e.isEnabledDealerLevelCloudAI),t.xp6(1),t.Q6J("ngIf",!e.isEnabledDealerLevelCloudAI)}}function Tt(o,r){if(1&o&&(t.TgZ(0,"div",12),t.TgZ(1,"div",13),t.TgZ(2,"div",21),t._uU(3,"Global AI Settings"),t.qZA(),t.qZA(),t.TgZ(4,"div",22),t.TgZ(5,"div",23),t.TgZ(6,"b"),t._uU(7,"This setting applies to all sites."),t.qZA(),t._UZ(8,"br"),t._uU(9,"When enabled, any sites owned by the monitoring center can use CHeKT's AI services."),t._UZ(10,"br"),t._uU(11,"If you want to turn the Cloud AI feature on or off completely, please Contact your Central Station"),t.qZA(),t.TgZ(12,"div",31),t.TgZ(13,"div",32),t._uU(14),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o){const e=t.oxw(2);t.xp6(13),t.ekj("positive",e.isEnabledDealerLevelCloudAI)("negative",!e.isEnabledDealerLevelCloudAI),t.xp6(1),t.hij("",e.isEnabledDealerLevelCloudAI?"Enabled":"Disabled"," Cloud AI")}}function Dt(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",36),t.NdJ("click",function(){return t.CHM(e),t.oxw(3).cancelDefaultConfig()}),t.TgZ(1,"div",29),t._uU(2,"Cancel"),t.qZA(),t.qZA()}}function It(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",33),t.YNc(1,Dt,3,0,"div",34),t.TgZ(2,"div",35),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).saveDefaultConfig()}),t.TgZ(3,"div",29),t._uU(4),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.isEditMode),t.xp6(1),t.ekj("disabled",e.isLoading||e.isEditMode&&e.checkIsDisabledSaveDefaultConfig()),t.xp6(2),t.Oqu(e.isEditMode?"Save Default Settings":"Edit Default Settings")}}function zt(o,r){if(1&o&&t._UZ(0,"img",52),2&o){const e=t.oxw(3);t.Q6J("src",e.selectedDefaultProvider.icon_url,t.LSH)}}function qt(o,r){1&o&&(t.TgZ(0,"div"),t._uU(1,"Disable"),t.qZA())}function Et(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",37),t.TgZ(1,"div",38),t._uU(2,"This setting takes effect when you create a new site."),t._UZ(3,"br"),t._uU(4,"If you need different settings for each site, you can modify them from "),t.TgZ(5,"span",39),t._uU(6,"Device Detail > Cloud AI Management"),t.qZA(),t._uU(7," at that site."),t._UZ(8,"br"),t._UZ(9,"br"),t.TgZ(10,"b"),t._uU(11,"When creating new CHeKT sites, the Cloud AI service is off by default. "),t._UZ(12,"br"),t.qZA(),t._uU(13,"When the Cloud AI is enabled on a site, the settings below are used as the initial values. These values can be customized on each site."),t.qZA(),t.TgZ(14,"div",40),t.TgZ(15,"div",41),t._uU(16,"AI Provider"),t.qZA(),t.TgZ(17,"div",42),t.TgZ(18,"div",43),t.YNc(19,zt,1,1,"img",44),t.TgZ(20,"div",45),t._uU(21),t.qZA(),t.qZA(),t.YNc(22,qt,2,0,"div",4),t.qZA(),t.qZA(),t.TgZ(23,"div",40),t.TgZ(24,"div",41),t._uU(25,"Object Detection"),t.qZA(),t.TgZ(26,"div",46),t.TgZ(27,"div",32),t._uU(28),t.qZA(),t.TgZ(29,"div",32),t._uU(30),t.qZA(),t.qZA(),t.qZA(),t.TgZ(31,"div",40),t.TgZ(32,"div",47),t.TgZ(33,"div"),t._uU(34,"Suppress Alarm Signals to Monitoring Center"),t.qZA(),t.TgZ(35,"div",15),t.NdJ("mouseenter",function(i){return t.CHM(e),t.oxw(2).commonService.setTooltipPosition(i,"right-center")}),t._UZ(36,"comp-icon",16),t.TgZ(37,"div",17),t.TgZ(38,"div",48),t._uU(39,"Suppress Alarm Signals to Monitoring Center"),t.qZA(),t.TgZ(40,"div",49),t._UZ(41,"img",50),t.qZA(),t.TgZ(42,"div"),t._uU(43,"When enabled, alarm signals are not sent to the monitoring station when the object to be detected is not found in the video event. This will reduce alarm signal traffic and operational costs."),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(44,"div",42),t.TgZ(45,"div",32),t._uU(46),t.qZA(),t.qZA(),t.qZA(),t.TgZ(47,"div",40),t.TgZ(48,"div",47),t.TgZ(49,"div"),t._uU(50,"Suppress Notification to Customer Mobile App"),t.qZA(),t.TgZ(51,"div",15),t.NdJ("mouseenter",function(i){return t.CHM(e),t.oxw(2).commonService.setTooltipPosition(i,"right-center")}),t._UZ(52,"comp-icon",16),t.TgZ(53,"div",17),t.TgZ(54,"div",48),t._uU(55,"Suppress Notification to Customer Mobile App"),t.qZA(),t.TgZ(56,"div",49),t._UZ(57,"img",51),t.qZA(),t.TgZ(58,"div"),t._uU(59,"When enabled, mobile app push notifications are not sent to customers when the object to be detected is not found. Only video events with the object to be detected are delivered to the mobile app."),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(60,"div",42),t.TgZ(61,"div",32),t._uU(62),t.qZA(),t.qZA(),t.qZA(),t.TgZ(63,"div",40),t.TgZ(64,"div",47),t.TgZ(65,"div"),t._uU(66,"Apply Cloud AI to Disarmed Activity Events"),t.qZA(),t.TgZ(67,"div",15),t.NdJ("mouseenter",function(i){return t.CHM(e),t.oxw(2).commonService.setTooltipPosition(i,"right-center")}),t._UZ(68,"comp-icon",16),t.TgZ(69,"div",17),t.TgZ(70,"div"),t._uU(71,"Enable or disable the application of Cloud AI filters for Disarmed Activity Events. When enabled, only events matching the AI filter will be triggered."),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(72,"div",42),t.TgZ(73,"div",32),t._uU(74),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2);t.xp6(19),t.Q6J("ngIf",null==e.selectedDefaultProvider?null:e.selectedDefaultProvider.icon_url),t.xp6(2),t.Oqu(null==e.selectedDefaultProvider?null:e.selectedDefaultProvider.name),t.xp6(1),t.Q6J("ngIf",!(null!=e.selectedDefaultProvider&&e.selectedDefaultProvider.icon_url)),t.xp6(6),t.Oqu(null!=e.selectedDetectingObjectOfPerson&&e.selectedDetectingObjectOfPerson.name?null==e.selectedDetectingObjectOfPerson?null:e.selectedDetectingObjectOfPerson.name:"Person Detection Off"),t.xp6(2),t.Oqu(null!=e.selectedDetectingObjectOfVehicle&&e.selectedDetectingObjectOfVehicle.name?null==e.selectedDetectingObjectOfVehicle?null:e.selectedDetectingObjectOfVehicle.name:"Vehicle Detection Off"),t.xp6(6),t.Q6J("icon","info")("size",16)("color","#4f566b"),t.xp6(9),t.ekj("positive",e.isEnabledSuppressAlarmSignals)("negative",!e.isEnabledSuppressAlarmSignals),t.xp6(1),t.Oqu(e.isEnabledSuppressAlarmSignals?"Enabled":"Disabled"),t.xp6(6),t.Q6J("icon","info")("size",16)("color","#4f566b"),t.xp6(9),t.ekj("positive",e.isEnabledSuppressNotification)("negative",!e.isEnabledSuppressNotification),t.xp6(1),t.Oqu(e.isEnabledSuppressNotification?"Enabled":"Disabled"),t.xp6(6),t.Q6J("icon","info")("size",16)("color","#4f566b"),t.xp6(5),t.ekj("positive",e.isEnabledDisarmedEventAnalysis)("negative",!e.isEnabledDisarmedEventAnalysis),t.xp6(1),t.Oqu(e.isEnabledDisarmedEventAnalysis?"Enabled":"Disabled")}}function Ut(o,r){if(1&o&&t._UZ(0,"img",52),2&o){const e=t.oxw(3);t.Q6J("src",e.selectedDefaultProvider.icon_url,t.LSH)}}function jt(o,r){1&o&&t._uU(0,"None")}function Ft(o,r){if(1&o&&(t.TgZ(0,"div",43),t._UZ(1,"img",52),t.TgZ(2,"div",45),t._uU(3),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("src",e.icon_url,t.LSH),t.xp6(2),t.Oqu(null==e?null:e.name)}}function Nt(o,r){1&o&&(t.TgZ(0,"div",74),t._uU(1,"Disable"),t.qZA())}function Lt(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",70),t.NdJ("click",function(){const c=t.CHM(e).$implicit;return t.oxw(4).selectProvider(c)}),t.TgZ(1,"div",71),t.YNc(2,Ft,4,2,"div",72),t.YNc(3,Nt,2,0,"div",73),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(4);t.ekj("selected",n.selectedDefaultProvider===e),t.xp6(2),t.Q6J("ngIf",e.icon_url),t.xp6(1),t.Q6J("ngIf",!e.icon_url)}}function Jt(o,r){if(1&o&&(t.O4$(),t.kcU(),t.TgZ(0,"div",68),t.YNc(1,Lt,4,4,"div",69),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",e.defaultProviderOptions)}}function Vt(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",70),t.NdJ("click",function(){const c=t.CHM(e).$implicit;return t.oxw(4).selectDetectObjectPerson(c)}),t.TgZ(1,"div",71),t._uU(2),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(4);t.ekj("selected",n.selectedDetectingObjectOfPerson===e),t.xp6(2),t.Oqu(null==e?null:e.name)}}function Qt(o,r){if(1&o&&(t.O4$(),t.kcU(),t.TgZ(0,"div",68),t.YNc(1,Vt,3,3,"div",69),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",e.detectingObjectOfPersonOptions)}}function Yt(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",70),t.NdJ("click",function(){const c=t.CHM(e).$implicit;return t.oxw(4).selectDetectObjectVehicle(c)}),t.TgZ(1,"div",71),t._uU(2),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(4);t.ekj("selected",n.selectedDetectingObjectOfVehicle===e),t.xp6(2),t.Oqu(null==e?null:e.name)}}function Ht(o,r){if(1&o&&(t.O4$(),t.kcU(),t.TgZ(0,"div",68),t.YNc(1,Yt,3,3,"div",69),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",e.detectingObjectOfVehicleOptions)}}function Gt(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",37),t.TgZ(1,"div",38),t._uU(2,"This setting takes effect when you create a new site."),t._UZ(3,"br"),t._uU(4,"If you need different settings for each site, you can modify them from "),t.TgZ(5,"span",39),t._uU(6,"Device Detail > Cloud AI Management"),t.qZA(),t._uU(7," at that site."),t._UZ(8,"br"),t._UZ(9,"br"),t.TgZ(10,"b"),t._uU(11,"When creating new CHeKT sites, the Cloud AI service is off by default. "),t._UZ(12,"br"),t.qZA(),t._uU(13,"When the Cloud AI is enabled on a site, the settings below are used as the initial values. These values can be customized on each site."),t.qZA(),t.TgZ(14,"div",40),t.TgZ(15,"div",41),t._uU(16,"AI Provider"),t.qZA(),t.TgZ(17,"div",42),t.TgZ(18,"div",53,54),t.TgZ(20,"div",55),t.NdJ("click",function(){t.CHM(e);const i=t.oxw(2);return i.isShowDefaultProviderOptions=!i.isShowDefaultProviderOptions}),t.TgZ(21,"div",43),t.YNc(22,Ut,1,1,"img",56),t.TgZ(23,"div",45),t._uU(24),t.qZA(),t.qZA(),t.YNc(25,jt,1,0,"ng-template",null,57,t.W1O),t.O4$(),t.TgZ(27,"svg",58),t._UZ(28,"path",59),t._UZ(29,"path",60),t._UZ(30,"path",61),t.qZA(),t.qZA(),t.YNc(31,Jt,2,1,"div",62),t.qZA(),t.qZA(),t.qZA(),t.kcU(),t.TgZ(32,"div",40),t.TgZ(33,"div",41),t._uU(34,"Object Detection"),t.qZA(),t.TgZ(35,"div",46),t.TgZ(36,"div",53,63),t.TgZ(38,"div",55),t.NdJ("click",function(){t.CHM(e);const i=t.oxw(2);return i.isShowDetectingObjectOfPersonOptions=!i.isShowDetectingObjectOfPersonOptions}),t.TgZ(39,"div"),t._uU(40),t.qZA(),t.O4$(),t.TgZ(41,"svg",58),t._UZ(42,"path",59),t._UZ(43,"path",60),t._UZ(44,"path",61),t.qZA(),t.qZA(),t.YNc(45,Qt,2,1,"div",62),t.qZA(),t.kcU(),t.TgZ(46,"div",53,64),t.TgZ(48,"div",55),t.NdJ("click",function(){t.CHM(e);const i=t.oxw(2);return i.isShowDetectingObjectOfVehicleOptions=!i.isShowDetectingObjectOfVehicleOptions}),t.TgZ(49,"div"),t._uU(50),t.qZA(),t.O4$(),t.TgZ(51,"svg",58),t._UZ(52,"path",59),t._UZ(53,"path",60),t._UZ(54,"path",61),t.qZA(),t.qZA(),t.YNc(55,Ht,2,1,"div",62),t.qZA(),t.qZA(),t.qZA(),t.kcU(),t.TgZ(56,"div",40),t.TgZ(57,"div",47),t.TgZ(58,"div"),t._uU(59,"Suppress Alarm Signals to Monitoring Center"),t.qZA(),t.TgZ(60,"div",15),t.NdJ("mouseenter",function(i){return t.CHM(e),t.oxw(2).commonService.setTooltipPosition(i,"right-center")}),t._UZ(61,"comp-icon",65),t.TgZ(62,"div",17),t._uU(63,"When enabled, alarm signals are not sent to the monitoring station when the object to be detected is not found in the video event. This will reduce alarm signal traffic and operational costs."),t.qZA(),t.qZA(),t.qZA(),t.TgZ(64,"div",42),t.TgZ(65,"mat-slide-toggle",66),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(2).isEnabledSuppressAlarmSignals=i}),t.TgZ(66,"span",67),t._uU(67),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(68,"div",40),t.TgZ(69,"div",47),t.TgZ(70,"div"),t._uU(71,"Suppress Notification to Customer Mobile App"),t.qZA(),t.TgZ(72,"div",15),t.NdJ("mouseenter",function(i){return t.CHM(e),t.oxw(2).commonService.setTooltipPosition(i,"right-center")}),t._UZ(73,"comp-icon",16),t.TgZ(74,"div",17),t._uU(75,"When enabled, mobile app push notifications are not sent to customers when the object to be detected is not found. Only video events with the object to be detected are delivered to the mobile app."),t.qZA(),t.qZA(),t.qZA(),t.TgZ(76,"div",42),t.TgZ(77,"mat-slide-toggle",66),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(2).isEnabledSuppressNotification=i}),t.TgZ(78,"span",67),t._uU(79),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(80,"div",40),t.TgZ(81,"div",47),t.TgZ(82,"div"),t._uU(83,"Disarmed Event \\w Cloud"),t.qZA(),t.qZA(),t.TgZ(84,"div",42),t.TgZ(85,"mat-slide-toggle",66),t.NdJ("ngModelChange",function(i){return t.CHM(e),t.oxw(2).isEnabledDisarmedEventAnalysis=i}),t.TgZ(86,"span",67),t._uU(87),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=t.MAs(26),n=t.oxw(2);t.xp6(18),t.ekj("disabled",n.isLoading),t.xp6(4),t.Q6J("ngIf",null==n.selectedDefaultProvider?null:n.selectedDefaultProvider.icon_url)("ngIfElse",e),t.xp6(2),t.Oqu(null==n.selectedDefaultProvider?null:n.selectedDefaultProvider.name),t.xp6(7),t.Q6J("ngIf",n.isShowDefaultProviderOptions),t.xp6(5),t.ekj("disabled",n.isLoading),t.xp6(4),t.Oqu(null!=n.selectedDetectingObjectOfPerson&&n.selectedDetectingObjectOfPerson.name?n.selectedDetectingObjectOfPerson.name:"Person Detection Off"),t.xp6(5),t.Q6J("ngIf",n.isShowDetectingObjectOfPersonOptions),t.xp6(1),t.ekj("disabled",n.isLoading),t.xp6(4),t.Oqu(null!=n.selectedDetectingObjectOfVehicle&&n.selectedDetectingObjectOfVehicle.name?null==n.selectedDetectingObjectOfVehicle?null:n.selectedDetectingObjectOfVehicle.name:"Vehicle Detection Off"),t.xp6(5),t.Q6J("ngIf",n.isShowDetectingObjectOfVehicleOptions),t.xp6(6),t.Q6J("icon","info")("size",16)("color","#4f566b"),t.xp6(4),t.Q6J("ngModel",n.isEnabledSuppressAlarmSignals),t.xp6(2),t.Oqu(n.isEnabledSuppressAlarmSignals?"Enabled":"Disabled"),t.xp6(6),t.Q6J("icon","info")("size",16)("color","#4f566b"),t.xp6(4),t.Q6J("ngModel",n.isEnabledSuppressNotification),t.xp6(2),t.Oqu(n.isEnabledSuppressNotification?"Enabled":"Disabled"),t.xp6(6),t.Q6J("ngModel",n.isEnabledDisarmedEventAnalysis),t.xp6(2),t.Oqu(n.isEnabledDisarmedEventAnalysis?"Enabled":"Disabled")}}function Bt(o,r){1&o&&(t.TgZ(0,"div",8),t.O4$(),t.TgZ(1,"svg",9),t._UZ(2,"circle",10),t.qZA(),t.qZA())}function Rt(o,r){1&o&&(t.TgZ(0,"div",37),t.TgZ(1,"div",75),t.TgZ(2,"div",76),t._uU(3,"Cloud AI Filtering"),t.qZA(),t.qZA(),t.TgZ(4,"div",77),t._UZ(5,"img",78),t.TgZ(6,"div"),t._uU(7,"No site is in use yet."),t._UZ(8,"br"),t._uU(9,"Try activating cloud ai on the site you need"),t.qZA(),t.qZA(),t.qZA())}function $t(o,r){1&o&&(t.TgZ(0,"div",83),t.TgZ(1,"i",84),t._uU(2,"domain"),t.qZA(),t._uU(3," WCS.M + WCS.S"),t.qZA())}function Wt(o,r){1&o&&(t.TgZ(0,"div",106),t._uU(1,"Select Month"),t.qZA())}function Kt(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",110),t.NdJ("click",function(){const c=t.CHM(e).$implicit;return t.oxw(4).selectMonth(c)}),t.TgZ(1,"div"),t._uU(2),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit;t.xp6(2),t.Oqu(null==e?null:e.name)}}function Xt(o,r){if(1&o&&(t.O4$(),t.kcU(),t.TgZ(0,"div",107),t.TgZ(1,"div",108),t.YNc(2,Kt,3,1,"div",109),t.qZA(),t.qZA()),2&o){const e=t.oxw(3);t.xp6(2),t.Q6J("ngForOf",e.monthList)}}function te(o,r){if(1&o&&(t.TgZ(0,"div",111),t._uU(1),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.hij("(Exceeded by ",e.excessAmount," events)")}}function ee(o,r){if(1&o&&(t.TgZ(0,"dev"),t._uU(1),t.qZA()),2&o){const e=t.oxw(3);t.xp6(1),t.hij("(",e.availableAmount," events still Available)")}}function ne(o,r){1&o&&t._UZ(0,"comp-icon",114),2&o&&t.Q6J("icon","warning")("size",16)("color","orange")}function oe(o,r){if(1&o&&(t.TgZ(0,"div",112),t.YNc(1,ne,1,3,"comp-icon",113),t._uU(2),t.qZA()),2&o){const e=t.oxw(3);t.ekj("alert",e.excessAmount),t.xp6(1),t.Q6J("ngIf",e.excessAmount),t.xp6(1),t.lnq("*Exceeding this limit incurs ",e.usersService.me.currency_symbol,"",e.reservedEvents.eventCostPerEventBoundary," / ",e.reservedEvents.eventEventBoundary," events")}}function ie(o,r){1&o&&(t.TgZ(0,"div",125),t._uU(1,"Default for New Sites"),t.qZA())}function ce(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",115),t.TgZ(1,"div",116),t.TgZ(2,"div",76),t._uU(3),t.qZA(),t.YNc(4,ie,2,0,"div",117),t.qZA(),t.TgZ(5,"div",118),t.TgZ(6,"div",119),t._UZ(7,"dashboard-chart",120),t.qZA(),t.TgZ(8,"div",121),t.TgZ(9,"div",122),t.TgZ(10,"div",96),t._UZ(11,"div",98),t.TgZ(12,"div",123),t._uU(13,"True Events(s)"),t.TgZ(14,"div",15),t.NdJ("mouseenter",function(i){return t.CHM(e),t.oxw(3).commonService.setTooltipPosition(i,"top-center")}),t._UZ(15,"comp-icon",16),t.TgZ(16,"div",17),t._uU(17,"This number is all the number of signals passed to the Central Station."),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(18,"div"),t._uU(19),t.qZA(),t.qZA(),t.TgZ(20,"div",122),t.TgZ(21,"div",96),t._UZ(22,"div",124),t.TgZ(23,"div",123),t._uU(24,"False Events(s)"),t.qZA(),t.qZA(),t.TgZ(25,"div"),t._uU(26),t.qZA(),t.qZA(),t._UZ(27,"hr"),t.TgZ(28,"div",122),t.TgZ(29,"div",123),t._uU(30,"Total AI Requests"),t.qZA(),t.TgZ(31,"div"),t._uU(32),t.qZA(),t.qZA(),t.TgZ(33,"div",122),t.TgZ(34,"div",123),t._uU(35,"Number of Site(s)"),t.qZA(),t.TgZ(36,"div"),t._uU(37),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&o){const e=r.$implicit,n=t.oxw(3);t.Q6J("ngClass",e.name),t.xp6(3),t.hij("",null==e?null:e.name," Cloud AI Filtering"),t.xp6(1),t.Q6J("ngIf",n.originData.defaultProvider===e.providerId),t.xp6(3),t.Q6J("active",!e.chartData.chartLoading)("data",e.chartData)("width",140)("height",140)("chartType","doughnut"),t.xp6(4),t.Q6J("ngClass",null==e?null:e.name.toLowerCase()),t.xp6(4),t.Q6J("icon","info")("size",16)("color","#4f566b"),t.xp6(4),t.AsE("",e.trueSignalsNumber," | ",e.trueSignalsRatio,"%"),t.xp6(7),t.AsE("",e.falseSignalsNumber," | ",e.falseSignalsRatio,"%"),t.xp6(6),t.hij("",e.currentUsageNumber," events"),t.xp6(5),t.hij("",e.sitesNumber," sites")}}function re(o,r){if(1&o){const e=t.EpF();t.TgZ(0,"div",37),t.TgZ(1,"div",79),t.TgZ(2,"div",43),t._uU(3,"Cloud AI Usage"),t.TgZ(4,"div",80),t._uU(5),t.qZA(),t.qZA(),t.TgZ(6,"div",81),t.YNc(7,$t,4,0,"div",82),t.TgZ(8,"div",83),t.TgZ(9,"i",84),t._uU(10,"schedule"),t.qZA(),t._uU(11," UTC"),t.qZA(),t.TgZ(12,"div",43),t.TgZ(13,"div",85,86),t.TgZ(15,"div",87),t.TgZ(16,"div",88),t.NdJ("click",function(){t.CHM(e);const i=t.oxw(2);return i.isUnfoldMonthList=!i.isUnfoldMonthList}),t.YNc(17,Wt,2,0,"div",89),t.TgZ(18,"div"),t._uU(19),t.qZA(),t.qZA(),t.TgZ(20,"div",90),t.TgZ(21,"div",91),t.O4$(),t.TgZ(22,"svg",92),t._UZ(23,"path",59),t._UZ(24,"path",93),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.YNc(25,Xt,3,1,"div",94),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.kcU(),t.TgZ(26,"div",95),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).goToReports()}),t.TgZ(27,"div",79),t.TgZ(28,"div",96),t.TgZ(29,"div"),t._uU(30),t.qZA(),t.YNc(31,te,2,1,"div",97),t.YNc(32,ee,2,1,"dev",4),t.qZA(),t.TgZ(33,"div",96),t._UZ(34,"div",98),t.TgZ(35,"div"),t._uU(36),t.qZA(),t.TgZ(37,"div"),t._uU(38,"|"),t.qZA(),t.TgZ(39,"div"),t._uU(40),t.qZA(),t.qZA(),t.qZA(),t.TgZ(41,"div",99),t._UZ(42,"div",100),t.qZA(),t.TgZ(43,"div",101),t.TgZ(44,"div"),t._uU(45,"0"),t.qZA(),t.TgZ(46,"div"),t._uU(47),t.qZA(),t.qZA(),t.YNc(48,oe,3,6,"div",102),t.TgZ(49,"div",103),t._uU(50,"Go to Detail"),t.qZA(),t.qZA(),t.TgZ(51,"div",104),t.YNc(52,ce,38,18,"div",105),t.qZA(),t.qZA()}if(2&o){const e=t.oxw(2);t.xp6(5),t.hij(" : ",e.reservedEvents.totalUsedEvents," events"),t.xp6(2),t.Q6J("ngIf",2===e.me.type),t.xp6(10),t.Q6J("ngIf",!e.selectedMonth),t.xp6(2),t.Oqu(null==e.selectedMonth?null:e.selectedMonth.name),t.xp6(6),t.Q6J("ngIf",e.isUnfoldMonthList),t.xp6(4),t.ekj("gray-text",e.excessAmount),t.xp6(1),t.hij("",e.reservedEvents.freeEvent," Allocated Events"),t.xp6(1),t.Q6J("ngIf",e.excessAmount),t.xp6(1),t.Q6J("ngIf",e.availableAmount),t.xp6(2),t.Q6J("ngClass",e.comptedUsageChartColor()),t.xp6(2),t.Oqu(e.reservedEvents.totalUsedEvents),t.xp6(4),t.hij("",e.reservedEvents.totalUsedEventsRatio,"%"),t.xp6(2),t.Udp("width",e.reservedEvents.totalUsedEventsRatio+"%"),t.Q6J("ngClass",e.comptedUsageChartColor()),t.xp6(4),t.ekj("gray-text",e.excessAmount),t.xp6(1),t.hij("",e.reservedEvents.freeEvent," events"),t.xp6(1),t.Q6J("ngIf",!e.isSubDealer()),t.xp6(4),t.Q6J("ngForOf",e.dealerUsingProvider)}}function ae(o,r){if(1&o){const e=t.EpF();t.ynx(0),t.YNc(1,At,15,2,"div",11),t.YNc(2,St,13,2,"div",11),t.YNc(3,Tt,15,5,"div",11),t.TgZ(4,"div",12),t.TgZ(5,"div",13),t.TgZ(6,"div",14),t._uU(7,"Default Settings of Cloud AI for New Sites"),t.TgZ(8,"div",15),t.NdJ("mouseenter",function(i){return t.CHM(e),t.oxw().commonService.setTooltipPosition(i,"right-center")}),t._UZ(9,"comp-icon",16),t.TgZ(10,"div",17),t._uU(11,"This setting applies only to WCS.M's own site. This does not apply to sub dealer sites or monitoring sites."),t.qZA(),t.qZA(),t.qZA(),t.YNc(12,It,5,4,"div",18),t.qZA(),t.YNc(13,Et,75,29,"div",19),t.YNc(14,Gt,88,26,"div",19),t.qZA(),t.TgZ(15,"div",20),t.TgZ(16,"div",13),t.TgZ(17,"div",21),t._uU(18,"Video AI Filtering Usage"),t.qZA(),t.qZA(),t.YNc(19,Bt,3,0,"div",3),t.YNc(20,Rt,10,0,"div",19),t.YNc(21,re,53,21,"div",19),t.qZA(),t.BQk()}if(2&o){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",2===e.me.type),t.xp6(1),t.Q6J("ngIf",0===e.me.type||1===e.me.type),t.xp6(1),t.Q6J("ngIf",3===e.me.type),t.xp6(6),t.Q6J("icon","info")("size",16)("color","#4f566b"),t.xp6(3),t.Q6J("ngIf",e.isEnabledDealerLevelCloudAI),t.xp6(1),t.Q6J("ngIf",!e.isEditMode),t.xp6(1),t.Q6J("ngIf",e.isEditMode),t.xp6(5),t.Q6J("ngIf",e.isStatisticsLoading),t.xp6(1),t.Q6J("ngIf",!e.isMultipleProvider&&!e.isStatisticsLoading&&!e.dealerUsingProvider[0]),t.xp6(1),t.Q6J("ngIf",!e.isStatisticsLoading&&e.dealerUsingProvider.length)}}function le(o,r){if(1&o&&t._UZ(0,"app-notice",126),2&o){const e=t.oxw();t.Q6J("modal",e.m_notice)("tos",e.tos)}}const U=d(76052);let se=(()=>{class o{constructor(e,n,i,c,a,s,g){this.partnerService=e,this.usersService=n,this.commonService=i,this.videoAIService=c,this.dealerPlanService=a,this.route=s,this.helper=g,this.onUpdate=new t.vpe,this.m_warning=new v.u,this.m_notice=new v.u,this.m_cloud_ai_default_settings=new v.u,this.isLoading=!1,this.isStatisticsLoading=!1,this.isEditMode=!1,this.originData={defaultProvider:"",detectObjectPerson:null,detectObjectVehicle:null,isEnabledSuppressAlarmSignals:!1,isEnabledSuppressNotification:!1,isEnabledDisarmedEventAnalysis:!1},this.partnerList=[],this.isEnabledDealerLevelCloudAI=!1,this.isShowDefaultProviderOptions=!1,this.defaultProviderOptions=[{id:null,name:"",icon_url:""}],this.selectedDefaultProvider={id:null,name:"",icon_url:""},this.isShowDetectingObjectOfPersonOptions=!1,this.detectingObjectOfPersonOptions=[{id:null,name:"Person Detection Off",value:null}],this.selectedDetectingObjectOfPerson={id:null,name:"Person Detection Off",value:null},this.isShowDetectingObjectOfVehicleOptions=!1,this.detectingObjectOfVehicleOptions=[{id:null,name:"Vehicle Detection Off",value:null}],this.selectedDetectingObjectOfVehicle={id:null,name:"Vehicle Detection Off",value:null},this.isEnabledSuppressAlarmSignals=!0,this.isEnabledSuppressNotification=!0,this.isEnabledDisarmedEventAnalysis=!1,this.isUnfoldMonthList=!1,this.monthList=[{name:"2023-06",value:"202306"}],this.selectedMonth=this.monthList[0],this.reservedEvents={freeEvent:null,eventCostPerEventBoundary:null,eventEventBoundary:null,totalUsedEvents:null,totalUsedEventsRatio:null},this.availableAmount=null,this.excessAmount=null,this.dealerUsingProvider=[{name:"",providerId:null,request:null,filtered:null,devicesNumber:null,sitesNumber:null,currentUsageNumber:null,trueSignalsRatio:null,falseSignalsRatio:null,trueSignalsNumber:null,falseSignalsNumber:null,devicesList:[],sitesList:[],isDefault:!1,isEnabled:!1,chartData:{chartLoading:!0,labels:["True Signals","False Signals"],data:[0,0],colors:[{backgroundColor:["#5469D4","#F2F6F9"],hoverBackgroundColor:["#4A5CBB","#E3E8EE"]}]}}]}onGlobalClick(e){this.providerOptionSelect&&(this.providerOptionSelect.nativeElement.contains(e.target)||(this.isShowDefaultProviderOptions=!1)),this.detectingObjectOfPersonOptionSelect&&(this.detectingObjectOfPersonOptionSelect.nativeElement.contains(e.target)||(this.isShowDetectingObjectOfPersonOptions=!1)),this.detectingObjectOfVehicleOptionSelect&&(this.detectingObjectOfVehicleOptionSelect.nativeElement.contains(e.target)||(this.isShowDetectingObjectOfVehicleOptions=!1)),this.monthSelectDropdown&&(this.monthSelectDropdown.nativeElement.contains(e.target)||(this.isUnfoldMonthList=!1))}ngOnInit(){this.isLoading=!0,this.route.queryParams.subscribe(e=>{this.params=e,this.usersService.getMe().subscribe(n=>{var i,c;this.me=n,this.adminPermission=null!==(c=null===(i=null==n?void 0:n.permissions)||void 0===i?void 0:i.has_admin_permission)&&void 0!==c&&c,this.fetchData()},n=>{this.isLoading=!1,this.commonService.showErrorToast(n,"Failed to get dealer information","Failed")})})}goToSubDealerSettings(){this.helper.router.navigate_to("/wcs-sub-dealers/info")}fetchData(){return(0,l.mG)(this,void 0,void 0,function*(){this.init(),yield Promise.all([this.getAllProvider(),this.getAllFilter()]),this.isMainDealer()&&(yield this.getAllPartners()),yield this.fetchDealerCloudAIConfigAndStats()})}init(){this.originData={defaultProvider:"",detectObjectPerson:null,detectObjectVehicle:null,isEnabledSuppressAlarmSignals:!1,isEnabledSuppressNotification:!1,isEnabledDisarmedEventAnalysis:!1},this.dealerUsingProvider=[],this.detectingObjectOfPersonOptions=[{id:null,name:"Person Detection Off",value:null}],this.detectingObjectOfVehicleOptions=[{id:null,name:"Vehicle Detection Off",value:null}],this.setMonthList()}setMonthList(){const e=new Date,n=new Date(2023,5),i=[];for(;n<=e;){const s=`${n.getFullYear()}-${String(n.getMonth()+1).padStart(2,"0")}`;i.unshift({name:s,value:s}),n.setMonth(n.getMonth()+1)}this.monthList=i,this.selectedMonth=i[0]}getAllPartners(){return(0,l.mG)(this,void 0,void 0,function*(){const e=this.me.dealer_id;try{this.partnerList=yield this.partnerService.getAllPartners(e).toPromise()}catch(n){this.partnerList=[],console.debug(n)}})}getAllProvider(){return(0,l.mG)(this,void 0,void 0,function*(){const e=this.me.dealer_id;try{const n=yield this.videoAIService.getAllProvider(e).toPromise();if(!Array.isArray(n)||!n.length||!Object.keys(n[0]).includes("name"))return;this.defaultProviderOptions=n.filter(i=>1===i.enabled),this.defaultProviderOptions.forEach(i=>i.name=this.capitalizeFirstLetter(i.name)),this.defaultProviderOptions.sort((i,c)=>this.compare(i.name,c.name))}catch(n){this.isLoading=!1,this.commonService.showErrorToast(n,"Get Provider List","Failed")}})}capitalizeFirstLetter(e){let n=e.charAt(0),i=e.slice(1);return n.toUpperCase()+i}getAllFilter(){return(0,l.mG)(this,void 0,void 0,function*(){const e=this.me.dealer_id;try{const n=yield this.videoAIService.getAllFilter(e).toPromise();this.detectingObjectOfPersonOptions=n.person,this.detectingObjectOfVehicleOptions=n.vehicle,this.detectingObjectOfPersonOptions.push({id:null,name:"Person Detection Off",value:null}),this.detectingObjectOfVehicleOptions.push({id:null,name:"Vehicle Detection Off",value:null})}catch(n){this.isLoading=!1,this.commonService.showErrorToast(n,"Get Filter List","Failed")}})}fetchDealerCloudAIConfigAndStats(e){return(0,l.mG)(this,void 0,void 0,function*(){try{yield this.getDealerCloudAIConfig(),yield this.fetchStatistics(e)}catch(n){this.isLoading=!1,this.isStatisticsLoading=!1,this.commonService.showErrorToast(n,"Failed fetchData","Failed")}})}getDealerCloudAIConfig(){var e,n,i;return(0,l.mG)(this,void 0,void 0,function*(){const c=this.me.dealer_id;try{const a=yield this.videoAIService.getDealerCloudAIConfig(c).toPromise(),{enabled:s,videoai_provider_id:g,alarm_signal_suppression_enabled_site_default:_,mobile_app_notification_suppression_enabled_site_default:p,disarmed_event_enabled_site_default:m,filters:f,tos:u,usage_summary:x}=a;this.isEnabledDealerLevelCloudAI=!!s,this.tos=u,!(null===(e=this.tos)||void 0===e?void 0:e.is_accepted)&&this.adminPermission&&(this.m_notice.data.title="AI SOFTWARE ADDENDUM",this.m_notice.tos=this.tos,this.m_notice.open());let y={id:null,name:"Person Detection Off",value:null},F={id:null,name:"Vehicle Detection Off",value:null};if(this.selectedDetectingObjectOfPerson=y,this.selectedDetectingObjectOfVehicle=F,this.selectedDefaultProvider=this.defaultProviderOptions.find(b=>b.id===g),this.isEnabledSuppressAlarmSignals=_,this.isEnabledSuppressNotification=p,this.isEnabledDisarmedEventAnalysis=m,this.originData={defaultProvider:g,detectObjectPerson:y,detectObjectVehicle:F,isEnabledSuppressAlarmSignals:_,isEnabledSuppressNotification:p,isEnabledDisarmedEventAnalysis:m},Array.isArray(f)&&(null==f?void 0:f.length)){const b=null===(n=f.find(M=>M.filter.includes("person")))||void 0===n?void 0:n.videoai_filter_id,P=null===(i=f.find(M=>M.filter.includes("vehicle")))||void 0===i?void 0:i.videoai_filter_id,C=this.detectingObjectOfPersonOptions.find(M=>M.id===b),A=this.detectingObjectOfVehicleOptions.find(M=>M.id===P);this.selectedDetectingObjectOfPerson=C,this.selectedDetectingObjectOfVehicle=A,this.originData.detectObjectPerson=C,this.originData.detectObjectVehicle=A}const h=x.per_provider_summary;console.log(h),h.forEach(b=>{var P,C;const A=this.defaultProviderOptions.find(Me=>Me.id===b.videoai_provider_id),M=b.videoai_provider_id===g,me=null!==(P=parseInt(b.device_count).toLocaleString("en-US"))&&void 0!==P?P:"0",Pe=null!==(C=parseInt(b.site_count).toLocaleString("en-US"))&&void 0!==C?C:"0";this.fillDealerUsingProvider(A,!0,me,Pe,M)}),this.isLoading=!1}catch(a){this.isLoading=!1,this.commonService.showErrorToast(a,"Get Dealer Default Config","Failed")}})}chartColorByProvider(e){return e?"calipsa"===e.toLocaleLowerCase()?{backgroundColor:["#5469D4","#F2F6F9"],hoverBackgroundColor:["#4A5CBB","#E3E8EE"]}:"actuate"===e.toLocaleLowerCase()?{backgroundColor:["#D25074","#F2F6F9"],hoverBackgroundColor:["#B43658","#E3E8EE"]}:void 0:{backgroundColor:["#5469D4","#F2F6F9"],hoverBackgroundColor:["#4A5CBB","#E3E8EE"]}}fetchStatistics(e){return(0,l.mG)(this,void 0,void 0,function*(){this.isStatisticsLoading=!0;try{yield this.fetchDataByProvider(e),yield this.getDealerPlanPricing(),this.isStatisticsLoading=!1}catch(n){this.isStatisticsLoading=!1,this.commonService.showErrorToast(n,"Failed Fetch Statistics","Failed")}})}fillDealerUsingProvider(e,n,i,c,a=!1){var s;this.dealerUsingProvider.push({name:null!==(s=null==e?void 0:e.name)&&void 0!==s?s:"Disable",providerId:null==e?void 0:e.id,request:null,filtered:null,devicesNumber:i,sitesNumber:c,currentUsageNumber:null,trueSignalsRatio:null,falseSignalsRatio:null,trueSignalsNumber:null,falseSignalsNumber:null,devicesList:[],sitesList:[],isDefault:a,isEnabled:!!n,chartData:{chartLoading:!0,labels:["True Signals","False Signals"],data:[0,0],colors:[this.chartColorByProvider(null==e?void 0:e.name)]}})}getDealerPlanPricing(){var e,n,i;return(0,l.mG)(this,void 0,void 0,function*(){const c=this.selectedMonth.name.split("-")[0],a=this.selectedMonth.name.split("-")[1];try{const s=yield this.helper.dealer_plan.get_dealer_plan_cloudAI_usage(c,a),g=s.videoai,_=this.dealerUsingProvider.reduce((u,x)=>u+x.request,0),p=null==g?void 0:g.conditional_price,f=this.calcFreeCloudAIEventsNumber(null==p?void 0:p.free_package_amount);console.debug(s,g),this.reservedEvents={freeEvent:this.formatNumberToK(f),eventCostPerEventBoundary:null!==(e=this.dealerPlanService.formatNumbersWithComma(null==p?void 0:p.fee_per_paid_package_amount))&&void 0!==e?e:0,eventEventBoundary:null!==(n=this.dealerPlanService.formatNumbersWithComma(null==p?void 0:p.paid_package_amount))&&void 0!==n?n:0,totalUsedEvents:null!==(i=this.dealerPlanService.formatNumbersWithComma(_))&&void 0!==i?i:0,totalUsedEventsRatio:f?(_/f*100).toFixed(1):0},this.setAvailableCloudAIEvent(_,f),this.setExcessCloudAIEvent(_,f)}catch(s){this.isLoading=!1,console.debug(s),this.commonService.showErrorToast(s,"Request Dealer Plan Info")}})}calcFreeCloudAIEventsNumber(e){var n,i;if(!this.isMainDealer())return e;const c=this.partnerList.filter(u=>2===u.current_month_service_plan_type),a=this.partnerList.filter(u=>3===u.current_month_service_plan_type),s=this.findVideoAIEventsPlan(this.dealerPlanService.subDealerPlanPricingListForProfessional),g=this.findVideoAIEventsPlan(this.dealerPlanService.subDealerPlanPricingListForPremium),p=null===(n=null==s?void 0:s.conditional_price)||void 0===n?void 0:n.free_package_amount,m=null===(i=null==g?void 0:g.conditional_price)||void 0===i?void 0:i.free_package_amount;return e+c.length*p+a.length*m}findVideoAIEventsPlan(e){for(const n in e){const i=e[n];if(this.isVideoAIEventsPlan(n))return i}}setAvailableCloudAIEvent(e,n){this.availableAmount=n>e?this.dealerPlanService.formatNumbersWithComma(n-e):0}setExcessCloudAIEvent(e,n){this.excessAmount=e>n?this.dealerPlanService.formatNumbersWithComma(e-n):0}fetchDataByProvider(e){var n,i,c,a,s;return(0,l.mG)(this,void 0,void 0,function*(){const{time:g}=this.calcCurrentMonth(e),_=yield this.getDealerStatisticByRank(g),p=_,m=_.filter(u=>u.ai_filter_matched),f=_.filter(u=>!u.ai_filter_matched);for(let u=0;u<this.dealerUsingProvider.length;u++){const x=this.dealerUsingProvider[u],y=x.name.toLocaleLowerCase();let h=null!==(n=p.filter(C=>C.provider===y).reduce((C,A)=>C+A.count,0))&&void 0!==n?n:0,b=null!==(c=null===(i=m.find(C=>C.provider===y))||void 0===i?void 0:i.count)&&void 0!==c?c:0,P=null!==(s=null===(a=f.find(C=>C.provider===y))||void 0===a?void 0:a.count)&&void 0!==s?s:0;console.log(h,b,P),x.request=null!=h?h:0,x.filtered=null!=b?b:0,x.currentUsageNumber=h.toLocaleString("en-US"),x.trueSignalsNumber=b.toLocaleString("en-US"),x.falseSignalsNumber=P.toLocaleString("en-US"),x.trueSignalsRatio=h?(b/h*100).toFixed(1):0,x.falseSignalsRatio=h?(P/h*100).toFixed(1):0,x.chartData.data=0===h?[0,100]:[b,P],x.chartData.chartLoading=!1}})}calcCurrentMonth(e){const n=e?new Date(e):new Date;return{time:U(n).utc().startOf("month").format(),stime:U(n).startOf("month").format("YYYY-MM-DD"),etime:U(n).endOf("month").format("YYYY-MM-DD")}}getDealerStatisticByRank(e){return(0,l.mG)(this,void 0,void 0,function*(){try{const n=this.me.dealer_id,i="provider&rank_tags=ai_filter_matched",c=this.isSubDealer(),{data:a}=yield this.videoAIService.getDealerStatisticByRank(n,c,e,null,null,"month",null,i).toPromise();return console.debug("getDealerStatisticByRank:>>",a),null!=a?a:[]}catch(n){return this.isLoading=!1,console.debug("Get Statistic :>>",n),[]}})}onClickGlobalDealerCloudAISettings(){this.isLoading||(this.isEnabledDealerLevelCloudAI?this.alertBeforeDisablingCloudAIForDealerLevel():this.alertBeforeEnablingCloudAIForDealerLevel())}alertBeforeDisablingCloudAIForDealerLevel(){let e=this.dealerUsingProvider.reduce((n,i)=>n+parseInt(i.sitesNumber.replace(/,/g,"")),0);this.m_warning.data={header:"Are you sure you want to turn off Cloud AI Filtering?",contents:`\n - The analysis of the ${e} site(s) will turn off.<br/>\n - Changing this setting can take up to 6 hours to complete or immediately when the site arming status changes.\n `,submit_btn:"Disabled",submit_class:["button-primary"],icon:"warning",isConfirm:!1,color:"orange"},this.m_warning.data.submit_func=()=>(0,l.mG)(this,void 0,void 0,function*(){2===this.me.type&&(yield this.disableCloudAIForAllSubDealer()),yield this.deleteAllFilterWhenDisabledCloudAI(),yield this.disableCloudAI(),this.dealerUsingProvider=[],yield this.fetchDealerCloudAIConfigAndStats()}),this.m_warning.open()}disableCloudAIForAllSubDealer(){return(0,l.mG)(this,void 0,void 0,function*(){const e=this.me.dealer_id;try{this.partnerList.forEach(n=>(0,l.mG)(this,void 0,void 0,function*(){try{const{enabled:i}=yield this.videoAIService.getSubDealerCloudAIConfig(e,n.dealer_id).toPromise(),c={partner_id:parseInt(n.dealer_id),enabled:0};i&&(yield this.videoAIService.updateSubDealerCloudAIConfig(e,c).toPromise())}catch(i){console.debug("disableCloudAIForAllSubDealer :>",i)}}))}catch(n){console.debug("disableCloudAIForAllSubDealer :>",n),this.commonService.showErrorToast(n,"Disable Cloud AI For All Sub Dealer","Failed")}})}deleteAllFilterWhenDisabledCloudAI(){var e,n;return(0,l.mG)(this,void 0,void 0,function*(){const i=this.me.dealer_id,c=null===(e=this.selectedDetectingObjectOfPerson)||void 0===e?void 0:e.id,a=null===(n=this.selectedDetectingObjectOfVehicle)||void 0===n?void 0:n.id;try{c&&(yield this.videoAIService.deleteDealerCloudAIFilter(i,c).toPromise()),a&&(yield this.videoAIService.deleteDealerCloudAIFilter(i,a).toPromise())}catch(s){this.commonService.showErrorToast(s,"Disable Cloud AI","Failed")}})}disableCloudAI(){return(0,l.mG)(this,void 0,void 0,function*(){const e=this.me.dealer_id,n={enabled:0};try{yield this.videoAIService.updateDealerCloudAIConfig(e,n).toPromise(),this.isEditMode=!1,this.commonService.showSuccessToast("Success","CheKT cloud filtering has disabled")}catch(i){this.commonService.showErrorToast(i,"Disable Cloud AI","Failed")}})}alertBeforeEnablingCloudAIForDealerLevel(){this.m_warning.data={header:"Do you want to enable CHeKT cloud AI video filtering?",contents:"",submit_btn:"Enable",submit_class:["button-primary"],icon:"warning",isConfirm:!1,color:"orange"},this.m_warning.data.submit_func=()=>(0,l.mG)(this,void 0,void 0,function*(){this.m_cloud_ai_default_settings.open()}),this.m_warning.open()}enableCloudAI(){return(0,l.mG)(this,void 0,void 0,function*(){const e=this.me.dealer_id,n={enabled:1};try{yield this.videoAIService.updateDealerCloudAIConfig(e,n).toPromise(),this.isEditMode=!1,this.commonService.showSuccessToast("Success","CheKT cloud filtering has enabled")}catch(i){this.commonService.showErrorToast(i,"Enable Cloud AI","Failed")}})}enableCloudAIForDealerLevel(e){return(0,l.mG)(this,void 0,void 0,function*(){const{selectedDefaultProvider:n,isEnabledSuppressAlarmSignals:i,isEnabledSuppressNotification:c,isEnabledDisarmedEventAnalysis:a,selectedDetectingObjectOfPerson:s,selectedDetectingObjectOfVehicle:g}=e;this.selectedDefaultProvider=n,this.isEnabledSuppressAlarmSignals=i,this.isEnabledSuppressNotification=c,this.isEnabledDisarmedEventAnalysis=a,this.selectedDetectingObjectOfPerson=s,this.selectedDetectingObjectOfVehicle=g;try{yield this.confirmSaveDefaultSettings(),yield this.enableCloudAI(),this.dealerUsingProvider=[],yield this.fetchDealerCloudAIConfigAndStats()}catch(_){}})}selectProvider(e){!e||(this.selectedDefaultProvider=e,this.isShowDefaultProviderOptions=!1)}selectDetectObjectPerson(e){!e||(this.selectedDetectingObjectOfPerson=e,this.isShowDetectingObjectOfPersonOptions=!1)}selectDetectObjectVehicle(e){!e||(this.selectedDetectingObjectOfVehicle=e,this.isShowDetectingObjectOfVehicleOptions=!1)}cancelDefaultConfig(){const{defaultProvider:e,detectObjectPerson:n,detectObjectVehicle:i,isEnabledSuppressAlarmSignals:c,isEnabledSuppressNotification:a,isEnabledDisarmedEventAnalysis:s}=this.originData;this.selectedDefaultProvider=this.defaultProviderOptions.find(g=>g.id===e),this.selectedDetectingObjectOfPerson=n,this.selectedDetectingObjectOfVehicle=i,this.isEnabledSuppressAlarmSignals=c,this.isEnabledSuppressNotification=a,this.isEnabledDisarmedEventAnalysis=s,this.isEditMode=!1}checkIsDisabledSaveDefaultConfig(){return!(this.selectedDefaultProvider.id!=this.originData.defaultProvider||this.isEnabledSuppressAlarmSignals!=this.originData.isEnabledSuppressAlarmSignals||this.isEnabledSuppressNotification!=this.originData.isEnabledSuppressNotification||this.isEnabledDisarmedEventAnalysis!=this.originData.isEnabledDisarmedEventAnalysis||this.selectedDetectingObjectOfPerson!=this.originData.detectObjectPerson||this.selectedDetectingObjectOfVehicle!=this.originData.detectObjectVehicle)}saveDefaultConfig(){this.isEditMode?(this.m_warning.data={header:"Dealer Default Config Modification Completed",contents:"Applies to new sites that will be created in the future",submit_btn:"Confirm",submit_class:["button-primary"],icon:"warning",isConfirm:!1,color:"orange"},this.m_warning.data.submit_func=()=>{this.confirmSaveDefaultSettings()},this.m_warning.data.cancel_func=()=>{},this.m_warning.open()):this.isEditMode=!0}confirmSaveDefaultSettings(){return(0,l.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.isEditMode=!1;const e=this.me.dealer_id,n={videoai_provider_id:this.selectedDefaultProvider.id,alarm_signal_suppression_enabled_site_default:this.isEnabledSuppressAlarmSignals?1:0,mobile_app_notification_suppression_enabled_site_default:this.isEnabledSuppressNotification?1:0,disarmed_event_enabled_site_default:this.isEnabledDisarmedEventAnalysis?1:0},i=this.selectedDefaultProvider.id!=this.originData.defaultProvider;try{yield Promise.all([this.videoAIService.updateDealerCloudAIConfig(e,n).toPromise(),this.updateFilterConfig()]),yield this.getDealerCloudAIConfig(),i&&(this.dealerUsingProvider=[],yield this.fetchStatistics()),this.isLoading=!1}catch(c){this.isLoading=!1,this.commonService.showErrorToast(c,"Update Dealer Config","Failed")}})}updateFilterConfig(){var e,n,i,c,a,s,g,_;return(0,l.mG)(this,void 0,void 0,function*(){const p=parseInt(null!==(n=null===(e=this.selectedDetectingObjectOfPerson)||void 0===e?void 0:e.id)&&void 0!==n?n:0),m=parseInt(null!==(c=null===(i=this.originData.detectObjectPerson)||void 0===i?void 0:i.id)&&void 0!==c?c:0),f=parseInt(null!==(s=null===(a=this.selectedDetectingObjectOfVehicle)||void 0===a?void 0:a.id)&&void 0!==s?s:0),u=parseInt(null!==(_=null===(g=this.originData.detectObjectVehicle)||void 0===g?void 0:g.id)&&void 0!==_?_:0);p!=m&&Promise.all([this.createDealerCloudAIFilter(p),this.deleteDealerCloudAIFilter(m)]),f!=u&&Promise.all([this.createDealerCloudAIFilter(f),this.deleteDealerCloudAIFilter(u)])})}createDealerCloudAIFilter(e){return(0,l.mG)(this,void 0,void 0,function*(){if(!e)return;const n=this.me.dealer_id,i={videoai_filter_id:e};try{yield this.videoAIService.createDealerCloudAIFilter(n,i).toPromise()}catch(c){console.debug("createDealerCloudAIFilter err:>",c),this.isLoading=!1,this.commonService.showErrorToast(c,`Failed Create filter - ${e}`,"Failed")}})}deleteDealerCloudAIFilter(e){return(0,l.mG)(this,void 0,void 0,function*(){if(!e)return;const n=this.me.dealer_id;try{yield this.videoAIService.deleteDealerCloudAIFilter(n,e).toPromise()}catch(i){console.debug("deleteDealerCloudAIFilter err:>",i),this.isLoading=!1,this.commonService.showErrorToast(i,`Failed Delete filter - ${e}`,"Failed")}})}delay(e){return new Promise(n=>setTimeout(n,e))}compare(e,n){return e<n?-1:e>n?1:0}isMainDealer(){return 2===this.me.type}isSubDealer(){return 3===this.me.type}isOtherDealer(){return 1===this.me.type||0===this.me.type}isProfessionalPlan(){return 2===this.dealerPlanType}isPremiumPlan(){return 3===this.dealerPlanType}isResellerPlan(){return 4===this.dealerPlanType}isVideoAIEventsPlan(e){return 13===parseInt(e)}formatNumberToK(e){if(isNaN(e)||e<1e3)return e;const n=(e/1e3).toFixed(1);return n.endsWith(".0")?Math.round(e/1e3)+"K":n.replace(/\.0$/,"")+"K"}goToReports(){this.helper.router.navigate_to("/reports/video-event-stats")}comptedUsageChartColor(){const e=parseFloat(this.reservedEvents.totalUsedEventsRatio);return e>=50&&e<100?"warning":e>=100?"danger":"primary"}selectMonth(e){return(0,l.mG)(this,void 0,void 0,function*(){this.isUnfoldMonthList=!1,this.selectedMonth=e,this.dealerUsingProvider=[],yield this.fetchDealerCloudAIConfigAndStats(e.value)})}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(nt.b),t.Y36(T.f),t.Y36(D.v),t.Y36(q.e),t.Y36(z._),t.Y36(S.gz),t.Y36(ot.W))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-cloud-ai-settings"]],viewQuery:function(e,n){if(1&e&&(t.Gf(Ot,5),t.Gf(mt,5),t.Gf(Pt,5),t.Gf(Mt,5)),2&e){let i;t.iGM(i=t.CRH())&&(n.providerOptionSelect=i.first),t.iGM(i=t.CRH())&&(n.detectingObjectOfPersonOptionSelect=i.first),t.iGM(i=t.CRH())&&(n.detectingObjectOfVehicleOptionSelect=i.first),t.iGM(i=t.CRH())&&(n.monthSelectDropdown=i.first)}},hostBindings:function(e,n){1&e&&t.NdJ("mousedown",function(c){return n.onGlobalClick(c)},!1,t.evT)},inputs:{dealerPlanType:"dealerPlanType"},outputs:{onUpdate:"onUpdate"},decls:8,vars:5,consts:[[1,"sub-component"],[1,"widget-area"],[1,"col","flex","align-center"],["class","loader absolute",4,"ngIf"],[4,"ngIf"],[3,"modal"],[3,"modal","tos",4,"ngIf"],[3,"modal","onUpdate"],[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"],["class","widget","style","flex: none; margin: 10px",4,"ngIf"],[1,"widget",2,"flex","none","margin","10px"],[1,"header"],[1,"title","flex","v-center"],[1,"--g-tooltip-content",3,"mouseenter"],[1,"--g-tooltip-icon",3,"icon","size","color"],[1,"--g-tooltip"],["class","btn-area",4,"ngIf"],["class","widget-body",4,"ngIf"],[1,"widget",2,"max-height","none","margin","10px"],[1,"title"],[1,"widget-body",2,"flex-direction","row","height","100%","justify-content","space-between"],[1,"item","label",2,"width","80%"],[1,"link",3,"click"],[1,"btn-area",2,"align-items","center"],["class","button button-danger",3,"disabled","click",4,"ngIf"],["class","button button-primary",3,"disabled","click",4,"ngIf"],[1,"button","button-danger",3,"click"],[1,"btn-inner"],[1,"button","button-primary",3,"click"],[1,"flex","v-center",2,"height","100%"],[1,"tag"],[1,"btn-area"],["class","button button-white","style","margin-right: 8px",3,"click",4,"ngIf"],[1,"button","button-white",3,"click"],[1,"button","button-white",2,"margin-right","8px",3,"click"],[1,"widget-body"],[1,"item","label",2,"width","100%"],[2,"color","#1E88E5"],[1,"row-item"],[1,"f-3","label"],[1,"f-6","margin-left"],[1,"flex","v-center"],["class","logo",3,"src",4,"ngIf"],[2,"margin-left","8px"],[1,"f-6","flex","align-center","margin-left"],[1,"f-3","label","flex","align-center"],[2,"font-size","16px"],[1,"flex",2,"margin","24px 0","justify-content","center"],["src","/assets/imgs/cloud_AI_filter_CS_alarm_monitoring_signal.png",2,"width","250px"],["src","/assets/imgs/cloud_AI_push_notification.png",2,"width","250px"],[1,"logo",3,"src"],[1,"select-comp"],["providerOptionSelect",""],[1,"selectbox","label",3,"click"],["class","logo",3,"src",4,"ngIf","ngIfElse"],["none",""],["xmlns","http://www.w3.org/2000/svg","height","16px","width","14px","viewBox","0 0 18 20"],["d","M0 0h24v24H0V0z","fill","none"],["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","style","width: 200px",4,"ngIf"],["detectingObjectOfPersonOptionSelect",""],["detectingObjectOfVehicleOptionSelect",""],[1,"pointer",3,"icon","size","color"],[2,"margin-left","24px",3,"ngModel","ngModelChange"],[2,"color","#55647B"],[1,"select-list",2,"width","200px"],["class","select-result has-child trigger-item",3,"selected","click",4,"ngFor","ngForOf"],[1,"select-result","has-child","trigger-item",3,"click"],[1,"selectitem"],["class","flex v-center",4,"ngIf"],["style","height: 29px; font-size: 16px; display: flex; align-items: center;",4,"ngIf"],[2,"height","29px","font-size","16px","display","flex","align-items","center"],[1,"flex","v-center",2,"margin-bottom","12px"],[1,"second-section-title"],[1,"flex-column","v-center",2,"justify-content","center","height","100%","gap","12px","text-align","center","line-height","20px"],["src","/assets/logo/cloud-ai-logo.svg",2,"width","72px","height","72px"],[1,"flex","between"],[2,"margin-left","4px","font-weight","bold"],[1,"flex","stat-tag-area",2,"gap","8px"],["class","flex v-center stat-tag",4,"ngIf"],[1,"flex","v-center","stat-tag"],[1,"material-icons-outlined",2,"font-size","18px","margin-right","4px"],[1,"chekt-select-option-wrapper"],["monthSelectDropdown",""],[1,"chekt-select-option",2,"z-index","2"],[1,"chekt-select-option-label",3,"click"],["style","color:#a3acb9;",4,"ngIf"],[1,"chekt-select-option-icon"],[1,"my-icon",2,"font-size","18px"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#000000"],["d","M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z"],["class","chekt-select-dropdown",4,"ngIf"],[1,"dashboard-widget-contents-box","flex-group-3",3,"click"],[1,"flex","v-center",2,"gap","4px"],["class","alert",4,"ngIf"],[1,"circle",3,"ngClass"],[1,"dashboard-widget-contents-box-total-box"],[1,"dashboard-widget-contents-box-total-box-used",3,"ngClass"],[1,"flex","between",2,"margin-top","6px"],["class","excess-alert",3,"alert",4,"ngIf"],[1,"link",2,"margin-top","4px"],[1,"multiple-provider-wrap"],["style","width: 500px; height: 270px",3,"ngClass",4,"ngFor","ngForOf"],[2,"color","#a3acb9"],[1,"chekt-select-dropdown"],[1,"select-option-modal-list"],["class","chekt-select-dropdown-list",3,"click",4,"ngFor","ngForOf"],[1,"chekt-select-dropdown-list",3,"click"],[1,"alert"],[1,"excess-alert"],[3,"icon","size","color",4,"ngIf"],[3,"icon","size","color"],[2,"width","500px","height","270px",3,"ngClass"],[2,"display","flex","width","100%","margin-bottom","16px"],["class","default-provider-tag",4,"ngIf"],[1,"usage-summary","multiple"],[1,"buget-chart-area"],[3,"active","data","width","height","chartType"],[1,"summary-area",2,"display","flex","flex-direction","column","gap","16px","width","300px"],[1,"row","between"],[1,"summary-title"],[1,"circle","chart-background",2,"border","solid 1px hsla(0, 0%, 0%, 0.1)"],[1,"default-provider-tag"],[3,"modal","tos"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.YNc(3,vt,3,0,"div",3),t.YNc(4,ae,22,12,"ng-container",4),t.qZA(),t.qZA(),t.qZA(),t._UZ(5,"dealer-warning",5),t.YNc(6,le,1,2,"app-notice",6),t.TgZ(7,"dealer-cloud-ai-default-settings",7),t.NdJ("onUpdate",function(c){return n.enableCloudAIForDealerLevel(c)}),t.qZA()),2&e&&(t.xp6(3),t.Q6J("ngIf",n.isLoading),t.xp6(1),t.Q6J("ngIf",!n.isLoading),t.xp6(1),t.Q6J("modal",n.m_warning),t.xp6(1),t.Q6J("ngIf",n.m_notice.is_active),t.xp6(1),t.Q6J("modal",n.m_cloud_ai_default_settings))},directives:[O.O5,E.a,Ct,J.U,Z.Rr,w.JJ,w.On,O.sg,O.mk,ht.q,L.j],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)}','@charset "UTF-8";.circle[_ngcontent-%COMP%]{border-radius:50%;background:#1f8fff;width:16px;height:16px}.primary[_ngcontent-%COMP%]{background:#1f8fff}.warning[_ngcontent-%COMP%]{background:#F69D6E}.danger[_ngcontent-%COMP%]{background:#B43658}.chart-background[_ngcontent-%COMP%]{background:#F2F6F9}.calipsa[_ngcontent-%COMP%]{background:#5469d4}.actuate[_ngcontent-%COMP%]{background:#cd3c63}.gray-text[_ngcontent-%COMP%]{color:#55647b}.excess-alert[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:12px;justify-content:flex-end;margin-top:4px;color:gray}.alert[_ngcontent-%COMP%]{color:#b43658}.container[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:column}.container-center[_ngcontent-%COMP%]{display:flex;flex-direction:row;overflow-y:overlay;height:100%;position:relative;-webkit-user-select:none;user-select:none}.column[_ngcontent-%COMP%]{flex-direction:column}.column-reverse[_ngcontent-%COMP%]{flex-direction:column-reverse}.margin-left[_ngcontent-%COMP%]{margin-left:20px}.widget[_ngcontent-%COMP%]{margin:14px;width:100%;min-width:100%!important}.widget[_ngcontent-%COMP%] .row-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;margin-right:8px;height:30px}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%]{padding:20px;overflow:auto}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%] .row-item[_ngcontent-%COMP%]{display:flex;flex-direction:row}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%] .row-item[_ngcontent-%COMP%]:not(:first-child){margin-top:14px}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{color:#0009}.widget[_ngcontent-%COMP%] .notice-area[_ngcontent-%COMP%]{background-color:#fcf9e9;padding:10px 20px;font-size:14px;color:#000000de;border-bottom:solid 1px rgba(0,0,0,.1)}.widget[_ngcontent-%COMP%] .notice-area[_ngcontent-%COMP%] .row-item[_ngcontent-%COMP%]{display:flex;flex-direction:row}.link[_ngcontent-%COMP%]{font-size:14px;font-weight:500;color:#2f96fb;text-decoration:underline;cursor:pointer;margin-left:4px}.full-widget[_ngcontent-%COMP%]{margin:14px 14px 40px;flex:1;background:white;display:flex;flex-direction:column;overflow:auto}.full-widget[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;border-bottom:solid 1px rgba(0,0,0,.1)}.full-widget[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{padding:16px}.full-widget[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .btn-area[_ngcontent-%COMP%]{padding:10px 16px}.full-widget[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%]{width:100%;flex:1;overflow-y:overlay}.full-widget[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.full-widget[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:7px 16px;color:#000000de;text-transform:capitalize;text-align:left;font-size:14px;font-weight:normal}.full-widget[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:14px;color:#0009;border-bottom:1px #ccc solid;padding:14px 16px}.full-widget[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid #f0f0f0}.full-widget[_ngcontent-%COMP%] .table-loading[_ngcontent-%COMP%]{padding:32px;text-align:center}.full-widget[_ngcontent-%COMP%] .table-loading[_ngcontent-%COMP%] .loading-image[_ngcontent-%COMP%]{width:48px;height:16px}.full-widget[_ngcontent-%COMP%] .has-child[_ngcontent-%COMP%]:hover{background:#fafafa}.full-widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%]{height:100%}.stat-tag-area[_ngcontent-%COMP%]{font-weight:500;font-size:14px;color:#55647b;margin-bottom:8px;grid-gap:8px;gap:8px}.stat-tag-area[_ngcontent-%COMP%] .stat-tag[_ngcontent-%COMP%]{background:#F2F6F9;border-radius:5px;padding:3px 6px}.loader[_ngcontent-%COMP%]{position:relative;margin:0 auto;width:50px}.loader.absolute[_ngcontent-%COMP%]{margin:48px auto;position:absolute;top:calc(50% - 25px);left:calc(50% - 25px)}.loader[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.loading[_ngcontent-%COMP%]{background-color:#eee}.enable-text[_ngcontent-%COMP%]{color:#cd3d64}.disable-text[_ngcontent-%COMP%]{color:#55647b}.disabled[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.disable[_ngcontent-%COMP%]{opacity:.6}.selectbox[_ngcontent-%COMP%]{padding:6px;margin:0 8px 0 0;border-radius:4px;cursor:pointer;width:280px}.selectbox[_ngcontent-%COMP%]:hover{background:#eee}.selectbox.short[_ngcontent-%COMP%]{width:150px}.test-box[_ngcontent-%COMP%]{display:flex;width:100%;margin:0 0 8px}.logo[_ngcontent-%COMP%]{height:20px}@keyframes pulse{0%{opacity:.25}20%{opacity:.8}40%{opacity:.25}60%{opacity:.8}80%{opacity:.25}to{opacity:.25}}.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}.tag[_ngcontent-%COMP%]{align-items:center;line-height:16px;padding:2px 10px;margin-right:8px;width:-moz-fit-content;width:fit-content;border-radius:5px;border:1px solid #55647B;color:#55647b;font-size:13px}.tag.positive[_ngcontent-%COMP%]{border:1px solid #1EA675;color:#1ea675}.tag.negative[_ngcontent-%COMP%]{border:1px solid #CD3D64;color:#cd3d64}.second-section-title[_ngcontent-%COMP%]{color:#000000de;font-size:16px}.default-provider-tag[_ngcontent-%COMP%]{background:#E3E8EE;border:1px solid rgba(0,0,0,.1);border-radius:3px;font-weight:500;font-size:12px;color:#55647b;display:flex;align-items:center;padding:3px 6px;margin-left:12px}.dashboard-widget[_ngcontent-%COMP%]{background-color:#fff;margin-bottom:10px}.dashboard-widget-title[_ngcontent-%COMP%]{padding:16px;font-weight:400;font-size:16px;border-bottom:1px solid rgba(0,0,0,.1)}.dashboard-widget-contents[_ngcontent-%COMP%]{color:#000000de;flex-wrap:wrap}.dashboard-widget-contents-box[_ngcontent-%COMP%]:hover{background-color:#0000000a}.dashboard-widget-contents-box[_ngcontent-%COMP%]{cursor:pointer;position:relative;flex:1;display:flex;flex-direction:column;margin:15px 0 20px;padding:15px 20px 20px;min-width:300px;border-radius:5px}.dashboard-widget-contents-box.pb-10[_ngcontent-%COMP%]{padding-bottom:10px}.dashboard-widget-contents-box-total-box[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%;height:30px;position:relative;margin-top:18px;background-color:#f2f6f9}.dashboard-widget-contents-box-total-box-used[_ngcontent-%COMP%]{height:100%;width:0%;transition:all 1s ease}.dashboard-widget[_ngcontent-%COMP%] .flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.dashboard-widget[_ngcontent-%COMP%] .flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.dashboard-widget[_ngcontent-%COMP%] .flex-wrap[_ngcontent-%COMP%]{flex-wrap:wrap}.dashboard-widget[_ngcontent-%COMP%] .flex-group-4[_ngcontent-%COMP%]{flex:none;box-sizing:border-box;width:25%}.dashboard-widget[_ngcontent-%COMP%] .flex-group-3[_ngcontent-%COMP%]{flex:none;box-sizing:border-box;width:33.333333%}.usage-summary[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:space-evenly;flex-wrap:wrap;grid-gap:10px;gap:10px}.buget-chart-area[_ngcontent-%COMP%]{position:relative}.summary-area[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{background:rgba(0,0,0,.1);height:1px;width:100%;border:0}.summary-area[_ngcontent-%COMP%] .summary-title[_ngcontent-%COMP%]{display:flex;color:#55647b}.multiple-provider-wrap[_ngcontent-%COMP%]{height:100%;display:flex;grid-gap:56px;gap:56px;flex-wrap:wrap;justify-content:space-around;align-content:flex-start}.chekt-select-option-wrapper[_ngcontent-%COMP%]{position:relative}.chekt-select-option[_ngcontent-%COMP%]{height:30px;width:100%;display:flex;flex-direction:row;justify-content:center;align-items:center;position:relative;z-index:1;background-color:#fff;border-radius:4px;box-shadow:#0000 0 0,#0000 0 0,#0000 0 0,#40445229 0 0 0 1px,#0000 0 0,#0000 0 0,#0000 0 0}.chekt-select-option.input-err[_ngcontent-%COMP%]{outline:none;background-color:#fbd0d6;box-shadow:0 0 0 2px #f1556c}.chekt-select-option[_ngcontent-%COMP%] > .chekt-select-option-label[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;position:relative;z-index:1;flex:0 1 auto;margin:0;text-decoration:none;vertical-align:middle;word-break:normal;background:transparent;border:0;outline:0;transition:color .24s;padding:4px 30px 4px 8px;-webkit-appearance:none;width:100%;appearance:none;-webkit-user-select:auto;user-select:auto;height:20px;cursor:pointer;font-family:Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:14px;color:#3c4257}.chekt-select-option-icon[_ngcontent-%COMP%]{position:absolute;top:50%;right:8px;z-index:2;margin-top:-9px;transition:color .24s;pointer-events:none;color:#3c4257}.my-icon[_ngcontent-%COMP%]{width:1em;height:1em;display:flex;justify-content:center;align-items:center}.chekt-select-dropdown[_ngcontent-%COMP%]{background-color:#fff;width:100%;position:absolute;box-shadow:0 0 0 1px #8898aa1a,0 15px 35px #31315d1a,0 5px 15px #00000014;border-radius:4px;margin-top:7px;z-index:100;-webkit-user-select:none;user-select:none;transition:transform .3s cubic-bezier(.075,.82,.165,1),opacity .3s cubic-bezier(.075,.82,.165,1)}.select-option-modal-list[_ngcontent-%COMP%]{cursor:pointer;max-height:200px;color:#55647b;font-size:14px;overflow-y:auto}.select-option-modal-list[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:8px 0 8px 8px}.select-option-modal-list[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover{background-color:#f7fafc}']}),o})();function de(o,r){if(1&o){const e=t.EpF();t.ynx(0),t.TgZ(1,"div",1),t.TgZ(2,"app-cloud-ai-init",2),t.NdJ("onUpdate",function(){return t.CHM(e),t.oxw().activateCloudAI()}),t.qZA(),t.qZA(),t.BQk()}if(2&o){const e=t.oxw();t.xp6(2),t.Q6J("tos",e.tos)}}function ge(o,r){if(1&o&&(t.ynx(0),t._UZ(1,"app-cloud-ai-settings",3),t.BQk()),2&o){const e=t.oxw();t.xp6(1),t.Q6J("dealerPlanType",e.dealerPlanType)}}const _e=S.Bz.forChild([{path:"",component:(()=>{class o{constructor(e,n,i,c,a){this.dealerPlanService=e,this.usersService=n,this.commonService=i,this.videoAIService=c,this.route=a,this.isInitMode=!1}ngOnInit(){this.route.queryParams.subscribe(e=>{this.params=e,this.usersService.getMe().subscribe(n=>{this.me=n,this.fetchData()},n=>{this.commonService.showErrorToast(n,"Failed to get dealer information","Failed")})})}fetchData(){return(0,l.mG)(this,void 0,void 0,function*(){try{if(yield this.getDealerCloudAIConfig(),!(yield this.fetchDealerPlan()))return void(this.isInitMode=!0)}catch(e){this.commonService.showErrorToast(e,"Faild fetchData","Faild")}})}fetchDealerPlan(){return(0,l.mG)(this,void 0,void 0,function*(){try{const e=yield this.dealerPlanService.getDealerPlan(this.me.dealer_id).toPromise();return this.dealerPlanType=null==e?void 0:e.current_month_service_plan_type,1!==(null==e?void 0:e.current_month_service_plan_type)}catch(e){console.debug("hasDealerPlanPerm err:>>",e)}})}getDealerCloudAIConfig(){return(0,l.mG)(this,void 0,void 0,function*(){const e=this.me.dealer_id;try{const n=yield this.videoAIService.getDealerCloudAIConfig(e).toPromise(),{enabled:i,tos:c}=n;this.isInitMode=!i&&!(null==c?void 0:c.is_accepted),this.tos=c}catch(n){this.commonService.showErrorToast(n,"Get Dealer Default Config","Failed")}})}activateCloudAI(){return(0,l.mG)(this,void 0,void 0,function*(){yield new Promise(e=>setTimeout(e,500)),this.isInitMode=!1,yield this.getDealerCloudAIConfig()})}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(z._),t.Y36(T.f),t.Y36(D.v),t.Y36(q.e),t.Y36(S.gz))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-cloud-ai"]],decls:2,vars:2,consts:[[4,"ngIf"],[2,"height","100%"],[3,"tos","onUpdate"],[3,"dealerPlanType"]],template:function(e,n){1&e&&(t.YNc(0,de,3,1,"ng-container",0),t.YNc(1,ge,2,1,"ng-container",0)),2&e&&(t.Q6J("ngIf",n.isInitMode),t.xp6(1),t.Q6J("ngIf",!n.isInitMode))},directives:[O.O5,et,se],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)}',".container[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:column}.container-center[_ngcontent-%COMP%]{display:flex;flex-direction:row;overflow-y:overlay;height:100%;position:relative;-webkit-user-select:none;user-select:none}"]}),o})()}]);var j=d(56447),fe=d(49745),V=d(16909),ue=d(62540);let be=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[O.ez,w.u5,k.m,j.q,fe.V,V.p,ue.Z]]}),o})();var xe=d(28739);let Ce=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[O.ez,w.u5,k.m,Z.rP,j.q]]}),o})(),he=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[O.ez,w.u5,k.m,Z.rP,xe.S,j.q,V.p,Ce]]}),o})(),Oe=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[O.ez,w.u5,k.m,_e,Z.rP,be,he]]}),o})()}}]);