-
Notifications
You must be signed in to change notification settings - Fork 0
/
7394.72f5660505e4e4e105b6.js
1 lines (1 loc) · 104 KB
/
7394.72f5660505e4e4e105b6.js
1
"use strict";(self.webpackChunkchekt_web_wcs=self.webpackChunkchekt_web_wcs||[]).push([[7394],{11822:(M,b,g)=>{g.d(b,{cN:()=>p,ku:()=>l,OP:()=>t});var s=g(88638);const p=(0,s.X$)("page",[(0,s.SB)("*",(0,s.oB)({opacity:1,transform:"translateX(0)"})),(0,s.eR)(":leave",[(0,s.jt)("0.1s 0.1s",(0,s.oB)({opacity:0}))]),(0,s.eR)(":enter",[(0,s.oB)({opacity:0,display:"none",position:"absolute",top:0,left:0,width:"100%"}),(0,s.jt)("0.1s 100ms",(0,s.oB)({position:"absolute",opacity:1,transform:"translateX(0)"}))])]),l=((0,s.X$)("dialog",[(0,s.SB)("*",(0,s.oB)({transform:"translateX(0)"})),(0,s.eR)(":enter",[(0,s.oB)({transform:"translateY(+50%)",opacity:.5}),(0,s.jt)("0.2s ease-in")]),(0,s.eR)(":leave",[(0,s.jt)("0.2s ease-out",(0,s.oB)({transform:"translateY(+50%)",opacity:.5}))])]),(0,s.X$)("background",[(0,s.SB)("*",(0,s.oB)({opacity:1})),(0,s.eR)(":enter",[(0,s.oB)({opacity:0}),(0,s.jt)("0.1s ease-in")]),(0,s.eR)(":leave",[(0,s.jt)("0.1s ease-out",(0,s.oB)({opacity:0}))])])),t=((0,s.X$)("subModal",[(0,s.eR)(":enter",[(0,s.oB)({transform:"translateX(+100%)"}),(0,s.jt)("0.2s ease-in")]),(0,s.eR)(":leave",[(0,s.jt)("0.2s ease-in",(0,s.oB)({transform:"translateX(-100%)"}))])]),(0,s.X$)("imgShow",[(0,s.SB)("*",(0,s.oB)({opacity:1})),(0,s.eR)(":enter",[(0,s.oB)({opacity:0}),(0,s.jt)("0.2s ease-in")]),(0,s.eR)(":leave",[(0,s.jt)("0.2s ease-out",(0,s.oB)({opacity:0}))])]))},97394:(M,b,g)=>{g.r(b),g.d(b,{DivisionsModule:()=>at});var s=g(16274),p=g(93324),f=g(29535),l=g(61855),u=g(11822),t=g(42741),x=g(35460),h=g(17611),C=g(46243);const P=["actionMenus"];function O(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 v(o,r){1&o&&(t.TgZ(0,"tr",15),t.TgZ(1,"td",16),t._uU(2,"No Permission for Division List"),t.qZA(),t.qZA())}function w(o,r){1&o&&(t.TgZ(0,"tr",15),t.TgZ(1,"td",16),t._uU(2,"No Division List"),t.qZA(),t.qZA())}function y(o,r){if(1&o&&(t.ynx(0),t.YNc(1,v,3,0,"tr",14),t.YNc(2,w,3,0,"tr",14),t.BQk()),2&o){const n=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!n.hasReadDivisionPermission),t.xp6(1),t.Q6J("ngIf",n.hasReadDivisionPermission)}}function Z(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"div",23),t.NdJ("click",function(i){t.CHM(n);const c=t.oxw().$implicit,a=t.oxw(2);return i.stopPropagation(),a.editDivision(c)}),t.TgZ(1,"div",24),t._uU(2,"Edit Division"),t.qZA(),t.qZA()}}function k(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"div",27),t.NdJ("click",function(i){t.CHM(n);const c=t.oxw().$implicit,a=t.oxw(2);return i.stopPropagation(),a.deleteDivision(c)}),t.TgZ(1,"div",24),t._uU(2,"Remove Division"),t.qZA(),t.qZA()}}function T(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"tr",17),t.NdJ("click",function(){const c=t.CHM(n).$implicit;return t.oxw(2).goToDetail(c.id)}),t.TgZ(1,"td"),t._uU(2),t.qZA(),t.TgZ(3,"td"),t._uU(4),t.qZA(),t.TgZ(5,"td"),t._uU(6),t.qZA(),t.TgZ(7,"td"),t._uU(8),t.qZA(),t.TgZ(9,"td"),t.TgZ(10,"div",18,19),t.NdJ("mouseenter",function(){const c=t.CHM(n).$implicit;return t.oxw(2).setDivisionMorePosition(c)}),t.TgZ(12,"i",20),t.NdJ("click",function(i){const a=t.CHM(n).$implicit,d=t.oxw(2);return i.stopPropagation(),d.toggleMenu(a)}),t._uU(13,"more_horiz"),t.qZA(),t.TgZ(14,"div",21),t.TgZ(15,"div",22),t.TgZ(16,"div",23),t.NdJ("click",function(i){const a=t.CHM(n).$implicit,d=t.oxw(2);return i.stopPropagation(),d.goToDetail(a.id)}),t.TgZ(17,"div",24),t._uU(18,"Go to Detail"),t.qZA(),t.qZA(),t.YNc(19,Z,3,0,"div",25),t.YNc(20,k,3,0,"div",26),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&o){const n=r.$implicit,e=t.oxw(2);t.xp6(2),t.Oqu(n.name),t.xp6(2),t.hij("",n.site_count," sites"),t.xp6(2),t.hij("",n.user_count," users"),t.xp6(2),t.Oqu(n.description),t.xp6(2),t.Q6J("id","division-"+(null==n?null:n.id)),t.xp6(2),t.ekj("show",n.isShowMenu),t.xp6(2),t.ekj("visible",n.isShowMenu),t.Q6J("id","division-more-"+n.id),t.xp6(5),t.Q6J("ngIf",e.hasUpdateDivisionPermission),t.xp6(1),t.Q6J("ngIf",e.hasDeleteDivisionPermission)}}function D(o,r){if(1&o&&(t.TgZ(0,"div",11),t.TgZ(1,"table"),t.TgZ(2,"colgroup"),t._UZ(3,"col",2),t._UZ(4,"col",3),t._UZ(5,"col",3),t._UZ(6,"col",4),t._UZ(7,"col",5),t.qZA(),t.TgZ(8,"tbody"),t.YNc(9,y,3,2,"ng-container",12),t.YNc(10,T,21,12,"tr",13),t.qZA(),t.qZA(),t.qZA()),2&o){const n=t.oxw();t.xp6(9),t.Q6J("ngIf",!n.filteredDivisions.length),t.xp6(1),t.Q6J("ngForOf",n.filteredDivisions)}}let z=(()=>{class o{constructor(n,e){this.helper=n,this.c_components=e,this.isLoading=!1,this.divisions=[],this.filteredDivisions=[],this.hasReadDivisionPermission=!1,this.hasUpdateDivisionPermission=!1,this.hasDeleteDivisionPermission=!1}ngOnChanges(n){n.search_text&&n.search_text.currentValue!==n.search_text.previousValue&&this.on_search_text_change()}watch(){this.divisions$w=this.helper.dealer_division.my_divisions$w().subscribe(n=>this.on_divisions_change(n))}unwatch(){var n;null===(n=this.divisions$w)||void 0===n||n.unsubscribe()}ngOnInit(){return(0,l.mG)(this,void 0,void 0,function*(){this.watch(),this.checkPermission(),yield this.load_data()})}ngOnDestroy(){this.unwatch()}onGlobalClick(n){this.actionMenus&&this.actionMenus.toArray().forEach(i=>{this.filteredDivisions.forEach(c=>{"division-"+(null==c?void 0:c.id)==i.nativeElement.id+""&&(i.nativeElement.contains(n.target)||(c.isShowMenu=!1))})})}checkPermission(){this.hasReadDivisionPermission=this.helper.permission.has("dealer_division_read"),this.hasUpdateDivisionPermission=this.helper.permission.has("dealer_division_update"),this.hasDeleteDivisionPermission=this.helper.permission.has("dealer_division_delete")}on_search_text_change(){this.update_filteredDivisions()}on_divisions_change(n){!n||(this.divisions=n,this.update_filteredDivisions())}load_data(){return(0,l.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.helper.dealer_division.load_my_divisions(),this.isLoading=!1})}update_filteredDivisions(){if(!(0,C.isString)(this.search_text))return this.filteredDivisions=this.divisions;const n=this.search_text.toLowerCase();if(n.length<2)return this.filteredDivisions=this.divisions;this.filteredDivisions=this.divisions.filter(e=>[e.name,e.description].join("").toLowerCase().includes(n))}goToDetail(n){this.helper.router.navigate_to(`/settings/divisions/${n}`)}setDivisionMorePosition(n){const e=document.documentElement;let i=document.getElementById("division-"+(null==n?void 0:n.id)),c=document.getElementById("division-more-"+(null==n?void 0:n.id)),a=i.getBoundingClientRect();const _=a.top-22;c.style.right=e.clientWidth-a.right+5+"px",c.style.top=_+"px"}toggleMenu(n){n.isShowMenu=!n.isShowMenu}editDivision(n){this.toggleMenu(n),this.c_components.dialog.open("dealer_division",n.id)}deleteDivision(n){this.toggleMenu(n),this.c_components.dialog.open("warning",{header:`Do you want to delete Division(${n.name})?`,contents:`\n <p>There are ${n.site_count} sites and ${n.user_count} user involved.</b></p>\n `,submit_btn:"Delete",submit_class:["button-primary"],icon:"warning",isConfirm:!1,color:"orange",submit_func:()=>{this.delete_division(n)}})}delete_division(n){return(0,l.mG)(this,void 0,void 0,function*(){const e="Delete a Division",i=`${e} ${n.name} - Success.`;this.isLoading=!0;try{yield this.deleteRelatedUsers(n.id),yield this.helper.dealer_division.delete_division(n.id),this.isLoading=!1,this.openConfirmDialog(e,i),this.helper.dealer_division.load_my_divisions()}catch(c){this.isLoading=!1,this.openErrorDialog(c,e)}})}deleteRelatedUsers(n){var e;return(0,l.mG)(this,void 0,void 0,function*(){let i;yield this.helper.dealer_division.load_division_members(n);const c=this.helper.dealer_division.divisions_members$w().subscribe(_=>i=_),d=(null!==(e=i.filter(_=>{var m;return 1===(null===(m=null==_?void 0:_.divisions)||void 0===m?void 0:m.length)}))&&void 0!==e?e:[]).map(_=>(0,l.mG)(this,void 0,void 0,function*(){return yield this.convertToGlobalUser(null==_?void 0:_.user_id)}));yield Promise.all(d),c.unsubscribe()})}convertToGlobalUser(n){return(0,l.mG)(this,void 0,void 0,function*(){n&&(yield this.helper.dealer_member.update_member(n,{is_division_user:0}))})}openConfirmDialog(n="",e="",i="done",c="green",a=!1){this.c_components.dialog.open("warning",{header:n,contents:`\n <p>${e}</b></p>\n `,submit_btn:"OK",submit_class:["button-primary"],icon:i,isConfirm:!0,color:c,submit_func:()=>{a&&this.load_data()}})}openErrorDialog(n,e){let i="failed.";n.error&&n.error.message&&(i=n.error.message),n._body&&(i=JSON.parse(n._body).message),setTimeout(()=>{this.openConfirmDialog(e,i,"warning","orange")},200)}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(x.W),t.Y36(h.I))},o.\u0275cmp=t.Xpm({type:o,selectors:[["c_dtable_division_list_component"]],viewQuery:function(n,e){if(1&n&&t.Gf(P,5,t.SBq),2&n){let i;t.iGM(i=t.CRH())&&(e.actionMenus=i)}},hostBindings:function(n,e){1&n&&t.NdJ("mousedown",function(c){return e.onGlobalClick(c)},!1,t.evT)},inputs:{search_text:"search_text"},features:[t.TTD],decls:21,vars:2,consts:[[1,"table-container"],[1,"table-header"],["width","25%"],["width","15%"],["width","40%"],["width","5%"],["class","loader absolute",4,"ngIf"],["class","table-body",4,"ngIf"],[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"],[1,"table-body"],[4,"ngIf"],["class","has-child",3,"click",4,"ngFor","ngForOf"],["style","text-align: center; color: #999;",4,"ngIf"],[2,"text-align","center","color","#999"],["colspan","11"],[1,"has-child",3,"click"],[1,"more-content","v-center",3,"id","mouseenter"],["actionMenus",""],[1,"material-icons-outlined","more-icon",3,"click"],[1,"more","division-more",3,"id"],[1,"btn-area",2,"justify-content","flex-end","flex-direction","column"],[1,"text-button","mb-7",3,"click"],[1,"btn-inner"],["class","text-button mb-7",3,"click",4,"ngIf"],["class","text-button text-button-danger",3,"click",4,"ngIf"],[1,"text-button","text-button-danger",3,"click"]],template:function(n,e){1&n&&(t.TgZ(0,"div",0),t.TgZ(1,"table",1),t.TgZ(2,"colgroup"),t._UZ(3,"col",2),t._UZ(4,"col",3),t._UZ(5,"col",3),t._UZ(6,"col",4),t._UZ(7,"col",5),t.qZA(),t.TgZ(8,"thead"),t.TgZ(9,"tr"),t.TgZ(10,"th"),t._uU(11,"Division Name"),t.qZA(),t.TgZ(12,"th"),t._uU(13,"Sites"),t.qZA(),t.TgZ(14,"th"),t._uU(15,"Users"),t.qZA(),t.TgZ(16,"th"),t._uU(17,"Description"),t.qZA(),t._UZ(18,"th"),t.qZA(),t.qZA(),t.qZA(),t.YNc(19,O,3,0,"div",6),t.YNc(20,D,11,2,"div",7),t.qZA()),2&n&&(t.xp6(19),t.Q6J("ngIf",e.isLoading),t.xp6(1),t.Q6J("ngIf",!e.isLoading))},directives:[s.O5,s.sg],styles:['table[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:50%;width:35px;height:35px}table.table-header[_ngcontent-%COMP%]:after{border-collapse:separate}.table-container[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column;overflow-y:hidden}.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;padding:0 6px}.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}.has-child[_ngcontent-%COMP%]{cursor:pointer}.has-child[_ngcontent-%COMP%]:hover{background:#f0f0f0}.table-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{height:initial;align-items:center}.table-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.table-container[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px;color:#56657bde;text-transform:uppercase;text-align:left;font-size:13px;font-weight:normal}.table-container[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px rgba(0,0,0,.1) solid}.table-container[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child{border-bottom:none}.table-container[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:14px;color:#000000de;padding:7px;text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap;max-width:1vw}.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}.ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap}',".icon-primary[_ngcontent-%COMP%]{font-size:23px;color:#2383e2!important}.icon-primary[_ngcontent-%COMP%]:hover{color:#7bf!important}.icon-warning[_ngcontent-%COMP%]{font-size:23px;color:#dc143c!important}.icon-warning[_ngcontent-%COMP%]:hover{color:#fc3f65!important}.text-button[_ngcontent-%COMP%]{padding:4px 8px}.more-content[_ngcontent-%COMP%]{position:relative;justify-content:flex-end}.more-content[_ngcontent-%COMP%] .more-icon[_ngcontent-%COMP%]{cursor:pointer;padding:0 4px;border-radius:4px;margin-right:10px;font-size:18px;color:#0009;-webkit-user-select:none;user-select:none}.more-content[_ngcontent-%COMP%] .more-icon[_ngcontent-%COMP%]:hover, .more-content[_ngcontent-%COMP%] .more-icon.show[_ngcontent-%COMP%]{box-shadow:0 0 4px gray}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{visibility:hidden;opacity:0;height:-moz-fit-content;height:fit-content;background-color:#fff;color:#000000de;padding:0;box-sizing:border-box;border-radius:6px;font-size:14px;box-shadow:0 0 30px #0000004d;cursor:pointer;position:absolute;z-index:100;bottom:32px;right:-8px;margin-left:-38px;transition:opacity .3s}.more-content[_ngcontent-%COMP%] .more.division-more[_ngcontent-%COMP%]{position:fixed;bottom:initial;right:initial}.more-content[_ngcontent-%COMP%] .more.show[_ngcontent-%COMP%]{visibility:visible;opacity:1}.more-content[_ngcontent-%COMP%] .more.visible[_ngcontent-%COMP%]{visibility:visible;opacity:1}"]}),o})();const A=["searchBar"];function q(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"div",16),t.NdJ("click",function(){return t.CHM(n),t.oxw().openDeleteDialog()}),t.TgZ(1,"div",17),t._uU(2,"Delete All"),t.qZA(),t.qZA()}}function U(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"div",18),t.NdJ("click",function(){return t.CHM(n),t.oxw().openCreateDialog()}),t.TgZ(1,"div",17),t._uU(2,"Add"),t.qZA(),t.qZA()}}let J=(()=>{class o{constructor(n,e){this.helper=n,this.c_components=e,this.search_text="",this.divisions=[],this.isFocusSearch=!1,this.am_i_division_user=!1,this.adminPermission=!1,this.hasCreateDivisionPermission=!1}watch(){this.divisions$w=this.helper.dealer_division.my_divisions$w().subscribe(n=>this.divisions=n)}unwatch(){var n;null===(n=this.divisions$w)||void 0===n||n.unsubscribe()}ngOnInit(){return(0,l.mG)(this,void 0,void 0,function*(){yield Promise.all([this.get_me(),this.load_my_permissions_only_if_not_loaded()]),this.watch(),this.checkPermission()})}ngOnDestroy(){this.unwatch()}onGlobalClick(){this.searchBar&&(this.isFocusSearch=!1,this.search_text="")}get_me(){var n;return(0,l.mG)(this,void 0,void 0,function*(){const e=yield this.helper.me.get_me();this.am_i_division_user=null!==(n=null==e?void 0:e.is_division_user)&&void 0!==n&&n})}load_my_permissions_only_if_not_loaded(){return(0,l.mG)(this,void 0,void 0,function*(){yield this.helper.permission.load_my_permissions_only_if_not_loaded()})}checkPermission(){this.adminPermission=this.helper.permission.i_have_admin_permission(),this.hasCreateDivisionPermission=this.helper.permission.has("dealer_division_create")}hasPermissionForClearDivision(){var n;return this.adminPermission&&!this.am_i_division_user&&(null===(n=this.divisions)||void 0===n?void 0:n.length)}openDeleteDialog(){this.c_components.dialog.open("dealer_division_clear",null)}openCreateDialog(){this.c_components.dialog.open("dealer_division",null)}setSearchFocus(n){this.isFocusSearch=!0}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(x.W),t.Y36(h.I))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-divisions"]],viewQuery:function(n,e){if(1&n&&t.Gf(A,5),2&n){let i;t.iGM(i=t.CRH())&&(e.searchBar=i)}},hostBindings:function(n,e){1&n&&t.NdJ("mousedown",function(){return e.onGlobalClick()},!1,t.evT)},decls:18,vars:8,consts:[[1,"sub-component"],[1,"widget-area"],[1,"widget"],[1,"header"],[1,"title"],[1,"btn-area"],["class","button button-danger",3,"click",4,"ngIf"],[1,"space"],["class","button button-white",3,"click",4,"ngIf"],[1,"widget-body"],[1,"item"],[1,"search-container",3,"click"],["searchBar",""],[1,"material-icons",2,"padding","6px 10px"],["autocomplete","off","type","text","placeholder","Search...",3,"ngModel","ngModelChange"],[3,"search_text"],[1,"button","button-danger",3,"click"],[1,"btn-inner"],[1,"button","button-white",3,"click"]],template:function(n,e){1&n&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.TgZ(3,"div",3),t.TgZ(4,"div",4),t._uU(5),t.qZA(),t.TgZ(6,"div",5),t.YNc(7,q,3,0,"div",6),t._UZ(8,"div",7),t.YNc(9,U,3,0,"div",8),t.qZA(),t.qZA(),t.TgZ(10,"div",9),t.TgZ(11,"div",10),t.TgZ(12,"div",11,12),t.NdJ("click",function(){return e.setSearchFocus(!0)}),t.TgZ(14,"i",13),t._uU(15,"search"),t.qZA(),t.TgZ(16,"input",14),t.NdJ("ngModelChange",function(c){return e.search_text=c}),t.qZA(),t.qZA(),t.qZA(),t._UZ(17,"c_dtable_division_list_component",15),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(1),t.Q6J("@page",void 0),t.xp6(4),t.hij("Division List (",null!=e.divisions&&e.divisions.length?null==e.divisions?null:e.divisions.length:0,")"),t.xp6(2),t.Q6J("ngIf",e.hasPermissionForClearDivision()),t.xp6(2),t.Q6J("ngIf",e.hasCreateDivisionPermission),t.xp6(3),t.ekj("search-focus",e.isFocusSearch),t.xp6(4),t.Q6J("ngModel",e.search_text),t.xp6(1),t.Q6J("search_text",e.search_text))},directives:[s.O5,p.Fj,p.JJ,p.On,z],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}.input-err[_ngcontent-%COMP%]{outline:none;background-color:#fbd0d6;box-shadow:0 0 0 2px #f1556c}.search-container[_ngcontent-%COMP%]{height:30px}select[_ngcontent-%COMP%]{-webkit-appearance:menulist!important}.icon-btn[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;color:#000000de;transition:.3s}.icon-btn[_ngcontent-%COMP%]:hover{color:#4d4c4c}.icon-btn.active[_ngcontent-%COMP%]{color:#2383e2}.icon-btn.active[_ngcontent-%COMP%]:hover{color:#66b3ff}.icon-btn.warning[_ngcontent-%COMP%]{color:red}.icon-btn.warning[_ngcontent-%COMP%]:hover{color:#ff4d4d}.back-icon[_ngcontent-%COMP%]{display:flex;width:calc(100% - 1px);max-width:1200px;min-width:300px;margin-bottom:8px}.row-item[_ngcontent-%COMP%]{display:flex;margin:12px 0;font-size:14px}.division-tab[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;height:46px}.division-tab[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;position:relative}.division-tab[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:hover{color:#2383e2;cursor:pointer}.division-tab[_ngcontent-%COMP%] .btn-selected[_ngcontent-%COMP%]{color:#2383e2;background:transparent}.division-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:0 32px;text-transform:uppercase;font-size:14px}.division-tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;bottom:0px;width:100%;height:4px;background:#2383e2}.no-description[_ngcontent-%COMP%]{color:#8792a2}"],data:{animation:[u.cN]}}),o})();const N=["actionMenus"];function I(o,r){1&o&&(t.TgZ(0,"div",11),t.O4$(),t.TgZ(1,"svg",12),t._UZ(2,"circle",13),t.qZA(),t.qZA())}function S(o,r){1&o&&(t.TgZ(0,"tr",14),t.TgZ(1,"td"),t._uU(2,"No Data"),t.qZA(),t.qZA())}function $(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"div",24),t.NdJ("click",function(i){t.CHM(n);const c=t.oxw().$implicit,a=t.oxw(2);return i.stopPropagation(),a.openDialogRemoveDataToDivision(c)}),t.TgZ(1,"div",22),t._uU(2,"Exclude from Division"),t.qZA(),t.qZA()}}function E(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"tr",15),t.TgZ(1,"td"),t._uU(2),t.qZA(),t.TgZ(3,"td"),t._uU(4),t.qZA(),t.TgZ(5,"td"),t.TgZ(6,"div",16,17),t.NdJ("mouseenter",function(){const c=t.CHM(n).$implicit;return t.oxw(2).setMorePosition(null==c?null:c.site_id)}),t.TgZ(8,"i",18),t.NdJ("click",function(i){const a=t.CHM(n).$implicit,d=t.oxw(2);return i.stopPropagation(),d.toggleMenu(a)}),t._uU(9,"more_horiz"),t.qZA(),t.TgZ(10,"div",19),t.TgZ(11,"div",20),t.TgZ(12,"div",21),t.NdJ("click",function(i){const a=t.CHM(n).$implicit,d=t.oxw(2);return i.stopPropagation(),d.goToDetailSite(null==a?null:a.site_id)}),t.TgZ(13,"div",22),t._uU(14,"Go to Detail"),t.qZA(),t.qZA(),t.YNc(15,$,3,0,"div",23),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&o){const n=r.$implicit,e=t.oxw(2);t.xp6(2),t.Oqu(null==n?null:n.name),t.xp6(2),t.AsE("",null==n?null:n.address1," ",null!=n&&n.address2?null==n?null:n.address2:"",""),t.xp6(2),t.Q6J("id","target-"+(null==n?null:n.site_id)),t.xp6(2),t.ekj("show",n.isShowMenu),t.xp6(2),t.ekj("visible",n.isShowMenu),t.Q6J("id","target-more-"+n.site_id),t.xp6(5),t.Q6J("ngIf",e.hasPermissionRemoveSiteFormDivision())}}function F(o,r){if(1&o&&(t.TgZ(0,"div",2),t.TgZ(1,"table",3),t.TgZ(2,"colgroup"),t._UZ(3,"col",4),t._UZ(4,"col",5),t._UZ(5,"col",6),t.qZA(),t.TgZ(6,"thead"),t.TgZ(7,"tr"),t.TgZ(8,"th"),t._uU(9,"Name"),t.qZA(),t.TgZ(10,"th"),t._uU(11,"Address"),t.qZA(),t._UZ(12,"th"),t.qZA(),t.qZA(),t.qZA(),t.YNc(13,I,3,0,"div",7),t.TgZ(14,"div",8),t.TgZ(15,"table"),t.TgZ(16,"colgroup"),t._UZ(17,"col",4),t._UZ(18,"col",5),t._UZ(19,"col",6),t.qZA(),t.TgZ(20,"tbody"),t.YNc(21,S,3,0,"tr",9),t.YNc(22,E,16,10,"tr",10),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o){const n=t.oxw();t.xp6(13),t.Q6J("ngIf",n.isLoading),t.xp6(8),t.Q6J("ngIf",!(null!=n.filteredSites&&n.filteredSites.length)),t.xp6(1),t.Q6J("ngForOf",n.filteredSites)}}function j(o,r){1&o&&(t.TgZ(0,"div",11),t.O4$(),t.TgZ(1,"svg",12),t._UZ(2,"circle",13),t.qZA(),t.qZA())}function B(o,r){1&o&&(t.TgZ(0,"div",30),t._uU(1,"Permission Denied"),t.qZA())}function Q(o,r){1&o&&(t.TgZ(0,"tr",14),t._UZ(1,"td"),t.TgZ(2,"td"),t._uU(3,"No Data"),t.qZA(),t.qZA())}function G(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"img",37),t.NdJ("error",function(){return t.CHM(n),t.oxw().$implicit.provider_picture=null}),t.qZA()}if(2&o){const n=t.oxw().$implicit;t.Q6J("src",n.provider_picture,t.LSH)}}function Y(o,r){1&o&&t._UZ(0,"div",38)}function R(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"div",39),t.NdJ("click",function(){const c=t.CHM(n).$implicit;return t.oxw(4).goToDetailDivision(null==c?null:c.division_id)}),t.TgZ(1,"div"),t._uU(2),t.qZA(),t.TgZ(3,"div",40),t._uU(4,"Go to Detail"),t.qZA(),t.qZA()}if(2&o){const n=r.$implicit;t.xp6(2),t.Oqu(null==n?null:n.name)}}function H(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"div",24),t.NdJ("click",function(i){t.CHM(n);const c=t.oxw().$implicit,a=t.oxw(3);return i.stopPropagation(),a.openDialogRemoveDataToDivision(c)}),t.TgZ(1,"div",22),t._uU(2,"Exclude from Division"),t.qZA(),t.qZA()}}function L(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"tr",32),t.TgZ(1,"td"),t.YNc(2,G,1,1,"img",33),t.YNc(3,Y,1,0,"div",34),t.qZA(),t.TgZ(4,"td"),t._uU(5),t.qZA(),t.TgZ(6,"td"),t._uU(7),t.qZA(),t.TgZ(8,"td"),t.TgZ(9,"div",35),t.YNc(10,R,5,1,"div",36),t.qZA(),t.qZA(),t.TgZ(11,"td"),t.TgZ(12,"div",16,17),t.NdJ("mouseenter",function(){const c=t.CHM(n).$implicit;return t.oxw(3).setMorePosition(null==c?null:c.user_id)}),t.TgZ(14,"i",18),t.NdJ("click",function(i){const a=t.CHM(n).$implicit,d=t.oxw(3);return i.stopPropagation(),d.toggleMenu(a)}),t._uU(15,"more_horiz"),t.qZA(),t.TgZ(16,"div",19),t.TgZ(17,"div",20),t.TgZ(18,"div",21),t.NdJ("click",function(i){const a=t.CHM(n).$implicit,d=t.oxw(3);return i.stopPropagation(),d.goToDetailUser(null==a?null:a.user_id)}),t.TgZ(19,"div",22),t._uU(20,"Go to Detail"),t.qZA(),t.qZA(),t.YNc(21,H,3,0,"div",23),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&o){const n=r.$implicit,e=t.oxw(3);t.xp6(2),t.Q6J("ngIf",n.provider_picture),t.xp6(1),t.Q6J("ngIf",!n.provider_picture),t.xp6(2),t.AsE("",null==n?null:n.firstname," ",null!=n&&n.lastname?null==n?null:n.lastname:"",""),t.xp6(2),t.Oqu(null==n?null:n.email),t.xp6(3),t.Q6J("ngForOf",null==n?null:n.divisions),t.xp6(2),t.Q6J("id","target-"+(null==n?null:n.user_id)),t.xp6(2),t.ekj("show",n.isShowMenu),t.xp6(2),t.ekj("visible",n.isShowMenu),t.Q6J("id","target-more-"+n.user_id),t.xp6(5),t.Q6J("ngIf",e.hasDeleteDivisionMemberPermission)}}function X(o,r){if(1&o&&(t.TgZ(0,"div",8),t.TgZ(1,"table"),t.TgZ(2,"colgroup"),t._UZ(3,"col",25),t._UZ(4,"col",26),t._UZ(5,"col",26),t._UZ(6,"col",27),t._UZ(7,"col",6),t.qZA(),t.TgZ(8,"tbody"),t.YNc(9,Q,4,0,"tr",9),t.YNc(10,L,22,13,"tr",31),t.qZA(),t.qZA(),t.qZA()),2&o){const n=t.oxw(2);t.xp6(9),t.Q6J("ngIf",!(null!=n.filteredUsers&&n.filteredUsers.length||n.isLoading)),t.xp6(1),t.Q6J("ngForOf",n.filteredUsers)}}function V(o,r){if(1&o&&(t.TgZ(0,"div",2),t.TgZ(1,"table",3),t.TgZ(2,"colgroup"),t._UZ(3,"col",25),t._UZ(4,"col",26),t._UZ(5,"col",26),t._UZ(6,"col",27),t._UZ(7,"col",6),t.qZA(),t.TgZ(8,"thead"),t.TgZ(9,"tr"),t._UZ(10,"th"),t.TgZ(11,"th"),t._uU(12,"Name"),t.qZA(),t.TgZ(13,"th"),t._uU(14,"Email"),t.qZA(),t.TgZ(15,"th"),t._uU(16,"Part of other Divisions"),t.qZA(),t._UZ(17,"th"),t.qZA(),t.qZA(),t.qZA(),t.YNc(18,j,3,0,"div",7),t.YNc(19,B,2,0,"div",28),t.YNc(20,X,11,2,"div",29),t.qZA()),2&o){const n=t.oxw();t.xp6(18),t.Q6J("ngIf",n.isLoading),t.xp6(1),t.Q6J("ngIf",!n.hasReadDivisionMemberPermission),t.xp6(1),t.Q6J("ngIf",n.hasReadDivisionMemberPermission)}}let W=(()=>{class o{constructor(n,e){this.helper=n,this.c_components=e,this.isLoading=!1,this.users=[],this.filteredUsers=[],this.sites=[],this.filteredSites=[],this.am_i_division_user=!1,this.hasReadDivisionMemberPermission=!1,this.hasDeleteDivisionMemberPermission=!1}ngOnChanges(n){n.search_text&&n.search_text.currentValue!==n.search_text.previousValue&&this.on_search_text_change(),n.tab&&n.tab.currentValue!==n.tab.previousValue&&this.on_search_text_change(),n.divisionId&&n.divisionId.currentValue!==n.divisionId.previousValue&&(this.load_division_members(),this.load_division_sites())}watch(){this.divisions$w=this.helper.dealer_division.divisions$w().subscribe(),this.divisions_members$w=this.helper.dealer_division.divisions_members$w().subscribe(n=>this.on_division_members_change(n)),this.divisions_sites$w=this.helper.sites.division_sites$w().subscribe(n=>this.on_division_sites_change(n))}unwatch(){var n,e,i;null===(n=this.divisions$w)||void 0===n||n.unsubscribe(),null===(e=this.divisions_members$w)||void 0===e||e.unsubscribe(),null===(i=this.divisions_sites$w)||void 0===i||i.unsubscribe()}ngOnInit(){return(0,l.mG)(this,void 0,void 0,function*(){this.watch(),yield Promise.all([this.get_me(),this.load_division_members(),this.load_division_sites()]),this.checkPermission()})}ngOnDestroy(){this.unwatch()}onGlobalClick(n){this.actionMenus&&this.actionMenus.toArray().forEach(i=>{var c,a;null===(c=this.filteredUsers)||void 0===c||c.forEach(d=>{"target-"+(null==d?void 0:d.user_id)==i.nativeElement.id+""&&(i.nativeElement.contains(n.target)||(d.isShowMenu=!1))}),null===(a=this.filteredSites)||void 0===a||a.forEach(d=>{"target-"+(null==d?void 0:d.site_id)==i.nativeElement.id+""&&(i.nativeElement.contains(n.target)||(d.isShowMenu=!1))})})}on_search_text_change(){this.update_filteredTableData()}on_tab_change(){this.update_filteredTableData()}on_division_members_change(n){this.isLoading=!0,this.users=n,this.update_filteredTableData(),this.isLoading=!1}on_division_sites_change(n){this.isLoading=!0,this.sites=n,this.update_filteredTableData(),this.isLoading=!1}get_me(){var n;return(0,l.mG)(this,void 0,void 0,function*(){const e=yield this.helper.me.get_me();this.am_i_division_user=null!==(n=null==e?void 0:e.is_division_user)&&void 0!==n&&n})}load_my_divisions(){return(0,l.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.helper.dealer_division.load_my_divisions(),this.isLoading=!1})}load_division_members(){return(0,l.mG)(this,void 0,void 0,function*(){yield this.helper.dealer_division.load_division_members(this.divisionId)})}load_division_sites(){return(0,l.mG)(this,void 0,void 0,function*(){yield this.helper.sites.load_division_sites(this.divisionId)})}checkPermission(){this.hasReadDivisionMemberPermission=this.helper.permission.has("dealer_division_member_read"),this.hasDeleteDivisionMemberPermission=this.helper.permission.has("dealer_division_member_delete")}update_filteredTableData(){return"site"===this.tab?this.update_filteredSite():"user"===this.tab?this.update_filteredUser():void 0}update_filteredSite(){if(!(0,C.isString)(this.search_text))return this.filteredSites=this.sites;const n=this.search_text.toLowerCase();if(n.length<2)return this.filteredSites=this.sites;this.filteredSites=this.sites.filter(e=>[e.name,e.address1,e.address2].join("").toLowerCase().includes(n))}update_filteredUser(){if(!(0,C.isString)(this.search_text))return this.filteredUsers=this.users;const n=this.search_text.toLowerCase();if(n.length<2)return this.filteredUsers=this.users;this.filteredUsers=this.users.filter(e=>{const i=null==e?void 0:e.divisions.map(c=>null==c?void 0:c.name);return[e.firstname,e.lastname,e.email,...i].join("").toLowerCase().includes(n)})}goToDetailDivision(n){this.helper.router.navigate_to(`/settings/divisions/${n}`),this.load_my_divisions()}goToDetailUser(n){this.helper.router.navigate_to("/settings/users",{user:n})}goToDetailSite(n){this.helper.router.navigate_to("/customers",{id:n})}setMorePosition(n){const e=document.documentElement;let i=document.getElementById("target-"+n),c=document.getElementById("target-more-"+n),a=i.getBoundingClientRect();const _=a.top-22;c.style.right=e.clientWidth-a.right+5+"px",c.style.top=_+"px"}toggleMenu(n){n.isShowMenu=!n.isShowMenu}hasPermissionRemoveSiteFormDivision(){return this.hasDeleteDivisionMemberPermission&&!this.am_i_division_user}openDialogRemoveDataToDivision(n){"site"===this.tab?this.dialogRemoveSitesToDivision(n):this.dialogRemoveUserToDivision(n)}dialogRemoveSitesToDivision(n){this.c_components.dialog.open("warning",{header:"Are you sure you want to exclude this site?",contents:`\n <p>Name : ${null==n?void 0:n.name}</b></p>\n `,submit_btn:"Exclude",submit_class:["button-danger"],icon:"warning",isConfirm:!1,color:"orange",submit_func:()=>{this.removeSiteToDivision(n)}})}dialogRemoveUserToDivision(n){this.c_components.dialog.open("warning",{header:"Are you sure you want to exclude this user?",contents:`\n <p>Name : ${null==n?void 0:n.firstname} ${(null==n?void 0:n.lastname)?null==n?void 0:n.lastname:""}</b></p>\n `,submit_btn:"Exclude",submit_class:["button-danger"],icon:"warning",isConfirm:!1,color:"orange",submit_func:()=>{this.removeUserToDivision(n)}})}removeUserToDivision(n){return(0,l.mG)(this,void 0,void 0,function*(){yield this.helper.dealer_division.delete_user_to_division(this.divisionId,n.user_id),yield this.load_division_members()})}convertToGlobalUser(n){return(0,l.mG)(this,void 0,void 0,function*(){yield this.helper.dealer_member.update_member(n,{is_division_user:0})})}removeSiteToDivision(n){return(0,l.mG)(this,void 0,void 0,function*(){yield this.helper.dealer_division.delete_site_to_division(n.site_id),yield this.load_division_sites()})}openConfirmDialog(n="",e="",i="done",c="green",a=!1){this.c_components.dialog.open("warning",{header:n,contents:`\n <p>${e}</b></p>\n `,submit_btn:"OK",submit_class:["button-primary"],icon:i,isConfirm:!0,color:c,submit_func:()=>{a&&this.load_division_members()}})}openErrorDialog(n,e){let i="failed.";n.error&&n.error.message&&(i=n.error.message),n._body&&(i=JSON.parse(n._body).message),setTimeout(()=>{this.openConfirmDialog(e,i,"warning","orange")},200)}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(x.W),t.Y36(h.I))},o.\u0275cmp=t.Xpm({type:o,selectors:[["c_dtable_division_detail_component"]],viewQuery:function(n,e){if(1&n&&t.Gf(N,5,t.SBq),2&n){let i;t.iGM(i=t.CRH())&&(e.actionMenus=i)}},hostBindings:function(n,e){1&n&&t.NdJ("mousedown",function(c){return e.onGlobalClick(c)},!1,t.evT)},inputs:{search_text:"search_text",tab:"tab",divisionId:"divisionId"},features:[t.TTD],decls:3,vars:2,consts:[[1,"item",2,"height","calc(100vh - 450px)","position","relative"],["class","table-container",4,"ngIf"],[1,"table-container"],[1,"table-header"],["width","25%"],["width","70%"],["width","5%"],["class","loader absolute",4,"ngIf"],[1,"table-body"],["style","text-align: center; color: #999;",4,"ngIf"],["class","has-child",4,"ngFor","ngForOf"],[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"],[2,"text-align","center","color","#999"],[1,"has-child"],[1,"more-content","v-center",3,"id","mouseenter"],["actionMenus",""],[1,"material-icons-outlined","more-icon",3,"click"],[1,"more","detail-more",3,"id"],[1,"btn-area",2,"justify-content","flex-end","flex-direction","column"],[1,"text-button","mb-7",3,"click"],[1,"btn-inner"],["class","text-button text-button-danger",3,"click",4,"ngIf"],[1,"text-button","text-button-danger",3,"click"],["width","6%"],["width","20%"],["width","49%"],["style","font-size: 14px; margin: 8px",4,"ngIf"],["class","table-body",4,"ngIf"],[2,"font-size","14px","margin","8px"],["class","has-child","style","position: relative",4,"ngFor","ngForOf"],[1,"has-child",2,"position","relative"],[3,"src","error",4,"ngIf"],["class","no-face",4,"ngIf"],[1,"flex","v-center",2,"gap","8px"],["class","user-division-tag",3,"click",4,"ngFor","ngForOf"],[3,"src","error"],[1,"no-face"],[1,"user-division-tag",3,"click"],[1,"division-tooltip"]],template:function(n,e){1&n&&(t.TgZ(0,"div",0),t.YNc(1,F,23,3,"div",1),t.YNc(2,V,21,3,"div",1),t.qZA()),2&n&&(t.xp6(1),t.Q6J("ngIf","site"===e.tab),t.xp6(1),t.Q6J("ngIf","user"===e.tab))},directives:[s.O5,s.sg],styles:['table[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:50%;width:35px;height:35px}table.table-header[_ngcontent-%COMP%]:after{border-collapse:separate}.table-container[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column;overflow-y:hidden}.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;padding:0 6px}.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}.has-child[_ngcontent-%COMP%]{cursor:pointer}.has-child[_ngcontent-%COMP%]:hover{background:#f0f0f0}.table-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{height:initial;align-items:center}.table-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.table-container[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px;color:#56657bde;text-transform:uppercase;text-align:left;font-size:13px;font-weight:normal}.table-container[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px rgba(0,0,0,.1) solid}.table-container[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child{border-bottom:none}.table-container[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:14px;color:#000000de;padding:7px;text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap;max-width:1vw}.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}.ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap}',".icon-primary[_ngcontent-%COMP%]{font-size:23px;color:#2383e2!important}.icon-primary[_ngcontent-%COMP%]:hover{color:#7bf!important}.icon-warning[_ngcontent-%COMP%]{font-size:23px;color:#dc143c!important}.icon-warning[_ngcontent-%COMP%]:hover{color:#fc3f65!important}.no-face[_ngcontent-%COMP%]{width:35px;height:35px;min-width:35px;min-height:35px;margin-right:0}.user-division-tag[_ngcontent-%COMP%]{padding:4px 8px;background:#e3e8ee;border-radius:4px;color:#55647b}.user-division-tag[_ngcontent-%COMP%]:hover .division-tooltip[_ngcontent-%COMP%]{visibility:visible;opacity:1}.user-division-tag[_ngcontent-%COMP%] .division-tooltip[_ngcontent-%COMP%]{visibility:hidden;width:70px;background-color:#0009;color:#fff;text-align:center;padding:5px 0;border-radius:6px;font-size:12px;position:absolute;z-index:1;top:-16px;margin-left:-10px;opacity:0;transition:opacity .3s}.text-button[_ngcontent-%COMP%]{padding:4px 8px}.more-content[_ngcontent-%COMP%]{position:relative;justify-content:flex-end}.more-content[_ngcontent-%COMP%] .more-icon[_ngcontent-%COMP%]{cursor:pointer;padding:0 4px;border-radius:4px;margin-right:10px;font-size:18px;color:#0009;-webkit-user-select:none;user-select:none}.more-content[_ngcontent-%COMP%] .more-icon[_ngcontent-%COMP%]:hover, .more-content[_ngcontent-%COMP%] .more-icon.show[_ngcontent-%COMP%]{box-shadow:0 0 4px gray}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{visibility:hidden;opacity:0;height:-moz-fit-content;height:fit-content;background-color:#fff;color:#000000de;padding:0;box-sizing:border-box;border-radius:6px;font-size:14px;box-shadow:0 0 30px #0000004d;cursor:pointer;position:absolute;z-index:100;bottom:32px;right:-8px;margin-left:-38px;transition:opacity .3s}.more-content[_ngcontent-%COMP%] .more.detail-more[_ngcontent-%COMP%]{position:fixed;bottom:initial;right:initial}.more-content[_ngcontent-%COMP%] .more.show[_ngcontent-%COMP%]{visibility:visible;opacity:1}.more-content[_ngcontent-%COMP%] .more.visible[_ngcontent-%COMP%]{visibility:visible;opacity:1}.row-item[_ngcontent-%COMP%]{display:flex;margin:12px 0;font-size:14px}.division-tab[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;height:40px}.division-tab[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;position:relative}.division-tab[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:hover{color:#2383e2;cursor:pointer}.division-tab[_ngcontent-%COMP%] .btn-selected[_ngcontent-%COMP%]{color:#2383e2;background:transparent}.division-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:0 32px;text-transform:uppercase;font-size:14px}.division-tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;bottom:0px;width:100%;height:4px;background:#2383e2}"]}),o})();const K=["searchBar"];function tt(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"div",28),t.NdJ("click",function(){return t.CHM(n),t.oxw().openEditDialog()}),t.TgZ(1,"div",5),t._uU(2,"Edit"),t.qZA(),t.qZA()}}function nt(o,r){1&o&&t._UZ(0,"div",32)}function et(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"div",29),t.NdJ("click",function(){const c=t.CHM(n).$implicit;return t.oxw().moveToTab(c)}),t.TgZ(1,"div",30),t._uU(2),t.qZA(),t.YNc(3,nt,1,0,"div",31),t.qZA()}if(2&o){const n=r.$implicit,e=t.oxw();t.ekj("btn-selected",e.tab==n),t.xp6(2),t.Oqu(n),t.xp6(1),t.Q6J("ngIf",e.tab==n)}}function ot(o,r){if(1&o){const n=t.EpF();t.TgZ(0,"div",28),t.NdJ("click",function(){return t.CHM(n),t.oxw().openAddDialog()}),t.TgZ(1,"div",5),t._uU(2,"Add"),t.qZA(),t.qZA()}}const ct=f.Bz.forChild([{path:"",component:J},{path:":id",component:(()=>{class o{constructor(n,e,i){this.helper=n,this.c_components=e,this.route=i,this.search_text="",this.divisions=[],this.tabList=["site","user"],this.tab=this.tabList[0],this.isFocusSearch=!1,this.am_i_division_user=!1,this.hasUpdateDivisionPermission=!1,this.hasCreateDivisionMemberPermission=!1,this.hasReadDivisionMemberPermission=!1}watch(){this.divisions$w=this.helper.dealer_division.my_divisions$w().subscribe(n=>this.loadDivisionData(n))}unwatch(){var n;null===(n=this.divisions$w)||void 0===n||n.unsubscribe()}ngOnInit(){return(0,l.mG)(this,void 0,void 0,function*(){this.watch(),yield Promise.all([this.get_me(),this.load_data()]),this.checkPermission()})}ngOnDestroy(){this.unwatch()}onGlobalClick(){this.searchBar&&(this.isFocusSearch=!1,this.search_text="")}loadDivisionData(n){this.route.paramMap.subscribe(e=>{this.divisionId=+e.get("id")}),n&&(this.division=null==n?void 0:n.find(e=>e.id===this.divisionId))}get_me(){var n;return(0,l.mG)(this,void 0,void 0,function*(){const e=yield this.helper.me.get_me();this.am_i_division_user=null!==(n=null==e?void 0:e.is_division_user)&&void 0!==n&&n})}load_data(){return(0,l.mG)(this,void 0,void 0,function*(){yield this.helper.dealer_division.load_my_divisions()})}checkPermission(){this.hasUpdateDivisionPermission=this.helper.permission.has("dealer_division_update"),this.hasCreateDivisionMemberPermission=this.helper.permission.has("dealer_division_member_create"),this.hasReadDivisionMemberPermission=this.helper.permission.has("dealer_division_member_read")}goToList(){this.helper.router.navigate_to("/settings/divisions")}moveToTab(n){this.tab=n,this.search_text=""}hasPermissionAddSiteOrUserPermission(){return"user"===this.tab?this.hasCreateDivisionMemberPermission:"site"===this.tab?!this.am_i_division_user:void 0}openEditDialog(){this.c_components.dialog.open("dealer_division",this.divisionId)}openAddDialog(){this.c_components.dialog.open("site"===this.tab?"dealer_division_add_sites":"dealer_division_add_users",this.divisionId)}setSearchFocus(){this.isFocusSearch=!0}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(x.W),t.Y36(h.I),t.Y36(f.gz))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-division-detail"]],viewQuery:function(n,e){if(1&n&&t.Gf(K,5),2&n){let i;t.iGM(i=t.CRH())&&(e.searchBar=i)}},hostBindings:function(n,e){1&n&&t.NdJ("mousedown",function(){return e.onGlobalClick()},!1,t.evT)},decls:44,vars:14,consts:[[1,"sub-component"],[1,"widget-area","v-center",2,"flex-direction","column","overflow","hidden","min-width","700px"],[1,"back-icon"],[1,"btn-area",3,"click"],[1,"button","button-white"],[1,"btn-inner"],[1,"material-icons",2,"font-size","16px"],[1,"widget",2,"flex","none","width","100%","max-width","1200px"],[1,"header"],[1,"title"],[1,"btn-area"],["class","button button-white",3,"click",4,"ngIf"],[1,"widget-body"],[1,"row-item"],[1,"f-1","label"],[1,"f-8"],[1,"widget",2,"height","calc(100% - 500px)","width","100%","max-width","1200px"],[1,"widget-body",2,"height","calc(100% - 92px)"],[1,"division-tab"],["class","btn",3,"btn-selected","click",4,"ngFor","ngForOf"],[1,"space"],[1,"flex","v-center",2,"gap","8px"],[1,"search-container",3,"click"],["searchBar",""],[1,"material-icons",2,"padding","6px 10px"],["autocomplete","off","type","text","placeholder","Search...",3,"ngModel","ngModelChange"],[1,"btn-area",2,"height","fit-content"],[3,"divisionId","search_text","tab"],[1,"button","button-white",3,"click"],[1,"btn",3,"click"],[1,"tab-title"],["class","tab-selected-bar",4,"ngIf"],[1,"tab-selected-bar"]],template:function(n,e){1&n&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.TgZ(3,"div",3),t.NdJ("click",function(){return e.goToList()}),t.TgZ(4,"div",4),t.TgZ(5,"div",5),t.TgZ(6,"i",6),t._uU(7,"arrow_back"),t.qZA(),t.TgZ(8,"span"),t._uU(9,"Back to List"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,"div",7),t.TgZ(11,"div",8),t.TgZ(12,"div",9),t._uU(13,"Information"),t.qZA(),t.TgZ(14,"div",10),t.YNc(15,tt,3,0,"div",11),t.qZA(),t.qZA(),t.TgZ(16,"div",12),t.TgZ(17,"div",13),t.TgZ(18,"div",14),t._uU(19,"Name "),t.qZA(),t.TgZ(20,"div",15),t._uU(21),t.qZA(),t.qZA(),t.TgZ(22,"div",13),t.TgZ(23,"div",14),t._uU(24,"Description"),t.qZA(),t.TgZ(25,"div",15),t._uU(26),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(27,"div",16),t.TgZ(28,"div",8),t.TgZ(29,"div",9),t._uU(30,"Division Detail"),t.qZA(),t.qZA(),t.TgZ(31,"div",17),t.TgZ(32,"div",18),t.YNc(33,et,4,4,"div",19),t._UZ(34,"div",20),t.TgZ(35,"div",21),t.TgZ(36,"div",22,23),t.NdJ("click",function(){return e.setSearchFocus()}),t.TgZ(38,"i",24),t._uU(39,"search"),t.qZA(),t.TgZ(40,"input",25),t.NdJ("ngModelChange",function(c){return e.search_text=c}),t.qZA(),t.qZA(),t.TgZ(41,"div",26),t.YNc(42,ot,3,0,"div",11),t.qZA(),t.qZA(),t.qZA(),t._UZ(43,"c_dtable_division_detail_component",27),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(1),t.Q6J("@page",void 0),t.xp6(14),t.Q6J("ngIf",e.hasUpdateDivisionPermission),t.xp6(6),t.Oqu(null==e.division?null:e.division.name),t.xp6(4),t.ekj("no-description",!(null!=e.division&&e.division.description)),t.xp6(1),t.Oqu(null!=e.division&&e.division.description?null==e.division?null:e.division.description:"No Description"),t.xp6(7),t.Q6J("ngForOf",e.tabList),t.xp6(3),t.ekj("search-focus",e.isFocusSearch),t.xp6(4),t.Q6J("ngModel",e.search_text),t.xp6(2),t.Q6J("ngIf",e.hasPermissionAddSiteOrUserPermission()),t.xp6(1),t.Q6J("divisionId",e.divisionId)("search_text",e.search_text)("tab",e.tab))},directives:[s.O5,s.sg,p.Fj,p.JJ,p.On,W],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}.input-err[_ngcontent-%COMP%]{outline:none;background-color:#fbd0d6;box-shadow:0 0 0 2px #f1556c}.search-container[_ngcontent-%COMP%]{height:30px}select[_ngcontent-%COMP%]{-webkit-appearance:menulist!important}.icon-btn[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;color:#000000de;transition:.3s}.icon-btn[_ngcontent-%COMP%]:hover{color:#4d4c4c}.icon-btn.active[_ngcontent-%COMP%]{color:#2383e2}.icon-btn.active[_ngcontent-%COMP%]:hover{color:#66b3ff}.icon-btn.warning[_ngcontent-%COMP%]{color:red}.icon-btn.warning[_ngcontent-%COMP%]:hover{color:#ff4d4d}.back-icon[_ngcontent-%COMP%]{display:flex;width:calc(100% - 1px);max-width:1200px;min-width:300px;margin-bottom:8px}.row-item[_ngcontent-%COMP%]{display:flex;margin:12px 0;font-size:14px}.division-tab[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;height:46px}.division-tab[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;position:relative}.division-tab[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:hover{color:#2383e2;cursor:pointer}.division-tab[_ngcontent-%COMP%] .btn-selected[_ngcontent-%COMP%]{color:#2383e2;background:transparent}.division-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:0 32px;text-transform:uppercase;font-size:14px}.division-tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;bottom:0px;width:100%;height:4px;background:#2383e2}.no-description[_ngcontent-%COMP%]{color:#8792a2}"],data:{animation:[u.cN]}}),o})()}]);var rt=g(56447),st=g(28774);let at=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[s.ez,p.u5,ct,rt.q,st.U]]}),o})()}}]);