-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1311.feed9e1c9efdefd31f7f.js
1 lines (1 loc) · 60.1 KB
/
1311.feed9e1c9efdefd31f7f.js
1
"use strict";(self.webpackChunkchekt_web_wcs=self.webpackChunkchekt_web_wcs||[]).push([[1311],{32942:(E,y,c)=>{c.d(y,{f:()=>k});var u=c(61855),r=c(42741),w=c(59053),T=c(43734),A=c(16274);const x=["googleMap"];function n(p,P){if(1&p&&(r.TgZ(0,"div"),r._UZ(1,"img",2),r.qZA()),2&p){const l=r.oxw();r.xp6(1),r.Q6J("src",l.staticMapUrl,r.LSH)}}function q(p,P){1&p&&r._UZ(0,"div",3,4)}let k=(()=>{class p{constructor(l){this.apiService=l,this.width=600,this.height=300,this.isDynamicView=!1,this.changePosition=new r.vpe}ngAfterViewInit(){return(0,u.mG)(this,void 0,void 0,function*(){yield w.Z.tool.sleep(100),this.isDynamicView?this.updateMap():this.loadStaticMap()})}ngOnChanges(l){this.isDynamicView?this.updateMap():this.loadStaticMap()}loadStaticMap(){const l=Math.floor(this.width),d=Math.floor(this.height);this.staticMapUrl=`https://maps.googleapis.com/maps/api/staticmap?center=${this.lat},${this.lng}&zoom=16&size=${l}x${d}&scale=2&markers=color:red|${this.lat},${this.lng}&key=${this.apiService.googleApiKey}`}initializeDynamicMap(){var l;return(0,u.mG)(this,void 0,void 0,function*(){const d=new google.maps.LatLng(this.lat,this.lng),M={center:d,zoom:16,mapTypeId:google.maps.MapTypeId.ROADMAP,disableDefaultUI:!0};yield w.Z.tool.sleep(100),(null===(l=this.googleMapElement)||void 0===l?void 0:l.nativeElement)&&(this.map=new google.maps.Map(this.googleMapElement.nativeElement,M),this.map.setTilt(45),this.marker=new google.maps.Marker({position:d,draggable:!0,map:this.map}),this.marker.addListener("dragend",z=>{this.handleEvent(z)}))})}updateMap(){return(0,u.mG)(this,void 0,void 0,function*(){this.map||(yield this.initializeDynamicMap());const l=new google.maps.LatLng(this.lat,this.lng);this.map.setCenter(l),this.marker.setPosition(l)})}handleEvent(l){let d=l.latLng.lat(),M=l.latLng.lng();this.changePosition.emit({lat:d,lng:M})}}return p.\u0275fac=function(l){return new(l||p)(r.Y36(T.s))},p.\u0275cmp=r.Xpm({type:p,selectors:[["c_map"]],viewQuery:function(l,d){if(1&l&&r.Gf(x,5),2&l){let M;r.iGM(M=r.CRH())&&(d.googleMapElement=M.first)}},inputs:{lat:"lat",lng:"lng",width:"width",height:"height",isDynamicView:"isDynamicView"},outputs:{changePosition:"changePosition"},features:[r.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["style","width: 100%;height: 100%; min-height: 300px",4,"ngIf"],["alt","Static Google Map",2,"width","100%","height","100%",3,"src"],[2,"width","100%","height","100%","min-height","300px"],["googleMap",""]],template:function(l,d){1&l&&(r.YNc(0,n,2,1,"div",0),r.YNc(1,q,2,0,"div",1)),2&l&&(r.Q6J("ngIf",!d.isDynamicView),r.xp6(1),r.Q6J("ngIf",d.isDynamicView))},directives:[A.O5],encapsulation:2,changeDetection:0}),p})()},25229:(E,y,c)=>{c.d(y,{Z:()=>x});var u=c(46243),w=c(76052),T=c.n(w),A=c(49951);const x={_:u,moment:T(),tool:A.Z}},51311:(E,y,c)=>{c.r(y),c.d(y,{ProfilesModule:()=>$});var u=c(16274),r=c(93324),w=c(29535),T=c(61855),A=c(72898),x=c(25229),n=c(42741),q=c(27787),k=c(7611),p=c(31887),P=c(43734),l=c(21929),d=c(32942);const M=["logoinput"];function z(a,g){if(1&a){const t=n.EpF();n.ynx(0),n.TgZ(1,"div",28),n.TgZ(2,"div",29),n.NdJ("click",function(){return n.CHM(t),n.oxw().isEditMode=!0}),n.TgZ(3,"div",30),n._uU(4,"Edit"),n.qZA(),n.qZA(),n.qZA(),n.BQk()}}function D(a,g){if(1&a){const t=n.EpF();n.ynx(0),n.TgZ(1,"div",28),n.TgZ(2,"div",29),n.NdJ("click",function(){return n.CHM(t),n.oxw().applyChanges()}),n.TgZ(3,"div",30),n._uU(4,"Save"),n.qZA(),n.qZA(),n.qZA(),n.TgZ(5,"div",28),n.TgZ(6,"div",31),n.NdJ("click",function(){return n.CHM(t),n.oxw().onClickCancel()}),n.TgZ(7,"div",30),n._uU(8,"Cancel"),n.qZA(),n.qZA(),n.qZA(),n.BQk()}if(2&a){const t=n.oxw();n.xp6(2),n.ekj("disabled",!t.checkChanges())}}function I(a,g){if(1&a&&(n.ynx(0),n.TgZ(1,"div",10),n.TgZ(2,"div",32),n.TgZ(3,"div",11),n._uU(4,"Legal Company Name"),n.qZA(),n.TgZ(5,"div",33),n._uU(6),n.qZA(),n.qZA(),n.qZA(),n.TgZ(7,"div",10),n.TgZ(8,"div",32),n.TgZ(9,"div",11),n._uU(10,"Company Name"),n.qZA(),n.TgZ(11,"div",33),n._uU(12),n.qZA(),n.qZA(),n.qZA(),n.TgZ(13,"div",10),n.TgZ(14,"div",32),n.TgZ(15,"div",11),n._uU(16,"Company Address"),n.qZA(),n.TgZ(17,"div",34),n.TgZ(18,"div",33),n._uU(19),n.qZA(),n.TgZ(20,"div",33),n._uU(21),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.TgZ(22,"div",10),n.TgZ(23,"div",32),n.TgZ(24,"div",11),n._uU(25,"Company Contact"),n.qZA(),n.TgZ(26,"div",35),n.TgZ(27,"div",36),n.TgZ(28,"i",37),n._uU(29,"email"),n.qZA(),n.TgZ(30,"div",33),n._uU(31),n.qZA(),n.qZA(),n.TgZ(32,"div",36),n.TgZ(33,"i",37),n._uU(34,"phone"),n.qZA(),n.TgZ(35,"div",33),n._uU(36),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.TgZ(37,"div",38),n.TgZ(38,"div",32),n.TgZ(39,"div",39),n._uU(40,"This information will be displayed to customers in the Mobile App and the app.chekt.com portal."),n.qZA(),n.qZA(),n.qZA(),n.TgZ(41,"div",10),n.TgZ(42,"div",32),n.TgZ(43,"div",11),n._uU(44,"Sales Contacts"),n.qZA(),n.TgZ(45,"div",35),n.TgZ(46,"div",36),n.TgZ(47,"i",37),n._uU(48,"account_circle"),n.qZA(),n.TgZ(49,"div",33),n._uU(50),n.qZA(),n.qZA(),n.TgZ(51,"div",36),n.TgZ(52,"i",37),n._uU(53,"email"),n.qZA(),n.TgZ(54,"div",33),n._uU(55),n.qZA(),n.qZA(),n.TgZ(56,"div",36),n.TgZ(57,"i",37),n._uU(58,"phone"),n.qZA(),n.TgZ(59,"div",33),n._uU(60),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.TgZ(61,"div",10),n.TgZ(62,"div",32),n.TgZ(63,"div",11),n._uU(64,"Customer Service Contacts"),n.qZA(),n.TgZ(65,"div",35),n.TgZ(66,"div",36),n.TgZ(67,"i",37),n._uU(68,"account_circle"),n.qZA(),n.TgZ(69,"div",33),n._uU(70),n.qZA(),n.qZA(),n.TgZ(71,"div",36),n.TgZ(72,"i",37),n._uU(73,"email"),n.qZA(),n.TgZ(74,"div",33),n._uU(75),n.qZA(),n.qZA(),n.TgZ(76,"div",36),n.TgZ(77,"i",37),n._uU(78,"phone"),n.qZA(),n.TgZ(79,"div",33),n._uU(80),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&a){const t=n.oxw();let e;n.xp6(6),n.Oqu(null!==(e=t.dealer.legal_company_name)&&void 0!==e?e:t.dealer.company_name),n.xp6(6),n.Oqu(t.dealer.company_name),n.xp6(7),n.Oqu(t.dealer.company_address1),n.xp6(2),n.Oqu(t.dealer.company_address2),n.xp6(10),n.Oqu(t.dealer.company_email),n.xp6(5),n.Oqu(t.dealer.company_phone),n.xp6(14),n.Oqu((null==t.dealer.company_sales_contact?null:t.dealer.company_sales_contact.name)||"-"),n.xp6(5),n.Oqu((null==t.dealer.company_sales_contact?null:t.dealer.company_sales_contact.email)||"-"),n.xp6(5),n.Oqu((null==t.dealer.company_sales_contact?null:t.dealer.company_sales_contact.phone)||"-"),n.xp6(10),n.Oqu((null==t.dealer.company_support_contact?null:t.dealer.company_support_contact.name)||"-"),n.xp6(5),n.Oqu((null==t.dealer.company_support_contact?null:t.dealer.company_support_contact.email)||"-"),n.xp6(5),n.Oqu((null==t.dealer.company_support_contact?null:t.dealer.company_support_contact.phone)||"-")}}function L(a,g){if(1&a){const t=n.EpF();n.ynx(0),n.TgZ(1,"div",10),n.TgZ(2,"div",32),n.TgZ(3,"div",11),n._uU(4,"Legal Company Name"),n.qZA(),n.TgZ(5,"div",33),n._uU(6),n.qZA(),n.qZA(),n.qZA(),n.TgZ(7,"div",10),n.TgZ(8,"div",32),n.TgZ(9,"div",11),n._uU(10,"Company Name for Customers"),n.qZA(),n.TgZ(11,"input",40),n.NdJ("ngModelChange",function(o){return n.CHM(t),n.oxw().info.company_name=o}),n.qZA(),n.qZA(),n.qZA(),n.TgZ(12,"div",10),n.TgZ(13,"div",32),n.TgZ(14,"div",11),n._uU(15,"Company Address"),n.qZA(),n.TgZ(16,"div",34),n.TgZ(17,"input",41),n.NdJ("ngModelChange",function(o){return n.CHM(t),n.oxw().info.company_address1=o})("focus",function(o){n.CHM(t);const i=n.oxw();return i.enableGoogleAddressSearch(o.target,i.info)})("input",function(){return n.CHM(t),n.oxw().checkAddress()}),n.qZA(),n.TgZ(18,"input",42),n.NdJ("ngModelChange",function(o){return n.CHM(t),n.oxw().info.company_address2=o}),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.TgZ(19,"div",10),n.TgZ(20,"div",32),n.TgZ(21,"div",11),n._uU(22,"Company Contact"),n.qZA(),n.TgZ(23,"div",35),n.TgZ(24,"div",36),n.TgZ(25,"i",37),n._uU(26,"email"),n.qZA(),n.TgZ(27,"input",43),n.NdJ("ngModelChange",function(o){return n.CHM(t),n.oxw().info.company_email=o}),n.qZA(),n.qZA(),n.TgZ(28,"div",36),n.TgZ(29,"i",37),n._uU(30,"phone"),n.qZA(),n.TgZ(31,"input",44),n.NdJ("ngModelChange",function(o){return n.CHM(t),n.oxw().info.company_phone=o}),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.TgZ(32,"div",45),n.TgZ(33,"div",32),n.TgZ(34,"div",39),n._uU(35,"Please enter the email and phone number of the Sales and Customer Service contact for your company."),n._UZ(36,"br"),n._uU(37,"This information will be displayed to customers in the Mobile App and the app.chekt.com portal."),n.qZA(),n.qZA(),n.qZA(),n.TgZ(38,"div",10),n.TgZ(39,"div",32),n.TgZ(40,"div",11),n._uU(41,"Sales Contacts"),n.qZA(),n.TgZ(42,"div",35),n.TgZ(43,"div",36),n.TgZ(44,"i",37),n._uU(45,"account_circle"),n.qZA(),n.TgZ(46,"input",46),n.NdJ("ngModelChange",function(o){return n.CHM(t),n.oxw().info.company_sales_contact.name=o}),n.qZA(),n.qZA(),n.TgZ(47,"div",36),n.TgZ(48,"i",37),n._uU(49,"email"),n.qZA(),n.TgZ(50,"input",47),n.NdJ("ngModelChange",function(o){return n.CHM(t),n.oxw().info.company_sales_contact.email=o}),n.qZA(),n.qZA(),n.TgZ(51,"div",36),n.TgZ(52,"i",37),n._uU(53,"phone"),n.qZA(),n.TgZ(54,"input",48),n.NdJ("ngModelChange",function(o){return n.CHM(t),n.oxw().info.company_sales_contact.phone=o}),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.TgZ(55,"div",10),n.TgZ(56,"div",32),n.TgZ(57,"div",11),n._uU(58,"Customer Service Contacts"),n.qZA(),n.TgZ(59,"div",35),n.TgZ(60,"div",36),n.TgZ(61,"i",37),n._uU(62,"account_circle"),n.qZA(),n.TgZ(63,"input",49),n.NdJ("ngModelChange",function(o){return n.CHM(t),n.oxw().info.company_support_contact.name=o}),n.qZA(),n.qZA(),n.TgZ(64,"div",36),n.TgZ(65,"i",37),n._uU(66,"email"),n.qZA(),n.TgZ(67,"input",50),n.NdJ("ngModelChange",function(o){return n.CHM(t),n.oxw().info.company_support_contact.email=o}),n.qZA(),n.qZA(),n.TgZ(68,"div",36),n.TgZ(69,"i",37),n._uU(70,"phone"),n.qZA(),n.TgZ(71,"input",50),n.NdJ("ngModelChange",function(o){return n.CHM(t),n.oxw().info.company_support_contact.phone=o}),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.BQk()}if(2&a){const t=n.oxw();let e;n.xp6(6),n.Oqu(null!==(e=t.info.legal_company_name)&&void 0!==e?e:t.info.company_name),n.xp6(5),n.ekj("input-err",!(null!=t.info.company_name&&t.info.company_name.trim())),n.Q6J("ngModel",t.info.company_name),n.xp6(6),n.ekj("input-err",t.info.addressErr),n.Q6J("ngModel",t.info.company_address1),n.xp6(1),n.Q6J("ngModel",t.info.company_address2),n.xp6(9),n.ekj("input-err",!(null!=t.info.company_email&&t.info.company_email.trim())),n.Q6J("ngModel",t.info.company_email),n.xp6(4),n.ekj("input-err",!(null!=t.info.company_phone&&t.info.company_phone.trim())),n.Q6J("ngModel",t.info.company_phone),n.xp6(15),n.Q6J("ngModel",t.info.company_sales_contact.name),n.xp6(4),n.Q6J("ngModel",t.info.company_sales_contact.email),n.xp6(4),n.Q6J("ngModel",t.info.company_sales_contact.phone),n.xp6(9),n.Q6J("ngModel",t.info.company_support_contact.name),n.xp6(4),n.Q6J("ngModel",t.info.company_support_contact.email),n.xp6(4),n.Q6J("ngModel",t.info.company_support_contact.phone)}}function S(a,g){if(1&a&&n._UZ(0,"img",51),2&a){const t=n.oxw();n.Q6J("src",t.me.logo_url,n.LSH)}}function J(a,g){1&a&&(n.TgZ(0,"div"),n._uU(1,"No logo"),n.qZA())}function N(a,g){if(1&a){const t=n.EpF();n.TgZ(0,"c_map",52),n.NdJ("changePosition",function(o){return n.CHM(t),n.oxw().handleEvent(o)}),n.qZA()}if(2&a){const t=n.oxw();n.Q6J("lat",t.info.lat)("lng",t.info.lng)("isDynamicView",!0)}}function Q(a,g){if(1&a){const t=n.EpF();n.TgZ(0,"c_map",53),n.NdJ("changePosition",function(o){return n.CHM(t),n.oxw().handleEvent(o)}),n.qZA()}if(2&a){const t=n.oxw();n.Q6J("lat",t.info.lat)("lng",t.info.lng)("width",270)("height",300)("isDynamicView",!1)}}function j(a,g){1&a&&(n.TgZ(0,"div",54),n.TgZ(1,"div",55),n.TgZ(2,"i",56),n._uU(3,"warning"),n.qZA(),n._UZ(4,"br"),n.TgZ(5,"span"),n._uU(6,"Sorry!"),n._UZ(7,"br"),n.qZA(),n.TgZ(8,"span",57),n._uU(9,"Google Map is not supported for manual address entry."),n.qZA(),n.qZA(),n.qZA())}function H(a,g){1&a&&(n.TgZ(0,"div",58),n.O4$(),n.TgZ(1,"svg",59),n._UZ(2,"circle",60),n.qZA(),n.qZA())}const W=w.Bz.forChild([{path:"",component:(()=>{class a{constructor(t,e,o,i){this.dealerService=t,this.usersService=e,this.http=o,this.apiService=i,this.routeToSite=new Object,this.m_warning=new A.u,this.info={},this.dealer={},this.isDestroy=!1,this.isServerWarning=!1,this.isLoading=!1,this.isChange=!1,this.isEditMode=!1,this.logoState=1}ngOnInit(){this.isDestroy||this.usersService.getMe().subscribe(t=>{this.me=t,this.fetchDealer()})}fetchDealer(){this.dealerService.getDealerInfo(this.me.dealer_id).subscribe(e=>{this.dealer=e[0],this.setInfo(),this.isChange=!1,this.isLoading=!1},e=>{this.isChange=!1,this.isLoading=!1})}setInfo(){let t={sales:[],support:[]};try{t=JSON.parse(this.dealer.company_contact_info),this.dealer.company_sales_contact=null==t?void 0:t.sales[0],this.dealer.company_support_contact=null==t?void 0:t.support[0]}catch(e){console.debug(e),t={sales:[],support:[]},this.dealer.company_sales_contact={name:"",phone:"",email:""},this.dealer.company_support_contact={name:"",phone:"",email:""}}this.info={legal_company_name:this.dealer.legal_company_name,company_name:this.dealer.company_name,company_email:this.dealer.company_email,company_address1:this.dealer.company_address1,company_address2:this.dealer.company_address2,company_zipcode:this.dealer.company_zipcode,company_phone:this.dealer.company_phone,company_sales_contact:x.Z._.cloneDeep(this.dealer.company_sales_contact),company_support_contact:x.Z._.cloneDeep(this.dealer.company_support_contact),lat:this.dealer.lat,lng:this.dealer.lng},this.isChange=!1}handleEvent(t){this.info.lat=t.lat,this.info.lng=t.lng;let e=`https://maps.googleapis.com/maps/api/geocode/json?latlng=${this.info.lat},${this.info.lng}&channel=2`;e+=`&key=${this.apiService.googleApiKey}`,this.http.get(e).toPromise().then(o=>{this.info.address1=o.results[0].formatted_address}).catch(o=>console.log(o)),this.isChange=!0,this.checkChanges()}enableGoogleAddressSearch(t,e){if(!this.googleAddressSearchEventListener){const s=new google.maps.places.Autocomplete(t,{types:["geocode"]});this.googleAddressSearchEventListener=s.addListener("place_changed",()=>{const _=s.getPlace(),f=_.geometry.location.lat(),m=_.geometry.location.lng(),O=_.formatted_address,h=_.address_components;let b="";for(let C=0;C<h.length;C++)for(let Z=0;Z<h[C].types.length;Z++)"postal_code"===h[C].types[Z]&&(b=h[C].short_name);const K=(new Date).getTime()/1e3;let U=`https://maps.googleapis.com/maps/api/timezone/json?location=${f},${m}&channel=2`;U+=`&key=${this.apiService.googleApiKey}`,U+=`×tamp=${K}`,this.http.get(U).toPromise().then(C=>{const Z=C;e&&(e.company_address1=O,e.company_zipcode=b,e.lat=f,e.lng=m,e.timezone_offset=Z.rawOffset,e.timezone=Z.timeZoneId,this.info.lat=f,this.info.lng=m)}).catch(C=>console.log(C))})}}disableGoogleAddressSearch(){google.maps.event.removeListener(this.googleAddressSearchEventListener),this.googleAddressSearchEventListener=null}onImageChange(t){var e,o;return(0,T.mG)(this,void 0,void 0,function*(){if(null===(e=null==t?void 0:t.target)||void 0===e?void 0:e.files[0]){if(!(null===(o=null==t?void 0:t.target)||void 0===o?void 0:o.files[0].type.match(/image.*/)))return void console.debug("Not an image");try{this.image=t.target.files[0];const i=yield x.Z.tool.resizeImage(this.image,256,256);this.uploadImg=i}catch(i){console.debug("onImageChange failed:>",i),this.errorDialog(i,"Update a logo")}}})}selectLogo(){this.image?(new FileReader,this.updateLogoDialog(this.uploadImg,this.image.type)):this.logoInput.nativeElement.click()}uploadLogo(t,e){this.logoState=2,this.isLoading=!0;let o=null;this.usersService.isTempoLogin()&&(o=this.me.dealer_id),this.dealerService.updateLogo(this.me.dealer_id,t,e).subscribe(i=>{null!=i?setTimeout(()=>{this.usersService.fetchMe(o).subscribe(s=>{this.me=s,this.logoState=1,this.isLoading=!1,this.uploadImg=null,this.image=null,this.usersService.emitMeChangeEvent(s)},s=>{this.uploadImg=null,this.image=null,this.serverWarning(s),this.logoState=0,this.isLoading=!1})},1e3):this.isLoading=!1},i=>{this.serverWarning(i),this.logoState=0,this.isLoading=!1})}updateLogoDialog(t,e){this.m_warning.data={header:"Update a Logo",contents:"Are you sure that you want to update a logo?",submit_btn:"Update",submit_class:["button-primary"]},this.m_warning.data.submit_func=()=>{this.uploadLogo(t,e)},this.m_warning.open()}deleteLogo(){this.isLoading=!0,this.dealerService.deleteLogo(this.me.dealer_id).subscribe(t=>{this.isLoading=!1,setTimeout(()=>{this.uploadImg=null,this.image=null,this.confirmDialog("Delete a Logo","Success")},200),this.usersService.fetchMe().subscribe(e=>{this.me=e})},t=>{this.isLoading=!1,this.errorDialog(t,"Delete a logo")})}deleteLogoDialog(){this.m_warning.data={header:"Delete a Logo",contents:"Are you sure that you want to delete a logo?",submit_btn:"Delete",submit_class:["button-danger"]},this.m_warning.data.submit_func=()=>{this.deleteLogo()},this.m_warning.open()}checkAddress(){this.info.addressErr=!1,""===this.info.company_address1&&(this.info.addressErr=!0)}checkChanges(){var t,e,o,i,s,_,f,m,O,h,b,v;return this.dealer.company_name!==this.info.company_name&&(this.isChange=!0),this.dealer.company_email!==this.info.company_email&&(this.isChange=!0),this.dealer.company_phone!==this.info.company_phone&&(this.isChange=!0),this.dealer.company_address1!==this.info.company_address1&&(this.info.addressErr=!1,""===this.info.company_address1&&(this.info.addressErr=!0),this.isChange=!0),this.dealer.company_address2!==this.info.company_address2&&(this.isChange=!0),((null===(t=this.dealer.company_sales_contact)||void 0===t?void 0:t.name)!==(null===(e=this.info.company_sales_contact)||void 0===e?void 0:e.name)||(null===(o=this.dealer.company_sales_contact)||void 0===o?void 0:o.email)!==(null===(i=this.info.company_sales_contact)||void 0===i?void 0:i.email)||(null===(s=this.dealer.company_sales_contact)||void 0===s?void 0:s.phone)!==(null===(_=this.info.company_sales_contact)||void 0===_?void 0:_.phone))&&(this.isChange=!0),((null===(f=this.dealer.company_support_contact)||void 0===f?void 0:f.name)!==(null===(m=this.info.company_support_contact)||void 0===m?void 0:m.name)||(null===(O=this.dealer.company_support_contact)||void 0===O?void 0:O.email)!==(null===(h=this.info.company_support_contact)||void 0===h?void 0:h.email)||(null===(b=this.dealer.company_support_contact)||void 0===b?void 0:b.phone)!==(null===(v=this.info.company_support_contact)||void 0===v?void 0:v.phone))&&(this.isChange=!0),this.dealer.lat!==this.info.lat&&(this.isChange=!0),this.dealer.lng!==this.info.lng&&(this.isChange=!0),this.isChange}onClickCancel(){this.isEditMode=!1,this.setInfo()}applyChanges(){var t,e,o,i,s,_,f,m;if(""===(null===(t=this.info.company_address1)||void 0===t?void 0:t.trim()))return void this.confirmDialog("Address is required","Please input Company address","warning","orange");if(""===(null===(e=this.info.company_name)||void 0===e?void 0:e.trim()))return void this.confirmDialog("Name is required","Please input Company name","warning","orange");if(""===(null===(o=this.info.company_email)||void 0===o?void 0:o.trim()))return void this.confirmDialog("Company Email is required","Please input Company Email","warning","orange");if(""===(null===(i=this.info.company_phone)||void 0===i?void 0:i.trim()))return void this.confirmDialog("Company Phone is required","Please input Company Phone","warning","orange");this.m_warning.data={header:"Update Dealer Information",contents:"Are you sure that you want to apply changes?",submit_btn:"Apply",submit_class:["button-primary"]};let O={sales:[this.info.company_sales_contact],support:[this.info.company_support_contact]};const h={company_name:null===(s=this.info.company_name)||void 0===s?void 0:s.trim(),company_email:null===(_=this.info.company_email)||void 0===_?void 0:_.trim(),company_phone:null===(f=this.info.company_phone)||void 0===f?void 0:f.trim(),company_address1:this.info.company_address1,company_address2:this.info.company_address2,company_zipcode:null===(m=this.info.company_zipcode)||void 0===m?void 0:m.trim(),company_contact_info:O,lat:this.info.lat,lng:this.info.lng},b=this.me.dealer_id;this.m_warning.data.submit_func=()=>{this.dealerService.updateDealerInfo(b,h).subscribe(v=>{this.setAsNewData(),setTimeout(()=>{this.confirmDialog("Update Dealer Information","Update Dealer Information - Success")},200),this.isChange=!1,this.isEditMode=!1},v=>{this.serverWarning(v),this.isChange=!1,this.isEditMode=!1})},this.m_warning.open()}setAsNewData(){this.dealer.legal_company_name=this.info.legal_company_name,this.dealer.company_name=this.info.company_name,this.dealer.company_email=this.info.company_email,this.dealer.company_phone=this.info.company_phone,this.dealer.company_address1=this.info.company_address1,this.dealer.company_address2=this.info.company_address2,this.dealer.company_zipcode=this.info.company_zipcode,this.dealer.company_sales_contact=x.Z._.cloneDeep(this.info.company_sales_contact),this.dealer.company_support_contact=x.Z._.cloneDeep(this.info.company_support_contact),this.info.lat&&(this.dealer.lat=this.info.lat),this.info.lng&&(this.dealer.lng=this.info.lng)}confirmDialog(t="",e="",o="done",i="green"){this.m_warning.data={header:t,contents:`\n <p>${e}</b></p>\n `,submit_btn:"OK",submit_class:["button-primary"],icon:o,isConfirm:!0,color:i},this.m_warning.data.submit_func=()=>{this.isServerWarning=!1},this.m_warning.open()}errorDialog(t,e){let o="failed.";t.error&&t.error.message&&(o=t.error.message),t._body&&(o=JSON.parse(t._body).message),setTimeout(()=>{this.confirmDialog(e,o,"warning","orange")},200),this.isLoading=!1}serverWarning(t){429===t.status&&!this.isServerWarning&&(this.isServerWarning=!0,this.confirmDialog("Client is too many request","Please wait a moment.","warning","orange"))}}return a.\u0275fac=function(t){return new(t||a)(n.Y36(q.X),n.Y36(k.f),n.Y36(p.eN),n.Y36(P.s))},a.\u0275cmp=n.Xpm({type:a,selectors:[["app-profiles"]],viewQuery:function(t,e){if(1&t&&n.Gf(M,5),2&t){let o;n.iGM(o=n.CRH())&&(e.logoInput=o.first)}},decls:39,vars:11,consts:[[1,"sub-component"],[1,"widget-area"],[1,"widget"],[1,"header"],[1,"title",2,"flex","0.5"],[1,"flex",2,"height","100%"],[2,"flex","3","padding","32px","height","calc(100% - 110px)","overflow","auto"],[1,"profile-row","flex",2,"justify-content","flex-end","gap","8px","margin","0"],[4,"ngIf"],[2,"padding","32px","border-left","1px solid rgba(0, 0, 0, 0.1)","height","calc(100% - 62px)","overflow","auto"],[1,"profile-row"],[1,"label"],[1,"profile-row",2,"justify-content","center"],[1,"logo-box"],["class","logo",3,"src",4,"ngIf"],[2,"display","flex","flex-direction","column","justify-content","space-between"],[2,"margin-bottom","32px"],["autocomplete","off","type","file","accept","image/png, image/jpeg",1,"hidden-input",3,"change"],["logoinput",""],[2,"margin-top","8px","font-size","14px","color","#555"],[1,"btn","logo-btn",3,"click"],[2,"width","270px"],[2,"width","100%","height","200px"],[3,"lat","lng","isDynamicView","changePosition",4,"ngIf"],[3,"lat","lng","width","height","isDynamicView","changePosition",4,"ngIf"],["class","no-map-background",4,"ngIf"],["class","loader",4,"ngIf"],[3,"modal"],[1,"btn-area"],[1,"button","button-primary",3,"click"],[1,"btn-inner"],[1,"button","button-white",3,"click"],[1,"profile-col"],[1,"info"],[1,"flex",2,"flex-direction","column","gap","8px"],[1,"flex",2,"gap","8px","flex-direction","column"],[1,"v-center",2,"gap","8px"],[1,"material-icons",2,"font-size","16px","color","#555"],[1,"profile-row",2,"margin","50px 0px 0"],[1,"description"],["autocomplete","off","type","text",1,"profile-input",2,"width","100%",3,"ngModel","ngModelChange"],["autocomplete","off","type","text",1,"profile-input",2,"width","100%",3,"ngModel","ngModelChange","focus","input"],["autocomplete","off","type","text","placeholder","Suite # (optional)",1,"profile-input",2,"width","100%",3,"ngModel","ngModelChange"],["autocomplete","off","type","text","placeholder","Company Email",1,"profile-input",2,"width","100%",3,"ngModel","ngModelChange"],["autocomplete","off","type","text","placeholder","Company Phone",1,"profile-input",2,"width","100%",3,"ngModel","ngModelChange"],[1,"profile-row",2,"margin","50px 0 0 0"],["autocomplete","off","type","text","placeholder","Sales Contact Name",1,"profile-input",2,"width","100%",3,"ngModel","ngModelChange"],["autocomplete","off","type","text","placeholder","Sales Contact Email",1,"profile-input",2,"width","100%",3,"ngModel","ngModelChange"],["autocomplete","off","type","text","placeholder","Sales Contact Phone",1,"profile-input",2,"width","100%",3,"ngModel","ngModelChange"],["autocomplete","off","type","text","placeholder","Customer Service Contact Name",1,"profile-input",2,"width","100%",3,"ngModel","ngModelChange"],["autocomplete","off","type","text","placeholder","Customer Service Contact Phone",1,"profile-input",2,"width","100%",3,"ngModel","ngModelChange"],[1,"logo",3,"src"],[3,"lat","lng","isDynamicView","changePosition"],[3,"lat","lng","width","height","isDynamicView","changePosition"],[1,"no-map-background"],[2,"padding","0 30px","text-align","center"],[1,"material-icons",2,"color","#55647b"],[2,"font-size","14px","color","#55647b"],[1,"loader"],["viewBox","25 25 50 50",1,"circular"],["cx","50","cy","50","r","20","fill","none","stroke-width","4","stroke-miterlimit","10",1,"path"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"div",2),n.TgZ(3,"div",3),n.TgZ(4,"div",4),n._uU(5,"Profile settings"),n.qZA(),n.qZA(),n.TgZ(6,"div",5),n.TgZ(7,"div",6),n.TgZ(8,"div",7),n.YNc(9,z,5,0,"ng-container",8),n.YNc(10,D,9,2,"ng-container",8),n.qZA(),n.YNc(11,I,81,12,"ng-container",8),n.YNc(12,L,72,20,"ng-container",8),n.qZA(),n.TgZ(13,"div",9),n.TgZ(14,"div",10),n.TgZ(15,"div",11),n._uU(16,"Company Logo"),n.qZA(),n.qZA(),n.TgZ(17,"div",12),n.TgZ(18,"div",13),n.YNc(19,S,1,1,"img",14),n.YNc(20,J,2,0,"div",8),n.qZA(),n.qZA(),n.TgZ(21,"div",10),n.TgZ(22,"div",15),n.TgZ(23,"div",16),n.TgZ(24,"input",17,18),n.NdJ("change",function(i){return e.onImageChange(i)}),n.qZA(),n.TgZ(26,"div",19),n._uU(27,"png, jpg supported"),n.qZA(),n.qZA(),n.TgZ(28,"div"),n.TgZ(29,"div",20),n.NdJ("click",function(){return e.selectLogo()}),n._uU(30,"Upload Logo"),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.TgZ(31,"div",10),n.TgZ(32,"div",21),n.TgZ(33,"div",22),n.YNc(34,N,1,3,"c_map",23),n.YNc(35,Q,1,5,"c_map",24),n.YNc(36,j,10,0,"div",25),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.YNc(37,H,3,0,"div",26),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n._UZ(38,"dealer-warning",27)),2&t&&(n.xp6(9),n.Q6J("ngIf",!e.isEditMode),n.xp6(1),n.Q6J("ngIf",e.isEditMode),n.xp6(1),n.Q6J("ngIf",!e.isEditMode),n.xp6(1),n.Q6J("ngIf",e.isEditMode),n.xp6(7),n.Q6J("ngIf",e.me.logo_url),n.xp6(1),n.Q6J("ngIf",!e.me.logo_url),n.xp6(14),n.Q6J("ngIf",e.info.lat&&e.info.lng&&e.isEditMode),n.xp6(1),n.Q6J("ngIf",e.info.lat&&e.info.lng&&!e.isEditMode),n.xp6(1),n.Q6J("ngIf",!e.info.lat||!e.info.lng),n.xp6(1),n.Q6J("ngIf",e.isLoading),n.xp6(1),n.Q6J("modal",e.m_warning))},directives:[u.O5,l.a,r.Fj,r.JJ,r.On,d.f],styles:['.scroll-screen[_ngcontent-%COMP%]{flex:1;flex-direction:column;overflow-y:overlay;height:100%;position:relative;padding:7px;-webkit-user-select:none;user-select:none;display:flex;align-items:center}.row[_ngcontent-%COMP%]{flex-direction:row;display:flex;height:100%;overflow-y:overlay;transition:.5s}.col[_ngcontent-%COMP%]{flex-direction:column;display:flex;flex:1;height:100%}.customer-widget-area[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{min-width:300px}.customer-widget-area[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]:only-child{min-width:600px}.customer-widget-area.deactivated[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{height:calc(100% - 43px)}.col[_ngcontent-%COMP%] .widget[_ngcontent-%COMP%]{min-width:300px}.sub-nav[_ngcontent-%COMP%]{position:relative;left:0px;transition:all ease-in-out .3s;min-width:250px;max-width:250px;flex:1;background:#fff;border-right:.5px solid #d7d7d7;display:flex;flex-direction:column;overflow-y:overlay;z-index:3}.sub-nav[_ngcontent-%COMP%]:focus{outline:none}.sub-nav[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{height:initial;flex:initial;align-items:center}.sub-nav[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{overflow-y:overlay}.sub-nav[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{padding:6px 12px 6px 0;box-sizing:border-box;border:0;background-color:transparent;background-size:24px;background-position:4px 8px;background-repeat:no-repeat;flex:1}.sub-nav[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{margin-right:8px;color:#777;transition:.2s}.sub-nav[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{cursor:pointer;color:#000}.sub-nav[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{background-color:red;color:#fff;width:8px;height:14px;margin-left:8px;padding:2px 4px 2px 5px;border-radius:4px;font-size:12px}.sub-nav[_ngcontent-%COMP%] .plan-badge[_ngcontent-%COMP%]{background-color:red;width:6px;height:6px;margin-left:4px;border-radius:10px}.sub-nav[_ngcontent-%COMP%] .list-category[_ngcontent-%COMP%]{padding:24px 0 7px 20px;color:#2f96fb;font-size:14px;text-transform:uppercase}.sub-nav[_ngcontent-%COMP%] .list-category[_ngcontent-%COMP%]:first-child{padding:30px 0 7px 20px;color:#2f96fb;font-size:14px}.sub-nav[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]{display:flex;align-items:center;color:#0009;cursor:pointer}.sub-nav[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.05)}.sub-nav[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:hover.settings{background:transparent}.sub-nav[_ngcontent-%COMP%] .list-item-selected[_ngcontent-%COMP%]{background:#dcf0fd!important;color:#000000de}.sub-nav[_ngcontent-%COMP%] .list-item-selected[_ngcontent-%COMP%]:after{background-color:#2f96fb}.sub-nav[_ngcontent-%COMP%] .list-item-selected.settings[_ngcontent-%COMP%]{background:transparent!important;color:#000000de;font-weight:500;color:#2f96fb}.sub-nav[_ngcontent-%COMP%] .menu-label[_ngcontent-%COMP%]{display:flex;font-size:14px;padding:7px 0 7px 15px}.sub-nav[_ngcontent-%COMP%] .menu-label.settings[_ngcontent-%COMP%]{padding-left:16px;width:100%;margin:0 4px;border-radius:4px}.sub-nav[_ngcontent-%COMP%] .menu-label.settings[_ngcontent-%COMP%]:hover{padding:8px 16px;background:#e8eaed}.sub-nav[_ngcontent-%COMP%] .menu-label.settings.selected-label[_ngcontent-%COMP%]{width:100%;margin:0 4px;padding:8px 12px;border-radius:4px;font-weight:500;color:#2f96fb}.sub-nav[_ngcontent-%COMP%] .menu-label.settings.selected-label[_ngcontent-%COMP%]:hover{padding:8px 12px;background:#dcf0fd}.sub-nav[_ngcontent-%COMP%] .select-mark[_ngcontent-%COMP%]{background-color:#2f96fb}.sub-nav[_ngcontent-%COMP%] .select-mark.settings[_ngcontent-%COMP%]{background-color:#2383e2;width:4px;min-height:30px;height:30px;border-radius:4px}.component-body[_ngcontent-%COMP%]{position:relative;flex:5;height:100%;flex-direction:column;display:flex;transition:all ease-in-out .3s}.component-body-no-data[_ngcontent-%COMP%]{flex:5;height:100%;flex-direction:column;align-items:center;justify-content:center;display:flex}.tab[_ngcontent-%COMP%]{height:60px;color:#888;background:#f7f7fc;box-shadow:0 4px 2px -2px #888;display:flex;align-items:center;z-index:1}.tab[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;position:relative}.tab[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#2383e2;cursor:pointer}.tab[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#2383e2}.tab[_ngcontent-%COMP%] .icn-button[_ngcontent-%COMP%]{padding:0 16px}.tab[_ngcontent-%COMP%] .icn-button-active[_ngcontent-%COMP%]{color:#000}.tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:0 32px;text-transform:capitalize;font-size:14px}.tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;bottom:-2px;width:100%;height:4px;background:#2383e2}.plan-upgrade-badge[_ngcontent-%COMP%]{background:linear-gradient(90deg,#2A517E 17.88%,#1E88E5 69.03%);border-radius:10px;padding:2px 6px;margin-left:-8px;color:#fff;font-size:12px;font-weight:400;cursor:pointer}.customer-tab[_ngcontent-%COMP%]{color:#7a7a7a;background:#fff;border-bottom:1px solid rgba(0,0,0,.1);display:flex;align-items:center;z-index:1;font-weight:500;font-size:14px;flex-flow:wrap}.customer-tab[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{display:flex;align-items:center;height:50px;position:relative;cursor:pointer}.customer-tab[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#1e88e5;font-weight:500}.customer-tab[_ngcontent-%COMP%] .icn-button[_ngcontent-%COMP%]{padding:0 16px}.customer-tab[_ngcontent-%COMP%] .icn-button-active[_ngcontent-%COMP%]{color:#000}.customer-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:8px 20px;text-transform:capitalize;font-size:14px;font-weight:400}.customer-tab[_ngcontent-%COMP%] .tab-title.selected[_ngcontent-%COMP%]{font-weight:500}.customer-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]:hover{background:#e8eaed;border-radius:7px}.customer-tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;bottom:-2px;width:100%;height:3px;background:#2383e2}.setting-tab[_ngcontent-%COMP%]{height:41px;box-sizing:border-box;color:#7a7a7a;background:#fff;display:flex;flex-direction:row;align-items:center;z-index:1;font-size:14px;font-weight:500;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.1);background-color:#fbfbfa}.setting-tab[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;position:relative;cursor:pointer}.setting-tab[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#000}.setting-tab[_ngcontent-%COMP%] .button-selected-red[_ngcontent-%COMP%]{color:#f67474}.setting-tab[_ngcontent-%COMP%] .icn-button[_ngcontent-%COMP%]{padding:0 16px}.setting-tab[_ngcontent-%COMP%] .icn-button-active[_ngcontent-%COMP%]{color:#000}.setting-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:5px 20px;text-transform:capitalize;font-size:13px;font-weight:400;margin:0 1px}.setting-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]:hover{background:#e8eaed;border-radius:5px}.setting-tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:0;height:4px;background:#2383e2;border-radius:4px}.setting-tab[_ngcontent-%COMP%] .tab-selected-bar-red[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:0;height:5px;background:#f67474}.btn-icon[_ngcontent-%COMP%]{color:#7c7c7c;background-color:#f1f1f1;cursor:pointer}.btn-icon[_ngcontent-%COMP%]:hover{color:#7c7c7c;background-color:#efeff6}.space[_ngcontent-%COMP%]{flex:1}.sub-component[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;width:100%;height:100%}.widget-area[_ngcontent-%COMP%]{flex-direction:row;display:flex;height:100%;flex:1;overflow-y:overlay;padding:20px 30px;flex-wrap:wrap;justify-content:center;box-sizing:border-box}.customer-widget-area[_ngcontent-%COMP%]{position:absolute;height:auto;bottom:0;top:0;left:0;right:0;flex-direction:row;display:flex;flex:1;overflow:initial;padding:14px;box-sizing:border-box;flex-wrap:wrap;justify-content:center}.customer-widget-area.deactivated[_ngcontent-%COMP%]{padding:0 7px 7px}.wcs-widget-area[_ngcontent-%COMP%]{position:absolute;height:auto;bottom:0;top:0;left:0;right:0;flex-direction:row;display:flex;flex:1;overflow-y:overlay;padding:12px;flex-wrap:wrap;align-items:center;grid-gap:12px;gap:12px}.wcs-widget-area[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{align-items:center}.setting-widget[_ngcontent-%COMP%]{height:calc(100% - 44px)}.setting-router[_ngcontent-%COMP%]{width:100%;flex:1;position:relative;overflow:auto;overflow-y:overlay}.container[_ngcontent-%COMP%]{width:calc(100% - 14px);height:100%;display:flex;flex-direction:column;align-items:center;padding:7px}.widget[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;max-width:1400px;min-width:300px;max-height:calc(100% - 15px);background:white;transition:.5s;border-radius:3px;border:1px solid rgba(0,0,0,.1);margin:0 5px 10px}.widget[_ngcontent-%COMP%]:last-child{margin:0 5px}.widget[_ngcontent-%COMP%]:only-child{min-width:600px}.widget[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;border-bottom:solid 1px rgba(0,0,0,.1)}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:calc(100% - 108px);padding:20px}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{padding-bottom:14px}.widget-item[_ngcontent-%COMP%]{flex:none;font-size:14px;color:#000000de}.widget-item[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%]{padding:14px 30px}.widget[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-size:14px;color:#0009;margin-bottom:7px}.widget[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{width:200px;font-size:14px;color:#0009}.widget[_ngcontent-%COMP%] .item-row[_ngcontent-%COMP%]{display:flex;padding:7px 0}.widget[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{border-bottom:solid 1px rgba(0,0,0,.1)}.scroll-widget[_ngcontent-%COMP%]{max-height:initial}.item[_ngcontent-%COMP%] .w-1[_ngcontent-%COMP%]{width:10%}.item[_ngcontent-%COMP%] .w-2[_ngcontent-%COMP%]{width:20%}.item[_ngcontent-%COMP%] .w-3[_ngcontent-%COMP%]{width:30%}.item[_ngcontent-%COMP%] .w-4[_ngcontent-%COMP%]{width:40%}.item[_ngcontent-%COMP%] .w-5[_ngcontent-%COMP%]{width:50%}.item[_ngcontent-%COMP%] .fs-12[_ngcontent-%COMP%]{font-size:12px}.item[_ngcontent-%COMP%] .right-align[_ngcontent-%COMP%]{text-align:right}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{display:flex;padding:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;font-size:14px}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:80%;box-sizing:border-box;padding:8px;font-size:14px;background-color:#f0f0f0;border:none;border-bottom:2px solid #f0f0f0;-webkit-appearance:none;-moz-appearance:none;transition:.2s}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:focus{outline:none;border-bottom:2px solid #2383e2}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{position:absolute;left:12px;top:12px;color:#00000080}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%]{width:100%;padding-left:32px}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{cursor:pointer}.cell[_ngcontent-%COMP%]{padding-bottom:14px}.widget[_ngcontent-%COMP%] .widget-bottom[_ngcontent-%COMP%]{display:flex;padding-top:6px}.table-area[_ngcontent-%COMP%]{height:100%;overflow:overlay}.table-container[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column;overflow-y:hidden}table.table-header[_ngcontent-%COMP%]:after{border-collapse:separate}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%]{min-height:31px;background-color:#f7fafc;border-bottom:solid 1px rgba(0,0,0,.1);border-top:solid 1px rgba(0,0,0,.1);box-sizing:border-box}.table-container[_ngcontent-%COMP%] .table-header.no-top-border[_ngcontent-%COMP%]{border-top:0}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding:10px 7px 10px 20px}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding:10px 20px 10px 7px}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding:7px 7px 7px 20px}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:7px 20px 7px 7px}.table-container[_ngcontent-%COMP%] .table-header-v2[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px}.table-container[_ngcontent-%COMP%] .table-header-v2[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding:10px 7px 10px 20px}.table-container[_ngcontent-%COMP%] .table-header-v2[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding:10px 20px 10px 7px}.table-container[_ngcontent-%COMP%] .table-body-v2[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px}.table-container[_ngcontent-%COMP%] .table-body-v2[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding:7px 7px 7px 20px}.table-container[_ngcontent-%COMP%] .table-body-v2[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:7px 20px 7px 7px}table.table-header-v2[_ngcontent-%COMP%]:after{border-collapse:separate}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%]{width:100%;max-height:calc(100% - 30px);flex:1;overflow-y:overlay}.table-container[_ngcontent-%COMP%] .no-record[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:7px 0}.header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{flex:1;font-size:16px;padding:12px 20px;color:#000000de}.header[_ngcontent-%COMP%] .btn-area[_ngcontent-%COMP%]{padding:7px 16px}.header[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#000}.header[_ngcontent-%COMP%] .button-disable[_ngcontent-%COMP%]:hover{color:#aaa;cursor:default;pointer-events:none}.header[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]{color:#1e90ff}.header[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]:hover{color:#30b0ff}.widget[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{flex:1;padding:14px 16px;overflow-y:overlay}.body-center[_ngcontent-%COMP%]{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.body-center[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{text-align:center}.body-center[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:30px;color:#2383e2}.body-center[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-bottom:14px;font-size:14px;color:#0009;text-align:center;line-height:1.5}.body-center[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-bottom:8px;font-size:18px;color:#000000de}.body[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:14px;color:#777}.body[_ngcontent-%COMP%] > .contents[_ngcontent-%COMP%]{font-size:15px;color:#333;margin-top:4px;padding:4px 0;display:flex;min-height:24px;align-items:center}.body[_ngcontent-%COMP%] .editable[_ngcontent-%COMP%]{border-bottom:1px solid #fff;transition:.5s}.body[_ngcontent-%COMP%] .editable[_ngcontent-%COMP%]:hover{cursor:text;border-bottom:1px solid #ccc}.body[_ngcontent-%COMP%] .selectbox[_ngcontent-%COMP%]{color:#777;padding:16px;box-shadow:0 0 2px #888;transition:.2s;cursor:pointer;display:flex;flex-direction:row}.body[_ngcontent-%COMP%] .selectbox[_ngcontent-%COMP%]:hover{color:#333;box-shadow:0 0 6px #888}.widget[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{margin:12px;padding:12px 12px 12px 36px;box-sizing:border-box;border:0;border-bottom:2px solid #ddd;background-color:transparent;background-image:url(/assets/icons/ic_search_72pt.png);background-size:24px;background-position:4px 8px;background-repeat:no-repeat;flex:1;transition:.3s}.widget[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]:focus{outline:none;border-bottom:2px solid #777}.widget[_ngcontent-%COMP%] .filter-area[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center;flex-direction:row-reverse}.tab[_ngcontent-%COMP%] .combo-box[_ngcontent-%COMP%]{display:flex}.filter-area[_ngcontent-%COMP%] .combo-box[_ngcontent-%COMP%]{color:#777;font-size:14px;padding:0 8px 0 0;text-align:right;position:relative;cursor:pointer}.header[_ngcontent-%COMP%] .combo-box[_ngcontent-%COMP%]{color:#777;font-size:14px;text-align:right;position:relative;cursor:pointer}.combo-box[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]{transition:.2s}.combo-box[_ngcontent-%COMP%] > .button-active[_ngcontent-%COMP%]{color:#000}.combo-box[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{vertical-align:middle}.combo-box-contents[_ngcontent-%COMP%]{position:absolute;right:16px;z-index:101;text-align:left;box-sizing:border-box;background-color:#fff;transition:.2s;box-shadow:0 2px 4px #00000080;border:solid 1px #d9d9d9;border-radius:5px}.combo-box-contents[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]{cursor:pointer;padding:8px;color:#333;font-size:12px}.combo-box-contents[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]:hover{background:#eee}.list[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;border-bottom:1px solid rgba(0,0,0,.1);min-height:28px;transition:.1s;padding:10px 20px}.list.locked-list[_ngcontent-%COMP%]{background-color:#f7fafc}.list-group[_ngcontent-%COMP%]:hover{background-color:#fafcff}.list-bottom-clear[_ngcontent-%COMP%]{border-bottom:none}.list-bottom-line[_ngcontent-%COMP%]{border-bottom:1px solid #aaa}.widget[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]:hover{background:#f5f5f5;cursor:pointer}.widget[_ngcontent-%COMP%] .list.locked-list[_ngcontent-%COMP%]:hover{background:#F7FAFC;cursor:initial}.list[_ngcontent-%COMP%] > .contents[_ngcontent-%COMP%]{padding:12px 0;font-size:14px;color:#333;flex:1}.list[_ngcontent-%COMP%] > .stat-contents[_ngcontent-%COMP%]{padding:12px 0;float:right;font-size:13px;color:#aaa}.list[_ngcontent-%COMP%] > .button-contents[_ngcontent-%COMP%]{padding:12px 0;float:right;font-size:13px}.list[_ngcontent-%COMP%] > .button-contents[_ngcontent-%COMP%]:hover{opacity:.8}.list[_ngcontent-%COMP%] > .icon[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 10px 0 6px;height:40px}.list[_ngcontent-%COMP%] .status-bar[_ngcontent-%COMP%]{width:8px;background:#aaa}.contents[_ngcontent-%COMP%] > .contents-small[_ngcontent-%COMP%]{margin-left:4px;font-size:11px;color:#555}.contents[_ngcontent-%COMP%] .sub-contents[_ngcontent-%COMP%]{font-size:12px;color:#0009;margin-top:6px}.widget[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{height:initial;align-items:center}.widget[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.widget[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px;color:#56657bde;text-transform:uppercase;text-align:left;font-size:13px;font-weight:normal}.widget[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px rgba(0,0,0,.1) solid}.widget[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child{border-bottom:none}.widget[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:14px;color:#000000de;padding:7px}td[_ngcontent-%COMP%] .sub-contents[_ngcontent-%COMP%]{font-size:11px;color:#888;margin-top:4px}td[_ngcontent-%COMP%] .edit-btn[_ngcontent-%COMP%]{cursor:pointer;color:#1e90ff}td[_ngcontent-%COMP%] .delete-btn[_ngcontent-%COMP%]{cursor:pointer;color:#f1556c}table[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{float:right;color:#bbb;transition:.2s;cursor:pointer}table[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#333}table[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:50%;width:35px;height:35px}.div-table-header[_ngcontent-%COMP%]{display:flex;height:30px;border-style:solid;border-width:1px;border-image-source:linear-gradient(to bottom,#dfdfdf,#bcbcbc);border-image-slice:1;border-collapse:separate;background-image:linear-gradient(to bottom,#f7f7f7,#ececed);font-size:14px;align-items:center}.div-table-header[_ngcontent-%COMP%] .div-table-head[_ngcontent-%COMP%]{padding:7px 16px}.face[_ngcontent-%COMP%]{border-radius:50%;width:28px;height:28px;display:inline-block;margin-right:8px;vertical-align:middle}.folding-list[_ngcontent-%COMP%]{cursor:pointer}.folding-list[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:8px}.folding-list[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{color:#555;font-size:16px;padding:12px 0;border-bottom:1px solid #aaa;transition:.1s;height:54px}.folding-list[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]:hover{background:#f5f5f5}.folding-list[_ngcontent-%COMP%] .sub-list-title[_ngcontent-%COMP%]{margin-left:16px;padding:12px 0 4px;color:#777;font-size:12px;font-weight:bold;border-bottom:1px solid #ccc;display:flex}.folding-list[_ngcontent-%COMP%] .sub-list[_ngcontent-%COMP%]{margin-left:16px;padding:8px 0;color:#333;font-size:14px;border-bottom:1px solid #ccc;transition:.1s;display:flex}.folding-list[_ngcontent-%COMP%] .sub-list[_ngcontent-%COMP%]:hover{background:#f5f5f5}.folding-list[_ngcontent-%COMP%] .sub-list-selected[_ngcontent-%COMP%]{background:#f5f5f5}.empty-contents[_ngcontent-%COMP%]{font-size:16px;color:#bbb;font-weight:bold;text-transform:uppercase}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex:1;box-sizing:border-box;padding:4px;border:0;border-bottom:1px solid #ccc;background:rgba(0,0,0,0);transition:.2s}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none;border-bottom:1px solid #777}.body[_ngcontent-%COMP%] .hidden-input[_ngcontent-%COMP%]{padding:4px 0;border-bottom:1px solid #fff;background:rgba(0,0,0,0)}.body[_ngcontent-%COMP%] .hidden-input[_ngcontent-%COMP%]:hover{border-bottom:1px solid #777}.dropdown[_ngcontent-%COMP%]{font-size:14px;position:relative;flex:1}.dropdown-contents[_ngcontent-%COMP%]{position:absolute;width:100%;margin-top:8px;left:0px;z-index:100;text-align:left;box-sizing:border-box;background-color:#fff;box-shadow:0 1px 13px 1px #0003;transition:.2s}.dropdown-contents[_ngcontent-%COMP%] > .list-item[_ngcontent-%COMP%]{cursor:pointer;padding:8px;color:#333;font-size:14px;display:flex;align-items:center}.dropdown-contents[_ngcontent-%COMP%] > .list-item[_ngcontent-%COMP%]:hover{background:#eee}.dropdown[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;background:rgba(0,0,0,0)}.face[_ngcontent-%COMP%]{border-radius:50%;width:32px;height:32px;margin-right:8px}.no-face[_ngcontent-%COMP%]{border-radius:50%;width:38x;height:38px;min-width:38px;min-height:38px;background-color:#ccc;display:inline-block;margin-right:8px;vertical-align:middle;color:#fff;text-align:center;text-transform:uppercase}.calendar[_ngcontent-%COMP%]{width:100%}.contents[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]{color:#777;transition:.2s;cursor:pointer}.contents[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]:hover{color:#333}.list[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]{display:flex;width:32px;height:32px;justify-content:center;align-items:center;padding:5px;color:#777;transition:.2s;cursor:pointer;border-radius:21px}.list[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]:hover{color:#333;background:rgba(0,0,0,.05)}.btn-danger[_ngcontent-%COMP%]{color:#f1556d}.btn-danger[_ngcontent-%COMP%]:hover{color:#f47185}.svg-icon[_ngcontent-%COMP%]{font-size:24px;color:#000;width:1em;height:1em;position:relative}.svg-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:currentColor;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.png-icon[_ngcontent-%COMP%]{width:36px;height:36px;position:relative}.png-icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;max-height:100%}.child-item[_ngcontent-%COMP%]{padding-left:24px}.title[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px}.widget[_ngcontent-%COMP%] .has-child[_ngcontent-%COMP%]:hover{background:#f5f5f5;cursor:pointer}.body[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{flex:1;background:white;box-sizing:border-box;margin-top:8px;padding:4px 0;border:0;border-bottom:1px solid #ccc;transition:.2s}.body[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:focus{outline:none;border-bottom:1px solid #777}.loader[_ngcontent-%COMP%]{position:relative;margin:0 auto;width:50px}.loader[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.absolute[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 25px);left:calc(50% - 25px);z-index:10}.circular[_ngcontent-%COMP%]{animation:rotate 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto}.path[_ngcontent-%COMP%]{stroke-dasharray:1,200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke:#0057e7;stroke-linecap:round}.path.white[_ngcontent-%COMP%]{stroke:#fff}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.list-item[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{position:relative;background-color:#2383e2;border:none;font-size:14px;color:#fff;padding:8px 16px;margin-left:8px;text-align:center;transition-duration:.4s;text-decoration:none;overflow:hidden;cursor:pointer;outline:none}.list-item[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#fff}.content-list[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{position:relative;background-color:#2383e2;border:none;font-size:14px;color:#fff;padding:8px 16px;margin-left:8px;text-align:center;transition-duration:.4s;text-decoration:none;overflow:hidden;cursor:pointer;outline:none}.title-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-top:28px}.title-row[_ngcontent-%COMP%] .list-title[_ngcontent-%COMP%]{flex:1;color:#777;padding-top:12px;justify-content:center}.title-row[_ngcontent-%COMP%] .tail[_ngcontent-%COMP%]{flex:1;text-align:right}.disabled[_ngcontent-%COMP%]{cursor:default;filter:contrast(60%) brightness(1.2);opacity:1;pointer-events:none;-webkit-user-select:none;user-select:none}.input-err[_ngcontent-%COMP%]{outline:none;background-color:#fbd0d6;box-shadow:0 0 0 2px #f1556c}.page-item[_ngcontent-%COMP%]{padding-bottom:14px!important}.unselectable[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.pager[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:14px;color:#0009}.pager[_ngcontent-%COMP%] .page-info[_ngcontent-%COMP%]{display:flex;align-items:center;min-width:80px;padding-left:16px}.pager[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%]{display:flex;align-items:center;padding:0 0 0 28px}.pager[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%] .page-btn[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;color:#0009}.pager[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%] .page-btn[_ngcontent-%COMP%]:hover{color:#000000de}.pager[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%] .page-btn.mover-disabled[_ngcontent-%COMP%]{cursor:initial;color:#0000004d}.pager[_ngcontent-%COMP%] .page-all[_ngcontent-%COMP%]{display:flex;align-items:center;padding-right:15px}.inner-input[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:6px 8px;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:5px;font-size:14px;transition:.2s;text-indent:0px;font-weight:400}.top-noti[_ngcontent-%COMP%]{width:100%;min-height:36px;display:flex;flex-direction:row;justify-content:center;align-items:center;margin-bottom:7px;background-color:#fcf9e9;font-size:14px;color:#000000de;border-bottom:rgba(0,0,0,.1)}','.container[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:column}.container-center[_ngcontent-%COMP%]{display:flex;flex-direction:row;overflow-y:overlay;height:100%;position:relative;-webkit-user-select:none;user-select:none}.widget[_ngcontent-%COMP%]{width:100%}.full-widget[_ngcontent-%COMP%]{margin:12px 12px 40px;padding:32px;flex:1;background:white;box-shadow:0 0 10px #888;display:flex;flex-direction:column;overflow:auto}.full-widget[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{margin-bottom:32px;font-size:20px;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.full-widget[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:20px;font-weight:bold}.full-widget[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.full-widget[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{background:#f0f0f0}.full-widget[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:12px 8px;color:#999;text-transform:capitalize;text-align:left;font-size:12px}.full-widget[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid #f0f0f0}.full-widget[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:12px 8px;color:#555;font-size:14px}.full-widget[_ngcontent-%COMP%] .table-loading[_ngcontent-%COMP%]{padding:32px;text-align:center}.full-widget[_ngcontent-%COMP%] .table-loading[_ngcontent-%COMP%] .loading-image[_ngcontent-%COMP%]{width:48px;height:16px}.full-widget[_ngcontent-%COMP%] .has-child[_ngcontent-%COMP%]:hover{background:#fafafa;cursor:pointer}.widget-body[_ngcontent-%COMP%]{margin-top:16px;margin-bottom:16px;background:white;box-shadow:0 0 10px #888;width:800px;display:block;transition:.2s;align-items:center;height:100%;display:flex;flex-direction:column}.widget-body[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{width:100%;display:flex;height:30px;justify-content:space-between;margin-bottom:8px}.widget-body[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{width:100%;height:100%}.widget-body[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{margin-bottom:32px;font-size:20px;display:flex;flex-direction:row;align-items:center}.widget-body[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:20px;font-weight:bold}.widget-body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.widget-body[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{background:#f0f0f0}.widget-body[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:12px 8px;color:#999;text-transform:uppercase;text-align:left;font-size:12px}.widget-body[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid #f0f0f0}.widget-body[_ngcontent-%COMP%] .has-child[_ngcontent-%COMP%]:hover{background:#fafafa}.widget-body[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:12px 8px;color:#555;font-size:14px}.widget-body[_ngcontent-%COMP%] .table-loading[_ngcontent-%COMP%]{padding:32px;text-align:center}.widget-body[_ngcontent-%COMP%] .table-loading[_ngcontent-%COMP%] .loading-image[_ngcontent-%COMP%]{width:48px;height:16px}.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}.circular[_ngcontent-%COMP%] .path[_ngcontent-%COMP%]{stroke-dasharray:1,200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke:#0057e7;stroke-linecap:round}.loader[_ngcontent-%COMP%]{position:relative;margin:0 auto;width:50px}.loader.absolute[_ngcontent-%COMP%]{margin:48px auto;position:absolute;top:calc(50% - 25px);left:calc(50% - 25px)}.loader[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.loading[_ngcontent-%COMP%]{background-color:#eee}.btn[_ngcontent-%COMP%]{position:relative;background-color:#2383e2;border:none;font-size:14px;color:#fff;padding:7px 14px;text-align:center;transition-duration:.4s;text-decoration:none;overflow:hidden;cursor:pointer;outline:none;border-radius:5px}.btn.fit[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content}.btn[_ngcontent-%COMP%]:hover{color:#fff;background-color:#0267cc}.btn[_ngcontent-%COMP%]:after{content:"";background:#f1f1f1;display:block;position:absolute;padding-top:300%;padding-left:350%;margin-left:-20px!important;margin-top:-120%;opacity:0;transition:all .8s}.btn[_ngcontent-%COMP%]:active:after{padding:0;margin:0;opacity:1;transition:0s}.link[_ngcontent-%COMP%]{color:#2383e2!important;font-size:18px;transition:.3s;cursor:pointer}.link[_ngcontent-%COMP%]:hover{color:#025ab3!important}.disabled[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.disable[_ngcontent-%COMP%]{opacity:.6}.selectbox[_ngcontent-%COMP%]{padding:6px;margin:0 8px 0 0;border-radius:4px;cursor:pointer;width:280px}.selectbox[_ngcontent-%COMP%]:hover{background:#eee}.selectbox.short[_ngcontent-%COMP%]{width:150px}.test-box[_ngcontent-%COMP%]{display:flex;width:100%;margin:0 0 8px}.profile-row[_ngcontent-%COMP%]{display:flex;margin-bottom:20px}.profile-row[_ngcontent-%COMP%] .profile-col[_ngcontent-%COMP%]{width:450px}.profile-row[_ngcontent-%COMP%] .profile-col[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{font-size:14px}.label[_ngcontent-%COMP%]{width:100%!important;font-weight:bold;font-size:16px!important;font-family:sans-serif;margin-bottom:8px}.logo-box[_ngcontent-%COMP%]{width:128px;height:128px;display:flex;align-items:center;justify-content:center;margin-bottom:2px}.logo-box[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{object-fit:contain;max-width:100%;max-height:100%;margin:auto;display:block}.input-err[_ngcontent-%COMP%]{border-bottom:1px solid crimson!important}.button-warning[_ngcontent-%COMP%]{color:#fff!important;background-color:#dc143c!important}.button-warning[_ngcontent-%COMP%]:hover{background-color:#fc3f65!important}.button-disabled[_ngcontent-%COMP%]{color:#aaa;cursor:default;pointer-events:none;font-size:14px}.profile-input[_ngcontent-%COMP%]{flex:none;box-sizing:border-box;padding:5px 10px!important;border:1px solid rgba(0,0,0,.2)!important;border-radius:5px;font-size:14px;transition:.2s;text-indent:0px;font-weight:400}.description[_ngcontent-%COMP%]{font-size:14px;margin:4px 0 12px;color:#55647b;width:700px}.no-map-background[_ngcontent-%COMP%]{width:100%;height:100%;background-color:#fafafa;display:flex;justify-content:center;align-items:center}']}),a})()}]);var R=c(56447),Y=c(28774);let $=(()=>{class a{}return a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=n.oAB({type:a}),a.\u0275inj=n.cJS({imports:[[u.ez,r.u5,W,R.q,Y.U]]}),a})()}}]);